diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2012-01-20 09:49:58 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2012-01-20 09:49:58 +0000 |
commit | 3030c96e669f372adf4ce989b755e18b99fe7792 (patch) | |
tree | fc843296b14684e7a3429499804d5c76357597a1 /gdb/gdbarch.sh | |
parent | ChangeLog: (diff) | |
download | binutils-gdb-3030c96e669f372adf4ce989b755e18b99fe7792.tar.gz binutils-gdb-3030c96e669f372adf4ce989b755e18b99fe7792.tar.bz2 binutils-gdb-3030c96e669f372adf4ce989b755e18b99fe7792.zip |
* 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.
Diffstat (limited to 'gdb/gdbarch.sh')
-rwxr-xr-x | gdb/gdbarch.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/gdbarch.sh b/gdb/gdbarch.sh index 76eab19086d..eb8527c31d1 100755 --- a/gdb/gdbarch.sh +++ b/gdb/gdbarch.sh @@ -830,6 +830,9 @@ v:int:has_dos_based_file_system:::0:0::0 # places that the return address may be found. m:void:gen_return_address:struct agent_expr *ax, struct axs_value *value, CORE_ADDR scope:ax, value, scope::default_gen_return_address::0 +# Implement the "info proc" command. +M:void:info_proc:char *args, enum info_proc_what what:args, what + EOF } |