Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Jim Blandy <jimb@redhat.com>
To: Alexander Larsson <alexl@redhat.com>
Cc: gdb@sources.redhat.com
Subject: Re: Final separate debug info patch
Date: Mon, 25 Nov 2002 09:44:00 -0000	[thread overview]
Message-ID: <vt24ra5zhle.fsf@zenia.red-bean.com> (raw)
In-Reply-To: <Pine.LNX.4.44.0211250836090.10486-100000@devserv.devel.redhat.com>


Alexander Larsson <alexl@redhat.com> writes:
> On 24 Nov 2002, Jim Blandy wrote:
> > The patch as posted doesn't properly handle the case where the
> > executable file has changed since the last 'run' command, and GDB
> > needs to re-read the symbols.  It does get rid of the out-of-date
> > separated objfile, but it doesn't read in the new one.  You may have
> > said this in one of your earlier posts, but I'll guess now that the
> > omission was deliberate: this is kind of a pain to do.
> 
> Yes. That was more or less deliberate. My knowledge of gdb was reaching 
> its limits...

I don't blame you a bit.  It doesn't help that GDB has four data
structures which all look pretty much the same:
- struct section_offsets (used by debug readers to offset shlib syms)
- struct section_addr_info (holds user args to add-symbol-file, and dl info)
- struct section_table (in the target structure, for exec files and cores?)
- struct obj_section (for overlay management)

And the functions in symfile.c don't really break the problem down
very helpfully.

> Btw. You saw that uli fixed the strip problem you had, right?

No, that's good.  Where did he post about it?


      reply	other threads:[~2002-11-25 17:44 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-09  1:54 Alexander Larsson
2002-11-18 21:20 ` Jim Blandy
2002-11-18 21:32   ` Daniel Jacobowitz
2002-11-19  3:53     ` Jim Blandy
2002-11-18 23:47   ` Alexander Larsson
2002-11-19  3:38     ` Jim Blandy
2002-11-19  3:57       ` Alexander Larsson
2002-11-19 12:47         ` Alexander Larsson
2002-11-20 21:43           ` Jim Blandy
2002-11-20 23:35             ` Alexander Larsson
2002-11-19  5:00   ` Jim Blandy
2002-11-18 22:11 ` Jim Blandy
2002-11-18 23:51   ` Alexander Larsson
2002-11-19  0:02     ` Ulrich Drepper
2002-11-19  3:47       ` Jim Blandy
2002-11-19  3:53         ` Alexander Larsson
2002-11-19  4:38           ` Jim Blandy
2002-11-24 20:28 ` Jim Blandy
2002-11-25  5:37   ` Alexander Larsson
2002-11-25  9:44     ` Jim Blandy [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=vt24ra5zhle.fsf@zenia.red-bean.com \
    --to=jimb@redhat.com \
    --cc=alexl@redhat.com \
    --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