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:
Simon Marchi
2022-01-28 10:41:49 -05:00
parent 60f62e2b83
commit 5bbfd12dda
9 changed files with 46 additions and 33 deletions

View File

@@ -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