2005-02-18 Andrew Cagney <cagney@gnu.org>
Use add_setshow_zinteger_cmd through out. Re-sync gdbarch.sh and gdbarch.c. * breakpoint.c, frame.c, gdb-events.sh, gdbarch.sh: Update. * gdbtypes.c, infrun.c, linux-nat.c, maint.c, monitor.c: Update. * pa64solib.c, parse.c, remote-mips.c, ser-go32.c: Update. * serial.c, solib-frv.c, somsolib.c, target.c, top.c: Update. * varobj.c, cli/cli-cmds.c: Update. * gdbarch.c, gdb-events.c: Regenerate.
This commit is contained in:
parent
904c75ac4f
commit
85c078043b
@ -1,5 +1,14 @@
|
|||||||
2005-02-18 Andrew Cagney <cagney@gnu.org>
|
2005-02-18 Andrew Cagney <cagney@gnu.org>
|
||||||
|
|
||||||
|
Use add_setshow_zinteger_cmd through out. Re-sync gdbarch.sh
|
||||||
|
and gdbarch.c.
|
||||||
|
* breakpoint.c, frame.c, gdb-events.sh, gdbarch.sh: Update.
|
||||||
|
* gdbtypes.c, infrun.c, linux-nat.c, maint.c, monitor.c: Update.
|
||||||
|
* pa64solib.c, parse.c, remote-mips.c, ser-go32.c: Update.
|
||||||
|
* serial.c, solib-frv.c, somsolib.c, target.c, top.c: Update.
|
||||||
|
* varobj.c, cli/cli-cmds.c: Update.
|
||||||
|
* gdbarch.c, gdb-events.c: Regenerate.
|
||||||
|
|
||||||
Use add_setshow_boolean_command through out. Delete #ifdef 0'ed
|
Use add_setshow_boolean_command through out. Delete #ifdef 0'ed
|
||||||
code adding set/show boolean commands.
|
code adding set/show boolean commands.
|
||||||
* cp-valprint.c, dcache.c, exec.c, gdbtypes.c, infrun.c: Update.
|
* cp-valprint.c, dcache.c, exec.c, gdbtypes.c, infrun.c: Update.
|
||||||
|
@ -7928,15 +7928,17 @@ an expression is either read or written."));
|
|||||||
_("Synonym for ``info breakpoints''."));
|
_("Synonym for ``info breakpoints''."));
|
||||||
|
|
||||||
|
|
||||||
c = add_set_cmd ("can-use-hw-watchpoints", class_support, var_zinteger,
|
add_setshow_zinteger_cmd ("can-use-hw-watchpoints", class_support,
|
||||||
(char *) &can_use_hw_watchpoints,
|
&can_use_hw_watchpoints, _("\
|
||||||
"Set debugger's willingness to use watchpoint hardware.\n\
|
Set debugger's willingness to use watchpoint hardware."), _("\
|
||||||
|
Show debugger's willingness to use watchpoint hardware."), _("\
|
||||||
If zero, gdb will not use hardware for new watchpoints, even if\n\
|
If zero, gdb will not use hardware for new watchpoints, even if\n\
|
||||||
such is available. (However, any hardware watchpoints that were\n\
|
such is available. (However, any hardware watchpoints that were\n\
|
||||||
created before setting this to nonzero, will continue to use watchpoint\n\
|
created before setting this to nonzero, will continue to use watchpoint\n\
|
||||||
hardware.)",
|
hardware.)"),
|
||||||
&setlist);
|
NULL,
|
||||||
deprecated_add_show_from_set (c, &showlist);
|
NULL, /* FIXME: i18n: */
|
||||||
|
&setlist, &showlist);
|
||||||
|
|
||||||
can_use_hw_watchpoints = 1;
|
can_use_hw_watchpoints = 1;
|
||||||
|
|
||||||
|
@ -1181,21 +1181,23 @@ is used, the same rules apply to its nested commands as to the first ones."));
|
|||||||
|
|
||||||
/* If target is open when baud changes, it doesn't take effect until the
|
/* If target is open when baud changes, it doesn't take effect until the
|
||||||
next open (I think, not sure). */
|
next open (I think, not sure). */
|
||||||
deprecated_add_show_from_set
|
add_setshow_zinteger_cmd ("remotebaud", no_class, &baud_rate, _("\
|
||||||
(add_set_cmd ("remotebaud", no_class,
|
Set baud rate for remote serial I/O."), _("\
|
||||||
var_zinteger, (char *) &baud_rate,
|
Show baud rate for remote serial I/O."), _("\
|
||||||
"Set baud rate for remote serial I/O.\n\
|
|
||||||
This value is used to set the speed of the serial port when debugging\n\
|
This value is used to set the speed of the serial port when debugging\n\
|
||||||
using remote targets.", &setlist),
|
using remote targets."),
|
||||||
&showlist);
|
NULL,
|
||||||
|
NULL, /* FIXME: i18n: */
|
||||||
|
&setlist, &showlist);
|
||||||
|
|
||||||
deprecated_add_show_from_set
|
add_setshow_zinteger_cmd ("remote", no_class, &remote_debug, _("\
|
||||||
(add_set_cmd ("remote", no_class, var_zinteger,
|
Set debugging of remote protocol."), _("\
|
||||||
(char *) &remote_debug,
|
Show debugging of remote protocol."), _("\
|
||||||
"Set debugging of remote protocol.\n\
|
|
||||||
When enabled, each packet sent or received with the remote target\n\
|
When enabled, each packet sent or received with the remote target\n\
|
||||||
is displayed.", &setdebuglist),
|
is displayed."),
|
||||||
&showdebuglist);
|
NULL,
|
||||||
|
NULL, /* FIXME: i18n: */
|
||||||
|
&setdebuglist, &showdebuglist);
|
||||||
|
|
||||||
deprecated_add_show_from_set
|
deprecated_add_show_from_set
|
||||||
(add_set_cmd ("remotetimeout", no_class, var_integer, (char *) &remote_timeout,
|
(add_set_cmd ("remotetimeout", no_class, var_integer, (char *) &remote_timeout,
|
||||||
|
12
gdb/frame.c
12
gdb/frame.c
@ -1587,9 +1587,11 @@ Zero is unlimited."),
|
|||||||
&show_backtrace_cmdlist);
|
&show_backtrace_cmdlist);
|
||||||
|
|
||||||
/* Debug this files internals. */
|
/* Debug this files internals. */
|
||||||
deprecated_add_show_from_set
|
add_setshow_zinteger_cmd ("frame", class_maintenance, &frame_debug, _("\
|
||||||
(add_set_cmd ("frame", class_maintenance, var_zinteger,
|
Set frame debugging."), _("\
|
||||||
&frame_debug, "Set frame debugging.\n\
|
Show frame debugging."), _("\
|
||||||
When non-zero, frame specific internal debugging is enabled.", &setdebuglist),
|
When non-zero, frame specific internal debugging is enabled."),
|
||||||
&showdebuglist);
|
NULL,
|
||||||
|
NULL, /* FIXME: i18n: */
|
||||||
|
&setdebuglist, &showdebuglist);
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
/* User Interface Events.
|
/* User Interface Events.
|
||||||
|
|
||||||
Copyright 1999, 2001, 2002, 2004 Free Software Foundation, Inc.
|
Copyright 1999, 2001, 2002, 2004, 2005 Free Software Foundation,
|
||||||
|
Inc.
|
||||||
|
|
||||||
Contributed by Cygnus Solutions.
|
Contributed by Cygnus Solutions.
|
||||||
|
|
||||||
@ -331,11 +332,12 @@ _initialize_gdb_events (void)
|
|||||||
queue_event_hooks.tracepoint_modify = queue_tracepoint_modify;
|
queue_event_hooks.tracepoint_modify = queue_tracepoint_modify;
|
||||||
queue_event_hooks.architecture_changed = queue_architecture_changed;
|
queue_event_hooks.architecture_changed = queue_architecture_changed;
|
||||||
|
|
||||||
deprecated_add_show_from_set (add_set_cmd ("event",
|
add_setshow_zinteger_cmd ("event", class_maintenance,
|
||||||
class_maintenance,
|
&gdb_events_debug, _("\
|
||||||
var_zinteger,
|
Set event debugging."), _("\
|
||||||
(char *) (&gdb_events_debug),
|
Show event debugging."), _("\
|
||||||
"Set event debugging.\n\
|
When non-zero, event/notify debugging is enabled."),
|
||||||
When non-zero, event/notify debugging is enabled.", &setdebuglist),
|
NULL,
|
||||||
&showdebuglist);
|
NULL, /* FIXME: i18n: */
|
||||||
|
&setdebuglist, &showdebuglist);
|
||||||
}
|
}
|
||||||
|
@ -474,13 +474,14 @@ do
|
|||||||
done
|
done
|
||||||
cat <<EOF
|
cat <<EOF
|
||||||
|
|
||||||
deprecated_add_show_from_set (add_set_cmd ("event",
|
add_setshow_zinteger_cmd ("event", class_maintenance,
|
||||||
class_maintenance,
|
&gdb_events_debug, _("\\
|
||||||
var_zinteger,
|
Set event debugging."), _("\\
|
||||||
(char *) (&gdb_events_debug),
|
Show event debugging."), _("\\
|
||||||
"Set event debugging.\n\\
|
When non-zero, event/notify debugging is enabled."),
|
||||||
When non-zero, event/notify debugging is enabled.", &setdebuglist),
|
NULL,
|
||||||
&showdebuglist);
|
NULL, /* FIXME: i18n: */
|
||||||
|
&setdebuglist, &showdebuglist);
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
@ -3965,7 +3965,7 @@ gdbarch_register (enum bfd_architecture bfd_architecture,
|
|||||||
if (bfd_arch_info == NULL)
|
if (bfd_arch_info == NULL)
|
||||||
{
|
{
|
||||||
internal_error (__FILE__, __LINE__,
|
internal_error (__FILE__, __LINE__,
|
||||||
"gdbarch: Attempt to register unknown architecture (%d)",
|
_("gdbarch: Attempt to register unknown architecture (%d)"),
|
||||||
bfd_architecture);
|
bfd_architecture);
|
||||||
}
|
}
|
||||||
/* Check that we haven't seen this architecture before */
|
/* Check that we haven't seen this architecture before */
|
||||||
@ -3975,7 +3975,7 @@ gdbarch_register (enum bfd_architecture bfd_architecture,
|
|||||||
{
|
{
|
||||||
if (bfd_architecture == (*curr)->bfd_architecture)
|
if (bfd_architecture == (*curr)->bfd_architecture)
|
||||||
internal_error (__FILE__, __LINE__,
|
internal_error (__FILE__, __LINE__,
|
||||||
"gdbarch: Duplicate registraration of architecture (%s)",
|
_("gdbarch: Duplicate registraration of architecture (%s)"),
|
||||||
bfd_arch_info->printable_name);
|
bfd_arch_info->printable_name);
|
||||||
}
|
}
|
||||||
/* log it */
|
/* log it */
|
||||||
@ -4199,12 +4199,11 @@ _initialize_gdbarch (void)
|
|||||||
{
|
{
|
||||||
struct cmd_list_element *c;
|
struct cmd_list_element *c;
|
||||||
|
|
||||||
deprecated_add_show_from_set
|
add_setshow_zinteger_cmd ("arch", class_maintenance, &gdbarch_debug, _("\
|
||||||
(add_set_cmd ("arch",
|
Set architecture debugging."), _("\
|
||||||
class_maintenance,
|
Show architecture debugging."), _("\
|
||||||
var_zinteger,
|
When non-zero, architecture debugging is enabled."),
|
||||||
(char *)&gdbarch_debug,
|
NULL,
|
||||||
"Set architecture debugging.\n\
|
NULL, /* FIXME: i18n: */
|
||||||
When non-zero, architecture debugging is enabled.", &setdebuglist),
|
&setdebuglist, &showdebuglist);
|
||||||
&showdebuglist);
|
|
||||||
}
|
}
|
||||||
|
@ -1462,7 +1462,7 @@ cat <<EOF
|
|||||||
make_cleanup (xfree, buf);
|
make_cleanup (xfree, buf);
|
||||||
if (strlen (buf) > 0)
|
if (strlen (buf) > 0)
|
||||||
internal_error (__FILE__, __LINE__,
|
internal_error (__FILE__, __LINE__,
|
||||||
"verify_gdbarch: the following are invalid ...%s",
|
_("verify_gdbarch: the following are invalid ...%s"),
|
||||||
buf);
|
buf);
|
||||||
do_cleanups (cleanups);
|
do_cleanups (cleanups);
|
||||||
}
|
}
|
||||||
@ -1957,7 +1957,7 @@ gdbarch_printable_names (void)
|
|||||||
ap = bfd_lookup_arch (rego->bfd_architecture, 0);
|
ap = bfd_lookup_arch (rego->bfd_architecture, 0);
|
||||||
if (ap == NULL)
|
if (ap == NULL)
|
||||||
internal_error (__FILE__, __LINE__,
|
internal_error (__FILE__, __LINE__,
|
||||||
"gdbarch_architecture_names: multi-arch unknown");
|
_("gdbarch_architecture_names: multi-arch unknown"));
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
append_name (&arches, &nr_arches, ap->printable_name);
|
append_name (&arches, &nr_arches, ap->printable_name);
|
||||||
@ -1982,7 +1982,7 @@ gdbarch_register (enum bfd_architecture bfd_architecture,
|
|||||||
if (bfd_arch_info == NULL)
|
if (bfd_arch_info == NULL)
|
||||||
{
|
{
|
||||||
internal_error (__FILE__, __LINE__,
|
internal_error (__FILE__, __LINE__,
|
||||||
"gdbarch: Attempt to register unknown architecture (%d)",
|
_("gdbarch: Attempt to register unknown architecture (%d)"),
|
||||||
bfd_architecture);
|
bfd_architecture);
|
||||||
}
|
}
|
||||||
/* Check that we haven't seen this architecture before */
|
/* Check that we haven't seen this architecture before */
|
||||||
@ -1992,7 +1992,7 @@ gdbarch_register (enum bfd_architecture bfd_architecture,
|
|||||||
{
|
{
|
||||||
if (bfd_architecture == (*curr)->bfd_architecture)
|
if (bfd_architecture == (*curr)->bfd_architecture)
|
||||||
internal_error (__FILE__, __LINE__,
|
internal_error (__FILE__, __LINE__,
|
||||||
"gdbarch: Duplicate registraration of architecture (%s)",
|
_("gdbarch: Duplicate registraration of architecture (%s)"),
|
||||||
bfd_arch_info->printable_name);
|
bfd_arch_info->printable_name);
|
||||||
}
|
}
|
||||||
/* log it */
|
/* log it */
|
||||||
@ -2216,14 +2216,13 @@ _initialize_gdbarch (void)
|
|||||||
{
|
{
|
||||||
struct cmd_list_element *c;
|
struct cmd_list_element *c;
|
||||||
|
|
||||||
deprecated_add_show_from_set
|
add_setshow_zinteger_cmd ("arch", class_maintenance, &gdbarch_debug, _("\\
|
||||||
(add_set_cmd ("arch",
|
Set architecture debugging."), _("\\
|
||||||
class_maintenance,
|
Show architecture debugging."), _("\\
|
||||||
var_zinteger,
|
When non-zero, architecture debugging is enabled."),
|
||||||
(char *)&gdbarch_debug,
|
NULL,
|
||||||
"Set architecture debugging.\\n\\
|
NULL, /* FIXME: i18n: */
|
||||||
When non-zero, architecture debugging is enabled.", &setdebuglist),
|
&setdebuglist, &showdebuglist);
|
||||||
&showdebuglist);
|
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
@ -3707,9 +3707,11 @@ _initialize_gdbtypes (void)
|
|||||||
"builtin_type_ia64_quad_little",
|
"builtin_type_ia64_quad_little",
|
||||||
&floatformat_ia64_quad_little);
|
&floatformat_ia64_quad_little);
|
||||||
|
|
||||||
deprecated_add_show_from_set
|
add_setshow_zinteger_cmd ("overload", no_class, &overload_debug, _("\
|
||||||
(add_set_cmd ("overload", no_class, var_zinteger, (char *) &overload_debug,
|
Set debugging of C++ overloading."), _("\
|
||||||
"Set debugging of C++ overloading.\n\
|
Show debugging of C++ overloading."), _("\
|
||||||
When enabled, ranking of the functions is displayed.", &setdebuglist),
|
When enabled, ranking of the functions is displayed."),
|
||||||
&showdebuglist);
|
NULL,
|
||||||
|
NULL, /* FIXME: i18n: */
|
||||||
|
&setdebuglist, &showdebuglist);
|
||||||
}
|
}
|
||||||
|
25
gdb/infrun.c
25
gdb/infrun.c
@ -3840,9 +3840,13 @@ There is no `stop' command, but you can set a hook on `stop'.\n\
|
|||||||
This allows you to set a list of commands to be run each time execution\n\
|
This allows you to set a list of commands to be run each time execution\n\
|
||||||
of the program stops."), &cmdlist);
|
of the program stops."), &cmdlist);
|
||||||
|
|
||||||
add_set_cmd ("infrun", class_maintenance, var_zinteger,
|
add_setshow_zinteger_cmd ("infrun", class_maintenance, &debug_infrun, _("\
|
||||||
&debug_infrun, "Set inferior debugging.\n\
|
Set inferior debugging."), _("\
|
||||||
When non-zero, inferior specific debugging is enabled.", &setdebuglist);
|
Show inferior debugging."), _("\
|
||||||
|
When non-zero, inferior specific debugging is enabled."),
|
||||||
|
NULL,
|
||||||
|
NULL, /* FIXME: i18n: */
|
||||||
|
&setdebuglist, &showdebuglist);
|
||||||
|
|
||||||
numsigs = (int) TARGET_SIGNAL_LAST;
|
numsigs = (int) TARGET_SIGNAL_LAST;
|
||||||
signal_stop = (unsigned char *) xmalloc (sizeof (signal_stop[0]) * numsigs);
|
signal_stop = (unsigned char *) xmalloc (sizeof (signal_stop[0]) * numsigs);
|
||||||
@ -3892,15 +3896,16 @@ When non-zero, inferior specific debugging is enabled.", &setdebuglist);
|
|||||||
signal_print[TARGET_SIGNAL_CANCEL] = 0;
|
signal_print[TARGET_SIGNAL_CANCEL] = 0;
|
||||||
|
|
||||||
#ifdef SOLIB_ADD
|
#ifdef SOLIB_ADD
|
||||||
deprecated_add_show_from_set
|
add_setshow_zinteger_cmd ("stop-on-solib-events", class_support,
|
||||||
(add_set_cmd ("stop-on-solib-events", class_support, var_zinteger,
|
&stop_on_solib_events, _("\
|
||||||
(char *) &stop_on_solib_events,
|
Set stopping for shared library events."), _("\
|
||||||
"Set stopping for shared library events.\n\
|
Show stopping for shared library events."), _("\
|
||||||
If nonzero, gdb will give control to the user when the dynamic linker\n\
|
If nonzero, gdb will give control to the user when the dynamic linker\n\
|
||||||
notifies gdb of shared library events. The most common event of interest\n\
|
notifies gdb of shared library events. The most common event of interest\n\
|
||||||
to the user would be loading/unloading of a new library.\n",
|
to the user would be loading/unloading of a new library."),
|
||||||
&setlist),
|
NULL,
|
||||||
&showlist);
|
NULL, /* FIXME: i18n: */
|
||||||
|
&setlist, &showlist);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
c = add_set_enum_cmd ("follow-fork-mode",
|
c = add_set_enum_cmd ("follow-fork-mode",
|
||||||
|
@ -3084,11 +3084,13 @@ Specify any of the following keywords for detailed info:\n\
|
|||||||
|
|
||||||
sigemptyset (&blocked_mask);
|
sigemptyset (&blocked_mask);
|
||||||
|
|
||||||
deprecated_add_show_from_set
|
add_setshow_zinteger_cmd ("lin-lwp", no_class, &debug_linux_nat, _("\
|
||||||
(add_set_cmd ("lin-lwp", no_class, var_zinteger,
|
Set debugging of GNU/Linux lwp module."), _("\
|
||||||
(char *) &debug_linux_nat,
|
Show debugging of GNU/Linux lwp module."), _("\
|
||||||
"Set debugging of GNU/Linux lwp module.\n\
|
Enables printf debugging output."),
|
||||||
Enables printf debugging output.\n", &setdebuglist), &showdebuglist);
|
NULL,
|
||||||
|
NULL, /* FIXME: i18n: */
|
||||||
|
&setdebuglist, &showdebuglist);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
15
gdb/maint.c
15
gdb/maint.c
@ -852,16 +852,15 @@ testsuite can check the comamnd deprecator. You probably shouldn't use this,\n\
|
|||||||
If you decide you want to use it: maintenance undeprecate 'commandname'"),
|
If you decide you want to use it: maintenance undeprecate 'commandname'"),
|
||||||
&maintenancelist);
|
&maintenancelist);
|
||||||
|
|
||||||
deprecated_add_show_from_set
|
add_setshow_zinteger_cmd ("watchdog", class_maintenance, &watchdog, _("\
|
||||||
(add_set_cmd ("watchdog", class_maintenance, var_zinteger,
|
Set watchdog timer."), _("\
|
||||||
(char *) &watchdog,
|
Show watchdog timer."), _("\
|
||||||
"Set watchdog timer.\n\
|
|
||||||
When non-zero, this timeout is used instead of waiting forever for a target\n\
|
When non-zero, this timeout is used instead of waiting forever for a target\n\
|
||||||
to finish a low-level step or continue operation. If the specified amount\n\
|
to finish a low-level step or continue operation. If the specified amount\n\
|
||||||
of time passes without a response from the target, an error occurs.",
|
of time passes without a response from the target, an error occurs."),
|
||||||
&setlist),
|
NULL,
|
||||||
&showlist);
|
NULL, /* FIXME: i18n: */
|
||||||
|
&setlist, &showlist);
|
||||||
|
|
||||||
add_setshow_boolean_cmd ("profile", class_maintenance,
|
add_setshow_boolean_cmd ("profile", class_maintenance,
|
||||||
&maintenance_profile_p, _("\
|
&maintenance_profile_p, _("\
|
||||||
|
@ -2303,11 +2303,12 @@ When enabled, a hashmark \'#\' is displayed."),
|
|||||||
NULL, /* FIXME: i18n: */
|
NULL, /* FIXME: i18n: */
|
||||||
&setlist, &showlist);
|
&setlist, &showlist);
|
||||||
|
|
||||||
deprecated_add_show_from_set
|
add_setshow_zinteger_cmd ("monitor", no_class, &monitor_debug_p, _("\
|
||||||
(add_set_cmd ("monitor", no_class, var_zinteger,
|
Set debugging of remote monitor communication."), _("\
|
||||||
(char *) &monitor_debug_p,
|
Show debugging of remote monitor communication."), _("\
|
||||||
"Set debugging of remote monitor communication.\n\
|
|
||||||
When enabled, communication between GDB and the remote monitor\n\
|
When enabled, communication between GDB and the remote monitor\n\
|
||||||
is displayed.", &setdebuglist),
|
is displayed."),
|
||||||
&showdebuglist);
|
NULL,
|
||||||
|
NULL, /* FIXME: i18n: */
|
||||||
|
&setdebuglist, &showdebuglist);
|
||||||
}
|
}
|
||||||
|
@ -901,15 +901,16 @@ inferior. Otherwise, symbols must be loaded manually, using `sharedlibrary'."),
|
|||||||
NULL, /* FIXME: i18n: */
|
NULL, /* FIXME: i18n: */
|
||||||
&setlist, &showlist);
|
&setlist, &showlist);
|
||||||
|
|
||||||
deprecated_add_show_from_set
|
add_setshow_zinteger_cmd ("auto-solib-limit", class_support,
|
||||||
(add_set_cmd ("auto-solib-limit", class_support, var_zinteger,
|
&auto_solib_limit, _("\
|
||||||
(char *) &auto_solib_limit,
|
Set threshold (in Mb) for autoloading shared library symbols."), _("\
|
||||||
"Set threshold (in Mb) for autoloading shared library symbols.\n\
|
Show threshold (in Mb) for autoloading shared library symbols."), _("\
|
||||||
When shared library autoloading is enabled, new libraries will be loaded\n\
|
When shared library autoloading is enabled, new libraries will be loaded\n\
|
||||||
only until the total size of shared library symbols exceeds this\n\
|
only until the total size of shared library symbols exceeds this\n\
|
||||||
threshold in megabytes. Is ignored when using `sharedlibrary'.",
|
threshold in megabytes. Is ignored when using `sharedlibrary'."),
|
||||||
&setlist),
|
NULL,
|
||||||
&showlist);
|
NULL, /* FIXME: i18n: */
|
||||||
|
&setlist, &showlist);
|
||||||
|
|
||||||
/* ??rehrauer: On HP-UX, the kernel parameter MAXDSIZ limits how
|
/* ??rehrauer: On HP-UX, the kernel parameter MAXDSIZ limits how
|
||||||
much data space a process can use. We ought to be reading
|
much data space a process can use. We ought to be reading
|
||||||
|
15
gdb/parse.c
15
gdb/parse.c
@ -1312,11 +1312,12 @@ _initialize_parse (void)
|
|||||||
DEPRECATED_REGISTER_GDBARCH_SWAP (msym_unknown_symbol_type);
|
DEPRECATED_REGISTER_GDBARCH_SWAP (msym_unknown_symbol_type);
|
||||||
deprecated_register_gdbarch_swap (NULL, 0, build_parse);
|
deprecated_register_gdbarch_swap (NULL, 0, build_parse);
|
||||||
|
|
||||||
deprecated_add_show_from_set
|
add_setshow_zinteger_cmd ("expression", class_maintenance,
|
||||||
(add_set_cmd ("expression", class_maintenance, var_zinteger,
|
&expressiondebug, _("\
|
||||||
(char *) &expressiondebug,
|
Set expression debugging."), _("\
|
||||||
"Set expression debugging.\n\
|
Show expression debugging."), _("\
|
||||||
When non-zero, the internal representation of expressions will be printed.",
|
When non-zero, the internal representation of expressions will be printed."),
|
||||||
&setdebuglist),
|
NULL,
|
||||||
&showdebuglist);
|
NULL, /* FIXME: i18n: */
|
||||||
|
&setdebuglist, &showdebuglist);
|
||||||
}
|
}
|
||||||
|
@ -3370,31 +3370,34 @@ of the TFTP temporary file, if it differs from the filename seen by the board.";
|
|||||||
add_target (&ddb_ops);
|
add_target (&ddb_ops);
|
||||||
add_target (&lsi_ops);
|
add_target (&lsi_ops);
|
||||||
|
|
||||||
deprecated_add_show_from_set
|
add_setshow_zinteger_cmd ("timeout", no_class, &mips_receive_wait, _("\
|
||||||
(add_set_cmd ("timeout", no_class, var_zinteger,
|
Set timeout in seconds for remote MIPS serial I/O."), _("\
|
||||||
(char *) &mips_receive_wait,
|
Show timeout in seconds for remote MIPS serial I/O."), NULL,
|
||||||
"Set timeout in seconds for remote MIPS serial I/O.",
|
NULL,
|
||||||
&setlist),
|
NULL, /* FIXME: i18n: */
|
||||||
&showlist);
|
&setlist, &showlist);
|
||||||
|
|
||||||
deprecated_add_show_from_set
|
add_setshow_zinteger_cmd ("retransmit-timeout", no_class,
|
||||||
(add_set_cmd ("retransmit-timeout", no_class, var_zinteger,
|
&mips_retransmit_wait, _("\
|
||||||
(char *) &mips_retransmit_wait, "\
|
Set retransmit timeout in seconds for remote MIPS serial I/O."), _("\
|
||||||
Set retransmit timeout in seconds for remote MIPS serial I/O.\n\
|
Show retransmit timeout in seconds for remote MIPS serial I/O."), _("\
|
||||||
This is the number of seconds to wait for an acknowledgement to a packet\n\
|
This is the number of seconds to wait for an acknowledgement to a packet\n\
|
||||||
before resending the packet.", &setlist),
|
before resending the packet."),
|
||||||
&showlist);
|
NULL,
|
||||||
|
NULL, /* FIXME: i18n: */
|
||||||
|
&setlist, &showlist);
|
||||||
|
|
||||||
deprecated_add_show_from_set
|
add_setshow_zinteger_cmd ("syn-garbage-limit", no_class,
|
||||||
(add_set_cmd ("syn-garbage-limit", no_class, var_zinteger,
|
&mips_syn_garbage, _("\
|
||||||
(char *) &mips_syn_garbage, "\
|
Set the maximum number of characters to ignore when scanning for a SYN."), _("\
|
||||||
Set the maximum number of characters to ignore when scanning for a SYN.\n\
|
Show the maximum number of characters to ignore when scanning for a SYN."), _("\
|
||||||
This is the maximum number of characters GDB will ignore when trying to\n\
|
This is the maximum number of characters GDB will ignore when trying to\n\
|
||||||
synchronize with the remote system. A value of -1 means that there is no\n\
|
synchronize with the remote system. A value of -1 means that there is no\n\
|
||||||
limit. (Note that these characters are printed out even though they are\n\
|
limit. (Note that these characters are printed out even though they are\n\
|
||||||
ignored.)",
|
ignored.)"),
|
||||||
&setlist),
|
NULL,
|
||||||
&showlist);
|
NULL, /* FIXME: i18n: */
|
||||||
|
&setlist, &showlist);
|
||||||
|
|
||||||
deprecated_add_show_from_set
|
deprecated_add_show_from_set
|
||||||
(add_set_cmd ("monitor-prompt", class_obscure, var_string,
|
(add_set_cmd ("monitor-prompt", class_obscure, var_string,
|
||||||
@ -3403,14 +3406,14 @@ ignored.)",
|
|||||||
&setlist),
|
&setlist),
|
||||||
&showlist);
|
&showlist);
|
||||||
|
|
||||||
deprecated_add_show_from_set
|
add_setshow_zinteger_cmd ("monitor-warnings", class_obscure,
|
||||||
(add_set_cmd ("monitor-warnings", class_obscure, var_zinteger,
|
&monitor_warnings, _("\
|
||||||
(char *) &monitor_warnings,
|
Set printing of monitor warnings."), _("\
|
||||||
"Set printing of monitor warnings.\n"
|
Show printing of monitor warnings."), _("\
|
||||||
"When enabled, monitor warnings about hardware breakpoints "
|
When enabled, monitor warnings about hardware breakpoints will be displayed."),
|
||||||
"will be displayed.",
|
NULL,
|
||||||
&setlist),
|
NULL, /* FIXME: i18n: */
|
||||||
&showlist);
|
&setlist, &showlist);
|
||||||
|
|
||||||
add_com ("pmon <command>", class_obscure, pmon_command,
|
add_com ("pmon <command>", class_obscure, pmon_command,
|
||||||
_("Send a packet to PMON (must be in debug mode)."));
|
_("Send a packet to PMON (must be in debug mode)."));
|
||||||
|
@ -903,61 +903,61 @@ _initialize_ser_dos (void)
|
|||||||
intrupts[1].inuse = /* keyboard */
|
intrupts[1].inuse = /* keyboard */
|
||||||
intrupts[2].inuse = 1; /* slave icu */
|
intrupts[2].inuse = 1; /* slave icu */
|
||||||
|
|
||||||
deprecated_add_show_from_set
|
add_setshow_zinteger_cmd ("com1base", class_obscure, &ports[0].base, _("\
|
||||||
(add_set_cmd ("com1base", class_obscure, var_zinteger,
|
Set COM1 base i/o port address."), _("\
|
||||||
(char *) &ports[0].base,
|
Show COM1 base i/o port address."), NULL,
|
||||||
"Set COM1 base i/o port address.",
|
NULL,
|
||||||
&setlist),
|
NULL, /* FIXME: i18n: */
|
||||||
&showlist);
|
&setlist, &showlist);
|
||||||
|
|
||||||
deprecated_add_show_from_set
|
add_setshow_zinteger_cmd ("com1irq", class_obscure, &ports[0].irq, _("\
|
||||||
(add_set_cmd ("com1irq", class_obscure, var_zinteger,
|
Set COM1 interrupt request."), _("\
|
||||||
(char *) &ports[0].irq,
|
Show COM1 interrupt request."), NULL,
|
||||||
"Set COM1 interrupt request.",
|
NULL,
|
||||||
&setlist),
|
NULL, /* FIXME: i18n: */
|
||||||
&showlist);
|
&setlist, &showlist);
|
||||||
|
|
||||||
deprecated_add_show_from_set
|
add_setshow_zinteger_cmd ("com2base", class_obscure, &ports[1].base, _("\
|
||||||
(add_set_cmd ("com2base", class_obscure, var_zinteger,
|
Set COM2 base i/o port address."), _("\
|
||||||
(char *) &ports[1].base,
|
Show COM2 base i/o port address."), NULL,
|
||||||
"Set COM2 base i/o port address.",
|
NULL,
|
||||||
&setlist),
|
NULL, /* FIXME: i18n: */
|
||||||
&showlist);
|
&setlist, &showlist);
|
||||||
|
|
||||||
deprecated_add_show_from_set
|
add_setshow_zinteger_cmd ("com2irq", class_obscure, &ports[1].irq, _("\
|
||||||
(add_set_cmd ("com2irq", class_obscure, var_zinteger,
|
Set COM2 interrupt request."), _("\
|
||||||
(char *) &ports[1].irq,
|
Show COM2 interrupt request."), NULL,
|
||||||
"Set COM2 interrupt request.",
|
NULL,
|
||||||
&setlist),
|
NULL, /* FIXME: i18n: */
|
||||||
&showlist);
|
&setlist, &showlist);
|
||||||
|
|
||||||
deprecated_add_show_from_set
|
add_setshow_zinteger_cmd ("com3base", class_obscure, &ports[2].base, _("\
|
||||||
(add_set_cmd ("com3base", class_obscure, var_zinteger,
|
Set COM3 base i/o port address."), _("\
|
||||||
(char *) &ports[2].base,
|
Show COM3 base i/o port address."), NULL,
|
||||||
"Set COM3 base i/o port address.",
|
NULL,
|
||||||
&setlist),
|
NULL, /* FIXME: i18n: */
|
||||||
&showlist);
|
&setlist, &showlist);
|
||||||
|
|
||||||
deprecated_add_show_from_set
|
add_setshow_zinteger_cmd ("com3irq", class_obscure, &ports[2].irq, _("\
|
||||||
(add_set_cmd ("com3irq", class_obscure, var_zinteger,
|
Set COM3 interrupt request."), _("\
|
||||||
(char *) &ports[2].irq,
|
Show COM3 interrupt request."), NULL,
|
||||||
"Set COM3 interrupt request.",
|
NULL,
|
||||||
&setlist),
|
NULL, /* FIXME: i18n: */
|
||||||
&showlist);
|
&setlist, &showlist);
|
||||||
|
|
||||||
deprecated_add_show_from_set
|
add_setshow_zinteger_cmd ("com4base", class_obscure, &ports[3].base, _("\
|
||||||
(add_set_cmd ("com4base", class_obscure, var_zinteger,
|
Set COM4 base i/o port address."), _("\
|
||||||
(char *) &ports[3].base,
|
Show COM4 base i/o port address."), NULL,
|
||||||
"Set COM4 base i/o port address.",
|
NULL,
|
||||||
&setlist),
|
NULL, /* FIXME: i18n: */
|
||||||
&showlist);
|
&setlist, &showlist);
|
||||||
|
|
||||||
deprecated_add_show_from_set
|
add_setshow_zinteger_cmd ("com4irq", class_obscure, &ports[3].irq, _("\
|
||||||
(add_set_cmd ("com4irq", class_obscure, var_zinteger,
|
Set COM4 interrupt request."), _("\
|
||||||
(char *) &ports[3].irq,
|
Show COM4 interrupt request."), NULL,
|
||||||
"Set COM4 interrupt request.",
|
NULL,
|
||||||
&setlist),
|
NULL, /* FIXME: i18n: */
|
||||||
&showlist);
|
&setlist, &showlist);
|
||||||
|
|
||||||
add_info ("serial", dos_info,
|
add_info ("serial", dos_info,
|
||||||
_("Print DOS serial port status."));
|
_("Print DOS serial port status."));
|
||||||
|
16
gdb/serial.c
16
gdb/serial.c
@ -702,12 +702,12 @@ by gdbserver."),
|
|||||||
&setlist),
|
&setlist),
|
||||||
&showlist);
|
&showlist);
|
||||||
|
|
||||||
deprecated_add_show_from_set
|
add_setshow_zinteger_cmd ("serial", class_maintenance,
|
||||||
(add_set_cmd ("serial",
|
&global_serial_debug_p, _("\
|
||||||
class_maintenance,
|
Set serial debugging."), _("\
|
||||||
var_zinteger,
|
Show serial debugging."), _("\
|
||||||
(char *)&global_serial_debug_p,
|
When non-zero, serial port debugging is enabled."),
|
||||||
"Set serial debugging.\n\
|
NULL,
|
||||||
When non-zero, serial port debugging is enabled.", &setdebuglist),
|
NULL, /* FIXME: i18n: */
|
||||||
&showdebuglist);
|
&setdebuglist, &showdebuglist);
|
||||||
}
|
}
|
||||||
|
@ -1218,11 +1218,12 @@ _initialize_frv_solib (void)
|
|||||||
current_target_so_ops = &frv_so_ops;
|
current_target_so_ops = &frv_so_ops;
|
||||||
|
|
||||||
/* Debug this file's internals. */
|
/* Debug this file's internals. */
|
||||||
deprecated_add_show_from_set
|
add_setshow_zinteger_cmd ("solib-frv", class_maintenance,
|
||||||
(add_set_cmd ("solib-frv", class_maintenance, var_zinteger,
|
&solib_frv_debug, _("\
|
||||||
&solib_frv_debug,
|
Set internal debugging of shared library code for FR-V."), _("\
|
||||||
"Set internal debugging of shared library code for FR-V.\n"
|
Show internal debugging of shared library code for FR-V."), _("\
|
||||||
"When non-zero, FR-V solib specific internal debugging is enabled.",
|
When non-zero, FR-V solib specific internal debugging is enabled."),
|
||||||
&setdebuglist),
|
NULL,
|
||||||
&showdebuglist);
|
NULL, /* FIXME: i18n: */
|
||||||
|
&setdebuglist, &showdebuglist);
|
||||||
}
|
}
|
||||||
|
@ -1569,15 +1569,16 @@ inferior. Otherwise, symbols must be loaded manually, using `sharedlibrary'."),
|
|||||||
NULL, /* FIXME: i18n: */
|
NULL, /* FIXME: i18n: */
|
||||||
&setlist, &showlist);
|
&setlist, &showlist);
|
||||||
|
|
||||||
deprecated_add_show_from_set
|
add_setshow_zinteger_cmd ("auto-solib-limit", class_support,
|
||||||
(add_set_cmd ("auto-solib-limit", class_support, var_zinteger,
|
&auto_solib_limit, _("\
|
||||||
(char *) &auto_solib_limit,
|
Set threshold (in Mb) for autoloading shared library symbols."), _("\
|
||||||
"Set threshold (in Mb) for autoloading shared library symbols.\n\
|
Show threshold (in Mb) for autoloading shared library symbols."), _("\
|
||||||
When shared library autoloading is enabled, new libraries will be loaded\n\
|
When shared library autoloading is enabled, new libraries will be loaded\n\
|
||||||
only until the total size of shared library symbols exceeds this\n\
|
only until the total size of shared library symbols exceeds this\n\
|
||||||
threshold in megabytes. Is ignored when using `sharedlibrary'.",
|
threshold in megabytes. Is ignored when using `sharedlibrary'."),
|
||||||
&setlist),
|
NULL,
|
||||||
&showlist);
|
NULL, /* FIXME: i18n: */
|
||||||
|
&setlist, &showlist);
|
||||||
|
|
||||||
/* ??rehrauer: On HP-UX, the kernel parameter MAXDSIZ limits how
|
/* ??rehrauer: On HP-UX, the kernel parameter MAXDSIZ limits how
|
||||||
much data space a process can use. We ought to be reading
|
much data space a process can use. We ought to be reading
|
||||||
|
13
gdb/target.c
13
gdb/target.c
@ -2552,14 +2552,15 @@ initialize_targets (void)
|
|||||||
add_info ("target", target_info, targ_desc);
|
add_info ("target", target_info, targ_desc);
|
||||||
add_info ("files", target_info, targ_desc);
|
add_info ("files", target_info, targ_desc);
|
||||||
|
|
||||||
deprecated_add_show_from_set
|
add_setshow_zinteger_cmd ("target", class_maintenance, &targetdebug, _("\
|
||||||
(add_set_cmd ("target", class_maintenance, var_zinteger,
|
Set target debugging."), _("\
|
||||||
(char *) &targetdebug,
|
Show target debugging."), _("\
|
||||||
"Set target debugging.\n\
|
|
||||||
When non-zero, target debugging is enabled. Higher numbers are more\n\
|
When non-zero, target debugging is enabled. Higher numbers are more\n\
|
||||||
verbose. Changes do not take effect until the next \"run\" or \"target\"\n\
|
verbose. Changes do not take effect until the next \"run\" or \"target\"\n\
|
||||||
command.", &setdebuglist),
|
command."),
|
||||||
&showdebuglist);
|
NULL,
|
||||||
|
NULL, /* FIXME: i18n: */
|
||||||
|
&setdebuglist, &showdebuglist);
|
||||||
|
|
||||||
add_setshow_boolean_cmd ("trust-readonly-sections", class_support,
|
add_setshow_boolean_cmd ("trust-readonly-sections", class_support,
|
||||||
&trust_readonly, _("\
|
&trust_readonly, _("\
|
||||||
|
13
gdb/top.c
13
gdb/top.c
@ -1425,13 +1425,14 @@ Show whether to confirm potentially dangerous operations."), NULL,
|
|||||||
NULL, /* FIXME: i18n: */
|
NULL, /* FIXME: i18n: */
|
||||||
&setlist, &showlist);
|
&setlist, &showlist);
|
||||||
|
|
||||||
c = add_set_cmd ("annotate", class_obscure, var_zinteger,
|
add_setshow_zinteger_cmd ("annotate", class_obscure, &annotation_level, _("\
|
||||||
(char *) &annotation_level, "Set annotation_level.\n\
|
Set annotation_level."), _("\
|
||||||
|
Show annotation_level."), _("\
|
||||||
0 == normal; 1 == fullname (for use when running under emacs)\n\
|
0 == normal; 1 == fullname (for use when running under emacs)\n\
|
||||||
2 == output annotated suitably for use by programs that control GDB.",
|
2 == output annotated suitably for use by programs that control GDB."),
|
||||||
&setlist);
|
set_async_annotation_level,
|
||||||
deprecated_add_show_from_set (c, &showlist);
|
NULL, /* FIXME: i18n: */
|
||||||
set_cmd_sfunc (c, set_async_annotation_level);
|
&setlist, &showlist);
|
||||||
|
|
||||||
add_setshow_boolean_cmd ("exec-done-display", class_support,
|
add_setshow_boolean_cmd ("exec-done-display", class_support,
|
||||||
&exec_done_display_p, _("\
|
&exec_done_display_p, _("\
|
||||||
|
11
gdb/varobj.c
11
gdb/varobj.c
@ -2559,7 +2559,12 @@ _initialize_varobj (void)
|
|||||||
varobj_table = xmalloc (sizeof_table);
|
varobj_table = xmalloc (sizeof_table);
|
||||||
memset (varobj_table, 0, sizeof_table);
|
memset (varobj_table, 0, sizeof_table);
|
||||||
|
|
||||||
deprecated_add_show_from_set (add_set_cmd ("debugvarobj", class_maintenance, var_zinteger, (char *) &varobjdebug, "Set varobj debugging.\n\
|
add_setshow_zinteger_cmd ("debugvarobj", class_maintenance,
|
||||||
When non-zero, varobj debugging is enabled.", &setlist),
|
&varobjdebug, _("\
|
||||||
&showlist);
|
Set varobj debugging."), _("\
|
||||||
|
Show varobj debugging."), _("\
|
||||||
|
When non-zero, varobj debugging is enabled."),
|
||||||
|
NULL,
|
||||||
|
NULL, /* FIXME: i18n: */
|
||||||
|
&setlist, &showlist);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user