aboutsummaryrefslogtreecommitdiff
path: root/gdb/nlm/gdbserve.c
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1994-09-01 22:57:32 +0000
committerStu Grossman <grossman@cygnus>1994-09-01 22:57:32 +0000
commit736c56dedf807678bc0194ad67d9bd54d0e2b544 (patch)
tree93c90b73a83c25e0e108176aa7830e7db7832cec /gdb/nlm/gdbserve.c
parent9feea50607bcca12f68a75623db402bd2a9dea05 (diff)
downloadgdb-736c56dedf807678bc0194ad67d9bd54d0e2b544.zip
gdb-736c56dedf807678bc0194ad67d9bd54d0e2b544.tar.gz
gdb-736c56dedf807678bc0194ad67d9bd54d0e2b544.tar.bz2
* rs6000-pinsn.c (print_insn): Use powerpc disassembler when
doing Power PC. * config/powerpc/tm-ppc-nw.h: Define GDB_TARGET_POWERPC. * config/i386/i386lynx.mh, config/m68k/m68klynx.mh, config/rs6000/rs6000lynx.mh, config/sparc/sparclynx.mh: Enable ser-tcp. * nlm/Makefile.in: Get rid of NWSOURCE. * nlm/alpha-io.S (inVti, outVti): Remove extraneous ldha's. * nlm/gdbserve.o: Add dummy __main routine. * nlm/gdbserve.def: Turn on debug.
Diffstat (limited to 'gdb/nlm/gdbserve.c')
-rw-r--r--gdb/nlm/gdbserve.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/nlm/gdbserve.c b/gdb/nlm/gdbserve.c
index 9eecc70..481bee0 100644
--- a/gdb/nlm/gdbserve.c
+++ b/gdb/nlm/gdbserve.c
@@ -158,9 +158,7 @@ char *hex2mem (char *buf, void *mem, int count, int may_fault);
extern void set_step_traps (struct StackFrame *);
extern void clear_step_traps (struct StackFrame *);
-#if 0
-__main() {};
-#endif
+static int __main() {};
/* Read a character from the serial port. This must busy wait, but
that's OK because we will be the only thread running anyhow. */