X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Ffbsd-nat.h;h=6bfb9cfd54dfc9f04ab2e71fc6e7bfd90ae7e407;hb=e26b7e41652e288dfdb4c48121bba470c4774150;hp=c9ab8c851531898644b39e473f5aecba2c850e80;hpb=a9762ec78a53fbe9209fe1654db42df0cd328d50;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/fbsd-nat.h b/gdb/fbsd-nat.h index c9ab8c8515..6bfb9cfd54 100644 --- a/gdb/fbsd-nat.h +++ b/gdb/fbsd-nat.h @@ -1,6 +1,6 @@ /* Native-dependent code for FreeBSD. - Copyright (C) 2004, 2007 Free Software Foundation, Inc. + Copyright (C) 2004-2016 Free Software Foundation, Inc. This file is part of GDB. @@ -20,22 +20,8 @@ #ifndef FBSD_NAT_H #define FBSD_NAT_H -/* Return a the name of 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); - -/* 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); +/* Register the customized FreeBSD target. This should be used + instead of calling add_target directly. */ +extern void fbsd_nat_add_target (struct target_ops *); #endif /* fbsd-nat.h */