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

Changes between Version 3 and Version 4 of Debugging/GDBScripts


Ignore:
Timestamp:
08/07/06 17:56:26 (18 years ago)
Author:
JoelSherrill
Comment:

First attempt at changing Thread_Control to Thread_Control_struct to make gdb happier

Legend:

Unmodified
Added
Removed
Modified
  • Debugging/GDBScripts

    v3 v4  
    1919
    2020--[wiki:User:JoelSherrill Dr. Joel] 13:44, 11 Jul 2006 (CDT)
    21 
     21http://www.rtems.com/wiki/index.php?title=GdbScripts&action=edit
    2222----
    2323
     
    9696#
    9797# ARGUMENTS:
    98 #    arg0 = pointer to the Thread_Control of the task.
     98#    arg0 = pointer to the Thread_Control_struct of the task.
    9999#
    100100define rtems_task_backtrack
     
    275275define rtems_helper_show_task
    276276    rtems_helper_task_header
    277     set $pt = (Thread_Control *)$arg0.local_table[$arg1]
     277    set $pt = (Thread_Control_struct *)$arg0.local_table[$arg1]
    278278    rtems_helper_task_dump $arg1 $pt 1
    279279end
     
    293293  set $index = 1
    294294  while $index <= $arg0.maximum
    295     set $pt = (Thread_Control *)$arg0.local_table[$index]
     295    set $pt = (Thread_Control_struct *)$arg0.local_table[$index]
    296296    if $pt != 0
    297297    rtems_helper_task_dump $index $pt 0