mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-29 15:00:34 +00:00
58c0b523fe
* 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.
77 lines
3.2 KiB
Plaintext
77 lines
3.2 KiB
Plaintext
Wed Jun 15 17:36:07 1994 Stan Shebs (shebs@andros.cygnus.com)
|
|
|
|
* 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.
|
|
|
|
Thu May 12 17:04:58 1994 Stan Shebs (shebs@andros.cygnus.com)
|
|
|
|
* mpw-make.in (INCLUDE_CFLAGS): Add readline source dir.
|
|
(READLINE_CFLAGS, READLINE_SRC, READLINE_DIR): Uncomment.
|
|
(TSOBS): Don't compile inflow.c.
|
|
(all, install): Add MacGDB.
|
|
* main.c (main): Do Mac-specific init and command loop if a
|
|
standalone app, skip full option help message if compiling
|
|
with MPW C.
|
|
(gdb_readline): If MPW, add a newline after the (gdb) prompt.
|
|
* utils.c (_initialize_utils): If MPW, don't try to use termcap to
|
|
compute the window size.
|
|
* config/m68k/xm-mpw.h (printf, fprintf, fputs, fputc, putc,
|
|
fflush): Define as macros that expand into hacked_... versions.
|
|
(StandAlone, mac_app): Declare.
|
|
* macgdb.r (SIZE): Set the default partition to 4000K.
|
|
* mac-xdep.c (readline.h, history.h): Include.
|
|
(terminal.h): Don't include.
|
|
(mac_app): Define.
|
|
(gdb_has_a_terminal): Define Mac-specific version.
|
|
(do_keyboard_command): Simplify search for command string.
|
|
(readline): Define as gdb_readline.
|
|
Add other history/readline stubs to make main gdb link.
|
|
(hacked_fprintf, hacked_printf, hacked_vfprintf, hacked_fputs,
|
|
hacked_fputc, hacked_fflush): New functions, intercept output to
|
|
stdout and stderr, send to console window.
|
|
|
|
Tue Apr 26 17:44:27 1994 Stan Shebs (shebs@andros.cygnus.com)
|
|
|
|
* mpw-make.in (MacGDB): New target, standalone Mac-hosted gdb.
|
|
(XDEPFILES): Define.
|
|
(main.c.o): Compile with gC instead of C.
|
|
* mac-defs.h: New file, menu etc definitions shared between
|
|
C and Rez files.
|
|
* macgdb.r: New file, Rez (resource compiler) resource
|
|
definitions.
|
|
* mac-xdep.c: New file, Mac host interface code.
|
|
* config/m68k/xm-mpw.h (PATHNAME_SEPARATOR): Rename to
|
|
DIRNAME_SEPARATOR.
|
|
(PATHNAME_SEPARATOR_STRING): Remove.
|
|
(SIGQUIT, SIGHUP): Define.
|
|
(fileno, R_OK): Define.
|
|
|
|
Thu Mar 10 15:49:05 1994 Stan Shebs (shebs@andros.cygnus.com)
|
|
|
|
* 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.
|
|
|