forked from Imagelibrary/binutils-gdb
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.
This commit is contained in:
28
gdb/ax-gdb.c
28
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)
|
||||
|
||||
Reference in New Issue
Block a user