Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Philippe Waroquiers <philippe.waroquiers@skynet.be>
To: gdb-patches@sourceware.org
Subject: [RFAv3 0/3] Convenience functions $_gdb_setting/$_gdb_int_setting
Date: Sat, 06 Jul 2019 10:50:00 -0000	[thread overview]
Message-ID: <20190706104947.30301-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 v3.
Compared to v1, it rebases to a recent master, and handles the comments
of Eli about the documentation.

(there was in fact no changes between v2 and v1, because I forgot to
commit the changes before sending the RFAv2 mail).



             reply	other threads:[~2019-07-06 10:50 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-06 10:50 Philippe Waroquiers [this message]
2019-07-06 10:50 ` [RFAv3 3/3] NEWS and documentation for $_gdb_setting and $_gdb_int_setting Philippe Waroquiers
2019-07-06 11:22   ` Eli Zaretskii
2019-07-06 10:50 ` [RFAv3 2/3] Test the convenience functions " Philippe Waroquiers
2019-07-06 10:50 ` [RFAv3 1/3] Implement convenience functions to examine GDB settings Philippe Waroquiers
2019-07-08 16:34 ` [RFAv3 0/3] Convenience functions $_gdb_setting/$_gdb_int_setting Pedro Alves
2019-07-08 22:33   ` Philippe Waroquiers
2019-07-10 15:34     ` Pedro Alves
2019-07-10 22:09       ` 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=20190706104947.30301-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