1 |
> |
2 |
> short version: |
3 |
> rsync segfaults when being used on Interix, how do I debug |
4 |
|
5 |
Short (but late :)) answer: |
6 |
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...) |
7 |
|
8 |
> |
9 |
> long version: |
10 |
> Emerged rsync segfaults when trying to use it with our rsync tree |
11 |
> (that sux0rz), and it dumps code. gdb isn't keyworded for x86-interix. |
12 |
> Is it possible at all to debug on this platform? How to get a clue |
13 |
> what's going wrong and how to fix it... (rsync would be great afterall, |
14 |
> since Interix isn't the fastest bird in town...) |
15 |
|
16 |
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. |
17 |
|
18 |
Cheers, Markus |
19 |
|
20 |
> |
21 |
> -- |
22 |
> Fabian Groffen |
23 |
> Gentoo on a different level |
24 |
> -- |
25 |
> gentoo-alt@l.g.o mailing list |
26 |
|
27 |
|
28 |
-- |
29 |
gentoo-alt@l.g.o mailing list |