projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add a new 'info proc files' subcommand of 'info proc'.
[deliverable/binutils-gdb.git]
/
gdb
/
ia64-vms-tdep.c
diff --git
a/gdb/ia64-vms-tdep.c
b/gdb/ia64-vms-tdep.c
index 09238fcb3d1fe801af5afe4c06bcb9440a1e47a4..07419e86a2fe27d99a01ad6c86ecf970a088caea 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 Free Software Foundation, Inc.
+ Copyright (C) 2012
-2018
Free Software Foundation, Inc.
This file is part of GDB.
This file is part of GDB.
@@
-33,16
+33,14
@@
ia64_vms_find_proc_info_x (unw_addr_space_t as, unw_word_t ip,
unw_proc_info_t *pi,
int need_unwind_info, void *arg)
{
unw_proc_info_t *pi,
int need_unwind_info, void *arg)
{
- enum bfd_endian byte_order = gdbarch_byte_order (target_gdbarch);
- unw_dyn_info_t di;
- int ret;
+ enum bfd_endian byte_order = gdbarch_byte_order (target_gdbarch ());
gdb_byte buf[32];
const char *annex = core_addr_to_string (ip);
LONGEST res;
CORE_ADDR table_addr;
unsigned int info_len;
gdb_byte buf[32];
const char *annex = core_addr_to_string (ip);
LONGEST res;
CORE_ADDR table_addr;
unsigned int info_len;
- res = target_read (
¤t_target
, TARGET_OBJECT_OPENVMS_UIB,
+ res = target_read (
current_top_target ()
, TARGET_OBJECT_OPENVMS_UIB,
annex + 2, buf, 0, sizeof (buf));
if (res != sizeof (buf))
annex + 2, buf, 0, sizeof (buf));
if (res != sizeof (buf))
@@
-76,7
+74,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);
@@
-154,9
+152,6
@@
ia64_openvms_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
#endif
}
#endif
}
-/* Provide a prototype to silence -Wmissing-prototypes. */
-extern initialize_file_ftype _initialize_ia64_vms_tdep;
-
void
_initialize_ia64_vms_tdep (void)
{
void
_initialize_ia64_vms_tdep (void)
{
This page took
0.025581 seconds
and
4
git commands to generate.