From: Andrew Burgess <aburgess@redhat.com>
To: gdb-patches@sourceware.org
Cc: Andrew Burgess <aburgess@redhat.com>
Subject: [PUSHED] gdb: fix unknown variable typo in c-exp.y
Date: Mon, 22 Apr 2024 10:41:25 +0100 [thread overview]
Message-ID: <39f0ac383169d7ef8b3169e483ae95dd185e41bd.1713778825.git.aburgess@redhat.com> (raw)
In-Reply-To: <20240417225228.1789947-1-tom@tromey.com>
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
---
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:
base-commit: 911cb006bf029ada9f6364619257dffe9218e92a
--
2.25.4
prev parent reply other threads:[~2024-04-22 9:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-17 22:52 [PATCH] Remove some alloca uses Tom Tromey
2024-04-20 20:27 ` John Baldwin
2024-04-22 9:41 ` Andrew Burgess [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=39f0ac383169d7ef8b3169e483ae95dd185e41bd.1713778825.git.aburgess@redhat.com \
--to=aburgess@redhat.com \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).