aboutsummaryrefslogtreecommitdiff
path: root/gdb/exec.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-11-30 16:33:55 +0000
committerAndrew Cagney <cagney@redhat.com>2002-11-30 16:33:55 +0000
commit020cc13c3a0782029f408a8164a13a1e5af6d538 (patch)
treeead54c7e69e02186382d78e6231457461acc585e /gdb/exec.c
parent0174e383ca06a8115b179428d4f68a7bdd3e08f2 (diff)
downloadgdb-020cc13c3a0782029f408a8164a13a1e5af6d538.zip
gdb-020cc13c3a0782029f408a8164a13a1e5af6d538.tar.gz
gdb-020cc13c3a0782029f408a8164a13a1e5af6d538.tar.bz2
2002-11-30 Andrew Cagney <cagney@redhat.com>
* exec.c (xfer_memory): Replace boolean with int. * p-exp.y: Use 0 instead of false. * corelow.c (gdb_check_format): Change return type to int from boolean. * utils.c: Don't include <curses.h> or <term.h> first.
Diffstat (limited to 'gdb/exec.c')
-rw-r--r--gdb/exec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/exec.c b/gdb/exec.c
index 6ac7bd0..edb7308 100644
--- a/gdb/exec.c
+++ b/gdb/exec.c
@@ -481,10 +481,10 @@ xfer_memory (CORE_ADDR memaddr, char *myaddr, int len, int write,
struct mem_attrib *attrib,
struct target_ops *target)
{
- boolean res;
+ int res;
struct section_table *p;
CORE_ADDR nextsectaddr, memend;
- boolean (*xfer_fn) (bfd *, sec_ptr, PTR, file_ptr, bfd_size_type);
+ int (*xfer_fn) (bfd *, sec_ptr, PTR, file_ptr, bfd_size_type);
asection *section = NULL;
if (len <= 0)