This is the mail archive of the gdb-patches@sourceware.org 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] |
(originally posted to bug-gdb@gnu.org) 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
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |