bug-gdb
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

portability issues with gdb-6.4


From: Peter O'Gorman
Subject: portability issues with gdb-6.4
Date: Sun, 7 May 2006 10:09:33 -0500
User-agent: Mutt/1.5.6+20040907i

Hi,
We've just built gdb-6.4, and ran into one or two issues.
1) In gdb/gdbserver/remote-utils.c a variable is declared not at the
beginiing of the block. This breaks on many non-recent gcc compilers.
2) Is mips-irix a gdb supported platform? If so the mips subdir does not
build with the native cc, I'll assume that it builds on this platform
with gcc, so added a GCC check to configure.
3) Similarly for powerpc-aix, xlc does not build the subdir, so I made
the dir dependent on gcc. I have not tested if it builds with gcc on
aix.
4) struct symtab_and_line cursal = { }; is not portable. I changed these
to { 0 }, which compiles with irix cc, but it seems likely that just
removing the '= { }' would also work.

Patch against 6.4 is attached.

Thank you,
Peter

Attachment: gdb.diff
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]