Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Pedro Alves <palves@redhat.com>
To: "Maciej W. Rozycki" <macro@linux-mips.org>,
	Philippe Waroquiers <philippe.waroquiers@skynet.be>
Cc: Philippe Waroquiers via Gdb-patches <gdb-patches@sourceware.org>
Subject: Re: [PUSHED/OBVIOUS] Remove gdb-gdb.gdb breakpoint on disappeared function info_command.
Date: Sun, 3 May 2020 12:03:36 +0100	[thread overview]
Message-ID: <da650312-5dfb-2bce-2f86-72e255f95c1f@redhat.com> (raw)
In-Reply-To: <alpine.LFD.2.21.2005030011440.3602499@eddie.linux-mips.org>

On 5/3/20 1:13 AM, Maciej W. Rozycki wrote:

>  I don't remember offhand; I do remember there were issues in some debug 
> scenarios with using signals, perhaps unintended delivery to the debuggee 
> GDB (or its debuggee), or some problems with trapping the signal in the 
> first place (perhaps on MinGW, where obviously we don't have a typical 
> *nix environment and ^C may have simply killed the outer GDB and other 
> signals such as SIGQUIT may not have had a way to be produced at all).  
> Especially as when debugging broken GDB (which is why you debug it in the 
> first place) you often find it in an odd state.

Exactly.  I've used this feature in scenarios like you describe.  I'm
also surprised people weren't aware of the feature, and would like it
restored somehow.

> commit 0a7cfe2cf50b450d0cf9db16ee4bd027e08763e8
> Author: Stan Shebs <shebs@codesourcery.com>
> Date:   Mon Sep 16 18:00:34 2013 +0000
> 
> so we have removed that piece of documentation from our repo, however as 
> per: <https://sourceware.org/ml/gdb-patches/2013-08/msg00855.html> it has 
> been moved to our wiki and the feature of `info' is still mentioned here: 
> <https://sourceware.org/gdb/wiki/Internals%20Debugging-GDB-with-itself>.
> 
>  So it looks like we've actually removed a documented feature.

Thanks for finding it.

Pedro Alves



  parent reply	other threads:[~2020-05-03 11:03 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-01 14:54 Philippe Waroquiers
2020-05-02  4:02 ` Kevin Buettner
2020-05-02 21:19   ` Maciej W. Rozycki
2020-05-02 23:01     ` Philippe Waroquiers
2020-05-02 23:57       ` Kevin Buettner
2020-05-03  0:13       ` Maciej W. Rozycki
2020-05-03  0:33         ` Simon Marchi
2020-05-03 11:03         ` Pedro Alves [this message]
2020-05-03 12:45         ` Philippe Waroquiers
2020-05-03 17:17     ` Tom Tromey
2020-05-03 18:33       ` Philippe Waroquiers
2020-05-04 21:21         ` Tom Tromey

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=da650312-5dfb-2bce-2f86-72e255f95c1f@redhat.com \
    --to=palves@redhat.com \
    --cc=gdb-patches@sourceware.org \
    --cc=macro@linux-mips.org \
    --cc=philippe.waroquiers@skynet.be \
    /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