Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Guinevere Larsen <guinevere@redhat.com>
To: gdb-patches@sourceware.org
Cc: Guinevere Larsen <guinevere@redhat.com>
Subject: [PATCH v2 0/2] Add warning if the native target is not supported
Date: Fri,  9 Jan 2026 08:56:19 -0300	[thread overview]
Message-ID: <20260109115621.26003-1-guinevere@redhat.com> (raw)

Recently I was trying to conduct a new-user test, to figure out what
things were stumbling blocks, and one of the users had a macbook.  The
user on their own would not have been able to understand what was the
reason that they couldn't execute the inferior to debug it.

This series aims to make it a little more obvious, by warning the user
when GDB starts that there is no native target, and instructs the user
on how to get a list of supported architectures, to know what they'll be
able to remotely debug.

For v2, instead of adding a new command, this series changes the help
command, to make it print all available options if a command only
accepts specific options.

Guinevere Larsen (2):
  gdb: improve help text for set commands with limited options
  gdb: add warning when no native target is available

 gdb/cli/cli-decode.c | 10 ++++++++++
 gdb/main.c           |  5 +++++
 2 files changed, 15 insertions(+)


base-commit: 0a48989147868b4c5afdb0f5b90696b543768381
-- 
2.52.0


             reply	other threads:[~2026-01-09 11:57 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-09 11:56 Guinevere Larsen [this message]
2026-01-09 11:56 ` [PATCH v2 1/2] gdb: improve help text for set commands with limited options Guinevere Larsen
2026-01-12 15:35   ` Andrew Burgess
2026-01-09 11:56 ` [PATCH v2 2/2] gdb: add warning when no native target is available Guinevere Larsen
2026-01-09 12:36   ` Ciaran Woodward
2026-01-09 13:40     ` Guinevere Larsen
2026-01-09 14:16       ` Ciaran Woodward
2026-01-09 14:26         ` Guinevere Larsen
2026-01-09 16:53           ` Ciaran Woodward
2026-01-12 15:33           ` Andrew Burgess
2026-01-13 18:23             ` 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=20260109115621.26003-1-guinevere@redhat.com \
    --to=guinevere@redhat.com \
    --cc=gdb-patches@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