I didn't manage to make your first suggestion working. Maybe I missed something.
Anyway, the ouput from your 2nd suggestion :
Code: Select all
$ gdb /bin/codelite
gdb: warning: error finding working directory: No such file or directory
GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-100.el7
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/codelite...done.
(gdb) break main
Breakpoint 1 at 0x810ca9: file /home/jidey/codelite-11.0/LiteEditor/app.cpp, line 234.
(gdb) r
Starting program: /bin/codelite
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Detaching after fork from child process 45129.
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Detaching after fork from child process 45131.
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Detaching after fork from child process 45133.
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Detaching after fork from child process 45135.
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Detaching after fork from child process 45137.
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Detaching after fork from child process 45139.
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Breakpoint 1, main (argc=1, argv=0x7fffffffc198)
at /home/jidey/codelite-11.0/LiteEditor/app.cpp:234
234 IMPLEMENT_APP(CodeLiteApp)
Missing separate debuginfos, use: debuginfo-install atk-2.22.0-3.el7.x86_64 cairo-1.14.8-2.el7.x86_64 clang-3.4.2-8.el7.x86_64 expat-2.1.0-10.el7_3.x86_64 fontconfig-2.10.95-11.el7.x86_64 freetype-2.4.11-15.el7.x86_64 gdk-pixbuf2-2.36.5-1.el7.x86_64 glib2-2.50.3-3.el7.x86_64 glibc-2.17-196.el7.x86_64 graphite2-1.3.10-1.el7_3.x86_64 gtk2-2.24.31-1.el7.x86_64 harfbuzz-1.3.2-1.el7.x86_64 keyutils-libs-1.5.8-3.el7.x86_64 krb5-libs-1.15.1-8.el7.x86_64 libX11-1.6.5-1.el7.x86_64 libXau-1.0.8-2.1.el7.x86_64 libXcomposite-0.4.4-4.1.el7.x86_64 libXcursor-1.1.14-8.el7.x86_64 libXdamage-1.1.4-4.1.el7.x86_64 libXext-1.3.3-3.el7.x86_64 libXfixes-5.0.3-1.el7.x86_64 libXft-2.3.2-2.el7.x86_64 libXi-1.7.9-1.el7.x86_64 libXinerama-1.1.3-2.1.el7.x86_64 libXrandr-1.5.1-2.el7.x86_64 libXrender-0.9.10-1.el7.x86_64 libXxf86vm-1.1.4-1.el7.x86_64 libblkid-2.23.2-43.el7.x86_64 libcom_err-1.42.9-10.el7.x86_64 libdrm-2.4.74-1.el7.x86_64 libffi-3.0.13-18.el7.x86_64 libgcc-4.8.5-16.el7.x86_64 libmount-2.23.2-43.el7.x86_64 libpng-1.5.13-7.el7_2.x86_64 libselinux-2.5-11.el7.x86_64 libssh-0.6.5-2.el7.x86_64 libstdc++-4.8.5-16.el7.x86_64 libthai-0.1.14-9.el7.x86_64 libuuid-2.23.2-43.el7.x86_64 libxcb-1.12-1.el7.x86_64 libxshmfence-1.2-1.el7.x86_64 llvm-libs-3.4.2-8.el7.x86_64 mesa-libEGL-17.0.1-6.20170307.el7.x86_64 mesa-libGL-17.0.1-6.20170307.el7.x86_64 mesa-libgbm-17.0.1-6.20170307.el7.x86_64 mesa-libglapi-17.0.1-6.20170307.el7.x86_64 ncurses-libs-5.9-14.20130511.el7_4.x86_64 openssl-libs-1.0.2k-8.el7.x86_64 pango-1.40.4-1.el7.x86_64 pcre-8.32-17.el7.x86_64 pixman-0.34.0-1.el7.x86_64 sqlite-3.7.17-8.el7.x86_64 xz-libs-5.2.2-1.el7.x86_64 zlib-1.2.7-17.el7.x86_64
(gdb) catch throw
Catchpoint 2 (throw)
(gdb) c
Continuing.
[Inferior 1 (process 44881) exited with code 0377]
(gdb) quit
$
I do have a "/usr/bin/codelite", with the same size than "/bin/codelite" :
Code: Select all
$ ll /bin/cod*
...........................
-rwxr-xr-x. 1 root root 78238952 Jan 23 18:27 /bin/codelite
...........................
$
$ ll /usr/bin/cod*
...........................
-rwxr-xr-x. 1 root root 78238952 Jan 23 18:27 /usr/bin/codelite
...........................
Code: Select all
$ /usr/bin/codelite
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
$