projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ld-checks: tweak overflow checks.
[deliverable/binutils-gdb.git]
/
gdb
/
dtrace-probe.c
diff --git
a/gdb/dtrace-probe.c
b/gdb/dtrace-probe.c
index 4ce88966d0000bf10390eee4c0e3761184f57b65..122f8ded91b6fcf630c6a306aa2ffdb754557d22 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
6
Free Software Foundation, Inc.
+ Copyright (C) 2014-201
7
Free Software Foundation, Inc.
Contributed by Oracle, Inc.
Contributed by Oracle, Inc.
@@
-413,7
+413,7
@@
dtrace_process_dof_probe (struct objfile *objfile,
for (j = 0; j < ret->probe_argc; j++)
{
struct dtrace_probe_arg arg;
for (j = 0; j < ret->probe_argc; j++)
{
struct dtrace_probe_arg arg;
-
struct expression *expr = NULL
;
+
expression_up expr
;
/* Set arg.expr to ensure all fields in expr are initialized and
the compiler will not warn when arg is used. */
/* Set arg.expr to ensure all fields in expr are initialized and
the compiler will not warn when arg is used. */
@@
-434,7
+434,6
@@
dtrace_process_dof_probe (struct objfile *objfile,
}
CATCH (ex, RETURN_MASK_ERROR)
{
}
CATCH (ex, RETURN_MASK_ERROR)
{
- expr = NULL;
}
END_CATCH
}
END_CATCH
@@
-463,8
+462,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;
This page took
0.023666 seconds
and
4
git commands to generate.