diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2022-01-27 21:50:32 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2022-02-06 16:03:46 -0500 |
commit | 6c9c307c67043b55a209af402246404d89f992c9 (patch) | |
tree | 20a8edd6e245153957a63a702f8f2eef122867c6 /gdb/f-valprint.c | |
parent | 66d7f48f8045adf266046df7ceb84161d5678cfa (diff) | |
download | gdb-6c9c307c67043b55a209af402246404d89f992c9.zip gdb-6c9c307c67043b55a209af402246404d89f992c9.tar.gz gdb-6c9c307c67043b55a209af402246404d89f992c9.tar.bz2 |
gdb: remove SYMBOL_DOMAIN macro
Add a getter and a setter for a symbol's domain. Remove the
corresponding macro and adjust all callers.
Change-Id: I54465b50ac89739c663859a726aef8cdc6e4b8f3
Diffstat (limited to 'gdb/f-valprint.c')
-rw-r--r-- | gdb/f-valprint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/f-valprint.c b/gdb/f-valprint.c index 5925937..e8d8627 100644 --- a/gdb/f-valprint.c +++ b/gdb/f-valprint.c @@ -595,7 +595,7 @@ info_common_command_for_block (const struct block *block, const char *comname, get_user_print_options (&opts); ALL_BLOCK_SYMBOLS (block, iter, sym) - if (SYMBOL_DOMAIN (sym) == COMMON_BLOCK_DOMAIN) + if (sym->domain () == COMMON_BLOCK_DOMAIN) { const struct common_block *common = SYMBOL_VALUE_COMMON_BLOCK (sym); size_t index; |