From 8197740273a1f1d3017b84738484dd236fae7d9e Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Wed, 29 Sep 2004 14:20:25 +0000 Subject: 2004-09-29 Andrew Cagney * inftarg.c (inftarg_set_find_memory_regions) (inftarg_set_make_corefile_notes): Delete functions. (_initialize_linux_nat): Inline calls. --- gdb/linux-nat.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'gdb/linux-nat.c') 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\ -- cgit v1.1