2004-07-28 Andrew Cagney <cagney@gnu.org>
* cli/cli-decode.c (add_setshow_zinteger_cmd) (add_setshow_cmd, add_setshow_auto_boolean_cmd) (add_setshow_boolean_cmd, add_setshow_cmd_full): Add help_doc and print parameters. Make string parameters constant. * command.h: Update. Update copyright. * remote.c (add_packet_config_cmd, _initialize_remote): Ditto. * observer.c (_initialize_observer): Ditto. * frame.c (_initialize_frame): Ditto. * complaints.c (_initialize_complaints): Ditto. * maint.c (_initialize_maint_cmds): Ditto. * target.c (initialize_targets): Ditto. * cli/cli-logging.c (_initialize_cli_logging): Ditto. * infcall.c (_initialize_infcall): Ditto. * arm-tdep.c (_initialize_arm_tdep): Ditto. * m32r-rom.c (_initialize_m32r_rom): Ditto. * remote-rdi.c (_initialize_remote_rdi): Ditto. * d10v-tdep.c (_initialize_d10v_tdep): Ditto. * mips-tdep.c (_initialize_mips_tdep): Ditto.
This commit is contained in:
parent
54a5b07d66
commit
3b64bf9877
17 changed files with 219 additions and 163 deletions
13
gdb/frame.c
13
gdb/frame.c
|
@ -2233,23 +2233,22 @@ Show backtrace variables such as the backtrace limit",
|
|||
|
||||
add_setshow_boolean_cmd ("past-main", class_obscure,
|
||||
&backtrace_past_main, "\
|
||||
Set whether backtraces should continue past \"main\".\n\
|
||||
Set whether backtraces should continue past \"main\".", "\
|
||||
Show whether backtraces should continue past \"main\".", "\
|
||||
Normally the caller of \"main\" is not of interest, so GDB will terminate\n\
|
||||
the backtrace at \"main\". Set this variable if you need to see the rest\n\
|
||||
of the stack trace.", "\
|
||||
Show whether backtraces should continue past \"main\".\n\
|
||||
Normally the caller of \"main\" is not of interest, so GDB will terminate\n\
|
||||
the backtrace at \"main\". Set this variable if you need to see the rest\n\
|
||||
of the stack trace.",
|
||||
Whether backtraces should continue past \"main\" is %s.",
|
||||
NULL, NULL, &set_backtrace_cmdlist,
|
||||
&show_backtrace_cmdlist);
|
||||
|
||||
add_setshow_uinteger_cmd ("limit", class_obscure,
|
||||
&backtrace_limit, "\
|
||||
Set an upper bound on the number of backtrace levels.\n\
|
||||
Set an upper bound on the number of backtrace levels.", "\
|
||||
Show the upper bound on the number of backtrace levels.", "\
|
||||
No more than the specified number of frames can be displayed or examined.\n\
|
||||
Zero is unlimited.", "\
|
||||
Show the upper bound on the number of backtrace levels.",
|
||||
An upper bound on the number of backtrace levels is %s.",
|
||||
NULL, NULL, &set_backtrace_cmdlist,
|
||||
&show_backtrace_cmdlist);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue