Convert struct target_ops to C++
[deliverable/binutils-gdb.git] / gdb / sparc-tdep.c
index 633bd685bceb9a56a40030222c389653eb9fc0eb..a4d5a7b27bc289402aa75160fc077af95e57977f 100644 (file)
@@ -189,7 +189,7 @@ ULONGEST
 sparc_fetch_wcookie (struct gdbarch *gdbarch)
 {
   enum bfd_endian byte_order = gdbarch_byte_order (gdbarch);
-  struct target_ops *ops = &current_target;
+  struct target_ops *ops = target_stack;
   gdb_byte buf[8];
   int len;
 
This page took 0.02641 seconds and 4 git commands to generate.