[binutils-gdb] Fix typo in stap_parse_argument_conditionally

Tom Tromey tromey@sourceware.org
Wed Feb 10 00:41:44 GMT 2021


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

commit 9bb305b389f98a1ea271463a0a8ded70317e3f74
Author: Tom Tromey <tom@tromey.com>
Date:   Tue Feb 9 17:35:59 2021 -0700

    Fix typo in stap_parse_argument_conditionally
    
    This fixes a typo in an error message in
    stap_parse_argument_conditionally.
    
    gdb/ChangeLog
    2021-02-09  Tom Tromey  <tom@tromey.com>
    
            * stap-probe.c (stap_parse_argument_conditionally): Fix typo.

Diff:
---
 gdb/ChangeLog    | 4 ++++
 gdb/stap-probe.c | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 429e4d016f8..120dee81004 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2021-02-09  Tom Tromey  <tom@tromey.com>
+
+	* stap-probe.c (stap_parse_argument_conditionally): Fix typo.
+
 2021-02-09  Tom de Vries  <tdevries@suse.de>
 
 	PR symtab/27341
diff --git a/gdb/stap-probe.c b/gdb/stap-probe.c
index 224dd5714fa..bbdfbcd0267 100644
--- a/gdb/stap-probe.c
+++ b/gdb/stap-probe.c
@@ -1031,7 +1031,7 @@ stap_parse_argument_conditionally (struct stap_parse_info *p)
 
       p->arg = skip_spaces (p->arg);
       if (*p->arg != ')')
-	error (_("Missign close-parenthesis on expression `%s'."),
+	error (_("Missing close-parenthesis on expression `%s'."),
 	       p->saved_arg);
 
       --p->inside_paren_p;


More information about the Gdb-cvs mailing list