gdb/
[deliverable/binutils-gdb.git] / gdb / aix-thread.c
index 92e434c6b5e4fcfa13a124eba7f3f4390ce50e49..f1b34d58683e4ab77779e18be5e2bf1027cabbe9 100644 (file)
@@ -1734,7 +1734,6 @@ aix_thread_extra_thread_info (struct thread_info *thread)
   pthdb_suspendstate_t suspendstate;
   pthdb_detachstate_t detachstate;
   int cancelpend;
-  long length;
   static char *ret = NULL;
 
   if (!PD_TID (thread->ptid))
@@ -1775,7 +1774,7 @@ aix_thread_extra_thread_info (struct thread_info *thread)
 
   xfree (ret);                 /* Free old buffer.  */
 
-  ret = ui_file_xstrdup (buf, &length);
+  ret = ui_file_xstrdup (buf, NULL);
   ui_file_delete (buf);
 
   return ret;
This page took 0.0232 seconds and 4 git commands to generate.