aboutsummaryrefslogtreecommitdiffstats
path: root/.gdbinit
diff options
context:
space:
mode:
authorAdam Jensen <acjensen@gmail.com>2021-02-06 11:07:03 -0500
committerMarc-André Lafortune <github@marc-andre.ca>2021-02-06 13:03:40 -0500
commit132e01a1c3ada1fe31559f8b2a3bf7106406f6d2 (patch)
treefd6a5988e1541ee77e84df70f71399bfacdaa024 /.gdbinit
parentbfc7bb5d8aa1a5f1cf8f29b1aef86c8abecc45cf (diff)
downloadruby-132e01a1c3ada1fe31559f8b2a3bf7106406f6d2.tar.gz
.gdbinit: Fix indentation in print_id [ci skip]
Diffstat (limited to '.gdbinit')
-rw-r--r--.gdbinit8
1 files changed, 4 insertions, 4 deletions
diff --git a/.gdbinit b/.gdbinit
index 60aa8fb6ac..8979e8b47c 100644
--- a/.gdbinit
+++ b/.gdbinit
@@ -1102,11 +1102,11 @@ define print_id
set $arylen = $ary->as.heap.len
end
set $result = $aryptr[($serial % ID_ENTRY_UNIT) * ID_ENTRY_SIZE + $t]
- if $result != RUBY_Qnil
+ if $result != RUBY_Qnil
print_string $result
- else
- echo undef
- end
+ else
+ echo undef
+ end
end
end
end