forked from Imagelibrary/binutils-gdb
2005-02-14 Andrew Cagney <cagney@gnu.org>
Mark up add_cmd. * arch-utils.c, avr-tdep.c, breakpoint.c, corefile.c: Update. * cp-abi.c, cp-namespace.c, cp-support.c, dummy-frame.c: Update. * exec.c, gnu-nat.c, go32-nat.c, hppa-tdep.c, infcmd.c: Update. * infrun.c, interps.c, macrocmd.c, maint.c, memattr.c: Update. * mips-tdep.c, ocd.c, osabi.c, printcmd.c, regcache.c: Update. * reggroups.c, remote-fileio.c, remote-rdi.c, remote.c: Update. * sol-thread.c, source.c, stack.c, symfile-mem.c: Update. * symfile.c, thread.c, tracepoint.c, valprint.c, value.c: Update. * win32-nat.c, cli/cli-cmds.c, cli/cli-dump.c: Update. * cli/cli-logging.c, tui/tui-regs.c: Update.
This commit is contained in:
11
gdb/value.c
11
gdb/value.c
@@ -1606,16 +1606,17 @@ using_struct_return (struct type *value_type, int gcc_p)
|
||||
void
|
||||
_initialize_values (void)
|
||||
{
|
||||
add_cmd ("convenience", no_class, show_convenience,
|
||||
"Debugger convenience (\"$foo\") variables.\n\
|
||||
add_cmd ("convenience", no_class, show_convenience, _("\
|
||||
Debugger convenience (\"$foo\") variables.\n\
|
||||
These variables are created when you assign them values;\n\
|
||||
thus, \"print $foo=1\" gives \"$foo\" the value 1. Values may be any type.\n\n\
|
||||
thus, \"print $foo=1\" gives \"$foo\" the value 1. Values may be any type.\n\
|
||||
\n\
|
||||
A few convenience variables are given values automatically:\n\
|
||||
\"$_\"holds the last address examined with \"x\" or \"info lines\",\n\
|
||||
\"$__\" holds the contents of the last address examined with \"x\".",
|
||||
\"$__\" holds the contents of the last address examined with \"x\"."),
|
||||
&showlist);
|
||||
|
||||
add_cmd ("values", no_class, show_values,
|
||||
"Elements of value history around item number IDX (or last ten).",
|
||||
_("Elements of value history around item number IDX (or last ten)."),
|
||||
&showlist);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user