Index
Symbols
#include
files, 95, 157, 164
... button, 25, 37, 47
.S
, 96
__main, 96
A
a.out
, 98
ABI (Application Binary Interface)
defined, 142
embedded, 151
see also
EABI (embedded ABI)
addr2line
, 98
address, 142, 161, 165, 168
accumulator, 142
run-time, 168
aliased pseudo registers, 165
Apache, 142
API (Application Programming Interface), x, 142
application, creating, 36-53
ar
, 98
architecture, 142
array, 142
ASCII, 98
ash
, 143
assembler
-d
,
--disassemble
, 99
defined, 96, 143, 155
linker, working with, 168
--prefix-addresses
, 99
B
BDM (Background Debugging Mode), 143
BFD (Binary File Descriptor), 144
binary, 96, 163
file, 153
file descriptor, 144
utilities, 98
BIOS, 6, 144
bit, 143
blocks, 168
MIPS, 145
boot, 6, 10,
BOOTP, 145
breakpoint, 145
defined, 145
displaying, 77
enabling, disabling, 78
with Insight, setting, 90
browsers, 32
Editor, 32
Symbol, 29-30
Xref (Cross-Referencer), 34
BSD (Berkeley Software Distribution), 145
buffer, 145
build
defined, 146
targets, renaming, 46
bus, 142
buttons
... button, 25
Insight, 56-57, 59
Source-Navigator, 30
C
C, 147
C++
constructors, 96
symbol name deciphering utility, 98
c++filt
, 98
cache, 166
call stack, 67, 170
canonical, defined, 146
changes, requesting, 8
classes, 147, 160, 163, 171
cmp
, 100
COFF (Common Object File Format), 147, 170
command shell, 143, 148
compiler
__main
, 96
C, 96, 147
see also
gcc
C++, 96
cross compilation, defined, 146
defined, 155
EGCS, 151
file extensions, 96
gcc
, 95
lexical
defined, 159
scoping, 162
linking, 96
-nostdlib
, 96
preprocessing, 95
source code, 147
switches, 96
trampolines, 173
concatenate, defined, 147
configure, 9, 22, 148
constant variables, 174
contacting Red Hat, iv
Copying
and
Copying.lib
files, 126
copyleft, defined, 148
cpp
, 95
cross-referencing, 34
csh
, 148
CVS (Concurrrent Version System), 148
Cygwin, 98
D
-d
, for assembler, 99
daemon, 149
debugger
remote, 97
debugging, 143
call stack, 67
definition, 150
editor, aborting, 71
Ethernet, 97
formats, 149
function call, 170
low-level, 97
outbyte()
, 97
print()
, 97
printf()
exceptions, 97
Processes dialog box, 94
putnum()
, 97
routines for host systems, 97
selecting functions for, 64
selecting source files, 64
serial connection, 97
settings for source code with Insight, 57
stack frame, 67, 170
tracepoint, defined, 173
variables, 170
watchpoint, defined, 175
DevKit
see
Embedded DevKit
DHCP (Dynamic Host Configuration Protocol),
10,
11,
43,
150,
173
diff
, 100
display frame, 60
dlltool
, 98
documentation conventions, 3
E
-E
, 96
EABI (Embedded Application Binary Interface), 151
ECOFF (Extended COFF), 151
see also
COFF (Common Object File Format)
eCos (Embedded Configurable Operating System), 151
editor
aborting, with Insight, 71
alternates (or external), 63
Source-Navigator, 32
vi
, 174
EEPROM (Electrically Erasable Read-Only Memory), 151
see also diskless
EGCS compiler, 151
EL/IX, 152
API, x-xi
see also
Embedded DevKit
ELF (Extended Linker Format), 152, 170
Emacs, 145
Embedded DevKit
defined, 152
purpose, 1
using its interface, 35-53
environment
defined, 152
described, 36
variable, 152
EPROM (Erasable Read-Only Memory), 153, 165
see also diskless
Ethernet
address, 9, 122
card, 6
debugging, connection, defined, 156
defined, 153
using, 15, 150
exception, 97
executable, 36-53, 98
creating, 24-34
expression, 72
F
file extensions, 96
filesystem, 10, 21, 154
virtual, 174
flex
, 100
floating point, 162
-fno-exceptions
, 96
frame, 60, 155
stack, 67
-fritti
, 96
FTP, 10
function
defined, 155
nested, 162
G
gas
, 96
gcc
, 95
gcov
, 100
gdb
, 97
gdbserver97>/A>, 156
gdbtk
see Insight
glibc
, 156
global variables, 62, 174
GNOME (GNU Network Object Model Environment), defined, 156
GNU, defined, 156
GPL (General Public License), 125, 159
copyleft, defined, 148
licensing terms, 126
H
hardware
booting, 6
installation, 9, 22
requirements, 6
safety requirements, 6
hex
/hexadecimal values, printing, 97
host, defined, 157
HTTPd (Hypertext Transfer Protocol daemon)
defined, 157
running, 52
tutorial, 36-53
I
IDE (Integrated Development Environment), defined, 157
inetrd
, 157
init
, 157
Insight, 55
assembly code, displaying, 65
backtrace, 58
breakpoints
appearance, 61-62
information balloon, 62, 94
setting, 61, 89, 91
buttons, 55
... button, 25, 37, 47
Add Watch, 72
Run, 56
Stop, 57
color dialog box, 57
convenience variables, 72
DHCP connections, 43
display panes, 58
drop-down lists, 64
editing, aborting (with Escape key), 71
expression62, 71, 72
file drop-down list menu, 64
File menu, 56
function
drop-down combo box, 64, 83
drop-down list box, 64
Function Browser, with source browser, 82
Global Preferences, setting, 58
HTML help, 85
icons, 58
information balloon, 62
jumps, 65, 88
local variables, 62, 89
Local Variables, Variable menu, 74
menus, 55
File (Source Window), 56
Open (Load New Excecutable dialog), 56
Source Window, 56
Watch (Watch Expressions window), 71
mouse, using, 60
Open menu, 56
pointers, casting, 72
preferences, settings to use, 57
registers, debugging, 68
scroll bar, using, 64, 83
selecting functions for, 64
selecting source files to debug, 64
source
code, displaying, 57, 65
file, debugging, 87
preferences, settings to use, 57
stack frame, 67
starting, 55
status text box, 64, 83
tutorials, 86
variables, 62, 91
Watch menu, 71
windows
Breakpoints, 77
Function Browser, 81
Help, 85
Local Variables, 74
Memory, 69
Registers, 68
Source Window, 56
Watch Expressions, 71
installation, 5
problems, 8
Intel, 6
J
Java
.class
files, 155
K
kernel
configuring, 22
defined, 158
L
labels, 171
ld, 96, 97
LGPL (Lesser General Public License), 132, 159
libraries, 159
defined, 159
described, 96
glibc, 156
libc, 98, 163
libelix
, 160
libgcc.a
, 96
libm, 98, 163
libstdc++
, 98
linking, configuring, 169
newlib
, 163
shared, 169, 171
licenses, 125, 139, 159
GPL, 125, 131
LGPL, 132
Tcl/Tk, 139
LILO, 160
linker, 96
local variables, 74, 91
M
machine registers, 161
main(), 96, 164
make, 100, 161
MBX processor, 6
memory, 70
Motorola, 143
N
name-mangling, 142
NE2000 (PCI), 6
network boot, 162
networking, 145
newlib
, 163
NFS (Network File System), 10, 12, 163
nlmconv
, 98
nm
, 98
-nostlib
, 96
O
objcopy
, 98
objdump
, 99
object code archives, 98
object file, 98, 160, 163
assembler, with, 96
information, 99
linking to C library, 96
symbol tables, 98, 170
outbyte()
, 97
overflow, 145, 163
P
parser, 144
Pascal, 147
patch, 100, 145, 164
pc
(program counter), 60
Pentium, 157
POSIX, x
PowerPC, 164, 175
aggregates, 110
assembler, 111
assembler directives, 112
compiling options, 101-106
data types, size and alignment, 106
directory structure, 101
floating point subroutines, 106
floating point values, 110
function return values, 108
gcc
, 101
integers, 110
preprocessor, 106
register usage, 107
stack frame, 109
subroutine calls, 107
testing TFTP and DHCP, 17
prefix operator, 153
--prefix-addresses
, 99
preprocessing, 96
print()
, 97
problems, reporting, iv, 8
procedures, 171
program
defined, 164
object-oriented, 175
project
closing, 52
database, 1
developing, 36
Project Editor window, 31
PROM (Programmable Read-Only Memory), 98, 153, 165
pseudo-ops, 165
ptrace
, 165
putnum()
, 97
R
RAM Disk, 157, 163, 166
ranlib
, 99
rc
file, 166
readelf
, 99
reentrancy, defined, 166
registers, 72, 142, 166, 174
debudding, 68
machine, 161
pseudo, 165
read/write, 165
temporary, 172
relative path, 164
relocation, 168
remote
rsh
(remote shell protocol), 167
systems, 172
target, 167
ROM (Read-Only Memory), 98, 145, 165
root, 164, 167
RPM (Red Hat Package Manager)
defined, 167
using, 7
S
scope, 159, 168
scripts, shell, 169
search
debugging, 87
sections, 169
data, 169
single-step, 165
size
, 99
Source-Navigator, 23
building your project, 23
buttons, 30
Cross-Reference Browser
database, 23
Editor, 32
Open dialog, 28
Project Editor, 31
Projects window, 24
starting, 24
27, 29
S-record, 98
stack
debugging with Insight, 67
defined, 170, 174
stdout
, 96
strings
, 99
strip
, 99
stub
defined, 171
sub-expressions, 153
subroutine, 171
support requests, 8
swap, 171
symbol
defined, 171
locating in sources, 32
stabs
, 170
tables, 170
Symbol Accelerator combo-box, 32
Symbol Browser, 26, 29, 34
system
local/remote, 172
T
target environment
boot image, 10
building an executable, 50
changing build rules for an executable, 46
configure, 13
configuring, 42
defined, 152, 171
run an excutable, 52
Tcl/Tk, 139, 150, 171
TCP/IP (Transmission Control Protocol/Internet Protocol), 172
defintion, 155
networking, 145
see also
IP (Internet Protocol)
tcsh
, 172
technology, 141
TFTP (Trivial File Transfer Protocol), 10, 172, 173
threads, 162, 172
toolchain, defined, 172
Torvalds, Linus, 160
U
UDP (User Datagram Protocol), 173
see also
TFTP
V
variables, 34, 62, 171
constant, 174
convenience, 72
environment, 152
global, 174
instance, 158, 174
local, 160
void, 174
visual debugger, 55
void variables, 174
W
watchpoint, 145
widget, 171, 175
Win32 development, 98
windows
Insight, 56
Source-Navigator, 29
windres
, 99
X
x86
assembler directives, 118
assembler usage, 118
attributes, 115
compiler, 114
data types, 115
data types and register usage, 116
definition, 175
directory structure, 114
preprocessor, 115
stack frame, 117
subroutine calls, 115
testing TFTP and DHCP, 13
-xassembler-with-cpp, 96
XCOFF (extended COFF), 175
Xref
see
Cross-Referencer
Xref tab, 34