Re: ups on FreeBSD 8.X

Bakul Shah <[email protected]> Thu, 23 Sep 2010 20:24:52 -0700
Newsgroups gmane.comp.debugging.ups.user
Message-ID <[email protected]>
On Fri, 24 Sep 2010 12:46:43 +1000 Callum Gibson <[email protected]>  wrote:
> On 24Sep10 12:21, Bakul Shah wrote:
> }I think I had it at least limping along  on an x86 FreeBSD
> }box after some patching.  Unfortunately that machine is down
> 
> Last we spoke that was after I did some patches for 7.X so probably was that
> version.

Yes. There was some more patching but don't recall for sure!

> }at the moment and I don't recall if it was before or after I
> }upgraded it to 8.0. I will see if I can find some time this
> }Sunday to get it running.
> 
> Ok, drop me a line if you do and I'll send you my UAREA patch if you want/

Ok. Thanks.

> I actually think the way to go is to fix up the dwarf support.
	...
> Previously, with gcc 3.4 I'd always compiled with -gstabs (and still do on
> Solaris). I note that FreeBSD has it's own libdwarf (ups uses it's own internal
> copy of David Anderson's libdwarf). I don't know whether they are incompatible,
> but I've never seen ups handle dwarf properly for any version of FreeBSD, fwiw.

This seems like a promising direction....

> }I have to use Linux @ work so I am interested in the linux
> }port as well.  Does it work for 64 bit targets or only 32 bit
> }ones?
> 
> I haven't tried 64 bit as yet since my only 64 bit box is also FreeBSD 8.
> You should try the cvs tree for linux - I believe it should work (for dwarf).
> 
> }Has anyone used ups with a remote (non-x86) target?
> 
> I use it on Sparc (Solaris) - is that what you mean?

I was thinking of embedded ppc/arm targets (so have to be
remote - runing gdb remote protocol over a serial link or
something).

-- bakul