From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28705 invoked by alias); 30 Jul 2007 23:34:55 -0000 Received: (qmail 28697 invoked by uid 22791); 30 Jul 2007 23:34:54 -0000 X-Spam-Check-By: sourceware.org Received: from ug-out-1314.google.com (HELO ug-out-1314.google.com) (66.249.92.174) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 30 Jul 2007 23:34:53 +0000 Received: by ug-out-1314.google.com with SMTP id s2so32072uge for ; Mon, 30 Jul 2007 16:34:50 -0700 (PDT) Received: by 10.66.220.12 with SMTP id s12mr140028ugg.1185838490409; Mon, 30 Jul 2007 16:34:50 -0700 (PDT) Received: from ?88.210.66.21? ( [88.210.66.21]) by mx.google.com with ESMTPS id d24sm15333588nfh.2007.07.30.16.34.48 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 30 Jul 2007 16:34:49 -0700 (PDT) Message-ID: <46AE757E.4060702@portugalmail.pt> Date: Tue, 31 Jul 2007 00:13:00 -0000 From: Pedro Alves User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; pt-BR; rv:1.8.0.12) Gecko/20070509 Thunderbird/1.5.0.12 Mnenhy/0.7.4.0 MIME-Version: 1.0 To: gdb-patches@sourceware.org Subject: Make arm-wince use solib-target. Content-Type: multipart/mixed; boundary="------------050506090205060807090403" 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: 2007-07/txt/msg00318.txt.bz2 This is a multi-part message in MIME format. --------------050506090205060807090403 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-length: 229 Hi, This is the patch to make the arm-wince port use solib-target.c as its solib support. Windows CE, being a PE target, has nothing to do with svr4 solibs - that got in through blind copy&pasting :) OK? Cheers, Pedro Alves --------------050506090205060807090403 Content-Type: text/x-diff; name="wince_solib-target.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="wince_solib-target.diff" Content-length: 1407 2007-07-31 Pedro Alves * arm-wince-tdep.c (arm_wince_init_abi): Remove svr4 related call. * config/arm/wince.mt (TDEPFILES): Remove solib-legacy.o and solib-svr4.o, and add solib-target.o --- gdb/arm-wince-tdep.c | 3 --- gdb/config/arm/wince.mt | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) Index: src/gdb/arm-wince-tdep.c =================================================================== --- src.orig/gdb/arm-wince-tdep.c 2007-07-03 20:49:54.000000000 +0100 +++ src/gdb/arm-wince-tdep.c 2007-07-04 00:56:52.000000000 +0100 @@ -55,9 +55,6 @@ arm_wince_init_abi (struct gdbarch_info /* On ARM WinCE char defaults to signed. */ set_gdbarch_char_signed (gdbarch, 1); - set_solib_svr4_fetch_link_map_offsets - (gdbarch, svr4_ilp32_fetch_link_map_offsets); - /* Shared library handling. */ set_gdbarch_skip_trampoline_code (gdbarch, find_solib_trampoline_target); Index: src/gdb/config/arm/wince.mt =================================================================== --- src.orig/gdb/config/arm/wince.mt 2007-07-03 20:49:54.000000000 +0100 +++ src/gdb/config/arm/wince.mt 2007-07-04 00:55:54.000000000 +0100 @@ -1,4 +1,4 @@ # Target: ARM based machine running Windows CE (win32) DEPRECATED_TM_FILE= tm-arm.h TDEPFILES= arm-tdep.o arm-wince-tdep.o corelow.o \ - solib.o solib-legacy.o solib-svr4.o + solib.o solib-target.o --------------050506090205060807090403--