Index: gdb/i386-dicos-tdep.c |
diff --git a/gdb/i386-dicos-tdep.c b/gdb/i386-dicos-tdep.c |
index 8039c90fb2308937ce48531f344f1d74d2ecf4ed..ca37673a6d55111ecd10c1d3d0062d9c223bf997 100644 |
--- a/gdb/i386-dicos-tdep.c |
+++ b/gdb/i386-dicos-tdep.c |
@@ -22,32 +22,12 @@ |
#include "gdb_string.h" |
#include "dicos-tdep.h" |
-static CORE_ADDR |
-i386_dicos_push_dummy_code (struct gdbarch *gdbarch, |
- CORE_ADDR sp, CORE_ADDR funaddr, |
- struct value **args, int nargs, |
- struct type *value_type, |
- CORE_ADDR *real_pc, CORE_ADDR *bp_addr, |
- struct regcache *regcache) |
-{ |
- int bplen; |
- CORE_ADDR bppc = sp; |
- |
- gdbarch_breakpoint_from_pc (gdbarch, &bppc, &bplen); |
- *bp_addr = sp - bplen; |
- *real_pc = funaddr; |
- |
- return *bp_addr; |
-} |
- |
static void |
i386_dicos_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) |
{ |
struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch); |
dicos_init_abi (gdbarch); |
- |
- set_gdbarch_push_dummy_code (gdbarch, i386_dicos_push_dummy_code); |
} |
static enum gdb_osabi |