projects
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sim: unify symbol table handling
[binutils-gdb.git]
/
gdb
/
dtrace-probe.c
diff --git
a/gdb/dtrace-probe.c
b/gdb/dtrace-probe.c
index 03b6264e7cb61089746b577d733ffe89bc4e1529..242e3168b23456ed56bba56112fe24b203d8f603 100644
(file)
--- a/
gdb/dtrace-probe.c
+++ b/
gdb/dtrace-probe.c
@@
-1,6
+1,6
@@
/* DTrace probe support for GDB.
/* DTrace probe support for GDB.
- Copyright (C) 2014-201
5
Free Software Foundation, Inc.
+ Copyright (C) 2014-201
6
Free Software Foundation, Inc.
Contributed by Oracle, Inc.
Contributed by Oracle, Inc.
@@
-463,8
+463,6
@@
static void
dtrace_process_dof (asection *sect, struct objfile *objfile,
VEC (probe_p) **probesp, struct dtrace_dof_hdr *dof)
{
dtrace_process_dof (asection *sect, struct objfile *objfile,
VEC (probe_p) **probesp, struct dtrace_dof_hdr *dof)
{
- bfd *abfd = objfile->obfd;
- int size = bfd_get_arch_size (abfd) / 8;
struct gdbarch *gdbarch = get_objfile_arch (objfile);
struct dtrace_dof_sect *section;
int i;
struct gdbarch *gdbarch = get_objfile_arch (objfile);
struct dtrace_dof_sect *section;
int i;