aboutsummaryrefslogtreecommitdiff
path: root/gdb/w89k-rom.c
AgeCommit message (Collapse)AuthorFilesLines
2001-07-11s/typedef serial_t/struct serial */Andrew Cagney1-1/+1
2001-03-06Update/correct copyright notices.Kevin Buettner1-1/+1
2001-03-01Create new file regcache.h. Update all uses.Andrew Cagney1-1/+2
2000-07-30Protoization.Kevin Buettner1-13/+4
2000-05-28PARAMS removal.Kevin Buettner1-1/+1
1999-07-07import gdb-1999-07-07 post reformatJason Molenda1-67/+69
1999-04-16Initial creation of sourceware repositorygdb-4_18-branchpointStan Shebs1-0/+317
1999-04-16Initial creation of sourceware repositoryStan Shebs1-317/+0
1998-12-03Clean up function return types. Functions not returning values,Andrew Cagney1-1/+2
functions unnecessarily returning values.
1998-05-20Tue May 19 17:23:54 1998 John Metzler <jmetzler@cygnus.com>John Metzler1-55/+50
* w89k-rom.c (_initialize_w89k ): Call new init function (init_w89k_cmds): Convert to dynamic initialization of monitor_ops data structure for forward compatability with additions to the data structure. * dbug-rom.c (_initialize_dbug_rom): ditto (init_dbug_cmds): ditto * m32r-rom.c (_initialize_m32r_rom): ditto (init_m32r_cmds): ditto
1995-08-02Update FSF address.Fred Fish1-1/+1
1995-06-20 * monitor.c (monitor_wait): Don't use the watchdog timeoutStan Shebs1-1/+1
if its value is 0. * w89k-rom.c (w89k_open): Define to be static.
1995-05-11 * hppa-tdep.c (read_unwind_info): Cosmetic cleanup.Stu Grossman1-20/+20
* (unwind_command): Clean it up and make it print things out nicer. * monitor.c: Add ^C handling capability (mostly ripped off from remote.c). * (monitor_printf): Make it check the command echo. * (monitor_printf_noecho): Similar to above, but doesn't check for echo. * (monitor_stop): No longer waits for prompt. That is the job of the caller. This makes things work much better for monitor_wait, which waits for the prompt itself. * (monitor_open): Deal with new monitor_stop semantics. Also, flush input after sending init strings to get rid of junk that may be output. Also, don't always send \r to remote. Use monitor_ops->line_term cuz proper character isn't always \r. * (monitor_fetch_register): Switch to completely different algorithm to deal with lame-ass monitors which put spaces in the middle of numbers, and prompt with a space!!!!! * (monitor_read_memory_single): New routine to be used with monitors that can only return one byte/short/long at a time. This is selected via MO_GETMEM_READ_SINGLE. * (monitor_load_srec): Use monitor_printf_noecho for sending S records. Most targets don't echo them. * (monitor.h): Get rid of cmd_delim. Add line_delim. * op50n-rom.c (op50n_cmds): Fill it up. Make it work. * w89k-rom.c: Change all eols from \r to \n. Change load_resp to ^Q to prevent error message. * config/pa/tm-hppa.h (CALL_DUMMY (for hppro)): Add special instruction sequence at end to make restore_pc_queue happy.
1995-04-17 * cpu32bug-rom.c monitor.h op50-rom.c remote-est.c rom68k-rom.cStu Grossman1-7/+2
w89k-rom.c: Remove loadtypes, loadprotos and baudrates. * op50-rom.c: Fix copyrights and add load routine to op50n_cmds. * rom68k-rom.c (_initialize_rom68k): Don't set baud rate. * w89k-rom.c: Fix copyrights.
1995-04-17 * monitor.c: Move all xmodem stuff into xmodem.[ch]. RemoveStu Grossman1-3/+81
unnecessary remoteloadprotocol and remoteloadtype support. * (expect expect_prompt): Change names to monitor_expect and monitor_expect_prompt. Make them global. * (printf_monitor): Change name to monitor_printf. Make global. * (monitor_read_memory): Flush command echo to avoid parsing ambiguity with CPU32Bug monitor. * (monitor_load): Remove remoteloadprotocol and remoteloadtype support. Call target_ops->load_routine, default to monitor_load_srec. * (monitor_load_srec): Remove everything but S-record support. * monitor.h (monitor_ops): Add load_routine to provide monitor specific download capability. * remote-est.c: Clean up copyrights and comments. * w89k-rom.c: Use new xmodem support. * xmodem.c xmodem.h: New files to support xmodem downloads. * rom68k-rom.c remote-est.c: Fix copyrights, add load_routine entry to monitor_ops. * cpu32bug-rom.c: New file to support Moto BCC debuggers. * config/m68k/est.mt (TDEPFILES): Add cpu32bug.o. * config/pa/hppapro.mt (TDEPFILES): Add xmodem.o.
1995-04-08 * monitor.c: make_xmodem_packet and print_xmodem_packet go away.Stu Grossman1-9/+118
send_xmodem_packet shows up to do the obvious. Lots of fixes to xmodem downloads including resetting of block number at start of new transfers, fix for buffer overrun problem, addition of CRC generation code. * (monitor_open): loadtype_str and loadproto_str now default to first entry in monitor_ops->loadtypes. * (monitor_wait): Lengthen register dump buf, because of verbose Winbond monitor. * (monitor_fetch_register): Report unimplemented registers as 0. * (monitor_read_memory): Only do 16 byte aligned transfers because of formatting weirdness with the Winbond monitor. Also, ignore non-hex, non-whitespace formatting between bytes (same monitor). * (monitor_load): Clean up logic. * (monitor_load_srec): Re-do xmodem support. Move lots of it into send_xmodem_packet. * (getacknak): Get rid of polls and timeouts. Handle CRC requests from receiver. * (monitor_make_srec): Efficiency improvements. Don't call sprintf to output two digit hex numbers. * (crcinit, docrc): New, CRC-16 support routines. * (send_xmodem_packet): New routine to generate either CRC-16 or checksummed xmodem packets. * remote-est.c (est_loadtypes), rom68k-rom.c (rom68k_loadtypes): Reduce tables down to only the load types supported by each monitor. * w89k-rom.c (w89k_supply_register): Parses output of Winbond register dumps. * (w89k_loadtypes, w89k_loadprotos): Reduce to just srec/xmodem. * (w89k_cmds): Add clear all breakpoints, memory fill, and dump registers commands.
1995-04-03 * monitor.h: Add MO_GETMEM_NEEDS_RANGE flag.Stu Grossman1-97/+70
* monitor.c (monitor_read_memory): Use previously mentioned flag to send proper format memory examine commands to the w89k monitor. Also, try to handle bizarre format of memory dump... * op50-rom.c w89k-rom.c: Update to new monitor.[ch] conventions.
1995-03-07 * Makefile.in: Add rules for monitor.o and rom68k-rom.o to makeStu Grossman1-10/+12
Sun make (with VPATH) work... * monitor.c monitor.h rom68k-rom.c: Serious cleanup to make IDP (rom68k) target work right. * array-rom.c op50-rom.c w89k-rom.c: Partial updates to new monitor.c interface. More work needs to be done here. * config/m68k/tm-monitor.h: Change DECR_PC_AFTER_BREAK to 0 to match the IDP monitor. Also, set NUM_REGS to 18 cuz there's no floating-point for this card.
1994-12-30 * monitor.[ch], op50-rom.c, rom68k-rom.c, w89k-rom.c: Add supportRob Savoye1-0/+2
to monitor config structure for supported baud rates for a target and variable stop bits. * monitor.c (monitor_fetch_register): Store register values in big endian format on any host.
1994-11-15 * op50-rom.c, w89k-rom.c, monitor.c: Modify to use two variablesRob Savoye1-6/+2
to set remote load type and protocol. * rom68k-rom.c: Add to_stop in target_ops.
1994-11-14Add copyright message.Rob Savoye1-1/+23
1994-11-03 * corelow.c, exec.c, inftarg.c, m3-nat.c, op50-rom.c, procfs.c,Stu Grossman1-0/+1
remote-adapt.c, remote-e7000.c, remote-eb.c, remote-es.c, remote-hms.c, remote-mips.c, remote-mm.c, remote-mon.c, remote-nindy.c, remote-os9k.c, remote-pa.c, remote-sim.c, remote-st.c, remote-udi.c, remote-vx.c, remote-z8k.c, remote.c, w89k-rom.c, target.c, target.h: Add support for target_stop(). * gdbtk.c (gdb_stop): Switch to target_stop().
1994-10-18 * monitor.c (set_loadtype_command): Fixed so it doesn't core dump.Rob Savoye1-1/+1
* monitor.c (monitor_load): check the load type and load the file accordingly. Default to gr_load_image(). * monitor.c (monitor_load_ascii_srec): Load an ascii file in srecord format by downloading to the monitor. * w89k-rom.c, op50n-rom.c: set supported load types.
1994-10-12Cleanup debug logging, fix single stepping. WinBond works good!Rob Savoye1-3/+3
1994-10-12Breakpoints work, run works. Fixed "monitor" command.Rob Savoye1-9/+10
1994-10-11Memory_reads_inferior() and monitor_fetch_registers() now work good onRob Savoye1-4/+11
both targets. On to the "set" functions...
1994-10-06Both targets initialize, can dump registers too.Rob Savoye1-12/+52
1994-09-14A generic ROM monitor interface abnd support for the WinBond w89k boardRob Savoye1-0/+95
and the Oki op59n board.