Notice: We have migrated to GitLab launching 2024-05-01 see here: https://gitlab.rtems.org/

Changes between Version 4 and Version 5 of Debugging/GDBScripts


Ignore:
Timestamp:
08/07/06 18:00:14 (18 years ago)
Author:
JoelSherrill
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Debugging/GDBScripts

    v4 v5  
    2525
    2626Specifically:
    27 
    28 Changed the casts (Thread_Control * ) to (struct Thread_Control_struct *) 
     27 
    2928Changed the variable named $count to $i (don't know why I needed to do this)
    3029Adjusted the stack backtrace for Coldfire ( use frame pointer a6 as the starting
     
    3837# GDB macros for analyzing RTEMS threads
    3938#
     39#
     40#  7 August 2006 - Joel:
     41#    + Use Thread_Control_struct not Thread_Control to make gdb happy.
     42#      Who knows why this makes gdb happier?
    4043#  10 July 2006 - Joel:
    4144#    + Renamed all methods to start with rtems_ if public and rtems_helper_
     
    160163# ARGUMENTS
    161164#    arg0 = Task index in the corresponding _Information table.
    162 #    arg1 = pointer to the Thread_Control of the task.
     165#    arg1 = pointer to the Thread_Control_struct of the task.
    163166#    arg2 = 1 for verbose output, 0 otherwise
    164167#
     
    340343    set $next = $chain->first
    341344    while $next != $ptail
    342       set $t = (Thread_Control *)$next
     345      set $t = (Thread_Control_struct *)$next
    343346      printf "0x%08x@%d ", $t->Object.id, $t->current_priority
    344347      set $next = $next->next