[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: First go at a translator

On Tue, Dec 19, 2000 at 03:17:53AM -0500, Igor Khavkine wrote:
> I've decided to dabble in the translator arts. I'm trying to write
> a simple gopherfs translator, I've looked at example code from ftpfs
> and libnetfs and I'm basing my code on that.
> I've written most of it and i'm trying to run it and see where things break,
> but whenever I try to settrans it on some node and do ls, it blocks.
> When I try to attach gdb to it, and the resume execution, it produces
> an illegal instruction error in the thread library.

After attaching, use info threads to see which thread is stuck, and then
thread N, bt to see where it stucks. This should help. Post the gdb output
of your session next time, so we have some hard facts rather than a vague
description. Details matter :)

> I've also noticed
> on several occasions that the current version of gdb doesn't handle
> multithreaded processes very well.

Works fine here.


Reply to: