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 exp/21162] GDB internal error with unbounded array typecast expression


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.

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