[rfc] Re-parse display expressions if architecture changes

Tom Tromey tromey@redhat.com
Mon Dec 21 20:32:00 GMT 2009


>>>>> "Ulrich" == Ulrich Weigand <uweigand@de.ibm.com> writes:

Ulrich> The patch below implements this by ensuring the expression is
Ulrich> re-parsed if the currnet architecture is different from the one
Ulrich> the expression was originally parsed in.

This seems like a reasonable idea to me.

Ulrich> Any comments?  I'm planning to apply this next week.

I think this needs to xfree the old expression to avoid a memory leak.

Tom



More information about the Gdb-patches mailing list