summaryrefslogtreecommitdiff
path: root/.gdbinit.tmpl
diff options
context:
space:
mode:
authorFrans Kaashoek <[email protected]>2009-10-07 17:42:25 -0400
committerFrans Kaashoek <[email protected]>2009-10-07 17:42:25 -0400
commitaaf63e62d763216448854bc6f921943a5140462e (patch)
treeaba0d8124bd49710ba2e5c5904786e20e5def1db /.gdbinit.tmpl
parentab777a9ad0355e6df16ee53bad348d5fbb1f347f (diff)
parent2c536bff67ed209b1c5aa3d40e40731813bfcd9a (diff)
downloadxv6-labs-aaf63e62d763216448854bc6f921943a5140462e.tar.gz
xv6-labs-aaf63e62d763216448854bc6f921943a5140462e.tar.bz2
xv6-labs-aaf63e62d763216448854bc6f921943a5140462e.zip
Merge branch 'master' of git+ssh://amsterdam.csail.mit.edu/home/am0/6.828/xv6
Diffstat (limited to '.gdbinit.tmpl')
-rw-r--r--.gdbinit.tmpl7
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