* [pushed] gdb: fix indentation in dwarf2/expr.c
@ 2026-06-25 17:04 simon.marchi
0 siblings, 0 replies; only message in thread
From: simon.marchi @ 2026-06-25 17:04 UTC (permalink / raw)
To: gdb-patches; +Cc: Simon Marchi
From: Simon Marchi <simon.marchi@polymtl.ca>
Fix some mis-indented lines, pointed out in a review.
Change-Id: I523f461881dab4b23e59efa76914b1d5ce8cc817
---
gdb/dwarf2/expr.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/gdb/dwarf2/expr.c b/gdb/dwarf2/expr.c
index c71d4725b038..3a6b8f581999 100644
--- a/gdb/dwarf2/expr.c
+++ b/gdb/dwarf2/expr.c
@@ -1478,7 +1478,7 @@ dwarf_block_to_dwarf_reg_deref (gdb::array_view<const gdb_byte> block,
if (buf == NULL)
return -1;
if ((int) dwarf_reg != dwarf_reg)
- return -1;
+ return -1;
}
else
return -1;
@@ -1498,7 +1498,7 @@ dwarf_block_to_dwarf_reg_deref (gdb::array_view<const gdb_byte> block,
{
buf++;
if (buf >= buf_end)
- return -1;
+ return -1;
*deref_size_return = *buf++;
}
else
@@ -1560,7 +1560,7 @@ dwarf_block_to_sp_offset (struct gdbarch *gdbarch,
else
{
if (*buf != DW_OP_bregx)
- return false;
+ return false;
buf++;
buf = gdb_read_uleb128 (buf, buf_end, &dwarf_reg);
base-commit: 9deb94fdd530dcb988dc90abab392f15088ef6fe
--
2.54.0
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-25 17:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-25 17:04 [pushed] gdb: fix indentation in dwarf2/expr.c simon.marchi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox