aboutsummaryrefslogtreecommitdiff
path: root/gdb/cli
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/cli
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/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 119f220..b5c9d0b 100644
--- a/gdb/cli/cli-cmds.c
+++ b/gdb/cli/cli-cmds.c
@@ -1148,7 +1148,7 @@ print_disassembly (struct gdbarch *gdbarch, const char *name,
paddress (gdbarch, low), paddress (gdbarch, high));
/* Dump the specified range. */
- gdb_disassembly (gdbarch, current_uiout, 0, flags, -1, low, high);
+ gdb_disassembly (gdbarch, current_uiout, flags, -1, low, high);
printf_filtered ("End of assembler dump.\n");
gdb_flush (gdb_stdout);