Re: FAILs on x86?

Markus Deuling
2008-03-27T13:51:41Z

Vladimir Prus schrieb:
> Then, I need gdb.log part for the first failure, namely this:
>
> FAIL: gdb.mi/gdb701.exp: create fooPtr

Is this the correct snippet? Let me know if you want other parts. I can send you the whole file
to your email address if you want to.

220-exec-next

220^running

(gdb)

220*stopped,reason="end-stepping-range",thread-id="0",frame={addr="0x0804839c",func="main",args=[],file="/home/deuling/gdb/dev/gdb/testsuite/gdb.mi/gdb701.c",fullname="/home/deuling/gdb/dev/gdb/testsuite/gdb.mi/gdb701.c",line="14"}

(gdb)

PASS: gdb.mi/gdb701.exp: step over "foo = 0"
-var-create fooPtr * foo

^done,name="fooPtr",numchild="3",type="Foo *"

(gdb)

FAIL: gdb.mi/gdb701.exp: create fooPtr
-var-list-children fooPtr

^done,numchild="3",children=[child={name="fooPtr.x",exp="x",numchild="0",type="int"},child={name="fooPtr.y",exp="y",numchild="0",type="int"},child={name="fooPtr.z",exp="z",numchild="0",type="int"}]

(gdb)

PASS: gdb.mi/gdb701.exp: list children of fooPtr
-var-list-children fooPtr.x

^done,numchild="0"

(gdb)

PASS: gdb.mi/gdb701.exp: list children of fooPtr.x
-var-list-children fooPtr.y

^done,numchild="0"

(gdb)

--
Markus Deuling
GNU Toolchain for Linux on Cell BE
deuling@de.ibm.com