diff options
author | Austin Clements <[email protected]> | 2009-09-20 23:08:36 -0400 |
---|---|---|
committer | Austin Clements <[email protected]> | 2009-09-20 23:08:36 -0400 |
commit | 67f7909fe113d1e91cbafeaf3377da813cdcd382 (patch) | |
tree | 02063a7d5a9604e4cb73bbd1d6c28a37a325ef2a | |
parent | 01396b3a8787d3b6e694675d3f28ddbc90f6b832 (diff) | |
download | xv6-labs-67f7909fe113d1e91cbafeaf3377da813cdcd382.tar.gz xv6-labs-67f7909fe113d1e91cbafeaf3377da813cdcd382.tar.bz2 xv6-labs-67f7909fe113d1e91cbafeaf3377da813cdcd382.zip |
Use the symbol file
-rw-r--r-- | .gdbinit.tmpl | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/.gdbinit.tmpl b/.gdbinit.tmpl index 4c4e734..f71681a 100644 --- a/.gdbinit.tmpl +++ b/.gdbinit.tmpl @@ -1,9 +1,5 @@ set $lastcs = -1 -# This fails on Darwin because the default gdb has no ELF support -# echo + symbol-file obj/kern/kernel\n -# symbol-file obj/kern/kernel - define hook-stop # There doesn't seem to be a good way to detect if we're in 16- or # 32-bit mode, but in 32-bit mode we always run with CS == 8 in the @@ -26,3 +22,6 @@ end echo + target remote localhost:1234\n target remote localhost:1234 + +echo + symbol-file kernel\n +symbol-file kernel |