[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
debugging shared libraries
From: |
Torsten Blank |
Subject: |
debugging shared libraries |
Date: |
25 Jul 2001 13:58:42 +0200 |
Dear Debuggers,
i have some problems to debug shared libraries with gdb. I don't know
if there is a solution for them, but i hope so. I use gdb 4.18 and ld
2.9.5 under a Linux-kernel 2.2.16. What i do is the following:
First, i set a breakpoint in the main-executable, so that all shared
libraries can be loaded. Than i set a breakpoint (or even many) in a
function, which is located in one of the shared libraries (which i
have compiled with "-g" and linked with "-shared"). That all work
fine, but if i "continue" the program, it will skip all the
breakpoints in the shared library. Is that a bug, a feature or is that
my fault?
Thanks in advance, Torsten
--
Torsten Blank
Institut fuer Theoretische Physik der Uni Karlsruhe
Tel: 0721 / 608 6365 Fax: 0721 / 608 3582
Web: http://www-itp.physik.uni-karlsruhe.de/~tb
- debugging shared libraries,
Torsten Blank <=