public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: Joel Brobecker <brobecker@gnat.com>
To: Edward Peschko <esp5@pge.com>
Cc: gdb@sources.redhat.com
Subject: Re: debugger 6.2.1 misfeatures
Date: Sat, 11 Sep 2004 16:26:00 -0000	[thread overview]
Message-ID: <20040911162642.GS5843@gnat.com> (raw)
In-Reply-To: <20040910235746.GA11043@mdssdev05>

> For some reason, gdb-6.2.1 isn't reading symbols when it attaches to
> processes..  gdb-5.3 has no problem doing this. (installed on sun
> solaris 2.8)
> 
> Is this an oversight - or a potential bug? If a bug, what diagnostic
> input do people need in order to track it down?

This is pretty easy to reproduce. I took a program that was looping
for ever, and attached to it. The symbols where indeed not loaded.
For instance, take attach.c from attach.exp, launch it, then use
GDB to attach to it, and you'll see the problem.

Interestingly, this seems to be solaris-specific, as the problem
doesn't appear on x86-linux for instance.

This shouldn't be very hard to fix. I'd rather continuing my work
on the mips-irix port, but if nobody has taken ownership of this
problem by tonight, I'll have a quick look.

-- 
Joel

  parent reply	other threads:[~2004-09-11 16:26 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-11  0:05 Edward Peschko
2004-09-11  1:46 ` Michael Chastain
2004-09-11  9:59   ` Monika Chaddha
2004-09-11 15:52     ` Michael Chastain
2004-09-13  7:01       ` Monika Chaddha
2004-09-11 16:26 ` Joel Brobecker [this message]
2004-09-15  6:37   ` Joel Brobecker

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=20040911162642.GS5843@gnat.com \
    --to=brobecker@gnat.com \
    --cc=esp5@pge.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).