LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 09-29-2008, 02:58 AM   #1
debdut
LQ Newbie
 
Registered: Sep 2008
Location: California, USA
Distribution: Generally Redhat
Posts: 2

Rep: Reputation: 0
Breakpoint in 2.6.26.5 Kernel module


Hi,

I am trying to put breakpoint in the module initialization code of our
networking driver. Since this is PCIe device, pci_probe routine gets
called during module insertion (explicit insmod by user). I am not sure
how I can break into this routine for 2.6 kernels. Also at this point
/proc/modules or /sys/modules/<module_name>/.text is not updated. So even
if it possible to break in how can I get the symbols ?

Also I do not want to call kgdb_breakpoints() explicitly from my code,
because this may not work for slightly older version of the 2.6 kernels.

Any suggestions / help is welcome.

Thanks.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Breakpoint in 2.6.26.5 Kernel module debdut Linux - General 1 09-30-2008 08:56 AM
[Error] Kernel Module : No kernel module build environment saman007uk Debian 7 09-09-2006 06:34 PM
gdb breakpoint doesnt work? Thinking Programming 3 09-29-2005 06:36 AM
Trace/breakpoint trap received when running glxgears QtCoder Linux - Software 0 01-27-2004 01:21 PM
kernel module ignorant newbie looking for any one with kernel module knowledge cpoet Slackware 4 11-24-2003 09:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 06:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration