Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 May 2011 14:43:32 -0500
From:      John Schumacher <schumjs@gmail.com>
To:        freebsd-ports@freebsd.org
Subject:   Porting gdbserver from Linux to FreeBSD 8.1
Message-ID:  <BANLkTikWD6vdLSn5EQW8eTFQ%2B7WZ86AQhQ@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hello all,
I noticed that gdbserver isn't fully supported by FreeBSD, which makes it
difficult for it to be remotely debugged. Because FreeBSD is commonly used
in embedded systems, I could imagine that a gdbserver ported over to FreeBSD
would have some use.
Of course, there are some issues that would prevent easy code migration.
Specifically, one of the issues with FreeBSD's gdbserver, that I feel isn't
handled well, is the lack of thread awareness of the gdbserver. It looks
like linux' flavor of gdbserver may be able to handle multithreading, but it
doesn't seem to be very obvious.

Has anyone ever tried porting over the linux version of gdbserver to
FreeBSD? And if not, what other obvious changes would have to be made?

Thanks
-- 
John Schumacher
University of Minnesota (TC)
Electrical Engineering



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTikWD6vdLSn5EQW8eTFQ%2B7WZ86AQhQ>