Commit 2cf7e0f0 by David Daney Committed by David Daney

natGCInfo.cc (nomem_handler): Use oomDumpName as dump file name base.

	* gnu/gcj/util/natGCInfo.cc (nomem_handler): Use oomDumpName as
	dump file name base.

From-SVN: r150166
parent 394a5b34
2009-07-28 David Daney <ddaney@caviumnetworks.com>
* gnu/gcj/util/natGCInfo.cc (nomem_handler): Use oomDumpName as
dump file name base.
2009-07-27 Andrew John Hughes <ahughes@redhat.com>
PR libgcj/40616
......
......@@ -407,7 +407,7 @@ nomem_handler(size_t size)
if (oomDumpName)
{
char temp[strlen(oomDumpName) + 20];
sprintf(temp, "%s%03d", temp, GC_dump_count++);
sprintf(temp, "%s%03d", oomDumpName, GC_dump_count++);
printf("nomem_handler(%zd) called\n", size);
gc_ok--;
GC_enumerator x(temp);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment