- 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
-
v3
|
v4
|
|
19 | 19 | |
20 | 20 | --[wiki:User:JoelSherrill Dr. Joel] 13:44, 11 Jul 2006 (CDT) |
21 | | |
| 21 | http://www.rtems.com/wiki/index.php?title=GdbScripts&action=edit |
22 | 22 | ---- |
23 | 23 | |
… |
… |
|
96 | 96 | # |
97 | 97 | # ARGUMENTS: |
98 | | # arg0 = pointer to the Thread_Control of the task. |
| 98 | # arg0 = pointer to the Thread_Control_struct of the task. |
99 | 99 | # |
100 | 100 | define rtems_task_backtrack |
… |
… |
|
275 | 275 | define rtems_helper_show_task |
276 | 276 | rtems_helper_task_header |
277 | | set $pt = (Thread_Control *)$arg0.local_table[$arg1] |
| 277 | set $pt = (Thread_Control_struct *)$arg0.local_table[$arg1] |
278 | 278 | rtems_helper_task_dump $arg1 $pt 1 |
279 | 279 | end |
… |
… |
|
293 | 293 | set $index = 1 |
294 | 294 | while $index <= $arg0.maximum |
295 | | set $pt = (Thread_Control *)$arg0.local_table[$index] |
| 295 | set $pt = (Thread_Control_struct *)$arg0.local_table[$index] |
296 | 296 | if $pt != 0 |
297 | 297 | rtems_helper_task_dump $index $pt 0 |