mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-09-10 03:42:22 +08:00
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.
This commit is contained in:
26
gdb/macgdb.r
26
gdb/macgdb.r
@ -1,9 +1,17 @@
|
||||
/* Resource file for MacGDB. */
|
||||
|
||||
#include "SysTypes.r"
|
||||
#include "Types.r"
|
||||
|
||||
#include "mac-defs.h"
|
||||
|
||||
resource 'vers' (1) {
|
||||
0x02, 0x00, release, 0x00,
|
||||
verUS,
|
||||
"4.12.3",
|
||||
"4.12.3, Copyright \251 1994 Free Software Foundation, Inc."
|
||||
};
|
||||
|
||||
resource 'MBAR' (128) {
|
||||
{ mApple, mFile, mEdit, mDebug };
|
||||
};
|
||||
@ -23,11 +31,11 @@ resource 'MENU' (mApple, preload) {
|
||||
resource 'MENU' (mFile, preload) {
|
||||
mFile,
|
||||
textMenuProc,
|
||||
0xFFF,
|
||||
allEnabled,
|
||||
enabled,
|
||||
"File",
|
||||
{
|
||||
"New", noIcon, "N", noMark, plain,
|
||||
"New", noIcon, noKey, noMark, plain,
|
||||
"Open...", noIcon, "O", noMark, plain,
|
||||
"-", noIcon, noKey, noMark, plain,
|
||||
"Quit", noIcon, "Q", noMark, plain
|
||||
@ -37,7 +45,7 @@ resource 'MENU' (mFile, preload) {
|
||||
resource 'MENU' (mEdit, preload) {
|
||||
mEdit,
|
||||
textMenuProc,
|
||||
0x3400,
|
||||
allEnabled,
|
||||
enabled,
|
||||
"Edit",
|
||||
{
|
||||
@ -53,16 +61,16 @@ resource 'MENU' (mEdit, preload) {
|
||||
resource 'MENU' (mDebug, preload) {
|
||||
mDebug,
|
||||
textMenuProc,
|
||||
0x7FFFFFDD,
|
||||
allEnabled,
|
||||
enabled,
|
||||
"Debug",
|
||||
{
|
||||
"Target", noIcon, "T", noMark, plain,
|
||||
"-", noIcon, noKey, noMark, plain,
|
||||
"Run", noIcon, "R", noMark, plain,
|
||||
"Continue", noIcon, noKey, noMark, plain,
|
||||
"Step", noIcon, noKey, noMark, plain,
|
||||
"Next", noIcon, noKey, noMark, plain
|
||||
"Continue", noIcon, "K", noMark, plain,
|
||||
"Step", noIcon, "S", noMark, plain,
|
||||
"Next", noIcon, "N", noMark, plain
|
||||
}
|
||||
};
|
||||
|
||||
@ -114,9 +122,9 @@ resource 'DITL' (128) {
|
||||
|
||||
resource 'WIND' (wConsole, preload, purgeable) {
|
||||
{40, 40, 310, 572},
|
||||
documentProc,
|
||||
zoomDocProc,
|
||||
visible,
|
||||
noGoAway,
|
||||
goAway,
|
||||
0x0,
|
||||
"GDB Console"
|
||||
};
|
||||
|
Reference in New Issue
Block a user