PR 2497
* translate.cxx (translate_pass): Don't
reset STP_STRING_SIZE if it was already defined.
Set it to 1024 by default.
+2006-04-12 Martin Hunt <hunt@redhat.com>
+ PR 2497
+ * translate.cxx (translate_pass): Don't
+ reset STP_STRING_SIZE if it was already defined.
+ Set it to 1024 by default.
+
2006-04-10 Martin Hunt <hunt@redhat.com>
* translate.cxx (visit_print_format): Call
s.op->newline() << "#endif";
// impedance mismatch
- s.op->newline() << "#define STP_STRING_SIZE MAXSTRINGLEN";
+ // STP_STRING_SIZE defines the size of the buffer
+ // used in stack traces.
+ s.op->newline() << "#ifndef STP_STRING_SIZE";
+ s.op->newline() << "#define STP_STRING_SIZE 1024";
+ s.op->newline() << "#endif";
s.op->newline() << "#define STP_NUM_STRINGS 1";
if (s.bulk_mode)