Commit Graph

6925 Commits

Author SHA1 Message Date
Jim Blandy 38639b1294 *** empty log message *** 1997-11-22 01:24:57 +00:00
Jim Blandy 345bcdcc4d * valops.c (call_function_by_hand): If the function has a
prototype, convert its arguments as if by assignment.  Otherwise,
do the usual promotions.
* stabsread.c (define_symbol): Set the TYPE_FLAG_PROTOTYPED flag
on functions' types when we can; all C++ functions should get it,
and if the Sun-style prototype notation is in the stabs, we can
notice that.
1997-11-22 00:50:09 +00:00
Ian Lance Taylor 3fbb8cde37 * aclocal.m4 (AM_CYGWIN32, AM_EXEEXT): Remove. They are already
defined by the inclusion of ../bfd/aclocal.m4.
	* configure: Rebuild.
1997-11-21 17:22:33 +00:00
Michael Meissner f092e2a999 tabify changelog 1997-11-21 15:56:57 +00:00
Michael Meissner 40e8f10571 Really do SHELL = /bin/sh change Noer wanted to do 1997-11-21 15:55:07 +00:00
Geoffrey Noer ebb2647017 Fri Nov 21 02:19:57 1997 Geoffrey Noer <noer@cygnus.com>
* Makefile.in: also revert SHELL change until configury
        changes work
1997-11-21 10:23:06 +00:00
Doug Evans 2aa8a8fce8 * sparc-tdep.c (sparc_pc_adjust): Don't assume sizeof (long) == 4. 1997-11-21 00:36:08 +00:00
Geoffrey Noer d7cd126469 Thu Nov 20 04:11:27 1997 Geoffrey Noer <noer@cygnus.com>
* Makefile.in: pepper with EXEEXTs in appropriate places,
        set SHELL = @SHELL@ for those lame hosts that don't have a /bin/sh
        For some reason, EXEEXT isn't getting substututed in correctly
        so for now, set EXEEXT to empty string
1997-11-20 13:05:07 +00:00
Geoffrey Noer 98fa4ade2c Thu Nov 20 04:11:27 1997 Geoffrey Noer <noer@cygnus.com>
* aclocal.m4: add EXEEXT setting rule
        * configure.in: call it
        * configure: regenerate
        * Makefile.in: pepper with EXEEXTs in appropriate places,
        set SHELL = @SHELL@ for those lame hosts that don't have a /bin/sh
1997-11-20 12:20:39 +00:00
Doug Evans 269a0e01c7 * Makefile.in (remote-sim.o): Depend on $(INCLUDE_DIR)/callback.h. 1997-11-17 23:36:16 +00:00
Jeff Law e7f1439940 * jv-exp.y (copy_exp, insert_exp): Avoid ANSI prototypes. 1997-11-14 20:02:46 +00:00
Michael Meissner 35cac98ab5 fix spacing 1997-11-13 15:38:23 +00:00
Michael Meissner c2f766136e Add comment about code that is actually d10v specific instead of d30v 1997-11-13 15:11:56 +00:00
Michael Meissner 5d62f957a8 Add info command to print out flags values 1997-11-13 14:52:14 +00:00
Ian Lance Taylor db316a832a * valprint.c (print_longest): The b, h, w, and g format specifiers
print unsigned values.
1997-11-10 20:14:15 +00:00
Geoffrey Noer b330780e25 Tue Nov 4 16:52:50 1997 Geoffrey Noer <noer@cygnus.com>
* config/i386/cygwin32.mh: because cygwin.dll calls malloc/realloc
        to allocate memory for environ space, gdb cannot use memory
        checks -- set -DNO_MMCHECK
1997-11-05 00:56:39 +00:00
Jim Blandy 9f410a5289 *** empty log message *** 1997-11-04 21:55:24 +00:00
Jim Blandy 028da17987 * jv-exp.y (ArrayAccess): Implement Name [ Expression ]; check the
code to see why this is not trivial.
(copy_exp, insert_exp): New functions.
1997-11-04 21:54:13 +00:00
Dawn Perchik 6850646060 * dwarf2read.c (dwarf2_build_psymtabs_hard): Handle the case
where a compilation unit die has no children (DW_TAG_compile_unit
	has DW_children_no).
	(scan_partial_symbols): Add comment for nesting_level.
1997-11-01 01:28:26 +00:00
Gavin Romig-Koch 8ed44d1968 * configure.tgt: Add tx49 configury based on 4300. 1997-10-30 02:17:25 +00:00
Gavin Romig-Koch a50b45f379 * include/opcode/mips.h (INSN_4900): Added. 1997-10-29 22:38:20 +00:00
Gavin Romig-Koch da3636f762 * configure.tgt: Add tx49 configury based on 4300. 1997-10-29 22:38:09 +00:00
David Taylor 6e2ac3c72d add Solaris 2.6 entry to solib_break_names list -- closes gdb/13689
change from Casper Dik via Peter Schauer.
1997-10-29 21:09:51 +00:00
David Taylor 022278948f fix for PR 13618 -- gdb incorrectly reports thread information.
If other systems besides nm-sun4sol2 exhibit the problem, they may need
definitions of FIND_NEW_THREADS and a corresponding support function.
1997-10-24 21:04:39 +00:00
Jeff Law cdecdcc4f5 * dbxread.c (process_one_symbol): Put back initialization
of a variable lost during last change.  Don't perform
        assignment inside conditionals.
        * stabsread.c (symbol_reference_defined): Return -1 for error/not
        found.  All callers changed appropriately.
        (define_symbol): Don't perform assignment inside conditionals.
1997-10-23 22:42:07 +00:00
Jeff Law b84b918329 * mdebugread.c (psymtab_to_symtab_1): Handle new live range stabs
entries.

        * dbxread.c: More comment cleanups.
        * stabsread.c: Fix various violations of the GNU coding and
        formatting standards.  Update/add comments to make code clearer.
        (resolve_reference): Delete unused function.
        (ref_search_val): Remove function.  It didn't belong in stabsread.c
        (resolve_live_range): No longer returns a value.  Do not add it
        to the live range list until the entire range stab has been parsed.
        (get_substring): Remove duplicate declaration.
        (resolve_symbol_reference): Now static.  Remove unnecessary code
        to deal with cleanups.
         (ref_add): Use xrealloc instea of realloc.
        (process_reference): Reorganize slightly to make clearer.
        * stabsread.h (resolve_symbol_reference): Remove declaration.
        (resolve_reference): Likewise.
        * symtab.c (find_active_alias): New function.
        (lookup_block_symbol): Use find_active_alias.
        * symtab.h (struct range_list): Fix dangling struct live_range
        reference.
        (ref_search_val): Remove decl.

        * symtab.h (struct range_list): Renamed from struct live_range.
        (struct symbol): Remove struct live_range_info substruct.
        Bring the alias list and range list fields up to the toplevel
        as "aliases" and "ranges".
        (SYMBOL_ALIASES, SYMBOL_RANGES): Corresponding changes.
        (SYMBOL_RANGE_START, SYMBOL_RANGE_END, SYMBOL_RANGE_NEXT): Delete.
        * stabsread.c: Corresponding changes.
Bring first round of cleanups over from r5900 branch.
1997-10-22 23:28:30 +00:00
Jeff Law a259afccd8 More comment fixes to make the code clearer. 1997-10-22 19:15:44 +00:00
Jeff Law ab41527bce * dbxread.c: Fix various violations of the GNU coding and
formatting standards.  Update/add comments to make code
        clearer.
        (process_later): Use xrealloc instead of realloc.
1997-10-22 19:04:30 +00:00
Jeff Law f109cc3d9e Minor comment fix. 1997-10-22 18:28:25 +00:00
Jeff Law 1a490ebc92 * symtab.c: Include inferior.h.
Brought over from r5900 branch.
1997-10-22 18:12:30 +00:00
Per Bothner fbb09651da * ch-exp.c: Rename FIELD_NAME to DOT_FIELD_NAME (to avoid conflict). 1997-10-21 21:15:52 +00:00
Stan Shebs 08655f154a * infcmd.c: Improve grammar of "set args" help. 1997-10-17 20:24:02 +00:00
Michael Meissner 9d59cbb13c Make decl of sds_load static 1997-10-16 19:06:25 +00:00
David Edelsohn 899f620488 * sparc/tm-sparc.h (STORE_STRUCT_RETURN): Change to handle --enable-64-bit-bfd. 1997-10-15 19:08:18 +00:00
David Edelsohn 223f2ecd9a (STORE_STRUCT_RETURN): Change to handle --enable-64-bit-bfd. 1997-10-15 19:07:30 +00:00
David Edelsohn 048c2f0179 * config/sparc/tm-sparc.h (FIX_CALL_DUMMY): Mask off displacement
to 30 bits in call insn to handle --enable-64-bit-bfd.
1997-10-15 17:31:07 +00:00
Jeff Law 326ca4ee57 Bring over from r5900 branch. 1997-10-15 04:11:06 +00:00
Frank Ch. Eigler eec1d04840 Added MIPS16 PC masking for disassembly. See PR 12149. 1997-10-09 20:26:08 +00:00
Jeff Law db0af6f771 New file describing how stabs for live range splitting work. Should be
folded into the main stabs documentation.
1997-10-07 19:48:22 +00:00
Stan Shebs e5d6b49ad9 Remove sanitized-out Magic Cap support, will never be released 1997-10-06 22:55:34 +00:00
Stan Shebs 501ad43a89 Remove sanitized-out Magic Cap support, will never be released 1997-10-06 19:38:43 +00:00
Mark Alexander 794868783d * remote-mips.c (mips-initialize): Work around flakiness in
some versions of PMON after loading a program.
1997-10-05 01:53:22 +00:00
Per Bothner 8d2755a953 * c-lang.h, cp-valprint.c (static_field_print): Make non-static.
* parse.c, parser-defs.h (length_of_subexp):  Make non-static.
	* jv-exp.y (FieldAccess):  Handle dollar-VARIABLE as primary.
	(ArrayAccess):  Likewise.  Also remove warnings.
	(CastExpression):  Implement (typename) UnaryExpression.
	(push_qualified_expression_name):  Fix small bug.
	* jv-lang.c:  Use TYPE_TAG_NAME, not TYPE_NAME for class names.
 	(_initialize_jave_language):  Fix typo (jave -> java).
	(java_language):  Java does *not* have C-style arrays.
	(java_class_from_object):  Make more general (and complicated).
	(java_link_class_type):  Fix typo "super" -> "class".  Handle arrays.
	(java_emit_char, java_printchar):  New function.
	(evaluate_subexp_java case BINOP_SUBSCRIPT):  Handle Java arrays.
	* jv-valprint.c (java_value_print):  Implement printing of Java arrays.
	(java_print_value_fields):  New function.
	(java_val_print):  Better printing of TYPE_CODE_CHAR, TYPE_CODE_STRUCT.
1997-10-03 23:05:12 +00:00
Mark Alexander 9388a6f2be * config/mips/tm-mips.h (MAKE_MSYMBOL_SPECIAL): Force MIPS16
addresses to be odd.
	(MIPS_FPU_SINGLE_REGSIZE, MIPS_FPU_DOUBLE_REGSIZE): Define.
	* mips-tdep.c (mips_extract_return_value): Doubles aren't
	returned in FP0 if FP registers are single-precision only.
start-sanitize-r5900
	* config/mips/tm-r5900.h (MIPS_LAST_FP_ARG_REGNUM): Redefine
	to disable use of FP registers for function arguments.
end-sanitize-r5900
1997-10-03 16:58:31 +00:00
Mark Alexander 639c861230 * mips-tdep.c (set_reg_offset): New function.
(mips16_heuristic_proc_desc): Calculate offsets of registers
	saved by entry pseudo-op after rest of prologue has been read.
	Use set_reg_offset to ignore all but the first save of a given
	register.
	(mips32_heuristic_proc_desc): Initialize frame adjustment value.
	* remote-sim.c (gdbsim_store_register): Don't update registers
	that have a null or empty name.
	* findvar.c (read_register_bytes): Don't fetch registers
	that have a null or empty name.
1997-09-30 06:20:59 +00:00
Andrew Cagney 467ad5d4b7 Re-define MAX_REGS and REGISTER_NAMES instead of defining them.
(Move definition past #include tm-mips64).
1997-09-30 04:07:42 +00:00
Andrew Cagney adf4739efe Add access to hi part of r5900 128 bit registers. 1997-09-30 03:45:51 +00:00
Jason Molenda 36ad9bd5b6 * command.c (add_cmd, add_show_from_set): Insert new commands in
alphabetical order.
1997-09-27 00:34:41 +00:00
Mark Alexander af774411e5 * config/mips-tm-mips.h (mips_extra_func_info): New frame_adjust
member for storing offset of MIPS16 frame pointer from SP.
	* mips-tdep.c: Use RA_REGNUM instead of hardcoded 31 throughout.
	(PROC_FRAME_ADJUST): Define.
	(mips16_heuristic_proc_desc): Store frame pointer adjustment value.
	(get_frame_pointer): Use frame pointer adjustment value when
	calculating frame address.
	* remote-sim.c (gdbsim_fetch_register): Don't fetch registers
	that have a null or empty name.
start-sanitize-tx19
	* config/mips/tm-tx19.h (MIPS_DEFAULT_FPU_TYPE): Define.
	(REGISTER_NAMES): Redefine to eliminate FP registers.
	* config/mips/tm-tx19l.h: Ditto.
end-sanitize-tx19
1997-09-26 19:42:55 +00:00
Jeff Law 91ee277977 * configure.tgt: Set gdb_target to r5900.
* config/mips/tm-r5900.h, config/mips/r5900.mt: New files

        * mips-tdep.c (_initialize_mips_tdep): Allow target files to
        override default FPU type.
Brought over from r5900 branch.
1997-09-26 18:53:22 +00:00