diff options
author | Hui Zhu <teawater@gmail.com> | 2009-05-17 12:26:44 +0000 |
---|---|---|
committer | Hui Zhu <teawater@gmail.com> | 2009-05-17 12:26:44 +0000 |
commit | a6b808b408f304ead418bdf4ebae5b3cea7cf191 (patch) | |
tree | 5f85ea2ba6bffecdc92735d3a8ff40f6ae479cd3 /gdb/i386-tdep.c | |
parent | ee342b2344e091d2d8a5bfea83b19f651ea58dff (diff) | |
download | gdb-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.c')
-rw-r--r-- | gdb/i386-tdep.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/i386-tdep.c b/gdb/i386-tdep.c index 718a01c..bfd2bab 100644 --- a/gdb/i386-tdep.c +++ b/gdb/i386-tdep.c @@ -2982,7 +2982,7 @@ i386_record_lea_modrm (struct i386_record_s *irp) memory that will be changed in current instruction to "record_arch_list". Return -1 if something wrong. */ -static int +int i386_process_record (struct gdbarch *gdbarch, struct regcache *regcache, CORE_ADDR addr) { @@ -5277,8 +5277,6 @@ i386_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) set_gdbarch_skip_permanent_breakpoint (gdbarch, i386_skip_permanent_breakpoint); - set_gdbarch_process_record (gdbarch, i386_process_record); - return gdbarch; } |