"line_num".
* disasm.h (gdb_disassembly): Ditto.
* cli/cli-cmds.c (print_disassembly): Ditto.
* mi/mi-cmd-disas.c (mi_cmd_disassemble): Ditto.
+2009-03-10 Hui Zhu <teawater@gmail.com>
+
+ * disasm.c (gdb_disassembly): Remove unused argument
+ "line_num".
+ * disasm.h (gdb_disassembly): Ditto.
+ * cli/cli-cmds.c (print_disassembly): Ditto.
+ * mi/mi-cmd-disas.c (mi_cmd_disassemble): Ditto.
+
2009-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
* solib.c (solib_contains_address_p): New function.
printf_filtered ("from %s to %s:\n", paddress (low), paddress (high));
/* Dump the specified range. */
- gdb_disassembly (uiout, 0, 0, mixed, -1, low, high);
+ gdb_disassembly (uiout, 0, mixed, -1, low, high);
printf_filtered ("End of assembler dump.\n");
gdb_flush (gdb_stdout);
void
gdb_disassembly (struct ui_out *uiout,
char *file_string,
- int line_num,
int mixed_source_and_assembly,
int how_many, CORE_ADDR low, CORE_ADDR high)
{
extern void gdb_disassembly (struct ui_out *uiout,
char *file_string,
- int line_num,
int mixed_source_and_assembly,
int how_many, CORE_ADDR low, CORE_ADDR high);
gdb_disassembly (uiout,
file_string,
- line_num,
mixed_source_and_assembly, how_many, low, high);
}