Use std::unique_ptr in reg_buffer
[deliverable/binutils-gdb.git] / gdb / sparc-tdep.c
index 65c1f00620486bb8c7ce190f8381346cf311d9c6..c638a6d20c432e512f7ad4c772ab8e18385b4cd5 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 = target_stack;
+  struct target_ops *ops = current_top_target ();
   gdb_byte buf[8];
   int len;
 
This page took 0.023655 seconds and 4 git commands to generate.