From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20456 invoked by alias); 21 Jun 2009 09:50:21 -0000 Received: (qmail 20446 invoked by uid 22791); 21 Jun 2009 09:50:20 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_55,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: sourceware.org Received: from sif.is.scarlet.be (HELO sif.is.scarlet.be) (193.74.71.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 21 Jun 2009 09:50:13 +0000 Received: from [172.17.1.10] (ip-81-11-239-229.dsl.scarlet.be [81.11.239.229]) by sif.is.scarlet.be (8.14.2/8.14.2) with ESMTP id n5L9nuJo012507; Sun, 21 Jun 2009 11:49:57 +0200 Subject: Re: Patch : gdbserver get_image_name on CE From: Danny Backx Reply-To: danny.backx@scarlet.be To: Pedro Alves Cc: gdb-patches@sourceware.org In-Reply-To: <200906141523.36328.pedro@codesourcery.com> References: <1244903385.20290.9.camel@pavilion> <1244969225.20290.59.camel@pavilion> <1244972893.20290.71.camel@pavilion> <200906141523.36328.pedro@codesourcery.com> Content-Type: text/plain Date: Sun, 21 Jun 2009 09:50:00 -0000 Message-Id: <1245577804.15871.48.camel@pavilion> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-DCC-scarlet.be-Metrics: sif 20001; Body=3 Fuz1=3 Fuz2=3 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-06/txt/msg00545.txt.bz2 On Sun, 2009-06-14 at 15:23 +0100, Pedro Alves wrote: [omitted discussion between Pedro and me about what to do with setjmp] > Read the code again. It is used in more cases than just exiting. In > any case, this would be going too far. Replacements or an alternative > similar mechanism is in order. I've borrowed setjmp/longjmp assembler code from newlib and copied them into mingw/mingwex. So I was now able to compile gdbserver without the #if 0 lines to remove its calls to setjmp or longjmp . Is the rest of my patch acceptable or are there things I need to address ? Once this gdbserver stuff is done, I'll come up with the gdb part of my work. Danny -- Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info