From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1657 invoked by alias); 11 Sep 2012 19:00:40 -0000 Received: (qmail 1631 invoked by uid 22791); 11 Sep 2012 19:00:38 -0000 X-SWARE-Spam-Status: No, hits=-5.1 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-vb0-f41.google.com (HELO mail-vb0-f41.google.com) (209.85.212.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 11 Sep 2012 19:00:17 +0000 Received: by vbkv13 with SMTP id v13so1423114vbk.0 for ; Tue, 11 Sep 2012 12:00:17 -0700 (PDT) Received: by 10.58.247.165 with SMTP id yf5mr29002322vec.50.1347390017167; Tue, 11 Sep 2012 12:00:17 -0700 (PDT) MIME-Version: 1.0 Received: by 10.58.164.66 with HTTP; Tue, 11 Sep 2012 11:59:56 -0700 (PDT) In-Reply-To: References: <503B9E59.6050502@codesourcery.com> <504478D0.4040202@redhat.com> From: Mike Frysinger Date: Tue, 11 Sep 2012 19:00:00 -0000 Message-ID: Subject: Re: [RFC] New GDB Port CR16 To: Kaushik Phatak Cc: "gdb-patches@sourceware.org" , Yao Qi , Pedro Alves Content-Type: text/plain; charset=ISO-8859-1 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: 2012-09/txt/msg00173.txt.bz2 On Mon, Sep 3, 2012 at 11:49 PM, Kaushik Phatak wrote: > Hi Pedro, >> Is this dependency on host signal defines what is done on other sims? > This was probably added when breakpoint support was being added to this > sim port with reference of the SH port I believe. > >> there is cruft like this in other sims. it probably would be desirable to clean it up. > Yes Mike, I agree. I have tested it without this hunk and breakpoints seem to > work as expected. Please see below the patch that reverts this in sim. > I am rearranging some code to create cr16-linux-tdep.c file as suggested by Yao > and will post the gdb related patches soon. well, the idea would be that you wouldn't use host signals at all. you'd only use SIM_SIGXXX. this patch doesn't really address that, so i wouldn't bother unless you go the distance ;). -mike