Article View: comp.sys.next.programmer
Article #2209gdb's symbol table
From: Allen King
Date: Thu, 07 Jan 1993 03:46
Date: Thu, 07 Jan 1993 03:46
31 lines
1035 bytes
1035 bytes
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?
Technical Details
Message-ID:
<lkn9s5INN9uo@news.bbn.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!elroy.jpl.nasa.gov!sdd.hp.com!cs.utexas.edu!wupost!spool.mu.edu!olivea!news.bbn.com!news.bbn.com!newsShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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