diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2022-01-27 22:06:47 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2022-02-06 16:03:46 -0500 |
commit | d9743061f92738a6c3f311d640e614a5a2f01b1e (patch) | |
tree | 526c9f1911ab21c38bcee992174f7a7457bba773 /gdb/symmisc.c | |
parent | gdb: remove SYMBOL_OBJFILE_OWNED macro (diff) | |
download | binutils-gdb-d9743061f92738a6c3f311d640e614a5a2f01b1e.tar.gz binutils-gdb-d9743061f92738a6c3f311d640e614a5a2f01b1e.tar.bz2 binutils-gdb-d9743061f92738a6c3f311d640e614a5a2f01b1e.zip |
gdb: remove SYMBOL_IS_ARGUMENT macro
Add a getter and a setter for whether a symbol is an argument. Remove
the corresponding macro and adjust all callers.
Change-Id: I71b4f0465f3dfd2ed8b9e140bd3f7d5eb8d9ee81
Diffstat (limited to 'gdb/symmisc.c')
-rw-r--r-- | gdb/symmisc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/symmisc.c b/gdb/symmisc.c index cb16b5c202b..328230afe3a 100644 --- a/gdb/symmisc.c +++ b/gdb/symmisc.c @@ -589,7 +589,7 @@ print_symbol (struct gdbarch *gdbarch, struct symbol *symbol, break; case LOC_REGISTER: - if (SYMBOL_IS_ARGUMENT (symbol)) + if (symbol->is_argument ()) fprintf_filtered (outfile, "parameter register %s", plongest (SYMBOL_VALUE (symbol))); else |