aboutsummaryrefslogtreecommitdiff
path: root/gdb/mips-tdep.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/mips-tdep.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/mips-tdep.c')
-rw-r--r--gdb/mips-tdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c
index 78e7f5c..ec95d54 100644
--- a/gdb/mips-tdep.c
+++ b/gdb/mips-tdep.c
@@ -7836,11 +7836,11 @@ mips_skip_pic_trampoline_code (struct frame_info *frame, CORE_ADDR pc)
return 0;
/* A two-instruction header. */
- if (MSYMBOL_SIZE (msym.minsym) == 8)
+ if (msym.minsym->size () == 8)
return pc + 8;
/* A three-instruction (plus delay slot) trampoline. */
- if (MSYMBOL_SIZE (msym.minsym) == 16)
+ if (msym.minsym->size () == 16)
{
if (target_read_memory (pc, stub_code, 16) != 0)
return 0;