public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Philippe Waroquiers <philippe.waroquiers@skynet.be>
To: gdb-patches@sourceware.org
Subject: [RFAv2 0/3] Convenience functions $_gdb_setting/$_gdb_int_setting
Date: Fri, 05 Jul 2019 19:58:00 -0000	[thread overview]
Message-ID: <20190705195823.3472-1-philippe.waroquiers@skynet.be> (raw)

As part of the discussion of 'show | set may-call-functions [on|off]',
Eli suggested to have a way to access the GDB settings from
user defined commands.

So, this patch series implements this.

2 functions are provided:
  * $_gdb_setting that gives access to all settings, giving back a string value.
  * $_gdb_int_setting, giving access to boolean, auto-boolean and integers.
    This is easier to use for such types than the string version.

This is a v2 that just rebase to a recent master, as the code has
to be updated due to the 'cli option' framework.


             reply	other threads:[~2019-07-05 19:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-05 19:58 Philippe Waroquiers [this message]
2019-07-05 19:58 ` [RFAv2 3/3] NEWS and documentation for $_gdb_setting and $_gdb_int_setting Philippe Waroquiers
2019-07-06  6:23   ` Eli Zaretskii
2019-07-06 10:54     ` Philippe Waroquiers
2019-07-06 11:21       ` Eli Zaretskii
2019-07-05 19:58 ` [RFAv2 2/3] Test the convenience functions " Philippe Waroquiers
2019-07-05 19:58 ` [RFAv2 1/3] Implement convenience functions to examine GDB settings Philippe Waroquiers

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=20190705195823.3472-1-philippe.waroquiers@skynet.be \
    --to=philippe.waroquiers@skynet.be \
    --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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).