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 | 5a1efed76c634acc0c568727c4bcda0e296c89dd (patch) | |
tree | f315a31e8530656a2de79c77c07211a9e522bb91 /gdb/ax-gdb.c | |
parent | 28d39d1a3a0fa205e5223b183c3df93264865dc5 (diff) | |
download | gdb-5a1efed76c634acc0c568727c4bcda0e296c89dd.zip gdb-5a1efed76c634acc0c568727c4bcda0e296c89dd.tar.gz 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/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 5692c35..cacf308 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) |