[Bug gdb/27750] local variables have wrong address and values on sparc64

simark at simark dot ca sourceware-bugzilla@sourceware.org
Mon Apr 19 00:51:09 GMT 2021


https://sourceware.org/bugzilla/show_bug.cgi?id=27750

--- Comment #9 from Simon Marchi <simark at simark dot ca> ---
(In reply to Tom Tromey from comment #8)
> (In reply to Simon Marchi from comment #7)
> > Can you try with the latest gdb-10-branch (the soon-to-be GDB 10.2)?
> > 
> > https://sourceware.org/git/?p=binutils-gdb.git;a=shortlog;h=refs/heads/gdb-
> > 10-branch
> > 
> > I believe this is fixed there.
> 
> It sounds like you have a theory of what the problem is... ?
> If so it would be good to know, since I didn't recognize the problem.

Yes, sorry, I wrote that in a hurry.

I remembered fixing something for sparc, and indeed this commit fixes the bug
reported by Dennis for me (before that commit, I see the bug):

gdb: set current thread in sparc_{fetch,collect}_inferior_registers (PR
gdb/27147)
ffc17e2c029aea90166d16f5d49503c2c2e20982

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Gdb-prs mailing list