From: "Schimpe, Christina" <christina.schimpe@intel.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: "gdb-patches@sourceware.org" <gdb-patches@sourceware.org>,
"hjl.tools@gmail.com" <hjl.tools@gmail.com>,
"keiths@redhat.com" <keiths@redhat.com>,
"aburgess@redhat.com" <aburgess@redhat.com>
Subject: RE: [PATCH 1/2] gdb: add maintenance set/show gcore xml-target-description command
Date: Mon, 15 Jun 2026 07:54:50 +0000 [thread overview]
Message-ID: <SN7PR11MB7638DEC98C696D1061E5D600F9E62@SN7PR11MB7638.namprd11.prod.outlook.com> (raw)
In-Reply-To: <864ijar585.fsf@gnu.org>
> -----Original Message-----
> From: Eli Zaretskii <eliz@gnu.org>
> Sent: Mittwoch, 10. Juni 2026 13:43
> To: Schimpe, Christina <christina.schimpe@intel.com>
> Cc: gdb-patches@sourceware.org; hjl.tools@gmail.com; keiths@redhat.com;
> aburgess@redhat.com
> Subject: Re: [PATCH 1/2] gdb: add maintenance set/show gcore xml-target-
> description command
>
> > From: "Schimpe, Christina" <christina.schimpe@intel.com>
> > CC: "gdb-patches@sourceware.org" <gdb-patches@sourceware.org>,
> > "hjl.tools@gmail.com" <hjl.tools@gmail.com>, "keiths@redhat.com"
> > <keiths@redhat.com>, Andrew Burgess <aburgess@redhat.com>
> > Date: Tue, 9 Jun 2026 21:02:12 +0000
> >
> > > If this command controls the emission of NT_GDB_TDESC note, then why
> > > its name mentions a more general XML target description? Am I right
> > > in assuming that NT_GDB_TDESC is just part of the target description?
> > > If so, perhaps the xml-target-description part should be renamed, or
> > > maybe the NEWS text should be modified to say that the entire target
> > > description is emitted as XML?
> >
> > You're right. I should have been more specific.
> > With the NT_GDB_TDESC note the core file contains a copy of GDB's
> > target description XML. Without this note the corefile does not
> > contain the target description (see commit "gdb: write target description
> into core file").
> >
> > Should we better write:
> >
> > "With this command you can control whether or not the
> > generate-core-file command emits the NT_GDB_TDESC note including a
> copy of GDB's target description XML."
>
> Yes, this would be much more clear.
>
> > > > + add_setshow_boolean_cmd ("xml-target-description", class_obscure,
> > > > + &maint_gcore_emit_xml_tdesc, _("\ Set whether
> > > gcore emits a
> > > > +xml-target-description."), _("\ Show whether gore emits a
> > > > +xml-target-description."), _("\ By default, gcore emits the note
> > > > +NT_GDB_TDESC.\n\ Disabling this setting will cause gcore to no
> > > > +longer emit this note."),
> > >
> > > This doc string has the same issue: it say GDB will emit the XML
> > > target description, but then goes on to say that NT_GDB_TDESC note is
> emitted.
> >
> > Is it better as follows:
> > "... gcore emits the NT_GDB_TDESC note including GDB's target description
> XML"
>
> Yes, thanks.
Thanks for the quick feedback.
I'll wait a couple of days, if someone has further comments, then I'll post the v2
with your comments fixed.
Christina
Intel Deutschland GmbH
Registered Address: Dornacher Strasse 1, 85622 Feldkirchen, Germany
Tel: +49 89 991 430, www.intel.de
Managing Directors: Harry Demas, Jeffrey Schneiderman, Yin Chong Sorrell
Chairperson of the Supervisory Board: Nicole Lau
Registered Seat: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928
next prev parent reply other threads:[~2026-06-15 7:55 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-02 11:11 [PATCH 0/2] Add Intel APX support Christina Schimpe
2026-06-02 11:11 ` [PATCH 1/2] gdb: add maintenance set/show gcore xml-target-description command Christina Schimpe
2026-06-02 12:22 ` Eli Zaretskii
2026-06-09 21:02 ` Schimpe, Christina
2026-06-10 11:43 ` Eli Zaretskii
2026-06-15 7:54 ` Schimpe, Christina [this message]
2026-06-18 17:31 ` Keith Seitz
2026-07-07 17:07 ` Schimpe, Christina
2026-07-10 11:57 ` Schimpe, Christina
2026-06-02 11:11 ` [PATCH 2/2] gdb, gdbserver: Add Intel APX register support Christina Schimpe
2026-06-02 12:25 ` Eli Zaretskii
2026-06-18 17:33 ` Keith Seitz
2026-07-07 17:15 ` Schimpe, Christina
2026-07-07 17:53 ` Keith Seitz
2026-07-07 17:15 ` Schimpe, Christina
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=SN7PR11MB7638DEC98C696D1061E5D600F9E62@SN7PR11MB7638.namprd11.prod.outlook.com \
--to=christina.schimpe@intel.com \
--cc=aburgess@redhat.com \
--cc=eliz@gnu.org \
--cc=gdb-patches@sourceware.org \
--cc=hjl.tools@gmail.com \
--cc=keiths@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