Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@adacore.com>
To: gdb-patches@sourceware.org
Cc: Tom Tromey <tromey@adacore.com>
Subject: [pushed] Minor reindentations in gdb.dap tests
Date: Fri,  6 Nov 2026 14:30:50 -0700	[thread overview]
Message-ID: <20261106213050.30397-1-tromey@adacore.com> (raw)

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


                 reply	other threads:[~2026-11-06 21:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261106213050.30397-1-tromey@adacore.com \
    --to=tromey@adacore.com \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox