aboutsummaryrefslogtreecommitdiff
path: root/gdb/cli
diff options
context:
space:
mode:
authorHui Zhu <teawater@gmail.com>2009-03-10 08:53:53 +0000
committerHui Zhu <teawater@gmail.com>2009-03-10 08:53:53 +0000
commit55518360d847fab31e7a3d4f784908e1827fd5d8 (patch)
tree260fe7310817154c8c3c00cf61e6008f8d4e7854 /gdb/cli
parent69fe9ce501f5fde501443648fe4243dc9fe8d5b1 (diff)
downloadgdb-55518360d847fab31e7a3d4f784908e1827fd5d8.zip
gdb-55518360d847fab31e7a3d4f784908e1827fd5d8.tar.gz
gdb-55518360d847fab31e7a3d4f784908e1827fd5d8.tar.bz2
* 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.
Diffstat (limited to 'gdb/cli')
-rw-r--r--gdb/cli/cli-cmds.c2
1 files changed, 1 insertions, 1 deletions
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);