Bug#441976: gdb refuses to debug code compiled on x86_64 with gcc because of OS specific section `.gnu.hash'

2007-09-12 Thread Daniel Jacobowitz
severity 441976 grave
merge 441976 425838
thanks

On Wed, Sep 12, 2007 at 12:48:45PM +0200, Dalibor Topic wrote:
> Searching for .gnu.hash in the BTS turns up another, unrelated bug report 
> also involving 
> use of gdb on x86_64. I assume it has been fixed in the 6.6 version, but that 
> one is still
> in unstable, so I'd like to document the bug for the version in testing.

This report is the same as #425838, which is tagged lenny.

-- 
Daniel Jacobowitz
CodeSourcery



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#441976: gdb refuses to debug code compiled on x86_64 with gcc because of OS specific section `.gnu.hash'

2007-09-12 Thread Dalibor Topic
Package: gdb
Version: 6.4.90.dfsg-1
Severity: important


When trying to debug Kaffe on x86_64, I ran into the following problem:

[EMAIL PROTECTED]:~/Desktop/kaffe/test/awt/WidgetsDemo$ KAFFE_DEBUG=gdb 
/tmp/kafff/bin/kaffe
GNU gdb 6.4.90-debian
Copyright (C) 2006 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 "x86_64-linux-gnu"...BFD: 
/tmp/kafff/jre/bin/kaffe-bin: don't know how to handle OS 
specific section `.gnu.hash' [0x6ff6]
"/tmp/kafff/jre/bin/kaffe-bin": not in executable format: File format not 
recognized

(gdb) run
Starting program:  
No executable file specified.
Use the "file" or "exec-file" command.
(gdb) 

Searching for .gnu.hash in the BTS turns up another, unrelated bug report also 
involving 
use of gdb on x86_64. I assume it has been fixed in the 6.6 version, but that 
one is still
in unstable, so I'd like to document the bug for the version in testing.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

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

Versions of packages gdb depends on:
ii  libc6 2.6.1-1GNU C Library: Shared libraries
ii  libncurses5   5.6+20070825-1 Shared libraries for terminal hand
ii  libreadline5  5.2-3  GNU readline and history libraries

gdb recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]