I built gdb to run on a solaris 2.5.1 with the target as m68k-*-elf. The configure and make worked with no errors. When I try to run gdb, for most of the commands I get an undefined command error. I can't find in the source code where the command initialization routines are being called from. Here is the output from a gdb session. GNU gdb 4.17 Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "--host=sparc-sun-solaris2.5.1 --target=m68k-*-elf". Setting up the environment for debugging gdb. .gdbinit:3: Error in sourced command file: Undefined command: "set". Try "help". No display number 0. Disabling display 0 to avoid infinite recursion. (gdb) set remotedebug 1 Undefined command: "set". Try "help". (gdb) target remote /dev/ttya Undefined command: "target". Try "help". (gdb)