OSDN Git Service

* gdbtk-cmds.c (gdb_clear_file): Use Tcl_WrongNumArgs.
authortromey <tromey>
Thu, 30 Nov 2000 02:52:45 +0000 (02:52 +0000)
committertromey <tromey>
Thu, 30 Nov 2000 02:52:45 +0000 (02:52 +0000)
commit28220e2ea5e209cd6e7011fdd36ed2baac9d58f9
tree90f4095c5536abc9246ff7cca6b80b80d312851c
parent8ec48a7a7a6b582d10b8af034caf90c7069ed0a8
* gdbtk-cmds.c (gdb_clear_file): Use Tcl_WrongNumArgs.
(gdb_confirm_quit): Likewise.
(gdb_force_quit): Likewise.
(gdb_eval): Likewise.
(gdb_immediate_command): Likewise.
(gdb_get_vars_command): Likewise.
(gdb_get_line_command): Likewise.
(gdb_get_file_command): Likewise.
(gdb_get_function_command): Likewise.
(gdb_cmd): Likewise.  Also, don't allow more than 2 arguments.
(gdb_listfiles): Corrected usage of Tcl_WrongNumArgs.
(gdb_listfuncs): Use Tcl_WrongNumArgs.  Return error.
(gdb_fetch_registers): Likewise.
(gdb_tracepoint_exists_command): Use Tcl_WrongNumArgs.
(gdb_get_tracepoint_info): Likewise.
(gdb_get_trace_frame_num): Likewise.
(gdb_actions_command): Likewise.
(gdb_disassemble): Likewise.  Also, return error.
(gdb_get_breakpoint_list): Likewise.
(gdb_path_conv): Likewise.
(gdb_load_disassembly): Use Tcl_WrongNumArgs.
(gdb_loc): Likewise.
(gdb_set_bp): Likewise.
(gdb_set_bp_addr): Likewise.
(gdb_get_breakpoint_info): Likewise.
gdb/gdbtk/generic/ChangeLog
gdb/gdbtk/generic/gdbtk-cmds.c