discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Objective-C support in GDB.


From: Dirk Lattermann
Subject: Re: Objective-C support in GDB.
Date: Sat, 24 May 2003 21:49:50 +0200
User-agent: Mutt/1.4i

On Fri, May 23, 2003 at 11:16:58AM -0600, Adam Fedor wrote:
> 
> On Friday, May 23, 2003, at 09:24 AM, Dirk Lattermann wrote:
> 
> >1. Even when compiling a library with 'make debug=yes' and installing
> >it the same way, gdb cannot find the source file in the directory
> >where I compiled the library (according to the docs, it should
> >find it there).  Don't know if this is related to objc support
> >(.m extension?), but see 2.: this C library is obviously found.
> >
> It's possible. I haven't had that problem, though, so you'll have to be 
> more specific about what CPU/OS you are using and any other relevant 
> info.

I'm using gcc-3.2.2 on i686-pc-linux-gnu.
Hmm. What other relevant info may there be?

I just compiled the whole GNUstep environment again and installed
it freshly.  Now the files of the external library are found.
Strange.  Typical uneasy feeling of not knowing what was wrong.
Sorry for the false alert.

> 
> 
> >2. Is it possible to omit stepping into the 4 or 5 lines of C
> >source code when stepping into  a method call (libobjc/sendmsg.c)?
> >
> >
> This would happen if you compiled the Objective-C runtime with 
> debugging info. Is that the case?
> 
I think so, yes.  I compiled gcc with a plain make bootstrap.
I think that compiled everything with the -g switch.
strip --strip-unneeded libobjc.so.1.0.0
has the desired effect. Thanks for the hint!
(Just tried compiling gcc again, but it seems rather difficult
to persuade it to not compiling everything with the -g option.
I didn't succeed)

Thanks!

Cheers, Dirk




reply via email to

[Prev in Thread] Current Thread [Next in Thread]