This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[patch] revert remote_threads_info
- From: Michael Snyder <msnyder at vmware dot com>
- To: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Wed, 05 May 2010 15:29:50 -0700
- Subject: [patch] revert remote_threads_info
2010-05-05 Michael Snyder <msnyder@vmware.com>
* remote.c (remote_threads_info): Revert questionable part of
the previous change.
Index: remote.c
===================================================================
RCS file: /cvs/src/src/gdb/remote.c,v
retrieving revision 1.406
retrieving revision 1.407
diff -u -p -r1.406 -r1.407
--- remote.c 5 May 2010 20:46:06 -0000 1.406
+++ remote.c 5 May 2010 22:27:15 -0000 1.407
@@ -2512,8 +2512,8 @@ remote_threads_info (struct target_ops *
{
struct gdb_xml_parser *parser;
struct threads_parsing_context context;
+ struct cleanup back_to = make_cleanup (null_cleanup, NULL);
- make_cleanup (null_cleanup, NULL);
context.items = 0;
parser = gdb_xml_create_parser_and_cleanup (_("threads"),
threads_elements,