since amd64 is compiled with -msave-args we have all arguments available to print and
there's no reason to limit this to six.
discussed with kettenis@
-/* $OpenBSD: db_trace.c,v 1.53 2020/05/14 06:58:54 mpi Exp $ */
+/* $OpenBSD: db_trace.c,v 1.54 2021/09/04 07:13:14 jasper Exp $ */
/* $NetBSD: db_trace.c,v 1.1 2003/04/26 18:39:27 fvdl Exp $ */
/*
}
}
- narg = db_ctf_func_numargs(sym);
- if (narg < 0 || narg > 6)
+ if ((narg = db_ctf_func_numargs(sym)) < 0)
narg = 6;
if (name == NULL)