X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gdb%2Fdicos-tdep.c;h=5276399aa0ee4476141b30f56109a4ad032da752;hb=48e6666a0d550f290ea174682c78b0d62a027076;hp=81d2d7a85b1b62058567066b17a6f6582fb59139;hpb=7b6bb8daaceb9ecf3f42dea57ae82733d6a3b2f6;p=platform%2Fupstream%2Fbinutils.git diff --git a/gdb/dicos-tdep.c b/gdb/dicos-tdep.c index 81d2d7a..5276399 100644 --- a/gdb/dicos-tdep.c +++ b/gdb/dicos-tdep.c @@ -1,6 +1,6 @@ /* Target-dependent, architecture-independent code for DICOS, for GDB. - Copyright (C) 2009, 2010, 2011 Free Software Foundation, Inc. + Copyright (C) 2009-2014 Free Software Foundation, Inc. This file is part of GDB. @@ -19,7 +19,6 @@ #include "defs.h" #include "osabi.h" -#include "gdb_string.h" #include "solib.h" #include "solib-target.h" #include "inferior.h" @@ -43,8 +42,8 @@ dicos_init_abi (struct gdbarch *gdbarch) /* There's no (standard definition of) entry point or a guaranteed text location with a symbol where to place the call dummy, so we - put it on the stack. */ - set_gdbarch_call_dummy_location (gdbarch, ON_STACK); + need it on the stack. Rely on i386_gdbarch_init used also for + amd64 to set up ON_STACK inferior calls. */ /* DICOS rewinds the PC itself. */ set_gdbarch_decr_pc_after_break (gdbarch, 0); @@ -81,7 +80,8 @@ dicos_load_module_p (bfd *abfd, int header_size) storage_needed = bfd_get_symtab_upper_bound (abfd); if (storage_needed < 0) { - warning (_("Can't read elf symbols from %s: %s"), bfd_get_filename (abfd), + warning (_("Can't read elf symbols from %s: %s"), + bfd_get_filename (abfd), bfd_errmsg (bfd_get_error ())); return 0; }