diff options
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.arch/i386-bp_permanent.exp | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index dd54819..c06f0a1 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com> + + * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'): + Adjust it for DISASSEMBLY_OMIT_FNAME. + 2010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com> PR symtab/11199: diff --git a/gdb/testsuite/gdb.arch/i386-bp_permanent.exp b/gdb/testsuite/gdb.arch/i386-bp_permanent.exp index 0e17adb..a8eb669 100644 --- a/gdb/testsuite/gdb.arch/i386-bp_permanent.exp +++ b/gdb/testsuite/gdb.arch/i386-bp_permanent.exp @@ -62,7 +62,7 @@ if ![runto_main] then { set function standard set retcode [gdb_test_multiple "disassemble $function" "Disassemble function '$function'" { - -re ".*($hex) <$function\\+0>.*($hex) <$function\\+4>.*($hex) <$function\\+5>.*($hex) <$function\\+6>.*$gdb_prompt $" { + -re ".*($hex) <\\+0>.*($hex) <\\+4>.*($hex) <\\+5>.*($hex) <\\+6>.*$gdb_prompt $" { set function_start $expect_out(1,string); set address $expect_out(2,string); set address1 $expect_out(3,string); |