From 3eca610387779e26c8c63e26d2ba418b0cd1bf5a Mon Sep 17 00:00:00 2001 From: John Levon Date: Fri, 8 Mar 2019 17:40:00 +0000 Subject: 10816 ctf_dwarf_convert_type() relies on un-initialized id 10817 ctfconvert -i option is mis-handled 10818 Improve ctfconvert error messages 10819 ctfconvert should handle empty dies 10820 ctfconvert -i never converts 10821 bad free in ctf_dwarf_init_die 10815 shouldn't build gcore.c as part of kmdb Reviewed by: Robert Mustacchi Reviewed by: Jerry Jelinek Approved by: Gordon Ross --- usr/src/lib/libctf/common/libctf_impl.h | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'usr/src/lib/libctf/common/libctf_impl.h') diff --git a/usr/src/lib/libctf/common/libctf_impl.h b/usr/src/lib/libctf/common/libctf_impl.h index be091ef199..5c88b9454d 100644 --- a/usr/src/lib/libctf/common/libctf_impl.h +++ b/usr/src/lib/libctf/common/libctf_impl.h @@ -29,15 +29,9 @@ extern "C" { #endif -typedef enum ctf_conv_status { - CTF_CONV_SUCCESS = 0, - CTF_CONV_ERROR = 1, - CTF_CONV_NOTSUP = 2 -} ctf_conv_status_t; - -typedef ctf_conv_status_t (*ctf_convert_f)(int, Elf *, uint_t, int *, +typedef int (*ctf_convert_f)(int, Elf *, uint_t, uint_t, ctf_file_t **, char *, size_t); -extern ctf_conv_status_t ctf_dwarf_convert(int, Elf *, uint_t, int *, +extern int ctf_dwarf_convert(int, Elf *, uint_t, uint_t, ctf_file_t **, char *, size_t); /* -- cgit v1.2.3