[patch] Implement $_version; for auto-load commands in ~/.gdbinit

Jan Kratochvil jan.kratochvil@redhat.com
Fri Aug 24 19:00:00 GMT 2012


On Fri, 24 Aug 2012 20:49:47 +0200, Eli Zaretskii wrote:
> But all this stuff we are discussing is for the user, not for the
> distributor.  A user always knows which version(s) she uses, so she
> can set the minimum versions accordingly.

Users AFAIK use distro GDB, but they use also FSF GDB HEAD.  So your request
for compatible ~/.gdbinit should apply for both FSF and distro GDBs.


> And if worse comes to worst, one can always be conservative.  It's not
> a disaster not to invoke a command that was back-ported.
> 
> I find the alternatives more complex and not much more useful.

TBH I do not find this whole request too useful and I may be one of the people
using various GDB variants most interchange-ably.

I am also fine with dropping this feature completely.

Both the "ignore-errors" or the "version" path have various difficulties where
one may find easier to deal with the problem by hand, at least I do.


Jan



More information about the Gdb-patches mailing list