From: Ben Elliston <bje@redhat.com>
To: gdb-patches@sources.redhat.com
Cc: bje@redhat.com
Subject: [RFA] Patch for cgen_rtx_error()
Date: Sat, 07 Oct 2000 18:40:00 -0000 [thread overview]
Message-ID: <200010080038.LAA27334@dublin.cygnus.com> (raw)
The following patch implements the cgen_rtx_error function, which is
invoked by cgen-generated code. Until now, no one has used the cgen
(error ..) rtx, so this has gone unnoticed.
Okay to commit?
Ben
2000-10-08 Ben Elliston <bje@redhat.com>
* cgen-utils.c (cgen_rtx_error): New function.
diff -u -r1.26 cgen-utils.c
--- cgen-utils.c 2000/09/26 17:24:19 1.26
+++ cgen-utils.c 2000/10/08 01:37:31
@@ -423,3 +423,15 @@
return val;
}
+
+/* Emit an error message from CGEN RTL. */
+
+void
+cgen_rtx_error (SIM_CPU *cpu, const char * fmt, ...)
+{
+ va_list ap;
+ va_start(ap, fmt);
+ sim_io_printf (CPU_STATE (cpu), fmt, ap);
+ va_end(ap);
+ sim_io_printf (CPU_STATE (cpu), "\n");
+}
next reply other threads:[~2000-10-07 18:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-10-07 18:40 Ben Elliston [this message]
2000-10-07 18:51 ` Frank Ch. Eigler
[not found] ` <Pine.LNX.4.21.0010090828120.26484-100000@moshpit.cygnus.com>
2000-10-08 14:52 ` Frank Ch. Eigler
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=200010080038.LAA27334@dublin.cygnus.com \
--to=bje@redhat.com \
--cc=gdb-patches@sources.redhat.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