X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=sim%2FREADME-HACKING;h=26dbde2932074d925653ad6bdbf252e256f4d668;hb=17fc27167f678285d2f64040837b8cc41b6a664a;hp=77cad9427b62355671c7875235bf15ca3c6b7ef0;hpb=aba193a5149f8dc4c52ab1f07988d9c3a1e88b73;p=deliverable%2Fbinutils-gdb.git diff --git a/sim/README-HACKING b/sim/README-HACKING index 77cad9427b..26dbde2932 100644 --- a/sim/README-HACKING +++ b/sim/README-HACKING @@ -7,7 +7,6 @@ Contents - Common Makefile Support - TAGS support - Generating "configure" files -- tconfig.in - C Language Assumptions - "dump" commands under gdb @@ -31,11 +30,11 @@ Common Makefile Support A common configuration framework is available for simulators that want to use it. The common framework exists to remove a lot of duplication -in configure.in and Makefile.in, and it also provides a foundation for +in configure.ac and Makefile.in, and it also provides a foundation for enhancing the simulators uniformly (e.g. the more they share in common the easier a feature added to one is added to all). -The configure.in of a simulator using the common framework should look like: +The configure.ac of a simulator using the common framework should look like: --- snip --- dnl Process this file with autoconf to produce a configure script. @@ -158,16 +157,6 @@ To add the entries to an alternative ChangeLog file, use: $ make ChangeLog=MyChangeLog .... - -tconfig.in -========== - -File tconfig.in defines one or more target configuration macros -(e.g. a tm.h file). There are very few that need defining. -For a list of all of them, see common/tconfig.in. -It contains them all, commented out. -The intent is that a new port can just copy this file and -define the ones it needs. C Language Assumptions ====================== @@ -175,9 +164,7 @@ C Language Assumptions The programmer may assume that the simulator is being built using an ANSI C compiler that supports a 64 bit data type. Consequently: - o prototypes can be used (although using - PARAMS() and K&R declarations wouldn't - go astray). + o prototypes can be used o If sim-types.h is included, the two types signed64 and unsigned64 are