diff options
author | Doug Evans <dje@google.com> | 2013-09-25 21:51:27 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2013-09-25 21:51:27 +0000 |
commit | 20c681d15f0ca83a5fc4b6811585865799b79706 (patch) | |
tree | c8d285c80379eb04e943fa04b927b3d92d4a3cb7 /gdb/symtab.h | |
parent | ade7ed9e33d5f0bff646623bc8c905c0d782fcdc (diff) | |
download | gdb-20c681d15f0ca83a5fc4b6811585865799b79706.zip gdb-20c681d15f0ca83a5fc4b6811585865799b79706.tar.gz gdb-20c681d15f0ca83a5fc4b6811585865799b79706.tar.bz2 |
* symtab.c (domain_name, search_domain_name): New functions.
* symtab.h (domain_name, search_domain_name): Declare.
Diffstat (limited to 'gdb/symtab.h')
-rw-r--r-- | gdb/symtab.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/symtab.h b/gdb/symtab.h index ccf4a4f..3d3c05c 100644 --- a/gdb/symtab.h +++ b/gdb/symtab.h @@ -427,6 +427,8 @@ typedef enum domain_enum_tag COMMON_BLOCK_DOMAIN } domain_enum; +extern const char *domain_name (domain_enum); + /* Searching domains, used for `search_symbols'. Element numbers are hardcoded in GDB, check all enum uses before changing it. */ @@ -446,6 +448,8 @@ enum search_domain ALL_DOMAIN = 3 }; +extern const char *search_domain_name (enum search_domain); + /* An address-class says where to find the value of a symbol. */ enum address_class |