Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Jim Ingham <jingham@apple.com>
To: Srinath Avadhanula <srinathava@gmail.com>
Cc: gdb@sourceware.org
Subject: Re: How to load only selected libraries?
Date: Sat, 26 Jan 2008 23:52:00 -0000	[thread overview]
Message-ID: <6537BA63-0B22-4984-85EA-3B1B341EE848@apple.com> (raw)
In-Reply-To: <ed97310c0801260652x525c9a6ag241bc39dfebcf4f6@mail.gmail.com>

For historical reasons the Apple shared library handling code doesn't  
share the mechanisms that Linux/etc. use.  So the majority of the code  
would have to be ported over from the macosx/*dyld* code, where it  
lives in our gdb, to the solib code in FSF gdb.  I don't have any  
experience with the Linux solib code in gdb, so I'm not likely to  
tackle this.

I was offering this more as an interesting design point.

Jim


On Jan 26, 2008, at 6:52 AM, Srinath Avadhanula wrote:

> Hi Jim,
>
> On Jan 21, 2008 1:55 PM, Jim Ingham <jingham@apple.com> wrote:
>> We did this at Apple a while back.  We have a command "set
>> sharedlibrary load-rules" that works like:
>>
> [snip interesting explanation of this feature]
>
> This sounds incredibly useful. Any idea if this will be incorporated
> back into gdb itself?
>
> Thanks,
> Srinath


      reply	other threads:[~2008-01-26 23:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-20 22:37 Srinath Avadhanula
2008-01-21  3:16 ` Daniel Jacobowitz
2008-01-21 18:56   ` Jim Ingham
2008-01-26 14:53     ` Srinath Avadhanula
2008-01-26 23:52       ` Jim Ingham [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=6537BA63-0B22-4984-85EA-3B1B341EE848@apple.com \
    --to=jingham@apple.com \
    --cc=gdb@sourceware.org \
    --cc=srinathava@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