How to compile gdb416 for the pd-bdm interface and Linux 2.2x

1. bdm kernel driver:
1.1 insert -I/usr/src/linux/include into CFLAGS in Makefile
1.2 Change calls to get_fs_word into get_user calls
	//              bdm_word = get_fs_word(buf);
	                get_user(bdm_word,(const unsigned short *)buf);

1.3 Change calls to put_fs_xxx into put_user calls

	//              put_fs_long(bdm_version, arg);
                        put_user(bdm_version,(unsigned int *) arg);
	//              put_fs_word(wert, buf);
	                put_user(wert, (unsigned short *) buf);
1.4 compile and ignore the warnings...				 
1.5 run the MAKEDEV shellscript
1.6 insmod bdm.o (maybe call 'sync' before you do, just in case...)
1.7 if this fails beacuse of lacking symbols, change the Makefile to include
the AUTOLOADING line, remove bdm.o and recompile

2. gdb416
2.1 untar gdb-4.16 and gdb-4.16-bdm-patches
2.2 patch gdb: cd gdb-4.16; patch -p1 <../gdb-4.16-bdm-patches/gdb-4.16.patch
2.3 Change mmalloc library by uncommenting the free function in mfree, or
libc will call this function and libmmalloc will be very confused
2.4 run the ./configure script with -target=m68k-bdm-coff
2.5 remove the readline direcotry from the central Makefile
2.6 remove the readline library from the Makefile in gdb. 
	set READLINE_DIR to /usr/include/readline
	set READLINE to -lreadline, libreadline.a should be in the library path
	READLINE_SRC and READLINE_CFLAGS are fine.
2.7 replace TERMCAP with -lcurses
2.8 install the file gdbinit_sample as ~/.gdbinit68 
2.9 compile, test gdb

