summaryrefslogtreecommitdiff
path: root/gdb/ada-exp.y
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2008-09-11 14:08:33 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2008-09-11 14:08:33 +0000
commitb77394b780175f8e41a542d438a2d3fe54178cd3 (patch)
tree6beaf5a7b1f5e74dc70ca891a2e9cfa206e3948c /gdb/ada-exp.y
parent06c01b6cd1f8fd46c5f048377a406509ae5f8575 (diff)
downloadgdb-b77394b780175f8e41a542d438a2d3fe54178cd3.tar.gz
* parser-defs.h (write_exp_msymbol): Remove TEXT_SYMBOL_TYPE
and DATA_SYMBOL_TYPE arguments. * parse.c (write_exp_msymbol): Remove TEXT_SYMBOL_TYPE and DATA_SYMBOL_TYPE arguments. Replace use of builtin_type_CORE_ADDR. (write_dollar_variable): Update call. * ada-exp.y (write_var_or_type): Update call. * c-exp.y: Likewise. * f-exp.y: Likewise. * jv-exp.y: Likewise. * m2-exp.y: Likewise. * objc-exp.y: Likewise. * p-exp.y: Likewise.
Diffstat (limited to 'gdb/ada-exp.y')
-rw-r--r--gdb/ada-exp.y3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/ada-exp.y b/gdb/ada-exp.y
index c146baf1e2b..e44cc683bcc 100644
--- a/gdb/ada-exp.y
+++ b/gdb/ada-exp.y
@@ -1370,8 +1370,7 @@ write_var_or_type (struct block *block, struct stoken name0)
= ada_lookup_simple_minsym (encoded_name);
if (msym != NULL)
{
- write_exp_msymbol (msym, lookup_function_type (type_int ()),
- type_int ());
+ write_exp_msymbol (msym);
/* Maybe cause error here rather than later? FIXME? */
write_selectors (encoded_name + tail_index);
return NULL;