Peter Schauer [Thu, 27 May 1993 13:19:26 +0000 (13:19 +0000)]
* printcmd.c (print_address_symbolic): Append source filename and
linenumber of the symbol if print symbol-filename is on.
(initialize_printcmd): `set print symbol-filename'.
Stu Grossman [Wed, 26 May 1993 20:49:21 +0000 (20:49 +0000)]
* gdbserver/{remote-gutils.c remote-server.c Makefile.in
configure.in remote-inflow.c remote-utils.c}: New files to
support GDB remote server. Currently only works for Lynx.
Jim Kingdon [Wed, 26 May 1993 20:04:50 +0000 (20:04 +0000)]
* Move test with enums and partial symbols from gdb.t02/ptype.exp
to gdb.stabs/wierd.exp since GCC has worked around the bug.
gdb.stabs/wierd.{exp,def}: Many new tests.
Jim Kingdon [Wed, 26 May 1993 03:27:32 +0000 (03:27 +0000)]
* source.c (line_info): If --fullname, display the source.
(identify_source_line), callers: Take pc as argument, rather than
assuming innermost frame (emacs doesn't use this, so no one ever
noticed).
* symtab.h: Declare frame_file_full_name.
* main.c: Don't.
Jim Kingdon [Wed, 26 May 1993 01:31:02 +0000 (01:31 +0000)]
* stabs.texinfo (Line Numbers, Source Files): Re-write these two nodes
and merge in other parts of the document addressing these subjects.
gdbint.texinfo (XCOFF): Remove info which is now in stabs.texinfo.
Ian Lance Taylor [Tue, 25 May 1993 22:37:41 +0000 (22:37 +0000)]
* Makefile.in: configure looks for ####, so remove lines with many
'#' characters.
* config/irix4.mh, config/i386v.mh: New files; set HOSTING_CRT0
and HOSTING_LIBS correctly so that ``make check'' will work.
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."