forked from Imagelibrary/binutils-gdb
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
This commit is contained in:
@@ -766,7 +766,7 @@ compile_object_load (const compile_file_names &file_names,
|
||||
|
||||
bmsym = lookup_minimal_symbol (sym->name, NULL, NULL);
|
||||
switch (bmsym.minsym == NULL
|
||||
? mst_unknown : MSYMBOL_TYPE (bmsym.minsym))
|
||||
? mst_unknown : bmsym.minsym->type ())
|
||||
{
|
||||
case mst_text:
|
||||
case mst_bss:
|
||||
|
||||
Reference in New Issue
Block a user