From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30703 invoked by alias); 9 Aug 2011 15:25:18 -0000 Received: (qmail 30689 invoked by uid 22791); 9 Aug 2011 15:25:16 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 09 Aug 2011 15:25:03 +0000 Received: (qmail 12959 invoked from network); 9 Aug 2011 15:25:02 -0000 Received: from unknown (HELO ?192.168.0.101?) (yao@127.0.0.2) by mail.codesourcery.com with ESMTPA; 9 Aug 2011 15:25:02 -0000 Message-ID: <4E415152.8020905@codesourcery.com> Date: Tue, 09 Aug 2011 15:25:00 -0000 From: Yao Qi User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.18) Gecko/20110617 Lightning/1.0b2 Thunderbird/3.1.11 MIME-Version: 1.0 To: Mark Kettenis CC: gdb-patches@sourceware.org Subject: Re: [RFA 7/8] New port: TI C6x: test case fixes References: <4E263904.8030204@codesourcery.com> <4E2D1AC1.9070102@codesourcery.com> <201108091522.12881.pedro@codesourcery.com> <4E414C49.9020507@codesourcery.com> <201108091515.p79FFoUs007220@glazunov.sibelius.xs4all.nl> In-Reply-To: <201108091515.p79FFoUs007220@glazunov.sibelius.xs4all.nl> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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: 2011-08/txt/msg00194.txt.bz2 On 08/09/2011 11:15 PM, Mark Kettenis wrote: > Why depend on this NOMMU-magic? Just install the signal handler for > bth SIGSEGV and SIGILL, try a store to (or perhaps a read from) > address 0, and then fall through to executing an illegal instruction. Because I want to reduce the scope of using invalid instruction. We only need to know the invalid instruction for HAS_NOMMU arch, and emit error if we forget to define an invalid instruction for a new NOMMU port. Do it make sense? -- Yao (齐尧)