diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2022-01-28 10:41:49 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2022-04-11 10:46:52 -0400 |
commit | 5bbfd12ddaff56898d5791241cabd1a7b781a416 (patch) | |
tree | 9b0dd8c1404a213a6125d4130bfc565de375e873 /gdb/ppc64-tdep.c | |
parent | 60f62e2b83eb362c5063247235c111a59e13cad1 (diff) | |
download | gdb-5bbfd12ddaff56898d5791241cabd1a7b781a416.zip gdb-5bbfd12ddaff56898d5791241cabd1a7b781a416.tar.gz gdb-5bbfd12ddaff56898d5791241cabd1a7b781a416.tar.bz2 |
gdb: remove minimal symbol size macros
Remove MSYMBOL_HAS_SIZE, MSYMBOL_SIZE and SET_MSYMBOL_SIZE, replace them
with equivalent methods.
Change-Id: I6ee1cf82df37e58dff52ea6568ceb4649c7d7538
Diffstat (limited to 'gdb/ppc64-tdep.c')
-rw-r--r-- | gdb/ppc64-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/ppc64-tdep.c b/gdb/ppc64-tdep.c index 02fcc65..32931f7 100644 --- a/gdb/ppc64-tdep.c +++ b/gdb/ppc64-tdep.c @@ -798,6 +798,6 @@ ppc64_elf_make_msymbol_special (asymbol *sym, struct minimal_symbol *msym) if ((sym->flags & BSF_SYNTHETIC) != 0 && sym->udata.p != NULL) { elf_symbol_type *elf_sym = (elf_symbol_type *) sym->udata.p; - SET_MSYMBOL_SIZE (msym, elf_sym->internal_elf_sym.st_size); + msym->set_size (elf_sym->internal_elf_sym.st_size); } } |