This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug gdb/20057] New: Internal error on trying to set {char[]}$pc="string"


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]