From: Hui Zhu Date: Tue, 10 Mar 2009 08:53:53 +0000 (+0000) Subject: * disasm.c (gdb_disassembly): Remove unused argument X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=55518360d847fab31e7a3d4f784908e1827fd5d8;p=binutils-gdb.git * 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. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a69ef7f960b..ea4697a8971 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,11 @@ +2009-03-10 Hui Zhu + + * 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 * solib.c (solib_contains_address_p): New function. diff --git a/gdb/cli/cli-cmds.c b/gdb/cli/cli-cmds.c index 4d9c4f385da..1b40b4b3c19 100644 --- a/gdb/cli/cli-cmds.c +++ b/gdb/cli/cli-cmds.c @@ -905,7 +905,7 @@ print_disassembly (const char *name, CORE_ADDR low, CORE_ADDR high, int mixed) 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); diff --git a/gdb/disasm.c b/gdb/disasm.c index e6533b0a910..4ea5137dd38 100644 --- a/gdb/disasm.c +++ b/gdb/disasm.c @@ -351,7 +351,6 @@ gdb_disassemble_info (struct gdbarch *gdbarch, struct ui_file *file) 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) { diff --git a/gdb/disasm.h b/gdb/disasm.h index c08af3dc8b3..2f9c3708f1c 100644 --- a/gdb/disasm.h +++ b/gdb/disasm.h @@ -24,7 +24,6 @@ struct ui_file; 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); diff --git a/gdb/mi/mi-cmd-disas.c b/gdb/mi/mi-cmd-disas.c index 4969406b5ff..0017cf8e642 100644 --- a/gdb/mi/mi-cmd-disas.c +++ b/gdb/mi/mi-cmd-disas.c @@ -154,7 +154,6 @@ mi_cmd_disassemble (char *command, char **argv, int argc) gdb_disassembly (uiout, file_string, - line_num, mixed_source_and_assembly, how_many, low, high); }