This is the mail archive of the gdb-patches@sources.redhat.com 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: [PATCH] Redefine skip_quoted


Adam Fedor <fedor@doc.com> writes:
> >  > >  >  > Well, really the use of skip_quoted for ObjC (in a patch
> > that I haven't  > submitted yet), really has more to do with
> > handling the canonical form  > of an Objective-C method symbol
> > (e.g. -[MyObject myMethod:arg2:]) that  > comes from
> > objc-lang.c. Most of the breakpoint cases that a user would  > enter
> > are handled elsewhere (in a patch that I also haven't submitted).
> >  > I have to agree with Jim here, I think we should wait on the
> > parts you
> > haven't submitted before deciding on this one. Could you just have
> > added the chars you need to the gdb_completer_word_break_characters
> > variable?
> 
> No. It involves removing characters. Another option would be to define
> a new function, say skip_objc_quoted, just for objc which would be
> similar to skip_quoted. How about that?

So, the change would become local to the Objective-C code, right?  If
it doesn't hurt the functionality you're trying to provide, that
certainly sounds better to me, at least.


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