single stepping

From: cfk (cfk_alter_ego_at_pacbell.net)
Date: 01/31/04


Date: Fri, 30 Jan 2004 23:17:02 GMT

Is there a way to single step through a module. I am currently studying
3c59x.c on a system with a 3Com chip. I can compile it, insmod it, rmmod it
and all of that. Unfortuately, I am a little naive when it comes to running
gdb. I can run ddd on a program, but I really dont know how to attach to a
module that has been insmod'ed and trace through its execution.

Charles



Relevant Pages

  • Migration to linux-2.6.8 from linux-2.4.26
    ... `insmod` seemed to work so I proceeded. ... `make bzImage` required that I install a new 'C' compiler. ... to compile the kernel and all the modules. ... So much for "backwards compatibility". ...
    (Linux-Kernel)
  • Re: insmod: unresolved symbols
    ... > I wrote a simple kernel module ... I usually declare ... > Module was compile ok without any errors or warnings. ... > When I try to load that module insmod show error message: ...
    (comp.os.linux.development.system)
  • Re: 3com 3c940 gigabit ethernet controller marvell
    ... Paulo Rocha wrote: ... is similar or the same to the 3COM LOM 3C940 chip I have. ... That linked page seems to indicate that you can just compile the driver ...
    (alt.os.linux.suse)
  • Re: [SLE] kernel 2.6
    ... > of services fail but at lest I can start playing with it! ... complain, but doesn't load the module, insmod module.ko doesn't find the ... faults in many init scripts ending in "respawning to fast" for all init ... values - ALT-SysRQ-B to reboot needed, even when I compile without apm ...
    (SuSE)
  • Re: another CXX question
    ... > Your replacement code may be more correct and better for the optimizer. ... > looks like that for some reason you are implementing the code in sscanf(). ... my objective is to compile ... Charles M. "Chip" Coldwell ...
    (comp.os.vms)