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


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


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