From: Jeroen Dekkers <jeroen@vrijschrift.org>
To: Jim Blandy <jimb@redhat.com>
Cc: gdb-gnats@sources.redhat.com, alvaro@alobbs.com,
gdb-patches@sources.redhat.com
Subject: Re: gdb/2009: Segmentation faults on AMD64
Date: Sun, 16 Oct 2005 21:23:00 -0000 [thread overview]
Message-ID: <87oe5pkvig.wl%jeroen@vrijschrift.org> (raw)
In-Reply-To: <vt21x2l6y1b.fsf@theseus.home.>
At Sun, 16 Oct 2005 12:51:12 -0700,
Jim Blandy wrote:
>
>
> Jeroen Dekkers <jeroen@dekkers.cx> writes:
> > I debugged this segfault and it is caused by incorrect debug
> > information generated by GCC on AMD64, see http://gcc.gnu.org/PR24400.
> > The problem is that the filenumbers in the .debug_macinfo arex
> > wrong. They jump from 0xf to 0x11, skipping 0x10, so the last filename
> > has a number which isn't in the filename table.
> >
> > GDB blindly uses the number as index into the filename table,
> > resulting in a segfault. The following patch adds a check whether the
> > index isn't bigger than the size of the table.
>
> Please try this patch:
>
> http://sourceware.org/ml/gdb-patches/2005-09/msg00236.html
It works fine here. Thanks!
Jeroen Dekkers
prev parent reply other threads:[~2005-10-16 21:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-16 12:59 Jeroen Dekkers
[not found] ` <vt21x2l6y1b.fsf@theseus.home.>
2005-10-16 21:23 ` Jeroen Dekkers [this message]
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=87oe5pkvig.wl%jeroen@vrijschrift.org \
--to=jeroen@vrijschrift.org \
--cc=alvaro@alobbs.com \
--cc=gdb-gnats@sources.redhat.com \
--cc=gdb-patches@sources.redhat.com \
--cc=jimb@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