diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2017-02-01 22:54:35 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2017-02-01 22:54:35 -0500 |
commit | 7a8eb317c5bce0f1ff290a9343777db74adec663 (patch) | |
tree | c6866c4cad5ce9cee95a988518fd433a1f7d491f /gdb/disasm.c | |
parent | 981d5de71da556bc3b43adbec2d12b1736628b5d (diff) | |
download | gdb-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/disasm.c')
-rw-r--r-- | gdb/disasm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/disasm.c b/gdb/disasm.c index 897f2f1..9d36f15 100644 --- a/gdb/disasm.c +++ b/gdb/disasm.c @@ -815,7 +815,7 @@ gdb_disassembler::print_insn (CORE_ADDR memaddr, void gdb_disassembly (struct gdbarch *gdbarch, struct ui_out *uiout, - char *file_string, int flags, int how_many, + int flags, int how_many, CORE_ADDR low, CORE_ADDR high) { struct ui_file *stb = mem_fileopen (); |