.gdb: remove newline control characters

Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
This commit is contained in:
Wu Zhangjin 2020-05-15 16:07:35 +08:00
parent 8fc6b74278
commit 4cb227b440
2 changed files with 15 additions and 15 deletions

View File

@ -1,31 +1,31 @@
shell echo "\nWaiting for 1 secs..."
shell echo "Waiting for 1 secs..."
shell sleep 1
shell echo "\nExecuting gdb commands in local .gdbinit ..."
shell echo "Executing gdb commands in local .gdbinit ..."
shell echo "\n(gdb) target remote :1234"
shell echo "(gdb) target remote :1234"
target remote :1234
shell sleep 1
shell echo "\n(gdb) break start_kernel"
shell echo "(gdb) break start_kernel"
break start_kernel
shell sleep 1
shell echo "\n(gdb) break time_init"
shell echo "(gdb) break time_init"
break time_init
shell sleep 1
shell echo "\n(gdb) break do_fork"
shell echo "(gdb) break do_fork"
break do_fork
break _do_fork
shell sleep 1
shell echo "\n(gdb) c"
shell echo "(gdb) c"
c
shell sleep 1
shell echo "\n(gdb) c"
shell echo "(gdb) c"
c
shell sleep 1
shell echo "\ngdb bt"
shell echo "gdb bt"
bt

View File

@ -1,18 +1,18 @@
shell echo "\nWaiting for 1 secs..."
shell echo "Waiting for 1 secs..."
shell sleep 1
shell echo"\nExecuting gdb commands in local .gdbinit ..."
shell echo"Executing gdb commands in local .gdbinit ..."
shell echo "\n(gdb) target remote :1234"
shell echo "(gdb) target remote :1234"
target remote :1234
shell sleep 1
shell echo "\n(gdb) break _start"
shell echo "(gdb) break _start"
break _start
#shell sleep 1
#shell echo "\n(gdb) c"
#shell echo "(gdb) c"
#c
shell sleep 1
shell echo "\ngdb bt"
shell echo "gdb bt"
bt