aboutsummaryrefslogtreecommitdiff
path: root/gprof/corefile.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2002-11-30 08:39:46 +0000
committerAlan Modra <amodra@gmail.com>2002-11-30 08:39:46 +0000
commitb34976b65aea8f33690229600bbf4527ec3118e1 (patch)
tree6411348664ef81ca2aa2e3ff325116e6e6502edf /gprof/corefile.c
parent583d52d728c60410c0d39bae68ee536a7b9e7a6c (diff)
downloadfsf-binutils-gdb-b34976b65aea8f33690229600bbf4527ec3118e1.zip
fsf-binutils-gdb-b34976b65aea8f33690229600bbf4527ec3118e1.tar.gz
fsf-binutils-gdb-b34976b65aea8f33690229600bbf4527ec3118e1.tar.bz2
s/boolean/bfd_boolean/ s/true/TRUE/ s/false/FALSE/. Simplify
comparisons of bfd_boolean vars with TRUE/FALSE. Formatting.
Diffstat (limited to 'gprof/corefile.c')
-rw-r--r--gprof/corefile.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/gprof/corefile.c b/gprof/corefile.c
index 74e78f5..4b8fa13 100644
--- a/gprof/corefile.c
+++ b/gprof/corefile.c
@@ -41,7 +41,7 @@ unsigned int symbol_map_count;
static void read_function_mappings PARAMS ((const char *));
static int core_sym_class PARAMS ((asymbol *));
-static boolean get_src_info
+static bfd_boolean get_src_info
PARAMS ((bfd_vma, const char **, const char **, int *));
extern void i386_find_call PARAMS ((Sym *, bfd_vma, bfd_vma));
@@ -277,7 +277,7 @@ 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;
}
}
@@ -370,7 +370,7 @@ core_sym_class (sym)
/* Get whatever source info we can get regarding address ADDR. */
-static boolean
+static bfd_boolean
get_src_info (addr, filename, name, line_num)
bfd_vma addr;
const char **filename;
@@ -390,14 +390,14 @@ 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;
}
}
@@ -536,11 +536,11 @@ core_create_function_syms (cbfd)
}
}
- 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;
/* Keep track of the minimum and maximum vma addresses used by all
symbols. When computing the max_vma, use the ending address of the