X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=sim%2Fcommon%2Fsim-options.h;h=94702c4c8c9dfd0c8d319b554445da083d992165;hb=1ce22eebea40573551c2db2e7c83951154d14c81;hp=778f4c15443ad839eb0563179020592b75c4cef0;hpb=bdca5ee4bcd2fce04de6c9eabdbef8d960298e02;p=deliverable%2Fbinutils-gdb.git diff --git a/sim/common/sim-options.h b/sim/common/sim-options.h index 778f4c1544..94702c4c8c 100644 --- a/sim/common/sim-options.h +++ b/sim/common/sim-options.h @@ -1,5 +1,5 @@ /* Header file for simulator argument handling. - Copyright (C) 1997-2014 Free Software Foundation, Inc. + Copyright (C) 1997-2020 Free Software Foundation, Inc. Contributed by Cygnus Support. This file is part of GDB, the GNU debugger. @@ -135,7 +135,7 @@ SIM_RC sim_add_option_table (SIM_DESC sd, sim_cpu *cpu, const OPTION *table); MODULE_INSTALL_FN standard_install; /* Called by sim_open to parse the arguments. */ -SIM_RC sim_parse_args (SIM_DESC sd, char **argv); +SIM_RC sim_parse_args (SIM_DESC sd, char * const *argv); /* Print help messages for the options. IS_COMMAND is non-zero when this function is called from the command line interpreter. */ @@ -143,6 +143,6 @@ void sim_print_help (SIM_DESC sd, int is_command); /* Try to parse the command as if it is an option, Only fail when totally unsuccessful */ -SIM_RC sim_args_command (SIM_DESC sd, char *cmd); +SIM_RC sim_args_command (SIM_DESC sd, const char *cmd); #endif /* SIM_OPTIONS_H */