From 691f8dc1872731b6d5fe867cd0abc8e20cabec2a Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: Sun, 24 Jan 2010 04:29:32 +0000 Subject: [PATCH] gdb/testsuite/ * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'): Adjust it for DISASSEMBLY_OMIT_FNAME. --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/gdb.arch/i386-bp_permanent.exp | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index dd5481937f0..c06f0a1a500 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2010-01-24 Jan Kratochvil + + * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'): + Adjust it for DISASSEMBLY_OMIT_FNAME. + 2010-01-22 Jan Kratochvil PR symtab/11199: diff --git a/gdb/testsuite/gdb.arch/i386-bp_permanent.exp b/gdb/testsuite/gdb.arch/i386-bp_permanent.exp index 0e17adb8aa4..a8eb669bf36 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); -- 2.30.2