diff options
author | Michael Snyder <msnyder@specifix.com> | 2002-02-01 01:14:20 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@specifix.com> | 2002-02-01 01:14:20 +0000 |
commit | 4af20547f77297909783a7c722499fb90c4cd1a6 (patch) | |
tree | bea21667df86cb6c798e8c5c33a0b1baa17e9e95 /gdb/symfile.h | |
parent | 378c8b7acc7b3d9ecfdd2e9ccf8f67ab92cfd31b (diff) | |
download | gdb-4af20547f77297909783a7c722499fb90c4cd1a6.tar.gz |
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.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gdb/symfile.h b/gdb/symfile.h index 8af5aeaff14..9ab8068d112 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 */ |