gdb: Make ldirname return a std::string
[deliverable/binutils-gdb.git] / gdb / fbsd-tdep.c
index e7579100234b1e0c50e88ace1e209c9ee67e3c62..46875d8efd1f01086f2ff6af73b97079a3425d30 100644 (file)
@@ -193,15 +193,11 @@ static void
 fbsd_corefile_thread (struct thread_info *info,
                      struct fbsd_corefile_thread_data *args)
 {
-  struct cleanup *old_chain;
   struct regcache *regcache;
 
   regcache = get_thread_arch_regcache (info->ptid, args->gdbarch);
 
-  old_chain = save_inferior_ptid ();
-  inferior_ptid = info->ptid;
   target_fetch_registers (regcache, -1);
-  do_cleanups (old_chain);
 
   args->note_data = fbsd_collect_thread_registers
     (regcache, info->ptid, args->obfd, args->note_data,
This page took 0.024745 seconds and 4 git commands to generate.