OSDN Git Service

* gdbarch.sh (info_proc): New callback.
authoruweigand <uweigand>
Fri, 20 Jan 2012 09:49:57 +0000 (09:49 +0000)
committeruweigand <uweigand>
Fri, 20 Jan 2012 09:49:57 +0000 (09:49 +0000)
commitc5b00467c293308a13aacbc3d45bfebc2f95689c
treeffceb1161f5f7b375e41dde302db52b916f9366c
parent32396f495e51cf7ae2e2b551cdf93e1f19db3caf
* 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