Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-alt
Navigation:
Lists: gentoo-alt: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: <gentoo-alt@g.o>
From: "Markus Duft" <mduft@g.o>
Subject: RE: [PREFInteriX] debugging on Interix?
Date: Mon, 2 Jun 2008 07:54:06 +0200
> 
> short version:
> rsync segfaults when being used on Interix, how do I debug

Short (but late :)) answer:
Use /opt/gcc.3.3/bin/gdb. Even on SUA 6.0 where gcc > 4 can be used, this is still the debugger to use. (beware: you may have to set LD_LIBRARY_PATH and such...)

> 
> long version:
> Emerged rsync segfaults when trying to use it with our rsync tree
> (that sux0rz), and it dumps code.  gdb isn't keyworded for x86-interix.
> Is it possible at all to debug on this platform?  How to get a clue
> what's going wrong and how to fix it... (rsync would be great afterall,
> since Interix isn't the fastest bird in town...)

I found /opt/gcc.3.3/bin/gdb working most of the time. Sometimes it doesn't, but I haven't figured out what was going wrong there (I guess it was shared libs...). I also found truss usefull sometimes.

Cheers, Markus

> 
> --
> Fabian Groffen
> Gentoo on a different level
> --
> gentoo-alt@g.o mailing list


--
gentoo-alt@g.o mailing list


Replies:
RE: [PREFInteriX] debugging on Interix?
-- Markus Duft
References:
[PREFInteriX] debugging on Interix?
-- Fabian Groffen
Navigation:
Lists: gentoo-alt: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
[PREFInteriX] debugging on Interix?
Next by thread:
RE: [PREFInteriX] debugging on Interix?
Previous by date:
[PREFIX] OpenSolaris is working
Next by date:
RE: [PREFInteriX] debugging on Interix?


Updated Jun 17, 2009

Summary: Archive of the gentoo-alt mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.