diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2022-01-28 10:28:57 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2022-04-11 10:46:07 -0400 |
commit | 60f62e2b83eb362c5063247235c111a59e13cad1 (patch) | |
tree | c74a83d20a05ab710391425f072f79e31276db5a /gdb/symmisc.c | |
parent | gdb: remove symbol value macros (diff) | |
download | binutils-gdb-60f62e2b83eb362c5063247235c111a59e13cad1.tar.gz binutils-gdb-60f62e2b83eb362c5063247235c111a59e13cad1.tar.bz2 binutils-gdb-60f62e2b83eb362c5063247235c111a59e13cad1.zip |
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/symmisc.c')
-rw-r--r-- | gdb/symmisc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/symmisc.c b/gdb/symmisc.c index 1bc5f9f0bd9..18741e4cab5 100644 --- a/gdb/symmisc.c +++ b/gdb/symmisc.c @@ -160,7 +160,7 @@ dump_msymbols (struct objfile *objfile, struct ui_file *outfile) { struct obj_section *section = msymbol->obj_section (objfile); - switch (MSYMBOL_TYPE (msymbol)) + switch (msymbol->type ()) { case mst_unknown: ms_type = 'u'; |