bug-gdb
[Top][All Lists]
Advanced

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

Bug reporting dl-runtime.c not found


From: Nathaniel Schaffer
Subject: Bug reporting dl-runtime.c not found
Date: Wed, 15 Sep 2004 17:24:24 -0500 (CDT)

I don't really know if this is a bug with gdb or not, but when I try to si through two simple programs (attached) that do the same thing, one written in c, one in x86 assembly, I get an error that says:

  0x4000b6c0 in _dl_runtime_resolve () at dl-runtime.c:203
  203     dl-runtime.c: No such file or directory.
          in dl-runtime.c
  (gdb) si
  0x4000b6c1      203     in dl-runtime.c

If I continue to si I get:

  0x4000b6cb      203     in dl-runtime.c
  (gdb) si
  fixup (l=0xbffff914, reloc_offset=32) at dl-runtime.c:57
  57      in dl-runtime.c

and:

  (gdb) si
  0x40011bcf in __i686.get_pc_thunk.bx () from /lib/ld-linux.so.2
  (gdb) si
  0x40011bd2 in __i686.get_pc_thunk.bx () from /lib/ld-linux.so.2
  (gdb) si
  0x4000b406 in fixup (l=0x40015988, reloc_offset=32) at dl-runtime.c:57
  57      in dl-runtime.c


until I get:

  (gdb) si
  _dl_lookup_versioned_symbol (undef_name=0x40015988 "", undef_map=0x3,
      ref=0x400160b8, symbol_scope=0x4015e730, version=0x1, type_class=1,
      flags=1073830280) at dl-lookup.c:414
  414     dl-lookup.c: No such file or directory.
          in dl-lookup.c
  (gdb) si
  0x40008371      414     in dl-lookup.c

If I ni through the programs I don't run into any problems, and I can si through them on other machines. Here is the header output from gdb on startup.

  GNU gdb 6.2.1
  Copyright 2004 Free Software Foundation, Inc.
  GDB is free software, covered by the GNU General Public License, and you
    are
  welcome to change it and/or distribute copies of it under certain
    conditions.
  Type "show copying" to see the conditions.
  There is absolutely no warranty for GDB.  Type "show warranty" for
    details.
  This GDB was configured as "i686-pc-linux-gnu"...Using host libthread_db
    library "/lib/libthread_db.so.1".


I have included the entire output as gdb.out, the compilation output as make.out, and the source code for the two programs. If I switch from si to ni before the "??" appear, it continues to work fine, but if I start using ni after the "??" have appeared, it fails as above. If I hit c at any time, the programs run normally. I compiled both the programs I am trying to debug (not that they have any problems in them) and gdb itself using both gcc 3.3 and 2.95. Thank you for your help, and I appologize if this has nothing to do with you or gdb.


Nathaniel Schaffer

Attachment: lab0_asmprog.s
Description: Text document

Attachment: lab0_cprog.c
Description: Text document

Attachment: gdb.out
Description: Text document

Attachment: make.out
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]