This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] keep-variable command
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Andrew STUBBS <andrew dot stubbs at st dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Thu, 17 Nov 2005 21:22:02 +0200
- Subject: Re: [PATCH] keep-variable command
- References: <437B44E1.8090008@st.com> <u7jb873tj.fsf@gnu.org> <437C68CF.3060805@st.com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Thu, 17 Nov 2005 11:26:07 +0000
> From: Andrew STUBBS <andrew.stubbs@st.com>
> Cc: gdb-patches@sources.redhat.com
>
> Currently _all_ convenience variables are deleted when the symbol-file
> command is used. The file command also uses symbol-file.
I think this is a terrible misfeature that we need to fix ASAP,
regardless of what we do with variables which depend on the symbol
table.
> Please give your example of a convenience variable with no relation to
> the symbol table.
Others gave such an example:
(gdb) set $foo = 1