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 <ptf@delcam.co.uk>.
* 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 <ptf@delcam.co.uk>.
* 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 mwp@iconix.oz.au (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?".
Jim Kingdon [Wed, 19 May 1993 00:57:48 +0000 (00:57 +0000)]
* blockframe.c (get_prev_frame_info): If pc in sigtramp, set
signal_handler_caller.
* tm-68k.h (FRAME_{CHAIN,SAVED_PC}): Deal with sigtramp.
* tm-hp300bsd.h: Define SIGTRAMP_{START,END} not IN_SIGTRAMP.
* inferior.h (IN_SIGTRAMP): Definition moved from infrun.c.
Use SIGTRAMP_START if defined.
* infcmd.c (step_1): Use SIGTRAMP_{START,END} if needed.
* infrun.c (wait_for_inferior): Check IN_SIGTRAMP before SKIP_PROLOGUE.
Jim Kingdon [Tue, 18 May 1993 22:38:12 +0000 (22:38 +0000)]
* Makefile.in (depend): Put "${srcdir}" in generated dependencies
if srcdir is not ".".
Also put in -I${BFD_DIR} or -I${READLINE_DIR} for files which need it.
(INCLUDE_CFLAGS): Remove BFD_DIR and READLINE_DIR.
* depend: Update to latest automatically built version.
Stu Grossman [Mon, 17 May 1993 22:48:07 +0000 (22:48 +0000)]
* findvar.c (write_register): Add sanity check for register size.
(read_register): Fixup sanity check for register size to be
consistent with write_register().
Per Bothner [Sat, 15 May 1993 00:25:03 +0000 (00:25 +0000)]
* Makefile.in (underscore.c): Automatically generate
(using nm) a file with the variable prepends_underscore.
* Makefile.in (c++filt): Link underscore.o with cplus-dem.o
so that initial underscores get removed iff appropriate.
* binutils.texi: Preliminary documentation for c++filt.
* Makefile.in, binutils.texi: Set to version 2.2.
Ken Raeburn [Fri, 14 May 1993 11:00:17 +0000 (11:00 +0000)]
Updated list of m68k options, described required-register-prefix hack.
Added a tiny bit of documentation on MIPS target.
Minor tweaks to `-a' description.