Fix cast of xml_find_attribute's return value
authorSimon Marchi <simark@nova.polymtl.ca>
Sat, 26 Sep 2015 21:15:05 +0000 (17:15 -0400)
committerSimon Marchi <simark@nova.polymtl.ca>
Sat, 26 Sep 2015 21:15:44 +0000 (17:15 -0400)
commitbc84451b7af508ddd154a8793eaf0de68b7ca80a
tree151275e5222ad2a00d0b8229a436c0fb2804c22d
parentba587d55a56db16e9e47d1e0975f5125fbafc6db
Fix cast of xml_find_attribute's return value

The cast auto-insert script inserted long unsigned int, but we should
use the typedef ULONGEST.  Fixes build failures on i386.

gdb/ChangeLog:

* btrace.c (parse_xml_btrace_block): Fix cast of
xml_find_attribute's return value.
* memory-map.c (memory_map_start_memory): Likewise.
* solib-svr4.c (library_list_start_library): Likewise.
* solib-target.c (library_list_start_segment): Likewise.
(library_list_start_section): Likewise.
* tracepoint.c (traceframe_info_start_memory): Likewise.
gdb/ChangeLog
gdb/btrace.c
gdb/memory-map.c
gdb/solib-svr4.c
gdb/solib-target.c
gdb/tracepoint.c