Hello,

I got the same error, but instead of a segfault, my program changed
between the `run's:

        (gdb) kill
        Kill the program being debugged? (y or n) y
        (gdb) make
        ...
        (gdb) info breakpoints
        Num Type           Disp Enb Address    What
        2   breakpoint     keep y   0xb7cf5e66 in gs_ct_util_min_dist at graphse
arch/libgs_ct_util/min_dist.c:211
                breakpoint already hit 1 time
        (gdb) run exact data/ct0007.map 
        BFD: BFD 2.15.93 20041018 internal error, aborting at /nevyn/local/gdb/g
db-6.3/bfd/cache.c line 495 in bfd_cache_lookup_worker

        BFD: Please report this bug.


The make `only' changed a for-loop from:

        for (i = graph->num_nodes - 1; i >= 0; --i) {
                ...

 to:

        for (i = 0; i < graph->num_nodes; ++i) {
                ...

in the function the breakpoint was at, with i having an unsigned type.  (So the 
first results in an endless loop.)

For now I can not reproduce it ad hoc, but maybe I can elaborate to
provide an reproduction recipe.

Regards
Uwe

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (900, 'testing'), (300, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.11.5
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages gdb depends on:
ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared libraries an
ii  libncurses5                 5.4-4        Shared libraries for terminal hand
ii  libreadline4                4.3-11       GNU readline and history libraries

-- no debconf information

-- 
Uwe Zeisberger

cal 9 1752 | grep 10

Attachment: signature.asc
Description: Digital signature

Reply via email to