[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Simulavr-devel] remote protocol and signals
From: |
reinhard . jessich |
Subject: |
Re: [Simulavr-devel] remote protocol and signals |
Date: |
Fri, 4 Jan 2002 22:08:38 +0100 |
On Fri, 04 Jan 2002, Theodore A. Roth wrote:
>
> I've extended gdbserver.c to handle the 'C' and 'S' packets (cont/step
> with signal). This will allow the sim to catch signals sent from gdb via
> the remote serial protocol. It doesn't do anything with the signals yet
> though. Any comments on this before I commit it?
I like the change with the reentrant gdb_continue. It's better the function
itself knows what to do.
> I've still not decided whether to go with SIGHUP or 'Rxx' packets for
> initiating a reset from gdb. I'm looking into the 'Rxx' mechanism now.
>
> Anyone have any words of wisdom on this?
I don't know the extended remote protocol, but I think the extended remote
protocol is the better choice because:
If you implement the signal solution, you can only do limited things (sending
a few signals).
If you implement now only a subset of the extended remote protocol, we
are open to implement more of that protocol in the future. I hope that protocol
is an add on to the remote protocol.
If that is true, we can implement now reset, or what ever you decide to be
necessary now.
If this is not true, it depends how much work it is to change from the remote
to the extended remote protocol.
So it is still your decission, but maybe its now easier for you after reading
some wisdom:-)
Regards,
Reinhard
--
Ing. Reinhard Jessich mailto: address@hidden
A-1190 Vienna, Goergengasse 2/2/1 phone: +43/1/3692600
http://members.telering.at/jessich mobile: +43/664/1735439