RE: problem using gdb with ROOT

From: Timur Pocheptsov <Timur.Pocheptsov_at_cern.ch>
Date: Thu, 31 May 2012 09:25:26 +0000

Is your ROOT compiled with debug information?
________________________________________
From: owner-roottalk@root.cern.ch [owner-roottalk@root.cern.ch] on behalf of Chiara Zampolli [chiara.zampolli@bo.infn.it]
Sent: 31 May 2012 11:23
To: Root
Subject: [ROOT] problem using gdb with ROOT

Dear all,

        I have some problems running gdb with ROOT. First, if I simply call:

gdb root

It does not work, and I get:

(gdb) r
Starting program: /Users/zampolli/SOFT/ROOT/v5-33-02b/bin/root
Reading symbols for shared libraries .+++++.......... done
  *******************************************
  *                                         *
  *        W E L C O M E  to  R O O T       *
  *                                         *
  *   Version   5.33/03      6 March 2012   *
  *                                         *
  *  You are welcome to visit our Web site  *
  *          http://root.cern.ch            *
  *                                         *
  *******************************************

ROOT 5.33/03 (tags/v5-33-02b@43822, Apr 22 2012, 23:58:59 on macosx64)

CINT/ROOT C/C++ Interpreter version 5.18.00, July 2, 2010
Type ? for help. Commands must be C++ statements.
Enclose multiple statements between { }.

Program received signal SIGUSR1, User defined signal 1.
0x00007fff87939932 in select$DARWIN_EXTSN ()
(gdb)

Any idea?

Second, if I run gdb with AliRoot (which works), and try to set a breakpoint to TObjArray.cxx:567 (for example), the breakpoint does not work, while breakpoints with AliRoot do.
The ROOT version is v5-33-02b, and I am running with two different Mac (iMac and MacBook) with SnowLeopard.

Thanks for any hint.

        Best Regards,

                Chiara


Received on Thu May 31 2012 - 11:25:31 CEST

This archive was generated by hypermail 2.2.0 : Thu May 31 2012 - 11:50:02 CEST