title: Cannot step into system call source code
body: <p>I have compiled my freebsd libc source with -g option, so that now I can step in into libc functions.  </p>
  
  <p>But I am having trouble stepping into system calls code. I have compiled the freebsd kernel source code with -g. On setting the breakpoint, gdb informs about breakpoint on .S files. On hitting the breakpoint, gdb is unable to step into the syscall source code.  </p>
  
  <p>Also, I have tried: gdb$catch syscall open  </p>
  
  <p>but this is also not working.  </p>
  
  <p>Can you please suggest something?</p>
  
  <p>Thanks.</p>