From: Randolph Chung <tausq@debian.org>
To: gdb@sources.redhat.com
Subject: Re: info symbol can crash GDB
Date: Wed, 01 Mar 2006 01:36:00 -0000 [thread overview]
Message-ID: <du2tp9$d34$1@sea.gmane.org> (raw)
In-Reply-To: <17412.57628.765837.278704@kahikatea.snap.net.nz>
Nick Roberts wrote:
> In some cases if the argument to info symbol isn't a number, it causes a
> segmentation fault:
>
> (gdb) inf sym 0x8049bb8.
> Segmentation fault (core dumped)
Which version of gdb is this?
With gdb-6.3 from Debian:
(gdb) inf sym 0x8049bb8.
Invalid number "0x8049bb8.".
(gdb) inf sym 0x8049bb8
No symbol matches 0x8049bb8.
With GNU gdb 6.4.50.20060224-cvs:
(gdb) inf sym 0x8049bb8.
Unexpected type encountered for floating constant.
(gdb) info sym 0x8049bb8
No symbol matches 0x8049bb8.
Can you provide a backtrace on the corefile generated?
randolph
next parent reply other threads:[~2006-03-01 1:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <17412.57628.765837.278704@kahikatea.snap.net.nz>
2006-03-01 1:36 ` Randolph Chung [this message]
2006-03-01 2:48 ` Nick Roberts
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='du2tp9$d34$1@sea.gmane.org' \
--to=tausq@debian.org \
--cc=gdb@sources.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).