This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] Implement $_version; for auto-load commands in ~/.gdbinit
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