Fix compilation error in ia64-tdep.c with libunwind-ia64
authorSimon Marchi <simark@simark.ca>
Sat, 7 Jul 2018 15:10:49 +0000 (11:10 -0400)
committerSimon Marchi <simon.marchi@ericsson.com>
Mon, 16 Jul 2018 17:59:39 +0000 (13:59 -0400)
commit5d691c8829d0e5c4c4b9cfb147c8a873ce18085b
tree4730619cc444d424f8fe985e62047a8b69e8c48a
parentedb0470b99a9f399ccb5d666173c4315f6cb02c0
Fix compilation error in ia64-tdep.c with libunwind-ia64

Commit

  9018be22e022 ("Make target_read_alloc & al return vectors")

failed to update the code in ia64-tdep.c, for HAVE_LIBUNWIND_IA64_H.
This patch fixes that.

gdb/ChangeLog:

* ia64-tdep.c (ktab_buf): New global.
(getunwind_table): Return a gdb::optional<gdb::byte_vector>.
(get_kernel_table): Adjust.
gdb/ia64-tdep.c