This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: disable objective-c stuff when theres no objective-c cu.


On Tue, Oct 5, 2010 at 4:31 PM, Michael Snyder <msnyder@vmware.com> 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 ?<ratmice@gmail.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'.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]