This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/18436] Can't print dynamically allocated global array
- From: "stanton at haas dot berkeley.edu" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Wed, 20 May 2015 18:18:21 +0000
- Subject: [Bug gdb/18436] Can't print dynamically allocated global array
- Auto-submitted: auto-generated
- References: <bug-18436-4717 at http dot sourceware dot org/bugzilla/>
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.