mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-27 01:28:46 +00:00
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:
@@ -593,7 +593,7 @@ language_defn::read_var_value (struct symbol *var,
|
||||
struct frame_info *frame) const
|
||||
{
|
||||
struct value *v;
|
||||
struct type *type = SYMBOL_TYPE (var);
|
||||
struct type *type = var->type ();
|
||||
CORE_ADDR addr;
|
||||
enum symbol_needs_kind sym_need;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user