aboutsummaryrefslogtreecommitdiff
path: root/bfd/hppabsd-core.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 /bfd/hppabsd-core.c
parent583d52d728c60410c0d39bae68ee536a7b9e7a6c (diff)
downloadgdb-b34976b65aea8f33690229600bbf4527ec3118e1.zip
gdb-b34976b65aea8f33690229600bbf4527ec3118e1.tar.gz
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 'bfd/hppabsd-core.c')
-rw-r--r--bfd/hppabsd-core.c24
1 files changed, 14 insertions, 10 deletions
diff --git a/bfd/hppabsd-core.c b/bfd/hppabsd-core.c
index 4ae6315..31aa2f1 100644
--- a/bfd/hppabsd-core.c
+++ b/bfd/hppabsd-core.c
@@ -48,15 +48,19 @@
#include <sys/user.h> /* After a.out.h */
#include <sys/file.h>
-static asection *make_bfd_asection PARAMS ((bfd *, const char *,
- flagword, bfd_size_type,
- file_ptr, unsigned int));
-static const bfd_target *hppabsd_core_core_file_p PARAMS ((bfd *));
-static char *hppabsd_core_core_file_failing_command PARAMS ((bfd *));
-static int hppabsd_core_core_file_failing_signal PARAMS ((bfd *));
-static boolean hppabsd_core_core_file_matches_executable_p
+static asection *make_bfd_asection
+ PARAMS ((bfd *, const char *, flagword, bfd_size_type, file_ptr,
+ unsigned int));
+static const bfd_target *hppabsd_core_core_file_p
+ PARAMS ((bfd *));
+static char *hppabsd_core_core_file_failing_command
+ PARAMS ((bfd *));
+static int hppabsd_core_core_file_failing_signal
+ PARAMS ((bfd *));
+static bfd_boolean hppabsd_core_core_file_matches_executable_p
PARAMS ((bfd *, bfd *));
-static void swap_abort PARAMS ((void));
+static void swap_abort
+ PARAMS ((void));
/* These are stored in the bfd's tdata. */
@@ -218,12 +222,12 @@ hppabsd_core_core_file_failing_signal (abfd)
}
/* ARGSUSED */
-static boolean
+static bfd_boolean
hppabsd_core_core_file_matches_executable_p (core_bfd, exec_bfd)
bfd *core_bfd, *exec_bfd;
{
/* There's no way to know this... */
- return true;
+ return TRUE;
}
/* If somebody calls any byte-swapping routines, shoot them. */