summaryrefslogtreecommitdiff
path: root/gdb/remote-mips.c
Commit message (Collapse)AuthorAgeFilesLines
* Replace hardwired timeouts in remote-mips.c with ``remote_timeout''Andrew Cagney2000-09-121-22/+41
| | | | variable.
* * dcache.c (dcache_info): Output a cache line's state vector so itJ.T. Conklin2000-09-011-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | lines up under the data vector. * dcache.c (dcache_read_line): New function. (dcache_peek_byte): Use it. (dcache_alloc): Return NULL if write of reclaimed cache line fails. (dcache_peek_byte, dcache_poke_byte): Return failure if dcache_alloc() returns a NULL data block pointer. (dcache_xfer_memory): Don't force writeback unless we were writing. * monitor.c (monitor_expect): Change places where immediate_quit is set to 1 or 0 to increments and decrements respectively. This allows such changes to nest properly. * ocd.c (ocd_start_remote): Likewise. * remote-adapt.c (expect): Likewise. * remote-array.c (expect): Likewise. * remote-eb.c (expect): Likewise. * remote-e7000.c (e7000_start_remote): Likewise. * remote-mips.c (mips_expect_timeout, mips_getstring): Likewise. * remote-nrom.c (expect): Likewise. * remote-os9k.c (expect): Likewise. * remote-sds.c (sds_start_remote): Likewise. * remote-st.c (expect): Likewise. * remote-utils.c (sr_expect): Likewise. * remote.c (remote_start_remote): Likewise. * tracepoint.c (read_actions): Likewise. * remote-mips.c (mips_getstring): Balance changes to immediate_quit.
* Thu Aug 3 15:02:23 2000 Andrew Cagney <cagney@b1.cygnus.com>Andrew Cagney2000-08-031-5/+6
| | | | | * remote-mips.c (mips_expect, mips_expect_timeout, common_open, fputs_readable): Make string pointer arguments constant.
* Protoization.Kevin Buettner2000-07-301-205/+73
|
* Move the ``set mask-address'' command to remote-mips.c. DisableAndrew Cagney2000-07-111-42/+46
| | | | address masking in mips-tdep.c.
* Remove arbitrary printf output limit placed on pmon targetsAndrew Cagney2000-06-171-9/+22
|
* Delete TARGET_MONITOR_PROMPT.Andrew Cagney2000-06-061-2/+19
|
* PARAMS removal.Kevin Buettner2000-05-281-59/+53
|
* Replace ../include/wait.h with gdb_wait.h.Andrew Cagney2000-02-091-1/+1
|
* import gdb-2000-02-01 snapshotJason Molenda2000-02-021-3/+3
|
* import gdb-1999-09-08 snapshotStan Shebs1999-09-091-7/+7
|
* import gdb-1999-08-09 snapshotJason Molenda1999-08-091-18/+2
|
* import gdb-1999-07-07 post reformatJason Molenda1999-07-071-618/+651
|
* import gdb-1999-07-07 pre reformatJason Molenda1999-07-071-28/+34
|
* import gdb-19990422 snapshotStan Shebs1999-04-261-5/+3
|
* Initial creation of sourceware repositorygdb-4_18-branchpointStan Shebs1999-04-161-0/+3655
|
* Initial creation of sourceware repositoryStan Shebs1999-04-161-3655/+0
|
* Fix for PR 18873:Mark Alexander1999-01-221-1/+4
| | | | | | * remote-mips.c (mips_initialize): Fix parameters to clear_breakpoint. (common_breakpoint): Restore support for instruction breakpoints on non-LSI targets.
* hp merge changes -- too numerous to mention here; see ChangeLog andDavid Taylor1998-12-281-14/+21
| | | | ChangeLog-gdbtk for details.
* CARP: --enable-build-warnings=-Werror: Fix problems stopping GDB beingAndrew Cagney1998-11-251-1/+1
| | | | canadian-crossed to host i386-cygwin.
* * remote-mips.c (remote_mips_insert_hw_breakpoint,Dawn Perchik1998-07-231-0/+30
| | | | | | | | | remote_mips_remove_hw_breakpoint): New functions for hardware breakpoints on LSI targets. * config/mips/tm-embed.h (target_remove_hw_breakpoint, target_insert_hw_breakpoint): Define to call remote_mips_insert_hw_breakpoint and remote_mips_remove_hw_breakpoint, respectively.
* * remote-mips.c (mips_request): Use unsigned long during parsingFrank Ch. Eigler1998-02-171-2/+2
| | | | returned value from monitor, to prevent accidental sign extension.
* * Changed MIPS monitor interface code to be tolerant of slightlyFrank Ch. Eigler1998-02-121-12/+1
| | | | | different IDT/sim 6.0 behavior. Extra time and laxness is alloted for monitor entry and exit.
* * remote-mips.c (_initialize_remote_mips): Fix DDB doc string.Mark Alexander1997-12-221-2/+2
|
* Remove sanitized-out Magic Cap support, will never be releasedStan Shebs1997-10-061-18/+0
|
* * remote-mips.c (mips-initialize): Work around flakiness inMark Alexander1997-10-051-0/+5
| | | | some versions of PMON after loading a program.
* * infrun.c (wait_for_inferior): Mark registers as invalid whenMark Alexander1997-06-171-358/+535
| | | | | | | | | | | | | | stepping over an instruction that triggered a watchpoint. * remote-mips.c: Numerous changes to support hardware breakpoints and watchpoints on LSI MiniRISC and TinyRISC boards. * mips-tdep.c: Move MIPS16-related macros to config/mips/tm-mips.h. (mips_breakpoint_from_pc): Account for different breakpoint instructions used by PMON and IDT monitor. * config/mips/tm-embed.h: Enable hardware breakpoints on embedded MIPS targets. * config/mips/tm-mips.h: Define breakpoint instructions for PMON and IDT monitor. Move MIPS16-related macros here from mips-tdep.c.
* * remote-mips.c (mips_load): Ensure that PC gets updatedMark Alexander1997-04-151-4/+4
| | | | after a load on LSI target.
* * remote-mips.c: Clean up comment and extraneous semicolonMark Alexander1997-03-271-11/+12
| | | | for mips_monitor_prompt variable.
* * remote-mips.c: Add `set monitor-prompt' command.Mark Alexander1997-03-271-25/+22
|
* * remote-mips.c (mips_exit_debug): Some IDT boards don'tBob Manson1997-03-061-1/+1
| | | | | | send the full exit string. Fixes a bug when trying to load to our mips IDT boards.
* * remote-mips.c: Put back the form feeds.Mark Alexander1997-02-271-18/+10
|
* * remote-mips.c: Remove form feeds (^L) from source.Mark Alexander1997-02-271-24/+45
| | | | | | | | (mips_initialize): LSI PMON doesn't support 'set regsize' command. (pmon_wait): Don't need to exit and re-enter debug mode on LSI PMON after a continue; it causes target program misbehavior. (mips_fetch_register): Don't fetch unsupported registers; this cuts down on wasted serial traffic.
* * mips-tdep.c (non_heuristic_proc_desc): New function.Mark Alexander1997-02-111-18/+110
| | | | | | | | | | | (find_proc_desc): Move non-heuristic proc search code into separate function. (gdb_print_insn_mips): Use non-heuristic method to find procedure descriptor, to avoid prologue examination when disassembling. * remote-mips.c: Add support for new "lsi" target (LSI MiniRISC aka MicroMeteor board). (mips_exit_debug): Prevent protocol reinitialization if an error occurs while exiting debug mode.
* * remote-mips.c (common_breakpoint): Prevent 64-bit addressesMark Alexander1997-02-091-0/+1
| | | | | | | | | | | | | from being sent to 32-bit targets by masking off upper bits. * mips-tdep.c (heuristic_proc_start): Mask off upper 32 bits of PC on 32-bit targets. (mips16_heuristic_proc_desc): Recognize 'addiu s1,sp,n' as a frame setup instruction. (mips32_heuristic_proc_desc): Fix warning found by gcc -Wall. (mips16_skip_prologue): Recognize 'addiu s1,sp,n' as a valid prologue instruction. Fix warnings and bugs found by gcc -Wall. * buildsym.c (finish_block): Improve handling of overlapping blocks; fixes problem on MIPS16 printing function arguments.
* * values.c (unpack_double): Make it compile with MSVC++ 2.x.Mark Alexander1996-12-191-2/+7
| | | | | | * remote-mips.c (S_IROTH): Define if not defined by stat.h, e.g. when using MSVC++. (common_open): Fix help string.
* * config/mips/tm-mips.h (ADDR_BITS_REMOVE, TARGET_READ_SP): Define.Mark Alexander1996-11-271-11/+31
| | | | | | | | | | | | | | (mips_addr_bits_remove): Declare. * mips-tdep.c (mips_push_dummy_frame): Fix heuristic-fence-post errors when hitting breakpoints during inferior function calls in 64-bit programs. (fix_sign_extension): Make public, rename to mips_addr_bits_remove. * utils.c (paddr_nz, preg_nz): New functions, similar to paddr and preg but don't print leading zeroes. * defs.h (paddr_nz, preg_nz): Declare. * remote-mips.c: Use paddr_nz instead of paddr throughout to reduce packet size. (pmon_end_download): Improve timeout error handling.
* * mips-tdep.c: Replace hard-coded constants with MIPS_INSTLEN.Mark Alexander1996-11-221-116/+334
| | | | | | | | | | (common_breakpoint): Use paddr instead of %x to print 64-bit values. (heuristic_proc_desc): Add tests for 64-bit instructions. (init_extra_frame_info, mips_push_arguments): Recognize additional registers for EABI. * remote-mips.c: Extend DDB target to allow TFTP downloads. * config/mips/tm-mips.h (MIPS_LAST_ARG_REGNUM, MIPS_NUM_ARG_REGS): Define.
* Patches to add Irix6 host support.Jim Wilson1996-11-121-1/+1
|
* * mips-tdep.c, remote-mips.c, values.c, mdebugread.c,Dawn Perchik1996-11-111-25/+33
| | | | | | | | | config/mips/tm-mips.h: Add/fix bugs for 64-bit mips support. * defs.h: Cleanup; add prototypess * corefile.c: Change FIXME #ifdef * win32-nat.c: Include windefs instead of windows.h. * utils.c: Add routines for printing addresses and registers based on type size.
* * remote-mips.c: Use the correct name everywhere (DDB) for NEC'sStan Shebs1996-10-101-29/+29
| | | | | VR4300 target. (ddb_ops, pmon_ops): Fix the documentation strings.
* Tue Sep 17 10:56:52 1996 James G. Smith <jsmith@cygnus.co.uk>Jackie Smith Cashion1996-09-171-2/+5
| | | | | * remote-mips.c (pmon_wait): CAIRO PMON does not require forced re-entry back into debug mode.
* Mon Sep 16 14:32:58 1996 James G. Smith <jsmith@cygnus.co.uk>Jackie Smith Cashion1996-09-161-2/+8
| | | | | * remote-mips.c (mips_load): Ensure that the PC is explicitly loaded after a load to a CAIRO PMON system.
* Fri Aug 30 15:07:14 1996 James G. Smith <jsmith@cygnus.co.uk>Jackie Smith Cashion1996-08-301-18/+104
| | | | | | | | | | | * remote-mips.c: Provide support for CAIRO target board. (cairo_open, cairo_ops): Added. (mips_monitor_type): MON_CAIRO Added. (mips_enter_debug, mips_exit_debug, mips_initialize, mips_fetch_registers, common_breakpoint, mips_load, _initialize_remote_mips): Updated. Add simple support for NEC CAIRO Vr4300 development board.
* * config/mips/nm-mips.h (get_longjmp_target): Add prototype.Fred Fish1996-08-141-2/+0
| | | | | | | * config/mips/nm-irix3.h (get_longjmp_target): Add prototype. * remote-mips.c (mips_read_processor_type): Remove prototype. * mips-tdep.c (gdb_print_insn_mips): Add prototype and make static. * irix5-nat.c (fetch_core_registers): Add prototype.
* Removed EINVAL reference in remote-mips.c, and put a hardcoded 22 in itsGeoffrey Noer1996-05-281-1/+1
| | | | place which reflects what the boards return.
* * remote-mips.c (encoding): Don't specify size, to avoid bug inIan Lance Taylor1996-04-191-1/+1
| | | | SunOS native compiler.
* Sun Mar 3 17:18:57 1996 James G. Smith <jsmith@cygnus.co.uk>Jackie Smith Cashion1996-03-031-1/+2
| | | | | * remote-mips.c (common_breakpoint): Explicitly terminate the returned buffer.
* * somsolib.c (som_solib_add): Use xmalloc rather than bareFred Fish1996-02-121-2/+2
| | | | | | | | unchecked call to malloc. * remote-mips.c (pmon_load_fast): ditto. * remote-mm.c (mm_open): ditto. * hpread.c (hpread_lookup_type): ditto. * remote-adapt.c (adapt_open): ditto.
* Tue Jan 16 18:00:35 1996 James G. Smith <jsmith@cygnus.co.uk>Jackie Smith Cashion1996-01-161-99/+923
| | | | | | | | | | | | | | | | | * remote-mips.c (pmon_opn, pmon_wait, pmon_makeb64, pmon_zeroset, pmon_checkset, pmon_make_fastrec, pmon_check_ack, pmon_load_fast): New functions. Support for the PMON monitor world. (common_open): New function to merge support for different monitors. (mips_open): Use common_open(). (mips_send_command): New function. (mips_send_packet): Scan out-of-sequence packets. (mips_enter_debug, mips_exit_debug): New functions. (pmon_ops): New target definition structure. These changes provide the initial support for the PMON (3.0.83) monitor that appears on the Cogent (CMA101) Vr4300 development board. The changes do not affect the IDT monitor support, other than in the area of dealing with out-of-sequence packets.