aboutsummaryrefslogtreecommitdiff
path: root/gdb/ser-mac.c
AgeCommit message (Collapse)AuthorFilesLines
2002-01-05Remove obsolete MacOS support.Andrew Cagney1-386/+0
2001-07-08* ser-mac.c: Make obsolete.Andrew Cagney1-386/+386
* Makefile.in (ser-mac.o): Ditto.
2001-03-06Update/correct copyright notices.Kevin Buettner1-1/+1
2000-07-30Protoization.Kevin Buettner1-30/+12
2000-05-28PARAMS removal.Kevin Buettner1-9/+9
2000-02-02import gdb-2000-02-01 snapshotJason Molenda1-2/+2
1999-09-22import gdb-1999-09-21Jason Molenda1-3/+3
1999-07-07import gdb-1999-07-07 post reformatJason Molenda1-27/+69
1999-04-16Initial creation of sourceware repositorygdb-4_18-branchpointStan Shebs1-0/+362
1999-04-16Initial creation of sourceware repositoryStan Shebs1-362/+0
1998-03-06PR 15068Fred Fish1-0/+1
* utils.c (quit): Call SERIAL_DRAIN_OUTPUT rather than SERIAL_FLUSH_OUTPUT. * serial.h (struct serial_ops): Add drain_output, pointer to function that waits for output to drain. (SERIAL_DRAIN_OUTPUT): Macro to wait for output to drain. * ser-unix.c (hardwire_drain_output): New function and prototype. * ser-unix.c (hardwire_ops): Add entry for drain_output function. * ser-tcp.c (tcp_ops): Ditto. * ser-ocd.c (ocd_ops): Ditto. * ser-mac.c (mac_ops): Ditto. * ser-go32.c (dos_ops): Ditto. * ser-e7kpc.c (e7000pc_ops): Ditto.
1996-07-10 * ser-mac.c (mac_close): Change a typo SetSetBuf to SerSetBuf.Raymond Jou1-1/+1
1996-01-09 * remote-mips.c (mips_receive_header): Recognize \012 insteadStan Shebs1-2/+2
of \n, but write \n when program sends a \012. * ser-mac.c (mac_input_buffer): Increase size of buffer.
1995-08-02Update FSF address.Fred Fish1-1/+1
1995-06-15 * array-rom.c: Remove, no longer used.Stan Shebs1-1/+1
* remote-hms.c (hms_open): Make static. * mpw-config.in (MacSerial.h): Copy from version in {CIncludes}, not {MPW}Interfaces:CIncludes. * ser-mac.c (mac_baud_rate_table): Fix value for 38400 baud.
1995-04-15 * mpw-make.in (init.c): Don't try to do symbolic {o} in sedStan Shebs1-1/+35
command, not allowed by some version of MPW Make. * ser-mac.c (mac-setbaudrate): Make it actually set baud rates.
1995-03-17 * mpw-config.in (i386-unknown-go32): Change from aout.Stan Shebs1-16/+3
(sh-hitachi-hms): New target. * mpw-make.in (BISON): Use byacc instead of bison. (VERSION): Bump to 4.14.1. (*-pinsn.*): Remove mentions everywhere. (all): Don't build MacGDB. (gdb, SiowGDB): Depend on Version.r. (Version.r): Generate from version info. * main.c (main): Pass program name to START_PROGRESS, END_PROGRESS. (main) [MPW]: Remove debugging hook. * mac-xdep.c (debug_openp): New flag. (mac_init): Set flag if env variable defined. * ser-mac.c (mac_open): Clarify error message. (mac_readchar): Call PROGRESS while looping. (mac_write): Call sleep instead of sec_sleep. (sec_sleep): Remove. * source.c (openp) [MPW]: Only print debugging info if debugging. * utils.c (query) [MPW]: Clarify that behavior is a bug.
1995-03-07 * serial.h ser-go32.c ser-go32-para.c ser-mac.c ser-tcp.cStu Grossman1-0/+9
ser-unix.c: Add SERIAL_SETSTOPBITS to set the number of stopbits (needed for IDP board?!?!?).
1994-07-01 * mpw-config.in (MacSerial.h): Duplicate from standard Serial.h.Stan Shebs1-1/+3
* ser-mac.c (MacSerial.h): Include instead of Serial.h.
1994-06-22 * mpw-make.in (VERSION): Update to 4.12.3.Stan Shebs1-9/+20
(SiowGDB): New target, GDB using SIOW library. (init-new.c): New target, attempt to generate init.c from sources. (main.c.o, top.c.o): Put each in its own segment. * main.c (main) [MPW]: Always call mac_init. * utils.c (query) [MPW]: Always return "yes" if in MacGDB, output an extra newline otherwise. * mac-xdep.c: More comments in various places, remove junk. (mac_init): Add tests for MPW and SIOW. (use_wne, has_color_qd): Renamed. (use_color_qd): New variable. (grow_window): Only do console resizing to console window, call resize_console_window. (zoom_window): Call resize_console_window. (resize_console_window, scroll_text): New functions. (adjust_console_sizes): Always align viewrect to even multiples of text lines. (adjust_console_text): Always scroll by whole lines. (hacked_vfprintf, hacked_puts, hacked_fputc, hacked_putc): Force a recalculation of scroll positions if a newline was output. (hacked_fflush): Similarly, for flushing. (hacked_fgetc): New function, aborts if called in MacGDB. * ser-mac.c (mac_readchar): Rename starttime to start_time, remove debugging printf. (mac_write): Sleep on first 4 writes. (sec_sleep): New function, works like standard sleep. * macgdb.r: Adjust positioning and contents of About box. Set minimum size to 2000K, preferred size to 5000K. * config/m68k/xm-mpw.h (fgetc): Define as a macro.
1994-06-16Wed Jun 15 17:36:07 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs1-0/+8
* mpw-make.in (.c.o, .gc.o): Prefix segment names with gdb_. (top.c.o, annotate.c.o): Add build rules. * macgdb.r (SysTypes.r): Include. ('vers'): New resource, version info. (mFile, mEdit, mDebug): Enable all menu items. (mDebug): Add key equivalents for continue, step, next. (wConsole): Add zoom and close boxes to window. * mac-xdep.c (new_console_window): New function, code taken from mac_init. (mac_command_loop): Use GetCaretTime for wait interval, call do_idle on null events. (do_idle): New function. (zoom_window): Implement zooming. (v_scroll_proc): New function, handles vertical scrolling. (activate_window): Do activation of console window. (do_menu_command): Implement items of file, edit, and debug menus. (do_keyboard_command): Fix command extraction. (adjust_console_sizes, adjust_console_text): New functions. (hacked_fprintf, hacked_vfprintf, hacked_fputs, hacked_fputc, hacked_putc): Don't call draw_console. * ser-mac.c (mac_open): Add an error message for invalid ports. (first_mac_write): New global. (mac_write): Use first_mac_write to sleep on first several writes.
1994-03-23Thu Mar 10 15:49:05 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs1-0/+310
* mpw-config.in: New file, MPW configuration fragment. * mpw-make.in: New file, MPW makefile fragment. * config/m68k/xm-mpw.h: New file, MPW host definitions. * ser-mac.c: New file, Mac serial interface.