From bde52789b2840efede7cba2971d8b174586018fc Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Fri, 1 Feb 2002 01:18:06 +0000 Subject: * basic_blocks.c: Replace bool with boolean, TRUE with true and FALSE with false throughout. * basic_blocks.h: Likewise. * cg_arcs.c: Likewise. * cg_dfn.c: Likewise. * cg_print.c: Likewise. * corefile.c: Likewise. * gmon_io.c: Likewise. * gprof.c: Likewise. * hist.c: Likewise. * mips.c: Likewise. * source.c: Likewise. * source.h: Likewise. * sym_ids.c: Likewise. * sym_ids.h: Likewise. * symtab.h: Likewise. * tahoe.c: Likewise. * vax.c: Likewise. * gprof.h: Likewise. (TRUE): Don't define. (FALSE): Don't define. --- gprof/corefile.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'gprof/corefile.c') diff --git a/gprof/corefile.c b/gprof/corefile.c index 5616dfa..9f3ca03 100644 --- a/gprof/corefile.c +++ b/gprof/corefile.c @@ -273,7 +273,7 @@ DEFUN (find_call, (parent, p_lowpc, p_highpc), whoami, bfd_printable_name(core_bfd)); /* Don't give the error more than once. */ - ignore_direct_calls = FALSE; + ignore_direct_calls = false; } } @@ -365,7 +365,7 @@ DEFUN (core_sym_class, (sym), asymbol * sym) /* Get whatever source info we can get regarding address ADDR. */ -static bool +static boolean DEFUN (get_src_info, (addr, filename, name, line_num), bfd_vma addr AND const char **filename AND const char **name AND int *line_num) @@ -383,14 +383,14 @@ DEFUN (get_src_info, (addr, filename, name, line_num), *filename = fname; *name = func_name; *line_num = l; - return TRUE; + return true; } else { DBG (AOUTDEBUG, printf ("[get_src_info] no info for 0x%lx (%s:%d,%s)\n", (long) addr, fname ? fname : "", l, func_name ? func_name : "")); - return FALSE; + return false; } } @@ -528,11 +528,11 @@ core_create_function_syms (core_bfd) } } - symtab.limit->is_func = TRUE; - symtab.limit->is_bb_head = TRUE; + symtab.limit->is_func = true; + symtab.limit->is_bb_head = true; if (class == 't') - symtab.limit->is_static = TRUE; + symtab.limit->is_static = true; min_vma = MIN (symtab.limit->addr, min_vma); max_vma = MAX (symtab.limit->addr, max_vma); -- cgit v1.1