From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7435 invoked by alias); 3 Feb 2009 12:53:00 -0000 Received: (qmail 7427 invoked by uid 22791); 3 Feb 2009 12:53:00 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from mel.act-europe.fr (HELO mel.act-europe.fr) (212.99.106.210) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 03 Feb 2009 12:52:55 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-smtp.eu.adacore.com (Postfix) with ESMTP id 68494290007 for ; Tue, 3 Feb 2009 13:52:53 +0100 (CET) Received: from mel.act-europe.fr ([127.0.0.1]) by localhost (smtp.eu.adacore.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Cujj0C89zsGu for ; Tue, 3 Feb 2009 13:52:51 +0100 (CET) Received: from ulanbator.act-europe.fr (ulanbator.act-europe.fr [10.10.1.67]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mel.act-europe.fr (Postfix) with ESMTP id DD4C2290065 for ; Tue, 3 Feb 2009 13:52:47 +0100 (CET) Message-Id: <23511769-09D5-4558-A38F-B6ECC376C2FA@adacore.com> From: Tristan Gingold To: gdb-patches@sourceware.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Subject: [RFA] Document fallback behavior for target_so_ops same. Date: Tue, 03 Feb 2009 12:53:00 -0000 X-IsSubscribed: yes 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: 2009-02/txt/msg00055.txt.bz2 Hi, as indicated by Joel, solib has a fallback if 'same' target_so_op is not set. This patch documents it. Tristan. 2009-02-03 Tristan Gingold * solist.h (struct target_so_ops): Comment fallback behavior for operation same. diff -u -r1.23 solist.h --- solist.h 15 Jan 2009 16:35:22 -0000 1.23 +++ solist.h 3 Feb 2009 12:51:17 -0000 @@ -119,7 +119,8 @@ /* Given two so_list objects, one from the GDB thread list and another from the list returned by current_sos, return 1 - if they represent the same library. */ + if they represent the same library. + Falls back to using strcmp on so_original_name field. */ int (*same) (struct so_list *gdb, struct so_list *inferior); };