This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/20057] New: Internal error on trying to set {char[]}$pc="string"
- From: "b7.10110111 at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Sun, 08 May 2016 10:26:04 +0000
- Subject: [Bug gdb/20057] New: Internal error on trying to set {char[]}$pc="string"
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=20057
Bug ID: 20057
Summary: Internal error on trying to set {char[]}$pc="string"
Product: gdb
Version: 7.10
Status: NEW
Severity: normal
Priority: P2
Component: gdb
Assignee: unassigned at sourceware dot org
Reporter: b7.10110111 at gmail dot com
Target Milestone: ---
Here's the full transcript of a debugging session:
gdb /bin/true -ex 'b main' -ex r
Reading symbols from /bin/true...(no debugging symbols found)...done.
Breakpoint 1 at 0x8048b60
Starting program: /bin/true
Breakpoint 1, 0x08048b60 in main ()
(gdb) set {char[]}$pc="hello"
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)
This happens with binutils-gdb compiled with config parameters:
./configure --prefix=/usr --with-python
On Ubuntu 14.04-supplied version 7.7.1 GDB instead just says "Too many array
elements" and doesn't get the assertion failure.
--
You are receiving this mail because:
You are on the CC list for the bug.