[prev in list] [next in list] [prev in thread] [next in thread]
List: gdb-patches
Subject: Patch: fix catch syscall completion
From: palves () redhat ! com (Pedro Alves)
Date: 2012-10-26 17:40:00
Message-ID: 508ACAF8.8050804 () redhat ! com
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic