Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: "Ulrich Weigand" <uweigand@de.ibm.com>
To: deuling@de.ibm.com (Markus Deuling)
Cc: brobecker@adacore.com (Joel Brobecker),
	        gdb-patches@sourceware.org (GDB Patches),
	        drow@false.org (Daniel Jacobowitz),
	kevinb@redhat.com (Kevin Buettner),
	        eliz@gnu.org
Subject: Re: [PING 2] [rfc]: Framework for looking up multiply defined global           symbols  in shared libraries
Date: Tue, 03 Jul 2007 12:17:00 -0000	[thread overview]
Message-ID: <200707031217.l63CHJQg002934@d12av02.megacenter.de.ibm.com> (raw)
In-Reply-To: <4689CA65.6040908@de.ibm.com> from "Markus Deuling" at Jul 03, 2007 06:02:45 AM

Markus Deuling wrote:

> 	* cp-namespace.c (lookup_symbol_file): Add block to
> 	lookup_symbol_global call.
> 	* Makefile.in (solist_h): Add dependency on symtab header.
> 	(symtab.o): Add dependency on solist header.
> 	* solib.c (solib_global_lookup): New function.
> 	* solib-svr4.c (scan_dyntag): Likewise.
> 	(elf_locate_base): Call helper routine scan_dyntag.
> 	(elf_lookup_lib_symbol): New function.
> 	(_initialize_svr4_solib): Add elf_lookup_lib_symbol to svr4_so_ops.
> 	* solist.h (symtab.h): New include.
> 	(lookup_lib_global_symbol): New prototype.

I guess this should read:
	(struct target_so_ops): New member lookup_lib_global_symbol.

> 	(solib_global_lookup): Likewise.
> 	* symtab.c: New include solist.h.
> 	(lookup_objfile_from_block): New function.
> 	(lookup_global_symbol_from_objfile): New function.
> 	(basic_lookup_symbol_nonlocal): Add block to lookup_symbol_global call.
> 	(lookup_symbol_global): Call library-specific lookup procedure.
> 	* symtab.h (lookup_global_symbol_from_objfile): New prototype.

> 	* gdb.base/libmd.c: New file (testcase multiple symbol lookup).
> 	* gdb.base/libmd.h: Likewise.
> 	* gdb.base/solib_symbol.c: Likewise.
> 	* gdb.base/solib_symbol.exp: Likewise.

And those file names have changed in the latest version:
	* gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
	* gdb.base/solib-symbol-lib.c: Likewise.
	* gdb.base/solib-symbol-main.c: Likewise.

I've committed the patch with the above ChangeLog changes now.

Thanks,
Ulrich

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


  reply	other threads:[~2007-07-03 12:17 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-10 12:33 [PING] " Markus Deuling
2007-05-10 13:00 ` Daniel Jacobowitz
2007-05-10 14:52   ` Markus Deuling
2007-05-14 17:53     ` Daniel Jacobowitz
2007-05-14 18:25 ` Daniel Jacobowitz
2007-05-15  5:49   ` Markus Deuling
2007-05-18  4:13     ` Markus Deuling
2007-05-31 21:40       ` Ulrich Weigand
2007-06-05  3:46         ` Markus Deuling
2007-06-20  6:58           ` [PING 2] " Markus Deuling
2007-06-26 18:31             ` Joel Brobecker
2007-06-26 18:35             ` Joel Brobecker
2007-06-26 20:34               ` Markus Deuling
2007-06-28 15:32                 ` Ulrich Weigand
2007-06-28 15:33                   ` Joel Brobecker
2007-06-28 18:20                   ` Markus Deuling
2007-06-29 17:03                     ` Eli Zaretskii
2007-07-02 18:24                     ` Ulrich Weigand
2007-07-03  4:04                       ` Markus Deuling
2007-07-03 12:17                         ` Ulrich Weigand [this message]
2007-07-03 12:28                           ` Daniel Jacobowitz
2007-07-04  3:50                           ` Markus Deuling
2007-06-29 17:15                   ` Eli Zaretskii
2007-06-25 21:48           ` [PING] " Kevin Buettner

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=200707031217.l63CHJQg002934@d12av02.megacenter.de.ibm.com \
    --to=uweigand@de.ibm.com \
    --cc=brobecker@adacore.com \
    --cc=deuling@de.ibm.com \
    --cc=drow@false.org \
    --cc=eliz@gnu.org \
    --cc=gdb-patches@sourceware.org \
    --cc=kevinb@redhat.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