Bug#561924: gdb: FTBFS on kfreebsd-amd64 with 8.x kernel headers

2010-02-03 Thread Daniel Jacobowitz
On Wed, Feb 03, 2010 at 09:20:23AM +0100, Petr Salinger wrote: They have been removed somehere during 8.0 development, it started with 80, the 8.0 release have 800107. I did'n know the exact version, so please change the check to #if (__FreeBSD_version 800075) (__FreeBSD_kernel_version

Bug#561924: gdb: FTBFS on kfreebsd-amd64 with 8.x kernel headers

2010-02-03 Thread Petr Salinger
#if (__FreeBSD_version 800075) (__FreeBSD_kernel_version 800075) So the issue is checking __FreeBSD_version and not __FreeBSD_kernel_version? Yes. Does normal FreeBSD define both? No. The assumption is that either both are defined to the same value, or only one is defined and the

Bug#561924: gdb: FTBFS on kfreebsd-amd64 with 8.x kernel headers

2010-02-02 Thread Daniel Jacobowitz
On Mon, Dec 21, 2009 at 01:12:35PM +0100, Petr Salinger wrote: Hi, the current version fails to build on GNU/kFreeBSD with 8.x kernel headers. The FreeBSD 8.0 kernel does not have segment registers in pcb anymore. To solve current FTBFS please just use patch bellow. Sorry for the

Bug#561924: gdb: FTBFS on kfreebsd-amd64 with 8.x kernel headers

2010-02-02 Thread Petr Salinger
The FreeBSD 8.0 kernel does not have segment registers in pcb anymore. To solve current FTBFS please just use patch bellow. Sorry for the inconvenience. In GDB 7.0.1, where this bug was just re-reported, GDB says: #if (__FreeBSD_version 800075) regcache_raw_supply (regcache,