|| at Mar 18, 2013 at 8:15 pm
On Tue, Mar 19, 2013 at 3:59 AM, Russ Cox wrote: On Mon, Mar 18, 2013 at 3:56 PM, minux wrote:
On Tue, Mar 19, 2013 at 3:38 AM, wrote:
While we're here, downgrade DWARF to version 2.
We're not using any version 3 features, and OS X gdb
only supports version 2.
so we fully support gdb 6.x now?
i don't know about that. i do know that i can run
on os x and it works out of the box now.
when i do this on a newly compiled cmd/go, i got:
(gdb) b 'main.main'
Die: DW_TAG_unspecified_type (abbrev = 10, offset = 47079)
has children: FALSE
DW_AT_name (DW_FORM_string) string: "void"
Dwarf Error: Cannot find type of die [in module /Users/minux/go/go2.hg/bin/go]
i'm still using OS X 10.6 with an old version of xcode.
$ /usr/bin/gdb -v
GNU gdb 6.3.50-20050815 (Apple version gdb-1515) (Sat Jan 15 08:33:48 UTC 2011)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "x86_64-apple-darwin".
if the problem is not apparent, it's ok, and i will try to figure it
out myself (perhaps I
just need to upgrade xcode)
no idea. i rarely use the functionality in the gdb plugin. i just set
breakpoints and examine memory.
ok, so we probably shouldn't mention gdb 6.x support in the docs.
You received this message because you are subscribed to the Google Groups "golang-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firstname.lastname@example.org.
For more options, visit https://groups.google.com/groups/opt_out.