diff options
Diffstat (limited to 'gdb/buildsym.h')
-rw-r--r-- | gdb/buildsym.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gdb/buildsym.h b/gdb/buildsym.h index c1eed24..8f38131 100644 --- a/gdb/buildsym.h +++ b/gdb/buildsym.h @@ -1,5 +1,5 @@ /* Build symbol tables in GDB's internal format. - Copyright (C) 1986-2024 Free Software Foundation, Inc. + Copyright (C) 1986-2025 Free Software Foundation, Inc. This file is part of GDB. @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#if !defined (BUILDSYM_H) -#define BUILDSYM_H 1 +#ifndef GDB_BUILDSYM_H +#define GDB_BUILDSYM_H #include "gdbsupport/gdb_obstack.h" #include "symtab.h" @@ -55,7 +55,7 @@ struct subfile struct subfile *next = nullptr; std::string name; - /* This field is analoguous in function to symtab::filename_for_id. + /* This field is analogous in function to symtab::filename_for_id. It is used to look up existing subfiles in calls to start_subfile. */ std::string name_for_id; @@ -448,7 +448,7 @@ private: struct pending *m_local_symbols = nullptr; }; - +using buildsym_compunit_up = std::unique_ptr<buildsym_compunit>; extern void add_symbol_to_list (struct symbol *symbol, struct pending **listhead); @@ -456,4 +456,4 @@ extern void add_symbol_to_list (struct symbol *symbol, extern struct symbol *find_symbol_in_list (struct pending *list, char *name, int length); -#endif /* defined (BUILDSYM_H) */ +#endif /* GDB_BUILDSYM_H */ |