This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug guile/17203] It should be an error to register a pre-existing parameter.
- From: "xdje42 at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Mon, 28 Jul 2014 14:50:26 +0000
- Subject: [Bug guile/17203] It should be an error to register a pre-existing parameter.
- Auto-submitted: auto-generated
- References: <bug-17203-4717 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=17203
--- Comment #4 from Doug Evans <xdje42 at gmail dot com> ---
On a related topic,
One thing I'd like to add is the ability to export native gdb parameters to
Scheme.
One reason is I'd like to write a function that executes a gdb command with a
parameter temporarily set to a specified value. In order to easily do that,
i.e., without having to have a lot of parameter-specific code, I want to be
able to read and write parameters from Scheme and not using gdb set/show
commands.
Implementing this will involve a bit of work for parameters that post-process
writes.
The point of noting this here is that in this case we're not registering a new
parameter (using the parlance of "register-parameter!"), just exporting to
Scheme an existing one.
--
You are receiving this mail because:
You are on the CC list for the bug.