* gdbarch.sh (find_memory_regions): New callback.
authorUlrich Weigand <uweigand@de.ibm.com>
Fri, 20 Jan 2012 09:59:15 +0000 (09:59 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Fri, 20 Jan 2012 09:59:15 +0000 (09:59 +0000)
commit35c2fab7c6364453c5847ba5fccd68dded16d7a6
treea82f332e4f055eeb052fc5d61a153522a406737f
parent6432734d1ddb783a4f7ed377dfe5920013ee9872
* gdbarch.sh (find_memory_regions): New callback.
* gdbarch.c, gdbarch.h: Regenerate.

* gcore.c (gcore_memory_sections): Try gdbarch find_memory_regions
callback before falling back to target method.

* linux-nat.c (read_mapping, linux_nat_find_memory_regions): Remove.
(linux_target_install_ops): No longer install it.

* linux-tdep.c (linux_find_memory_regions): New function.
(linux_init_abi): Install it.
gdb/ChangeLog
gdb/gcore.c
gdb/gdbarch.c
gdb/gdbarch.h
gdb/gdbarch.sh
gdb/linux-nat.c
gdb/linux-tdep.c