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 inconvenience.

In GDB 7.0.1, where this bug was just re-reported, GDB says:

#if (__FreeBSD_version <  800075)
  regcache_raw_supply (regcache, AMD64_DS_REGNUM, &pcb->pcb_ds);
  regcache_raw_supply (regcache, AMD64_ES_REGNUM, &pcb->pcb_es);
  regcache_raw_supply (regcache, AMD64_FS_REGNUM, &pcb->pcb_fs);
  regcache_raw_supply (regcache, AMD64_GS_REGNUM, &pcb->pcb_gs);
#endif

Is that the wrong version?  The patch was:

2008-10-16  Steven G. Kargl  <ka...@gcc.gnu.org>  (tiny patch)

        * amd64fbsd-nat.c (amd64fbsd_supply_pcb): Conditionally compile in
        support for pcb->pcb_{fs,ds,es,gs} on FreeBSD older than 8.0.

-- 
Daniel Jacobowitz
CodeSourcery



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to