aboutsummaryrefslogtreecommitdiff
path: root/gdb/lynx-nat.c
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>1994-04-27 23:35:49 +0000
committerStan Shebs <shebs@codesourcery.com>1994-04-27 23:35:49 +0000
commitaa175216560f173b2b3d5aebde51f8d9f026ebc4 (patch)
treebbfa5719d9424f99203f1360b8a15d5bfc206758 /gdb/lynx-nat.c
parent890634eda79caf70305274a7169e6ff08fff4125 (diff)
downloadgdb-aa175216560f173b2b3d5aebde51f8d9f026ebc4.zip
gdb-aa175216560f173b2b3d5aebde51f8d9f026ebc4.tar.gz
gdb-aa175216560f173b2b3d5aebde51f8d9f026ebc4.tar.bz2
Wed Apr 27 16:33:51 1994 Stan Shebs (shebs@andros.cygnus.com)
* lynx-nat.c (CANNOT_STORE_REGISTER): Add a fallback definition for Lynx platforms that need it. * config/nm-lynx.h (__LYNXOS): Define if not already defined.
Diffstat (limited to 'gdb/lynx-nat.c')
-rw-r--r--gdb/lynx-nat.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/lynx-nat.c b/gdb/lynx-nat.c
index 394fd68..451b4f5 100644
--- a/gdb/lynx-nat.c
+++ b/gdb/lynx-nat.c
@@ -537,6 +537,11 @@ fetch_inferior_registers (regno)
If REGNO is -1, do this for all registers.
Otherwise, REGNO specifies which register (so we can save time). */
+/* Registers we shouldn't try to store. */
+#if !defined (CANNOT_STORE_REGISTER)
+#define CANNOT_STORE_REGISTER(regno) 0
+#endif
+
void
store_inferior_registers (regno)
int regno;