aboutsummaryrefslogtreecommitdiff
path: root/gdb/disasm.h
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/disasm.h
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/disasm.h')
-rw-r--r--gdb/disasm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/disasm.h b/gdb/disasm.h
index 7bbfa31..7374dbf 100644
--- a/gdb/disasm.h
+++ b/gdb/disasm.h
@@ -92,7 +92,7 @@ struct disasm_insn
};
extern 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);
/* Print the instruction at address MEMADDR in debugged memory,