X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Fbreak-catch-syscall.c;h=e51777c0350531505c217ffedea6db7ec8c25007;hb=ab1ddbcf110a3f1ad45e3a346d2da98ffb833dec;hp=97eb100e6de9c32c4fccb52f3b3597ee57c65d80;hpb=f3f8ece4b1c77c925d1f1566df0bf632790a4d24;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/break-catch-syscall.c b/gdb/break-catch-syscall.c index 97eb100e6d..e51777c035 100644 --- a/gdb/break-catch-syscall.c +++ b/gdb/break-catch-syscall.c @@ -182,12 +182,11 @@ print_it_catch_syscall (bpstat bs) syscall is. It can be in the TARGET_WAITKIND_SYSCALL_ENTRY or TARGET_WAITKIND_SYSCALL_RETURN, and depending on it we must print "called syscall" or "returned from syscall". */ - ptid_t ptid; struct target_waitstatus last; struct syscall s; struct gdbarch *gdbarch = bs->bp_location_at->gdbarch; - get_last_target_status (&ptid, &last); + get_last_target_status (nullptr, &last); get_syscall_by_number (gdbarch, last.value.syscall_number, &s);