Re: GDB Remote Serial Protocol - establish connection

Klemen Dovrtel <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
Hello everybody,
I am reading how the remote serial protocol works and i would like to use it on msp430 processor.
I am not sure why it is assumed, that the processor is halted when the connection is established: hxxp://www.embecosm.com/appnotes/ean4/embecosm-howto-rsp-server-ean4-issue-2.html#sec_exchange_target_remote


When the connection is established:

- the client asks for status: ?- the server replies with: S05 (TRAP exception)

Would it be possible that the processor/microcontroller runs the code that was loaded previously and is not halted when the gdb connection is established. What should the server report to client then (instead of S05). Which posix signal() number should the server return - i checked the signals and i could not find any suitable?

Regards
Klemen
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.