aboutsummaryrefslogtreecommitdiff
path: root/gdb/coff-pe-read.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2022-01-28 10:28:57 -0500
committerSimon Marchi <simon.marchi@efficios.com>2022-04-11 10:46:07 -0400
commit60f62e2b83eb362c5063247235c111a59e13cad1 (patch)
treec74a83d20a05ab710391425f072f79e31276db5a /gdb/coff-pe-read.c
parent4aeddc50d7a06294cc124dfd8f43992ffa0b7382 (diff)
downloadgdb-60f62e2b83eb362c5063247235c111a59e13cad1.zip
gdb-60f62e2b83eb362c5063247235c111a59e13cad1.tar.gz
gdb-60f62e2b83eb362c5063247235c111a59e13cad1.tar.bz2
gdb: remove MSYMBOL_TYPE macro
Add a getter and a setter for a minimal symbol's type. Remove the corresponding macro and adjust all callers. Change-Id: I89900df5ffa5687133fe1a16b2e0d4684e67a77d
Diffstat (limited to 'gdb/coff-pe-read.c')
-rw-r--r--gdb/coff-pe-read.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/coff-pe-read.c b/gdb/coff-pe-read.c
index 1f11606..3ae2a7f 100644
--- a/gdb/coff-pe-read.c
+++ b/gdb/coff-pe-read.c
@@ -245,7 +245,7 @@ add_pe_forwarded_sym (minimal_symbol_reader &reader,
sym_name, dll_name, forward_qualified_name);
vma = msymbol.value_address ();
- msymtype = MSYMBOL_TYPE (msymbol.minsym);
+ msymtype = msymbol.minsym->type ();
section = msymbol.minsym->section_index ();
/* Generate a (hopefully unique) qualified name using the first part