This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] revert remote_threads_info


On Wednesday 05 May 2010 23:29:50, Michael Snyder wrote:
> +         struct cleanup back_to = make_cleanup (null_cleanup, NULL);
>  
> -         make_cleanup (null_cleanup, NULL);

There's no way this can compile.  ;-)

I'm applying this.

-- 
Pedro Alves

2010-05-05  Pedro Alves  <pedro@codesourcery.com>

	* remote.c (remote_threads_info): Really revert previous previous
	change.

---
 gdb/remote.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: src/gdb/remote.c
===================================================================
--- src.orig/gdb/remote.c	2010-05-06 00:33:59.000000000 +0100
+++ src/gdb/remote.c	2010-05-06 00:34:08.000000000 +0100
@@ -2512,7 +2512,7 @@ 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);
+	  struct cleanup *back_to = make_cleanup (null_cleanup, NULL);
 
 	  context.items = 0;
 	  parser = gdb_xml_create_parser_and_cleanup (_("threads"),


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]