diff options
author | Tom de Vries <tdevries@suse.de> | 2022-07-15 14:02:17 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2022-07-21 15:06:40 +0200 |
commit | 3f7397885b897e3e921268510844811639fe56d8 (patch) | |
tree | abb7526acbc459a4affd6fcbad91cdc362bb9bdf /gdb/cp-namespace.c | |
parent | 281b014f527acb8e9e7e35f9c2dbf3db5b2ae270 (diff) | |
download | binutils-3f7397885b897e3e921268510844811639fe56d8.zip binutils-3f7397885b897e3e921268510844811639fe56d8.tar.gz binutils-3f7397885b897e3e921268510844811639fe56d8.tar.bz2 |
[gdb] Make objfile_obstack a member function
Prepare to fix race conditions in a single location.
Diffstat (limited to 'gdb/cp-namespace.c')
-rw-r--r-- | gdb/cp-namespace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/cp-namespace.c b/gdb/cp-namespace.c index e734eff..0a59073 100644 --- a/gdb/cp-namespace.c +++ b/gdb/cp-namespace.c @@ -97,7 +97,7 @@ cp_scan_for_anonymous_namespaces (struct buildsym_compunit *compunit, std::vector<const char *> excludes; add_using_directive (compunit->get_local_using_directives (), dest, src, NULL, NULL, excludes, - 1, &objfile->objfile_obstack); + 1, objfile->objfile_obstack ()); } /* The "+ 2" is for the "::". */ previous_component = next_component + 2; |