mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-28 12:33:36 +08:00
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).
This commit is contained in:
parent
86e17b6fbc
commit
8676616596
@ -1,3 +1,8 @@
|
||||
2017-10-15 Simon Marchi <simon.marchi@ericsson.com>
|
||||
|
||||
* tracepoint.c (parse_traceframe_info): Return a unique_ptr
|
||||
(the !HAVE_LIBEXPAT version).
|
||||
|
||||
2017-10-14 Simon Marchi <simon.marchi@ericsson.com>
|
||||
|
||||
* nat/linux-osdata.c (struct pid_pgid_entry) <operator<>: Make
|
||||
|
@ -3958,7 +3958,7 @@ sdata_make_value (struct gdbarch *gdbarch, struct internalvar *var,
|
||||
|
||||
#if !defined(HAVE_LIBEXPAT)
|
||||
|
||||
struct traceframe_info *
|
||||
struct std::unique_ptr<traceframe_info>
|
||||
parse_traceframe_info (const char *tframe_info)
|
||||
{
|
||||
static int have_warned;
|
||||
|
Loading…
Reference in New Issue
Block a user