aboutsummaryrefslogtreecommitdiff
path: root/gdb/jv-lang.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-01-21 15:37:11 +0000
committerAndrew Cagney <cagney@redhat.com>2004-01-21 15:37:11 +0000
commit5a1efed76c634acc0c568727c4bcda0e296c89dd (patch)
treef315a31e8530656a2de79c77c07211a9e522bb91 /gdb/jv-lang.c
parent28d39d1a3a0fa205e5223b183c3df93264865dc5 (diff)
downloadfsf-binutils-gdb-5a1efed76c634acc0c568727c4bcda0e296c89dd.zip
fsf-binutils-gdb-5a1efed76c634acc0c568727c4bcda0e296c89dd.tar.gz
fsf-binutils-gdb-5a1efed76c634acc0c568727c4bcda0e296c89dd.tar.bz2
2004-01-20 Andrew Cagney <cagney@redhat.com>
* ax-gdb.c (print_axs_value): Delete unused function. * jv-lang.c (java_lookup_type): Delete unused function. * cli/cli-dump.c (dump_filetype): Delete unused function. * remote-mips.c (remote_mips_insert_hw_breakpoint) (remote_mips_remove_hw_breakpoint): Delete unused functions. (mips_getstring): Delete unused function. (pmon_insert_breakpoint): Delete #if0ed function. (PMON_MAX_BP): Delete #if0ed MACRO. (mips_pmon_bp_info): Delete #if0ed variable. (pmon_remove_breakpoint): Delete #if0ed function. * monitor.c (monitor_write_even_block): Delete unused function. (monitor_write_memory_block): Delete #if0ed code. * dink32-rom.c (dink32_load): Delete unused function. (_initialize_dink32_rom): Delete #if0ed code. * d10v-tdep.c (d10v_daddr_p): Delete unused function.
Diffstat (limited to 'gdb/jv-lang.c')
-rw-r--r--gdb/jv-lang.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/gdb/jv-lang.c b/gdb/jv-lang.c
index 0d4d6bb..d4779fd 100644
--- a/gdb/jv-lang.c
+++ b/gdb/jv-lang.c
@@ -58,7 +58,6 @@ static void java_demangled_signature_copy (char *, char *);
static struct symtab *get_java_class_symtab (void);
static char *get_java_utf8_name (struct obstack *obstack, struct value *name);
static int java_class_is_primitive (struct value *clas);
-static struct type *java_lookup_type (char *signature);
static struct value *java_value_string (char *ptr, int len);
static void java_emit_char (int c, struct ui_file * stream, int quoter);
@@ -764,19 +763,6 @@ java_demangle_type_signature (char *signature)
return result;
}
-struct type *
-java_lookup_type (char *signature)
-{
- switch (signature[0])
- {
- case 'L':
- case '[':
- error ("java_lookup_type not fully implemented");
- default:
- return java_primitive_type (signature[0]);
- }
-}
-
/* Return the type of TYPE followed by DIMS pairs of [ ].
If DIMS == 0, TYPE is returned. */