This is the mail archive of the
mailing list for the GDB project.
Re: Differentiating symbols in multiple copies of shared libraries
- From: Tom Tromey <tromey at redhat dot com>
- To: Avi Gozlan <avi at checkpoint dot com>
- Cc: "'gdb\ at sourceware dot org'" <gdb at sourceware dot org>, Matan Ben Gur <matanbg at checkpoint dot com>
- Date: Thu, 27 Jan 2011 13:52:03 -0700
- Subject: Re: Differentiating symbols in multiple copies of shared libraries
- References: <9C4E85B61203CD419BB3A638E5F6833301A37EBFB20B@il-ex01.ad.checkpoint.com> <email@example.com> <9C4E85B61203CD419BB3A638E5F6833301A393C916FA@il-ex01.ad.checkpoint.com>
>>>>> "Avi" == Avi Gozlan <firstname.lastname@example.org> writes:
Avi> A developer in our organization added some code to allow
Avi> differentiation between symbols with the same name in different
Avi> object files. This feature is enabled once a GDB variable called
Avi> symlib is set.
Avi> Presumably this addition is not written according to GNU policy or
Avi> GDB conventions, yet this feature is important as discussed below.
Avi> Could you recommend on a procedure for promoting this required
Avi> feature (or anyway merge the source code to GDB)? Is there any
Avi> contact for working with for forwarding the implementation
Avi> (currently diff in 4 files: minsym.c, stack.c, symtab.h, symtab.c)?
I think the best thing to do is to follow the usual patch submission
rules: do your best to make it conform to GNU style guidelines, write a
ChangeLog entry, etc, then send it to the gdb-patches list.
Since it sounds like a big(-ish) patch, I will get you started on the
copyright assignment paperwork. I'll send a note off-list about this.
I would warn you to expect some push-back on the details of your
approach. If you want to work out the user interface details before
submitting, that would be fine too -- just post your plan to this list.