aboutsummaryrefslogtreecommitdiff
path: root/gdb/mi/mi-cmd-disas.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2017-02-01 22:54:35 -0500
committerSimon Marchi <simon.marchi@polymtl.ca>2017-02-01 22:54:35 -0500
commit7a8eb317c5bce0f1ff290a9343777db74adec663 (patch)
treec6866c4cad5ce9cee95a988518fd433a1f7d491f /gdb/mi/mi-cmd-disas.c
parent981d5de71da556bc3b43adbec2d12b1736628b5d (diff)
downloadgdb-7a8eb317c5bce0f1ff290a9343777db74adec663.zip
gdb-7a8eb317c5bce0f1ff290a9343777db74adec663.tar.gz
gdb-7a8eb317c5bce0f1ff290a9343777db74adec663.tar.bz2
Remove unused file_string parameter in gdb_disassembly
The file_string parameter was added in 8f0eea0 (sorry, no title back then) and has never actually been used. gdb/ChangeLog: * disasm.h (gdb_disassembly): Remove file_string parameter. * disasm.c (gdb_disassembly): Likewise. * cli/cli-cmds.c (print_disassembly): Adapt. * mi/mi-cmd-disas.c (mi_cmd_disassemble): Likewise. * stack.c (do_gdb_disassembly): Likewise.
Diffstat (limited to 'gdb/mi/mi-cmd-disas.c')
-rw-r--r--gdb/mi/mi-cmd-disas.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/mi/mi-cmd-disas.c b/gdb/mi/mi-cmd-disas.c
index 2247d2c..9338f7b 100644
--- a/gdb/mi/mi-cmd-disas.c
+++ b/gdb/mi/mi-cmd-disas.c
@@ -187,7 +187,6 @@ mi_cmd_disassemble (char *command, char **argv, int argc)
}
gdb_disassembly (gdbarch, uiout,
- file_string,
disasm_flags,
how_many, low, high);