This is the mail archive of the gdb-patches@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: [patch] Fix SIGSEGV in gdb when printing ctor of non-virtual class


>>>>> "Aleksandar" == Aleksandar Ristovski <aristovski@qnx.com> writes:

Aleksandar> An old patch. Gdb still SIGSEGV on this testcase, but I
Aleksandar> haven't got any replies.

Aleksandar> +      /* Constructors of non-virtual classes will not have block.  */

This seems weird.  Is this a gcc bug or something?

Should this somehow be fixed elsewhere?  I don't know.

Aleksandar> +	  release_value (v);

I don't think you want release_value here.  You can just drop the
value, it will automatically be freed later.

Tom


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