This is the mail archive of the gdb-prs@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]

[Bug mi/12668] var-create crashes if pretty-printed std::stringreference is not yet initialized


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

--- Comment #2 from Anton <xgsa at yandex dot ru> 2011-06-16 08:21:49 UTC ---
Created attachment 5795
  --> http://sourceware.org/bugzilla/attachment.cgi?id=5795
Possible fix (maybe hack, requires review)

This bug annoying me a few times a day (but I am forced to use gdb-HEAD because
of introduced gdb-index feature). So I have tried to fix it. I'm not very
acquaint with gdb internals, so it may be a hack but not a correct solution.
However it works fine for me and breaks nothing, so I decided to share the
patch.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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