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/18436] Can't print dynamically allocated global array


https://sourceware.org/bugzilla/show_bug.cgi?id=18436

--- Comment #8 from stanton at haas dot berkeley.edu ---
Unfortunately, the workaround below doesnât work on my system:

(gdb) print vec[0]
cannot subscript something of type `<data variable, no debug info>'
(gdb) print ((double*)vec)[0]
Cannot access memory at address 0x200000

I just installed MacPorts gcc 5.1.0, and also hand-compiled gdb 7.9.1. It
didnât help.

-- 
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]