This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] keep-variable command


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]