This is the mail archive of the gdb@sourceware.org mailing list for the GDB 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: gdb breaking down at printing variable


>>>>> "AndrÃ" == Andrà PÃnitz <andre.poenitz@nokia.com> writes:

AndrÃ> This is most likely http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44731 
AndrÃ> i.e. not gdb's fault.

I think there actually is a gdb bug here.  gdb should be resilient even
when the inferior's memory is trashed.

There is a known problem that lazy_string is not fully lazy: it is read
eagerly before printing.  So if you make a very large lazy string, gdb
will internal error.

This wasn't in bugzilla, so I filed:

    http://sourceware.org/bugzilla/show_bug.cgi?id=11948

Tom


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