Commit Graph

19730 Commits

Author SHA1 Message Date
Fred Fish ee804cff4f * objfiles.c (objfile_relocate): Add call to breakpoint_re_set
after relocations are complete.
	* remote-vx.c (vx_add_symbols): Remove call to breakpoint_re_set,
	this is now done in objfile_relocate.
PR 11308
1997-08-19 15:46:20 +00:00
Richard Henderson c631cd59dd * macro.c (check_macro): use alloca instead of xmalloc to plug leak. 1997-08-19 03:48:22 +00:00
Richard Henderson 96e0ff4665 * as.c (show_usage): Add -am.
* input-scrub.c (input_scrub_include_sb): Don't add leading \n
        if we've already got one.
        * listing.c (struct list_info_struct): Add line_contents.
        (listing_newline): Put unused argument to work: if non-null, save it...
        (listing_listing): ... and regurgitate during listing instead of line
        from file.
        * listing.h (LISTING_MACEXP): New define.
        (LISTING_NEWLINE): Argument is NULL.
        * read.c (read_a_source_file): If expanding macros, break up input
        lines and pass them to listing_newline.
        * doc/as.texinfo: Document -ac and -am.

        * cond.c (s_ifc): Add missing demand_empty_rest_of_line.
1997-08-19 03:45:56 +00:00
Ian Lance Taylor 36339ecd2b * win32-nat.c (handle_exception): Return a value indicating
whether the exception was handled.  Don't handle random exceptions
	the first time around, so that structured exception handling
	works.
	(child_wait): Check the return value of handle_exception.  Set the
	continue_status argument to ContinueDebugEvent accordingly.
1997-08-18 21:31:51 +00:00
Nick Clifton def47b537e Add support for v850e and v850eq targets.
Add support for BFD_RELOC_V850_PCREL relocation.
1997-08-18 18:42:35 +00:00
Nick Clifton 492c267000 Add support for v850e and v850eq target. 1997-08-18 18:30:31 +00:00
Nick Clifton a365cd79ee Add support for v850e and v850eq targets.
Add support for BFD_RELOC_V850_16_PCREL.
1997-08-18 18:26:42 +00:00
Nick Clifton ab11a82c2d Add support for v850e and v850eq targets. 1997-08-18 18:12:54 +00:00
Nick Clifton 27161f9e55 Add suport for v850e and v850eq 1997-08-18 18:01:42 +00:00
Nick Clifton 6ba5294adf Add support for V850eq variant opcodes. 1997-08-18 18:01:08 +00:00
Mark Alexander 9d48327cb2 * Add gdbtcl2 to gdbtk_files. 1997-08-18 17:02:58 +00:00
Gavin Romig-Koch 8d71997db4 * config.sub: Add mipstx39. Delete r3900. 1997-08-18 13:27:25 +00:00
Jason Molenda 1af1b62c34 * Makefile.in (all-vmake): Depends on all-tix. 1997-08-18 10:14:26 +00:00
Jason Molenda 3a671555de * Makefile.in (all-autoconf): Depends on all-texinfo.
autoconf tries to run makeinfo as a part of 'all'.  Instead of hacking
autoconf to build in the Cygnus way, I just added this dependency.
1997-08-18 08:26:07 +00:00
Michael Snyder 5f7142bf06 Sun Aug 17 20:31:57 1997 Michael Snyder (msnyder@cleaver.cygnus.com)
* m32r-stub.c: fix typo
1997-08-18 03:33:27 +00:00
Stan Shebs 3d7cd51746 * remote-sds.c: Remove unused remnants of remote.c.
(tob64): Return the result length.
	(sds_interrupt): Send a stop message.
	(sds_wait): Add debug output for signal interpretation, flag
	that signal was due to a trap.
	(sds_fetch_registers): Fill the registers array correctly for
 	PowerPC.
	(sds_store_registers): Get the right values from registers array.
	(putmessage): Tweak length handling so checksum comes out right.
	(sds_insert_breakpoint, sds_remove_breakpoint): Do correctly.
1997-08-18 00:41:39 +00:00
Martin Hunt 99c98415f2 Sun Aug 17 00:42:11 1997 Martin M. Hunt <hunt@cygnus.com>
* gdbtk.c (gdb_listfuncs): New function that returns
	a list of all the functions in a source file.
1997-08-17 07:47:55 +00:00
Michael Meissner e406b8d7f1 Update powerpc/rs6000 to current multilibs 1997-08-16 03:11:09 +00:00
Ian Lance Taylor 999f358732 * Makefile.am (check-DEJAGNU): Don't cd into testsuite until after
setting EXPECT and TCL_LIBRARY.
	* Makefile.in: Rebuild.
1997-08-15 23:19:20 +00:00
Peter Schauer 05d52ace86 * infrun.c (wait_for_inferior): Add the symbols for any
newly loaded objects upon a TARGET_WAITKIND_LOADED event.

	Rewrite code which determines the TOC address for calling functions
	in the inferior under AIX.
	* rs6000-nat.c (find_toc_address):  New function to determine
	the required TOC address from a function address.
	(_initialize_core_rs6000):  Set up find_toc_address_hook to point
	to find_toc_address.
	(xcoff_relocate_symtab, xcoff_relocate_core):  Remove
	add_text_to_loadinfo calls.
	(exec_one_dummy_insn):  Change pid and status to int to get rid of
	compiler warnings.
	(xcoff_relocate_symtab):  Cast ldi to `int *' when passing it to
	ptrace to get rid of compiler warnings.
	* rs6000-tdep.c:  Add definition for find_toc_address_hook.
	(rs6000_fix_call_dummy):  If find_toc_address_hook is non zero,
	patch TOC address load code in the call dummy with the value
	returned from find_toc_address_hook.
	(struct loadinfo, loadinfo, loadinfolen,
	loadinfotextindex, xcoff_init_loadinfo, free_loadinfo,
	xcoff_add_toc_to_loadinfo, add_text_to_loadinfo, find_toc_address):
	Remove.
	(_initialize_rs6000_tdep):  Remove initialization of
	coff_add_toc_to_loadinfo_hook and xcoff_init_loadinfo_hook.
	* xcoffread.c (coff_add_toc_to_loadinfo_hook,
	xcoff_init_loadinfo_hook):  Remove.
	(struct coff_symfile_info):  Add toc_offset field.
	(scan_xcoff_symtab):  Record toc_offset value in toc_offset field
	instead of calling xcoff_add_toc_to_loadinfo_hook.
	(get_toc_offset):  New function to return the value of the
	toc_offset field for an object file.
	(xcoff_initial_scan):  Remove call of xcoff_init_loadinfo_hook.
	* xcoffsolib.h (add_text_to_loadinfo):  Remove declaration.
	* config/rs6000/tm-rs6000.h:  Add declarations for
	find_toc_address_hook and get_toc_offset.
1997-08-15 21:10:32 +00:00
Ian Lance Taylor be3d1b6f9e fix copyrights 1997-08-15 18:26:52 +00:00
Ian Lance Taylor cd92403305 * as.h (enum debug_info_type): Define.
(debug_type): Declare.
	* as.c (debug_type): New global variable.
	(show_usage): Add --gstabs.
	(parse_args): Handle --gstabs.
	* read.c (generate_asm_lineno): Remove.
	(read_a_source_file): Output stabs debugging if appropriate.
	Change checks of generate_asm_lineno to check debug_type.  Only
	generate ECOFF debugging if ECOFF_DEBUGGING is defined.
	* read.h (generate_asm_lineno): Don't declare.
	(stabs_generate_asm_lineno): Declare.
	* stabs.c (stabs_generate_asm_lineno): New function.
	* ecoff.c (add_file): Use debug_type, not generate_asm_lineno.
	Don't turn off debugging.
	(add_file): Remove old #if 0 code.
	(ecoff_new_file): Set debug_type, not generate_asm_lineno.
	(ecoff_directive_end): Don't generate stabs line symbols.
	(ecoff_generate_asm_lineno): Don't check stabs_seen.  Don't set
	generate_asm_lineno.
	(line_label_cnt): Remove.
	(ecoff_generate_asm_line_stab): Remove.
	* ecoff.h (ecoff_generate_asm_line_stab): Don't declare.
	* doc/as.texinfo, doc/as.1: Document --gstabs.
1997-08-15 18:19:27 +00:00
Ian Lance Taylor 00c7247bce * coffgen.c (coff_find_nearest_line): Correctly handle the offset
argument as section relative, rather than an absolute address.
	From Jan Hoogenraad <hoogenrd@natlab.research.philips.com>.
1997-08-15 16:02:53 +00:00
Ian Lance Taylor d1a6b493b8 fix v850 sanitization 1997-08-15 15:50:13 +00:00
Ian Lance Taylor cfb9ba14c3 fix v850 sanitization 1997-08-15 15:44:07 +00:00
David Edelsohn 2b0c643b8d Remove ARC sanitization. 1997-08-15 12:20:57 +00:00
David Edelsohn 427a9cc709 * arc.h (enum reloc): Move here from elf32-arc.c. 1997-08-15 12:10:43 +00:00
David Edelsohn 76af94b9a4 Remove ARC sanitization. 1997-08-15 12:08:52 +00:00
David Edelsohn 76fc9bac4b Remove support for insns not in base chip, which is all we support now. 1997-08-15 06:58:48 +00:00
David Edelsohn 6ac387f1f8 Delete testcases, these don't appear in the base chip which is all we
support now.
1997-08-15 06:53:50 +00:00
David Edelsohn 3ffb03b170 Remove ARC sanitization. 1997-08-15 06:49:09 +00:00
David Edelsohn dddbd8c586 Add comment. 1997-08-14 20:36:00 +00:00
David Edelsohn bf008f9852 Undo last change, add comment saying why I think I was wrong. 1997-08-14 20:07:56 +00:00
David Edelsohn a5120a7e53 * callback.h (cb_printf, cb_eprintf): Declare. 1997-08-14 19:55:37 +00:00
Nick Clifton 035d8553d7 Fixed typo in previous delta and added more sanitization. 1997-08-14 19:55:03 +00:00
David Edelsohn 052d7984df * callback.c (os_poll_quit): Make static.
Call sim_cb_eprintf, not p->eprintf.
	(sim_cb_printf, sim_cb_eprintf): New functions.
1997-08-14 19:53:10 +00:00
Nick Clifton 323b12f8ce oops - fixed typo. 1997-08-14 19:48:36 +00:00
Nick Clifton a0a6db4bfa Tidied up sanitization. 1997-08-14 19:45:14 +00:00
Ian Lance Taylor d2657e3e44 * configure: Get CFLAGS and CXXFLAGS from Makefile, if possible. 1997-08-14 19:43:00 +00:00
Nick Clifton 3ff7258ec3 Tidied up sanitization 1997-08-14 19:42:22 +00:00
Nick Clifton 58036ae4c9 Tidied up the sanitization. 1997-08-14 19:34:58 +00:00
Ian Lance Taylor 72d8a21508 * configure: When handling a Canadian Cross, handle YACC as well as
BISON.  Just set BISON to bison.  When setting YACC, prefer bison.
1997-08-14 18:43:48 +00:00
Stan Shebs 23cb1bc1aa keep remote-sds.c 1997-08-14 02:46:46 +00:00
Stan Shebs 2d46177ce1 * remote-sds.c: New file, interface to SDS-compatible monitors.
* Makefile.in (remote-sds.o): Add build rule.
	* config/powerpc/ppc-eabi.mt, config/powerpc/ppc-sim.mt
 	(TDEPFILES): Add remote-sds.o.
1997-08-14 02:41:15 +00:00
Nick Clifton f7fcba7a84 Added support for v850e and v850eq instructions. 1997-08-14 02:13:32 +00:00
Nick Clifton 32e23ecd9c Added support for v850e and v850eq instructions. 1997-08-14 02:03:34 +00:00
Nick Clifton f61b671ddd Add support for v850E and v850EQ instructions. 1997-08-14 01:55:51 +00:00
Nick Clifton 190b78bbe1 Added support for new v850e and v850eq instructions. 1997-08-14 01:49:02 +00:00
Bob Manson 398e180ae9 Fix quoting. 1997-08-13 04:53:09 +00:00
Bob Manson 07ce0e49de Fix quoting. 1997-08-13 04:50:07 +00:00