This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GDB Remote Serial Protocol - establish connection


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]