aboutsummaryrefslogtreecommitdiff
path: root/gdb/hppab-nat.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/hppab-nat.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/hppab-nat.c')
-rw-r--r--gdb/hppab-nat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/hppab-nat.c b/gdb/hppab-nat.c
index 5f3cdf7..a47474f 100644
--- a/gdb/hppab-nat.c
+++ b/gdb/hppab-nat.c
@@ -135,7 +135,8 @@ struct hpnlist {
static struct hpnlist nl[] = {{ "_u", -1, }, { (char *) 0, }};
/* read the value of the u area from the hp-ux kernel */
-void _initialize_kernel_u_addr ()
+void
+_initialize_kernel_u_addr ()
{
struct user u;
nlist ("/hp-ux", &nl);