diff options
| author | Greg Lehey <grog@FreeBSD.org> | 1999-03-13 07:42:15 +0000 |
|---|---|---|
| committer | Greg Lehey <grog@FreeBSD.org> | 1999-03-13 07:42:15 +0000 |
| commit | ba90a5c31cfb8abdd98a6d9c3b2f929aac87f32b (patch) | |
| tree | 39927b8028f0db1e57cb450f172ce60f1f74192f /sys/modules | |
| parent | 962113a4bf8f2dd66fa39b3d4d991065cab33c47 (diff) | |
Notes
Diffstat (limited to 'sys/modules')
| -rw-r--r-- | sys/modules/vinum/.gdbinit.crash | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/sys/modules/vinum/.gdbinit.crash b/sys/modules/vinum/.gdbinit.crash index 45eab0422cc2..d7362c8d549a 100644 --- a/sys/modules/vinum/.gdbinit.crash +++ b/sys/modules/vinum/.gdbinit.crash @@ -628,4 +628,18 @@ def rqi end end end - +def asf + set $file = files.tqh_first + set $found = 0 + while ($found == 0) + if (*$file->filename == 'V') + set $found = 1 + else + set $file = $file->link.tqe_next + end + end + shell /usr/bin/objdump --section-headers /modules/vinum.ko | grep ' .text' | awk '{print "add-symbol-file /modules/vinum.ko \$file->address+0x" $4}' > .asf + source .asf +end +asf +f 1 |
