aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2010-05-05 23:39:56 +0000
committerPedro Alves <palves@redhat.com>2010-05-05 23:39:56 +0000
commit46c162d47bef113bfe09e935b0e8e79e735573ba (patch)
tree17896ec3cc509aac9cc043c7ec7d199e9023a669
parent0043e6a5cce8d245bc331f567f2714b954731b20 (diff)
downloadgdb-46c162d47bef113bfe09e935b0e8e79e735573ba.zip
gdb-46c162d47bef113bfe09e935b0e8e79e735573ba.tar.gz
gdb-46c162d47bef113bfe09e935b0e8e79e735573ba.tar.bz2
* remote.c (remote_threads_info): Really revert previous previous
change.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/remote.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index e1014a1..fe1cec6 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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):
diff --git a/gdb/remote.c b/gdb/remote.c
index 6208450..3982084 100644
--- a/gdb/remote.c
+++ b/gdb/remote.c
@@ -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"),