This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 6/8] port GDB to ia64-hpux (native).
- From: Steve Ellcey <sje at cup dot hp dot com>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 11 Jan 2011 15:14:53 -0800 (PST)
- Subject: Re: [PATCH 6/8] port GDB to ia64-hpux (native).
Joel,
I tried building a native ia64-hpux gdb using your patches and I got
this failure:
/proj/opensrc/nightly/src/src/gdb/ia64-hpux-nat.c: In function 'ia64_hpux_fetch_rnat_register':
/proj/opensrc/nightly/src/src/gdb/ia64-hpux-nat.c:188:5: error: format '%lx' expects type 'long unsigned int', but argument 2 has type 'CORE_ADDR'
It looks like CORE_ADDR is defined as bfd_vma and bfd_vma is defined as
'unsigned long long' on ia64-hpux. I changed %lx to %llx and that seems
to have fixed the problem.
After fixing that I get the similar errors at lines 134, 209, and 462 of
solib-ia64-hpux.c and made the same change and was able to do a complete
build of gdb.
I then ran the testsuite and here are the base results.
gdb.base1 results:
=== gdb Summary ===
# of expected passes 3328
# of unexpected failures 455
# of unexpected successes 2
# of expected failures 8
# of known failures 19
# of unresolved testcases 1
# of untested testcases 5
# of unsupported tests 6
gdb.base2 results:
=== gdb Summary ===
# of expected passes 3092
# of unexpected failures 942
# of expected failures 1
# of known failures 4
# of untested testcases 10
# of unsupported tests 3
Steve Ellcey
sje@cup.hp.com