Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Gary Benson <gbenson@redhat.com>
To: Jan Kratochvil <jan.kratochvil@redhat.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [RFA 4/4 take 2] Improved linker-debugger interface
Date: Wed, 19 Sep 2012 15:06:00 -0000	[thread overview]
Message-ID: <20120919150622.GA7647@redhat.com> (raw)
In-Reply-To: <20120919111422.GA17988@host2.jankratochvil.net>

Jan Kratochvil wrote:
> On Wed, 19 Sep 2012 11:49:34 +0200, Gary Benson wrote:
> > How do I configure/build/test gdb so that it is using linux-low.c?
> > I've updated the tests to work with gdbserver, but with my current
> > setup solib-svr4.c is being used, so all the tests are passing.
> 
> it is enough to use gdbserver:
> 	http://sourceware.org/gdb/wiki/TestingGDB#Testing_gdbserver_in_a_native_configuration
> 

Ah, that's what I did:

  molly:[src]$ echo $DEJAGNU
  /home/gary/work/gdb/dejagnu/my-dejagnu.exp
  molly:[src]$ ls -lR /home/gary/work/gdb/dejagnu
  /home/gary/work/gdb/dejagnu:
  total 4
  drwxr-xr-x. 2 gary gary 4096 Sep 18 11:16 boards/
  -rw-r--r--. 1 gary gary    0 Sep 18 11:16 my-dejagnu.exp
  
  /home/gary/work/gdb/dejagnu/boards:
  total 4
  -rw-r--r--. 1 gary gary 2673 Sep 18 11:16 native-gdbserver.exp
  molly:[src]$ make -C../build check RUNTESTFLAGS="--target_board=native-gdbserver gdb.base/break-probes.exp gdb.base/break-dlmopen.exp gdb.base/info-shared.exp"

> I have put there a debug dump and for example for gdb.base/return.exp
> it really prints several SVR4:PASS and no SVR4:FAIL.

With that I get a load of SVR4:FAIL and no SVR4:PASS.

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?

Thanks,
Gary

-- 
http://gbenson.net/


  reply	other threads:[~2012-09-19 15:06 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-19 11:09 Gary Benson
2012-07-25 19:36 ` Tom Tromey
2012-07-31 12:12   ` Gary Benson
2012-07-31 12:13     ` Gary Benson
2012-08-14 19:49       ` Tom Tromey
2012-08-15 17:24 ` Jan Kratochvil
2012-08-15 17:46   ` Jan Kratochvil
2012-08-16 11:14     ` Gary Benson
2012-08-16 15:52     ` Gary Benson
2012-08-17 10:54       ` Gary Benson
2012-08-17 16:41         ` Jan Kratochvil
2012-09-19  9:49   ` Gary Benson
2012-09-19 11:14     ` Jan Kratochvil
2012-09-19 15:06       ` Gary Benson [this message]
2012-09-19 15:13         ` Jan Kratochvil
2012-09-21 12:36           ` Gary Benson
2012-09-21 14:46             ` Jan Kratochvil
2012-09-28 10:51               ` Gary Benson
2012-09-28 10:58                 ` Jan Kratochvil

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=20120919150622.GA7647@redhat.com \
    --to=gbenson@redhat.com \
    --cc=gdb-patches@sourceware.org \
    --cc=jan.kratochvil@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