forked from Imagelibrary/binutils-gdb
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>
This commit is contained in:
@@ -22,6 +22,14 @@
|
||||
#include "symtab.h"
|
||||
#include "gdbtypes.h"
|
||||
|
||||
/* Zero means do things normally; we are interacting directly with the
|
||||
user. One means print the full filename and linenumber when a
|
||||
frame is printed, and do so in a format emacs18/emacs19.22 can
|
||||
parse. Two means print similar annotations, but in many more
|
||||
cases and in a slightly different syntax. */
|
||||
|
||||
extern int annotation_level;
|
||||
|
||||
extern void annotate_breakpoint (int);
|
||||
extern void annotate_catchpoint (int);
|
||||
extern void annotate_watchpoint (int);
|
||||
|
||||
Reference in New Issue
Block a user