ANSI compiler warnings.
* energize.h: Move all external struct decls to inside of
__STDC__, add prototype for energize_shell_wait().
* energize.c (getpty): Clean up, make us really get a controlling
terminal.
* (energize_initialize): Disable SIGIO prior to setting up for
I/O interrupts. Move setsid(), et. al. to getpty().
* (energize_shell_wait): New routine to wait for things started
via the shell command, uses wait() instead of /dev/proc.
* Also, add prototype for execute_command_1().
termination condition.
(full_filename): Don't prepend dirname if filename begins with /.
(breakpoint_notify, kernel_dispatch): Deal with DynamicLoad
messages properly!!
(getpty (NCR)): Lotsa bug fixes...
(kernel_dispatch (case StopRType)): Use kill() instead of
killpg() so we can deal with losing systems...
(wait_for_events): Work around NCR select() lossage. It doesn't
zero out readfds when select() returns zero.
(energize_initialize): Use I_SETSIG to get SIGIO interrupts. Use
getcwd() instead of getwd() (NCR getwd() seg faults).
(energize_wait): Use sigaction() for NCR. Their version of signal()
is unreliable by default.
places where we must notify kernel of where the given pc is.
(cplus_demangle): Put single-quotes around demangled names.
(energize_call_command): Call send_location() after doing up,
down, and frame commands.
energize-patches. Change all routines and variables named
'cadillac*' to 'energize*'. Create new file called energize.h to
hold all interface declarations.