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] Objective-C language support.


On Wed, Oct 23, 2002 at 03:36:08PM -0400, Andrew Cagney wrote:
> >>
> >
> >>> -       error ("no args, no `this'");
> >
> >>>> +       error ("no args, no %s", name);
> >
> >>
> >>Michael,
> >>
> >>This changes GDB's behavior.  Instead of printing:
> >>
> >>        no args, no `this'
> >>it will print
> >>        no args, no this
> >>
> >>I don't think GDB's output should be changed in this way.
> >>(I'm suprized that running the testsuite didn't detect this).
> >
> >
> >Hi Andrew, 
> >
> >I corrected this with the patch below.  I did not add a new test,
> >because I cannot find a way to invoke this error message.  ;-/
> 
> Michael,  my memory of the Apple patch is that it changed this 
> everywhere, the above was just one example :-( (btw `this' not 'this').

By the way, GCC recently reached the consensus that '' and "" were
appropriate quote marks, and that `' should go away.

[Although I think they also decided that `' should be left in the
source and transliterated by the output routines; that way we can
generate proper quotes in locales which have them.  Or maybe that the
real Unicode quotes should be used in source and transliterated to ''.]

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


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