[binutils-gdb] Update comment in rust-parse.c

Tom Tromey tromey@sourceware.org
Sat Aug 23 22:41:56 GMT 2025


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

commit 09ceeb729e9beea245cb30f0eb75177d295136ec
Author: Tom Tromey <tom@tromey.com>
Date:   Sat Aug 23 16:40:35 2025 -0600

    Update comment in rust-parse.c
    
    I noticed an out-of-date comment in rust-parse.c.

Diff:
---
 gdb/rust-parse.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gdb/rust-parse.c b/gdb/rust-parse.c
index 7fad148f98b..6ad654293e7 100644
--- a/gdb/rust-parse.c
+++ b/gdb/rust-parse.c
@@ -335,7 +335,7 @@ struct rust_parser
     return std::string (current_string_val.ptr, current_string_val.length);
   }
 
-  /* A pointer to this is installed globally.  */
+  /* Storage for use while parsing.  */
   auto_obstack obstack;
 
   /* The parser state gdb gave us.  */


More information about the Gdb-cvs mailing list