Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Jonah Graham <jonah@kichwacoders.com>
To: Pedro Alves <palves@redhat.com>
Cc: Tudor Popescu <popescu.m.tudor@gmail.com>,
	GDB Development <gdb@sourceware.org>
Subject: Re: GDB doesn't interrupt target
Date: Thu, 19 Dec 2019 14:47:00 -0000	[thread overview]
Message-ID: <CAPmGMvg=rRbsU72avoMbGq5KTOsX8JV1PxYcFD5WwY97JctYfQ@mail.gmail.com> (raw)
In-Reply-To: <31d23a62-eef1-63d4-f992-a0b553b141b9@redhat.com>

On Thu, 19 Dec 2019 at 09:22, Pedro Alves <palves@redhat.com> wrote:

> On 12/19/19 1:10 PM, Tudor Popescu wrote:
> > Indeed the "interrupt" works on Debugger Console, as for the Suspend,
> the console prints a "^CQuit" just as when killing.
> This suggests that the suspend button is sending a SIGINT to GDB instead of
> issing an -exec-interrupt command on the MI channel.  (MI's -exec-interrupt
> command is the equivalent of the "interrupt" command on the console.)
>
>
Thank you Pedro for confirming.

Tudor, where did you get your Eclipse from? If it is a fairly recent and
unmodified/extended CDT I should be able to reproduce this, but I am going
to need some more details on exactly how you are using it. Which type of
launch are you doing for example. If you are using (or writing) a vendor
extension to CDT it could be that the vendor has overridden the
implementation of RunControl.suspend() that is in used
by GDBRunControl_7_12 for GDB >= 7.12.

Please raise a bug <https://bugs.eclipse.org/bugs/enter_bug.cgi?product=CDT> in
CDT with the details and I can look at it further.

Thanks,
Jonah


  reply	other threads:[~2019-12-19 14:47 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-18 14:20 Tudor Popescu
2019-12-18 14:59 ` Pedro Alves
2019-12-18 15:49   ` Jonah Graham
     [not found]     ` <CAHrp7QDmyiyyXtpcA_XSN41=eZM3eT3vwhuY5e9WTCqHGD_k1g@mail.gmail.com>
2019-12-19 14:22       ` Pedro Alves
2019-12-19 14:47         ` Jonah Graham [this message]
2019-12-20 15:37           ` Tudor Popescu
2019-12-20 16:23             ` Jonah Graham
2019-12-23 14:37               ` Tudor Popescu
2019-12-23 16:32                 ` Jonah Graham

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='CAPmGMvg=rRbsU72avoMbGq5KTOsX8JV1PxYcFD5WwY97JctYfQ@mail.gmail.com' \
    --to=jonah@kichwacoders.com \
    --cc=gdb@sourceware.org \
    --cc=palves@redhat.com \
    --cc=popescu.m.tudor@gmail.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