Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Joel Brobecker <brobecker@adacore.com>
To: Ulrich Weigand <uweigand@de.ibm.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [rfc] Use auxillary vector to retrieve .dynamic/.interp sections
Date: Mon, 18 Aug 2008 11:41:00 -0000	[thread overview]
Message-ID: <20080818114050.GG16894@adacore.com> (raw)
In-Reply-To: <200808131955.m7DJtEgo010454@d12av02.megacenter.de.ibm.com>

> ChangeLog:
> 
> 	* solib-svr4.c (read_program_header): New function.
> 	(scan_dyntag_auxv): New function.
> 	(elf_locate_base): Use it if scan_dyntag fails.
> 	(find_program_interpreter): New function.
> 	(enable_break): Use it instead of .interp section.
[...]
> Does this seem useful / reasonble for mainline?

I only loosely reviewed the patch itself, but the idea seems reasonable
to me, particularly since it only tries the auxv iff the traditional
method didn't work.

-- 
Joel


  reply	other threads:[~2008-08-18 11:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-13 19:56 Ulrich Weigand
2008-08-18 11:41 ` Joel Brobecker [this message]
2008-08-26 17:40 ` Ulrich Weigand

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=20080818114050.GG16894@adacore.com \
    --to=brobecker@adacore.com \
    --cc=gdb-patches@sourceware.org \
    --cc=uweigand@de.ibm.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