From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1069 invoked by alias); 16 May 2014 07:41:33 -0000 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 Received: (qmail 1051 invoked by uid 89); 16 May 2014 07:41:32 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-oa0-f43.google.com Received: from mail-oa0-f43.google.com (HELO mail-oa0-f43.google.com) (209.85.219.43) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Fri, 16 May 2014 07:41:30 +0000 Received: by mail-oa0-f43.google.com with SMTP id l6so2589824oag.30 for ; Fri, 16 May 2014 00:41:29 -0700 (PDT) X-Received: by 10.182.29.225 with SMTP id n1mr15290747obh.2.1400226089148; Fri, 16 May 2014 00:41:29 -0700 (PDT) MIME-Version: 1.0 Received: by 10.60.37.4 with HTTP; Fri, 16 May 2014 00:40:49 -0700 (PDT) In-Reply-To: <5374FF0D.6060608@redhat.com> References: <53719B17.5000208@mentor.com> <5374FF0D.6060608@redhat.com> From: Hui Zhu Date: Fri, 16 May 2014 07:41:00 -0000 Message-ID: Subject: Re: [PATCH] Fix ptype.exp fail in MIPS To: Pedro Alves Cc: Hui Zhu , gdb-patches ml Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes X-SW-Source: 2014-05/txt/msg00276.txt.bz2 On Fri, May 16, 2014 at 1:53 AM, Pedro Alves wrote: > On 05/13/2014 05:09 AM, Hui Zhu wrote: >> ptype $pc >> type = int32_t >> (gdb) FAIL: gdb.base/ptype.exp: ptype $pc >> This is because the $pc register in MIPS is set to int but not code_ptr. >> And according to the discussion in >> https://sourceware.org/ml/gdb/2013-06/msg00020.html, the type cannot be >> changed. > > Hmm, that's not what I get from this branch of the discussion: > > https://sourceware.org/ml/gdb/2013-06/msg00021.html > > -- https://sourceware.org/ml/gdb/2013-06/msg00032.html Do you think add ptr64 or $_xx is OK for you to handle this issue? Thanks, Hui > Pedro Alves >