From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23834 invoked by alias); 30 Jul 2010 10:19:44 -0000 Received: (qmail 23811 invoked by uid 48); 30 Jul 2010 10:19:44 -0000 Date: Fri, 30 Jul 2010 10:19:00 -0000 Message-ID: <20100730101944.23810.qmail@sourceware.org> From: "pedro at codesourcery dot com" To: gdb-prs@sourceware.org In-Reply-To: <20031007181800.8516.dave.anglin@nrc-cnrc.gc.ca> References: <20031007181800.8516.dave.anglin@nrc-cnrc.gc.ca> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug build/8516] Build of gdb-6.0 on hppa1.1-hp-hpux10.20 fails X-Bugzilla-Reason: CC Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org X-SW-Source: 2010-q3/txt/msg00129.txt.bz2 ------- 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.