* configure.in (mips-idt-ecoffl*): New target; use idtl.
(mips-idt-ecoff*): Added trailing '*'.
* config/mips/idtl.mt: New file; like idt.mt, but little endian.
Stu Grossman [Thu, 3 Jun 1993 23:44:24 +0000 (23:44 +0000)]
* Patches from Jeffrey Law <law@cs.utah.edu>.
* hppab-nat.c: Eliminate unnecessary ifdefs for
FETCH_INFERIOR_REGISTERS, CANNOT_FETCH_REGISTER, and
CANNOT_STORE_REGISTER.
(fetch_register): Delete code to handle CANNOT_FETCH_REGISTER.
* hppa-pinsn.c: Support 'I', 'J', and 'K' in output
templates for 1.1 FP computational instructions.
Stu Grossman [Thu, 3 Jun 1993 10:52:57 +0000 (10:52 +0000)]
* gdbserver/Makefile.in (gdbserver): Use -lbsd.
* gdbserver/remote-inflow{-sparc}.c (create_inferior): Don't use a
shell when running the child, as args have been expanded by the
time we get here. Simplify calling convention.
* gdbserver/remote-server.c (main): Use new calling convention
for create_inferior, remove defunct code for coalescing argv.
Remove extra calls to mywait(), as we no longer have to wade
through a shell.
Fred Fish [Wed, 2 Jun 1993 04:57:17 +0000 (04:57 +0000)]
* target.c (target_read_memory_partial): Like target_read_memory,
but does partial reads, such as reads that bump into the end of
the address space.
* target.h (target_read_memory_partial): Add prototype.
* valprint.c (PRINT_MAX_DEFAULT): New define, initial value 200.
* valprint.c (val_print_string): Complete rewrite to fix bug with
bumping into end of memory, avoiding unnecessarily long reads, and
fixing bug when print_max is set to 0 (unlimited print length).
* valprint.c (_initialize_valprint): Use PRINT_MAX_DEFAULT to
initialize print_max.
Fred Fish [Wed, 2 Jun 1993 04:35:13 +0000 (04:35 +0000)]
* gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
is fixed and PR is closed.
* gdb.t16 (gdbme.c): Add simple test string variable.
* gdb.t16 (printcmds.exp): Add tests with simple test string
variable, primarily for boundaries on "set print elements".
Jim Kingdon [Mon, 31 May 1993 20:13:49 +0000 (20:13 +0000)]
CVS:foo
* gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
* gdb.stabs/wierd.def: Type attributes must be preceded by number=.
* gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
don't end command passed to gdb_test with newline.
Jim Kingdon [Mon, 31 May 1993 20:13:31 +0000 (20:13 +0000)]
* gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
* gdb.stabs/wierd.def: Type attributes must be preceded by number=.
* gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
don't end command passed to gdb_test with newline.
Jim Kingdon [Mon, 31 May 1993 19:10:29 +0000 (19:10 +0000)]
* gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
signed keyword away, don't expect signed bitfields to be signed.
* gdb.t13/bitfields.exp (bitfield containment): Accept the fields
printing with only as many 1's as are in the field as well as printing
with 32 1's (see comment).
Jim Kingdon [Mon, 31 May 1993 16:32:16 +0000 (16:32 +0000)]
* stabs.texinfo (Builtin Type Descriptors): Try to clarify what
NF_LDOUBLE means.
(Stab Types): Include Solaris stab types.
(Procedures): Document Solaris extensions.
Fred Fish [Mon, 31 May 1993 00:21:41 +0000 (00:21 +0000)]
* {dbxread.c, dwarfread.c} (read_ofile_symtab): Rewrite to take
single parameter, the pointer to the partial symtab, rather than
a bunch of args that are derived from the partial symtab. Change
prototypes and callers to match.
Fred Fish [Sun, 30 May 1993 22:41:52 +0000 (22:41 +0000)]
* dbxread.c (read_ofile_symtab): Remove "#if 1" around code to
set demangling style automatically.
* defs.h (CPLUS_MARKER): Clarify comment that this is only for
GNU C++, not C++ in general.
* symtab.h (general_symbol_info): Simplify by eliminating one
structure level for the language dependent info.
Fred Fish [Sun, 30 May 1993 01:14:47 +0000 (01:14 +0000)]
* configure.in (configdirs): Remove gdb.t31 until the chill
compiler works again. It no longer is able to find chillrt0
since it isn't in libchill.a anymore.
Fred Fish [Sun, 30 May 1993 00:03:59 +0000 (00:03 +0000)]
* c-typeprint.c (c_type_print_base): Avoid dereferencing NULL
names for TYPE_CODE_STRUCT and TYPE_CODE_UNION types.
TYPE_CODE_ENUM was already testing for this.
Stu Grossman [Sat, 29 May 1993 01:33:36 +0000 (01:33 +0000)]
* Makefile.in: Add new file ser-tcp.c.
* defs.h (memcmp): Add decl for memcmp to #ifndef MEM_FNS_DECLARED.
* findvar.c (write_register): See if we are writing back the same
value that's already in the register. If so, don't bother.
* remote.c (putpkt, getpkt): Improve handling of communication
problems.
* ser-go32.c: Prototype it to death. Update serial_ops and add
dummy routines where appropriate.
* ser-tcp.c: New module to implement serial I/O via TCP
connections.
* ser-unix.c: Clean up getting/setting of tty state. Get rid of
SERIAL_RESTORE, add SERIAL_{GET|SET}_TTY_STATE interfaces.
* serial.c: Add start of support for connect command.
(serial_open): Distinguish between tcp and local devices.
* serial.h (struct serial_ops): Get rid of restore, add
get_tty_state and set_tty_state. Define protoypes and macros for
this mess.
* gdbserver/remote-utils.c: Add tcp support. (readchar): Do
some real buffering. Handle error conditions gracefully.
* gdbserver/remote-inflow-sparc.c: Update to remote-inflow.c
(Lynx), remove lots of cruft.
David D. Zuhn [Sat, 29 May 1993 00:26:49 +0000 (00:26 +0000)]
* printcmd.c (print_address_symbolic): turn this into an assigment
instead of an initialization (many compilers don't accept
structure initialization).
Per Bothner [Fri, 28 May 1993 22:07:47 +0000 (22:07 +0000)]
* Makefile.in (install): Also install ar and ranlib in
$(tooldir)/bin; needed for building libgcc.a.
* objdump.c (objdump_print_address): Fix the check
"coincidental" label matches by dis-allowing undefined
or com symbols.
Ken Raeburn [Thu, 27 May 1993 22:23:41 +0000 (22:23 +0000)]
Part of bfd reconfiguration: Move bfd.h to bfd directory.
This file now just includes it; see if that helps us avoid requiring -I../bfd
in various places.