[Haiku-commits] r31047 - in haiku/trunk/src/apps: . debugger

Ingo Weinhold ingo_weinhold at gmx.de
Mon Jun 15 14:16:35 CEST 2009


On 2009-06-14 at 20:33:27 [+0200], François Revol <revol at free.fr> wrote:
> > > Wouldn't a gdb based GUI be faster to write ?
> > > IIRC there is a library that can be used.
> > > It should be GPLed but that shouldn't matter much anyway...
> > 
> > But Ingo is the one who ported our GDB. So he is probably aware of
> > it. :-}
> 
> Maybe he didn't look at the library API.

Thanks for the hint! Indeed I missed the library -- libdwarf BTW -- when 
first looking for helpful code. It doesn't seem particulary popular 
(neither gcc/binutils nor gdb use it at least). It is LGPL though and still 
maintained. Will have a closer look at the API.

> > enough technical reasons to do this, but even as a user, I could see
> > where
> > this is comming from, because both KDevelop and QtCreator are no fun
> > to do
> > debugging on in my experience. Even when GDB does run for a while
> > without
> > crashing.
> 
> I just scratched the surface with gdb, it's quite powerful but I never
> read the manual.

Yep, it is powerful. It is also ancient and "grown" code, that isn't 
particular fun to hack. Worst of all, though, the current version (6.8) 
seems to be buggy enough (under Linux at least) that using it isn't 
particular fun either. Neither the old version 6.3 Haiku currently uses, 
nor the current 6.8 can even read Haiku's gcc 2 kernel when compiled with 
debug info (the latter just hangs). All not particularly motivating to use 
it as a base for a GUI debugger at least.

CU, Ingo



More information about the Haiku-commits mailing list