diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2024-04-23 09:23:00 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2024-04-23 11:26:14 -0400 |
commit | dcff5e80e6672ad09c413ad2a3003de01b91ad6b (patch) | |
tree | a8f5d6189898fc6e357a55cdf6f2fe6cb6639c42 /gdb/defs.h | |
parent | e5dc0d5d04e68328242fc171098e78f79589c7b7 (diff) | |
download | binutils-dcff5e80e6672ad09c413ad2a3003de01b91ad6b.zip binutils-dcff5e80e6672ad09c413ad2a3003de01b91ad6b.tar.gz binutils-dcff5e80e6672ad09c413ad2a3003de01b91ad6b.tar.bz2 |
gdb: move annotation_level declaration/definition to annotate.{h,c}
The declaration of annotation_level is currently in defs.h, while the
definition is in stack.c. I don't really understand why that variable
would live in stack.c, it seems completely unrelated. Move it to
annotate.c, and move the declaration to annotate.h.
Change-Id: I6cf8e9bd20e83959bdf5ad58dd008b6e1187d7d8
Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'gdb/defs.h')
-rw-r--r-- | gdb/defs.h | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -195,12 +195,6 @@ struct value; globals that are currently only available to main.c. */ extern std::string relocate_gdb_directory (const char *initial, bool relocatable); - -/* Annotation stuff. */ - -extern int annotation_level; /* in stack.c */ - - /* From symfile.c */ extern void symbol_file_command (const char *, int); |