This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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: python pretty print gdb script error on map


On 19 June 2010 11:37, Jonathan Wakely wrote:
> On 19 June 2010 03:40, asmwarrior wrote:
>>
>> I have a MinGW version of GCC 4.4.4 and GCC 4.5. The stdlibc++ python
>> scirpts (show the map content) works fine with MinGW 4.4.4. and Failed with
>> MinGW 4.5, so, I guess the internal implementation of GCC has changed
>> between versions.
>
> I don't think it has, but I can reproduce the error with 4.5, but not
> with 4.6 or Fedora's 4.4

I think this is due to something in gcc, not libstdc++ or the
printers.py script, maybe a change in debug info.
I've CC'd some gdb devs, to find out what causes the error:

RuntimeError: Attempt to dereference a generic pointer.

Tom, Phil, the code at
http://gcc.gnu.org/ml/libstdc++/2010-06/msg00128.html causes an error
in the libstdcxx/v6/printers.py script when compiled with gcc 4.5, but
not other versions.  Any ideas?


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