From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26331 invoked by alias); 20 Aug 2009 13:10:28 -0000 Received: (qmail 26320 invoked by uid 22791); 20 Aug 2009 13:10:26 -0000 X-SWARE-Spam-Status: No, hits=-3.0 required=5.0 tests=BAYES_00,J_CHICKENPOX_43,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from tx2ehsobe004.messaging.microsoft.com (HELO TX2EHSOBE007.bigfish.com) (65.55.88.14) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 20 Aug 2009 13:10:15 +0000 Received: from mail138-tx2-R.bigfish.com (10.9.14.237) by TX2EHSOBE007.bigfish.com (10.9.40.27) with Microsoft SMTP Server id 8.1.340.0; Thu, 20 Aug 2009 13:10:12 +0000 Received: from mail138-tx2 (localhost.localdomain [127.0.0.1]) by mail138-tx2-R.bigfish.com (Postfix) with ESMTP id BBAAF1890313 for ; Thu, 20 Aug 2009 13:10:12 +0000 (UTC) X-SpamScore: -2 X-BigFish: VPS-2(zz655Nc8kzz1202hzzz32i6bh62h) X-Spam-TCS-SCL: 1:0 X-FB-SS: 5, Received: by mail138-tx2 (MessageSwitch) id 1250773811181971_23338; Thu, 20 Aug 2009 13:10:11 +0000 (UCT) Received: from Kcinpunhjhc01.kpit.com (unknown [203.197.93.240]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail138-tx2.bigfish.com (Postfix) with ESMTP id 4B31CD3004C for ; Thu, 20 Aug 2009 13:10:10 +0000 (UTC) Received: from Kcinpunhjcms01.kpit.com ([172.10.16.121]) by Kcinpunhjhc01.kpit.com ([172.10.16.123]) with mapi; Thu, 20 Aug 2009 18:40:01 +0530 From: Mahesh Basavaraj Shavari To: "gdb@sourceware.org" CC: Prafulla Thakare Date: Thu, 20 Aug 2009 14:32:00 -0000 Subject: Issue in MinGW GDB execution for M32C target Message-ID: In-Reply-To: <200908140424.n7E4OW7M007380@greed.delorie.com> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2009-08/txt/msg00197.txt.bz2 Hi, I successfully built the MinGW GDB and Simulator with minor changes for M32C target. Now while executing MinGW GDB It gave the following error; ----------------------------------------------------------------------- ----------------------------------------------------------------------- $m32c-elf-gdb test.out GNU gdb (GDB) 6.8.50.20090804 Copyright (C) 2009 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later=20 This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "--host=3Di386-pc-mingw32msvc --target=3Dm32c-el= f". For bug reporting instructions, please see: ... (gdb) tar sim Connected to the simulator. (gdb) load (gdb) b main /home/mahesh/GDB/gdb-6.8/gdb-6.8.50.20090804/gdb/regcache.c:135: internal-error: init_regcache_descr:=20 Assertion `MAX_REGISTER_SIZE >=3D descr->sizeof_register[i]' failed. A problem internal to GDB has been detected, further debugging may prove unreliable.=20 Quit this debugging session? (y or n) n /home/mahesh/GDB/gdb-6.8/gdb-6.8.50.20090804/gdb/regcache.c:135: internal-error: init_regcache_descr:=20 Assertion `MAX_REGISTER_SIZE >=3D descr->sizeof_register[i]' failed. A problem internal to GDB has been detected, further debugging may prove unreliable. Create a core file of GDB? (y or n) ----------------------------------------------------------------------- ----------------------------------------------------------------------- Any help would be highly appreciated. Thank you. Best regards, Mahesh Shavari