public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] gdb: fix unknown variable typo in c-exp.y
@ 2024-04-22  9:39 Andrew Burgess
  0 siblings, 0 replies; only message in thread
From: Andrew Burgess @ 2024-04-22  9:39 UTC (permalink / raw)
  To: gdb-cvs

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=39f0ac383169d7ef8b3169e483ae95dd185e41bd

commit 39f0ac383169d7ef8b3169e483ae95dd185e41bd
Author: Andrew Burgess <aburgess@redhat.com>
Date:   Mon Apr 22 10:25:51 2024 +0100

    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:
---
 gdb/c-exp.y | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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<type=%d, %.*s>", value.tsval.type,
-		      value.tsval.length, val.tsval.ptr);
+		      value.tsval.length, value.tsval.ptr);
       break;
 
     case NSSTRING:

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-04-22  9:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-22  9:39 [binutils-gdb] gdb: fix unknown variable typo in c-exp.y Andrew Burgess

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).