gdb/
[deliverable/binutils-gdb.git] / gdb / NEWS
CommitLineData
c906108c
SS
1 What has changed in GDB?
2 (Organized release by release)
3
797054e6
JB
4*** Changes since GDB 7.2
5
99e7ae30
DE
6* GDB has a new command: "set directories".
7 It is like the "dir" command except that it replaces the
8 source path list instead of augmenting it.
9
f4b8a18d
KW
10* OpenCL C
11 Initial support for the OpenCL C language (http://www.khronos.org/opencl)
12 has been integrated into GDB.
13
585d1eb8
PM
14* Python scripting
15
16 ** GDB values in Python are now callable if the value represents a
17 function. For example, if 'some_value' represents a function that
18 takes two integer parameters and returns a value, you can call
19 that function like so:
20
21 result = some_value (10,20)
22
0e3509db
DE
23 ** Module gdb.types has been added.
24 It contains a collection of utilities for working with gdb.Types objects:
25 get_basic_type, has_field, make_enum_dict.
26
7b51bc51
DE
27 ** Module gdb.printing has been added.
28 It contains utilities for writing and registering pretty-printers.
29 New classes: PrettyPrinter, SubPrettyPrinter,
30 RegexpCollectionPrettyPrinter.
31 New function: register_pretty_printer.
32
33 ** New commands "info pretty-printers", "enable pretty-printer" and
34 "disable pretty-printer" have been added.
35
99e7ae30
DE
36 ** gdb.parameter("directories") is now available.
37
def98928
TT
38* C++ Improvements:
39
40 ** GDB now puts template parameters in scope when debugging in an
41 instantiation. For example, if you have:
42
43 template<int X> int func (void) { return X; }
44
45 then if you step into func<5>, "print X" will show "5". This
46 feature requires proper debuginfo support from the compiler; it
47 was added to GCC 4.5.
48
283e6a52
TT
49* GDB now has some support for using labels in the program's source in
50 linespecs. For instance, you can use "advance label" to continue
51 execution to a label.
52
53* GDB now has support for reading and writing a new .gdb_index
54 section. This section holds a fast index of DWARF debugging
55 information and can be used to greatly speed up GDB startup and
56 operation. See the documentation for `save gdb-index' for details.
57
b56df873 58* The "watch" command now accepts an optional "-location" argument.
14c0d4e1 59 When used, this causes GDB to watch the memory referred to by the
b56df873
TT
60 expression. Such a watchpoint is never deleted due to it going out
61 of scope.
62
ae53ffa4
PA
63* GDB now supports thread debugging of core dumps on GNU/Linux.
64
65 GDB now activates thread debugging using the libthread_db library
66 when debugging GNU/Linux core dumps, similarly to when debugging
67 live processes. As a result, when debugging a core dump file, GDB
68 is now able to display pthread_t ids of threads. For example, "info
69 threads" shows the same output as when debugging the process when it
70 was live. In earlier releases, you'd see something like this:
71
72 (gdb) info threads
73 * 1 LWP 6780 main () at main.c:10
74
75 While now you see this:
76
77 (gdb) info threads
78 * 1 Thread 0x7f0f5712a700 (LWP 6780) main () at main.c:10
79
80 It is also now possible to inspect TLS variables when debugging core
81 dumps.
82
83 When debugging a core dump generated on a machine other than the one
84 used to run GDB, you may need to point GDB at the correct
85 libthread_db library with the "set libthread-db-search-path"
86 command. See the user manual for more details on this command.
87
248c9dbc
JB
88* New features in the GDB remote stub, GDBserver
89
1aee7009
JB
90 ** GDBserver is now supported on PowerPC LynxOS (versions 4.x and 5.x),
91 and i686 LynxOS (version 5.x).
248c9dbc 92
6e1bb179
JB
93* Ada task switching is now supported on sparc-elf targets when
94 debugging a program using the Ravenscar Profile. For more information,
95 see the "Tasking Support when using the Ravenscar Profile" section
96 in the GDB user manual.
97
50c97f38
TT
98* Guile support was removed.
99
76b8507d 100*** Changes in GDB 7.2
bfbf3774 101
ba25b921
PA
102* Shared library support for remote targets by default
103
104 When GDB is configured for a generic, non-OS specific target, like
105 for example, --target=arm-eabi or one of the many *-*-elf targets,
106 GDB now queries remote stubs for loaded shared libraries using the
107 `qXfer:libraries:read' packet. Previously, shared library support
108 was always disabled for such configurations.
109
4656f5c6
SW
110* C++ Improvements:
111
112 ** Argument Dependent Lookup (ADL)
113
114 In C++ ADL lookup directs function search to the namespaces of its
115 arguments even if the namespace has not been imported.
116 For example:
117 namespace A
118 {
119 class B { };
120 void foo (B) { }
121 }
122 ...
123 A::B b
124 foo(b)
125 Here the compiler will search for `foo' in the namespace of 'b'
126 and find A::foo. GDB now supports this. This construct is commonly
127 used in the Standard Template Library for operators.
128
129 ** Improved User Defined Operator Support
130
131 In addition to member operators, GDB now supports lookup of operators
132 defined in a namespace and imported with a `using' directive, operators
133 defined in the global scope, operators imported implicitly from an
134 anonymous namespace, and the ADL operators mentioned in the previous
135 entry.
136 GDB now also supports proper overload resolution for all the previously
137 mentioned flavors of operators.
138
254e6b9e
DE
139 ** static const class members
140
141 Printing of static const class members that are initialized in the
142 class definition has been fixed.
143
711e434b
PM
144* Windows Thread Information Block access.
145
146 On Windows targets, GDB now supports displaying the Windows Thread
147 Information Block (TIB) structure. This structure is visible either
148 by using the new command `info w32 thread-information-block' or, by
149 dereferencing the new convenience variable named `$_tlb', a
150 thread-specific pointer to the TIB. This feature is also supported
151 when remote debugging using GDBserver.
152
0fb4aa4b
PA
153* Static tracepoints
154
155 Static tracepoints are calls in the user program into a tracing
156 library. One such library is a port of the LTTng kernel tracer to
157 userspace --- UST (LTTng Userspace Tracer, http://lttng.org/ust).
158 When debugging with GDBserver, GDB now supports combining the GDB
159 tracepoint machinery with such libraries. For example: the user can
160 use GDB to probe a static tracepoint marker (a call from the user
161 program into the tracing library) with the new "strace" command (see
162 "New commands" below). This creates a "static tracepoint" in the
163 breakpoint list, that can be manipulated with the same feature set
164 as fast and regular tracepoints. E.g., collect registers, local and
165 global variables, collect trace state variables, and define
166 tracepoint conditions. In addition, the user can collect extra
167 static tracepoint marker specific data, by collecting the new
168 $_sdata internal variable. When analyzing the trace buffer, you can
169 inspect $_sdata like any other variable available to GDB. For more
170 information, see the "Tracepoints" chapter in GDB user manual. New
171 remote packets have been defined to support static tracepoints, see
172 the "New remote packets" section below.
173
ca11e899
SS
174* Better reconstruction of tracepoints after disconnected tracing
175
176 GDB will attempt to download the original source form of tracepoint
177 definitions when starting a trace run, and then will upload these
178 upon reconnection to the target, resulting in a more accurate
179 reconstruction of the tracepoints that are in use on the target.
180
181* Observer mode
182
183 You can now exercise direct control over the ways that GDB can
184 affect your program. For instance, you can disallow the setting of
185 breakpoints, so that the program can run continuously (assuming
186 non-stop mode). In addition, the "observer" variable is available
187 to switch all of the different controls; in observer mode, GDB
188 cannot affect the target's behavior at all, which is useful for
189 tasks like diagnosing live systems in the field.
190
191* The new convenience variable $_thread holds the number of the
192 current thread.
193
711e434b
PM
194* New remote packets
195
196qGetTIBAddr
197
198 Return the address of the Windows Thread Information Block of a given thread.
199
dde08ee1
PA
200qRelocInsn
201
202 In response to several of the tracepoint packets, the target may now
203 also respond with a number of intermediate `qRelocInsn' request
204 packets before the final result packet, to have GDB handle
205 relocating an instruction to execute at a different address. This
206 is particularly useful for stubs that support fast tracepoints. GDB
207 reports support for this feature in the qSupported packet.
208
0fb4aa4b
PA
209qTfSTM, qTsSTM
210
211 List static tracepoint markers in the target program.
212
213qTSTMat
214
215 List static tracepoint markers at a given address in the target
216 program.
217
218qXfer:statictrace:read
219
220 Read the static trace data collected (by a `collect $_sdata'
221 tracepoint action). The remote stub reports support for this packet
222 to gdb's qSupported query.
223
ca11e899
SS
224QAllow
225
226 Send the current settings of GDB's permission flags.
227
228QTDPsrc
229
230 Send part of the source (textual) form of a tracepoint definition,
231 which includes location, conditional, and action list.
232
3f7b2faa
DE
233* The source command now accepts a -s option to force searching for the
234 script in the source search path even if the script name specifies
235 a directory.
236
d337e9f0
PA
237* New features in the GDB remote stub, GDBserver
238
0fb4aa4b
PA
239 - GDBserver now support tracepoints (including fast tracepoints, and
240 static tracepoints). The feature is currently supported by the
241 i386-linux and amd64-linux builds. See the "Tracepoints support
242 in gdbserver" section in the manual for more information.
243
244 GDBserver JIT compiles the tracepoint's conditional agent
245 expression bytecode into native code whenever possible for low
246 overhead dynamic tracepoints conditionals. For such tracepoints,
247 an expression that examines program state is evaluated when the
248 tracepoint is reached, in order to determine whether to capture
249 trace data. If the condition is simple and false, processing the
250 tracepoint finishes very quickly and no data is gathered.
251
252 GDBserver interfaces with the UST (LTTng Userspace Tracer) library
253 for static tracepoints support.
d337e9f0 254
c24d0242
PM
255 - GDBserver now supports x86_64 Windows 64-bit debugging.
256
c8d5aac9
L
257* GDB now sends xmlRegisters= in qSupported packet to indicate that
258 it understands register description.
259
7c953934
TT
260* The --batch flag now disables pagination and queries.
261
8685c86f
L
262* X86 general purpose registers
263
264 GDB now supports reading/writing byte, word and double-word x86
265 general purpose registers directly. This means you can use, say,
266 $ah or $ax to refer, respectively, to the byte register AH and
267 16-bit word register AX that are actually portions of the 32-bit
268 register EAX or 64-bit register RAX.
269
95a42b64 270* The `commands' command now accepts a range of breakpoints to modify.
86b17b60
PA
271 A plain `commands' following a command that creates multiple
272 breakpoints affects all the breakpoints set by that command. This
273 applies to breakpoints set by `rbreak', and also applies when a
274 single `break' command creates multiple breakpoints (e.g.,
275 breakpoints on overloaded c++ functions).
95a42b64 276
8bd10a10
CM
277* The `rbreak' command now accepts a filename specification as part of
278 its argument, limiting the functions selected by the regex to those
279 in the specified file.
280
ab38a727
PA
281* Support for remote debugging Windows and SymbianOS shared libraries
282 from Unix hosts has been improved. Non Windows GDB builds now can
283 understand target reported file names that follow MS-DOS based file
284 system semantics, such as file names that include drive letters and
285 use the backslash character as directory separator. This makes it
286 possible to transparently use the "set sysroot" and "set
287 solib-search-path" on Unix hosts to point as host copies of the
288 target's shared libraries. See the new command "set
289 target-file-system-kind" described below, and the "Commands to
290 specify files" section in the user manual for more information.
291
6149aea9
PA
292* New commands
293
f1421989
HZ
294eval template, expressions...
295 Convert the values of one or more expressions under the control
296 of the string template to a command line, and call it.
297
ab38a727
PA
298set target-file-system-kind unix|dos-based|auto
299show target-file-system-kind
300 Set or show the assumed file system kind for target reported file
301 names.
302
6149aea9
PA
303save breakpoints <filename>
304 Save all current breakpoint definitions to a file suitable for use
305 in a later debugging session. To read the saved breakpoint
306 definitions, use the `source' command.
307
308`save tracepoints' is a new alias for `save-tracepoints'. The latter
309is now deprecated.
310
0fb4aa4b
PA
311info static-tracepoint-markers
312 Display information about static tracepoint markers in the target.
313
314strace FN | FILE:LINE | *ADDR | -m MARKER_ID
315 Define a static tracepoint by probing a marker at the given
316 function, line, address, or marker ID.
317
ca11e899
SS
318set observer on|off
319show observer
320 Enable and disable observer mode.
321
322set may-write-registers on|off
323set may-write-memory on|off
324set may-insert-breakpoints on|off
325set may-insert-tracepoints on|off
326set may-insert-fast-tracepoints on|off
327set may-interrupt on|off
328 Set individual permissions for GDB effects on the target. Note that
329 some of these settings can have undesirable or surprising
330 consequences, particularly when changed in the middle of a session.
331 For instance, disabling the writing of memory can prevent
332 breakpoints from being inserted, cause single-stepping to fail, or
333 even crash your program, if you disable after breakpoints have been
334 inserted. However, GDB should not crash.
335
336set record memory-query on|off
337show record memory-query
338 Control whether to stop the inferior if memory changes caused
339 by an instruction cannot be recorded.
340
53a71c06
CR
341* Changed commands
342
343disassemble
344 The disassemble command now supports "start,+length" form of two arguments.
345
f3e9a817
PM
346* Python scripting
347
9279c692
JB
348** GDB now provides a new directory location, called the python directory,
349 where Python scripts written for GDB can be installed. The location
350 of that directory is <data-directory>/python, where <data-directory>
351 is the GDB data directory. For more details, see section `Scripting
352 GDB using Python' in the manual.
353
adc36818 354** The GDB Python API now has access to breakpoints, symbols, symbol
595939de
PM
355 tables, program spaces, inferiors, threads and frame's code blocks.
356 Additionally, GDB Parameters can now be created from the API, and
357 manipulated via set/show in the CLI.
f870a310 358
fa33c3cd 359** New functions gdb.target_charset, gdb.target_wide_charset,
07ca107c
DE
360 gdb.progspaces, gdb.current_progspace, and gdb.string_to_argv.
361
362** New exception gdb.GdbError.
fa33c3cd
DE
363
364** Pretty-printers are now also looked up in the current program space.
f3e9a817 365
967cf477
DE
366** Pretty-printers can now be individually enabled and disabled.
367
8a1ea21f
DE
368** GDB now looks for names of Python scripts to auto-load in a
369 special section named `.debug_gdb_scripts', in addition to looking
370 for a OBJFILE-gdb.py script when OBJFILE is read by the debugger.
371
a7bdde9e
VP
372* Tracepoint actions were unified with breakpoint commands. In particular,
373there are no longer differences in "info break" output for breakpoints and
374tracepoints and the "commands" command can be used for both tracepoints and
375regular breakpoints.
376
05071a4d
PA
377* New targets
378
379ARM Symbian arm*-*-symbianelf*
380
6aecb9c2
JB
381* D language support.
382 GDB now supports debugging programs written in the D programming
383 language.
384
431e49aa
TJB
385* GDB now supports the extended ptrace interface for PowerPC which is
386 available since Linux kernel version 2.6.34. This automatically enables
387 any hardware breakpoints and additional hardware watchpoints available in
388 the processor. The old ptrace interface exposes just one hardware
389 watchpoint and no hardware breakpoints.
390
391* GDB is now able to use the Data Value Compare (DVC) register available on
392 embedded PowerPC processors to implement in hardware simple watchpoint
393 conditions of the form:
394
395 watch ADDRESS|VARIABLE if ADDRESS|VARIABLE == CONSTANT EXPRESSION
396
397 This works in native GDB running on Linux kernels with the extended ptrace
398 interface mentioned above.
399
bfbf3774 400*** Changes in GDB 7.1
abc7453d 401
4eef138c
TT
402* C++ Improvements
403
404 ** Namespace Support
71dee663
SW
405
406 GDB now supports importing of namespaces in C++. This enables the
407 user to inspect variables from imported namespaces. Support for
408 namepace aliasing has also been added. So, if a namespace is
409 aliased in the current scope (e.g. namepace C=A; ) the user can
410 print variables using the alias (e.g. (gdb) print C::x).
411
4eef138c
TT
412 ** Bug Fixes
413
414 All known bugs relating to the printing of virtual base class were
415 fixed. It is now possible to call overloaded static methods using a
416 qualified name.
417
418 ** Cast Operators
419
420 The C++ cast operators static_cast<>, dynamic_cast<>, const_cast<>,
421 and reinterpret_cast<> are now handled by the C++ expression parser.
422
2d1c1221
ME
423* New targets
424
425Xilinx MicroBlaze microblaze-*-*
34207b9e 426Renesas RX rx-*-elf
2d1c1221
ME
427
428* New Simulators
429
430Xilinx MicroBlaze microblaze
34207b9e 431Renesas RX rx
2d1c1221 432
6c95b8df
PA
433* Multi-program debugging.
434
435 GDB now has support for multi-program (a.k.a. multi-executable or
436 multi-exec) debugging. This allows for debugging multiple inferiors
437 simultaneously each running a different program under the same GDB
438 session. See "Debugging Multiple Inferiors and Programs" in the
439 manual for more information. This implied some user visible changes
440 in the multi-inferior support. For example, "info inferiors" now
441 lists inferiors that are not running yet or that have exited
442 already. See also "New commands" and "New options" below.
443
d5551862
SS
444* New tracing features
445
446 GDB's tracepoint facility now includes several new features:
447
448 ** Trace state variables
f61e138d
SS
449
450 GDB tracepoints now include support for trace state variables, which
451 are variables managed by the target agent during a tracing
452 experiment. They are useful for tracepoints that trigger each
453 other, so for instance one tracepoint can count hits in a variable,
454 and then a second tracepoint has a condition that is true when the
455 count reaches a particular value. Trace state variables share the
456 $-syntax of GDB convenience variables, and can appear in both
457 tracepoint actions and condition expressions. Use the "tvariable"
458 command to create, and "info tvariables" to view; see "Trace State
459 Variables" in the manual for more detail.
7a697b8d 460
d5551862 461 ** Fast tracepoints
7a697b8d
SS
462
463 GDB now includes an option for defining fast tracepoints, which
464 targets may implement more efficiently, such as by installing a jump
465 into the target agent rather than a trap instruction. The resulting
466 speedup can be by two orders of magnitude or more, although the
467 tradeoff is that some program locations on some target architectures
468 might not allow fast tracepoint installation, for instance if the
469 instruction to be replaced is shorter than the jump. To request a
470 fast tracepoint, use the "ftrace" command, with syntax identical to
471 the regular trace command.
472
d5551862
SS
473 ** Disconnected tracing
474
475 It is now possible to detach GDB from the target while it is running
476 a trace experiment, then reconnect later to see how the experiment
477 is going. In addition, a new variable disconnected-tracing lets you
478 tell the target agent whether to continue running a trace if the
479 connection is lost unexpectedly.
480
00bf0b85
SS
481 ** Trace files
482
483 GDB now has the ability to save the trace buffer into a file, and
484 then use that file as a target, similarly to you can do with
485 corefiles. You can select trace frames, print data that was
486 collected in them, and use tstatus to display the state of the
487 tracing run at the moment that it was saved. To create a trace
488 file, use "tsave <filename>", and to use it, do "target tfile
489 <name>".
4daf5ac0
SS
490
491 ** Circular trace buffer
492
493 You can ask the target agent to handle the trace buffer as a
494 circular buffer, discarding the oldest trace frames to make room for
495 newer ones, by setting circular-trace-buffer to on. This feature may
496 not be available for all target agents.
497
21a0512e
PP
498* Changed commands
499
500disassemble
501 The disassemble command, when invoked with two arguments, now requires
502 the arguments to be comma-separated.
503
0fe7935b
DJ
504info variables
505 The info variables command now displays variable definitions. Files
506 which only declare a variable are not shown.
507
fb2e7cb4
JB
508source
509 The source command is now capable of sourcing Python scripts.
510 This feature is dependent on the debugger being build with Python
511 support.
512
513 Related to this enhancement is also the introduction of a new command
514 "set script-extension" (see below).
515
6c95b8df
PA
516* New commands (for set/show, see "New options" below)
517
399cd161
MS
518record save [<FILENAME>]
519 Save a file (in core file format) containing the process record
520 execution log for replay debugging at a later time.
521
522record restore <FILENAME>
523 Restore the process record execution log that was saved at an
524 earlier time, for replay debugging.
525
6c95b8df
PA
526add-inferior [-copies <N>] [-exec <FILENAME>]
527 Add a new inferior.
528
529clone-inferior [-copies <N>] [ID]
530 Make a new inferior ready to execute the same program another
531 inferior has loaded.
532
533remove-inferior ID
534 Remove an inferior.
535
536maint info program-spaces
537 List the program spaces loaded into GDB.
538
9a7071a8
JB
539set remote interrupt-sequence [Ctrl-C | BREAK | BREAK-g]
540show remote interrupt-sequence
541 Allow the user to select one of ^C, a BREAK signal or BREAK-g
542 as the sequence to the remote target in order to interrupt the execution.
543 Ctrl-C is a default. Some system prefers BREAK which is high level of
544 serial line for some certain time. Linux kernel prefers BREAK-g, a.k.a
545 Magic SysRq g. It is BREAK signal and character 'g'.
546
547set remote interrupt-on-connect [on | off]
548show remote interrupt-on-connect
549 When interrupt-on-connect is ON, gdb sends interrupt-sequence to
550 remote target when gdb connects to it. This is needed when you debug
551 Linux kernel.
552
553set remotebreak [on | off]
554show remotebreak
555Deprecated. Use "set/show remote interrupt-sequence" instead.
556
f61e138d
SS
557tvariable $NAME [ = EXP ]
558 Create or modify a trace state variable.
559
560info tvariables
561 List trace state variables and their values.
562
563delete tvariable $NAME ...
564 Delete one or more trace state variables.
565
6da95a67
SS
566teval EXPR, ...
567 Evaluate the given expressions without collecting anything into the
568 trace buffer. (Valid in tracepoint actions only.)
569
7a697b8d
SS
570ftrace FN / FILE:LINE / *ADDR
571 Define a fast tracepoint at the given function, line, or address.
572
b0f02ee9
JK
573* New expression syntax
574
575 GDB now parses the 0b prefix of binary numbers the same way as GCC does.
576 GDB now parses 0b101010 identically with 42.
577
6c95b8df
PA
578* New options
579
580set follow-exec-mode new|same
581show follow-exec-mode
582 Control whether GDB reuses the same inferior across an exec call or
583 creates a new one. This is useful to be able to restart the old
584 executable after the inferior having done an exec call.
585
236f1d4d
SS
586set default-collect EXPR, ...
587show default-collect
588 Define a list of expressions to be collected at each tracepoint.
589 This is a useful way to ensure essential items are not overlooked,
590 such as registers or a critical global variable.
591
d5551862
SS
592set disconnected-tracing
593show disconnected-tracing
594 If set to 1, the target is instructed to continue tracing if it
595 loses its connection to GDB. If 0, the target is to stop tracing
596 upon disconnection.
597
4daf5ac0
SS
598set circular-trace-buffer
599show circular-trace-buffer
600 If set to on, the target is instructed to use a circular trace buffer
601 and discard the oldest trace frames instead of stopping the trace due
602 to a full trace buffer. If set to off, the trace stops when the buffer
603 fills up. Some targets may not support this.
604
fb2e7cb4
JB
605set script-extension off|soft|strict
606show script-extension
607 If set to "off", the debugger does not perform any script language
608 recognition, and all sourced files are assumed to be GDB scripts.
609 If set to "soft" (the default), files are sourced according to
610 filename extension, falling back to GDB scripts if the first
611 evaluation failed.
612 If set to "strict", files are sourced according to filename extension.
613
2b71fc8e
JB
614set ada trust-PAD-over-XVS on|off
615show ada trust-PAD-over-XVS
616 If off, activate a workaround against a bug in the debugging information
617 generated by the compiler for PAD types (see gcc/exp_dbug.ads in
618 the GCC sources for more information about the GNAT encoding and
619 PAD types in particular). It is always safe to set this option to
620 off, but this introduces a slight performance penalty. The default
621 is on.
622
de2e5182
TT
623* Python API Improvements
624
625 ** GDB provides the new class gdb.LazyString. This is useful in
626 some pretty-printing cases. The new method gdb.Value.lazy_string
627 provides a simple way to create objects of this type.
628
629 ** The fields returned by gdb.Type.fields now have an
630 `is_base_class' attribute.
631
632 ** The new method gdb.Type.range returns the range of an array type.
633
634 ** The new method gdb.parse_and_eval can be used to parse and
635 evaluate an expression.
636
f61e138d
SS
637* New remote packets
638
639QTDV
640 Define a trace state variable.
641
642qTV
643 Get the current value of a trace state variable.
644
d5551862
SS
645QTDisconnected
646 Set desired tracing behavior upon disconnection.
647
4daf5ac0
SS
648QTBuffer:circular
649 Set the trace buffer to be linear or circular.
650
d5551862
SS
651qTfP, qTsP
652 Get data about the tracepoints currently in use.
653
2d483d34
MS
654* Bug fixes
655
656Process record now works correctly with hardware watchpoints.
657
6e0e5977
JB
658Multiple bug fixes have been made to the mips-irix port, making it
659much more reliable. In particular:
660 - Debugging threaded applications is now possible again. Previously,
661 GDB would hang while starting the program, or while waiting for
662 the program to stop at a breakpoint.
663 - Attaching to a running process no longer hangs.
664 - An error occurring while loading a core file has been fixed.
665 - Changing the value of the PC register now works again. This fixes
666 problems observed when using the "jump" command, or when calling
667 a function from GDB, or even when assigning a new value to $pc.
668 - With the "finish" and "return" commands, the return value for functions
669 returning a small array is now correctly printed.
670 - It is now possible to break on shared library code which gets executed
671 during a shared library init phase (code executed while executing
672 their .init section). Previously, the breakpoint would have no effect.
673 - GDB is now able to backtrace through the signal handler for
674 non-threaded programs.
675
93c26624
JK
676PIE (Position Independent Executable) programs debugging is now supported.
677This includes debugging execution of PIC (Position Independent Code) shared
678libraries although for that, it should be possible to run such libraries as an
679executable program.
680
abc7453d 681*** Changes in GDB 7.0
75feb17d 682
4efc6507
DE
683* GDB now has an interface for JIT compilation. Applications that
684dynamically generate code can create symbol files in memory and register
685them with GDB. For users, the feature should work transparently, and
686for JIT developers, the interface is documented in the GDB manual in the
687"JIT Compilation Interface" chapter.
688
782b2b07
SS
689* Tracepoints may now be conditional. The syntax is as for
690breakpoints; either an "if" clause appended to the "trace" command,
691or the "condition" command is available. GDB sends the condition to
692the target for evaluation using the same bytecode format as is used
693for tracepoint actions.
694
53a71c06
CR
695* The disassemble command now supports: an optional /r modifier, print the
696raw instructions in hex as well as in symbolic form, and an optional /m
697modifier to print mixed source+assembly.
e6158f16 698
e7a8dbfb
HZ
699* Process record and replay
700
701 In a architecture environment that supports ``process record and
702 replay'', ``process record and replay'' target can record a log of
703 the process execution, and replay it with both forward and reverse
704 execute commands.
705
64644d9b
MS
706* Reverse debugging: GDB now has new commands reverse-continue, reverse-
707step, reverse-next, reverse-finish, reverse-stepi, reverse-nexti, and
708set execution-direction {forward|reverse}, for targets that support
709reverse execution.
710
b9412953
DD
711* GDB now supports hardware watchpoints on MIPS/Linux systems. This
712feature is available with a native GDB running on kernel version
7132.6.28 or later.
714
6c7a06a3
TT
715* GDB now has support for multi-byte and wide character sets on the
716target. Strings whose character type is wchar_t, char16_t, or
717char32_t are now correctly printed. GDB supports wide- and unicode-
718literals in C, that is, L'x', L"string", u'x', u"string", U'x', and
719U"string" syntax. And, GDB allows the "%ls" and "%lc" formats in
720`printf'. This feature requires iconv to work properly; if your
721system does not have a working iconv, GDB can use GNU libiconv. See
722the installation instructions for more information.
723
f1838a98
UW
724* GDB now supports automatic retrieval of shared library files from
725remote targets. To use this feature, specify a system root that begins
726with the `remote:' prefix, either via the `set sysroot' command or via
727the `--with-sysroot' configure-time option.
728
55333a84
DE
729* "info sharedlibrary" now takes an optional regex of libraries to show,
730and it now reports if a shared library has no debugging information.
731
7f6a6314
PM
732* Commands `set debug-file-directory', `set solib-search-path' and `set args'
733now complete on file names.
734
65d12d83
TT
735* When completing in expressions, gdb will attempt to limit
736completions to allowable structure or union fields, where appropriate.
737For instance, consider:
738
739 # struct example { int f1; double f2; };
740 # struct example variable;
741 (gdb) p variable.
742
743If the user types TAB at the end of this command line, the available
744completions will be "f1" and "f2".
745
edb3359d
DJ
746* Inlined functions are now supported. They show up in backtraces, and
747the "step", "next", and "finish" commands handle them automatically.
748
2fae03e8
TT
749* GDB now supports the token-splicing (##) and stringification (#)
750operators when expanding macros. It also supports variable-arity
751macros.
752
47a3467a 753* GDB now supports inspecting extra signal information, exported by
58d6951d
DJ
754the new $_siginfo convenience variable. The feature is currently
755implemented on linux ARM, i386 and amd64.
756
757* GDB can now display the VFP floating point registers and NEON vector
758registers on ARM targets. Both ARM GNU/Linux native GDB and gdbserver
759can provide these registers (requires Linux 2.6.30 or later). Remote
760and simulator targets may also provide them.
47a3467a 761
08388c79
DE
762* New remote packets
763
764qSearch:memory:
765 Search memory for a sequence of bytes.
766
a6f3e723
SL
767QStartNoAckMode
768 Turn off `+'/`-' protocol acknowledgments to permit more efficient
769 operation over reliable transport links. Use of this packet is
770 controlled by the `set remote noack-packet' command.
771
d7713ae0
EZ
772vKill
773 Kill the process with the specified process ID. Use this in preference
774 to `k' when multiprocess protocol extensions are supported.
775
07e059b5
VP
776qXfer:osdata:read
777 Obtains additional operating system information
778
47a3467a
PA
779qXfer:siginfo:read
780qXfer:siginfo:write
781 Read or write additional signal information.
782
060871df
PA
783* Removed remote protocol undocumented extension
784
785 An undocumented extension to the remote protocol's `S' stop reply
786 packet that permited the stub to pass a process id was removed.
787 Remote servers should use the `T' stop reply packet instead.
788
c055b101 789* GDB now supports multiple function calling conventions according to the
a0ef4274 790DWARF-2 DW_AT_calling_convention function attribute.
c055b101
CV
791
792* The SH target utilizes the aforementioned change to distinguish between gcc
a0ef4274
DJ
793and Renesas calling convention. It also adds the new CLI commands
794`set/show sh calling-convention'.
c055b101 795
31fffb02
CS
796* GDB can now read compressed debug sections, as produced by GNU gold
797with the --compress-debug-sections=zlib flag.
798
88d8a8e0
JB
799* 64-bit core files are now supported on AIX.
800
7f99b190
JB
801* Thread switching is now supported on Tru64.
802
ccd213ac
DJ
803* Watchpoints can now be set on unreadable memory locations, e.g. addresses
804which will be allocated using malloc later in program execution.
805
1fddbabb 806* The qXfer:libraries:read remote procotol packet now allows passing a
31fffb02 807list of section offsets.
1fddbabb 808
a0ef4274
DJ
809* On GNU/Linux, GDB can now attach to stopped processes. Several race
810conditions handling signals delivered during attach or thread creation
811have also been fixed.
812
bfb8797a 813* GDB now supports the use of DWARF boolean types for Ada's type Boolean.
158c7665
PH
814From the user's standpoint, all unqualified instances of True and False
815are treated as the standard definitions, regardless of context.
bfb8797a 816
71c25dea
TT
817* GDB now parses C++ symbol and type names more flexibly. For
818example, given:
819
820 template<typename T> class C { };
821 C<char const *> c;
822
823GDB will now correctly handle all of:
824
825 ptype C<char const *>
826 ptype C<char const*>
827 ptype C<const char *>
828 ptype C<const char*>
829
ccd213ac
DJ
830* New features in the GDB remote stub, gdbserver
831
832 - The "--wrapper" command-line argument tells gdbserver to use a
833 wrapper program to launch programs for debugging.
834
7ae0e2a2
UW
835 - On PowerPC and S/390 targets, it is now possible to use a single
836 gdbserver executable to debug both 32-bit and 64-bit programs.
837 (This requires gdbserver itself to be built as a 64-bit executable.)
838
a6f3e723
SL
839 - gdbserver uses the new noack protocol mode for TCP connections to
840 reduce communications latency, if also supported and enabled in GDB.
841
da8bd9a3
DJ
842 - Support for the sparc64-linux-gnu target is now included in
843 gdbserver.
844
d70e31dd
DE
845 - The amd64-linux build of gdbserver now supports debugging both
846 32-bit and 64-bit programs.
847
848 - The i386-linux, amd64-linux, and i386-win32 builds of gdbserver
849 now support hardware watchpoints, and will use them automatically
850 as appropriate.
851
d57a3c85
TJB
852* Python scripting
853
854 GDB now has support for scripting using Python. Whether this is
855 available is determined at configure time.
856
d8906c6f
TJB
857 New GDB commands can now be written in Python.
858
aadc346a
JB
859* Ada tasking support
860
861 Ada tasks can now be inspected in GDB. The following commands have
862 been introduced:
863
864 info tasks
865 Print the list of Ada tasks.
866 info task N
867 Print detailed information about task number N.
868 task
869 Print the task number of the current task.
870 task N
871 Switch the context of debugging to task number N.
872
adb483fe
DJ
873* Support for user-defined prefixed commands. The "define" command can
874add new commands to existing prefixes, e.g. "target".
875
2277426b
PA
876* Multi-inferior, multi-process debugging.
877
878 GDB now has generalized support for multi-inferior debugging. See
879 "Debugging Multiple Inferiors" in the manual for more information.
880 Although availability still depends on target support, the command
881 set is more uniform now. The GNU/Linux specific multi-forks support
882 has been migrated to this new framework. This implied some user
883 visible changes; see "New commands" and also "Removed commands"
884 below.
885
08d16641
PA
886* Target descriptions can now describe the target OS ABI. See the
887"Target Description Format" section in the user manual for more
888information.
889
e35359c5
UW
890* Target descriptions can now describe "compatible" architectures
891to indicate that the target can execute applications for a different
892architecture in addition to those for the main target architecture.
893See the "Target Description Format" section in the user manual for
894more information.
895
85e747d2
UW
896* Multi-architecture debugging.
897
898 GDB now includes general supports for debugging applications on
899 hybrid systems that use more than one single processor architecture
900 at the same time. Each such hybrid architecture still requires
901 specific support to be added. The only hybrid architecture supported
902 in this version of GDB is the Cell Broadband Engine.
903
904* GDB now supports integrated debugging of Cell/B.E. applications that
905use both the PPU and SPU architectures. To enable support for hybrid
906Cell/B.E. debugging, you need to configure GDB to support both the
907powerpc-linux or powerpc64-linux and the spu-elf targets, using the
908--enable-targets configure option.
909
11ade57a
PA
910* Non-stop mode debugging.
911
912 For some targets, GDB now supports an optional mode of operation in
913 which you can examine stopped threads while other threads continue
914 to execute freely. This is referred to as non-stop mode, with the
915 old mode referred to as all-stop mode. See the "Non-Stop Mode"
916 section in the user manual for more information.
917
918 To be able to support remote non-stop debugging, a remote stub needs
919 to implement the non-stop mode remote protocol extensions, as
920 described in the "Remote Non-Stop" section of the user manual. The
921 GDB remote stub, gdbserver, has been adjusted to support these
922 extensions on linux targets.
923
d7713ae0 924* New commands (for set/show, see "New options" below)
75feb17d 925
a96d9b2e
SDJ
926catch syscall [NAME(S) | NUMBER(S)]
927 Catch system calls. Arguments, which should be names of system
928 calls or their numbers, mean catch only those syscalls. Without
929 arguments, every syscall will be caught. When the inferior issues
930 any of the specified syscalls, GDB will stop and announce the system
931 call, both when it is called and when its call returns. This
932 feature is currently available with a native GDB running on the
933 Linux Kernel, under the following architectures: x86, x86_64,
934 PowerPC and PowerPC64.
935
08388c79
DE
936find [/size-char] [/max-count] start-address, end-address|+search-space-size,
937 val1 [, val2, ...]
938 Search memory for a sequence of bytes.
939
d57a3c85
TJB
940maint set python print-stack
941maint show python print-stack
942 Show a stack trace when an error is encountered in a Python script.
943
944python [CODE]
945 Invoke CODE by passing it to the Python interpreter.
946
d7713ae0
EZ
947macro define
948macro list
949macro undef
950 These allow macros to be defined, undefined, and listed
951 interactively.
952
953info os processes
954 Show operating system information about processes.
955
2277426b
PA
956info inferiors
957 List the inferiors currently under GDB's control.
958
959inferior NUM
960 Switch focus to inferior number NUM.
961
962detach inferior NUM
963 Detach from inferior number NUM.
964
965kill inferior NUM
966 Kill inferior number NUM.
967
d7713ae0
EZ
968* New options
969
3285f3fe
UW
970set spu stop-on-load
971show spu stop-on-load
972 Control whether to stop for new SPE threads during Cell/B.E. debugging.
973
ff1a52c6
UW
974set spu auto-flush-cache
975show spu auto-flush-cache
976 Control whether to automatically flush the software-managed cache
977 during Cell/B.E. debugging.
978
d7713ae0
EZ
979set sh calling-convention
980show sh calling-convention
981 Control the calling convention used when calling SH target functions.
982
e0a3ce09 983set debug timestamp
75feb17d 984show debug timestamp
d7713ae0
EZ
985 Control display of timestamps with GDB debugging output.
986
987set disassemble-next-line
988show disassemble-next-line
989 Control display of disassembled source lines or instructions when
990 the debuggee stops.
991
992set remote noack-packet
993show remote noack-packet
994 Set/show the use of remote protocol QStartNoAckMode packet. See above
995 under "New remote packets."
996
997set remote query-attached-packet
998show remote query-attached-packet
999 Control use of remote protocol `qAttached' (query-attached) packet.
1000
1001set remote read-siginfo-object
1002show remote read-siginfo-object
1003 Control use of remote protocol `qXfer:siginfo:read' (read-siginfo-object)
1004 packet.
1005
1006set remote write-siginfo-object
1007show remote write-siginfo-object
1008 Control use of remote protocol `qXfer:siginfo:write' (write-siginfo-object)
1009 packet.
1010
40ab02ce
MS
1011set remote reverse-continue
1012show remote reverse-continue
1013 Control use of remote protocol 'bc' (reverse-continue) packet.
1014
1015set remote reverse-step
1016show remote reverse-step
1017 Control use of remote protocol 'bs' (reverse-step) packet.
1018
d7713ae0
EZ
1019set displaced-stepping
1020show displaced-stepping
1021 Control displaced stepping mode. Displaced stepping is a way to
1022 single-step over breakpoints without removing them from the debuggee.
1023 Also known as "out-of-line single-stepping".
1024
1025set debug displaced
1026show debug displaced
1027 Control display of debugging info for displaced stepping.
1028
1029maint set internal-error
1030maint show internal-error
1031 Control what GDB does when an internal error is detected.
1032
1033maint set internal-warning
1034maint show internal-warning
1035 Control what GDB does when an internal warning is detected.
75feb17d 1036
ccd213ac
DJ
1037set exec-wrapper
1038show exec-wrapper
1039unset exec-wrapper
1040 Use a wrapper program to launch programs for debugging.
fa4727a6 1041
aad4b048
JB
1042set multiple-symbols (all|ask|cancel)
1043show multiple-symbols
1044 The value of this variable can be changed to adjust the debugger behavior
1045 when an expression or a breakpoint location contains an ambiguous symbol
1046 name (an overloaded function name, for instance).
1047
74960c60
VP
1048set breakpoint always-inserted
1049show breakpoint always-inserted
1050 Keep breakpoints always inserted in the target, as opposed to inserting
1051 them when resuming the target, and removing them when the target stops.
1052 This option can improve debugger performance on slow remote targets.
1053
0428b8f5
DJ
1054set arm fallback-mode (arm|thumb|auto)
1055show arm fallback-mode
1056set arm force-mode (arm|thumb|auto)
1057show arm force-mode
1058 These commands control how ARM GDB determines whether instructions
1059 are ARM or Thumb. The default for both settings is auto, which uses
1060 the current CPSR value for instructions without symbols; previous
1061 versions of GDB behaved as if "set arm fallback-mode arm".
1062
10568435
JK
1063set disable-randomization
1064show disable-randomization
1065 Standalone programs run with the virtual address space randomization enabled
1066 by default on some platforms. This option keeps the addresses stable across
1067 multiple debugging sessions.
1068
d7713ae0
EZ
1069set non-stop
1070show non-stop
1071 Control whether other threads are stopped or not when some thread hits
1072 a breakpoint.
1073
b3eb342c 1074set target-async
d7713ae0 1075show target-async
b3eb342c
VP
1076 Requests that asynchronous execution is enabled in the target, if available.
1077 In this case, it's possible to resume target in the background, and interact
1078 with GDB while the target is running. "show target-async" displays the
1079 current state of asynchronous execution of the target.
1080
6c7a06a3
TT
1081set target-wide-charset
1082show target-wide-charset
1083 The target-wide-charset is the name of the character set that GDB
1084 uses when printing characters whose type is wchar_t.
1085
84603566
SL
1086set tcp auto-retry (on|off)
1087show tcp auto-retry
1088set tcp connect-timeout
1089show tcp connect-timeout
1090 These commands allow GDB to retry failed TCP connections to a remote stub
1091 with a specified timeout period; this is useful if the stub is launched
1092 in parallel with GDB but may not be ready to accept connections immediately.
1093
17a37d48
PP
1094set libthread-db-search-path
1095show libthread-db-search-path
1096 Control list of directories which GDB will search for appropriate
1097 libthread_db.
1098
d4db2f36
PA
1099set schedule-multiple (on|off)
1100show schedule-multiple
1101 Allow GDB to resume all threads of all processes or only threads of
1102 the current process.
1103
4e5d721f
DE
1104set stack-cache
1105show stack-cache
1106 Use more aggressive caching for accesses to the stack. This improves
1107 performance of remote debugging (particularly backtraces) without
1108 affecting correctness.
1109
910c5da8
JB
1110set interactive-mode (on|off|auto)
1111show interactive-mode
1112 Control whether GDB runs in interactive mode (on) or not (off).
1113 When in interactive mode, GDB waits for the user to answer all
1114 queries. Otherwise, GDB does not wait and assumes the default
1115 answer. When set to auto (the default), GDB determines which
1116 mode to use based on the stdin settings.
1117
2277426b
PA
1118* Removed commands
1119
1120info forks
1121 For program forks, this is replaced by the new more generic `info
1122 inferiors' command. To list checkpoints, you can still use the
1123 `info checkpoints' command, which was an alias for the `info forks'
1124 command.
1125
1126fork NUM
1127 Replaced by the new `inferior' command. To switch between
1128 checkpoints, you can still use the `restart' command, which was an
1129 alias for the `fork' command.
1130
1131process PID
1132 This is removed, since some targets don't have a notion of
1133 processes. To switch between processes, you can still use the
1134 `inferior' command using GDB's own inferior number.
1135
1136delete fork NUM
1137 For program forks, this is replaced by the new more generic `kill
1138 inferior' command. To delete a checkpoint, you can still use the
1139 `delete checkpoint' command, which was an alias for the `delete
1140 fork' command.
1141
1142detach fork NUM
1143 For program forks, this is replaced by the new more generic `detach
1144 inferior' command. To detach a checkpoint, you can still use the
1145 `detach checkpoint' command, which was an alias for the `detach
1146 fork' command.
1147
a80b95ba
TG
1148* New native configurations
1149
1150x86/x86_64 Darwin i[34567]86-*-darwin*
1151
b8bfd3ed
JB
1152x86_64 MinGW x86_64-*-mingw*
1153
75a2d5e7
TT
1154* New targets
1155
c28c63d8 1156Lattice Mico32 lm32-*
75a2d5e7 1157x86 DICOS i[34567]86-*-dicos*
4c1d2973 1158x86_64 DICOS x86_64-*-dicos*
5f814c3b 1159S+core 3 score-*-*
75a2d5e7 1160
6de3146c
PA
1161* The GDB remote stub, gdbserver, now supports x86 Windows CE
1162 (mingw32ce) debugging.
1163
d5cbbe6e
JB
1164* Removed commands
1165
1166catch load
1167catch unload
1168 These commands were actually not implemented on any target.
1169
75feb17d 1170*** Changes in GDB 6.8
f9ed52be 1171
af5ca30d
NH
1172* New native configurations
1173
1174NetBSD/hppa hppa*-*netbsd*
94a0e877 1175Xtensa GNU/Linux xtensa*-*-linux*
af5ca30d
NH
1176
1177* New targets
1178
1179NetBSD/hppa hppa*-*-netbsd*
94a0e877 1180Xtensa GNU/Lunux xtensa*-*-linux*
af5ca30d 1181
7a404eba
PA
1182* Change in command line behavior -- corefiles vs. process ids.
1183
1184 When the '-p NUMBER' or '--pid NUMBER' options are used, and
1185 attaching to process NUMBER fails, GDB no longer attempts to open a
1186 core file named NUMBER. Attaching to a program using the -c option
1187 is no longer supported. Instead, use the '-p' or '--pid' options.
1188
430ebac9
PA
1189* GDB can now be built as a native debugger for debugging Windows x86
1190(mingw32) Portable Executable (PE) programs.
1191
fe6fbf8b 1192* Pending breakpoints no longer change their number when their address
8d5f9c6f 1193is resolved.
fe6fbf8b
VP
1194
1195* GDB now supports breakpoints with multiple locations,
8d5f9c6f
DJ
1196including breakpoints on C++ constructors, inside C++ templates,
1197and in inlined functions.
fe6fbf8b 1198
10665d76
JB
1199* GDB's ability to debug optimized code has been improved. GDB more
1200accurately identifies function bodies and lexical blocks that occupy
1201more than one contiguous range of addresses.
1202
7cc46491
DJ
1203* Target descriptions can now describe registers for PowerPC.
1204
d71340b8
DJ
1205* The GDB remote stub, gdbserver, now supports the AltiVec and SPE
1206registers on PowerPC targets.
1207
523c4513
DJ
1208* The GDB remote stub, gdbserver, now supports thread debugging on GNU/Linux
1209targets even when the libthread_db library is not available.
1210
a6b151f1
DJ
1211* The GDB remote stub, gdbserver, now supports the new file transfer
1212commands (remote put, remote get, and remote delete).
1213
2d717e4f
DJ
1214* The GDB remote stub, gdbserver, now supports run and attach in
1215extended-remote mode.
1216
24a836bd 1217* hppa*64*-*-hpux11* target broken
d001be7a
DJ
1218The debugger is unable to start a program and fails with the following
1219error: "Error trying to get information about dynamic linker".
1220The gdb-6.7 release is also affected.
24a836bd 1221
d0c678e6
UW
1222* GDB now supports the --enable-targets= configure option to allow
1223building a single GDB executable that supports multiple remote
1224target architectures.
1225
d64a946d
TJB
1226* GDB now supports debugging C and C++ programs which use the
1227Decimal Floating Point extension. In addition, the PowerPC target
1228now has a set of pseudo-registers to inspect decimal float values
1229stored in two consecutive float registers.
1230
ee163bf5
VP
1231* The -break-insert MI command can optionally create pending
1232breakpoints now.
1233
b93b6ca7 1234* Improved support for debugging Ada
d001be7a
DJ
1235Many improvements to the Ada language support have been made. These
1236include:
b93b6ca7
JB
1237 - Better support for Ada2005 interface types
1238 - Improved handling of arrays and slices in general
1239 - Better support for Taft-amendment types
1240 - The '{type} ADDRESS' expression is now allowed on the left hand-side
1241 of an assignment
1242 - Improved command completion in Ada
1243 - Several bug fixes
1244
d001be7a
DJ
1245* GDB on GNU/Linux and HP/UX can now debug through "exec" of a new
1246process.
1247
a6b151f1
DJ
1248* New commands
1249
6d53d0af
JB
1250set print frame-arguments (all|scalars|none)
1251show print frame-arguments
1252 The value of this variable can be changed to control which argument
1253 values should be printed by the debugger when displaying a frame.
1254
a6b151f1
DJ
1255remote put
1256remote get
1257remote delete
1258 Transfer files to and from a remote target, and delete remote files.
1259
1260* New MI commands
1261
1262-target-file-put
1263-target-file-get
1264-target-file-delete
1265 Transfer files to and from a remote target, and delete remote files.
1266
1267* New remote packets
1268
1269vFile:open:
1270vFile:close:
1271vFile:pread:
1272vFile:pwrite:
1273vFile:unlink:
1274 Open, close, read, write, and delete files on the remote system.
d0c678e6 1275
2d717e4f
DJ
1276vAttach
1277 Attach to an existing process on the remote system, in extended-remote
1278 mode.
1279
1280vRun
1281 Run a new process on the remote system, in extended-remote mode.
1282
8d5f9c6f 1283*** Changes in GDB 6.7
6dd09645 1284
19d378fc
MS
1285* Resolved 101 resource leaks, null pointer dereferences, etc. in gdb,
1286bfd, libiberty and opcodes, as revealed by static analysis donated by
1287Coverity, Inc. (http://scan.coverity.com).
1288
3a40aaa0
UW
1289* When looking up multiply-defined global symbols, GDB will now prefer the
1290symbol definition in the current shared library if it was built using the
1291-Bsymbolic linker option.
1292
a6ec25f2
BW
1293* When the Text User Interface (TUI) is not configured, GDB will now
1294recognize the -tui command-line option and print a message that the TUI
1295is not supported.
1296
6dd09645
JB
1297* The GDB remote stub, gdbserver, now has lower overhead for high
1298frequency signals (e.g. SIGALRM) via the QPassSignals packet.
1299
c9bb8148
DJ
1300* GDB for MIPS targets now autodetects whether a remote target provides
130132-bit or 64-bit register values.
1302
0d5de010
DJ
1303* Support for C++ member pointers has been improved.
1304
23181151
DJ
1305* GDB now understands XML target descriptions, which specify the
1306target's overall architecture. GDB can read a description from
1307a local file or over the remote serial protocol.
1308
ea37ba09
DJ
1309* Vectors of single-byte data use a new integer type which is not
1310automatically displayed as character or string data.
1311
1312* The /s format now works with the print command. It displays
1313arrays of single-byte integers and pointers to single-byte integers
1314as strings.
e1f48ead 1315
123dc839
DJ
1316* Target descriptions can now describe target-specific registers,
1317for architectures which have implemented the support (currently
8d5f9c6f 1318only ARM, M68K, and MIPS).
123dc839 1319
05a4558a
DJ
1320* GDB and the GDB remote stub, gdbserver, now support the XScale
1321iWMMXt coprocessor.
fb1e4ffc 1322
7c963485
PA
1323* The GDB remote stub, gdbserver, has been updated to support
1324ARM Windows CE (mingw32ce) debugging, and GDB Windows CE support
1325has been rewritten to use the standard GDB remote protocol.
1326
b18be20d
DJ
1327* GDB can now step into C++ functions which are called through thunks.
1328
0ca420ce
UW
1329* GDB for the Cell/B.E. SPU now supports overlay debugging.
1330
31d99776
DJ
1331* The GDB remote protocol "qOffsets" packet can now honor ELF segment
1332layout. It also supports a TextSeg= and DataSeg= response when only
1333segment base addresses (rather than offsets) are available.
1334
a4642986
MR
1335* The /i format now outputs any trailing branch delay slot instructions
1336immediately following the last instruction within the count specified.
1337
cfa9d6d9
DJ
1338* The GDB remote protocol "T" stop reply packet now supports a
1339"library" response. Combined with the new "qXfer:libraries:read"
1340packet, this response allows GDB to debug shared libraries on targets
1341where the operating system manages the list of loaded libraries (e.g.
1342Windows and SymbianOS).
255e7678
DJ
1343
1344* The GDB remote stub, gdbserver, now supports dynamic link libraries
1345(DLLs) on Windows and Windows CE targets.
f5db8714
JK
1346
1347* GDB now supports a faster verification that a .debug file matches its binary
1348according to its build-id signature, if the signature is present.
cfa9d6d9 1349
c9bb8148
DJ
1350* New commands
1351
23776285
MR
1352set remoteflow
1353show remoteflow
1354 Enable or disable hardware flow control (RTS/CTS) on the serial port
1355 when debugging using remote targets.
1356
c9bb8148
DJ
1357set mem inaccessible-by-default
1358show mem inaccessible-by-default
1359 If the target supplies a memory map, for instance via the remote
1360 protocol's "qXfer:memory-map:read" packet, setting this variable
1361 prevents GDB from accessing memory outside the memory map. This
1362 is useful for targets with memory mapped registers or which react
1363 badly to accesses of unmapped address space.
1364
1365set breakpoint auto-hw
1366show breakpoint auto-hw
1367 If the target supplies a memory map, for instance via the remote
1368 protocol's "qXfer:memory-map:read" packet, setting this variable
1369 lets GDB use hardware breakpoints automatically for memory regions
1370 where it can not use software breakpoints. This covers both the
1371 "break" command and internal breakpoints used for other commands
1372 including "next" and "finish".
1373
0e420bd8
JB
1374catch exception
1375catch exception unhandled
1376 Stop the program execution when Ada exceptions are raised.
1377
1378catch assert
1379 Stop the program execution when an Ada assertion failed.
1380
f822c95b
DJ
1381set sysroot
1382show sysroot
1383 Set an alternate system root for target files. This is a more
1384 general version of "set solib-absolute-prefix", which is now
1385 an alias to "set sysroot".
1386
83cc5c53
UW
1387info spu
1388 Provide extended SPU facility status information. This set of
1389 commands is available only when debugging the Cell/B.E. SPU
1390 architecture.
1391
bd372731
MK
1392* New native configurations
1393
1394OpenBSD/sh sh*-*openbsd*
1395
23181151
DJ
1396set tdesc filename
1397unset tdesc filename
1398show tdesc filename
1399 Use the specified local file as an XML target description, and do
1400 not query the target for its built-in description.
1401
c9bb8148
DJ
1402* New targets
1403
54fe9172 1404OpenBSD/sh sh*-*-openbsd*
c9bb8148 1405MIPS64 GNU/Linux (gdbserver) mips64-linux-gnu
c077150c 1406Toshiba Media Processor mep-elf
c9bb8148 1407
6dd09645
JB
1408* New remote packets
1409
1410QPassSignals:
1411 Ignore the specified signals; pass them directly to the debugged program
1412 without stopping other threads or reporting them to GDB.
1413
23181151
DJ
1414qXfer:features:read:
1415 Read an XML target description from the target, which describes its
1416 features.
6dd09645 1417
83cc5c53
UW
1418qXfer:spu:read:
1419qXfer:spu:write:
1420 Read or write contents of an spufs file on the target system. These
1421 packets are available only on the Cell/B.E. SPU architecture.
1422
cfa9d6d9
DJ
1423qXfer:libraries:read:
1424 Report the loaded shared libraries. Combined with new "T" packet
1425 response, this packet allows GDB to debug shared libraries on
1426 targets where the operating system manages the list of loaded
1427 libraries (e.g. Windows and SymbianOS).
1428
483367ee
DJ
1429* Removed targets
1430
1431Support for these obsolete configurations has been removed.
1432
d08950c4
UW
1433alpha*-*-osf1*
1434alpha*-*-osf2*
7ce59000 1435d10v-*-*
483367ee
DJ
1436hppa*-*-hiux*
1437i[34567]86-ncr-*
1438i[34567]86-*-dgux*
1439i[34567]86-*-lynxos*
1440i[34567]86-*-netware*
1441i[34567]86-*-sco3.2v5*
1442i[34567]86-*-sco3.2v4*
1443i[34567]86-*-sco*
1444i[34567]86-*-sysv4.2*
1445i[34567]86-*-sysv4*
1446i[34567]86-*-sysv5*
1447i[34567]86-*-unixware2*
1448i[34567]86-*-unixware*
1449i[34567]86-*-sysv*
1450i[34567]86-*-isc*
1451m68*-cisco*-*
1452m68*-tandem-*
ad527d2e 1453mips*-*-pe
483367ee 1454rs6000-*-lynxos*
ad527d2e 1455sh*-*-pe
483367ee 1456
7ce59000
DJ
1457* Other removed features
1458
1459target abug
1460target cpu32bug
1461target est
1462target rom68k
1463
1464 Various m68k-only ROM monitors.
1465
ea35711c
DJ
1466target hms
1467target e7000
1468target sh3
1469target sh3e
1470
1471 Various Renesas ROM monitors and debugging interfaces for SH and
1472 H8/300.
1473
1474target ocd
1475
1476 Support for a Macraigor serial interface to on-chip debugging.
1477 GDB does not directly support the newer parallel or USB
1478 interfaces.
1479
7ce59000
DJ
1480DWARF 1 support
1481
1482 A debug information format. The predecessor to DWARF 2 and
1483 DWARF 3, which are still supported.
1484
54d61198
DJ
1485Support for the HP aCC compiler on HP-UX/PA-RISC
1486
1487 SOM-encapsulated symbolic debugging information, automatic
1488 invocation of pxdb, and the aCC custom C++ ABI. This does not
1489 affect HP-UX for Itanium or GCC for HP-UX/PA-RISC. Code compiled
1490 with aCC can still be debugged on an assembly level.
1491
ea35711c
DJ
1492MIPS ".pdr" sections
1493
1494 A MIPS-specific format used to describe stack frame layout
1495 in debugging information.
1496
1497Scheme support
1498
1499 GDB could work with an older version of Guile to debug
1500 the interpreter and Scheme programs running in it.
1501
1a69e1e4
DJ
1502set mips stack-arg-size
1503set mips saved-gpreg-size
1504
1505 Use "set mips abi" to control parameter passing for MIPS.
1506
6dd09645 1507*** Changes in GDB 6.6
e374b601 1508
ca3bf3bd
DJ
1509* New targets
1510
1511Xtensa xtensa-elf
9c309e77 1512Cell Broadband Engine SPU spu-elf
ca3bf3bd 1513
6aec2e11
DJ
1514* GDB can now be configured as a cross-debugger targeting native Windows
1515(mingw32) or Cygwin. It can communicate with a remote debugging stub
1516running on a Windows system over TCP/IP to debug Windows programs.
1517
1518* The GDB remote stub, gdbserver, has been updated to support Windows and
1519Cygwin debugging. Both single-threaded and multi-threaded programs are
1520supported.
1521
17218d91
DJ
1522* The "set trust-readonly-sections" command works again. This command was
1523broken in GDB 6.3, 6.4, and 6.5.
1524
9ebce043
DJ
1525* The "load" command now supports writing to flash memory, if the remote
1526stub provides the required support.
1527
7d3d3ece
DJ
1528* Support for GNU/Linux Thread Local Storage (TLS, per-thread variables) no
1529longer requires symbolic debug information (e.g. DWARF-2).
1530
4f8253f3
JB
1531* New commands
1532
1533set substitute-path
1534unset substitute-path
1535show substitute-path
1536 Manage a list of substitution rules that GDB uses to rewrite the name
1537 of the directories where the sources are located. This can be useful
1538 for instance when the sources were moved to a different location
1539 between compilation and debugging.
1540
9fa66fd7
AS
1541set trace-commands
1542show trace-commands
1543 Print each CLI command as it is executed. Each command is prefixed with
1544 a number of `+' symbols representing the nesting depth.
1545 The source command now has a `-v' option to enable the same feature.
1546
1f5befc1
DJ
1547* REMOVED features
1548
1549The ARM Demon monitor support (RDP protocol, "target rdp").
1550
2ec3381a
DJ
1551Kernel Object Display, an embedded debugging feature which only worked with
1552an obsolete version of Cisco IOS.
1553
3d00d119
DJ
1554The 'set download-write-size' and 'show download-write-size' commands.
1555
be2a5f71
DJ
1556* New remote packets
1557
1558qSupported:
1559 Tell a stub about GDB client features, and request remote target features.
1560 The first feature implemented is PacketSize, which allows the target to
1561 specify the size of packets it can handle - to minimize the number of
1562 packets required and improve performance when connected to a remote
1563 target.
1564
0876f84a
DJ
1565qXfer:auxv:read:
1566 Fetch an OS auxilliary vector from the remote stub. This packet is a
1567 more efficient replacement for qPart:auxv:read.
1568
9ebce043
DJ
1569qXfer:memory-map:read:
1570 Fetch a memory map from the remote stub, including information about
1571 RAM, ROM, and flash memory devices.
1572
1573vFlashErase:
1574vFlashWrite:
1575vFlashDone:
1576 Erase and program a flash memory device.
1577
0876f84a
DJ
1578* Removed remote packets
1579
1580qPart:auxv:read:
1581 This packet has been replaced by qXfer:auxv:read. Only GDB 6.4 and 6.5
1582 used it, and only gdbserver implemented it.
1583
e374b601 1584*** Changes in GDB 6.5
53e5f3cf 1585
96309189
MS
1586* New targets
1587
1588Renesas M32C/M16C m32c-elf
1589
1590Morpho Technologies ms1 ms1-elf
1591
53e5f3cf
AS
1592* New commands
1593
1594init-if-undefined Initialize a convenience variable, but
1595 only if it doesn't already have a value.
1596
ac264b3b
MS
1597The following commands are presently only implemented for native GNU/Linux:
1598
1599checkpoint Save a snapshot of the program state.
1600
1601restart <n> Return the program state to a
1602 previously saved state.
1603
1604info checkpoints List currently saved checkpoints.
1605
1606delete-checkpoint <n> Delete a previously saved checkpoint.
1607
1608set|show detach-on-fork Tell gdb whether to detach from a newly
1609 forked process, or to keep debugging it.
1610
1611info forks List forks of the user program that
1612 are available to be debugged.
1613
1614fork <n> Switch to debugging one of several
1615 forks of the user program that are
1616 available to be debugged.
1617
1618delete-fork <n> Delete a fork from the list of forks
1619 that are available to be debugged (and
1620 kill the forked process).
1621
1622detach-fork <n> Delete a fork from the list of forks
1623 that are available to be debugged (and
1624 allow the process to continue).
1625
3950dc3f
NS
1626* New architecture
1627
1628Morpho Technologies ms2 ms1-elf
1629
0ea3f30e
DJ
1630* Improved Windows host support
1631
1632GDB now builds as a cross debugger hosted on i686-mingw32, including
1633native console support, and remote communications using either
1634network sockets or serial ports.
1635
f79daebb
GM
1636* Improved Modula-2 language support
1637
1638GDB can now print most types in the Modula-2 syntax. This includes:
1639basic types, set types, record types, enumerated types, range types,
1640pointer types and ARRAY types. Procedure var parameters are correctly
1641printed and hexadecimal addresses and character constants are also
1642written in the Modula-2 syntax. Best results can be obtained by using
1643GNU Modula-2 together with the -gdwarf-2 command line option.
1644
acab6ab2
MM
1645* REMOVED features
1646
1647The ARM rdi-share module.
1648
f4267320
DJ
1649The Netware NLM debug server.
1650
53e5f3cf 1651*** Changes in GDB 6.4
156a53ca 1652
e0ecbda1
MK
1653* New native configurations
1654
02a677ac 1655OpenBSD/arm arm*-*-openbsd*
e0ecbda1
MK
1656OpenBSD/mips64 mips64-*-openbsd*
1657
d64a6579
KB
1658* New targets
1659
1660Morpho Technologies ms1 ms1-elf
1661
b33a6190
AS
1662* New command line options
1663
1664--batch-silent As for --batch, but totally silent.
1665--return-child-result The debugger will exist with the same value
1666 the child (debugged) program exited with.
1667--eval-command COMMAND, -ex COMMAND
1668 Execute a single GDB CLI command. This may be
1669 specified multiple times and in conjunction
1670 with the --command (-x) option.
1671
11dced61
AC
1672* Deprecated commands removed
1673
1674The following commands, that were deprecated in 2000, have been
1675removed:
1676
1677 Command Replacement
1678 set|show arm disassembly-flavor set|show arm disassembler
1679 othernames set arm disassembler
1680 set|show remotedebug set|show debug remote
1681 set|show archdebug set|show debug arch
1682 set|show eventdebug set|show debug event
1683 regs info registers
1684
6fe85783
MK
1685* New BSD user-level threads support
1686
1687It is now possible to debug programs using the user-level threads
1688library on OpenBSD and FreeBSD. Currently supported (target)
1689configurations are:
1690
1691FreeBSD/amd64 x86_64-*-freebsd*
1692FreeBSD/i386 i386-*-freebsd*
1693OpenBSD/i386 i386-*-openbsd*
1694
1695Note that the new kernel threads libraries introduced in FreeBSD 5.x
1696are not yet supported.
1697
5260ca71
MS
1698* New support for Matsushita MN10300 w/sim added
1699(Work in progress). mn10300-elf.
1700
e84ecc99
AC
1701* REMOVED configurations and files
1702
1703VxWorks and the XDR protocol *-*-vxworks
9445aa30 1704Motorola MCORE mcore-*-*
9445aa30 1705National Semiconductor NS32000 ns32k-*-*
156a53ca 1706
31e35378
JB
1707* New "set print array-indexes" command
1708
1709After turning this setting "on", GDB prints the index of each element
1710when displaying arrays. The default is "off" to preserve the previous
1711behavior.
1712
e85e5c83
MK
1713* VAX floating point support
1714
1715GDB now supports the not-quite-ieee VAX F and D floating point formats.
1716
d91e9901
AS
1717* User-defined command support
1718
1719In addition to using $arg0..$arg9 for argument passing, it is now possible
1720to use $argc to determine now many arguments have been passed. See the
1721section on user-defined commands in the user manual for more information.
1722
f2cb65ca
MC
1723*** Changes in GDB 6.3:
1724
f47b1503
AS
1725* New command line option
1726
1727GDB now accepts -l followed by a number to set the timeout for remote
1728debugging.
1729
f2cb65ca
MC
1730* GDB works with GCC -feliminate-dwarf2-dups
1731
1732GDB now supports a more compact representation of DWARF-2 debug
1733information using DW_FORM_ref_addr references. These are produced
1734by GCC with the option -feliminate-dwarf2-dups and also by some
1735proprietary compilers. With GCC, you must use GCC 3.3.4 or later
1736to use -feliminate-dwarf2-dups.
860660cb 1737
d08c0230
AC
1738* Internationalization
1739
1740When supported by the host system, GDB will be built with
1741internationalization (libintl). The task of marking up the sources is
1742continued, we're looking forward to our first translation.
1743
117ea3cf
PH
1744* Ada
1745
1746Initial support for debugging programs compiled with the GNAT
1747implementation of the Ada programming language has been integrated
1748into GDB. In this release, support is limited to expression evaluation.
1749
d08c0230
AC
1750* New native configurations
1751
1752GNU/Linux/m32r m32r-*-linux-gnu
1753
1754* Remote 'p' packet
1755
1756GDB's remote protocol now includes support for the 'p' packet. This
1757packet is used to fetch individual registers from a remote inferior.
1758
1759* END-OF-LIFE registers[] compatibility module
1760
1761GDB's internal register infrastructure has been completely rewritten.
1762The new infrastructure making possible the implementation of key new
1763features including 32x64 (e.g., 64-bit amd64 GDB debugging a 32-bit
1764i386 application).
1765
1766GDB 6.3 will be the last release to include the the registers[]
1767compatibility module that allowed out-of-date configurations to
1768continue to work. This change directly impacts the following
1769configurations:
1770
1771hppa-*-hpux
1772ia64-*-aix
1773mips-*-irix*
1774*-*-lynx
1775mips-*-linux-gnu
1776sds protocol
1777xdr protocol
1778powerpc bdm protocol
1779
1780Unless there is activity to revive these configurations, they will be
1781made OBSOLETE in GDB 6.4, and REMOVED from GDB 6.5.
1782
1783* OBSOLETE configurations and files
1784
1785Configurations that have been declared obsolete in this release have
1786been commented out. Unless there is activity to revive these
1787configurations, the next release of GDB will have their sources
1788permanently REMOVED.
1789
1790h8300-*-*
1791mcore-*-*
1792mn10300-*-*
1793ns32k-*-*
1794sh64-*-*
1795v850-*-*
1796
ebb7c577
AC
1797*** Changes in GDB 6.2.1:
1798
1799* MIPS `break main; run' gave an heuristic-fence-post warning
1800
1801When attempting to run even a simple program, a warning about
1802heuristic-fence-post being hit would be reported. This problem has
1803been fixed.
1804
1805* MIPS IRIX 'long double' crashed GDB
1806
1807When examining a long double variable, GDB would get a segmentation
1808fault. The crash has been fixed (but GDB 6.2 cannot correctly examine
1809IRIX long double values).
1810
1811* VAX and "next"
1812
1813A bug in the VAX stack code was causing problems with the "next"
1814command. This problem has been fixed.
1815
860660cb 1816*** Changes in GDB 6.2:
faae5abe 1817
0dea2468
AC
1818* Fix for ``many threads''
1819
1820On GNU/Linux systems that use the NPTL threads library, a program
1821rapidly creating and deleting threads would confuse GDB leading to the
1822error message:
1823
1824 ptrace: No such process.
1825 thread_db_get_info: cannot get thread info: generic error
1826
1827This problem has been fixed.
1828
2c07db7a
AC
1829* "-async" and "-noasync" options removed.
1830
1831Support for the broken "-noasync" option has been removed (it caused
1832GDB to dump core).
1833
c23968a2
JB
1834* New ``start'' command.
1835
1836This command runs the program until the begining of the main procedure.
1837
71009278
MK
1838* New BSD Kernel Data Access Library (libkvm) interface
1839
1840Using ``target kvm'' it is now possible to debug kernel core dumps and
1841live kernel memory images on various FreeBSD, NetBSD and OpenBSD
1842platforms. Currently supported (native-only) configurations are:
1843
1844FreeBSD/amd64 x86_64-*-freebsd*
1845FreeBSD/i386 i?86-*-freebsd*
1846NetBSD/i386 i?86-*-netbsd*
1847NetBSD/m68k m68*-*-netbsd*
1848NetBSD/sparc sparc-*-netbsd*
1849OpenBSD/amd64 x86_64-*-openbsd*
1850OpenBSD/i386 i?86-*-openbsd*
1851OpenBSD/m68k m68*-openbsd*
1852OpenBSD/sparc sparc-*-openbsd*
1853
3c0b7db2
AC
1854* Signal trampoline code overhauled
1855
1856Many generic problems with GDB's signal handling code have been fixed.
1857These include: backtraces through non-contiguous stacks; recognition
1858of sa_sigaction signal trampolines; backtrace from a NULL pointer
1859call; backtrace through a signal trampoline; step into and out of
1860signal handlers; and single-stepping in the signal trampoline.
1861
73cc75f3
AC
1862Please note that kernel bugs are a limiting factor here. These
1863features have been shown to work on an s390 GNU/Linux system that
1864include a 2.6.8-rc1 kernel. Ref PR breakpoints/1702.
3c0b7db2 1865
7243600a
BF
1866* Cygwin support for DWARF 2 added.
1867
6f606e1c
MK
1868* New native configurations
1869
97dc871c 1870GNU/Linux/hppa hppa*-*-linux*
0e56aeaf 1871OpenBSD/hppa hppa*-*-openbsd*
bf2ca189
MK
1872OpenBSD/m68k m68*-*-openbsd*
1873OpenBSD/m88k m88*-*-openbsd*
d195bc9f 1874OpenBSD/powerpc powerpc-*-openbsd*
6f606e1c 1875NetBSD/vax vax-*-netbsd*
9f076e7a 1876OpenBSD/vax vax-*-openbsd*
6f606e1c 1877
a1b461bf
AC
1878* END-OF-LIFE frame compatibility module
1879
1880GDB's internal frame infrastructure has been completely rewritten.
1881The new infrastructure making it possible to support key new features
1882including DWARF 2 Call Frame Information. To aid in the task of
1883migrating old configurations to this new infrastructure, a
1884compatibility module, that allowed old configurations to continue to
1885work, was also included.
1886
1887GDB 6.2 will be the last release to include this frame compatibility
1888module. This change directly impacts the following configurations:
1889
1890h8300-*-*
1891mcore-*-*
1892mn10300-*-*
1893ns32k-*-*
1894sh64-*-*
1895v850-*-*
1896xstormy16-*-*
1897
1898Unless there is activity to revive these configurations, they will be
1899made OBSOLETE in GDB 6.3, and REMOVED from GDB 6.4.
1900
3c7012f5
AC
1901* REMOVED configurations and files
1902
1903Sun 3, running SunOS 3 m68*-*-sunos3*
1904Sun 3, running SunOS 4 m68*-*-sunos4*
1905Sun 2, running SunOS 3 m68000-*-sunos3*
1906Sun 2, running SunOS 4 m68000-*-sunos4*
1907Motorola 680x0 running LynxOS m68*-*-lynxos*
1908AT&T 3b1/Unix pc m68*-att-*
1909Bull DPX2 (68k, System V release 3) m68*-bull-sysv*
1910decstation mips-dec-* mips-little-*
1911riscos mips-*-riscos* mips-*-sysv*
1912sonymips mips-sony-*
1913sysv mips*-*-sysv4* (IRIX 5/6 not included)
1914
e5fe55f7
AC
1915*** Changes in GDB 6.1.1:
1916
1917* TUI (Text-mode User Interface) built-in (also included in GDB 6.1)
1918
1919The TUI (Text-mode User Interface) is now built as part of a default
1920GDB configuration. It is enabled by either selecting the TUI with the
1921command line option "-i=tui" or by running the separate "gdbtui"
1922program. For more information on the TUI, see the manual "Debugging
1923with GDB".
1924
1925* Pending breakpoint support (also included in GDB 6.1)
1926
1927Support has been added to allow you to specify breakpoints in shared
1928libraries that have not yet been loaded. If a breakpoint location
1929cannot be found, and the "breakpoint pending" option is set to auto,
1930GDB queries you if you wish to make the breakpoint pending on a future
1931shared-library load. If and when GDB resolves the breakpoint symbol,
1932the pending breakpoint is removed as one or more regular breakpoints
1933are created.
1934
1935Pending breakpoints are very useful for GCJ Java debugging.
1936
1937* Fixed ISO-C build problems
1938
1939The files bfd/elf-bfd.h, gdb/dictionary.c and gdb/types.c contained
1940non ISO-C code that stopped them being built using a more strict ISO-C
1941compiler (e.g., IBM's C compiler).
1942
1943* Fixed build problem on IRIX 5
1944
1945Due to header problems with <sys/proc.h>, the file gdb/proc-api.c
1946wasn't able to compile compile on an IRIX 5 system.
1947
1948* Added execute permission to gdb/gdbserver/configure
1949
1950The shell script gdb/testsuite/gdb.stabs/configure lacked execute
1951permission. This bug would cause configure to fail on a number of
1952systems (Solaris, IRIX). Ref: server/519.
1953
1954* Fixed build problem on hpux2.0w-hp-hpux11.00 using the HP ANSI C compiler
1955
1956Older HPUX ANSI C compilers did not accept variable array sizes. somsolib.c
1957has been updated to use constant array sizes.
1958
1959* Fixed a panic in the DWARF Call Frame Info code on Solaris 2.7
1960
1961GCC 3.3.2, on Solaris 2.7, includes the DW_EH_PE_funcrel encoding in
1962its generated DWARF Call Frame Info. This encoding was causing GDB to
1963panic, that panic has been fixed. Ref: gdb/1628.
1964
1965* Fixed a problem when examining parameters in shared library code.
1966
1967When examining parameters in optimized shared library code generated
1968by a mainline GCC, GDB would incorrectly report ``Variable "..." is
1969not available''. GDB now correctly displays the variable's value.
1970
faae5abe 1971*** Changes in GDB 6.1:
f2c06f52 1972
9175c9a3
MC
1973* Removed --with-mmalloc
1974
1975Support for the mmalloc memory manager has been removed, as it
1976conflicted with the internal gdb byte cache.
1977
3cc87ec0
MK
1978* Changes in AMD64 configurations
1979
1980The AMD64 target now includes the %cs and %ss registers. As a result
1981the AMD64 remote protocol has changed; this affects the floating-point
1982and SSE registers. If you rely on those registers for your debugging,
1983you should upgrade gdbserver on the remote side.
1984
f0424ef6
MK
1985* Revised SPARC target
1986
1987The SPARC target has been completely revised, incorporating the
1988FreeBSD/sparc64 support that was added for GDB 6.0. As a result
03cebad2
MK
1989support for LynxOS and SunOS 4 has been dropped. Calling functions
1990from within GDB on operating systems with a non-executable stack
1991(Solaris, OpenBSD) now works.
f0424ef6 1992
59659be2
ILT
1993* New C++ demangler
1994
1995GDB has a new C++ demangler which does a better job on the mangled
1996names generated by current versions of g++. It also runs faster, so
1997with this and other changes gdb should now start faster on large C++
1998programs.
1999
9e08b29b
DJ
2000* DWARF 2 Location Expressions
2001
2002GDB support for location expressions has been extended to support function
2003arguments and frame bases. Older versions of GDB could crash when they
2004encountered these.
2005
8dfe8985
DC
2006* C++ nested types and namespaces
2007
2008GDB's support for nested types and namespaces in C++ has been
2009improved, especially if you use the DWARF 2 debugging format. (This
2010is the default for recent versions of GCC on most platforms.)
2011Specifically, if you have a class "Inner" defined within a class or
2012namespace "Outer", then GDB realizes that the class's name is
2013"Outer::Inner", not simply "Inner". This should greatly reduce the
2014frequency of complaints about not finding RTTI symbols. In addition,
2015if you are stopped at inside of a function defined within a namespace,
2016GDB modifies its name lookup accordingly.
2017
cced5e27
MK
2018* New native configurations
2019
2020NetBSD/amd64 x86_64-*-netbsd*
27d1e716 2021OpenBSD/amd64 x86_64-*-openbsd*
2031c21a 2022OpenBSD/alpha alpha*-*-openbsd*
f2cab569
MK
2023OpenBSD/sparc sparc-*-openbsd*
2024OpenBSD/sparc64 sparc64-*-openbsd*
cced5e27 2025
b4b4b794
KI
2026* New debugging protocols
2027
2028M32R with SDI protocol m32r-*-elf*
2029
7989c619
AC
2030* "set prompt-escape-char" command deleted.
2031
2032The command "set prompt-escape-char" has been deleted. This command,
2033and its very obscure effet on GDB's prompt, was never documented,
2034tested, nor mentioned in the NEWS file.
2035
5994185b
AC
2036* OBSOLETE configurations and files
2037
2038Configurations that have been declared obsolete in this release have
2039been commented out. Unless there is activity to revive these
2040configurations, the next release of GDB will have their sources
2041permanently REMOVED.
2042
2043Sun 3, running SunOS 3 m68*-*-sunos3*
2044Sun 3, running SunOS 4 m68*-*-sunos4*
2045Sun 2, running SunOS 3 m68000-*-sunos3*
2046Sun 2, running SunOS 4 m68000-*-sunos4*
2047Motorola 680x0 running LynxOS m68*-*-lynxos*
2048AT&T 3b1/Unix pc m68*-att-*
2049Bull DPX2 (68k, System V release 3) m68*-bull-sysv*
0748d941
AC
2050decstation mips-dec-* mips-little-*
2051riscos mips-*-riscos* mips-*-sysv*
2052sonymips mips-sony-*
2053sysv mips*-*-sysv4* (IRIX 5/6 not included)
5994185b 2054
0ddabb4c
AC
2055* REMOVED configurations and files
2056
2057SGI Irix-4.x mips-sgi-irix4 or iris4
2058SGI Iris (MIPS) running Irix V3: mips-sgi-irix or iris
4a8269c0
AC
2059Z8000 simulator z8k-zilog-none or z8ksim
2060Matsushita MN10200 w/simulator mn10200-*-*
2061H8/500 simulator h8500-hitachi-hms or h8500hms
2062HP/PA running BSD hppa*-*-bsd*
2063HP/PA running OSF/1 hppa*-*-osf*
2064HP/PA Pro target hppa*-*-pro*
2065PMAX (MIPS) running Mach 3.0 mips*-*-mach3*
cf7c5c23 2066386BSD i[3456]86-*-bsd*
4a8269c0
AC
2067Sequent family i[3456]86-sequent-sysv4*
2068 i[3456]86-sequent-sysv*
2069 i[3456]86-sequent-bsd*
f0424ef6
MK
2070SPARC running LynxOS sparc-*-lynxos*
2071SPARC running SunOS 4 sparc-*-sunos4*
4a8269c0
AC
2072Tsqware Sparclet sparclet-*-*
2073Fujitsu SPARClite sparclite-fujitsu-none or sparclite
0ddabb4c 2074
c7f1390e
DJ
2075*** Changes in GDB 6.0:
2076
1fe43d45
AC
2077* Objective-C
2078
2079Support for debugging the Objective-C programming language has been
2080integrated into GDB.
2081
e6beb428
AC
2082* New backtrace mechanism (includes DWARF 2 Call Frame Information).
2083
2084DWARF 2's Call Frame Information makes available compiler generated
2085information that more exactly describes the program's run-time stack.
2086By using this information, GDB is able to provide more robust stack
2087backtraces.
2088
2089The i386, amd64 (nee, x86-64), Alpha, m68hc11, ia64, and m32r targets
2090have been updated to use a new backtrace mechanism which includes
2091DWARF 2 CFI support.
2092
2093* Hosted file I/O.
2094
2095GDB's remote protocol has been extended to include support for hosted
2096file I/O (where the remote target uses GDB's file system). See GDB's
2097remote protocol documentation for details.
2098
2099* All targets using the new architecture framework.
2100
2101All of GDB's targets have been updated to use the new internal
2102architecture framework. The way is now open for future GDB releases
2103to include cross-architecture native debugging support (i386 on amd64,
2104ppc32 on ppc64).
2105
2106* GNU/Linux's Thread Local Storage (TLS)
2107
2108GDB now includes support for for the GNU/Linux implementation of
2109per-thread variables.
2110
2111* GNU/Linux's Native POSIX Thread Library (NPTL)
2112
2113GDB's thread code has been updated to work with either the new
2114GNU/Linux NPTL thread library or the older "LinuxThreads" library.
2115
2116* Separate debug info.
2117
2118GDB, in conjunction with BINUTILS, now supports a mechanism for
2119automatically loading debug information from a separate file. Instead
2120of shipping full debug and non-debug versions of system libraries,
2121system integrators can now instead ship just the stripped libraries
2122and optional debug files.
2123
2124* DWARF 2 Location Expressions
2125
2126DWARF 2 Location Expressions allow the compiler to more completely
2127describe the location of variables (even in optimized code) to the
2128debugger.
2129
2130GDB now includes preliminary support for location expressions (support
2131for DW_OP_piece is still missing).
2132
2133* Java
2134
2135A number of long standing bugs that caused GDB to die while starting a
2136Java application have been fixed. GDB's Java support is now
2137considered "useable".
2138
85f8f974
DJ
2139* GNU/Linux support for fork, vfork, and exec.
2140
2141The "catch fork", "catch exec", "catch vfork", and "set follow-fork-mode"
2142commands are now implemented for GNU/Linux. They require a 2.5.x or later
2143kernel.
2144
0fac0b41
DJ
2145* GDB supports logging output to a file
2146
2147There are two new commands, "set logging" and "show logging", which can be
2148used to capture GDB's output to a file.
f2c06f52 2149
6ad8ae5c
DJ
2150* The meaning of "detach" has changed for gdbserver
2151
2152The "detach" command will now resume the application, as documented. To
2153disconnect from gdbserver and leave it stopped, use the new "disconnect"
2154command.
2155
e286caf2 2156* d10v, m68hc11 `regs' command deprecated
5f601589
AC
2157
2158The `info registers' command has been updated so that it displays the
2159registers using a format identical to the old `regs' command.
2160
d28f9cdf
DJ
2161* Profiling support
2162
2163A new command, "maint set profile on/off", has been added. This command can
2164be used to enable or disable profiling while running GDB, to profile a
2165session or a set of commands. In addition there is a new configure switch,
2166"--enable-profiling", which will cause GDB to be compiled with profiling
2167data, for more informative profiling results.
2168
da0f9dcd
AC
2169* Default MI syntax changed to "mi2".
2170
2171The default MI (machine interface) syntax, enabled by the command line
2172option "-i=mi", has been changed to "mi2". The previous MI syntax,
b68767c1 2173"mi1", can be enabled by specifying the option "-i=mi1".
da0f9dcd
AC
2174
2175Support for the original "mi0" syntax (included in GDB 5.0) has been
2176removed.
2177
fb9b6b35
JJ
2178Fix for gdb/192: removed extraneous space when displaying frame level.
2179Fix for gdb/672: update changelist is now output in mi list format.
2180Fix for gdb/702: a -var-assign that updates the value now shows up
2181 in a subsequent -var-update.
2182
954a4db8
MK
2183* New native configurations.
2184
2185FreeBSD/amd64 x86_64-*-freebsd*
2186
6760f9e6
JB
2187* Multi-arched targets.
2188
b4263afa 2189HP/PA HPUX11 hppa*-*-hpux*
85a453d5 2190Renesas M32R/D w/simulator m32r-*-elf*
6760f9e6 2191
1b831c93
AC
2192* OBSOLETE configurations and files
2193
2194Configurations that have been declared obsolete in this release have
2195been commented out. Unless there is activity to revive these
2196configurations, the next release of GDB will have their sources
2197permanently REMOVED.
2198
8b0e5691 2199Z8000 simulator z8k-zilog-none or z8ksim
67f16606 2200Matsushita MN10200 w/simulator mn10200-*-*
fd2299bd 2201H8/500 simulator h8500-hitachi-hms or h8500hms
56056df7
AC
2202HP/PA running BSD hppa*-*-bsd*
2203HP/PA running OSF/1 hppa*-*-osf*
2204HP/PA Pro target hppa*-*-pro*
78c43945 2205PMAX (MIPS) running Mach 3.0 mips*-*-mach3*
2fbce691
AC
2206Sequent family i[3456]86-sequent-sysv4*
2207 i[3456]86-sequent-sysv*
2208 i[3456]86-sequent-bsd*
f81824a9
AC
2209Tsqware Sparclet sparclet-*-*
2210Fujitsu SPARClite sparclite-fujitsu-none or sparclite
fd2299bd 2211
5835abe7
NC
2212* REMOVED configurations and files
2213
2214V850EA ISA
1b831c93
AC
2215Motorola Delta 88000 running Sys V m88k-motorola-sysv or delta88
2216IBM AIX PS/2 i[3456]86-*-aix
2217i386 running Mach 3.0 i[3456]86-*-mach3*
2218i386 running Mach i[3456]86-*-mach*
2219i386 running OSF/1 i[3456]86-*osf1mk*
2220HP/Apollo 68k Family m68*-apollo*-sysv*,
2221 m68*-apollo*-bsd*,
2222 m68*-hp-bsd*, m68*-hp-hpux*
2223Argonaut Risc Chip (ARC) arc-*-*
2224Mitsubishi D30V d30v-*-*
2225Fujitsu FR30 fr30-*-elf*
2226OS/9000 i[34]86-*-os9k
2227I960 with MON960 i960-*-coff
5835abe7 2228
a094c6fb
AC
2229* MIPS $fp behavior changed
2230
2231The convenience variable $fp, for the MIPS, now consistently returns
2232the address of the current frame's base. Previously, depending on the
2233context, $fp could refer to either $sp or the current frame's base
2234address. See ``8.10 Registers'' in the manual ``Debugging with GDB:
2235The GNU Source-Level Debugger''.
2236
299ffc64 2237*** Changes in GDB 5.3:
37057839 2238
46248966
AC
2239* GNU/Linux shared library multi-threaded performance improved.
2240
2241When debugging a multi-threaded application on GNU/Linux, GDB now uses
2242`/proc', in preference to `ptrace' for memory reads. This may result
2243in an improvement in the start-up time of multi-threaded, shared
2244library applications when run under GDB. One GDB user writes: ``loads
2245shared libs like mad''.
2246
b9d14705 2247* ``gdbserver'' now supports multi-threaded applications on some targets
6da02953 2248
b9d14705
DJ
2249Support for debugging multi-threaded applications which use
2250the GNU/Linux LinuxThreads package has been added for
2251arm*-*-linux*-gnu*, i[3456]86-*-linux*-gnu*, mips*-*-linux*-gnu*,
2252powerpc*-*-linux*-gnu*, and sh*-*-linux*-gnu*.
6da02953 2253
e0e9281e
JB
2254* GDB now supports C/C++ preprocessor macros.
2255
2256GDB now expands preprocessor macro invocations in C/C++ expressions,
2257and provides various commands for showing macro definitions and how
2258they expand.
2259
dd73b9bb
AC
2260The new command `macro expand EXPRESSION' expands any macro
2261invocations in expression, and shows the result.
2262
2263The new command `show macro MACRO-NAME' shows the definition of the
2264macro named MACRO-NAME, and where it was defined.
2265
e0e9281e
JB
2266Most compilers don't include information about macros in the debugging
2267information by default. In GCC 3.1, for example, you need to compile
2268your program with the options `-gdwarf-2 -g3'. If the macro
2269information is present in the executable, GDB will read it.
2270
2250ee0c
CV
2271* Multi-arched targets.
2272
6e3ba3b8
JT
2273DEC Alpha (partial) alpha*-*-*
2274DEC VAX (partial) vax-*-*
2250ee0c 2275NEC V850 v850-*-*
6e3ba3b8 2276National Semiconductor NS32000 (partial) ns32k-*-*
a1789893
GS
2277Motorola 68000 (partial) m68k-*-*
2278Motorola MCORE mcore-*-*
2250ee0c 2279
cd9bfe15 2280* New targets.
e33ce519 2281
456f8b9d
DB
2282Fujitsu FRV architecture added by Red Hat frv*-*-*
2283
e33ce519 2284
da8ca43d
JT
2285* New native configurations
2286
2287Alpha NetBSD alpha*-*-netbsd*
029923d4 2288SH NetBSD sh*-*-netbsdelf*
45888261 2289MIPS NetBSD mips*-*-netbsd*
9ce5c36a 2290UltraSPARC NetBSD sparc64-*-netbsd*
da8ca43d 2291
cd9bfe15
AC
2292* OBSOLETE configurations and files
2293
2294Configurations that have been declared obsolete in this release have
2295been commented out. Unless there is activity to revive these
2296configurations, the next release of GDB will have their sources
2297permanently REMOVED.
2298
92eb23c5 2299Mitsubishi D30V d30v-*-*
a99a9e1b 2300OS/9000 i[34]86-*-os9k
1c7cc583 2301IBM AIX PS/2 i[3456]86-*-aix
7a3085c1 2302Fujitsu FR30 fr30-*-elf*
7fb623f7 2303Motorola Delta 88000 running Sys V m88k-motorola-sysv or delta88
eb4c54a2 2304Argonaut Risc Chip (ARC) arc-*-*
d8ee244c
MK
2305i386 running Mach 3.0 i[3456]86-*-mach3*
2306i386 running Mach i[3456]86-*-mach*
2307i386 running OSF/1 i[3456]86-*osf1mk*
822e978b
AC
2308HP/Apollo 68k Family m68*-apollo*-sysv*,
2309 m68*-apollo*-bsd*,
2310 m68*-hp-bsd*, m68*-hp-hpux*
4d210288 2311I960 with MON960 i960-*-coff
92eb23c5 2312
db034ac5
AC
2313* OBSOLETE languages
2314
2315CHILL, a Pascal like language used by telecommunications companies.
2316
cd9bfe15
AC
2317* REMOVED configurations and files
2318
2319AMD 29k family via UDI a29k-amd-udi, udi29k
2320A29K VxWorks a29k-*-vxworks
2321AMD 29000 embedded, using EBMON a29k-none-none
2322AMD 29000 embedded with COFF a29k-none-coff
2323AMD 29000 embedded with a.out a29k-none-aout
2324
2325testsuite/gdb.hp/gdb.threads-hp/ directory
2326
20f01a46
DH
2327* New command "set max-user-call-depth <nnn>"
2328
2329This command allows the user to limit the call depth of user-defined
2330commands. The default is 1024.
2331
a5941fbf
MK
2332* Changes in FreeBSD/i386 native debugging.
2333
2334Support for the "generate-core-file" has been added.
2335
89743e04
MS
2336* New commands "dump", "append", and "restore".
2337
2338These commands allow data to be copied from target memory
2339to a bfd-format or binary file (dump and append), and back
2340from a file into memory (restore).
37057839 2341
9fb14e79
JB
2342* Improved "next/step" support on multi-processor Alpha Tru64.
2343
2344The previous single-step mechanism could cause unpredictable problems,
2345including the random appearance of SIGSEGV or SIGTRAP signals. The use
2346of a software single-step mechanism prevents this.
2347
2037aebb
AC
2348*** Changes in GDB 5.2.1:
2349
2350* New targets.
2351
2352Atmel AVR avr*-*-*
2353
2354* Bug fixes
2355
2356gdb/182: gdb/323: gdb/237: On alpha, gdb was reporting:
2357mdebugread.c:2443: gdb-internal-error: sect_index_data not initialized
2358Fix, by Joel Brobecker imported from mainline.
2359
2360gdb/439: gdb/291: On some ELF object files, gdb was reporting:
2361dwarf2read.c:1072: gdb-internal-error: sect_index_text not initialize
2362Fix, by Fred Fish, imported from mainline.
2363
2364Dwarf2 .debug_frame & .eh_frame handler improved in many ways.
2365Surprisingly enough, it works now.
2366By Michal Ludvig, imported from mainline.
2367
2368i386 hardware watchpoint support:
2369avoid misses on second run for some targets.
2370By Pierre Muller, imported from mainline.
2371
37057839 2372*** Changes in GDB 5.2:
eb7cedd9 2373
1a703748
MS
2374* New command "set trust-readonly-sections on[off]".
2375
2376This command is a hint that tells gdb that read-only sections
2377really are read-only (ie. that their contents will not change).
2378In this mode, gdb will go to the object file rather than the
2379target to read memory from read-only sections (such as ".text").
2380This can be a significant performance improvement on some
2381(notably embedded) targets.
2382
cefd4ef5
MS
2383* New command "generate-core-file" (or "gcore").
2384
55241689
AC
2385This new gdb command allows the user to drop a core file of the child
2386process state at any time. So far it's been implemented only for
2387GNU/Linux and Solaris, but should be relatively easily ported to other
2388hosts. Argument is core file name (defaults to core.<pid>).
cefd4ef5 2389
352ed7b4
MS
2390* New command line option
2391
2392GDB now accepts --pid or -p followed by a process id.
2393
2394* Change in command line behavior -- corefiles vs. process ids.
2395
2396There is a subtle behavior in the way in which GDB handles
2397command line arguments. The first non-flag argument is always
2398a program to debug, but the second non-flag argument may either
2399be a corefile or a process id. Previously, GDB would attempt to
2400open the second argument as a corefile, and if that failed, would
2401issue a superfluous error message and then attempt to attach it as
2402a process. Now, if the second argument begins with a non-digit,
2403it will be treated as a corefile. If it begins with a digit,
2404GDB will attempt to attach it as a process, and if no such process
2405is found, will then attempt to open it as a corefile.
2406
fe419ffc
RE
2407* Changes in ARM configurations.
2408
2409Multi-arch support is enabled for all ARM configurations. The ARM/NetBSD
2410configuration is fully multi-arch.
2411
eb7cedd9
MK
2412* New native configurations
2413
fe419ffc 2414ARM NetBSD arm*-*-netbsd*
eb7cedd9 2415x86 OpenBSD i[3456]86-*-openbsd*
55241689 2416AMD x86-64 running GNU/Linux x86_64-*-linux-*
768f0842 2417Sparc64 running FreeBSD sparc64-*-freebsd*
eb7cedd9 2418
c9f63e6b
CV
2419* New targets
2420
2421Sanyo XStormy16 xstormy16-elf
2422
9b4ff276
AC
2423* OBSOLETE configurations and files
2424
2425Configurations that have been declared obsolete in this release have
2426been commented out. Unless there is activity to revive these
2427configurations, the next release of GDB will have their sources
2428permanently REMOVED.
2429
2430AMD 29k family via UDI a29k-amd-udi, udi29k
2431A29K VxWorks a29k-*-vxworks
2432AMD 29000 embedded, using EBMON a29k-none-none
2433AMD 29000 embedded with COFF a29k-none-coff
2434AMD 29000 embedded with a.out a29k-none-aout
2435
b4ceaee6 2436testsuite/gdb.hp/gdb.threads-hp/ directory
9b4ff276 2437
e2caac18
AC
2438* REMOVED configurations and files
2439
2440TI TMS320C80 tic80-*-*
7bc65f05 2441WDC 65816 w65-*-*
7768dd6c
AC
2442PowerPC Solaris powerpcle-*-solaris*
2443PowerPC Windows NT powerpcle-*-cygwin32
2444PowerPC Netware powerpc-*-netware*
5e734e1f 2445Harris/CXUX m88k m88*-harris-cxux*
1406caf7
AC
2446Most ns32k hosts and targets ns32k-*-mach3* ns32k-umax-*
2447 ns32k-utek-sysv* ns32k-utek-*
7e24f0b1 2448SunOS 4.0.Xi on i386 i[3456]86-*-sunos*
9b567150 2449Ultracomputer (29K) running Sym1 a29k-nyu-sym1 a29k-*-kern*
3680c638
AC
2450Sony NEWS (68K) running NEWSOS 3.x m68*-sony-sysv news
2451ISI Optimum V (3.05) under 4.3bsd. m68*-isi-*
a752853e 2452Apple Macintosh (MPW) host and target N/A host, powerpc-*-macos*
e2caac18 2453
c2a727fa
TT
2454* Changes to command line processing
2455
2456The new `--args' feature can be used to specify command-line arguments
2457for the inferior from gdb's command line.
2458
467d8519
TT
2459* Changes to key bindings
2460
2461There is a new `operate-and-get-next' function bound to `C-o'.
2462
7072a954
AC
2463*** Changes in GDB 5.1.1
2464
2465Fix compile problem on DJGPP.
2466
2467Fix a problem with floating-point registers on the i386 being
2468corrupted.
2469
2470Fix to stop GDB crashing on .debug_str debug info.
2471
2472Numerous documentation fixes.
2473
2474Numerous testsuite fixes.
2475
34f47bc4 2476*** Changes in GDB 5.1:
139760b7
MK
2477
2478* New native configurations
2479
2480Alpha FreeBSD alpha*-*-freebsd*
2481x86 FreeBSD 3.x and 4.x i[3456]86*-freebsd[34]*
55241689 2482MIPS GNU/Linux mips*-*-linux*
e23194cb
EZ
2483MIPS SGI Irix 6.x mips*-sgi-irix6*
2484ia64 AIX ia64-*-aix*
55241689 2485s390 and s390x GNU/Linux {s390,s390x}-*-linux*
139760b7 2486
bf64bfd6
AC
2487* New targets
2488
def90278 2489Motorola 68HC11 and 68HC12 m68hc11-elf
24be5c34 2490CRIS cris-axis
55241689 2491UltraSparc running GNU/Linux sparc64-*-linux*
def90278 2492
17e78a56 2493* OBSOLETE configurations and files
bf64bfd6
AC
2494
2495x86 FreeBSD before 2.2 i[3456]86*-freebsd{1,2.[01]}*,
9b9c068d 2496Harris/CXUX m88k m88*-harris-cxux*
bb19ff3b
AC
2497Most ns32k hosts and targets ns32k-*-mach3* ns32k-umax-*
2498 ns32k-utek-sysv* ns32k-utek-*
76f4ea53
AC
2499TI TMS320C80 tic80-*-*
2500WDC 65816 w65-*-*
4a1968f4 2501Ultracomputer (29K) running Sym1 a29k-nyu-sym1 a29k-*-kern*
1b2b2c16
AC
2502PowerPC Solaris powerpcle-*-solaris*
2503PowerPC Windows NT powerpcle-*-cygwin32
2504PowerPC Netware powerpc-*-netware*
24f89b68 2505SunOS 4.0.Xi on i386 i[3456]86-*-sunos*
514e603d
AC
2506Sony NEWS (68K) running NEWSOS 3.x m68*-sony-sysv news
2507ISI Optimum V (3.05) under 4.3bsd. m68*-isi-*
d036b4d9 2508Apple Macintosh (MPW) host N/A
bf64bfd6 2509
17e78a56
AC
2510stuff.c (Program to stuff files into a specially prepared space in kdb)
2511kdb-start.c (Main loop for the standalone kernel debugger)
2512
7fcca85b
AC
2513Configurations that have been declared obsolete in this release have
2514been commented out. Unless there is activity to revive these
2515configurations, the next release of GDB will have their sources
2516permanently REMOVED.
2517
a196c81c 2518* REMOVED configurations and files
7fcca85b
AC
2519
2520Altos 3068 m68*-altos-*
2521Convex c1-*-*, c2-*-*
2522Pyramid pyramid-*-*
2523ARM RISCix arm-*-* (as host)
2524Tahoe tahoe-*-*
a196c81c 2525ser-ocd.c *-*-*
bf64bfd6 2526
6d6b80e5 2527* GDB has been converted to ISO C.
e23194cb 2528
6d6b80e5 2529GDB's source code has been converted to ISO C. In particular, the
e23194cb
EZ
2530sources are fully protoized, and rely on standard headers being
2531present.
2532
bf64bfd6
AC
2533* Other news:
2534
e23194cb
EZ
2535* "info symbol" works on platforms which use COFF, ECOFF, XCOFF, and NLM.
2536
2537* The MI enabled by default.
2538
2539The new machine oriented interface (MI) introduced in GDB 5.0 has been
2540revised and enabled by default. Packages which use GDB as a debugging
2541engine behind a UI or another front end are encouraged to switch to
2542using the GDB/MI interface, instead of the old annotations interface
2543which is now deprecated.
2544
2545* Support for debugging Pascal programs.
2546
2547GDB now includes support for debugging Pascal programs. The following
2548main features are supported:
2549
2550 - Pascal-specific data types such as sets;
2551
2552 - automatic recognition of Pascal sources based on file-name
2553 extension;
2554
2555 - Pascal-style display of data types, variables, and functions;
2556
2557 - a Pascal expression parser.
2558
2559However, some important features are not yet supported.
2560
2561 - Pascal string operations are not supported at all;
2562
2563 - there are some problems with boolean types;
2564
2565 - Pascal type hexadecimal constants are not supported
2566 because they conflict with the internal variables format;
2567
2568 - support for Pascal objects and classes is not full yet;
2569
2570 - unlike Pascal, GDB is case-sensitive for symbol names.
2571
2572* Changes in completion.
2573
2574Commands such as `shell', `run' and `set args', which pass arguments
2575to inferior programs, now complete on file names, similar to what
2576users expect at the shell prompt.
2577
2578Commands which accept locations, such as `disassemble', `print',
2579`breakpoint', `until', etc. now complete on filenames as well as
2580program symbols. Thus, if you type "break foob TAB", and the source
2581files linked into the programs include `foobar.c', that file name will
2582be one of the candidates for completion. However, file names are not
2583considered for completion after you typed a colon that delimits a file
2584name from a name of a function in that file, as in "break foo.c:bar".
2585
2586`set demangle-style' completes on available demangling styles.
2587
2588* New platform-independent commands:
2589
2590It is now possible to define a post-hook for a command as well as a
2591hook that runs before the command. For more details, see the
2592documentation of `hookpost' in the GDB manual.
2593
2594* Changes in GNU/Linux native debugging.
2595
d7275149
MK
2596Support for debugging multi-threaded programs has been completely
2597revised for all platforms except m68k and sparc. You can now debug as
2598many threads as your system allows you to have.
2599
e23194cb
EZ
2600Attach/detach is supported for multi-threaded programs.
2601
d7275149
MK
2602Support for SSE registers was added for x86. This doesn't work for
2603multi-threaded programs though.
e23194cb
EZ
2604
2605* Changes in MIPS configurations.
bf64bfd6
AC
2606
2607Multi-arch support is enabled for all MIPS configurations.
2608
e23194cb
EZ
2609GDB can now be built as native debugger on SGI Irix 6.x systems for
2610debugging n32 executables. (Debugging 64-bit executables is not yet
2611supported.)
2612
2613* Unified support for hardware watchpoints in all x86 configurations.
2614
2615Most (if not all) native x86 configurations support hardware-assisted
2616breakpoints and watchpoints in a unified manner. This support
2617implements debug register sharing between watchpoints, which allows to
2618put a virtually infinite number of watchpoints on the same address,
2619and also supports watching regions up to 16 bytes with several debug
2620registers.
2621
2622The new maintenance command `maintenance show-debug-regs' toggles
2623debugging print-outs in functions that insert, remove, and test
2624watchpoints and hardware breakpoints.
2625
2626* Changes in the DJGPP native configuration.
2627
2628New command ``info dos sysinfo'' displays assorted information about
2629the CPU, OS, memory, and DPMI server.
2630
2631New commands ``info dos gdt'', ``info dos ldt'', and ``info dos idt''
2632display information about segment descriptors stored in GDT, LDT, and
2633IDT.
2634
2635New commands ``info dos pde'' and ``info dos pte'' display entries
2636from Page Directory and Page Tables (for now works with CWSDPMI only).
2637New command ``info dos address-pte'' displays the Page Table entry for
2638a given linear address.
2639
2640GDB can now pass command lines longer than 126 characters to the
2641program being debugged (requires an update to the libdbg.a library
2642which is part of the DJGPP development kit).
2643
2644DWARF2 debug info is now supported.
2645
6c56c069
EZ
2646It is now possible to `step' and `next' through calls to `longjmp'.
2647
e23194cb
EZ
2648* Changes in documentation.
2649
2650All GDB documentation was converted to GFDL, the GNU Free
2651Documentation License.
2652
2653Tracepoints-related commands are now fully documented in the GDB
2654manual.
2655
2656TUI, the Text-mode User Interface, is now documented in the manual.
2657
2658Tracepoints-related commands are now fully documented in the GDB
2659manual.
2660
2661The "GDB Internals" manual now has an index. It also includes
2662documentation of `ui_out' functions, GDB coding standards, x86
2663hardware watchpoints, and memory region attributes.
2664
5d6640b1
AC
2665* GDB's version number moved to ``version.in''
2666
2667The Makefile variable VERSION has been replaced by the file
2668``version.in''. People creating GDB distributions should update the
2669contents of this file.
2670
1a1d8446
AC
2671* gdba.el deleted
2672
2673GUD support is now a standard part of the EMACS distribution.
139760b7 2674
9debab2f 2675*** Changes in GDB 5.0:
7a292a7a 2676
c63ce875
EZ
2677* Improved support for debugging FP programs on x86 targets
2678
2679Unified and much-improved support for debugging floating-point
2680programs on all x86 targets. In particular, ``info float'' now
2681displays the FP registers in the same format on all x86 targets, with
2682greater level of detail.
2683
2684* Improvements and bugfixes in hardware-assisted watchpoints
2685
2686It is now possible to watch array elements, struct members, and
2687bitfields with hardware-assisted watchpoints. Data-read watchpoints
2688on x86 targets no longer erroneously trigger when the address is
2689written.
2690
2691* Improvements in the native DJGPP version of GDB
2692
2693The distribution now includes all the scripts and auxiliary files
2694necessary to build the native DJGPP version on MS-DOS/MS-Windows
2695machines ``out of the box''.
2696
2697The DJGPP version can now debug programs that use signals. It is
2698possible to catch signals that happened in the debuggee, deliver
2699signals to it, interrupt it with Ctrl-C, etc. (Previously, a signal
2700would kill the program being debugged.) Programs that hook hardware
2701interrupts (keyboard, timer, etc.) can also be debugged.
2702
2703It is now possible to debug DJGPP programs that redirect their
2704standard handles or switch them to raw (as opposed to cooked) mode, or
2705even close them. The command ``run < foo > bar'' works as expected,
2706and ``info terminal'' reports useful information about the debuggee's
2707terminal, including raw/cooked mode, redirection, etc.
2708
2709The DJGPP version now uses termios functions for console I/O, which
2710enables debugging graphics programs. Interrupting GDB with Ctrl-C
2711also works.
2712
2713DOS-style file names with drive letters are now fully supported by
2714GDB.
2715
2716It is now possible to debug DJGPP programs that switch their working
2717directory. It is also possible to rerun the debuggee any number of
2718times without restarting GDB; thus, you can use the same setup,
2719breakpoints, etc. for many debugging sessions.
2720
ed9a39eb
JM
2721* New native configurations
2722
2723ARM GNU/Linux arm*-*-linux*
afc05dd4 2724PowerPC GNU/Linux powerpc-*-linux*
ed9a39eb 2725
7a292a7a
SS
2726* New targets
2727
96baa820 2728Motorola MCore mcore-*-*
adf40b2e
JM
2729x86 VxWorks i[3456]86-*-vxworks*
2730PowerPC VxWorks powerpc-*-vxworks*
7a292a7a
SS
2731TI TMS320C80 tic80-*-*
2732
085dd6e6
JM
2733* OBSOLETE configurations
2734
2735Altos 3068 m68*-altos-*
2736Convex c1-*-*, c2-*-*
9846de1b 2737Pyramid pyramid-*-*
ed9a39eb 2738ARM RISCix arm-*-* (as host)
104c1213 2739Tahoe tahoe-*-*
7a292a7a 2740
9debab2f
AC
2741Configurations that have been declared obsolete will be commented out,
2742but the code will be left in place. If there is no activity to revive
2743these configurations before the next release of GDB, the sources will
2744be permanently REMOVED.
2745
5330533d
SS
2746* Gould support removed
2747
2748Support for the Gould PowerNode and NP1 has been removed.
2749
bc9e5bbf
AC
2750* New features for SVR4
2751
2752On SVR4 native platforms (such as Solaris), if you attach to a process
2753without first loading a symbol file, GDB will now attempt to locate and
2754load symbols from the running process's executable file.
2755
2756* Many C++ enhancements
2757
2758C++ support has been greatly improved. Overload resolution now works properly
2759in almost all cases. RTTI support is on the way.
2760
adf40b2e
JM
2761* Remote targets can connect to a sub-program
2762
2763A popen(3) style serial-device has been added. This device starts a
2764sub-process (such as a stand-alone simulator) and then communicates
2765with that. The sub-program to run is specified using the syntax
2766``|<program> <args>'' vis:
2767
2768 (gdb) set remotedebug 1
2769 (gdb) target extended-remote |mn10300-elf-sim program-args
2770
43e526b9
JM
2771* MIPS 64 remote protocol
2772
2773A long standing bug in the mips64 remote protocol where by GDB
2774expected certain 32 bit registers (ex SR) to be transfered as 32
2775instead of 64 bits has been fixed.
2776
2777The command ``set remote-mips64-transfers-32bit-regs on'' has been
2778added to provide backward compatibility with older versions of GDB.
2779
96baa820
JM
2780* ``set remotebinarydownload'' replaced by ``set remote X-packet''
2781
2782The command ``set remotebinarydownload'' command has been replaced by
2783``set remote X-packet''. Other commands in ``set remote'' family
2784include ``set remote P-packet''.
2785
11cf8741
JM
2786* Breakpoint commands accept ranges.
2787
2788The breakpoint commands ``enable'', ``disable'', and ``delete'' now
2789accept a range of breakpoints, e.g. ``5-7''. The tracepoint command
2790``tracepoint passcount'' also accepts a range of tracepoints.
2791
7876dd43
DB
2792* ``apropos'' command added.
2793
2794The ``apropos'' command searches through command names and
2795documentation strings, printing out matches, making it much easier to
2796try to find a command that does what you are looking for.
2797
bc9e5bbf
AC
2798* New MI interface
2799
2800A new machine oriented interface (MI) has been added to GDB. This
2801interface is designed for debug environments running GDB as a separate
7162c0ca
EZ
2802process. This is part of the long term libGDB project. See the
2803"GDB/MI" chapter of the GDB manual for further information. It can be
2804enabled by configuring with:
bc9e5bbf
AC
2805
2806 .../configure --enable-gdbmi
2807
c906108c
SS
2808*** Changes in GDB-4.18:
2809
2810* New native configurations
2811
2812HP-UX 10.20 hppa*-*-hpux10.20
2813HP-UX 11.x hppa*-*-hpux11.0*
55241689 2814M68K GNU/Linux m68*-*-linux*
c906108c
SS
2815
2816* New targets
2817
2818Fujitsu FR30 fr30-*-elf*
2819Intel StrongARM strongarm-*-*
2820Mitsubishi D30V d30v-*-*
2821
2822* OBSOLETE configurations
2823
2824Gould PowerNode, NP1 np1-*-*, pn-*-*
2825
2826Configurations that have been declared obsolete will be commented out,
2827but the code will be left in place. If there is no activity to revive
2828these configurations before the next release of GDB, the sources will
2829be permanently REMOVED.
2830
2831* ANSI/ISO C
2832
2833As a compatibility experiment, GDB's source files buildsym.h and
2834buildsym.c have been converted to pure standard C, no longer
2835containing any K&R compatibility code. We believe that all systems in
2836use today either come with a standard C compiler, or have a GCC port
2837available. If this is not true, please report the affected
2838configuration to bug-gdb@gnu.org immediately. See the README file for
2839information about getting a standard C compiler if you don't have one
2840already.
2841
2842* Readline 2.2
2843
2844GDB now uses readline 2.2.
2845
2846* set extension-language
2847
2848You can now control the mapping between filename extensions and source
2849languages by using the `set extension-language' command. For instance,
2850you can ask GDB to treat .c files as C++ by saying
2851 set extension-language .c c++
2852The command `info extensions' lists all of the recognized extensions
2853and their associated languages.
2854
2855* Setting processor type for PowerPC and RS/6000
2856
2857When GDB is configured for a powerpc*-*-* or an rs6000*-*-* target,
2858you can use the `set processor' command to specify what variant of the
2859PowerPC family you are debugging. The command
2860
2861 set processor NAME
2862
2863sets the PowerPC/RS6000 variant to NAME. GDB knows about the
2864following PowerPC and RS6000 variants:
2865
2866 ppc-uisa PowerPC UISA - a PPC processor as viewed by user-level code
2867 rs6000 IBM RS6000 ("POWER") architecture, user-level view
2868 403 IBM PowerPC 403
2869 403GC IBM PowerPC 403GC
2870 505 Motorola PowerPC 505
2871 860 Motorola PowerPC 860 or 850
2872 601 Motorola PowerPC 601
2873 602 Motorola PowerPC 602
2874 603 Motorola/IBM PowerPC 603 or 603e
2875 604 Motorola PowerPC 604 or 604e
2876 750 Motorola/IBM PowerPC 750 or 750
2877
2878At the moment, this command just tells GDB what to name the
2879special-purpose processor registers. Since almost all the affected
2880registers are inaccessible to user-level programs, this command is
2881only useful for remote debugging in its present form.
2882
2883* HP-UX support
2884
2885Thanks to a major code donation from Hewlett-Packard, GDB now has much
2886more extensive support for HP-UX. Added features include shared
2887library support, kernel threads and hardware watchpoints for 11.00,
2888support for HP's ANSI C and C++ compilers, and a compatibility mode
2889for xdb and dbx commands.
2890
2891* Catchpoints
2892
2893HP's donation includes the new concept of catchpoints, which is a
2894generalization of the old catch command. On HP-UX, it is now possible
2895to catch exec, fork, and vfork, as well as library loading.
2896
2897This means that the existing catch command has changed; its first
2898argument now specifies the type of catch to be set up. See the
2899output of "help catch" for a list of catchpoint types.
2900
2901* Debugging across forks
2902
2903On HP-UX, you can choose which process to debug when a fork() happens
2904in the inferior.
2905
2906* TUI
2907
2908HP has donated a curses-based terminal user interface (TUI). To get
2909it, build with --enable-tui. Although this can be enabled for any
2910configuration, at present it only works for native HP debugging.
2911
2912* GDB remote protocol additions
2913
2914A new protocol packet 'X' that writes binary data is now available.
2915Default behavior is to try 'X', then drop back to 'M' if the stub
2916fails to respond. The settable variable `remotebinarydownload'
2917allows explicit control over the use of 'X'.
2918
2919For 64-bit targets, the memory packets ('M' and 'm') can now contain a
2920full 64-bit address. The command
2921
2922 set remoteaddresssize 32
2923
2924can be used to revert to the old behaviour. For existing remote stubs
2925the change should not be noticed, as the additional address information
2926will be discarded.
2927
2928In order to assist in debugging stubs, you may use the maintenance
2929command `packet' to send any text string to the stub. For instance,
2930
2931 maint packet heythere
2932
2933sends the packet "$heythere#<checksum>". Note that it is very easy to
2934disrupt a debugging session by sending the wrong packet at the wrong
2935time.
2936
2937The compare-sections command allows you to compare section data on the
2938target to what is in the executable file without uploading or
2939downloading, by comparing CRC checksums.
2940
2941* Tracing can collect general expressions
2942
2943You may now collect general expressions at tracepoints. This requires
2944further additions to the target-side stub; see tracepoint.c and
2945doc/agentexpr.texi for further details.
2946
2947* mask-address variable for Mips
2948
2949For Mips targets, you may control the zeroing of the upper 32 bits of
2950a 64-bit address by entering `set mask-address on'. This is mainly
2951of interest to users of embedded R4xxx and R5xxx processors.
2952
2953* Higher serial baud rates
2954
2955GDB's serial code now allows you to specify baud rates 57600, 115200,
2956230400, and 460800 baud. (Note that your host system may not be able
2957to achieve all of these rates.)
2958
2959* i960 simulator
2960
2961The i960 configuration now includes an initial implementation of a
2962builtin simulator, contributed by Jim Wilson.
2963
2964
2965*** Changes in GDB-4.17:
2966
2967* New native configurations
2968
2969Alpha GNU/Linux alpha*-*-linux*
2970Unixware 2.x i[3456]86-unixware2*
2971Irix 6.x mips*-sgi-irix6*
2972PowerPC GNU/Linux powerpc-*-linux*
2973PowerPC Solaris powerpcle-*-solaris*
2974Sparc GNU/Linux sparc-*-linux*
2975Motorola sysV68 R3V7.1 m68k-motorola-sysv
2976
2977* New targets
2978
2979Argonaut Risc Chip (ARC) arc-*-*
2980Hitachi H8/300S h8300*-*-*
2981Matsushita MN10200 w/simulator mn10200-*-*
2982Matsushita MN10300 w/simulator mn10300-*-*
2983MIPS NEC VR4100 mips64*vr4100*{,el}-*-elf*
2984MIPS NEC VR5000 mips64*vr5000*{,el}-*-elf*
2985MIPS Toshiba TX39 mips64*tx39*{,el}-*-elf*
2986Mitsubishi D10V w/simulator d10v-*-*
2987Mitsubishi M32R/D w/simulator m32r-*-elf*
2988Tsqware Sparclet sparclet-*-*
2989NEC V850 w/simulator v850-*-*
2990
2991* New debugging protocols
2992
2993ARM with RDI protocol arm*-*-*
2994M68K with dBUG monitor m68*-*-{aout,coff,elf}
2995DDB and LSI variants of PMON protocol mips*-*-*
2996PowerPC with DINK32 monitor powerpc{,le}-*-eabi
2997PowerPC with SDS protocol powerpc{,le}-*-eabi
2998Macraigor OCD (Wiggler) devices powerpc{,le}-*-eabi
2999
3000* DWARF 2
3001
3002All configurations can now understand and use the DWARF 2 debugging
3003format. The choice is automatic, if the symbol file contains DWARF 2
3004information.
3005
3006* Java frontend
3007
3008GDB now includes basic Java language support. This support is
3009only useful with Java compilers that produce native machine code.
3010
3011* solib-absolute-prefix and solib-search-path
3012
3013For SunOS and SVR4 shared libraries, you may now set the prefix for
3014loading absolute shared library symbol files, and the search path for
3015locating non-absolute shared library symbol files.
3016
3017* Live range splitting
3018
3019GDB can now effectively debug code for which GCC has performed live
3020range splitting as part of its optimization. See gdb/doc/LRS for
3021more details on the expected format of the stabs information.
3022
3023* Hurd support
3024
3025GDB's support for the GNU Hurd, including thread debugging, has been
3026updated to work with current versions of the Hurd.
3027
3028* ARM Thumb support
3029
3030GDB's ARM target configuration now handles the ARM7T (Thumb) 16-bit
3031instruction set. ARM GDB automatically detects when Thumb
3032instructions are in use, and adjusts disassembly and backtracing
3033accordingly.
3034
3035* MIPS16 support
3036
3037GDB's MIPS target configurations now handle the MIP16 16-bit
3038instruction set.
3039
3040* Overlay support
3041
3042GDB now includes support for overlays; if an executable has been
3043linked such that multiple sections are based at the same address, GDB
3044will decide which section to use for symbolic info. You can choose to
3045control the decision manually, using overlay commands, or implement
3046additional target-side support and use "overlay load-target" to bring
3047in the overlay mapping. Do "help overlay" for more detail.
3048
3049* info symbol
3050
3051The command "info symbol <address>" displays information about
3052the symbol at the specified address.
3053
3054* Trace support
3055
3056The standard remote protocol now includes an extension that allows
3057asynchronous collection and display of trace data. This requires
3058extensive support in the target-side debugging stub. Tracing mode
3059includes a new interaction mode in GDB and new commands: see the
3060file tracepoint.c for more details.
3061
3062* MIPS simulator
3063
3064Configurations for embedded MIPS now include a simulator contributed
3065by Cygnus Solutions. The simulator supports the instruction sets
3066of most MIPS variants.
3067
3068* Sparc simulator
3069
3070Sparc configurations may now include the ERC32 simulator contributed
3071by the European Space Agency. The simulator is not built into
3072Sparc targets by default; configure with --enable-sim to include it.
3073
3074* set architecture
3075
3076For target configurations that may include multiple variants of a
3077basic architecture (such as MIPS and SH), you may now set the
3078architecture explicitly. "set arch" sets, "info arch" lists
3079the possible architectures.
3080
3081*** Changes in GDB-4.16:
3082
3083* New native configurations
3084
3085Windows 95, x86 Windows NT i[345]86-*-cygwin32
3086M68K NetBSD m68k-*-netbsd*
3087PowerPC AIX 4.x powerpc-*-aix*
3088PowerPC MacOS powerpc-*-macos*
3089PowerPC Windows NT powerpcle-*-cygwin32
3090RS/6000 AIX 4.x rs6000-*-aix4*
3091
3092* New targets
3093
3094ARM with RDP protocol arm-*-*
3095I960 with MON960 i960-*-coff
3096MIPS VxWorks mips*-*-vxworks*
3097MIPS VR4300 with PMON mips64*vr4300{,el}-*-elf*
3098PowerPC with PPCBUG monitor powerpc{,le}-*-eabi*
3099Hitachi SH3 sh-*-*
3100Matra Sparclet sparclet-*-*
3101
3102* PowerPC simulator
3103
3104The powerpc-eabi configuration now includes the PSIM simulator,
3105contributed by Andrew Cagney, with assistance from Mike Meissner.
3106PSIM is a very elaborate model of the PowerPC, including not only
3107basic instruction set execution, but also details of execution unit
3108performance and I/O hardware. See sim/ppc/README for more details.
3109
3110* Solaris 2.5
3111
3112GDB now works with Solaris 2.5.
3113
3114* Windows 95/NT native
3115
3116GDB will now work as a native debugger on Windows 95 and Windows NT.
3117To build it from source, you must use the "gnu-win32" environment,
3118which uses a DLL to emulate enough of Unix to run the GNU tools.
3119Further information, binaries, and sources are available at
3120ftp.cygnus.com, under pub/gnu-win32.
3121
3122* dont-repeat command
3123
3124If a user-defined command includes the command `dont-repeat', then the
3125command will not be repeated if the user just types return. This is
3126useful if the command is time-consuming to run, so that accidental
3127extra keystrokes don't run the same command many times.
3128
3129* Send break instead of ^C
3130
3131The standard remote protocol now includes an option to send a break
3132rather than a ^C to the target in order to interrupt it. By default,
3133GDB will send ^C; to send a break, set the variable `remotebreak' to 1.
3134
3135* Remote protocol timeout
3136
3137The standard remote protocol includes a new variable `remotetimeout'
3138that allows you to set the number of seconds before GDB gives up trying
3139to read from the target. The default value is 2.
3140
3141* Automatic tracking of dynamic object loading (HPUX and Solaris only)
3142
3143By default GDB will automatically keep track of objects as they are
3144loaded and unloaded by the dynamic linker. By using the command `set
3145stop-on-solib-events 1' you can arrange for GDB to stop the inferior
3146when shared library events occur, thus allowing you to set breakpoints
3147in shared libraries which are explicitly loaded by the inferior.
3148
3149Note this feature does not work on hpux8. On hpux9 you must link
3150/usr/lib/end.o into your program. This feature should work
3151automatically on hpux10.
3152
3153* Irix 5.x hardware watchpoint support
3154
3155Irix 5 configurations now support the use of hardware watchpoints.
3156
3157* Mips protocol "SYN garbage limit"
3158
3159When debugging a Mips target using the `target mips' protocol, you
3160may set the number of characters that GDB will ignore by setting
3161the `syn-garbage-limit'. A value of -1 means that GDB will ignore
3162every character. The default value is 1050.
3163
3164* Recording and replaying remote debug sessions
3165
3166If you set `remotelogfile' to the name of a file, gdb will write to it
3167a recording of a remote debug session. This recording may then be
3168replayed back to gdb using "gdbreplay". See gdbserver/README for
3169details. This is useful when you have a problem with GDB while doing
3170remote debugging; you can make a recording of the session and send it
3171to someone else, who can then recreate the problem.
3172
3173* Speedups for remote debugging
3174
3175GDB includes speedups for downloading and stepping MIPS systems using
3176the IDT monitor, fast downloads to the Hitachi SH E7000 emulator,
3177and more efficient S-record downloading.
3178
3179* Memory use reductions and statistics collection
3180
3181GDB now uses less memory and reports statistics about memory usage.
3182Try the `maint print statistics' command, for example.
3183
3184*** Changes in GDB-4.15:
3185
3186* Psymtabs for XCOFF
3187
3188The symbol reader for AIX GDB now uses partial symbol tables. This
3189can greatly improve startup time, especially for large executables.
3190
3191* Remote targets use caching
3192
3193Remote targets now use a data cache to speed up communication with the
3194remote side. The data cache could lead to incorrect results because
3195it doesn't know about volatile variables, thus making it impossible to
3196debug targets which use memory mapped I/O devices. `set remotecache
3197off' turns the the data cache off.
3198
3199* Remote targets may have threads
3200
3201The standard remote protocol now includes support for multiple threads
3202in the target system, using new protocol commands 'H' and 'T'. See
3203gdb/remote.c for details.
3204
3205* NetROM support
3206
3207If GDB is configured with `--enable-netrom', then it will include
3208support for the NetROM ROM emulator from XLNT Designs. The NetROM
3209acts as though it is a bank of ROM on the target board, but you can
3210write into it over the network. GDB's support consists only of
3211support for fast loading into the emulated ROM; to debug, you must use
3212another protocol, such as standard remote protocol. The usual
3213sequence is something like
3214
3215 target nrom <netrom-hostname>
3216 load <prog>
3217 target remote <netrom-hostname>:1235
3218
3219* Macintosh host
3220
3221GDB now includes support for the Apple Macintosh, as a host only. It
3222may be run as either an MPW tool or as a standalone application, and
3223it can debug through the serial port. All the usual GDB commands are
3224available, but to the target command, you must supply "serial" as the
3225device type instead of "/dev/ttyXX". See mpw-README in the main
3226directory for more information on how to build. The MPW configuration
3227scripts */mpw-config.in support only a few targets, and only the
3228mips-idt-ecoff target has been tested.
3229
3230* Autoconf
3231
3232GDB configuration now uses autoconf. This is not user-visible,
3233but does simplify configuration and building.
3234
3235* hpux10
3236
3237GDB now supports hpux10.
3238
3239*** Changes in GDB-4.14:
3240
3241* New native configurations
3242
3243x86 FreeBSD i[345]86-*-freebsd
3244x86 NetBSD i[345]86-*-netbsd
3245NS32k NetBSD ns32k-*-netbsd
3246Sparc NetBSD sparc-*-netbsd
3247
3248* New targets
3249
3250A29K VxWorks a29k-*-vxworks
3251HP PA PRO embedded (WinBond W89K & Oki OP50N) hppa*-*-pro*
3252CPU32 EST-300 emulator m68*-*-est*
3253PowerPC ELF powerpc-*-elf
3254WDC 65816 w65-*-*
3255
3256* Alpha OSF/1 support for procfs
3257
3258GDB now supports procfs under OSF/1-2.x and higher, which makes it
3259possible to attach to running processes. As the mounting of the /proc
3260filesystem is optional on the Alpha, GDB automatically determines
3261the availability of /proc during startup. This can lead to problems
3262if /proc is unmounted after GDB has been started.
3263
3264* Arguments to user-defined commands
3265
3266User commands may accept up to 10 arguments separated by whitespace.
3267Arguments are accessed within the user command via $arg0..$arg9. A
3268trivial example:
3269define adder
3270 print $arg0 + $arg1 + $arg2
3271
3272To execute the command use:
3273adder 1 2 3
3274
3275Defines the command "adder" which prints the sum of its three arguments.
3276Note the arguments are text substitutions, so they may reference variables,
3277use complex expressions, or even perform inferior function calls.
3278
3279* New `if' and `while' commands
3280
3281This makes it possible to write more sophisticated user-defined
3282commands. Both commands take a single argument, which is the
3283expression to evaluate, and must be followed by the commands to
3284execute, one per line, if the expression is nonzero, the list being
3285terminated by the word `end'. The `if' command list may include an
3286`else' word, which causes the following commands to be executed only
3287if the expression is zero.
3288
3289* Fortran source language mode
3290
3291GDB now includes partial support for Fortran 77. It will recognize
3292Fortran programs and can evaluate a subset of Fortran expressions, but
3293variables and functions may not be handled correctly. GDB will work
3294with G77, but does not yet know much about symbols emitted by other
3295Fortran compilers.
3296
3297* Better HPUX support
3298
3299Most debugging facilities now work on dynamic executables for HPPAs
3300running hpux9 or later. You can attach to running dynamically linked
3301processes, but by default the dynamic libraries will be read-only, so
3302for instance you won't be able to put breakpoints in them. To change
3303that behavior do the following before running the program:
3304
3305 adb -w a.out
3306 __dld_flags?W 0x5
3307 control-d
3308
3309This will cause the libraries to be mapped private and read-write.
3310To revert to the normal behavior, do this:
3311
3312 adb -w a.out
3313 __dld_flags?W 0x4
3314 control-d
3315
3316You cannot set breakpoints or examine data in the library until after
3317the library is loaded if the function/data symbols do not have
3318external linkage.
3319
3320GDB can now also read debug symbols produced by the HP C compiler on
3321HPPAs (sorry, no C++, Fortran or 68k support).
3322
3323* Target byte order now dynamically selectable
3324
3325You can choose which byte order to use with a target system, via the
3326commands "set endian big" and "set endian little", and you can see the
3327current setting by using "show endian". You can also give the command
3328"set endian auto", in which case GDB will use the byte order
3329associated with the executable. Currently, only embedded MIPS
3330configurations support dynamic selection of target byte order.
3331
3332* New DOS host serial code
3333
3334This version uses DPMI interrupts to handle buffered I/O, so you
3335no longer need to run asynctsr when debugging boards connected to
3336a PC's serial port.
3337
3338*** Changes in GDB-4.13:
3339
3340* New "complete" command
3341
3342This lists all the possible completions for the rest of the line, if it
3343were to be given as a command itself. This is intended for use by emacs.
3344
3345* Trailing space optional in prompt
3346
3347"set prompt" no longer adds a space for you after the prompt you set. This
3348allows you to set a prompt which ends in a space or one that does not.
3349
3350* Breakpoint hit counts
3351
3352"info break" now displays a count of the number of times the breakpoint
3353has been hit. This is especially useful in conjunction with "ignore"; you
3354can ignore a large number of breakpoint hits, look at the breakpoint info
3355to see how many times the breakpoint was hit, then run again, ignoring one
3356less than that number, and this will get you quickly to the last hit of
3357that breakpoint.
3358
3359* Ability to stop printing at NULL character
3360
3361"set print null-stop" will cause GDB to stop printing the characters of
3362an array when the first NULL is encountered. This is useful when large
3363arrays actually contain only short strings.
3364
3365* Shared library breakpoints
3366
3367In SunOS 4.x, SVR4, and Alpha OSF/1 configurations, you can now set
3368breakpoints in shared libraries before the executable is run.
3369
3370* Hardware watchpoints
3371
3372There is a new hardware breakpoint for the watch command for sparclite
3373targets. See gdb/sparclite/hw_breakpoint.note.
3374
55241689 3375Hardware watchpoints are also now supported under GNU/Linux.
c906108c
SS
3376
3377* Annotations
3378
3379Annotations have been added. These are for use with graphical interfaces,
3380and are still experimental. Currently only gdba.el uses these.
3381
3382* Improved Irix 5 support
3383
3384GDB now works properly with Irix 5.2.
3385
3386* Improved HPPA support
3387
3388GDB now works properly with the latest GCC and GAS.
3389
3390* New native configurations
3391
3392Sequent PTX4 i[34]86-sequent-ptx4
3393HPPA running OSF/1 hppa*-*-osf*
3394Atari TT running SVR4 m68*-*-sysv4*
3395RS/6000 LynxOS rs6000-*-lynxos*
3396
3397* New targets
3398
3399OS/9000 i[34]86-*-os9k
3400MIPS R4000 mips64*{,el}-*-{ecoff,elf}
3401Sparc64 sparc64-*-*
3402
3403* Hitachi SH7000 and E7000-PC ICE support
3404
3405There is now support for communicating with the Hitachi E7000-PC ICE.
3406This is available automatically when GDB is configured for the SH.
3407
3408* Fixes
3409
3410As usual, a variety of small fixes and improvements, both generic
3411and configuration-specific. See the ChangeLog for more detail.
3412
3413*** Changes in GDB-4.12:
3414
3415* Irix 5 is now supported
3416
3417* HPPA support
3418
3419GDB-4.12 on the HPPA has a number of changes which make it unable
3420to debug the output from the currently released versions of GCC and
3421GAS (GCC 2.5.8 and GAS-2.2 or PAGAS-1.36). Until the next major release
3422of GCC and GAS, versions of these tools designed to work with GDB-4.12
3423can be retrieved via anonymous ftp from jaguar.cs.utah.edu:/dist.
3424
3425
3426*** Changes in GDB-4.11:
3427
3428* User visible changes:
3429
3430* Remote Debugging
3431
3432The "set remotedebug" option is now consistent between the mips remote
3433target, remote targets using the gdb-specific protocol, UDI (AMD's
3434debug protocol for the 29k) and the 88k bug monitor. It is now an
3435integer specifying a debug level (normally 0 or 1, but 2 means more
3436debugging info for the mips target).
3437
3438* DEC Alpha native support
3439
3440GDB now works on the DEC Alpha. GCC 2.4.5 does not produce usable
3441debug info, but GDB works fairly well with the DEC compiler and should
3442work with a future GCC release. See the README file for a few
3443Alpha-specific notes.
3444
3445* Preliminary thread implementation
3446
3447GDB now has preliminary thread support for both SGI/Irix and LynxOS.
3448
3449* LynxOS native and target support for 386
3450
3451This release has been hosted on LynxOS 2.2, and also can be configured
3452to remotely debug programs running under LynxOS (see gdb/gdbserver/README
3453for details).
3454
3455* Improvements in C++ mangling/demangling.
3456
3457This release has much better g++ debugging, specifically in name
3458mangling/demangling, virtual function calls, print virtual table,
3459call methods, ...etc.
3460
3461*** Changes in GDB-4.10:
3462
3463 * User visible changes:
3464
3465Remote debugging using the GDB-specific (`target remote') protocol now
3466supports the `load' command. This is only useful if you have some
3467other way of getting the stub to the target system, and you can put it
3468somewhere in memory where it won't get clobbered by the download.
3469
3470Filename completion now works.
3471
3472When run under emacs mode, the "info line" command now causes the
3473arrow to point to the line specified. Also, "info line" prints
3474addresses in symbolic form (as well as hex).
3475
3476All vxworks based targets now support a user settable option, called
3477vxworks-timeout. This option represents the number of seconds gdb
3478should wait for responses to rpc's. You might want to use this if
3479your vxworks target is, perhaps, a slow software simulator or happens
3480to be on the far side of a thin network line.
3481
3482 * DEC alpha support
3483
3484This release contains support for using a DEC alpha as a GDB host for
3485cross debugging. Native alpha debugging is not supported yet.
3486
3487
3488*** Changes in GDB-4.9:
3489
3490 * Testsuite
3491
3492This is the first GDB release which is accompanied by a matching testsuite.
3493The testsuite requires installation of dejagnu, which should be available
3494via ftp from most sites that carry GNU software.
3495
3496 * C++ demangling
3497
3498'Cfront' style demangling has had its name changed to 'ARM' style, to
3499emphasize that it was written from the specifications in the C++ Annotated
3500Reference Manual, not necessarily to be compatible with AT&T cfront. Despite
3501disclaimers, it still generated too much confusion with users attempting to
3502use gdb with AT&T cfront.
3503
3504 * Simulators
3505
3506GDB now uses a standard remote interface to a simulator library.
3507So far, the library contains simulators for the Zilog Z8001/2, the
3508Hitachi H8/300, H8/500 and Super-H.
3509
3510 * New targets supported
3511
3512H8/300 simulator h8300-hitachi-hms or h8300hms
3513H8/500 simulator h8500-hitachi-hms or h8500hms
3514SH simulator sh-hitachi-hms or sh
3515Z8000 simulator z8k-zilog-none or z8ksim
3516IDT MIPS board over serial line mips-idt-ecoff
3517
3518Cross-debugging to GO32 targets is supported. It requires a custom
3519version of the i386-stub.c module which is integrated with the
3520GO32 memory extender.
3521
3522 * New remote protocols
3523
3524MIPS remote debugging protocol.
3525
3526 * New source languages supported
3527
3528This version includes preliminary support for Chill, a Pascal like language
3529used by telecommunications companies. Chill support is also being integrated
3530into the GNU compiler, but we don't know when it will be publically available.
3531
3532
3533*** Changes in GDB-4.8:
3534
3535 * HP Precision Architecture supported
3536
3537GDB now supports HP PA-RISC machines running HPUX. A preliminary
3538version of this support was available as a set of patches from the
3539University of Utah. GDB does not support debugging of programs
3540compiled with the HP compiler, because HP will not document their file
3541format. Instead, you must use GCC (version 2.3.2 or later) and PA-GAS
3542(as available from jaguar.cs.utah.edu:/dist/pa-gas.u4.tar.Z).
3543
3544Many problems in the preliminary version have been fixed.
3545
3546 * Faster and better demangling
3547
3548We have improved template demangling and fixed numerous bugs in the GNU style
3549demangler. It can now handle type modifiers such as `static' or `const'. Wide
3550character types (wchar_t) are now supported. Demangling of each symbol is now
3551only done once, and is cached when the symbol table for a file is read in.
3552This results in a small increase in memory usage for C programs, a moderate
3553increase in memory usage for C++ programs, and a fantastic speedup in
3554symbol lookups.
3555
3556`Cfront' style demangling still doesn't work with AT&T cfront. It was written
3557from the specifications in the Annotated Reference Manual, which AT&T's
3558compiler does not actually implement.
3559
3560 * G++ multiple inheritance compiler problem
3561
3562In the 2.3.2 release of gcc/g++, how the compiler resolves multiple
3563inheritance lattices was reworked to properly discover ambiguities. We
3564recently found an example which causes this new algorithm to fail in a
3565very subtle way, producing bad debug information for those classes.
3566The file 'gcc.patch' (in this directory) can be applied to gcc to
3567circumvent the problem. A future GCC release will contain a complete
3568fix.
3569
3570The previous G++ debug info problem (mentioned below for the gdb-4.7
3571release) is fixed in gcc version 2.3.2.
3572
3573 * Improved configure script
3574
3575The `configure' script will now attempt to guess your system type if
3576you don't supply a host system type. The old scheme of supplying a
3577host system triplet is preferable over using this. All the magic is
3578done in the new `config.guess' script. Examine it for details.
3579
3580We have also brought our configure script much more in line with the FSF's
3581version. It now supports the --with-xxx options. In particular,
3582`--with-minimal-bfd' can be used to make the GDB binary image smaller.
3583The resulting GDB will not be able to read arbitrary object file formats --
3584only the format ``expected'' to be used on the configured target system.
3585We hope to make this the default in a future release.
3586
3587 * Documentation improvements
3588
3589There's new internal documentation on how to modify GDB, and how to
3590produce clean changes to the code. We implore people to read it
3591before submitting changes.
3592
3593The GDB manual uses new, sexy Texinfo conditionals, rather than arcane
3594M4 macros. The new texinfo.tex is provided in this release. Pre-built
3595`info' files are also provided. To build `info' files from scratch,
3596you will need the latest `makeinfo' release, which will be available in
3597a future texinfo-X.Y release.
3598
3599*NOTE* The new texinfo.tex can cause old versions of TeX to hang.
3600We're not sure exactly which versions have this problem, but it has
3601been seen in 3.0. We highly recommend upgrading to TeX version 3.141
3602or better. If that isn't possible, there is a patch in
3603`texinfo/tex3patch' that will modify `texinfo/texinfo.tex' to work
3604around this problem.
3605
3606 * New features
3607
3608GDB now supports array constants that can be used in expressions typed in by
3609the user. The syntax is `{element, element, ...}'. Ie: you can now type
3610`print {1, 2, 3}', and it will build up an array in memory malloc'd in
3611the target program.
3612
3613The new directory `gdb/sparclite' contains a program that demonstrates
3614how the sparc-stub.c remote stub runs on a Fujitsu SPARClite processor.
3615
3616 * New native hosts supported
3617
3618HP/PA-RISC under HPUX using GNU tools hppa1.1-hp-hpux
3619386 CPUs running SCO Unix 3.2v4 i386-unknown-sco3.2v4
3620
3621 * New targets supported
3622
3623AMD 29k family via UDI a29k-amd-udi or udi29k
3624
3625 * New file formats supported
3626
3627BFD now supports reading HP/PA-RISC executables (SOM file format?),
3628HPUX core files, and SCO 3.2v2 core files.
3629
3630 * Major bug fixes
3631
3632Attaching to processes now works again; thanks for the many bug reports.
3633
3634We have also stomped on a bunch of core dumps caused by
3635printf_filtered("%s") problems.
3636
3637We eliminated a copyright problem on the rpc and ptrace header files
3638for VxWorks, which was discovered at the last minute during the 4.7
3639release. You should now be able to build a VxWorks GDB.
3640
3641You can now interrupt gdb while an attached process is running. This
3642will cause the attached process to stop, and give control back to GDB.
3643
3644We fixed problems caused by using too many file descriptors
3645for reading symbols from object files and libraries. This was
3646especially a problem for programs that used many (~100) shared
3647libraries.
3648
3649The `step' command now only enters a subroutine if there is line number
3650information for the subroutine. Otherwise it acts like the `next'
3651command. Previously, `step' would enter subroutines if there was
3652any debugging information about the routine. This avoids problems
3653when using `cc -g1' on MIPS machines.
3654
3655 * Internal improvements
3656
3657GDB's internal interfaces have been improved to make it easier to support
3658debugging of multiple languages in the future.
3659
3660GDB now uses a common structure for symbol information internally.
3661Minimal symbols (derived from linkage symbols in object files), partial
3662symbols (from a quick scan of debug information), and full symbols
3663contain a common subset of information, making it easier to write
3664shared code that handles any of them.
3665
3666 * New command line options
3667
3668We now accept --silent as an alias for --quiet.
3669
3670 * Mmalloc licensing
3671
3672The memory-mapped-malloc library is now licensed under the GNU Library
3673General Public License.
3674
3675*** Changes in GDB-4.7:
3676
3677 * Host/native/target split
3678
3679GDB has had some major internal surgery to untangle the support for
3680hosts and remote targets. Now, when you configure GDB for a remote
3681target, it will no longer load in all of the support for debugging
3682local programs on the host. When fully completed and tested, this will
3683ensure that arbitrary host/target combinations are possible.
3684
3685The primary conceptual shift is to separate the non-portable code in
3686GDB into three categories. Host specific code is required any time GDB
3687is compiled on that host, regardless of the target. Target specific
3688code relates to the peculiarities of the target, but can be compiled on
3689any host. Native specific code is everything else: it can only be
3690built when the host and target are the same system. Child process
3691handling and core file support are two common `native' examples.
3692
3693GDB's use of /proc for controlling Unix child processes is now cleaner.
3694It has been split out into a single module under the `target_ops' vector,
3695plus two native-dependent functions for each system that uses /proc.
3696
3697 * New hosts supported
3698
3699HP/Apollo 68k (under the BSD domain) m68k-apollo-bsd or apollo68bsd
3700386 CPUs running various BSD ports i386-unknown-bsd or 386bsd
3701386 CPUs running SCO Unix i386-unknown-scosysv322 or i386sco
3702
3703 * New targets supported
3704
3705Fujitsu SPARClite sparclite-fujitsu-none or sparclite
370668030 and CPU32 m68030-*-*, m68332-*-*
3707
3708 * New native hosts supported
3709
3710386 CPUs running various BSD ports i386-unknown-bsd or 386bsd
3711 (386bsd is not well tested yet)
3712386 CPUs running SCO Unix i386-unknown-scosysv322 or sco
3713
3714 * New file formats supported
3715
3716BFD now supports COFF files for the Zilog Z8000 microprocessor. It
3717supports reading of `a.out.adobe' object files, which are an a.out
3718format extended with minimal information about multiple sections.
3719
3720 * New commands
3721
3722`show copying' is the same as the old `info copying'.
3723`show warranty' is the same as `info warrantee'.
3724These were renamed for consistency. The old commands continue to work.
3725
3726`info handle' is a new alias for `info signals'.
3727
3728You can now define pre-command hooks, which attach arbitrary command
3729scripts to any command. The commands in the hook will be executed
3730prior to the user's command. You can also create a hook which will be
3731executed whenever the program stops. See gdb.texinfo.
3732
3733 * C++ improvements
3734
3735We now deal with Cfront style name mangling, and can even extract type
3736info from mangled symbols. GDB can automatically figure out which
3737symbol mangling style your C++ compiler uses.
3738
3739Calling of methods and virtual functions has been improved as well.
3740
3741 * Major bug fixes
3742
3743The crash that occured when debugging Sun Ansi-C compiled binaries is
3744fixed. This was due to mishandling of the extra N_SO stabs output
3745by the compiler.
3746
3747We also finally got Ultrix 4.2 running in house, and fixed core file
3748support, with help from a dozen people on the net.
3749
3750John M. Farrell discovered that the reason that single-stepping was so
3751slow on all of the Mips based platforms (primarily SGI and DEC) was
3752that we were trying to demangle and lookup a symbol used for internal
3753purposes on every instruction that was being stepped through. Changing
3754the name of that symbol so that it couldn't be mistaken for a C++
3755mangled symbol sped things up a great deal.
3756
3757Rich Pixley sped up symbol lookups in general by getting much smarter
3758about when C++ symbol mangling is necessary. This should make symbol
3759completion (TAB on the command line) much faster. It's not as fast as
3760we'd like, but it's significantly faster than gdb-4.6.
3761
3762 * AMD 29k support
3763
3764A new user controllable variable 'call_scratch_address' can
3765specify the location of a scratch area to be used when GDB
3766calls a function in the target. This is necessary because the
3767usual method of putting the scratch area on the stack does not work
3768in systems that have separate instruction and data spaces.
3769
3770We integrated changes to support the 29k UDI (Universal Debugger
3771Interface), but discovered at the last minute that we didn't have all
3772of the appropriate copyright paperwork. We are working with AMD to
3773resolve this, and hope to have it available soon.
3774
3775 * Remote interfaces
3776
3777We have sped up the remote serial line protocol, especially for targets
3778with lots of registers. It now supports a new `expedited status' ('T')
3779message which can be used in place of the existing 'S' status message.
3780This allows the remote stub to send only the registers that GDB
3781needs to make a quick decision about single-stepping or conditional
3782breakpoints, eliminating the need to fetch the entire register set for
3783each instruction being stepped through.
3784
3785The GDB remote serial protocol now implements a write-through cache for
3786registers, only re-reading the registers if the target has run.
3787
3788There is also a new remote serial stub for SPARC processors. You can
3789find it in gdb-4.7/gdb/sparc-stub.c. This was written to support the
3790Fujitsu SPARClite processor, but will run on any stand-alone SPARC
3791processor with a serial port.
3792
3793 * Configuration
3794
3795Configure.in files have become much easier to read and modify. A new
3796`table driven' format makes it more obvious what configurations are
3797supported, and what files each one uses.
3798
3799 * Library changes
3800
3801There is a new opcodes library which will eventually contain all of the
3802disassembly routines and opcode tables. At present, it only contains
3803Sparc and Z8000 routines. This will allow the assembler, debugger, and
3804disassembler (binutils/objdump) to share these routines.
3805
3806The libiberty library is now copylefted under the GNU Library General
3807Public License. This allows more liberal use, and was done so libg++
3808can use it. This makes no difference to GDB, since the Library License
3809grants all the rights from the General Public License.
3810
3811 * Documentation
3812
3813The file gdb-4.7/gdb/doc/stabs.texinfo is a (relatively) complete
3814reference to the stabs symbol info used by the debugger. It is (as far
3815as we know) the only published document on this fascinating topic. We
3816encourage you to read it, compare it to the stabs information on your
3817system, and send improvements on the document in general (to
3818bug-gdb@prep.ai.mit.edu).
3819
3820And, of course, many bugs have been fixed.
3821
3822
3823*** Changes in GDB-4.6:
3824
3825 * Better support for C++ function names
3826
3827GDB now accepts as input the "demangled form" of C++ overloaded function
3828names and member function names, and can do command completion on such names
3829(using TAB, TAB-TAB, and ESC-?). The names have to be quoted with a pair of
3830single quotes. Examples are 'func (int, long)' and 'obj::operator==(obj&)'.
3831Make use of command completion, it is your friend.
3832
3833GDB also now accepts a variety of C++ mangled symbol formats. They are
3834the GNU g++ style, the Cfront (ARM) style, and the Lucid (lcc) style.
3835You can tell GDB which format to use by doing a 'set demangle-style {gnu,
3836lucid, cfront, auto}'. 'gnu' is the default. Do a 'set demangle-style foo'
3837for the list of formats.
3838
3839 * G++ symbol mangling problem
3840
3841Recent versions of gcc have a bug in how they emit debugging information for
3842C++ methods (when using dbx-style stabs). The file 'gcc.patch' (in this
3843directory) can be applied to gcc to fix the problem. Alternatively, if you
3844can't fix gcc, you can #define GCC_MANGLE_BUG when compling gdb/symtab.c. The
3845usual symptom is difficulty with setting breakpoints on methods. GDB complains
3846about the method being non-existent. (We believe that version 2.2.2 of GCC has
3847this problem.)
3848
3849 * New 'maintenance' command
3850
3851All of the commands related to hacking GDB internals have been moved out of
3852the main command set, and now live behind the 'maintenance' command. This
3853can also be abbreviated as 'mt'. The following changes were made:
3854
3855 dump-me -> maintenance dump-me
3856 info all-breakpoints -> maintenance info breakpoints
3857 printmsyms -> maintenance print msyms
3858 printobjfiles -> maintenance print objfiles
3859 printpsyms -> maintenance print psymbols
3860 printsyms -> maintenance print symbols
3861
3862The following commands are new:
3863
3864 maintenance demangle Call internal GDB demangler routine to
3865 demangle a C++ link name and prints the result.
3866 maintenance print type Print a type chain for a given symbol
3867
3868 * Change to .gdbinit file processing
3869
3870We now read the $HOME/.gdbinit file before processing the argv arguments
3871(e.g. reading symbol files or core files). This allows global parameters to
3872be set, which will apply during the symbol reading. The ./.gdbinit is still
3873read after argv processing.
3874
3875 * New hosts supported
3876
3877Solaris-2.0 !!! sparc-sun-solaris2 or sun4sol2
3878
55241689 3879GNU/Linux support i386-unknown-linux or linux
c906108c
SS
3880
3881We are also including code to support the HP/PA running BSD and HPUX. This
3882is almost guaranteed not to work, as we didn't have time to test or build it
3883for this release. We are including it so that the more adventurous (or
3884masochistic) of you can play with it. We also had major problems with the
3885fact that the compiler that we got from HP doesn't support the -g option.
3886It costs extra.
3887
3888 * New targets supported
3889
3890Hitachi H8/300 h8300-hitachi-hms or h8300hms
3891
3892 * More smarts about finding #include files
3893
3894GDB now remembers the compilation directory for all include files, and for
3895all files from which C is generated (like yacc and lex sources). This
3896greatly improves GDB's ability to find yacc/lex sources, and include files,
3897especially if you are debugging your program from a directory different from
3898the one that contains your sources.
3899
3900We also fixed a bug which caused difficulty with listing and setting
3901breakpoints in include files which contain C code. (In the past, you had to
3902try twice in order to list an include file that you hadn't looked at before.)
3903
3904 * Interesting infernals change
3905
3906GDB now deals with arbitrary numbers of sections, where the symbols for each
3907section must be relocated relative to that section's landing place in the
3908target's address space. This work was needed to support ELF with embedded
3909stabs used by Solaris-2.0.
3910
3911 * Bug fixes (of course!)
3912
3913There have been loads of fixes for the following things:
3914 mips, rs6000, 29k/udi, m68k, g++, type handling, elf/dwarf, m88k,
3915 i960, stabs, DOS(GO32), procfs, etc...
3916
3917See the ChangeLog for details.
3918
3919*** Changes in GDB-4.5:
3920
3921 * New machines supported (host and target)
3922
3923IBM RS6000 running AIX rs6000-ibm-aix or rs6000
3924
3925SGI Irix-4.x mips-sgi-irix4 or iris4
3926
3927 * New malloc package
3928
3929GDB now uses a new memory manager called mmalloc, based on gmalloc.
3930Mmalloc is capable of handling mutiple heaps of memory. It is also
3931capable of saving a heap to a file, and then mapping it back in later.
3932This can be used to greatly speedup the startup of GDB by using a
3933pre-parsed symbol table which lives in a mmalloc managed heap. For
3934more details, please read mmalloc/mmalloc.texi.
3935
3936 * info proc
3937
3938The 'info proc' command (SVR4 only) has been enhanced quite a bit. See
3939'help info proc' for details.
3940
3941 * MIPS ecoff symbol table format
3942
3943The code that reads MIPS symbol table format is now supported on all hosts.
3944Thanks to MIPS for releasing the sym.h and symconst.h files to make this
3945possible.
3946
3947 * File name changes for MS-DOS
3948
3949Many files in the config directories have been renamed to make it easier to
3950support GDB on MS-DOSe systems (which have very restrictive file name
3951conventions :-( ). MS-DOSe host support (under DJ Delorie's GO32
3952environment) is close to working but has some remaining problems. Note
3953that debugging of DOS programs is not supported, due to limitations
3954in the ``operating system'', but it can be used to host cross-debugging.
3955
3956 * Cross byte order fixes
3957
3958Many fixes have been made to support cross debugging of Sparc and MIPS
3959targets from hosts whose byte order differs.
3960
3961 * New -mapped and -readnow options
3962
3963If memory-mapped files are available on your system through the 'mmap'
3964system call, you can use the -mapped option on the `file' or
3965`symbol-file' commands to cause GDB to write the symbols from your
3966program into a reusable file. If the program you are debugging is
3967called `/path/fred', the mapped symbol file will be `./fred.syms'.
3968Future GDB debugging sessions will notice the presence of this file,
3969and will quickly map in symbol information from it, rather than reading
3970the symbol table from the executable program. Using the '-mapped'
3971option in a GDB `file' or `symbol-file' command has the same effect as
3972starting GDB with the '-mapped' command-line option.
3973
3974You can cause GDB to read the entire symbol table immediately by using
3975the '-readnow' option with any of the commands that load symbol table
3976information (or on the GDB command line). This makes the command
3977slower, but makes future operations faster.
3978
3979The -mapped and -readnow options are typically combined in order to
3980build a `fred.syms' file that contains complete symbol information.
3981A simple GDB invocation to do nothing but build a `.syms' file for future
3982use is:
3983
3984 gdb -batch -nx -mapped -readnow programname
3985
3986The `.syms' file is specific to the host machine on which GDB is run.
3987It holds an exact image of GDB's internal symbol table. It cannot be
3988shared across multiple host platforms.
3989
3990 * longjmp() handling
3991
3992GDB is now capable of stepping and nexting over longjmp(), _longjmp(), and
3993siglongjmp() without losing control. This feature has not yet been ported to
3994all systems. It currently works on many 386 platforms, all MIPS-based
3995platforms (SGI, DECstation, etc), and Sun3/4.
3996
3997 * Solaris 2.0
3998
3999Preliminary work has been put in to support the new Solaris OS from Sun. At
4000this time, it can control and debug processes, but it is not capable of
4001reading symbols.
4002
4003 * Bug fixes
4004
4005As always, many many bug fixes. The major areas were with g++, and mipsread.
4006People using the MIPS-based platforms should experience fewer mysterious
4007crashes and trashed symbol tables.
4008
4009*** Changes in GDB-4.4:
4010
4011 * New machines supported (host and target)
4012
4013SCO Unix on i386 IBM PC clones i386-sco-sysv or i386sco
4014 (except core files)
4015BSD Reno on Vax vax-dec-bsd
4016Ultrix on Vax vax-dec-ultrix
4017
4018 * New machines supported (target)
4019
4020AMD 29000 embedded, using EBMON a29k-none-none
4021
4022 * C++ support
4023
4024GDB continues to improve its handling of C++. `References' work better.
4025The demangler has also been improved, and now deals with symbols mangled as
4026per the Annotated C++ Reference Guide.
4027
4028GDB also now handles `stabs' symbol information embedded in MIPS
4029`ecoff' symbol tables. Since the ecoff format was not easily
4030extensible to handle new languages such as C++, this appeared to be a
4031good way to put C++ debugging info into MIPS binaries. This option
4032will be supported in the GNU C compiler, version 2, when it is
4033released.
4034
4035 * New features for SVR4
4036
4037GDB now handles SVR4 shared libraries, in the same fashion as SunOS
4038shared libraries. Debugging dynamically linked programs should present
4039only minor differences from debugging statically linked programs.
4040
4041The `info proc' command will print out information about any process
4042on an SVR4 system (including the one you are debugging). At the moment,
4043it prints the address mappings of the process.
4044
4045If you bring up GDB on another SVR4 system, please send mail to
4046bug-gdb@prep.ai.mit.edu to let us know what changes were reqired (if any).
4047
4048 * Better dynamic linking support in SunOS
4049
4050Reading symbols from shared libraries which contain debugging symbols
4051now works properly. However, there remain issues such as automatic
4052skipping of `transfer vector' code during function calls, which
4053make it harder to debug code in a shared library, than to debug the
4054same code linked statically.
4055
4056 * New Getopt
4057
4058GDB is now using the latest `getopt' routines from the FSF. This
4059version accepts the -- prefix for options with long names. GDB will
4060continue to accept the old forms (-option and +option) as well.
4061Various single letter abbreviations for options have been explicity
4062added to the option table so that they won't get overshadowed in the
4063future by other options that begin with the same letter.
4064
4065 * Bugs fixed
4066
4067The `cleanup_undefined_types' bug that many of you noticed has been squashed.
4068Many assorted bugs have been handled. Many more remain to be handled.
4069See the various ChangeLog files (primarily in gdb and bfd) for details.
4070
4071
4072*** Changes in GDB-4.3:
4073
4074 * New machines supported (host and target)
4075
4076Amiga 3000 running Amix m68k-cbm-svr4 or amix
4077NCR 3000 386 running SVR4 i386-ncr-svr4 or ncr3000
4078Motorola Delta 88000 running Sys V m88k-motorola-sysv or delta88
4079
4080 * Almost SCO Unix support
4081
4082We had hoped to support:
4083SCO Unix on i386 IBM PC clones i386-sco-sysv or i386sco
4084(except for core file support), but we discovered very late in the release
4085that it has problems with process groups that render gdb unusable. Sorry
4086about that. I encourage people to fix it and post the fixes.
4087
4088 * Preliminary ELF and DWARF support
4089
4090GDB can read ELF object files on System V Release 4, and can handle
4091debugging records for C, in DWARF format, in ELF files. This support
4092is preliminary. If you bring up GDB on another SVR4 system, please
4093send mail to bug-gdb@prep.ai.mit.edu to let us know what changes were
4094reqired (if any).
4095
4096 * New Readline
4097
4098GDB now uses the latest `readline' library. One user-visible change
4099is that two tabs will list possible command completions, which previously
4100required typing M-? (meta-question mark, or ESC ?).
4101
4102 * Bugs fixed
4103
4104The `stepi' bug that many of you noticed has been squashed.
4105Many bugs in C++ have been handled. Many more remain to be handled.
4106See the various ChangeLog files (primarily in gdb and bfd) for details.
4107
4108 * State of the MIPS world (in case you wondered):
4109
4110GDB can understand the symbol tables emitted by the compilers
4111supplied by most vendors of MIPS-based machines, including DEC. These
4112symbol tables are in a format that essentially nobody else uses.
4113
4114Some versions of gcc come with an assembler post-processor called
4115mips-tfile. This program is required if you want to do source-level
4116debugging of gcc-compiled programs. I believe FSF does not ship
4117mips-tfile with gcc version 1, but it will eventually come with gcc
4118version 2.
4119
4120Debugging of g++ output remains a problem. g++ version 1.xx does not
4121really support it at all. (If you're lucky, you should be able to get
4122line numbers and stack traces to work, but no parameters or local
4123variables.) With some work it should be possible to improve the
4124situation somewhat.
4125
4126When gcc version 2 is released, you will have somewhat better luck.
4127However, even then you will get confusing results for inheritance and
4128methods.
4129
4130We will eventually provide full debugging of g++ output on
4131DECstations. This will probably involve some kind of stabs-in-ecoff
4132encapulation, but the details have not been worked out yet.
4133
4134
4135*** Changes in GDB-4.2:
4136
4137 * Improved configuration
4138
4139Only one copy of `configure' exists now, and it is not self-modifying.
4140Porting BFD is simpler.
4141
4142 * Stepping improved
4143
4144The `step' and `next' commands now only stop at the first instruction
4145of a source line. This prevents the multiple stops that used to occur
4146in switch statements, for-loops, etc. `Step' continues to stop if a
4147function that has debugging information is called within the line.
4148
4149 * Bug fixing
4150
4151Lots of small bugs fixed. More remain.
4152
4153 * New host supported (not target)
4154
4155Intel 386 PC clone running Mach i386-none-mach
4156
4157
4158*** Changes in GDB-4.1:
4159
4160 * Multiple source language support
4161
4162GDB now has internal scaffolding to handle several source languages.
4163It determines the type of each source file from its filename extension,
4164and will switch expression parsing and number formatting to match the
4165language of the function in the currently selected stack frame.
4166You can also specifically set the language to be used, with
4167`set language c' or `set language modula-2'.
4168
4169 * GDB and Modula-2
4170
4171GDB now has preliminary support for the GNU Modula-2 compiler,
4172currently under development at the State University of New York at
4173Buffalo. Development of both GDB and the GNU Modula-2 compiler will
4174continue through the fall of 1991 and into 1992.
4175
4176Other Modula-2 compilers are currently not supported, and attempting to
4177debug programs compiled with them will likely result in an error as the
4178symbol table is read. Feel free to work on it, though!
4179
4180There are hooks in GDB for strict type checking and range checking,
4181in the `Modula-2 philosophy', but they do not currently work.
4182
4183 * set write on/off
4184
4185GDB can now write to executable and core files (e.g. patch
4186a variable's value). You must turn this switch on, specify
4187the file ("exec foo" or "core foo"), *then* modify it, e.g.
4188by assigning a new value to a variable. Modifications take
4189effect immediately.
4190
4191 * Automatic SunOS shared library reading
4192
4193When you run your program, GDB automatically determines where its
4194shared libraries (if any) have been loaded, and reads their symbols.
4195The `share' command is no longer needed. This also works when
4196examining core files.
4197
4198 * set listsize
4199
4200You can specify the number of lines that the `list' command shows.
4201The default is 10.
4202
4203 * New machines supported (host and target)
4204
4205SGI Iris (MIPS) running Irix V3: mips-sgi-irix or iris
4206Sony NEWS (68K) running NEWSOS 3.x: m68k-sony-sysv or news
4207Ultracomputer (29K) running Sym1: a29k-nyu-sym1 or ultra3
4208
4209 * New hosts supported (not targets)
4210
4211IBM RT/PC: romp-ibm-aix or rtpc
4212
4213 * New targets supported (not hosts)
4214
4215AMD 29000 embedded with COFF a29k-none-coff
4216AMD 29000 embedded with a.out a29k-none-aout
4217Ultracomputer remote kernel debug a29k-nyu-kern
4218
4219 * New remote interfaces
4220
4221AMD 29000 Adapt
4222AMD 29000 Minimon
4223
4224
4225*** Changes in GDB-4.0:
4226
4227 * New Facilities
4228
4229Wide output is wrapped at good places to make the output more readable.
4230
4231Gdb now supports cross-debugging from a host machine of one type to a
4232target machine of another type. Communication with the target system
4233is over serial lines. The ``target'' command handles connecting to the
4234remote system; the ``load'' command will download a program into the
4235remote system. Serial stubs for the m68k and i386 are provided. Gdb
4236also supports debugging of realtime processes running under VxWorks,
4237using SunRPC Remote Procedure Calls over TCP/IP to talk to a debugger
4238stub on the target system.
4239
4240New CPUs supported include the AMD 29000 and Intel 960.
4241
4242GDB now reads object files and symbol tables via a ``binary file''
4243library, which allows a single copy of GDB to debug programs of multiple
4244object file types such as a.out and coff.
4245
4246There is now a GDB reference card in "doc/refcard.tex". (Make targets
4247refcard.dvi and refcard.ps are available to format it).
4248
4249
4250 * Control-Variable user interface simplified
4251
4252All variables that control the operation of the debugger can be set
4253by the ``set'' command, and displayed by the ``show'' command.
4254
4255For example, ``set prompt new-gdb=>'' will change your prompt to new-gdb=>.
4256``Show prompt'' produces the response:
4257Gdb's prompt is new-gdb=>.
4258
4259What follows are the NEW set commands. The command ``help set'' will
4260print a complete list of old and new set commands. ``help set FOO''
4261will give a longer description of the variable FOO. ``show'' will show
4262all of the variable descriptions and their current settings.
4263
4264confirm on/off: Enables warning questions for operations that are
4265 hard to recover from, e.g. rerunning the program while
4266 it is already running. Default is ON.
4267
4268editing on/off: Enables EMACS style command line editing
4269 of input. Previous lines can be recalled with
4270 control-P, the current line can be edited with control-B,
4271 you can search for commands with control-R, etc.
4272 Default is ON.
4273
4274history filename NAME: NAME is where the gdb command history
4275 will be stored. The default is .gdb_history,
4276 or the value of the environment variable
4277 GDBHISTFILE.
4278
4279history size N: The size, in commands, of the command history. The
4280 default is 256, or the value of the environment variable
4281 HISTSIZE.
4282
4283history save on/off: If this value is set to ON, the history file will
4284 be saved after exiting gdb. If set to OFF, the
4285 file will not be saved. The default is OFF.
4286
4287history expansion on/off: If this value is set to ON, then csh-like
4288 history expansion will be performed on
4289 command line input. The default is OFF.
4290
4291radix N: Sets the default radix for input and output. It can be set
4292 to 8, 10, or 16. Note that the argument to "radix" is interpreted
4293 in the current radix, so "set radix 10" is always a no-op.
4294
4295height N: This integer value is the number of lines on a page. Default
4296 is 24, the current `stty rows'' setting, or the ``li#''
4297 setting from the termcap entry matching the environment
4298 variable TERM.
4299
4300width N: This integer value is the number of characters on a line.
4301 Default is 80, the current `stty cols'' setting, or the ``co#''
4302 setting from the termcap entry matching the environment
4303 variable TERM.
4304
4305Note: ``set screensize'' is obsolete. Use ``set height'' and
4306``set width'' instead.
4307
4308print address on/off: Print memory addresses in various command displays,
4309 such as stack traces and structure values. Gdb looks
4310 more ``symbolic'' if you turn this off; it looks more
4311 ``machine level'' with it on. Default is ON.
4312
4313print array on/off: Prettyprint arrays. New convenient format! Default
4314 is OFF.
4315
4316print demangle on/off: Print C++ symbols in "source" form if on,
4317 "raw" form if off.
4318
4319print asm-demangle on/off: Same, for assembler level printouts
4320 like instructions.
4321
4322print vtbl on/off: Prettyprint C++ virtual function tables. Default is OFF.
4323
4324
4325 * Support for Epoch Environment.
4326
4327The epoch environment is a version of Emacs v18 with windowing. One
4328new command, ``inspect'', is identical to ``print'', except that if you
4329are running in the epoch environment, the value is printed in its own
4330window.
4331
4332
4333 * Support for Shared Libraries
4334
4335GDB can now debug programs and core files that use SunOS shared libraries.
4336Symbols from a shared library cannot be referenced
4337before the shared library has been linked with the program (this
4338happens after you type ``run'' and before the function main() is entered).
4339At any time after this linking (including when examining core files
4340from dynamically linked programs), gdb reads the symbols from each
4341shared library when you type the ``sharedlibrary'' command.
4342It can be abbreviated ``share''.
4343
4344sharedlibrary REGEXP: Load shared object library symbols for files
4345 matching a unix regular expression. No argument
4346 indicates to load symbols for all shared libraries.
4347
4348info sharedlibrary: Status of loaded shared libraries.
4349
4350
4351 * Watchpoints
4352
4353A watchpoint stops execution of a program whenever the value of an
4354expression changes. Checking for this slows down execution
4355tremendously whenever you are in the scope of the expression, but is
4356quite useful for catching tough ``bit-spreader'' or pointer misuse
4357problems. Some machines such as the 386 have hardware for doing this
4358more quickly, and future versions of gdb will use this hardware.
4359
4360watch EXP: Set a watchpoint (breakpoint) for an expression.
4361
4362info watchpoints: Information about your watchpoints.
4363
4364delete N: Deletes watchpoint number N (same as breakpoints).
4365disable N: Temporarily turns off watchpoint number N (same as breakpoints).
4366enable N: Re-enables watchpoint number N (same as breakpoints).
4367
4368
4369 * C++ multiple inheritance
4370
4371When used with a GCC version 2 compiler, GDB supports multiple inheritance
4372for C++ programs.
4373
4374 * C++ exception handling
4375
4376Gdb now supports limited C++ exception handling. Besides the existing
4377ability to breakpoint on an exception handler, gdb can breakpoint on
4378the raising of an exception (before the stack is peeled back to the
4379handler's context).
4380
4381catch FOO: If there is a FOO exception handler in the dynamic scope,
4382 set a breakpoint to catch exceptions which may be raised there.
4383 Multiple exceptions (``catch foo bar baz'') may be caught.
4384
4385info catch: Lists all exceptions which may be caught in the
4386 current stack frame.
4387
4388
4389 * Minor command changes
4390
4391The command ``call func (arg, arg, ...)'' now acts like the print
4392command, except it does not print or save a value if the function's result
4393is void. This is similar to dbx usage.
4394
4395The ``up'' and ``down'' commands now always print the frame they end up
4396at; ``up-silently'' and `down-silently'' can be used in scripts to change
4397frames without printing.
4398
4399 * New directory command
4400
4401'dir' now adds directories to the FRONT of the source search path.
4402The path starts off empty. Source files that contain debug information
4403about the directory in which they were compiled can be found even
4404with an empty path; Sun CC and GCC include this information. If GDB can't
4405find your source file in the current directory, type "dir .".
4406
4407 * Configuring GDB for compilation
4408
4409For normal use, type ``./configure host''. See README or gdb.texinfo
4410for more details.
4411
4412GDB now handles cross debugging. If you are remotely debugging between
4413two different machines, type ``./configure host -target=targ''.
4414Host is the machine where GDB will run; targ is the machine
4415where the program that you are debugging will run.
This page took 0.779456 seconds and 4 git commands to generate.