Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Christopher Faylor <cgf@redhat.com>
To: gdb-patches@sources.redhat.com
Subject: Re: Simple but crucial bug fix to gdb
Date: Thu, 31 May 2001 16:46:00 -0000	[thread overview]
Message-ID: <20010531194656.A27403@redhat.com> (raw)
In-Reply-To: <npelt5me4f.fsf@zwingli.cygnus.com>

On Thu, May 31, 2001 at 03:56:32PM -0500, Jim Blandy wrote:
>
>Fernando Nasser <fnasser@redhat.com> writes:
>> Irrelevant to the fact that his compiler may not be doing the right
>> thing, GDB should not be dumping core.
>
>That's absolutely true.
>
>> I sincerely expect that you provide us with the "more correct" fix asap.
>
>Please, don't be upset.  I can't provide a more correct fix without
>understanding the user's situation more.  I asked him a question in a
>message before the one I sent you, and I'm waiting to see what he
>says.
>
>Each partial symbol table object has an address range, textlow and
>texthigh, which is supposed to enclose all the functions it covers.
>If that address range is not set correctly, then GDB may not be able
>to find the full symbols for a given text address.
>
>The user has a stabs file which manages to get textlow_not_set cleared
>(indicating that pst->textlow has been set), while pst is zero.  This
>is very curious --- if the pst is zero, which textlow was it that got
>set?
>
>There's something very odd (or, as Daniel would have me say, even
>odder than usual) going on here.  Rather than slap a test for null
>over the problem and have it disappear, I want to try to understand
>what's going on.
>
>If you've got scurvy, you want limes, not spare teeth.

Is there some reason why you are not responding to the part of the
analysis which points to pst being guarded against NULL earlier in the
file?  Why is it ok to do this at one point and not ok a few lines
later?  Does SOFUN_ADDRESS_MAYBE_MISSING have some bearing on this
or is the existing code actually broken?

cgf


  parent reply	other threads:[~2001-05-31 16:46 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-30 14:27 Charlie Mills
2001-05-30 14:36 ` Christopher Faylor
2001-05-30 15:16   ` Fernando Nasser
2001-05-30 20:18     ` Jim Blandy
2001-05-30 20:25       ` Christopher Faylor
2001-05-31  5:30       ` Fernando Nasser
2001-05-31 13:55         ` Jim Blandy
2001-05-31 14:43           ` Fernando Nasser
2001-05-31 16:46           ` Christopher Faylor [this message]
2001-05-31 17:40             ` Daniel Berlin
2001-05-31 20:00               ` Frank Ch. Eigler
2001-06-01  9:41                 ` Fernando Nasser
2001-06-01 10:01                 ` Michael Snyder
2001-06-01 11:14                   ` Daniel Berlin
2001-06-01 11:25                     ` Fernando Nasser
2001-06-01 14:05                       ` Charlie Mills
2001-06-06  6:01                 ` Andrew Cagney
2001-05-30 20:00   ` Christopher Faylor
2001-05-30 20:43     ` Christopher Faylor
2001-05-30 20:12 ` Jim Blandy
2001-05-30 21:23   ` Daniel Berlin
2001-06-01 13:35 ` Jim Blandy
2001-06-01 13:41   ` Fernando Nasser
2001-06-01 14:07   ` Daniel Berlin
2001-06-01 14:15     ` Jim Blandy
2001-06-01 14:17     ` Jim Blandy

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=20010531194656.A27403@redhat.com \
    --to=cgf@redhat.com \
    --cc=gdb-patches@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