Skip to content

Commit

Permalink
Use the symbol file
Browse files Browse the repository at this point in the history
  • Loading branch information
Austin Clements committed Sep 21, 2009
1 parent 01396b3 commit 67f7909
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .gdbinit.tmpl
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -26,3 +22,6 @@ end

echo + target remote localhost:1234\n
target remote localhost:1234

echo + symbol-file kernel\n
symbol-file kernel

0 comments on commit 67f7909

Please sign in to comment.