summaryrefslogtreecommitdiffstats
path: root/tools/debugscripts
diff options
context:
space:
mode:
authoruqs <uqs@FreeBSD.org>2011-12-30 00:04:11 +0000
committeruqs <uqs@FreeBSD.org>2011-12-30 00:04:11 +0000
commit8f1a296b8bac3ab3d5e3cbdb533553d8b75ac45a (patch)
tree10328638ca028de0f11cc798a2fd1593af0e720c /tools/debugscripts
parent7af3947da48b7ccc1f3f2e8e22b5f6142ac03bd4 (diff)
downloadFreeBSD-src-8f1a296b8bac3ab3d5e3cbdb533553d8b75ac45a.zip
FreeBSD-src-8f1a296b8bac3ab3d5e3cbdb533553d8b75ac45a.tar.gz
Spelling fixes for tools/
Add some $FreeBSD$ tags so svn will allow the commit.
Diffstat (limited to 'tools/debugscripts')
-rw-r--r--tools/debugscripts/gdbinit.i3862
-rw-r--r--tools/debugscripts/kld_deb.py6
2 files changed, 4 insertions, 4 deletions
diff --git a/tools/debugscripts/gdbinit.i386 b/tools/debugscripts/gdbinit.i386
index e02b206..95dbf6e 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 0ea12ab..5cf0167 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
OpenPOWER on IntegriCloud