diff options
author | Pierre Muller <muller@sourceware.org> | 2010-03-31 14:36:41 +0000 |
---|---|---|
committer | Pierre Muller <muller@sourceware.org> | 2010-03-31 14:36:41 +0000 |
commit | 2ae2a0b7f1515ed92ed1dbd071af7856a6061242 (patch) | |
tree | 975b7a2828349e9ed23e04bad1cafdf99fc759ed /gdb/remote.c | |
parent | bb4a8e71062e9ca56a7a18662b8157457c99d9a3 (diff) | |
download | gdb-2ae2a0b7f1515ed92ed1dbd071af7856a6061242.zip gdb-2ae2a0b7f1515ed92ed1dbd071af7856a6061242.tar.gz gdb-2ae2a0b7f1515ed92ed1dbd071af7856a6061242.tar.bz2 |
* src/gdb/remote.c (end_thread): ARI fix: Use xstrdup instead of strdup.
Diffstat (limited to 'gdb/remote.c')
-rw-r--r-- | gdb/remote.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/remote.c b/gdb/remote.c index 03644d1..395a56d 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[] = { |