* disasm.c (gdb_disassembly): Remove unused argument
authorHui Zhu <teawater@gmail.com>
Tue, 10 Mar 2009 08:53:53 +0000 (08:53 +0000)
committerHui Zhu <teawater@gmail.com>
Tue, 10 Mar 2009 08:53:53 +0000 (08:53 +0000)
"line_num".
* disasm.h (gdb_disassembly): Ditto.
* cli/cli-cmds.c (print_disassembly): Ditto.
* mi/mi-cmd-disas.c (mi_cmd_disassemble): Ditto.

gdb/ChangeLog
gdb/cli/cli-cmds.c
gdb/disasm.c
gdb/disasm.h
gdb/mi/mi-cmd-disas.c

index a69ef7f960b417fc0c898805c0f5d30b0c4aad86..ea4697a89715d73d9f0f36c64464a6180d0f5a7b 100644 (file)
@@ -1,3 +1,11 @@
+2009-03-10  Hui Zhu  <teawater@gmail.com>
+
+       * 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.
+
 2009-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
 
        * solib.c (solib_contains_address_p): New function.
index 4d9c4f385dae0b6e54466732937ffe0ea251072a..1b40b4b3c199c879066b6d22e7c26d20fd2713b3 100644 (file)
@@ -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);
index e6533b0a9108919732d5c272aa81dd6022cd661e..4ea5137dd389351c27bc9e78de3c661ea8812cfb 100644 (file)
@@ -351,7 +351,6 @@ gdb_disassemble_info (struct gdbarch *gdbarch, struct ui_file *file)
 void
 gdb_disassembly (struct ui_out *uiout,
                char *file_string,
-               int line_num,
                int mixed_source_and_assembly,
                int how_many, CORE_ADDR low, CORE_ADDR high)
 {
index c08af3dc8b3a19ee87e15ed2f54c9071d9f3d46a..2f9c3708f1cbd87a160ab13f4652099dd44fba5b 100644 (file)
@@ -24,7 +24,6 @@ struct ui_file;
 
 extern void gdb_disassembly (struct ui_out *uiout,
                             char *file_string,
-                            int line_num,
                             int mixed_source_and_assembly,
                             int how_many, CORE_ADDR low, CORE_ADDR high);
 
index 4969406b5ff13ff6b69c8b74c060accb9713b31e..0017cf8e642aca71ae379b57c09d37a3658d0f87 100644 (file)
@@ -154,7 +154,6 @@ mi_cmd_disassemble (char *command, char **argv, int argc)
 
   gdb_disassembly (uiout,
                   file_string,
-                  line_num,
                   mixed_source_and_assembly, how_many, low, high);
 
 }