mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-09-10 12:22:20 +08:00
* gdb.c++/casts.exp: Fix startup to run also on embedded targets.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2003-03-27 Corinna Vinschen <vinschen@redhat.com>
|
||||||
|
|
||||||
|
* gdb.c++/casts.exp: Fix startup to run also on embedded targets.
|
||||||
|
|
||||||
2003-03-26 Michael Chastain <mec@shout.net>
|
2003-03-26 Michael Chastain <mec@shout.net>
|
||||||
|
|
||||||
* gdb.base/ptype.exp: Actually use some typedef'd types.
|
* gdb.base/ptype.exp: Actually use some typedef'd types.
|
||||||
|
@ -55,11 +55,16 @@ gdb_start
|
|||||||
gdb_reinitialize_dir $srcdir/$subdir
|
gdb_reinitialize_dir $srcdir/$subdir
|
||||||
gdb_load ${binfile}
|
gdb_load ${binfile}
|
||||||
|
|
||||||
|
if ![runto_main] then {
|
||||||
|
perror "couldn't run to breakpoint"
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
|
||||||
gdb_test "break [gdb_get_line_number "casts.exp: 1"]" \
|
gdb_test "break [gdb_get_line_number "casts.exp: 1"]" \
|
||||||
"Breakpoint.*at.* file .*" \
|
"Breakpoint.*at.* file .*" \
|
||||||
""
|
""
|
||||||
|
|
||||||
gdb_test "run" "Breakpoint .* at .*casts.cc.*" ""
|
gdb_test "continue" "Breakpoint .* at .*casts.cc.*" ""
|
||||||
|
|
||||||
# Casting a pointer to a base class to a pointer to a derived class
|
# Casting a pointer to a base class to a pointer to a derived class
|
||||||
# should yield the entire derived class. Until August 2002, GDB got
|
# should yield the entire derived class. Until August 2002, GDB got
|
||||||
|
Reference in New Issue
Block a user