public inbox for archer@sourceware.org
 help / color / mirror / Atom feed
From: Oleg Nesterov <oleg@redhat.com>
To: archer@sourceware.org, utrace-devel@redhat.com
Subject: Re: gdbstub initial code, v12
Date: Mon, 04 Oct 2010 18:14:00 -0000	[thread overview]
Message-ID: <20101004181053.GA30217@redhat.com> (raw)
In-Reply-To: <20100930182320.GA17475@redhat.com>

On 09/30, Oleg Nesterov wrote:
>
> Right now $G doesn't change FPU registers.

It turns out, $G can't even set the REGSET_GENERAL reg correctly.
I noticed this only because the tracee sometimes dies during the
single-stepping inside the dynamic linker. Indeed, $G passes the
wrong fs_index==0 to genregs_set().

> Next: watchpoints.

While trying to understand what does this mean, I hit another bug
in ugdb. A multithreaded tracee can "hang" if gdb simulates
watchpoints with single-steps + mem-fetch/compare. Still can't
understand why this happens, this should be resolved. This never
happens if the tracee is single-threaded.

Oleg.

  reply	other threads:[~2010-10-04 18:14 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-30 18:27 Oleg Nesterov
2010-10-04 18:14 ` Oleg Nesterov [this message]
2010-10-05 17:31   ` BUG: gdb && notification packets (Was: gdbstub initial code, v12) Oleg Nesterov
2010-10-05 18:30     ` Pedro Alves
2010-10-05 18:35       ` Pedro Alves
2010-10-06 17:23       ` Oleg Nesterov
2010-10-06 18:32         ` Pedro Alves
2010-10-07 23:03           ` Oleg Nesterov
2010-10-08  0:03             ` Pedro Alves
2010-10-08  0:23               ` 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=20101004181053.GA30217@redhat.com \
    --to=oleg@redhat.com \
    --cc=archer@sourceware.org \
    --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).