From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5195 invoked by alias); 20 Nov 2004 18:36:19 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 5146 invoked from network); 20 Nov 2004 18:36:15 -0000 Received: from unknown (HELO walton.sibelius.xs4all.nl) (82.92.89.47) by sourceware.org with SMTP; 20 Nov 2004 18:36:15 -0000 Received: from elgar.sibelius.xs4all.nl (elgar.sibelius.xs4all.nl [192.168.0.2]) by walton.sibelius.xs4all.nl (8.13.0/8.13.0) with ESMTP id iAKIa9kx005758; Sat, 20 Nov 2004 19:36:09 +0100 (CET) Received: from elgar.sibelius.xs4all.nl (localhost [127.0.0.1]) by elgar.sibelius.xs4all.nl (8.12.6p3/8.12.6) with ESMTP id iAKIa8s0001655; Sat, 20 Nov 2004 19:36:08 +0100 (CET) (envelope-from kettenis@elgar.sibelius.xs4all.nl) Received: (from kettenis@localhost) by elgar.sibelius.xs4all.nl (8.12.6p3/8.12.6/Submit) id iAKIZvQj001652; Sat, 20 Nov 2004 19:35:57 +0100 (CET) Date: Sat, 20 Nov 2004 18:36:00 -0000 Message-Id: <200411201835.iAKIZvQj001652@elgar.sibelius.xs4all.nl> From: Mark Kettenis To: dave@hiauly1.hia.nrc.ca CC: dave@hiauly1.hia.nrc.ca, gdb-patches@sources.redhat.com, randolph@tausq.org In-reply-to: <200411201804.iAKI43Kl020796@hiauly1.hia.nrc.ca> (dave@hiauly1.hia.nrc.ca) Subject: Re: [patch] Remove uses of deprecated_registers from hppah-nat.c References: <200411201804.iAKI43Kl020796@hiauly1.hia.nrc.ca> X-SW-Source: 2004-11/txt/msg00411.txt.bz2 Date: Sat, 20 Nov 2004 13:04:03 -0500 (EST) From: "John David Anglin" > 2004-11-20 John David Anglin > > * infttrace.h (ttrace_write_reg_64): Add prototype. > * hppah-nat.c (store_inferior_registers): Fix warning from ambiguous > expression. > (store_inferior_registers): Correct formatting. Replace uses of > deprecated_registers with calls to regcache_raw_read, > regcache_raw_write_part and regcache_raw_read_part. Please check this in. It's obviously correct since it removes deprecated stuff and makes things build again ;-) We can always fix any fallout later. > HP-UX 11(i) is still broken; it really needs a clean new inf-ttrace.c. > You might get away with configuring GDB with --host=hppa-hp-hpux10.20 > on HP-UX 11(i) if you don't care about threads support. I've been doing quite a few HP-UX 11(i) build as Randolph added fixes. Sure, a lot of stuff is broken but a lot of stuff works as well. For example, watchpoint support surprisingly works on hppa64. I think I was more talking about 10.20 than 11.x when I said that most of the fancy stuff was broken anyway. > We can discuss changes required to fix the hpux target, but let's not > assume that hpux support will be gone in the next release (which is > what's currently in the NEWS file...) Bah, it appears that I have wasted my time given the politics of HP-UX support in the gdb project. Well, your patch removes the reason why HP-UX was listed to be removed in the NEWS file. So a big thank-you from me (and probably all other people with an interest in HP-UX). About the politics. Everything except GNU/Linux is a second class citizen in GNU-land. I really hope that given enough support from the userbase we can give other platforms a place too. I'll stronly oppose any unreasonable attempt to remove features that such platforms depend on. Unfortunately the HP-UX support in GDB has many problems. It'll require a significant amount of work to keep it alive. I hope you'll continue to help with that. Personally, I think we can increase the likelyhood of continued HP-UX support by getting rid of some of the badly implemented HP-UX-only features. That's why I just committed that HP-UX 10.20 change. Hopefully we can do something like it for HP-UX 11.x. I sincerely hope you don't view this as if I'm throwing away the stuff that you spent hours of time on to get it working again. Mark