Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: Thiago Jung Bauermann <thiago.bauermann@gmail.com>
Cc: Paul Pluzhnikov <ppluzhnikov@google.com>,
	gdb@sourceware.org, 	Joel Brobecker <brobecker@adacore.com>
Subject: Re: [7.0] PR/9723: gdb breakpoints silently fail on PIE binaries
Date: Sat, 25 Jul 2009 02:26:00 -0000	[thread overview]
Message-ID: <20090725022613.GB16383@caradoc.them.org> (raw)
In-Reply-To: <200907242312.42358.thiago.bauermann@gmail.com>

On Fri, Jul 24, 2009 at 11:12:41PM -0300, Thiago Jung Bauermann wrote:
> Now I have this issue, I'd like to ask people's opinion about it: by design 
> (or defect?) the BFD library is a PITA to access the program header. I feel 
> very tempted to use elf32.h and elf64.h directly in order to check that field. 
> My only worry is that a cross-debugging session with a win32 gdb and a linux 
> remote target would not be possible, unless windows includes such sysv elf 
> headers too (perhaps it does?).

elfread.c:elf_symfile_segments.  It's not much of a pain really?

-- 
Daniel Jacobowitz
CodeSourcery


  reply	other threads:[~2009-07-25  2:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-20  1:55 Thiago Jung Bauermann
2009-07-20  4:13 ` Paul Pluzhnikov
2009-07-25  2:11   ` Thiago Jung Bauermann
2009-07-25  2:26     ` Daniel Jacobowitz [this message]
2009-07-25  9:56     ` Mark Kettenis

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=20090725022613.GB16383@caradoc.them.org \
    --to=drow@false.org \
    --cc=brobecker@adacore.com \
    --cc=gdb@sourceware.org \
    --cc=ppluzhnikov@google.com \
    --cc=thiago.bauermann@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