This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Patch: fix catch syscall completion
- From: Pedro Alves <palves at redhat dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 26 Oct 2012 18:40:08 +0100
- Subject: Re: Patch: fix catch syscall completion
- References: <87fw512ls8.fsf@fleche.redhat.com>
On 10/26/2012 06:19 PM, Tom Tromey wrote:
> I noticed that the "catch syscall" completer doesn't work quite right.
> It will complete "catch syscall vfor" ok, but not a multi-word
> use like "catch syscall read vfor".
>
> This patch fixes the bug. New test case included.
> Built and regtested on x86-64 Fedora 16.
Looks OK to me.
> 2012-10-26 Tom Tromey <tromey@redhat.com>
>
> * breakpoint.c (catch_syscall_completer): Pass 'word' as second
> argument to complete_on_enum.
>
> 2012-10-26 Tom Tromey <tromey@redhat.com>
>
> * gdb.base/catch-syscall.exp (do_syscall_tests): Add completion
> test.
--
Pedro Alves