* [pushed] Minor reindentations in gdb.dap tests
@ 2026-11-06 21:30 Tom Tromey
0 siblings, 0 replies; only message in thread
From: Tom Tromey @ 2026-11-06 21:30 UTC (permalink / raw)
To: gdb-patches; +Cc: Tom Tromey
I noticed a few indentation missteps in the gdb.dap tests. This patch
corrects these.
---
gdb/testsuite/gdb.dap/basic-dap.exp | 4 ++--
gdb/testsuite/gdb.dap/bt-nodebug.exp | 8 ++++----
gdb/testsuite/gdb.dap/insn-bp.exp | 4 ++--
3 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/gdb/testsuite/gdb.dap/basic-dap.exp b/gdb/testsuite/gdb.dap/basic-dap.exp
index ed0dfb638f2..e8355dac068 100644
--- a/gdb/testsuite/gdb.dap/basic-dap.exp
+++ b/gdb/testsuite/gdb.dap/basic-dap.exp
@@ -95,8 +95,8 @@ dap_wait_for_event_and_check "inferior started" thread "body reason" started
# While waiting for the stopped event, we might receive breakpoint changed
# events indicating some breakpoint addresses were relocated.
lassign [dap_wait_for_event_and_check "stopped at function breakpoint" stopped \
- "body reason" breakpoint \
- "body hitBreakpointIds" $fn_bpno] unused objs
+ "body reason" breakpoint \
+ "body hitBreakpointIds" $fn_bpno] unused objs
foreach obj $objs {
if { [dict get $obj "type"] != "event" } {
continue
diff --git a/gdb/testsuite/gdb.dap/bt-nodebug.exp b/gdb/testsuite/gdb.dap/bt-nodebug.exp
index 8bfcfeaf62f..d599fb57f5e 100644
--- a/gdb/testsuite/gdb.dap/bt-nodebug.exp
+++ b/gdb/testsuite/gdb.dap/bt-nodebug.exp
@@ -45,8 +45,8 @@ dap_check_response "launch response" launch $launch_id
dap_wait_for_event_and_check "inferior started" thread "body reason" started
lassign [dap_wait_for_event_and_check "stopped at function breakpoint" stopped \
- "body reason" breakpoint \
- "body hitBreakpointIds" $fn_bpno] unused objs
+ "body reason" breakpoint \
+ "body hitBreakpointIds" $fn_bpno] unused objs
# The bug was that this request would fail.
set obj [dap_check_request_and_response "backtrace" \
@@ -60,8 +60,8 @@ gdb_assert {[dict get [lindex $frames 1] name] == "no_debug_info"} \
# Breakpoint can be set without source file information
set obj [dap_check_request_and_response "set breakpoint on no_debug_info" \
- setFunctionBreakpoints \
- {o breakpoints [a [o name [s no_debug_info]]]}]
+ setFunctionBreakpoints \
+ {o breakpoints [a [o name [s no_debug_info]]]}]
set breakpoints [dict get [lindex $obj 0] body breakpoints]
gdb_assert {[dict exists [lindex $breakpoints 0] instructionReference]} \
"breakpoint has instructionReference"
diff --git a/gdb/testsuite/gdb.dap/insn-bp.exp b/gdb/testsuite/gdb.dap/insn-bp.exp
index 3eb32b1d3d1..0d9c80f6e7c 100644
--- a/gdb/testsuite/gdb.dap/insn-bp.exp
+++ b/gdb/testsuite/gdb.dap/insn-bp.exp
@@ -68,8 +68,8 @@ lassign [dap_wait_for_event_and_check "inferior started" \
thread "body reason" started] \
unused objs1
lassign [dap_wait_for_event_and_check "stopped at breakpoint" stopped \
- "body reason" breakpoint \
- "body hitBreakpointIds" $fn_bpno] unused objs2
+ "body reason" breakpoint \
+ "body hitBreakpointIds" $fn_bpno] unused objs2
set found_bp_event 0
foreach obj [concat $objs0 $objs1 $objs2] {
base-commit: 740efcb926d0cfecdb5a02386aa9269b1127b2ff
--
2.56.0
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-06 21:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-06 21:30 [pushed] Minor reindentations in gdb.dap tests Tom Tromey
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox