Your message dated Sat, 20 Mar 2010 05:47:58 +0000
with message-id <[email protected]>
and subject line Bug#346409: fixed in gdb 7.1-1
has caused the Debian Bug report #346409,
regarding gdb: fails to function at all on stuff linked with -pie
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
346409: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=346409
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: gdb

Our gdb doesn't work on PIE binaries. I don't know why you'd ever want
to do this, but right now samba is linked that way. I'm just going to
file a bug over there asking them to stop, but this should probably be
fixed anyway. Supposedly fedora's gdb works; I haven't tried it.

Sample:

asuffi...@cyclone:~$ cat hello.c
#include <stdio.h>
#include <unistd.h>
int main(void)
{
  printf("Hello, fuckers!\n");
  sleep(1000);
  return 0;
}
asuffi...@cyclone:~$ gcc -pie -o hello hello.c
asuffi...@cyclone:~$ gdb hello
GNU gdb 6.4-debian
Copyright 2005 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 "i486-linux-gnu"...Using host libthread_db library 
"/lib/tls/i686/cmov/libthread_db.so.1".

(gdb) b main
Breakpoint 1 at 0x612
(gdb) r
Starting program: /home/asuffield/hello
Warning:
Cannot insert breakpoint 1.
Error accessing memory address 0x612: Input/output error.


I couldn't find anything that actually worked, gdb does not appear to
understand these binaries at all. Most notably, it cannot attach to
their processes and produce a stack trace, which is proving to be
quite problematic for debugging samba.

-- 
  .''`.  ** Debian GNU/Linux ** | Andrew Suffield
 : :' :  http://www.debian.org/ |
 `. `'                          |
   `-             -><-          |

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Source: gdb
Source-Version: 7.1-1

We believe that the bug you reported is fixed in the latest version of
gdb, which is due to be installed in the Debian FTP archive:

gdb-minimal_7.1-1_amd64.deb
  to main/g/gdb/gdb-minimal_7.1-1_amd64.deb
gdb-source_7.1-1_all.deb
  to main/g/gdb/gdb-source_7.1-1_all.deb
gdb_7.1-1.debian.tar.gz
  to main/g/gdb/gdb_7.1-1.debian.tar.gz
gdb_7.1-1.dsc
  to main/g/gdb/gdb_7.1-1.dsc
gdb_7.1-1_amd64.deb
  to main/g/gdb/gdb_7.1-1_amd64.deb
gdb_7.1.orig.tar.bz2
  to main/g/gdb/gdb_7.1.orig.tar.bz2
gdbserver_7.1-1_amd64.deb
  to main/g/gdb/gdbserver_7.1-1_amd64.deb
libgdb-dev_7.1-1_amd64.deb
  to main/g/gdb/libgdb-dev_7.1-1_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Daniel Jacobowitz <[email protected]> (supplier of updated gdb package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sat, 20 Mar 2010 01:21:29 -0400
Source: gdb
Binary: gdb gdb-minimal gdb64 gdbserver libgdb-dev gdb-source
Architecture: source all amd64
Version: 7.1-1
Distribution: unstable
Urgency: low
Maintainer: Daniel Jacobowitz <[email protected]>
Changed-By: Daniel Jacobowitz <[email protected]>
Description: 
 gdb        - The GNU Debugger
 gdb-minimal - The GNU Debugger
 gdb-source - The GNU Debugger (source)
 gdb64      - The GNU Debugger (64-bit)
 gdbserver  - The GNU Debugger (remote server)
 libgdb-dev - The GNU Debugger (libgdb.a)
Closes: 346409 568489 569551 570875 571132
Changes: 
 gdb (7.1-1) unstable; urgency=low
 .
   * New upstream release, including:
     - PIE support (Closes: #346409).
     - C++ improvements, including static_cast<> et al, namespace imports,
       and bug fixes in printing virtual base classes.
     - Multi-program debugging.  One GDB can now debug multiple programs
       at the same time.
     - Python scripting improvements, including gdb.parse_and_eval.
     - Updated MIPS Linux signal frame layout (Closes: #570875).
     - No internal error stepping over _dl_debug_state (Closes: #569551).
   * Update to Standards-Version: 3.8.4 (no changes required).
   * Include more relevant (and smaller) docs in the gdbserver package
     (Closes: #571132).
   * Do not duplicate documentation in gdb64, gdb-source, and libgdb-dev.
   * Fix crash when switching into TUI mode (Closes: #568489).
Checksums-Sha1: 
 d19b7407bb17c2c4362fbbdb0e4ca3276c7e9a84 1902 gdb_7.1-1.dsc
 61fc787f4939978d0b935732e5a19444d35eaea4 17505683 gdb_7.1.orig.tar.bz2
 edd3dab1f3bb73fc34f24376be49fc536b9fc908 28049 gdb_7.1-1.debian.tar.gz
 2cf8ce074c409ab80b4739681ed170e17d810cb5 17662364 gdb-source_7.1-1_all.deb
 32803fbd4d82ba72652c6d42365aa796d60b1cd0 2083148 gdb_7.1-1_amd64.deb
 bf4302880146e3896a1f3e6dfd42b325c9a7243d 1889396 gdb-minimal_7.1-1_amd64.deb
 ac07ba85405d3ee9c060fb5fdb919b9265bf50f8 86266 gdbserver_7.1-1_amd64.deb
 3ffeeb64a66d8c30eff92a342a49b56d1a26e3b4 2391602 libgdb-dev_7.1-1_amd64.deb
Checksums-Sha256: 
 a7baf5cd64c2ab1064d8a41a8fd565aa0784956c60b9a85ecc57665d7f057ea0 1902 
gdb_7.1-1.dsc
 1edd0e8c72ad74eca9d41a2e3891b8a8662ea88e2af2b856c43731f0f5a8bf77 17505683 
gdb_7.1.orig.tar.bz2
 24f0177644c496eeb3fb00a750fde4dd51f438e2225d9c5cdcb83d04b569ffa6 28049 
gdb_7.1-1.debian.tar.gz
 1824cceb918ce4027e1bc1438702d7cd076dcf1582dcd97cb86a7562932f4396 17662364 
gdb-source_7.1-1_all.deb
 dfa711625e88ab4011cdeff208d757b98f097552cbce6c10676029c71d6de233 2083148 
gdb_7.1-1_amd64.deb
 3d517c22bb2c956d13ad1c73a3eec0589d7774f831ea849fb620f90ee5355bec 1889396 
gdb-minimal_7.1-1_amd64.deb
 383218e9cb7d1d8665fad93066dce6049404aaf7761c9f7330533bbd90f37dbb 86266 
gdbserver_7.1-1_amd64.deb
 ef38da742109704e355fd985c2276571ab8e1103ff52db6344b20d6efe213db9 2391602 
libgdb-dev_7.1-1_amd64.deb
Files: 
 0a3f57b9f8b449864e7a7cc94806e72c 1902 devel optional gdb_7.1-1.dsc
 1d3136c8ed6e43fc3a72b3c05c9eb9e9 17505683 devel optional gdb_7.1.orig.tar.bz2
 237b992daa201f3585443c5a337ec6af 28049 devel optional gdb_7.1-1.debian.tar.gz
 20325a0f2546f7a08f3591897ac80dbe 17662364 devel optional 
gdb-source_7.1-1_all.deb
 3881a3d034db87dd5ad1de46c6c8b1a3 2083148 devel optional gdb_7.1-1_amd64.deb
 0f50ca6fdf89cd126bcbb51f9cbf4a34 1889396 devel optional 
gdb-minimal_7.1-1_amd64.deb
 ba8b7c286691b0b057bf82f00394a4ee 86266 devel optional gdbserver_7.1-1_amd64.deb
 d49e98ba048e9583cf84e37a2562104b 2391602 libdevel extra 
libgdb-dev_7.1-1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iD8DBQFLpF42bgOPXuCjg3cRAkFFAJ92k12l0K59pQrpGU8XV0UPA0KHHgCeJWx4
jGDNpFLiUmFIDloT2CVEfvM=
=oJ1S
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to