aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/alpha
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-10-13 18:17:49 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-10-13 18:17:49 +0000
commit9309b4d9291f1a40de779dbaf003b4e921e87c9e (patch)
treeaaa42daa75df4a4969417766c729d16059e71d4c /gdb/config/alpha
parentb7cbb59ff6d21d1f91bc6f87ee46511feed0966d (diff)
downloadgdb-9309b4d9291f1a40de779dbaf003b4e921e87c9e.zip
gdb-9309b4d9291f1a40de779dbaf003b4e921e87c9e.tar.gz
gdb-9309b4d9291f1a40de779dbaf003b4e921e87c9e.tar.bz2
* printcmd.c (printf_command): Instead of using makeva* and
calling vprintf, just make the appropriate calls to printf. * printcmd.c, config/pa/xm-pa.h, config/mips/xm-makeva.h, config/alpha/xm-alpha.h, config/m88k/xm-m88k.h: Remove all traces of makeva*. My apologies to everyone (including me!) who spent so much time getting it to work on various machines, but look at the bright side, at least you won't have to do it again in the future. * printcmd.c (printf_command): Make a cleanup for val_args (fixes a memory leak).
Diffstat (limited to 'gdb/config/alpha')
-rw-r--r--gdb/config/alpha/xm-alpha.h34
1 files changed, 0 insertions, 34 deletions
diff --git a/gdb/config/alpha/xm-alpha.h b/gdb/config/alpha/xm-alpha.h
index 5edc862..5274c3b 100644
--- a/gdb/config/alpha/xm-alpha.h
+++ b/gdb/config/alpha/xm-alpha.h
@@ -27,40 +27,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
/* The alpha has no siginterrupt routine. */
#define NO_SIGINTERRUPT
-/* The alpha stores the first six float parameters below the va_list.
- We make no distinction and store the first six parameters below
- and above the va_list. */
-#define VA_FLOAT_ARGS_SIZE (6*8)
-#define MAKEVA_SIZE(nargs, max_arg_size) \
- return sizeof (makeva_list) + nargs * max_arg_size + VA_FLOAT_ARGS_SIZE;
-#define MAKEVA_START(list) \
- list->argindex = VA_FLOAT_ARGS_SIZE;
-#define MAKEVA_ARG(list, argaddr, argsize) \
-{ \
- memcpy (&list->aligner.arg_bytes[list->argindex], argaddr, argsize); \
- if ((list->argindex - VA_FLOAT_ARGS_SIZE) < VA_FLOAT_ARGS_SIZE) \
- memcpy (&list->aligner.arg_bytes[list->argindex - VA_FLOAT_ARGS_SIZE],\
- argaddr, argsize); \
- list->argindex += argsize; \
-}
-#ifdef __GNUC__
-#define MAKEVA_END(list) \
-{ \
- va_list ret; \
- ret.__base = &(list)->aligner.arg_bytes[VA_FLOAT_ARGS_SIZE]; \
- ret.__offset = 0; \
- return ret; \
-}
-#else
-#define MAKEVA_END(list) \
-{ \
- va_list ret; \
- ret.a0 = &(list)->aligner.arg_bytes[VA_FLOAT_ARGS_SIZE]; \
- ret.offset = 0; \
- return ret; \
-}
-#endif
-
/* HAVE_SGTTY also works, but we have termios, so use it. */
#define HAVE_TERMIOS