home *** CD-ROM | disk | FTP | other *** search
open in: MacOS 8.1
extracted
|
Win98
extracted
|
DOS
extracted
browse contents |
view JSON data
|
view as text
This file was processed as: Mailbox/MIME Entity
(archive/mbox ).
Confidence Program Detection Match Type Support
100%
dexvert
Mailbox/MIME Entity (archive/mbox)
magic
Supported
100%
dexvert
Internet Message Format (text/imf)
magic
Supported
1%
dexvert
Text File (text/txt)
fallback
Supported
100%
file
Mailbox text, 1st line "From news.urz.uni-heidelberg.de!rz.uni-karlsruhe.de!news.uni-kl.de!news.belwue.de!scsing.switch.ch!swsbe6.switch.ch!surfnet.nl!", ASCII text
default
100%
TrID
E-Mail message (Var. 2)
default
100%
checkBytes
Printable ASCII
default
100%
perlTextCheck
Likely Text (Perl)
default
100%
siegfried
x-fmt/111 Plain Text File
default
100%
detectItEasy
Format: plain text[LF]
default (weak)
100%
xdgMime
application/mbox
default
hex view +--------+-------------------------+-------------------------+--------+--------+ |00000000| 46 72 6f 6d 20 6e 65 77 | 73 2e 75 72 7a 2e 75 6e |From new|s.urz.un| |00000010| 69 2d 68 65 69 64 65 6c | 62 65 72 67 2e 64 65 21 |i-heidel|berg.de!| |00000020| 72 7a 2e 75 6e 69 2d 6b | 61 72 6c 73 72 75 68 65 |rz.uni-k|arlsruhe| |00000030| 2e 64 65 21 6e 65 77 73 | 2e 75 6e 69 2d 6b 6c 2e |.de!news|.uni-kl.| |00000040| 64 65 21 6e 65 77 73 2e | 62 65 6c 77 75 65 2e 64 |de!news.|belwue.d| |00000050| 65 21 73 63 73 69 6e 67 | 2e 73 77 69 74 63 68 2e |e!scsing|.switch.| |00000060| 63 68 21 73 77 73 62 65 | 36 2e 73 77 69 74 63 68 |ch!swsbe|6.switch| |00000070| 2e 63 68 21 73 75 72 66 | 6e 65 74 2e 6e 6c 21 68 |.ch!surf|net.nl!h| |00000080| 6f 77 6c 61 6e 64 2e 65 | 72 6f 6c 73 2e 6e 65 74 |owland.e|rols.net| |00000090| 21 6e 65 77 73 66 65 65 | 64 2e 69 6e 74 65 72 6e |!newsfee|d.intern| |000000a0| 65 74 6d 63 69 2e 63 6f | 6d 21 6e 6e 74 70 2d 68 |etmci.co|m!nntp-h| |000000b0| 75 62 32 2e 62 61 72 72 | 6e 65 74 2e 6e 65 74 21 |ub2.barr|net.net!| |000000c0| 6e 6e 74 70 2d 68 75 62 | 2e 62 61 72 72 6e 65 74 |nntp-hub|.barrnet| |000000d0| 2e 6e 65 74 21 6e 65 77 | 73 2e 4e 65 58 54 2e 43 |.net!new|s.NeXT.C| |000000e0| 4f 4d 21 75 73 65 6e 65 | 74 20 54 68 75 20 41 75 |OM!usene|t Thu Au| |000000f0| 67 20 32 32 20 31 35 3a | 32 33 3a 34 38 20 31 39 |g 22 15:|23:48 19| |00000100| 39 36 0a 50 61 74 68 3a | 20 6e 65 77 73 2e 75 72 |96.Path:| news.ur| |00000110| 7a 2e 75 6e 69 2d 68 65 | 69 64 65 6c 62 65 72 67 |z.uni-he|idelberg| |00000120| 2e 64 65 21 72 7a 2e 75 | 6e 69 2d 6b 61 72 6c 73 |.de!rz.u|ni-karls| |00000130| 72 75 68 65 2e 64 65 21 | 6e 65 77 73 2e 75 6e 69 |ruhe.de!|news.uni| |00000140| 2d 6b 6c 2e 64 65 21 6e | 65 77 73 2e 62 65 6c 77 |-kl.de!n|ews.belw| |00000150| 75 65 2e 64 65 21 73 63 | 73 69 6e 67 2e 73 77 69 |ue.de!sc|sing.swi| |00000160| 74 63 68 2e 63 68 21 73 | 77 73 62 65 36 2e 73 77 |tch.ch!s|wsbe6.sw| |00000170| 69 74 63 68 2e 63 68 21 | 73 75 72 66 6e 65 74 2e |itch.ch!|surfnet.| |00000180| 6e 6c 21 68 6f 77 6c 61 | 6e 64 2e 65 72 6f 6c 73 |nl!howla|nd.erols| |00000190| 2e 6e 65 74 21 6e 65 77 | 73 66 65 65 64 2e 69 6e |.net!new|sfeed.in| |000001a0| 74 65 72 6e 65 74 6d 63 | 69 2e 63 6f 6d 21 6e 6e |ternetmc|i.com!nn| |000001b0| 74 70 2d 68 75 62 32 2e | 62 61 72 72 6e 65 74 2e |tp-hub2.|barrnet.| |000001c0| 6e 65 74 21 6e 6e 74 70 | 2d 68 75 62 2e 62 61 72 |net!nntp|-hub.bar| |000001d0| 72 6e 65 74 2e 6e 65 74 | 21 6e 65 77 73 2e 4e 65 |rnet.net|!news.Ne| |000001e0| 58 54 2e 43 4f 4d 21 75 | 73 65 6e 65 74 0a 46 72 |XT.COM!u|senet.Fr| |000001f0| 6f 6d 3a 20 6d 73 6e 79 | 64 65 72 40 4e 65 58 54 |om: msny|der@NeXT| |00000200| 2e 63 6f 6d 20 28 4d 69 | 63 68 61 65 6c 20 53 6e |.com (Mi|chael Sn| |00000210| 79 64 65 72 29 0a 4e 65 | 77 73 67 72 6f 75 70 73 |yder).Ne|wsgroups| |00000220| 3a 20 63 6f 6d 70 2e 6c | 61 6e 67 2e 6f 62 6a 65 |: comp.l|ang.obje| |00000230| 63 74 69 76 65 2d 63 0a | 53 75 62 6a 65 63 74 3a |ctive-c.|Subject:| |00000240| 20 53 75 62 6d 69 73 73 | 69 6f 6e 3a 20 44 65 62 | Submiss|ion: Deb| |00000250| 75 67 67 69 6e 67 20 47 | 6e 75 20 4f 62 6a 65 63 |ugging G|nu Objec| |00000260| 74 69 76 65 20 43 20 77 | 69 74 68 20 67 64 62 20 |tive C w|ith gdb | |00000270| 28 30 2f 31 29 0a 44 61 | 74 65 3a 20 32 30 20 41 |(0/1).Da|te: 20 A| |00000280| 75 67 20 31 39 39 36 20 | 31 38 3a 32 32 3a 32 39 |ug 1996 |18:22:29| |00000290| 20 47 4d 54 0a 4f 72 67 | 61 6e 69 7a 61 74 69 6f | GMT.Org|anizatio| |000002a0| 6e 3a 20 4e 65 58 54 20 | 53 6f 66 74 77 61 72 65 |n: NeXT |Software| |000002b0| 2c 20 49 6e 63 2e 0a 4c | 69 6e 65 73 3a 20 31 32 |, Inc..L|ines: 12| |000002c0| 38 0a 4d 65 73 73 61 67 | 65 2d 49 44 3a 20 3c 34 |8.Messag|e-ID: <4| |000002d0| 76 63 76 70 35 24 34 67 | 71 40 6e 65 77 73 2e 6e |vcvp5$4g|q@news.n| |000002e0| 65 78 74 2e 63 6f 6d 3e | 0a 4e 4e 54 50 2d 50 6f |ext.com>|.NNTP-Po| |000002f0| 73 74 69 6e 67 2d 48 6f | 73 74 3a 20 79 65 6c 6c |sting-Ho|st: yell| |00000300| 6f 77 2e 6e 65 78 74 2e | 63 6f 6d 0a 0a 0a 53 69 |ow.next.|com...Si| |00000310| 6e 63 65 20 49 20 72 65 | 61 6c 69 7a 65 64 20 74 |nce I re|alized t| |00000320| 68 61 74 20 6d 6f 73 74 | 20 70 65 6f 70 6c 65 20 |hat most| people | |00000330| 63 61 6e 6e 6f 74 20 72 | 65 63 65 69 76 65 20 74 |cannot r|eceive t| |00000340| 68 65 20 67 6e 75 2e 67 | 64 62 2e 62 75 67 20 6e |he gnu.g|db.bug n| |00000350| 65 77 73 67 72 6f 75 70 | 2c 20 49 20 20 0a 74 68 |ewsgroup|, I .th| |00000360| 6f 75 67 68 74 20 49 20 | 77 6f 75 6c 64 20 67 6f |ought I |would go| |00000370| 20 61 68 65 61 64 20 61 | 6e 64 20 70 6f 73 74 20 | ahead a|nd post | |00000380| 74 68 69 73 20 68 65 72 | 65 20 74 6f 6f 2e 20 20 |this her|e too. | |00000390| 54 68 69 73 20 6f 6e 6c | 79 20 61 70 70 6c 69 65 |This onl|y applie| |000003a0| 73 20 74 6f 20 20 0a 4f | 62 6a 65 63 74 69 76 65 |s to .O|bjective| |000003b0| 20 43 20 70 72 6f 67 72 | 61 6d 73 20 63 6f 6d 70 | C progr|ams comp| |000003c0| 69 6c 65 64 20 77 69 74 | 68 20 47 43 43 20 61 6e |iled wit|h GCC an| |000003d0| 64 20 64 65 62 75 67 67 | 65 64 20 77 69 74 68 20 |d debugg|ed with | |000003e0| 47 44 42 2e 0a 0a 54 68 | 65 20 66 6f 6c 6c 6f 77 |GDB...Th|e follow| |000003f0| 69 6e 67 20 70 61 74 63 | 68 20 28 73 65 6e 74 20 |ing patc|h (sent | |00000400| 73 65 70 61 72 61 74 65 | 6c 79 20 61 73 20 61 20 |separate|ly as a | |00000410| 75 75 65 6e 63 6f 64 65 | 64 20 64 69 66 66 20 66 |uuencode|d diff f| |00000420| 69 6c 65 29 20 73 68 6f | 75 6c 64 20 62 65 20 61 |ile) sho|uld be a| |00000430| 62 6c 65 20 20 0a 74 6f | 20 62 65 20 61 70 70 6c |ble .to| be appl| |00000440| 69 65 64 20 74 6f 20 61 | 6e 79 20 67 64 62 20 73 |ied to a|ny gdb s| |00000450| 6f 75 72 63 65 20 76 65 | 72 73 69 6f 6e 20 34 2e |ource ve|rsion 4.| |00000460| 31 36 20 6f 72 20 6c 61 | 74 65 72 2e 20 20 49 20 |16 or la|ter. I | |00000470| 68 61 76 65 20 74 65 73 | 74 65 64 20 74 68 65 73 |have tes|ted thes| |00000480| 65 20 20 0a 63 68 61 6e | 67 65 73 20 6f 6e 20 48 |e .chan|ges on H| |00000490| 50 55 58 2c 20 53 6f 6c | 61 72 69 73 20 61 6e 64 |PUX, Sol|aris and| |000004a0| 20 4d 53 20 57 69 6e 64 | 6f 77 73 2c 20 61 6e 64 | MS Wind|ows, and| |000004b0| 20 49 20 68 6f 70 65 20 | 74 68 65 79 20 77 69 6c | I hope |they wil| |000004c0| 6c 20 62 65 20 70 6f 72 | 74 61 62 6c 65 20 74 6f |l be por|table to| |000004d0| 20 20 0a 6f 74 68 65 72 | 20 70 6c 61 74 66 6f 72 | .other| platfor| |000004e0| 6d 73 20 61 73 20 77 65 | 6c 6c 20 28 70 65 72 68 |ms as we|ll (perh| |000004f0| 61 70 73 20 77 69 74 68 | 20 61 20 6c 69 74 74 6c |aps with| a littl| |00000500| 65 20 74 77 65 61 6b 69 | 6e 67 29 2e 20 20 48 65 |e tweaki|ng). He| |00000510| 72 65 20 69 73 20 74 68 | 65 20 52 45 41 44 4d 45 |re is th|e README| |00000520| 20 20 0a 66 69 6c 65 3a | 0a 0a 0a 47 44 42 20 4c | .file:|...GDB L| |00000530| 61 6e 67 75 61 67 65 20 | 53 75 70 70 6f 72 74 20 |anguage |Support | |00000540| 66 6f 72 20 4f 62 6a 65 | 63 74 69 76 65 20 43 0a |for Obje|ctive C.| |00000550| 53 75 62 6d 69 74 74 65 | 64 20 62 79 20 4d 69 63 |Submitte|d by Mic| |00000560| 68 61 65 6c 20 53 6e 79 | 64 65 72 0a 4e 65 58 54 |hael Sny|der.NeXT| |00000570| 20 53 6f 66 74 77 61 72 | 65 2c 20 49 6e 63 2e 0a | Softwar|e, Inc..| |00000580| 0a 54 68 69 73 20 69 73 | 20 61 20 70 6f 72 74 61 |.This is| a porta| |00000590| 62 6c 65 20 69 6d 70 6c | 65 6d 65 6e 74 61 74 69 |ble impl|ementati| |000005a0| 6f 6e 20 6f 66 20 4e 65 | 58 54 27 73 20 67 64 62 |on of Ne|XT's gdb| |000005b0| 20 73 75 70 70 6f 72 74 | 20 66 6f 72 20 64 65 62 | support| for deb| |000005c0| 75 67 67 69 6e 67 0a 4f | 62 6a 65 63 74 69 76 65 |ugging.O|bjective| |000005d0| 20 43 2e 20 20 54 68 69 | 73 20 68 61 73 20 6f 6e | C. Thi|s has on| |000005e0| 6c 79 20 62 65 65 6e 20 | 74 65 73 74 65 64 20 77 |ly been |tested w| |000005f0| 69 74 68 20 47 6e 75 27 | 73 20 47 43 43 2d 62 61 |ith Gnu'|s GCC-ba| |00000600| 73 65 64 20 4f 62 6a 65 | 63 74 69 76 65 0a 43 20 |sed Obje|ctive.C | |00000610| 63 6f 6d 70 69 6c 65 72 | 2c 20 61 6e 64 20 6d 61 |compiler|, and ma| |00000620| 79 20 6e 6f 74 20 77 6f | 72 6b 20 77 69 74 68 20 |y not wo|rk with | |00000630| 6f 74 68 65 72 20 63 6f | 6d 70 69 6c 65 72 73 20 |other co|mpilers | |00000640| 6f 72 20 72 75 6e 74 69 | 6d 65 0a 6c 69 62 72 61 |or runti|me.libra| |00000650| 72 69 65 73 2e 20 20 49 | 74 20 68 61 73 20 62 65 |ries. I|t has be| |00000660| 65 6e 20 74 65 73 74 65 | 64 20 74 6f 20 61 20 6c |en teste|d to a l| |00000670| 69 6d 69 74 65 64 20 65 | 78 74 65 6e 74 20 77 69 |imited e|xtent wi| |00000680| 74 68 20 74 68 65 20 70 | 75 62 6c 69 63 0a 76 65 |th the p|ublic.ve| |00000690| 72 73 69 6f 6e 20 6f 66 | 20 47 43 43 20 61 6e 64 |rsion of| GCC and| |000006a0| 20 47 6e 75 53 74 65 70 | 2c 20 77 69 74 68 20 74 | GnuStep|, with t| |000006b0| 68 65 20 6d 61 6a 6f 72 | 69 74 79 20 6f 66 20 74 |he major|ity of t| |000006c0| 68 65 20 74 65 73 74 69 | 6e 67 20 62 65 69 6e 67 |he testi|ng being| |000006d0| 0a 64 6f 6e 65 20 75 6e | 64 65 72 20 4e 65 58 54 |.done un|der NeXT| |000006e0| 27 73 20 70 72 6f 70 72 | 69 65 74 61 72 79 20 76 |'s propr|ietary v| |000006f0| 65 72 73 69 6f 6e 73 20 | 6f 66 20 74 68 65 20 63 |ersions |of the c| |00000700| 6f 6d 70 69 6c 65 72 20 | 61 6e 64 20 4f 70 65 6e |ompiler |and Open| |00000710| 53 74 65 70 2e 0a 49 74 | 20 68 61 73 20 62 65 65 |Step..It| has bee| |00000720| 6e 20 74 65 73 74 65 64 | 20 6f 6e 20 4d 69 63 72 |n tested| on Micr| |00000730| 6f 73 6f 66 74 20 57 69 | 6e 64 6f 77 73 20 4e 54 |osoft Wi|ndows NT| |00000740| 20 28 47 6e 75 20 61 6e | 64 20 4e 65 58 54 20 63 | (Gnu an|d NeXT c| |00000750| 6f 6d 70 69 6c 65 72 73 | 29 2c 0a 53 6f 6c 61 72 |ompilers|),.Solar| |00000760| 69 73 20 28 4e 65 58 54 | 20 63 6f 6d 70 69 6c 65 |is (NeXT| compile| |00000770| 72 29 2c 20 61 6e 64 20 | 48 50 55 58 20 28 4e 65 |r), and |HPUX (Ne| |00000780| 58 54 20 63 6f 6d 70 69 | 6c 65 72 29 2e 20 20 49 |XT compi|ler). I| |00000790| 20 65 78 70 65 63 74 20 | 69 74 20 74 6f 0a 77 6f | expect |it to.wo| |000007a0| 72 6b 20 6f 6e 20 6f 74 | 68 65 72 20 70 6c 61 74 |rk on ot|her plat| |000007b0| 66 6f 72 6d 73 20 69 6e | 20 74 68 65 20 47 6e 75 |forms in| the Gnu| |000007c0| 20 65 6e 76 69 72 6f 6e | 6d 65 6e 74 2c 20 62 75 | environ|ment, bu| |000007d0| 74 20 77 6f 75 6c 64 20 | 6e 6f 74 20 62 65 0a 73 |t would |not be.s| |000007e0| 75 72 70 72 69 73 65 64 | 20 69 66 20 73 6f 6d 65 |urprised| if some| |000007f0| 20 74 77 65 61 6b 69 6e | 67 20 77 65 72 65 20 72 | tweakin|g were r| |00000800| 65 71 75 69 72 65 64 2e | 0a 0a 4c 61 6e 67 75 61 |equired.|..Langua| |00000810| 67 65 20 73 70 65 63 69 | 66 69 63 20 66 65 61 74 |ge speci|fic feat| |00000820| 75 72 65 73 3a 0a 20 2a | 20 41 75 74 6f 2d 72 65 |ures:. *| Auto-re| |00000830| 63 6f 67 6e 69 74 69 6f | 6e 20 6f 66 20 4f 62 6a |cognitio|n of Obj| |00000840| 65 63 74 69 76 65 20 43 | 20 73 6f 75 72 63 65 20 |ective C| source | |00000850| 63 6f 64 65 20 28 62 79 | 20 74 68 65 20 22 2e 6d |code (by| the ".m| |00000860| 22 20 65 78 74 65 6e 73 | 69 6f 6e 29 0a 20 2a 20 |" extens|ion). * | |00000870| 44 65 6d 61 6e 67 6c 69 | 6e 67 20 6f 66 20 4f 62 |Demangli|ng of Ob| |00000880| 6a 65 63 74 69 76 65 20 | 43 20 6d 61 6e 67 6c 65 |jective |C mangle| |00000890| 64 20 6d 65 74 68 6f 64 | 20 6e 61 6d 65 73 20 69 |d method| names i| |000008a0| 6e 20 62 61 63 6b 74 72 | 61 63 65 73 20 65 74 63 |n backtr|aces etc| |000008b0| 2e 0a 20 2a 20 41 63 63 | 65 70 74 73 20 64 65 6d |.. * Acc|epts dem| |000008c0| 61 6e 67 6c 65 64 20 28 | 6e 61 74 69 76 65 29 20 |angled (|native) | |000008d0| 66 6f 72 6d 20 66 6f 72 | 20 4f 62 6a 65 63 74 69 |form for| Objecti| |000008e0| 76 65 20 43 20 6d 65 74 | 68 6f 64 20 6e 61 6d 65 |ve C met|hod name| |000008f0| 73 0a 20 20 20 66 6f 72 | 20 73 65 74 74 69 6e 67 |s. for| setting| |00000900| 20 62 72 65 61 6b 70 6f | 69 6e 74 73 20 65 74 63 | breakpo|ints etc| |00000910| 2e 0a 20 2a 20 55 6e 64 | 65 72 73 74 61 6e 64 73 |.. * Und|erstands| |00000920| 20 63 6c 61 73 73 20 73 | 63 6f 70 65 20 66 6f 72 | class s|cope for| |00000930| 20 69 6e 73 74 61 6e 63 | 65 20 76 61 72 69 61 62 | instanc|e variab| |00000940| 6c 65 73 20 69 6e 20 65 | 78 70 72 65 73 73 69 6f |les in e|xpressio| |00000950| 6e 73 0a 20 20 20 28 61 | 75 74 6f 6d 61 74 69 63 |ns. (a|utomatic| |00000960| 61 6c 6c 79 20 64 65 72 | 65 66 65 72 65 6e 63 65 |ally der|eference| |00000970| 73 20 74 68 69 6e 67 73 | 20 66 72 6f 6d 20 74 68 |s things| from th| |00000980| 65 20 22 73 65 6c 66 22 | 20 70 6f 69 6e 74 65 72 |e "self"| pointer| |00000990| 29 0a 20 2a 20 53 74 65 | 70 20 69 6e 74 6f 20 4f |). * Ste|p into O| |000009a0| 62 6a 65 63 74 69 76 65 | 20 43 20 6d 65 73 73 61 |bjective| C messa| |000009b0| 67 65 20 63 61 6c 6c 73 | 0a 20 2a 20 43 61 6c 6c |ge calls|. * Call| |000009c0| 20 4f 62 6a 65 63 74 69 | 76 65 20 43 20 6d 65 74 | Objecti|ve C met| |000009d0| 68 6f 64 73 20 61 6e 64 | 20 70 72 69 6e 74 20 74 |hods and| print t| |000009e0| 68 65 69 72 20 72 65 74 | 75 72 6e 20 76 61 6c 75 |heir ret|urn valu| |000009f0| 65 73 0a 20 20 20 28 69 | 6e 20 6e 61 74 69 76 65 |es. (i|n native| |00000a00| 20 73 79 6e 74 61 78 2c | 20 65 67 2e 20 22 70 72 | syntax,| eg. "pr| |00000a10| 69 6e 74 20 5b 4d 79 43 | 6c 61 73 73 20 6d 79 4d |int [MyC|lass myM| |00000a20| 65 74 68 6f 64 3a 34 32 | 5d 22 29 0a 20 2a 20 4c |ethod:42|]"). * L| |00000a30| 49 53 54 20 6f 72 20 42 | 52 45 41 4b 20 6f 6e 20 |IST or B|REAK on | |00000a40| 73 65 6c 65 63 74 6f 72 | 73 20 67 69 76 65 73 20 |selector|s gives | |00000a50| 61 20 6c 69 73 74 20 6f | 66 20 6d 61 74 63 68 69 |a list o|f matchi| |00000a60| 6e 67 20 69 6d 70 6c 65 | 6d 65 6e 74 61 74 69 6f |ng imple|mentatio| |00000a70| 6e 73 0a 20 20 20 28 6a | 75 73 74 20 6c 69 6b 65 |ns. (j|ust like| |00000a80| 20 77 68 61 74 20 68 61 | 70 70 65 6e 73 20 77 69 | what ha|ppens wi| |00000a90| 74 68 20 6f 76 65 72 6c | 6f 61 64 65 64 20 43 2b |th overl|oaded C+| |00000aa0| 2b 20 6d 65 6d 62 65 72 | 20 66 75 6e 63 74 69 6f |+ member| functio| |00000ab0| 6e 73 29 0a 20 2a 20 54 | 61 62 2d 63 6f 6d 70 6c |ns). * T|ab-compl| |00000ac0| 65 74 69 6f 6e 20 6f 6e | 20 6d 65 74 68 6f 64 73 |etion on| methods| |00000ad0| 20 61 6e 64 20 73 65 6c | 65 63 74 6f 72 73 0a 20 | and sel|ectors. | |00000ae0| 2a 20 40 73 65 6c 65 63 | 74 6f 72 20 6f 70 65 72 |* @selec|tor oper| |00000af0| 61 74 6f 72 0a 20 2a 20 | 49 4e 46 4f 20 43 4c 41 |ator. * |INFO CLA| |00000b00| 53 53 20 61 6e 64 20 49 | 4e 46 4f 20 53 45 4c 45 |SS and I|NFO SELE| |00000b10| 43 54 4f 52 20 63 6f 6d | 6d 61 6e 64 73 0a 20 2a |CTOR com|mands. *| |00000b20| 20 4e 53 53 74 72 69 6e | 67 20 6c 69 74 65 72 61 | NSStrin|g litera| |00000b30| 6c 73 20 69 6e 20 65 78 | 70 72 65 73 73 69 6f 6e |ls in ex|pression| |00000b40| 73 20 28 65 67 2e 20 40 | 22 66 6f 6f 22 29 0a 20 |s (eg. @|"foo"). | |00000b50| 2a 20 43 6c 61 73 73 20 | 6e 61 6d 65 73 20 72 65 |* Class |names re| |00000b60| 63 6f 67 6e 69 73 65 64 | 20 77 69 74 68 20 6f 72 |cognised| with or| |00000b70| 20 77 69 74 68 6f 75 74 | 20 74 68 65 20 6b 65 79 | without| the key| |00000b80| 77 6f 72 64 20 22 73 74 | 72 75 63 74 22 0a 0a 0a |word "st|ruct"...| |00000b90| 0a 41 75 74 6f 20 6c 61 | 6e 67 75 61 67 65 20 72 |.Auto la|nguage r| |00000ba0| 65 63 6f 67 6e 69 74 69 | 6f 6e 3a 0a 4f 62 6a 65 |ecogniti|on:.Obje| |00000bb0| 63 74 69 76 65 20 43 20 | 69 73 20 61 20 66 69 72 |ctive C |is a fir| |00000bc0| 73 74 2d 63 6c 61 73 73 | 20 6c 61 6e 67 75 61 67 |st-class| languag| |00000bd0| 65 20 69 6e 20 67 64 62 | 20 28 6a 75 73 74 20 6c |e in gdb| (just l| |00000be0| 69 6b 65 20 43 2b 2b 20 | 6f 72 0a 46 4f 52 54 52 |ike C++ |or.FORTR| |00000bf0| 41 4e 29 2e 20 20 47 64 | 62 20 61 75 74 6f 2d 64 |AN). Gd|b auto-d| |00000c00| 65 74 65 63 74 73 20 4f | 62 6a 65 63 74 69 76 65 |etects O|bjective| |00000c10| 20 43 20 73 6f 75 72 63 | 65 20 66 69 6c 65 73 20 | C sourc|e files | |00000c20| 62 79 20 74 68 65 20 22 | 2e 6d 22 0a 65 78 74 65 |by the "|.m".exte| |00000c30| 6e 73 69 6f 6e 2c 20 65 | 6e 61 62 6c 69 6e 67 20 |nsion, e|nabling | |00000c40| 6e 61 6d 65 20 64 65 6d | 61 6e 67 6c 69 6e 67 20 |name dem|angling | |00000c50| 61 6e 64 20 6f 74 68 65 | 72 20 6c 61 6e 67 75 61 |and othe|r langua| |00000c60| 67 65 20 66 65 61 74 75 | 72 65 73 2e 0a 53 68 6f |ge featu|res..Sho| |00000c70| 75 6c 64 20 79 6f 75 20 | 6e 65 65 64 20 74 6f 20 |uld you |need to | |00000c80| 66 6f 72 63 65 20 74 68 | 65 20 63 75 72 72 65 6e |force th|e curren| |00000c90| 74 20 6c 61 6e 67 75 61 | 67 65 20 74 6f 20 4f 62 |t langua|ge to Ob| |00000ca0| 6a 65 63 74 69 76 65 20 | 43 20 28 65 67 2e 20 66 |jective |C (eg. f| |00000cb0| 6f 72 0a 70 72 6f 67 72 | 61 6d 73 20 63 6f 6d 70 |or.progr|ams comp| |00000cc0| 69 6c 65 64 20 77 69 74 | 68 20 6e 6f 20 73 79 6d |iled wit|h no sym| |00000cd0| 62 6f 6c 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 29 |bol info|rmation)| |00000ce0| 2c 20 75 73 65 3a 0a 09 | 20 22 53 45 54 20 4c 41 |, use:..| "SET LA| |00000cf0| 4e 47 55 41 47 45 20 6f | 62 6a 65 63 74 69 76 65 |NGUAGE o|bjective| |00000d00| 2d 63 22 2e 0a 0a 0a 53 | 79 6d 62 6f 6c 20 44 65 |-c"....S|ymbol De| |00000d10| 6d 61 6e 67 6c 69 6e 67 | 3a 0a 4f 62 6a 65 63 74 |mangling|:.Object| |00000d20| 69 76 65 20 43 20 6d 65 | 74 68 6f 64 73 20 6e 61 |ive C me|thods na| |00000d30| 6d 65 73 20 61 72 65 20 | 6d 61 6e 67 6c 65 64 20 |mes are |mangled | |00000d40| 62 79 20 47 43 43 20 69 | 6e 74 6f 20 61 20 66 6f |by GCC i|nto a fo| |00000d50| 72 6d 20 74 68 61 74 20 | 6c 6f 6f 6b 73 0a 6c 69 |rm that |looks.li| |00000d60| 6b 65 20 28 66 6f 72 20 | 65 78 61 6d 70 6c 65 29 |ke (for |example)| |00000d70| 20 22 5f 69 5f 43 6c 61 | 73 73 6e 61 6d 65 5f 43 | "_i_Cla|ssname_C| |00000d80| 61 74 65 67 6f 72 79 6e | 61 6d 65 5f 53 65 6c 65 |ategoryn|ame_Sele| |00000d90| 63 74 6f 72 6e 61 6d 65 | 5f 5f 22 20 77 68 65 72 |ctorname|__" wher| |00000da0| 65 0a 63 6f 6c 6f 6e 73 | 20 28 22 3a 22 29 20 69 |e.colons| (":") i| |00000db0| 6e 20 74 68 65 20 73 65 | 6c 65 63 74 6f 72 20 6e |n the se|lector n| |00000dc0| 61 6d 65 20 61 72 65 20 | 72 65 70 6c 61 63 65 64 |ame are |replaced| |00000dd0| 20 77 69 74 68 20 75 6e | 64 65 72 73 63 6f 72 65 | with un|derscore| |00000de0| 73 20 28 22 5f 22 29 2e | 0a 47 64 62 20 77 69 6c |s ("_").|.Gdb wil| |00000df0| 6c 20 72 65 76 65 72 73 | 65 20 74 68 69 73 20 6d |l revers|e this m| |00000e00| 61 6e 67 6c 69 6e 67 20 | 74 6f 20 70 72 65 73 65 |angling |to prese| |00000e10| 6e 74 20 74 68 65 20 6d | 65 74 68 6f 64 20 6e 61 |nt the m|ethod na| |00000e20| 6d 65 20 61 73 0a 22 2d | 5b 43 6c 61 73 73 6e 61 |me as."-|[Classna| |00000e30| 6d 65 28 43 61 74 65 67 | 6f 72 79 6e 61 6d 65 29 |me(Categ|oryname)| |00000e40| 20 53 65 6c 65 63 74 6f | 72 6e 61 6d 65 3a 3a 5d | Selecto|rname::]| |00000e50| 22 2e 20 20 55 6e 66 6f | 72 74 75 6e 61 74 65 6c |". Unfo|rtunatel| |00000e60| 79 20 74 68 69 73 0a 6d | 61 6e 67 6c 69 6e 67 20 |y this.m|angling | |00000e70| 73 63 68 65 6d 65 20 69 | 73 20 6e 6f 74 20 75 6e |scheme i|s not un| |00000e80| 69 71 75 65 6c 79 20 72 | 65 76 65 72 73 61 62 6c |iquely r|eversabl| |00000e90| 65 20 69 66 20 63 6c 61 | 73 73 2c 20 63 61 74 65 |e if cla|ss, cate| |00000ea0| 67 6f 72 79 20 6f 72 0a | 73 65 6c 65 63 74 6f 72 |gory or.|selector| |00000eb0| 20 6e 61 6d 65 73 20 63 | 6f 6e 74 61 69 6e 20 75 | names c|ontain u| |00000ec0| 6e 64 65 72 73 63 6f 72 | 65 73 2c 20 73 6f 20 67 |nderscor|es, so g| |00000ed0| 64 62 20 77 69 6c 6c 20 | 64 65 6d 61 6e 67 6c 65 |db will |demangle| |00000ee0| 20 73 75 63 68 20 6e 61 | 6d 65 73 0a 69 6e 63 6f | such na|mes.inco| |00000ef0| 72 72 65 63 74 6c 79 2e | 0a 0a 0a 4e 61 74 69 76 |rrectly.|...Nativ| |00000f00| 65 2d 66 6f 72 6d 20 4e | 61 6d 65 73 20 6f 66 20 |e-form N|ames of | |00000f10| 4f 62 6a 65 63 74 69 76 | 65 20 43 20 4d 65 74 68 |Objectiv|e C Meth| |00000f20| 6f 64 73 3a 0a 42 72 65 | 61 6b 70 6f 69 6e 74 20 |ods:.Bre|akpoint | |00000f30| 63 6f 6d 6d 61 6e 64 73 | 20 65 74 63 2e 20 63 61 |commands| etc. ca| |00000f40| 6e 20 72 65 66 65 72 20 | 74 6f 20 4f 62 6a 65 63 |n refer |to Objec| |00000f50| 74 69 76 65 20 43 20 6d | 65 74 68 6f 64 73 20 69 |tive C m|ethods i| |00000f60| 6e 20 74 68 65 69 72 0a | 64 65 6d 61 6e 67 6c 65 |n their.|demangle| |00000f70| 64 20 66 6f 72 6d 3a 0a | 09 28 67 64 62 29 20 42 |d form:.|.(gdb) B| |00000f80| 52 45 41 4b 20 2b 5b 43 | 6c 61 73 73 6e 61 6d 65 |REAK +[C|lassname| |00000f90| 20 53 65 6c 65 63 74 6f | 72 3a 77 69 74 68 41 72 | Selecto|r:withAr| |00000fa0| 67 3a 61 6e 64 41 72 67 | 3a 5d 0a 0a 0a 43 6c 61 |g:andArg|:]...Cla| |00000fb0| 73 73 20 73 63 6f 70 65 | 3a 0a 49 66 20 79 6f 75 |ss scope|:.If you| |00000fc0| 20 61 72 65 20 64 65 62 | 75 67 67 69 6e 67 20 69 | are deb|ugging i| |00000fd0| 6e 20 61 6e 20 4f 62 6a | 65 63 74 69 76 65 20 43 |n an Obj|ective C| |00000fe0| 20 6d 65 74 68 6f 64 20 | 6f 66 20 61 20 63 6c 61 | method |of a cla| |00000ff0| 73 73 20 74 68 61 74 20 | 68 61 73 20 61 6e 0a 69 |ss that |has an.i| |00001000| 6e 73 74 61 6e 63 65 20 | 76 61 72 69 61 62 6c 65 |nstance |variable| |00001010| 20 28 65 67 2e 20 22 66 | 6f 6f 22 29 2c 20 79 6f | (eg. "f|oo"), yo| |00001020| 75 20 63 61 6e 20 72 65 | 66 65 72 20 74 6f 20 74 |u can re|fer to t| |00001030| 68 61 74 20 76 61 72 69 | 61 62 6c 65 20 62 79 20 |hat vari|able by | |00001040| 6e 61 6d 65 2c 0a 09 28 | 67 64 62 29 20 70 72 69 |name,..(|gdb) pri| |00001050| 6e 74 20 66 6f 6f 0a 77 | 69 74 68 6f 75 74 20 68 |nt foo.w|ithout h| |00001060| 61 76 69 6e 67 20 74 6f | 20 72 65 66 65 72 20 74 |aving to| refer t| |00001070| 6f 20 69 74 20 74 68 72 | 75 20 74 68 65 20 73 65 |o it thr|u the se| |00001080| 6c 66 20 70 6f 69 6e 74 | 65 72 3a 0a 09 28 67 64 |lf point|er:..(gd| |00001090| 62 29 20 70 72 69 6e 74 | 20 73 65 6c 66 2d 3e 66 |b) print| self->f| |000010a0| 6f 6f 09 2f 2f 20 43 2b | 2b 20 61 6e 61 6c 6f 67 |oo.// C+|+ analog| |000010b0| 79 3a 20 74 68 69 73 2d | 3e 66 6f 6f 0a 0a 0a 0a |y: this-|>foo....| |000010c0| 43 61 6c 6c 73 20 74 6f | 20 4f 62 6a 65 63 74 69 |Calls to| Objecti| |000010d0| 76 65 20 43 20 4d 65 74 | 68 6f 64 73 20 69 6e 20 |ve C Met|hods in | |000010e0| 65 78 70 72 65 73 73 69 | 6f 6e 73 3a 0a 54 68 65 |expressi|ons:.The| |000010f0| 20 50 52 49 4e 54 20 61 | 6e 64 20 43 41 4c 4c 20 | PRINT a|nd CALL | |00001100| 63 6f 6d 6d 61 6e 64 73 | 20 63 61 6e 20 62 65 20 |commands| can be | |00001110| 75 73 65 64 20 74 6f 20 | 63 61 6c 6c 20 4f 62 6a |used to |call Obj| |00001120| 65 63 74 69 76 65 20 43 | 20 6d 65 74 68 6f 64 73 |ective C| methods| |00001130| 0a 75 73 69 6e 67 20 74 | 68 65 20 6e 61 74 69 76 |.using t|he nativ| |00001140| 65 20 73 79 6e 74 61 78 | 20 28 61 6e 64 20 70 72 |e syntax| (and pr| |00001150| 69 6e 74 20 74 68 65 69 | 72 20 72 65 74 75 72 6e |int thei|r return| |00001160| 20 76 61 6c 75 65 73 29 | 3a 0a 09 28 67 64 62 29 | values)|:..(gdb)| |00001170| 20 63 61 6c 6c 20 20 5b | 66 6f 6f 20 77 69 74 68 | call [|foo with| |00001180| 42 61 72 3a 20 31 32 20 | 61 6e 64 42 61 7a 3a 20 |Bar: 12 |andBaz: | |00001190| 31 34 5d 0a 09 28 67 64 | 62 29 20 70 72 69 6e 74 |14]..(gd|b) print| |000011a0| 20 24 6d 79 66 6f 6f 20 | 3d 20 5b 5b 46 6f 6f 20 | $myfoo |= [[Foo | |000011b0| 61 6c 6c 6f 63 5d 20 69 | 6e 69 74 5d 0a 0a 0a 53 |alloc] i|nit]...S| |000011c0| 65 6c 65 63 74 6f 72 73 | 20 74 72 65 61 74 65 64 |electors| treated| |000011d0| 20 61 73 20 6f 76 65 72 | 6c 6f 61 64 65 64 20 66 | as over|loaded f| |000011e0| 75 6e 63 74 69 6f 6e 73 | 3a 0a 54 68 65 20 42 52 |unctions|:.The BR| |000011f0| 45 41 4b 20 61 6e 64 20 | 4c 49 53 54 20 63 6f 6d |EAK and |LIST com| |00001200| 6d 61 6e 64 73 20 63 61 | 6e 20 74 61 6b 65 20 61 |mands ca|n take a| |00001210| 20 72 61 77 20 73 65 6c | 65 63 74 6f 72 20 61 73 | raw sel|ector as| |00001220| 20 61 6e 20 61 72 67 75 | 6d 65 6e 74 2e 0a 49 66 | an argu|ment..If| |00001230| 20 74 68 65 20 73 65 6c | 65 63 74 6f 72 20 69 73 | the sel|ector is| |00001240| 20 69 6d 70 6c 65 6d 65 | 6e 74 65 64 20 62 79 20 | impleme|nted by | |00001250| 6d 6f 72 65 20 74 68 61 | 6e 20 6f 6e 65 20 63 6c |more tha|n one cl| |00001260| 61 73 73 2c 20 67 64 62 | 20 77 69 6c 6c 0a 70 72 |ass, gdb| will.pr| |00001270| 65 73 65 6e 74 20 61 20 | 6c 69 73 74 20 6f 66 20 |esent a |list of | |00001280| 74 68 65 20 70 6f 73 73 | 69 62 6c 65 20 6d 61 74 |the poss|ible mat| |00001290| 63 68 65 73 2c 20 6a 75 | 73 74 20 61 73 20 69 74 |ches, ju|st as it| |000012a0| 20 77 6f 75 6c 64 20 69 | 6e 20 74 68 65 20 63 61 | would i|n the ca| |000012b0| 73 65 0a 6f 66 20 61 20 | 43 2b 2b 20 6f 76 65 72 |se.of a |C++ over| |000012c0| 6c 6f 61 64 65 64 20 6d | 65 6d 62 65 72 20 66 75 |loaded m|ember fu| |000012d0| 6e 63 74 69 6f 6e 2e 20 | 20 54 68 65 20 75 73 65 |nction. | The use| |000012e0| 72 20 63 61 6e 20 73 65 | 6c 65 63 74 20 6f 6e 65 |r can se|lect one| |000012f0| 2c 0a 73 65 76 65 72 61 | 6c 2c 20 6f 72 20 61 6c |,.severa|l, or al| |00001300| 6c 20 6f 66 20 74 68 65 | 20 6d 61 74 63 68 65 73 |l of the| matches| |00001310| 20 66 72 6f 6d 20 74 68 | 65 20 6c 69 73 74 2e 0a | from th|e list..| |00001320| 09 28 67 64 62 29 20 62 | 72 65 61 6b 20 69 6e 69 |.(gdb) b|reak ini| |00001330| 74 0a 09 5b 30 5d 20 63 | 61 6e 63 65 6c 0a 09 5b |t..[0] c|ancel..[| |00001340| 31 5d 20 61 6c 6c 0a 09 | 5b 32 5d 20 2d 5b 43 68 |1] all..|[2] -[Ch| |00001350| 61 6e 67 65 20 69 6e 69 | 74 5d 20 61 74 20 43 68 |ange ini|t] at Ch| |00001360| 61 6e 67 65 2e 6d 3a 32 | 30 0a 09 5b 33 5d 20 2d |ange.m:2|0..[3] -| |00001370| 5b 43 68 61 6e 67 65 4d | 61 6e 61 67 65 72 20 69 |[ChangeM|anager i| |00001380| 6e 69 74 5d 20 61 74 20 | 43 68 61 6e 67 65 4d 61 |nit] at |ChangeMa| |00001390| 6e 61 67 65 2e 6d 3a 33 | 30 0a 09 5b 34 5d 20 2d |nage.m:3|0..[4] -| |000013a0| 5b 44 72 61 77 41 70 70 | 20 69 6e 69 74 5d 20 61 |[DrawApp| init] a| |000013b0| 74 20 44 72 61 77 41 70 | 70 2e 6d 3a 31 33 30 0a |t DrawAp|p.m:130.| |000013c0| 09 3e 0a 0a 0a 49 4e 46 | 4f 20 43 4c 41 53 53 20 |.>...INF|O CLASS | |000013d0| 61 6e 64 20 49 4e 46 4f | 20 53 45 4c 45 43 54 4f |and INFO| SELECTO| |000013e0| 52 20 63 6f 6d 6d 61 6e | 64 73 3a 0a 42 79 20 61 |R comman|ds:.By a| |000013f0| 6e 61 6c 6f 67 79 20 77 | 69 74 68 20 74 68 65 20 |nalogy w|ith the | |00001400| 49 4e 46 4f 20 46 55 4e | 43 54 49 4f 4e 20 61 6e |INFO FUN|CTION an| |00001410| 64 20 49 4e 46 4f 20 54 | 59 50 45 20 63 6f 6d 6d |d INFO T|YPE comm| |00001420| 61 6e 64 73 2c 20 74 68 | 65 73 65 20 61 63 63 65 |ands, th|ese acce| |00001430| 70 74 0a 61 20 72 65 67 | 75 6c 61 72 20 65 78 70 |pt.a reg|ular exp| |00001440| 72 65 73 73 69 6f 6e 20 | 61 6e 64 20 70 72 69 6e |ression |and prin| |00001450| 74 20 61 20 6c 69 73 74 | 20 6f 66 20 4f 62 6a 65 |t a list| of Obje| |00001460| 63 74 69 76 65 20 43 20 | 63 6c 61 73 73 65 73 20 |ctive C |classes | |00001470| 6f 72 20 73 65 6c 65 63 | 74 6f 72 73 0a 74 68 61 |or selec|tors.tha| |00001480| 74 20 6d 61 74 63 68 2e | 0a 0a 0a 4e 53 53 74 72 |t match.|...NSStr| |00001490| 69 6e 67 20 6c 69 74 65 | 72 61 6c 73 3a 0a 4d 61 |ing lite|rals:.Ma| |000014a0| 6e 79 20 4f 62 6a 65 63 | 74 69 76 65 20 43 20 6d |ny Objec|tive C m| |000014b0| 65 74 68 6f 64 73 20 65 | 78 70 65 63 74 20 61 6e |ethods e|xpect an| |000014c0| 20 4e 53 53 74 72 69 6e | 67 20 6c 69 74 65 72 61 | NSStrin|g litera| |000014d0| 6c 20 61 73 20 61 6e 20 | 61 72 67 75 6d 65 6e 74 |l as an |argument| |000014e0| 2c 0a 61 6e 64 20 6d 61 | 6e 79 20 65 78 70 72 65 |,.and ma|ny expre| |000014f0| 73 73 69 6f 6e 73 20 74 | 68 61 74 20 6d 69 67 68 |ssions t|hat migh| |00001500| 74 20 62 65 20 63 75 74 | 2d 61 6e 64 2d 70 61 73 |t be cut|-and-pas| |00001510| 74 65 20 65 76 61 6c 75 | 61 74 65 64 20 66 72 6f |te evalu|ated fro| |00001520| 6d 20 61 6e 0a 4f 62 6a | 65 63 74 69 76 65 20 43 |m an.Obj|ective C| |00001530| 20 70 72 6f 67 72 61 6d | 20 63 6f 6e 74 61 69 6e | program| contain| |00001540| 20 73 75 63 68 20 6c 69 | 74 65 72 61 6c 73 2e 20 | such li|terals. | |00001550| 20 41 73 20 61 20 63 6f | 6e 76 65 6e 69 65 6e 63 | As a co|nvenienc| |00001560| 65 2c 20 47 44 42 0a 77 | 69 6c 6c 20 61 63 63 65 |e, GDB.w|ill acce| |00001570| 70 74 20 73 75 63 68 20 | 61 20 6c 69 74 65 72 61 |pt such |a litera| |00001580| 6c 2c 20 61 6e 64 20 62 | 75 69 6c 64 20 61 6e 20 |l, and b|uild an | |00001590| 4e 53 53 74 72 69 6e 67 | 20 63 6f 6e 73 74 61 6e |NSString| constan| |000015a0| 74 20 69 6e 20 74 68 65 | 0a 63 68 69 6c 64 20 70 |t in the|.child p| |000015b0| 72 6f 63 65 73 73 20 61 | 64 64 72 65 73 73 20 73 |rocess a|ddress s| |000015c0| 70 61 63 65 2e 0a 09 28 | 67 64 62 29 20 70 72 69 |pace...(|gdb) pri| |000015d0| 6e 74 20 5b 4e 53 49 6d | 61 67 65 20 69 6d 61 67 |nt [NSIm|age imag| |000015e0| 65 4e 61 6d 65 64 3a 20 | 40 22 43 72 6f 73 73 2e |eNamed: |@"Cross.| |000015f0| 74 69 66 66 22 5d 0a 0a | 0a 42 75 69 6c 74 69 6e |tiff"]..|.Builtin| |00001600| 20 74 79 70 65 64 65 66 | 73 20 66 6f 72 20 63 6c | typedef|s for cl| |00001610| 61 73 73 65 73 3a 0a 41 | 73 20 77 69 74 68 20 43 |asses:.A|s with C| |00001620| 2b 2b 2c 20 74 68 65 20 | 4f 62 6a 65 63 74 69 76 |++, the |Objectiv| |00001630| 65 20 43 20 6c 61 6e 67 | 75 61 67 65 20 64 6f 65 |e C lang|uage doe| |00001640| 73 20 6e 6f 74 20 65 78 | 70 65 63 74 20 79 6f 75 |s not ex|pect you| |00001650| 20 74 6f 20 75 73 65 0a | 74 68 65 20 6b 65 79 77 | to use.|the keyw| |00001660| 6f 72 64 20 22 73 74 72 | 75 63 74 22 20 69 6e 20 |ord "str|uct" in | |00001670| 66 72 6f 6e 74 20 6f 66 | 20 61 20 63 6c 61 73 73 |front of| a class| |00001680| 20 6e 61 6d 65 2e 20 20 | 48 6f 77 65 76 65 72 20 | name. |However | |00001690| 74 68 65 20 47 43 43 0a | 63 6f 6d 70 69 6c 65 72 |the GCC.|compiler| |000016a0| 20 65 6d 69 74 73 20 74 | 68 65 20 74 79 70 65 20 | emits t|he type | |000016b0| 73 79 6d 62 6f 6c 73 20 | 66 6f 72 20 63 6c 61 73 |symbols |for clas| |000016c0| 73 65 73 20 61 73 20 73 | 74 72 75 63 74 73 2e 20 |ses as s|tructs. | |000016d0| 20 47 44 42 20 77 69 6c | 6c 0a 61 75 74 6f 6d 61 | GDB wil|l.automa| |000016e0| 74 69 63 61 6c 6c 79 20 | 63 72 65 61 74 65 20 61 |tically |create a| |000016f0| 6e 20 69 6e 74 65 72 6e | 61 6c 20 74 79 70 65 64 |n intern|al typed| |00001700| 65 66 20 73 79 6d 62 6f | 6c 20 74 68 61 74 20 6d |ef symbo|l that m| |00001710| 69 67 68 74 20 6c 6f 6f | 6b 20 6c 69 6b 65 3a 0a |ight loo|k like:.| |00001720| 09 74 79 70 65 64 65 66 | 20 73 74 72 75 63 74 20 |.typedef| struct | |00001730| 4e 53 53 74 72 69 6e 67 | 20 4e 53 53 74 72 69 6e |NSString| NSStrin| |00001740| 67 3b 0a 73 6f 20 74 68 | 61 74 20 74 68 65 20 75 |g;.so th|at the u| |00001750| 73 65 72 20 63 61 6e 20 | 75 73 65 20 63 61 73 74 |ser can |use cast| |00001760| 73 20 6c 69 6b 65 20 22 | 28 4e 53 53 74 72 69 6e |s like "|(NSStrin| |00001770| 67 20 2a 29 20 30 22 20 | 69 6e 73 74 65 61 64 20 |g *) 0" |instead | |00001780| 6f 66 0a 68 61 76 69 6e | 67 20 74 6f 20 74 79 70 |of.havin|g to typ| |00001790| 65 20 22 28 73 74 72 75 | 63 74 20 4e 53 53 74 72 |e "(stru|ct NSStr| |000017a0| 69 6e 67 20 2a 29 20 30 | 22 20 28 61 6c 74 68 6f |ing *) 0|" (altho| |000017b0| 75 67 68 20 74 68 65 20 | 6c 61 74 65 72 20 77 69 |ugh the |later wi| |000017c0| 6c 6c 0a 73 74 69 6c 6c | 20 62 65 20 61 63 63 65 |ll.still| be acce| |000017d0| 70 74 65 64 20 74 6f 6f | 29 2e 0a 0a |pted too|)... | +--------+-------------------------+-------------------------+--------+--------+