mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-30 17:31:13 +08:00
* src/gdb/remote.c (end_thread): ARI fix: Use xstrdup instead of strdup.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2010-03-31 Pierre Muller <muller@ics.u-strasbg.fr>
|
||||||
|
|
||||||
|
* src/gdb/remote.c (end_thread): ARI fix: Use xstrdup instead of strdup.
|
||||||
|
|
||||||
2010-03-30 Keith Seitz <keiths@redhat.com>
|
2010-03-30 Keith Seitz <keiths@redhat.com>
|
||||||
|
|
||||||
* c-typeprint.c (c_type_print_args): Don't print "void"
|
* c-typeprint.c (c_type_print_args): Don't print "void"
|
||||||
|
@ -2450,7 +2450,7 @@ end_thread (struct gdb_xml_parser *parser,
|
|||||||
struct threads_parsing_context *data = user_data;
|
struct threads_parsing_context *data = user_data;
|
||||||
|
|
||||||
if (body_text && *body_text)
|
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[] = {
|
const struct gdb_xml_attribute thread_attributes[] = {
|
||||||
|
Reference in New Issue
Block a user