X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Ftestsuite%2Fgdb.cp%2Fexception.exp;h=0be382ba98c24a3a8d65c1025c2d10aa43bccc0d;hb=cb1e4e32c2d9588e1d77ea49bafb5dcdc1cff764;hp=4761de20e19e5384460e96d81f4d35fd8c19be3d;hpb=b58a68fe5709ed205c3ac54065f1783ce58d9a01;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/testsuite/gdb.cp/exception.exp b/gdb/testsuite/gdb.cp/exception.exp index 4761de20e1..0be382ba98 100644 --- a/gdb/testsuite/gdb.cp/exception.exp +++ b/gdb/testsuite/gdb.cp/exception.exp @@ -62,16 +62,10 @@ gdb_test "catch rethrow" "Catchpoint \[0-9\]+ \\(rethrow\\)" \ "catch rethrow (before inferior run)" -# The catchpoints should be listed in the list of breakpoints. -# In case of a statically linked test, we won't have a pending breakpoint. -# Hence we allow for both an address or "". If we ever become able -# to tell whether the target is linked statically or not, we can be more -# precise and require exact output. -set addr "\(|$hex\)" set re_head "Num${ws}Type${ws}Disp${ws}Enb${ws}Address${ws}What" -set re_2_bp "1${ws}breakpoint${ws}keep${ws}y${ws}$addr${ws}exception catch" -set re_3_bp "2${ws}breakpoint${ws}keep${ws}y${ws}$addr${ws}exception throw" -set re_4_bp "3${ws}breakpoint${ws}keep${ws}y${ws}$addr${ws}exception rethrow" +set re_2_bp "1${ws}catchpoint${ws}keep${ws}y${ws}exception catch" +set re_3_bp "2${ws}catchpoint${ws}keep${ws}y${ws}exception throw" +set re_4_bp "3${ws}catchpoint${ws}keep${ws}y${ws}exception rethrow" set name "info breakpoints (before inferior run)" gdb_test_multiple "info breakpoints" $name { @@ -100,12 +94,6 @@ if { !$ok } { continue } -set addr "$hex" -set re_head "Num${ws}Type${ws}Disp${ws}Enb${ws}Address${ws}What" -set re_2_bp "1${ws}breakpoint${ws}keep${ws}y${ws}$addr${ws}exception catch" -set re_3_bp "2${ws}breakpoint${ws}keep${ws}y${ws}$addr${ws}exception throw" -set re_4_bp "3${ws}breakpoint${ws}keep${ws}y${ws}$addr${ws}exception rethrow" - set name "info breakpoints (after inferior run)" gdb_test_multiple "info breakpoints" $name { -re "$re_head${ws}$re_2_bp${ws}$re_3_bp${ws}$re_4_bp\r\n$gdb_prompt $" {