home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!elroy.jpl.nasa.gov!sdd.hp.com!cs.utexas.edu!wupost!spool.mu.edu!olivea!news.bbn.com!news.bbn.com!news
- From: aking@BBN.COM (Allen King)
- Newsgroups: comp.sys.next.programmer
- Subject: gdb's symbol table
- Message-ID: <lkn9s5INN9uo@news.bbn.com>
- Date: 7 Jan 93 03:46:13 GMT
- Reply-To: aking@BBN.COM (Allen King)
- Organization: Bolt Beranek and Newman Inc., Cambridge MA
- Lines: 31
- NNTP-Posting-Host: bbn.com
-
- GDB doesn't seem to know the correct type of List's objectAt: method
- -- the docs say it's an id, but GDB seems to think it's a long:
-
- (gdb) p [[myView subviews] objectAt :1]
- $11 = 2573376
-
- (gdb) whatis [[myView subviews] objectAt :1]
- type = long
-
- (gdb) p *[[myView subviews] objectAt :1]
- $12 = 582312
-
- (gdb) p *(MyView *)[[myView subviews] objectAt :1]
- $10 = {
- isa = 0x8e2a8,
- nextResponder = 0x2b7030,
- _reserved = 0x0,
- frame = {
- origin = {
- x = 116,
- y = 283
- },
- size = {
- width = 219,
- height = 15
- }
- },
- . . .
-
-
- Bug, or Not Bug?
-