summaryrefslogtreecommitdiffstats
path: root/gdb/remote-sim.c
Commit message (Collapse)AuthorAgeFilesLines
* * Makefile.in (arch-utils.o): Add $(sim_regno_h).Andrew Cagney2002-05-291-16/+0
| | | | | | | | | | | | * arch-utils.c: Include "sim-regno.h". * gdbarch.sh: Don't include "sim-regno.h". * gdbarch.h, gdbarch.c: Regenerate. * sim-regno.h (legacy_register_sim_regno): Move declaration from here. * arch-utils.h (legacy_register_sim_regno): To here. * remote-sim.c (legacy_register_sim_regno): Move function from here. * arch-utils.c (legacy_register_sim_regno): To here.
* * sim-regno.h: New file.Andrew Cagney2002-05-291-31/+77
| | | | | | | | | | | | | | | | | | | * Makefile.in (sim_regno_h): Define. (d10v-tdep.o, remote-sim.o): Add dependency on $(sim_regno_h). * remote-sim.c: Include "sim-regno.h" and "gdb_assert.h". (legacy_register_sim_regno): New function. (one2one_register_sim_regno): New function. (gdbsim_fetch_register): Rewrite. (gdbsim_store_register): Only store a register when REGISTER_SIM_REGNO is valid. * d10v-tdep.c: Include "sim-regno.h". (d10v_ts2_register_sim_regno): Add legacy_regiter_sim_regno check. (d10v_ts3_register_sim_regno): Ditto. * gdbarch.sh: Include "sim-regno.h". (REGISTER_SIM_REGNO): Set default to legacy_register_sim_regno. * gdbarch.h, gdbarch.c: Regenerate. * arch-utils.h (default_register_sim_regno): Delete declaration. * arch-utils.c (default_register_sim_regno): Delete function.
* Assume TARGET_BYTE_ORDER_SELECTABLE{,_P} is always true.Andrew Cagney2002-01-201-2/+1
|
* Remove ATTRIBUTE_UNUSED. Update (C).Andrew Cagney2002-01-191-5/+6
|
* s/BIG_ENDIAN/BFD_ENDIAN_BIG/Andrew Cagney2002-01-051-1/+1
|
* LITTLE_ENDIAN -> BFD_ENDIAN_LITTLEAndrew Cagney2001-12-151-1/+1
|
* * gnu-regex.c: Eliminate obsolete check for _MSC_VER.Christopher Faylor2001-06-101-1/+0
| | | | | | | | | | | | | | | | | | * utils.c (notice_quit): Remove dummy function only used for _MSC_VER. * values.c (unpack_double): Remove obsolete check for _MSC_VER. * defs.h: Ditto. * m32r-rom.c: Ditto. * p-exp.y: Ditto. * ser-e7kpc.c: Ditto. Define WIN32_LEAN_AND_MEAN under _WIN32, for faster compilation. (get_ds_base): Remove _MSC_VER version of this function. * nindy-share/ttyflush.c: Ditto. X * rdi-share/host.h: Ditto. X * ser-go32.c (dos_readchar): Remove call to obsolete function. * remote-sim.c (gdb_os_poll_quit): Ditto. * remote-e7000.c (expect): Remove obsolete #if 0'ed code. * main.c (captured_main): Eliminate special Cygwin checks. * ser-tcp.c: Remove unneeded __CYGWIN__ guard against system include.
* Phase 1 of the ptid_t changes.Kevin Buettner2001-05-041-11/+11
|
* * target.h (target_ops): Removed to_core_file_to_sym_file vectorJ.T. Conklin2001-04-141-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function. * corelow.c (core_ops): Updated for above change. * gnu-nat.c (core_ops): Likewise. * inftarg.c (child_ops): Likewise. * monitor.c (monitor_ops): Likewise. * ppc-bdm.c (bdm_ppc_ops): Likewise. * remote-adapt.c (adapt_ops): Likewise. * remote-bug.c (bug_ops): Likewise. * remote-e7000.c (e7000_ops): Likewise. * remote-eb.c (eb_ops): Likewise. * remote-es.c (es1800_ops, es1800_child_ops): Likewise. * remote-mm.c (mm_ops): Likewise. * remote-nindy.c (nindy_ops): Likewise. * remote-nrom.c (nrom_ops): Likewise. * remote-os9k.c (rombug_ops): Likewise. * remote-rdp.c (remote_rdp_ops): Likewise. * remote-sim.c (gdbsim_ops): Likewise. * remote-st.c (st2000_ops): Likewise. * v850ice.c (v850ice_ops): Likewise. * target.c (cleanup_target): Likewise (update_current_target): Likewise. (setup_target_debug): Likewise (debug_to_core_file_to_sym_file): Removed. * corefile.c (core_file_command) [HPUXHPPA]: Removed code that sets symbol file from information obtained from the core file. * corelow.c (core_file_to_sym_file): Removed.
* Update/correct copyright notices.Kevin Buettner2001-03-061-1/+2
|
* Create new file regcache.h. Update all uses.Andrew Cagney2001-03-011-0/+1
|
* Add __FILE__ and __LINE__ parameter to internal_error() /Andrew Cagney2001-02-081-2/+4
| | | | internal_verror().
* Fix printf fmt of long in remote-sim.c.Andrew Cagney2001-02-071-1/+3
| | | | mn10300-elf now buildable.
* * monitor.c (#include "gdb_wait.h"): Removed.J.T. Conklin2001-02-021-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ocd.c: Likewise. * ppc-bdm.c: Likewise. * remote-adapt.c: Likewise. * remote-array.c: Likewise. * remote-bug.c: Likewise. * remote-e7000.c: Likewise. * remote-eb.c: Likewise. * remote-es.c: Likewise. * remote-mips.c: Likewise. * remote-mm.c: Likewise. * remote-nindy.c: Likewise. * remote-os9k.c: Likewise. * remote-rdi.c: Likewise. * remote-rdp.c: Likewise. * remote-sds.c: Likewise. * remote-sim.c: Likewise. * remote-st.c: Likewise. * remote-udi.c: Likewise. * remote-vx.c: Likewise. * remote-vx29k.c: Likewise. * remote-vx68.c: Likewise. * remote-vx960.c: Likewise. * remote-vxmips.c: Likewise. * remote-vxsparc.c: Likewise. * remote.c: Likewise. * ser-pipe.c: Likewise. * ser-unix.c: Likewise. * Makefile.in: Updated dependencies. -------------------------------------------------------------------
* * exec.c (xfer_memory): Add attrib argument.J.T. Conklin2001-01-231-5/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * infptrace.c (child_xfer_memory): Likewise. * monitor.c (monitor_xfer_memory): Likewise. * remote-adapt.c (adapt_xfer_inferior_memory): Likewise. * remote-array.c (array_xfer_memory): Likewise. * remote-bug.c (bug_xfer_memory): Likewise. * remote-e7000.c (e7000_xfer_inferior_memory): Likewise. * remote-eb.c (eb_xfer_inferior_memory): Likewise. * remote-es.c (es1800_xfer_inferior_memory): Likewise. * remote-mips.c (mips_xfer_memory): Likewise. * remote-mm.c (mm_xfer_inferior_memory): Likewise. * remote-nindy.c (nindy_xfer_inferior_memory): Likewise. * remote-os9k.c (rombug_xfer_inferior_memory): Likewise. * remote-rdi.c (arm_rdi_xfer_memory): Likewise. * remote-rdp.c (remote_rdp_xfer_inferior_memory): Likewise. * remote-sds.c (sds_xfer_memory): Likewise. * remote-sim.c (gdbsim_xfer_inferior_memory): Likewise. * remote-st.c (st2000_xfer_inferior_memory): Likewise. * remote-udi.c (udi_xfer_inferior_memory): Likewise. * remote-vx.c (vx_xfer_memory): Likewise. * remote.c (remote_xfer_memory): Likewise. * target.c (debug_to_xfer_memory, do_xfer_memory): Likewise. * target.h (child_xfer_memory, do_xfer_memory, xfer_memory): Likewise. * target.h (#include "memattr.h"): Added. (target_ops.to_xfer_memory): Add attrib argument. * wince.c (_initialize_inftarg): Removed call to set_dcache_state. * dcache.h (set_dcache_state): Removed declaration. * dcache.c (set_dcache_state): Removed definition * dcache.c: Update module comment, as dcache is now enabled and disabled with memory region attributes instead of by the global variable "remotecache". Add comment describing the interaction between dcache and memory region attributes. (dcache_xfer_memory): Add comment describing benefits of moving cache writeback to a higher level. (dcache_struct): Removed cache_has_stuff field. This was used to record whether the cache had been accessed in order to invalidate it when it was disabled. However, this is not needed because the cache is write through and the code that enables, disables, and deletes memory regions invalidate the cache. Add comment which suggests that we could be more selective and only invalidate those cache lines containing data from those memory regions. (dcache_invalidate): Updated. (dcache_xfer_memory): Updated. (dcache_alloc): Don't abort() if dcache_enabled_p is clear. (dcache_xfer_memory): Removed code that called do_xfer_memory() to perform a uncached transfer if dcache_enabled_p was clear. This function is now only called if caching is enabled for the memory region. (dcache_info): Always print cache info. * target.c (do_xfer_memory): Add attrib argument. (target_xfer_memory, target_xfer_memory_partial): Break transfer into chunks defined by memory regions, pass region attributes to do_xfer_memory(). * dcache.c (dcache_read_line, dcache_write_line): Likewise. * Makefile.in (SFILES): Add memattr.c. (COMMON_OBS): Add memattr.o. (dcache.o): Add target.h to dependencies. * memattr.c: New file. * memattr.h: Likewise.
* Protoization.Kevin Buettner2000-10-121-6/+8
|
* Multi-arch REGISTER_SIM_REGNO. Update d10v.Andrew Cagney2000-08-021-4/+0
|
* Protoization.Kevin Buettner2000-07-301-62/+27
|
* Eliminate PARAMS from function pointer declarations.Kevin Buettner2000-06-041-1/+1
|
* PARAMS removal.Kevin Buettner2000-05-281-32/+31
|
* From Fernando: call generic_mourn_inferior() when closing rdi and simAndrew Cagney2000-03-011-0/+1
| | | | targets.
* Replace ../include/wait.h with gdb_wait.h.Andrew Cagney2000-02-091-1/+1
|
* import gdb-2000-02-01 snapshotJason Molenda2000-02-021-2/+2
|
* import gdb-1999-11-16 snapshotJason Molenda1999-11-171-12/+3
|
* import gdb-1999-10-04 snapshotJason Molenda1999-10-051-1/+1
|
* import gdb-1999-09-08 snapshotStan Shebs1999-09-091-10/+30
|
* import gdb-1999-08-09 snapshotJason Molenda1999-08-091-46/+2
|
* import gdb-1999-07-07 post reformatJason Molenda1999-07-071-109/+110
|
* import gdb-1999-07-05 snapshotJason Molenda1999-07-051-8/+2
|
* import gdb-1999-05-25 snapshotJason Molenda1999-05-251-0/+2
|
* import gdb-19990422 snapshotStan Shebs1999-04-261-2/+7
|
* Initial creation of sourceware repositoryStan Shebs1999-04-161-0/+1003
|
* Initial creation of sourceware repositoryStan Shebs1999-04-161-1003/+0
|
* 1999-01-19 Fernando Nasser <fnasser@totem.to.cygnus.com>Fernando Nasser1999-01-191-1/+3
| | | | | | | | | | | * sol-thread.c abug-rom.c cpu32bug-rom.c dbug-rom.c m32r-rom.c mac-nat.c mon960-rom.c op50-rom.c ppc-bdm.c remote-adapt.c remote-array.c remote-bug.c remote-e7000.c remote-eb.c remote-es.c remote-est.c remote-hms.c remote-mm.c remote-nindy.c remote-nrom.c remote-os9k.c remote-rdp.c remote-sds.c remote-sim.c remote-st.c remote-udi.c rom68k-rom.c sh3-rom.c sparcl-tdep.c sparclet-rom.c v850ice.c win32-nat.c: cosmetic changes to conform to coding standards.
* hp merge changes -- too numerous to mention here; see ChangeLog andDavid Taylor1998-12-281-5/+27
| | | | ChangeLog-gdbtk for details.
* CARP:Andrew Cagney1998-12-131-5/+4
| | | | | | | | | | Re-do TARGET_PRINT_INSN_INFO, TARGET_PRINT_INSN, TARGET_ARCHITECTURE, TARGET_ARCHITECTURE_AUTO, TARGET_BYTE_ORDER_SELECTABLE_P, TARGET_BYTE_ORDER so that they can all be overriden. Document. Convert mn10300 and PPC targets.
* CARP:Andrew Cagney1998-12-101-3/+3
| | | | Rename REGISTER_NAMES{} -> REGISTER_NAME().
* CARP: --enable-build-warnings=-Werror: Fix problems stopping GDB beingAndrew Cagney1998-11-251-2/+2
| | | | canadian-crossed to host i386-cygwin.
* Replace "exec" with "executable" in messages.Andrew Cagney1998-10-011-1/+1
|
* Merges from SKY branch:Ron Unrau1998-09-091-2/+2
| | | | | | | | | | | * blockframe.c(find_pc_sect_partial_function): look for min syms in the same section when trying to guess the end of a function. * symfile.c(list_overlays_command): use print_address_numeric * remote-sim.c: export simulator_command * tm-r5900.h: add COP0 registers * txvu-tdep.c: printvector and printvector-order commands * tm-txvu.h: add COP0 registers * mips-tdep.c: use NUM_CORE_REGS
* * Handle the possibility that some simulator commands may modify registerFrank Ch. Eigler1998-08-121-0/+4
| | | | | | | state behind gdb's back. Wed Aug 12 16:30:01 1998 Frank Ch. Eigler <fche@cygnus.com> * remote-sim.c (simulator_command): Reset register cache after simulator command.
* * dbxread.c: reset function_start_offset after a finishing N_FUNRon Unrau1998-06-161-0/+5
| | | | | | | is seen. * remote-sim.c: allow TARGET_REDEFINE_DEFAULT_OPS to override target vectors as needed. * txvu-tdep.c: add support for VIF breakpoints.
* Thu May 21 13:14:25 1998 John Metzler <jmetzler@cygnus.com>John Metzler1998-05-211-42/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gnu-nat.c (init_gnu_ops): Initialization of target ops by assignment. (_initialize_gnu_nat): Call new init * mac-nat.c (init_child_ops): Ditto (_initialize_mac_nat): Ditto * monitor.c (init_base_monitor_ops): Ditto (_initialize_remote_monitors) : Ditto * ppc-bdm.c (init_bdm_ppc_ops): Ditto (_initialize_bdm_ppc): Ditto * remote-adapt.c ( init_adapt_ops): Ditto (_initialize_remote_adapt): Ditto * remote-array.c (init_array_ops) : Ditto (_initialize_array): Ditto * remote-bug (init_bug_ops) : Ditto (_initialize_remote_bug): Ditto * remote-e7000.c (init_e7000_ops): Ditto (_initialize_remote_e7000) : Ditto * remote-eb.c (init_eb_ops) : Ditto (_initialize_remote_eb) : Ditto *remote-es.c (init_es1800_ops) : Ditto (init_es1800_child_ops) : Ditto (_initialize_es1800) ; Ditto *remote-hms.c (init_hms_ops): Ditto (_initialize_remote_hms) : Ditto * remote-mm.c (init_mm_ops): Ditto (_initialize_remote_mm) : Ditto * remote-nindy.c (init_nindy_ops): Ditto (_initialize_nindy): Ditto * remote_nrom.c (init_nrom_ops) : Ditto (_initialize_remote_nrom) : Ditto *remote-os9k (init_rombug_ops) : Ditto (_initialize_remote_os9k) : Ditto *remote-rdi.c (init_rdi_ops) : Ditto (_initialize_remote_rdi) : Ditto * remote-rdp.c (init_remote_rdp_ops) : Ditto (_initialize_remote_rdp) : Ditto * remote-sds.c (init_sds_ops) : Ditto (_initialize_remote_sds) : Ditto * remote-sim.c (init_gdbsim_ops) : Ditto (_initialize_remote_sim) : Ditto * remote-st.c (init_st2000_ops): Ditto (_initialize_remote_st2000): Ditto *remote-udi.c (init_udi_ops) : Ditto (_initialize_remote_udi) : Ditto * remote-vx.c (init_vx_ops) : Ditto (init_vx_run_ops) : Ditto (_initialize_vx) : Ditto * remote.c (init_remote_ops): Ditto (init_extended_remote_ops): Ditto (_initialize_remote): Ditto * sparcl-tdep.c (init_sparclite_ops): Ditto (_initialize_sparcl_tdep): Ditto * v850ice.c (init_850ice_ops): Ditto (_initialize_v850ice): Ditto *win32-nat.c: (init_child_ops): Ditto (_initialize_inftarg): Ditto
* Specify correct values for REGISTER_RAW_SIZE.Andrew Cagney1998-02-231-2/+9
| | | | If a SIM/GDB register size botch, warn the user once.
* Pass REGISTER_RAW_SIZE to sim_{fetch,store}_register. Verify returnedAndrew Cagney1998-02-171-6/+12
| | | | register size.
* When starting a new simulator run, ensure proceed status is cleared.Andrew Cagney1998-02-061-0/+2
|
* * remote-sim.c (gdbsim_open): Use "--architecture" instead ofJeff Law1997-12-161-2/+2
| | | | ambigious short form.
* When using sigaction() to install cntrl-c handler do not also use signal().Andrew Cagney1997-12-151-2/+1
|
* (Mostly from Gavin Koch)Andrew Cagney1997-12-151-0/+12
| | | | | | | | In dwarf2read.c, if the ABI is 32 bit and 64 bit addresses are encountered discard the most significant 32 bits. Use CORE_ADDR for address variables instead of long. Add more explicit tx49 configur target. Check/use sigaction/SA_RESTART in remote-sim.c
* * remote-sim.c (gdbsim_cntrl_c): Lose ANSI prototype.Jeff Law1997-11-271-1/+2
|
OpenPOWER on IntegriCloud