Fred Fish [Fri, 23 Aug 1996 07:57:10 +0000 (07:57 +0000)]
* gdbtk.c (gdbtk_init): Check for a DISPLAY env variable and
gracefully degrade to using command line interface if none is
found.
Jeff Law [Fri, 23 Aug 1996 06:56:44 +0000 (06:56 +0000)]
* v850-opc.c (v850_operansd): 3-bit immediate for bit insns
is unsigned.
J.T. Conklin [Fri, 23 Aug 1996 06:33:10 +0000 (06:33 +0000)]
rework operand parsing
J.T. Conklin [Fri, 23 Aug 1996 06:29:55 +0000 (06:29 +0000)]
Add V850_OPERAND_SIGNED flag as appropriate, create new unsigned IMM5 operand
Jeff Law [Fri, 23 Aug 1996 06:27:37 +0000 (06:27 +0000)]
* v850-opc.c (v850_opcodes): Correct short store half (sst.h) and
short store word (sst.w).
Ian Lance Taylor [Fri, 23 Aug 1996 04:00:43 +0000 (04:00 +0000)]
* wrstabs.c (struct string_hash_entry): Add next field.
(struct stab_write_handle): Change strings to a pointer to
string_hash_entry. Add last_strings field. Remove strings_alloc
field.
(string_hash_newfunc): Initialize next field.
(stab_write_symbol): Copy string into hash table rather than into
buffer. Keep a list of hash table entries.
(write_stabs_in_sections_debugging_info): Initialize last_string.
Copy strings from list of hash table entries in memory.
(stab_modify_type): If the entry on the stack is a definition,
make a new definition rather than failing an assert.
(stab_array_type): The size is only zero if high is strictly less
than low.
PR 10377.
Ian Lance Taylor [Fri, 23 Aug 1996 03:27:47 +0000 (03:27 +0000)]
* prdbg.c (pr_fix_visibility): Don't abort on
DEBUG_VISIBILITY_IGNORE.
Ian Lance Taylor [Fri, 23 Aug 1996 03:26:59 +0000 (03:26 +0000)]
* debug.c (debug_name_type): Correct error message.
J.T. Conklin [Fri, 23 Aug 1996 02:35:16 +0000 (02:35 +0000)]
start writing functions for extracting and inserting unusual operands
Fred Fish [Fri, 23 Aug 1996 01:01:02 +0000 (01:01 +0000)]
From: Eberhard Mattes <mattes@azu.informatik.uni-stuttgart.de>
* gdb.texinfo (Frames): Fix typo.
Fred Fish [Fri, 23 Aug 1996 00:47:10 +0000 (00:47 +0000)]
* valprint.c (print_longest): Test for CC_HAS_LONG_LONG as well as
PRINTF_HAS_LONG_LONG.
* expprint.c (dump_expression): Ditto.
* configure.in: Fix check for long long support in compiler to
use a function body, not a nested function.
* configure: Rebuild with autoconf.
Ian Lance Taylor [Fri, 23 Aug 1996 00:13:54 +0000 (00:13 +0000)]
* configure.in: Set and substitute HLDENV.
* configure: Rebuild.
* Makefile.in (HLDENV): New variable.
(gprof): Use $(HLDENV).
Ian Lance Taylor [Fri, 23 Aug 1996 00:10:40 +0000 (00:10 +0000)]
* configure.in: Set and substitute HLDENV.
* configure: Rebuild.
* Makefile.in (HLDENV): New variable.
(as.new): Use $(HLDENV).
Ian Lance Taylor [Fri, 23 Aug 1996 00:09:01 +0000 (00:09 +0000)]
* configure.in: Substitute HLDENV.
* configure: Rebuild.
* Makefile.in (HLDENV): New variable. Use it whenever linking a
program.
Ian Lance Taylor [Fri, 23 Aug 1996 00:07:59 +0000 (00:07 +0000)]
* configure.host (HLDENV): New variable to set. Set it for
*-*-sysv4*, since those linkers may not support -R but they always
support LD_RUN_PATH.
Ian Lance Taylor [Fri, 23 Aug 1996 00:02:55 +0000 (00:02 +0000)]
* libieee.h (NSECTIONS): Don't define.
(ieee_data_struct): Change section_table to asection **. Add
section_table_size.
* ieee.c (get_section_entry): If the table isn't big enough, make
it bigger.
(ieee_slurp_sections): Remove assertion about number of sections.
(ieee_object_p): Adjust initialization of ieee to match changes to
the structure.
PR 10377.
J.T. Conklin [Fri, 23 Aug 1996 00:00:18 +0000 (00:00 +0000)]
* v850-opc.c (v850_operands): Added insert and extract fields,
pointers to functions that handle unusual operand encodings.
J.T. Conklin [Thu, 22 Aug 1996 23:56:25 +0000 (23:56 +0000)]
* v850.h (v850_operands): Add insert and extract fields, pointers
to functions used to handle unusual operand encoding.
(V850_OPERAND_REG, V850_OPERAND_SRG, V850_OPERAND_CC,
V850_OPERAND_SIGNED): Defined.
Jeff Law [Thu, 22 Aug 1996 23:15:36 +0000 (23:15 +0000)]
* configure.in: Remove ld, target-libio, target-libg++, and
target-libstdc++ from noconfigdirs.
Now that libg++, libio, libstdc++ and newlib all build...
Jeff Law [Thu, 22 Aug 1996 23:08:03 +0000 (23:08 +0000)]
* v850-opc.c (v850_opcodes): Enable "trap".
Jeff Law [Thu, 22 Aug 1996 22:32:21 +0000 (22:32 +0000)]
* Makefile.in (ev850.c): New target.
* configure.tgt (v850-*-*): New target.
* emulparams/v850.sh: New file.
No, it doesn't work (gas doesn't even emit relocs yet), but having
a "ld" that at least creates an executable image greatly helps the
gcc testsuite.
Ian Lance Taylor [Thu, 22 Aug 1996 22:06:21 +0000 (22:06 +0000)]
* Makefile.in (gencode): Depend upon gencode.o, getopt.o, and
getopt1.o, rather than on gencode.c. Link objects together.
Don't link against -liberty.
(gencode.o, getopt.o, getopt1.o): New targets.
* gencode.c: Include <ctype.h> and "ansidecl.h".
(AND): Undefine after including "ansidecl.h".
(ULONG_MAX): Define if not defined.
(OP_*): Don't define macros; now defined in opcode/mips.h.
(main): Call my_strtoul rather than strtoul.
(my_strtoul): New static function.
Ian Lance Taylor [Thu, 22 Aug 1996 21:00:36 +0000 (21:00 +0000)]
* ecoff.c (ecoff_directive_endef): Avoid a division by zero error
if an array dimension is not known.
PR 10426.
Stan Shebs [Thu, 22 Aug 1996 18:18:19 +0000 (18:18 +0000)]
* mpw-make.sed: Add @DASH_C_FLAG@ to compiler edit.
Martin Hunt [Thu, 22 Aug 1996 17:54:41 +0000 (17:54 +0000)]
Thu Aug 22 10:50:00 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
* doc/c-d10v.texi: Cleanup.
Martin Hunt [Thu, 22 Aug 1996 17:53:59 +0000 (17:53 +0000)]
Thu Aug 22 10:50:00 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
* config/tc-d10v.c: Fix a reloc bug caused by my last change.
* doc/c-d10v.texi: Cleanup.
Jeff Law [Thu, 22 Aug 1996 07:06:13 +0000 (07:06 +0000)]
* v850-opc.c (v850_opcodes): Fix order of displacement
and register for "set1", "clr1", "not1", and "tst1".
J.T. Conklin [Thu, 22 Aug 1996 06:33:27 +0000 (06:33 +0000)]
minimal setf support
J.T. Conklin [Thu, 22 Aug 1996 05:30:14 +0000 (05:30 +0000)]
parse [reg], lo(exp), and hi(exp)
J.T. Conklin [Thu, 22 Aug 1996 05:29:14 +0000 (05:29 +0000)]
Stub in load and store insns. Fix order of jarl operands
Fred Fish [Thu, 22 Aug 1996 02:51:34 +0000 (02:51 +0000)]
* configure: Fix three locations where shell scripts were
being run directly rather than with config_shell.
Jeff Law [Thu, 22 Aug 1996 02:20:08 +0000 (02:20 +0000)]
Arggh. B3. shift counts are from the start of each half-word apparently.
Jeff Law [Thu, 22 Aug 1996 02:18:07 +0000 (02:18 +0000)]
Fix thinko in B3.
Jeff Law [Thu, 22 Aug 1996 02:08:02 +0000 (02:08 +0000)]
* v850-opc.c (v850_operands): Add "B3" support.
(v850_opcodes): Fix and enable "set1", "clr1", "not1"
and "tst1".
Jeff Law [Thu, 22 Aug 1996 01:39:22 +0000 (01:39 +0000)]
* v850-ope.c ("jmp"): R1 is only operand.
Jeff Law [Thu, 22 Aug 1996 00:46:47 +0000 (00:46 +0000)]
* v850-opc.c: Close unterminated comment.
Something -Wall caught.
J.T. Conklin [Thu, 22 Aug 1996 00:46:17 +0000 (00:46 +0000)]
* v850.h (v850_operands): Add flags field.
(OPERAND_REG, OPERAND_NUM): Defined.
J.T. Conklin [Thu, 22 Aug 1996 00:35:28 +0000 (00:35 +0000)]
* v850-opc.c: Add flags field to struct v850_operands, add move
opcodes to opcode table.
J.T. Conklin [Wed, 21 Aug 1996 23:37:04 +0000 (23:37 +0000)]
* config/tc-v850.c: New file.
* config/tc-v850.h: New file.
* configure (v850-*-elf): New target.
* configure.in (v850-*-elf): New target.
Martin Hunt [Wed, 21 Aug 1996 22:53:53 +0000 (22:53 +0000)]
Wed Aug 21 15:50:54 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
* c-d10v.texi: New file.
* all.texi: Added D10V stuff.
* as.texinfo: Added D10V stuff.
Martin Hunt [Wed, 21 Aug 1996 22:53:14 +0000 (22:53 +0000)]
Wed Aug 21 15:50:54 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
* doc/c-d10v.texi: New file.
* doc/all.texi: Added D10V stuff.
* doc/as.texinfo: Added D10V stuff.
Ian Lance Taylor [Wed, 21 Aug 1996 20:10:54 +0000 (20:10 +0000)]
tweak last patch
Ian Lance Taylor [Wed, 21 Aug 1996 18:27:28 +0000 (18:27 +0000)]
* scripttempl/elf.sc: Put .gnu.linkonce* sections in .text.
Ian Lance Taylor [Wed, 21 Aug 1996 01:02:53 +0000 (01:02 +0000)]
* aclocal.m4: Include ../bfd/aclocal.m4.
* configure.in: Add stdlib.h to AC_CHECK_HEADERS. Call
BFD_NEED_DECLARATION on malloc, realloc, and free.
* acconfig.h: Add NEED_DECLARATION_MALLOC,
NEED_DECLARATION_REALLOC, and NEED_DECLARATION_FREE.
* configure, config.in: Rebuild.
* defs.h: Include <stddef.h> and <stdlib.h> based on HAVE_*_H
rather than __STDC__. Only declare malloc, realloc, and free if
NEED_DECLARATION_* is defined.
Fred Fish [Tue, 20 Aug 1996 22:56:22 +0000 (22:56 +0000)]
* solib.c (_initialize_solib): Add missing '\' chars at ends of
strings that continue on next line.
(enable_break): Replace "return 0" with setting success to zero
and letting normal return handle the return.
Fix for 96q4 bug 003
J.T. Conklin [Tue, 20 Aug 1996 22:09:25 +0000 (22:09 +0000)]
* Makefile.in (ALL_MACHINES): Add cpu-v850.o.
(BFD32_BACKENDS) Add elf32-v850.o.
* archures.c: Add bfd_v850_arch.
* bfd-in2.h: Add bfd_v850_arch.
* config.bfd (v850-*-*): New target.
* configure: (bfd_elf32_v850_vec) New vector.
* configure.in: (bfd_elf32_v850_vec) New vector.
* cpu-v850.c: New file.
* elf.c (prep_headers): Added case bfd_arch_v850.
* elf32-v850.c: New file.
* targets.c (bfd_elf32_v850_vec): New vector.
J.T. Conklin [Tue, 20 Aug 1996 21:52:59 +0000 (21:52 +0000)]
* v850.h: New file.
J.T. Conklin [Tue, 20 Aug 1996 21:49:23 +0000 (21:49 +0000)]
* common.h (EM_CYGNUS_V850): Define.
J.T. Conklin [Tue, 20 Aug 1996 21:45:02 +0000 (21:45 +0000)]
* Makefile.in (ALL_MACHINES): Add v850-opc.o.
* configure: (bfd_v850v_arch) Add new case.
* configure.in: (bfd_v850_arch) Add new case.
* v850-opc.c: New file.
J.T. Conklin [Tue, 20 Aug 1996 21:30:41 +0000 (21:30 +0000)]
* configure.in (v850-*-*): Set up initial $noconfigdirs.
* config.sub (basic_machine): Recognize v850.
Martin Hunt [Tue, 20 Aug 1996 21:15:18 +0000 (21:15 +0000)]
Tue Aug 20 14:10:02 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
* tc-d10v.c: All references to defined symbols should
now use the optimal instruction. .float and .double now work.
Martin Hunt [Tue, 20 Aug 1996 21:15:05 +0000 (21:15 +0000)]
Tue Aug 20 14:10:02 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
* config/tc-d10v.c: All references to defined symbols should
now use the optimal instruction. .float and .double now work.
David Edelsohn [Mon, 19 Aug 1996 22:22:11 +0000 (22:22 +0000)]
* sparc-dis.c (print_insn_sparc): Handle little endian sparcs.
Michael Meissner [Mon, 19 Aug 1996 22:21:19 +0000 (22:21 +0000)]
Fixes from Andrew
Ian Lance Taylor [Mon, 19 Aug 1996 21:42:49 +0000 (21:42 +0000)]
* config/obj-coff.c (fixup_segment): Adjust PC relative reloc by
section address for the i960 as is done for the i386.
PR 10344.
Ian Lance Taylor [Mon, 19 Aug 1996 20:02:42 +0000 (20:02 +0000)]
* fnmatch.c: Include sysdep.h.
David Edelsohn [Mon, 19 Aug 1996 18:00:53 +0000 (18:00 +0000)]
* common.h (EM_CYGNUS_M32R): Define.
Fred Fish [Mon, 19 Aug 1996 17:59:46 +0000 (17:59 +0000)]
* gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
* gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
and -lpthreads (everybody else).
(test_startup): Fail gracefully if threads are not supported.
* gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
"p/c array_index("abcdef",2)" when not gcc compiled.
* gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
"print func2::coremaker_local" when not gcc compiled.
* gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
"ptype on opaque struct tagname (statically)",
"ptype on opaque struct tagname (dynamically) 1", and
"ptype on opaque struct tagname (dynamically) 2"
for not compiled with gcc.
* gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
backtrace when compiled with gcc.
* lib/gdb.exp (runto_main): Return result of "runto main" rather
than always return success.
Michael Meissner [Mon, 19 Aug 1996 15:31:29 +0000 (15:31 +0000)]
Undo 8/16 change; explictly set MACHINE= for d10v
Angela Marie Thomas [Sun, 18 Aug 1996 21:28:18 +0000 (21:28 +0000)]
removed NOTES from Things-to-keep since it's a dead file
Angela Marie Thomas [Sun, 18 Aug 1996 19:55:32 +0000 (19:55 +0000)]
add mt-ppc to Things-to-keep
Geoffrey Noer [Sat, 17 Aug 1996 11:59:22 +0000 (11:59 +0000)]
Sat Aug 17 04:56:25 1996 Geoffrey Noer <noer@skaro.cygnus.com>
* mh-cygwin32: don't -D_WIN32 here anymore
Stu Grossman [Sat, 17 Aug 1996 01:32:25 +0000 (01:32 +0000)]
* complete.c: Include <pwd.h> if not DOS, and if cygwin32 or not
win32.
* configure.in: Add test for *-*-cygwin32* to use config/mh-posix.
* readline.c: Move decl of tgetstr to rldefs.h.
* (_rl_set_screen_size): Remove redundant ifdef MINIMALs.
* rldefs.h: Don't do MINIMAL for cygwin32. Cygwin32 now uses
full-blown readline, except for termcap.
Stan Shebs [Sat, 17 Aug 1996 00:57:52 +0000 (00:57 +0000)]
* rs6000-tdep.c (rs6000_fix_call_dummy): Add full set of arguments.
* config/rs6000/tm-rs6000.h (FIX_CALL_DUMMY): Pass all arguments
to function, declare function correctly.
Dawn Perchik [Sat, 17 Aug 1996 00:32:45 +0000 (00:32 +0000)]
* symtab.h: changed namespace to _namespace for compiling under
MFC v4.0.
Stan Shebs [Fri, 16 Aug 1996 20:53:56 +0000 (20:53 +0000)]
* mpw-make.sed: Update for various recent changes, add some
comments.
start-sanitize-gm
* mpw-config.in: Fix name of Magic Cap-specific file.
end-sanitize-gm
Michael Meissner [Fri, 16 Aug 1996 19:48:46 +0000 (19:48 +0000)]
Fix warning
Jackie Smith Cashion [Fri, 16 Aug 1996 14:17:36 +0000 (14:17 +0000)]
Fri Aug 16 15:15:37 1996 James G. Smith <jsmith@cygnus.co.uk>
* config/mips/{vr4300.mt, vr4300el.mt} (SIM): Add -lm when
simulator is included.
Jackie Smith Cashion [Fri, 16 Aug 1996 13:19:45 +0000 (13:19 +0000)]
Fri Aug 16 14:15:41 1996 James G. Smith <jsmith@cygnus.co.uk>
* scripttempl/armcoff.sc (__bss_start__, __bss_end__,
__data_start__, __data_end__): Added to keep in sync. with the
default ARM crt0.s. Added __CTOR_LIST__ and __DTOR_LIST__ support.
Jeff Law [Fri, 16 Aug 1996 06:15:52 +0000 (06:15 +0000)]
* hppa.h (pitlb, pitlbe, iitlba, iitlbp, fic, fice): Accept
a 3 bit space id instead of a 2 bit space id.
Fixes net problem.
Stan Shebs [Fri, 16 Aug 1996 02:49:07 +0000 (02:49 +0000)]
* mpw-mh-mpw (SEGFLAG_68K, SEGFLAG_PPC): Remove.
(EXTRALIBS_PPC): Add libgcc.xcoff.
Stan Shebs [Fri, 16 Aug 1996 02:32:31 +0000 (02:32 +0000)]
* mpw-make.sed: Add symbolic doublequotes around the version
number.
Stan Shebs [Thu, 15 Aug 1996 23:40:40 +0000 (23:40 +0000)]
* mpw-config.in: Add wildcards for config matching, add mips-*-*
case, forward-include bfd/elf-bfd.h.
Fred Fish [Thu, 15 Aug 1996 20:52:34 +0000 (20:52 +0000)]
* findvar.c (write_register_pid): Only needed when TARGET_WRITE_PC
is not defined.
(read_register_pid): Only needed when TARGET_READ_PC is not
defined.
* hppa-tdep.c (frame_saved_pc): Remove prototype.
* infptrace.c (udot_info): Prototype when CHILD_XFER_MEMORY is
not defined.
* config/xm-aix4.h (aix_resizewindow): Convert old style decl
to prototype.
* xcoffsolib.c (command.h): Include for needed prototypes.
Martin Hunt [Thu, 15 Aug 1996 20:26:03 +0000 (20:26 +0000)]
Thu Aug 15 13:24:30 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
* config/tc-d10v.c: Add additional information to the opcode
table to help determinine which instructions can be done
in parallel.
Martin Hunt [Thu, 15 Aug 1996 20:14:06 +0000 (20:14 +0000)]
Thu Aug 15 13:11:46 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
* d10v.h: Add some additional defines to support the
assembler in determining which operations can be done in parallel.
Stan Shebs [Thu, 15 Aug 1996 20:13:38 +0000 (20:13 +0000)]
* mpw-make.sed: Update editing of include pathnames to be
more general.
Stan Shebs [Thu, 15 Aug 1996 19:41:17 +0000 (19:41 +0000)]
* mpw-config.in: Update editing of autoconf vars to reflect
Jul 18 configure.in change.
* mpw-make.sed: Update editing of include pathnames to be
more general, add @DASH_C_FLAG@ to explicit compile rule edit.
Jackie Smith Cashion [Thu, 15 Aug 1996 15:58:35 +0000 (15:58 +0000)]
Thu Aug 15 16:40:30 1996 James G. Smith <jsmith@cygnus.co.uk>
* reloc.c: (BFD_RELOC_ARM_THUMB_ADD, BFD_RELOC_ARM_THUMB_IMM,
BFD_RELOC_ARM_THUMB_SHIFT, BFD_RELOC_ARM_THUMB_OFFSET):
Added, for internal use by the ARM gas.
* libbfd.h: Rebuilt
* bfd-in2.h: Rebuilt
Jackie Smith Cashion [Thu, 15 Aug 1996 15:29:41 +0000 (15:29 +0000)]
Thu Aug 15 16:28:41 1996 James G. Smith <jsmith@cygnus.co.uk>
* arm-opc.h: Added "bx" instruction definition.
Jackie Smith Cashion [Thu, 15 Aug 1996 15:27:53 +0000 (15:27 +0000)]
Thu Aug 15 16:25:05 1996 James G. Smith <jsmith@cygnus.co.uk>
* gas/arm/arm.exp: Change inst.s test to check objdump.
* gas/arm/inst.d: Added.
Jackie Smith Cashion [Thu, 15 Aug 1996 15:07:55 +0000 (15:07 +0000)]
Thu Aug 15 16:06:02 1996 James G. Smith <jsmith@cygnus.co.uk>
* gas/arm/thumb.s: Added.
* gas/arm/immed.s: Added.
* gas/arm/arch4t.s: Added.
* gas/arm/arm.exp: Updated to run the new tests.
Stu Grossman [Thu, 15 Aug 1996 00:56:07 +0000 (00:56 +0000)]
* config/i386/cygwin32.mh: Set NAT_FILE to nm-empty.h to make
native work.
Ian Lance Taylor [Thu, 15 Aug 1996 00:03:50 +0000 (00:03 +0000)]
Wed Aug 14 17:02:09 1996 Richard Henderson <rth@tamu.edu>
* elf64-alpha.c (elf64_alpha_size_dynamic_sections): Correct typo
in section dynidx start.
Ian Lance Taylor [Thu, 15 Aug 1996 00:01:21 +0000 (00:01 +0000)]
Wed Aug 14 17:00:04 1996 Richard Henderson <rth@tamu.edu>
* alpha-opc.c (EV4EXTHWINDEX): Field width should be 8 not 5.
Fred Fish [Wed, 14 Aug 1996 22:41:34 +0000 (22:41 +0000)]
From Blair MacIntyre <bm@cs.columbia.edu>:
* hppa-tdep.c (hppa_fix_call_dummy): Use MSYMBOL_TYPE rather
than SYMBOL_TYPE on msymbols.
* somsolib.c (som_solib_create_inferior_hook): Ditto.
Fred Fish [Wed, 14 Aug 1996 20:29:08 +0000 (20:29 +0000)]
* Makefile.in (init.c): Generate with prototypes.
* config/pa/tm-hppa.h (frame_saved_pc): Add prototype.
* config/rs6000/xm-rs6000.h (aix_resizewindow): Ditto.
* config/rs6000/tm-rs6000.h (frame_initial_stack_address): Ditto.
(pc_load_segment_name): Ditto.
(pop_frame): Ditto.
(extract_return_value): Ditto.
(is_magic_function_pointer): Ditto.
(push_dummy_frame): Ditto.
(fix_call_dummy): Ditto.
(push_arguments): Ditto.
(skip_trampoline_code): Ditto.
(aix_process_linenos): Ditto.
* config/m68k/tm-cisco.h (get_longjmp_target): Add prototype.
* config/m68k/tm-es1800.h: Ditto.
* config/m68k/tm-vx68.h: Ditto.
* config/m68k/tm-sun3.h: Ditto.
* config/m68k/tm-m68kv4.h: Ditto.
Ian Lance Taylor [Wed, 14 Aug 1996 17:51:49 +0000 (17:51 +0000)]
* config/tc-i386.c (tc_i386_fix_adjustable): Don't adjust relocs
against weak symbols.
Fred Fish [Wed, 14 Aug 1996 08:46:24 +0000 (08:46 +0000)]
* config/mips/nm-mips.h (get_longjmp_target): Add prototype.
* config/mips/nm-irix3.h (get_longjmp_target): Add prototype.
* remote-mips.c (mips_read_processor_type): Remove prototype.
* mips-tdep.c (gdb_print_insn_mips): Add prototype and make static.
* irix5-nat.c (fetch_core_registers): Add prototype.
Ian Lance Taylor [Wed, 14 Aug 1996 01:02:04 +0000 (01:02 +0000)]
* config/tc-ppc.h (TC_FORCE_RELOCTION): Define if OBJ_XCOFF.
(ppc_force_relocation): Declare if OBJ_XCOFF.
* config/tc-ppc.c (ppc_force_relocation): New function if
OBJ_XCOFF.
Ian Lance Taylor [Tue, 13 Aug 1996 21:39:37 +0000 (21:39 +0000)]
* elf.c (_bfd_elf_make_section_from_shdr): Treat sections whose
name begins with .gnu.linkonce as SEC_LINK_ONCE. This is an
optimization for g++.
Michael Meissner [Tue, 13 Aug 1996 21:09:06 +0000 (21:09 +0000)]
If one module has -mrelocatable-lib and the other doesn't, clear the -mrelocatable-lib bit
Michael Meissner [Tue, 13 Aug 1996 17:29:04 +0000 (17:29 +0000)]
Improve -t options support to list all of the configuration macros & work standalone
Fred Fish [Tue, 13 Aug 1996 04:27:08 +0000 (04:27 +0000)]
* remote-pa.c (boot_board): Add dummy params to make type compatible
for passing to add_com.
* scm-exp.c (scm_lreadr): Ensure svalue is not used uninitialized.
* buildsym.c (compare_line_numbers): Change function to match
prototype and also what qsort expects.
Fred Fish [Tue, 13 Aug 1996 04:21:10 +0000 (04:21 +0000)]
Resurrect code to increase timeout in "handle all print" cases in signals.exp.
Mark Alexander [Tue, 13 Aug 1996 02:30:34 +0000 (02:30 +0000)]
* remote.c: Make remote_write_size public.
* sh-tdep.c (_initialize_sh_tdep): Set remote_write_size to 300
to prevent packet errors with some versions of CMON.
(Fixes PR 10254)
Stu Grossman [Tue, 13 Aug 1996 00:04:17 +0000 (00:04 +0000)]
* ansidecl.h: Change WIN32 to _WIN32.
Stu Grossman [Tue, 13 Aug 1996 00:01:37 +0000 (00:01 +0000)]
* defs.h: Define CONST_PTR as blank if compiling with Microsoft
C, else it's `const'.
* c-lang.c c-lang.h ch-lang.c f-lang.c language.c m2-lang.c
scm-lang.c: Microsoft C can't hack const pointers. Use CONST_PTR
macro instead.
* configure configure.in defs.h: Use AC_C_CONST to figure out if
the compiler supports const. Gets rid of some cruft in defs.h.
* dwarf2read.c: <string.h> -> "gdb_string.h"
* remote-sim.c: Add prototypes. Fix call to gdbsim_kill.
* sparcl-tdep.c (download): Add prototypes to write_routine and
start_routine args.
* mswin/gdbwin.c: Don't include both varargs.h AND stdarg.h. Get
rid of varargs.h Include string.h.
* (gdbwin_update gdbwin_fputs regs_changed_f bpt_changed_f
update): Fix prototypes, fix calls.
* (update): Return value for catch_errors.
* (run_execute_command togdb_command_from_tty togdb_command):
Cleanup catching of errors from calls to execute_command. Also,
dup command string to avoid modifying const strings.
* (togdb_breakinfo_i_init togdb_breakinfo_i_next): Use 0 instead
of NULL when see if b->address isn't set.
* (bi_disable_bpt bi_enable_bpt bi_delete_all
bi_delete_breakpoint): Add arg to calls to update.
* (gui_command): Add prototype.
* (mswin_query): Fix prototype.
* (_initialize_gdbwin): Dup string to avoid modifying const.
* (info_path togdb_get_info_path): Remove const from decls cuz
this can't be const (it points at malloc'ed memory).
* (togdb_searchpath): Remove const from path. Dup string to
avoid modifying const strings.
* rindex -> strrchr.
* (gdbwin_list_symbols): Regexp param is const.
* Fix lots of refs to psymtabs to deref correct pointers.
* (togdb_set_breakpoint_sal): Call set_breakpoint_sal with sal,
not &sal.
* mswin/gdbwin.h (togdb_searchpath togdb_get_info_path
toget_set_info_path): Fix prototypes to match reality.
* mswin/gui.cpp: Define _beginthreadex and _endthreadex routines
with proper prototypes.
* mswin/iface.cpp (gdbwin_fputs): Define with correct number of args.
* mswin/ser-win32s.c: Fix defs of min and max.
* mswin/serdll32.c (OpenComm16): Make cbInQueue and cbOutQueue be
USHORT.
* (WriteComm16): Change lpBug from LPVOID to LPCSTR.
* mswin/serdll32.h: Fix prototypes for OpenComm16 and WriteComm16.
Ian Lance Taylor [Mon, 12 Aug 1996 23:51:25 +0000 (23:51 +0000)]
* config/tc-mips.h (BYTE_ORDER): Don't define. No longer used.
Michael Meissner [Mon, 12 Aug 1996 23:06:21 +0000 (23:06 +0000)]
Test whether /dev/zero works before attemping to us it