public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug tdep/31089] New: [gdb/tdep, arm] FAIL: gdb.base/longjmp-until-in-main.exp: until $line, in main
@ 2023-11-27 17:00 vries at gcc dot gnu.org
  0 siblings, 0 replies; only message in thread
From: vries at gcc dot gnu.org @ 2023-11-27 17:00 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 31089
           Summary: [gdb/tdep, arm] FAIL:
                    gdb.base/longjmp-until-in-main.exp: until $line, in
                    main
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: tdep
          Assignee: unassigned at sourceware dot org
          Reporter: vries at gcc dot gnu.org
  Target Milestone: ---

On a pinebook, I ran into:
...
(gdb) until 33^M
Warning:^M
Cannot insert breakpoint 0.^M
Cannot access memory at address 0x0^M
^M
0xf76d57e8 in siglongjmp () from /lib/arm-linux-gnueabihf/libc.so.6^M
(gdb) FAIL: gdb.base/longjmp-until-in-main.exp: until $line, in main
...

This is a partly a duplicate of PR26967, in the sense that the longjmp target
is mangled.

But there is another problem: it's read from the wrong offset (hence address
0x0).  

The tdep->jb_pc value is 9, but the actual value seems to be 1.  See
./sysdeps/arm/setjmp.S from glibc.

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-11-27 17:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-27 17:00 [Bug tdep/31089] New: [gdb/tdep, arm] FAIL: gdb.base/longjmp-until-in-main.exp: until $line, in main vries at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).