aboutsummaryrefslogtreecommitdiff
path: root/gdb/auxv.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2022-01-28 10:41:49 -0500
committerSimon Marchi <simon.marchi@efficios.com>2022-04-11 10:46:52 -0400
commit5bbfd12ddaff56898d5791241cabd1a7b781a416 (patch)
tree9b0dd8c1404a213a6125d4130bfc565de375e873 /gdb/auxv.c
parent60f62e2b83eb362c5063247235c111a59e13cad1 (diff)
downloadgdb-5bbfd12ddaff56898d5791241cabd1a7b781a416.zip
gdb-5bbfd12ddaff56898d5791241cabd1a7b781a416.tar.gz
gdb-5bbfd12ddaff56898d5791241cabd1a7b781a416.tar.bz2
gdb: remove minimal symbol size macros
Remove MSYMBOL_HAS_SIZE, MSYMBOL_SIZE and SET_MSYMBOL_SIZE, replace them with equivalent methods. Change-Id: I6ee1cf82df37e58dff52ea6568ceb4649c7d7538
Diffstat (limited to 'gdb/auxv.c')
-rw-r--r--gdb/auxv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/auxv.c b/gdb/auxv.c
index 190cd69..8e17513 100644
--- a/gdb/auxv.c
+++ b/gdb/auxv.c
@@ -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