From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13184 invoked by alias); 21 Jul 2009 09:20:11 -0000 Received: (qmail 13174 invoked by uid 22791); 21 Jul 2009 09:20:09 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 21 Jul 2009 09:20:03 +0000 Received: (qmail 18544 invoked from network); 21 Jul 2009 09:20:01 -0000 Received: from unknown (HELO orlando.local) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 21 Jul 2009 09:20:01 -0000 From: Pedro Alves To: gdb@sourceware.org Subject: Re: Segfault in user command Date: Tue, 21 Jul 2009 09:20:00 -0000 User-Agent: KMail/1.9.10 Cc: "Marc Khouzam" References: <6D19CA8D71C89C43A057926FE0D4ADAA07BFFFFB@ecamlmw720.eamcs.ericsson.se> In-Reply-To: <6D19CA8D71C89C43A057926FE0D4ADAA07BFFFFB@ecamlmw720.eamcs.ericsson.se> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200907211019.51053.pedro@codesourcery.com> X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2009-07/txt/msg00156.txt.bz2 On Tuesday 21 July 2009 03:08:53, Marc Khouzam wrote: > Hi, > > I was trying to use 'interpreter-exec mi' inside a user-defined command, > and GDB segfaulted (session below). It is today's version of GDB. > I had seen this in passing many moons ago, but today I told myself I > really should report it. Should I open a bugzilla about it? If it isn't reported yet, sure. It sounds suspiciously similar to PR10347 though. http://sourceware.org/bugzilla/show_bug.cgi?id=10347 A backtrace on both test cases should confirm it. (It's always nice to paste gdb backtraces on crash PRs). -- Pedro Alves