Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: "Marc Khouzam" <marc.khouzam@ericsson.com>
To: <gdb@sourceware.org>
Subject: Segfault in user command
Date: Tue, 21 Jul 2009 02:09:00 -0000	[thread overview]
Message-ID: <6D19CA8D71C89C43A057926FE0D4ADAA07BFFFFB@ecamlmw720.eamcs.ericsson.se> (raw)

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?

Thanks

Marc


GNU gdb (GDB) 6.8.50.20090720-cvs
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show
copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
(gdb) define minext
Type commands for definition of "minext".
End with a line saying just "end".
>interpreter-exec mi -exec-next
>end
(gdb) start
Temporary breakpoint 1 at 0x80484ce: file c.cc, line 9.
Starting program: /home/marc/testing/a.out 

Temporary breakpoint 1, main () at c.cc:9
9       int a = 1;
(gdb) minext
Segmentation fault


             reply	other threads:[~2009-07-21  2:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-21  2:09 Marc Khouzam [this message]
2009-07-21  5:43 ` Paul Pluzhnikov
2009-07-21  9:20 ` Pedro Alves
2009-07-22 17:11   ` Marc Khouzam

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=6D19CA8D71C89C43A057926FE0D4ADAA07BFFFFB@ecamlmw720.eamcs.ericsson.se \
    --to=marc.khouzam@ericsson.com \
    --cc=gdb@sourceware.org \
    /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