summaryrefslogtreecommitdiff
path: root/gdb/target.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-07-28 17:26:27 +0000
committerAndrew Cagney <cagney@redhat.com>2004-07-28 17:26:27 +0000
commitbbd943b1d5f59b80a874de2c818c7660d6782fe6 (patch)
treeff658eb3feaddcd218b4f15004dad67b5f579929 /gdb/target.c
parent97a93b166530bb65352fcd748d2e6cba613bbd79 (diff)
downloadgdb-bbd943b1d5f59b80a874de2c818c7660d6782fe6.tar.gz
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.
Diffstat (limited to 'gdb/target.c')
-rw-r--r--gdb/target.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/target.c b/gdb/target.c
index 70787603b2b..cfbbd17d05d 100644
--- a/gdb/target.c
+++ b/gdb/target.c
@@ -2430,11 +2430,12 @@ command.", &setdebuglist),
add_setshow_boolean_cmd ("trust-readonly-sections", class_support,
&trust_readonly, "\
-Set mode for reading from readonly sections.\n\
+Set mode for reading from readonly sections.", "\
+Show mode for reading from readonly sections.", "\
When this mode is on, memory reads from readonly sections (such as .text)\n\
will be read from the object file instead of from the target. This will\n\
result in significant performance improvement for remote targets.", "\
-Show mode for reading from readonly sections.\n",
+Mode for reading from readonly sections is %s.",
NULL, NULL,
&setlist, &showlist);