public inbox for archer@sourceware.org
 help / color / mirror / Atom feed
From: Oleg Nesterov <oleg@redhat.com>
To: Jan Kratochvil <jan.kratochvil@redhat.com>
Cc: archer@sourceware.org, utrace-devel@redhat.com
Subject: Re: gdbstub initial code, v7
Date: Thu, 02 Sep 2010 20:09:00 -0000	[thread overview]
Message-ID: <20100902200632.GA23692@redhat.com> (raw)
In-Reply-To: <20100831072048.GA26362@host1.dyn.jankratochvil.net>

Sorry for the delay, I was distracted. Trying to switch back to ugdb.

On 08/31, Jan Kratochvil wrote:
>
> > ugdb should support qXfer:siginfo, currently accessible only via $_siginfo
> > print/set, though.
>
> Still sure this feature should be also implemented one day.

Yes sure. This should be simple, although I didn't expect qXfer
needs remote_escape_output() and x86_siginfo_fixup(). I assume
that qXfer:siginfo:read always mean Hg thread. It is not clear
to me what should ugdb report if there is no a valid siginfo.
linux_xfer_siginfo() return E01, but gdbserver uses SIGSTOP to
stop the tracee, so it always has something to report. But ugdb
stop the tracee somewhere else, not in get_signal_to_deliver()
path.

Likewise, it is not clear what should ugdb do if gdb sends
$CSIG in this case. But this all is minor, I think.

I was going to send v8 which implements qXfer:siginfo:read and
continue with signal, but (oh, as always) hit the unexpected
problems. To the point, I had to add printk's to utrace.c to
understand what is wrong. Hopefully tomorrow.

Oleg.

  reply	other threads:[~2010-09-02 20:09 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-30 19:02 Oleg Nesterov
2010-08-30 19:20 ` Jan Kratochvil
2010-08-31  7:21   ` Jan Kratochvil
2010-09-02 20:09     ` Oleg Nesterov [this message]
2010-09-03  6:40       ` Jan Kratochvil
2010-09-03 19:59         ` Roland McGrath
2010-09-03 20:03           ` Jan Kratochvil
2010-09-03 20:10             ` Roland McGrath
2010-09-03 23:13         ` Oleg Nesterov
2010-09-10 10:15           ` Roland McGrath
2010-09-10 18:32             ` Oleg Nesterov
2010-09-10 19:06               ` Roland McGrath
2010-09-10 19:23                 ` Oleg Nesterov
2010-10-13  7:23                   ` Roland McGrath
2010-10-15 14:32                     ` Oleg Nesterov
2010-09-03 14:17       ` Frank Ch. Eigler
2010-09-03 23:00         ` Oleg Nesterov

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=20100902200632.GA23692@redhat.com \
    --to=oleg@redhat.com \
    --cc=archer@sourceware.org \
    --cc=jan.kratochvil@redhat.com \
    --cc=utrace-devel@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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).