NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-alpha/40300: 'target kvm' doesn't work on alpha



The following reply was made to PR port-alpha/40300; it has been noted by GNATS.

From: Nick Hudson <nick.hudson%gmx.co.uk@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: port-alpha-maintainer%netbsd.org@localhost,
 gnats-admin%netbsd.org@localhost,
 netbsd-bugs%netbsd.org@localhost,
 bouyer%antioche.lip6.fr@localhost
Subject: Re: port-alpha/40300: 'target kvm' doesn't work on alpha
Date: Sun, 4 Jan 2009 11:11:46 +0000

 On Sunday 04 January 2009 01:55:03 David Holland wrote:
 > The following reply was made to PR port-alpha/40300; it has been noted by
 > GNATS.
 >
 > From: David Holland <dholland-bugs%netbsd.org@localhost>
 > To: Manuel BOUYER <bouyer%antioche.lip6.fr@localhost>
 > Cc: port-alpha-maintainer%netbsd.org@localhost, 
 > gnats-admin%netbsd.org@localhost,
 >      netbsd-bugs%netbsd.org@localhost, gnats-bugs%netbsd.org@localhost
 > Subject: Re: port-alpha/40300: 'target kvm' doesn't work on alpha
 > Date: Sun, 4 Jan 2009 01:53:37 +0000
 >
 >  On Tue, Dec 30, 2008 at 04:55:00PM +0000, Manuel BOUYER wrote:
 >   > >Synopsis:       'target kvm' doesn't work on alpha
 >   >
 >   >  'target kvm' doesn't exist in alpha--netbsd-gdb built from
 >   >  build.sh. Quoting Martin Husemann:
 >   > src/gnu/usr.bin/gdb6/arch/alpha/defs.mk:
 >   >
 >   >    G_LIBGDB_OBS does not contain bsd-kvm.o
 >   >
 >   > No idea why mknative did not pick it up or if it would work if you add
 >   > it.
 >   >
 >   >   I tried adding bsd-kvm.o to G_LIBGDB_OBS but it seems it's not
 >   > enough.
 >
 >  I had the displeasure of digging around in gdb config recently, so
 >  while I'm far from an expert I think I know what's wrong.
 >
 >  It looks as if you need to add a call to bsd_kvm_add_target() to
 >  _initialize_alphabsd_nat() at the bottom of
 >  src/gnu/dist/gdb6/gdb/alphabsd-nat.c, akin to the one in
 >  i386nbsd-nat.c.
 >
 >  To do it properly you also need to add bsd-kvm.o to NATDEPFILES in
 >  src/gnu/dist/gdb6/gdb/config/alpha/nbsd.mh, and rerun mknative in all
 >  its full glory.
 
 This is correct. All the effort (not much really) is in getting  
 alphabsd_supply_pcb right.
 
 Nick
 


Home | Main Index | Thread Index | Old Index