This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug exp/21162] GDB internal error with unbounded array typecast expression
- From: "qiyao at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Wed, 15 Feb 2017 08:51:34 +0000
- Subject: [Bug exp/21162] GDB internal error with unbounded array typecast expression
- Auto-submitted: auto-generated
- References: <bug-21162-4717@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=21162
--- Comment #2 from Yao Qi <qiyao at gcc dot gnu.org> ---
(In reply to Joel Brobecker from comment #1)
> Is this a regression compared to 7.12?
No, 7.12.1 and 7.11.1 fails too.
(gdb) run
Starting program: /home/qiyao/source/gdb-7.11/build-7.11.1/gdb/gdb
Breakpoint 1, main (argc=1, argv=0x7fffffffe648) at
../../gdb-7.11.1/gdb/gdb.c:25
25 {
(gdb) p ((char*)(short[]){1})[1]
Python Exception <type 'exceptions.NameError'> Installation error:
gdb.execute_unwinders function is missing:
../../gdb-7.11.1/gdb/gdbtypes.c:4575: internal-error: copy_type: Assertion
`TYPE_OBJFILE_OWNED (type)' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n)
--
You are receiving this mail because:
You are on the CC list for the bug.