This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: debugging
- From: Andrew Pinski <pinskia at gmail dot com>
- To: Mike Stump <mikestump at comcast dot net>
- Cc: GCC Development <gcc at gcc dot gnu dot org>
- Date: Tue, 22 Mar 2011 15:19:15 -0700
- Subject: Re: debugging
- References: <3642E6E3-8DDE-4D23-922B-B6B8262D27B5@comcast.net>
On Tue, Mar 22, 2011 at 3:15 PM, Mike Stump <mikestump@comcast.net> wrote:
> So, I was trying to debug some stuff with the top of the tree on a suse linux x86_64 box and got:
>
> (gdb) p mode
> Unhandled dwarf expression opcode 0xf3
>
> which I don't find entertaining. ÂI know I _could_ install a new gdb, and most likely this would fix the problem, but, I don't want to do that right now. ÂI think gcc should avoid codes that gdb doesn't support. ÂI rebuilt with --O0, just to try and avoid the issue, and that didn't work either. Â:-(
I think we already documented the required version of gdb. The newer
dwarf code is needed to produce a more correct value of mode at the
point where you tried to print mode. So you are stuck in a mess if
you disable that extension so you will not get the correct value of
mode at the point you are printing it out at or you have to download a
newer version of gdb. I think most people would like to have correct
printing and downloading a new version of gdb is just something people
can go and do.
Thanks
Andrew Pinski