[PATCH] printcmd.c (ui_printf): make internalvar string can be printf and eval when inferior cannot alloc memory

Tom Tromey tromey@redhat.com
Fri Aug 19 14:15:00 GMT 2011


>>>>> ">" == Hui Zhu <teawater@gmail.com> writes:

Tom> This test seems odd to me.  Why does the lvalue-ness of the value
Tom> matter?

>> I don't understand your means, could you do some explain?

I just don't understand why a check of the VALUE_LVAL is necessary.
Does something go wrong in the other cases?  It doesn't seem to me that
it should.

Tom



More information about the Gdb-patches mailing list