aboutsummaryrefslogtreecommitdiff
path: root/gdb/symtab.h
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1991-04-13 22:21:23 +0000
committerJohn Gilmore <gnu@cygnus>1991-04-13 22:21:23 +0000
commit92a29b47d76bc5345917523a0dec412a472d06ef (patch)
treea714fb9be8e6d91920b276d7544f6e174a996274 /gdb/symtab.h
parentf96238813e81c4c11ff5afefa032b19ae5658491 (diff)
downloadgdb-92a29b47d76bc5345917523a0dec412a472d06ef.zip
gdb-92a29b47d76bc5345917523a0dec412a472d06ef.tar.gz
gdb-92a29b47d76bc5345917523a0dec412a472d06ef.tar.bz2
* symtab.h (GLOBAL_BLOCK, STATIC_BLOCK, FIRST_LOCAL_BLOCK): New
defines for the blocks of a blockvector that contain global and file-static symbols and the first of the smaller scope contours.
Diffstat (limited to 'gdb/symtab.h')
-rw-r--r--gdb/symtab.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/symtab.h b/gdb/symtab.h
index e63c879..0421357 100644
--- a/gdb/symtab.h
+++ b/gdb/symtab.h
@@ -317,6 +317,11 @@ struct blockvector
struct block *block[1];
};
+/* Special block numbers */
+#define GLOBAL_BLOCK 0
+#define STATIC_BLOCK 1
+#define FIRST_LOCAL_BLOCK 2
+
struct block
{
/* Addresses in the executable code that are in this block.