This is the mail archive of the
mailing list for the GDB project.
Re: disable objective-c stuff when theres no objective-c cu.
On Tue, Oct 5, 2010 at 4:31 PM, Michael Snyder <firstname.lastname@example.org> wrote:
> Matt Rice wrote:
>> this makes it so that a flag is set if either an objective-c
>> compilation unit is found,
>> or the user goes 'set language objective-c' in the case where debug
>> symbols are absent.
>> 2010-10-05 ?Matt Rice ?<email@example.com>
>> ? ? ? ?* defs.h: Add comment.
>> ? ? ? ?* dwarf2read.c (set_cu_language): Notice that a language has been
>> ? ? ? ?seen.
>> ? ? ? ?* language.c (set_language): Ditto.
>> ? ? ? ?(mask_for_language, language_has_cu_loaded): New Functions.
>> ? ? ? ?(set_language_has_cu_loaded): Ditto.
>> ? ? ? ?* language.h: Declare new functions.
>> ? ? ? ?* linespec.c (decode_line_1): Don't lookup objective-c methods
>> ? ? ? ?unless objective-c has been seen.
> Hi Matt,
> Do you have a ?copyright assignment?
Yeah, I do
and I should have probably noted that this is a change of behaviour
so its kind of an RFC, and I didn't think about stabs, so w/ this they
probably require 'set language objective-c' 'set language auto' should
restore the old behaviour
waiting on the testsuite to run, but it looks like gdb.objc/nondebug.exp
is going to require 'set language objective-c'.