lilzz
Posts: 411
Joined: Sat Nov 30, 2013 5:27 pm

Is there a IDE debugger for Linux device driver code?

Mon Sep 29, 2014 12:50 am

If not, can I use gdb under gcc to single step linux device driver code?

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 6229
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: Is there a IDE debugger for Linux device driver code?

Mon Sep 29, 2014 1:19 am

There's kgdb, which lets you connect gdb to a running kernel. And pretty much all IDEs with debuggers are just gdb frontends. It's not easy or perfect, but it works.

Return to “General programming discussion”