aboutsummaryrefslogtreecommitdiff
path: root/gdb/xcoffread.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2023-03-11 09:39:58 -0700
committerTom Tromey <tom@tromey.com>2023-03-18 11:12:38 -0600
commita8ed3dde8340e591043b7e7044d25ff92405993e (patch)
tree600051a3480a65d0a30a405f06240ec9cd844b1b /gdb/xcoffread.c
parent426e5b66a738f4de185410a3e47a61423e0a7bdf (diff)
downloadfsf-binutils-gdb-a8ed3dde8340e591043b7e7044d25ff92405993e.zip
fsf-binutils-gdb-a8ed3dde8340e591043b7e7044d25ff92405993e.tar.gz
fsf-binutils-gdb-a8ed3dde8340e591043b7e7044d25ff92405993e.tar.bz2
Rename objfile_type to builtin_type
This renames objfile_type to be an overload of builtin_type, in preparation for their unification. Reviewed-By: Simon Marchi <simon.marchi@efficios.com>
Diffstat (limited to 'gdb/xcoffread.c')
-rw-r--r--gdb/xcoffread.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/xcoffread.c b/gdb/xcoffread.c
index ab76376..a07f40b 100644
--- a/gdb/xcoffread.c
+++ b/gdb/xcoffread.c
@@ -1486,7 +1486,7 @@ process_xcoff_symbol (struct xcoff_symbol *cs, struct objfile *objfile)
patch_block_stabs (), unless the file was compiled without -g. */
sym->set_linkage_name (SYMNAME_ALLOC (name, symname_alloced));
- sym->set_type (objfile_type (objfile)->nodebug_text_symbol);
+ sym->set_type (builtin_type (objfile)->nodebug_text_symbol);
sym->set_aclass_index (LOC_BLOCK);
sym2 = new (&objfile->objfile_obstack) symbol (*sym);
@@ -1499,7 +1499,7 @@ process_xcoff_symbol (struct xcoff_symbol *cs, struct objfile *objfile)
else
{
/* In case we can't figure out the type, provide default. */
- sym->set_type (objfile_type (objfile)->nodebug_data_symbol);
+ sym->set_type (builtin_type (objfile)->nodebug_data_symbol);
switch (cs->c_sclass)
{