Package: gdb
Version: 7.1-1+b1
Severity: normal

/tmp$ gcc -m32 -g -O0 ~/src/samples/hello.c -o hello
/tmp$ gdb hello
GNU gdb (GDB) 7.1-debian
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /tmp/hello...done.
(gdb) start
Temporary breakpoint 1 at 0x80483cd: file /home/josh/src/samples/hello.c, line 
5.
Starting program: /tmp/hello 
warning: the debug information found in "/lib/ld-2.11.2.so" does not match 
"/lib/ld-linux.so.2" (CRC mismatch).

warning: the debug information found in "/usr/lib/debug//lib/ld-2.11.2.so" does 
not match "/lib/ld-linux.so.2" (CRC mismatch).

warning: the debug information found in "/usr/lib/debug/lib/ld-2.11.2.so" does 
not match "/lib/ld-linux.so.2" (CRC mismatch).


Temporary breakpoint 1, main (argc=1, argv=0xffffd2d4) at 
/home/josh/src/samples/hello.c:5
5               printf("hello world\n");



/lib/ld-2.11.2.so corresponds to the 64-bit dynamic linker;
/lib/ld-linux.so.2 corresponds to the 32-bit dynamic linker.  Not
surprising that they don't match; surprising that GDB expects them to...

- Josh Triplett

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.34-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gdb depends on:
ii  gdbserver               7.1-1+b1         The GNU Debugger (remote server)
ii  libc6                   2.11.2-2         Embedded GNU C Library: Shared lib
ii  libexpat1               2.0.1-7          XML parsing C library - runtime li
ii  libncurses5             5.7+20100313-2   shared libraries for terminal hand
ii  libpython2.6            2.6.5+20100706-1 Shared Python runtime library (ver
ii  libreadline6            6.1-3            GNU readline and history libraries
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

gdb recommends no packages.

Versions of packages gdb suggests:
pn  gdb-doc                       <none>     (no description available)



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to