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 * 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