diff options
-rw-r--r-- | gdb/ChangeLog | 8 | ||||
-rw-r--r-- | gdb/cli/cli-cmds.c | 2 | ||||
-rw-r--r-- | gdb/disasm.c | 1 | ||||
-rw-r--r-- | gdb/disasm.h | 1 | ||||
-rw-r--r-- | gdb/mi/mi-cmd-disas.c | 1 |
5 files changed, 9 insertions, 4 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a69ef7f..ea4697a 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,11 @@ +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. diff --git a/gdb/cli/cli-cmds.c b/gdb/cli/cli-cmds.c index 4d9c4f3..1b40b4b 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 e6533b0..4ea5137 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 c08af3d..2f9c370 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 4969406..0017cf8 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); } |