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: [COMMIT] Obvious - compilation failure in proc-api.c


On Thu, Mar 10, 2005 at 12:09:36AM +0000, David Lecomber wrote:
> On Wed, 2005-03-09 at 18:41 -0500, Daniel Jacobowitz wrote:
> > On Wed, Mar 09, 2005 at 11:45:05PM +0000, David Lecomber wrote:
> > > Dear all,
> > > 
> > > It's been a while since I committed something, but here's one for the
> > > obvious fix rule.   Someone prod me if I forgot to do something ;-)  
> > > 
> > > The old version failed to compile with Sun's Forte tools on Solaris 10
> > > for Opteron (and you should've seen the code formatting!) 
> > 
> > What was the error?  The style appears to be the same as the one Andrew
> > used all across GDB when he mass-converted.
> > 
> > (Yes, I think it's ugly.)
> 
> Well, it's only been that file that has complained, but the error was
> pretty straight forward:
> 
> /opt/SUNWspro/bin/cc -c -xtarget=opteron -xarch=amd64     -I. -I.././gdb
> -I.././gdb/config -DLOCALEDIR="\"/usr/local/share/locale\""
> -DHAVE_CONFIG_H -I.././gdb/../include/opcode -I.././gdb/../readline/..
> -I../bfd -I.././gdb/../bfd -I.././gdb/../include -I../intl
> -I.././gdb/../intl  -DMI_OUT=1   proc-api.c
> "proc-api.c", line 783: newline in string literal
> "proc-api.c", line 786: syntax error before or at: set_procfs_trace_cmd
> "proc-api.c", line 796: cannot recover from previous errors

Hmm, maybe I just couldn't see the mistake.  Oh well.  Or there may
have been a space after one of the backslashes; GCC handles this as a
QoI extension.

-- 
Daniel Jacobowitz
CodeSourcery, LLC


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