public inbox for archer@sourceware.org
 help / color / mirror / Atom feed
* ugdb for the gdb testsuite (failed)
@ 2010-09-05 18:37 Jan Kratochvil
  2010-09-05 19:03 ` Jan Kratochvil
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Kratochvil @ 2010-09-05 18:37 UTC (permalink / raw)
  To: archer

Hi,

as I wanted to try running the gdb testsuite made some dejagnu interface for
it.  It is currently completely unusable, though.  It stops at least on:
Sending packet: $QNonStop:0#8c...Remote connection closed

Also the whole GDB testsuite uses the "remote" (and not "extended-remote") and
also not-non-stop not-async protocol which are not supported by ugdb.

Also the testsuite expects either gdbserver can load the executable itself
(use_gdb_stub mode) or that gdbserver can spawn a new process (--multi).
Neither of which are applicable for ugdb.

Probably GDB should be made compatible.  Later, I thought it will be easier.

cvs -d :pserver:pserver:@dyn.jankratochvil.net/cvs co -d runtest-ugdb nethome/src/runtest-ugdb
mv runtest-ugdb ~/src
cat ~/src/runtest-ugdb/INSTALL


Regards,
Jan

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: ugdb for the gdb testsuite (failed)
  2010-09-05 18:37 ugdb for the gdb testsuite (failed) Jan Kratochvil
@ 2010-09-05 19:03 ` Jan Kratochvil
  0 siblings, 0 replies; 2+ messages in thread
From: Jan Kratochvil @ 2010-09-05 19:03 UTC (permalink / raw)
  To: archer

On Sun, 05 Sep 2010 20:37:18 +0200, Jan Kratochvil wrote:
> It is currently completely unusable, though.  It stops at least on:
> Sending packet: $QNonStop:0#8c...Remote connection closed
> Also the whole GDB testsuite uses the "remote" (and not "extended-remote") and
> also not-non-stop not-async protocol which are not supported by ugdb.

Fixed.


> Also the testsuite expects either gdbserver can load the executable itself
> (use_gdb_stub mode) or that gdbserver can spawn a new process (--multi).
> Neither of which are applicable for ugdb.

This remains a problem for 99% of the testcases.


> cvs -d :pserver:pserver:@dyn.jankratochvil.net/cvs co -d runtest-ugdb nethome/src/runtest-ugdb
> mv runtest-ugdb ~/src
> cat ~/src/runtest-ugdb/INSTALL

cd gdb/testsuite
~/src/runtest-ugdb/runtest-ugdb gdb.server/ext-attach.exp

# of expected passes	11
# of unexpected failures  1


Regards,
Jan

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-09-05 19:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-05 18:37 ugdb for the gdb testsuite (failed) Jan Kratochvil
2010-09-05 19:03 ` Jan Kratochvil

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).