diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-01-21 15:37:11 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-01-21 15:37:11 +0000 |
commit | 759c4bd5525d7da40686138d1a8e45a898be45ec (patch) | |
tree | 293fcbb9450d8803f3b5d68a20b6290aba607c7a /gdb/ax-gdb.c | |
parent | c1890eaae231fd593ef32cd9681f5d40fbb220db (diff) | |
download | gdb-759c4bd5525d7da40686138d1a8e45a898be45ec.tar.gz |
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/ax-gdb.c')
-rw-r--r-- | gdb/ax-gdb.c | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/gdb/ax-gdb.c b/gdb/ax-gdb.c index 5692c35f990..cacf308f5fd 100644 --- a/gdb/ax-gdb.c +++ b/gdb/ax-gdb.c @@ -134,7 +134,6 @@ static void gen_sizeof (union exp_element **pc, static void gen_expr (union exp_element **pc, struct agent_expr *ax, struct axs_value *value); -static void print_axs_value (struct ui_file *f, struct axs_value * value); static void agent_command (char *exp, int from_tty); @@ -1797,33 +1796,6 @@ gen_trace_for_expr (CORE_ADDR scope, struct expression *expr) discard_cleanups (old_chain); return ax; } - - - -/* The "agent" command, for testing: compile and disassemble an expression. */ - -static void -print_axs_value (struct ui_file *f, struct axs_value *value) -{ - switch (value->kind) - { - case axs_rvalue: - fputs_filtered ("rvalue", f); - break; - - case axs_lvalue_memory: - fputs_filtered ("memory lvalue", f); - break; - - case axs_lvalue_register: - fprintf_filtered (f, "register %d lvalue", value->u.reg); - break; - } - - fputs_filtered (" : ", f); - type_print (value->type, "", f, -1); -} - static void agent_command (char *exp, int from_tty) |