On Wed, Nov 6, 2013 at 1:31 AM, Anil Joshi <[email protected]> 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

_______________________________________________
Kernelnewbies mailing list
[email protected]
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
  • GDB usage Anil Joshi
    • Re: GDB usage Mulyadi Santosa

Reply via email to