This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PATCH: fix some remaining uses of child_ops


(Committed as obvious.)

2004-10-05  Jim Blandy  <jimb@redhat.com>

	* linux-nat.c (_initialize_linux_nat): Rename child_ops.
	(Previous change missed some uses.)

Index: gdb/linux-nat.c
===================================================================
RCS file: /cvs/src/src/gdb/linux-nat.c,v
retrieving revision 1.13
diff -c -p -r1.13 linux-nat.c
*** gdb/linux-nat.c	5 Oct 2004 21:53:33 -0000	1.13
--- gdb/linux-nat.c	5 Oct 2004 22:39:29 -0000
*************** _initialize_linux_nat (void)
*** 3012,3019 ****
    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;
  
    add_info ("proc", linux_nat_info_proc_cmd,
  	    "Show /proc process information about any running process.\n\
--- 3012,3019 ----
    struct sigaction action;
    extern void thread_db_init (struct target_ops *);
  
!   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\


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]