aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
1997-09-03removed v850 sanitization.Nick Clifton6-113/+40
1997-09-03Allow backends to set the architecture using bfd_architecture enumAndrew Cagney3-20/+50
instead of some magic name.
1997-09-03 * config/sparclet.exp: Detect gratuitous change to sparclet gdbBob Manson2-19/+38
target mode.
1997-09-03 Fix missing global verbose declaration. grrrr. this is NOTBob Manson1-0/+1
right.
1997-09-02Typo in e700 #ifdef'd code.Andrew Cagney1-0/+5
1997-09-01Add ``set processor'' - an alias to ``set architecture''.Andrew Cagney2-0/+6
1997-08-30 * config/sparc/sparclite.mt: Removed simulator references (erc32Bob Manson2-2/+5
has been disabled).
1997-08-28New commands ``set architecture'', ``show architecture'' and ``infoAndrew Cagney8-205/+348
architecture''. Update SH target to use new target_architecture_hook.
1997-08-27Only pass endianess to simulator when explicitly set by user with setAndrew Cagney4-10/+36
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 Cagney2-19/+35
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-26Mon Aug 25 17:08:01 1997 Geoffrey Noer <noer@cygnus.com>Geoffrey Noer2-6/+4
* ocd.c: revert Sun change -- enable log file handling
1997-08-25Add ABFD argument to sim_open call. Pass through to sim_config soAndrew Cagney2-1/+5
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-08-25Sun Aug 24 21:16:59 1997 Geoffrey Noer <noer@cygnus.com>Geoffrey Noer2-0/+11
* ocd.c: comment out sections that create and flush wigglers.log log file when using the wiggler.
1997-08-21Thu Aug 21 16:18:08 1997 Geoffrey Noer <noer@cygnus.com>Geoffrey Noer3-2/+10
* config/powerpc/ppc-eabi.mt: * config/powerpc/ppc-sim.mt: * config/powerpc/ppcle-eabi.mt: * config/powerpc/ppcle-sim.mt: ser-ocd.c needs to be before other ocd-related files in TDEPFILES
1997-08-21Thu Aug 21 14:56:04 1997 Geoffrey Noer <noer@cygnus.com>Geoffrey Noer4-26/+50
* 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.
1997-08-21 * pr-9946.exp: Ditto.Bob Manson4-3/+6
* gch1280.exp: Ditto. * gch1272.exp: Ditto.
1997-08-21 * enum.exp: More quoting fixes.Bob Manson2-1/+5
*sigh*
1997-08-19 * objfiles.c (objfile_relocate): Add call to breakpoint_re_setFred Fish2-3/+3
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-18 * win32-nat.c (handle_exception): Return a value indicatingIan Lance Taylor2-4/+25
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-18Add support for v850e and v850eq targets.Nick Clifton2-0/+32
1997-08-18 * Add gdbtcl2 to gdbtk_files.Mark Alexander1-1/+1
1997-08-18Sun Aug 17 20:31:57 1997 Michael Snyder (msnyder@cleaver.cygnus.com)Michael Snyder1-0/+4
* m32r-stub.c: fix typo
1997-08-18 * remote-sds.c: Remove unused remnants of remote.c.Stan Shebs2-141/+122
(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-17Sun Aug 17 00:42:11 1997 Martin M. Hunt <hunt@cygnus.com>Martin Hunt2-0/+51
* gdbtk.c (gdb_listfuncs): New function that returns a list of all the functions in a source file.
1997-08-15 * infrun.c (wait_for_inferior): Add the symbols for anyPeter Schauer5-170/+109
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-14keep remote-sds.cStan Shebs1-0/+1
1997-08-14 * remote-sds.c: New file, interface to SDS-compatible monitors.Stan Shebs1-0/+1278
* 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-13 Fix quoting.Bob Manson11-10/+19
1997-08-13 Fix quoting.Bob Manson1-0/+1
1997-08-13 * tests2.exp: Fix quoting.Bob Manson3-2/+7
* tests1.exp: Ditto.
1997-08-12Tue Aug 12 14:37:18 1997 Geoffrey Noer <noer@cygnus.com>Geoffrey Noer2-7/+16
* ocd.c (ocd_wait): loop until we're in BDM mode instead of assuming control has returned to GDB.
1997-08-12 * Makefile.in (install-only): Install tclIndex if ENABLE_IDE.Ian Lance Taylor2-1/+7
1997-08-12keep dink32 interfaceStan Shebs1-0/+1
1997-08-12 * dink32-rom.c: New file, support for DINK32 monitor.Stan Shebs6-21/+258
* 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.
1997-08-11Mon Aug 11 16:22:36 1997 Geoffrey Noer <noer@cygnus.com>Geoffrey Noer9-20/+123
* 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
1997-08-11 * frame.h (enum lval_type): Conditionalize on __GNUC__Fred Fish2-111/+95
instead of __STDC__.
1997-08-11 * gdbtk.c (gdbtk_init): Use ide_event_init_from_environment.Tom Tromey2-1/+7
1997-08-11Sun Aug 10 16:49:09 1997 Geoffrey Noer <noer@cygnus.com>Geoffrey Noer2-3/+3
* 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.
1997-08-11 * utils.c (error): Fix return type for !ANSI_PROTOTYPES.Jeff Law1-0/+4
Avoids "void void error" which craps out the HP native compiler.
1997-08-11Sun Aug 10 16:49:09 1997 Geoffrey Noer <noer@cygnus.com>Geoffrey Noer4-23/+95
* 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.
1997-08-09 * values.c (value_primitive_field): Account for offset whenPeter Schauer2-7/+16
extracting the value of a bitfield. From Paul Hilfinger <hilfingr@CS.Berkeley.EDU>.
1997-08-09start-sanitize-tic80Mark Alexander4-24/+60
* 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.
1997-08-09remove wigglers.defIan Lance Taylor1-1/+0
1997-08-09 * ser-ocd.c: If _WIN32, include <windows.h>.Ian Lance Taylor4-20/+48
(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.
1997-08-09 * gdbtk.c (gdbtk_init): Change gdbtk_lib_tmp and gdbtk_file to beIan Lance Taylor1-6/+43
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.
1997-08-08 * config/i386/cygwin32.mh ($(BDM_LIBNAME)): Rename target fromIan Lance Taylor2-4/+6
libwigglers.def. (libwigglers.a): Remove target.
1997-08-08 * gdbtk.c (gdbtk_cleanup): New static function.Ian Lance Taylor2-13/+47
(gdbtk_init): Add gdbtk_cleanup as a final cleanup. Uncomment call to ide_initialize_paths. If we can't initialize the event system, set GDBTK_IDE to 0 in the Tcl interpreter. Create the ide_window_register and the ide_window commands. Initialize tk, itcl, and tix after initializing the IDE.
1997-08-08 * configure.in (tixdir): Update for cygwin32 case for Tcl 8.0.Ian Lance Taylor3-11/+18
* configure: Rebuild.
1997-08-08Add appropriate ocd/ppc-bdm depsMichael Meissner3-2/+7
1997-08-08Fri Aug 8 00:13:32 1997 Martin M. Hunt <hunt@cygnus.com>Martin Hunt2-2/+11
* gdbtk.c (breakpoint_notify): Change buffer size from 100 to 256 to avoid memory corruption with very long pathnames.