aboutsummaryrefslogtreecommitdiff
path: root/gdb/i386-tdep.h
diff options
context:
space:
mode:
authorHui Zhu <teawater@gmail.com>2009-05-17 12:26:44 +0000
committerHui Zhu <teawater@gmail.com>2009-05-17 12:26:44 +0000
commita6b808b408f304ead418bdf4ebae5b3cea7cf191 (patch)
tree5f85ea2ba6bffecdc92735d3a8ff40f6ae479cd3 /gdb/i386-tdep.h
parentee342b2344e091d2d8a5bfea83b19f651ea58dff (diff)
downloadgdb-a6b808b408f304ead418bdf4ebae5b3cea7cf191.zip
gdb-a6b808b408f304ead418bdf4ebae5b3cea7cf191.tar.gz
gdb-a6b808b408f304ead418bdf4ebae5b3cea7cf191.tar.bz2
* i386-tdep.c (i386_process_record): Make it extern.
(i386_gdbarch_init): Don't call set_gdbarch_process_record here. * i386-tdep.c (i386_process_record): Declare. * i386-linux-tdep.c (i386_linux_init_abi): Call set_gdbarch_process_record.
Diffstat (limited to 'gdb/i386-tdep.h')
-rw-r--r--gdb/i386-tdep.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/i386-tdep.h b/gdb/i386-tdep.h
index c73e7d9..88de54c 100644
--- a/gdb/i386-tdep.h
+++ b/gdb/i386-tdep.h
@@ -220,6 +220,9 @@ extern void i386_elf_init_abi (struct gdbarch_info, struct gdbarch *);
/* Initialize a SVR4 architecture variant. */
extern void i386_svr4_init_abi (struct gdbarch_info, struct gdbarch *);
+
+extern int i386_process_record (struct gdbarch *gdbarch,
+ struct regcache *regcache, CORE_ADDR addr);
/* Functions and variables exported from i386bsd-tdep.c. */