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