This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug build/8516] Build of gdb-6.0 on hppa1.1-hp-hpux10.20 fails
- From: "pedro at codesourcery dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 30 Jul 2010 10:19:44 -0000
- Subject: [Bug build/8516] Build of gdb-6.0 on hppa1.1-hp-hpux10.20 fails
- References: <20031007181800.8516.dave.anglin@nrc-cnrc.gc.ca>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From pedro at codesourcery dot com 2010-07-30 10:19 -------
Thanks Dave.
Hmmm, hpux-thread.c is:
- implemented on top of deprecated_child_ops. deprecated_child_ops is
just a dummy target that does nothing. This was an alternative to removing
hpux-thread.c completely at some point in the past. So this file is just
dead wait at this point, patiently waiting for someone to salvage it.
- implemented as a process_stratum target using the ancient
child_suppress_run hack. Salvaging this target would mean turning it
into a thread_stratum target. I'm looking at the code, and I can
tell you that without adding any new features, just translating the
mechanisms, that most of the file would disappear. The mildly interesting
bits left are the register access code, and the objfile callback that
detects the thread support is active in the inferior. We're talking about
a couple dozens of lines of code.
- The bit rot breaking the build is now in the register access code...
So, although the build breakage this time is probably easy to fix, IMO,
we should just move the file into the attic. It may
be even less work to start from scratch than to resurrect it into functional
state. The file will always be in the attic for anyone wanting to salvage
this. (I didn't go look for the current debian patch to see what they did to
this file.)
Comments/Objections?
--
What |Removed |Added
----------------------------------------------------------------------------
Status|SUSPENDED |WAITING
http://sourceware.org/bugzilla/show_bug.cgi?id=8516
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.