This is the mail archive of the gdb@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: gdb_assert when resetting breakpoints


> >> What has happenend: In breakpoint.c line 7417 you find:
> >> sals = decode_line_1 (&s, 1, (struct symtab *) NULL, 0, (char ***)
> >> NULL,not_found_ptr);
> >> s points to "main" at that moment as found in the breakpoint structure
> >> supplied to breakpoint_re_set_one().
> >>
> >> sals (returned from decode_line_1) contains 2 entries.  Sals entry
> >> 0 points to the ObjectiveC METHOD main of the foundation base class
> >> NSThread (written in ObjC notation -[NSThread main]).

The problem, at this point, seems to be the fact that decode_line_1
should NOT be returning a match for this ObjC class method, since
the breakpoint language was C.  I think we need to find out why
this method was selected as a match, and prevent it from happening.

-- 
Joel


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