aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/nm-linux.h
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2002-11-26 01:23:46 +0000
committerDaniel Jacobowitz <drow@false.org>2002-11-26 01:23:46 +0000
commiteb78484829c67075caaa4ac984dd8b50b5d750bc (patch)
tree5d1c675cdefdc0b97a2387453702bcb940af80f9 /gdb/config/nm-linux.h
parentafbfa4076a55445d5e61f5c872b438d1ea997aeb (diff)
downloadgdb-eb78484829c67075caaa4ac984dd8b50b5d750bc.zip
gdb-eb78484829c67075caaa4ac984dd8b50b5d750bc.tar.gz
gdb-eb78484829c67075caaa4ac984dd8b50b5d750bc.tar.bz2
* acconfig.h (HAVE_PREAD64): Add.
* configure.in: Check for pread64. * config.in: Regenerated. * configure: Regenerated. * lin-lwp.c (lin_lwp_xfer_memory): Call linux_proc_xfer_memory. * linux-proc.c (linux_proc_xfer_memory): New function. * config/nm-linux.h (linux_proc_xfer_memory): Add prototype.
Diffstat (limited to 'gdb/config/nm-linux.h')
-rw-r--r--gdb/config/nm-linux.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/config/nm-linux.h b/gdb/config/nm-linux.h
index a2d4292..114acd8 100644
--- a/gdb/config/nm-linux.h
+++ b/gdb/config/nm-linux.h
@@ -71,4 +71,7 @@ extern void lin_thread_get_thread_signals (sigset_t *mask);
/* Override child_pid_to_exec_file in 'inftarg.c'. */
#define CHILD_PID_TO_EXEC_FILE
-
+struct mem_attrib;
+extern int linux_proc_xfer_memory (CORE_ADDR addr, char *myaddr, int len,
+ int write, struct mem_attrib *attrib,
+ struct target_ops *target);