OSDN Git Service
2001-11-05 Martin M. Hunt <hunt@redhat.com>
* generic/gdbtk-cmds.h (gdbtk_set_result): Declare.
A printf-like function to return error messages.
* generic/gdbtk-cmds.c (gdbtk_set_result): New
function.
(gdb_cmd): Use gdbtk_set_result.
(gdb_immediate_command): Ditto.
(gdb_load_info): Ditto.
(gdb_find_file_command): Ditto.
(gdb_listfuncs): Ditto.
(gdb_load_disassembly): Ditto.
(gdb_loc): Ditto.
(gdb_set_mem): Ditto.
(gdb_get_mem): Ditto.
(gdb_loadfile): Ditto.
* generic/gdbtk-varobj.c (variable_format): Ditto.
(variable_value): Ditto.
* generic/gdbtk-stack.c (gdb_get_vars_command): Ditto.
* generic/gdbtk-bp.c (gdb_get_breakpoint_info): Ditto.
(gdb_set_bp): Ditto.
(gdb_set_bp_addr): Ditto.
(gdb_get_tracepoint_info): Ditto.