[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

*dbg pakages



Hello

How should be used pakages containing debugging symbols/informations,
like openoffice.org-dbg
When I try to run
/usr/lib/debug/usr/lib/openoffice/program/soffice.bin bash show an
unexpected error message "cannot execute binary file".

ls -l /usr/lib/debug/usr/lib/openoffice/program/soffice.bin
-rwxr-xr-x 1 root root 275929 2007-03-30 16:24

/usr/lib/debug/usr/lib/openoffice/program/soffice.bin has a+x permission

:~$  /usr/lib/debug/usr/lib/openoffice/program/soffice.bin
bash: /usr/lib/debug/usr/lib/openoffice/program/soffice.bin: cannot
execute binary file

What is necessary to run or debug
/usr/lib/debug/usr/lib/openoffice/program/soffice.bin (or other
similar executables from *dbg packages)



gdb  /usr/lib/debug/usr/lib/openoffice/program/soffice.bin
GNU gdb 6.6-debian
............
This GDB was configured as "i486-linux-gnu"...
Using host libthread_db library "/lib/i686/cmov/libthread_db.so.1".
(gdb) r
Starting program: /usr/lib/debug/usr/lib/openoffice/program/soffice.bin
/bin/bash: /usr/lib/debug/usr/lib/openoffice/program/soffice.bin:
cannot execute binary file
/bin/bash: /usr/lib/debug/usr/lib/openoffice/program/soffice.bin: Success

Program exited with code 01.
warning: Unable to find dynamic linker breakpoint function.
GDB will be unable to debug shared library initializers
and track explicitly loaded dynamic code.
You can't do that without a process to debug.
(gdb)



Reply to: