Hi, I found another couple of instances of unsafe alloca usage in gdb, both to do with trying to allocate memory on stack for a baseclass type. The fix is on the lines of what was done in the following changeset: http://sourceware.org/ml/gdb-cvs/2012-07/msg00044.html I have verified that the fix does not cause any regressions on x86_64. OK to commit? Regards, Siddhesh gdb/ChangeLog: 2012-07-23 Siddhesh Poyarekar * p-valprint.c (pascal_object_print_value): Replace potentially unsafe alloca with xmalloc/xfree. * valops.c (search_struct_method): Likewise.