diff options
author | K. Richard Pixley <rich@cygnus> | 1993-09-22 18:34:05 +0000 |
---|---|---|
committer | K. Richard Pixley <rich@cygnus> | 1993-09-22 18:34:05 +0000 |
commit | 07a5991a095f75d6869c8bc62ab0308ad465ad6e (patch) | |
tree | 03b754a72e140d138aaf50849be6af2e95e50359 /gdb/infcmd.c | |
parent | 6deb63abcc4b5122e2204c2d99d0de7850c3bf13 (diff) | |
download | gdb-07a5991a095f75d6869c8bc62ab0308ad465ad6e.zip gdb-07a5991a095f75d6869c8bc62ab0308ad465ad6e.tar.gz gdb-07a5991a095f75d6869c8bc62ab0308ad465ad6e.tar.bz2 |
infcmd.c (step_1),
infrun.c (wait_for_inferior): collapse SHIFT_INST_REGS ifdef
and insert macro.
Diffstat (limited to 'gdb/infcmd.c')
-rw-r--r-- | gdb/infcmd.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/infcmd.c b/gdb/infcmd.c index 8cd9940..1df2c8f 100644 --- a/gdb/infcmd.c +++ b/gdb/infcmd.c @@ -395,8 +395,7 @@ which has no line number information.\n", name); if (! stop_step) break; #if defined (SHIFT_INST_REGS) - write_register (NNPC_REGNUM, read_register (NPC_REGNUM)); - write_register (NPC_REGNUM, read_register (PC_REGNUM)); + SHIFT_INST_REGS(); #endif } |