aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristina Schimpe <christina.schimpe@intel.com>2022-10-21 09:02:57 -0700
committerChristina Schimpe <christina.schimpe@intel.com>2023-02-09 19:38:52 +0100
commit31cf28c7842497aa1f6472b7d76828cf009d2298 (patch)
treec5deef16c1779adb504e39f095e6f0cee23ba71a
parent1775f8b3804744c22611ed0c9fd2df4f5b4d8641 (diff)
downloadgdb-31cf28c7842497aa1f6472b7d76828cf009d2298.zip
gdb-31cf28c7842497aa1f6472b7d76828cf009d2298.tar.gz
gdb-31cf28c7842497aa1f6472b7d76828cf009d2298.tar.bz2
gdb, testsuite: Remove unnecessary call of "set print pretty on"
The command has no effect for the loading of GDB pretty printers and is removed by this patch to avoid confusion. Documentation for "set print pretty" "Cause GDB to print structures in an indented format with one member per line"
-rw-r--r--gdb/testsuite/gdb.python/pretty-print-call-by-hand.exp4
-rw-r--r--gdb/testsuite/gdb.python/py-autoloaded-pretty-printers-in-newobjfile-event.exp2
2 files changed, 0 insertions, 6 deletions
diff --git a/gdb/testsuite/gdb.python/pretty-print-call-by-hand.exp b/gdb/testsuite/gdb.python/pretty-print-call-by-hand.exp
index 7ab2b1f..01ee7b9 100644
--- a/gdb/testsuite/gdb.python/pretty-print-call-by-hand.exp
+++ b/gdb/testsuite/gdb.python/pretty-print-call-by-hand.exp
@@ -50,8 +50,6 @@ proc start_test { breakpoint_comment } {
gdb_breakpoint [gdb_get_line_number ${breakpoint_comment} ${testfile}.c ]
gdb_continue_to_breakpoint ${breakpoint_comment} ".*"
- gdb_test_no_output "set print pretty on" "starting to pretty print"
-
set remote_python_file [gdb_remote_download host ${srcdir}/${subdir}/${testfile}.py]
gdb_test_no_output "source ${remote_python_file}" "load python file"
@@ -64,8 +62,6 @@ with_test_prefix "run to frame" {
untested "couldn't run to main"
}
- gdb_test_no_output "set print pretty on" "starting to pretty print"
-
set remote_python_file [gdb_remote_download host ${srcdir}/${subdir}/${testfile}.py]
gdb_test_no_output "source ${remote_python_file}" "load python file"
diff --git a/gdb/testsuite/gdb.python/py-autoloaded-pretty-printers-in-newobjfile-event.exp b/gdb/testsuite/gdb.python/py-autoloaded-pretty-printers-in-newobjfile-event.exp
index 2217e2e..eefa99c 100644
--- a/gdb/testsuite/gdb.python/py-autoloaded-pretty-printers-in-newobjfile-event.exp
+++ b/gdb/testsuite/gdb.python/py-autoloaded-pretty-printers-in-newobjfile-event.exp
@@ -61,8 +61,6 @@ gdb_test_no_output "source ${remote_python_event_handler_file}" "load python fil
gdb_load ${binfile}
-gdb_test_no_output "set print pretty on"
-
if { ![runto_main] } {
return
}