diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2021-11-19 13:15:24 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2022-02-06 15:48:18 -0500 |
commit | 9821f3fa56de3e2c13c234357421ae1839ce27f7 (patch) | |
tree | 8c6ee2bcce75dce1d9b7b13b102fd373be93569f /gdb/buildsym-legacy.c | |
parent | f1f58f102ee5f3dda04853582fcb6f22cc00329b (diff) | |
download | fsf-binutils-gdb-9821f3fa56de3e2c13c234357421ae1839ce27f7.zip fsf-binutils-gdb-9821f3fa56de3e2c13c234357421ae1839ce27f7.tar.gz fsf-binutils-gdb-9821f3fa56de3e2c13c234357421ae1839ce27f7.tar.bz2 |
gdb: remove COMPUNIT_OBJFILE macro
Remove the macro, update all users to use the getter directly.
Change-Id: I3f0fd6f4455d1c4ebd5da73b561eb18a979ef1f6
Diffstat (limited to 'gdb/buildsym-legacy.c')
-rw-r--r-- | gdb/buildsym-legacy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/buildsym-legacy.c b/gdb/buildsym-legacy.c index 8f00902..aa7b8b5 100644 --- a/gdb/buildsym-legacy.c +++ b/gdb/buildsym-legacy.c @@ -301,7 +301,7 @@ restart_symtab (struct compunit_symtab *cust, gdb_assert (buildsym_compunit == nullptr); buildsym_compunit - = new struct buildsym_compunit (COMPUNIT_OBJFILE (cust), + = new struct buildsym_compunit (cust->objfile (), name, COMPUNIT_DIRNAME (cust), compunit_language (cust), |