2011-02-22 Michael Snyder <msnyder@vmware.com>
authorMichael Snyder <msnyder@vmware.com>
Wed, 23 Feb 2011 18:30:22 +0000 (18:30 +0000)
committerMichael Snyder <msnyder@vmware.com>
Wed, 23 Feb 2011 18:30:22 +0000 (18:30 +0000)
commitfbcb778d0c464993053911997d95fdce1c2432be
tree7bbc344411bbdbbd393a475ac57a999e0805c620
parent47704ddfbe1f16a1b4291040ca095e0c16b7e5e4
2011-02-22  Michael Snyder  <msnyder@vmware.com>

* memattr.c (mem_enable_command): Use get_number_or_range.
(mem_disable_command): Ditto.
(mem_delete_command): Ditto.
(_initialize_mem): Tweak usage message to reflect multiple
arguments.

2011-02-22  Michael Snyder  <msnyder@vmware.com>

* gdb.base/memattr.exp: New test.
* gdb.base/memattr.c: Test load for memattr.exp.
gdb/ChangeLog
gdb/memattr.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/memattr.c [new file with mode: 0644]
gdb/testsuite/gdb.base/memattr.exp [new file with mode: 0644]