logo       

Patch: FYI: two typo fixes: msg#00507

Subject: Patch: FYI: two typo fixes
I'm checking this in under the obvious fix rule.

This fixes a typo in a comment.  It also changes a `Set' to `Show' in
the show text for a boolean variable.

Tom

Index: ChangeLog
from  Tom Tromey  <tromey@xxxxxxxxxx>
        * cli/cli-decode.c (add_show_from_set): Fixed typo in comment.
        * target.c (initialize_targets): Fixed typo in
        trust-readonly-sections `show' documentation.

Index: target.c
===================================================================
RCS file: /cvs/src/src/gdb/target.c,v
retrieving revision 1.36
diff -u -r1.36 target.c
--- target.c 15 Jun 2002 21:07:58 -0000 1.36
+++ target.c 25 Jun 2002 05:37:53 -0000
@@ -2305,7 +2305,7 @@
 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.", "\
-Set mode for reading from readonly sections.\n",
+Show mode for reading from readonly sections.\n",
                           NULL, NULL,
                           &setlist, &showlist);
 
Index: cli/cli-decode.c
===================================================================
RCS file: /cvs/src/src/gdb/cli/cli-decode.c,v
retrieving revision 1.24
diff -u -r1.24 cli-decode.c
--- cli/cli-decode.c 15 Jun 2002 22:05:33 -0000 1.24
+++ cli/cli-decode.c 25 Jun 2002 05:37:54 -0000
@@ -437,7 +437,7 @@
    command to LIST and return a pointer to the added command (not
    necessarily the head of LIST).  */
 /* NOTE: cagney/2002-03-17: The original version of add_show_from_set
-   used memcpy() to clone `set' into `show'.  This ment that in
+   used memcpy() to clone `set' into `show'.  This meant that in
    addition to all the needed fields (var, name, et.al.) some
    unnecessary fields were copied (namely the callback function).  The
    function explictly copies relevant fields.  For a `set' and `show'



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
science.linguis...    culture.sf.lite...    video.mplayer.c...    yellowdog.gener...    ietf.rfc822/199...    emacs.help/2002...    redhat.release....    kernel.speakup/...    java.openejb.de...    debian.devel.gt...    xfree86.newbie/...    bug-tracking.ma...    pam/2003-05/msg...    games.devel.ope...    user-groups.lin...    music.pancham/2...    network.mq.deve...    web.html.genera...    arklinux.bugs/2...    linux.ecasound/...    qnx.openqnx.dev...    org.user-groups...    file-systems.sf...    trustix.contrib...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe