diff options
author | Andrew Cagney <cagney@redhat.com> | 2000-05-02 09:36:57 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2000-05-02 09:36:57 +0000 |
commit | 03863182248f30818d11417609a7e576fefe705b (patch) | |
tree | 527f6a6a9029f14d94119ada4dea5e53e25dc323 /gdb/gdbserver | |
parent | d7446e7568e7d6f5c49ed29f9184c94f09956a82 (diff) | |
download | gdb-03863182248f30818d11417609a7e576fefe705b.zip gdb-03863182248f30818d11417609a7e576fefe705b.tar.gz gdb-03863182248f30818d11417609a7e576fefe705b.tar.bz2 |
Multi-arch NPC_REGNUM NNPC_REGNUM.
Diffstat (limited to 'gdb/gdbserver')
-rw-r--r-- | gdb/gdbserver/remote-utils.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/gdbserver/remote-utils.c b/gdb/gdbserver/remote-utils.c index cd078cc..2b632d6 100644 --- a/gdb/gdbserver/remote-utils.c +++ b/gdb/gdbserver/remote-utils.c @@ -33,6 +33,7 @@ #include <fcntl.h> int remote_debug = 0; +struct ui_file *gdb_stdlog; static int remote_desc; @@ -487,9 +488,8 @@ prepare_resume_reply (buf, status, signo) buf = outreg (PC_REGNUM, buf); buf = outreg (FP_REGNUM, buf); buf = outreg (SP_REGNUM, buf); -#ifdef NPC_REGNUM - buf = outreg (NPC_REGNUM, buf); -#endif + if (NPC_REGNUM >= 0) + buf = outreg (NPC_REGNUM, buf); #ifdef O7_REGNUM buf = outreg (O7_REGNUM, buf); #endif |