Your message dated Mon, 03 Dec 2007 17:47:05 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#254270: fixed in gdb 6.7.1-1
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: gdb
Severity: normal
Tags: patch

This patch enables building a 64-bit gdb (gdb64) for architectures that
support a default 32-bit userland, with native 64-bit userland overlay
(e.g. sparc64, powerpc64 and others).

This patch specifically enables sparc gdb64, since that's all I can
test. Other architectures would simply have to add their arch to the
gdb64 package in debian/control (and in special cases maybe redefine
some of the 64 build flags, but the defaults should work in all cases).

Please apply. Currently we have no way to debug 64-bit apps in
debian-sparc.

-- 
Debian     - http://www.debian.org/
Linux 1394 - http://www.linux1394.org/
Subversion - http://subversion.tigris.org/
WatchGuard - http://www.watchguard.com/
diff -urN gdb-6.1.orig/debian/control gdb-6.1/debian/control
--- gdb-6.1.orig/debian/control 2004-06-13 17:23:04.092347200 -0400
+++ gdb-6.1/debian/control      2004-06-13 17:52:28.505115688 -0400
@@ -17,3 +17,14 @@
  where errors occurred. Currently, it works for C, C++, Fortran
  Modula 2 and Java programs. A must-have for any serious
  programmer.
+
+Package: gdb64
+Architecture: sparc
+Section: devel
+Depends: ${shlibs:Depends}, gdb
+Description: The GNU Debugger (64-bit)
+ GDB is a source-level debugger, capable of breaking programs at
+ any specific line, displaying variable values, and determining
+ where errors occurred. Currently, it works for C, C++, Fortran
+ Modula 2 and Java programs. A must-have for any serious
+ programmer.
diff -urN gdb-6.1.orig/debian/gdb.install gdb-6.1/debian/gdb.install
--- gdb-6.1.orig/debian/gdb.install     1969-12-31 19:00:00.000000000 -0500
+++ gdb-6.1/debian/gdb.install  2004-06-13 19:19:42.390444176 -0400
@@ -0,0 +1,2 @@
+usr/bin/gdb
+usr/bin/gdbtui
diff -urN gdb-6.1.orig/debian/rules gdb-6.1/debian/rules
--- gdb-6.1.orig/debian/rules   2004-06-13 17:23:04.106345072 -0400
+++ gdb-6.1/debian/rules        2004-06-13 19:46:03.989004648 -0400
@@ -1,6 +1,9 @@
 #!/usr/bin/make -f
 
 DEB_BUILDDIR := $(shell pwd)/objdir
+DEB_DH_INSTALL_SOURCEDIR := $(shell pwd)/debian/tmp
+
+BUILDDIR64 = objdir64
 
 # This implements the .deb package creation using debhelper.
 include /usr/share/cdbs/1/rules/debhelper.mk
@@ -22,6 +25,10 @@
 DEB_HOST_GNU_CPU := $(shell dpkg-architecture -qDEB_HOST_GNU_CPU)
 DEB_HOST_GNU_TYPE := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
 
+CC64 = gcc -m64
+CFLAGS64 = -O2 -g
+HOST64 = $(DEB_HOST_GNU_CPU)64-$(DEB_HOST_GNU_SYSTEM)
+
 run_tests := yes
 run_thread_tests := yes
 
@@ -54,6 +61,18 @@
 build/gdb:: check-stamp
        $(MAKE) -C objdir/gdb/doc refcard.dvi refcard.ps
 
+build/gdb64:: build64-stamp
+
+build64-stamp:
+       mkdir -p $(BUILDDIR64)
+       cd $(BUILDDIR64) && CC="$(CC64)" CFLAGS="$(CFLAGS64)" AR=ar \
+               ../configure --build=$(HOST64) --disable-gdbtk \
+                       --disable-shared --enable-tui $(HOST64)
+
+       cd $(BUILDDIR64) && $(MAKE)
+
+       touch $@
+
 check-stamp:
 ifeq ($(run_tests),yes)
 ifeq ($(run_thread_tests),no)
@@ -69,7 +88,7 @@
        touch $@
 
 clean::
-       rm -rf objdir
+       rm -rf objdir $(BUILDDIR64)
 
        if test -f gdb/version.in.backup; then \
          mv -f gdb/version.in.backup gdb/version.in; \
@@ -79,31 +98,32 @@
 #      # which include .gmo files.
 #      find -type f -name '*.gmo' | xargs rm -f
 
-       rm -f check-stamp
+       rm -f check-stamp build64-stamp
 
 binary-post-install/gdb ::
-       if [ -x debian/gdb/usr/bin/run ]; then                                  
\
-               mv debian/gdb/usr/bin/run                                       
\
+       if [ -x debian/tmp/usr/bin/run ]; then                                  
\
+               mv debian/tmp/usr/bin/run                                       
\
                  debian/gdb/usr/bin/$(DEB_HOST_GNU_TYPE)-run;                  
\
-               mv debian/gdb/usr/share/man/man1/run.1                          
\
+               mv debian/tmp/usr/share/man/man1/run.1                          
\
                  debian/gdb/usr/share/man/man1/$(DEB_HOST_GNU_TYPE)-run.1;     
\
        fi
+
 ifeq ($(run_tests),yes)
        install -d debian/gdb/usr/share/doc/gdb
        install -m 644 objdir/check.log \
                debian/gdb/usr/share/doc/gdb/check.log
 endif
 
-       rm -rf debian/gdb/usr/include \
-               debian/gdb/usr/lib \
-               debian/gdb/usr/share/info/annotate.info* \
-               debian/gdb/usr/share/info/bfd.info* \
-               debian/gdb/usr/share/info/configure.info* \
-               debian/gdb/usr/share/info/mmalloc.info* \
-               debian/gdb/usr/share/info/standards.info* \
-               debian/gdb/usr/share/locale
+       dh_link -pgdb usr/share/man/man1/gdb.1 usr/share/man/man1/gdbtui.1
+
+       if test -x objdir64/gdb/gdb; then \
+         install -d debian/gdb64/usr/bin; \
+         install -s -m 755 $(BUILDDIR64)/gdb/gdb debian/gdb64/usr/bin/gdb64; \
+       fi
 
 DEB_INSTALL_DOCS_gdb = gdb/NEWS gdb/README gdb/doc/refcard.tex \
                objdir/gdb/doc/refcard.dvi objdir/gdb/doc/refcard.ps
 
 DEB_INSTALL_CHANGELOGS_gdb = gdb/ChangeLog
+
+DEB_INSTALL_MANPAGES_gdb = gdb/gdb.1

--- End Message ---
--- Begin Message ---
Source: gdb
Source-Version: 6.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_6.7.1-1.diff.gz
  to pool/main/g/gdb/gdb_6.7.1-1.diff.gz
gdb_6.7.1-1.dsc
  to pool/main/g/gdb/gdb_6.7.1-1.dsc
gdb_6.7.1-1_amd64.deb
  to pool/main/g/gdb/gdb_6.7.1-1_amd64.deb
gdb_6.7.1.orig.tar.gz
  to pool/main/g/gdb/gdb_6.7.1.orig.tar.gz



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.7
Date: Mon, 03 Dec 2007 10:12:27 -0500
Source: gdb
Binary: gdb64 gdb
Architecture: source amd64
Version: 6.7.1-1
Distribution: unstable
Urgency: low
Maintainer: Daniel Jacobowitz <[EMAIL PROTECTED]>
Changed-By: Daniel Jacobowitz <[EMAIL PROTECTED]>
Description: 
 gdb        - The GNU Debugger
Closes: 254270 414887 443080 453202
Changes: 
 gdb (6.7.1-1) unstable; urgency=low
 .
   * New upstream release.
     - Correct makeinfo version check (Closes: #453202).
   * Merge Ubuntu support for a gdb64 package (Closes: #254270).
   * Run the testsuite on all GNU/Linux platforms.
   * Remove old support for skipping thread tests.
   * Add an expat build dependency and add --with-expat.
   * Update copyright notice.
   * Do not freeze on division by zero (Closes: #414887).
   * Rewrite HPPA kernel offsets patch to support HPPA64.
   * Include Vladimir Prus's varobj fix for kdevelop (Closes: #443080).
Files: 
 23b409424b97b43e81507932ebf02867 1468 devel optional gdb_6.7.1-1.dsc
 65943c9c436e604906bf813af57248cf 18876645 devel optional gdb_6.7.1.orig.tar.gz
 c6f18e8f07a2deb7226ac10ab9389ba2 31970 devel optional gdb_6.7.1-1.diff.gz
 7b20ca9304e1ea6d9055f119d478784c 2932850 devel optional gdb_6.7.1-1_amd64.deb

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

iD8DBQFHVD8kbgOPXuCjg3cRAiM+AKCwAOi/rnHMU/wro6+YoiGfZZEm4ACgumsw
VZsBTs6TYo891PATus1VQBY=
=7O+2
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to