aboutsummaryrefslogtreecommitdiff
path: root/gdb/linux-nat.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-09-29 14:20:25 +0000
committerAndrew Cagney <cagney@redhat.com>2004-09-29 14:20:25 +0000
commit8197740273a1f1d3017b84738484dd236fae7d9e (patch)
treebcfd5ad8d619fa7ce29da060521c21ee6208ecda /gdb/linux-nat.c
parent5ac10fd160d73209c54cfed7905a582fe000a2fe (diff)
downloadgdb-8197740273a1f1d3017b84738484dd236fae7d9e.zip
gdb-8197740273a1f1d3017b84738484dd236fae7d9e.tar.gz
gdb-8197740273a1f1d3017b84738484dd236fae7d9e.tar.bz2
2004-09-29 Andrew Cagney <cagney@gnu.org>
* inftarg.c (inftarg_set_find_memory_regions) (inftarg_set_make_corefile_notes): Delete functions. (_initialize_linux_nat): Inline calls.
Diffstat (limited to 'gdb/linux-nat.c')
-rw-r--r--gdb/linux-nat.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/gdb/linux-nat.c b/gdb/linux-nat.c
index fa14bb6..88e8cb3 100644
--- a/gdb/linux-nat.c
+++ b/gdb/linux-nat.c
@@ -3011,11 +3011,9 @@ _initialize_linux_nat (void)
{
struct sigaction action;
extern void thread_db_init (struct target_ops *);
- extern void inftarg_set_find_memory_regions ();
- extern void inftarg_set_make_corefile_notes ();
- inftarg_set_find_memory_regions (linux_nat_find_memory_regions);
- inftarg_set_make_corefile_notes (linux_nat_make_corefile_notes);
+ child_ops.to_find_memory_regions = linux_nat_find_memory_regions;
+ child_ops.to_make_corefile_notes = linux_nat_make_corefile_notes;
add_info ("proc", linux_nat_info_proc_cmd,
"Show /proc process information about any running process.\n\