Temporary breakpoint insert [message #152357] |
Fri, 26 August 2005 05:06 |
Eclipse User |
|
|
|
Hi
I am working on the integration of RTLinux debugger in Eclipse
using the eclipse CDT debugger as base. In the Eclipse CDT when we debug
the application, there is a temporary break point inserted in main().
I case of debugging an RTLinux application, when the application
is run there is a function called rtlBreakPoint() which causes an memory
access violation, and at this point the debugger actually starts working.
I have to use a command called target remote /dev/rtf9 and then start
debugging.
Now when the application is debugged it continues running, until
we manually insert a break point, so like the main function temporary
break point in CDT, i want to insert a temporary break point on the next
executable instruction after rtlBreakpoint() function call.
so for example
#include<stdio.h>
void main() {
some code
printf() etc etc
rtlBreakPoint(); "memory access violation"
clock_time(); "the place where i want to place the temporary
breakpoint"
more code
}
does any one have any suggestions, please let me know
regards,
Sheldon
|
|
|
Powered by
FUDForum. Page generated in 0.02950 seconds