* gdbarch.sh (info_proc): New callback.
authorUlrich Weigand <uweigand@de.ibm.com>
Fri, 20 Jan 2012 09:49:58 +0000 (09:49 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Fri, 20 Jan 2012 09:49:58 +0000 (09:49 +0000)
commit3030c96e669f372adf4ce989b755e18b99fe7792
treefc843296b14684e7a3429499804d5c76357597a1
parent145b16a97aad6c8c3f30119d7c42b48753a0b1f8
* gdbarch.sh (info_proc): New callback.
* gdbarch.c, gdbarch.h: Regenerate.

* infcmd.c (info_proc_cmd_1): Try gdbarch info_proc callback
before falling back to the target info_proc callback.

* linux-nat.c: Do not include "cli/cli-utils.h".
(linux_nat_info_proc): Remove.
(linux_target_install_ops): No longer install it.

* linux-tdep.c: Include "cli/cli-utils.h" and <ctype.h>.
(read_mapping): New function.
(linux_info_proc): Likewise.
(linux_init_abi): Install it.
gdb/ChangeLog
gdb/gdbarch.c
gdb/gdbarch.h
gdb/gdbarch.sh
gdb/infcmd.c
gdb/linux-nat.c
gdb/linux-tdep.c