Re: [PATCH 1/3] Fix demangler testsuite crashes with CP_DEMANGLE_DEBUG defined

2014-05-28 Thread Pedro Alves
+gdb-patches On 05/27/2014 02:56 PM, Ian Lance Taylor wrote: > On Tue, May 27, 2014 at 4:57 AM, Pedro Alves wrote: >> >> libiberty/ >> 2014-05-26 Pedro Alves >> >> * cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_FUNCTION_PARAM >> and DEMANGLE_COMPONENT_NUMBER. > > This is

Re: [PATCH 1/3] Fix demangler testsuite crashes with CP_DEMANGLE_DEBUG defined

2014-05-27 Thread Ian Lance Taylor
On Tue, May 27, 2014 at 4:57 AM, Pedro Alves wrote: > > libiberty/ > 2014-05-26 Pedro Alves > > * cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_FUNCTION_PARAM > and DEMANGLE_COMPONENT_NUMBER. This is OK. Thanks. Ian

[PATCH 1/3] Fix demangler testsuite crashes with CP_DEMANGLE_DEBUG defined

2014-05-27 Thread Pedro Alves
I tried running the demangler's testsuite with CP_DEMANGLE_DEBUG defined, but it crashed, with: Program received signal SIGSEGV, Segmentation fault. 0x0040a8c3 in d_dump (dc=0x1, indent=12) at ../../src/libiberty/cp-demangle.c:567 567 switch (dc->type) (gdb) bt 3 #0 0x000