Ignore:
Timestamp:
Jul 16, 2017, 11:53:11 PM (2 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
master
Children:
8ad4d93
Parents:
2465c01
git-author:
Chris Johns <chrisj@…> (07/16/17 23:53:11)
git-committer:
Chris Johns <chrisj@…> (08/15/17 01:39:22)
Message:

libdebugger: Fixes to debugging, ARM support, locking, and gcc-7.1 warnings.

  • Add printk support to aid multi-core debugging.
  • Add lock trace to aid lock debugging.
  • Fixes to gcc-7.1 warnings.
  • Fixes from ticket #2879.
  • Add verbose command controls.
  • Change using the RTEMS sys/lock.h API to manage exception threads.
  • ARM hardware breakpoint fixes. Support for SMP stepping is not implemented, this requires use of the context id register.

Closes #2879.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libdebugger/rtems-debugger-threads.h

    r2465c01 rb2353ed9  
    11/*
    2  * Copyright (c) 2016 Chris Johns <chrisj@rtems.org>.  All rights reserved.
     2 * Copyright (c) 2016-2017 Chris Johns <chrisj@rtems.org>.
     3 * All rights reserved.
    34 *
    45 * Redistribution and use in source and binary forms, with or without
     
    5253 * Debugger thread flags.
    5354 */
    54 #define RTEMS_DEBUGGER_THREAD_FLAG_DEBUGGING      (1 << 0)
     55#define RTEMS_DEBUGGER_THREAD_FLAG_EXCEPTION      (1 << 0)
    5556#define RTEMS_DEBUGGER_THREAD_FLAG_REG_VALID      (1 << 1)
    5657#define RTEMS_DEBUGGER_THREAD_FLAG_REG_DIRTY      (1 << 2)
     
    163164 */
    164165extern int rtems_debugger_thread_stepping(rtems_debugger_thread* thread,
    165                                           DB_UINT                start,
    166                                           DB_UINT                end);
     166                                          DB_UINT                start,
     167                                          DB_UINT                end);
    167168
    168169/**
     
    197198 */
    198199extern int rtems_debugger_thread_state_str(rtems_debugger_thread* thread,
    199                                            char*                  buffer,
    200                                            size_t                 size);
     200                                           char*                  buffer,
     201                                           size_t                 size);
    201202
    202203/**
     
    215216 */
    216217static inline bool
    217 rtems_debugger_thread_flag(rtems_debugger_thread* thread,
    218                            uint32_t               mask)
     218rtems_debugger_thread_flag(rtems_debugger_thread* thread, uint32_t mask)
    219219{
    220220  return (thread->flags & mask) != 0;
Note: See TracChangeset for help on using the changeset viewer.