Please find the revised gdb 6.4 patch to solve gdb coredump when printing uninitialized Pascal strings - in attachment - .
-----Message d'origine----- De : gpc-owner@gnu.de [mailto:gpc-owner@gnu.de] De la part de Frank Heckenbach Envoyé : April 4, 2006 15:21 À : gpc@gnu.de Objet : Re: RE : RE : An other gdb useful patch
Pascal Viandier wrote:
In this case, what do you think about the message "invalid data"? If the Capacity and/or length are invalid, the string content is probably invalid too - or at least it cannot be displayed nor handled properly by the running program -.
Sounds good.
So I did: the message is "<invalid data>". I added the "<" and ">" to make it look like the other messages in the same gdb module.
Kind regards
Pascal