projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[ppc64le] Use skip_entrypoint for skip_trampoline_code
[deliverable/binutils-gdb.git]
/
gdb
/
xml-support.c
diff --git
a/gdb/xml-support.c
b/gdb/xml-support.c
index 9756acb83558174e56053e9098958bf3a41a4c8f..054d56b8653c01f39c9b218af37ab94c16b400d4 100644
(file)
--- a/
gdb/xml-support.c
+++ b/
gdb/xml-support.c
@@
-666,7
+666,7
@@
gdb_xml_parse_attr_ulongest (struct gdb_xml_parser *parser,
gdb_xml_error (parser, _("Can't convert %s=\"%s\" to an integer"),
attribute->name, value);
- ret =
xmalloc (sizeof (result)
);
+ ret =
XNEW (ULONGEST
);
memcpy (ret, &result, sizeof (result));
return ret;
}
This page took
0.023969 seconds
and
4
git commands to generate.