NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-sparc/57337: gdb completely broken on sparc



The following reply was made to PR port-sparc/57337; it has been noted by GNATS.

From: Valery Ushakov <uwe%stderr.spb.ru@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: matthew green <mrg%eterna.com.au@localhost>
Subject: Re: port-sparc/57337: gdb completely broken on sparc
Date: Mon, 10 Apr 2023 14:52:55 +0300

 Ah, we quote different parts of "info reg".  I also get 
 
 (gdb) i r
 g0             0x0                 0
 g1             0x64                100
 g2             0x1                 1
 g3             0x0                 0
 g4             0xe5ea4acc          -437630260
 g5             0xe5ed4a90          -437433712
 g6             0x0                 0
 g7             0xe5ec6b58          -437490856
 ...
 
 for the inital breakpoint, but, significantly, it's the locals and
 inputs that are all messed up.  The static example you quote most
 likely fails for the very same reason, b/c you get junk instead of
 saved return address in %i7 (after window rotation), so it cannot do
 the proper backtrace.
 
 -uwe
 


Home | Main Index | Thread Index | Old Index