Fix GDB build without expat
authorSimon Marchi <simon.marchi@ericsson.com>
Mon, 16 Oct 2017 02:13:22 +0000 (22:13 -0400)
committerSimon Marchi <simon.marchi@ericsson.com>
Mon, 16 Oct 2017 02:13:23 +0000 (22:13 -0400)
commit8676616596351876612aa84be798537625348086
tree090f51b7fa34e88f9320b630f07ea0e06d5e99b0
parent86e17b6fbc9b224ecceece7a8bb4dd7989f07c7d
Fix GDB build without expat

An earlier patch of mine changed parse_traceframe_info to make it return
a unique_ptr.  I forgot to update the version of the function used in an
expat-less build, this patch fixes it.

gdb/ChangeLog:

* tracepoint.c (parse_traceframe_info): Return a unique_ptr
(the !HAVE_LIBEXPAT version).
gdb/ChangeLog
gdb/tracepoint.c