diff options
author | Tom Tromey <tom@tromey.com> | 2023-03-11 09:39:58 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2023-03-18 11:12:38 -0600 |
commit | a8ed3dde8340e591043b7e7044d25ff92405993e (patch) | |
tree | 600051a3480a65d0a30a405f06240ec9cd844b1b /gdb/parse.c | |
parent | 426e5b66a738f4de185410a3e47a61423e0a7bdf (diff) | |
download | gdb-a8ed3dde8340e591043b7e7044d25ff92405993e.zip gdb-a8ed3dde8340e591043b7e7044d25ff92405993e.tar.gz 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/parse.c')
-rw-r--r-- | gdb/parse.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gdb/parse.c b/gdb/parse.c index b2cc6c5..24db3ca 100644 --- a/gdb/parse.c +++ b/gdb/parse.c @@ -142,7 +142,7 @@ find_minsym_type_and_address (minimal_symbol *msymbol, /* Skip translation if caller does not need the address. */ if (address_p != NULL) *address_p = target_translate_tls_address (objfile, addr); - return objfile_type (objfile)->nodebug_tls_symbol; + return builtin_type (objfile)->nodebug_tls_symbol; } if (address_p != NULL) @@ -153,22 +153,22 @@ find_minsym_type_and_address (minimal_symbol *msymbol, case mst_text: case mst_file_text: case mst_solib_trampoline: - return objfile_type (objfile)->nodebug_text_symbol; + return builtin_type (objfile)->nodebug_text_symbol; case mst_text_gnu_ifunc: - return objfile_type (objfile)->nodebug_text_gnu_ifunc_symbol; + return builtin_type (objfile)->nodebug_text_gnu_ifunc_symbol; case mst_data: case mst_file_data: case mst_bss: case mst_file_bss: - return objfile_type (objfile)->nodebug_data_symbol; + return builtin_type (objfile)->nodebug_data_symbol; case mst_slot_got_plt: - return objfile_type (objfile)->nodebug_got_plt_symbol; + return builtin_type (objfile)->nodebug_got_plt_symbol; default: - return objfile_type (objfile)->nodebug_unknown_symbol; + return builtin_type (objfile)->nodebug_unknown_symbol; } } |