lkcd
[Top] [All Lists]

esp value in dump header

To: lkcd@xxxxxxxxxxx
Subject: esp value in dump header
From: rbharata@xxxxxxxxxx
Date: Tue, 26 Sep 2000 11:16:42 +0530
Sender: owner-lkcd@xxxxxxxxxxx
Hi,

While configuring the dump header when in kernel mode,
the vaule of esp is got as

     dha->dha_regs.esp = (unsigned long) (regs + 1);
      (in __dump_configure_header() in arch/i386/vmdump.c)

This doesn't give the true value of esp when crash occured,
because of which the back trace will not show the correct result in lcrash.

This will work correctly if esp is obtained as follows:
     dha->dha_regs.esp = (unsigned long) (&regs->esp);

Would you please check this?

Regards,
     Bharata

Bharata. B. Rao
Linux Technology Center,
IBM Global Services, Bangalore.

E-mail : rbharata@xxxxxxxxxx
Phone : 91-80-5262355, Extn : 2534.



<Prev in Thread] Current Thread [Next in Thread>
  • esp value in dump header, rbharata <=