From: Fabian Cenedese <Cenedese@indel.ch>
To: gdb@sources.redhat.com
Subject: Re: MI set thread command
Date: Wed, 08 Sep 2004 13:52:00 -0000 [thread overview]
Message-ID: <5.2.0.9.1.20040908154545.01d43318@NT_SERVER> (raw)
In-Reply-To: <20040908130510.GA16046@nevyn.them.org>
>> from remote.c
>> /* If s, S, c, and C are not all supported, we can't use vCont. Clearing
>> BUF will make packet_ok disable the packet. */
>
>I think this could be fixed, since we support running without S and C,
>and on some targets even without s. I just didn't have a reason to do
>it when I added vCont.
I now added S and C but discard the signal, so S=s and C=c, seems to work.
>> ->$vCont;s:d270;c#8d
>> <-$S05#b8
>
>You may want to implement T...
I already have (as visible in my example).
>> So gdb debugs a thread and asks registers, and the registers of course need to
>> come from the same thread. Which registers do I need to return now? The ones
>> from the last Hgt command? Or the ones from the last vCont;s command? Or
>> should they be the same anyway?
>
>This is a little fuzzy in the protocol; might want to take a look at
>how gdbserver handles it. I know that if the resume reply specifies
>thread:, that sets GDB's idea of where to expect registers from. If it
>doesn't, I am not sure what happens.
Ok, back to remote.c and gdbserver then :)
Thanks
bye Fabi
prev parent reply other threads:[~2004-09-08 13:52 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-07 9:03 Fabian Cenedese
2004-09-07 17:08 ` Daniel Jacobowitz
2004-09-08 7:46 ` Fabian Cenedese
2004-09-08 13:05 ` Daniel Jacobowitz
2004-09-08 13:52 ` Fabian Cenedese [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5.2.0.9.1.20040908154545.01d43318@NT_SERVER \
--to=cenedese@indel.ch \
--cc=gdb@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox