Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: "Maciej W. Rozycki" <macro@codesourcery.com>
To: Joel Brobecker <brobecker@adacore.com>
Cc: <gdb-patches@sourceware.org>
Subject: Re: [RFA/commit] procfs.c: Remove unused functions and make many functions static
Date: Thu, 17 May 2012 19:26:00 -0000	[thread overview]
Message-ID: <alpine.DEB.1.10.1205172019470.11227@tp.orcam.me.uk> (raw)
In-Reply-To: <20120517173453.GF10253@adacore.com>

On Thu, 17 May 2012, Joel Brobecker wrote:

> Maciej asked:
> > Hmm, here's a dumb question as a followup, following a situation I've
> > just experienced -- can this stuff be needed by anything external on
> > Solaris, similarly to some functions pulled from GDB by libthread_db.so.1
> > from glibc?
> 
> Sorry for the delay in answering this. I just couldn't find the time
> to look at it.

 No worries, understood, I do pipeline stuff too and put aside less 
important bits when I have to.

> I think we will be fine. Usually, implicit callbacks have a specific
> name that ties them to the external shared library that needs those
> callbacks, and the fact that the name of the functions being deleted
> start with the same prefix as the others is a little indicative that
> the odds of them being an implicit callback are small.  Regardless,
> I did a little bit of research, and found that, AFAICT, this file
> is only used on sparc/x86/amd64-solaris, mips-irix¬ and alpha-tru64.
> I looked at the extra source files needed by these platforms, and
> none of them indicated that we would open a shared library that might
> call one of these functions. Just for kicks, I tested the patch on
> sparc-solaris using AdaCore's testsuite.

 Thanks for doing this extra work; actually I hoped we had someone onboard 
with enough experience with this stuff to know the answer offhand.  I 
didn't intend to put you on this long route, sorry about that.

  Maciej


  reply	other threads:[~2012-05-17 19:26 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-02 23:15 Joel Brobecker
2012-05-04  9:10 ` Maciej W. Rozycki
2012-05-04 12:35   ` Joel Brobecker
2012-05-04 22:49     ` Maciej W. Rozycki
2012-05-07  8:24       ` Maciej W. Rozycki
2012-05-17 17:35 ` Joel Brobecker
2012-05-17 19:26   ` Maciej W. Rozycki [this message]
2012-05-17 20:43     ` Joel Brobecker

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=alpine.DEB.1.10.1205172019470.11227@tp.orcam.me.uk \
    --to=macro@codesourcery.com \
    --cc=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