Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Jan Kratochvil <jan.kratochvil@redhat.com>
To: Tom Tromey <tromey@redhat.com>
Cc: gdb-patches@sourceware.org
Subject: Regression for gdb.base/completion.exp  [Re: RFC: completion for "set cp-abi"]
Date: Thu, 17 Jan 2013 20:03:00 -0000	[thread overview]
Message-ID: <20130117200311.GA14050@host2.jankratochvil.net> (raw)
In-Reply-To: <87pq13dbeo.fsf@fleche.redhat.com>

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


  reply	other threads:[~2013-01-17 20:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-08 16:42 RFC: completion for "set cp-abi" Tom Tromey
2013-01-17 16:25 ` Tom Tromey
2013-01-17 20:03   ` Jan Kratochvil [this message]
2013-01-17 20:23     ` Regression for gdb.base/completion.exp [Re: RFC: completion for "set cp-abi"] Tom Tromey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130117200311.GA14050@host2.jankratochvil.net \
    --to=jan.kratochvil@redhat.com \
    --cc=gdb-patches@sourceware.org \
    --cc=tromey@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox