Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Pedro Alves <palves@redhat.com>
To: Dmitry Antipov <dantipov@nvidia.com>,
	GDB Development <gdb@sourceware.org>
Subject: Re: "The target is not responding to interrupt requests" after re-attach
Date: Thu, 19 Oct 2017 11:39:00 -0000	[thread overview]
Message-ID: <f4a517f3-41b2-efc7-e00c-c9f11d29d7f3@redhat.com> (raw)
In-Reply-To: <6c9c532c-8094-9df5-1a8c-556ea92a9b5a@nvidia.com>

On 10/17/2017 03:02 PM, Dmitry Antipov wrote:

> But it doesn't work for the next time:
> 
> $ gdb -q
> (gdb) set sysroot /
> (gdb) target extended-remote :8888
> Remote debugging using :8888
> (gdb) attach 9320
> Attaching to process 9320
> Reading symbols from /tmp/t-nanosleep...done.
> Reading symbols from /lib64/libc.so.6...(no debugging symbols
> found)...done.
> Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols
> found)...done.
> 0x00007eff44c65420 in __nanosleep_nocancel () from /lib64/libc.so.6
> (gdb) c
> Continuing.
> ^C
> ^CThe target is not responding to interrupt requests.
> Stop debugging it? (y or n) y
> 
> Even if it works as expected, what are the reasons for being
> inconsistent here?
> 

No good reason.  Sounds like you found a bug.

Thanks,
Pedro Alves


  reply	other threads:[~2017-10-19 11:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-17 14:04 Dmitry Antipov
2017-10-19 11:39 ` Pedro Alves [this message]
2017-10-19 11:57   ` Dmitry Antipov
2017-10-19 13:21     ` Pedro Alves

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=f4a517f3-41b2-efc7-e00c-c9f11d29d7f3@redhat.com \
    --to=palves@redhat.com \
    --cc=dantipov@nvidia.com \
    --cc=gdb@sourceware.org \
    /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