gdb/testsuite/
Fix compatibility with G++-4.5. * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment. * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line". (uncaught return): Remove.
This commit is contained in:
parent
cbc999b90f
commit
3f78692f4a
|
@ -1,3 +1,10 @@
|
|||
2009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||
|
||||
Fix compatibility with G++-4.5.
|
||||
* gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
|
||||
* gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
|
||||
(uncaught return): Remove.
|
||||
|
||||
2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||
Phil Muldoon <pmuldoon@redhat.com>
|
||||
|
||||
|
|
|
@ -49,5 +49,5 @@ main (void)
|
|||
A a;
|
||||
B b;
|
||||
|
||||
return 0; /* exit-line */
|
||||
return 0;
|
||||
}
|
||||
|
|
|
@ -23,8 +23,6 @@ if ![runto_main] {
|
|||
return -1
|
||||
}
|
||||
|
||||
gdb_breakpoint [gdb_get_line_number "exit-line"]
|
||||
|
||||
gdb_breakpoint [gdb_get_line_number "func-line"]
|
||||
gdb_continue_to_breakpoint "func" ".*func-line.*"
|
||||
|
||||
|
@ -52,7 +50,3 @@ gdb_test "bt" \
|
|||
"bt from A"
|
||||
|
||||
gdb_continue_to_breakpoint "next caller func" ".*func-line.*"
|
||||
|
||||
# Verify GDB really could not catch any other breakpoint location.
|
||||
|
||||
gdb_continue_to_breakpoint "uncaught return" ".*exit-line.*"
|
||||
|
|
Loading…
Reference in New Issue