diff options
author | Steve Chamberlain <sac@cygnus> | 1993-07-02 21:26:05 +0000 |
---|---|---|
committer | Steve Chamberlain <sac@cygnus> | 1993-07-02 21:26:05 +0000 |
commit | a0ab5f90d1d836267eafa80ddbda8969997c0531 (patch) | |
tree | b235d975aeddbd355cf24cda21f333a7727a06dc /gdb/config | |
parent | 85e07872b61df1351ceb99e5f32d2fbe022c9eb4 (diff) | |
download | gdb-a0ab5f90d1d836267eafa80ddbda8969997c0531.zip gdb-a0ab5f90d1d836267eafa80ddbda8969997c0531.tar.gz gdb-a0ab5f90d1d836267eafa80ddbda8969997c0531.tar.bz2 |
* config/alpha/xm-alpha.h: Add MAKEVA_END.
Diffstat (limited to 'gdb/config')
-rw-r--r-- | gdb/config/alpha/xm-alpha.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gdb/config/alpha/xm-alpha.h b/gdb/config/alpha/xm-alpha.h index 64bde04..e2673e6 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; \ +} |