gdb/
authorYufeng Zhang <yufeng.zhang@arm.com>
Wed, 17 Apr 2013 14:52:46 +0000 (14:52 +0000)
committerYufeng Zhang <yufeng.zhang@arm.com>
Wed, 17 Apr 2013 14:52:46 +0000 (14:52 +0000)
* aarch64-tdep.c (aarch64_write_pc): Removed.
(aarch64_gdbarch_init): Remove set_gdbarch_write_pc of the above function.

gdb/ChangeLog
gdb/aarch64-tdep.c

index 89d05f6180f5a6266c7f55ef2f481452d892099c..5c1ed462a1b286b78b84d5fa4d0f283cf7652628 100644 (file)
@@ -1,3 +1,8 @@
+2013-04-17  Yufeng Zhang  <yufeng.zhang@arm.com>
+
+       * aarch64-tdep.c (aarch64_write_pc): Removed.
+       (aarch64_gdbarch_init): Remove set_gdbarch_write_pc of the above function.
+
 2013-04-17  Yao Qi  <yao@codesourcery.com>
 
        * top.c (print_gdb_configuration): Print configure-time
index ebc78d6a50cf0eebfc4b8444949a55dd40349870..2b0310649849274b3c45b753dec344d1ece7001c 100644 (file)
@@ -2499,14 +2499,6 @@ aarch64_pseudo_write (struct gdbarch *gdbarch, struct regcache *regcache,
   gdb_assert_not_reached ("regnum out of bound");
 }
 
-/* Implement the "write_pc" gdbarch method.  */
-
-static void
-aarch64_write_pc (struct regcache *regcache, CORE_ADDR pc)
-{
-  regcache_cooked_write_unsigned (regcache, AARCH64_PC_REGNUM, pc);
-}
-
 /* Callback function for user_reg_add.  */
 
 static struct value *
@@ -2618,8 +2610,6 @@ aarch64_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
   set_gdbarch_push_dummy_call (gdbarch, aarch64_push_dummy_call);
   set_gdbarch_frame_align (gdbarch, aarch64_frame_align);
 
-  set_gdbarch_write_pc (gdbarch, aarch64_write_pc);
-
   /* Frame handling.  */
   set_gdbarch_dummy_id (gdbarch, aarch64_dummy_id);
   set_gdbarch_unwind_pc (gdbarch, aarch64_unwind_pc);