]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
HP merge changes by David Taylor, Edith Epstein, Jim Blandy, and Elena
authorDavid Taylor <taylor@redhat.com>
Tue, 8 Dec 1998 15:44:05 +0000 (15:44 +0000)
committerDavid Taylor <taylor@redhat.com>
Tue, 8 Dec 1998 15:44:05 +0000 (15:44 +0000)
commit8ecd559a563f80c84562ccc1633059f5437678bf
treebf423a9f6486a1ffedd4de58d0c2b9933e1acd8f
parent1ee7d2b1c84f7015b487d50f11b007f399e5dbb9
HP merge changes by David Taylor, Edith Epstein, Jim Blandy, and Elena
Zannoni.

* hpux-core.c (hpux_core_core_file_p): this function now
  understands HPUX 10.30 thread info. Yes, the thread stacks can be
  found in the corefile! Also, in hpux_core_core_file_p, if we
  encounter a section with an unknown type, don't punt.  Instead,
  just skip it.  Also, count the number of sections of known type
  that we encounter.  If we encounter at least one good one, then
  we'll declare that the file is a core file.  If we encounter any
  unknown ones but some known ones, then we'll issue a warning (but
  still declare it to be a core file). Also, correctly decide when a
  file is not a core.
(PROC_INFO_HAS_THREAD_ID): define if CORE_ANON_SHMEM defined.
(CORE_ANON_SHMEM): define if not defined.
(hpux_core_struct): add members lwpid and user_tid.
(core_kernel_thread_id, core_user_thread_id): new macros.
(make_bfd_asection): use bfd_alloc to allocate room for a copy of
  the name before storing it in the bfd.
(hpux_core_core_file_p): handle threads.

* libhppa.h (GET_FIELD): protect against redefinition.
(HPPA_WIDE): define.
(GET_FIELD): define.
(GET_BIT): define.
(MASK): define.
(CATENATE): define.
(ELEVEN): define.
(sign_extend): redefine.
(assemble_6): define.
(assemble_12): rewrite.
(assemble_16): define.
(assemble_16a): define.
(assemble_17): rewrite.
(assemble_22): define.
bfd/ChangeLog
bfd/hpux-core.c