Date: Sun, 17 Aug 2008 17:44:55 +0000 From: "Guillaume Ballet" <gballet@gmail.com> To: "Kostik Belousov" <kostikbel@gmail.com> Cc: freebsd-hackers@freebsd.org, Sam Leffler <sam@freebsd.org> Subject: Re: Extending the ddb command set Message-ID: <fd183dc60808171044n76e0a52die21ccf23356af7a3@mail.gmail.com> In-Reply-To: <20080817172051.GX1803@deviant.kiev.zoral.com.ua> References: <fd183dc60808160203r3d90c26dq4d282d2ef153d2db@mail.gmail.com> <48A70B37.60401@freebsd.org> <fd183dc60808171017m7eabcef2xbe1845e54cda4c99@mail.gmail.com> <20080817172051.GX1803@deviant.kiev.zoral.com.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
>> >> It is indeed doable: Here are the diffs for a first attempt at doing >> this. I am not entirely satisfied with it, though, as it does not work >> with DB_SHOW_COMMAND and the likes... Also, I have to declare a lot of >> ddb-related stuff into kern_linker.c and I don't like it. I am >> currently working at improving the whole thing, but in the mean time >> if someone wants to give it a try, comments/rants would be greatly >> appreciated. > > What about module unloading ? > Thanks for replying so quickly :) When a module is unloaded from the system, it is removed from the linker_files list and will therefore not be available anymore when walking through the module list. I have checked on my side and this is indeed what happens. If you saw some problem I didn't, would you please mind to elaborate? Guillaume
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fd183dc60808171044n76e0a52die21ccf23356af7a3>