Booting within running GDB

Leon Pollak leonp at plris.com
Wed Dec 15 10:51:18 UTC 2004


Hello.
	I ask this question here, as I think that our community will better 
understand my problem...:-)

	Is there any way to execute gdb commands (except Ctrl-C) while application is 
running (by "r" or "c")?

	Below is the description which explains why do I need this:
	I have my board running uMon boot manager and my RTEMS application. uMon has 
the ability to "tftp in" application and then run it. I do this all under 
GDB+BDM.
	Now, I try to automate all the boot+download process. For this I wanted to 
write in my .gdbinit the sequence like this:
1. Reset the board
2. Run the board (allowing the uMon to get up and start tftp server).
3. Start tftp client application as a shell command in GDB and download the 
application.
4. Set some breakpoints in application, let's say in main().
5. Send to the uMon "call application" command.
6. Hit the break point...:-))

The problem is that after the "run" command was issued (in 2) GDB does not 
accept any command till RUN ends, which never ends...:-(


Many thanks ahead to everybody.


Leon Pollak 




More information about the users mailing list