aboutsummaryrefslogtreecommitdiff
path: root/gdb/sh-tdep.c
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-10-22 05:55:58 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-10-22 05:55:58 +0000
commit976bb0be038b72449683a428903658347d581eaa (patch)
tree529d1c62dbd968e77a969d1a7e8eca9cf7acef63 /gdb/sh-tdep.c
parent06b24c9e49dfa67288c315ec205776c29c086358 (diff)
downloadgdb-976bb0be038b72449683a428903658347d581eaa.zip
gdb-976bb0be038b72449683a428903658347d581eaa.tar.gz
gdb-976bb0be038b72449683a428903658347d581eaa.tar.bz2
* Makefile.in (init.c): Generate using the source, not munch. This
cleans up all kinds of hassles (which nm to use in munch, etc). The new formatting conventions (mostly already followed) are that the name of the _initialize_* routines must start in column zero, and must not be inside #if. * munch: Removed. * Makefile.in: Remove references to munch. * serial.c, remote.c, infptrace.c, maint.c, convex-tdep.c, alpha-tdep.c, hp300ux-nat.c, hppab-nat.c, osfsolib.c, remote-es.c, procfs.c, remote-udi.c, ser-go32.c, ultra3-xdep.c, sh-tdep.c, i960-tdep.c, hppa-tdep.c, h8500-tdep.c, dpx2-nat.c, delta68-nat.c, z8k-tdep.c: Make sure the above conventions are followed. Make sure they are all declared as returning void. Clean up miscellaneous comments and such.
Diffstat (limited to 'gdb/sh-tdep.c')
-rw-r--r--gdb/sh-tdep.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/sh-tdep.c b/gdb/sh-tdep.c
index 5b89780..3b04d54 100644
--- a/gdb/sh-tdep.c
+++ b/gdb/sh-tdep.c
@@ -254,6 +254,7 @@ char *prog;
return sim_load_standard (abfd);
}
+void
_initialize_sh_tdep ()
{
extern int sim_memory_size;