hg: bsd-port/bsd-port/hotspot: . Serviceability agent support for BSD. Fully functional on FreeBSD. Other

Greg Lewis glewis at eyesbeyond.com
Fri May 29 13:03:25 PDT 2009

On Fri, May 29, 2009 at 03:51:19PM -0400, Kurt Miller wrote:
> Greg Lewis wrote:
> > On Fri, May 29, 2009 at 03:25:08PM +0000, glewis at eyesbeyond.com wrote:
> >> Changeset: eb512e8ac925
> >> Author:    glewis at misty.eyesbeyond.com
> >> Date:      2009-05-29 08:22 -0700
> >> URL:       http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/eb512e8ac925
> >>
> >> . Serviceability agent support for BSD.  Fully functional on FreeBSD.  Other
> >>   platforms currently lack support for jmap's -pmap (default) option.
> >>
> >> This contains significant contributions from Kurt Miller and Brian Gardner.
> > 
> > Oops.  Looks like this is breaking the OS X build.  Looks like it's
> > missing all the Elf* types.  Anyone know if they are even available on
> > OS X?
> Hi Greg,
> It's breaking OpenBSD too. It looks like only FreeBSD has proc_service.h
> and libthread_db.so right now. I think we need to adjust the build to
> make some of this FreeBSD only for the short term.
> I looked over proc_service.h/libthread_db.so in FreeBSD and I think it's
> worthwhile to port it to OpenBSD. OpenBSD needs something like it to
> support our userland threads lib (libpthread) and our kernel threads
> lib (rthreads) in gdb.

Thanks Kurt.  Sorry about the breakage.  I'll work up a patch to prevent
the build of the serviceability agent except for FreeBSD.

Answering my own previous question, of course OS X doesn't have the ELF
headers -- it doesn't use an ELF exeuctable format...

Greg Lewis                          Email   : glewis at eyesbeyond.com
Eyes Beyond                         Web     : http://www.eyesbeyond.com
Information Technology              FreeBSD : glewis at FreeBSD.org

More information about the bsd-port-dev mailing list