Bug#516571: gdb on SPARC fails with regcache.c:175: internal-error: register_size: assertion failure

2009-02-23 Thread Henrik Størner
Hi Daniel,

thanks for your prompt response.

On Sun, Feb 22, 2009 at 09:50:32AM -0500, Daniel Jacobowitz wrote:
 On Sun, Feb 22, 2009 at 01:14:12PM +0100, Henrik Stoerner wrote:
  Package: gdb
  Version: 6.4.90.dfsg-1
  Severity: normal
  
  While trying to debug a program on Debian/SPARC I loaded the binary and
  a core-dump into gdb. A simple bt then caused the following error
  (after displaying part of the backtrace, but not all of it):
 
 I believe this is fixed in lenny already.

After your mail I took the time to upgrade to Lenny, and using the
same executable+core file worked fine - except all the libraries had
changed, of course ... 

But I think you're right that it is fixed in Lenny, and it is ok with 
me if you close this bug.


Regards,
Henrik




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



Bug#516571: gdb on SPARC fails with regcache.c:175: internal-error: register_size: assertion failure

2009-02-22 Thread Henrik Stoerner
Package: gdb
Version: 6.4.90.dfsg-1
Severity: normal

While trying to debug a program on Debian/SPARC I loaded the binary and
a core-dump into gdb. A simple bt then caused the following error
(after displaying part of the backtrace, but not all of it):

/build/buildd/gdb-6.4.90.dfsg/gdb/regcache.c:175: internal-error: 
register_size: Assertion `regnum = 0  regnum  (NUM_REGS + NUM_PSEUDO_REGS)' 
failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n)

I have seen this happen with different binaries and core-files.
A sample set of input files can be provided.

-- System Information:
Debian Release: 4.0
  APT prefers oldstable
  APT policy: (500, 'oldstable')
Architecture: sparc (sparc64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-sparc64
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages gdb depends on:
ii  libc6  2.3.6.ds1-13etch9 GNU C Library: Shared libraries
ii  libncurses55.5-5 Shared libraries for terminal hand
ii  libreadline5   5.2-2 GNU readline and history libraries

gdb recommends no packages.

-- no debconf information



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



Bug#516571: gdb on SPARC fails with regcache.c:175: internal-error: register_size: assertion failure

2009-02-22 Thread Daniel Jacobowitz
On Sun, Feb 22, 2009 at 01:14:12PM +0100, Henrik Stoerner wrote:
 Package: gdb
 Version: 6.4.90.dfsg-1
 Severity: normal
 
 While trying to debug a program on Debian/SPARC I loaded the binary and
 a core-dump into gdb. A simple bt then caused the following error
 (after displaying part of the backtrace, but not all of it):

I believe this is fixed in lenny already.

-- 
Daniel Jacobowitz
CodeSourcery



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