This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [patch] update gdb.base/shreloc.exp to use new shared library infrastructure
- From: Daniel Jacobowitz <drow at false dot org>
- To: Paul Gilliam <pgilliam at us dot ibm dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Thu, 14 Apr 2005 15:23:09 -0400
- Subject: Re: [patch] update gdb.base/shreloc.exp to use new shared library infrastructure
- References: <200504131013.36814.pgilliam@us.ibm.com>
On Wed, Apr 13, 2005 at 09:13:36AM -0800, Paul Gilliam wrote:
> This patch updates gdb.base/shreloc.exp to use the new shared library infrastructure in
> lib/gdb.exp. All the stuff that has been cut from shlib-call.exp is now part of 'gdb-compile'
> or 'gdb-compile-shlib' (new) in lib/gdb.exp.
>
> This patch depends on the shared infrastructure patch:
> http://sources.redhat.com/ml/gdb-patches/2005-04/msg00096.html
Waitasec...
> ! set additional_flags "additional_flags=-shared"
> !
> ! if {([istarget "*pc-cygwin"] || [istarget "*pc-mingw32"]) } {
> ! set additional_flags "${additional_flags} -Wl,--image-base,0x04000000"
> }
The common bits don't have support for cygwin/mingw32 DLLs. So just
removing this isn't right.
> ! set lib_opts [list debug additional_flags=-qstatsym additional_flags=-qdbxextra]
Remind me what this option means?
--
Daniel Jacobowitz
CodeSourcery, LLC