home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1992 March / Source_Code_CD-ROM_Walnut_Creek_March_1992.iso / usenet / altsrcs / 4 / 4013 < prev    next >
Text File  |  1991-09-08  |  40KB  |  1,372 lines

  1. Newsgroups: alt.sources
  2. Path: wupost!zaphod.mps.ohio-state.edu!think.com!news.bbn.com!mips2!bubba!jtsillas
  3. From: jtsillas@bubba.ma30.bull.com (James Tsillas)
  4. Subject: mxgdb 1.0.3 (part 10/10)
  5. Organization: Bull HN, Worldwide Information Systems, Billerica, Mass., USA
  6. Distribution: alt
  7. Date: 6 Sep 91 14:51:07
  8. Message-ID: <JTSILLAS.91Sep6145107@bubba.ma30.bull.com>
  9. Sender: news@mips2.ma30.bull.com (Usenet News Manager)
  10.  
  11. ---- Cut Here and feed the following to sh ----
  12. #!/bin/sh
  13. # this is mxgdb.10 (part 10 of a multipart archive)
  14. # do not concatenate these parts, unpack them in order with /bin/sh
  15. # file mxgdb/gdb_handler.c continued
  16. #
  17. if test ! -r _shar_seq_.tmp; then
  18.     echo 'Please unpack part 1 first!'
  19.     exit 1
  20. fi
  21. (read Scheck
  22.  if test "$Scheck" != 10; then
  23.     echo Please unpack part "$Scheck" next!
  24.     exit 1
  25.  else
  26.     exit 0
  27.  fi
  28. ) < _shar_seq_.tmp || exit 1
  29. if test ! -f _shar_wnt_.tmp; then
  30.     echo 'x - still skipping mxgdb/gdb_handler.c'
  31. else
  32. echo 'x - continuing file mxgdb/gdb_handler.c'
  33. sed 's/^X//' << 'SHAR_EOF' >> 'mxgdb/gdb_handler.c' &&
  34. X    AdjustText(line);
  35. X    XtFree(func);
  36. }
  37. X
  38. /* ARGSUSED */
  39. void debug_handler()
  40. {
  41. X    /* debug_handler is executed at start-up and with 'symbol-file' command */
  42. X    query_dbx("set screensize 0\n");
  43. X    query_dbx("set prettyprint on\n");
  44. X    query_dbx("info directories\n");
  45. X    displayedFile = NULL;        /* force reloading of source file */
  46. X     /* here we use query_dbx_echo instead of query_dbx so that any
  47. X     error message will be displayed ! */
  48. X     
  49. X     query_dbx_echo("list ,main\n");    /* tell gdb to use main file 
  50. X                                 and get line number of main(). (,main will end at main) */
  51. X   
  52. X    if (LoadCurrentFile() == 0)
  53. X        {
  54. X        arrow.line = 0;            /* clear arrow sign */
  55. X        updown.line = 0;        /* clear updown sign */
  56. X        bomb.line = 0;            /* clear bomb sign */
  57. X        UpdateArrow(displayedFile);
  58. X        UpdateUpdown(displayedFile);
  59. X        UpdateBomb(displayedFile);
  60. X        ClearStops();
  61. X        UpdateStops(displayedFile, -1);
  62. X        }
  63. X        
  64. X    UpdateMessageWindow("Ready for execution", NULL);
  65. X    query_dbx("display\n");        /* clear display window */
  66. }
  67. X
  68. /* ARGSUSED */
  69. void pwd_handler(s)
  70. char *s;
  71. {
  72. X    strcpy(cwd, (char *)strtok(s, "\n"));
  73. }
  74. X
  75. /* ARGSUSED */
  76. void search_handler()
  77. {
  78. X    AdjustText(Token.line);
  79. }
  80. X
  81. /* ARGSUSED */
  82. /*  Show output on the display window.
  83. X *  If output is null but the display window is managed, replace contents of
  84. X *  the display window with the null string.
  85. X */
  86. void display_info_handler()
  87. {
  88. X    Arg        args[MAXARGS];
  89. X
  90. X    if (!Token.display || !strcmp(Token.display, "")) {
  91. X    if (!XtIsManaged(displayFD))
  92. X        return;
  93. X    else {
  94. X        XtFree(Token.display);
  95. X        Token.display = XtNewString("");
  96. X    }
  97. X    }
  98. X    if (!XtIsManaged(displayFD)) /* You always wish to popup the display */
  99. X      XtManageChild(displayFD);    /* FormDialog  when doing displays. */
  100. X
  101. X    XtSetArg(args[0], XmNvalue, (XtArgVal) Token.display);
  102. X    XtSetValues(displayWindow, args, 1);
  103. X    XtFree(Token.display);
  104. X    Token.display = 0;        /*(PW)14JAN91 */
  105. }
  106. X
  107. /*  Place a stop sign next to the line specified on the source file window 
  108. X *  if it is to be viewable.
  109. X */
  110. void break_handler()
  111. {
  112. char * file;
  113. int line;
  114. int stop;
  115. X
  116. X    if (Token.stop == 0 || Token.line == 0 || Token.file == 0)
  117. X    return;
  118. X    
  119. X    line = Token.line;
  120. X    stop = Token.stop;
  121. X    
  122. X    if (Token.stop >= 256)    /* see MAXSTOPS in signs.c */
  123. X        {
  124. X        fprintf(stderr,"Too many breakpoints\n");
  125. X        return;
  126. X        }
  127. X    
  128. X    /* load & display file if none is displayed */
  129. X    
  130. X    file = GetPathname(Token.file);
  131. X    
  132. X    if (file == NULL)
  133. X        return;        /* (PW)11JAN91 */
  134. X        
  135. X    if (displayedFile == NULL)
  136. X        {
  137. X        LoadFile(file);
  138. X        AdjustText(line);
  139. X        }
  140. X        
  141. X    stops[stop].file = file;
  142. X    stops[stop].line = line;
  143. X    stops[stop].tag = 0;
  144. X    nstops = stop;
  145. X
  146. X    /* display breakpoint sign if file is displayed */
  147. X    
  148. X    if (displayedFile)
  149. X        {
  150. X        if (!strcmp(file, displayedFile->pathname))    
  151. X            DisplayStop(displayedFile, line);
  152. X        }
  153. }
  154. X
  155. /*  info directories 
  156. X */
  157. void info_dir_handler()
  158. {
  159. X    if (Token.file)
  160. X        MakeDirList(Token.file);
  161. }
  162. X
  163. /* ARGSUSED */
  164. void directory_handler(output)
  165. char *output;
  166. {
  167. X    /* Note : for GDB, the 'directory' command with no
  168. X    parameter will reset search directories to current 
  169. X    directory only. GDB requires confirmation */
  170. X    
  171. X    query_dbx("info directories\n");    
  172. }
  173. X
  174. void list_handler()
  175. {
  176. X    int     line;
  177. X    
  178. X    line = Token.line;
  179. X
  180. X    if (line)
  181. X        {
  182. X        /* We will display the last line listed. 
  183. X        Since we used 'list ,main' we will effectively display main in that case. */
  184. X
  185. X        LoadCurrentFile(line);
  186. X        AdjustText(line);
  187. X        }
  188. X    else
  189. X        {
  190. X        AppendDialogText("Error list command\n");
  191. X        bell(0);
  192. X        }
  193. }
  194. X
  195. /* ARGSUSED */
  196. void info_line_handler()     /* Command was 'info line' */
  197. {
  198. X    if (Token.file)
  199. X    strcpy(CurrentFile, Token.file);
  200. X    else
  201. X    strcpy(CurrentFile, "");
  202. }
  203. X
  204. /*
  205. X *  Clear handler remove the stop specified and undisplayed the stopsign
  206. X *  if it's visible.
  207. X *  It calls the dbx status command to find out what stops are left, and
  208. X *  then update the array of stops accordingly.
  209. X */
  210. /* ARGSUSED */
  211. X
  212. void clear_handler()
  213. {
  214. X    query_dbx("info break\n");    /* update breakpoints */
  215. }
  216. X
  217. void display_handler()    /* display or undisplay */
  218. {
  219. X    query_dbx("display\n");    /* update display */
  220. }
  221. X
  222. /* 
  223. (gdb) info break
  224. Breakpoints:
  225. Num Enb   Address    Where
  226. #1   y  0x000022f4  in main (pw.c line 34)
  227. #2   y  0x000022a0  in foo (pw.c line 5)
  228. (gdb) info break
  229. No breakpoints.
  230. */
  231. X
  232. void info_break_handler(output_string)
  233. char *output_string;
  234. {
  235. int  i; 
  236. int     line;
  237. char c;
  238. X
  239. X
  240. X    if (!output_string)
  241. X        return;
  242. X        
  243. X    while(*output_string)
  244. X        {
  245. X        if (*(output_string++) == '#')
  246. X            {
  247. X            if (sscanf(output_string, "%d %c", &i,&c) == 2)
  248. X                if (i > 0 && i <= nstops && stops[i].line > 0 &&
  249. X                    (c == 'y' || c == 'o')) 
  250. X                    stops[i].tag = 1;
  251. X            }
  252. X        }
  253. X        
  254. X    for (i=1; i<=nstops; i++)
  255. X    if (stops[i].line > 0)
  256. X        {
  257. X        if (stops[i].tag)
  258. X            stops[i].tag = 0;
  259. X        else 
  260. X            {
  261. X
  262. X            line = stops[i].line;
  263. X            stops[i].line = 0;
  264. X            stops[i].file = NULL;
  265. X            if (LineToStop_no(line) == 0)
  266. X                RemoveStop(line);
  267. X            }
  268. X        }
  269. }
  270. X
  271. /* ARGSUSED */
  272. void cd_handler(s)
  273. char *s;
  274. {
  275. X    strcpy(cwd,s);
  276. }
  277. X
  278. /* this handler justs update the function name.
  279. Because the function name is not always displayed
  280. after next,step ... */
  281. X
  282. static char* funcname = 0;
  283. X
  284. void frame_curr_handler()
  285. {
  286. X    if (Token.func == NULL)
  287. X        return;
  288. X        
  289. X    if (funcname)
  290. X        {
  291. X        XtFree(funcname);
  292. X        funcname = 0;
  293. X        }
  294. X        
  295. X    funcname = XtNewString(Token.func);
  296. }
  297. X
  298. /*  Handle dbx output of run, cont, next, step, return commands.
  299. X *  Result of output parsing is returned in a set of tokens.
  300. X *
  301. X *    If message is not 0, this is an important message and should
  302. X *    be displayed instead of Token.mesg.
  303. X *    This message will hold the Bus error and segmentation violation errors.
  304. X *    signal is the signal number received (if any).
  305. X */
  306. void exec_handler(message,signal)
  307. char *message;
  308. int signal;
  309. {
  310. X    int     line, status;
  311. X    char *func;
  312. X
  313. X    /* Print "stopped in ..." line in message window 
  314. X     * Adjust text displayed
  315. X     */
  316. X    if (Token.line == 0) 
  317. X        return; 
  318. X        
  319. X    if (message)
  320. X        UpdateMessageWindow(message, NULL);
  321. X    else
  322. X        UpdateMessageWindow(Token.mesg, NULL);
  323. X        
  324. X    line = Token.line;
  325. X    func = (Token.func) ? XtNewString(Token.func) : 0;
  326. X    
  327. X    if (Token.file)
  328. X    status = LoadFile(Token.file);
  329. X
  330. X    display_info_handler();        /* uses Token.display ! */
  331. X
  332. X    /* because of tbreak, we have to call info break here */
  333. X    
  334. X    query_dbx("info break\n");    /* update breakpoints */
  335. X
  336. X    if (func == NULL)
  337. X        {
  338. X        query_dbx("frame\n"); /* this will just update funcname (see frame_curr_handler) */
  339. X        func = funcname;
  340. X        if (func == NULL)
  341. X            return;
  342. X        funcname = 0;    /* tell frame_curr_handler WE are going to XtFree it */
  343. X        }
  344. X        
  345. X    arrow.line = line;            /* update arrow sign position */
  346. X    strcpy(arrow.func, func);
  347. X    
  348. X    updown.line = 0;            /* remove updown, if any */
  349. X    if (displayedFile) {
  350. X        strcpy(arrow.file, displayedFile->pathname);
  351. X    }
  352. X    
  353. X    /* Display bomb sign if segmentation fault occurs in source code */
  354. X    
  355. X    if (status != -1 && message && signal == SIGSEGV) {
  356. X    arrow.line = 0;
  357. X    bomb.line = line;
  358. X    if (func)
  359. X    strcpy(bomb.func, func);
  360. X    if (displayedFile) strcpy(bomb.file, displayedFile->pathname);
  361. X    }
  362. X    else
  363. X    bomb.line = 0;
  364. X
  365. X    AdjustText(line);
  366. X    XtFree(func);
  367. }
  368. X
  369. /*  Remove all the arrow and updown signs, print message, then 
  370. X *  change the file variable to the file name displayed.
  371. X */
  372. void done_handler(message,signal)
  373. char *message;
  374. int signal;
  375. {
  376. X    char command[LINESIZ];
  377. X
  378. X    arrow.line = 0;
  379. X    updown.line = 0;
  380. X    UpdateArrow(displayedFile);
  381. X    UpdateUpdown(displayedFile);
  382. X    UpdateMessageWindow("Ready for execution", NULL);
  383. }
  384. X
  385. /* WARNING : source_handler() is NOT called by the parser.
  386. It is called by gdb_source_command() in gdb_parser.c.
  387. This is because 'source' command is NEVER sent to gdb,
  388. instead xxgdb sends the commands in the specified file
  389. one by one. */
  390. X
  391. void source_handler()
  392. {
  393. char *file;
  394. FILE *fp;
  395. char s[LINESIZ];
  396. X
  397. X    if (!Token.file || !strcmp(Token.file, ""))
  398. X        {
  399. X        XtFree(Token.file);
  400. X        Token.file = XtNewString(".gdbinit");        /* default is .gdbinit */
  401. X        }
  402. X        
  403. X    file = GetPathname(Token.file);
  404. X    
  405. X    if (file == NULL)
  406. X        return;        /* (PW)11JAN91 */
  407. X
  408. X    if (fp = fopen(file, "r"))
  409. X        {
  410. X        while (fgets(s, LINESIZ, fp))
  411. X            {
  412. X            /* DO NOT SEND \n and Take care of source command */
  413. X            if ((*s != '#') && strcmp(s,"\n"))
  414. X              {
  415. X                if ((!gdb_source_command(s,TRUE)) 
  416. X                && (!gdb_define_command(s,fp)))    
  417. X                {
  418. X                write_dbx(s);
  419. X                insert_command(s);
  420. X                AppendDialogText(s);
  421. X              }
  422. X                Prompt = False;
  423. X                while (!Prompt)
  424. X                    read_dbx();
  425. X                }
  426. X            }
  427. X        close((int)fp);
  428. X        }
  429. }
  430. X
  431. /*  Sends a command to dbx and read the corresponding output, directly
  432. X *  invoking the Xm input procedure, read_dbx().
  433. X *
  434. X *    Same as query_dbx() in gdb.c except that Echo = True.
  435. X */
  436. void query_dbx_echo(command)
  437. char *command;
  438. {
  439. X    write_dbx(command);
  440. X    insert_command(command);
  441. X
  442. X    Echo = True;
  443. X    Prompt = False;
  444. X    while (!Prompt)
  445. X        read_dbx();
  446. X
  447. X    Parse = True;    /* Always reset Parse and Echo to True */
  448. X    Echo = True;
  449. }
  450. X
  451. Widget helpbuttons[NHELPBUTTONS];
  452. char callbackargs[NHELPBUTTONS][40];
  453. Widget helplabels[NHELPLABELS];
  454. char helpstack[HELP_LEVELS][HELP_SIZE];
  455. int helpstackidx=0;
  456. char help_buttons_use_flag = 1;
  457. X
  458. void HelpButtonActivate(w, helpname, call_data)
  459. X     Widget w;
  460. X     char *helpname;
  461. X     XmPushButtonCallbackStruct *call_data;
  462. {
  463. X  char command[256];
  464. X
  465. X  strcpy(helpstack[helpstackidx++], helpname);
  466. X  sprintf(command, "help %s\n", helpname);
  467. X  help_buttons_use_flag = 1;
  468. X  query_dbx(command);
  469. X  help_buttons_use_flag = 0;
  470. }
  471. X
  472. void help_handler(command,output)
  473. char *command;
  474. char *output;
  475. {
  476. X  char *p = output;
  477. X  char buttonstring[LINESIZ];
  478. X  char labelstring[LINESIZ];
  479. X  char *useforlabel;
  480. X  int genindex;
  481. X  static int nlabel=0;        /* These remain static to tell us how */
  482. X  static int nbutton=0;        /* many widgets to unmanage and reuse */
  483. X
  484. X  if(!XtIsManaged(helpFD))    /* Popup the help Dialog */
  485. X    XtManageChild(helpFD);
  486. X
  487. X  if(help_buttons_use_flag == 0) /* Reset SP if help was from dialog box cmd */
  488. X    helpstackidx = 0;        /* or from pull-down menu */
  489. X
  490. X  XtUnmanageChild(helpselectscroll); /* Do this to keep form from resizing */
  491. X
  492. X  if(helpstackidx == 1)        /* The SP tells us when to draw the backup */
  493. X    {                /* button and label. */
  494. X      XtManageChild(helpupbutton);
  495. X      XtManageChild(helpupbuttonlabel);
  496. X    }
  497. X  if(helpstackidx == 0) 
  498. X    {
  499. X      XtUnmanageChild(helpupbuttonlabel);
  500. X      XtUnmanageChild(helpupbutton);
  501. X    }
  502. X
  503. X  for(genindex = 0; genindex < nlabel; genindex++) /* Unmanage the used */
  504. X      XtUnmanageChild(helplabels[genindex]); /* labels and buttons */
  505. X  nlabel = 0;
  506. X  for(genindex = 0; genindex < nbutton; genindex++)
  507. X      XtUnmanageChild(helpbuttons[genindex]);
  508. X  nbutton = 0;
  509. X        
  510. X  while(*p)        /* Build the labels from the gdb help  */
  511. X    {
  512. X      int buttonindex = 0;
  513. X      int labelindex = 0;
  514. X      Boolean isbutton = False;
  515. X
  516. X      while(*p != '\n')
  517. X    {
  518. X      if(isbutton == False)
  519. X        buttonstring[buttonindex++] = *p;
  520. X      else
  521. X        labelstring[labelindex++] = *p;
  522. X      p++;
  523. X      if((*p == '-') && (*(p+1) == '-'))
  524. X        {
  525. X          isbutton = True;
  526. X          buttonstring[buttonindex-1] = '\0';
  527. X        }
  528. X    }
  529. X      if(isbutton == True)
  530. X    {
  531. X      static Arg buttonargs[] = {
  532. X        { XmNleftAttachment, XmATTACH_FORM },
  533. X        { XmNtopAttachment, XmATTACH_WIDGET },
  534. X        { XmNhighlightOnEnter, True },
  535. X        { 0, 0 },
  536. X        { 0, 0 },
  537. X      };
  538. X
  539. X      labelstring[labelindex] = '\0';
  540. X      useforlabel = labelstring;
  541. X      strcpy(callbackargs[nbutton], buttonstring);
  542. X
  543. X      XtSetArg(buttonargs[3], XmNlabelString, 
  544. X           XmStringCreateLtoR(buttonstring, 
  545. X                      XmSTRING_DEFAULT_CHARSET));
  546. X      if(!nbutton)
  547. X        XtSetArg(buttonargs[4], XmNtopWidget, helplabels[nlabel-1]);
  548. X      else
  549. X        XtSetArg(buttonargs[4], XmNtopWidget, helpbuttons[nbutton-1]);
  550. X      if(!helpbuttons[nbutton])
  551. X        {
  552. X          helpbuttons[nbutton] = 
  553. X        XtCreateManagedWidget("helpbutton", xmPushButtonWidgetClass,
  554. X                      helpselectscroll, buttonargs, 5);
  555. X        }
  556. X      else
  557. X        {
  558. X          XtRemoveCallback(helpbuttons[nbutton], XmNactivateCallback,
  559. X                   HelpButtonActivate, callbackargs[nbutton]);
  560. X          XtSetValues(helpbuttons[nbutton], buttonargs, 5);
  561. X          XtManageChild(helpbuttons[nbutton]);
  562. X        }
  563. X      XtAddCallback(helpbuttons[nbutton], XmNactivateCallback,
  564. X            HelpButtonActivate, callbackargs[nbutton]);
  565. X      nbutton++;
  566. X    }
  567. X      else
  568. X    {
  569. X      buttonstring[buttonindex] = '\0';
  570. X      useforlabel = buttonstring;
  571. X    }
  572. X      {
  573. X    Arg *labelargs;
  574. X    Cardinal nargs;
  575. X
  576. X    if(isbutton == True)
  577. X      {
  578. X        static Arg labelargs1[] = {
  579. X          { XmNrightAttachment, XmATTACH_FORM },
  580. X          { XmNleftAttachment, XmATTACH_WIDGET },
  581. X          { XmNbottomAttachment, XmATTACH_OPPOSITE_WIDGET },
  582. X          { XmNtopAttachment, XmATTACH_NONE }, 
  583. X          { XmNalignment, XmALIGNMENT_BEGINNING },
  584. X          { 0, 0 },
  585. X          { 0, 0 },
  586. X          { 0, 0 },
  587. X        };
  588. X
  589. X        XtSetArg(labelargs1[5], XmNbottomWidget, helpbuttons[nbutton-1]);
  590. X        XtSetArg(labelargs1[6], XmNleftWidget, helpbuttons[nbutton-1]);
  591. X        nargs = 7;
  592. X        labelargs = labelargs1;
  593. X      }
  594. X    else
  595. X      {
  596. X        static Arg labelargs2[] = {
  597. X          { XmNrightAttachment, XmATTACH_FORM },
  598. X          { XmNleftAttachment, XmATTACH_FORM },
  599. X          { XmNbottomAttachment, XmATTACH_NONE },
  600. X          { XmNalignment, XmALIGNMENT_CENTER },
  601. X          { 0, 0 },
  602. X          { 0, 0 },
  603. X          { 0, 0 },
  604. X        };
  605. X
  606. X        if(!nlabel) 
  607. X          {
  608. X        XtSetArg(labelargs2[4], XmNtopAttachment, XmATTACH_FORM);
  609. X        nargs = 5;
  610. X          }
  611. X        else
  612. X          {
  613. X        XtSetArg(labelargs2[4], XmNtopAttachment, XmATTACH_WIDGET);
  614. X        XtSetArg(labelargs2[5], XmNtopWidget, helplabels[nlabel-1]);
  615. X        nargs = 6;
  616. X          }
  617. X        labelargs = labelargs2;
  618. X      }
  619. X    XtSetArg(labelargs[nargs], XmNlabelString, 
  620. X         XmStringCreateLtoR(useforlabel, 
  621. X                    XmSTRING_DEFAULT_CHARSET));
  622. X    nargs++;
  623. X    if(!helplabels[nlabel])
  624. X      helplabels[nlabel] = XtCreateManagedWidget("helplabel",
  625. X                             xmLabelWidgetClass,
  626. X                             helpselectscroll,
  627. X                             labelargs, nargs);
  628. X    else
  629. X      {
  630. X        XtSetValues(helplabels[nlabel], labelargs, nargs);
  631. X        XtManageChild(helplabels[nlabel]);
  632. X      }
  633. X      }
  634. X      nlabel++;
  635. X      p++;
  636. X    }
  637. X  XtManageChild(helpselectscroll);
  638. }
  639. X
  640. X
  641. X
  642. SHAR_EOF
  643. echo 'File mxgdb/gdb_handler.c is complete' &&
  644. chmod 0644 mxgdb/gdb_handler.c ||
  645. echo 'restore of mxgdb/gdb_handler.c failed'
  646. Wc_c="`wc -c < 'mxgdb/gdb_handler.c'`"
  647. test 19264 -eq "$Wc_c" ||
  648.     echo 'mxgdb/gdb_handler.c: original size 19264, current size' "$Wc_c"
  649. rm -f _shar_wnt_.tmp
  650. fi
  651. # ============= mxgdb/command.o ==============
  652. if test -f 'mxgdb/command.o' -a X"$1" != X"-c"; then
  653.     echo 'x - skipping mxgdb/command.o (File already exists)'
  654.     rm -f _shar_wnt_.tmp
  655. else
  656. > _shar_wnt_.tmp
  657. echo 'x - extracting mxgdb/command.o (Text)'
  658. sed 's/^X//' << 'SHAR_EOF' > 'mxgdb/command.o' &&
  659. 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\ 
  660. SHAR_EOF
  661. chmod 0644 mxgdb/command.o ||
  662. echo 'restore of mxgdb/command.o failed'
  663. Wc_c="`wc -c < 'mxgdb/command.o'`"
  664. test 44536 -eq "$Wc_c" ||
  665.     echo 'mxgdb/command.o: original size 44536, current size' "$Wc_c"
  666. rm -f _shar_wnt_.tmp
  667. fi
  668. # ============= mxgdb/gdb.o ==============
  669. if test -f 'mxgdb/gdb.o' -a X"$1" != X"-c"; then
  670.     echo 'x - skipping mxgdb/gdb.o (File already exists)'
  671.     rm -f _shar_wnt_.tmp
  672. else
  673. > _shar_wnt_.tmp
  674. echo 'x - extracting mxgdb/gdb.o (Text)'
  675. sed 's/^X//' << 'SHAR_EOF' > 'mxgdb/gdb.o' &&
  676. X`XXLX░XlorseInputpMenuXXX)8FV_izXìXùXóX¡X╣X╚X╪XµX≥XXXXXX
  677. SHAR_EOF
  678. chmod 0644 mxgdb/gdb.o ||
  679. echo 'restore of mxgdb/gdb.o failed'
  680. Wc_c="`wc -c < 'mxgdb/gdb.o'`"
  681. test 32760 -eq "$Wc_c" ||
  682.     echo 'mxgdb/gdb.o: original size 32760, current size' "$Wc_c"
  683. rm -f _shar_wnt_.tmp
  684. fi
  685. # ============= mxgdb/dialog.o ==============
  686. if test -f 'mxgdb/dialog.o' -a X"$1" != X"-c"; then
  687.     echo 'x - skipping mxgdb/dialog.o (File already exists)'
  688.     rm -f _shar_wnt_.tmp
  689. else
  690. > _shar_wnt_.tmp
  691. echo 'x - extracting mxgdb/dialog.o (Text)'
  692. sed 's/^X//' << 'SHAR_EOF' > 'mxgdb/dialog.o' &&
  693. X`X╘,,X╝XXXXXXXXXXü ÷ÇXÇ ÷ÇXXXXXestSizeppAddTimeOutteSimpleCheckBoxX  XXX)8FV_izXìXùXóX¡X╣X╚X╪XµX≥XXXXXX
  694. SHAR_EOF
  695. chmod 0644 mxgdb/dialog.o ||
  696. echo 'restore of mxgdb/dialog.o failed'
  697. Wc_c="`wc -c < 'mxgdb/dialog.o'`"
  698. test 34500 -eq "$Wc_c" ||
  699.     echo 'mxgdb/dialog.o: original size 34500, current size' "$Wc_c"
  700. rm -f _shar_wnt_.tmp
  701. fi
  702. # ============= mxgdb/filemenu.o ==============
  703. if test -f 'mxgdb/filemenu.o' -a X"$1" != X"-c"; then
  704.     echo 'x - skipping mxgdb/filemenu.o (File already exists)'
  705.     rm -f _shar_wnt_.tmp
  706. else
  707. > _shar_wnt_.tmp
  708. echo 'x - extracting mxgdb/filemenu.o (Text)'
  709. sed 's/^X//' << 'SHAR_EOF' > 'mxgdb/filemenu.o' &&
  710. X`XXXXXXXXXXXXXxtExtentsXnMenuXXXX 1@N^gqXéXòXƒX¬X╡X┴X╨XαXεX·XXX¡8┐X
  711. SHAR_EOF
  712. chmod 0644 mxgdb/filemenu.o ||
  713. echo 'restore of mxgdb/filemenu.o failed'
  714. Wc_c="`wc -c < 'mxgdb/filemenu.o'`"
  715. test 31312 -eq "$Wc_c" ||
  716.     echo 'mxgdb/filemenu.o: original size 31312, current size' "$Wc_c"
  717. rm -f _shar_wnt_.tmp
  718. fi
  719. # ============= mxgdb/handler.o ==============
  720. if test -f 'mxgdb/handler.o' -a X"$1" != X"-c"; then
  721.     echo 'x - skipping mxgdb/handler.o (File already exists)'
  722.     rm -f _shar_wnt_.tmp
  723. else
  724. > _shar_wnt_.tmp
  725. echo 'x - extracting mxgdb/handler.o (Text)'
  726. sed 's/^X//' << 'SHAR_EOF' > 'mxgdb/handler.o' &&
  727. 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á 
  728. SHAR_EOF
  729. chmod 0644 mxgdb/handler.o ||
  730. echo 'restore of mxgdb/handler.o failed'
  731. Wc_c="`wc -c < 'mxgdb/handler.o'`"
  732. test 44568 -eq "$Wc_c" ||
  733.     echo 'mxgdb/handler.o: original size 44568, current size' "$Wc_c"
  734. rm -f _shar_wnt_.tmp
  735. fi
  736. # ============= mxgdb/parser.o ==============
  737. if test -f 'mxgdb/parser.o' -a X"$1" != X"-c"; then
  738.     echo 'x - skipping mxgdb/parser.o (File already exists)'
  739.     rm -f _shar_wnt_.tmp
  740. else
  741. > _shar_wnt_.tmp
  742. echo 'x - extracting mxgdb/parser.o (Text)'
  743. sed 's/^X//' << 'SHAR_EOF' > 'mxgdb/parser.o' &&
  744. X`XXÅñXX@XÅ┐XüX $  AXXäX╠0XX\)*\([^ ]+\):\([0-9]+\):\([0-9]+\):\([^ ]+\):0x.+
  745. \([ ]*[^0-9].*
  746. \)\(\([0-9]+:.*
  747. \(\( .*
  748. \)*}
  749. \)?\)*\)\)*\([ ]*[^ ].*
  750. \)\([^ ]+\):\([0-9]+\):\([0-9]+\):\([^ ]+\):0x.+
  751. \(\([0-9]+:.*
  752. \(\( .*
  753. \)*}
  754. \)?\)*\)\)*\(\([^ ]+\):\([0-9]+\):\([0-9]+\):\([^ ]+\):0x.+
  755. \)\(\([0-9]+:.*
  756. \(\( .*
  757. \)*}
  758. \)?\)*\)\)*
  759. \(Program terminated with signal \|Program exited with code 0\|Program exited normally\).*
  760. \(.*
  761. \)*\)*Breakpoint \([0-9]+\) at [^ ]+: file \([^ ]+\), line \([0-9]+\).
  762. XX\)*\(#[0-9]+[ ]+\(0x[^ ]+[ ]+in[ ]+\)?\([^ ]+\).*
  763. \)\(Source file is more recent than executable.
  764. \)?\([^ ]+\):\([0-9]+\):\([0-9]+\):\([^ ]+\):0x.+
  765. X\|Already at the \(top\|bottom\) call level
  766. \|No active stack frames
  767. \|no program to run
  768. \|no process to run
  769. \|program is not active
  770. \|can't continue execution
  771. \|.*
  772. can't write to process.*
  773. \|\(Top\|End\)-of-file; did not find search string:.*
  774. \)XX\)?\(\(.*\) = .*
  775. \(.*
  776. \)*\)\)*Type "help" for a list of commands.
  777. X\)*Source directories searched:[ ]*\([^ ]+\)[ ]*
  778. X\)*\(\([0-9]+\).*
  779. \)\)\(\( .*
  780. \)*}
  781. \)?\)*\)\([ ]*(canonically[ ]+\([^ ]+\)).
  782. \)?\)*
  783. \(Program received signal \([-]?[0-9]+\), [^ ]+.*
  784. \)\(.*
  785. \)*\)*\([0-9]+:.*
  786. \)\(.*
  787. \)*\)*\(Reading in symbols for .*done.
  788. \)\(.*
  789. \)*\)*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX}
  790. X}
  791. 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
  792. SHAR_EOF
  793. chmod 0644 mxgdb/parser.o ||
  794. echo 'restore of mxgdb/parser.o failed'
  795. Wc_c="`wc -c < 'mxgdb/parser.o'`"
  796. test 45664 -eq "$Wc_c" ||
  797.     echo 'mxgdb/parser.o: original size 45664, current size' "$Wc_c"
  798. rm -f _shar_wnt_.tmp
  799. fi
  800. # ============= mxgdb/regex.o ==============
  801. if test -f 'mxgdb/regex.o' -a X"$1" != X"-c"; then
  802.     echo 'x - skipping mxgdb/regex.o (File already exists)'
  803.     rm -f _shar_wnt_.tmp
  804. else
  805. > _shar_wnt_.tmp
  806. echo 'x - extracting mxgdb/regex.o (Text)'
  807. sed 's/^X//' << 'SHAR_EOF' > 'mxgdb/regex.o' &&
  808. X`X«°XX$XXXXXXóXX XX XXX'¼XXüyX$  X$  îC ñXXéπXaRÅúLÅúLXX┴ ÅúLÅúL,c,cXâ├XǼ$
  809. SHAR_EOF
  810. chmod 0644 mxgdb/regex.o ||
  811. echo 'restore of mxgdb/regex.o failed'
  812. Wc_c="`wc -c < 'mxgdb/regex.o'`"
  813. test 14796 -eq "$Wc_c" ||
  814.     echo 'mxgdb/regex.o: original size 14796, current size' "$Wc_c"
  815. rm -f _shar_wnt_.tmp
  816. fi
  817. # ============= mxgdb/signs.o ==============
  818. if test -f 'mxgdb/signs.o' -a X"$1" != X"-c"; then
  819.     echo 'x - skipping mxgdb/signs.o (File already exists)'
  820.     rm -f _shar_wnt_.tmp
  821. else
  822. > _shar_wnt_.tmp
  823. echo 'x - extracting mxgdb/signs.o (Text)'
  824. sed 's/^X//' << 'SHAR_EOF' > 'mxgdb/signs.o' &&
  825. X`XXXÅ┐XÅ┐XÅ┐XÅ┐XXXXXXXX XX$(@XîXÿXêXÉX░X┤X╕X╝X▄XXXXXsputnuXXX)8FV_izXìXùXóX¡X╣X╚X╪XµX≥XXXXXX
  826. SHAR_EOF
  827. chmod 0644 mxgdb/signs.o ||
  828. echo 'restore of mxgdb/signs.o failed'
  829. Wc_c="`wc -c < 'mxgdb/signs.o'`"
  830. test 36756 -eq "$Wc_c" ||
  831.     echo 'mxgdb/signs.o: original size 36756, current size' "$Wc_c"
  832. rm -f _shar_wnt_.tmp
  833. fi
  834. # ============= mxgdb/signals.o ==============
  835. if test -f 'mxgdb/signals.o' -a X"$1" != X"-c"; then
  836.     echo 'x - skipping mxgdb/signals.o (File already exists)'
  837.     rm -f _shar_wnt_.tmp
  838. else
  839. > _shar_wnt_.tmp
  840. echo 'x - extracting mxgdb/signals.o (Text)'
  841. sed 's/^X//' << 'SHAR_EOF' > 'mxgdb/signals.o' &&
  842. X`X XXXXXXXXXXXXXXXX,XXXXyTextExtents16teSimpleRadioBoxXXX)8FV_izXìXùXóX¡X╣X╚X╪XµX≥XXXXXX
  843. SHAR_EOF
  844. chmod 0644 mxgdb/signals.o ||
  845. echo 'restore of mxgdb/signals.o failed'
  846. Wc_c="`wc -c < 'mxgdb/signals.o'`"
  847. test 31896 -eq "$Wc_c" ||
  848.     echo 'mxgdb/signals.o: original size 31896, current size' "$Wc_c"
  849. rm -f _shar_wnt_.tmp
  850. fi
  851. # ============= mxgdb/source.o ==============
  852. if test -f 'mxgdb/source.o' -a X"$1" != X"-c"; then
  853.     echo 'x - skipping mxgdb/source.o (File already exists)'
  854.     rm -f _shar_wnt_.tmp
  855. else
  856. > _shar_wnt_.tmp
  857. echo 'x - extracting mxgdb/source.o (Text)'
  858. sed 's/^X//' << 'SHAR_EOF' > 'mxgdb/source.o' &&
  859. X`XX┤*&  XXXÇ+`!ìàQX!îEX»╕XXXX!ìdXXXXXX    X    X    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXX XXX0$(,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
  860. SHAR_EOF
  861. chmod 0644 mxgdb/source.o ||
  862. echo 'restore of mxgdb/source.o failed'
  863. Wc_c="`wc -c < 'mxgdb/source.o'`"
  864. test 49528 -eq "$Wc_c" ||
  865.     echo 'mxgdb/source.o: original size 49528, current size' "$Wc_c"
  866. rm -f _shar_wnt_.tmp
  867. fi
  868. # ============= mxgdb/utils.o ==============
  869. if test -f 'mxgdb/utils.o' -a X"$1" != X"-c"; then
  870.     echo 'x - skipping mxgdb/utils.o (File already exists)'
  871.     rm -f _shar_wnt_.tmp
  872. else
  873. > _shar_wnt_.tmp
  874. echo 'x - extracting mxgdb/utils.o (Text)'
  875. sed 's/^X//' << 'SHAR_EOF' > 'mxgdb/utils.o' &&
  876. X`XXXXXents16alizeWidgetadioBoxXXX)8FV_izXìXùXóX¡X╣X╚X╪XµX≥XXXXXX
  877. SHAR_EOF
  878. chmod 0644 mxgdb/utils.o ||
  879. echo 'restore of mxgdb/utils.o failed'
  880. Wc_c="`wc -c < 'mxgdb/utils.o'`"
  881. test 32256 -eq "$Wc_c" ||
  882.     echo 'mxgdb/utils.o: original size 32256, current size' "$Wc_c"
  883. rm -f _shar_wnt_.tmp
  884. fi
  885. # ============= mxgdb/windows.o ==============
  886. if test -f 'mxgdb/windows.o' -a X"$1" != X"-c"; then
  887.     echo 'x - skipping mxgdb/windows.o (File already exists)'
  888.     rm -f _shar_wnt_.tmp
  889. else
  890. > _shar_wnt_.tmp
  891. echo 'x - extracting mxgdb/windows.o (Text)'
  892. sed 's/^X//' << 'SHAR_EOF' > 'mxgdb/windows.o' &&
  893. X`XXx!ü°  $XxXXÇjX!XXXXadapted by Jim Tsillas from work by
  894. Pierre Willard (xxgdb) and Po Cheung (xdbx)
  895. July 22, 1991
  896. TRITON Project, Internal CASE
  897. Bull HN, Billerica Mass.
  898. 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
  899. SHAR_EOF
  900. chmod 0644 mxgdb/windows.o ||
  901. echo 'restore of mxgdb/windows.o failed'
  902. Wc_c="`wc -c < 'mxgdb/windows.o'`"
  903. test 49708 -eq "$Wc_c" ||
  904.     echo 'mxgdb/windows.o: original size 49708, current size' "$Wc_c"
  905. rm -f _shar_wnt_.tmp
  906. fi
  907. # ============= mxgdb/mxgdb.o ==============
  908. if test -f 'mxgdb/mxgdb.o' -a X"$1" != X"-c"; then
  909.     echo 'x - skipping mxgdb/mxgdb.o (File already exists)'
  910.     rm -f _shar_wnt_.tmp
  911. else
  912. > _shar_wnt_.tmp
  913. echo 'x - extracting mxgdb/mxgdb.o (Text)'
  914. sed 's/^X//' << 'SHAR_EOF' > 'mxgdb/mxgdb.o' &&
  915. X`XáXáT X 'äX    X    X    MXGDB comes with ABSOLUTELY NO WARRANTY.
  916. XXΣX∞X⌠XⁿX<HXXXXXXXXXXXXXXX XXXX (,0XXX O  XXXQueryTreegetXXmVaCreateSimpleCheckBoxXXX)8FV_izXìXùXóX¡X╣X╚X╪XµX≥XXXXXXX▄»  Xα»  X
  917. SHAR_EOF
  918. chmod 0644 mxgdb/mxgdb.o ||
  919. echo 'restore of mxgdb/mxgdb.o failed'
  920. Wc_c="`wc -c < 'mxgdb/mxgdb.o'`"
  921. test 36036 -eq "$Wc_c" ||
  922.     echo 'mxgdb/mxgdb.o: original size 36036, current size' "$Wc_c"
  923. rm -f _shar_wnt_.tmp
  924. fi
  925. # ============= mxgdb/malloc.o ==============
  926. if test -f 'mxgdb/malloc.o' -a X"$1" != X"-c"; then
  927.     echo 'x - skipping mxgdb/malloc.o (File already exists)'
  928.     rm -f _shar_wnt_.tmp
  929. else
  930. > _shar_wnt_.tmp
  931. echo 'x - extracting mxgdb/malloc.o (Text)'
  932. sed 's/^X//' << 'SHAR_EOF' > 'mxgdb/malloc.o' &&
  933. X`hǬh!0┬ ÅâÇXXXXXX ╓ñi ■áj ⁿXXXXXXXXXXXXXXXXXX@└@└b33ä0╨A8 !( !( ""`≡(B100╨≡@╨RSPα ≡$ ≡ B31!α63Aa≡ Ç °pAα( @└ ±åXxT└@└XXÇ ÷åXÇXXX
  934. SHAR_EOF
  935. chmod 0644 mxgdb/malloc.o ||
  936. echo 'restore of mxgdb/malloc.o failed'
  937. Wc_c="`wc -c < 'mxgdb/malloc.o'`"
  938. test 5484 -eq "$Wc_c" ||
  939.     echo 'mxgdb/malloc.o: original size 5484, current size' "$Wc_c"
  940. rm -f _shar_wnt_.tmp
  941. fi
  942. # ============= mxgdb/bitmaps.o ==============
  943. if test -f 'mxgdb/bitmaps.o' -a X"$1" != X"-c"; then
  944.     echo 'x - skipping mxgdb/bitmaps.o (File already exists)'
  945.     rm -f _shar_wnt_.tmp
  946. else
  947. > _shar_wnt_.tmp
  948. echo 'x - extracting mxgdb/bitmaps.o (Text)'
  949. sed 's/^X//' << 'SHAR_EOF' > 'mxgdb/bitmaps.o' &&
  950. X`X─X X X XöXöX¿
  951. X¿
  952. X0 ααXó(ó'x╛óCó$Bó(Bó╚9X p    X
  953. SHAR_EOF
  954. chmod 0644 mxgdb/bitmaps.o ||
  955. echo 'restore of mxgdb/bitmaps.o failed'
  956. Wc_c="`wc -c < 'mxgdb/bitmaps.o'`"
  957. test 3660 -eq "$Wc_c" ||
  958.     echo 'mxgdb/bitmaps.o: original size 3660, current size' "$Wc_c"
  959. rm -f _shar_wnt_.tmp
  960. fi
  961. # ============= mxgdb/Makefile.bak ==============
  962. if test -f 'mxgdb/Makefile.bak' -a X"$1" != X"-c"; then
  963.     echo 'x - skipping mxgdb/Makefile.bak (File already exists)'
  964.     rm -f _shar_wnt_.tmp
  965. else
  966. > _shar_wnt_.tmp
  967. echo 'x - extracting mxgdb/Makefile.bak (Text)'
  968. sed 's/^X//' << 'SHAR_EOF' > 'mxgdb/Makefile.bak' &&
  969. # Makefile generated by imake - do not edit!
  970. # $XConsortium: imake.c,v 1.51 89/12/12 12:37:30 jim Exp $
  971. X
  972. ###########################################################################
  973. # Makefile generated from "Imake.tmpl" and </tmp/IIf.001457>
  974. # $XConsortium: Imake.tmpl,v 1.77 89/12/18 17:01:37 jim Exp $
  975. #
  976. # Platform-specific parameters may be set in the appropriate .cf
  977. # configuration files.  Site-wide parameters may be set in the file
  978. # site.def.  Full rebuilds are recommended if any parameters are changed.
  979. #
  980. # If your C preprocessor doesn't define any unique symbols, you'll need
  981. # to set BOOTSTRAPCFLAGS when rebuilding imake (usually when doing
  982. # "make Makefile", "make Makefiles", or "make World").
  983. #
  984. # If you absolutely can't get imake to work, you'll need to set the
  985. # variables at the top of each Makefile as well as the dependencies at the
  986. # bottom (makedepend will do this automatically).
  987. #
  988. X
  989. ###########################################################################
  990. # platform-specific configuration parameters - edit Mips.cf to change
  991. X
  992. # platform:  $XConsortium: Mips.cf,v 1.2 89/01/11 14:58:19 jim Exp $
  993. # operating system:             RISCOS
  994. X
  995. X         SYSVTYPE = -systype sysv
  996. X          BSDTYPE = -systype bsd43
  997. X         SYSVDEFS = -DMips -DSYSV
  998. X          BSDDEFS = -DMips -DBSD43
  999. X         SYSVINCS = -I$(DESTDIR)/usr/include/bsd
  1000. X          BSDINCS =
  1001. X         SYSVLIBS = -lbsd -lmld
  1002. X          BSDLIBS = -lmld
  1003. X
  1004. X          SYSTYPE = $(BSDTYPE)
  1005. X          SYSDEFS = $(BSDDEFS)
  1006. X          SYSINCS = $(BSDINCS)
  1007. X          SYSLIBS = $(BSDLIBS)
  1008. X
  1009. X     OPTIM = -O -Olimit 2000 -Wf,-XNd8400,-XNp12000
  1010. X     CCOPT = -signed
  1011. X   DEFINES = -D_NO_PROTO
  1012. SYSVCFLAGS = $(OPTIM) $(CCOPT) $(SYSVTYPE) $(INCLUDES) $(SYSVDEFS) $(SYSVINCS) $(DEFINES)
  1013. X BSDCFLAGS = $(OPTIM) $(CCOPT) $(BSDTYPE)  $(INCLUDES) $(BSDDEFS)  $(BSDINCS)  $(DEFINES)
  1014. X
  1015. X           ETCDIR = /etc
  1016. X          ULIBDIR = /usr/lib
  1017. X
  1018. X      XINSTALLDIR = X-windows4.0
  1019. X     INSTALLFLAGS = -m 0555
  1020. X        RS1210DIR = $(DESTDIR)/usr/$(XINSTALLDIR)/RS1210
  1021. X    CONTRIBBINDIR = $(DESTDIR)/usr/$(XINSTALLDIR)/contrib/bin
  1022. CONTRIBAPPSDEFDIR = $(DESTDIR)/usr/$(XINSTALLDIR)/contrib/lib/app-defaults
  1023. X    CONTRIBMANDIR = $(DESTDIR)/usr/$(XINSTALLDIR)/contrib/man
  1024. X    CONTRIBSRCDIR = $(DESTDIR)/usr/$(XINSTALLDIR)/contrib/src
  1025. X      EXTRABINDIR = $(BINDIR)/extra
  1026. X     RS1210LIBDIR = $(LIBDIR)/ncd
  1027. X
  1028. X          BINPATH = /usr/bin/X11
  1029. X          LIBPATH = /usr/lib/X11
  1030. X          ETCPATH = /usr/etc/X11
  1031. X          ADMPATH = /usr/adm
  1032. X          NCDPATH = /usr/X11/ncd
  1033. X     EXTRABINPATH = $(BINPATH)/extra
  1034. X       NCDLIBPATH = $(LIBPATH)/ncd
  1035. X        XINITPATH = $(LIBPATH)/xinit
  1036. X          XDMPATH = $(ETCPATH)/xdm
  1037. X          UWMPATH = $(LIBPATH)/uwm
  1038. X          AWMPATH = $(LIBPATH)/awm
  1039. X          MWMPATH = $(LIBPATH)/mwm
  1040. X          TWMPATH = $(LIBPATH)/twm
  1041. X     XAPPLOADPATH = $(LIBPATH)/app-defaults
  1042. X        RS1210SRC = $(TOP)/rs1210
  1043. X
  1044. X       MOTIFSRC = $(TOP)/motif
  1045. X        MLIBSRC = $(MOTIFSRC)/lib
  1046. X     MCLIENTSRC = $(MOTIFSRC)/clients
  1047. X       MDEMOSRC = $(MOTIFSRC)/demos
  1048. X    MTOOLKITSRC = $(MOTIFSRC)/X11R4/lib/Xt
  1049. X     MWIDGETSRC = $(MLIBSRC)/Xm
  1050. X   INCLUDEXMSRC = $(MLIBSRC)/Xm
  1051. X   MRESOURCESRC = $(MLIBSRC)/Mrm
  1052. X         MWMDIR = $(LIBDIR)/Mwm
  1053. X     DEMOBINDIR = $(DESTDIR)/usr/$(XINSTALLDIR)/demos/bin
  1054. X     DEMOSRCDIR = $(DESTDIR)/usr/$(XINSTALLDIR)/demos/src
  1055. X       MINCLUDE = $(TOP)/include
  1056. X         UILSRC = $(MCLIENTSRC)/uil
  1057. X            UIL = $(UILSRC)/uil
  1058. X
  1059. X      XMTOOLLIB = $(MTOOLKITSRC)/libXt.a
  1060. X          XMLIB = $(MWIDGETSRC)/libXm.a
  1061. X   MRESOURCELIB = $(MRESOURCESRC)/libMrm.a
  1062. X         UILLIB = $(UILSRC)/libUil.a
  1063. X
  1064. X        XWCMSRC = $(LIBSRC)/Xwcm
  1065. X SYSVDEPXWCMLIB = $(XWCMSRC)/libsysvXwcm.a
  1066. X  BSDDEPXWCMLIB = $(XWCMSRC)/libbsdXwcm.a
  1067. X     DEPXWCMLIB = $(XWCMSRC)/libXwcm.a
  1068. X
  1069. X    SYSVXWCMLIB = $(SYSVDEPXWCMLIB)
  1070. X     BSDXWCMLIB = $(BSDDEPXWCMLIB)
  1071. X        XWCMLIB = $(DEPXWCMLIB)
  1072. X
  1073. X  BUILDTOOLSDIR = $(TOP)/buildtools
  1074. CROSSENVOVERRIDE= DESTROOT=/ COMP_TARGET_ROOT=/ ETCDIR=/etc ULIBDIR=/usr/lib
  1075. X
  1076. ###########################################################################
  1077. # site-specific configuration parameters - edit site.def to change
  1078. X
  1079. # site:  $XConsortium: site.def,v 1.21 89/12/06 11:46:50 jim Exp $
  1080. X
  1081. X            SHELL =     /bin/sh
  1082. X
  1083. X              TOP = .
  1084. X      CURRENT_DIR = .
  1085. X
  1086. X               AR = ar clr
  1087. X  BOOTSTRAPCFLAGS = $(SYSDEFS)
  1088. X               CC = cc
  1089. X
  1090. X         COMPRESS = compress
  1091. X              CPP = /lib/cpp $(STD_CPP_DEFINES)
  1092. X    PREPROCESSCMD = cc -E $(STD_CPP_DEFINES)
  1093. X          INSTALL = $(ETCDIR)/mipsinstall
  1094. X               LD = ld
  1095. X             LINT = lint
  1096. X      LINTLIBFLAG = -C
  1097. X         LINTOPTS = -axz
  1098. X               LN = ln -s
  1099. X             MAKE = make ETCDIR='$(ETCDIR)' ULIBDIR='$(ULIBDIR)'
  1100. X               MV = mv
  1101. X               CP = cp
  1102. X           RANLIB = /bin/true
  1103. X  RANLIBINSTFLAGS =
  1104. X               RM = rm -f
  1105. X     STD_INCLUDES =
  1106. X  STD_CPP_DEFINES = $(SYSDEFS)
  1107. X      STD_DEFINES = $(SYSDEFS) $(SYSINCS)
  1108. X EXTRA_LOAD_FLAGS =
  1109. X  EXTRA_LIBRARIES = $(SYSLIBS)
  1110. X             TAGS = ctags
  1111. X
  1112. X   SIGNAL_DEFINES = -DSIGNALRETURNSINT
  1113. X
  1114. X    PROTO_DEFINES =
  1115. X
  1116. X     INSTPGMFLAGS =
  1117. X
  1118. X     INSTBINFLAGS = -m 0755
  1119. X     INSTUIDFLAGS = -m 4755
  1120. X     INSTLIBFLAGS = -m 0664
  1121. X     INSTINCFLAGS = -m 0444
  1122. X     INSTMANFLAGS = -m 0444
  1123. X     INSTDATFLAGS = -m 0444
  1124. X    INSTKMEMFLAGS = -g sys -m 2755
  1125. X
  1126. X          DESTDIR = $(DESTROOT)
  1127. X
  1128. X     TOP_INCLUDES = -I$(INCROOT)
  1129. X
  1130. X      CDEBUGFLAGS = $(OPTIM) $(CCOPT) $(SYSTYPE)
  1131. X        CCOPTIONS =
  1132. X      COMPATFLAGS =
  1133. X
  1134. X      ALLINCLUDES = $(STD_INCLUDES) $(TOP_INCLUDES) $(INCLUDES) $(EXTRA_INCLUDES)
  1135. X       ALLDEFINES = $(ALLINCLUDES) $(STD_DEFINES) $(PROTO_DEFINES) $(DEFINES) $(COMPATFLAGS) $(EXT_DEFINES)
  1136. X           CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(ALLDEFINES)
  1137. X        LINTFLAGS = $(LINTOPTS) -DLINT $(ALLDEFINES)
  1138. X           LDLIBS = $(SYS_LIBRARIES) $(EXTRA_LIBRARIES)
  1139. X        LDOPTIONS = $(CDEBUGFLAGS) $(CCOPTIONS)
  1140. X   LDCOMBINEFLAGS = -X -r
  1141. X
  1142. X        MACROFILE = Mips.cf
  1143. X           RM_CMD = $(RM) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut *.u *.b
  1144. X
  1145. X    IMAKE_DEFINES =
  1146. X
  1147. X         IRULESRC = $(CONFIGDIR)
  1148. X        IMAKE_CMD = $(IMAKE) -DUseInstalled -I$(IRULESRC) $(IMAKE_DEFINES)
  1149. X
  1150. X     ICONFIGFILES = $(IRULESRC)/Imake.tmpl $(IRULESRC)/Imake.rules \
  1151. X            $(IRULESRC)/Project.tmpl $(IRULESRC)/site.def \
  1152. X            $(IRULESRC)/$(MACROFILE) $(EXTRA_ICONFIGFILES)
  1153. X
  1154. ###########################################################################
  1155. # X Window System Build Parameters
  1156. # $XConsortium: Project.tmpl,v 1.63 89/12/18 16:46:44 jim Exp $
  1157. X
  1158. ###########################################################################
  1159. # X Window System make variables; this need to be coordinated with rules
  1160. # $XConsortium: Project.tmpl,v 1.63 89/12/18 16:46:44 jim Exp $
  1161. X
  1162. X          PATHSEP = /
  1163. X        USRLIBDIR = $(DESTDIR)/usr/$(XINSTALLDIR)/lib
  1164. X           BINDIR = $(DESTDIR)/usr/$(XINSTALLDIR)/bin
  1165. X          INCROOT = $(DESTDIR)/usr/$(XINSTALLDIR)/include
  1166. X     BUILDINCROOT = $(TOP)
  1167. X      BUILDINCDIR = $(BUILDINCROOT)/X11
  1168. X      BUILDINCTOP = ..
  1169. X           INCDIR = $(INCROOT)/X11
  1170. X           ADMDIR = $(DESTDIR)/usr/adm
  1171. X           LIBDIR = $(USRLIBDIR)/X11
  1172. X        CONFIGDIR = $(LIBDIR)/config
  1173. X       LINTLIBDIR = $(USRLIBDIR)/lint
  1174. X
  1175. X          FONTDIR = $(LIBDIR)/fonts
  1176. X         XINITDIR = $(LIBDIR)/xinit
  1177. X           XDMDIR = $(DESTDIR)/usr/X11/etc/xdm
  1178. X           AWMDIR = $(LIBDIR)/awm
  1179. X           TWMDIR = $(LIBDIR)/twm
  1180. X           GWMDIR = $(LIBDIR)/gwm
  1181. X          MANPATH = $(DESTDIR)/usr/$(XINSTALLDIR)/man/cat
  1182. X    MANSOURCEPATH = $(MANPATH)/man
  1183. X           MANDIR = $(MANSOURCEPATH)1
  1184. X        LIBMANDIR = $(MANSOURCEPATH)3
  1185. X      XAPPLOADDIR = $(LIBDIR)/app-defaults
  1186. X
  1187. X       FONTCFLAGS = -t
  1188. X
  1189. X     INSTAPPFLAGS = $(INSTDATFLAGS)
  1190. X
  1191. X            IMAKE = imake
  1192. X           DEPEND = makedepend
  1193. X              RGB = rgb
  1194. X            FONTC = bdftosnf
  1195. X        MKFONTDIR = mkfontdir
  1196. X        MKDIRHIER =     /bin/sh $(BINDIR)/mkdirhier.sh
  1197. X
  1198. X        CONFIGSRC = $(TOP)/config
  1199. X        CLIENTSRC = $(TOP)/clients
  1200. X          DEMOSRC = $(TOP)/demos
  1201. X           LIBSRC = $(TOP)/lib
  1202. X          FONTSRC = $(TOP)/fonts
  1203. X       INCLUDESRC = $(TOP)/X11
  1204. X        SERVERSRC = $(TOP)/server
  1205. X          UTILSRC = $(TOP)/util
  1206. X        SCRIPTSRC = $(UTILSRC)/scripts
  1207. X       EXAMPLESRC = $(TOP)/examples
  1208. X       CONTRIBSRC = $(TOP)/../contrib
  1209. X           DOCSRC = $(TOP)/doc
  1210. X           RGBSRC = $(TOP)/rgb
  1211. X        DEPENDSRC = $(UTILSRC)/makedepend
  1212. X         IMAKESRC = $(CONFIGSRC)
  1213. X         XAUTHSRC = $(LIBSRC)/Xau
  1214. X          XLIBSRC = $(LIBSRC)/X
  1215. X           XMUSRC = $(LIBSRC)/Xmu
  1216. X       TOOLKITSRC = $(LIBSRC)/Xt
  1217. X       AWIDGETSRC = $(LIBSRC)/Xaw
  1218. X       OLDXLIBSRC = $(LIBSRC)/oldX
  1219. X      XDMCPLIBSRC = $(LIBSRC)/Xdmcp
  1220. X      BDFTOSNFSRC = $(FONTSRC)/bdftosnf
  1221. X     MKFONTDIRSRC = $(FONTSRC)/mkfontdir
  1222. X     EXTENSIONSRC = $(TOP)/extensions
  1223. X
  1224. X  DEPEXTENSIONLIB =  $(USRLIBDIR)/libXext.a
  1225. X     EXTENSIONLIB =               -lXext
  1226. X
  1227. X          DEPXLIB = $(DEPEXTENSIONLIB)  $(USRLIBDIR)/libX11.a
  1228. X             XLIB = $(EXTENSIONLIB)               -lX11
  1229. X
  1230. X      DEPXAUTHLIB =  $(USRLIBDIR)/libXau.a
  1231. X         XAUTHLIB =               -lXau
  1232. X
  1233. X        DEPXMULIB =  $(USRLIBDIR)/libXmu.a
  1234. X           XMULIB =               -lXmu
  1235. X
  1236. X       DEPOLDXLIB =  $(USRLIBDIR)/liboldX.a
  1237. X          OLDXLIB =               -loldX
  1238. X
  1239. X      DEPXTOOLLIB =  $(USRLIBDIR)/libXt.a
  1240. X         XTOOLLIB =               -lXt
  1241. X
  1242. X        DEPXAWLIB =  $(USRLIBDIR)/libXaw.a
  1243. X           XAWLIB =               -lXaw
  1244. X
  1245. X LINTEXTENSIONLIB =  $(USRLIBDIR)/llib-lXext.ln
  1246. X         LINTXLIB =  $(USRLIBDIR)/llib-lX11.ln
  1247. X          LINTXMU =  $(USRLIBDIR)/llib-lXmu.ln
  1248. X        LINTXTOOL =  $(USRLIBDIR)/llib-lXt.ln
  1249. X          LINTXAW =  $(USRLIBDIR)/llib-lXaw.ln
  1250. X
  1251. X          DEPLIBS = $(LOCAL_LIBRARIES)
  1252. X
  1253. X         DEPLIBS1 = $(DEPLIBS)
  1254. X         DEPLIBS2 = $(DEPLIBS)
  1255. X         DEPLIBS3 = $(DEPLIBS)
  1256. X
  1257. ###########################################################################
  1258. # Imake rules for building libraries, programs, scripts, and data files
  1259. # rules:  $XConsortium: Imake.rules,v 1.70 90/05/04 16:57:30 keith Exp $
  1260. X
  1261. ###########################################################################
  1262. # start of Imakefile
  1263. X
  1264. # $Id: Imakefile,v 1.3 1991/08/23 16:34:24 jtsillas Exp $
  1265. X
  1266. #
  1267. # Read the README file for a list of options to include for your system
  1268. #
  1269. LOCAL_LIBRARIES = -lXm -lXt -lX11
  1270. X
  1271. X           SRCS1 = callgdb.c command.c gdb.c dialog.c filemenu.c \
  1272. X          handler.c parser.c regex.c signs.c signals.c source.c \
  1273. X          utils.c windows.c mxgdb.c malloc.c bitmaps.c
  1274. X
  1275. X           OBJS1 = callgdb.o command.o gdb.o dialog.o filemenu.o \
  1276. X          handler.o parser.o regex.o signs.o signals.o source.o \
  1277. X          utils.o windows.o mxgdb.o malloc.o bitmaps.o
  1278. X
  1279. PROGRAMS = mxgdb
  1280. X
  1281. ..c.o:
  1282. X    $(RM) $@
  1283. X    $(CC) -c $(CFLAGS) $*.c
  1284. X
  1285. X            OBJS = $(OBJS1) $(OBJS2) $(OBJS3)
  1286. X            SRCS = $(SRCS1) $(SRCS2) $(SRCS3)
  1287. X
  1288. all:: $(PROGRAMS)
  1289. X
  1290. mxgdb: $(OBJS1) $(DEPLIBS1)
  1291. X     $(RM) $@
  1292. X    $(CC) -o $@ $(LDOPTIONS) $(OBJS1) $(LOCAL_LIBRARIES) $(LDLIBS)  $(SYSLIBS) $(EXTRA_LOAD_FLAGS)
  1293. X
  1294. install:: mxgdb
  1295. X    $(INSTALL) -c -s $(INSTPGMFLAGS)   mxgdb $(BINDIR)
  1296. X
  1297. mxgdb.1:: mxgdb.man
  1298. X    nroff -man $? > $@
  1299. X
  1300. all:: mxgdb.1
  1301. X
  1302. clean::
  1303. X    rm -f mxgdb.1
  1304. X
  1305. install.man:: mxgdb.1
  1306. X    $(INSTALL) -c $(INSTMANFLAGS) -f mxgdb.1 $(MANDIR)/mxgdb.1
  1307. X
  1308. depend::
  1309. X    $(DEPEND) -s "# DO NOT DELETE" -- $(ALLDEFINES) -- $(SRCS)
  1310. X
  1311. lint:
  1312. X    $(LINT) $(LINTFLAGS) $(SRCS) $(LINTLIBS)
  1313. lint1:
  1314. X    $(LINT) $(LINTFLAGS) $(FILE) $(LINTLIBS)
  1315. X
  1316. clean::
  1317. X    $(RM) $(PROGRAMS)
  1318. X
  1319. install:: Mxgdb.ad
  1320. X    $(INSTALL) -c -f $(INSTAPPFLAGS) Mxgdb.ad $(XAPPLOADDIR)/Mxgdb
  1321. X
  1322. handler.o: gdb_handler.c
  1323. parser.o: gdb_parser.c gdb_regex.h
  1324. X
  1325. ###########################################################################
  1326. # common rules for all Makefiles - do not edit
  1327. X
  1328. emptyrule::
  1329. X
  1330. clean::
  1331. X    $(RM_CMD) \#*
  1332. X
  1333. Makefile::
  1334. X    -@if [ -f Makefile ]; then \
  1335. X        echo "    $(RM) Makefile.bak; $(MV) Makefile Makefile.bak"; \
  1336. X        $(RM) Makefile.bak; $(MV) Makefile Makefile.bak; \
  1337. X    else exit 0; fi
  1338. X    $(IMAKE_CMD) -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT_DIR)
  1339. X
  1340. tags::
  1341. X    $(TAGS) -w *.[ch]
  1342. X    $(TAGS) -xw *.[ch] > TAGS
  1343. X
  1344. ###########################################################################
  1345. # empty rules for directories that do not have SUBDIRS - do not edit
  1346. X
  1347. install::
  1348. X    @echo "install in $(CURRENT_DIR) done"
  1349. X
  1350. install.man::
  1351. X    @echo "install.man in $(CURRENT_DIR) done"
  1352. X
  1353. Makefiles::
  1354. X
  1355. includes::
  1356. X
  1357. ###########################################################################
  1358. # dependencies generated by makedepend
  1359. X
  1360. SHAR_EOF
  1361. chmod 0644 mxgdb/Makefile.bak ||
  1362. echo 'restore of mxgdb/Makefile.bak failed'
  1363. Wc_c="`wc -c < 'mxgdb/Makefile.bak'`"
  1364. test 12178 -eq "$Wc_c" ||
  1365.     echo 'mxgdb/Makefile.bak: original size 12178, current size' "$Wc_c"
  1366. rm -f _shar_wnt_.tmp
  1367. fi
  1368. rm -f _shar_seq_.tmp
  1369. echo You have unpacked the last part
  1370. exit 0
  1371.