From: "Matt Rice" <ratmice@gmail.com>
To: gdb@sourceware.org
Cc: gnustep-dev@gnu.org
Subject: gdb objc regressions
Date: Mon, 10 Mar 2008 07:08:00 -0000 [thread overview]
Message-ID: <8ba6bed40803091750kb23a027l47034df82fe29ad2@mail.gmail.com> (raw)
Hi,
there is some issues with debugging objc
GNU gdb Fedora (6.7.50.20080227-2.fc9)
GNU gdb 6.8.50.20080309-cvs
the 6.7.1 release doesn't seem to have these issues...
we can set a breakpoint on a method, so thats good.
Breakpoint 1, -[EOEntity attributes] (self=0x8937df0, _cmd=0x6e9210)
you cannot naively print an instance variable
(gdb) po isa
No symbol "isa" in current context.
though po in general works,
(gdb) po self.isa
EOEntity
also sending messages to an object doesn't work,
(gdb) p [self class]
A syntax error in expression, near `[self class]'.
it appears these are covered by failures in the testsuite but i
anticipate not alot of gdb developers have the objc compiler
installed,
I don't mind looking into this but it may take me a while to get up to speed,
so any pointers in where to start looking would be appreciated
matt
next reply other threads:[~2008-03-10 0:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-10 7:08 Matt Rice [this message]
2008-03-10 7:36 ` David Ayers
2008-03-10 7:39 ` Matt Rice
2008-03-10 10:06 ` Richard Frith-Macdonald
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=8ba6bed40803091750kb23a027l47034df82fe29ad2@mail.gmail.com \
--to=ratmice@gmail.com \
--cc=gdb@sourceware.org \
--cc=gnustep-dev@gnu.org \
/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