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/infrun.c | |
parent | 7b3ecc7555438f05dda657d0ed6a43ee71a3901d (diff) | |
download | gdb-d9743061f92738a6c3f311d640e614a5a2f01b1e.zip gdb-d9743061f92738a6c3f311d640e614a5a2f01b1e.tar.gz gdb-d9743061f92738a6c3f311d640e614a5a2f01b1e.tar.bz2 |
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/infrun.c')
-rw-r--r-- | gdb/infrun.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c index 2e7ed15..f9420d5 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -7935,7 +7935,7 @@ check_exception_resume (struct execution_control_state *ecs, b = SYMBOL_BLOCK_VALUE (func); ALL_BLOCK_SYMBOLS (b, iter, sym) { - if (!SYMBOL_IS_ARGUMENT (sym)) + if (!sym->is_argument ()) continue; if (argno == 0) |