GDB usage

Mulyadi Santosa mulyadi.santosa at gmail.com
Wed Nov 6 00:10:44 EST 2013


On Wed, Nov 6, 2013 at 1:31 AM, Anil Joshi <aj27744 at gmail.com> wrote:
> Hi All,
>
> I am all new Linux and I was trying to read Snort (http://www.snort.org/) .
> The best way to read it is through GDB debugger.
> The problem that i am facing is :
> 1> It has so many files i don't know where is the start function,how to find
> out that?
> 2> how to put the complete software in gdb,Please guide.

This is a kernel related list, so please find more appropriate forum
to discuss that matter.

Hint: compile snort with gcc -g or similar, then run it inside gdb.
Few "next" and "step" should brought you to "main()" or similar
function.


-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com



More information about the Kernelnewbies mailing list