This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: debugging
- From: Ian Lance Taylor <iant at google 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:29:26 -0700
- Subject: Re: debugging
- References: <3642E6E3-8DDE-4D23-922B-B6B8262D27B5@comcast.net>
Mike Stump <mikestump@comcast.net> writes:
> 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 haven't looked, but you should be able to use, e.g., -gdwarf-2
-gstrict-dwarf. If that doesn't work then something has gone wrong.
Ian