From: Daniel Jacobowitz <drow@false.org>
To: Mark Kettenis <mark.kettenis@xs4all.nl>
Cc: gdb-patches@sourceware.org
Subject: Re: [rft/symtab] Check the sizes of minimal symbols
Date: Tue, 11 Jul 2006 22:48:00 -0000 [thread overview]
Message-ID: <20060711224806.GA1686@nevyn.them.org> (raw)
In-Reply-To: <200607112200.k6BM0nQT004757@elgar.sibelius.xs4all.nl>
On Wed, Jul 12, 2006 at 12:00:49AM +0200, Mark Kettenis wrote:
> > Date: Sun, 9 Jul 2006 16:35:57 -0400
> > From: Daniel Jacobowitz <drow@false.org>
> >
> > > Program received signal SIGSEGV, Segmentation fault.
> > > 0x1c0066a8 in lookup_minimal_symbol_by_pc_section (pc=469800299,
> > > section=0x800e95fc) at ../../../src/gdb/gdb/minsyms.c:535
> > > 535 if (MSYMBOL_SIZE (&msymbol[hi]) != 0
> >
> > I'm just guessing here but... is hi == -1 when that happens? Does
> > adding "hi >= 0 &&" to the front of that if statement help?
>
> Yes it does. No regressions on OpenBSD/i386. I'll try some of the
> other architectures as well later this week. Any in particular that
> you'd like to see tested?
Nothing jumps out at me; the things that seem likely to be a problem
are e.g. hppa/ia64/ppc64.
--
Daniel Jacobowitz
CodeSourcery
next prev parent reply other threads:[~2006-07-11 22:48 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-07 3:54 Daniel Jacobowitz
2006-07-09 20:26 ` Mark Kettenis
2006-07-09 20:36 ` Daniel Jacobowitz
2006-07-11 22:01 ` Mark Kettenis
2006-07-11 22:48 ` Daniel Jacobowitz [this message]
2006-07-13 23:24 ` Mark Kettenis
2006-07-19 2:17 ` Daniel Jacobowitz
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=20060711224806.GA1686@nevyn.them.org \
--to=drow@false.org \
--cc=gdb-patches@sourceware.org \
--cc=mark.kettenis@xs4all.nl \
/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