From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27723 invoked by alias); 10 May 2007 22:27:44 -0000 Received: (qmail 27708 invoked by uid 22791); 10 May 2007 22:27:44 -0000 X-Spam-Check-By: sourceware.org Received: from mtagate2.de.ibm.com (HELO mtagate2.de.ibm.com) (195.212.29.151) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 10 May 2007 22:27:41 +0000 Received: from d12nrmr1607.megacenter.de.ibm.com (d12nrmr1607.megacenter.de.ibm.com [9.149.167.49]) by mtagate2.de.ibm.com (8.13.8/8.13.8) with ESMTP id l4AMRc59052462 for ; Thu, 10 May 2007 22:27:38 GMT Received: from d12av02.megacenter.de.ibm.com (d12av02.megacenter.de.ibm.com [9.149.165.228]) by d12nrmr1607.megacenter.de.ibm.com (8.13.8/8.13.8/NCO v8.3) with ESMTP id l4AMRcAd3719262 for ; Fri, 11 May 2007 00:27:38 +0200 Received: from d12av02.megacenter.de.ibm.com (loopback [127.0.0.1]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id l4AMRciw011191 for ; Fri, 11 May 2007 00:27:38 +0200 Received: from tuxmaker.boeblingen.de.ibm.com (tuxmaker.boeblingen.de.ibm.com [9.152.85.9]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.12.11) with SMTP id l4AMRc8T011188; Fri, 11 May 2007 00:27:38 +0200 Message-Id: <200705102227.l4AMRc8T011188@d12av02.megacenter.de.ibm.com> Received: by tuxmaker.boeblingen.de.ibm.com (sSMTP sendmail emulation); Fri, 11 May 2007 00:27:38 +0200 Subject: Re: [rfc] Replace deprecated_target_new_objfile_hook by observer To: drow@false.org (Daniel Jacobowitz) Date: Thu, 10 May 2007 22:27:00 -0000 From: "Ulrich Weigand" Cc: gdb-patches@sourceware.org, eliz@gnu.org In-Reply-To: <20070510214507.GA3187@caradoc.them.org> from "Daniel Jacobowitz" at May 10, 2007 05:45:07 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2007-05/txt/msg00178.txt.bz2 Daniel Jacobowitz wrote: > Well, looking at your SPU patches, that seems like a good use of this > observer. So it's fine with me. Thanks! > All the other places you've converted are less clear; if you fixed > exactly when the two existing observers get called they'd probably > cover everything else. But per-objfile data wants a direct > correlation with objfile creation. I can try to convert the Linux thread target to use the other observers as a follow-on patch. For Solaris and HP/UX I wouldn't want to do a non-mechanical change without access to the target; for AIX there are still weird things going on between rs6000-nat.c and aix-thread.c (that I'll hopefully untangle at some point in the future, but not right now ...). Bye, Ulrich -- Dr. Ulrich Weigand GNU Toolchain for Linux on System z and Cell BE Ulrich.Weigand@de.ibm.com