aboutsummaryrefslogtreecommitdiff
path: root/gprof/corefile.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2002-02-01 01:18:06 +0000
committerAlan Modra <amodra@gmail.com>2002-02-01 01:18:06 +0000
commitbde52789b2840efede7cba2971d8b174586018fc (patch)
treee8b4ffaad471f45f27e475e24cdf2c7f3d596546 /gprof/corefile.c
parentd874f1e22527c1b95211222c110a137b0f50ec00 (diff)
downloadgdb-bde52789b2840efede7cba2971d8b174586018fc.zip
gdb-bde52789b2840efede7cba2971d8b174586018fc.tar.gz
gdb-bde52789b2840efede7cba2971d8b174586018fc.tar.bz2
* 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.
Diffstat (limited to 'gprof/corefile.c')
-rw-r--r--gprof/corefile.c14
1 files changed, 7 insertions, 7 deletions
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 : "<unknown>", l,
func_name ? func_name : "<unknown>"));
- 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);