This is the mail archive of the
frysk@sourceware.org
mailing list for the frysk project.
Re: Elfutils module reporting
- From: Roland McGrath <roland at redhat dot com>
- To: Nurdin Premji <npremji at redhat dot com>
- Cc: frysk <frysk at sourceware dot org>
- Date: Mon, 16 Jul 2007 15:24:59 -0700 (PDT)
- Subject: Re: Elfutils module reporting
I knew there was a reason I wanted a user! ;-)
The reporting interface has never really been used with updates before.
It's a one-line fix.
--- libdwfl/dwfl_module.c 16e7ba3c4f28363c68c66975b4a123da1383e52a
+++ libdwfl/dwfl_module.c dbf8292265056d2e7302f58f09e72dcdac51cf8a
@@ -149,6 +149,7 @@ dwfl_report_module (Dwfl *dwfl, const ch
m->next = *tailp;
m->gc = false;
*tailp = m;
+ ++dwfl->nmodules;
return m;
}