lkcd
[Top] [All Lists]

dump_configure_header called twice ?!

To: yakker@xxxxxxxxxxxxxx
Subject: dump_configure_header called twice ?!
From: vamsi_krishna@xxxxxxxxxx
Date: Wed, 12 Sep 2001 19:10:19 +0530
Cc: lkcd@xxxxxxxxxxx
Sender: owner-lkcd@xxxxxxxxxxx
Matt,

I am trying to figure out why dump_configure_header is called twice, once
from dump_execute_memdump and then from dump_execute (after the call to
dump_execute_memdump). It is not clear to me what could have changed in the
meantime.

Another question is regarding the x86 specific code in dump_execute to
capture esp and eip one more time at the end. AFAIU, if we don't do this,
the backtrace should show only untill the last time dump_configure_header
is called, as the comment there says. I would think calling
dump_configure_header once, at the top of dump_execute should do. Do you
see any problem with this?

Thanks, Vamsi.

Vamsi Krishna S.
Linux Technology Center,
IBM Software Lab, Bangalore.
Ph: +91 80 5262355 Extn: 3959
Internet: vamsi_krishna@xxxxxxxxxx



<Prev in Thread] Current Thread [Next in Thread>