Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Jan Kratochvil <jan.kratochvil@redhat.com>
To: John Gilmore <gnu@toad.com>
Cc: gdb@sourceware.org, Martin Langhoff <martin.langhoff@gmail.com>
Subject: Re: Reading dynamic symbols from Linux core files?
Date: Fri, 16 Mar 2012 18:48:00 -0000	[thread overview]
Message-ID: <20120316184831.GA32437@host2.jankratochvil.net> (raw)
In-Reply-To: <201203161838.q2GIceWD010681@new.toad.com>

On Fri, 16 Mar 2012 19:38:40 +0100, John Gilmore wrote:
> Martin and Jan Kratochvil are currently chasing a problem with finding
> and getting "debug symbol" packages in Fedora 14

There may be some prelink related problem but I have no more ideas:
	http://lists.fedoraproject.org/pipermail/devel/2012-March/164047.html


> I'm not sure exactly where in the code it should be trying to find the
> dynamic symbol table from the core file and extracting the symbols from it.

gdb/symfile-mem.c
bfd/elfcode.h NAME(_bfd_elf,bfd_from_remote_memory)

The problem usually was - at least in some Fedoras + RHELs - that vDSO has
overgrown 4KB.  The loadable segment remained in the first 4KB part but
debugging symbols spanned more pages which led to bfd_from_remote_memory
cutting off the debug symbols.  Recent Fedora patch for it is:
	http://pkgs.fedoraproject.org/gitweb/?p=gdb.git;a=blob_plain;f=gdb-6.6-bfd-vdso8k.patch;hb=master


Regards,
Jan


  reply	other threads:[~2012-03-16 18:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-16 18:39 John Gilmore
2012-03-16 18:48 ` Jan Kratochvil [this message]
2012-03-16 19:57   ` Martin Langhoff

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=20120316184831.GA32437@host2.jankratochvil.net \
    --to=jan.kratochvil@redhat.com \
    --cc=gdb@sourceware.org \
    --cc=gnu@toad.com \
    --cc=martin.langhoff@gmail.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