.gdb: remove newline control characters
Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
This commit is contained in:
parent
8fc6b74278
commit
4cb227b440
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue