Re Remote Debugging
Re Remote Debugging
- Subject: Re Remote Debugging
- From: Anshul Makkar <email@hidden>
- Date: Thu, 26 May 2005 19:45:34 +0530
Hello ,
display/li $pc display the expression.With the help of it I am not
perform step debugging. After setting display/li $pc what else has to be
done . I want that whenever jump or call instruction comes I should be
able to jump to new location or function . ie I want to debug every step
so that I can follow the complete path .
Please help . If possible give further detail on the above point or
suggest me some links from where I can get detailed information
regarding GDB and its operation . Actually I want to completely
understand the flow of graphics kext .
Thanks
Jonas Maebe wrote:
On 26 mei 2005, at 15:17, Anshul Makkar wrote:
step-mode on. But then also if I press 's' for step in it just shows
the function name.
Actually when I press s , control goes to next instruction , but
instead of showing the disassembled code it just shows the name of
the function .
What can be the problem,
That there is no debug information available for the function.
how can I show the disassembled code instruction by instruction .
display/1i $pc
To turn it off later:
undisplay 1
(or whatever display number was assigned to the display command).
To simply print the disassembly of the the current function:
disassemble
To print the instructions in a particular range of memory:
disassemble start_address stop_address
or
x/10i start_address
(to print 10 instructions, with the first one at "start")
Jonas
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden