Hello hackers,
I sent a patch some time ago, allowing modules to extend the ddb
command set. I just realized the link I provided then was in French so
that might have discouraged people from going any further. I have
therefore posted it here. Also, since I would like this patch to be
committed at
On Mon, Aug 18, 2008 at 2:02 PM, John Baldwin [EMAIL PROTECTED] wrote:
(snip)
A simpler approach is probably to make DB_COMMAND() use a SYSINIT to register
new functions instead of teaching DDB about that linker set. You just need
to write a shared register_command() function (and a
On Sun, Aug 17, 2008 at 6:23 PM, Sam Leffler [EMAIL PROTECTED] wrote:
(snip)
Last I looked at this I was convinced it could be done using SYSINIT's and
the existing mechanisms for adding ddb cmds. I don't think you need to
modify the linker or ddb. Not sure if you looked sys/module.h and/or
On Sunday 17 August 2008 01:17:54 pm Guillaume Ballet wrote:
On Sat, Aug 16, 2008 at 5:15 PM, Sam Leffler [EMAIL PROTECTED] wrote:
Guillaume Ballet wrote:
Hello hackers,
I am currently working on a small project and would like to add a few
commands to the set that is available in ddb.
On Sat, Aug 16, 2008 at 5:15 PM, Sam Leffler [EMAIL PROTECTED] wrote:
Guillaume Ballet wrote:
Hello hackers,
I am currently working on a small project and would like to add a few
commands to the set that is available in ddb.
I found that very interesting albeit succinct presentation:
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
On Sun, Aug 17, 2008 at 05:17:54PM +, Guillaume Ballet wrote:
On Sat, Aug 16, 2008 at 5:15 PM, Sam Leffler [EMAIL PROTECTED] wrote:
Guillaume Ballet wrote:
Hello hackers,
I am currently working on a small project and would like to add a few
commands to the set that is available
Guillaume Ballet wrote:
On Sat, Aug 16, 2008 at 5:15 PM, Sam Leffler [EMAIL PROTECTED] wrote:
Guillaume Ballet wrote:
Hello hackers,
I am currently working on a small project and would like to add a few
commands to the set that is available in ddb.
I found that very interesting
Hello hackers,
I am currently working on a small project and would like to add a few
commands to the set that is available in ddb.
I found that very interesting albeit succinct presentation:
Guillaume Ballet wrote:
Hello hackers,
I am currently working on a small project and would like to add a few
commands to the set that is available in ddb.
I found that very interesting albeit succinct presentation:
10 matches
Mail list logo