This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[patch/testcase] fix gdb.objc/basicclass.exp
- From: "Kei Sakamoto" <sakamoto dot kei at renesas dot com>
- To: <gdb-patches at sources dot redhat dot com>
- Date: Fri, 4 Jul 2003 12:09:36 +0900
- Subject: [patch/testcase] fix gdb.objc/basicclass.exp
The attached patch fixes gdb.objc.basicclass.exp.
The current test always fail with sim because of libobjc's error.
(gdb) PASS: gdb.objc/basicclass.exp: continue until method breakpoint
run
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program:
/project/m32r-tools/insight-20030703/build/gdb/testsuite/gdb.objc/basicclass
Virtual memory exhausted
*** EXIT code 4242
Program exited with code 0157255.
[Switching to process 0]
(gdb) FAIL: gdb.objc/basicclass.exp: resetting breakpoints when rerunning
I assume this is not libobjc's bug. Please tell me if my
assumption is wrong.
Anyway, I inserted load command before run command. I checked
this patch with m32r-elf, arm-elf, and sh-elf.
Kei
===
2003-07-04 Kei Sakamoto <sakamoto.kei@renesas.com>
* gdb.objc/basicclass.exp: Execute load command before re-running
program in case of sim.