X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Famd64-dicos-tdep.c;h=f0ec54310064a49b640883c464e435263b2fc92c;hb=3ce5b6e25ca2389c545282204b96064c00a13fab;hp=a262284f6a2e7a15b8ec773e72b94fe339039607;hpb=0b30217134add051e159a192066a1e568ebd837f;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/amd64-dicos-tdep.c b/gdb/amd64-dicos-tdep.c index a262284f6a..f0ec543100 100644 --- a/gdb/amd64-dicos-tdep.c +++ b/gdb/amd64-dicos-tdep.c @@ -1,6 +1,6 @@ /* Target-dependent code for DICOS running on x86-64's, for GDB. - Copyright (C) 2009-2012 Free Software Foundation, Inc. + Copyright (C) 2009-2015 Free Software Foundation, Inc. This file is part of GDB. @@ -19,28 +19,9 @@ #include "defs.h" #include "osabi.h" -#include "gdb_string.h" #include "amd64-tdep.h" #include "dicos-tdep.h" -static CORE_ADDR -amd64_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 amd64_dicos_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) { @@ -49,8 +30,6 @@ amd64_dicos_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) amd64_init_abi (info, gdbarch); dicos_init_abi (gdbarch); - - set_gdbarch_push_dummy_code (gdbarch, amd64_dicos_push_dummy_code); } static enum gdb_osabi