Hello,

I was trying to debug my program with GDB, however after connecting to the 
binary, loading all the appropriate files, and running "continue", GDB just 
hangs and it does not produce any output.

Here are the exact steps I took:

  1.
Inserted wait_for_continue() in my code
  2.
make -C build/x86_64/ run/squid KERNEL=linux BOARD=linux &
  3.
ps -ef | grep squid
  4.
gdb -p <port number from previous command>
  5.
symbol-file build/x86_64/debug/squid
  6.
add-symbol-file build/x86_64/debug/ld-linux.lib.so
  7.
continue (GDB hangs, I have to CTRL-c it)

Did I perhaps miss a step?

Best,
Rumen

_______________________________________________
users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Archived at 
https://lists.genode.org/mailman3/hyperkitty/list/[email protected]/message/OV2CBETZYONGGITPXD2A5IRVCIPBISNM/

Reply via email to