public inbox for cgen@sourceware.org
 help / color / mirror / Atom feed
* RFA: emit extern declaration for @arch@_cgen_hw_table
@ 2003-09-24 19:16 Jim Blandy
  0 siblings, 0 replies; only message in thread
From: Jim Blandy @ 2003-09-24 19:16 UTC (permalink / raw)
  To: cgen


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"
     )
  )
  

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-09-24 18:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-24 19:16 RFA: emit extern declaration for @arch@_cgen_hw_table Jim Blandy

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).