Correct disassembly of dot product instructions.
[deliverable/binutils-gdb.git] / gdb / i386-gnu-nat.c
index 3bce88a20608c1c3575a03491112c389d8f71e99..68e6293f975aaf9d48204038e6499ef5364935c6 100644 (file)
@@ -127,7 +127,7 @@ gnu_fetch_registers (struct target_ops *ops,
       else
        {
          proc_debug (thread, "fetching register %s",
-                     gdbarch_register_name (get_regcache_arch (regcache),
+                     gdbarch_register_name (regcache->arch (),
                                             regno));
 
          regcache_raw_supply (regcache, regno,
@@ -183,7 +183,7 @@ gnu_store_registers (struct target_ops *ops,
                     struct regcache *regcache, int regno)
 {
   struct proc *thread;
-  struct gdbarch *gdbarch = get_regcache_arch (regcache);
+  struct gdbarch *gdbarch = regcache->arch ();
   ptid_t ptid = regcache_get_ptid (regcache);
 
   /* Make sure we know about new threads.  */
@@ -409,9 +409,6 @@ i386_gnu_dr_get_control (void)
 }
 #endif /* i386_DEBUG_STATE */
 
-/* Provide a prototype to silence -Wmissing-prototypes.  */
-extern initialize_file_ftype _initialize_i386gnu_nat;
-
 void
 _initialize_i386gnu_nat (void)
 {
This page took 0.031682 seconds and 4 git commands to generate.