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
- From: Pedro Alves <palves at redhat dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: Jan Kratochvil <jan dot kratochvil at redhat dot com>, gdb-patches at sourceware dot org, Eli Zaretskii <eliz at gnu dot org>
- Date: Thu, 23 Aug 2012 19:05:06 +0100
- Subject: Re: [patch] Implement $_version; for auto-load commands in ~/.gdbinit
- References: <20120821144916.GB28426@host2.jankratochvil.net> <87y5l6r8rz.fsf@fleche.redhat.com>
On 08/22/2012 09:06 PM, Tom Tromey wrote:
>>>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:
>
> Jan> One solution would be some new mode where errors are only printed
> Jan> and script execution does not stop there.
>
> I think that would be preferable. It is better to test features rather
> than versions.
>
> It is trivial to write an 'ignore-errors' in python, or C for that matter.
> Or you could resurrect the old try-catch patch for the CLI that is
> languishing in bugzilla.
+1
--
Pedro Alves