gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Thu, 9 Jul 2009 20:30:59 +0000 (20:30 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Thu, 9 Jul 2009 20:30:59 +0000 (20:30 +0000)
commitc0ac0ec78df5972b67b7048c85440c68764d3c8e
treea765f0f9fa8c516626ec18b1b5d8b6066d647942
parente0452928e8435b2b7614a672a163cbd3c666d695
gdb/
Report error on inaccessible memory.
* cli/cli-dump.c: Include gdbcore.h.
(dump_memory_to_file): Call read_memory instead of target_read_memory.

gdb/testsuite/
* gdb.base/dump.exp (inaccessible memory is reported): New test.
gdb/ChangeLog
gdb/cli/cli-dump.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/dump.exp