aboutsummaryrefslogtreecommitdiff
path: root/gdb/jv-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
commitc841afd52aeb4292e2d9b294b78b71f7bc14313a (patch)
treea6a00612205061876ed1c46babf6b753ec8723ba /gdb/jv-exp.y
parent5cb12a973a5d2f655e19f83a863e1a25f59375a9 (diff)
downloadgdb-c841afd52aeb4292e2d9b294b78b71f7bc14313a.zip
gdb-c841afd52aeb4292e2d9b294b78b71f7bc14313a.tar.gz
gdb-c841afd52aeb4292e2d9b294b78b71f7bc14313a.tar.bz2
* 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/jv-exp.y')
-rw-r--r--gdb/jv-exp.y6
1 files changed, 1 insertions, 5 deletions
diff --git a/gdb/jv-exp.y b/gdb/jv-exp.y
index 33cbdf9..1ec73ab 100644
--- a/gdb/jv-exp.y
+++ b/gdb/jv-exp.y
@@ -1397,11 +1397,7 @@ push_expression_name (name)
msymbol = lookup_minimal_symbol (tmp, NULL, NULL);
if (msymbol != NULL)
- {
- write_exp_msymbol (msymbol,
- lookup_function_type (builtin_type_int),
- builtin_type_int);
- }
+ write_exp_msymbol (msymbol);
else if (!have_full_symbols () && !have_partial_symbols ())
error (_("No symbol table is loaded. Use the \"file\" command"));
else