* signals.h: Don't undefine signals anymore.
* main.c: Use job_control from serial.h.
* fork-child.c (fork_inferior): Use gdb_setpgid.
* serial.h, ser-unix.c, ser-go32.c: Provide gdb_setpgid.
* utils.c (quit): Use current_target->to_terminal_ours to figure
out whether we care about lack of job control, rather than __GO32__.
* utils.c: Include serial.h not terminal.h
(quit): Use job_control not TIOCGPGRP.
* terminal.h: Don't undefine TIOCGPGRP.
* serial.h, ser-unix.c, ser-go32.c, ser-tcp.c: Add SERIAL_FLUSH_OUTPUT.
* utils.c (quit): Use it.
* serial.h: Add SERIAL_UN_FDOPEN.
* utils.c (quit): Use it.
* ser-unix.c: Add process group to ttystate.
[HAVE_SGTTY]: Add tchars, ltchars, and lmode to ttystate.
* inflow.c: Include serial.h not terminal.h.
Use serial.h stuff to replace most of the maze of #ifdef's.
* inflow.c, main.c, inferior.h: make gdb_has_a_terminal a function.
* serial.h: Document SERIAL_SET_TTY_STATE as being immediate.
* ser-unix.c: Use TIOCSETN not TIOCSETP so it is true.
* serial.h, ser-unix.c, ser-go32.c, ser-tcp.c:
Add SERIAL_PRINT_TTY_STATE, SERIAL_NOFLUSH_SET_TTY_STATE, and
SERIAL_SET_PROCESS_GROUP.
* inflow.c: Use them.
* config/xm-svr4.h, config/rs6000/xm-rs6000.h, config/sparc/sun4os4.h:
Define HAVE_TERMIOS.
* Various: Remove all use of TIOC*_BROKEN.
a function to avoid printing of function arguments in wrong order
due to sorting.
* symfile.c (compare_symbols): Remove code for sorting arguments
as blocks containing arguments are no longer sorted.
* symtab.c (lookup_block_symbol): Update comment accordingly.
intp_var should be N_GSYM not N_LSYM.
wierd-aout.S: Use a label for the value of the N_SO.
wierd.def: Remove all backslashes.
wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
* gdbserver/remote-gutils.c: Remove lots of unused functions and
variables.
* gdbserver/remote-inflow.c: Remove lots of unused variables and
#includes. Also, use PTRACE_* symbols instead of constants.
(mywait): Surround calls to wait() with enable/disable_async_io()
so that we can be interrupted from GDB while waiting for the
child. Also, handle child exit more gracefully.
* gdbserver/remote-server.c: Remove lots of unused variables.
Move all extern defs into server.h. Redo main loop so that
failure from getpkt() causes communications to be re-established.
Fix 'k' command so that it restarts the child.
* gdbserver/remote-utils.c: Remove lots of unloved vars and
subrs. Move many extern decls into server.h. (remote_open): For
tcp, seperate usage of proto fd from connected fd. Close proto
fd after getting connection. (putpkt/getpkt): Pay attention to
errors when reading/writing. Report these to the caller. New
routines input_interrupt/enable_async_io/disable_async_io to make
it possible to get an I/O interrupt when data arrives from the
comm link.
* serial.h: New file to contain common defs for all remote files.
clarification. Also add prototypes for some new functions.
* (remote_wait): Better error reporting for 'T' responses.
* ser-go32.c (strncasecmp): Make str1 & str2 be const.
* (dos_async_init): Make usage message reflect requested port #.
* ser-tcp.c (tcp_open): Terminate hostname properly to prevent
random hostname lookup failures. Add nicer message for unknown
host error. (wait_for): Wake up in case of exceptions. Also,
restart select() if we got EINTR.
* ser-unix.c (wait_for): Restart select() if we got EINTR.
* serial.c: (serial_close): Clean up code.
fonts and whether US or A4 paper for GDB refcard; (refcard.dvi)
collect sed edits if any, apply to refcard before formatting;
(refcard.ps) stop implying PS fonts if PS output requested;
(lrefcard.ps) delete extra target for variant PS fonts
* refcard.tex: parametrize papersize dependent info, collect
in easily replaced spot
* a4rc.sed: new file, edits to refcard for A4 paper
Make comment explaining this comprehensible.
(TAGFILES): Include ALLDEPFILES.
(ALLDEPFILES): udi2soc.c and udr.c are in 29k-share/udi, not
29k-share/udi/udi.
(update-alldeps): Remove; obsolete.
* NEWS: Mention filename completion and "info line" enhancements.
* main.c (symbol_completion_function): On "info t foo", return NULL,
don't error().
* main.c (symbol_completion_function): Don't use readline word
breaking. Use new calling convention for c->completer and
complete_on_cmdlist.
* command.h (struct command): Change arguments; now the text passed
to completer does not have any word breaking done. New arg word.
* symtab.{c,h} (make_symbol_completion_list): Do word breaking. Take
word argument.
* {main.c,gdbcmd.h} ({filename,noop}_completer): Take word argument.
* command.{c,h} (complete_on_cmdlist): Take word argument.
* command.c (lookup_cmd_1): Doc fix.
* Makefile.in (HFILES): Include monitor.h.
* Makefile.in: Include text that used to be in alldeps.mak.
Remove config/mips/{bigmips.mh,xm-bigmips} from it.
* Makefile.in, configure.in: Remove all traces of alldeps.mak.
per standards.texi.
New option --version per standards.texi.
In help message, show long options with "--" not "-".
Don't try to print help message or version until after we have
called initialize_all_files.
* configure.in: Use them.
* alldeps.mak: List them.
* coffread.c (decode_base_type): Deal with anonymous enum type.
* i387-tdep.c (print_387_status_word): Add comment re "top".
* i386-tdep.c [I386_AIX_TARGET] (i386_extract_return_value): New func.
* dbxread.c: Use SEEK_SET and SEEK_CUR, not L_*. Define them if and
only if not defined by a header file.
* mipsread.c: Don't define L_SET or L_INCR.
gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
Makefile.in (distclean, realclean): Remove gdbme.c from list of
things to remove.
* gdb.t12/scope.exp: Add clear_xfails at appropriate places to
avoid spurious xfails.
* gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
* gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
* gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
with system headers.
* printcmd.c (printf_command): Cast second arg to vprintf to PTR.
Use VPRINTF macro if defined.
* config/m88k/xm-delta88.h: Define VPRINTF. Include <sys/siginfo.h>.
Define TIOC{GETC,GLTC}_BROKEN.
* m88k-nat.c: Uncomment include of <sys/ptrace.h>.
* main.c: Rename initialize_{main,cmd_lists,history} to init_* to
make things easier on munch (apparently this matters on
the delta88 with svr3).
${srcdir}/../include.
* config/m88k/xm-delta88.h: Comment out unused defines which conflict
with system headers.
* printcmd.c (printf_command): Cast second arg to vprintf to PTR.
Use VPRINTF macro if defined.
* config/m88k/xm-delta88.h: Define VPRINTF. Include <sys/siginfo.h>.
Define TIOC{GETC,GLTC}_BROKEN.
* m88k-nat.c: Uncomment include of <sys/ptrace.h>.
* main.c: Rename initialize_{main,cmd_lists,history} to init_* to
make things easier on munch (apparently this matters on
the delta88 with svr3).
host.
* sh-tdep.c (frame_find_saved_regs): Use NUM_REGS rather than hard
wired (and wrong) constant.
* values.c (unpack_long): Add case to unpack when target object is
sizeof(int).
* config/sh/tm-sh.h (REGISTER_NAMES): Know about the news ones the
simulator defines.
RMS says this manual need not carry GPL. (passim): Improvements
from last round at FSF, largely due to Ian Taylor review, and
minor formatting improvements.
* gdbinv-s.texi (passim): Improvements from last round at FSF,
largely due to Ian Taylor review. (Debug Session): minor edits to
new text.
description of each test, fix problem with systems that define
ALIGN_STACK_ON_STARTUP code, other misc cleanups.
* gdb.t06/break.exp (test_next_with_recursion): Fix expected
results for "next over recursive call" so timeouts aren't taken
by error.
source.c: Use it for "directory" command.
(But '/' is a word break, limiting usefulness; see comments).
* source.c (mod_path): Warning not error if can't find directory.
defined, don't worry about Sun's silly LBRAC bug.
* dbxread.c (process_one_symbol): If there's a symbol before an
N_SO, don't error().
(case N_BCOMM): complain () not error ().