Re: ROOT and GDB

From: Axel Naumann <axel_at_fnal.gov>
Date: Fri, 06 May 2005 12:41:23 +0200


Hi,

even with that, root's delayed .so loading (e.g. with user libs) is sometimes a problem for GDB. I wrote a web page on how to debug root with gdb (mostly an introduction) a while ago, it's now available at http://www.muenster.de/~naumana/rootgdb.html

Axel.

Rene Brun wrote:

> Alberto,
> 
> Instead of
>   gdb root
> do
>   gdb root.exe
> 
> Rene Brun
> 
> On Fri, 6 May 2005, Alberto Pulvirenti wrote:
> 
> 

>>Dear all,
>>
>>I have written a shared library which I recall into a ROOT session to do
>>some stuff.
>>Of course, it has to be debugged, but when I try to check where it has
>>problems, I do not manage to use GDB, because ROOT catches the error,
>>but returns me a useless message. Using the ROOT stacktrace doesn't help
>>me in any way, and I would like to use GDB, but the error is caught
>>before GDB can recognize it, so I actually can't debug such library.
>>
>>Is there a way to exclude this ROOT error-catching tool, in order to
>>debug my program with GDB?
>>
>>Cheers,
>>
>> Alberto
>>

>
> Received on Fri May 06 2005 - 12:44:39 MEST

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:07 MET