forked from Imagelibrary/binutils-gdb
gdb: remove minimal symbol size macros
Remove MSYMBOL_HAS_SIZE, MSYMBOL_SIZE and SET_MSYMBOL_SIZE, replace them with equivalent methods. Change-Id: I6ee1cf82df37e58dff52ea6568ceb4649c7d7538
This commit is contained in:
@@ -94,7 +94,7 @@ ld_so_xfer_auxv (gdb_byte *readbuf,
|
||||
if (msym.minsym == NULL)
|
||||
return TARGET_XFER_E_IO;
|
||||
|
||||
if (MSYMBOL_SIZE (msym.minsym) != ptr_size)
|
||||
if (msym.minsym->size () != ptr_size)
|
||||
return TARGET_XFER_E_IO;
|
||||
|
||||
/* POINTER_ADDRESS is a location where the `_dl_auxv' variable
|
||||
|
||||
Reference in New Issue
Block a user