From: "Frank Ch. Eigler" <fche@redhat.com>
To: Will Newton <will.newton@imgtec.com>
Cc: cgen@sources.redhat.com
Subject: Re: Gas error messages
Date: Tue, 13 Sep 2005 14:56:00 -0000 [thread overview]
Message-ID: <20050913145636.GG11531@redhat.com> (raw)
In-Reply-To: <0D107966AF6D79418315B7C5549F4B5104DFEC@lemail1.le.imgtec.org>
[-- Attachment #1: Type: text/plain, Size: 749 bytes --]
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
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2005-09-13 14:56 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-13 14:51 Will Newton
2005-09-13 14:56 ` Frank Ch. Eigler [this message]
2005-09-13 16:09 Will Newton
2005-09-13 16:17 ` Frank Ch. Eigler
2005-09-14 11:06 Will Newton
2005-09-14 13:59 ` Dave Brolley
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050913145636.GG11531@redhat.com \
--to=fche@redhat.com \
--cc=cgen@sources.redhat.com \
--cc=will.newton@imgtec.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).