diff options
author | David Carlton <carlton@bactrian.org> | 2004-01-26 19:11:55 +0000 |
---|---|---|
committer | David Carlton <carlton@bactrian.org> | 2004-01-26 19:11:55 +0000 |
commit | feff3e492f1aff01b62a61e38e20fc7e8fc89946 (patch) | |
tree | 08c456fb63098f7b46e1dfa74746c8ab87a74e8c /gdb/regcache.c | |
parent | aa0e88e3d758559942e192f3075a3edc0b2f222d (diff) | |
download | binutils-carlton_dictionary-branch.zip binutils-carlton_dictionary-branch.tar.gz binutils-carlton_dictionary-branch.tar.bz2 |
2004-01-26 David Carlton <carlton@kealia.com>carlton_dictionary-branch
* Merge with mainline; tag is carlton_dictionary-20040126-merge.
Diffstat (limited to 'gdb/regcache.c')
-rw-r--r-- | gdb/regcache.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/gdb/regcache.c b/gdb/regcache.c index 62c0de5..504196d 100644 --- a/gdb/regcache.c +++ b/gdb/regcache.c @@ -1351,15 +1351,11 @@ read_pc (void) void generic_target_write_pc (CORE_ADDR pc, ptid_t ptid) { -#ifdef PC_REGNUM if (PC_REGNUM >= 0) write_register_pid (PC_REGNUM, pc, ptid); - if (DEPRECATED_NPC_REGNUM >= 0) - write_register_pid (DEPRECATED_NPC_REGNUM, pc + 4, ptid); -#else - internal_error (__FILE__, __LINE__, - "generic_target_write_pc"); -#endif + else + internal_error (__FILE__, __LINE__, + "generic_target_write_pc"); } void |