Rename to allow_rust_tests
[binutils-gdb.git] / gdb / c-lang.h
index 93515671d803f0aff5b49e8017ff19fc459d4b67..024a302b3f2dbac76dc33b3368c2c1dd830c87f7 100644 (file)
@@ -1,6 +1,6 @@
 /* C language support definitions for GDB, the GNU debugger.
 
-   Copyright (C) 1992-2022 Free Software Foundation, Inc.
+   Copyright (C) 1992-2023 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -167,4 +167,9 @@ extern std::string cplus_compute_program (compile_instance *inst,
                                          const struct block *expr_block,
                                          CORE_ADDR expr_pc);
 
+/* Return the canonical form of the C symbol NAME.  If NAME is already
+   canonical, return nullptr.  */
+
+extern gdb::unique_xmalloc_ptr<char> c_canonicalize_name (const char *name);
+
 #endif /* !defined (C_LANG_H) */