Print this page
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 <rm@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
*** 27,45 ****
#ifdef __cplusplus
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 *,
ctf_file_t **, char *, size_t);
! extern ctf_conv_status_t ctf_dwarf_convert(int, Elf *, uint_t, int *,
ctf_file_t **, char *, size_t);
/*
* Symbol walking
*/
--- 27,39 ----
#ifdef __cplusplus
extern "C" {
#endif
! typedef int (*ctf_convert_f)(int, Elf *, uint_t, uint_t,
ctf_file_t **, char *, size_t);
! extern int ctf_dwarf_convert(int, Elf *, uint_t, uint_t,
ctf_file_t **, char *, size_t);
/*
* Symbol walking
*/