From: Daniel Jacobowitz <drow@mvista.com>
To: fnf@redhat.com
Cc: gdb-patches@sources.redhat.com
Subject: Re: [RFC] Gdb line table implementation tweak
Date: Wed, 13 Feb 2002 07:10:00 -0000 [thread overview]
Message-ID: <20020213101020.A32194@nevyn.them.org> (raw)
In-Reply-To: <200202130028.g1D0StM11730@fred.ninemoons.com>
On Tue, Feb 12, 2002 at 05:28:55PM -0700, Fred Fish wrote:
> The implementation of gdb's line number table can cause gdb to give
> misleading results when some parts of a program are compiled with
> debugging enabled and other parts are not. Here is an example:
I like this patch; I like it a lot. It fixes a problem I've described
on the lists several times now involving libstdc++. I'm not sure it
will fix all my problems, given that texthigh/textlow for the psymtabs
are still used in various places and will be incorrect; but it should
be purely an improvement.
This should fix the problem we were attempting to solve in:
2001-11-13 Jim Blandy <jimb@redhat.com>
...
Patch from Peter Schauer:
* symtab.c (find_pc_sect_line): If we can't find the function
containing PC, we certainly won't have line number information for
that location, so return zero immediately.
Which had to be reverted for breaking assembly language debugging.
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer
next prev parent reply other threads:[~2002-02-13 15:10 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-02-12 16:28 Fred Fish
2002-02-13 7:10 ` Daniel Jacobowitz [this message]
2002-02-21 12:50 ` Jim Blandy
2002-02-23 13:37 ` Mark Kettenis
2002-02-27 13:43 ` Jim Blandy
2002-02-27 15:24 ` Fred Fish
2002-03-16 22:51 ` [RFA/stabs] Fix for line table problems (was: Re: [RFC] Gdb line table implementation tweak) Daniel Jacobowitz
2002-03-18 13:44 ` Daniel Jacobowitz
2002-03-20 12:30 ` Andrew Cagney
2002-03-21 10:00 ` Jim Blandy
2002-03-21 11:03 ` Jim Blandy
2002-03-21 12:56 ` Andrew Cagney
2002-03-25 14:37 ` Jim Blandy
2002-03-21 12:57 ` Daniel Jacobowitz
2002-03-21 15:28 ` Andrew Cagney
2002-02-23 13:52 [RFC] Gdb line table implementation tweak Michael Elizabeth Chastain
2002-02-27 16:45 Michael Elizabeth Chastain
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=20020213101020.A32194@nevyn.them.org \
--to=drow@mvista.com \
--cc=fnf@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