static binary, breakpoint misplaced

From:

Benjamin Forgeau

Subject:

static binary, breakpoint misplaced

Date:

Tue, 16 Jan 2001 12:14:45 +0100

Hi,
I'm using gdb 4.18, debugging a binary compiled with gcc 2.95.2, linked
with
ld 2.9.5.
When I use gdb on the shared libs version of my binary, everything's
ok.. But
when I try to debug the static one, every breakpoint is set on the same
location, somewhere in an uninteresting part of the code, but always on the
same place...
Otherwise gdb can follow the program execution, only breakpoints are
strange..
Any idea??
Thank you in advance
Ben
--
________________________________________________________________________
Benjamin Forgeau Raum 3032, Denickestr 17, 21073 Hamburg
Technische Universitaet Tel. +4940 42878 3485 Fax 42878 2941
Hamburg-Harburg mailto:address@hidden
Elektrotechnik VI http://www.tu-harburg.de/et6
Digitale Kommunikationssysteme
FSP 4-06, 21071 Hamburg, Germany
________________________________________________________________________