diff options
author | Pedro Alves <palves@redhat.com> | 2009-06-07 17:58:24 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2009-06-07 17:58:24 +0000 |
commit | 09d3bde977f98e66cd770b080b29e3aa651acd65 (patch) | |
tree | c8b6d1d8ca49803d433ed2d3919f4a18f1e18f84 /gdb/procfs.c | |
parent | c35b149212fc1bf4cf991e42354b0303682bcead (diff) | |
download | gdb-09d3bde977f98e66cd770b080b29e3aa651acd65.zip gdb-09d3bde977f98e66cd770b080b29e3aa651acd65.tar.gz gdb-09d3bde977f98e66cd770b080b29e3aa651acd65.tar.bz2 |
* inferior.h (proc_iterate_over_mappings): Delete declaration.
* nto-tdep.h (proc_iterate_over_mappings): Delete declaration.
* procfs.c (proc_iterate_over_mappings): Delete.
Diffstat (limited to 'gdb/procfs.c')
-rw-r--r-- | gdb/procfs.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/gdb/procfs.c b/gdb/procfs.c index ad7daf9..1e246be 100644 --- a/gdb/procfs.c +++ b/gdb/procfs.c @@ -5524,31 +5524,6 @@ int solib_mappings_callback (struct prmap *map, } /* - * Function: proc_iterate_over_mappings - * - * Uses the unified "iterate_over_mappings" function - * to implement the exported interface to solib-svr4.c. - * - * Given a pointer to a function, call that function once for every - * mapped address space in the process. The callback function - * receives an open file descriptor for the file corresponding to - * that mapped address space (if there is one), and the base address - * of the mapped space. Quit when the callback function returns a - * nonzero value, or at teh end of the mappings. - * - * Returns: the first non-zero return value of the callback function, - * or zero. - */ - -int -proc_iterate_over_mappings (int (*func) (int, CORE_ADDR)) -{ - procinfo *pi = find_procinfo_or_die (PIDGET (inferior_ptid), 0); - - return iterate_over_mappings (pi, func, pi, solib_mappings_callback); -} - -/* * Function: find_memory_regions_callback * * Implements the to_find_memory_regions method. |