From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24367 invoked by alias); 13 Sep 2005 14:56:45 -0000 Mailing-List: contact cgen-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cgen-owner@sources.redhat.com Received: (qmail 24326 invoked by uid 22791); 13 Sep 2005 14:56:40 -0000 Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Tue, 13 Sep 2005 14:56:40 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id j8DEuc9u022365 for ; Tue, 13 Sep 2005 10:56:38 -0400 Received: from pobox.toronto.redhat.com (pobox.toronto.redhat.com [172.16.14.4]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id j8DEucV06338; Tue, 13 Sep 2005 10:56:38 -0400 Received: from toenail.toronto.redhat.com (toenail.toronto.redhat.com [172.16.14.211]) by pobox.toronto.redhat.com (8.12.8/8.12.8) with ESMTP id j8DEuboF016849; Tue, 13 Sep 2005 10:56:37 -0400 Received: from toenail.toronto.redhat.com (localhost.localdomain [127.0.0.1]) by toenail.toronto.redhat.com (8.13.4/8.13.4) with ESMTP id j8DEubbO010764; Tue, 13 Sep 2005 10:56:37 -0400 Received: (from fche@localhost) by toenail.toronto.redhat.com (8.13.4/8.13.4/Submit) id j8DEubQG010763; Tue, 13 Sep 2005 10:56:37 -0400 Date: Tue, 13 Sep 2005 14:56:00 -0000 From: "Frank Ch. Eigler" To: Will Newton Cc: cgen@sources.redhat.com Subject: Re: Gas error messages Message-ID: <20050913145636.GG11531@redhat.com> References: <0D107966AF6D79418315B7C5549F4B5104DFEC@lemail1.le.imgtec.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="MfFXiAuoTsnnDAfZ" Content-Disposition: inline In-Reply-To: <0D107966AF6D79418315B7C5549F4B5104DFEC@lemail1.le.imgtec.org> User-Agent: Mutt/1.4.2.1i X-SW-Source: 2005-q3/txt/msg00024.txt.bz2 --MfFXiAuoTsnnDAfZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-length: 749 Hi - On Tue, Sep 13, 2005 at 03:50:47PM +0100, Will Newton wrote: > I'm parsing an operand with a custom parser, e.g.: > [...] > And then in the .opc file: > Parse_my_parser(...) > [...] Are you sure this function in the .opc file is being used? Parsers are normally named "parse_*" instead of "Parse_*". > However, when the error message is returned, instead of printing my > error message, as expected, gas spits out: > test.s:28: Error: unrecognized keyword/register name > [...] It's hard to say definitively. The error message could come from a prior operand, or a different problem. It may be informative to inspect the opcodes/ generated files, put debugger breakpoints or printf's into the code, and running the test again. - FChE --MfFXiAuoTsnnDAfZ Content-Type: application/pgp-signature Content-Disposition: inline Content-length: 189 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFDJuikVZbdDOm/ZT0RAs+bAJ46c5AVR5i1YrEomSBY1RMaVRmenwCdHtUk nJl2mbl7Fa4QXzMpLFyavFo= =Tiu7 -----END PGP SIGNATURE----- --MfFXiAuoTsnnDAfZ--