projects
/
platform
/
upstream
/
binutils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Automatic date update in version.in
[platform/upstream/binutils.git]
/
gdb
/
arm-symbian-tdep.c
diff --git
a/gdb/arm-symbian-tdep.c
b/gdb/arm-symbian-tdep.c
index
8e06852
..
a0e8d96
100644
(file)
--- a/
gdb/arm-symbian-tdep.c
+++ b/
gdb/arm-symbian-tdep.c
@@
-1,7
+1,6
@@
/* ARM Symbian OS target support.
/* ARM Symbian OS target support.
- Copyright (C) 2008, 2009, 2010
- Free Software Foundation, Inc.
+ Copyright (C) 2008-2014 Free Software Foundation, Inc.
This file is part of GDB.
This file is part of GDB.
@@
-30,7
+29,7
@@
/* If PC is in a DLL import stub, return the address of the `real'
function belonging to the stub. */
/* If PC is in a DLL import stub, return the address of the `real'
function belonging to the stub. */
-CORE_ADDR
+
static
CORE_ADDR
arm_symbian_skip_trampoline_code (struct frame_info *frame, CORE_ADDR pc)
{
struct gdbarch *gdbarch;
arm_symbian_skip_trampoline_code (struct frame_info *frame, CORE_ADDR pc)
{
struct gdbarch *gdbarch;
@@
-39,7
+38,7
@@
arm_symbian_skip_trampoline_code (struct frame_info *frame, CORE_ADDR pc)
CORE_ADDR dest;
gdb_byte buf[4];
CORE_ADDR dest;
gdb_byte buf[4];
- if (!in_plt_section (pc
, NULL
))
+ if (!in_plt_section (pc))
return 0;
if (target_read_memory (pc, buf, 4) != 0)
return 0;
if (target_read_memory (pc, buf, 4) != 0)
@@
-90,7
+89,7
@@
arm_symbian_init_abi (struct gdbarch_info info,
static enum gdb_osabi
arm_symbian_osabi_sniffer (bfd *abfd)
{
static enum gdb_osabi
arm_symbian_osabi_sniffer (bfd *abfd)
{
- Elf_Internal_Phdr *phdrs
, **segments
;
+ Elf_Internal_Phdr *phdrs;
long phdrs_size;
int num_phdrs, i;
long phdrs_size;
int num_phdrs, i;
@@
-122,6
+121,9
@@
arm_symbian_osabi_sniffer (bfd *abfd)
return GDB_OSABI_SYMBIAN;
}
return GDB_OSABI_SYMBIAN;
}
+/* -Wmissing-prototypes */
+extern initialize_file_ftype _initialize_arm_symbian_tdep;
+
void
_initialize_arm_symbian_tdep (void)
{
void
_initialize_arm_symbian_tdep (void)
{