Changeset 760777d in rtems
- Timestamp:
- 07/29/99 22:54:10 (24 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 6805640e
- Parents:
- c985385
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/FAQ/freesw.t
rc985385 r760777d 38 38 @subsection DDD 39 39 40 XXX insert information from Charles Gauthier and Jiri Gaisler 40 By far the easiest way to use DDD if you are on a Redhat Linux system is 41 to retrieve the latest RPM package. I got mine from 42 ftp://ftp.crc.ca/systems/linux/redhat/contrib.redhat.com/libc6/i386/ddd-dynamic- 43 3.1.5-1.i386.rpm. 44 This particular one is for Redhat 6.0 on i386. For 5.2, I guess you 45 should use libc5 instead of libc6. 46 47 You also need Lesstif 0.88. I got mine from 48 ftp://ftp.hungry.com/pub/hungry/lesstif/bindist/lesstif-0.88.1-1.i386.rpm 49 50 Installed as RPMs, DDD and Lesstif work out-of-the-box. 51 52 Both Lesstif and DDD can be built from scratch without any problems. 53 54 The isntruction on how to install Lesstif are at 55 http://www.cs.tu-bs.de/softech/ddd/. They indicate that 56 57 @itemize @bullet 58 LessTif should be used in (default) Motif 1.2 compatibility mode. 59 60 The Motif 2.0 compatibility mode of LessTif is still incomplete. 61 @end itemize 62 63 So configure lesstif with --enable-default-12. 64 65 The configure script is broken (see www.lesstif.org --> known problems) 66 for 0.88.1. I didn't fix the script as they show, so I just have links 67 in /usr/local/lib (also shown). 68 69 Watch out: Lesstif installs its libraries in /usr/local/Lesstif. You 70 will need to update /etc/ld.so.conf and regenerate the cache of shared 71 library paths to point to the Motif 1.2 library. 72 73 The student configure DDD --with-motif-libraries=/usr/local/lib 74 --with-motif-includes=/usr/local/include 75 76 You will need gnuplot 3.7. I got mine from 77 ftp://ftp.dartmouth.edu/pub/gnuplot/gnuplot-3.7.tar.gz. Build and 78 install from scratch. 79 80 I start DDD from a script in $HOME/bin: 81 82 @example 83 #!/bin/bash 84 ddd --debugger m68k-elf-gdb $1 85 @end example 86 87 88 Now for the hard part: 89 90 under RH Linux, to get gdb to use the serial ports while running as a 91 mere mortal, edit /etc/security/console.perms, and create a <serial> 92 class (call it whatever you want). 93 94 @example 95 <serial>=/dev/ttyS* /dev/cua* 96 @end example 97 98 Now enable the change of ownership of these devices when users log in 99 from the console: 100 101 @example 102 <console> 0600 <serial> 0600 root 103 @end example 104 105 And voila! 106 107 I use minicom to communicate with the target to initiate a TFTP 108 download. I then suspend minicom, lauch DDD, and begin debugging. 109 110 The procedure should be the same on other platforms, modulo the choice 111 of terminal emulator program and the scheme used to access the serial 112 ports. From the cygwin mailing list, I have the impression that GDB has 113 some problems communicating over serial lines on that platform. 114 115 P.S. GDB doesn't like getting lots of input from the program under test 116 over the serial line. Actually, it doesn't care, but it looses 117 characters. It would appear that flow control is not re-enabled when it 118 resumes program execution. At times, it looked like the test were 119 failing, but everything was OK. We modified the MVME167 serial driver to 120 send test output to another serial port. 121 122 Information provided by Charles-Antoine Gauthier (charles.gauthier@@iit.nrc.ca) 123 and Jiri Gaisler (jgais@@ws.estec.esa.nl). 124 41 125 42 126 @section omniORB
Note: See TracChangeset
for help on using the changeset viewer.