diff options
| author | Ulrich Spörlein <uqs@FreeBSD.org> | 2011-12-30 00:04:11 +0000 |
|---|---|---|
| committer | Ulrich Spörlein <uqs@FreeBSD.org> | 2011-12-30 00:04:11 +0000 |
| commit | 8ce070c1b28cd5f33c098da43378d0239091bd00 (patch) | |
| tree | 10328638ca028de0f11cc798a2fd1593af0e720c /tools/debugscripts | |
| parent | 020d387e5b4fab13879c0b55d5739178673e5231 (diff) | |
Notes
Diffstat (limited to 'tools/debugscripts')
| -rw-r--r-- | tools/debugscripts/gdbinit.i386 | 2 | ||||
| -rw-r--r-- | tools/debugscripts/kld_deb.py | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tools/debugscripts/gdbinit.i386 b/tools/debugscripts/gdbinit.i386 index e02b2063f509..95dbf6e93c87 100644 --- a/tools/debugscripts/gdbinit.i386 +++ b/tools/debugscripts/gdbinit.i386 @@ -268,7 +268,7 @@ while (*(int *) $frame > 0xc0000000) end end document btr -Show a backtrace from the ebp address specified. This can be used to get a backtrace from any stack resident in memory. It's the user's responsiblity to ensure that the address is meaningful. +Show a backtrace from the ebp address specified. This can be used to get a backtrace from any stack resident in memory. It's the user's responsibility to ensure that the address is meaningful. end # btp <pid> diff --git a/tools/debugscripts/kld_deb.py b/tools/debugscripts/kld_deb.py index 0ea12ab87b97..5cf016746c42 100644 --- a/tools/debugscripts/kld_deb.py +++ b/tools/debugscripts/kld_deb.py @@ -68,9 +68,9 @@ gdb = popen2.popen4(gdb_cmd) def searchfor(inp, re, j = 0, l = None): """searchfor(inp, re, j, l): Searches for regex re in inp. It will -automaticly add more lines. If j is set, the lines will be joined together. +automatically add more lines. If j is set, the lines will be joined together. l can provide a starting line to help search against. Return value is a -tupple of the last line, and the match if any.""" +tuple of the last line, and the match if any.""" ret = None if not l: l = inp.readline() @@ -87,7 +87,7 @@ tupple of the last line, and the match if any.""" def get_addresses(inp, out): """get_addresses(inp, out): It will search for addresses from gdb. inp and out, are the gdb input and output respectively. Return value is -a list of tupples. The tupples contain the filename and the address the +a list of tuples. The tuples contain the filename and the address the filename was loaded.""" addr = [] nxad = 1 |
