aboutsummaryrefslogtreecommitdiff
path: root/src/value.zig
diff options
context:
space:
mode:
authorRobin Voetter <robin@voetter.nl>2022-03-16 17:57:31 +0100
committerRobin Voetter <robin@voetter.nl>2022-03-16 17:57:31 +0100
commit0bd84e03b98a75806c47cb7f514a15de7e4d2b6e (patch)
treef81fcc9e6e08eac2dbf1f5b859e00d21fb22fdb3 /src/value.zig
parent6830bcbb0a887b146379f0d90b04b0ae5834dead (diff)
downloadzig-0bd84e03b98a75806c47cb7f514a15de7e4d2b6e.tar.gz
zig-0bd84e03b98a75806c47cb7f514a15de7e4d2b6e.zip
gdb: add printer for selfhosted Value
Diffstat (limited to 'src/value.zig')
-rw-r--r--src/value.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/value.zig b/src/value.zig
index 24cec0396e..d63452ee56 100644
--- a/src/value.zig
+++ b/src/value.zig
@@ -20,6 +20,7 @@ pub const Value = extern union {
tag_if_small_enough: Tag,
ptr_otherwise: *Payload,
+ // Keep in sync with tools/zig-gdb.py
pub const Tag = enum(usize) {
// The first section of this enum are tags that require no payload.
u1_type,