From: Andrew Burgess Date: Mon, 22 Apr 2024 09:25:51 +0000 (+0100) Subject: gdb: fix unknown variable typo in c-exp.y X-Git-Tag: gdb-15-branchpoint~298 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=39f0ac383169d7ef8b3169e483ae95dd185e41bd;p=thirdparty%2Fbinutils-gdb.git 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 --- diff --git a/gdb/c-exp.y b/gdb/c-exp.y index 87aca4d59b1..5db63551d21 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", value.tsval.type, - value.tsval.length, val.tsval.ptr); + value.tsval.length, value.tsval.ptr); break; case NSSTRING: