aboutsummaryrefslogtreecommitdiff
path: root/gdb/defs.h
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2024-04-23 09:23:00 -0400
committerSimon Marchi <simon.marchi@polymtl.ca>2024-04-23 11:26:14 -0400
commitdcff5e80e6672ad09c413ad2a3003de01b91ad6b (patch)
treea8f5d6189898fc6e357a55cdf6f2fe6cb6639c42 /gdb/defs.h
parente5dc0d5d04e68328242fc171098e78f79589c7b7 (diff)
downloadgdb-dcff5e80e6672ad09c413ad2a3003de01b91ad6b.zip
gdb-dcff5e80e6672ad09c413ad2a3003de01b91ad6b.tar.gz
gdb-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.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/gdb/defs.h b/gdb/defs.h
index 11e2190..c3b8b0b 100644
--- a/gdb/defs.h
+++ b/gdb/defs.h
@@ -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);