projects
/
external
/
binutils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[gdb/testsuite] Fix regexp in skip_opencl_tests
[external/binutils.git]
/
gdb
/
dicos-tdep.c
diff --git
a/gdb/dicos-tdep.c
b/gdb/dicos-tdep.c
index
27469a5
..
bacba96
100644
(file)
--- a/
gdb/dicos-tdep.c
+++ b/
gdb/dicos-tdep.c
@@
-1,6
+1,6
@@
/* Target-dependent, architecture-independent code for DICOS, for GDB.
/* Target-dependent, architecture-independent code for DICOS, for GDB.
- Copyright (C) 2009-201
3
Free Software Foundation, Inc.
+ Copyright (C) 2009-201
9
Free Software Foundation, Inc.
This file is part of GDB.
This file is part of GDB.
@@
-19,7
+19,6
@@
#include "defs.h"
#include "osabi.h"
#include "defs.h"
#include "osabi.h"
-#include <string.h>
#include "solib.h"
#include "solib-target.h"
#include "inferior.h"
#include "solib.h"
#include "solib-target.h"
#include "inferior.h"
@@
-28,8
+27,6
@@
void
dicos_init_abi (struct gdbarch *gdbarch)
{
void
dicos_init_abi (struct gdbarch *gdbarch)
{
- struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch);
-
set_solib_ops (gdbarch, &solib_target_so_ops);
/* Every process, although has its own address space, sees the same
set_solib_ops (gdbarch, &solib_target_so_ops);
/* Every process, although has its own address space, sees the same
@@
-91,7
+88,7
@@
dicos_load_module_p (bfd *abfd, int header_size)
{
long i, symcount;
{
long i, symcount;
- symbol_table = xmalloc (storage_needed);
+ symbol_table =
(asymbol **)
xmalloc (storage_needed);
symcount = bfd_canonicalize_symtab (abfd, symbol_table);
if (symcount < 0)
symcount = bfd_canonicalize_symtab (abfd, symbol_table);
if (symcount < 0)