diff options
author | Tom Tromey <tom@tromey.com> | 2023-01-16 17:24:16 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2023-02-19 12:51:05 -0700 |
commit | 7f5937df01cc829544baa921bfb81bfe0ccdc892 (patch) | |
tree | 4d9def9bc793bc199a990a13bbe5bbb4364bbd80 /gdb/d-namespace.c | |
parent | 46baa3c6cf679e53b233708f7d5efd543c1084d7 (diff) | |
download | binutils-7f5937df01cc829544baa921bfb81bfe0ccdc892.zip binutils-7f5937df01cc829544baa921bfb81bfe0ccdc892.tar.gz binutils-7f5937df01cc829544baa921bfb81bfe0ccdc892.tar.bz2 |
Convert block_gdbarch to method
This converts block_gdbarch to be a method. This was mostly written
by script.
Diffstat (limited to 'gdb/d-namespace.c')
-rw-r--r-- | gdb/d-namespace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/d-namespace.c b/gdb/d-namespace.c index 2978e5f..aaef1df 100644 --- a/gdb/d-namespace.c +++ b/gdb/d-namespace.c @@ -94,7 +94,7 @@ d_lookup_symbol (const struct language_defn *langdef, if (block == NULL) gdbarch = target_gdbarch (); else - gdbarch = block_gdbarch (block); + gdbarch = block->gdbarch (); sym.symbol = language_lookup_primitive_type_as_symbol (langdef, gdbarch, name); sym.block = NULL; |