forked from Imagelibrary/binutils-gdb
2005-02-18 Andrew Cagney <cagney@gnu.org>
Use add_setshow_boolean_command through out. Delete #ifdef 0'ed code adding set/show boolean commands. * cp-valprint.c, dcache.c, exec.c, gdbtypes.c, infrun.c: Update. * monitor.c, p-valprint.c, pa64solib.c, printcmd.c: Update. * proc-api.c, remote-mips.c, remote.c, solib.c: Update. * somsolib.c, symfile.c, top.c, utils.c, valops.c: Update. * valprint.c, win32-nat.c, wince.c, xcoffsolib.c: Update. * cli/cli-cmds.c: Update.
This commit is contained in:
11
gdb/exec.c
11
gdb/exec.c
@@ -742,11 +742,12 @@ This can be used if the exec file does not contain section addresses,\n\
|
||||
file itself are wrong. Each section must be changed separately. The\n\
|
||||
``info files'' command lists all the sections and their addresses."));
|
||||
|
||||
deprecated_add_show_from_set
|
||||
(add_set_cmd ("write", class_support, var_boolean, (char *) &write_files,
|
||||
"Set writing into executable and core files.",
|
||||
&setlist),
|
||||
&showlist);
|
||||
add_setshow_boolean_cmd ("write", class_support, &write_files, _("\
|
||||
Set writing into executable and core files."), _("\
|
||||
Show writing into executable and core files."), NULL,
|
||||
NULL,
|
||||
NULL, /* FIXME: i18n: */
|
||||
&setlist, &showlist);
|
||||
|
||||
add_target (&exec_ops);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user