From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14760 invoked by alias); 8 Oct 2007 19:35:05 -0000 Received: (qmail 14745 invoked by uid 22791); 8 Oct 2007 19:35:04 -0000 X-Spam-Check-By: sourceware.org Received: from fk-out-0910.google.com (HELO fk-out-0910.google.com) (209.85.128.187) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 08 Oct 2007 19:34:57 +0000 Received: by fk-out-0910.google.com with SMTP id 26so1351566fkx for ; Mon, 08 Oct 2007 12:34:54 -0700 (PDT) Received: by 10.82.134.12 with SMTP id h12mr6179009bud.1191872093634; Mon, 08 Oct 2007 12:34:53 -0700 (PDT) Received: from ?78.130.29.219? ( [78.130.29.219]) by mx.google.com with ESMTPS id k5sm7842850nfd.2007.10.08.12.34.48 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 08 Oct 2007 12:34:49 -0700 (PDT) Message-ID: <470A861E.3080200@portugalmail.pt> Date: Mon, 08 Oct 2007 19:38:00 -0000 From: Pedro Alves User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; pt-BR; rv:1.8.1.6) Gecko/20070728 Thunderbird/2.0.0.6 Mnenhy/0.7.5.0 MIME-Version: 1.0 To: Pierre Muller CC: 'Joel Brobecker' , gdb-patches@sourceware.org Subject: Re: [RFA] ARI fix: Remove asprintf in breakpoint.c References: <009c01c809a5$c05be1c0$4113a540$@u-strasbg.fr> <20071008134219.GK3570@adacore.com> <00a001c809b2$56fc8ec0$04f5ac40$@u-strasbg.fr> In-Reply-To: <00a001c809b2$56fc8ec0$04f5ac40$@u-strasbg.fr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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-10/txt/msg00178.txt.bz2 Pierre Muller wrote: > No, sorry, but the testsuite on cygwin is really a pain, > it has some signal problems that makes the testsuite > horribly slow, with tons of timeouts... > and no I have no easy linux access. > I know what you mean ... I use these patches to be able to test on Cygwin less painfully: [PATCH] i386_skip_prologue http://sources.redhat.com/ml/gdb-patches/2006-12/msg00140.html [[PATCH] Line info in the presence of __main, and NOTE_INSN_FUNCTION_BEG after scheduling:] http://gcc.gnu.org/ml/gcc-patches/2006-12/msg00633.html The gcc patch is really outdated, and doesn't apply to current gcc svn, so I still have a gcc build from 20061123 to test gdb. Far from ideal, but otherwise, many testcases timeout and go untested. I keep wanting to fix this correctly, but I never get around to it. From the last discussion on the subject, the idea was to teach the i386 (and any other arch that cares) prologue reader about __main as a first step. I don't think that's hard. Cheers, Pedro Alves