* remote.c (remote_threads_info): Really revert previous previous
authorPedro Alves <palves@redhat.com>
Wed, 5 May 2010 23:39:56 +0000 (23:39 +0000)
committerPedro Alves <palves@redhat.com>
Wed, 5 May 2010 23:39:56 +0000 (23:39 +0000)
change.

gdb/ChangeLog
gdb/remote.c

index e1014a1e92783a1d0103d2728326ef88ee9cc3d9..fe1cec6419828448a27233e357602d71bda8e0b5 100644 (file)
@@ -1,3 +1,8 @@
+2010-05-05  Pedro Alves  <pedro@codesourcery.com>
+
+       * remote.c (remote_threads_info): Really revert previous previous
+       change.
+
 2010-05-05  Michael Snyder  <msnyder@vmware.com>
 
        * tui/tui-interp.c (_initialize_tui_interp): 
index 6208450a8dc03bf73e800ac3923630618f0629d4..39820847828d47943b146c1e48beec1bfc803cfc 100644 (file)
@@ -2512,7 +2512,7 @@ remote_threads_info (struct target_ops *ops)
        {
          struct gdb_xml_parser *parser;
          struct threads_parsing_context context;
-         struct cleanup back_to = make_cleanup (null_cleanup, NULL);
+         struct cleanup *back_to = make_cleanup (null_cleanup, NULL);
 
          context.items = 0;
          parser = gdb_xml_create_parser_and_cleanup (_("threads"),