aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-mips.c
AgeCommit message (Collapse)AuthorFilesLines
2000-12-15Replace free() with xfree().Kevin Buettner1-4/+4
2000-09-12Replace hardwired timeouts in remote-mips.c with ``remote_timeout''Andrew Cagney1-22/+41
variable.
2000-09-01* dcache.c (dcache_info): Output a cache line's state vector so itJ.T. Conklin1-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.
2000-08-03Thu Aug 3 15:02:23 2000 Andrew Cagney <cagney@b1.cygnus.com>Andrew Cagney1-5/+6
* remote-mips.c (mips_expect, mips_expect_timeout, common_open, fputs_readable): Make string pointer arguments constant.
2000-07-30Protoization.Kevin Buettner1-205/+73
2000-07-11Move the ``set mask-address'' command to remote-mips.c. DisableAndrew Cagney1-42/+46
address masking in mips-tdep.c.
2000-06-17Remove arbitrary printf output limit placed on pmon targetsAndrew Cagney1-9/+22
2000-06-06Delete TARGET_MONITOR_PROMPT.Andrew Cagney1-2/+19
2000-05-28PARAMS removal.Kevin Buettner1-59/+53
2000-02-09Replace ../include/wait.h with gdb_wait.h.Andrew Cagney1-1/+1
2000-02-02import gdb-2000-02-01 snapshotJason Molenda1-3/+3
1999-09-09import gdb-1999-09-08 snapshotStan Shebs1-7/+7
1999-08-09import gdb-1999-08-09 snapshotJason Molenda1-18/+2
1999-07-07import gdb-1999-07-07 post reformatJason Molenda1-618/+651
1999-07-07import gdb-1999-07-07 pre reformatJason Molenda1-28/+34
1999-04-26import gdb-19990422 snapshotStan Shebs1-5/+3
1999-04-16Initial creation of sourceware repositorygdb-4_18-branchpointStan Shebs1-0/+3655
1999-04-16Initial creation of sourceware repositoryStan Shebs1-3655/+0
1999-01-22Fix for PR 18873:Mark Alexander1-1/+4
* remote-mips.c (mips_initialize): Fix parameters to clear_breakpoint. (common_breakpoint): Restore support for instruction breakpoints on non-LSI targets.
1998-12-28hp merge changes -- too numerous to mention here; see ChangeLog andDavid Taylor1-14/+21
ChangeLog-gdbtk for details.
1998-11-25CARP: --enable-build-warnings=-Werror: Fix problems stopping GDB beingAndrew Cagney1-1/+1
canadian-crossed to host i386-cygwin.
1998-07-23 * remote-mips.c (remote_mips_insert_hw_breakpoint,Dawn Perchik1-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.
1998-02-17 * remote-mips.c (mips_request): Use unsigned long during parsingFrank Ch. Eigler1-2/+2
returned value from monitor, to prevent accidental sign extension.
1998-02-12* Changed MIPS monitor interface code to be tolerant of slightlyFrank Ch. Eigler1-12/+1
different IDT/sim 6.0 behavior. Extra time and laxness is alloted for monitor entry and exit.
1997-12-22 * remote-mips.c (_initialize_remote_mips): Fix DDB doc string.Mark Alexander1-2/+2
1997-10-06Remove sanitized-out Magic Cap support, will never be releasedStan Shebs1-18/+0
1997-10-05 * remote-mips.c (mips-initialize): Work around flakiness inMark Alexander1-0/+5
some versions of PMON after loading a program.
1997-06-17 * infrun.c (wait_for_inferior): Mark registers as invalid whenMark Alexander1-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.
1997-04-15 * remote-mips.c (mips_load): Ensure that PC gets updatedMark Alexander1-4/+4
after a load on LSI target.
1997-03-27 * remote-mips.c: Clean up comment and extraneous semicolonMark Alexander1-11/+12
for mips_monitor_prompt variable.
1997-03-27 * remote-mips.c: Add `set monitor-prompt' command.Mark Alexander1-25/+22
1997-03-06 * remote-mips.c (mips_exit_debug): Some IDT boards don'tBob Manson1-1/+1
send the full exit string. Fixes a bug when trying to load to our mips IDT boards.
1997-02-27 * remote-mips.c: Put back the form feeds.Mark Alexander1-18/+10
1997-02-27 * remote-mips.c: Remove form feeds (^L) from source.Mark Alexander1-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.
1997-02-11 * mips-tdep.c (non_heuristic_proc_desc): New function.Mark Alexander1-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.
1997-02-09 * remote-mips.c (common_breakpoint): Prevent 64-bit addressesMark Alexander1-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.
1996-12-19 * values.c (unpack_double): Make it compile with MSVC++ 2.x.Mark Alexander1-2/+7
* remote-mips.c (S_IROTH): Define if not defined by stat.h, e.g. when using MSVC++. (common_open): Fix help string.
1996-11-27 * config/mips/tm-mips.h (ADDR_BITS_REMOVE, TARGET_READ_SP): Define.Mark Alexander1-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.
1996-11-22 * mips-tdep.c: Replace hard-coded constants with MIPS_INSTLEN.Mark Alexander1-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.
1996-11-12Patches to add Irix6 host support.Jim Wilson1-1/+1
1996-11-11 * mips-tdep.c, remote-mips.c, values.c, mdebugread.c,Dawn Perchik1-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.
1996-10-10 * remote-mips.c: Use the correct name everywhere (DDB) for NEC'sStan Shebs1-29/+29
VR4300 target. (ddb_ops, pmon_ops): Fix the documentation strings.
1996-09-17Tue Sep 17 10:56:52 1996 James G. Smith <jsmith@cygnus.co.uk>Jackie Smith Cashion1-2/+5
* remote-mips.c (pmon_wait): CAIRO PMON does not require forced re-entry back into debug mode.
1996-09-16Mon Sep 16 14:32:58 1996 James G. Smith <jsmith@cygnus.co.uk>Jackie Smith Cashion1-2/+8
* remote-mips.c (mips_load): Ensure that the PC is explicitly loaded after a load to a CAIRO PMON system.
1996-08-30Fri Aug 30 15:07:14 1996 James G. Smith <jsmith@cygnus.co.uk>Jackie Smith Cashion1-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.
1996-08-14 * config/mips/nm-mips.h (get_longjmp_target): Add prototype.Fred Fish1-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.
1996-05-28Removed EINVAL reference in remote-mips.c, and put a hardcoded 22 in itsGeoffrey Noer1-1/+1
place which reflects what the boards return.
1996-04-19 * remote-mips.c (encoding): Don't specify size, to avoid bug inIan Lance Taylor1-1/+1
SunOS native compiler.
1996-03-03Sun Mar 3 17:18:57 1996 James G. Smith <jsmith@cygnus.co.uk>Jackie Smith Cashion1-1/+2
* remote-mips.c (common_breakpoint): Explicitly terminate the returned buffer.
1996-02-12 * somsolib.c (som_solib_add): Use xmalloc rather than bareFred Fish1-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.