aboutsummaryrefslogtreecommitdiff
path: root/gdb/solib-ia64-hpux.c
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2011-01-14 13:53:02 +0000
committerJoel Brobecker <brobecker@gnat.com>2011-01-14 13:53:02 +0000
commita9df6b2252191b5e881a9dde984500b264181a54 (patch)
tree91a243351f69800bdadee773675f34d692cfebaa /gdb/solib-ia64-hpux.c
parentecb956dd69b89635881426d961d4d3d2b0e7973c (diff)
downloadgdb-a9df6b2252191b5e881a9dde984500b264181a54.zip
gdb-a9df6b2252191b5e881a9dde984500b264181a54.tar.gz
gdb-a9df6b2252191b5e881a9dde984500b264181a54.tar.bz2
fix ARI warnings introduced by ia64-hpux patches
gdb/ChangeLog: * ia64-hpux-nat.c (ia64_hpux_fetch_register): Remove trailing new-line at end of warning message. (ia64_hpux_store_register): Remove trailing new-line at end of error message. * ia64-hpux-tdep.c: Rephrase comment. * solib-ia64-hpux.c (struct dld_info): Change type of field dld_flags from "long long" to ULONGEST.
Diffstat (limited to 'gdb/solib-ia64-hpux.c')
-rw-r--r--gdb/solib-ia64-hpux.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/solib-ia64-hpux.c b/gdb/solib-ia64-hpux.c
index 01d44a9..f6dd2dd 100644
--- a/gdb/solib-ia64-hpux.c
+++ b/gdb/solib-ia64-hpux.c
@@ -310,7 +310,7 @@ ia64_hpux_find_start_vma (bfd *abfd, CORE_ADDR *text_start,
for (i = 0; i < i_ehdrp->e_phnum; i++)
{
- if (bfd_bread ((PTR) & phdr, sizeof (phdr), abfd) != sizeof (phdr))
+ if (bfd_bread (&phdr, sizeof (phdr), abfd) != sizeof (phdr))
error (_("failed to read segment %d in %s"), i, abfd->filename);
if (phdr.p_flags & PF_X
@@ -416,7 +416,7 @@ ia64_hpux_get_load_info_addr (void)
struct dld_info
{
- long long dld_flags;
+ ULONGEST dld_flags;
CORE_ADDR load_map;
};