#include "source-cache.h"
#include "ui.h"
+/* See annotate.h. */
+
+int annotation_level = 0;
+
/* Prototypes for local functions. */
static void print_value_flags (struct type *);
#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);
globals that are currently only available to main.c. */
extern std::string relocate_gdb_directory (const char *initial, bool relocatable);
-\f
-/* Annotation stuff. */
-
-extern int annotation_level; /* in stack.c */
-\f
-
/* From symfile.c */
extern void symbol_file_command (const char *, int);
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
+#include "annotate.h"
#include "top.h"
#include "ui.h"
#include "target.h"
static frame_info_ptr find_frame_for_function (const char *);
static frame_info_ptr find_frame_for_address (CORE_ADDR);
-/* 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. */
-
-int annotation_level = 0;
-
/* Class used to manage tracking the last symtab we displayed. */
class last_displayed_symtab_info_type