This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [COMMIT] Obvious - compilation failure in proc-api.c
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
cc: acomp failed for proc-api.c
make[1]: *** [proc-api.o] Error 2
make[1]: Leaving directory
`/home/david/Sun/64bit/gdb-6.3.50.20050304/gdb'
make: *** [all-gdb] Error 2
d.
--
David Lecomber <david@allinea.com>