Andrew Cagney
|
1868c04eba
|
* cli/cli-decode.c (cmd_type): New function.
* command.h (cmd_type): Declare.
* infrun.c (set_schedlock_func): Call function cmd_type.
* kod.c (kod_set_os): Call cmd_type.
* cris-tdep.c (cris_version_update): Use function cmd_type.
(cris_mode_update, cris_abi_update): Ditto.
|
2002-03-18 02:26:32 +00:00 |
|
Andrew Cagney
|
b51450c9ff
|
* kod.c (kod_set_os): Revert previous change. Is called by ``info
set'' and this leads to a core dump. Move xstrdup of
operating_system to after check that it is not NULL.
|
2002-03-17 19:29:37 +00:00 |
|
Andrew Cagney
|
8e694ecf16
|
* kod.c (kod_set_os): Remove unnecessary check that
``command->type'' is set_cmd.
|
2002-03-17 16:25:09 +00:00 |
|
Andrew Cagney
|
9f60d481c2
|
* cli/cli-decode.c (do_cfunc, set_cmd_cfunc): New functions.
(do_sfunc, set_cmd_sfunc): New functions.
* command.h (struct cmd_list_element): Add field func.
* cli/cli-decode.h (struct cmd_list_element): Ditto.
* command.h (set_cmd_sfunc, set_cmd_cfunc): Declare.
* cli/cli-decode.h: Ditto.
* cli/cli-decode.c (help_cmd): Test for func not cfunc/sfunc.
(help_all, help_cmd_list): Ditto.
(find_cmd, complete_on_cmdlist): Ditto.
* top.c (execute_command): Ditto.
* cli/cli-setshow.c (do_setshow_command): Call func instead of
function.sfunc.
* infcmd.c (notice_args_read): Fix function signature.
* cli/cli-cmds.c (init_cli_cmds): Use set_cmd_sfunc.
* cli/cli-decode.c (add_set_cmd): Ditto.
* utils.c (initialize_utils): Ditto.
* maint.c (_initialize_maint_cmds): Ditto.
* infrun.c (_initialize_infrun): Ditto.
* demangle.c (_initialize_demangler): Ditto.
* remote.c (add_packet_config_cmd): Ditto.
* mips-tdep.c (_initialize_mips_tdep): Ditto.
* cris-tdep.c (_initialize_cris_tdep): Ditto.
* proc-api.c (_initialize_proc_api): Ditto.
* kod.c (_initialize_kod): Ditto.
* valprint.c (_initialize_valprint): Ditto.
* top.c (init_main): Ditto.
* infcmd.c (_initialize_infcmd): Ditto.
* corefile.c (_initialize_core): Ditto.
* arm-tdep.c (_initialize_arm_tdep): Ditto.
* arch-utils.c (initialize_current_architecture): Ditto.
(_initialize_gdbarch_utils): Ditto.
* alpha-tdep.c (_initialize_alpha_tdep): Ditto.
* cli/cli-decode.c (add_cmd): Use set_cmd_cfunc.
* wince.c (_initialize_inftarg): Ditto.
* symfile.c (_initialize_symfile): Ditto.
* mips-tdep.c (_initialize_mips_tdep): Ditto.
* language.c (_initialize_language): Ditto.
* arc-tdep.c (_initialize_arc_tdep): Ditto.
|
2002-02-05 04:37:23 +00:00 |
|
Kevin Buettner
|
b6ba6518e9
|
Update/correct copyright notices.
|
2001-03-06 08:22:02 +00:00 |
|
Kevin Buettner
|
b8c9b27d1e
|
Replace free() with xfree().
|
2000-12-15 01:01:51 +00:00 |
|
Kevin Buettner
|
fba45db2fa
|
Protoization.
|
2000-07-30 01:48:28 +00:00 |
|
Jason Molenda
|
c2d11a7da0
|
import gdb-1999-12-06 snapshot
|
1999-12-07 03:56:43 +00:00 |
|
Jason Molenda
|
11cf874164
|
import gdb-1999-11-08 snapshot
|
1999-11-09 01:23:30 +00:00 |
|
Jason Molenda
|
c2c6d25f0d
|
import gdb-1999-09-21
|
1999-09-22 03:28:34 +00:00 |
|
Jason Molenda
|
96baa820df
|
import gdb-1999-08-09 snapshot
|
1999-08-09 21:36:23 +00:00 |
|