This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: GDB Remote Serial Protocol - establish connection
- From: Klemen Dovrtel <klemen_dovrtel at yahoo dot com>
- To: "gdb at sourceware dot org" <gdb at sourceware dot org>
- Date: Wed, 22 Jun 2016 05:47:24 +0000 (UTC)
- Subject: Re: GDB Remote Serial Protocol - establish connection
- Authentication-results: sourceware.org; auth=none
- References: <1850665675 dot 6879240 dot 1466513621402 dot JavaMail dot yahoo dot ref at mail dot yahoo dot com> <1850665675 dot 6879240 dot 1466513621402 dot JavaMail dot yahoo at mail dot yahoo dot com>
- Reply-to: Klemen Dovrtel <klemen_dovrtel at yahoo dot com>
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