diff --git a/tests/hellogdbserver/README b/tests/hellogdbserver/README new file mode 100644 index 0000000..da5299c --- /dev/null +++ b/tests/hellogdbserver/README @@ -0,0 +1,26 @@ +This test shows how to debug a program by launching +the program using gdbserver and having Seer attach to +the gdbserver. + +In one window, launch the program using gdbserver. + + $ gdbserver :1234 hellogdbserver + +In another window, lauch Seer. + + $ seergdb --project project.seer + +The project file has the info that Seer needs. + + - Program name + - Debug filename + - gdbserver port + + +To exit propery, enter this command in Seer's gdb input field. + + monitor exit + +It tells the gdbserver to shutdown. If you don't, the gdbsver +process will need to be kill with "kill -9". + diff --git a/tests/helloqstring/breakpoints.seer b/tests/helloqstring/breakpoints.seer index e198f11..d72e3ff 100644 --- a/tests/helloqstring/breakpoints.seer +++ b/tests/helloqstring/breakpoints.seer @@ -1,5 +1,7 @@ break -source /nas/erniep/Development/seer/tests/helloqstring/helloqstring.cpp -line 16 commands print str + cont end break -source /nas/erniep/Development/seer/tests/helloqstring/helloqstring.cpp -line 7 +break -source /nas/erniep/Development/seer/tests/helloqstring/helloqstring.cpp -line 19