aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/rs6000
diff options
context:
space:
mode:
authorMichael Meissner <gnu@the-meissners.org>1995-06-06 14:49:32 +0000
committerMichael Meissner <gnu@the-meissners.org>1995-06-06 14:49:32 +0000
commit5c172b4bfde5f6aab86afa5441ef849b3e95ab2e (patch)
tree612d3d66e31db365085450971abdd2f898457517 /gdb/config/rs6000
parent4a442536378bd8a91aef82fb33f294c4e602c5d2 (diff)
downloadgdb-5c172b4bfde5f6aab86afa5441ef849b3e95ab2e.zip
gdb-5c172b4bfde5f6aab86afa5441ef849b3e95ab2e.tar.gz
gdb-5c172b4bfde5f6aab86afa5441ef849b3e95ab2e.tar.bz2
Fix some little endian problems
Diffstat (limited to 'gdb/config/rs6000')
-rw-r--r--gdb/config/rs6000/tm-rs6000.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/gdb/config/rs6000/tm-rs6000.h b/gdb/config/rs6000/tm-rs6000.h
index 5e63f82..c01e278 100644
--- a/gdb/config/rs6000/tm-rs6000.h
+++ b/gdb/config/rs6000/tm-rs6000.h
@@ -43,10 +43,6 @@ extern char *corefile;
#endif
extern int inferior_pid;
-/* setpgrp() messes up controling terminal. The other version of it
- requires libbsd.a. */
-#define setpgrp(XX,YY) setpgid (XX, YY)
-
/* We are missing register descriptions in the system header files. Sigh! */
struct regs {
@@ -153,7 +149,8 @@ function_frame_info PARAMS ((CORE_ADDR, struct aix_framedata *));
/* Sequence of bytes for breakpoint instruction. */
-#define BREAKPOINT {0x7d, 0x82, 0x10, 0x08}
+#define BIG_BREAKPOINT { 0x7d, 0x82, 0x10, 0x08 }
+#define LITTLE_BREAKPOINT { 0x08, 0x10, 0x82, 0x7d }
/* Amount PC must be decremented by after a breakpoint.
This is often the number of bytes in BREAKPOINT
@@ -405,7 +402,7 @@ CORE_ADDR rs6000_frame_chain PARAMS ((struct frame_info *));
/* We're in get_prev_frame_info */ \
/* and this is a special signal frame. */ \
/* (fi->pc will be some low address in the kernel, */ \
- /* to which the signal handler returns). */
+ /* to which the signal handler returns). */ \
fi->signal_handler_caller = 1;
/* If the kernel has to deliver a signal, it pushes a sigcontext