Commit Graph

16825 Commits

Author SHA1 Message Date
Stan Shebs
2f163bc3c8 * 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.
1996-08-17 00:57:52 +00:00
Dawn Perchik
68fc375edd * symtab.h: changed namespace to _namespace for compiling under
MFC v4.0.
1996-08-17 00:32:45 +00:00
Stan Shebs
b208ff3b5a * 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
1996-08-16 20:53:56 +00:00
Michael Meissner
b597998a37 Fix warning 1996-08-16 19:48:46 +00:00
Jackie Smith Cashion
4caa115815 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.
1996-08-16 14:17:36 +00:00
Jackie Smith Cashion
61e3ce7432 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.
1996-08-16 13:19:45 +00:00
Jeff Law
b127cb95e9 * hppa.h (pitlb, pitlbe, iitlba, iitlbp, fic, fice): Accept
a 3 bit space id instead of a 2 bit space id.
Fixes net problem.
1996-08-16 06:15:52 +00:00
Stan Shebs
713effc560 * mpw-mh-mpw (SEGFLAG_68K, SEGFLAG_PPC): Remove.
(EXTRALIBS_PPC): Add libgcc.xcoff.
1996-08-16 02:49:07 +00:00
Stan Shebs
1906118dc7 * mpw-make.sed: Add symbolic doublequotes around the version
number.
1996-08-16 02:32:31 +00:00
Stan Shebs
9072e640c4 * mpw-config.in: Add wildcards for config matching, add mips-*-*
case, forward-include bfd/elf-bfd.h.
1996-08-15 23:40:40 +00:00
Fred Fish
eb17f9d504 * 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.
1996-08-15 20:52:34 +00:00
Martin Hunt
b98b04eadb 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.
1996-08-15 20:26:03 +00:00
Martin Hunt
e7706bb357 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.
1996-08-15 20:14:06 +00:00
Stan Shebs
a952ea1cb8 * mpw-make.sed: Update editing of include pathnames to be
more general.
1996-08-15 20:13:38 +00:00
Stan Shebs
22edd54732 * 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.
1996-08-15 19:41:17 +00:00
Jackie Smith Cashion
53ef6e6076 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
1996-08-15 15:58:35 +00:00
Jackie Smith Cashion
5247a22a88 Thu Aug 15 16:28:41 1996 James G. Smith <jsmith@cygnus.co.uk>
* arm-opc.h: Added "bx" instruction definition.
1996-08-15 15:29:41 +00:00
Jackie Smith Cashion
ac5a75ae11 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.
1996-08-15 15:27:53 +00:00
Jackie Smith Cashion
3bce65a493 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.
1996-08-15 15:07:55 +00:00
Stu Grossman
68dbf39775 * config/i386/cygwin32.mh: Set NAT_FILE to nm-empty.h to make
native work.
1996-08-15 00:56:07 +00:00
Ian Lance Taylor
37d7888d03 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.
1996-08-15 00:03:50 +00:00
Ian Lance Taylor
375d76efcc Wed Aug 14 17:00:04 1996 Richard Henderson <rth@tamu.edu>
* alpha-opc.c (EV4EXTHWINDEX): Field width should be 8 not 5.
1996-08-15 00:01:21 +00:00
Fred Fish
e5718bee33 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.
1996-08-14 22:41:34 +00:00
Fred Fish
81a80f3282 * 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.
1996-08-14 20:29:08 +00:00
Ian Lance Taylor
126436a8ca * config/tc-i386.c (tc_i386_fix_adjustable): Don't adjust relocs
against weak symbols.
1996-08-14 17:51:49 +00:00
Fred Fish
857dcde8c2 * 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.
1996-08-14 08:46:24 +00:00
Ian Lance Taylor
0e94336ef5 * 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.
1996-08-14 01:02:04 +00:00
Ian Lance Taylor
e38d6d362f * 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++.
1996-08-13 21:39:37 +00:00
Michael Meissner
ae20860e9d If one module has -mrelocatable-lib and the other doesn't, clear the -mrelocatable-lib bit 1996-08-13 21:09:06 +00:00
Michael Meissner
83a650d857 Improve -t options support to list all of the configuration macros & work standalone 1996-08-13 17:29:04 +00:00
Fred Fish
c1d58bcded * 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.
1996-08-13 04:27:08 +00:00
Fred Fish
c6cffcf8b4 Resurrect code to increase timeout in "handle all print" cases in signals.exp. 1996-08-13 04:21:10 +00:00
Mark Alexander
cd21cbc400 * 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)
1996-08-13 02:30:34 +00:00
Stu Grossman
9d896be306 * ansidecl.h: Change WIN32 to _WIN32. 1996-08-13 00:04:17 +00:00
Stu Grossman
8501c74270 * 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.
1996-08-13 00:01:37 +00:00
Ian Lance Taylor
817e4f757f * config/tc-mips.h (BYTE_ORDER): Don't define. No longer used. 1996-08-12 23:51:25 +00:00
Michael Meissner
9aecf50da5 Test whether /dev/zero works before attemping to us it 1996-08-12 23:06:21 +00:00
Fred Fish
d9538961cc * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
encapsulate all the steps/nexts done during self test, starting
	at main, and makes them less sensitive to optimization issues.
	Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
	signal handler" test.
	* gdb.threads/pthreads.exp: Only run this for native configs.
	* gdb.base/signals.exp (test_handle_all_print): Remove code that
	increased timeouts, it now makes no difference.
	* gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
	setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
	tests.
	gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
	for "runto test_calls(void)" test.
1996-08-12 22:38:30 +00:00
Martin Hunt
ed36b6cd33 Mon Aug 12 14:30:37 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
* d10v-opc.c (d10v_opcodes): Minor fixes to addi and bl.l.
1996-08-12 21:32:03 +00:00
Martin Hunt
f45dceb998 fix for D10V. 1996-08-12 18:04:58 +00:00
Michael Meissner
8df646fd8b For PowerPC targets, build libraries with -mrelocatable-lib and -mno-eabi. 1996-08-12 17:19:18 +00:00
Stu Grossman
8633ce7a02 * rldefs.c: Get rid of define of SIGALRM if _WIN32 or __MSDOS__.
* Don't define ScreenCols/ScreenRows/... if cygwin32.
	* sysdep-norm.h:  Don't include <malloc.h> if cygwin32.
1996-08-12 04:11:17 +00:00
Stu Grossman
82c6139baa * main.c (main): Make sure command loop is used with cygwin32.
* terminal.h:  Allow cygwin32 to use termios.h.
1996-08-12 04:02:41 +00:00
Stu Grossman
215d6a41d0 * config/mh-cygwin32 (CFLAGS): Define _WIN32 to be compatible
with normal Windows compilation environment.
1996-08-12 03:53:54 +00:00
Fred Fish
51da2b4a48 * rldefs.h: If __osf__is defined, include <termio.h> instead of
<sgtty.h>.
1996-08-11 22:05:41 +00:00
Fred Fish
10e3e33941 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
and don't expect address info in breakpoint confirmations.
1996-08-11 21:05:39 +00:00
Fred Fish
ab5aa3dc5d * gdb.base/list.exp (test_forward_search): Increase timeout
temporarily by 60 seconds for searching extremely long line,
 	and then reset to old value when done.  Increase expect input
	buffer to 10000.
1996-08-11 19:16:55 +00:00
Ian Lance Taylor
4596421b67 * elflink.h (elf_link_add_object_symbols): Do not resolve a common
symbol against a STT_FUNC symbol in a shared library.
1996-08-11 03:39:46 +00:00
Martin Hunt
f494d50348 Fri Aug 9 17:48:28 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
* config/tc-d10v.c: Fix problem with relocs.
1996-08-10 00:50:28 +00:00
Ian Lance Taylor
410bc61d0c * xcofflink.c (xcoff_link_add_dynamic_symbols): If a descriptor
symbol is found, automatically define the corresponding function
 	code.
PR 10299.
1996-08-10 00:15:30 +00:00