aboutsummaryrefslogtreecommitdiff
path: root/gdb/valops.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-05-05 15:42:53 +0000
committerAndrew Cagney <cagney@redhat.com>2004-05-05 15:42:53 +0000
commit10a4b113218bc2f44aa4f511cc504e9b1c658bf4 (patch)
tree8083559643586b447ea1081e68a798e1494e7164 /gdb/valops.c
parent06fc8a8ce6dc6e3896c672e2b809fc9a44077fed (diff)
downloadgdb-10a4b113218bc2f44aa4f511cc504e9b1c658bf4.zip
gdb-10a4b113218bc2f44aa4f511cc504e9b1c658bf4.tar.gz
gdb-10a4b113218bc2f44aa4f511cc504e9b1c658bf4.tar.bz2
2004-05-05 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (PARM_BOUNDARY): Delete. gdbarch.h, gdbarch.c: Re-generate. * valops.c (PARM_BOUNDARY): Delete macro. (value_push): Delete PARM_BOUNDARY code. * m68k-tdep.c (m68k_gdbarch_init): Do not set parm_boundary.
Diffstat (limited to 'gdb/valops.c')
-rw-r--r--gdb/valops.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/gdb/valops.c b/gdb/valops.c
index c638c91..25c7443 100644
--- a/gdb/valops.c
+++ b/gdb/valops.c
@@ -1005,10 +1005,6 @@ push_bytes (CORE_ADDR sp, char *buffer, int len)
return sp;
}
-#ifndef PARM_BOUNDARY
-#define PARM_BOUNDARY (0)
-#endif
-
/* Push onto the stack the specified value VALUE. Pad it correctly for
it to be an argument to a function. */
@@ -1019,11 +1015,6 @@ value_push (CORE_ADDR sp, struct value *arg)
int container_len = len;
int offset;
- /* How big is the container we're going to put this value in? */
- if (PARM_BOUNDARY)
- container_len = ((len + PARM_BOUNDARY / TARGET_CHAR_BIT - 1)
- & ~(PARM_BOUNDARY / TARGET_CHAR_BIT - 1));
-
/* Are we going to put it at the high or low end of the container? */
if (TARGET_BYTE_ORDER == BFD_ENDIAN_BIG)
offset = container_len - len;