This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Restart remote application
> Here's some bits of that code plus another related fix I noticed;
> does it help for you?
Thanks for the patch. Unfortunately it does not work yet. It was able to
pass the k,R sequence as expected but then the application is somewhat
lost. Here's the output:
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Sending packet: $k#6b...Ack
target_mourn_inferior ()
target_kill ()
Starting program: /home/pko/zkgdb
Sending packet: $R0#82...Ack
Sending packet: $?#3f...Ack
Packet received: T0505:00000000;04:9004abbf;08:1018fbb7;
target_memory_map ()
extended-remote:target_xfer_partial (7, (null), 0x836e7b0, 0x0, 0x0,
4095) = -1
Sending packet: $Z0,b7f70fb0,1#71...Ack
Packet received:
Packet Z0 (software-breakpoint) is NOT supported
Sending packet: $mb7f70fb0,1#28...Ack
Packet received: E01
extended-remote:target_xfer_partial (2, (null), 0x834bc58, 0x0,
0xb7f70fb0, 1) = -1
target_insert_breakpoint (0xb7f70fb0, xxx) = 5
target_terminal_ours_for_output ()
target_terminal_ours ()
Warning:
Cannot insert breakpoint -3.
Error accessing memory address 0xb7f70fb0: Input/output error.
Petr