Remove type prefix for -var-evaluate-expression/functions
Vladimir Prus
ghost@cs.msu.su
Tue Apr 4 07:18:00 GMT 2006
Daniel Jacobowitz wrote:
>> > Well I guess mi-var-cmd.exp. Please remember that I'm not the
>> > maintainer
>> > but just an interested party. See what Daniel says. He might want
>> > something for mi2-var-cmd.exp too.
>>
>> Ok, I'll wait for his comment.
>
> mi-var-cmd.exp sounds good to me. I don't think we need it in
> mi2-var-cmd.exp. I have the same question I asked a moment ago about
> Nick's patch - is there any chance that someone relies on this
> information?
>
> Here I think the chance is pretty slim; for pointers it's a more
> serious concern, but for functions this is a pretty rare case.
> So not versioning this change makes sense to me.
The new version of the patch, with testsuite change, is attached.
Changelog:
2006-03-15 Vladimir Prus <ghost@cs.msu.su>
* c-valprint.c
(c_val_print): Don't print type prefix for functions.
(c_value_print): Print type prefix for functions here.
* testsuite/gdb.mi/mi-var-cmd.exp: Test for new behaviour.
- Volodya
-------------- next part --------------
A non-text attachment was scrubbed...
Name: type_prefix_2.diff
Type: text/x-diff
Size: 2168 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20060404/484b854c/attachment.bin>
More information about the Gdb-patches
mailing list