grub-devel.gnu.org archive mirror
 help / color / mirror / Atom feed
* How to enable MM debugging?
@ 2016-11-29 13:52 Stanislav Kholmanskikh
  2016-11-29 14:17 ` Andrei Borzenkov
  0 siblings, 1 reply; 4+ messages in thread
From: Stanislav Kholmanskikh @ 2016-11-29 13:52 UTC (permalink / raw)
  To: grub-devel

Hi!

Does anybody use MM debugging? If so, what is the recommended/working
way of enabling it?

These steps do not work:

1. Run ./configure with '--enable-mm-debug'. It reports:

With memory debugging: Yes

2. Then build and install the binaries, and install the boot loader

3. Then set 'grub_mm_debug=1' in the grub's prompt.

grub> set grub_mm_debug=1
grub> insmod ofnet
grub>

During initialization, ofnet calls grub_malloc(), so I expect some debug
messages to be printed on 'insmod ofnet'.

Am I missing something, or is it a bug?

Thanks.




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-11-29 17:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-29 13:52 How to enable MM debugging? Stanislav Kholmanskikh
2016-11-29 14:17 ` Andrei Borzenkov
2016-11-29 14:38   ` Stanislav Kholmanskikh
2016-11-29 17:11     ` Andrei Borzenkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).