From 015dc7e1f8a971692a910e6cfc64faf9216e75c3 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Wed, 31 Mar 2021 10:39:37 +1030 Subject: Use bool in binutils * sysdep.h (POISON_BFD_BOOLEAN): Define. * addr2line.c, * ar.c, * arsup.c, * bfdtest2.c, * binemul.c, * binemul.h, * bucomm.c, * bucomm.h, * budbg.h, * coffgrok.c, * debug.c, * debug.h, * dlltool.c, * dwarf.c, * dwarf.h, * elfedit.c, * emul_aix.c, * mclex.c, * nm.c, * objcopy.c, * objdump.c, * od-macho.c, * prdbg.c, * rdcoff.c, * rddbg.c, * readelf.c, * rename.c, * stabs.c, * strings.c, * windint.h, * windmc.c, * windmc.h, * windres.c, * winduni.c, * wrstabs.c: Replace bfd_boolean with bool, FALSE with false, and TRUE with true throughout. --- binutils/budbg.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'binutils/budbg.h') diff --git a/binutils/budbg.h b/binutils/budbg.h index a88107a..a426a1f 100644 --- a/binutils/budbg.h +++ b/binutils/budbg.h @@ -24,28 +24,28 @@ /* Routine used to read generic debugging information. */ -extern void *read_debugging_info (bfd *, asymbol **, long, bfd_boolean); +extern void *read_debugging_info (bfd *, asymbol **, long, bool); /* Routine used to print generic debugging information. */ -extern bfd_boolean print_debugging_info +extern bool print_debugging_info (FILE *, void *, bfd *, asymbol **, - char * (*) (struct bfd *, const char *, int), bfd_boolean); + char * (*) (struct bfd *, const char *, int), bool); /* Routines used to read and write stabs information. */ -extern void *start_stab (void *, bfd *, bfd_boolean, asymbol **, long); +extern void *start_stab (void *, bfd *, bool, asymbol **, long); -extern bfd_boolean finish_stab (void *, void *); +extern bool finish_stab (void *, void *); -extern bfd_boolean parse_stab +extern bool parse_stab (void *, void *, int, int, bfd_vma, const char *); -extern bfd_boolean write_stabs_in_sections_debugging_info +extern bool write_stabs_in_sections_debugging_info (bfd *, void *, bfd_byte **, bfd_size_type *, bfd_byte **, bfd_size_type *); /* Routine used to read COFF debugging information. */ -extern bfd_boolean parse_coff (bfd *, asymbol **, long, void *); +extern bool parse_coff (bfd *, asymbol **, long, void *); #endif -- cgit v1.1