From 146c42e39d4f430b87bbbc68246bd84920d551ae Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Tue, 5 Oct 2004 22:40:30 +0000 Subject: [PATCH] * linux-nat.c (_initialize_linux_nat): Rename child_ops. (Previous change missed some uses.) --- gdb/ChangeLog | 5 +++++ gdb/linux-nat.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 818ca81f43c..608fecf01da 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2004-10-05 Jim Blandy + + * linux-nat.c (_initialize_linux_nat): Rename child_ops. + (Previous change missed some uses.) + 2004-10-05 Andrew Cagney * target.h (deprecated_child_ops): Rename child_ops. diff --git a/gdb/linux-nat.c b/gdb/linux-nat.c index 1d17d05201f..93d81c00673 100644 --- a/gdb/linux-nat.c +++ b/gdb/linux-nat.c @@ -3012,8 +3012,8 @@ _initialize_linux_nat (void) struct sigaction action; extern void thread_db_init (struct target_ops *); - child_ops.to_find_memory_regions = linux_nat_find_memory_regions; - child_ops.to_make_corefile_notes = linux_nat_make_corefile_notes; + deprecated_child_ops.to_find_memory_regions = linux_nat_find_memory_regions; + deprecated_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\ -- 2.30.2