Use gdbarch_pc_regnum instead of gdbarch_write_pc.
authorJoel Brobecker <brobecker@gnat.com>
Mon, 29 Apr 2013 10:08:46 +0000 (10:08 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Mon, 29 Apr 2013 10:08:46 +0000 (10:08 +0000)
commitd27b54adf344d76a74b0d4c8bdc7daebd19caf32
tree2c5b3600227420836cc57cd3d4eccf0bb0f42083
parentb385a60dc43ac7615b7eaf77e2c5afea4ecc55c7
Use gdbarch_pc_regnum instead of gdbarch_write_pc.

gdb/ChangeLog:

* m32r-tdep.c (m32r_write_pc): Delete.
(m32r_gdbarch_init): Remove call to set_gdbarch_write_pc.
Add call to set_gdbarch_pc_regnum.
gdb/ChangeLog
gdb/m32r-tdep.c