* gdb.cp/exception.exp: Don't require $hex before inner frame in
backtrace.
This commit is contained in:
parent
28d41a992f
commit
cf657a0c94
@ -1,3 +1,8 @@
|
||||
2009-06-27 Andreas Schwab <schwab@linux-m68k.org>
|
||||
|
||||
* gdb.cp/exception.exp: Don't require $hex before inner frame in
|
||||
backtrace.
|
||||
|
||||
2009-06-27 Michael Snyder <msnyder@vmware.com>
|
||||
|
||||
* gdb.reverse: New directory.
|
||||
|
@ -146,7 +146,7 @@ gdb_test_multiple "continue" $name {
|
||||
|
||||
set name "backtrace after first throw"
|
||||
gdb_test_multiple "backtrace" $name {
|
||||
-re ".*#\[0-9\]+${ws}$hex in __cxa_throw.*#\[0-9\]+${ws}$hex in foo \\(i=20\\) at .*${srcfile}:\[0-9\]+\r\n#\[0-9\]+${ws}$hex in main \\(.*\\) at .*${srcfile}:\[0-9\]+\r\n$gdb_prompt $" {
|
||||
-re ".*#\[0-9\]+${ws}($hex in |)__cxa_throw.*#\[0-9\]+${ws}$hex in foo \\(i=20\\) at .*${srcfile}:\[0-9\]+\r\n#\[0-9\]+${ws}$hex in main \\(.*\\) at .*${srcfile}:\[0-9\]+\r\n$gdb_prompt $" {
|
||||
pass $name
|
||||
}
|
||||
}
|
||||
@ -168,7 +168,7 @@ gdb_test_multiple "continue" $name {
|
||||
|
||||
set name "backtrace after first catch"
|
||||
gdb_test_multiple "backtrace" $name {
|
||||
-re ".*#\[0-9\]+${ws}$hex in __cxa_begin_catch.*#\[0-9\]+${ws}$hex in main \\(.*\\) at .*$srcfile:\[0-9\]+\r\n$gdb_prompt $" {
|
||||
-re ".*#\[0-9\]+${ws}($hex in |)__cxa_begin_catch.*#\[0-9\]+${ws}$hex in main \\(.*\\) at .*$srcfile:\[0-9\]+\r\n$gdb_prompt $" {
|
||||
pass $name
|
||||
}
|
||||
}
|
||||
@ -190,7 +190,7 @@ gdb_test_multiple "continue" $name {
|
||||
|
||||
set name "backtrace after second throw"
|
||||
gdb_test_multiple "backtrace" $name {
|
||||
-re ".*#\[0-9\]+${ws}$hex in __cxa_throw.*#\[0-9\]+${ws}$hex in foo \\(i=20\\) at .*${srcfile}:\[0-9\]+\r\n#\[0-9\]+${ws}$hex in main \\(.*\\) at .*${srcfile}:\[0-9\]+\r\n$gdb_prompt $" {
|
||||
-re ".*#\[0-9\]+${ws}($hex in |)__cxa_throw.*#\[0-9\]+${ws}$hex in foo \\(i=20\\) at .*${srcfile}:\[0-9\]+\r\n#\[0-9\]+${ws}$hex in main \\(.*\\) at .*${srcfile}:\[0-9\]+\r\n$gdb_prompt $" {
|
||||
pass $name
|
||||
}
|
||||
}
|
||||
@ -212,7 +212,7 @@ gdb_test_multiple "continue" $name {
|
||||
|
||||
set name "backtrace after second catch"
|
||||
gdb_test_multiple "backtrace" $name {
|
||||
-re ".*#\[0-9\]+${ws}$hex in __cxa_begin_catch.*#\[0-9\]+${ws}$hex in main \\(.*\\) at .*$srcfile:\[0-9\]+\r\n$gdb_prompt $" {
|
||||
-re ".*#\[0-9\]+${ws}($hex in |)__cxa_begin_catch.*#\[0-9\]+${ws}$hex in main \\(.*\\) at .*$srcfile:\[0-9\]+\r\n$gdb_prompt $" {
|
||||
pass $name
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user