Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: "Ulrich Weigand" <uweigand@de.ibm.com>
To: gingold@adacore.com (Tristan Gingold)
Cc: gdb-patches@sourceware.org
Subject: Re: [rfc] Allow platform-specific override for solib_bfd_open (Re: [RFC] solib for darwin)
Date: Thu, 15 Jan 2009 16:37:00 -0000	[thread overview]
Message-ID: <200901151636.n0FGaMUi026266@d12av02.megacenter.de.ibm.com> (raw)
In-Reply-To: <200812171945.mBHJj3Cc020594@d12av02.megacenter.de.ibm.com> from "Ulrich Weigand" at Dec 17, 2008 08:45:03 PM


> 	* solist.h (struct target_so_ops): New member bfd_open.
> 	(solib_find): Add prototype.
> 	(solib_bfd_fopen): Add prototype.
> 	* solib.c (solib_find, solib_bfd_fopen): New functions, extracted
> 	from solib_bfd_open.
> 	(solib_bfd_open): Use ops->bfd_open override if present.  Call
> 	solib_find and solib_bfd_open otherwise.
> 
> 	* objfiles.h (OBJF_KEEPBFD): New define.
> 	* objfiles.c (free_objfile): Do not close BFD if OBJF_KEEPBFD
> 	objfile flag is set.
> 	* solib.c (symbol_add_stub): Do not allocate second BFD for
> 	shared library; use OBJF_KEEPBFD flag on solib objfile.

I've checked this in now.

Bye,
Ulrich

-- 
  Dr. Ulrich Weigand
  GNU Toolchain for Linux on System z and Cell BE
  Ulrich.Weigand@de.ibm.com


  reply	other threads:[~2009-01-15 16:37 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-03 12:55 [RFC] solib for darwin Tristan Gingold
2008-12-04 15:39 ` Ulrich Weigand
2008-12-04 16:01   ` Tristan Gingold
2008-12-11 13:12   ` Tristan Gingold
2008-12-14 17:40     ` Ulrich Weigand
2008-12-15 13:22       ` Tristan Gingold
2008-12-17 19:46         ` [rfc] Allow platform-specific override for solib_bfd_open (Re: [RFC] solib for darwin) Ulrich Weigand
2009-01-15 16:37           ` Ulrich Weigand [this message]
2009-01-15 16:53             ` Tristan Gingold

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=200901151636.n0FGaMUi026266@d12av02.megacenter.de.ibm.com \
    --to=uweigand@de.ibm.com \
    --cc=gdb-patches@sourceware.org \
    --cc=gingold@adacore.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