Made N_TXTADDR() work for kernels (assume that a ZMAGIC file with an out of bounds a_entry is a kernel and use the usual kludge to find the text address).  If gdb had used this, it would have been able to find the kernel text address properly.  Unfortunately, it uses its own a.out macros, so this is mainly an example for gdb to copy.
Made N_TXTADDR() work for kernels (assume that a ZMAGIC file with an
out of bounds a_entry is a kernel and use the usual kludge to find
the text address).  If gdb had used this, it would have been able
to find the kernel text address properly.  Unfortunately, it uses
its own a.out macros, so this is mainly an example for gdb to copy.

jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase