summaryrefslogtreecommitdiff
path: root/gdb/remote.c
diff options
context:
space:
mode:
authorPierre Muller <muller@ics.u-strasbg.fr>2010-03-31 14:36:40 +0000
committerPierre Muller <muller@ics.u-strasbg.fr>2010-03-31 14:36:40 +0000
commit8a6a1705426318b250a68619668bca39004e9a3c (patch)
treed6ec0f1d9776c65f1e0b59ec15482241a54c99b6 /gdb/remote.c
parent9f3564d1f33bfda04e51952caf6ea32dd4a6fd59 (diff)
downloadgdb-8a6a1705426318b250a68619668bca39004e9a3c.tar.gz
* src/gdb/remote.c (end_thread): ARI fix: Use xstrdup instead of strdup.
Diffstat (limited to 'gdb/remote.c')
-rw-r--r--gdb/remote.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/remote.c b/gdb/remote.c
index 03644d1dc79..395a56db777 100644
--- a/gdb/remote.c
+++ b/gdb/remote.c
@@ -2450,7 +2450,7 @@ end_thread (struct gdb_xml_parser *parser,
struct threads_parsing_context *data = user_data;
if (body_text && *body_text)
- VEC_last (thread_item_t, data->items)->extra = strdup (body_text);
+ VEC_last (thread_item_t, data->items)->extra = xstrdup (body_text);
}
const struct gdb_xml_attribute thread_attributes[] = {