Geoffrey Noer [Thu, 21 Aug 1997 23:10:34 +0000 (23:10 +0000)]
Thu Aug 21 14:56:04 1997 Geoffrey Noer <noer@cygnus.com>
* ppc-bdm.c (bdm_ppc_wait): stop printfing ecr, der
* ocd.c: initialize remote_timeout
(ocd_wait): while looping, call ocd_do_command with OCD_AYT
(ocd_get_packet): remove find_packet goto. If there isn't
an 0x55 at the start, something is quite wrong so error out
instead of advancing in the packet and trying again. If checksum
is invalid, print error message instead of trying again.
* ser-ocd.c (ocd_readchar): error if we attempt to read past
the end of the from_wiggler_buffer.
Nick Clifton [Thu, 21 Aug 1997 21:43:44 +0000 (21:43 +0000)]
Fixed v850_section to cope with original section styles as well.
Nick Clifton [Thu, 21 Aug 1997 18:09:20 +0000 (18:09 +0000)]
Moved divh opcodes next to each other.
Nick Clifton [Thu, 21 Aug 1997 17:59:47 +0000 (17:59 +0000)]
Add support for parsing a double dash as the start of a comment that extends to the end of the line.
Nick Clifton [Thu, 21 Aug 1997 17:54:49 +0000 (17:54 +0000)]
Added support for NEC style assembler pseudo ops:
.section "name", <type>
.offset <expression>
.bss
Bob Manson [Thu, 21 Aug 1997 17:34:28 +0000 (17:34 +0000)]
* pr-9946.exp: Ditto.
* gch1280.exp: Ditto.
* gch1272.exp: Ditto.
Bob Manson [Thu, 21 Aug 1997 17:31:58 +0000 (17:31 +0000)]
* enum.exp: More quoting fixes.
*sigh*
David Edelsohn [Thu, 21 Aug 1997 08:01:46 +0000 (08:01 +0000)]
* config/tc-m32r.c (md_estimate_size_before_relax): Update recorded
insn when changing to a different instruction.
Nick Clifton [Wed, 20 Aug 1997 22:42:55 +0000 (22:42 +0000)]
Added N step divide routines, courtesy of Sugimoto at NEC.
Nick Clifton [Wed, 20 Aug 1997 20:57:05 +0000 (20:57 +0000)]
Fixed interpretation of SR bit in list18 structures.
Ian Lance Taylor [Wed, 20 Aug 1997 15:24:15 +0000 (15:24 +0000)]
* ldlang.c (wildcardp): Don't let a backslash by itself cause a
pattern to be treated as a wildcard pattern.
PR 13113.
Ian Lance Taylor [Wed, 20 Aug 1997 15:15:22 +0000 (15:15 +0000)]
* ldgram.y (atype): Accept parentheses with no type.
* ld.texinfo (Section Definition): Clarify use of whitespace.
(Section Placement): Likewise.
PR 13112.
Nick Clifton [Tue, 19 Aug 1997 17:07:05 +0000 (17:07 +0000)]
oops - fixed bugs in new v850e/q rules.
Fred Fish [Tue, 19 Aug 1997 16:46:03 +0000 (16:46 +0000)]
Tue Aug 19 08:59:12 1997 Fred Fish <fnf@cygnus.com>
* read.c (s_lcomm_internal): Renamed from s_lcomm, added arg to
flag when alignment is in bytes instead of power of 2, and code to
use that flag to convert alignment to bytes.
(s_lcomm, s_lcomm_bytes): New helpers that call s_lcomm_internal.
* read.h (s_lcomm_bytes): Add prototype.
* config/obj-coff.c (write_object_file): If ALIGNMENT_IN_S_FLAGS is
defined, write alignment to alignment bits in section header s_flags
rather than the s_align field.
start-sanitize-tic80
* config/obj-coff.h (ALIGNMENT_IN_S_FLAGS): Define for TC_TIC80.
* config/tc-tic80.c (md_pseudo_table): Use s_lcomm_bytes for bss
pseudo, instead of s_lcomm which wants a power of two for alignment.
end-sanitize-tic80
PR 12215 and PR 13061
Fred Fish [Tue, 19 Aug 1997 16:44:00 +0000 (16:44 +0000)]
* coff-i960.c (COFF_ALIGN_IN_SECTION_HEADER): Define to 1.
(GET_SCNHDR_ALIGN, PUT_SCNHDR_ALIGN): Define.
* coff-m88k.c (GET_SCNHDR_NRELOC, GET_SCNHDR_NLNNO): Define.
* coffcode.h (coff_set_alignment_hook): Conditionally compile in if
COFF_ALIGN_IN_SECTION_HEADER is defined. Convert alignment to power
of two for I960 only.
* coffswap.h (GET_SCNHDR_NRELOC, PUT_SCNHDR_NRELOC, GET_SCNDHR_NLNNO,
PUT_SCNHDR_NLNNO, GET_SCNHDR_FLAGS, PUT_SCNHDR_FLAGS): Provide
default definitions.
(coff_swap_scnhdr_in): Use GET_SCNHDR_FLAGS, GET_SCNHDR_NRELOC,
GET_SCNHDR_NLNNO, and GET_SCNHDR_ALIGN.
(coff_swap_scnhdr_out): Use PUT_SCNHDR_FLAGS, PUT_SCNHDR_ALIGN.
start-sanitize-tic80
* Makefile.in (coff-tic80.o): Depends upon coffswap.h.
* coff-tic80.c (COFF_ALIGN_IN_SECTION_HEADER): Define to 1.
(GET_SCNHDR_FLAGS, PUT_SCNHDR_FLAGS): Define
*coffcode.h (coff_write_object_contents): Set alignment field in
section header for TIC80COFF files.
end-sanitize-tic80
PR 12215 and PR 13061
Fred Fish [Tue, 19 Aug 1997 15:46:20 +0000 (15:46 +0000)]
* 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
Richard Henderson [Tue, 19 Aug 1997 03:48:22 +0000 (03:48 +0000)]
* macro.c (check_macro): use alloca instead of xmalloc to plug leak.
Richard Henderson [Tue, 19 Aug 1997 03:45:56 +0000 (03:45 +0000)]
* 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.
Ian Lance Taylor [Mon, 18 Aug 1997 21:31:51 +0000 (21:31 +0000)]
* 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.
Nick Clifton [Mon, 18 Aug 1997 18:42:35 +0000 (18:42 +0000)]
Add support for v850e and v850eq targets.
Add support for BFD_RELOC_V850_PCREL relocation.
Nick Clifton [Mon, 18 Aug 1997 18:30:31 +0000 (18:30 +0000)]
Add support for v850e and v850eq target.
Nick Clifton [Mon, 18 Aug 1997 18:26:42 +0000 (18:26 +0000)]
Add support for v850e and v850eq targets.
Add support for BFD_RELOC_V850_16_PCREL.
Nick Clifton [Mon, 18 Aug 1997 18:12:54 +0000 (18:12 +0000)]
Add support for v850e and v850eq targets.
Nick Clifton [Mon, 18 Aug 1997 18:01:42 +0000 (18:01 +0000)]
Add suport for v850e and v850eq
Nick Clifton [Mon, 18 Aug 1997 18:01:08 +0000 (18:01 +0000)]
Add support for V850eq variant opcodes.
Mark Alexander [Mon, 18 Aug 1997 17:02:58 +0000 (17:02 +0000)]
* Add gdbtcl2 to gdbtk_files.
Gavin Romig-Koch [Mon, 18 Aug 1997 13:27:25 +0000 (13:27 +0000)]
* config.sub: Add mipstx39. Delete r3900.
Jason Molenda [Mon, 18 Aug 1997 10:14:26 +0000 (10:14 +0000)]
* Makefile.in (all-vmake): Depends on all-tix.
Jason Molenda [Mon, 18 Aug 1997 08:26:07 +0000 (08:26 +0000)]
* 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.
Michael Snyder [Mon, 18 Aug 1997 03:33:27 +0000 (03:33 +0000)]
Sun Aug 17 20:31:57 1997 Michael Snyder (msnyder@cleaver.cygnus.com)
* m32r-stub.c: fix typo
Stan Shebs [Mon, 18 Aug 1997 00:41:39 +0000 (00:41 +0000)]
* 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.
Martin Hunt [Sun, 17 Aug 1997 07:47:55 +0000 (07:47 +0000)]
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.
Michael Meissner [Sat, 16 Aug 1997 03:11:09 +0000 (03:11 +0000)]
Update powerpc/rs6000 to current multilibs
Ian Lance Taylor [Fri, 15 Aug 1997 23:19:20 +0000 (23:19 +0000)]
* Makefile.am (check-DEJAGNU): Don't cd into testsuite until after
setting EXPECT and TCL_LIBRARY.
* Makefile.in: Rebuild.
Peter Schauer [Fri, 15 Aug 1997 21:10:32 +0000 (21:10 +0000)]
* 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.
Ian Lance Taylor [Fri, 15 Aug 1997 18:26:52 +0000 (18:26 +0000)]
fix copyrights
Ian Lance Taylor [Fri, 15 Aug 1997 18:19:27 +0000 (18:19 +0000)]
* 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.
Ian Lance Taylor [Fri, 15 Aug 1997 16:02:53 +0000 (16:02 +0000)]
* 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>.
Ian Lance Taylor [Fri, 15 Aug 1997 15:50:13 +0000 (15:50 +0000)]
fix v850 sanitization
Ian Lance Taylor [Fri, 15 Aug 1997 15:44:07 +0000 (15:44 +0000)]
fix v850 sanitization
David Edelsohn [Fri, 15 Aug 1997 12:20:57 +0000 (12:20 +0000)]
Remove ARC sanitization.
David Edelsohn [Fri, 15 Aug 1997 12:10:43 +0000 (12:10 +0000)]
* arc.h (enum reloc): Move here from elf32-arc.c.
David Edelsohn [Fri, 15 Aug 1997 12:08:52 +0000 (12:08 +0000)]
Remove ARC sanitization.
David Edelsohn [Fri, 15 Aug 1997 06:58:48 +0000 (06:58 +0000)]
Remove support for insns not in base chip, which is all we support now.
David Edelsohn [Fri, 15 Aug 1997 06:53:50 +0000 (06:53 +0000)]
Delete testcases, these don't appear in the base chip which is all we
support now.
David Edelsohn [Fri, 15 Aug 1997 06:49:09 +0000 (06:49 +0000)]
Remove ARC sanitization.
David Edelsohn [Thu, 14 Aug 1997 20:36:00 +0000 (20:36 +0000)]
Add comment.
David Edelsohn [Thu, 14 Aug 1997 20:07:56 +0000 (20:07 +0000)]
Undo last change, add comment saying why I think I was wrong.
David Edelsohn [Thu, 14 Aug 1997 19:55:37 +0000 (19:55 +0000)]
* callback.h (cb_printf, cb_eprintf): Declare.
Nick Clifton [Thu, 14 Aug 1997 19:55:03 +0000 (19:55 +0000)]
Fixed typo in previous delta and added more sanitization.
David Edelsohn [Thu, 14 Aug 1997 19:53:10 +0000 (19:53 +0000)]
* callback.c (os_poll_quit): Make static.
Call sim_cb_eprintf, not p->eprintf.
(sim_cb_printf, sim_cb_eprintf): New functions.
Nick Clifton [Thu, 14 Aug 1997 19:48:36 +0000 (19:48 +0000)]
oops - fixed typo.
Nick Clifton [Thu, 14 Aug 1997 19:45:14 +0000 (19:45 +0000)]
Tidied up sanitization.
Ian Lance Taylor [Thu, 14 Aug 1997 19:43:00 +0000 (19:43 +0000)]
* configure: Get CFLAGS and CXXFLAGS from Makefile, if possible.
Nick Clifton [Thu, 14 Aug 1997 19:42:22 +0000 (19:42 +0000)]
Tidied up sanitization
Nick Clifton [Thu, 14 Aug 1997 19:34:58 +0000 (19:34 +0000)]
Tidied up the sanitization.
Ian Lance Taylor [Thu, 14 Aug 1997 18:43:48 +0000 (18:43 +0000)]
* configure: When handling a Canadian Cross, handle YACC as well as
BISON. Just set BISON to bison. When setting YACC, prefer bison.
Stan Shebs [Thu, 14 Aug 1997 02:46:46 +0000 (02:46 +0000)]
keep remote-sds.c
Stan Shebs [Thu, 14 Aug 1997 02:41:15 +0000 (02:41 +0000)]
* 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.
Nick Clifton [Thu, 14 Aug 1997 02:13:32 +0000 (02:13 +0000)]
Added support for v850e and v850eq instructions.
Nick Clifton [Thu, 14 Aug 1997 02:03:34 +0000 (02:03 +0000)]
Added support for v850e and v850eq instructions.
Nick Clifton [Thu, 14 Aug 1997 01:55:51 +0000 (01:55 +0000)]
Add support for v850E and v850EQ instructions.
Nick Clifton [Thu, 14 Aug 1997 01:49:02 +0000 (01:49 +0000)]
Added support for new v850e and v850eq instructions.
Bob Manson [Wed, 13 Aug 1997 04:53:09 +0000 (04:53 +0000)]
Fix quoting.
Bob Manson [Wed, 13 Aug 1997 04:50:07 +0000 (04:50 +0000)]
Fix quoting.
Bob Manson [Wed, 13 Aug 1997 04:49:25 +0000 (04:49 +0000)]
* tests2.exp: Fix quoting.
* tests1.exp: Ditto.
Ian Lance Taylor [Wed, 13 Aug 1997 02:40:46 +0000 (02:40 +0000)]
* configure: If OSTYPE matches *win32*, try to find a good value for
CONFIG_SHELL.
Geoffrey Noer [Tue, 12 Aug 1997 21:38:54 +0000 (21:38 +0000)]
Tue Aug 12 14:37:18 1997 Geoffrey Noer <noer@cygnus.com>
* ocd.c (ocd_wait): loop until we're in BDM mode instead of
assuming control has returned to GDB.
Ian Lance Taylor [Tue, 12 Aug 1997 20:38:39 +0000 (20:38 +0000)]
* Makefile.in (install-only): Install tclIndex if ENABLE_IDE.
Richard Henderson [Tue, 12 Aug 1997 17:30:10 +0000 (17:30 +0000)]
* doc/internals.texi: Document rs_leb128.
Ian Lance Taylor [Tue, 12 Aug 1997 16:17:46 +0000 (16:17 +0000)]
* config/tc-m68k.c (m68k_ip): Give an error message for SIZE_BYTE
in ABSL case, rather than calling abort.
Richard Henderson [Tue, 12 Aug 1997 05:42:00 +0000 (05:42 +0000)]
* as.h (enum _relax_state): Add rs_leb128.
* read.c (potable): Add sleb128 and uleb128.
(sizeof_*leb128, output_*leb128, emit_leb128_expr, s_leb128): New
functions.
* read.h: Update prototypes.
* symbols.c (resolve_symbol_value): Streamline quite a bit. Return
the symbol value, add a second FINALIZE argument that prevents
changes from being comitted. Update all callers.
* write.c (cvt_frag_to_fill, relax_segment): Handle rs_leb128.
* doc/as.texinfo: Document the new pseudos.
Stan Shebs [Tue, 12 Aug 1997 02:35:11 +0000 (02:35 +0000)]
keep dink32 interface
Stan Shebs [Tue, 12 Aug 1997 02:34:14 +0000 (02:34 +0000)]
* dink32-rom.c: New file, support for DINK32 monitor.
* Makefile.in (dink32-rom.o): Add build rule.
* config/powerpc/ppc-eabi.mt, config/powerpc/ppc-sim.mt
(TDEPFILES): Add dink32-rom.o.
* monitor.h (MO_32_REGS_PAIRED, MO_SETREG_INTERACTIVE,
MO_SETMEM_INTERACTIVE, MO_GETMEM_16_BOUNDARY,
MO_CLR_BREAK_1_BASED): New monitor interface flags.
* monitor.c: Use them.
(monitor_store_register): Use setreg.term if defined.
(monitor_insert_breakpoint, monitor_remove_breakpoint): Notice
if set_break and clr_break fields are empty.
Geoffrey Noer [Mon, 11 Aug 1997 23:40:26 +0000 (23:40 +0000)]
Mon Aug 11 16:22:36 1997 Geoffrey Noer <noer@cygnus.com>
* ocd.c (ocd_insert_breakpoint, ocd_remove_breakpoint): macro
BDM_BREAKPOINT already has braces around it, remove erroneous ones.
* ser-ocd.c (ocd_write): conditionalize on _WIN32 instead of
__CYGWIN32__
* config/powerpc/tm-ppc-eabi.h: remove BDM_NUM_REGS, BDM_REGMAP
* ppc-bdm.c: move BDM_NUM_REGS, BDM_REGMAP here from tm.h file,
fill in doc fields of bdm_ppc_ops.
(bdm_ppc_fetch_registers): don't ask for invalid registers such
as the MQ or floating point regs not present on ppc 8xx boards
(bdm_ppc_store_registers): don't write those same invalid registers
* config/i386/cygwin32.mh: stop including ocd.o ser-ocd.o
* config/powerpc/ppc-eabi.mt:
* config/powerpc/ppcle-eabi.mt:
* config/powerpc/ppc-sim.mt:
* config/powerpc/ppcle-sim.mt: include ser-ocd.o
Fred Fish [Mon, 11 Aug 1997 23:14:47 +0000 (23:14 +0000)]
* frame.h (enum lval_type): Conditionalize on __GNUC__
instead of __STDC__.
Ian Lance Taylor [Mon, 11 Aug 1997 17:50:58 +0000 (17:50 +0000)]
* Makefile.in, configure.in: Handle jstools like vmake.
Tom Tromey [Mon, 11 Aug 1997 16:49:53 +0000 (16:49 +0000)]
* gdbtk.c (gdbtk_init): Use ide_event_init_from_environment.
Ian Lance Taylor [Mon, 11 Aug 1997 16:46:40 +0000 (16:46 +0000)]
* aoutx.h (NAME(aout,final_link)): Don't emit the string table if
there are no symbols.
Geoffrey Noer [Mon, 11 Aug 1997 02:04:16 +0000 (02:04 +0000)]
Sun Aug 10 16:49:09 1997 Geoffrey Noer <noer@cygnus.com>
* ocd.c: move ocd_write_bytes proto to ocd.h since it is used
by ppc-bdm.c, use OCD_LOG_FILE to help debugging, define
BDM_BREAKPOINT if not defined in tm.h
(ocd_error): add new error cases
(ocd_start_remote): send the OCD_INIT command before
OCD_AYT and OCD_GET_VERSION calls, 80 was correct speed after all
(ocd_write_bytes): no longer static
(ocd_insert_breakpoint): no longer static
(ocd_remove_breakpoint): new
* ocd.h: add protos for ocd_write_bytes, ocd_insert_breakpoint,
and ocd_remove_breakpoint
* ppc-bdm.c: change bdm_ppc_ops so we call ocd_insert_breakpoint
and ocd_remove_breakpoint instead of memory_insert_breakpoint
and memory_remove_breakpoint.
(bdm_ppc_open): after calling ocd_open, modify DER
register so interrupts will drop us into debugging mode, finally
disable the watchdog timer on the board so we don't leave BDM
mode unexpectedly.
Jeff Law [Mon, 11 Aug 1997 01:10:13 +0000 (01:10 +0000)]
* utils.c (error): Fix return type for !ANSI_PROTOTYPES.
Avoids "void void error" which craps out the HP native compiler.
Geoffrey Noer [Mon, 11 Aug 1997 00:01:59 +0000 (00:01 +0000)]
Sun Aug 10 16:49:09 1997 Geoffrey Noer <noer@cygnus.com>
* ocd.c: move ocd_write_bytes proto to ocd.h since it is used
by ppc-bdm.c, use OCD_LOG_FILE to help debugging, define
BDM_BREAKPOINT if not defined in tm.h
(ocd_error): add new error cases
(ocd_start_remote): send the OCD_INIT command before
OCD_AYT and OCD_GET_VERSION calls
(ocd_write_bytes): no longer static
(ocd_insert_breakpoint): no longer static
(ocd_remove_breakpoint): new
* ocd.h: add protos for ocd_write_bytes, ocd_insert_breakpoint,
and ocd_remove_breakpoint
* ppc-bdm.c: change bdm_ppc_ops so we call ocd_insert_breakpoint
and ocd_remove_breakpoint instead of memory_insert_breakpoint
and memory_remove_breakpoint.
(bdm_ppc_open): after calling ocd_open, modify DER
register so interrupts will drop us into debugging mode, finally
disable the watchdog timer on the board so we don't leave BDM
mode unexpectedly.
Ian Lance Taylor [Sun, 10 Aug 1997 18:53:06 +0000 (18:53 +0000)]
* Makefile.am (MOSTLYCLEANFILES): Add site.bak, site.exp, stage,
stage1, and stage2.
(DISTCLEANFILES): Define.
* doc/Makefile.am (DISTCLEANFILES): Define.
* Makefile.in, doc/Makefile.in: Rebuild.
Ian Lance Taylor [Sun, 10 Aug 1997 18:47:36 +0000 (18:47 +0000)]
* coff-stgo32.c: Rename from coff-stubgo32.c to avoid old System V
file system 14 character limit.
* Makefile.am, configure.in: Corresponding changes.
* Makefile.in, configure: Rebuild.
Ian Lance Taylor [Sun, 10 Aug 1997 18:41:42 +0000 (18:41 +0000)]
* Makefile.in (taz): Get the version number from AM_INIT_AUTOMAKE in
configure.in if it is present.
Ian Lance Taylor [Sun, 10 Aug 1997 18:31:04 +0000 (18:31 +0000)]
keep arc.h
Ian Lance Taylor [Sat, 9 Aug 1997 20:30:19 +0000 (20:30 +0000)]
* configure.in: Change version number to 2.8.2. Call
AM_PROG_LIBTOOL. Remove shared library handling; now handled by
libtool. Add AM_CONFIG_HEADER. Change AC_PROG_INSTALL to
AM_PROG_INSTALL. Add AM_EXEEXT.
* Makefile.am (LINK): Remove.
(gprof_LDFLAGS): Remove
(gprof_DEPENDENCIES): Change libbfd.a to libbfd.la.
(gprof_LDADD): Likewise.
($(OBJECTS)): Depend upon gconfig.h and ../bfd/config.h.
* gprof.h: Undefine PACKAGE and VERSION after including BFD
sysdep.h file, then include new gconfig.h file.
* gprof.c (VERSION): Don't define.
* acconfig.h: New file.
* stamp-h.in: New file.
* gconfig.in: New file, created by autoheader.
* Makefile.in, configure, aclocal.m4: Rebuild.
Peter Schauer [Sat, 9 Aug 1997 08:51:41 +0000 (08:51 +0000)]
* values.c (value_primitive_field): Account for offset when
extracting the value of a bitfield.
From Paul Hilfinger <hilfingr@CS.Berkeley.EDU>.
Ian Lance Taylor [Sat, 9 Aug 1997 04:58:27 +0000 (04:58 +0000)]
tipo
Ian Lance Taylor [Sat, 9 Aug 1997 04:57:20 +0000 (04:57 +0000)]
* config/default.exp: Change ld, as, nm and strip from .new to
-new. Load ld-lib.exp rather than ld.exp.
* ld-bootstrap/bootstrap.exp: Use ld-new rather than ld.new.
* lib/ld-lib.exp: Rename from lib/ld.exp, for the benefit of
DejaGnu changes.
Ian Lance Taylor [Sat, 9 Aug 1997 04:54:28 +0000 (04:54 +0000)]
* Makefile.am: New file, based on old Makefile.in.
* acinclude.m4: New file, from old aclocal.m4.
* configure.in: Call AM_INIT_AUTOMAKE and AM_PROG_LIBTOOL. Remove
shared library handling; now handled by libtool. Replace
AC_CONFIG_HEADER with AM_CONFIG_HEADER. Call AC_PROG_YACC,
AC_PROG_LEX, and AC_DECL_YYTEXT. Call AM_MAINTAINER_MODE,
AM_CYGWIN32, and AM_EXEEXT. Don't call CY_CYGWIN32 or CY_EXEEXT.
* configure.host: Don't set HLDFLAGS, HLDENV, or RPATH_ENVVAR.
* acconfig.h: Mention PACKAGE and VERSION.
* stamp-h.in: New file.
* ldver.c (ld_program_vresion): Set ld_program_version from
VERSION.
* ldgram.y, ldlex.l: Replace VERSION with VERSIONK.
* Makefile.in: Now built with automake.
* aclocal.m4: Now built with aclocal.
* configure, config.in: Rebuild.
Mark Alexander [Sat, 9 Aug 1997 04:54:08 +0000 (04:54 +0000)]
* sim-calls.c (sim_store_register): Allow accumulators
other than A0 to be modified. Correct error message.
Mark Alexander [Sat, 9 Aug 1997 04:49:48 +0000 (04:49 +0000)]
start-sanitize-tic80
* config/tic80/tic80.mt:
(GDBSERVER-DEPFILES, GDBSERVER_LIBS): Define for gdbserver.
(SIM): Remove -lm to prevent make errors.
* configure.tgt: add gdbserver to configdirs for tic80.
end-sanitize-tic80
* gdbserver/utils.c (error): Change prototype to match defs.h.
* gdbserver/low-sim.c: Change simulator calls to use new interface.
* remote.c (remote_write_bytes): Include '$' at start of packet
and checksum at end of packet in overhead calculation.
Ian Lance Taylor [Sat, 9 Aug 1997 00:22:10 +0000 (00:22 +0000)]
remove wigglers.def
Ian Lance Taylor [Sat, 9 Aug 1997 00:21:50 +0000 (00:21 +0000)]
* ser-ocd.c: If _WIN32, include <windows.h>.
(dll_do_command): New static variable if _WIN32.
(ocd_open): Set dll_do_command if _WIN32.
(ocd_write): Use dll_do_command rather than do_command.
* config/i386/cygwin32.mh (XDEPFILES): Remove libwigglers.a.
(BDM_DLLNAME, BDM_LIBNAME, BDM_DEFFILE): Don't define.
($(BDM_LIBNAME)): Remove target.
* wigglers.def: Remove.
Ian Lance Taylor [Sat, 9 Aug 1997 00:19:16 +0000 (00:19 +0000)]
* gdbtk.c (gdbtk_init): Change gdbtk_lib_tmp and gdbtk_file to be
dynamically allocated, rather than fixed size. Pass "gdbtcl" to
ide_initialize_paths to match installed directory name. If IDE,
use auto_path to search for main.tcl.
* Makefile.in (install-only): If ENABLE_IDE, install from gdbtcl2
rather than gdbtcl.
David Edelsohn [Sat, 9 Aug 1997 00:07:14 +0000 (00:07 +0000)]
* arc.h: New file.
* common.h (EM_CYGNUS_ARC): Define.
Plus remove arc sanitization.
David Edelsohn [Fri, 8 Aug 1997 23:58:57 +0000 (23:58 +0000)]
* arc.h: New file.
Plus remove arc sanitization.
David Edelsohn [Fri, 8 Aug 1997 23:47:56 +0000 (23:47 +0000)]
* dis-asm.h (arc_get_disassembler): Declare.
Plus remove arc sanitization.
David Edelsohn [Fri, 8 Aug 1997 23:32:05 +0000 (23:32 +0000)]
remove arc sanitization
This page took 0.03966 seconds and 4 git commands to generate.