aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/m68k
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2002-01-26 22:23:23 +0000
committerAndreas Schwab <schwab@linux-m68k.org>2002-01-26 22:23:23 +0000
commit0280a90a3345248d32ca5b47e495e6bf3f18529b (patch)
tree269771bbd48f0340443e16e9657e3603f4a73b74 /gdb/config/m68k
parent966abd70756ca6dd1d672b38da8a4f445bb657ff (diff)
downloadgdb-0280a90a3345248d32ca5b47e495e6bf3f18529b.zip
gdb-0280a90a3345248d32ca5b47e495e6bf3f18529b.tar.gz
gdb-0280a90a3345248d32ca5b47e495e6bf3f18529b.tar.bz2
* config/m68k/nm-linux.h (FETCH_INFERIOR_REGISTERS): Define.
* m68klinux-nat.c: Update ptrace interface for fetching/storing registers and add support for PTRACE_GETREGS.
Diffstat (limited to 'gdb/config/m68k')
-rw-r--r--gdb/config/m68k/nm-linux.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/config/m68k/nm-linux.h b/gdb/config/m68k/nm-linux.h
index e4ce5bf..5c37af9 100644
--- a/gdb/config/m68k/nm-linux.h
+++ b/gdb/config/m68k/nm-linux.h
@@ -35,4 +35,7 @@ extern int kernel_u_size (void);
extern int m68k_linux_register_u_addr (int, int);
+/* Override copies of {fetch,store}_inferior_registers in `infptrace.c'. */
+#define FETCH_INFERIOR_REGISTERS
+
#endif /* #ifndef NM_LINUX_H */