diff options
Diffstat (limited to 'libctf')
-rw-r--r-- | libctf/ChangeLog | 4 | ||||
-rw-r--r-- | libctf/ctf-open-bfd.c | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/libctf/ChangeLog b/libctf/ChangeLog index a9e76ec..32268f8 100644 --- a/libctf/ChangeLog +++ b/libctf/ChangeLog @@ -1,5 +1,9 @@ 2021-03-25 Nick Alcock <nick.alcock@oracle.com> + * ctf-open-bfd.c (ctf_bfdopen_ctfsect): Initialize debugging. + +2021-03-25 Nick Alcock <nick.alcock@oracle.com> + PR libctf/27628 * ctf-serialize.c (ctf_emit_type_sect): Allow for a NULL vlen in CTF_K_FUNCTION types. diff --git a/libctf/ctf-open-bfd.c b/libctf/ctf-open-bfd.c index 84e4af6..9508641 100644 --- a/libctf/ctf-open-bfd.c +++ b/libctf/ctf-open-bfd.c @@ -99,6 +99,8 @@ ctf_bfdopen_ctfsect (struct bfd *abfd _libctf_unused_, char *strtab_alloc = NULL; int symsect_endianness = -1; + libctf_init_debug(); + #ifdef HAVE_BFD_ELF ctf_sect_t symsect, strsect; Elf_Internal_Shdr *symhdr; |