home *** CD-ROM | disk | FTP | other *** search
Wrap
Text File | 1991-09-09 | 39.2 KB | 1,372 lines
Newsgroups: alt.sources Path: wupost!zaphod.mps.ohio-state.edu!think.com!news.bbn.com!mips2!bubba!jtsillas From: jtsillas@bubba.ma30.bull.com (James Tsillas) Subject: mxgdb 1.0.3 (part 10/10) Organization: Bull HN, Worldwide Information Systems, Billerica, Mass., USA Distribution: alt Date: 6 Sep 91 14:51:07 Message-ID: <JTSILLAS.91Sep6145107@bubba.ma30.bull.com> Sender: news@mips2.ma30.bull.com (Usenet News Manager) ---- Cut Here and feed the following to sh ---- #!/bin/sh # this is mxgdb.10 (part 10 of a multipart archive) # do not concatenate these parts, unpack them in order with /bin/sh # file mxgdb/gdb_handler.c continued # if test ! -r _shar_seq_.tmp; then echo 'Please unpack part 1 first!' exit 1 fi (read Scheck if test "$Scheck" != 10; then echo Please unpack part "$Scheck" next! exit 1 else exit 0 fi ) < _shar_seq_.tmp || exit 1 if test ! -f _shar_wnt_.tmp; then echo 'x - still skipping mxgdb/gdb_handler.c' else echo 'x - continuing file mxgdb/gdb_handler.c' sed 's/^X//' << 'SHAR_EOF' >> 'mxgdb/gdb_handler.c' && X AdjustText(line); X XtFree(func); } X /* ARGSUSED */ void debug_handler() { X /* debug_handler is executed at start-up and with 'symbol-file' command */ X query_dbx("set screensize 0\n"); X query_dbx("set prettyprint on\n"); X query_dbx("info directories\n"); X displayedFile = NULL; /* force reloading of source file */ X X /* here we use query_dbx_echo instead of query_dbx so that any X error message will be displayed ! */ X X query_dbx_echo("list ,main\n"); /* tell gdb to use main file X and get line number of main(). (,main will end at main) */ X X if (LoadCurrentFile() == 0) X { X arrow.line = 0; /* clear arrow sign */ X updown.line = 0; /* clear updown sign */ X bomb.line = 0; /* clear bomb sign */ X UpdateArrow(displayedFile); X UpdateUpdown(displayedFile); X UpdateBomb(displayedFile); X ClearStops(); X UpdateStops(displayedFile, -1); X } X X UpdateMessageWindow("Ready for execution", NULL); X query_dbx("display\n"); /* clear display window */ } X /* ARGSUSED */ void pwd_handler(s) char *s; { X strcpy(cwd, (char *)strtok(s, "\n")); } X /* ARGSUSED */ void search_handler() { X AdjustText(Token.line); } X /* ARGSUSED */ /* Show output on the display window. X * If output is null but the display window is managed, replace contents of X * the display window with the null string. X */ void display_info_handler() { X Arg args[MAXARGS]; X X if (!Token.display || !strcmp(Token.display, "")) { X if (!XtIsManaged(displayFD)) X return; X else { X XtFree(Token.display); X Token.display = XtNewString(""); X } X } X if (!XtIsManaged(displayFD)) /* You always wish to popup the display */ X XtManageChild(displayFD); /* FormDialog when doing displays. */ X X XtSetArg(args[0], XmNvalue, (XtArgVal) Token.display); X XtSetValues(displayWindow, args, 1); X XtFree(Token.display); X Token.display = 0; /*(PW)14JAN91 */ } X /* Place a stop sign next to the line specified on the source file window X * if it is to be viewable. X */ void break_handler() { char * file; int line; int stop; X X if (Token.stop == 0 || Token.line == 0 || Token.file == 0) X return; X X line = Token.line; X stop = Token.stop; X X if (Token.stop >= 256) /* see MAXSTOPS in signs.c */ X { X fprintf(stderr,"Too many breakpoints\n"); X return; X } X X /* load & display file if none is displayed */ X X file = GetPathname(Token.file); X X if (file == NULL) X return; /* (PW)11JAN91 */ X X if (displayedFile == NULL) X { X LoadFile(file); X AdjustText(line); X } X X stops[stop].file = file; X stops[stop].line = line; X stops[stop].tag = 0; X nstops = stop; X X /* display breakpoint sign if file is displayed */ X X if (displayedFile) X { X if (!strcmp(file, displayedFile->pathname)) X DisplayStop(displayedFile, line); X } } X /* info directories X */ void info_dir_handler() { X if (Token.file) X MakeDirList(Token.file); } X /* ARGSUSED */ void directory_handler(output) char *output; { X /* Note : for GDB, the 'directory' command with no X parameter will reset search directories to current X directory only. GDB requires confirmation */ X X query_dbx("info directories\n"); } X void list_handler() { X int line; X X line = Token.line; X X if (line) X { X /* We will display the last line listed. X Since we used 'list ,main' we will effectively display main in that case. */ X X LoadCurrentFile(line); X AdjustText(line); X } X else X { X AppendDialogText("Error list command\n"); X bell(0); X } } X /* ARGSUSED */ void info_line_handler() /* Command was 'info line' */ { X if (Token.file) X strcpy(CurrentFile, Token.file); X else X strcpy(CurrentFile, ""); } X /* X * Clear handler remove the stop specified and undisplayed the stopsign X * if it's visible. X * It calls the dbx status command to find out what stops are left, and X * then update the array of stops accordingly. X */ /* ARGSUSED */ X void clear_handler() { X query_dbx("info break\n"); /* update breakpoints */ } X void display_handler() /* display or undisplay */ { X query_dbx("display\n"); /* update display */ } X /* (gdb) info break Breakpoints: Num Enb Address Where #1 y 0x000022f4 in main (pw.c line 34) #2 y 0x000022a0 in foo (pw.c line 5) (gdb) info break No breakpoints. */ X void info_break_handler(output_string) char *output_string; { int i; int line; char c; X X X if (!output_string) X return; X X while(*output_string) X { X if (*(output_string++) == '#') X { X if (sscanf(output_string, "%d %c", &i,&c) == 2) X if (i > 0 && i <= nstops && stops[i].line > 0 && X (c == 'y' || c == 'o')) X stops[i].tag = 1; X } X } X X for (i=1; i<=nstops; i++) X if (stops[i].line > 0) X { X if (stops[i].tag) X stops[i].tag = 0; X else X { X X line = stops[i].line; X stops[i].line = 0; X stops[i].file = NULL; X if (LineToStop_no(line) == 0) X RemoveStop(line); X } X } } X /* ARGSUSED */ void cd_handler(s) char *s; { X strcpy(cwd,s); } X /* this handler justs update the function name. Because the function name is not always displayed after next,step ... */ X static char* funcname = 0; X void frame_curr_handler() { X if (Token.func == NULL) X return; X X if (funcname) X { X XtFree(funcname); X funcname = 0; X } X X funcname = XtNewString(Token.func); } X /* Handle dbx output of run, cont, next, step, return commands. X * Result of output parsing is returned in a set of tokens. X * X * If message is not 0, this is an important message and should X * be displayed instead of Token.mesg. X * This message will hold the Bus error and segmentation violation errors. X * signal is the signal number received (if any). X */ void exec_handler(message,signal) char *message; int signal; { X int line, status; X char *func; X X /* Print "stopped in ..." line in message window X * Adjust text displayed X */ X if (Token.line == 0) X return; X X if (message) X UpdateMessageWindow(message, NULL); X else X UpdateMessageWindow(Token.mesg, NULL); X X line = Token.line; X func = (Token.func) ? XtNewString(Token.func) : 0; X X if (Token.file) X status = LoadFile(Token.file); X X display_info_handler(); /* uses Token.display ! */ X X /* because of tbreak, we have to call info break here */ X X query_dbx("info break\n"); /* update breakpoints */ X X if (func == NULL) X { X query_dbx("frame\n"); /* this will just update funcname (see frame_curr_handler) */ X func = funcname; X if (func == NULL) X return; X funcname = 0; /* tell frame_curr_handler WE are going to XtFree it */ X } X X arrow.line = line; /* update arrow sign position */ X strcpy(arrow.func, func); X X updown.line = 0; /* remove updown, if any */ X if (displayedFile) { X strcpy(arrow.file, displayedFile->pathname); X } X X /* Display bomb sign if segmentation fault occurs in source code */ X X if (status != -1 && message && signal == SIGSEGV) { X arrow.line = 0; X bomb.line = line; X if (func) X strcpy(bomb.func, func); X if (displayedFile) strcpy(bomb.file, displayedFile->pathname); X } X else X bomb.line = 0; X X AdjustText(line); X XtFree(func); } X /* Remove all the arrow and updown signs, print message, then X * change the file variable to the file name displayed. X */ void done_handler(message,signal) char *message; int signal; { X char command[LINESIZ]; X X arrow.line = 0; X updown.line = 0; X UpdateArrow(displayedFile); X UpdateUpdown(displayedFile); X UpdateMessageWindow("Ready for execution", NULL); } X /* WARNING : source_handler() is NOT called by the parser. It is called by gdb_source_command() in gdb_parser.c. This is because 'source' command is NEVER sent to gdb, instead xxgdb sends the commands in the specified file one by one. */ X void source_handler() { char *file; FILE *fp; char s[LINESIZ]; X X if (!Token.file || !strcmp(Token.file, "")) X { X XtFree(Token.file); X Token.file = XtNewString(".gdbinit"); /* default is .gdbinit */ X } X X file = GetPathname(Token.file); X X if (file == NULL) X return; /* (PW)11JAN91 */ X X if (fp = fopen(file, "r")) X { X while (fgets(s, LINESIZ, fp)) X { X /* DO NOT SEND \n and Take care of source command */ X if ((*s != '#') && strcmp(s,"\n")) X { X if ((!gdb_source_command(s,TRUE)) X && (!gdb_define_command(s,fp))) X { X write_dbx(s); X insert_command(s); X AppendDialogText(s); X } X Prompt = False; X while (!Prompt) X read_dbx(); X } X } X close((int)fp); X } } X /* Sends a command to dbx and read the corresponding output, directly X * invoking the Xm input procedure, read_dbx(). X * X * Same as query_dbx() in gdb.c except that Echo = True. X */ void query_dbx_echo(command) char *command; { X write_dbx(command); X insert_command(command); X X Echo = True; X Prompt = False; X while (!Prompt) X read_dbx(); X X Parse = True; /* Always reset Parse and Echo to True */ X Echo = True; } X Widget helpbuttons[NHELPBUTTONS]; char callbackargs[NHELPBUTTONS][40]; Widget helplabels[NHELPLABELS]; char helpstack[HELP_LEVELS][HELP_SIZE]; int helpstackidx=0; char help_buttons_use_flag = 1; X void HelpButtonActivate(w, helpname, call_data) X Widget w; X char *helpname; X XmPushButtonCallbackStruct *call_data; { X char command[256]; X X strcpy(helpstack[helpstackidx++], helpname); X sprintf(command, "help %s\n", helpname); X help_buttons_use_flag = 1; X query_dbx(command); X help_buttons_use_flag = 0; } X void help_handler(command,output) char *command; char *output; { X char *p = output; X char buttonstring[LINESIZ]; X char labelstring[LINESIZ]; X char *useforlabel; X int genindex; X static int nlabel=0; /* These remain static to tell us how */ X static int nbutton=0; /* many widgets to unmanage and reuse */ X X if(!XtIsManaged(helpFD)) /* Popup the help Dialog */ X XtManageChild(helpFD); X X if(help_buttons_use_flag == 0) /* Reset SP if help was from dialog box cmd */ X helpstackidx = 0; /* or from pull-down menu */ X X XtUnmanageChild(helpselectscroll); /* Do this to keep form from resizing */ X X if(helpstackidx == 1) /* The SP tells us when to draw the backup */ X { /* button and label. */ X XtManageChild(helpupbutton); X XtManageChild(helpupbuttonlabel); X } X if(helpstackidx == 0) X { X XtUnmanageChild(helpupbuttonlabel); X XtUnmanageChild(helpupbutton); X } X X for(genindex = 0; genindex < nlabel; genindex++) /* Unmanage the used */ X XtUnmanageChild(helplabels[genindex]); /* labels and buttons */ X nlabel = 0; X for(genindex = 0; genindex < nbutton; genindex++) X XtUnmanageChild(helpbuttons[genindex]); X nbutton = 0; X X while(*p) /* Build the labels from the gdb help */ X { X int buttonindex = 0; X int labelindex = 0; X Boolean isbutton = False; X X while(*p != '\n') X { X if(isbutton == False) X buttonstring[buttonindex++] = *p; X else X labelstring[labelindex++] = *p; X p++; X if((*p == '-') && (*(p+1) == '-')) X { X isbutton = True; X buttonstring[buttonindex-1] = '\0'; X } X } X if(isbutton == True) X { X static Arg buttonargs[] = { X { XmNleftAttachment, XmATTACH_FORM }, X { XmNtopAttachment, XmATTACH_WIDGET }, X { XmNhighlightOnEnter, True }, X { 0, 0 }, X { 0, 0 }, X }; X X labelstring[labelindex] = '\0'; X useforlabel = labelstring; X strcpy(callbackargs[nbutton], buttonstring); X X XtSetArg(buttonargs[3], XmNlabelString, X XmStringCreateLtoR(buttonstring, X XmSTRING_DEFAULT_CHARSET)); X if(!nbutton) X XtSetArg(buttonargs[4], XmNtopWidget, helplabels[nlabel-1]); X else X XtSetArg(buttonargs[4], XmNtopWidget, helpbuttons[nbutton-1]); X if(!helpbuttons[nbutton]) X { X helpbuttons[nbutton] = X XtCreateManagedWidget("helpbutton", xmPushButtonWidgetClass, X helpselectscroll, buttonargs, 5); X } X else X { X XtRemoveCallback(helpbuttons[nbutton], XmNactivateCallback, X HelpButtonActivate, callbackargs[nbutton]); X XtSetValues(helpbuttons[nbutton], buttonargs, 5); X XtManageChild(helpbuttons[nbutton]); X } X XtAddCallback(helpbuttons[nbutton], XmNactivateCallback, X HelpButtonActivate, callbackargs[nbutton]); X nbutton++; X } X else X { X buttonstring[buttonindex] = '\0'; X useforlabel = buttonstring; X } X { X Arg *labelargs; X Cardinal nargs; X X if(isbutton == True) X { X static Arg labelargs1[] = { X { XmNrightAttachment, XmATTACH_FORM }, X { XmNleftAttachment, XmATTACH_WIDGET }, X { XmNbottomAttachment, XmATTACH_OPPOSITE_WIDGET }, X { XmNtopAttachment, XmATTACH_NONE }, X { XmNalignment, XmALIGNMENT_BEGINNING }, X { 0, 0 }, X { 0, 0 }, X { 0, 0 }, X }; X X XtSetArg(labelargs1[5], XmNbottomWidget, helpbuttons[nbutton-1]); X XtSetArg(labelargs1[6], XmNleftWidget, helpbuttons[nbutton-1]); X nargs = 7; X labelargs = labelargs1; X } X else X { X static Arg labelargs2[] = { X { XmNrightAttachment, XmATTACH_FORM }, X { XmNleftAttachment, XmATTACH_FORM }, X { XmNbottomAttachment, XmATTACH_NONE }, X { XmNalignment, XmALIGNMENT_CENTER }, X { 0, 0 }, X { 0, 0 }, X { 0, 0 }, X }; X X if(!nlabel) X { X XtSetArg(labelargs2[4], XmNtopAttachment, XmATTACH_FORM); X nargs = 5; X } X else X { X XtSetArg(labelargs2[4], XmNtopAttachment, XmATTACH_WIDGET); X XtSetArg(labelargs2[5], XmNtopWidget, helplabels[nlabel-1]); X nargs = 6; X } X labelargs = labelargs2; X } X XtSetArg(labelargs[nargs], XmNlabelString, X XmStringCreateLtoR(useforlabel, X XmSTRING_DEFAULT_CHARSET)); X nargs++; X if(!helplabels[nlabel]) X helplabels[nlabel] = XtCreateManagedWidget("helplabel", X xmLabelWidgetClass, X helpselectscroll, X labelargs, nargs); X else X { X XtSetValues(helplabels[nlabel], labelargs, nargs); X XtManageChild(helplabels[nlabel]); X } X } X nlabel++; X p++; X } X XtManageChild(helpselectscroll); } X X X SHAR_EOF echo 'File mxgdb/gdb_handler.c is complete' && chmod 0644 mxgdb/gdb_handler.c || echo 'restore of mxgdb/gdb_handler.c failed' Wc_c="`wc -c < 'mxgdb/gdb_handler.c'`" test 19264 -eq "$Wc_c" || echo 'mxgdb/gdb_handler.c: original size 19264, current size' "$Wc_c" rm -f _shar_wnt_.tmp fi # ============= mxgdb/command.o ============== if test -f 'mxgdb/command.o' -a X"$1" != X"-c"; then echo 'x - skipping mxgdb/command.o (File already exists)' rm -f _shar_wnt_.tmp else > _shar_wnt_.tmp echo 'x - extracting mxgdb/command.o (Text)' sed 's/^X//' << 'SHAR_EOF' > 'mxgdb/command.o' && X`$XXXXX∞$Ñ#ⁿX└$Ñ$XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX`x|XXÇXêXÿX£X¼XñX¿X╠X╘X°XXXXXXXXXXXXXXXXXXXXXXXX\X└X∞X\ X└8 X∞8 XXpsOfScreenRemoveEventHandlereX XXX 1@N^gqXéXòXƒX¬X╡X┴X╨XαXεX·XXX¡X\ SHAR_EOF chmod 0644 mxgdb/command.o || echo 'restore of mxgdb/command.o failed' Wc_c="`wc -c < 'mxgdb/command.o'`" test 44536 -eq "$Wc_c" || echo 'mxgdb/command.o: original size 44536, current size' "$Wc_c" rm -f _shar_wnt_.tmp fi # ============= mxgdb/gdb.o ============== if test -f 'mxgdb/gdb.o' -a X"$1" != X"-c"; then echo 'x - skipping mxgdb/gdb.o (File already exists)' rm -f _shar_wnt_.tmp else > _shar_wnt_.tmp echo 'x - extracting mxgdb/gdb.o (Text)' sed 's/^X//' << 'SHAR_EOF' > 'mxgdb/gdb.o' && X`XXLX░XlorseInputpMenuXXX)8FV_izXìXùXóX¡X╣X╚X╪XµX≥XXXXXX SHAR_EOF chmod 0644 mxgdb/gdb.o || echo 'restore of mxgdb/gdb.o failed' Wc_c="`wc -c < 'mxgdb/gdb.o'`" test 32760 -eq "$Wc_c" || echo 'mxgdb/gdb.o: original size 32760, current size' "$Wc_c" rm -f _shar_wnt_.tmp fi # ============= mxgdb/dialog.o ============== if test -f 'mxgdb/dialog.o' -a X"$1" != X"-c"; then echo 'x - skipping mxgdb/dialog.o (File already exists)' rm -f _shar_wnt_.tmp else > _shar_wnt_.tmp echo 'x - extracting mxgdb/dialog.o (Text)' sed 's/^X//' << 'SHAR_EOF' > 'mxgdb/dialog.o' && X`X╘,,X╝XXXXXXXXXXü ÷ÇXÇ ÷ÇXXXXXestSizeppAddTimeOutteSimpleCheckBoxX XXX)8FV_izXìXùXóX¡X╣X╚X╪XµX≥XXXXXX SHAR_EOF chmod 0644 mxgdb/dialog.o || echo 'restore of mxgdb/dialog.o failed' Wc_c="`wc -c < 'mxgdb/dialog.o'`" test 34500 -eq "$Wc_c" || echo 'mxgdb/dialog.o: original size 34500, current size' "$Wc_c" rm -f _shar_wnt_.tmp fi # ============= mxgdb/filemenu.o ============== if test -f 'mxgdb/filemenu.o' -a X"$1" != X"-c"; then echo 'x - skipping mxgdb/filemenu.o (File already exists)' rm -f _shar_wnt_.tmp else > _shar_wnt_.tmp echo 'x - extracting mxgdb/filemenu.o (Text)' sed 's/^X//' << 'SHAR_EOF' > 'mxgdb/filemenu.o' && X`XXXXXXXXXXXXXxtExtentsXnMenuXXXX 1@N^gqXéXòXƒX¬X╡X┴X╨XαXεX·XXX¡8┐X SHAR_EOF chmod 0644 mxgdb/filemenu.o || echo 'restore of mxgdb/filemenu.o failed' Wc_c="`wc -c < 'mxgdb/filemenu.o'`" test 31312 -eq "$Wc_c" || echo 'mxgdb/filemenu.o: original size 31312, current size' "$Wc_c" rm -f _shar_wnt_.tmp fi # ============= mxgdb/handler.o ============== if test -f 'mxgdb/handler.o' -a X"$1" != X"-c"; then echo 'x - skipping mxgdb/handler.o (File already exists)' rm -f _shar_wnt_.tmp else > _shar_wnt_.tmp echo 'x - extracting mxgdb/handler.o (Text)' sed 's/^X//' << 'SHAR_EOF' > 'mxgdb/handler.o' && X`X«XXÅñXÅ¿XÅñ$XXXXXXXXXXXXXXXXXXXXXXXXXXXXX,<LXÇXîXêXáXñX┤X╚X─X╘X╠X╨XαXΦX≡X⌠X°XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXxXáx Xá XabServerXontListFreeFontContextX XXX 1@N^gqXéXòXƒX¬X╡X┴X╨XαXεX·XXX¡x Xá SHAR_EOF chmod 0644 mxgdb/handler.o || echo 'restore of mxgdb/handler.o failed' Wc_c="`wc -c < 'mxgdb/handler.o'`" test 44568 -eq "$Wc_c" || echo 'mxgdb/handler.o: original size 44568, current size' "$Wc_c" rm -f _shar_wnt_.tmp fi # ============= mxgdb/parser.o ============== if test -f 'mxgdb/parser.o' -a X"$1" != X"-c"; then echo 'x - skipping mxgdb/parser.o (File already exists)' rm -f _shar_wnt_.tmp else > _shar_wnt_.tmp echo 'x - extracting mxgdb/parser.o (Text)' sed 's/^X//' << 'SHAR_EOF' > 'mxgdb/parser.o' && X`XXÅñXX@XÅ┐XüX$ AXXäX╠0XX\)*\([^ ]+\):\([0-9]+\):\([0-9]+\):\([^ ]+\):0x.+ \([ ]*[^0-9].* \)\(\([0-9]+:.* \(\( .* \)*} \)?\)*\)\)*\([ ]*[^ ].* \)\([^ ]+\):\([0-9]+\):\([0-9]+\):\([^ ]+\):0x.+ \(\([0-9]+:.* \(\( .* \)*} \)?\)*\)\)*\(\([^ ]+\):\([0-9]+\):\([0-9]+\):\([^ ]+\):0x.+ \)\(\([0-9]+:.* \(\( .* \)*} \)?\)*\)\)* \(Program terminated with signal \|Program exited with code 0\|Program exited normally\).* \(.* \)*\)*Breakpoint \([0-9]+\) at [^ ]+: file \([^ ]+\), line \([0-9]+\). XX\)*\(#[0-9]+[ ]+\(0x[^ ]+[ ]+in[ ]+\)?\([^ ]+\).* \)\(Source file is more recent than executable. \)?\([^ ]+\):\([0-9]+\):\([0-9]+\):\([^ ]+\):0x.+ X\|Already at the \(top\|bottom\) call level \|No active stack frames \|no program to run \|no process to run \|program is not active \|can't continue execution \|.* can't write to process.* \|\(Top\|End\)-of-file; did not find search string:.* \)XX\)?\(\(.*\) = .* \(.* \)*\)\)*Type "help" for a list of commands. X\)*Source directories searched:[ ]*\([^ ]+\)[ ]* X\)*\(\([0-9]+\).* \)\)\(\( .* \)*} \)?\)*\)\([ ]*(canonically[ ]+\([^ ]+\)). \)?\)* \(Program received signal \([-]?[0-9]+\), [^ ]+.* \)\(.* \)*\)*\([0-9]+:.* \)\(.* \)*\)*\(Reading in symbols for .*done. \)\(.* \)*\)*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX} X} XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX 84DLXPdtXäXîXXÉXñX¿X¼X╝X╠X╘XX╪X∞X≡X⌠XXXXXXXXXXXXXXXXXXXXXXXXXXXXXÇXXXXXXQueryBestCursorocessedateSimpleRadioBoxXXX)8FV_izXìXùXóX¡X╣X╚X╪XµX≥XXXXXXX SHAR_EOF chmod 0644 mxgdb/parser.o || echo 'restore of mxgdb/parser.o failed' Wc_c="`wc -c < 'mxgdb/parser.o'`" test 45664 -eq "$Wc_c" || echo 'mxgdb/parser.o: original size 45664, current size' "$Wc_c" rm -f _shar_wnt_.tmp fi # ============= mxgdb/regex.o ============== if test -f 'mxgdb/regex.o' -a X"$1" != X"-c"; then echo 'x - skipping mxgdb/regex.o (File already exists)' rm -f _shar_wnt_.tmp else > _shar_wnt_.tmp echo 'x - extracting mxgdb/regex.o (Text)' sed 's/^X//' << 'SHAR_EOF' > 'mxgdb/regex.o' && X`X«°XX$XXXXXXóXX XX XXX'¼XXüyX$ X$ îC ñXXéπXaRÅúLÅúLXX┴ÅúLÅúL,c,cXâ├XǼ$ SHAR_EOF chmod 0644 mxgdb/regex.o || echo 'restore of mxgdb/regex.o failed' Wc_c="`wc -c < 'mxgdb/regex.o'`" test 14796 -eq "$Wc_c" || echo 'mxgdb/regex.o: original size 14796, current size' "$Wc_c" rm -f _shar_wnt_.tmp fi # ============= mxgdb/signs.o ============== if test -f 'mxgdb/signs.o' -a X"$1" != X"-c"; then echo 'x - skipping mxgdb/signs.o (File already exists)' rm -f _shar_wnt_.tmp else > _shar_wnt_.tmp echo 'x - extracting mxgdb/signs.o (Text)' sed 's/^X//' << 'SHAR_EOF' > 'mxgdb/signs.o' && X`XXXÅ┐XÅ┐XÅ┐XÅ┐XXXXXXXXXX$(@XîXÿXêXÉX░X┤X╕X╝X▄XXXXXsputnuXXX)8FV_izXìXùXóX¡X╣X╚X╪XµX≥XXXXXX SHAR_EOF chmod 0644 mxgdb/signs.o || echo 'restore of mxgdb/signs.o failed' Wc_c="`wc -c < 'mxgdb/signs.o'`" test 36756 -eq "$Wc_c" || echo 'mxgdb/signs.o: original size 36756, current size' "$Wc_c" rm -f _shar_wnt_.tmp fi # ============= mxgdb/signals.o ============== if test -f 'mxgdb/signals.o' -a X"$1" != X"-c"; then echo 'x - skipping mxgdb/signals.o (File already exists)' rm -f _shar_wnt_.tmp else > _shar_wnt_.tmp echo 'x - extracting mxgdb/signals.o (Text)' sed 's/^X//' << 'SHAR_EOF' > 'mxgdb/signals.o' && X`XXXXXXXXXXXXXXXXX,XXXXyTextExtents16teSimpleRadioBoxXXX)8FV_izXìXùXóX¡X╣X╚X╪XµX≥XXXXXX SHAR_EOF chmod 0644 mxgdb/signals.o || echo 'restore of mxgdb/signals.o failed' Wc_c="`wc -c < 'mxgdb/signals.o'`" test 31896 -eq "$Wc_c" || echo 'mxgdb/signals.o: original size 31896, current size' "$Wc_c" rm -f _shar_wnt_.tmp fi # ============= mxgdb/source.o ============== if test -f 'mxgdb/source.o' -a X"$1" != X"-c"; then echo 'x - skipping mxgdb/source.o (File already exists)' rm -f _shar_wnt_.tmp else > _shar_wnt_.tmp echo 'x - extracting mxgdb/source.o (Text)' sed 's/^X//' << 'SHAR_EOF' > 'mxgdb/source.o' && X`XX┤*& XXXÇ+`!ìàQX!îEX»╕XXXX!ìdXXXXXX X X XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXX0$(,4X8@DXXdX\`XhptXäXêXñX¿X└X─X╘X╪XX▄XΣXXXXXXXXXXXXXXXXXXXXXXáXXⁿXXá Xⁿ8 XPointertiClickTimeextFontonWidgetClassXXX"3DSaqzXäXòX¿X▓X╜X╚X╘XπX≤X XXXá XX SHAR_EOF chmod 0644 mxgdb/source.o || echo 'restore of mxgdb/source.o failed' Wc_c="`wc -c < 'mxgdb/source.o'`" test 49528 -eq "$Wc_c" || echo 'mxgdb/source.o: original size 49528, current size' "$Wc_c" rm -f _shar_wnt_.tmp fi # ============= mxgdb/utils.o ============== if test -f 'mxgdb/utils.o' -a X"$1" != X"-c"; then echo 'x - skipping mxgdb/utils.o (File already exists)' rm -f _shar_wnt_.tmp else > _shar_wnt_.tmp echo 'x - extracting mxgdb/utils.o (Text)' sed 's/^X//' << 'SHAR_EOF' > 'mxgdb/utils.o' && X`XXXXXents16alizeWidgetadioBoxXXX)8FV_izXìXùXóX¡X╣X╚X╪XµX≥XXXXXX SHAR_EOF chmod 0644 mxgdb/utils.o || echo 'restore of mxgdb/utils.o failed' Wc_c="`wc -c < 'mxgdb/utils.o'`" test 32256 -eq "$Wc_c" || echo 'mxgdb/utils.o: original size 32256, current size' "$Wc_c" rm -f _shar_wnt_.tmp fi # ============= mxgdb/windows.o ============== if test -f 'mxgdb/windows.o' -a X"$1" != X"-c"; then echo 'x - skipping mxgdb/windows.o (File already exists)' rm -f _shar_wnt_.tmp else > _shar_wnt_.tmp echo 'x - extracting mxgdb/windows.o (Text)' sed 's/^X//' << 'SHAR_EOF' > 'mxgdb/windows.o' && X`XXx!ü° $XxXXÇjX!XXXXadapted by Jim Tsillas from work by Pierre Willard (xxgdb) and Po Cheung (xdbx) July 22, 1991 TRITON Project, Internal CASE Bull HN, Billerica Mass. Questions, comments to J.Tsillas@bull.comXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX X,48DTXLdX@PlXXîtxXÉXáXÿX£XñXX¼X╝X┤X└XX╕X─XX╘X▄X╪XαXΣXX∞X≡XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXertyXontListAddPMenuXXX)8FV_izXìXùXóX¡X╣X╚X╪XµX≥XXXXXXXX SHAR_EOF chmod 0644 mxgdb/windows.o || echo 'restore of mxgdb/windows.o failed' Wc_c="`wc -c < 'mxgdb/windows.o'`" test 49708 -eq "$Wc_c" || echo 'mxgdb/windows.o: original size 49708, current size' "$Wc_c" rm -f _shar_wnt_.tmp fi # ============= mxgdb/mxgdb.o ============== if test -f 'mxgdb/mxgdb.o' -a X"$1" != X"-c"; then echo 'x - skipping mxgdb/mxgdb.o (File already exists)' rm -f _shar_wnt_.tmp else > _shar_wnt_.tmp echo 'x - extracting mxgdb/mxgdb.o (Text)' sed 's/^X//' << 'SHAR_EOF' > 'mxgdb/mxgdb.o' && X`XáXáTX'äX X X MXGDB comes with ABSOLUTELY NO WARRANTY. XXΣX∞X⌠XⁿX<HXXXXXXXXXXXXXXXXXXX (,0XXXO XXXQueryTreegetXXmVaCreateSimpleCheckBoxXXX)8FV_izXìXùXóX¡X╣X╚X╪XµX≥XXXXXXX▄» Xα» X SHAR_EOF chmod 0644 mxgdb/mxgdb.o || echo 'restore of mxgdb/mxgdb.o failed' Wc_c="`wc -c < 'mxgdb/mxgdb.o'`" test 36036 -eq "$Wc_c" || echo 'mxgdb/mxgdb.o: original size 36036, current size' "$Wc_c" rm -f _shar_wnt_.tmp fi # ============= mxgdb/malloc.o ============== if test -f 'mxgdb/malloc.o' -a X"$1" != X"-c"; then echo 'x - skipping mxgdb/malloc.o (File already exists)' rm -f _shar_wnt_.tmp else > _shar_wnt_.tmp echo 'x - extracting mxgdb/malloc.o (Text)' sed 's/^X//' << 'SHAR_EOF' > 'mxgdb/malloc.o' && X`hǬh!0┬ ÅâÇXXXXXX ╓ñi ■áj ⁿXXXXXXXXXXXXXXXXXX@└@└b33ä0╨A8 !( !( ""`≡(B100╨≡@╨RSPα ≡$ ≡ B31!α63Aa≡ Ç °pAα( @└ ±åXxT└@└XXÇ ÷åXÇXXX SHAR_EOF chmod 0644 mxgdb/malloc.o || echo 'restore of mxgdb/malloc.o failed' Wc_c="`wc -c < 'mxgdb/malloc.o'`" test 5484 -eq "$Wc_c" || echo 'mxgdb/malloc.o: original size 5484, current size' "$Wc_c" rm -f _shar_wnt_.tmp fi # ============= mxgdb/bitmaps.o ============== if test -f 'mxgdb/bitmaps.o' -a X"$1" != X"-c"; then echo 'x - skipping mxgdb/bitmaps.o (File already exists)' rm -f _shar_wnt_.tmp else > _shar_wnt_.tmp echo 'x - extracting mxgdb/bitmaps.o (Text)' sed 's/^X//' << 'SHAR_EOF' > 'mxgdb/bitmaps.o' && X`X─X X X XöXöX¿ X¿ X0ααXó(ó'x╛óCó$Bó(Bó╚9X p X SHAR_EOF chmod 0644 mxgdb/bitmaps.o || echo 'restore of mxgdb/bitmaps.o failed' Wc_c="`wc -c < 'mxgdb/bitmaps.o'`" test 3660 -eq "$Wc_c" || echo 'mxgdb/bitmaps.o: original size 3660, current size' "$Wc_c" rm -f _shar_wnt_.tmp fi # ============= mxgdb/Makefile.bak ============== if test -f 'mxgdb/Makefile.bak' -a X"$1" != X"-c"; then echo 'x - skipping mxgdb/Makefile.bak (File already exists)' rm -f _shar_wnt_.tmp else > _shar_wnt_.tmp echo 'x - extracting mxgdb/Makefile.bak (Text)' sed 's/^X//' << 'SHAR_EOF' > 'mxgdb/Makefile.bak' && # Makefile generated by imake - do not edit! # $XConsortium: imake.c,v 1.51 89/12/12 12:37:30 jim Exp $ X ########################################################################### # Makefile generated from "Imake.tmpl" and </tmp/IIf.001457> # $XConsortium: Imake.tmpl,v 1.77 89/12/18 17:01:37 jim Exp $ # # Platform-specific parameters may be set in the appropriate .cf # configuration files. Site-wide parameters may be set in the file # site.def. Full rebuilds are recommended if any parameters are changed. # # If your C preprocessor doesn't define any unique symbols, you'll need # to set BOOTSTRAPCFLAGS when rebuilding imake (usually when doing # "make Makefile", "make Makefiles", or "make World"). # # If you absolutely can't get imake to work, you'll need to set the # variables at the top of each Makefile as well as the dependencies at the # bottom (makedepend will do this automatically). # X ########################################################################### # platform-specific configuration parameters - edit Mips.cf to change X # platform: $XConsortium: Mips.cf,v 1.2 89/01/11 14:58:19 jim Exp $ # operating system: RISCOS X X SYSVTYPE = -systype sysv X BSDTYPE = -systype bsd43 X SYSVDEFS = -DMips -DSYSV X BSDDEFS = -DMips -DBSD43 X SYSVINCS = -I$(DESTDIR)/usr/include/bsd X BSDINCS = X SYSVLIBS = -lbsd -lmld X BSDLIBS = -lmld X X SYSTYPE = $(BSDTYPE) X SYSDEFS = $(BSDDEFS) X SYSINCS = $(BSDINCS) X SYSLIBS = $(BSDLIBS) X X OPTIM = -O -Olimit 2000 -Wf,-XNd8400,-XNp12000 X CCOPT = -signed X DEFINES = -D_NO_PROTO SYSVCFLAGS = $(OPTIM) $(CCOPT) $(SYSVTYPE) $(INCLUDES) $(SYSVDEFS) $(SYSVINCS) $(DEFINES) X BSDCFLAGS = $(OPTIM) $(CCOPT) $(BSDTYPE) $(INCLUDES) $(BSDDEFS) $(BSDINCS) $(DEFINES) X X ETCDIR = /etc X ULIBDIR = /usr/lib X X XINSTALLDIR = X-windows4.0 X INSTALLFLAGS = -m 0555 X RS1210DIR = $(DESTDIR)/usr/$(XINSTALLDIR)/RS1210 X CONTRIBBINDIR = $(DESTDIR)/usr/$(XINSTALLDIR)/contrib/bin CONTRIBAPPSDEFDIR = $(DESTDIR)/usr/$(XINSTALLDIR)/contrib/lib/app-defaults X CONTRIBMANDIR = $(DESTDIR)/usr/$(XINSTALLDIR)/contrib/man X CONTRIBSRCDIR = $(DESTDIR)/usr/$(XINSTALLDIR)/contrib/src X EXTRABINDIR = $(BINDIR)/extra X RS1210LIBDIR = $(LIBDIR)/ncd X X BINPATH = /usr/bin/X11 X LIBPATH = /usr/lib/X11 X ETCPATH = /usr/etc/X11 X ADMPATH = /usr/adm X NCDPATH = /usr/X11/ncd X EXTRABINPATH = $(BINPATH)/extra X NCDLIBPATH = $(LIBPATH)/ncd X XINITPATH = $(LIBPATH)/xinit X XDMPATH = $(ETCPATH)/xdm X UWMPATH = $(LIBPATH)/uwm X AWMPATH = $(LIBPATH)/awm X MWMPATH = $(LIBPATH)/mwm X TWMPATH = $(LIBPATH)/twm X XAPPLOADPATH = $(LIBPATH)/app-defaults X RS1210SRC = $(TOP)/rs1210 X X MOTIFSRC = $(TOP)/motif X MLIBSRC = $(MOTIFSRC)/lib X MCLIENTSRC = $(MOTIFSRC)/clients X MDEMOSRC = $(MOTIFSRC)/demos X MTOOLKITSRC = $(MOTIFSRC)/X11R4/lib/Xt X MWIDGETSRC = $(MLIBSRC)/Xm X INCLUDEXMSRC = $(MLIBSRC)/Xm X MRESOURCESRC = $(MLIBSRC)/Mrm X MWMDIR = $(LIBDIR)/Mwm X DEMOBINDIR = $(DESTDIR)/usr/$(XINSTALLDIR)/demos/bin X DEMOSRCDIR = $(DESTDIR)/usr/$(XINSTALLDIR)/demos/src X MINCLUDE = $(TOP)/include X UILSRC = $(MCLIENTSRC)/uil X UIL = $(UILSRC)/uil X X XMTOOLLIB = $(MTOOLKITSRC)/libXt.a X XMLIB = $(MWIDGETSRC)/libXm.a X MRESOURCELIB = $(MRESOURCESRC)/libMrm.a X UILLIB = $(UILSRC)/libUil.a X X XWCMSRC = $(LIBSRC)/Xwcm X SYSVDEPXWCMLIB = $(XWCMSRC)/libsysvXwcm.a X BSDDEPXWCMLIB = $(XWCMSRC)/libbsdXwcm.a X DEPXWCMLIB = $(XWCMSRC)/libXwcm.a X X SYSVXWCMLIB = $(SYSVDEPXWCMLIB) X BSDXWCMLIB = $(BSDDEPXWCMLIB) X XWCMLIB = $(DEPXWCMLIB) X X BUILDTOOLSDIR = $(TOP)/buildtools CROSSENVOVERRIDE= DESTROOT=/ COMP_TARGET_ROOT=/ ETCDIR=/etc ULIBDIR=/usr/lib X ########################################################################### # site-specific configuration parameters - edit site.def to change X # site: $XConsortium: site.def,v 1.21 89/12/06 11:46:50 jim Exp $ X X SHELL = /bin/sh X X TOP = . X CURRENT_DIR = . X X AR = ar clr X BOOTSTRAPCFLAGS = $(SYSDEFS) X CC = cc X X COMPRESS = compress X CPP = /lib/cpp $(STD_CPP_DEFINES) X PREPROCESSCMD = cc -E $(STD_CPP_DEFINES) X INSTALL = $(ETCDIR)/mipsinstall X LD = ld X LINT = lint X LINTLIBFLAG = -C X LINTOPTS = -axz X LN = ln -s X MAKE = make ETCDIR='$(ETCDIR)' ULIBDIR='$(ULIBDIR)' X MV = mv X CP = cp X RANLIB = /bin/true X RANLIBINSTFLAGS = X RM = rm -f X STD_INCLUDES = X STD_CPP_DEFINES = $(SYSDEFS) X STD_DEFINES = $(SYSDEFS) $(SYSINCS) X EXTRA_LOAD_FLAGS = X EXTRA_LIBRARIES = $(SYSLIBS) X TAGS = ctags X X SIGNAL_DEFINES = -DSIGNALRETURNSINT X X PROTO_DEFINES = X X INSTPGMFLAGS = X X INSTBINFLAGS = -m 0755 X INSTUIDFLAGS = -m 4755 X INSTLIBFLAGS = -m 0664 X INSTINCFLAGS = -m 0444 X INSTMANFLAGS = -m 0444 X INSTDATFLAGS = -m 0444 X INSTKMEMFLAGS = -g sys -m 2755 X X DESTDIR = $(DESTROOT) X X TOP_INCLUDES = -I$(INCROOT) X X CDEBUGFLAGS = $(OPTIM) $(CCOPT) $(SYSTYPE) X CCOPTIONS = X COMPATFLAGS = X X ALLINCLUDES = $(STD_INCLUDES) $(TOP_INCLUDES) $(INCLUDES) $(EXTRA_INCLUDES) X ALLDEFINES = $(ALLINCLUDES) $(STD_DEFINES) $(PROTO_DEFINES) $(DEFINES) $(COMPATFLAGS) $(EXT_DEFINES) X CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(ALLDEFINES) X LINTFLAGS = $(LINTOPTS) -DLINT $(ALLDEFINES) X LDLIBS = $(SYS_LIBRARIES) $(EXTRA_LIBRARIES) X LDOPTIONS = $(CDEBUGFLAGS) $(CCOPTIONS) X LDCOMBINEFLAGS = -X -r X X MACROFILE = Mips.cf X RM_CMD = $(RM) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut *.u *.b X X IMAKE_DEFINES = X X IRULESRC = $(CONFIGDIR) X IMAKE_CMD = $(IMAKE) -DUseInstalled -I$(IRULESRC) $(IMAKE_DEFINES) X X ICONFIGFILES = $(IRULESRC)/Imake.tmpl $(IRULESRC)/Imake.rules \ X $(IRULESRC)/Project.tmpl $(IRULESRC)/site.def \ X $(IRULESRC)/$(MACROFILE) $(EXTRA_ICONFIGFILES) X ########################################################################### # X Window System Build Parameters # $XConsortium: Project.tmpl,v 1.63 89/12/18 16:46:44 jim Exp $ X ########################################################################### # X Window System make variables; this need to be coordinated with rules # $XConsortium: Project.tmpl,v 1.63 89/12/18 16:46:44 jim Exp $ X X PATHSEP = / X USRLIBDIR = $(DESTDIR)/usr/$(XINSTALLDIR)/lib X BINDIR = $(DESTDIR)/usr/$(XINSTALLDIR)/bin X INCROOT = $(DESTDIR)/usr/$(XINSTALLDIR)/include X BUILDINCROOT = $(TOP) X BUILDINCDIR = $(BUILDINCROOT)/X11 X BUILDINCTOP = .. X INCDIR = $(INCROOT)/X11 X ADMDIR = $(DESTDIR)/usr/adm X LIBDIR = $(USRLIBDIR)/X11 X CONFIGDIR = $(LIBDIR)/config X LINTLIBDIR = $(USRLIBDIR)/lint X X FONTDIR = $(LIBDIR)/fonts X XINITDIR = $(LIBDIR)/xinit X XDMDIR = $(DESTDIR)/usr/X11/etc/xdm X AWMDIR = $(LIBDIR)/awm X TWMDIR = $(LIBDIR)/twm X GWMDIR = $(LIBDIR)/gwm X MANPATH = $(DESTDIR)/usr/$(XINSTALLDIR)/man/cat X MANSOURCEPATH = $(MANPATH)/man X MANDIR = $(MANSOURCEPATH)1 X LIBMANDIR = $(MANSOURCEPATH)3 X XAPPLOADDIR = $(LIBDIR)/app-defaults X X FONTCFLAGS = -t X X INSTAPPFLAGS = $(INSTDATFLAGS) X X IMAKE = imake X DEPEND = makedepend X RGB = rgb X FONTC = bdftosnf X MKFONTDIR = mkfontdir X MKDIRHIER = /bin/sh $(BINDIR)/mkdirhier.sh X X CONFIGSRC = $(TOP)/config X CLIENTSRC = $(TOP)/clients X DEMOSRC = $(TOP)/demos X LIBSRC = $(TOP)/lib X FONTSRC = $(TOP)/fonts X INCLUDESRC = $(TOP)/X11 X SERVERSRC = $(TOP)/server X UTILSRC = $(TOP)/util X SCRIPTSRC = $(UTILSRC)/scripts X EXAMPLESRC = $(TOP)/examples X CONTRIBSRC = $(TOP)/../contrib X DOCSRC = $(TOP)/doc X RGBSRC = $(TOP)/rgb X DEPENDSRC = $(UTILSRC)/makedepend X IMAKESRC = $(CONFIGSRC) X XAUTHSRC = $(LIBSRC)/Xau X XLIBSRC = $(LIBSRC)/X X XMUSRC = $(LIBSRC)/Xmu X TOOLKITSRC = $(LIBSRC)/Xt X AWIDGETSRC = $(LIBSRC)/Xaw X OLDXLIBSRC = $(LIBSRC)/oldX X XDMCPLIBSRC = $(LIBSRC)/Xdmcp X BDFTOSNFSRC = $(FONTSRC)/bdftosnf X MKFONTDIRSRC = $(FONTSRC)/mkfontdir X EXTENSIONSRC = $(TOP)/extensions X X DEPEXTENSIONLIB = $(USRLIBDIR)/libXext.a X EXTENSIONLIB = -lXext X X DEPXLIB = $(DEPEXTENSIONLIB) $(USRLIBDIR)/libX11.a X XLIB = $(EXTENSIONLIB) -lX11 X X DEPXAUTHLIB = $(USRLIBDIR)/libXau.a X XAUTHLIB = -lXau X X DEPXMULIB = $(USRLIBDIR)/libXmu.a X XMULIB = -lXmu X X DEPOLDXLIB = $(USRLIBDIR)/liboldX.a X OLDXLIB = -loldX X X DEPXTOOLLIB = $(USRLIBDIR)/libXt.a X XTOOLLIB = -lXt X X DEPXAWLIB = $(USRLIBDIR)/libXaw.a X XAWLIB = -lXaw X X LINTEXTENSIONLIB = $(USRLIBDIR)/llib-lXext.ln X LINTXLIB = $(USRLIBDIR)/llib-lX11.ln X LINTXMU = $(USRLIBDIR)/llib-lXmu.ln X LINTXTOOL = $(USRLIBDIR)/llib-lXt.ln X LINTXAW = $(USRLIBDIR)/llib-lXaw.ln X X DEPLIBS = $(LOCAL_LIBRARIES) X X DEPLIBS1 = $(DEPLIBS) X DEPLIBS2 = $(DEPLIBS) X DEPLIBS3 = $(DEPLIBS) X ########################################################################### # Imake rules for building libraries, programs, scripts, and data files # rules: $XConsortium: Imake.rules,v 1.70 90/05/04 16:57:30 keith Exp $ X ########################################################################### # start of Imakefile X # $Id: Imakefile,v 1.3 1991/08/23 16:34:24 jtsillas Exp $ X # # Read the README file for a list of options to include for your system # LOCAL_LIBRARIES = -lXm -lXt -lX11 X X SRCS1 = callgdb.c command.c gdb.c dialog.c filemenu.c \ X handler.c parser.c regex.c signs.c signals.c source.c \ X utils.c windows.c mxgdb.c malloc.c bitmaps.c X X OBJS1 = callgdb.o command.o gdb.o dialog.o filemenu.o \ X handler.o parser.o regex.o signs.o signals.o source.o \ X utils.o windows.o mxgdb.o malloc.o bitmaps.o X PROGRAMS = mxgdb X ..c.o: X $(RM) $@ X $(CC) -c $(CFLAGS) $*.c X X OBJS = $(OBJS1) $(OBJS2) $(OBJS3) X SRCS = $(SRCS1) $(SRCS2) $(SRCS3) X all:: $(PROGRAMS) X mxgdb: $(OBJS1) $(DEPLIBS1) X $(RM) $@ X $(CC) -o $@ $(LDOPTIONS) $(OBJS1) $(LOCAL_LIBRARIES) $(LDLIBS) $(SYSLIBS) $(EXTRA_LOAD_FLAGS) X install:: mxgdb X $(INSTALL) -c -s $(INSTPGMFLAGS) mxgdb $(BINDIR) X mxgdb.1:: mxgdb.man X nroff -man $? > $@ X all:: mxgdb.1 X clean:: X rm -f mxgdb.1 X install.man:: mxgdb.1 X $(INSTALL) -c $(INSTMANFLAGS) -f mxgdb.1 $(MANDIR)/mxgdb.1 X depend:: X $(DEPEND) -s "# DO NOT DELETE" -- $(ALLDEFINES) -- $(SRCS) X lint: X $(LINT) $(LINTFLAGS) $(SRCS) $(LINTLIBS) lint1: X $(LINT) $(LINTFLAGS) $(FILE) $(LINTLIBS) X clean:: X $(RM) $(PROGRAMS) X install:: Mxgdb.ad X $(INSTALL) -c -f $(INSTAPPFLAGS) Mxgdb.ad $(XAPPLOADDIR)/Mxgdb X handler.o: gdb_handler.c parser.o: gdb_parser.c gdb_regex.h X ########################################################################### # common rules for all Makefiles - do not edit X emptyrule:: X clean:: X $(RM_CMD) \#* X Makefile:: X -@if [ -f Makefile ]; then \ X echo " $(RM) Makefile.bak; $(MV) Makefile Makefile.bak"; \ X $(RM) Makefile.bak; $(MV) Makefile Makefile.bak; \ X else exit 0; fi X $(IMAKE_CMD) -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT_DIR) X tags:: X $(TAGS) -w *.[ch] X $(TAGS) -xw *.[ch] > TAGS X ########################################################################### # empty rules for directories that do not have SUBDIRS - do not edit X install:: X @echo "install in $(CURRENT_DIR) done" X install.man:: X @echo "install.man in $(CURRENT_DIR) done" X Makefiles:: X includes:: X ########################################################################### # dependencies generated by makedepend X SHAR_EOF chmod 0644 mxgdb/Makefile.bak || echo 'restore of mxgdb/Makefile.bak failed' Wc_c="`wc -c < 'mxgdb/Makefile.bak'`" test 12178 -eq "$Wc_c" || echo 'mxgdb/Makefile.bak: original size 12178, current size' "$Wc_c" rm -f _shar_wnt_.tmp fi rm -f _shar_seq_.tmp echo You have unpacked the last part exit 0