Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Joel Brobecker <brobecker@adacore.com>
To: gdb-patches@sourceware.org
Subject: Re: [RFC/ia64-linux] pb with shared libraries when attaching to process
Date: Wed, 07 May 2008 10:12:00 -0000	[thread overview]
Message-ID: <20080506200338.GA3702@adacore.com> (raw)
In-Reply-To: <20080502144053.GJ29202@caradoc.them.org>

> On Fri, Apr 25, 2008 at 10:59:52AM -0700, Joel Brobecker wrote:
> > Eric Botcazou suggested that an address pointing to the .data section
> > should never be some code because the .data section is not executable;
> > So we could simply check the flags of our section, and if it doesn't
> > have the CODE flag set, then assume it's a function descriptor.
> 
> I can imagine this breaking but it would require use of mprotect.
> Your patch looks good to me.

Thanks. I just checked the patch in.

-- 
Joel


      reply	other threads:[~2008-05-06 20:04 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-25  2:06 Joel Brobecker
2008-04-25  2:36 ` Daniel Jacobowitz
2008-04-25 14:26   ` Joel Brobecker
2008-04-25 16:15     ` Daniel Jacobowitz
2008-04-25 19:00       ` Joel Brobecker
2008-05-02 15:01         ` Daniel Jacobowitz
2008-05-07 10:12           ` Joel Brobecker [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=20080506200338.GA3702@adacore.com \
    --to=brobecker@adacore.com \
    --cc=gdb-patches@sourceware.org \
    /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