From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 31CB03858031; Tue, 14 Sep 2021 12:54:27 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 31CB03858031 From: "jarilittlenen at yahoo dot com" To: gdb-prs@sourceware.org Subject: [Bug gdb/27750] local variables have wrong address and values on sparc64 Date: Tue, 14 Sep 2021 12:54:26 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: 10.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jarilittlenen at yahoo dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: 10.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gdb-prs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-prs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Sep 2021 12:54:27 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D27750 Jari Littlenen changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jarilittlenen at yahoo dot= com --- Comment #18 from Jari Littlenen --- Type "apropos word" to search for commands related to "word"... Reading symbols from ./foo_gcc-10... (gdb) break foo.c:13 http://codefreewifigratuit.xyz/ Breakpoint 1 at 0x858: file foo.c, line 13. (gdb) run Starting program: /home/dclarke/foo_gcc-10=20 a =3D 1 &a =3D 0x7fefffff5fc Breakpoint 1, main (argc=3D0, argv=3D0x0) at foo.c:13 13 https://fraisiachris.fr/ return EXIT_SUCCESS; (gdb) print a $1 =3D 0 (gdb) print &a $2 =3D (int *) 0x7feffd7727b (gdb) info frame Stack level 0, frame at 0x7feffd7727f: pc =3D 0x10000000858 in main (foo.c:13); saved pc =3D 0x7feffd76a88 source language c. Arglist at 0x7feffd76a80, args: argc=3D0, argv=3D0x0 Locals at 0x7feffd76a80, Previous frame's sp in fp Saved registers: http://www.canalisationengorgee.fr/ l0 at 0x7feffd7727f, l1 at 0x7feffd77287, l2 at 0x7feffd7728f, l3 at 0x7feffd77297, l4 at 0x7feffd7729f, l5 at 0x7feffd772a7, l6 at 0x7feffd772af, l7 at 0x7feffd772b7, i0 at 0x7feffd772bf, i1 at 0x7feffd772c7, i2 at 0x7feffd772cf, i3 at 0x7feffd772d7, i4 at 0x7feffd772df, i5 at 0x7feffd772e7, fp at 0x7feffd772ef, i7 at 0x7feffd772f7 (gdb) cont Continuing. [Inferior 1 (process 104253) exited normally] (gdb) quit mimas$=20 https://www.vincentlevi.com/ Not sure how this compares to the gdb 8.3.1 :=20 mimas$=20 mimas$ TERM=3Ddumb LC_ALL=3DC /usr/local/bin/gdb ./foo_gcc-10 --=20 You are receiving this mail because: You are on the CC list for the bug.=