From: Steve Chamberlain Date: Fri, 2 Jul 1993 21:26:05 +0000 (+0000) Subject: * config/alpha/xm-alpha.h: Add MAKEVA_END. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a0ab5f90d1d836267eafa80ddbda8969997c0531;p=binutils-gdb.git * config/alpha/xm-alpha.h: Add MAKEVA_END. --- diff --git a/gdb/config/alpha/xm-alpha.h b/gdb/config/alpha/xm-alpha.h index 64bde040616..e2673e682d9 100644 --- a/gdb/config/alpha/xm-alpha.h +++ b/gdb/config/alpha/xm-alpha.h @@ -38,3 +38,12 @@ extern void free PARAMS ((void *)); #define NO_SIGINTERRUPT #define KERNEL_U_ADDR 0 + + +#define MAKEVA_END(list) \ +{ \ + va_list ret; \ + ret.a0 = (char *)(list)->arg_bytes; \ + ret.offset = (list)->argindex; \ + return ret; \ +}