public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug tdep/17379] New: PowerPC: internal-error: value_of_register_lazy: Assertion `frame_id_p (get_frame_id (frame))' failed.
@ 2014-09-11 20:55 emachado at sourceware dot org
  2014-09-12  9:17 ` [Bug tdep/17379] " palves at redhat dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: emachado at sourceware dot org @ 2014-09-11 20:55 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 17379
           Summary: PowerPC: internal-error: value_of_register_lazy:
                    Assertion `frame_id_p (get_frame_id (frame))' failed.
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: tdep
          Assignee: emachado at sourceware dot org
          Reporter: emachado at sourceware dot org
                CC: uweigand at sourceware dot org

GDB throws this internal-error when debugging a piece of code in ppc64 (also
reproducible in ppc64le):

$ cat bug.S 
#include <ppc-asm.h>
FUNC_START(main)
        li      sp,0
        mtlr    sp
        blr
FUNC_END(main)

$ gcc -g bug.S -o bug

$ ~/gdb/binutils-gdb.git/build.orig/gdb/gdb ./bug 
GNU gdb (GDB) 7.8.50.20140911-cvs
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "powerpc64-unknown-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./bug...done.
(gdb) run
Starting program: /home/emachado/gdb/bugs/bug 

Program received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
(gdb) info registers 
../../gdb/findvar.c:290: internal-error: value_of_register_lazy: Assertion
`frame_id_p (get_frame_id (frame))' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n) y

This is a bug, please report it.  For instructions, see:
<http://www.gnu.org/software/gdb/bugs/>.

../../gdb/findvar.c:290: internal-error: value_of_register_lazy: Assertion
`frame_id_p (get_frame_id (frame))' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Create a core file of GDB? (y or n) n

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-09-03 15:05 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-11 20:55 [Bug tdep/17379] New: PowerPC: internal-error: value_of_register_lazy: Assertion `frame_id_p (get_frame_id (frame))' failed emachado at sourceware dot org
2014-09-12  9:17 ` [Bug tdep/17379] " palves at redhat dot com
2014-09-12  9:28 ` uweigand at gcc dot gnu.org
2014-09-12 10:01 ` palves at redhat dot com
2014-09-12 12:29 ` cvs-commit at gcc dot gnu.org
2014-09-12 13:04 ` emachado at sourceware dot org
2021-09-03 15:05 ` ovilewade9 at gmail dot com

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).