diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2011-11-02 18:47:16 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2011-11-02 18:47:16 +0000 |
commit | f179e16214758688265c2a0798bb2bebc0cd2770 (patch) | |
tree | 456b2838736b1632469de71febf56f8947b70bc7 /gold | |
parent | a72173de2524e96e0d9515f36cc033016d619e0f (diff) | |
download | gdb-f179e16214758688265c2a0798bb2bebc0cd2770.zip gdb-f179e16214758688265c2a0798bb2bebc0cd2770.tar.gz gdb-f179e16214758688265c2a0798bb2bebc0cd2770.tar.bz2 |
gdb/
* linux-nat.c: Include cli/cli-utils.h.
(enum info_proc_what): New.
(linux_nat_info_proc_cmd): Rename to ...
(linux_nat_info_proc_cmd_1): ... here. Remove variables argv and all.
New parameter what. Initialize cmdline_f, cwd_f, exe_f, mappings_f,
status_f and stat_f from WHAT. Throw error on extra parameters.
(linux_nat_info_proc_cmd, linux_nat_info_proc_cmd_mappings)
(linux_nat_info_proc_cmd_stat, linux_nat_info_proc_cmd_status)
(linux_nat_info_proc_cmd_cwd, linux_nat_info_proc_cmd_cmdline)
(linux_nat_info_proc_cmd_exe, linux_nat_info_proc_cmd_all): New.
(_initialize_linux_nat): New variable info_proc_cmdlist. Install `info
proc mappings', `info proc stat`, `info proc status', `info proc cwd',
`info proc cmdline', `info proc exe' and `info proc all' as real
subcommands of `info proc'.
Diffstat (limited to 'gold')
0 files changed, 0 insertions, 0 deletions