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] |
"Chris" == Chris Moller<cmoller@redhat.com> writes:
Chris> You can't do that. obstack_base() returns a pointer to the current Chris> allocation, which may change depending on what's stuffed into the Chris> obstack--by the time the obstack_free is hit, the base may have Chris> changed.
Why do we need to pop the stack at all?
It seems to me that if we printed something once, during a given call
into val_print, then we should never try to print it again.
Am I missing something?
class A { // whatever };
class B { static A a1[] = ...; static A a2[] = ...; };
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |