Re: GDB usage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Nov 6, 2013 at 1:31 AM, Anil Joshi <aj27744@xxxxxxxxx> 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
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux