This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch: fix catch syscall completion


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]