diff options
Diffstat (limited to 'gdb/stabsread.h')
-rw-r--r-- | gdb/stabsread.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/gdb/stabsread.h b/gdb/stabsread.h index a88b593..15f7326 100644 --- a/gdb/stabsread.h +++ b/gdb/stabsread.h @@ -1,5 +1,5 @@ /* Include file for stabs debugging format support functions. - Copyright (C) 1986-2024 Free Software Foundation, Inc. + Copyright (C) 1986-2025 Free Software Foundation, Inc. This file is part of GDB. @@ -131,7 +131,7 @@ struct header_file /* The actual length of HEADER_FILES. */ #define N_HEADER_FILES(OBJFILE) (DBX_SYMFILE_INFO (OBJFILE)->n_header_files) -/* The allocated lengh of HEADER_FILES. */ +/* The allocated length of HEADER_FILES. */ #define N_ALLOCATED_HEADER_FILES(OBJFILE) \ (DBX_SYMFILE_INFO (OBJFILE)->n_allocated_header_files) @@ -305,4 +305,10 @@ struct symloc int file_string_offset; enum language pst_language; }; + +static inline void +stabs_deprecated_warning () +{ + warning (_("Stabs support is deprecated and will be removed soon.")); +} #endif /* GDB_STABSREAD_H */ |