aboutsummaryrefslogtreecommitdiff
path: root/gdb/p-exp.y
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/p-exp.y
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/p-exp.y')
-rw-r--r--gdb/p-exp.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/p-exp.y b/gdb/p-exp.y
index f15c217..4e924b8 100644
--- a/gdb/p-exp.y
+++ b/gdb/p-exp.y
@@ -293,7 +293,7 @@ exp : exp '.' { search_field = 1; }
{ while (TYPE_CODE (current_type) == TYPE_CODE_PTR)
current_type = TYPE_TARGET_TYPE (current_type);
current_type = lookup_struct_elt_type (
- current_type, $4.ptr, false); };
+ current_type, $4.ptr, 0); };
} ;
exp : exp '['
/* We need to save the current_type value */
@@ -677,7 +677,7 @@ variable: name_not_typename
if (this_type)
current_type = lookup_struct_elt_type (
this_type,
- copy_name($1.stoken), false);
+ copy_name ($1.stoken), 0);
else
current_type = NULL;
}