projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename "sun" variable to avoid conflicts on Solaris
[deliverable/binutils-gdb.git]
/
gdb
/
ia64-vms-tdep.c
diff --git
a/gdb/ia64-vms-tdep.c
b/gdb/ia64-vms-tdep.c
index e2d40e2079ba89b618679cd578b44d3a620c39c8..f249f82438b00d93b44b7a4ab5af3f282488ad39 100644
(file)
--- a/
gdb/ia64-vms-tdep.c
+++ b/
gdb/ia64-vms-tdep.c
@@
-1,6
+1,6
@@
/* Target-dependent code for OpenVMS IA-64.
/* Target-dependent code for OpenVMS IA-64.
- Copyright (C) 2012-201
8
Free Software Foundation, Inc.
+ Copyright (C) 2012-201
9
Free Software Foundation, Inc.
This file is part of GDB.
This file is part of GDB.
@@
-23,6
+23,7
@@
#include "osabi.h"
#include "gdbtypes.h"
#include "gdbcore.h"
#include "osabi.h"
#include "gdbtypes.h"
#include "gdbcore.h"
+#include "gdbarch.h"
#ifdef HAVE_LIBUNWIND_IA64_H
#ifdef HAVE_LIBUNWIND_IA64_H
@@
-34,8
+35,6
@@
ia64_vms_find_proc_info_x (unw_addr_space_t as, unw_word_t ip,
int need_unwind_info, void *arg)
{
enum bfd_endian byte_order = gdbarch_byte_order (target_gdbarch ());
int need_unwind_info, void *arg)
{
enum bfd_endian byte_order = gdbarch_byte_order (target_gdbarch ());
- unw_dyn_info_t di;
- int ret;
gdb_byte buf[32];
const char *annex = core_addr_to_string (ip);
LONGEST res;
gdb_byte buf[32];
const char *annex = core_addr_to_string (ip);
LONGEST res;
@@
-76,7
+75,7
@@
ia64_vms_find_proc_info_x (unw_addr_space_t as, unw_word_t ip,
pi->unwind_info = xmalloc (pi->unwind_info_size);
res = target_read_memory (table_addr + 8,
pi->unwind_info = xmalloc (pi->unwind_info_size);
res = target_read_memory (table_addr + 8,
- pi->unwind_info, pi->unwind_info_size);
+
(gdb_byte *)
pi->unwind_info, pi->unwind_info_size);
if (res != 0)
{
xfree (pi->unwind_info);
if (res != 0)
{
xfree (pi->unwind_info);
This page took
0.0551739999999999 seconds
and
4
git commands to generate.