From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26524 invoked by alias); 12 Sep 2009 14:53:01 -0000 Received: (qmail 26513 invoked by uid 22791); 12 Sep 2009 14:53:01 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_55,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: sourceware.org Received: from hel.is.scarlet.be (HELO hel.is.scarlet.be) (193.74.71.26) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 12 Sep 2009 14:52:57 +0000 Received: from [172.17.1.10] (ip-81-11-243-105.dsl.scarlet.be [81.11.243.105]) by hel.is.scarlet.be (8.14.2/8.14.2) with ESMTP id n8CEqLYe028990; Sat, 12 Sep 2009 16:52:22 +0200 Subject: Re: Build question From: Danny Backx Reply-To: danny.backx@scarlet.be To: Pedro Alves Cc: gdb-patches@sourceware.org, tromey@redhat.com, Eli Zaretskii In-Reply-To: <200909111622.34265.pedro@codesourcery.com> References: <1250803105.11282.96.camel@pavilion> <1252680173.8804.25.camel@pavilion> <200909111622.34265.pedro@codesourcery.com> Content-Type: text/plain Date: Sat, 12 Sep 2009 14:53:00 -0000 Message-Id: <1252767271.8804.41.camel@pavilion> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-DCC-scarlet.be-Metrics: hel 20001; Body=5 Fuz1=5 Fuz2=5 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-09/txt/msg00368.txt.bz2 On Fri, 2009-09-11 at 16:22 +0100, Pedro Alves wrote: > DebugActiveProcessStop = GETPROCADDRESS (dll, DebugActiveProcessStop); > DebugSetProcessKillOnExit = GETPROCADDRESS (dll, DebugSetProcessKillOnExit); > > if (DebugSetProcessKillOnExit == NULL > || DebugActiveProcessStop == NULL) > return -1; > > Try checking if DebugActiveProcessStop is non-NULL here on > your CE >= 6.0 device, and tweak this code to make it possible to detach > with DebugActiveProcessStop even if we don't support > DebugSetProcessKillOnExit. Apologies, I forgot to answer this part of the mail. \network\x86> testapi coredll DebugActiveProcessStop coredll implements DebugActiveProcessStop (0x4003F4F0) \network\x86> testapi coredll DebugSetProcessKillOnExit coredll implements DebugSetProcessKillOnExit (0x4003F510) \network\x86> My testapi utility basically does what you asked (LoadLibrary - GetProcAddress - print the result). I'll look into this. Danny -- Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info