aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
diff options
context:
space:
mode:
authorDon Howard <dhoward@redhat.com>2002-06-25 07:23:29 +0000
committerDon Howard <dhoward@redhat.com>2002-06-25 07:23:29 +0000
commitbfac230e83701e00199759cbd126fb02802fc187 (patch)
treed740da3e7a541a95a6870c91743033ff4bbb5e67 /gdb/doc
parent82e51918269aaa9b2f890217c141d7ae9dd2928f (diff)
downloadgdb-bfac230e83701e00199759cbd126fb02802fc187.zip
gdb-bfac230e83701e00199759cbd126fb02802fc187.tar.gz
gdb-bfac230e83701e00199759cbd126fb02802fc187.tar.bz2
2002-06-25 Don Howard <dhoward@redhat.com>
* gdb.texinfo (Memory Region Attributes): Document new behavior for 'mem' command.
Diffstat (limited to 'gdb/doc')
-rw-r--r--gdb/doc/ChangeLog5
-rw-r--r--gdb/doc/gdb.texinfo8
2 files changed, 10 insertions, 3 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 4d1fbb5..bec2067 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,8 @@
+2002-06-25 Don Howard <dhoward@redhat.com>
+
+ * gdb.texinfo (Memory Region Attributes): Document new behavior
+ for 'mem' command.
+
2002-06-11 Jim Blandy <jimb@redhat.com>
* gdb.texinfo (Symbols): Update documentation for `info source'
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index aa39d76..6d725ed 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -5601,9 +5601,11 @@ to enable, disable, or remove a memory region, you specify that number.
@table @code
@kindex mem
-@item mem @var{address1} @var{address2} @var{attributes}@dots{}
-Define memory region bounded by @var{address1} and @var{address2}
-with attributes @var{attributes}@dots{}.
+@item mem @var{lower} @var{upper} @var{attributes}@dots{}
+Define memory region bounded by @var{lower} and @var{upper} with
+attributes @var{attributes}@dots{}. Note that @var{upper} == 0 is a
+special case: it is treated as the the target's maximum memory address.
+(0xffff on 16 bit targets, 0xffffffff on 32 bit targets, etc.)
@kindex delete mem
@item delete mem @var{nums}@dots{}