mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 04:00:07 +08:00
gdb.base/display.exp C++ify
This makes the testcase work when compiled with C++ compiler. gdb/testsuite/ChangeLog: * gdb.base/display.exp: Issue "set print asm-demangle on".
This commit is contained in:
@ -1,3 +1,7 @@
|
||||
2020-09-17 Pedro Alves <pedro@palves.net>
|
||||
|
||||
* gdb.base/display.exp: Issue "set print asm-demangle on".
|
||||
|
||||
2020-09-17 Pedro Alves <pedro@palves.net>
|
||||
|
||||
* gdb.base/find.c: Include <string.h>.
|
||||
|
@ -195,6 +195,9 @@ gdb_test "print j" " = 0\[\\r\\n\]+" "debug test output 3"
|
||||
# x/0 j doesn't produce any output and terminates PA64 process when testing
|
||||
gdb_test_no_output "x/0 j"
|
||||
|
||||
# For when the test is built in C++ mode.
|
||||
gdb_test_no_output "set print asm-demangle on"
|
||||
|
||||
gdb_test "print/0 j" ".*Item count other than 1 is meaningless.*"
|
||||
gdb_test "print/s sum" " = 1000" "ignored s"
|
||||
gdb_test "print/i sum" ".*Format letter.*is meaningless.*.*" "no i"
|
||||
|
Reference in New Issue
Block a user