Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Andrew Burgess <aburgess@redhat.com>
Cc: guinevere@redhat.com, gdb-patches@sourceware.org
Subject: Re: [PATCH] gdb, configure: Add disable-formats option for configure
Date: Fri, 04 Oct 2024 17:45:14 +0300	[thread overview]
Message-ID: <86ed4wx6yt.fsf@gnu.org> (raw)
In-Reply-To: <87bk00x7u6.fsf@redhat.com> (message from Andrew Burgess on Fri,  04 Oct 2024 15:26:25 +0100)

> From: Andrew Burgess <aburgess@redhat.com>
> Cc: guinevere@redhat.com, gdb-patches@sourceware.org
> Date: Fri, 04 Oct 2024 15:26:25 +0100
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> > If I'm right, then there are two separate aspects to "target": on the
> > one side, the ability to start/stop executables, insert breakpoints
> > and watchpoints, etc., and OTOH the ability to read and process debug
> > info used by that target, implement frame unwinders, etc.  Are we
> > currently conflating these into a single notion of "target", and if
> > so, will the proposed changes include or exclude both parts of each
> > "target"?
> 
> I agree with you about "target" having two components, the lower level
> stuff, and the higher level stuff.
> 
> File format support, being able to read from file, only (I think)
> impacts higher level functionality.  But just reading the file isn't (I
> claim) enough, we need the higher level functionality in order to really
> "understand" the file contents.
> 
> My claim then is that being able to remove the file format support will
> actually make the GDB slightly better (in some cases) as GDB will no
> longer be able to read a file which it is then unable to correctly
> process the contents of.

Thanks.

So given this situation, what exactly will removing, say, mipsread.o
give me?  What will the GDB I build be unable to do that it was able
to do before?

And a more practical question: if I want to build GDB that will run on
GNU/Linux and should be able to debug Linux executables natively and
MS-Windows executables via gdbserver, which formats should I specify
with this new --enable-formats option?

See, I think these are the questions that the readers of the manual
will ask themselves, and we should have the answers there for them.

  reply	other threads:[~2024-10-04 14:45 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-25 17:53 Guinevere Larsen
2024-09-26  5:49 ` Eli Zaretskii
2024-09-26 18:16   ` Guinevere Larsen
2024-09-26 18:35     ` Eli Zaretskii
2024-09-26 21:03       ` Guinevere Larsen
2024-09-27  6:05         ` Eli Zaretskii
2024-10-02 13:25           ` Andrew Burgess
2024-10-02 14:15             ` Eli Zaretskii
2024-10-04 14:26               ` Andrew Burgess
2024-10-04 14:45                 ` Eli Zaretskii [this message]
2024-10-07 18:30                   ` Guinevere Larsen
2024-10-07 19:17                     ` Eli Zaretskii
2024-10-07 19:58                       ` Guinevere Larsen
2024-10-08 11:44                         ` Eli Zaretskii
2024-10-08 13:03                           ` Guinevere Larsen
2024-10-08 13:21                             ` Eli Zaretskii
2024-10-10 14:45                               ` Guinevere Larsen
2024-10-10 16:10                               ` Andrew Burgess
2024-09-26 19:18 ` Tom Tromey
2024-09-26 19:49   ` Guinevere Larsen
2024-09-27 18:01     ` Tom Tromey
2024-10-02 13:56 ` Andrew Burgess
2024-10-02 20:37   ` Guinevere Larsen
2024-10-03 10:15     ` Andrew Burgess
2024-10-04 14:49 ` Andrew Burgess
2024-10-10 20:18   ` Guinevere Larsen
2024-10-16 10:50     ` Andrew Burgess
2024-10-16 21:00       ` Guinevere Larsen
2024-10-17 19:43       ` Tom Tromey
2024-10-17 19:48         ` Guinevere Larsen

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=86ed4wx6yt.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=aburgess@redhat.com \
    --cc=gdb-patches@sourceware.org \
    --cc=guinevere@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