Ken Raeburn [Tue, 25 May 1993 20:21:06 +0000 (20:21 +0000)]
* elfread.c (elf_symfile_read): Update ELF structure and routine
names to specify 32-bit versions.
(elf_symtab_read): Retrieve size field directly from symbol,
instead of using old kludge.
Ken Raeburn [Tue, 25 May 1993 20:14:57 +0000 (20:14 +0000)]
(elf64.c): Add to list of sources.
(elf64.o): List dependencies; don't build by default.
(elf32.o): Update dependencies.
(archures.o, targets.o): Depend on Makefile, for MINIMIZE &c.
Jim Kingdon [Tue, 25 May 1993 19:57:38 +0000 (19:57 +0000)]
* gdb.t00/help.exp: Use .* in place of some help messages which
just changed.
gdb.t00/default.exp: Update "info frame" test for new message.
* gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
Remove some xfails
Ian Lance Taylor [Tue, 25 May 1993 19:48:13 +0000 (19:48 +0000)]
* build-all.mk (all-cross): New target for Canadian Cross.
Added Q2 go32 targets.
* test-build.mk: Configure go32 cross sparclite-aout and
mips-idt-ecoff -with-gnu-ld. Moved build binary directory from
PARTIAL_HOLE_DIRS to BUILD_HOLES_DIRS.
Jim Kingdon [Tue, 25 May 1993 19:39:41 +0000 (19:39 +0000)]
* stabsread.c: Remove all uses of error(). Make error_type and
read_type_number static.
(define_symbol): Don't try to deal with a missing symbol
descriptor which isn't followed by digit, '(', or '-'.
* stabsread.h: Don't declare read_type_number here.
* gdbtypes.h: Don't declare error_type here.
* xcoffread.c: Remove NO_TYPEDEFS code.
Jim Kingdon [Tue, 25 May 1993 16:22:41 +0000 (16:22 +0000)]
* Many places: replace "the inferior" in messages with "the program"
or "the program being debugged".
* inflow.c (try_writing_regs): Remove; it's been #if 0'd forever
and I'm getting sick of maintaining it.
Jim Kingdon [Tue, 25 May 1993 15:47:28 +0000 (15:47 +0000)]
* config/i386/linux.mh: Don't use \ newline; the awk scripts don't
support it.
* config/i386/go32.mh: Define SER_HARDWIRE.
* Makefile.in: Define SER_HARDWIRE.
(DEPFILES): Use it.
(alldeps.mak): Add SER_HARDWIRE.
Remove all references to ser-hardwire.{c,o}.
* configure.in: Remove all ser_hardwire and gdb_serial_driver stuff.
Jim Kingdon [Tue, 25 May 1993 15:41:49 +0000 (15:41 +0000)]
* config/i386/linux.mh: Don't use \ newline; the awk scripts don't
support it.
* config/i386/go32.mh: Define SER_HARDWIRE.
* Makefile.in: Define SER_HARDWIRE.
(DEPFILES): Use it.
(alldeps.mak): Add SER_HARDWIRE.
Remove all references to ser-hardwire.{c,o}.
* configure.in: Remove all ser_hardwire and gdb_serial_driver stuff.
Peter Schauer [Tue, 25 May 1993 06:52:54 +0000 (06:52 +0000)]
* sparc-nat.c (store_inferior_registers): Fill in all members of
inferior_fp_registers by reading them from the inferior before
modifying and writing them back.
Fixes unexplainable inferior FP exceptions after calls to the inferior
or setting of floating point registers.
* mips-tdep.c (mips_skip_prologue): Skip move of argument register
to register which is generated by gcc-2.4.
Jim Kingdon [Mon, 24 May 1993 06:29:48 +0000 (06:29 +0000)]
* gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
PRMS 1823; the bug still exists but isn't reproduced by this test
anymore), and remove rs6000 XFAIL (the bug is fixed).
* gdb.t03/ptype.exp: Comment out a lot of tests which are basically
duplicated from whatis.exp. For those that are left, accept
"long", "long int", or "int" for long variables (whatis.exp already
has an XFAIL for "int", so no need to fail it here).
* gdb.t02/whatis.exp, gdb.t10/crossload.exp:
Deal with GCC's names for types now that GDB uses the compiler's names.
* gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
setup_xfail's for sunos4. If we #defined the signed keyword away,
don't expect GDB to know that char it is signed.
* gdb.t00/teststrategy.exp: Update for symbolic signal names.
Fred Fish [Sun, 23 May 1993 15:49:17 +0000 (15:49 +0000)]
* configure.in (configdirs): Add gdb.t24 for C++ tests that
should work on any system, regardless of debugging format.
* gdb.t21/demangle.exp: Move to gdb.t24.
* gdb.t24/demangle.exp: Move from gdb.t21.
* gdb.t24/{Makefile.in, configure.in}: New files.
Jim Kingdon [Sat, 22 May 1993 19:20:37 +0000 (19:20 +0000)]
* stabsread.c: Remove most uses of lookup_fundamental_type.
(define_symbol): Use read_type for type of enum constant,
not just read_type_number. Also don't call error().
(define_symbol): For unrecognized constant type, one complaint (the
one from error_type) is enough. Don't make our own in addition.
(define_symbol): Don't treat an N_FUN 'R' as a prototype.
* gdbtypes.h: Doc fixes.
Jim Kingdon [Sat, 22 May 1993 18:27:12 +0000 (18:27 +0000)]
* stabs.texinfo (Constants): Allow an `e' constant to be non-enum.
(Traditional builtin types): Document convex convention for long long.
(Negative builtin types): Discuss type names, and misc fixes.
Peter Schauer [Sat, 22 May 1993 10:34:47 +0000 (10:34 +0000)]
Fix stack unwinding through _sigtramp on Irix. These patches are from
Paul Flinders <[email protected]>.
* mipsread.c (fixup_sigtramp): Find _sigtramp on Irix even when the
executable uses sigvec.
* mips-tdep.c (read_next_frame_reg): Allow tm-file to override
sigcontext offsets.
* config/mips/tm-irix3.h: Add sigcontext offsets for Irix.
Peter Schauer [Sat, 22 May 1993 07:26:25 +0000 (07:26 +0000)]
* config/mips/tm-irix3.h: Clean up, use tm-bigmips.h and redefine
the necessary bits.
* findvar.c (value_from_register): Fix uninitialized first_addr
which caused problems with assignment of doubles to register variables
on some targets.
* mipsread.c: Remove TM_FILE_OVERRIDE, include tm.h and provide the
missing mips definitions if necessary.
Fix handling of double register variables for mips targets and big
endian hosts. These patches are from Paul Flinders <[email protected]>.
* config/mips/tm-mips.h: Increase MAX_REGISTER_{RAW,VIRTUAL}_SIZE to
8 bytes for doubles.
* config/mips/tm-mips.h (REGISTER_CONVERT_TO_TYPE): New macro for
conversion of type held in multiple registers to host format.
* config/mips/tm-mips.h (REGISTER_CONVERT_FROM_TYPE): New macro,
companion to REGISTER_CONVERT_TO_TYPE.
* config/mips/tm-mips.h (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE):
Convert to function calls.
* config/mips/tm-mips.h (FIX_CALL_DUMMY): New code for big endian
mips targets.
* mips-tdep.c (mips_print_register): Raw buffer now needs just
MAX_REGISTER_RAW_SIZE bytes.
* mips-tdep.c (mips_print_register): Use REGISTER_CONVERT_TO_TYPE
(if defined) for doubles.
* mips-tdep.c: (mips_extract_return_value, mips_store_return_value):
New functions, take care of REGISTER_CONVERT_TO/FROM_TYPE.
* valops.c (value_assign): Use REGISTER_CONVERT_TO_TYPE if
defined.
* findvar.c (value_from_register): Use REGISTER_CONVERT_TO_TYPE if
defined.
Sean Eric Fagan [Fri, 21 May 1993 17:51:50 +0000 (17:51 +0000)]
Changed the configuration scheme a bit, to be saner, cleaner, etc.
Also, the so-called sun-dependent files were not very sun-dependent,
so renamed it to "unix."
Jim Kingdon [Fri, 21 May 1993 16:29:24 +0000 (16:29 +0000)]
* stabs.texinfo (Builtin Type Descriptors): Document the floating
point types used with @samp{R} type descriptor.
(Symbol Descriptors): Describe how to handle conflict between
different meanings of @samp{P} symbol descriptor.
David D. Zuhn [Thu, 20 May 1993 22:20:07 +0000 (22:20 +0000)]
1) use release-info
2) protect some of the canadian cross targets with ifdef/endif
3) make configargs settable from the command line too (assignments augment
instead of replace previous values)
Per Bothner [Thu, 20 May 1993 20:59:28 +0000 (20:59 +0000)]
* mips.sc-sh: Define _etext, _edata, and _end, in addition
to etext, edata, and end. Needed for IRIX 4.0.5F.
Patch from [email protected] (Michael Paddon).
Jim Kingdon [Thu, 20 May 1993 18:41:17 +0000 (18:41 +0000)]
* stabs.texinfo: Remove node Quick Reference and put its children
directly under the main menu.
* stabs.texinfo: Many more changes to bring it into line with
AIX documentation and reality. I think it now has all the
information from the AIX documentation, except that I burned
out when I got to variant records (Pascal and Modula-2) and
all the COBOL types. Oh well, we can add them later when we're
worrying more about those languages.
* stabs.texinfo (Automatic variables): Talk about what it means
to omit the symbol descriptor.
Jim Kingdon [Wed, 19 May 1993 02:17:38 +0000 (02:17 +0000)]
* main.c (quit_command): In the "quit anyway?" message, tell the user
whether we are planning to detach or kill the program.
* config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
not just "Quit anyway?".