mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-25 21:41:47 +08:00
Fix for mi-reverse.exp
This test fails on PPC64 because PPC64 prints the value of 3.5 with more significant digits than on Intel. The patch updates the regular expression to allow for more significant digits on the constant. gdb/testsuite/ChangeLog * gdb.mi/mi-reverse.exp: mi_execute_to exec-step reverse add check for additional digits.
This commit is contained in:
@ -111,7 +111,7 @@ proc test_controlled_execution_reverse {} {
|
||||
|
||||
mi_execute_to "exec-step --reverse" \
|
||||
"end-stepping-range" "callee1" \
|
||||
"\{name=\"intarg\",value=\"2\"\},\{name=\"strarg\",value=\"$hex \\\\\"A string argument\.\\\\\"\"\},\{name=\"fltarg\",value=\"3.5\"\}" \
|
||||
"\{name=\"intarg\",value=\"2\"\},\{name=\"strarg\",value=\"$hex \\\\\"A string argument\.\\\\\"\"\},\{name=\"fltarg\",value=\"3.5\[0-9\]*\"\}" \
|
||||
"basics.c" $line_callee1_close "" \
|
||||
"reverse step to callee1"
|
||||
|
||||
|
Reference in New Issue
Block a user