From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1617 invoked by alias); 7 Jul 2009 09:38:53 -0000 Received: (qmail 1607 invoked by uid 22791); 7 Jul 2009 09:38:51 -0000 X-SWARE-Spam-Status: No, hits=1.0 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_72,MEDICAL_SUBJECT,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-pz0-f203.google.com (HELO mail-pz0-f203.google.com) (209.85.222.203) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 07 Jul 2009 09:38:45 +0000 Received: by pzk41 with SMTP id 41so4133353pzk.12 for ; Tue, 07 Jul 2009 02:38:43 -0700 (PDT) MIME-Version: 1.0 Received: by 10.142.179.2 with SMTP id b2mr1717420wff.76.1246959523507; Tue, 07 Jul 2009 02:38:43 -0700 (PDT) In-Reply-To: <4A52B7A1.1080104@redhat.com> References: <121fadb80906291848y61466ae6yd167e6a03321d9fa@mail.gmail.com> <4A5274DB.3020705@redhat.com> <121fadb80907061904t1647fa75u7dd0710f4c8310d5@mail.gmail.com> <4A52AE7D.4030300@redhat.com> <121fadb80907061938v25fe8ad7od0ee292c19b06f4a@mail.gmail.com> <4A52B7A1.1080104@redhat.com> Date: Tue, 07 Jul 2009 09:38:00 -0000 Message-ID: <121fadb80907070238k2291724bu9c2434f3c9a93d57@mail.gmail.com> Subject: Re: About machine.md in Insight Gdb in GCC porting From: daniel tian To: Keith Seitz Cc: insight@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mailing-List: contact insight-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sourceware.org X-SW-Source: 2009-q3/txt/msg00011.txt.bz2 Hi: > > Change of tack: whenever you get somewhere you expect to see you .md file, > open the console window and type "list". What does that say? > Also, can you tell me what you do to reproduce the problem? > > If you give me a target triple and a test procedure, I can try to reproduce > a working case here and use that to troubleshoot your scenario. Did you say > some variety of arm worked? > I have tried in both GDB and Insight, the md file doesn't appear. The list you mentioned is at left-top of the Insight GUI? There is no such file in that list. I don't know what 's the "a target triple " mean. Sorry. > You should not need to specify -gdwarf-2 and -g3 (that I know). On most > targets, -g will default to outputting dwarf 2. Just to eliminate the > possibility (and I'm not saying that specifying both will do anything > wrong), try just using "-g" -- at least while we try to debug this. > You solution seems to make sense, but I 've already tried your solution to remove the -gdwarf-2 and -g3 flag. And the md file still does not appear in Insight. > > That should not matter as long as the compiler (and assembler, if assembly > is involved) are outputting debug info. I suspect they are not, but again, I > don't know anything about gcc .md files or how they are used. > There is no assembler. it compile the c language to my machine assemble. MD file is compounded with RTL (GCC intermediate language), which used to describe machine instruction pattern, and C language. HiThanks.