This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
RE: gdb/2336: gdb 6.7 release unable to load elf symbol tables onsolaris
- From: "Larry McGhaw" <lmcghaw at connx dot com>
- To: nobody at sources dot redhat dot com
- Cc: gdb-prs at sources dot redhat dot com,
- Date: 11 Oct 2007 21:58:01 -0000
- Subject: RE: gdb/2336: gdb 6.7 release unable to load elf symbol tables onsolaris
- Reply-to: "Larry McGhaw" <lmcghaw at connx dot com>
The following reply was made to PR gdb/2336; it has been noted by GNATS.
From: "Larry McGhaw" <lmcghaw@connx.com>
To: "Daniel Jacobowitz" <drow@false.org>
Cc: <gdb-gnats@sources.redhat.com>
Subject: RE: gdb/2336: gdb 6.7 release unable to load elf symbol tables onsolaris
Date: Thu, 11 Oct 2007 14:49:10 -0700
Hello,
I don't think I explained the issue properly.
elfread.c does get compiled and linked into gdb.exe .. The problem is
that the makefile in the GDB directory
dynamically builds init.c by scanning a list of source files searching
for tokens.
Elfread is missing from the list when dynamically building init.c, but
it is present when building gdb.exe.
It took me a while to track this down but it looks like it should be an
easy problem to fix.
I have also attempted to build on solaris9, with the same results.
There are no reported errors during the build and no abnormal errors in
config.log
I can send you my config.log if that will help.
Thanks
lm=20
-----Original Message-----
From: Daniel Jacobowitz [mailto:drow@false.org]=20
Sent: Thursday, October 11, 2007 2:43 PM
To: Larry McGhaw
Cc: gdb-gnats@sources.redhat.com
Subject: Re: gdb/2336: gdb 6.7 release unable to load elf symbol tables
onsolaris
On Thu, Oct 11, 2007 at 09:35:04PM -0000, lmcghaw@connx.com wrote:
> The configure script and or make file needs to be fixed for solaris ..
> it is missing the Makefile in the gdb directory for linux looks like
this .. the elfread.obj is here and gets pulled in when init.c is built.
Please check why the configure script decided ELF support was missing.
There should be an error in gdb/config.log.
--
Daniel Jacobowitz
CodeSourcery