From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17216 invoked by alias); 6 Jul 2004 18:59:50 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 17197 invoked from network); 6 Jul 2004 18:59:48 -0000 Received: from unknown (HELO maynard.mail.mindspring.net) (207.69.200.243) by sourceware.org with SMTP; 6 Jul 2004 18:59:48 -0000 Received: from user-119a90a.biz.mindspring.com ([66.149.36.10] helo=berman.michael-chastain.com) by maynard.mail.mindspring.net with esmtp (Exim 3.33 #1) id 1BhvAQ-0001rv-00; Tue, 06 Jul 2004 14:59:46 -0400 Received: by berman.michael-chastain.com (Postfix, from userid 502) id 3360F4B104; Tue, 6 Jul 2004 14:59:52 -0400 (EDT) To: drow@false.org, mec.gnu@mindspring.com Subject: Re: [rfa] New test sigbpt.{c,exp} Cc: ac131313@redhat.com, gdb-patches@sources.redhat.com Message-Id: <20040706185952.3360F4B104@berman.michael-chastain.com> Date: Tue, 06 Jul 2004 18:59:00 -0000 From: mec.gnu@mindspring.com (Michael Elizabeth Chastain) X-SW-Source: 2004-07/txt/msg00052.txt.bz2 mec> How about: mec> mec> (1) before running the program, 'disassemble bowler' mec> (2) at the breakpoint, 'x/i $pc' mec> check that the output of (2) matches one of the lines in (1) drow> That's not a good generic fix; it's just a peculiarity of x86 that we drow> get this particular problem. If that hadn't been a multibyte opcode drow> something different would have happened. It would be a useful test because it would never give a false positive. If the instruction in (2) is not present in (1) then that is always a problem. I agree that it would be full of false negatives; like, any RISC arch with fixed-width instructions would PASS. drow> I think just executing another instruction here after the faulting one drow> is enough to match the kfail, whether it's the size of a breakpoint or drow> not. That's okay with me too. Michael C not-enough-sleep-today