diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-04-19 22:34:20 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-04-19 22:34:20 +0000 |
commit | 92ff2667f4bf842f5b616fe51b37656b2be46ee2 (patch) | |
tree | baebcb9a973bc74cd7674315da97085aa7ecd6b6 /doc/FAQ/debug.t | |
parent | New file. (diff) | |
download | rtems-92ff2667f4bf842f5b616fe51b37656b2be46ee2.tar.bz2 |
Added debugging hints to the FAQ.
Diffstat (limited to '')
-rw-r--r-- | doc/FAQ/debug.t | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/FAQ/debug.t b/doc/FAQ/debug.t index 8026d93e11..90d923af71 100644 --- a/doc/FAQ/debug.t +++ b/doc/FAQ/debug.t @@ -27,7 +27,7 @@ one free block of memory in the workspace (very likely if no task deletions). Then do this: (gdb) p *(Heap_Block *)_Workspace_Area->first -$3 = {back_flag = 1, front_flag = 68552, next = 0x1e260, previous = 0x1e25c} +$3 = @{back_flag = 1, front_flag = 68552, next = 0x1e260, previous = 0x1e25c@} In this case, I had 68552 bytes left in the workspace. @@ -36,8 +36,8 @@ In this case, I had 68552 bytes left in the workspace. The C heap is a region so this should work: (gdb) p *((Region_Control *)_Region_Information->local_table[1])->Memory->first -$9 = {back_flag = 1, front_flag = 8058280, next = 0x7ea5b4, - previous = 0x7ea5b0} +$9 = @{back_flag = 1, front_flag = 8058280, next = 0x7ea5b4, + previous = 0x7ea5b0@} In this case, the first block on the C Heap has 8,058,280 bytes left. |