aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1998-03-24Add ability to configure mn10300 built with common simulator code base.Joyce Janczyn2-50/+551
Use --enable-sim-common to build this way; default configure has not changed.
1998-03-24New {load/store}_{byte/half/word} macros for simulator built withJoyce Janczyn1-5/+209
common framework.
1998-03-24Header file required by igen generated files.Joyce Janczyn1-0/+96
1998-03-24IGEN input files for mn10300 simulator.Joyce Janczyn2-0/+3524
1998-03-24 * Makefile.in: Get SHELL from configure.Stu Grossman1-0/+16
* configure: Regenerate with autoconf 2.12.1 to fix shell issues for NT native builds.
1998-03-24 * Make-common.in: Get SHELL from configure.Stu Grossman3-39/+225
* (stamp-tvals sim-inline.c): Use $(SHELL) when invoking move-if-change. Fixes NT native build problem. * Makefile.in (nltvals.def): Use $(SHELL) when invoking move-if-change. Fixes NT native build problem. * configure: Regenerate with autoconf 2.12.1 to fix shell issues for NT native builds.
1998-03-24 * Makefile.in: Derive SHELL from configure.Stu Grossman8-109/+255
* config/d10v/d10v.mt config/d30v/d30v.mt config/m32r/m32r.mt config/mn10200/mn10200.mt config/mn10300/mn10300.mt : Remove -lm from SIM. This prevents dependency checking of -lm (under NT native builds). (It is automatically added by configure if it exists.) * doc/configure mswin/configure nlm/configure testsuite/gdb.base/configure testsuite/gdb.c++/configure testsuite/gdb.chill/configure testsuite/gdb.disasm/configure testsuite/gdb.stabs/configure testsuite/gdb.threads/configure: Regenerate with autoconf 2.12.1 to fix shell issues for NT native builds.
1998-03-24 * Makefile.in (CC_FOR_TARGET): Use $(TARGET_SUBDIR) when passing -BIan Lance Taylor2-12/+19
for newlib directory. (CXX_FOR_TARGET): Likewise.
1998-03-24Build IGEN with the mn10300 simulator.Joyce Janczyn3-63/+53
1998-03-24Mon Mar 23 18:10:57 1998 Ulrich Drepper (drepper@cygnus.com)Jason Molenda1-0/+5
* solib.c (solib_create_inferior_hook): Rewrite previous change to check the type of file via BFD.
1998-03-23Mon Mar 23 18:54:15 1998 Joel Sherrill <joel@OARcorp.com>Ian Lance Taylor1-0/+8
* configure.tgt: (sh*-*-rtems*): Switched from ELF to COFF.
1998-03-23Mon Mar 23 18:53:40 1998 Joel Sherrill <joel@OARcorp.com>Ian Lance Taylor1-0/+5
* configure.in: (sh*-*-rtems*): Switched from ELF to COFF. * configure: Rebuild.
1998-03-23Mon Mar 23 18:51:47 1998 Joel Sherrill <joel@OARcorp.com>Ian Lance Taylor1-0/+4
* config.bfd: (sh*-*-rtems*): Switched from ELF to COFF.
1998-03-23fix random sanitization errorsAngela Marie Thomas1-1/+1
1998-03-23Add interworking support (untested) to pe backends.Nick Clifton2-50/+86
1998-03-23Mon Mar 23 13:52:28 1998 Ulrich Drepper (drepper@cygnus.com)Jason Molenda2-13/+77
* breakpoint.c (breakpoint_re_set_one): Treat bp_shlib_events like bp_breakpoints. * solib.c (solib_create_inferior_hook): Relocate section addresses if the alleged start address doesn't agree with the PC.
1998-03-23 * gas/dvp/mpg-1.[sd]: New files.Doug Evans1-0/+8
* gas/dvp/mpg-1vu.s: New file. * gas/dvp/dvp.exp: Run new test mpg-1.s.
1998-03-23 * config/tc-dvp.c (insert_mpg_marker): Update mpgloc.Doug Evans2-0/+12
1998-03-23add sanitization markerNick Clifton1-0/+2
1998-03-23Fix SATH bit patternNick Clifton2-178/+187
1998-03-23Fix SATH bit pattern (PR15418)Nick Clifton1-0/+5
1998-03-23Mon Mar 23 13:41:39 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni2-39/+84
* gdbtk.c (gdb_get_mem): Rewrite to fetch entire contents of the memory window at once.
1998-03-23* Oops, added note re. regeneration of "configure" script.Frank Ch. Eigler1-0/+1
1998-03-23* Added sky-sanitized --with-sim-gpu2 option to match the one given toFrank Ch. Eigler3-122/+480
stand-alone sky simulator, last week. start-sanitize-sky Mon Mar 23 13:07:22 1998 Frank Ch. Eigler <fche@cygnus.com> * configure.in (sim-gpu2): Added --with-sim-gpu2 as configure option, to allow gdb+sim linking with sky GPU2 library. end-sanitize-sky
1998-03-23 * ltconfig: Update after libtool/ltconfig.in change forJeff Law1-0/+9
hpux11.
1998-03-23 * dvp.h (vif_operand_datalen_special): Declare.Doug Evans1-0/+20
1998-03-23 * dvp-opc.c (vif_operand_datalen_special): New global.Doug Evans1-0/+18
1998-03-23* Backing out non-dvp changes from 1998-03-20; ".section text" is notFrank Ch. Eigler1-0/+13
understood to be the same as ".text" on all ports. The DVP assembler will resume failing these two tests.
1998-03-23 * config/tc-mips.c (validate_mips_insn): Handle r5900 operands.Jeff Law1-0/+2
1998-03-22Sat Mar 21 19:34:49 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni9-222/+685
merged changes from Foundry (list follows by file/author): - Tom Tromey <tromey@cygnus.com> * Makefile.in (gdbres.o): New target. (WINDRES): New define. * configure: Rebuilt. * configure.in (WINDRES): Define. (CONFIG_OBS): Include gdbres.o on Windows. * gdbtool.ico: New file. * gdb.rc: New file. * ser-unix.c - Keith Seitz <keiths@onions.cygnus.com> (wait_for): Don't reset the timeout_remaining for CYGWIN32, since we now effectively poll the serial port. Don't reset the current_timeout, either, since this member is used by hardwire_readchar to track the timeout and call the ui_loop_hook. (hardwire_readchar): Poll the serial port for Cygwin32. We timeout every second, update the UI, and loop around doing this until we have hit the real timeout or we get data or an error. This will allow the UI to stay active while gdb is "blocked" talking to the target. - Martin M. Hunt <hunt@cygnus.com> (wait_for): Do reset current_timeout because it is only used to keep track of what the current timeout for the scb is. * top.c - Martin M. Hunt <hunt@cygnus.com> (quit_confirm): Change exit message again for GUI. (pc_changed_hook): Add prototype. - Tom Tromey <tromey@cygnus.com> (quit_confirm): Added missing `else'. (quit_confirm): Special-case message if init_ui_hook is set. * symtab.c - Martin M. Hunt <hunt@cygnus.com> (find_pc_sect_line): If no symbol information is found, return correct pc anyway. (find_methods): Comment out an apparently bogus error message because it messes up Foundry. * serial.c - Martin M. Hunt <hunt@cygnus.com> (_initialize_serial): Add a description of "set remotelogbase". * findvar.c - Martin M. Hunt <hunt@cygnus.com> (write_register_gen): Add call to pc_changed_hook if the PC is being changed. * defs.h - Martin M. Hunt <hunt@cygnus.com> (pc_changed_hook): Define. * command.c - Martin M. Hunt <hunt@cygnus.com> (do_setshow_command): If no arguments are supplied, don't dump core, instead print out an error message. * breakpoint.c - Martin M. Hunt <hunt@cygnus.com> Make set_raw_breakpoint, set_breakpoint_count, and breakpoint_count non-static so they are accessible from gdbtk.c. (enable_breakpoint): Enable breakpoint with same disposition instead of changing all breakpoints to donttouch. * annotate.h - Keith Seitz <keiths@onions.cygnus.com> Add declarations for annotation hooks. * annotate.c - Keith Seitz <keiths@onions.cygnus.com> Add hooks: annotate_starting_hook, annotate_stopped_hook, annotate_signalled_hook, annotate_exited_hook. (annotate_starting): If hook exists, call it instead. (annotate_stopped): If hook exists, call it instead. (annotate_exited): If hook exists, call it instead. (annotate_signalled): If hook exists, call it instead. Sat Mar 21 19:34:49 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com> Merged changes from Foundry: list follows by author: - Tom Tromey <tromey@cygnus.com> * Makefile.in (gdbres.o): New target. (WINDRES): New define. * configure: Rebuilt. * configure.in (WINDRES): Define. (CONFIG_OBS): Include gdbres.o on Windows. * gdbtool.ico: New file. * gdb.rc: New file. * gdbtk.c (gdbtk_init): Call ide_create_messagebox_command. (gdbtk_cleanup): Call ide_interface_deregister_all. (gdbtk_init): Pass event handle to cleanup. (TclDebug): Use Tcl_Merge to construct command. (gdbtk_init): Call ide_create_cygwin_path_command. - Martin M. Hunt <hunt@cygnus.com> * gdbtk.c (gdb_set_bp): Set addr_string for bp. (gdb_get_breakpoint_info): Demangle function names in breakpoint info. Include "demangle.h". (gdb_loc, gdb_listfuncs): Demangle C++ function names. (gdb_set_bp): Properly quote filename to fix problems with spaces. Send pc back as a hex string. (gdb_listfuncs): Remove debugging line. Turn off some debugging lines. (breakpoint_notify): Return correct line number. (gdb_get_breakpoint_info): Return correct line number. (gdb_set_bp): New function to provide a better way to set breakpoints. (gdbtk_readline, gdbtk_readline_begin): Memory allocated by tcl needs to be freed by Tcl_Free(). (find_file_in_dir): Deleted. (gdb_find_file_command): Call full_lookup_symtab(). (gdb_listfuncs): Call full_lookup_symtab(). (full_lookup_symtab): New function. Like lookup_symtab except handles multiple files with the same basename, full pathnames, and always sets symtab->fullname. (gdb_loadfile): Call full_lookup_symtab(). Clear realloc'd memory. (gdb_loadfile): Don't tag lines without source. Tag source lines with source_tag. (gdb_find_file_command, find_file_in_dir): Rewrite. Now searches symtabs and psymtabs for a match on the partial or full filename. Returns the full pathname. (gdb_loadfile): Realloc additional memory if someone loads in a file with more than 160,000 lines. I don't know if this really works because I don't have enough memory to test it. (gdb_sourcelines): Deleted. (gdb_loadfile): New function. Takes a text widget and loads it with the contents of a file. Marks and tags source lines. (pc_changed): New function. (get_pc_register): Returns the value of the PC to GDB. (gdb_loc): If looking on the stack, return real pc along with calling source line. (gdb_loc): Return "" instead of "N/A" if filename is not found. (gdb_get_breakpoint_info): Same. (get_register): For Natural mode, set format to 0. Minor bugfixes from keiths. (TclDebug): New function for debugging use. (gdb_loc): Return correct PC for frames that are not the innermost frame. (gdb_listfiles): Rewritten to use object API. Now takes an optional dirname which will cause only files in that directory or its subdirectories to be returned. Now returns basenames instead of full pathnames. (gdb_cmd): Set/reset load_in_progress flag. (call_wrapper): Don't pop up dialog for errors in downloads; just abort download. (gdbtk_load_hash): Set return value correctly. - Keith Seitz <keiths@onions.cygnus.com> * gdbtk.c (gdbtk_init): Define the ui_loop_hook so that it can be called by routines which might block, allowing us to update the GUI. (gdbtk_wait): Move timer calls to annotation hooks. (gdbtk_init): Define the annotation hooks. (gdbtk_annotate_starting): New function for cygwin32 hosts. (gdbtk_annotate_stopped): New function for cygwin32 hosts. (gdbtk_annotate_exited): New function for cygwin32 hosts. (gdbtk_annotate_signalled): New function. for cygwin32 hosts. (gdbtk_init): Use gdbtk_print_frame_info hook. (gdbtk_print_frame_info): New function which sets current_source_symtab based on the given symtab and line info. (gdb_immediate_command): New function which does not buffer any output. (Contrast to gdb_cmd.) (gdb_prompt_command): New function to return gdb's prompt. (find_file_in_dir): New functon which searches source paths for a given filename. (gdb_find_file): New function which returns path to given file -- uses find_file_in_dir. (gdbtk_init): Install "gdb_immediate", "gdb_find_file", and "gdb_prompt" commands into interpreter. - Ian Lance Taylor <ian@cygnus.com> * gdbtk.c (gdbtk_timer_going): If __CYGWIN32__, new static variable. (gdb_cmd): If __CYGWIN32__, if executing the load command, call gdbtk_start_timer and gdbtk_stop_timer. (call_wrapper): If __CYGWIN32__, if the timer is going, turn it off. Clear load_in_progress. (x_event): If load_in_progress, quit if download_cancel_ok. (gdbtk_start_timer): Set gdbtk_timer_going. (gdbtk_stop_timer): Clear gdbtk_timer_going. (gdbtk_wait): Call x_event. (gdbtk_init): Call ide_create_win_grab_command if __CYGIN32__. (gdb_clear_file): Clear stop_pc.
1998-03-22New function hw_strdup() - use memory tied to hw device.Andrew Cagney1-0/+380
Tidy up hw-properties error messages. New device dv-glue.c (copied from ../ppc/hw_glue.) Only attach a port after a devices initialization has finished.
1998-03-22 * config/tc-mips.c (append_insn): Handle BFD_RELOC_MIPS16_S3.Jeff Law2-0/+23
(mips_ip): Handle 'O' operand. (md_apply_fix): Handle BFD_RELOC_MIPS16_S3.
1998-03-22 * elf32-mips.c (R_MIPS15_S3): New relocation type.Jeff Law1-1/+1
(elf_mips_howto_table): Add R_MIPS15_S3. (mips_reloc_map): Map BFD_RELOC_MIPS15_S3 to R_MIPS15_S3. * reloc.c (BFD_RELOC_MIPS15_S3): New relocation type. * bfd-in2.h, libbfd.h: Rebuilt.
1998-03-22 * vu0.h (vcallms): Use 'O' for call target operand.Jeff Law2-2/+9
* mips-dis.c (print_insn_arg): Handle 'O'.
1998-03-22Fix typos: Setting trace in wrong function, ME vs HW.Andrew Cagney2-2/+5
1998-03-22Copy function ../ppc/device_table.c:generic_device_init_address() toAndrew Cagney4-4/+1390
hw-base.c:do_hw_attach_regs(). Use in dv-pal. Add hw_tree_delete to hw-tree.c.
1998-03-22Add function hw_trace() and macro HW_TRACE - provides trace supportAndrew Cagney6-13/+67
for HW devices.
1998-03-22Add hw_{malloc,zalloc,free} functions to hw_device. Any memoryAndrew Cagney7-8/+1335
allocated using these functions is reclaimed when the corresponding device is deleted.
1998-03-22Replace *attach_address() arguments SPACEMASK:ADDR with SPACE:ADDR.Andrew Cagney5-0/+1481
Add notes to hw-device.h that discuss the interpretation of SPACE:ADDR on a BUS.
1998-03-21* Updated DVP test case to match new alignment code that was checked in twoFrank Ch. Eigler2-1/+71
nights ago. Patched other two test cases to explicitly specify the ".text" segment for tests since the DVP assembler defaults to ".vutext".
1998-03-21 * Makefile.in: Rebuild with automake 1.2e.Ian Lance Taylor4-243/+361
* aclocal.m4, configure: Rebuild with libtool 1.2.
1998-03-21 * aclocal.m4, configure: Rebuild with libtool 1.2.Ian Lance Taylor2-157/+173
1998-03-20 * configure.in: Use AM_DISABLE_SHARED.Ian Lance Taylor2-233/+314
* aclocal.m4, configure: Rebuild with libtool 1.2.
1998-03-20 * configure.in: Use AM_DISABLE_SHARED.Ian Lance Taylor2-281/+355
* aclocal.m4, configure: Rebuild with libtool 1.2.
1998-03-20Fri Mar 20 14:45:36 1998 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder4-107/+282
* gdbserver/Makefile.in: add dependency on XM_CLIBS. * gdbserver/low-sim.c (registers) force into alignment. (create_inferior): Fix typo on new_argv; add abfd arg to sim_open, sim_create_inferior. Add reg_size arg to sim_fetch_register, sim_store_register. Make simulator take a single-step to get into a known running state. * gdbserver/gdbreplay.c: include fcntl.h for def'n of F_SETFL. * gdbserver/server.c: Add remote_debug variable to control debug output. * gdbserver/server.h: Add prototypes for enable/disable_async_io. * gdbserver/remote-utils.c: add verbose debugging output controlled by "remote_debug" variable. Add call to "disable_async_io()" to avoid being killed by async SIGIO signals. * config/m32r/m32r.mt: define GDBSERVER_(LIBS and DEPFILES), so that gdbserver can be built with the m32r simulator.
1998-03-20Sanitize away vu0 stuff unless --keep-r5900.Jeff Law2-0/+4
1998-03-20Added DMAC unit test cases.James Lemke4-2/+580
1998-03-20* Monster bug fixes & improvements from the last two days' demo-testing work.Frank Ch. Eigler4-19/+93
* sky-pke.h (pke_fifo*): Exported these formerly private functions. (pke_device): Added FIFO cache fields. * sky-pke.c (pke_fifo_reset): New function for GPUIF client - clear FIFO contents. (pke_pcrel_fifo): Added caching facility to prevent O(n^2) cost for searching for consecutive operand words. * sky-libvpe.c (MEM, uMEM): New/changed macros that perform modulo calculations to handle out-of-range VU memory addresses. (*): Replaced many previous uses of MEM[] and state->uMEM[] with calls to above macros. * sky-vu.h (struct VectorUnitState): Added qw/dw size fields for MEM/uMEM buffers, for overflow prevention. Renamed MEM/uMEM fields to catch all their prior users. * sky-vu0.c (vu0_attach): Manually align MEM0/MEM1 buffers to force 16-byte alignment. (zalloc is not enough.) * sky-vu1.c (vu1_attach): Ditto. (init_vu): Store buffer sizes from allocation into VectorUnitState. * sky-gpuif.h (GifPath): Use a pke_fifo strucf instead of temporary fixed-size array for flexible FIFO sizing. * sky-gpuif.c (SKY_GPU2_REFRESH): This is now an integer value to be used as a modulus for periodic refresh. (refresh): New function to send GPU2 refresh code periodically. (*): Use pke_fifo calls to en/dequeue GPUIF tags & operands. * sky-pke.h (struct pke_device): Added fields to allow caching of results from recent FIFO searches.
1998-03-20Fixes for PR15358 and 15373Nick Clifton1-0/+9
1998-03-20 * config/tc-mips.c: Change '%' to '#' in r5900 code to avoid conflictJeff Law2-2/+9
with vr5400 support.