aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-sim.c
AgeCommit message (Collapse)AuthorFilesLines
1999-10-05import gdb-1999-10-04 snapshotJason Molenda1-1/+1
1999-09-09import gdb-1999-09-08 snapshotStan Shebs1-10/+30
1999-08-09import gdb-1999-08-09 snapshotJason Molenda1-46/+2
1999-07-07import gdb-1999-07-07 post reformatJason Molenda1-109/+110
1999-07-05import gdb-1999-07-05 snapshotJason Molenda1-8/+2
1999-05-25import gdb-1999-05-25 snapshotJason Molenda1-0/+2
1999-04-26import gdb-19990422 snapshotStan Shebs1-2/+7
1999-04-16Initial creation of sourceware repositorygdb-4_18-branchpointStan Shebs1-0/+1003
1999-04-16Initial creation of sourceware repositoryStan Shebs1-1003/+0
1999-01-191999-01-19 Fernando Nasser <fnasser@totem.to.cygnus.com>Fernando Nasser1-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.
1998-12-28hp merge changes -- too numerous to mention here; see ChangeLog andDavid Taylor1-5/+27
ChangeLog-gdbtk for details.
1998-12-13CARP:Andrew Cagney1-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.
1998-12-10CARP:Andrew Cagney1-3/+3
Rename REGISTER_NAMES{} -> REGISTER_NAME().
1998-11-25CARP: --enable-build-warnings=-Werror: Fix problems stopping GDB beingAndrew Cagney1-2/+2
canadian-crossed to host i386-cygwin.
1998-10-01Replace "exec" with "executable" in messages.Andrew Cagney1-1/+1
1998-09-09Merges from SKY branch:Ron Unrau1-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
1998-08-12* Handle the possibility that some simulator commands may modify registerFrank Ch. Eigler1-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.
1998-06-16 * dbxread.c: reset function_start_offset after a finishing N_FUNRon Unrau1-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.
1998-05-21Thu May 21 13:14:25 1998 John Metzler <jmetzler@cygnus.com>John Metzler1-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
1998-02-23Specify correct values for REGISTER_RAW_SIZE.Andrew Cagney1-2/+9
If a SIM/GDB register size botch, warn the user once.
1998-02-17Pass REGISTER_RAW_SIZE to sim_{fetch,store}_register. Verify returnedAndrew Cagney1-6/+12
register size.
1998-02-06When starting a new simulator run, ensure proceed status is cleared.Andrew Cagney1-0/+2
1997-12-16 * remote-sim.c (gdbsim_open): Use "--architecture" instead ofJeff Law1-2/+2
ambigious short form.
1997-12-15When using sigaction() to install cntrl-c handler do not also use signal().Andrew Cagney1-2/+1
1997-12-15(Mostly from Gavin Koch)Andrew Cagney1-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
1997-11-27 * remote-sim.c (gdbsim_cntrl_c): Lose ANSI prototype.Jeff Law1-1/+2
1997-09-30 * mips-tdep.c (set_reg_offset): New function.Mark Alexander1-1/+1
(mips16_heuristic_proc_desc): Calculate offsets of registers saved by entry pseudo-op after rest of prologue has been read. Use set_reg_offset to ignore all but the first save of a given register. (mips32_heuristic_proc_desc): Initialize frame adjustment value. * remote-sim.c (gdbsim_store_register): Don't update registers that have a null or empty name. * findvar.c (read_register_bytes): Don't fetch registers that have a null or empty name.
1997-09-26 * config/mips-tm-mips.h (mips_extra_func_info): New frame_adjustMark Alexander1-1/+1
member for storing offset of MIPS16 frame pointer from SP. * mips-tdep.c: Use RA_REGNUM instead of hardcoded 31 throughout. (PROC_FRAME_ADJUST): Define. (mips16_heuristic_proc_desc): Store frame pointer adjustment value. (get_frame_pointer): Use frame pointer adjustment value when calculating frame address. * remote-sim.c (gdbsim_fetch_register): Don't fetch registers that have a null or empty name. start-sanitize-tx19 * config/mips/tm-tx19.h (MIPS_DEFAULT_FPU_TYPE): Define. (REGISTER_NAMES): Redefine to eliminate FP registers. * config/mips/tm-tx19l.h: Ditto. end-sanitize-tx19
1997-09-25 * The following block of changes add support for debugging assemblyStu Grossman1-2/+51
source files. * breakpoint.c (resolve_sal_pc): Prevent crash when pc isn't associated with a function. * buildsym.c (record_line start_symtab end_symtab): Don't delete symtabs which only have line numbers (but no other debug symbols). * dbxread.c (read_dbx_symtab end_psymtab): Ditto. * remote-sim.c: New functions gdbsim_insert/remove_breakpoint. Use intrinsic simulator breakpoints if available, otherwise do it the hard way. * configure.tgt: Add d30v. * d30v-tdep.c: New file. * config/d30v/d30v.mt, config/d30v/tm-d30v.h: New files.
1997-08-28New commands ``set architecture'', ``show architecture'' and ``infoAndrew Cagney1-1/+12
architecture''. Update SH target to use new target_architecture_hook.
1997-08-27Only pass endianess to simulator when explicitly set by user with setAndrew Cagney1-8/+23
endian. Prepend endian argument so that it can be overriden with target sim -ARGS.
1997-08-27Add ABFD argument to sim_create_inferior. Document.Andrew Cagney1-19/+26
Add file sim-hload.c - generic load for hardware only simulators. Review each simulators sim_open, sim_load, sim_create_inferior so that they more closely match required behavour.
1997-08-25Add ABFD argument to sim_open call. Pass through to sim_config soAndrew Cagney1-1/+1
that image properties such as endianness can be checked. More strongly document the expected behavour of each of the sim_* interfaces. Add default endian argument to simulator config macro SIM_AC_OPTION_ENDIAN. Use in sim_config.
1997-06-13 * config/i386/nm-linux.h: Enable prototypes that were #ifdef out.Fred Fish1-0/+5
* config/tm-sysv4.h (in_plt_section): Add prototype. * maint.c (maintenance_translate_address): Avoid assignment inside if, per GNU coding standards. * symfile.c (simple_read_overlay_table): Avoid assignments inside if, per GNU coding standards. * monitor.c (parse_register_dump): Is really a void function. Add prototype. (monitor_read_memory): Remove unused variable "name". (monitor_read_memory): Remove unused variable "regbuf". (monitor_open): Remove unused variable "i". (get_hex_word): Apparently unused, #if away for now. (from_hex): Ditto. * i386v4-nat.c (supply_fpregset): Remove unused variable "regi". (fill_fpregset): Remove unused variables "regi", "to", "from" and "registers". * remote-e7000.c (ctype.h): Include. (e7000_insert_breakpoint): #if away unused arg used by unused expr. * frame.h (generic_get_saved_register): Add prototype. (enum lval_type): Add partial forward decl. * dsrec.c (make_srec): Remove unused variable "type_code". * remote-sim.c (gdbsim_wait): Handle sim_running and sim_polling cases by just ignoring them. (command.h): Include. * java-exp.y (parse_number): Remove unused variable "unsigned_p". * java-lang.c (gdbcore.h): Include for prototypes. (type_from_class): Remove unused variable "ftype". (type_from_class): Remove unused variable "name_length". (evaluate_subexp_java): Add default case to handle remaining enumerations. * java-valprint.c (c-lang.h): Include for prototypes. * symfile.c (simple_read_overlay_region_table): #if away unused function. (simple_free_overlay_region_table): Ditto. (overlay_is_mapped): Add default case to switch. (simple_read_overlay_region_table): Ditto. (simple_read_overlay_region_table): Add prototype. * symtab.c (fixup_symbol_section): Remove unused msym variable. (fixup_psymbol_section): Ditto. (find_pc_sect_symtab): Make distance a CORE_ADDR. * utils.c: Add comment about t_addr being either unsigned long or unsigned long long. (paddr): Change formats to match actual types args are cast to. (preg): Ditto. (paddr_nz): Ditto. (preg_nz): Ditto.
1997-06-06sim_kill() isn't used.Andrew Cagney1-1/+2
1997-05-22Restrict simulator commands to an enabled simulator.Andrew Cagney1-8/+17
1997-05-20Depreciate sim_set_callbacks() function. Set simulator callbacksAndrew Cagney1-5/+3
during sim_open().
1997-05-08Part II of getting GdbTk's stop button to always work.Andrew Cagney1-26/+29
1997-04-18 * remote-sim.c (gdbsim_open): Only pass -E to sim_open ifDavid Edelsohn1-3/+8
TARGET_BYTE ORDER_SELECTABLE.
1997-04-18Ref gdb/11763 - can't stop a running simulator:Andrew Cagney1-9/+79
o Provide poll_quit callback to simulators so that they can poll for SIGINT on clueless OS's. o Add sim_stop to simulators so that clients can request a halt (eg gdbtk's STOP button) Works for PPC! o Re-arange remote-sim.c so that the hard work is moved from gdbsim_resume() to gdbsim_wait() (where it should be).
1997-04-17 * remote-sim.c (gdbsim_load): Update call to sim_load.David Edelsohn1-12/+11
(gdbsim_create_inferior): No longer pass start_address to sim_create_inferior. (gdbsim_open): Pass endian indicator as arg.
1997-04-02 * remote-sim.c (gdbsim_open): Check return code from sim_open.David Edelsohn1-3/+3
1997-03-28Fix faulty assumption that va_list is a pointer typeMichael Meissner1-8/+8
1997-03-22 * remote-sim.c (simulator_command): Add comment about dealing withFred Fish1-1/+2
NULL or empty args. start-sanitize-tic80 * Makefile.in (tic80-tdep.o): Add target. * configure.tgt: Add tic80 case. * tic80-tdep.c: New file. * config/tic80/{tic80.mt, tm-tic80.h}: New files. end-sanitize-tic80
1997-03-21 * remote-sim.c (gdb_os_vprintf_filtered): Fix to work with non-ANSIJeff Law1-2/+4
compilers. (gdb_os_evprintf_filtered): Similarly.
1997-03-17* remote-sim.h: Delete - moved to ../include/remote-sim.h.Andrew Cagney1-0/+87
* Makefile.in (remote_utils_h): Update path to remote-sim.h. * remote-sim.c (flush_stdout, write_stderr, flush_stderr, vprintf_filtered, evprintf_filtered): Callbacks that accept varargs.
1997-03-13 * remote-sim.h (sim_state, SIM_DESC): New types.David Edelsohn1-21/+44
(sim_open): Return a `descriptor' as result. (*): New argument of descriptor result from sim_open. * remote-sim.c (gdbsim_desc): Renamed from gdbsim_open_p. (gdbsim_open): Record result of sim_open in gdbsim_desc. Pass argv list to sim_open, argv[0] = pseudo program name. (*): Pass gdbsim_desc to sim_foo fns.
1997-02-18 * remote-sim.c (init_callbacks): Undo previous change.Mark Alexander1-3/+1
1997-02-18 * maint.c: Fix dereference of pointer.Dawn Perchik1-1/+3
* remote-sim.c: Fix reference of structure member "last_error". * debugify.c: Include config.h to get ANSI definitions.
1996-12-30 * remote-sim.c (gdbsim_open_p): New static local.David Edelsohn1-1/+20
(gdbsim_open): Call unpush_target if sim open. Set gdbsim_open_p. (gdbsim_close): Only call sim_close if sim open. Reset gdbsim_open_p.