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] |
Hi Pierre, I make a patch to fix this bug, but I don't have cygwin. Could you please help me test this patch in cygwin? Thanks, Hui On Fri, May 8, 2009 at 07:06, Pedro Alves <pedro@codesourcery.com> wrote: > On Thursday 07 May 2009 23:43:13, Michael Snyder wrote: >> Guessing it isn't implemented for 64 bit. > > I don't think that's the problem here. ?Cygwin is 32-bit, and has 32-bit > ints. > >> ../../purecvs/gdb/linux-record.c:397: warning: unsigned int format, uint32_t >> arg > >> ../../purecvs/gdb/linux-record.c:629: warning: int format, uint32_t arg (arg > > Better use casts, or use plongest/pulongest/hex_string where appropriate? > >> Perhaps we should have a --disable-process-record config option? >> If only for a back-up plan? > > I think that would be more work than fixing this properly. ?:-) > >> ../../purecvs/gdb/linux-record.c:1636: error: `F_GETLK64' undeclared (first >> use >> in this function) > > There are a bunch of RECORD_* macros defined on top of linux-record.c > to replace contants like these. ?E.g., RECORD_Q_GETFMT. ?Looks like > this case was just missed. > > -- > Pedro Alves >
Attachment:
fix-prec-cygwin-build-error.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |