Make add-symbol-file's address argument optional
[external/binutils.git] / gdb / NEWS
1                 What has changed in GDB?
2              (Organized release by release)
3
4 *** Changes since GDB 8.1
5
6 * The 'symbol-file' command now accepts an '-o' option to add a relative
7   offset to all sections.
8
9 * The 'add-symbol-file' command no longer requires the second argument
10   (address of the text section).
11
12 * The endianness used with the 'set endian auto' mode in the absence of
13   an executable selected for debugging is now the last endianness chosen
14   either by one of the 'set endian big' and 'set endian little' commands
15   or by inferring from the last executable used, rather than the startup
16   default.
17
18 * The pager now allows a "c" response, meaning to disable the pager
19   for the rest of the current command.
20
21 * The commands 'info variables/functions/types' now show the source line
22   numbers of symbol definitions when available.
23
24 * 'info proc' now works on running processes on FreeBSD systems and core
25   files created on FreeBSD systems.
26
27 * C expressions can now use _Alignof, and C++ expressions can now use
28   alignof.
29
30 * New commands
31
32 set debug fbsd-nat
33 show debug fbsd-nat
34   Control display of debugging info regarding the FreeBSD native target.
35
36 set|show varsize-limit
37   This new setting allows the user to control the maximum size of Ada
38   objects being printed when those objects have a variable type,
39   instead of that maximum size being hardcoded to 65536 bytes.
40
41 set|show record btrace cpu
42   Controls the processor to be used for enabling errata workarounds for
43   branch trace decode.
44
45 maint check libthread-db
46   Run integrity checks on the current inferior's thread debugging
47   library
48
49 maint set check-libthread-db (on|off)
50 maint show check-libthread-db
51   Control whether to run integrity checks on inferior specific thread
52   debugging libraries as they are loaded.  The default is not to
53   perform such checks.
54
55 * Python API
56
57   ** Type alignment is now exposed via the "align" attribute of a gdb.Type.
58
59   ** The commands attached to a breakpoint can be set by assigning to
60      the breakpoint's "commands" field.
61
62   ** gdb.execute can now execute multi-line gdb commands.
63
64   ** The new functions gdb.convenience_variable and
65      gdb.set_convenience_variable can be used to get and set the value
66      of convenience variables.
67
68   ** A gdb.Parameter will no longer print the "set" help text on an
69      ordinary "set"; instead by default a "set" will be silent unless
70      the get_set_string method returns a non-empty string.
71
72 * New targets
73
74 RiscV ELF                       riscv*-*-elf
75
76 * Removed targets and native configurations
77
78 m88k running OpenBSD            m88*-*-openbsd*
79 SH-5/SH64 ELF                   sh64-*-elf*, SH-5/SH64 support in sh*
80 SH-5/SH64 running GNU/Linux     SH-5/SH64 support in sh*-*-linux*
81 SH-5/SH64 running OpenBSD       SH-5/SH64 support in sh*-*-openbsd*
82
83 * Aarch64/Linux hardware watchpoints improvements
84
85   Hardware watchpoints on unaligned addresses are now properly
86   supported when running Linux kernel 4.10 or higher: read and access
87   watchpoints are no longer spuriously missed, and all watchpoints
88   lengths between 1 and 8 bytes are supported.  On older kernels,
89   watchpoints set on unaligned addresses are no longer missed, with
90   the tradeoff that there is a possibility of false hits being
91   reported.
92
93 *** Changes in GDB 8.1
94
95 * GDB now supports dynamically creating arbitrary register groups specified
96   in XML target descriptions.  This allows for finer grain grouping of
97   registers on systems with a large amount of registers.
98
99 * The 'ptype' command now accepts a '/o' flag, which prints the
100   offsets and sizes of fields in a struct, like the pahole(1) tool.
101
102 * New "--readnever" command line option instructs GDB to not read each
103   symbol file's symbolic debug information.  This makes startup faster
104   but at the expense of not being able to perform symbolic debugging.
105   This option is intended for use cases where symbolic debugging will
106   not be used, e.g., when you only need to dump the debuggee's core.
107
108 * GDB now uses the GNU MPFR library, if available, to emulate target
109   floating-point arithmetic during expression evaluation when the target
110   uses different floating-point formats than the host.  At least version
111   3.1 of GNU MPFR is required.
112
113 * GDB now supports access to the guarded-storage-control registers and the
114   software-based guarded-storage broadcast control registers on IBM z14.
115
116 * On Unix systems, GDB now supports transmitting environment variables
117   that are to be set or unset to GDBserver.  These variables will
118   affect the environment to be passed to the remote inferior.
119
120   To inform GDB of environment variables that are to be transmitted to
121   GDBserver, use the "set environment" command.  Only user set
122   environment variables are sent to GDBserver.
123
124   To inform GDB of environment variables that are to be unset before
125   the remote inferior is started by the GDBserver, use the "unset
126   environment" command.
127
128 * Completion improvements
129
130   ** GDB can now complete function parameters in linespecs and
131      explicit locations without quoting.  When setting breakpoints,
132      quoting around functions names to help with TAB-completion is
133      generally no longer necessary.  For example, this now completes
134      correctly:
135
136       (gdb) b function(in[TAB]
137       (gdb) b function(int)
138
139      Related, GDB is no longer confused with completing functions in
140      C++ anonymous namespaces:
141
142       (gdb) b (anon[TAB]
143       (gdb) b (anonymous namespace)::[TAB][TAB]
144       (anonymous namespace)::a_function()
145       (anonymous namespace)::b_function()
146
147   ** GDB now has much improved linespec and explicit locations TAB
148      completion support, that better understands what you're
149      completing and offers better suggestions.  For example, GDB no
150      longer offers data symbols as possible completions when you're
151      setting a breakpoint.
152
153   ** GDB now TAB-completes label symbol names.
154
155   ** The "complete" command now mimics TAB completion accurately.
156
157 * New command line options (gcore)
158
159 -a
160   Dump all memory mappings.
161
162 * Breakpoints on C++ functions are now set on all scopes by default
163
164   By default, breakpoints on functions/methods are now interpreted as
165   specifying all functions with the given name ignoring missing
166   leading scopes (namespaces and classes).
167
168   For example, assuming a C++ program with symbols named:
169
170     A::B::func()
171     B::func()
172
173   both commands "break func()" and "break B::func()" set a breakpoint
174   on both symbols.
175
176   You can use the new flag "-qualified" to override this.  This makes
177   GDB interpret the specified function name as a complete
178   fully-qualified name instead.  For example, using the same C++
179   program, the "break -q B::func" command sets a breakpoint on
180   "B::func", only.  A parameter has been added to the Python
181   gdb.Breakpoint constructor to achieve the same result when creating
182   a breakpoint from Python.
183
184 * Breakpoints on functions marked with C++ ABI tags
185
186   GDB can now set breakpoints on functions marked with C++ ABI tags
187   (e.g., [abi:cxx11]).  See here for a description of ABI tags:
188   https://developers.redhat.com/blog/2015/02/05/gcc5-and-the-c11-abi/
189
190   Functions with a C++11 abi tag are demangled/displayed like this:
191
192     function[abi:cxx11](int)
193             ^^^^^^^^^^^
194
195   You can now set a breakpoint on such functions simply as if they had
196   no tag, like:
197
198     (gdb) b function(int)
199
200   Or if you need to disambiguate between tags, like:
201
202     (gdb) b function[abi:other_tag](int)
203
204   Tab completion was adjusted accordingly as well.
205
206 * Python Scripting
207
208   ** New events gdb.new_inferior, gdb.inferior_deleted, and
209      gdb.new_thread are emitted.  See the manual for further
210      description of these.
211
212   ** A new function, "gdb.rbreak" has been added to the Python API.
213      This function allows the setting of a large number of breakpoints
214      via a regex pattern in Python.  See the manual for further details.
215
216   ** Python breakpoints can now accept explicit locations.  See the
217      manual for a further description of this feature.
218
219
220 * New features in the GDB remote stub, GDBserver
221
222   ** GDBserver is now able to start inferior processes with a
223      specified initial working directory.
224
225      The user can set the desired working directory to be used from
226      GDB using the new "set cwd" command.
227
228   ** New "--selftest" command line option runs some GDBserver self
229      tests.  These self tests are disabled in releases.
230
231   ** On Unix systems, GDBserver now does globbing expansion and variable
232      substitution in inferior command line arguments.
233
234      This is done by starting inferiors using a shell, like GDB does.
235      See "set startup-with-shell" in the user manual for how to disable
236      this from GDB when using "target extended-remote".  When using
237      "target remote", you can disable the startup with shell by using the
238      new "--no-startup-with-shell" GDBserver command line option.
239
240   ** On Unix systems, GDBserver now supports receiving environment
241      variables that are to be set or unset from GDB.  These variables
242      will affect the environment to be passed to the inferior.
243
244 * When catching an Ada exception raised with a message, GDB now prints
245   the message in the catchpoint hit notification. In GDB/MI mode, that
246   information is provided as an extra field named "exception-message"
247   in the *stopped notification.
248
249 * Trait objects can now be inspected When debugging Rust code.  This
250   requires compiler support which will appear in Rust 1.24.
251
252 * New remote packets
253
254 QEnvironmentHexEncoded
255   Inform GDBserver of an environment variable that is to be passed to
256   the inferior when starting it.
257
258 QEnvironmentUnset
259   Inform GDBserver of an environment variable that is to be unset
260   before starting the remote inferior.
261
262 QEnvironmentReset
263   Inform GDBserver that the environment should be reset (i.e.,
264   user-set environment variables should be unset).
265
266 QStartupWithShell
267   Indicates whether the inferior must be started with a shell or not.
268
269 QSetWorkingDir
270   Tell GDBserver that the inferior to be started should use a specific
271   working directory.
272
273 * The "maintenance print c-tdesc" command now takes an optional
274   argument which is the file name of XML target description.
275
276 * The "maintenance selftest" command now takes an optional argument to
277   filter the tests to be run.
278
279 * The "enable", and "disable" commands now accept a range of
280   breakpoint locations, e.g. "enable 1.3-5".
281
282 * New commands
283
284 set|show cwd
285   Set and show the current working directory for the inferior.
286
287 set|show compile-gcc
288   Set and show compilation command used for compiling and injecting code
289   with the 'compile' commands.
290
291 set debug separate-debug-file
292 show debug separate-debug-file
293   Control the display of debug output about separate debug file search.
294
295 set dump-excluded-mappings
296 show dump-excluded-mappings
297   Control whether mappings marked with the VM_DONTDUMP flag should be
298   dumped when generating a core file.
299
300 maint info selftests
301   List the registered selftests.
302
303 starti
304   Start the debugged program stopping at the first instruction.
305
306 set|show debug or1k
307   Control display of debugging messages related to OpenRISC targets.
308
309 set|show print type nested-type-limit
310   Set and show the limit of nesting level for nested types that the
311   type printer will show.
312
313 * TUI Single-Key mode now supports two new shortcut keys: `i' for stepi and
314   `o' for nexti.
315
316 * Safer/improved support for debugging with no debug info
317
318   GDB no longer assumes functions with no debug information return
319   'int'.
320
321   This means that GDB now refuses to call such functions unless you
322   tell it the function's type, by either casting the call to the
323   declared return type, or by casting the function to a function
324   pointer of the right type, and calling that:
325
326     (gdb) p getenv ("PATH")
327     'getenv' has unknown return type; cast the call to its declared return type
328     (gdb) p (char *) getenv ("PATH")
329     $1 = 0x7fffffffe "/usr/local/bin:/"...
330     (gdb) p ((char * (*) (const char *)) getenv) ("PATH")
331     $2 = 0x7fffffffe "/usr/local/bin:/"...
332
333   Similarly, GDB no longer assumes that global variables with no debug
334   info have type 'int', and refuses to print the variable's value
335   unless you tell it the variable's type:
336
337     (gdb) p var
338     'var' has unknown type; cast it to its declared type
339     (gdb) p (float) var
340     $3 = 3.14
341
342 * New native configurations
343
344 FreeBSD/aarch64                 aarch64*-*-freebsd*
345 FreeBSD/arm                     arm*-*-freebsd*
346
347 * New targets
348
349 FreeBSD/aarch64                 aarch64*-*-freebsd*
350 FreeBSD/arm                     arm*-*-freebsd*
351 OpenRISC ELF                    or1k*-*-elf
352
353 * Removed targets and native configurations
354
355 Solaris 2.0-9                   i?86-*-solaris2.[0-9], sparc*-*-solaris2.[0-9]
356
357 *** Changes in GDB 8.0
358
359 * GDB now supports access to the PKU register on GNU/Linux. The register is
360   added by the Memory Protection Keys for Userspace feature which will be
361   available in future Intel CPUs.
362
363 * GDB now supports C++11 rvalue references.
364
365 * Python Scripting
366
367   ** New functions to start, stop and access a running btrace recording.
368   ** Rvalue references are now supported in gdb.Type.
369
370 * GDB now supports recording and replaying rdrand and rdseed Intel 64
371   instructions.
372
373 * Building GDB and GDBserver now requires a C++11 compiler.
374
375   For example, GCC 4.8 or later.
376
377   It is no longer possible to build GDB or GDBserver with a C
378   compiler.  The --disable-build-with-cxx configure option has been
379   removed.
380
381 * Building GDB and GDBserver now requires GNU make >= 3.81.
382
383   It is no longer supported to build GDB or GDBserver with another
384   implementation of the make program or an earlier version of GNU make.
385
386 * Native debugging on MS-Windows supports command-line redirection
387
388   Command-line arguments used for starting programs on MS-Windows can
389   now include redirection symbols supported by native Windows shells,
390   such as '<', '>', '>>', '2>&1', etc.  This affects GDB commands such
391   as "run", "start", and "set args", as well as the corresponding MI
392   features.
393
394 * Support for thread names on MS-Windows.
395
396   GDB now catches and handles the special exception that programs
397   running on MS-Windows use to assign names to threads in the
398   debugger.
399
400 * Support for Java programs compiled with gcj has been removed.
401
402 * User commands now accept an unlimited number of arguments.
403   Previously, only up to 10 was accepted.
404
405 * The "eval" command now expands user-defined command arguments.
406
407   This makes it easier to process a variable number of arguments:
408
409    define mycommand
410      set $i = 0
411      while $i < $argc
412        eval "print $arg%d", $i
413        set $i = $i + 1
414      end
415    end
416
417 * Target descriptions can now describe registers for sparc32 and sparc64.
418
419 * GDB now supports DWARF version 5 (debug information format).
420   Its .debug_names index is not yet supported.
421
422 * New native configurations
423
424 FreeBSD/mips                    mips*-*-freebsd
425
426 * New targets
427
428 Synopsys ARC                    arc*-*-elf32
429 FreeBSD/mips                    mips*-*-freebsd
430
431 * Removed targets and native configurations
432
433 Alpha running FreeBSD         alpha*-*-freebsd*
434 Alpha running GNU/kFreeBSD    alpha*-*-kfreebsd*-gnu
435
436 * New commands
437
438 flash-erase
439   Erases all the flash memory regions reported by the target.
440
441 maint print arc arc-instruction address
442   Print internal disassembler information about instruction at a given address.
443
444 * New options
445
446 set disassembler-options
447 show disassembler-options
448   Controls the passing of target specific information to the disassembler.
449   If it is necessary to specify more than one disassembler option then
450   multiple options can be placed together into a comma separated list.
451   The default value is the empty string.  Currently, the only supported
452   targets are ARM, PowerPC and S/390.
453
454 * New MI commands
455
456 -target-flash-erase
457   Erases all the flash memory regions reported by the target.  This is
458   equivalent to the CLI command flash-erase.
459
460 -file-list-shared-libraries
461   List the shared libraries in the program.  This is
462   equivalent to the CLI command "info shared".
463
464 -catch-handlers
465   Catchpoints stopping the program when Ada exceptions are
466   handled.  This is equivalent to the CLI command "catch handlers".
467
468 *** Changes in GDB 7.12
469
470 * GDB and GDBserver now build with a C++ compiler by default.
471
472   The --enable-build-with-cxx configure option is now enabled by
473   default.  One must now explicitly configure with
474   --disable-build-with-cxx in order to build with a C compiler.  This
475   option will be removed in a future release.
476
477 * GDBserver now supports recording btrace without maintaining an active
478   GDB connection.
479
480 * GDB now supports a negative repeat count in the 'x' command to examine
481   memory backward from the given address.  For example:
482
483     (gdb) bt
484     #0  Func1 (n=42, p=0x40061c "hogehoge") at main.cpp:4
485     #1  0x400580 in main (argc=1, argv=0x7fffffffe5c8) at main.cpp:8
486     (gdb) x/-5i 0x0000000000400580
487        0x40056a <main(int, char**)+8>:      mov    %edi,-0x4(%rbp)
488        0x40056d <main(int, char**)+11>:     mov    %rsi,-0x10(%rbp)
489        0x400571 <main(int, char**)+15>:     mov    $0x40061c,%esi
490        0x400576 <main(int, char**)+20>:     mov    $0x2a,%edi
491        0x40057b <main(int, char**)+25>:
492         callq  0x400536 <Func1(int, char const*)>
493
494 * Fortran: Support structures with fields of dynamic types and 
495   arrays of dynamic types.
496
497 * The symbol dumping maintenance commands have new syntax.
498 maint print symbols [-pc address] [--] [filename]
499 maint print symbols [-objfile objfile] [-source source] [--] [filename]
500 maint print psymbols [-objfile objfile] [-pc address] [--] [filename]
501 maint print psymbols [-objfile objfile] [-source source] [--] [filename]
502 maint print msymbols [-objfile objfile] [--] [filename]
503
504 * GDB now supports multibit bitfields and enums in target register
505   descriptions.
506
507 * New Python-based convenience function $_as_string(val), which returns
508   the textual representation of a value.  This function is especially
509   useful to obtain the text label of an enum value.
510
511 * Intel MPX bound violation handling.
512
513    Segmentation faults caused by a Intel MPX boundary violation
514    now display the kind of violation (upper or lower), the memory
515    address accessed and the memory bounds, along with the usual
516    signal received and code location.
517
518    For example:
519
520    Program received signal SIGSEGV, Segmentation fault
521    Upper bound violation while accessing address 0x7fffffffc3b3
522    Bounds: [lower = 0x7fffffffc390, upper = 0x7fffffffc3a3]
523    0x0000000000400d7c in upper () at i386-mpx-sigsegv.c:68
524
525 * Rust language support.
526   GDB now supports debugging programs written in the Rust programming
527   language.  See https://www.rust-lang.org/ for more information about
528   Rust.
529
530 * Support for running interpreters on specified input/output devices
531
532   GDB now supports a new mechanism that allows frontends to provide
533   fully featured GDB console views, as a better alternative to
534   building such views on top of the "-interpreter-exec console"
535   command.  See the new "new-ui" command below.  With that command,
536   frontends can now start GDB in the traditional command-line mode
537   running in an embedded terminal emulator widget, and create a
538   separate MI interpreter running on a specified i/o device.  In this
539   way, GDB handles line editing, history, tab completion, etc. in the
540   console all by itself, and the GUI uses the separate MI interpreter
541   for its own control and synchronization, invisible to the command
542   line.
543
544 * The "catch syscall" command catches groups of related syscalls.
545
546   The "catch syscall" command now supports catching a group of related
547   syscalls using the 'group:' or 'g:' prefix.
548
549 * New commands
550
551 skip -file file
552 skip -gfile file-glob-pattern
553 skip -function function
554 skip -rfunction regular-expression
555   A generalized form of the skip command, with new support for
556   glob-style file names and regular expressions for function names.
557   Additionally, a file spec and a function spec may now be combined.
558
559 maint info line-table REGEXP
560   Display the contents of GDB's internal line table data struture.
561
562 maint selftest
563   Run any GDB unit tests that were compiled in.
564
565 new-ui INTERP TTY
566   Start a new user interface instance running INTERP as interpreter,
567   using the TTY file for input/output.
568
569 * Python Scripting
570
571   ** gdb.Breakpoint objects have a new attribute "pending", which
572      indicates whether the breakpoint is pending.
573   ** Three new breakpoint-related events have been added:
574      gdb.breakpoint_created, gdb.breakpoint_modified, and
575      gdb.breakpoint_deleted.
576
577 signal-event EVENTID
578   Signal ("set") the given MS-Windows event object.  This is used in
579   conjunction with the Windows JIT debugging (AeDebug) support, where
580   the OS suspends a crashing process until a debugger can attach to
581   it.  Resuming the crashing process, in order to debug it, is done by
582   signalling an event.
583
584 * Support for tracepoints and fast tracepoints on s390-linux and s390x-linux
585   was added in GDBserver, including JIT compiling fast tracepoint's
586   conditional expression bytecode into native code.
587
588 * Support for various remote target protocols and ROM monitors has
589   been removed:
590
591   target m32rsdi        Remote M32R debugging over SDI
592   target mips           MIPS remote debugging protocol
593   target pmon           PMON ROM monitor
594   target ddb            NEC's DDB variant of PMON for Vr4300
595   target rockhopper     NEC RockHopper variant of PMON
596   target lsi            LSI variant of PMO
597
598 * Support for tracepoints and fast tracepoints on powerpc-linux,
599   powerpc64-linux, and powerpc64le-linux was added in GDBserver,
600   including JIT compiling fast tracepoint's conditional expression
601   bytecode into native code.
602
603 * MI async record =record-started now includes the method and format used for
604   recording.  For example:
605
606     =record-started,thread-group="i1",method="btrace",format="bts"
607
608 * MI async record =thread-selected now includes the frame field.  For example:
609
610      =thread-selected,id="3",frame={level="0",addr="0x00000000004007c0"}
611
612 * New targets
613
614 Andes NDS32                     nds32*-*-elf
615
616 *** Changes in GDB 7.11
617
618 * GDB now supports debugging kernel-based threads on FreeBSD.
619
620 * Per-inferior thread numbers
621
622   Thread numbers are now per inferior instead of global.  If you're
623   debugging multiple inferiors, GDB displays thread IDs using a
624   qualified INF_NUM.THR_NUM form.  For example:
625
626      (gdb) info threads
627        Id   Target Id         Frame
628        1.1  Thread 0x7ffff7fc2740 (LWP 8155) (running)
629        1.2  Thread 0x7ffff7fc1700 (LWP 8168) (running)
630      * 2.1  Thread 0x7ffff7fc2740 (LWP 8157) (running)
631        2.2  Thread 0x7ffff7fc1700 (LWP 8190) (running)
632
633   As consequence, thread numbers as visible in the $_thread
634   convenience variable and in Python's InferiorThread.num attribute
635   are no longer unique between inferiors.
636
637   GDB now maintains a second thread ID per thread, referred to as the
638   global thread ID, which is the new equivalent of thread numbers in
639   previous releases.  See also $_gthread below.
640
641   For backwards compatibility, MI's thread IDs always refer to global
642   IDs.
643
644 * Commands that accept thread IDs now accept the qualified
645   INF_NUM.THR_NUM form as well.  For example:
646
647      (gdb) thread 2.1
648      [Switching to thread 2.1 (Thread 0x7ffff7fc2740 (LWP 8157))] (running)
649      (gdb)
650
651 * In commands that accept a list of thread IDs, you can now refer to
652   all threads of an inferior using a star wildcard.  GDB accepts
653   "INF_NUM.*", to refer to all threads of inferior INF_NUM, and "*" to
654   refer to all threads of the current inferior.  For example, "info
655   threads 2.*".
656
657 * You can use "info threads -gid" to display the global thread ID of
658   all threads.
659
660 * The new convenience variable $_gthread holds the global number of
661   the current thread.
662
663 * The new convenience variable $_inferior holds the number of the
664   current inferior.
665
666 * GDB now displays the ID and name of the thread that hit a breakpoint
667   or received a signal, if your program is multi-threaded.  For
668   example:
669
670    Thread 3 "bar" hit Breakpoint 1 at 0x40087a: file program.c, line 20.
671    Thread 1 "main" received signal SIGINT, Interrupt.
672
673 * Record btrace now supports non-stop mode.
674
675 * Support for tracepoints on aarch64-linux was added in GDBserver.
676
677 * The 'record instruction-history' command now indicates speculative execution
678   when using the Intel Processor Trace recording format.
679
680 * GDB now allows users to specify explicit locations, bypassing
681   the linespec parser.  This feature is also available to GDB/MI
682   clients.
683
684 * Multi-architecture debugging is supported on AArch64 GNU/Linux.
685   GDB now is able to debug both AArch64 applications and ARM applications
686   at the same time.
687
688 * Support for fast tracepoints on aarch64-linux was added in GDBserver,
689   including JIT compiling fast tracepoint's conditional expression bytecode
690   into native code.
691
692 * GDB now supports displaced stepping on AArch64 GNU/Linux.
693
694 * "info threads", "info inferiors", "info display", "info checkpoints"
695   and "maint info program-spaces" now list the corresponding items in
696   ascending ID order, for consistency with all other "info" commands.
697
698 * In Ada, the overloads selection menu has been enhanced to display the
699   parameter types and the return types for the matching overloaded subprograms.
700
701 * New commands
702
703 maint set target-non-stop (on|off|auto)
704 maint show target-non-stop
705   Control whether GDB targets always operate in non-stop mode even if
706   "set non-stop" is "off".  The default is "auto", meaning non-stop
707   mode is enabled if supported by the target.
708
709 maint set bfd-sharing
710 maint show bfd-sharing
711   Control the reuse of bfd objects.
712
713 set debug bfd-cache
714 show debug bfd-cache
715   Control display of debugging info regarding bfd caching.
716
717 set debug fbsd-lwp
718 show debug fbsd-lwp
719   Control display of debugging info regarding FreeBSD threads.
720
721 set remote multiprocess-extensions-packet
722 show remote multiprocess-extensions-packet
723   Set/show the use of the remote protocol multiprocess extensions.
724
725 set remote thread-events
726 show remote thread-events
727   Set/show the use of thread create/exit events.
728
729 set ada print-signatures on|off
730 show ada print-signatures"
731   Control whether parameter types and return types are displayed in overloads
732   selection menus.  It is activaled (@code{on}) by default.
733
734 set max-value-size
735 show max-value-size
736   Controls the maximum size of memory, in bytes, that GDB will
737   allocate for value contents.  Prevents incorrect programs from
738   causing GDB to allocate overly large buffers.  Default is 64k.
739
740 * The "disassemble" command accepts a new modifier: /s.
741   It prints mixed source+disassembly like /m with two differences:
742   - disassembled instructions are now printed in program order, and
743   - and source for all relevant files is now printed.
744   The "/m" option is now considered deprecated: its "source-centric"
745   output hasn't proved useful in practice.
746
747 * The "record instruction-history" command accepts a new modifier: /s.
748   It behaves exactly like /m and prints mixed source+disassembly.
749
750 * The "set scheduler-locking" command supports a new mode "replay".
751   It behaves like "off" in record mode and like "on" in replay mode.
752
753 * Support for various ROM monitors has been removed:
754
755   target dbug           dBUG ROM monitor for Motorola ColdFire
756   target picobug        Motorola picobug monitor
757   target dink32         DINK32 ROM monitor for PowerPC
758   target m32r           Renesas M32R/D ROM monitor
759   target mon2000        mon2000 ROM monitor
760   target ppcbug         PPCBUG ROM monitor for PowerPC
761
762 * Support for reading/writing memory and extracting values on architectures
763   whose memory is addressable in units of any integral multiple of 8 bits.
764
765 catch handlers
766   Allows to break when an Ada exception is handled.
767
768 * New remote packets
769
770 exec stop reason
771   Indicates that an exec system call was executed.
772
773 exec-events feature in qSupported
774   The qSupported packet allows GDB to request support for exec
775   events using the new 'gdbfeature' exec-event, and the qSupported
776   response can contain the corresponding 'stubfeature'.  Set and
777   show commands can be used to display whether these features are enabled.
778
779 vCtrlC
780   Equivalent to interrupting with the ^C character, but works in
781   non-stop mode.
782
783 thread created stop reason (T05 create:...)
784   Indicates that the thread was just created and is stopped at entry.
785
786 thread exit stop reply (w exitcode;tid)
787   Indicates that the thread has terminated.
788
789 QThreadEvents
790   Enables/disables thread create and exit event reporting.  For
791   example, this is used in non-stop mode when GDB stops a set of
792   threads and synchronously waits for the their corresponding stop
793   replies.  Without exit events, if one of the threads exits, GDB
794   would hang forever not knowing that it should no longer expect a
795   stop for that same thread.
796
797 N stop reply
798   Indicates that there are no resumed threads left in the target (all
799   threads are stopped).  The remote stub reports support for this stop
800   reply to GDB's qSupported query.
801
802 QCatchSyscalls
803   Enables/disables catching syscalls from the inferior process.
804   The remote stub reports support for this packet to GDB's qSupported query.
805
806 syscall_entry stop reason
807   Indicates that a syscall was just called.
808
809 syscall_return stop reason
810   Indicates that a syscall just returned.
811
812 * Extended-remote exec events
813
814   ** GDB now has support for exec events on extended-remote Linux targets.
815      For such targets with Linux kernels 2.5.46 and later, this enables
816      follow-exec-mode and exec catchpoints.
817
818 set remote exec-event-feature-packet
819 show remote exec-event-feature-packet
820   Set/show the use of the remote exec event feature.
821
822  * Thread names in remote protocol
823
824    The reply to qXfer:threads:read may now include a name attribute for each
825    thread.
826
827 * Target remote mode fork and exec events
828
829   ** GDB now has support for fork and exec events on target remote mode
830      Linux targets.  For such targets with Linux kernels 2.5.46 and later,
831      this enables follow-fork-mode, detach-on-fork, follow-exec-mode, and
832      fork and exec catchpoints.
833
834 * Remote syscall events
835
836   ** GDB now has support for catch syscall on remote Linux targets,
837      currently enabled on x86/x86_64 architectures.
838
839 set remote catch-syscall-packet
840 show remote catch-syscall-packet
841   Set/show the use of the remote catch syscall feature.
842
843 * MI changes
844
845   ** The -var-set-format command now accepts the zero-hexadecimal
846      format.  It outputs data in hexadecimal format with zero-padding on the
847      left.
848
849 * Python Scripting
850
851   ** gdb.InferiorThread objects have a new attribute "global_num",
852      which refers to the thread's global thread ID.  The existing
853      "num" attribute now refers to the thread's per-inferior number.
854      See "Per-inferior thread numbers" above.
855   ** gdb.InferiorThread objects have a new attribute "inferior", which
856      is the Inferior object the thread belongs to.
857
858 *** Changes in GDB 7.10
859
860 * Support for process record-replay and reverse debugging on aarch64*-linux*
861   targets has been added.  GDB now supports recording of A64 instruction set
862   including advance SIMD instructions.
863
864 * Support for Sun's version of the "stabs" debug file format has been removed.
865
866 * GDB now honors the content of the file /proc/PID/coredump_filter
867   (PID is the process ID) on GNU/Linux systems.  This file can be used
868   to specify the types of memory mappings that will be included in a
869   corefile.  For more information, please refer to the manual page of
870   "core(5)".  GDB also has a new command: "set use-coredump-filter
871   on|off".  It allows to set whether GDB will read the content of the
872   /proc/PID/coredump_filter file when generating a corefile.
873
874 * The "info os" command on GNU/Linux can now display information on
875   cpu information :
876     "info os cpus" Listing of all cpus/cores on the system
877
878 * GDB has two new commands: "set serial parity odd|even|none" and
879   "show serial parity".  These allows to set or show parity for the
880   remote serial I/O.
881
882 * The "info source" command now displays the producer string if it was
883   present in the debug info.  This typically includes the compiler version
884   and may include things like its command line arguments.
885
886 * The "info dll", an alias of the "info sharedlibrary" command,
887   is now available on all platforms.
888
889 * Directory names supplied to the "set sysroot" commands may be
890   prefixed with "target:" to tell GDB to access shared libraries from
891   the target system, be it local or remote.  This replaces the prefix
892   "remote:".  The default sysroot has been changed from "" to
893   "target:".  "remote:" is automatically converted to "target:" for
894   backward compatibility.
895
896 * The system root specified by "set sysroot" will be prepended to the
897   filename of the main executable (if reported to GDB as absolute by
898   the operating system) when starting processes remotely, and when
899   attaching to already-running local or remote processes.
900
901 * GDB now supports automatic location and retrieval of executable
902   files from remote targets.  Remote debugging can now be initiated
903   using only a "target remote" or "target extended-remote" command
904   (no "set sysroot" or "file" commands are required).  See "New remote
905   packets" below.
906
907 * The "dump" command now supports verilog hex format.
908
909 * GDB now supports the vector ABI on S/390 GNU/Linux targets.
910
911 * On GNU/Linux, GDB and gdbserver are now able to access executable
912   and shared library files without a "set sysroot" command when
913   attaching to processes running in different mount namespaces from
914   the debugger.  This makes it possible to attach to processes in
915   containers as simply as "gdb -p PID" or "gdbserver --attach PID".
916   See "New remote packets" below.
917
918 * The "tui reg" command now provides completion for all of the
919   available register groups, including target specific groups.
920
921 * The HISTSIZE environment variable is no longer read when determining
922   the size of GDB's command history.  GDB now instead reads the dedicated
923   GDBHISTSIZE environment variable.  Setting GDBHISTSIZE to "-1" or to "" now
924   disables truncation of command history.  Non-numeric values of GDBHISTSIZE
925   are ignored.
926
927 * Guile Scripting
928
929   ** Memory ports can now be unbuffered.
930
931 * Python Scripting
932
933   ** gdb.Objfile objects have a new attribute "username",
934      which is the name of the objfile as specified by the user,
935      without, for example, resolving symlinks.
936   ** You can now write frame unwinders in Python.
937   ** gdb.Type objects have a new method "optimized_out",
938      returning optimized out gdb.Value instance of this type.
939   ** gdb.Value objects have new methods "reference_value" and
940      "const_value" which return a reference to the value and a
941      "const" version of the value respectively.
942
943 * New commands
944
945 maint print symbol-cache
946   Print the contents of the symbol cache.
947
948 maint print symbol-cache-statistics
949   Print statistics of symbol cache usage.
950
951 maint flush-symbol-cache
952   Flush the contents of the symbol cache.
953
954 record btrace bts
955 record bts
956   Start branch trace recording using Branch Trace Store (BTS) format.
957
958 compile print
959   Evaluate expression by using the compiler and print result.
960
961 tui enable
962 tui disable
963   Explicit commands for enabling and disabling tui mode.
964
965 show mpx bound
966 set mpx bound on i386 and amd64
967    Support for bound table investigation on Intel MPX enabled applications.
968
969 record btrace pt
970 record pt
971   Start branch trace recording using Intel Processor Trace format.
972
973 maint info btrace
974   Print information about branch tracing internals.
975
976 maint btrace packet-history
977   Print the raw branch tracing data.
978
979 maint btrace clear-packet-history
980   Discard the stored raw branch tracing data.
981
982 maint btrace clear
983   Discard all branch tracing data.  It will be fetched and processed
984   anew by the next "record" command.
985
986 * New options
987
988 set debug dwarf-die
989   Renamed from "set debug dwarf2-die".
990 show debug dwarf-die
991   Renamed from "show debug dwarf2-die".
992
993 set debug dwarf-read
994   Renamed from "set debug dwarf2-read".
995 show debug dwarf-read
996   Renamed from "show debug dwarf2-read".
997
998 maint set dwarf always-disassemble
999   Renamed from "maint set dwarf2 always-disassemble".
1000 maint show dwarf always-disassemble
1001   Renamed from "maint show dwarf2 always-disassemble".
1002
1003 maint set dwarf max-cache-age
1004   Renamed from "maint set dwarf2 max-cache-age".
1005 maint show dwarf max-cache-age
1006   Renamed from "maint show dwarf2 max-cache-age".
1007
1008 set debug dwarf-line
1009 show debug dwarf-line
1010   Control display of debugging info regarding DWARF line processing.
1011
1012 set max-completions
1013 show max-completions
1014   Set the maximum number of candidates to be considered during
1015   completion.  The default value is 200.  This limit allows GDB
1016   to avoid generating large completion lists, the computation of
1017   which can cause the debugger to become temporarily unresponsive.
1018
1019 set history remove-duplicates
1020 show history remove-duplicates
1021   Control the removal of duplicate history entries.
1022
1023 maint set symbol-cache-size
1024 maint show symbol-cache-size
1025   Control the size of the symbol cache.
1026
1027 set|show record btrace bts buffer-size
1028   Set and show the size of the ring buffer used for branch tracing in
1029   BTS format.
1030   The obtained size may differ from the requested size.  Use "info
1031   record" to see the obtained buffer size.
1032
1033 set debug linux-namespaces
1034 show debug linux-namespaces
1035   Control display of debugging info regarding Linux namespaces.
1036
1037 set|show record btrace pt buffer-size
1038   Set and show the size of the ring buffer used for branch tracing in
1039   Intel Processor Trace format.
1040   The obtained size may differ from the requested size.  Use "info
1041   record" to see the obtained buffer size.
1042
1043 maint set|show btrace pt skip-pad
1044   Set and show whether PAD packets are skipped when computing the
1045   packet history.
1046
1047 * The command 'thread apply all' can now support new option '-ascending'
1048   to call its specified command for all threads in ascending order.
1049
1050 * Python/Guile scripting
1051
1052   ** GDB now supports auto-loading of Python/Guile scripts contained in the
1053      special section named `.debug_gdb_scripts'.
1054
1055 * New remote packets
1056
1057 qXfer:btrace-conf:read
1058   Return the branch trace configuration for the current thread.
1059
1060 Qbtrace-conf:bts:size
1061   Set the requested ring buffer size for branch tracing in BTS format.
1062
1063 Qbtrace:pt
1064   Enable Intel Procesor Trace-based branch tracing for the current
1065   process.  The remote stub reports support for this packet to GDB's
1066   qSupported query.
1067
1068 Qbtrace-conf:pt:size
1069   Set the requested ring buffer size for branch tracing in Intel Processor
1070   Trace format.
1071
1072 swbreak stop reason
1073   Indicates a memory breakpoint instruction was executed, irrespective
1074   of whether it was GDB that planted the breakpoint or the breakpoint
1075   is hardcoded in the program.  This is required for correct non-stop
1076   mode operation.
1077
1078 hwbreak stop reason
1079   Indicates the target stopped for a hardware breakpoint.  This is
1080   required for correct non-stop mode operation.
1081
1082 vFile:fstat:
1083   Return information about files on the remote system.
1084
1085 qXfer:exec-file:read
1086   Return the full absolute name of the file that was executed to
1087   create a process running on the remote system.
1088
1089 vFile:setfs:
1090   Select the filesystem on which vFile: operations with filename
1091   arguments will operate.  This is required for GDB to be able to
1092   access files on remote targets where the remote stub does not
1093   share a common filesystem with the inferior(s).
1094
1095 fork stop reason
1096   Indicates that a fork system call was executed.
1097
1098 vfork stop reason
1099   Indicates that a vfork system call was executed.
1100
1101 vforkdone stop reason
1102   Indicates that a vfork child of the specified process has executed
1103   an exec or exit, allowing the vfork parent to resume execution.
1104
1105 fork-events and vfork-events features in qSupported
1106   The qSupported packet allows GDB to request support for fork and 
1107   vfork events using new 'gdbfeatures' fork-events and vfork-events,
1108   and the qSupported response can contain the corresponding
1109   'stubfeatures'.  Set and show commands can be used to display
1110   whether these features are enabled.
1111
1112 * Extended-remote fork events
1113
1114   ** GDB now has support for fork events on extended-remote Linux
1115      targets.  For targets with Linux kernels 2.5.60 and later, this
1116      enables follow-fork-mode and detach-on-fork for both fork and
1117      vfork, as well as fork and vfork catchpoints.
1118
1119 * The info record command now shows the recording format and the
1120   branch tracing configuration for the current thread when using
1121   the btrace record target.
1122   For the BTS format, it shows the ring buffer size.
1123
1124 * GDB now has support for DTrace USDT (Userland Static Defined
1125   Tracing) probes.  The supported targets are x86_64-*-linux-gnu.
1126
1127 * GDB now supports access to vector registers on S/390 GNU/Linux
1128   targets.
1129
1130 * Removed command line options
1131
1132 -xdb  HP-UX XDB compatibility mode.
1133
1134 * Removed targets and native configurations
1135
1136 HP/PA running HP-UX           hppa*-*-hpux*
1137 Itanium running HP-UX         ia64-*-hpux*
1138
1139 * New configure options
1140
1141 --with-intel-pt
1142   This configure option allows the user to build GDB with support for
1143   Intel Processor Trace (default: auto).  This requires libipt.
1144
1145 --with-libipt-prefix=PATH
1146   Specify the path to the version of libipt that GDB should use.
1147   $PATH/include should contain the intel-pt.h header and
1148   $PATH/lib should contain the libipt.so library.
1149
1150 *** Changes in GDB 7.9.1
1151
1152 * Python Scripting
1153
1154   ** Xmethods can now specify a result type.
1155
1156 *** Changes in GDB 7.9
1157
1158 * GDB now supports hardware watchpoints on x86 GNU Hurd.
1159
1160 * Python Scripting
1161
1162   ** You can now access frame registers from Python scripts.
1163   ** New attribute 'producer' for gdb.Symtab objects.
1164   ** gdb.Objfile objects have a new attribute "progspace",
1165      which is the gdb.Progspace object of the containing program space.
1166   ** gdb.Objfile objects have a new attribute "owner".
1167   ** gdb.Objfile objects have a new attribute "build_id",
1168      which is the build ID generated when the file was built.
1169   ** gdb.Objfile objects have a new method "add_separate_debug_file".
1170   ** A new event "gdb.clear_objfiles" has been added, triggered when
1171      selecting a new file to debug.
1172   ** You can now add attributes to gdb.Objfile and gdb.Progspace objects.
1173   ** New function gdb.lookup_objfile.
1174
1175   New events which are triggered when GDB modifies the state of the 
1176   inferior.
1177
1178   ** gdb.events.inferior_call_pre: Function call is about to be made.
1179   ** gdb.events.inferior_call_post: Function call has just been made.
1180   ** gdb.events.memory_changed: A memory location has been altered.
1181   ** gdb.events.register_changed: A register has been altered.
1182
1183 * New Python-based convenience functions:
1184
1185   ** $_caller_is(name [, number_of_frames])
1186   ** $_caller_matches(regexp [, number_of_frames])
1187   ** $_any_caller_is(name [, number_of_frames])
1188   ** $_any_caller_matches(regexp [, number_of_frames])
1189
1190 * GDB now supports the compilation and injection of source code into
1191   the inferior.  GDB will use GCC 5.0 or higher built with libcc1.so
1192   to compile the source code to object code, and if successful, inject
1193   and execute that code within the current context of the inferior.
1194   Currently the C language is supported.  The commands used to
1195   interface with this new feature are:
1196
1197      compile code [-raw|-r] [--] [source code]
1198      compile file [-raw|-r] filename
1199
1200 * New commands
1201
1202 demangle [-l language] [--] name
1203   Demangle "name" in the specified language, or the current language
1204   if elided.  This command is renamed from the "maint demangle" command.
1205   The latter is kept as a no-op to avoid "maint demangle" being interpreted
1206   as "maint demangler-warning".
1207
1208 queue-signal signal-name-or-number
1209   Queue a signal to be delivered to the thread when it is resumed.
1210
1211 add-auto-load-scripts-directory directory
1212   Add entries to the list of directories from which to load auto-loaded
1213   scripts.
1214
1215 maint print user-registers
1216   List all currently available "user" registers.
1217
1218 compile code [-r|-raw] [--] [source code]
1219   Compile, inject, and execute in the inferior the executable object
1220   code produced by compiling the provided source code.
1221
1222 compile file [-r|-raw] filename
1223   Compile and inject into the inferior the executable object code
1224   produced by compiling the source code stored in the filename
1225   provided.
1226
1227 * On resume, GDB now always passes the signal the program had stopped
1228   for to the thread the signal was sent to, even if the user changed
1229   threads before resuming.  Previously GDB would often (but not
1230   always) deliver the signal to the thread that happens to be current
1231   at resume time.
1232
1233 * Conversely, the "signal" command now consistently delivers the
1234   requested signal to the current thread.  GDB now asks for
1235   confirmation if the program had stopped for a signal and the user
1236   switched threads meanwhile.
1237
1238 * "breakpoint always-inserted" modes "off" and "auto" merged.
1239
1240   Now, when 'breakpoint always-inserted mode' is set to "off", GDB
1241   won't remove breakpoints from the target until all threads stop,
1242   even in non-stop mode.  The "auto" mode has been removed, and "off"
1243   is now the default mode.
1244
1245 * New options
1246
1247 set debug symbol-lookup
1248 show debug symbol-lookup
1249   Control display of debugging info regarding symbol lookup.
1250
1251 * MI changes
1252
1253   ** The -list-thread-groups command outputs an exit-code field for
1254      inferiors that have exited.
1255
1256 * New targets
1257
1258 MIPS SDE                        mips*-sde*-elf*
1259
1260 * Removed targets
1261
1262 Support for these obsolete configurations has been removed.
1263
1264 Alpha running OSF/1 (or Tru64)          alpha*-*-osf*
1265 SGI Irix-5.x                            mips-*-irix5*
1266 SGI Irix-6.x                            mips-*-irix6*
1267 VAX running (4.2 - 4.3 Reno) BSD        vax-*-bsd*
1268 VAX running Ultrix                      vax-*-ultrix*
1269
1270 * The "dll-symbols" command, and its two aliases ("add-shared-symbol-files"
1271   and "assf"), have been removed.  Use the "sharedlibrary" command, or
1272   its alias "share", instead.
1273
1274 *** Changes in GDB 7.8
1275
1276 * New command line options
1277
1278 -D data-directory
1279   This is an alias for the --data-directory option.
1280
1281 * GDB supports printing and modifying of variable length automatic arrays
1282   as specified in ISO C99.
1283
1284 * The ARM simulator now supports instruction level tracing
1285   with or without disassembly.
1286
1287 * Guile scripting
1288
1289   GDB now has support for scripting using Guile.  Whether this is
1290   available is determined at configure time.
1291   Guile version 2.0 or greater is required.
1292   Guile version 2.0.9 is well tested, earlier 2.0 versions are not.
1293
1294 * New commands (for set/show, see "New options" below)
1295
1296 guile [code]
1297 gu [code]
1298   Invoke CODE by passing it to the Guile interpreter.
1299
1300 guile-repl
1301 gr
1302   Start a Guile interactive prompt (or "repl" for "read-eval-print loop").
1303
1304 info auto-load guile-scripts [regexp]
1305   Print the list of automatically loaded Guile scripts.
1306
1307 * The source command is now capable of sourcing Guile scripts.
1308   This feature is dependent on the debugger being built with Guile support.
1309
1310 * New options
1311
1312 set print symbol-loading (off|brief|full)
1313 show print symbol-loading
1314   Control whether to print informational messages when loading symbol
1315   information for a file.  The default is "full", but when debugging
1316   programs with large numbers of shared libraries the amount of output
1317   becomes less useful.
1318
1319 set guile print-stack (none|message|full)
1320 show guile print-stack
1321   Show a stack trace when an error is encountered in a Guile script.
1322
1323 set auto-load guile-scripts (on|off)
1324 show auto-load guile-scripts
1325   Control auto-loading of Guile script files.
1326
1327 maint ada set ignore-descriptive-types (on|off)
1328 maint ada show ignore-descriptive-types
1329   Control whether the debugger should ignore descriptive types in Ada
1330   programs.  The default is not to ignore the descriptive types.  See
1331   the user manual for more details on descriptive types and the intended
1332   usage of this option.
1333
1334 set auto-connect-native-target
1335
1336   Control whether GDB is allowed to automatically connect to the
1337   native target for the run, attach, etc. commands when not connected
1338   to any target yet.  See also "target native" below.
1339
1340 set record btrace replay-memory-access (read-only|read-write)
1341 show record btrace replay-memory-access
1342   Control what memory accesses are allowed during replay.
1343
1344 maint set target-async (on|off)
1345 maint show target-async
1346   This controls whether GDB targets operate in synchronous or
1347   asynchronous mode.  Normally the default is asynchronous, if it is
1348   available; but this can be changed to more easily debug problems
1349   occurring only in synchronous mode.
1350
1351 set mi-async (on|off)
1352 show mi-async
1353   Control whether MI asynchronous mode is preferred.  This supersedes
1354   "set target-async" of previous GDB versions.
1355
1356 * "set target-async" is deprecated as a CLI option and is now an alias
1357   for "set mi-async" (only puts MI into async mode).
1358
1359 * Background execution commands (e.g., "c&", "s&", etc.) are now
1360   possible ``out of the box'' if the target supports them.  Previously
1361   the user would need to explicitly enable the possibility with the
1362   "set target-async on" command.
1363
1364 * New features in the GDB remote stub, GDBserver
1365
1366   ** New option --debug-format=option1[,option2,...] allows one to add
1367      additional text to each output.  At present only timestamps
1368      are supported: --debug-format=timestamps.
1369      Timestamps can also be turned on with the
1370      "monitor set debug-format timestamps" command from GDB.
1371
1372 * The 'record instruction-history' command now starts counting instructions
1373   at one.  This also affects the instruction ranges reported by the
1374   'record function-call-history' command when given the /i modifier.
1375
1376 * The command 'record function-call-history' supports a new modifier '/c' to
1377   indent the function names based on their call stack depth.
1378   The fields for the '/i' and '/l' modifier have been reordered.
1379   The source line range is now prefixed with 'at'.
1380   The instruction range is now prefixed with 'inst'.
1381   Both ranges are now printed as '<from>, <to>' to allow copy&paste to the
1382   "record instruction-history" and "list" commands.
1383
1384 * The ranges given as arguments to the 'record function-call-history' and
1385   'record instruction-history' commands are now inclusive.
1386
1387 * The btrace record target now supports the 'record goto' command.
1388   For locations inside the execution trace, the back trace is computed
1389   based on the information stored in the execution trace.
1390
1391 * The btrace record target supports limited reverse execution and replay.
1392   The target does not record data and therefore does not allow reading
1393   memory or registers.
1394
1395 * The "catch syscall" command now works on s390*-linux* targets.
1396
1397 * The "compare-sections" command is no longer specific to target
1398   remote.  It now works with all targets.
1399
1400 * All native targets are now consistently called "native".
1401   Consequently, the "target child", "target GNU", "target djgpp",
1402   "target procfs" (Solaris/Irix/OSF/AIX) and "target darwin-child"
1403   commands have been replaced with "target native".  The QNX/NTO port
1404   leaves the "procfs" target in place and adds a "native" target for
1405   consistency with other ports.  The impact on users should be minimal
1406   as these commands previously either throwed an error, or were
1407   no-ops.  The target's name is visible in the output of the following
1408   commands: "help target", "info target", "info files", "maint print
1409   target-stack".
1410
1411 * The "target native" command now connects to the native target.  This
1412   can be used to launch native programs even when "set
1413   auto-connect-native-target" is set to off.
1414
1415 * GDB now supports access to Intel MPX registers on GNU/Linux.
1416
1417 * Support for Intel AVX-512 registers on GNU/Linux.
1418   Support displaying and modifying Intel AVX-512 registers
1419   $zmm0 - $zmm31 and $k0 - $k7 on GNU/Linux.
1420
1421 * New remote packets
1422
1423 qXfer:btrace:read's annex
1424   The qXfer:btrace:read packet supports a new annex 'delta' to read
1425   branch trace incrementally.
1426
1427 * Python Scripting
1428
1429   ** Valid Python operations on gdb.Value objects representing
1430      structs/classes invoke the corresponding overloaded operators if
1431      available.
1432   ** New `Xmethods' feature in the Python API.  Xmethods are
1433      additional methods or replacements for existing methods of a C++
1434      class.  This feature is useful for those cases where a method
1435      defined in C++ source code could be inlined or optimized out by
1436      the compiler, making it unavailable to GDB.
1437
1438 * New targets
1439 PowerPC64 GNU/Linux little-endian       powerpc64le-*-linux*
1440
1441 * The "dll-symbols" command, and its two aliases ("add-shared-symbol-files"
1442   and "assf"), have been deprecated.  Use the "sharedlibrary" command, or
1443   its alias "share", instead.
1444
1445 * The commands "set remotebaud" and "show remotebaud" are no longer
1446   supported.  Use "set serial baud" and "show serial baud" (respectively)
1447   instead.
1448
1449 * MI changes
1450
1451   ** A new option "-gdb-set mi-async" replaces "-gdb-set
1452      target-async".  The latter is left as a deprecated alias of the
1453      former for backward compatibility.  If the target supports it,
1454      CLI background execution commands are now always possible by
1455      default, independently of whether the frontend stated a
1456      preference for asynchronous execution with "-gdb-set mi-async".
1457      Previously "-gdb-set target-async off" affected both MI execution
1458      commands and CLI execution commands.
1459
1460 *** Changes in GDB 7.7
1461
1462 * Improved support for process record-replay and reverse debugging on
1463   arm*-linux* targets.  Support for thumb32 and syscall instruction
1464   recording has been added.
1465
1466 * GDB now supports SystemTap SDT probes on AArch64 GNU/Linux.
1467
1468 * GDB now supports Fission DWP file format version 2.
1469   http://gcc.gnu.org/wiki/DebugFission
1470
1471 * New convenience function "$_isvoid", to check whether an expression
1472   is void.  A void expression is an expression where the type of the
1473   result is "void".  For example, some convenience variables may be
1474   "void" when evaluated (e.g., "$_exitcode" before the execution of
1475   the program being debugged; or an undefined convenience variable).
1476   Another example, when calling a function whose return type is
1477   "void".
1478
1479 * The "maintenance print objfiles" command now takes an optional regexp.
1480
1481 * The "catch syscall" command now works on arm*-linux* targets.
1482
1483 * GDB now consistently shows "<not saved>" when printing values of
1484   registers the debug info indicates have not been saved in the frame
1485   and there's nowhere to retrieve them from
1486   (callee-saved/call-clobbered registers):
1487
1488     (gdb) p $rax
1489     $1 = <not saved>
1490
1491     (gdb) info registers rax
1492     rax            <not saved>
1493
1494   Before, the former would print "<optimized out>", and the latter
1495   "*value not available*".
1496
1497 * New script contrib/gdb-add-index.sh for adding .gdb_index sections
1498   to binaries.
1499
1500 * Python scripting
1501
1502   ** Frame filters and frame decorators have been added.
1503   ** Temporary breakpoints are now supported.
1504   ** Line tables representation has been added.
1505   ** New attribute 'parent_type' for gdb.Field objects.
1506   ** gdb.Field objects can be used as subscripts on gdb.Value objects.
1507   ** New attribute 'name' for gdb.Type objects.
1508
1509 * New targets
1510
1511 Nios II ELF                     nios2*-*-elf
1512 Nios II GNU/Linux               nios2*-*-linux
1513 Texas Instruments MSP430        msp430*-*-elf
1514
1515 * Removed native configurations
1516
1517 Support for these a.out NetBSD and OpenBSD obsolete configurations has
1518 been removed.  ELF variants of these configurations are kept supported.
1519
1520 arm*-*-netbsd*              but arm*-*-netbsdelf*       is kept supported.
1521 i[34567]86-*-netbsd*        but i[34567]86-*-netbsdelf* is kept supported.
1522 i[34567]86-*-openbsd[0-2].* but i[34567]86-*-openbsd*   is kept supported.
1523 i[34567]86-*-openbsd3.[0-3]
1524 m68*-*-netbsd*              but m68*-*-netbsdelf*       is kept supported.
1525 sparc-*-netbsd*             but sparc-*-netbsdelf*      is kept supported.
1526 vax-*-netbsd*               but vax-*-netbsdelf*        is kept supported.
1527
1528 * New commands:
1529 catch rethrow
1530   Like "catch throw", but catches a re-thrown exception.
1531 maint check-psymtabs
1532   Renamed from old "maint check-symtabs".
1533 maint check-symtabs
1534   Perform consistency checks on symtabs.
1535 maint expand-symtabs
1536   Expand symtabs matching an optional regexp.
1537
1538 show configuration
1539   Display the details of GDB configure-time options.
1540
1541 maint set|show per-command
1542 maint set|show per-command space
1543 maint set|show per-command time
1544 maint set|show per-command symtab
1545   Enable display of per-command gdb resource usage.
1546
1547 remove-symbol-file FILENAME
1548 remove-symbol-file -a ADDRESS
1549   Remove a symbol file added via add-symbol-file.  The file to remove
1550   can be identified by its filename or by an address that lies within
1551   the boundaries of this symbol file in memory.
1552
1553 info exceptions
1554 info exceptions REGEXP
1555   Display the list of Ada exceptions defined in the program being
1556   debugged.  If provided, only the exceptions whose names match REGEXP
1557   are listed.
1558
1559 * New options
1560
1561 set debug symfile off|on
1562 show debug symfile
1563   Control display of debugging info regarding reading symbol files and
1564   symbol tables within those files
1565
1566 set print raw frame-arguments
1567 show print raw frame-arguments
1568   Set/show whether to print frame arguments in raw mode,
1569   disregarding any defined pretty-printers.
1570
1571 set remote trace-status-packet
1572 show remote trace-status-packet
1573   Set/show the use of remote protocol qTStatus packet.
1574
1575 set debug nios2
1576 show debug nios2
1577   Control display of debugging messages related to Nios II targets.
1578
1579 set range-stepping
1580 show range-stepping
1581   Control whether target-assisted range stepping is enabled.
1582
1583 set startup-with-shell
1584 show startup-with-shell
1585   Specifies whether Unix child processes are started via a shell or
1586   directly.
1587
1588 set code-cache
1589 show code-cache
1590   Use the target memory cache for accesses to the code segment.  This
1591   improves performance of remote debugging (particularly disassembly).
1592
1593 * You can now use a literal value 'unlimited' for options that
1594   interpret 0 or -1 as meaning "unlimited".  E.g., "set
1595   trace-buffer-size unlimited" is now an alias for "set
1596   trace-buffer-size -1" and "set height unlimited" is now an alias for
1597   "set height 0".
1598
1599 * The "set debug symtab-create" debugging option of GDB has been changed to
1600   accept a verbosity level.  0 means "off", 1 provides basic debugging
1601   output, and values of 2 or greater provides more verbose output.
1602
1603 * New command-line options
1604 --configuration
1605   Display the details of GDB configure-time options.
1606
1607 * The command 'tsave' can now support new option '-ctf' to save trace
1608   buffer in Common Trace Format.
1609
1610 * Newly installed $prefix/bin/gcore acts as a shell interface for the
1611   GDB command gcore.
1612
1613 * GDB now implements the the C++ 'typeid' operator.
1614
1615 * The new convenience variable $_exception holds the exception being
1616   thrown or caught at an exception-related catchpoint.
1617
1618 * The exception-related catchpoints, like "catch throw", now accept a
1619   regular expression which can be used to filter exceptions by type.
1620
1621 * The new convenience variable $_exitsignal is automatically set to
1622   the terminating signal number when the program being debugged dies
1623   due to an uncaught signal.
1624
1625 * MI changes
1626
1627   ** All MI commands now accept an optional "--language" option.
1628      Support for this feature can be verified by using the "-list-features"
1629      command, which should contain "language-option".
1630
1631   ** The new command -info-gdb-mi-command allows the user to determine
1632      whether a GDB/MI command is supported or not.
1633
1634   ** The "^error" result record returned when trying to execute an undefined
1635      GDB/MI command now provides a variable named "code" whose content is the
1636      "undefined-command" error code.  Support for this feature can be verified
1637      by using the "-list-features" command, which should contain
1638      "undefined-command-error-code".
1639
1640   ** The -trace-save MI command can optionally save trace buffer in Common
1641      Trace Format now.
1642
1643   ** The new command -dprintf-insert sets a dynamic printf breakpoint.
1644
1645   ** The command -data-list-register-values now accepts an optional
1646      "--skip-unavailable" option.  When used, only the available registers
1647      are displayed.
1648
1649   ** The new command -trace-frame-collected dumps collected variables,
1650      computed expressions, tvars, memory and registers in a traceframe.
1651
1652   ** The commands -stack-list-locals, -stack-list-arguments and
1653      -stack-list-variables now accept an option "--skip-unavailable".
1654      When used, only the available locals or arguments are displayed.
1655
1656   ** The -exec-run command now accepts an optional "--start" option.
1657      When used, the command follows the same semantics as the "start"
1658      command, stopping the program's execution at the start of its
1659      main subprogram.  Support for this feature can be verified using
1660      the "-list-features" command, which should contain
1661      "exec-run-start-option".
1662
1663   ** The new commands -catch-assert and -catch-exceptions insert
1664      catchpoints stopping the program when Ada exceptions are raised.
1665
1666   ** The new command -info-ada-exceptions provides the equivalent of
1667      the new "info exceptions" command.
1668
1669 * New system-wide configuration scripts
1670   A GDB installation now provides scripts suitable for use as system-wide
1671   configuration scripts for the following systems:
1672     ** ElinOS
1673     ** Wind River Linux
1674
1675 * GDB now supports target-assigned range stepping with remote targets.
1676   This improves the performance of stepping source lines by reducing
1677   the number of control packets from/to GDB.  See "New remote packets"
1678   below.
1679
1680 * GDB now understands the element 'tvar' in the XML traceframe info.
1681   It has the id of the collected trace state variables.
1682
1683 * On S/390 targets that provide the transactional-execution feature,
1684   the program interruption transaction diagnostic block (TDB) is now
1685   represented as a number of additional "registers" in GDB.
1686
1687 * New remote packets
1688
1689 vCont;r
1690
1691   The vCont packet supports a new 'r' action, that tells the remote
1692   stub to step through an address range itself, without GDB
1693   involvemement at each single-step.
1694
1695 qXfer:libraries-svr4:read's annex
1696   The previously unused annex of the qXfer:libraries-svr4:read packet
1697   is now used to support passing an argument list.  The remote stub
1698   reports support for this argument list to GDB's qSupported query.
1699   The defined arguments are "start" and "prev", used to reduce work
1700   necessary for library list updating, resulting in significant
1701   speedup.
1702
1703 * New features in the GDB remote stub, GDBserver
1704
1705   ** GDBserver now supports target-assisted range stepping.  Currently
1706      enabled on x86/x86_64 GNU/Linux targets.
1707
1708   ** GDBserver now adds element 'tvar' in the XML in the reply to
1709      'qXfer:traceframe-info:read'.  It has the id of the collected
1710      trace state variables.
1711
1712   ** GDBserver now supports hardware watchpoints on the MIPS GNU/Linux
1713      target.
1714
1715 * New 'z' formatter for printing and examining memory, this displays the
1716   value as hexadecimal zero padded on the left to the size of the type.
1717
1718 * GDB can now use Windows x64 unwinding data.
1719
1720 * The "set remotebaud" command has been replaced by "set serial baud".
1721   Similarly, "show remotebaud" has been replaced by "show serial baud".
1722   The "set remotebaud" and "show remotebaud" commands are still available
1723   to provide backward compatibility with older versions of GDB.
1724
1725 *** Changes in GDB 7.6
1726
1727 * Target record has been renamed to record-full.
1728   Record/replay is now enabled with the "record full" command.
1729   This also affects settings that are associated with full record/replay
1730   that have been moved from "set/show record" to "set/show record full":
1731
1732 set|show record full insn-number-max
1733 set|show record full stop-at-limit
1734 set|show record full memory-query
1735
1736 * A new record target "record-btrace" has been added.  The new target
1737   uses hardware support to record the control-flow of a process.  It
1738   does not support replaying the execution, but it implements the
1739   below new commands for investigating the recorded execution log.
1740   This new recording method can be enabled using:
1741
1742 record btrace
1743
1744   The "record-btrace" target is only available on Intel Atom processors
1745   and requires a Linux kernel 2.6.32 or later.
1746
1747 * Two new commands have been added for record/replay to give information
1748   about the recorded execution without having to replay the execution.
1749   The commands are only supported by "record btrace".
1750
1751 record instruction-history      prints the execution history at
1752                                 instruction granularity
1753
1754 record function-call-history    prints the execution history at
1755                                 function granularity
1756
1757 * New native configurations
1758
1759 ARM AArch64 GNU/Linux           aarch64*-*-linux-gnu
1760 FreeBSD/powerpc                 powerpc*-*-freebsd
1761 x86_64/Cygwin                   x86_64-*-cygwin*
1762 Tilera TILE-Gx GNU/Linux        tilegx*-*-linux-gnu
1763
1764 * New targets
1765
1766 ARM AArch64                     aarch64*-*-elf
1767 ARM AArch64 GNU/Linux           aarch64*-*-linux
1768 Lynx 178 PowerPC                powerpc-*-lynx*178
1769 x86_64/Cygwin                   x86_64-*-cygwin*
1770 Tilera TILE-Gx GNU/Linux        tilegx*-*-linux
1771
1772 * If the configured location of system.gdbinit file (as given by the
1773   --with-system-gdbinit option at configure time) is in the
1774   data-directory (as specified by --with-gdb-datadir at configure
1775   time) or in one of its subdirectories, then GDB will look for the
1776   system-wide init file in the directory specified by the
1777   --data-directory command-line option.
1778
1779 * New command line options:
1780
1781 -nh   Disables auto-loading of ~/.gdbinit, but still executes all the
1782       other initialization files, unlike -nx which disables all of them.
1783
1784 * Removed command line options
1785
1786 -epoch  This was used by the gdb mode in Epoch, an ancient fork of
1787         Emacs.
1788
1789 * The 'ptype' and 'whatis' commands now accept an argument to control
1790   type formatting.
1791
1792 * 'info proc' now works on some core files.
1793
1794 * Python scripting
1795
1796   ** Vectors can be created with gdb.Type.vector.
1797
1798   ** Python's atexit.register now works in GDB.
1799
1800   ** Types can be pretty-printed via a Python API.
1801
1802   ** Python 3 is now supported (in addition to Python 2.4 or later)
1803
1804   ** New class gdb.Architecture exposes GDB's internal representation
1805      of architecture in the Python API.
1806
1807   ** New method Frame.architecture returns the gdb.Architecture object
1808      corresponding to the frame's architecture.
1809
1810 * New Python-based convenience functions:
1811
1812   ** $_memeq(buf1, buf2, length)
1813   ** $_streq(str1, str2)
1814   ** $_strlen(str)
1815   ** $_regex(str, regex)
1816
1817 * The 'cd' command now defaults to using '~' (the home directory) if not
1818   given an argument.
1819
1820 * The C++ ABI now defaults to the GNU v3 ABI.  This has been the
1821   default for GCC since November 2000.
1822
1823 * The command 'forward-search' can now be abbreviated as 'fo'.
1824
1825 * The command 'info tracepoints' can now display 'installed on target'
1826   or 'not installed on target' for each non-pending location of tracepoint.
1827
1828 * New configure options
1829
1830 --enable-libmcheck/--disable-libmcheck
1831   By default, development versions are built with -lmcheck on hosts
1832   that support it, in order to help track memory corruption issues.
1833   Release versions, on the other hand, are built without -lmcheck
1834   by default.  The --enable-libmcheck/--disable-libmcheck configure
1835   options allow the user to override that default.
1836 --with-babeltrace/--with-babeltrace-include/--with-babeltrace-lib
1837   This configure option allows the user to build GDB with
1838   libbabeltrace using which GDB can read Common Trace Format data.
1839
1840 * New commands (for set/show, see "New options" below)
1841
1842 catch signal 
1843   Catch signals.  This is similar to "handle", but allows commands and
1844   conditions to be attached.
1845
1846 maint info bfds
1847   List the BFDs known to GDB.
1848
1849 python-interactive [command]
1850 pi [command]
1851   Start a Python interactive prompt, or evaluate the optional command
1852   and print the result of expressions.
1853
1854 py [command]
1855   "py" is a new alias for "python".
1856
1857 enable type-printer [name]...
1858 disable type-printer [name]...
1859   Enable or disable type printers.
1860
1861 * Removed commands
1862
1863   ** For the Renesas Super-H architecture, the "regs" command has been removed
1864      (has been deprecated in GDB 7.5), and "info all-registers" should be used
1865      instead.
1866
1867 * New options
1868
1869 set print type methods (on|off)
1870 show print type methods
1871   Control whether method declarations are displayed by "ptype".
1872   The default is to show them.
1873
1874 set print type typedefs (on|off)
1875 show print type typedefs
1876   Control whether typedef definitions are displayed by "ptype".
1877   The default is to show them.
1878
1879 set filename-display basename|relative|absolute
1880 show filename-display
1881   Control the way in which filenames is displayed.
1882   The default is "relative", which preserves previous behavior.
1883
1884 set trace-buffer-size
1885 show trace-buffer-size
1886   Request target to change the size of trace buffer.
1887
1888 set remote trace-buffer-size-packet auto|on|off
1889 show remote trace-buffer-size-packet
1890   Control the use of the remote protocol `QTBuffer:size' packet.
1891
1892 set debug aarch64
1893 show debug aarch64
1894   Control display of debugging messages related to ARM AArch64.
1895   The default is off.
1896
1897 set debug coff-pe-read
1898 show debug coff-pe-read
1899   Control display of debugging messages related to reading of COFF/PE
1900   exported symbols.
1901
1902 set debug mach-o
1903 show debug mach-o
1904   Control display of debugging messages related to Mach-O symbols
1905   processing.
1906
1907 set debug notification
1908 show debug notification
1909   Control display of debugging info for async remote notification.
1910
1911 * MI changes
1912
1913   ** Command parameter changes are now notified using new async record
1914      "=cmd-param-changed".
1915   ** Trace frame changes caused by command "tfind" are now notified using
1916      new async record "=traceframe-changed".
1917   ** The creation, deletion and modification of trace state variables
1918      are now notified using new async records "=tsv-created",
1919      "=tsv-deleted" and "=tsv-modified".
1920   ** The start and stop of process record are now notified using new
1921      async record "=record-started" and "=record-stopped".
1922   ** Memory changes are now notified using new async record
1923      "=memory-changed".
1924   ** The data-disassemble command response will include a "fullname" field
1925      containing the absolute file name when source has been requested.
1926   ** New optional parameter COUNT added to the "-data-write-memory-bytes" 
1927      command, to allow pattern filling of memory areas.
1928   ** New commands "-catch-load"/"-catch-unload" added for intercepting
1929      library load/unload events.
1930   ** The response to breakpoint commands and breakpoint async records
1931      includes an "installed" field containing a boolean state about each
1932      non-pending tracepoint location is whether installed on target or not.
1933   ** Output of the "-trace-status" command includes a "trace-file" field 
1934      containing the name of the trace file being examined.  This field is
1935      optional, and only present when examining a trace file.
1936   ** The "fullname" field is now always present along with the "file" field,
1937      even if the file cannot be found by GDB.
1938
1939 * GDB now supports the "mini debuginfo" section, .gnu_debugdata.
1940   You must have the LZMA library available when configuring GDB for this
1941   feature to be enabled.  For more information, see:
1942       http://fedoraproject.org/wiki/Features/MiniDebugInfo
1943
1944 * New remote packets
1945
1946 QTBuffer:size
1947    Set the size of trace buffer.  The remote stub reports support for this
1948    packet to gdb's qSupported query.
1949
1950 Qbtrace:bts
1951   Enable Branch Trace Store (BTS)-based branch tracing for the current
1952   thread.  The remote stub reports support for this packet to gdb's
1953   qSupported query.
1954
1955 Qbtrace:off
1956   Disable branch tracing for the current thread.  The remote stub reports
1957   support for this packet to gdb's qSupported query.
1958
1959 qXfer:btrace:read
1960   Read the traced branches for the current thread.  The remote stub
1961   reports support for this packet to gdb's qSupported query.
1962
1963 *** Changes in GDB 7.5
1964
1965 * GDB now supports x32 ABI.  Visit <http://sites.google.com/site/x32abi/>
1966   for more x32 ABI info.
1967
1968 * GDB now supports access to MIPS DSP registers on Linux targets.
1969
1970 * GDB now supports debugging microMIPS binaries.
1971
1972 * The "info os" command on GNU/Linux can now display information on
1973   several new classes of objects managed by the operating system:
1974     "info os procgroups" lists process groups
1975     "info os files" lists file descriptors
1976     "info os sockets" lists internet-domain sockets
1977     "info os shm" lists shared-memory regions
1978     "info os semaphores" lists semaphores
1979     "info os msg" lists message queues
1980     "info os modules" lists loaded kernel modules
1981
1982 * GDB now has support for SDT (Static Defined Tracing) probes.  Currently,
1983   the only implemented backend is for SystemTap probes (<sys/sdt.h>).  You
1984   can set a breakpoint using the new "-probe, "-pstap" or "-probe-stap"
1985   options and inspect the probe arguments using the new $_probe_arg family
1986   of convenience variables.  You can obtain more information about SystemTap
1987   in <http://sourceware.org/systemtap/>.
1988
1989 * GDB now supports reversible debugging on ARM, it allows you to
1990   debug basic ARM and THUMB instructions, and provides 
1991   record/replay support.  
1992
1993 * The option "symbol-reloading" has been deleted as it is no longer used.
1994
1995 * Python scripting
1996
1997   ** GDB commands implemented in Python can now be put in command class
1998      "gdb.COMMAND_USER".
1999
2000   ** The "maint set python print-stack on|off" is now deleted.
2001
2002   ** A new class, gdb.printing.FlagEnumerationPrinter, can be used to
2003      apply "flag enum"-style pretty-printing to any enum.
2004
2005   ** gdb.lookup_symbol can now work when there is no current frame.
2006
2007   ** gdb.Symbol now has a 'line' attribute, holding the line number in
2008      the source at which the symbol was defined.
2009
2010   ** gdb.Symbol now has the new attribute 'needs_frame' and the new
2011      method 'value'.  The former indicates whether the symbol needs a
2012      frame in order to compute its value, and the latter computes the
2013      symbol's value.
2014
2015   ** A new method 'referenced_value' on gdb.Value objects which can
2016      dereference pointer as well as C++ reference values.
2017
2018   ** New methods 'global_block' and 'static_block' on gdb.Symtab objects
2019      which return the global and static blocks (as gdb.Block objects),
2020      of the underlying symbol table, respectively.
2021
2022   ** New function gdb.find_pc_line which returns the gdb.Symtab_and_line
2023      object associated with a PC value.
2024
2025   ** gdb.Symtab_and_line has new attribute 'last' which holds the end
2026      of the address range occupied by code for the current source line.
2027
2028 * Go language support.
2029   GDB now supports debugging programs written in the Go programming
2030   language.
2031
2032 * GDBserver now supports stdio connections.
2033   E.g. (gdb) target remote | ssh myhost gdbserver - hello
2034
2035 * The binary "gdbtui" can no longer be built or installed.
2036   Use "gdb -tui" instead.
2037
2038 * GDB will now print "flag" enums specially.  A flag enum is one where
2039   all the enumerator values have no bits in common when pairwise
2040   "and"ed.  When printing a value whose type is a flag enum, GDB will
2041   show all the constants, e.g., for enum E { ONE = 1, TWO = 2}:
2042   (gdb) print (enum E) 3
2043   $1 = (ONE | TWO)
2044
2045 * The filename part of a linespec will now match trailing components
2046   of a source file name.  For example, "break gcc/expr.c:1000" will
2047   now set a breakpoint in build/gcc/expr.c, but not
2048   build/libcpp/expr.c.
2049
2050 * The "info proc" and "generate-core-file" commands will now also
2051   work on remote targets connected to GDBserver on Linux.
2052
2053 * The command "info catch" has been removed.  It has been disabled
2054   since December 2007.
2055
2056 * The "catch exception" and "catch assert" commands now accept
2057   a condition at the end of the command, much like the "break"
2058   command does. For instance:
2059
2060         (gdb) catch exception Constraint_Error if Barrier = True
2061
2062   Previously, it was possible to add a condition to such catchpoints,
2063   but it had to be done as a second step, after the catchpoint had been
2064   created, using the "condition" command.
2065
2066 * The "info static-tracepoint-marker" command will now also work on
2067   native Linux targets with in-process agent.
2068
2069 * GDB can now set breakpoints on inlined functions.
2070
2071 * The .gdb_index section has been updated to include symbols for
2072   inlined functions.  GDB will ignore older .gdb_index sections by
2073   default, which could cause symbol files to be loaded more slowly
2074   until their .gdb_index sections can be recreated.  The new command
2075   "set use-deprecated-index-sections on" will cause GDB to use any older
2076   .gdb_index sections it finds.  This will restore performance, but the
2077   ability to set breakpoints on inlined functions will be lost in symbol
2078   files with older .gdb_index sections.
2079
2080   The .gdb_index section has also been updated to record more information
2081   about each symbol.  This speeds up the "info variables", "info functions"
2082   and "info types" commands when used with programs having the .gdb_index
2083   section, as well as speeding up debugging with shared libraries using
2084   the .gdb_index section.
2085
2086 * Ada support for GDB/MI Variable Objects has been added.
2087
2088 * GDB can now support 'breakpoint always-inserted mode' in 'record'
2089   target.
2090
2091 * MI changes
2092
2093   ** New command -info-os is the MI equivalent of "info os".
2094
2095   ** Output logs ("set logging" and related) now include MI output.
2096
2097 * New commands
2098
2099   ** "set use-deprecated-index-sections on|off"
2100      "show use-deprecated-index-sections on|off"
2101      Controls the use of deprecated .gdb_index sections.
2102
2103   ** "catch load" and "catch unload" can be used to stop when a shared
2104      library is loaded or unloaded, respectively.
2105
2106   ** "enable count" can be used to auto-disable a breakpoint after
2107      several hits.
2108
2109   ** "info vtbl" can be used to show the virtual method tables for
2110      C++ and Java objects.
2111
2112   ** "explore" and its sub commands "explore value" and "explore type"
2113      can be used to recursively explore values and types of
2114      expressions.  These commands are available only if GDB is
2115      configured with '--with-python'.
2116
2117   ** "info auto-load" shows status of all kinds of auto-loaded files,
2118      "info auto-load gdb-scripts" shows status of auto-loading GDB canned
2119      sequences of commands files, "info auto-load python-scripts"
2120      shows status of auto-loading Python script files,
2121      "info auto-load local-gdbinit" shows status of loading init file
2122      (.gdbinit) from current directory and "info auto-load libthread-db" shows
2123      status of inferior specific thread debugging shared library loading.
2124
2125   ** "info auto-load-scripts", "set auto-load-scripts on|off"
2126      and "show auto-load-scripts" commands have been deprecated, use their
2127      "info auto-load python-scripts", "set auto-load python-scripts on|off"
2128      and "show auto-load python-scripts" counterparts instead.
2129
2130   ** "dprintf location,format,args..." creates a dynamic printf, which
2131      is basically a breakpoint that does a printf and immediately
2132      resumes your program's execution, so it is like a printf that you
2133      can insert dynamically at runtime instead of at compiletime.
2134
2135   ** "set print symbol"
2136      "show print symbol"
2137      Controls whether GDB attempts to display the symbol, if any,
2138      corresponding to addresses it prints.  This defaults to "on", but
2139      you can set it to "off" to restore GDB's previous behavior.
2140
2141 * Deprecated commands
2142
2143   ** For the Renesas Super-H architecture, the "regs" command has been
2144      deprecated, and "info all-registers" should be used instead.
2145
2146 * New targets
2147
2148 Renesas RL78                    rl78-*-elf
2149 HP OpenVMS ia64                 ia64-hp-openvms*
2150
2151 * GDBserver supports evaluation of breakpoint conditions.  When
2152   support is advertised by GDBserver, GDB may be told to send the
2153   breakpoint conditions in bytecode form to GDBserver.  GDBserver
2154   will only report the breakpoint trigger to GDB when its condition
2155   evaluates to true.
2156
2157 * New options
2158
2159 set mips compression
2160 show mips compression
2161   Select the compressed ISA encoding used in functions that have no symbol
2162   information available.  The encoding can be set to either of:
2163     mips16
2164     micromips
2165   and is updated automatically from ELF file flags if available.
2166
2167 set breakpoint condition-evaluation
2168 show breakpoint condition-evaluation
2169   Control whether breakpoint conditions are evaluated by GDB ("host") or by
2170   GDBserver ("target").  Default option "auto" chooses the most efficient
2171   available mode.
2172   This option can improve debugger efficiency depending on the speed of the
2173   target.
2174
2175 set auto-load off
2176   Disable auto-loading globally.
2177
2178 show auto-load
2179   Show auto-loading setting of all kinds of auto-loaded files.
2180
2181 set auto-load gdb-scripts on|off
2182 show auto-load gdb-scripts
2183   Control auto-loading of GDB canned sequences of commands files.
2184
2185 set auto-load python-scripts on|off
2186 show auto-load python-scripts
2187   Control auto-loading of Python script files.
2188
2189 set auto-load local-gdbinit on|off
2190 show auto-load local-gdbinit
2191   Control loading of init file (.gdbinit) from current directory.
2192
2193 set auto-load libthread-db on|off
2194 show auto-load libthread-db
2195   Control auto-loading of inferior specific thread debugging shared library.
2196
2197 set auto-load scripts-directory <dir1>[:<dir2>...]
2198 show auto-load scripts-directory
2199   Set a list of directories from which to load auto-loaded scripts.
2200   Automatically loaded Python scripts and GDB scripts are located in one
2201   of the directories listed by this option.
2202   The delimiter (':' above) may differ according to the host platform.
2203
2204 set auto-load safe-path <dir1>[:<dir2>...]
2205 show auto-load safe-path
2206   Set a list of directories from which it is safe to auto-load files.
2207   The delimiter (':' above) may differ according to the host platform.
2208
2209 set debug auto-load on|off
2210 show debug auto-load
2211   Control display of debugging info for auto-loading the files above.
2212
2213 set dprintf-style gdb|call|agent
2214 show dprintf-style
2215   Control the way in which a dynamic printf is performed; "gdb"
2216   requests a GDB printf command, while "call" causes dprintf to call a
2217   function in the inferior.  "agent" requests that the target agent
2218   (such as GDBserver) do the printing.
2219
2220 set dprintf-function <expr>
2221 show dprintf-function
2222 set dprintf-channel <expr>
2223 show dprintf-channel
2224   Set the function and optional first argument to the call when using
2225   the "call" style of dynamic printf.
2226
2227 set disconnected-dprintf on|off
2228 show disconnected-dprintf
2229   Control whether agent-style dynamic printfs continue to be in effect
2230   after GDB disconnects.
2231
2232 * New configure options
2233
2234 --with-auto-load-dir
2235   Configure default value for the 'set auto-load scripts-directory'
2236   setting above.  It defaults to '$debugdir:$datadir/auto-load',
2237   $debugdir representing global debugging info directories (available
2238   via 'show debug-file-directory') and $datadir representing GDB's data
2239   directory (available via 'show data-directory').
2240
2241 --with-auto-load-safe-path
2242   Configure default value for the 'set auto-load safe-path' setting
2243   above.  It defaults to the --with-auto-load-dir setting.
2244
2245 --without-auto-load-safe-path
2246   Set 'set auto-load safe-path' to '/', effectively disabling this
2247   security feature.
2248
2249 * New remote packets
2250
2251 z0/z1 conditional breakpoints extension
2252
2253   The z0/z1 breakpoint insertion packets have been extended to carry
2254   a list of conditional expressions over to the remote stub depending on the
2255   condition evaluation mode.  The use of this extension can be controlled
2256   via the "set remote conditional-breakpoints-packet" command.
2257
2258 QProgramSignals:
2259
2260   Specify the signals which the remote stub may pass to the debugged
2261   program without GDB involvement.
2262
2263 * New command line options
2264
2265 --init-command=FILE, -ix          Like --command, -x but execute it
2266                                   before loading inferior.
2267 --init-eval-command=COMMAND, -iex Like --eval-command=COMMAND, -ex but
2268                                   execute it before loading inferior.
2269
2270 *** Changes in GDB 7.4
2271
2272 * GDB now handles ambiguous linespecs more consistently; the existing
2273   FILE:LINE support has been expanded to other types of linespecs.  A
2274   breakpoint will now be set on all matching locations in all
2275   inferiors, and locations will be added or removed according to
2276   inferior changes.
2277
2278 * GDB now allows you to skip uninteresting functions and files when
2279   stepping with the "skip function" and "skip file" commands.
2280
2281 * GDB has two new commands: "set remote hardware-watchpoint-length-limit"
2282   and "show remote hardware-watchpoint-length-limit".  These allows to
2283   set or show the maximum length limit (in bytes) of a remote
2284   target hardware watchpoint.
2285
2286   This allows e.g. to use "unlimited" hardware watchpoints with the
2287   gdbserver integrated in Valgrind version >= 3.7.0.  Such Valgrind
2288   watchpoints are slower than real hardware watchpoints but are
2289   significantly faster than gdb software watchpoints.
2290
2291 * Python scripting
2292
2293   ** The register_pretty_printer function in module gdb.printing now takes
2294      an optional `replace' argument.  If True, the new printer replaces any
2295      existing one.
2296
2297   ** The "maint set python print-stack on|off" command has been
2298      deprecated and will be deleted in GDB 7.5.
2299      A new command: "set python print-stack none|full|message" has
2300      replaced it.  Additionally, the default for "print-stack" is
2301      now "message", which just prints the error message without
2302      the stack trace.
2303    
2304   ** A prompt substitution hook (prompt_hook) is now available to the
2305      Python API.
2306
2307   ** A new Python module, gdb.prompt has been added to the GDB Python
2308      modules library.  This module provides functionality for
2309      escape sequences in prompts (used by set/show
2310      extended-prompt).  These escape sequences are replaced by their
2311      corresponding value.
2312
2313   ** Python commands and convenience-functions located in
2314     'data-directory'/python/gdb/command and
2315     'data-directory'/python/gdb/function are now automatically loaded
2316      on GDB start-up.
2317
2318   ** Blocks now provide four new attributes.  global_block and
2319      static_block will return the global and static blocks
2320      respectively.  is_static and is_global are boolean attributes
2321      that indicate if the block is one of those two types.
2322
2323   ** Symbols now provide the "type" attribute, the type of the symbol.
2324
2325   ** The "gdb.breakpoint" function has been deprecated in favor of
2326      "gdb.breakpoints".
2327
2328   ** A new class "gdb.FinishBreakpoint" is provided to catch the return
2329      of a function.  This class is based on the "finish" command
2330      available in the CLI. 
2331
2332   ** Type objects for struct and union types now allow access to
2333      the fields using standard Python dictionary (mapping) methods.
2334      For example, "some_type['myfield']" now works, as does
2335      "some_type.items()".
2336
2337   ** A new event "gdb.new_objfile" has been added, triggered by loading a
2338      new object file.
2339
2340   ** A new function, "deep_items" has been added to the gdb.types
2341      module in the GDB Python modules library.  This function returns
2342      an iterator over the fields of a struct or union type.  Unlike
2343      the standard Python "iteritems" method, it will recursively traverse
2344      any anonymous fields.
2345
2346 * MI changes
2347
2348   ** "*stopped" events can report several new "reason"s, such as
2349      "solib-event".
2350
2351   ** Breakpoint changes are now notified using new async records, like
2352      "=breakpoint-modified".
2353
2354   ** New command -ada-task-info.
2355
2356 * libthread-db-search-path now supports two special values: $sdir and $pdir.
2357   $sdir specifies the default system locations of shared libraries.
2358   $pdir specifies the directory where the libpthread used by the application
2359   lives.
2360
2361   GDB no longer looks in $sdir and $pdir after it has searched the directories
2362   mentioned in libthread-db-search-path.  If you want to search those
2363   directories, they must be specified in libthread-db-search-path.
2364   The default value of libthread-db-search-path on GNU/Linux and Solaris
2365   systems is now "$sdir:$pdir".
2366
2367   $pdir is not supported by gdbserver, it is currently ignored.
2368   $sdir is supported by gdbserver.
2369
2370 * New configure option --with-iconv-bin.
2371   When using the internationalization support like the one in the GNU C
2372   library, GDB will invoke the "iconv" program to get a list of supported
2373   character sets.  If this program lives in a non-standard location, one can
2374   use this option to specify where to find it.
2375
2376 * When natively debugging programs on PowerPC BookE processors running
2377   a Linux kernel version 2.6.34 or later, GDB supports masked hardware
2378   watchpoints, which specify a mask in addition to an address to watch.
2379   The mask specifies that some bits of an address (the bits which are
2380   reset in the mask) should be ignored when matching the address accessed
2381   by the inferior against the watchpoint address.  See the "PowerPC Embedded"
2382   section in the user manual for more details.
2383
2384 * The new option --once causes GDBserver to stop listening for connections once
2385   the first connection is made.  The listening port used by GDBserver will
2386   become available after that.
2387
2388 * New commands "info macros" and "alias" have been added.
2389
2390 * New function parameters suffix @entry specifies value of function parameter
2391   at the time the function got called.  Entry values are available only since
2392   gcc version 4.7.
2393
2394 * New commands
2395
2396 !SHELL COMMAND
2397   "!" is now an alias of the "shell" command.
2398   Note that no space is needed between "!" and SHELL COMMAND.
2399
2400 * Changed commands
2401
2402 watch EXPRESSION mask MASK_VALUE
2403   The watch command now supports the mask argument which allows creation
2404   of masked watchpoints, if the current architecture supports this feature.
2405
2406 info auto-load-scripts [REGEXP]
2407   This command was formerly named "maintenance print section-scripts".
2408   It is now generally useful and is no longer a maintenance-only command.
2409
2410 info macro [-all] [--] MACRO
2411   The info macro command has new options `-all' and `--'.  The first for
2412   printing all definitions of a macro.  The second for explicitly specifying
2413   the end of arguments and the beginning of the macro name in case the macro
2414   name starts with a hyphen.
2415
2416 collect[/s] EXPRESSIONS
2417   The tracepoint collect command now takes an optional modifier "/s"
2418   that directs it to dereference pointer-to-character types and
2419   collect the bytes of memory up to a zero byte.  The behavior is
2420   similar to what you see when you use the regular print command on a
2421   string.  An optional integer following the "/s" sets a bound on the
2422   number of bytes that will be collected.
2423
2424 tstart [NOTES]
2425   The trace start command now interprets any supplied arguments as a
2426   note to be recorded with the trace run, with an effect similar to
2427   setting the variable trace-notes.
2428
2429 tstop [NOTES]
2430   The trace stop command now interprets any arguments as a note to be
2431   mentioned along with the tstatus report that the trace was stopped
2432   with a command.  The effect is similar to setting the variable
2433   trace-stop-notes.
2434
2435 * Tracepoints can now be enabled and disabled at any time after a trace
2436   experiment has been started using the standard "enable" and "disable"
2437   commands.  It is now possible to start a trace experiment with no enabled
2438   tracepoints; GDB will display a warning, but will allow the experiment to
2439   begin, assuming that tracepoints will be enabled as needed while the trace
2440   is running.
2441
2442 * Fast tracepoints on 32-bit x86-architectures can now be placed at
2443   locations with 4-byte instructions, when they were previously
2444   limited to locations with instructions of 5 bytes or longer.
2445
2446 * New options
2447
2448 set debug dwarf2-read
2449 show debug dwarf2-read
2450   Turns on or off display of debugging messages related to reading
2451   DWARF debug info.  The default is off.
2452
2453 set debug symtab-create
2454 show debug symtab-create
2455   Turns on or off display of debugging messages related to symbol table
2456   creation.  The default is off.
2457
2458 set extended-prompt
2459 show extended-prompt
2460   Set the GDB prompt, and allow escape sequences to be inserted to
2461   display miscellaneous information (see 'help set extended-prompt'
2462   for the list of sequences).  This prompt (and any information
2463   accessed through the escape sequences) is updated every time the
2464   prompt is displayed.
2465
2466 set print entry-values (both|compact|default|if-needed|no|only|preferred)
2467 show print entry-values
2468   Set printing of frame argument values at function entry.  In some cases
2469   GDB can determine the value of function argument which was passed by the
2470   function caller, even if the value was modified inside the called function.
2471
2472 set debug entry-values
2473 show debug entry-values
2474   Control display of debugging info for determining frame argument values at
2475   function entry and virtual tail call frames.
2476
2477 set basenames-may-differ
2478 show basenames-may-differ
2479   Set whether a source file may have multiple base names.
2480   (A "base name" is the name of a file with the directory part removed.
2481   Example: The base name of "/home/user/hello.c" is "hello.c".)
2482   If set, GDB will canonicalize file names (e.g., expand symlinks)
2483   before comparing them.  Canonicalization is an expensive operation,
2484   but it allows the same file be known by more than one base name.
2485   If not set (the default), all source files are assumed to have just
2486   one base name, and gdb will do file name comparisons more efficiently.
2487
2488 set trace-user
2489 show trace-user
2490 set trace-notes
2491 show trace-notes
2492   Set a user name and notes for the current and any future trace runs.
2493   This is useful for long-running and/or disconnected traces, to
2494   inform others (or yourself) as to who is running the trace, supply
2495   contact information, or otherwise explain what is going on.
2496
2497 set trace-stop-notes
2498 show trace-stop-notes
2499   Set a note attached to the trace run, that is displayed when the
2500   trace has been stopped by a tstop command.  This is useful for
2501   instance as an explanation, if you are stopping a trace run that was
2502   started by someone else.
2503
2504 * New remote packets
2505
2506 QTEnable
2507   
2508   Dynamically enable a tracepoint in a started trace experiment.
2509
2510 QTDisable
2511
2512   Dynamically disable a tracepoint in a started trace experiment.
2513
2514 QTNotes
2515
2516   Set the user and notes of the trace run.
2517
2518 qTP
2519
2520   Query the current status of a tracepoint.
2521
2522 qTMinFTPILen
2523
2524   Query the minimum length of instruction at which a fast tracepoint may
2525   be placed.
2526
2527 * Dcache size (number of lines) and line-size are now runtime-configurable
2528   via "set dcache line" and "set dcache line-size" commands.
2529
2530 * New targets
2531
2532 Texas Instruments TMS320C6x             tic6x-*-*
2533
2534 * New Simulators
2535
2536 Renesas RL78                            rl78-*-elf
2537
2538 *** Changes in GDB 7.3.1
2539
2540 * The build failure for NetBSD and OpenBSD targets have now been fixed.
2541
2542 *** Changes in GDB 7.3
2543
2544 * GDB has a new command: "thread find [REGEXP]".
2545   It finds the thread id whose name, target id, or thread extra info
2546   matches the given regular expression.
2547
2548 * The "catch syscall" command now works on mips*-linux* targets.
2549
2550 * The -data-disassemble MI command now supports modes 2 and 3 for
2551   dumping the instruction opcodes.
2552
2553 * New command line options
2554
2555 -data-directory DIR     Specify DIR as the "data-directory".
2556                         This is mostly for testing purposes.
2557
2558 * The "maint set python auto-load on|off" command has been renamed to
2559   "set auto-load-scripts on|off".
2560
2561 * GDB has a new command: "set directories".
2562   It is like the "dir" command except that it replaces the
2563   source path list instead of augmenting it.
2564
2565 * GDB now understands thread names.
2566
2567   On GNU/Linux, "info threads" will display the thread name as set by
2568   prctl or pthread_setname_np.
2569
2570   There is also a new command, "thread name", which can be used to
2571   assign a name internally for GDB to display.
2572
2573 * OpenCL C
2574   Initial support for the OpenCL C language (http://www.khronos.org/opencl)
2575   has been integrated into GDB.
2576
2577 * Python scripting
2578
2579   ** The function gdb.Write now accepts an optional keyword 'stream'.
2580      This keyword, when provided, will direct the output to either
2581      stdout, stderr, or GDB's logging output.
2582
2583   ** Parameters can now be be sub-classed in Python, and in particular
2584      you may implement the get_set_doc and get_show_doc functions.
2585      This improves how Parameter set/show documentation is processed
2586      and allows for more dynamic content.
2587
2588   ** Symbols, Symbol Table, Symbol Table and Line, Object Files,
2589      Inferior, Inferior Thread, Blocks, and Block Iterator APIs now
2590      have an is_valid method.
2591
2592   ** Breakpoints can now be sub-classed in Python, and in particular
2593      you may implement a 'stop' function that is executed each time
2594      the inferior reaches that breakpoint.   
2595
2596   ** New function gdb.lookup_global_symbol looks up a global symbol.
2597
2598   ** GDB values in Python are now callable if the value represents a
2599      function.  For example, if 'some_value' represents a function that
2600      takes two integer parameters and returns a value, you can call
2601      that function like so:
2602
2603      result = some_value (10,20)
2604
2605   ** Module gdb.types has been added.
2606      It contains a collection of utilities for working with gdb.Types objects:
2607      get_basic_type, has_field, make_enum_dict.
2608
2609   ** Module gdb.printing has been added.
2610      It contains utilities for writing and registering pretty-printers.
2611      New classes: PrettyPrinter,  SubPrettyPrinter,
2612      RegexpCollectionPrettyPrinter.
2613      New function: register_pretty_printer.
2614
2615   ** New commands "info pretty-printers", "enable pretty-printer" and
2616      "disable pretty-printer" have been added.
2617
2618   ** gdb.parameter("directories") is now available.
2619
2620   ** New function gdb.newest_frame returns the newest frame in the
2621      selected thread.
2622
2623   ** The gdb.InferiorThread class has a new "name" attribute.  This
2624      holds the thread's name.
2625
2626   ** Python Support for Inferior events.
2627      Python scripts can add observers to be notified of events
2628      occurring in the process being debugged.
2629      The following events are currently supported:
2630      - gdb.events.cont Continue event.
2631      - gdb.events.exited Inferior exited event.
2632      - gdb.events.stop Signal received, and Breakpoint hit events.
2633
2634 * C++ Improvements:
2635
2636   ** GDB now puts template parameters in scope when debugging in an
2637      instantiation.  For example, if you have:
2638
2639      template<int X> int func (void) { return X; }
2640
2641      then if you step into func<5>, "print X" will show "5".  This
2642      feature requires proper debuginfo support from the compiler; it
2643      was added to GCC 4.5.
2644
2645   ** The motion commands "next", "finish", "until", and "advance" now
2646      work better when exceptions are thrown.  In particular, GDB will
2647      no longer lose control of the inferior; instead, the GDB will
2648      stop the inferior at the point at which the exception is caught.
2649      This functionality requires a change in the exception handling
2650      code that was introduced in GCC 4.5.
2651
2652 * GDB now follows GCC's rules on accessing volatile objects when
2653   reading or writing target state during expression evaluation.
2654   One notable difference to prior behavior is that "print x = 0"
2655   no longer generates a read of x; the value of the assignment is
2656   now always taken directly from the value being assigned.
2657
2658 * GDB now has some support for using labels in the program's source in
2659   linespecs.  For instance, you can use "advance label" to continue
2660   execution to a label.
2661
2662 * GDB now has support for reading and writing a new .gdb_index
2663   section.  This section holds a fast index of DWARF debugging
2664   information and can be used to greatly speed up GDB startup and
2665   operation.  See the documentation for `save gdb-index' for details.
2666
2667 * The "watch" command now accepts an optional "-location" argument.
2668   When used, this causes GDB to watch the memory referred to by the
2669   expression.  Such a watchpoint is never deleted due to it going out
2670   of scope.
2671
2672 * GDB now supports thread debugging of core dumps on GNU/Linux.
2673
2674   GDB now activates thread debugging using the libthread_db library
2675   when debugging GNU/Linux core dumps, similarly to when debugging
2676   live processes.  As a result, when debugging a core dump file, GDB
2677   is now able to display pthread_t ids of threads.  For example, "info
2678   threads" shows the same output as when debugging the process when it
2679   was live.  In earlier releases, you'd see something like this:
2680
2681   (gdb) info threads
2682    * 1 LWP 6780  main () at main.c:10
2683
2684   While now you see this:
2685
2686   (gdb) info threads
2687    * 1 Thread 0x7f0f5712a700 (LWP 6780)  main () at main.c:10
2688
2689   It is also now possible to inspect TLS variables when debugging core
2690   dumps.
2691
2692   When debugging a core dump generated on a machine other than the one
2693   used to run GDB, you may need to point GDB at the correct
2694   libthread_db library with the "set libthread-db-search-path"
2695   command.  See the user manual for more details on this command.
2696
2697 * When natively debugging programs on PowerPC BookE processors running
2698   a Linux kernel version 2.6.34 or later, GDB supports ranged breakpoints,
2699   which stop execution of the inferior whenever it executes an instruction
2700   at any address within the specified range.  See the "PowerPC Embedded"
2701   section in the user manual for more details.
2702
2703 * New features in the GDB remote stub, GDBserver
2704
2705   ** GDBserver is now supported on PowerPC LynxOS (versions 4.x and 5.x),
2706      and i686 LynxOS (version 5.x).
2707
2708   ** GDBserver is now supported on Blackfin Linux.
2709
2710 * New native configurations
2711
2712 ia64 HP-UX                      ia64-*-hpux*
2713
2714 * New targets:
2715
2716 Analog Devices, Inc. Blackfin Processor bfin-*
2717
2718 * Ada task switching is now supported on sparc-elf targets when
2719   debugging a program using the Ravenscar Profile.  For more information,
2720   see the "Tasking Support when using the Ravenscar Profile" section
2721   in the GDB user manual.
2722
2723 * Guile support was removed.
2724
2725 * New features in the GNU simulator
2726
2727   ** The --map-info flag lists all known core mappings.
2728
2729   ** CFI flashes may be simulated via the "cfi" device.
2730
2731 *** Changes in GDB 7.2
2732
2733 * Shared library support for remote targets by default
2734
2735   When GDB is configured for a generic, non-OS specific target, like
2736   for example, --target=arm-eabi or one of the many *-*-elf targets,
2737   GDB now queries remote stubs for loaded shared libraries using the
2738   `qXfer:libraries:read' packet.  Previously, shared library support
2739   was always disabled for such configurations.
2740
2741 * C++ Improvements:
2742
2743   ** Argument Dependent Lookup (ADL)
2744
2745   In C++ ADL lookup directs function search to the namespaces of its
2746   arguments even if the namespace has not been imported.
2747   For example:
2748     namespace A
2749       { 
2750         class B { }; 
2751         void foo (B) { }
2752       }
2753     ...
2754     A::B b
2755     foo(b)
2756   Here the compiler will search for `foo' in the namespace of 'b'
2757   and find A::foo.  GDB now supports this.  This construct is commonly
2758   used in the Standard Template Library for operators.
2759
2760   ** Improved User Defined Operator Support
2761
2762   In addition to member operators, GDB now supports lookup of operators
2763   defined in a namespace and imported with a `using' directive, operators
2764   defined in the global scope, operators imported implicitly from an
2765   anonymous namespace, and the ADL operators mentioned in the previous
2766   entry.
2767   GDB now also supports proper overload resolution for all the previously
2768   mentioned flavors of operators.
2769
2770   ** static const class members
2771
2772   Printing of static const class members that are initialized in the
2773   class definition has been fixed.
2774
2775 * Windows Thread Information Block access.
2776
2777   On Windows targets, GDB now supports displaying the Windows Thread
2778   Information Block (TIB) structure.  This structure is visible either
2779   by using the new command `info w32 thread-information-block' or, by
2780   dereferencing the new convenience variable named `$_tlb', a
2781   thread-specific pointer to the TIB.  This feature is also supported
2782   when remote debugging using GDBserver.
2783
2784 * Static tracepoints
2785
2786   Static tracepoints are calls in the user program into a tracing
2787   library.  One such library is a port of the LTTng kernel tracer to
2788   userspace --- UST (LTTng Userspace Tracer, http://lttng.org/ust).
2789   When debugging with GDBserver, GDB now supports combining the GDB
2790   tracepoint machinery with such libraries.  For example: the user can
2791   use GDB to probe a static tracepoint marker (a call from the user
2792   program into the tracing library) with the new "strace" command (see
2793   "New commands" below).  This creates a "static tracepoint" in the
2794   breakpoint list, that can be manipulated with the same feature set
2795   as fast and regular tracepoints.  E.g., collect registers, local and
2796   global variables, collect trace state variables, and define
2797   tracepoint conditions.  In addition, the user can collect extra
2798   static tracepoint marker specific data, by collecting the new
2799   $_sdata internal variable.  When analyzing the trace buffer, you can
2800   inspect $_sdata like any other variable available to GDB.  For more
2801   information, see the "Tracepoints" chapter in GDB user manual.  New
2802   remote packets have been defined to support static tracepoints, see
2803   the "New remote packets" section below.
2804
2805 * Better reconstruction of tracepoints after disconnected tracing
2806
2807   GDB will attempt to download the original source form of tracepoint
2808   definitions when starting a trace run, and then will upload these
2809   upon reconnection to the target, resulting in a more accurate
2810   reconstruction of the tracepoints that are in use on the target.
2811
2812 * Observer mode
2813
2814   You can now exercise direct control over the ways that GDB can
2815   affect your program.  For instance, you can disallow the setting of
2816   breakpoints, so that the program can run continuously (assuming
2817   non-stop mode).  In addition, the "observer" variable is available
2818   to switch all of the different controls; in observer mode, GDB
2819   cannot affect the target's behavior at all, which is useful for
2820   tasks like diagnosing live systems in the field.
2821
2822 * The new convenience variable $_thread holds the number of the
2823   current thread.
2824
2825 * New remote packets
2826
2827 qGetTIBAddr
2828
2829   Return the address of the Windows Thread Information Block of a given thread.
2830
2831 qRelocInsn
2832
2833   In response to several of the tracepoint packets, the target may now
2834   also respond with a number of intermediate `qRelocInsn' request
2835   packets before the final result packet, to have GDB handle
2836   relocating an instruction to execute at a different address.  This
2837   is particularly useful for stubs that support fast tracepoints.  GDB
2838   reports support for this feature in the qSupported packet.
2839
2840 qTfSTM, qTsSTM
2841
2842   List static tracepoint markers in the target program.
2843
2844 qTSTMat
2845
2846   List static tracepoint markers at a given address in the target
2847   program.
2848
2849 qXfer:statictrace:read
2850
2851   Read the static trace data collected (by a `collect $_sdata'
2852   tracepoint action).  The remote stub reports support for this packet
2853   to gdb's qSupported query.
2854
2855 QAllow
2856
2857   Send the current settings of GDB's permission flags.
2858
2859 QTDPsrc
2860
2861   Send part of the source (textual) form of a tracepoint definition,
2862   which includes location, conditional, and action list.
2863
2864 * The source command now accepts a -s option to force searching for the
2865   script in the source search path even if the script name specifies
2866   a directory.
2867
2868 * New features in the GDB remote stub, GDBserver
2869
2870   - GDBserver now support tracepoints (including fast tracepoints, and
2871     static tracepoints).  The feature is currently supported by the
2872     i386-linux and amd64-linux builds.  See the "Tracepoints support
2873     in gdbserver" section in the manual for more information.
2874
2875     GDBserver JIT compiles the tracepoint's conditional agent
2876     expression bytecode into native code whenever possible for low
2877     overhead dynamic tracepoints conditionals.  For such tracepoints,
2878     an expression that examines program state is evaluated when the
2879     tracepoint is reached, in order to determine whether to capture
2880     trace data.  If the condition is simple and false, processing the
2881     tracepoint finishes very quickly and no data is gathered.
2882
2883     GDBserver interfaces with the UST (LTTng Userspace Tracer) library
2884     for static tracepoints support.
2885
2886   - GDBserver now supports x86_64 Windows 64-bit debugging.
2887
2888 * GDB now sends xmlRegisters= in qSupported packet to indicate that
2889   it understands register description.
2890
2891 * The --batch flag now disables pagination and queries.
2892
2893 * X86 general purpose registers
2894
2895   GDB now supports reading/writing byte, word and double-word x86
2896   general purpose registers directly.  This means you can use, say,
2897   $ah or $ax to refer, respectively, to the byte register AH and
2898   16-bit word register AX that are actually portions of the 32-bit
2899   register EAX or 64-bit register RAX.
2900
2901 * The `commands' command now accepts a range of breakpoints to modify.
2902   A plain `commands' following a command that creates multiple
2903   breakpoints affects all the breakpoints set by that command.  This
2904   applies to breakpoints set by `rbreak', and also applies when a
2905   single `break' command creates multiple breakpoints (e.g.,
2906   breakpoints on overloaded c++ functions).
2907
2908 * The `rbreak' command now accepts a filename specification as part of
2909   its argument, limiting the functions selected by the regex to those
2910   in the specified file.
2911
2912 * Support for remote debugging Windows and SymbianOS shared libraries
2913   from Unix hosts has been improved.  Non Windows GDB builds now can
2914   understand target reported file names that follow MS-DOS based file
2915   system semantics, such as file names that include drive letters and
2916   use the backslash character as directory separator.  This makes it
2917   possible to transparently use the "set sysroot" and "set
2918   solib-search-path" on Unix hosts to point as host copies of the
2919   target's shared libraries.  See the new command "set
2920   target-file-system-kind" described below, and the "Commands to
2921   specify files" section in the user manual for more information.
2922
2923 * New commands
2924
2925 eval template, expressions...
2926   Convert the values of one or more expressions under the control
2927   of the string template to a command line, and call it.
2928
2929 set target-file-system-kind unix|dos-based|auto
2930 show target-file-system-kind
2931   Set or show the assumed file system kind for target reported file
2932   names.
2933
2934 save breakpoints <filename>
2935   Save all current breakpoint definitions to a file suitable for use
2936   in a later debugging session.  To read the saved breakpoint
2937   definitions, use the `source' command.
2938
2939 `save tracepoints' is a new alias for `save-tracepoints'.  The latter
2940 is now deprecated.
2941
2942 info static-tracepoint-markers
2943   Display information about static tracepoint markers in the target.
2944
2945 strace FN | FILE:LINE | *ADDR | -m MARKER_ID
2946   Define a static tracepoint by probing a marker at the given
2947   function, line, address, or marker ID.
2948
2949 set observer on|off
2950 show observer
2951   Enable and disable observer mode.
2952
2953 set may-write-registers on|off
2954 set may-write-memory on|off
2955 set may-insert-breakpoints on|off
2956 set may-insert-tracepoints on|off
2957 set may-insert-fast-tracepoints on|off
2958 set may-interrupt on|off
2959   Set individual permissions for GDB effects on the target.  Note that
2960   some of these settings can have undesirable or surprising
2961   consequences, particularly when changed in the middle of a session.
2962   For instance, disabling the writing of memory can prevent
2963   breakpoints from being inserted, cause single-stepping to fail, or
2964   even crash your program, if you disable after breakpoints have been
2965   inserted.  However, GDB should not crash.
2966
2967 set record memory-query on|off
2968 show record memory-query
2969   Control whether to stop the inferior if memory changes caused
2970   by an instruction cannot be recorded.
2971
2972 * Changed commands
2973
2974 disassemble
2975   The disassemble command now supports "start,+length" form of two arguments.
2976
2977 * Python scripting
2978
2979 ** GDB now provides a new directory location, called the python directory,
2980    where Python scripts written for GDB can be installed.  The location
2981    of that directory is <data-directory>/python, where <data-directory>
2982    is the GDB data directory.  For more details, see section `Scripting
2983    GDB using Python' in the manual.
2984
2985 ** The GDB Python API now has access to breakpoints, symbols, symbol
2986    tables, program spaces, inferiors, threads and frame's code blocks.
2987    Additionally, GDB Parameters can now be created from the API, and
2988    manipulated via set/show in the CLI.
2989
2990 ** New functions gdb.target_charset, gdb.target_wide_charset,
2991    gdb.progspaces, gdb.current_progspace, and gdb.string_to_argv.
2992
2993 ** New exception gdb.GdbError.
2994
2995 ** Pretty-printers are now also looked up in the current program space.
2996
2997 ** Pretty-printers can now be individually enabled and disabled.
2998
2999 ** GDB now looks for names of Python scripts to auto-load in a
3000    special section named `.debug_gdb_scripts', in addition to looking
3001    for a OBJFILE-gdb.py script when OBJFILE is read by the debugger.
3002
3003 * Tracepoint actions were unified with breakpoint commands. In particular,
3004 there are no longer differences in "info break" output for breakpoints and
3005 tracepoints and the "commands" command can be used for both tracepoints and
3006 regular breakpoints.
3007
3008 * New targets
3009
3010 ARM Symbian                     arm*-*-symbianelf*
3011
3012 * D language support.
3013   GDB now supports debugging programs written in the D programming
3014   language.
3015
3016 * GDB now supports the extended ptrace interface for PowerPC which is
3017   available since Linux kernel version 2.6.34.  This automatically enables
3018   any hardware breakpoints and additional hardware watchpoints available in
3019   the processor.  The old ptrace interface exposes just one hardware
3020   watchpoint and no hardware breakpoints.
3021
3022 * GDB is now able to use the Data Value Compare (DVC) register available on
3023   embedded PowerPC processors to implement in hardware simple watchpoint
3024   conditions of the form:
3025
3026   watch ADDRESS|VARIABLE if ADDRESS|VARIABLE == CONSTANT EXPRESSION
3027
3028   This works in native GDB running on Linux kernels with the extended ptrace
3029   interface mentioned above.
3030
3031 *** Changes in GDB 7.1
3032
3033 * C++ Improvements
3034
3035   ** Namespace Support
3036
3037   GDB now supports importing of namespaces in C++.  This enables the
3038   user to inspect variables from imported namespaces.  Support for
3039   namepace aliasing has also been added.  So, if a namespace is 
3040   aliased in the current scope (e.g. namepace C=A; ) the user can 
3041   print variables using the alias (e.g. (gdb) print C::x).
3042
3043   ** Bug Fixes
3044
3045   All known bugs relating to the printing of virtual base class were
3046   fixed.  It is now possible to call overloaded static methods using a
3047   qualified name.
3048
3049   ** Cast Operators
3050
3051   The C++ cast operators static_cast<>, dynamic_cast<>, const_cast<>,
3052   and reinterpret_cast<> are now handled by the C++ expression parser.
3053
3054 * New targets
3055
3056 Xilinx MicroBlaze               microblaze-*-*
3057 Renesas RX                      rx-*-elf
3058
3059 * New Simulators
3060
3061 Xilinx MicroBlaze               microblaze
3062 Renesas RX                      rx
3063
3064 * Multi-program debugging.
3065
3066   GDB now has support for multi-program (a.k.a. multi-executable or
3067   multi-exec) debugging.  This allows for debugging multiple inferiors
3068   simultaneously each running a different program under the same GDB
3069   session.  See "Debugging Multiple Inferiors and Programs" in the
3070   manual for more information.  This implied some user visible changes
3071   in the multi-inferior support.  For example, "info inferiors" now
3072   lists inferiors that are not running yet or that have exited
3073   already.  See also "New commands" and "New options" below.
3074
3075 * New tracing features
3076
3077   GDB's tracepoint facility now includes several new features:
3078
3079   ** Trace state variables
3080
3081   GDB tracepoints now include support for trace state variables, which
3082   are variables managed by the target agent during a tracing
3083   experiment.  They are useful for tracepoints that trigger each
3084   other, so for instance one tracepoint can count hits in a variable,
3085   and then a second tracepoint has a condition that is true when the
3086   count reaches a particular value.  Trace state variables share the
3087   $-syntax of GDB convenience variables, and can appear in both
3088   tracepoint actions and condition expressions.  Use the "tvariable"
3089   command to create, and "info tvariables" to view; see "Trace State
3090   Variables" in the manual for more detail.
3091
3092   ** Fast tracepoints
3093
3094   GDB now includes an option for defining fast tracepoints, which
3095   targets may implement more efficiently, such as by installing a jump
3096   into the target agent rather than a trap instruction.  The resulting
3097   speedup can be by two orders of magnitude or more, although the
3098   tradeoff is that some program locations on some target architectures
3099   might not allow fast tracepoint installation, for instance if the
3100   instruction to be replaced is shorter than the jump.  To request a
3101   fast tracepoint, use the "ftrace" command, with syntax identical to
3102   the regular trace command.
3103
3104   ** Disconnected tracing
3105
3106   It is now possible to detach GDB from the target while it is running
3107   a trace experiment, then reconnect later to see how the experiment
3108   is going.  In addition, a new variable disconnected-tracing lets you
3109   tell the target agent whether to continue running a trace if the
3110   connection is lost unexpectedly.
3111
3112   ** Trace files
3113
3114   GDB now has the ability to save the trace buffer into a file, and
3115   then use that file as a target, similarly to you can do with
3116   corefiles.  You can select trace frames, print data that was
3117   collected in them, and use tstatus to display the state of the
3118   tracing run at the moment that it was saved.  To create a trace
3119   file, use "tsave <filename>", and to use it, do "target tfile
3120   <name>".
3121
3122   ** Circular trace buffer
3123
3124   You can ask the target agent to handle the trace buffer as a
3125   circular buffer, discarding the oldest trace frames to make room for
3126   newer ones, by setting circular-trace-buffer to on.  This feature may
3127   not be available for all target agents.
3128
3129 * Changed commands
3130
3131 disassemble
3132   The disassemble command, when invoked with two arguments, now requires
3133   the arguments to be comma-separated.
3134
3135 info variables
3136   The info variables command now displays variable definitions.  Files
3137   which only declare a variable are not shown.
3138
3139 source
3140   The source command is now capable of sourcing Python scripts.
3141   This feature is dependent on the debugger being build with Python
3142   support.
3143
3144   Related to this enhancement is also the introduction of a new command
3145   "set script-extension" (see below).
3146
3147 * New commands (for set/show, see "New options" below)
3148
3149 record save [<FILENAME>]
3150   Save a file (in core file format) containing the process record 
3151   execution log for replay debugging at a later time.
3152
3153 record restore <FILENAME>
3154   Restore the process record execution log that was saved at an
3155   earlier time, for replay debugging.
3156
3157 add-inferior [-copies <N>] [-exec <FILENAME>]
3158   Add a new inferior.
3159
3160 clone-inferior [-copies <N>] [ID]
3161   Make a new inferior ready to execute the same program another
3162   inferior has loaded.
3163
3164 remove-inferior ID
3165   Remove an inferior.
3166
3167 maint info program-spaces
3168   List the program spaces loaded into GDB.
3169
3170 set remote interrupt-sequence [Ctrl-C | BREAK | BREAK-g]
3171 show remote interrupt-sequence
3172   Allow the user to select one of ^C, a BREAK signal or BREAK-g
3173   as the sequence to the remote target in order to interrupt the execution.
3174   Ctrl-C is a default.  Some system prefers BREAK which is high level of
3175   serial line for some certain time.  Linux kernel prefers BREAK-g, a.k.a
3176   Magic SysRq g.  It is BREAK signal and character 'g'.
3177
3178 set remote interrupt-on-connect [on | off]
3179 show remote interrupt-on-connect
3180   When interrupt-on-connect is ON, gdb sends interrupt-sequence to
3181   remote target when gdb connects to it.  This is needed when you debug
3182   Linux kernel.
3183
3184 set remotebreak [on | off]
3185 show remotebreak
3186 Deprecated.  Use "set/show remote interrupt-sequence" instead.
3187
3188 tvariable $NAME [ = EXP ]
3189   Create or modify a trace state variable.
3190
3191 info tvariables
3192   List trace state variables and their values.
3193
3194 delete tvariable $NAME ...
3195   Delete one or more trace state variables.
3196
3197 teval EXPR, ...
3198   Evaluate the given expressions without collecting anything into the
3199   trace buffer. (Valid in tracepoint actions only.)
3200
3201 ftrace FN / FILE:LINE / *ADDR
3202   Define a fast tracepoint at the given function, line, or address.
3203
3204 * New expression syntax
3205
3206   GDB now parses the 0b prefix of binary numbers the same way as GCC does.
3207   GDB now parses 0b101010 identically with 42.
3208
3209 * New options
3210
3211 set follow-exec-mode new|same
3212 show follow-exec-mode
3213   Control whether GDB reuses the same inferior across an exec call or
3214   creates a new one.  This is useful to be able to restart the old
3215   executable after the inferior having done an exec call.
3216
3217 set default-collect EXPR, ...
3218 show default-collect
3219    Define a list of expressions to be collected at each tracepoint.
3220    This is a useful way to ensure essential items are not overlooked,
3221    such as registers or a critical global variable.
3222
3223 set disconnected-tracing
3224 show disconnected-tracing
3225    If set to 1, the target is instructed to continue tracing if it
3226    loses its connection to GDB.  If 0, the target is to stop tracing
3227    upon disconnection.
3228
3229 set circular-trace-buffer
3230 show circular-trace-buffer
3231    If set to on, the target is instructed to use a circular trace buffer
3232    and discard the oldest trace frames instead of stopping the trace due
3233    to a full trace buffer.  If set to off, the trace stops when the buffer
3234    fills up.  Some targets may not support this.
3235
3236 set script-extension off|soft|strict
3237 show script-extension
3238    If set to "off", the debugger does not perform any script language
3239    recognition, and all sourced files are assumed to be GDB scripts.
3240    If set to "soft" (the default), files are sourced according to
3241    filename extension, falling back to GDB scripts if the first
3242    evaluation failed.
3243    If set to "strict", files are sourced according to filename extension.
3244
3245 set ada trust-PAD-over-XVS on|off
3246 show ada trust-PAD-over-XVS
3247    If off, activate a workaround against a bug in the debugging information
3248    generated by the compiler for PAD types (see gcc/exp_dbug.ads in
3249    the GCC sources for more information about the GNAT encoding and
3250    PAD types in particular).  It is always safe to set this option to
3251    off, but this introduces a slight performance penalty.  The default
3252    is on.
3253
3254 * Python API Improvements
3255
3256   ** GDB provides the new class gdb.LazyString.  This is useful in
3257      some pretty-printing cases.  The new method gdb.Value.lazy_string
3258      provides a simple way to create objects of this type.
3259
3260   ** The fields returned by gdb.Type.fields now have an
3261      `is_base_class' attribute.
3262
3263   ** The new method gdb.Type.range returns the range of an array type.
3264
3265   ** The new method gdb.parse_and_eval can be used to parse and
3266      evaluate an expression.
3267
3268 * New remote packets
3269
3270 QTDV
3271    Define a trace state variable.
3272
3273 qTV
3274    Get the current value of a trace state variable.
3275
3276 QTDisconnected
3277    Set desired tracing behavior upon disconnection.
3278
3279 QTBuffer:circular
3280    Set the trace buffer to be linear or circular.
3281
3282 qTfP, qTsP
3283    Get data about the tracepoints currently in use.
3284
3285 * Bug fixes
3286
3287 Process record now works correctly with hardware watchpoints.
3288
3289 Multiple bug fixes have been made to the mips-irix port, making it
3290 much more reliable. In particular:
3291   - Debugging threaded applications is now possible again.  Previously,
3292     GDB would hang while starting the program, or while waiting for
3293     the program to stop at a breakpoint.
3294   - Attaching to a running process no longer hangs.
3295   - An error occurring while loading a core file has been fixed.
3296   - Changing the value of the PC register now works again.  This fixes
3297     problems observed when using the "jump" command, or when calling
3298     a function from GDB, or even when assigning a new value to $pc.
3299   - With the "finish" and "return" commands, the return value for functions
3300     returning a small array is now correctly printed.
3301   - It is now possible to break on shared library code which gets executed
3302     during a shared library init phase (code executed while executing
3303     their .init section).  Previously, the breakpoint would have no effect.
3304   - GDB is now able to backtrace through the signal handler for
3305     non-threaded programs.
3306
3307 PIE (Position Independent Executable) programs debugging is now supported.
3308 This includes debugging execution of PIC (Position Independent Code) shared
3309 libraries although for that, it should be possible to run such libraries as an
3310 executable program.
3311
3312 *** Changes in GDB 7.0
3313
3314 * GDB now has an interface for JIT compilation.  Applications that
3315 dynamically generate code can create symbol files in memory and register
3316 them with GDB.  For users, the feature should work transparently, and
3317 for JIT developers, the interface is documented in the GDB manual in the
3318 "JIT Compilation Interface" chapter.
3319
3320 * Tracepoints may now be conditional.  The syntax is as for
3321 breakpoints; either an "if" clause appended to the "trace" command,
3322 or the "condition" command is available.  GDB sends the condition to
3323 the target for evaluation using the same bytecode format as is used
3324 for tracepoint actions.
3325
3326 * The disassemble command now supports: an optional /r modifier, print the
3327 raw instructions in hex as well as in symbolic form, and an optional /m
3328 modifier to print mixed source+assembly.
3329
3330 * Process record and replay
3331
3332   In a architecture environment that supports ``process record and
3333   replay'', ``process record and replay'' target can record a log of
3334   the process execution, and replay it with both forward and reverse
3335   execute commands.
3336
3337 * Reverse debugging: GDB now has new commands reverse-continue, reverse-
3338 step, reverse-next, reverse-finish, reverse-stepi, reverse-nexti, and
3339 set execution-direction {forward|reverse}, for targets that support
3340 reverse execution.
3341
3342 * GDB now supports hardware watchpoints on MIPS/Linux systems.  This
3343 feature is available with a native GDB running on kernel version
3344 2.6.28 or later.
3345
3346 * GDB now has support for multi-byte and wide character sets on the
3347 target.  Strings whose character type is wchar_t, char16_t, or
3348 char32_t are now correctly printed.  GDB supports wide- and unicode-
3349 literals in C, that is, L'x', L"string", u'x', u"string", U'x', and
3350 U"string" syntax.  And, GDB allows the "%ls" and "%lc" formats in
3351 `printf'.  This feature requires iconv to work properly; if your
3352 system does not have a working iconv, GDB can use GNU libiconv.  See
3353 the installation instructions for more information.
3354
3355 * GDB now supports automatic retrieval of shared library files from
3356 remote targets.  To use this feature, specify a system root that begins
3357 with the `remote:' prefix, either via the `set sysroot' command or via
3358 the `--with-sysroot' configure-time option.
3359
3360 * "info sharedlibrary" now takes an optional regex of libraries to show,
3361 and it now reports if a shared library has no debugging information.
3362
3363 * Commands `set debug-file-directory', `set solib-search-path' and `set args'
3364 now complete on file names.
3365
3366 * When completing in expressions, gdb will attempt to limit
3367 completions to allowable structure or union fields, where appropriate.
3368 For instance, consider:
3369
3370     # struct example { int f1; double f2; };
3371     # struct example variable;
3372     (gdb) p variable.
3373
3374 If the user types TAB at the end of this command line, the available
3375 completions will be "f1" and "f2".
3376
3377 * Inlined functions are now supported.  They show up in backtraces, and
3378 the "step", "next", and "finish" commands handle them automatically.
3379
3380 * GDB now supports the token-splicing (##) and stringification (#)
3381 operators when expanding macros.  It also supports variable-arity
3382 macros.
3383
3384 * GDB now supports inspecting extra signal information, exported by
3385 the new $_siginfo convenience variable.  The feature is currently
3386 implemented on linux ARM, i386 and amd64.
3387
3388 * GDB can now display the VFP floating point registers and NEON vector
3389 registers on ARM targets.  Both ARM GNU/Linux native GDB and gdbserver
3390 can provide these registers (requires Linux 2.6.30 or later).  Remote
3391 and simulator targets may also provide them.
3392
3393 * New remote packets
3394
3395 qSearch:memory:
3396   Search memory for a sequence of bytes.
3397
3398 QStartNoAckMode
3399   Turn off `+'/`-' protocol acknowledgments to permit more efficient
3400   operation over reliable transport links.  Use of this packet is
3401   controlled by the `set remote noack-packet' command.
3402
3403 vKill
3404   Kill the process with the specified process ID.  Use this in preference
3405   to `k' when multiprocess protocol extensions are supported.
3406
3407 qXfer:osdata:read
3408   Obtains additional operating system information
3409
3410 qXfer:siginfo:read
3411 qXfer:siginfo:write
3412   Read or write additional signal information.
3413
3414 * Removed remote protocol undocumented extension
3415
3416   An undocumented extension to the remote protocol's `S' stop reply
3417   packet that permited the stub to pass a process id was removed.
3418   Remote servers should use the `T' stop reply packet instead.
3419
3420 * GDB now supports multiple function calling conventions according to the
3421 DWARF-2 DW_AT_calling_convention function attribute.
3422   
3423 * The SH target utilizes the aforementioned change to distinguish between gcc
3424 and Renesas calling convention.  It also adds the new CLI commands
3425 `set/show sh calling-convention'.
3426
3427 * GDB can now read compressed debug sections, as produced by GNU gold
3428 with the --compress-debug-sections=zlib flag.
3429
3430 * 64-bit core files are now supported on AIX.
3431
3432 * Thread switching is now supported on Tru64.
3433
3434 * Watchpoints can now be set on unreadable memory locations, e.g. addresses
3435 which will be allocated using malloc later in program execution.
3436
3437 * The qXfer:libraries:read remote procotol packet now allows passing a
3438 list of section offsets.
3439
3440 * On GNU/Linux, GDB can now attach to stopped processes.  Several race
3441 conditions handling signals delivered during attach or thread creation
3442 have also been fixed.
3443
3444 * GDB now supports the use of DWARF boolean types for Ada's type Boolean.
3445 From the user's standpoint, all unqualified instances of True and False
3446 are treated as the standard definitions, regardless of context.
3447
3448 * GDB now parses C++ symbol and type names more flexibly.  For
3449 example, given:
3450
3451    template<typename T> class C { };
3452    C<char const *> c;
3453
3454 GDB will now correctly handle all of:
3455
3456    ptype C<char const *>
3457    ptype C<char const*>
3458    ptype C<const char *>
3459    ptype C<const char*>
3460
3461 * New features in the GDB remote stub, gdbserver
3462
3463   - The "--wrapper" command-line argument tells gdbserver to use a
3464   wrapper program to launch programs for debugging.
3465
3466   - On PowerPC and S/390 targets, it is now possible to use a single
3467   gdbserver executable to debug both 32-bit and 64-bit programs.
3468   (This requires gdbserver itself to be built as a 64-bit executable.)
3469
3470   - gdbserver uses the new noack protocol mode for TCP connections to
3471   reduce communications latency, if also supported and enabled in GDB.
3472
3473   - Support for the sparc64-linux-gnu target is now included in
3474   gdbserver.
3475
3476   - The amd64-linux build of gdbserver now supports debugging both
3477     32-bit and 64-bit programs.
3478
3479   - The i386-linux, amd64-linux, and i386-win32 builds of gdbserver
3480     now support hardware watchpoints, and will use them automatically
3481     as appropriate.
3482
3483 * Python scripting
3484
3485   GDB now has support for scripting using Python.  Whether this is
3486   available is determined at configure time.
3487
3488   New GDB commands can now be written in Python.
3489
3490 * Ada tasking support
3491
3492   Ada tasks can now be inspected in GDB. The following commands have
3493   been introduced:
3494
3495     info tasks
3496       Print the list of Ada tasks.
3497     info task N
3498       Print detailed information about task number N.
3499     task
3500       Print the task number of the current task.
3501     task N
3502       Switch the context of debugging to task number N.
3503
3504 * Support for user-defined prefixed commands.  The "define" command can
3505 add new commands to existing prefixes, e.g. "target".
3506
3507 * Multi-inferior, multi-process debugging.
3508
3509   GDB now has generalized support for multi-inferior debugging.  See
3510   "Debugging Multiple Inferiors" in the manual for more information.
3511   Although availability still depends on target support, the command
3512   set is more uniform now.  The GNU/Linux specific multi-forks support
3513   has been migrated to this new framework.  This implied some user
3514   visible changes; see "New commands" and also "Removed commands"
3515   below.
3516
3517 * Target descriptions can now describe the target OS ABI.  See the
3518 "Target Description Format" section in the user manual for more
3519 information.
3520
3521 * Target descriptions can now describe "compatible" architectures
3522 to indicate that the target can execute applications for a different
3523 architecture in addition to those for the main target architecture.
3524 See the "Target Description Format" section in the user manual for
3525 more information.
3526
3527 * Multi-architecture debugging.
3528
3529   GDB now includes general supports for debugging applications on
3530   hybrid systems that use more than one single processor architecture
3531   at the same time.  Each such hybrid architecture still requires
3532   specific support to be added.  The only hybrid architecture supported
3533   in this version of GDB is the Cell Broadband Engine.
3534
3535 * GDB now supports integrated debugging of Cell/B.E. applications that
3536 use both the PPU and SPU architectures.  To enable support for hybrid
3537 Cell/B.E. debugging, you need to configure GDB to support both the
3538 powerpc-linux or powerpc64-linux and the spu-elf targets, using the
3539 --enable-targets configure option.
3540
3541 * Non-stop mode debugging.
3542
3543   For some targets, GDB now supports an optional mode of operation in
3544   which you can examine stopped threads while other threads continue
3545   to execute freely.  This is referred to as non-stop mode, with the
3546   old mode referred to as all-stop mode.  See the "Non-Stop Mode"
3547   section in the user manual for more information.
3548
3549   To be able to support remote non-stop debugging, a remote stub needs
3550   to implement the non-stop mode remote protocol extensions, as
3551   described in the "Remote Non-Stop" section of the user manual.  The
3552   GDB remote stub, gdbserver, has been adjusted to support these
3553   extensions on linux targets.
3554
3555 * New commands (for set/show, see "New options" below)
3556
3557 catch syscall [NAME(S) | NUMBER(S)]
3558   Catch system calls.  Arguments, which should be names of system
3559   calls or their numbers, mean catch only those syscalls.  Without
3560   arguments, every syscall will be caught.  When the inferior issues
3561   any of the specified syscalls, GDB will stop and announce the system
3562   call, both when it is called and when its call returns.  This
3563   feature is currently available with a native GDB running on the
3564   Linux Kernel, under the following architectures: x86, x86_64,
3565   PowerPC and PowerPC64.
3566
3567 find [/size-char] [/max-count] start-address, end-address|+search-space-size,
3568     val1 [, val2, ...]
3569   Search memory for a sequence of bytes.
3570
3571 maint set python print-stack
3572 maint show python print-stack
3573   Show a stack trace when an error is encountered in a Python script.
3574
3575 python [CODE]
3576   Invoke CODE by passing it to the Python interpreter.
3577
3578 macro define
3579 macro list
3580 macro undef
3581   These allow macros to be defined, undefined, and listed
3582   interactively.
3583
3584 info os processes
3585   Show operating system information about processes.
3586
3587 info inferiors
3588   List the inferiors currently under GDB's control.
3589
3590 inferior NUM
3591   Switch focus to inferior number NUM.
3592
3593 detach inferior NUM
3594   Detach from inferior number NUM.
3595
3596 kill inferior NUM
3597   Kill inferior number NUM.
3598
3599 * New options
3600
3601 set spu stop-on-load
3602 show spu stop-on-load
3603   Control whether to stop for new SPE threads during Cell/B.E. debugging.
3604
3605 set spu auto-flush-cache
3606 show spu auto-flush-cache
3607   Control whether to automatically flush the software-managed cache
3608   during Cell/B.E. debugging.
3609
3610 set sh calling-convention
3611 show sh calling-convention
3612   Control the calling convention used when calling SH target functions.
3613
3614 set debug timestamp
3615 show debug timestamp
3616   Control display of timestamps with GDB debugging output.
3617
3618 set disassemble-next-line
3619 show disassemble-next-line
3620   Control display of disassembled source lines or instructions when
3621   the debuggee stops.
3622
3623 set remote noack-packet
3624 show remote noack-packet
3625   Set/show the use of remote protocol QStartNoAckMode packet.  See above
3626   under "New remote packets."
3627
3628 set remote query-attached-packet
3629 show remote query-attached-packet
3630   Control use of remote protocol `qAttached' (query-attached) packet.
3631
3632 set remote read-siginfo-object
3633 show remote read-siginfo-object
3634   Control use of remote protocol `qXfer:siginfo:read' (read-siginfo-object)
3635   packet.
3636
3637 set remote write-siginfo-object
3638 show remote write-siginfo-object
3639   Control use of remote protocol `qXfer:siginfo:write' (write-siginfo-object)
3640   packet.
3641
3642 set remote reverse-continue
3643 show remote reverse-continue
3644   Control use of remote protocol 'bc' (reverse-continue) packet.
3645
3646 set remote reverse-step
3647 show remote reverse-step
3648   Control use of remote protocol 'bs' (reverse-step) packet.
3649
3650 set displaced-stepping
3651 show displaced-stepping
3652   Control displaced stepping mode.  Displaced stepping is a way to
3653   single-step over breakpoints without removing them from the debuggee.
3654   Also known as "out-of-line single-stepping".
3655
3656 set debug displaced
3657 show debug displaced
3658   Control display of debugging info for displaced stepping.
3659
3660 maint set internal-error
3661 maint show internal-error
3662   Control what GDB does when an internal error is detected.
3663
3664 maint set internal-warning
3665 maint show internal-warning
3666   Control what GDB does when an internal warning is detected.
3667
3668 set exec-wrapper
3669 show exec-wrapper
3670 unset exec-wrapper
3671   Use a wrapper program to launch programs for debugging.
3672
3673 set multiple-symbols (all|ask|cancel)
3674 show multiple-symbols
3675   The value of this variable can be changed to adjust the debugger behavior
3676   when an expression or a breakpoint location contains an ambiguous symbol
3677   name (an overloaded function name, for instance).
3678   
3679 set breakpoint always-inserted
3680 show breakpoint always-inserted
3681   Keep breakpoints always inserted in the target, as opposed to inserting
3682   them when resuming the target, and removing them when the target stops.
3683   This option can improve debugger performance on slow remote targets.
3684
3685 set arm fallback-mode (arm|thumb|auto)
3686 show arm fallback-mode
3687 set arm force-mode (arm|thumb|auto)
3688 show arm force-mode
3689   These commands control how ARM GDB determines whether instructions
3690   are ARM or Thumb.  The default for both settings is auto, which uses
3691   the current CPSR value for instructions without symbols; previous
3692   versions of GDB behaved as if "set arm fallback-mode arm".
3693
3694 set disable-randomization
3695 show disable-randomization
3696   Standalone programs run with the virtual address space randomization enabled
3697   by default on some platforms.  This option keeps the addresses stable across
3698   multiple debugging sessions.
3699
3700 set non-stop
3701 show non-stop
3702   Control whether other threads are stopped or not when some thread hits
3703   a breakpoint.
3704
3705 set target-async
3706 show target-async
3707   Requests that asynchronous execution is enabled in the target, if available.
3708   In this case, it's possible to resume target in the background, and interact
3709   with GDB while the target is running.  "show target-async" displays the
3710   current state of asynchronous execution of the target.
3711
3712 set target-wide-charset
3713 show target-wide-charset
3714   The target-wide-charset is the name of the character set that GDB
3715   uses when printing characters whose type is wchar_t.
3716
3717 set tcp auto-retry (on|off)
3718 show tcp auto-retry
3719 set tcp connect-timeout
3720 show tcp connect-timeout
3721   These commands allow GDB to retry failed TCP connections to a remote stub
3722   with a specified timeout period; this is useful if the stub is launched
3723   in parallel with GDB but may not be ready to accept connections immediately.
3724
3725 set libthread-db-search-path
3726 show libthread-db-search-path
3727   Control list of directories which GDB will search for appropriate
3728   libthread_db.
3729
3730 set schedule-multiple (on|off)
3731 show schedule-multiple
3732   Allow GDB to resume all threads of all processes or only threads of
3733   the current process.
3734
3735 set stack-cache
3736 show stack-cache
3737   Use more aggressive caching for accesses to the stack.  This improves
3738   performance of remote debugging (particularly backtraces) without
3739   affecting correctness.
3740
3741 set interactive-mode (on|off|auto)
3742 show interactive-mode
3743   Control whether GDB runs in interactive mode (on) or not (off).
3744   When in interactive mode, GDB waits for the user to answer all
3745   queries.  Otherwise, GDB does not wait and assumes the default
3746   answer.  When set to auto (the default), GDB determines which
3747   mode to use based on the stdin settings.
3748
3749 * Removed commands
3750
3751 info forks
3752   For program forks, this is replaced by the new more generic `info
3753   inferiors' command.  To list checkpoints, you can still use the
3754   `info checkpoints' command, which was an alias for the `info forks'
3755   command.
3756
3757 fork NUM
3758   Replaced by the new `inferior' command.  To switch between
3759   checkpoints, you can still use the `restart' command, which was an
3760   alias for the `fork' command.
3761
3762 process PID
3763   This is removed, since some targets don't have a notion of
3764   processes.  To switch between processes, you can still use the
3765   `inferior' command using GDB's own inferior number.
3766
3767 delete fork NUM
3768   For program forks, this is replaced by the new more generic `kill
3769   inferior' command.  To delete a checkpoint, you can still use the
3770   `delete checkpoint' command, which was an alias for the `delete
3771   fork' command.
3772
3773 detach fork NUM
3774   For program forks, this is replaced by the new more generic `detach
3775   inferior' command.  To detach a checkpoint, you can still use the
3776   `detach checkpoint' command, which was an alias for the `detach
3777   fork' command.
3778
3779 * New native configurations
3780
3781 x86/x86_64 Darwin               i[34567]86-*-darwin*
3782
3783 x86_64 MinGW                    x86_64-*-mingw*
3784
3785 * New targets
3786
3787 Lattice Mico32                  lm32-*
3788 x86 DICOS                       i[34567]86-*-dicos*
3789 x86_64 DICOS                    x86_64-*-dicos*
3790 S+core 3                        score-*-*
3791
3792 * The GDB remote stub, gdbserver, now supports x86 Windows CE
3793   (mingw32ce) debugging.
3794
3795 * Removed commands
3796
3797 catch load
3798 catch unload
3799   These commands were actually not implemented on any target.
3800
3801 *** Changes in GDB 6.8
3802
3803 * New native configurations
3804
3805 NetBSD/hppa                     hppa*-*netbsd*
3806 Xtensa GNU/Linux                xtensa*-*-linux*
3807
3808 * New targets
3809
3810 NetBSD/hppa                     hppa*-*-netbsd*
3811 Xtensa GNU/Lunux                xtensa*-*-linux*
3812
3813 * Change in command line behavior -- corefiles vs. process ids.
3814
3815   When the '-p NUMBER' or '--pid NUMBER' options are used, and
3816   attaching to process NUMBER fails, GDB no longer attempts to open a
3817   core file named NUMBER.  Attaching to a program using the -c option
3818   is no longer supported.  Instead, use the '-p' or '--pid' options.
3819
3820 * GDB can now be built as a native debugger for debugging Windows x86
3821 (mingw32) Portable Executable (PE) programs.
3822
3823 * Pending breakpoints no longer change their number when their address
3824 is resolved.
3825
3826 * GDB now supports breakpoints with multiple locations,
3827 including breakpoints on C++ constructors, inside C++ templates,
3828 and in inlined functions.
3829
3830 * GDB's ability to debug optimized code has been improved.  GDB more
3831 accurately identifies function bodies and lexical blocks that occupy
3832 more than one contiguous range of addresses.
3833
3834 * Target descriptions can now describe registers for PowerPC.
3835
3836 * The GDB remote stub, gdbserver, now supports the AltiVec and SPE
3837 registers on PowerPC targets.
3838
3839 * The GDB remote stub, gdbserver, now supports thread debugging on GNU/Linux
3840 targets even when the libthread_db library is not available.
3841
3842 * The GDB remote stub, gdbserver, now supports the new file transfer
3843 commands (remote put, remote get, and remote delete).
3844
3845 * The GDB remote stub, gdbserver, now supports run and attach in
3846 extended-remote mode.
3847
3848 * hppa*64*-*-hpux11* target broken
3849 The debugger is unable to start a program and fails with the following
3850 error: "Error trying to get information about dynamic linker".
3851 The gdb-6.7 release is also affected.
3852
3853 * GDB now supports the --enable-targets= configure option to allow
3854 building a single GDB executable that supports multiple remote
3855 target architectures.
3856
3857 * GDB now supports debugging C and C++ programs which use the
3858 Decimal Floating Point extension.  In addition, the PowerPC target
3859 now has a set of pseudo-registers to inspect decimal float values
3860 stored in two consecutive float registers.
3861
3862 * The -break-insert MI command can optionally create pending
3863 breakpoints now.
3864
3865 * Improved support for debugging Ada
3866 Many improvements to the Ada language support have been made.  These
3867 include:
3868     - Better support for Ada2005 interface types
3869     - Improved handling of arrays and slices in general
3870     - Better support for Taft-amendment types
3871     - The '{type} ADDRESS' expression is now allowed on the left hand-side
3872       of an assignment
3873     - Improved command completion in Ada
3874     - Several bug fixes
3875
3876 * GDB on GNU/Linux and HP/UX can now debug through "exec" of a new
3877 process.
3878
3879 * New commands
3880
3881 set print frame-arguments (all|scalars|none)
3882 show print frame-arguments
3883   The value of this variable can be changed to control which argument
3884   values should be printed by the debugger when displaying a frame.
3885
3886 remote put
3887 remote get
3888 remote delete
3889   Transfer files to and from a remote target, and delete remote files.
3890
3891 * New MI commands
3892
3893 -target-file-put
3894 -target-file-get
3895 -target-file-delete
3896   Transfer files to and from a remote target, and delete remote files.
3897
3898 * New remote packets
3899
3900 vFile:open:
3901 vFile:close:
3902 vFile:pread:
3903 vFile:pwrite:
3904 vFile:unlink:
3905   Open, close, read, write, and delete files on the remote system.
3906
3907 vAttach
3908   Attach to an existing process on the remote system, in extended-remote
3909   mode.
3910
3911 vRun
3912   Run a new process on the remote system, in extended-remote mode.
3913
3914 *** Changes in GDB 6.7
3915
3916 * Resolved 101 resource leaks, null pointer dereferences, etc. in gdb, 
3917 bfd, libiberty and opcodes, as revealed by static analysis donated by
3918 Coverity, Inc. (http://scan.coverity.com).
3919
3920 * When looking up multiply-defined global symbols, GDB will now prefer the
3921 symbol definition in the current shared library if it was built using the
3922 -Bsymbolic linker option.
3923
3924 * When the Text User Interface (TUI) is not configured, GDB will now
3925 recognize the -tui command-line option and print a message that the TUI
3926 is not supported.
3927
3928 * The GDB remote stub, gdbserver, now has lower overhead for high 
3929 frequency signals (e.g. SIGALRM) via the QPassSignals packet.
3930
3931 * GDB for MIPS targets now autodetects whether a remote target provides
3932 32-bit or 64-bit register values.
3933
3934 * Support for C++ member pointers has been improved.
3935
3936 * GDB now understands XML target descriptions, which specify the
3937 target's overall architecture.  GDB can read a description from
3938 a local file or over the remote serial protocol.
3939
3940 * Vectors of single-byte data use a new integer type which is not
3941 automatically displayed as character or string data.
3942
3943 * The /s format now works with the print command.  It displays
3944 arrays of single-byte integers and pointers to single-byte integers
3945 as strings.
3946
3947 * Target descriptions can now describe target-specific registers,
3948 for architectures which have implemented the support (currently
3949 only ARM, M68K, and MIPS).
3950
3951 * GDB and the GDB remote stub, gdbserver, now support the XScale
3952 iWMMXt coprocessor.
3953
3954 * The GDB remote stub, gdbserver, has been updated to support
3955 ARM Windows CE (mingw32ce) debugging, and GDB Windows CE support
3956 has been rewritten to use the standard GDB remote protocol.
3957
3958 * GDB can now step into C++ functions which are called through thunks.
3959
3960 * GDB for the Cell/B.E. SPU now supports overlay debugging.
3961
3962 * The GDB remote protocol "qOffsets" packet can now honor ELF segment
3963 layout.  It also supports a TextSeg= and DataSeg= response when only
3964 segment base addresses (rather than offsets) are available.
3965
3966 * The /i format now outputs any trailing branch delay slot instructions 
3967 immediately following the last instruction within the count specified.
3968
3969 * The GDB remote protocol "T" stop reply packet now supports a
3970 "library" response.  Combined with the new "qXfer:libraries:read"
3971 packet, this response allows GDB to debug shared libraries on targets
3972 where the operating system manages the list of loaded libraries (e.g.
3973 Windows and SymbianOS).
3974
3975 * The GDB remote stub, gdbserver, now supports dynamic link libraries
3976 (DLLs) on Windows and Windows CE targets.
3977
3978 * GDB now supports a faster verification that a .debug file matches its binary
3979 according to its build-id signature, if the signature is present.
3980
3981 * New commands
3982
3983 set remoteflow
3984 show remoteflow
3985   Enable or disable hardware flow control (RTS/CTS) on the serial port
3986   when debugging using remote targets.
3987
3988 set mem inaccessible-by-default
3989 show mem inaccessible-by-default
3990   If the target supplies a memory map, for instance via the remote
3991   protocol's "qXfer:memory-map:read" packet, setting this variable
3992   prevents GDB from accessing memory outside the memory map.  This
3993   is useful for targets with memory mapped registers or which react
3994   badly to accesses of unmapped address space.
3995
3996 set breakpoint auto-hw
3997 show breakpoint auto-hw
3998   If the target supplies a memory map, for instance via the remote
3999   protocol's "qXfer:memory-map:read" packet, setting this variable
4000   lets GDB use hardware breakpoints automatically for memory regions
4001   where it can not use software breakpoints.  This covers both the
4002   "break" command and internal breakpoints used for other commands
4003   including "next" and "finish".
4004
4005 catch exception
4006 catch exception unhandled
4007   Stop the program execution when Ada exceptions are raised.
4008
4009 catch assert
4010   Stop the program execution when an Ada assertion failed.
4011
4012 set sysroot
4013 show sysroot
4014   Set an alternate system root for target files.  This is a more
4015   general version of "set solib-absolute-prefix", which is now
4016   an alias to "set sysroot".
4017
4018 info spu
4019   Provide extended SPU facility status information.  This set of
4020   commands is available only when debugging the Cell/B.E. SPU
4021   architecture.
4022
4023 * New native configurations
4024
4025 OpenBSD/sh                      sh*-*openbsd*
4026
4027 set tdesc filename
4028 unset tdesc filename
4029 show tdesc filename
4030   Use the specified local file as an XML target description, and do
4031   not query the target for its built-in description.
4032
4033 * New targets
4034
4035 OpenBSD/sh                      sh*-*-openbsd*
4036 MIPS64 GNU/Linux (gdbserver)    mips64-linux-gnu
4037 Toshiba Media Processor         mep-elf
4038
4039 * New remote packets
4040
4041 QPassSignals:
4042   Ignore the specified signals; pass them directly to the debugged program
4043   without stopping other threads or reporting them to GDB.
4044
4045 qXfer:features:read:
4046   Read an XML target description from the target, which describes its
4047   features.
4048
4049 qXfer:spu:read:
4050 qXfer:spu:write:
4051   Read or write contents of an spufs file on the target system.  These
4052   packets are available only on the Cell/B.E. SPU architecture.
4053
4054 qXfer:libraries:read:
4055   Report the loaded shared libraries.  Combined with new "T" packet
4056   response, this packet allows GDB to debug shared libraries on
4057   targets where the operating system manages the list of loaded
4058   libraries (e.g. Windows and SymbianOS).
4059
4060 * Removed targets
4061
4062 Support for these obsolete configurations has been removed.
4063
4064 alpha*-*-osf1*
4065 alpha*-*-osf2*
4066 d10v-*-*
4067 hppa*-*-hiux*
4068 i[34567]86-ncr-*
4069 i[34567]86-*-dgux*
4070 i[34567]86-*-lynxos*
4071 i[34567]86-*-netware*
4072 i[34567]86-*-sco3.2v5*
4073 i[34567]86-*-sco3.2v4*
4074 i[34567]86-*-sco*
4075 i[34567]86-*-sysv4.2*
4076 i[34567]86-*-sysv4*
4077 i[34567]86-*-sysv5*
4078 i[34567]86-*-unixware2*
4079 i[34567]86-*-unixware*
4080 i[34567]86-*-sysv*
4081 i[34567]86-*-isc*
4082 m68*-cisco*-*
4083 m68*-tandem-*
4084 mips*-*-pe
4085 rs6000-*-lynxos*
4086 sh*-*-pe
4087
4088 * Other removed features
4089
4090 target abug
4091 target cpu32bug
4092 target est
4093 target rom68k
4094
4095         Various m68k-only ROM monitors.
4096
4097 target hms
4098 target e7000
4099 target sh3
4100 target sh3e
4101
4102         Various Renesas ROM monitors and debugging interfaces for SH and
4103         H8/300.
4104
4105 target ocd
4106
4107         Support for a Macraigor serial interface to on-chip debugging.
4108         GDB does not directly support the newer parallel or USB
4109         interfaces.
4110
4111 DWARF 1 support
4112
4113         A debug information format.  The predecessor to DWARF 2 and 
4114         DWARF 3, which are still supported.
4115
4116 Support for the HP aCC compiler on HP-UX/PA-RISC
4117
4118         SOM-encapsulated symbolic debugging information, automatic
4119         invocation of pxdb, and the aCC custom C++ ABI.  This does not
4120         affect HP-UX for Itanium or GCC for HP-UX/PA-RISC.  Code compiled
4121         with aCC can still be debugged on an assembly level.
4122
4123 MIPS ".pdr" sections
4124
4125         A MIPS-specific format used to describe stack frame layout
4126         in debugging information.
4127
4128 Scheme support
4129
4130         GDB could work with an older version of Guile to debug
4131         the interpreter and Scheme programs running in it.
4132
4133 set mips stack-arg-size
4134 set mips saved-gpreg-size
4135
4136         Use "set mips abi" to control parameter passing for MIPS.
4137
4138 *** Changes in GDB 6.6
4139
4140 * New targets
4141
4142 Xtensa                          xtensa-elf
4143 Cell Broadband Engine SPU       spu-elf
4144
4145 * GDB can now be configured as a cross-debugger targeting native Windows
4146 (mingw32) or Cygwin.  It can communicate with a remote debugging stub
4147 running on a Windows system over TCP/IP to debug Windows programs.
4148
4149 * The GDB remote stub, gdbserver, has been updated to support Windows and
4150 Cygwin debugging.  Both single-threaded and multi-threaded programs are
4151 supported.
4152
4153 * The "set trust-readonly-sections" command works again.  This command was
4154 broken in GDB 6.3, 6.4, and 6.5.
4155
4156 * The "load" command now supports writing to flash memory, if the remote
4157 stub provides the required support.
4158
4159 * Support for GNU/Linux Thread Local Storage (TLS, per-thread variables) no
4160 longer requires symbolic debug information (e.g. DWARF-2).
4161
4162 * New commands
4163
4164 set substitute-path
4165 unset substitute-path
4166 show substitute-path
4167   Manage a list of substitution rules that GDB uses to rewrite the name
4168   of the directories where the sources are located. This can be useful
4169   for instance when the sources were moved to a different location
4170   between compilation and debugging.
4171
4172 set trace-commands
4173 show trace-commands
4174   Print each CLI command as it is executed.  Each command is prefixed with
4175   a number of `+' symbols representing the nesting depth.
4176   The source command now has a `-v' option to enable the same feature.
4177
4178 * REMOVED features
4179
4180 The ARM Demon monitor support (RDP protocol, "target rdp").
4181
4182 Kernel Object Display, an embedded debugging feature which only worked with
4183 an obsolete version of Cisco IOS.
4184
4185 The 'set download-write-size' and 'show download-write-size' commands.
4186
4187 * New remote packets
4188
4189 qSupported:
4190   Tell a stub about GDB client features, and request remote target features.
4191   The first feature implemented is PacketSize, which allows the target to
4192   specify the size of packets it can handle - to minimize the number of
4193   packets required and improve performance when connected to a remote
4194   target.
4195
4196 qXfer:auxv:read:
4197   Fetch an OS auxilliary vector from the remote stub.  This packet is a
4198   more efficient replacement for qPart:auxv:read.
4199
4200 qXfer:memory-map:read:
4201   Fetch a memory map from the remote stub, including information about
4202   RAM, ROM, and flash memory devices.
4203
4204 vFlashErase:
4205 vFlashWrite:
4206 vFlashDone:
4207   Erase and program a flash memory device.
4208
4209 * Removed remote packets
4210
4211 qPart:auxv:read:
4212   This packet has been replaced by qXfer:auxv:read.  Only GDB 6.4 and 6.5
4213   used it, and only gdbserver implemented it.
4214
4215 *** Changes in GDB 6.5
4216
4217 * New targets
4218
4219 Renesas M32C/M16C               m32c-elf
4220
4221 Morpho Technologies ms1         ms1-elf
4222
4223 * New commands
4224
4225 init-if-undefined               Initialize a convenience variable, but
4226                                 only if it doesn't already have a value.
4227
4228 The following commands are presently only implemented for native GNU/Linux:
4229
4230 checkpoint                      Save a snapshot of the program state.
4231
4232 restart <n>                     Return the program state to a 
4233                                 previously saved state.
4234
4235 info checkpoints                List currently saved checkpoints.
4236
4237 delete-checkpoint <n>           Delete a previously saved checkpoint.
4238
4239 set|show detach-on-fork         Tell gdb whether to detach from a newly
4240                                 forked process, or to keep debugging it.
4241
4242 info forks                      List forks of the user program that
4243                                 are available to be debugged.
4244
4245 fork <n>                        Switch to debugging one of several
4246                                 forks of the user program that are
4247                                 available to be debugged.
4248
4249 delete-fork <n>                 Delete a fork from the list of forks
4250                                 that are available to be debugged (and
4251                                 kill the forked process).
4252
4253 detach-fork <n>                 Delete a fork from the list of forks
4254                                 that are available to be debugged (and
4255                                 allow the process to continue).
4256
4257 * New architecture
4258
4259 Morpho Technologies ms2         ms1-elf
4260
4261 * Improved Windows host support
4262
4263 GDB now builds as a cross debugger hosted on i686-mingw32, including
4264 native console support, and remote communications using either
4265 network sockets or serial ports.
4266
4267 * Improved Modula-2 language support
4268
4269 GDB can now print most types in the Modula-2 syntax.  This includes:
4270 basic types, set types, record types, enumerated types, range types,
4271 pointer types and ARRAY types.  Procedure var parameters are correctly
4272 printed and hexadecimal addresses and character constants are also
4273 written in the Modula-2 syntax.  Best results can be obtained by using
4274 GNU Modula-2 together with the -gdwarf-2 command line option.
4275
4276 * REMOVED features
4277
4278 The ARM rdi-share module.
4279
4280 The Netware NLM debug server.
4281
4282 *** Changes in GDB 6.4
4283
4284 * New native configurations
4285
4286 OpenBSD/arm                     arm*-*-openbsd*
4287 OpenBSD/mips64                  mips64-*-openbsd*
4288
4289 * New targets
4290
4291 Morpho Technologies ms1         ms1-elf
4292
4293 * New command line options
4294
4295 --batch-silent                  As for --batch, but totally silent.
4296 --return-child-result           The debugger will exist with the same value
4297                                 the child (debugged) program exited with.
4298 --eval-command COMMAND, -ex COMMAND
4299                                 Execute a single GDB CLI command. This may be
4300                                 specified multiple times and in conjunction
4301                                 with the --command (-x) option.
4302
4303 * Deprecated commands removed
4304
4305 The following commands, that were deprecated in 2000, have been
4306 removed:
4307
4308   Command                               Replacement
4309   set|show arm disassembly-flavor       set|show arm disassembler
4310   othernames                            set arm disassembler
4311   set|show remotedebug                  set|show debug remote
4312   set|show archdebug                    set|show debug arch
4313   set|show eventdebug                   set|show debug event
4314   regs                                  info registers
4315
4316 * New BSD user-level threads support
4317
4318 It is now possible to debug programs using the user-level threads
4319 library on OpenBSD and FreeBSD.  Currently supported (target)
4320 configurations are:
4321
4322 FreeBSD/amd64                   x86_64-*-freebsd*
4323 FreeBSD/i386                    i386-*-freebsd*
4324 OpenBSD/i386                    i386-*-openbsd*
4325
4326 Note that the new kernel threads libraries introduced in FreeBSD 5.x
4327 are not yet supported.
4328
4329 * New support for Matsushita MN10300 w/sim added
4330 (Work in progress).  mn10300-elf.
4331
4332 * REMOVED configurations and files
4333
4334 VxWorks and the XDR protocol                    *-*-vxworks
4335 Motorola MCORE                                  mcore-*-*
4336 National Semiconductor NS32000                  ns32k-*-*
4337
4338 * New "set print array-indexes" command
4339
4340 After turning this setting "on", GDB prints the index of each element
4341 when displaying arrays.  The default is "off" to preserve the previous
4342 behavior.
4343
4344 * VAX floating point support
4345
4346 GDB now supports the not-quite-ieee VAX F and D floating point formats.
4347
4348 * User-defined command support
4349
4350 In addition to using $arg0..$arg9 for argument passing, it is now possible
4351 to use $argc to determine now many arguments have been passed.  See the
4352 section on user-defined commands in the user manual for more information.
4353
4354 *** Changes in GDB 6.3:
4355
4356 * New command line option
4357
4358 GDB now accepts -l followed by a number to set the timeout for remote
4359 debugging.
4360
4361 * GDB works with GCC -feliminate-dwarf2-dups
4362
4363 GDB now supports a more compact representation of DWARF-2 debug
4364 information using DW_FORM_ref_addr references.  These are produced
4365 by GCC with the option -feliminate-dwarf2-dups and also by some
4366 proprietary compilers.  With GCC, you must use GCC 3.3.4 or later
4367 to use -feliminate-dwarf2-dups.
4368
4369 * Internationalization
4370
4371 When supported by the host system, GDB will be built with
4372 internationalization (libintl).  The task of marking up the sources is
4373 continued, we're looking forward to our first translation.
4374
4375 * Ada
4376
4377 Initial support for debugging programs compiled with the GNAT 
4378 implementation of the Ada programming language has been integrated 
4379 into GDB.  In this release, support is limited to expression evaluation.
4380
4381 * New native configurations
4382
4383 GNU/Linux/m32r                                  m32r-*-linux-gnu
4384
4385 * Remote 'p' packet
4386
4387 GDB's remote protocol now includes support for the 'p' packet.  This
4388 packet is used to fetch individual registers from a remote inferior.
4389
4390 * END-OF-LIFE registers[] compatibility module
4391
4392 GDB's internal register infrastructure has been completely rewritten.
4393 The new infrastructure making possible the implementation of key new
4394 features including 32x64 (e.g., 64-bit amd64 GDB debugging a 32-bit
4395 i386 application).
4396
4397 GDB 6.3 will be the last release to include the the registers[]
4398 compatibility module that allowed out-of-date configurations to
4399 continue to work.  This change directly impacts the following
4400 configurations:
4401
4402 hppa-*-hpux
4403 ia64-*-aix
4404 mips-*-irix*
4405 *-*-lynx
4406 mips-*-linux-gnu
4407 sds protocol
4408 xdr protocol
4409 powerpc bdm protocol
4410
4411 Unless there is activity to revive these configurations, they will be
4412 made OBSOLETE in GDB 6.4, and REMOVED from GDB 6.5.
4413
4414 * OBSOLETE configurations and files
4415
4416 Configurations that have been declared obsolete in this release have
4417 been commented out.  Unless there is activity to revive these
4418 configurations, the next release of GDB will have their sources
4419 permanently REMOVED.
4420
4421 h8300-*-*
4422 mcore-*-*
4423 mn10300-*-*
4424 ns32k-*-*
4425 sh64-*-*
4426 v850-*-*
4427
4428 *** Changes in GDB 6.2.1:
4429
4430 * MIPS `break main; run' gave an heuristic-fence-post warning
4431
4432 When attempting to run even a simple program, a warning about
4433 heuristic-fence-post being hit would be reported.  This problem has
4434 been fixed.
4435
4436 * MIPS IRIX 'long double' crashed GDB
4437
4438 When examining a long double variable, GDB would get a segmentation
4439 fault.  The crash has been fixed (but GDB 6.2 cannot correctly examine
4440 IRIX long double values).
4441
4442 * VAX and "next"
4443
4444 A bug in the VAX stack code was causing problems with the "next"
4445 command.  This problem has been fixed.
4446
4447 *** Changes in GDB 6.2:
4448
4449 * Fix for ``many threads''
4450
4451 On GNU/Linux systems that use the NPTL threads library, a program
4452 rapidly creating and deleting threads would confuse GDB leading to the
4453 error message:
4454
4455         ptrace: No such process.
4456         thread_db_get_info: cannot get thread info: generic error
4457
4458 This problem has been fixed.
4459
4460 * "-async" and "-noasync" options removed.
4461
4462 Support for the broken "-noasync" option has been removed (it caused
4463 GDB to dump core).
4464
4465 * New ``start'' command.
4466
4467 This command runs the program until the begining of the main procedure.
4468
4469 * New BSD Kernel Data Access Library (libkvm) interface
4470
4471 Using ``target kvm'' it is now possible to debug kernel core dumps and
4472 live kernel memory images on various FreeBSD, NetBSD and OpenBSD
4473 platforms.  Currently supported (native-only) configurations are:
4474
4475 FreeBSD/amd64                   x86_64-*-freebsd*
4476 FreeBSD/i386                    i?86-*-freebsd*
4477 NetBSD/i386                     i?86-*-netbsd*
4478 NetBSD/m68k                     m68*-*-netbsd*
4479 NetBSD/sparc                    sparc-*-netbsd*
4480 OpenBSD/amd64                   x86_64-*-openbsd*
4481 OpenBSD/i386                    i?86-*-openbsd*
4482 OpenBSD/m68k                    m68*-openbsd*
4483 OpenBSD/sparc                   sparc-*-openbsd*
4484
4485 * Signal trampoline code overhauled
4486
4487 Many generic problems with GDB's signal handling code have been fixed.
4488 These include: backtraces through non-contiguous stacks; recognition
4489 of sa_sigaction signal trampolines; backtrace from a NULL pointer
4490 call; backtrace through a signal trampoline; step into and out of
4491 signal handlers; and single-stepping in the signal trampoline.
4492
4493 Please note that kernel bugs are a limiting factor here.  These
4494 features have been shown to work on an s390 GNU/Linux system that
4495 include a 2.6.8-rc1 kernel.  Ref PR breakpoints/1702.
4496
4497 * Cygwin support for DWARF 2 added.
4498
4499 * New native configurations
4500
4501 GNU/Linux/hppa                                  hppa*-*-linux*
4502 OpenBSD/hppa                                    hppa*-*-openbsd*
4503 OpenBSD/m68k                                    m68*-*-openbsd*
4504 OpenBSD/m88k                                    m88*-*-openbsd*
4505 OpenBSD/powerpc                                 powerpc-*-openbsd*
4506 NetBSD/vax                                      vax-*-netbsd*
4507 OpenBSD/vax                                     vax-*-openbsd*
4508
4509 * END-OF-LIFE frame compatibility module
4510
4511 GDB's internal frame infrastructure has been completely rewritten.
4512 The new infrastructure making it possible to support key new features
4513 including DWARF 2 Call Frame Information.  To aid in the task of
4514 migrating old configurations to this new infrastructure, a
4515 compatibility module, that allowed old configurations to continue to
4516 work, was also included.
4517
4518 GDB 6.2 will be the last release to include this frame compatibility
4519 module.  This change directly impacts the following configurations:
4520
4521 h8300-*-*
4522 mcore-*-*
4523 mn10300-*-*
4524 ns32k-*-*
4525 sh64-*-*
4526 v850-*-*
4527 xstormy16-*-*
4528
4529 Unless there is activity to revive these configurations, they will be
4530 made OBSOLETE in GDB 6.3, and REMOVED from GDB 6.4.
4531
4532 * REMOVED configurations and files
4533
4534 Sun 3, running SunOS 3                          m68*-*-sunos3*
4535 Sun 3, running SunOS 4                          m68*-*-sunos4*
4536 Sun 2, running SunOS 3                          m68000-*-sunos3*
4537 Sun 2, running SunOS 4                          m68000-*-sunos4*
4538 Motorola 680x0 running LynxOS                   m68*-*-lynxos*
4539 AT&T 3b1/Unix pc                                m68*-att-*
4540 Bull DPX2 (68k, System V release 3)             m68*-bull-sysv*
4541 decstation                                      mips-dec-* mips-little-*
4542 riscos                                          mips-*-riscos* mips-*-sysv*
4543 sonymips                                        mips-sony-*
4544 sysv                                    mips*-*-sysv4* (IRIX 5/6 not included)
4545
4546 *** Changes in GDB 6.1.1:
4547
4548 * TUI (Text-mode User Interface) built-in (also included in GDB 6.1)
4549
4550 The TUI (Text-mode User Interface) is now built as part of a default
4551 GDB configuration.  It is enabled by either selecting the TUI with the
4552 command line option "-i=tui" or by running the separate "gdbtui"
4553 program.  For more information on the TUI, see the manual "Debugging
4554 with GDB".
4555
4556 * Pending breakpoint support (also included in GDB 6.1)
4557
4558 Support has been added to allow you to specify breakpoints in shared
4559 libraries that have not yet been loaded.  If a breakpoint location
4560 cannot be found, and the "breakpoint pending" option is set to auto,
4561 GDB queries you if you wish to make the breakpoint pending on a future
4562 shared-library load.  If and when GDB resolves the breakpoint symbol,
4563 the pending breakpoint is removed as one or more regular breakpoints
4564 are created.
4565
4566 Pending breakpoints are very useful for GCJ Java debugging.
4567
4568 * Fixed ISO-C build problems
4569
4570 The files bfd/elf-bfd.h, gdb/dictionary.c and gdb/types.c contained
4571 non ISO-C code that stopped them being built using a more strict ISO-C
4572 compiler (e.g., IBM's C compiler).
4573
4574 * Fixed build problem on IRIX 5
4575
4576 Due to header problems with <sys/proc.h>, the file gdb/proc-api.c
4577 wasn't able to compile compile on an IRIX 5 system.
4578
4579 * Added execute permission to gdb/gdbserver/configure
4580
4581 The shell script gdb/testsuite/gdb.stabs/configure lacked execute
4582 permission.  This bug would cause configure to fail on a number of
4583 systems (Solaris, IRIX).  Ref: server/519.
4584
4585 * Fixed build problem on hpux2.0w-hp-hpux11.00 using the HP ANSI C compiler
4586
4587 Older HPUX ANSI C compilers did not accept variable array sizes.  somsolib.c
4588 has been updated to use constant array sizes.
4589
4590 * Fixed a panic in the DWARF Call Frame Info code on Solaris 2.7
4591
4592 GCC 3.3.2, on Solaris 2.7, includes the DW_EH_PE_funcrel encoding in
4593 its generated DWARF Call Frame Info.  This encoding was causing GDB to
4594 panic, that panic has been fixed.  Ref: gdb/1628.
4595
4596 * Fixed a problem when examining parameters in shared library code.
4597
4598 When examining parameters in optimized shared library code generated
4599 by a mainline GCC, GDB would incorrectly report ``Variable "..." is
4600 not available''.  GDB now correctly displays the variable's value.
4601
4602 *** Changes in GDB 6.1:
4603
4604 * Removed --with-mmalloc
4605
4606 Support for the mmalloc memory manager has been removed, as it
4607 conflicted with the internal gdb byte cache.
4608
4609 * Changes in AMD64 configurations
4610
4611 The AMD64 target now includes the %cs and %ss registers.  As a result
4612 the AMD64 remote protocol has changed; this affects the floating-point
4613 and SSE registers.  If you rely on those registers for your debugging,
4614 you should upgrade gdbserver on the remote side.
4615
4616 * Revised SPARC target
4617
4618 The SPARC target has been completely revised, incorporating the
4619 FreeBSD/sparc64 support that was added for GDB 6.0.  As a result
4620 support for LynxOS and SunOS 4 has been dropped.  Calling functions
4621 from within GDB on operating systems with a non-executable stack
4622 (Solaris, OpenBSD) now works.
4623
4624 * New C++ demangler
4625
4626 GDB has a new C++ demangler which does a better job on the mangled
4627 names generated by current versions of g++.  It also runs faster, so
4628 with this and other changes gdb should now start faster on large C++
4629 programs.
4630
4631 * DWARF 2 Location Expressions
4632
4633 GDB support for location expressions has been extended to support function
4634 arguments and frame bases.  Older versions of GDB could crash when they
4635 encountered these.
4636
4637 * C++ nested types and namespaces
4638
4639 GDB's support for nested types and namespaces in C++ has been
4640 improved, especially if you use the DWARF 2 debugging format.  (This
4641 is the default for recent versions of GCC on most platforms.)
4642 Specifically, if you have a class "Inner" defined within a class or
4643 namespace "Outer", then GDB realizes that the class's name is
4644 "Outer::Inner", not simply "Inner".  This should greatly reduce the
4645 frequency of complaints about not finding RTTI symbols.  In addition,
4646 if you are stopped at inside of a function defined within a namespace,
4647 GDB modifies its name lookup accordingly.
4648
4649 * New native configurations
4650
4651 NetBSD/amd64                                    x86_64-*-netbsd*
4652 OpenBSD/amd64                                   x86_64-*-openbsd*
4653 OpenBSD/alpha                                   alpha*-*-openbsd*
4654 OpenBSD/sparc                                   sparc-*-openbsd*
4655 OpenBSD/sparc64                                 sparc64-*-openbsd*
4656
4657 * New debugging protocols
4658
4659 M32R with SDI protocol                          m32r-*-elf*
4660
4661 * "set prompt-escape-char" command deleted.
4662
4663 The command "set prompt-escape-char" has been deleted.  This command,
4664 and its very obscure effet on GDB's prompt, was never documented,
4665 tested, nor mentioned in the NEWS file.
4666
4667 * OBSOLETE configurations and files
4668
4669 Configurations that have been declared obsolete in this release have
4670 been commented out.  Unless there is activity to revive these
4671 configurations, the next release of GDB will have their sources
4672 permanently REMOVED.
4673
4674 Sun 3, running SunOS 3                          m68*-*-sunos3*
4675 Sun 3, running SunOS 4                          m68*-*-sunos4*
4676 Sun 2, running SunOS 3                          m68000-*-sunos3*
4677 Sun 2, running SunOS 4                          m68000-*-sunos4*
4678 Motorola 680x0 running LynxOS                   m68*-*-lynxos*
4679 AT&T 3b1/Unix pc                                m68*-att-*
4680 Bull DPX2 (68k, System V release 3)             m68*-bull-sysv*
4681 decstation                                      mips-dec-* mips-little-*
4682 riscos                                          mips-*-riscos* mips-*-sysv*
4683 sonymips                                        mips-sony-*
4684 sysv                                    mips*-*-sysv4* (IRIX 5/6 not included)
4685
4686 * REMOVED configurations and files
4687
4688 SGI Irix-4.x                            mips-sgi-irix4  or iris4
4689 SGI Iris (MIPS) running Irix V3:        mips-sgi-irix   or  iris
4690 Z8000 simulator                         z8k-zilog-none    or z8ksim
4691 Matsushita MN10200 w/simulator                  mn10200-*-*
4692 H8/500 simulator                        h8500-hitachi-hms or h8500hms
4693 HP/PA running BSD                               hppa*-*-bsd*
4694 HP/PA running OSF/1                             hppa*-*-osf*
4695 HP/PA Pro target                                hppa*-*-pro*
4696 PMAX (MIPS) running Mach 3.0                    mips*-*-mach3*
4697 386BSD                                          i[3456]86-*-bsd*
4698 Sequent family                                  i[3456]86-sequent-sysv4*
4699                                                 i[3456]86-sequent-sysv*
4700                                                 i[3456]86-sequent-bsd*
4701 SPARC running LynxOS                            sparc-*-lynxos*
4702 SPARC running SunOS 4                           sparc-*-sunos4*
4703 Tsqware Sparclet                                sparclet-*-*
4704 Fujitsu SPARClite                       sparclite-fujitsu-none  or  sparclite
4705
4706 *** Changes in GDB 6.0:
4707
4708 * Objective-C
4709
4710 Support for debugging the Objective-C programming language has been
4711 integrated into GDB.
4712
4713 * New backtrace mechanism (includes DWARF 2 Call Frame Information).
4714
4715 DWARF 2's Call Frame Information makes available compiler generated
4716 information that more exactly describes the program's run-time stack.
4717 By using this information, GDB is able to provide more robust stack
4718 backtraces.
4719
4720 The i386, amd64 (nee, x86-64), Alpha, m68hc11, ia64, and m32r targets
4721 have been updated to use a new backtrace mechanism which includes
4722 DWARF 2 CFI support.
4723
4724 * Hosted file I/O.
4725
4726 GDB's remote protocol has been extended to include support for hosted
4727 file I/O (where the remote target uses GDB's file system).  See GDB's
4728 remote protocol documentation for details.
4729
4730 * All targets using the new architecture framework.
4731
4732 All of GDB's targets have been updated to use the new internal
4733 architecture framework.  The way is now open for future GDB releases
4734 to include cross-architecture native debugging support (i386 on amd64,
4735 ppc32 on ppc64).
4736
4737 * GNU/Linux's Thread Local Storage (TLS)
4738
4739 GDB now includes support for for the GNU/Linux implementation of
4740 per-thread variables.
4741
4742 * GNU/Linux's Native POSIX Thread Library (NPTL)
4743
4744 GDB's thread code has been updated to work with either the new
4745 GNU/Linux NPTL thread library or the older "LinuxThreads" library.
4746
4747 * Separate debug info.
4748
4749 GDB, in conjunction with BINUTILS, now supports a mechanism for
4750 automatically loading debug information from a separate file.  Instead
4751 of shipping full debug and non-debug versions of system libraries,
4752 system integrators can now instead ship just the stripped libraries
4753 and optional debug files.
4754
4755 * DWARF 2 Location Expressions
4756
4757 DWARF 2 Location Expressions allow the compiler to more completely
4758 describe the location of variables (even in optimized code) to the
4759 debugger.
4760
4761 GDB now includes preliminary support for location expressions (support
4762 for DW_OP_piece is still missing).
4763
4764 * Java
4765
4766 A number of long standing bugs that caused GDB to die while starting a
4767 Java application have been fixed.  GDB's Java support is now
4768 considered "useable".
4769
4770 * GNU/Linux support for fork, vfork, and exec.
4771
4772 The "catch fork", "catch exec", "catch vfork", and "set follow-fork-mode"
4773 commands are now implemented for GNU/Linux.  They require a 2.5.x or later
4774 kernel.
4775
4776 * GDB supports logging output to a file
4777
4778 There are two new commands, "set logging" and "show logging", which can be
4779 used to capture GDB's output to a file.
4780
4781 * The meaning of "detach" has changed for gdbserver
4782
4783 The "detach" command will now resume the application, as documented.  To
4784 disconnect from gdbserver and leave it stopped, use the new "disconnect"
4785 command.
4786
4787 * d10v, m68hc11 `regs' command deprecated
4788
4789 The `info registers' command has been updated so that it displays the
4790 registers using a format identical to the old `regs' command.
4791
4792 * Profiling support
4793
4794 A new command, "maint set profile on/off", has been added.  This command can
4795 be used to enable or disable profiling while running GDB, to profile a
4796 session or a set of commands.  In addition there is a new configure switch,
4797 "--enable-profiling", which will cause GDB to be compiled with profiling
4798 data, for more informative profiling results.
4799
4800 * Default MI syntax changed to "mi2".
4801
4802 The default MI (machine interface) syntax, enabled by the command line
4803 option "-i=mi", has been changed to "mi2".  The previous MI syntax,
4804 "mi1", can be enabled by specifying the option "-i=mi1".
4805
4806 Support for the original "mi0" syntax (included in GDB 5.0) has been
4807 removed.
4808
4809 Fix for gdb/192: removed extraneous space when displaying frame level.
4810 Fix for gdb/672: update changelist is now output in mi list format.
4811 Fix for gdb/702: a -var-assign that updates the value now shows up
4812                  in a subsequent -var-update.
4813
4814 * New native configurations.
4815
4816 FreeBSD/amd64                                   x86_64-*-freebsd*
4817
4818 * Multi-arched targets.
4819
4820 HP/PA HPUX11                                    hppa*-*-hpux*
4821 Renesas M32R/D w/simulator                      m32r-*-elf*
4822
4823 * OBSOLETE configurations and files
4824
4825 Configurations that have been declared obsolete in this release have
4826 been commented out.  Unless there is activity to revive these
4827 configurations, the next release of GDB will have their sources
4828 permanently REMOVED.
4829
4830 Z8000 simulator                         z8k-zilog-none    or z8ksim
4831 Matsushita MN10200 w/simulator                  mn10200-*-*
4832 H8/500 simulator                        h8500-hitachi-hms or h8500hms
4833 HP/PA running BSD                               hppa*-*-bsd*
4834 HP/PA running OSF/1                             hppa*-*-osf*
4835 HP/PA Pro target                                hppa*-*-pro*
4836 PMAX (MIPS) running Mach 3.0                    mips*-*-mach3*
4837 Sequent family                                  i[3456]86-sequent-sysv4*
4838                                                 i[3456]86-sequent-sysv*
4839                                                 i[3456]86-sequent-bsd*
4840 Tsqware Sparclet                                sparclet-*-*
4841 Fujitsu SPARClite                       sparclite-fujitsu-none  or  sparclite
4842
4843 * REMOVED configurations and files
4844
4845 V850EA ISA                              
4846 Motorola Delta 88000 running Sys V              m88k-motorola-sysv  or  delta88
4847 IBM AIX PS/2                                    i[3456]86-*-aix
4848 i386 running Mach 3.0                           i[3456]86-*-mach3*
4849 i386 running Mach                               i[3456]86-*-mach*
4850 i386 running OSF/1                              i[3456]86-*osf1mk*
4851 HP/Apollo 68k Family                            m68*-apollo*-sysv*,
4852                                                 m68*-apollo*-bsd*,
4853                                                 m68*-hp-bsd*, m68*-hp-hpux*
4854 Argonaut Risc Chip (ARC)                        arc-*-*
4855 Mitsubishi D30V                                 d30v-*-*
4856 Fujitsu FR30                                    fr30-*-elf*
4857 OS/9000                                         i[34]86-*-os9k
4858 I960 with MON960                                i960-*-coff
4859
4860 * MIPS $fp behavior changed
4861
4862 The convenience variable $fp, for the MIPS, now consistently returns
4863 the address of the current frame's base.  Previously, depending on the
4864 context, $fp could refer to either $sp or the current frame's base
4865 address.  See ``8.10 Registers'' in the manual ``Debugging with GDB:
4866 The GNU Source-Level Debugger''.
4867
4868 *** Changes in GDB 5.3:
4869
4870 * GNU/Linux shared library multi-threaded performance improved.
4871
4872 When debugging a multi-threaded application on GNU/Linux, GDB now uses
4873 `/proc', in preference to `ptrace' for memory reads.  This may result
4874 in an improvement in the start-up time of multi-threaded, shared
4875 library applications when run under GDB.  One GDB user writes: ``loads
4876 shared libs like mad''.
4877
4878 * ``gdbserver'' now supports multi-threaded applications on some targets
4879
4880 Support for debugging multi-threaded applications which use  
4881 the GNU/Linux LinuxThreads package has been added for
4882 arm*-*-linux*-gnu*, i[3456]86-*-linux*-gnu*, mips*-*-linux*-gnu*,
4883 powerpc*-*-linux*-gnu*, and sh*-*-linux*-gnu*.
4884
4885 * GDB now supports C/C++ preprocessor macros.
4886
4887 GDB now expands preprocessor macro invocations in C/C++ expressions,
4888 and provides various commands for showing macro definitions and how
4889 they expand.
4890
4891 The new command `macro expand EXPRESSION' expands any macro
4892 invocations in expression, and shows the result.
4893
4894 The new command `show macro MACRO-NAME' shows the definition of the
4895 macro named MACRO-NAME, and where it was defined.
4896
4897 Most compilers don't include information about macros in the debugging
4898 information by default.  In GCC 3.1, for example, you need to compile
4899 your program with the options `-gdwarf-2 -g3'.  If the macro
4900 information is present in the executable, GDB will read it.
4901
4902 * Multi-arched targets.
4903
4904 DEC Alpha (partial)                             alpha*-*-*
4905 DEC VAX (partial)                               vax-*-*
4906 NEC V850                                        v850-*-*
4907 National Semiconductor NS32000 (partial)        ns32k-*-*
4908 Motorola 68000 (partial)                        m68k-*-*
4909 Motorola MCORE                                  mcore-*-*
4910
4911 * New targets.
4912
4913 Fujitsu FRV architecture added by Red Hat       frv*-*-*
4914
4915
4916 * New native configurations
4917
4918 Alpha NetBSD                                    alpha*-*-netbsd*
4919 SH NetBSD                                       sh*-*-netbsdelf*
4920 MIPS NetBSD                                     mips*-*-netbsd*
4921 UltraSPARC NetBSD                               sparc64-*-netbsd*
4922
4923 * OBSOLETE configurations and files
4924
4925 Configurations that have been declared obsolete in this release have
4926 been commented out.  Unless there is activity to revive these
4927 configurations, the next release of GDB will have their sources
4928 permanently REMOVED.
4929
4930 Mitsubishi D30V                                 d30v-*-*
4931 OS/9000                                         i[34]86-*-os9k
4932 IBM AIX PS/2                                    i[3456]86-*-aix
4933 Fujitsu FR30                                    fr30-*-elf*
4934 Motorola Delta 88000 running Sys V              m88k-motorola-sysv  or  delta88
4935 Argonaut Risc Chip (ARC)                        arc-*-*
4936 i386 running Mach 3.0                           i[3456]86-*-mach3*
4937 i386 running Mach                               i[3456]86-*-mach*
4938 i386 running OSF/1                              i[3456]86-*osf1mk*
4939 HP/Apollo 68k Family                            m68*-apollo*-sysv*,
4940                                                 m68*-apollo*-bsd*,
4941                                                 m68*-hp-bsd*, m68*-hp-hpux*
4942 I960 with MON960                                i960-*-coff
4943
4944 * OBSOLETE languages
4945
4946 CHILL, a Pascal like language used by telecommunications companies.
4947
4948 * REMOVED configurations and files
4949
4950 AMD 29k family via UDI                          a29k-amd-udi, udi29k
4951 A29K VxWorks                                    a29k-*-vxworks
4952 AMD 29000 embedded, using EBMON                 a29k-none-none
4953 AMD 29000 embedded with COFF                    a29k-none-coff
4954 AMD 29000 embedded with a.out                   a29k-none-aout
4955
4956 testsuite/gdb.hp/gdb.threads-hp/                directory
4957
4958 * New command "set max-user-call-depth <nnn>"
4959
4960 This command allows the user to limit the call depth of user-defined
4961 commands.  The default is 1024.
4962
4963 * Changes in FreeBSD/i386 native debugging.
4964
4965 Support for the "generate-core-file" has been added.
4966
4967 * New commands "dump", "append", and "restore".
4968
4969 These commands allow data to be copied from target memory
4970 to a bfd-format or binary file (dump and append), and back
4971 from a file into memory (restore).
4972
4973 * Improved "next/step" support on multi-processor Alpha Tru64.
4974
4975 The previous single-step mechanism could cause unpredictable problems,
4976 including the random appearance of SIGSEGV or SIGTRAP signals. The use
4977 of a software single-step mechanism prevents this.
4978
4979 *** Changes in GDB 5.2.1:
4980
4981 * New targets.
4982
4983 Atmel AVR                                       avr*-*-*
4984
4985 * Bug fixes
4986
4987 gdb/182: gdb/323: gdb/237: On alpha, gdb was reporting:
4988 mdebugread.c:2443: gdb-internal-error: sect_index_data not initialized
4989 Fix, by Joel Brobecker imported from mainline.
4990
4991 gdb/439: gdb/291: On some ELF object files, gdb was reporting:
4992 dwarf2read.c:1072: gdb-internal-error: sect_index_text not initialize
4993 Fix, by Fred Fish, imported from mainline.
4994
4995 Dwarf2 .debug_frame & .eh_frame handler improved in many ways. 
4996 Surprisingly enough, it works now.
4997 By Michal Ludvig, imported from mainline.
4998
4999 i386 hardware watchpoint support: 
5000 avoid misses on second run for some targets.
5001 By Pierre Muller, imported from mainline.
5002
5003 *** Changes in GDB 5.2:
5004
5005 * New command "set trust-readonly-sections on[off]".
5006
5007 This command is a hint that tells gdb that read-only sections
5008 really are read-only (ie. that their contents will not change).
5009 In this mode, gdb will go to the object file rather than the
5010 target to read memory from read-only sections (such as ".text").
5011 This can be a significant performance improvement on some
5012 (notably embedded) targets.
5013
5014 * New command "generate-core-file" (or "gcore").
5015
5016 This new gdb command allows the user to drop a core file of the child
5017 process state at any time.  So far it's been implemented only for
5018 GNU/Linux and Solaris, but should be relatively easily ported to other
5019 hosts.  Argument is core file name (defaults to core.<pid>).
5020
5021 * New command line option
5022
5023 GDB now accepts --pid or -p followed by a process id.  
5024
5025 * Change in command line behavior -- corefiles vs. process ids.
5026
5027 There is a subtle behavior in the way in which GDB handles 
5028 command line arguments.  The first non-flag argument is always
5029 a program to debug, but the second non-flag argument may either
5030 be a corefile or a process id.  Previously, GDB would attempt to
5031 open the second argument as a corefile, and if that failed, would
5032 issue a superfluous error message and then attempt to attach it as
5033 a process.  Now, if the second argument begins with a non-digit, 
5034 it will be treated as a corefile.  If it begins with a digit, 
5035 GDB will attempt to attach it as a process, and if no such process
5036 is found, will then attempt to open it as a corefile.
5037
5038 * Changes in ARM configurations.
5039
5040 Multi-arch support is enabled for all ARM configurations.  The ARM/NetBSD
5041 configuration is fully multi-arch.
5042
5043 * New native configurations
5044
5045 ARM NetBSD                                      arm*-*-netbsd*
5046 x86 OpenBSD                                     i[3456]86-*-openbsd*
5047 AMD x86-64 running GNU/Linux                    x86_64-*-linux-*
5048 Sparc64 running FreeBSD                         sparc64-*-freebsd*
5049
5050 * New targets
5051
5052 Sanyo XStormy16                                 xstormy16-elf
5053
5054 * OBSOLETE configurations and files
5055
5056 Configurations that have been declared obsolete in this release have
5057 been commented out.  Unless there is activity to revive these
5058 configurations, the next release of GDB will have their sources
5059 permanently REMOVED.
5060
5061 AMD 29k family via UDI                          a29k-amd-udi, udi29k
5062 A29K VxWorks                                    a29k-*-vxworks
5063 AMD 29000 embedded, using EBMON                 a29k-none-none
5064 AMD 29000 embedded with COFF                    a29k-none-coff
5065 AMD 29000 embedded with a.out                   a29k-none-aout
5066
5067 testsuite/gdb.hp/gdb.threads-hp/                directory
5068
5069 * REMOVED configurations and files
5070
5071 TI TMS320C80                                    tic80-*-*
5072 WDC 65816                                       w65-*-*
5073 PowerPC Solaris                                 powerpcle-*-solaris*
5074 PowerPC Windows NT                              powerpcle-*-cygwin32
5075 PowerPC Netware                                 powerpc-*-netware*
5076 Harris/CXUX m88k                                m88*-harris-cxux*
5077 Most ns32k hosts and targets                    ns32k-*-mach3* ns32k-umax-*
5078                                                 ns32k-utek-sysv* ns32k-utek-*
5079 SunOS 4.0.Xi on i386                            i[3456]86-*-sunos*
5080 Ultracomputer (29K) running Sym1                a29k-nyu-sym1 a29k-*-kern*
5081 Sony NEWS (68K) running NEWSOS 3.x              m68*-sony-sysv news
5082 ISI Optimum V (3.05) under 4.3bsd.              m68*-isi-*
5083 Apple Macintosh (MPW) host and target           N/A host, powerpc-*-macos*
5084
5085 * Changes to command line processing
5086
5087 The new `--args' feature can be used to specify command-line arguments
5088 for the inferior from gdb's command line.
5089
5090 * Changes to key bindings
5091
5092 There is a new `operate-and-get-next' function bound to `C-o'.
5093
5094 *** Changes in GDB 5.1.1 
5095
5096 Fix compile problem on DJGPP.
5097
5098 Fix a problem with floating-point registers on the i386 being
5099 corrupted.
5100
5101 Fix to stop GDB crashing on .debug_str debug info.
5102
5103 Numerous documentation fixes.
5104
5105 Numerous testsuite fixes.
5106
5107 *** Changes in GDB 5.1:
5108
5109 * New native configurations
5110
5111 Alpha FreeBSD                                   alpha*-*-freebsd*
5112 x86 FreeBSD 3.x and 4.x                         i[3456]86*-freebsd[34]*
5113 MIPS GNU/Linux                                  mips*-*-linux*
5114 MIPS SGI Irix 6.x                               mips*-sgi-irix6*
5115 ia64 AIX                                        ia64-*-aix*
5116 s390 and s390x GNU/Linux                        {s390,s390x}-*-linux*
5117
5118 * New targets
5119
5120 Motorola 68HC11 and 68HC12                      m68hc11-elf
5121 CRIS                                            cris-axis
5122 UltraSparc running GNU/Linux                    sparc64-*-linux*
5123
5124 * OBSOLETE configurations and files
5125
5126 x86 FreeBSD before 2.2                          i[3456]86*-freebsd{1,2.[01]}*, 
5127 Harris/CXUX m88k                                m88*-harris-cxux*
5128 Most ns32k hosts and targets                    ns32k-*-mach3* ns32k-umax-*
5129                                                 ns32k-utek-sysv* ns32k-utek-*
5130 TI TMS320C80                                    tic80-*-*
5131 WDC 65816                                       w65-*-*
5132 Ultracomputer (29K) running Sym1                a29k-nyu-sym1 a29k-*-kern*
5133 PowerPC Solaris                                 powerpcle-*-solaris*
5134 PowerPC Windows NT                              powerpcle-*-cygwin32
5135 PowerPC Netware                                 powerpc-*-netware*
5136 SunOS 4.0.Xi on i386                            i[3456]86-*-sunos*
5137 Sony NEWS (68K) running NEWSOS 3.x              m68*-sony-sysv news
5138 ISI Optimum V (3.05) under 4.3bsd.              m68*-isi-*
5139 Apple Macintosh (MPW) host                      N/A
5140
5141 stuff.c (Program to stuff files into a specially prepared space in kdb)
5142 kdb-start.c (Main loop for the standalone kernel debugger)
5143
5144 Configurations that have been declared obsolete in this release have
5145 been commented out.  Unless there is activity to revive these
5146 configurations, the next release of GDB will have their sources
5147 permanently REMOVED.
5148
5149 * REMOVED configurations and files
5150
5151 Altos 3068                                      m68*-altos-*
5152 Convex                                          c1-*-*, c2-*-*
5153 Pyramid                                         pyramid-*-*
5154 ARM RISCix                                      arm-*-* (as host)
5155 Tahoe                                           tahoe-*-*
5156 ser-ocd.c                                       *-*-*
5157
5158 * GDB has been converted to ISO C.
5159
5160 GDB's source code has been converted to ISO C.  In particular, the
5161 sources are fully protoized, and rely on standard headers being
5162 present.
5163
5164 * Other news:
5165
5166 * "info symbol" works on platforms which use COFF, ECOFF, XCOFF, and NLM.
5167
5168 * The MI enabled by default.
5169
5170 The new machine oriented interface (MI) introduced in GDB 5.0 has been
5171 revised and enabled by default.  Packages which use GDB as a debugging
5172 engine behind a UI or another front end are encouraged to switch to
5173 using the GDB/MI interface, instead of the old annotations interface
5174 which is now deprecated.
5175
5176 * Support for debugging Pascal programs.
5177
5178 GDB now includes support for debugging Pascal programs.  The following
5179 main features are supported:
5180
5181     - Pascal-specific data types such as sets;
5182
5183     - automatic recognition of Pascal sources based on file-name
5184       extension;
5185
5186     - Pascal-style display of data types, variables, and functions;
5187
5188     - a Pascal expression parser.
5189
5190 However, some important features are not yet supported.
5191
5192     - Pascal string operations are not supported at all;
5193
5194     - there are some problems with boolean types;
5195
5196     - Pascal type hexadecimal constants are not supported
5197       because they conflict with the internal variables format;
5198
5199     - support for Pascal objects and classes is not full yet;
5200
5201     - unlike Pascal, GDB is case-sensitive for symbol names.
5202
5203 * Changes in completion.
5204
5205 Commands such as `shell', `run' and `set args', which pass arguments
5206 to inferior programs, now complete on file names, similar to what
5207 users expect at the shell prompt.
5208
5209 Commands which accept locations, such as `disassemble', `print',
5210 `breakpoint', `until', etc. now complete on filenames as well as
5211 program symbols.  Thus, if you type "break foob TAB", and the source
5212 files linked into the programs include `foobar.c', that file name will
5213 be one of the candidates for completion.  However, file names are not
5214 considered for completion after you typed a colon that delimits a file
5215 name from a name of a function in that file, as in "break foo.c:bar".
5216
5217 `set demangle-style' completes on available demangling styles.
5218
5219 * New platform-independent commands:
5220
5221 It is now possible to define a post-hook for a command as well as a
5222 hook that runs before the command.  For more details, see the
5223 documentation of `hookpost' in the GDB manual.
5224
5225 * Changes in GNU/Linux native debugging.
5226
5227 Support for debugging multi-threaded programs has been completely
5228 revised for all platforms except m68k and sparc.  You can now debug as
5229 many threads as your system allows you to have.
5230
5231 Attach/detach is supported for multi-threaded programs.
5232
5233 Support for SSE registers was added for x86.  This doesn't work for
5234 multi-threaded programs though.
5235
5236 * Changes in MIPS configurations.
5237
5238 Multi-arch support is enabled for all MIPS configurations.
5239
5240 GDB can now be built as native debugger on SGI Irix 6.x systems for
5241 debugging n32 executables.  (Debugging 64-bit executables is not yet
5242 supported.)
5243
5244 * Unified support for hardware watchpoints in all x86 configurations.
5245
5246 Most (if not all) native x86 configurations support hardware-assisted
5247 breakpoints and watchpoints in a unified manner.  This support
5248 implements debug register sharing between watchpoints, which allows to
5249 put a virtually infinite number of watchpoints on the same address,
5250 and also supports watching regions up to 16 bytes with several debug
5251 registers.
5252
5253 The new maintenance command `maintenance show-debug-regs' toggles
5254 debugging print-outs in functions that insert, remove, and test
5255 watchpoints and hardware breakpoints.
5256
5257 * Changes in the DJGPP native configuration.
5258
5259 New command ``info dos sysinfo'' displays assorted information about
5260 the CPU, OS, memory, and DPMI server.
5261
5262 New commands ``info dos gdt'', ``info dos ldt'', and ``info dos idt''
5263 display information about segment descriptors stored in GDT, LDT, and
5264 IDT.
5265
5266 New commands ``info dos pde'' and ``info dos pte'' display entries
5267 from Page Directory and Page Tables (for now works with CWSDPMI only).
5268 New command ``info dos address-pte'' displays the Page Table entry for
5269 a given linear address.
5270
5271 GDB can now pass command lines longer than 126 characters to the
5272 program being debugged (requires an update to the libdbg.a library
5273 which is part of the DJGPP development kit).
5274
5275 DWARF2 debug info is now supported.
5276
5277 It is now possible to `step' and `next' through calls to `longjmp'.
5278
5279 * Changes in documentation.
5280
5281 All GDB documentation was converted to GFDL, the GNU Free
5282 Documentation License.
5283
5284 Tracepoints-related commands are now fully documented in the GDB
5285 manual.
5286
5287 TUI, the Text-mode User Interface, is now documented in the manual.
5288
5289 Tracepoints-related commands are now fully documented in the GDB
5290 manual.
5291
5292 The "GDB Internals" manual now has an index.  It also includes
5293 documentation of `ui_out' functions, GDB coding standards, x86
5294 hardware watchpoints, and memory region attributes.
5295
5296 * GDB's version number moved to ``version.in''
5297
5298 The Makefile variable VERSION has been replaced by the file
5299 ``version.in''.  People creating GDB distributions should update the
5300 contents of this file.
5301
5302 * gdba.el deleted
5303
5304 GUD support is now a standard part of the EMACS distribution.
5305
5306 *** Changes in GDB 5.0:
5307
5308 * Improved support for debugging FP programs on x86 targets
5309
5310 Unified and much-improved support for debugging floating-point
5311 programs on all x86 targets.  In particular, ``info float'' now
5312 displays the FP registers in the same format on all x86 targets, with
5313 greater level of detail.
5314
5315 * Improvements and bugfixes in hardware-assisted watchpoints
5316
5317 It is now possible to watch array elements, struct members, and
5318 bitfields with hardware-assisted watchpoints.  Data-read watchpoints
5319 on x86 targets no longer erroneously trigger when the address is
5320 written.
5321
5322 * Improvements in the native DJGPP version of GDB
5323
5324 The distribution now includes all the scripts and auxiliary files
5325 necessary to build the native DJGPP version on MS-DOS/MS-Windows
5326 machines ``out of the box''.
5327
5328 The DJGPP version can now debug programs that use signals.  It is
5329 possible to catch signals that happened in the debuggee, deliver
5330 signals to it, interrupt it with Ctrl-C, etc.  (Previously, a signal
5331 would kill the program being debugged.)  Programs that hook hardware
5332 interrupts (keyboard, timer, etc.) can also be debugged.
5333
5334 It is now possible to debug DJGPP programs that redirect their
5335 standard handles or switch them to raw (as opposed to cooked) mode, or
5336 even close them.  The command ``run < foo > bar'' works as expected,
5337 and ``info terminal'' reports useful information about the debuggee's
5338 terminal, including raw/cooked mode, redirection, etc.
5339
5340 The DJGPP version now uses termios functions for console I/O, which
5341 enables debugging graphics programs.  Interrupting GDB with Ctrl-C
5342 also works.
5343
5344 DOS-style file names with drive letters are now fully supported by
5345 GDB.
5346
5347 It is now possible to debug DJGPP programs that switch their working
5348 directory.  It is also possible to rerun the debuggee any number of
5349 times without restarting GDB; thus, you can use the same setup,
5350 breakpoints, etc. for many debugging sessions.
5351
5352 * New native configurations
5353
5354 ARM GNU/Linux                                   arm*-*-linux*
5355 PowerPC GNU/Linux                               powerpc-*-linux*
5356
5357 * New targets
5358
5359 Motorola MCore                                  mcore-*-*
5360 x86 VxWorks                                     i[3456]86-*-vxworks*
5361 PowerPC VxWorks                                 powerpc-*-vxworks*
5362 TI TMS320C80                                    tic80-*-*
5363
5364 * OBSOLETE configurations
5365
5366 Altos 3068                                      m68*-altos-*
5367 Convex                                          c1-*-*, c2-*-*
5368 Pyramid                                         pyramid-*-*
5369 ARM RISCix                                      arm-*-* (as host)
5370 Tahoe                                           tahoe-*-*
5371
5372 Configurations that have been declared obsolete will be commented out,
5373 but the code will be left in place.  If there is no activity to revive
5374 these configurations before the next release of GDB, the sources will
5375 be permanently REMOVED.
5376
5377 * Gould support removed
5378
5379 Support for the Gould PowerNode and NP1 has been removed.
5380
5381 * New features for SVR4
5382
5383 On SVR4 native platforms (such as Solaris), if you attach to a process
5384 without first loading a symbol file, GDB will now attempt to locate and
5385 load symbols from the running process's executable file.
5386
5387 * Many C++ enhancements
5388
5389 C++ support has been greatly improved. Overload resolution now works properly
5390 in almost all cases. RTTI support is on the way.
5391
5392 * Remote targets can connect to a sub-program
5393
5394 A popen(3) style serial-device has been added.  This device starts a
5395 sub-process (such as a stand-alone simulator) and then communicates
5396 with that.  The sub-program to run is specified using the syntax
5397 ``|<program> <args>'' vis:
5398
5399         (gdb) set remotedebug 1
5400         (gdb) target extended-remote |mn10300-elf-sim program-args
5401
5402 * MIPS 64 remote protocol
5403
5404 A long standing bug in the mips64 remote protocol where by GDB
5405 expected certain 32 bit registers (ex SR) to be transfered as 32
5406 instead of 64 bits has been fixed.
5407
5408 The command ``set remote-mips64-transfers-32bit-regs on'' has been
5409 added to provide backward compatibility with older versions of GDB.
5410
5411 * ``set remotebinarydownload'' replaced by ``set remote X-packet''
5412
5413 The command ``set remotebinarydownload'' command has been replaced by
5414 ``set remote X-packet''.  Other commands in ``set remote'' family
5415 include ``set remote P-packet''.
5416
5417 * Breakpoint commands accept ranges.
5418
5419 The breakpoint commands ``enable'', ``disable'', and ``delete'' now
5420 accept a range of breakpoints, e.g. ``5-7''.  The tracepoint command
5421 ``tracepoint passcount'' also accepts a range of tracepoints.
5422
5423 * ``apropos'' command added.
5424
5425 The ``apropos'' command searches through command names and
5426 documentation strings, printing out matches, making it much easier to
5427 try to find a command that does what you are looking for.
5428
5429 * New MI interface
5430
5431 A new machine oriented interface (MI) has been added to GDB.  This
5432 interface is designed for debug environments running GDB as a separate
5433 process.  This is part of the long term libGDB project.  See the
5434 "GDB/MI" chapter of the GDB manual for further information.  It can be
5435 enabled by configuring with:
5436
5437         .../configure --enable-gdbmi
5438
5439 *** Changes in GDB-4.18:
5440
5441 * New native configurations
5442
5443 HP-UX 10.20                                     hppa*-*-hpux10.20
5444 HP-UX 11.x                                      hppa*-*-hpux11.0*
5445 M68K GNU/Linux                                  m68*-*-linux*
5446
5447 * New targets
5448
5449 Fujitsu FR30                                    fr30-*-elf*
5450 Intel StrongARM                                 strongarm-*-*
5451 Mitsubishi D30V                                 d30v-*-*
5452
5453 * OBSOLETE configurations
5454
5455 Gould PowerNode, NP1                            np1-*-*, pn-*-*
5456
5457 Configurations that have been declared obsolete will be commented out,
5458 but the code will be left in place.  If there is no activity to revive
5459 these configurations before the next release of GDB, the sources will
5460 be permanently REMOVED.
5461
5462 * ANSI/ISO C
5463
5464 As a compatibility experiment, GDB's source files buildsym.h and
5465 buildsym.c have been converted to pure standard C, no longer
5466 containing any K&R compatibility code.  We believe that all systems in
5467 use today either come with a standard C compiler, or have a GCC port
5468 available.  If this is not true, please report the affected
5469 configuration to bug-gdb@gnu.org immediately.  See the README file for
5470 information about getting a standard C compiler if you don't have one
5471 already.
5472
5473 * Readline 2.2
5474
5475 GDB now uses readline 2.2.
5476
5477 * set extension-language
5478
5479 You can now control the mapping between filename extensions and source
5480 languages by using the `set extension-language' command.  For instance,
5481 you can ask GDB to treat .c files as C++ by saying
5482         set extension-language .c c++
5483 The command `info extensions' lists all of the recognized extensions
5484 and their associated languages.
5485
5486 * Setting processor type for PowerPC and RS/6000
5487
5488 When GDB is configured for a powerpc*-*-* or an rs6000*-*-* target,
5489 you can use the `set processor' command to specify what variant of the
5490 PowerPC family you are debugging.  The command
5491
5492         set processor NAME
5493
5494 sets the PowerPC/RS6000 variant to NAME.  GDB knows about the
5495 following PowerPC and RS6000 variants:
5496
5497   ppc-uisa  PowerPC UISA - a PPC processor as viewed by user-level code
5498   rs6000    IBM RS6000 ("POWER") architecture, user-level view
5499   403       IBM PowerPC 403
5500   403GC     IBM PowerPC 403GC
5501   505       Motorola PowerPC 505
5502   860       Motorola PowerPC 860 or 850
5503   601       Motorola PowerPC 601
5504   602       Motorola PowerPC 602
5505   603       Motorola/IBM PowerPC 603 or 603e
5506   604       Motorola PowerPC 604 or 604e
5507   750       Motorola/IBM PowerPC 750 or 750
5508
5509 At the moment, this command just tells GDB what to name the
5510 special-purpose processor registers.  Since almost all the affected
5511 registers are inaccessible to user-level programs, this command is
5512 only useful for remote debugging in its present form.
5513
5514 * HP-UX support
5515
5516 Thanks to a major code donation from Hewlett-Packard, GDB now has much
5517 more extensive support for HP-UX.  Added features include shared
5518 library support, kernel threads and hardware watchpoints for 11.00,
5519 support for HP's ANSI C and C++ compilers, and a compatibility mode
5520 for xdb and dbx commands.
5521
5522 * Catchpoints
5523
5524 HP's donation includes the new concept of catchpoints, which is a
5525 generalization of the old catch command.  On HP-UX, it is now possible
5526 to catch exec, fork, and vfork, as well as library loading.
5527
5528 This means that the existing catch command has changed; its first
5529 argument now specifies the type of catch to be set up.  See the
5530 output of "help catch" for a list of catchpoint types.
5531
5532 * Debugging across forks
5533
5534 On HP-UX, you can choose which process to debug when a fork() happens
5535 in the inferior.
5536
5537 * TUI
5538
5539 HP has donated a curses-based terminal user interface (TUI).  To get
5540 it, build with --enable-tui.  Although this can be enabled for any
5541 configuration, at present it only works for native HP debugging.
5542
5543 * GDB remote protocol additions
5544
5545 A new protocol packet 'X' that writes binary data is now available.
5546 Default behavior is to try 'X', then drop back to 'M' if the stub
5547 fails to respond.  The settable variable `remotebinarydownload'
5548 allows explicit control over the use of 'X'.
5549
5550 For 64-bit targets, the memory packets ('M' and 'm') can now contain a
5551 full 64-bit address.  The command
5552
5553         set remoteaddresssize 32
5554
5555 can be used to revert to the old behaviour.  For existing remote stubs
5556 the change should not be noticed, as the additional address information
5557 will be discarded.
5558
5559 In order to assist in debugging stubs, you may use the maintenance
5560 command `packet' to send any text string to the stub.  For instance,
5561
5562         maint packet heythere
5563
5564 sends the packet "$heythere#<checksum>".  Note that it is very easy to
5565 disrupt a debugging session by sending the wrong packet at the wrong
5566 time.
5567
5568 The compare-sections command allows you to compare section data on the
5569 target to what is in the executable file without uploading or
5570 downloading, by comparing CRC checksums.
5571
5572 * Tracing can collect general expressions
5573
5574 You may now collect general expressions at tracepoints.  This requires
5575 further additions to the target-side stub; see tracepoint.c and
5576 doc/agentexpr.texi for further details.
5577
5578 * mask-address variable for Mips
5579
5580 For Mips targets, you may control the zeroing of the upper 32 bits of
5581 a 64-bit address by entering `set mask-address on'.  This is mainly
5582 of interest to users of embedded R4xxx and R5xxx processors.
5583
5584 * Higher serial baud rates
5585
5586 GDB's serial code now allows you to specify baud rates 57600, 115200,
5587 230400, and 460800 baud.  (Note that your host system may not be able
5588 to achieve all of these rates.)
5589
5590 * i960 simulator
5591
5592 The i960 configuration now includes an initial implementation of a
5593 builtin simulator, contributed by Jim Wilson.
5594
5595
5596 *** Changes in GDB-4.17:
5597
5598 * New native configurations
5599
5600 Alpha GNU/Linux                                 alpha*-*-linux*
5601 Unixware 2.x                                    i[3456]86-unixware2*
5602 Irix 6.x                                        mips*-sgi-irix6*
5603 PowerPC GNU/Linux                               powerpc-*-linux*
5604 PowerPC Solaris                                 powerpcle-*-solaris*
5605 Sparc GNU/Linux                                 sparc-*-linux*
5606 Motorola sysV68 R3V7.1                          m68k-motorola-sysv
5607
5608 * New targets
5609
5610 Argonaut Risc Chip (ARC)                        arc-*-*
5611 Hitachi H8/300S                                 h8300*-*-*
5612 Matsushita MN10200 w/simulator                  mn10200-*-*
5613 Matsushita MN10300 w/simulator                  mn10300-*-*
5614 MIPS NEC VR4100                                 mips64*vr4100*{,el}-*-elf*
5615 MIPS NEC VR5000                                 mips64*vr5000*{,el}-*-elf*
5616 MIPS Toshiba TX39                               mips64*tx39*{,el}-*-elf*
5617 Mitsubishi D10V w/simulator                     d10v-*-*
5618 Mitsubishi M32R/D w/simulator                   m32r-*-elf*
5619 Tsqware Sparclet                                sparclet-*-*
5620 NEC V850 w/simulator                            v850-*-*
5621
5622 * New debugging protocols
5623
5624 ARM with RDI protocol                           arm*-*-*
5625 M68K with dBUG monitor                          m68*-*-{aout,coff,elf}
5626 DDB and LSI variants of PMON protocol           mips*-*-*
5627 PowerPC with DINK32 monitor                     powerpc{,le}-*-eabi
5628 PowerPC with SDS protocol                       powerpc{,le}-*-eabi
5629 Macraigor OCD (Wiggler) devices                 powerpc{,le}-*-eabi
5630
5631 * DWARF 2
5632
5633 All configurations can now understand and use the DWARF 2 debugging
5634 format.  The choice is automatic, if the symbol file contains DWARF 2
5635 information.
5636
5637 * Java frontend
5638
5639 GDB now includes basic Java language support.  This support is
5640 only useful with Java compilers that produce native machine code.
5641
5642 * solib-absolute-prefix and solib-search-path
5643
5644 For SunOS and SVR4 shared libraries, you may now set the prefix for
5645 loading absolute shared library symbol files, and the search path for
5646 locating non-absolute shared library symbol files.
5647
5648 * Live range splitting
5649
5650 GDB can now effectively debug code for which GCC has performed live
5651 range splitting as part of its optimization.  See gdb/doc/LRS for
5652 more details on the expected format of the stabs information.
5653
5654 * Hurd support
5655
5656 GDB's support for the GNU Hurd, including thread debugging, has been
5657 updated to work with current versions of the Hurd.
5658
5659 * ARM Thumb support
5660
5661 GDB's ARM target configuration now handles the ARM7T (Thumb) 16-bit
5662 instruction set.  ARM GDB automatically detects when Thumb
5663 instructions are in use, and adjusts disassembly and backtracing
5664 accordingly.
5665
5666 * MIPS16 support
5667
5668 GDB's MIPS target configurations now handle the MIP16 16-bit
5669 instruction set.
5670
5671 * Overlay support
5672
5673 GDB now includes support for overlays; if an executable has been
5674 linked such that multiple sections are based at the same address, GDB
5675 will decide which section to use for symbolic info.  You can choose to
5676 control the decision manually, using overlay commands, or implement
5677 additional target-side support and use "overlay load-target" to bring
5678 in the overlay mapping.  Do "help overlay" for more detail.
5679
5680 * info symbol
5681
5682 The command "info symbol <address>" displays information about
5683 the symbol at the specified address.
5684
5685 * Trace support
5686
5687 The standard remote protocol now includes an extension that allows
5688 asynchronous collection and display of trace data.  This requires
5689 extensive support in the target-side debugging stub.  Tracing mode
5690 includes a new interaction mode in GDB and new commands: see the
5691 file tracepoint.c for more details.
5692
5693 * MIPS simulator
5694
5695 Configurations for embedded MIPS now include a simulator contributed
5696 by Cygnus Solutions.  The simulator supports the instruction sets
5697 of most MIPS variants.
5698
5699 * Sparc simulator
5700
5701 Sparc configurations may now include the ERC32 simulator contributed
5702 by the European Space Agency.  The simulator is not built into
5703 Sparc targets by default; configure with --enable-sim to include it.
5704
5705 * set architecture
5706
5707 For target configurations that may include multiple variants of a
5708 basic architecture (such as MIPS and SH), you may now set the
5709 architecture explicitly.  "set arch" sets, "info arch" lists
5710 the possible architectures.
5711
5712 *** Changes in GDB-4.16:
5713
5714 * New native configurations
5715
5716 Windows 95, x86 Windows NT                      i[345]86-*-cygwin32
5717 M68K NetBSD                                     m68k-*-netbsd*
5718 PowerPC AIX 4.x                                 powerpc-*-aix*
5719 PowerPC MacOS                                   powerpc-*-macos*
5720 PowerPC Windows NT                              powerpcle-*-cygwin32
5721 RS/6000 AIX 4.x                                 rs6000-*-aix4*
5722
5723 * New targets
5724
5725 ARM with RDP protocol                           arm-*-*
5726 I960 with MON960                                i960-*-coff
5727 MIPS VxWorks                                    mips*-*-vxworks*
5728 MIPS VR4300 with PMON                           mips64*vr4300{,el}-*-elf*
5729 PowerPC with PPCBUG monitor                     powerpc{,le}-*-eabi*
5730 Hitachi SH3                                     sh-*-*
5731 Matra Sparclet                                  sparclet-*-*
5732
5733 * PowerPC simulator
5734
5735 The powerpc-eabi configuration now includes the PSIM simulator,
5736 contributed by Andrew Cagney, with assistance from Mike Meissner.
5737 PSIM is a very elaborate model of the PowerPC, including not only
5738 basic instruction set execution, but also details of execution unit
5739 performance and I/O hardware.  See sim/ppc/README for more details.
5740
5741 * Solaris 2.5
5742
5743 GDB now works with Solaris 2.5.
5744
5745 * Windows 95/NT native
5746
5747 GDB will now work as a native debugger on Windows 95 and Windows NT.
5748 To build it from source, you must use the "gnu-win32" environment,
5749 which uses a DLL to emulate enough of Unix to run the GNU tools.
5750 Further information, binaries, and sources are available at
5751 ftp.cygnus.com, under pub/gnu-win32.
5752
5753 * dont-repeat command
5754
5755 If a user-defined command includes the command `dont-repeat', then the
5756 command will not be repeated if the user just types return.  This is
5757 useful if the command is time-consuming to run, so that accidental
5758 extra keystrokes don't run the same command many times.
5759
5760 * Send break instead of ^C
5761
5762 The standard remote protocol now includes an option to send a break
5763 rather than a ^C to the target in order to interrupt it.  By default,
5764 GDB will send ^C; to send a break, set the variable `remotebreak' to 1.
5765
5766 * Remote protocol timeout
5767
5768 The standard remote protocol includes a new variable `remotetimeout'
5769 that allows you to set the number of seconds before GDB gives up trying
5770 to read from the target.  The default value is 2.
5771
5772 * Automatic tracking of dynamic object loading (HPUX and Solaris only)
5773
5774 By default GDB will automatically keep track of objects as they are
5775 loaded and unloaded by the dynamic linker.  By using the command `set
5776 stop-on-solib-events 1' you can arrange for GDB to stop the inferior
5777 when shared library events occur, thus allowing you to set breakpoints
5778 in shared libraries which are explicitly loaded by the inferior.
5779
5780 Note this feature does not work on hpux8.  On hpux9 you must link
5781 /usr/lib/end.o into your program.  This feature should work
5782 automatically on hpux10.
5783
5784 * Irix 5.x hardware watchpoint support
5785
5786 Irix 5 configurations now support the use of hardware watchpoints.
5787
5788 * Mips protocol "SYN garbage limit"
5789
5790 When debugging a Mips target using the `target mips' protocol, you
5791 may set the number of characters that GDB will ignore by setting
5792 the `syn-garbage-limit'.  A value of -1 means that GDB will ignore
5793 every character.  The default value is 1050.
5794
5795 * Recording and replaying remote debug sessions
5796
5797 If you set `remotelogfile' to the name of a file, gdb will write to it
5798 a recording of a remote debug session.  This recording may then be
5799 replayed back to gdb using "gdbreplay".  See gdbserver/README for
5800 details.  This is useful when you have a problem with GDB while doing
5801 remote debugging; you can make a recording of the session and send it
5802 to someone else, who can then recreate the problem.
5803
5804 * Speedups for remote debugging
5805
5806 GDB includes speedups for downloading and stepping MIPS systems using
5807 the IDT monitor, fast downloads to the Hitachi SH E7000 emulator,
5808 and more efficient S-record downloading.
5809
5810 * Memory use reductions and statistics collection
5811
5812 GDB now uses less memory and reports statistics about memory usage.
5813 Try the `maint print statistics' command, for example.
5814
5815 *** Changes in GDB-4.15:
5816
5817 * Psymtabs for XCOFF
5818
5819 The symbol reader for AIX GDB now uses partial symbol tables.  This
5820 can greatly improve startup time, especially for large executables.
5821
5822 * Remote targets use caching
5823
5824 Remote targets now use a data cache to speed up communication with the
5825 remote side.  The data cache could lead to incorrect results because
5826 it doesn't know about volatile variables, thus making it impossible to
5827 debug targets which use memory mapped I/O devices. `set remotecache
5828 off' turns the the data cache off.
5829
5830 * Remote targets may have threads
5831
5832 The standard remote protocol now includes support for multiple threads
5833 in the target system, using new protocol commands 'H' and 'T'.  See
5834 gdb/remote.c for details.
5835
5836 * NetROM support
5837
5838 If GDB is configured with `--enable-netrom', then it will include
5839 support for the NetROM ROM emulator from XLNT Designs.  The NetROM
5840 acts as though it is a bank of ROM on the target board, but you can
5841 write into it over the network.  GDB's support consists only of
5842 support for fast loading into the emulated ROM; to debug, you must use
5843 another protocol, such as standard remote protocol.  The usual
5844 sequence is something like
5845
5846         target nrom <netrom-hostname>
5847         load <prog>
5848         target remote <netrom-hostname>:1235
5849
5850 * Macintosh host
5851
5852 GDB now includes support for the Apple Macintosh, as a host only.  It
5853 may be run as either an MPW tool or as a standalone application, and
5854 it can debug through the serial port.  All the usual GDB commands are
5855 available, but to the target command, you must supply "serial" as the
5856 device type instead of "/dev/ttyXX".  See mpw-README in the main
5857 directory for more information on how to build.  The MPW configuration
5858 scripts */mpw-config.in support only a few targets, and only the
5859 mips-idt-ecoff target has been tested.
5860
5861 * Autoconf
5862
5863 GDB configuration now uses autoconf.  This is not user-visible,
5864 but does simplify configuration and building.
5865
5866 * hpux10
5867
5868 GDB now supports hpux10.
5869
5870 *** Changes in GDB-4.14:
5871
5872 * New native configurations
5873
5874 x86 FreeBSD                                     i[345]86-*-freebsd
5875 x86 NetBSD                                      i[345]86-*-netbsd
5876 NS32k NetBSD                                    ns32k-*-netbsd
5877 Sparc NetBSD                                    sparc-*-netbsd
5878
5879 * New targets
5880
5881 A29K VxWorks                                    a29k-*-vxworks
5882 HP PA PRO embedded (WinBond W89K & Oki OP50N)   hppa*-*-pro*
5883 CPU32 EST-300 emulator                          m68*-*-est*
5884 PowerPC ELF                                     powerpc-*-elf
5885 WDC 65816                                       w65-*-*
5886
5887 * Alpha OSF/1 support for procfs
5888
5889 GDB now supports procfs under OSF/1-2.x and higher, which makes it
5890 possible to attach to running processes.  As the mounting of the /proc
5891 filesystem is optional on the Alpha, GDB automatically determines
5892 the availability of /proc during startup.  This can lead to problems
5893 if /proc is unmounted after GDB has been started.
5894
5895 * Arguments to user-defined commands
5896
5897 User commands may accept up to 10 arguments separated by whitespace.
5898 Arguments are accessed within the user command via $arg0..$arg9.  A
5899 trivial example:
5900 define adder
5901   print $arg0 + $arg1 + $arg2
5902
5903 To execute the command use:
5904 adder 1 2 3
5905
5906 Defines the command "adder" which prints the sum of its three arguments.
5907 Note the arguments are text substitutions, so they may reference variables,
5908 use complex expressions, or even perform inferior function calls.
5909
5910 * New `if' and `while' commands
5911
5912 This makes it possible to write more sophisticated user-defined
5913 commands.  Both commands take a single argument, which is the
5914 expression to evaluate, and must be followed by the commands to
5915 execute, one per line, if the expression is nonzero, the list being
5916 terminated by the word `end'.  The `if' command list may include an
5917 `else' word, which causes the following commands to be executed only
5918 if the expression is zero.
5919
5920 * Fortran source language mode
5921
5922 GDB now includes partial support for Fortran 77.  It will recognize
5923 Fortran programs and can evaluate a subset of Fortran expressions, but
5924 variables and functions may not be handled correctly.  GDB will work
5925 with G77, but does not yet know much about symbols emitted by other
5926 Fortran compilers.
5927
5928 * Better HPUX support
5929
5930 Most debugging facilities now work on dynamic executables for HPPAs
5931 running hpux9 or later.  You can attach to running dynamically linked
5932 processes, but by default the dynamic libraries will be read-only, so
5933 for instance you won't be able to put breakpoints in them.  To change
5934 that behavior do the following before running the program:
5935
5936         adb -w a.out
5937         __dld_flags?W 0x5
5938         control-d
5939
5940 This will cause the libraries to be mapped private and read-write.
5941 To revert to the normal behavior, do this:
5942
5943         adb -w a.out
5944         __dld_flags?W 0x4
5945         control-d
5946
5947 You cannot set breakpoints or examine data in the library until after
5948 the library is loaded if the function/data symbols do not have
5949 external linkage.
5950
5951 GDB can now also read debug symbols produced by the HP C compiler on
5952 HPPAs (sorry, no C++, Fortran or 68k support).
5953
5954 * Target byte order now dynamically selectable
5955
5956 You can choose which byte order to use with a target system, via the
5957 commands "set endian big" and "set endian little", and you can see the
5958 current setting by using "show endian".  You can also give the command
5959 "set endian auto", in which case GDB will use the byte order
5960 associated with the executable.  Currently, only embedded MIPS
5961 configurations support dynamic selection of target byte order.
5962
5963 * New DOS host serial code
5964
5965 This version uses DPMI interrupts to handle buffered I/O, so you
5966 no longer need to run asynctsr when debugging boards connected to
5967 a PC's serial port.
5968
5969 *** Changes in GDB-4.13:
5970
5971 * New "complete" command
5972
5973 This lists all the possible completions for the rest of the line, if it
5974 were to be given as a command itself.  This is intended for use by emacs.
5975
5976 * Trailing space optional in prompt
5977
5978 "set prompt" no longer adds a space for you after the prompt you set.  This
5979 allows you to set a prompt which ends in a space or one that does not.
5980
5981 * Breakpoint hit counts
5982
5983 "info break" now displays a count of the number of times the breakpoint
5984 has been hit.  This is especially useful in conjunction with "ignore"; you
5985 can ignore a large number of breakpoint hits, look at the breakpoint info
5986 to see how many times the breakpoint was hit, then run again, ignoring one
5987 less than that number, and this will get you quickly to the last hit of
5988 that breakpoint.
5989
5990 * Ability to stop printing at NULL character
5991
5992 "set print null-stop" will cause GDB to stop printing the characters of
5993 an array when the first NULL is encountered.  This is useful when large
5994 arrays actually contain only short strings.
5995
5996 * Shared library breakpoints
5997
5998 In SunOS 4.x, SVR4, and Alpha OSF/1 configurations, you can now set
5999 breakpoints in shared libraries before the executable is run.
6000
6001 * Hardware watchpoints
6002
6003 There is a new hardware breakpoint for the watch command for sparclite
6004 targets.  See gdb/sparclite/hw_breakpoint.note.
6005
6006 Hardware watchpoints are also now supported under GNU/Linux.
6007  
6008 * Annotations
6009
6010 Annotations have been added.  These are for use with graphical interfaces,
6011 and are still experimental.  Currently only gdba.el uses these.
6012
6013 * Improved Irix 5 support
6014
6015 GDB now works properly with Irix 5.2.
6016
6017 * Improved HPPA support
6018
6019 GDB now works properly with the latest GCC and GAS.
6020
6021 * New native configurations
6022
6023 Sequent PTX4                            i[34]86-sequent-ptx4
6024 HPPA running OSF/1                      hppa*-*-osf*
6025 Atari TT running SVR4                   m68*-*-sysv4*
6026 RS/6000 LynxOS                          rs6000-*-lynxos*
6027
6028 * New targets
6029
6030 OS/9000                                 i[34]86-*-os9k
6031 MIPS R4000                              mips64*{,el}-*-{ecoff,elf}
6032 Sparc64                                 sparc64-*-*
6033
6034 * Hitachi SH7000 and E7000-PC ICE support
6035
6036 There is now support for communicating with the Hitachi E7000-PC ICE.
6037 This is available automatically when GDB is configured for the SH.
6038
6039 * Fixes
6040
6041 As usual, a variety of small fixes and improvements, both generic
6042 and configuration-specific.  See the ChangeLog for more detail.
6043
6044 *** Changes in GDB-4.12:
6045
6046 * Irix 5 is now supported
6047
6048 * HPPA support
6049
6050 GDB-4.12 on the HPPA has a number of changes which make it unable
6051 to debug the output from the currently released versions of GCC and
6052 GAS (GCC 2.5.8 and GAS-2.2 or PAGAS-1.36).  Until the next major release
6053 of GCC and GAS, versions of these tools designed to work with GDB-4.12
6054 can be retrieved via anonymous ftp from jaguar.cs.utah.edu:/dist.
6055
6056
6057 *** Changes in GDB-4.11:
6058
6059 * User visible changes:
6060
6061 * Remote Debugging
6062
6063 The "set remotedebug" option is now consistent between the mips remote
6064 target, remote targets using the gdb-specific protocol, UDI (AMD's
6065 debug protocol for the 29k) and the 88k bug monitor.  It is now an
6066 integer specifying a debug level (normally 0 or 1, but 2 means more
6067 debugging info for the mips target).
6068
6069 * DEC Alpha native support
6070
6071 GDB now works on the DEC Alpha.  GCC 2.4.5 does not produce usable
6072 debug info, but GDB works fairly well with the DEC compiler and should
6073 work with a future GCC release.  See the README file for a few
6074 Alpha-specific notes.
6075
6076 * Preliminary thread implementation
6077
6078 GDB now has preliminary thread support for both SGI/Irix and LynxOS.
6079
6080 * LynxOS native and target support for 386
6081
6082 This release has been hosted on LynxOS 2.2, and also can be configured
6083 to remotely debug programs running under LynxOS (see gdb/gdbserver/README
6084 for details).
6085
6086 * Improvements in C++ mangling/demangling.
6087
6088 This release has much better g++ debugging, specifically in name 
6089 mangling/demangling, virtual function calls, print virtual table,
6090 call methods, ...etc.
6091
6092 *** Changes in GDB-4.10:
6093
6094  * User visible changes:
6095
6096 Remote debugging using the GDB-specific (`target remote') protocol now
6097 supports the `load' command.  This is only useful if you have some
6098 other way of getting the stub to the target system, and you can put it
6099 somewhere in memory where it won't get clobbered by the download.
6100
6101 Filename completion now works.
6102
6103 When run under emacs mode, the "info line" command now causes the
6104 arrow to point to the line specified.  Also, "info line" prints
6105 addresses in symbolic form (as well as hex).
6106
6107 All vxworks based targets now support a user settable option, called
6108 vxworks-timeout.  This option represents the number of seconds gdb
6109 should wait for responses to rpc's.  You might want to use this if
6110 your vxworks target is, perhaps, a slow software simulator or happens
6111 to be on the far side of a thin network line.
6112
6113  * DEC alpha support
6114
6115 This release contains support for using a DEC alpha as a GDB host for
6116 cross debugging.  Native alpha debugging is not supported yet.
6117
6118
6119 *** Changes in GDB-4.9:
6120
6121  * Testsuite
6122
6123 This is the first GDB release which is accompanied by a matching testsuite.
6124 The testsuite requires installation of dejagnu, which should be available
6125 via ftp from most sites that carry GNU software.
6126
6127  * C++ demangling
6128
6129 'Cfront' style demangling has had its name changed to 'ARM' style, to
6130 emphasize that it was written from the specifications in the C++ Annotated
6131 Reference Manual, not necessarily to be compatible with AT&T cfront.  Despite
6132 disclaimers, it still generated too much confusion with users attempting to
6133 use gdb with AT&T cfront.
6134
6135  * Simulators
6136
6137 GDB now uses a standard remote interface to a simulator library.
6138 So far, the library contains simulators for the Zilog Z8001/2, the
6139 Hitachi H8/300, H8/500 and Super-H.
6140
6141  * New targets supported
6142
6143 H8/300 simulator                        h8300-hitachi-hms or h8300hms
6144 H8/500 simulator                        h8500-hitachi-hms or h8500hms
6145 SH simulator                            sh-hitachi-hms    or sh
6146 Z8000 simulator                         z8k-zilog-none    or z8ksim
6147 IDT MIPS board over serial line         mips-idt-ecoff
6148
6149 Cross-debugging to GO32 targets is supported.  It requires a custom
6150 version of the i386-stub.c module which is integrated with the 
6151 GO32 memory extender.
6152
6153  * New remote protocols
6154
6155 MIPS remote debugging protocol.
6156
6157  * New source languages supported
6158
6159 This version includes preliminary support for Chill, a Pascal like language
6160 used by telecommunications companies.  Chill support is also being integrated
6161 into the GNU compiler, but we don't know when it will be publically available.
6162
6163
6164 *** Changes in GDB-4.8:
6165
6166  * HP Precision Architecture supported
6167
6168 GDB now supports HP PA-RISC machines running HPUX.  A preliminary
6169 version of this support was available as a set of patches from the
6170 University of Utah.  GDB does not support debugging of programs
6171 compiled with the HP compiler, because HP will not document their file
6172 format.  Instead, you must use GCC (version 2.3.2 or later) and PA-GAS
6173 (as available from jaguar.cs.utah.edu:/dist/pa-gas.u4.tar.Z).
6174
6175 Many problems in the preliminary version have been fixed.
6176
6177  * Faster and better demangling
6178
6179 We have improved template demangling and fixed numerous bugs in the GNU style
6180 demangler.  It can now handle type modifiers such as `static' or `const'.  Wide
6181 character types (wchar_t) are now supported.  Demangling of each symbol is now
6182 only done once, and is cached when the symbol table for a file is read in.
6183 This results in a small increase in memory usage for C programs, a moderate
6184 increase in memory usage for C++ programs, and a fantastic speedup in
6185 symbol lookups.
6186
6187 `Cfront' style demangling still doesn't work with AT&T cfront.  It was written
6188 from the specifications in the Annotated Reference Manual, which AT&T's
6189 compiler does not actually implement.
6190
6191  * G++ multiple inheritance compiler problem
6192
6193 In the 2.3.2 release of gcc/g++, how the compiler resolves multiple
6194 inheritance lattices was reworked to properly discover ambiguities.  We
6195 recently found an example which causes this new algorithm to fail in a
6196 very subtle way, producing bad debug information for those classes.
6197 The file 'gcc.patch' (in this directory) can be applied to gcc to
6198 circumvent the problem.  A future GCC release will contain a complete
6199 fix.
6200
6201 The previous G++ debug info problem (mentioned below for the gdb-4.7
6202 release) is fixed in gcc version 2.3.2.
6203
6204  * Improved configure script
6205
6206 The `configure' script will now attempt to guess your system type if
6207 you don't supply a host system type.  The old scheme of supplying a
6208 host system triplet is preferable over using this.  All the magic is
6209 done in the new `config.guess' script.  Examine it for details.
6210
6211 We have also brought our configure script much more in line with the FSF's
6212 version.  It now supports the --with-xxx options.  In particular,
6213 `--with-minimal-bfd' can be used to make the GDB binary image smaller.
6214 The resulting GDB will not be able to read arbitrary object file formats --
6215 only the format ``expected'' to be used on the configured target system.
6216 We hope to make this the default in a future release.
6217
6218  * Documentation improvements
6219
6220 There's new internal documentation on how to modify GDB, and how to
6221 produce clean changes to the code.  We implore people to read it
6222 before submitting changes.
6223
6224 The GDB manual uses new, sexy Texinfo conditionals, rather than arcane
6225 M4 macros.  The new texinfo.tex is provided in this release.  Pre-built
6226 `info' files are also provided.  To build `info' files from scratch,
6227 you will need the latest `makeinfo' release, which will be available in
6228 a future texinfo-X.Y release.
6229
6230 *NOTE*  The new texinfo.tex can cause old versions of TeX to hang.
6231 We're not sure exactly which versions have this problem, but it has
6232 been seen in 3.0.  We highly recommend upgrading to TeX version 3.141
6233 or better.  If that isn't possible, there is a patch in
6234 `texinfo/tex3patch' that will modify `texinfo/texinfo.tex' to work
6235 around this problem.
6236
6237  * New features
6238
6239 GDB now supports array constants that can be used in expressions typed in by
6240 the user.  The syntax is `{element, element, ...}'.  Ie: you can now type
6241 `print {1, 2, 3}', and it will build up an array in memory malloc'd in
6242 the target program.
6243
6244 The new directory `gdb/sparclite' contains a program that demonstrates
6245 how the sparc-stub.c remote stub runs on a Fujitsu SPARClite processor.
6246
6247  * New native hosts supported
6248
6249 HP/PA-RISC under HPUX using GNU tools   hppa1.1-hp-hpux
6250 386 CPUs running SCO Unix 3.2v4         i386-unknown-sco3.2v4
6251
6252  * New targets supported
6253
6254 AMD 29k family via UDI                  a29k-amd-udi  or  udi29k
6255
6256  * New file formats supported
6257
6258 BFD now supports reading HP/PA-RISC executables (SOM file format?),
6259 HPUX core files, and SCO 3.2v2 core files.
6260
6261  * Major bug fixes
6262
6263 Attaching to processes now works again; thanks for the many bug reports.
6264
6265 We have also stomped on a bunch of core dumps caused by
6266 printf_filtered("%s") problems.
6267
6268 We eliminated a copyright problem on the rpc and ptrace header files
6269 for VxWorks, which was discovered at the last minute during the 4.7
6270 release.  You should now be able to build a VxWorks GDB.
6271
6272 You can now interrupt gdb while an attached process is running.  This
6273 will cause the attached process to stop, and give control back to GDB.
6274
6275 We fixed problems caused by using too many file descriptors
6276 for reading symbols from object files and libraries.  This was
6277 especially a problem for programs that used many (~100) shared
6278 libraries.
6279
6280 The `step' command now only enters a subroutine if there is line number
6281 information for the subroutine.  Otherwise it acts like the `next'
6282 command.  Previously, `step' would enter subroutines if there was
6283 any debugging information about the routine.  This avoids problems
6284 when using `cc -g1' on MIPS machines.
6285
6286  * Internal improvements
6287
6288 GDB's internal interfaces have been improved to make it easier to support
6289 debugging of multiple languages in the future.
6290
6291 GDB now uses a common structure for symbol information internally.
6292 Minimal symbols (derived from linkage symbols in object files), partial
6293 symbols (from a quick scan of debug information), and full symbols
6294 contain a common subset of information, making it easier to write
6295 shared code that handles any of them.
6296
6297  * New command line options
6298
6299 We now accept --silent as an alias for --quiet.
6300
6301  * Mmalloc licensing
6302
6303 The memory-mapped-malloc library is now licensed under the GNU Library
6304 General Public License.
6305
6306 *** Changes in GDB-4.7:
6307
6308  * Host/native/target split
6309
6310 GDB has had some major internal surgery to untangle the support for
6311 hosts and remote targets.  Now, when you configure GDB for a remote
6312 target, it will no longer load in all of the support for debugging
6313 local programs on the host.  When fully completed and tested, this will
6314 ensure that arbitrary host/target combinations are possible.
6315
6316 The primary conceptual shift is to separate the non-portable code in
6317 GDB into three categories.  Host specific code is required any time GDB
6318 is compiled on that host, regardless of the target.  Target specific
6319 code relates to the peculiarities of the target, but can be compiled on
6320 any host.  Native specific code is everything else:  it can only be
6321 built when the host and target are the same system.  Child process
6322 handling and core file support are two common `native' examples.
6323
6324 GDB's use of /proc for controlling Unix child processes is now cleaner.
6325 It has been split out into a single module under the `target_ops' vector,
6326 plus two native-dependent functions for each system that uses /proc.
6327
6328  * New hosts supported
6329
6330 HP/Apollo 68k (under the BSD domain)    m68k-apollo-bsd  or  apollo68bsd
6331 386 CPUs running various BSD ports      i386-unknown-bsd  or  386bsd
6332 386 CPUs running SCO Unix               i386-unknown-scosysv322  or  i386sco
6333
6334  * New targets supported
6335
6336 Fujitsu SPARClite                       sparclite-fujitsu-none  or  sparclite
6337 68030 and CPU32                         m68030-*-*, m68332-*-*
6338
6339  * New native hosts supported
6340
6341 386 CPUs running various BSD ports      i386-unknown-bsd  or  386bsd
6342     (386bsd is not well tested yet)
6343 386 CPUs running SCO Unix               i386-unknown-scosysv322  or  sco
6344
6345  * New file formats supported
6346
6347 BFD now supports COFF files for the Zilog Z8000 microprocessor.  It
6348 supports reading of `a.out.adobe' object files, which are an a.out
6349 format extended with minimal information about multiple sections.
6350
6351  * New commands
6352
6353 `show copying' is the same as the old `info copying'.
6354 `show warranty' is the same as `info warrantee'.
6355 These were renamed for consistency.  The old commands continue to work.
6356
6357 `info handle' is a new alias for `info signals'.
6358
6359 You can now define pre-command hooks, which attach arbitrary command
6360 scripts to any command.  The commands in the hook will be executed
6361 prior to the user's command.  You can also create a hook which will be
6362 executed whenever the program stops.  See gdb.texinfo.
6363
6364  * C++ improvements
6365
6366 We now deal with Cfront style name mangling, and can even extract type
6367 info from mangled symbols.  GDB can automatically figure out which
6368 symbol mangling style your C++ compiler uses.
6369
6370 Calling of methods and virtual functions has been improved as well.
6371
6372  * Major bug fixes
6373
6374 The crash that occured when debugging Sun Ansi-C compiled binaries is
6375 fixed.  This was due to mishandling of the extra N_SO stabs output
6376 by the compiler.
6377
6378 We also finally got Ultrix 4.2 running in house, and fixed core file
6379 support, with help from a dozen people on the net.
6380
6381 John M. Farrell discovered that the reason that single-stepping was so
6382 slow on all of the Mips based platforms (primarily SGI and DEC) was
6383 that we were trying to demangle and lookup a symbol used for internal
6384 purposes on every instruction that was being stepped through.  Changing
6385 the name of that symbol so that it couldn't be mistaken for a C++
6386 mangled symbol sped things up a great deal.
6387
6388 Rich Pixley sped up symbol lookups in general by getting much smarter
6389 about when C++ symbol mangling is necessary.  This should make symbol
6390 completion (TAB on the command line) much faster.  It's not as fast as
6391 we'd like, but it's significantly faster than gdb-4.6.
6392
6393  * AMD 29k support
6394
6395 A new user controllable variable 'call_scratch_address' can
6396 specify the location of a scratch area to be used when GDB
6397 calls a function in the target.  This is necessary because the
6398 usual method of putting the scratch area on the stack does not work
6399 in systems that have separate instruction and data spaces.
6400
6401 We integrated changes to support the 29k UDI (Universal Debugger
6402 Interface), but discovered at the last minute that we didn't have all
6403 of the appropriate copyright paperwork.  We are working with AMD to
6404 resolve this, and hope to have it available soon.
6405
6406  * Remote interfaces
6407
6408 We have sped up the remote serial line protocol, especially for targets
6409 with lots of registers.  It now supports a new `expedited status' ('T')
6410 message which can be used in place of the existing 'S' status message.
6411 This allows the remote stub to send only the registers that GDB
6412 needs to make a quick decision about single-stepping or conditional
6413 breakpoints, eliminating the need to fetch the entire register set for
6414 each instruction being stepped through.
6415
6416 The GDB remote serial protocol now implements a write-through cache for
6417 registers, only re-reading the registers if the target has run.
6418
6419 There is also a new remote serial stub for SPARC processors.  You can
6420 find it in gdb-4.7/gdb/sparc-stub.c.  This was written to support the
6421 Fujitsu SPARClite processor, but will run on any stand-alone SPARC
6422 processor with a serial port.
6423
6424  * Configuration
6425
6426 Configure.in files have become much easier to read and modify.  A new
6427 `table driven' format makes it more obvious what configurations are
6428 supported, and what files each one uses.
6429
6430  * Library changes
6431
6432 There is a new opcodes library which will eventually contain all of the
6433 disassembly routines and opcode tables.  At present, it only contains
6434 Sparc and Z8000 routines.  This will allow the assembler, debugger, and
6435 disassembler (binutils/objdump) to share these routines.
6436
6437 The libiberty library is now copylefted under the GNU Library General
6438 Public License.  This allows more liberal use, and was done so libg++
6439 can use it.  This makes no difference to GDB, since the Library License
6440 grants all the rights from the General Public License.
6441
6442  * Documentation
6443
6444 The file gdb-4.7/gdb/doc/stabs.texinfo is a (relatively) complete
6445 reference to the stabs symbol info used by the debugger.  It is (as far
6446 as we know) the only published document on this fascinating topic.  We
6447 encourage you to read it, compare it to the stabs information on your
6448 system, and send improvements on the document in general (to
6449 bug-gdb@prep.ai.mit.edu).
6450
6451 And, of course, many bugs have been fixed.
6452
6453
6454 *** Changes in GDB-4.6:
6455
6456  * Better support for C++ function names
6457
6458 GDB now accepts as input the "demangled form" of C++ overloaded function
6459 names and member function names, and can do command completion on such names
6460 (using TAB, TAB-TAB, and ESC-?).  The names have to be quoted with a pair of
6461 single quotes.  Examples are 'func (int, long)' and 'obj::operator==(obj&)'.
6462 Make use of command completion, it is your friend.
6463
6464 GDB also now accepts a variety of C++ mangled symbol formats.  They are
6465 the GNU g++ style, the Cfront (ARM) style, and the Lucid (lcc) style.
6466 You can tell GDB which format to use by doing a 'set demangle-style {gnu,
6467 lucid, cfront, auto}'.  'gnu' is the default.  Do a 'set demangle-style foo'
6468 for the list of formats.
6469
6470  * G++ symbol mangling problem
6471
6472 Recent versions of gcc have a bug in how they emit debugging information for
6473 C++ methods (when using dbx-style stabs).  The file 'gcc.patch' (in this
6474 directory) can be applied to gcc to fix the problem.  Alternatively, if you
6475 can't fix gcc, you can #define GCC_MANGLE_BUG when compling gdb/symtab.c. The
6476 usual symptom is difficulty with setting breakpoints on methods.  GDB complains
6477 about the method being non-existent.  (We believe that version 2.2.2 of GCC has
6478 this problem.)
6479
6480  * New 'maintenance' command
6481
6482 All of the commands related to hacking GDB internals have been moved out of
6483 the main command set, and now live behind the 'maintenance' command.  This
6484 can also be abbreviated as 'mt'.  The following changes were made:
6485
6486         dump-me ->              maintenance dump-me
6487         info all-breakpoints -> maintenance info breakpoints
6488         printmsyms ->           maintenance print msyms
6489         printobjfiles ->        maintenance print objfiles
6490         printpsyms ->           maintenance print psymbols
6491         printsyms ->            maintenance print symbols
6492
6493 The following commands are new:
6494
6495         maintenance demangle    Call internal GDB demangler routine to
6496                                 demangle a C++ link name and prints the result.
6497         maintenance print type  Print a type chain for a given symbol
6498
6499  * Change to .gdbinit file processing
6500
6501 We now read the $HOME/.gdbinit file before processing the argv arguments
6502 (e.g. reading symbol files or core files).  This allows global parameters to
6503 be set, which will apply during the symbol reading.  The ./.gdbinit is still
6504 read after argv processing.
6505
6506  * New hosts supported
6507
6508 Solaris-2.0 !!!                         sparc-sun-solaris2  or  sun4sol2
6509
6510 GNU/Linux support                       i386-unknown-linux  or  linux
6511
6512 We are also including code to support the HP/PA running BSD and HPUX.  This
6513 is almost guaranteed not to work, as we didn't have time to test or build it
6514 for this release.  We are including it so that the more adventurous (or
6515 masochistic) of you can play with it.  We also had major problems with the
6516 fact that the compiler that we got from HP doesn't support the -g option.
6517 It costs extra.
6518
6519  * New targets supported
6520
6521 Hitachi H8/300                          h8300-hitachi-hms  or  h8300hms
6522
6523  * More smarts about finding #include files
6524
6525 GDB now remembers the compilation directory for all include files, and for
6526 all files from which C is generated (like yacc and lex sources).  This
6527 greatly improves GDB's ability to find yacc/lex sources, and include files,
6528 especially if you are debugging your program from a directory different from
6529 the one that contains your sources.
6530
6531 We also fixed a bug which caused difficulty with listing and setting
6532 breakpoints in include files which contain C code.  (In the past, you had to
6533 try twice in order to list an include file that you hadn't looked at before.)
6534
6535  * Interesting infernals change
6536
6537 GDB now deals with arbitrary numbers of sections, where the symbols for each
6538 section must be relocated relative to that section's landing place in the
6539 target's address space.  This work was needed to support ELF with embedded
6540 stabs used by Solaris-2.0.
6541
6542  * Bug fixes (of course!)
6543
6544 There have been loads of fixes for the following things:
6545         mips, rs6000, 29k/udi, m68k, g++, type handling, elf/dwarf, m88k,
6546         i960, stabs, DOS(GO32), procfs, etc...
6547
6548 See the ChangeLog for details.
6549
6550 *** Changes in GDB-4.5:
6551
6552  * New machines supported (host and target)
6553
6554 IBM RS6000 running AIX                  rs6000-ibm-aix  or rs6000
6555
6556 SGI Irix-4.x                            mips-sgi-irix4  or iris4
6557
6558  * New malloc package
6559
6560 GDB now uses a new memory manager called mmalloc, based on gmalloc.
6561 Mmalloc is capable of handling mutiple heaps of memory.  It is also
6562 capable of saving a heap to a file, and then mapping it back in later.
6563 This can be used to greatly speedup the startup of GDB by using a
6564 pre-parsed symbol table which lives in a mmalloc managed heap.  For
6565 more details, please read mmalloc/mmalloc.texi.
6566
6567  * info proc
6568
6569 The 'info proc' command (SVR4 only) has been enhanced quite a bit.  See
6570 'help info proc' for details.
6571
6572  * MIPS ecoff symbol table format
6573
6574 The code that reads MIPS symbol table format is now supported on all hosts.
6575 Thanks to MIPS for releasing the sym.h and symconst.h files to make this
6576 possible.
6577
6578  * File name changes for MS-DOS
6579
6580 Many files in the config directories have been renamed to make it easier to
6581 support GDB on MS-DOSe systems (which have very restrictive file name
6582 conventions :-( ).  MS-DOSe host support (under DJ Delorie's GO32
6583 environment) is close to working but has some remaining problems.  Note
6584 that debugging of DOS programs is not supported, due to limitations
6585 in the ``operating system'', but it can be used to host cross-debugging.
6586
6587  * Cross byte order fixes
6588
6589 Many fixes have been made to support cross debugging of Sparc and MIPS
6590 targets from hosts whose byte order differs.
6591
6592  * New -mapped and -readnow options
6593
6594 If memory-mapped files are available on your system through the 'mmap'
6595 system call, you can use the -mapped option on the `file' or
6596 `symbol-file' commands to cause GDB to write the symbols from your
6597 program into a reusable file.  If the program you are debugging is
6598 called `/path/fred', the mapped symbol file will be `./fred.syms'.
6599 Future GDB debugging sessions will notice the presence of this file,
6600 and will quickly map in symbol information from it, rather than reading
6601 the symbol table from the executable program.  Using the '-mapped'
6602 option in a GDB `file' or `symbol-file' command has the same effect as
6603 starting GDB with the '-mapped' command-line option.
6604
6605 You can cause GDB to read the entire symbol table immediately by using
6606 the '-readnow' option with any of the commands that load symbol table
6607 information (or on the GDB command line).  This makes the command
6608 slower, but makes future operations faster.
6609
6610 The -mapped and -readnow options are typically combined in order to
6611 build a `fred.syms' file that contains complete symbol information.
6612 A simple GDB invocation to do nothing but build a `.syms' file for future
6613 use is:
6614
6615         gdb -batch -nx -mapped -readnow programname
6616
6617 The `.syms' file is specific to the host machine on which GDB is run.
6618 It holds an exact image of GDB's internal symbol table.  It cannot be
6619 shared across multiple host platforms.
6620
6621  * longjmp() handling
6622
6623 GDB is now capable of stepping and nexting over longjmp(), _longjmp(), and
6624 siglongjmp() without losing control.  This feature has not yet been ported to
6625 all systems.  It currently works on many 386 platforms, all MIPS-based
6626 platforms (SGI, DECstation, etc), and Sun3/4.
6627
6628  * Solaris 2.0
6629
6630 Preliminary work has been put in to support the new Solaris OS from Sun.  At
6631 this time, it can control and debug processes, but it is not capable of
6632 reading symbols.
6633
6634  * Bug fixes
6635
6636 As always, many many bug fixes.  The major areas were with g++, and mipsread.
6637 People using the MIPS-based platforms should experience fewer mysterious
6638 crashes and trashed symbol tables.
6639
6640 *** Changes in GDB-4.4:
6641
6642  * New machines supported (host and target)
6643
6644 SCO Unix on i386 IBM PC clones          i386-sco-sysv   or  i386sco
6645         (except core files)
6646 BSD Reno on Vax                         vax-dec-bsd
6647 Ultrix on Vax                           vax-dec-ultrix
6648
6649  * New machines supported (target)
6650
6651 AMD 29000 embedded, using EBMON         a29k-none-none
6652
6653  * C++ support
6654
6655 GDB continues to improve its handling of C++.  `References' work better.
6656 The demangler has also been improved, and now deals with symbols mangled as
6657 per the Annotated C++ Reference Guide.
6658
6659 GDB also now handles `stabs' symbol information embedded in MIPS
6660 `ecoff' symbol tables.  Since the ecoff format was not easily
6661 extensible to handle new languages such as C++, this appeared to be a
6662 good way to put C++ debugging info into MIPS binaries.  This option
6663 will be supported in the GNU C compiler, version 2, when it is
6664 released.
6665
6666  * New features for SVR4
6667
6668 GDB now handles SVR4 shared libraries, in the same fashion as SunOS
6669 shared libraries.  Debugging dynamically linked programs should present
6670 only minor differences from debugging statically linked programs.
6671
6672 The `info proc' command will print out information about any process
6673 on an SVR4 system (including the one you are debugging).  At the moment,
6674 it prints the address mappings of the process.
6675
6676 If you bring up GDB on another SVR4 system, please send mail to
6677 bug-gdb@prep.ai.mit.edu to let us know what changes were reqired (if any).
6678
6679  * Better dynamic linking support in SunOS
6680
6681 Reading symbols from shared libraries which contain debugging symbols
6682 now works properly.  However, there remain issues such as automatic
6683 skipping of `transfer vector' code during function calls, which
6684 make it harder to debug code in a shared library, than to debug the
6685 same code linked statically.
6686
6687  * New Getopt
6688
6689 GDB is now using the latest `getopt' routines from the FSF.  This
6690 version accepts the -- prefix for options with long names.  GDB will
6691 continue to accept the old forms (-option and +option) as well.
6692 Various single letter abbreviations for options have been explicity
6693 added to the option table so that they won't get overshadowed in the
6694 future by other options that begin with the same letter.
6695
6696  * Bugs fixed
6697
6698 The `cleanup_undefined_types' bug that many of you noticed has been squashed.
6699 Many assorted bugs have been handled.  Many more remain to be handled.
6700 See the various ChangeLog files (primarily in gdb and bfd) for details.
6701
6702
6703 *** Changes in GDB-4.3:
6704
6705  * New machines supported (host and target)
6706
6707 Amiga 3000 running Amix                 m68k-cbm-svr4   or  amix
6708 NCR 3000 386 running SVR4               i386-ncr-svr4   or  ncr3000
6709 Motorola Delta 88000 running Sys V      m88k-motorola-sysv  or  delta88
6710
6711  * Almost SCO Unix support
6712
6713 We had hoped to support:
6714 SCO Unix on i386 IBM PC clones          i386-sco-sysv   or  i386sco
6715 (except for core file support), but we discovered very late in the release
6716 that it has problems with process groups that render gdb unusable.  Sorry
6717 about that.  I encourage people to fix it and post the fixes.
6718
6719  * Preliminary ELF and DWARF support
6720
6721 GDB can read ELF object files on System V Release 4, and can handle
6722 debugging records for C, in DWARF format, in ELF files.  This support
6723 is preliminary.  If you bring up GDB on another SVR4 system, please
6724 send mail to bug-gdb@prep.ai.mit.edu to let us know what changes were
6725 reqired (if any).
6726
6727  * New Readline
6728
6729 GDB now uses the latest `readline' library.  One user-visible change
6730 is that two tabs will list possible command completions, which previously
6731 required typing M-? (meta-question mark, or ESC ?).
6732
6733  * Bugs fixed
6734
6735 The `stepi' bug that many of you noticed has been squashed.
6736 Many bugs in C++ have been handled.  Many more remain to be handled.
6737 See the various ChangeLog files (primarily in gdb and bfd) for details.
6738
6739  * State of the MIPS world (in case you wondered):
6740
6741 GDB can understand the symbol tables emitted by the compilers
6742 supplied by most vendors of MIPS-based machines, including DEC.  These
6743 symbol tables are in a format that essentially nobody else uses.
6744
6745 Some versions of gcc come with an assembler post-processor called
6746 mips-tfile.  This program is required if you want to do source-level
6747 debugging of gcc-compiled programs.  I believe FSF does not ship
6748 mips-tfile with gcc version 1, but it will eventually come with gcc
6749 version 2.
6750
6751 Debugging of g++ output remains a problem.  g++ version 1.xx does not
6752 really support it at all.  (If you're lucky, you should be able to get
6753 line numbers and stack traces to work, but no parameters or local
6754 variables.)  With some work it should be possible to improve the
6755 situation somewhat.
6756
6757 When gcc version 2 is released, you will have somewhat better luck.
6758 However, even then you will get confusing results for inheritance and
6759 methods.
6760
6761 We will eventually provide full debugging of g++ output on
6762 DECstations.  This will probably involve some kind of stabs-in-ecoff
6763 encapulation, but the details have not been worked out yet.
6764
6765
6766 *** Changes in GDB-4.2:
6767
6768  *  Improved configuration
6769
6770 Only one copy of `configure' exists now, and it is not self-modifying.
6771 Porting BFD is simpler.  
6772
6773  *  Stepping improved
6774
6775 The `step' and `next' commands now only stop at the first instruction
6776 of a source line.  This prevents the multiple stops that used to occur
6777 in switch statements, for-loops, etc.  `Step' continues to stop if a
6778 function that has debugging information is called within the line.
6779
6780  *  Bug fixing
6781
6782 Lots of small bugs fixed.  More remain.
6783
6784  *  New host supported (not target)
6785
6786 Intel 386 PC clone running Mach         i386-none-mach
6787
6788
6789 *** Changes in GDB-4.1:
6790
6791  *  Multiple source language support
6792
6793 GDB now has internal scaffolding to handle several source languages.
6794 It determines the type of each source file from its filename extension,
6795 and will switch expression parsing and number formatting to match the
6796 language of the function in the currently selected stack frame.
6797 You can also specifically set the language to be used, with
6798 `set language c' or `set language modula-2'.
6799
6800  *  GDB and Modula-2
6801
6802 GDB now has preliminary support for the GNU Modula-2 compiler,
6803 currently under development at the State University of New York at
6804 Buffalo.  Development of both GDB and the GNU Modula-2 compiler will
6805 continue through the fall of 1991 and into 1992.
6806
6807 Other Modula-2 compilers are currently not supported, and attempting to
6808 debug programs compiled with them will likely result in an error as the
6809 symbol table is read.  Feel free to work on it, though!
6810
6811 There are hooks in GDB for strict type checking and range checking,
6812 in the `Modula-2 philosophy', but they do not currently work.
6813
6814  * set write on/off
6815
6816 GDB can now write to executable and core files (e.g. patch
6817 a variable's value).   You must turn this switch on, specify
6818 the file ("exec foo" or "core foo"), *then* modify it, e.g.
6819 by assigning a new value to a variable.  Modifications take
6820 effect immediately.
6821
6822  * Automatic SunOS shared library reading
6823
6824 When you run your program, GDB automatically determines where its
6825 shared libraries (if any) have been loaded, and reads their symbols.
6826 The `share' command is no longer needed.  This also works when
6827 examining core files.
6828
6829  * set listsize
6830
6831 You can specify the number of lines that the `list' command shows.
6832 The default is 10.
6833
6834  * New machines supported (host and target)
6835
6836 SGI Iris (MIPS) running Irix V3:        mips-sgi-irix   or  iris
6837 Sony NEWS (68K) running NEWSOS 3.x:     m68k-sony-sysv  or  news
6838 Ultracomputer (29K) running Sym1:       a29k-nyu-sym1   or  ultra3
6839
6840  * New hosts supported (not targets)
6841
6842 IBM RT/PC:                              romp-ibm-aix    or  rtpc
6843
6844  * New targets supported (not hosts)
6845
6846 AMD 29000 embedded with COFF            a29k-none-coff
6847 AMD 29000 embedded with a.out           a29k-none-aout
6848 Ultracomputer remote kernel debug       a29k-nyu-kern
6849
6850  * New remote interfaces
6851
6852 AMD 29000 Adapt
6853 AMD 29000 Minimon
6854
6855
6856 *** Changes in GDB-4.0:
6857
6858  *  New Facilities
6859
6860 Wide output is wrapped at good places to make the output more readable.
6861
6862 Gdb now supports cross-debugging from a host machine of one type to a
6863 target machine of another type.  Communication with the target system
6864 is over serial lines.  The ``target'' command handles connecting to the
6865 remote system; the ``load'' command will download a program into the
6866 remote system.  Serial stubs for the m68k and i386 are provided.  Gdb
6867 also supports debugging of realtime processes running under VxWorks,
6868 using SunRPC Remote Procedure Calls over TCP/IP to talk to a debugger
6869 stub on the target system.
6870
6871 New CPUs supported include the AMD 29000 and Intel 960.
6872
6873 GDB now reads object files and symbol tables via a ``binary file'' 
6874 library, which allows a single copy of GDB to debug programs of multiple
6875 object file types such as a.out and coff.
6876
6877 There is now a GDB reference card in "doc/refcard.tex".  (Make targets
6878 refcard.dvi and refcard.ps are available to format it).
6879
6880
6881  *  Control-Variable user interface simplified
6882
6883 All variables that control the operation of the debugger can be set
6884 by the ``set'' command, and displayed by the ``show'' command.
6885
6886 For example, ``set prompt new-gdb=>'' will change your prompt to new-gdb=>.
6887 ``Show prompt'' produces the response:
6888 Gdb's prompt is new-gdb=>.
6889
6890 What follows are the NEW set commands.  The command ``help set'' will
6891 print a complete list of old and new set commands.  ``help set FOO''
6892 will give a longer description of the variable FOO.  ``show'' will show
6893 all of the variable descriptions and their current settings.
6894
6895 confirm on/off:  Enables warning questions for operations that are
6896                  hard to recover from, e.g. rerunning the program while
6897                  it is already running.  Default is ON.
6898
6899 editing on/off:  Enables EMACS style command line editing 
6900                  of input.  Previous lines can be recalled with 
6901                  control-P, the current line can be edited with control-B,
6902                  you can search for commands with control-R, etc.
6903                  Default is ON.
6904
6905 history filename NAME:  NAME is where the gdb command history 
6906                         will be stored.  The default is .gdb_history,
6907                         or the value of the environment variable
6908                         GDBHISTFILE.
6909
6910 history size N:  The size, in commands, of the command history.  The 
6911                  default is 256, or the value of the environment variable
6912                  HISTSIZE.
6913
6914 history save on/off: If this value is set to ON, the history file will
6915                       be saved after exiting gdb.  If set to OFF, the 
6916                       file will not be saved.  The default is OFF.
6917
6918 history expansion on/off: If this value is set to ON, then csh-like 
6919                           history expansion will be performed  on 
6920                           command line input.  The default is OFF.
6921
6922 radix N:  Sets the default radix for input and output.  It can be set
6923           to 8, 10, or 16.  Note that the argument to "radix" is interpreted
6924           in the current radix, so "set radix 10" is always a no-op.
6925
6926 height N: This integer value is the number of lines on a page. Default
6927           is 24, the current `stty rows'' setting, or the ``li#''
6928           setting from the termcap entry matching the environment
6929           variable TERM.
6930
6931 width N:  This integer value is the number of characters on a line.
6932           Default is 80, the current `stty cols'' setting, or the ``co#''
6933           setting from the termcap entry matching the environment
6934           variable TERM.
6935
6936 Note: ``set screensize'' is obsolete. Use ``set height'' and
6937 ``set width'' instead.
6938
6939 print address on/off:  Print memory addresses in various command displays,
6940                       such as stack traces and structure values.  Gdb looks
6941                       more ``symbolic'' if you turn this off; it looks more
6942                       ``machine level'' with it on.  Default is ON.
6943
6944 print array on/off:  Prettyprint arrays.  New convenient format!  Default 
6945                     is OFF.
6946
6947 print demangle on/off:   Print C++ symbols in "source" form if on,
6948                         "raw" form if off.
6949
6950 print asm-demangle on/off:  Same, for assembler level printouts
6951                         like instructions.
6952
6953 print vtbl on/off:  Prettyprint C++ virtual function tables.  Default is OFF.
6954
6955
6956  *  Support for Epoch Environment.
6957
6958 The epoch environment is a version of Emacs v18 with windowing.  One
6959 new command, ``inspect'', is identical to ``print'', except that if you
6960 are running in the epoch environment, the value is printed in its own
6961 window.
6962
6963
6964  *  Support for Shared Libraries
6965
6966 GDB can now debug programs and core files that use SunOS shared libraries.
6967 Symbols from a shared library cannot be referenced
6968 before the shared library has been linked with the program (this
6969 happens after you type ``run'' and before the function main() is entered).
6970 At any time after this linking (including when examining core files
6971 from dynamically linked programs), gdb reads the symbols from each
6972 shared library when you type the ``sharedlibrary'' command.
6973 It can be abbreviated ``share''.
6974
6975 sharedlibrary REGEXP:  Load shared object library symbols for files 
6976                        matching a unix regular expression.  No argument
6977                        indicates to load symbols for all shared libraries.
6978
6979 info sharedlibrary:  Status of loaded shared libraries.
6980
6981
6982  *  Watchpoints
6983
6984 A watchpoint stops execution of a program whenever the value of an
6985 expression changes.  Checking for this slows down execution
6986 tremendously whenever you are in the scope of the expression, but is
6987 quite useful for catching tough ``bit-spreader'' or pointer misuse
6988 problems.  Some machines such as the 386 have hardware for doing this
6989 more quickly, and future versions of gdb will use this hardware.
6990
6991 watch EXP:  Set a watchpoint (breakpoint) for an expression.
6992
6993 info watchpoints:  Information about your watchpoints.
6994
6995 delete N:   Deletes watchpoint number N (same as breakpoints).
6996 disable N:  Temporarily turns off watchpoint number N (same as breakpoints).
6997 enable N:   Re-enables watchpoint number N (same as breakpoints).
6998
6999
7000  *  C++ multiple inheritance
7001
7002 When used with a GCC version 2 compiler, GDB supports multiple inheritance
7003 for C++ programs.
7004
7005  *  C++ exception handling
7006
7007 Gdb now supports limited C++ exception handling.  Besides the existing
7008 ability to breakpoint on an exception handler, gdb can breakpoint on
7009 the raising of an exception (before the stack is peeled back to the
7010 handler's context).
7011
7012 catch FOO:  If there is a FOO exception handler in the dynamic scope,
7013             set a breakpoint to catch exceptions which may be raised there.
7014             Multiple exceptions (``catch foo bar baz'') may be caught.
7015
7016 info catch:  Lists all exceptions which may be caught in the
7017              current stack frame.
7018
7019
7020  *  Minor command changes
7021
7022 The command ``call func (arg, arg, ...)'' now acts like the print
7023 command, except it does not print or save a value if the function's result
7024 is void.  This is similar to dbx usage.
7025
7026 The ``up'' and ``down'' commands now always print the frame they end up
7027 at; ``up-silently'' and `down-silently'' can be used in scripts to change
7028 frames without printing.
7029
7030  *  New directory command
7031
7032 'dir' now adds directories to the FRONT of the source search path.
7033 The path starts off empty.  Source files that contain debug information
7034 about the directory in which they were compiled can be found even
7035 with an empty path; Sun CC and GCC include this information.  If GDB can't
7036 find your source file in the current directory, type "dir .".
7037
7038  * Configuring GDB for compilation
7039
7040 For normal use, type ``./configure host''.  See README or gdb.texinfo
7041 for more details.
7042
7043 GDB now handles cross debugging.  If you are remotely debugging between 
7044 two different machines, type ``./configure host -target=targ''.
7045 Host is the machine where GDB will run; targ is the machine
7046 where the program that you are debugging will run.