AArch64: Add MTE ptrace requests
[binutils-gdb.git] / gdb / amd64-obsd-tdep.c
index 5a7e6aeabe72998e7dd7fb81fcccaa5de785c018..cdb09d0272bcae309b6baa5e04d76a99255b1ab0 100644 (file)
@@ -78,7 +78,7 @@ amd64obsd_sigtramp_p (struct frame_info *this_frame)
 
   /* If we can't read the instructions at START_PC, return zero.  */
   buf = (gdb_byte *) alloca ((sizeof sigreturn) + 1);
-  if (!safe_frame_unwind_memory (this_frame, start_pc + 6, buf, buflen))
+  if (!safe_frame_unwind_memory (this_frame, start_pc + 6, {buf, buflen}))
     return 0;
 
   /* Check for sigreturn(2).  Depending on how the assembler encoded