* 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.
This commit is contained in:
parent
69fe9ce501
commit
55518360d8
5 changed files with 9 additions and 4 deletions
|
@ -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.
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue