aboutsummaryrefslogtreecommitdiff
path: root/gdb/hppa-tdep.c
diff options
context:
space:
mode:
authorKung Hsu <kung@cygnus>1995-02-28 23:08:06 +0000
committerKung Hsu <kung@cygnus>1995-02-28 23:08:06 +0000
commit326ae3e292a6018b70f0229192de8a53248af663 (patch)
tree5beceb25ecf12c47e04efd74c6d2618f3fa53036 /gdb/hppa-tdep.c
parent121bdf8f01b1f1d9fc719e3dce3c1c2e9b7c2731 (diff)
downloadgdb-326ae3e292a6018b70f0229192de8a53248af663.zip
gdb-326ae3e292a6018b70f0229192de8a53248af663.tar.gz
gdb-326ae3e292a6018b70f0229192de8a53248af663.tar.bz2
* defs.h: define SWAP_TARGET_AND_HOST macro.
* findvar.c, monitor.c, hppa-tdep.c: remove definition of SWAP_TARGET_AND_HOST.
Diffstat (limited to 'gdb/hppa-tdep.c')
-rw-r--r--gdb/hppa-tdep.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/gdb/hppa-tdep.c b/gdb/hppa-tdep.c
index 52f9b93..74efb3b 100644
--- a/gdb/hppa-tdep.c
+++ b/gdb/hppa-tdep.c
@@ -55,24 +55,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "symfile.h"
#include "objfiles.h"
-#define SWAP_TARGET_AND_HOST(buffer,len) \
- do \
- { \
- if (TARGET_BYTE_ORDER != HOST_BYTE_ORDER) \
- { \
- char tmp; \
- char *p = (char *)(buffer); \
- char *q = ((char *)(buffer)) + len - 1; \
- for (; p < q; p++, q--) \
- { \
- tmp = *q; \
- *q = *p; \
- *p = tmp; \
- } \
- } \
- } \
- while (0)
-
static int restore_pc_queue PARAMS ((struct frame_saved_regs *));
static int hppa_alignof PARAMS ((struct type *));