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]

Regression for gdb.base/completion.exp [Re: RFC: completion for "set cp-abi"]


Hi Tom,

3174fd02b667571ba97f88f6d48705dc0b009a86 is the first bad commit
commit 3174fd02b667571ba97f88f6d48705dc0b009a86
Author: Tom Tromey <tromey@redhat.com>
Date:   Thu Jan 17 16:27:26 2013 +0000

    	* cp-abi.c (cp_abi_completer): New function.
    	(_initialize_cp_abi): Set completer for "set cp-abi".
    gdb/testsuite
    	* gdb.base/completion.exp: Add "set cp-abi" completion test.

regressing on {x86_64,x86_64-m32,i686}-fedora18-linux-gnu (-lmcheck in use).

Program received signal SIGSEGV, Segmentation fault.
__strncmp_sse42 () at ../sysdeps/x86_64/multiarch/strcmp-sse42.S:162
162		movdqu	(%rdi), %xmm1
(gdb) bt
#0  __strncmp_sse42 () at ../sysdeps/x86_64/multiarch/strcmp-sse42.S:162
#1  0x000000000062e3ed in complete_on_enum (enumlist=0x29afb50, text=0x7fffffffd50b "aut", word=0x7fffffffd50b "aut") at ./cli/cli-decode.c:1822
#2  0x000000000084bf72 in cp_abi_completer (ignore=0x2139070, text=0x7fffffffd50b "aut", word=0x7fffffffd50b "aut") at cp-abi.c:335
#3  0x00000000007419b6 in complete_line_internal (text=0x1edd744 "aut", line_buffer=0x1edd739 "set cp-abi aut", point=14, reason=handle_completions) at completer.c:749
#4  0x00000000007419fc in complete_line (text=0x1edd744 "aut", line_buffer=0x1edd739 "set cp-abi aut", point=14) at completer.c:771
#5  0x00000000006319e0 in complete_command (arg=0x1edd739 "set cp-abi aut", from_tty=1) at ./cli/cli-cmds.c:274
#6  0x000000000062b446 in do_cfunc (c=0x2145c50, args=0x1edd739 "set cp-abi aut", from_tty=1) at ./cli/cli-decode.c:113
#7  0x000000000062e582 in cmd_func (cmd=0x2145c50, args=0x1edd739 "set cp-abi aut", from_tty=1) at ./cli/cli-decode.c:1861
#8  0x00000000008365a5 in execute_command (p=0x1edd739 "set cp-abi aut", from_tty=1) at top.c:484


Jan


On Thu, 17 Jan 2013 17:25:35 +0100, Tom Tromey wrote:
> >>>>> "Tom" == Tom Tromey <tromey@redhat.com> writes:
> 
> Tom> This patch adds a completion function for "set cp-abi".
> Tom> Built and regtested on x86-64 Fedora 16.
> 
> Tom> 	* cp-abi.c (cp_abi_completer): New function.
> Tom> 	(_initialize_cp_abi): Set completer for "set cp-abi".
> 
> Tom> 	* gdb.base/completion.exp: Add "set cp-abi" completion test.
> 
> I am checking this in now.
> 
> Tom


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