[Converted from Gnats 1459] I am using gdb to debug application on MBX target board. The size of the application is big and it takes long to download through serial port. So I am connecting gdb to target through ethernet and downloading the application. Now I want to switch to serial port for debugging. But on giving the command to connect to target through serial port, gdb asks me to kill the downloaded program first. Is it possible to connect to serial without having to kill the downloaded program? Release: GNU gdb 5.0 Environment: --host=i686-pc-linux-gnu --target=powerpc-eabi How-To-Repeat: give the command powerpc-eabi-gdb and connect to target through ethernet. Now download the application by giving load command. Now give the target remote /dev/ttyS0 command. gdb will prompt to kill the program.
I think a better way to deal with this kind of thing is to set up a sysroot locally, then debug the usual way. If this is still an issue for you, though, please reopen this bug and we can discuss it.