gdb: remove SYMBOL_TYPE macro

Add a getter and a setter for a symbol's type.  Remove the corresponding
macro and adjust all callers.

Change-Id: Ie1a137744c5bfe1df4d4f9ae5541c5299577c8de
This commit is contained in:
Simon Marchi 2022-01-27 22:16:41 -05:00
parent f5abd8f234
commit 5f9c5a63ce
57 changed files with 342 additions and 333 deletions

View file

@ -134,7 +134,7 @@ compile_object_run (compile_module_up &&module)
try
{
struct type *func_type = SYMBOL_TYPE (func_sym);
struct type *func_type = func_sym->type ();
int current_arg = 0;
struct value **vargs;