aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Burgess <aburgess@redhat.com>2024-04-22 10:25:51 +0100
committerAndrew Burgess <aburgess@redhat.com>2024-04-22 10:39:37 +0100
commit39f0ac383169d7ef8b3169e483ae95dd185e41bd (patch)
treefed05d2f73a78cf6f467bffc5d09413147d5ac36
parent911cb006bf029ada9f6364619257dffe9218e92a (diff)
downloadgdb-39f0ac383169d7ef8b3169e483ae95dd185e41bd.zip
gdb-39f0ac383169d7ef8b3169e483ae95dd185e41bd.tar.gz
gdb-39f0ac383169d7ef8b3169e483ae95dd185e41bd.tar.bz2
gdb: fix unknown variable typo in c-exp.y
Fix 'val' -> 'value' typo in c-exp.y which was breaking the build. Introduced in commit: commit e6375bc8ebbbc177c79f08e9616eb0b131229f65 Date: Wed Apr 17 16:17:33 2024 -0600 Remove some alloca uses
-rw-r--r--gdb/c-exp.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/c-exp.y b/gdb/c-exp.y
index 87aca4d..5db6355 100644
--- a/gdb/c-exp.y
+++ b/gdb/c-exp.y
@@ -3430,7 +3430,7 @@ c_print_token (FILE *file, int type, YYSTYPE value)
case CHAR:
case STRING:
parser_fprintf (file, "tsval<type=%d, %.*s>", value.tsval.type,
- value.tsval.length, val.tsval.ptr);
+ value.tsval.length, value.tsval.ptr);
break;
case NSSTRING: