From: Jason Molenda <jmolenda@apple.com>
To: Adam Fedor <fedor@gnu.org>, Eli Zaretskii <eliz@elta.co.il>
Cc: gdb-patches@sources.redhat.com
Subject: RFA/doc: couple of small Obj-C documentation tweaks
Date: Wed, 07 Jan 2004 01:34:00 -0000 [thread overview]
Message-ID: <9E0EDFCC-40B1-11D8-B832-000393D457E2@apple.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 364 bytes --]
Hi Eli & Adam,
I was looking at the gdb docs today and saw a couple of small problems
with the Objective-C section. OK to commit?
2004-01-06 Jason Molenda (jmolenda@apple.com)
* doc/gdb.texinfo (Objective-C): "methodName" typeo.
Add @code markup around var names from examples.
Minor cleanup to _NSPrintForDebugger explanation.
[-- Attachment #2: pa.txt --]
[-- Type: text/plain, Size: 1765 bytes --]
2004-01-06 Jason Molenda (jmolenda@apple.com)
* doc/gdb.texinfo (Objective-C): "methodName" typeo.
Add @code markup around var names from examples.
Minor cleanup to _NSPrintForDebugger explanation.
Index: gdb.texinfo
===================================================================
RCS file: /cvs/src/src/gdb/doc/gdb.texinfo,v
retrieving revision 1.185
diff -u -p -r1.185 gdb.texinfo
--- gdb.texinfo 28 Oct 2003 22:04:47 -0000 1.185
+++ gdb.texinfo 7 Jan 2004 01:01:33 -0000
@@ -8484,7 +8484,7 @@ A fully qualified Objective-C method nam
where the minus sign is used to indicate an instance method and a plus
sign (not shown) is used to indicate a class method. The
-class name @var{Class} and method name @var{methoName} are enclosed in
+class name @var{Class} and method name @var{methodName} are enclosed in
brackets, similar to the way messages are specified in Objective-C source
code. For example, to set a breakpoint at the @code{create} instance method of
class @code{Fruit} in the program currently being debugged, enter:
@@ -8532,12 +8532,12 @@ print -[object hash]
@end smallexample
@cindex print an Objective-C object description
-will tell gdb to send the -hash message to object and print the
+will tell gdb to send the @code{hash} message to @code{object} and print the
result. Also an additional command has been added, @code{print-object}
or @code{po} for short, which is meant to print the description of an
object. However, this command may only work with certain Objective-C
-libraries that have a particular hook function, called
-@code{_NSPrintForDebugger} defined.
+libraries that have a particular hook function,
+@code{_NSPrintForDebugger}, defined.
@node Modula-2, , Objective-C, Support
@subsection Modula-2
next reply other threads:[~2004-01-07 1:34 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-07 1:34 Jason Molenda [this message]
2004-01-07 4:12 ` Adam Fedor
2004-01-07 6:20 ` Eli Zaretskii
2004-01-07 23:57 ` Jason Molenda
2004-01-08 16:42 ` Eli Zaretskii
2004-01-08 22:48 ` [Committed] " Jason Molenda
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9E0EDFCC-40B1-11D8-B832-000393D457E2@apple.com \
--to=jmolenda@apple.com \
--cc=eliz@elta.co.il \
--cc=fedor@gnu.org \
--cc=gdb-patches@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox