mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-29 08:24:05 +08:00
xml-tdesc.c (tdesc_start_enum): Fix c++ build.
gdb/ChangeLog: * xml-tdesc.c (tdesc_start_enum): Fix c++ build.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2016-03-16 Doug Evans <dje@google.com>
|
||||||
|
|
||||||
|
* xml-tdesc.c (tdesc_start_enum): Fix c++ build.
|
||||||
|
|
||||||
2016-03-16 Yao Qi <yao.qi@linaro.org>
|
2016-03-16 Yao Qi <yao.qi@linaro.org>
|
||||||
|
|
||||||
* arm-linux-tdep.c (arm_linux_init_abi): Fix
|
* arm-linux-tdep.c (arm_linux_init_abi): Fix
|
||||||
|
@ -300,8 +300,8 @@ tdesc_start_enum (struct gdb_xml_parser *parser,
|
|||||||
const struct gdb_xml_element *element,
|
const struct gdb_xml_element *element,
|
||||||
void *user_data, VEC(gdb_xml_value_s) *attributes)
|
void *user_data, VEC(gdb_xml_value_s) *attributes)
|
||||||
{
|
{
|
||||||
struct tdesc_parsing_data *data = user_data;
|
struct tdesc_parsing_data *data = (struct tdesc_parsing_data *) user_data;
|
||||||
char *id = xml_find_attribute (attributes, "id")->value;
|
char *id = (char *) xml_find_attribute (attributes, "id")->value;
|
||||||
int size = * (ULONGEST *)
|
int size = * (ULONGEST *)
|
||||||
xml_find_attribute (attributes, "size")->value;
|
xml_find_attribute (attributes, "size")->value;
|
||||||
struct tdesc_type *type;
|
struct tdesc_type *type;
|
||||||
|
Reference in New Issue
Block a user