X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gdb%2Ffbsd-nat.h;h=531fe4f042f134e248566661dff3d8fd32396e54;hb=8527d542c07f6bea86fe5baf3b31568c7fba1398;hp=8ee97b3a585a0a6e5457e5a25fff34f94fd106b4;hpb=0fb0cc7590113e9b459dfcc48dc71c9d419d9580;p=platform%2Fupstream%2Fbinutils.git diff --git a/gdb/fbsd-nat.h b/gdb/fbsd-nat.h index 8ee97b3..531fe4f 100644 --- a/gdb/fbsd-nat.h +++ b/gdb/fbsd-nat.h @@ -1,6 +1,6 @@ /* Native-dependent code for FreeBSD. - Copyright (C) 2004, 2007, 2008, 2009 Free Software Foundation, Inc. + Copyright (C) 2004-2014 Free Software Foundation, Inc. This file is part of GDB. @@ -20,22 +20,16 @@ #ifndef FBSD_NAT_H #define FBSD_NAT_H -/* Return a the name of file that can be opened to get the symbols for +/* Return the name of a file that can be opened to get the symbols for the child process identified by PID. */ -extern char *fbsd_pid_to_exec_file (int pid); +extern char *fbsd_pid_to_exec_file (struct target_ops *self, int pid); /* Iterate over all the memory regions in the current inferior, calling FUNC for each memory region. OBFD is passed as the last argument to FUNC. */ -extern int fbsd_find_memory_regions (int (*func) (CORE_ADDR, unsigned long, - int, int, int, void *), - void *obfd); - -/* Create appropriate note sections for a corefile, returning them in - allocated memory. */ - -extern char *fbsd_make_corefile_notes (bfd *obfd, int *note_size); +extern int fbsd_find_memory_regions (struct target_ops *self, + find_memory_region_ftype func, void *obfd); #endif /* fbsd-nat.h */