This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/9307] display command does not work under certain condition.
- From: "tromey at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 17 Feb 2010 19:41:47 -0000
- Subject: [Bug gdb/9307] display command does not work under certain condition.
- References: <20061118001801.9307.ching@coware.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From tromey at redhat dot com 2010-02-17 19:41 -------
Still a bug.
I reproduced it with this program:
struct K {
void method () { }
int k;
K() : k(23) { }
int m2 ()
{
k += 7;
return k;
}
};
int main() {
K k;
k.method();
return k.m2();
}
I break in m2, then display k.
Then print method()
Then another display k -- this does nothing.
I am not sure about this proposed patch, however.
I don't think block_found should show up in value code, only in symtab code.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |tromey at redhat dot com
Last reconfirmed|0000-00-00 00:00:00 |2010-02-17 19:41:47
date| |
http://sourceware.org/bugzilla/show_bug.cgi?id=9307
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.