aboutsummaryrefslogtreecommitdiff
path: root/gdb/symfile.h
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2002-02-01 01:14:20 +0000
committerMichael Snyder <msnyder@vmware.com>2002-02-01 01:14:20 +0000
commitd874f1e22527c1b95211222c110a137b0f50ec00 (patch)
treeaf6a92d511c250c81dcdc436d91cb4d6891b38ae /gdb/symfile.h
parent9f04af04ceb45a04093896f8f2ecbc531a5c132f (diff)
downloadgdb-d874f1e22527c1b95211222c110a137b0f50ec00.zip
gdb-d874f1e22527c1b95211222c110a137b0f50ec00.tar.gz
gdb-d874f1e22527c1b95211222c110a137b0f50ec00.tar.bz2
2002-01-31 Michael Snyder <msnyder@redhat.com>
* symfile.h (enum overlay_debugging_state): Define enum constant values for overlay mode. * symfile.c (overlay_debugging): Use enums instead of literals. (overlay_is_mapped, overlay_auto_command, overlay_manual_command): Ditto.
Diffstat (limited to 'gdb/symfile.h')
-rw-r--r--gdb/symfile.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/gdb/symfile.h b/gdb/symfile.h
index 8af5aea..9ab8068 100644
--- a/gdb/symfile.h
+++ b/gdb/symfile.h
@@ -253,7 +253,11 @@ extern void find_lowest_section (bfd *, asection *, PTR);
extern bfd *symfile_bfd_open (char *);
/* Utility functions for overlay sections: */
-extern int overlay_debugging;
+extern enum overlay_debugging_state {
+ ovly_off,
+ ovly_on,
+ ovly_auto
+} overlay_debugging;
extern int overlay_cache_invalid;
/* return the "mapped" overlay section containing the PC */