This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA 4/4 take 2] Improved linker-debugger interface


Hi Jan,

Jan Kratochvil wrote:
> On Wed, 19 Sep 2012 17:06:22 +0200, Gary Benson wrote:
> > I also see "warning: Can not parse XML target description; XML
> > support was disabled at compile time", is that something to do
> > with it?  Is there some -devel package I'm missing?
> 
> Yes, on Fedora 'expat-devel'.
> 
> Please rpmbuild -bb --with testsuite gdb.spec
> or rpmbuild --rebuild --with testsuite gdb*.src.rpm
> to get all the pre-requisites.

I'm not having any luck with this.  I've installed all the
prerequisites except the 32-bit ones:

  libgnat(x86-32) is needed by gdb-7.3.50.20110722-16.x86_64
  glibc-devel(x86-32) is needed by gdb-7.3.50.20110722-16.x86_64
  libgcc(x86-32) is needed by gdb-7.3.50.20110722-16.x86_64
  libstdc++(x86-32) is needed by gdb-7.3.50.20110722-16.x86_64
  libgcj(x86-32) is needed by gdb-7.3.50.20110722-16.x86_64
  zlib-devel(x86-32) is needed by gdb-7.3.50.20110722-16.x86_64
  valgrind(x86-32) is needed by gdb-7.3.50.20110722-16.x86_64

I've also passed --with-expat to force the issue.  I'm not seeing the
XML warning any more, but the tests are still using the probes code
and not the code from linux-low.c.  I've attached a gdb.log (patched
with the attached patch) from running:

  make check RUNTESTFLAGS="--target_board=native-gdbserver gdb.base/break-probes.exp"

You can see from the dl_main in there that the probes code is in use.
Any idea what I'm doing wrong?

Thanks,
Gary

-- 
http://gbenson.net/

Attachment: patch
Description: Text document

Attachment: gdb.log
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]