Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Unhappy debugging the kernel

    I want to know how to debug the kernel while my client and server program are running .Actually i want to know the flow of the socket functions when my server create the socket ,binds to the socket again accept the request from the client etc. I want to check the values of the variable in the socket.c file of kernel when my client and server are running
    Please help me out.....

  2. #2
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    3rd rock from sun - Often seen near moon
    I'm not sure about this question - Do you want start a C program and trace its stuff system calls and find kernel code .If so then User Mode Linux ,may be helpful.
    But If you want to check your C program alone (like checking variables in server/client) then GDB should be enough.
    First they ignore you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    FOSS India Award winning ext3fs Undelete tool Online Linux Terminal

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts