Mail Archives: djgpp/2001/04/23/01:53:29
At 01:04 PM 04/23/2001 +0800, you wrote:
>At 08:57 PM 04/22/2001 -0700, you wrote:
>>> Whilst running your program under gdb, type info ``all-registers''
(without
>>> the quotes) on the gdb command line.
>>
>>It doesn't work, this is what I get:
>>
>>(gdb) all-registers
>>Undefined command: "all-registers". Try "help".
>>(gdb) registers
>>Undefined command: "registers". Try "help".
>
>Oops! Made a little booboo there ;-) From the gdb command prompt, type
>``info all-registers''. Although I would suggest to read the GDB docs
>first, at least you'd know most of the basic and commonly used gdb commands.
Also be sure that the program is being debugged currently <*running*>, i.e.
place a breakpoint on an instruction or function in your program. When you
run it and you hit the breakpoint, you can then use the ``info'' command to
display your program's status. Type ``help info'' on the gdb command line
to see other information that you can view with the ``info'' command.
nimrod_a_abing
--------------
+========================================+
| Home page: www.geocities.com/n_abing |
+========================================+
"Tinimbang ka ngunit kulang."
If you understand that phrase, i-email mo'ko. ;-)
- Raw text -