Browse Source

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 e6375bc8eb
  Date:   Wed Apr 17 16:17:33 2024 -0600

      Remove some alloca uses
master
Andrew Burgess 2 years ago
parent
commit
39f0ac3831
  1. 2
      gdb/c-exp.y

2
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:

Loading…
Cancel
Save