public inbox for cgen@sourceware.org
 help / color / mirror / Atom feed
From: Jim Blandy <jimb@redhat.com>
To: cgen@sources.redhat.com
Subject: RFA: emit extern declaration for @arch@_cgen_hw_table
Date: Wed, 24 Sep 2003 19:16:00 -0000	[thread overview]
Message-ID: <vt2zngunjst.fsf@zenia.home> (raw)


This is the second part of the possible kludge.  With these two
changes, I can traverse the hardware table and find the register sets
available to me.

2003-07-31  Jim Blandy  <jimb@redhat.com>

	* desc-cpu.scm (gen-hw-table-decls): Emit an 'extern' declaration
	for @arch@_cgen_hw_table.  GDB needs to be able to find this.

Index: cgen/desc-cpu.scm
===================================================================
RCS file: /cvs/cvsfiles/devo/cgen/desc-cpu.scm,v
retrieving revision 1.29.2.6
diff -c -r1.29.2.6 desc-cpu.scm
*** cgen/desc-cpu.scm	14 Feb 2003 00:01:20 -0000	1.29.2.6
--- cgen/desc-cpu.scm	31 Jul 2003 09:42:05 -0000
***************
*** 223,228 ****
--- 223,229 ----
     "/* Hardware decls.  */\n\n"
     (string-map -gen-hw-decl (current-hw-list))
     "\n"
+    "extern const CGEN_HW_ENTRY @arch@_cgen_hw_table[];\n"
     )
  )
  

                 reply	other threads:[~2003-09-24 18:15 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=vt2zngunjst.fsf@zenia.home \
    --to=jimb@redhat.com \
    --cc=cgen@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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).