This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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]

Re: debugging


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]