This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug exp/21162] New: GDB internal error with unbounded array typecast expression
- From: "arnez at linux dot vnet.ibm.com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Tue, 14 Feb 2017 17:30:33 +0000
- Subject: [Bug exp/21162] New: GDB internal error with unbounded array typecast expression
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=21162
Bug ID: 21162
Summary: GDB internal error with unbounded array typecast
expression
Product: gdb
Version: HEAD
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: exp
Assignee: unassigned at sourceware dot org
Reporter: arnez at linux dot vnet.ibm.com
Target Milestone: ---
GDB crashes with internal error when trying to evaluate the following
expression:
(gdb) p ((char*)(short[]){1})[1]
/home/arnez/src/binutils-gdb/gdb/gdbtypes.c:4722: internal-error: type*
copy_type(const type*): Assertion `TYPE_OBJFILE_OWNED (type)' failed.
--
You are receiving this mail because:
You are on the CC list for the bug.