Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* MI testsuite question
@ 2003-03-25 16:44 Corinna Vinschen
  2003-03-25 16:58 ` Andrew Cagney
  0 siblings, 1 reply; 2+ messages in thread
From: Corinna Vinschen @ 2003-03-25 16:44 UTC (permalink / raw)
  To: gdb

Hi,

while running the xstormy16 testsuite I came across a bunch of FAILs
which I don't know how to solve correctly:

  WARNING: Using CLI jump command, expect run-to-main FAIL
  jump *_start^M
  &"jump *_start\n"^M
  ^done,reason="breakpoint-hit",bkptno="1",thread-id="0",frame={addr="0x000080ea",func="main",args=[{name="argc",value="0"},{name="argv",value="0x0"}],file="/home/corinna/src/gdb/testsuite/gdb.mi/gdb701.c",line="13"}^M
  (gdb) ^M
  FAIL: gdb.mi/gdb701.exp: mi runto main (2)

As you can see, the returned string begins with

  "^done,"

while the testsuite (here proc mi_runto in lib/mi-support.exp) expects

  ".*000\\*stopped,"

Everything else is ok.  So, is the testsuite wrong or is gdb misbehaving?

Corinna

-- 
Corinna Vinschen
Cygwin Developer
Red Hat, Inc.
mailto:vinschen@redhat.com


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

* Re: MI testsuite question
  2003-03-25 16:44 MI testsuite question Corinna Vinschen
@ 2003-03-25 16:58 ` Andrew Cagney
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Cagney @ 2003-03-25 16:58 UTC (permalink / raw)
  To: Corinna Vinschen; +Cc: gdb

> Hi,
> 
> while running the xstormy16 testsuite I came across a bunch of FAILs
> which I don't know how to solve correctly:
> 
>   WARNING: Using CLI jump command, expect run-to-main FAIL

This warning is refering to ...

>   jump *_start^M
>   &"jump *_start\n"^M
>   ^done,reason="breakpoint-hit",bkptno="1",thread-id="0",frame={addr="0x000080ea",func="main",args=[{name="argc",value="0"},{name="argv",value="0x0"}],file="/home/corinna/src/gdb/testsuite/gdb.mi/gdb701.c",line="13"}^M
>   (gdb) ^M
>   FAIL: gdb.mi/gdb701.exp: mi runto main (2)

this failure.

> As you can see, the returned string begins with
> 
>   "^done,"
> 
> while the testsuite (here proc mi_runto in lib/mi-support.exp) expects
> 
>   ".*000\\*stopped,"
> 
> Everything else is ok.  So, is the testsuite wrong or is gdb misbehaving?

It is a known bug in gdb.

Andrew



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

end of thread, other threads:[~2003-03-25 16:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-25 16:44 MI testsuite question Corinna Vinschen
2003-03-25 16:58 ` Andrew Cagney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox