projects
/
deliverable
/
binutils-gdb.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
[deliverable/binutils-gdb.git]
/
gdb
/
arm-symbian-tdep.c
diff --git
a/gdb/arm-symbian-tdep.c
b/gdb/arm-symbian-tdep.c
index 034488183e95f8d6083878b5b25fac0689a09b0d..71521de7a9184f57f5f97784755003efe88e499e 100644
(file)
--- a/
gdb/arm-symbian-tdep.c
+++ b/
gdb/arm-symbian-tdep.c
@@
-1,6
+1,6
@@
/* ARM Symbian OS target support.
/* ARM Symbian OS target support.
- Copyright (C) 2008
, 2009, 2010, 2011
Free Software Foundation, Inc.
+ Copyright (C) 2008
-2019
Free Software Foundation, Inc.
This file is part of GDB.
This file is part of GDB.
@@
-29,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;
@@
-38,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)
@@
-63,8
+63,6
@@
static void
arm_symbian_init_abi (struct gdbarch_info info,
struct gdbarch *gdbarch)
{
arm_symbian_init_abi (struct gdbarch_info info,
struct gdbarch *gdbarch)
{
- struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch);
-
/* Shared library handling. */
set_gdbarch_skip_trampoline_code (gdbarch, arm_symbian_skip_trampoline_code);
/* Shared library handling. */
set_gdbarch_skip_trampoline_code (gdbarch, arm_symbian_skip_trampoline_code);
@@
-89,7
+87,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;
@@
-108,7
+106,7
@@
arm_symbian_osabi_sniffer (bfd *abfd)
if (phdrs_size == -1)
return GDB_OSABI_UNKNOWN;
if (phdrs_size == -1)
return GDB_OSABI_UNKNOWN;
- phdrs = alloca (phdrs_size);
+ phdrs =
(Elf_Internal_Phdr *)
alloca (phdrs_size);
num_phdrs = bfd_get_elf_phdrs (abfd, phdrs);
if (num_phdrs == -1)
return GDB_OSABI_UNKNOWN;
num_phdrs = bfd_get_elf_phdrs (abfd, phdrs);
if (num_phdrs == -1)
return GDB_OSABI_UNKNOWN;
This page took
0.024864 seconds
and
4
git commands to generate.