This time with the attachment.... :-( On Fri, 2006-05-05 at 13:20 -0700, PAUL GILLIAM wrote: > On Fri, 2006-05-05 at 21:54 +0200, Mark Kettenis wrote: > > > From: PAUL GILLIAM > > > Date: Fri, 05 May 2006 11:32:18 -0700 > > > > > > OK, How about this? I tried to make everyone happy :-) > > > > > > Here is an excerpt: > > > > > > #ifdef HAVE_STDINT_H > > > #include > > > #define CORE_ADDR_CAST (uintptr_t) > > > #else > > > #define CORE_ADDR_CAST (CORE_ADDR)(unsigned long) > > > #endif > > > . . . > > > last_stopped_data_address = CORE_ADDR_CAST siginfo.si_addr; > > > > > > Then when there is a gdb_stdint.h, I'll submit another patch to include > > > it and replace CORE_ADDR_CAST with just (uintptr_t). > > > > > > Ok to commit? > > > > Sorry Paul, this is silly. Just include and use uintptr_t > > unconditionally. Or use unsigned long (the extra CORE_ADDR cast isn't > > necessary) if you're really scared that someone will try to compile > > GDB on a system with glibc 2.0.x. > > Alright, I admit it is a little silly. I thought it would fit right in > with a lot of what I see on this mailing list :-) > > Anyway, I changed it as you suggested: OK to commit? > > -=# Paul #=- >