Hi,
I’m trying to debug a shared library in root cint with Emacs-gdb.
The steps is
- emacs
- (in emcas) gdb root
- (in emacs) run
- (switch to root cint) gSystem->Load(“mySharedLibrary.so”)
- (switch to emacs)
- (in emacs) break classname::function()
get error message
Function “***::***” not defined.
I tried same procedures on other platform(RACF/root4star), It works, the break point can be set.
But on my local platform, It can not load debug info.
It looks like I didn’t build my root correct.
BTW, debugging a compiled code linked against mySharedLibrary.so goes well.
Please help me to figure out what is wrong with my debugging procedure, and how to fix?
Thanks!
wanbing
Please read tips for efficient and successful posting and posting code
ROOT Version: root6
Platform: CentOS 7
Compiler: gcc9