diff options
author | Kevin Buettner <kevinb@redhat.com> | 2000-02-15 21:17:04 +0000 |
---|---|---|
committer | Kevin Buettner <kevinb@redhat.com> | 2000-02-15 21:17:04 +0000 |
commit | d7aed56aef1715d6f33c2209ea72fab6fe9da7eb (patch) | |
tree | 59434c87c2b080330ca1de17fbf02778af1f5b19 /gdb/rs6000-nat.c | |
parent | b9d120c68e3fa1d4e2f754065c025b2ba3e4f5cf (diff) | |
download | gdb-d7aed56aef1715d6f33c2209ea72fab6fe9da7eb.tar.gz |
AIX 4.3 changes.
Diffstat (limited to 'gdb/rs6000-nat.c')
-rw-r--r-- | gdb/rs6000-nat.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/rs6000-nat.c b/gdb/rs6000-nat.c index d109f3319e8..63fadcf9616 100644 --- a/gdb/rs6000-nat.c +++ b/gdb/rs6000-nat.c @@ -215,6 +215,8 @@ store_inferior_registers (regno) else if (regno < FP0_REGNUM) /* a GPR */ { + if (regno == SP_REGNUM) + exec_one_dummy_insn (); ptrace (PT_WRITE_GPR, inferior_pid, (PTRACE_ARG3_TYPE) regno, *(int *) ®isters[REGISTER_BYTE (regno)], 0); } @@ -233,6 +235,11 @@ store_inferior_registers (regno) *(int *) ®isters[REGISTER_BYTE (regno)], 0); } + else if (regno < NUM_REGS) + { + /* Ignore it. */ + } + else fprintf_unfiltered (gdb_stderr, "Gdb error: register no %d not implemented.\n", |