PR c++/16597
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
... / ...
CommitLineData
12014-04-16 Doug Evans <dje@google.com>
2
3 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
4 Add comment.
5 (gdbserver_default_get_comm_port): New function.
6 (gdbserver_start): Check if board file provided
7 "gdbserver,get_comm_port" and use it if so.
8 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
9 (gdb,socketport): Set to "stdio".
10 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
11 (stdio_gdbserver_template): Delete.
12 (${board}_get_remote_address): Update.
13 (${board}_build_remote_cmd): Delete.
14 (${board}_get_comm_port): New function.
15 (${board}_spawn): Update.
16 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
17 Delete.
18 (${board}_get_remote_address): Update.
19 (${board}_get_comm_port): New function.
20
212014-04-16 Andrew Burgess <aburgess@broadcom.com>
22
23 * gdb.base/memattr.exp: Improve regexps to handle memory regions
24 appearing in any order.
25
262014-04-15 Doug Evans <dje@google.com>
27
28 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
29 uninitialized value of "description".
30
312014-04-15 Keith Seitz <keiths@redhat.com>
32
33 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
34 Remove unused globals.
35 (test_running_the_program): Likewise.
36 (test_controlled_execution): Likewise.
37 (test_controlling_breakpoints): Likewise.
38 (test_program_termination): Likewise.
39
402014-04-15 Keith Seitz <keiths@redhat.com>
41
42 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
43 unused globals.
44 (test_rbreak_creation_and_listing): Likewise.
45 (test_ignore_count): Likewise.
46 (test_error): Likewise.
47
482014-04-15 Pedro Alves <palves@redhat.com>
49
50 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
51 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
52 sym-file-loader.c.
53 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
54 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
55 to sym-file-loader.c.
56 (struct library): Forward declare.
57 (load_shlib, lookup_function): Change prototypes.
58 (find_shstrtab, find_strtab, find_shdr, find_symtab)
59 (translate_offset): Remove declarations.
60 (get_text_addr): New declaration.
61 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
62 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
63 sym-file-loader.h.
64 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
65 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
66 here from sym-file-loader.h.
67 (struct library): New structure.
68 (load_shlib, lookup_function): Change prototypes and adjust to
69 work with a struct library.
70 (find_shstrtab, find_strtab, find_shdr, find_symtab)
71 (translate_offset): Make static.
72 (get_text_addr): New function.
73 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
74
752014-04-15 Pedro Alves <palves@redhat.com>
76
77 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
78
792014-04-15 Pedro Alves <palves@redhat.com>
80
81 * gdb.base/sym-file-loader.c: Include <limits.h>.
82 (SELF_LINK): New define.
83 (get_origin): New function.
84 (load_shlib): Use it.
85 * gdb.base/sym-file.exp: Don't early return if the target is
86 remote. Use runto_main, and issue fail is that fails. Use
87 gdb_load_shlibs.
88 (shlib_name): Delete.
89 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
90
912014-04-15 Pedro Alves <palves@redhat.com>
92
93 * gdb.base/sym-file.exp: Remove regex characters from test
94 message. Don't refer to breakpoint numbers in test messages.
95
962014-04-14 Keith Seitz <keiths@redhat.com>
97
98 PR c++/16253
99 * gdb.cp/var-tag.cc: New file.
100 * gdb.cp/var-tag.exp: New file.
101 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
102 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
103 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
104 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
105
1062014-04-14 Tom Tromey <tromey@redhat.com>
107
108 * gdb.cp/classes.exp (test_enums): Handle underlying type.
109 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
110 type.
111 * gdb.cp/enum-class.exp: New file.
112 * gdb.cp/enum-class.cc: New file.
113
1142014-04-14 Tom Tromey <tromey@redhat.com>
115
116 * gdb.dwarf2/enum-type.exp: New file.
117
1182014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
119
120 * gdb.mi/mi-vla-c99.exp: New file.
121 * gdb.mi/vla.c: New file.
122
1232014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
124
125 * gdb.base/vla-datatypes.c: New file.
126 * gdb.base/vla-datatypes.exp: New file.
127
1282014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
129
130 * gdb.base/vla-ptr.c: New file.
131 * gdb.base/vla-ptr.exp: New file.
132
1332014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
134
135 * gdb.dwarf2/count.exp: New file.
136
1372014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
138
139 * gdb.base/vla-sideeffect.c: New file.
140 * gdb.base/vla-sideeffect.exp: New file.
141
1422014-04-14 David Blaikie <dblaikie@gmail.com>
143
144 * gdb.mi/non-stop.c: Add return value for non-void function return
145 statement.
146 * gdb.threads/staticthreads.c: Ditto.
147
1482014-04-12 Siva Chandra Reddy <sivachandra@google.com>
149 Doug Evans <xdje42@gmail.com>
150
151 * gdb.guile/scm-value.c: Improve test case.
152 * gdb.guile/scm-value.exp: Add new test.
153
1542014-04-11 David Blaikie <dblaikie@gmail.com>
155
156 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
157 override Clang's default.
158
1592014-04-11 Joel Brobecker <brobecker@adacore.com>
160
161 Revert the following changes (regressions):
162
163 * gdb.base/vla-sideeffect.c: New file.
164 * gdb.base/vla-sideeffect.exp: New file.
165
166 * gdb.dwarf2/count.exp: New file.
167
168 * gdb.base/vla-multi.c: New file.
169 * gdb.base/vla-multi.exp: New file.
170
171 * gdb.base/vla-ptr.c: New file.
172 * gdb.base/vla-ptr.exp: New file.
173
174 * gdb.base/vla-datatypes.c: New file.
175 * gdb.base/vla-datatypes.exp: New file.
176
177 * gdb.mi/mi-vla-c99.exp: New file.
178 * gdb.mi/vla.c: New file.
179
1802014-04-11 Keith Seitz <keiths@redhat.com>
181
182 PR c++/16675
183 * gdb.cp/cpsizeof.exp: New file.
184 * gdb.cp/cpsizeof.cc: New file.
185
1862014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
187
188 * gdb.mi/mi-vla-c99.exp: New file.
189 * gdb.mi/vla.c: New file.
190
1912014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
192
193 * gdb.base/vla-datatypes.c: New file.
194 * gdb.base/vla-datatypes.exp: New file.
195
1962014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
197
198 * gdb.base/vla-ptr.c: New file.
199 * gdb.base/vla-ptr.exp: New file.
200
2012014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
202
203 * gdb.base/vla-multi.c: New file.
204 * gdb.base/vla-multi.exp: New file.
205
2062014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
207
208 * gdb.dwarf2/count.exp: New file.
209
2102014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
211
212 * gdb.base/vla-sideeffect.c: New file.
213 * gdb.base/vla-sideeffect.exp: New file.
214
2152014-04-11 Yao Qi <yao@codesourcery.com>
216
217 * gdb.base/completion.exp: Check file exists before running tests
218 on file completion.
219
2202014-04-10 Pedro Alves <palves@redhat.com>
221
222 * gdb.base/cond-eval-mode.c: New file.
223 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
224 prepare_for_testing to build the new file. Check result of
225 runto_main.
226 (test_break, test_watch): New procedures.
227 (top level): Use them.
228
2292014-04-08 Pierre Muller <muller@sourceware.org>
230
231 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
232 Ctrl-V use for mingw hosts.
233
2342014-04-07 Siva Chandra Reddy <sivachandra@google.com>
235
236 * gdb.python/py-value.c: Improve test case.
237 * gdb.python/py-value.exp: Add new test.
238
2392014-04-07 David Blaikie <dblaikie@gmail.com>
240
241 * lib/compiler.c: Identify the clang compiler.
242 * lib/compiler.cc: Ditto.
243
2442014-04-03 Yao Qi <yao@codesourcery.com>
245
246 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
247
2482014-04-01 Anton Blanchard <anton@samba.org>
249
250 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
251 messages unique.
252
2532014-04-01 Anton Blanchard <anton@samba.org>
254
255 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
256 prepare_for_testing.
257
2582014-04-01 Anton Blanchard <anton@samba.org>
259
260 * gdb.arch/ppc64-atomic-inst.c: Remove.
261 * gdb.arch/ppc64-atomic-inst.S: New file.
262 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
263
2642014-03-31 Doug Evans <dje@google.com>
265
266 * gdb.base/print-symbol-loading-lib.c: New file.
267 * gdb.base/print-symbol-loading-main.c: New file.
268 * gdb.base/print-symbol-loading.exp: New file.
269
2702014-03-31 Yao Qi <yao@codesourcery.com>
271
272 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
273
2742014-03-28 Joel Brobecker <brobecker@adacore.com>
275
276 * gdb.ada/mi_dyn_arr: New testcase.
277
2782014-03-27 Doug Evans <dje@google.com>
279
280 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
281
2822014-03-27 Yao Qi <yao@codesourcery.com>
283
284 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
285 if target is nios2-*-*.
286
2872014-03-26 Yao Qi <yao@codesourcery.com>
288
289 * lib/gdb.exp (readline_is_used): New proc.
290 * gdb.base/completion.exp: Move tests on command complete up.
291 Skip the rest of tests if readline is not used.
292 * gdb.ada/complete.exp: Skp the test if readline is not
293 used.
294 * gdb.base/filesym.exp: Likewise.
295 * gdb.base/macscp.exp: Likewise.
296 * gdb.base/readline-ask.exp: Likewise.
297 * gdb.base/readline.exp: Likewise.
298 * gdb.python/py-cmd.exp: Likewise.
299 * gdb.trace/tfile.exp: Likewise.
300
3012014-03-26 Yao Qi <yao@codesourcery.com>
302
303 * gdb.base/macscp.exp: Fix code format issues.
304
3052014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
306
307 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
308 * gdb.asm/powerpc64le.inc: New file.
309
3102014-03-25 Pedro Alves <palves@redhat.com>
311 Doug Evans <dje@google.com>
312
313 * gdb.base/source-execution.c: New file.
314 * gdb.base/source-execution.exp: New file.
315 * gdb.base/source-execution.gdb: New file.
316
3172014-03-24 Doug Evans <dje@google.com>
318
319 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
320 using fission.
321
3222014-03-24 Hui Zhu <hui@codesourcery.com>
323 Pedro Alves <palves@redhat.com>
324
325 PR breakpoints/16101
326 * gdb.base/dprintf.exp: Use unsupported rather than changing the
327 test pass/fail messages. Detect missing support for dprintf when
328 breakpoints are actually inserted.
329 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
330 breakpoints are actually inserted.
331 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
332 fails.
333
3342014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
335
336 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
337
3382014-03-22 Doug Evans <xdje42@gmail.com>
339
340 * gdb.python/python.exp (python not supported): Verify multi-line
341 python command issues an error.
342 * gdb.guile/guile.exp (guile not supported): Verify multi-line
343 guile command issues an error.
344
3452014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
346
347 * gdb.threads/thread-specific.exp: Handle the lack of usable
348 $this_breakpoint and $this_thread.
349
3502014-03-21 Hui Zhu <hui@codesourcery.com>
351
352 * gdb.base/attach.exp (do_command_attach_tests): New.
353
3542014-03-20 Tom Tromey <tromey@redhat.com>
355 Pedro Alves <palves@redhat.com>
356
357 PR cli/15718
358 * gdb.base/condbreak-call-false.c: New file.
359 * gdb.base/condbreak-call-false.exp: New file.
360
3612014-03-20 Pedro Alves <palves@redhat.com>
362
363 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
364 Delete.
365 (block_signals, unblock_signals): Delete.
366 (child_function_2, main): Remove references to deleted variable
367 and functions.
368
3692014-03-20 Pedro Alves <palves@redhat.com>
370
371 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
372 Use pthread_kill to signal thread 2.
373 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
374 Adjust to make the test send itself a signal rather than using the
375 host's "kill" command.
376
3772014-03-20 Pedro Alves <palves@redhat.com>
378
379 * gdb.threads/multiple-step-overs.c: New file.
380 * gdb.threads/multiple-step-overs.exp: New file.
381 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
382 Adjust expected infrun debug output.
383
3842014-03-20 Pedro Alves <palves@redhat.com>
385
386 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
387 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
388
3892014-03-20 Pedro Alves <palves@redhat.com>
390
391 PR breakpoints/7143
392 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
393 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
394 of gdb_test_multiple.
395 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
396 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
397
3982014-03-20 Pedro Alves <palves@redhat.com>
399
400 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
401 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
402
4032014-03-19 Pedro Alves <palves@redhat.com>
404
405 * gdb.base/async.exp: Remove early return.
406
4072014-03-19 Pedro Alves <palves@redhat.com>
408
409 * gdb.base/async.exp (step& tests): Pass explicit test messages.
410
4112014-03-19 Pedro Alves <palves@redhat.com>
412
413 * gdb.base/async.exp (test_background): Expect \r\n after
414 "completed." in the fail pattern.
415
4162014-03-19 Pedro Alves <palves@redhat.com>
417
418 * gdb.base/async.exp (test_background): New procedure.
419 Use it for all background execution command tests.
420
4212014-03-19 Pedro Alves <palves@redhat.com>
422
423 * gdb.base/async.exp: Use prepare_for_testing.
424
4252014-03-19 Pedro Alves <palves@redhat.com>
426
427 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
428 the same line.
429
4302014-03-19 Pedro Alves <palves@redhat.com>
431
432 * gdb.base/async.c (main): Add "jump here" and "until here" line
433 marker comments.
434 * gdb.base/async.exp (jump_here): New global.
435 (jump& test): Use it.
436 (until_here): New global.
437 (until& test): Use it.
438
4392014-03-19 Pedro Alves <palves@redhat.com>
440
441 * gdb.base/async.exp: Don't frob gdb_protocol.
442
4432014-03-18 Doug Evans <xdje42@gmail.com>
444
445 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
446 Fix spelling of exec-done-display.
447
4482014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
449
450 PR gdb/15358
451 * gdb.base/gdb-sigterm.c: New file.
452 * gdb.base/gdb-sigterm.exp: New file.
453
4542014-03-18 Pedro Alves <palves@redhat.com>
455
456 PR gdb/13860
457 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
458 * lib/mi-support.exp (mi_expect_stop): Add special handling for
459 solib-event.
460
4612014-03-17 Joel Brobecker <brobecker@adacore.com>
462
463 * gdb.ada/pckd_arr_ren: New testcase.
464
4652014-03-13 Doug Evans <xdje42@gmail.com>
466
467 PR guile/16612
468 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
469 collect after discarding symbols.
470
4712014-03-13 Ludovic Courtès <ludo@gnu.org>
472 Doug Evans <xdje42@gmail.com>
473
474 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
475 to history survives a gc.
476
4772014-03-13 Pedro Alves <palves@redhat.com>
478
479 * gdb.base/default.exp: Don't test "target procfs".
480
4812014-03-13 Pedro Alves <palves@redhat.com>
482
483 * gdb.base/default.exp: Update "target child" and "target procfs"
484 tests to not expect "Unix".
485
4862014-03-12 Tom Tromey <tromey@redhat.com>
487
488 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
489 New procs. Add target-async tests.
490 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
491 Add target-async tests.
492
4932014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
494
495 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
496 'func_start' and 'func_end' for the beginning and end of the
497 function code, respectively.
498 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
499 'func_end' instead of 'func' and 'main'.
500
5012014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
502
503 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
504 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
505 generate the debug info assembler source.
506
5072014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
508
509 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
510 * gdb.dwarf2/arr-subrange.exp: Likewise.
511 * gdb.dwarf2/dwz.exp: Likewise.
512 * gdb.dwarf2/method-ptr.exp: Likewise.
513 * gdb.dwarf2/missing-sig-type.exp: Likewise.
514 * gdb.dwarf2/subrange.exp: Likewise.
515 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
516 * gdb.dwarf2/implptrpiece.exp: Likewise.
517 * gdb.dwarf2/nostaticblock.exp: Likewise.
518
5192014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
520
521 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
522 directory to absolute path name arguments.
523
5242014-03-10 Joel Brobecker <brobecker@adacore.com>
525
526 * gdb.ada/tagged_access: New testcase.
527
5282014-03-07 Markus Metzger <markus.t.metzger@intel.com>
529
530 * gdb.btrace/data.exp: Update expected output.
531
5322014-03-06 Yao Qi <yao@codesourcery.com>
533
534 * gdb.trace/pr16508.exp: New file.
535
5362014-03-05 Pedro Alves <palves@redhat.com>
537
538 PR gdb/16575
539 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
540 procedure.
541 (top level): Adjust to use it. Add tests that exercise breakpoint
542 interaction with the code-cache.
543
5442014-02-26 Ludovic Courtès <ludo@gnu.org>
545
546 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
547 test for 'history-append!'.
548
5492014-02-26 Joel Brobecker <brobecker@adacore.com>
550
551 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
552 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
553 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
554 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
555 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
556 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
557
5582014-02-26 Joel Brobecker <brobecker@adacore.com>
559
560 * testsuite/gdb.python/py-pp-re-notag.c: New file.
561 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
562 * testsuite/gdb.python/py-pp-re-notag.p: New file.
563
5642014-02-26 Joel Brobecker <brobecker@adacore.com>
565
566 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
567
5682014-02-26 Joel Brobecker <brobecker@adacore.com>
569
570 * gdb.dwarf2/arr-stride.c: New file.
571 * gdb.dwarf2/arr-stride.exp: New file.
572
5732014-02-26 Pedro Alves <palves@redhat.com>
574
575 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
576 that won't ever trigger. Make sure that GDB reports the correct
577 breakpoint that caused the stop.
578
5792014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
580
581 PR gdb/16626
582 * gdb.base/auto-load-script: New file.
583 * gdb.base/auto-load.c: New file.
584 * gdb.base/auto-load.exp: New file.
585
586 PR gdb/16626
587 * gdb.base/auto-load.exp: Fix out-of-srctree run.
588
5892014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
590
591 Fix dw2-icycle.exp -fsanitize=address GDB crash.
592 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
593
5942014-02-24 Doug Evans <dje@google.com>
595
596 * lib/gdb.exp (run_on_host): Log error output if program fails.
597
5982014-02-21 Pedro Alves <palves@redhat.com>
599
600 * gdb.threads/step-after-sr-lock.c: Rename to ...
601 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
602 * gdb.threads/step-after-sr-lock.exp: Rename to ...
603 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
604 ... this.
605
6062014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
607
608 PR tdep/16397
609 * gdb.arch/amd64-stap-special-operands.exp: New file.
610 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
611 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
612 * gdb.arch/amd64-stap-triplet.S: Likewise.
613 * gdb.arch/amd64-stap-triplet.c: Likewise.
614
6152014-02-20 Joel Brobecker <brobecker@adacore.com>
616
617 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
618 in .section pseudo-op.
619
6202014-02-20 lin zuojian <manjian2006@gmail.com>
621 Joel Brobecker <brobecker@adacore.com>
622 Doug Evans <xdje42@gmail.com>
623
624 PR symtab/16581
625 * gdb.dwarf2/dw2-icycle.S: New file.
626 * gdb.dwarf2/dw2-icycle.c: New file.
627 * gdb.dwarf2/dw2-icycle.exp: New file.
628
6292014-02-19 Siva Chandra Reddy <sivachandra@google.com>
630
631 * gdb.python/py-value-cc.cc: Improve test case to enable testing
632 operations on gdb.Value objects.
633 * gdb.python/py-value-cc.exp: Add new test to test operations on
634 gdb.Value objects.
635
6362014-02-18 Doug Evans <dje@google.com>
637
638 * Makefile.in (TESTS): New variable.
639 (expanded_tests, expanded_tests_or_none): New variables
640 (check-single): Pass $(expanded_tests_or_none) to runtest.
641 (check-parallel): Only run tests in $(TESTS) if non-empty.
642 (check/no-matching-tests-found): New rule.
643 * README: Document TESTS makefile variable.
644
6452014-02-18 Doug Evans <dje@google.com>
646
647 * Makefile.in (check-parallel): rm -rf outputs temp.
648
6492014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
650
651 Fix "ERROR: no fileid for" in the testsuite.
652 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
653
6542014-02-12 Doug Evans <dje@google.com>
655
656 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
657 (MISCELLANEOUS): New variable.
658 (clean): rm -rf $(MISCELLANEOUS).
659 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
660 dwp live in the same directory as symlinks, with each symlink pointed
661 to a differently named file in a different directory.
662
6632014-02-11 Doug Evans <dje@google.com>
664
665 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
666 of Tcl file commands.
667
6682014-02-10 Mark Kettenis <kettenis@gnu.org>
669
670 * gdb.threads/step-after-sr-lock.exp: Avoid executing
671 "kill -SIGUSR1 -1".
672
6732014-02-10 Joel Brobecker <brobecker@adacore.com>
674
675 * gdb.ada/tick_length_array_enum_idx: New testcase.
676
6772014-02-10 Doug Evans <xdje42@gmail.com>
678
679 * configure.ac (AC_OUTPUT): Add gdb.guile.
680 * configure: Regenerate.
681 * lib/gdb-guile.exp: New file.
682 * lib/gdb.exp (get_target_charset): New function.
683 * gdb.base/help.exp: Update expected output from "apropos apropos".
684 * gdb.guile/Makefile.in: New file.
685 * gdb.guile/guile.exp: New file.
686 * gdb.guile/scm-arch.c: New file.
687 * gdb.guile/scm-arch.exp: New file.
688 * gdb.guile/scm-block.c: New file.
689 * gdb.guile/scm-block.exp: New file.
690 * gdb.guile/scm-breakpoint.c: New file.
691 * gdb.guile/scm-breakpoint.exp: New file.
692 * gdb.guile/scm-disasm.c: New file.
693 * gdb.guile/scm-disasm.exp: New file.
694 * gdb.guile/scm-equal.c: New file.
695 * gdb.guile/scm-equal.exp: New file.
696 * gdb.guile/scm-error.exp: New file.
697 * gdb.guile/scm-error.scm: New file.
698 * gdb.guile/scm-frame-args.c: New file.
699 * gdb.guile/scm-frame-args.exp: New file.
700 * gdb.guile/scm-frame-args.scm: New file.
701 * gdb.guile/scm-frame-inline.c: New file.
702 * gdb.guile/scm-frame-inline.exp: New file.
703 * gdb.guile/scm-frame.c: New file.
704 * gdb.guile/scm-frame.exp: New file.
705 * gdb.guile/scm-generics.exp: New file.
706 * gdb.guile/scm-gsmob.exp: New file.
707 * gdb.guile/scm-iterator.c: New file.
708 * gdb.guile/scm-iterator.exp: New file.
709 * gdb.guile/scm-math.c: New file.
710 * gdb.guile/scm-math.exp: New file.
711 * gdb.guile/scm-objfile-script-gdb.in: New file.
712 * gdb.guile/scm-objfile-script.c: New file.
713 * gdb.guile/scm-objfile-script.exp: New file.
714 * gdb.guile/scm-objfile.c: New file.
715 * gdb.guile/scm-objfile.exp: New file.
716 * gdb.guile/scm-ports.exp: New file.
717 * gdb.guile/scm-pretty-print.c: New file.
718 * gdb.guile/scm-pretty-print.exp: New file.
719 * gdb.guile/scm-pretty-print.scm: New file.
720 * gdb.guile/scm-section-script.c: New file.
721 * gdb.guile/scm-section-script.exp: New file.
722 * gdb.guile/scm-section-script.scm: New file.
723 * gdb.guile/scm-symbol.c: New file.
724 * gdb.guile/scm-symbol.exp: New file.
725 * gdb.guile/scm-symtab-2.c: New file.
726 * gdb.guile/scm-symtab.c: New file.
727 * gdb.guile/scm-symtab.exp: New file.
728 * gdb.guile/scm-type.c: New file.
729 * gdb.guile/scm-type.exp: New file.
730 * gdb.guile/scm-value-cc.cc: New file.
731 * gdb.guile/scm-value-cc.exp: New file.
732 * gdb.guile/scm-value.c: New file.
733 * gdb.guile/scm-value.exp: New file.
734 * gdb.guile/source2.scm: New file.
735 * gdb.guile/types-module.cc: New file.
736 * gdb.guile/types-module.exp: New file.
737
7382014-02-10 Yao Qi <yao@codesourcery.com>
739
740 PR testsuite/16543
741 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
742 * configure: Regenerated.
743 * Makefile.in: New file.
744
7452014-02-08 Andreas Schwab <schwab@linux-m68k.org>
746
747 * gdb.python/py-framefilter.exp: Fix typo.
748
7492014-02-08 Yao Qi <yao@codesourcery.com>
750
751 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
752 that no =breakpoint-modified is emitted when breakpoints are
753 modified through MI commands.
754
7552014-02-07 Pedro Alves <pedro@codesourcery.com>
756 Pedro Alves <palves@redhat.com>
757
758 * gdb.threads/step-after-sr-lock.c: New file.
759 * gdb.threads/step-after-sr-lock.exp: New file.
760
7612014-02-07 Pedro Alves <palves@redhat.com>
762
763 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
764
7652014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
766
767 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
768 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
769
7702014-02-06 Doug Evans <xdje42@gmail.com>
771
772 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
773 output.
774
775 * gdb.gdb/python-interrupts.exp: New file.
776
7772014-02-05 Yao Qi <yao@codesourcery.com>
778
779 * gdb.trace/report.exp (use_collected_data): Test the output
780 of "info threads" and "info inferiors".
781
7822014-02-05 Yao Qi <yao@codesourcery.com>
783
784 Revert this patch:
785
786 2013-05-24 Yao Qi <yao@codesourcery.com>
787
788 * gdb.trace/tfile.exp: Test inferior and thread.
789
7902014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
791
792 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
793 on a function.
794 * gdb.base/step-bt.c: Call hello via function pointer to make
795 sure its first instruction is executed on powerpc64le-linux.
796
7972014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
798
799 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
800
8012014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
802
803 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
804 of the test patterns for use on little-endian systems.
805
8062014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
807
808 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
809 (decimal_vector): Fix for little-endian.
810
8112014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
812
813 * gdb.arch/sparc-sysstep.exp: New file.
814 * gdb.arch/sparc-sysstep.c: Likewise.
815
816 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
817
8182014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
819
820 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
821
8222014-01-23 Tom Tromey <tromey@redhat.com>
823
824 * gdb.ada/array_char_idx: New testcase.
825
8262014-01-23 Tom Tromey <tromey@redhat.com>
827
828 PR python/16487:
829 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
830 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
831 classes.
832
8332014-01-23 Tom Tromey <tromey@redhat.com>
834
835 PR python/16491:
836 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
837 string from an inferior frame.
838 * gdb.python/py-framefilter-mi.exp: Update.
839
8402014-01-22 Doug Evans <dje@google.com>
841
842 * gdb.server/server-mon.exp: Add tests for "set debug-format".
843
8442014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
845
846 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
847
8482014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
849
850 * gdb.trace/entry-values.exp: Remove excess space character from
851 regex patterns. Handle s390 call instruction.
852
8532014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
854
855 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
856 define "*_start" label. Make "name" static.
857 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
858 ${name} by references to ${name}_start.
859
8602014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
861
862 * gdb.base/info-macros.exp: Remove "debug" from the compile
863 options.
864
8652014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
866
867 * gdb.dlang/demangle.exp: New file.
868
8692014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
870
871 * gdb.dlang/primitive-types.exp: New file.
872
8732014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
874
875 * configure.ac: Create gdb.dlang/Makefile.
876 * configure: Regenerate.
877 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
878 * gdb.dlang/Makefile.in: New file.
879 * lib/d-support.exp: New file.
880 * lib/gdb.exp (skip_d_tests): New proc.
881
8822014-01-16 Markus Metzger <markus.t.metzger@intel.com>
883
884 * gdb.btrace/delta.exp: Check reverse stepi.
885 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
886 * gdb.btrace/finish.exp: New.
887 * gdb.btrace/next.exp: New.
888 * gdb.btrace/nexti.exp: New.
889 * gdb.btrace/record_goto.c: Add comments.
890 * gdb.btrace/step.exp: New.
891 * gdb.btrace/stepi.exp: New.
892 * gdb.btrace/multi-thread-step.c: New.
893 * gdb.btrace/multi-thread-step.exp: New.
894 * gdb.btrace/rn-dl-bind.c: New.
895 * gdb.btrace/rn-dl-bind.exp: New.
896 * gdb.btrace/data.c: New.
897 * gdb.btrace/data.exp: New.
898 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
899
9002014-01-16 Markus Metzger <markus.t.metzger@intel.com>
901
902 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
903 * gdb.btrace/exception.exp: Update.
904 * gdb.btrace/instruction_history.exp: Update.
905 * gdb.btrace/record_goto.exp: Update.
906 * gdb.btrace/tailcall.exp: Update.
907 * gdb.btrace/unknown_functions.exp: Update.
908 * gdb.btrace/delta.exp: New.
909
9102014-01-16 Markus Metzger <markus.t.metzger@intel.com>
911
912 * gdb.btrace/record_goto.exp: Add backtrace test.
913 * gdb.btrace/tailcall.exp: Add backtrace test.
914
9152014-01-16 Markus Metzger <markus.t.metzger@intel.com>
916
917 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
918 * gdb.btrace/record_goto.c: New.
919 * gdb.btrace/record_goto.exp: New.
920 * gdb.btrace/x86-record_goto.S: New.
921
9222014-01-16 Markus Metzger <markus.t.metzger@intel.com>
923
924 * gdb.btrace/function_call_history.exp: Update tests.
925 * gdb.btrace/instruction_history.exp: Update tests.
926
9272014-01-16 Markus Metzger <markus.t.metzger@intel.com>
928
929 * gdb.btrace/function_call_history.exp: Fix expected field
930 order for "record function-call-history".
931 Add new tests for "record function-call-history /c".
932 * gdb.btrace/exception.cc: New.
933 * gdb.btrace/exception.exp: New.
934 * gdb.btrace/tailcall.exp: New.
935 * gdb.btrace/x86-tailcall.S: New.
936 * gdb.btrace/x86-tailcall.c: New.
937 * gdb.btrace/unknown_functions.c: New.
938 * gdb.btrace/unknown_functions.exp: New.
939 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
940
9412014-01-16 Markus Metzger <markus.t.metzger@intel.com>
942
943 * gdb.btrace/instruction_history.exp: Update.
944 * gdb.btrace/function_call_history.exp: Update.
945
9462014-01-16 Markus Metzger <markus.t.metzger@intel.com>
947
948 * gdb.btrace/function_call_history.exp: Fix expected function
949 trace.
950 * gdb.btrace/instruction_history.exp: Initialize traced.
951 Remove traced_functions.
952
9532014-01-16 Markus Metzger <markus.t.metzger@intel.com>
954
955 * gdb.btrace/function_call_history.exp: Update
956 * gdb.btrace/instruction_history.exp: Update.
957
9582014-01-16 Markus Metzger <markus.t.metzger@intel.com>
959
960 * gdb.btrace/enable.exp: Update expected text.
961
9622014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
963
964 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
965 bytes.
966
9672014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
968
969 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
970
9712014-01-15 Omair Javaid <omair.javaid@linaro.org>
972
973 * lib/gdb.exp (supports_process_record): Return true for
974 arm*-linux*. (supports_reverse): Likewise.
975
9762014-01-13 Siva Chandra Reddy <sivachandra@google.com>
977
978 PR python/15464
979 PR python/16113
980 * gdb.python/py-type.c: Enhance test case.
981 * gdb.python/py-value-cc.cc: Likewise
982 * gdb.python/py-type.exp: Add new tests.
983 * gdb.python/py-value-cc.exp: Likewise
984
9852014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
986 Pedro Alves <palves@redhat.com>
987
988 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
989 Make "name" extern.
990 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
991 references to ${name}_start by references to ${name}.
992
9932014-01-10 Joel Brobecker <brobecker@adacore.com>
994
995 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
996
9972014-01-10 Joel Brobecker <brobecker@adacore.com>
998
999 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
1000
10012014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
1002 Pedro Alves <palves@redhat.com>
1003
1004 * gdb.mi/mi-info-os.exp: Connect to the target with
1005 mi_gdb_target_load.
1006
10072014-01-08 Pedro Alves <palves@redhat.com>
1008
1009 * gdb.threads/reconnect-signal.c: New file.
1010 * gdb.threads/reconnect-signal.exp: New file.
1011
10122014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1013
1014 * gdb.base/source-dir.exp: New file.
1015
10162014-01-07 Joel Brobecker <brobecker@adacore.com>
1017
1018 * gdb.ada/mi_interface: New testcase.
1019
10202014-01-07 Joel Brobecker <brobecker@adacore.com>
1021
1022 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
1023 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
1024 gdb.ada/pp-rec-component/pck.ads: New files.
1025
10262014-01-07 Joel Brobecker <brobecker@adacore.com>
1027
1028 * gdb.python/py-pp-integral.c: New file.
1029 * gdb.python/py-pp-integral.py: New file.
1030 * gdb.python/py-pp-integral.exp: New file.
1031
10322013-12-19 Sergio Durigan Junior <sergiodj@redhat.com>
1033
1034 PR breakpoints/16297
1035 * gdb.base/catch-syscall.c (read_syscall, pipe_syscall)
1036 (write_syscall): New variables.
1037 (main): Create a pipe, write 1 byte in it, and read 1 byte from
1038 it.
1039 * gdb.base/catch-syscall.exp (all_syscalls): Include "pipe,
1040 "write" and "read" syscalls.
1041 (fill_all_syscalls_numbers): Improve the way to obtain syscalls
1042 numbers.
1043
10442013-12-19 Keven Boell <keven.boell@intel.com>
1045
1046 * gdb.fortran/module.exp: Completion matches fortran module
1047 names as well. ptype/whatis on modules return a proper type.
1048 Add new check for having the correct scope.
1049
10502013-12-19 Keven Boell <keven.boell@intel.com>
1051
1052 * gdb.fortran/type.f90: New file.
1053 * gdb.fortran/whatis_type.f90: New file.
1054
10552013-12-18 Sergio Durigan Junior <sergiodj@redhat.com>
1056
1057 * gdb.base/catch-syscall.c: Include <sys/syscall.h>.
1058 (close_syscall, chroot_syscall, exit_group_syscall): New
1059 variables.
1060 * gdb.base/catch-syscall.exp: Replace gdb_compile by
1061 prepare_for_testing. Call fill_all_syscalls_numbers before
1062 starting. Replace gdb_exit, gdb_start, gdb_reinitialize_dir and
1063 gdb_load by clean_restart.
1064 (check_info_bp_any_syscall, check_info_bp_specific_syscall)
1065 (check_info_bp_many_syscalls): Remove global gdb_prompt.
1066 (check_call_to_syscall): Likewise. Add global decimal. Improve
1067 testing regex.
1068 (check_return_from_syscall): Likewise.
1069 (check_continue, insert_catch_syscall_with_arg): Remove global
1070 gdb_prompt.
1071 (insert_catch_syscall_with_many_args): Likewise. Add global
1072 decimal. Fix $filter_str. Improve testing regex.
1073 (check_for_program_end): Remove global gdb_prompt.
1074 (test_catch_syscall_without_args): Likewise. Add global decimal.
1075 Improve testing regex.
1076 (test_catch_syscall_with_args, test_catch_syscall_with_many_args)
1077 (test_catch_syscall_with_wrong_args)
1078 (test_catch_syscall_restarting_inferior)
1079 (test_catch_syscall_fail_nodatadir): Remove global gdb_prompt.
1080 (do_syscall_tests): Likewise. Remove global srcdir.
1081 (test_catch_syscall_without_args_noxml): Remove global gdb_prompt.
1082 Add global last_syscall_number. Test for the exact syscall number
1083 to be caught.
1084 (test_catch_syscall_with_args_noxml): Remove global gdb_prompt.
1085 Add global all_syscalls_numbers. Test each syscall number to be
1086 caught, instead of only testing "close".
1087 (test_catch_syscall_with_wrong_args_noxml): Remove global gdb_prompt.
1088 (do_syscall_tests_without_xml): Likewise. Remove global srcdir.
1089 Remove stale comment.
1090 (fill_all_syscalls_numbers): Add global last_syscall_number. Fill
1091 the correct syscall numbers using information from the inferior.
1092
10932013-12-17 Pedro Alves <palves@redhat.com>
1094
1095 * gdb.trace/circ.exp: Expect frame info to be printed when
1096 switching between frames with unavailable stack, but different
1097 functions.
1098
10992013-12-17 Andrew Burgess <aburgess@broadcom.com>
1100
1101 * gdb.trace/unavailable-dwarf-piece.c: New file.
1102 * gdb.trace/unavailable-dwarf-piece.exp: New file.
1103
11042013-12-15 Yao Qi <yao@codesourcery.com>
1105
1106 * gdb.perf/skip-prologue.c: New.
1107 * gdb.perf/skip-prologue.exp: New.
1108 * gdb.perf/skip-prologue.py: New.
1109
11102013-12-13 Joel Brobecker <brobecker@adacore.com>
1111
1112 * gdb.ada/arraydim: New testcase.
1113
11142013-12-12 Siva Chandra Reddy <sivachandra@google.com>
1115
1116 PR python/16113
1117 * gdb.python/py-value-cc.cc: Improve test case.
1118 * gdb.python/py-value-cc.exp: Add new tests to test usage of
1119 gdb.Field objects as subscripts on gdb.Value objects.
1120
11212013-12-10 Doug Evans <dje@google.com>
1122
1123 PR 16286
1124 * gdb.python/py-value.c: #include stdlib.h, string.h.
1125 (str): New struct.
1126 (main): New local xstr.
1127 * gdb.python/py-value.exp (test_value_in_inferior): Add test to
1128 fetch a value as a string with a length beyond the declared length
1129 of the array.
1130
11312013-12-10 Andrew Burgess <aburgess@broadcom.com>
1132
1133 * lib/gdb.exp (gdb_compile_shlib): Add call to get_compiler_info,
1134 update comment.
1135
11362013-12-10 Joel Brobecker <brobecker@adacore.com>
1137
1138 * gdb.ada/int_deref.exp: Add test verifying that we print
1139 the decoded symbol name when printing the address of Ada
1140 symbols.
1141
11422013-12-10 Joel Brobecker <brobecker@adacore.com>
1143
1144 * gdb.mi/mi-start.exp: Add test verifying that -list-features
1145 contains "exec-run-start-option".
1146
11472013-12-08 Yao Qi <yao@codesourcery.com>
1148
1149 * lib/gdb.exp (support_complex_tests): Use gdb_produce_source.
1150 (is_elf_target, is_ilp32_target, is_ilp64_target): Likewise.
1151 (is_64_target, is_amd64_regs_target): Likewise.
1152 (skip_altivec_tests, skip_vsx_tests, skip_btrace_tests): Likewise.
1153
11542013-12-07 Mike Frysinger <vapier@gentoo.org>
1155
1156 * gdb.ada/uninitialized_vars/parse_controlled.ads: Remove +x file mode.
1157 * gdb.base/testenv.c: Likewise.
1158
11592013-12-07 Mike Frysinger <vapier@gentoo.org>
1160
1161 * gdb.hp/gdb.base-hp/so-thresh.sh: Change /bin/ksh to /bin/sh.
1162 * gdb.hp/gdb.objdbg/tools/symaddr: Likewise.
1163 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: Likewise.
1164
11652013-12-06 Pedro Alves <palves@redhat.com>
1166
1167 * gdb.dwarf2/dw2-undefined-ret-addr.S: New file.
1168 * gdb.dwarf2/dw2-undefined-ret-addr.c: New file.
1169 * gdb.dwarf2/dw2-undefined-ret-addr.exp: New file.
1170
11712013-12-06 Doug Evans <dje@google.com>
1172
1173 * gdb.base/break.exp: Fix setting of $baz.
1174
11752013-12-06 Andrew Burgess <aburgess@broadcom.com>
1176
1177 * lib/dwarf.exp: (Dwarf::_location): Handle DW_OP_bit_piece and
1178 DW_OP_plus_uconst.
1179
11802013-12-06 Keven Boell <keven.boell@intel.com>
1181
1182 * lib/mi-support.exp (mi_list_varobj_children_range): Add
1183 call to mi_list_array_varobj_children_with_index.
1184 (mi_list_array_varobj_children_with_index): New function.
1185 Add parameter to specify array start.
1186
11872013-12-03 Jose E. Marchesi <jose.marchesi@oracle.com>
1188
1189 * gdb.base/sigall.exp (test_one_sig): gdb identifies SIGLOST as a
1190 SIGPWR in sparc64.
1191
1192 * gdb.base/sigall.c (main): In some targets SIGLOST and SIGPWR
1193 have the same signal number. Handle this situation.
1194
11952013-12-03 Joel Brobecker <brobecker@adacore.com>
1196
1197 * gdb.ada/dot_all: New testcase.
1198
11992013-12-03 Joel Brobecker <brobecker@adacore.com>
1200
1201 * gdb.mi/mi-undefined-cmd.exp: New testcase.
1202
12032013-12-03 Joel Brobecker <brobecker@adacore.com>
1204
1205 * gdb.mi/mi-i-cmd.exp: New file.
1206
12072013-12-02 Doug Evans <dje@google.com>
1208
1209 * gdb.dwarf/dwp-symlink.c: Fake out gdb to not load debug info
1210 at start.
1211 * gdb.dwarf/dwp-symlink.exp: Test trying to load dwp when the binary
1212 has been specified with a relative path and we have chdir'd before
1213 accessing the debug info.
1214
12152013-11-28 Andrew Burgess <aburgess@broadcom.com>
1216
1217 * gdb.trace/unavailable.exp (gdb_collect_args_test): Update
1218 expected results.
1219 (gdb_collect_locals_test): Likewise.
1220 (gdb_collect_globals_test): Likewise.
1221
12222013-11-28 Yao Qi <yao@codesourcery.com>
1223
1224 * lib/gdb.exp (with_gdb_prompt): New proc.
1225 * gdb.perf/disassemble.exp: New.
1226 * gdb.perf/disassemble.py: New.
1227
12282013-11-26 Luis Machado <lgustavo@codesourcery.com>
1229
1230 * gdb.base/callfuncs.c (main): Assign malloc's return value
1231 and free it afterwards.
1232 * gdb.base/charset-malloc.c (malloc_stub): Likewise.
1233 * gdb.base/printcmds.c (main): Likewise.
1234 * gdb.base/randomize.c (main): Free "p" and change breakpoint
1235 marker position.
1236 * gdb.base/setvar.c (dummy): Assign malloc's return value
1237 and free it afterwards.
1238
12392013-11-26 Andrew Burgess <aburgess@broadcom.com>
1240
1241 * gdb.base/setshow.exp: Add $gdb_prompt to the patterns in
1242 gdb_test_multiple.
1243
12442013-11-26 Tom Tromey <tromey@redhat.com>
1245
1246 * gdb.dwarf2/dw2-unspecified-ret-addr.S: Remove.
1247 * gdb.dwarf2/dw2-unspecified-ret-addr.c: Remove.
1248 * gdb.dwarf2/dw2-unspecified-ret-addr.exp: Remove.
1249
12502013-11-25 Keith Seitz <keiths@redhat.com>
1251
1252 PR c++/14819
1253 * gdb.cp/impl-this.cc: New file.
1254 * gdb.cp/impl-this.exp: New file.
1255
12562013-11-25 Yao Qi <yao@codesourcery.com>
1257
1258 * gdb.perf/backtrace.c: New.
1259 * gdb.perf/backtrace.exp: New.
1260 * gdb.perf/backtrace.py: New.
1261
12622013-11-24 Yao Qi <yao@codesourcery.com>
1263
1264 * gdb.perf/single-step.c: New.
1265 * gdb.perf/single-step.exp: New.
1266 * gdb.perf/single-step.py: New.
1267
12682013-11-23 Doug Evans <xdje42@gmail.com>
1269
1270 * gdb.base/ena-dis-br.exp: Add missing quote to "step after continue
1271 with ignore count".
1272
12732013-11-23 Doug Evans <xdje42@gmail.com>
1274
1275 * gdb.python/py-value.exp (test_lazy_strings): Tweak test names.
1276 (test_subscript_regression): Ditto.
1277 (top level): Run test_subscript_regression for c++ with "c++" prefix.
1278
12792013-11-23 Doug Evans <xdje42@gmail.com>
1280
1281 * gdb.python/py-type.exp (test_enums): Fix typo.
1282
12832013-11-23 Doug Evans <xdje42@gmail.com>
1284
1285 * gdb.python/py-symbol.exp: Add some comments. Make all test names
1286 unique.
1287
12882013-11-23 Doug Evans <xdje42@gmail.com>
1289
1290 * gdb.python/py-symbol.exp: Fix whitespace.
1291
12922013-11-23 Doug Evans <xdje42@gmail.com>
1293
1294 * gdb.python/python.exp: Don't call skip_python_tests, we still want
1295 to test some things in the case where python is not configured in.
1296
12972013-11-22 Pedro Alves <palves@redhat.com>
1298
1299 * gdb.dwarf2/dw2-bad-cfi.S: Rename to ...
1300 * gdb.dwarf2/dw2-unspecified-ret-addr.S: ... this. Adjust.
1301 * gdb.dwarf2/dw2-bad-cfi.c: Rename to ...
1302 * gdb.dwarf2/dw2-unspecified-ret-addr.c: ... this.
1303 * gdb.dwarf2/dw2-bad-cfi.exp: Rename to ...
1304 * gdb.dwarf2/dw2-unspecified-ret-addr.exp: ... this.
1305
13062013-11-22 Tom Tromey <tromey@redhat.com>
1307
1308 * gdb.dwarf2/dw2-bad-cfi.S: Update comment.
1309
13102013-11-22 Tom Tromey <tromey@redhat.com>
1311
1312 * gdb.dwarf2/dw2-bad-cfi.c: New file.
1313 * gdb.dwarf2/dw2-bad-cfi.exp: New file.
1314 * gdb.dwarf2/dw2-bad-cfi.S: New file.
1315
13162013-11-22 Pedro Alves <palves@redhat.com>
1317
1318 PR 16155
1319 * gdb.dwarf2/dw2-dup-frame.S: New file.
1320 * gdb.dwarf2/dw2-dup-frame.c: New file.
1321 * gdb.dwarf2/dw2-dup-frame.exp: New file.
1322
13232013-11-22 Yao Qi <yao@codesourcery.com>
1324
1325 * lib/mi-support.exp (mi_create_dynamic_varobj): Update
1326 comment and add one more argument "has_more".
1327 * gdb.python/py-mi.exp: Callers update.
1328
13292013-11-22 Yao Qi <yao@codesourcery.com>
1330
1331 * gdb.python/py-mi.exp: Use mi_create_floating_varobj instead
1332 of mi_create_dynamic_varobj.
1333
13342013-11-20 Pedro Alves <palves@redhat.com>
1335
1336 * gdb.base/maint.exp (maint print objfiles): Consume one line at a
1337 time, and run it through all three milestone regexes.
1338
13392013-11-20 Sanimir Agovic <sanimir.agovic@intel.com>
1340
1341 * gdb.base/eval-avoid-side-effects.exp: New file.
1342
13432013-11-20 Walfred Tedeschi <walfred.tedeschi@intel.com>
1344
1345 * gdb.arch/i386-mpx.c: New file
1346 * gdb.arch/i386-mpx.exp: New file.
1347
13482013-11-20 Walfred Tedeschi <walfred.tedeschi@intel.com>
1349
1350 * gdb.python/py-pp-maint.exp: Consider new pretty-print added
1351 for bnd registers.
1352
13532013-11-20 Walfred Tedeschi <walfred.tedeschi@intel.com>
1354
1355 * gdb.xml/maint_print_struct.xml (bitfield): Added bitfield having
1356 start and end equal 0.
1357
13582013-11-19 Yao Qi <yao@codesourcery.com>
1359
1360 * lib/mi-support.exp (mi_child_regexp): Remove 'whatever'.
1361 (mi_list_varobj_children_range): Likewise.
1362
13632013-11-19 Yao Qi <yao@codesourcery.com>
1364
1365 * lib/mi-support.exp (mi_child_regexp): Remove unnecessary '\'.
1366
13672013-11-19 Yao Qi <yao@codesourcery.com>
1368
1369 * lib/mi-support.exp: Fix format.
1370
13712013-11-19 Joel Brobecker <brobecker@adacore.com>
1372
1373 * gdb.ada/py_range: New testcase.
1374
13752013-11-18 Joel Brobecker <brobecker@adacore.com>
1376
1377 * mi-language.exp: Add "-list-features" test verifying that
1378 its output contains "language-option".
1379
13802013-11-16 Joel Brobecker <brobecker@adacore.com>
1381
1382 * info_exc/const.ads (Aint_Global_GDB_E): Renames Aint_Global_E.
1383 * info_exc/foo.adb: Adjust to new exception name.
1384 * info_exc.exp: Adjust after exception renaming in const.ads.
1385 Update "info exception global" test to test "info exceptions
1386 global_gdb" instead.
1387
1388 * mi_exc_info/const.ads (Aint_Global_GDB_E): Renames Aint_Global_E.
1389 * mi_exc_info/foo.adb (Adjust to new exception name.
1390 * mi_exc_info.exp: Adjust after exception renaming in const.ads.
1391 Update "-info-ada-exceptions global" test to test
1392 "-info-ada-exceptions global_gdb" instead.
1393
13942013-11-15 Luis Machado <lgustavo@codesourcery.com>
1395
1396 * lib/mi-support.exp (mi_gdb_test): Expect different formats
1397 of inferior output for remote and native sessions.
1398 * gdb.mi/mi-console.exp: Remove obsolete comment.
1399 Check for semihosted inferior output pattern.
1400 (semihosted_string): New function.
1401
14022013-11-15 Joel Brobecker <brobecker@adacore.com>
1403
1404 * gdb.ada/info_exc.exp: Allow other global exceptions to be
1405 listed in the output of "info exceptions".
1406 * gdb.ada/mi_exc_info.exp: Allow other global exceptions to be
1407 listed in the output of "-info-ada-exceptions".
1408
14092013-11-15 Joel Brobecker <brobecker@adacore.com>
1410
1411 * gdb.ada/info_exc.exp: Start inferior before starting
1412 the "info exceptions" tests.
1413 * gdb.ada/mi_exc_info.exp: Start inferior before starting
1414 the "-info-ada-exceptions" tests.
1415
14162013-11-15 Tom Tromey <tromey@redhat.com>
1417
1418 * gdb.cp/includefile: New file.
1419 * gdb.cp/filename.exp: New file.
1420 * gdb.cp/filename.cc: New file.
1421
14222013-11-15 Doug Evans <xdje42@gmail.com>
1423
1424 * gdb.python/py-breakpoint.exp: Make tests have unique names.
1425
14262013-11-15 Doug Evans <xdje42@gmail.com>
1427
1428 * gdb.python/py-breakpoint.exp: Reformat for 80 columns.
1429
14302013-11-15 Doug Evans <xdje42@gmail.com>
1431
1432 * gdb.python/py-breakpoint.exp: Split up into several functions,
1433 each with their own test prefix.
1434
14352013-11-15 Joel Brobecker <brobecker@adacore.com>
1436
1437 * gdb.ada/O2_float_param: New testcase.
1438
14392013-11-14 Tom Tromey <tromey@redhat.com>
1440
1441 * Makefile.in (check-parallel): Print summary from gdb.sum.
1442
14432013-11-14 Omair Javaid <Omair.Javaid@linaro.org>
1444
1445 * gdb.dwarf2/dw2-case-insensitive-debug.S: Updated compile unit
1446 and function label names.
1447 * gdb.dwarf2/dw2-case-insensitive.c: Created function and
1448 compile unit labels.
1449
14502013-11-14 Joel Brobecker <brobecker@adacore.com>
1451
1452 * gdb.mi/mi-language.exp: New file.
1453
14542013-09-17 Keith Seitz <keiths@redhat.com>
1455
1456 PR c++/7935
1457 PR c++/10541
1458 * gdb.cp/nsalias.exp: New file.
1459 * gdb.cp/nsalias.cc: New file.
1460 * gdb.cp/nsrecurs.exp: Remove kfails. Conditionally run
1461 tests only on known, working compiler versions.
1462
14632013-11-13 Tom Tromey <tromey@redhat.com>
1464
1465 * gdb.multi/multi-arch-exec.exp: Define BASEDIR when compiling.
1466 * gdb.multi/multi-arch-exec.c (main): Use BASEDIR.
1467
14682013-11-12 Doug Evans <dje@google.com>
1469
1470 * gdb.base/fileio.exp: Make $dir2 writable after the test is done
1471 so that "rm -rf $builddir" Just Works.
1472
14732013-11-12 Joel Brobecker <brobecker@adacore.com>
1474
1475 * gdb.ada/mi_exc_info: New testcase.
1476
14772013-11-12 Joel Brobecker <brobecker@adacore.com>
1478
1479 * gdb.ada/info_exc: New testcase.
1480
14812013-11-11 Doug Evans <dje@google.com>
1482
1483 * gdb.arch/arm-bl-branch-dest.exp: Use gdb_test_file_name instead
1484 of testfile.
1485
14862013-11-11 Phil Muldoon <pmuldoon@redhat.com>
1487
1488 * gdb.python/py-linetable.S: New file.
1489 * gdb.python/py-linetable.c: New file.
1490 * gdb.python/py-linetable.exp: New file.
1491
14922013-11-11 Joel Brobecker <brobecker@adacore.com>
1493
1494 * gdb.ada/mi_ex_cond: New testcase.
1495
14962013-11-07 Doug Evans <dje@google.com>
1497
1498 PR 11786
1499 * gdb.base/gcore-relro-pie.c: New file.
1500 * gdb.base/gcore-relro-pie.exp: New file.
1501
15022013-11-07 Phil Muldoon <pmuldoon@redhat.com>
1503
1504 * gdb.python/py-cmd.exp: Add COMPLETE_EXPRESSION tests.
1505 * gdb.python/py-cmd.c: New File.
1506
15072013-11-07 Phil Muldoon <pmuldoon@redhat.com>
1508
1509 * gdb.python/py-breakpoint.exp: Add temporary breakpoint tests.
1510
15112013-11-06 Doug Evans <xdje42@gmail.com>
1512
1513 * gdb.python/py-arch.exp: Tweak test name for bad memory access test.
1514
15152013-11-06 Yao Qi <yao@codesourcery.com>
1516
1517 * lib/gdb.exp (gdb_produce_source): New procedure.
1518 * gdb.perf/solib.c: New.
1519 * gdb.perf/solib.exp: New.
1520 * gdb.perf/solib.py: New.
1521
15222013-11-06 Yao Qi <yao@codesourcery.com>
1523
1524 * README: Mention performance tests.
1525
15262013-11-06 Yao Qi <yao@codesourcery.com>
1527
1528 * lib/perftest.exp: New.
1529 * gdb.perf/lib/perftest/__init__.py: New.
1530 * gdb.perf/lib/perftest/measure.py: New.
1531 * gdb.perf/lib/perftest/perftest.py: New.
1532 * gdb.perf/lib/perftest/reporter.py: New.
1533 * gdb.perf/lib/perftest/testresult.py: New.
1534
15352013-11-06 Yao Qi <yao@codesourcery.com>
1536
1537 * Makefile.in (check-perf): New target.
1538 * configure.ac (AC_OUTPUT): Output Makefile in gdb.perf.
1539 * configure: Re-generated.
1540 * gdb.perf/Makefile.in: New.
1541
15422013-11-04 Tom Tromey <tromey@redhat.com>
1543
1544 * Makefile.in (TEST_DIRS): Remove.
1545 (TEST_TARGETS, check-parallel): Rewrite.
1546 (check-gdb.%, BASE1_FILES, BASE2_FILES, check-gdb.base%)
1547 (subdir_do, subdirs): Remove.
1548 (do-check-parallel, check/%): New targets.
1549 (clean): Remove outputs, temp, and cache directories.
1550 (saw_dash_j): New variable.
1551 (CHECK_TARGET): Use it.
1552 (check): Depend on all, site.exp. Rewrite.
1553 (check-single): Remove dependencies.
1554 (slow_tests, all_tests, reordered_tests): New variables.
1555
15562013-11-04 Tom Tromey <tromey@redhat.com>
1557
1558 * gdb.dwarf2/fission-base.S: Remove "gdb.dwarf/".
1559 * gdb.dwarf2/fission-base.exp: Set debug-file-directory
1560 before loading binfile.
1561 * gdb.dwarf2/fission-loclists.S: Remove "gdb.dwarf/".
1562 * gdb.dwarf2/fission-loclists.exp: Set debug-file-directory
1563 before loading binfile.
1564
15652013-11-04 Tom Tromey <tromey@redhat.com>
1566
1567 * gdb.base/foll-exec.c (main): Use BASEDIR.
1568 * gdb.base/foll-exec.exp: Define BASEDIR during compilation.
1569 * gdb.base/foll-vfork.c (main): Use BASEDIR.
1570 * gdb.base/foll-vfork.exp: Define BASEDIR during compilation.
1571 * gdb.multi/bkpt-multi-exec.c (main): Use BASEDIR.
1572 * gdb.multi/bkpt-multi-exec.exp: Define BASEDIR during compilation.
1573
15742013-11-04 Tom Tromey <tromey@redhat.com>
1575
1576 * gdb.base/argv0-symlink.exp: Compute executable's directory
1577 dynamically.
1578
15792013-11-04 Tom Tromey <tromey@redhat.com>
1580
1581 * gdb.asm/asm-source.exp: Use standard_output_file.
1582
15832013-11-04 Tom Tromey <tromey@redhat.com>
1584
1585 * gdb.server/file-transfer.exp: Use standard_output_file.
1586
15872013-11-04 Tom Tromey <tromey@redhat.com>
1588
1589 * gdb.base/fullname.exp: Use standard_output_file,
1590 relative_filename.
1591 * gdb.base/hashline1.exp: Use standard_testfile,
1592 standard_output_file, relative_filename, clean_restart.
1593 * gdb.base/hashline2.exp: Use standard_testfile,
1594 standard_output_file.
1595 * gdb.base/hashline3.exp: Use standard_testfile,
1596 standard_output_file, relative_filename.
1597 * lib/gdb.exp (relative_filename): New proc.
1598
15992013-11-04 Tom Tromey <tromey@redhat.com>
1600
1601 * gdb.base/fileio.c (test_open, test_write, test_read)
1602 (test_lseek, test_close, test_stat, test_fstat)
1603 (test_isatty, test_system, test_rename, test_unlink):
1604 Use OUTDIR define.
1605 * gdb.base/fileio.exp: Define OUTDIR during compilation.
1606 Use standard_output_file.
1607
16082013-11-04 Tom Tromey <tromey@redhat.com>
1609
1610 * gdb.base/checkpoint.c (main): Use PI_TXT and COPY1_TXT
1611 defines.
1612 * gdb.base/checkpoint.exp: Define PI_TXT and COPY1_TXT during
1613 compilation. Use prepare_for_testing, standard_output_file.
1614
16152013-11-04 Tom Tromey <tromey@redhat.com>
1616
1617 * gdb.base/advance.exp: Use standard_testfile and
1618 prepare_for_testing.
1619 * gdb.base/bigcore.exp: Use standard_output_file. "cd" to
1620 appropriate directory when local.
1621 * gdb.base/dump.exp: Use standard_output_file. Update all
1622 "dump" and "restore" filenames.
1623 * gdb.base/interact.exp: Use standard_output_file.
1624 * gdb.base/jit-so.exp: Don't download file when local.
1625 * gdb.base/jit.exp (compile_jit_test): Don't download file
1626 when local.
1627 * gdb.base/list.exp: Use gdb_remote_download.
1628 * gdb.base/maint.exp: Use standard_output_file.
1629 * gdb.base/prelink.exp: Use standard_output_file.
1630 * gdb.base/save-bp.exp: Use standard_output_file.
1631 * gdb.base/sepdebug.exp: Use standard_testfile,
1632 standard_output_file.
1633 (test_different_dir): Don't declare objdir.
1634 * gdb.base/solib-search.exp: Use standard_output_file.
1635 * gdb.base/step-line.exp: Use gdb_remote_download.
1636 * gdb.base/trace-commands.exp: Use standard_output_file.
1637
16382013-11-04 Tom Tromey <tromey@redhat.com>
1639
1640 * gdb.trace/mi-traceframe-changed.exp: Pass -DTFILE_DIR
1641 to compilation. Use standard_output_file.
1642 (test_tfind_tfile): Update.
1643 * gdb.trace/tfile.c (write_basic_trace_file)
1644 (write_error_trace_file): Use TFILE_DIR.
1645 * gdb.trace/tfile.exp: Pass -DTFILE_DIR to compilation. Use
1646 standard_output_file.
1647
16482013-11-04 Tom Tromey <tromey@redhat.com>
1649
1650 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
1651 Use "dwarf2 always-disassemble" for the "maint set" test.
1652 * gdb.mi/mi-file-transfer.exp (test_file_transfer): Use
1653 standard_output_file.
1654 * gdb.mi/mi-logging.exp: Use standard_output_file.
1655
16562013-11-04 Tom Tromey <tromey@redhat.com>
1657
1658 * gdb.xml/tdesc-arch.exp: Use standard_output_file. Make
1659 downloads conditional on remote host.
1660 (set_arch): Likewise.
1661 * gdb.xml/tdesc-regs.exp: Use gdb_remote_download.
1662 (load_description): Use standard_output_file.
1663
16642013-11-04 Tom Tromey <tromey@redhat.com>
1665
1666 * gdb.gdb/selftest.exp: Use standard_output_file.
1667 * lib/selftest-support.exp (do_self_tests): Use
1668 standard_output_file.
1669
16702013-11-04 Tom Tromey <tromey@redhat.com>
1671
1672 * gdb.stabs/weird.exp: Use gdb_remote_download and
1673 standard_output_file.
1674
16752013-11-04 Tom Tromey <tromey@redhat.com>
1676
1677 * gdb.base/gcore-buffer-overflow.exp: Use
1678 standard_output_file, not standard_testfile.
1679 * gdb.base/twice.exp: Use standard_testfile, not
1680 standard_output_file. Use gdb_remote_download.
1681
16822013-11-04 Tom Tromey <tromey@redhat.com>
1683
1684 * lib/gdb.exp (get_compiler_info): Use log_file -info and
1685 restore from that.
1686
16872013-11-02 Maciej W. Rozycki <macro@codesourcery.com>
1688
1689 * gdb.cp/derivation.exp: s/perrro/perror/
1690
16912013-11-01 Maciej W. Rozycki <macro@codesourcery.com>
1692
1693 * gdb.dwarf2/dwzbuildid.exp: Rename `outdir' variable to
1694 `debugdir'.
1695
16962013-10-31 Andrew Burgess <aburgess@broadcom.com>
1697
1698 * gdb.base/watchpoint.exp (test_no_hw_watchpoints): Add additional
1699 tests and update expected error message.
1700 (test_watch_register_location): New tests.
1701 (do_tests): Call test_watch_register_location.
1702 * gdb.base/watchpoints.exp: Update expected error message.
1703
17042013-10-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1705
1706 * gdb.arch/s390-multiarch.exp (test_linux_v2): Add $gdb_prompt to
1707 the patterns in gdb_test_multiple.
1708
17092013-10-29 Nicolas Blanc <nicolas.blanc@intel.com>
1710
1711 * gdb.base/sym-file-lib.c: New file.
1712 * gdb.base/sym-file-loader.c: New file.
1713 * gdb.base/sym-file-loader.h: New file.
1714 * gdb.base/sym-file-main.c: New file.
1715 * gdb.base/sym-file.exp: New file.
1716 * lib/gdb.exp (is_elf_target): New function.
1717
17182013-10-29 Pedro Alves <palves@redhat.com>
1719
1720 * gdb.mi/mi-console.c, gdb.mi/mi-stack.c: Remove local emacs
1721 variable setting change-log-default-name to ChangeLog-mi.
1722
17232013-10-29 Andrew Burgess <aburgess@broadcom.com>
1724
1725 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test):
1726 Expect <unavailable> pattern.
1727
17282013-10-28 Tom de Vries <tom@codesourcery.com>
1729
1730 * gdb.arch/thumb2-it.S (it_8): Fix typo.
1731
17322013-10-25 Anton Kolesov <Anton.Kolesov@synopsys.com> (tiny change)
1733
1734 * gdb.base/bang.exp: Use gdb_continue_to_end to properly support
1735 remote stubs where exit() behaviour is unreliable.
1736
17372013-10-25 Pedro Alves <palves@redhat.com>
1738
1739 * gdb.cp/m-static.exp: Adjust expected output of printing a
1740 nonexistent or optimized out static field. Also test printing the
1741 the "container" object.
1742
17432013-10-24 Maciej W. Rozycki <macro@codesourcery.com>
1744
1745 * lib/gdb.exp (gdb_finish): Send a kill request to `gdbserver'
1746 if in the persistent mode.
1747 * gdb.trace/disconnected-tracing.exp: Reconnect before completion.
1748
17492013-10-24 Maciej W. Rozycki <macro@codesourcery.com>
1750
1751 * lib/gdb.exp (gdb_gcore_cmd): Also handle a "Target does not
1752 support core file generation" reply.
1753
17542013-10-21 Jose E. Marchesi <jose.marchesi@oracle.com>
1755
1756 PR gdb/15986
1757 * gdb.base/run.c (main): gdb_get_line_number tag added for
1758 commands.exp.
1759 (factorial): Likewise.
1760
1761 * gdb.base/commands.exp (watchpoint_command_test): Use
1762 gdb_get_line_number in order to determine the locations in run.c
1763 where local_var is detected to go out of scope.
1764
17652013-10-21 Jose E. Marchesi <jose.marchesi@oracle.com>
1766
1767 * gdb.base/gnu_vector.exp: Care about endianness when casting
1768 scalars to vectors.
1769
17702013-10-18 Tom Tromey <tromey@redhat.com>
1771
1772 * lib/gdb.exp (build_executable_from_specs): Remove duplicate set
1773 of "binfile".
1774
17752013-10-18 Andrew Burgess <aburgess@broadcom.com>
1776
1777 * gdb.base/watchpoints.exp: Add test for setting software
1778 watchpoints of different types before starting the inferior.
1779
17802013-10-18 Pedro Alves <palves@redhat.com>
1781
1782 PR gdb/16062
1783 * gdb.threads/stepi-random-signal.c: New file.
1784 * gdb.threads/stepi-random-signal.exp: New file.
1785
17862013-10-17 Maciej W. Rozycki <macro@codesourcery.com>
1787
1788 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
1789 Fix comment typo.
1790 * lib/gdb.exp (gdb_init): Likewise.
1791
17922013-10-17 Tom Tromey <tromey@redhat.com>
1793
1794 * gdb.base/printcmds.exp (test_printf): Test printf flushing.
1795
17962013-10-14 Tom Tromey <tromey@redhat.com>
1797
1798 * gdb.dwarf2/dwzbuildid.exp (write_dwarf_file): Pass explicit test
1799 name to gdb_test_no_output.
1800
18012013-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1802
1803 Canonicalize directories for EXEC_FILENAME.
1804 * gdb.base/argv0-symlink.exp
1805 (kept file symbolic link name for info inferiors): New.
1806 (kept directory symbolic link name): Setup kfail.
1807 (kept directory symbolic link name for info inferiors): New.
1808
18092013-10-11 Andreas Arnez <arnez@linux.vnet.ibm.com>
1810
1811 * gdb.arch/s390-multiarch.exp: New file.
1812 * gdb.arch/s390-multiarch.c: New file.
1813
18142013-10-11 Joel Brobecker <brobecker@adacore.com>
1815
1816 * gdb.ada/mi_catch_ex.exp: Adjusts all "catch ..." tests to
1817 use the appropriate GDB/MI command instead, and verify
1818 the test output.
1819
18202013-10-11 Joel Brobecker <brobecker@adacore.com>
1821
1822 * gdb.base/source-nofile.gdb: New file.
1823 * gdb.base/source.exp: Add two tests verifying the behavior when
1824 the "source" command is given a non-existant filename.
1825
18262013-10-11 Yao Qi <yao@codesourcery.com>
1827
1828 * gdb.mi/mi-catch-load.c: Remove the include of "dlfcn.h".
1829 [__WIN32__]: Include "windows.h" and define macro 'dlopen'
1830 and 'dlclose'.
1831 [!__WIN32__]: Include "dlfcn.h".
1832 * gdb.mi/mi-catch-load.exp: Set up kfail.
1833
18342013-10-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
1835
1836 * lib/gdb.exp (gdb_core_cmd): Replace fixed string "re-load
1837 generated corefile" by argument "$test".
1838
18392013-10-09 Pedro Alves <palves@redhat.com>
1840
1841 * gdb.python/py-prettyprint.exp (run_lang_tests): Adjust expected
1842 output.
1843
18442013-10-09 Pedro Alves <palves@redhat.com>
1845
1846 * gdb.base/catch-syscall.exp (test_catch_syscall_without_args)
1847 (test_catch_syscall_with_args, test_catch_syscall_with_many_args)
1848 (test_catch_syscall_with_wrong_args)
1849 (test_catch_syscall_restarting_inferior)
1850 (test_catch_syscall_fail_nodatadir)
1851 (test_catch_syscall_without_args_noxml)
1852 (test_catch_syscall_with_args_noxml)
1853 (test_catch_syscall_with_wrong_args_noxml): Use with_test_prefix.
1854
18552013-10-08 Tom Tromey <tromey@redhat.com>
1856
1857 * gdb.dwarf2/dwzbuildid.exp: New file.
1858 * lib/dwarf.exp (Dwarf::_section): Add "flags" and "type"
1859 parameters.
1860 (Dwarf::_defer_output): Change "section" parameter to
1861 "section_spec"; update.
1862 (Dwarf::gnu_debugaltlink, Dwarf::_note, Dwarf::build_id): New
1863 procs.
1864
18652013-10-08 Joel Brobecker <brobecker@adacore.com>
1866
1867 * gdb.ada/mi_catch_ex.exp: Make "mi_execute_to" test names unique.
1868
18692013-10-07 Tom Tromey <tromey@redhat.com>
1870
1871 * lib/mi-support.exp (varobj_tree::walk_tree): Set _root_idx
1872 to 0.
1873
18742013-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
1875
1876 * gdb.base/corefile.exp: Test whether $_exitsignal is set and
1877 $_exitcode is void when opening a corefile.
1878 * gdb.base/exitsignal.exp: New file.
1879 * gdb.base/segv.c: Likewise.
1880 * gdb.base/normal.c: Likewise.
1881
18822013-10-04 Joel Brobecker <brobecker@adacore.com>
1883
1884 * gdb.mi/mi-start.c, gdb.mi/mi-start.exp: New files.
1885
18862013-10-02 Vidya Praveen <vidyapraveen@arm.com>
1887
1888 * gdb.trace/entry-values.exp: Modify regular expression to scan for
1889 'bl' instruction instead of 'call' for ARM and AArch64 targets.
1890
18912013-10-02 Pedro Alves <palves@redhat.com>
1892
1893 * gdb.dwarf2/dw2-reg-undefined.exp <pattern_rax_rbx_rcx_print,
1894 pattern_rax_rbx_rcx_info>: Set to "<not saved>".
1895 * gdb.mi/mi-reg-undefined.exp (opt_out_pattern): Delete.
1896 (not_saved_pattern): New.
1897 Replace use of the former with the latter.
1898
18992013-10-02 Pedro Alves <palves@redhat.com>
1900
1901 * README (Board Settings): Document "exit_is_reliable".
1902 * lib/gdb.exp (gdb_continue_to_end): Check whether the board says
1903 running to exit reliably reports program exits.
1904 * boards/native-gdbserver.exp: Set exit_is_reliable in the board
1905 info.
1906 * boards/native-stdio-gdbserver.exp: Likewise.
1907
19082013-10-01 Doug Evans <dje@google.com>
1909
1910 * gdb.python/python.exp: Remove redundant print-stack tests.
1911 Make all print-stack test names unique. Fix spelling of print-stack.
1912
19132013-09-29 Yao Qi <yao@codesourcery.com>
1914
1915 * gdb.base/shreloc.exp: Set $msymfile to 'shreloc.txt' if host
1916 is remote.
1917
19182013-09-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
1919
1920 PR shlibs/8882
1921 * gdb.base/corefile.exp: Add a check to assure warning-free
1922 core-file load.
1923
19242013-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1925
1926 * gdb.dwarf2/dwp-symlink.c: New file.
1927 * gdb.dwarf2/dwp-symlink.exp: New file.
1928
19292013-09-20 Doug Evans <dje@google.com>
1930
1931 * lib/dwarf.exp (build_executable_from_fission_assembler): New proc.
1932 * gdb.dwarf2/fission-base.S: Update. Split out .dwo into separate
1933 file.
1934 * gdb.dwarf2/fission-loclists.S: Ditto.
1935 * gdb.dwarf2/fission-reread.S: Ditto.
1936 * gdb.dwarf2/fission-base.exp: Skip of remote host. Compile with
1937 build_executable_from_fission_assembler.
1938 * gdb.dwarf2/fission-loclists.exp: Ditto.
1939 * gdb.dwarf2/fission-reread.exp: Ditto.
1940
1941 * lib/future.exp (gdb_find_objcopy, gdb_find_readelf): New procs.
1942 * lib/gdb.exp (build_id_debug_filename_get): Update to use them.
1943 (gdb_gnu_strip_debug): Ditto.
1944 * lib/prelink-support.exp (section_get, prelink_no): Ditto.
1945 * gdb.arch/altivec-abi.exp: Ditto.
1946 * gdb.base/attach-pie-misread.exp: Ditto.
1947 * gdb.base/comprdebug.exp: Ditto.
1948 * gdb.base/dup-sect.exp: Ditto.
1949 * gdb.base/gnu-debugdata.exp: Ditto.
1950 * gdb.base/step-symless.exp: Ditto.
1951 * gdb.dwarf2/dw2-inline-param.exp: Ditto.
1952 * gdb.dwarf2/dw2-skip-prologue.exp: Ditto.
1953 * gdb.dwarf2/gdb-index.exp: Ditto.
1954
19552013-09-18 Andrew Burgess <aburgess@broadcom.com>
1956
1957 * gdb.dwarf2/dw2-reg-undefined.exp: Change pattern for info
1958 register to "<optimized out>", and also print the registers.
1959
19602013-09-18 Pedro Alves <palves@redhat.com>
1961
1962 PR server/15967
1963 * gdb.server/wrapper.exp: Also return unsupported for Cygwin, and
1964 change text.
1965
19662013-09-18 Yao Qi <yao@codesourcery.com>
1967
1968 * gdb.server/wrapper.c: New.
1969 * gdb.server/wrapper.exp: New.
1970
19712013-09-17 Muhammad Waqas <mwaqas@codesourccery.com>
1972 Jan Kratochvil <jan.kartochvil@redhat.com>
1973 Pedro Alves <palves@redhat.com>
1974
1975 PR gdb/11568
1976 * gdb.thread/thread-specific-bp.c: New file.
1977 * gdb.thread/thread-specific-bp.exp: New file.
1978
19792013-09-17 Sergio Durigan Junior <sergiodj@redhat.com>
1980
1981 * gdb.base/defaults.exp (<show_conv_list>): Add check for $_isvoid
1982 convenience function.
1983
19842013-09-17 Pedro Alves <palves@redhat.com>
1985
1986 PR gdb/15911
1987 * gdb.threads/info-threads-cur-sal-2.c: New file.
1988 * gdb.threads/info-threads-cur-sal.c: New file.
1989 * gdb.threads/info-threads-cur-sal.exp: New file.
1990
19912013-09-17 Yao Qi <yao@codesourcery.com>
1992
1993 * gdb.base/catch-load.c: Remove the include of "dlfcn.h".
1994 [__WIN32__]: Include "windows.h" and define macro dlopen
1995 and dlclose.
1996 [!__WIN32__]: Include "dlfcn.h".
1997 * gdb.base/catch-load.exp (one_catch_load_test): Match
1998 directory separator.
1999
20002013-09-16 Doug Evans <dje@google.com>
2001
2002 * lib/gdb.exp (using_fission): New proc.
2003 * gdb.base/info-macros.exp: Skip test if using Fission.
2004
2005 * gdb.base/break-interp.exp: Fix indentation.
2006
20072013-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
2008
2009 * gdb.base/gdbvars.c (foo_void): New function.
2010 (foo_int): Likewise.
2011 * gdb.base/gdbvars.exp (test_convenience_functions): New
2012 function. Call it.
2013
20142013-09-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2015
2016 * gdb.arch/s390-tdbregs.c: New file.
2017 * gdb.arch/s390-tdbregs.exp: New file.
2018
20192013-09-12 Stan Shebs <stan@codesourcery.com>
2020
2021 * README: New file.
2022
20232013-09-12 Doug Evans <dje@google.com>
2024
2025 * gdb.python/py-events.py (new_objfile_handler): Remove accidentally
2026 added code to print event.inferior.
2027
20282013-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2029
2030 * gdb.base/gnu-debugdata.exp (objcopy 1): Move it lower and use only
2031 debug part of the binary.
2032
20332013-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2034
2035 * gdb.base/gnu-debugdata.exp (strip): Add -R .comment.
2036 (addlink): Add comment.
2037
20382013-09-10 Sanimir Agovic <sanimir.agovic@intel.com>
2039
2040 * gdb.base/default.exp: Adjust regexpr for 'cd' to match optional
2041 canonical pathname.
2042
20432013-09-04 Doug Evans <dje@google.com>
2044
2045 * gdb.python/py-events.py (exit_handler): Verify we get the expected
2046 event.
2047 (continue_handler, new_objfile_handler): Ditto.
2048 (test_events): Rename command to "test-events".
2049 (test_newobj_events): Rename command to "test-objfile-events".
2050 * gdb.python/py-events.exp: Update.
2051 * gdb.python/py-evsignal.exp: Update.
2052 * gdb.python/py-evthreads.exp: Update.
2053
2054 * gdb.base/enumval.c (ZERO): New enum value.
2055 (main): Use it
2056 * gdb.base/enumval.exp: Test ability to print ZERO.
2057
20582013-09-03 Muhammad Bilal <mbilal@codesourcery.com>
2059 Pedro Alves <palves@redhat.com>
2060
2061 * gdb.base/relocate.exp: Check that invalid options are
2062 rejected.
2063
20642013-08-30 Andrew Burgess <aburgess@broadcom.com>
2065
2066 * gdb.base/code_elim1.c (my_bss_symbol): New variable added.
2067 (my_static_symbol): Add comment.
2068 (main): Reference my_bss_symbol.
2069
20702013-08-30 Phil Muldoon <pmuldoon@redhat.com>
2071
2072 * gdb.python/py-arch.exp: Tests for invalid architecture.
2073
20742013-08-29 Sterling Augustine <saugustine@google.com>
2075
2076 * boards/remote-stdio-gdbserver.exp: Set rcp_prog and
2077 rsh_prog in new conditional. Move use of REMOTE_PORTNUM into
2078 said conditional.
2079
20802013-08-29 Phil Muldoon <pmuldoon@redhat.com>
2081
2082 * gdb.python/py-arch.exp: Load gdb-python.exp.
2083
20842013-08-29 Phil Muldoon <pmuldoon@redhat.com>
2085
2086 * gdb.python/py-framefilter.py (FrameFilter.filter): Check
2087 itertools for imap attribute. Otherwise use map().
2088 (ElidingIterator): Define wrapper function __next__.
2089 * gdb.python/py-framefilter-mi.exp: Do not use execfile,
2090 use exec (open (read ())) instead.
2091 * gdb.python/py-framefilter.exp: Ditto.
2092 * gdb.python/py-arch.exp: Update print based test to Python 3.x
2093 compliance.
2094 * gdb.python/py-frame.exp: Ditto.
2095 * gdb.python/py-type.exp: Ditto.
2096
20972013-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2098
2099 PR gdb/15415
2100 * gdb.base/argv0-symlink.c: New file.
2101 * gdb.base/argv0-symlink.exp: New file.
2102
21032013-08-28 Tom Tromey <tromey@redhat.com>
2104
2105 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Use explicit test name
2106 when saving index.
2107
21082013-08-27 Yao Qi <yao@codesourcery.com>
2109
2110 * gdb.trace/entry-values.exp: Test unavailable entry value is
2111 not shown when option '--skip-unavailable' is specified.
2112 * gdb.trace/mi-trace-unavailable.exp (test_trace_unavailable):
2113 Add tests for new option '--skip-unavailable'.
2114
21152013-08-27 Yao Qi <yao@codesourcery.com>
2116
2117 * lib/gdb.exp (gdb_remote_download): Don't pass $tofile to
2118 remote_download if it is empty.
2119
21202013-08-26 Doug Evans <dje@google.com>
2121
2122 PR symtab/15885
2123 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add gdb-index.
2124 (clean): rm -f *.gdb-index *.with-index.
2125 * gdb.dwarf2/gdb-index.exp: New testcase.
2126
2127 * lib/gdb.exp (run_on_host): Moved here from gnu-debugdata.exp.
2128 * gdb.base/gnu-debugdata.exp (run): Moved to gdb.exp and renamed to
2129 run_on_host. All callers updated.
2130
21312013-08-24 Yao Qi <yao@codesourcery.com>
2132
2133 * gdb.trace/entry-values.c (end): New
2134 (main): Call end.
2135 * gdb.trace/entry-values.exp: Load trace-support.exp. Set
2136 tracepoint and collect data. Test entry value is unavailable.
2137
21382013-08-24 Yao Qi <yao@codesourcery.com>
2139
2140 * lib/dwarf.exp (_location): Handle DW_OP_deref_size.
2141 * gdb.trace/entry-values.c: New.
2142 * gdb.trace/entry-values.exp: New.
2143
21442013-07-12 Muhammad Waqas <mwaqas@codesourccery.com>
2145
2146 PR gdb/15501
2147 * gdb.base/ena-dis-br.exp: Add test to verify
2148 enable/disable commands work correctly with
2149 multiple arguments that include multiple locations.
2150
21512013-08-22 Samuel Bronson <naesten@gmail.com>
2152
2153 ARM Linux support for `catch syscall'.
2154 * gdb.base/catch-syscall.exp: Test this on ARM now.
2155 (fill_all_syscalls_numbers): ARM has close/chroot on 6/61, too.
2156
21572013-08-22 Tom Tromey <tromey@redhat.com>
2158
2159 * lib/dwarf.exp (cu, tu): Handle addr_size of "default". Change
2160 default addr_size.
2161 * lib/gdb.exp (is_64_target): New gdb_caching_proc.
2162
21632013-08-22 Tom Tromey <tromey@redhat.com>
2164
2165 * lib/gdb.exp (skip_btrace_tests): Use gdb_caching_proc and
2166 standard_temp_file.
2167
21682013-08-22 Tom Tromey <tromey@redhat.com>
2169
2170 * gdb.arch/amd64-byte.exp: Use standard_testfile,
2171 clean_restart.
2172 * gdb.arch/amd64-disp-step.exp: Use standard_testfile.
2173 * gdb.arch/amd64-dword.exp: Use standard_testfile,
2174 clean_restart.
2175 * gdb.arch/amd64-entry-value-param.exp: Use standard_testfile.
2176 * gdb.arch/amd64-entry-value.exp: Use standard_testfile.
2177 * gdb.arch/amd64-prologue-xmm.exp: Use standard_testfile.
2178 * gdb.arch/amd64-word.exp: Use standard_testfile,
2179 clean_restart.
2180 * gdb.arch/i386-avx.exp: Use standard_testfile, clean_restart.
2181 * gdb.arch/i386-byte.exp: Use standard_testfile, clean_restart.
2182 * gdb.arch/i386-disp-step.exp: Use standard_testfile.
2183 * gdb.arch/i386-dr3-watch.exp: Use standard_testfile.
2184 * gdb.arch/i386-permbkpt.exp: Use standard_testfile, clean_restart.
2185 * gdb.arch/i386-signal.exp: Use standard_testfile.
2186 * gdb.arch/i386-size-overlap.exp: Use standard_testfile, clean_restart.
2187 * gdb.arch/i386-sse.exp: Use standard_testfile, clean_restart.
2188 * gdb.arch/i386-unwind.exp: Use standard_testfile.
2189 * gdb.arch/i386-word.exp: Use standard_testfile, clean_restart.
2190
21912013-08-22 Tom Tromey <tromey@redhat.com>
2192
2193 * gdb.python/py-error.exp: Use gdb_remote_download.
2194 * gdb.python/py-mi.exp: Use gdb_remote_download.
2195 * gdb.python/py-objfile-script.exp: Use standard_output_file.
2196 * gdb.python/py-prettyprint.exp: Use gdb_remote_download.
2197 (run_lang_tests): Likewise.
2198 * gdb.python/py-section-script.c: Use SCRIPT_FILE rather than
2199 filename.
2200 * gdb.python/py-section-script.exp: Set SCRIPT_FILE when
2201 compiling. Use gdb_remote_download. Update some tests.
2202 * gdb.python/py-strfns.exp (test_strfns_core_file): Use
2203 standard_output_file.
2204 * gdb.python/py-typeprint.exp: Use gdb_remote_download.
2205 * gdb.python/py-frame-args.exp: Use gdb_remote_download.
2206 * gdb.python/py-framefilter-mi.exp: Use gdb_remote_download.
2207 * gdb.python/py-framefilter.exp: Use gdb_remote_download,
2208 standard_output_file.
2209
22102013-08-22 Tom Tromey <tromey@redhat.com>
2211
2212 * lib/cell.exp (skip_cell_tests): Use standard_temp_file.
2213
22142013-08-22 Tom Tromey <tromey@redhat.com>
2215
2216 * gdb.dwarf2/dw2-basic.exp: Use gdb_remote_download.
2217 * gdb.dwarf2/dw2-compressed.exp: Use gdb_remote_download.
2218 * gdb.dwarf2/dw2-intercu.exp: Use gdb_remote_download.
2219 * gdb.dwarf2/dw2-intermix.exp: Use gdb_remote_download.
2220 * gdb.dwarf2/dw2-producer.exp: Use gdb_remote_download.
2221 * gdb.dwarf2/mac-fileno.exp: Use gdb_remote_download.
2222 * lib/gdb.exp (gdb_remote_download): New proc.
2223
22242013-08-22 Tom Tromey <tromey@redhat.com>
2225
2226 * gdb.dwarf2/clztest.exp: Use standard_testfile.
2227 * gdb.dwarf2/dw2-minsym-in-cu.exp: Use standard_testfile.
2228 * gdb.dwarf2/fission-base.S: Remove directory from
2229 DW_AT_GNU_dwo_name.
2230 * gdb.dwarf2/fission-base.exp: Use build_executable. Set
2231 debug-file-directory.
2232 * gdb.dwarf2/fission-reread.S: Remove directory from
2233 DW_AT_GNU_dwo_name.
2234 * gdb.dwarf2/fission-reread.exp: Use build_executable. Set
2235 debug-file-directory.
2236
22372013-08-16 Doug Evans <dje@google.com>
2238
2239 * lib/prelink-support.exp (prelink_yes): Flag test as unsupported if
2240 prelink complains about an unhandled DWARF version.
2241
22422013-08-14 Cary Coutant <ccoutant@google.com>
2243
2244 * boards/fission.exp: Add -fdebug-types-section to debug_flags.
2245
22462013-08-13 Tom Tromey <tromey@redhat.com>
2247 Yao Qi <yao@codesourcery.com>
2248
2249 * lib/cache.exp (gdb_do_cache): Handle GDB_PARALLEL.
2250 * lib/gdb.exp: Handle GDB_PARALLEL.
2251 (default_gdb_version): Kill inotify_pid if it exists.
2252 (default_gdb_exit): Emit warning if the inotify log is not
2253 empty.
2254 (standard_output_file): Respect GDB_PARALLEL.
2255 (standard_temp_file): Likewise.
2256 (gdb_init): Start inotifywait if requested.
2257
22582013-08-13 Andrew Burgess <aburgess@broadcom.com>
2259
2260 * gdb.base/printcmds.exp (test_printf): Add test for printf of
2261 pointer with various flags.
2262
22632013-08-13 Tom Tromey <tromey@redhat.com>
2264
2265 * lib/cache.exp: New file.
2266 * lib/cell.exp (skip_cell_tests): Use gdb_caching_proc.
2267 * lib/gdb.exp: Load cache.exp.
2268 (support_complex_tests, is_ilp32_target, is_lp64_target)
2269 (is_amd64_regs_target, skip_altivec_tests, skip_vsx_tests)
2270 (gdb_skip_xml_test): Use gdb_caching_proc.
2271 * lib/opencl.exp (skip_opencl_tests): Use gdb_caching_proc.
2272
22732013-08-13 Tom Tromey <tromey@redhat.com>
2274
2275 * lib/gdb.exp (standard_temp_file): New proc.
2276 (support_complex_tests, is_ilp32_target, is_lp64_target)
2277 (is_amd64_regs_target, skip_altivec_tests, skip_vsx_tests): Use
2278 standard_temp_file.
2279
22802013-08-13 Tom Tromey <tromey@redhat.com>
2281
2282 * lib/gdb.exp (build_id_debug_filename_get): Use
2283 standard_output_file.
2284 * lib/prelink-support.exp (section_get)
2285 (build_executable_own_libs): Use standard_output_file.
2286
22872013-08-12 Tom Tromey <tromey@redhat.com>
2288
2289 * Makefile.in (ALL_SUBDIRS): Add gdb.go.
2290
22912013-08-12 Ali Anwar <alianwar@codesourcery.com>
2292
2293 * gdb.base/break.exp: Test break via convenience variable
2294 with file name.
2295
22962013-08-09 Doug Evans <dje@google.com>
2297
2298 * lib/future.exp (gdb_find_ldd): New proc.
2299 * lib/prelink-support.exp (build_executable_own_libs): Call it.
2300 Make "/usr/sbin/" in prelink path optional.
2301
23022013-08-09 Yao Qi <yao@codesourcery.com>
2303
2304 * gdb.trace/collection.exp (gdb_collect_args_test): Set
2305 "only" and "both" to 'print entry-values' before selecting
2306 trace frame.
2307
23082013-08-08 Yao Qi <yao@codesourcery.com>
2309
2310 * gdb.trace/mi-trace-unavailable.exp: Don't set
2311 "print entry-values" to "no".
2312 (test_trace_unavailable): Set various values to
2313 "print entry-values" to test that the output of
2314 '-stack-list-locals' is not affected, and then set
2315 set "print entry-values" to "no".
2316
23172013-08-07 Doug Evans <dje@google.com>
2318
2319 * gdb.python/py-value-cc.cc: Renamed from py-value.cc.
2320 * gdb.python/py-value-cc.exp: Update.
2321 * gdb.python/py-value.exp: Use different names for .o files for
2322 C and C++. Only perform C++ tests if !skip_cplus_tests.
2323
23242013-08-07 Tom Tromey <tromey@redhat.com>
2325
2326 * gdb.base/maint.exp: Allow zero symtabs to be expanded.
2327
23282013-08-07 Tom Tromey <tromey@redhat.com>
2329
2330 * gdb.dwarf2/dwz.exp: New file.
2331
23322013-08-02 Tom Tromey <tromey@redhat.com>
2333
2334 * gdb.base/watchpoint.c (struct foo5): New.
2335 (nullptr): New global.
2336 * gdb.base/watchpoint.exp (test_watch_location): Add test.
2337
23382013-08-01 Doug Evans <dje@google.com>
2339
2340 PR symtab/15691
2341 * gdb.dwarf2/fission-mix.exp: New file.
2342 * gdb.dwarf2/fission-mix.h: New file.
2343 * gdb.dwarf2/fission-mix.c: New file.
2344 * gdb.dwarf2/fission-mix2.c: New file.
2345
2346 PR symtab/15695
2347 * gdb.base/func-ptr.exp: New file.
2348 * gdb.base/func-ptr.c: New file.
2349
23502013-08-01 Yao Qi <yao@codesourcery.com>
2351
2352 * gdb.python/py-sync-interp.c: New.
2353 * gdb.python/py-sync-interp.exp: New.
2354
23552013-07-31 Yao Qi <yao@codesourcery.com>
2356
2357 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Test command
2358 'tdump' on stack frame 0 and 1 respectively.
2359
23602013-07-31 Yao Qi <yao@codesourcery.com>
2361
2362 PR gdb/13443
2363 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_3): Add parameter
2364 'traceframe'. Wrap test with with_test_prefix.
2365 (top level): Update.
2366
23672013-07-31 Yao Qi <yao@codesourcery.com>
2368
2369 * gdb.trace/backtrace.exp: Don't invoke 'get_exit' and
2370 'gdb_start'.
2371 Invoke 'prepare_for_testing' instead of 'gdb_compile'.
2372 Use gdb_test_no_output to issue commands 'tstart' and 'tstop'.
2373
23742013-07-30 Andrew Burgess <aburgess@broadcom.com>
2375
2376 * gdb.dwarf2/pieces-optimized-out.exp: Expect "<optimized out>"
2377 when printing an optimized out value. Expect an error when using
2378 an optimized out value in an expression.
2379
23802013-07-30 Andrew Burgess <aburgess@broadcom.com>
2381
2382 * gdb.dwarf2/pieces-optimized-out.exp: New file.
2383 * gdb.dwarf2/pieces-optimized-out.c: New file.
2384 * gdb.dwarf2/pieces-optimized-out.S: New file.
2385
23862013-07-30 Muhammad Bilal <mbilal@codesourcery.com>
2387
2388 PR gdb/15715
2389 * gdb.base/setshow.exp: Test that relative paths passed to
2390 'set history filename' are converted to absolute paths.
2391
23922013-07-26 Keith Seitz <keiths@redhat.com>
2393
2394 * gdb.mi/mi-var-child-f.exp: Pass f90 to gdb_compile instead
2395 of f77.
2396 Allow for compiler variations of integer types.
2397 Use mi_create_varobj.
2398 Use mi_list_varobj_children for the immediate children of `array'.
2399 Add "has_more" attribute for grandchildren test.
2400
24012013-07-26 Pedro Alves <palves@redhat.com>
2402
2403 * gdb.base/interrupt-noterm.c, gdb.base/interrupt-noterm.exp: New
2404 files.
2405
24062013-07-25 Andrew Burgess <aburgess@broadcom.com>
2407
2408 * gdb.mi/mi-reg-undefined.exp: New file.
2409 * gdb.mi/mi-reg-undefined.c: Likewise.
2410 * gdb.mi/mi-reg-undefined.S: Likewise.
2411
24122013-07-25 Andrew Burgess <aburgess@broadcom.com>
2413
2414 * gdb.base/printcmds.exp (test_print_int_arrays): Add tests for x,
2415 z, o, and t output formats.
2416 * gdb.base/display.exp: Use 'k' as an undefined format now that
2417 'z' is defined.
2418
24192013-07-24 Doug Evans <dje@google.com>
2420
2421 * boards/native-stdio-gdbserver.exp (${board}_build_remote_cmd): Pass
2422 "--" to switch.
2423
24242013-07-24 Yao Qi <yao@codesourcery.com>
2425
2426 * gdb.mi/mi-var-cmd.exp: If host is remote, use ${testfile} on
2427 host.
2428 * gdb.mi/mi-basics.exp (test_exec_and_symbol_mi_operatons):
2429 Likewise. If host is remote, copy ${binfile} to host.
2430
24312013-07-23 Yao Qi <yao@codesourcery.com>
2432
2433 * gdb.mi/mi-var-cmd.exp: Adjust pattern to match current error
2434 message.
2435
24362013-07-19 Omair Javaid <Omair.Javaid@linaro.org>
2437
2438 * gdb.base/disp-step-syscall.exp: Add svc and swi syscall
2439 instructions and enable disp-step-syscall for arm targets.
2440
24412013-07-19 Omair Javaid <Omair.Javaid@linaro.org>
2442
2443 * gdb.dwarf2/fission-reread.S: Replace @ sign with % sign to remove
2444 assembler errors on arm.
2445 * gdb.dwarf2/mac-fileno.S: Likewise.
2446 * gdb.dwarf2/member-ptr-forwardref.S: Likewise.
2447 * gdb.dwarf2/pr13961.S: Likewise.
2448
24492013-07-19 Hui Zhu <hui@codesourcery.com>
2450
2451 PR gdb/15692
2452 * gdb.mi/mi-dprintf.exp: Add double quotes test.
2453
24542013-07-19 Yao Qi <yao@codesourcery.com>
2455
2456 * gdb.trace/read-memory.exp (test_from_remote): Update test.
2457 (teset_from_exec): Likewise.
2458
24592013-07-19 Yao Qi <yao@codesourcery.com>
2460
2461 * gdb.trace/read-memory.c: New.
2462 * gdb.trace/read-memory.exp: New.
2463
24642013-07-19 Yao Qi <yao@codesourcery.com>
2465
2466 * lib/gdb.exp (gdb_compile_shlib): Pass the tail name of
2467 $dest to link options if host is remote. Move the
2468 generated file to $dest.a on host if host is remote.
2469
24702013-07-18 Will Newton <will.newton@linaro.org>
2471
2472 * gdb.threads/tls-nodebug.c: Call pthread_testcancel
2473 to ensure the test is linked against pthreads.
2474 * gdb.threads/tls-var-main.c: Likewise.
2475 * gdb.threads/tls-shared.c: Likewise.
2476
24772013-07-18 Yao Qi <yao@codesourcery.com>
2478
2479 * lib/future.exp (gdb_default_target_compile): Use tail name
2480 of $destfile as the output name of compile. Move the
2481 generated file to $destfile on build.
2482
24832013-07-18 Yao Qi <yao@codesourcery.com>
2484
2485 * lib/gdb.exp (gdb_compile): Set
2486 gdb_saved_set_unbuffered_mode_obj to
2487 set_unbuffered_mode_saved.o if host is remote. Invoke
2488 remote_download to copy $unbuf_obj to host.
2489
24902013-07-17 Doug Evans <dje@google.com>
2491
2492 * gdb.python/py-frame-args.c: New file.
2493 * gdb.python/py-frame-args.py: New file.
2494 * gdb.python/py-frame-args.exp New file.
2495
24962013-07-16 Andrew Burgess <aburgess@broadcom.com>
2497
2498 * gdb.base/printcmds.exp (test_printf): Add tests for format
2499 strings with missing format specifier.
2500
25012013-07-16 Tom Tromey <tromey@redhat.com>
2502
2503 * gdb.ada/info_types.exp: Use standard_testfile.
2504
25052013-07-16 Tom Tromey <tromey@redhat.com>
2506
2507 * gdb.mi/mi-basics.exp: Use standard_output_file.
2508 (test_dir_specification, test_cwd_specification)
2509 (test_path_specification): Use testsubdir, not subdir and objdir.
2510
25112013-07-16 Tom Tromey <tromey@redhat.com>
2512
2513 * gdb.trace/mi-traceframe-changed.exp: Don't use objdir.
2514
25152013-07-09 Joel Brobecker <brobecker@adacore.com>
2516
2517 * gdb.ada/small_reg_param.exp: Accept optional entry value
2518 for parameter "w".
2519
25202013-07-09 Joel Brobecker <brobecker@adacore.com>
2521
2522 * gdb.ada/small_reg_param.exp: Remove trailing space.
2523
25242013-07-09 Doug Evans <dje@google.com>
2525
2526 * gdb.base/default.exp: Update expected output of "show print array"
2527 and "show print pretty".
2528
25292013-07-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
2530
2531 * gdb.threads/wp-replication.exp: Stop counting available hardware
2532 watchpoints after NR_THREADS iterations.
2533
25342013-07-08 Andrew Burgess <aburgess@broadcom.com>
2535
2536 * gdb.python/py-explore.exp: Add $gdb_prompt to test regexp.
2537
25382013-07-07 Yao Qi <yao@codesourcery.com>
2539
2540 * boards/native-gdbserver.exp: Move invoke of
2541 process_multilib_options to gdbserver-base.exp.
2542 Move set_board_info 'compiler', 'gdb,noinferiorio',
2543 'gdb,nofileio', 'gdb_server_prog' and 'gdb,predefined_tsv' to
2544 gdbserver-base.exp.
2545 Move proc ${board}_download, ${board}_upload and
2546 ${board}_file to gdbserver-base.exp.
2547 * boards/native-extended-gdbserver.exp: Likewise.
2548 * boards/native-stdio-gdbserver.exp: Likewise.
2549 * boards/gdbserver-base.exp: New file.
2550
25512013-07-05 Luis Machado <lgustavo@codesourcery.com>
2552
2553 * gdb.base/dump.exp: Remove arch-specific tests and do a
2554 generic data address check to set is64bitonly correctly.
2555
25562013-07-05 Luis Machado <lgustavo@codesourcery.com>
2557
2558 * gdb.mi/gdb2549.exp (register_tests): Expect any decimal for
2559 the register number instead of expecting only 0.
2560
25612013-07-05 Will Newton <will.newton@linaro.org>
2562
2563 * gdb.base/gnu-ifunc-lib.c: Use %function instead of @function
2564 in asm syntax to allow building on ARM.
2565
25662013-07-05 Yao Qi <yao@codesourcery.com>
2567
2568 * boards/local-remote-host.exp: Remove obsolete comments.
2569 * boards/native-extended-gdbserver.exp: Likewise.
2570 * boards/native-gdbserver.exp: Likewise.
2571 * boards/native-stdio-gdbserver.exp: Likewise.
2572
25732013-07-04 Andrew Burgess <aburgess@broadcom.com>
2574
2575 * gdb.dwarf2/dw2-reg-undefined.exp: New file.
2576 * gdb.dwarf2/dw2-reg-undefined.c: Likewise.
2577 * gdb.dwarf2/dw2-reg-undefined.S: Likewise.
2578
25792013-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2580
2581 * gdb.base/break-on-linker-gcd-function.exp: Replace
2582 prepare_for_testing by build_executable_from_specs and clean_restart.
2583
25842013-06-27 Tom Tromey <tromey@redhat.com>
2585
2586 * gdb.base/testenv.exp, gdb.base/tui-layout.exp,
2587 gdb.base/twice.exp, gdb.base/type-opaque.exp, gdb.base/unload.exp,
2588 gdb.base/unwindonsignal.exp, gdb.base/valgrind-db-attach.exp,
2589 gdb.base/valgrind-infcall.exp, gdb.base/value-double-free.exp,
2590 gdb.base/varargs.exp, gdb.base/watch-cond-infcall.exp,
2591 gdb.base/watch-cond.exp, gdb.base/watch-non-mem.exp,
2592 gdb.base/watch-read.exp, gdb.base/watch-vfork.exp,
2593 gdb.base/watch_thread_num.exp, gdb.base/watchpoint-cond-gone.exp,
2594 gdb.base/watchpoint-delete.exp, gdb.base/watchpoint-hw.exp,
2595 gdb.base/watchpoint-solib.exp, gdb.base/watchpoint.exp,
2596 gdb.base/watchpoints.exp, gdb.base/wchar.exp, gdb.base/whatis.exp:
2597 Use standard_testfile, standard_output_file, prepare_for_testing,
2598 clean_restart.
2599
26002013-06-27 Tom Tromey <tromey@redhat.com>
2601
2602 * gdb.base/save-bp.exp, gdb.base/savedregs.exp,
2603 gdb.base/scope.exp, gdb.base/sep.exp, gdb.base/sepsymtab.exp,
2604 gdb.base/set-lang-auto.exp, gdb.base/setshow.exp,
2605 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
2606 gdb.base/shreloc.exp, gdb.base/sigall.exp,
2607 gdb.base/sigaltstack.exp, gdb.base/sigbpt.exp,
2608 gdb.base/sigchld.exp, gdb.base/siginfo-addr.exp,
2609 gdb.base/siginfo-infcall.exp, gdb.base/siginfo-obj.exp,
2610 gdb.base/siginfo.exp, gdb.base/signals.exp, gdb.base/signest.exp,
2611 gdb.base/signull.exp, gdb.base/sigrepeat.exp,
2612 gdb.base/sigstep.exp, gdb.base/sizeof.exp,
2613 gdb.base/skip-solib.exp, gdb.base/so-impl-ld.exp,
2614 gdb.base/solib-display.exp, gdb.base/solib-nodir.exp,
2615 gdb.base/solib-overlap.exp, gdb.base/solib-symbol.exp,
2616 gdb.base/solib-weak.exp, gdb.base/source.exp,
2617 gdb.base/stack-checking.exp, gdb.base/stale-infcall.exp,
2618 gdb.base/stap-probe.exp, gdb.base/start.exp,
2619 gdb.base/step-break.exp, gdb.base/step-bt.exp,
2620 gdb.base/step-line.exp, gdb.base/step-resume-infcall.exp,
2621 gdb.base/step-test.exp, gdb.base/structs.exp,
2622 gdb.base/structs2.exp, gdb.base/structs3.exp,
2623 gdb.base/symbol-without-target_section.exp: Use standard_testfile,
2624 standard_output_file, prepare_for_testing, clean_restart.
2625
26262013-06-27 Tom Tromey <tromey@redhat.com>
2627
2628 * gdb.base/nextoverexit.exp, gdb.base/nextoverexit.exp,
2629 gdb.base/nodebug.exp, gdb.base/nofield.exp, gdb.base/nostdlib.exp,
2630 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/pc-fp.exp,
2631 gdb.base/pending.exp, gdb.base/permissions.exp,
2632 gdb.base/pie-execl.exp, gdb.base/pointers.exp,
2633 gdb.base/pr11022.exp, gdb.base/print-file-var.exp,
2634 gdb.base/printcmds.exp, gdb.base/prologue.exp,
2635 gdb.base/psymtab.exp, gdb.base/ptr-typedef.exp,
2636 gdb.base/ptype.exp, gdb.base/randomize.exp,
2637 gdb.base/readline-ask.exp, gdb.base/recpar.exp,
2638 gdb.base/recurse.exp, gdb.base/relativedebug.exp,
2639 gdb.base/relocate.exp, gdb.base/remote.exp, gdb.base/reread.exp,
2640 gdb.base/return-nodebug.exp, gdb.base/return2.exp: Use
2641 standard_testfile, standard_output_file, prepare_for_testing,
2642 clean_restart.
2643
26442013-06-27 Tom Tromey <tromey@redhat.com>
2645
2646 * gdb.base/hook-stop-continue.exp, gdb.base/hook-stop-frame.exp,
2647 gdb.base/huge.exp, gdb.base/included.exp,
2648 gdb.base/inferior-died.exp, gdb.base/infnan.exp,
2649 gdb.base/info-fun.exp, gdb.base/info-macros.exp,
2650 gdb.base/info-os.exp, gdb.base/info-proc.exp,
2651 gdb.base/info-target.exp, gdb.base/infoline.exp,
2652 gdb.base/interp.exp, gdb.base/interrupt.exp,
2653 gdb.base/jit-simple.exp, gdb.base/jit-so.exp, gdb.base/jump.exp,
2654 gdb.base/kill-after-signal.exp, gdb.base/label.exp,
2655 gdb.base/langs.exp, gdb.base/lineinc.exp, gdb.base/list.exp,
2656 gdb.base/logical.exp, gdb.base/long_long.exp,
2657 gdb.base/longjmp.exp, gdb.base/macscp.exp, gdb.base/maint.exp,
2658 gdb.base/memattr.exp, gdb.base/mips_pro.exp,
2659 gdb.base/miscexprs.exp, gdb.base/morestack.exp,
2660 gdb.base/moribund-step.exp, gdb.base/multi-forks.exp: Use
2661 standard_testfile, standard_output_file, prepare_for_testing,
2662 clean_restart.
2663
26642013-06-27 Tom Tromey <tromey@redhat.com>
2665
2666 * gdb.base/ena-dis-br.exp, gdb.base/enum_cond.exp,
2667 gdb.base/enumval.exp, gdb.base/environ.exp,
2668 gdb.base/eu-strip-infcall.exp, gdb.base/eval-skip.exp,
2669 gdb.base/exe-lock.exp, gdb.base/expand-psymtabs.exp,
2670 gdb.base/exprs.exp, gdb.base/fileio.exp, gdb.base/find.exp,
2671 gdb.base/fixsection.exp, gdb.base/foll-exec.exp,
2672 gdb.base/foll-fork.exp, gdb.base/fortran-sym-case.exp,
2673 gdb.base/frame-args.exp, gdb.base/freebpcmd.exp,
2674 gdb.base/fullname.exp, gdb.base/funcargs.exp,
2675 gdb.base/gcore-buffer-overflow.exp, gdb.base/gcore.exp,
2676 gdb.base/gdb1090.exp, gdb.base/gdb11530.exp,
2677 gdb.base/gdb11531.exp, gdb.base/gdb1250.exp, gdb.base/gdb1555.exp,
2678 gdb.base/gdb1821.exp, gdb.base/gdbindex-stabs.exp,
2679 gdb.base/gdbvars.exp, gdb.base/gnu-ifunc.exp,
2680 gdb.base/gnu_vector.exp: Use standard_testfile,
2681 standard_output_file, prepare_for_testing, clean_restart.
2682
26832013-06-27 Tom Tromey <tromey@redhat.com>
2684
2685 * gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
2686 gdb.base/call-sc.exp, gdb.base/call-signal-resume.exp,
2687 gdb.base/call-strs.exp, gdb.base/callexit.exp,
2688 gdb.base/callfuncs.exp, gdb.base/catch-load.exp,
2689 gdb.base/catch-syscall.exp, gdb.base/charset.exp,
2690 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
2691 gdb.base/code-expr.exp, gdb.base/code_elim.exp,
2692 gdb.base/commands.exp, gdb.base/completion.exp,
2693 gdb.base/complex.exp, gdb.base/cond-expr.exp,
2694 gdb.base/condbreak.exp, gdb.base/consecutive.exp,
2695 gdb.base/constvars.exp, gdb.base/corefile.exp,
2696 gdb.base/ctxobj.exp, gdb.base/cursal.exp, gdb.base/cvexpr.exp,
2697 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
2698 gdb.base/del.exp, gdb.base/detach.exp, gdb.base/dfp-test.exp,
2699 gdb.base/display.exp, gdb.base/dmsym.exp, gdb.base/dump.exp,
2700 gdb.base/dup-sect.exp: Use standard_testfile,
2701 standard_output_file, prepare_for_testing, clean_restart.
2702
27032013-06-27 Tom Tromey <tromey@redhat.com>
2704
2705 * gdb.base/a2-run.exp, gdb.base/all-bin.exp, gdb.base/annota1.exp,
2706 gdb.base/annota3.exp, gdb.base/anon.exp, gdb.base/args.exp,
2707 gdb.base/arithmet.exp, gdb.base/arrayidx.exp, gdb.base/assign.exp,
2708 gdb.base/async-shell.exp, gdb.base/async.exp,
2709 gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-noexec.exp,
2710 gdb.base/attach-twice.exp, gdb.base/attach.exp, gdb.base/auxv.exp,
2711 gdb.base/bang.exp, gdb.base/bfp-test.exp, gdb.base/bigcore.exp,
2712 gdb.base/bitfields.exp, gdb.base/bitfields2.exp,
2713 gdb.base/break-entry.exp, gdb.base/break-interp.exp,
2714 gdb.base/break-on-linker-gcd-function.exp,
2715 gdb.base/breakpoint-shadow.exp: Use standard_testfile,
2716 standard_output_file, prepare_for_testing, clean_restart.
2717
27182013-06-26 Yao Qi <yao@codesourcery.com>
2719
2720 * gdb.trace/mi-trace-frame-collected.exp: New.
2721
27222013-06-25 Yao Qi <yao@codesourcery.com>
2723
2724 * boards/native-extended-gdbserver.exp: Set board_info
2725 'gdb,predefined_tsv'.
2726 * boards/native-gdbserver.exp: Likewise.
2727 * boards/native-stdio-gdbserver.exp: Likewise.
2728 * gdb.server/ext-attach.exp: Load trace-support.exp. Check
2729 uploaded TSVs if target supports tracing.
2730 * gdb.trace/tsv.exp: Check uploaded TSVs if target supports
2731 tracing and target has predefined tsv.
2732
27332013-06-25 Yao Qi <yao@codesourcery.com>
2734 Hui Zhu <hui@codesourcery.com>
2735 Pedro Alves <palves@redhat.com>
2736
2737 PR breakpoints/15075
2738 PR breakpoints/15434
2739 * gdb.base/dprintf-next.c: New file.
2740 * gdb.base/dprintf-next.exp: New file.
2741 * gdb.base/dprintf-non-stop.c: New file.
2742 * gdb.base/dprintf-non-stop.exp: New file.
2743 * gdb.base/dprintf.exp: Don't check "continue" in the output
2744 of "info breakpoints".
2745 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
2746 Don't check "continue" in script field.
2747
27482013-06-21 Tom Tromey <tromey@redhat.com>
2749
2750 * gdb.trace/actions.exp (check_tracepoint): Don't use a full file
2751 name in a test name.
2752
27532013-06-20 Yao Qi <yao@codesourcery.com>
2754
2755 * gdb.trace/mi-trace-unavailable.exp: Set tracepoint on 'foo'
2756 and set an action.
2757 (test_trace_unavailable): Test command -data-list-register-values
2758 in the context of traceframe and with option --skip-unavailable.
2759 * gdb.trace/trace-unavailable.c (foo): New.
2760 (main): Call it.
2761 * gdb.mi/gdb2549.exp: Update matching pattern.
2762
27632013-06-19 Mike Frysinger <vapier@gentoo.org>
2764
2765 * gdb.arch/i386-avx.c (have_avx): Change __get_cpuid call to i386_cpuid.
2766 * gdb.arch/i386-avx.exp (additional_flags): Add -I${srcdir}/../common.
2767 * gdb.arch/i386-cpuid.h: Moved to ../common/i386-gcc-cpuid.h.
2768 * gdb.arch/i386-sse.c: Call new i386_cpuid function.
2769 * gdb.arch/i386-see.exp (additional_flags): Add -I${srcdir}/../common.
2770
27712013-06-19 Luis Machado <lgustavo@codesourcery.com>
2772
2773 * gdb.base/subst.exp: Delete default rules before further
2774 tests.
2775
27762013-06-19 Yao Qi <yao@codesourcery.com>
2777
2778 * gdb.base/maint.exp: Make the test to command 'maint dump-me'
2779 unsupported if it is not registered.
2780
27812013-06-18 Tom Tromey <tromey@redhat.com>
2782
2783 * gdb.base/random-signal.c: New file.
2784 * gdb.base/random-signal.exp: New file.
2785
27862013-06-18 Will Newton <will.newton@linaro.org>
2787
2788 * gdb.base/skip.c: Use comma to evaluate results of foo()
2789 and bar() before passing to baz().
2790 * gdb.base/skip.c: baz() now takes one argument instead of
2791 two.
2792
27932013-06-18 Tom Tromey <tromey@redhat.com>
2794
2795 * gdb.dwarf2/implptrpiece.exp: New file.
2796 * gdb.dwarf2/implptrconst.exp (d): New variable.
2797 Print d.
2798 * lib/dwarf2.exp (Dwarf::_location): Handle DW_OP_piece.
2799
28002013-06-18 Tom Tromey <tromey@redhat.com>
2801
2802 * lib/selftest-support.exp (do_self_tests): Reject remote or
2803 non-native targets.
2804 * gdb.gdb/complaints.exp: Remove check.
2805 * gdb.gdb/observer.exp: Remove check.
2806 * gdb.gdb/xfullpath.exp: Remove check.
2807 * gdb.gdb/complaints.exp: Remove check.
2808
28092013-06-07 Pedro Alves <palves@redhat.com>
2810
2811 * boards/native-extended-gdbserver.exp: Remove semicolon.
2812 * config/arm-ice.exp: Likewise.
2813 * config/bfin.exp: Likewise.
2814 * config/cygmon.exp: Likewise.
2815 * config/h8300.exp: Likewise.
2816 * config/monitor.exp: Likewise.
2817 * config/sid.exp: Likewise.
2818 * config/sim.exp: Likewise.
2819 * config/slite.exp: Likewise.
2820 * config/vx.exp: Likewise.
2821 * gdb.arch/i386-bp_permanent.exp: Likewise.
2822 * gdb.asm/asm-source.exp: Likewise.
2823 * gdb.base/args.exp: Likewise.
2824 * gdb.base/attach-pie-misread.exp: Likewise.
2825 * gdb.base/auxv.exp: Likewise.
2826 * gdb.base/bigcore.exp: Likewise.
2827 * gdb.base/bitfields2.exp: Likewise.
2828 * gdb.base/bitfields.exp: Likewise.
2829 * gdb.base/break.exp: Likewise.
2830 * gdb.base/break-interp.exp: Likewise.
2831 * gdb.base/callfuncs.exp: Likewise.
2832 * gdb.base/call-sc.exp: Likewise.
2833 * gdb.base/commands.exp: Likewise.
2834 * gdb.base/corefile.exp: Likewise.
2835 * gdb.base/dbx.exp: Likewise.
2836 * gdb.base/ending-run.exp: Likewise.
2837 * gdb.base/exprs.exp: Likewise.
2838 * gdb.base/funcargs.exp: Likewise.
2839 * gdb.base/hbreak2.exp: Likewise.
2840 * gdb.base/huge.exp: Likewise.
2841 * gdb.base/list.exp: Likewise.
2842 * gdb.base/memattr.exp: Likewise.
2843 * gdb.base/overlays.exp: Likewise.
2844 * gdb.base/printcmds.exp: Likewise.
2845 * gdb.base/recurse.exp: Likewise.
2846 * gdb.base/remotetimeout.exp: Likewise.
2847 * gdb.base/reread.exp: Likewise.
2848 * gdb.base/savedregs.exp: Likewise.
2849 * gdb.base/scope.exp: Likewise.
2850 * gdb.base/sepdebug.exp: Likewise.
2851 * gdb.base/setshow.exp: Likewise.
2852 * gdb.base/setvar.exp: Likewise.
2853 * gdb.base/sigaltstack.exp: Likewise.
2854 * gdb.base/siginfo-addr.exp: Likewise.
2855 * gdb.base/siginfo.exp: Likewise.
2856 * gdb.base/siginfo-obj.exp: Likewise.
2857 * gdb.base/sigrepeat.exp: Likewise.
2858 * gdb.base/sigstep.exp: Likewise.
2859 * gdb.base/structs.exp: Likewise.
2860 * gdb.base/testenv.exp: Likewise.
2861 * gdb.base/twice.exp: Likewise.
2862 * gdb.base/valgrind-db-attach.exp: Likewise.
2863 * gdb.base/valgrind-infcall.exp: Likewise.
2864 * gdb.base/varargs.exp: Likewise.
2865 * gdb.base/watchpoint.exp: Likewise.
2866 * gdb.cp/gdb1355.exp: Likewise.
2867 * gdb.cp/misc.exp: Likewise.
2868 * gdb.disasm/hppa.exp: Likewise.
2869 * gdb.disasm/t01_mov.exp: Likewise.
2870 * gdb.disasm/t02_mova.exp: Likewise.
2871 * gdb.disasm/t03_add.exp: Likewise.
2872 * gdb.disasm/t04_sub.exp: Likewise.
2873 * gdb.disasm/t05_cmp.exp: Likewise.
2874 * gdb.disasm/t06_ari2.exp: Likewise.
2875 * gdb.disasm/t07_ari3.exp: Likewise.
2876 * gdb.disasm/t08_or.exp: Likewise.
2877 * gdb.disasm/t09_xor.exp: Likewise.
2878 * gdb.disasm/t10_and.exp: Likewise.
2879 * gdb.disasm/t11_logs.exp: Likewise.
2880 * gdb.disasm/t12_bit.exp: Likewise.
2881 * gdb.disasm/t13_otr.exp: Likewise.
2882 * gdb.gdb/selftest.exp: Likewise.
2883 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
2884 * gdb.mi/mi-reverse.exp: Likewise.
2885 * gdb.pascal/floats.exp: Likewise.
2886 * gdb.python/py-inferior.exp: Likewise.
2887 * gdb.threads/attach-into-signal.exp: Likewise.
2888 * gdb.threads/pthreads.exp: Likewise.
2889 * gdb.threads/thread_events.exp: Likewise.
2890 * gdb.threads/watchthreads.exp: Likewise.
2891 * gdb.trace/actions-changed.exp: Likewise.
2892 * gdb.trace/actions.exp: Likewise.
2893 * gdb.trace/ax.exp: Likewise.
2894 * gdb.trace/backtrace.exp: Likewise.
2895 * gdb.trace/change-loc.exp: Likewise.
2896 * gdb.trace/deltrace.exp: Likewise.
2897 * gdb.trace/disconnected-tracing.exp: Likewise.
2898 * gdb.trace/ftrace.exp: Likewise.
2899 * gdb.trace/infotrace.exp: Likewise.
2900 * gdb.trace/passc-dyn.exp: Likewise.
2901 * gdb.trace/passcount.exp: Likewise.
2902 * gdb.trace/pending.exp: Likewise.
2903 * gdb.trace/qtro.exp: Likewise.
2904 * gdb.trace/range-stepping.exp: Likewise.
2905 * gdb.trace/report.exp: Likewise.
2906 * gdb.trace/save-trace.exp: Likewise.
2907 * gdb.trace/status-stop.exp: Likewise.
2908 * gdb.trace/strace.exp: Likewise.
2909 * gdb.trace/tfile.exp: Likewise.
2910 * gdb.trace/tfind.exp: Likewise.
2911 * gdb.trace/trace-break.exp: Likewise.
2912 * gdb.trace/tracecmd.exp: Likewise.
2913 * gdb.trace/trace-mt.exp: Likewise.
2914 * gdb.trace/tspeed.exp: Likewise.
2915 * gdb.trace/tsv.exp: Likewise.
2916 * gdb.trace/while-stepping.exp: Likewise.
2917 * lib/gdb.exp: Likewise.
2918 * lib/gdbserver-support.exp: Likewise.
2919 * lib/java.exp: Likewise.
2920 * lib/mi-support.exp: Likewise.
2921 * lib/pascal.exp: Likewise.
2922 * lib/prompt.exp: Likewise.
2923 * lib/trace-support.exp: Likewise.
2924
29252013-06-07 Pedro Alves <palves@redhat.com>
2926
2927 * gdb.ada/info_types.c: Fix formating in copyright header.
2928 * gdb.base/break-on-linker-gcd-function.cc: Likewise.
2929 * gdb.base/float.c: Likewise.
2930 * gdb.base/inferior-died.c: Likewise.
2931 * gdb.base/interp.c: Likewise.
2932 * gdb.base/jit-main.c: Likewise.
2933 * gdb.base/jit-solib.c: Likewise.
2934 * gdb.base/long_long.c: Likewise.
2935 * gdb.base/longjmp.c: Likewise.
2936 * gdb.base/nextoverexit.c: Likewise.
2937 * gdb.base/pr11022.c: Likewise.
2938 * gdb.base/prelink-lib.c: Likewise.
2939 * gdb.base/prelink.c: Likewise.
2940 * gdb.base/prologue.c: Likewise.
2941 * gdb.base/restore.c: Likewise.
2942 * gdb.base/sigchld.c: Likewise.
2943 * gdb.base/solib-search-lib1.c: Likewise.
2944 * gdb.base/solib-search-lib2.c: Likewise.
2945 * gdb.base/solib-search.c: Likewise.
2946 * gdb.base/solib-search.h: Likewise.
2947 * gdb.base/whatis.c: Likewise.
2948 * gdb.cp/abstract-origin.cc: Likewise.
2949 * gdb.cp/anon-struct.cc: Likewise.
2950 * gdb.cp/baseenum.cc: Likewise.
2951 * gdb.cp/bs15503.cc: Likewise.
2952 * gdb.cp/call-c-1.c: Likewise.
2953 * gdb.cp/call-c.cc: Likewise.
2954 * gdb.cp/class2.cc: Likewise.
2955 * gdb.cp/classes.cc: Likewise.
2956 * gdb.cp/cttiadd.cc: Likewise.
2957 * gdb.cp/cttiadd1.cc: Likewise.
2958 * gdb.cp/cttiadd2.cc: Likewise.
2959 * gdb.cp/cttiadd3.cc: Likewise.
2960 * gdb.cp/derivation.cc: Likewise.
2961 * gdb.cp/derivation2.cc: Likewise.
2962 * gdb.cp/dispcxx.cc: Likewise.
2963 * gdb.cp/exception.cc: Likewise.
2964 * gdb.cp/gdb2384-base.cc: Likewise.
2965 * gdb.cp/gdb2384-base.h: Likewise.
2966 * gdb.cp/gdb2384.cc: Likewise.
2967 * gdb.cp/gdb2495.cc: Likewise.
2968 * gdb.cp/mb-inline.h: Likewise.
2969 * gdb.cp/mb-inline1.cc: Likewise.
2970 * gdb.cp/mb-inline2.cc: Likewise.
2971 * gdb.cp/member-name.cc: Likewise.
2972 * gdb.cp/member-ptr.cc: Likewise.
2973 * gdb.cp/misc.cc: Likewise.
2974 * gdb.cp/namespace1.cc: Likewise.
2975 * gdb.cp/nextoverthrow.cc: Likewise.
2976 * gdb.cp/pr-574.cc: Likewise.
2977 * gdb.cp/pr9631.cc: Likewise.
2978 * gdb.cp/printmethod.cc: Likewise.
2979 * gdb.cp/psmang1.cc: Likewise.
2980 * gdb.cp/psmang2.cc: Likewise.
2981 * gdb.cp/psymtab-parameter.cc: Likewise.
2982 * gdb.cp/ptype-flags.cc: Likewise.
2983 * gdb.cp/ref-params.cc: Likewise.
2984 * gdb.cp/ref-types.cc: Likewise.
2985 * gdb.cp/smartp.cc: Likewise.
2986 * gdb.cp/try_catch.cc: Likewise.
2987 * gdb.cp/userdef.cc: Likewise.
2988 * gdb.cp/using-crash.cc: Likewise.
2989 * gdb.cp/virtfunc.cc: Likewise.
2990 * gdb.cp/virtfunc2.cc: Likewise.
2991 * gdb.dwarf2/callframecfa.S: Likewise.
2992 * gdb.dwarf2/dw2-ranges.c: Likewise.
2993 * gdb.dwarf2/dw2-ranges2.c: Likewise.
2994 * gdb.dwarf2/dw2-ranges3.c: Likewise.
2995 * gdb.dwarf2/dw2-restore.S: Likewise.
2996 * gdb.dwarf2/pieces.S: Likewise.
2997 * gdb.dwarf2/valop.S: Likewise.
2998 * gdb.java/jnpe.java: Likewise.
2999 * gdb.mi/mi-stepn.c: Likewise.
3000 * gdb.mi/mi-var-cp.cc: Likewise.
3001 * gdb.mi/mi-var-rtti.cc: Likewise.
3002 * gdb.mi/ns-stale-regcache.c: Likewise.
3003 * gdb.mi/pr11022.c: Likewise.
3004 * gdb.mi/solib-lib.c: Likewise.
3005 * gdb.mi/solib-main.c: Likewise.
3006 * gdb.python/py-arch.c: Likewise.
3007 * gdb.python/py-block.c: Likewise.
3008 * gdb.python/py-breakpoint.c: Likewise.
3009 * gdb.python/py-events.c: Likewise.
3010 * gdb.python/py-evthreads.c: Likewise.
3011 * gdb.python/py-explore.c: Likewise.
3012 * gdb.python/py-explore.cc: Likewise.
3013 * gdb.python/py-finish-breakpoint.c: Likewise.
3014 * gdb.python/py-finish-breakpoint2.cc: Likewise.
3015 * gdb.python/py-symbol.c: Likewise.
3016 * gdb.threads/execl.c: Likewise.
3017 * gdb.threads/execl1.c: Likewise.
3018
30192013-06-07 Will Newton <will.newton@linaro.org>
3020
3021 * gdb.base/long_long.exp: Fix ARM EABI target glob.
3022
30232013-06-07 Will Newton <will.newton@linaro.org>
3024
3025 * gdb.cp/annota2.exp: Add empty line between "post-prompt"
3026 and "starting".
3027
30282013-06-07 Will Newton <will.newton@linaro.org>
3029
3030 * gdb.cp/anon-struct.exp: Conditionalize constructor and
3031 destructor prototypes for ARM ABI.
3032 * gdb.cp/m-static.exp: Likewise.
3033
30342013-06-07 Yao Qi <yao@codesourcery.com>
3035
3036 * gdb.trace/mi-trace-unavailable.exp: New.
3037 * gdb.trace/trace-unavailable.c: New.
3038
30392013-06-06 Doug Evans <dje@google.com>
3040
3041 * gdb.cp/derivation.exp: Make tests have unique names.
3042
30432013-06-06 Tom Tromey <tromey@redhat.com>
3044
3045 * gdb.base/dump.exp (capture_value): Don't put expression into
3046 test name if arguments passed in.
3047 Rename a couple more tests to make them unique.
3048
30492013-06-06 Tom Tromey <tromey@redhat.com>
3050
3051 * gdb.base/break-always.exp: Explicitly specify test name.
3052
30532013-06-05 Doug Evans <dje@google.com>
3054 Keith Seitz <keiths@redhat.com>
3055
3056 * gdb.cp/derivation2.cc: New file.
3057 * gdb.cp/derivation.cc (main): Call foo2.
3058 * gdb.cp/derivation.exp: Add tests for typedefs in another
3059 file, and when there's an active block.
3060
30612013-06-05 Luis Machado <lgustavo@codesourcery.com>
3062
3063 * gdb.cp/virtfunc.exp (make_one_vtable_result): Handle extra output
3064 from targets that use function descriptors in the virtual tables.
3065 Handle presence of dot symbols.
3066
30672013-06-04 Gary Benson <gbenson@redhat.com>
3068
3069 * gdb.base/break-probes.exp: New file.
3070 * gdb.base/break-probes.c: Likewise.
3071 * gdb.base/break-probes-solib.c: Likewise.
3072 * gdb.base/info-shared.exp: New file.
3073 * gdb.base/info-shared.c: Likewise.
3074 * gdb.base/info-shared-solib1.c: Likewise.
3075 * gdb.base/info-shared-solib2.c: Likewise.
3076
30772013-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3078 Gary Benson <gbenson@redhat.com>
3079
3080 * lib/gdb.exp (build_executable_from_specs): Use gdb_compile_pthread,
3081 gdb_compile_shlib or gdb_compile_shlib_pthreads where appropriate.
3082 * lib/prelink-support.exp (build_executable_own_libs): Allow INTERP
3083 to be set to "no" to indicate that no ld.so copy should be made.
3084 * gdb.base/break-interp.exp (solib_bp): New constant.
3085 (reach_1): Use the above instead of "_dl_debug_state".
3086 (test_attach): Likewise.
3087 (test_ld): Likewise.
3088 * gdb.threads/dlopen-libpthread.exp: New file.
3089 * gdb.threads/dlopen-libpthread.c: Likewise.
3090 * gdb.threads/dlopen-libpthread-lib.c: Likewise.
3091 * gdb.base/solib-corrupted.exp: Disable test if GDB is using probes.
3092
30932013-05-30 Yao Qi <yao@codesourcery.com>
3094
3095 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
3096 Add a test that no MI notification is emitted when executing
3097 -exec-arguments.
3098
30992013-05-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3100
3101 PR testsuite/12649
3102 * gdb.mi/mi-dprintf.exp (mi_continue_dprintf) (mi 2nd dprintf): Replace
3103 $mi_gdb_prompt expectation by mi_expect_stop.
3104 (mi 1st dprintf, agent, mi 2nd dprintf, agent)
3105 (mi info dprintf second time): Replace them by mi_send_resuming_command
3106 and mi_expect_stop.
3107
31082013-05-24 Gary Benson <gbenson@redhat.com>
3109
3110 * gdb.base/solib-disc.exp (exec_opts): Remove unnecesary
3111 backslash.
3112 * gdb.base/unload.exp (exec_opts): Remove two unnecessary
3113 backslashes.
3114 * gdb.base/watchpoint-solib.exp (exec_opts): Remove unnecesary
3115 backslash.
3116
31172013-05-24 Yao Qi <yao@codesourcery.com>
3118
3119 * gdb.trace/tfile.exp: Test inferior and thread.
3120
31212013-05-24 Yao Qi <yao@codesourcery.com>
3122 Pedro Alves <palves@redhat.com>
3123
3124 * gdb.base/range-stepping.exp: Skip the rest of tests if the
3125 test fails.
3126 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
3127 Return 0 if the test passes, otherwise return 1.
3128
31292013-05-23 Doug Evans <dje@google.com>
3130
3131 * boards/fission-dwp.exp: New file.
3132
31332013-05-23 Yao Qi <yao@codesourcery.com>
3134 Pedro Alves <palves@redhat.com>
3135
3136 * gdb.base/range-stepping.c: New file.
3137 * gdb.base/range-stepping.exp: New file.
3138 * gdb.trace/range-stepping.c: New file.
3139 * gdb.trace/range-stepping.exp: New file.
3140 * lib/range-stepping-support.exp: New file.
3141
31422013-05-22 Tom Tromey <tromey@redhat.com>
3143
3144 * gdb.cp/class2.cc (main): New local 'aref'.
3145 * gdb.cp/class2.exp: Check printing of 'aref'.
3146
31472013-05-22 Doug Evans <dje@google.com>
3148
3149 * gdb.threads/wp-replication.c (main): Insert some code at the start
3150 to ensure the breakpoint on main is only hit once. Fix comment.
3151
31522013-05-21 Keith Seitz <keiths@redhat.com>
3153 Pedro Alves <palves@redhat.com>
3154
3155 * gdb.base/filesym.exp: Use gdb_test_multiple instead of
3156 gdb_expect.
3157 Add test to flush the remaining input buffer so that this
3158 file passes testsuite/12649.
3159
31602013-05-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3161
3162 * gdb.base/catch-signal-fork.exp: New file.
3163 * gdb.base/catch-signal-fork.c: New file.
3164
31652013-05-21 Sterling Augustine <saugustine@google.com>
3166
3167 * boards/remote-stdio-gdbserver.exp: New file.
3168
31692013-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3170
3171 PR testsuite/12649
3172 * gdb.mi/mi-dprintf.exp (mi_continue_dprintf): Fix expect strings for
3173 racy matches.
3174
31752013-05-21 Christian Groessler <chris@groessler.org>
3176
3177 * gdb.dwarf2/dw2-dir-file-name.exp: Don't use brace expansion,
3178 since it's not supported in all shells.
3179
31802013-05-21 Hui Zhu <hui@codesourcery.com>
3181
3182 * gdb.mi/Makefile.in (PROGS): Add "mi-dprintf".
3183 * gdb.mi/mi-dprintf.exp, gdb.mi/mi-dprintf.c: New.
3184
31852013-05-20 Doug Evans <dje@google.com>
3186
3187 * lib/dwarf.exp (Dwarf): New variable _abbrev_section.
3188 (_handle_DW_TAG): Use it.
3189 (cu, tu): Replace parameters is_64, version, addr_size with options.
3190 All callers updated. Add Fission support.
3191 * gdb.dwarf2/implptrconst.exp: Update callers of "cu".
3192 * gdb.dwarf2/method-ptr.exp: Ditto.
3193 * gdb.dwarf2/nostaticblock.exp: Ditto.
3194 * gdb.dwarf2/subrange.exp: Ditto.
3195 * gdb.dwarf2/missing-sig-type.exp: Update callers of "cu", "tu".
3196
31972013-05-20 Tom Tromey <tromey@redhat.com>
3198
3199 * gdb.gdb/python-selftest.exp: New file.
3200
32012013-05-20 Doug Evans <dje@google.com>
3202
3203 * gdb.base/maint.exp: Fix test for "mt expand-symtabs" to account for
3204 -fdebug-types-section.
3205
32062013-05-20 Joel Brobecker <brobecker@adacore.com>
3207
3208 * gdb.ada/float_param: New testcase.
3209
32102013-05-17 Doug Evans <dje@google.com>
3211
3212 * gdb.base/maint.exp: Update test for "maint check-psymtabs".
3213 Add tests for "maint check-symtabs", "maint expand-symtabs".
3214
3215 * gdb.base/maint.exp: Remove testing of individual maint command
3216 help output.
3217
32182013-05-16 Pedro Alves <palves@redhat.com>
3219
3220 * gdb.ada/complete.exp (test_gdb_no_completion): Fix typo in
3221 comment. Use gdb_test_no_output.
3222
32232013-05-16 Joel Brobecker <brobecker@adacore.com>
3224
3225 * gdb.ada/complete.exp: Add test verifying completion using
3226 the "tab" key.
3227
32282013-05-15 Keith Seitz <keiths@redhat.com>
3229
3230 * gdb.base/filesym.exp: New completer test.
3231 * gdb.base/filesym.c: New file.
3232
32332013-05-15 Pedro Alves <palves@redhat.com>
3234
3235 * gdb.base/fixsection.c: Remove attribution.
3236 * gdb.base/watch-read.exp: Ditto.
3237
32382013-05-13 Tom Tromey <tromey@redhat.com>
3239
3240 * gdb.dwarf2/implptrconst.exp: Create a CU with 4 byte address
3241 size and change type sizes to 4 bytes.
3242
32432013-05-13 Tom Tromey <tromey@redhat.com>
3244
3245 * gdb.base/exprs.exp (test_expr): Add regression test.
3246 * gdb.base/exprs.c (null_t_struct): New global.
3247
32482013-05-13 Muhammad Bilal <mbilal@codesourcery.com>
3249
3250 * gdb.base/default.exp: Disable history saving.
3251 * gdb.base/setshow.exp: Likewise.
3252
32532013-05-10 Pedro Alves <palves@redhat.com>
3254
3255 PR remote/15455
3256
3257 * gdb.trace/qtro.c: New file.
3258 * gdb.trace/qtro.exp: New file.
3259
32602013-05-10 Phil Muldoon <pmuldoon@redhat.com>
3261
3262 * gdb.python/py-framefilter.py: New File.
3263 * gdb.python/py-framefilter-mi.exp: Ditto.
3264 * gdb.python/py-framefilter.c: Ditto.
3265 * gdb.python/py-framefilter-mi.exp: Ditto.
3266 * gdb.python/py-framefilter-mi.c: Ditto,
3267 * gdb.python/py-framefilter-gdb.py.in: Ditto.
3268
32692013-05-08 Tom Tromey <tromey@redhat.com>
3270
3271 * gdb.base/solib-search.exp: Set test name for "set
3272 solib-search-path" test.
3273
32742013-05-08 Hafiz Abid Qadeer <abidh@codesourcery.com>
3275
3276 * gdb.trace/circ.exp: Remove unnecessary 'if then' checks.
3277 (set_a_tracepoint): Set tracepoint before prologue.
3278 (run_trace_experiment): Test setup_tracepoints and 'break end'
3279 in it.
3280 (trace_buffer_normal): Remove.
3281 (gdb_trace_circular_tests): Remove. Move tests to...
3282 (top level): ...here. Call 'runto_main' before checking for
3283 trace support. Use commands to check the support for circular
3284 trace buffer and changing of trace buffer size. Add test
3285 to calculate size of single frame. Use this size to
3286 calculate the size of trace buffer. Use 'tfind pc func9'
3287 instead of 'tfind 9'. Use 'with_test_prefix'.
3288
32892013-05-07 Tom Tromey <tromey@redhat.com>
3290
3291 * lib/selftest-support.exp: New file.
3292 * gdb.gdb/complaints.exp: Load selftest-support.exp. Use
3293 do_self_tests.
3294 (setup_test, find_gdb): Remove.
3295 * gdb.gdb/observer.exp: Load selftest-support.exp. Use
3296 do_self_tests.
3297 (setup_test, find_gdb): Remove.
3298 (test_observer): Don't call setup_test. Remove argument.
3299 * gdb.gdb/selftest.exp: Load selftest-support.exp.
3300 (find_gdb): Remove.
3301 * gdb.gdb/complaints.exp: Load selftest-support.exp. Use
3302 do_self_tests.
3303 (setup_test, find_gdb): Remove.
3304 (test_with_self): Don't call setup_test. Remove argument.
3305
33062013-05-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3307
3308 * gdb.arch/system-gcore.exp: Remove.
3309 * gdb.arch/gcore.c: Remove.
3310 * gdb.base/gcore.exp: Add "info reg system".
3311
33122013-05-07 Sergio Durigan Junior <sergiodj@redhat.com>
3313
3314 PR breakpoints/15413:
3315 * gdb.base/pending.exp: Add test for completion of the "condition"
3316 command for pending breakpoints.
3317 * gdb.linespec/linespec.ex: Add test for completion of the
3318 "condition" command when dealing with multiple locations.
3319
33202013-05-07 Luis Machado <lgustavo@codesourcery.com>
3321
3322 * gdb.threads/wp-replication.c: New file.
3323 * gdb.threads/wp-replication.exp: New file.
3324
33252013-05-06 Sandra Loosemore <sandra@codesourcery.com>
3326
3327 * gdb.xml/tdesc-regs.exp: Add case for nios2.
3328
33292013-05-06 Doug Evans <dje@google.com>
3330
3331 * gdb.base/solib-search-lib1.c: New file.
3332 * gdb.base/solib-search-lib2.c: New file.
3333 * gdb.base/solib-search.c: New file.
3334 * gdb.base/solib-search.h: New file.
3335 * gdb.base/solib-search.exp: New file.
3336
3337 * lib/gdb.exp (gdb_core_cmd): New function.
3338 * gdb.arch/system-gcore.exp: Use it.
3339 * gdb.arch/vsx-regs.exp: Ditto.
3340 * gdb.base/gcore.exp: Ditto.
3341 * gdb.threads/gcore-thread.exp: Ditto.
3342
3343 * gdb.reverse/shr.h: New file.
3344 * gdb.reverse/shr1.c: New file.
3345 * gdb.reverse/shr2.c: #include "shr.h".
3346 * gdb.reverse/solib-reverse.c: Remove #include <stdio.h>.
3347 #include "shr.h". Replace calls to printf,sleep to call shr1 instead.
3348 * gdb.reverse/solib-precsave.exp: Build shr2.sl.
3349 Update tests using sleep/printf to use shr2.sl instead.
3350 * gdb.reverse/solib-reverse.exp: Ditto.
3351
33522013-05-06 Tom Tromey <tromey@redhat.com>
3353
3354 * gdb.dwarf2/implptrconst.c: New file.
3355 * gdb.dwarf2/implptrconst.exp: New file.
3356 * lib/dwarf.exp (Dwarf::_nz_quote): New proc.
3357 (Dwarf::_handle_DW_FORM): Handle DW_FORM_block1.
3358 (Dwarf::_location): Handle DW_OP_GNU_implicit_pointer.
3359
33602013-05-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3361
3362 * gdb.base/catch-sig.c (main): Raise SIGINT.
3363 * gdb.base/catch-sig.exp: Test "catch signal SIGINT".
3364
33652013-05-03 Hafiz Abid Qadeer <abidh@codesourcery.com>
3366
3367 * status-stop.exp (test_tstart_tstart): Check for error
3368 returned by the second 'tstart' command.
3369
33702013-03-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
3371
3372 * gdb.xml/maint_print_struct.exp: New file.
3373 * gdb.xml/maint_print_struct.xml: New file.
3374
33752013-04-25 Tom Tromey <tromey@redhat.com>
3376
3377 * gdb.dwarf2/nostaticblock.exp: New file.
3378
33792013-04-24 Muhammad Bilal <mbilal@codesourcery.com>
3380
3381 PR gdb/10462
3382 * gdb.base/setshow.exp: Add test case.
3383
33842013-04-23 Hui Zhu <hui@codesourcery.com>
3385
3386 PR gdb/15293
3387 * gdb.base/dprintf.exp: Add ignore command.
3388
33892013-04-23 Hui Zhu <hui@codesourcery.com>
3390
3391 PR gdb/15165
3392 * gdb.base/save-bp.exp: Add test for dprintf.
3393
33942013-04-22 Tom Tromey <tromey@redhat.com>
3395
3396 * gdb.gdb/selftest.exp (do_steps_and_nexts): Check for
3397 notice_open_fds.
3398
33992013-04-22 Sergio Durigan Junior <sergiodj@redhat.com>
3400
3401 * gdb.arch/arm-bl-branch-dest.exp: Replace additional_flags by
3402 ldflags.
3403
34042013-04-22 Sergio Durigan Junior <sergiodj@redhat.com>
3405
3406 * gdb.arch/arm-bl-branch-dest.c: New file.
3407 * gdb.arch/arm-bl-branch-dest.exp: Likewise.
3408
34092013-04-19 Vladimir Kargov <kargov@gmail.com>
3410 Pedro Alves <palves@redhat.com>
3411
3412 * gdb.arch/i386-float.S: New file.
3413 * gdb.arch/i386-float.exp: New file.
3414
34152013-04-18 Luis Machado <lgustavo@codesourcery.com>
3416
3417 * gdb.mi/mi-var-create-rtti.exp: Create a variable of
3418 type void *.
3419
34202013-04-17 Doug Evans <dje@google.com>
3421
3422 * lib/dwarf.exp (Dwarf): New proc "tu".
3423 * gdb.dwarf2/missing-sig-type.exp: New file.
3424
34252013-04-15 Siva Chandra Reddy <sivachandra@google.com>
3426
3427 Add option to link testcases with Pthreads library when
3428 using 'prepare_for_testing' in tests.
3429
3430 * lib/gdb.exp (build_executable_from_specs): Use
3431 gdb_compile_pthreads to compile if option "pthreads" is
3432 specified.
3433
34342013-04-15 Tom Tromey <tromey@redhat.com>
3435
3436 * gdb.cp/exceptprint.exp: Add regexp catchpoint tests.
3437
34382013-04-15 Tom Tromey <tromey@redhat.com>
3439
3440 * gdb.base/default.exp: Update for $_exception.
3441 * gdb.cp/exceptprint.cc: New file.
3442 * gdb.cp/exceptprint.exp: New file.
3443 * lib/gdb.exp (skip_libstdcxx_probe_tests): New proc.
3444
34452013-04-15 Tom Tromey <tromey@redhat.com>
3446
3447 * gdb.cp/typeid.cc: New file.
3448 * gdb.cp/typeid.exp: New file.
3449
34502013-04-15 Tom Tromey <tromey@redhat.com>
3451
3452 * gdb.cp/exception.exp: Add "catch rethrow" tests.
3453
34542013-04-13 Yao Qi <yao@codesourcery.com>
3455
3456 * gdb.base/completion.exp: Test completion of command
3457 'target ctf' if target ctf is supported.
3458
34592013-04-10 Pedro Alves <palves@redhat.com>
3460
3461 * gdb.base/completion.exp: Test "set height", "set listsize" and
3462 "set trace-buffer-size" completion.
3463 * gdb.base/setshow.exp: Test "set height unlimited".
3464 * gdb.trace/trace-buffer-size.exp: Test "set trace-buffer-size
3465 unlimited".
3466
34672013-04-10 Yao Qi <yao@codesourcery.com>
3468
3469 * gdb.trace/actions.exp: Save trace data to CTF.
3470 Change to ctf target if GDB supports, read CTF data in ctf
3471 target, and check the actions of tracepoints.
3472 * gdb.trace/while-stepping.exp: Likewise.
3473 * gdb.trace/report.exp: Test GDB saves trace data to CTF
3474 format and read CTF trace file if GDB supports.
3475 * gdb.trace/tstatus.exp: Save trace data to CTF. If ctf
3476 target is supported, change to ctf target, read trace data and
3477 check output of command "tstatus".
3478 * gdb.trace/tsv.exp: Save trace frame to CTF. If GDB supports,
3479 read CTF data by target ctf and call check_tsv.
3480
34812013-04-10 Yao Qi <yao@codesourcery.com>
3482
3483 * gdb.trace/actions.exp (check_tracepoint): New.
3484 (top level): Start the tracing and check the actions of
3485 tracepoints. Save trace data to tfile format. Restart GDB
3486 and read trace file in tfile target. Check the actions of
3487 tracepoints again.
3488 * gdb.trace/while-stepping.exp: Likewise.
3489
34902013-04-10 Yao Qi <yao@codesourcery.com>
3491
3492 * gdb.trace/report.exp: Use standard_output_file for saved
3493 trace file.
3494
34952013-04-10 Hui Zhu <hui@codesourcery.com>
3496
3497 * gdb.base/Makefile.in (EXECUTABLES): Add dprintf-pending.
3498 (MISCELLANEOUS): Add dprintf-pendshr.sl.
3499 * gdb.base/dprintf-pending.c, gdb.base/dprintf-pending.exp: New.
3500
35012013-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3502
3503 * gdb.server/server-kill.exp (tstatus): Permit also ECONNRESET
3504 response.
3505
35062013-04-08 Pedro Alves <palves@redhat.com>
3507
3508 * gdb.mi/mi-break.exp (test_error): Add tests with garbage after
3509 the location.
3510
35112013-04-04 Sandra Loosemore <sandra@codesourcery.com>
3512
3513 * gdb.cp/cplabel.exp: Allow empty directory in file reported
3514 for breakpoint location.
3515
35162013-04-04 Sandra Loosemore <sandra@codesourcery.com>
3517
3518 * gdb.linespec/linespec.exp: Make dir/file:line tests
3519 conditional for non-remote hosts only.
3520
35212013-04-04 Stan Shebs <stan@codesourcery.com>
3522 Pedro Alves <palves@redhat.com>
3523
3524 * gdb.trace/Makefile.in (PROGS): Add actions-changed.
3525 * gdb.trace/actions-changed.c: New file.
3526 * gdb.trace/actions-changed.exp: New file.
3527 * lib/trace-support.exp (gdb_trace_setactions): Rename to ...
3528 (gdb_trace_setactions_command): ... this. Add "actions_command"
3529 parameter, and handle it.
3530 (gdb_trace_setactions, gdb_trace_setcommands): New procedures.
3531
35322013-04-04 Yao Qi <yao@codesourcery.com>
3533
3534 * gdb.server/server-kill.exp: Use command 'tstatus' instead of
3535 'step'.
3536
35372013-04-03 Yao Qi <yao@codesourcery.com>
3538
3539 * gdb.trace/mi-traceframe-changed.exp: Update tfile name to
3540 "tfile-basic.tf".
3541 (test_tfind_tfile): Likewise.
3542
35432013-04-03 Yao Qi <yao@codesourcery.com>
3544
3545 * gdb.trace/tfile.c (write_basic_trace_file): Pass argument
3546 "tfile-basic.tf" instead of "basic.tf".
3547 (write_error_trace_file): Pass argument "tfile-error.tf"
3548 instead of "error.tf".
3549 * gdb.trace/tfile.exp: Update tfile names to
3550 "tfile-basic.tf" and "tfile-error.tf".
3551
35522013-04-02 Sandra Loosemore <sandra@codesourcery.com>
3553
3554 * gdb.cp/ovsrch.exp (test_class): Correct regexp to allow
3555 empty directory in file for breakpoint hit.
3556
35572013-03-29 Yao Qi <yao@codesourcery.com>
3558
3559 * gdb.base/completion.exp: Test completion of commands
3560 "target core", "target tfile" and "target exec".
3561 * gdb.trace/tfile.exp: Test completion of command
3562 "target tfile".
3563
35642013-03-28 Joel Brobecker <brobecker@adacore.com>
3565
3566 * gdb.ada/win_fu_syms: New testcase.
3567
35682013-03-28 Doug Evans <dje@google.com>
3569
3570 * gdb.base/maint.exp (maint print statistics): Update expected output.
3571
35722013-03-28 Pedro Alves <palves@redhat.com>
3573
3574 PR gdb/15294
3575
3576 * gdb.base/list.exp (set_listsize): Adjust to accept $arg == 0 to
3577 mean unlimited instead of $arg < 0.
3578 (test_listsize): Remove "listsize of 0 suppresses output" test.
3579 Test that "set listsize 0" ends up with an unlimited listsize.
3580
35812013-03-28 Pedro Alves <palves@redhat.com>
3582
3583 * gdb.base/list.exp (last_line): New global.
3584 (last_line_re): New global.
3585 (test_listsize, test_list_function, test_list_forward)
3586 (test_repeat_list_command, test_list_range)
3587 (test_list_filename_and_function): Use them.
3588 * gdb.base/list0.c: Comment the last line of the file with "last
3589 line".
3590
35912013-03-28 Pedro Alves <palves@redhat.com>
3592
3593 * gdb.base/list.exp (test_listsize): Adjust test to make sure we
3594 list the whole file.
3595
35962013-03-28 Pedro Alves <palves@redhat.com>
3597
3598 * gdb.base/list.exp (set_listsize): Use gdb_test_no_output for
3599 "set listsize".
3600
36012013-03-26 Keith Seitz <keiths@redhat.com>
3602
3603 * gdb.base/dprintf.exp: Fix typo preventing "dprintf info 2"
3604 from passing.
3605
36062013-03-26 Pedro Alves <palves@redhat.com>
3607
3608 * lib/gdb.exp (skip_btrace_tests): Delay deleting the source file
3609 until after GDB has run.
3610
36112013-03-26 Yao Qi <yao@codesourcery.com>
3612
3613 * gdb.trace/actions.c, gdb.trace/circ.c: Add license header.
3614 * gdb.trace/collection.c, gdb.trace/tfile.c: Likewise.
3615
36162013-03-26 Markus Metzger <markus.t.metzger@intel.com>
3617
3618 * gdb.btrace/enable.exp: Add regression test.
3619
36202013-03-25 Tom Tromey <tromey@redhat.com>
3621
3622 * gdb.cp/m-static.exp: Add destructor-printing tests.
3623
36242013-03-25 Tom Tromey <tromey@redhat.com>
3625
3626 * gdb.cp/m-static.exp: Add constructor ptype tests.
3627 * gdb.cp/m-static.cc (single_constructor): New class.
3628 (main): Make instance of single_constructor.
3629
36302013-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3631 Pedro Alves <palves@redhat.com>
3632
3633 * gdb.server/server-kill.c: New file.
3634 * gdb.server/server-kill.exp: New file.
3635
36362013-03-21 Pedro Alves <palves@redhat.com>
3637
3638 * gdb.trace/trace-buffer-size.exp (get default buffer size):
3639 Expect $gdb_prompt in gdb_test_multiple.
3640
36412013-03-21 Doug Evans <dje@google.com>
3642
3643 * gdb.base/maint.exp: Update tests for per-command stats.
3644
36452013-03-21 Tom Tromey <tromey@redhat.com>
3646
3647 * gdb.cp/cpexprs.exp: Add test for FILENAME:: case.
3648 * gdb.cp/misc.exp: Add test for FILENAME:: case.
3649
36502013-03-20 Pedro Alves <palves@redhat.com>
3651
3652 PR gdb/15289
3653
3654 * gdb.base/remote.exp: Test
3655 "set remote hardware-watchpoint-limit -1",
3656 "set remote hardware-breakpoint-limit -1",
3657 "set remote hardware-watchpoint-limit 2147483647" and
3658 "set remote hardware-breakpoint-limit 2147483647".
3659
36602013-03-20 Pedro Alves <palves@redhat.com>
3661 Yao Qi <yao@codesourcery.com>
3662
3663 * gdb.trace/tfile.c: Add comments.
3664 (nonconstglob): New global.
3665 * gdb.trace/tfile.exp: Add comments. Test printing a non-const
3666 global that is not covered by the trace frame. Test
3667 disassembling.
3668
36692013-03-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3670
3671 * gdb.base/valgrind-infcall.exp
3672 (continue #$continue_count) <remote connection closed>
3673 (continue #$continue_count) <valgrind vgdb has terminated>: Add kill of
3674 $valgrind_pid.
3675
36762013-03-15 Tom Tromey <tromey@redhat.com>
3677
3678 * gdb.cp/overload.cc (intintfunc): New.
3679 * gdb.cp/overload.exp: Add regression test.
3680
36812013-03-15 Yao Qi <yao@codesourcery.com>
3682
3683 * gdb.threads/non-ldr-exc-1.exp (do_test): Fix the indent of
3684 using with_test_prefix.
3685 * gdb.threads/non-ldr-exc-2.exp (do_test): Likewise.
3686 * gdb.threads/non-ldr-exc-3.exp (do_test): Likewise.
3687 * gdb.threads/non-ldr-exc-4.exp (do_test): Likewise.
3688 * gdb.threads/watchpoint-fork.exp (test): Likewise.
3689 * gdb.base/break-interp.exp (test_core): Likewise.
3690 (test_attach_gdb): Likewise.
3691 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
3692 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
3693 Likewise.
3694 * gdb.base/jit-so.exp (one_jit_test): Likewise.
3695 * gdb.base/jit.exp (one_jit_test): Likewise.
3696 * gdb.base/sepdebug.exp (test_different_dir): Likewise.
3697 * gdb.dwarf2/dw2-dir-file-name.exp (test): Likewise.
3698 * gdb.dwarf2/dw2-noloc.exp (file_symbols): Likewise.
3699 * gdb.mi/mi-breakpoint-changed.exp (test_pending_resolved):
3700 Likewise.
3701 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
3702 Likewise.
3703 * gdb.mi/mi-watch.exp test_watchpoint_all): Likewise.
3704 * gdb.mi/pr11022.exp (test_memory_changed_observer): Likewise.
3705 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Likewise.
3706 (tracepoint_change_loc_2): Likewise.
3707 * gdb.trace/disconnected-tracing.exp (disconnected_tracing):
3708 Likewise.
3709 (disconnected_tfind): Likewise.
3710 * gdb.trace/mi-traceframe-changed.exp (test_tfind_tfile):
3711 Likewise.
3712 (test_tfind_remote): Likewise.
3713 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect):
3714 Likewise.
3715 (test_pending_resolved): Likewise.
3716 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv):
3717 Likewise.
3718 (test_upload_tsv): Likewise.
3719 * gdb.trace/pending.exp (pending_tracepoint_resolved):
3720 Likewise.
3721 (pending_tracepoint_works): Likewise.
3722 * gdb.trace/report.exp (use_collected_data): Likewise.
3723 * gdb.trace/status-stop.exp (test_tstart_tstop_tstart):
3724 Likewise.
3725 (test_tstart_tstart, test_buffer_full_tstart): Likewise.
3726 * gdb.trace/strace.exp (strace_info_marker): Likewise.
3727 (strace_trace_on_same_addr): Likewise.
3728 (strace_trace_on_diff_addr): Likewise.
3729 * gdb.trace/unavailable.exp (gdb_collect_args_test): Likewise.
3730 (gdb_collect_locals_test): Likewise.
3731 (gdb_unavailable_registers_test): Likewise.
3732 (gdb_collect_globals_test): Likewise.
3733
37342013-03-15 Yao Qi <yao@codesourcery.com>
3735
3736 * gdb.base/condbreak.exp: Add semicolon back which was removed
3737 by my previous commit.
3738
37392013-03-14 Yao Qi <yao@codesourcery.com>
3740
3741 * config/monitor.exp (gdb_target_cmd): Remove semicolon after
3742 'return'.
3743 (gdb_target_monitor, gdb_load): Likewise.
3744 * config/sid.exp (gdb_load): Likewise.
3745 * config/slite.exp (gdb_load): Likewise.
3746 * config/vx.exp (gdb_start, spawn_vxgdb): Likewise.
3747 * gdb.ada/arrayidx.exp, gdb.ada/null_array.exp: Likewise.
3748 * gdb.arch/mips-octeon-bbit.exp (single_step): Likewise.
3749 (single_step_until): Likewise.
3750 * gdb.arch/powerpc-d128-regs.exp: Likewise.
3751 * gdb.arch/system-gcore.exp: Likewise.
3752 * gdb.base/bigcore.exp (extract_heap): Likewise.
3753 * gdb.base/break-on-linker-gcd-function.exp: Likewise.
3754 * gdb.base/call-ar-st.exp: Likewise.
3755 * gdb.base/call-rt-st.exp: Likewise.
3756 * gdb.base/call-sc.exp, gdb.base/call-strs.exp: Likewise.
3757 * gdb.base/callfuncs.exp, gdb.base/completion.exp: Likewise.
3758 * gdb.base/condbreak.exp, gdb.base/constvars.exp: Likewise.
3759 * gdb.base/corefile.exp: Likewise.
3760 * gdb.base/dbx.exp (gdb_file_cmd): Likewise.
3761 * gdb.base/exprs.exp, gdb.base/fileio.exp: Likewise.
3762 * gdb.base/fixsection.exp: Likewise.
3763 * gdb.base/funcargs.exp: Likewise.
3764 * gdb.base/gcore-buffer-overflow.exp: Likewise.
3765 * gdb.base/gcore-relro.exp: Likewise.
3766 * gdb.base/gcore.exp, gdb.base/gdb11530.exp: Likewise.
3767 * gdb.base/gdb11531.exp, gdb.base/gnu-ifunc.exp: Likewise.
3768 * gdb.base/info-os.exp, gdb.base/info-proc.exp: Likewise.
3769 * gdb.base/interp.exp, gdb.base/langs.exp:: Likewise.
3770 * gdb.base/list.exp: Likewise.
3771 (set_listsize): Likewise.
3772 * gdb.base/logical.exp, gdb.base/mips_pro.exp: Likewise.
3773 * gdb.base/miscexprs.exp, gdb.base/nodebug.exp: Likewise.
3774 * gdb.base/opaque.exp, gdb.base/pointers.exp: Likewise.
3775 * gdb.base/psymtab.exp, gdb.base/ptype.exp: Likewise.
3776 * gdb.base/relational.exp, gdb.base/scope.exp: Likewise.
3777 * gdb.base/setvar.exp: Likewise.
3778 (test_set): Likewise.
3779 * gdb.base/signals.exp, gdb.base/sizeof.exp: Likewise.
3780 * gdb.base/solib-overlap.exp: Likewise.
3781 * gdb.base/store.exp, gdb.base/structs.exp: Likewise.
3782 * gdb.base/structs2.exp, gdb.base/volatile.exp: Likewise.
3783 * gdb.base/watchpoint.exp (initialize): Likewise.
3784 (test_simple_watchpoint): Likewise.
3785 (test_disabling_watchpoints): Likewise.
3786 (test_watchpoint_triggered_in_syscall): Likewise.
3787 * gdb.base/whatis.exp, gdb.cp/ambiguous.exp: Likewise.
3788 * gdb.cp/casts.exp, gdb.cp/ctti.exp: Likewise.
3789 * gdb.cp/namespace.exp, gdb.cp/nsdecl.exp: Likewise.
3790 * gdb.cp/psmang.exp, gdb.dwarf2/dw2-ranges.exp: Likewise.
3791 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
3792 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
3793 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
3794 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
3795 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
3796 * gdb.hp/gdb.compat/xdb2.exp: Likewise.
3797 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
3798 * gdb.hp/gdb.defects/bs14602.exp: Likewise.
3799 * gdb.hp/gdb.defects/solib-d.exp: Likewise.
3800 * gdb.mi/gdb792.exp: Likewise.
3801 * gdb.mi/mi-inheritance-syntax-error.exp: Likewise.
3802 * gdb.mi/mi-logging.exp, gdb.mi/mi-var-cp.exp : Likewise.
3803 * gdb.mi/mi-var-rtti.exp, gdb.python/py-type.exp: Likewise.
3804 * gdb.threads/gcore-thread.exp: Likewise.
3805 (load_core): Likewise.
3806 * gdb.threads/pthreads.exp (all_threads_running): Likewise.
3807 (test_startup, check_control_c): Likewise.
3808 * gdb.threads/sigstep-threads.exp: Likewise.
3809 * gdb.threads/thread_check.exp: Likewise.
3810 * gdb.trace/backtrace.exp, gdb.trace/change-loc.exp: Likewise.
3811 * gdb.trace/circ.exp (run_trace_experiment): Likewise.
3812 (set_a_tracepoint, trace_buffer_normal): Likewise.
3813 (gdb_trace_circular_tests): Likewise.
3814 * gdb.trace/collection.exp: Likewise.
3815 * gdb.trace/disconnected-tracing.exp: Likewise.
3816 * gdb.trace/infotrace.exp: Likewise.
3817 * gdb.trace/mi-traceframe-changed.exp: Likewise.
3818 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
3819 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv): Likewise.
3820 * gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp: Likewise.
3821 * gdb.trace/pending.exp, gdb.trace/report.exp: Likewise.
3822 * gdb.trace/stap-trace.exp: Likewise.
3823 * gdb.trace/status-stop.exp,gdb.trace/strace.exp: Likewise.
3824 * gdb.trace/tfind.exp, gdb.trace/trace-break.exp: Likewise.
3825 * gdb.trace/trace-buffer-size.exp: Likewise.
3826 * gdb.trace/tspeed.exp, gdb.trace/tsv.exp: Likewise.
3827 * gdb.trace/unavailable.exp: Likewise.
3828 * gdb.trace/while-dyn.exp: Likewise.
3829 * lib/fortran.exp (set_lang_fortran): Likewise.
3830 * lib/gdb.exp (default_gdb_version, gdb_start_cmd): Likewise.
3831 (gdb_breakpoint, gdb_reinitialize_dir): Likewise.
3832 (default_gdb_start, get_compiler_info): Likewise.
3833 (gdb_compile, gdb_compile_objc, gdb_reload, gdb_init): Likewise.
3834 (get_debug_format, setup_xfail_format): Likewise.
3835 (rerun_to_main, gdb_skip_float_test): Likewise.
3836 (build_id_debug_filename_get, get_remotetimeout): Likewise.
3837 * lib/java.exp (set_lang_java): Likewise.
3838 * lib/mi-support.exp (default_mi_gdb_start): Likewise.
3839 (mi_gdb_reinitialize_dir, mi_gdb_target_cmd): Likewise.
3840 (mi_gdb_file_cmd, mi_gdb_test): Likewise.
3841 (mi_run_cmd_full, mi_expect_interrupt): Likewise.
3842 * lib/objc.exp (set_lang_objc): Likewise.
3843 * lib/pascal.exp (set_lang_pascal): Likewise.
3844 * lib/prompt.exp (default_prompt_gdb_start): Likewise.
3845 * lib/trace-support.exp (gdb_trace_setactions, gdb_tfind_test): Likewise.
3846 (gdb_readexpr, gdb_gettpnum, gdb_find_recursion_test_baseline): Likewise.
3847
38482013-03-14 Sergio Durigan Junior <sergiodj@redhat.com>
3849
3850 PR c++/15203
3851 PR c++/15210
3852 * gdb.cp/m-static.cc (keepalive_int): New function.
3853 (gnu_obj_1::method): New variable `sintvar', call `keepalive_int'.
3854 * gdb.cp/m-static.exp: New test for `sintvar'.
3855
38562013-03-14 Yao Qi <yao@codesourcery.com>
3857
3858 * gdb.trace/tstatus.exp (run_trace_experiment): Save the output
3859 of 'tstatus' into tstatus_output.
3860 (top level): Save the trace data to tfile. Read trace file in
3861 tfile target. Check the trace status.
3862
38632013-03-13 Yao Qi <yao@codesourcery.com>
3864
3865 * gdb.trace/tsv.exp (check_tsv): New.
3866 (top level): Save a tfile on current trace session. Call
3867 check_tsv on live target. Load the tfile with target tfile
3868 and call check_tsv again.
3869
38702013-03-13 Yao Qi <yao@codesourcery.com>
3871
3872 * gdb.trace/tsv.exp: Remove code unrelated to testing TSV.
3873 Replace some "gdb_test" with "gdb_test_no_output".
3874
38752013-03-12 Paul Hilfinger <hilfingr@adacore.com>
3876
3877 * gdb.ada/expr_delims.exp: New file.
3878 * gdb.ada/expr_delims/foo.adb: New file.
3879 * gdb.ada/expr_delims/pck.ads: New file.
3880 * gdb.ada/expr_delims/pck.adb: New file.
3881
38822013-03-11 Keith Seitz <keiths@redhat.com>
3883
3884 * watchpoint.exp (test_no_hw_watchpoints): Add test using
3885 both condition and thread. Then delete the watchpoint.
3886
38872013-03-11 Christian Himpel <christian.himpel@intel.com>
3888
3889 * Makefile.in: Add btrace testsuite.
3890 * configure: Regenerated.
3891 * configure.ac: Add btrace testsuite.
3892 * gdb.btrace/Makefile.in: New file.
3893 * gdb.btrace/enable.c: New file.
3894 * gdb.btrace/enable.exp: New file.
3895 * gdb.btrace/function_call_history.c: New file.
3896 * gdb.btrace/function_call_history.exp: New file.
3897 * gdb.btrace/instruction_history.c: New file.
3898 * gdb.btrace/instruction_history.exp: New file.
3899 * gdb.btrace/instruction_history.S: New file.
3900 * lib/gdb.exp: Add btrace skip proc.
3901
39022013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3903
3904 Fix entry-values if the callee called a noreturn function.
3905 * gdb.arch/amd64-tailcall-noret.S: New file.
3906 * gdb.arch/amd64-tailcall-noret.c: New file.
3907 * gdb.arch/amd64-tailcall-noret.exp: New file.
3908
39092013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3910
3911 Fix entry-values in C++ across CUs.
3912 * gdb.arch/amd64-tailcall-cxx.exp: New file.
3913 * gdb.arch/amd64-tailcall-cxx1.S: New file.
3914 * gdb.arch/amd64-tailcall-cxx1.cc: New file.
3915 * gdb.arch/amd64-tailcall-cxx2.S: New file.
3916 * gdb.arch/amd64-tailcall-cxx2.cc: New file.
3917
39182013-03-08 Stan Shebs <stan@codesourcery.com>
3919 Hafiz Abid Qadeer <abidh@codesourcery.com>
3920
3921 gdb/testsuite/
3922 * gdb.trace/trace-buffer-size.exp: New file.
3923 * gdb.trace/trace-buffer-size.c: New file.
3924
39252013-03-06 Pedro Alves <palves@redhat.com>
3926
3927 * gdb.trace/tstatus.exp (run_trace_experiment): When the target
3928 doesn't support the tested optional feature, call "unsupported"
3929 with the same test message as the "pass" case, instead of calling
3930 "pass" with a different message. Use the same text for the "fail"
3931 cases too.
3932
39332013-03-06 Yao Qi <yao@codesourcery.com>
3934
3935 * gdb.trace/tstatus.exp: Remove the invocation of
3936 gdb_load_shlibs, gdb_compile, clean_restart and runto_main.
3937 (test_tracepoints): Don't set fast tracepoint.
3938 (top level): Don't check agent library is loaded or not.
3939
39402013-03-06 Yao Qi <yao@codesourcery.com>
3941
3942 * gdb.trace/tstatus.exp (run_trace_experiment): Escape
3943 parentheses by "\\".
3944
39452013-03-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3946
3947 * gdb.linespec/base/one/thefile.cc (twodup): New.
3948 (m): Call it.
3949 * gdb.linespec/base/two/thefile.cc (dupname): New.
3950 (n): Call it.
3951 * gdb.linespec/break-ask.exp: New file.
3952 * gdb.linespec/lspec.cc (body_elsewhere): New comment marker.
3953
39542013-02-28 Yao Qi <yao@codesourcery.com>
3955
3956 * gdb.trace/report.exp: Move some code to ...
3957 (use_collected_data): New.
3958 (top level): Call use_collected_data once on the live target.
3959 Save at file of the current trace session, load it with target
3960 tfile, and call use_collected_data again.
3961
39622013-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3963
3964 * gdb.threads/fork-thread-pending.c (main): Add alarm.
3965
39662013-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3967
3968 * gdb.base/valgrind-infcall.exp (valgrind_pid): New variable.
3969 Add final kill of ${valgrind_pid}.
3970
39712013-02-20 Siva Chandra Reddy <sivachandra@google.com>
3972
3973 * gdb.python/py-arch.c: New test case
3974 * gdb.python/py-arch.exp: New tests to test
3975 gdb.Architecture.disassemble
3976 * gdb.python/Makefile.in: Add py-arch to the list of
3977 EXECUTABLES.
3978
39792013-02-18 Tom Tromey <tromey@redhat.com>
3980
3981 * gdb.dwarf2/subrange.exp: New file.
3982
39832013-02-15 Pedro Alves <pedro@codesourcery.com>
3984 Hafiz Abid Qadeer <abidh@codesourcery.com>
3985
3986 * gdb.trace/tfile.exp: Add test for -trace-status command.
3987
39882013-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3989
3990 * gdb.threads/pthread_cond_wait.c (main): Remove variable ts. Replace
3991 nanosleep by sleep.
3992
39932013-02-14 Pedro Alves <palves@redhat.com>
3994
3995 * gdb.cp/userdef.exp (ptype &*c): Don't expect an &.
3996
39972013-02-14 Pedro Alves <pedro@codesourcery.com>
3998 Hafiz Abid Qadeer <abidh@codesourcery.com>
3999
4000 * gdb.trace/tsv.exp: Adjust tests, and add a few more.
4001
40022013-02-12 Tom Tromey <tromey@redhat.com>
4003
4004 * gdb.cp/m-static.cc (gnu_obj_1::~gnu_obj_1): New destructor.
4005 * gdb.cp/m-static.exp: Add tests to print quoted destructor.
4006
40072013-02-12 Pedro Alves <palves@redhat.com>
4008
4009 * gdb.base/catch-signal.c: Update copyright years.
4010 * gdb.base/catch-signal.exp: Update copyright years.
4011 * gdb.dwarf2/dw2-dir-file-name.c: Update copyright years.
4012 * gdb.dwarf2/dw2-dir-file-name.exp: Update copyright years.
4013 * gdb.dwarf2/dw2-empty-pc-range.S: Update copyright years.
4014 * gdb.dwarf2/dw2-error.S: Update copyright years.
4015 * gdb.dwarf2/dw2-error.c: Update copyright years.
4016 * gdb.dwarf2/dw2-restrict.S: Update copyright years.
4017 * gdb.dwarf2/dw2-restrict.c: Update copyright years.
4018 * gdb.dwarf2/dw2-restrict.exp: Update copyright years.
4019
40202013-02-12 Pedro Alves <palves@redhat.com>
4021
4022 * gdb.base/catch-signal.exp: Correct test file name in "Skipping"
4023 message.
4024 * gdb.base/sigaltstack.exp: Ditto.
4025 * gdb.base/siginfo.exp: Ditto.
4026 * gdb.base/sizeof.exp: Ditto.
4027
40282013-02-12 Pedro Alves <palves@redhat.com>
4029
4030 * gdb.mi/mi-basics.exp: Tweak intro comment.
4031 * gdb.mi/mi-break.exp: Tweak intro comment.
4032 * gdb.mi/mi-console.exp: Tweak intro comment.
4033 * gdb.mi/mi-file.exp: Tweak intro comment.
4034 * gdb.mi/mi-read-memory.exp: Tweak intro comment.
4035 * gdb.mi/mi-return.exp: Tweak intro comment.
4036 * gdb.mi/mi-stepi.exp: Tweak intro comment.
4037 * gdb.mi/mi-until.exp: Tweak intro comment.
4038 * gdb.mi/mi-watch.exp: Tweak intro comment.
4039
40402013-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
4041
4042 * gdb.server/no-thread-db.exp: New file.
4043 * gdb.server/no-thread-db.c: New file.
4044 * gdb.server/Makefile.in (EXECUTABLES): Add no-thread-db.
4045
40462013-02-11 Doug Evans <dje@google.com>
4047
4048 * gdb.base/printcmds.exp (test_printf_with_dfp): Add test for printing
4049 two decfloats.
4050
40512013-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
4052
4053 * gdb.base/bitfields.c (struct internalvartest): New declaration.
4054 * gdb.base/bitfields.exp (bitfield_internalvar): New function.
4055
40562013-02-10 Jan Kratochvil <jan.kratochvil@redhat.com>
4057
4058 * gdb.python/py-prompt.exp: Add to the end a kill of $testpid.
4059
40602013-02-06 Yao Qi <yao@codesourcery.com>
4061
4062 * gdb.trace/mi-tsv-changed.exp (test_create_delete_tsv): Rename
4063 to ...
4064 (test_create_delete_modify_tsv): ... here. New test on modifying
4065 the initial value of a tsv.
4066
40672013-02-05 Jan Kratochvil <jan.kratochvil@redhat.com>
4068
4069 * gdb.dwarf2/dw2-dir-file-name.exp (cd ${srcabsdir}/rdir): Rename to ...
4070 (cd .../rdir): ... here.
4071
40722013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4073
4074 * gdb.linespec/base/one/header.h: New file.
4075 * gdb.linespec/base/two/header.h: New file.
4076 * gdb.linespec/macro-relative.c: New file.
4077 * gdb.linespec/macro-relative.exp: New file.
4078
40792013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4080
4081 * gdb.base/fullpath-expand-func.c: New file.
4082 * gdb.base/fullpath-expand.c: New file.
4083 * gdb.base/fullpath-expand.exp: New file.
4084 * gdb.base/realname-expand-real.c: New file.
4085 * gdb.base/realname-expand.c: New file.
4086 * gdb.base/realname-expand.exp: New file.
4087
40882013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4089
4090 * gdb.dwarf2/dw2-dir-file-name.exp: New file.
4091 * gdb.dwarf2/dw2-dir-file-name.c: New file.
4092
40932013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4094
4095 * gdb.mi/mi-fullname-deleted.exp: Use double last slash for $srcfileabs.
4096 (compare_filenames_for_search does not match)
4097 (compare_filenames_for_search does match): New tests.
4098
40992013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4100
4101 * gdb.gdb/xfullpath.exp: Replace xfullpath calls by gdb_realpath calls.
4102
41032013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4104
4105 * lib/java.exp (compile_java_from_source): Initialize ARGS as a list.
4106
41072013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4108
4109 * gdb.base/gnu-debugdata.exp): Create ${binfile}.debug,
4110 ${binfile}.mini_debuginfo-debuglink, add -k to xz, use now
4111 ${binfile}.mini_debuginfo-debuglink and
4112 ${binfile}.mini_debuginfo-debuglink.xz.
4113
41142013-02-01 Tom Tromey <tromey@redhat.com>
4115
4116 * gdb.dwarf2/method-ptr.exp: Use correct form for non-string
4117 attributes.
4118
41192013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4120 Tom Tromey <tromey@redhat.com>
4121
4122 * gdb.dwarf2/method-ptr.exp: Link with c++.
4123 * lib/dwarf.exp (Dwarf::assemble): Declare _cu_count.
4124
41252013-01-31 Tom Tromey <tromey@redhat.com>
4126
4127 * gdb.base/jit.exp (compile_jit_test): New proc.
4128 Add PIE tests.
4129
41302013-01-31 Tom Tromey <tromey@redhat.com>
4131
4132 * gdb.dwarf2/method-ptr.cc: New file.
4133 * gdb.dwarf2/method-ptr.exp: New file.
4134
41352013-01-31 Tom Tromey <tromey@redhat.com>
4136
4137 * lib/dwarf.exp (namespace Dwarf): New.
4138
41392013-01-29 Tom Tromey <tromey@redhat.com>
4140
4141 * gdb.dwarf2/fission-reread.exp: Add unload test.
4142
41432013-01-28 Doug Evans <dje@google.com>
4144
4145 * gdb.dwarf2/fission-loclists.exp: New file.
4146 * gdb.dwarf2/fission-loclists.S: New file.
4147
41482013-01-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4149
4150 Code cleanup.
4151 * gdb.base/restore.exp: Replace gdb_compile, gdb_exit, gdb_start,
4152 gdb_reinitialize_dir and gdb_load by standard_testfile, set executable
4153 and prepare_for_testing.
4154 * gdb.base/store.exp: Likewise.
4155
41562013-01-25 Tom Tromey <tromey@redhat.com>
4157
4158 * gdb.python/py-explore.exp: Expect the gdb prompt.
4159
41602013-01-25 Andrew Burgess <aburgess@broadcom.com>
4161
4162 * gdb.base/gnu_vector.c: New variable for use in tests.
4163 * gdb.base/gnu_vector.exp: Update and extend tests to reflect
4164 changes in scalar to vector casting and widening.
4165 * gdb.python/py-type.c: New variables for use in tests.
4166 * gdb.python/py-type.exp: Update vector related tests to reflect
4167 changes in scalar to vector casting and widening.
4168
41692013-01-24 Tiago Stürmer Daitx <tdaitx@linux.vnet.ibm.com>
4170
4171 * gdb.base/prologue-include.c: New file.
4172 * gdb.base/prologue-include.exp: New file.
4173 * gdb.base/prologue-include.h: New file.
4174
41752013-01-24 Hafiz Abid Qadeer <abidh@codesourcery.com>
4176
4177 PR gdb/13443
4178 * gdb.mi/mi-var-block.exp: Make test messages unique.
4179
41802013-01-23 Tom Tromey <tromey@redhat.com>
4181
4182 * gdb.dwarf2/dw2-error.exp: Pass test name to "file" test.
4183
41842013-01-23 Tom Tromey <tromey@redhat.com>
4185
4186 * gdb.cp/converts.cc (main): Initialize 'a'.
4187
41882013-01-23 Siva Chandra Reddy <sivachandra@google.com>
4189
4190 * testsuite/gdb.python/frame.exp: Add a test for
4191 gdb.Frame.architecture() method.
4192
41932013-01-22 Pedro Alves <palves@redhat.com>
4194
4195 * gdb.base/annota1.exp (signal sent): No longer expect
4196 breakpoints-invalid.
4197 * gdb.cp/annota2.exp (continue until exit)
4198 (watch triggered on a.x): Ditto.
4199
42002013-01-22 Pedro Alves <palves@redhat.com>
4201
4202 * gdb.base/annota1.exp (breakpoints_invalid): New variable.
4203 Adjust tests to breakpoints-invalid changes.
4204 * gdb.cp/annota2.exp (breakpoints_invalid, frames_invalid): New
4205 variables.
4206 Adjust tests to breakpoints-invalid changes.
4207
42082013-01-22 Pedro Alves <palves@redhat.com>
4209
4210 * gdb.base/annota1.exp (annotate ignore count change): Add
4211 expected output for failure case.
4212
42132013-01-22 Tom Tromey <tromey@redhat.com>
4214
4215 * gdb.gdb/selftest.exp (do_steps_and_nexts): Handle bfd_init
4216 call.
4217
42182013-01-21 Marc Khouzam <marc.khouzam@ericsson.com>
4219
4220 * gdb.mi/mi-break.exp: Expect new 'thread-groups' field.
4221 * gdb.mi/mi-catch-load.exp: Ditto.
4222 * gdb.mi/mi-nsmoribund.exp: Expect new 'thread-groups' field.
4223 Also handle 'thread' field.
4224 * gdb.mi/mi-simplerun.exp: Expect new 'thread-groups' field.
4225 * gdb.mi/mi-watch.exp: Ditto.
4226 * lib/mi-support.exp: Ditto.
4227
42282013-01-21 Siva Chandra Reddy <sivachandra@google.com>
4229
4230 * gdb.python/py-explore.exp: Improve a test
4231
42322013-01-18  David Blaikie  <dblaikie@gmail.com>
4233
4234 * gdb.base/label.c (main): Correct the type of the second
4235 parameter.
4236
42372013-01-18 Tom Tromey <tromey@redhat.com>
4238
4239 * gdb.dwarf2/trace-crash.s: New file.
4240 * gdb.dwarf2/trace-crash.exp: New file.
4241
42422013-01-18 Hafiz Abid Qadeer<abidh@codesourcery.com>
4243
4244 PR gdb/13443
4245 * gdb.base/checkpoint.exp: Update test messages to make them
4246 unique.
4247
42482013-01-18 Yao Qi <yao@codesourcery.com>
4249
4250 * gdb.trace/infotrace.exp: Check 'traceframe usage' in the
4251 output of 'info tracepoints'.
4252 * gdb.trace/disconnected-tracing.exp (disconnected_tracing):
4253 Likewise.
4254 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
4255 * gdb.trace/disconnected-tracing.c (struct foo): New.
4256
42572013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4258
4259 * gdb.dwarf2/dw2-dos-drive.S: New file.
4260 * gdb.dwarf2/dw2-dos-drive.exp: New file.
4261
42622013-01-17 Doug Evans <dje@google.com>
4263
4264 * boards/dwarf4-gdb-index.exp: Use any existing CC_FOR_TARGET,
4265 CXX_FOR_TARGET.
4266
4267 * boards/cc-with-tweaks.exp: New file.
4268
42692013-01-17 Tom Tromey <tromey@redhat.com>
4270
4271 * gdb.base/completion.exp: Add "set cp-abi" completion test.
4272
42732013-01-17 Pedro Alves <palves@redhat.com>
4274
4275 Merge dg-extract-results.sh from upstream (svn 195224).
4276
4277 2013-01-15 David Blaikie <dblaikie@gmail.com>
4278 * dg-extract-results.sh: Fix order of summary counts.
4279
4280 2013-01-15 David Blaikie <dblaikie@gmail.com>
4281 * dg-extract-results.sh: Constrain the start-of-log pattern.
4282
4283 2013-01-15 David Blaikie <dblaikie@gmail.com>
4284 * dg-extract-results.sh: Handle KPASSes.
4285
4286 2010-05-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4287 * dg-extract-results.sh: Redirect grep output to /dev/null instead
4288 of grep -q.
4289
42902012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com>
4291
4292 * gdb.base/jit-reader.exp: New file. Test case for the jit-reader
4293 interface.
4294 * gdb.base/jithost.c: New file.
4295 * gdb.base/jithost.h: New file.
4296 * gdb.base/jitreader.c : New file.
4297 * gdb.base/jit-protocol.h: New file.
4298
42992013-01-16 Tom Tromey <tromey@redhat.com>
4300
4301 * gdb.base/catch-signal.c: New file.
4302 * gdb.base/catch-signal.exp: New file.
4303
43042013-01-16 Tom Tromey <tromey@redhat.com>
4305
4306 * gdb.mi/mi-catch-load.exp: Look for "catch-type".
4307
43082013-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4309
4310 * gdb.dwarf2/dw2-restrict.exp: Skip compilation on non-x86_64 targets.
4311
43122013-01-14 Tom Tromey <tromey@redhat.com>
4313
4314 * gdb.base/completion.exp: Add "set gnutarget" test.
4315
43162013-01-14 Tom Tromey <tromey@redhat.com>
4317
4318 * gdb.dwarf2/dw2-restrict.S: New file.
4319 * gdb.dwarf2/dw2-restrict.c: New file.
4320 * gdb.dwarf2/dw2-restrict.exp: New file.
4321
43222013-01-14 Tom Tromey <tromey@redhat.com>
4323
4324 * gdb.dwarf2/dw2-error.exp: New file.
4325 * gdb.dwarf2/dw2-error.c: New file.
4326 * gdb.dwarf2/dw2-error.S: New file.
4327
43282013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4329
4330 * gdb.cp/parse-lang.cc: New file.
4331 * gdb.cp/parse-lang.exp: New file.
4332
43332013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4334
4335 * gdb.mi/mi-fullname-deleted.exp: Set srcfileabssubst and initdir.
4336 (set substitute-path): New test.
4337 (fullname present): Remove content.
4338 (substituted fullname): New test.
4339
43402013-01-13 Joel Brobecker <brobecker@adacore.com>
4341
4342 * gdb.python/py-finish-breakpoint.exp: Add skip_python_tests
4343 check. Move $gdb_py_is_py24 value check right after.
4344
43452013-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4346
4347 * gdb.base/dprintf.exp (dprintf info 1): Fix expectation on 64-bit
4348 targets.
4349
43502013-01-11 Yao Qi <yao@codesourcery.com>
4351
4352 * gdb.base/dprintf.exp: Check the output of 'info breakpoints'
4353 for dprintf.
4354 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
4355 Check the fields in "=breakpoint-created" for dprintf.
4356
43572012-12-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4358
4359 * gdb.mi/mi-fullname-deleted.exp: New file.
4360
43612012-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4362
4363 * gdb.base/skip-solib.exp (info skip with pending file): Update the
4364 expected output.
4365 (info skip with pending file): Remove.
4366 (ignoring function in solib, info skip for function multiply): Update
4367 the expected output.
4368 * gdb.base/skip.ex (skip (main), skip function baz, info skip)
4369 (info skip (delete 1), info skip after disabling all)
4370 (info skip after enabling all, info skip after disabling 4 2-3)
4371 (info skip after enabling 2-3, info skip 2-3)
4372 (info skip after deleting 2 3): Update the expected output.
4373 * gdb.linespec/base/two/thefile.cc (n): New variable v, split the
4374 statement to its initialization and return.
4375 * gdb.linespec/skip-two.exp: New file.
4376
43772012-12-19 Doug Evans <dje@google.com>
4378
4379 * gdb.base/maint.exp: Handle testing with .gdb_index.
4380
43812012-12-19 Joel Brobecker <brobecker@adacore.com>
4382
4383 * gdb.arch/mips-octeon-bbit.exp: Fix copyright header from
4384 Cavium to FSF.
4385
43862012-12-19 Joel Brobecker <brobecker@adacore.com>
4387
4388 * dg-extract-results.sh: Update contact info in copyright notice.
4389 * gdb.arch/mips-octeon-bbit.exp: Update copyright notice to
4390 GPL v3 or later. Update contact info.
4391 * gdb.fortran/logical.f90, gdb.threads/watchpoint-fork-child.c,
4392 gdb.threads/watchpoint-fork-mt.c,
4393 gdb.threads/watchpoint-fork-parent.c,
4394 gdb.threads/watchpoint-fork-st.c,
4395 gdb.threads/watchpoint-fork.h: Likewise.
4396
43972012-12-15 Yao Qi <yao@codesourcery.com>
4398
4399 * gdb.trace/mi-tracepoint-changed.exp (test_pending_resolved): Check
4400 'installed' field in '=breakpoint-modified'.
4401 (test_reconnect): Check 'installed' field in
4402 '=breakpoint-modified' and '=breakpoint-created'.
4403
4404 * gdb.trace/actions.exp: Update test for 'installed' field.
4405 * gdb.trace/change-loc.exp (tracepoint_change_loc_1):
4406 (tracepoint_change_loc_2): Likewise.
4407 Check 'info tracepoint' display nothing else.
4408 * gdb.trace/deltrace.exp: Likewise.
4409 * gdb.trace/infotrace.exp: Likewise.
4410 * gdb.trace/mi-traceframe-changed.exp (test_tfind_remote):
4411 Likewise.
4412 * gdb.trace/passcount.exp: Likewise.
4413 * gdb.trace/tracecmd.exp: Likewise.
4414 * gdb.trace/while-stepping.exp: Likewise.
4415
44162012-12-14 Tom Tromey <tromey@redhat.com>
4417
4418 * gdb.cp/member-name.exp: New file.
4419 * gdb.cp/member-name.cc: New file.
4420
44212012-12-14 Tom Tromey <tromey@redhat.com>
4422
4423 * gdb.cp/templates.exp (test_ptype_of_templates): Update kfails.
4424
44252012-12-14 Doug Evans <dje@google.com>
4426
4427 * gdb.dwarf2/implptr-optimized-out.S: DIE offset for
4428 DW_OP_GNU_implicit_pointer is section-relative.
4429
44302012-12-14 Tom Tromey <tromey@redhat.com>
4431
4432 * gdb.base/info-proc.exp: Add core file tests.
4433
44342012-12-14 Yufeng Zhang <yufeng.zhang@arm.com>
4435
4436 * gdb.base/kill-after-signal.exp: Disable if gdb,nosignals.
4437
44382012-12-13 Doug Evans <dje@google.com>
4439
4440 * gdb.multi/multi-arch-exec.exp: Skip for i*86-linux.
4441 * gdb.multi/multi-arch.exp: Ditto.
4442
44432012-12-12 Keven Boell <keven.boell@intel.com>
4444
4445 * gdb.mi/mi-catch-load-so.c: New. Clone of the
4446 catch load test library source file.
4447 * gdb.mi/mi-catch-load.c: New. Clone of the catch
4448 load test source file.
4449 * gdb.mi/mi-catch-load.exp: New. Test file for
4450 basic MI -catch-load and -catch-unload tests.
4451
44522012-12-11 Paul Koning <paul_koning@dell.com>
4453
4454 * gdb.python/py-prettyprint.py (_iterator): Remove exception_flag
4455 exception.
4456 (_iterator_except): New function.
4457 (ArrayPrinter): Use _iterator function instead of local _iterator
4458 class for Python 3 compatibility.
4459 (NoStringContainerPrinter): Use _iterator_except instead of
4460 _iterator.
4461 * gdb.python/py-typeprint.exp: Use exec(open(...).read()) instead of
4462 execfile for Python 3 compatibility.
4463 * gdb.python/python.exp: Handle Python 2.4 exception traceback
4464 format in error_prompt test.
4465
44662012-12-10 Paul Koning <paul_koning@dell.com>
4467
4468 * gdb.base/charset.exp: Change print syntax for Python 3
4469 compatibility.
4470 * gdb.python/py-block.exp: Ditto.
4471 * gdb.python/py-breakpoint.exp: Ditto.
4472 * gdb.python/py-cmd.exp: Ditto.
4473 * gdb.python/py-events.py: Ditto.
4474 * gdb.python/py-finish-breakpoint.py: Ditto.
4475 * gdb.python/py-finish-breakpoint2.exp: Ditto.
4476 * gdb.python/py-finish-breakpoint2.py: Ditto.
4477 * gdb.python/py-frame-inline.exp: Ditto.
4478 * gdb.python/py-frame.exp: Ditto.
4479 * gdb.python/py-infthread.exp: Ditto.
4480 * gdb.python/py-objfile.exp: Ditto.
4481 * gdb.python/py-parameter.exp: Ditto.
4482 * gdb.python/py-progspace.exp: Ditto.
4483 * gdb.python/py-prompt.exp: Ditto.
4484 * gdb.python/py-symbol.exp: Ditto.
4485 * gdb.python/py-symtab.exp: Ditto.
4486 * gdb.python/py-template.exp: Ditto.
4487 * gdb.python/py-value-cc.exp: Ditto.
4488 * gdb.python/python.exp: Ditto.
4489 * gdb.python/source2.py: Ditto.
4490 * gdb.python/lib-types.exp: Change print syntax for Python 3
4491 compatibility.
4492 Use sorted() function rather than sort() method.
4493 Accept either int or long values for enum values.
4494 * gdb.python/py-events.exp: Use exec(open(...).read()) instead of
4495 execfile for Python 3 compatibility.
4496 * gdb.python/py-evsignal.exp: Ditto.
4497 * gdb.python/py-evthreads.exp: Ditto.
4498 * gdb.python/py-mi.exp: Ditto.
4499 * gdb.python/py-pp-maint.exp: Ditto.
4500 * gdb.python/py-prettyprint.exp: Ditto.
4501 * gdb.python/py-finish-breakpoint.exp: Change print syntax for
4502 Python 3 compatibility.
4503 Skip tests for Python 2.4.
4504 * gdb.python/py-inferior.exp: Change print syntax for
4505 Python 3 compatibility.
4506 Use byte string rather than character string in memory write test
4507 if Python 3.
4508 * gdb.python/py-pp-maint.py: Change class declarations to "new
4509 class" syntax.
4510 * gdb.python/py-prettyprint.py: Change iterator class to generator
4511 function for Python 3 compatibility.
4512 Make all classes "new style".
4513 Fix indentation issue and stray semicolon.
4514 * gdb.python/py-shared.expChange print syntax for Python 3
4515 compatibility.
4516 Define "long" if Python 3.
4517 * gdb.python/py-type.exp: Change print syntax for Python 3
4518 compatibility.
4519 Accept either int or long values for enum values.
4520 * gdb.python/py-value.exp: Change print syntax for Python 3
4521 compatibility.
4522 Skip "long" and "unicode" tests if Python 3.
4523 Accept either "type" or "class" in type checks.
4524 * lib/gdb.exp (gdb_py_is_py3k): New flag set if Python 3.
4525 (gdb_py_is_py24): New flag set if Python 2.4 or 2.5.
4526
45272012-12-10 Tom Tromey <tromey@redhat.com>
4528
4529 * gdb.dwarf2/implptr-64bit.exp: Run tests with two CUs as well.
4530 (test): Add "two_cu" argument.
4531 * gdb.dwarf2/implptr-64bit.S: Move subprogram later; use ref_addr
4532 for types; allow two CUs.
4533
45342012-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4535
4536 * gdb.dwarf2/dw2-compdir-oldgcc.S: New file.
4537 * gdb.dwarf2/dw2-compdir-oldgcc.exp: New file.
4538
45392012-12-08 Yao Qi <yao@codesourcery.com>
4540 Pedro Alves <palves@redhat.com>
4541
4542 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Test
4543 '=breakpoint-created' when GDB merges the tracepoints of both
4544 sides.
4545
45462012-12-07 Tom Tromey <tromey@redhat.com>
4547
4548 * gdb.base/break1.c (enum some_enum, union some_union): New.
4549 (some_enum_global, some_union_global, some_value): New globals.
4550 * gdb.base/completion.exp: Add tag completion tests.
4551
45522012-12-07 Tom Tromey <tromey@redhat.com>
4553
4554 * gdb.base/completion.exp: Add tests for ptype and whatis
4555 completion.
4556
45572012-12-07 Joel Brobecker <brobecker@adacore.com>
4558
4559 * gdb.base/stale-infcall.exp: Fix copyright line.
4560
45612012-12-07 Joel Brobecker <brobecker@adacore.com>
4562
4563 * gdb.ada/lang_switch.exp: The "msg" parameter may be a reference.
4564
45652012-12-06 Pedro Alves <palves@redhat.com>
4566 Tom Tromey <tromey@redhat.com>
4567
4568 * gdb.base/exprs.exp: Add tests for cast to void.
4569
45702012-12-06 Jens Elmenthaler <jens.elmenthaler@advantest.com>
4571
4572 * gdb.python/py-mi.exp: Correct expected results for attribute
4573 "dynamic" returned by -var-update.
4574 Add test case for correct handling of "diplayhint" for children
4575 of dynamic varobjs.
4576 * gdb.python/py-prettyprint.c (set_itme): New function.
4577 (bug_14741) New function.
4578 (main) Add call to bug_14741().
4579 * gdb.python/py-prettyprint.py (class ArrayPrinter): New class.
4580
45812012-12-05 Ulrich Weigand <uweigand@de.ibm.com>
4582
4583 * gdb.base/gnu-debugdata.exp: Also include "D" symbols in
4584 ${binfile}.funcsyms list.
4585
45862012-12-04 Yao Qi <yao@codesourcery.com>
4587
4588 PR gdb/13443
4589 * gdb.trace/actions.exp: Make test messages unique.
4590
45912012-11-29 Tom Tromey <tromey@redhat.com>
4592
4593 * gdb.base/gnu-debugdata.exp (run, pipeline): Don't use lassign.
4594
45952012-11-29 Ulrich Weigand <uweigand@de.ibm.com>
4596
4597 * gdb.opencl/convs_casts.exp: Always expect standard vector type names.
4598 * gdb.opencl/datatypes.exp: Likewise.
4599 * gdb.opencl/operators.exp: Likewise.
4600 * gdb.opencl/vec_comps.exp: Likewise.
4601
46022012-11-29 Jerome Guitton <guitton@adacore.com>
4603
4604 * gdb.ada/iwide: New testcase.
4605
46062012-11-29 Jerome Guitton <guitton@adacore.com>
4607
4608 * gdb.ada/ptype_tagged_param.exp: Adjust expected output in
4609 ptype test.
4610
46112012-11-29 Jerome Guitton <guitton@adacore.com>
4612
4613 * gdb.ada/variant_record_packed_array.exp: Test expressions of the
4614 form {VARIANT_TYPE}ADDRESS.
4615
46162012-11-27 Daniel Jacobowitz <dan@codesourcery.com>
4617
4618 * gdb.cp/member-ptr.cc (class Diamond): Add func_ptr.
4619 (func): New function.
4620 (main): Initialize diamond.func_ptr and add diamond_pfunc_ptr.
4621 * gdb.cp/member-ptr.exp: Add new tests for ptype and for
4622 pointers to members with pointer-to-function type.
4623
46242012-11-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4625 Tom Tromey <tromey@redhat.com>
4626
4627 * gdb.base/gnu-debugdata.exp: New file.
4628 * gdb.base/gnu-debugdata.c: New file.
4629 * lib/gdb.exp (gdb_file_cmd): Handle LZMA warning.
4630 (gdb_unload): Return 0 on success.
4631
46322012-11-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4633
4634 * gdb.base/enumval.exp (print e, print f, print K): XFAIL on GCC <= 4.6.
4635
46362012-11-26 Joel Brobecker <brobecker@adacore.com>
4637
4638 * gdb.base/empty_exe.exp: New testcase.
4639
46402012-11-20 Mike Frysinger <vapier@gentoo.org>
4641
4642 * gdb.base/completion.exp: Add test for help aliases completion.
4643
46442012-11-20 Yao Qi <yao@codesourcery.com>
4645
4646 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
4647 Don't test 'maint set show-debug-regs'.
4648 Use command 'set remotecache' instead of
4649 'set circular-trace-buffer'.
4650
46512012-11-16 Keith Seitz <keiths@redhat.com>
4652
4653 PR c++/13615
4654 * gdb.cp/baseenum.cc: New file.
4655 * gdb.cp/baseenum.exp: New file.
4656 * gdb.cp/derivation.cc (A): Add copyright.
4657 Add a typedef.
4658 (B): Use A::value_type instead of int. Change all references.
4659 (D): Use value_type instead of int. Change all references.
4660 (E): Likewise.
4661 (F); Likewise.
4662 (Z): New class.
4663 (ZZ): New class.
4664 (N, Base, Derived): New namespace and classes.
4665 (main): Add instances of Z and ZZ.
4666 Make sure all symbols from N are kept.
4667 * gdb.cp/derivation.exp: Update typedef changes in tests.
4668 Add tests for class typedefs both before and after starting
4669 the inferior.
4670 Add tests for searching for a typedef while stopped in a
4671 method.
4672
46732012-11-14 Luis Machado <lgustavo@codesourcery.com>
4674
4675 * gdb.mi/mi-var-create-rtti.c: New file.
4676 * gdb.mi/mi-var-create-rtti.exp: New file.
4677
46782012-11-14 Luis Machado <lgustavo@codesourcery.com>
4679
4680 * gdb.base/structs3.exp: Run to main before doing any tests.
4681
46822012-11-14 Andrew Burgess <aburgess@broadcom.com>
4683
4684 * gdb.python/py-type.exp: Uniquify test names.
4685
46862012-11-14 Yao Qi <yao@codesourcery.com>
4687
4688 * gdb.threads/manythreads.c [DEBUG]: Include "stdio.h".
4689 (thread_function) [DEBUG]: Call 'printf'.
4690 * gdb.threads/manythreads.exp: Pass '-DDEBUG' to compilation
4691 command line if 'DEBUG=1' is passed to test.
4692 Remove a pattern to match inferior's output.
4693
46942012-11-13 Giuseppe Montalto <giuseppe.montalto@st.com>
4695
4696 * gdb.mi/mi-fill-memory.exp: New test.
4697
46982012-11-12 Tom Tromey <tromey@redhat.com>
4699
4700 * gdb.base/completion.exp: Update for "info type-printers".
4701 * gdb.python/py-typeprint.cc: New file.
4702 * gdb.python/py-typeprint.exp: New file.
4703 * gdb.python/py-typeprint.py: New file.
4704
47052012-11-12 Tom Tromey <tromey@redhat.com>
4706
4707 * gdb.base/call-sc.exp: Use "ptype/r".
4708 * gdb.base/volatile.exp: Don't expect "int".
4709 * gdb.cp/ptype-flags.cc: New file.
4710 * gdb.cp/ptype-flags.exp: New file.
4711 * gdb.cp/templates.exp: Use ptype/r.
4712 (test_ptype_of_templates, test_template_typedef): Likewise.
4713 * lib/cp-support.exp (cp_test_ptype_class): Add in_ptype_arg
4714 argument. Handle template names and template parameters.
4715 * gdb.mi/mi-var-cmd.exp: Accept "long".
4716 * gdb.mi/mi-var-child.exp: Accept "long".
4717 * gdb.mi/mi-var-display.exp: Accept "long".
4718 * gdb.mi/mi2-var-child.exp: Accept "long".
4719
47202012-11-12 Tom Tromey <tromey@redhat.com>
4721
4722 * gdb.cp/classes.exp (test_ptype_class_objects): Remove
4723 "ptype" from calls to cp_test_ptype_class.
4724 (test_enums): Likewise.
4725 * gdb.cp/derivation.exp: Remove "ptype" from calls to
4726 cp_test_ptype_class.
4727 * gdb.cp/inherit.exp (test_ptype_si): Remove "ptype" from
4728 calls to cp_test_ptype_class.
4729 (test_ptype_mi, test_ptype_vi, test_ptype_mvi): Likewise.
4730 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Remove "ptype"
4731 from calls to cp_test_ptype_class.
4732 * lib/cp-support.exp (cp_test_ptype_class): Supply "ptype"
4733 command here. Change "in_command" argument to "in_exp".
4734
47352012-11-10 Keith Seitz <keiths@redhat.com>
4736
4737 PR gdb/14288
4738 * gdb.base/printcmds.c: Add invalid_XXX globals
4739 for repeated byte tests.
4740 * gdb.base/printcmds.exp (test_repeat_bytes): New procedure.
4741 * gdb.base/wchar.c (main): Add and construct a wchar_t
4742 array with repeated characters.
4743 * gdb.base/wchar.exp: Add repeated character tests.
4744
47452012-11-09 Andrew Burgess <aburgess@broadcom.com>
4746
4747 * gdb.mi/mi-disassemble.exp: Expect fullname field in mi
4748 disassembly output.
4749
47502012-11-09 Pedro Alves <palves@redhat.com>
4751
4752 PR gdb/14306
4753
4754 * gdb.multi/multi-arch-exec.c: New file.
4755 * gdb.multi/multi-arch-exec.exp: New file.
4756
47572012-11-09 Yao Qi <yao@codesourcery.com>
4758
4759 * gdb.mi/mi-break.exp (test_abreak_creation): New procedure.
4760 (top level): Call it.
4761
47622012-11-09 Yao Qi <yao@codesourcery.com>
4763
4764 * gdb.mi/mi-watch.exp (test_rwatch_creation_and_listing): Fix
4765 typo.
4766
47672012-11-09 Pedro Alves <palves@redhat.com>
4768
4769 * gdb.multi/multi-arch.exp: New.
4770
47712012-11-08 Tom Tromey <tromey@redhat.com>
4772
4773 * gdb.base/siginfo-obj.exp: Create core file. Test siginfo from
4774 core files, if possible.
4775 * gdb.base/siginfo-thread.c: New file
4776 * gdb.base/siginfo-thread.exp: New file
4777
47782012-11-08 Tom Tromey <tromey@redhat.com>
4779
4780 * gdb.base/comprdebug.exp: New file.
4781
47822012-11-06 Pedro Alves <palves@redhat.com>
4783
4784 PR gdb/14810
4785
4786 * gdb.base/disabled-location.c: New file.
4787 * gdb.base/disabled-location.exp: New file.
4788
47892012-11-06 Tom Tromey <tromey@redhat.com>
4790
4791 * gdb.threads/gcore-thread.exp: Use gdb_gcore_cmd.
4792 * gdb.python/py-strfns.exp (test_strfns_core_file): Use
4793 gdb_gcore_cmd.
4794 * gdb.cell/gcore.exp: Use gdb_gcore_cmd.
4795 * gdb.base/gcore.exp: Use gdb_gcore_cmd.
4796 * gdb.base/gcore-relro.exp: Use gdb_gcore_cmd.
4797 * gdb.base/gcore-buffer-overflow.exp: Use gdb_gcore_cmd.
4798 * gdb.base/auxv.exp: Use gdb_gcore_cmd.
4799 * gdb.arch/vsx-regs.exp: Use gdb_gcore_cmd.
4800 * gdb.arch/system-gcore.exp: Use gdb_gcore_cmd.
4801 * gdb.arch/pa-nullify.exp (test_core_bt): Use gdb_gcore_cmd.
4802 * lib/gdb.exp (gdb_gcore_cmd): New proc.
4803
48042012-11-05 Pedro Alves <palves@redhat.com>
4805
4806 * gdb.base/foll-vfork.exp (vfork_relations_in_info_inferiors): New
4807 procedure.
4808 (do_vfork_and_follow_child_tests_exec)
4809 (do_vfork_and_follow_child_tests_exit): Call it.
4810
48112012-11-05 Pedro Alves <palves@redhat.com>
4812
4813 * gdb.base/foll-vfork.c (main): Call perror and _exit if execlp()
4814 fails.
4815
48162012-11-03 Yao Qi <yao@codesourcery.com>
4817
4818 Fix PR gdb/14617.
4819 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
4820 Remove setup_kfail, and update test.
4821
48222012-11-02 Tom Tromey <tromey@redhat.com>
4823
4824 * gdb.base/catch-syscall.exp (do_syscall_tests): Add completion
4825 test.
4826
48272012-11-02 Pedro Alves <palves@redhat.com>
4828
4829 PR gdb/14766
4830
4831 * gdb.base/foll-vfork.exp (vfork_child_follow_to_exit): Remove
4832 setup_kfail.
4833 (tcatch_vfork_then_child_follow_exit): No longer expect "Couldn't
4834 get registers".
4835
48362012-11-02 Pedro Alves <palves@redhat.com>
4837
4838 * gdb.base/foll-vfork-exit.c: New file.
4839 * gdb.base/foll-vfork.exp (top level): New file-describing
4840 comment.
4841 (vfork_child_follow_to_exit): New procedure.
4842 (tcatch_vfork_then_child_follow): Rename as ...
4843 (tcatch_vfork_then_child_follow_exec): ... this.
4844 (tcatch_vfork_then_child_follow_exit): New procedure.
4845 (do_vfork_and_follow_parent_tests): New procedure, factored out
4846 from do_vfork_and_exec_tests.
4847 (do_vfork_and_follow_child_tests_exec): Ditto.
4848 (do_vfork_and_exec_tests): Delete.
4849 (do_vfork_and_follow_child_tests_exit): New procedure.
4850 (top level): Run tests with both the program that has the vfork
4851 child execing, and the program has the vfork child exiting.
4852
48532012-11-02 Pedro Alves <palves@redhat.com>
4854
4855 * gdb.base/foll-vfork.exp (setup_gdb): New procedure.
4856 (check_vfork_catchpoints, vfork_parent_follow_through_step)
4857 (vfork_parent_follow_to_bp): Call it.
4858 (kill_child): Delete.
4859 (vfork_and_exec_child_follow_to_main_bp)
4860 (vfork_and_exec_child_follow_through_step): Call setup_gdb. No
4861 longer call kill_child.
4862 (tcatch_vfork_then_parent_follow): Call setup_gdb.
4863 (do_vfork_and_exec_tests): Don't runto_main before calling each
4864 test procedure.
4865 (top level): Don't clean restart and set verbose before running
4866 each test procedure.
4867
48682012-11-02 Pedro Alves <palves@redhat.com>
4869
4870 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step)
4871 (vfork_parent_follow_to_bp)
4872 (vfork_and_exec_child_follow_to_main_bp)
4873 (vfork_and_exec_child_follow_through_step)
4874 (tcatch_vfork_then_parent_follow)
4875 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow):
4876 Use with_test_prefix.
4877
48782012-11-02 Pedro Alves <palves@redhat.com>
4879
4880 * gdb.base/foll-vfork.c: Add copyright header.
4881 * gdb.base/vforked-prog.c: Add copyright header.
4882
48832012-11-02 Pedro Alves <palves@redhat.com>
4884
4885 * gdb.base/foll-vfork.exp
4886 (vfork_and_exec_child_follow_through_step): Don't skip on
4887 non-HP/UX targets. Expect the next to only step one line on
4888 non-HP/UX targets, rather than stopping only after the exec.
4889
48902012-11-02 Pedro Alves <palves@redhat.com>
4891
4892 Don't hard code line numbers.
4893
4894 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step):
4895 Expect text from the sources instead of a line number.
4896 (vfork_parent_follow_to_bp)
4897 (vfork_and_exec_child_follow_to_main_bp)
4898 (vfork_and_exec_child_follow_through_step)
4899 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow):
4900 Use gdb_get_line_number.
4901
49022012-11-02 Pedro Alves <palves@redhat.com>
4903
4904 Modernize.
4905
4906 * gdb.base/foll-vfork.exp: Use standard_testfile and
4907 build_executable. Pass descriptive string to untested.
4908 (vfork_parent_follow_through_step, vfork_parent_follow_to_bp)
4909 (vfork_and_exec_child_follow_to_main_bp)
4910 (vfork_and_exec_child_follow_through_step)
4911 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow)
4912 (do_vfork_and_exec_tests): Use gdb_test/gdb_test_multiple instead
4913 of send_gdb/gdb_expect.
4914
4915 (kill_child): New procedure.
4916 (vfork_and_exec_child_follow_to_main_bp)
4917 (vfork_and_exec_child_follow_through_step): Use it.
4918
49192012-11-02 Yao Qi <yao@codesourcery.com>
4920
4921 * gdb.base/setvar.exp: Test setting nested struct.
4922 * gdb.base/setvar.c (v_struct3): New.
4923
49242012-11-01 Doug Evans <dje@google.com>
4925
4926 * gdb.arch/amd64-pseudo.c (main): Mark registers that the testsuite
4927 changes as clobbered (e.g., amd64-dword.exp) so gcc doesn't try to
4928 use them.
4929
49302012-10-31 Andrew Burgess <aburgess@broadcom.com>
4931
4932 PR cli/14772
4933 * gdb.base/gnu_vector.c (union_with_vector_1)
4934 (struct_with_vector_1): Add new struct and union for testing
4935 ptype.
4936 * gdb.base/gnu_vector.exp: Add testing of ptype on vectors, and
4937 structs / unions containing vectors.
4938
49392012-10-25 Yao Qi <yao@codesourcery.com>
4940
4941 * gdb.trace/ftrace.exp (test_fast_tracepoints): Use
4942 'setup_kfail' instead of 'setup_kfail_for_target'.
4943 * gdb.base/varargs.exp: Likewise.
4944 * lib/gdb.exp (setup_kfail_for_target): Remove.
4945
49462012-10-25 Mark Kettenis <kettenis@openbsd.nfra.nl>
4947
4948 * gdb.base/varargs.exp: PR gdb/12790 is now fixed.
4949
49502012-10-25 Mark Kettenis <kettenis@gnu.org>
4951
4952 * gdb.base/varargs.exp: PR gdb/12776 is now fixed.
4953
49542012-10-24 Joel Brobecker <brobecker@adacore.com>
4955
4956 * gdb.ada/set_wstr: New testcase.
4957
49582012-10-24 Joel Brobecker <brobecker@adacore.com>
4959
4960 * gdb.base/ldbl_e308.c, gdb.base/ldbl_e308.exp: New files.
4961
49622012-10-24 Joel Brobecker <brobecker@adacore.com>
4963
4964 * gdb.ada/unc_arr_ptr_in_var_rec: New testcase.
4965
49662012-10-24 Mark Kettenis <kettenis@gnu.org>
4967
4968 * gdb.base/callfuncs.exp: PR gdb/12783 is now fixed.
4969
49702012-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4971
4972 * gdb.base/callfuncs.exp (do_function_calls): Fix
4973 setup_kfail_for_target for -m32 mode.
4974
49752012-10-23 Mark Kettenis <kettenis@gnu.org>
4976
4977 * gdb.base/callfuncs.exp: PR gdb/12796, gdb/12798 and gdb/12800
4978 are now fixed.
4979
49802012-10-23 Yao Qi <yao@codesourcery.com>
4981
4982 * gdb.base/info-os.exp: Resume the inferior until it exits.
4983
49842012-10-18 Yufeng Zhang <yufeng.zhang@arm.com>
4985
4986 * gdb.base/ctxobj.exp: Skip if skip_shlib_tests returns true.
4987 * gdb.base/print-file-var.exp: Likewise.
4988 * gdb.base/type-opaque.exp: Likewise.
4989
49902012-10-17 Yao Qi <yao@codesourcery.com>
4991
4992 * gdb.mi/mi-memory-changed.exp: New.
4993
49942012-10-16 Yao Qi <yao@codesourcery.com>
4995
4996 * gdb.reverse/solib-precsave.exp: Skip if skip_shlib_test
4997 returns true.
4998 Call gdb_load_shlibs.
4999 * gdb.reverse/solib-reverse.exp: Likewise.
5000
50012012-10-15 Keith Seitz <keiths@redhat.com>
5002
5003 * lib/cp-support.exp (cp_test_ptype_class): Add support
5004 for class typedefs.
5005
5006 * gdb.cp/derivation.exp: Add tests for g_instance.
5007
50082012-10-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5009
5010 Fix entry values resolving in inlined frames.
5011 * gdb.arch/amd64-entry-value-inline.S: New file.
5012 * gdb.arch/amd64-entry-value-inline.c: New file.
5013 * gdb.arch/amd64-entry-value-inline.exp: New file.
5014
50152012-10-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5016 Doug Evans <dje@google.com>
5017
5018 Fix recent gdb_breakpoint regression.
5019 * gdb.java/jmisc.exp: gdb_breakpoint for $function - remove curly
5020 braces from the parameter.
5021 * gdb.java/jprint.exp: Likewise.
5022
50232012-10-15 Doug Evans <dje@google.com>
5024
5025 * lib/gdb.exp (runto): Fix call to gdb_breakpoint.
5026
50272012-10-15 Yufeng Zhang <yufeng.zhang@arm.com>
5028
5029 * gdb.dwarf2/dw2-icc-opaque.S: Remove '#'.
5030
50312012-10-15 Tom Tromey <tromey@redhat.com>
5032
5033 * gdb.python/py-symtab.exp: Test sal and symtab destructors.
5034
50352012-10-15 Tom Tromey <tromey@redhat.com>
5036
5037 * gdb.python/py-symbol.exp: Test symbol destructor.
5038
50392012-10-14 Yao Qi <yao@codesourcery.com>
5040
5041 * gdb.mi/mi2-cli.exp: Move to mi-cli.exp.
5042 * gdb.mi/mi-cli.exp: New.
5043
5044 * gdb.mi/mi2-basics.exp: Remove.
5045 * gdb.mi/mi2-break.exp: Remove.
5046 * gdb.mi/mi2-console.exp: Remove.
5047 * gdb.mi/mi2-disassemble.exp: Remove.
5048 * gdb.mi/mi2-eval.exp: Remove.
5049 * gdb.mi/mi2-file.exp: Remove.
5050 * gdb.mi/mi2-hack-cli.exp: Remove.
5051 * gdb.mi/mi2-pthreads.exp: Remove.
5052 * gdb.mi/mi2-read-memory.exp: Remove.
5053 * gdb.mi/mi2-regs.exp: Remove.
5054 * gdb.mi/mi2-return.exp: Remove.
5055 * gdb.mi/mi2-simplerun.exp: Remove.
5056 * gdb.mi/mi2-stack.exp: Remove.
5057 * gdb.mi/mi2-stepi.exp: Remove.
5058 * gdb.mi/mi2-syn-frame.exp: Remove.
5059 * gdb.mi/mi2-until.exp: Remove.
5060 * gdb.mi/mi2-watch.exp: Remove.
5061 * gdb.mi/mi2-var-block.exp: Remove.
5062 * gdb.mi/mi2-var-cmd.exp: Remove.
5063 * gdb.mi/mi2-var-display.exp: Remove.
5064
50652012-10-12 Yao Qi <yao@codesourcery.com>
5066
5067 * gdb.mi/mi-breakpoint-changed.exp (test_pending_resolved): Remove
5068 trail '.*' on matching patterns.
5069
50702012-10-11 H.J. Lu <hongjiu.lu@intel.com>
5071
5072 * gdb.arch/i386-bp_permanent.exp: Skip if not is_x86_like_target.
5073 * gdb.arch/i386-cfi-notcurrent.exp: Likewise.
5074 * gdb.arch/i386-disp-step.exp: Likewise.
5075 * gdb.arch/i386-gnu-cfi.exp: Likewise.
5076 * gdb.arch/i386-prologue.exp: Likewise.
5077 * gdb.arch/i386-size-overlap.exp: Likewise.
5078 * gdb.arch/i386-size.exp: Likewise.
5079 * gdb.arch/i386-unwind.exp: Likewise.
5080
50812012-10-11 H.J. Lu <hongjiu.lu@intel.com>
5082
5083 * gdb.arch/i386-byte.exp: Remove is_ilp32_target check.
5084 * gdb.arch/i386-word.exp: Likewise.
5085
50862012-10-11 H.J. Lu <hongjiu.lu@intel.com>
5087
5088 * gdb.arch/i386-avx.exp: Check is_amd64_regs_target instead of
5089 is_ilp32_target to set nr_regs.
5090 * gdb.arch/i386-sse.exp: Likewise.
5091
50922012-10-11 Doug Evans <dje@google.com>
5093
5094 PR breakpoints/14643.
5095 * gdb.linespec/ls-errs.exp: Change tests of "b if|task|thread".
5096 * gdb.linespec/thread.c: New file.
5097 * gdb.linespec/thread.exp: New file.
5098
5099 * lib/gdb.exp (gdb_breakpoint): Fix varargs scan.
5100 Recognize "message" -> print pass and fail. Add eof case.
5101 (runto): Recognize message, no-message. Print pass/fail if requested,
5102 with same treatment as gdb_breakpoint.
5103 (runto_main): Pass no-message to runto.
5104 (gdb_internal_error_resync): Add log message.
5105 (gdb_file_cmd): Tweak internal error fail text for consistency.
5106
51072012-10-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5108
5109 Fix crash during stepping on ppc32.
5110 * gdb.base/step-symless.c: New file.
5111 * gdb.base/step-symless.exp: New file.
5112
51132012-10-03 Doug Evans <dje@google.com>
5114
5115 PR symtab/14601
5116 * gdb.cp/using-crash.exp: New file.
5117 * gdb.cp/using-crash.cc: New file.
5118
51192012-10-02 Doug Evans <dje@google.com>
5120
5121 * lib/gdb.exp (gdb_unload): Change wording of perror text to be
5122 more consistent.
5123 (runto,gdb_debug_format): Ditto.
5124 (gdb_file_cmd): Watch for eof in nested gdb_expect.
5125 Clean up logging and error messages.
5126
51272012-10-01 Andrew Burgess <aburgess@broadcom.com>
5128
5129 Test find command on unmapped memory.
5130 * gdb.base/find-unmapped.c: New file.
5131 * gdb.base/find-unmapped.exp: New file.
5132
51332012-09-29 Yao Qi <yao@codesourcery.com>
5134
5135 * gdb.trace/mi-tracepoint-changed.exp: New.
5136 * gdb.mi/mi-breakpoint-changed.exp: New.
5137 * gdb.mi/pending.c, gdb.mi/pendshr1.c: New
5138 * gdb.mi/pendshr2.c: New.
5139
51402012-09-28 Yao Qi <yao@codesourcery.com>
5141
5142 * gdb.mi/pr11022.exp: New.
5143 * gdb.mi/pr11022.c: New. Copied from gdb.base/.
5144
51452012-09-27 Tom Tromey <tromey@redhat.com>
5146
5147 * gdb.cp/derivation.exp: Add regression test.
5148 * gdb.cp/derivation.cc (class V_base, class V_inter, class
5149 V_derived): New.
5150 (vderived): New global.
5151
51522012-09-26 Tom Tromey <tromey@redhat.com>
5153
5154 * gdb.dwarf2/dw2-common-block.S: New file.
5155 * gdb.dwarf2/dw2-common-block.exp: New file.
5156
51572012-09-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5158
5159 * gdb.fortran/common-block.exp: New file.
5160 * gdb.fortran/common-block.f90: New file.
5161
51622012-09-26 Andrew Burgess <aburgess@broadcom.com>
5163
5164 * gdb.base/duplicate-bp.c: New file.
5165 * gdb.base/duplicate-bp.exp: New file.
5166
51672012-09-26 Yao Qi <yao@codesourcery.com>
5168
5169 * gdb.mi/mi2-cli.exp: Avoid line number in test summary.
5170
5171 Revert:
5172 2012-09-21 Yao Qi <yao@codesourcery.com>
5173
5174 * gdb.mi/mi2-cli.exp: Remove redundant '\'.
5175
51762012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5177
5178 * gdb.base/longest-types.c: New test case.
5179 * gdb.base/longest-types.exp: New test case.
5180
51812012-09-25 Yao Qi <yao@codesourcery.com>
5182
5183 * gdb.mi/mi2-cli.exp: Check breakpoint notification.
5184
51852012-09-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5186
5187 Fix internal error on canonicalization of clang types.
5188 * gdb.dwarf2/dw2-canonicalize-type.S: New file.
5189 * gdb.dwarf2/dw2-canonicalize-type.exp: New file.
5190 * lib/gdb.exp (gdb_file_cmd): Catch also GDB internal error.
5191
51922012-09-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5193
5194 Fix disassemble without parameters in tailcall frame.
5195 * gdb.arch/amd64-entry-value.exp (down, disassemble): New tests.
5196
51972012-09-21 Andrew Burgess <aburgess@broadcom.com>
5198
5199 * gdb.dwarf2/dw2-op-out-param.S: New file.
5200 * gdb.dwarf2/dw2-op-out-param.exp: New file.
5201
52022012-09-21 Yao Qi <yao@codesourcery.com>
5203
5204 * gdb.mi/mi2-cli.exp: Remove redundant '\'.
5205
52062012-09-21 Yao Qi <yao@codesourcery.com>
5207
5208 * gdb.mi/mi-cli.exp: Remove.
5209 * gdb.mi/mi2-cli.exp: Merged from mi-cli.exp.
5210
52112012-09-21 Yao Qi <yao@codesourcery.com>
5212
5213 * gdb.mi/mi-reverse.exp: Fix the typo in expected output of
5214 "=record-started" notification.
5215
52162012-09-21 Yao Qi <yao@codesourcery.com>
5217
5218 * gdb.mi/mi-record-changed.exp: New.
5219 * gdb.mi/mi-reverse.exp: Adjust expected output.
5220
52212012-09-20 Tom Tromey <tromey@redhat.com>
5222
5223 * gdb.python/python.exp: Test atexit.register.
5224
52252012-09-20 Doug Evans <dje@google.com>
5226
5227 * boards/dwarf4-gdb-index.exp: New file.
5228
5229 * gdb.base/callfuncs.exp (do_function_calls): Set unwindonsignal to on
5230 while running the tests.
5231
52322012-09-18 Joel Brobecker <brobecker@adacore.com>
5233
5234 * gdb.ada/bp_reset: New testcase.
5235
52362012-09-18 Yao Qi <yao@codesourcery.com>
5237
5238 * gdb.trace/mi-tsv-changed.exp: New.
5239
52402012-09-18 Yao Qi <yao@codesourcery.com>
5241
5242 * gdb.trace/mi-traceframe-changed.exp: New.
5243
52442012-09-17 Yao Qi <yao@codesourcery.com>
5245
5246 * gdb.base/list.exp (set_listsize): Don't set arg to "unlimited"
5247 when it is less than 0.
5248
52492012-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5250
5251 PR 14119
5252 * gdb.arch/amd64-tailcall-ret.S: New file.
5253 * gdb.arch/amd64-tailcall-ret.c: New file.
5254 * gdb.arch/amd64-tailcall-ret.exp: New file.
5255 * gdb.reverse/amd64-tailcall-reverse.S: New file.
5256 * gdb.reverse/amd64-tailcall-reverse.c: New file.
5257 * gdb.reverse/amd64-tailcall-reverse.exp: New file.
5258
52592012-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5260
5261 PR 14548
5262 * gdb.reverse/singlejmp-reverse-nodebug.S: New file.
5263 * gdb.reverse/singlejmp-reverse-nodebug.c: New file.
5264 * gdb.reverse/singlejmp-reverse.S: New file.
5265 * gdb.reverse/singlejmp-reverse.c: New file.
5266 * gdb.reverse/singlejmp-reverse.exp: New file.
5267
52682012-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5269
5270 Fix compatibility with old GCC (~4.1).
5271 * gdb.cp/converts.cc (my_enum_var): New variable.
5272
52732012-09-14 Andrew Burgess <aburgess@broadcom.com>
5274
5275 * gdb.xml/tdesc-regs.exp: Update expected output for new
5276 vector_size syntax of vector types.
5277
52782012-09-13 Khoo Yit Phang <khooyp@cs.umd.edu>
5279
5280 Refactor Python "gdb" module into a proper Python package, by
5281 introducing a new "_gdb" module for code implemented in C, and
5282 using reload/__import__ instead of exec.
5283 * gdb.python/python.exp (Test stderr location): Update module
5284 location of GDB-specific sys.stderr.
5285 (Test stdout location): Ditto for sys.stdout.
5286
52872012-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5288
5289 * gdb.base/valgrind-infcall.exp: Remove comment about Ubuntu.
5290
52912012-09-12 Keith Seitz <keiths@redhat.com>
5292
5293 * gdb.cp/converts.cc (main): Comment out the pointer to boolean
5294 conversion statement.
5295
52962012-09-12 Doug Evans <dje@google.com>
5297
5298 * gdb.base/help.exp: Remove testing of individual command help text,
5299 too much of a maintenance burden. Instead, test the functionality
5300 of "help" itself.
5301
53022012-09-11 Doug Evans <dje@google.com>
5303
5304 * gdb.cp/mb-inline.exp: Do "info break" after setting multi-location
5305 breakpoint.
5306
5307 * gdb.dwarf2/fission-base.S: Include gdb.dwarf2/ in dwo_name.
5308 * gdb.dwarf2/fission-reread.S: Ditto.
5309 * gdb.dwarf2/fission-base.exp: Remove setting of debug-file-directory.
5310 * gdb.dwarf2/fission-reread.exp: Ditto.
5311
53122012-09-11 Andrew Burgess <aburgess@broadcom.com>
5313
5314 * gdb.base/ptype.exp: Test ptype on a pointer to a typedef.
5315
53162012-09-10 Joel Brobecker <brobecker@adacore.com>
5317
5318 * gdb.ada/optim_drec: New testcase.
5319
53202012-09-10 Doug Evans <dje@google.com>
5321
5322 * boards/fission.exp: Explicitly mark "board" as not remote.
5323
53242012-09-10 Keith Seitz <keiths@redhat.com>
5325
5326 PR gdb/13483
5327 * gdb.cp/converts.cc (A::A): Add ctor.
5328 (A::member_): Add member.
5329 (enum my_enum): New enumeration.
5330 (main): Add calls to foo1_7 with various
5331 permitted arguments.
5332 * gdb.cp/converts.exp: Add tests for boolean
5333 conversions permitted by the standard.
5334
53352012-09-08 Khoo Yit Phang <khooyp@cs.umd.edu>
5336
5337 Replace -nw option with $INTERNAL_GDBFLAGS in "xgdb" tests to
5338 avoid spurious results due to ~/.gdbinit.
5339 * gdb.gdb/complaint.exp (setup_test): Replace -nw option with
5340 $INTERNAL_GDBFLAGS in run command.
5341 * gdb.gdb/observer.exp (setup_test): Ditto.
5342 * gdb.gdb/selftest.exp (test_with_self): Ditto.
5343 * gdb.gdb/xfullpath.exp (setup_test): Ditto.
5344
53452012-09-06 Doug Evans <dje@google.com>
5346
5347 * boards/fission.exp: New file.
5348
5349 * gdb.python/py-value.exp: Use clean_restart.
5350
53512012-09-05 Doug Evans <dje@google.com>
5352
5353 * gdb.base/info-macros.c: Fix whitespace.
5354
53552012-08-28 Pedro Alves <palves@redhat.com>
5356
5357 PR gdb/14428
5358
5359 * gdb.base/pc-fp.exp: Adjust expected output of 'info registers pc fp'.
5360
53612012-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5362
5363 * gdb.base/break-caller-line.c: New file.
5364 * gdb.base/break-caller-line.exp: New file.
5365
53662012-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5367
5368 * gdb.ada/rdv_wait.exp (set debug-file-directory): New command.
5369 * gdb.arch/i386-cfi-notcurrent.S: New file.
5370 * gdb.arch/i386-cfi-notcurrent.exp: New file.
5371
53722012-08-27 Wei-cheng Wang <cole945@gmail.com>
5373 Yao Qi <yao@codesourcery.com>
5374 Pedro Alves <palves@redhat.com>
5375
5376 * gdb.base/memattr.exp (delete_memory, region_pass, region_fail):
5377 New procedures.
5378 (top level): Add overlap checking tests.
5379
53802012-08-24 Tom Tromey <tromey@redhat.com>
5381
5382 * lib/gdb.exp (skip_unwinder_tests): Don't leave 'ok' set if
5383 gdb_test_multiple fails for other reasons.
5384
53852012-08-24 Yao Qi <yao@codesourcery.com>
5386
5387 * lib/gdb.exp (skip_unwinder_tests): Remove pass.
5388
53892012-08-23 Pedro Alves <palves@redhat.com>
5390
5391 * gdb.base/help.exp: Adjust to "handle" help text change.
5392
53932012-08-23 Yao Qi <yao@codesourcery.com>
5394
5395 * gdb.trace/disconnected-tracing.c (start, end): New.
5396 (main): Call start and end.
5397 * gdb.trace/disconnected-tracing.exp (disconnected_tracing): Move
5398 existing tests into this proc.
5399 (disconnected_tfind): New.
5400
54012012-08-23 Yao Qi <yao@codesourcery.com>
5402
5403 * boards/native-gdbserver.exp (${board}_upload): New.
5404 * boards/native-stdio-gdbserver.exp (${board}_upload): New.
5405 * gdb.trace/tfile.exp: Don't check 'gdb,nofileio'.
5406 Execute tfile on remote target.
5407 Copy trace file from target to host.
5408
54092012-08-22 Joseph Myers <joseph@codesourcery.com>
5410
5411 * gdb.arch/thumb-bx-pc.S: New file.
5412 * gdb.arch/thumb-bx-pc.exp: New file.
5413
54142012-08-22 Tom Tromey <tromey@redhat.com>
5415
5416 * gdb.base/maint.exp: Update.
5417
54182012-08-22 Tom Tromey <tromey@redhat.com>
5419
5420 * lib/gdb.exp (skip_unwinder_tests): New proc.
5421 * gdb.cp/nextoverthrow.exp: Use skip_unwinder_tests.
5422 * gdb.java/jnpe.exp: Use skip_unwinder_tests.
5423
54242012-08-21 Tom Tromey <tromey@redhat.com>
5425
5426 * gdb.hp/gdb.aCC/exception.exp: Remove.
5427
5428012-08-19 Andrew Pinski <apinski@cavium.com>
5429
5430 * gdb.arch/mips-octeon-bbit.c: New file.
5431 * gdb.arch/mips-octeon-bbit.exp: New Test.
5432
5433012-08-19 Keith Seitz <keiths@redhat.com>
5434
5435 PR c++/14365
5436 * gdb.dwarf2/dw2-anon-mptr.exp: New file.
5437 * gdb.dwarf2/dw2-anon-mptr.S: New file.
5438
54392012-08-18 Jan Kratochvil <jan.kratochvil@redhat.com>
5440
5441 * gdb.base/solib-corrupted.exp (make solibs looping): Replace
5442 verbose -log by more specific untested call.
5443
54442012-08-18 Yao Qi <yao@codesourcery.com>
5445
5446 * gdb.trace/tfind.exp: Move tests on various command help before
5447 checking target supports trace.
5448 Fix the expected output of 'help tfind end'.
5449
54502012-08-17 Keith Seitz <keiths@redhat.com>
5451
5452 PR c++/13356
5453 * gdb.base/default.exp: Update all "check type" tests.
5454 * gdb.base/help.exp: Likewise.
5455 * gdb.base/setshow.exp: Likewise.
5456 * gdb.cp/converts.cc (foo1_type_check): New function.
5457 (foo2_type_check): New function.
5458 (foo3_type_check): New function.
5459 (main): Call new functions.
5460 * converts.exp: Add tests for integer-to-pointer conversions
5461 with/without strict type-checking.
5462
54632012-08-16 Mike Frysinger <vapier@gentoo.org>
5464
5465 * gdb.base/help.exp: Update expected output.
5466
54672012-08-16 Joel Brobecker <brobecker@adacore.com>
5468
5469 * gdb.ada/rdv_wait: New testcase.
5470
54712012-08-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5472
5473 * gdb.base/attach-twice.exp: Remove excessive ps exec.
5474
54752012-08-13 Doug Evans <dje@google.com>
5476
5477 * gdb.base/help.exp: Update expected output.
5478 * gdb.base/default.exp: Update expected output of "show convenience".
5479
54802012-08-10 Doug Evans <dje@google.com>
5481
5482 * gdb.python/py-strfns.c: New file.
5483 * gdb.python/py-strfns.exp: New file.
5484 * gdb.python/py-type.exp (test_fields): Add vector tests.
5485
54862012-08-10 Mike Frysinger <vapier@gentoo.org>
5487
5488 PR cli/10436:
5489 * gdb.base/completion.exp: Add tests for handle completion.
5490
54912012-08-09 Yao Qi <yao@codesourcery.com>
5492
5493 * gdb.mi/mi-cmd-param-changed.exp: New.
5494 * gdb.mi/mi-cli.exp: Update for MI notification "=cmd-param-changed".
5495 * gdb.mi/mi-var-rtti.exp, gdb.mi/mi2-cli.exp: Likewise.
5496 * gdb.mi/mi2-prompt.exp: Likewise.
5497
54982012-08-08 Doug Evans <dje@google.com>
5499
5500 * gdb.base/debug-expr.c: New file.
5501 * gdb.base/debug-expr.exp: New file.
5502 * gdb.base/exprs.exp: Test {type} casts.
5503 * gdb.cp/debug-expr.exp: New file.
5504
55052012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5506
5507 * gdb.base/valgrind-infcall.exp (continue #$continue_count): Use
5508 global variable loop, not a 'break'. Add loop count limit to 100.
5509 Add new fail case for terminated vgdb.
5510
55112012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5512 Jean-Marc Saffroy <saffroy@gmail.com>
5513
5514 PR 11804
5515 * gdb.base/gcore-relro.exp: New file.
5516 * gdb.base/gcore-relro-main.c: New file.
5517 * gdb.base/gcore-relro-lib.c: New file.
5518
55192012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5520
5521 Do not false FAIL with old GCCs.
5522 * gdb.base/watchpoint.exp (self-delete local watch) <$no_hw>: XFAIL for
5523 GCC < 4.5 in $no_hw mode.
5524
55252012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5526
5527 * gdb.base/default.exp (cd): Accept new directory with no arguments.
5528
55292012-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5530
5531 * gdb.base/list.exp (test_only_end): New function.
5532 Call it.
5533
55342012-08-06 Tom Tromey <tromey@redhat.com>
5535
5536 * gdb.python/py-mi.exp: Add test for printer whose children
5537 are a list.
5538 * gdb.python/py-prettyprint.c (struct children_as_list): New.
5539 (main): New variable children_as_list.
5540 * gdb.python/py-prettyprint.py (class pp_children_as_list):
5541 New.
5542 (register_pretty_printers): Register new printer.
5543
55442012-08-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
5545
5546 * gdb.base/valgrind-infcall.exp: Expect leading `.' on ppc64's
5547 symbols. Abort if vgdb remote connection is closed.
5548
55492012-08-02 Doug Evans <dje@google.com>
5550
5551 * gdb.base/info-fun.exp: Fix failures on m68k, ppc64, s390x.
5552
55532012-08-02 Sergio Durigan Junior <sergiodj@redhat.com>
5554
5555 * gdb.base/pc-fp.exp: Adjust testcase to match different outputs from
5556 s390x, PowerPC 64 and m68k-linux.
5557
55582012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
5559
5560 * gdb.base/annota1.exp: Accept no frames-invalid notification
5561 when starting up the program.
5562 * gdb.python/py-value.exp (test_value_numeric_ops): Pointers may
5563 show a symbolic value as well.
5564 * gdb.server/server-exec-info.exp: Skip test when skipping
5565 gdbserver test and/or when skipping shared library tests.
5566 * gdb.threads/linux-dp.exp: Unset "seen" when done with it to
5567 avoid name conflicts with other tests.
5568
55692012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
5570
5571 * gdb.dwarf2/dw2-icc-opaque.S: Remove .align directives.
5572 Fix wrong output on big-endian systems.
5573 * gdb.dwarf2/dw2-icc-opaque.exp: Expect @mode32 attribute on
5574 4-byte pointer types on 64-bit s390x.
5575
55762012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
5577
5578 * gdb.base/watchpoint.c (func2): Initialize local_a. Add
5579 marker comment at the beginning (after intialization).
5580 * gdb.base/watchpoint.exp (test_complex_watchpoint): Set func2
5581 breakpoint on marker comment instead of function begin.
5582 (test_wide_location_1): Do not expect HW watchpoints on 32-bit
5583 PowerPC.
5584 (test_wide_location_2): Do not expect HW watchpoints on 32-bit
5585 or 64-bit PowerPC.
5586 (do_tests): Consistently set can-use-hw-watchpoints to 0 if
5587 gdb,no_hardware_watchpoints flag is set.
5588 (initialize): Remove now redundant can-use-hw-watchpoints change.
5589
55902012-08-02 Yao Qi <yao@codesourcery.com>
5591 Pedro Alves <palves@redhat.com>
5592
5593 * boards/local-remote-host.exp: New.
5594
55952012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
5596
5597 * gdb.base/catch-load.exp: Fix argument to gdb_load_shlibs.
5598 * gdb.base/ctxobj.exp: Call gdb_load_shlibs.
5599 * gdb.base/print-file-var.exp: Likewise.
5600 * gdb.server/solib-list.exp: Skip on remote targets.
5601
56022012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
5603
5604 * gdb.base/watchpoint.exp (test_wide_location_1): Expect software
5605 watchpoints on ARM. When expecting software watchpoints, tolerate
5606 (remote) targets that report unsupported hardware watchpoint only
5607 at continue time.
5608 (test_wide_location_2): Likewise.
5609
56102012-08-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5611
5612 * gdb.base/valgrind-infcall.exp: Relax the UNSUPPORTED check for more
5613 valgrind versions.
5614
56152012-07-31 Jan Kratochvil <jan.kratochvil@redhat.com>
5616
5617 * gdb.base/valgrind-infcall.c: New file.
5618 * gdb.base/valgrind-infcall.exp: New file.
5619
5620 * gdb.base/valgrind-db-attach.exp: Do not run in remote mode.
5621
56222012-07-30 Keith Seitz <keiths@redhat.com>
5623
5624 * gdb.linespec/ls-errs.exp: Check some quote-enclosed
5625 linespecs.
5626
56272012-07-30 Doug Evans <dje@google.com>
5628
5629 * gdb.dwarf2/fission-reread.S: Use .data instead of .bss.
5630 * gdb.dwarf2/pr13961.S: Ditto.
5631
5632 * gdb.dwarf2/dw4-sig-types.exp: Fix typo.
5633
56342012-07-30 Andrew Burgess <aburgess@broadcom.com>
5635
5636 * gdb.mi/mi-var-invalidate.exp: Create a floating variable and
5637 change its format immediately after reloading the binary.
5638
56392012-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5640
5641 Fix testsuite regression after --use-deprecated-index-sections removal.
5642 * gdb.base/annota1.exp (run until main breakpoint): Update the expect
5643 string.
5644 * gdb.base/async-shell.exp (gdbindex_warning_re): Likewise.
5645
56462012-07-27 Yao Qi <yao@codesourcery.com>
5647
5648 KFAIL for PR remote/14161.
5649 * gdb.trace/strace.exp (strace_remove_socket): kfail for native.
5650 Cleanup socket files.
5651 (strace_info_marker): Detach inferior.
5652
56532012-07-26 Tom Tromey <tromey@redhat.com>
5654
5655 * gdb.objc/print.exp (test_float_accepted): Remove kfails.
5656
56572012-07-26 Markus Metzger <markus.t.metzger@intel.com>
5658
5659 * gdb.python/py-inferior.c (thread): New function.
5660 (check_threads): New function.
5661 (test_threads): New function.
5662 * gdb.python/py-inferior.exp: Added test.
5663 Replaced runto with continue to breakpoint.
5664
56652012-07-26 Tom Tromey <tromey@redhat.com>
5666
5667 * lib/ada.exp (standard_ada_testfile): New proc.
5668 * gdb.ada/aliased_array.exp: Use standard_ada_testfile.
5669 * gdb.ada/array_bounds.exp: Use standard_ada_testfile.
5670 * gdb.ada/array_return.exp: Use standard_ada_testfile.
5671 * gdb.ada/array_subscript_addr.exp: Use standard_ada_testfile.
5672 * gdb.ada/arrayidx.exp: Use standard_ada_testfile.
5673 * gdb.ada/arrayparam.exp: Use standard_ada_testfile.
5674 * gdb.ada/arrayptr.exp: Use standard_ada_testfile.
5675 * gdb.ada/atomic_enum.exp: Use standard_ada_testfile.
5676 * gdb.ada/bad-task-bp-keyword.exp: Use standard_ada_testfile.
5677 * gdb.ada/bp_enum_homonym.exp: Use standard_ada_testfile.
5678 * gdb.ada/bp_on_var.exp: Use standard_ada_testfile.
5679 * gdb.ada/bp_range_type.exp: Use standard_ada_testfile.
5680 * gdb.ada/call_pn.exp: Use standard_ada_testfile.
5681 * gdb.ada/catch_ex.exp: Use standard_ada_testfile.
5682 * gdb.ada/char_enum.exp: Use standard_ada_testfile.
5683 * gdb.ada/char_param.exp: Use standard_ada_testfile.
5684 * gdb.ada/complete.exp: Use standard_ada_testfile.
5685 * gdb.ada/cond_lang.exp: Use standard_ada_testfile,
5686 standard_output_file.
5687 * gdb.ada/dyn_loc.exp: Use standard_ada_testfile.
5688 * gdb.ada/enum_idx_packed.exp: Use standard_ada_testfile.
5689 * gdb.ada/exec_changed.exp: Use standard_ada_testfile,
5690 standard_output_file.
5691 * gdb.ada/exprs.exp: Use standard_ada_testfile.
5692 * gdb.ada/fixed_cmp.exp: Use standard_ada_testfile.
5693 * gdb.ada/fixed_points.exp: Use standard_ada_testfile.
5694 * gdb.ada/formatted_ref.exp: Use standard_ada_testfile.
5695 * gdb.ada/frame_args.exp: Use standard_ada_testfile.
5696 * gdb.ada/fullname_bp.exp: Use standard_ada_testfile.
5697 * gdb.ada/fun_addr.exp: Use standard_ada_testfile.
5698 * gdb.ada/fun_in_declare.exp: Use standard_ada_testfile.
5699 * gdb.ada/funcall_param.exp: Use standard_ada_testfile.
5700 * gdb.ada/homonym.exp: Use standard_ada_testfile.
5701 * gdb.ada/info_locals_renaming.exp: Use standard_ada_testfile.
5702 * gdb.ada/int_deref.exp: Use standard_ada_testfile.
5703 * gdb.ada/interface.exp: Use standard_ada_testfile.
5704 * gdb.ada/lang_switch.exp: Use standard_ada_testfile,
5705 standard_output_file
5706 * gdb.ada/mi_catch_ex.exp: Use standard_ada_testfile.
5707 * gdb.ada/mi_task_arg.exp: Use standard_ada_testfile.
5708 * gdb.ada/mi_task_info.exp: Use standard_ada_testfile.
5709 * gdb.ada/mod_from_name.exp: Use standard_ada_testfile.
5710 * gdb.ada/nested.exp: Use standard_ada_testfile.
5711 * gdb.ada/null_array.exp: Use standard_ada_testfile.
5712 * gdb.ada/null_record.exp: Use standard_ada_testfile.
5713 * gdb.ada/operator_bp.exp: Use standard_ada_testfile.
5714 * gdb.ada/packed_array.exp: Use standard_ada_testfile.
5715 * gdb.ada/packed_tagged.exp: Use standard_ada_testfile.
5716 * gdb.ada/print_chars.exp: Use standard_ada_testfile.
5717 * gdb.ada/print_pc.exp: Use standard_ada_testfile.
5718 * gdb.ada/ptr_typedef.exp: Use standard_ada_testfile.
5719 * gdb.ada/ptype_field.exp: Use standard_ada_testfile.
5720 * gdb.ada/ptype_tagged_param.exp: Use standard_ada_testfile.
5721 * gdb.ada/rec_return.exp: Use standard_ada_testfile.
5722 * gdb.ada/ref_param.exp: Use standard_ada_testfile.
5723 * gdb.ada/ref_tick_size.exp: Use standard_ada_testfile.
5724 * gdb.ada/same_enum.exp: Use standard_ada_testfile.
5725 * gdb.ada/set_pckd_arr_elt.exp: Use standard_ada_testfile.
5726 * gdb.ada/small_reg_param.exp: Use standard_ada_testfile.
5727 * gdb.ada/start.exp: Use standard_ada_testfile.
5728 * gdb.ada/str_ref_cmp.exp: Use standard_ada_testfile.
5729 * gdb.ada/sym_print_name.exp: Use standard_ada_testfile.
5730 * gdb.ada/taft_type.exp: Use standard_ada_testfile.
5731 * gdb.ada/tagged.exp: Use standard_ada_testfile.
5732 * gdb.ada/tagged_not_init.exp: Use standard_ada_testfile.
5733 * gdb.ada/task_bp.exp: Use standard_ada_testfile.
5734 * gdb.ada/tasks.exp: Use standard_ada_testfile.
5735 * gdb.ada/tick_last_segv.exp: Use standard_ada_testfile.
5736 * gdb.ada/type_coercion.exp: Use standard_ada_testfile.
5737 * gdb.ada/uninitialized_vars.exp: Use standard_ada_testfile.
5738 * gdb.ada/variant_record_packed_array.exp: Use standard_ada_testfile.
5739 * gdb.ada/watch_arg.exp: Use standard_ada_testfile.
5740 * gdb.ada/whatis_array_val.exp: Use standard_ada_testfile.
5741 * gdb.ada/widewide.exp: Use standard_ada_testfile.
5742
57432012-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5744
5745 Fix testsuite regression after --use-deprecated-index-sections removal.
5746 * lib/mi-support.exp (gdbindex_warning_re): Update the expect string.
5747
57482012-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5749
5750 Fix compatibility with Tcl before 7.5.
5751 * lib/future.exp (lreverse): New function if it does not exist.
5752
57532012-07-25 Marc Khouzam <marc.khouzam@ericsson.com>
5754
5755 * gdb.mi/mi-pending.c: New method to set a second pending
5756 breakpoint.
5757 * gdb.mi/mi-pending.exp: Set a pending breakpoint with a
5758 condition.
5759
57602012-07-20 Pedro Alves <palves@redhat.com>
5761
5762 PR threads/11692
5763 PR gdb/12203
5764
5765 * gdb.threads/create-fail.c: New file.
5766 * gdb.threads/create-fail.exp: New file.
5767
57682012-07-19 Pedro Alves <palves@redhat.com>
5769
5770 * config/monitor.exp (gdb_load): Remove redundant ';' in for loop.
5771 * config/vx.exp (gdb_start): Likewise.
5772 * gdb.base/printcmds.exp (test_print_repeats_10): Likewise.
5773 * gdb.base/setvar.exp (test_set): Likewise.
5774 * gdb.base/sigall.exp: Use foreach+lrange instead of for+continue.
5775 * gdb.reverse/sigall-precsave.exp: Likewise.
5776 * gdb.reverse/sigall-reverse.exp: Likewise.
5777
57782012-07-19 Pedro Alves <palves@redhat.com>
5779
5780 * gdb.reverse/sigall-precsave.exp: Set a breakpoint at each signal
5781 handler before recording.
5782
57832012-07-19 Tom Tromey <tromey@redhat.com>
5784
5785 * gdb.cp/casts.exp: Add tests for typeof and decltype.
5786 * gdb.cp/casts.cc (decltype): New function.
5787 (main): Use it.
5788
57892012-07-19 Pedro Alves <palves@redhat.com>
5790
5791 * gdb.base/sigall.exp (signals): New list.
5792 <top level>: Loop over signals in the $signals list instead of
5793 calling a test function once per signal.
5794 * gdb.reverse/sigall-precsave.exp (signals): New list.
5795 <top level>: Loop over signals in the $signals list instead of
5796 calling a test function once per signal.
5797 * gdb.reverse/sigall-reverse.exp (signals): New list.
5798 <top level>: Loop over signals in the $signals list instead of
5799 calling a test function once per signal.
5800
58012012-07-19 Yao Qi <yao@codesourcery.com>
5802
5803 * gdb.base/setshow.exp: Test 'set args ~'.
5804
58052012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5806
5807 * gdb.base/store.exp (check_set): Import gdb_prompt.
5808 (continue to wack_${t}): Make it to conditional gdb_test_multiple.
5809 (${prefix}; next ${t}): Hide its name, handle it conditionally now.
5810
58112012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5812
5813 PR 11914
5814 * gdb.python/py-prettyprint.c (eval_func, eval_sub): New.
5815 (main): Call eval_sub.
5816 * gdb.python/py-prettyprint.exp:
5817 (python execfile ('py-prettyprint.py')): Move it earlier.
5818 New breakpoint for eval-break.
5819 (continue to breakpoint: eval-break, info locals): New test.
5820 (python execfile ('py-prettyprint.py')): Move it from here.
5821 * gdb.python/py-prettyprint.py (class pp_eval_type): New.
5822 (register_pretty_printers): Register pp_eval_type.
5823
58242012-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5825
5826 Fix a testcase regression by me.
5827 * gdb.dwarf2/fission-reread.S: Fix two DW_FORM_data8 to be
5828 DW_FORM_data4.
5829
58302012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5831 Doug Evans <dje@google.com>
5832
5833 * gdb.dwarf2/dw2-minsym-in-cu.S: New file.
5834 * gdb.dwarf2/dw2-minsym-in-cu.exp: New file.
5835
58362012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5837
5838 Fix gdbserver run regression.
5839 * gdb.trace/disconnected-tracing.exp (executabel): Fix typo.
5840
58412012-07-12 Tom Tromey <tromey@redhat.com>
5842
5843 * lib/gdb.exp (standard_testfile): Don't declare objdir.
5844 (clean_restart): Likewise.
5845 (core_find): Use standard_output_file.
5846
58472012-07-12 Tom Tromey <tromey@redhat.com>
5848
5849 * gdb.dwarf2/dup-psym.exp: Use prepare_for_testing_full.
5850 * gdb.dwarf2/dw2-anonymous-func.exp: Use
5851 prepare_for_testing_full.
5852 * gdb.dwarf2/dw2-basic.exp: Use prepare_for_testing_full.
5853 * gdb.dwarf2/dw2-compressed.exp: Use prepare_for_testing_full.
5854 * gdb.dwarf2/dw2-const.exp: Use prepare_for_testing_full.
5855 * gdb.dwarf2/dw2-cu-size.exp: Use prepare_for_testing_full.
5856 * gdb.dwarf2/dw2-intercu.exp: Use prepare_for_testing_full.
5857 * gdb.dwarf2/dw2-intermix.exp: Use prepare_for_testing_full.
5858 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use
5859 prepare_for_testing_full.
5860 * gdb.dwarf2/dw2-producer.exp: Use prepare_for_testing_full.
5861 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use
5862 prepare_for_testing_full.
5863 * gdb.dwarf2/dw2-restore.exp: Use prepare_for_testing_full.
5864 * gdb.dwarf2/dw2-strp.exp: Use prepare_for_testing_full.
5865 * gdb.dwarf2/mac-fileno.exp: Use prepare_for_testing_full.
5866
58672012-07-12 Tom Tromey <tromey@redhat.com>
5868
5869 * lib/gdb.exp (build_executable_from_specs): New proc, from
5870 build_executable.
5871 (build_executable): Use it.
5872 (prepare_for_testing_full): New proc.
5873
58742012-07-11 Tom Tromey <tromey@redhat.com>
5875
5876 * gdb.reverse/break-precsave.exp: Use standard_output_file.
5877 * gdb.reverse/consecutive-precsave.exp: Use standard_output_file.
5878 * gdb.reverse/finish-precsave.exp: Use standard_output_file.
5879 * gdb.reverse/i386-precsave.exp: Use standard_output_file.
5880 * gdb.reverse/machinestate-precsave.exp: Use standard_output_file.
5881 * gdb.reverse/sigall-precsave.exp: Use standard_output_file.
5882 * gdb.reverse/solib-precsave.exp: Use standard_output_file.
5883 * gdb.reverse/step-precsave.exp: Use standard_output_file.
5884 * gdb.reverse/until-precsave.exp: Use standard_output_file.
5885 * gdb.reverse/watch-precsave.exp: Use standard_output_file.
5886
58872012-07-10 Tom Tromey <tromey@redhat.com>
5888
5889 * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile,
5890 standard_output_file.
5891 * gdb.mi/gdb2549.exp: Use standard_testfile.
5892 * gdb.mi/gdb669.exp: Use standard_testfile.
5893 * gdb.mi/gdb701.exp: Use standard_testfile.
5894 * gdb.mi/gdb792.exp: Use standard_testfile.
5895 * gdb.mi/mi-async.exp: Use standard_testfile.
5896 * gdb.mi/mi-basics.exp: Use standard_testfile.
5897 * gdb.mi/mi-break.exp: Use standard_testfile.
5898 * gdb.mi/mi-cli.exp: Use standard_testfile.
5899 * gdb.mi/mi-console.exp: Use standard_testfile.
5900 * gdb.mi/mi-disassemble.exp: Use standard_testfile.
5901 * gdb.mi/mi-eval.exp: Use standard_testfile.
5902 * gdb.mi/mi-file-transfer.exp: Use standard_testfile.
5903 * gdb.mi/mi-file.exp: Use standard_testfile.
5904 * gdb.mi/mi-inheritance-syntax-error.exp: Use standard_testfile.
5905 * gdb.mi/mi-logging.exp: Use standard_testfile.
5906 * gdb.mi/mi-nonstop-exit.exp: Use standard_testfile.
5907 * gdb.mi/mi-nonstop.exp: Use standard_testfile.
5908 * gdb.mi/mi-ns-stale-regcache.exp: Use standard_testfile.
5909 * gdb.mi/mi-nsintrall.exp: Use standard_testfile.
5910 * gdb.mi/mi-nsmoribund.exp: Use standard_testfile.
5911 * gdb.mi/mi-nsthrexec.exp: Use standard_testfile.
5912 * gdb.mi/mi-pending.exp: Use standard_testfile,
5913 standard_output_file.
5914 * gdb.mi/mi-pthreads.exp: Use standard_testfile.
5915 * gdb.mi/mi-read-memory.exp: Use standard_testfile.
5916 * gdb.mi/mi-regs.exp: Use standard_testfile.
5917 * gdb.mi/mi-return.exp: Use standard_testfile.
5918 * gdb.mi/mi-reverse.exp: Use standard_testfile.
5919 * gdb.mi/mi-simplerun.exp: Use standard_testfile.
5920 * gdb.mi/mi-solib.exp: Use standard_testfile,
5921 standard_output_file.
5922 * gdb.mi/mi-stack.exp: Use standard_testfile.
5923 * gdb.mi/mi-stepi.exp: Use standard_testfile.
5924 * gdb.mi/mi-stepn.exp: Use standard_testfile.
5925 * gdb.mi/mi-syn-frame.exp: Use standard_testfile.
5926 * gdb.mi/mi-until.exp: Use standard_testfile.
5927 * gdb.mi/mi-var-block.exp: Use standard_testfile.
5928 * gdb.mi/mi-var-child-f.exp: Use standard_testfile.
5929 * gdb.mi/mi-var-child.exp: Use standard_testfile.
5930 * gdb.mi/mi-var-cmd.exp: Use standard_testfile.
5931 * gdb.mi/mi-var-cp.exp: Use standard_testfile.
5932 * gdb.mi/mi-var-display.exp: Use standard_testfile.
5933 * gdb.mi/mi-var-invalidate.exp: Use standard_testfile,
5934 standard_output_file.
5935 * gdb.mi/mi-var-rtti.exp: Use standard_testfile.
5936 * gdb.mi/mi-watch-nonstop.exp: Use standard_testfile.
5937 * gdb.mi/mi-watch.exp: Use standard_testfile.
5938 * gdb.mi/mi2-amd64-entry-value.exp: Use standard_testfile.
5939 * gdb.mi/mi2-basics.exp: Use standard_testfile.
5940 * gdb.mi/mi2-break.exp: Use standard_testfile.
5941 * gdb.mi/mi2-cli.exp: Use standard_testfile.
5942 * gdb.mi/mi2-console.exp: Use standard_testfile.
5943 * gdb.mi/mi2-disassemble.exp: Use standard_testfile.
5944 * gdb.mi/mi2-eval.exp: Use standard_testfile.
5945 * gdb.mi/mi2-file.exp: Use standard_testfile.
5946 * gdb.mi/mi2-pthreads.exp: Use standard_testfile.
5947 * gdb.mi/mi2-read-memory.exp: Use standard_testfile.
5948 * gdb.mi/mi2-regs.exp: Use standard_testfile.
5949 * gdb.mi/mi2-return.exp: Use standard_testfile.
5950 * gdb.mi/mi2-simplerun.exp: Use standard_testfile.
5951 * gdb.mi/mi2-stack.exp: Use standard_testfile.
5952 * gdb.mi/mi2-stepi.exp: Use standard_testfile.
5953 * gdb.mi/mi2-syn-frame.exp: Use standard_testfile.
5954 * gdb.mi/mi2-until.exp: Use standard_testfile.
5955 * gdb.mi/mi2-var-block.exp: Use standard_testfile.
5956 * gdb.mi/mi2-var-child.exp: Use standard_testfile.
5957 * gdb.mi/mi2-var-cmd.exp: Use standard_testfile.
5958 * gdb.mi/mi2-var-display.exp: Use standard_testfile.
5959 * gdb.mi/mi2-watch.exp: Use standard_testfile.
5960
59612012-07-10 Tom Tromey <tromey@redhat.com>
5962
5963 * gdb.cp/abstract-origin.exp: Use standard_testfile.
5964 * gdb.cp/ambiguous.exp: Use standard_testfile,
5965 prepare_for_testing.
5966 * gdb.cp/annota2.exp: Use standard_testfile, prepare_for_testing.
5967 * gdb.cp/annota3.exp: Use standard_testfile, prepare_for_testing.
5968 * gdb.cp/anon-ns.exp: Use standard_testfile.
5969 * gdb.cp/anon-struct.exp: Use standard_testfile.
5970 * gdb.cp/anon-union.exp: Use standard_testfile,
5971 prepare_for_testing.
5972 * gdb.cp/arg-reference.exp: Use standard_testfile,
5973 prepare_for_testing.
5974 * gdb.cp/bool.exp: Use standard_testfile, prepare_for_testing.
5975 * gdb.cp/breakpoint.exp: Use standard_testfile,
5976 prepare_for_testing.
5977 * gdb.cp/bs15503.exp: Use standard_testfile, prepare_for_testing.
5978 * gdb.cp/call-c.exp: Use standard_testfile, clean_restart,
5979 standard_output_file.
5980 * gdb.cp/casts.exp: Use standard_testfile, prepare_for_testing.
5981 * gdb.cp/class2.exp: Use standard_testfile, prepare_for_testing.
5982 * gdb.cp/classes.exp: Use standard_testfile, prepare_for_testing.
5983 (test_static_members): Update.
5984 * gdb.cp/cmpd-minsyms.exp: Use standard_testfile.
5985 * gdb.cp/converts.exp: Use standard_testfile.
5986 * gdb.cp/cp-relocate.exp: Use standard_testfile.
5987 * gdb.cp/cpcompletion.exp: Use standard_testfile,
5988 prepare_for_testing.
5989 * gdb.cp/cpexprs.exp: Use standard_testfile, prepare_for_testing.
5990 * gdb.cp/cplabel.exp: Use standard_testfile.
5991 * gdb.cp/cplusfuncs.exp: Use standard_testfile,
5992 prepare_for_testing.
5993 * gdb.cp/ctti.exp: Use standard_testfile, prepare_for_testing.
5994 * gdb.cp/derivation.exp: Use standard_testfile,
5995 prepare_for_testing.
5996 * gdb.cp/destrprint.exp: Use standard_testfile.
5997 * gdb.cp/dispcxx.exp: Use standard_testfile.
5998 * gdb.cp/exception.exp: Use standard_testfile,
5999 prepare_for_testing.
6000 * gdb.cp/expand-psymtabs-cxx.exp: Use standard_testfile.
6001 * gdb.cp/extern-c.exp: Use standard_testfile,
6002 prepare_for_testing.
6003 * gdb.cp/formatted-ref.exp: Use standard_testfile,
6004 prepare_for_testing.
6005 * gdb.cp/fpointer.exp: Use standard_testfile.
6006 * gdb.cp/gdb1355.exp: Use standard_testfile, prepare_for_testing.
6007 * gdb.cp/gdb2384.exp: Use standard_testfile, clean_restart,
6008 standard_output_file.
6009 * gdb.cp/gdb2495.exp: Use standard_testfile, prepare_for_testing.
6010 * gdb.cp/hang.exp: Use standard_testfile, prepare_for_testing.
6011 * gdb.cp/infcall-dlopen.exp: Use standard_testfile,
6012 standard_output_file.
6013 * gdb.cp/inherit.exp: Use standard_testfile, prepare_for_testing.
6014 (do_tests): Update.
6015 * gdb.cp/koenig.exp: Use standard_testfile.
6016 * gdb.cp/local.exp: Use standard_testfile, prepare_for_testing.
6017 * gdb.cp/m-data.exp: Use standard_testfile, prepare_for_testing.
6018 * gdb.cp/m-static.exp: Use standard_testfile,
6019 prepare_for_testing.
6020 * gdb.cp/mb-ctor.exp: Use standard_testfile, prepare_for_testing.
6021 * gdb.cp/mb-inline.exp: Use standard_testfile,
6022 prepare_for_testing.
6023 * gdb.cp/mb-templates.exp: Use standard_testfile,
6024 prepare_for_testing.
6025 * gdb.cp/member-ptr.exp: Use standard_testfile,
6026 prepare_for_testing.
6027 * gdb.cp/meth-typedefs.exp: Use standard_testfile.
6028 * gdb.cp/method.exp: Use standard_testfile, prepare_for_testing.
6029 * gdb.cp/method2.exp: Use standard_testfile.
6030 * gdb.cp/minsym-fallback.exp: Use standard_testfile,
6031 standard_output_file.
6032 * gdb.cp/misc.exp: Use standard_testfile, prepare_for_testing.
6033 (do_tests): Update.
6034 * gdb.cp/namespace-enum.exp: Use standard_testfile,
6035 prepare_for_testing.
6036 * gdb.cp/namespace-nested-import.exp: Use standard_testfile,
6037 prepare_for_testing.
6038 * gdb.cp/namespace.exp: Use standard_testfile,
6039 prepare_for_testing.
6040 * gdb.cp/nextoverthrow.exp: Use standard_testfile.
6041 * gdb.cp/no-dmgl-verbose.exp: Use standard_testfile.
6042 * gdb.cp/nsdecl.exp: Use standard_testfile, prepare_for_testing.
6043 * gdb.cp/nsimport.exp: Use standard_testfile,
6044 prepare_for_testing.
6045 * gdb.cp/nsnested.exp: Use standard_testfile.
6046 * gdb.cp/nsnoimports.exp: Use standard_testfile.
6047 * gdb.cp/nsrecurs.exp: Use standard_testfile,
6048 prepare_for_testing.
6049 * gdb.cp/nsstress.exp: Use standard_testfile,
6050 prepare_for_testing.
6051 * gdb.cp/nsusing.exp: Use standard_testfile, prepare_for_testing.
6052 * gdb.cp/operator.exp: Use standard_testfile.
6053 * gdb.cp/oranking.exp: Use standard_testfile.
6054 * gdb.cp/overload-const.exp: Use standard_testfile.
6055 * gdb.cp/overload.exp: Use standard_testfile,
6056 prepare_for_testing.
6057 * gdb.cp/ovldbreak.exp: Use standard_testfile.
6058 * gdb.cp/ovsrch.exp: Use standard_testfile.
6059 * gdb.cp/paren-type.exp: Use standard_testfile.
6060 * gdb.cp/pass-by-ref.exp: Use standard_testfile,
6061 prepare_for_testing.
6062 * gdb.cp/pr-1023.exp: Use standard_testfile, prepare_for_testing.
6063 * gdb.cp/pr-1210.exp: Use standard_testfile, prepare_for_testing.
6064 * gdb.cp/pr-574.exp: Use standard_testfile, prepare_for_testing.
6065 * gdb.cp/pr10687.exp: Use standard_testfile, clean_restart.
6066 * gdb.cp/pr10728.exp: Use standard_testfile,
6067 standard_output_file.
6068 * gdb.cp/pr12028.exp: Use standard_testfile.
6069 * gdb.cp/pr9067.exp: Use standard_testfile, prepare_for_testing.
6070 * gdb.cp/pr9167.exp: Use standard_testfile.
6071 * gdb.cp/pr9631.exp: Use standard_testfile, prepare_for_testing.
6072 * gdb.cp/printmethod.exp: Use standard_testfile,
6073 prepare_for_testing.
6074 * gdb.cp/psmang.exp: Use standard_testfile, clean_restart.
6075 * gdb.cp/psymtab-parameter.exp: Use standard_testfile.
6076 * gdb.cp/ptype-cv-cp.exp: Use standard_testfile.
6077 * gdb.cp/re-set-overloaded.exp: Use standard_testfile,
6078 standard_output_file.
6079 * gdb.cp/readnow-language.exp: Use standard_testfile.
6080 * gdb.cp/ref-params.exp: Use standard_testfile, build_executable.
6081 (gdb_start_again): Use clean_restart.
6082 * gdb.cp/ref-types.exp: Use standard_testfile,
6083 prepare_for_testing.
6084 * gdb.cp/rtti.exp: Use standard_testfile, prepare_for_testing.
6085 * gdb.cp/shadow.exp: Use standard_testfile, prepare_for_testing.
6086 * gdb.cp/smartp.exp: Use standard_testfile.
6087 * gdb.cp/static-method.exp: Use standard_testfile.
6088 * gdb.cp/static-print-quit.exp: Use standard_testfile.
6089 * gdb.cp/temargs.exp: Use standard_testfile.
6090 * gdb.cp/templates.exp: Use standard_testfile,
6091 prepare_for_testing.
6092 (do_tests): Update.
6093 * gdb.cp/try_catch.exp: Use standard_testfile,
6094 prepare_for_testing.
6095 * gdb.cp/typedef-operator.exp: Use standard_testfile.
6096 * gdb.cp/userdef.exp: Use standard_testfile, prepare_for_testing.
6097 * gdb.cp/virtbase.exp: Use standard_testfile,
6098 prepare_for_testing.
6099 * gdb.cp/virtfunc.exp: Use standard_testfile,
6100 prepare_for_testing.
6101 (do_tests): Update.
6102 * gdb.cp/virtfunc2.exp: Use standard_testfile,
6103 prepare_for_testing.
6104
61052012-07-10 Tom Tromey <tromey@redhat.com>
6106
6107 * lib/gdb.exp (standard_testfile): Unset output variables from
6108 earlier invocations.
6109
61102012-07-10 Yao Qi <yao@codesourcery.com>
6111
6112 * gdb.mi/gdb2549.exp: Remove -DFAKEARGV from compilation flags.
6113 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp: Likewise.
6114 * gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp: Likewise.
6115 * gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp: Likewise.
6116 * gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp: Likewise.
6117 * gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp: Likewise.
6118 * gdb.mi/mi-return.exp, gdb.mi/mi-reverse.exp: Likewise.
6119 * gdb.mi/mi-simplerun.exp, gdb.mi/mi-stack.exp: Likewise.
6120 * gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp: Likewise.
6121 * gdb.mi/mi-until.exp, gdb.mi/mi-var-block.exp: Likewise.
6122 * gdb.mi/mi-var-child.exp, gdb.mi/mi-var-cmd.exp: Likewise.
6123 * gdb.mi/mi-var-display.exp: Likewise.
6124 * gdb.mi/mi-var-invalidate.exp: Likewise.
6125 * gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp: Likewise.
6126 * gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp: Likewise.
6127 * gdb.mi/mi2-console.exp: Likewise.
6128 * gdb.mi/mi2-disassemble.exp: Likewise.
6129 * gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp: Likewise.
6130 * gdb.mi/mi2-read-memory.exp: Likewise.
6131 * gdb.mi/mi2-regs.exp, gdb.mi/mi2-return.exp: Likewise.
6132 * gdb.mi/mi2-simplerun.exp: Likewise.
6133 * gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp: Likewise.
6134 * gdb.mi/mi2-syn-frame.exp: Likewise.
6135 * gdb.mi/mi2-until.exp, gdb.mi/mi2-var-block.exp: Likewise.
6136 * gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp: Likewise.
6137 * gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp: Likewise.
6138
61392012-07-09 Tom Tromey <tromey@redhat.com>
6140
6141 * gdb.base/whatis.exp: Add error checks for improper 'void' uses.
6142 * gdb.base/callfuncs.exp: Add cast-based test.
6143 * gdb.base/callfuncs.c (voidfunc): New function.
6144
61452012-07-08 Doug Evans <dje@google.com>
6146
6147 * gdb.dwarf2/dw4-sig-type-unused.S: Fix typo.
6148
61492012-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6150
6151 Fix XFAIL compatibility with old i386 systems.
6152 * gdb.base/stale-infcall.exp (test system longjmp tracking support):
6153 Check also 'Cannot insert breakpoint 0'.
6154
61552012-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6156
6157 PR 14321
6158 * gdb.base/find.exp
6159 (find int64_search_buf, +64/8*100, int64_search_buf): New test.
6160
61612012-07-06 Tom Tromey <tromey@redhat.com>
6162
6163 * gdb.base/whatis.exp: Add test.
6164
61652012-07-06 Tom Tromey <tromey@redhat.com>
6166
6167 * gdb.base/whatis.exp: Add regression test.
6168
61692012-07-06 Tom Tromey <tromey@redhat.com>
6170
6171 * gdb.base/whatis.exp: Add tests.
6172
61732012-07-04 Jan Kratochvil <jan.kratochvil@redhat.com>
6174
6175 PR 12649
6176 * gdb.base/dprintf.exp (Set dprintf style to agent): Add missing
6177 gdb_test_multiple $gdb_prompt terminator.
6178
61792012-07-04 Pedro Alves <palves@redhat.com>
6180
6181 * gdb.mi/mi-reverse.exp: Use supports_reverse and
6182 supports_process_record.
6183
61842012-07-04 Pedro Alves <palves@redhat.com>
6185
6186 * gdb.ada/packed_tagged/comp_bug.adb: Convert to unix text line
6187 endings.
6188 * gdb.mi/mi-reverse.exp: Convert to unix text line endings.
6189
61902012-07-03 Stan Shebs <stan@codesourcery.com>
6191
6192 * gdb.base/info-os.c (main): Retry resource acquisition until an
6193 available one is found.
6194 * gdb.base/info-os.exp: Collect resource keys from the program
6195 and use them in matching.
6196
61972012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6198
6199 * gdb.threads/gcore-thread.exp: Remove variable libthread_db_seen.
6200 Wrap the test into loop for corefile and core0file.
6201
62022012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6203
6204 * gdb.dwarf2/fission-reread.S: Remove .section attributes.
6205 Change CU pointer size to 4 bytes, adjust .8byte to .4byte. Remove
6206 .note.GNU-stack.
6207
6208 * gdb.dwarf2/fission-reread.S: Change # comments to /* */ comments.
6209
62102012-07-02 Sergio Durigan Junior <sergiodj@redhat.com>
6211
6212 * gdb.base/help.exp (help b, help br, help bre, help brea, help
6213 break): Include help message for the new `-probe' and `-probe-stap'
6214 options.
6215
62162012-07-02 Stan Shebs <stan@codesourcery.com>
6217
6218 * gdb.base/dprintf.exp: Add agent style tests.
6219
62202012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6221
6222 * gdb.base/stale-infcall.c (infcall): New label test-next.
6223 (main): New labels test-pass and test-fail.
6224 * gdb.base/stale-infcall.exp: Continue to test-next. Put breakpoint
6225 $test_fail_bpnum to test-fail.
6226 (test system longjmp tracking support): New test.
6227 Delete $test_fail_bpnum.
6228 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept also Temporary
6229 breakpoint.
6230
62312012-06-30 Doug Evans <dje@google.com>
6232
6233 * gdb.dwarf2/fission-reread.S: New file.
6234 * gdb.dwarf2/fission-reread.exp: New file.
6235
62362012-06-28 Stan Shebs <stan@codesourcery.com>
6237
6238 * gdb.mi/mi-logging.exp: New file.
6239
62402012-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6241 Pedro Alves <palves@redhat.com>
6242
6243 * gdb.threads/siginfo-threads.exp: New file.
6244 * gdb.threads/siginfo-threads.c: New file.
6245 * gdb.threads/sigstep-threads.exp: New file.
6246 * gdb.threads/sigstep-threads.c: New file.
6247
62482012-06-28 Tom Tromey <tromey@redhat.com>
6249
6250 * gdb.go/package.exp: Partially revert earlier patch; use
6251 gdb_compile again. Use standard_output_file.
6252
62532012-06-27 Doug Evans <dje@google.com>
6254
6255 * gdb.dwarf2/fission-base.c: New file.
6256 * gdb.dwarf2/fission-base.S: New file.
6257 * gdb.dwarf2/fission-base.exp: New file.
6258
62592012-06-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6260
6261 * gdb.dwarf2/callframecfa.exp: Replace $testname by $testfile.
6262
62632012-06-27 Tom Tromey <tromey@redhat.com>
6264
6265 * gdb.base/macscp1.c (macscp_expr): Add breakpoint comment.
6266 * gdb.base/macscp.exp (maybe_kfail): Add test for macro scope.
6267
62682012-06-27 Tom Tromey <tromey@redhat.com>
6269
6270 * gdb.dwarf2/pr10770.exp: Use standard_testfile.
6271 * gdb.dwarf2/dw2-var-zero-addr.exp: Use standard_testfile.
6272 * gdb.dwarf2/dw2-param-error.exp: Use standard_testfile.
6273 * gdb.dwarf2/dw2-op-call.exp: Use standard_testfile.
6274 * gdb.dwarf2/dw2-inline-param.exp: Use standard_testfile,
6275 prepare_for_testing.
6276 * gdb.dwarf2/dw2-inline-break.exp: Use standard_testfile.
6277 * gdb.dwarf2/dw2-ifort-parameter.exp: Use standard_testfile.
6278 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Use
6279 standard_testfile.
6280 * gdb.dwarf2/dw2-case-insensitive.exp: Use standard_testfile.
6281 * gdb.dwarf2/dw4-sig-types.exp: Use standard_testfile.
6282 * gdb.dwarf2/dw2-objfile-overlap.exp: Use standard_testfile.
6283 * gdb.dwarf2/callframecfa.exp: Use standard_testfile,
6284 prepare_for_testing.
6285 * gdb.dwarf2/dup-psym.exp: Use standard_testfile.
6286 * gdb.dwarf2/dw2-ada-ffffffff.exp: Use standard_testfile.
6287 * gdb.dwarf2/dw2-anonymous-func.exp: Use standard_testfile.
6288 * gdb.dwarf2/dw2-bad-parameter-type.exp: Use standard_testfile.
6289 * gdb.dwarf2/dw2-basic.exp: Use standard_testfile.
6290 * gdb.dwarf2/dw2-compressed.exp: Use standard_testfile.
6291 * gdb.dwarf2/dw2-const.exp: Use standard_testfile.
6292 * gdb.dwarf2/dw2-cu-size.exp: Use standard_testfile.
6293 * gdb.dwarf2/dw2-double-set-die-type.exp: Use standard_testfile.
6294 * gdb.dwarf2/dw2-empty-namespace.exp: Use standard_testfile.
6295 * gdb.dwarf2/dw2-empty-pc-range.exp: Use standard_testfile.
6296 * gdb.dwarf2/dw2-filename.exp: Use standard_testfile.
6297 * gdb.dwarf2/dw2-icc-opaque.exp: Use standard_testfile.
6298 * gdb.dwarf2/dw2-inheritance.exp: Use standard_testfile.
6299 * gdb.dwarf2/dw2-intercu.exp: Use standard_testfile.
6300 * gdb.dwarf2/dw2-intermix.exp: Use standard_testfile.
6301 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use standard_testfile.
6302 * gdb.dwarf2/dw2-modula2-self-type.exp: Use standard_testfile.
6303 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use standard_testfile.
6304 * gdb.dwarf2/dw2-op-stack-value.exp: Use standard_testfile.
6305 * gdb.dwarf2/dw2-producer.exp: Use standard_testfile.
6306 * gdb.dwarf2/dw2-ranges.exp: Use standard_testfile,
6307 standard_output_file.
6308 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use standard_testfile,
6309 standard_output_file.
6310 * gdb.dwarf2/dw2-restore.exp: Use standard_testfile.
6311 * gdb.dwarf2/dw2-simple-locdesc.exp: Use standard_testfile.
6312 * gdb.dwarf2/dw2-skip-prologue.exp: Use standard_testfile.
6313 * gdb.dwarf2/dw2-stack-boundary.exp: Use standard_testfile.
6314 * gdb.dwarf2/dw2-strp.exp: Use standard_testfile.
6315 * gdb.dwarf2/dw4-sig-type-unused.exp: Use standard_testfile.
6316 * gdb.dwarf2/implptr-64bit.exp: Use standard_testfile.
6317 * gdb.dwarf2/implptr-optimized-out.exp: Use standard_testfile.
6318 * gdb.dwarf2/implptr.exp: Use standard_testfile.
6319 * gdb.dwarf2/mac-fileno.exp: Use standard_testfile.
6320 * gdb.dwarf2/member-ptr-forwardref.exp: Use standard_testfile.
6321 * gdb.dwarf2/pieces.exp: Use standard_testfile.
6322 * gdb.dwarf2/pr11465.exp: Use standard_testfile.
6323 * gdb.dwarf2/pr13961.exp: Use standard_testfile.
6324 * gdb.dwarf2/valop.exp: Use standard_testfile,
6325 prepare_for_testing.
6326
63272012-06-27 Tom Tromey <tromey@redhat.com>
6328
6329 * gdb.python/python.exp: Fix regexps in pagination tests.
6330
63312012-06-26 Siva Chandra Reddy <sivachandra@google.com>
6332
6333 * gdb.python/py-symtab.exp: Add tests to test the new attribute
6334 'last' of gdb.Symtab_and_line.
6335 * gdb.python/py-symbol.c: Move break point comment to enable
6336 testing of gdb.Symtab_and_line.last.
6337
63382012-06-26 Tom Tromey <tromey@redhat.com>
6339
6340 * gdb.threads/step.c: Remove.
6341 * gdb.threads/step.exp: Remove.
6342 * gdb.threads/step2.exp: Remove.
6343
63442012-06-26 Tom Tromey <tromey@redhat.com>
6345
6346 * gdb.threads/watchpoint-fork.exp (test): Use
6347 standard_output_file. Don't declare objdir.
6348 * gdb.threads/attach-into-signal.exp: Use standard_testfile,
6349 standard_output_file.
6350 * gdb.threads/attach-stopped.exp: Use standard_testfile.
6351 * gdb.threads/bp_in_thread.exp: Use standard_testfile,
6352 clean_restart. Remove incdir.
6353 * gdb.threads/corethreads.exp: Use standard_testfile.
6354 * gdb.threads/execl.exp: Use standard_testfile,
6355 standard_output_file, clean_restart.
6356 * gdb.threads/fork-child-threads.exp: Use standard_testfile,
6357 clean_restart.
6358 * gdb.threads/fork-thread-pending.exp: Use standard_testfile,
6359 clean_restart.
6360 * gdb.threads/gcore-thread.exp: Use standard_testfile. Remove
6361 incdir.
6362 * gdb.threads/hand-call-in-threads.exp: Use standard_testfile,
6363 clean_restart. Remove incdir.
6364 * gdb.threads/ia64-sigill.exp: Use standard_testfile.
6365 * gdb.threads/interrupted-hand-call.exp: Use standard_testfile,
6366 clean_restart. Remove incdir.
6367 * gdb.threads/killed.exp: Use standard_testfile, clean_restart.
6368 Remove incdir.
6369 * gdb.threads/leader-exit.exp: Use standard_testfile.
6370 * gdb.threads/linux-dp.exp: Use standard_testfile, clean_restart.
6371 * gdb.threads/local-watch-wrong-thread.exp: Use standard_testfile,
6372 clean_restart.
6373 * gdb.threads/manythreads.exp: Use standard_testfile,
6374 clean_restart. Remove incdir.
6375 * gdb.threads/multi-create.exp: Use standard_testfile,
6376 clean_restart.
6377 * gdb.threads/no-unwaited-for-left.exp: Use standard_testfile.
6378 * gdb.threads/non-ldr-exc-1.exp: Use standard_testfile.
6379 * gdb.threads/non-ldr-exc-2.exp: Use standard_testfile.
6380 * gdb.threads/non-ldr-exc-3.exp: Use standard_testfile.
6381 * gdb.threads/non-ldr-exc-4.exp: Use standard_testfile.
6382 * gdb.threads/pending-step.exp: Use standard_testfile,
6383 clean_restart. Remove incdir.
6384 * gdb.threads/print-threads.exp: Use standard_testfile,
6385 clean_restart. Remove incdir.
6386 * gdb.threads/pthread_cond_wait.exp: Use standard_testfile,
6387 clean_restart. Remove incdir.
6388 * gdb.threads/pthreads.exp: Use standard_testfile, clean_restart.
6389 Remove incdir.
6390 * gdb.threads/schedlock.exp: Use standard_testfile. Remove
6391 incdir.
6392 * gdb.threads/sigthread.exp: Use standard_testfile,
6393 clean_restart.
6394 * gdb.threads/staticthreads.exp: Use standard_testfile,
6395 clean_restart. Remove incdir.
6396 * gdb.threads/switch-threads.exp: Use standard_testfile,
6397 clean_restart. Remove incdir.
6398 * gdb.threads/thread-execl.exp: Use standard_testfile,
6399 clean_restart. Remove incdir.
6400 * gdb.threads/thread-find.exp: Use standard_testfile,
6401 clean_restart.
6402 * gdb.threads/thread-specific.exp: Use standard_testfile,
6403 clean_restart. Remove incdir.
6404 * gdb.threads/thread-unwindonsignal.exp: Use standard_testfile,
6405 clean_restart. Remove incdir.
6406 * gdb.threads/thread_check.exp: Use standard_testfile,
6407 clean_restart. Remove incdir.
6408 * gdb.threads/thread_events.exp: Use standard_testfile. Remove
6409 incdir.
6410 * gdb.threads/threadapply.exp: Use standard_testfile,
6411 clean_restart. Remove incdir.
6412 * gdb.threads/threxit-hop-specific.exp: Use standard_testfile,
6413 clean_restart. Remove incdir.
6414 * gdb.threads/tls-nodebug.exp: Use standard_testfile,
6415 clean_restart.
6416 * gdb.threads/tls-shared.exp: Use standard_testfile,
6417 clean_restart, standard_output_file.
6418 * gdb.threads/tls-var.exp: Use standard_testfile,
6419 standard_output_file.
6420 * gdb.threads/tls.exp: Use standard_testfile, clean_restart.
6421 Remove incdir.
6422 * gdb.threads/watchthreads-reorder.exp: Use standard_testfile.
6423 * gdb.threads/watchthreads.exp: Use standard_testfile. Remove
6424 incdir.
6425 * gdb.threads/watchthreads2.exp: Use standard_testfile,
6426 clean_restart. Remove incdir.
6427
64282012-06-26 Tom Tromey <tromey@redhat.com>
6429
6430 * gdb.trace/actions.exp: Use standard_testfile.
6431 * gdb.trace/ax.exp: Use standard_testfile.
6432 * gdb.trace/backtrace.exp: Use standard_testfile.
6433 * gdb.trace/change-loc.exp: Use standard_testfile.
6434 * gdb.trace/circ.exp: Use standard_testfile, prepare_for_testing.
6435 * gdb.trace/collection.exp: Use standard_testfile,
6436 prepare_for_testing.
6437 * gdb.trace/deltrace.exp: Use standard_testfile.
6438 * gdb.trace/disconnected-tracing.exp: Use standard_testfile.
6439 * gdb.trace/ftrace.exp: Use standard_testfile.
6440 * gdb.trace/infotrace.exp: Use standard_testfile.
6441 * gdb.trace/packetlen.exp: Use standard_testfile.
6442 * gdb.trace/passc-dyn.exp: Use standard_testfile.
6443 * gdb.trace/passcount.exp: Use standard_testfile.
6444 * gdb.trace/pending.exp: Use standard_testfile.
6445 * gdb.trace/report.exp: Use standard_testfile.
6446 * gdb.trace/save-trace.exp: Use standard_testfile.
6447 * gdb.trace/stap-trace.exp: Use standard_testfile.
6448 * gdb.trace/status-stop.exp: Use standard_testfile.
6449 * gdb.trace/strace.exp: Use standard_testfile.
6450 * gdb.trace/tfile.exp: Use standard_testfile.
6451 * gdb.trace/tfind.exp: Use standard_testfile.
6452 * gdb.trace/trace-break.exp: Use standard_testfile.
6453 * gdb.trace/trace-mt.exp: Use standard_testfile.
6454 * gdb.trace/tracecmd.exp: Use standard_testfile.
6455 * gdb.trace/tspeed.exp: Use standard_testfile.
6456 * gdb.trace/tstatus.exp: Use standard_testfile.
6457 * gdb.trace/tsv.exp: Use standard_testfile.
6458 * gdb.trace/unavailable.exp: Use standard_testfile,
6459 prepare_for_testing.
6460 * gdb.trace/while-dyn.exp: Use standard_testfile.
6461 * gdb.trace/while-stepping.exp: Use standard_testfile.
6462
64632012-06-26 Tom Tromey <tromey@redhat.com>
6464
6465 * gdb.reverse/break-precsave.exp: Use standard_testfile.
6466 * gdb.reverse/break-reverse.exp: Use standard_testfile.
6467 * gdb.reverse/consecutive-precsave.exp: Use standard_testfile.
6468 * gdb.reverse/consecutive-reverse.exp: Use standard_testfile.
6469 * gdb.reverse/finish-precsave.exp: Use standard_testfile.
6470 * gdb.reverse/finish-reverse-bkpt.exp: Use standard_testfile.
6471 * gdb.reverse/finish-reverse.exp: Use standard_testfile.
6472 * gdb.reverse/i386-precsave.exp: Use standard_testfile,
6473 prepare_for_testing.
6474 * gdb.reverse/i386-reverse.exp: Use standard_testfile,
6475 prepare_for_testing.
6476 * gdb.reverse/i386-sse-reverse.exp: Use standard_testfile,
6477 prepare_for_testing.
6478 * gdb.reverse/i387-env-reverse.exp: Use standard_testfile,
6479 prepare_for_testing.
6480 * gdb.reverse/i387-stack-reverse.exp: Use standard_testfile,
6481 prepare_for_testing
6482 * gdb.reverse/machinestate-precsave.exp: Use standard_testfile.
6483 * gdb.reverse/machinestate.exp: Use standard_testfile.
6484 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Use standard_testfile.
6485 * gdb.reverse/sigall-precsave.exp: Use standard_testfile,
6486 build_executable.
6487 * gdb.reverse/sigall-reverse.exp: Use standard_testfile,
6488 build_executable.
6489 * gdb.reverse/solib-precsave.exp: Use standard_testfile,
6490 standard_output_file.
6491 * gdb.reverse/solib-reverse.exp: Use standard_testfile,
6492 standard_output_file.
6493 * gdb.reverse/step-precsave.exp: Use standard_testfile.
6494 * gdb.reverse/step-reverse.exp: Use standard_testfile.
6495 * gdb.reverse/until-precsave.exp: Use standard_testfile.
6496 * gdb.reverse/until-reverse.exp: Use standard_testfile.
6497 * gdb.reverse/watch-precsave.exp: Use standard_testfile.
6498 * gdb.reverse/watch-reverse.exp: Use standard_testfile.
6499
65002012-06-26 Tom Tromey <tromey@redhat.com>
6501
6502 * gdb.stabs/weird.exp: Remove directory-checking code. Use
6503 standard_output_file.
6504 * gdb.stabs/exclfwd.exp: Use standard_testfile,
6505 prepare_for_testing. Remove directory-checking code.
6506
65072012-06-25 Tom Tromey <tromey@redhat.com>
6508
6509 * gdb.multi/watchpoint-multi.exp: Use standard_testfile.
6510 * gdb.multi/bkpt-multi-exec.exp: Use standard_output_file. Use
6511 build_executable, not prepare_for_testing.
6512 * gdb.multi/base.exp: Use standard_output_file. Use
6513 build_executable, not prepare_for_testing.
6514
65152012-06-25 Tom Tromey <tromey@redhat.com>
6516
6517 * gdb.fortran/subarray.exp: Use standard_testfile,
6518 prepare_for_testing.
6519 * gdb.fortran/multi-dim.exp: Use standard_testfile.
6520 * gdb.fortran/module.exp: Use standard_testfile.
6521 * gdb.fortran/logical.exp: Use standard_testfile.
6522 * gdb.fortran/library-module.exp: Use standard_testfile,
6523 standard_output_file.
6524 * gdb.fortran/derived-type.exp: Use standard_testfile,
6525 prepare_for_testing.
6526 * gdb.fortran/complex.exp: Use standard_testfile,
6527 prepare_for_testing.
6528 * gdb.fortran/charset.exp: Use standard_testfile.
6529 * gdb.fortran/array-element.exp: Use standard_testfile,
6530 prepare_for_testing.
6531
65322012-06-25 Keith Seitz <keiths@redhat.com>
6533
6534 * gdb.mi/mi-break.exp (test_rbreak_creation_and_listing):
6535 Change rbreak-related tests to KFAIL and add bugzilla numbers.
6536
65372012-06-25 Tom Tromey <tromey@redhat.com>
6538
6539 * gdb.pascal/integers.exp: Use standard_testfile, clean_restart.
6540 * gdb.pascal/hello.exp: Use standard_testfile, clean_restart.
6541 * gdb.pascal/gdb11492.exp: Use standard_testfile, clean_restart.
6542 * gdb.pascal/floats.exp: Use standard_testfile, clean_restart.
6543
65442012-06-25 Tom Tromey <tromey@redhat.com>
6545
6546 * gdb.linespec/ls-errs.exp: Use standard_testfile.
6547 * gdb.linespec/ls-dollar.exp: Use standard_testfile.
6548 * gdb.linespec/linespec.exp: Use standard_testfile.
6549
65502012-06-25 Tom Tromey <tromey@redhat.com>
6551
6552 * gdb.modula2/unbounded-array.exp: Use standard_testfile,
6553 prepare_for_testing.
6554
65552012-06-25 Tom Tromey <tromey@redhat.com>
6556
6557 * gdb.opt/clobbered-registers-O2.exp: Use standard_testfile,
6558 prepare_for_testing.
6559 * gdb.opt/inline-break.exp: Use standard_testfile,
6560 prepare_for_testing.
6561 * gdb.opt/inline-bt.exp: Use standard_testfile,
6562 prepare_for_testing.
6563 * gdb.opt/inline-cmds.exp: Use standard_testfile,
6564 prepare_for_testing.
6565 * gdb.opt/inline-locals.exp: Use standard_testfile,
6566 prepare_for_testing.
6567
65682012-06-25 Tom Tromey <tromey@redhat.com>
6569
6570 * gdb.asm/asm-source.exp: Use standard_output_file,
6571 standard_testfile. Construct .o files in proper subdir.
6572
65732012-06-25 Tom Tromey <tromey@redhat.com>
6574
6575 * gdb.server/ext-attach.exp: Use standard_testfile,
6576 prepare_for_testing.
6577 * gdb.server/ext-run.exp: Use standard_testfile,
6578 build_executable.
6579 * gdb.server/file-transfer.exp: Use standard_testfile,
6580 prepare_for_testing.
6581 * gdb.server/server-exec-info.exp: Use standard_testfile.
6582 * gdb.server/server-mon.exp: Use standard_testfile,
6583 prepare_for_testing.
6584 * gdb.server/server-run.exp: Use standard_testfile,
6585 build_executable.
6586 * gdb.server/solib-list.exp: Use standard_testfile,
6587 standard_output_file.
6588
65892012-06-25 Tom Tromey <tromey@redhat.com>
6590
6591 * lib/gdb.exp (standard_output_file): Use "file join".
6592 * gdb.go/chan.exp: Use standard_testfile.
6593 * gdb.go/handcall.exp: Use standard_testfile.
6594 * gdb.go/hello.exp: Use standard_testfile.
6595 * gdb.integers/chan.exp: Use standard_testfile.
6596 * gdb.go/methods.exp: Use standard_testfile.
6597 * gdb.go/package.exp: Use standard_testfile.
6598 * gdb.go/strings.exp: Use standard_testfile.
6599 * gdb.go/types.exp: Use standard_testfile.
6600 * gdb.go/unsafe.exp: Use standard_testfile.
6601
66022012-06-25 Greta Yorsh <greta.yorsh@arm.com>
6603
6604 * gdb.arch/arm-disp-step.S: Fix use of .global directives.
6605
66062012-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6607
6608 Fix regression by the previous commit.
6609 * gdb.python/lib-types.exp: Add c++ to the compilation flags.
6610
66112012-06-22 Tom Tromey <tromey@redhat.com>
6612
6613 * gdb.python/lib-types.exp: Use standard_testfile,
6614 prepare_for_testing.
6615 * gdb.python/py-block.exp: Use standard_testfile.
6616 * gdb.python/py-breakpoint.exp: Use standard_testfile.
6617 * gdb.python/py-events.exp: Use standard_testfile,
6618 standard_output_file.
6619 * gdb.python/py-evsignal.exp: Use standard_testfile.
6620 * gdb.python/py-evethreads.exp: Use standard_testfile.
6621 * gdb.python/py-explore-cc.exp: Use standard_testfile.
6622 * gdb.python/py-explore.exp: Use standard_testfile.
6623 * gdb.python/py-finish-breakpoint.exp: Use standard_testfile,
6624 standard_output_file.
6625 * gdb.python/py-finish-breakpoint2.exp: Use standard_testfile,
6626 prepare_for_testing.
6627 * gdb.python/py-frame-inline.exp: Use standard_testfile.
6628 * gdb.python/py-frame.exp: Use standard_testfile.
6629 * gdb.python/py-inferior.exp: Use standard_testfile.
6630 * gdb.python/py-infthread.exp: Use standard_testfile.
6631 * gdb.python/py-mi.exp: Use standard_testfile.
6632 * gdb.python/py-objfile-script.exp: Use standard_testfile,
6633 build_executable.
6634 * gdb.python/py-objfile.exp: Use standard_testfile.
6635 * gdb.python/py-pp-maint.exp: Use standard_testfile,
6636 prepare_for_testing.
6637 * gdb.python/py-prettyprint.exp: Use standard_testfile.
6638 * gdb.python/py-progspace.exp: Use standard_testfile,
6639 build_executable.
6640 * gdb.python/py-prompt.exp: Use standard_testfile,
6641 build_executable.
6642 * gdb.python/py-section-script.exp: Use standard_testfile,
6643 build_executable.
6644 * gdb.python/py-shared.exp: Use standard_testfile,
6645 standard_output_file, clean_restart.
6646 * gdb.python/py-symbol.exp: Use standard_output_file,
6647 prepare_for_testing.
6648 * gdb.python/py-symtab.exp: Use standard_output_file,
6649 prepare_for_testing
6650 * gdb.python/py-template.exp: Use standard_testfile.
6651 * gdb.python/py-type.exp: Use standard_testfile.
6652 * gdb.python/py-value-cc.exp: Use standard_testfile.
6653 * gdb.python/py-value.exp: Use standard_testfile.
6654 * gdb.python/python.exp: Use standard_testfile, build_executable.
6655
66562012-06-22 Tom Tromey <tromey@redhat.com>
6657
6658 * gdb.objc/basicclass.exp: Use standard_testfile.
6659 (do_objc_tests): Don't declare objdir.
6660 * gdb.objc/nondebug.exp: Use standard_testfile.
6661 (do_objc_tests): Don't declare objdir.
6662 * gdb.objc/objcdecode.exp: Use standard_testfile.
6663 (do_objc_tests): Don't declare objdir.
6664
66652012-06-22 Tom Tromey <tromey@redhat.com>
6666
6667 * gdb.java/jmain.exp: Use standard_testfile.
6668 * gdb.java/jmisc.exp: Use standard_testfile.
6669 * gdb.java/jnpe.exp: Use standard_testfile.
6670 * gdb.java/jprint.exp: Use standard_testfile.
6671
66722012-06-22 Tom Tromey <tromey@redhat.com>
6673
6674 * lib/gdb.exp (default_gdb_init): Set gdb_test_file_name.
6675 (standard_output_file, standard_testfile): New procs.
6676 (build_executable, clean_restart): Use standard_output_file.
6677
66782012-06-22 Yao Qi <yao@codesourcery.com>
6679
6680 * boards/native-gdbserver.exp: New proc ${board}_exec.
6681 * boards/native-stdio-gdbserver.exp: Likewise.
6682
66832012-06-21 Tom Tromey <tromey@redhat.com>
6684
6685 * lib/gdb.exp (skip_altivec_tests, skip_vsx_tests)
6686 (build_executable): Update.
6687 (get_compiler_info): Remove 'binfile' argument.
6688 * gdb.ada/arrayidx.exp: Update.
6689 * gdb.ada/null_array.exp: Update.
6690 * gdb.arch/altivec-abi.exp: Update.
6691 * gdb.arch/altivec-regs.exp: Update.
6692 * gdb.arch/amd64-byte.exp: Update.
6693 * gdb.arch/amd64-dword.exp: Update.
6694 * gdb.arch/amd64-word.exp: Update.
6695 * gdb.arch/i386-avx.exp: Update.
6696 * gdb.arch/i386-byte.exp: Update.
6697 * gdb.arch/i386-sse.exp: Update.
6698 * gdb.arch/i386-word.exp: Update.
6699 * gdb.arch/ppc-dfp.exp: Update.
6700 * gdb.arch/ppc-fp.exp: Update.
6701 * gdb.arch/vsx-regs.exp: Update.
6702 * gdb.base/all-bin.exp: Update.
6703 * gdb.base/annota1.exp: Update.
6704 * gdb.base/async.exp: Update.
6705 * gdb.base/attach.exp: Update.
6706 * gdb.base/break-interp.exp: Update.
6707 * gdb.base/call-ar-st.exp: Update.
6708 * gdb.base/call-rt-st.exp: Update.
6709 * gdb.base/call-sc.exp: Update.
6710 * gdb.base/callfuncs.exp: Update.
6711 * gdb.base/catch-load.exp: Update.
6712 * gdb.base/completion.exp: Update.
6713 * gdb.base/complex.exp: Update.
6714 * gdb.base/condbreak.exp: Update.
6715 * gdb.base/consecutive.exp: Update.
6716 * gdb.base/constvars.exp: Update.
6717 * gdb.base/corefile.exp: Update.
6718 * gdb.base/eval-skip.exp: Update.
6719 * gdb.base/expand-psymtabs.exp: Update.
6720 * gdb.base/exprs.exp: Update.
6721 * gdb.base/fileio.exp: Update.
6722 * gdb.base/fixsection.exp: Update.
6723 * gdb.base/funcargs.exp: Update.
6724 * gdb.base/gdb11530.exp: Update.
6725 * gdb.base/gdb1555.exp: Update.
6726 * gdb.base/gnu-ifunc.exp: Update.
6727 * gdb.base/gnu_vector.exp: Update.
6728 * gdb.base/info-macros.exp: Update.
6729 * gdb.base/jit-simple.exp: Update.
6730 * gdb.base/jit-so.exp: Update.
6731 * gdb.base/jit.exp: Update.
6732 * gdb.base/langs.exp: Update.
6733 * gdb.base/list.exp: Update.
6734 * gdb.base/logical.exp: Update.
6735 * gdb.base/long_long.exp: Update.
6736 * gdb.base/longjmp.exp: Update.
6737 * gdb.base/macscp.exp: Update.
6738 * gdb.base/mips_pro.exp: Update.
6739 * gdb.base/miscexprs.exp: Update.
6740 * gdb.base/morestack.exp: Update.
6741 * gdb.base/nodebug.exp: Update.
6742 * gdb.base/opaque.exp: Update.
6743 * gdb.base/pc-fp.exp: Update.
6744 * gdb.base/pending.exp: Update.
6745 * gdb.base/permissions.exp: Update.
6746 * gdb.base/pointers.exp: Update.
6747 * gdb.base/prelink.exp: Update.
6748 * gdb.base/printcmds.exp: Update.
6749 * gdb.base/psymtab.exp: Update.
6750 * gdb.base/ptype.exp: Update.
6751 * gdb.base/relational.exp: Update.
6752 * gdb.base/scope.exp: Update.
6753 * gdb.base/setvar.exp: Update.
6754 * gdb.base/shlib-call.exp: Update.
6755 * gdb.base/shreloc.exp: Update.
6756 * gdb.base/signals.exp: Update.
6757 * gdb.base/sizeof.exp: Update.
6758 * gdb.base/so-impl-ld.exp: Update.
6759 * gdb.base/so-indr-cl.exp: Update.
6760 * gdb.base/solib-disc.exp: Update.
6761 * gdb.base/solib-display.exp: Update.
6762 * gdb.base/solib-nodir.exp: Update.
6763 * gdb.base/solib-overlap.exp: Update.
6764 * gdb.base/solib-symbol.exp: Update.
6765 * gdb.base/solib-weak.exp: Update.
6766 * gdb.base/solib.exp: Update.
6767 * gdb.base/store.exp: Update.
6768 * gdb.base/structs.exp: Update.
6769 * gdb.base/structs2.exp: Update.
6770 * gdb.base/type-opaque.exp: Update.
6771 * gdb.base/unload.exp: Update.
6772 * gdb.base/varargs.exp: Update.
6773 * gdb.base/volatile.exp: Update.
6774 * gdb.base/watch_thread_num.exp: Update.
6775 * gdb.base/watchpoint-solib.exp: Update.
6776 * gdb.base/watchpoint.exp: Update.
6777 * gdb.base/watchpoints.exp: Update.
6778 * gdb.base/whatis.exp: Update.
6779 * gdb.cell/arch.exp: Update.
6780 * gdb.cell/break.exp: Update.
6781 * gdb.cell/bt.exp: Update.
6782 * gdb.cell/core.exp: Update.
6783 * gdb.cell/data.exp: Update.
6784 * gdb.cell/ea-cache.exp: Update.
6785 * gdb.cell/f-regs.exp: Update.
6786 * gdb.cell/fork.exp: Update.
6787 * gdb.cell/gcore.exp: Update.
6788 * gdb.cell/mem-access.exp: Update.
6789 * gdb.cell/ptype.exp: Update.
6790 * gdb.cell/registers.exp: Update.
6791 * gdb.cell/sizeof.exp: Update.
6792 * gdb.cell/solib-symbol.exp: Update.
6793 * gdb.cell/solib.exp: Update.
6794 * gdb.cp/ambiguous.exp: Update.
6795 * gdb.cp/breakpoint.exp: Update.
6796 * gdb.cp/bs15503.exp: Update.
6797 * gdb.cp/casts.exp: Update.
6798 * gdb.cp/class2.exp: Update.
6799 * gdb.cp/cpexprs.exp: Update.
6800 * gdb.cp/cplusfuncs.exp: Update.
6801 * gdb.cp/ctti.exp: Update.
6802 * gdb.cp/dispcxx.exp: Update.
6803 * gdb.cp/gdb1355.exp: Update.
6804 * gdb.cp/gdb2384.exp: Update.
6805 * gdb.cp/gdb2495.exp: Update.
6806 * gdb.cp/infcall-dlopen.exp: Update.
6807 * gdb.cp/local.exp: Update.
6808 * gdb.cp/m-data.exp: Update.
6809 * gdb.cp/m-static.exp: Update.
6810 * gdb.cp/mb-ctor.exp: Update.
6811 * gdb.cp/mb-inline.exp: Update.
6812 * gdb.cp/mb-templates.exp: Update.
6813 * gdb.cp/member-ptr.exp: Update.
6814 * gdb.cp/method.exp: Update.
6815 * gdb.cp/namespace.exp: Update.
6816 * gdb.cp/nextoverthrow.exp: Update.
6817 * gdb.cp/nsdecl.exp: Update.
6818 * gdb.cp/nsrecurs.exp: Update.
6819 * gdb.cp/nsstress.exp: Update.
6820 * gdb.cp/nsusing.exp: Update.
6821 * gdb.cp/pr-1023.exp: Update.
6822 * gdb.cp/pr-1210.exp: Update.
6823 * gdb.cp/pr-574.exp: Update.
6824 * gdb.cp/pr9631.exp: Update.
6825 * gdb.cp/printmethod.exp: Update.
6826 * gdb.cp/psmang.exp: Update.
6827 * gdb.cp/re-set-overloaded.exp: Update.
6828 * gdb.cp/rtti.exp: Update.
6829 * gdb.cp/shadow.exp: Update.
6830 * gdb.cp/templates.exp: Update.
6831 * gdb.cp/try_catch.exp: Update.
6832 * gdb.dwarf2/dw2-ranges.exp: Update.
6833 * gdb.dwarf2/pr10770.exp: Update.
6834 * gdb.fortran/library-module.exp: Update.
6835 * gdb.hp/gdb.aCC/optimize.exp: Update.
6836 * gdb.hp/gdb.aCC/watch-cmd.exp: Update.
6837 * gdb.hp/gdb.base-hp/callfwmall.exp: Update.
6838 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Update.
6839 * gdb.hp/gdb.base-hp/pxdb.exp: Update.
6840 * gdb.hp/gdb.base-hp/sized-enum.exp: Update.
6841 * gdb.hp/gdb.base-hp/so-thresh.exp: Update.
6842 * gdb.hp/gdb.compat/xdb1.exp: Update.
6843 * gdb.hp/gdb.compat/xdb2.exp: Update.
6844 * gdb.hp/gdb.compat/xdb3.exp: Update.
6845 * gdb.hp/gdb.defects/bs14602.exp: Update.
6846 * gdb.hp/gdb.defects/solib-d.exp: Update.
6847 * gdb.hp/gdb.objdbg/objdbg01.exp: Update.
6848 * gdb.hp/gdb.objdbg/objdbg02.exp: Update.
6849 * gdb.hp/gdb.objdbg/objdbg03.exp: Update.
6850 * gdb.hp/gdb.objdbg/objdbg04.exp: Update.
6851 * gdb.mi/gdb792.exp: Update.
6852 * gdb.mi/mi-pending.exp: Update.
6853 * gdb.mi/mi-solib.exp: Update.
6854 * gdb.mi/mi-var-cp.exp: Update.
6855 * gdb.opt/clobbered-registers-O2.exp: Update.
6856 * gdb.opt/inline-bt.exp: Update.
6857 * gdb.opt/inline-cmds.exp: Update.
6858 * gdb.opt/inline-locals.exp: Update.
6859 * gdb.python/py-events.exp: Update.
6860 * gdb.python/py-finish-breakpoint.exp: Update.
6861 * gdb.python/py-type.exp: Update.
6862 * gdb.reverse/solib-precsave.exp: Update.
6863 * gdb.reverse/solib-reverse.exp: Update.
6864 * gdb.server/solib-list.exp: Update.
6865 * gdb.stabs/weird.exp: Update.
6866 * gdb.threads/attach-into-signal.exp: Update.
6867 * gdb.threads/attach-stopped.exp: Update.
6868 * gdb.threads/tls-shared.exp: Update.
6869 * gdb.trace/change-loc.exp: Update.
6870 * gdb.trace/strace.exp: Update.
6871
68722012-06-19 Tom Tromey <tromey@redhat.com>
6873
6874 * gdb.base/whatis.exp: Add tests.
6875
68762012-06-19 Tom Tromey <tromey@redhat.com>
6877
6878 * gdb.cp/m-static.cc (keepalive): New function.
6879 (gnu_obj_1::method): Use it.
6880
68812012-06-18 Doug Evans <dje@google.com>
6882
6883 * gdb.base/info-fun.exp: New file.
6884 * gdb.base/info-fun.c: New file.
6885 * gdb.base/info-fun-solib.c: New file.
6886
68872012-06-18 Jan Kratochvil <jan.kratochvil@redhat.com>
6888
6889 Remove stale dummy frames.
6890 * gdb.base/call-signal-resume.exp (maintenance print dummy-frames)
6891 (maintenance info breakpoints): New tests.
6892 * gdb.base/stale-infcall.c: New file.
6893 * gdb.base/stale-infcall.exp: New file.
6894
68952012-06-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6896
6897 * gdb.arch/amd64-entry-value-param.S: New file.
6898 * gdb.arch/amd64-entry-value-param.c: New file.
6899 * gdb.arch/amd64-entry-value-param.exp: New file.
6900
69012012-06-15 Tom Tromey <tromey@redhat.com>
6902
6903 * gdb.cp/namespace.exp: Add "show lang" test.
6904
69052012-06-15 Iain Sandoe <iain@codesourcery.com>
6906
6907 * gdb.base/list.exp (test_listsize): Remove $use_gdb_stub special
6908 case. (top level): Use gdb_file_cmd instead of gdb_load.
6909
69102012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6911
6912 PR tdep/14222
6913 * gdb.arch/i386-sse-stack-align.S: New file.
6914 * gdb.arch/i386-sse-stack-align.c: New file.
6915 * gdb.arch/i386-sse-stack-align.exp: New file.
6916
69172012-06-13 Keith Seitz <keiths@redhat.com>
6918
6919 PR breakpoints/13798 and mi/11541
6920 * gdb.linespec/ls-errs.exp: Add a few more tests for
6921 filenames with spaces and colons.
6922
69232012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6924
6925 PR c++/14177 - Fix parsing TYPENAME:: in parentheses.
6926 * gdb.cp/cpexprs.cc (class CV, CV::i, ATTRIBUTE_USED, CV_f): New.
6927 (test_function): Call CV_f.
6928 * gdb.cp/cpexprs.exp (p 'CV::m(int)', p CV::m(int))
6929 (p 'CV::m(int) const', p CV::m(int) const, p 'CV::m(int) volatile')
6930 (p CV::m(int) volatile, p 'CV::m(int) const volatile')
6931 (p CV::m(int) const volatile, p CV_f(int), p CV_f(CV::t))
6932 (p CV_f(CV::i)): New tests.
6933
69342012-06-13 Tom Tromey <tromey@redhat.com>
6935
6936 * gdb.base/condbreak.exp: Add tests for "condition" completion.
6937
69382012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6939
6940 Fix regression by the "ambiguous linespec" series.
6941 * gdb.base/break.exp (list marker1, break lineno, delete $bpnum): New
6942 tests.
6943
69442012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6945
6946 * lib/future.exp: Set $use_gdb_compile even if only find_go_linker is
6947 missing.
6948
69492012-06-11 Tom Tromey <tromey@redhat.com>
6950
6951 * gdb.base/longjmp.c (hidden_longjmp): Move expected catch
6952 location...
6953 (main): ...here.
6954
69552012-06-07 Yao Qi <yao@codesourcery.com>
6956
6957 * gdb.trace/strace.exp: Shorten some too-long lines.
6958
69592012-06-06 Pedro Alves <palves@redhat.com>
6960
6961 * gdb.threads/clone-new-thread-event.c: New file.
6962 * gdb.threads/clone-new-thread-event.exp: New file.
6963
69642012-06-06 Yao Qi <yao@codesourcery.com>
6965
6966 * gdb.base/dprintf.c (main): Add extra parameter when calling
6967 printf and fprintf.
6968 (bar): New function. It is a dead function, but to ensure
6969 'malloc' is linked explicitly.
6970
69712012-06-06 Yao Qi <yao@codesourcery.com>
6972
6973 * gdb.base/info-proc.exp: Return if target doesn't support
6974 'info proc'.
6975
69762012-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
6977
6978 * gdb.base/freebpcmd.exp (set lines): Check valid range of I.
6979 (run program with breakpoint commands): XFAIl if it is not.
6980
69812012-06-05 Joel Brobecker <brobecker@adacore.com>
6982
6983 * gdb.base/ctxobj-f.c (GET_VERSION): Introduce local variable
6984 and add comment.
6985 * gdb.base/ctxobj-m.c (main): Rewrite, and add comment.
6986 * gdb.base/ctxobj.exp: Insert breakpoint in ctxobj-f.c using
6987 "STOP" marker. Adjust testing strategy to make it work on
6988 all targets.
6989
6990 * gdb.base/print-file-var-main.c (main): Rewrite using local
6991 variables and adjust get_version_2's return value check.
6992 Add small comment.
6993 * gdb.base/print-file-var.exp: Insert breakpoint using "STOP"
6994 marker. Adjust testing strategy to make it work on all targets.
6995
69962012-06-05 Joel Brobecker <brobecker@adacore.com>
6997
6998 * gdb.ada/bad-task-bp-keyword: New testcase.
6999
70002012-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7001
7002 * gdb.base/code_elim.exp (add-symbol-file ${testfile1} 0x100000):
7003 Simplify it to ...
7004 (symbol-file ${testfile1}): ... here.
7005 (test eliminated var my_global_symbol)
7006 (test eliminated var my_static_symbol)
7007 (test eliminated var my_global_func, get address of main): Wrap them to
7008 'single psymtabs' and 'single symtabs'
7009 (get address of my_global_symbol, get address of my_static_symbol)
7010 (get address of my_global_func, get address of main): Wrap them to
7011 'order1' and 'order2'.
7012
7013 * gdb.base/code_elim.exp
7014 (add-symbol-file ${testfile1} 0x100000)
7015 (add-symbol-file ${testfile2} 0x200000): Wrap them to 'order1' and
7016 'order2'.
7017 (order1: add-symbol-file ${testfile1} 0x100000)
7018 (order1: add-symbol-file ${testfile2} 0x200000)
7019 (order2: add-symbol-file ${testfile2} 0x200000)
7020 (order2: add-symbol-file ${testfile1} 0x100000): Add -s .data and -s
7021 .bss as appropriate.
7022
70232012-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7024
7025 * gdb.server/solib-list-lib.c: New file.
7026 * gdb.server/solib-list-main.c: New file.
7027 * gdb.server/solib-list.exp: New file.
7028
70292012-05-25 Maciej W. Rozycki <macro@codesourcery.com>
7030
7031 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Update
7032 for 'set print symbol' change.
7033
70342012-05-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7035
7036 * gdb.dwarf2/dw2-icc-opaque.S: Add debug_info_seg3 and
7037 .debug_abbrev_seg3.
7038
70392012-05-24 John Steele Scott <toojays@toojays.net>
7040
7041 PR symtab/13277: Resolving opaque structures in ICC generated binaries.
7042 * gdb.dwarf2/dw2-icc-opaque.S: New file.
7043 * gdb.dwarf2/dw2-icc-opaque.exp: New file.
7044
70452012-05-23 Stan Shebs <stan@codesourcery.com>
7046
7047 * gdb.mi/mi-info-os.exp: New file.
7048
70492012-05-23 Keith Seitz <keiths@redhat.com>
7050
7051 * gdb.trace/stap-trace.exp: If compile_stap_bin fails,
7052 return -1 to suppress the rest of the tests.
7053 (compile_stap_bin): Return boolean success value.
7054
70552012-05-21 Tom Tromey <tromey@redhat.com>
7056
7057 * gdb.cp/inherit.exp (test_print_mi_members): Expect errors.
7058 Remove kfails.
7059 (test_print_mi_member_types): Likewise.
7060
70612012-05-21 Tom Tromey <tromey@redhat.com>
7062
7063 * gdb.base/callfuncs.exp (do_function_calls): Update for 'set
7064 print symbol' change.
7065
70662012-05-18 Thiago Jung Bauermann <thiago.bauermann@linaro.org>
7067
7068 * gdb.python/py-prompt.exp: Quit if the target is remote.
7069
70702012-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
7071
7072 Fix ERROR: internal buffer is full.
7073 * gdb.base/info-os.exp (expect_multiline): New function.
7074 (get process list, get process groups, get threads)
7075 (get file descriptors, get internet-domain sockets)
7076 (get shared-memory regions, get semaphores, get message queues): Use
7077 it for these tests.
7078
70792012-05-18 Tom Tromey <tromey@redhat.com>
7080
7081 * gdb.mi/mi-var-cmd.exp: Update.
7082 * gdb.objc/basicclass.exp (do_objc_tests): Update.
7083 * gdb.cp/virtbase.exp: Update.
7084 * gdb.cp/classes.exp (test_static_members): Update.
7085 * gdb.cp/casts.exp: Update.
7086 * gdb.base/pointers.exp: Update.
7087 * gdb.base/funcargs.exp (pointer_args): Update.
7088 (structs_by_reference): Update.
7089 * gdb.base/find.exp: Update.
7090 * gdb.base/call-strs.exp: Send "set print symbol off".
7091 * gdb.base/call-ar-st.exp: Update.
7092 * gdb.ada/fun_addr.exp: Update.
7093 * gdb.base/printcmds.exp (test_print_symbol): New proc.
7094 Call it.
7095 (test_print_repeats_10, test_print_strings)
7096 (test_print_char_arrays): Update.
7097
70982012-05-18 Tom Tromey <tromey@redhat.com>
7099
7100 * gdb.base/charset.exp (string_display): Update.
7101
71022012-05-18 Tom Tromey <tromey@redhat.com>
7103
7104 * gdb.mi/mi2-var-display.exp: Update.
7105 * gdb.mi/mi-var-display.exp: Update.
7106 * gdb.mi/mi-var-child.exp: Update.
7107 * gdb.cp/expand-psymtabs-cxx.exp: Update.
7108 * gdb.cp/cp-relocate.exp (get_func_address): Update.
7109
71102012-05-17 Doug Evans <dje@google.com>
7111
7112 * info-macros.exp: Pass "debug" to prepare_for_testing.
7113
7114 * Makefile.in (clean): Remove Fission .dwo and .dwp files.
7115 * gdb.ada/Makefile.in (clean): Ditto.
7116 * gdb.arch/Makefile.in (clean): Ditto.
7117 * gdb.asm/Makefile.in (clean): Ditto.
7118 * gdb.base/Makefile.in (clean): Ditto.
7119 * gdb.cell/Makefile.in (clean): Ditto.
7120 * gdb.cp/Makefile.in (clean): Ditto.
7121 * gdb.disasm/Makefile.in (clean): Ditto.
7122 * gdb.dwarf2/Makefile.in (clean): Ditto.
7123 * gdb.fortran/Makefile.in (clean): Ditto.
7124 * gdb.go/Makefile.in (clean): Ditto.
7125 * gdb.hp/Makefile.in (clean): Ditto.
7126 * gdb.hp/gdb.aCC/Makefile.in (clean): Ditto.
7127 * gdb.hp/gdb.base-hp/Makefile.in (clean): Ditto.
7128 * gdb.hp/gdb.compat/Makefile.in (clean): Ditto.
7129 * gdb.hp/gdb.defects/Makefile.in (clean): Ditto.
7130 * gdb.hp/gdb.objdbg/Makefile.in (clean): Ditto.
7131 * gdb.java/Makefile.in (clean): Ditto.
7132 * gdb.linespec/Makefile.in (clean): Ditto.
7133 * gdb.mi/Makefile.in (clean): Ditto.
7134 * gdb.modula2/Makefile.in (clean): Ditto.
7135 * gdb.multi/Makefile.in (clean): Ditto.
7136 * gdb.objc/Makefile.in (clean): Ditto.
7137 * gdb.opencl/Makefile.in (clean): Ditto.
7138 * gdb.opt/Makefile.in (clean): Ditto.
7139 * gdb.pascal/Makefile.in (clean): Ditto.
7140 * gdb.python/Makefile.in (clean): Ditto.
7141 * gdb.reverse/Makefile.in (clean): Ditto.
7142 * gdb.server/Makefile.in (clean): Ditto.
7143 * gdb.stabs/Makefile.in (clean): Ditto.
7144 * gdb.threads/Makefile.in (clean): Ditto.
7145 * gdb.trace/Makefile.in (clean): Ditto.
7146 * gdb.xml/Makefile.in (clean): Ditto.
7147
71482012-05-16 Tom Tromey <tromey@redhat.com>
7149
7150 * gdb.base/macscp1.c (macscp_expr): Add comment.
7151 * gdb.base/macscp.exp: Test __FILE__ and __LINE__.
7152
71532012-05-16 Maciej W. Rozycki <macro@codesourcery.com>
7154
7155 * gdb.base/return-nodebug.exp: Also test float and double types.
7156
71572012-05-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7158
7159 PR testsuite/12649
7160 * gdb.base/dprintf.exp: Replace gdb_run_cmd by runto main.
7161
7162 * gdb.base/dprintf.exp: Remove now redundant breakpoint for main.
7163
71642012-05-14 Sergio Durigan Junior <sergiodj@redhat.com>
7165
7166 * gdb.base/stap-probe.exp (stap_test): Remove calls to
7167 `rerun_to_main'.
7168 (stap_test_no_debuginfo): Likewise.
7169
71702012-05-14 Stan Shebs <stan@codesourcery.com>
7171
7172 * gdb.base/dprintf.c: New file.
7173 * gdb.base/dprintf.exp: New file.
7174
71752012-05-14 Hui Zhu <hui_zhu@mentor.com>
7176
7177 * gdb.trace/Makefile.in (PROGS): Add disconnected-tracing.
7178 * gdb.trace/disconnected-tracing.c: New file.
7179 * gdb.trace/disconnected-tracing.exp: New file.
7180
71812012-05-13 Siva Chandra Reddy <sivachandra@google.com>
7182
7183 * gdb.python/python.c: Add a new breakpoint comment.
7184 * gdb.python/python.exp: Add tests to test gdb.find_pc_line.
7185
71862011-12-26 Kwok Cheung Yeung <kcy@codesourcery.com>
7187
7188 * gdb.base/info-os.exp: New file.
7189 * gdb.base/info-os.c: New file.
7190
71912012-05-10 Joel Brobecker <brobecker@adacore.com>
7192
7193 * gdb.base/print-file-var-lib1.c, gdb.base/print-file-var-lib2.c,
7194 gdb.base/print-file-var-main.c, gdb.base/print-file-var.exp:
7195 New files.
7196
71972012-05-10 Joel Brobecker <brobecker@adacore.com>
7198
7199 * gdb.base/ctxobj-f.c, gdb.base/ctxobj-m.c, gdb.base/ctxobj-v.c,
7200 gdb.base/ctxobj.exp: New files.
7201
72022012-05-09 Tom Tromey <tromey@redhat.com>
7203
7204 * gdb.trace/strace.exp: Add 'quiet' to compiler flags.
7205
72062012-05-09 Maciej W. Rozycki <macro@codesourcery.com>
7207
7208 * lib/gdb.exp (gdb_test_multiple): Correct formatting.
7209
72102012-05-08 Maciej W. Rozycki <macro@codesourcery.com>
7211
7212 * gdb.mi/mi-var-display.exp: Check for the existence of $fp
7213 before using it.
7214
72152012-05-04 Tristan Gingold <gingold@adacore.com>
7216
7217 * gdb.base/set-noassign.exp: New test.
7218
72192012-05-03 Siva Chandra Reddy <sivachandra@google.com>
7220
7221 * gdb.python/py-symbol.exp: Add tests to test the new methods
7222 gdb.Symtab.global_block() and gdb.Symtab.static_block().
7223 * gdb.python/py-symbol.c: Add new struct to help test
7224 gdb.Symtab.static_block().
7225
72262012-05-03 Doug Evans <dje@google.com>
7227
7228 * gdb.dwarf2/pr13961.S: Add file and source location, but leave
7229 commented out.
7230
72312012-05-03 Yao Qi <yao@codesourcery.com>
7232
7233 * gdb.base/catch-syscall.exp: Skip it before compilation if target
7234 doesn't support.
7235 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp: Likewise.
7236 * gdb.base/foll-vfork.exp, gdb.multi/bkpt-multi-exec.exp: Likewise.
7237
72382012-05-03 Yao Qi <yao@codesourcery.com>
7239
7240 * gdb.mi/mi-solib.exp: Setup kfail for gdb/13860.
7241
72422012-04-30 Doug Evans <dje@google.com>
7243
7244 PR testsuite/13961
7245 * gdb.dwarf2/pr13961.S: New file.
7246 * gdb.dwarf2/pr13961.exp: New file.
7247
72482012-04-29 Yao Qi <yao@codesourcery.com>
7249
7250 * gdb.dwarf2/dw2-ifort-parameter.exp: Use proc `dwarf2_support'.
7251
72522012-04-28 Doug Evans <dje@google.com>
7253
7254 * gdb.dwarf2/dw2-intercu.S (.Ltype_int2_in_cu2): Renamed from
7255 .Ltype_int_in_cu2. Use name "int2" instead of "int".
7256 All uses updated.
7257 * gdb.dwarf2/dw2-intercu.exp: Add "ptype int2" ahead of
7258 "ptype func_cu1" to expand cu2 before cu1.
7259
72602012-04-27 Sergio Durigan Junior <sergiodj@redhat.com>
7261 Tom Tromey <tromey@redhat.com>
7262
7263 * gdb.base/default.exp: Add `$_probe_arg*' convenience
7264 variables.
7265 * gdb.base/stap-probe.c: New file.
7266 * gdb.base/stap-probe.exp: New file.
7267 * gdb.trace/stap-trace.c: New file.
7268 * gdb.trace/stap-trace.exp: New file.
7269 * gdb.cp/nextoverthrow.exp: Add check for SystemTap probe in
7270 libgcc's unwinder.
7271
72722012-04-26 Maciej W. Rozycki <macro@codesourcery.com>
7273
7274 * gdb.arch/mips16-thunks-inmain.c: New file.
7275 * gdb.arch/mips16-thunks-main.c: New file.
7276 * gdb.arch/mips16-thunks-sin.c: New file.
7277 * gdb.arch/mips16-thunks-sinfrob.c: New file.
7278 * gdb.arch/mips16-thunks-sinfrob16.c: New file.
7279 * gdb.arch/mips16-thunks-sinmain.c: New file.
7280 * gdb.arch/mips16-thunks-sinmips16.c: New file.
7281 * gdb.arch/mips16-thunks.exp: New file.
7282
72832012-04-25 Doug Evans <dje@google.com>
7284
7285 * configure.ac: Create gdb.go/Makefile.
7286 * configure: Regenerate.
7287 * gdb.base/default.exp: Add "go" to "set language" testing.
7288 * gdb.go/Makefile.in: New file.
7289 * gdb.go/basic-types.exp: New file.
7290 * gdb.go/chan.exp: New file.
7291 * gdb.go/chan.go: New file.
7292 * gdb.go/handcall.exp: New file.
7293 * gdb.go/handcall.go: New file.
7294 * gdb.go/hello.exp: New file.
7295 * gdb.go/hello.go: New file.
7296 * gdb.go/integers.exp: New file.
7297 * gdb.go/integers.go: New file.
7298 * gdb.go/methods.exp: New file.
7299 * gdb.go/methods.go: New file.
7300 * gdb.go/package.exp: New file.
7301 * gdb.go/package1.go: New file.
7302 * gdb.go/package2.go: New file.
7303 * gdb.go/print.exp: New file.
7304 * gdb.go/strings.exp: New file.
7305 * gdb.go/strings.go: New file.
7306 * gdb.go/types.exp: New file.
7307 * gdb.go/types.go: New file.
7308 * gdb.go/unsafe.exp: New file.
7309 * gdb.go/unsafe.go: New file.
7310 * lib/future.exp: Add Go support.
7311 (gdb_find_go, gdb_find_go_linker): New procs.
7312 (gdb_default_target_compile): Add Go support.
7313 * lib/gdb.exp (skip_go_tests): New proc.
7314 * lib/go.exp: New file.
7315
73162012-04-25 Tom Tromey <tromey@redhat.com>
7317
7318 * gdb.threads/linux-dp.exp: Unset 'seen' before 'array set'.
7319
73202012-04-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7321 Jan Kratochvil <jan.kratochvil@redhat.com>
7322
7323 PR symtab/7259:
7324 * gdb.base/enumval.c: New test case.
7325 * gdb.base/enumval.exp: New test case.
7326 * gdb.python/py-type.exp (test_enums): Use field.enumval instead of
7327 field.bitpos.
7328
73292012-04-17 Pedro Alves <palves@redhat.com>
7330
7331 * Makefile.in (site.exp): Make site.exp source
7332 $srcdir/lib/append_gdb_boards_dir.exp.
7333 * lib/append_gdb_boards_dir.exp: New file.
7334
73352012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7336
7337 New option "set auto-load safe-path".
7338 * gdb.python/py-objfile-script.exp (set auto-load safe-path): New.
7339 * gdb.python/py-section-script.exp (set auto-load safe-path): New.
7340
73412012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7342
7343 auto-load: Implementation.
7344 * gdb.base/help.exp (test set height): Increase the height.
7345 * gdb.python/py-objfile-script.exp (info auto-load-scripts): Change
7346 to ...
7347 (info auto-load python-scripts): ... here.
7348 * gdb.python/py-section-script.exp (info auto-load-scripts *): Change
7349 to ...
7350 (info auto-load python-scripts *): ... here.
7351
73522012-04-16 Yao Qi <yao@codesourcery.com>
7353
7354 * lib/trace-support.exp (get_in_proc_agent): New.
7355 * gdb.trace/change-loc.exp: Call get_in_proc_agent to get the location
7356 of in process trace agent.
7357 * gdb.trace/ftrace.exp: Likewise.
7358 * gdb.trace/pending.exp: Likewise.
7359 * gdb.trace/trace-break.exp: Likewise.
7360 * gdb.trace/trace-mt.exp
7361 * gdb.trace/tspeed.exp: Likewise.
7362 * gdb.trace/tstatus.exp
7363 * gdb.trace/strace.exp: Likewise.
7364
73652012-04-16 Thomas Schwinge <thomas@codesourcery.com>
7366
7367 * gdb.asm/sh.inc (gdbasm_startup): Only set up the stack pointer if the
7368 symbol _stack is defined. Get rid of a hard-coded constant for _stack.
7369
7370 * gdb.asm/sh.inc (gdbasm_end) <.size>: Refer to the function's name.
7371
73722012-04-14 Anton Gorenkov <xgsa@yandex.ru>
7373
7374 PR mi/13393
7375 * gdb.mi/mi-var-rtti.cc: New file.
7376 * gdb.mi/mi-var-rtti.exp: New file.
7377 * lib/mi-support.exp (mi_varobj_update_with_child_type_change): New
7378 function.
7379 (mi_varobj_update_with_type_change): updated to avoid code duplication.
7380
73812012-04-11 Siva Chandra Reddy <sivachandra@google.com>
7382
7383 * gdb.python/Makefile.in: Add py-explore and py-explore-cc to
7384 EXECUTABLES.
7385 * gdb.python/py-explore.c: C program used for testing the new
7386 'explore' command on C constructs.
7387 * gdb.python/py-explore.cc: C++ program used for testing the new
7388 'explore' command on C++ constructs.
7389 * gdb-python/py-explore.exp: Tests for the new 'explore'
7390 command on C constructs.
7391 * gdb-python/py-explore-cc.exp: Tests for the new 'explore'
7392 command on C++ constructs.
7393
73942012-04-07 Mark Kettenis <kettenis@gnu.org>
7395
7396 * gdb.base/funcargs.exp (complex_args): Fix typo.
7397
73982012-04-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7399
7400 * gdb.trace/change-loc.exp (tracepoint_change_loc_1)
7401 (tracepoint_change_loc_2): Accept both orders of pending set_tracepoint.
7402
74032012-04-05 Keith Seitz <keiths@redhat.com>
7404
7405 * gdb.base/advance.exp: Update error message for
7406 "advance malformed" test.
7407 * gdb.base/break.exp: Likewise for "breakpoint with
7408 trailing garbage" test.
7409 * gdb.base/hbreak2.exp: Likewise for "hardware breakpoint
7410 with trailing garbage" test.
7411 * gdb.base/sepdebug.exp: Likewise for "breakpoint with
7412 trailng garbage" test.
7413 * gdb.base/until.exp: Likewise for "malformed until" test.
7414 * gdb.cp/ovldbreak.exp: Create the breakpoint table
7415 for "breakpoint info (after setting on all)".
7416 * gdb.cp/userdef.exp: Remove quoting for "break A2::operator+"
7417 tests.
7418 * gdb.cp/cplabel.cc: New file.
7419 * gdb.cp/cplabel.exp: New test.
7420 * gdb.linespec/ls-errs.c: New file.
7421 * gdb.linespec/ls-errs.exp: New test.
7422
74232012-04-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7424
7425 * gdb.trace/unavailable.exp
7426 (collect globals: print object on: print derived_partial)
7427 (collect globals: print object on: print derived_whole)
7428 (collect globals: print object off: print derived_partial)
7429 (collect globals: print object off: print derived_whole): Update
7430 expected output.
7431
74322012-03-30 Keith Seitz <keiths@redhat.com>
7433
7434 * gdb.python: Add test for linespecs with commas.
7435
74362012-03-28 Keith Seitz <keiths@redhat.com>
7437
7438 * gdb.linespec/ls-dollar.cc: New file.
7439 * gdb.linespec/ls-dollar.exp: New test.
7440
74412012-03-28 Keith Seitz <keiths@redhat.com>
7442
7443 * gdb.cp/namespace.exp: Add breakpoint tests for functions
7444 starting with the global namespace.
7445
74462012-03-23 Doug Evans <dje@google.com>
7447
7448 * lib/gdb.exp (BUILD_DATA_DIRECTORY): New global.
7449
74502012-03-22 Siva Chandra Reddy <sivachandra@google.com>
7451
7452 * gdb.python/py-value.cc: Add test case for testing the
7453 methodology exposing C++ values to Python.
7454 * gdb.python/py-value-cc.exp: Add tests testing the methodology
7455 exposing C++ values to Python.
7456 * gdb.python/Makefile.in: Add py-value-cc to EXECUTABLES.
7457
74582012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7459 Siddhesh Poyarekar <siddhesh@redhat.com>
7460
7461 * gdb.base/auxv.c (func2): setrlimit to infinity to enable core dumps.
7462 * gdb.base/auxv.exp: Try to compile it with -DUSE_RLIMIT first.
7463 (generate native core dump): Make the test unsupported if core cannot
7464 be generated.
7465
74662012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7467
7468 * gdb.gdb/selftest.exp (do_steps_and_nexts): New entry
7469 for cmdarg_vec = NULL. Remove entries for cmdsize = 1, cmdarg = and
7470 ncmd = 0. New entry for VEC_cleanup cmdarg_s.
7471
74722012-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7473
7474 * gdb.base/cond-eval-mode.exp: Fix the anticipated warning string.
7475
74762012-03-17 Doug Evans <dje@google.com>
7477
7478 * dg-extract-results.sh: Handle KFAILs.
7479
74802012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7481
7482 PR symtab/13777
7483 * gdb.dwarf2/dw2-skip-prologue.S (DW_AT_producer): Set it to 4.5.0.
7484
74852012-03-16 Joel Brobecker <brobecker@adacore.com>
7486
7487 * gdb.ada/set_pckd_arr_elt: New testcase.
7488
74892012-03-16 Gary Benson <gbenson@redhat.com>
7490
7491 PR breakpoints/10738
7492 * gdb.opt/inline-break.exp: New file.
7493 * gdb.opt/inline-break.c: Likewise.
7494 * gdb.dwarf2/dw2-inline-break.exp: Likewise.
7495 * gdb.dwarf2/dw2-inline-break.S: Likewise.
7496 * gdb.base/annota1.exp: Cope with old .gdb_index warnings.
7497 * gdb.base/async-shell.exp: Likewise.
7498 * lib/mi-support.exp (library_loaded_re): Likewise.
7499
75002012-03-15 Tom Tromey <tromey@redhat.com>
7501
7502 * gdb.cp/virtfunc2.exp: Update expected output.
7503 * gdb.cp/pr9631.exp: Update expected output.
7504 * gdb.cp/member-ptr.exp: Update expected output.
7505 * gdb.cp/inherit.exp (test_print_mvi_classes): Update expected
7506 output.
7507 * gdb.cp/casts.exp: Update expected output.
7508
75092012-03-15 Tom Tromey <tromey@redhat.com>
7510
7511 * gdb.cp/virtfunc.exp (make_one_vtable_result): New proc.
7512 (test_info_vtbl): Likewise.
7513 (do_tests): Call test_info_vtbl.
7514 * gdb.cp/virtfunc.cc (va): New global.
7515
75162012-03-15 Thomas Schwinge <thomas@codesourcery.com>
7517
7518 * gdb.dwarf2/dw2-ada-ffffffff.S: Use .4byte instead of .long for
7519 describing DWARF data structures.
7520 * gdb.dwarf2/dw2-bad-parameter-type.S: Likewise.
7521 * gdb.dwarf2/dw2-double-set-die-type.S: Likewise.
7522 * gdb.dwarf2/dw2-empty-pc-range.S: Likewise.
7523 * gdb.dwarf2/dw2-entry-value.S: Likewise.
7524 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
7525 * gdb.dwarf2/dw2-param-error.S: Likewise.
7526 * gdb.dwarf2/dw2-skip-prologue.S: Likewise.
7527 * gdb.dwarf2/dw2-stack-boundary.S: Likewise.
7528 * gdb.dwarf2/dw4-sig-type-unused.S: Likewise.
7529 * gdb.dwarf2/implptr-optimized-out.S: Likewise.
7530 * gdb.dwarf2/member-ptr-forwardref.S: Likewise.
7531 * gdb.dwarf2/pr11465.S: Likewise.
7532
75332012-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7534
7535 * gdb.mi/mi2-prompt.exp: New file.
7536
75372012-03-13 Joel Brobecker <brobecker@adacore.com>
7538
7539 * gdb.base/enum_cond.c, gdb.base/enum_cond.exp: New testcase.
7540
75412012-03-13 Joel Brobecker <brobecker@adacore.com>
7542
7543 * gdb.ada/bp_range_type: New testcase.
7544
75452012-03-13 Doug Evans <dje@google.com>
7546
7547 * gdb.base/default.exp: Delete tests for symbol-reloading.
7548 * gdb.base/help.exp: Ditto.
7549 * gdb.base/setshow.exp: Ditto.
7550 * gdb.base/gdb_history: Delete references to symbol-reloading.
7551
75522012-03-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7553
7554 * gdb.base/attach-twice.c: New files.
7555 * gdb.base/attach-twice.exp: New files.
7556
75572012-03-08 Keith Seitz <keiths@redhat.com>
7558
7559 * lib/gdb.exp (gdb_get_line_number): Throw an
7560 error instead of returning -1.
7561 * gdb.base/break.exp: Remove unused variable
7562 bp_location5.
7563 * gdb.base/hbreak2.exp: Likewise.
7564 * gdb.base/sepdebug.exp: Likewise.
7565
75662012-03-08 Yao Qi <yao@codesourcery.com>
7567 Pedro Alves <palves@redhat.com>
7568
7569 Fix PR server/13392.
7570 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Remove kfail.
7571 (tracepoint_change_loc_2): Remove kfail. Return if failed to
7572 download tracepoints.
7573 * gdb.trace/pending.exp (pending_tracepoint_works): Likewise.
7574 (pending_tracepoint_resolved_during_trace): Likewise.
7575 (pending_tracepoint_installed_during_trace): Likewise.
7576 (pending_tracepoint_with_action_resolved): Likewise.
7577
75782012-03-08 Keith Seitz <keiths@redhat.com>
7579
7580 * gdb.ada/array_bounds.exp: Get breakpoint for line
7581 with "START", not "STOP".
7582 * gdb.python/py-infthread.exp: Do not continue to
7583 line marked "Break here.", which is undefined.
7584
75852012-03-08 Luis Machado <lgustavo@codesourcery.com>
7586
7587 Revert:
7588
7589 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7590
7591 Implement testsuite workaround for PR breakpoints/13781.
7592 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
7593 (set breakpoint condition-evaluation host): New conditional command.
7594
75952012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7596
7597 Fix CU relative vs. absolute DIE offsets.
7598 * gdb.dwarf2/dw2-op-call.S: New compilation unit preceding the existing
7599 one.
7600
76012012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7602
7603 Fix false FAIL on distros with relro linkage as default.
7604 * gdb.reverse/solib-precsave.exp: Try to compile the test using
7605 -Wl,-z,norelro first.
7606
76072012-03-06 Joel Brobecker <brobecker@adacore.com>
7608
7609 * gdb.ada/bp_on_var: New testcase.
7610
76112012-03-06 Joel Brobecker <brobecker@adacore.com>
7612
7613 * gdb.ada/bp_enum_homonym: New testcase.
7614
76152012-03-06 Yao Qi <yao@codesourcery.com>
7616
7617 * gdb.trace/ftrace.exp (test_fast_tracepoints): Run test on target
7618 x86_64-*-* and i?86-*-*.
7619 Set up KFAIL for gdb/13808.
7620
76212012-03-05 Tom Tromey <tromey@redhat.com>
7622
7623 * gdb.ada/operator_bp.exp: Clear debug-file-directory.
7624 * gdb.ada/mi_task_arg.exp: Clear debug-file-directory.
7625
76262012-03-05 Tom Tromey <tromey@redhat.com>
7627
7628 * gdb.java/jprint.java (jprint.main): Keep 'x' live.
7629
76302012-03-04 Yao Qi <yao@codesourcery.com>
7631
7632 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall): Catch error
7633 messages for KFAIL.
7634
76352012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7636
7637 * gdb.ada/arrayidx.exp: Call get_compiler_info. New variable old_gcc.
7638 (print one_two_three, indexes off, print few_reps, indexes off)
7639 (print many_reps, indexes off, print empty, indexes off)
7640 (print one_two_three, print few_reps, print many_reps, print empty):
7641 Call setup_xfail if $gcc_old.
7642
76432012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7644
7645 Implement testsuite workaround for PR breakpoints/13781.
7646 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
7647 (set breakpoint condition-evaluation host): New conditional command.
7648
76492012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7650
7651 Code cleanup.
7652 * gdb.cp/mb-templates.exp: New variables executable. Use it for
7653 binfile. use clean_restart. Replace gdb_expect by gdb_test_multiple.
7654 Replace GDB restart by kill and delete_breakpoints. Replace breakpoint
7655 number 1 by $bpnum. Four times.
7656
76572012-03-03 Yao Qi <yao@codesourcery.com>
7658
7659 * gdb.trace/strace.exp: run strace_info_marker in linux native gdb.
7660
76612012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7662
7663 Setup KFAIL for PR server/13796.
7664 * gdb.base/disp-step-syscall.exp (single step over vfork): Setup KFAIL.
7665
76662012-03-02 Joel Brobecker <brobecker@adacore.com>
7667
7668 * gdb.ada/operator_bp: New testcase.
7669
76702012-03-02 Joel Brobecker <brobecker@adacore.com>
7671
7672 * gdb.ada/info_locals_renaming: New testcase.
7673
76742012-03-02 Tom Tromey <tromey@redhat.com>
7675
7676 * gdb.base/nextoverexit.c: New file.
7677 * gdb.base/nextoverexit.exp: New file.
7678
76792012-03-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
7680
7681 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Remove obsolete
7682 parameter.
7683
76842012-03-01 Maciej W. Rozycki <macro@mips.com>
7685
7686 * gdb.xml/tdesc-regs.exp: Add "mips-dsp.xml" to the list of MIPS
7687 core registers.
7688
76892012-03-01 Maciej W. Rozycki <macro@mips.com>
7690 Maciej W. Rozycki <macro@codesourcery.com>
7691 Daniel Jacobowitz <dan@codesourcery.com>
7692
7693 * gdb.base/hbreak2.exp: New test for "hbreak" and "thbreak".
7694
76952012-03-01 Pedro Alves <palves@redhat.com>
7696
7697 PR gdb/13767
7698
7699 * gdb.trace/unavailable.exp (gdb_unavailable_floats): New.
7700 (gdb_collect_globals_test): Call it.
7701
77022012-03-01 Keith Seitz <keiths@redhat.com>
7703
7704 * gdb.cp/method2.exp: Output of overload menu is now
7705 alphabetized. Update tests for "break A::method".
7706 * gdb.cp/ovldbreak.exp: Use gdb_get_line_number instead
7707 of hard-coding them.
7708 Overload menu is alphabetized: rewrite to accommodate.
7709 Unset variables LINE and TYPES which are used in other tests.
7710 Compute the output of "info break".
7711 Update the breakpoint table after all breakpoints are deleted.
7712 (continue_to_bp_overloaded): Rename ACTUALS to ARGUMENT and
7713 compute ACTUALS and the method body based on parameters.
7714 Update expected output accordingly.
7715 * gdb.cp/ovldbreak.cc (foo::overload1arg): Reformat and add
7716 unique comments to allow the use of gdb_get_line_number.
7717
77182012-03-01 Keith Seitz <keiths@redhat.com>
7719
7720 * gdb.cp/method2.exp: Use prepare_for_testing and cleanup
7721 some Tcl syntax.
7722 * gdb.cp/ovldbreak.exp: Likewise.
7723
77242012-03-01 Keith Seitz <keiths@redhat.com>
7725
7726 * gdb.base/help.exp (help show user): Update expected result
7727 for new doc string changes (add "non-python").
7728
77292012-03-01 Scott J. Goldman <scottjg@vmware.com>
7730
7731 * gdb.python/py-cmd.exp: Add test to verify that python commands can
7732 be put in the user-defined category and that the commands appear in
7733 "help user-defined".
7734
77352012-02-29 Joel Brobecker <brobecker@adacore.com>
7736
7737 * gdb.ada/tagged_not_init: New testcase.
7738
77392012-02-29 Joel Brobecker <brobecker@adacore.com>
7740
7741 * gdb.ada/arrayidx.exp: Adjust expected output for p_one_two_three.
7742 * gdb.ada/enum_idx_packed: New testcase.
7743
77442012-02-29 Joel Brobecker <brobecker@adacore.com>
7745
7746 * gdb.ada/aliased_array: New testcase.
7747
77482012-02-29 Joel Brobecker <brobecker@adacore.com>
7749
7750 * gdb.ada/whatis_array_val: New testcase.
7751
77522012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7753
7754 Fix disp-step-syscall.exp: fork: single step over fork.
7755 * gdb.base/disp-step-syscall.exp (syscall_insn): Anchor it by
7756 whitespaces.
7757 (single step over $syscall): Remove its check.
7758 (single step over $syscall final pc): New check.
7759
77602012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7761
7762 Support processors without SSSE3.
7763 * gdb.reverse/i386-sse-reverse.c (sse_test): Move pabsb, pabsw and
7764 pabsd into ...
7765 (ssse3_test): ... a new function.
7766 (main): Call ssse3_test.
7767 * gdb.reverse/i386-sse-reverse.exp: New variable end_ssse3_test.
7768 Update expected values everywhere.
7769 (reverse-step to pabsd, verify xmm0 after reverse pabsd)
7770 (verify xmm1 after reverse pabsd, verify xmm2 after reverse pabsd)
7771 (reverse-step to pabsw, verify xmm0 after reverse pabsw)
7772 (verify xmm1 after reverse pabsw, verify xmm2 after reverse pabsw)
7773 (reverse-step to pabsb, verify xmm0 after reverse pabsb)
7774 (verify xmm1 after reverse pabsb, verify xmm2 after reverse pabsb):
7775 Move these tests lower.
7776 (set breakpoint at end of ssse3_test, continue to end of ssse3_test)
7777 (verify xmm0 at end of ssse3_test, verify xmm1 at end of ssse3_test)
7778 (verify xmm2 at end of ssse3_test, continue to end of ssse3_test #2):
7779 New tests.
7780
77812012-02-29 Yao Qi <yao@codesourcery.com>
7782 Pedro Alves <palves@redhat.com>
7783
7784 * gdb.trace/trace-mt.c: New.
7785 * gdb.trace/trace-mt.exp: New.
7786
77872012-02-28 Thomas Schwinge <thomas@codesourcery.com>
7788
7789 * gdb.base/annota1.exp: Use gdb_get_line_number for retrieving line
7790 numbers instead of hardcoding them.
7791 * gdb.base/annota1.c: Provide suitable markers.
7792 * gdb.base/annota3.exp: Use gdb_get_line_number for retrieving line
7793 numbers instead of hardcoding them.
7794 * gdb.base/annota3.c: Provide suitable markers.
7795
7796 * gdb.base/annota1.c [__sh__]: Remove any special-casing.
7797 * gdb.base/annota3.c: Likewise.
7798 * gdb.base/sigall.c: Likewise.
7799 * gdb.base/signals.c: Likewise.
7800 * gdb.reverse/sigall-reverse.c: Likewise.
7801
78022012-02-27 Maciej W. Rozycki <macro@codesourcery.com>
7803
7804 * gdb.cp/breakpoint.exp (test_breakpoint): Fix the runto_main
7805 failure return path.
7806
78072012-02-27 Luis Machado <lgustavo@codesourcery.com>
7808
7809 * gdb.base/save-bp.exp: Account for new condition evaluator output.
7810
78112012-02-24 Luis Machado <lgustavo@codesourcery.com>
7812
7813 * gdb.base/cond-eval-mode.exp: New file.
7814
78152012-02-24 Pedro Alves <palves@redhat.com>
7816
7817 * gdb.base/break-interp.exp (test_ld): Use with_test_prefix.
7818 (top level): Use with_test_prefix.
7819
78202012-02-24 Pedro Alves <palves@redhat.com>
7821
7822 * gdb.threads/attach-into-signal.exp (corefunc): Use
7823 with_test_prefix.
7824
78252012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7826
7827 Fix false FAILs on old CPUs without SSE.
7828 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test):
7829 Return untested for Illegal instruction.
7830
78312012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7832
7833 Fix false FAILs with glibc debug infos installed.
7834 * gdb.reverse/solib-precsave.exp (set debug-file-directory): New test.
7835 * gdb.reverse/solib-reverse.exp (set debug-file-directory): New test.
7836
78372012-02-22 Sterling Augustine <saugustine@google.com>
7838
7839 * gdb.base/watchpoint.exp (test_constant_watchpoint): Add test for
7840 constant with cast.
7841
78422012-02-21 Pedro Alves <palves@redhat.com>
7843
7844 * gdb.threads/watchpoint-fork.exp (test): Use with_test_prefix.
7845
78462012-02-21 Pedro Alves <palves@redhat.com>
7847
7848 * gdb.base/return-nodebug.exp (do_test): Use with_test_prefix.
7849
78502012-02-21 Pedro Alves <palves@redhat.com>
7851
7852 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Use
7853 with_test_prefix.
7854
78552012-02-21 Pedro Alves <palves@redhat.com>
7856
7857 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Don't do
7858 with_test_prefix here.
7859 (top level): Do it here instead. Remove `:' from the
7860 with_test_prefix string.
7861 * gdb.base/attach-pie-misread.exp: Remove the leading space the
7862 the suffix `:' from the with_test_prefix prefix string.
7863 * gdb.base/break-interp.exp: Ditto.
7864 * gdb.base/catch-load.exp: Ditto.
7865 * gdb.base/disp-step-syscall.exp: Ditto.
7866 * gdb.base/jit-so.exp: Ditto.
7867 * gdb.base/jit.exp: Ditto.
7868 * gdb.base/sepdebug.exp: Ditto.
7869 * gdb.base/solib-display.exp: Ditto.
7870 * gdb.base/solib-overlap.exp: Ditto.
7871 * gdb.base/watch-cond-infcall.exp: Ditto.
7872 * gdb.base/watchpoint.exp: Ditto.
7873 * gdb.dwarf2/dw2-noloc.exp: Ditto.
7874 * gdb.mi/mi-watch.exp: Ditto.
7875 * gdb.mi/mi2-watch.exp: Ditto.
7876 * gdb.threads/non-ldr-exc-1.exp: Ditto.
7877 * gdb.threads/non-ldr-exc-2.exp: Ditto.
7878 * gdb.threads/non-ldr-exc-3.exp: Ditto.
7879 * gdb.threads/non-ldr-exc-4.exp: Ditto.
7880 * gdb.threads/watchpoint-fork.exp: Ditto.
7881 * gdb.threads/watchthreads-reorder.exp: Ditto.
7882 * gdb.trace/change-loc.exp: Ditto.
7883 * gdb.trace/pending.exp: Ditto.
7884 * gdb.trace/status-stop.exp: Ditto.
7885 * gdb.trace/strace.exp: Ditto.
7886 * gdb.trace/trace-break.exp: Ditto.
7887 * gdb.trace/unavailable.exp: Ditto.
7888 * lib/gdb.exp (with_test_prefix): Always prefix with space and
7889 suffix with colon. Adjust leading comments.
7890
78912012-02-21 Pedro Alves <palves@redhat.com>
7892 Tom Tromey <tromey@redhat.com>
7893
7894 * lib/gdb.exp: Add description of test prefixes.
7895 (with_test_prefix): New procedure.
7896 * gdb.arch/altivec-abi.exp: Use with_test_prefix.
7897 * gdb.base/attach-pie-misread.exp: Use with_test_prefix.
7898 * gdb.base/break-interp.exp: Use with_test_prefix. Use append
7899 instead of lappend to append to pf_prefix.
7900 * gdb.base/catch-load.exp: Use with_test_prefix.
7901 * gdb.base/disp-step-syscall.exp: Use with_test_prefix.
7902 * gdb.base/jit-so.exp: Use with_test_prefix.
7903 * gdb.base/jit.exp: Use with_test_prefix.
7904 * gdb.base/return-nodebug.exp (do_test): Use append instead of
7905 lappend to append to pf_prefix.
7906 * gdb.base/sepdebug.exp: Use with_test_prefix.
7907 * gdb.base/solib-display.exp: Use with_test_prefix.
7908 * gdb.base/solib-overlap.exp: Use with_test_prefix.
7909 * gdb.base/watch-cond-infcall.exp: Use with_test_prefix.
7910 * gdb.base/watchpoint.exp: Use with_test_prefix.
7911 * gdb.dwarf2/dw2-noloc.exp: Use with_test_prefix.
7912 * gdb.mi/mi-watch.exp: Use with_test_prefix.
7913 * gdb.mi/mi2-watch.exp: Use with_test_prefix.
7914 * gdb.threads/non-ldr-exc-1.exp: Use with_test_prefix.
7915 * gdb.threads/non-ldr-exc-2.exp: Use with_test_prefix.
7916 * gdb.threads/non-ldr-exc-3.exp: Use with_test_prefix.
7917 * gdb.threads/non-ldr-exc-4.exp: Use with_test_prefix.
7918 * gdb.threads/watchpoint-fork.exp: Use with_test_prefix. Use
7919 append instead of lappend to append to pf_prefix.
7920 * gdb.threads/watchthreads-reorder.exp: Use with_test_prefix.
7921 * gdb.trace/change-loc.exp: Use with_test_prefix.
7922 * gdb.trace/pending.exp: Use with_test_prefix.
7923 * gdb.trace/status-stop.exp: Use with_test_prefix.
7924 * gdb.trace/strace.exp: Use with_test_prefix.
7925 * gdb.trace/trace-break.exp: Use with_test_prefix.
7926 * gdb.trace/unavailable.exp: Use with_test_prefix. Use append
7927 instead of lappend to append to pf_prefix.
7928
79292012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7930
7931 Fix racy FAILs.
7932 * gdb.base/inferior-died.c (main): Add return of 0.
7933 * gdb.base/inferior-died.exp (continue): Fix expectation of
7934 asynchronous events.
7935 (p 1): New test.
7936
79372012-02-20 Pedro Alves <palves@redhat.com>
7938
7939 * gdb.threads/attach-into-signal.exp (corefunc): Don't enable
7940 lin-lwp output. Set SIGALRM to stop. Adjust tests to not rely on
7941 gdb's internal debug output. For the non-threaded case, look for
7942 "Program received signal SIGLARM", for the threaded case, peek at
7943 the thread's siginfo.
7944
79452012-02-20 Pedro Alves <palves@redhat.com>
7946
7947 General cleanup, make output test messages unique, and build
7948 different executable files for the non-threaded and threaded
7949 cases.
7950
7951 * gdb.threads/attach-into-signal.exp (binfile, escapedbinfile):
7952 Delete.
7953 (executable_nothr, executable_thr): New globals.
7954 (top level): Adjust to delete both executables.
7955 (corefunc): New parameter $executable. Set $pf_prefix instead of
7956 hand writing a prefix in tests. Issue a clean_restart and enable
7957 lin-lwp debug output here.
7958 (top level): Adjust. Use build_executable. Don't start gdb here,
7959 and don't enable lin-lwp debug output here.
7960 * gdb.threads/Makefile.in (EXECUTABLES): Adjust.
7961
79622012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7963
7964 Fix racy FAILs.
7965 * gdb.base/catch-load.exp (one_catch_load_test): Remove duplicate
7966 "continue" command.
7967
79682012-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7969
7970 Fix for gdbserver non-extended mode.
7971 * gdb.base/break-inline.exp (start): Replace "start" by gdb_breakpoint
7972 and gdb_run_cmd.
7973
79742012-02-17 Tom Tromey <tromey@redhat.com>
7975
7976 * gdb.python/py-events.py (exit_handler): Add test for 'dir'.
7977 * gdb.python/py-events.exp: Check 'dir' output.
7978 * gdb.python/py-type.exp (test_fields): Add test for 'dir'.
7979
79802012-02-17 Yao Qi <yao@codesourcery.com>
7981
7982 * gdb.trace/strace.exp (strace_info_marker): Test `info threads'.
7983
79842012-02-16 Tom Tromey <tromey@redhat.com>
7985
7986 * gdb.base/inferior-died.c: Don't include stdio.h.
7987
79882012-02-16 Tom Tromey <tromey@redhat.com>
7989
7990 * gdb.base/inferior-died.c: New file.
7991 * gdb.base/inferior-died.exp: New file.
7992
79932012-02-15 Aleksandar Ristovski <aristovski@qnx.com>
7994
7995 * gdb.base/break-inline.exp: New file.
7996 * gdb.base/break-inline.c: New file.
7997
79982012-02-15 Tom Tromey <tromey@redhat.com>
7999
8000 * gdb.base/pc-fp.exp: Add "info register" tests.
8001
80022012-02-15 Tom Tromey <tromey@redhat.com>
8003
8004 * gdb.base/regs.exp: Remove.
8005
80062012-02-15 Pedro Alves <palves@redhat.com>
8007
8008 * gdb.trace/backtrace.exp: Issue UNSUPPORTED instead of PASS when
8009 the target doesn't support tracepoints.
8010 * gdb.trace/circ.exp: Ditto.
8011 * gdb.trace/collection.exp: Ditto.
8012 * gdb.trace/packetlen.exp: Ditto.
8013 * gdb.trace/passc-dyn.exp: Ditto.
8014 * gdb.trace/report.exp: Ditto.
8015 * gdb.trace/tfind.exp: Ditto.
8016 * gdb.trace/tspeed.exp: Ditto.
8017 * gdb.trace/tsv.exp: Ditto.
8018 * gdb.trace/unavailable.exp: Ditto.
8019 * gdb.trace/while-dyn.exp: Ditto.
8020
80212012-02-15 Pedro Alves <palves@redhat.com>
8022
8023 * gdb.trace/circ.exp (trace_buffer_normal): Rewrite using
8024 gdb_test_multiple, and call unsupported instead of fail, if the
8025 remote side does not support the request.
8026
80272012-02-15 Pedro Alves <palves@redhat.com>
8028
8029 * gdb.server/ext-attach.exp: Make sure gdb is disconnected.
8030 * gdb.server/ext-run.exp: Make sure gdb is disconnected.
8031 * gdb.server/file-transfer.exp: Make sure gdb is disconnected.
8032 * gdb.server/server-mon.exp: Make sure gdb is disconnected.
8033 * gdb.server/server-run.exp: Make sure gdb is disconnected.
8034 * lib/gdbserver-support.exp (gdbserver_start_extended): Only
8035 prepend "extended-" to $gdbserver_protocol if $gdbserver_protocol
8036 doesn't start with "extended-" already.
8037
80382012-02-15 Pedro Alves <palves@redhat.com>
8039
8040 Support extended-remote. Avoid cascading timeouts.
8041
8042 * gdb.base/attach.exp (do_attach_tests): Add expected output for
8043 the extended-remote target. If attaching with no file fails, load
8044 the file manually.
8045 * gdb.server/ext-attach.exp: Adjust expected attach/detach output.
8046
80472012-02-14 Stan Shebs <stan@codesourcery.com>
8048
8049 * gdb.base/ena-dis-br.exp: Add enable count test.
8050
80512012-02-13 Pedro Alves <palves@redhat.com>
8052
8053 * config/mips-idt.exp: Delete.
8054 * gdb.base/a2-run.exp: Remove mips-idt xfails.
8055 * gdb.base/bitfields.exp: Remove mips-idt restarts.
8056 * gdb.base/break.exp: Remove mips-idt references.
8057 * gdb.base/chng-syms.exp: Ditto.
8058 * gdb.base/default.exp: Ditto.
8059 * gdb.base/funcargs.exp (funcargs_reload): Delete.
8060 (top level): Don't call it.
8061 * gdb.base/opaque.exp: Remove mips-idt restarts.
8062 * gdb.base/ptype.exp: Remove mips-idt xfails.
8063 * gdb.base/scope.exp: Remove mips-idt restarts.
8064 * gdb.base/sepdebug.exp: Remove mips-idt references.
8065 * gdb.base/watchpoint.exp (maybe_clean_restart)
8066 (maybe_reinitialize): Delete.
8067 (test_disabling_watchpoints, test_disabling_watchpoints)
8068 (test_watchpoint_triggered_in_syscall)
8069 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
8070 Don't call them.
8071
80722012-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8073
8074 * gdb.server/server-exec-info.exp: New file.
8075
80762012-02-10 Pedro Alves <palves@redhat.com>
8077
8078 * gdb.base/break-interp.exp (test_attach_gdb): Assume $file is
8079 always non-empty.
8080 (test_attach): Always pass $exec to test_attach_gdb.
8081
80822012-02-08 Tom Tromey <tromey@redhat.com>
8083
8084 * gdb.python/py-symbol.exp: Use lookup_global_symbol for tests
8085 before inferior is started.
8086
80872012-02-07 Tom Tromey <tromey@redhat.com>
8088
8089 * gdb.python/py-symbol.exp: Test Symbol.needs_frame and
8090 Symbol.value.
8091 * gdb.python/py-symbol.c (qq): Set default value.
8092
80932012-02-07 Tom Tromey <tromey@redhat.com>
8094
8095 * gdb.python/py-symbol.c (qq): New global.
8096 * gdb.python/py-symbol.exp: Add test for frame-less
8097 lookup_symbol.
8098 * gdb.python/py-symtab.exp: Fix line number.
8099
81002012-02-03 Joel Brobecker <brobecker@adacore.com>
8101
8102 * gdb.ada/mi_task_arg: New testcase.
8103
81042012-02-02 Pedro Alves <palves@redhat.com>
8105
8106 * gdb.reverse/until-precsave.exp: Also put "record save" under the
8107 extended timeout.
8108
81092012-02-02 Pedro Alves <palves@redhat.com>
8110
8111 * gdb.gdb/complaints.exp: Skip if gdb,noinferiorio is set.
8112 * gdb.gdb/selftest.exp (test_with_self): Handle gdb,noinferiorio.
8113
81142012-02-02 Pedro Alves <palves@redhat.com>
8115
8116 * gdb.base/term.exp: Rewrite.
8117 * gdb.base/term.c: New.
8118
81192012-02-02 Pedro Alves <palves@redhat.com>
8120
8121 * gdb.base/default.exp (run "r" abbreviation, run): Add
8122 extended-remote expected output.
8123
81242012-02-02 Tom Tromey <tromey@redhat.com>
8125
8126 * gdb.cp/dispcxx.exp: New file.
8127 * gdb.cp/dispcxx.cc: New file.
8128
81292012-02-01 Tom Tromey <tromey@redhat.com>
8130
8131 * gdb.base/jit-simple.exp: New file.
8132 * gdb.base/jit-simple.c: New file.
8133
81342012-01-30 Yao Qi <yao@codesourcery.com>
8135
8136 * gdb.base/skip.exp: Make test result unique.
8137
81382012-01-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8139
8140 * gdb.base/valgrind-db-attach.exp (attach to debugger): Fix
8141 compatibility with valgrind-3.7.0.
8142
81432012-01-27 Pedro Alves <palves@redhat.com>
8144
8145 * gdb.base/watchpoint.exp (no_hw): New global.
8146 (maybe_clean_restart, maybe_reinitialize): If no_hw is set,
8147 disable hw watchpoints.
8148 (test_wide_location_1, test_wide_location_2): If no_hw is set,
8149 don't expect hw watchpoints.
8150 (no_hw_watchpoints): Always clean restart.
8151 (do_tests): New procedure, factored out from the top level.
8152 (top level): Run tests twice. Once with hw watchpoints enabled,
8153 another time with hw watchpoints disabled.
8154
81552012-01-27 Pedro Alves <palves@redhat.com>
8156
8157 * gdb.base/watchpoint.exp (test_no_hw_watchpoints): New, factored
8158 out from the top level.
8159 (top level): Call it instead.
8160
81612012-01-27 Pedro Alves <palves@redhat.com>
8162
8163 * gdb.base/watchpoint.exp (top level): Re-enable hardware
8164 watchpoints sooner.
8165
81662012-01-27 Pedro Alves <palves@redhat.com>
8167
8168 * gdb.base/watchpoint.exp (top level): Delete watch ival3.
8169
81702012-01-27 Pedro Alves <palves@redhat.com>
8171
8172 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): Expect
8173 "You may have requested too many hardware
8174 breakpoints/watchpoints".
8175
81762012-01-27 Pedro Alves <palves@redhat.com>
8177
8178 * gdb.base/watchpoint.exp (maybe_clean_restart)
8179 (maybe_reinitialize): New.
8180 (test_disabling_watchpoints): Call maybe_reinitialize. Don't
8181 expect "hit N times".
8182 (test_disabling_watchpoints, test_complex_watchpoint)
8183 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
8184 Call maybe_clean_restart.
8185 (top level): Use clean_restart. Remove "mips-idt-*"
8186 reinitialization.
8187
81882012-01-27 Pedro Alves <palves@redhat.com>
8189
8190 * gdb.base/watchpoint.exp: Always run test_complex_watchpoint.
8191
81922012-01-27 Pedro Alves <palves@redhat.com>
8193
8194 * gdb.base/watchpoint.exp: Clean restart after tests that don't
8195 require `initialize' anymore. Remove unnecessary `initialize'
8196 calls.
8197
81982012-01-27 Pedro Alves <palves@redhat.com>
8199
8200 * gdb.base/watchpoint.exp (wp_set): Delete.
8201 (initialize, test_simple_watchpoint, top level): Remove dead code.
8202
82032012-01-27 Pedro Alves <palves@redhat.com>
8204
8205 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Fix
8206 typo.
8207
82082012-01-27 Pedro Alves <palves@redhat.com>
8209
8210 * config/extended-gdbserver.exp: New file.
8211 * lib/gdbserver-support.exp (gdbserver_start_extended): Extend
8212 comment.
8213 (gdbserver_start_multi, mi_gdbserver_start_multi): New.
8214 * boards/native-extended-gdbserver.exp: New file.
8215
82162012-01-26 Pedro Alves <palves@redhat.com>
8217
8218 * gdb.base/watchpoint.exp: Replace send_gdb/gdb_expect by gdb_test
8219 and gdb_test_multiple.
8220
82212012-01-26 Pedro Alves <palves@redhat.com>
8222
8223 Make test messages unique, and more identifiable.
8224 * gdb.multi/watchpoint-multi.exp: Change test messages.
8225
82262012-01-25 Tom Tromey <tromey@redhat.com>
8227
8228 * gdb.base/solib-disc.exp: Fix regexps.
8229
82302012-01-24 Tom Tromey <tromey@redhat.com>
8231
8232 * lib/mi-support.exp (mi_expect_stop): Add special case for
8233 solib-event.
8234 * gdb.base/catch-load-so.c: New file.
8235 * gdb.base/catch-load.exp: New file.
8236 * gdb.base/catch-load.c: New file.
8237 * gdb.base/break-interp.exp (reach_1): Update regexp.
8238
82392012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8240
8241 Fix fuzzy results.
8242 * gdb.mi/var-cmd.c (do_locals_tests): Initialize variables lsimple,
8243 lpsimple and func.
8244
82452012-01-24 Gary Benson <gbenson@redhat.com>
8246
8247 Delete #if 0'd out code.
8248 * gdb.base/default.exp (info catch): Remove.
8249 * gdb.base/gdb_history (info catch): Likewise.
8250 * gdb.base/help.exp (info catch): Likewise.
8251
82522012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8253
8254 Fix watchpoints to be specific for each inferior.
8255 * gdb.multi/watchpoint-multi.c: New file.
8256 * gdb.multi/watchpoint-multi.exp: New file.
8257
82582012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8259
8260 Fix watchpoints across inferior fork.
8261 * gdb.threads/watchpoint-fork-child.c: New file.
8262 * gdb.threads/watchpoint-fork-mt.c: New file.
8263 * gdb.threads/watchpoint-fork-parent.c: New file.
8264 * gdb.threads/watchpoint-fork-st.c: New file.
8265 * gdb.threads/watchpoint-fork.exp: New file.
8266 * gdb.threads/watchpoint-fork.h: New file.
8267
82682012-01-23 Pedro Alves <palves@redhat.com>
8269
8270 * gdb.base/call-signal-resume.exp: Allow output after "return".
8271
82722012-01-20 Pedro Alves <palves@redhat.com>
8273
8274 * gdb.python/py-finish-breakpoint.py: Fix typo.
8275
82762012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
8277
8278 * gdb.base/info-proc.exp: Also run on remote targets. Main
8279 "info proc" command is now always present; whether target supports
8280 actual info proc operation is detected when attempting to issue
8281 the command.
8282
82832012-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
8284
8285 * .gdbinit: Remove.
8286
82872012-01-19 Pedro Alves <palves@redhat.com>
8288
8289 * gdb.java/jprint.exp: Don't rely on inferior output, but instead
8290 look at the funtions' returns.
8291 * gdb.java/jprint.java (jvclass.addprint, jprint.print(int))
8292 (jprint.print(int, int)): Change return type to int. Adjust.
8293
82942012-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8295
8296 PR gdb/9538
8297 * gdb.base/sepdebug.exp: New test.
8298
82992012-01-18 Pedro Alves <palves@redhat.com>
8300
8301 * gdb.ada/mi_task_info.exp (-ada-task-info with no argument):
8302 Allow output before ^done.
8303
83042012-01-16 Tom Tromey <tromey@redhat.com>
8305
8306 * gdb.linespec/linespec.exp: Change some tests to use $decimal.
8307 Add tests for relative directory.
8308
83092012-01-16 Tom Tromey <tromey@redhat.com>
8310
8311 * gdb.base/printcmds.c (enum flag_enum): New.
8312 (three): New global.
8313 * gdb.base/printcmds.exp (test_print_enums): Add test for flag
8314 enum printing.
8315 * gdb.python/py-pp-maint.py (build_pretty_printer): Instantiate
8316 FlagEnumerationPrinter.
8317 * gdb.python/py-pp-maint.exp: Add tests for FlagEnumerationPrinter.
8318 * gdb.python/py-pp-maint.c (enum flag_enum): New.
8319 (fval): New global.
8320
83212012-01-16 Pedro Alves <palves@redhat.com>
8322
8323 * lib/gdb.exp (banned_procedures): New variable.
8324 (banned_variables_traced): Rename to ...
8325 (banned_traced): ... this.
8326 (gdb_init): Also trace banned procedures.
8327 (gdb_finish): Also untrace banned procedures.
8328
83292012-01-16 Pedro Alves <palves@redhat.com>
8330
8331 Remove all calls to strace.
8332
83332012-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
8334
8335 * gdb.dwarf2/dw2-namespaceless-anonymous.S: New file.
8336 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: New file.
8337
83382012-01-13 Paul Pluzhnikov <ppluzhnikov@google.com>
8339
8340 * gdb.base/attach-pie-misread.exp: Pass -pie only to the linker.
8341 * gdb.base/pie-execl.exp: Likewise.
8342
83432012-01-12 Keith Seitz <keiths@redhat.com>
8344
8345 PR mi/10586
8346 * gdb.mi/var-cmd.c (struct anonymous): New structure.
8347 (do_anonymous_type_tests): New function.
8348 (main): Call do_anonymous_type_tests.
8349 * gdb.mi/mi2-var-child.exp: Add anonymous type tests.
8350 (verify_everything): New procedure.
8351 * gdb.mi/mi-var-cp.cc (class A): New class.
8352 (anonymous_structs_and_unions): New function.
8353 (main): Call anonymous_structs_and_unions.
8354 * gdb.mi/mi-var-cp.exp: Add anonymous type tests.
8355 (verify_everything): New procedure.
8356
83572012-01-12 Keith Seitz <keiths@redhat.com>
8358
8359 * lib/mi-support.exp: Expand comments about PATH_EXPR.
8360 (varobj_tree::get_path_expr): Assume that all varobjs are
8361 compound unless they are known simple types.
8362 Adjust path expressions based on parent type, path parent type,
8363 and tree language.
8364 (varobj_tree::walk_tree): Add LANGUAGE parameter and save it into
8365 the root varobj.
8366 (mi_walk_varobj_tree): Add LANGUAGE parameter.
8367
83682012-01-11 Pedro Alves <palves@redhat.com>
8369
8370 * gdb.base/default.exp (core-file): Don't expect "GDB can't read
8371 core files on this machine" anymore.
8372
83732012-01-11 Paul Hilfinger <hilfingr@adacore.com>
8374
8375 * gdb.base/watchpoint.c (recurser): Initialize local_x.
8376 (main): Repeat recurser call.
8377 * gdb.base/watchpoint.exp: Check that 'watch recurser::local_x' is
8378 equivalent to 'local_x'.
8379
83802012-01-11 Paul Hilfinger <hilfingr@adacore.com>
8381 Joel Brobecker <brobecker@adacore.com>
8382
8383 * gdb.base/recpar.c, gdb.base/recpar.exp: New files.
8384
83852012-01-05 Pedro Alves <alves.ped@gmail.com>
8386
8387 * gdb.mi/mi-stepn.c, gdb.mi/mi-stepn.exp: New files.
8388 * gdb.python/py-events.c (first): Add bits for new "step N" test.
8389 * gdb.python/py-events.exp: Test that "step N" tripping on a
8390 breakpoint emits a breakpoint event.
8391
83922012-01-03 Joel Brobecker <brobecker@adacore.com>
8393
8394 * gdb.base/auxv.exp: Reformat the copyright notice.
8395
83962012-01-03 Yao Qi <yao@codesourcery.com>
8397
8398 * gdb.trace/strace.exp (strace_trace_on_same_addr): New.
8399 (strace_trace_on_diff_addr): New.
8400 * gdb.trace/strace.c: (main): Add two local variables.
8401
84022011-01-02 Ulrich Weigand <uweigand@de.ibm.com>
8403
8404 * gdb.cell/fork.exp: Delete breakpoints after reaching main.
8405 * gdb.cell/gcore.exp: Likewise.
8406 * gdb.cell/solib-symbol.exp: Use "info symbol" instead of "break"
8407 to verify the correct instance of main is selected.
8408
84092012-01-02 Joel Brobecker <brobecker@adacore.com>
8410
8411 * dg-extract-results.sh, gdb.arch/gcore.c, gdb.arch/gdb1558.c,
8412 gdb.arch/i386-gnu-cfi.c, gdb.base/complex.c, gdb.base/cvexpr.c,
8413 gdb.base/gcore.c, gdb.base/gdb1555-main.c, gdb.base/gdb1555.c,
8414 gdb.base/gdb1821.c, gdb.base/long_long.c, gdb.base/restore.c,
8415 gdb.base/sepdebug.c, gdb.base/type-opaque-lib.c,
8416 gdb.base/type-opaque-main.c, gdb.cp/maint.exp, gdb.cp/namespace1.cc,
8417 gdb.cp/pr9631.cc, gdb.cp/psmang1.cc, gdb.cp/psmang2.cc,
8418 gdb.cp/try_catch.cc, gdb.cp/virtfunc.cc, gdb.hp/gdb.base-hp/reg.exp,
8419 gdb.mi/basics.c, gdb.mi/mi-stack.c, gdb.mi/mi-var-child.c,
8420 gdb.mi/mi2-var-child.exp, gdb.mi/var-cmd.c,
8421 gdb.threads/thread_check.c: Reformat copyright header.
8422
84232011-12-30 Edjunior Machado <emachado@linux.vnet.ibm.com>
8424
8425 * gdb.python/py-finish-breakpoint.exp: Add `.' prefix for ppc64.
8426 * gdb.python/py-finish-breakpoint2.exp: Skip testcase if python support
8427 is not enabled.
8428
84292011-12-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8430
8431 * gdb.python/py-finish-breakpoint.c (test_exec_exit): Change the
8432 parameter to self_exec, adjust the function.
8433 (main): Check for argv[1] "exit". Use argv[0] for test_exec_exit.
8434 * gdb.python/py-finish-breakpoint.exp (set var self_exec = 0): New test.
8435 (set var do_exit = 0): Remove test.
8436 (newline at end of file): Add one.
8437
84382011-12-27 Joel Brobecker <brobecker@adacore.com>
8439
8440 * gdb.base/dmsym.c, gdb.base/dmsym_main.c, gdb.base/dmsym.exp:
8441 New files.
8442
84432011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
8444
8445 Fix racy FAILs.
8446 * gdb.threads/fork-thread-pending.c (barrier): New variable.
8447 (thread_function, thread_forker): Call pthread_barrier_wait for it.
8448 (main): Call pthread_barrier_init for it.
8449
84502011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
8451
8452 Fix double send_gdb leading to racy FAILs.
8453 * gdb.base/break.exp (set silent break bp_location1): Replace
8454 3x send_gdb and gdb_expect by gdb_test.
8455 * gdb.base/fileio.exp: Replace 2x send_gdb by gdb_exit and sleep.
8456 * gdb.base/foll-vfork.exp (vfork_and_exec_child_follow_to_main_bp)
8457 (vfork_and_exec_child_follow_through_step): Use gdb_test_no_output
8458 instead of send_gdb. Twice.
8459 * gdb.base/sepdebug.exp (set silent break bp_location1): Replace
8460 3x send_gdb and gdb_expect by gdb_test.
8461 * gdb.mi/mi-nsmoribund.exp: Replace 3x send_gdb by mi_gdb_test.
8462
84632011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
8464
8465 * gdb.linespec/linespec.exp: Compile using {c++}.
8466
84672011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
8468
8469 * gdb.cp/templates.exp (test_template_typedef): Import gdb_prompt.
8470 (print destructor of template typedef): Extend it for gcc/51668 XFAIL.
8471 (verify GCC PR debug/51668): New test.
8472
84732011-12-23 Kevin Pouget <kevin.pouget@st.com>
8474
8475 Introduce gdb.FinishBreakpoint in Python.
8476 * Makefile.in (EXECUTABLES): Add py-finish-breakpoint and
8477 py-finish-breakpoint2
8478 (MISCALLANEOUS): Add py-events-shlib.so and py-events-shlib-nodebug.so
8479 * gdb.python/py-breakpoint.exp (mult_line): Define and use variable
8480 instead of line number.
8481 * gdb.python/py-finish-breakpoint.c: New file.
8482 * gdb.python/py-finish-breakpoint.exp: New file.
8483 * gdb.python/py-finish-breakpoint.py: New file.
8484 * gdb.python/py-finish-breakpoint2.cc: New file.
8485 * gdb.python/py-finish-breakpoint2.exp: New file.
8486 * gdb.python/py-finish-breakpoint2.py: New file.
8487
84882011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
8489
8490 Partial fix of compatibility with gcc-4.7.
8491 * gdb.cp/templates.exp (ptype T5<int>, ptype t5i): Turn all PASS cases
8492 into XFAIL "new without size_t". Permit size_t for the KFAIL case.
8493 Add comment to add a PASS case in the future.
8494
8495 Fix compatibility with gcc-4.7.
8496 * gdb.python/py-frame-inline.c (f): Use inline for __always_inline__.
8497
84982011-12-21 Ulrich Weigand <ulrich.weigand@linaro.org>
8499
8500 PR tdep/12797
8501 * gdb.base/callfuncs.exp: Remove KFAIL.
8502
85032011-12-21 Joel Brobecker <brobecker@adacore.com>
8504
8505 * gdb.ada/task_bp: New testcase.
8506
85072011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
8508
8509 * gdb.base/reread.exp: If srcfile2 fails to build retry it with
8510 -DNO_SECTIONS.
8511 * gdb.base/reread2.c <!NO_SECTIONS>: New sections block.
8512
85132011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
8514
8515 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Make
8516 PR gcc/45997 XFAIL conditional for gcc <= 4.5.
8517 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
8518 Change PR gcc/41736 to the more specific PR gcc/46955. Make it
8519 conditional for gcc <= 4.5.
8520
85212011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
8522
8523 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Replace KFAIL
8524 by XFAIL.
8525 * gdb.cp/static-method.exp (info addr A::func())
8526 (list static-method.cc:xxx::(anonymous namespace)::A::func)
8527 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
8528 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
8529 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): Likewise.
8530 * gdb.cp/temargs.exp (test value of F in k2_m, test type of F in k3_m)
8531 (test value of F in k3_m): Likewise.
8532 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
8533 Likewise.
8534
85352011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
8536
8537 * gdb.threads/attach-stopped.exp (continue (*: attach2 continue))
8538 (*: attach2 stop interrupt, *: attach2, exit leaves process sleeping):
8539 Remove.
8540 * gdb.threads/attachstop-mt.c: Remove.
8541 * gdb.threads/attachstop-mt.exp: Remove.
8542
85432011-12-17 Mark Kettenis <kettenis@gnu.org>
8544
8545 * gdb.arch/amd64-i386-address.exp: Skip on *-*-openbsd*.
8546
85472011-12-16 Doug Evans <dje@google.com>
8548
8549 * boards/native-stdio-gdbserver.exp: New file.
8550 * boards/native-gdbserver.exp: New file.
8551
8552 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize stdio
8553 gdbserver output.
8554 (gdbserver_default_get_remote_address): New function.
8555 (gdbserver_start): Call gdb,get_remote_address to compute argument
8556 to "target remote" command.
8557
85582011-12-16 Phil Muldoon <pmuldoon@redhat.com>
8559
8560 * gdb.python/py-function.exp: Change "on" to "full" for
8561 python print-stack. Add set/show python print-stack
8562 off|full|message tests.
8563
85642011-12-15 Yao Qi <yao@codesourcery.com>
8565
8566 * gdb.trace/strace.c: New
8567 * gdb.trace/strace.exp: New.
8568
85692011-12-14 Tom Tromey <tromey@redhat.com>
8570
8571 * gdb.dwarf2/dw2-inline-param.exp: Log the objcopy command.
8572
85732011-12-14 Doug Evans <dje@google.com>
8574
8575 * lib/gdb.exp (gdb_start_cmd): Fix error return value.
8576
85772011-12-14 Pedro Alves <pedro@codesourcery.com>
8578
8579 PR threads/10729
8580
8581 * gdb.mi/watch-nonstop.c: New file.
8582 * gdb.mi/mi-watch-nonstop.exp: New file.
8583
85842011-12-13 Pedro Alves <pedro@codesourcery.com>
8585 Doug Evans <dje@google.com>
8586
8587 * lib/gdb.exp (gdb_run_cmd, runto_main, gdb_compile)
8588 (clean_restart): Remove references to the gdb_stub target board
8589 variable.
8590 (gdb_step_for_stub): Delete.
8591
8592 * gdb.base/annota1.exp: Remove all references to [target_info
8593 exists gdb_stub], gdb_step_for_stub and usestubs.
8594 * gdb.base/annota3.exp: Ditto.
8595 * gdb.base/async.exp: Ditto.
8596 * gdb.base/break.exp: Ditto.
8597 * gdb.base/code-expr.exp: Ditto.
8598 * gdb.base/commands.exp: Ditto.
8599 * gdb.base/completion.exp: Ditto.
8600 * gdb.base/condbreak.exp: Ditto.
8601 * gdb.base/consecutive.exp: Ditto.
8602 * gdb.base/cvexpr.exp: Ditto.
8603 * gdb.base/define.exp: Ditto.
8604 * gdb.base/display.exp: Ditto.
8605 * gdb.base/ena-dis-br.exp: Ditto.
8606 * gdb.base/environ.exp: Ditto.
8607 * gdb.base/gnu-ifunc.exp: Ditto.
8608 * gdb.base/maint.exp: Ditto.
8609 * gdb.base/pending.exp: Ditto.
8610 * gdb.base/sect-cmd.exp: Ditto.
8611 * gdb.base/sepdebug.exp: Ditto.
8612 * gdb.base/unload.exp: Ditto.
8613 * gdb.base/watchpoint-solib.exp: Ditto.
8614 * gdb.cp/annota2.exp: Ditto.
8615 * gdb.cp/annota3.exp: Ditto.
8616 * gdb.dwarf2/dw2-inline-param.exp: Ditto.
8617 * gdb.hp/gdb.compat/xdb1.exp: Ditto.
8618 * gdb.mi/mi-pending.exp: Ditto.
8619 * gdb.trace/circ.exp: Ditto.
8620 * gdb.cp/ovldbreak.exp: Ditto. Adjust expected line numbers.
8621 * gdb.base/list.exp: Ditto.
8622
8623 * gdb.base/all-types.c: Remove all calls to set_debug_traps and
8624 breakpoint function and all references to the usestubs macro.
8625 * gdb.base/exprs.c: Ditto.
8626 * gdb.base/freebpcmd.c: Ditto.
8627 * gdb.base/bitfields.c: Ditto.
8628 * gdb.base/bitfields2.c: Ditto.
8629 * gdb.base/break.c: Ditto.
8630 * gdb.base/call-sc.c: Ditto.
8631 * gdb.base/call-signals.c: Ditto.
8632 * gdb.base/callfuncs.c: Ditto.
8633 * gdb.base/charset.c: Ditto.
8634 * gdb.base/consecutive.c: Ditto.
8635 * gdb.base/constvars.c: Ditto.
8636 * gdb.base/funcargs.c: Ditto.
8637 * gdb.base/int-type.c: Ditto.
8638 * gdb.base/interrupt.c: Ditto.
8639 * gdb.base/langs0.c: Ditto.
8640 * gdb.base/list0.c: Ditto.
8641 * gdb.base/mips_pro.c: Ditto.
8642 * gdb.base/miscexprs.c: Ditto.
8643 * gdb.base/nodebug.c: Ditto.
8644 * gdb.base/opaque0.c: Ditto.
8645 * gdb.base/pointers.c: Ditto.
8646 * gdb.base/printcmds.c: Ditto.
8647 * gdb.base/ptype.c: Ditto.
8648 * gdb.base/recurse.c: Ditto.
8649 * gdb.base/reread1.c: Ditto.
8650 * gdb.base/reread2.c: Ditto.
8651 * gdb.base/restore.c: Ditto.
8652 * gdb.base/return.c: Ditto.
8653 * gdb.base/run.c: Ditto.
8654 * gdb.base/scope0.c: Ditto.
8655 * gdb.base/sepdebug.c: Ditto.
8656 * gdb.base/setshow.c: Ditto.
8657 * gdb.base/setvar.c: Ditto.
8658 * gdb.base/sigall.c: Ditto.
8659 * gdb.base/signals.c: Ditto.
8660 * gdb.base/structs.c: Ditto.
8661 * gdb.base/structs2.c: Ditto.
8662 * gdb.base/testenv.c: Ditto.
8663 * gdb.base/twice.c: Ditto.
8664 * gdb.base/unwindonsignal.c: Ditto.
8665 * gdb.base/watchpoint.c: Ditto.
8666 * gdb.base/watchpoints.c: Ditto.
8667 * gdb.base/whatis.c: Ditto.
8668 * gdb.cp/classes.cc: Ditto.
8669 * gdb.cp/cplusfuncs.cc: Ditto.
8670 * gdb.cp/derivation.cc: Ditto.
8671 * gdb.cp/formatted-ref.cc: Ditto.
8672 * gdb.cp/misc.cc: Ditto.
8673 * gdb.cp/overload.cc: Ditto.
8674 * gdb.cp/ovldbreak.cc: Ditto.
8675 * gdb.cp/ref-params.cc: Ditto.
8676 * gdb.cp/ref-types.cc: Ditto.
8677 * gdb.cp/templates.cc: Ditto.
8678 * gdb.cp/virtfunc.cc: Ditto.
8679 * gdb.hp/gdb.aCC/run.c: Ditto.
8680 * gdb.hp/gdb.base-hp/callfwmall.c: Ditto.
8681 * gdb.hp/gdb.compat/xdb0.c: Ditto.
8682 * gdb.reverse/consecutive-reverse.c: Ditto.
8683 * gdb.reverse/sigall-reverse.c: Ditto.
8684 * gdb.reverse/until-reverse.c: Ditto.
8685 * gdb.reverse/watch-reverse.c: Ditto.
8686 * gdb.trace/actions.c: Ditto.
8687 * gdb.trace/circ.c: Ditto.
8688 * gdb.trace/collection.c: Ditto.
8689
86902011-12-13 Pedro Alves <pedro@codesourcery.com>
8691
8692 * gdb.base/watchpoint.c (struct foo2, foo2, struct foo4, foo4)
8693 (func6, func7): New.
8694 (main): Call func6 and func7.
8695 * gdb.base/watchpoint.exp (test_wide_location_1)
8696 (test_wide_location_2): New.
8697 (top level): Re-enable hardware watchpoints if necessary. Call
8698 test_wide_location_1 and test_wide_location_2.
8699
87002011-12-11 Yao Qi <yao@codesourcery.com>
8701
8702 * gdb.trace/status-stop.exp: Skip it if target doesn't support trace.
8703
87042011-12-11 Joel Brobecker <brobecker@adacore.com>
8705
8706 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp: Adjust
8707 expected output for unsupported case.
8708
87092011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
8710
8711 PR testsuite/12649
8712 * gdb.trace/ftrace.exp (test_fast_tracepoints): Import gdb_prompt.
8713 Protect gdb_test_multiple by final $gdb_prompt match.
8714
87152011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
8716
8717 * gdb.cp/static-method.exp (have_gcc_45682_fixed, info addr A::func()):
8718 New variable, new test.
8719 (list static-method.cc:xxx::(anonymous namespace)::A::func)
8720 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
8721 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
8722 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): KFAIL
8723 them if HAVE_GCC_45682_FIXED is not set.
8724
87252011-12-10 Yao Qi <yao@codesourcery.com>
8726
8727 * gdb.trace/status-stop.exp: New.
8728 * gdb.trace/status-stop.c: New.
8729
87302011-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8731
8732 * gdb.reverse/until-precsave.exp (run to end of main) Extend the
8733 timeout.
8734
87352011-12-08 Tom Tromey <tromey@redhat.com>
8736
8737 * gdb.cp/ovsrch.exp (test_class): Correctly use "a_param" in
8738 condition.
8739
87402011-12-07 Stan Shebs <stan@codesourcery.com>
8741
8742 * gdb.trace/tfind.exp: Update for output changes.
8743
87442011-12-07 Pedro Alves <pedro@codesourcery.com>
8745
8746 * gdb.ada/catch_ex.exp: Skip as unsupported if "catch exception"
8747 throws "Cannot insert catchpoints in this configuration".
8748 * gdb.ada/mi_catch_ex.exp: Likewise.
8749
87502011-12-06 Pedro Alves <pedro@codesourcery.com>
8751
8752 * gdb.base/break-always.exp: Test changing memory at addresses
8753 with breakpoints inserted.
8754
87552011-12-06 Joel Brobecker <brobecker@acacore.com>
8756
8757 * gdb.ada/fullname_bp.exp: Add tests for other valid linespecs
8758 involving a fully qualified function name.
8759
87602011-12-06 Tom Tromey <tromey@redhat.com>
8761
8762 * gdb.ada/homonym.exp: Add three breakpoint tests.
8763
87642011-12-06 Tom Tromey <tromey@redhat.com>
8765
8766 * gdb.base/solib-weak.exp (do_test): Remove kfail.
8767 * gdb.trace/tracecmd.exp: Disable pending breakpoints earlier.
8768 * gdb.objc/objcdecode.exp: Update for output changes.
8769 * gdb.linespec/linespec.exp: New file.
8770 * gdb.linespec/lspec.cc: New file.
8771 * gdb.linespec/lspec.h: New file.
8772 * gdb.linespec/body.h: New file.
8773 * gdb.linespec/base/two/thefile.cc: New file.
8774 * gdb.linespec/base/one/thefile.cc: New file.
8775 * gdb.linespec/Makefile.in: New file.
8776 * gdb.cp/templates.exp (test_template_breakpoints): Update for
8777 output changes.
8778 * gdb.cp/re-set-overloaded.exp: Remove kfail.
8779 * gdb.cp/ovldbreak.exp: Update for output changes. "all" test now
8780 makes one breakpoint.
8781 * gdb.cp/method2.exp (test_break): Update for output changes.
8782 * gdb.cp/mb-templates.exp: Update for output changes.
8783 * gdb.cp/mb-inline.exp: Update for output changes.
8784 * gdb.cp/mb-ctor.exp: Update for output changes.
8785 * gdb.cp/ovsrch.exp: Use fully-qualified names.
8786 * gdb.base/solib-symbol.exp: Run to main later. Breakpoint now
8787 has multiple matches.
8788 * gdb.base/sepdebug.exp: Disable pending breakpoints. Update for
8789 error message change.
8790 * gdb.base/list.exp (test_list_filename_and_number): Update for
8791 error message change.
8792 * gdb.base/break.exp: Disable pending breakpoints. Update for
8793 output changes.
8794 * configure.ac: Add gdb.linespec.
8795 * configure: Rebuild.
8796 * Makefile.in (ALL_SUBDIRS): Add gdb.linespec.
8797
87982011-12-06 Ulrich Weigand <uweigand@de.ibm.com>
8799
8800 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out read-only
8801 last_break register on s390*-*-* targets.
8802
88032011-12-06 Joel Brobecker <brobecker@adacore.com>
8804
8805 * gdb.ada/watch_arg/pck.ads, gdb.ada/watch_arg/pck.adb: New files.
8806 * gdb.ada/watch_arg/watch.adb: Adjust code to avoid modification
8807 of parameter X in procedure Foo.
8808
88092011-12-05 Stan Shebs <stan@codesourcery.com>
8810
8811 * gdb.trace/tfind.exp: Update help string matches.
8812
88132011-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
8814
8815 * gdb.server/ext-run.exp (get process list): Accept also systemd
8816 as PID 1.
8817
88182011-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8819 Pedro Alves <pedro@codesourcery.com>
8820
8821 * gdb.base/break-entry.exp: Move the target use_gdb_stub test before
8822 starting GDB.
8823 * gdb.base/default.exp: Replace target use_gdb_stub checks by global
8824 $use_gdb_stub.
8825 * gdb.base/display.exp: Likewise.
8826 * gdb.base/ending-run.exp: Likewise.
8827 * gdb.base/list.exp (test_listsize): Likewise.
8828 * gdb.base/setshow.exp: Likewise.
8829 * gdb.base/valgrind-db-attach.exp: Set global use_gdb_stub to 1.
8830 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd): Replace target use_gdb_stub
8831 check by global $use_gdb_stub.
8832 (gdb_test_multiple): Forbid run, start or attach for !$use_gdb_stub.
8833 (default_gdb_start): Set global use_gdb_stub from target use_gdb_stub.
8834 (default_gdb_init): Unset global $use_gdb_stub.
8835 (gdb_continue_to_end, rerun_to_main): Replace target use_gdb_stub check
8836 by global $use_gdb_stub.
8837 * lib/gdbserver-support.exp: Extend comments for set_board_info
8838 gdb_protocol and gdb,socketport.
8839 (gdbserver_start_extended): Set global gdbserver_protocol and
8840 gdbserver_gdbport. Clear global use_gdb_stub.
8841 * lib/mi-support.exp (default_mi_gdb_start): Set global use_gdb_stub
8842 from target use_gdb_stub.
8843 (mi_run_cmd): Replace target use_gdb_stub check by global $use_gdb_stub.
8844
88452011-12-03 Doug Evans <dje@google.com>
8846
8847 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd, run_to_main): Add comments.
8848 (gdb_step_for_stub): Add comments.
8849
88502011-12-02 Maciej W. Rozycki <macro@codesourcery.com>
8851
8852 * lib/gdb.exp (gdb_expect): Pass all the exception conditions up
8853 to the caller.
8854 (gdb_test_multiple): Likewise.
8855
88562011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8857
8858 Fix gdb.mi/mi-solib.exp without system debug info installed.
8859 * lib/mi-support.exp (mi_expect_stop): Accept FILE also for `from'
8860 expect attribute, return 0 for it. Update comments.
8861
88622011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8863
8864 * gdb.base/solib-corrupted.exp: Suppress test on is_remote target.
8865 (corrupted list): Adjust the expectation.
8866
88672011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8868
8869 PR threads/13448
8870 * gdb.dwarf2/dw2-var-zero-addr.S: New file.
8871 * gdb.dwarf2/dw2-var-zero-addr.exp: New file.
8872 * gdb.threads/tls-var-main.c: New file.
8873 * gdb.threads/tls-var.c: New file.
8874 * gdb.threads/tls-var.exp: New file.
8875
88762011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8877
8878 PR testsuite/12649
8879 * gdb.trace/collection.exp (gdb_collect_return_test): Import gdb_prompt.
8880 Protect gdb_test_multiple by final $gdb_prompt match.
8881 * gdb.trace/tspeed.exp (gdb_fast_trace_speed_test): Likewise.
8882 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
8883 (test_tracepoints): Likewise.
8884
88852011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8886
8887 PR breakpoints/13346
8888 * gdb.dwarf2/dw2-objfile-overlap-inner.S: New file.
8889 * gdb.dwarf2/dw2-objfile-overlap-outer.S: New file.
8890 * gdb.dwarf2/dw2-objfile-overlap.exp: New file.
8891
88922011-12-01 Joel Brobecker <brobecker@adacore.com>
8893
8894 * gdb.ada/homonym/pck.ads, gdb.ada/homonym/pck.adb: New files.
8895 * gdb.ada/homonym/homonym.adb: For use of all types defined
8896 locally inside both Get_Value subprograms.
8897
88982011-12-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8899
8900 Fix racy FAILs.
8901 * gdb.base/foll-exec.exp (zap_session): Use gdb_test_no_output instead
8902 of send_gdb.
8903
89042011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
8905
8906 * gdb.base/testenv.exp: Skip on remote targets. Unset global
8907 environment variable after test completed.
8908
89092011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
8910
8911 * gdb.base/solib-nodir.exp: Skip if remote target.
8912 * gdb.base/gdb.fortran.exp: Use shlib= flag when linking main
8913 application. Call gdb_load_shlibs.
8914 * gdb.mi/mi-solib.exp: Use mi_load_shlibs instead of gdb_load_shlibs.
8915
89162011-11-29 Joel Brobecker <brobecker@adacore.com>
8917
8918 * gdb.base/infoline.c, gdb.base/infoline.exp: New files.
8919
89202011-11-28 Joel Brobecker <brobecker@adacore.com>
8921
8922 * gdb.ada/fullname_bp: New testcase.
8923
89242011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8925
8926 PR testsuite/12649
8927 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test #2):
8928 Wrap send_gdb into a new gdb_test.
8929
8930 Code cleanup.
8931 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse4_test):
8932 Convert send_gdb and gdb_expect to gdb_test_multiple.
8933
89342011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8935
8936 * gdb.base/jit-so.exp (one_jit_test): Add testcase name to log message.
8937
89382011-11-23 Keith Seitz <keiths@redhat.com>
8939
8940 * lib/mi-support.exp (varobj_tree): New namespace and procs.
8941 (mi_varobj_tree_test_children_callback): New proc.
8942 (mi_walk_varobj_tree): New proc.
8943
89442011-11-22 Tom Tromey <tromey@redhat.com>
8945
8946 * lib/mi-support.exp (mi_run_cmd_full): Rename from mi_run_cmd.
8947 Add "use_mi_command" argument.
8948 (mi_run_cmd, mi_run_with_cli): New procs.
8949 * gdb.mi/solib-lib.c: New file.
8950 * gdb.mi/solib-main.c: New file.
8951 * gdb.mi/mi-solib.exp: New file.
8952
89532011-11-21 Doug Evans <dje@google.com>
8954
8955 * gdb.cp/nextoverthrow.exp: Skip test if debug info for
8956 _Unwind_DebugHook is missing.
8957
89582011-11-20 Stan Shebs <stan@codesourcery.com>
8959
8960 * gdb.trace/tstatus.exp: New.
8961 * gdb.trace/actions.c: Include string.h.
8962
89632011-11-18 Yao Qi <yao@codesourcery.com>
8964
8965 * gdb.trace/pending.exp: New.
8966 * gdb.trace/pending.c: New.
8967 * gdb.trace/pendshr1.c: New.
8968 * gdb.trace/pendshr2.c: New.
8969 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Check one
8970 tracepoint location becomes pending.
8971 (tracepoint_change_loc_2): New.
8972
89732011-11-16 David S. Miller <davem@davemloft.net>
8974
8975 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero when
8976 target is sparc*-*-linux*
8977
89782011-11-15 Paul Koning <paul_koning@dell.com>
8979
8980 * gdb.python/py-type.exp: New testcases for exceptions on scalar
8981 types.
8982
89832011-11-14 Doug Evans <dje@google.com>
8984
8985 * gdb.base/shell.exp: New file.
8986
89872011-11-14 Stan Shebs <stan@codesourcery.com>
8988
8989 * gdb.trace/ftrace.c: New.
8990 * gdb.trace/ftrace.exp: New.
8991
89922011-11-14 Yao Qi <yao@codesourcery.com>
8993
8994 * gdb.trace/change-loc-1.c: New.
8995 * gdb.trace/change-loc-2.c: New.
8996 * gdb.trace/change-loc.c: New.
8997 * gdb.trace/change-loc.exp: New.
8998 * gdb.trace/change-loc.h: New.
8999 * gdb.trace/trace-break.c (marker): Define new symbol.
9000 * gdb.trace/trace-break.exp (break_trace_same_addr_5):
9001 New.
9002 (break_trace_same_addr_6): New.
9003
90042011-11-12 Matt Rice <ratmice@gmail.com>
9005
9006 * gdb.base/info-macros.exp: Make tests for info definitions
9007 test info macro. Add tests for info macro argument processing.
9008 Rename a few tests.
9009
90102011-11-11 Keith Seitz <keiths@redhat.com>
9011
9012 PR gdb/12843
9013 * gdb.base/linespecs.exp: New file.
9014
90152011-11-11 Doug Evans <dje@google.com>
9016
9017 * gdb.threads/print-threads.exp: Extend timeout for slower
9018 tests.
9019
90202011-11-10 Doug Evans <dje@google.com>
9021
9022 * gdb.reverse/i387-env-reverse.exp: Extend timeout of
9023 "record to end of main" test.
9024
9025 * gdb.python/py-type.c (TS): New typedef.
9026 (ts): New global.
9027 * gdb.python/py-type.exp: Test field list of typedef.
9028
90292011-11-10 Joel Brobecker <brobecker@adacore.com>
9030
9031 * gdb.ada/small_reg_param: New testcase.
9032
90332011-11-09 Tom Tromey <tromey@redhat.com>
9034
9035 * gdb.cp/destrprint.exp: New file.
9036 * gdb.cp/destrprint.cc: New file.
9037
90382011-11-08 Meador Inge <meadori@codesourcery.com>
9039
9040 * gdb.arch/thumb-prologue.c (switch_stack_to_same): New test function.
9041 (switch_stack_to_other): New test function.
9042 * gdb.arch/thumb-prologue.exp: New test cases.
9043
90442011-11-08 Maciej W. Rozycki <macro@codesourcery.com>
9045
9046 * lib/mi-support.exp (mi_send_resuming_command_raw): Fix a typo.
9047
90482011-11-08 Yao Qi <yao@codesourcery.com>
9049
9050 * gdb.exp (supports_process_record): New.
9051 (supports_reverse): New.
9052 * gdb.reverse/break-precsave.exp: Call support_process_record
9053 to run test conditionally.
9054 * gdb.reverse/consecutive-precsave.exp: Likewise.
9055 * gdb.reverse/i386-precsave.exp: Likewise.
9056 * gdb.reverse/machinestate-precsave.exp: Likewise.
9057 * gdb.reverse/solib-precsave.exp: Likewise.
9058 * gdb.reverse/step-precsave.exp: Likewise.
9059 * gdb.reverse/until-precsave.exp: Likewise.
9060 * gdb.reverse/watch-precsave.exp: Likewise.
9061 * gdb.reverse/break-reverse.exp: Call support_reverse to run
9062 test conditionally.
9063 * gdb.reverse/consecutive-reverse.exp: Likewise.
9064 * gdb.reverse/finish-precsave.exp: Likewise.
9065 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
9066 * gdb.reverse/finish-reverse.exp: Likewise.
9067 * gdb.reverse/i386-reverse.exp: Likewise.
9068 * gdb.reverse/i386-sse-reverse.exp: Likewise.
9069 * gdb.reverse/machinestate.exp: Likewise.
9070 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Likewise.
9071 * gdb.reverse/sigall-precsave.exp: Likewise.
9072 * gdb.reverse/sigall-reverse.exp: Likewise.
9073 * gdb.reverse/solib-reverse.exp: Likewise.
9074 * gdb.reverse/step-reverse.exp: Likewise.
9075 * gdb.reverse/until-reverse.exp: Likewise.
9076 * gdb.reverse/watch-reverse.exp: Likewise.
9077
90782011-11-05 Yao Qi <yao@codesourcery.com>
9079
9080 * gdb.trace/trace-break.exp: Add test on setting two
9081 fast tracepoints at the same address.
9082
90832011-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9084
9085 * gdb.base/commands.exp (cmd1 error): Fix false ERROR with gdbserver.
9086
90872011-11-02 Stan Shebs <stan@codesourcery.com>
9088
9089 * gdb.trace/collection.c: Add code using strings.
9090 * gdb.trace/collection.exp: Add tests of string collection.
9091
90922011-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9093
9094 * gdb.base/skip-solib.exp (executable_main): New variable.
9095 (binfile_main): Base it on that.
9096 Use $executable_main in clean_restart calls. Drop gdb_exit and
9097 gdb_start calls.
9098
90992011-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9100
9101 Fix racy FAILs.
9102 * lib/mi-support.exp (mi_gdb_test): Replace thread_selected_re and
9103 breakpoint_re globals import by async. Set string_regex to .* for
9104 async. Remove the optional thread_selected_re and breakpoint_re
9105 globals expectations.
9106
91072011-11-01 Joseph Myers <joseph@codesourcery.com>
9108
9109 * gdb.base/maint.exp: XFAIL "maint info sections DATA" on MinGW as
9110 well as Cygwin.
9111
91122011-11-01 Justin Lebar <justin.lebar@gmail.com>
9113
9114 Add tests for skip command.
9115 * gdb.base/skip-solib-lib.c: New
9116 * gdb.base/skip-solib-main.c: New
9117 * gdb.base/skip-solib.exp: New
9118 * gdb.base/skip.c: New
9119 * gdb.base/skip.exp: New
9120 * gdb.base/skip1.c: New
9121 * gdb.base/Makefile.in: Adding new files.
9122
91232011-10-31 Yao Qi <yao@codesourcery.com>
9124 Pedro Alves <pedro@codesourcery.com>
9125
9126 * gdb.trace/trace-break.c: New.
9127 * gdb.trace/trace-break.exp: New.
9128
91292011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9130
9131 * gdb.threads/no-unwaited-for-left.exp: Specify $srcfile for
9132 break-here-2.
9133
91342011-10-28 Pedro Alves <pedro@codesourcery.com>
9135
9136 * gdb.threads/no-unwaited-for-left.c: New.
9137 * gdb.threads/no-unwaited-for-left.exp: New.
9138 * gdb.threads/non-ldr-exc-1.c: New.
9139 * gdb.threads/non-ldr-exc-1.exp: New.
9140 * gdb.threads/non-ldr-exc-2.c: New.
9141 * gdb.threads/non-ldr-exc-2.exp: New.
9142 * gdb.threads/non-ldr-exc-3.c: New.
9143 * gdb.threads/non-ldr-exc-3.exp: New.
9144 * gdb.threads/non-ldr-exc-4.c: New.
9145 * gdb.threads/non-ldr-exc-4.exp: New.
9146
91472011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9148
9149 * gdb.base/async-shell.exp: Skip the testfile for use_gdb_stub.
9150 * gdb.base/attach-pie-misread.exp: Likewise.
9151 * gdb.base/break-interp.exp: Likewise.
9152 * gdb.base/default.exp (attach, run "r" abbreviation, run): Skip these
9153 testcases for use_gdb_stub.
9154 * gdb.dwarf2/dw2-restore.exp: Fix the run for use_gdb_stub.
9155 (continue): New testcase.
9156 * gdb.python/py-events.exp: Skip the testfile for use_gdb_stub.
9157 * gdb.threads/attach-into-signal.exp: Likewise.
9158 * gdb.threads/attach-stopped.exp: Likewise.
9159 * gdb.threads/attachstop-mt.exp: Likewise.
9160
91612011-10-28 Paul Koning <paul_koning@dell.com>
9162
9163 * gdb.python/lib-types.exp (deep_items): Rename from deepitems.
9164
91652011-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
9166
9167 * lib/mi-support.exp (breakpoint_re): Suppress match reporting.
9168 (mi_gdb_test): Import globals thread_selected_re
9169 and breakpoint_re. Expect them optionally at the regex start.
9170
91712011-10-27 Doug Evans <dje@google.com>
9172
9173 * gdb.python/python.exp: Test source -s.
9174
91752011-10-26 Paul Koning <paul_koning@dell.com>
9176
9177 * gdb.python/lib-types.cc (struct A): New structure.
9178 * gdb.python/lib-types.exp (deepitems): New tests.
9179
91802011-10-25 Paul Koning <paul_koning@dell.com>
9181
9182 PR python/13327
9183
9184 * gdb.python/py-value.exp: Add testcases for is_lazy attribute,
9185 fetch_lazy method.
9186
91872011-10-24 Yao Qi <yao@codesourcery.com>
9188
9189 * lib/gdb.exp (can_single_step_to_signal_handler): Return 0 when
9190 target is tic6x-*-*.
9191
91922011-10-21 Joel Brobecker <brobecker@adacore.com>
9193
9194 * gdb.ada/mi_task_info/task_switch.adb: New file.
9195 * gdb.ada/mi_task_info.exp: New file.
9196
91972011-10-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9198
9199 * gdb.cp/expand-psymtabs-cxx.exp: New file.
9200 * gdb.cp/expand-psymtabs-cxx.cc: New file.
9201
92022011-10-20 Phil Muldoon <pmuldoon@redhat.com>
9203
9204 PR python/12656
9205
9206 * gdb.python/py-block.exp: Add is_global, is_static, static_block,
9207 global_block tests.
9208
92092011-10-18 Tom Tromey <tromey@redhat.com>
9210
9211 * gdb.base/jit-so.exp (one_jit_test): Remove spurious backslash.
9212
92132011-10-18 Tom Tromey <tromey@redhat.com>
9214
9215 * gdb.base/source.exp: Don't include full file name in test name.
9216 * gdb.python/python.exp: Don't include full file name in test
9217 name.
9218
92192011-10-18 Jan Kratochvil <jan.kratochvil@redhat.com>
9220
9221 * gdb.base/attach-pie-noexec.c: New files.
9222 * gdb.base/attach-pie-noexec.exp: New files.
9223
92242011-10-17 Joseph Myers <joseph@codesourcery.com>
9225
9226 * lib/gdb.exp (gdb_test_multiple): Expect newline and secondary
9227 prompt for each extra line in command.
9228
92292011-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9230
9231 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.shl): KFAIL it.
9232 Revert the part of:
9233 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
9234 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
9235 Change the expected string.
9236
92372011-10-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9238
9239 Fix results with system glibc debug info installed.
9240 * gdb.base/disp-step-syscall.exp (continue to $syscall (1st time))
9241 (continue to $syscall (2nd time), continue to $syscall (3rd time)):
9242 Accept also __libc_ symbol prefix and no prefix.
9243
92442011-10-14 Keith Seitz <keiths@redhat.com>
9245
9246 PR c++/13225
9247 * gdb.cp/converts.cc (foo3_1): New function.
9248 (foo3_2): New functions.
9249 * gdb.cp/converts.exp: Add tests for int to pointer conversion
9250 and null pointer conversions of integer constant zero.
9251 Add test to check if all arguments are checked for incompatible
9252 conversion BADNESS.
9253
92542011-10-14 Tom Tromey <tromey@redhat.com>
9255
9256 * gdb.threads/attachstop-mt.exp: Add $srcfile to the linespecs.
9257 * gdb.threads/attach-stopped.exp (corefunc): Add $srcfile to the
9258 linespec.
9259
92602011-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9261
9262 Fix internal error regression.
9263 * gdb.dwarf2/implptr-optimized-out.S: New file.
9264 * gdb.dwarf2/implptr-optimized-out.exp: New file.
9265
92662011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9267
9268 Fix empty DWARF expressions DATA vs. SIZE conditionals.
9269 * gdb.dwarf2/dw2-op-call.S (arraycallnoloc, arraynoloc): New DIEs.
9270 (loclist): New.
9271 (4): New abbrev.
9272 * gdb.dwarf2/dw2-op-call.exp: Remove variable srcfile and executable.
9273 Use prepare_for_testing, remove clean_restart.
9274 (p arraynoloc, p arraycallnoloc): New tests.
9275
92762011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9277
9278 * gdb.cp/namespace-enum.exp (executable): New variable.
9279 (binfile): Use ${objdir}/${subdir}/ prefix.
9280 Use ${executable} for clean_restart.
9281
92822011-10-11 Sterling Augustine <saugustine@google.com>
9283
9284 * gdb.cp/Makefile.in: Add namespace-enum test.
9285 * gdb.cp/namespace-enum.exp: New file.
9286 * gdb.cp/namespace-enum.c: New file.
9287 * gdb.cp/namespace-enum-main.c: New file.
9288
92892011-10-11 Ulrich Weigand <ulrich.weigand@linaro.org>
9290
9291 * gdb.python/py-shared.exp: Relax filename check to handle remote:
9292 sysroot.
9293
92942011-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9295
9296 Reimplement @entry in input expressions.
9297 * gdb.base/exprs.c (v_int_array_init): New variable.
9298 * gdb.base/exprs.exp (print v_int_array_init)
9299 (print *v_int_array_init@1, print *v_int_array_init@2)
9300 (print v_int_array_init[0]@1, print v_int_array_init[0]@2)
9301 (print v_int_array_init[1]@1): New tests.
9302
93032011-10-10 Joseph Myers <joseph@codesourcery.com>
9304
9305 * gdb.cp/gdb2495.exp: Do not include directories in filename in
9306 expected message.
9307
93082011-10-09 Doug Evans <dje@google.com>
9309
9310 * gdb.base/alias.exp: Add tests for alias command.
9311
93122011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9313
9314 * gdb.arch/amd64-entry-value.s: New file.
9315 * gdb.mi/mi2-amd64-entry-value.s: New file.
9316
93172011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9318
9319 Display @entry parameter values even for references.
9320 * gdb.arch/amd64-entry-value.cc (reference, datap, datap_input): New
9321 functions.
9322 (main): New variables regvar, nodatavarp, stackvar1, stackvar2. Call
9323 reference and datap_input.
9324 * gdb.arch/amd64-entry-value.exp (reference, breakhere_reference): New
9325 breakpoints.
9326 (continue to breakpoint: entry_reference: reference)
9327 (entry_reference: bt at entry)
9328 (continue to breakpoint: entry_reference: breakhere_reference)
9329 (entry_reference: bt, entry_reference: ptype regparam)
9330 (entry_reference: p regparam, entry_reference: ptype regparam@entry)
9331 (entry_reference: p regparam@entry, entry_reference: p &regparam@entry)
9332 (entry_reference: p regcopy, entry_reference: p nodataparam)
9333 (entry_reference: p nodataparam@entry): New tests.
9334
93352011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9336
9337 Support @entry in input expressions.
9338 * gdb.arch/amd64-entry-value.exp (entry: p i@entry, entry: p j@entry)
9339 (entry_stack: p s1@entry, entry_stack: p s2@entry)
9340 (entry_stack: p d9@entry, entry_stack: p da@entry, tailcall: p i@entry)
9341 (tailcall: p j@entry): New tests.
9342 * gdb.cp/koenig.cc (A::entry): New function.
9343 (main): Call it.
9344 * gdb.cp/koenig.exp (p entry (c)): New test.
9345
93462011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9347
9348 Display @entry parameter values (without references).
9349 * gdb.arch/amd64-entry-value.cc (locexpr, stacktest, data, data2)
9350 (different, validity, invalid): New functions.
9351 (main): Call them.
9352 * gdb.arch/amd64-entry-value.exp: New breakpoints breakhere_locexpr,
9353 stacktest, breakhere_stacktest, different, breakhere_different,
9354 breakhere_validity and breakhere_invalid.
9355 (entry: bt): Update for @entry.
9356 (entry_locexpr: *, entry_stack: *, entry_equal: *, entry_different: *)
9357 (entry_validity: *, entry_invalid: *): Many new tests.
9358 * gdb.base/break.exp
9359 (run until breakpoint set at small function, optimized file): Accept
9360 also the @entry suffix.
9361 * gdb.mi/Makefile.in (PROGS): Add mi2-amd64-entry-value.
9362 * gdb.mi/mi2-amd64-entry-value.c: New files.
9363 * gdb.mi/mi2-amd64-entry-value.exp: New files.
9364
93652011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9366
9367 Protect entry values against self tail calls.
9368 * gdb.arch/amd64-entry-value.cc (self2, self): New.
9369 (main): Call self.
9370 * gdb.arch/amd64-entry-value.exp (self: breakhere, self: bt)
9371 (set debug entry-values 1, self: bt debug entry-values): New tests.
9372
93732011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9374
9375 Recognize virtual tail call frames.
9376 * gdb.arch/amd64-entry-value.cc (c, a, b, amb_z, amb_y, amb_x, amb)
9377 (amb_b, amb_a): New.
9378 (main): Call a and b.
9379 * gdb.arch/amd64-entry-value.exp (tailcall: breakhere, tailcall: bt)
9380 (tailcall: p i, tailcall: p j, set $sp0=$sp, up, p $sp0 == $sp, frame 3)
9381 (p $sp0 + sizeof (void *) == $sp, ambiguous: breakhere, ambiguous: bt):
9382 New tests.
9383
93842011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9385
9386 Implement basic support for DW_TAG_GNU_call_site.
9387 * gdb.arch/Makefile.in (EXECUTABLES): Add amd64-entry-value.
9388 * gdb.arch/amd64-entry-value.cc: New file.
9389 * gdb.arch/amd64-entry-value.exp: New file.
9390
93912011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9392
9393 Fix DW_OP_GNU_implicit_pointer for DWARF32 v3+ on 64-bit arches.
9394 * gdb.dwarf2/implptr-64bit.S: New file.
9395 * gdb.dwarf2/implptr-64bit.exp: New file.
9396
93972011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9398
9399 Fix initial language detection with -readnow.
9400 * gdb.cp/readnow-language.cc: New file.
9401 * gdb.cp/readnow-language.exp: New file.
9402
94032011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9404
9405 Fix printed anonymous struct name.
9406 * gdb.cp/anon-struct.exp (print type of X::t2): New test.
9407
94082011-10-09 Joseph Myers <joseph@codesourcery.com>
9409
9410 * gdb.base/solib-symbol.exp: Do not include directories in
9411 filenames in expected messages.
9412
94132011-10-07 Doug Evans <dje@google.com>
9414
9415 * gdb.python/py-pp-maint.py: Add tests for `replace' arg.
9416
94172011-10-07 Kevin Pouget <kevin.pouget@st.com>
9418
9419 Allow Python notification of new object-file loadings.
9420 * gdb.python/py-events.exp: Test newobjfile event.
9421 * gdb.python/py-events.py: Register newobjfile callback.
9422 * gdb.python/py-events.c: Add call to shared library
9423 * gdb.python/py-events-shlib.c: New file.
9424
94252011-10-06 Joseph Myers <joseph@codesourcery.com>
9426
9427 * gdb.base/fixsection.exp: Do not include directories in filename
9428 in expected message.
9429
94302011-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
9431
9432 Add tests for passing of environment variables to inferior.
9433 * gdb.base/testenv.c: New test source.
9434 * gdb.base/testenv.exp: New expect test.
9435
94362011-10-04 Paul Koning <paul_koning@dell.com>
9437
9438 * gdb.python/py-value.c (main): Break before return.
9439
94402011-10-04 Kevin Pouget <kevin.pouget@st.com>
9441
9442 PR python/12691: Add the inferior to Python exited event
9443 * gdb.python/py-events.exp: Test the inferior attribute of exited
9444 event with a fork.
9445 * gdb.python/py-events.py: Print inferior number on exit.
9446 * gdb.python/py-events.c: Fork the inferior.
9447
94482011-10-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
9449
9450 * gdb.base/jit.exp: Add testcase name to log message
9451
94522011-10-03 Paul Koning <paul_koning@dell.com>
9453 Jan Kratochvil <jan.kratochvil@redhat.com>
9454
9455 * gdb.python/py-value.exp
9456 (python inval = gdb.parse_and_eval('*(int*)0'))
9457 (python argc_lazy = gdb.parse_and_eval('argc'), sanity check argc)
9458 (set argc=2, python print argc_lazy): New tests.
9459
94602011-10-02 Joel Brobecker <brobecker@adacore.com>
9461
9462 * gdb.base/save-bp.exp, gdb.base/save-bp.c: New files.
9463
94642011-10-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9465 Pedro Alves <pedro@codesourcery.com>
9466
9467 * gdb.python/py-value.exp (test_value_in_inferior): New variable
9468 can_read_0, test for it.
9469 (python print gdb.parse_and_eval('*(int*)0')): Rename to ...
9470 (parse_and_eval with memory error): ... here, make it untested if
9471 can_read_0.
9472
94732011-09-30 Marek Polacek <mpolacek@redhat.com>
9474
9475 * gdb.python/python.exp (verify pagination beforehand)
9476 (verify pagination afterwards): Fix race by splitting the line.
9477
94782011-09-29 Joseph Myers <joseph@codesourcery.com>
9479
9480 * lib/gdb.exp (is_amd64_regs_target, is_x86_like_target): Allow
9481 for 64-bit multilibs from i?86-* targets.
9482
94832011-09-29 Marek Polacek <mpolacek@redhat.com>
9484
9485 * lib/gdb.exp: Fix a typo in one of the comments.
9486
94872011-09-29 Marek Polacek <mpolacek@redhat.com>
9488
9489 * gdb.base/foll-fork.exp: Fix race by adding "y or n" to the
9490 matching pattern.
9491
94922011-09-28 Paul Koning <paul_koning@dell.com>
9493
9494 * gdb.python/py-type.c (enum E): New.
9495 * gdb.python/py-type.exp (test_fields): Add tests for Python
9496 mapping access to fields.
9497 (test_enums): New test for field access on enums.
9498
94992011-09-27 Stan Shebs <stan@codesourcery.com>
9500
9501 * gdb.trace/collection.exp: Test collection of $_ret.
9502
95032011-09-22 Andreas Tobler <andreast@fgznet.ch>
9504
9505 * lib/gdb.exp (gdb_compile): Set rpath and remove -ldl from the
9506 list of compilation switches for <*-*-freebsd*>.
9507
95082011-09-19 Stan Shebs <stan@codesourcery.com>
9509
9510 * gdb.trace/tspeed.exp: New file.
9511 * gdb.trace/tspeed.c: New file.
9512
95132011-09-18 Yao Qi <yao@codesourcery.com>
9514
9515 * gdb.arch/arm-disp-step.S (test_ldr_literal): Test for Thumb
9516 instructions.
9517 (test_adr_32bit, test_pop_pc): Likewise.
9518 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New test for
9519 Thumb instructions.
9520 * gdb.arch/arm-disp-step.exp (test_ldm_stm_pc): Match $gdb_prompt
9521 in gdb_test_multiple.
9522 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New.
9523
95242011-09-17 Yao Qi <yao@codesourcery.com>
9525
9526 * lib/gdb.exp (can_single_step_to_signal_handler): New.
9527 * gdb.base/kill-after-signal.exp: Call it. Skip if target doesn't
9528 support single step to signal handler.
9529
95302011-09-17 Yao Qi <yao@codesourcery.com>
9531
9532 * gdb.base/disp-step-fork.c: New.
9533 * gdb.base/disp-step-syscall.exp: New.
9534 * gdb.base/disp-step-vfork.c: New.
9535
95362011-09-16 Joel Brobecker <brobecker@adacore.com>
9537
9538 * gdb.ada/tasks.exp: Make the expected output for
9539 the `info tasks' tests more resilient to spacing
9540 changes.
9541
95422011-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9543
9544 * gdb.python/py-evthreads.exp (Run to breakpoint 1)
9545 (reached breakpoint 2, reached breakpoint 3): Update expected output.
9546
95472011-09-15 Kevin Pouget <kevin.pouget@st.com>
9548
9549 PR Python/12692 Add gdb.selected_inferior() to Python interface.
9550 * gdb.python/py-inferior.exp: Add testcase for gdb.selected_inferior().
9551
95522011-04-30 Kevin Pouget <kevin.pouget@st.com>
9553
9554 Handle multiple breakpoint hits in Python interface:
9555 * gdb.python/py-events.exp: Set a duplicate breakpoint and check its
9556 presence.
9557 * gdb.python/py-events.py (breakpoint_stop_handler): Browse all the
9558 breakpoint hits.
9559
95602011-09-13 Sami Wagiaalla <swagiaal@redhat.com>
9561 Jan Kratochvil <jan.kratochvil@redhat.com>
9562
9563 * gdb.python/py-events.exp: Remove pretty printing comment.
9564 * gdb.python/py-evsignal.exp: New file.
9565 * gdb.python/py-evthreads.c: Include signal.h.
9566 (thread3): Remove variable count3. Remove variable bad and use raise
9567 instead.
9568 (thread2): Remove variable count2. Move thread3 pthread_create here,
9569 merge pthread_join to a single line.
9570 (main): Remove variable count1. Merge pthread_join with pthread_create
9571 to a single line.
9572 * gdb.python/py-evthreads.exp: Remove pretty printing comment. New
9573 KFAIL python/12966 for gdbserver. Test return value of
9574 gdb_compile_pthreads. Use gdb_run_cmd. Replace send_gdb and
9575 gdb_expect by gdb_test and gdb_test_multiple.
9576 (thread 2, thread 3): New tests.
9577
95782011-09-12 Matt Rice <ratmice@gmail.com>
9579 Pedro Alves <pedro@codesourcery.com>
9580
9581 PR gdb/13175
9582
9583 * gdb.base/interp.exp: New tests.
9584 * gdb.base/interp.c: New file.
9585
95862011-09-12 Doug Evans <dje@google.com>
9587
9588 * gdb.dwarf2/clztest.exp: Fix initialization of tests array.
9589 * gdb.dwarf2/typeddwarf.exp: Ditto.
9590
95912011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9592
9593 Fix compatibility with x32 arch.
9594 * testsuite/gdb.dwarf2/typeddwarf.exp: Check also is_lp64_target.
9595 * testsuite/gdb.trace/backtrace.exp: Use is_amd64_regs_target and
9596 is_x86_like_target.
9597 * testsuite/gdb.trace/collection.exp: Likewise.
9598 * testsuite/gdb.trace/report.exp: Likewise.
9599 * testsuite/gdb.trace/unavailable.exp: Likewise.
9600 * testsuite/gdb.trace/while-dyn.exp: Likewise.
9601 * testsuite/lib/gdb.exp (is_amd64_regs_target): New function.
9602 (is_x86_like_target): Check also is_amd64_regs_target.
9603
96042011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9605
9606 PR breakpoints/12435
9607 * gdb.arch/amd64-prologue-xmm.c: New file.
9608 * gdb.arch/amd64-prologue-xmm.exp: New file.
9609 * gdb.arch/amd64-prologue-xmm.s: New file.
9610
96112011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9612
9613 * gdb.dwarf2/dw2-param-error-main.c: New file.
9614 * gdb.dwarf2/dw2-param-error.S: New file.
9615 * gdb.dwarf2/dw2-param-error.exp: New file.
9616
96172011-09-08 Pedro Alves <pedro@codesourcery.com>
9618
9619 * gdb.base/annota1.exp, gdb.base/annota3.exp: Extract the
9620 inferior's pid and look for a core dump named core.$pid. Use
9621 `remote_file' commands on the host instead of hand coding shell
9622 commands on the build.
9623 * gdb.base/valgrind-db-attach.exp: Kill the program before
9624 finishing the test.
9625
96262011-09-02 Matt Rice <ratmice@gmail.com>
9627
9628 * lib/prompt.exp: New file for testing the first prompt.
9629 * gdb.python/py-prompt.exp: Ditto.
9630 * gdb.python/py-prompt.c: Ditto (copy of ext-attach.c).
9631
96322011-09-02 Pedro Alves <pedro@codesourcery.com>
9633
9634 * gdb.threads/gcore-thread.exp: Set the global core_supported to
9635 0, before testing gcore.
9636
96372011-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9638
9639 * dw2-ifort-parameter-debug.S: Update copyright year.
9640 * dw2-ifort-parameter.c: Update copyright year.
9641 * dw2-ifort-parameter.exp: Update copyright year.
9642
9643 * dw2-ifort-parameter-debug.S: New file.
9644 * dw2-ifort-parameter.c: New file.
9645 * dw2-ifort-parameter.exp: New file.
9646
96472011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
9648
9649 * gdb.base/commands.exp (error_clears_commands_left): New function.
9650 (): Call it.
9651
96522011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
9653
9654 * gdb.mi/mi-inheritance-syntax-error.cc (A): Make `a' public.
9655 (C): Initialize `a'.
9656 * gdb.mi/mi-inheritance-syntax-error.exp
9657 (-data-evaluate-expression $path): Expect `a' as 5.
9658
96592011-08-26 Marc Khouzam <marc.khouzam@ericsson.com>
9660
9661 PR mi/11912
9662 * gdb.mi/mi-inheritance-syntax-error.cc: New file.
9663 * gdb.mi/mi-inheritance-syntax-error.exp: New file.
9664 * gdb.mi/mi-var-cp.cc: Updated for new 'class'
9665 keyword in output of -var-info-path-expression.
9666
96672011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
9668
9669 * gdb.trace/backtrace.exp: Use is_lp64_target to check 64bit target.
9670 * gdb.trace/collection.exp: Likewise.
9671 * gdb.trace/report.exp: Likewise.
9672 * gdb.trace/unavailable.exp: Likewise.
9673 * gdb.trace/while-dyn.exp: Likewise.
9674
96752011-08-18 Keith Seitz <keiths@redhat.com>
9676
9677 PR c++/12266
9678 * gdb.cp/meth-typedefs.cc: New file.
9679 * gdb.cp/meth-typedefs.exp: New file.
9680
96812011-08-17 Phil Muldoon <pmuldoon@redhat.com>
9682
9683 * gdb.python/python.exp: Add extended-prompt tests.
9684
96852011-08-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9686
9687 * gdb.arch/i386-dr3-watch.exp
9688 (watchpoint on gap1 does not fit debug registers)
9689 (delete all watchpoints): Fix racy expect strings.
9690
96912011-08-14 Yao Qi <yao@codesourcery.com>
9692
9693 * gdb.base/maint.exp: set data_section to ".neardata".
9694 * gdb.base/savedregs.c (thrower): Trigger SIGILL on NO-MMU machine.
9695 * gdb.base/savedregs.exp: Handle SIGILL.
9696 * gdb.mi/mi-syn-frame.c (bar): Trigger SIGILL on NO-MMU machine.
9697 * gdb.xml/tdesc-regs.exp: Set core-regs for tic6x-*-*.
9698
96992011-08-12 Doug Evans <dje@google.com>
9700
9701 * gdb.python/py-symbol.exp: Add test for symbol.type.
9702
97032011-08-12 Ulrich Weigand <ulrich.weigand@linaro.org>
9704
9705 * gdb.threads/pthreads.exp: Enable on non-native configurations.
9706 * gdb.mi/mi-pthreads.exp: Likewise.
9707 * gdb.mi/mi2-pthreads.exp: Likewise.
9708 * gdb.mi/gdb669.exp.exp: Likewise.
9709
97102011-08-09 Pedro Alves <pedro@codesourcery.com>
9711
9712 * lib/mi-support.exp (detect_async): Rename to...
9713 (mi_detect_async): ... this.
9714 * gdb.mi/mi-nonstop-exit.exp: Adjust.
9715 * gdb.mi/mi-nonstop.exp: Adjust.
9716 * gdb.mi/mi-ns-stale-regcache.exp: Adjust.
9717 * gdb.mi/mi-nsintrall.exp: Adjust.
9718 * gdb.mi/mi-nsmoribund.exp: Adjust.
9719 * gdb.mi/mi-nsthrexec.exp: Adjust.
9720
97212011-08-09 Pedro Alves <pedro@codesourcery.com>
9722
9723 * gdb.base/display.c (do_loops): New `p_i' local.
9724 * gdb.base/display.exp: Test displaying a variable that is
9725 temporarily at a bad address.
9726
97272011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9728
9729 * gdb.dwarf2/dw2-op-stack-value.S: New file.
9730 * gdb.dwarf2/dw2-op-stack-value.exp: New file.
9731
97322011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9733
9734 * gdb.dwarf2/dw2-simple-locdesc.S: Replace .value by .2byte.
9735 * gdb.dwarf2/dw2-case-insensitive.exp (regexp case-sensitive off)
9736 (p fuNC_symtab): Permit also ppc64 leading dot.
9737
97382011-08-05 Pedro Alves <pedro@codesourcery.com>
9739
9740 * gdb.trace/unavailable.exp (test_maybe_regvar_display): New
9741 procedure.
9742 (gdb_collect_args_test, gdb_collect_locals_test): Use it.
9743
97442011-08-05 Yao Qi <yao@codesourcery.com>
9745
9746 * gdb.base/callfuncs.exp: Set language after main.
9747 * gdb.cp/cplusfuncs.exp: Likewise.
9748 * gdb.cp/inherit.exp: Likewise.
9749
97502011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
9751
9752 * gdb.base/nostdlib.exp: Skip on gdb_stub targets.
9753 * gdb.base/watch-vfork.exp: Skip on remote targets.
9754
97552011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
9756
9757 * gdb.threads/thread-find.exp: Support remote targets.
9758
97592011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
9760
9761 * gdb.base/jit.exp: Download solib_binfile to target.
9762 * gdb.base/jit-so.exp: Likewise. Also, use gdb_load_shlibs
9763 and call dlopen without full path name.
9764 * gdb.cp/infcall-dlopen.exp: Use gdb_load_shlibs and call
9765 dlopen without full path name.
9766
97672011-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9768
9769 * gdb.base/break-always.exp: Complete the test
9770 with duplicated breakpoints and enabling/disabling them.
9771
97722011-08-02 Tom Tromey <tromey@redhat.com>
9773
9774 PR gdb/11289:
9775 * gdb.cp/overload.exp: Fix regexps. Remove kfails.
9776
97772011-08-01 Paul Pluzhnikov <ppluzhnikov@google.com>
9778
9779 PR gdb/13045
9780 * gdb.base/float.exp: Add new test case for PR gdb/13045
9781 * gdb.base/float.c: New file.
9782
97832011-07-28 Phil Muldoon <pmuldoon@redhat.com>
9784
9785 * gdb.python/py-mi.exp: Test printers returning string hint, and
9786 also not returning a value.
9787 * gdb.python/py-prettyprint.c: Add testcase for above.
9788 * gdb.python/py-prettyprint.py: Add test printer for above.
9789
97902011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
9791
9792 * gdb.dwarf2/dw2-simple-locdesc.S: Change DWARF version to 3.
9793 (.Ldie26, .Ldie41, .Ldie4a, .Ldie54, .Ldie5b): Remove.
9794 (.Ldie30) Add as field "data4".
9795 (.Ldie32) Rename field "b" to "shl".
9796 (abbrev4) Change for the "data4" field.
9797 (abbrev5, abbrev6) Remove.
9798 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.b): Rename to ...
9799 (p &s.shl): ... here. Add comment.
9800 (p &s.data4): New.
9801
98022011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
9803
9804 Fix crash on lval_computed values.
9805 * gdb.dwarf2/implptr.exp (print sizeof (j[0])): New test.
9806
98072011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
9808
9809 * gdb.base/help.exp (help whatis): Update the expected string.
9810
98112011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
9812
9813 * gdb.dwarf2/dw2-simple-locdesc.S: New file.
9814 * gdb.dwarf2/dw2-simple-locdesc.exp: New file.
9815 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
9816 Change the expected string.
9817
98182011-07-26 Pedro Alves <pedro@codesourcery.com>
9819
9820 * gdb.base/watchpoint.exp
9821 (test_disable_enable_software_watchpoint): New procedure.
9822 (top level): Run it.
9823
98242011-07-26 Ulrich Weigand <ulrich.weigand@linaro.org>
9825
9826 * gdb.python/py-mi.exp: Avoid '+' in filenames. Call C version of
9827 executable file "${binfile}", C++ version "${binfile}-cxx".
9828 * gdb.python/py-prettyprint.exp: Likewise.
9829 * gdb.python/py-symbol.exp: Likewise.
9830 * gdb.python/py-type.exp: Likewise.
9831 * gdb.python/py-value.exp: Likewise.
9832 * gdb.python/py-template.exp (test_template_arg): Pass full executable
9833 file name instead of just suffix.
9834
98352011-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9836
9837 Fix implicit pointer offsets.
9838 * gdb.dwarf2/implptr.c (add): New marker baz breakpoint.
9839 * gdb.dwarf2/implptr.exp (set baz breakpoint for implptr)
9840 (continue to breakpoint: continue to baz breakpoint for implptr)
9841 (sanity check element 0, sanity check element 1)
9842 (enter the inlined function, check element 0 for the offset)
9843 (check element 1 for the offset)
9844 (continue to breakpoint: ignore the second baz breakpoint): New tests.
9845 (set foo breakpoint for implptr): Update the breakpoint number.
9846
98472011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
9848
9849 * gdb.python/py-mi.exp: Use different file names for different
9850 versions of the executable under test.
9851 * gdb.python/py-prettyprint.exp: Likewise.
9852 * gdb.python/py-symbol.exp: Likewise.
9853 * gdb.python/py-template.exp: Likewise.
9854 * gdb.python/py-type.exp: Likewise.
9855 * gdb.python/py-value.exp: Likewise.
9856
98572011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
9858
9859 * gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
9860 flag after restarting GDB if necessary.
9861
98622011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
9863
9864 * gdb.python/py-shared.exp: Call gdb_load_shlibs.
9865
98662011-07-22 Pedro Alves <pedro@codesourcery.com>
9867
9868 * gdb.arch/i386-dr3-watch.exp: Test that the i386 watchpoints
9869 backend doesn't leave used debug registers behind.
9870
98712011-07-22 Tom Tromey <tromey@redhat.com>
9872
9873 * gdb.dwarf2/typeddwarf.c: XFAIL 'z' on x86-64.
9874 * gdb.dwarf2/typeddwarf.exp (xfail-gdb-test): Add arch_pattern
9875 argument.
9876 * gdb.dwarf2/typeddwarf-amd64.S: New file.
9877
98782011-07-21 Matt Rice <ratmice@gmail.com>
9879
9880 * gdb.threads/Makefile.in: Avoid globbing corethreads.exp
9881 in mostlyclean rule. Add files ending in .core.
9882
98832011-07-21 Matt Rice <ratmice@gmail.com>
9884
9885 PR macros/12999
9886 * gdb.base/info-macros.c: New test sources.
9887 * gdb.base/info-macros.exp: New tests.
9888
98892011-07-21 Phil Muldoon <pmuldoon@redhat.com>
9890
9891 * gdb.python/python.exp: Add prompt substitution tests.
9892
98932011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
9894
9895 Fix crash if referenced CU is aged out.
9896 * gdb.dwarf2/dw2-op-call.exp (maintenance set dwarf2 max-cache-age 0):
9897 New.
9898 * gdb.dwarf2/implptr.exp: Likewise.
9899
99002011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
9901
9902 * gdb.dwarf2/implptr.S: Rebuilt.
9903 * gdb.dwarf2/implptr.c (intp, intpp, intppp): New typedefs.
9904 (bar): Use them for j, k, l.
9905 * gdb.dwarf2/implptr.exp: New variable opts. Support runtest parameter
9906 COMPILE.
9907 (print j in implptr:bar): Update for the intp typedef.
9908 (print p[0].x in implptr:foo): Use more exact regex.
9909
99102011-07-18 Tom Tromey <tromey@redhat.com>
9911
9912 * gdb.cp/static-method.exp: Add missing single quote.
9913
99142011-07-18 Yao Qi <yao@codesourcery.com>
9915
9916 * gdb.base/async-shell.exp: Skip test if displaced stepping is not
9917 supported.
9918 * gdb.mi/mi-nonstop-exit.exp: Likewise.
9919 * gdb.mi/mi-nonstop.exp: Likewise.
9920 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
9921 * gdb.mi/mi-nsintrall.exp: Likewise.
9922 * gdb.mi/mi-nsmoribund.exp: Likewise.
9923 * gdb.mi/mi-nsthrexec.exp: Likewise.
9924 * gdb.python/py-evthreads.exp: Likewise.
9925
99262011-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9927
9928 Code cleanup.
9929 * gdb.cp/namespace.exp (xfail_class_types): New variable. Initialize
9930 it. Substitute it instead of test_compiler_info everywhere.
9931
99322011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
9933
9934 * gdb.base/type-opaque.exp: Use gdb_load_shlibs. Run test on
9935 remote targets as well.
9936
99372011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
9938
9939 * lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
9940 * gdb.threads/tls-shared.exp: Use it. Call gdb_load_shlibs.
9941
99422011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
9943
9944 * lib/gdb.exp (gdb_compile): Specify rpath if the *target* is
9945 a remote machine, not the host.
9946 (gdb_compile_shlib): Set soname if target is remote.
9947
99482011-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
9949
9950 * gdb.cp/minsym-fallback.exp: Link in C++ mode.
9951
99522011-07-13 Matt Rice <ratmice@gmail.com>
9953
9954 * gdb.python/py-objfile-script-gdb.py: Renamed to
9955 py-objfile-script-gdb.py.in.
9956 * gdb.python/py-objfile-script-gdb.py.in: Renamed from
9957 py-objfile-script-gdb.py.
9958 * gdb.python/py-objfile-script.exp: Update reference to
9959 py-objfile-script-gdb.py.
9960
99612011-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9962
9963 * gdb.dwarf2/dw2-op-call.S (array1): Use the real label; do not
9964 reference undefined label.
9965
99662011-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9967
9968 * gdb.dwarf2/dw2-const.S (Pointer size): Change from 4 to 8.
9969 (DW_AT_high_pc, DW_AT_low_pc): Remove them.
9970 (val8, .Ltype_const8, .Ltype_int8, DW_TAG_variable): New.
9971 * gdb.dwarf2/dw2-const.exp (print/x val8): New test.
9972
99732011-07-11 Phil Muldoon <pmuldoon@redhat.com>
9974
9975 PR python/12438
9976 * gdb.python/python.exp: Add maint set/show python print-stack
9977 deprecated tests. Add set/show python print-backtrace tests.
9978
99792011-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9980
9981 * gdb.java/jprint.exp (print a java.lang.String): xfail without system
9982 debug info.
9983
99842011-07-06 Matt Rice <ratmice@gmail.com>
9985
9986 * gdb.python/python.exp: Update filename paths.
9987 * gdb.python/py-symtab.exp: Ditto.
9988
99892011-07-06 Marek Polacek <mpolacek@redhat.com>
9990
9991 * gdb.python/py-evthreads.exp: Add missing `$'.
9992
99932011-07-06 Jie Zhang <jie.zhang@analog.com>
9994
9995 * config/bfin.exp: New file.
9996 * gdb.asm/asm-source.exp (bfin-*-*): Handle Blackfin targets.
9997 * gdb.asm/bfin.inc: New file.
9998
99992011-07-06 Marek Polacek <mpolacek@redhat.com>
10000
10001 * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
10002 the whole output.
10003
100042011-07-05 Tom Tromey <tromey@redhat.com>
10005
10006 * gdb.java/jprint.java (jprint.hi): New field.
10007 * gdb.java/jprint.exp: Print string.
10008
100092011-07-05 Thiago Jung Bauermann <bauerman.ibm.com>
10010
10011 * gdb.base/call-sc.c: Fix typos.
10012 * gdb.base/ifelse.exp: Likewise.
10013 * gdb.base/structs.c: Likewise.
10014
100152011-07-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10016
10017 * gdb.base/jit-so.exp: New test.
10018 * gdb.base/jit-dlmain.c: New file.
10019 * gdb.base/jit-main.c: Allow "main" to be elsewhere.
10020
100212011-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10022
10023 * gdb.cp/m-static.exp: Call get_compiler_info.
10024 (static const int initialized nowhere): Call setup_xfail for gcc <= 4.4.
10025 * gdb.cp/pr9167.exp (p b): Likewise.
10026 * gdb.cp/temargs.exp: Do not set have_pr_45024_fixed for gcc 4.6.
10027 (test value of P in inner_m, test type of Z in inner_m): Call
10028 setup_xfail for gcc <= 4.5.
10029
100302011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
10031
10032 * gdb.cp/paren-type.cc: New files.
10033 * gdb.cp/paren-type.exp: New files.
10034
100352011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
10036
10037 Stop on first linespec terminator instead of eating what we can.
10038 * gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
10039 * gdb.cp/minsym-fallback.cc (C::operator ()): Define.
10040 * gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
10041 (break C::f()): ... this one.
10042 (break C::operator()()): New test.
10043 * gdb.cp/minsym-fallback.h (C::operator ()): Declare.
10044 * gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
10045 test.
10046
100472011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
10048
10049 Fall back linespec to minimal symbols.
10050 * gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
10051 error message.
10052 * gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
10053 * gdb.cp/minsym-fallback-main.cc: New file.
10054 * gdb.cp/minsym-fallback.cc: New file.
10055 * gdb.cp/minsym-fallback.exp: New file.
10056 * gdb.cp/minsym-fallback.h: New file.
10057
100582011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
10059
10060 * gdb.cp/no-dmgl-verbose.cc: New file.
10061 * gdb.cp/no-dmgl-verbose.exp: New file.
10062
100632011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
10064
10065 * gdb.base/break-interp.exp (reach_1, test_ld): Allow also the prefix
10066 __GI_.
10067 * gdb.cp/psymtab-parameter.cc (func): Make it a template function.
10068 (f): New function.
10069 * gdb.cp/psymtab-parameter.exp (complete break 'func(): Rename to ...
10070 (complete p 'func<short>(): ... here.
10071 * gdb.dwarf2/dw2-linkage-name-trust-main.cc: New file.
10072 * gdb.dwarf2/dw2-linkage-name-trust.S: New file.
10073 * gdb.dwarf2/dw2-linkage-name-trust.exp: New file.
10074 * gdb.cp/temargs.exp (test type of F in k3_m, test value of F in k3_m):
10075 Make them KFAIL gcc/49546.
10076
100772011-07-01 Joel Brobecker <brobecker@adacore.com>
10078
10079 * gdb.ada/catch_ex.exp: Add temporary catchpoint tests.
10080
100812011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
10082
10083 Test GCC PR debug/49546.
10084 * gdb.cp/temargs.exp (set sixth breakpoint for temargs)
10085 (test type of F in k3_m, test value of F in k3_m): New.
10086 * gdb.cp/temargs.cc (struct S3, struct K3): New.
10087 (main): New variable k3. Call k3.k3_m.
10088
100892011-07-01 Jean-Charles Delay <delay@adacore.com>
10090
10091 * gdb.ada/packed_array.exp: Fix expected outout.
10092
100932011-07-01 Jean-Charles Delay <delay@adacore.com>
10094
10095 * gdb.ada/packed_array.exp: fixed expected output.
10096
100972011-07-01 Joel Brobecker <brobecker@adacore.com>
10098
10099 * gdb.ada/same_enum: New testcase.
10100
101012011-07-01 Joel Brobecker <brobecker@adacore.com>
10102
10103 * gdb.ada/ptr_typedef: New testcase.
10104
101052011-07-01 Joel Brobecker <brobecker@adacore.com>
10106
10107 * gdb.ada/arrayptr.exp: Add ptype test.
10108
101092011-07-01 Joel Brobecker <brobecker@adacore.com>
10110
10111 * gdb.ada/char_enum: New testcase.
10112
101132011-07-01 Yao Qi <yao@codesourcery.com>
10114
10115 * gdb.base/dump.exp (capture_pointer_with_type): New.
10116 Get value from address instead of name.
10117 Start GDB once, and do `dump' and `restore'
10118 tests together.
10119
101202011-06-30 Jie Zhang <jie.zhang@analog.com>
10121 Mike Frysinger <vapier@gentoo.org>
10122
10123 * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
10124 helper functions for getting/setting remotetimeout variable.
10125 * lib/gdb.exp (gdb_load): If the target is remote, set
10126 $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
10127 with $loadtimeout. Set $load_ok to 0 before doing the load.
10128 Instead of returning, immediately, set $load_ok to 0. Call
10129 set_remotetimeout with $oldremotetimeout, and then return if
10130 $load_ok is 1.
10131
101322011-06-30 Andrew Burgess <aburgess@broadcom.com>
10133
10134 * gdb.python/py-template.exp: Don't run this test if the target
10135 does not support c++ tests.
10136
101372011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
10138
10139 Fix non-only rename list for Fortran modules import.
10140 * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
10141 tests.
10142 * gdb.fortran/module.f90 (module moduse): New.
10143 (program module): use moduse, test var_x, var_y and var_z.
10144
101452011-06-29 Tom Tromey <tromey@redhat.com>
10146
10147 PR testsuite/12040:
10148 * gdb.fortran/array-element.exp: Use f90, not f77.
10149 * gdb.fortran/complex.exp: Use f90, not f77.
10150 * gdb.fortran/derived-type.exp: Use f90, not f77.
10151 * gdb.fortran/library-module.exp: Use f90, not f77.
10152 * gdb.fortran/logical.exp: Use f90, not f77.
10153 * gdb.fortran/module.exp: Use f90, not f77.
10154 * gdb.fortran/multi-dim.exp: Use f90, not f77.
10155 * gdb.fortran/subarray.exp: Use f90, not f77.
10156
101572011-06-29 Tom Tromey <tromey@redhat.com>
10158
10159 * gdb.fortran/charset.exp: New file.
10160 * gdb.fortran/charset.f90: New file.
10161
101622011-06-29 Tom Tromey <tromey@redhat.com>
10163
10164 PR testsuite/12040:
10165 * lib/future.exp: New file, mostly extracted from ada.exp.
10166 Rewrote compatibility code to use rename.
10167 (gdb_find_gfortran): New proc.
10168 (gdb_default_target_compile): Refresh from dejagnu; plus a pending
10169 gfortran patch.
10170 * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
10171 Move to future.exp.
10172 * lib/gdb.exp: Always load future.exp.
10173
101742011-06-28 Yao Qi <yao@codesourcery.com>
10175
10176 * gdb.cp/exception.cc: Don't include iostream.
10177 (bar): Remove print statement.
10178 (catcher): New.
10179 (main): Remove print statements. Call function catcher.
10180 * gdb.cp/exception.exp : Don't match inferior's output in regexp.
10181 Set breakpoint on catcher, and check the value of parameter.
10182
101832011-06-23 Yao Qi <yao@codesourcery.com>
10184
10185 * gdb.cp/mb-inline.exp: Parse the output of `info break' to check
10186 breakpoint 1.2 is disabled. KFAIL for uclinux.
10187
101882011-06-23 Marek Polacek <mpolacek@redhat.com>
10189
10190 * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
10191 mi_gdb_test.
10192
101932011-06-23 Marek Polacek <mpolacek@redhat.com>
10194
10195 * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
10196
101972011-06-23 Marek Polacek <mpolacek@redhat.com>
10198
10199 * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
10200
102012011-06-23 Marek Polacek <mpolacek@redhat.com>
10202
10203 * gdb.mi/mi2-basics.exp: Fix races. Honour the
10204 `test_exec_and_symbol_mi_operatons' return value.
10205 (test_mi_interpreter_selection): Use mi_gdb_test instead of
10206 gdb_test_multiple.
10207 (test_exec_and_symbol_mi_operatons): Likewise.
10208 (test_path_specification): Likewise.
10209
102102011-06-23 Yao Qi <yao@codesourcery.com>
10211
10212 * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
10213 supported.
10214 * lib/gdb.exp (support_displaced_stepping): New.
10215
102162011-06-23 Yao Qi <yao@codesourcery.com>
10217
10218 * gdb.threads/execl.exp: Skip on remote target.
10219
102202011-06-21 Marek Polacek <mpolacek@redhat.com>
10221
10222 * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
10223 mi_gdb_test.
10224
102252011-06-20 Marek Polacek <mpolacek@redhat.com>
10226
10227 * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
10228
102292011-06-20 Marek Polacek <mpolacek@redhat.com>
10230
10231 * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
10232 mi_gdb_test.
10233
102342011-06-20 Marek Polacek <mpolacek@redhat.com>
10235
10236 * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
10237
102382011-06-14 Yao Qi <yao@codesourcery.com>
10239
10240 gdb/testsuite/
10241 * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
10242
102432011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
10244
10245 * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
10246
102472011-06-10 Tom Tromey <tromey@redhat.com>
10248
10249 * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
10250 Add tests for pointer-to-member-function.
10251 * gdb.cp/temargs.cc (S::somefunc): New function.
10252 (K2): New class.
10253 (main): Instantiate K2; call method.
10254
102552011-06-08 Joel Brobecker <brobecker@adacore.com>
10256
10257 * gdb.python/py-inferior.c (f2): Make str an array rather
10258 than a pointer.
10259 * gdb.python/py-inferior.exp: Adjust testcase accordingly.
10260
102612011-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10262
10263 * gdb.base/async-shell.c: New file.
10264 * gdb.base/async-shell.exp: New file.
10265
102662011-06-06 Pedro Alves <pedro@codesourcery.com>
10267
10268 * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
10269
102702011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix)
10271
10272 From Stephen Kitt <steve@sk2.org>
10273 * gdb.base/help.exp: Adjust following some spelling corrections
10274 in GDB.
10275
102762011-06-01 Yao Qi <yao@codesourcery.com>
10277
10278 * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
10279
102802010-05-31 Keith Seitz <keiths@redhat.com>
10281
10282 PR c++/12750
10283 * gdb.cp/static-method.cc: New file.
10284 * gdb.cp/static-method.exp: New file.
10285
102862010-05-31 Keith Seitz <keiths@redhat.com>
10287
10288 PR symtab/12704
10289 * gdb.cp/anon-ns.cc: New file.
10290 * gdb.cp/anon-ns.exp: New file.
10291
102922011-05-31 Pedro Alves <pedro@codesourcery.com>
10293
10294 * gdb.arch/i386-dr3-watch.c: New file.
10295 * gdb.arch/i386-dr3-watch.exp: New file.
10296
102972011-05-30 Yao Qi <yao@codesourcery.com>
10298
10299 * gdb.base/callfuncs.c (t_structs_fc): New.
10300 (t_structs_dc, t_structs_ldc): New.
10301 (t_double_many_args):
10302 (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
10303 (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
10304 (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
10305 * gdb.base/callfuncs.exp: Call new functions.
10306
103072011-05-30 Yao Qi <yao@codesourcery.com>
10308
10309 * gdb.base/callfuncs.exp (rerun_and_prepare): New.
10310 Call rerun_and_prepare for each test to isolate effects.
10311
103122011-05-30 Yao Qi <yao@codesourcery.com>
10313
10314 * gdb.base/varargs.c (find_max_float_real): New.
10315 (find_max_double_real, find_max_long_double_real): New.
10316 * gdb.base/varargs.exp: Call these new added functions.
10317 * lib/gdb.exp (setup_kfail_for_target): New.
10318
103192011-05-30 Yao Qi <yao@codesourcery.com>
10320
10321 * gdb.base/funcargs.c (callca, callcb, callcc): New.
10322 (callcd, callce, callcf, callc1a, callc1b): New.
10323 (callc2a, callc2b): New.
10324 * gdb.base/funcargs.exp (complex_args): New.
10325 (complex_integral_args, complex_float_integral_args): New.
10326 * lib/gdb.exp (support_complex_tests): New. Determine
10327 whether to run test cases on _Complex types.
10328
103292011-05-27 Jan Kratochvil <jan.kratochvil@redhat.com>
10330
10331 * gdb.threads/leader-exit.c: New file.
10332 * gdb.threads/leader-exit.exp: New file.
10333
103342011-05-27 Marek Polacek <mpolacek@redhat.com>
10335
10336 * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
10337
103382011-05-27 Marek Polacek <mpolacek@redhat.com>
10339
10340 * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
10341 remove the `supported' variable.
10342 * gdb.mi/mi-nonstop.exp: Likewise.
10343 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
10344 * gdb.mi/mi-nsintrall.exp: Likewise.
10345 * gdb.mi/mi-nsmoribund.exp: Likewise.
10346 * gdb.mi/mi-nsthrexec.exp: Likewise.
10347
103482011-05-26 Pedro Alves <pedro@codesourcery.com>
10349
10350 * gdb.reverse/finish-reverse-bkpt.exp: New test.
10351
103522011-05-26 Pedro Alves <pedro@codesourcery.com>
10353
10354 * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
10355
103562011-05-24 Keith Seitz <keiths@redhat.com>
10357
10358 PR breakpoint/12803
10359 * gdb.cp/cmpd-minsyms.cc (a): New method.
10360 (b): New method.
10361 (c): New method.
10362 * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
10363
103642011-05-24 Pedro Alves <pedro@codesourcery.com>
10365
10366 * gdb.base/commands.exp (watchpoint_command_test): Check that the
10367 watchpoint's command list didn't execute when the watchpoint went
10368 out of scope.
10369
103702011-05-24 Pierre Muller <muller@ics.u-strasbg.fr>
10371
10372 Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
10373 * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
10374 * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
10375 * gdb.arch/i386-gnu-cfi.exp: Likewise.
10376 * gdb.arch/i386-permbkpt.exp: Likewise.
10377 * gdb.arch/i386-prologue.exp: Likewise.
10378 * gdb.arch/i386-size-overlap.exp: Likewise.
10379 * gdb.arch/i386-size.exp: Likewise.
10380 * gdb.arch/i386-unwind.exp: Likewise.
10381 * gdb.reverse/i386-precsave.exp: Likewise.
10382 * gdb.reverse/i386-reverse.exp: Likewise.
10383 * gdb.reverse/i386-sse-reverse.exp: Likewise.
10384 * gdb.reverse/i387-env-reverse.exp: Likewise.
10385 * gdb.reverse/i387-stack-reverse.exp: Likewise.
10386
103872011-05-24 Pedro Alves <pedro@codesourcery.com>
10388
10389 * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
10390 file doesn't error, using MI.
10391
103922011-05-23 Tom Tromey <tromey@redhat.com>
10393
10394 * gdb.base/charset.exp (string_display): Add tests to assign to
10395 arrays.
10396 * gdb.base/charset.c (short_array, int_array, long_array): New.
10397
103982011-05-20 Pedro Alves <pedro@codesourcery.com>
10399
10400 Cope with async mode.
10401
10402 * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
10403 into gdb_test + mi_expect_stop.
10404
104052011-05-20 Pedro Alves <pedro@codesourcery.com>
10406
10407 * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
10408 (callme): Remove printf call.
10409
104102011-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
10411
10412 * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
10413 quote pattern to avoid problems with Cygwin/mingw expect versions.
10414 * gdb.base/default.exp (show convenience): Use double
10415 quote pattern for regular expressions.
10416
104172011-05-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10418
10419 Fix -readnow for -gdwarf-4 unused type units.
10420 * gdb.dwarf2/dw4-sig-type-unused.S: New file.
10421 * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
10422
104232011-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
10424
10425 * gdb.base/kill-after-signal.c: New file.
10426 * gdb.base/kill-after-signal.exp: New file.
10427
104282011-05-16 Pedro Alves <pedro@codesourcery.com>
10429
10430 * gdb.ada/start.exp: Call untested with the correct test filename.
10431 * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
10432 test filename. Make the test's binary unique.
10433 * gdb.arch/i386-signal.exp: Call untested with the correct test
10434 filename.
10435 * gdb.arch/i386-size-overlap.exp: Ditto.
10436 * gdb.arch/Makefile.in (EXECUTABLES): Update.
10437 * gdb.base/gcore-buffer-overflow.exp: Ditto.
10438 * gdb.cp/call-c.exp: Ditto.
10439 * gdb.mi/mi-reverse.exp: Call untested with the correct test
10440 filename. Make the test's binary unique.
10441 * gdb.mi/Makefile.in (EXECUTABLES): Update.
10442 * gdb.python/py-mi.exp: Ditto.
10443 * gdb.python/Makefile.in (EXECUTABLES): Update.
10444 * gdb.reverse/i386-precsave.exp: Ditto.
10445 * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
10446 test filename.
10447 * gdb.reverse/i387-stack-reverse.exp: Ditto.
10448 * gdb.reverse/sigall-precsave.exp: Ditto. Make the test's binary
10449 unique.
10450 * gdb.reverse/sigall-reverse.exp: Call untested with the correct
10451 test filename.
10452 * gdb.reverse/Makefile.in (EXECUTABLES): Update.
10453 * gdb.trace/tfile.exp: Ditto.
10454
104552011-05-14 Yao Qi <yao@codesourcery.com>
10456
10457 * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
10458 type.
10459
104602011-05-13 Doug Evans <dje@google.com>
10461
10462 * gdb.python/py-objfile-script.exp: New file.
10463 * gdb.python/py-objfile-script.c: New file.
10464 * gdb.python/py-objfile-script-gdb.py: New file.
10465 * testsuite/gdb.python/py-section-script.exp: Test
10466 "info auto-load-scripts".
10467
104682011-05-13 Tom Tromey <tromey@redhat.com>
10469
10470 * gdb.dwarf2/clztest.exp: New file.
10471 * gdb.dwarf2/clztest.c: New file.
10472 * gdb.dwarf2/clztest.S: New file.
10473
104742011-05-13 Doug Evans <dje@google.com>
10475
10476 * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
10477 String16 tests.
10478
104792011-05-13 Tom Tromey <tromey@redhat.com>
10480
10481 * lib/gdb.exp (is_x86_like_target): New proc.
10482 * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
10483 * gdb.dwarf2/valop.exp: Use is_x86_like_target.
10484 * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target. Pass
10485 -nostdlib to compiler.
10486 * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
10487 * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
10488 * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
10489 * gdb.dwarf2/dw2-restore.exp: Check for LP64.
10490 * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
10491
104922011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
10493
10494 * gdb.python/py-function.exp: Test setting a value from a function
10495 which executes a command.
10496
104972011-05-12 Tom Tromey <tromey@redhat.com>
10498
10499 * gdb.dwarf2/typeddwarf.S: New file.
10500 * gdb.dwarf2/typeddwarf.c: New file.
10501 * gdb.dwarf2/typeddwarf.exp: New file.
10502
105032011-05-12 Marek Polacek <mpolacek@redhat.com>
10504
10505 * gdb.mi/mi-basics.exp: Fix races. Honour the
10506 `test_exec_and_symbol_mi_operatons' return value.
10507 (test_mi_interpreter_selection): Use mi_gdb_test instead of
10508 gdb_test_multiple.
10509 (test_exec_and_symbol_mi_operatons): Likewise.
10510 (test_path_specification): Likewise.
10511
105122011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10513
10514 * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
10515 (gdb_touch_execfile): Remove catch wrappers. New variable time.
10516 Replace `file copy' and `file rename' by `file mtime'. Twice.
10517
105182011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10519
10520 * gdb.base/readline-ask.c: New file.
10521 * gdb.base/readline-ask.exp: New file.
10522 * gdb.base/readline-ask.inputrc: New file.
10523
105242011-05-06 Ulrich Weigand <uweigand@de.ibm.com>
10525
10526 * gdb.cell/bt.exp: Delete breakpoints before running to signal
10527 to avoid race condition.
10528 * gdb.cell/coremaker.c: Use small stack size.
10529 * gdb.cell/ea-standalone.exp: Use file name without path as
10530 argument to c_to.
10531 * gdb.cell/fork.exp: Allow other output when continuing to end.
10532
105332011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
10534
10535 * gdb.threads/corethreads.c: New file.
10536 * gdb.threads/corethreads.exp: New file.
10537
105382011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
10539
10540 * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
10541 Try to compile the test using -Wl,-z,norelro first.
10542 (load_core): New variable libthread_db_seen, initialize it.
10543 (zeroed-threads cannot be listed): Protect it by XFAIL on
10544 !$libthread_db_seen.
10545
105462011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
10547
10548 PR 12573
10549 * gdb.dwarf2/dw2-skip-prologue.S: New file.
10550 * gdb.dwarf2/dw2-skip-prologue.c: New file.
10551 * gdb.dwarf2/dw2-skip-prologue.exp: New file.
10552
105532011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
10554
10555 * gdb.cp/psymtab-parameter.cc: New file.
10556 * gdb.cp/psymtab-parameter.exp: New file.
10557
105582011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
10559
10560 Fix a race.
10561 * gdb.cp/static-print-quit.exp (print c): Split to ...
10562 (print c - <return>, print c - q <return>, print c - to quit):
10563 ... these. Make the testfile untested on gdb-7.1.
10564
105652011-5-05 Janis Johnson <janisjo@codesourcery.com>
10566
10567 * lib/gdb.exp (exec_target_file, exec_symbol_file,
10568 gdb_rename_execfile, gdb_touch_execfile): New.
10569 * gdb.base/reread.exp: Use new procs to handle multiple
10570 exec files.
10571
105722011-05-05 Yao Qi <yao@codesourcery.com>
10573
10574 * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
10575 (test_adr_32bit, test_pop_pc): New.
10576 * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
10577 (test_adr_32bit, test_pop_pc): New.
10578
105792011-05-04 Joseph Myers <joseph@codesourcery.com>
10580
10581 * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
10582 * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
10583 targets.
10584 * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
10585 handle targets.
10586
105872011-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
10588
10589 * gdb.base/completion.exp (complete help info wat): Rename to ...
10590 (complete 'help info wat'): ... here.
10591 Remove all `-re ".*' and `-re "^.*' redundant regexes.
10592 (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
10593
105942011-05-04 Pedro Alves <pedro@codesourcery.com>
10595
10596 * gdb.base/completion.exp: Use gdb_test_multiple instead of
10597 gdb_test and explicit $gdb_prompt/timeout matches.
10598
105992011-05-04 Yao Qi <yao@codesourcery.com>
10600
10601 * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
10602 and __thumb2__.
10603
106042011-05-03 Marek Polacek <mpolacek@redhat.com>
10605
10606 * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
10607 in place of `gdb_test "delete breakpoints"'. This eliminates two
10608 testcases.
10609
106102011-05-02 Pedro Alves <pedro@codesourcery.com>
10611
10612 PR testsuite/12649
10613 Fix races.
10614
10615 * gdb.base/completion.exp: Remove all sleep calls. Remove
10616 unnecessary regexs. Don't explicitly expect anything after the
10617 prompt. Eat the prompt if necessary.
10618
106192011-05-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
10620
10621 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
10622 accept to show the caller line again as well as the line after.
10623
106242011-04-29 Phil Muldoon <pmuldoon@redhat.com>
10625
10626 PR mi/12531
10627
10628 * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
10629 compile target.
10630 * gdb.python/py-prettyprint.exp: Add C++ object for
10631 CPLUS_FAKE_CHILD test.
10632
106332011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
10634
10635 * gdb.base/signest.exp: New file.
10636 * gdb.base/signest.c: Likewise.
10637
106382011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10639
10640 * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
10641 thread and breakpoint notifications.
10642
106432011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
10644
10645 * gdb.base/fortran-sym-case.c: New file.
10646 * gdb.base/fortran-sym-case.exp: New file.
10647 * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
10648 * gdb.dwarf2/dw2-case-insensitive.c: New file.
10649 * gdb.dwarf2/dw2-case-insensitive.exp: New file.
10650
106512011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
10652
10653 * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
10654 * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
10655 false #1', `if true else false #2' and `if true else false #3'.
10656
106572011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
10658
10659 * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
10660 while delivering signal.
10661
106622011-04-27 Vladimir Prus <vladimir@codesourcery.com>
10663
10664 MI breakpoint notifications.
10665
10666 * testsuite/gdb.mi/mi-cli.exp: Adust.
10667 * testsuite/gdb.mi/mi2-cli.exp: Adust.
10668 * testsuite/gdb.mi/mi-watch.exp: Adust.
10669 * testsuite/gdb.mi/mi2-watch.exp: Adust.
10670 * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
10671 notifications.
10672
106732011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10674
10675 * gdb.base/gdbindex-stabs-dwarf.c: New file.
10676 * gdb.base/gdbindex-stabs.c: New file.
10677 * gdb.base/gdbindex-stabs.exp: New file.
10678
106792011-04-25 Yao Qi <yao@codesourcery.com>
10680
10681 * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
10682 with /*...*/.
10683 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
10684
106852011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10686
10687 * gdb.python/py-value.exp (test_objfiles): Name the first test
10688 `py-value in file.filename'.
10689
106902011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10691
10692 * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
10693 * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
10694 * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
10695 !gdbserver_reconnect_p..
10696 (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
10697
106982011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10699
10700 * gdb.cp/cpcompletion.exp (complete class methods)
10701 (complete class methods beginning with F): Move them above runto. New
10702 comment about the runto delimiter.
10703
107042011-04-20 Pedro Alves <pedro@codesourcery.com>
10705
10706 * gdb.base/maint.exp: Test that "maint print registers" works
10707 without a running program.
10708
107092011-04-20 Marek Polacek <mpolacek@redhat.com>
10710
10711 * gdb.base/setshow.exp: Fix racy tests.
10712 ($old_gdb_prompt): New variable.
10713
107142011-04-19 Tom Tromey <tromey@redhat.com>
10715
10716 * gdb.mi/mi-nsmoribund.exp:
10717 * gdb.hp/gdb.objdbg/objdbg01.exp:
10718 * gdb.base/structs.exp (test_struct_returns):
10719 * gdb.base/call-sc.exp (test_scalar_returns):
10720 * gdb.base/bigcore.exp: Remove duplicate words.
10721
107222011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10723
10724 * gdb.base/break-interp-lib.c (v, vptr): New variables.
10725 * gdb.base/break-interp.exp (test_attach): New comment.
10726
107272011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10728
10729 * gdb.threads/gcore-thread.exp ($core0file): New variable.
10730 (clear __stack_user.next, clear stack_used.next)
10731 (save a zeroed-threads corefile): New test.
10732 Call core_load for $core0file.
10733 (zeroed-threads cannot be listed): New test.
10734
107352011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10736
10737 * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
10738 filename.
10739 ($srcfile): Preserve the original value.
10740 ($testfile): Match it the .exp filename.
10741 ($corefile): New variable. Substitute it around.
10742 Use clean_restart.
10743 ($prev_timeout): Remove.
10744 (load_core): Move core loading into this proc.
10745 Fix restore of $timeout if load_core fails.
10746
107472011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10748
10749 * gdb.base/eu-strip-infcall.c: New file.
10750 * gdb.base/eu-strip-infcall.exp: New file.
10751
107522011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10753
10754 * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
10755 * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
10756
107572011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10758
10759 Fix Python access to inlined frames.
10760 * gdb.python/py-frame-inline.c: New file.
10761 * gdb.python/py-frame-inline.exp: New file.
10762
107632011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
10764
10765 * gdb.base/gdb1090.exp: Change breakpoint location to read the
10766 content of 's24' correctly (avoiding "optimized out").
10767 * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
10768
107692011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10770
10771 * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
10772
107732011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
10774
10775 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
10776 expect a colon in watch -location output.
10777
107782011-04-13 Marek Polacek <mpolacek@redhat.com>
10779
10780 * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
10781 New testcase `expect response to define backtrace'. Also remove
10782 redundant `default' block.
10783
107842011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10785
10786 * gdb.python/py-prettyprint.c (struct hint_error): New.
10787 (main): New variable hint_error.
10788 * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
10789 "print hint_error".
10790 * gdb.python/py-prettyprint.py (class pp_hint_error): New.
10791 (register_pretty_printers): Register it.
10792
107932011-04-04 Tom Tromey <tromey@redhat.com>
10794
10795 * gdb.cp/maint.exp (test_help): Update.
10796 (test_namespace): Likewise.
10797
107982011-04-01 Joel Brobecker <brobecker@adacore.com>
10799
10800 * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
10801 * gdb.ada/arrayptr.exp: Add new tests.
10802
108032011-04-01 Joel Brobecker <brobecker@adacore.com>
10804
10805 * gdb.ada/mi_catch_ex: New testcase.
10806
108072011-04-01 Pedro Alves <pedro@codesourcery.com>
10808
10809 * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
10810 base::overload(void) method without specifying "const".
10811
108122011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
10813
10814 * gdb.arch/thumb-singlestep.S: New file.
10815 * gdb.arch/thumb-singlestep.exp: Likewise.
10816
108172011-03-31 Tom Tromey <tromey@redhat.com>
10818
10819 * gdb.python/py-prettyprint.py (exception_flag): New global.
10820 (NoStringContainerPrinter._iterator.next): Check it.
10821 * gdb.python/py-prettyprint.c (main): New variable nstype2.
10822 * gdb.python/py-mi.exp: Set exception_flag and do more tests.
10823
108242011-03-29 Tom Tromey <tromey@redhat.com>
10825
10826 * gdb.cp/anon-struct.cc: New file.
10827 * gdb.cp/anon-struct.exp: New file.
10828
108292011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10830
10831 Test STT_GNU_IFUNC support.
10832 * gdb.base/gnu-ifunc-lib.c: New file.
10833 * gdb.base/gnu-ifunc.c: New file.
10834 * gdb.base/gnu-ifunc.exp: New file.
10835
108362011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10837
10838 Support a ring of related breakpoints.
10839 * gdb.base/watchpoint-delete.c: New file.
10840 * gdb.base/watchpoint-delete.exp: New file.
10841
108422011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10843
10844 * gdb.ada/arrayparam.exp (print first after function call): Use
10845 explicit package name. Add a comment
10846 (print lasta after function call): Rename ...
10847 (print last after function call): ... it and use explicit package
10848 name.
10849 (print length after function call): Use explicit package name.
10850 * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
10851 * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
10852 (multiple matches for symbol i): Rename ...
10853 (multiple matches for symbol integervar): ... it.
10854 * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
10855 * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
10856
108572011-03-25 Andrew Burgess <aburgess@broadcom.com>
10858
10859 * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
10860 environment variable to make grep output more predictable. Move
10861 all the environment setup into gdb_init so it's done once per test
10862 case rather than each time we start gdb.
10863
108642011-03-24 Tom Tromey <tromey@redhat.com>
10865
10866 * gdb.base/label.exp: Use `main:there' linespec. Add re-running
10867 test.
10868
108692011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10870
10871 * gdb.dwarf2/dw2-entry-value-main.c: New file.
10872 * gdb.dwarf2/dw2-entry-value.S: New file.
10873 * gdb.dwarf2/dw2-entry-value.exp: New file.
10874
108752011-03-22 Phil Muldoon <pmuldoon@redhat.com>
10876
10877 PR python/12183
10878
10879 * gdb.python/py-function.exp: Add GdbError tests.
10880
108812011-03-18 Pedro Alves <pedro@codesourcery.com>
10882
10883 * gdb.trace/unavailable.cc (args_test_func, local_test_func)
10884 (reglocal_test_func, statlocal_test_func): New functions.
10885 (globals_test_func): Call new functions.
10886 * gdb.trace/unavailable.exp (gdb_collect_args_test)
10887 (gdb_collect_locals_test): New procedure.
10888 (gdb_trace_collection_test): Call new procedures.
10889
108902011-03-18 Pedro Alves <pedro@codesourcery.com>
10891
10892 * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
10893 (test_register, test_register_unavailable): New procedures.
10894 (gdb_unavailable_registers_test): New procedure.
10895 (gdb_trace_collection_test): Call it.
10896
108972011-03-18 Phil Muldoon <pmuldoon@redhat.com>
10898
10899 PR python/12149
10900
10901 * gdb.python/python.exp: Add gdb.write tests.
10902
109032010-03-17 Phil Muldoon <pmuldoon@redhat.com>
10904
10905 * gdb.python/Makefile.in: Add py-objfile.
10906 * gdb.python/py-objfile.exp: New file.
10907 * gdb.python/py-objfile.c: New file.
10908 * gdb.python/py-block.exp: Add is_valid tests.
10909 * gdb.python/py-inferior.exp: Ditto.
10910 * gdb.python/py-infthread.exp: Ditto.
10911 * gdb.python/py-symbol.exp: Ditto.
10912 * gdb.python/py-symtab.exp: Ditto.
10913
109142011-03-16 Keith Seitz <keiths@redhat.com>
10915
10916 PR c++/12273
10917 * gdb.cp/cmpd-minsyms.exp: New test.
10918 * gdb.cp/cmpd-minsyms.cc: New file.
10919
10920 PR c++/11734
10921 * gdb.cp/ovsrch.exp: New test.
10922 * gdb.cp/ovsrch.h: New file.
10923 * gdb.cp/ovsrch1.cc: New file.
10924 * gdb.cp/ovsrch2.cc: New file.
10925 * gdb.cp/ovsrch3.cc: New file.
10926 * gdb.cp/ovsrch4.cc: New file.
10927
109282011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
10929
10930 PR gdb/12528
10931 * gdb.base/Makefile.in: Adjust EXECUTABLES.
10932 * gdb.base/break-on-linker-gcd-function.exp: New test.
10933 * gdb.base/break-on-linker-gcd-function.cc: New file.
10934
109352011-03-15 Andreas Tobler <andreast@fgznet.ch>
10936
10937 * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
10938
109392011-03-15 Phil Muldoon <pmuldoon@redhat.com>
10940
10941 * lib/gdb.exp (gdb_unload): Add another termination case.
10942
109432011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10944
10945 * gdb.dwarf2/dw2-empty-pc-range.S: New file.
10946 * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
10947 * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
10948 Provide a stub byte there.
10949 (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
10950 DW_AT_entry_pc.
10951 (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
10952
109532011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
10954
10955 * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
10956 using a GCC 4.1 or 4.2 compiler. Add an additional test variant
10957 "generic ABI, auto".
10958 (altivec_abi_tests): Accept vectors returned by reference.
10959
109602010-03-14 Phil Muldoon <pmuldoon@redhat.com>
10961
10962 * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
10963
109642011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
10965
10966 * gdb.python/py-section-script.exp: Skip test if no Python support.
10967
109682011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
10969
10970 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
10971
109722011-03-10 Phil Muldoon <pmuldoon@redhat.com>
10973
10974 * gdb.python/py-parameter.exp: Update tests to the new Python
10975 parameter API. Add "no documentation" test. Add deprecated API
10976 backward compatibility test.
10977
109782011-03-09 Tom Tromey <tromey@redhat.com>
10979
10980 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
10981 gdb_continue_to_end.
10982
109832011-03-09 Mark Kettenis <kettenis@gnu.org>
10984
10985 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
10986 tabs.
10987
109882011-03-09 Tom Tromey <tromey@redhat.com>
10989
10990 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
10991 parentheses.
10992 (gdb_continue_to_end): Add "allow_extra" parameter. Use
10993 $command.
10994 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
10995 argument to gdb_continue_to_end.
10996 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
10997 argument to gdb_continue_to_end.
10998 * gdb.cp/annota3.exp: Fix regex.
10999 * gdb.cp/annota2.exp: Fix regex.
11000 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
11001 gdb_continue_to_end.
11002 * gdb.base/call-signal-resume.exp: Revert earlier patch.
11003 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
11004 gdb_continue_to_end.
11005
110062011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11007
11008 * gdb.server/ext-run.exp
11009 (load new file without any gdbserver inferior): New test.
11010
110112011-03-07 Tom Tromey <tromey@redhat.com>
11012
11013 * Makefile.in (TAGS): Rewrite.
11014
110152011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11016
11017 * gdb.trace/report.exp (12.1: trace report #1): New match for the
11018 initial commands echo. New match for `Found trace'. Anchor all the
11019 other matches. Anchor and match for `No trace frame found' the final
11020 match.
11021
110222011-03-07 Tom Tromey <tromey@redhat.com>
11023
11024 * Makefile.in (TAGS): New target.
11025
110262011-03-07 Tom Tromey <tromey@redhat.com>
11027
11028 * lib/opencl.exp (skip_opencl_tests): Update for exit message
11029 change.
11030 * lib/mi-support.exp (mi_gdb_test): Update for exit message
11031 change.
11032 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
11033 exit message change.
11034 (skip_altivec_tests): Update for exit message change.
11035 (skip_vsx_tests): Likewise.
11036 (gdb_continue_to_end): Likewise. Add 'command' argument.
11037 * lib/cell.exp (skip_cell_tests): Update for exit message change.
11038 * gdb.threads/tls.exp: Update for exit message change.
11039 * gdb.threads/thread-unwindonsignal.exp: Use
11040 gdb_continue_to_end.
11041 * gdb.threads/step.exp (step_it): Update for exit message change.
11042 (continue_all): Likewise.
11043 * gdb.threads/print-threads.exp (test_all_threads): Update for
11044 exit message change.
11045 * gdb.threads/interrupted-hand-call.exp: Use
11046 gdb_continue_to_end.
11047 * gdb.threads/execl.exp: Use gdb_continue_to_end.
11048 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
11049 gdb_continue_to_end.
11050 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
11051 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
11052 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
11053 * gdb.cp/method.exp: Update for exit message change.
11054 * gdb.cp/mb-templates.exp: Update for exit message change.
11055 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
11056 * gdb.cp/annota3.exp: Update for exit message change.
11057 * gdb.cp/annota2.exp: Update for exit message change.
11058 * gdb.cell/fork.exp: Use gdb_continue_to_end.
11059 * gdb.base/term.exp: Update for exit message change.
11060 * gdb.base/step-test.exp (test_i): Update for exit message change.
11061 * gdb.base/sigstep.exp (advance): Update for exit message change.
11062 (advancei): Likewise.
11063 * gdb.base/siginfo.exp: Update for exit message change.
11064 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
11065 * gdb.base/reread.exp: Use gdb_continue_to_end.
11066 * gdb.base/langs.exp: Use gdb_continue_to_end.
11067 * gdb.base/interrupt.exp: Update for exit message change.
11068 * gdb.base/gdb1555.exp: Update for exit message change.
11069 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
11070 * gdb.base/ending-run.exp: Update for exit message change.
11071 * gdb.base/chng-syms.exp: Update for exit message change.
11072 * gdb.base/checkpoint.exp: Update for exit message change.
11073 * gdb.base/catch-syscall.exp (check_for_program_end): Use
11074 gdb_continue_to_end.
11075 (test_catch_syscall_with_wrong_args): Likewise.
11076 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
11077 * gdb.base/break-interp.exp (test_ld): Update for exit message
11078 change.
11079 * gdb.base/bang.exp: Update for exit message change.
11080 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
11081 (do_call_attach_tests): Likewise.
11082 * gdb.base/a2-run.exp: Update for exit message change.
11083 * gdb.arch/ppc-dfp.exp: Update for exit message change.
11084 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
11085 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
11086
110872011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
11088
11089 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
11090
110912011-03-03 Tom Tromey <tromey@redhat.com>
11092
11093 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
11094 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
11095 * gdb.hp/gdb.aCC/configure.ac: Remove.
11096 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
11097 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
11098 * gdb.hp/gdb.base-hp/configure.ac: Remove.
11099 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
11100 * gdb.hp/gdb.compat/configure (Makefile): Remove.
11101 * gdb.hp/gdb.compat/configure.ac: Remove.
11102 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
11103 * gdb.hp/gdb.defects/configure (Makefile): Remove.
11104 * gdb.hp/gdb.defects/configure.ac: Remove.
11105 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
11106 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
11107 * gdb.hp/gdb.objdbg/configure.ac: Remove.
11108 * gdb.hp/configure.ac: Remove.
11109 * gdb.hp/configure: Remove.
11110 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
11111 substitution.
11112 (Makefile): Remove rule.
11113 * gdb.cell/configure.ac: Remove.
11114 * gdb.cell/configure: Remove.
11115 * gdb.stabs/Makefile.in (Makefile): Remove.
11116 (distclean): Don't remove config.status or config.log.
11117 * gdb.stabs/configure (Makefile): Remove.
11118 * gdb.stabs/configure.ac: Remove.
11119 * configure: Rebuild.
11120 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
11121 Remove stabs- and cell-specific logic. Test for existence of
11122 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
11123 subdirectories, gdb.cell, and and gdb.stabs.
11124 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
11125
111262011-03-03 Joel Brobecker <brobecker@adacore.com>
11127
11128 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
11129 end of buffer.
11130
111312011-03-02 Joel Brobecker <brobecker@adacore.com>
11132
11133 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
11134 gdb_test when running a test where we expected no output back.
11135
111362011-02-28 Michael Snyder <msnyder@vmware.com>
11137
11138 * gdb.cp/overload.cc: Change initializer value to integer.
11139
111402011-02-27 Michael Snyder <msnyder@vmware.com>
11141
11142 * gdb.multi/base.exp: Add test for remove-inferiors.
11143
111442011-02-26 Joel Brobecker <brobecker@adacore.com>
11145
11146 * gdb.python/py-frame.exp: Simplify the initialization phase
11147 using prepare_for_testing.
11148
111492011-02-25 Michael Snyder <msnyder@vmware.com>
11150
11151 * gdb.multi/base.exp: Add tests for info inferiors with args.
11152
111532011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11154
11155 * gdb.dwarf2/dw2-ranges.S: Rename to ...
11156 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
11157 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
11158 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
11159 asmfile3. Comment the STABS (#3) file compilation. Compile
11160 everything through assembler. Provide KFAIL for symtab/12497.
11161 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
11162 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
11163 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
11164 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
11165
111662011-02-24 Michael Snyder <msnyder@vmware.com>
11167
11168 * gdb.base/break.exp: Add tests for delete breakpoints using
11169 convenience variables and value history references.
11170
111712011-02-24 Michael Snyder <msnyder@vmware.com>
11172
11173 * gdb.base/break.exp: Remove debugging 'printf' accidentally
11174 left behind in previous check-in.
11175
111762011-02-23 Michael Snyder <msnyder@vmware.com>
11177
11178 * gdb.base/break.exp: Add tests for "info break" with arguments.
11179 * gdb.trace/infotrace.exp: Update patterns for error and help.
11180 * gdb.base/completion.exp: Update pattern.
11181 * gdb.base/ena-dis-br.exp: Update pattern.
11182 * gdb.base/help.exp: Update patterns.
11183
111842011-02-23 Michael Snyder <msnyder@vmware.com>
11185
11186 * gdb.base/memattr.exp: New test.
11187 * gdb.base/memattr.c: Test load for memattr.exp.
11188
111892011-02-22 Doug Evans <dje@google.com>
11190
11191 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
11192
111932011-02-22 Michael Snyder <msnyder@vmware.com>
11194
11195 * Makefile.in: Make more clean.
11196 * gdb.ada/Makefile.in: Ditto.
11197 * gdb.arch/Makefile.in: Ditto.
11198 * gdb.asm/Makefile.in: Ditto.
11199 * gdb.base/Makefile.in: Ditto.
11200 * gdb.cp/Makefile.in: Ditto.
11201 * gdb.dwarf2/Makefile.in: Ditto.
11202 * gdb.java/Makefile.in: Ditto.
11203 * gdb.mi/Makefile.in: Ditto.
11204 * gdb.modula2/Makefile.in: Ditto.
11205 * gdb.python/Makefile.in: Ditto.
11206 * gdb.server/Makefile.in: Ditto.
11207 * gdb.stabs/Makefile.in: Ditto.
11208 * gdb.threads/Makefile.in: Ditto.
11209 * gdb.trace/Makefile.in: Ditto.
11210
112112011-02-22 Michael Snyder <msnyder@vmware.com>
11212
11213 * gdb.threads/thread-find.exp: Add tests for bad input to
11214 info threads.
11215
112162011-02-22 Joel Brobecker <brobecker@adacore.com>
11217
11218 * gdb.python/py-breakpoint.exp: Fix the expected output of
11219 one of the "maint info breakpoints" tests to accept the output
11220 generated on platforms that do not have hardware watchpoints.
11221
112222011-02-22 Joel Brobecker <brobecker@adacore.com>
11223
11224 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
11225 clean_restart. Be a little stricter in the expected output
11226 for one of the tests. Fix a typo in one of the comments.
11227
112282011-02-22 Joel Brobecker <brobecker@adacore.com>
11229
11230 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
11231 Delete variable binfile, no longer use. Add or modify test
11232 comments to make them unique.
11233
112342011-02-21 Michael Snyder <msnyder@vmware.com>
11235
11236 * Makefile.in: Update for make clean.
11237 * gdb.ada/Makefile.in: Ditto.
11238 * gdb.arch/Makefile.in: Ditto.
11239 * gdb.asm/Makefile.in: Ditto.
11240 * gdb.base/Makefile.in: Ditto.
11241 * gdb.cp/Makefile.in: Ditto.
11242 * gdb.dwarf2/Makefile.in: Ditto.
11243 * gdb.java/Makefile.in: Ditto.
11244 * gdb.mi/Makefile.in: Ditto.
11245 * gdb.modula2/Makefile.in: Ditto.
11246 * gdb.python/Makefile.in: Ditto.
11247 * gdb.server/Makefile.in: Ditto.
11248 * gdb.stabs/Makefile.in: Ditto.
11249 * gdb.threads/Makefile.in: Ditto.
11250 * gdb.trace/Makefile.in: Ditto.
11251
112522011-02-21 Michael Snyder <msnyder@vmware.com>
11253
11254 * gdb.threads/thread-find.exp: Update patterns for changes in
11255 output of "info threads" command.
11256
112572011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
11258 Ulrich Weigand <uweigand@de.ibm.com>
11259
11260 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
11261 (skip_hw_watchpoint_tests): Likewise.
11262 (skip_hw_watchpoint_multi_tests): Likewise.
11263
112642011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
11265
11266 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
11267 (skip_hw_watchpoint_tests): Likewise.
11268 (skip_hw_watchpoint_multi_tests): Likewise.
11269 (skip_hw_watchpoint_access_tests): Likewise.
11270
11271 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
11272 * gdb.base/pr11022.exp: Likewise.
11273 * gdb.base/watch-read.exp: Likewise.
11274 * gdb.base/watch_thread_num.exp: Likewise.
11275 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
11276 * gdb.base/watchpoint-hw.exp: Likewise.
11277 * gdb.base/watchpoint.exp: Likewise.
11278 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
11279 * gdb.threads/watchthreads-reorder.exp: Likewise.
11280 * gdb.threads/watchthreads.exp: Likewise.
11281 * gdb.threads/watchthreads2.exp: Likewise.
11282
112832011-02-21 Joel Brobecker <brobecker@adacore.com>
11284
11285 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
11286 the debugger is unable to find the array bounds.
11287
112882011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
11289
11290 * gdb.cp/typedef-operator.exp: New file.
11291 * gdb.cp/typedef-operator.cc: New file.
11292
112932011-02-17 Michael Snyder <msnyder@vmware.com>
11294
11295 * gdb.threads/thread-find.exp: Fix regular expressions.
11296
112972011-02-17 Joel Brobecker <brobecker@adacore.com>
11298
11299 * gdb.ada/packed_array: Expand testcase to test printing of
11300 unconstrained packed array.
11301
113022011-02-17 Joel Brobecker <brobecker@adacore.com>
11303
11304 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
11305
113062011-02-16 Pedro Alves <pedro@codesourcery.com>
11307
11308 * gdb.trace/collection.c (globalarr3): New global.
11309 (main): Initialize it before collecting, and and clear it
11310 afterwards.
11311 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
11312 collecting with '{type} addr', where the addr expression is not an
11313 rvalue.
11314
113152011-02-16 Ken Werner <ken.werner@de.ibm.com>
11316
11317 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
11318 a bool variable. Expect correct OpenCL names for vector types. Use the
11319 uc3 variable name instead of referring to the uchar3 built-in type.
11320 Escape the asterisk at the half pointer test.
11321
113222011-02-16 Pedro Alves <pedro@codesourcery.com>
11323
11324 * gdb.trace/collection.c (globalarr2): New global.
11325 (main): Initialize it before collecting, and and clear it
11326 afterwards.
11327 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
11328 collecting overlapping memory ranges.
11329
113302011-02-15 Michael Snyder <msnyder@vmware.com>
11331
11332 * gdb.base/default.exp: Add tests for thread commands.
11333 * gdb.base/help.exp: Add tests for thread commands.
11334 * gdb.threads/thread-find.exp: New test for thread find command.
11335
113362011-02-15 Ken Werner <ken.werner@de.ibm.com>
11337
11338 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
11339
113402011-02-15 Yao Qi <yao@codesourcery.com>
11341
11342 PR tdep/12352
11343 * gdb.arch/arm-disp-step.S : New test for str instruction.
11344 * gdb.arch/arm-disp-step.exp : Likewise.
11345
113462011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
11347
11348 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
11349 "vector_register2_vr" test strings. Test the extended floating
11350 point registers (F32~F63).
11351 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
11352 IBM XL C compiler. Make the test program use a register provided
11353 by the compiler for the lxvd2x instruction.
11354
113552011-02-14 Pedro Alves <pedro@codesourcery.com>
11356
11357 * gdb.trace/unavailable.cc (class Base, class Middle, class
11358 Derived): New types.
11359 (derived_unavail, derived_partial, derived_whole): New globals.
11360 (virtual_partial): New global.
11361 (virtualp): Point at virtual_partial.
11362 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
11363 related to unavailable vptr.
11364
113652011-02-14 Pedro Alves <pedro@codesourcery.com>
11366
11367 * gdb.trace/unavailable.cc (a, b, c): New globals.
11368 (main): Set and clear them.
11369 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
11370 `a' and `c', and check that `b' isn't collected, although `a' and
11371 `c' are.
11372
113732011-02-14 Pedro Alves <pedro@codesourcery.com>
11374
11375 * gdb.trace/unavailable.cc (struct Virtual): New.
11376 (virtualp): New global pointer.
11377 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
11378 printing a pointer to an object whose type has a vtable, with
11379 print object on.
11380
113812011-02-14 Pedro Alves <pedro@codesourcery.com>
11382
11383 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
11384 value repeat handles unavailableness.
11385
113862011-02-14 Pedro Alves <pedro@codesourcery.com>
11387
11388 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
11389 tests for building arrays from unavailable values, subscripting
11390 non-memory rvalue unvailable arrays, and accessing fields or
11391 baseclasses of non-lazy unavailable values,
11392 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
11393 struct types.
11394 (g_smallstruct, g_smallstruct_b): New globals.
11395
113962011-02-14 Pedro Alves <pedro@codesourcery.com>
11397
11398 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
11399
114002011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
11401
11402 Fix const/volatile qualifiers of C++ types, PR c++/12328.
11403 * gdb.cp/overload-const.exp: New file.
11404 * gdb.cp/overload-const.cc: New file.
11405
114062011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
11407
11408 * gdb.opencl/callfuncs.cl: New file.
11409 * gdb.opencl/callfuncs.exp: New test.
11410 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
11411
114122011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
11413
11414 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
11415 when computing result.
11416 * gdb.arch/altivec-abi.exp: Update expected results.
11417
114182011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
11419
11420 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
11421 * gdb.base/jit.exp: Likewise.
11422 * gdb.base/pie-execl.exp: Likewise.
11423 * gdb.base/solib-nodir.exp: Likewise.
11424 * gdb.base/solib-overlap.exp: Likewise.
11425
114262011-02-07 Pedro Alves <pedro@codesourcery.com>
11427
11428 * gdb.trace/collection.c (global_pieces): New.
11429 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
11430 New procedure.
11431 (gdb_trace_collection_test): Call it.
11432
114332011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
11434
11435 * gdb.python/py-evthreads.c: New file.
11436 * gdb.python/py-evthreads.exp: New file.
11437 * gdb.python/py-events.py: New file.
11438 * gdb.python/py-events.exp: New file.
11439 * gdb.python/py-events.c: New file.
11440
114412011-02-04 David Daney <ddaney@caviumnetworks.com>
11442
11443 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
11444
114452011-02-03 Andrew Burgess <aburgess@broadcom.com>
11446
11447 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
11448 gdb.base/disasm-end-cu.exp: New test for disassembling over the
11449 boundary between two compilation units.
11450
114512011-02-02 Pedro Alves <pedro@codesourcery.com>
11452
11453 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
11454 (Virtual): New structs.
11455 (virtual_o, virtual_middle_b): New globals.
11456 * gdb.cp/virtbase.exp: New tests.
11457
114582011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
11459
11460 * gdb.base/jit.exp: New file.
11461 * gdb.base/jit-main.c: New file.
11462 * gdb.base/jit-solib.c: New file.
11463
114642011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
11465
11466 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
11467 proceed to initial kernel entry point.
11468 * gdb.opencl/datatypes.exp: Likewise.
11469 * gdb.opencl/operators.exp: Likewise.
11470 * gdb.opencl/vec_comps.exp: Likewise.
11471
114722011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
11473
11474 * gdb.cp/nsnested.cc: New.
11475 * gdb.cp/nsnested.exp: New.
11476 * gdb.cp/nsnoimports.exp: New.
11477 * gdb.cp/nsnoimports.cc: New.
11478
114792011-01-31 Joel Brobecker <brobecker@adacore.com>
11480
11481 * gdb.base/interact.exp: Add extra tests that verify that
11482 the value of the interactive-mode setting does not change
11483 after the script is sourced.
11484
114852011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
11486
11487 * gdb.cp/noparam.exp: New file.
11488 * gdb.cp/noparam.cc: New file.
11489
114902011-01-28 Pedro Alves <pedro@codesourcery.com>
11491
11492 * gdb.trace/tfile.exp: Test that with no traceframe selected,
11493 there's no stack or registers.
11494
114952011-01-26 Tom Tromey <tromey@redhat.com>
11496
11497 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
11498 space before string output. Add test for "set print pretty off"
11499 case.
11500
115012011-01-25 Pedro Alves <pedro@codesourcery.com>
11502
11503 * gdb.base/frame-args.exp: Adjust.
11504 * gdb.dwarf2/dw2-noloc.exp: Adjust.
11505 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
11506 * gdb.dwarf2/pieces.exp: Adjust.
11507 * gdb.opt/clobbered-registers-O2.exp: Adjust.
11508 * gdb.opt/inline-locals.exp: Adjust.
11509 * gdb.threads/fork-child-threads.exp: Adjust.
11510
115112011-01-25 Ken Werner <ken.werner@de.ibm.com>
11512
11513 * gdb.opencl/convs_casts.cl: Move program scope variables into the
11514 OpenCL kernel function. Add a comment as marker. Add address space
11515 qualifiers for the remaining program scope variables.
11516 * gdb.opencl/datatypes.cl: Likewise.
11517 * gdb.opencl/operators.cl: Likewise.
11518 * gdb.opencl/vec_comps.cl: Likewise.
11519 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
11520 Add breakpoint at the marker comment.
11521 * gdb.opencl/datatypes.exp: Likewise.
11522 * gdb.opencl/operators.exp: Likewise.
11523 * gdb.opencl/vec_comps.exp: Likewise.
11524
115252011-01-24 Pedro Alves <pedro@codesourcery.com>
11526
11527 * gdb.base/printcmds.c (some_struct): New struct and instance.
11528 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
11529 procedure.
11530 <global scope>: Call it.
11531
115322011-01-21 Ken Werner <ken.werner@de.ibm.com>
11533
11534 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
11535 argument to the gdb_compile_opencl_hostapp call.
11536
115372011-01-19 Yao Qi <yao@codesourcery.com>
11538
11539 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
11540 positve list.
11541
115422011-01-19 Yao Qi <yao@codesourcery.com>
11543
11544 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
11545 canonical form.
11546 Remove "xscale-*-*"
11547 * gdb.xml/tdesc-regs.exp: Likewise.
11548 * gdb.python/py-section-script.exp: Replace ARM target triplet
11549 with canonical form.
11550 Match arm*-*-symbianelf*.
11551 * gdb.base/dup-sect.exp: Likewise.
11552 * lib/dwarf.exp: New.
11553 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
11554 dwarf2_support.
11555 * gdb.dwarf2/dup-psym.exp: Likewise.
11556 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
11557 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
11558 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
11559 * gdb.dwarf2/dw2-basic.exp: Likewise.
11560 * gdb.dwarf2/dw2-compressed.exp: Likewise.
11561 * gdb.dwarf2/dw2-const.exp: Likewise.
11562 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
11563 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
11564 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
11565 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
11566 * gdb.dwarf2/dw2-filename.exp: Likewise.
11567 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
11568 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
11569 * gdb.dwarf2/dw2-intercu.exp: Likewise.
11570 * gdb.dwarf2/dw2-intermix.exp: Likewise.
11571 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
11572 * gdb.dwarf2/dw2-noloc.exp: Likewise.
11573 * gdb.dwarf2/dw2-op-call.exp: Likewise.
11574 * gdb.dwarf2/dw2-producer.exp: Likewise.
11575 * gdb.dwarf2/dw2-ranges.exp: Likewise.
11576 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
11577 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
11578 * gdb.dwarf2/dw2-strp.exp: Likewise.
11579 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
11580 * gdb.dwarf2/implptr.exp: Likewise.
11581 * gdb.dwarf2/mac-fileno.exp: Likewise.
11582 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
11583 * gdb.dwarf2/pieces.exp: Likewise.
11584 * gdb.dwarf2/pr11465.exp: Likewise.
11585 * gdb.dwarf2/valop.exp: Likewise.
11586 * gdb.dwarf2/watch-notconst.exp: Likewise.
11587 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
11588
115892011-01-19 Tom Tromey <tromey@redhat.com>
11590
11591 * gdb.python/py-infthread.exp: Add thread tests.
11592
115932011-01-14 Joel Brobecker <brobecker@adacore.com>
11594
11595 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
11596
115972011-01-14 Joel Brobecker <brobecker@adacore.com>
11598
11599 * gdb.ada/widewide: New testcase.
11600
116012011-01-13 Joel Brobecker <brobecker@adacore.com>
11602
11603 * gdb.base/interact.exp: New testcase.
11604
116052011-01-12 Tom Tromey <tromey@redhat.com>
11606
11607 * gdb.mi/gdb2549.exp: Update for error message changes.
11608 * gdb.mi/mi-cli.exp: Likewise.
11609 * gdb.mi/mi-disassemble.exp: Likewise.
11610 * gdb.mi/mi-pthreads.exp: Likewise.
11611 * gdb.mi/mi-regs.exp: Likewise.
11612 * gdb.mi/mi-stack.exp: Likewise.
11613 * gdb.mi/mi-var-block.exp: Likewise.
11614 * gdb.mi/mi-var-cmd.exp: Likewise.
11615 * gdb.mi/mi2-cli.exp: Likewise.
11616 * gdb.mi/mi2-disassemble.exp: Likewise.
11617 * gdb.mi/mi2-pthreads.exp: Likewise.
11618 * gdb.mi/mi2-regs.exp: Likewise.
11619 * gdb.mi/mi2-stack.exp: Likewise.
11620 * gdb.mi/mi2-var-block.exp: Likewise.
11621 * gdb.mi/mi2-var-cmd.exp: Likewise.
11622
116232011-01-12 Andrew Burgess <aburgess@broadcom.com>
11624 Jan Kratochvil <jan.kratochvil@redhat.com>
11625
11626 PR fortran/11104 and DWARF unbound arrays detection.
11627 * gdb.fortran/multi-dim.exp: New file.
11628 * gdb.fortran/multi-dim.f90: New file.
11629
116302011-01-12 Andrew Burgess <aburgess@broadcom.com>
11631
11632 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
11633 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
11634 add new tests for opcode dumping.
11635
116362011-01-11 Tom Tromey <tromey@redhat.com>
11637
11638 * gdb.python/py-infthread.exp: Load gdb-python.exp.
11639
116402010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
11641
11642 Convert hardware watchpoints to use breakpoint_ops.
11643 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
11644 type is not supported.
11645 * gdb.base/foll-fork.exp: Likewise.
11646 * gdb.base/foll-vfork.exp: Likewise.
11647
116482011-01-10 Phil Muldoon <pmuldoon@redhat.com>
11649
11650 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
11651 Use load_lib gdb-python.exp.
11652 * gdb.python/python.exp: Ditto.
11653 * gdb.python/py-function.exp: Ditto.
11654
116552011-01-09 Andreas Schwab <schwab@linux-m68k.org>
11656
11657 * gdb.threads/tls.exp ("info address me"): Fix expected output.
11658
116592011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11660
11661 * configure: Regenerate.
11662
116632011-01-06 Tom Tromey <tromey@redhat.com>
11664
11665 * gdb.python/py-frame.exp: Test gdb.newest_frame.
11666
116672011-01-06 Joel Brobecker <brobecker@adacore.com>
11668
11669 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
11670 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
11671 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
11672 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
11673 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
11674 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
11675 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
11676 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
11677 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
11678 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
11679 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
11680 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
11681 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
11682 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
11683 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
11684 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
11685 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
11686 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
11687 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
11688 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
11689 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
11690 gdb.ada/uninitialized_vars.exp,
11691 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
11692 Simplify by using clean_restart.
11693
116942011-01-06 Joel Brobecker <brobecker@adacore.com>
11695
11696 Add marker to be used as anchor for inserting breakpoints.
11697 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
11698 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
11699 Likewise.
11700
11701 Remove uses of gdb_start_cmd.
11702 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
11703 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
11704
11705 Do not run testcase if testing with GDBserver.
11706 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
11707 if testing with GDBserver.
11708
117092011-01-06 Joel Brobecker <brobecker@adacore.com>
11710
11711 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
11712 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
11713 copyright header.
11714
117152011-01-05 Joel Brobecker <brobecker@adacore.com>
11716
11717 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
11718 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
11719 testsuite/gdb.fortran/complex.f,
11720 testsuite/gdb.fortran/derived-type.f90,
11721 testsuite/gdb.fortran/library-module-lib.f90,
11722 testsuite/gdb.fortran/library-module-main.f90,
11723 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
11724 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
11725 Copyright year update.
11726
117272011-01-05 Joel Brobecker <brobecker@adacore.com>
11728
11729 * gdb.base/langs1.f: Add copyright header.
11730
117312011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
11732
11733 * gdb.base/morestack.exp: New file.
11734 * gdb.base/morestack.c: New file.
11735
117362011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11737
11738 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
11739
117402010-12-29 Joel Brobecker <brobecker@adacore.com>
11741
11742 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
11743 * gdb.ada/arrayptr.exp: Add test printing that new variable.
11744
117452010-12-29 Joel Brobecker <brobecker@adacore.com>
11746
11747 * gdb.ada/lang_switch.exp: Correct expected parameter value.
11748
117492010-12-25 Andreas Schwab <schwab@linux-m68k.org>
11750
11751 * gdb.threads/tls.exp: Fix typo.
11752
11753 * gdb.threads/thread-specific.exp (get_thread_list): Update.
11754 * gdb.threads/execl.exp: Update.
11755
117562010-12-23 Yao Qi <yao@codesourcery.com>
11757
11758 * gdb.arch/arm-disp-step.exp: New.
11759 * gdb.arch/arm-disp-step.S: New.
11760
117612010-12-21 Tom Tromey <tromey@redhat.com>
11762
11763 * gdb.threads/execl.exp: Update.
11764 * gdb.threads/linux-dp.exp: Update.
11765 * gdb.threads/manythreads.exp: Update.
11766 * gdb.threads/tls.exp: Update.
11767
117682010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11769
11770 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
11771 (NextOverThrowDerivates) <resumebpt>: New.
11772 (resumebpt_test): New.
11773 (main): Call resumebpt_test.
11774 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
11775
117762010-12-12 Stan Shebs <stan@codesourcery.com>
11777
11778 * gdb.trace/tsv.exp: Test print command on trace state variables.
11779
117802010-12-09 Tom Tromey <tromey@redhat.com>
11781
11782 * gdb.base/interp.exp: Add regression test.
11783
117842010-12-09 Tom Tromey <tromey@redhat.com>
11785
11786 * gdb.java/jnpe.java: New file.
11787 * gdb.java/jnpe.exp: New file.
11788 * gdb.cp/nextoverthrow.exp: New file.
11789 * gdb.cp/nextoverthrow.cc: New file.
11790
117912010-12-07 Doug Evans <dje@google.com>
11792
11793 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
11794 of data-directory.
11795 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
11796 updated.
11797 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
11798
117992010-11-29 Michael Snyder <msnyder@vmware.com>
11800
11801 * gdb.base/callfuncs.exp: Test for skip_float_tests.
11802 * gdb.base/call-sc.exp: Ditto.
11803 * gdb.base/finish.exp: Ditto.
11804 * gdb.base/return.exp: Ditto.
11805 * gdb.base/return2.exp: Ditto.
11806
118072010-11-30 Doug Evans <dje@google.com>
11808
11809 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
11810 (gdb_expect_list): Fix spelling errors in comments.
11811 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
11812 send_gdb/gdb_expect_list where applicable.
11813 * gdb.base/call-ar-st.exp: Ditto.
11814 * gdb.base/funcargs.exp: Ditto.
11815 * gdb.base/gcore.exp: Ditto.
11816 * gdb.base/page.exp: Ditto.
11817 * gdb.base/sigaltstack.exp: Ditto.
11818 * gdb.base/siginfo.exp: Ditto.
11819 * gdb.base/sigstep.exp: Ditto.
11820 * gdb.base/trace-commands.exp: Ditto.
11821
118222010-11-29 Doug Evans <dje@google.com>
11823
11824 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
11825 printer-name;subprinter-name.
11826
118272010-11-29 Tom Tromey <tromey@redhat.com>
11828
11829 * gdb.dwarf2/implptr.exp: New file.
11830 * gdb.dwarf2/implptr.c: New file.
11831 * gdb.dwarf2/implptr.S: New file.
11832
118332010-11-29 Phil Muldoon <pmuldoon@redhat.com>
11834
11835 PR python/12199
11836
11837 * gdb.python/py-breakpoint.exp: Test the delete method.
11838
118392010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11840
11841 Fix step_resume_breakpoint unsaved during an infcall.
11842 * gdb.base/step-resume-infcall.exp: New file.
11843 * gdb.base/step-resume-infcall.c: New file.
11844
118452010-11-24 Edjunior Machado <emachado@br.ibm.com>
11846
11847 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
11848
118492010-11-24 Edjunior Machado <emachado@br.ibm.com>
11850
11851 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
11852 on ppc64's symbols; "finish" and "return" commands must accept to
11853 show the caller line again as well as the line after.
11854 * gdb.asm/powerpc64.inc: New file.
11855
118562010-11-23 Doug Evans <dje@google.com>
11857
11858 * lib/gdb.exp (gdb_test_sequence): New function.
11859 (gdb_expect_list): Add verbose -log call for each pattern.
11860 * gdb.base/signals.exp (test_handle_all_print): Call it.
11861 Reduce timeout increment from 6 minutes to 1 minute.
11862 * gdb.server/ext-run.exp: Call it.
11863
118642010-11-23 Phil Muldoon <pmuldoon@redhat.com>
11865
11866 PR python/12212
11867
11868 * gdb.python/python.exp: Check that selected_thread raises an
11869 error when no inferior is loaded.
11870
118712010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11872
11873 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
11874 * gdb.dwarf2/dw2-stack-boundary.S: New file.
11875
118762010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11877
11878 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
11879 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
11880
118812010-11-18 Doug Evans <dje@google.com>
11882
11883 * gdb.server/ext-run.exp: Fix intermittent failures.
11884
118852010-11-12 Nathan Froyd <froydnj@codesourcery.com>
11886
11887 * gdb.stabs/gdb11479.exp: Use runto_main.
11888
118892010-11-12 Nathan Froyd <froydnj@codesourcery.com>
11890
11891 * gdb.base/break-entry.exp: Skip if using a stub.
11892
118932010-11-12 Nathan Froyd <froydnj@codesourcery.com>
11894
11895 * gdb.python/py-inferior.exp: Pack values in target endianness.
11896
118972010-11-12 Tom Tromey <tromey@redhat.com>
11898
11899 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
11900 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
11901 MemoryError.
11902 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
11903 type.
11904 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
11905 MemoryError.
11906 (test_subscript_regression): Update exception type.
11907
119082010-11-11 Phil Muldoon <pmuldoon@redhat.com>
11909
11910 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
11911 breakpoint tests.
11912
119132010-11-09 Pedro Alves <pedro@codesourcery.com>
11914
11915 * gdb.base/watchpoint.exp: Test "watch -location" with an
11916 innacessible location.
11917
119182010-11-09 Edjunior Machado <emachado@br.ibm.com>
11919 Luis Machado <luisgpm@br.ibm.com>
11920
11921 * gdb.base/maint.exp: Expect "." prefix.
11922 * gdb.base/nodebug.exp: Expect "." Likewise.
11923 * gdb.base/sepsymtab.exp: Expect "." Likewise.
11924 * gdb.base/watchpoint-cond-gone.exp: Likewise.
11925 * gdb.base/watchpoint.exp: Expect a software watch to be created for
11926 POWER server processors.
11927
119282010-11-08 Edjunior Machado <emachado@br.ibm.com>
11929 Luis Machado <luisgpm@br.ibm.com>
11930
11931 * gdb.base/break-entry.exp: convert entry point for
11932 ppc64 and expect leading `.' on ppc64's symbols
11933
119342010-11-05 Doug Evans <dje@google.com>
11935
11936 * gdb.base/help.exp: Update expected output.
11937 * gdb.python/py-param.exp: Delete, contents moved to ...
11938 * gdb.python/py-parameter.exp: ... here. New file.
11939 Add test for gdb.parameter ("directories").
11940
119412010-11-05 Ken Werner <ken.werner@de.ibm.com>
11942
11943 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
11944 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
11945 * configure: Regenerate.
11946 * gdb.opencl/Makefile.in: New File.
11947 * gdb.opencl/datatypes.exp: Likewise.
11948 * gdb.opencl/datatypes.cl: Likewise.
11949 * gdb.opencl/operators.exp: Likewise.
11950 * gdb.opencl/operators.cl: Likewise.
11951 * gdb.opencl/vec_comps.exp: Likewise.
11952 * gdb.opencl/vec_comps.cl: Likewise.
11953 * gdb.opencl/convs_casts.exp: Likewise.
11954 * gdb.opencl/convs_casts.cl: Likewise.
11955 * lib/opencl.exp: Likewise.
11956 * lib/opencl_hostapp.c: Likewise.
11957 * lib/opencl_kernel.cl: Likewise.
11958 * lib/cl_util.c: Likewise.
11959 * lib/cl_util.c: Likewise.
11960 * gdb.base/default.exp (set language): Add "opencl" to the list of
11961 languages.
11962
119632010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
11964
11965 * gdb.cp/overload.exp: Added test for inheritance overload.
11966 * gdb.cp/overload.cc: Ditto.
11967 * gdb.cp/oranking.exp: Removed releveant kfails.
11968
119692010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
11970 Joel Brobecker <brobecker@adacore.com>
11971
11972 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
11973 check test_compiler_info.
11974
119752010-11-03 Ken Werner <ken.werner@de.ibm.com>
11976
11977 * gdb.base/gnu_vector.exp: Adjust expect messages.
11978
119792010-11-03 Ken Werner <ken.werner@de.ibm.com>
11980
11981 * gdb.base/gnu_vector.exp: Add unary operator tests.
11982
119832010-11-03 Ken Werner <ken.werner@de.ibm.com>
11984
11985 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
11986
119872010-11-02 Doug Evans <dje@google.com>
11988
11989 * gdb.python/py-pp-maint.c: New file.
11990 * gdb.python/py-pp-maint.exp: New file.
11991 * gdb.python/py-pp-maint.py: New file.
11992
119932010-11-02 Tom Tromey <tromey@redhat.com>
11994
11995 * gdb.base/default.exp: Remove "scheme" from language list.
11996
119972010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11998
11999 Revert:
12000 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
12001 * gdb.threads/sigstep-threads.exp: New file.
12002 * gdb.threads/sigstep-threads.c: New file.
12003
120042010-10-20 Michael Snyder <msnyder@vmware.com>
12005
12006 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
12007
120082010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
12009
12010 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
12011 Skip test completely if gdb,no_hardware_watchpoints.
12012
120132010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
12014
12015 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
12016 strict, but do not check for any particular function name within libc.
12017
120182010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
12019
12020 * gdb.cp/smartp.exp: New test.
12021 * gdb.cp/smartp.cc : New test.
12022
120232010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
12024
12025 * gdb.cp/converts.exp: Test pointer to bool conversion.
12026 Test pointer to long conversion.
12027 * gdb.cp/oranking.exp: Removed relevant kfail.
12028
120292010-10-18 Tom Tromey <tromey@redhat.com>
12030
12031 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
12032 argument to lazy_string.
12033 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
12034 (pp_ls.to_string): Use it.
12035 * gdb.python/py-prettyprint.c (main): Move declarations to top.
12036 Add "estring2" local.
12037
120382010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
12039
12040 Fix s390x compatibility.
12041 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
12042 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
12043
120442010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
12045
12046 * gdb.threads/sigstep-threads.exp: New file.
12047 * gdb.threads/sigstep-threads.c: New file.
12048
120492010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
12050
12051 * gdb.base/pie-execl.exp: New file.
12052 * gdb.base/pie-execl.c: New file.
12053
120542010-10-13 Doug Evans <dje@google.com>
12055 Jan Kratochvil <jan.kratochvil@redhat.com>
12056
12057 PR exp/12117
12058 * gdb.cp/ptype-cv-cp.cc: New file.
12059 * gdb.cp/ptype-cv-cp.exp: New file.
12060
120612010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
12062
12063 * gdb.cp/converts.cc: New test program.
12064 * gdb.cp/converts.exp: New test.
12065 * gdb.cp/overload.exp: Added test for void* vs int*.
12066 * gdb.cp/overload.exp: Ditto.
12067 * gdb.cp/oranking.exp: Removed related kfail.
12068
120692010-10-13 Doug Evans <dje@google.com>
12070
12071 * lib/gdb-python.exp (gdb_check_python_config): New function.
12072 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
12073 * gdb.python/lib-types.cc: New file.
12074 * gdb.python/lib-types.exp: New file.
12075
120762010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12077
12078 * gdb.python/py-error.exp: New file.
12079 * gdb.python/py-error.py: New file.
12080
120812010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
12082
12083 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
12084 gdb_test_multiple.
12085
120862010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
12087
12088 * gdb.base/break-interp.exp: Use ldlags for linking flags.
12089 * gdb.base/prelink.exp: Likewise.
12090 * gdb.base/solib-nodir.exp: Likewise.
12091 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
12092 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
12093 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
12094
120952010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
12096
12097 * break-interp.exp (test_ld): Use two separate gdb_expect statements
12098 for the "info files" test to avoid timeouts on slow machines.
12099
121002010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12101
12102 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
12103 (main): Make openlib dummy call.
12104
121052010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12106
12107 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
12108 * break-interp.exp (reach): Move the core body ...
12109 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
12110 (test_ld): Provide always real argument, even to the linker. Replace
12111 dl_main by _dl_debug_state.
12112
121132010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12114
12115 Fix results of prelinked PIEs on ppc*.
12116 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
12117 Accept also DISPLACEMENT "PRESENT".
12118 (main): Replace "ZERO" displacements by "PRESENT".
12119
121202010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
12121
12122 * gdb.cp/oranking.exp: New test.
12123 * gdb.cp/oranking.cc: New test program.
12124
121252010-10-08 Ken Werner <ken.werner@de.ibm.com>
12126
12127 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
12128 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
12129
121302010-10-06 Ken Werner <ken.werner@de.ibm.com>
12131
12132 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
12133 lush, lynx) New constant.
12134 * gdb.base/constvars.exp: Test const array types.
12135 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
12136
121372010-10-06 Doug Evans <dje@google.com>
12138
12139 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
12140 of syscall staging area.
12141
121422010-10-06 Ken Werner <ken.werner@de.ibm.com>
12143
12144 * gdb.base/gnu_vector.c: Add variable c4.
12145 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
12146 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
12147
121482010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
12149
12150 * gdb.arch/altivec-abi.exp: Fix a typo.
12151
121522010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
12153
12154 * lib/mi-support.exp (thread_selected_re): Correct pattern used
12155 to match a thread ID.
12156
121572010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
12158
12159 Fix s390x testcase compatibility.
12160 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
12161
121622010-10-01 Doug Evans <dje@google.com>
12163
12164 * lib/gdb-python.exp: New file.
12165 * gdb.python/py-block.exp: Use it.
12166 * gdb.python/py-breakpoint.exp: Ditto.
12167 * gdb.python/py-frame.exp: Ditto.
12168 * gdb.python/py-inferior.exp: Ditto.
12169 * gdb.python/py-param.exp: Ditto.
12170 * gdb.python/py-prettyprint.exp: Ditto.
12171 * gdb.python/py-shared.exp: Ditto.
12172 * gdb.python/py-symbol.exp: Ditto.
12173 * gdb.python/py-symtab.exp: Ditto.
12174 * gdb.python/py-type.exp: Ditto.
12175 * gdb.python/py-value.exp: Ditto.
12176 * gdb.python/python.exp: Ditto.
12177
121782010-09-30 Tom Tromey <tromey@redhat.com>
12179
12180 * gdb.base/anon.exp: New file.
12181 * gdb.base/anon.c: New file.
12182
121832010-09-30 Tom Tromey <tromey@redhat.com>
12184
12185 * gdb.base/completion.exp: Test completion through anonymous
12186 union.
12187 * gdb.base/break1.c (struct some_struct): Add anonymous union.
12188
121892010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
12190
12191 Fix printing parameters of inlined functions.
12192 * gdb.dwarf2/dw2-inline-param.exp: New file.
12193 * gdb.dwarf2/dw2-inline-param-main.c: New file.
12194 * gdb.dwarf2/dw2-inline-param.S: New file.
12195
121962010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
12197
12198 PR corefiles/12071.
12199 * gdb.base/corefile.exp (quit with a process, no question: load core)
12200 (quit with a core file): New tests.
12201
122022010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
12203
12204 Fix GDB crash on inferior calls with self-referencing classes.
12205 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
12206 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
12207 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
12208
122092010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
12210
12211 Fix lost siginfo_t for inferior calls.
12212 * gdb.base/siginfo-infcall.exp: New file.
12213 * gdb.base/siginfo-infcall.c: New file.
12214
122152010-09-22 Joel Brobecker <brobecker@adacore.com>
12216
12217 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
12218
122192010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12220
12221 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
12222 New test.
12223 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
12224
122252010-09-22 Joel Brobecker <brobecker@adacore.com>
12226
12227 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
12228 type of our const type.
12229
122302010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
12231
12232 * gdb.cp/pr12028.cc: New.
12233 * gdb.cp/pr12028.exp: New.
12234
122352010-09-22 Joel Brobecker <brobecker@adacore.com>
12236
12237 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
12238
122392010-09-16 Phil Muldoon <pmuldoon@redhat.com>
12240 Jan Kratochvil <jan.kratochvil@redhat.com>
12241
12242 PR mi/11407
12243 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
12244 * gdb.mi/dw2-ref-missing-frame-main.c New File.
12245 * gdb.mi/dw2-ref-missing-frame.S New File.
12246 * gdb.mi/dw2-ref-missing-frame.exp New File.
12247
122482010-09-14 Tom Tromey <tromey@redhat.com>
12249
12250 PR symtab/8399:
12251 * gdb.threads/tls.exp: Remove kfail. Update expected output.
12252
122532010-09-14 Tom Tromey <tromey@redhat.com>
12254
12255 PR exp/11803:
12256 * gdb.threads/tls.exp: Use C++.
12257 (check_thread_local): Use K::another_thread_local.
12258 * gdb.threads/tls.c (class K): New.
12259 (another_thread_local): Now a member of K.
12260 (spin): Update. No longer K&R C.
12261
122622010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
12263
12264 * gdb.cp/koenig.cc: created class for testing member lookup.
12265 * gdb.cp/koenig.exp: Added test for member lookup.
12266
122672010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12268
12269 Fix false FAILs on sourcetree topdir directory containing "kill".
12270 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
12271 source line matching regexp.
12272
122732010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12274
12275 * gdb.python/python.exp (set height 0, collect help from uiout)
12276 (verify help to uiout): New tests.
12277
122782010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12279
12280 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
12281 is_lp64_target to check 64bit target.
12282
122832010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
12284
12285 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
12286 (test_ld) <powerpc64-*>: New.
12287
122882010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
12289
12290 * gdb.cp/templates.exp (test_template_args): Allow "struct".
12291
122922010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
12293
12294 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
12295 (FunctionArg::method): New function.
12296 (empty, arg): New variables.
12297 (main): Call arg.method.
12298 * gdb.cp/templates.exp (test_template_args): New function.
12299 (do_tests): Call it.
12300
123012010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
12302
12303 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
12304 of "next" to proceed over pthread_exit call.
12305
123062010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
12307
12308 * gdb.base/maint.exp: Avoid wildcards against potentially very long
12309 "maint print statistics" output to prevent expect timeouts.
12310
123112010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
12312
12313 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
12314 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
12315 (test_float_rejected): ... here.
12316 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
12317 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
12318 (test_float_rejected): ... here.
12319 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
12320 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
12321 (test_float_rejected): ... here.
12322 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
12323 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
12324 (test_float_rejected): ... here.
12325
123262010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
12327
12328 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
12329 before disabling hardware watchpoints.
12330 (test_inaccessible_watchpoint): Check that hardware watchpoints
12331 are used. Test for watchpoints on a constant address.
12332
123332010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12334
12335 * gdb.base/ui-redirect.exp: New file.
12336
123372010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
12338 Joel Brobecker <brobecker@adacore.com>
12339
12340 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
12341
123422010-08-31 Doug Evans <dje@google.com>
12343
12344 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
12345
123462010-08-30 Tom Tromey <tromey@redhat.com>
12347
12348 PR python/11792:
12349 * gdb.python/py-value.exp (test_subscript_regression): Add
12350 dynamic_type test.
12351
123522010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
12353
12354 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
12355 instead of running to main. Do not test the main function.
12356 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
12357 Add new main.
12358
123592010-08-26 Pedro Alves <pedro@codesourcery.com>
12360
12361 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
12362 one test.
12363
123642010-08-24 Doug Evans <dje@google.com>
12365
12366 PR symtab/11942
12367 * gdb.dwarf2/dw4-sig-types.cc: New file.
12368 * gdb.dwarf2/dw4-sig-types.h: New file.
12369 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
12370 * gdb.dwarf2/dw4-sig-types.exp: New file.
12371
123722010-08-23 Tom Tromey <tromey@redhat.com>
12373
12374 PR python/11145:
12375 * gdb.python/py-value.c (Base, Derived): New types.
12376 (base): New global.
12377 * gdb.python/py-value.exp (test_subscript_regression): Add
12378 dynamic_cast test.
12379
123802010-08-23 Tom Tromey <tromey@redhat.com>
12381
12382 PR python/10676:
12383 * gdb.python/py-type.exp (test_fields): Add tests for type
12384 equality.
12385
123862010-08-23 Tom Tromey <tromey@redhat.com>
12387
12388 PR python/11915:
12389 * gdb.python/py-type.exp (test_fields): Add tests for array.
12390
123912010-08-23 Keith Seitz <keiths@redhat.com>
12392
12393 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
12394 have any children. Create a new abbrev for it.
12395 Add missing terminal sequence to .debug_abbrev.
12396
123972010-08-20 Keith Seitz <keiths@redhat.com>
12398
12399 PR symtab/11465:
12400 * gdb.dwarf2/pr11465.exp: New test.
12401 * gdb.dwarf2/pr11465.S: New file.
12402 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
12403 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
12404
124052010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
12406
12407 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
12408 registers. Update data sets with the new v2_double element in the
12409 VSX register union. Add vector_register3_vr data set for the AltiVec
12410 registers. Use gdb_test_no_output instead of send_gdb.
12411
124122010-08-19 Pedro Alves <pedro@codesourcery.com>
12413
12414 * gdb.python/py-shared.exp: New file, factored out from
12415 python.exp.
12416 * gdb.python/py-shared.c: New file.
12417 * gdb.python/py-shared-sl.c: New file.
12418 * gdb.python/python-1.c: New file.
12419 * gdb.python/python-sl.c: Delete.
12420 * gdb.python/python.c: Mention python-1.c.
12421 * gdb.python/python.exp: Move shared library tests to
12422 py-shared.exp.
12423 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
12424 (MISCELLANEOUS): New.
12425 (clean mostlyclean): Also remove $MISCELLANEOUS.
12426
124272010-08-19 Doug Evans <dje@google.com>
12428
12429 PR exp/11926
12430 * gdb.base/printcmds.exp (test_float_accepted): New function.
12431 Move existing float tests there. Add tests for floats with suffixes.
12432 (test_float_rejected): New function.
12433 * gdb.java/jv-print.exp (test_float_accepted): New function.
12434 (test_float_rejected): New function.
12435 * gdb.objc/print.exp: New file.
12436 * gdb.pascal/print.exp: New file.
12437 * lib/objc.exp: New file.
12438
124392010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
12440
12441 * gdb.base/default.exp (info set): Avoid full buffer error and force
12442 reading up to final gdb prompt.
12443 (show): Likewise.
12444
124452010-08-18 Tom Tromey <tromey@redhat.com>
12446
12447 PR symtab/11919:
12448 * gdb.base/completion.exp: Add test.
12449
124502010-08-18 Doug Evans <dje@google.com>
12451
12452 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
12453 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
12454 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
12455 Simplify, early exit if runto_main fails.
12456 * gdb.fortran/exprs.exp: load_lib fortran.exp.
12457 (set_lang_fortran): Moved to lib/fortran.exp.
12458 * gdb.fortran/types.exp: load_lib fortran.exp.
12459 (set_lang_fortran): Moved to lib/fortran.exp.
12460 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
12461 * gdb.java/jprint.exp (set_lang_java): Ditto.
12462 * gdb.java/jv-exp.exp: load_lib java.exp.
12463 If set_lang_java fails, issue a warning instead of failure to be
12464 consistent with other set_lang_foo uses.
12465 (set_lang_java): Moved to lib/java.exp.
12466 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
12467 If set_lang_java fails, issue a warning instead of failure to be
12468 consistent with other set_lang_foo uses.
12469 * gdb.pascal/types.exp: load_lib pascal.exp.
12470 (set_lang_pascal): Moved to lib/pascal.exp.
12471 * lib/fortran.exp: New file.
12472 * lib/java.exp (set_lang_java): New function.
12473 * lib/pascal.exp (set_lang_pascal): New function.
12474
124752010-08-18 Yao Qi <yao@codesourcery.com
12476
12477 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
12478 func_nofb_start and func_loopfb_start, so that address of functions
12479 is equal to these labels on Thumb.
12480
124812010-08-18 Yao Qi <yao@codesourcery.com>
12482
12483 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
12484 to reflect latest c source file.
12485
124862010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
12487
12488 * gdb.cp/infcall-dlopen.exp: New file.
12489 * gdb.cp/infcall-dlopen.cc: New file.
12490 * gdb.cp/infcall-dlopen-lib.cc: New file.
12491
124922010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
12493 Pedro Alves <pedro@codesourcery.com>
12494
12495 PR breakpoints/11371
12496
12497 * gdb.base/watch-cond-infcall.exp: New file.
12498 * gdb.base/watch-cond-infcall.c: New file.
12499
125002010-08-16 Tom Tromey <tromey@redhat.com>
12501
12502 * gdb.base/help.exp: Update.
12503 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
12504 watchpoint.
12505 (test_watch_location): New proc.
12506 (test_watchpoint_in_big_blob): Delete watchpoint.
12507 * gdb.base/watchpoint.c (func5): New function.
12508 (main): Call it.
12509
125102010-08-16 Doug Evans <dje@google.com>
12511
12512 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
12513
125142010-08-11 Phil Muldoon <pmuldoon@redhat.com>
12515
12516 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
12517 tests.
12518
125192010-08-11 Ken Werner <ken.werner@de.ibm.com>
12520
12521 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
12522 * gdb.base/gnu_vector.c: New File.
12523 * gdb.base/gnu_vector.exp: Likewise.
12524
125252010-08-11 Phil Muldoon <pmuldoon@redhat.com>
12526
12527 * gdb.python/python.c: New File.
12528 * gdb.python/python-sl.c: New File.
12529 * gdb.python/python.exp: Test solib_address and decode_line
12530 * functions.
12531
125322010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
12533
12534 * gdb.python/python.exp (show height, set height 10)
12535 (verify pagination beforehand, verify pagination beforehand: q)
12536 (gdb.execute does not page, verify pagination afterwards)
12537 (verify pagination afterwards: q): New.
12538
125392010-08-02 Doug Evans <dje@google.com>
12540
12541 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
12542 because of an older gcc, change test2
12543 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
12544 to unsupported.
12545
125462010-07-30 Kazu Hirata <kazu@codesourcery.com>
12547
12548 * gdb.base/break-always.exp: Do not expect full paths to file
12549 names.
12550 * gdb.base/commands.exp: Likewise.
12551
125522010-07-30 Doug Evans <dje@google.com>
12553
12554 * gdb.cp/temargs.exp: For new tests that require newer gccs,
12555 xfail them when run with older gccs.
12556
12557 * lib/gdb.exp (build_executable): Forward "c++" option to
12558 get_compiler_info.
12559
12560 * gdb.python/py-type.exp (test_template): Mark as xfail tests
12561 "python print ttype.template_argument(1)" and
12562 "python print isinstance(ttype.template_argument(1), gdb.Value)"
12563 if using gcc 4.4 or earlier.
12564
12565 * gdb.base/valgrind-db-attach.exp: Use unique test name for
12566 attach-to-debugger handling.
12567
125682010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
12569
12570 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
12571 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
12572 (main): Use copyreloc.
12573 * gdb.base/prelink.exp (split debug of executable)
12574 (.dynbss vs. .bss address shift): New tests.
12575
125762010-07-29 Pedro Alves <pedro@codesourcery.com>
12577
12578 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
12579 in gdb_test_multiple.
12580
125812010-07-29 Pedro Alves <pedro@codesourcery.com>
12582
12583 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
12584 environment.
12585
125862010-07-28 Tom Tromey <tromey@redhat.com>
12587
12588 PR python/11060:
12589 * gdb.python/py-type.c (Temargs): New template.
12590 (temvar): New variable.
12591 * gdb.python/py-type.exp (test_template): New proc.
12592
125932010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
12594
12595 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
12596 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
12597
125982010-07-28 Tom Tromey <tromey@redhat.com>
12599
12600 PR c++/9946:
12601 * gdb.cp/temargs.exp: New file.
12602 * gdb.cp/temargs.cc: New file.
12603
126042010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
12605
12606 * gdb.base/help.exp (help disassemble): Update the content.
12607
126082010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
12609
12610 * gdb.threads/ia64-sigill.exp: New file.
12611 * gdb.threads/ia64-sigill.c: New file.
12612
126132010-07-27 Tom Tromey <tromey@redhat.com>
12614
12615 * gdb.opt/inline-cmds.c (ATTR): New define.
12616 (func1): Use it.
12617 (func2): Likewise.
12618 (func3): Likewise.
12619 (outer_inline1): Likewise.
12620 (outer_inline2): Likewise.
12621 * gdb.opt/inline-bt.c (ATTR): New define.
12622 (func1): Use it.
12623 (func2): Likewise.
12624 * gdb.opt/inline-locals.c (ATTR): New define.
12625 (func1): Use it.
12626 (func2): Likewise.
12627
126282010-07-27 Tom Tromey <tromey@redhat.com>
12629
12630 * gdb.stabs/gdb11479.c (hack): New function.
12631 (test): Use it.
12632 (test2): Use it.
12633 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
12634 (int32_search_buf, int64_search_buf): No longer static.
12635 (x): Remove.
12636 * gdb.base/relocate.c (hack): New function.
12637
126382010-07-27 Phil Muldoon <pmuldoon@redhat.com>
12639
12640 * gdb.python/py-value.exp (test_inferior_function_call): New function.
12641 * gdb.python/py-value.c (func1): New function.
12642 (func2): Likewise.
12643
126442010-07-26 Corinna Vinschen <vinschen@redhat.com>
12645
12646 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
12647 as not to clash with .data section.
12648
126492010-07-26 Jerome Guitton <guitton@adacore.com>
12650
12651 * gdb.base/code_elim.exp: New file.
12652 * gdb.base/code_elim1.c: New file.
12653 * gdb.base/code_elim2.c: New file.
12654
126552010-07-21 Pedro Alves <pedro@codesourcery.com>
12656
12657 PR symtab/11827
12658
12659 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
12660 (some_volatile_enum): New variable.
12661 * gdb.base/printcmds.exp (test_print_enums): New.
12662 <top level>: Call it.
12663
126642010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
12665
12666 * gdb.cp/fpointer.cc: New test.
12667 * gdb.cp/fpointer.exp: New test.
12668
126692010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12670
12671 * gdb.base/solib-nodir.exp: New file.
12672 * lib/gdb.exp (runto): New case for a GDB internal error.
12673
126742010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12675 Ulrich Weigand <uweigand@de.ibm.com>
12676 Tom Tromey <tromey@redhat.com>
12677
12678 * gdb.base/charset-malloc.c: New file.
12679 * gdb.base/charset.c (malloc_stub): New prototype.
12680 (main): Call it instead of malloc itself.
12681 * gdb.base/charset.exp: Use only prepare_for_testing.
12682 (binfile): Remove the variable.
12683
126842010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
12685
12686 Make core files the process_stratum.
12687 * gdb.base/corefile.exp (run: load core again)
12688 (run: sanity check we see the core file, run: with core)
12689 (run: core file is cleared, attach: load core again)
12690 (attach: sanity check we see the core file, attach: with core)
12691 (attach: core file is cleared): New tests.
12692 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
12693
126942010-07-14 Ken Werner <ken.werner@de.ibm.com>
12695
12696 * gdb.arch/altivec-abi.exp: New tests.
12697
126982010-07-13 Tom Tromey <tromey@redhat.com>
12699
12700 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
12701 (main): Use it.
12702 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
12703
127042010-07-13 Tom Tromey <tromey@redhat.com>
12705
12706 * gdb.base/label.exp: New file.
12707 * gdb.base/label.c: New file.
12708
127092010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
12710 H.J. Lu <hongjiu.lu@intel.com>
12711
12712 * lib/gdb.exp (is_ilp32_target): New.
12713 (is_lp64_target): Likewise.
12714
12715 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
12716 target.
12717 * gdb.arch/amd64-disp-step.exp: Likewise.
12718 * gdb.arch/amd64-dword.exp: Likewise.
12719 * gdb.arch/amd64-i386-address.exp: Likewise.
12720 * gdb.arch/amd64-word.exp: Likewise.
12721
12722 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
12723 target.
12724 * gdb.arch/i386-bp_permanent.exp: Likewise.
12725 * gdb.arch/i386-byte.exp: Likewise.
12726 * gdb.arch/i386-disp-step.exp: Likewise.
12727 * gdb.arch/i386-gnu-cfi.exp: Likewise.
12728 * gdb.arch/i386-prologue.exp: Likewise.
12729 * gdb.arch/i386-size-overlap.exp: Likewise.
12730 * gdb.arch/i386-size.exp: Likewise.
12731 * gdb.arch/i386-sse.exp: Likewise.
12732 * gdb.arch/i386-unwind.exp: Likewise.
12733 * gdb.arch/i386-word.exp: Likewise.
12734
12735 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
12736 test only when building 64-bit executables. Do not hard-code
12737 -m64 option.
12738
127392010-07-07 Doug Evans <dje@google.com>
12740
12741 * lib/gdb.exp (gdb_test_list_exact): New function.
12742 * gdb.base/default.exp (show convenience): Call it, add tests for
12743 $_sdata = void, $_thread = 0.
12744
127452010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
12746 Joel Brobecker <brobecker@adacore.com>
12747
12748 Fix re-run of PIE executable, PR shlibs/11776.
12749 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
12750 Remove $displacement_main to match the solib-svr4.c change. New "kill"
12751 and re-"run" of the inferior.
12752
127532010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
12754 Joel Brobecker <brobecker@adacore.com>
12755
12756 Cope with missing /usr/sbin/prelink.
12757 * lib/prelink-support.exp (prelink_no):
12758 <result == 1 && $output is "no such file or directory">: New.
12759 (prelink_yes): Likewise. Return on failed prelink_no.
12760
127612010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
12762 Joel Brobecker <brobecker@adacore.com>
12763
12764 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
12765 build_executable by build_executable_own_libs. Replace "prelink -R"
12766 execution by a call of prelink_yes. Comment why "prelink -r" needs no
12767 change.
12768 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
12769 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
12770 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
12771 Replace build_executable by build_executable_own_libs's function
12772 build_executable_own_libs.
12773 (prelinkNO): Create new stub to call prelink_no.
12774 (prelinkYES): Create new stub to call prelink_yes.
12775 (test_attach): Rename calls of copy to file_copy.
12776 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
12777 (copy): Move to ...
12778 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
12779 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
12780 * gdb.base/prelink.exp: Disable testcase also for is_remote and
12781 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
12782 special flags by gdb_compile_shlib. Replace second gdb_compile by
12783 build_executable_own_libs. Replace "prelink -R" execution by a call of
12784 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
12785 a second call of prelink_yes. Replace restart commands by
12786 clean_restart.
12787 (prelink): Rename to ...
12788 (seen displacement message): ... this test. Extend its expectation
12789 strictness.
12790
127912010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
12792
12793 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
12794 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
12795 displacement message exactly once.
12796
127972010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
12798 Joel Brobecker <brobecker@adacore.com>
12799
12800 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
12801 its restore after the <$relink_args != ""> loop. new comment.
12802
128032010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
12804 Joel Brobecker <brobecker@adacore.com>
12805
12806 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
12807 code for it. New variable relink_args.
12808 (prelinkYES): Call prelinkNO.
12809 (test_attach): Accept new parameter relink_args. Re-prelink the binary
12810 in such case. Move the core code to ...
12811 (test_attach_gdb): ... a new function. Send GDB command "file".
12812 Extend expected "Attaching to " string.
12813
128142010-07-02 Tom Tromey <tromey@redhat.com>
12815
12816 * gdb.base/bitops.exp: Remove extraneous "pass".
12817
128182010-07-02 Ken Werner <ken.werner@de.ibm.com>
12819
12820 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
12821
128222010-07-01 Pedro Alves <pedro@codesourcery.com>
12823
12824 * gdb.base/help.exp: Adjust expected output.
12825
128262010-07-01 Pedro Alves <pedro@codesourcery.com>
12827
12828 * gdb.base/help.exp: Adjust expected output.
12829
128302010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
12831
12832 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
12833 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
12834 c++/11702.
12835
128362010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
12837 Doug Evans <dje@google.com>
12838
12839 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
12840 add .dynamic entry'.
12841
128422010-06-29 Doug Evans <dje@google.com>
12843
12844 Test PR c++/11702.
12845 * gdb.cp/m-static.exp: Add testcase.
12846 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
12847
128482010-06-28 Phil Muldoon <pmuldoon@redhat.com>
12849 Tom Tromey <tromey@redhat.com>
12850 Thiago Jung Bauermann <bauerman@br.ibm.com>
12851
12852 * gdb.python/py-inferior.c: New File.
12853 * gdb.python/py-infthread.c: New File.
12854 * gdb.python/py-inferior.exp: New File.
12855 * gdb.python/py-infthread.exp: New File.
12856
128572010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
12858
12859 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
12860 (ptype ::C::OtherFileClass typedefs): New.
12861 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
12862 (C::OtherFileClass::cOtherFileClassVar2): New.
12863 (C::OtherFileClass::cOtherFileClassVar_use): Use also
12864 cOtherFileClassVar2.
12865 (C::cOtherFileType2, C::cOtherFileVar2): New.
12866 (C::cOtherFileVar_use): use also cOtherFileVar2.
12867 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
12868
128692010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
12870
12871 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
12872 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
12873 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
12874 (print ::C::cOtherFileVar)
12875 (whatis C::OtherFileClass::cOtherFileClassType)
12876 (whatis ::C::OtherFileClass::cOtherFileClassType)
12877 (print C::OtherFileClass::cOtherFileClassVar)
12878 (print ::cOtherFileClassVar)
12879 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
12880 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
12881 trailing content.
12882 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
12883 (C::OtherFileClass::cOtherFileClassVar)
12884 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
12885 (C::cOtherFileVar, C::cOtherFileVar_use): New.
12886
128872010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
12888
12889 Test PR c++/11703 and PR gdb/1448.
12890 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
12891 gdb/1448.
12892
128932010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
12894
12895 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
12896 (main) <rtti_data>: New.
12897 * gdb.cp/virtbase.exp (print rtti_data): New.
12898
128992010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
12900 Joel Brobecker <brobecker@adacore.com>
12901
12902 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
12903
129042010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
12905
12906 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
12907
129082010-06-28 Doug Evans <dje@google.com>
12909
12910 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
12911
129122010-06-27 Doug Evans <dje@google.com>
12913
12914 * gdb.cp/m-static.exp: Update expected test output.
12915
129162010-06-25 Paul Hilfinger <hilfinger@adacore.com>
12917
12918 * gdb.gdb/selftest.exp: Adjust expected message for
12919 capturing start-up runtime.
12920
129212010-06-25 Tom Tromey <tromey@redhat.com>
12922
12923 PR python/10808:
12924 * gdb.python/python.exp: Add new tests.
12925
129262010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
12927
12928 * gdb.cp/operator.cc: Created an import loop.
12929 * gdb.cp/operator.exp: Added testcase for import loop.
12930
129312010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
12932
12933 Test PR python/11407.
12934 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
12935 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
12936 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
12937 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
12938 executable_nofb and executable_fb. New variables srcsfile, objsfile,
12939 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
12940 binfile. Call gdb_compile with clean_restart twice.
12941 (func_nofb print, func_nofb backtrace, func_loopfb print)
12942 (func_loopfb backtrace): New.
12943
129442010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
12945
12946 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
12947 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
12948 by a hand made one.
12949 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
12950 i?86 requirement. Remove variables srcfile and binfile. New variable
12951 sources, executable_nofb and executable_fb. Call prepare_for_testing.
12952
129532010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12954
12955 * gdb.cell/dwarfaddr.exp: New file.
12956 * gdb.cell/dwarfaddr.S: New file.
12957
129582010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
12959
12960 Test PR 9436.
12961 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
12962
129632010-06-24 Hui Zhu <teawater@gmail.com>
12964
12965 * gdb.base/eval.exp: New file.
12966
129672010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12968
12969 * gdb.cell/fork.exp: New file.
12970 * gdb.cell/fork.c: Likewise.
12971 * gdb.cell/fork-spu.c: Likewise.
12972
129732010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
12974
12975 * lib/gdb.exp (banned_variables_traced): New global variable.
12976 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
12977 (gdb_init): Use `trace add variable' instead of obsolete
12978 `trace variable'.
12979
129802010-06-21 Doug Evans <dje@google.com>
12981
12982 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
12983
129842010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12985
12986 * gdb.arch/spu-ls.exp: New file.
12987 * gdb.arch/spu-ls.c: Likewise.
12988
129892010-06-18 Stan Shebs <stan@codesourcery.com>
12990
12991 * gdb.threads/thread-specific.exp: Add tests of $_thread.
12992
129932010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12994
12995 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
12996 * gdb.base/watch-cond.exp: Likewise.
12997 * gdb.python/py-breakpoint.exp: Likewise.
12998
129992010-06-18 Pedro Alves <pedro@codesourcery.com>
13000
13001 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
13002 clean_restart, make sure every test has a distinct message, and
13003 that messages don't include the executable' full path.
13004
130052010-06-17 Doug Evans <dje@google.com>
13006
13007 * gdb.arch/i386-size.exp: Updated expected output for
13008 DISASSEMBLY_OMIT_FNAME.
13009
130102010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13011 Sergio Durigan Junior <sergiodj@redhat.com>
13012
13013 * gdb.base/watch-notconst.c: New file.
13014 * gdb.base/watch-notconst.S: New file.
13015 * gdb.base/watch-notconst2.c: New file.
13016 * gdb.base/watch-notconst2.S: New file.
13017 * gdb.base/watch-notconst.exp: New file.
13018 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
13019 (func4): Add operations on `global_ptr_ptr'.
13020 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
13021 routine to test watchpoints created with a constant expression.
13022 (test_inaccessible_watchpoint): Include tests for watchpoints
13023 created with a constant expression.
13024
130252010-06-14 Kevin Buettner <kevinb@redhat.com>
13026
13027 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
13028 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
13029 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
13030 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
13031 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
13032 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
13033 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
13034 of `_start'.
13035
130362010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13037
13038 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
13039 not supported on the target.
13040 * gdb.mi/mi-nonstop-exit.exp: Likewise.
13041 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
13042 * gdb.mi/mi-nsintrall.exp: Likewise.
13043 * gdb.mi/mi-nsmoribund.exp: Likewise.
13044 * gdb.mi/mi-nsthrexec.exp: Likewise.
13045
130462010-06-11 Stan Shebs <stan@codesourcery.com>
13047
13048 * gdb.base/permissions.exp: New file.
13049
130502010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13051
13052 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
13053 does not support ELF executable class.
13054
130552010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13056
13057 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
13058
130592010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13060
13061 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
13062 (runto): Catch "The target does not support running in non-stop mode.".
13063
130642010-06-11 Michael Snyder <msnyder@vmware.com>
13065
13066 * gdb.base/setshow.exp (set language asm): Don't use
13067 gdb_test_no_output, fails on some targets.
13068
130692010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13070
13071 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
13072 * gdb.cp/pr9167.exp: Likewise.
13073
130742010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13075
13076 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
13077
130782010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13079
13080 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
13081
130822010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13083
13084 * gdb.base/charset.c (main): Make sure malloc gets linked in.
13085
130862010-06-11 Tom Tromey <tromey@redhat.com>
13087
13088 PR gdb/9977, PR exp/11636::
13089 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
13090 (pieces_test_f6): Update expected output.
13091
130922010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13093
13094 * gdb.base/moribund-step.exp: New.
13095
130962010-06-08 Michael Snyder <msnyder@vmware.com>
13097
13098 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
13099 * gdb.ada/boolean_expr.exp:
13100 * gdb.ada/frame_args.exp: Ditto.
13101 * gdb.ada/lang_switch.exp: Ditto.
13102 * gdb.ada/ptype_arith_binop.exp: Ditto.
13103 * gdb.ada/ref_param.exp: Ditto.
13104 * gdb.ada/type_coercion.exp:Ditto.
13105
13106 * gdb.asm/asm-source.exp: Ditto.
13107
13108 * gdb.base/attach.exp: Ditto.
13109 * gdb.base/bitfields2.exp: Ditto.
13110 * gdb.base/call-signal-resume.exp: Ditto.
13111 * gdb.base/callfuncs.exp: Ditto.
13112 * gdb.base/commands.exp: Ditto.
13113 * gdb.base/dbx.exp: Ditto.
13114 * gdb.base/default.exp: Ditto.
13115 * gdb.base/dump.exp: Ditto.
13116 * gdb.base/exprs.exp: Ditto.
13117 * gdb.base/freebpcmd.exp: Ditto.
13118 * gdb.base/interrupt.exp: Ditto.
13119 * gdb.base/list.exp: Ditto.
13120 * gdb.base/long_long.exp: Ditto.
13121 * gdb.base/maint.exp: Ditto.
13122 * gdb.base/ptype.exp: Ditto.
13123 * gdb.base/return.exp: Ditto.
13124 * gdb.base/setshow.exp: Ditto.
13125 * gdb.base/sigbpt.exp: Ditto.
13126 * gdb.base/sigrepeat.exp: Ditto.
13127
13128 * gdb.cp/classes.exp: Ditto.
13129
13130 * gdb.dwarf2/dw2-restore.exp: Ditto.
13131
13132 * gdb.gdb/selftest.exp: Ditto.
13133
13134 * gdb.multi/base.exp: Ditto.
13135 * gdb.multi/bkpt-multi-exec.exp: Ditto.
13136
13137 * gdb.python/py-block.exp: Ditto.
13138 * gdb.python/py-prettyprint.exp: Ditto.
13139 * gdb.python/py-template.exp: Ditto.
13140
13141 * gdb.server/ext-attach.exp: Ditto.
13142 * gdb.server/ext-run.exp: Ditto.
13143 * gdb.server/server-mon.exp: Ditto.
13144
13145 * gdb.threads/fork-thread-pending.exp: Ditto.
13146 * gdb.threads/hand-call-in-threads.exp: Ditto.
13147 * gdb.threads/interrupted-hand-call.exp: Ditto.
13148 * gdb.threads/linux-dp.exp: Ditto.
13149 * gdb.threads/manythreads.exp: Ditto.
13150 * gdb.threads/print-threads.exp: Ditto.
13151 * gdb.threads/pthreads.exp: Ditto.
13152 * gdb.threads/schedlock.exp: Ditto.
13153 * gdb.threads/thread-unwindonsignal.exp: Ditto.
13154 * gdb.threads/threadapply.exp: Ditto.
13155
131562010-06-08 Michael Snyder <msnyder@vmware.com>
13157
13158 * gdb.ada/exec_changed.exp:
13159 Use ".*" instead of "" as wildcard regexp.
13160
13161 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
13162 * gdb.base/call-ar-st.exp: Ditto.
13163 * gdb.base/checkpoint.exp: Ditto.
13164 * gdb.base/default.exp: Ditto.
13165 * gdb.base/dump.exp: Ditto.
13166 * gdb.base/ending-run.exp: Ditto.
13167 * gdb.base/fileio.exp: Ditto.
13168 * gdb.base/miscexprs.exp: Ditto.
13169 * gdb.base/pointers.exp: Ditto.
13170 * gdb.base/readline.exp: Ditto.
13171 * gdb.base/reread.exp: Ditto.
13172 * gdb.base/restore.exp: Ditto.
13173 * gdb.base/shlib-call.exp: Ditto.
13174 * gdb.base/valgrind-db-attach.exp: Ditto.
13175 * gdb.base/volatile.exp: Ditto.
13176 * gdb.base/watchpoints.exp: Ditto.
13177
13178 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
13179
13180 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
13181 * gdb.python/py-value.exp: Ditto.
13182
13183 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
13184 * gdb.trace/circ.exp: Ditto.
13185 * gdb.trace/collection.exp: Ditto.
13186 * gdb.trace/packetlen.exp: Ditto.
13187 * gdb.trace/passc-dyn.exp: Ditto.
13188 * gdb.trace/report.exp: Ditto.
13189 * gdb.trace/tfile.exp: Ditto.
13190 * gdb.trace/tfind.exp: Ditto.
13191 * gdb.trace/while-dyn.exp: Ditto.
13192
131932010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13194
13195 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
13196
131972010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13198
13199 Test PR 10640.
13200 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
13201
132022010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
13203
13204 * gdb.cp/koenig.exp: Test for ADL operators.
13205 * gdb.cp/koenig.cc: Added ADL operators.
13206 * gdb.cp/operator.exp: New test.
13207 * gdb.cp/operator.cc: New test.
13208
132092010-06-04 Michael Snyder <msnyder@vmware.com>
13210
13211 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
13212 * gdb.base/pending.exp: Ditto.
13213
13214 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
13215
132162010-06-04 Doug Evans <dje@google.com>
13217
13218 * gdb.python/py-prettyprint.exp: Add new test for enabled and
13219 disabled printers.
13220 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
13221 (enable_lookup_function): New function.
13222
132232010-06-04 Tom Tromey <tromey@redhat.com>
13224
13225 * gdb.python/py-value.exp (test_value_hash): Don't test equality
13226 of hash and id.
13227
132282010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
13229
13230 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
13231 newline.
13232 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
13233 (empty verbose non-noisy clear, empty verbose noisy clear)
13234 (empty non-verbose noisy clear): Likewise.
13235
132362010-06-03 Michael Snyder <msnyder@vmware.com>
13237
13238 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
13239 * gdb.base/display.exp: Ditto.
13240 * gdb.base/find.exp: Ditto.
13241 * gdb.base/ifelse.exp: Ditto.
13242 * gdb.base/multi-forks.exp: Ditto.
13243 * gdb.base/recurse.exp: Ditto.
13244 * gdb.base/setshow.exp: Ditto.
13245 * gdb.base/value-double-free.exp: Ditto.
13246 * gdb.base/watch-vfork.exp: Ditto.
13247 * gdb.base/watch_thread_num.exp: Ditto.
13248 * gdb.base/watchpoint-solib.exp: Ditto.
13249 * gdb.base/watchpoint.exp: Ditto.
13250 * gdb.base/watchpoints.exp: Ditto.
13251
13252 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
13253 * gdb.cp/overload.exp: Ditto.
13254 * gdb.cp/virtfunc.exp: Ditto.
13255
13256 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
13257
13258 * gdb.reverse/watch-precsave.exp:
13259 Replace gdb_test with gdb_test_no_output.
13260
13261 * gdb.threads/attach-into-signal.exp:
13262 Replace gdb_test with gdb_test_no_output.
13263 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
13264 * gdb.threads/watchthreads.exp: Ditto.
13265 * gdb.threads/watchthreads2.exp: Ditto.
13266
13267 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
13268 * gdb.trace/tfind.exp: Ditto.
13269
132702010-06-03 Joel Brobecker <brobecker@adacore.com>
13271
13272 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
13273 successful test if message is the empty string.
13274
132752010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13276
13277 * gdb.fortran/module.exp (stopped language detection): New test.
13278
132792010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13280
13281 Support DW_TAG_module as separate namespaces.
13282 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
13283 gdb.fortran/library-module-lib.f90: New.
13284 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
13285 (print i): Remove.
13286 (continue to breakpoint: i-is-1, print var_i value 1)
13287 (continue to breakpoint: i-is-2, print var_i value 2)
13288 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
13289 (print var_d, print var_i value 14, ptype modmany, complete `modm)
13290 (complete `modmany, complete `modmany`, complete `modmany`var)
13291 (show language, setting breakpoint at module): New tests.
13292 * gdb.fortran/module.f90 (module mod): Remove.
13293 (module mod1, module mod2, module modmany, subroutine sub1)
13294 (subroutine sub2, program module): New.
13295
132962010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13297
13298 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
13299 (print value of rUC, print value of rI, print value of UI): ... here.
13300 * gdb.cp/anon-union.exp (pass): Rename to ...
13301 (print z 2): ... here.
13302
133032010-06-02 Michael Snyder <msnyder@vmware.com>
13304
13305 * gdb.trace/actions.exp: Use gdb_test_no_output.
13306 * gdb.trace/circ.exp: Ditto.
13307 * gdb.trace/packetlen.exp: Ditto.
13308 * gdb.trace/save-trace.exp: Ditto.
13309 * gdb.trace/tracecmd.exp: Ditto.
13310 * gdb.trace/tsv.exp: Ditto.
13311
13312 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
13313 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
13314 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
13315 * gdb.threads/manythreads.exp: Ditto.
13316 * gdb.threads/print-threads.exp: Ditto.
13317 * gdb.threads/pthreads.exp: Ditto.
13318 * gdb.threads/schedlock.exp: Ditto.
13319 * gdb.threads/staticthreads.exp: Ditto.
13320 * gdb.threads/thread-specific.exp: Ditto.
13321 * gdb.threads/thread-unwindonsignal.exp: Ditto.
13322 * gdb.threads/threadapply.exp: Ditto.
13323 * gdb.threads/watchthreads.exp: Ditto.
13324 * gdb.threads/watchthreads2.exp: Ditto.
13325
13326 * gdb.python/py-block.exp: Use gdb_test_no_output.
13327 * gdb.python/py-prettyprint.exp: Ditto.
13328 * gdb.python/py-template.exp: Ditto.
13329 * gdb.python/py-value.exp: Ditto.
13330
13331 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
13332 * gdb.reverse/watch-reverse.exp: Ditto.
13333
13334 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
13335 * gdb.server/ext-run.exp: Ditto.
13336
13337 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
13338 * gdb.dwarf2/dw2-compressed.exp: Ditto.
13339 * gdb.dwarf2/dw2-intercu.exp: Ditto.
13340 * gdb.dwarf2/dw2-intermix.exp: Ditto.
13341 * gdb.dwarf2/dw2-producer.exp: Ditto.
13342 * gdb.dwarf2/mac-fileno.exp: Ditto.
13343
13344 * gdb.gdb/observer.exp: Use gdb_test_no_output.
13345 * gdb.gdb/selftest.exp: Ditto.
13346
13347 * gdb.multi/base.exp: Use gdb_test_no_output.
13348
13349 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
13350
133512010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13352
13353 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
13354
133552010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
13356
13357 * gdb.cp/class2.exp: Use gdb_test_no_output.
13358 * gdb.cp/classes.exp: Ditto.
13359 * gdb.cp/extern-c.exp: Ditto.
13360 * gdb.cp/inherit.exp: Ditto.
13361 * gdb.cp/maint.exp: Ditto.
13362 * gdb.cp/mb-inline.exp: Ditto.
13363 * gdb.cp/mb-templates.exp: Ditto.
13364 * gdb.cp/method2.exp: Ditto.
13365 * gdb.cp/misc.exp: Ditto.
13366 * gdb.cp/ovldbreak.exp: Ditto.
13367 * gdb.cp/punctuator.exp: Ditto.
13368 * gdb.cp/templates.exp: Ditto.
13369 * gdb.cp/virtbase.exp: Ditto.
13370
13371 * gdb.threads/attach-stopped.exp:
13372 Replace uses of send_gdb / gdb_expect.
13373 * gdb.threads/attachstop-mt.exp:
13374 Replace uses of send_gdb / gdb_expect.
13375 * gdb.threads/gcore-thread.exp:
13376 Replace uses of send_gdb / gdb_expect.
13377 * gdb.threads/hand-call-in-threads.exp:
13378 Replace uses of send_gdb / gdb_expect.
13379 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
13380 * gdb.threads/print-threads.exp:
13381 Replace uses of send_gdb / gdb_expect.
13382 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
13383 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
13384 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
13385
13386 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
13387 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
13388 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
13389 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
13390 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
13391 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
13392 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
13393 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
13394 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
13395 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
13396 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
13397
133982010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13399
13400 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
13401
134022010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
13403
13404 * gdb.cp/koenig.exp: Added new test case.
13405 * gdb.cp/koenig.cc: Ditto.
13406
134072010-06-01 Michael Snyder <msnyder@vmware.com>
13408
13409 * gdb.base/arithmet.exp: Use gdb_test_no_output.
13410 * gdb.base/arrayidx.exp: Ditto.
13411 * gdb.base/attach.exp: Ditto.
13412 * gdb.base/auxv.exp: Ditto.
13413 * gdb.base/bigcre.exp: Ditto.
13414 * gdb.base/break-always.exp: Ditto.
13415 * gdb.base/break-interp.exp: Ditto.
13416 * gdb.base/break.exp: Ditto.
13417 * gdb.base/breakpoint-shadow.exp: Ditto.
13418 * gdb.base/call-ar-st.exp: Ditto.
13419 * gdb.base/call-sc.exp: Ditto.
13420 * gdb.base/call-signal-resume.exp: Ditto.
13421 * gdb.base/callfuncs.exp: Ditto.
13422 * gdb.base/catch-syscall.exp: Ditto.
13423 * gdb.base/charset.exp: Ditto.
13424 * gdb.base/code-expr.exp: Ditto.
13425 * gdb.base/commands.exp: Ditto.
13426 * gdb.base/cond-expr.exp: Ditto.
13427 * gdb.base/condbreak.exp: Ditto.
13428 * gdb.base/cursal.exp: Ditto.
13429 * gdb.base/cvexpr.exp: Ditto.
13430 * gdb.base/default.exp: Ditto.
13431 * gdb.base/del.exp: Ditto.
13432 * gdb.base/detach.exp: Ditto.
13433 * gdb.base/display.exp: Ditto.
13434 * gdb.base/ena-dis-br.exp: Ditto.
13435 * gdb.base/eval-skip.exp: Ditto.
13436 * gdb.base/foll-fork.exp: Ditto.
13437 * gdb.base/foll-vfork.exp: Ditto.
13438 * gdb.base/frame-args.exp: Ditto.
13439 * gdb.base/funcargs.exp: Ditto.
13440 * gdb.base/gcore-buffer-overflow.exp: Ditto.
13441 * gdb.base/gdbvars.exp: Ditto.
13442 * gdb.base/help.exp: Ditto.
13443 * gdb.base/ifelse.exp: Ditto.
13444 * gdb.base/included.exp: Ditto.
13445 * gdb.base/list.exp: Ditto.
13446 * gdb.base/macscp.exp: Ditto.
13447 * gdb.base/maint.exp: Ditto.
13448 * gdb.base/multi-fork.exp: Ditto.
13449 * gdb.base/overlays.exp: Ditto.
13450 * gdb.base/page.exp: Ditto.
13451 * gdb.base/pending.exp: Ditto.
13452 * gdb.base/pointers.exp: Ditto.
13453 * gdb.base/pr11022.exp: Ditto.
13454 * gdb.base/prelink.exp: Ditto.
13455 * gdb.base/printcmds.exp: Ditto.
13456 * gdb.base/psymtab.exp: Ditto.
13457 * gdb.base/randomize.exp: Ditto.
13458 * gdb.base/relational.exp: Ditto.
13459 * gdb.base/relocate.exp: Ditto.
13460 * gdb.base/remote.exp: Ditto.
13461 * gdb.base/sepdebug.exp: Ditto.
13462 * gdb.base/set-lang-auto.exp: Ditto.
13463 * gdb.base/setshow.exp: Ditto.
13464 * gdb.base/setvar.exp: Ditto.
13465 * gdb.base/signals.exp: Ditto.
13466 * gdb.base/signull.exp: Ditto.
13467 * gdb.base/sigstep.exp: Ditto.
13468 * gdb.base/sizeof.exp: Ditto.
13469 * gdb.base/solib-disc.exp: Ditto.
13470 * gdb.base/store.exp: Ditto.
13471 * gdb.base/structs.exp: Ditto.
13472 * gdb.base/structs2.exp: Ditto.
13473 * gdb.base/subst.exp: Ditto.
13474 * gdb.base/term.exp: Ditto.
13475 * gdb.base/trace-commands.exp: Ditto.
13476 * gdb.base/unwindonsignal.exp: Ditto.
13477 * gdb.base/valgrind-db-attach.exp: Ditto.
13478 * gdb.base/varargs.exp: Ditto.
13479 * gdb.base/watch-cond.exp: Ditto.
13480 * gdb.base/watch_thread_num.exp: Ditto.
13481 * gdb.base/watchpoint-cond-gone.exp: Ditto.
13482 * gdb.base/watchpoint.exp: Ditto.
13483 * gdb.base/whatis-exp.exp: Ditto.
13484
134852010-06-01 Michael Snyder <msnyder@vmware.com>
13486
13487 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
13488 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
13489 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
13490 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
13491 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
13492 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
13493 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
13494 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
13495 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
13496 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
13497 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
13498 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
13499 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
13500 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
13501 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
13502
135032010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
13504
13505 * gdb.base/commands.exp (begin commands on watch): Remove excessive
13506 trailing newline.
13507 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
13508 * gdb.java/jmisc.exp (p *args\n): Rename to ...
13509 (p *args): ... here and remove excessive trailing newline.
13510
135112010-05-31 Joel Brobecker <brobecker@adacore.com>
13512
13513 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
13514
135152010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
13516
13517 Accept the new Linux kernel "t (tracing stop)" string.
13518 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
13519 Update comment.
13520 (state_wait) <T (tracing stop)>: New.
13521 (main): Update the state_wait expect string.
13522
135232010-05-28 Pedro Alves <pedro@codesourcery.com>
13524
13525 * limits.c, limits.exp: Delete files.
13526 * Makefile.in (clean mostlyclean): Adjust.
13527 * tracecmd.exp: Adjust.
13528
135292010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
13530
13531 * gdb.base/tui-layout.exp: New.
13532
135332010-05-28 Michael Snyder <msnyder@vmware.com>
13534
13535 * gdb.reverse/break-precsave.exp:
13536 Replace uses of send_gdb / gdb_expect.
13537 * gdb.reverse/break-reverse.exp:
13538 Replace uses of send_gdb / gdb_expect.
13539 * gdb.reverse/consecutive-precsave.exp:
13540 Replace uses of send_gdb / gdb_expect.
13541 * gdb.reverse/consecutive-reverse.exp:
13542 Replace uses of send_gdb / gdb_expect.
13543 * gdb.reverse/finish-precsave.exp:
13544 Replace uses of send_gdb / gdb_expect.
13545 * gdb.reverse/finish-reverse.exp:
13546 Replace uses of send_gdb / gdb_expect.
13547 * gdb.reverse/i386-precsave.exp:
13548 Replace uses of send_gdb / gdb_expect.
13549 * gdb.reverse/i386-reverse.exp:
13550 Replace uses of send_gdb / gdb_expect.
13551 * gdb.reverse/i386-sse-reverse.exp:
13552 Replace uses of send_gdb / gdb_expect.
13553 * gdb.reverse/i387-env-reverse.exp:
13554 Replace uses of send_gdb / gdb_expect.
13555 * gdb.reverse/i387-stack-reverse.exp:
13556 Replace uses of send_gdb / gdb_expect.
13557 * gdb.reverse/machinestate-precsave.exp:
13558 Replace uses of send_gdb / gdb_expect.
13559 * gdb.reverse/machinestate.exp:
13560 Replace uses of send_gdb / gdb_expect.
13561 * gdb.reverse/sigall-precsave.exp:
13562 Replace uses of send_gdb / gdb_expect.
13563 * gdb.reverse/sigall-reverse.exp:
13564 Replace uses of send_gdb / gdb_expect.
13565 * gdb.reverse/solib-precsave.exp:
13566 Replace uses of send_gdb / gdb_expect.
13567 * gdb.reverse/solib-reverse.exp:
13568 Replace uses of send_gdb / gdb_expect.
13569 * gdb.reverse/step-precsave.exp:
13570 Replace uses of send_gdb / gdb_expect.
13571 * gdb.reverse/step-reverse.exp:
13572 Replace uses of send_gdb / gdb_expect.
13573 * gdb.reverse/until-precsave.exp:
13574 Replace uses of send_gdb / gdb_expect.
13575 * gdb.reverse/until-reverse.exp:
13576 Replace uses of send_gdb / gdb_expect.
13577 * gdb.reverse/watch-precsave.exp:
13578 Replace uses of send_gdb / gdb_expect.
13579 * gdb.reverse/watch-reverse.exp:
13580 Replace uses of send_gdb / gdb_expect.
13581
135822010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
13583
13584 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
13585 excessive newline.
13586
135872010-05-27 Michael Snyder <msnyder@vmware.com>
13588
13589 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
13590 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
13591 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
13592 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
13593 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
13594 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
13595 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
13596 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
13597 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
13598 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
13599 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
13600 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
13601 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
13602 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
13603 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
13604 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
13605 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
13606 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
13607 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
13608
136092010-05-26 Michael Snyder <msnyder@vmware.com>
13610
13611 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
13612 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
13613
13614 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
13615 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
13616 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
13617
13618 * gdb.reverse/consecutive-reverse.exp:
13619 Replace uses of send_gdb / gdb_expect.
13620 * gdb.reverse/consecutive-precsave.exp:
13621 Replace uses of send_gdb / gdb_expect.
13622
13623 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
13624 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
13625 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
13626 * gdb.mi/mi-ns-stale-regcache.exp:
13627 Replace uses of send_gdb / gdb_expect.
13628 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
13629 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
13630 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
13631 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
13632 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
13633 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
13634 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
13635 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
13636 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
13637
136382010-05-26 Michael Snyder <msnyder@vmware.com>
13639
13640 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
13641
13642 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
13643
13644 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
13645 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
13646 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
13647 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
13648 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
13649 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
13650 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
13651 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
13652 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
13653
136542010-05-25 Tom Tromey <tromey@redhat.com>
13655
13656 * gdb.base/macscp.exp: Add missing space after setup_kfail.
13657
136582010-05-25 Tom Tromey <tromey@redhat.com>
13659
13660 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
13661 argument order.
13662 * gdb.base/macscp.exp: Fix setup_kfail argument order.
13663 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
13664 order.
13665 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
13666 order.
13667 * gdb.base/call-sc.exp (setup_kfails): Remove.
13668 (setup_compiler_kfails): Remove.
13669 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
13670 argument order.
13671 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
13672 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
13673 (advancei): Fix setup_kfail argument order.
13674 * gdb.base/radix.exp: Fix setup_kfail argument order.
13675 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
13676 order.
13677 * gdb.base/structs.exp (setup_kfails): Remove.
13678 (setup_compiler_kfails): Fix setup_kfail argument order.
13679 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
13680 order.
13681 * gdb.java/jmain.exp: Fix setup_kfail argument order.
13682 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
13683 setup_kfail argument order.
13684 * gdb.cp/overload.exp: Fix setup_kfail argument order.
13685
136862010-05-25 Tom Tromey <tromey@redhat.com>
13687
13688 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
13689
136902010-05-25 Michael Snyder <msnyder@vmware.com>
13691
13692 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
13693 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
13694 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
13695 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
13696 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
13697 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
13698 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
13699 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
13700 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
13701 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
13702 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
13703 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
13704 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
13705 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
13706 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
13707 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
13708 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
13709 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
13710 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
13711 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
13712 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
13713 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
13714 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
13715 * gdb.base/default.exp: Replace send_gdb with gdb_test.
13716 * gdb.base/define.exp: Replace send_gdb with gdb_test.
13717 * gdb.base/display.exp: Replace send_gdb with gdb_test.
13718 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
13719 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
13720 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
13721 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
13722 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
13723 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
13724 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
13725 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
13726 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
13727 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
13728 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
13729 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
13730 * gdb.base/help.exp: Replace send_gdb with gdb_test.
13731 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
13732 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
13733 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
13734 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
13735 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
13736 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
13737 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
13738 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
13739 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
13740
137412010-05-25 Doug Evans <dje@google.com>
13742
13743 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
13744 gdb.string_to_argv.
13745
137462010-05-21 Tom Tromey <tromey@redhat.com>
13747
13748 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
13749 Call it.
13750 * gdb.dwarf2/pieces.S: Update.
13751 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
13752
137532010-05-21 Tom Tromey <tromey@redhat.com>
13754
13755 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
13756 Call it.
13757 * gdb.dwarf2/pieces.c (struct C): New.
13758 (f6): New function.
13759 * gdb.dwarf2/pieces.S: Replace.
13760
137612010-05-21 Tom Tromey <tromey@redhat.com>
13762
13763 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
13764 Call it.
13765
137662010-05-21 Tom Tromey <tromey@redhat.com>
13767
13768 * gdb.dwarf2.pieces.exp: New file.
13769 * gdb.dwarf2.pieces.S: New file.
13770 * gdb.dwarf2.pieces.c: New file.
13771
137722010-05-20 Pedro Alves <pedro@codesourcery.com>
13773 Joel Brobecker <brobecker@adacore.com>
13774
13775 * lib/gdb.exp (gdb_test_no_output): New function.
13776 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
13777 when testing commands that should produce no output.
13778
137792010-05-17 Joel Brobecker <brobecker@adacore.com>
13780
13781 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
13782 parameter that we want to watch being a constant.
13783
137842010-05-17 Joel Brobecker <brobecker@adacore.com>
13785
13786 * gdb.ada/cond_lang: New testcase.
13787
137882010-05-17 Joel Brobecker <brobecker@adacore.com>
13789
13790 * lib/gdb.exp (banned_variables): New variable/constant.
13791 (gdb_init): Add write trace on variables listed in banned_variables.
13792 (gdb_finish): Remove write traces on variables listed in
13793 banned_variables.
13794
137952010-05-17 Joel Brobecker <brobecker@adacore.com>
13796
13797 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
13798 * gdb.cp/koenig.exp: Likewise.
13799
138002010-05-14 Phil Muldoon <pmuldoon@redhat.com>
13801
13802 PR python/11482
13803
13804 * gdb.python/py-value.exp (test_value_hash): New function.
13805
138062010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
13807
13808 PR exp/11530.
13809 * gdb.base/gdb11530.c: New file.
13810 * gdb.base/gdb11530.exp: New file.
13811
138122010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13813
13814 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
13815 * gdb.dwarf2/dw2-modula2-self-type.S: New.
13816
138172010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
13818
13819 * gdb.cp/koenig.exp: New test.
13820 * gdb.cp/koenig.cc: New test program.
13821
138222010-05-05 Joel Brobecker <brobecker@adacore.com>
13823
13824 Remove the use of prms_id and bug_id throughout the testsuite.
13825
138262010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
13827
13828 PR exp/11349.
13829 * testsuite/gdb.cp/ref-types.exp: Add test to examine
13830 use a reference local variable.
13831
138322010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13833
13834 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
13835 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
13836 variable different_dir. Move debugfile into a full directory pathname
13837 under DIFFERENT_DIR.
13838 * lib/gdb.exp (separate_debug_filename): Remove.
13839 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
13840 variable debug_dir and mkdir of it. Update function comments.
13841
138422010-04-29 Pedro Alves <pedro@codesourcery.com>
13843
13844 PR gdb/11557
13845
13846 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
13847 files.
13848
138492010-04-29 Phil Muldoon <pmuldoon@redhat.com>
13850
13851 * gdb.python/py-param.exp: New File.
13852
138532010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
13854
13855 * gdb.base/default.exp: Fix "set language" test.
13856
138572010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
13858
13859 PR breakpoints/11531.
13860 * gdb.base/gdb11531.c: New file.
13861 * gdb.base/gdb11531.exp: New file.
13862
138632010-04-26 Tom Tromey <tromey@redhat.com>
13864
13865 * gdb.base/completion.exp: Add tests for completion and deprecated
13866 commands.
13867
138682010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13869
13870 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
13871 (print /x char_array): Escape curly brackets.
13872
138732010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
13874
13875 Fix deadlock on looped list of loaded shared objects.
13876 * gdb.base/solib-corrupted.exp: New.
13877
138782010-04-23 Doug Evans <dje@google.com>
13879
13880 * gdb.python/py-section-script.c: New file.
13881 * gdb.python/py-section-script.exp: New file.
13882 * gdb.python/py-section-script.py: New file.
13883
138842010-04-20 Chris Moller <cmoller@redhat.com>
13885
13886 PR 10179
13887
13888 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
13889 * gdb.base/pr10179-a.c:
13890 * gdb.base/pr10179-b.c:
13891 * gdb.base/pr10179.exp: New files.
13892
138932010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13894
13895 Fix crashes on dangling display expressions.
13896 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
13897 is SEP.
13898 (lib_flags): Remove the "debug" keyword.
13899 (libsepdebug): New variable for iterating new loop.
13900 (save_pf_prefix): New variable wrapping the loop.
13901 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
13902 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
13903
139042010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
13905
13906 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
13907
139082010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
13909
13910 PR stabs/11479.
13911 * gdb.stabs/gdb11479.exp: New file.
13912 * gdb.stabs/gdb11479.c: New file.
13913
139142010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
13915
13916 * gdb.base/charset.c (Strin16, String32): New variables.
13917 * gdb.base/charset.exp (gdb_test): Test correct display
13918 of 16 or 32 bit strings.
13919
139202010-04-21 Chris Moller <cmoller@redhat.com>
13921
13922 PR 9167
13923 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
13924 * gdb.cp/pr9167.cc: New file.
13925 * gdb.cp/pr9167.exp: New file.
13926
13927
139282010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
13929
13930 PR pascal/11492.
13931 * gdb.pascal/gdb11492.pas: New file.
13932 * gdb.pascal/gdb11492.exp: New file.
13933
139342010-04-20 Joel Brobecker <brobecker@adacore.com>
13935
13936 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
13937
139382010-04-20 Joel Brobecker <brobecker@adacore.com>
13939
13940 * gdb.ada/dyn_loc: New testcase.
13941
139422010-04-20 Chris Moller <cmoller@redhat.com>
13943
13944 PR 10867
13945
13946 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
13947 * gdb.cp/pr10687.cc: New file.
13948 * gdb.cp/pr10687.exp: New file.
13949
13950
139512010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13952 Sergio Durigan Junior <sergiodj@redhat.com>
13953
13954 * gdb.fortran/logical.exp: New testcase.
13955 * gdb.fortran/logical.f90: New file.
13956
139572010-04-19 Doug Evans <dje@google.com>
13958
13959 * gdb.base/help.exp (help source): Update expected output.
13960
139612010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
13962
13963 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
13964 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
13965 gdb_exit and return.
13966 (executable): New variable.
13967 (binfile): Use it.
13968
139692010-04-19 Pedro Alves <pedro@codesourcery.com>
13970
13971 PR breakpoints/8554.
13972
13973 * gdb.trace/save-trace.exp: Adjust.
13974
139752010-04-17 H.J. Lu <hongjiu.lu@intel.com>
13976
13977 PR corefiles/11511
13978 * gdb.arch/system-gcore.exp: New.
13979 * gdb.arch/gcore.c: Likewise.
13980
139812010-04-15 Doug Evans <dje@google.com>
13982
13983 * gdb.python/py-progspace.c: New file.
13984 * gdb.python/py-progspace.exp: New file.
13985
13986 * gdb.base/source.exp: Add tests for "source -s".
13987
139882010-04-14 Phil Muldoon <pmuldoon@redhat.com>
13989
13990 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
13991 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
13992 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
13993 * gdb.python/py-mi.exp: New test for to_string returning None.
13994
139952010-04-12 Phil Muldoon <pmuldoon@redhat.com>
13996
13997 * gdb.python/py-breakpoint.c: Make result global.
13998
139992010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
14000
14001 Fix non-GNU make compatibility.
14002 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
14003
140042010-04-09 Phil Muldoon <pmuldoon@redhat.com>
14005
14006 * gdb.python/py-breakpoint.exp: New File.
14007 * gdb.python/py-breakpoint.C: Ditto.
14008
140092010-04-08 Stan Shebs <stan@codesourcery.com>
14010
14011 * gdb.trace/actions.exp: Clear default-collect.
14012 * gdb.trace/save-trace.exp: Clear default-collect.
14013
140142010-04-08 Phil Muldoon <pmuldoon@redhat.com>
14015
14016 * gdb.python/py-value: Add null string variable.
14017 (test_lazy_string): Test zero length, NULL address lazy
14018 strings.
14019
140202010-04-07 H.J. Lu <hongjiu.lu@intel.com>
14021
14022 * gdb.arch/i386-avx.c: New.
14023 * gdb.arch/i386-avx.exp: Likewise.
14024
14025 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
14026
140272010-04-06 Doug Evans <dje@google.com>
14028
14029 * gdb.base/source-test.gdb: New file.
14030 * gdb.base/source.exp: Test source -v.
14031
140322010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14033
14034 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
14035
140362010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
14037
14038 * gdb.stabs/aout.sed: Convert all backslash to double backslash
14039 within one line, unless it is followed by a double quote.
14040 * gdb.stabs/hppa.sed: Idem.
14041 * gdb.stabs/weird.def: Add char and String constants
14042 * gdb.stabs/weird.exp: Check for correct parsing of
14043 char and string constants.
14044 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
14045 in .stabs to .stabx substitution.
14046
140472010-04-05 Stan Shebs <stan@codesourcery.com>
14048
14049 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
14050 constant global.
14051 * gdb.trace/tfile.exp: Try to print them.
14052
140532010-04-04 Stan Shebs <stan@codesourcery.com>
14054
14055 * gdb.base/completion.exp: Update for new "info watchpoints".
14056 * gdb.base/default.exp: Ditto.
14057 * gdb.base/help.exp: Ditto.
14058 * gdb.base/watchpoint.exp: Ditto.
14059 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
14060
140612010-04-04 Stan Shebs <stan@codesourcery.com>
14062
14063 * gdb.trace/tfile.exp: Sharpen tfind test.
14064
140652010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
14066
14067 * gdb.base/break-entry.exp: New.
14068
140692010-04-02 Hui Zhu <teawater@gmail.com>
14070 Michael Snyder <msnyder@vmware.com>
14071
14072 * gdb.reverse/i386-sse-reverse.exp: New file.
14073 * gdb.reverse/i386-sse-reverse.c: New file.
14074
140752010-04-02 Pedro Alves <pedro@codesourcery.com>
14076
14077 * gdb.trace/tfind.exp: Adjust expected disassembly output.
14078
140792010-04-01 Stan Shebs <stan@codesourcery.com>
14080
14081 * gdb.trace/actions.exp: Tweak expected output.
14082 * gdb.trace/while-stepping.exp: Tweak expected output.
14083
140842010-04-01 H.J. Lu <hongjiu.lu@intel.com>
14085
14086 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
14087
140882010-04-01 Pedro Alves <pedro@codesourcery.com>
14089
14090 * gdb.base/commands.exp: Adjust.
14091 * gdb.cp/extern-c.exp: Adjust.
14092
140932010-04-01 Pedro Alves <pedro@codesourcery.com>
14094
14095 * gdb.trace/collection.c (local_test_func): Define a local struct,
14096 and instanciate it.
14097
140982010-04-01 Pedro Alves <pedro@codesourcery.com>
14099
14100 * gdb.trace/collection.exp (gdb_collect_args_test)
14101 (gdb_collect_argarray_test): XFAIL the tests that assume the
14102 argarray argument's elements are collected.
14103
141042010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
14105
14106 * gdb.dwarf2/dw2-bad-parameter-type.exp,
14107 gdb.dwarf2/dw2-bad-parameter-type.S: New.
14108
141092010-03-31 Stan Shebs <stan@codesourcery.com>
14110
14111 * gdb.trace/save-trace.exp: Test save/restore of default-collect
14112 and tracepoint conditionals.
14113 (gdb_verify_tracepoints): Delete unused return.
14114
141152010-03-26 Keith Seitz <keiths@redhat.com>
14116
14117 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
14118 appear in the output before main.
14119 Remove KFAIL for gdb/2215 aka bz 9320.
14120
141212010-03-30 Doug Evans <dje@google.com>
14122
14123 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
14124 by dejagnu.
14125 * gdb.arch/amd64-dword.exp: Ditto.
14126
14127 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
14128 match.
14129 (break printf): Ditto.
14130
141312010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
14132
14133 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
14134 gcc < 4.4.
14135 * gdb.cp/shadow.exp: Ditto.
14136
141372010-03-29 Pedro Alves <pedro@codesourcery.com>
14138
14139 * gdb.trace/collection.exp (run_trace_experiment): Make sure
14140 "tstart" is silent.
14141
141422010-03-29 Pedro Alves <pedro@codesourcery.com>
14143
14144 * gdb.trace/collection.exp (executable): New.
14145 (binfile): Use it.
14146 (fpreg, spreg, pcreg): New.
14147 (test_register): Use gdb_test_multiple. Pass /x to print.
14148 (prepare_for_trace_test): New.
14149 (run_trace_experiment): Use "continue", not gdb_run_cmd.
14150 (gdb_collect_args_test, gdb_collect_argstruct_test)
14151 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
14152 prepare_for_trace_test.
14153 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
14154 fpreg, spreg and pcreg.
14155 (gdb_collect_expression_test, gdb_collect_globals_test): Use
14156 prepare_for_trace_test.
14157 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
14158 try to detect tracing support here. Don't set breakpoints at
14159 `begin' or `end' here.
14160 <global scope>: Use clean_restart. Run to main before checking
14161 for tracing support. Check for for tracing support here.
14162
141632010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
14164
14165 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
14166 " as $displacement" to "seen displacement message".
14167
141682010-03-28 Pedro Alves <pedro@codesourcery.com>
14169
14170 * gdb.trace/while-dyn.exp (executable): New variable.
14171 (binfile): Use it.
14172 (test_while_stepping): New function. Move most tests here. Call
14173 it once for each of the while-stepping, stepping and ws aliases.
14174
141752010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14176
14177 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
14178 that do not provide the tagless_struct type name at all.
14179 (test_print_anon_union): Do not check value of uninitialized
14180 union member. Do not use cp_test_ptype_class, so we can accept
14181 "long" as well as "long int".
14182
141832010-03-26 Pedro Alves <pedro@codesourcery.com>
14184
14185 * gdb.trace/tfile.c (tohex, bin2hex): New.
14186 (write_error_trace_file): Hexify error description.
14187
141882010-03-25 Stan Shebs <stan@codesourcery.com>
14189
14190 * gdb.trace/tfile.c: Generate an additional trace file, improve
14191 portability.
14192 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
14193 files in a better way.
14194
141952010-03-25 Keith Seitz <keiths@redhat.com>
14196
14197 * gdb.java/jprint.exp: XFAIL printing of static class members
14198 because of GCC debuginfo problem.
14199
142002010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
14201
14202 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
14203
142042010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
14205
14206 * gdb.base/completion.exp: Allow long instead of long int.
14207 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
14208 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
14209 variable p.
14210 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
14211 * gdb.base/pointers.exp: Allow long instead of long int.
14212 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
14213 * gdb.base/step-line.exp: Allow a directory before the source file name.
14214
142152010-03-24 Tom Tromey <tromey@redhat.com>
14216
14217 PR breakpoints/9352:
14218 * gdb.base/default.exp: Update.
14219 * gdb.base/commands.exp: Update.
14220 * gdb.cp/extern-c.exp: Test setting commands on multiple
14221 breakpoints at once.
14222
142232010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
14224
14225 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
14226 if gdb,nosignals.
14227 * gdb.base/watchpoints.c: Do not include unnecessary headers.
14228 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
14229 exited".
14230
142312010-03-24 Stan Shebs <stan@codesourcery.com>
14232
14233 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
14234
142352010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
14236
14237 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
14238 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
14239 argument. Handle "short" and "long".
14240 (Top level): Pass overprototyped output for old_fptr and xptr.
14241
142422010-03-23 Pedro Alves <pedro@codesourcery.com>
14243
14244 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
14245 format strings and add casts to avoid compiler warnings.
14246
142472010-03-23 Vladimir Prus <vladimir@codesourcery.com>
14248
14249 * lib/trace-support.exp (gdb_trace_setactions):
14250 Don't expect whitespace after ">" prompt.
14251 * gdb.trace/actions.exp: Adjust for output changes.
14252 * gdb.trace/while-stepping.exp: Likewise.
14253
142542010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14255
14256 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
14257 and r157645).
14258
142592010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14260
14261 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
14262 New.
14263
142642010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
14265
14266 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
14267 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
14268
142692010-03-19 Stan Shebs <stan@codesourcery.com>
14270
14271 * gdb.trace/ax.exp: New file.
14272
142732010-03-19 Doug Evans <dje@google.com>
14274
14275 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
14276 output from gcc.
14277
14278 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
14279 named /usr/sbin/prelink<foo>.
14280
142812010-03-18 Stan Shebs <stan@codesourcery.com>
14282
14283 * gdb.trace/circ.exp: Test circular-trace-buffer.
14284 * gdb.trace/tfile.exp: Update tstatus test.
14285
142862010-03-18 Joel Brobecker <brobecker@adacore.com>
14287
14288 * gdb.dwarf2/dw2-anonymous-func.S: New file.
14289 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
14290
142912010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14292
14293 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
14294
142952010-03-18 Pedro Alves <pedro@codesourcery.com>
14296
14297 * gdb.base/default.exp: Adjust the expected output of the finish
14298 and until commands when the inferior is not being run.
14299
143002010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
14301
14302 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
14303 * gdb.cp/nsusing.exp: Ditto.
14304
143052010-03-15 Tom Tromey <tromey@redhat.com>
14306
14307 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
14308 * gdb.cp/userdef.cc (operator==): New function.
14309 (main): New locals mem1, mem2.
14310
143112010-03-15 Jie Zhang <jie@codesourcery.com>
14312
14313 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
14314 Declare and use new loadtimeout variable.
14315
143162010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
14317
14318 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
14319 Use gdb_load later.
14320
143212010-03-14 Pedro Alves <pedro@codesourcery.com>
14322
14323 * gdb.base/solib-disc.c (main): Make format of fprintf a string
14324 literal. Add missing endlines to prints to stderr.
14325
143262010-03-12 Tom Tromey <tromey@redhat.com>
14327
14328 PR c++/9708:
14329 * gdb.cp/m-static.exp: Add regression test.
14330 * gdb.cp/m-static.cc (method): New method.
14331 (main): Call it.
14332
143332010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
14334
14335 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
14336 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
14337
143382010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
14339
14340 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
14341
143422010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
14343
14344 * lib/gdb.exp (skip_stl_tests): New.
14345 (gdb_compile): Symbian needs -ldl.
14346 (shlib_target_file): New.
14347 (shlib_symbol_file): New.
14348 (gdb_load_shlibs): Use shlib_target_file.
14349 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
14350 * gdb.cp/exception.exp: Use skip_stl_tests.
14351 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
14352 * gdb.cp/try_catch.exp: Use skip_stl_tests.
14353 * gdb.cp/mb-templates.exp: Ditto.
14354 * gdb.base/commands.exp: Relax regexes.
14355 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
14356 shlib_target_file and shlib_symbol_file.
14357 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
14358 sections.
14359 * gdb.base/ending-run.exp: Accept E32Main for symbian.
14360 * gdb.base/solib-disc.exp: Use
14361 shlib_target_file and shlib_symbol_file.
14362 * gdb.base/unload.exp: Don't skip on symbian. Use
14363 shlib_target_file and shlib_symbol_file.
14364 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
14365
143662010-03-12 Pedro Alves <pedro@codesourcery.com>
14367
14368 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
14369 * gdb.trace/report.exp: Adjust for x86 and x86_64.
14370 Issue a tfind end before looking for a tracepoint frame.
14371 * gdb.trace/tfind.exp: Adjust tstatus output.
14372 Adjust disassembly output.
14373 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
14374
143752010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14376
14377 * gdb.base/break-interp.exp: Create new displacement parameter value
14378 for the test_ld calls.
14379 (reach): New parameter displacement, verify its content. New push of
14380 pf_prefix "reach-$func:". Import global expect_out.
14381 (test_core): New parameter displacement, verify its content. New push
14382 of pf_prefix "core:". New command "set verbose on". Import global
14383 expect_out.
14384 (test_attach): New parameter displacement, verify its content. New
14385 push of pf_prefix "attach:". New command "set verbose on". Import
14386 global expect_out.
14387 (test_ld): New parameter displacement, pass it to the reach, test_core
14388 and test_attach calls and verify its content in the "ld.so exit" test.
14389 * gdb.base/prelink.exp: Remove gdb_exit and final return.
14390 (prelink): Update expected text, use gdb_test.
14391
143922010-03-10 Doug Evans <dje@google.com>
14393
14394 * gdb.base/checkpoint.exp: Fix comment.
14395 Lengthen timeout while doing >600 checkpoints test.
14396 Rename duplicate "kill all one" test to keep test names unique.
14397
143982010-03-10 Pedro Alves <pedro@codesourcery.com>
14399
14400 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
14401
144022010-03-08 Keith Seitz <keiths@redhat.com>
14403
14404 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
14405 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
14406 (dm_type_long): New function.
14407 (dm_type_unsigned_short): New function.
14408 (dm_type_unsigned_long): New function.
14409 (myint): New typedef.
14410 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
14411 long, unsigned shor and long, operator char*, and typedef.
14412 (test_lookup_operator_functions): Add operator char* test.
14413 (test_paddr_operator_functions): Likewise.
14414 (test_paddr_overloaded_functions): Use probe values for
14415 short, long, and unsigned short and long.
14416 (test_paddr_hairy_functions): If the demangler probe detected
14417 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
14418 demangler.
14419 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
14420 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
14421 and "print null_pmf".
14422 Add test "ptype a.*pmf".
14423 * gdb.cp/overload.exp: Allow optional "int" to appear with
14424 "short" and "long".
14425 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
14426 long expect value for men_overload1arg.
14427 Allow "int" to appear with "short" and "long".
14428 When testing "info break", add argument for main (void).
14429 Also allow "int" to appear with "short" and "long".
14430 Ditto with "unsigned" and "long long".
14431 * gdb.java/jmain.exp: Do not enclose methods names in single
14432 quotes.
14433 * gdb.java/jmisc.exp: Likewise.
14434 * gdb.java/jprint.exp: Likewise.
14435 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
14436
14437 From Jan Kratochvil <jan.kratochvil@redhat.com>:
14438 * gdb.cp/exception.exp (backtrace after first throw)
14439 (backtrace after second throw): Allow a namespace before __cxa_throw.
14440 (backtrace after first catch, backtrace after second catch): Allow
14441 a namespace before __cxa_begin_catch.
14442
14443 * gdb.cp/cpexprs.exp: New file.
14444 * gdb.cp/cpexprs.cc: New file.
14445
14446 From Daniel Jacobowitz <dan@codesourcery.com>
14447 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
14448 to use string_to_regexp.
14449 (ctor, dtor): New functions. Use them to match constructor
14450 and destructor function types.
14451 (Top level): Use runto_main.
14452
144532010-03-05 Tom Tromey <tromey@redhat.com>
14454
14455 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
14456 gdb.target_charset.
14457 (pp_ns.to_string): Likewise.
14458
144592010-03-04 Keith Seitz <keiths@redhat.com>
14460
14461 * gdb.cp/overload.exp: Test that the filename portion of a linespec
14462 can be quoted. Test that both the filename and function/line
14463 portions can be quoted at the same time.
14464
144652010-03-04 Pedro Alves <pedro@codesourcery.com>
14466
14467 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
14468
144692010-03-03 Doug Evans <dje@google.com>
14470
14471 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
14472 libc contains libpthread.
14473
14474 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
14475 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
14476 of gdb_compile. Add another pattern to match android backtrace.
14477
144782010-03-03 Tom Tromey <tromey@redhat.com>
14479
14480 PR gdb/11345:
14481 * gdb.base/printcmds.exp (test_printf): Add test.
14482
144832010-03-02 H.J. Lu <hongjiu.lu@intel.com>
14484
14485 * gdb.arch/amd64-byte.exp: New.
14486 * gdb.arch/amd64-dword.exp: Likewise.
14487 * gdb.arch/amd64-pseudo.c: Likewise.
14488 * gdb.arch/amd64-word.exp: Likewise.
14489 * gdb.arch/i386-byte.exp: Likewise.
14490 * gdb.arch/i386-pseudo.c: Likewise.
14491 * gdb.arch/i386-word.exp: Likewise.
14492
144932010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
14494
14495 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
14496 types. Add structreg, bitfields, and flags registers.
14497 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
14498 registers.
14499
145002010-03-01 H.J. Lu <hongjiu.lu@intel.com>
14501
14502 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
14503 (load_description): Set architecture if defined.
14504
145052010-02-28 Phil Muldoon <pmuldoon@redhat.com>
14506
14507 * gdb.python/py-frame.exp: Add read_var block tests.
14508 * gdb.python/py-frame.c (block): New function.
14509
145102010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
14511 Daniel Jacobowitz <dan@codesourcery.com>
14512
14513 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
14514
145152010-02-25 David S. Miller <davem@davemloft.net>
14516
14517 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
14518 fix logic for setting all_syscalls_numbers.
14519
145202010-02-24 Phil Muldoon <pmuldoon@redhat.com>
14521
14522 * Makefile.in: Add py-block and py-symbol.
14523 * gdb.python/py-symbol.exp: New File.
14524 * gdb.python/py-symtab.exp: New File.
14525 * gdb.python/py-block.exp: New File.
14526 * gdb.python/py-symbol.c: New File.
14527 * gdb.python/py-block.c: New File.
14528
145292010-02-24 Phil Muldoon <pmuldoon@redhat.com>
14530
14531 PR python/11314
14532 * lib/gdb.exp (skip_python_tests): New function.
14533 * gdb.python/py-cmd.exp: Use skip_python_tests.
14534 * gdb.python/py-frame.exp: Likewise.
14535 * gdb.python/py-function.exp: Likewise.
14536 * gdb.python/py-prettyprint.exp: Likewise.
14537 * gdb.python/py-template.exp: Likewise.
14538 * gdb.python/py-type.exp: Likewise.
14539 * gdb.python/py-value.exp: Likewise.
14540
145412010-02-22 Pedro Alves <pedro@codesourcery.com>
14542
14543 PR9605
14544
14545 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
14546
145472010-02-19 Tom Tromey <tromey@redhat.com>
14548
14549 PR c++/8693, PR c++/9496:
14550 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
14551 regression tests.
14552
145532010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
14554
14555 Fix compatibility with m68k as.
14556 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
14557 Use only /* comments */.
14558
145592010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14560
14561 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
14562 * configure: Regenerate.
14563
145642010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
14565
14566 * gdb.python/py-type.exp: Check for Python support.
14567
145682010-02-17 Pedro Alves <pedro@codesourcery.com>
14569
14570 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
14571 `regsub' syntax available.
14572
145732010-02-17 Pedro Alves <pedro@codesourcery.com>
14574
14575 * gdb.base/shmain.c (main): Remove printf call.
14576 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
14577 * gdb.base/unload.c (main): Make format of fprintf a string
14578 literal. Add missing endlines to prints to stderr.
14579 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
14580
145812010-02-17 Tom Tromey <tromey@redhat.com>
14582
14583 * gdb.java/jprint.java (jprint.props): New field.
14584 * gdb.java/jprint.exp (set_lang_java): Add regression test.
14585
145862010-02-17 Pedro Alves <pedro@codesourcery.com>
14587
14588 * gdb.base/charset.exp: Don't assume new `regsub' syntax
14589 available.
14590
145912010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
14592
14593 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
14594 creation to support remote host testing.
14595
145962010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
14597
14598 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
14599 Recognize "command not found".
14600
146012010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
14602
14603 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
14604 single-stepping.
14605
146062010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
14607
14608 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
14609 if arguments are not supported.
14610
146112010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
14612
14613 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
14614 be const or non-const.
14615
146162010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
14617
14618 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
14619 mi_send_resuming_command to send -exec-continue.
14620
146212010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
14622
14623 * gdb.base/list.exp (test_list_filename_and_function): Add test
14624 with single quotes.
14625 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
14626 matching.
14627 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
14628 Add KFAIL'd tests for PR gdb/11289.
14629
146302010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
14631
14632 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
14633
146342010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
14635
14636 * gdb.base/comp-dir/subdir/dummy.txt: New file.
14637 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
14638 a temporary directory.
14639
146402010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
14641
14642 * gdb.base/charset.exp: Use a single regular expression to match
14643 show host-charset and show target-charset output.
14644
146452010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14646
14647 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
14648 "Illegal process-id" expect string more exact.
14649 (attach to digits-starting nonsense is prohibited): New.
14650
146512010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14652
14653 * gdb.base/prelink.exp (set verbose on): New.
14654
146552010-02-12 Tomas Holmberg <th@virtutech.com>
14656
14657 * mi-reverse.exp: New file. Test for reverse option to the
14658 following MI commands: exec-continue, exec-finish, exec-next,
14659 exec-step, exec-next-instruction, exec-step-instruction.
14660
146612010-02-09 Joel Brobecker <brobecker@adacore.com>
14662
14663 * gdb.ada/ptype_tagged_param: New testcase.
14664
146652010-02-08 Tom Tromey <tromey@redhat.com>
14666
14667 PR c++/8017:
14668 * gdb.cp/overload.exp: Add tests.
14669 * gdb.cp/overload.cc (struct K): New.
14670 (namespace N): New.
14671 (main): Call new functions.
14672 (K::staticoverload): Define.
14673
146742010-02-08 Chris Moller <moller@mollerware.com>
14675
14676 PR gdb/10728
14677 * gdb.cp/pr10728-x.h: New file.
14678 * gdb.cp/pr10728-x.cc: New file.
14679 * gdb.cp/pr10728-y.cc: New file.
14680 * gdb.cp/pr10728.exp: New file.
14681 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
14682
146832010-02-08 Chris Moller <moller@mollerware.com>
14684
14685 PR gdb/9067
14686 * gdb.cp/pr9067.exp: New
14687 * gdb.cp/pr9067.cc: New
14688 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
14689
146902010-02-08 Joel Brobecker <brobecker@adacore.com>
14691
14692 * lib/gdb.exp (gdb_test_timeout): New global variable.
14693 Set it to timeout if not already set.
14694 (gdb_init): Reset the value of timeout to gdb_test_timeout.
14695
146962010-02-05 Doug Evans <dje@google.com>
14697
14698 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
14699 user.
14700
147012010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
14702
14703 PR c++/7935:
14704 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
14705
147062010-02-04 Tom Tromey <tromey@redhat.com>
14707
14708 * gdb.cp/virtbase.exp: Make test case names unique.
14709
147102010-02-02 Tom Tromey <tromey@redhat.com>
14711
14712 * gdb.cp/virtbase.exp: Add regression tests.
14713 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
14714 (main): Instantiate RHC.
14715
147162010-02-02 Tom Tromey <tromey@redhat.com>
14717
14718 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
14719 type-printing change.
14720
147212010-02-02 Tom Tromey <tromey@redhat.com>
14722
14723 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
14724 * gdb.cp/virtbase.cc: New file.
14725 * gdb.cp/virtbase.exp: New file.
14726 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
14727
147282010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
14729
14730 PR libc/11214:
14731 * gdb.threads/current-lwp-dead.c: Include features.h.
14732 (HAS_NOMMU): New.
14733 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
14734
147352010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
14736
14737 * gdb.base/symbol-without-target_section.exp,
14738 gdb.base/symbol-without-target_section.c: New.
14739
147402010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
14741
14742 * gdb.base/bigcore.exp: Reset increased timeout.
14743 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
14744
147452010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
14746
14747 * gdb.base/gcore.exp (capture_command_output): Use
14748 gdb_test_multiple.
14749
147502010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
14751
14752 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
14753 * gdb.arch/thumb2-it.exp (test_it_break): New function.
14754 (Top level): Call it.
14755
147562010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
14757
14758 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
14759
147602010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
14761
14762 * gdb.base/call-strs.exp, gdb.base/default.exp,
14763 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
14764 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
14765 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
14766 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
14767 gdb.base/watchpoint-solib.exp: Save and restore timeout.
14768 * gdb.base/ending-run.exp: Correct restore of timeout.
14769 * gdb.base/page.exp: Remove unnecessary timeout setting.
14770
147712010-01-29 Joel Brobecker <brobecker@adacore.com>
14772
14773 * gdb.ada/rec_return: New testcase.
14774
147752010-01-29 Joel Brobecker <brobecker@adacore.com>
14776
14777 * gdb.ada/call_pn: New testcase.
14778
147792010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
14780
14781 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
14782 (Top level): Use it to resume.
14783 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
14784 the Thumb mode displaced stepping error as unsupported.
14785
147862010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
14787
14788 * gdb.cp/nsusing.exp: Added more tests.
14789 * gdb.cp/nsrecurs.exp: Ditto.
14790 * gdb.cp/nsusing.cc: Added test functions.
14791 * gdb.cp/nsrecurs.cc: Ditto.
14792
147932010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
14794
14795 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
14796 absolute directory pathnames in gdb.sum file.
14797
147982010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
14799
14800 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
14801 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
14802
148032010-01-26 Tom Tromey <tromey@redhat.com>
14804
14805 PR exp/7643:
14806 * gdb.base/printcmds.exp (test_print_string_constants): Remove
14807 setup_kfail.
14808
148092010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
14810
14811 * gdb.cp/nsrecurs.exp: New test.
14812 * gdb.cp/nsrecurs.cc: New test program.
14813 * gdb.cp/nsstress.exp: New test.
14814 * gdb.cp/nsstress.cc: New test program.
14815 * gdb.cp/nsdecl.exp: New test.
14816 * gdb.cp/nsdecl.cc: New test program.
14817
148182010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
14819
14820 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
14821 imported into file scope.
14822 Marked test as xfail.
14823 * gdb.cp/namespace-using.cc (marker5): New function.
14824 * gdb.cp/shadow.exp: New test.
14825 * gdb.cp/shadow.cc: New test program.
14826 * gdb.cp/nsimport.exp: New test.
14827 * gdb.cp/nsimport.cc: New test program.
14828
148292010-01-25 Tom Tromey <tromey@redhat.com>
14830
14831 PR gdb/11049:
14832 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
14833 with "set print null-stop on".
14834
148352010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
14836
14837 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
14838 Adjust it for DISASSEMBLY_OMIT_FNAME.
14839
148402010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14841
14842 PR symtab/11199:
14843 * gdb.dwarf2/member-ptr-forwardref.exp,
14844 gdb.dwarf2/member-ptr-forwardref.S: New.
14845
148462010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14847
14848 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
14849 (thread1_func): Protect thread1_tid with thread1_tid_cond by
14850 thread1_tid_mutex. Remove gdbstop_mutex handling.
14851 (thread2_func): Protect thread2_tid with thread2_tid_cond by
14852 thread2_tid_mutex. Remove gdbstop_mutex handling.
14853 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
14854 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
14855 pthread_cond_wait conditionalizations by while loops.
14856
148572010-01-20 Tom Tromey <tromey@redhat.com>
14858
14859 PR backtrace/10770:
14860 * gdb.dwarf2/pr10770.exp: New file.
14861 * gdb.dwarf2/pr10770.c: New file.
14862 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
14863
148642010-01-20 Vladimir Prus <vladimir@codesourcery.com>
14865
14866 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
14867 that target was removed, and the test always runs native anyway.
14868
148692010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
14870
14871 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
14872 gdb.base/watchpoint-cond-gone-stripped.c: New.
14873
148742010-01-19 Tom Tromey <tromey@redhat.com>
14875
14876 PR c++/8000:
14877 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
14878 existing tests.
14879 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
14880 (main): Use AAA::SomeEnum.
14881
148822010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
14883
14884 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
14885 (test_ignore_count): Declare line_callme_body global.
14886 (run to breakpoint with ignore count): Use line_callme_body.
14887 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
14888 (set line_main_hello, set line_main_return): Reindent.
14889 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
14890 New.
14891 (continue to callee4): Use line_callee4_body.
14892 (check *stopped from CLI command): Use line_callee4_next.
14893 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
14894 (set line_main_hello, set line_main_return): Reindent.
14895 (set line_callee4_head, set line_callee4_body): New.
14896 (continue to callee4): Use line_callee4_body.
14897
148982010-01-18 Tom Tromey <tromey@redhat.com>
14899
14900 PR c++/9680:
14901 * gdb.cp/casts.cc: Add new classes and variables.
14902 * gdb.cp/casts.exp: Test new operators.
14903
149042010-01-18 Tom Tromey <tromey@redhat.com>
14905 Thiago Jung Bauermann <bauerman@br.ibm.com>
14906
14907 * gdb.python/source2.py: New file.
14908 * gdb.python/source1: New file.
14909 * gdb.python/python.exp: Test "source" command.
14910
149112010-01-15 Stan Shebs <stan@codesourcery.com>
14912
14913 * gdb.trace/tfile.c: New file.
14914 * gdb.trace/tfile.exp: New file.
14915
149162010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14917
14918 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
14919
149202010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14921
14922 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
14923
149242010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14925
14926 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
14927 (libfunc): New parameter action. Implement also selectable "sleep".
14928 * gdb.base/break-interp-main.c: Include assert.h.
14929 (libfunc): New parameter action.
14930 (main): New parameters argc and argv. Assert argc. Pass argv.
14931 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
14932 (test_attach): New proc.
14933 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
14934 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
14935
149362010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14937
14938 * gdb.base/break-interp.exp (test_core): New proc.
14939 (test_ld): Call it.
14940
149412010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14942
14943 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
14944 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
14945 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
14946 and gdb_compile_shlib. Use new -Wl compiler options.
14947 (dl bt, main bt): New tests.
14948
149492010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14950
14951 Support PIEs with no symfile_objfile.
14952 * gdb.base/break-interp.exp: New argument at the test_ld calls.
14953 (test_ld): New parameter trynosym.
14954 (test_ld <$trynosym>): New block.
14955
149562010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14957
14958 * gdb.base/break-interp.exp: New file.
14959
149602010-01-13 Phil Muldoon <pmuldoon@redhat.com>
14961
14962 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
14963 * gdb.python/py-prettyprint.py (pp_ls): New printer.
14964 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
14965 test.
14966 * gdb.python/py-prettyprint.c: Define lazystring test structure.
14967 * gdb.python/py-mi.exp: Add lazy string test.
14968
149692010-01-13 Vladimir Prus <vladimir@codesourcery.com>
14970
14971 * lib/mi-support.exp (mi_check_thread_states): Handle
14972 core number in thread listing.
14973
149742010-01-12 Joel Brobecker <brobecker@adacore.com>
14975
14976 * gdb.base/maint.exp: Adjust the expected output for the
14977 "maint print type" test. Use gdb_test_multiple instead of
14978 gdb_sent/gdb_expect.
14979
149802010-01-11 Doug Evans <dje@google.com>
14981
14982 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
14983 from gdbserver_download. All callers updated.
14984
14985 * gdb.server/ext-run.exp: "info os processes" requires xml support.
14986
149872010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14988
14989 Implement binary numbers parsing.
14990 * gdb.base/printcmds.exp (test_integer_literals_accepted)
14991 (test_integer_literals_rejected): New binary tests.
14992
149932010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
14994
14995 * gdb.cell/configure: Regenerate.
14996
149972010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
14998
14999 * gdb.base/corefile.exp: Move the core finding block out and call it as
15000 core_find, new variable $corefile, replace corefile by $corefile and
15001 [file tail $corefile] for usage vs. test names resp.
15002 * lib/gdb.exp (core_find): Move it as a new function here. New
15003 parameter binfile and deletefiles. New variable $destcore. Pre-delete
15004 $destcore. Return "" on error.
15005
150062010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
15007
15008 Workaround PR binutils/10802.
15009 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
15010 (twice).
15011
150122010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
15013
15014 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
15015
150162010-01-08 Joel Brobecker <brobecker@adacore.com>
15017
15018 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
15019 call, to avoid interruption.
15020
150212010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
15022
15023 * gdb.stabs/weird.def (args93): New.
15024
150252010-01-07 Doug Evans <dje@google.com>
15026
15027 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
15028
150292010-01-07 Tom Tromey <tromey@redhat.com>
15030
15031 * gdb.base/source.exp: Use correct line number.
15032
150332010-01-05 Stan Shebs <stan@codesourcery.com>
15034
15035 * gdb.trace/tracecmd.exp: Test ftrace.
15036
150372010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15038
15039 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
15040
150412010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
15042
15043 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
15044 "uint_for_mi_testing".
15045
150462010-01-01 Joel Brobecker <brobecker@adacore.com>
15047
15048 Test indented comment in file being sourced.
15049 * gdb.base/commands.exp: Test indented comment in file being sourced.
15050
150512010-01-01 Joel Brobecker <brobecker@adacore.com>
15052
15053 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
15054 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
15055 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
15056 notice.
15057
150582010-01-01 Joel Brobecker <brobecker@adacore.com>
15059
15060 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
15061 notice.
15062
150632010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
15064
15065 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
15066 missing $after_stopped and comma (,) expectation.
15067
150682009-12-31 Stan Shebs <stan@codesourcery.com>
15069
15070 * gdb.trace/actions.exp: Test teval action.
15071
150722009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
15073
15074 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
15075 (top level): Call test_watchpoint_in_big_blob.
15076 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
15077 watchpoints.
15078 (func3): Write to buf.
15079
150802009-12-29 Stan Shebs <stan@codesourcery.com>
15081
15082 * gdb.trace/actions.exp: Test default-collect.
15083
150842009-12-28 Stan Shebs <stan@codesourcery.com>
15085
15086 * gdb.trace/tsv.exp: New file.
15087 * gdb.base/completion.exp: Update ambiguous info output.
15088
150892009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
15090
15091 * gdb.base/find.c (main): Reference search buffers.
15092 * gdb.base/included.c (main): Reference integer.
15093 * gdb.base/ptype.c (charfoo): Declare.
15094 (intfoo): Call charfoo.
15095 * gdb.base/scope0.c (useitp): New function.
15096 (usestatics): Use useitp.
15097 (useit): Add a type for val.
15098 * gdb.base/scope1.c (useit1): Take a pointer argument.
15099 (usestatics1): Update calls to useit1.
15100 * gdb.cp/call-c.cc: Declare foo.
15101 (main): Call foo.
15102 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
15103 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
15104 (main): Call C::ensureRefs and ensureOtherRefs.
15105 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
15106 variables.
15107 (ensureOtherRefs): New function.
15108 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
15109 * gdb.cp/templates.cc (main): Call t5i.value.
15110
151112009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
15112
15113 Fix compatibility with G++-4.5.
15114 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
15115 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
15116 (uncaught return): Remove.
15117
151182009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
15119 Phil Muldoon <pmuldoon@redhat.com>
15120
15121 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
15122 (bp_location13, bp_location14, bp_location17, bp_location18)
15123 (marker3_proto, marker4_proto): New variables.
15124 (breakpoint info): Update output.
15125 (run until breakpoint at marker3, run until breakpoint at marker4): New
15126 tests.
15127
151282009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
15129
15130 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
15131 Replace the printf call of Y by provided "y-set-1" label. New block
15132 for the second shared library.
15133 * gdb.base/unload.exp: Compile also the second library, call
15134 gdb_load_shlibs also for it. Use now gdb_breakpoint.
15135 (single pending breakpoint info): Rename to ...
15136 (pending breakpoint info before run): ... this extended test.
15137 (libfile2, libname2, libsrcfile2, libsrc2)
15138 (lib_sl2): New variables.
15139 (exec_opts): Set also SHLIB_NAME2.
15140 (pending breakpoint info on first run at shrfunc1)
15141 (pending breakpoint info on second run at shrfunc1)
15142 (pending breakpoint info on second run at shrfunc2)
15143 (print y from libfile, print y from libfile2): New tests.
15144 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
15145 * gdb.base/unloadshr2.c: New.
15146
151472009-12-22 Hui Zhu <teawater@gmail.com>
15148
15149 * gdb.reverse/sigall-reverse.exp: Adjust.
15150
151512009-12-21 Vladimir Prus <vladimir@codesourcery.com>
15152
15153 PR gdb/10884
15154
15155 * gdb.mi/var-cmd.c (do_bitfield_tests): New
15156 (main): Call do_bitfield_tests.
15157 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
15158
151592009-12-20 Joel Brobecker <brobecker@adacore.com>
15160
15161 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
15162 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
15163 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
15164 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
15165 gdb.modula2/unbounded1.c: Update copyright header.
15166
151672009-12-10 Chris Moller <moller@mollerware.com>
15168
15169 PR gdb/9399
15170 * gdb.cp/virtfunc2.exp: New tests
15171 * gdb.cp/virtfunc2.cc: New tests
15172 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
15173
151742009-12-10 Oza Pawandeep (paawan1982@yahoo.com
15175
15176 * gdb.reverse/i387-env-reverse.c: New file.
15177 * gdb.reverse/i387-env-reverse.exp: New file.
15178 * gdb.reverse/i387-stack-reverse.c: New file.
15179 * gdb.reverse/i387-stack-reverse.exp: New file.
15180
151812009-12-08 Phil Muldoon <pmuldoon@redhat.com>
15182
15183 * gdb.python/py-type.exp (test_range): New test.
15184
151852009-12-03 Phil Muldoon <pmuldoon@redhat.com>
15186
15187 PR python/10805
15188
15189 * gdb.python/py-type.exp: New file.
15190 * gdb.python/py-type.c: New file.
15191 * Makefile.in: Add py-type.
15192
151932009-12-03 Tom Tromey <tromey@redhat.com>
15194
15195 * gdb.python/py-value.exp (test_parse_and_eval): New
15196 function.
15197
151982009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
15199
15200 PR gdb/11022
15201
15202 * gdb.base/pr11022.exp: New test.
15203 * gdb.base/pr11022.c: New test.
15204
152052009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
15206
15207 Fix spurious false FAILs.
15208 * gdb.base/structs.c (chartest): New.
15209 (main): Fill-in chartest.
15210 * gdb.base/structs.exp (anychar_re, first): New.
15211 (start_structs_test): Import global anychar_re and first.
15212 New gdb_test call "set print elements 300; ${testfile}"
15213 (start_structs_test <$first>): New block.
15214 (any): Import global anychar_re. New variable ac. Use ${ac}.
15215
152162009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
15217
15218 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
15219
152202009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
15221
15222 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
15223 Force $srcfile file.
15224 * gdb.base/foll-fork.c (callee): Comment out the printf call.
15225
152262009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15227
15228 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
15229 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
15230 * gdb.threads/watchthreads-reorder.exp: Likewise.
15231
152322009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
15233
15234 PR gdb/8704
15235
15236 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
15237 "if", and "thread". Correct matching in the previous test.
15238
152392009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
15240
15241 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
15242
152432009-11-23 Michael Snyder <msnyder@vmware.com>
15244
15245 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
15246 * gdb.reverse-watch-precsave.exp: Ditto.
15247
152482009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
15249
15250 * gdb.asm/asm-source.exp: Adjust.
15251 * gdb.base/help.exp: Adjust.
15252
152532009-11-22 Pedro Alves <pedro@codesourcery.com>
15254
15255 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
15256 (do_syscall_tests_without_xml): Set data-directory to
15257 /the/path/to/nowhere.
15258
152592009-11-21 Pedro Alves <pedro@codesourcery.com>
15260
15261 * gdb.threads/local-watch-wrong-thread.c,
15262 gdb.threads/local-watch-wrong-thread.exp: New files.
15263
152642009-11-21 Pedro Alves <pedro@codesourcery.com>
15265
15266 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
15267 assume new `regsub' syntax available.
15268
152692009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15270
15271 * gdb.base/watchpoint-hw-hit-once.exp,
15272 gdb.base/watchpoint-hw-hit-once.c: New.
15273
152742009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15275
15276 * gdb.threads/watchthreads-reorder.exp,
15277 gdb.threads/watchthreads-reorder.c: New.
15278
152792009-11-17 Nathan Sidwell <nathan@codesourcery.com>
15280
15281 * gdb.xml/tdesc-regs.exp: Use for m68k.
15282
152832009-11-15 Pedro Alves <pedro@codesourcery.com>
15284
15285 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
15286
152872009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
15288
15289 * lib/gdb.exp (current_target_name): New procedure.
15290 (gdb_wrapper_target): New variable.
15291 (gdb_wrapper_init): Set gdb_wrapper_target.
15292 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
15293 wrapper.
15294
152952009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
15296
15297 * gdb.base/remote.exp: Delete the slowest load test.
15298 Do not load with fixed packet sizes.
15299
153002009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
15301
15302 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
15303
153042009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
15305
15306 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
15307 srcfile when setting a breakpoint.
15308
153092009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
15310
15311 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
15312 macros.
15313
153142009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
15315
15316 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
15317 to be in memory.
15318 * gdb.base/display.c (force_mem): New.
15319 (do_loops): Use it. Add breakpoint comments.
15320 (do_vars): Add a breakpoint comment.
15321 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
15322 line numbers.
15323
153242009-11-13 Nathan Froyd <froydnj@codesourcery.com>
15325
15326 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
15327 instead of a bare "run".
15328
153292009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
15330
15331 * gdb.python/py-prettyprint.exp: Adjust.
15332
153332009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
15334
15335 * lib/cell.exp (skip_cell_tests): Clean up test files before
15336 returning.
15337
153382009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
15339
15340 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
15341 and the breakpoint menu. Do not call perror if a prompt is seen.
15342 Consume the following GDB prompt.
15343 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
15344 * gdb.cp/namespace.exp: Use gdb_test.
15345 * gdb.cp/templates.exp: Use gdb_test.
15346 (test_template_breakpoints): Use gdb_test_multiple.
15347
153482009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
15349
15350 * gdb.base/break1.c (struct some_struct, values): Move earlier.
15351 (marker4): Reference values.
15352
153532009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
15354
15355 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
15356 is missing.
15357
153582009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
15359
15360 * gdb.base/break.c (need_malloc): New.
15361 * gdb.base/constvars.c (main): Reference crass and crisp.
15362 * gdb.base/gdb1821.c (main): Reference bar.
15363 * gdb.cp/gdb1355.cc (main): Reference s1.
15364 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
15365 (main): Call them.
15366 * gdb.cp/hang2.cc (dummy2): Define.
15367 * gdb.cp/hang3.cc (dummy3): Define.
15368 * gdb.cp/m-data.cc (main): Reference shadow.
15369
153702009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
15371 Nathan Froyd <froydnj@codesourcery.com>
15372
15373 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
15374 remote host.
15375
153762009-11-12 Nathan Froyd <froydnj@codesourcery.com>
15377
15378 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
15379 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
15380 * gdb.dwarf2/dw2-compressed.exp: Likewise.
15381 * gdb.dwarf2/dw2-intercu.exp: Likewise.
15382 * gdb.dwarf2/dw2-intermix.exp: Likewise.
15383 * gdb.dwarf2/dw2-producer.exp: Likewise.
15384 * gdb.dwarf2/mac-fileno.exp: Likewise.
15385 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
15386 py-prettyprint.py to the remote host.
15387 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
15388
153892009-11-11 Keith Seitz <keiths@redhat.com>
15390
15391 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
15392 use it instead of "Foo".
15393 * gdb.cp/classes.exp (do_tests): Add a test to access
15394 a method through a typedef'd class name.
15395
153962009-11-11 Nathan Froyd <froydnj@codesourcery.com>
15397
15398 * gdb.base/long_long.exp: Permit leading zeros on floating-point
15399 exponents.
15400 * gdb.base/pointers.exp: Likewise.
15401 * gdb.cp/ref-types.exp: Likewise.
15402
154032009-11-11 Keith Seitz <keiths@redhat.com>
15404
15405 * gdb.cp/cplusfuncs.cc (class foo): Add operators
15406 new[] and delete[].
15407 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
15408 "void".
15409 (probe_demangler): Remove all single-quoting of
15410 method and variable names.
15411 (info_func_regexp): Remove the word "void" from any
15412 occurrence of "(void)".
15413 (print_addr_2): Remove all single-quoting of
15414 method names.
15415 (print_addr_2_kfail): Likewise.
15416 (print_addr): Single-quote C function names before
15417 passing to print_addr_2.
15418 (test_paddr_operator_functions): Remove single-quoting
15419 for method names.
15420 Add tests for operator new[] and operator delete[].
15421
154222009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15423
15424 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
15425
154262009-11-09 Keith Seitz <keiths@redhat.com>
15427
15428 * gdb.cp/overload.exp: Add tests for resolving overloaded
15429 methods in expression parsing/evaluation.
15430
154312009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
15432
15433 * lib/gdb.exp (default_gdb_version): Use --version instead of
15434 --command.
15435
154362009-11-10 Nathan Sidwell <nathan@codesourcery.com>
15437
15438 * lib/gdb.exp (gdb_compile_test): New.
15439 (skip_ada_tests, skip_java_tests): New.
15440 (gdb_compile): Use gdb_compile_test for f77.
15441 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
15442 * lib/java.exp (compile_java_from_source): Remove runtests check,
15443 use gdb_compile_test to record result.
15444 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
15445 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
15446 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
15447 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
15448 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
15449 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
15450 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
15451 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
15452 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
15453 adjust gdb_compile invocations.
15454
154552009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
15456
15457 * Makefile.in (abs_builddir): New.
15458 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
15459 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
15460 `$(abs_builddir)/site.exp'.
15461
154622009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
15463
15464 * config/m68k-emc.exp, lib/emc-support.exp,
15465 gdb.trace/gdb_c_test.c: Delete.
15466 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
15467 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
15468 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
15469 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
15470 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
15471 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
15472 casing for m68k-*-elf.
15473
154742009-11-03 Pedro Alves <pedro@codesourcery.com>
15475
15476 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
15477 * gdb.arch/i386-prologue.exp: Likewise.
15478 * gdb.arch/i386-unwind.exp: Likewise.
15479
154802009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
15481
15482 * lib/gdb.exp (gdb_expect): Fix timeout typo.
15483
154842009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
15485
15486 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
15487
154882009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
15489
15490 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
15491
154922009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
15493
15494 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
15495
154962009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
15497
15498 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
15499 * gdb.base/sepdebug2.c: New file.
15500
155012009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
15502
15503 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
15504 the modified warnings for catch syscall. Verify if GDB was compiled
15505 with support for lib expat, and choose which tests to run depending
15506 on this.
15507
155082009-10-30 Vladimir Prus <vladimir@codesourcery.com>
15509
15510 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
15511 that composite commands are parsed OK. And also test
15512 that breakpoint commands do work.
15513
155142009-10-23 Michael Snyder <msnyder@vmware.com>
15515
15516 gdb.reverse/consecutive-precsave.exp: Change expect pattern
15517 to allow for new disassembly style.
15518
155192009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
15520
15521 * gdb.asm/asm-source.exp: Adjust.
15522
155232009-10-22 Michael Snyder <msnyder@vmware.com>
15524
15525 * gdb.reverse/break-precsave.exp: New test.
15526 * gdb.reverse/consecutive-precsave.exp: Ditto.
15527 * gdb.reverse/finish-precsave.exp: Ditto.
15528 * gdb.reverse/i386-precsave.exp: Ditto.
15529 * gdb.reverse/machinestate-precsave.exp: Ditto.
15530 * gdb.reverse/sigall-precsave.exp: Ditto.
15531 * gdb.reverse/solilb-precsave.exp: Ditto.
15532 * gdb.reverse/step-precsave.exp: Ditto.
15533 * gdb.reverse/until-precsave.exp: Ditto.
15534 * gdb.reverse/watch-precsave.exp: Ditto.
15535
155362009-10-22 Michael Snyder <msnyder@vmware.com>
15537
15538 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
15539 for gdb_expect. Adjust one test's expect strings for the new
15540 format of disassemble.
15541 * gdb.reverse/finish-reverse.exp: Delete 'return'.
15542 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
15543 gdb_test_multiple.
15544 * gdb.reverse/step-reverse.exp: Delete 'return'.
15545 * gdb.reverse/until-reverse.exp: Delete blank lines.
15546 * gdb.reverse/watch-reverse.exp: Delete blank lines.
15547
155482009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
15549
15550 * gdb.base/consecutive.exp: Adjust.
15551 * gdb.base/display.exp: Likewise.
15552 * gdb.base/pc-fp.exp: Likewise.
15553 * gdb.base/sigbpt.exp: Likewise.
15554
155552009-10-19 Michael Snyder <msnyder@vmware.com>
15556
15557 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
15558 * gdb.reverse/finish-reverse.c: Ditto.
15559 * gdb.reverse/sigall-reverse.c: Ditto.
15560 * gdb.reverse/solib-reverse.c: Ditto.
15561 * gdb.reverse/step-reverse.c: Ditto.
15562 * gdb.reverse/watch-reverse.c: Ditto.
15563
155642009-10-19 Pedro Alves <pedro@codesourcery.com>
15565 Stan Shebs <stan@codesourcery.com>
15566
15567 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
15568 * gdb.base/foll-exec.exp: Adjust to expect a process id before
15569 "Executing new program".
15570 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
15571 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
15572 left listed after having been killed.
15573 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
15574 * gdb.base/maint.exp: Adjust test.
15575
15576 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
15577 * gdb.multi/Makefile.in: New.
15578 * gdb.multi/base.exp: New.
15579 * gdb.multi/goodbye.c: New.
15580 * gdb.multi/hangout.c: New.
15581 * gdb.multi/hello.c: New.
15582 * gdb.multi/bkpt-multi-exec.c: New.
15583 * gdb.multi/bkpt-multi-exec.exp: New.
15584 * gdb.multi/crashme.c: New.
15585
155862009-10-13 Tristan Gingold <gingold@adacore.com>
15587
15588 * gdb.base/sepdebug.exp: Check debug info are found.
15589
155902009-10-08 Pedro Alves <pedro@codesourcery.com>
15591
15592 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
15593 bits.
15594
155952009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15596
15597 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
15598
155992009-10-07 Joel Brobecker <brobecker@adacore.com>
15600
15601 * gdb.base/watchpoints.c: Add copyright header. Reformat one
15602 of the comments.
15603
156042009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
15605
15606 * gdb.base/annota1.exp: Remove obsolete match_max increase.
15607 * gdb.base/annota3.exp: Idem.
15608 * gdb.base/maint.exp: Idem.
15609
156102009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
15611
15612 * lib/gdb.exp (default_gdb_init): Set current value of match_max
15613 to default.
15614
156152009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
15616
15617 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
15618 mingw and cygwin targets.
15619
156202009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
15621 Pedro Alves <pedro@codesourcery.com>
15622
15623 * lib/gdb.exp (gdb_compile): Avoid adding
15624 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
15625
156262009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
15627
15628 * gdb.base/shr1.c: Use %p in format string.
15629 * gdb.base/unload.c: Avoid warning in fprintf.
15630 * gdb.base/watchpoint-solib.c: Idem.
15631
156322009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
15633
15634 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
15635 long type.
15636 (test_unlink): Correct printf string.
15637 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
15638 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
15639
156402009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
15641
15642 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
15643 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
15644 * gdb.arch/ia64-breakpoint-shadow.S: New file.
15645
156462009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15647
15648 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
15649 * gdb.objc/nondebug.exp: Likewise.
15650
156512009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15652
15653 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
15654 target_info setting.
15655
15656 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
15657 that detect new threads during "info threads".
15658
156592009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15660
15661 * gdb.threads/manythreads.c (main): Increase thread stack size
15662 to 2*PTHREAD_STACK_MIN.
15663 * gdb.threads/multi-create.c (main): Likewise.
15664 (create_function): Likewise.
15665
156662009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15667
15668 * gdb.base/dump.exp: Pass difference of pointer types instead
15669 of integer types as offset to restore in intarr3.srec case.
15670
156712009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15672
15673 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
15674
156752009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15676
15677 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
15678
156792009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
15680
15681 New test for two watchpoints, with disabling of
15682 the first inserted.
15683 * testsuite/gdb.base/watchpoints.c: New file.
15684 * testsuite/gdb.base/watchpoints.exp: New file.
15685
156862009-09-25 Tom Tromey <tromey@redhat.com>
15687
15688 * gdb.base/charset.exp: Test utf-16 strings with Python.
15689
156902009-09-25 Tom Tromey <tromey@redhat.com>
15691
15692 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
15693 UCS-4.
15694 * gdb.base/charset.c (utf_32_string): Rename.
15695 (init_utf32): Rename.
15696 (main): Update.
15697
156982009-09-22 Tom Tromey <tromey@redhat.com>
15699
15700 * gdb.python/py-function.exp: Add regression tests.
15701
157022009-09-21 Keith Seitz <keiths@redhat.com>
15703
15704 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
15705 with invalid operator.
15706
157072009-09-21 Keith Seitz <keiths@redhat.com>
15708
15709 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
15710 and destructor using typedef name of class.
15711 * gdb.cp/classes.cc (class Base1): Add a destructor.
15712 (base1): New typedef.
15713 (use_methods): Instanitate an object of type base1.
15714 * gdb.cp/templates.exp (test_template_typedef): New procedure.
15715 (do_tests): Call test_template_typedef.
15716 * gdb.cp/templates.cc (Baz::~Baz): New method.
15717 (intBazOne): New typedef.
15718 (main): Instantiate intBazOne.
15719
157202009-09-21 Phil Muldoon <pmuldoon@redhat.com>
15721
15722 PR python/10633
15723
15724 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
15725 Function.
15726 (run_lang_tests): Add print elements test.
15727
157282009-09-21 Phil Muldoon <pmuldoon@redhat.com>
15729
15730 * gdb.python/py-value.exp (test_subscript_regression): New
15731 function. Test for invalid subscripts.
15732 * gdb.python/py-value.c (main): Add test array, and pointer to it.
15733 (ptr_ref): New function.
15734
157352009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
15736
15737 * gdb.base/default.exp: Fix "show convenience".
15738
157392009-09-15 Tom Tromey <tromey@redhat.com>
15740
15741 * lib/mi-support.exp (mi_create_varobj): Update.
15742 (mi_create_floating_varobj): Likewise.
15743 (mi_create_dynamic_varobj): New proc.
15744 (mi_varobj_update): Update.
15745 (mi_varobj_update_with_type_change): Likewise.
15746 (mi_varobj_update_kv_helper): New proc.
15747 (mi_varobj_update_dynamic_helper): Rewrite.
15748 (mi_varobj_update_dynamic): New proc.
15749 (mi_list_varobj_children): Update.
15750 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
15751 * gdb.python/python-prettyprint.py (pp_outer): New class.
15752 (pp_nullstr): Likewise.
15753 (lookup_function): Register new printers.
15754 * gdb.python/python-prettyprint.c (struct substruct): New type.
15755 (struct outerstruct): Likewise.
15756 (substruct_test): New function.
15757 (struct nullstr): New type.
15758 (string_1, string_2): New globals.
15759 (main): Add new tests.
15760 * gdb.python/python-mi.exp: Added regression tests.
15761 * gdb.mi/mi2-var-display.exp: Update.
15762 * gdb.mi/mi2-var-cmd.exp: Update.
15763 * gdb.mi/mi2-var-child.exp: Update.
15764 * gdb.mi/mi2-var-block.exp: Update.
15765 * gdb.mi/mi-var-invalidate.exp: Update.
15766 * gdb.mi/mi-var-display.exp: Update.
15767 * gdb.mi/mi-var-cmd.exp: Update.
15768 * gdb.mi/mi-var-child.exp: Update.
15769 * gdb.mi/mi-var-block.exp: Update.
15770 * gdb.mi/mi-break.exp: Update.
15771 * gdb.mi/gdb701.exp: Update.
15772
157732009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
15774
15775 * Makefile.in: Inclusion of catch-syscall object.
15776 * gdb.base/catch-syscall.c: New file.
15777 * gdb.base/catch-syscall.exp: New file.
15778
157792009-09-12 Michael Snyder <msnyder@vmware.com>
15780
15781 * gdb.reverse/step-reverse.exp: Explicitly check for targets
15782 that can support reverse debuggnig.
15783
157842009-09-11 Tom Tromey <tromey@redhat.com>
15785
15786 * gdb.dwarf2/valop.S: New file.
15787 * gdb.dwarf2/valop.exp: New file.
15788
157892009-09-11 Mark Kettenis <kettenis@gnu.org>
15790
15791 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
15792
157932009-09-10 Doug Evans <dje@google.com>
15794
15795 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
15796 Add $gdb_prompt to second breakpoint regexp.
15797
157982009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
15799
15800 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
15801 names, add missing ones.
15802 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
15803 * gdb.python/py-frame.c: Rename from python-frame.c.
15804 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
15805 testfile name.
15806 * gdb.python/py-function.exp: Rename from python-function.exp.
15807 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
15808 testfile name.
15809 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
15810 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
15811 Adjust testfile name.
15812 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
15813 * gdb.python/py-template.cc: Rename from python-template.cc.
15814 * gdb.python/py-template.exp: Rename from python-template.exp.
15815 Adjust testfile name.
15816 * gdb.python/py-value.c: Rename from python-value.c.
15817 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
15818 testfile name.
15819
158202009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
15821
15822 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
15823 $bpt2address.
15824 (Second breakpoint address is valid on ia64)
15825 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
15826
158272009-09-03 Joseph Myers <joseph@codesourcery.com>
15828
15829 * gdb.base/ending-run.exp: Restrict regular expression matching
15830 line number to require closing brace following.
15831
158322009-09-03 Doug Evans <dje@google.com>
15833
15834 * gdb.base/store.exp (check_set): Fix typo in expected value message.
15835
158362009-09-02 Tom Tromey <tromey@redhat.com>
15837
15838 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
15839
158402009-09-02 Tom Tromey <tromey@redhat.com>
15841
15842 * gdb.dwarf2/callframecfa.exp: New file.
15843 * gdb.dwarf2/callframecfa.S: New file.
15844
158452009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
15846
15847 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
15848 gdb.base/solib-overlap-main.c: New.
15849
158502009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
15851
15852 PR gdb/10565
15853
15854 * gdb.base/bitfields.c (struct container, container): New.
15855 (main): Initialize it and call break5.
15856 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
15857
158582009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
15859
15860 Support constant DW_AT_data_member_location by GCC PR debug/40659.
15861 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
15862
158632009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
15864
15865 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
15866
158672009-08-26 Michael Snyder <msnyder@vmware.com>
15868
15869 * gdb.base/i386-reverse.c: New file.
15870 * gdb.base/i386-reverse.exp: New file.
15871 * gdb.base/Makefile.in: Add new files to be removed.
15872
158732009-08-26 Joseph Myers <joseph@codesourcery.com>
15874
15875 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
15876 environment-pwd for remote host.
15877 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
15878
158792009-08-24 Keith Seitz <keiths@redhat.com>
15880
15881 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
15882 Add two new C++ completer tests which limit the output to a
15883 given class.
15884
158852009-08-24 Michael Snyder <msnyder@vmware.com>
15886
15887 * gdb.base/del.exp: Fix typo in comment.
15888 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
15889
158902009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
15891
15892 * configure: Regenerate.
15893 * gdb.hp/configure: Likewise.
15894 * gdb.hp/gdb.aCC/configure: Likewise.
15895 * gdb.hp/gdb.base-hp/configure: Likewise.
15896 * gdb.hp/gdb.compat/configure: Likewise.
15897 * gdb.hp/gdb.defects/configure: Likewise.
15898 * gdb.hp/gdb.objdbg/configure: Likewise.
15899 * gdb.stabs/configure: Likewise.
15900
159012009-08-19 Doug Evans <dje@google.com>
15902
15903 * gdb.base/gdbvars.c: New file.
15904 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
15905
159062009-08-14 Pedro Alves <pedro@codesourcery.com>
15907
15908 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
15909 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
15910
159112009-08-13 Pedro Alves <pedro@codesourcery.com>
15912
15913 * gdb.base/default.exp: Adjust "set language test": it's now an
15914 enum command. Larger help string moved to "help set language".
15915 * gdb.base/help.exp: Adjust "help set language" expected output,
15916 now lists all known languages.
15917
159182009-08-11 Nathan Froyd <froydnj@codesourcery.com>
15919
15920 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
15921 all frame arguments.
15922 * gdb.arch/altivec-regs.exp: Likewise.
15923
159242009-08-07 Tom Tromey <tromey@redhat.com>
15925
15926 * gdb.base/setshow.exp: Add tests for changes to set language, set
15927 check range, and set check type.
15928
159292009-08-03 Vladimir Prus <vladimir@codesourcery.com>
15930
15931 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
15932 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
15933 Call it.
15934
159352009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15936
15937 * configure.ac: Run gdb.cell tests when appropriate.
15938 * configure: Regenerate.
15939 * lib/cell.exp: New file.
15940 * gdb.cell: New directory.
15941 * gdb.cell/configure.ac: New file.
15942 * gdb.cell/configure: New file.
15943 * gdb.cell/Makefile.in: New file.
15944 * gdb.cell/arch.exp: New file.
15945 * gdb.cell/break.c: New file.
15946 * gdb.cell/break.exp: New file.
15947 * gdb.cell/break-spu.c: New file.
15948 * gdb.cell/bt.c: New file.
15949 * gdb.cell/bt2-spu.c: New file.
15950 * gdb.cell/bt-spu.c: New file.
15951 * gdb.cell/bt.exp: New file.
15952 * gdb.cell/coremaker.c: New file.
15953 * gdb.cell/coremaker-spu.c: New file.
15954 * gdb.cell/core.exp: New file.
15955 * gdb.cell/gcore.exp: New file.
15956 * gdb.cell/data.c: New file.
15957 * gdb.cell/data.exp: New file.
15958 * gdb.cell/data-spu.c: New file.
15959 * gdb.cell/ea-cache.exp: New file.
15960 * gdb.cell/ea-cache.c: New file.
15961 * gdb.cell/ea-cache-spu.c: New file.
15962 * gdb.cell/ea-standalone.c: New file.
15963 * gdb.cell/ea-standalone.exp: New file.
15964 * gdb.cell/ea-test.c: New file.
15965 * gdb.cell/ea-test.exp: New file.
15966 * gdb.cell/f-regs.exp: New file.
15967 * gdb.cell/mem-access.c: New file.
15968 * gdb.cell/mem-access.exp: New file.
15969 * gdb.cell/mem-access-spu.c: New file.
15970 * gdb.cell/ptype.exp: New file.
15971 * gdb.cell/registers.exp: New file.
15972 * gdb.cell/size.c: New file.
15973 * gdb.cell/sizeof.exp: New file.
15974 * gdb.cell/size-spu.c: New file.
15975 * gdb.cell/solib.exp: New file.
15976 * gdb.cell/solib-symbol.exp: New file.
15977
159782009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15979
15980 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
15981
159822009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
15983
15984 * gdb.base/float.exp: Handle VFP registers.
15985
159862009-07-14 Michael Snyder <msnyder@vmware.com>
15987
15988 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
15989 to bring gdb to the beginning of the calling line.
15990
15991 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
15992 confusing the i386 epilogue unwinder.
15993
159942009-07-14 Stan Shebs <stan@codesourcery.com>
15995
15996 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
15997
159982009-07-14 Michael Snyder <msnyder@vmware.com>
15999
16000 * gdb.reverse/step-reverse.exp (stepi into function call):
16001 Call instruction may not be first instruction in the line.
16002 (reverse stepi from a function call): Used wrong line number.
16003
160042009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
16005
16006 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
16007
160082009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
16009
16010 Fix gdb.base/macscp.exp when using custom inputrc.
16011 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
16012 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
16013 env(TERM) set.
16014 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
16015 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
16016
160172009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
16018
16019 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
16020 * gdb.base/annota1.exp (thread_test): Import global $testfile.
16021 Change the compilation target to match the testcase name.
16022 * gdb.base/sect-cmd.exp: Change the compilation target to match the
16023 testcase name.
16024 * a2-run.exp: Use for setup prepare_for_testing. Change the
16025 compilation target to match the testcase name.
16026 * gdb.base/commands.exp: Likewise.
16027 * gdb.base/finish.exp: Likewise.
16028 * gdb.base/float.exp: Likewise.
16029 * gdb.base/info-target.exp: Likewise.
16030 * gdb.base/relational.exp: Likewise.
16031 * gdb.base/term.exp: Likewise.
16032 * gdb.base/until.exp: Likewise.
16033 * gdb.base/volatile.exp: Likewise.
16034 * gdb.base/whatis-exp.exp: Likewise.
16035
160362009-07-11 Hui Zhu <teawater@gmail.com>
16037
16038 * gdb.base/help.exp (disassemble): Update expected help text.
16039
160402009-07-09 Tom Tromey <tromey@redhat.com>
16041
16042 * lib/gdb.exp: Handle TRANSCRIPT.
16043 (remote_spawn, remote_close, send_gdb): New procs.
16044
160452009-07-10 Phil Muldoon <pmuldoon@redhat.com>
16046
16047 * gdb.python/python-prettyprint.c: Add counted null string
16048 structure.
16049 * gdb.python/python-prettyprint.exp: Print null string. Test for
16050 embedded nulls.
16051 * gdb.python/python-prettyprint.py (pp_ns): New Function.
16052 * gdb.python/python-value.exp (test_value_in_inferior): Add
16053 variable length string fetch tests.
16054 * gdb.python/python-value.c (main): Add strings for string fetch tests.
16055
160562009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
16057
16058 * gdb.base/dump.exp (inaccessible memory is reported): New test.
16059
160602009-07-07 Tom Tromey <tromey@redhat.com>
16061
16062 * gdb.base/call-rt-st.exp: Update for change to escape output.
16063 * gdb.base/callfuncs.exp: Likewise.
16064 * gdb.base/charset.exp: Likewise.
16065 * gdb.base/constvars.exp: Likewise.
16066 * gdb.base/long_long.exp: Likewise.
16067 * gdb.base/pointers.exp: Likewise.
16068 * gdb.base/printcmds.exp: Likewise.
16069 * gdb.base/setvar.exp: Likewise.
16070 * gdb.base/store.exp: Likewise.
16071 * gdb.cp/ref-types.exp: Likewise.
16072 * gdb.mi/mi-var-child.exp: Likewise.
16073 * gdb.mi/mi-var-display.exp: Likewise.
16074 * gdb.mi/mi2-var-display.exp: Likewise.
16075 * gdb.base/charset.exp: Test octal escape sequence length.
16076 Update for change to escape output.
16077
160782009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
16079
16080 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
16081
160822009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
16083
16084 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
16085
160862009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
16087
16088 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
16089 gdbserver increasing $portnum if "Can't bind address" has been seen.
16090
160912009-07-05 Pedro Alves <pedro@codesourcery.com>
16092
16093 * gdb.base/ending-run.exp: Add "step out of main" pattern for
16094 mingw32ce.
16095
160962009-07-05 Pedro Alves <pedro@codesourcery.com>
16097
16098 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
16099 VFP format.
16100
161012009-07-02 Pedro Alves <pedro@codesourcery.com>
16102
16103 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
16104 linux. Adjust to use "inferior", "info inferiors", "detach
16105 inferior" and "kill inferior" instead of "restart", "info fork",
16106 "detach fork" and "delete fork".
16107 * gdb.base/ending-run.exp: Spell out "info".
16108 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
16109 the "kill" command.
16110
161112009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16112
16113 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
16114 change to prefix TLS offset in hex with 0x.
16115
161162009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16117
16118 * gdb.base/default.exp: Update test case for "x" changes.
16119
161202009-07-01 Tristan Gingold <gingold@adacore.com>
16121
16122 * gdb.base/bigcore.exp: Make darwin untested.
16123
161242009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
16125
16126 * gdb.base/completion.exp (directory completion): Create the directory.
16127 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
16128 escapeuniquesub.
16129 (directory completion 2): Expect now ${escapeuniquesub}.
16130 (Glob remaining of directory test): Remove one excessive newline.
16131 Expect the real output.
16132
161332009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
16134
16135 Fix `make check//%' target after `make check' has been ran.
16136 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
16137 a mkdir call.
16138 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
16139 (%/.dir): Remove.
16140
161412009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
16142
16143 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
16144 the expected result record.
16145
161462009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
16147
16148 Remove racy FAILs relying just on the timeouts.
16149 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
16150 (annotation_level 2): Remove racy FAILs.
16151
161522009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
16153
16154 gdb/10275
16155 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
16156
161572009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
16158
16159 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
16160
161612009-06-30 Vladimir Prus <vladimir@codesourcery.com>
16162
16163 * gdb.mi/mi-stack.exp: Testing symbolic options
16164 to -stack-list-locals and -stack-list-arguments.
16165
161662009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
16167
16168 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
16169
161702009-06-29 Tom Tromey <tromey@redhat.com>
16171
16172 * dg-extract-results.sh: New file.
16173 * Makefile.in (FORCE_PARALLEL): New variable.
16174 (CHECK_TARGET): New conditional variable.
16175 (check): Use CHECK_TARGET.
16176 (DO_RUNTEST): New variable.
16177 (check-single): New target.
16178 (TEST_DIRS): New variable.
16179 (TEST_TARGETS): Likewise.
16180 (check-parallel): New target.
16181 (check-gdb.%): New pattern.
16182 (BASE1_FILES): New variable.
16183 (BASE2_FILES): Likewise.
16184 (check-gdb.base%): New pattern.
16185 (%/.dir): New pattern.
16186 * configure: Rebuild.
16187 * aclocal.m4 (AM_CONDITIONAL): New defun.
16188 * configure.ac: Check whether user is using GNU make.
16189 (GMAKE): New conditional.
16190
161912009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
16192
16193 * gdb.cp/namespace-nested-import.cc: New test.
16194 * gdb.cp/namespace-nested-import.exp: New test.
16195
161962009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
16197
16198 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
16199 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
16200 * gdb.opt/Makefile.in (EXECUTABLES): Update.
16201 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
16202 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
16203 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
16204 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
16205 gdb.opt/inline-markers.c: New files.
16206 * lib/gdb.exp (skip_inline_frame_tests): New function.
16207 (skip_inline_var_tests): New function.
16208
162092009-06-27 Andreas Schwab <schwab@linux-m68k.org>
16210
16211 * gdb.cp/exception.exp: Don't require $hex before inner frame in
16212 backtrace.
16213
162142009-06-27 Michael Snyder <msnyder@vmware.com>
16215
16216 * gdb.reverse: New directory.
16217 * gdb.reverse/break-reverse.c: New test.
16218 * gdb.reverse/break-reverse.exp: New test.
16219 * gdb.reverse/consecutive-reverse.c: New test.
16220 * gdb.reverse/consecutive-reverse.exp: New test.
16221 * gdb.reverse/finish-reverse.c: New test.
16222 * gdb.reverse/finish-reverse.exp: New test.
16223 * gdb.reverse/machinestate.c: New test.
16224 * gdb.reverse/ms1.c: New test.
16225 * gdb.reverse/machinestate.exp: New test.
16226 * gdb.reverse/Makefile.in: New file.
16227 * gdb.reverse/shr2.c: New test.
16228 * gdb.reverse/solib-reverse.c: New test.
16229 * gdb.reverse/solib-reverse.exp: New test.
16230 * gdb.reverse/step-reverse.c: New test.
16231 * gdb.reverse/step-reverse.exp: New test.
16232 * gdb.reverse/until-reverse.c: New test.
16233 * gdb.reverse/ur1.c: New test.
16234 * gdb.reverse/until-reverse.exp: New test.
16235 * gdb.reverse/watch-reverse.c: New test.
16236 * gdb.reverse/watch-reverse.exp: New test.
16237 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
16238 * configure: Regenerate.
16239
162402009-06-26 Doug Evans <dje@google.com>
16241
16242 * gdb.base/psymtab.exp: Turn off pending breakpoints.
16243
162442009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
16245
16246 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
16247 windows problem for 'file delete $binfile'.
16248
162492009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
16250
16251 * gdb.cp/namespace-using.exp: New test.
16252 * gdb.cp/namespace-using.cc: New test.
16253
162542009-05-20 Joel Brobecker <brobecker@adacore.com>
16255
16256 * gdb.ada/variant_record_packed_array: New testcase.
16257
162582009-06-23 Tom Tromey <tromey@redhat.com>
16259
16260 * gdb.base/charset.exp (test_combination): Regression test.
16261 * gdb.base/charset.c (my_wchar_t): New typedef.
16262 (myvar): New global.
16263 (main): Set myvar.
16264
162652009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
16266
16267 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
16268 target.
16269
162702009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16271
16272 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
16273
162742009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16275
16276 * gdb.mi/gdb680.exp: Update test for error message.
16277
162782009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16279
16280 * gdb.base/annota1.exp: Allow multiple occurrences of the
16281 frames-invalid annotation.
16282 * gdb.cp/annota2.exp: Likewise.
16283
162842009-06-15 Phil Muldoon <pmuldoon@redhat.com>
16285
16286 * gdb.cp/gdb2495.cc: New file.
16287 * gdb.cp/gdb2495.exp: New file.
16288
162892009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16290
16291 Report error on GDB crash during runto.
16292 * lib/gdb.exp (runto <eof>): New.
16293
162942009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
16295
16296 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
16297 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
16298 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
16299 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
16300 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
16301 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
16302 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
16303 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
16304 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
16305 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
16306 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
16307 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
16308 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
16309 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
16310 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
16311 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
16312 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
16313 gdb.server/server-mon.exp, gdb.server/server-run.exp,
16314 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
16315 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
16316 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
16317 gdb.trace/passcount.exp, gdb.trace/report.exp,
16318 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
16319 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
16320 gdb.trace/while-stepping.exp: Use a unique name for the compiled
16321 executable.
16322
163232009-06-07 Pedro Alves <pedro@codesourcery.com>
16324
16325 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
16326 defined before referencing it.
16327
163282009-06-03 Doug Evans <dje@google.com>
16329
16330 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
16331 * gdb.arch/i386-see.c: Ditto.
16332
163332009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
16334
16335 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
16336 (check_macro): Return 1 if undefined.
16337 If first test fails, check if macro debug information is available,
16338 and report unsupported test if no macro information is found.
16339
163402009-05-29 Doug Evans <dje@google.com>
16341
16342 * gdb.threads/hand-call-in-threads.exp: New.
16343 * gdb.threads/hand-call-in-threads.c: New.
16344
163452009-05-29 Michael Snyder <msnyder@vmware.com>
16346
16347 * gdb.base/break-always.exp: Change "1" to "on".
16348 Add confirmation check.
16349
163502009-05-28 Pedro Alves <pedro@codesourcery.com>
16351
16352 * gdb.threads/threxit-hop-specific.c: New.
16353 * gdb.threads/threxit-hop-specific.exp: New.
16354 * gdb.threads/thread-execl.c: New.
16355 * gdb.threads/thread-execl.exp: New.
16356
163572009-05-27 Tom Tromey <tromey@redhat.com>
16358 Thiago Jung Bauermann <bauerman@br.ibm.com>
16359
16360 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
16361 (mi_child_regexp): Likewise.
16362 (mi_list_varobj_children_range): Likewise.
16363 (mi_get_features): Likewise.
16364 (mi_list_varobj_children): Rewrite.
16365 * gdb.python/python-mi.exp: New file.
16366
163672009-05-27 Tom Tromey <tromey@redhat.com>
16368 Thiago Jung Bauermann <bauerman@br.ibm.com>
16369 Phil Muldoon <pmuldoon@redhat.com>
16370 Paul Pluzhnikov <ppluzhnikov@google.com>
16371
16372 * gdb.python/python-prettyprint.exp: New file.
16373 * gdb.python/python-prettyprint.c: New file.
16374 * gdb.python/python-prettyprint.py: New file.
16375 * gdb.base/display.exp: print/r is now valid.
16376
163772009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
16378 Tom Tromey <tromey@redhat.com>
16379 Pedro Alves <pedro@codesourcery.com>
16380 Paul Pluzhnikov <ppluzhnikov@google.com>
16381
16382 * gdb.python/python-template.exp: New file.
16383 * gdb.python/python-template.cc: New file.
16384 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
16385 tests.
16386 * gdb.python/python-value.exp (py_objfile_tests): New proc.
16387 Call it.
16388 (test_value_after_death): New proc.
16389 * gdb.python/python-value.c (PTR): New typedef.
16390 (main): New variable 'x'.
16391
163922009-05-27 Tom Tromey <tromey@redhat.com>
16393
16394 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
16395 tests.
16396 * gdb.python/python-value.exp (py_objfile_tests): New proc.
16397 Call it.
16398
163992009-05-27 Pedro Alves <pedro@codesourcery.com>
16400
16401 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
16402
164032009-05-24 Pedro Alves <pedro@codesourcery.com>
16404
16405 * gdb.threads/fork-thread-pending.c: New.
16406 * gdb.threads/fork-thread-pending.exp: New.
16407
164082009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16409
16410 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
16411 * gdb.dwarf2/dw2-strp.S (a_string2): New.
16412
164132009-05-18 Jon Beniston <jon@beniston.com>
16414
16415 * gdb.asm/asm-source.exp: Add lm32 target.
16416
164172009-05-17 Pedro Alves <pedro@codesourcery.com>
16418
16419 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
16420 `gdb_get_line_number'. Call `callee' in both parent and child.
16421 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
16422 `gdb_get_line_number' instead of hardcoding line numbers.
16423 (catch_fork_unpatch_child): New procedure to test detaching
16424 breakpoints from child fork.
16425 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
16426 hardcoding line numbers.
16427 (do_fork_tests): Run `catch_fork_unpatch_child'.
16428
164292009-05-17 Vladimir Prus <vladimir@codesourcery.com>
16430
16431 * gdb.mi/mi-cmd-var.exp: Check that when varobj
16432 of structure type enters or leaves the scope, it
16433 is reported by -var-update.
16434
164352009-05-11 Doug Evans <dje@sebabeach.org>
16436
16437 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
16438 * gdb.threads/pending-step.c (main): Fix off-by-one error.
16439 * gdb.threads/schedlock.c (main): Fix off-by-one error.
16440
164412009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16442
16443 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
16444
164452009-04-30 Doug Evans <dje@google.com>
16446
16447 * gdb.threads/watchthreads2.exp: New testcase.
16448 * gdb.threads/watchthreads2.c: New testcase.
16449
164502009-04-29 Doug Evans <dje@google.com>
16451
16452 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
16453 * gdb.cp/mb-ctor.cc: Ditto.
16454 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
16455 * gdb.cp/mb-inline.h (multi_line_foo): New function.
16456 * gdb.cp/mb-inline1.cc: Call it.
16457 * gdb.cp/mb-inline2.cc: Ditto.
16458 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
16459 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
16460
164612009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
16462
16463 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
16464 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
16465 Replace all uses of `decimal' by `nonzero'.
16466 (info macro FROM_COMMANDLINE): New test.
16467
164682009-04-27 Tom Tromey <tromey@redhat.com>
16469
16470 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
16471
164722009-04-27 Doug Evans <dje@google.com>
16473
16474 * gdb.threads/watchthreads.c (main): Initialize args before starting
16475 the threads. Plus formatting cleanup.
16476 * gdb.threads/watchthreads.exp: Avoid errant failures due to
16477 biased scheduling of one thread.
16478
164792009-04-27 Jerome Guitton <guitton@adacore.com>
16480
16481 * gdb.cp/templates.cc (GetMax): New template.
16482 (main): Declare two instances of GetMax.
16483 * gdb.cp/templates.exp: Add new test.
16484
164852009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
16486
16487 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
16488
164892009-04-22 Joseph Myers <joseph@codesourcery.com>
16490
16491 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
16492
164932009-04-15 Tom Tromey <tromey@redhat.com>
16494
16495 * gdb.base/charset.exp: Add regression test.
16496
164972009-04-14 Joel Brobecker <brobecker@adacore.com>
16498
16499 * gdb.base/exe-lock.exp: New testcase.
16500
165012009-04-13 Tom Tromey <tromey@redhat.com>
16502
16503 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
16504 operator on Frame.
16505
165062009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16507
16508 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
16509 * gdb.server/ext-attach.exp: Likewise.
16510
165112009-04-03 Vladimir Prus <vladimir@codesourcery.com>
16512
16513 Eliminate some sleep usage.
16514
16515 * gdb.mi/basics.c (do_nothing): New.
16516 (main): Use do_nothing instead of printf, so that
16517 not to introduce race condition between output of
16518 inferiour and output of gdb. Do not use sleep as it
16519 is not generally available on embedded targets.
16520
165212009-04-02 Pedro Alves <pedro@codesourcery.com>
16522
16523 * gdb.server/ext-attach.exp: Expect an optional process id after
16524 "Detached from remote process".
16525
165262009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
16527
16528 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
16529 gdb.dwarf2/dw2-unresolved.exp: New.
16530
165312009-04-02 Pedro Alves <pedro@codesourcery.com>
16532
16533 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
16534 mi_run_to_main.
16535
165362009-04-02 Pedro Alves <pedro@codesourcery.com>
16537
16538 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
16539 mi_run_to_main. Skip thread exit test on remote targets.
16540 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
16541 mi_run_to_main.
16542 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
16543 mi_run_to_main.
16544 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
16545 when expecting ^connected. Detect when the target doesn't support
16546 non-stop mode.
16547 (mi_run_cmd): Detect if non-stop mode was requested by isn't
16548 supported. Return -1 on error, 0 on success.
16549 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
16550 (mi_runto): Return mi_runto_helper's result explicitly.
16551
165522009-04-01 Pedro Alves <pedro@codesourcery.com>
16553
16554 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
16555
165562009-04-01 Tom Tromey <tromey@redhat.com>
16557
16558 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
16559 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
16560 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
16561 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
16562
165632009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
16564 Jan Kratochvil <jan.kratochvil@redhat.com>
16565
16566 PR gdb/931
16567 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
16568 output.
16569 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
16570 for gdb/931.
16571 * dw2-strp.S (DW_AT_language): Change to C++.
16572 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
16573
165742009-03-31 Joel Brobecker <brobecker@adacore.com>
16575
16576 * gdb.ada/tasks: New testcase.
16577
165782009-03-30 Stan Shebs <stan@codesourcery.com>
16579
16580 * gdb.trace/actions.exp: Update to match new info trace format.
16581 * gdb.trace/deltrace.exp: Ditto.
16582 * gdb.trace/infotrace.exp: Ditto.
16583 * gdb.trace/passcount.exp: Ditto.
16584 * gdb.trace/save-trace.exp: Ditto.
16585 * gdb.trace/while-stepping.exp: Ditto.
16586 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
16587
165882009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
16589
16590 * gdb.python/python-frame.c: New file.
16591 * gdb.python/python-frame.exp: New file.
16592
165932009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
16594
16595 * gdb.python/python-value.exp: Add tests for the address
16596 attribute.
16597
165982009-03-29 Andreas Schwab <schwab@linux-m68k.org>
16599
16600 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
16601
166022009-03-26 Doug Evans <dje@google.com>
16603
16604 * gdb.mi/mi-nonstop-exit.exp: New file.
16605 * gdb.mi/non-stop-exit.c: New file.
16606
166072009-03-26 Tom Tromey <tromey@redhat.com>
16608
16609 Update for change to prologue skipping:
16610 * gdb.mi/mi2-simplerun.exp: Update.
16611 * gdb.mi/mi2-break.exp: Update.
16612 * gdb.mi/mi-simplerun.exp: Update.
16613 * gdb.mi/mi-break.exp: Update.
16614 * gdb.base/ending-run.exp: Update.
16615
166162009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
16617
16618 * gdb.python/python-value.exp (test_value_in_inferior): Test
16619 gdb.Value.is_optimized_out attribute.
16620
166212009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
16622
16623 * gdb.dwarf2/dw2-noloc-main.c: New file.
16624 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
16625 (.text): Remove.
16626 (.data): New.
16627 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
16628 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
16629 (DW_TAG_subprogram func_cu1, noloc): Remove.
16630 (main): New.
16631 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
16632 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
16633 (file_symbols): New procedure.
16634
166352009-03-25 Tom Tromey <tromey@redhat.com>
16636
16637 * gdb.base/charset.exp (valid_target_charset): New proc.
16638 Use it to skip tests on invalid charsets.
16639
166402009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
16641
16642 * gdb.base/completion.exp: Add a test for directory completion.
16643
166442009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16645
16646 Fix a racy FAIL.
16647 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
16648 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
16649
166502009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
16651
16652 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
16653 * gdb.python/python-function.exp: Add test for function returning
16654 a GDB value.
16655
166562009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
16657
16658 * gdb.python/python-function.exp: New file.
16659
166602009-03-20 Tom Tromey <tromey@redhat.com>
16661
16662 * gdb.base/store.exp: Update for change to escape output.
16663 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
16664 to escape output.
16665 * gdb.base/pointers.exp: Update for change to escape output.
16666 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
16667 to escape output.
16668 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
16669 escape output.
16670 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
16671 to escape output.
16672 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
16673 escape output.
16674 * gdb.base/setvar.exp: Update for change to escape output.
16675 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
16676 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
16677 to escape output.
16678 (test_print_string_constants): Likewise.
16679 * gdb.base/charset.exp (valid_host_charset): Check size of
16680 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
16681 cases. Handle "auto"-related output.
16682 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
16683 (uvar, Uvar): New globals.
16684
166852009-03-19 Jerome Guitton <guitton@adacore.com>
16686
16687 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
16688 deltas.
16689 * gdb.ada/fixed_points.exp: Ditto.
16690
166912009-03-18 Pedro Alves <pedro@codesourcery.com>
16692
16693 * return-nodebug.c: Don't include stdio.h.
16694 (init): Delete.
16695 (func): Delete definition and provide extern declaration.
16696 (t): New.
16697 (main): Don't call printf. Call func and store its result in t.
16698 * return-nodebug1.c: New.
16699 * return-nodebug.exp: Don't expect stdio output. Instead, print
16700 the global variable t. Drop printf formatters and cast types from
16701 foreach loop. Don't use prepare_for_testing. Compile
16702 return-nodebug.c and return-nodebug1.c in separate steps. Don't
16703 define FORMAT or CAST.
16704
167052009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
16706
16707 * gdb.base/solib-display.exp: Disable test for remote targers.
16708
167092009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
16710
16711 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
16712
167132009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
16714
16715 Fix a racy FAIL.
16716 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
16717 code from `follow parent, print pids'.
16718 (`follow child, print pids', `follow parent, print pids'): Call it.
16719 Replace `gdb_test "break..."' by gdb_breakpoint.
16720
167212009-03-13 Vladimir Prus <vladimir@codesourcery.com>
16722
16723 * gdb.mi/mi-cli.exp: Adjust for output difference in
16724 sync and async modes.
16725
167262009-03-12 Joel Brobecker <brobecker@adacore.com>
16727
16728 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
16729 that was checked in by mistake. Remove loading of ada.exp, since
16730 this is not necessary in this case.
16731
167322009-03-12 Joel Brobecker <brobecker@adacore.com>
16733
16734 * gdb.ada/ptype_arith_binop.exp: New testcase.
16735
167362009-03-12 Joel Brobecker <brobecker@adacore.com>
16737
16738 * gdb.ada/mod_from_name: New testcase.
16739
167402009-03-12 Joel Brobecker <brobecker@adacore.com>
16741
16742 * gdb.ada/tick_last_segv: New testcase.
16743
167442009-03-12 Vladimir Prus <vladimir@codesourcery.com>
16745
16746 * gdb.mi/mi-cli.exp: Remove debug print.
16747
167482009-03-12 Vladimir Prus <vladimir@codesourcery.com>
16749
16750 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
16751 include the token in ^running and frame info in *stopped.
16752
167532009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16754
16755 * solib-display.exp: New file.
16756 * solib-display-main.c: New file.
16757 * solib-display-lib.c: New file.
16758
167592009-03-05 Pedro Alves <pedro@codesourcery.com>
16760
16761 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
16762
167632009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
16764
16765 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
16766 (list_and_check_macro): Use more specific test name.
16767 (next to definition): Make the test names unique.
16768
167692009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
16770
16771 * gdb.pascal/floats.exp: Accept approximate results everywhere.
16772
167732009-02-17 Vladimir Prus <vladimir@codesourcery.com>
16774
16775 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
16776 notifications.
16777 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
16778 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
16779 * lib/mi-support.exp (library_loaded_re): New.
16780 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
16781
167822009-02-17 Vladimir Prus <vladimir@codesourcery.com>
16783
16784 * gdb.gdb/observer.exp: Use test_notification observer, not
16785 normal_stop, everywhere.
16786 (test_normal_stop_notifications): Rename to...
16787 (test_notifications): ...this.
16788 (test_observer_normal_stop): Rename to...
16789 (test_observer): ...this.
16790
167912009-02-16 Doug Evans <dje@google.com>
16792
16793 * gdb.arch/amd64-disp-step.S (test_int3): New test.
16794 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
16795 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
16796 (test_prefixed_syscall,test_int3): New tests.
16797 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
16798 (test_prefixed_syscall,test_int3): New tests.
16799
168002009-02-14 Vladimir Prus <vladimir@codesourcery.com>
16801
16802 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
16803 (mi_expect_interrupt): Likewise.
16804 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
16805 response.
16806
168072009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
16808
16809 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
16810 * gdb.base/pc-fp.exp (get_valueofx): Remove.
16811 Replace calls to get_valueofx by get_hexadecimal_valueof.
16812
168132009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
16814
16815 * lib/gdb.exp (get_valueof): Accept anything as a return value.
16816 (get_integer_valueof): New procedure.
16817 (get_sizeof): Use new get_integer_value_of.
16818 * gdb.base/sizeof.exp: Replace all uses of get_valueof
16819 by get_integer_valueof.
16820
168212009-02-13 Tom Tromey <tromey@redhat.com>
16822
16823 * gdb.base/remote.exp (get_sizeof): Remove.
16824 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
16825 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
16826 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
16827 * lib/gdb.exp (get_valueof): Move from long_long.exp.
16828 (get_sizeof): Likewise.
16829
168302009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16831
16832 PR fortran/9806
16833 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
16834
168352009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16836
16837 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
16838
168392009-02-06 Pedro Alves <pedro@codesourcery.com>
16840
16841 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
16842
168432009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
16844
16845 * gdb.python/python-cmd.exp: New file.
16846
168472009-02-06 Tristan Gingold <gingold@adacore.com>
16848
16849 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
16850
168512009-02-05 Tristan Gingold <gingold@adacore.com>
16852
16853 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
16854 pointer is dereferenced and use this signal name in regexp.
16855 * gdb.base/signull.exp: Ditto.
16856 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
16857 * gdb.base/signull.c (main): Ditto.
16858
168592009-02-04 Tom Tromey <tromey@redhat.com>
16860 Thiago Jung Bauermann <bauerman@br.ibm.com>
16861
16862 * gdb.python/python-value.exp: Use `gdb.history' instead of
16863 `gdb.value_from_history'.
16864 (test_value_numeric_ops): Add test for conversion of enum constant.
16865 * gdb.python/python-value.c (enum e): New type.
16866 (evalue): New global.
16867 (main): Use argv.
16868
168692009-02-04 Jerome Guitton <guitton@adacore.com>
16870
16871 * gdb.ada/uninitialized_vars: New test program.
16872 * gdb.ada/uninitialized_vars.exp: New testcase.
16873
168742009-02-02 Tom Tromey <tromey@redhat.com>
16875
16876 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
16877 * gdb.cp/pr2489.cc: Rename...
16878 * gdb.cp/pr9594.cc: ... to this.
16879
168802009-02-02 Tom Tromey <tromey@redhat.com>
16881
16882 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
16883 * gdb.cp/pr2489.cc: New file.
16884 * gdb.cp/cpcompletion.exp: New file.
16885
168862009-02-02 Tom Tromey <tromey@redhat.com>
16887
16888 PR exp/9059:
16889 * gdb.cp/call-c.exp: Add regression test.
16890 * gdb.cp/call-c.cc (FooHandle): New typedef.
16891 (main): New variable 'handle'.
16892
168932009-01-30 Vladimir Prus <vladimir@codesourcery.com>
16894
16895 * lib/mi-support.exp (et_mi_thread_list)
16896 (check_mi_and_console_threads): Adjust for current thread in
16897 -thread-list-ids output.
16898
168992009-01-30 Vladimir Prus <vladimir@codesourcery.com>
16900
16901 * gdb.mi/mi-break.exp (test_disabled_creation): New.
16902 Call it.
16903
169042009-01-28 Doug Evans <dje@google.com>
16905
16906 * gdb.arch/amd64-disp-step.S: New file.
16907 * gdb.arch/amd64-disp-step.exp: New file.
16908 * gdb.arch/i386-disp-step.S: New file.
16909 * gdb.arch/i386-disp-step.exp: New file.
16910
169112009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
16912
16913 * gdb.base/find.exp: Set newline variable
16914 using quotes instead of braces to fix cygwin failures.
16915
169162009-01-23 Pedro Alves <pedro@codesourcery.com>
16917
16918 * gdb.base/radix.exp: Add tests to ensure that that set
16919 input-radix 0 and set output-radix 0 are really rejected.
16920
169212009-01-23 Pedro Alves <pedro@codesourcery.com>
16922
16923 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
16924 copyright years.
16925
169262009-01-23 Pedro Alves <pedro@codesourcery.com>
16927
16928 PR gdb/9664:
16929 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
16930
169312009-01-22 Pedro Alves <pedro@codesourcery.com>
16932
16933 PR c++/9631:
16934 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
16935
169362009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
16937
16938 * gdb.server/file-transfer.exp: Use EXEEXT variable for
16939 binfile definition to fix Windows OS failure.
16940
169412009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
16942
16943 PR gdb/9346
16944 * gdb.base/interrupt.c (sigint_handler): New.
16945 (main): Install a SIGINT handler if SIGNALS is defined. Exit
16946 on error.
16947 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
16948 Test "signal SIGINT".
16949
169502009-01-19 Doug Evans <dje@google.com>
16951
16952 * gdb.base/break.exp: Update expected gdb output.
16953 * gdb.base/sepdebug.exp: Ditto.
16954 * gdb.mi/mi-syn-frame.exp: Ditto.
16955 * gdb.mi/mi2-syn-frame.exp: Ditto.
16956 * gdb.base/call-signal-resume.exp: New file.
16957 * gdb.base/call-signals.c: New file.
16958 * gdb.base/unwindonsignal.exp: New file.
16959 * gdb.base/unwindonsignal.c: New file.
16960 * gdb.threads/interrupted-hand-call.exp: New file.
16961 * gdb.threads/interrupted-hand-call.c: New file.
16962 * gdb.threads/thread-unwindonsignal.exp: New file.
16963
169642009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
16965
16966 * gdb.base/define.exp: Test defining and hooking prefix commands.
16967 * gdb.python/python.exp: Update test for "show user" output.
16968
169692009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
16970
16971 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
16972 now the output exactly, using less wildcards. Expect also the output
16973 of gfortran-4.3. Update for the f-valprint.c modification from
16974 2008-04-22.
16975 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
16976 Remove gdb_test test names where matching the command.
16977
169782009-01-01 Pedro Alves <pedro@codesourcery.com>
16979
16980 PR breakpoints/9681:
16981 * gdb.base/watchpoint.exp: Add regression test.
16982
169832008-12-31 Pedro Alves <pedro@codesourcery.com>
16984
16985 * gdb.threads/attach-into-signal.exp: Don't use
16986 gdb_suppress_entire_file.
16987 * gdb.threads/attach-stopped.exp: Ditto.
16988 * gdb.threads/attachstop-mt.exp: Ditto.
16989
169902008-12-31 Pedro Alves <pedro@codesourcery.com>
16991
16992 PR gdb/8812:
16993 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
16994
169952008-12-29 Pedro Alves <pedro@codesourcery.com>
16996
16997 PR gdb/7536:
16998 * gdb.base/radix.exp: Add tests to ensure invalid input radices
16999 and unsupported output radices are really rejected.
17000
170012008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
17002
17003 * gdb.cp/punctuator.exp: Backslash the '$' signs.
17004
170052008-12-22 Tom Tromey <tromey@redhat.com>
17006
17007 * gdb.cp/punctuator.exp: New file.
17008
170092008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
17010
17011 * gdb.base/completion.exp (Completing non-existing component): New test.
17012
170132008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
17014
17015 Fix for PR gdb/8648.
17016 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
17017 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
17018 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
17019 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
17020
170212008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
17022
17023 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
17024
170252008-12-16 Christophe Lyon <christophe.lyon@st.com>
17026
17027 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
17028 compiler actually generate code at the expected line number.
17029
170302008-12-15 Jie Zhang <jie.zhang@analog.com>
17031
17032 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
17033
170342008-12-12 Tom Tromey <tromey@redhat.com>
17035
17036 * gdb.base/commands.exp (redefine_hook_test): New proc.
17037 Call it.
17038
170392008-12-11 Tom Tromey <tromey@redhat.com>
17040
17041 * gdb.base/macscp.exp: New regression test.
17042
170432008-12-11 Tom Tromey <tromey@redhat.com>
17044
17045 * gdb.base/macscp.exp: Print "address.addr".
17046 * gdb.base/macscp1.c (struct outer): New struct.
17047 (address): New global.
17048
170492008-12-09 Tom Tromey <tromey@redhat.com>
17050
17051 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
17052 Call it.
17053
170542008-12-04 Doug Evans <dje@google.com>
17055
17056 * gdb.server/ext-run.exp: Relax regexp for init program.
17057
170582008-12-03 Tristan Gingold <gingold@adacore.com>
17059
17060 * gdb.base/macscp.exp: Generate an object file during compilation
17061 to work around Darwin dsymutil limitations.
17062
170632008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
17064
17065 Test resolving external references to TLS variables.
17066 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
17067 FILE2_THREAD_LOCAL.
17068 (testfile2, srcfile2): New variables.
17069 * gdb.threads/tls.c (file2_thread_local)
17070 (function_referencing_file2_thread_local): New.
17071 * gdb.threads/tls2.c: New file.
17072
170732008-11-28 Joel Brobecker <brobecker@adacore.com>
17074
17075 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
17076 rather than integer, as integer might not be big enough when
17077 on 64bit targets.
17078
170792008-11-27 Jerome Guitton <guitton@adacore.com>
17080
17081 * gdb.cp/formatted-ref.exp: Add equality test.
17082 * gdb.ada/formatted_ref.exp: Ditto.
17083
170842008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17085
17086 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
17087 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
17088
170892008-11-20 Andreas Schwab <schwab@suse.de>
17090
17091 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
17092 matching syscall entry point.
17093 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
17094 (tcatch_vfork_then_child_follow): Likewise. Finish through
17095 vfork even if we stopped at the syscall trampoline.
17096
170972008-11-20 Doug Evans <dje@google.com>
17098
17099 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
17100
171012008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
17102
17103 * gdb.arch/ppc-dfp.exp: New file.
17104 * gdb.arch/ppc-dfp.c: New file.
17105
171062008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
17107
17108 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
17109
171102008-11-17 Doug Evans <dje@google.com>
17111
17112 * gdb.mi/mi-syn-frame.exp: Update expected output.
17113 * gdb.mi/mi2-syn-frame.exp: Update expected output.
17114
171152008-11-17 Vladimir Prus <vladimir@codesourcery.com>
17116
17117 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
17118 "thread N" results in =thread-selected.
17119 * lib/mi-support (mi_run_cmd, mi_expect_stop)
17120 (mi_send_resuming_command_raw): Be prepared for
17121 =thread-selected.
17122
171232008-11-17 Vladimir Prus <vladimir@codesourcery.com>
17124
17125 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
17126 * lib/mi-support.exp: Likewise.
17127
171282008-11-16 Joel Brobecker <brobecker@adacore.com>
17129
17130 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
17131 commands from the expected output for "help catch".
17132
171332008-11-15 Joel Brobecker <brobecker@adacore.com>
17134
17135 * gdb.ada/int_deref.exp: New testcase.
17136
171372008-11-14 Nick Roberts <nickrob@snap.net.nz>
17138
17139 * gdb.mi/gdb2549.exp: New file.
17140
171412008-11-11 Doug Evans <dje@google.com>
17142
17143 * gdb.base/callexit.exp: New file.
17144 * gdb.base/callexit.c: New file.
17145
171462008-11-10 Doug Evans <dje@google.com>
17147
17148 * lib/gdb.exp (GDBFLAGS): Move -nx ...
17149 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
17150 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
17151 (default_gdb_start,default_gdb_exit): Ditto.
17152 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
17153 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
17154 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
17155 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
17156 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
17157 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
17158
171592008-11-03 Andreas Schwab <schwab@suse.de>
17160
17161 * gdb.base/hashline2.exp: Fix typo.
17162 * gdb.base/hashline3.exp: Likewise.
17163
171642008-10-30 Tom Tromey <tromey@redhat.com>
17165
17166 * gdb.base/pointers.exp: Add test.
17167 * gdb.base/pointers.c (k, S): New typedefs.
17168 (instance): New global.
17169
171702008-10-30 Andreas Schwab <schwab@suse.de>
17171
17172 * gdb.base/args.exp: Add tests for newlines.
17173
171742008-10-30 Joel Brobecker <brobecker@adacore.com>
17175
17176 gdb.base/foll-exec.exp: Update the expected output of a couple
17177 of "info breakpoints" tests.
17178
171792008-10-28 Tom Tromey <tromey@redhat.com>
17180
17181 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
17182
171832008-10-24 Pedro Alves <pedro@codesourcery.com>
17184
17185 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
17186 gdb_start_cmd.
17187 Use runto_main before any test that requires execution.
17188
171892008-10-23 Pedro Alves <pedro@codesourcery.com>
17190
17191 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
17192 instead of SIGINT.
17193
171942008-10-22 Joel Brobecker <brobecker@adacore.com>
17195
17196 * gdb.base/completion.exp: Update expected output following
17197 the addition of the "info tasks" command.
17198
171992008-10-22 Tom Tromey <tromey@redhat.com>
17200
17201 * gdb.base/exprs.exp (test_expr): Add test for string
17202 concatenation.
17203
172042008-10-19 Pedro Alves <pedro@codesourcery.com>
17205
17206 * configure.ac: Output gdb.python/Makefile.
17207 * configure: Regenerate.
17208 * gdb.python/Makefile.in: New.
17209
172102008-10-16 Joel Brobecker <brobecker@adacore.com>
17211
17212 * gdb.base/foll-fork.exp: Adjust the expected output to match
17213 the new description for fork/vfork catchpoints in the "info
17214 breakpoints" output.
17215
172162008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
17217
17218 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
17219
172202008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
17221
17222 * gdb.python/python-value.c: New file.
17223 * gdb.python/python-value.exp: New file.
17224
172252008-10-15 Pedro Alves <pedro@codesourcery.com>
17226
17227 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
17228
172292008-10-15 Denis Pilat <denis.pilat@st.com>
17230
17231 * gdb.cp/mb-ctor.exp: Fix a typo.
17232
172332008-10-09 Tom Tromey <tromey@redhat.com>
17234
17235 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
17236 'fprintf' and 'stderr'.
17237
172382008-10-07 Joel Brobecker <brobecker@adacore.com>
17239
17240 * gdb.ada/ref_tick_size.exp: New testcase.
17241
172422008-10-06 Doug Evans <dje@google.com>
17243
17244 * gdb.dwarf2/dw2-cu-size.exp: New file.
17245 * gdb.dwarf2/dw2-cu-size.S: New file.
17246
17247 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
17248 .Ltype_int for clarity.
17249
172502008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
17251
17252 PR gdb/2384:
17253 * gdb.cp/gdb2384.exp: Extended to test more cases.
17254 * gdb.cp/gdb2384.cc: Likewise.
17255 * gdb.cp/gdb2384-base.h: Likewise.
17256 * gdb.cp/gdb2384-base.cc: Likewise.
17257
172582008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
17259
17260 * gdb.base/maint.exp (maint print type): Remove printing
17261 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
17262
172632008-09-30 Tom Tromey <tromey@redhat.com>
17264
17265 * gdb.base/macscp.exp: Add completion tests.
17266 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
17267 (TWENTY_THREE): Likewise.
17268 (FORTY_EIGHT): Likewise.
17269
172702008-09-30 Tom Tromey <tromey@redhat.com>
17271
17272 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
17273 everywhere.
17274 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
17275
172762008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
17277
17278 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
17279 testcase is derived from. Fix racy dependency on an expected PID
17280 number. No longer support the testcase on Linux kernel 2.4.x.
17281
172822008-09-27 Tom Tromey <tromey@redhat.com>
17283
17284 * gdb.base/macscp.exp: Add tests for stringification, splicing,
17285 and varargs.
17286
172872008-09-22 Pedro Alves <pedro@codesourcery.com>
17288
17289 * lib/mi-support.exp (mi_expect_interrupt): New.
17290 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
17291 from gdb.mi/mi-nonstop.exp.
17292 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
17293 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
17294 lib/mi-support.exp.
17295 Use mi_check_thread_states throughout. Avoid ".*" and do not
17296 require an anchor after -exec-run.
17297
172982008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
17299
17300 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
17301 stop is pending. Avoid ".*" when two stops are pending.
17302 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
17303 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
17304 newlines in fullnames.
17305 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
17306 (mi_expect_stop): Update comments. Only anchor in sync mode.
17307 Do not match newlines.
17308 (mi_send_resuming_command_raw): Always return status.
17309 (mi_get_stop_line): Do not match more than one line by accident.
17310 Only anchor in sync mode.
17311 (mi_run_inline_test): If -exec-next fails, give up.
17312
173132008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17314
17315 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
17316 on SPU.
17317
173182008-09-10 Joel Brobecker <brobecker@adacore.com>
17319
17320 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
17321
173222008-09-10 Joel Brobecker <brobecker@adacore.com>
17323
17324 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
17325 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
17326 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
17327 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
17328 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
17329 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
17330 gdb.ada/interface.exp, gdb.ada/null_array.exp,
17331 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
17332 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
17333 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
17334 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
17335 Include the "= " sequence in the expected output of print tests.
17336
173372008-09-10 Joel Brobecker <brobecker@adacore.com>
17338
17339 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
17340 description for boolean types.
17341
173422008-09-09 Pedro Alves <pedro@codesourcery.com>
17343
17344 * gdb.base/hook-stop-continue.c: New.
17345 * gdb.base/hook-stop-continue.exp: New.
17346
173472008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
17348
17349 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
17350
173512008-09-08 Jerome Guitton <guitton@adacore.com>
17352
17353 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
17354 (stack_check_probe_2, stack_check_probe_loop_1)
17355 (stack_check_probe_loop_2): New functions.
17356 (main): Add call to these new functions.
17357 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
17358 functions, check that the breakpoint is inserted at the appropriate
17359 location.
17360 (insert_breakpoint): Slightly refine this procedure so that it can
17361 be called several times in the test.
17362
173632008-09-08 Jerome Guitton <guitton@adacore.com>
17364
17365 * gdb.base/stack-checking.c: New file.
17366 * gdb.base/stack-checking.exp: New file.
17367
173682008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
17369
17370 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
17371 * gdb.arch/altivec-regs.exp: Likewise.
17372 * gdb.arch/vsx-regs.exp: Likewise.
17373
173742008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
17375
17376 * gdb.arch/ppc-fp.exp: New file.
17377 * gdb.arch/ppc-fp.c: New file.
17378
173792008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17380
17381 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
17382 lest gcc-4.3.1 optimizes the whole thing away.
17383
173842008-09-04 Michael Snyder <msnyder@vmware.com>
17385
17386 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
17387 as "at" (for non-debug functions such as _start).
17388
173892008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17390
17391 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
17392 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
17393 software watchpoints.
17394 * gdb.base/watch_thread_num.exp: Likewise.
17395
173962008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
17397
17398 * gdb.arch/i386-bp_permanent.exp: New test.
17399
174002008-08-24 Tom Tromey <tromey@redhat.com>
17401
17402 * gdb.base/maint.exp: Update "maint print type".
17403
174042008-08-21 Vladimir Prus <vladimir@codesourcery.com>
17405
17406 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
17407 support. Adjust the order of "*running" notifications.
17408 * gdb.mi/non-stop.c: Don't cast from int to void* and
17409 back.
17410
174112008-08-20 Mark Kettenis <kettenis@gnu.org>
17412
17413 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
17414 expect to find it in the "info frame" output.
17415
174162008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
17417
17418 * gdb.base/interp.exp: Always consume both prompts.
17419
174202008-08-20 Pedro Alves <pedro@codesourcery.com>
17421
17422 * gdb.base/pending.exp: Test pending breakpoints without symbols
17423 loaded.
17424
174252008-08-19 Vladimir Prus <vladimir@codesourcery.com>
17426
17427 * lib/mi-support.exp (mi_expect_stop): Produce
17428 more details on failures.
17429 * gdb.mi/mi-nonstop.exp: New.
17430 * gdb.mi/non-stop.c: New.
17431
174322008-08-19 Vladimir Prus <vladimir@codesourcery.com>
17433
17434 * gdb.mi/mi-async.exp: Use 'set target-async'.
17435 * lib/mi-support.exp: Use 'set/show target-async'.
17436
174372008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
17438
17439 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
17440
174412008-08-17 Tom Tromey <tromey@redhat.com>
17442
17443 * gdb.base/help.exp (help catch): Rewrite.
17444
174452008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
17446
17447 * gdb.base/define.exp: Test indented command documentation.
17448 * gdb.python/python.exp: Test indented multi-line command.
17449
174502008-08-15 Luis Machado <luisgpm@br.ibm.com>
17451
17452 * testsuite/gdb.arch/vsx-regs.c: New source file.
17453 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
17454 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
17455
174562008-08-14 Tom Tromey <tromey@redhat.com>
17457
17458 * gdb.base/macscp.exp: Add regression test for "macro define" or
17459 "macro undef" with no arguments.
17460
174612008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
17462
17463 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
17464
174652008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17466
17467 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
17468
174692008-08-06 Tom Tromey <tromey@redhat.com>
17470
17471 * gdb.python/python.exp: New file.
17472
174732008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
17474
17475 Fix for PR gdb/1543.
17476 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
17477 $LOCATION.
17478 (location): New variable.
17479 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
17480 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
17481 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
17482 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
17483 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
17484 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
17485 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
17486 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
17487 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
17488 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
17489 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
17490 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
17491 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
17492 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
17493 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
17494 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
17495 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
17496 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
17497 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
17498 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
17499 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
17500 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
17501 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
17502 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
17503 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
17504 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
17505 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
17506 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
17507 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
17508 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
17509 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
17510 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
17511 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
17512 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
17513 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
17514 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
17515 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
17516 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
17517 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
17518 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
17519 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
17520 gdb.base/type-opaque.exp, gdb.base/until.exp,
17521 gdb.base/value-double-free.c, gdb.base/varargs.exp,
17522 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
17523 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
17524 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
17525 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
17526 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
17527 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
17528 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
17529 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
17530 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
17531 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
17532 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
17533 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
17534 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
17535 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
17536 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
17537 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
17538 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
17539 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
17540 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
17541 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
17542 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
17543 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
17544 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
17545 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
17546 gdb.pascal/types.exp, gdb.stabs/weird.exp,
17547 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
17548 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
17549 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
17550 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
17551 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
17552 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
17553 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
17554 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
17555 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
17556 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
17557 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
17558 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
17559 lib/mi-support.exp, lib/trace-support.exp: Remove reference
17560 to bug-gdb@prep.ai.mit.edu .
17561
175622008-07-31 Vladimir Prus <vladimir@codesourcery.com>
17563
17564 * lib/mi-support.exp (mi_load_shlibs): New.
17565 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
17566
175672008-07-30 Vladimir Prus <vladimir@codesourcery.com>
17568
17569 * lib/mi-support.exp (get_mi_thread_list)
17570 (check_mi_and_console_threads): New, moved from ...
17571 * gdb.mi/mi-pthread.exp: ...here.
17572 * gdb.mi/gdb669.exp (get_mi_thread_list)
17573 (check_mi_and_console_threads): Delete.
17574 * gdb.mi/mi2-pthread.exp: Likewise.
17575
175762008-07-28 Tom Tromey <tromey@redhat.com>
17577
17578 * Makefile.in (just-check): Remove. Move body to...
17579 (check): ... here.
17580
175812008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
17582
17583 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
17584 Add a test for duplicated SIGINTs.
17585
175862008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
17587
17588 * gdb.threads/schedlock.exp (get_args): Update to work for any
17589 value of NUM.
17590 (Top level): Report the number of threads that did not resume.
17591
175922008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
17593
17594 * gdb.dwarf2/dw2-compressed.S: Also define __start.
17595
175962008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
17597
17598 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
17599 non-MI prompt.
17600
176012008-07-26 Tom Tromey <tromey@redhat.com>
17602
17603 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
17604 (function_struct, function_struct_ptr): New globals.
17605 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
17606 function pointer in a struct.
17607
176082008-07-26 Tom Tromey <tromey@redhat.com>
17609
17610 * gdb.base/macscp.exp: Add test for macro lexing bug.
17611
176122008-07-18 Tom Tromey <tromey@redhat.com>
17613
17614 * gdb.base/macscp.exp: Add macro tests.
17615
176162008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
17617
17618 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
17619
176202008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
17621
17622 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
17623
176242008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
17625
17626 * gdb.cp/class2.exp: fix for failure on spu-elf
17627
176282008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
17629
17630 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
17631
176322008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
17633
17634 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
17635
176362008-07-12 Vladimir Prus <vladimir@codesourcery.com>
17637
17638 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
17639
176402008-07-11 Kevin Buettner <kevinb@redhat.com>
17641
17642 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
17643 of regexp to account for changes made to GDB in the printing of
17644 byte vectors.
17645
176462008-07-11 Tom Tromey <tromey@redhat.com>
17647
17648 * gdb.base/completion.exp: Add 'help' completion test.
17649
176502008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
17651
17652 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
17653
176542008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
17655
17656 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
17657
176582008-07-09 Pedro Alves <pedro@codesourcery.com>
17659
17660 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
17661
176622008-07-09 Pedro Alves <pedro@codesourcery.com>
17663
17664 * gdb.base/fullname.exp: Restore pwd if compiling failed.
17665
176662008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
17667
17668 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
17669
176702008-06-28 Vladimir Prus <vladimir@codesourcery.com>
17671
17672 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
17673 previous commit. Add a comment.
17674
176752008-06-28 Pedro Alves <pedro@codesourcery.com>
17676
17677 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
17678
176792008-06-28 Vladimir Prus <vladimir@codesourcery.com>
17680
17681 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
17682
176832008-06-27 Pedro Alves <pedro@codesourcery.com>
17684
17685 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
17686 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
17687 compiling an executable, link in an object that forces unbuffered
17688 output.
17689 * lib/set_unbuffered_mode.c: New file.
17690
176912008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17692
17693 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
17694
176952008-06-25 Vladimir Prus <vladimir@codesourcery.com>
17696
17697 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
17698 mi_expect_stop.
17699 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
17700 Demand that *running is output.
17701 (detect_async): Perform checking every time.
17702 (mi_send_resuming_command): Extract everything into...
17703 (mi_send_resuming_command_raw): ...this.
17704 (mi_expect_stop): Don't accept any output before *stopped.
17705
177062008-06-13 Vladimir Prus <vladimir@codesourcery.com>
17707
17708 Robustify mi-simplerun.
17709 * gdb.mi/basics.c (main): Add a call to sleep.
17710 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
17711 * gdb.mi/mi2-cli.exp: Likewise.
17712 * gdb.mi/mi-break.exp: Likewise.
17713
177142008-06-11 Vladimir Prus <vladimir@codesourcery.com>
17715
17716 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
17717
177182008-06-10 Vladimir Prus <vladimir@codesourcery.com>
17719
17720 * gdb.mi/mi-console.exp: Adjust.
17721 * gdb.mi/mi-syn-frame.exp: Adjust.
17722 * gdb.mi/mi2-console.exp: Adjust.
17723 * gdb.mi/mi2-syn-frame.exp: Adjust.
17724 * lib/mi-support.exp (mi_run_cmd): Adjust.
17725 (mi_send_resuming_command): Adjust.
17726
177272008-06-10 Vladimir Prus <vladimir@codesourcery.com>
17728
17729 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
17730 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
17731 testing of stopped.
17732 * gdb.mi/mi2-syn-frame.exp: Likewise.
17733 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
17734 (async, detect_async): New.
17735 (mi_expect_stop, mi_continue_to_line): Adjust expectation
17736 depending on if we're running in sync or async mode.
17737
177382008-06-09 Tom Tromey <tromey@redhat.com>
17739
17740 * gdb.base/completion.exp: New tests for field name completion
17741 with spaces, and field name completion with '->'.
17742
177432008-06-06 Tom Tromey <tromey@redhat.com>
17744
17745 * gdb.base/break1.c (struct some_struct): New struct.
17746 (values): New global.
17747 * gdb.base/completion.exp: Add field name completion test.
17748
177492008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17750
17751 * gdb.cp/call-c.exp: Test for incorrect handling of reference
17752 to pointer.
17753 * gdb.cp/call-c.cc: Likewise.
17754
177552008-06-06 Nick Roberts <nickrob@snap.net.nz>
17756
17757 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
17758 annotation.
17759
177602008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17761 Pedro Alves <pedro@codesourcery.com>
17762
17763 * gdb.threads/execl.c, gdb.threads/execl1.c,
17764 gdb.threads/execl.exp: New tests.
17765
177662008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
17767 Daniel Jacobowitz <dan@codesourcery.com>
17768
17769 * gdb.cp/exception.exp: Activate test, make it work with pending
17770 catchpoints.
17771
177722008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
17773
17774 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
17775
177762008-05-28 Vladimir Prus <vladimir@codesourcery.com>
17777
17778 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
17779 now printed.
17780 * gdb.mi/mi2-var-cmd.exp: Likewise.
17781
177822008-05-27 Andreas Schwab <schwab@suse.de>
17783
17784 * gdb.base/frame-args.exp: Handle arguments that are optimized
17785 out.
17786
177872008-05-26 Luis Machado <luisgpm@br.ibm.com>
17788
17789 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
17790 quiet for ppc32 and group options into a single variable.
17791
177922008-05-23 Joel Brobecker <brobecker@adacore.com>
17793
17794 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
17795 of zero-size elements.
17796 * gdb.ada/null_array.exp: Test printing this new array.
17797
177982008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
17799
17800 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
17801
178022008-05-21 Joel Brobecker <brobecker@adacore.com>
17803
17804 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
17805 of the "finish" command.
17806
178072008-05-21 Nick Roberts <nickrob@snap.net.nz>
17808
17809 * gdb.base/annota1.exp: Test for new annotation.
17810
178112008-05-16 Pedro Alves <pedro@codesourcery.com>
17812
17813 * gdb.base/fixsection.exp: New file.
17814 * gdb.base/fixsection0.c: New file.
17815 * gdb.base/fixsection1.c: New file.
17816
178172008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17818
17819 * gdb.base/annota1.exp: Accept printf@... in place of printf.
17820 * gdb.base/annota3.exp: Likewise.
17821
178222008-05-13 Nathan Froyd <froydnj@codesourcery.com>
17823
17824 * gdb.base/watch_thread_num.exp: Don't run tests that require
17825 watchpoints if the target doesn't support them.
17826
178272008-05-12 Doug Evans <dje@google.com>
17828
17829 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
17830
178312008-05-09 Joel Brobecker <brobecker@adacore.com>
17832
17833 * gdb.ada/assign_1.exp: New testcase.
17834
178352008-05-09 Doug Evans <dje@google.com>
17836
17837 * gdb.base/find.exp: New file.
17838 * gdb.base/find.c: New file.
17839
178402008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
17841
17842 * gdb.base/commands.exp (watchpoint_command_test): Handle
17843 gdb,no_hardware_watchpoints.
17844 * gdb.base/float.exp: Allow ARM targets without floating point.
17845 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
17846
178472008-05-06 Jerome Guitton <guitton@adacore.com>
17848 Joel Brobecker <brobecker@adacore.com>
17849
17850 * gdb.ada/lang_switch: New test program.
17851 * gdb.ada/lang_switch.exp: New testcase.
17852
178532008-05-05 Doug Evans <dje@google.com>
17854
17855 * gdb.base/help.exp (disassemble): Update expected help text.
17856
178572008-05-04 Pedro Alves <pedro@codesourcery.com>
17858
17859 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
17860
178612008-05-04 Pedro Alves <pedro@codesourcery.com>
17862
17863 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
17864 different times.
17865
178662008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
17867
17868 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
17869 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
17870 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
17871 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
17872
178732008-05-04 Vladimir Prus <vladimir@codesourcery.com>
17874
17875 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
17876 notification to appear.
17877
178782008-05-04 Daniel Jacobowitz <dan@debian.org>
17879
17880 * gdb.base/fullname.c: New file.
17881 * gdb.base/fullname.exp: New file.
17882 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
17883
178842008-05-03 Pedro Alves <pedro@codesourcery.com>
17885
17886 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
17887 expressions with macros.
17888
178892008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
17890
17891 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
17892
178932008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
17894
17895 * gdb.base/completion.exp: Handle lack of other symbols beginning
17896 with "a".
17897
17898 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
17899
179002008-05-02 Jim Blandy <jimb@codesourcery.com>
17901
17902 * gdb.asm/asmsrc1.s: Add scratch space.
17903
179042008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
17905 Daniel Jacobowitz <dan@codesourcery.com>
17906
17907 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
17908 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
17909 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
17910
179112007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
17912
17913 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
17914
179152008-05-01 Joel Brobecker <brobecker@adacore.com>
17916
17917 * gdb.base/info-target.exp: New testcase.
17918
179192008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
17920
17921 * gdb.cp/hang.exp: Use .cc instead of .C.
17922 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
17923 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
17924
179252008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
17926
17927 * gdb.base/gdb1250.exp: Remove perror.
17928 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
17929
179302008-04-30 Pedro Alves <pedro@codesourcery.com>
17931
17932 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
17933 .2byte.
17934
179352008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
17936
17937 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
17938 (maybe_kfail): New.
17939
179402008-04-25 Pedro Alves <pedro@codesourcery.com>
17941
17942 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
17943
179442008-04-24 Vladimir Prus <vladimir@codesourcery.com>
17945
17946 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
17947 * gdb.mi/mi2-syn-frame.exp: Likewise.
17948 * lib/mi-support.exp: Likewise.
17949
179502008-04-24 Vladimir Prus <vladimir@codesourcery.com>
17951
17952 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
17953 to specify regexp for the location to stop at.
17954 * gdb.base/break-always.c: New.
17955 * gdb.base/break-always.exp: New.
17956
179572008-04-24 Vladimir Prus <vladimir@codesourcery.com>
17958
17959 * lib/mi-support.exp (mi_runto_helper): Adjust
17960 for the original-location field.
17961 (mi_create_breakpoint, mi_list_breakpoints): New.
17962 * gdb.mi/mi-break.exp: Adjust.
17963 * gdb.mi/mi2-break.exp: Adjust.
17964 * gdb.mi/mi-pending.exp: Adjust.
17965 * gdb.mi/mi-simplerun.exp: Adjust.
17966 * gdb.mi/mi2-simplerun.exp: Adjust.
17967 * gdb.mi/mi-syn-frame.exp: Adjust.
17968 * gdb.mi/mi2-syn-frame.exp: Adjust.
17969 * gdb.mi/mi-until.exp: Adjust.
17970 * gdb.mi/mi2-until.exp: Adjust.
17971 * gdb.mi/mi-var-display.exp: Adjust.
17972 * gdb.mi/mi2-var-display.exp: Adjust.
17973 * gdb.mi/mi-watch.exp: Adjust.
17974 * gdb.mi/mi2-watch.exp: Adjust.
17975
179762008-04-23 Paolo Bonzini <bonzini@gnu.org>
17977
17978 * aclocal.m4: Add override.m4.
17979 * configure: Regenerate.
17980
179812008-04-19 Vladimir Prus <vladimir@codesourcery.com>
17982
17983 * gdb.mi/var-cmd.c (do_at_tests): Verify that
17984 '-var-update --all-values' reports new value even the type
17985 of a variable object has changed.
17986
179872008-04-18 Craig Silverstein <csilvers@google.com>
17988
17989 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
17990 files.
17991
179922008-04-18 Joel Brobecker <brobecker@adacore.com>
17993
17994 * gdb.ada/atomic_enum: New test program.
17995 * gdb.ada/atomic_enum.exp: New testcase.
17996
179972008-04-17 Doug Evans <dje@google.com>
17998
17999 * gdb.opt/Makefile.in: Fix whitespace.
18000
180012008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
18002
18003 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
18004
180052008-04-17 Doug Evans <dje@google.com>
18006
18007 * gdb.base/hashline1.exp: New testcase.
18008 * gdb.base/hashline2.exp: New testcase.
18009 * gdb.base/hashline2.exp: New testcase.
18010
180112008-04-17 Pedro Alves <pedro@codesourcery.com>
18012
18013 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
18014
180152008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
18016
18017 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
18018 temporary breakpoint to match "Temporary breakpoint".
18019 * gdb.base/break.exp (delete_breakpoints): Likewise.
18020 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
18021 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
18022 * gdb.base/display.exp: Likewise.
18023 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
18024 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
18025 * gdb.base/restore.exp (restore_tests): Likewise.
18026 * gdb.base/sepdebug.exp: Likewise.
18027 * gdb.base/watchpoint.exp: Likewise.
18028 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
18029 * gdb.mi/mi-pending.exp: Likewise.
18030 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
18031 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
18032 * gdb.mi/mi-var-cmd.exp: Likewise.
18033 * gdb.mi/mi-var-display.exp: Likewise.
18034 * gdb.mi/mi2-cli.exp: Likewise.
18035 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
18036 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
18037 * gdb.mi/mi2-var-display.exp: Likewise.
18038 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
18039 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
18040 new "disp" field.
18041 (mi_expect_stop): Move after_reason argument to be really after
18042 reason. This is to support fix for PR2424.
18043
180442008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
18045
18046 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
18047
180482008-04-13 Vladimir Prus <vladimir@codesourcery.com>
18049
18050 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
18051 field. Add more floating varobj tests.
18052 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
18053 field.
18054 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
18055 (main): Call do_at_tests.
18056 * lib/mi-support.exp (mi_create_floating_varobj)
18057 (mi_varobj_update_with_type_change): New.
18058
180592008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
18060
18061 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
18062 option of -var-evaluate-expression.
18063 * gdb.mi/mi2-var-display.exp: Likewise.
18064
180652008-04-07 Vladimir Prus <vladimir@codesourcery.com>
18066
18067 Introduce test setup helpers.
18068 * lib/gdb.exp (build_executable, clean_restart)
18069 (prepare_for_testing): New.
18070 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
18071 * gdb.base/return.exp: Likewise.
18072 * gdb.base/ending-run.exp: Likewise.
18073
180742008-04-07 Nick Roberts <nickrob@snap.net.nz>
18075
18076 * gdb.mi/mi-async.exp: New test for asynchronous Machine
18077 Interface (MI) responses.
18078
180792008-04-06 Vladimir Prus <vladimir@codesourcery.com>
18080
18081 * gdb.cp/breakpoint.cc: New code to test conditions involving
18082 member variables.
18083 * gdb.cp/breakpoint.exp: Test condition involving member
18084 variables.
18085
180862008-04-05 Vladimir Prus <vladimir@codesourcery.com>
18087
18088 * lib/mi-support.exp (mi_expect_stop): New.
18089 (mi_run_cmd): Change the
18090 token. Use mi_send_resuming_command, use
18091 mi_expect_stop.
18092 (mi_execute_to_helper): Rename to mi_execute_to.
18093 (mi_send_resuming_command): Add more error patterns.
18094 (mi_wait_for_stop): Renamed to...
18095 (mi_get_stop_line): ...this.
18096 (mi_run_inline_test): Adjust.
18097
18098 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
18099 * gdb.mi/mi-console.exp: Likewise.
18100 * gdb.mi/mi-pending.exp: Likewise.
18101 * gdb.mi/mi-simplerun.exp: Likewise.
18102 * gdb.mi/mi-stack.exp: Likewise.
18103 * gdb.mi/mi-stepi.exp: Likewise.
18104 * gdb.mi/mi-syn-frame.exp: Add comment.
18105 * gdb.mi/mi-until.exp: Likewise.
18106 * gdb.mi/mi-var-display.exp: Likewise.
18107 * gdb.mi/mi-watch.exp: Likewise.
18108 * gdb.mi/mi2-cli.exp: Likewise.
18109 * gdb.mi/mi2-console.exp: Likewise.
18110 * gdb.mi/mi2-simplerun.exp: Likewise.
18111 * gdb.mi/mi2-stack.exp: Likewise.
18112 * gdb.mi/mi2-stepi.exp: Likewise.
18113 * gdb.mi/mi2-until.exp: Likewise.
18114 * gdb.mi/mi2-var-display.exp: Likewise.
18115 * gdb.mi/mi2-watch.exp: Likewise.
18116
181172008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18118
18119 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
18120
18121 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
18122
181232008-04-04 Pedro Alves <pedro@codesourcery.com>
18124
18125 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
18126 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
18127 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
18128 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
18129 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
18130 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
18131 expect an mi error duplicated in stderr.
18132
181332008-04-03 Joel Brobecker <brobecker@adacore.com>
18134
18135 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
18136 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
18137 Add a couple of tests that verify the behavior when the new setting
18138 is set to "cancel" and "all".
18139 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
18140 "ask" before we start the testing.
18141
181422008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
18143
18144 * gdb.cp/casts.cc: Add class reference variables.
18145 * gdb.cp/casts.exp: New test cases for up/down casting references.
18146
181472008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
18148
18149 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
18150 instead of beginning to make an extra test pass.
18151 * gdb.mi/mi2-var-display.exp: Likewise.
18152
181532008-03-31 Maciej W. Rozycki <macro@mips.com>
18154
18155 * gdb.base/break.exp: Mark failures as such. Fix formatting.
18156
181572008-03-31 Markus Deuling <deuling@de.ibm.com>
18158 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18159
18160 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
18161 value. Add xfail for older kernels.
18162
181632008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
18164
18165 Bring mi-support in line with gdb.exp.
18166 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
18167 (mi_gdb_start): New function.
18168
181692008-03-28 Maciej W. Rozycki <macro@mips.com>
18170
18171 * gdb.mi/mi-var-cmd.exp: Fix a typo.
18172
181732008-03-26 Vladimir Prus <vladimir@codesourcery.com>
18174
18175 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
18176 * gdb.mi/mi2-var-display.exp: Likewise.
18177
181782008-03-26 Vladimir Prus <vladimir@codesourcery.com>
18179
18180 * lib/mi-support.exp (mi_create_varobj_checked): New.
18181 (mi_list_varobj_children): Allow to check for a
18182 value.
18183 (mi_list_array_varobj_children): New.
18184
18185 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
18186 and mi_list_varobj_children, as opposed to hardcoding
18187 expected strings.
18188 * gdb.mi/gdb701.exp: Likewise.
18189 * gdb.mi/gdb792.exp: Likewise.
18190 * gdb.mi/mi-var-block.exp: Likewise.
18191 * gdb.mi/mi-var-cmd.exp: Likewise.
18192 * gdb.mi/mi-var-invalidate.exp: Likewise.
18193 * gdb.mi/mi2-var-block.exp: Likewise.
18194 * gdb.mi/mi2-var-child.exp: Likewise.
18195 * gdb.mi/mi2-var-cmd.exp: Likewise.
18196 * gdb.mi/mi2-var-display.exp: Likewise.
18197
181982008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
18199
18200 Fix random false FAILs on i386.
18201 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
18202
182032008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
18204
18205 PR gdb/544
18206 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
18207
182082008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
18209
18210 PR gdb/544
18211 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
18212
182132008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
18214
18215 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
18216 fixed PR gdb/544.
18217
182182008-03-21 Pedro Alves <pedro@codesourcery.com>
18219
18220 * gdb.threads/fork-child-threads.exp: Test next over fork.
18221
182222008-03-21 Chris Demetriou <cgd@google.com>
18223
18224 * gdb.base/break.exp (rbreak junk): New test for rbreak
18225 "Junk at end of arguments" issue.
18226
182272008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
18228
18229 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
18230 *& to work on created array elements.
18231 (Top level): Test print $pc with a file. Test string operations
18232 without a target.
18233 * gdb.base/ptype.exp: Do not expect *& to work on created array
18234 elements.
18235
182362008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
18237
18238 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
18239 gdb.threads/staticthreads.exp: Update exit query.
18240
182412008-03-07 Sandra Loosemore <sandra@codesourcery.com>
18242
18243 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
18244
182452008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
18246
18247 * gdb.base/watchpoint.c (global_ptr, func4): New.
18248 (main): Call func4.
18249 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
18250 (test_inaccessible_watchpoint): New.
18251
182522008-02-29 Maciej W. Rozycki <macro@mips.com>
18253
18254 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
18255 select the largest.
18256
182572008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
18258
18259 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
18260 frames-invalid annotations.
18261
182622008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
18263
18264 * gdb.base/assign.exp: avoid same output for different tests.
18265
182662008-02-27 Doug Evans <dje@google.com>
18267
18268 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
18269 for bug 1738.
18270 (breakpoint_to_handler_entry): Ditto.
18271
182722008-02-27 Joel Brobecker <brobecker@adacore.com>
18273
18274 * gdb.base/ending-run.exp: Use the first line of code inside
18275 function body to test breakpoints.
18276 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
18277 location where the breakpoint is inserted when using the line
18278 where a function is declared. Fix typo in the description of
18279 one of the tests.
18280 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
18281
182822008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
18283
18284 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
18285 tests.
18286
182872008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
18288
18289 * gdb.base/args.exp: avoid same output for tests
18290 with single quotes.
18291
182922008-02-26 Vladimir Prus <vladimir@codesourcery.com>
18293
18294 * gdb.base/annota1.exp: Adjust for 'info break'
18295 format changes.
18296 * gdb.base/annota3.exp: Likewise.
18297 * gdb.base/break.exp: Likewise.
18298 * gdb.base/condbreak.exp: Likewise.
18299 * gdb.base/pending.exp: Likewise.
18300 * gdb.base/sepdebug.exp: Likewise.
18301 * gdb.base/unload.exp: Likewise.
18302 * gdb.cp/ovldbreak.exp: Likewise.
18303 * gdb.mi/mi-pending.exp: Likewise.
18304
183052008-02-07 Doug Evans <dje@google.com>
18306
18307 * gdb.cp/mb-inline.exp: New.
18308 * gdb.cp/mb-inline.h: New.
18309 * gdb.cp/mb-inline1.cc: New.
18310 * gdb.cp/mb-inline2.cc: New.
18311
183122008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
18313
18314 * gdb.pascal/floats.pas: New test program.
18315 * gdb.pascal/floats.exp: New testcase.
18316
183172008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
18318
18319 * gdb.base/callfuncs.c (t_float_many_args): New function.
18320 (t_double_many_args): New function.
18321 * gdb.base/callfuncs.exp: Add tests for exceeding float
18322 and double parameters passed through the stack.
18323
183242008-02-05 Joel Brobecker <brobecker@adacore.com>
18325
18326 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
18327 gdb.ada/complete/foo.adb: New files.
18328 * gdb.ada/complete.exp: New testcase.
18329
183302008-02-03 Doug Evans <dje@google.com>
18331
18332 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
18333
18334 * gdb.cp/gdb2384.exp: New file.
18335 * gdb.cp/gdb2384.cc: New file.
18336 * gdb.cp/gdb2384-base.h: New file.
18337 * gdb.cp/gdb2384-base.cc: New file.
18338
183392008-02-02 Doug Evans <dje@google.com>
18340
18341 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
18342
183432007-02-01 Joel Brobecker <brobecker@adacore.com>
18344
18345 * gdb.ada/sym_print_name: New test program.
18346 * gdb.ada/sym_print_name.exp: New testcase.
18347
183482007-02-01 Joel Brobecker <brobecker@adacore.com>
18349
18350 * gdb.ada/nested/hello.adb: New file.
18351 * gdb.ada/nested.exp: New testcase.
18352 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
18353
183542008-02-01 Vladimir Prus <vladimir@codesourcery.com>
18355
18356 * gdb.mi/basic.c (return_1): New function.
18357 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
18358 don't cause future evaluations of function to report
18359 creation of internal breakpoints.
18360
183612008-02-01 Vladimir Prus <vladimir@codesourcery.com>
18362
18363 * gdb.mi/mi-break.exp (test_error): New.
18364 Call it.
18365
183662008-01-31 Luis Machado <luisgpm@br.ibm.com>
18367
18368 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
18369 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
18370
183712008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
18372
18373 * gdb.pascal/integers.pas: New test program.
18374 * gdb.pascal/integers.exp: New testcase.
18375
183762008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
18377
18378 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
18379
183802008-01-30 Luis Machado <luisgpm@br.ibm.com>
18381
18382 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
18383 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
18384
183852008-01-30 Paul Hilfinger <hilfinger@adacore.com>
18386
18387 * gdb.ada/formatted_ref: New test program.
18388 * gdb.ada/formatted_ref.exp: New testcase.
18389
18390 * gdb.cp/formatted-ref.cc: New file.
18391 * gdb.cp/formatted-ref.exp: New testcase.
18392
183932008-01-30 Joel Brobecker <brobecker@adacore.com>
18394
18395 * gdb.base/ptype.exp: Add testing of "ptype $pc".
18396
183972008-01-30 Nick Roberts <nickrob@snap.net.nz>
18398
18399 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
18400 (test_file_list_exec_source_file): Update to new macro-info field.
18401
184022008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
18403
18404 * gdb.ada/exprs: New test program.
18405 * gdb.ada/exprs.exp: New testcase.
18406
184072008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
18408
18409 * dfp-test.c (DELTA, DELTA_B): New definitions.
18410 (double_val1, double_val2, double_val3, double_val4, double_val5,
18411 double_val6, double_val7, double_val8, double_val9, double_val10,
18412 double_val11, double_val12, double_val13, double_val14, dec32_val1,
18413 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
18414 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
18415 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
18416 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
18417 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
18418 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
18419 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
18420 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
18421 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
18422 dec128_val16): New global variables.
18423 (decimal_dec128_align): New function.
18424 (decimal_mixed): Likewise.
18425 (decimal_many_args_dec32): Likewise.
18426 (decimal_many_args_dec64): Likewise.
18427 (decimal_many_args_dec128): Likewise.
18428 (decimal_many_args_mixed): Likewise.
18429 * dfp-test.exp: Add tests calling new inferior functions.
18430
184312008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
18432
18433 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
18434 gdb.server/ext-run.exp: New files.
18435 * lib/gdbserver-support.exp (gdbserver_download): New.
18436 (gdbserver_start): New. Update gdbserver expected
18437 output.
18438 (gdbserver_spawn): Use them.
18439 (gdbserver_start_extended): New.
18440
184412008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
18442
18443 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
18444 Run on GNU/Linux.
18445 (do_exec_tests): Check for systems which do not support catchpoints.
18446 Do not match START.
18447 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
18448 Run on GNU/Linux. Enable verbose output.
18449 (check_fork_catchpoints): New.
18450 (explicit_fork_child_follow, catch_fork_child_follow)
18451 (tcatch_fork_parent_follow): Update expected messages.
18452 (do_fork_tests): Use check_fork_catchpoints.
18453 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
18454 Run on GNU/Linux. Enable verbose output.
18455 (check_vfork_catchpoints): New.
18456 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
18457 expected messages.
18458 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
18459
184602008-01-29 Jim Blandy <jimb@red-bean.com>
18461
18462 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
18463 host' errors.
18464 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
18465
184662008-01-29 Jim Blandy <jimb@red-bean.com>
18467
18468 * gdb.threads/sigthread.c: Use barriers to ensure that
18469 child_thread and child_thread_two are always initialized before we
18470 start to use them.
18471
184722008-01-29 Vladimir Prus <vladimir@codesourcery.com>
18473
18474 * gdb.base/watchpoint-solib.exp: New.
18475 * gdb.base/watchpoint-solib.c: New.
18476 * gdb.base/watchpoint-solib-shr.c: New.
18477
184782008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
18479
18480 * gdb.base/gdb1056.exp: Add unsigned integer test.
18481
184822008-01-28 Doug Evans <dje@google.com>
18483
18484 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
18485
184862008-01-27 Jim Blandy <jimb@codesourcery.com>
18487
18488 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
18489
18490 * gdb.base/expand-psymtabs.exp: Doc fix.
18491
184922008-01-26 Mark Kettenis <kettenis@gnu.org>
18493
18494 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
18495
184962008-01-24 Nick Roberts <nickrob@snap.net.nz>
18497
18498 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
18499 -var-set-format.
18500
185012008-01-23 Chris Demetriou <cgd@google.com>
18502
18503 * gdb.threads/thread_events.c: New testcase source file.
18504 * gdb.threads/thread_events.exp: New testcase expect file.
18505
185062008-01-23 Nick Roberts <nickrob@snap.net.nz>
18507
18508 * lib/gdb.exp: Add the variable octal.
18509
18510 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
18511 -var-set-format.
18512
185132008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
18514 Vladimir Prus <vladimir@codesourcery.com>
18515
18516 * gdb.base/float.exp: Allow missing floating point for m68k and
18517 PowerPC.
18518
185192008-01-22 Vladimir Prus <vladimir@codesourcery.com>
18520
18521 * gdb.mi/basics.c: Setup for testing breakpoints
18522 ignore count.
18523 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
18524 * gdb.mi/mi-cli.exp: Adjust.
18525 * gdb.mi/mi2-cli.exp: Adjust.
18526
185272008-01-17 Pedro Alves <pedro@codesourcery.com>
18528
18529 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
18530 and 'dummy_ptr' integer pointer. Initialize struct_declarations
18531 with dummy_ptr's address.
18532 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
18533 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
18534 all targets.
18535 * gdb.mi/mi2-var-child.exp: Likewise.
18536
185372008-01-09 Joel Brobecker <brobecker@adacore.com>
18538
18539 * gdb.ada/null_array: New test program.
18540 * gdb.ada/null_array.exp: New testcase.
18541
185422008-01-09 Luis Machado <luisgpm@br.ibm.com>
18543
18544 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
18545 with required float modifiers.
18546
185472008-01-08 Joel Brobecker <brobecker@adacore.com>
18548
18549 * gdb.ada/funcall_param: New test program.
18550 * gdb.ada/funcall_param.exp: New testcase.
18551
185522008-01-08 Joel Brobecker <brobecker@adacore.com>
18553
18554 * gdb.ada/arrayparam: New test program.
18555 * gdb.ada/arrayparam.exp: New testcase.
18556
185572008-01-08 Joel Brobecker <brobecker@adacore.com>
18558
18559 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
18560 landed. Should also fix random failures in the test following it.
18561
185622008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
18563
18564 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
18565 for expressions with decimal float values.
18566 (test_dfp_conversions): New function to test casts to and from
18567 decimal float types.
18568 Call test_dfp_conversions.
18569 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
18570 elements.
18571 (main): Initialize ds.float4 and ds.double8 elements.
18572 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
18573 string to new error message.
18574 (d64_set_tests): Likewise.
18575 (d128_set_tests): Likewise.
18576 Add tests for expressions with decimal float variables. Add tests for
18577 conversions to and from decimal float types.
18578
185792008-01-05 Joel Brobecker <brobecker@adacore.com>
18580
18581 * gdb.ada/packed_tagged/comp_bug.adb: New file.
18582 * gdb.ada/packed_tagged.exp: New testcase.
18583
185842008-01-04 Joel Brobecker <brobecker@adacore.com>
18585
18586 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
18587 gdb.ada/homonym/homonym_main.adb: New files.
18588 * gdb.ada/homonym.exp: New testcase.
18589
185902008-01-04 Joel Brobecker <brobecker@adacore.com>
18591
18592 * gdb.ada/packed_array.exp: Add testing of references to
18593 a packed array.
18594
185952008-01-04 Joel Brobecker <brobecker@adacore.com>
18596
18597 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
18598 New files.
18599 * gdb.ada/type_coercion.exp: New testcase.
18600
186012008-01-04 Joel Brobecker <brobecker@adacore.com>
18602
18603 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
18604 gdb.ada/tagged/foo.adb: New file.
18605 * gdb.ada/tagged.exp: New testcase.
18606
186072008-01-04 Joel Brobecker <brobecker@adacore.com>
18608
18609 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
18610 gdb.ada/ptype_field/foo.adb: New files.
18611 * gdb.ada/ptype_field.exp: New testcase.
18612
186132008-01-03 Joel Brobecker <brobecker@adacore.com>
18614
18615 * gdb.ada/print_pc.exp: New testcase.
18616
186172008-01-03 Joel Brobecker <brobecker@adacore.com>
18618
18619 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
18620 gdb.ada/taft_type/p.adb: New files.
18621 * gdb.ada/taft_type.exp: New testcase.
18622
186232008-01-03 Joel Brobecker <brobecker@adacore.com>
18624
18625 * gdb.ada/array_bounds/bar.adb: New file.
18626 * gdb.ada/array_bounds.exp: New testcase.
18627
186282008-01-03 Joel Brobecker <brobecker@adacore.com>
18629
18630 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
18631 gdb.ada/arrayptr/foo.adb: New files.
18632 * gdb.ada/arrayptr.exp: New testcase.
18633
186342008-01-03 Joel Brobecker <brobecker@adacore.com>
18635
18636 * gdb.base/set-lang-auto.exp: New testcase.
18637
186382008-01-03 Joel Brobecker <brobecker@adacore.com>
18639
18640 * gdb.ada/fun_addr/foo.adb: New file.
18641 * gdb.ada/fun_addr.exp: New testcase.
18642
186432008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
18644
18645 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
18646 New files
18647
186482008-01-02 Joel Brobecker <brobecker@adacore.com>
18649
18650 * array_subscript_addr/p.adb: New file.
18651 * array_subscript_addr.exp: New testcase.
18652
186532008-01-02 Joel Brobecker <brobecker@adacore.com>
18654
18655 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
18656 New files.
18657 * gdb.ada/str_cmp_ref.exp: New testcase.
18658
186592008-01-01 Joel Brobecker <brobecker@adacore.com>
18660
18661 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
18662 gdb.ada/fun_in_declare/foo.adb: New files.
18663 * gdb.ada/fun_in_declare.exp: New testcase.
18664
186652008-01-01 Joel Brobecker <brobecker@adacore.com>
18666
18667 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
18668 gdb.ada/ref_param/pck.ads: New files.
18669 * gdb.ada/ref_param.exp: New testcase.
18670
186712008-01-01 Joel Brobecker <brobecker@adacore.com>
18672
18673 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
18674 gdb.ada/interface/foo.adb: New files.
18675 * gdb.ada/interface.exp: New testcase.
18676
186772007-12-31 Jim Blandy <jimb@codesourcery.com>
18678
18679 * gdb.base/multi-forks.exp: Consume all output from child
18680 processes before proceeding to next test.
18681
186822007-12-29 Jim Blandy <jimb@codesourcery.com>
18683
18684 * configure: Regenerated.
18685
186862007-12-27 Joel Brobecker <brobecker@adacore.com>
18687
18688 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
18689 gdb.ada/fixed_cmp/fixed.adb: New files.
18690 * gdb.ada/fixed_cmp.exp: New testcase.
18691
186922007-12-27 Joel Brobecker <brobecker@adacore.com>
18693
18694 * gdb.ada/boolean_expr.exp: New testcase.
18695
186962007-12-26 Jim Blandy <jimb@codesourcery.com>
18697
18698 * gdb.base/multi-forks.exp: Doc fix.
18699
187002007-12-26 Joel Brobecker <brobecker@adacore.com>
18701
18702 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
18703 * gdb.ada/char_param.exp: Do not compile our test program with
18704 -gnata, this is unnecessary.
18705 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
18706
187072007-12-24 Joel Brobecker <brobecker@adacore.com>
18708
18709 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
18710 gdb.ada/print_chars/foo.adb: New files.
18711 * gdb.ada/print_chars.exp: New testcase.
18712
187132007-12-24 Joel Brobecker <brobecker@adacore.com>
18714
18715 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
18716 gdb.ada/char_param/foo.adb: New files.
18717 * gdb.ada/char_param.exp: New testcase.
18718
187192007-12-22 Jim Blandy <jimb@codesourcery.com>
18720
18721 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
18722 hard-coding source line numbers into the test.
18723 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
18724 gdb_get_line_number to find.
18725
187262007-12-22 Joel Brobecker <brobecker@adacore.com>
18727
18728 * gdb.base/ptype.c (highest): New struct type.
18729 (the_highest): New variable of that type.
18730 (main): Add dummy assignment to a field of variable the_highest.
18731 * gdb.base/ptype.exp: Test type printing of our new variable.
18732
187332007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
18734
18735 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
18736 and record first explicitly generated thread number.
18737 Use that thread number for thread specific watchpoint test.
18738 Add iteration number to repetitive tests.
18739
187402007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
18741 Jim Blandy <jimb@codesourcery.com>
18742
18743 * gdb.base/expand-psymtabs.c: New testcase
18744 source file.
18745 * gdb.base/expand-psymtabs.exp: New testcase
18746 expect file.
18747
187482007-12-17 Luis Machado <luisgpm@br.ibm.com>
18749
18750 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
18751 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
18752
187532007-12-17 Joel Brobecker <brobecker@adacore.com>
18754
18755 * gdb.ada/frame_args/foo.adb: New file.
18756 * gdb.ada/frame_args/pck.ads: New file.
18757 * gdb.ada/frame_args/pck.adb: New file.
18758 * gdb.ada/frame_args.exp: New testcase.
18759
187602007-12-17 Joel Brobecker <brobecker@adacore.com>
18761
18762 * gdb.base/frame-args.c: New file.
18763 * gdb.base/frame-args.exp: New testcase.
18764
187652007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
18766 Joseph Myers <joseph@codesourcery.com>
18767
18768 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
18769
187702007-12-14 Vladimir Prus <vladimir@codesourcery.com>
18771
18772 * gdb.mi/mi-pending.exp: New.
18773 * gdb.mi/mi-pending.c: New.
18774 * gdb.mi/mi-pendshr.c: New.
18775
187762007-12-06 Jim Blandy <jimb@codesourcery.com>
18777
18778 * gdb.base/default.exp: Update expected output for 'info catch'.
18779
187802007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
18781
18782 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
18783 must be set to binary.
18784
187852007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
18786
18787 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
18788
187892007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
18790
18791 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
18792 gdb.mi/mi-file-transfer.exp: New.
18793
187942007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
18795
18796 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
18797
187982007-11-22 Maciej W. Rozycki <macro@mips.com>
18799
18800 * gdb.trace/backtrace.exp: Fix a typo.
18801 * gdb.trace/circ.exp: Likewise.
18802 * gdb.trace/collection.exp: Likewise.
18803 * gdb.trace/limits.exp: Likewise.
18804 * gdb.trace/report.exp: Likewise.
18805 * gdb.trace/tfind.exp: Likewise.
18806 * gdb.trace/while-dyn.exp: Likewise.
18807
188082007-11-21 Nick Roberts <nickrob@snap.net.nz>
18809
18810 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
18811 objects of pointers that can't be dereferenced are now
18812 "noneditable".
18813
188142007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18815
18816 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
18817 (target_cpu): Remove.
18818
188192007-10-15 Vladimir Prus <vladimir@codesourcery.com>
18820
18821 * gdb.base/ending-run.exp: Expect the list of cleared
18822 breakpoint to come in natural order, not the reversed one.
18823
188242007-11-07 Vladimir Prus <vladimir@codesourcery.com>
18825
18826 * gdb.mi/mi-var-child.c (do_child_deletion): New.
18827 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
18828
188292007-11-05 Luis Machado <luisgpm@br.ibm.com>
18830
18831 * gdb.base/printcmds.exp: New function
18832 test_printf_with_dfp.
18833
188342007-11-02 Doug Evans <dje@google.com>
18835
18836 * gdb.disasm/t01_mov.s: Remove carriage returns.
18837 * gdb.disasm/t02_mova.s: Ditto.
18838 * gdb.disasm/t03_add.s: Ditto.
18839 * gdb.disasm/t04_sub.s: Ditto.
18840 * gdb.disasm/t05_cmp.s: Ditto.
18841 * gdb.disasm/t06_ari2.s: Ditto.
18842 * gdb.disasm/t07_ari3.s: Ditto.
18843 * gdb.disasm/t08_or.s: Ditto.
18844 * gdb.disasm/t09_xor.s: Ditto.
18845 * gdb.disasm/t10_and.s: Ditto.
18846 * gdb.disasm/t11_logs.s: Ditto.
18847 * gdb.disasm/t12_bit.s: Ditto.
18848 * gdb.disasm/t13_otr.s: Ditto.
18849
188502007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
18851
18852 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
18853
188542007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18855
18856 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
18857 provide DFP support.
18858
188592007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
18860
18861 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
18862 Test "set powerpc vector-abi". Skip auto-detection tests for old
18863 toolchains.
18864
188652007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
18866
18867 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
18868 with [string compare].
18869
188702007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
18871
18872 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
18873 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
18874
188752007-10-25 Luis Machado <luisgpm@br.ibm.com>
18876
18877 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
18878 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
18879 * gdb.opt/Makefile.in: New makefile.
18880 * Makefile.in: Create new directory "gdb.opt".
18881 * configure.ac: Add "gdb.opt" directory.
18882 * configure: Regenerated.
18883
188842007-10-25 Doug Evans <dje@google.com>
18885
18886 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
18887 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
18888
188892007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
18890 Thiago Jung Bauermann <bauerman@br.ibm.com>
18891
18892 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
18893 Floating Point expressions.
18894 * gdb.base/dfp-test.exp: new file adding tests for Decimal
18895 Floating Point variables.
18896 * gdb.base/dfp-test.c: new file containing program with Decimal
18897 Floating variables, used by gdb.base/dfp-test.exp.
18898
188992007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
18900
18901 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
18902
189032007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18904
18905 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
18906 compiling test case with GCC.
18907 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
18908
189092007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18910
18911 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
18912 format changes.
18913
189142007-10-18 Michael Snyder <msnyder@specifix.com>
18915
18916 * gdb.base/dbx.exp: Add missing "-re " operator.
18917
189182007-10-16 Gaius Mulley <gaius@glam.ac.uk>
18919
18920 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
18921 * configure.ac: Removed trailing spaces after backslash.
18922 * gdb.modula2: New directory.
18923 * gdb.modula2/Makefile.in: New file.
18924 * gdb.modula2/unbounded-array.exp: New file.
18925 * gdb.modula2/unbounded1.c: New file.
18926
189272007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
18928
18929 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
18930
189312007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
18932
18933 * gdb.base/sigstep.c (main): Add checks for
18934 return values for setitimer call.
18935 Call setitimer again with itimer = ITIMER_REAL
18936 if first call to setitimer fails.
18937
189382007-10-11 Kazu Hirata <kazu@codesourcery.com>
18939
18940 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
18941 of $timeout.
18942
189432007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
18944
18945 * gdb.server/server-run.exp: Test for dynamic linker symbols.
18946
189472007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
18948
18949 * lib/gdb.exp (gdb_run_cmd): Move comment outside
18950 of gdb_expect call, to avoid interruption.
18951
189522007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
18953
18954 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
18955 (v_unsigned_long_long, v_long_long_array)
18956 (v_signed_long_long_array, v_unsigned_long_long_array)
18957 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
18958 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
18959 [!NO_LONG_LONG]: New.
18960 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
18961 v_long_long_member.
18962
18963 (v_long_long_func, v_signed_long_long_func)
18964 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
18965 (main) [!NO_LONG_LONG]: Initialize long long variants.
18966
18967 * gdb.base/whatis.exp: If board file requests no_long_long, build
18968 test with NO_LONG_LONG defined. Test long long, signed long long,
18969 and unsigned long long variants but only if board file doesn't
18970 disable it.
18971
189722007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
18973 Daniel Jacobowitz <dan@codesourcery.com>
18974
18975 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
18976 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
18977 * configure: Regenerated.
18978 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
18979 gdb.pascal/types.exp, lib/pascal.exp: New files.
18980
189812007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
18982
18983 * gdb.cp/classes.exp (do_tests): Always step to the line after the
18984 call.
18985 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
18986 to return to the call.
18987 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
18988 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
18989 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
18990 * gdb.mi/mi-until.exp (test_until): Likewise.
18991 * gdb.mi/mi2-until.exp (test_until): Likewise.
18992
189932007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
18994
18995 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
18996 two-char array.
18997 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
18998
189992007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
19000
19001 * gdb.threads/watchthreads.c (thread_function): Sleep between
19002 iterations.
19003 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
19004 at once for S/390. Generate matching fails and passes.
19005
190062007-09-27 Vladimir Prus <vladimir@codesourcery.com>
19007
19008 * gdb.mi/var-cmd.c (do_children_tests): Initialize
19009 the 'struct_declarations' variable to zeros.
19010
190112007-09-24 Vladimir Prus <vladimir@codesourcery.com>
19012
19013 * gdb.cp/mb-ctor.cc: New.
19014 * gdb.cp/mb-ctor.exp: New.
19015 * gdb.cp/mb-templates.cc: New.
19016 * gdb.cp/mb-templates.exp: New.
19017
190182007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
19019
19020 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
19021
190222007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
19023
19024 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
19025 targets.
19026 * configure: Regenerate.
19027
190282007-09-23 Vladimir Prus <vladimir@codesourcery.com>
19029
19030 * gdb.base/annota1.exp: Adjust for 'info break'
19031 format changes.
19032 * gdb.base/annota3.exp: Likewise.
19033 * gdb.base/break.exp: Likewise.
19034 * gdb.base/condbreak.exp: Likewise.
19035 * gdb.base/pending.exp: Likewise.
19036 * gdb.base/sepdebug.exp: Likewise.
19037 * gdb.base/unload.exp: Likewise.
19038 * gdb.base/ovldbreak.exp: Likewise.
19039
190402007-09-22 Vladimir Prus <vladimir@codesourcery.com>
19041
19042 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
19043 messages.
19044 * gdb.base/chng-syms.exp: Likewise.
19045 * gdb.base/unload.exp: Likewise.
19046
190472007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
19048
19049 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
19050
190512007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
19052
19053 * schedlock.c (NUM): Change to 1.
19054 (main): Use args[0] for the main thread.
19055 * schedlock.exp: Only expect two threads. Only issue one pass or fail
19056 regardless of the number of threads.
19057
190582007-09-14 Maciej W. Rozycki <macro@mips.com>
19059
19060 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
19061 type down.
19062 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
19063 test.
19064 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
19065 watchpoint type down.
19066 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
19067 test.
19068
190692007-09-14 Maciej W. Rozycki <macro@mips.com>
19070
19071 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
19072 Move all the tests here and run them twice, once using software
19073 watchpoints and once using hardware watchpoints.
19074 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
19075
190762007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
19077
19078 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
19079 test.
19080
190812007-09-10 Mark Kettenis <kettenis@gnu.org>
19082
19083 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
19084 build-id.
19085
19086 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
19087 know about $ORIGIN. Calculate output dir from $dest instead of
19088 using ${objdir}/{$subdir}.
19089
190902007-09-09 Mark Kettenis <kettenis@gnu.org>
19091
19092 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
19093 gcore, before continuing with the test.
19094
190952007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
19096
19097 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
19098 * gdb.mi/mi-watch.exp: Likewise.
19099
191002007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
19101 Jim Blandy <jimb@codesourcery.com>
19102
19103 * gdb.arch/i386-sse.exp: Do not expect character constants.
19104 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
19105 * gdb.base/display.exp: Allow print/s.
19106 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
19107 and unsigned char array changes.
19108
191092007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
19110
19111 * gdb.base/display.exp: Add tests for printf %p.
19112
191132007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
19114
19115 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
19116 the dll name to unicode.
19117
191182007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
19119
19120 * gdb.base/default.exp (show version): Update the version text.
19121 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
19122
191232007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
19124
19125 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
19126 New files.
19127
191282007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
19129
19130 * lib/gdb.exp (build_id_debug_filename_get): New function.
19131 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
19132 Remove the generate DEBUG file for the future testcase runs.
19133 New testcase for the NT_GNU_BUILD_ID retrieval.
19134 Move the final testing step to ...
19135 (test_different_dir): ... a new function.
19136 New parameter XFAIL to XFAIL all the tests performed.
19137 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
19138 New parameter TYPE to PF_PREFIX all the tests performed.
19139
191402007-08-31 Vladimir Prus <vladimir@codesourcery.com>
19141
19142 * gdb.mi/mi-var-cp.cc (path_expression): New
19143 function.
19144 * gdb.mi/mi-var-cp.exp: Run path exression tests.
19145
191462007-08-27 Markus Deuling <deuling@de.ibm.com>
19147
19148 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
19149 to fit into SPU Local Store memory.
19150
191512007-08-23 Joel Brobecker <brobecker@adacore.com>
19152
19153 * gdb.base/default.exp: Adjust the expected output of "info
19154 warranty" after the switch to GPLv3.
19155
191562007-08-23 Joel Brobecker <brobecker@adacore.com>
19157
19158 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
19159 to 30000 (from 20000).
19160
191612007-08-23 Joel Brobecker <brobecker@adacore.com>
19162
19163 Switch the license of all .exp files to GPLv3.
19164 Switch the license of all .f and .f90 files to GPLv3.
19165 Switch the license of all .s and .S files to GPLv3.
19166
191672007-08-23 Joel Brobecker <brobecker@adacore.com>
19168
19169 * configure.ac: Switch license to GPLv3.
19170
191712007-08-23 Joel Brobecker <brobecker@adacore.com>
19172
19173 Switch the licensing to GPLv3 for all .ads and .adb files.
19174
191752007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
19176
19177 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
19178 and t_int_double.
19179 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
19180
191812007-08-17 Joel Brobecker <brobecker@adacore.com>
19182
19183 * gdb.base/step-line.c: Switch license to GPL version 3, and
19184 update copyright year.
19185 * gdb.base/step-line.inp: Likewise.
19186
191872007-08-17 Joel Brobecker <brobecker@adacore.com>
19188
19189 * gdb.base/gdb1555.exp: Make expected output immune to formatting
19190 changes inside gdb1555.c.
19191 * gdb.base/pending.exp: Likewise.
19192
191932007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
19194
19195 * config/default.exp: New file.
19196
191972007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
19198
19199 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
19200 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
19201
192022007-07-30 Maciej W. Rozycki <macro@mips.com>
19203
19204 * gdb.base/dump.exp: Force the correct endianness for binary
19205 formats not carrying this information.
19206
192072007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
19208
19209 * gdb.threads/staticthreads.exp: Match .*sem_post.
19210
192112007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
19212
19213 * gdb.base/readline.exp (operate_and_get_next): Match the final
19214 prompt.
19215
192162007-07-23 Kevin Buettner <kevinb@redhat.com>
19217
19218 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
19219 to restarting SID.
19220
192212007-07-18 Kevin Buettner <kevinb@redhat.com>
19222
19223 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
19224 prior to `gdb_start'.
19225
192262007-07-18 Kevin Buettner <kevinb@redhat.com>
19227
19228 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
19229 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
19230 Remove call to gdb_unload.
19231
192322007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
19233 Daniel Jacobowitz <dan@codesourcery.com>
19234
19235 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
19236 for __WIN32__.
19237 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
19238 * gdb.base/unload.exp: Use shared library test routines.
19239
192402007-07-03 Markus Deuling <deuling@de.ibm.com>
19241
19242 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
19243 * gdb.base/solib-symbol-lib.c: Likewise.
19244 * gdb.base/solib-symbol-main.c: Likewise.
19245
192462007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
19247
19248 * config/gdbserver.exp (gdb_reconnect): New.
19249 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
19250 gdb.base/solib-disc.exp: New files.
19251 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
19252 remote debugging".
19253 (gdb_compile): Add shlib_load flag.
19254 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
19255 port.
19256 (gdbserver_reconnect): New.
19257
192582007-07-01 Nick Roberts <nickrob@snap.net.nz>
19259 Daniel Jacobowitz <dan@codesourcery.com>
19260
19261 * gdb.base/annota3.exp: Test for if construct.
19262
192632007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
19264
19265 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
19266
192672007-06-21 Chris Dearman <chris@mips.com>
19268 Maciej W. Rozycki <macro@mips.com>
19269
19270 * gdb.base/display.exp: Allow a newline after display/i.
19271 * gdb.base/pc-fp.exp: Likewise.
19272 * gdb.base/sigbpt.exp: Likewise.
19273
192742007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
19275
19276 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
19277 required features to be included.
19278
192792007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
19280
19281 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
19282 in info threads output.
19283
192842007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19285 Markus Deuling <deuling@de.ibm.com>
19286
19287 * gdb.arch/spu-info.exp: New testcase.
19288 * gdb.arch/spu-info.c: New file.
19289
192902007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
19291
19292 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
19293 tpcs_offset. Restore lr after the call.
19294 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
19295
192962007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
19297
19298 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
19299 (gdbserver_run): Kill any running gdbserver.
19300 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
19301
193022007-05-17 Maciej W. Rozycki <macro@mips.com>
19303
19304 * gdb.base/sigbpt.exp: Preset segv_addr.
19305
193062007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
19307
19308 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
19309 (gdb_compile_shlib): Likewise.
19310 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
19311 (default_gdb_init): Clear cleanfiles.
19312 (gdb_finish): Delete recorded cleanfiles.
19313 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
19314
19315 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
19316 Do not use isnative.
19317 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
19318 gdb.base/so-impl-ld.exp: Likewise.
19319 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
19320 * gdb.base/unload.exp: Likewise. Do not pass empty option to
19321 gdb_compile.
19322
193232007-05-15 Vladimir Prus <vladimir@codesourcery.com>
19324
19325 * config/unknown.exp: Remove.
19326
193272007-05-15 Markus Deuling <deuling@de.ibm.com>
19328
19329 * gdb.base/info-proc.exp: Check is_remote.
19330
193312007-05-14 Markus Deuling <deuling@de.ibm.com>
19332
19333 * gdb.base/gcore.exp: Initialize variable core_supported.
19334
193352007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
19336
19337 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
19338
193392007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
19340
19341 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
19342 * gdb.threads/print-threads.exp (test_all_threads): Allow
19343 negative and hexadecimal thread IDs.
19344
193452007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
19346
19347 * gdb.java/jprint.java (public): Avoid invalid call to static
19348 method.
19349
193502007-05-14 Denis Pilat <denis.pilat@st.com>
19351
19352 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
19353 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
19354 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
19355 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
19356 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
19357
193582007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19359
19360 * gdb.base/overlays.exp: Add support for targets with only code
19361 overlay support, not data overlay. Support spu-*-* target in
19362 this mode.
19363 * gdb.base/ovlymgr.c: Provide stubs for spu target.
19364 * gdb.base/spu.ld: New file.
19365
193662007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
19367
19368 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
19369
193702007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
19371
19372 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
19373
193742007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
19375
19376 * gdb.java/jmain.exp: Handle demangled names with and without method
19377 signatures.
19378
193792007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
19380
19381 * gdb.mi/mi-syn-frame.c (main, foo, bar)
19382 (have_a_very_merry_interrupt): Remove calls to puts.
19383 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
19384 inferior output.
19385 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
19386 test names.
19387
193882007-04-29 Markus Deuling <deuling@de.ibm.com>
19389 Daniel Jacobowitz <dan@codesourcery.com>
19390
19391 * gdb.base/auxv.exp (core_works): Also check is_remote.
19392 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
19393
193942007-04-25 Vladimir Prus <vladimir@codesourcery.com>
19395
19396 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
19397 message, not the undefined 'module' variable.
19398 * gdb.base/siginfo.exp: Likewise.
19399 * gdb.base/sigstep.exp: Likewise.
19400 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
19401 serialport.
19402 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
19403
194042007-04-25 Corinna Vinschen <vinschen@redhat.com>
19405
19406 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
19407 target sim fails. Return 0 otherwise.
19408 (gdb_load): Return prematurely if gdb_target_sim fails.
19409
194102007-04-16 Denis Pilat <denis.pilat@st.com>
19411
19412 * gdb.base/setshow.exp: Reset height after having set it to 100.
19413
194142007-04-16 Denis Pilat <denis.pilat@st.com>
19415
19416 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
19417
194182007-04-16 Denis Pilat <denis.pilat@st.com>
19419
19420 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
19421
194222007-04-14 Vladimir Prus <vladimir@codesourcery.com>
19423
19424 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
19425 tests. Run the frozen varobjs test.
19426 * gdb.mi/var-cmd.c (do_frozen_tests): New.
19427 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
19428
194292007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
19430
19431 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
19432 gdb.base/type-opaque.exp: New files.
19433
194342007-04-01 Vladimir Prus <vladimir@codesourcery.com>
19435
19436 * gdb.mi/mi-var-child.c
19437 (do_children_tests): User char[2] instead of
19438 char so that automatic printing of pointers to char
19439 don't give unpredicable result.
19440 * gdb.mi/var-cmd.c (do_locals_test): Initialize
19441 local variables.
19442 * gdb.mi/mi-var-child.exp: Step to right line
19443 of do_children_tests.
19444 * gdb.mi/mi2-var-child.exp: Likewise.
19445 * gdb.mi/mi-var-cmd.exp: Step to right line of
19446 do_locals_tests.
19447 (do_children_tests): User char[2] instead of
19448 char so that automatic printing of pointers to char
19449 don't give unpredicable result.
19450 * gdb.mi/mi2-var-cmd.exp: Likewise.
19451 * lib/mi-support.exp (mi_continue_to_line):
19452 Pass test name to mi_wait_for_stop.
19453
194542007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
19455
19456 * gdb.asm/asm-source.exp: Remove d10v case.
19457 * lib/gdb.exp (skip_cplus_tests): Likewise.
19458 * gdb.asm/d10v.inc: Deleted.
19459
194602007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
19461
19462 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
19463
194642007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
19465
19466 * config/netware.exp: Delete file.
19467
194682007-03-29 Joel Brobecker <brobecker@adacore.com>
19469
19470 * gdb.dwarf2/dw2-noloc.S: New file.
19471 * gdb.dwarf2/dw2-noloc.exp: New file.
19472
194732007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
19474
19475 * gdb.cp/method2.cc: New test.
19476 * gdb.cp/method2.exp: New test.
19477 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
19478
194792007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
19480
19481 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
19482
194832007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
19484
19485 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
19486
194872007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
19488
19489 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
19490 (gdb_load): Delete, replace with...
19491 (gdb_reload): ...this.
19492 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
19493 * gdb.server/server-mon.exp: Likewise.
19494 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
19495 (gdb_start_cmd): New.
19496 (gdb_file_cmd): Save the last loaded file.
19497 (gdb_reload): New.
19498 (gdb_gnu_strip_debug): Use transform.
19499 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
19500 support here. Use new $last_loaded_file. Check mtime.
19501 (gdb_target_cmd): Handle ObjC failure case.
19502 (infer_host_exec): Delete.
19503 (gdbserver_load): Rename to...
19504 (gdbserver_run): ...this. Simplify.
19505 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
19506 (mi_gdb_load): Move most contents to a new function...
19507 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
19508 (mi_run_cmd): Use mi_gdb_target_load.
19509 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
19510 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
19511 Use gdb_run_cmd.
19512 * gdb.base/charsign.exp: Remove incorrect comment.
19513 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
19514 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
19515 gdb.base/start.exp: Use gdb_start_cmd.
19516
195172007-03-23 Nigel Stephens <nigel@mips.com>
19518 Maciej W. Rozycki <macro@mips.com>
19519
19520 * gdb.base/sigbpt.exp: Fix the message when skipping test.
19521 * gdb.base/signull.exp: Similarly.
19522
195232007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19524
19525 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
19526 messages available to test cases (like chng-sym.exp).
19527
195282007-03-14 Andreas Schwab <schwab@suse.de>
19529
19530 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
19531 format changes.
19532
195332007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
19534
19535 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
19536 (optimized_1): New.
19537 (main): Call optimized_1.
19538 (gdb2029): Correct typos. Call gdb2029_marker.
19539 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
19540 for gdb2029.
19541
195422007-03-12 Mark Kettenis <kettenis@gnu.org>
19543
19544 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
19545 as tabs. Remove redundant test pattern.
19546
195472007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19548
19549 * gdb.base/long_long.exp: Accept optional symbol name in <...>
19550 for /a format output.
19551
195522007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
19553
19554 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
19555 collect output incrementally.
19556
195572007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19558
19559 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
19560 for -var-create lpcharacter test.
19561 * gdb.mi/mi2-var-cmd.exp: Likewise.
19562
195632007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19564
19565 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
19566 pass on targets where address zero is readable.
19567
195682007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19569
19570 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
19571 just a single architecture.
19572
195732007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19574
19575 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
19576 (fetch_all_registers): New function, uses gdb_test_multiple and
19577 exp_continue to fetch inferior output line-by-line.
19578 Replace all uses of do_get_all_registers by fetch_all_registers.
19579
195802007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19581
19582 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
19583 in target_info.
19584
195852007-03-02 Michael Snyder <michael.snyder@palmsource.com>
19586
19587 * gdb.threads/manythreads.exp: Use $message string for
19588 consistancy; add a default (timeout) case.
19589
195902007-03-02 Michael Snyder <michael.snyder@palmsource.com>
19591
19592 * gdb.base/watchpoint.exp: Fix truncated comment.
19593
195942007-03-02 Michael Snyder <michael.snyder@palmsource.com>
19595
19596 * Makefile.in: Remove spurious single-quotes from sed command.
19597
195982007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
19599
19600 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
19601 func.
19602 * gdb.mi/mi2-var-cmd.exp: Likewise.
19603
196042007-02-27 Joel Brobecker <brobecker@adacore.com>
19605
19606 * gdb.dwarf2/dw2-producer.S: New file.
19607 * gdb.dwarf2/dw2-producer.exp: New testcase.
19608
196092007-02-27 Nick Roberts <nickrob@snap.net.nz>
19610
19611 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
19612 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
19613 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
19614 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
19615 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
19616 Revert tests to use mi_gdb_test and include value field in output
19617 of -var-create.
19618
196192007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
19620
19621 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
19622
196232007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
19624
19625 * gdb.base/maint.exp: Remove full paths from test names.
19626 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
19627 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
19628
196292007-02-27 Joel Brobecker <brobecker@adacore.com>
19630
19631 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
19632
196332007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
19634
19635 * gdb.server/server-mon.exp: New test.
19636
196372007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
19638
19639 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
19640
196412007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
19642
19643 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
19644 register capitalization.
19645
196462007-02-13 Denis Pilat <denis.pilat@st.com>
19647
19648 * gdb.mi/mi-var-invalidate.exp: New file.
19649
196502007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
19651
19652 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
19653
196542007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
19655
19656 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
19657
196582007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
19659
19660 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
19661 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
19662
196632007-02-08 Nick Roberts <nickrob@snap.net.nz>
19664
19665 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
19666 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
19667 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
19668 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
19669 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
19670 * gdb.mi/gdb792.exp, lib/mi-support.exp:
19671 Update tests to include value field in output of -var-create.
19672
196732007-02-08 Andreas Schwab <schwab@suse.de>
19674
19675 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
19676
196772007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
19678
19679 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
19680 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
19681
196822007-02-02 Denis Pilat <denis.pilat@st.com>
19683
19684 * gdb.threads/threadapply.exp: check that frame is not changed by
19685 the thread apply all command.
19686
196872007-01-31 Andreas Schwab <schwab@suse.de>
19688
19689 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
19690
19691 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
19692 in the dwarf sections.
19693 * gdb.dwarf2/mac-fileno.S: Likewise.
19694
19695 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
19696 bspstore register on ia64.
19697
196982007-01-29 Andreas Schwab <schwab@suse.de>
19699
19700 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
19701 "frame-begin" annotation.
19702
19703 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
19704 number of "frames-invalid" annotations.
19705
197062007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
19707
19708 * gdb.base/commands.exp: Call if_commands_test.
19709 (gdb_test_no_prompt, if_commands_test): New.
19710
197112007-01-28 Mark Kettenis <kettenis@gnu.org>
19712
19713 * gdb.threads/sigthread.c (NSIGS): Make bigger.
19714
197152007-01-27 Andreas Schwab <schwab@suse.de>
19716
19717 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
19718 .short/.int/.quad in the dwarf sections.
19719 * gdb.dwarf2/dw2-intercu.S: Likewise.
19720 * gdb.dwarf2/dw2-intermix.S: Likewise.
19721
197222007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
19723
19724 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
19725 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
19726 array.
19727 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
19728 * gdb.base/setvar.exp: Likewise.
19729
197302007-01-26 Andreas Schwab <schwab@suse.de>
19731
19732 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
19733 test.
19734
19735 * gdb.base/multi-forks.exp ("restart $i"): Also match
19736 __kernel_syscall_via_break.
19737
197382007-01-24 Vladimir Prus <vladimir@codesourcery.com>
19739
19740 * lib/mi-support.exp (mi_delete_varobj): New.
19741 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
19742 testcase.
19743 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
19744 (main): Call the above.
19745 (reference_update_test, base_in_reference_test)
19746 (reference_to_pointer): Delete the created varobjs.
19747
197482007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
19749
19750 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
19751 * configure: Regenerated.
19752 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
19753 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
19754 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
19755 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
19756 * lib/gdb.exp (gdb_skip_xml_test): New function.
19757
197582007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
19759
19760 * gdb.base/sigrepeat.exp: Correct error message.
19761
197622007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
19763 Daniel Jacobowitz <dan@codesourcery.com>
19764
19765 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
19766 gdb.arch/i386-gnu-cfi-asm.S: New files.
19767
197682007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
19769
19770 * lib/gdb.exp: Abort on missing `site.exp'.
19771
197722007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
19773 Daniel Jacobowitz <dan@codesourcery.com>
19774
19775 * gdb.base/included.c, gdb.base/included.exp,
19776 gdb.base/included.h: New files.
19777
197782007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
19779
19780 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
19781 (maximize_rlimit): Reduce limits on 64-bit systems.
19782
197832007-01-19 Mark Kettenis <kettenis@gnu.org>
19784
19785 From Marcus Deuling <deuling@de.ibm.com>:
19786 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
19787 every case.
19788
197892007-01-13 Nick Roberts <nickrob@snap.net.nz>
19790
19791 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
19792 (test_path_specification): Use objdir instead of srcdir to always
19793 get an absolute filename.
19794
197952007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
19796
19797 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
19798
197992007-01-11 Vladimir Prus <vladimir@codesourcery.com>
19800
19801 * gdb.mi/mi-var-cp.cc (reference_update_tests):
19802 Make sure the variable we're using is in scope.
19803 (reference_to_pointer): Likewise.
19804
198052007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
19806
19807 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
19808 has no debug information.
19809
198102007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
19811
19812 * gdb.base/annota1.exp: Remove extra send_gdb.
19813
198142007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
19815
19816 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
19817
198182007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
19819
19820 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
19821
198222007-01-08 Nick Roberts <nickrob@snap.net.nz>
19823 Daniel Jacobowitz <dan@codesourcery.com>
19824
19825 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
19826 lcharacter or linteger change. Correct duplicated test name.
19827 * gdb.mi/mi2-var-cmd.exp: Likewise.
19828
198292007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
19830
19831 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
19832
198332007-01-05 Joel Brobecker <brobecker@adacore.com>
19834
19835 * gdb.base/nofield.c: New file.
19836 * gdb.base/nofield.exp: New testcase.
19837
198382007-01-05 Nick Roberts <nickrob@snap.net.nz>
19839
19840 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
19841
19842 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
19843 test.
19844
198452007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
19846
19847 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
19848
198492007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
19850
19851 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
19852 when continuing.
19853
198542007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
19855
19856 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
19857 Expect ".exe" extension.
19858
198592007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
19860
19861 * gdb.base/charset.exp: Add explicit filename to break.
19862 * gdb.base/dbx.exp: Add explicit filename to breaks.
19863
198642007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
19865
19866 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
19867 * gdb.mi/mi2-file.exp: Likewise.
19868
198692007-01-04 Vladimir Prus <vladimir@codesourcery.com>
19870
19871 Implement specification of MI tests as comments
19872 in C and C++ sources.
19873 * lib/mi-support.exp (mi_autotest_data): New variable.
19874 (mi_autotest_source): New variable.
19875 (count_newlines, mi_prepare_inline_tests)
19876 (mi_get_inline_test, mi_continue_to_line)
19877 (mi_run_inline_test, mi_tbreak)
19878 (mi_send_resuming_command, mi_wait_for_stop): New functions.
19879 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
19880 Run inline tests.
19881 * gdb.mi/mi-var-cp.cc: Define tests here.
19882
198832007-01-04 Vladimir Prus <vladimir@codesourcery.com>
19884
19885 Simplify usage of mi_continue_to.
19886 * lib/mi-support.exp (mi_runto_helper): Renamed
19887 from mi_runto, added new parameter 'run_or_continue'.
19888 (mi_runto): Use mi_runto_helper.
19889 (mi_continue_to): Accept just function name as parameter.
19890 Use mi_runto_helper.
19891 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
19892 * gdb.mi/mi2-var-cmd.exp: Likewise.
19893
198942006-01-04 Joel Brobecker <brobecker@adacore.com>
19895
19896 Make this testcase a bit more realistic. The current code
19897 is too simplistic, and allows the compiler to optimize out
19898 some of the entities we need for this testcase.
19899 * gdb.ada/null_record/bar.ads (Void_Star): New type.
19900 (Do_Nothing): Add extra parameter.
19901 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
19902 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
19903 by using a variable of type Void_Star.
19904
199052006-01-04 Joel Brobecker <brobecker@adacore.com>
19906
19907 * gdb.ada/catch_ex/foo.adb: New file.
19908 * gdb.ada/catch_ex.exp: New testcase.
19909
199102007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
19911
19912 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
19913 pass --image-base to linker.
19914
199152007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
19916 Daniel Jacobowitz <dan@codesourcery.com>
19917
19918 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
19919 secondary prompts.
19920
199212007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
19922
19923 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
19924 output. Test the types of members and member pointers.
19925 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
19926 gdb/2092.
19927 * gdb.cp/member-ptr.exp: Search for a comment instead of a
19928 statement. Enable for GCC. Update expected output for some tests
19929 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
19930 layout.
19931 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
19932 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
19933 (Diamond::vget_base): New.
19934 (main): Add new tests.
19935 * gdb.cp/printmethod.exp: Update expected output for member functions.
19936 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
19937 print pEe->D::vg().
19938
199392007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
19940
19941 * gdb.threads/tls.exp: Allow stops in sem_post.
19942
199432006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
19944
19945 * gdb.base/annota1.exp: Allow .*printf in backtraces.
19946 * gdb.base/annota3.exp: Likewise.
19947 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
19948 again (instead of timing out).
19949 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
19950 GCC bug 26475.
19951 * gdb.java/jmisc.exp: Adjust to work with method signatures including
19952 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
19953 test from jmisc1.exp.
19954 * gdb.java/jmisc1.exp: Delete.
19955 * gdb.java/jprint.exp: Adjust to work with method signatures including
19956 return types.
19957 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
19958 * gdb.threads/linux-dp.exp: Don't be confused by program output.
19959 * lib/java.exp (compile_java_from_source): Pass the correct type
19960 to target_compile.
19961
199622006-12-31 Joel Brobecker <brobecker@adacore.com>
19963
19964 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
19965 (stack_align_edx): New function.
19966 (stack_align_eax): New function.
19967 (main): Add calls to stack_align_edx and stack_align_eax.
19968 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
19969 Add testing for the cases where the register used during a stack
19970 realignment is edx. Same for eax.
19971
199722006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
19973
19974 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
19975 and generic PE targets.
19976
199772006-12-29 Joel Brobecker <brobecker@adacore.com>
19978
19979 * gdb.ada/array_return.exp: Update copyright date list.
19980
199812006-12-27 Joel Brobecker <brobecker@adacore.com>
19982
19983 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
19984 (Create_Small_Float_Vector): New function.
19985 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
19986 function body.
19987 * gdb.ada/array_return/p.adb: Use new type and function from
19988 package Pck.
19989 * gdb.ada/array_return.exp: Add a test verifying that GDB is
19990 able to print the value returned by a function returning an
19991 array of float.
19992
199932006-12-20 Joel Brobecker <brobecker@adacore.com>
19994
19995 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
19996 The associated tests should be PASSing.
19997
199982006-12-08 Vladimir Prus <vladimir@codesourcery.com>
19999
20000 Test for base in references.
20001 * gdb.mi/mi-var-cp.cc: Add test code.
20002 * gdb.mi/mi-var-cp.exp: Test for bases in references.
20003 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
20004 * gdb.mi/mi2-watch.exp: Likewise.
20005 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
20006 (mi_list_varobj_children): New function.
20007
200082006-12-08 Vladimir Prus <vladimir@codesourcery.com>
20009
20010 * lib/mi-support.exp
20011 (mi_runto): Accept "()" after function name.
20012 (mi_create_varobj): New function.
20013 (mi_varobj_update): New function.
20014 (mi_Check_varobj_value): New function.
20015 * gdb.mi/mi-var-cp.exp: New file.
20016 * gdb.mi/mi-var-cp.cc: New file.
20017
200182006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
20019
20020 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
20021 gdb.base/weaklib2.c: New files.
20022
200232006-11-29 Nathan Sidwell <nathan@codesourcery.com>
20024
20025 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
20026 info. Adjust test names.
20027
20028 * gdb.base/break.c (main): Move position of malloc.
20029 * gdb.base/break.exp: Revert mistaken checkin.
20030
200312006-11-28 Vladimir Prus <vladimir@codesourcery.com>
20032
20033 * gdb.mi/mi-var-cmd.exp: Check -var-update after
20034 assignement of arrays and function pointers.
20035 * gdb.mi/var-cmd.c: Add declaration necessary for above
20036 tests.
20037
200382006-11-27 Nathan Sidwell <nathan@codesourcery.com>
20039
20040 * gdb.base/break.c (main): Call malloc.
20041
20042 * gdb.threads/linux-dp.exp: Read thread table before and after
20043 creating each philosopher and verify it.
20044
200452006-11-27 Nathan Sidwell <nathan@codesourcery.com>
20046 Paul Brook <paul@codesourcery.com>
20047 Daniel Jacobowitz <dan@codesourcery.com>
20048
20049 * gdb.base/ending-run.exp: Flatten expect script stepping out of
20050 main to remove duplication. Add start function of the form
20051 '_*start[1-9]*'. Add RVDS start function.
20052
200532006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
20054
20055 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
20056
200572006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20058
20059 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
20060 * gdb.asm/spu.inc: New file.
20061 * gdb.base/term.exp: Disable if [target_info exists noargs].
20062 * gdb.gdb/complaints.exp: Disable if ![isnative].
20063 * gdb.gdb/selftest.exp: Likewise.
20064 * gdb.gdb/observer.exp: Likewise.
20065 * gdb.gdb/xfullpath.exp: Likewise.
20066 * gdb.base/attach.exp: Disable on SPU target.
20067 * gdb.cp/bs145503.exp: Likewise.
20068 * gdb.cp/exception.exp: Likewise.
20069 * gdb.cp/userdef.exp: Likewise.
20070
200712006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
20072
20073 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
20074
200752006-11-10 Vladimir Prus <vladimir@codesourcery.com>
20076
20077 * gdb.base/completion.exp: Fix completion tests for
20078 'info' and 'info '.
20079 * gdb.base/help.exp (help_test_raw, test_class_help)
20080 (test_prefix_command_help): Move...
20081 * lib/gdb.exp: Here.
20082 * gdb.base/main.exp: Adjust.
20083 * gdb.cp/maint.exp: Adjust.
20084 * gdb.trace/tracecmd.exp: Use test_help_class.
20085
200862006-11-09 Vladimir Prus <vladimir@codesourcery.com>
20087
20088 * gdb.stabs/weird.exp (print_weird_var): Use
20089 gdb_test_multiple instead of gdb_expect.
20090
200912006-11-09 Vladimir Prus <vladimir@codesourcery.com>
20092
20093 * gdb.base/help.exp (help_test_raw): New.
20094 (test_class_help): New.
20095 (test_prefix_command_help): New.
20096 Adjust testcases.
20097
200982006-11-09 Christophe Lyon <christophe.lyon@st.com>
20099
20100 * gdb.base/constvars.c (main): Write to crass and crips, so that
20101 they are allocated by the compiler.
20102
201032006-10-27 Andreas Schwab <schwab@suse.de>
20104
20105 * gdb.base/multi-forks.exp: Use "detach fork" instead of
20106 "detach-fork".
20107
201082006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
20109
20110 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
20111 of patterns.
20112
201132006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
20114
20115 * gdb.base/sepdebug.exp: Remove debug format test.
20116 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
20117 Handle no-symtab.
20118 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
20119
201202006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
20121
20122 * gdb.threads/manythreads.c (thread_function, main): Don't cast
20123 int to pointer or pointer to int.
20124 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
20125
201262006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
20127
20128 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
20129
201302006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
20131
20132 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
20133
201342006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
20135
20136 PR c++/2116
20137 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
20138
201392006-10-06 Joel Brobecker <brobecker@adacore.com>
20140
20141 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
20142 the corresponding bug has been fixed in GDB (PR/2018).
20143
201442006-10-06 Joel Brobecker <brobecker@adacore.com>
20145
20146 * gdb.base/subst.exp: New testcase.
20147
201482006-10-06 Joel Brobecker <brobecker@adacore.com>
20149
20150 * gdb.ada/array_return/pck.ads: Add copyright notice.
20151 * gdb.ada/array_return/pck.adb: Likewise.
20152 * gdb.ada/array_return/p.adb: Likewise.
20153 * gdb.ada/exec_changed/first.adb: Likewise.
20154 * gdb.ada/exec_changed/second.adb: Likewise.
20155
201562006-10-06 Joel Brobecker <brobecker@adacore.com>
20157
20158 * gdb.ada/watch_arg/watch.adb: New file.
20159 * gdb.ada/watch_arg.exp: New testcase.
20160
201612006-10-02 Vladimir Prus <vladimir@codesourcery.com>
20162
20163 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
20164 via string_to_regexp.
20165 * gdb.mi/mi2-basics.exp: Likewise.
20166
201672006-09-20 Michael Snyder <michael.snyder@palmsource.com>
20168
20169 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
20170 Remove unused / obsolete files.
20171
201722006-09-19 Nick Roberts <nickrob@snap.net.nz>
20173
20174 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
20175
201762006-09-17 Vladimir Prus <vladimir@codesourcery.com>
20177
20178 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
20179 HIGH_FRAME argument to -stack-list-arguments can be larger than
20180 the number of frames.
20181
201822006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
20183
20184 * gdb.base/args.c (main): Add breakpoint marker.
20185 * gdb.base/args.exp: Use args_test for tests. Add new tests which
20186 really test empty arguments.
20187 (args_load): Delete.
20188 (args_test): New.
20189
201902006-09-13 Nick Roberts <nickrob@snap.net.nz>
20191
20192 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
20193 check for one file.
20194
201952006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
20196
20197 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
20198 HIGH_FRAME argument to -stack-list-locals can be larger than
20199 the number of frames.
20200
202012006-08-18 Fred Fish <fnf@specifix.com>
20202
20203 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
20204 '$' in front of skip_vmx_tests_saved when setting that.
20205
202062006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
20207
20208 * gdb.base/trace-commands.exp: New file.
20209
202102006-08-10 Joel Brobecker <brobecker@adacore.com>
20211 Daniel Jacobowitz <dan@codesourcery.com>
20212
20213 * gdb.base/step-bt.exp: Make hexadecimal address optional in
20214 expected output of the backtrace commands.
20215
202162006-08-09 Joel Brobecker <brobecker@adacore.com>
20217
20218 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
20219 untested followed by return combination.
20220 * gdb.arch/altivec-regs.exp: Likewise.
20221 * gdb.arch/e500-abi.exp: Likewise.
20222 * gdb.arch/e500-regs.exp: Likewise.
20223 * gdb.arch/gdb1291.exp: Likewise.
20224 * gdb.arch/gdb1431.exp: Likewise.
20225 * gdb.arch/gdb1558.exp: Likewise.
20226 * gdb.arch/i386-prologue.exp: Likewise.
20227 * gdb.arch/i386-unwind.exp: Likewise.
20228 * gdb.asm/asm-source.exp: Likewise.
20229 * gdb.base/a2-run.exp: Likewise.
20230 * gdb.base/advance.exp: Likewise.
20231 * gdb.base/all-bin.exp: Likewise.
20232 * gdb.base/annota1.exp: Likewise.
20233 * gdb.base/annota3.exp: Likewise.
20234 * gdb.base/args.exp: Likewise.
20235 * gdb.base/arithmet.exp: Likewise.
20236 * gdb.base/assign.exp: Likewise.
20237 * gdb.base/async.exp: Likewise.
20238 * gdb.base/attach.exp: Likewise.
20239 * gdb.base/bang.exp: Likewise.
20240 * gdb.base/bigcore.exp: Likewise.
20241 * gdb.base/bitfields.exp: Likewise.
20242 * gdb.base/bitfields2.exp: Likewise.
20243 * gdb.base/break.exp: Likewise.
20244 * gdb.base/call-sc.exp: Likewise.
20245 * gdb.base/call-strs.exp: Likewise.
20246 * gdb.base/callfuncs.exp: Likewise.
20247 * gdb.base/checkpoint.exp: Likewise.
20248 * gdb.base/chng-syms.exp: Likewise.
20249 * gdb.base/code-expr.exp: Likewise.
20250 * gdb.base/commands.exp: Likewise.
20251 * gdb.base/completion.exp: Likewise.
20252 * gdb.base/cond-expr.exp: Likewise.
20253 * gdb.base/condbreak.exp: Likewise.
20254 * gdb.base/consecutive.exp: Likewise.
20255 * gdb.base/constvars.exp: Likewise.
20256 * gdb.base/corefile.exp: Likewise.
20257 * gdb.base/cvexpr.exp: Likewise.
20258 * gdb.base/dbx.exp: Likewise.
20259 * gdb.base/define.exp: Likewise.
20260 * gdb.base/detach.exp: Likewise.
20261 * gdb.base/display.exp: Likewise.
20262 * gdb.base/dump.exp: Likewise.
20263 * gdb.base/ena-dis-br.exp: Likewise.
20264 * gdb.base/ending-run.exp: Likewise.
20265 * gdb.base/environ.exp: Likewise.
20266 * gdb.base/eval-skip.exp: Likewise.
20267 * gdb.base/exprs.exp: Likewise.
20268 * gdb.base/fileio.exp: Likewise.
20269 * gdb.base/finish.exp: Likewise.
20270 * gdb.base/float.exp: Likewise.
20271 * gdb.base/foll-exec.exp: Likewise.
20272 * gdb.base/foll-fork.exp: Likewise.
20273 * gdb.base/foll-vfork.exp: Likewise.
20274 * gdb.base/freebpcmd.exp: Likewise.
20275 * gdb.base/funcargs.exp: Likewise.
20276 * gdb.base/gcore.exp: Likewise.
20277 * gdb.base/gdb1090.exp: Likewise.
20278 * gdb.base/gdb1250.exp: Likewise.
20279 * gdb.base/huge.exp: Likewise.
20280 * gdb.base/info-proc.exp: Likewise.
20281 * gdb.base/interrupt.exp: Likewise.
20282 * gdb.base/jump.exp: Likewise.
20283 * gdb.base/langs.exp: Likewise.
20284 * gdb.base/lineinc.exp: Likewise.
20285 * gdb.base/list.exp: Likewise.
20286 * gdb.base/logical.exp: Likewise.
20287 * gdb.base/long_long.exp: Likewise.
20288 * gdb.base/macscp.exp: Likewise.
20289 * gdb.base/maint.exp: Likewise.
20290 * gdb.base/mips_pro.exp: Likewise.
20291 * gdb.base/miscexprs.exp: Likewise.
20292 * gdb.base/multi-forks.exp: Likewise.
20293 * gdb.base/opaque.exp: Likewise.
20294 * gdb.base/overlays.exp: Likewise.
20295 * gdb.base/pc-fp.exp: Likewise.
20296 * gdb.base/pointers.exp: Likewise.
20297 * gdb.base/printcmds.exp: Likewise.
20298 * gdb.base/psymtab.exp: Likewise.
20299 * gdb.base/ptype.exp: Likewise.
20300 * gdb.base/recurse.exp: Likewise.
20301 * gdb.base/relational.exp: Likewise.
20302 * gdb.base/relocate.exp: Likewise.
20303 * gdb.base/remote.exp: Likewise.
20304 * gdb.base/reread.exp: Likewise.
20305 * gdb.base/restore.exp: Likewise.
20306 * gdb.base/return.exp: Likewise.
20307 * gdb.base/return2.exp: Likewise.
20308 * gdb.base/scope.exp: Likewise.
20309 * gdb.base/sect-cmd.exp: Likewise.
20310 * gdb.base/sep.exp: Likewise.
20311 * gdb.base/sepdebug.exp: Likewise.
20312 * gdb.base/setshow.exp: Likewise.
20313 * gdb.base/setvar.exp: Likewise.
20314 * gdb.base/sigall.exp: Likewise.
20315 * gdb.base/sigbpt.exp: Likewise.
20316 * gdb.base/signals.exp: Likewise.
20317 * gdb.base/signull.exp: Likewise.
20318 * gdb.base/sizeof.exp: Likewise.
20319 * gdb.base/solib.exp: Likewise.
20320 * gdb.base/step-line.exp: Likewise.
20321 * gdb.base/step-test.exp: Likewise.
20322 * gdb.base/structs.exp: Likewise.
20323 * gdb.base/structs2.exp: Likewise.
20324 * gdb.base/term.exp: Likewise.
20325 * gdb.base/twice.exp: Likewise.
20326 * gdb.base/until.exp: Likewise.
20327 * gdb.base/varargs.exp: Likewise.
20328 * gdb.base/volatile.exp: Likewise.
20329 * gdb.base/watchpoint.exp: Likewise.
20330 * gdb.base/whatis-exp.exp: Likewise.
20331 * gdb.base/whatis.exp: Likewise.
20332 * gdb.cp/ambiguous.exp: Likewise.
20333 * gdb.cp/annota2.exp: Likewise.
20334 * gdb.cp/annota3.exp: Likewise.
20335 * gdb.cp/bool.exp: Likewise.
20336 * gdb.cp/breakpoint.exp: Likewise.
20337 * gdb.cp/casts.exp: Likewise.
20338 * gdb.cp/class2.exp: Likewise.
20339 * gdb.cp/classes.exp: Likewise.
20340 * gdb.cp/cplusfuncs.exp: Likewise.
20341 * gdb.cp/ctti.exp: Likewise.
20342 * gdb.cp/derivation.exp: Likewise.
20343 * gdb.cp/exception.exp: Likewise.
20344 * gdb.cp/gdb1355.exp: Likewise.
20345 * gdb.cp/hang.exp: Likewise.
20346 * gdb.cp/inherit.exp: Likewise.
20347 * gdb.cp/local.exp: Likewise.
20348 * gdb.cp/m-data.exp: Likewise.
20349 * gdb.cp/m-static.exp: Likewise.
20350 * gdb.cp/member-ptr.exp: Likewise.
20351 * gdb.cp/method.exp: Likewise.
20352 * gdb.cp/misc.exp: Likewise.
20353 * gdb.cp/namespace.exp: Likewise.
20354 * gdb.cp/overload.exp: Likewise.
20355 * gdb.cp/ovldbreak.exp: Likewise.
20356 * gdb.cp/pr-1023.exp: Likewise.
20357 * gdb.cp/pr-1210.exp: Likewise.
20358 * gdb.cp/pr-574.exp: Likewise.
20359 * gdb.cp/printmethod.exp: Likewise.
20360 * gdb.cp/psmang.exp: Likewise.
20361 * gdb.cp/ref-params.exp: Likewise.
20362 * gdb.cp/ref-types.exp: Likewise.
20363 * gdb.cp/rtti.exp: Likewise.
20364 * gdb.cp/templates.exp: Likewise.
20365 * gdb.cp/try_catch.exp: Likewise.
20366 * gdb.cp/userdef.exp: Likewise.
20367 * gdb.cp/virtfunc.exp: Likewise.
20368 * gdb.disasm/am33.exp: Likewise.
20369 * gdb.disasm/h8300s.exp: Likewise.
20370 * gdb.disasm/mn10300.exp: Likewise.
20371 * gdb.disasm/sh3.exp: Likewise.
20372 * gdb.disasm/t01_mov.exp: Likewise.
20373 * gdb.disasm/t02_mova.exp: Likewise.
20374 * gdb.disasm/t03_add.exp: Likewise.
20375 * gdb.disasm/t04_sub.exp: Likewise.
20376 * gdb.disasm/t05_cmp.exp: Likewise.
20377 * gdb.disasm/t06_ari2.exp: Likewise.
20378 * gdb.disasm/t07_ari3.exp: Likewise.
20379 * gdb.disasm/t08_or.exp: Likewise.
20380 * gdb.disasm/t09_xor.exp: Likewise.
20381 * gdb.disasm/t10_and.exp: Likewise.
20382 * gdb.disasm/t11_logs.exp: Likewise.
20383 * gdb.disasm/t12_bit.exp: Likewise.
20384 * gdb.disasm/t13_otr.exp: Likewise.
20385 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
20386 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
20387 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
20388 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
20389 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
20390 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
20391 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
20392 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
20393 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
20394 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
20395 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
20396 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
20397 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
20398 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
20399 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
20400 * gdb.mi/gdb701.exp: Likewise.
20401 * gdb.mi/gdb792.exp: Likewise.
20402 * gdb.mi/mi-basics.exp: Likewise.
20403 * gdb.mi/mi-break.exp: Likewise.
20404 * gdb.mi/mi-cli.exp: Likewise.
20405 * gdb.mi/mi-console.exp: Likewise.
20406 * gdb.mi/mi-disassemble.exp: Likewise.
20407 * gdb.mi/mi-eval.exp: Likewise.
20408 * gdb.mi/mi-file.exp: Likewise.
20409 * gdb.mi/mi-read-memory.exp: Likewise.
20410 * gdb.mi/mi-regs.exp: Likewise.
20411 * gdb.mi/mi-return.exp: Likewise.
20412 * gdb.mi/mi-simplerun.exp: Likewise.
20413 * gdb.mi/mi-stack.exp: Likewise.
20414 * gdb.mi/mi-stepi.exp: Likewise.
20415 * gdb.mi/mi-syn-frame.exp: Likewise.
20416 * gdb.mi/mi-until.exp: Likewise.
20417 * gdb.mi/mi-var-block.exp: Likewise.
20418 * gdb.mi/mi-var-child.exp: Likewise.
20419 * gdb.mi/mi-var-cmd.exp: Likewise.
20420 * gdb.mi/mi-var-display.exp: Likewise.
20421 * gdb.mi/mi-watch.exp: Likewise.
20422 * gdb.mi/mi2-basics.exp: Likewise.
20423 * gdb.mi/mi2-break.exp: Likewise.
20424 * gdb.mi/mi2-cli.exp: Likewise.
20425 * gdb.mi/mi2-console.exp: Likewise.
20426 * gdb.mi/mi2-disassemble.exp: Likewise.
20427 * gdb.mi/mi2-eval.exp: Likewise.
20428 * gdb.mi/mi2-file.exp: Likewise.
20429 * gdb.mi/mi2-read-memory.exp: Likewise.
20430 * gdb.mi/mi2-regs.exp: Likewise.
20431 * gdb.mi/mi2-return.exp: Likewise.
20432 * gdb.mi/mi2-simplerun.exp: Likewise.
20433 * gdb.mi/mi2-stack.exp: Likewise.
20434 * gdb.mi/mi2-stepi.exp: Likewise.
20435 * gdb.mi/mi2-syn-frame.exp: Likewise.
20436 * gdb.mi/mi2-until.exp: Likewise.
20437 * gdb.mi/mi2-var-block.exp: Likewise.
20438 * gdb.mi/mi2-var-child.exp: Likewise.
20439 * gdb.mi/mi2-var-cmd.exp: Likewise.
20440 * gdb.mi/mi2-var-display.exp: Likewise.
20441 * gdb.mi/mi2-watch.exp: Likewise.
20442 * gdb.stabs/exclfwd.exp: Likewise.
20443 * gdb.stabs/weird.exp: Likewise.
20444 * gdb.threads/gcore-thread.exp: Likewise.
20445 * gdb.trace/actions.exp: Likewise.
20446 * gdb.trace/backtrace.exp: Likewise.
20447 * gdb.trace/circ.exp: Likewise.
20448 * gdb.trace/collection.exp: Likewise.
20449 * gdb.trace/deltrace.exp: Likewise.
20450 * gdb.trace/infotrace.exp: Likewise.
20451 * gdb.trace/limits.exp: Likewise.
20452 * gdb.trace/packetlen.exp: Likewise.
20453 * gdb.trace/passc-dyn.exp: Likewise.
20454 * gdb.trace/passcount.exp: Likewise.
20455 * gdb.trace/report.exp: Likewise.
20456 * gdb.trace/save-trace.exp: Likewise.
20457 * gdb.trace/tfind.exp: Likewise.
20458 * gdb.trace/tracecmd.exp: Likewise.
20459 * gdb.trace/while-dyn.exp: Likewise.
20460 * gdb.trace/while-stepping.exp: Likewise.
20461
204622006-08-08 Joel Brobecker <brobecker@adacore.com>
20463
20464 * gdb.base/step-bt.c: New file.
20465 * gdb.base/step-bt.exp: New testcase.
20466
204672006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
20468
20469 * config/monitor.exp (gdb_load): Remove support for obsolete
20470 download-write-size.
20471 * gdb.base/remote.exp: Likewise. Update all callers of
20472 gdb_timed_load.
20473
204742006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
20475
20476 * cursal.exp: Pass binfile to gdb_load.
20477
204782006-08-01 Nathan Sidwell <nathan@codesourcery.com>
20479
20480 * gdb.base/cursal.exp: Add "" to gdb_load call.
20481
204822006-07-29 Mark Kettenis <kettenis@gnu.org>
20483
20484 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
20485 NetBSD/ELF targets.
20486
204872006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
20488
20489 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
20490 operator*.
20491
204922006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
20493
20494 * gdb.base/completion.exp: Update for change in "file" behavior.
20495 * gdb.stabs/weird.exp: Likewise.
20496 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
20497 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
20498
204992006-07-24 Nathan Sidwell <nathan@codesourcery.com>
20500
20501 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
20502 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
20503
205042006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
20505
20506 * gdb.base/default.exp: Update source command error message.
20507 * gdb.base/help.exp: Update 'help source' message.
20508
205092006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
20510
20511 * gdb.cp/bs15503.exp: Update comment for no longer crashing
20512 test.
20513
205142006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
20515
20516 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
20517
205182006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
20519
20520 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
20521
205222006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
20523
20524 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
20525
205262006-07-17 Mark Kettenis <kettenis@gnu.org>
20527
20528 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
20529 *-*-openbsd* from targets for wich we expect ARM FPA floating
20530 point format.
20531
205322006-07-17 Nick Roberts <nickrob@snap.net.nz>
20533
20534 * gdb.cp/annota3.exp: Expect frame-begin annotation.
20535
205362006-07-17 Mark Kettenis <kettenis@gnu.org>
20537
20538 * gdb.base/annota3.exp: Expect frame-begin annotation.
20539
205402006-07-14 Joel Brobecker <brobecker@adacore.com>
20541
20542 * gdb.base/help.exp: Adjust "help unset" test to accept
20543 any list of unset commands.
20544
205452006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
20546 Daniel Jacobowitz <dan@codesourcery.com>
20547
20548 * gdb.cp/ref-params.exp: New test.
20549 * gdb.cp/ref-params.cc: New source file.
20550 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
20551
205522006-07-08 Mark Kettenis <kettenis@gnu.org>
20553
20554 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
20555 spaces/tabs in regular expressions since they might not be there.
20556
205572006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
20558
20559 * gdb.base/ifelse.exp: New file.
20560
205612006-07-04 Nathan Sidwell <nathan@codesourcery.com>
20562
20563 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
20564 line.
20565 * gdb.base/huge.exp: Loop over compilation to find a size that
20566 is acceptable.
20567 * gdb.base/remote.exp: Correct expected strings.
20568 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
20569
205702006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
20571
20572 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
20573
205742006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
20575
20576 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
20577 native.
20578
205792006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
20580
20581 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
20582 enable stabs testing.
20583
205842006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
20585
20586 * gdb.base/auxv.exp: Intercept undefined command messages before
20587 gdb_test_multiple does.
20588
205892006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
20590
20591 * Makefile.in (host_alias): Remove.
20592 (target_alias): Use @target_noncanonical@.
20593 (site.exp): Don't set host_alias.
20594 * aclocal.m4: Remove contents. Include acx.m4.
20595 * configure: Regenerated.
20596 * configure.ac: Use ACX_NONCANONICAL_TARGET.
20597
205982006-06-13 Nathan Sidwell <nathan@codesourcery.com>
20599
20600 * lib/gdb.exp (gdb_load_cmd): New.
20601
20602 * gdb.base/fileio.c: Add system(NULL) test.
20603 * gdb.base/fileio.exp: Check it.
20604
20605 * gdb.base/break.c: Add 10a breakpoint at }
20606 * gdb.base/break.exp: Add test for breakpoint at }
20607 * gdb.cp/anon-union.cc: Add code at end of function.
20608 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
20609 * gdb.mi/var-cmd.c: Add code at end of function.
20610 * gdb.mi/mi-var-display.exp: Adjust end of next.
20611 * gdb.mi/mi2-var-display.exp: Likewise.
20612 * gdb.base/fileio.c: Add stop function and insert calls at
20613 stopping places.
20614 * gdb.base/fileio.exp: Breakpoint stop function and remove
20615 explicit line number references.
20616
206172006-05-19 Joel Brobecker <brobecker@adacore.com>
20618
20619 * gdb.base/del.exp (test_delete_alias): New function.
20620 Now check that both "del" and "d" work as aliases for "delete".
20621
206222006-05-18 Fred Fish <fnf@specifix.com>
20623
20624 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
20625 required. Check for spurious output after program exits normally.
20626
206272006-05-17 Fred Fish <fnf@specifix.com>
20628
20629 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
20630 gdb_load, so it works in the simulator.
20631
206322006-05-11 Fred Fish <fnf@specifix.com>
20633
20634 * gdb.base/bang.exp: Ignore unexpected output between the
20635 "program exited normally" and the gdb prompt, as many other
20636 tests do.
20637
206382006-05-07 Mark Kettenis <kettenis@gnu.org>
20639
20640 * gdb.base/help.exp: Make "delete checkpoint" part option for
20641 "help d" and "help delete" tests.
20642
206432006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20644
20645 * gdb.mi/mi-basics.exp: Add missing serial number to
20646 expected output in some mi_gdb_test statements.
20647 * gdb.mi/mi2-basics.exp: Likewise.
20648
206492006-05-05 Joel Brobecker <brobecker@adacore.com>
20650
20651 * gdb.base/del.c: New file.
20652 * gdb.base/del.exp: New testcase.
20653
206542006-05-05 David S. Miller <davem@sunset.davemloft.net>
20655
20656 * gdb.base/break.exp: Do not assume a breakpoint on
20657 main will actually be in $srcfile when optimizing.
20658 * gdb.base/savedregs.exp: Do not require that the dummy
20659 frame location match up to a symbol and source file location.
20660 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
20661 will get printed without a mi_cmd_data_list_register_values prefix.
20662 (*-data-list-register-*): Correct regular expressions to expect the new
20663 pseudo d? floating point registers.
20664 * gdb.mi/mi2-regs.exp: Likewise.
20665
206662006-05-05 Christophe Lyon <christophe.lyon@st.com>
20667
20668 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
20669 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
20670 is allocated by the compiler.
20671 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
20672 anons, e, anone to force their allocation by the compiler.
20673
206742006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
20675
20676 * gdb.base/help.exp: Update expected text for help d and
20677 help delete.
20678
206792006-05-02 Mark Kettenis <kettenis@gnu.org>
20680
20681 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
20682 NetBSD/ELF targets.
20683
206842006-04-30 Mark Kettenis <kettenis@gnu.org>
20685
20686 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
20687 single-step breakpoint fails; make this a KFAIL on
20688 sparc*-*-openbsd*.
20689 * gdb.base/siginfo.exp: Likewise.
20690 * gdb.base/sigstep.exp (advance, advancei): Likewise.
20691
206922006-04-26 Michael Snyder <msnyder@redhat.com>
20693
20694 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
20695 which may have to consume output from other forks.
20696 Add tests to make sure that "delete fork" succeeded.
20697
206982006-04-20 Michael Snyder <msnyder@redhat.com>
20699
20700 * 2006-03-22 Jim Blandy <jimb@redhat.com>
20701 Add support for the Renesas M32C and M16C.
20702
20703 * gdb.asm/asm-source.exp: Add m32c target.
20704 * gdb.asm/m32c.inc: Support for m32c target.
20705
207062006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
20707
20708 * gdb.base/commands.exp (recursive_source_test): New test.
20709
207102006-04-04 David S. Miller <davem@sunset.davemloft.net>
20711
20712 * gdb.base/float.exp: Add pattern for sparc targets.
20713
207142006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
20715
20716 * gdb.base/commands.exp (stray_arg0_test): New test.
20717
207182006-03-30 Paul Brook <paul@codesourcery.com>
20719
20720 * gdb.mi/mi-until.exp: kfail broken until command.
20721 * gdb.mi/mi2-until.exp: Ditto.
20722
207232006-03-27 Nick Roberts <nickrob@snap.net.nz>
20724
20725 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
20726
207272006-03-08 Alexandre Oliva <aoliva@redhat.com>
20728
20729 * gdb.base/prelink.exp: Anchor tested-for regular expression
20730 on gdb prompt.
20731
207322006-03-07 Paul Brook <paul@codesourcery.com>
20733
20734 * gdb.base/assign.exp: Correct fail message.
20735
207362006-03-07 Paul Brook <paul@codesourcery.com>
20737
20738 * lib/compiler.c: Extract armcc version number.
20739 * lib/compiler.cc: Ditto.
20740
207412006-03-07 Paul Brook <paul@codesourcery.com>
20742
20743 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
20744 additional_flags=-w.
20745 * gdb.arch/altivec-regs.exp: Ditto.
20746 * gdb.arch/e500-abi.exp: Ditto.
20747 * gdb.arch/e500-regs.exp: Ditto.
20748 * gdb.base/all-bin.exp: Ditto.
20749 * gdb.base/annota1.exp: Ditto.
20750 * gdb.base/annota3.exp: Ditto.
20751 * gdb.base/args.exp: Ditto.
20752 * gdb.base/arithmet.exp: Ditto.
20753 * gdb.base/assign.exp: Ditto.
20754 * gdb.base/async.exp: Ditto.
20755 * gdb.base/bang.exp: Ditto.
20756 * gdb.base/break.exp: Ditto.
20757 * gdb.base/call-rt-st.exp: Ditto.
20758 * gdb.base/completion.exp: Ditto.
20759 * gdb.base/cond-expr.exp: Ditto.
20760 * gdb.base/condbreak.exp: Ditto.
20761 * gdb.base/consecutive.exp: Ditto.
20762 * gdb.base/define.exp: Ditto.
20763 * gdb.base/display.exp: Ditto.
20764 * gdb.base/ena-dis-br.exp: Ditto.
20765 * gdb.base/environ.exp: Ditto.
20766 * gdb.base/eval-skip.exp: Ditto.
20767 * gdb.base/info-proc.exp: Ditto.
20768 * gdb.base/jump.exp: Ditto.
20769 * gdb.base/logical.exp: Ditto.
20770 * gdb.base/long_long.exp: Ditto.
20771 * gdb.base/maint.exp: Ditto.
20772 * gdb.base/miscexprs.exp: Ditto.
20773 * gdb.base/pc-fp.exp: Ditto.
20774 * gdb.base/pointers.exp: Ditto.
20775 * gdb.base/relational.exp: Ditto.
20776 * gdb.base/reread.exp: Ditto.
20777 * gdb.base/sect-cmd.exp: Ditto.
20778 * gdb.base/sep.exp: Ditto.
20779 * gdb.base/sepdebug.exp: Ditto.
20780 * gdb.base/until.exp: Ditto.
20781 * gdb.base/whatis-exp.exp: Ditto.
20782 * gdb.cp/annota2.exp: Ditto.
20783 * gdb.cp/annota3.exp: Ditto.
20784 * gdb.trace/actions.exp: Ditto.
20785 * gdb.trace/backtrace.exp: Ditto.
20786 * gdb.trace/circ.exp: Ditto.
20787 * gdb.trace/collection.exp: Ditto.
20788 * gdb.trace/deltrace.exp: Ditto.
20789 * gdb.trace/infotrace.exp: Ditto.
20790 * gdb.trace/limits.exp: Ditto.
20791 * gdb.trace/packetlen.exp: Ditto.
20792 * gdb.trace/passc-dyn.exp: Ditto.
20793 * gdb.trace/passcount.exp: Ditto.
20794 * gdb.trace/report.exp: Ditto.
20795 * gdb.trace/save-trace.exp: Ditto.
20796 * gdb.trace/tfind.exp: Ditto.
20797 * gdb.trace/tracecmd.exp: Ditto.
20798 * gdb.trace/while-dyn.exp: Ditto.
20799 * gdb.trace/while-stepping.exp: Ditto.
20800 * lib/gdb.exp: Ditto.
20801 (gdb_compile): Handle nowarning option.
20802
208032006-03-07 Alexandre Oliva <aoliva@redhat.com>
20804
20805 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
20806 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
20807 Rename executable to prelinkt. Don't re-prelink if we didn't
20808 get a core file. Test prelink -u exit status to tell whether
20809 prelinking failed. Use gdb_test_multiple.
20810
208112006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
20812
20813 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
20814 (do_tests): Call it.
20815
208162006-02-28 Alexandre Oliva <aoliva@redhat.com>
20817
20818 * gdb.base/prelink.exp: New test.
20819 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
20820
208212006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
20822
20823 * gdb.fortran/derived-type.f90: New file.
20824 * gdb.fortran/derived-type.exp: New testcase.
20825
208262006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
20827
20828 * gdb.base/default.exp: Allow ';' as a directory separator.
20829
208302006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
20831
20832 * gdb.base/help.exp (help add-symbol-file): Update.
20833
208342006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
20835
20836 * gdb.base/help.exp (help load): Update expected results.
20837
208382006-02-19 Fred Fish <fnf@specifix.com>
20839
20840 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
20841 specifix hex value as part of results.
20842 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
20843
208442006-02-16 Fred Fish <fnf@specifix.com>
20845
20846 * gdb.base/whatis.c: Define variables using typedefs char_addr,
20847 ushort_addr, and slong_addr, so the typedefs are not optimized
20848 away.
20849 * gdb.base/whatis.exp: Add tests using type name for struct type,
20850 union type, enum type, and typedef.
20851
208522006-02-13 Mark Kettenis <kettenis@gnu.org>
20853
20854 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
20855
208562006-02-13 Jim Blandy <jimb@redhat.com>
20857
20858 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
20859 case where it takes two "next" commands to skip past the init
20860 call.
20861
208622006-02-12 Fred Fish <fnf@specifix.com>
20863
20864 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
20865 to handle cases where it takes two "next" commands to skip
20866 past the init call.
20867
208682006-02-07 Joel Brobecker <brobecker@adacore.com>
20869
20870 * gdb.ada/array_return.exp: Mark the last test as expected to fail
20871 on hppa32 targets.
20872
208732006-02-06 Vladimir Prus <ghost@cs.msu.su>
20874
20875 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
20876 field.
20877
208782006-01-29 Mark Kettenis <kettenis@gnu.org>
20879
20880 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
20881
208822006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
20883
20884 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
20885 files.
20886
208872006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
20888
20889 * gdb.cp/maint.exp: Set complaints to a positive value.
20890
208912006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
20892
20893 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
20894 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
20895 function name.
20896
208972006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
20898
20899 * gdb.base/checkpoint.c: Update copyright notice. Include
20900 <stdlib.h>.
20901
209022006-01-04 Jim Blandy <jimb@redhat.com>
20903
20904 * gdb.asm/asm-source.exp: Independently provide default values for
20905 asm-flags and debug-flags. Use 'string equal' to do the
20906 comparison, not the implicit expr's '==' operator. Remove
20907 now-unneeded assignments to asm-flags. In h8300 case, place
20908 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
20909
209102006-01-04 Michael Snyder <msnyder@redhat.com>
20911
20912 * gdb.base/checkpoint.c: New file.
20913 * gdb.base/checkpoint.exp: New file.
20914 * gdb.base/multi-fork.c: New file.
20915 * gdb.base/multi-fork.exp: New file.
20916 * gdb.base/pi.txt: New file (data for checkpoint.c test).
20917
209182006-01-04 Fred Fish <fnf@specifix.com>
20919
20920 * gdb.base/ptype.c (foo): Add typedef.
20921 (intfoo): Add function.
20922 * gdb.base/ptype1.c: New file.
20923 * gdb.base/ptype.exp: Handle compilation and linking with two
20924 source files. Test that proper type for "foo" is found based
20925 on source context rather than first match found in symtabs.
20926
209272005-12-28 Mark Kettenis <kettenis@gnu.org>
20928
20929 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
20930 * gdb.asm/openbsd.inc: Indent commands.
20931
209322005-12-26 Mark Kettenis <kettenis@gnu.org>
20933
20934 * gdb.base/freebpcmd.exp: Increase timeout.
20935
20936 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
20937
209382005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
20939
20940 * gdb.base/default.exp: Update check for "show version".
20941
209422005-12-09 Randolph Chung <tausq@debian.org>
20943
20944 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
20945 * gdb.asm/pa64.inc: New file.
20946
209472005-12-09 Randolph Chung <tausq@debian.org>
20948
20949 * gdb.asm/common.inc: Indent commands.
20950 * gdb.asm/asmsrc1.s: Likewise.
20951 * gdb.asm/asmsrc2.s: Likewise.
20952
209532005-12-09 Randolph Chung <tausq@debian.org>
20954
20955 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
20956 (get_addr_of_sym): Remove duplicate print.
20957 (gen_core): xfail hppa*-*-hpux*, update expected output.
20958 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
20959 * gdb.arch/pa64-nullify.s: New file.
20960
209612005-12-09 Randolph Chung <tausq@debian.org>
20962
20963 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
20964
209652005-12-07 Christophe Lyon <christophe.lyon@st.com>
20966
20967 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
20968 code generation for these functions.
20969 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
20970 error message.
20971
209722005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
20973
20974 * gdb.base/help.exp (help b, help br, help bre, help brea)
20975 (help break): Update the expected message.
20976
209772005-11-11 Stephane Carrez <stcarrez@nerim.fr>
20978
20979 * gdb.asm/m68hc11.inc: Setup the data section.
20980 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
20981 script for this test.
20982 (m6812-*-*): Likewise.
20983
209842005-11-09 Randolph Chung <tausq@debian.org>
20985
20986 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
20987
209882005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
20989
20990 * gdb.base/break.exp: Fix a comment typo.
20991
209922005-11-03 Jim Blandy <jimb@redhat.com>
20993
20994 Checked in by Elena Zannoni <ezannoni@redhat.com>
20995
20996 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
20997
209982005-11-02 Corinna Vinschen <vinschen@redhat.com>
20999
21000 * gdb.arch/gdb1558.c: Include stdio.h.
21001
210022005-10-31 Mark Kettenis <kettenis@gnu.org>
21003
21004 * gdb.asm/asm-source.exp: Use -e instead of --entry.
21005
210062005-10-31 Mark Kettenis <kettenis@gnu.org>
21007
21008 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
21009
210102005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
21011
21012 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
21013 vscr" tests to better match output.
21014
210152005-10-12 Jim Blandy <jimb@redhat.com>
21016
21017 * gdb.base/structs.exp (any): New function.
21018 (test_struct_returns): Don't make any assumptions at all about
21019 what value the function returns when GDB can't set the return
21020 value.
21021
210222005-10-09 Joel Brobecker <brobecker@adacore.com>
21023
21024 * gdb.ada/arrayidx/p.adb: New file.
21025 * gdb.ada/arrayidx.exp: New testcase
21026
210272005-10-09 Joel Brobecker <brobecker@adacore.com>
21028
21029 * gdb.ada/array_return/pck.ads: New file.
21030 * gdb.ada/array_return/pck.adb: New file.
21031 * gdb.ada/array_return/p.adb: New file.
21032 * gdb.ada/array_return.exp: New testcase.
21033
210342005-10-03 Joel Brobecker <brobecker@adacore.com>
21035
21036 * gdb.base/arrayidx.c: New file.
21037 * gdb.base/arrayidx.exp: New testcase.
21038
210392005-09-29 Nick Roberts <nickrob@snap.net.nz>
21040
21041 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
21042 frames-invalid and breakpoints-invalid are no longer generated
21043 with level 3 so don't expect them in the output.
21044
210452005-09-27 Bob Rossi <bob@brasko.net>
21046
21047 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
21048 from test. Escape the | in mi_gdb_test call.
21049 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
21050 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
21051 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
21052 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
21053 expected regex's in mi_gdb_test calls.
21054 * lib/mi-support.exp: Remove arbitrary .* from tests.
21055 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
21056 Fully anchor GDB/MI expected results in mi_gdb_test.
21057 * lib/gdb.exp (string_to_regexp): Escape the ] character.
21058 * gdb.base/sizeof.exp: Remove escape character. Correct test.
21059
210602005-09-26 Paul Brook <paul@codesourcery.com>
21061
21062 * long_long.exp: Exclude eabi targets from arm FPA float format test.
21063
210642005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
21065
21066 * bfp-test.c: New file.
21067 * bfp-test.exp: New testcase.
21068
210692005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
21070
21071 * gdb.fortran/subarray.exp: New testcase to test the evaluation
21072 of subarray and substring variable.
21073 * gdb.fortran/subarray.f: New source file for the test of subarray
21074 and substring variable evaluation.
21075 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
21076 of string constant.
21077
210782005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
21079
21080 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
21081 copyright dates.
21082
210832005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
21084
21085 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
21086 powerpc altivec' test with an almost identical 'info vector' test.
21087
210882005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
21089
21090 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
21091 vscr" tests to match output.
21092
210932005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
21094
21095 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
21096 output.
21097
210982005-09-11 Bob Rossi <bob@brasko.net>
21099
21100 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
21101 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
21102 commands that return an MI output command and an asyncronous MI output
21103 command.
21104 * gdb.mi/mi-console.exp: Ditto.
21105
211062005-09-11 Bob Rossi <bob@brasko.net>
21107
21108 * gdb.mi/mi-var-child.c: Include <string.h>.
21109
211102005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
21111
21112 * killed.exp: Correct gdb_expect syntax.
21113
211142005-08-09 Corinna Vinschen <vinschen@redhat.com>
21115
21116 * lib/mi-support.exp (mi_gdb_load): Fix typo.
21117
211182005-08-02 Bob Rossi <bob@brasko.net>
21119
21120 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
21121 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
21122 Change tests to inferior-tty-set/show.
21123 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
21124 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
21125 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
21126 inferior. Use mi_gdb_test to get GDB and Inferior output.
21127 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
21128 descriptor.
21129 (mi_inferior_tty_name): Add inferior PTY file name.
21130 (mi_gdb_start): Add INFERIOR_PTY parameter.
21131 (mi_gdb_test): Add IPATTERN parameter.
21132
211332005-08-02 Bob Rossi <bob@brasko.net>
21134
21135 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
21136 parameter to mi_gdb_test.
21137 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
21138
211392005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
21140
21141 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
21142 struct_declarations.
21143 * gdb.mi/mi-var-child.exp: Step over the initialization of
21144 struct_declarations.
21145
211462005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
21147
21148 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
21149 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
21150 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
21151 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
21152 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
21153 file.
21154
211552005-07-27 Nick Roberts <nickrob@snap.net.nz>
21156
21157 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
21158 (do_children_tests): Assign values to the extra elements.
21159
21160 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
21161 them for tests for "-var-update --no-values" and
21162 "-var-update --all-values".
21163 Add test for "-var-list-children --simple-values".
21164
21165 * gdb.mi/basics.c (callee4): Add integer array D[3]...
21166
21167 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
21168 "-stack-list-locals --simple-values" Improve doc strings and
21169 comments.
21170
211712005-07-18 Mark Kettenis <kettenis@gnu.org>
21172
21173 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
21174 *-*-openbsd*.
21175 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
21176
21177 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
21178 sigaltsatck'.
21179
211802005-07-14 Bob Rossi <bob@brasko.net>
21181
21182 * gdb.base/default.exp (tty): Changed output of command.
21183 * gdb.base/help.exp (help tty): Ditto.
21184
211852005-07-12 Mark Kettenis <kettenis@gnu.org>
21186
21187 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
21188
211892005-07-10 Mark Kettenis <kettenis@gnu.org>
21190
21191 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
21192 -stack-select-frame without arguments.
21193 (test_stack_frame_listing): Add test for newly implemented command
21194 -stack-info-frame.
21195
211962005-07-06 Bob Rossi <bob@brasko.net>
21197
21198 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
21199 command.
21200 (Copyright): Update copyright.
21201
212022005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
21203
21204 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
21205 tests to evaluate exponentiation expression.
21206
212072005-06-29 Andreas Schwab <schwab@suse.de>
21208
21209 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
21210 main to avoid warnings.
21211
21212 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
21213
212142005-06-20 Nick Roberts <nickrob@snap.net.nz>
21215
21216 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
21217 -stack-select-frame without arguments.
21218 (test_stack_frame_listing): Add test for newly implemented command
21219 -stack-info-frame.
21220
212212005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
21222
21223 * gdb.fortran/array-element.f: New file.
21224 * gdb.fortran/array-element.exp: New testcase.
21225
212262005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
21227
21228 * gdb.base/bigcore.exp: Correct checks for systems which can
21229 not dump a large core file.
21230
212312005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
21232
21233 * gdb.base/relocate.c: Add a copyright notice.
21234 (dummy): Remove.
21235 * gdb.base/relocate.exp: Test printing the values of variables
21236 from a relocatable file.
21237
212382005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
21239
21240 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
21241 excess MI output after an error.
21242
212432005-05-29 Joel Brobecker <brobecker@adacore.com>
21244
21245 * gdb.arch/alpha-step.c: New file.
21246 * gdb.arch/alpha-step.exp: New testcase.
21247
212482005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
21249 Dennis Brueni <dennis@slickedit.com>
21250
21251 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
21252 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
21253 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
21254 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
21255 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
21256 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
21257 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
21258
212592005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
21260 Wu Zhou <woodzltc@cn.ibm.com>
21261
21262 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
21263 IBM's xlc compiler.
21264 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
21265 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
21266
212672005-05-13 Jim Blandy <jimb@redhat.com>
21268
21269 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
21270 calling gdb_suppress_entire_file.
21271 * gdb.base/charset.exp: Same.
21272 * gdb.base/call-rt-st.exp: Same.
21273
212742005-05-05 Bob Rossi <bob_rossi@cox.net>
21275
21276 * lib/gdb.exp (fullname_syntax): Added global regex.
21277 (fullname_syntax_POSIX): Ditto.
21278 (fullname_syntax_UNC): Ditto.
21279 (fullname_syntax_DOS_CASE): Ditto.
21280 (fullname_syntax_DOS): Ditto.
21281 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
21282 fullname_syntax variable to scope and use it.
21283 (test_file_list_exec_source_files): Ditto.
21284 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
21285
212862005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
21287
21288 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
21289
212902004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
21291
21292 * lib/gdb.exp (skip_altivec_tests): New function, based on
21293 check_vmx_hw_available from the GCC testsuite.
21294 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
21295 * lib/gdb.arch/altivec-regs.exp: Likewise.
21296
212972005-05-02 Jim Blandy <jimb@redhat.com>
21298
21299 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
21300 calling gdb_suppress_entire_file.
21301
213022005-04-30 Randolph Chung <tausq@debian.org>
21303
21304 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
21305 Slightly relax "sem_post" name checking.
21306
213072005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
21308
21309 * gdb.base/unload.exp: Use new shared library infrastructure.
21310
213112005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
21312
21313 * gdb.base/so-impl-ld.exp: Use new shared library
21314 infrastructure.
21315
213162005-04-29 Corinna Vinschen <vinschen@redhat.com>
21317
21318 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
21319 * gdb.asm/h8300.inc: New file.
21320
213212005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
21322
21323 * gdb.base/shlib-call.exp: Change to use new shared library
21324 infrastructure.
21325
213262005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
21327
21328 * gdb.base/pending.exp: Change to use new shared library
21329 infrastructure.
21330
213312005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
21332
21333 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
21334 use test_compiler_info instead of gcc_compiled, and update copyright.
21335
213362005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
21337
21338 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
21339 shared objects being adjusted and update copyright years.
21340
213412005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
21342
21343 * ChangeLog: Correct some 2003-01-13 dates.
21344 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
21345 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
21346 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
21347 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
21348 gdb.trace/tfind.exp: Update copyright years.
21349
213502005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
21351 Daniel Jacobowitz <dan@codesourcery.com>
21352
21353 * lib/gdb.exp (gdb_compile): Handle shlib=.
21354 (gdb_compile_shlib): New function.
21355
213562005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
21357
21358 * lib/gdb.exp (test_compiler_info): Give argument a default value.
21359
213602005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
21361
21362 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
21363 gdb.server.
21364 * configure.ac: Likewise.
21365 * configure: Regenerated.
21366 * gdb.gdbserver/Makefile.in: Moved to...
21367 * gdb.server/Makefile.in: ... here.
21368 * gdb.gdbserver/server.c: Moved to...
21369 * gdb.server/server.c: ... here.
21370 * gdb.gdbserver/server-run.exp: Moved to...
21371 * gdb.server/server-run.exp: ... here.
21372
213732005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
21374
21375 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
21376 * configure.ac: Create gdb.gdbserver/Makefile.
21377 * configure: Regenerated.
21378 * lib/gdbserver-support.exp: New file, derived from
21379 config/gdbserver.exp.
21380 * config/gdbserver.exp: Use gdbserver-support.exp.
21381 * gdb.gdbserver/Makefile.in: New file.
21382 * gdb.gdbserver/server.c: New file.
21383 * gdb.gdbserver/server-run.exp: New file.
21384
213852005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
21386
21387 * lib/gdb.exp (test_compiler_info): Return compiler_info
21388 if no arguments are given.
21389
213902005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
21391
21392 * gdb.arch/altivec-abi.exp: Check for compiler and set
21393 use altivec' flag accordingly.
21394 * gdb.arch/altivec-regs.exp: Likewise.
21395
213962005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
21397
21398 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
21399
214002005-03-27 Andreas Schwab <schwab@suse.de>
21401
21402 * gdb.base/bigcore.c (main): Add missing mode argument in open
21403 call.
21404
214052005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
21406
21407 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
21408 downloads.
21409 * config/gdbserver.exp (gdb_load): Likewise.
21410
214112005-03-14 Paul Brook <paul@codesourcery.com>
21412
21413 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
21414 targets.
21415
214162005-03-09 Joel Brobecker <brobecker@adacore.com>
21417
21418 * gdb.dwarf2/dup-psym.S: New file.
21419 * gdb.dwarf2/dup-psym.exp: New testcase.
21420
214212005-03-09 Joel Brobecker <brobecker@adacore.com>
21422
21423 * gdb.ada/exec_changed/first.adb: New file.
21424 * gdb.ada/exec_changed/second.adb: New file.
21425 * gdb.ada/exec_changed.exp: New testcase.
21426
214272005-03-08 Nathan Sidwell <nathan@codesourcery.com>
21428
21429 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
21430 (A2): New class.
21431 (main): Test operator+.
21432 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
21433 breakpoint test.
21434
21435 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
21436 * gdb.base/signull.exp: Disable if gdb,nosignals.
21437 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
21438 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
21439 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
21440 * gdb.mi/mi2-console.exp: Likewise.
21441 * gdb.trace/collection.exp (run_trace_experiment): Consume the
21442 continue output at start.
21443 (gdb_collect_locals_test): Robustify regexp.
21444 * gdb.trace/passc-dyn.exp: Fix comment typo.
21445 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
21446
214472005-03-08 Corinna Vinschen <vinschen@redhat.com>
21448
21449 * gdb.asm/asm-source.exp: Add iq2000 case.
21450 * gdb.asm/iq2000.inc: New file.
21451
214522005-03-07 Manoj Iyer <manjo@austin.ibm.com>
21453
21454 * gdb.base/command.exp: Change hardcoded value to regular expression.
21455 * gdb.base/float.exp: Add powerpc to the list of targets checked.
21456
214572005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
21458
21459 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
21460 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
21461 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
21462 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
21463 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
21464
214652005-03-05 Mark Kettenis <kettenis@gnu.org>
21466
21467 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
21468 changes.
21469
214702004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
21471
21472 * lib/compiler.c: Add test for IBM's xlc compiler.
21473 * lib/compiler.cc: Likewise.
21474
214752004-02-24 Joel Brobecker <brobecker@adacore.com>
21476
21477 * gdb.ada/fixed_points.exp: Create compilation object directory
21478 before running the test.
21479 * gdb.ada/null_record.exp: Likewise.
21480 * gdb.ada/packed_array.exp: Likewise.
21481 * gdb.ada/start.exp: Likewise.
21482
214832005-02-15 Joel Brobecker <brobecker@adacore.com>
21484
21485 * gdb.ada/packed_array/pa.adb: New file.
21486 * gdb.ada/packed_array.exp: New testcase.
21487
214882005-02-10 Mark Kettenis <kettenis@gnu.org>
21489
21490 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
21491 files.
21492
21493 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
21494 on *-*-openbsd*. Correctly match whitespace in regukar
21495 expressions.
21496
214972005-02-10 Daniel Jacobowitz <dan@debian.org>
21498
21499 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
21500 PR exp/1821
21501 * gdb.base/gdb1821.c: New test file.
21502 * gdb.base/gdb1821.exp: New test file.
21503
215042005-02-09 Joel Brobecker <brobecker@adacore.com>
21505
21506 * gdb.base/start.c: New file.
21507 * gdb.base/start.exp: New testcase.
21508
215092005-02-09 Joel Brobecker <brobecker@adacore.com>
21510
21511 * gdb.ada/start/dummy.adb: New file.
21512 * gdb.ada/start.exp: New testcase.
21513
215142005-02-09 Corinna Vinschen <vinschen@redhat.com>
21515
21516 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
21517 for printing symbols and statistics.
21518 Add test for using relative pathnames in "maint print msymbols" test.
21519 Mark "maint info sections DATA" XFAIL on Cygwin.
21520 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
21521 tests.
21522
215232005-02-09 Andreas Schwab <schwab@suse.de>
21524
21525 Committed by Andrew Cagney <cagney@gnu.org>
21526 * gdb.base/remotetimeout.exp: New file.
21527
215282005-02-07 Mark Kettenis <kettenis@gnu.org>
21529
21530 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
21531
215322005-02-03 Joel Brobecker <brobecker@adacore.com>
21533
21534 * gdb.ada/gnat_ada.gpr: New file.
21535 * gdb.ada/gnat_ada.gin: Delete, no longer used.
21536 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
21537 * configure.ac: No longer generate gnat_ada.gpr.
21538 * configure: Regenerate.
21539 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
21540 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
21541 * gdb.ada/null_record/bar.ads: Likewise.
21542 * gdb.ada/null_record/bar.adb: Likewise.
21543 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
21544 * gdb.ada/null_record.exp (testdir): New variable.
21545 (testfile): executable is now in testdir subdirectory.
21546 (srcfile): Use full path to the main compilation unit.
21547 * gdb.ada/fixed_points.exp: Same changes as above.
21548
215492005-02-03 Nick Roberts <nickrob@snap.net.nz>
21550
21551 * gdb.base/interp.exp: New test.
21552
215532005-01-24 Andrew Cagney <cagney@gnu.org>
21554
21555 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
21556
215572005-01-19 Andrew Cagney <cagney@gnu.org>
21558
21559 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
21560 configure.ac not configure.in.
21561
21562 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
21563 of powerpc*-*-*.
21564 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
21565 * gdb.base/list.exp (test_list_function)
21566 (test_list_filename_and_function): Ditto.
21567 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
21568
215692005-01-16 Andrew Cagney <cagney@gnu.org>
21570
21571 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
21572
21573 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
21574
215752005-01-14 Andrew Cagney <cagney@gnu.org>
21576
21577 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
21578 * gdb.mi/mi2-var-cmd.exp: Ditto.
21579
215802005-01-10 Corinna Vinschen <vinschen@redhat.com>
21581
21582 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
21583
215842005-01-07 Andrew Cagney <cagney@gnu.org>
21585
21586 * configure.ac: Rename configure.in, require autoconf 2.59.
21587 * configure: Re-generate.
21588 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
21589 * gdb.stabs/configure: Re-generate.
21590 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
21591 * gdb.hp/configure: Re-generate.
21592 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
21593 autoconf 2.59.
21594 * gdb.hp/gdb.objdbg/configure: Re-generate.
21595 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
21596 autoconf 2.59.
21597 * gdb.hp/gdb.defects/configure: Re-generate.
21598 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
21599 autoconf 2.59.
21600 * gdb.hp/gdb.compat/configure: Re-generate.
21601 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
21602 autoconf 2.59.
21603 * gdb.hp/gdb.base-hp/configure: Re-generate.
21604 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
21605 autoconf 2.59.
21606 * gdb.hp/gdb.aCC/configure: Re-generate.
21607
216082004-12-15 Jim Blandy <jimb@redhat.com>
21609
21610 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
21611 under NPTL when there is debugging info available for libpthread.
21612
216132004-12-13 Jerome Guitton <guitton@gnat.com>
21614
21615 * gdb.ada/fixed_points.c: New file.
21616 * gdb.ada/fixed_points.exp: New file.
21617
216182004-12-03 Randolph Chung <tausq@debian.org>
21619
21620 * gdb.arch/pa-nullify.exp: New file.
21621 * gdb.arch/pa-nullify.s: New file.
21622
216232004-11-30 Randolph Chung <tausq@debian.org>
21624
21625 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
21626 instead of "tbug". Fix regexp to work properly with gdb_test.
21627
216282004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
21629
21630 * gdb.base/bitfields2.exp: New test.
21631 * gdb.base/bitfields2.c: New file.
21632
216332004-11-28 Richard Earnshaw <rearnsha@arm.com>
21634
21635 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
21636
216372004-11-16 Randolph Chung <tausq@debian.org>
21638
21639 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
21640
216412004-11-14 Daniel Jacobowitz <dan@debian.org>
21642
21643 * gdb.threads/threadapply.exp: Correct "macro details" test.
21644
216452004-11-11 Jeff Johnston <jjohnstn@redhat.com>
21646
21647 * gdb.threads/threadapply.exp: New test.
21648 * gdb.threads/threadapply.c: New file.
21649
216502004-11-07 Mark Kettenis <kettenis@gnu.org>
21651
21652 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
21653 frames.
21654
216552004-11-05 Felix Lee <felix+log1@specifixinc.com>
21656
21657 * gdb.base/cursal.exp: New file.
21658 * gdb.base/cursal.c: New file.
21659
216602004-11-03 Andrew Cagney <cagney@gnu.org>
21661
21662 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
21663
216642004-10-30 Mark Kettenis <kettenis@gnu.org>
21665
21666 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
21667 NetBSD/ELF targets.
21668
216692004-10-29 Joel Brobecker <brobecker@gnat.com>
21670
21671 * gdb.threads/bp_in_thread.c: New file, copied from
21672 pthread_cond_wait.c.
21673 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
21674 file, rather than reusing the .c file from another testcase.
21675
216762004-10-20 Joel Brobecker <brobecker@gnat.com>
21677
21678 * gdb.ada/null_record.exp: Check where we stopped after
21679 sending the start command, instead of where the associated
21680 temporary breakpoint was inserted.
21681
216822004-10-14 Andrew Cagney <cagney@gnu.org>
21683
21684 * gdb.mi/gdb701.c (main): Return 0.
21685
216862004-10-13 Daniel Jacobowitz <dan@debian.org>
21687
21688 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
21689
216902004-10-12 Jeff Johnston <jjohnstn@redhat.com>
21691
21692 * gdb.threads/schedlock.c: Add comment markers to use to find
21693 line numbers.
21694 * gdb.threads/schedlock.exp: Adjust regex to handle the new
21695 comments.
21696 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
21697 breakpoint lines.
21698
216992004-10-12 Daniel Jacobowitz <dan@debian.org>
21700
21701 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
21702
217032004-10-12 Daniel Jacobowitz <dan@debian.org>
21704
21705 * configure.in: Add gdb.dwarf2.
21706 * configure: Regenerated.
21707 * Makefile.in: Add gdb.dwarf2.
21708 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
21709 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
21710 gdb.dwarf2/file1.txt: New files.
21711
217122004-10-11 Orjan Friberg <orjanf@axis.com>
21713
21714 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
21715 of "run", since the latter doesn't work with remote targets. Adjust
21716 the breakpoint numbering accordingly.
21717 * gdb.threads/pthread_cond_wait.exp: Ditto.
21718
217192004-10-08 Michael Chastain <mec.gnu@mindspring.com>
21720
21721 * gdb.base/overlays.exp: Update copyright years.
21722
217232004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
21724
21725 * gdb.base/overlays.exp: Disable if target is Linux.
21726
217272004-10-06 Felix Lee <felix+log1@specifixinc.com>
21728
21729 * config/gdbserver.exp (gdb_load): Use right filename on remote.
21730
217312004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
21732
21733 * gdb.asm/asm-source.exp: Add m32r-linux target.
21734 * gdb.asm/m32r-linux.inc: New file.
21735
217362004-09-24 Andrew Cagney <cagney@redhat.com>
21737 David Anderson <anderson@redhat.com>
21738
21739 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
21740 command fails, assume things will work.
21741 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
21742 (_GNU_SOURCE): Define.
21743 (print_unsigned, print_hex): Change parameter to "long long".
21744 (print_byte_count): New function, use to print byte counts.
21745 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
21746 O_LARGEFILE.
21747 (main): Compute an upper bound on a corefile in max_core_size.
21748 Limit memory chunk size to max_core_size. Limit total memory
21749 allocated to max_core_size.
21750
217512004-09-23 Andrew Cagney <cagney@gnu.org>
21752
21753 * gdb.base/bigcore.exp: Replace the code that creates a corefile
21754 from a separate process with code that creates a corefile by
21755 making the inferior dump core.
21756
217572004-09-23 Mark Kettenis <kettenis@gnu.org>
21758
21759 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
21760 block.
21761
217622004-09-23 Michael Chastain <mec.gnu@mindspring.com>
21763
21764 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
21765 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
21766 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
21767 Likewise.
21768
217692004-09-20 Jeff Johnston <jjohnstn@redhat.com>
21770
21771 * gdb.java/jprint.exp: New test case for java inferior call.
21772 * gdb.java/jprint.java: Ditto.
21773
217742004-09-15 Joel Brobecker <brobecker@gnat.com>
21775
21776 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
21777
217782004-09-14 Michael Chastain <mec.gnu@mindspring.com>
21779
21780 * gdb.threads/killed.c: Include <stdlib.h>.
21781 * gdb.threads/pthreads.c: Likewise.
21782
217832004-09-14 Michael Chastain <mec.gnu@mindspring.com>
21784
21785 * gdb.threads/killed.c: Add copyright notice.
21786
217872004-09-10 Jason Molenda (jmolenda@apple.com)
21788
21789 * gdb.base/define.exp: Two new tests to verify zero space chars
21790 after 'if' and 'while' commands in a user-defined command is correctly
21791 parsed.
21792
217932004-09-08 Andrew Cagney <cagney@gnu.org>
21794
21795 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
21796 delivery test with duplicate at end of file.
21797
217982004-09-06 Mark Kettenis <kettenis@jive.nl>
21799
21800 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
21801
218022004-09-05 Michael Chastain <mec.gnu@mindspring.com>
21803
21804 * config/hppro.exp: Removed.
21805
218062004-09-05 Michael Chastain <mec.gnu@mindspring.com>
21807
21808 * config/sparclet.exp: Removed.
21809
218102004-09-05 Michael Chastain <mec.gnu@mindspring.com>
21811
21812 * config/udi.exp: Removed.
21813
218142004-09-02 Michael Chastain <mec.gnu@mindspring.com>
21815
21816 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
21817 of "exp_continue".
21818 (advancei): Likewise.
21819
218202004-09-01 Jeff Johnston <jjohnstn@redhat.com>
21821
21822 * gdb.base/unload.exp: Fix so messages aren't duplicated.
21823
218242004-09-01 Manoj Iyer <manjo@austin.ibm.com>
21825
21826 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
21827 to check for nodebug in executable.
21828 * gdb.gdb/observer.exp (setup_test): Likewise.
21829 * gdb.gdb/selftest.exp (test_with_self): Likewise.
21830 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
21831
218322004-09-01 Andrew Cagney <cagney@gnu.org>
21833
21834 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
21835 files.
21836
218372004-09-01 Jeff Johnston <jjohnstn@redhat.com>
21838
21839 * gdb.base/unload.exp: Fix expected warning message to match
21840 latest format.
21841
218422004-09-01 Corinna Vinschen <vinschen@redhat.com>
21843
21844 * gdb.base/call-rt-st.exp: Fix typos.
21845
218462004-08-31 Manoj Iyer <manjo@austin.ibm.com>
21847
21848 * gdb.threads/thread_check.exp: New testcase.
21849 * gdb.threads/thread_check.c: New testcase.
21850
218512004-08-31 Andrew Cagney <cagney@gnu.org>
21852
21853 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
21854 (skip_to_handler_entry): New procedures. Test stepping into a
21855 handler when the breakpoint is at the handler's entry point.
21856
218572004-08-30 Andrew Cagney <cagney@gnu.org>
21858
21859 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
21860 gdb/1757.
21861
218622004-08-27 Michael Chastain <mec.gnu@mindspring.com>
21863
21864 With code from Manoj Iyer <manjo@austin.ibm.com>:
21865 * lib/gdb.exp (gdb_file_cmd): Return more information in the
21866 return value. Add an arm for "no debugging symbols found".
21867 Change a stray "error" to "perror".
21868 (gdb_run_cmd): Adapt to new return value.
21869 * gdb.base/remote.exp: Adapt to new return value.
21870 * gdb.gdb/complaints.exp: Likewise.
21871 * gdb.gdb/observer.exp: Likewise.
21872 * gdb.gdb/selftest.exp: Likewise.
21873 * gdb.gdb/xfullpath.exp: Likewise.
21874
218752004-08-27 Joel Brobecker <brobecker@gnat.com>
21876
21877 * gdb.threads/bp_in_thread.exp: New testcase.
21878
218792004-08-27 Michael Chastain <mec.gnu@mindspring.com>
21880
21881 Fix PR testsuite/1735.
21882 * gdb.threads/schedlock.c (thread_function): Add a cast
21883 to suppress a gcc warning.
21884 * gdb.threads/thread-specific.c (thread_function): Likewise.
21885
218862004-08-26 Michael Chastain <mec.gnu@mindspring.com>
21887
21888 * gdb.base/unload.c: Include <stdlib.h>.
21889
218902004-08-26 Michael Chastain <mec.gnu@mindspring.com>
21891
21892 From Paul Gilliam <pgilliam@us.ibm.com>:
21893 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
21894 synchronized after the "return".
21895
218962004-08-26 Michael Chastain <mec.gnu@mindspring.com>
21897
21898 * gdb.mi/basics.c: Include <stdio.h>.
21899 * gdb.mi/pthreads.c: Include <stdlib.h>.
21900 * gdb.mi/var-cmd.c: Include <stdlib.h>.
21901
219022004-08-26 Michael Chastain <mec.gnu@mindspring.com>
21903
21904 * gdb.threads/schedlock.c: Add copyright notice.
21905
219062004-08-25 Andrew Cagney <cagney@gnu.org>
21907
21908 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
21909 (skip_over_handler, breakpoint_over_hander): New test procedures.
21910 (advance, advancei): Add a proper prefix, do not use
21911 rerun_to_main.
21912 * gdb.base/sigstep.c (main): Change to use an infinite loop.
21913
219142004-08-24 Michael Chastain <mec.gnu@mindspring.com>
21915
21916 * gdb.mi/basics.c: Add copyright notice.
21917 * gdb.mi/var-cmd.c: Add copyright notice.
21918
219192004-08-23 Michael Chastain <mec.gnu@mindspring.com>
21920
21921 * lib/gdb.exp: Remove signed_keyword_not_used.
21922 * lib/compiler.c: Likewise.
21923 * lib/compiler.cc: Likewise.
21924
219252004-08-23 Michael Chastain <mec.gnu@mindspring.com>
21926
21927 * gdb.base/whatis.c: Remove conditional disabling of "signed".
21928 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
21929
219302004-08-23 Michael Chastain <mec.gnu@mindspring.com>
21931
21932 * gdb.base/whatis.c: Add copyright notice.
21933
219342004-08-20 Mark Kettenis <kettenis@gnu.org>
21935
21936 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
21937 it to skip the breakpoints encoded in the inline assembly.
21938
219392004-08-20 Michael Chastain <mec.gnu@mindspring.com>
21940
21941 * Makefile.in: Add gdb.fortran.
21942
219432004-08-20 Michael Chastain <mec.gnu@mindspring.com>
21944
21945 * gdb.base/call-sc.exp (test_scalar_returns):
21946 Fix cut-and-paste glitch in "Make fun return now".
21947
219482004-08-17 Michael Chastain <mec.gnu@mindspring.com>
21949
21950 * configure.in: Add gdb.fortran.
21951 * configure: Regenerate.
21952 * gdb.fortran/Makefile.in: New file.
21953 * lib/gdb.exp (skip_fortran_tests): New procedure.
21954
219552004-08-17 Michael Chastain <mec.gnu@mindspring.com>
21956
21957 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
21958 reference to bug-gnu@prep.ai.mit.edu.
21959 * gdb.mi/mi-var-child.exp: Likewise.
21960 * gdb.mi/mi-var-cmd.exp: Likewise.
21961 * gdb.mi/mi-var-display.exp: Likewise.
21962 * gdb.mi/mi2-var-block.exp: Likewise.
21963 * gdb.mi/mi2-var-child.exp: Likewise.
21964 * gdb.mi/mi2-var-cmd.exp: Likewise.
21965 * gdb.mi/mi2-var-display.exp: Likewise.
21966
219672004-08-15 Mark Kettenis <kettenis@gnu.org>
21968
21969 * gdb.base/unload.c (main): Make local variable msg const.
21970
219712004-08-15 Michael Chastain <mec.gnu@mindspring.com>
21972
21973 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
21974 to bug-gnu@prep.ai.mit.edu.
21975 * gdb.mi/mi-disassemble.exp: Likewise.
21976 * gdb.mi/mi-eval.exp: Likewise.
21977 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
21978 default line number.
21979 * gdb.mi/mi-return.exp: Likewise.
21980 * gdb.mi/mi-simplerun.exp: Likewise.
21981 * gdb.mi/mi-stack.exp: Likewise.
21982 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
21983 number with explicit range test.
21984 * gdb.mi/mi-watch.exp: Likewise.
21985 * gdb.mi/mi2-break.exp: Likewise.
21986 * gdb.mi/mi2-cli.exp: Likewise.
21987 * gdb.mi/mi2-disassemble.exp: Likewise.
21988 * gdb.mi/mi2-eval.exp: Likewise.
21989 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
21990 default line number.
21991 * gdb.mi/mi2-return.exp: Likewise.
21992 * gdb.mi/mi2-simplerun.exp: Likewise.
21993 * gdb.mi/mi2-stack.exp: Likewise.
21994 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
21995 number with explicit range test.
21996 * gdb.mi/mi2-watch.exp: Likewise.
21997
219982004-08-15 Michael Chastain <mec.gnu@mindspring.com>
21999
22000 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
22001 * gdb.cp/m-static.exp: Likewise.
22002 * gdb.cp/rtti.exp: Likewise.
22003
220042004-08-14 Mark Kettenis <kettenis@gnu.org>
22005
22006 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
22007
220082004-08-14 Eli Zaretskii <eliz@gnu.org>
22009
22010 * ChangeLog: Prefix Local Variables with semi-colons and indent
22011 the reference to older ChangeLog files, to fix fontification in
22012 Emacs.
22013
220142004-08-13 Michael Chastain <mec.gnu@mindspring.com>
22015
22016 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
22017 * gdb.mi/mi2-break.exp: Likewise.
22018
220192004-08-13 Michael Chastain <mec.gnu@mindspring.com>
22020
22021 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
22022
220232004-08-13 Michael Chastain <mec.gnu@mindspring.com>
22024
22025 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
22026
220272004-08-13 Michael Chastain <mec.gnu@mindspring.com>
22028
22029 * gdb.cp/classes.exp: Remove unused declarations. Just let
22030 test names default instead of providing special names. Remove
22031 extraneous demangler test.
22032
220332004-08-12 Jeff Johnston <jjohnstn@redhat.com>
22034
22035 * gdb.base/unload.exp: New test for breakpoints in dynamically
22036 loaded libraries.
22037 * gdb.base/unload.c: Ditto.
22038 * gdb.base/unloadshr.c: Ditto.
22039
220402004-08-12 Michael Chastain <mec.gnu@mindspring.com>
22041
22042 * gdb.cp/classes.exp (test_ptype_class_objects): Call
22043 cp_test_ptype_class.
22044 (test_enums): Likewise.
22045
220462004-08-10 Andrew Cagney <cagney@gnu.org>
22047
22048 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
22049 files.
22050
220512004-08-10 Andrew Cagney <cagney@gnu.org>
22052
22053 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
22054 init_malloc call.
22055
220562004-08-10 Michael Chastain <mec.gnu@mindspring.com>
22057
22058 * ChangeLog: Add copyright notice. The notice is copied
22059 from emacs 21.3 top level ChangeLog.
22060
220612004-08-09 Michael Chastain <mec.gnu@mindspring.com>
22062
22063 * lib/cp-support.exp: New file.
22064 * lib/cp-support.exp (cp_test_type_class): New function.
22065 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
22066 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
22067 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
22068 cp_test_ptype_class.
22069
220702004-08-09 Michael Chastain <mec.gnu@mindspring.com>
22071
22072 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
22073 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
22074 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
22075 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
22076 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
22077 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
22078 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
22079 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
22080 gdb.mi/mi2-watch.exp: Update copyright years.
22081
220822004-08-09 Mark Kettenis <kettenis@gnu.org>
22083
22084 * gdb.base/sigaltstack.exp: Provide proper anchoring.
22085
220862004-08-09 Michael Chastain <mec.gnu@mindspring.com>
22087
22088 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
22089 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
22090 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
22091 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
22092 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
22093 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
22094 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
22095 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
22096 gdb.mi/mi-watch.exp: Update copyright years.
22097
220982004-08-08 Daniel Jacobowitz <dan@debian.org>
22099
22100 PR gdb/1738
22101 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
22102 from a breakpoint with a pending signal.
22103
221042004-08-08 Daniel Jacobowitz <dan@debian.org>
22105
22106 PR gdb/1736
22107 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
22108 * gdb.base/sigaltstack.exp (finish_test): Consume output until
22109 the prompt.
22110 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
22111
221122004-08-08 Daniel Jacobowitz <dan@debian.org>
22113
22114 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
22115
221162004-08-08 Daniel Jacobowitz <dan@debian.org>
22117
22118 PR gdb/1736
22119 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
22120 for i?86-*-linux*.
22121
221222004-08-08 Daniel Jacobowitz <dan@debian.org>
22123
22124 * gdb.arch/i386-prologue.exp: Compile without debug information.
22125
221262004-08-08 Michael Chastain <mec.gnu@mindspring.com>
22127
22128 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
22129 rather than asking gdb to search.
22130
221312004-08-05 Michael Chastain <mec.gnu@mindspring.com>
22132
22133 * gdb.base/gcore.c: Include <string.h>.
22134
221352004-08-05 Michael Chastain <mec.gnu@mindspring.com>
22136
22137 * gdb.base/gcore.c: Add copyright notice.
22138
221392004-08-05 Michael Chastain <mec.gnu@mindspring.com>
22140
22141 * gdb.base/freebpcmd.c: Include <stdio.h>.
22142 * gdb.base/long_long.c: Include <string.h>.
22143 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
22144 * gdb.base/siginfo.c: Include <string.h>.
22145 * gdb.base/sigstep.c: Include <string.h>.
22146
221472004-08-04 Michael Chastain <mec.gnu@mindspring.com>
22148
22149 * gdb.base/complex.c: Include <stdlib.h>.
22150
221512004-08-04 Michael Chastain <mec.gnu@mindspring.com>
22152
22153 * gdb.base/complex.c: Add copyright notice.
22154
221552004-08-04 Michael Chastain <mec.gnu@mindspring.com>
22156
22157 * gdb.base/charset.c: Include <stdlib.h>.
22158
221592004-08-04 Michael Chastain <mec.gnu@mindspring.com>
22160
22161 * gdb.base/auxv.c: Include <stdlib.h>.
22162
221632004-08-04 Michael Chastain <mec.gnu@mindspring.com>
22164
22165 * gdb.base/auxv.c: Add copyright notice.
22166
221672004-08-04 Michael Chastain <mec.gnu@mindspring.com>
22168
22169 * gdb.base/coremaker.c: Add copyright notice.
22170 * gdb.base/coremaker2.c: Add copyright notice.
22171
221722004-08-04 Andrew Cagney <cagney@gnu.org>
22173
22174 * gdb.base/store.exp: Update copyright.
22175 (check_set, up_set, check_struct, up_struct): Add a prefix to test
22176 names, do not import gdb_prompt.
22177
221782004-08-01 Andrew Cagney <cagney@gnu.org>
22179
22180 Fix PR testsuite/1729.
22181 * gdb.base/dump.exp: Add test name to callers of capture_value, do
22182 not use capture_value with value 4.
22183 (capture_value): Add optional test name parameter.
22184 (test_reload_saved_value, test_restore_saved_value): Use $msg as
22185 the prefix, pass to capture_value.
22186
221872004-08-01 Mark Kettenis <kettenis@gnu.org>
22188
22189 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
22190 * gdb.arch/i386-prologue.c (standard): New prototype and function.
22191 (main): Call new function.
22192
221932004-07-31 Michael Chastain <mec.gnu@mindspring.com>
22194
22195 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
22196
221972004-07-31 Michael Chastain <mec.gnu@mindspring.com>
22198
22199 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
22200
222012004-07-31 Michael Chastain <mec.gnu@mindspring.com>
22202
22203 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
22204 Accept more values of vtbl pointer. Remove some messages
22205 about "obsolete gcc or gdb".
22206
222072004-07-30 Michael Chastain <mec.gnu@mindspring.com>
22208
22209 * gdb.cp/classes.exp: Accept more varieties of ptype output.
22210
222112004-07-30 Michael Chastain <mec.gnu@mindspring.com>
22212
22213 * gdb.base/asm-source.exp: Properly convert target board
22214 debug flags from gcc format to binutils format.
22215
222162004-07-28 Mark Kettenis <kettenis@gnu.org>
22217
22218 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
22219 gdb1718". PR backtrace/1718 partially fixed.
22220
222212004-07-27 Jeff Johnston <jjohnstn@redhat.com>
22222
22223 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
22224
222252004-07-26 Nick Clifton <nickc@redhat.com>
22226
22227 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
22228 good default value for a specific architecture is available then
22229 set it to that value. Otherwise default to the -gstabs switch.
22230 Remove the -g... switches from the asm-flags variable. Allow the
22231 target board info to override the value if it wants to. Pass the
22232 switch on the assembler command line.
22233
222342004-07-23 Mark Kettenis <kettenis@gnu.org>
22235
22236 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
22237 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
22238 (main): Call new function.
22239
222402004-07-22 Michael Chastain <mec.gnu@mindspring.com>
22241
22242 Test for PR exp/1715.
22243 * gdb.base/radix.exp: Refactor common procedures. Make all
22244 test names unique. Change XFAIL to KFAIL.
22245
222462004-07-20 Michael Chastain <mec.gnu@mindspring.com>
22247
22248 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
22249 * gdb.ada/gnat_ada.gin: ... to here.
22250 * configure.in: Use gnat_ada.gin.
22251 * configure: Regenerate.
22252
222532004-07-20 Andrew Cagney <cagney@gnu.org>
22254
22255 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
22256 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
22257 XFAILs. Clean up test messages and comments. Check backtraces.
22258 Delete re-sync code.
22259
222602004-07-19 Michael Chastain <mec.gnu@mindspring.com>
22261
22262 Fix PR cli/740.
22263 * gdb.base/annota1.exp: Honor gdb,nosignals.
22264 * gdb.base/annota3.exp: Likewise.
22265
222662004-07-19 Michael Chastain <mec.gnu@mindspring.com>
22267
22268 * lib/java.exp: Update copyright notice.
22269
222702004-07-19 Andrew Cagney <cagney@gnu.org>
22271
22272 * gdb.base/selftest.exp: Copy file from here ...
22273 * gdb.gdb/selftest.exp: ... to here.
22274
222752004-07-16 Andrew Cagney <cagney@redhat.com>
22276
22277 * lib/insight-support.exp: Delete file.
22278 * lib/java.exp (java_init): Fix copyright.
22279
222802004-07-16 Andrew Cagney <cagney@gnu.org>
22281
22282 * gdb.base/restore.c: Append "prologue" to comments marking the a
22283 function's prologue.
22284 * gdb.base/restore.exp: Update copyright, re-indent.
22285 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
22286 callerN" prefix where needed. Update patterns that match a
22287 function's prologue.
22288
222892004-07-16 Michael Chastain <mec.gnu@mindspring.com>
22290
22291 * gdb.base/restore.c: Add copyright notice.
22292
222932004-07-16 Andrew Cagney <cagney@gnu.org>
22294
22295 * gdb.base/logical.exp: Update copyright.
22296 (evaluate): New procedure. Use to re-implement tests using
22297 several tables.
22298
222992004-07-14 Martin Hunt <hunt@redhat.com>
22300
22301 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
22302 which fixes some problems where init.tcl was not found.
22303
223042004-07-13 Andrew Cagney <cagney@gnu.org>
22305
22306 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
22307 (check_sizeof, check_valueof): Do not include the output in the
22308 test name. Use gdb_test.
22309 (get_valueof): Use gdb_test_multiple.
22310
22311 * gdb.base/step-test.exp: Update copyright. Use
22312 gdb_test_multiple. Ensure that test names do not include
22313 architecture dependent output.
22314
22315 * gdb.gdb/observer.exp: Update copyright.
22316 (setup_test): Use gdb_test_multiple.
22317 (attach_first_observer, attach_second_observer)
22318 (attach_third_observer, detach_first_observer)
22319 (detach_second_observer, detach_third_observer)
22320 (reset_counters, check_counters): Make $message a prefix.
22321 (test_normal_stop_notifications): Add "args" parameter - a list of
22322 init functions to be called. Make $message a prefix,
22323 (test_observer_normal_stop): Change the message prefixes so that
22324 they are unique, pass the attach / detach procedures to
22325 test_normal_stop_notifications.
22326
22327 * gdb.base/signull.exp (test_segv): Prefix all tests with
22328 "${name}". Clean up test messages.
22329
22330 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
22331
22332 * gdb.base/ena-dis-br.exp: Update copyright.
22333 (break_at): New function. Replace send_gdb with gdb_test,
22334 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
22335 ignore count, not stopped at bpt", with KFAIL.
22336
223372004-07-13 Corinna Vinschen <vinschen@redhat.com>
22338
22339 * gdb.base/attach.exp: Remove cleanupfile handling.
22340
223412004-07-12 Andrew Cagney <cagney@gnu.org>
22342
22343 * gdb.base/annota1.exp: Cleanup corefile test name.
22344 * gdb.base/annota3.exp: Ditto.
22345
223462004-07-12 Andrew Cagney <cagney@gnu.org>
22347
22348 * gdb.base/signals.exp: Clean up copyright, re-indent.
22349
22350 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
22351 gdb_test and gdb_test_multiple.
22352
223532004-07-08 Jeff Johnston <jjohnstn@redhat.com>
22354
22355 * gdb.java/jmain.exp: Fix expected line number for main to
22356 break at. Set XFAIL for break at main test since gcj does not
22357 provide line number info for first statement in main.
22358
223592004-07-08 Andrew Cagney <cagney@gnu.org>
22360
22361 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
22362
22363 * gdb.base/sigbpt.exp: Make the common part of each test name a
22364 prefix instead of suffix.
22365
223662004-07-07 Bob Rossi <bob_rossi@cox.net>
22367
22368 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
22369 test from test_tbreak_creation_and_listing to
22370 test_file_list_exec_source_file
22371 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
22372 Changed name of test from test_tbreak_creation_and_listing to
22373 test_file_list_exec_source_file
22374
223752004-07-07 Jeff Johnston <jjohnstn@redhat.com>
22376
22377 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
22378 the jmisc() constructor instead of <init>.
22379 * gdb.java/jmisc1.exp: Ditto.
22380
223812004-07-07 Andrew Cagney <cagney@gnu.org>
22382
22383 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
22384 corrupting the PC.
22385
223862004-07-06 Michael Chastain <mec.gnu@mindspring.com>
22387
22388 * gdb.cp/templates.exp: Accept whitespace change in demangler
22389 output.
22390
223912004-07-06 Andrew Cagney <cagney@gnu.org>
22392
22393 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
22394
223952004-07-02 Michael Chastain <mec.gnu@mindspring.com>
22396
22397 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
22398 * lib/compiler.cc: Likewise.
22399
224002004-06-30 Michael Chastain <mec.gnu@mindspring.com>
22401
22402 * lib/compiler.cc: Work around string preprocessing problem
22403 with old hp c++ compiler.
22404 * lib/compiler.c: Likewise.
22405
224062004-06-29 Corinna Vinschen <vinschen@redhat.com>
22407
22408 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
22409 directives to conditionalize symbol prefixing.
22410 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
22411 additional_flags handling. Add underscore prefix for Cygwin.
22412 * gdb.arch/i386-unwind.c: Use preprocessor directives to
22413 conditionalize symbol prefixing.
22414 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
22415 additional_flags handling. Add underscore prefix for Cygwin.
22416
224172004-06-29 Corinna Vinschen <vinschen@redhat.com>
22418
22419 * gdb.base/bigcore.exp: Skip test on Cygwin.
22420
224212004-06-28 Michael Chastain <mec.gnu@mindspring.com>
22422
22423 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
22424 formats for "info register". Use gdb_test_multiple. Fix
22425 the "invalid register" test.
22426
224272004-06-28 Corinna Vinschen <vinschen@redhat.com>
22428
22429 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
22430 PID for Cygwin. Add Cygwin specific strings to check for in some
22431 tests.
22432 (do_attach_tests): Add a test for user interaction when attaching
22433 to a process with no matching symbol table already loaded.
22434
224352004-06-26 Andrew Cagney <cagney@gnu.org>
22436
22437 Test PR java/1567 and PR java/1565.
22438 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
22439 * gdb.java/jmisc2.exp: Delete file.
22440
224412004-06-26 Michael Chastain <mec.gnu@mindspring.com>
22442
22443 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
22444
224452004-06-25 Corinna Vinschen <vinschen@redhat.com>
22446
22447 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
22448 attach process.
22449
224502004-06-23 Michael Chastain <mec.gnu@mindspring.com>
22451
22452 * gdb.cp/pr-1553.exp: Remove.
22453
224542004-06-22 Michael Chastain <mec.gnu@mindspring.com>
22455
22456 * gdb.cp/pr-1553.cc: Remove.
22457 * gdb.cp/pr-1553.exp: Disable this test.
22458
224592004-06-20 Jim Blandy <jimb@redhat.com>
22460
22461 Fix PR testsuite/1680.
22462 * gdb.arch/i386-sse.exp: Properly quote curly braces in
22463 regular expressions.
22464
224652004-06-19 Michael Chastain <mec.gnu@mindspring.com>
22466
22467 Fix PR testsuite/1679.
22468 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
22469 Issue an UNSUPPORTED result instead.
22470
224712004-06-18 Jim Blandy <jimb@redhat.com>
22472
22473 * gdb.base/charset.exp: Only send a control-C if we see a new
22474 prompt and incomplete command.
22475
224762004-06-18 Michael Chastain <mec.gnu@mindspring.com>
22477
22478 * gdb.cp/pr-574.cc: Add copyright notice.
22479
224802004-06-17 Jim Blandy <jimb@redhat.com>
22481
22482 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
22483 cases where the regexp has no groups; this grabs random text from
22484 the previous test suite, whatever that was.
22485
224862004-06-17 Michael Chastain <mec.gnu@mindspring.com>
22487
22488 * gdb.cp/printmethod.cc: Add copyright notice.
22489
224902004-06-16 Michael Chastain <mec.gnu@mindspring.com>
22491
22492 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
22493
224942004-06-16 Andrew Cagney <cagney@gnu.org>
22495
22496 * gdb.base/signull.c: Update copyright. Include <string.h>.
22497 (bowler): Replace data_pointer with data_read
22498 and data_write cases. Add code_descriptor case.
22499 (zero, desc): New array and pointer.
22500 (data, code): Change to simple pointers.
22501 * gdb.base/signull.exp: Fix probe pattern matching a function
22502 descriptor SIGSEGV. Replace data_pointer with data_read and
22503 data_write tests.
22504
225052004-06-16 Andrew Cagney <cagney@gnu.org>
22506
22507 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
22508
225092004-06-15 Michael Chastain <mec.gnu@mindspring.com>
22510
22511 * gdb.base/long_long.c: Add copyright notice.
22512
225132004-06-15 Michael Chastain <mec.gnu@mindspring.com>
22514
22515 * gdb.base/long_long.exp: Remove reference to
22516 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
22517 to gdb_breakpoint and gdb_continue_to_breakpoint.
22518
225192004-06-14 Jim Blandy <jimb@redhat.com>
22520
22521 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
22522 endian case.
22523
225242004-06-14 Andrew Cagney <cagney@gnu.org>
22525
22526 * gdb.base/gcore.exp (capture_command_output): Delete the always
22527 passing tests containing inferior values.
22528 * gdb.base/ending-run.exp: Do not include the breakpoint address
22529 in the test message. Update copyright.
22530 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
22531 size in the test name, use gdb_test_multiple. Update copyright.
22532
225332004-06-14 Michael Chastain <mec.gnu@mindspring.com>
22534
22535 * gdb.cp/ref-types.cc: Add copyright notice.
22536
225372004-06-14 Michael Chastain <mec.gnu@mindspring.com>
22538
22539 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
22540 hp_aCC_compiler.
22541 * lib/compiler.cc: Likewise.
22542 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
22543 'set' commands. Log diagnostics for other lines. Set
22544 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
22545
225462004-06-13 Michael Chastain <mec.gnu@mindspring.com>
22547
22548 * gdb.cp/try_catch.cc: Add copyright notice.
22549
225502004-06-12 Michael Chastain <mec.gnu@mindspring.com>
22551
22552 * gdb.cp/userdef.cc: Add copyright notice.
22553
225542004-06-11 Michael Chastain <mec.gnu@mindspring.com>
22555
22556 * gdb.cp/virtfunc.cc: Add copyright notice.
22557
225582004-06-11 Randolph Chung <tausq@debian.org>
22559
22560 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
22561 problem.
22562
225632004-06-10 Andrew Cagney <cagney@gnu.org>
22564
22565 * lib/compiler.cc, lib/compiler.c: Append either
22566 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
22567 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
22568 instead of gcc-3-3.
22569
225702004-06-09 Andrew Cagney <cagney@gnu.org>
22571
22572 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
22573 gdb/1455, bug is specific to "long long" and "double".
22574
22575 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
22576 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
22577 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
22578 fixed.
22579
225802004-06-09 Andrew Cagney <cagney@gnu.org>
22581
22582 * gdb.base/structs.exp (test_struct_returns): Replace
22583 "return_value_unknown" and "finish_value_unknown" by
22584 "return_value_known" and "finish_value_known". Instead of
22585 "return_value_unknown" iff "finish_value_unknown", check
22586 "return_value_known" implies "finish_value_known".
22587
225882004-06-08 Martin Hunt <hunt@redhat.com>
22589
22590 * gdb.base/float.exp: Add pattern for mips targets.
22591
225922004-06-08 Randolph Chung <tausq@debian.org>
22593
22594 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
22595 message for unknown architectures more clear.
22596
225972004-06-08 Joel Brobecker <brobecker@gnat.com>
22598
22599 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
22600 start the execution of the program.
22601
226022004-06-07 Jim Blandy <jimb@redhat.com>
22603
22604 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
22605 * gdb.arch/i386-cpuid.h: New helper file.
22606
226072004-06-07 Randolph Chung <tausq@debian.org>
22608
22609 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
22610 has started.
22611
226122004-06-04 Roland McGrath <roland@redhat.com>
22613
22614 Fix PR gdb/1647.
22615 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
22616 differently to be robust to output buffering differences.
22617
226182004-06-04 Michael Chastain <mec.gnu@mindspring.com>
22619
22620 * gdb.threads/pthreads.exp: Update copyright years.
22621 (check_control_c): Change asynchronous 'after' to synchronous.
22622
226232004-06-04 Roland McGrath <roland@redhat.com>
22624
22625 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
22626 next gdb prompt.
22627
226282004-06-02 Michael Chastain <mec.gnu@mindspring.com>
22629
22630 Fix PR gdb/1636.
22631 * gdb.threads/manythreads.exp: Change asynchronous 'after'
22632 calls to synchronous.
22633
226342004-05-26 Jim Blandy <jimb@redhat.com>
22635
22636 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
22637
226382004-05-24 Randolph Chung <tausq@debian.org>
22639
22640 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
22641 * gdb.asm/pa.inc: New file.
22642
226432004-05-22 Mark Kettenis <kettenis@gnu.org>
22644
22645 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
22646
226472004-05-21 Joel Brobecker <brobecker@gnat.com>
22648 Daniel Jacobowitz <drow@mvista.com>
22649
22650 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
22651 GDB prompt.
22652
226532004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22654
22655 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
22656 setjmp/longjmp. Use sigaction instead of signal.
22657
226582004-05-19 J. Brobecker <brobecker@gnat.com>
22659 Michael Snyder <msnyder@redhat.com>
22660
22661 * gdb.threads/pthread_cond_wait.c: New file.
22662 * gdb.threads/pthread_cond_wait.exp: New testcase.
22663
226642004-05-13 Andrew Cagney <cagney@redhat.com>
22665
22666 * gdb.base/signull.exp, gdb.base/signull.c: New files.
22667 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
22668
226692004-05-11 Andrew Cagney <cagney@redhat.com>
22670
22671 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
22672 fixed but revealed gdb/1639.
22673
226742004-05-10 Andrew Cagney <cagney@redhat.com>
22675
22676 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
22677 func1" and "next to 2nd alarm", kernel bug avoided.
22678
226792004-05-10 Daniel Jacobowitz <dan@debian.org>
22680
22681 PR external/1568
22682 * gdb.base/bigcore.exp: Check the size of the dumped core file.
22683 XFAIL if it is smaller than bytes_allocated.
22684 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
22685 (main): Make chunks_allocated unsigned. Correct comment.
22686
226872004-05-07 Joel Brobecker <brobecker@gnat.com>
22688
22689 * gdb.arch/powerpc-aix-prologue.c: New file.
22690 * gdb.arch/powerpc-aix-prologue.exp: New file.
22691
226922004-05-07 Jim Blandy <jimb@redhat.com>
22693
22694 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
22695 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
22696
226972004-05-06 Joel Brobecker <brobecker@gnat.com>
22698
22699 * gdb.base/sep.exp: No longer setup_kfail when the program was
22700 built with dwarf2.
22701
227022004-05-05 Jim Ingham <jingham@apple.com>
22703
22704 * gdb.base/pending.exp: Make sure pending breakpoints
22705 preserve the ignore count.
22706
227072004-04-27 Jerome Guitton <guitton@gnat.com>
22708
22709 * i386-prologue.exp: Add testcase for jump instruction as first
22710 instruction of the real code.
22711 * i386-prologue.c (jump_at_beginning): New function.
22712
227132004-04-28 Mark Kettenis <kettenis@gnu.org>
22714
22715 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
22716 x86_64-*-*.
22717
227182004-04-28 Mark Kettenis <kettenis@gnu.org>
22719
22720 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
22721 i*86-*-*.
22722
227232004-04-25 Mark Kettenis <kettenis@gnu.org>
22724
22725 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
22726 expression that checks the return type.
22727
227282004-04-23 Andrew Cagney <cagney@redhat.com>
22729
22730 * gdb.base/call-sc.exp: New test of scalar call/return values.
22731 * gdb.base/call-sc.c: Ditto.
22732
227332004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22734
22735 * gdb.threads/manythreads.c: Reduce thread stack size.
22736
227372004-04-23 Jeff Johnston <jjohnstn@redhat.com>
22738
22739 * gdb.threads/manythreads.c: Add copyright notice.
22740
227412004-04-23 Andrew Cagney <cagney@redhat.com>
22742
22743 * gdb.base/siginfo.exp: Better handle step out of signal.
22744 * gdb.base/sigstep.exp: Ditto.
22745
227462004-04-22 Jeff Johnston <jjohnstn@redhat.com>
22747 Daniel Jacobowitz <drow@mvista.com>
22748
22749 * gdb.threads/manythreads.c: New testcase.
22750 * gdb.threads/manythreads.exp: Ditto.
22751
227522004-04-22 Jim Blandy <jimb@redhat.com>
22753
22754 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
22755 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
22756
227572004-04-21 Michael Chastain <mec.gnu@mindspring.com>
22758
22759 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
22760
227612004-04-21 Andrew Cagney <cagney@redhat.com>
22762
22763 * gdb.base/sigstep.c: New file.
22764 * gdb.base/sigstep.exp: New file.
22765
227662004-04-16 Joel Brobecker <brobecker@gnat.com>
22767
22768 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
22769 call to observer_notify_normal_stop.
22770
227712004-04-15 Andrew Cagney <cagney@redhat.com>
22772
22773 * gdb.base/siginfo.c: New file.
22774 * gdb.base/siginfo.exp: New file.
22775
227762004-04-12 J. Brobecker <brobecker@gnat.com>
22777
22778 * gdb.base/sep.exp: Fix typo in comment.
22779
227802004-04-12 J. Brobecker <brobecker@gnat.com>
22781
22782 * gdb.base/sep.c: New file.
22783 * gdb.base/sep-proc.c: New file.
22784 * gdb.base/sep.exp: New testcase.
22785
227862004-04-09 Mark Kettenis <kettenis@gnu.org>
22787
22788 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
22789 support.
22790
227912004-04-05 Andrew Cagney <cagney@redhat.com>
22792
22793 * gdb.base/sigaltstack.c: New file.
22794 * gdb.base/sigaltstack.exp: New file.
22795
227962004-04-04 Joel Brobecker <brobecker@gnat.com>
22797
22798 * gdb.base/foll-fork.exp: Update the expected output for
22799 "help set follow-fork-mode", to match a change that was made
22800 to the help of this variable on 2004-01-13.
22801
228022004-04-01 Joel Brobecker <brobecker@gnat.com>
22803
22804 * lib/ada.exp: Add copyright notice.
22805 * bar.ads: Likewise.
22806 * bar.adb: Likewise.
22807 * null_record.adb: Likewise.
22808 * null_record.exp: Likewise.
22809 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
22810
228112004-04-01 Joel Brobecker <brobecker@gnat.com>
22812
22813 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
22814 * configure: Regenerate.
22815
228162004-04-01 Joel Brobecker <brobecker@gnat.com>
22817
22818 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
22819 to build the application. Remove the message printed when in
22820 verbose mode, redundant with the UNSUPPORTED message above.
22821
228222004-03-31 Joel Brobecker <brobecker@gnat.com>
22823
22824 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
22825 * gdb.ada (null_record.exp): New testcase.
22826
228272004-03-31 Joel Brobecker <brobecker@gnat.com>
22828
22829 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
22830
228312004-03-31 Joel Brobecker <brobecker@gnat.com>
22832
22833 * gdb.ada: New subdirectory.
22834 * gdb.ada/Makefile.in: New file.
22835 * gdb.ada/gnat_ada.gpr.in: New file.
22836
228372004-03-31 Joel Brobecker <brobecker@gnat.com>
22838
22839 * lib/ada.exp: New file.
22840
228412004-03-24 Daniel Jacobowitz <drow@mvista.com>
22842
22843 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
22844 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
22845
228462004-03-22 Andrew Cagney <cagney@redhat.com>
22847
22848 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
22849 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
22850 Problem identified by Ulrich Weigand.
22851
228522004-03-17 David Carlton <carlton@kealia.com>
22853
22854 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
22855 PR c++/826.
22856
228572004-03-16 Roland McGrath <roland@redhat.com>
22858
22859 * gdb.base/auxv.exp: New file.
22860 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
22861
228622004-03-12 David Carlton <carlton@kealia.com>
22863
22864 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
22865 * gdb.cp/pr-1553.cc: Ditto.
22866 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
22867 pass branch.
22868
228692004-03-12 Michael Chastain <mec.gnu@mindspring.com>
22870
22871 * gdb.cp/templates.exp: Accept more template types.
22872
228732004-03-09 Michael Chastain <mec.gnu@mindspring.com>
22874
22875 From Corinna Vinschen with modifications.
22876 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
22877 local variable obj_with_enum.
22878 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
22879 results with obj_with_enum.
22880
228812004-03-09 Michael Chastain <mec.gnu@mindspring.com>
22882
22883 * gdb.cp/classes.cc: New file, copied from misc.cc.
22884 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
22885
228862004-03-09 Michael Chastain <mec.gnu@mindspring.com>
22887
22888 * gdb.cp/misc.cc: Add copyright notice.
22889
228902004-03-05 David Carlton <carlton@kealia.com>
22891
22892 * gdb.cp/rtti.exp: Add 'print *obj3' test.
22893 * gdb.cp/rtti.h: Update copyright.
22894 (namespace n2::n3): New.
22895 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
22896 (n2::n3::func3): New.
22897 (main): Call n2::n3::func3.
22898 * gdb.cp/rtti2.cc: Update copyright.
22899 (n2::create3): New.
22900
229012004-03-04 Mark Kettenis <kettenis@gnu.org>
22902
22903 * gdb.asm/openbsd.inc: Fix typo.
22904
229052004-03-03 Fred Fish <fnf@redhat.com>
22906
22907 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
22908 "val" instead of unused "size". Update copyright year.
22909
229102004-02-29 Daniel Jacobowitz <drow@mvista.com>
22911
22912 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
22913 to use unsigned char.
22914 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
22915 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
22916
229172004-02-29 Daniel Jacobowitz <drow@mvista.com>
22918
22919 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
22920 line of output.
22921
229222004-02-28 Daniel Jacobowitz <drow@mvista.com>
22923
22924 * gdb.base/relocate.c (dummy): Initialize.
22925
229262004-02-28 Daniel Jacobowitz <drow@mvista.com>
22927
22928 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
22929 a breakpoint at exit.
22930
229312004-02-27 Fred Fish <fnf@redhat.com>
22932
22933 * gdb.base/chng-syms.exp: Add expect condition to match failing
22934 case that isn't a timeout.
22935
229362004-02-27 Andrew Cagney <cagney@redhat.com>
22937
22938 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
22939 support.
22940
229412004-02-26 Fred Fish <fnf@redhat.com>
22942
22943 * gdb.arch/gdb1431.c: Remove.
22944 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
22945 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
22946 of "until" incorrectly.
22947
229482004-02-26 J. Brobecker <brobecker@gnat.com>
22949
22950 * gdb.cp/class2.cc (empty): New class.
22951 (refer): New function.
22952 (main): Declare an object of type empty and use it.
22953 * gdb.cp/class2.exp: Print the value of an object of type empty.
22954
229552004-02-26 Jeff Johnston <jjohnstn@redhat.com>
22956
22957 * gdb.base/langs.exp: Update query string to match the
22958 new nquery format used for pending breakpoints.
22959
229602004-02-26 Andrew Cagney <cagney@redhat.com>
22961
22962 Fix PR i18n/1570.
22963 * gdb.base/charset.c: Update copyright notice.
22964 (main, init_string): Remove the escape character '\e' tests.
22965 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
22966 * gdb.base/charset.exp (valid_host_charset): Ditto.
22967 * gdb.base/setvar.exp: Ditto.
22968
229692004-02-24 Andrew Cagney <cagney@redhat.com>
22970
22971 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
22972 mmapped data in core file" PASS and FAIL messages consistent.
22973
22974 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
22975 setting a breakpoint. Work around PR java/1565.
22976
229772004-02-23 Jeff Johnston <jjohnstn@redhat.com>
22978
22979 * lib/gdb.exp (gdb_breakpoint): Update query string to match
22980 new nquery format.
22981 * gdb.base/pending.exp: Ditto.
22982
229832004-02-22 Mark Kettenis <kettenis@gnu.org>
22984
22985 * configure.in: Run stabs tests on *BSD.
22986 * configure: Regenerated.
22987
229882004-02-21 Mark Kettenis <kettenis@gnu.org>
22989
22990 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
22991
229922004-02-20 Fred Fish <fnf@redhat.com>
22993
22994 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
22995 blank in test for "returns short", for consistency with other
22996 "returns xxx" tests. Update copyright year.
22997
229982004-02-19 Fred Fish <fnf@redhat.com>
22999
23000 New testcase for PR breakpoint/1558.
23001 * gdb.arch/gdb1558.exp: New file.
23002 * gdb.arch/gdb1558.c: New file.
23003
230042004-02-19 Elena Zannoni <ezannoni@redhat.com>
23005
23006 * gdb.base/nodebug.exp: Fix typo.
23007
230082004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
23009
23010 Committed by Jim Blandy <jimb@redhat.com>.
23011
23012 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
23013
23014 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
23015
23016 * gdb.base/float.exp: Support s390*-*-* targets.
23017
230182004-02-17 Adam Fedor <fedor@gnu.org>
23019
23020 * gdb.base/gdb1555.exp: New file.
23021 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
23022
230232004-02-17 Elena Zannoni <ezannoni@redhat.com>
23024
23025 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
23026
230272004-02-16 Fred Fish <fnf@redhat.com>
23028
23029 * gdb.arch/gdb1291.c: Remove
23030 * gdb.arch/gdb1291.s: New test input file.
23031 * gdb.arch/gdb1291.exp: Expand test to check case that should not
23032 fail. Test for correct result, known incorrect result, other
23033 failures and timeouts.
23034
230352004-02-16 Andrew Cagney <cagney@redhat.com>
23036
23037 * gdb.base/bigcore.exp: New file.
23038 * gdb.base/bigcore.c: New file.
23039
230402004-02-13 Andrew Cagney <cagney@redhat.com>
23041
23042 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
23043 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
23044 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
23045 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
23046 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
23047 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
23048 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
23049 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
23050 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
23051 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
23052
230532004-02-11 Jeff Johnston <jjohnstn@redhat.com>
23054
23055 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
23056 executed is an alloc instruction.
23057
230582004-02-11 David Carlton <carlton@kealia.com>
23059
23060 * gdb.cp/breakpoint.exp: New.
23061 * gdb.cp/breakpoint.cc: New.
23062
230632004-02-11 Michael Chastain <mec.gnu@mindspring.com>
23064
23065 Partial fix for PR gdb/1543.
23066 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
23067 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
23068 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
23069 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
23070 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
23071 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
23072 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
23073 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
23074 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
23075 to bug-gdb@prep.ai.mit.edu .
23076 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
23077 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
23078 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
23079 Likewise.
23080
230812004-02-10 Andrew Cagney <cagney@redhat.com>
23082
23083 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
23084 using gdb_internal_error_resync.
23085
230862004-02-09 Daniel Jacobowitz <drow@mvista.com>
23087
23088 * gdb.threads/thread-specific.exp: Stop early if no threads are
23089 found.
23090
230912004-02-09 Michael Chastain <mec.gnu@mindspring.com>
23092
23093 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
23094
230952004-02-08 Daniel Jacobowitz <drow@mvista.com>
23096
23097 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
23098 breakpoints.
23099
231002004-02-07 Daniel Jacobowitz <drow@mvista.com>
23101
23102 * config/sim.exp (gdb_load): Handle $arg == "".
23103 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
23104 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
23105
231062004-02-07 Elena Zannoni <ezannoni@redhat.com>
23107
23108 * gdb.base/maint.exp: Update test to reflect
23109 obstack changes.
23110
231112004-02-04 Jeff Johnston <jjohnstn@redhat.com>
23112
23113 * gdb.base/pendshr.c (pendfunc): New function that calls
23114 pendfunc1.
23115 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
23116
231172004-02-04 Fred Fish <fnf@redhat.com>
23118
23119 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
23120 function symbols and update copyright years.
23121 * gdb.arch/gdb1291.c: Ditto.
23122
231232004-02-03 Michael Chastain <mec.gnu@mindspring.com>
23124
23125 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
23126
231272004-02-03 Michael Chastain <mec.gnu@mindspring.com>
23128
23129 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
23130
231312004-02-03 Michael Chastain <mec.gnu@mindspring.com>
23132
23133 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
23134
231352004-02-02 Fred Fish <fnf@redhat.com>
23136
23137 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
23138 remote targets. Update copyright years.
23139
231402004-02-02 Jeff Johnston <jjohnstn@redhat.com>
23141
23142 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
23143 support.
23144 * gdb.base/langs.exp: Fix test which attempts to create
23145 breakpoint on non-existent function to handle new pending
23146 support.
23147 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
23148 a breakpoint.
23149 * gdb.base/pending.exp: New test.
23150 * gdb.base/pending.c: New file.
23151 * gdb.base/pendshr.c: Ditto.
23152
231532004-02-02 David Carlton <carlton@kealia.com>
23154
23155 * gdb.cp/overload.exp: Add overloadNamespace tests.
23156 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
23157 (overloadNamespace, XXX): New.
23158 (main): Call XXX::marker2.
23159
231602004-02-01 Fred Fish <fnf@redhat.com>
23161
23162 * gdb.base/dump.exp: Use runto_main instead of "runto main".
23163 * gdb.base/finish.exp: Ditto.
23164 * gdb.base/gcore.exp: Ditto.
23165 * gdb.base/huge.exp: Ditto.
23166 * gdb.base/info-proc.exp: Ditto.
23167 * gdb.base/return2.exp: Ditto.
23168 * gdb.threads/gcore-thread.exp: Ditto.
23169
231702004-02-01 Daniel Jacobowitz <drow@mvista.com>
23171
23172 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
23173
231742004-02-01 Mark Kettenis <kettenis@gnu.org>
23175
23176 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
23177 that opening the file succeeds on OpenBSD.
23178
231792004-02-01 Daniel Jacobowitz <drow@mvista.com>
23180
23181 * gdb.threads/thread-specific.c: New file.
23182 * gdb.threads/threads-specific.exp: New test script.
23183 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
23184 to expect_out.
23185
231862004-02-01 Mark Kettenis <kettenis@gnu.org>
23187
23188 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
23189 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
23190 only on the "print_small_structs from print_long_arg_list" test.
23191
231922004-02-01 Daniel Jacobowitz <drow@mvista.com>
23193
23194 * gdb.base/completion.exp: Kill a stray backslash.
23195
23196 From Jim Ingham <jingham@apple.com>:
23197 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
23198 agrees with the result from sending a tab.
23199
232002004-01-31 Daniel Jacobowitz <drow@mvista.com>
23201
23202 * gdb.base/chng-syms.exp: Remove stray newline.
23203
232042004-01-31 Mark Kettenis <kettenis@gnu.org>
23205
23206 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
23207 *-*-openbsd*.
23208 * gdb.asm/openbsd.inc: New file.
23209
232102004-01-30 Mark Kettenis <kettenis@gnu.org>
23211
23212 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
23213 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
23214 *-*solaris2*. Remove commented out default settings for
23215 asm-flags. Replace gdb_compile with target_link.
23216
232172004-01-29 Michael Chastain <mec.gnu@mindspring.com>
23218
23219 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
23220 for all tests. Remove old hp-ux and cygnus xfail cases.
23221
232222004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
23223
23224 * gdb.base/chng-syms.exp: New file.
23225 * gdb.base/chng-syms.c: New file.
23226
232272004-01-24 Michael Chastain <mec.gnu@mindspring.com>
23228
23229 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
23230 Provide arms for current output in all my configurations.
23231
232322004-01-24 Michael Chastain <mec.gnu@mindspring.com>
23233
23234 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
23235 * lib/compiler.cc: Likewise.
23236 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
23237 get the right preprocessor. Eval the output directly. Remove
23238 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
23239 hp_f77_compiler and hp_f90_compiler completely.
23240 (gdb_preprocess): Delete.
23241 (get_compiler): Delete.
23242
232432004-01-24 Mark Kettenis <kettenis@gnu.org>
23244
23245 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
23246 <string.h>.
23247
232482004-01-24 Nick Roberts <nick@nick.uklinux.net>
23249
23250 * gdb.mi/mi-stack.exp: Update copyright.
23251
232522004-01-23 David Carlton <carlton@kealia.com>
23253
23254 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
23255 test for cp_lookup_transparent_type.
23256 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
23257 call them.
23258
232592004-01-23 Daniel Jacobowitz <drow@mvista.com>
23260
23261 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
23262 after -var-update.
23263
232642004-01-23 David Carlton <carlton@kealia.com>
23265
23266 * gdb.cp/namespace.cc (C::ensureRefs): New.
23267 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
23268
232692004-01-20 Nick Roberts <nick@nick.uklinux.net>
23270
23271 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
23272 case "-stack-list-locals 2".
23273 * gdb.mi/mi-var-child.exp: Test for case
23274 "-var-list-children --all-values NAME".
23275
232762004-01-18 Michael Chastain <mec.gnu@mindspring.com>
23277
23278 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
23279
232802004-01-18 Mark Kettenis <kettenis@gnu.org>
23281
23282 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
23283 used with gdb_test_multiple.
23284
23285 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
23286 read at address 0. This fixes PR testsuite/1504.
23287
232882004-01-18 Daniel Jacobowitz <drow@mvista.com>
23289
23290 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
23291 Remove downloading, guessing the host executable, the calls to
23292 gdb_file_cmd and gdb_target_cmd, and "load" support.
23293 (infer_host_exec): New function broken out from gdb_load.
23294 (gdb_load): New wrapper for gdbserver_gdb_load.
23295 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
23296 gdb_target_cmd. Use -target-select.
23297 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
23298 Download binaries to the host. Clear last_mi_remote_file when
23299 we load a new binary.
23300 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
23301 call gdbserver_gdb_load and mi_gdb_target_cmd.
23302
233032004-01-17 Michael Chastain <mec.gnu@mindspring.com>
23304
23305 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
23306 type patterns.
23307
233082004-01-17 Michael Chastain <mec.gnu@mindspring.com>
23309
23310 * gdb.cp/templates.exp: Fix typo in test name of
23311 "print Foo<volatile char*>::foo".
23312
233132004-01-15 Michael Chastain <mec.gnu@mindspring.com>
23314
23315 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
23316
233172004-01-16 Ben Elliston <bje@wasabisystems.com>
23318
23319 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
23320 (clean mostlyclean): Remove empty rm.
23321
233222004-01-15 Michael Chastain <mec.gnu@mindspring.com>
23323
23324 * gdb.base/setvar.exp: Add copyright years.
23325
233262004-01-14 David Carlton <carlton@bactrian.org>
23327
23328 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
23329 PR c++/1511 and update coment.
23330 * gdb.cp/templates.exp: Update patterns to match current output.
23331 If changes involve something other than whitespace, KFAIL
23332 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
23333
233342004-01-14 David Carlton <carlton@kealia.com>
23335
23336 * gdb.cp/namespace.exp: Add tests involving classes defined within
23337 namespaces.
23338 * gdb.cp/namespace.cc (C::CClass): New.
23339 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
23340
233412004-01-14 Elena Zannoni <ezannoni@redhat.com>
23342
23343 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
23344 what debug info we have. Print a better message if something goes
23345 wrong while producing the separate debug info file.
23346
233472004-01-14 Michael Chastain <mec.gnu@mindspring.com>
23348
23349 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
23350
233512004-01-14 Michael Chastain <mec.gnu@mindspring.com>
23352
23353 * gdb.base/callfuncs.c: Add copyright notice.
23354
233552004-01-13 Michael Chastain <mec.gnu@mindspring.com>
23356
23357 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
23358 inheritance. PR gdb/1498, PR gcc/13539.
23359
233602004-01-13 Elena Zannoni <ezannoni@redhat.com>
23361
23362 * gdb.threads/gcore-thread.exp: Prefix name of binary with
23363 test specific name.
23364 * gdb.mi/gdb669.exp: Ditto.
23365 * gdb.mi/mi-pthreads.exp: Ditto.
23366 * gdb.mi/mi1-pthreads.exp: Ditto.
23367 * gdb.mi/mi2-pthreads.exp: Ditto.
23368
233692004-01-12 Michael Chastain <mec.gnu@mindspring.com>
23370
23371 * gdb.cp/member-ptr.cc: Add copyright notice.
23372
233732004-01-12 Michael Chastain <mec.gnu@mindspring.com>
23374
23375 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
23376 some patterns for recent versions of gcc and hpacc. Delete
23377 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
23378 Delete tests that access a NULL pointer-to-member-data. This
23379 script is still disabled for gcc.
23380
233812004-01-12 Elena Zannoni <ezannoni@redhat.com>
23382
23383 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
23384 escaped correctly.
23385
233862004-01-12 Elena Zannoni <ezannoni@redhat.com>
23387
23388 * gdb.base/sepdebug.exp: New file.
23389 * gdb.base/sepdebug.c: New file.
23390 * lib/gdb.exp (separate_debug_filename): New procedure.
23391 (gdb_gnu_strip_debug): New procedure.
23392
233932004-01-12 Andrew Cagney <cagney@redhat.com>
23394
23395 * gdb.mi/ChangeLog: Delete file. Renamed to ...
23396 * gdb.mi/ChangeLog-1999-2003: New file.
23397
233982004-01-12 Andrew Cagney <cagney@redhat.com>
23399
23400 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
23401 "Renaming a directory to a non-empty directory returns ENOTEMPTY
23402 or EEXIST", treat EBUSY as an XFAIL.
23403
234042004-01-11 Michael Chastain <mec.gnu@mindspring.com>
23405
23406 * gdb.base/scope.exp: Remove obsolete setup_xfail for
23407 hp_cc_compiler.
23408
234092004-01-10 Michael Chastain <mec.gnu@mindspring.com>
23410
23411 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
23412 decorations.
23413
234142004-01-10 Michael Chastain <mec.gnu@mindspring.com>
23415
23416 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
23417 and "(aCC)" decorations. Remove obsolete doco about old
23418 test results.
23419
234202004-01-09 Michael Chastain <mec.gnu@mindspring.com>
23421
23422 * gdb.cp/exception.exp: Fix typo in doco.
23423
234242004-01-09 Mark Kettenis <kettenis@gnu.org>
23425
23426 * gdb.base/gdb1476.exp: Fix typo.
23427
234282004-01-09 Michael Chastain <mec.gnu@mindspring.com>
23429
23430 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
23431 file.
23432
234332004-01-09 Michael Chastain <mec.gnu@mindspring.com>
23434
23435 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
23436 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
23437 Use gdb_compile. Remove restriction on gcc. Add some patterns
23438 for recent version of gdb. Delete second half, which was a copy
23439 of the first half with different build flags. This test is
23440 still disabled because it is still not ready for production.
23441
234422004-01-08 Michael Chastain <mec.gnu@mindspring.com>
23443
23444 * gdb.cp/exception.cc: Add copyright notice.
23445 * gdb.cp/exception.exp: Add a notice that this file is broken
23446 because of line number changes caused by addition of copyright
23447 notice.
23448
234492004-01-08 Michael Chastain <mec.gnu@mindspring.com>
23450
23451 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
23452 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
23453
234542004-01-08 Michael Chastain <mec.gnu@mindspring.com>
23455
23456 * gdb.cp/classes.exp: Accept gnu abi 2.
23457 * gdb.cp/derivation.exp: Likewise.
23458 * gdb.cp/overload.exp: Likewise.
23459 * gdb.cp/virtfunc.exp: Likewise.
23460
234612004-01-08 Michael Chastain <mec.gnu@mindspring.com>
23462
23463 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
23464 semicolon after end of function.
23465
234662004-01-07 Michael Chastain <mec.gnu@mindspring.com>
23467
23468 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
23469 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
23470 boilerplate code for compiling and running the program under
23471 test. Add some string method tests.
23472
234732004-01-07 Michael Chastain <mec.gnu@mindspring.com>
23474
23475 * gdb.cp/bs15503.cc: Add copyright notice.
23476 * gdb.cp/bs15503.exp: Adjust line number.
23477
234782004-01-07 Michael Chastain <mec.gnu@mindspring.com>
23479
23480 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
23481 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
23482
234832004-01-07 Michael Chastain <mec.gnu@mindspring.com>
23484
23485 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
23486 hp_cc_compiler.
23487
234882004-01-07 Michael Chastain <mec.gnu@mindspring.com>
23489
23490 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
23491 * gdb.cp/ctti.exp: Use the marker instead of "next".
23492 With gcc, run further before bailing.
23493
234942004-01-07 Michael Chastain <mec.gnu@mindspring.com>
23495
23496 * gdb.cp/cttiadd.cc: Add copyright notice.
23497 * gdb.cp/cttiadd1.cc: Likewise.
23498 * gdb.cp/cttiadd2.cc: Likewise.
23499 * gdb.cp/cttiadd3.cc: Likewise.
23500
235012004-01-07 Michael Chastain <mec.gnu@mindspring.com>
23502
23503 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
23504 Use gdb_test, gdb_test_multiple. Use floating-point values that
23505 have exact representations in IEEE-ish formats.
23506
235072004-01-07 Michael Chastain <mec.gnu@mindspring.com>
23508
23509 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
23510 compilers. Delete duplicate call to get_compiler_info.
23511 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
23512 * gdb.base/volatile.exp: Likewise.
23513
235142004-01-07 Mark Kettenis <kettenis@gnu.org>
23515
23516 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
23517 memory at address 0.
23518
235192004-01-07 Michael Chastain <mec.gnu@mindspring.com>
23520
23521 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
23522 to test for hp-ux assembler. Fix copyright years.
23523
235242004-01-07 Andrew Cagney <cagney@redhat.com>
23525
23526 * gdb.base/fileio.c (strerrno): Add "EBUSY".
23527
235282004-01-07 Andrew Cagney <cagney@redhat.com>
23529
23530 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
23531 when creating the read-only file. From analysis by Roland McGrath
23532 and Elena Zannoni.
23533
235342004-01-06 Michael Chastain <mec.gnu@mindspring.com>
23535
23536 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
23537
235382004-01-06 Michael Chastain <mec.gnu@mindspring.com>
23539
23540 * gdb.base/cvexpr.c: Be type-safe with function pointers and
23541 data pointers.
23542
235432004-01-06 Michael Chastain <mec.gnu@mindspring.com>
23544
23545 * gdb.cp/m-static.exp: Compile one source file at a time.
23546 Delete unused call to get_compiler_info.
23547
235482004-01-06 Michael Chastain <mec.gnu@mindspring.com>
23549
23550 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
23551 * gdb.base/call-rt-st.exp: Likewise.
23552 * gdb.base/nodebug.exp: Likewise.
23553 * gdb.base/volatile.exp: Likewise.
23554 * gdb.cp/ref-types.exp: Likewise.
23555 * gdb.cp/templates.exp: Likewise.
23556
235572004-01-05 Mark Kettenis <kettenis@gnu.org>
23558
23559 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
23560
235612004-01-05 Michael Chastain <mec.gnu@mindspring.com>
23562
23563 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
23564 hppa*-hp-hpux*.
23565
235662004-01-04 Mark Kettenis <kettenis@gnu.org>
23567
23568 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
23569 x86_64-*-*.
23570
23571 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
23572 sparc64-*-* and sparc*-solaris2*.
23573
235742004-01-04 Mark Kettenis <kettenis@gnu.org>
23575
23576 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
23577 return ${tests}" test. The ${tests} already mentions the
23578 filename.
23579
235802004-01-02 Michael Chastain <mec.gnu@mindspring.com>
23581
23582 * gdb.cp/local.exp: Accept gcc abi 2.
23583
235842004-01-02 Michael Chastain <mec.gnu@mindspring.com>
23585
23586 * gdb.cp/templates.exp: Accept gcc abi 2.
23587
235882004-01-02 Michael Chastain <mec.gnu@mindspring.com>
23589
23590 * lib/compiler.cc: Remove supports_template_debugging.
23591 * gdb.cp/templates.exp: Do not test supports_template_debugging.
23592
235932004-01-01 Michael Chastain <mec.gnu@mindspring.com>
23594
23595 * gdb.cp/namespace.exp: Accept gcc abi 2.
23596
235972004-01-01 Michael Chastain <mec.gnu@mindspring.com>
23598
23599 * gdb.cp/method.exp: Accept gcc abi 2.
23600
236012004-01-01 Michael Chastain <mec.gnu@mindspring.com>
23602
23603 * gdb.cp/classes.exp: Generate identical results as old version.
23604 * gdb.cp/derivation.exp: Likewise.
23605 * gdb.cp/overload.exp: Likewise.
23606 * gdb.cp/virtfunc.exp: Likewise.
23607
236082004-01-01 Michael Chastain <mec.gnu@mindspring.com>
23609
23610 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
23611 mysterious bug with sourceware version of expect.
23612
236132004-01-01 Michael Chastain <mec.gnu@mindspring.com>
23614
23615 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
23616 current versions of gcc, including gcc abi 2. Remove gratuitous
23617 restart of test program. Use gdb_test_multiple and gdb_test for
23618 all tests. Add patterns to xfail missing "const" in "const char *"
23619 and kfail PR gdb/1155.
23620
236212004-01-01 Michael Chastain <mec.gnu@mindspring.com>
23622
23623 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
23624 current versions of gcc, including gcc abi 2. Remove gratuitous
23625 restart of test program. Use gdb_test_multiple and gdb_test for
23626 all tests. Add patterns to kfail PR gdb/1498.
23627
236282003-12-31 Michael Chastain <mec.gnu@mindspring.com>
23629
23630 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
23631 current versions of gcc, including gcc abi 2. Use "breakpoint"
23632 and "continue" instead of restarting the target program. Use
23633 gdb_test_multiple and gdb_test for all tests.
23634
236352004-01-01 Mark Kettenis <kettenis@gnu.org>
23636
23637 * gdb.asm/asm-source.exp: Update copyright year. Link statically
23638 for *-*-solaris2*.
23639
236402003-12-31 Michael Chastain <mec.gnu@mindspring.com>
23641
23642 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
23643 current versions of gcc, including gcc abi 2. Use "breakpoint"
23644 and "continue" instead of restarting the target program several
23645 times. Use gdb_test_multiple and gdb_test for all tests.
23646
236472003-12-18 Michael Chastain <mec.gnu@mindspring.com>
23648
23649 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
23650 source files.
23651
236522003-12-16 Michael Chastain <mec.gnu@mindspring.com>
23653
23654 * gdb.base/environ.exp: Handle compiling test case from multiple
23655 source files.
23656
236572003-12-16 Michael Chastain <mec.gnu@mindspring.com>
23658
23659 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
23660
236612003-12-17 Jim Blandy <jimb@redhat.com>
23662
23663 * gdb.base/freebpcmd.c: Add copyright notice.
23664
23665 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
23666
236672003-12-16 Michael Chastain <mec.gnu@mindspring.com>
23668
23669 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
23670
236712003-12-13 Jim Blandy <jimb@redhat.com>
23672
23673 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
23674
236752003-12-12 Kevin Buettner <kevinb@redhat.com>
23676
23677 * gdb.asm/frv.inc: New file.
23678 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
23679
236802003-12-09 Fred Fish <fnf@redhat.com>
23681
23682 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
23683 functions to break1.c and leave prototypes behind. Add more
23684 "set breakpoint NN here" comments.
23685 * gdb.base/break1.c: New file.
23686
23687 * gdb.base/break.exp: Handle compiling test case from multiple
23688 source files and change source file references as needed.
23689 * gdb.base/completion.exp: Ditto.
23690 * gdb.base/condbreak.exp: Ditto.
23691 * gdb.base/define.exp: Ditto.
23692 * gdb.base/ena-dis-br.exp: Ditto.
23693 * gdb.base/info-proc.exp: Ditto.
23694 * gdb.base/maint.exp: Ditto.
23695 * gdb.base/until.exp: Ditto.
23696
23697 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
23698 hardcoded line numbers.
23699 * gdb.base/define.exp: Ditto.
23700 * gdb.base/ena-dis-br.exp: Ditto.
23701 * gdb.base/maint.exp: Ditto.
23702 * gdb.base/until.exp: Ditto.
23703
23704 * gdb.base/completion.exp: Use "break1" for completion tests since
23705 "break" is no longer a unique prefix.
23706
237072003-12-06 Andrew Cagney <cagney@redhat.com>
23708
23709 * gdb.base/structs.exp (test_struct_returns): When applicable, set
23710 "return_value_unimplemented". When an unimplemented struct return
23711 architecture, report incorrect values as a KFAIL
23712
237132003-12-05 Michael Chastain <mec.gnu@mindspring.com>
23714
23715 * gdb.cp/rtti.exp: Accept new wording of warning from
23716 cp_lookup_rtti_type.
23717
237182003-12-05 Michael Chastain <mec.gnu@mindspring.com>
23719
23720 Partial fix for PR testsuite/1456.
23721 * gdb.base/scope.exp (test_at_main): Replace references to
23722 gcc_compiled with calls to test_compiler_info.
23723 (test_at_foo): Likewise.
23724 (test_at_bar): Likewise.
23725
237262003-12-04 Michael Chastain <mec.gnu@mindspring.com>
23727
23728 Partial fix for PR testsuite/1456.
23729 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
23730 to test_compiler_info.
23731
237322003-12-03 Michael Chastain <mec.gnu@mindspring.com>
23733
23734 * gdb.base/so-impl-ld.exp: Update copyright notice.
23735
237362003-12-02 Michael Chastain <mec.gnu@mindspring.com>
23737
23738 Partial fix for PR testsuite/1456.
23739 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
23740 to test_compiler_info.
23741
237422003-11-28 Michael Chastain <mec.gnu@mindspring.com>
23743
23744 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
23745 from current versions of gdb. Clean up regular expressions.
23746 Delete redundant timeout case.
23747
237482003-11-28 Michael Chastain <mec.gnu@mindspring.com>
23749
23750 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
23751 from current versions of gdb. Clean up regular expressions.
23752 Delete redundant timeout case.
23753
237542003-12-01 Michael Chastain <mec.gnu@mindspring.com>
23755
23756 Partial fix for PR testsuite/1456.
23757 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
23758 gcc_compiled with call to test_compiler_info.
23759
237602003-11-30 Michael Chastain <mec.gnu@mindspring.com>
23761
23762 Partial fix for PR testsuite/1456.
23763 * gdb.base/list.exp (test_list_function): Delete unused declaration
23764 of gcc_compiled.
23765
237662003-11-29 Michael Chastain <mec.gnu@mindspring.com>
23767
23768 Partial fix for PR testsuite/1456.
23769 * gdb.base/complex.exp: Replace reference to gcc_compiled with
23770 call to test_compiler_info.
23771
237722003-11-29 Mark Kettenis <kettenis@gnu.org>
23773
23774 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
23775 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
23776 it to create the appropriate note.inc.
23777 * gdb.asm/asmsrc1.s: Include "note.inc".
23778 * gdb.asm/netbsd.inc: New file.
23779 * gdb.asm/empty.inc: New file.
23780
237812003-11-28 Michael Chastain <mec.gnu@mindspring.com>
23782
23783 Partial fix for PR testsuite/1456.
23784 * gdb.base/constvars.exp: Replace references to gcc_compiled with
23785 calls to test_compiler_info.
23786
237872003-11-27 Michael Chastain <mec.gnu@mindspring.com>
23788
23789 Partial fix for PR testsuite/1456.
23790 * gdb.base/volatile.exp: Replace references to gcc_compiled with
23791 calls to test_compiler_info.
23792
237932003-11-27 Mark Kettenis <kettenis@gnu.org>
23794
23795 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
23796 pattern for the KFAILs.
23797
237982003-11-25 Adam Fedor <fedor@gnu.org>
23799
23800 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
23801 * gdb.objc/objcdecode.m: New file.
23802
238032003-11-25 Adam Fedor <fedor@gnu.org>
23804
23805 * gdb.objc/nondebug.exp: Test for PR objc/1236.
23806 * gdb.objc/nondebug.m: New file.
23807
238082003-11-26 Ben Elliston <bje@wasabisystems.com>
23809
23810 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
23811 NetBSD as it does on FreeBSD. Modelled on a similar change by
23812 Mark Kettenis on 2003-05-30.
23813 (link-flags): Set to "--entry _start" regardless of target.
23814 Special linker flags are to be appended to $link-flags.
23815 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
23816
238172003-11-25 Michael Chastain <mec.gnu@mindspring.com>
23818
23819 * gdb.cp/method.exp: Accept output of new demangler.
23820
238212003-11-25 Michael Chastain <mec.gnu@mindspring.com>
23822
23823 * gdb/class2.exp: New file.
23824 * gdb/class2.cc: New file.
23825
238262003-11-25 Michael Chastain <mec.gnu@mindspring.com>
23827
23828 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
23829 of new demangler.
23830
238312003-11-23 Mark Kettenis <kettenis@gnu.org>
23832
23833 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
23834 of gdb_test "run".
23835
238362003-11-23 Mark Kettenis <kettenis@gnu.org>
23837
23838 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
23839 "continue" into "run".
23840
238412003-11-23 Michael Chastain <mec.gnu@mindspring.com>
23842
23843 Partial fix for PR testsuite/1456.
23844 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
23845 call to test_compiler_info.
23846 * gdb.cp/ctti.exp: Likewise.
23847 * gdb.cp/derivation.exp: Likewise.
23848 * gdb.cp/member-ptr.exp: Likewise.
23849 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
23850 reference to gcc_compiled.
23851
238522003-11-23 Michael Chastain <mec.gnu@mindspring.com>
23853
23854 Fix PR testsuite/1463.
23855 * gdb.base/structs.exp (start_structs_test): Call
23856 get_debug_format before using the debug format.
23857
238582003-11-22 Andrew Cagney <cagney@redhat.com>
23859
23860 * lib/gdb.exp (gdb_test_multiple): Add simple example.
23861 * gdb.base/structs.exp: Use gdb_test_multiple.
23862
238632003-11-20 Andrew Cagney <cagney@redhat.com>
23864
23865 * gdb.base/structs.exp: Handle and recover from internal errors.
23866 Replace "foo${n}" with "foo<n>" in test messages.
23867
23868 * gdb.base/structs.exp: Update copyright. Rewrite.
23869 * gdb.base/structs.c: Update copyright. Rewrite.
23870
23871 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
23872 resync count exceeded.
23873
23874 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
23875 from the internal error.
23876 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
23877 Original from Jim Blandy.
23878 (gdb_test_multiple): Use gdb_internal_error_resync.
23879
238802003-11-19 Andrew Cagney <cagney@redhat.com>
23881
23882 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
23883 KFAIL.
23884
238852003-11-17 Mark Kettenis <kettenis@gnu.org>
23886
23887 New testcase for PR backtrace/1435.
23888 * gdb.arch/i386-unwind.exp: New file.
23889 * gdb.arch/i386-unwind.c: New file.
23890
238912003-11-17 Andrew Cagney <cagney@redhat.com>
23892
23893 * lib/gdb.exp (compiler_info): New global.
23894 (test_compiler_info): New function.
23895 (get_compiler_info): Set compiler_info.
23896 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
23897 "compiler_info" to gcc-<major>-<minor>.
23898
238992003-11-15 Michael Chastain <mec.gnu@mindspring.com>
23900
23901 * gdb.trace/configure: Remove.
23902
239032003-11-13 Elena Zannoni <ezannoni@redhat.com>
23904
23905 * gdb.base/break.c: Add comments to aid finding line numbers for
23906 breakpoints.
23907 * gdb.base/break.exp: Remove all references to explicit line
23908 numbers.
23909
239102003-11-11 Nick Clifton <nickc@redhat.com>
23911
23912 * gdb.base/shreloc.exp: Do not run for targets which do not
23913 support shared objects.
23914
239152003-11-10 Corinna Vinschen <vinschen@redhat.com>
23916
23917 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
23918 Don't run tests if nofileio flag is given.
23919
239202003-11-07 Elena Zannoni <ezannoni@redhat.com>
23921
23922 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
23923 as well as 'Watchpoint'.
23924
239252003-11-06 Elena Zannoni <ezannoni@redhat.com>
23926
23927 Reported by Jim Ingham <jingham@apple.com>:
23928 * gdb.base/annota1.exp: Match at least one occurrence of the
23929 signal handler annotation.
23930
239312003-11-06 Elena Zannoni <ezannoni@redhat.com>
23932
23933 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
23934 as well as 'Watchpoint'.
23935
239362003-11-05 Michael Chastain <mec@shout.net>
23937
23938 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
23939
239402003-11-03 Kris Warkentin <kewarken@qnx.com>
23941
23942 * gdb.arch/gdb1291.c: New test file.
23943 * gdb.arch/gdb1291.exp: New test script.
23944 * gdb.arch/gdb1431.c: New test file.
23945 * gdb.arch/gdb1431.exp: New test script.
23946
239472003-10-22 Michael Chastain <mec@shout.net>
23948
23949 * gdb.mi/pthreads.c: Add copyright notice.
23950
239512003-10-22 Michael Chastain <mec@shout.net>
23952
23953 * gdb.threads/pthreads.c: Add copyright notice.
23954
239552003-10-20 Michael Chastain <mec@shout.net>
23956
23957 * gdb.base/gdb1056.exp: New test script.
23958
239592003-10-13 Daniel Jacobowitz <drow@mvista.com>
23960
23961 * gdb.threads/killed.exp: Use gdb_run_cmd.
23962
239632003-10-13 Daniel Jacobowitz <drow@mvista.com>
23964
23965 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
23966 create a core file.
23967 * gdb.threads/gcore-thread.exp: Likewise.
23968
239692003-10-13 Corinna Vinschen <vinschen@redhat.com>
23970
23971 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
23972 type, based on char type.
23973 (struct bit_flags_short_t): New bitfield type, based on short type.
23974 (init_bit_flags_char): New fuction.
23975 (init_bit_flags_short): Ditto.
23976 (print_bit_flags_char): Ditto.
23977 (print_bit_flags_short): Ditto.
23978 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
23979
239802003-10-11 Michael Chastain <mec@shout.net>
23981
23982 * gdb.base/call-rt-st.exp: Update copyright year.
23983
239842003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
23985
23986 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
23987 * gdb.disasm/sh3.s: Ditto.
23988
239892003-10-07 Daniel Jacobowitz <drow@mvista.com>
23990
23991 * gdb.threads/switch-threads.exp: New test.
23992 * gdb.threads/switch-threads.c: New source file.
23993
239942003-10-07 Corinna Vinschen <vinschen@redhat.com>
23995
23996 * gdb.base/ending-run.exp: Add sh specific case.
23997
239982003-10-06 Andrew Cagney <cagney@redhat.com>
23999
24000 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
24001 * gdb.disasm/mn10200.exp: Delete obsolete file.
24002
240032003-09-29 Daniel Jacobowitz <drow@mvista.com>
24004
24005 * ChangeLog: Correct an entry command.exp -> commands.exp.
24006 * gdb.base/commands.exp (bp_deleted_in_command_test)
24007 (temporary_breakpoint_commands): Check noargs.
24008
240092003-09-25 David Carlton <carlton@kealia.com>
24010
24011 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
24012 of some print tests, where appropriate. Add tests for C::D::cd,
24013 E::ce, F::cXfX, G::XgX.
24014 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
24015
240162003-09-25 Richard Earnshaw <rearnsha@arm.com>
24017
24018 * lib/java.exp (java_init): Import target_alias before using it.
24019
240202003-09-25 David Carlton <carlton@kealia.com>
24021
24022 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
24023
240242003-09-23 Elena Zannoni <ezannoni@redhat.com>
24025
24026 * gdb.base/selftest.exp: Accomodate more instruction reordering
24027 weirdness.
24028
240292003-09-17 Michael Chastain <mec@shout.net>
24030
24031 * gdb.cp/gdb1355.exp: New file.
24032 * gdb.cp/gdb1355.c: New file.
24033
240342003-09-15 Corinna Vinschen <vinschen@redhat.com>
24035
24036 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
24037 * gdb.asm/sh.inc: New file.
24038
240392003-09-11 David Carlton <carlton@kealia.com>
24040
24041 * gdb.cp/namespace.exp: Add tests for namespace types.
24042 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
24043 (test_namespace): New.
24044
240452003-09-11 Elena Zannoni <ezannoni@redhat.com>
24046
24047 * gdb.base/relocate.exp: Handle new gdb output at startup.
24048 * gdb.stabs/weird.exp: Ditto.
24049
240502003-09-08 Michael Chastain <mec@shout.net>
24051
24052 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
24053
240542003-09-07 Michael Chastain <mec@shout.net>
24055
24056 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
24057 'parse error'.
24058
240592003-09-07 Mark Kettenis <m.kettenis@osp.nl>
24060
24061 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
24062
240632003-08-30 Michael Chastain <mec@shout.net>
24064
24065 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
24066 * gdb.gdb/observer.exp: Ditto.
24067 * gdb.gdb/xfullpath.exp: Ditto.
24068
240692003-08-29 Mark Kettenis <kettenis@gnu.org>
24070
24071 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
24072 *-*-*bsd*.
24073
240742003-08-28 Jeff Johnston <jjohnstn@redhat.com>
24075
24076 * gdb.base/dump.exp: Skip for ia64.
24077
240782003-08-25 Jeff Johnston <jjohnstn@redhat.com>
24079
24080 * gdb.asm/asm-source.exp: Add ia64 support.
24081 * gdb.asm/ia64.inc: New file.
24082
240832003-08-22 Michael Chastain <mec@shout.net>
24084
24085 * gdb.cp: New directory.
24086 * gdb.cp/*: Copy from gdb.c++/*.
24087 * gdb.c++/*: Remove.
24088 * Makefile.in: Change gdb.c++ to gdb.cp.
24089 * configure.in: Ditto.
24090 * configure: Regnerate.
24091
240922003-08-18 Mark Kettenis <kettenis@gnu.org>
24093
24094 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
24095 * gdb.arch/i386-prologue.c (gdb1338): Add function.
24096
240972003-08-17 Daniel Jacobowitz <drow@mvista.com>
24098
24099 * mi-var-display.exp (-var-list-children weird): Accept function
24100 pointers with argument types.
24101 * mi1-var-display.exp (-var-list-children weird): Likewise.
24102 * mi2-var-display.exp (-var-list-children weird): Likewise.
24103
241042003-08-17 Daniel Jacobowitz <drow@mvista.com>
24105
24106 * gdb.base/annota3.exp: Add missing newline.
24107
241082003-08-06 Michael Chastain <mec@shout.net>
24109
24110 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
24111
241122003-08-12 Michael Snyder <msnyder@redhat.com>
24113
24114 * gdb.base/float.exp: Add test for SH.
24115
241162003-08-10 Mark Kettenis <kettenis@gnu.org>
24117
24118 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
24119
241202003-08-07 Elena Zannoni <ezannoni@redhat.com>
24121
24122 * gdb.base/completion.exp: Remove reduntant completion test
24123 on filename.
24124
241252003-08-07 Elena Zannoni <ezannoni@redhat.com>
24126
24127 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
24128 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
24129 gdb.trace/save-trace.exp: Make sure that full pathnames are
24130 escaped correctly.
24131
241322003-08-07 Elena Zannoni <ezannoni@redhat.com>
24133
24134 * configure.in: Don't generate config.h from config.hin.
24135 * configure: Regenerate.
24136 * config.hin: Remove file.
24137 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
24138 * gdb.threads/pthreads.c: Ditto.
24139
241402003-08-07 Daniel Jacobowitz <drow@mvista.com>
24141
24142 From Kei Sakamoto <sakamoto.kei@renesas.com>:
24143 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
24144 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
24145 Replace ld24 with seth/add3.
24146
241472003-08-02 Andrew Cagney <cagney@redhat.com>
24148
24149 * gdb.base/annota3.exp: New file.
24150 * gdb.base/annota3.c: New file.
24151 * gdb.c++/annota3.exp: New file.
24152 * gdb.c++/annota3.cc: New file.
24153
241542003-07-29 Michael Chastain <mec@shout.net>
24155
24156 * gdb.threads/tls.c (spin): Check errno only if sem_wait
24157 actually failed.
24158 (do_pass): Likewise.
24159 * gdb.threads/tls.exp: Always initialize no_of_threads.
24160
241612003-07-27 Daniel Jacobowitz <drow@mvista.com>
24162
24163 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
24164 pattern.
24165 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
24166 * gdb.threads/tls.exp: Recognize one case of the host library not
24167 supporting TLS.
24168
241692003-07-27 Andrew Cagney <cagney@redhat.com>
24170
24171 * gdb.base/fileio.exp: Use SH when running commands using
24172 remote_exec.
24173
241742003-07-24 Daniel Jacobowitz <drow@mvista.com>
24175
24176 From Kei Sakamoto <sakamoto.kei@renesas.com>:
24177 * gdb.base/relocate.c (dummy): New padding array.
24178
241792003-07-22 Michael Snyder <msnyder@redhat.com>
24180
24181 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
24182
24183 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
24184 patterns to be more general, accepting old and new output.
24185 Some output chars (such as '+') also must be quoted.
24186 Some addresses are displayed numerically instead of
24187 symbolically.
24188
241892003-07-23 Michael Snyder <msnyder@redhat.com>
24190
24191 * gdb.base/return2.exp: Don't test long-long return.
24192
24193 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
24194 * gdb.disasm/t01_mov.exp: Ditto.
24195 * gdb.disasm/t02_mova.s: Ditto.
24196 * gdb.disasm/t02_mova.exp: Ditto.
24197 * gdb.disasm/t03_add.s: Ditto.
24198 * gdb.disasm/t03_add.exp: Ditto.
24199 * gdb.disasm/t04_sub.s: Ditto.
24200 * gdb.disasm/t04_sub.exp: Ditto.
24201 * gdb.disasm/t05_cmp.s: Ditto.
24202 * gdb.disasm/t05_cmp.exp: Ditto.
24203 * gdb.disasm/t06_ari2.s: Ditto.
24204 * gdb.disasm/t06_ari2.exp: Ditto.
24205 * gdb.disasm/t07_ari3.s: Ditto.
24206 * gdb.disasm/t07_ari3.exp: Ditto.
24207 * gdb.disasm/t08_or.s: Ditto.
24208 * gdb.disasm/t08_or.exp: Ditto.
24209 * gdb.disasm/t09_xor.s: Ditto.
24210 * gdb.disasm/t09_xor.exp: Ditto.
24211 * gdb.disasm/t10_and.s: Ditto.
24212 * gdb.disasm/t10_and.exp: Ditto.
24213 * gdb.disasm/t11_logs.s: Ditto.
24214 * gdb.disasm/t11_logs.exp: Ditto.
24215 * gdb.disasm/t12_bit.s: Ditto.
24216 * gdb.disasm/t12_bit.exp: Ditto.
24217 * gdb.disasm/t13_otr.s: Ditto.
24218 * gdb.disasm/t13_otr.exp: Ditto.
24219
242202003-07-22 Elena Zannoni <ezannoni@redhat.com>
24221
24222 * gdb.threads/tls.exp :Add kfail for 'info address' case.
24223
242242003-07-22 Elena Zannoni <ezannoni@redhat.com>
24225
24226 * gdb.threads/tls.c : New file.
24227 * gdb.threads/tls.exp : New file.
24228 * gdb.threads/tls-main.c : New file.
24229 * gdb.threads/tls-shared.c : New file.
24230 * gdb.threads/tls-shared.exp : New file.
24231
242322003-07-22 Andreas Schwab <schwab@suse.de>
24233
24234 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
24235
242362003-07-20 Andreas Schwab <schwab@suse.de>
24237
24238 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
24239 due to insn reordering.
24240
242412003-07-15 Andrew Cagney <cagney@redhat.com>
24242
24243 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
24244
242452003-07-15 Michael Chastain <mec@shout.net>
24246
24247 * gdb.base/gdb1250.exp: New file.
24248 * gdb.base/gdb1250.c: New file.
24249
242502003-07-09 Michal Ludvig <mludvig@suse.cz>
24251
24252 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
24253 expansion of size_t to 'unsigned long', not only to 'unsigned'.
24254
242552003-07-09 Elena Zannoni <ezannoni@redhat.com>
24256
24257 * gdb.threads/tls.c: New file.
24258 * gdb.threads/tls.exp: New file.
24259 * gdb.threads/tls-main.c: New file.
24260 * gdb.threads/tls-shared.c: New file.
24261 * gdb.threads/tls-shared.exp: New file.
24262
242632003-07-09 Elena Zannoni <ezannoni@redhat.com>
24264
24265 * gdb.base/annota1.exp: Make sure that we properly escape the
24266 full path of the source file. Xfail more permissive patterns,
24267 due to a compiler debug info problem.
24268
242692003-07-07 Andreas Schwab <schwab@suse.de>
24270
24271 * gdb.asm/m68k.inc: New file.
24272 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
24273
24274 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
24275 arguments"): Also match negative number.
24276
24277 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
24278
242792003-07-03 Daniel Jacobowitz <drow@mvista.com>
24280
24281 * gdb.base/store.c (charest): New typedef.
24282 (add_char): Rename to add_charest, update.
24283 (wack_char): Rename to wack_charest, update types. Return l + r
24284 to keep r live across the call.
24285 (wack_short, wack_int, wack_long, wack_longest, wack_float)
24286 (wack_double, wack_doublest): Return l + r to keep r live across
24287 the call.
24288 * gdb.base/store.exp: Accomodate store.c changes.
24289
242902003-06-30 David Carlton <carlton@kealia.com>
24291
24292 * gdb.c++/maint.exp (test_invalid_name): New.
24293 (test_first_component): Add tests for invalid names.
24294
242952003-06-29 Michael Chastain <mec@shout.net>
24296
24297 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
24298 output of '<VTT for class>' for virtual base classes.
24299
243002003-06-29 Daniel Jacobowitz <drow@mvista.com>
24301
24302 * gdb.base/completion.exp: Tab-complete "complet" instead of
24303 "compl".
24304 * gdb.base/complex.exp, gdb.base/complex.c: New files.
24305
243062003-06-29 Daniel Jacobowitz <drow@mvista.com>
24307
24308 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
24309 * gdb.base/volatile.exp: Likewise.
24310
243112003-06-29 Daniel Jacobowitz <drow@mvista.com>
24312
24313 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
24314 gdb/1265.
24315
243162003-06-28 Michael Chastain <mec@shout.net>
24317 Daniel Jacobowitz <drow@mvista.com>
24318
24319 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
24320 initial line count of 'captured_main' from 26 to 32.
24321 (test_with_self): Allow xmalloc call to be interleaved with the
24322 preceding two lines.
24323
243242003-06-24 Joel Brobecker <brobecker@gnat.com>
24325
24326 * gdb.base/bang.exp: New testcase.
24327
243282003-06-23 Joel Brobecker <brobecker@gnat.com>
24329
24330 * gdb.base/langs.exp: Add some tests for the "minimal" language
24331 support.
24332
243332003-06-23 Elena Zannoni <ezannoni@redhat.com>
24334
24335 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
24336 the testcase.
24337
243382003-06-22 Daniel Jacobowitz <drow@mvista.com>
24339
24340 * gdb.base/relocate.exp: Test add-symbol-file with a variable
24341 offset.
24342
243432003-06-22 Daniel Jacobowitz <drow@mvista.com>
24344
24345 * gdb.c++/pr-1210.cc: New file.
24346 * gdb.c++/pr-1210.exp: New file.
24347
243482003-06-21 Daniel Jacobowitz <drow@mvista.com>
24349
24350 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
24351 000-exec-continue.
24352
243532003-06-15 Mark Kettenis <kettenis@gnu.org>
24354
24355 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
24356 on *-*-*bsd* instead of *-*-freebsd*.
24357
243582003-06-14 Andrew Cagney <cagney@redhat.com>
24359
24360 * gdb.base/store.exp: Test longest and doublest. Test all
24361 parameters. Weaken return statement match.
24362 * gdb.base/store.c: Add longest and doublest - aka long long and
24363 long double functions. Put all parameters into local register
24364 variables. Use negative values.
24365
243662003-06-14 Andrew Cagney <cagney@redhat.com>
24367
24368 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
24369 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
24370 exit status.
24371 * gdb.base/fileio.exp: Disable target when nointerrupts and
24372 noinferiorio, instead of limiting it to remote. Use remote_exec
24373 instead of system.
24374
243752003-06-12 Jeff Johnston <jjohnstn@redhat.com>
24376
24377 * gdb.base/float.exp: Add ia64 support.
24378
243792003-06-12 Corinna Vinschen <vinschen@redhat.com>
24380
24381 * gdb.base/fileio.exp: Run only on remote targets.
24382
243832003-06-10 Corinna Vinschen <vinschen@redhat.com>
24384
24385 * gdb.base/fileio.c: New file, testing File-I/O.
24386 * gdb.base/fileio.exp: Ditto.
24387
243882003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
24389
24390 * gdb.base/shreloc.exp: New file, check symbol values obtained from
24391 shared objects after relocation at load time (gdb PR/1132).
24392 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
24393 as above, part of the shared object relocation test.
24394
243952003-06-08 Mark Kettenis <kettenis@gnu.org>
24396
24397 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
24398 fully filled history list.
24399 * gdb.base/gdb_history: New file.
24400
24401 * gdb.base/signals.exp: XFAIL "continue to func1" on
24402 i*86-*-freebsd*.
24403
24404 * gdb.base/attach.exp: When trying to attach to a nonexistent
24405 process, make it possible to specify the PID based on the target,
24406 and do so for *-*-freebsd*.
24407
244082003-06-02 Richard Henderson <rth@redhat.com>
24409
24410 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
24411
244122003-06-02 Richard Henderson <rth@redhat.com>
24413
24414 * gdb.base/selftest.exp: Next over lim_at_start initialization.
24415
244162003-06-02 Richard Henderson <rth@redhat.com>
24417
24418 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
24419
244202003-06-01 Daniel Jacobowitz <drow@mvista.com>
24421
24422 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
24423 of globalvar.
24424
244252003-06-01 Mark Kettenis <kettenis@gnu.org>
24426
24427 * gdb.asm/asm-source.exp: Check for memory read errors in
24428 disassembler test on *BSD too.
24429
244302003-06-01 Richard Henderson <rth@redhat.com>
24431
24432 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
24433 for .frame.
24434 (gdbasm_call): Lose ldgp.
24435 (gdbasm_startup): Add frame information.
24436 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
24437
244382003-05-31 Mark Kettenis <kettenis@gnu.org>
24439
24440 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
24441 i?86-*-*.
24442
244432003-05-30 Mark Kettenis <kettenis@gnu.org>
24444
24445 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
24446 FreeBSD.
24447
244482003-05-29 Richard Henderson <rth@redhat.com>
24449
24450 * gdb.asm/alpha.inc: New file.
24451 * gdb.asm/asm-source.exp: Use it.
24452
244532003-05-29 Jim Blandy <jimb@redhat.com>
24454
24455 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
24456 'core.PID'.
24457
244582003-05-22 Jim Blandy <jimb@redhat.com>
24459
24460 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
24461 backtrace.
24462
244632003-05-20 David Carlton <carlton@math.stanford.edu>
24464
24465 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
24466 this time.
24467
244682003-05-19 David Carlton <carlton@bactrian.org>
24469
24470 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
24471 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
24472
244732003-05-19 David Carlton <carlton@bactrian.org>
24474
24475 * gdb.c++/namespace.exp: Add namespace scope and anonymous
24476 namespace tests.
24477 Bump copyright date.
24478 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
24479 (main): Call C::D::marker2.
24480 * gdb.c++/namespace1.cc: New file.
24481
244822003-05-14 Jeff Johnston <jjohnstn@redhat.com>
24483
24484 Roland McGrath <roland@redhat.com>
24485 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
24486 there is no manager thread.
24487
244882003-05-08 Jeff Johnston <jjohnstn@redhat.com>
24489
24490 * gdb.threads/schedlock.exp: Remove assumption that all threads
24491 will run in a particular small time slice. Also ensure we break
24492 in one of the child threads rather than the main thread.
24493
244942003-05-07 Jim Blandy <jimb@redhat.com>
24495
24496 Add support for assembly source testing on the s390x.
24497 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
24498 architecture.
24499 * gdb.asm/s390x.inc: New file.
24500
24501 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
24502 succession of 'if' statements.
24503
245042003-05-05 Andrew Cagney <cagney@redhat.com>
24505
24506 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
24507
245082003-05-05 Andrew Cagney <cagney@redhat.com>
24509
24510 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
24511 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
24512
245132003-05-02 Elena Zannoni <ezannoni@redhat.com>
24514
24515 * gdb.base/charset.exp: Update based on new behavior of set/show
24516 charset commands.
24517
245182003-05-01 Andrew Cagney <cagney@redhat.com>
24519
24520 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
24521 variable do not give memory errors.
24522
245232003-04-30 Adam Fedor <fedor@gnu.org>
24524
24525 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
24526 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
24527 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
24528 gdb.objc/basicclass.m: : New files
24529
24530 * lib/gdb.exp (gdb_compile_objc): New procedure.
24531
245322003-04-27 Daniel Jacobowitz <drow@mvista.com>
24533
24534 * gdb.base/signals.exp: Make backtrace tests more specific.
24535
245362003-04-23 David Carlton <carlton@bactrian.org>
24537
24538 * gdb.c++/maint.exp (test_first_component): Add tests for
24539 'operator' in more locations.
24540
245412003-04-16 Kevin Buettner <kevinb@redhat.com>
24542
24543 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
24544
245452003-04-16 Elena Zannoni <ezannoni@redhat.com>
24546
24547 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
24548 func marke' instead. Update test name.
24549
245502003-04-15 David Carlton <carlton@math.stanford.edu>
24551
24552 * gdb.c++/maint.exp: New file.
24553
245542003-04-14 Elena Zannoni <ezannoni@redhat.com>
24555
24556 * gdb.threads/schedlock.c: Change type of thread function argument
24557 to long, to avoid warnings on 64-bit platforms.
24558
245592003-04-14 Elena Zannoni <ezannoni@redhat.com>
24560
24561 * gdb.base/attach.exp: Add new message from ptrace in case of
24562 attaching to nonexistent process.
24563
245642003-04-11 Jim Blandy <jimb@redhat.com>
24565
24566 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
24567 gdb.c++/userdef.cc: Place comments on the lines to which the
24568 marker function might return.
24569 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
24570 gdb.c++/userdef.exp: Look for those comments to check that we've
24571 returned to the right place, instead of checking line numbers.
24572
245732003-04-11 Elena Zannoni <ezannoni@redhat.com>
24574
24575 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
24576 match on sourcefile name, instead of directory name.
24577
245782003-04-10 Elena Zannoni <ezannoni@redhat.com>
24579
24580 * gdb.base/completion.exp: Use string_to_regexp to match the
24581 working directory name.
24582
245832003-04-09 Jim Blandy <jimb@redhat.com>
24584
24585 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
24586 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
24587 after an inferior function call, report the failure, but allow the
24588 test to continue.
24589
245902003-04-05 Stephane Carrez <stcarrez@nerim.fr>
24591
24592 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
24593 with -DPROTOTYPES.
24594
245952003-04-05 Stephane Carrez <stcarrez@nerim.fr>
24596
24597 * gdb.base/break.exp: Revert last patch.
24598
245992003-04-04 Stephane Carrez <stcarrez@nerim.fr>
24600
24601 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
24602 with -DPROTOTYPES.
24603
246042003-04-02 Andrew Cagney <cagney@redhat.com>
24605
24606 * gdb.base/callfuncs.exp: Make "print add" messages unique.
24607 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
24608 matching directories by the name breakpoint.
24609 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
24610 Make "continue to marker1" consistent.
24611 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
24612 message consistent.
24613 * lib/gdb.exp: Put "the program is no longer running", and "the
24614 program exited" in parenthesis.
24615 * lib/mi-support.exp: Ditto.
24616
246172003-04-02 Bob Rossi <bob_rossi@cox.net>
24618
24619 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
24620
246212003-03-29 Andrew Cagney <cagney@redhat.com>
24622
24623 * gdb.base/sizeof.c (main): Print the value of '\377'.
24624 * gdb.base/sizeof.exp: Check the sign of '\377'.
24625
246262003-03-27 Michael Chastain <mec@shout.net>
24627
24628 * gdb.base/gdb1090.exp: New file.
24629 * gdb.base/gdb1090.cc: New file.
24630
246312003-03-27 J. Brobecker <brobecker@gnat.com>
24632
24633 * gdb.gdb/observer.exp: New regression test.
24634
246352003-03-27 Michael Chastain <mec@shout.net>
24636
24637 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
24638 * gdb.base/ptype.exp: Likewise.
24639
246402003-03-27 Corinna Vinschen <vinschen@redhat.com>
24641
24642 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
24643
246442003-03-26 Michael Chastain <mec@shout.net>
24645
24646 * gdb.base/ptype.exp: Actually use some typedef'd types.
24647
246482003-03-21 Stephane Carrez <stcarrez@nerim.fr>
24649
24650 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
24651 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
24652
246532003-03-20 Corinna Vinschen <vinschen@redhat.com>
24654
24655 * gdb.base/default.exp: Fix regular expression.
24656
246572003-03-20 Corinna Vinschen <vinschen@redhat.com>
24658
24659 * gdb.base/args.exp: Fix regular expression.
24660
246612003-03-20 Corinna Vinschen <vinschen@redhat.com>
24662
24663 * gdb.base/help.exp: Allow Win32 child process.
24664
246652003-03-20 Corinna Vinschen <vinschen@redhat.com>
24666
24667 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
24668 when stepping out of main().
24669
246702003-03-20 Corinna Vinschen <vinschen@redhat.com>
24671
24672 * gdb.base/default.exp: Check for win32 specific message when calling
24673 "run" without executable.
24674
246752003-03-20 Corinna Vinschen <vinschen@redhat.com>
24676
24677 * gdb.base/args.exp: Expect .exe in output.
24678
246792003-03-20 Corinna Vinschen <vinschen@redhat.com>
24680
24681 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
24682 Cygwin native.
24683
246842003-03-17 Andrew Cagney <cagney@redhat.com>
24685
24686 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
24687 vector registes.
24688 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
24689 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
24690
246912003-03-17 David Carlton <carlton@math.stanford.edu>
24692
24693 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
24694 test, for PR breakpoints/38.
24695 Call test_watchpoint_and_breakpoint.
24696 * gdb.base/watchpoint.c (func3): New function.
24697 (main): Call func3.
24698
246992003-03-04 David Carlton <carlton@math.stanford.edu>
24700
24701 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
24702 Garply<Garply<char> >:: garply".
24703 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
24704 with respect to PR c++/1111; note also PR c++/1113.
24705 (test_template_breakpoints): KFAIL "constructor breakpoint" with
24706 respect to PR c++/1062.
24707 KFAIL "destructor breakpoint" with respect to PR c++/1112.
24708
247092003-03-03 David Carlton <carlton@math.stanford.edu>
24710
24711 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
24712 with respect to PR c++/57.
24713 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
24714 c++/826.
24715 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
24716 respect to PR c++/57.
24717
247182003-03-03 David Carlton <carlton@math.stanford.edu>
24719
24720 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
24721 respect to PR c++/33 into FAILs.
24722
247232003-03-03 Michael Chastain <mec@shout.net>
24724
24725 * configure.in: Update copyright years.
24726
247272003-03-03 Michael Chastain <mec@shout.net>
24728
24729 * Makefile.in: Update copyright years.
24730
247312003-02-28 David Carlton <carlton@math.stanford.edu>
24732
24733 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
24734 print class instead of struct and/or superfluous protection
24735 specifiers, as long as the resulting output is equivalent to the
24736 source code.
24737 Delete FIXME from end of messages on tests that don't need
24738 fixing.
24739
247402003-02-28 David Carlton <carlton@math.stanford.edu>
24741
24742 * gdb.c++/templates.exp (do_tests): Allow const in the two
24743 Foo<volatile char *>::foo tests.
24744
247452003-02-27 Michael Snyder <msnyder@redhat.com>
24746
24747 * gdb.base/restore.c (main): Return zero, so exit code
24748 will be consistant.
24749
247502003-02-26 David Carlton <carlton@math.stanford.edu>
24751
24752 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
24753 char *>::foo" test with respect to PR c++/33. Create a new test
24754 which is identical to that one except that it doesn't put the
24755 space between the "char" and the "*"; KFAIL it, too.
24756
247572003-02-26 David Carlton <carlton@math.stanford.edu>
24758
24759 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
24760 template types into either PASSes or KFAILs (corresponding to PR
24761 c++/57). Tweak indentation. Update copyright.
24762
247632003-02-23 Stephane Carrez <stcarrez@nerim.fr>
24764
24765 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
24766
247672003-02-13 Michael Chastain <mec@shout.net>
24768
24769 * gdb.base/exprs.exp: Remove i960 remnants.
24770 * gdb.base/funcargs.exp: Likewise.
24771 * gdb.base/list.exp: Likewise.
24772 * gdb.base/ptype.exp: Likewise.
24773
247742003-02-14 David Carlton <carlton@math.stanford.edu>
24775
24776 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
24777 pEe->D::vg()" from XFAIL to KFAIL.
24778
247792003-02-13 Jason Molenda (jmolenda@apple.com)
24780
24781 * gdb.base/maint.exp: Update maint print statistics regexp to include
24782 new entries.
24783
247842003-02-13 Michael Chastain <mec@shout.net>
24785
24786 * gdb.c++/inherit.exp: Remove call to get_debug_format.
24787
247882003-02-12 Michael Chastain <mec@shout.net>
24789
24790 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
24791 * gdb.c++/inherit.exp: Likewise.
24792 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
24793 * gdb.c++/templates.exp: Likewise.
24794 * gdb.c++/virtfunc.exp: Likewise.
24795
247962003-02-06 Jason Molenda (jason-cl@molenda.com)
24797
24798 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
24799 why the code is written that way.
24800
248012003-02-05 Michael Chastain <mec@shout.net>
24802
24803 * gdb.base/dump.exp: Add missing copyright line.
24804
248052003-02-05 Jason Molenda (jason-cl@molenda.com)
24806
24807 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
24808 at the beginning so the breakpoint doesn't get set on the loop.
24809
248102003-02-05 Michael Chastain <mec@shout.net>
24811
24812 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
24813 output for configurations with gcc 2.95.3.
24814
248152003-02-05 Keith Seitz <keiths@redhat.com>
24816 Andrew Cagney <ac131313@redhat.com>
24817
24818 * gdb.mi/mi-cli.exp: New file.
24819
248202003-02-04 Michael Chastain <mec@shout.net>
24821
24822 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
24823 Call perror and then continue.
24824
248252003-02-03 Michael Chastain <mec@shout.net>
24826
24827 * gdb.c++/pr-1023.cc: New file.
24828 * gdb.c++/pr-1023.exp: New file.
24829
248302003-02-05 Jim Blandy <jimb@redhat.com>
24831
24832 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
24833 it's local to foobar. Check for it there, and check that it's not
24834 present in main.
24835 * gdb.c++/local.cc (marker2): New function.
24836 (foobar): Call marker1.
24837 (main): Call marker2 instead of marker1.
24838
248392003-02-04 Andrew Cagney <ac131313@redhat.com>
24840
24841 * gdb.disasm/mn10200.exp: Obsolete file.
24842 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
24843 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
24844 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
24845
248462003-02-04 David Carlton <carlton@math.stanford.edu>
24847
24848 * gdb.c++/overload.exp: Test intToChar(1).
24849 * gdb.c++/overload.cc (intToChar): New.
24850 (main): Call intToChar.
24851
248522003-02-03 David Carlton <carlton@math.stanford.edu>
24853
24854 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
24855 'might_kfail' arg.
24856 KFAIL some of the continue_to_bp_overloaded calls, according to
24857 PR c++/1025.
24858
248592003-02-01 Michael Chastain <mec@shout.net>
24860
24861 * gdb.base/advance.c (marker1): New marker function.
24862 * gdb.base/advance.exp: When the 'advance' command lands on the
24863 return breakpoint, it can legitimately stop on either the
24864 current line or the next line. Accommodate both outcomes.
24865 * gdb.base/until.exp: Likewise.
24866
248672003-02-02 Andrew Cagney <ac131313@redhat.com>
24868
24869 2002-11-10 Jason Molenda (jason-cl@molenda.com):
24870 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
24871 now a list, not a tuple.
24872 * gdb.mi/mi-var-display.exp: Ditto.
24873 * gdb.mi/gdb792.exp: Ditto.
24874
248752003-02-01 Andrew Cagney <ac131313@redhat.com>
24876
24877 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
24878 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
24879 stack backtraces.
24880 * gdb.mi/mi-syn-frame.c: Part of same.
24881
248822003-02-01 Mark Kettenis <kettenis@gnu.org>
24883
24884 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
24885 gdb.mi/mi1-pthreads.exp: Return instead of calling
24886 gdb_suppress_entire_file.
24887
248882003-02-01 Mark Salter <msalter@redhat.com>
24889
24890 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
24891
248922003-01-31 Mark Salter <msalter@redhat.com>
24893
24894 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
24895 Support empty arg.
24896
248972003-01-30 Michael Chastain <mec@shout.net>
24898
24899 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
24900 This was a workaround for a UTF-8 bug in readline 4.3. The bug
24901 has been fixed in gdb/readline on 2003-01-09.
24902
249032003-01-29 Michael Snyder <msnyder@redhat.com>
24904
24905 * gdb.base/maint.exp: Allow for leading underscore in symbol.
24906 * gdb.base/display.exp: Allow for leading underscore in symbol.
24907 * gdb.base/args.exp: Skip if target does not support args passing.
24908
249092003-01-22 Daniel Jacobowitz <drow@mvista.com>
24910
24911 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
24912 gdb_test. Accept a list of expect arguments as the third
24913 parameter.
24914 (gdb_test): Use it.
24915
249162003-01-20 Elena Zannoni <ezannoni@redhat.com>
24917
24918 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
24919 allow for different test tree configurations. Update some
24920 tescases accordingly.
24921 * gdb.arch/altivec-regs.exp: Ditto.
24922 * gdb.asm/asm-source.exp: Ditto.
24923 * gdb.base/advance.exp: Ditto.
24924 * gdb.base/display.exp: Ditto.
24925 * gdb.base/long_long.exp: Ditto.
24926 * gdb.base/mips_pro.exp: Ditto.
24927 * gdb.base/overlays.exp: Ditto.
24928 * gdb.base/relocate.exp: Ditto.
24929 * gdb.base/setshow.exp: Ditto.
24930 * gdb.base/step-line.exp: Ditto.
24931 * gdb.base/step-test.exp: Ditto.
24932 * gdb.base/until.exp: Ditto.
24933 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
24934
249352003-01-17 David Carlton <carlton@math.stanford.edu>
24936
24937 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
24938 corresponding to PR c++/945.
24939 Update copyright.
24940
249412003-01-17 David Carlton <carlton@math.stanford.edu>
24942
24943 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
24944 corresponding to PR c++/68.
24945
249462003-01-17 David Carlton <carlton@math.stanford.edu>
24947
24948 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
24949 (test_paddr_hairy_functions): Call print_addr_2_kfail for
24950 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
24951
249522003-01-15 Elena Zannoni <ezannoni@redhat.com>
24953
24954 * gdb.base/break.exp: Fix change of default location, because of
24955 removal of until tests.
24956 * gdb.base/help.exp: Update test for new 'until' help message.
24957 Add test for help on 'advance'.
24958 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
24959
249602003-01-15 Mark Kettenis <kettenis@gnu.org>
24961
24962 * gdb.base/default.exp: Adapt "info float" test for recent changes
24963 to that command. Add test for "info vector".
24964 * gdb.base/float.exp: New file. Add test for "info float" that
24965 resembles the old test in gdb.base/default.exp.
24966
249672003-01-15 David Carlton <carlton@math.stanford.edu>
24968
24969 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
24970
249712003-01-15 Elena Zannoni <ezannoni@redhat.com>
24972
24973 * gdb.base/break.exp: Move the tests of until command from here...
24974 * gdb.base/until.exp: ... to here. New file. Add other tests.
24975 * gdb.base/advance.c: New file.
24976 * gdb.base/advance.exp: New file.
24977
249782003-01-14 Elena Zannoni <ezannoni@redhat.com>
24979
24980 * gdb.base/args.c: New file.
24981 * gdb.base/args.exp: New file.
24982
249832003-01-14 Daniel Jacobowitz <drow@mvista.com>
24984
24985 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
24986
249872003-01-14 Daniel Jacobowitz <drow@mvista.com>
24988
24989 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
24990
249912003-01-14 Daniel Jacobowitz <drow@mvista.com>
24992
24993 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
24994 dates.
24995
249962003-01-13 Daniel Jacobowitz <drow@mvista.com>
24997
24998 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
24999
250002003-01-13 Daniel Jacobowitz <drow@mvista.com>
25001
25002 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
25003 (ptype &*"foo").
25004 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
25005
250062003-01-13 Daniel Jacobowitz <drow@mvista.com>
25007
25008 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
25009 * gdb.mi/mi1-console.exp: Likewise.
25010
250112003-01-13 Daniel Jacobowitz <drow@mvista.com>
25012
25013 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
25014 * gdb.mi/mi1-console.exp: Likewise.
25015
250162003-01-13 Daniel Jacobowitz <drow@mvista.com>
25017
25018 * gdb.c++/overload.exp: Remove some fixed XFAILs.
25019
250202003-01-09 Daniel Jacobowitz <drow@mvista.com>
25021
25022 * gdb.base/detach.exp: New test.
25023
250242003-01-09 Daniel Jacobowitz <drow@mvista.com>
25025
25026 * Makefile.in (ALL_SUBDIRS): New variable.
25027 (subdirs, clean, distclean): Use it.
25028 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
25029 regenerating Makefile, since it is generated from the top level.
25030 * gdb.asm/Makefile.in: Likewise.
25031 * gdb.base/Makefile.in: Likewise.
25032 * gdb.c++/Makefile.in: Likewise.
25033 * gdb.disasm/Makefile.in: Likewise.
25034 * gdb.java/Makefile.in: Likewise.
25035 * gdb.mi/Makefile.in: Likewise.
25036 * gdb.threads/Makefile.in: Likewise.
25037 * gdb.trace/Makefile.in: Likewise.
25038
250392003-01-09 David Carlton <carlton@math.stanford.edu>
25040
25041 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
25042 Add copyright year 2003.
25043
250442003-01-06 Michael Chastain <mec@shout.net>
25045
25046 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
25047 When selecting a thread, 'line' and 'file' are optional.
25048 * gdb.mi/mi1-pthreads.exp: Likewise.
25049
250502003-01-06 Andreas Schwab <schwab@suse.de>
25051
25052 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
25053 failures.
25054
250552003-01-04 Daniel Jacobowitz <drow@mvista.com>
25056
25057 Fix PR gdb/844
25058 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
25059 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
25060
25061 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
25062 instead of calling gdb_suppress_entire_file.
25063 * gdb.threads/print-threads.exp: Likewise.
25064 * gdb.threads/schedlock.exp: Likewise.
25065
25066 * gdb.threads/killed.exp: Return instead of calling
25067 gdb_suppress_entire_file.
25068 * gdb.threads/linux-dp.exp: Likewise.
25069 * gdb.threads/pthreads.exp: Likewise.
25070
250712003-01-04 Daniel Jacobowitz <drow@mvista.com>
25072
25073 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
25074 stabs.
25075 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
25076 * gdb.base/whatis.exp: Always allow (void) after function names.
25077
250782003-01-04 Daniel Jacobowitz <drow@mvista.com>
25079
25080 * gdb.c++/casts.exp: Correct regexp.
25081
250822003-01-04 Mark Kettenis <kettenis@gnu.org>
25083
25084 * configure.in: Call AC_CONFIG_HEADER. Don't call
25085 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
25086 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
25087 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
25088 aforementioned directories in the AC_OUPUT call.
25089 * config.hin: New file.
25090 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
25091 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
25092 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
25093 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
25094 pass -I$objdir instead of -I$objdir/$subdir in compilation.
25095 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
25096 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
25097 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
25098 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
25099 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
25100 gdb.threads/configure.in, gdb.threads/configure,
25101 gdb.threads/config.in, gdb.trace/configure.in,
25102 gdb.trace/configure: Removed.
25103
251042003-01-03 Michael Chastain <mec@shout.net>
25105
25106 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
25107 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
25108
251092003-01-03 Daniel Jacobowitz <drow@mvista.com>
25110
25111 * gdb.base/store.exp: Fix regular expressions.
25112
251132002-12-28 Mark Kettenis <kettenis@gnu.org>
25114
25115 * configure.in: Rewrite.
25116 * configure: Regenerated.
25117
251182003-01-03 David Carlton <carlton@math.stanford.edu>
25119
25120 * gdb.base/psymtab.exp: New file.
25121 * gdb.base/psymtab1.c: Ditto.
25122 * gdb.base/psymtab2.c: Ditto.
25123
251242002-12-23 Adam Fedor <fedor@gnu.org>
25125
25126 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
25127
251282002-12-23 David Carlton <carlton@math.stanford.edu>
25129
25130 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
25131 and current_directory initialization.
25132
251332002-12-22 Jim Blandy <jimb@redhat.com>
25134
25135 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
25136 rather than as part of the output file name.
25137
25138 * gdb.base/attach.exp: There's no need to copy the test program to
25139 /tmp; that was only ever necessary on HP/UX, and this test is
25140 entirely disabled there anyway.
25141
251422002-12-21 Jim Blandy <jimb@redhat.com>
25143
25144 * gdb.c++/psmang.exp: Doc fix.
25145
25146 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
25147 test.
25148
251492002-12-20 David Carlton <carlton@math.stanford.edu>
25150
25151 * gdb.c++/annota2.exp: KFAIL annotate-quit.
25152
251532002-12-18 Michael Chastain <mec@shout.net>
25154
25155 * gdb.c++/annota2.exp: Add copyright year 2002.
25156
251572002-12-17 David Carlton <carlton@math.stanford.edu>
25158
25159 * gdb.c++/try_catch.cc: Add marker comments.
25160 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
25161 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
25162 * gdb.c++/m-static.cc: Ditto.
25163 * gdb.c++/m-static1.cc: Ditto.
25164 * gdb.c++/try_catch.cc: Ditto.
25165
251662002-12-16 Jeff Johnston <jjohnstn@redhat.com>
25167
25168 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
25169 to see whether we are using the new -environment-directory
25170 command which resets via -r or the old version of the command
25171 which may prompt the user. Part of fix for gdb/741.
25172
251732002-12-13 Andrew Cagney <ac131313@redhat.com>
25174
25175 * gdb.fortran/types.exp: Update obsolete comment.
25176 * gdb.fortran/exprs.exp: Ditto.
25177 * lib/gdb.exp: Delete obsolete code.
25178 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
25179 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
25180 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
25181 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
25182 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
25183 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
25184 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
25185 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
25186 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
25187 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
25188 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
25189 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
25190 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
25191 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
25192 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
25193 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
25194 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
25195 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
25196 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
25197 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
25198 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
25199 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
25200 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
25201 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
25202 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
25203 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
25204 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
25205 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
25206 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
25207 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
25208 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
25209 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
25210 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
25211 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
25212 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
25213 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
25214 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
25215
252162002-12-11 David Carlton <carlton@math.stanford.edu>
25217
25218 * gdb.c++/m-data.exp: Add test for members that shadow global
25219 variables: see PR gdb/804.
25220 * gdb.c++/m-data.cc: Ditto.
25221
252222002-12-10 Daniel Jacobowitz <drow@mvista.com>
25223
25224 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
25225
252262002-12-06 David Carlton <carlton@math.stanford.edu>
25227
25228 * gdb.base/store.c: Don't declare functions static.
25229
252302002-12-04 Andrew Cagney <ac131313@redhat.com>
25231
25232 * gdb.base/store.exp, gdb.base/store.c: New files.
25233
252342002-12-03 Daniel Jacobowitz <drow@mvista.com>
25235
25236 * gdb.base/selftest.exp: Update for current gdb.
25237
252382002-12-03 Daniel Jacobowitz <drow@mvista.com>
25239
25240 * gdb.base/maint.exp: Only dump symbols from one source file
25241 or objfile.
25242
252432002-12-03 Daniel Jacobowitz <drow@mvista.com>
25244
25245 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
25246 function call.
25247
252482002-11-25 Jim Blandy <jimb@redhat.com>
25249
25250 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
25251 function appearing in error message.
25252
252532002-11-21 Daniel Jacobowitz <drow@mvista.com>
25254
25255 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
25256
252572002-11-08 Jeff Johnston <jjohnstn@redhat.com>
25258
25259 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
25260 for mi1 and current mi is in correct format. New mi startup message
25261 should be in mi console format. This is part of fix for PR gdb/604.
25262
252632002-09-18 Fernando Nasser <fnasser@redhat.com>
25264
25265 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
25266 which explicitly prints the zero offset as "+0".
25267
252682002-10-22 Daniel Jacobowitz <drow@mvista.com>
25269
25270 * gdb.threads/schedlock.c (args): Make unsigned.
25271
252722002-10-21 Daniel Jacobowitz <drow@mvista.com>
25273
25274 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
25275 numbers. Allow "foo2|selected stack frame".
25276 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
25277 * gdb.asm/asmsrc2.s: Likewise.
25278 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
25279 comments.
25280 * gdb.asm/mips.inc: New file.
25281
252822002-10-18 Adam Fedor <fedor@gnu.org>
25283
25284 * gdb.base/default.exp: Update expected output to include 'ObjC'.
25285 * gdb.base/help.exp: Likewise.
25286
252872002-10-17 Kevin Buettner <kevinb@redhat.com>
25288
25289 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
25290 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
25291
252922002-10-02 Jim Blandy <jimb@redhat.com>
25293
25294 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
25295
252962002-10-01 Andrew Cagney <ac131313@redhat.com>
25297
25298 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
25299 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
25300 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
25301 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
25302 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
25303 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
25304 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
25305
253062002-09-29 Andrew Cagney <ac131313@redhat.com>
25307
25308 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
25309 * mi0-disassemble.exp, mi0-eval.exp: Delete.
25310 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
25311 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
25312 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
25313 * mi0-var-block.exp, mi0-var-child.exp: Delete.
25314 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
25315
253162002-09-27 Kevin Buettner <kevinb@redhat.com>
25317
25318 * gdb.base/annota1.exp (info break): Make directory components of
25319 path optional since not all compilers emit this debug information.
25320
25321 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
25322 step ends up stepping out of the function instead of stopping on
25323 the epilogue.
25324
253252002-09-26 Keith Seitz <keiths@redhat.com>
25326
25327 * lib/insight-support.exp (gdbtk_start): Figure out where
25328 the insight executable is based on where gdb is. Use this
25329 executable to start insight instead of gdb.
25330
253312002-09-25 Andrew Cagney <cagney@redhat.com>
25332
25333 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
25334
253352002-09-24 Andrew Cagney <ac131313@redhat.com>
25336
25337 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
25338 test_isolated_complaints.
25339 (test_empty_complaint): New function.
25340 (test_empty_complaints): New function. Check no output when no
25341 complaints.
25342
253432002-09-19 Jim Blandy <jimb@redhat.com>
25344
25345 * gdb.base/charset.exp, gdb.base/charset.c: New files.
25346
253472002-09-19 Andrew Cagney <ac131313@redhat.com>
25348
25349 * gdb.gdb/complaints.exp: New file.
25350
253512002-09-18 Andrew Cagney <ac131313@redhat.com>
25352
25353 * gdb.base/maint.exp: Check `help maint internal-warning'.
25354
253552002-09-18 David Carlton <carlton@math.stanford.edu>
25356
25357 * gdb.c++/m-static.exp: Remove breakpoints depending on line
25358 numbers, and replace them by a single breakpoint after the
25359 constructors are all finished.
25360 Add test 4.
25361 * gdb.c++/m-static.cc: Add test 4.
25362 * gdb.c++/m-static.h: New file.
25363 * gdb.c++/m-static1.cc: New file.
25364
25365 * gdb.c++/printmethod.exp: New file.
25366 * gdb.c++/printmethod.cc: New file.
25367
25368 * gdb.c++/pr-574.exp: New file.
25369 * gdb.c++/pr-574.cc: New file.
25370
253712002-09-18 Corinna Vinschen <vinschen@redhat.com>
25372
25373 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
25374 embedded targets which never actually exit.
25375
253762002-09-18 Fernando Nasser <fnasser@redhat.com>
25377
25378 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
25379 "don't step after run" as unresolved or unsupported, instead of xfail.
25380
253812002-09-18 Corinna Vinschen <vinschen@redhat.com>
25382
25383 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
25384 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
25385 Add newline to expected string in "step out of main (status wrapper)"
25386 case.
25387
253882002-09-18 Corinna Vinschen <vinschen@redhat.com>
25389
25390 * lib/gdb.exp (rerun_to_main): Allow restarting application.
25391 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
25392
253932002-09-17 Tom Tromey <tromey@redhat.com>
25394
25395 * gdb.base/printcmds.exp (test_print_string_constants): Expect
25396 \000, not \0, in double-quoted string.
25397
253982002-09-14 Corinna Vinschen <vinschen@redhat.com>
25399
25400 * gdb.base/commands.exp: Don't expect a "Program exited normally"
25401 string after running the commands execution on breakpoint tests.
25402
254032002-09-13 Corinna Vinschen <vinschen@redhat.com>
25404
25405 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
25406
254072002-09-12 Joel Brobecker <brobecker@gnat.com>
25408
25409 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
25410
254112002-09-10 Keith Seitz <keiths@redhat.com>
25412
25413 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
25414 runto proc.
25415 (mi_run_to_main): Use mi_runto.
25416 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
25417
254182002-09-10 Keith Seitz <keiths@redhat.com>
25419
25420 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
25421 regexp for stopping at main. Could have multiple event notifications.
25422 Don't assume that main was declared with no parameters.
25423 (mi_next): Use mi_step_to.
25424 (mi_step): Use mi_next_to.
25425
254262002-09-09 Corinna Vinschen <vinschen@redhat.com>
25427
25428 * gdb.base/default.exp: Fix expected string in `info float' test.
25429
254302002-09-09 Ben Elliston <bje@redhat.com>
25431
25432 * config/mips.exp: Update comments.
25433 * config/mips-idt.exp: Likewise.
25434 * config/nind.exp: Likewise.
25435 * config/slite.exp: Likewise.
25436 * config/sparclet.exp: Likewise.
25437 * config/udi.exp: Likewise.
25438 * config/vx.exp: Likewise.
25439 * config/vxworks29k.exp: Likewise.
25440
254412002-09-05 Jim Blandy <jimb@redhat.com>
25442
25443 * gdb.threads/killed.exp: Fix test failure message.
25444
254452002-09-04 Keith Seitz <keiths@redhat.com>
25446
25447 * lib/mi-support.exp: Update copyright.
25448 (mi_gdb_test): Increase the priority of the expected pattern
25449 so that it matches gdb_test.
25450
254512002-09-03 Keith Seitz <keiths@redhat.com>
25452
25453 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
25454 Use integer comparison instead of string comparison for testing
25455 whether binary was built.
25456
254572002-09-03 Jim Blandy <jimb@redhat.com>
25458
25459 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
25460
254612002-08-29 Jim Blandy <jimb@redhat.com>
25462
25463 * gdb.threads/pthreads.exp: Move the portable thread compilation
25464 code into a function in lib/gdb.exp, and call that from here.
25465 * lib/gdb.exp (gdb_compile_pthreads): New function.
25466
254672002-08-29 Keith Seitz <keiths@redhat.com>
25468
25469 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
25470 expect_out so that callers can get at it.
25471
254722002-08-23 Daniel Jacobowitz <drow@mvista.com>
25473
25474 * gdb.threads/print-threads.c: New file.
25475 * gdb.threads/print-threads.exp: New file.
25476 * gdb.threads/schedlock.c: New file.
25477 * gdb.threads/schedlock.exp: New file.
25478
254792002-08-22 Elena Zannoni <ezannoni@redhat.com>
25480
25481 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
25482 not altivec.c.
25483
254842002-08-17 Mark Kettenis <kettenis@gnu.org>
25485
25486 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
25487 targets. The problem should be fixed now.
25488
254892002-08-15 Mark Kettenis <kettenis@gnu.org>
25490
25491 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
25492 2002-07-24 change that removes final dots from error messages.
25493
254942002-08-13 Tom Tromey <tromey@redhat.com>
25495
25496 * gdb.base/readline.exp: New file.
25497
254982002-08-01 Andrew Cagney <ac131313@redhat.com>
25499
25500 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
25501 supress message.
25502
255032002-08-01 Andrew Cagney <cagney@redhat.com>
25504
25505 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
25506 CHILL_FOR_TARGET and CHILL_LIB.
25507 * configure.in (configdirs): Remove gdb.chill.
25508 * configure: Regenerate.
25509 * lib/gdb.exp: Obsolete references to chill.
25510 * gdb.fortran/types.exp: Ditto.
25511 * gdb.fortran/exprs.exp: Ditto.
25512
255132002-07-30 Kevin Buettner <kevinb@redhat.com>
25514
25515 * gdb.base/shlib-call.exp (additional_flags): Conditionally
25516 set Irix-specific compile and link flags.
25517
255182002-07-29 Kevin Buettner <kevinb@redhat.com>
25519
25520 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
25521 source files. The ``-o'' option doesn't work with the ``-E'' option
25522 when using the Irix compiler.
25523
255242002-07-19 Daniel Jacobowitz <drow@mvista.com>
25525
25526 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
25527 Improve support for reusing an exec file. Copy exec file
25528 to target, and run gdbserver on the target instead of on the host.
25529
255302002-07-18 Jim Blandy <jimb@redhat.com>
25531
25532 * gdb.base/ending-run.exp: Don't expect to see the program end in
25533 some orderly fashion when we're running on a real stand-alone
25534 board.
25535
25536 * gdb.base/interrupt.exp: Correct logic for skipping tests on
25537 targets that don't support interrupts.
25538
255392002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
25540
25541 * gdb.base/attach.exp: Add patterns to match output from /proc-based
25542 systems.
25543 Move comments in expect statements to inside the actions, so that they
25544 don't get matched against.
25545
255462002-07-10 Mark Kettenis <kettenis@gnu.org>
25547
25548 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
25549 function when asleep" test.
25550
255512002-07-10 Andrew Cagney <ac131313@redhat.com>
25552
25553 * gdb.base/page.exp: Rewrite to handle problems with very long
25554 `info set' output. Update copyright.
25555
255562002-06-26 Andrew Cagney <ac131313@redhat.com>
25557
25558 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
25559 gdb.threads-hp.
25560 * gdb.hp/configure: Regenerate.
25561 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
25562 * gdb.hp/gdb.threads-hp/configure: Delete file.
25563 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
25564
255652002-06-22 Andrew Cagney <ac131313@redhat.com>
25566
25567 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
25568 setlocale, bindtextdomain and textdomain.
25569
255702002-06-11 Jim Blandy <jimb@redhat.com>
25571
25572 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
25573 preprocessor macro information is present.
25574
25575 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
25576 tests.
25577
255782002-06-06 Michael Snyder <msnyder@redhat.com>
25579
25580 * gdb.base/overlays.exp: Record addresses of overlay
25581 functions in TCL variables rather than in GDB variables,
25582 to avoid having GDB convert them to pointers (with loss
25583 of information).
25584
25585 * gdb.base/d10v.ld: Merge in several years worth of
25586 default linker script changes.
25587 * gdb.base/long_long.exp: Add check for sizeof (long double).
25588
255892002-06-06 Michal Ludvig <mludvig@suse.cz>
25590
25591 * gdb.asm/asm-source.exp: Add x86-64 target.
25592 * gdb.asm/x86_64.inc: New.
25593
255942002-05-30 Michael Chastain <mec@shout.net>
25595
25596 From Benjamin Kosnik <bkoz@redhat.com>:
25597 * gdb.c++/m-static.cc: New file.
25598 * gdb.c++/m-static.exp: New file.
25599
256002002-05-28 Michael Snyder <msnyder@redhat.com>
25601
25602 * gdb.base/call-ar-st.exp: Allow for reduced floating point
25603 precision.
25604
256052002-05-27 Michael Chastain <mec@shout.net>
25606
25607 From Benjamin Kosnik <bkoz@redhat.com>:
25608 * gdb.c++/m-data.cc: New file.
25609 * gdb.c++/m-data.exp: New file.
25610
256112002-05-27 Michael Chastain <mec@shout.net>
25612
25613 From Benjamin Kosnik <bkoz@redhat.com>:
25614 * gdb.c++/try_catch.cc: New file.
25615 * gdb.c++/try_catch.exp: New file.
25616
256172002-05-27 Michael Chastain <mec@shout.net>
25618
25619 * gdb.c++/local.exp: Accept more nested types in output.
25620
256212002-05-26 Michael Chastain <mec@shout.net>
25622
25623 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
25624
256252002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
25626
25627 * lib/gdb.exp (gdb_wrapper_init): Just because
25628 gdb_wrapper_file exists, this does not mean that the file
25629 should not be rebuilt. That is what gdb_wrapper_initialized
25630 is for.
25631 (default_gdb_init): Reset gdb_wrapper_initialized.
25632
256332002-05-23 Michael Snyder <msnyder@redhat.com>
25634
25635 * gdb.base/all-bin.exp: Revise previous patch by just reducing
25636 the precision of the floating point test results.
25637 * gdb.base/call-rt-st.exp: Ditto.
25638
25639 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
25640 * gdb.base/call-rt-st.exp: Ditto.
25641
256422002-05-19 Michael Chastain <mec@shout.net>
25643
25644 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
25645
256462002-05-19 Elena Zannoni <ezannoni@redhat.com>
25647
25648 * configure.in (configdirs): Add gdb.arch.
25649 * configure: Regenerate.
25650
256512002-05-17 Jim Blandy <jimb@redhat.com>
25652
25653 * gdb.base/completion.exp: Recognize the more detailed error
25654 messages produced by the macro expander's lexical analyzer.
25655
256562002-05-14 Elena Zannoni <ezannoni@redhat.com>
25657
25658 * gdb.arch/altivec-abi.c: New file.
25659 * gdb.arch/altivec-abi.exp: New file.
25660 * gdb.arch/altivec-regs.c: New file.
25661 * gdb.arch/altivec-regs.exp: New file.
25662
256632002-05-14 Daniel Jacobowitz <drow@mvista.com>
25664
25665 * gdb.base/maint.exp (maint print type): Update for new type
25666 structure.
25667
256682002-05-14 Elena Zannoni <ezannoni@redhat.com>
25669
25670 * gdb.arch: New directory.
25671 * gdb.arch/configure.in: New file.
25672 * gdb.arch/configure: New file.
25673 * gdb.arch/Makefile.in: New file.
25674
256752002-05-13 Corinna Vinschen <vinschen@redhat.com>
25676
25677 * gdb.asm/asm-source.exp: Add v850 as supported target.
25678 * gdb.asm/v850.inc: New file.
25679
256802002-05-13 Daniel Jacobowitz <drow@mvista.com>
25681
25682 * gdb.c++/annota2.exp (annotate-quit): Add comment.
25683
256842002-05-12 Daniel Jacobowitz <drow@mvista.com>
25685
25686 * gdb.base/break.exp: Check 'break "marker2"'.
25687
256882002-05-10 Michael Snyder <msnyder@redhat.com>
25689
25690 * gdb.base/long_long.exp: Fix typo.
25691
256922002-05-10 Jim Blandy <jimb@redhat.com>
25693
25694 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
25695 a bug.
25696
25697 * gdb.base/printcmds.exp (test_integer_literals_rejected):
25698 Recognize more detailed error message produced by the macro
25699 expander's lexical analyzer.
25700 * lib/gdb.exp (test_print_reject): Same.
25701
257022002-05-09 Mark Kettenis <kettenis@gnu.org>
25703
25704 * gdb.c++/method.exp: Fix typo.
25705
257062002-05-08 Michael Snyder <msnyder@redhat.com>
25707
25708 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
25709 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
25710 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
25711 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
25712 Add iftarget clause for strongarm.
25713
257142002-05-06 Michael Snyder <msnyder@redhat.com>
25715
25716 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
25717 (gdb_continue_to_end): Accept output from status wrapper.
25718 * gdb.base/ending-run.exp: Add case for output from status wrapper.
25719 Clean up fail messages to match pass messages.
25720
25721 Enable the "needs_status_wrapper" testsuite feature.
25722 * lib/gdb.exp (gdb_wrapper_init): New procedure.
25723 (gdb_compile): Conditionally call gdb_wrapper_init.
25724 * gdb.base/a2-run.exp: Recognize output from status wrapper.
25725 * gdb.c++/method.exp: Recognize output from status wrapper.
25726
257272002-05-06 Ben Elliston <bje@redhat.com>
25728From Graydon Hoare <graydon@redhat.com>
25729
25730 * config/sid.exp: Include support for "rawsid" protocol.
25731
257322002-05-03 Jim Blandy <jimb@redhat.com>
25733
25734 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
25735 * gdb.c++/hang3.C: New file.
25736
257372002-05-04 Andrew Cagney <ac131313@redhat.com>
25738
25739 * gdb.base/default.exp: Remove obsolete code.
25740 * gdb.c++/misc.exp: Ditto. Update copyright.
25741 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
25742 * gdb.base/whatis.exp: Ditto. Update copyright.
25743 * gdb.base/scope.exp: Ditto. Update copyright.
25744 * gdb.base/ptype.exp: Ditto. Update copyright.
25745 * gdb.base/printcmds.exp: Ditto. Update copyright.
25746 * gdb.base/opaque.exp: Ditto. Update copyright.
25747 * gdb.base/list.exp: Ditto.
25748 * gdb.base/funcargs.exp: Ditto. Update copyright.
25749 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
25750 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
25751 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
25752 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
25753 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
25754 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
25755
257562002-05-02 Michael Snyder <msnyder@redhat.com>
25757
25758 * gdb.base/watchpoint.exp: Add xscale target.
25759 * gdb.base/long_long.exp: Add xscale target.
25760 * gdb.base/default.exp: Add xscale target.
25761
257622002-05-01 Jim Blandy <jimb@redhat.com>
25763
25764 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
25765 gdb.c++/hang.exp: New test.
25766
257672002-05-01 Fred Fish <fnf@redhat.com>
25768
25769 * gdb.base/completion.exp: Handle completions of "./Make" for
25770 more than one completion possibility, as is the case when we
25771 build and test in the source tree.
25772
257732002-04-29 Anthony Green <green@redhat.com>
25774
25775 * gdb.java/jmisc1.exp: New file.
25776 * gdb.java/jmisc2.exp: New file.
25777
257782002-04-24 Daniel Jacobowitz <drow@mvista.com>
25779
25780 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
25781
257822002-04-23 Elena Zannoni <ezannoni@redhat.com>
25783
25784 * gdb.base/help.exp: Change 'help status' to allow for target
25785 dependent output differences.
25786
257872002-04-22 Michael Chastain <mec@shout.net>
25788
25789 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
25790
257912002-04-22 Michael Chastain <mec@shout.net>
25792
25793 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
25794
257952002-04-17 David S. Miller <davem@redhat.com>
25796
25797 * gdb.asm/sparc64.inc: New file.
25798 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
25799
258002002-04-19 Elena Zannoni <ezannoni@redhat.com>
25801
25802 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
25803 instruction file directly into the build tree. Clean up at end of
25804 test.
25805
258062002-04-18 David S. Miller <davem@redhat.com>
25807
25808 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
25809 handle 64-bit platforms correctly.
25810 * gdb.base/maint.exp: Likewise.
25811
258122002-04-18 Kevin Buettner <kevinb@redhat.com>
25813
25814 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
25815 ``-fpic'' when compiling files comprising a shared library, but
25816 it does need additional linker flags in order to find shared
25817 libraries at run time.
25818
258192002-04-18 Kevin Buettner <kevinb@redhat.com>
25820
25821 * gdb.base/cvexpr.c (use): New function.
25822 (main): Invoke use() on all global variables to prevent
25823 some linkers from deleting these otherwise unused symbols.
25824
258252002-04-17 Michael Chastain <mec@shout.net>
25826From David S. Miller <davem@redhat.com>
25827
25828 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
25829 handle 64-bit platforms correctly.
25830
258312002-04-12 Michael Snyder <msnyder@redhat.com>
25832From Jim Blandy <jimb@redhat.com>
25833 * gdb.base/foo.c (foox): Remove section attribute; the linker
25834 script can handle this instead.
25835 * gdb.base/bar.c (barx): Same.
25836 * gdb.base/baz.c (bazx): Same.
25837 * gdb.base/grbx.c (grbxx): Same.
25838
25839 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
25840 manager doesn't automatically unmap overlays unnecessarily.
25841
258422002-04-10 Martin M. Hunt <hunt@redhat.com>
25843
25844 * gdb.base/ending-run.exp: Fix pattern for Mips targets
25845 stepping out of main.
25846
258472002-04-09 Michael Chastain <mec@shout.net>
25848
25849 * gdb.c++/local.cc (main): Move call to marker1() inside nested
25850 scope so that the nested scope tests will make sense.
25851 * gdb.c++/local.exp: Write patterns that actually work with gcc
25852 (the HP patterns "were never known to work with gcc").
25853 Keep the old aCC patterns too.
25854
258552002-04-09 Daniel Jacobowitz <drow@mvista.com>
25856
25857 * gdb.base/attach.exp: Correct target board test.
25858
258592002-04-08 Michael Chastain <mec@shout.net>
25860
25861 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
25862 in a const method. Add some xfail and fail cases for configurations
25863 that do not emit the "const ...".
25864
258652002-04-07 Michael Chastain <mec@shout.net>
25866
25867 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
25868 Accept "A * const" and "const A * const" as type of "this".
25869 Fix spelling of getFunky throughout. Make messages uniform.
25870
258712002-04-07 Elena Zannoni <ezannoni@redhat.com>
25872
25873 Work around for PR gdb/285:
25874 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
25875
258762002-04-07 Elena Zannoni <ezannoni@redhat.com>
25877
25878 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
25879 instructions file at run time instead of configure time.
25880 Sometimes we run the test in a directory that is not the one we
25881 configured in.
25882 * gdb.asm/configure.in: Delete creation of symlink.
25883 * gdb.asm/configure: Regenerate.
25884
258852002-04-05 J. Brobecker <brobecker@gnat.com>
25886
25887 * gdb.gdb/xfullpath.exp: New test, to exercise the new
25888 xfullpath () function.
25889
258902002-04-04 Daniel Jacobowitz <drow@mvista.com>
25891
25892 * gdb.asm/Makefile.in: Correct dependencies.
25893
25894 * gdb.asm/powerpc.inc: New file.
25895 * gdb.asm/asm-source.exp: Add PowerPC.
25896 * gdb.asm/configure.in: Likewise.
25897 * gdb.asm/configure: Regenerated.
25898
258992002-04-04 Daniel Jacobowitz <drow@mvista.com>
25900
25901 * gdb.base/relocate.exp: New file.
25902 * gdb.base/relocate.c: New file.
25903
259042002-04-04 Fred Fish <fnf@redhat.com>
25905
25906 * gdb.base/step-test.exp: Update comment regarding stopping in
25907 memcpy/bcopy calls inserted as part of the compiler runtime.
25908
259092002-04-04 Michael Snyder <msnyder@redhat.com>
25910
25911 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
25912
259132002-04-03 Daniel Jacobowitz <drow@mvista.com>
25914
25915 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
25916 (gdb_expect): Remove $notransfer hack.
25917
259182002-04-02 Daniel Jacobowitz <drow@mvista.com>
25919
25920 * gdb.c++/classes.exp ("calling method for small class"): Match
25921 updated register output.
25922
259232002-03-30 Daniel Jacobowitz <drow@mvista.com>
25924
25925 Fix PR gdb/452
25926 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
25927 when finished. Make gdb_file_cmd send "exec-file" when
25928 appropriate.
25929
259302002-03-30 Daniel Jacobowitz <drow@mvista.com>
25931
25932 * gdb.base/attach.exp: Remove extra setup_xfail.
25933
259342002-03-26 Michael Snyder <msnyder@redhat.com>
25935
25936 * gdb.base/default.exp: Add tests for dump, append, and restore.
25937 * gdb.base/help.exp: Add tests for dump, append, and restore.
25938 * gdb.base/dump.exp: New file, test dump, append and restore.
25939 * gdb.base/dump.c: New file.
25940
259412002-03-27 Michael Snyder <msnyder@redhat.com>
25942
25943 * gdb.base/help.exp: Modify expect strings to reflect
25944 clean-ups in help messages.
25945
259462002-03-26 Fred Fish <fnf@redhat.com>
25947
25948 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
25949 have debugging info for those functions and the compiler uses them
25950 internally to copy structs around.
25951
259522002-03-26 Fred Fish <fnf@redhat.com>
25953
25954 * gdb.base/list.exp: Revert the change made yesterday and add note
25955 about why we don't list the default lines for remote targets.
25956
259572002-03-25 Michael Snyder <msnyder@redhat.com>
25958
25959 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
25960
259612002-03-25 Fred Fish <fnf@redhat.com>
25962
25963 * gdb.base/list.exp: This test works on remote targets so remove
25964 the short circuit for remote targets. Update copyright.
25965
259662002-03-25 Fred Fish <fnf@redhat.com>
25967
25968 * gdb.base/attach.exp: Fix logic error that was suppressing this
25969 test for all non hppa*-*-hpux* targets, instead of the hp target.
25970 Move comments closer to the suppression point. Also now need to
25971 check that we are running natively.
25972
259732002-03-22 Michael Snyder <msnyder@redhat.com>
25974
25975 * gdb.base/default.exp: Add test for gcore. Update copyright.
25976 * gdb.base/help.exp: Add test for gcore. Update copyright.
25977
259782002-03-06 Fred Fish <fnf@redhat.com>
25979
25980 * gdb.base/funcargs.c: Remove extraneous ';' character.
25981 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
25982
259832002-03-04 Michael Chastain <mec@shout.net>
25984
25985 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
25986 accommodate gcc v3 function signature.
25987 * gdb.mi/mi0-var-cmd-exp: Ditto.
25988
259892002-02-24 Andrew Cagney <ac131313@redhat.com>
25990
25991 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
25992 ``GNU/Linux'' or ``Linux kernel''
25993 * testsuite/gdb.threads/pthreads.c: Ditto.
25994
259952002-02-24 Michael Chastain <mec@shout.net>
25996
25997 * gdb.threads/pthreads.c (thread1): Add a return statement.
25998 (thread2): Likewise.
25999 (foo): Likewise.
26000
260012002-02-23 Michael Chastain <mec@shout.net>
26002
26003 * gdb.threads/linux-dp.c (philosopher): Add a return statement
26004 to placate gcc.
26005
260062002-02-23 Michael Chastain <mec@shout.net>
26007
26008 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
26009 test "ptype bint". The test passes on all my stabs configurations.
26010
260112002-02-21 Jim Blandy <jimb@redhat.com>
26012
26013 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
26014 filename at a time, and watch for the ones we want to see.
26015
26016 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
26017 types of pointers to prototyped functions.
26018
260192002-02-20 Andrew Cagney <ac131313@redhat.com>
26020
26021 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
26022 signed, unsigned and straight char.
26023 (padding_char, padding_short, padding_int, padding_long,
26024 padding_long_long, padding_float, padding_double,
26025 padding_long_double): New global variables.
26026 (fill, fill_structs): New functions.
26027
26028 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
26029 for correctly sized writes. Update copyright.
26030 (get_valueof): New procedure.
26031 (get_sizeof): Call get_valueof.
26032 (check_valueof): New procedure.
26033 (check_padding): New procedure.
26034
260352002-02-20 Michael Chastain <mec@shout.net>
26036
26037 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
26038 to setup_xfail. Document some of the remaining calls.
26039
260402002-02-18 Michael Chastain <mec@shout.net>
26041
26042 * gdb.c++/userdef.exp: Update copyright year.
26043
260442002-02-18 Daniel Jacobowitz <drow@mvista.com>
26045
26046 * gdb.c++/userdef.exp: Test overloaded operators properly.
26047 Remove xfails.
26048
260492002-02-14 Michael Snyder <msnyder@redhat.com>
26050
26051 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
26052
260532002-02-14 Daniel Jacobowitz <drow@mvista.com>
26054
26055 * gdb.base/a2-run.exp: Check for a remote target properly.
26056 * gdb.base/annota1.exp: Likewise.
26057 * gdb.base/list.exp: Likewise.
26058 * gdb.base/reread.exp: Likewise.
26059 * gdb.base/scope.exp: Likewise.
26060 * gdb.base/shlib-call.exp: Likewise.
26061 * gdb.base/term.exp: Likewise.
26062 * gdb.c++/annota2.exp: Likewise.
26063
260642002-02-13 Richard Earnshaw <rearnsha@arm.com>
26065
26066 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
26067
260682002-02-10 Michael Chastain <mec@shout.net>
26069
26070 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
26071 (call_after_alloca): Ditto.
26072
260732002-02-10 Daniel Jacobowitz <drow@mvista.com>
26074
26075 * gdb.base/ending-run.exp: Guard "cont" test with
26076 gdb_skip_stdio_test.
26077
260782002-02-06 Jim Blandy <jimb@redhat.com>
26079
26080 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
26081 from here...
26082 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
26083 To here. Disable this test on non-HP platforms. Add big comment.
26084
260852002-02-04 Michael Snyder <msnyder@redhat.com>
26086
26087 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
26088 other than d10v and m32r.
26089
260902002-02-02 Richard Earnshaw <rearnsha@arm.com>
26091
26092 * gdb.base/default.exp: Rewrite test patterns to reduce time
26093 taken to match them.
26094
260952002-01-30 Daniel Jacobowitz <drow@mvista.com>
26096
26097 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
26098 Allow a start function above main.
26099 * gdb.threads/linux-dp.exp: Fix copyright date.
26100
261012002-01-30 Daniel Jacobowitz <drow@mvista.com>
26102
26103 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
26104 (check_philosopher_stack): Check for manager thread before checking
26105 for a just-starting thread.
26106
261072002-01-30 Daniel Jacobowitz <drow@mvista.com>
26108
26109 From Neil Booth <neil@daikokuya.demon.co.uk>:
26110 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
26111 warnings.
26112
261132002-01-21 Fred Fish <fnf@redhat.com>
26114
26115 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
26116 not caller.
26117
261182002-01-21 Jim Blandy <jimb@redhat.com>
26119
26120 * gdb.base/reread.exp: Check that GDB properly re-reads the
26121 executable file when it changes while no inferior is running.
26122
261232002-01-21 Fred Fish <fnf@redhat.com>
26124
26125 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
26126 optionally accept the "shlib events" variation.
26127
261282002-01-21 Jim Blandy <jimb@redhat.com>
26129
26130 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
26131 call `fflush' after every `printf', so that the output is produced
26132 at predictable points, regardless of whatever buffering does (or
26133 doesn't) take place.
26134 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
26135 at different points.
26136
261372002-01-20 Daniel Jacobowitz <drow@mvista.com>
26138
26139 * gdb.c++/inherit.exp: Update copyright years.
26140 * gdb.c++/method.exp: Likewise.
26141
261422002-01-20 Daniel Jacobowitz <drow@mvista.com>
26143
26144 * gdb.c++/classes.exp: Update for improved v3 support and skipping
26145 artificial methods/arguments.
26146 * gdb.c++/derivation.exp: Likewise.
26147 * gdb.c++/inherit.exp: Likewise.
26148 * gdb.c++/method.exp: Likewise.
26149 * gdb.c++/virtfunc.exp: Likewise.
26150
261512002-01-18 Andrew Cagney <ac131313@redhat.com>
26152
26153 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
26154 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
26155 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
26156 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
26157 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
26158 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
26159
261602002-01-17 Jim Blandy <jimb@redhat.com>
26161
26162 * gdb.asm/asm-source.exp (info symbol): Take another shot at
26163 anchoring the pattern matching the entry point symbol's name.
26164
261652002-01-17 Andrew Cagney <ac131313@redhat.com>
26166
26167 * gdb.base/maint.exp: Update ``maint internal-error'' to match
26168 continue/quit query. Update copyright.
26169
261702002-01-14 Michael Snyder <msnyder@redhat.com>
26171
26172 * gdb.base/gcore.exp: Remove extra debugging output.
26173
261742002-01-13 Daniel Jacobowitz <drow@mvista.com>
26175
26176 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
26177 for slightly dubious v2 mangled string.
26178
261792002-01-13 Daniel Jacobowitz <drow@mvista.com>
26180
26181 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
26182
261832002-01-10 Jason Merrill <jason@redhat.com>
26184
26185 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
26186
26187 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
26188 constructors.
26189 * gdb.c++/derivation.exp: Likewise.
26190 * gdb.c++/templates.exp: Likewise.
26191 * gdb.c++/virtfunc.exp: Likewise.
26192
261932002-01-10 Michael Snyder <msnyder@redhat.com>
26194
26195 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
26196
261972002-01-08 Michael Snyder <msnyder@redhat.com>
26198
26199 * gdb.base/gcore.exp: New test for generate-core-file command.
26200 * gdb.base/gcore.c: Testcase for above.
26201 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
26202
262032002-01-08 Jason Merrill <jason@redhat.com>
26204
26205 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
26206
262072002-01-07 Fred Fish <fnf@redhat.com>
26208
26209 * gdb.c++/overload.exp: Remove unconditional xfails for:
26210 print foo_instance1.overloadargs(1)
26211 print foo_instance1.overloadargs(1, 2)
26212 print foo_instance1.overloadargs(1, 2, 3)
26213 print foo_instance1.overloadargs(1, 2, 3, 4)
26214 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
26215 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
26216 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
26217 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
26218 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
26219 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
26220 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
26221 print foo_instance1.overload1arg()
26222 print foo_instance1.overload1arg((char)arg2)
26223 print foo_instance1.overload1arg((signed char)arg3)
26224 print foo_instance1.overload1arg((unsigned char)arg4)
26225 print foo_instance1.overload1arg((int)arg7)
26226 print foo_instance1.overload1arg((unsigned int)arg8)
26227 print foo_instance1.overload1arg((float)arg11)
26228 print foo_instance1.overload1arg((double)arg12)
26229
262302002-01-07 Michael Snyder <msnyder@redhat.com>
26231
26232 * gdb.base/huge.exp: New test. Print a very large target data object.
26233 (skip_huge_test): New test variable. Define if you want to skip this
26234 test. The test reads an 8 megabyte data object from the target, so it
26235 might be very time consuming on remote targets with a slow connection.
26236 * gdb.base/huge.c: New file. Test case for above.
26237
262382002-01-07 Fred Fish <fnf@redhat.com>
26239
26240 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
26241 g_instance.bfoo, and g_instance.cfoo.
26242
262432002-01-07 Jeffrey A Law <law@redhat.com>
26244
26245 * gdb.base/break.c (multi_line_if_conditional): New function.
26246 (multi_ilne_while_conditional): Likewise.
26247 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
26248 IF or WHILE condition puts the breakpoint at the start of
26249 the condition.
26250
26251 * gdb.base/selftest.exp (backtrace through signal handler): Remove
26252 hppa*-*-hpux* expected failure.
26253 * gdb.base/structs.exp (do_function_calls): Similarly.
26254
26255 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
26256 watchpoints.
26257
262582002-01-06 Andrew Cagney <ac131313@redhat.com>
26259
26260 Fix PR gdb/66.
26261 * gdb.base/structs.exp: Replace skip for a29k with skip for
26262 gdb,cannot_call_functions.
26263 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
26264 * gdb.base/callfuncs.exp: Ditto.
26265 * gdb.base/call-rt-st.exp: Ditto.
26266 * gdb.base/call-strs.exp: Ditto.
26267 * gdb.base/callfwmall.exp: Ditto.
26268 * gdb.base/scope.exp: Obsolete xfail a29k.
26269 * gdb.c++/misc.exp: Ditto.
26270 * gdb.c++/cplusfuncs.exp: Ditto.
26271 * gdb.base/ptype.exp: Ditto.
26272 * gdb.base/printcmds.exp: Ditto.
26273 * gdb.base/opaque.exp: Ditto.
26274 * gdb.base/list.exp: Ditto.
26275 * gdb.base/funcargs.exp: Ditto.
26276 * gdb.base/default.exp: Ditto.
26277
262782002-01-04 Michael Snyder <msnyder@redhat.com>
26279
26280 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
26281 * gdb.base/maint.exp: Add tests for maint info sections options.
26282
26283Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
26284
26285 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
26286
262872001-12-20 Corinna Vinschen <vinschen@redhat.com>
26288
26289 * gdb.asm/arm.inc: New file.
26290 * gdb.asm/asm-source.exp: Add arm targets.
26291 * gdb.asm/configure.in: Ditto.
26292 * gdb.asm/configure: Recreated from configure.in.
26293
26294Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
26295
26296 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
26297 with HP's compiler.
26298 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
26299 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
26300 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
26301 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
26302
26303 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
26304 either HP's compilers or GCC.
26305
26306 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
26307 a SIGBUS or SIGSEGV.
26308
26309 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
26310
26311 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
26312 can be compiled with either HP's compiler or GCC.
26313
26314 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
26315 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
26316 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
26317
26318 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
26319 to match current gdb output. Update due to using auto-solib-limit
26320 for limiting instead of overloading auto-solib-add.
26321 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
26322 test program.
26323
26324 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
26325 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
26326 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
26327 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
26328 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
26329 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
26330 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
26331 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
26332 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
26333 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
26334 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
26335 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
26336 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
26337
26338 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
26339 a SIGTRAP to the inferior.
26340
263412001-12-19 Corinna Vinschen <vinschen@redhat.com>
26342
26343 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
26344 Substitute call to target_link by call to gdb_compile.
26345
26346Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
26347
26348 * gdb.base/break.exp: Fix HP specific search string when testing
26349 backtracing in a called function.
26350
26351 * gdb.base/constvars.exp: Only set lang to C++ if we're
26352 compiling the test with HP's compilers.
26353 * gdb.base/volatile.exp: Similarly.
26354
263552001-12-19 Jim Blandy <jimb@redhat.com>
26356
26357 * gdb.base/printcmds.exp: Expect the null character to be printed
26358 as '\0', and the '\013' to be printed as '\v'.
26359 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
26360 * gdb.base/setvar.exp: Same.
26361
263622001-12-17 Jim Blandy <jimb@redhat.com>
26363
26364 * gdb.base/completion.exp: Rather than completing very long
26365 filenames, which can make the readline library produce output we
26366 don't recognize, cd to the directory first, and then complete
26367 using nice, short relative paths.
26368
26369 * gdb.base/completion.exp: On some systems, there is, in fact, a
26370 variable named `b' in scope, since GDB treats all static
26371 variables as being in scope. So use `no_var_named_this'
26372 instead of `b'.
26373
26374 * gdb.base/corefile.exp: Recognize the message saying that GDB
26375 can't find the core file's registers as a failure.
26376
263772001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
26378
26379 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
26380 test expect string more specific.
26381
263822001-12-13 Corinna Vinschen <vinschen@redhat.com>
26383
26384 * gdb.asm/asm-source.exp: Add support for xstormy16.
26385 * gdb.asm/configure.in: Ditto.
26386 * gdb.asm/configure: Rebuild.
26387 * gdb.asm/xstormy16.inc: New file.
26388
263892001-12-10 Fred Fish <fnf@redhat.com>
26390
26391 * gdb.base/maint.exp: Update to match changes in type dumping code.
26392
263932001-12-10 Jim Blandy <jimb@redhat.com>
26394
26395 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
26396 matching the entry point symbol's name at the beginning of the
26397 line.
26398
263992001-12-07 Daniel Jacobowitz <drow@mvista.com>
26400
26401 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
26402 gdb.c++/inherit.exp, gdb.c++/method.exp,
26403 gdb.c++/namespace.exp, gdb.c++/templates.exp,
26404 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
26405 and class layout support.
26406
264072001-12-07 Daniel Jacobowitz <drow@mvista.com>
26408
26409 * gdb.c++/classes.exp: Add test for static member function.
26410 * gdb.c++/misc.cc: Add class with static member function.
26411
264122001-12-07 Jim Blandy <jimb@redhat.com>
26413
26414 If GDB says it can't find the struct the function returned, report
26415 those tests as `unsupported'.
26416 * gdb.base/call-rt-st.exp (print_struct_call): New function.
26417 Rewrite subsequent tests to use it.
26418
26419 If GDB says it can't find the struct the function returned, report
26420 those tests as `unsupported'.
26421 * gdb.base/structs.exp (call_struct_func): New function.
26422 (do_function_calls): Use call_struct_func to call the functions
26423 returning structs.
26424
26425 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
26426 whether functions are prototyped or not, so we can't possibly pass
26427 arguments to t_float_values2 properly.
26428
26429 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
26430 value of `timeout' for targets other than the mips*tx39-*.
26431
264322001-12-06 Michael Snyder <msnyder@redhat.com>
26433
26434 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
26435 and detect whether the start symbol has a leading underscore.
26436
264372001-12-04 Jim Blandy <jimb@redhat.com>
26438
26439 * gdb.base/completion.exp: Clarify indentation.
26440
264412001-12-03 Jim Blandy <jimb@redhat.com>
26442
26443 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
26444 variables on the S/390, not `.word'.
26445
264462001-11-30 Jim Blandy <jimb@redhat.com>
26447
26448 Add assembly-source tests for s390-ibm-linux.
26449 * gdb.asm/s390.inc: New file.
26450 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
26451 the S/390 architecture.
26452 * gdb.asm/configure: Regenerated.
26453
264542001-11-30 Michael Snyder <msnyder@redhat.com>
26455
26456 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
26457 next, info source, info sources, info line, global and static
26458 variables, and static functions.
26459 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
26460 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
26461 * gdb.asm/asmsrc1.s: Add a static function and some variables.
26462 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
26463 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
26464 (gdbasm_leave): Restore frame pointer.
26465 (gdbasm_startup): Copy stack set-up from crt0.S.
26466
264672001-11-26 Fernando Nasser <fnasser@redhat.com>
26468
26469 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
26470 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
26471 to a local (non-static) variable. Copy tstruct.a to a static buffer
26472 and return a pointer to that buffer.
26473 * gdb.base/callfwmall.c (t_structs_a): Ditto.
26474
264752001-11-24 Mark Kettenis <kettenis@gnu.org>
26476
26477 * gdb.asm/configure.in: Fix recognition of ix86 target.
26478 * gdb.asm/configure: Regenerate.
26479
264802001-11-21 Michael Snyder <msnyder@redhat.com>
26481
26482 * gdb.asm/sparc.inc: New file.
26483 * gdb.asm/asm-source.exp: Recognize sparc target.
26484 * gdb.asm/configure.in: Recognize sparc target.
26485 * gdb.asm/configure: Regenerate.
26486
264872001-11-21 Michael Snyder <msnyder@redhat.com>
26488
26489 * gdb.asm/m32r.inc: New file.
26490 * gdb.asm/asm-source.exp: Recognize m32r target.
26491 * gdb.asm/configure.in: Recognize m32r target.
26492 * gdb.asm/configure: Regenerate.
26493
264942001-11-20 Michael Snyder <msnyder@redhat.com>
26495
26496 * gdb.asm/i386.inc: New file.
26497 * gdb.asm/asm-source.exp: Recognize ix86 target.
26498 * gdb.asm/configure.in: Recognize ix86 target.
26499 * gdb.asm/configure: Regenerate.
26500
26501 * gdb.c++/namespace.exp: Fix quotes in output messages.
26502
265032001-11-14 Michael Snyder <msnyder@redhat.com>
26504
26505 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
26506 qualifier in a type cast expression, to designate an address
26507 in the instruction space (Harvard architecture).
26508
265092001-11-13 Michael Snyder <msnyder@redhat.com>
26510
26511 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
26512 Tests for expressions using 'const' and 'volatile'.
26513
265142001-11-13 Corinna Vinschen <vinschen@redhat.com>
26515
26516 * gdb.asm/asm-sources.exp: Allow defining linker flags.
26517
265182001-11-12 Daniel Jacobowitz <drow@mvista.com>
26519
26520 * lib/mi-support.exp (mi_run_to_helper): Move comments
26521 outside of gdb_expect.
26522
265232001-11-11 Daniel Jacobowitz <drow@mvista.com>
26524
26525 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
26526 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
26527 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
26528 mi0_run_to): New functions.
26529 * gdb.mi/mi-simplerun.exp: Use them.
26530 * gdb.mi/mi0-simplerun.exp: Likewise.
26531 * gdb.mi/mi-var-cmd.exp: Likewise.
26532 * gdb.mi/mi0-var-cmd.exp: Likewise.
26533
265342001-11-10 Andrew Cagney <ac131313@redhat.com>
26535
26536 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
26537 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
26538
265392001-11-09 Andrew Cagney <ac131313@redhat.com>
26540
26541 * gdb.base/restore.exp: Include $expected value in restored test
26542 message.
26543
265442001-11-09 Andrew Cagney <ac131313@redhat.com>
26545
26546 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
26547 implemented.
26548
265492001-11-08 Michael Snyder <msnyder@redhat.com>
26550
26551 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
26552 Add pass/fail message for stop at breakpoint in call dummy function.
26553
265542001-11-07 Michael Snyder <msnyder@redhat.com>
26555
26556 * gdb.c++/templates.exp (test_template_breakpoints):
26557 If we get an overload menu, but it does not match what
26558 we expect, we still need to issue the "cancel" command.
26559 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
26560 making the whitespace optional. Argument for "new" may be
26561 "unsigned" as well as "unsigned int/long".
26562 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
26563 making the whitespace optional. Also replace "(void) with
26564 "((void|)), making the keyword "void" optional.
26565 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
26566 making the whitespace optional. Also replace "(void) with
26567 "((void|)), making the keyword "void" optional.
26568 * gdb.base/callfuncs.c (t_float_values): This function must
26569 _not_ be prototyped, and the following function (t_float_values2)
26570 must be prototyped (if the compiler supports it), so that GDB
26571 can be tested against both cases. Usually one case involves
26572 promotion of float to double, while the other does not.
26573 * gdb.base/callfwmall.c: Ditto.
26574 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
26575 includes a stack frame for "start".
26576
265772001-11-05 Jim Blandy <jimb@redhat.com>
26578
26579 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
26580 pointers are 32 bits long, and that offsets of relocs are always
26581 stored in the data (REL-style), and not in the reloc entry itself
26582 (RELA-style).
26583 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
26584 stabs.
26585
265862001-11-01 Michael Snyder <msnyder@redhat.com>
26587
26588 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
26589 and regular expression operators by using quoting.
26590
265912001-10-31 Michael Snyder <msnyder@redhat.com>
26592
26593 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
26594 depending on what the symbol table contains.
26595 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
26596 the output of the ptype command. Similarly, accept both "const &"
26597 and "const&".
26598
265992001-10-31 Corinna Vinschen <vinschen@redhat.com>
26600
26601 * gdb.base/miscexprs.c (main): Add usage of preprocessor
26602 symbol `STORAGE' to allow to choose the storage class of
26603 the local datastructures.
26604 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
26605 compiler directive.
26606
266072001-10-30 Michael Snyder <msnyder@redhat.com>
26608
26609 * gdb.base/jump.exp: Allow it to run for all targets.
26610
266112001-10-29 Corinna Vinschen <vinschen@redhat.com>
26612
26613 * gdb.base/call-ar-st.c (print_double_array): Match for loop
26614 with new double_array size.
26615 (main): Change storage class of all local variables to static.
26616 Reduce size of double_array to 9.
26617 * gdb.base/call-ar-st.exp: Increase timeout value.
26618 Change expected output for double array to match new size in
26619 call-ar-st.c.
26620
266212001-10-29 Corinna Vinschen <vinschen@redhat.com>
26622
26623 * gdb.base/ending-run.exp: Create identical output when passing
26624 `step to end of run' case. Add regular expression branch satisfying
26625 Stormy16 target.
26626
266272001-10-28 Mark Kettenis <kettenis@gnu.org>
26628
26629 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
26630 that we catch the expected failure under Linux/x86.
26631
266322001-10-29 Orjan Friberg <orjanf@axis.com>
26633
26634 * gdb.base/setvar.exp: Escape curly braces.
26635 * gdb.stabs/weird.exp: Ditto.
26636
266372001-10-27 Daniel Jacobowitz <drow@mvista.com>
26638
26639 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
26640 * gdm.mi/mi0-hack-cli.exp: Likewise.
26641
266422001-10-25 Andrew Cagney <ac131313@redhat.com>
26643
26644 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
26645 messages.
26646
266472001-10-21 Andrew Cagney <ac131313@redhat.com>
26648
26649 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
26650 checking MI enabled.
26651
266522001-10-09 Corinna Vinschen <vinschen@redhat.com>
26653
26654 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
26655
266562001-10-04 Frank Ch. Eigler <fche@redhat.com>
26657
26658 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
26659 if gdb child process crashes, just signal an error.
26660
266612001-10-02 Jim Blandy <jimb@redhat.com>
26662
26663 * lib/gdb.exp (test_xfail_format): Simplify.
26664
26665 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
26666 front of the variable name `format'. Simplify `if'.
26667
266682001-10-01 Daniel Jacobowitz <drow@mvista.com>
26669
26670 * gdb.threads/pthreads.exp: Wait for output and delay
26671 before sending ^C.
26672
266732001-10-01 Daniel Jacobowitz <drow@mvista.com>
26674
26675 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
26676 some incorrect output instead of timing out.
26677 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
26678
266792001-09-28 Corinna Vinschen <vinschen@redhat.com>
26680
26681 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
26682 check to allow additional `int'.
26683
266842001-09-27 Daniel Jacobowitz <drow@mvista.com>
26685
26686 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
26687 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
26688
266892001-09-27 Michael Snyder <msnyder@redhat.com>
26690
26691 * lib/gdb.exp (test_debug_format): New proc.
26692 (setup_xfail_format): Use new proc test_debug_format.
26693 * gdb.base/constvars.exp (local_compiler_xfail_check): New
26694 proc; use new service proc test_debug_format.
26695 Replace all other "gcc_compiled" tests with this test.
26696 * gdb.base/volatile.exp (local_compiler_xfail_check): New
26697 proc; use new service proc test_debug_format.
26698 Replace all other "gcc_compiled" tests with this test.
26699
267002001-09-27 Michael Snyder <msnyder@redhat.com>
26701
26702 * gdb.base/cvexpr.exp: New file.
26703 * gdb.base/cvexpr.c: New file
26704 Test for expressions using const and volatile keywords.
26705
267062001-09-26 Corinna Vinschen <vinschen@redhat.com>
26707
26708 * gdb.base/constvars.exp: Check for different orders of keywords
26709 and additional "int" strings in output.
26710
267112001-09-22 Andrew Cagney <ac131313@redhat.com>
26712
26713 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
26714 responses from "help maint".
26715
267162001-09-19 Frank Ch. Eigler <fche@redhat.com>
26717
26718 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
26719 to localhost:NNN instead of :NNN, in case Xvfb is listening
26720 only on TCP.
26721
267222001-09-19 Corinna Vinschen <vinschen@redhat.com>
26723
26724 * gdb.base/recurse.exp: When checking leaving the watchpoint
26725 scope, recognize when gdb is in function's epilogue and pass.
26726
267272001-09-18 Keith Seitz <keiths@redhat.com>
26728
26729 * lib/insight-support.exp (_gdbtk_export_target_info): Add
26730 support for running tests against sid targets.
26731 (gdbtk_done): Ditto.
26732
267332001-09-18 Corinna Vinschen <vinschen@redhat.com>
26734
26735 * gdb.base/ending-run.c (main): Set stdout buffersize
26736 to the same reasonable value for any target.
26737 * gdb.base/ending-run.exp: Add a regular expression
26738 to make testsuite happy on Sanyo Stormy16 target.
26739
267402001-09-17 Corinna Vinschen <vinschen@redhat.com>
26741
26742 * gdb.base/display.c (do_loops): Add float variable `f'.
26743 Increment f in loop.
26744 * gdb.base/display.exp: Increment timeout by 60 seconds.
26745 Change float display test to use variable `f'.
26746
267472001-09-17 Jim Blandy <jimb@redhat.com>
26748
26749 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
26750 overflowing the limited breakpoint tables on some ROM monitors
26751 (like the ROM68K).
26752
267532001-09-15 Frank Ch. Eigler <fche@redhat.com>
26754
26755 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
26756 the "-ac" (disable access control) flag.
26757
267582001-08-30 Jeff Holcomb <jeffh@redhat.com>
26759
26760 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
26761 ints.
26762
267632001-08-30 Keith Seitz <keiths@redhat.com>
26764
26765 * lib/gdb.exp: Move all insight-related functionality into
26766 separate file.
26767 * lib/insight-support.exp: New file.
26768
267692001-08-29 Frank Ch. Eigler <fche@redhat.com>
26770
26771 * config/sid.exp (sid_start): Never set sid verbosity; disable
26772 expect_background {} that consumed its stdout; tolerate </dev/null.
26773 Attempt to set endianness override in "sid" protocol mode. Cleanup.
26774
267752001-08-18 Andrew Cagney <ac131313@redhat.com>
26776
26777 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
26778 CLI jump command to start it.
26779 (mi_run_to_main): Fail immediatly when unexpected output.
26780
267812001-08-18 Andrew Cagney <ac131313@redhat.com>
26782
26783 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
26784 beginning of function. Fix PR gdb/191.
26785
267862001-08-16 Frank Ch. Eigler <fche@redhat.com>
26787
26788 * config/sid.exp (sid_start): Don't warn if we cannot figure out
26789 what to force sid endianness to.
26790
267912001-08-15 Keith Seitz <keiths@redhat.com>
26792
26793 * lib/gdb.exp (gdbtk_start): Don't set environment
26794 variables for TCL_LIBRARY and friends. Insight will
26795 now figure these out for itself.
26796
267972001-08-02 Michael Snyder <msnyder@redhat.com>
26798
26799 * gdb.base/completion.exp: Remove the symbol "a64l" from
26800 the expect string; this is target-specific, and not related
26801 to what is being tested.
26802
268032001-08-02 Dave Brolley <brolley@redhat.com>
26804
26805 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
26806
268072001-07-25 Michael Snyder <msnyder@redhat.com>
26808
26809 * gdb.base/consecutive.exp: New file. Test stepping over
26810 breakpoints on consecutive instructions.
26811 * gdb.base/consecutive.c: New file.
26812
26813 * gdb.base/call-rt-st.exp: Use double-backslash to quote
26814 curly braces in regular expressions.
26815
268162001-07-25 Michael Snyder <msnyder@redhat.com>
26817
26818 * gdb.base/ending-run.exp: Accept "Program exited normally" as
26819 legitimate output from stepping out of main.
26820
268212001-07-22 Keith Seitz <keiths@redhat.com>
26822
26823 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
26824 the empty string, do not run the tests.
26825
268262001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
26827
26828 * gdb.base/long_long.exp: Detect size of pointer. Take into
26829 account 2-byte pointers when testing for p/a results.
26830
268312001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
26832
26833 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
26834 and defined to 1K for m68hc11.
26835 (random_data): Reduce table to 1K for embedded platforms (68hc11).
26836 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
26837 (sizeof_random_data): New variable to tell the size of the data table;
26838 don't test past this size; always run to main.
26839
268402001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
26841
26842 * gdb.base/return2.exp: return of long long and double fails for
26843 68HC11; don't execute these tests on that platform.
26844 * gdb.base/return.exp: Return of a double fails for 68hc11.
26845
268462001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
26847
26848 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
26849 tests that print a float.
26850 * call-rt-st.exp: Likewise.
26851
268522001-07-12 Mark Kettenis <kettenis@gnu.org>
26853
26854 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
26855 running this test on Linux.
26856
268572001-06-24 Michael Chastain <chastain@redhat.com>
26858
26859 * gdb.base/arithmet.exp: Remove some tests to make all test names
26860 unique.
26861
268622001-07-03 Michael Snyder <msnyder@redhat.com>
26863
26864 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
26865 the output of the ptype command.
26866
268672001-07-02 Michael Snyder <msnyder@redhat.com>
26868
26869 * gdb.base/completion.exp: Don't assume that break.c is the only
26870 source file that may contain functions named "marker".
26871 * gdb.base/corefile.exp: Quote the curly braces in regexp.
26872
268732001-06-28 Andrew Cagney <ac131313@redhat.com>
26874
26875 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
26876 of files to delete.
26877
26878 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
26879 * gdb.disasm/h8300s.exp: New file.
26880 gdb.disasm/h8300s.s: Likewise.
26881
268822001-06-27 Andrew Cagney <ac131313@redhat.com>
26883
26884 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
26885 empty breakpoint tables.
26886
268872001-06-25 Andrew Cagney <ac131313@redhat.com>
26888
26889 * lib/mi-support.exp: Update args=... part of stop-reason
26890 patterns. Accept either a list or a tuple.
26891
268922001-06-23 Andrew Cagney <ac131313@redhat.com>
26893
26894 * lib/mi-support.exp: Remove local emacs variable defining
26895 change-log-default-name.
26896
268972001-06-22 Michael Chastain <chastain@redhat.com>
26898
26899 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
26900 This is operationally compatible with the previous version.
26901
269022001-06-13 Jim Blandy <jimb@redhat.com>
26903
26904 * lib/gdb.exp (gdb_test): Doc fix.
26905
269062001-06-10 Michael Chastain <chastain@redhat.com>
26907
26908 * gdb.base/exprs.exp: Remove a duplicate test.
26909
269102001-06-06 Jim Blandy <jimb@redhat.com>
26911
26912 * gdb.base/return2.exp (main): Use values to test float and double
26913 returns that are not NaN's, to avoid being confused by IEEE
26914 comparison rules.
26915
269162001-06-04 Michael Snyder <msnyder@redhat.com>
26917
26918 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
26919 non-zero if control_c fails. Terminate the test on failure,
26920 rather than wait for 12 more tests to time out.
26921
269222001-06-06 Jim Blandy <jimb@redhat.com>
26923
26924 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
26925 Don't forget to match the GDB prompt.
26926
26927 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
26928
269292001-06-04 Jim Blandy <jimb@redhat.com>
26930
26931 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
26932 command.
26933
269342001-05-31 Kevin Buettner <kevinb@redhat.com>
26935
26936 * gdb.base/annota1.exp (info break): Match four or more spaces
26937 after "Address".
26938
269392001-05-31 Michael Chastain <chastain@redhat.com>
26940
26941 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
26942 (dm_type_int_star): Likewise.
26943 (dm_type_long_star): Likewise.
26944 (dm_type_void_star): Likewise.
26945
269462001-05-29 Kevin Buettner <kevinb@redhat.com>
26947
26948 * gdb.base/completion.exp (INPUTRC): Set this environment variable
26949 to a known value in order to get consistent results regardless
26950 of the setting of INPUTRC or the presence or contents of .inputrc.
26951
269522001-05-24 Michael Snyder <msnyder@redhat.com>
26953
26954 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
26955 Don't require that the main thread and the manager thread are the
26956 first in the list.
26957
26958 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
26959 debugging. If test fails, issue an "unsupported" not a "fail".
26960
269612001-05-24 Jim Blandy <jimb@redhat.com>
26962
26963 Don't assume that short is shorter than int.
26964 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
26965 assume that shorts are smaller than ints. On a 16-bit machine,
26966 this isn't true.
26967 ("print unsigned char == (~0)"): Add test that verifies that ~0,
26968 an int, is not equal to ~0 stored in an unsigned char. This tests
26969 the same thing that the previous test meant to, but works on
26970 16-bit machines, too.
26971 ("print unsigned char != (~0)"): Same test, complemented.
26972
269732001-05-24 Michael Snyder <msnyder@redhat.com>
26974
26975 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
26976 test for (full_coverage == 0). This makes the test run faster,
26977 and prevents dejagnu getting out of step.
26978
269792001-05-23 Kevin Buettner <kevinb@redhat.com>
26980
26981 * gdb.base/finish.exp (finish_void): Revise pattern for
26982 stopping on the call statement to not permit stopping at
26983 the start of the instructions comprising the call sequence.
26984
269852001-05-19 Michael Chastain <chastain@redhat.com>
26986
26987 * gdb.base/callfuncs.exp: Make all test names unique.
26988 * gdb.base/commands.exp: Make all test names unique.
26989 * gdb.base/condbreak.exp: Make all test names unique.
26990 * gdb.base/dbx.exp: Make all test names unique.
26991 * gdb.base/default.exp: Make all test names unique.
26992 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
26993 and TIMEOUT messages to their corresponding PASS message.
26994 * gdb.base/ending-run.exp: Make all test names unique.
26995 * gdb.base/long_long.exp: Remove duplicate test.
26996
269972001-05-21 Kevin Buettner <kevinb@redhat.com>
26998
26999 * gdb.base/finish.exp (finish_void): Allow "finish" command to
27000 stop on the call statement as well as the statement after the
27001 call.
27002
270032001-05-21 Michael Snyder <msnyder@redhat.com>
27004
27005 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
27006
270072001-05-10 Elena Zannoni <ezannoni@redhat.com>
27008
27009 * gdb.base/completion.exp: Revamp test. Make it execute on all
27010 platforms.
27011
270122001-05-10 Elena Zannoni <ezannoni@redhat.com>
27013
27014 * config/gdbserver.exp (gdb_load): Handle the case
27015 in which the arguments to gdbserver are given in the
27016 baseboard configuration file.
27017 Also handle the case in which the server needs to do a
27018 load.
27019
270202001-05-07 Keith Seitz <keiths@cygnus.com>
27021
27022 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
27023 set up the display for testing.
27024 (gdbtk_start): Convert all paths to paths that tcl will like.
27025 Export target information to environment.
27026 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
27027 necessary.
27028 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
27029 (to_tcl_path): New proc to convert a given pathname into
27030 a path acceptible as an argument to a tcl command.
27031 (_gdbtk_export_target_info): New proc to export target info
27032 into the environment for gdbtk testing.
27033 (gdbtk_done): New proc to signal end-of-test.
27034
270352001-05-06 Jim Blandy <jimb@redhat.com>
27036
27037 * restore.c: Make the code of caller0 correspond to its comment.
27038
270392001-05-03 Michael Snyder <msnyder@redhat.com>
27040
27041 * config/sid.exp (gdb_target_sid): Check for error messages.
27042 On error or timeout, don't make expect exit (which will terminate
27043 all subsequent tests); instead just make gdb exit.
27044 (gdb_load): Check for error messages. On error or timeout,
27045 return a negative value.
27046
270472001-04-24 Jim Blandy <jimb@redhat.com>
27048
27049 * gdb.c++/templates.exp: If we see the prompt for the overload
27050 list, but we haven't recognized any of the longer patterns,
27051 arrange for this test to fail, not hang.
27052
27053 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
27054 variations.
27055
270562001-04-22 Michael Chastain <chastain@redhat.com>
27057
27058 * gdb.c++/local.exp: Use the 'runto' library function.
27059 * gdb.c++/namespace.exp: Likewise.
27060 * gdb.c++/overload.exp: Likewise.
27061
270622001-03-26 Kevin Buettner <kevinb@redhat.com>
27063
27064 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
27065 * gdb.base/step-line.exp: New file. Test step/next in presence of
27066 #line directives.
27067 * gdb.base/step-line.c: New file. Test program for the above.
27068 * gdb.base/step-line.inp: New file. We pretend that this file has
27069 been transformed by some other tool into step-line.c.
27070
270712001-03-21 Jim Blandy <jimb@redhat.com>
27072
27073 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
27074 unmangled operator names.
27075
270762001-03-20 Jim Blandy <jimb@redhat.com>
27077
27078 * gdb.threads/linux-dp.exp: Recognize an additional message
27079 generated by GDB when it doesn't understand how to debug threads
27080 on the target system.
27081
270822001-03-19 Andrew Cagney <ac131313@redhat.com>
27083
27084 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
27085
270862001-03-12 Michael Chastain <chastain@redhat.com>
27087
27088 * gdb.c++/derivation.exp: Use the 'runto' library function.
27089
270902001-03-12 Michael Chastain <chastain@redhat.com>
27091
27092 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
27093
270942001-02-24 Michael Chastain <chastain@redhat.com>
27095
27096 * gdb.c++/ref-types.exp: Change handwritten code to library
27097 function 'runto'.
27098
270992001-03-16 Orjan Friberg <orjanf@axis.com>
27100
27101 * gdb.base/signals.exp: Set count to 0 explicitly.
27102
271032001-03-15 Mark Salter <msalter@redhat.com>
27104
27105 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
27106 (gdb_target_monitor): Add check of gdb_target_cmd return value.
27107 (gdb_load): Add support for additional target_info: gdb_download_size
27108 and gdb_load_timeout.
27109
27110Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
27111
27112 * gdb.base/annota1.exp: Move test of isnative to earlier in the
27113 file -- to prevent failing when the compile fails but we have no
27114 intention of running the tests anyway.
27115
27116 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
27117 tests if set.
27118
27119 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
27120 integers.
27121
27122 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
27123 * gdb.c++/namespace.exp: Ditto.
27124
271252001-03-07 Orjan Friberg <orjanf@axis.com>
27126
27127 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
27128 * gdb.base/pointers.exp: Relax pattern match of decimals.
27129
271302001-03-06 Kevin Buettner <kevinb@redhat.com>
27131
27132 * Makefile.in, config/abug.exp, config/cfdbug.exp,
27133 config/cpu32bug.exp, config/dve.exp, config/est.exp,
27134 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
27135 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
27136 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
27137 config/sh.exp, config/sid.exp, config/slite.exp,
27138 config/sparclet.exp, config/udi.exp, config/unknown.exp,
27139 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
27140 config/vxworks.exp, config/vxworks29k.exp,
27141 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
27142 gdb.base/all-bin.exp, gdb.base/annota1.exp,
27143 gdb.base/arithmet.exp, gdb.base/assign.exp,
27144 gdb.base/async.exp, gdb.base/attach.exp,
27145 gdb.base/bitfields.exp, gdb.base/bitops.exp,
27146 gdb.base/break.exp, gdb.base/call-ar-st.exp,
27147 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
27148 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
27149 gdb.base/commands.exp, gdb.base/completion.exp,
27150 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
27151 gdb.base/constvars.exp, gdb.base/corefile.exp,
27152 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
27153 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
27154 gdb.base/ending-run.exp, gdb.base/environ.exp,
27155 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
27156 gdb.base/finish.exp, gdb.base/foll-exec.exp,
27157 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
27158 gdb.base/funcargs.exp, gdb.base/help.exp,
27159 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
27160 gdb.base/logical.exp, gdb.base/long_long.exp,
27161 gdb.base/maint.exp, gdb.base/mips_pro.exp,
27162 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
27163 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
27164 gdb.base/pointers.exp, gdb.base/printcmds.exp,
27165 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
27166 gdb.base/regs.exp, gdb.base/relational.exp,
27167 gdb.base/remote.exp, gdb.base/reread.exp,
27168 gdb.base/restore.exp, gdb.base/return2.exp,
27169 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
27170 gdb.base/selftest.exp, gdb.base/setshow.exp,
27171 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
27172 gdb.base/sigall.exp, gdb.base/signals.exp,
27173 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
27174 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
27175 gdb.base/step-test.exp, gdb.base/structs.c,
27176 gdb.base/structs.exp, gdb.base/structs2.exp,
27177 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
27178 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
27179 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
27180 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
27181 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
27182 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
27183 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
27184 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
27185 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
27186 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
27187 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
27188 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
27189 gdb.fortran/types.exp, gdb.java/jmisc.exp,
27190 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
27191 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
27192 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
27193 gdb.trace/circ.exp, gdb.trace/collection.exp,
27194 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
27195 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
27196 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
27197 gdb.trace/report.exp, gdb.trace/save-trace.exp,
27198 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
27199 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
27200 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
27201 notices.
27202
272032001-02-27 Michael Snyder <msnyder@cygnus.com>
27204
27205 * gdb.base/varargs.c (find_max_double): Fix printf format string:
27206 first arg is int not float.
27207
272082001-02-22 Michael Snyder <msnyder@cygnus.com>
27209
27210 * gdb.base/reread.exp: Unsupported for non-native targets;
27211 doesn't work for remote debugging.
27212
272132001-02-19 Fernando Nasser <fnasser@redhat.com>
27214
27215 From Drew Moseley <dmoseley@redhat.com>
27216 * gdb.base/ending-run.exp: Properly handle the BSP state when
27217 stepping past the end of main.
27218
272192001-02-19 John Moore <jmoore@redhat.com>
27220
27221 * gdb.base/commands.exp (infrun_breakpoint_command_test):
27222 Converted HPUX fix for non-expected items following multiple
27223 step commands into general solution for all platforms.
27224
272252001-02-18 Michael Chastain <chastain@redhat.com>
27226
27227 * gdb.c++/classes.exp (do_tests): Change runto statements
27228 from "runto 'foo(void)'" to "runto 'foo'". This makes the
27229 statements demangler agnostic.
27230 * gdb.c++/virtfunc.exp (do_tests): Likewise.
27231 (gdb_virtfunc_restart): Likewise.
27232
272332001-02-14 Michael Chastain <chastain@redhat.com>
27234
27235 * gdb.c++/inherit.exp (do_tests): Change runto statements
27236 from "runto 'foo(void)'" to "runto 'foo'". This makes the
27237 statements demangler agnostic.
27238
27239Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
27240
27241 * gdb.threads/pthreads.exp: Unify pass/fail messages for
27242 ``continue to bkpt at common_routine in thread 2'' and ``stopped
27243 before calling common_routine 15 times'' tests.
27244
272452001-02-11 Michael Chastain <chastain@redhat.com>
27246
27247 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
27248 Helps the test script figure out which demangler is in use.
27249 (dm_type_foo_ref): Ditto.
27250 (dm_type_int_star): Ditto.
27251 (dm_type_long_star): Ditto.
27252 (dm_type_unsigned_int): Ditto.
27253 (dm_type_void): Ditto.
27254 (dm_type_void_star): Ditto.
27255 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
27256 Probe the gdb demangler and set variables to accommodate
27257 formatting differences.
27258 (info_func_regexp): New function. Same as info_func, but
27259 matches against a regexp.
27260 (info_func): Match against a literal string.
27261 (print_addr_2): New function. Match against a literal string,
27262 which can be different from the input to gdb.
27263 (print_addr): Simply call print_addr_2 with the same argument twice.
27264 (test_lookup_operator_functions): Use demangler formatting variables.
27265 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
27266 the tests in the same order as the C++ class declaration.
27267 (test_paddr_operator_functions): Ditto.
27268 (test_paddr_overloaded_functions): Ditto.
27269 (test_paddr_hairy_functions): Use demangler formatting variables.
27270 Add reference to gdb/19 for related tests.
27271 (do_tests): Call probe_demangler.
27272
272732001-01-30 Kevin Buettner <kevinb@redhat.com>
27274
27275 * gdb.c++/templates.cc (printf): Remove unused function definition.
27276
272772001-01-26 Felix Lee <flee@redhat.com>
27278
27279 * sid.exp (sid_exit): Pass host, not target, to remote_close.
27280
272812001-01-25 matthew green <mrg@redhat.com>
27282
27283 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
27284 up sid.
27285 (sid_exit): Call `remote_pop_conn' after GDB is gone.
27286
272872001-01-25 matthew green <mrg@redhat.com>
27288
27289 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
27290 Deprecate $sid_spawn_id.
27291 (sid_exit): Remove code necessary only for `spawn.'
27292
272932001-01-25 matthew green <mrg@redhat.com>
27294
27295 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
27296
272972001-01-28 Michael Chastain <chastain@redhat.com>
27298
27299 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
27300 to call when tests fail. It takes gdb out of the overloaded
27301 function choice menu back to the main prompt, so that the test
27302 program stays synchronized.
27303 (set_bp_overloaded): New proc to collect all the common
27304 code for setting a breakpoint on an overloaded name. Calls
27305 take_gdb_out_of_choice_menu when needed.
27306 (menu_overload1arg): New variable to collect the repeated
27307 instances of the expected menu for an overloaded name. Change
27308 the regular expression to handle changes in g++ type encoding:
27309 "void" can be either "void" or "", and "unsigned int" can be
27310 either "unsigned int" or "unsigned".
27311 (continue_to_bp_overloaded): Change regular expressions to handle
27312 changes in g++ type encoding.
27313 (no proc): Call take_gdb_out_of_choice_menu when needed.
27314 Remove redundant calls to "info break". Accept either "canceled"
27315 or "cancelled". Change regular expressions in "info break"
27316 calls to handle changes in g++ type encoding. Give all tests
27317 unique strings.
27318
273192001-01-17 Ben Elliston <bje@redhat.com>
27320
27321 * config/sid.exp: New file.
27322
27323Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
27324
27325 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
27326
273272000-12-21 Michael Snyder <msnyder@cygnus.com>
27328
27329 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
27330 Add a RE to accept a non-ascii char if one is ever presented.
27331
273322000-12-20 Fernando Nasser <fnasser@redhat.com>
27333
27334 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
27335
273362000-12-18 Michael Snyder <msnyder@cygnus.com>
27337
27338 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
27339 in regexp. One '\' does not suffice on Linux.
27340
273412000-12-09 Michael Chastain <chastain@redhat.com>
27342
27343 * gdb.base/break.exp (test_clear_command): Use a marker function
27344 rather than 'main' for the test function. Also move this
27345 test to an execution point where the marker function names are
27346 guaranteed to be bound to functions. (Executing tests after a
27347 'finish' from main runs into name conflicts with local names
27348 in __libc_start_main).
27349
273502000-12-07 Michael Snyder <msnyder@cygnus.com>
27351
27352 * gdb.base/finish.exp: New test for gdb's "finish" command.
27353 * gdb.base/return2.exp: New test for gdb's "return" command.
27354 * gdb.base/return2.c: New source file for above.
27355
273562000-12-05 Michael Snyder <msnyder@cygnus.com>
27357
27358 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
27359 * gdb.base/miscexprs.exp: Ditto.
27360 * gdb.base/pointers.exp: Ditto.
27361 * gdb.c++/derivation.exp: Ditto.
27362 * gdb.c++/local.exp: Ditto.
27363 * gdb.c++/namespace.exp: Ditto.
27364 * gdb.c++/overload.exp: Ditto.
27365 * gdb.c++/ref-types.exp: Ditto.
27366
273672000-12-05 Michael Snyder <msnyder@cygnus.com>
27368
27369 * gdb.base/constvars.exp: Test result of "up" command.
27370 * gdb.base/miscexprs.exp: Ditto.
27371 * gdb.base/pointers.exp: Ditto.
27372 * gdb.base/scope.exp: Ditto.
27373 * gdb.c++/derivation.exp: Ditto.
27374 * gdb.c++/local.exp: Ditto.
27375 * gdb.c++/namespace.exp: Ditto.
27376 * gdb.c++/overload.exp: Ditto.
27377 * gdb.c++/ref-types.exp: Ditto.
27378
273792000-11-22 Michael Chastain <chastain@redhat.com>
27380
27381 * mips_pro.exp: Accept either "middle -> top -> main" or
27382 "middle -> main" in the backtrace, because gcc can optimize
27383 tail calls to jumps. Remove setup_xfail for the hppa case.
27384 Add a comment with the original warning messages from PR 3016,
27385 which was filed in 1993, to preserve them for posterity.
27386
273872000-11-17 Nick Duffek <nsd@redhat.com>
27388
27389 * lib/gdb.exp (gdb_test): Override timeout with board info.
27390
273912000-11-17 Nick Duffek <nsd@redhat.com>
27392
27393 * gdb.base/display.exp: Don't kill running stub. Add "again" to
27394 the second kill and detach messages.
27395
273962000-11-17 Nick Duffek <nsd@redhat.com>
27397
27398 * configure.in: Add AC_EXEEXT.
27399 * configure: Regenerate.
27400 * Makefile.in (just-check): Export EXEEXT.
27401 * lib/gdb.exp ($EXEEXT): Import from environment.
27402 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
27403 expect "maint dump-me" on Cygwin.
27404 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
27405 $EXEEXT.
27406
274072000-11-17 Nick Duffek <nsd@redhat.com>
27408
27409 * gdb.base/break.exp: Test backtrace and finish from called
27410 function on all platforms, not just HP-UX.
27411
274122000-11-03 Michael Snyder <msnyder@cygnus.com>
27413
27414 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
27415 code from gdb_target_monitor, so it can be used independantly
27416 for gdbserver. Also comment out an unnecessary PUTS.
27417
274182000-11-03 Michael Snyder <msnyder@cygnus.com>
27419
27420 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
27421 * gdb.base/corefile.exp: Expect the message "Program is being
27422 debugged already" when we send the "corefile" command, since
27423 the preceeding gdb_load may have connected gdb to a remote target.
27424 * gdb.base/display.exp: Disable hardware watchpoints if new
27425 board info variable "no_hardware_watchpoints" is true.
27426 Replace single-letter commands with more readable ones.
27427 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
27428 if new board info variable "no_hardware_watchpoints" is true.
27429 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
27430 to see if stdio (printf) testing is possible.
27431 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
27432 board info variable "no_hardware_watchpoints" is true. Use new
27433 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
27434
274352000-11-13 Fernando Nasser <fnasser@redhat.com>
27436
27437 From Orjan Friberg <orjanf@axis.com>:
27438 * gdb.base/printcmds.exp: Escape curly braces followed by a number
27439 in array print pattern match.
27440
274412000-11-09 Fernando Nasser <fnasser@redhat.com>
27442
27443 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
27444 spelling "cancelled" to U.S. spelling "canceled" to match changes
27445 made to gdb.
27446 * gdb.c++/ovldbreak.exp: Ditto.
27447
274482000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
27449
27450 * gdb.base/callfuncs.c (main): Moved to end of file, call
27451 t_double_values to initialize the FPU before inferior calls are made.
27452 * gdb.base/callfuncs.exp: Test for register preservation after calling
27453 inferior functions. Add tests for continuining, finishing and
27454 returning from a stop in a call dummy.
27455
274562000-10-24 Michael Snyder <msnyder@cygnus.com>
27457
27458 * gdb.base/commands.exp: Break up long lines, and re-indent.
27459
274602000-10-19 Michael Snyder <msnyder@cygnus.com>
27461
27462 * config/gdbserver.exp: Rewritten from the ground up, to make it
27463 compatible with the current dejagnu tree, and to make it work with
27464 the new "gdbserver" in libremote.
27465
274662000-10-16 Michael Snyder <msnyder@cygnus.com>
27467
27468 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
27469 * gdb.base/varargs.exp: Skip entire test if no printf support.
27470 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
27471 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
27472
274732000-10-13 Michael Snyder <msnyder@cygnus.com>
27474
27475 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
27476 no floating point support.
27477 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
27478 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
27479 * gdb.base/call-rt-st.exp: Ditto.
27480 * gdb.base/call-strs.exp: Ditto.
27481
274822000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
27483
27484 * gdb.base/sizeof.c: include <stdio.h>.
27485
27486 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
27487 'finish', otherwise uncaptured gdb_prompt would potentially
27488 throw remaining test points out of sync.
27489
274902000-07-26 Scott Bambrough <scottb@netwinder.org>
27491
27492 * gdb.base/recurse.exp: Run tests for all targets.
27493 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
27494 gnu-oldld case on ARM.
27495 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
27496 for ARM targets.
27497
27498Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
27499
27500 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
27501 * gdb.java/configure: Rebuild.
27502
27503Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
27504
27505 * gdb.java/jv-exp.exp: New file.
27506
27507Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
27508
27509 * configure: Rebuilt.
27510 * configure.in (configdirs): Add gdb.java.
27511 * gdb.java/jmisc.java: New file.
27512 * gdb.java/jmisc.exp: New file.
27513 * gdb.java/Makefile.in: New file.
27514 * gdb.java/configure: Rebuilt.
27515 * gdb.java/configure.in: New file.
27516 * lib/java.exp: New file.
27517
27518Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
27519
27520 * gdb.base/exprs.exp: Test casts to a pointer including over and
27521 underflow.
27522
27523Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
27524
27525 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
27526 and the compilers sizes.
27527
275282000-07-09 Nick Duffek <nsd@redhat.com>
27529
27530 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
27531 (use_methods): New function.
27532 (main): Call use_methods().
27533 * gdb.c++/classes.exp (test_method_param_class): New procedure.
27534 (do_tests): Call test_method_param_class.
27535
275362000-07-09 Nick Duffek <nsd@redhat.com>
27537
27538 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
27539 spelling.
27540 (test_enums): New procedure. Move enum tests from end of script
27541 to here. Set breakpoint on function name instead of line number.
27542 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
27543 (enums2): New marker function.
27544 (enums1): New function.
27545 (main): Call enums1(). Move enum tests to enums1().
27546
27547Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
27548
27549 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
27550 compile/link program. Update line numbers.
27551 * gdb.asm/d10v.inc: Define ``startup''.
27552 * gdb.asm/asmsrc1.s: Add definition of _start.
27553
27554Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
27555
27556 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
27557
275582000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27559
27560 * gdb.base/maint.exp: Add 'maint print architecture' item to output
27561 of 'help maint print' command.
27562
27563Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
27564
27565 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
27566 they use gdb_expect_list.
27567
27568Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
27569
27570 * gdb.base/commands.exp: Use ``set remote
27571 memory-read-packet-size'' instead of ``set endian big'' to test
27572 long commands.
27573
275742000-06-03 Daniel Berlin <dan@cgsoftware.com>
27575
27576 * gdb.c++/templates.exp (do_tests): Make all of these work under
27577 g++, and stop skipping them.
27578
27579 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
27580 work under g++.
27581
27582 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
27583 initialization.
27584
275852000-06-02 Michael Snyder <msnyder@cygnus.com>
27586
27587 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
27588 the regular expression: accept an (almost) arbitrary sequence of
27589 "frames-invalid" and "breakpoints-invalid" messages both before
27590 and after the "starting" message.
27591
275922000-06-02 Michael Snyder <msnyder@cygnus.com>
27593
27594 * gdb.c++/local.exp: This test has never been known to work with g++.
27595
275962000-05-18 Michael Snyder <msnyder@cygnus.com>
27597
27598 * gdb.base/annota1.exp (annotate-signal-handler-caller):
27599 Relax the regular expression a little, make it pass on Solaris 8.
27600
276012000-05-12 Kevin Buettner <kevinb@redhat.com>
27602
27603 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
27604 a call, do not require that gdb stop on the line after the call.
27605 Instead, it is permissible for gdb to stop on the line of the
27606 call itself.
27607
276082000-05-12 Michael Snyder <msnyder@.cygnus.com>
27609
27610 * gdb.base/break.exp (bp on small function, optimized file):
27611 Add a second pass pattern. The behavior differs here between stabs
27612 and dwarf for one-line functions. Stabs preserves two line symbols
27613 (one before the prologue and one after) with the same line number,
27614 but dwarf regards these as duplicates and discards one of them.
27615 Therefore the address after the prologue (where the breakpoint is)
27616 has no exactly matching line symbol, and GDB reports the breakpoint
27617 as if it were in the middle of a line rather than at the beginning.
27618
276192000-05-08 Michael Snyder <msnyder@cygnus.com>
27620
27621 * gdb.base/interrupt.exp: Make "pass" message say "send"
27622 rather than "send_gdb" (for consistancy).
27623
27624Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
27625
27626 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
27627 * gdb.c++/templates.cc: Properly check for GCC version number.
27628 * lib/compiler.cc: Likewise
27629
276302000-04-28 Michael Snyder <msnyder@cygnus.com>
27631
27632 * gdb.base/break.exp: When compiled with -O2 optimization,
27633 gdb may not stop at the first line of main, due to code motion.
27634
276352000-04-26 Michael Snyder <msnyder@cygnus.com>
27636
27637 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
27638 This test depends on parsing the printf output from the target.
27639 Since the sparclet stub doesn't do stdio, this will never work.
27640 * gdb.base/call-rt-st.exp: ditto.
27641 * gdb.base/call-strs: ditto.
27642
276432000-04-24 Michael Snyder <msnyder@cygnus.com>
27644
27645 * gdb.base/miscexprs.exp: make sizeof long array test portable.
27646
27647 * gdb.base/ending-run.exp: After connecting to a remote target,
27648 but before running, the target will appear to be in a random
27649 location. Specify both a file and a line for breakpoints.
27650 Also, the function that calls main may be called 'init'
27651 rather than 'start'.
27652
276532000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27654
27655 * gdb.base/help.exp: Update output for add-symbol-file command.
27656
276572000-04-10 Fernando Nasser <fnasser@cygnus.com>
27658
27659 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
27660 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
27661
276622000-04-07 J.T. Conklin <jtc@redback.com>
27663
27664 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
27665
27666 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
27667
27668Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
27669
27670 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
27671 values that can be represented exactly.
27672 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
27673 above change, and to not check against the directory part of the source
27674 file name.
27675 (step into print_long_arg_list): Likewise.
27676 (print print_small_structs from print_long_arg_list): Likewise.
27677 (print print_long_arg_list): Likewise.
27678
276792000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27680
27681 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
27682
27683Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
27684
27685 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
27686
276872000-03-25 Daniel Berlin <dan@cgsoftware.com>
27688
27689 * gdb.base/commands.exp (deprecated_command_test): Add test for
27690 deprecate with no arguments.
27691
276922000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
27693
27694 * gdb.base/break.exp: Add new test for setting breakpoints on
27695 optimized code so we can test breakpoints work even when function
27696 prologues may be optimized away
27697
276982000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
27699
27700 From David Whedon <dwhedon@gordian.com>
27701 * gdb.base/commands.exp : Added command deprecator tests.
27702
277032000-03-22 Daniel Berlin <dan@cgsoftware.com>
27704
27705 * gdb.base/help.exp: Added test for new apropos command.
27706
277072000-03-21 Kevin Buettner <kevinb@redhat.com>
27708
27709 * gdb.base/pointers.c (usevar): New function.
27710 (main): Make sure that global variables v_int_pointer2, rptr,
27711 and y are all referenced someplace in the program by calling
27712 usevar() on them. [Some linkers delete symbols which are
27713 never referenced. The space remains, but there's no way to
27714 get a (symbolic) handle on the variable from the debugger.]
27715
277162000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27717
27718 * gdb.base/printcmds.c: Add typedeffed arrays.
27719
27720 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
27721 procedure to test arrays that are typedef'd.
27722
277232000-03-13 James Ingham <jingham@leda.cygnus.com>
27724
27725 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
27726 the library directories.
27727
27728Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
27729
27730 * configure.in (configdirs): Add sub directory gdb.mi.
27731 * configure: Re-generate.
27732
27733 * gdb.mi: New directory.
27734
277352000-02-25 Scott Bambrough <scottb@netwinder.org>
27736
27737 * gdb.base/long_long.exp: Correct test suite failure when printing
27738 a long long value as a double on ARM platforms.
27739
277402000-02-16 Jim Blandy <jimb@redhat.com>
27741
27742 * gdb.base/break.exp ("breakpoint line number"): Make sure the
27743 default source file is set properly before running this test.
27744
277452000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27746
27747 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
27748 gdbtk/library directory, not in gdbtcl2.
27749
277502000-02-04 Jim Blandy <jimb@redhat.com>
27751
27752 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
27753 backslash from regexp pattern.
27754
27755 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
27756 procedure. Use it to run all the "continue to bp overloaded"
27757 tests. Note that this changes the names of the tests slightly.
27758 If the breakpoint hit message includes a hex PC value, because
27759 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
27760 from the real source code, still consider that a pass.
27761
27762 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
27763 XFAIL here if the breakpoint message contains a hex address. Note
27764 similar change on 1999-11-02.
27765
27766 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
27767
27768 * gdb.base/ptype.exp: Establish a default source file before
27769 calling get_debug_format.
27770
277712000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
27772
27773 * gdb.base/watchpoint.exp: Remove duplication of test messages.
27774
277752000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
27776
27777 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
27778 of successive stepi commands -- while in the prologue we should see
27779 the function entry bracket.
27780
277812000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
27782
27783 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
27784 reach __change_mode() when stepping through the end of main().
27785
277862000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
27787
27788 * gdb.base/default.exp: Fix expected pattern.
27789 * gdb.base/help.exp: Same.
27790
277912000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27792
27793 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
27794 Don't use xfail's because that affects only the following test.
27795
27796 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
27797 solaris or linux.
27798
27799 * gdb.base/selftest.exp: Update to reflect changes to main.c.
27800
278012000-01-07 Michael Snyder <msnyder@cygnus.com>
27802
27803 * gdb.base/display.exp: Some yacc parsers like to say
27804 "A syntax error" rather than "A parse error". Accept both.
27805
278062000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
27807
27808 * gdb.base/default.exp: Remove OS dependent string from "target
27809 remote" test.
27810 * gdb.base/help.exp: Same for "help target remote" test.
27811
278122000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27813
27814 From Jim Kingdon <kingdon@redhat.com>:
27815
27816 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
27817 prompt (cleanup rather than necessity, but still might keep output
27818 from spilling to next test).
27819
278202000-01-02 Fred Fish <fnf@cygnus.com>
27821
27822 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
27823 AIX, which defines them in <sys/types.h>.
27824
278251999-12-16 Stan Shebs <shebs@andros.cygnus.com>
27826
27827 * gdb.base/default.exp: Match arm* etc instead of arm in "info
27828 float" test.
27829
278301999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
27831
27832 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
27833
27834 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
27835 outermost frame disallowed".
27836
278371999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
27838
27839 * gdb.base/setvar.exp: New tests for setting the value of a struct
27840 with a constant list.
27841
278421999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
27843
27844 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
27845 require the user to type a cast before setting the value of a struct.
27846
278471999-12-06 Jim Blandy <jimb@cygnus.com>
27848
27849 * gdb.base/default.exp: Expect the new 'info float' command on
27850 all i386 platforms.
27851
27852 * gdb.threads/linux-dp.exp: Expand our ability to recognize
27853 LinuxThreads libraries that don't support debugging.
27854
27855Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
27856
27857 * gdb.base/remote.c: Fill the buffer with truely random data.
27858 Change the buffer type to ``unsigned char'' to simplify size
27859 arithmetic.
27860
27861 * gdb.base/remote.exp: Reduce download numbers by one. Typical
27862 stub only handles 400-1 byte packets. Verify that the download
27863 worked.
27864
278651999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
27866
27867 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
27868 tests, using UNRESOLVED for the untested cases. Also, does not wait
27869 for a timeout if the prompt was received before a recognizable pattern.
27870
278711999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
27872
27873 * lib/gdb.exp (gdb_expect_list): Fix spelling.
27874
278751999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27876
27877 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
27878 watchpoints.
27879
278801999-11-24 Jason Merrill <jason@casey.cygnus.com>
27881
27882 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
27883
27884 * gdb.c++/local.exp: Be more flexible in recognizing local class
27885 name mangling. Don't allow horribly truncated method names.
27886 * gdb.c++/derivation.exp: Expect protected inheritance.
27887 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
27888 * gdb.c++/virtfunc.exp: Likewise.
27889 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
27890 when printing a nested enum.
27891
278921999-11-22 Jim Blandy <jimb@cygnus.com>
27893
27894 * gdb.base/step-test.exp: Properly await GDB's response to setting
27895 a breakpoint on the call to large_struct_by_value.
27896
27897 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
27898 just because we have debug info for the `start' function.
27899
279001999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
27901
27902 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
27903 "Unknown signal" messages, which indicate (on LinuxThreads) that
27904 GDB doesn't know how to debug threads on this system. This is
27905 better than hanging while philosopher 0 dumps chatter into gdb.log.
27906
279071999-11-18 Tom Tromey <tromey@cygnus.com>
27908
27909 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
27910
279111999-11-18 Fred Fish <fnf@cygnus.com>
27912
27913 * gdb.base/coremaker2.c: Add sample program for generating
27914 cores that is more self contained than coremaker.c. Eventually
27915 I'll add more code to this and tie it into the testsuite.
27916
279171999-11-12 Stan Shebs <shebs@andros.cygnus.com>
27918
27919 * gdb.base/dollar.exp: Remove, now in gdb.hp.
27920
279211999-11-10 Jimmy Guo <guo@cup.hp.com>
27922
27923 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
27924 from $srcdir/lib/.
27925 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
27926 and gdb.c++/.
27927
27928 * gdb.c++/derivation.exp: remove redundant get compiler info code.
27929
27930 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
27931 'continue with watch' test point.
27932
279331999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
27934
27935 Merged from p2linux-990323-branch:
27936
27937 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
27938
27939Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
27940
27941 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
27942 {limit,fixed}''. Test ``set download-write-size''.
27943
27944Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
27945
27946 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
27947 gdb_expect_list.
27948
27949Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
27950
27951 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
27952
279531999-11-03 Mark Salter <msalter@cygnus.com>
27954
27955 * gdb.base/break.exp: Fix "stub continue" pattern.
27956
279571999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
27958
27959 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
27960
279611999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
27962
27963 * gdb.base/display.exp ("finish"): Add timeout clause.
27964
27965 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
27966 plain prompt clause, so this doesn't have to time out in order to
27967 fail.
27968
27969 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
27970 breakpoint hit messages include an address.
27971
27972 * gdb.base/display.exp: Don't forget to escape parens in regular
27973 expressions. Unix regexp notatation sucks.
27974
279751999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
27976
27977 * gdb.base/annota1.exp: Test for annotate-signalled: change output
27978 order for 'signalled' message.
27979
279801999-11-01 Stan Shebs <shebs@andros.cygnus.com>
27981
27982 From Jimmy Guo <guo@cup.hp.com>:
27983 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
27984 * gdb.base/annota1.c: Add code for tests to work with.
27985
279861999-10-26 Frank Ch. Eigler <fche@cygnus.com>
27987
27988 * gdb.base/remote.exp: New test for remote downloading settings.
27989 * gdb.base/remote.c: New file with large .data.
27990
279911999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
27992
27993 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
27994 for LinuxThreads support, merged from the Code Fusion branch.
27995
27996Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
27997
27998 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
27999 containing exp_continue into a while within an expect. Don't
28000 attempt a start more than three times. Check return value from
28001 gdb_load.
28002
28003Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
28004
28005 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
28006 a pass case.
28007
280081999-10-01 Kevin Buettner <kevinb@cygnus.com>
28009
28010 * gdb.base/break.c (main): Added a statement that we can step
28011 off of.
28012 * gdb.base/break.exp: Added tests for setting a breakpoint
28013 at an offset and stepping onto a breakpoint.
28014
280151999-10-01 Fred Fish <fnf@cygnus.com>
28016
28017 * gdb.base/help.exp (help add-symbol-file): Update to match current
28018 gdb output.
28019
280201999-09-18 Jim Blandy <jimb@cris.red-bean.com>
28021
28022 * gdb.base/break.exp: Code locations are in hex, don't forget!
28023 (For HP-UX.)
28024
280251999-09-17 Stan Shebs <shebs@andros.cygnus.com>
28026
28027 * condbreak.exp: Use break.c as test program.
28028 * condbreak.c: Remove, redundant with break.c.
28029
280301999-09-15 Stan Shebs <shebs@andros.cygnus.com>
28031
28032 * config/monitor.exp (gdb_target_monitor): Disable X- and
28033 Z-packets if the target needs it.
28034
280351999-09-13 James Ingham <jingham@leda.cygnus.com>
28036
28037 * gdb.c++/overload.exp: Added tests for listing overloaded
28038 functions with function pointers in the arg, explicitly calling
28039 out the version you want.
28040
280411999-09-09 Stan Shebs <shebs@andros.cygnus.com>
28042
28043 * long_long.exp: Add variations of test cases that work for
28044 targets with 16-bit ints and 32-bit doubles.
28045
280461999-09-08 Stan Shebs <shebs@andros.cygnus.com>
28047
28048 * break.c (main): Compare a possibly-uninitialized argc with an
28049 unlikely value that fits in 16 bits.
28050
280511999-09-07 Stan Shebs <shebs@andros.cygnus.com>
28052
28053 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
28054 0xfeeb, don't want negative numbers if ints are 16 bits.
28055
28056 * lib/gdb.exp (skip_cplus_tests): New proc.
28057 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
28058 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
28059 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
28060 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
28061 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
28062 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
28063 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
28064 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
28065
28066 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
28067
28068Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
28069
28070 * gdb.base/corefile.exp (up): Allow a parameter to appear
28071 in the frame that we're going up to.
28072
28073 From Jim Blandy <jimb@cygnus.com>:
28074
28075 * gdb.base/default.exp (info float): Expect some output now.
28076
28077 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
28078 returning floating-point values to fail on the x86.
28079 * gdb.base/callfwmall.exp (do_function_calls): Same.
28080
28081 * gdb.base/list.exp (test_listsize): Correct expectations for
28082 listing line 1 with listsize 2. Also, listing a single line
28083 works now, as does listing three lines. [Kevin's note: There
28084 were a number of other cases fixed too where the expectations
28085 differed...]
28086
280871999-09-02 Stan Shebs <shebs@andros.cygnus.com>
28088
28089 * gdb.base/selftest.exp: Add case for when version prints as
28090 constant string instead of char pointer.
28091
280921999-08-25 Stan Shebs <shebs@andros.cygnus.com>
28093
28094 * gdb.base/ending-run.exp: Add Solaris case for what happens when
28095 stepping out of main.
28096
28097 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
28098 G++ used.
28099
28100 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
28101 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
28102
28103 * gdb.c++/ovldbreak.exp: Update match string in test that
28104 includes a warning of multiple breakpoints.
28105
281061999-08-24 Stan Shebs <shebs@andros.cygnus.com>
28107
28108 * gdb.base/display.exp: Improve precision of step-after-finish
28109 added yesterday.
28110
28111 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
28112 test.
28113
28114 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
28115 configs when using G++, not just hppa*.
28116
281171999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
28118
28119 * gdb.base/async.c: New file.
28120 * gdb.base/async.exp: New file.
28121
28122Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
28123
28124 * gdb.base/break.exp: Tweak PA specific tests to properly handle
28125 PA64.
28126
28127Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
28128
28129 * gdb.base/display.exp: "finish" can leave us mid-line on many
28130 targets, deal with it. Add a small constant to main, instead of
28131 1000 since main+1000 may not be a valid address in the target.
28132
28133 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
28134 on hpux11.
28135
28136 * gdb.base/attach.exp: Handle another hpux11 error message variant
28137 when attaching to a process that does not exist.
28138
281391999-08-19 J.T. Conklin <jtc@redback.com>
28140
28141 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
28142 characters in 'continue to 1241' test.
28143
281441999-08-17 Stan Shebs <shebs@andros.cygnus.com>
28145
28146 * gdb.base/call-ar-st.exp: Add a shorter match case for the
28147 stop in print_long_arg_list, define and use a whitespace
28148 variable in print_small_structs test, add an XFAIL for Solaris.
28149 * gdb.base/dbx.exp: XFAIL func commands until somebody is
28150 interested enough to fix.
28151
281521999-08-13 Keith Seitz <keiths@cygnus.com>
28153
28154 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
28155 (dbx_gdb_load): Remove. Use gdb_load instead, since that
28156 proc knows about targets other than the natives.
28157 (test_assign): Use "gdb_run_cmd" to "run" the target.
28158 Check that we've actually hit the breakpoint at main.
28159 When we attempt to assign a value to a local variable, check
28160 that the variable is in the current scope, i.e., don't use
28161 a test with an empty result.
28162
28163Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
28164
28165 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
28166 command.
28167
281681999-08-09 Stan Shebs <shebs@andros.cygnus.com>
28169
28170 From Jimmy Guo <guo@cup.hp.com> and others at HP:
28171 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
28172 gdb.compat, gdb.threads-hp.
28173 gdb.hp/configure, gdb.hp/configure.in: New files.
28174 gdb.hp/Makefile.in: Recurse into new subdirs.
28175 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
28176 gdb.hp/gdb.objdbg: New directory, tests for debugging info
28177 in object files.
28178 gdb.hp/tools: New directory, aux tools for HP-specific tests.
28179
281801999-08-05 Stan Shebs <shebs@andros.cygnus.com>
28181
28182 * gdb.base/display.exp: Help expect by putting a newline in the
28183 funky printf, remove a bogus p/a test.
28184
281851999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
28186
28187 * gdb.base/display.exp: Make sure that when we say 'run', we are
28188 connected to the target. This is necessary when running not
28189 natively.
28190
281911999-08-03 Stan Shebs <shebs@andros.cygnus.com>
28192
28193 * gdb.base/step-test.exp: Removed some extraneous messages.
28194
28195 * gdb.base/long_long.exp: Don't run memory examination tests
28196 on little-endian targets (they will need a different set of
28197 results to match).
28198
281991999-08-02 Stan Shebs <shebs@andros.cygnus.com>
28200
28201 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
28202 until somebody decides to fix GDB.
28203
28204 * gdb.base/long_long.c: Stop compiler complaint by specifying long
28205 constant as "ULL".
28206 * gdb.base/long_long.exp: Loosen x/c test, add partial result
28207 matches for a couple x/2 commands.
28208
282091999-07-30 Stan Shebs <shebs@andros.cygnus.com>
28210
28211 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
28212 by merging in ref-types2 tests.
28213 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
28214
28215 From Jimmy Guo <guo@cup.hp.com> and others at HP:
28216 * gdb.c++/Makefile.in: Add standard actions.
28217 (EXECUTABLES): Rename from PROGS, update list.
28218 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
28219 from gdb.hp.
28220 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
28221 foo and bar locals.
28222 * gdb.c++/anon-union.exp: Fix tests to match.
28223 * gdb.c++/classes.exp: Run if HP compiler used, add extra
28224 expect matches to handle output variations.
28225 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
28226 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
28227 output, add HP alternatives for new and delete prints.
28228 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
28229 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
28230 * gdb.c++/demangle.exp: Use $style when reporting failure.
28231 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
28232 * gdb.c++/inherit.exp: Run if HP compiler used, add some
28233 match alternatives.
28234 * gdb.c++/local.exp: Add match alternatives or xfails for HP
28235 compilers.
28236 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
28237 * gdb.c++/method.exp: Add match alternatives.
28238 * gdb.c++/misc.cc: Add bool types.
28239 * gdb.c++/misc.exp: Add tests for bool types.
28240 * gdb.c++/overload.exp: Add xfails.
28241 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
28242 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
28243 add some more template parameter tests (only for HP currently).
28244 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
28245 * gdb.c++/virtfunc.cc: Add return type and value for main.
28246 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
28247 match alternatives.
28248
282491999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
28250
28251 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
28252
282531999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
28254
28255 * gdb.base/signals.exp: Don't expect getting a backtrace from
28256 within a signal handler to fail on Linux.
28257
282581999-07-29 Stan Shebs <shebs@andros.cygnus.com>
28259
28260 From Jimmy Guo <guo@cup.hp.com> and others at HP:
28261 * lib/gdb.exp: Remove some gratuitious semicolons.
28262 (delete_breakpoints): Increase timeout.
28263 (gdb_expect): Add -notransfer option.
28264 (gdb_test): Use -notransfer option.
28265 (get_compiler_info): Add f77 case.
28266 (get_compiler): New proc, split out from gdb_preprocess, add f77
28267 case.
28268 (gdb_preprocess): Call get_compiler.
28269
28270 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
28271 * gdb.base/attach.exp, gdb.base/display.exp,
28272 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
28273 gdb.base/long_long.exp, gdb.base/printcmds.exp,
28274 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
28275 third arg to gdb_test.
28276 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
28277 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
28278 HP-UX xfails, add others.
28279 * gdb.base/completion.exp: Reflect name change of self-test.
28280 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
28281 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
28282 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
28283 HP failure number.
28284 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
28285 useless HP-UX 10.30 references.
28286 * gdb.base/maint.exp: Loosen matches.
28287 * gdb.base/pointers.c (main): Declare more_code.
28288 * gdb.base/pointers.exp: Match on output of a `next'.
28289 * gdb.base/structs.c: Add prototypes.
28290 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
28291 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
28292
282931999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
28294
28295 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
28296 command.
28297
282981999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
28299
28300 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
28301 Fix run to main failures. Watchpoint can be hardware watchpoint.
28302
28303 * gdb.base/annota1.exp: Clean up some more, in case printf has
28304 debug info. Deal with lack of signal hanlder info in stack.
28305
28306 From Jim Kingdon <kingdon@redhat.com>:
28307 * gdb.base/annota1.exp: If printf has debug info, deal with it.
28308
283091999-07-19 Stan Shebs <shebs@andros.cygnus.com>
28310
28311 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
28312 gdb.base/foll-vfork.exp: Don't run for crosses.
28313
28314Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
28315
28316 * gdb.base/configure.in: Check for gdbvars.exp instead of
28317 a1-selftest.exp.
28318 * gdb.base/configure: Re-generate.
28319
283201999-07-12 Stan Shebs <shebs@andros.cygnus.com>
28321
28322 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
28323 in trying to run first and name is too long.
28324
28325 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
28326 pointers2.c and pointers2.exp, respectively.
28327 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
28328 doschk happier.
28329
283301999-07-08 Stan Shebs <shebs@andros.cygnus.com>
28331
28332 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
28333 callfuncs2.c and callfuncs2.exp.
28334
28335 * gdb.base/list.exp: Remove mistaken xfails.
28336 * gdb.base/list0.h: Add optional prototypes.
28337
28338Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
28339
28340 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
28341 calling malloc.
28342 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
28343 * ptype.exp: Move test for get_debug_format to before its first
28344 use.
28345
283461999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
28347
28348 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
28349 * gdb.base/annota2.cc, annota2.exp: Move from here.
28350 * gdb.c++/annota2.cc, annota2.exp: To here.
28351 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
28352
28353Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
28354
28355 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
28356 a consistent format.
28357
283581999-06-25 Stan Shebs <shebs@andros.cygnus.com>
28359
28360 From Jimmy Guo <guo@cup.hp.com> and others at HP:
28361 * lib/gdb.exp (get_compiler_info): Add detection for assorted
28362 HP compilers, also set the globals $true and $false.
28363
28364 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
28365 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
28366 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
28367 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
28368 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
28369 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
28370 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
28371 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
28372 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
28373 whatis.c} Add C++ compatible function definitions and return
28374 types, add includes for library functions.
28375 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
28376 * gdb.base/step-test.c (myglob): Rename from glob.
28377 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
28378 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
28379 files, move here from gdb.hp.
28380 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
28381 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
28382 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
28383 Adjust line numbers in regexps.
28384
28385 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
28386 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
28387 instead of 0/1.
28388
28389 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
28390 foll-vfork.exp: New files, move here from gdb.hp.
28391 * gdb.base/page.exp: New file, test of pagination command.
28392
28393 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
28394 recursion test.
28395 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
28396
28397 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
28398 gdb.base/solib.exp: Fix compiler invocation process.
28399
28400 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
28401 HP-UX 11, turn off overload resolution explicitly.
28402 * gdb.base/commands.exp: Set argument list explicitly, add
28403 watchpoint test.
28404 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
28405 them work.
28406 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
28407 expressions properly.
28408 * gdb.base/corefile.exp: Loosen the match slightly.
28409 * gdb.base/default.exp: Allow "Error accessing memory" message
28410 also.
28411 * gdb.base/display.exp: Skip over x/0 j if PA64.
28412 * gdb.base/funcargs.exp: Add xfails for HP-UX.
28413 * gdb.base/interrupt.exp: Ditto.
28414 * gdb.base/langs.exp: Add symbolic matches governed by compiler
28415 in use.
28416 * gdb.base/list.exp: Add xfails for HP-UX.
28417 * gdb.base/long_long.exp: Refine some of the numeric matches.
28418 * gdb.base/mips_pro.exp: Xfail on HP-UX.
28419 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
28420 * gdb.base/nodebug.exp: Succeed on more varieties of output.
28421 * gdb.base/opaque.exp: Remove some HP-UX xfails.
28422 * gdb.base/ptype.exp: Succeed on more varieties of output.
28423 * gdb.base/scope.exp: Add xfails for HP-UX.
28424 * gdb.base/sect-cmd.exp: Add more cases.
28425 * gdb.base/setvar.exp: Add xfails for HP-UX.
28426 * gdb.base/shlib-call.exp: Loosen some matches slightly.
28427 * gdb.base/signals.exp: Match on void symbolically.
28428 * gdb.base/step-test.exp: Add case for PA64.
28429 * gdb.base/term.exp: Add exit and restart.
28430 * gdb.base/twice.exp: Clean up after self.
28431 * gdb.base/varargs.exp: Disable overload resolution explicitly.
28432 * gdb.base/whatis.exp: Allow more ways to pass tests.
28433
28434 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
28435 no longer useful.
28436
28437Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
28438
28439 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
28440 list of patterns.
28441 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
28442 print_double_array(double_array)", "continuing to breakpoint
28443 1018", "print print_double_array(array_d)" and "continuing to
28444 1034" tests.
28445
284461999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
28447
28448 * Makefile.in: Add empty html and install-html targets.
28449
284501999-06-24 Stan Shebs <shebs@andros.cygnus.com>
28451
28452 * config/mt-*: Remove, these haven't been used since 1996.
28453
284541999-06-22 Stan Shebs <shebs@andros.cygnus.com>
28455
28456 * gdb.base/call-strs.c, gdb.base/ending-run.c,
28457 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
28458 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
28459
284601999-06-18 Stan Shebs <shebs@andros.cygnus.com>
28461
28462 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
28463 simpler match case for the ptype of the big class.
28464
284651999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
28466
28467 * gdb.exp: Fix test for gdb_prompt existence.
28468
284691999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
28470
28471 * gdb.exp (gdb_test): Add fail after calls to perror.
28472
284731999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
28474
28475 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
28476
284771999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
28478
28479 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
28480
28481Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
28482
28483 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
28484 malloc() is linked in.
28485
284861999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
28487
28488 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
28489 step at end.
28490
28491 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
28492
284931999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
28494
28495 * gdb.java/jv-print.exp: New file. (Our first Java test!)
28496
28497Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
28498
28499 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
28500 * gdb.base/mips_pro.exp: Likewise.
28501
285021999-06-02 Keith Seitz <keiths@cygnus.com>
28503
28504 * gdb.c++/templates.cc: Change all "new" operators to throw
28505 an exception.
28506 * gdb.c++/cplusfuncs.cc: Likewise.
28507
28508 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
28509
28510Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
28511
28512 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
28513 * gdb.base/ending-run.exp: When stepping out of main, accept a
28514 step into an arbitrary assembler file.
28515
285161999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
28517
28518 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
28519 "breakpoint-invalid" to be printed.
28520 * gdb.base/annota2.exp: Revise line number for main
28521 breakpoint. Allow any number of "frames-invalid" and
28522 "breakpoint-invalid" to be printed.
28523 * gdb.base/annota2.cc: Initialize a.x to 0.
28524
285251999-05-17 Keith Seitz <keiths@cygnus.com>
28526
28527 * gdb.base/call-ar-st.exp: Skip
28528 "print print_double_array (double_array)" when "skip_float_tests" set.
28529 Ditto for "print print_double_array(array_d)",
28530 "print print_small_structs", "print print_ten_doubles", and
28531 "step into print_long_arg_list".
28532 Don't assume we can step into "print_long_arg_list": we could step
28533 into memcpy.
28534 * gdb.base/call-rt-st.exp: Don't run float-related tests when
28535 "skip_float_tests" is set: "print print_one_double(*d1)"
28536 and "print print_two_floats(*f3)".
28537 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
28538 "skip_float_tests" is set.
28539 * gdb.base/varargs.exp: Skip
28540 "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)" when
28541 "skip_float_tests" set.
28542
285431999-05-06 Keith Seitz <keiths@cygnus.com>
28544
28545 * gdb.base/annota2.cc: Include stdio.h.
28546
28547Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
28548
28549 * gdb.base/crossload.exp: Remove, this has been disabled ever
28550 since BFD stopped including all targets, and cross-GDB gets
28551 plenty of testing anyway.
28552 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
28553 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
28554 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
28555 * gdb.base/README: Remove, was doc for this.
28556 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
28557 needed.
28558
285591999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
28560
28561 * gdb.base/call-ar-st.exp: Fix one regular expression in test
28562 output.
28563
28564 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
28565 * gdb.base/annota2.exp: New file. More annotation tests.
28566 * gdb.base/annota1.c: New file. Source file for annota1.exp.
28567 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
28568
285691999-04-23 Angela Marie Thomas <angela@cygnus.com>
28570
28571 * config/cfdbug.exp: New file.
28572
285731999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
28574
28575 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
28576 Marcus Daniel's and Dale Hawkins's demangler crashes.
28577
28578 * gdb.c++/demangle.exp (test_gnu_style_demangling,
28579 test_lucid_style_demangling, test_arm_style_demangling,
28580 test_hp_style_demangling): Try Tom Tromey's core-dumping
28581 identifier under each demangling style.
28582
285831999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
28584
28585 * gdb.c++/demangle.exp: Include the current demangling style
28586 in all test names.
28587 (current_demangling_style): New global variable.
28588 (set_demangling_style, test_demangling_core, test_demangling,
28589 test_demangling_exact): New functions.
28590 (test_gnu_style_demangling, test_lucid_style_demangling,
28591 test_arm_style_demangling, test_hp_style_demangling): Use those,
28592 instead of calling gdb_test and gdb_test_exact directly.
28593 (catch_demangling_errors): New function, which reports errors
28594 signalled by the demangling test functions in an orderly way.
28595 (do_tests): Use catch_demangling_errors.
28596
285971999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
28598
28599 * gdb.base/signals.exp (test_handle_all_print): Use () for
28600 grouping in expressions, not {}.
28601
28602 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
28603 initialized yet.
28604
286051999-04-01 Stan Shebs <shebs@andros.cygnus.com>
28606
28607 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
28608 are listed.
28609
286101999-03-26 Stan Shebs <shebs@andros.cygnus.com>
28611
28612 * gdb.stabs/weird.exp: Test for CC being defined before
28613 looking at its value.
28614
286151999-03-25 Stan Shebs <shebs@andros.cygnus.com>
28616
28617 * gdb.base/call-ar-st.exp: Remove stray '#'.
28618 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
28619 "short int" and "long int".
28620 * gdb.c++/overload.cc: Cast the string added in the previous
28621 change, to mollify finicky HP compiler.
28622 * gdb.hp/reg-test.exp (testfile): Fix file name.
28623 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
28624
28625 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
28626 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
28627 alternate form of enum ptype.
28628
286291999-03-23 Stan Shebs <shebs@andros.cygnus.com>
28630
28631 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
28632 * gdb.hp/*.exp: Change all to run compiler probe only after
28633 passing skip_hp_tests, so as not to waste time on guaranteed
28634 failure.
28635
28636 * gdb.c++/overload.cc: Pass string instead of char addr, always
28637 init ccpfoo.
28638 * gdb.c++/templates.cc: Fix syntax error.
28639
28640Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
28641
28642 * gdb.base/commands.exp: Add test for correct position of '>'
28643 when issuing the 'commands' command after a 'while' or 'if'
28644 command.
28645
286461999-03-18 James Ingham <jingham@cygnus.com>
28647
28648 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
28649
28650 * gdb.c++/method.exp: It was testing an uninitialized int on the
28651 stack and assuming it was positive.
28652
28653 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
28654
28655 * gdb.base/step-test.exp: Catch a case where finish is broken and
28656 keep it from killing the rest of the tests.
28657 Use gdb_continue_to_end.
28658
28659 * gdb.base/sigall.exp: use gdb_continue_to_end.
28660
28661 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
28662
28663 * gdb.base/display.exp: use runto_main, not run.
28664
28665 * gdb.base/default.exp: Check for the current error message in the
28666 r abbreviation test.
28667 Add strongarm to the targets that know info float.
28668
28669 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
28670 run which doesn't work with monitors.
28671
28672 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to
28673 1034 test.
28674
28675 * gdb.base/break.exp: use the gdb_continue_to_end proc.
28676
28677 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the
28678 end of a program. Traps the case (in Cygmon) when the program
28679 never really exits. Same as Mark's continue_to_exit, but I had
28680 put it in a lot more places, so I used my name. Sorry Mark...
28681
28682 * config/monitor.exp (gdb_target_monitor): added another
28683 target_info parameter: remotebinarydownload. This will set the
28684 remotebinarydownload flag if this is causing some boards trouble.
28685
286861999-03-18 Mark Salter <msalter@cygnus.com>
28687
28688 * lib/gdb.exp (continue_to_exit): New function.
28689
28690 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
28691 * gdb.base/ending-run.exp: Ditto.
28692 * gdb.base/step-test.exp: Ditto.
28693
286941999-03-16 Stan Shebs <shebs@andros.cygnus.com>
28695
28696 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
28697 (suggested by Art Haas <ahaas@neosoft.com>).
28698
286991999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
28700
28701 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
28702
28703Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
28704
28705 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
28706 descriptions of types (short unsigned int vs unsigned short, etc).
28707
287081999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
28709
28710 * gdb.base/call-strs.exp: Don't assume that `step' will step over
28711 a call to strlen; sometimes we do have sources.
28712
287131999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
28714
28715 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
28716 character, so GDB won't print garbage after its end.
28717
28718 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
28719 breakpoint there instead. Sometimes GCC emits memcpy to handle
28720 the large structures being passed by value, so we step into that
28721 instead of sum_array_print, which obscures what we're really testing.
28722 * gdb.base/step-test.exp: However, we do want a test that notices
28723 the bizarre steps into memcpy, so do that here. Add check for
28724 stepping into function calls that pass large structures by value.
28725 ("Is that a noun clause, or are you just happy to see me?")
28726 Remove all references to specific line numbers.
28727 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
28728 New type and function.
28729 (main): Call large_struct_by_value, passing it a large struct by value.
28730 * lib/gdb.exp (gdb_get_line_number): New function.
28731
28732 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
28733 more portable.
28734
287351999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
28736
28737 * lib/gdb.exp: Doc fixes.
28738
287391999-03-05 Nick Clifton <nickc@cygnus.com>
28740
28741 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
28742
287431999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
28744
28745 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
28746 commands. They're not germane to this test, and they don't work
28747 that way on remote targets.
28748
287491999-03-01 James Ingham <jingham@cygnus.com>
28750
28751 * Changelog entries merged over from gdb development branch.
28752
28753 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
28754
28755 * lib/gdb.exp (gdbtk_analyze_results): Generic function
28756 for outputting results of test run.
28757
28758 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
28759
28760 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
28761
287621999-02-25 Felix Lee <flee@cygnus.com>
28763
28764 * lib/gdb.exp (debug_format): initialize
28765
287661999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
28767
28768 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
28769 * gdb.base/call-rt-st.c: Ditto.
28770
287711999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
28772
28773 * gdb.threads/pthreads.exp (horiz): New variable.
28774 (test_startup): Fix regexps that capture thread numbers.
28775
287761999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
28777
28778 * gdb.base/smoke.exp: Disambiguate two test case names (both
28779 called ``print'').
28780
28781Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
28782
28783 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
28784 compilation.
28785
287861999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
28787
28788 * gdb.base/miscexprs.exp: Change patterns to match GDB's
28789 actual output formatting.
28790 * gdb.base/smoke.exp: GDB removes leading 0's.
28791 * gdb.base/volatile.exp: Don't check type of remuneration;
28792 that variable is no longer defined in constvars.c.
28793 * gdb.base/step-test.c (main): Exit with explicit exit code.
28794 * gdb.base/step-test.exp: Remove two nexti checks--they are
28795 not portable.
28796
287971999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
28798
28799 * gdb.base/help.exp ("help delete display"): Fix test to match
28800 gdb's output.
28801
28802 * gdb.base/long_long.c (known_types): Initialize values to zero.
28803 * gdb.base/long_long.exp: Step one more line
28804 so 'dec' is initialized in "get to known place". GDB removes
28805 leading zeros. Explicitly ask for hex formatting. Use
28806 unique test case names.
28807
28808Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
28809
28810 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
28811
28812 * gdb.c++/method.exp: Add missing close brace.
28813
288141999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
28815
28816 * gdb.base/maint.exp: Use 'set height 0' to disable page
28817 prompting, not 'set height 400'.
28818
28819 Fix a bunch of timeouts.
28820 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
28821 four separate tests, so expect doesn't take forever to match a ton
28822 of text against a regexp with lots of .* forms.
28823 ("maint print psymbols", "maint print symbols"): Make some of
28824 these greps more selective, so that expect doesn't try to wade
28825 through huge piles of output and time out.
28826
28827 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
28828
28829 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
28830 tests: one which doesn't expect shlib events to be reported, and
28831 another which does, but is XFAIL for all platforms other than
28832 HP/UX.
28833
28834 * gdb.base/break.exp: Teach the test suite that the `catch
28835 fork', `catch vfork', and `catch exec' commands produce error
28836 messages on platforms that don't provide these features.
28837
28838Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
28839
28840 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
28841 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
28842 (shortening names from solib_threshold.exp etc), won't run on
28843 anything but HP-UX for the foreseeable future.
28844 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
28845 reflect move.
28846
28847Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
28848
28849 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
28850 gdb.trace/Makefile.in (clean): Remove all test executables.
28851
28852Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
28853
28854 * gdb.base/shlib-call.exp: add test cases to verify that gdb
28855 successfully re-sets breakpoints in shared libraries.
28856 * gdb.base/shmain.c (main): return 0, don't fall off the end.
28857
28858Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
28859
28860 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
28861 and compiled w/o GCC.
28862
28863 * gdb.hp/watch-cmd.exp: ditto.
28864
28865 * gdb.hp/watch-hp.exp: ditto.
28866
28867 * gdb.hp/xdb1.exp: ditto.
28868
28869 * gdb.hp/xdb2.exp: ditto.
28870
28871 * gdb.hp/dbx.exp: ditto.
28872
28873Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
28874
28875 * constvars.c: Remove C++-isms.
28876 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
28877 with GCC.
28878
28879Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
28880
28881 The following changes are part of the HP merge.
28882
28883 * gdb.base/break.exp: new tests to verify that catchpoints for
28884 fork, vfork, and exec don't trigger inappropriately.
28885
28886 * gdb.base/opaque.exp: compile one file at a time, then link.
28887
28888 * gdb.base/signals.exp: be more restrictive about which hppa
28889 systems receive a setup_xfail. new tests.
28890
28891 * gdb.base/solib_threshold.build: new file.
28892 * gdb.base/solib_threshold.exp: new file.
28893 * gdb.base/solib_threshold.link_opts: new file.
28894 * gdb.base/solib_threshold.mk: new file.
28895 * gdb.base/gen_solib_threshold.c: new file.
28896
28897 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
28898 tests. New tests for enums inside classes.
28899
28900 * gdb.c++/compiler.cc: indicate support of template debugging.
28901
28902 * gdb.c++/demangle.exp: run hp style demangling tests.
28903
28904 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
28905 tests.
28906
28907 * gdb.c++/misc.cc: changes to support new tests.
28908
28909 * gdb.c++/templates.cc: changes to support HP's compiler; changes
28910 to support new tests.
28911
28912 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
28913 gcc, then skip these tests.
28914
28915Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
28916
28917 The following files are part of the HP merge; some had longer
28918 names at HP, but have been renamed to be no more than 14
28919 characters in length.
28920
28921 * gdb.hp/ambiguous.cc: new file.
28922 * gdb.hp/ambiguous.exp: new file.
28923 * gdb.hp/attach.exp: new file.
28924 * gdb.hp/attach2.exp: new file.
28925 * gdb.hp/classes-hp.exp: new file.
28926 * gdb.hp/ctti.exp: new file.
28927 * gdb.hp/ctti-add.cc: new file.
28928 * gdb.hp/ctti-add1.cc: new file.
28929 * gdb.hp/ctti-add2.cc: new file.
28930 * gdb.hp/ctti-add3.cc: new file.
28931 * gdb.hp/dbx.exp: new file.
28932 * gdb.hp/exception.cc: new file.
28933 * gdb.hp/exception.exp: new file.
28934 * gdb.hp/foll-exec.c: new file.
28935 * gdb.hp/foll-exec.exp: new file.
28936 * gdb.hp/foll-fork.c: new file.
28937 * gdb.hp/foll-fork.exp: new file.
28938 * gdb.hp/foll-vfork.c: new file.
28939 * gdb.hp/foll-vfork.exp: new file.
28940 * gdb.hp/inherit-hp.exp: new file.
28941 * gdb.hp/more-steps.exp: new file.
28942 * gdb.hp/namespace.cc: new file.
28943 * gdb.hp/namespace.exp: new file.
28944 * gdb.hp/optimize.exp: new file.
28945 * gdb.hp/pxdb.c: new file.
28946 * gdb.hp/pxdb.exp: new file.
28947 * gdb.hp/quicksort.exp: new file.
28948 * gdb.hp/reg-test.exp: new file.
28949 * gdb.hp/reg-test.s: new file.
28950 * gdb.hp/sized-enum.c: new file.
28951 * gdb.hp/sized-enum.exp: new file.
28952 * gdb.hp/start-stop.exp: new file.
28953 * gdb.hp/templ-hp.cc: new file.
28954 * gdb.hp/templ-hp.exp: new file.
28955 * gdb.hp/thr-lib.c: new file.
28956 * gdb.hp/thr-lib.exp: new file.
28957 * gdb.hp/thr-lib.h: new file.
28958 * gdb.hp/thr-liblib.c: new file.
28959 * gdb.hp/virtfun-hp.c: new file.
28960 * gdb.hp/virtfun-hp.exp: new file.
28961 * gdb.hp/watch-cmd.exp: new file.
28962 * gdb.hp/watch-hp.exp: new file.
28963 * gdb.hp/xdb1.exp: new file.
28964 * gdb.hp/xdb2.exp: new file.
28965 * gdb.hp/xdb3.exp: new file.
28966
28967Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
28968
28969 The following files are part of the HP merge; some had longer
28970 names at HP, but have been renamed to be no more than 14
28971 characters in length.
28972
28973 * gdb.base/ss.h: new file.
28974 * gdb.base/call-ar-st.c: new file.
28975 * gdb.base/call-ar-st.exp: new file.
28976 * gdb.base/call-rt-st.c: new file.
28977 * gdb.base/call-rt-st-exp: new file.
28978 * gdb.base/call-strs.exp: new file.
28979 * gdb.base/ena-dis-br.exp: new file.
28980 * gdb.base/environ.exp: new file.
28981 * gdb.base/long_long.exp: new file.
28982 * gdb.base/sect-cmd.exp: new file.
28983 * gdb.base/shlib-cl2.exp: new file.
28984 * gdb.base/smoke.exp: new file.
28985 * gdb.base/so-impl-ld.c: new file.
28986 * gdb.base/so-impl-ld.exp: new file.
28987 * gdb.base/so-indr-cl.c: new file.
28988 * gdb.base/so-indr-cl.exp: new file.
28989 * gdb.base/varargs.exp: new file.
28990 * gdb.base/volatile.exp: new file.
28991 * gdb.base/whatis-exp.exp: new file.
28992 * gdb.base/display.exp: new file.
28993 * gdb.c++/derivation.exp: new file.
28994 * gdb.c++/local.exp: new file.
28995 * gdb.c++/member-ptr.exp: new file.
28996 * gdb.c++/overload.exp: new file.
28997 * gdb.c++/ovldbreak.exp: new file.
28998 * gdb.c++/ref-types.exp: new file.
28999 * gdb.c++/ref-types2.exp: new file.
29000 * gdb.c++/userdef.exp: new file.
29001
29002Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
29003
29004 * gdb.base/default.exp: Reflect wording change in remote.c.
29005
29006Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
29007
29008 * gdb.base/help.exp: Update to reflect current text.
29009
29010Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
29011
29012 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
29013 they're stack variables and contain garbage.
29014 * gdb.c++/anon-union.exp: new file.
29015
29016 The following changes were made by David Taylor
29017 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
29018 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
29019 in changes by HP.
29020
29021 * gdb.base/bitops.exp: new file.
29022 * gdb.base/default.exp: change expected messages for catch and
29023 info catch tests to reflect HP merge changes.
29024 * gdb.base/enable-disable-break.exp
29025 * gdb.base/ending-run.c: new file.
29026 * gdb.base/long_long.c: new file.
29027 * gdb.base/maint.exp: new file.
29028 * gdb.base/pointers2.exp: new file.
29029 * gdb.base/shlib-call2.exp: new file.
29030 * gdb.base/solib.exp: new file.
29031 * gdb.base/step-test.c: new file.
29032 * gdb.c++/anon-union.cc: new file.
29033 * gdb.c++/local.cc: new file.
29034 * gdb.c++/member-pointer.cc: new file.
29035 * gdb.c++/method.cc: new file.
29036 * gdb.c++/ref-types.cc: new file.
29037 * gdb.c++/ref-types2.cc: new file.
29038 * gdb.c++/userdef.cc: new file.
29039
29040 * gdb.base/scope.exp: compile one file at a time, then link.
29041 * gdb.base/langs.exp: ditto.
29042 * gdb.base/list.exp: ditto.
29043
29044Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
29045
29046 The following changes were made by David Taylor
29047 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
29048 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
29049 in changes by HP.
29050
29051 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
29052 skip tests. When compiling pass c++ flag to gdb_compile.
29053 * gdb.c++/
29054
29055 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
29056 test for on hppa*-*-hpux*; use args to see if c++ was specified.
29057 (skip_hp_tests): new function.
29058 (gdb_preprocess): new function.
29059
29060 * configure.in (hpdir): decide whether to configure gdb.hp.
29061 * configure: regenerated.
29062
29063 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
29064 to delete on clean.
29065 (EXECUTABLES): update to reflect new additions.
29066 * gdb.base/commands.exp: update message expected.
29067 * gdb.base/default.exp: add copyright notice.
29068 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
29069 * gdb.base/help.exp: update messages to reflect current text.
29070 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
29071 targets for recurse tests.
29072 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
29073 skip this file.
29074
29075 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
29076 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
29077 compilation.
29078 * gdb.c++/misc.exp: ditto.
29079 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
29080 run the tests. tell gdb_compile that it's a c++ compilation.
29081
29082 * gdb.threads/pthreads.exp: fix typo in message.
29083
29084 * gdb.base/all-bin.exp: new file.
29085 * gdb.base/arithmet.exp: new file.
29086 * gdb.base/assign.exp: new file.
29087 * gdb.base/completion.exp: new file.
29088 * gdb.base/cond-expr.exp: new file.
29089 * gdb.base/condbreak.exp: new file.
29090 * gdb.base/define.exp: new file.
29091 * gdb.base/dollar.exp: new file.
29092 * gdb.base/environment.exp: new file.
29093 * gdb.base/eval-skip.exp: new file.
29094 * gdb.base/jump.exp: new file.
29095 * gdb.base/logical.exp: new file.
29096 * gdb.base/pointers.exp: new file.
29097 * gdb.base/relational.exp: new file.
29098 * gdb.base/section_command.exp: new file.
29099 * gdb.base/whatis-expr.exp: new file.
29100
29101 * gdb.base/all-types.c: new file.
29102 * gdb.base/call-array-struct.c: new file.
29103 * gdb.base/call-return-struct.c: new file.
29104 * gdb.base/call-strings.c: new file.
29105 * gdb.base/callfuncs2.c: new file.
29106 * gdb.base/condbreak.c: new file.
29107 * gdb.base/constvars.c: new file.
29108 * gdb.base/display.c: new file.
29109 * gdb.base/int-type.c: new file.
29110 * gdb.base/jump.c: new file.
29111 * gdb.base/miscexprs.c: new file.
29112 * gdb.base/pointers.c: new file.
29113 * gdb.base/pointers2.c: new file.
29114 * gdb.base/shmain.c: new file.
29115 * gdb.base/shr1.c: new file.
29116 * gdb.base/shr2.c: new file.
29117 * gdb.base/solib.c: new file.
29118 * gdb.base/solib1.c: new file.
29119 * gdb.base/solib2.c: new file.
29120 * gdb.base/varargs.c: new file.
29121 * gdb.c++/derivation.cc: new file.
29122 * gdb.c++/overload.cc: new file.
29123 * gdb.c++/ovldbreak.cc: new file.
29124 * gdb.hp/attach.c: new file.
29125 * gdb.hp/attach2.c: new file.
29126 * gdb.hp/average.c: new file.
29127 * gdb.hp/compiler.c: new file.
29128 * gdb.hp/compiler.cc: new file.
29129 * gdb.hp/execd-program.c: new file.
29130 * gdb.hp/follow-exec.c: new file.
29131 * gdb.hp/follow-fork.c: new file.
29132 * gdb.hp/follow-vfork-and-exec.c: new file.
29133 * gdb.hp/misc-hp.cc: new file.
29134 * gdb.hp/more-steps.c: new file.
29135 * gdb.hp/optimize.c: new file.
29136 * gdb.hp/quicksort.c: new file.
29137 * gdb.hp/run-hp.c: new file.
29138 * gdb.hp/start-stop.c: new file.
29139 * gdb.hp/sum.c: new file.
29140 * gdb.hp/templates-hp.cc: new file.
29141 * gdb.hp/thread-local-in-lib.c: new file.
29142 * gdb.hp/thread-local-in-lib.h: new file.
29143 * gdb.hp/thread-local-in-lib.lib.c: new file.
29144 * gdb.hp/vforked-program.c: new file.
29145 * gdb.hp/virtfunc-hp.cc: new file.
29146 * gdb.hp/watchpoint-hp.c: new file.
29147 * gdb.hp/xdb.c: new file.
29148 * gdb.hp/xdb0.c: new file.
29149 * gdb.hp/xdb0.h: new file.
29150 * gdb.hp/xdb1.c: new file.
29151
29152Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
29153
29154 The following change was made by Edith Epstein
29155 <eepstein@cygnus.com> as part of a project to merge in changes
29156 originally made by HP; HP did not create ChangeLog entries.
29157
29158 * gdb.c++/demangle.exp: changed the expected output for some
29159 ARM-style mangling -- removed second reference to datatype.
29160 For example, maint demangle __dt__11T1__pt__2_cFv
29161 T1<char>::~T1<char>(void)
29162 becomes,
29163 maint demangle __dt__11T1__pt__2_cFv
29164 T1<char>::~T1(void)
29165
29166 (test_hp_style_demangling): new hp specific demangling test cases.
29167
29168Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
29169
29170 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
29171 * gdb.trace/backtrace.exp: Likewise.
29172 * gdb.trace/circ.exp: Likewise.
29173 * gdb.trace/collection.exp: Likewise.
29174 * gdb.trace/deltrace.exp: Likewise.
29175 * gdb.trace/infotrace.exp: Likewise.
29176 * gdb.trace/limits.exp: Likewise.
29177 * gdb.trace/packetlen.exp: Likewise.
29178 * gdb.trace/passc-dyn.exp: Likewise.
29179 * gdb.trace/passcount.exp: Likewise.
29180 * gdb.trace/report.exp: Likewise.
29181 * gdb.trace/save-trace.exp: Likewise.
29182 * gdb.trace/tfind.exp: Likewise.
29183 * gdb.trace/tracecmd.exp: Likewise.
29184 * gdb.trace/while-dyn.exp: Likewise.
29185 * gdb.trace/while-stepping.exp: Likewise.
29186
291871998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
29188
29189 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
29190
29191Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
29192
29193 From Brendan Kehoe:
29194 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
29195 int return types.
29196
29197Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
29198
29199 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
29200 remote dos host testing right.
29201
29202Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
29203
29204 * gdb.base/corefile.exp: remove some xfails.
29205
29206Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
29207
29208 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
29209 have different timestamps.
29210
29211Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
29212
29213 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
29214 gdb.base/default.exp: Replace "exec" with "executable".
29215
29216Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
29217
29218 * gdb.base/default.exp: Change else if to elseif from previous
29219 delta.
29220
29221Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
29222
29223 * gdb.base/default.exp: Add brace missing from previous delta.
29224
29225Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
29226
29227 * gdb.base/default.exp: Support test for info float for all
29228 varieties of arm toolchain.
29229
29230Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
29231
29232 * gdb.trace/*.exp: remove "remote_download" command.
29233
29234Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
29235
29236 * gdb.trace/*.exp: remove -gdwarf from compile.
29237
29238Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
29239
29240 * gdb.trace/configure.in(AC_INIT): typo
29241 * gdb.trace/configure: regenerated
29242
29243Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
29244
29245 * config/m68k-emc.exp: New file.
29246 * lib/<emc-support.exp trace-support.exp}: New files.
29247 * configure.in: add new test directory gdb.trace.
29248 * gdb.trace/{configure configure.in Makefile.in}: New files.
29249 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
29250 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
29251 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
29252 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
29253 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
29254 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
29255 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
29256
29257Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
29258
29259 * gdb.c++/classes.exp: Change all regular expressions to match
29260 arbitrary combinations of newline/carriage-return, so that they
29261 will work equally well on Unix and Windows.
29262 * gdb.c++/inherit.exp: ditto.
29263 * gdb.c++/virtfunc.exp: ditto.
29264
292651998-08-11 Dawn Perchik <dawn@cygnus.com>
29266
29267 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
29268
29269Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
29270
29271 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
29272 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
29273 to use a0-a3/d0-d3 as needed.
29274
29275Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
29276
29277 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
29278 * gdb.disasm/am33.exp: Corresponding changes.
29279
292801998-07-11 Felix Lee <flee@cygnus.com>
29281
29282 * gdb.base/callfuncs.exp: add cmp10 test.
29283 * gdb.base/callfuncs.c (cmp10): new function.
29284
29285Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
29286
29287 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
29288 into two parts to get around a synchronization problem in expect.
29289
29290Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
29291
29292 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
29293
29294 * configure.in: Add options for gdbtk testsuite.
29295
29296 * configure: Regenerate.
29297
29298 * gdb.gdbtk: New directory to hold gdbtk tests.
29299
29300Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
29301
29302 * gdb.fortran/types.exp: Escape brackets in expect patterns
29303 for test_float_literal_types_accepted tests.
29304 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
29305 before run test.
29306
29307Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
29308
29309 * am33.exp: Just compile, do not link the testcase.
29310 * am33.s: Add ".am33" pseudoop to force am33 mode.
29311
293121998-06-25 Felix Lee <flee@cygnus.com>
29313
29314 * gdb.base/setshow.exp: make sure $pc is sane.
29315
29316 * gdb.stabs/weird.exp: split expect patterns properly.
29317
29318Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
29319
29320 * gdb.disasm/am33.s: New disassembler testfile for the am33.
29321 * gdb.disasm/am33.exp: Run it.
29322
29323Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
29324
29325 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
29326 match processing (and eliminate spurious timeouts when running).
29327
29328Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
29329
29330 * gdb.base/signals.exp (test_handle_all_print): put back Mach
29331 exception test, but conditionalize it on target [mach | gnu].
29332
29333Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
29334
29335 * gdb.base/overlays.exp: fixup compile line for linker script.
29336
29337Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
29338
29339 * gdb.fortran/types.exp: don't guess at float size.
29340
29341Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
29342
29343 * gdb.base/exprs.exp: delete test that depends on int size.
29344
29345Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
29346
29347 * config/sim.exp: Removed checks for target triplets.
29348 (gdb_target_sim): Use gdb,target_sim_options.
29349
29350Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
29351
29352 * gdb.base/reread.exp: New file.
29353 * gdb.base/reread1.c: New file.
29354 * gdb.base/reread2.c: New file.
29355
29356Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
29357
29358 * config/sim.exp: Use 'target sim -sparclite' when running
29359 SPARClite programs.
29360
29361Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
29362
29363 * gdb.base/structs2.exp: New file.
29364 * gdb.base/structs2.c: New file.
29365
29366Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
29367
29368 * gdb.asm/common.inc: New file.
29369 * gdb.asm/d10v.inc: New file.
29370 * asm-source.exp: Pass -I's to gas to find .inc files.
29371 Update line numbers in expected output.
29372 * asmsrc1.s: Rewrite.
29373 * asmsrc2.s: Rewrite.
29374 * configure.in: Create arch.inc symlink.
29375 * configure: Regenerate.
29376 * Makefile.in (distclean): Delete arch.inc.
29377
29378Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
29379
29380 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
29381 (t_enum_value2): ditto
29382 (t_enum_value3): ditto
29383 (main): ditto
29384Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
29385
29386 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
29387 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
29388 change.
29389 Use gdb_test instead of send_gdb/gdb_expect sequences.
29390
29391Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
29392
29393 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
29394 not void.
29395
29396Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
29397
29398 * gdb.base/branches.c: Code with lots of loops and
29399 subroutines. Used to test gdbs ability to single step through PC
29400 changes, especially to test mips-tdep.c:mips_next_pc
29401
29402Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
29403
29404 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
29405 more rigorous EGCS C++ error checking.
29406
29407Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29408
29409 * gdb.base/help.exp: Clean up `help set args' and `help show args'
29410 tests.
29411 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
29412 function when asleep.
29413 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
29414 for i*86 Linux and SVR4 signal handling problems.
29415 Remove linux xfail for `next to handler in signals_tests_1', fixed
29416 by recent infrun.c change.
29417 Limit backtrace to 10 frames to avoid timeout problems with infinite
29418 stack backtraces.
29419 Adjust expect pattern in `handle all print' test to match Apr 28 1997
29420 target.[ch] change.
29421
29422Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
29423
29424 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
29425 for a newline from gdb before continuing.
29426 (default_gdb_exit): Just look for y or n.
29427 (gdb_test): Detect abnormal exit from GDB running on DOS; if
29428 it does, fail the rests of the tests in the file.
29429
29430Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
29431
29432 * config/cygmon.exp: New file.
29433
29434Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
29435
29436 * gdb.base/list.exp: Fix problem with "list default lines around
29437 main" test on remote targets.
29438
29439 * gdb.base/scope.exp: Fix problem with filelocal_bss before
29440 run test on remote targets.
29441
29442Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
29443
29444 * gdb.asm: New directory.
29445 * configure.in: Configure it.
29446 * configure: Regenerate.
29447 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
29448 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
29449
29450Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
29451
29452 * config/mn10300-eval.exp: New file to support MN10300 eval board.
29453
29454Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
29455
29456 * gdb.base/overlays (several files): Merge the two overlay
29457 managers into one. Change variables (foox, barx, bazx, grbxx)
29458 back into ints but force them to load in their proper sections.
29459
29460Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
29461
29462 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
29463 on-chip insn memory and IMAP1 to upper 128k.
29464 (D10VCopy): Handle memory regions crossing 16k boundaries.
29465 (D10VCopy): Transfer data in 32 bit chunks.
29466
29467Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
29468
29469 * gdb.base/overlays.c (main): Exit normally when result is
29470 correct.
29471
29472 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
29473 map. Include space for printf in .text segment.
29474
29475 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
29476 updated d10v memory VMA/LMA map.
29477 (D10VCopy): Call D10VTranslate.
29478
29479Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
29480
29481 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
29482
29483 * gdb.base/bar.c (barx, bar): Change variable to small array so
29484 that it won't be put into the .sdata - small data -
29485 section. Update reference.
29486 * gdb.base/baz.c (bazx, baz): Ditto.
29487 * gdb.base/foo.c (foox, foo): Ditto.
29488 * gdb.base/grbx.c (grbxx, grbx): Ditto.
29489
29490 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
29491 to be arrays.
29492
29493Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
29494
29495 * gdb.base/overlays.exp: fix up and get working again.
29496 Add tests for backtraces from an overlay function.
29497
29498Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
29499
29500 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
29501 "calling function with watchpoint enabled".
29502
29503Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
29504
29505 * gdb.base/break.exp (test_next_with_recursion): Remove
29506 gdb_suppress_tests for d10v-*-*.
29507 * lib/gdb.exp (gdb_suppress_tests): Disable this function
29508 pending review of whether it is useful or not.
29509
29510Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
29511
29512 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
29513
29514Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
29515
29516 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
29517 * config/dve.exp: New file to support Densan boards.
29518
29519Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
29520
29521 * gdb.base/interrupt.exp: Document problem of simulators, signals,
29522 reads and BSD.
29523
29524Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
29525
29526 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
29527 response.
29528
29529 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
29530
29531Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
29532
29533 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
29534 test.
29535
29536 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
29537 target_sizeof_long and target_bigendian_p.
29538 (structs_by_value, structs_by_reference): Check values according
29539 to targets word size and endianess.
29540
29541Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
29542
29543 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
29544 output.
29545
29546Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
29547
29548 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
29549 Update test of set args help to match source change.
29550
29551Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
29552
29553 * gdb.base/default.exp: Expect help system output to be in
29554 alphabetical order.
29555 * gdb.base/help.exp: Ditto.
29556
29557Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
29558
29559 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
29560 "i*86-pc-linux-gnu*".
29561 * gdb.base/interrupt.exp: Ditto.
29562 * gdb.base/corefile.exp: Ditto.
29563
29564 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
29565 define vxworks when building the testcase.
29566
29567 * gdb.base/ptype.exp: Fix testnames to be unique.
29568 * gdb.base/radix.exp: Ditto.
29569 * gdb.base/term.exp: Ditto.
29570 * gdb.base/whatis.exp: Ditto.
29571 * gdb.c++/classes.exp: Ditto.
29572
29573Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
29574
29575 * gdb.base/callfuncs.exp: Fix indentation.
29576
29577 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
29578 suppress_flag has been set.
29579 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
29580 target feature.
29581
29582Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
29583
29584 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
29585 the testcase.
29586
29587 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
29588 set_debug_traps() and breakpoint().
29589 * gdb.c++/misc.cc (main): Ditto.
29590 * gdb.c++/templates.cc (main): Ditto.
29591 * gdb.c++/virtfunc.cc (main): Ditto.
29592
29593Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
29594
29595 * lib/gdb.exp(gdb_step_for_stub): New function.
29596 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
29597 exists, reload the executable and do a "continue" instead of
29598 doing a jump.
29599 (runto_main): Use gdb_step_for_stub.
29600
29601 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
29602 tests to have unique names.
29603 * gdb.base/callfuncs.exp: Ditto.
29604 * gdb.base/commands.exp: Ditto.
29605 * gdb.base/default.exp: Ditto.
29606 * gdb.base/help.exp: Ditto.
29607 * gdb.base/list.exp: Ditto.
29608 * gdb.base/opaque.exp: Ditto.
29609 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
29610 similar tests.
29611
29612 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
29613 * gdb.c++/cplusfuncs.cc: Ditto.
29614 * gdb.c++/virtfunc.cc: Ditto.
29615
29616 * config/monitor.exp: Keep track of the last file we saw, rather
29617 than trying to get the info from gdb.
29618
29619 * gdb.fortran/types.exp: Move comment to previous line.
29620
29621Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
29622
29623 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
29624 target mode.
29625
29626Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
29627
29628 From Bob Manson:
29629 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
29630 string from GDB when it connects.
29631
29632 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
29633
29634Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
29635
29636 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
29637 if we can't get a debug format from GDB (we may be testing an
29638 older GDB). Use a 10 second timeout when checking for the format.
29639
29640 * gdb.stabs/weird.exp: Fix quoting.
29641
29642 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
29643
29644Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
29645
29646 * config/arm-ice.exp: New file.
29647
29648Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
29649
29650 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
29651 until it has been modified to work with the new testsuite.
29652
29653 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
29654 testcase won't compile, cause all of the testcases in the file to
29655 fail instead.
29656
29657 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
29658 (gdb_clear_suppressed): New procedure.
29659 (gdb_stop_suppressing_tests): Only clear suppress_flag if
29660 it contains a positive value.
29661
29662Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
29663
29664 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
29665
29666 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
29667
29668Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
29669
29670 * lib/gdb.exp (setup_xfail_format): New function.
29671 (get_debug_format): New function to get debug format.
29672 (debug_format): New global variable to hold last value set
29673 by get_debug_format.
29674 * gdb.base/list.exp: Call get_debug_format and expect some
29675 tests to fail for DWARF 1 and COFF formats.
29676 * gdb.c++/ptype.exp: Ditto.
29677 * gdb.c++/classes.exp: Ditto.
29678 * gdb.c++/cplusfuncs.exp: Ditto.
29679 * gdb.c++/inherit.exp: Ditto.
29680 * gdb.c++/templates.exp: Ditto.
29681 * gdb.c++/virtfunc.exp: Ditto.
29682
29683Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
29684
29685 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
29686 host doesn't have a currently-open connection.
29687
29688 * config/sparclet.exp: Cleanups and fixes to make it generic for
29689 any gdb stub target. Handle cases where gdb doesn't respond when
29690 interrupted in a sane fashion.
29691
29692 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
29693 same thing in a totally different way.
29694
29695 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
29696 setting "timeout".
29697 (gdb_start): We set the global gdb_prompt variable in
29698 default_gdb_init now.
29699
29700Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
29701
29702 * gdb.base/printcmds.exp: Fix "check for floating addition"
29703 regexp to accept results within approx +/- .01 of exact value.
29704 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
29705
29706Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
29707
29708 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
29709 properly.
29710 (gdb_expect): Add optional timeout parameter, and add timeout
29711 value to various calls.
29712 (gdb_suppress_tests): Only give one warning message per group.
29713
29714Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
29715
29716 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
29717 global variables. Handle getting a value for $timeout more
29718 gracefully.
29719
29720Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
29721
29722 * lib/gdb.exp: Close connection to remote host if gdb doesn't
29723 initialize.
29724 (default_gdb_init): New procedure; allow gdb_init to be overridden
29725 by a target configuration file.
29726 (gdb_expect): Pass the timeout to remote_expect.
29727
29728 * config/monitor.exp(gdb_load): Fix typo in regexp.
29729
29730Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
29731
29732 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
29733
29734Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
29735
29736 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
29737 here. Call gdb_target_exec before rebooting the target, to make
29738 sure the connection to the target is closed.
29739 (gdb_load): Pass the name of the executable to gdb_target_monitor.
29740 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
29741 Also detect "Timeout reading from remote" error.
29742
29743 * config/gdbserver.exp: Pass the executable being loaded to
29744 gdb_target_monitor. Don't call gdb_file_cmd here; let
29745 gdb_target_monitor do it.
29746
29747 * gdb.disasm/hppa.exp: Don't use exec_output.
29748
29749Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
29750
29751 * gdb.base/list.exp: If we're debugging a non-native target,
29752 try to set the pc register to point to the start of the
29753 program before doing the first list command.
29754
29755 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
29756 test_calls after restarting.
29757
29758 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
29759 reloading.
29760
29761 * gdb.base/watchpoint.exp: Fix typo.
29762
29763 * gdb.base/setshow.exp: Check for use_gdb_stub.
29764
29765 * gdb.base/break.exp: Fix continue until exit test for the gdb
29766 stub case.
29767 * gdb.base/langs.exp: Ditto.
29768
29769 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
29770 gdb_load_offset. If we weren't given a file to load, figure out
29771 what the current file is and use it.
29772
29773 * config/i386-bozo.exp: New file.
29774
29775Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
29776
29777 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
29778 feature.
29779
29780 * config/proelf.exp: New entry.
29781
29782Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
29783
29784 * lib/gdb.exp: Remove spurious .* patterns at the beginning
29785 of regexps.
29786
29787 * gdb.base/watchpoint.exp: Don't run the test_stepping
29788 tests if gdb can't call functions on the target.
29789
29790 * gdb.base/setshow.exp: Don't run the set prompt tests if
29791 the board has gdb_prompt set.
29792
29793Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
29794
29795 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
29796 * gdb.base/commands.exp: Likewise.
29797 * gdb.base/setshow.exp: Likewise.
29798
29799Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
29800
29801 * config/monitor.exp(gdb_start): Look for gdb_prompt target
29802 feature.
29803
29804 * config/i960.exp: New file.
29805
29806Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
29807
29808 * gdb.base/funcargs.exp: Check for gdb,short_int target
29809 feature instead of looking for explicit target triplets.
29810
29811Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
29812
29813 * gdb.base/printcmds.exp: add a couple more tests a la
29814 "p 123DEADBEEF", to check parse_number.
29815 * top.c: change "to enable to enable" to "to enable" in a couple
29816 of help strings.
29817
29818Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
29819
29820 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
29821 on the mn10300.
29822
29823Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
29824
29825 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
29826 where the test executable is run with explicit args.
29827 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
29828
29829Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
29830
29831 * gdb.base/run.c: Use FAKEARGV to build test executable that
29832 does not require a command line arg, since most simulators
29833 don't currently support passing such an arg into the simulated
29834 program.
29835 * gdb.base/commands.exp: Change tests to insert the proper
29836 value as the arg to the first recursive factorial call. Change
29837 compilation line to define FAKEARGV at compile time.
29838
29839Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
29840
29841 * gdb.base/recurse.exp: Enable these tests for the mn10300.
29842 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
29843 function with watchpoint enabled" test.
29844
29845Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
29846
29847 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
29848 Don't call gdb_test when the command doesn't return to a gdb prompt.
29849
29850 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
29851 "Tests restarted" messages.
29852
29853Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
29854
29855 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
29856
29857Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
29858
29859 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
29860 for INFO SYMBOL; add help tests for OVERLAY commands.
29861 * gdb.base/default.exp: add tests for INFO SYMBOL command;
29862 add tests for OVERLAY commands
29863 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
29864 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
29865 * gdb.base/sigall.c: add usestubs code frag
29866 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
29867
29868Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
29869
29870 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
29871 failures.
29872 (gdb_stop_suppressing_tests): Note that tests have restarted.
29873
29874Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
29875
29876 * config/h8300.exp: New file.
29877
29878Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
29879
29880 * gdb.base/setshow.exp: Check for the existence of a
29881 feature, not its value.
29882
29883Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
29884
29885 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
29886
29887 * gdb.base/scope.exp: It's now init0(), not init().
29888
29889 * gdb.base/scope0.c: For now, change init() to be init0().
29890
29891 * config/monitor.exp: Use gdb_serial in preference to serial
29892 or netport.
29893
29894 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
29895 and it's not already set.
29896
29897Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
29898
29899 * gdb.base/setshow.exp: Only test the run command if the target
29900 isn't using a stub and if it supports argument passing.
29901
29902Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
29903
29904 * config/udi.exp(gdb_start): Make sure UDICONF is set
29905 properly before starting gdb.
29906
29907Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
29908
29909 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
29910 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
29911 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
29912
29913Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
29914
29915 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
29916 specialized code to reboot the board, use remote_reboot instead.
29917
29918 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
29919
29920 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
29921
29922 * config/monitor.exp: Make sure we disconnect from the target.
29923 Also, try a reboot/reload cycle instead of failing if the
29924 load fails.
29925
29926Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
29927
29928 * gdb.base/default.exp: Don't set match_max.
29929 * gdb.base/help.exp: Ditto.
29930 * gdb.base/list.exp: Ditto.
29931 * gdb.base/signals.exp: Ditto.
29932
29933 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
29934 set, use remote_ld to download the testcase instead of
29935 the GDB loader.
29936
29937Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
29938
29939 * config/vr5000.exp: New file.
29940
29941 * config/monitor.exp(gdb_target_monitor): Add pattern for
29942 "Ending remote" to detect errors in connecting.
29943
29944 * gdb.base/setshow.exp: Add .* within auto language test.
29945
29946 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
29947 target feature.
29948
29949 * config/monitor.exp(gdb_load): Check for a failure when loading,
29950 and reboot the board if necessary.
29951
29952 * gdb.base/setvar.exp(test_set): Handle multiple prints within
29953 a set of tests. Remove print.* from the patterns being checked.
29954
29955Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
29956
29957 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
29958 refer to gdb_spawn_id.
29959
29960 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
29961 longer used.
29962 * config/sparclet.exp: Ditto.
29963 * config/sparclet-old.exp: Ditto.
29964 * config/slite.exp: Ditto.
29965 * config/sim.exp: Ditto.
29966 * gdb.base/funcargs.exp: Ditto.
29967
29968 * lib/gdb.exp:Remove references to gdb_spawn_id.
29969 (gdb_expect): Move to remote.exp.
29970
29971Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
29972
29973 * config/monitor.exp: Detect the "Couldn't establish connection"
29974 message from GDB.
29975
29976Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
29977
29978 * gdb.base/bitfields.exp: Use runto instead of explicit
29979 gdb_run_cmd/gdb_expect sequences.
29980
29981 * gdb.base/break.exp(text_next_with_recursion): Add match for
29982 gdb_expect call.
29983
29984 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
29985 We also need to handle the "A program is being debugged already"
29986 prompt from gdb. Use gdb_test to set the baud rate.
29987
29988 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
29989 to 20000. Really. I mean it.
29990
29991Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
29992
29993 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
29994 fails. If suppress_flag is set, skip perror message about not
29995 being able to send to GDB.
29996 (send_gdb): If suppress_flag is set, don't try to send commands to
29997 GDB.
29998 (gdb_expect): If suppress_flag is set, always fail immediately.
29999 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
30000 (gdb_init): Call gdb_stop_suppressing_tests.
30001 (default_gdb_exit): Ditto.
30002 (default_gdb_start): Ditto.
30003
30004 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
30005 gdb_stop_suppressing_tests as appropriate.
30006 * gdb.base/break.exp: Ditto.
30007 * gdb.base/callfuncs.exp: Ditto.
30008 * gdb.base/commands.exp: Ditto.
30009 * gdb.base/exprs.exp: Ditto.
30010 * gdb.base/funcargs.exp: Ditto.
30011 * gdb.base/list.exp: Ditto.
30012 * gdb.base/recurse.exp: Ditto.
30013 * gdb.base/scope.exp: Ditto.
30014 * gdb.base/structs.exp: Ditto.
30015 * gdb.c++/inherit.exp: Ditto.
30016
30017Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
30018
30019 * config/vr4300.exp: New file.
30020
30021 * gdb.*/*.exp: Call gdb_expect instead of expect.
30022
30023 * lib/gdb.exp(gdb_expect): New function.
30024
30025Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
30026
30027 * lib/gdb.exp(gdb_init): New function.
30028
30029 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
30030 for each individual variable set.
30031
30032 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
30033 name.
30034
30035 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
30036
30037 * gdb.base/scope.exp: Use gdb_test.
30038
30039 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
30040 aborting; the testsuite driver will do that for us (see
30041 gdb_finish). Also, use gdb_test in a few more places.
30042
30043Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
30044
30045 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
30046
30047Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
30048
30049 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
30050 and "add_tests" are not at the same address.
30051
30052Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
30053
30054 * gdb.base/ptype.exp: Use gdb_test.
30055
30056Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
30057
30058 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
30059 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
30060 left in. No longer expect them to fail.
30061
30062 * gdb.stabs/*.mt; Deleted, no longer used.
30063 * gdb.stabs/configure.in: Remove references to target makefile
30064 frags.
30065 * gdb.stabs/configure: Rebuilt.
30066
30067 * gdb.disasm/*.mt: Deleted, no longer used.
30068 * gdb.disasm/configure.in: Remove references to target makefile
30069 frags. Use "sh3.s" as the unique filename for this directory.
30070 * gdb.disasm/configure: Rebuilt.
30071
30072 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
30073 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
30074 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
30075
30076Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
30077
30078 * config/udi.exp: Use mondfe,name instead of remote_host.
30079
30080Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
30081
30082 * gdb.base/watchpoint.exp: Don't expect a failure when calling
30083 a function with a watchpoint enabled on the mn10200.
30084
30085 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
30086 before trying to create it!
30087
30088Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
30089
30090 * config/vx.exp: Use hostname instead of netport.
30091
30092 * config/vxworks.exp: New file.
30093
30094 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
30095
30096 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
30097 gdb before assuming everything worked. Send a ^C if a timeout
30098 occurs.
30099
30100 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
30101 $gdb_spawn_id directly.
30102 (gdb_run_cmd): Try _start as well as start. Use the target feature
30103 gdb,start_symbol as the symbol to start from when jumping.
30104
30105Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
30106
30107 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
30108 redundant) test.
30109
30110 * gdb.base/recurse.exp: Relax final value test for 'b' so that
30111 it doesn't lose for 16bit integer systems.
30112
30113Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
30114
30115 * gdb.fortran/types.exp: If the target doesn't support "double"
30116 data types, then expect "real" types to only be 4 bytes.
30117
30118 * gdb.c++/virtfunc.exp: Expect failure for virtual function
30119 call tests if the target doesn't support inferior function calls.
30120
30121 * gdb.base/printcmds.exp: Allow minor deviation in FP values
30122 in printf tests.
30123
30124Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
30125
30126 * gdb.base/help.exp: Disable "help set", "help show", and
30127 "help support". Simplify regexp for "help stack".
30128
30129 * gdb.base/default.exp: Set match_max to 5000 and the timeout
30130 to 60 seconds. Temporarily set match_max to 15000 around the
30131 "info copying" test.
30132
30133 * gdb.base/nodebug.exp: Don't try to do an inferior function
30134 call if the target doesn't support them.
30135 * gdb.base/printcmds.exp: Likewise.
30136 * gdb.base/setvar.exp: Likewise.
30137 * gdb.base/structs.exp: Likewise.
30138 * gdb.c++/templates.exp: Likewise.
30139 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
30140
30141 * gdb.base/recurse.exp: Enable for the mn10200.
30142
30143 * configure.in: Do configure gdb.stabs directory for *-*-elf
30144 targets.
30145 * configure: Rebuilt.
30146
30147 * gdb.base/break.exp: Check for gdb,noresults before testing
30148 exit status and/or results from the target.
30149 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
30150 * lib/gdb.exp: Remove old (now bogus) initialization of
30151 noinferior, noargs, noresults and nosignals.
30152
30153Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
30154
30155 * config/sh.exp: New file.
30156
30157 * config/slite.exp: Try to connect multiple times to the board
30158 before rebooting. Only send a "monitor run" if need_monitor_run
30159 is set.
30160
30161 * gdb.base/break.exp: Don't do the "stub continue" test if
30162 the target has gdb_stub set.
30163
30164 * gdb.base/callfuncs.exp: Increase the timeout.
30165
30166 * gdb.base/interrupt.exp: Don't even try to compile the testcase
30167 if the target has gdb,noinferiorio set.
30168
30169 * gdb.base/list.exp: Increase match_max to 10000 characters.
30170
30171 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
30172
30173 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
30174 target.
30175
30176 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
30177
30178Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
30179
30180 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
30181 trying to delete the copy of gdb. Catch the file delete so we
30182 don't die if the delete fails; also, the file should be copied to
30183 the host, not to the build.
30184
30185Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
30186
30187 * lib/gdb.exp(gdb_test): Surround the result pattern with
30188 parenthesis in case it contains multiple regexps separated
30189 with |.
30190
30191 * gdb.base/watchpoint.exp: Use gdb_test.
30192 * gdb.base/default.exp: Ditto.
30193
30194Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
30195
30196 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
30197
30198 * gdb.base/scope.exp: Use gdb_test.
30199 * gdb.c++/classes.exp: Ditto.
30200 * gdb.c++/inherit.exp: Ditto.
30201
30202Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
30203
30204 * gdb.base/crossload.exp: Don't use execute_anywhere, use
30205 remote_exec instead.
30206 * gdb.base/corefile.exp: Don't be ridiculous.
30207 * gdb.base/*.c: Add missing stub invocations.
30208
30209Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
30210
30211 * config/slite.exp: Miscellaneous fixes.
30212
30213 * lib/gdb.exp: Fix runto.
30214
30215 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
30216 the target.
30217
30218 * gdb.base/watchpoint.exp: Fix regexp.
30219
30220 * lib/gdb.exp(default_gdb_exit): Add a catch to the
30221 close and wait commands, as the descriptor may now be
30222 invalid. Always call "remote_close host".
30223
30224Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
30225
30226 Major rewrite for testsuite revision.
30227
30228 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
30229 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
30230 instead of relying on spawn_id to always contain a valid
30231 spawn id.
30232 (get_compiler_info): New procedure to build the ${binfile}.ci
30233 file, instead of replicating this in N different places.
30234 (gdb_compile): New procedure.
30235
30236 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
30237 appropriate arguments) instead of compile. Use gdb_test in a lot
30238 more places. Use send_gdb instead of send. Always run gdb_start
30239 at the start of a testcase, as this is no longer done magically.
30240
30241 config/*-gdb.exp: Rename without the -gdb suffix.
30242
30243 config/mips.exp: Use remote_close instead of exit_remote_shell.
30244 config/monitor.exp: Use target_info instead of looking at
30245 baud, timeout, etc.
30246 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
30247
30248Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30249
30250 * gdb.c++/templates.exp (test_ptype_of_templates),
30251 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
30252 Update expect patterns for destructors and assignment operators
30253 to match corresponding c-typeprint.c changes.
30254 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
30255 to destructor breakpoint test, GDB should be able to set the
30256 destructor breakpoint without specifying arguments.
30257
30258Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
30259
30260 * gdb.threads/pthreads.exp: Change result for failure to compile due
30261 to lack of pthreads runtime support from an error to simply an
30262 unsupported test, per dejagnu standards.
30263
30264Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30265
30266 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
30267 where GDB exits to reduce pattern match time.
30268 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
30269
30270 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
30271
30272Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
30273
30274 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
30275 * gdb.base/default.exp: ditto.
30276 * gdb.base/nodebug.exp: ditto.
30277 * gdb.base/printcmds.exp: ditto.
30278 * gdb.base/ptype.exp: ditto.
30279 * gdb.base/setvar.exp: ditto.
30280 * gdb.base/structs.exp: ditto.
30281 * gdb.base/setshow.c: Guard against uninitialized values of argc.
30282
30283Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
30284
30285 * configure, */configure: Rebuild with autoconf 2.12.
30286
30287Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
30288
30289 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
30290 use new i*86-pc-linux*-gnu quads.
30291 * gdb.base/corefile.exp: Ditto.
30292 * gdb.base/signals.exp: Ditto.
30293 * gdb.base/sigall.exp: Ditto.
30294 * gdb.base/interrupt.exp: Ditto.
30295
30296 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
30297 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
30298 RedHat 4.0.
30299
30300 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
30301 linux. This allows the test case to at least compile on latest
30302 linux, but still not run due to missing the threads runtime library.
30303
30304Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30305
30306 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
30307 directory to search gdb directory. Accept and step over conditional
30308 stack alignment code. Consume $prompt in failure cases.
30309 Reset timeout to $oldtimeout instead of some arbitrary value.
30310 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
30311 timeout problems with infinite stack backtraces.
30312 * gdb.base/ptype.exp (ptype struct link, union tu_link):
30313 Accept function parameters for linkfunc member.
30314
30315Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
30316
30317 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
30318 (CXXFLAGS): Remove, unreferenced.
30319 (B_OPTIONS): Add for -B options and add code to initialize with
30320 previous -B options and also add -B option to pick up cross compiled
30321 runtime.
30322 (TARGET_INCLUDES): Add for -I options and add code to initialize when
30323 doing cross compiles.
30324 (target_alias): Declare global.
30325 (xgcc): Set variable to full path of gcc in build tree. Use findfile
30326 to verify that gcc exists in build tree, and if so set CC to that
30327 gcc and to use B_OPTIONS and TARGET_INCLUDES.
30328
30329Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
30330
30331 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
30332 ptype test for anonymous union. Fixup testcase to match
30333 current gcc debug output.
30334
30335Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
30336
30337 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
30338 force argument to an unsigned long type.
30339
30340Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
30341
30342 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
30343 tests and anonymous union print/ptype tests.
30344 * gdb.base/list.exp (test_forward-search): Increase timeout by
30345 5 minutes for the "search extremely long line" case.
30346 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
30347 completely optional and that the pass/fail messages use the command as
30348 the message if that third arg is a null string.
30349 (gdb_test_exact): Arrange that a null string pattern means match a
30350 null string output rather than any output, which might include random
30351 errors.
30352 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
30353 backtrace test.
30354 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
30355 always failing and failure is now exposed by gdb.exp changes.
30356
30357Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
30358
30359 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
30360 weren't being noted.
30361
30362Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30363
30364 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
30365 * gdb.stabs/weird.exp: Remove v_comb xfails.
30366
30367Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
30368
30369 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
30370 list.exp scope.exp watchpoint.exp]
30371 Make all timeout error msgs explicitly say "(timeout)".
30372
30373Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
30374
30375 * config/monitor.exp: Increase download timeout to 1000 seconds.
30376
30377Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
30378
30379 * config/m32r.exp: Increase timeout to 120 seconds.
30380
30381Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
30382
30383 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
30384 and accept older ordering as obsolescent gcc or gdb.
30385 * gdb.c++/templates.exp: Ditto.
30386 * gdb.c++/virtfunc.exp: Ditto.
30387
30388Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
30389
30390 * gdb.base/coremaker.c: Add code to mmap some data so we
30391 can check that it ends up in the core file.
30392 * gdb.base/corefile.exp: Add test to read mmapped data
30393 from core file.
30394
30395Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
30396
30397 * config/m32r.exp: New file.
30398
30399Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
30400
30401 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
30402 that cflags can contains -gstabs, and work correctly for other tests.
30403
30404Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
30405
30406 * gdb.base/setshow.exp: New file, tests show and set.
30407 * gdb.base/setshow.c: New file, tests show and set.
30408 * gdb.base/help.exp: Add test for help set|show annotate.
30409 * gdb.base/default.exp: Add test for set|show annotate.
30410
30411Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
30412
30413 * testsuite/gdb.base/break.exp: Make backtrace from factorial
30414 errors unique.
30415 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
30416 explicitly.
30417
30418Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
30419
30420 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
30421 and width commands. This is done elsewhere.
30422 * (gdb_start): Don't call gdb_start_sim here. That's already
30423 done in gdb_load. This fixes lots of failures in default.exp.
30424
30425Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
30426
30427 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
30428 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
30429 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
30430 in the same we we treat other failures (since it may be an expected
30431 condition), rather than as an error.
30432 * gdb.base/signals.exp (test_handle_all_print): Revert back to
30433 old test format.
30434
30435Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
30436
30437 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
30438 (distclean maintainer-clean realclean): No need to remove files
30439 twice. Nuke the duplicates.
30440 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
30441 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
30442 Remove config.h along with other config files.
30443
30444Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
30445
30446 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
30447 "p func1 ()" and note that rests of tests are skipped.
30448 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
30449 setup_xfails for "print func2::coremaker_local".
30450 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
30451 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
30452 affected by the previous run test.
30453 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
30454 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
30455 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
30456 "pass int powerset tuple" and "pass modeless int powerset tuple".
30457 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
30458 "real write 4" and "real write 8".
30459 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
30460 setup_xfails for "print vs1 after tuple assign 2",
30461 "print \$i after tuple assign 2", and
30462 "print vs2 after tuple assign 2".
30463 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
30464 meaningful error message and return -1 so the caller can
30465 suppress further tests and avoid a cascade of errors.
30466
30467Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
30468
30469 * gdb.base/a1-selftest.exp: Tweak tests to account for new
30470 format for printing version.
30471 * gdb.base/default.exp: Ditto.
30472 * gdb.base/interrupt.exp: Fix problem with cascade of
30473 errors if child process dies while calling a function.
30474
30475Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
30476
30477 * Makefile.in (VPATH): Add
30478 * Makefile.in (Makefile, config.status): Fix rules so things get
30479 remade when necessary.
30480
30481Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
30482
30483 * Makefile.in (just-check): Add path to sibling expect dir
30484 to environment variable specified by RPATH_ENVVAR.
30485
30486Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
30487
30488 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
30489 (just-check): Add shared library paths for libstdc++, tk,
30490 tcl, bfd, and opcodes to the environment variable specified
30491 in RPATH_ENVVAR.
30492 * configure.in: Add support to recognize --enable-shared flag
30493 and generate correct value for RPATH_ENVVAR.
30494 * configure: Regenerated with autoconf.
30495
30496Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
30497
30498 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
30499 include all osf versions.
30500 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
30501 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
30502 when target is linux. When failing to build pthreads test
30503 executable, give more meaningful message.
30504 * gdb.threads/pthreads.c: Hpux also uses old definition of second
30505 arg for pthread_create.
30506
30507Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
30508
30509 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
30510 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
30511 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
30512 and -lpthreads (everybody else).
30513 (test_startup): Fail gracefully if threads are not supported.
30514 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
30515 "p/c array_index("abcdef",2)" when not gcc compiled.
30516 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
30517 "print func2::coremaker_local" when not gcc compiled.
30518 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
30519 "ptype on opaque struct tagname (statically)",
30520 "ptype on opaque struct tagname (dynamically) 1", and
30521 "ptype on opaque struct tagname (dynamically) 2"
30522 for not compiled with gcc.
30523 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
30524 backtrace when compiled with gcc.
30525 * lib/gdb.exp (runto_main): Return result of "runto main" rather
30526 than always return success.
30527
30528Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
30529
30530 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
30531
30532Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
30533
30534 * gdb.base/structs.exp: Undo last change.
30535
30536Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
30537
30538 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
30539 encapsulate all the steps/nexts done during self test, starting
30540 at main, and makes them less sensitive to optimization issues.
30541 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
30542 signal handler" test.
30543 * gdb.threads/pthreads.exp: Only run this for native configs.
30544 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
30545 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
30546 tests.
30547 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
30548 for "runto test_calls(void)" test.
30549
30550Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
30551
30552 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
30553 and don't expect address info in breakpoint confirmations.
30554
30555Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
30556
30557 * gdb.base/list.exp (test_forward_search): Increase timeout
30558 temporarily by 60 seconds for searching extremely long line,
30559 and then reset to old value when done. Increase expect input
30560 buffer to 10000.
30561
30562Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
30563
30564 * gdb.base/list.exp (test_forward_search): Fix to handle very
30565 long source line without overflowing expect's input buffer.
30566
30567Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
30568
30569 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
30570 "buffer_full".
30571
30572 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
30573 "buffer_full".
30574
30575 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
30576 "buffer_full".
30577
30578 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
30579 "buffer_full".
30580
30581Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
30582
30583 * configure.in (configdirs): Add gdb.threads.
30584 * configure: Regenerated with autoconf.
30585 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
30586 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
30587 * gdb.threads/configure: New, generated with autoconf.
30588
30589Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
30590
30591 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
30592
30593Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
30594
30595 * gdb.base/signals.exp (test_handle_all_print): Test separately for
30596 each signal's status in the output of "handle all print".
30597 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
30598 the \r\n sequence that immediately precedes the gdb prompt.
30599 * gdb.base/a1-selftest.exp: Save original timeout and restore
30600 after test.
30601
30602Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
30603
30604 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
30605 symbol.
30606
30607Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
30608
30609 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
30610
30611Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
30612
30613 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
30614 timeout by 60 seconds.
30615
30616Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
30617
30618 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
30619 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
30620 error return.
30621
30622Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
30623
30624 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
30625 gdb initialization, also report how long dejagnu waited. Restore
30626 old timeout before doing error return. Temporarily increase timeout
30627 by 3 minutes to allow for slow startups over heavy NFS use.
30628
30629Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
30630
30631 * lib/gdb.exp: Report timeout value for verbosity level 2.
30632 * config/gdbserver.exp: Ditto.
30633 * config/hppro.exp: Ditto.
30634 * config/mips-gdb.exp: Ditto.
30635 * config/monitor.exp: Ditto.
30636 * config/netware.exp: Ditto.
30637 * config/sim-gdb.exp: Ditto.
30638 * config/slite-gdb.exp: Ditto.
30639 * config/udi-gdb.exp: Ditto.
30640 * config/unix-gdb.exp: Ditto.
30641 * config/vx-gdb.exp: Ditto.
30642 * gdb.base/a1-selftest.exp: Ditto.
30643 * gdb.base/a2-run.exp: Ditto.
30644 * gdb.base/break.exp: Ditto.
30645 * gdb.base/corefile.exp: Ditto.
30646 * gdb.base/list.exp: Ditto.
30647 * gdb.base/recurse.exp: Ditto.
30648 * gdb.base/scope.exp: Ditto.
30649 * gdb.base/signals.exp: Ditto.
30650
30651Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
30652
30653 * gdb.threads/Makefile.in (docdir): Removed.
30654
30655Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
30656
30657 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
30658 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
30659 @srcdir@.
30660 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
30661 autoconf 2.5 or higher.
30662 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
30663
30664Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
30665
30666 * configure: Regenerated.
30667 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
30668 avoid name clashes with SunOS headers.
30669
30670Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
30671
30672 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
30673
30674Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
30675
30676 * gdb.base/callfuncs.exp: Finish last change -- make sure the
30677 prototype information ends up in the compiler info file.
30678
30679Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
30680
30681 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
30682 attempting to regenerate it. Eliminate use of a temporary file
30683 and just generate the info file directly. Source it immediately,
30684 for consistency of use.
30685 * gdb.base/corefile.exp: Ditto
30686 * gdb.base/exprs.exp: Ditto.
30687 * gdb.base/funcargs.exp: Ditto.
30688 * gdb.base/langs.exp: Ditto.
30689 * gdb.base/list.exp: Ditto.
30690 * gdb.base/mips_pro.exp: Ditto.
30691 * gdb.base/nodebug.exp: Ditto.
30692 * gdb.base/opaque.exp: Ditto.
30693 * gdb.base/ptype.exp: Ditto.
30694 * gdb.base/scope.exp: Ditto.
30695 * gdb.base/setvar.exp: Ditto.
30696 * gdb.base/signals.exp: Ditto.
30697 * gdb.base/whatis.exp: Ditto.
30698 * gdb.c++/templates.exp: Ditto.
30699 * gdb.c++/virtfunc.exp: Ditto.
30700 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
30701 whether or not to add -lstdc++ to the compile command line args.
30702
30703Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30704
30705 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
30706 it got fixed by the recent lookup_minimal_symbol_by_pc change.
30707 Increase timeout, a lot of single stepping might be needed if the
30708 target has no hardware watchpoints.
30709
30710Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
30711
30712 * gdb.base/break.exp: Ignore compiler warnings when compiling
30713 break.c.
30714 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
30715 * gdb.base/default.exp: Add h8300 xfails. Handle messages
30716 from remote-sim.
30717 * gdb.base/exprs.exp: Add h8300 xfails.
30718 * gdb.base/funcargs.exp: Likewise.
30719 * gdb.base/nodebug.exp: Likewise.
30720 * gdb.base/printcmds.exp: Likewise.
30721 * gdb.base/ptype.exp: Likewise.
30722 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
30723 h8300 xfails.
30724 * gdb.base/return.exp: Handle float/double precision problems
30725 on the h8300.
30726 * gdb.base/funcargs.c: Explicitly make last constant argument to
30727 call_after_alloca_subr an unsigned long type.
30728 * gdb.base/return.c: Include stdio.h.
30729
30730Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
30731
30732 * config/abug.exp: New file for the older Motorola Bug monitor
30733 that runs on the mvme13x series VME boards.
30734 * config/monitor.exp: Use the new config array for target settings
30735 if they exist.
30736
30737Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
30738
30739 * sim-gdb.exp: Make the SH simulator allocate less space when
30740 it is targeted.
30741
30742Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
30743
30744 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
30745 test.
30746
30747Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
30748
30749 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
30750 "rs6000-*-*" for "list function in include file" when gcc compiled.
30751 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
30752 for "p ctable1[120]".
30753 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
30754 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
30755 Remove setup_xfail for "rs6000-*-*" for
30756 "print 'scope0.c'::filelocal before run".
30757 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
30758 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
30759 since some compilers don't allow both options to be given
30760 on the same command line. Create object file and move it.
30761
30762Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
30763
30764 * gdb.base/corefile.exp: Always regenerate the core file, since
30765 we always regenerate the coremaker program. Detect special case
30766 where registers cannot be read from core file.
30767
30768Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
30769
30770 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
30771 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
30772 * gdb.c++/templates.exp: Only match on basename of file since
30773 some formats like xcoff don't encode directory information.
30774 * gdb.stabs/weird.exp: Use the right sed script for powerpc
30775 and rs6000 AIX xcoff targets.
30776 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
30777 * configure: Regenerate.
30778 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
30779 here, rather than in distclean.
30780
30781Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
30782
30783 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
30784 defined, and use it to compile the test case with -O2. The
30785 native compilation still uses no optimization.
30786 * gdb.base/mips_pro.c: Remove inline assembly code since
30787 it is compiled PIC by default, which results in assembler
30788 warnings that make the testsuite think the compilation
30789 was unsuccessful.
30790
30791Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
30792
30793 * gdb.c++/misc.exp: Add note to message for
30794 "print s.a for foo struct" that this is a known gcc 2.7.2
30795 and earlier bug.
30796
30797Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
30798
30799 * gdb.base/break.exp: Fix pattern for matching "Delete all
30800 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
30801 setup_xfail for deleting all breakpoints test. Fix various
30802 timeout messages to include "(timeout)".
30803 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
30804 for "p t_float_values2(3.14159,float_val2)".
30805 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
30806 for "continue to call2g" when gcc compiled.
30807 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
30808 "up to foo in langs.exp", "show language at foo in langs.exp",
30809 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
30810 and "show language at fsub in langs.exp".
30811 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
30812 "list line 1 in include file", "list message for lines past EOF",
30813 "list function in include file", "list list0.h:foo", and
30814 "list filename:function; nonexistant function".
30815 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
30816 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
30817 and "ptype t_char_array" to be for native cc only.
30818
30819Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
30820
30821 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
30822 setup_xfail for "print coremaker_bss", "print coremaker_ro",
30823 "print func2::coremaker_local", and "backtrace in corefile.exp".
30824
30825Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
30826
30827 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
30828 "bt in signals.exp". This problem only appears when running
30829 the testsuite, and then only intermittently.
30830
30831Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
30832
30833 * gdb.base/return.exp (return_tests): Differentiate between
30834 two tests of continuing.
30835
30836Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
30837
30838 * */Makefile.in (maintainer-clean): Remove config.log.
30839 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
30840 * gdb.c++/Makefile.in (PROGS): Add inherit.
30841 (clean): Remove *.ci.
30842
30843Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
30844
30845 * gdb.c++/misc.cc: Add test code from Mike Stump.
30846 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
30847
30848Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
30849
30850 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
30851 to "alpha-*-osf2*" and add comment.
30852 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
30853 setup_xfail for "step over execarg initialization" and
30854 "step over corearg initialization".
30855 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
30856 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
30857 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
30858 gcc compiled for "print coremaker_bss", "print coremaker_ro",
30859 "print func2::coremaker_local", and "backtrace in corefile.exp".
30860 * gdb.base/signals.exp: Build and source signals.ci.
30861 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
30862 to be for gcc only.
30863 * lib/gdb.exp: Move verbose statements outside conditionals.
30864
30865Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30866
30867 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
30868 Feb 3 procfs.c change.
30869
30870Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
30871
30872 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
30873
30874Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
30875
30876 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
30877 from dejagnu's apparent default of 10 seconds, which gives random
30878 results when running the tests over NFS on moderately loaded systems.
30879 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
30880
30881Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
30882
30883 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
30884 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
30885 result reports.
30886
30887Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
30888
30889 * configure.in (CY_AC_PATH_TCLH): Remove.
30890 * configure: Regenerate.
30891
30892Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
30893
30894 * gdb.c++/Makefile.in (clean): Add missing '{'.
30895
30896Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
30897
30898 * lib/gdb.exp: Provide a default value for noinferior.
30899
30900 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
30901 Load libgloss.exp.
30902
30903Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
30904
30905 * gdb.disasm/hppa.exp: Compile directly into an executable, use
30906 the executable, not the .o to run the tests from.
30907
30908Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
30909
30910 * gdb.base/break.exp: Don't test for program exit or exit status
30911 if $noresults if nonzero.
30912 * gdb.base/langs.exp: Likewise.
30913 * gdb.base/watchpoint.exp: Likewise.
30914
30915 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
30916 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
30917 trying to compile the testcase.
30918
30919Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
30920
30921 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
30922 * gdb.base/signals.exp (continue to handler): Likewise.
30923
30924Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
30925
30926 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
30927
30928 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
30929
30930Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
30931
30932 * gdb.base/corefile.exp: Recognize "not found" as failure
30933 when trying to determine if a core file was generated.
30934 If no core file was generate the first time, try again without
30935 the ulimit -c to work around braindamaged shells.
30936
30937Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
30938
30939 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
30940 [] tests with "test" and enclose string in quotes.
30941 * gdb.stabs/configure: Rebuild
30942
30943Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
30944
30945 Changes in sync with expect:
30946 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
30947 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
30948 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
30949 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
30950 argument to AC_REQUIRE.
30951 * configure: Regenerated.
30952
30953Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
30954
30955 * gdb.base/corefile.exp: When generating a core, discard any
30956 error messages about ulimit not found and the "core dumped"
30957 message from the shell that runs the coredumper.
30958
30959Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
30960
30961 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
30962
30963 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
30964 which sed script to run. Expect failure for v_comb test
30965 on PA targets too.
30966
30967Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
30968
30969 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
30970 "print func2::coremaker_local" and for "backtrace in corefile.exp"
30971
30972Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
30973
30974 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
30975 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
30976 "sparc-sun-solaris*" xfails for "p v_comb".
30977 * lib/gdb.exp (default_gdb_start): Fix typo.
30978 * gdb.base/corefile.exp: Allow "Core was generated by ..."
30979 messages to not include the full program name that caused
30980 the core dump since some systems (such as solaris) apparently
30981 truncate this path to about 80 characters.
30982 When generating a core file first try increasing the core file
30983 size limit to unlimited since some systems may default it to
30984 zero, and it is harmless to try it. Move the test for failing
30985 to generate a core file to where it will actually get executed.
30986 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
30987 new gdb result from g++ debug info improvements and make old
30988 pattern obsolescent. Also account for size_t differences
30989 (may be int or long).
30990 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
30991 initialization before function call is placed in the delay slot
30992 and thus appears to be skipped over by commands such as "next".
30993
30994Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
30995
30996 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
30997
30998Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
30999
31000 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
31001 input source file; fix code to compile test to deal with this
31002 convention.
31003 * gdb.c++/*.exp: Likewise.
31004
31005Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
31006
31007 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
31008 "bt in signals.exp".
31009
31010Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
31011
31012 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
31013 "step over execarg initialization" and
31014 "step over corearg initialization".
31015
31016Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
31017
31018 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
31019 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
31020
31021Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
31022
31023 From Rob Savoye (rob@poseidon.cygnus.com)
31024 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
31025 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
31026 configure.in}, gdb.disasm/{Makefile.in, configure.in},
31027 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
31028 configure.in}: Major reworking for autoconfig.
31029 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
31030 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
31031 New files.
31032 * config/unix-gdb.exp: Make GDB global.
31033 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
31034 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
31035 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
31036 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
31037 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
31038 term.exp, twice.exp, watchpoint.exp, whatis.exp},
31039 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
31040 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
31041 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
31042 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
31043 pr-8136.exp, result.exp, string.exp, tuples.exp},
31044 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
31045 to returns as necessary, arrange for test to compile own testcase
31046 executable.
31047 * lib/gdb.exp: Changes for testsuite to compile own test cases.
31048
31049Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
31050
31051 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
31052 clear_xfail at end of test which might not call either pass or fail.
31053 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
31054 "backtrace through signal handler".
31055
31056Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31057
31058 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
31059 continuing from a job control stop signal.
31060 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
31061
31062Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
31063
31064 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
31065 * gdb.base/corefile.exp: Likewise.
31066 * gdb.base/funcargs.exp: Likewise.
31067
31068Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
31069
31070 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
31071 * config/monitor.exp: Add support for setting baud rate.
31072
31073Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
31074
31075 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
31076 i*86-*-linux* xfails for "backtrace through signal handler".
31077 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
31078 "print func2::coremaker_local".
31079 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
31080 alpha-dec-osf2* xfail for
31081 "delete all breakpoints when none".
31082
31083Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
31084
31085 * gdb.base/break.exp: Change test that deletes all breakpoints
31086 when no user breakpoints are installed. A post 4.15 change
31087 causes gdb to no longer prompt in this case.
31088
31089Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
31090
31091 * gdb.base/return.exp (return_tests): Change xfail for test
31092 "correct value returned double test" to stop xfailing at
31093 Solaris 2.5. Apparently the bug has been fixed.
31094
31095Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
31096
31097 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
31098 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
31099
31100Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
31101
31102 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
31103 * gdb.disasm/hppa.s: Corresponding changes.
31104
31105Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
31106
31107 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
31108 makefile fragment.
31109 * config/mt-hpux: Deleted.
31110
31111Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
31112
31113 * Many files: When warning about suppressed tests due to a
31114 nonexistant test binary, avoid incrementing the warning count.
31115
31116Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
31117
31118 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
31119
31120Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31121
31122 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
31123 "sparc-*-solaris2*".
31124
31125Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31126
31127 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
31128 Add global and local variables and initialize them.
31129 * gdb.base/corefile.exp: Test correct mapping of corefile sections
31130 by printing variables. Remove rs6000 and powerpc xfails, BFD now
31131 extracts the file name and terminating signal from the core file.
31132 * TODO: Remove note about tests for correct mapping of corefile.
31133 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
31134 from optimizing it away.
31135 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
31136 handles common blocks.
31137
31138Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
31139
31140 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
31141 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
31142
31143Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
31144
31145 * Makefile.in (maintainer-clean): New target, synonym for
31146 realclean.
31147 * gdb.base/Makefile.in (maintainer-clean): Likewise.
31148 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
31149 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
31150 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
31151 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
31152 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
31153
31154Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
31155
31156 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
31157 xfails when not gcc compiled for "print foo::funclocal".
31158 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
31159 "print foo::funclocal at foo",
31160 "print 'scope1.c'::foo::funclocal at foo",
31161 "print foo::funclocal_bss at foo",
31162 "print 'scope1.c'::foo::funclocal_bss at foo",
31163 "print foo::funclocal_ro at foo",
31164 "print 'scope1.c'::foo::funclocal_ro at foo",
31165 "print bar::funclocal at foo" and
31166 "print 'scope1.c'::bar::funclocal at foo".
31167 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
31168 gcc compiled for "print foo::funclocal at bar".
31169 Expand all messages to ensure that they identify that
31170 the test is at bar().
31171 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
31172 gcc compiled for:
31173 "ptype on opaque struct pointer (statically)",
31174 "ptype on opaque struct tagname (statically)",
31175 "ptype on opaque struct pointer (dynamically) 1",
31176 "ptype on opaque struct tagname (dynamically) 1",
31177 "ptype on opaque struct pointer (dynamically) 2" and
31178 "ptype on opaque struct tagname (dynamically) 2
31179 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
31180 gcc compiled for:
31181 "p datalocal"
31182 "whatis datalocal",
31183 "ptype datalocal",
31184 "p bsslocal",
31185 "whatis bsslocal", and
31186 "ptype bsslocal".
31187 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
31188 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
31189 when not gcc compiled.
31190 * gdb.base/funcargs.exp (float_and_integral_args): Add
31191 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
31192 compiled.
31193 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
31194 "backtrace from call6a" when not gcc compiled.
31195 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
31196 "backtrace from call7a" when not gcc compiled.
31197 * gdb.base/callfuncs.exp (do_function_calls):
31198 Add "hppa*-*-hpux*" xfail when not gcc compiled for
31199 "p t_char_array_values(char_array_val2,char_array_val1)",
31200 "p t_char_array_values(char_array_val1,char_array_val2)",
31201 "p t_char_array_values("carray 1","carray 2")",
31202 "p t_char_array_values("carray 1",char_array_val2)",
31203 "p t_char_array_values(char_array_val1,"carray 2")",
31204 "p sum_args(1,{2})",
31205 "p sum_args(2,{2,3})",
31206 "p sum_args(3,{2,3,4})",
31207 "p sum_args(4,{2,3,4,5})"
31208 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
31209 "backtrace in corefile.exp" when not gcc compiled.
31210
31211Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31212
31213 * gdb.base/signals.exp: Rewrite `handle all print' test as
31214 a procedure. Accept blanks or TABs as whitespace, increase
31215 timeout and expect input buffer size for the large output
31216 from the command. Remove "i*86-*-bsdi2.0" xfail.
31217
31218Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31219
31220 * gdb.base/setvar.exp: Add new testcases for truncation when
31221 assigning invalid values to bitfields.
31222
31223Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
31224
31225 * gdb.base/callfuncs.exp (do_function_calls): Remove
31226 mips-sgi-irix* xfail for
31227 "call inferior func with struct - returns char *"
31228 and fix test so that an optional (unsigned char *) cast is
31229 accepted in the result.
31230
31231Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
31232
31233 * gdb.base/funcargs.exp (float_and_integral_args): Remove
31234 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
31235 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
31236 * gdb.base/signals.exp: Remove duplicate "handle all print" test
31237 that accidentally got checked in.
31238
31239Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
31240
31241 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
31242 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
31243 compiled test.
31244 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
31245 Add mips-sgi-irix5* xfail for not gcc compiled.
31246 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
31247 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc
31248 compiled for "p top", "whatis top", "p middle", and "whatis
31249 middle".
31250 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
31251 "whatis signed char" for not gcc compiled.
31252 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
31253 "set variable signed char=-1 (-1)" and
31254 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
31255 * gdb.base/funcargs.exp (float_and_integral_args):
31256 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
31257 Add mips-sgi-irix* xfail when not gcc compiled for
31258 "continue to call2b".
31259 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
31260 "continue to call2g".
31261 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc
31262 compiled for "backtrace from call6a"
31263 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc
31264 compiled for "backtrace from call7k". Add mips-sgi-irix5* xfail
31265 when not gcc compiled for "backtrace from call7a".
31266 (localvars_after_alloca): Fix gdb_test cmds for
31267 "print * after runto ...".
31268 Remove rs6000-*-* xfails for
31269 "print i after runto localvars_after_alloca" and
31270 "print l after runto localvars_after_alloca"
31271 for all compilers.
31272 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
31273 when not compiled with gcc, for:
31274 "print signed char == (minus)",
31275 "print signed char != (minus)",
31276 "print signed char < (minus)",
31277 "print signed char > (minus)".
31278 * gdb.base/callfuncs.exp (do_function_calls):
31279 Add mips-sgi-irix* xfail, when compiled with native compiler, for
31280 "call inferior func with struct - returns char *".
31281 * gdb.base/return.exp (return_tests): Change xfail for
31282 "correct value returned double test" to include Solaris 2.4.
31283 * gdb.base/funcargs.exp (float_and_integral_args):
31284 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
31285
31286Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31287
31288 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
31289 enumeration bitfields if compiling with GNU C.
31290 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
31291 to empty' prompt.
31292
31293Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
31294
31295 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
31296 test for PRO targets.
31297
31298 * gdb.base/funcargs.exp: Avoid ever setting more than 8
31299 breakpoints in the inferior at any given time by making
31300 two groups of breakpoints for call2*, call6* and call7*
31301 tests.
31302
31303Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31304
31305 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
31306 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
31307 from optimizing it away.
31308 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
31309 "call inferior func with struct".
31310
31311Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
31312
31313 * configure.in: Only configure gdb.chill for particular targets.
31314
31315Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
31316
31317 * gdb.base/Makefile.in: Add action to .c.o transformation
31318 rule that generates a .ci file for each .o file and remove
31319 explicit .c.o rules except for callfuncs.o.
31320 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
31321 generates a .ci file for each .o file and remove explicit
31322 .cc.o rules.
31323 (clean): Remove *.tmp *.ci files.
31324 (EXECUTABLES): Remove templ-info.exp.
31325 * gdb.base/compiler.c: New file.
31326 * gdb.c++/compiler.cc: New file
31327 * gdb.base/scope.exp: Source gdb.base/scope.ci.
31328 Change rs6000-*-* xfail for
31329 "print 'scope0.c'::filelocal_ro" and
31330 "print 'scope1.c'::filelocal" and
31331 "print 'scope1.c'::filelocal_bss" and
31332 "print 'scope1.c'::filelocal_ro" and
31333 "print 'scope1.c'::foo::funclocal" and
31334 "print 'scope1.c'::foo::funclocal_ro" and
31335 "print 'scope1.c'::bar::funclocal" and
31336 "print 'scope0.c'::filelocal_ro" and
31337 "print 'scope1.c'::filelocal at foo" and
31338 "print 'scope1.c'::filelocal_bss at foo" and
31339 "print 'scope1.c'::filelocal_ro at foo" and
31340 "print 'scope1.c'::foo::funclocal at foo" and
31341 "print 'scope1.c'::foo::funclocal_bss at foo" and
31342 "print 'scope1.c'::foo::funclocal_ro at foo" and
31343 "print 'scope1.c'::bar::funclocal at foo" and
31344 "print 'scope0.c'::filelocal_ro" and
31345 "print 'scope1.c'::filelocal" and
31346 "print 'scope1.c'::filelocal_bss" and
31347 "print 'scope1.c'::filelocal_ro" and
31348 "print 'scope1.c'::foo::funclocal" and
31349 "print 'scope1.c'::foo::funclocal_bss" and
31350 "print 'scope1.c'::foo::funclocal_ro" and
31351 "print 'scope1.c'::bar::funclocal" and
31352 "print 'scope1.c'::bar::funclocal_bss"
31353 to only be xfail'd when not compiled with gcc.
31354 Add rs6000-*-* xfail for
31355 "print 'scope0.c'::filelocal_bss before run"
31356 when compiled with gcc.
31357 (test_at_main): Add rs6000-*-* xfail for
31358 "print filelocal_ro in test_at_main"
31359 when compiled with gcc.
31360 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
31361 Add rs6000-*-aix* xfail for
31362 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
31363 "ptype t_char_array", not compiled with gcc.
31364 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
31365 xfail for "list foo (in include file)" when gcc compiled.
31366 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
31367 (integral_args): Add rs6000-*-* xfail for
31368 "run to call0a" if not compiled with gcc.
31369 (unsigned_integral_args): Add rs6000-*-* xfail for
31370 "run to call1a" if not compiled with gcc.
31371 (float_and_integral_args): Add rs6000-*-* xfail for
31372 "run to call2a" if not compiled with gcc and for
31373 "continue to call2b" for any compiler.
31374 Add rs6000-*-* xfail to
31375 "print f1 after run to call2a" for gcc compiled.
31376 (discard_and_shuffle): Add rs6000-*-* xfail for
31377 "run to call6a".
31378 (shuffle_round_robin): Add rs6000-*-* xfail for
31379 "backtrace from call7a" if not compiled with gcc.
31380 Add rs6000-*-* xfail for
31381 "backtrace from call7b" if compiled with gcc.
31382 (call_after_alloca): Add rs6000-*-* xfail for
31383 "print c in call_after_alloca" and
31384 "print s in call_after_alloca" and
31385 "backtrace from call_after_alloca_subr"
31386 if not compiled with gcc.
31387 (localvars_in_indirect_call): Add rs6000-*-* xfail for
31388 "print c in localvars_in_indirect_call" and
31389 "print c in localvars_in_indirect_call" and
31390 "backtrace in indirectly called function" and
31391 "stepping into indirectly called function"
31392 if not compiled with gcc.
31393 (localvars_after_alloca): Add rs6000-*-* xfail for
31394 "print c after runto localvars_after_alloca" and
31395 "print s after runto localvars_after_alloca" and
31396 "print i after runto localvars_after_alloca" and
31397 "print l after runto localvars_after_alloca"
31398 for all compilers.
31399 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
31400 than whatis-info.exp.
31401 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
31402 than opaque-info.exp.
31403 Setup rs6000-*-* xfail for
31404 "ptype on opaque struct pointer (statically)" and
31405 "ptype on opaque struct pointer (dynamically)" when
31406 not compiled with gcc.
31407 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
31408 rather than callf-info.exp.
31409 (do_function_calls): Add clear_xfail for rs6000-*-* for
31410 "p t_float_values2(3.14159,float_val2)". Seems to work
31411 fine there, both with xlc and gcc. Need to find out what
31412 it is doing right and fix other platforms.
31413 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
31414 "call inferior func with struct - returns int",
31415 "call inferior func with struct - returns long",
31416 "call inferior func with struct - returns float",
31417 "call inferior func with struct - returns double",
31418 "call inferior func with struct - returns char *",
31419 but only if not gcc compiled (presumes xlc compiled).
31420 Change rs6000-*-* xfails for
31421 "call inferior func with struct - returns char" and
31422 " call inferior func with struct - returns short" to only
31423 xfail if not using gcc.
31424 (clean mostlyclean): Remove *.ci and *.tmp files.
31425 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
31426 than templ-info.exp.
31427 * gdb.base/langs.exp: Source gdb.base/langs.ci.
31428 Add rs6000-*-* xfail for "up to foo in langs.exp"
31429 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
31430 when not gcc compiled.
31431
31432Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
31433
31434 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
31435 * gdb.base/corefile.exp: Likewise.
31436 * gdb.base/list.exp: Likewise.
31437 * gdb.base/scope.exp: Likewise.
31438 * gdb.base/siganls.exp: Likewise.
31439
31440 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
31441 compiler output.
31442 * gdb.base/whatis.exp: Likewise.
31443
31444Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
31445
31446 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
31447 failure (opcode table has been fixed to match reality).
31448
31449Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
31450
31451 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
31452 "call inferior func with struct - returns char",
31453 "call inferior func with struct - returns short"
31454
31455 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
31456 "print 'scope0.c'::filelocal at main",
31457 "print 'scope0.c'::filelocal_bss in test_at_main",
31458 "print 'scope0.c'::filelocal at foo",
31459 "print 'scope0.c'::filelocal_bss in test_at_foo",
31460 "print 'scope0.c'::filelocal at bar",
31461 "print 'scope0.c'::filelocal_bss in test_at_bar"
31462
31463 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
31464 in source file 1". This bug seems to have been fixed with both
31465 gcc and native cc (was native assembler bug?).
31466
31467Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
31468
31469 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
31470 "backtrace through signal handler" to "i*86-*-sysv4*".
31471 * gdb.base/signals.exp: Add xfail for "'next' behaved as
31472 continue" case. Add "known SVR4 bug" to fail message.
31473 Add "i*86-*-bsdi2.0" xfail for "handle all print".
31474 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
31475 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
31476 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
31477 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
31478 "up to foo in langs.exp", "show language at foo in
31479 langs.exp", "up to cppsub_ in langs.exp", "show
31480 language at cppsub_ in langs.exp", "up to fsub in
31481 langs.exp", and "show language at fsub in langs.exp".
31482 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
31483 "bactrace in corefile.exp".
31484 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
31485 "call inferior function with struct - returns float" and
31486 "call inferior function with struct - returns double".
31487
31488Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
31489
31490 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
31491 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
31492 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
31493 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
31494
31495Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
31496
31497 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
31498 (or overriden) "CHILL" macro rather then bare "gcc".
31499 Also look for ../../gcc/xgcc since that is what we will
31500 actually need, not "Makefile". Remove following assignment
31501 of CHILL to CHILL_FOR_TARGET because that results in
31502 recursive definition.
31503
31504Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
31505
31506 * gdb.base/corefile.exp: Change xfail for backtrace in
31507 corefile.exp from linuxaout to all linux.
31508 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
31509 cases where we miss the breakpoint at the signal handler
31510 for some reason. Setup xfail for linuxoldld/linuxaout and
31511 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
31512 hitting SIGURG breakpoint.
31513 * gdb.base/signals.exp: Setup xfail for "next" acting like
31514 continue to add linuxoldld. Setup xfail for all linux for
31515 "next to handler in signals_tests_1", "backtrace in
31516 signals_tests_1", "continue to func1", "pass SIGUSR1",
31517 and continue to handler".
31518
31519Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
31520
31521 * Update all FSF addresses except those in COPYING* files.
31522
31523Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
31524
31525 * gdb.base/a2-run.exp: Change messages to be more explicit about
31526 the status of args, and quote binfile in results.
31527
31528Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
31529
31530 * gdb.base/callfuncs.exp: Add tests for passing structs to
31531 inferior functions and return various types.
31532 * gdb.base/callfuncs.c: Add functions to receive a struct
31533 and return a member of the struct, in various types.
31534
31535Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31536
31537 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
31538
31539Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
31540
31541 * config/vxworks29k.exp: New file, sources vxworks.exp.
31542
31543Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
31544
31545 * config/gdbremote.exp: New file. Testing framework using
31546 gdbserver.
31547
31548Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
31549
31550 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
31551 "call function when asleep" and "send end of file".
31552 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
31553 for "backtrace in corefile.exp".
31554 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
31555 for "backtrace through signal handler".
31556 * gdb.base/corefile.exp: Make sure we actually generate a core file
31557 before trying the core tests. Some systems allow the user to suppress
31558 generation of core files and default to that (linux for example).
31559 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
31560 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
31561
31562Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
31563
31564 * gdb.threads: New directory with some crude multi-threaded
31565 gdb tests (step.exp and step2.exp).
31566 * config/mt-lynx (STEP_EXECUTABLE): Define.
31567 (THREADFLAGS): Define.
31568
31569Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
31570
31571 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
31572
31573 * gdb.base/signals.exp: Disable whole file for lynx until
31574 further notice.
31575
31576 * gdb.base/signals.exp: xfail test where "next" acts like
31577 "continue" for lynx.
31578
31579 * gdb.base/interrupt.exp: xfail test for calling function while
31580 inferior is asleep for lynx.
31581
31582 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
31583 than one cr-lf after each command.
31584
31585Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31586
31587 * configure.in: Reinstate setting of stabsdirs variable, fix
31588 typo in setting up configdirs for native builds.
31589
31590 * gdb.base/return.exp: Fix typo in return double test.
31591 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
31592 compiler from optimizing them away.
31593
31594Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
31595
31596 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
31597 sequences to be echo'd by gdb when using gdb_test.
31598 * gdb.chill/chexp.exp: Likewise.
31599 * gdb.fortran/exprs.exp: Likewise
31600
31601Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
31602
31603 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
31604 after the inferior gdb has started.
31605
31606 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
31607 after each command.
31608 * gdb.base/funcargs.exp: Likewise.
31609 * gdb.base/gdbvars.exp: Likewise.
31610 * gdb.base/interrupt.exp: Likewise.
31611 * gdb.base/list.exp: Likewise.
31612 * gdb.base/watchpoint.exp: Likewise.
31613 * gdb.c++/demangle.exp: Likewise.
31614 * gdb.c++/inherit.exp: Likewise.
31615 * gdb.chill/chexp.exp: Likewise.
31616 * gdb.fortran/exprs.exp: Likewise.
31617
31618 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
31619 test if we can't handle IO to/from the inferior.
31620
31621 * gdb.c++/misc.exp: Always check for a program already being
31622 started after sending a "run" command to gdb.
31623
31624 * gdb.base/twice.exp: Start with a fresh gdb.
31625
31626 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
31627 only depend on gdb's expression code, not the chill runtime.
31628
31629 * gdb.base/return.c: Put return values into variables so we
31630 can have gdb print them rather than depending on the program
31631 to print them.
31632 * gdb.base/return.exp: Corresponding changes.
31633
31634 * lib/gdb.exp: Provide default value for noinferiorio.
31635 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
31636 the inferior.
31637
31638 * gdb.base/break.exp: Always check for a program already being
31639 started after sending a "run" command to gdb.
31640 (text_next_with_recursion): Don't check the output from the
31641 program's printf statement. Instead just make sure the program
31642 exited.
31643
31644 * gdb.base/commands.exp: Protect tests which need arguments with
31645 $noargs conditionals.
31646
31647Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31648
31649 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
31650 of structure member arrays to match gdb/valops.c:value_addr change.
31651
31652Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
31653
31654 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
31655 cases.
31656
31657Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
31658
31659 * configure.in (configdirs): Remove gdb.chill from default list
31660 of subdirs and then add it back in only if doing a native build.
31661 The current chill compiler does not yet work in any cross build.
31662 * Revert all signal changes from Jul 6.
31663 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
31664 for sh-hms targets, allowing these tests to link, with no other
31665 changes. Testing is suppressed by setting "nosignals" in site.exp.
31666
31667Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
31668
31669 * configure.in (signaldirs): Define and add to configdirs for all
31670 targets except some specific ones that are known to not support signals.
31671 Also clean up formatting.
31672 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
31673 (signals, sigall): Remove rules to build.
31674 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
31675 Moved to new gdb.signals directory.
31676 * gdb.signals: New test directory.
31677 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
31678 signals.c signals.exp}: New or moved files.
31679
31680Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
31681
31682 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
31683
31684Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
31685
31686 * gdb.base/return.exp: Xfail `return double' test failure
31687 on at least Solaris 2.3 and handle future/past versions on
31688 a case by case basis as appropriate. Also update message
31689 to include i*86 failures.
31690
31691Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31692
31693 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
31694
31695 * lib/gdb.exp: Fix comment which erroneously identified
31696 gdb_file_cmd as gdb_load (the 19 May change was in fact to
31697 gdb_file_cmd not gdb_load).
31698 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
31699
31700 * gdb.base/setvar.exp: Make test names consistent between pass and
31701 fail cases. Use gdb_test more.
31702
31703Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31704
31705 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
31706
31707Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31708
31709 * gdb.base/help.exp: Fix expected help string for `show commands'.
31710
31711Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
31712
31713 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
31714
31715 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
31716 of a text section.
31717
31718Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
31719
31720 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
31721 that loop eventually terminates. Fix Connection refused logic so
31722 that testsuite will expire nicely.
31723
31724Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
31725
31726 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
31727 config/rom68k.exp: New tcl glue for the appropriate monitors.
31728 These all just end up calling monitor.exp.
31729 * config/monitor.exp (gdb_target_monitor): Handle `Connection
31730 refused' by retrying. Cleanup some timeout issues.
31731 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
31732 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
31733 callers don't have to set/restore global timeout variable.
31734
31735 * The following set of changes centralizes management of the global
31736 timeout variable. This way, it can be set in one target dependent
31737 place instead of dozens of places scattered throughout the test suite.
31738 If you need to lengthen a timeout, then you should either set timeout
31739 in one of the config/{target}.exp files, or multiply it by a factor.
31740 Setting it to an absolute value is always going to lose for some
31741 targets.
31742 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
31743 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
31744 * gdb.base/funcargs.exp: Don't set timeout.
31745 * gdb.base/list.exp (test_forward_search): Only use local timeout.
31746 * gdb.base/printcmds.exp (test_print_string_constants
31747 test_print_array_constants): Don't set timeout.
31748 * gdb.base/ptype.exp: Don't set timeout.
31749 * gdb.base/recurse.exp: Don't set timeout.
31750 * gdb.base/return.exp: Don't set timeout.
31751 * gdb.base/watchpoint.exp: Don't set timeout.
31752 * gdb.c++/classes.exp (do_tests): Don't set timeout.
31753 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
31754
31755Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
31756
31757 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
31758
31759Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31760
31761 * lib/gdb.exp: Disable chill tests for irix5.
31762
31763Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31764
31765 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
31766 each test pass or fail.
31767
31768Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31769
31770 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
31771 xlc not gcc.
31772
31773Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
31774
31775 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
31776
31777Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
31778
31779 * config/est.exp: Fix copyright and comments. Remove dead code.
31780 Use targetname, serialport and baud variables instead of fixed
31781 constants.
31782 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
31783 * config/cpu32bug.exp: New file to support cpu32bug monitors.
31784
31785Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31786
31787 * gdb.base/watchpoint.exp: Don't run
31788 test_watchpoint_triggered_in_syscall for sunos.
31789
31790Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31791
31792 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
31793 they don't seem to exist. Do include stdio.h.
31794
31795Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31796
31797 * gdb.base/a1-selftest.exp: Add alpha xfail.
31798
31799Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31800
31801 * gdb.base/watchpoint.c (main): Prompt before calling read().
31802 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
31803 Revise accordingly. Remove cruft about sending "123" several
31804 times, until it gets noticed. Clean up the "print buf[0]" stuff
31805 so that it passes or fails, and waits for prompts in the usual way.
31806
31807Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31808
31809 * gdb.base/recurse.exp: Fix comment.
31810
31811 * TODO: Remove item about printing variables in nodebug.exp. Add
31812 item about enabling tests which are only run on some targets.
31813
31814 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
31815 fail, make test names unique, use new gdb_test convention
31816 regarding pattern, use gdb_test more, etc.).
31817
31818 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
31819 fail, make test names unique, etc.).
31820
31821Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31822
31823 * gdb.base/nodebug.c: Change return type of top and middle to
31824 short.
31825 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
31826 are fixed by the recent mdebugread.c changes. Allow `short ()'
31827 as type for top and middle.
31828
31829Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31830
31831 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
31832 nearly as I can tell, the whole thing was an accident in Stu's
31833 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
31834 to replace a send/expect pair with gdb_test, but ended up only
31835 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
31836 of 30 Mar 1995 took care of it, but left this vestigial comment
31837 which I am now nuking.
31838
31839Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31840
31841 * gdb.base/break.exp: Look for different line number for
31842 breakpoint at main depending on usestubs.
31843
31844Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31845
31846 * gdb.base/list.exp: Adjust some alternate expect patterns to
31847 match recent list0.c change. Add alternate expect pattern for
31848 output from `list default lines around main' for optimizing
31849 compilers.
31850
31851Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31852
31853 * lib/gdb.exp: If nosignals is not set, set it to 0.
31854
31855Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
31856
31857 * config/slite-gdb.exp: Responds to load symbol table prompt.
31858 * gdb.base/break.exp: Adjust line number, fix rerun.
31859 * gdb.base/langs0.c: Add #ifdef usestubs.
31860
31861Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
31862
31863 * gdb.base/list.exp: Adjust line contents after adding new lines in
31864 list0.c. Also fix a syntax error.
31865
31866 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
31867 * gdb.base/break.exp: ditto.
31868 * gdb.base/list.exp: ditto.
31869 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
31870 * gdb.base/run.c: ditto.
31871 * gdb.base/list0.c: ditto.
31872 * gdb.base/funcargs.c: ditto.
31873
31874Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
31875
31876 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
31877 $targetname, $serialport and $baud instead of hardwired variables.
31878 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
31879 target doesn't support signals.
31880
31881Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
31882
31883 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
31884
31885Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31886
31887 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
31888 Don't rely on the value of an auto variable before it has been
31889 initialized. Use gdb_test more.
31890
31891Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31892
31893 * lib/gdb.exp (default_gdb_version): A version number must start
31894 with a digit, but other than that contains all characters up to
31895 the first whitespace character.
31896
31897Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31898
31899 * gdb.base/commands.exp (breakpoint_command_test): New tests.
31900
31901Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31902
31903 * gdb.c++/*.exp: Warn if executable does not exist. The original
31904 reason for skipping the warning was that configure.in sometimes
31905 intentionally skipped building the executables but the tcl code
31906 had no way of knowing. That (a) was always bogus with respect to
31907 error handling, (b) is no longer true (right now there is no way
31908 to skip C++ tests).
31909
31910 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
31911
31912Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31913
31914 * gdb.base/list.exp: Add expect patterns for output from
31915 SunPRO compiled executables.
31916 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
31917 types.
31918
31919Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31920
31921 * gdb.base/break.exp (test_next_with_recursion): Accept any line
31922 number (we are already testing that the correct source line text
31923 gets printed).
31924
31925 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
31926 that is what is intended, but something needed to be done to get
31927 sunos4 native working again.
31928
31929 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
31930
31931 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
31932 apparently went with a (very) old xfail.
31933
31934Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
31935
31936 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
31937 runto_main is a proc in gdb.exp that will do 'step' for target use
31938 stubs.
31939 * gdb.base/exprs.exp: ditto.
31940 * gdb.base/interrupt.exp: ditto.
31941 * gdb.base/opaque.exp: ditto.
31942 * gdb.base/printcmds.exp: ditto.
31943 * gdb.base/ptype.exp: ditto.
31944 * gdb.base/scope.exp: ditto.
31945 * gdb.base/setvar.exp: ditto.
31946 * gdb.base/signals.exp: ditto.
31947 * gdb.base/twice.exp: ditto.
31948 * gdb.c++/classes.exp: ditto.
31949 * gdb.c++/inherit.exp: ditto.
31950 * gdb.c++/templates.exp: ditto.
31951 * gdb.base/break.exp: no run and hit main for stubs. Change line
31952 numbers for breakpoints and info breakpoint.
31953 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
31954 breakpoint().
31955 * gdb.base/callfuncs.c: ditto.
31956 * gdb.base/exprs: ditto.
31957 * gdb.base/interrupt.c: ditto.
31958 * gdb.base/opaque0.c: ditto.
31959 * gdb.base/printcmds.c: ditto.
31960 * gdb.base/ptype.c: ditto.
31961 * gdb.base/scope0.c: ditto.
31962 * gdb.base/setvar.c: ditto.
31963 * gdb.base/signals.c: ditto.
31964 * gdb.base/twice.c: ditto.
31965 * gdb.c++/misc.cc: ditto.
31966 * gdb.c++/templates.cc: ditto.
31967
31968Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31969
31970 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
31971
31972 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
31973 somewhere between `read' and `main.c'. I'm pretty sure the
31974 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
31975 and it isn't particularly useful.
31976
31977 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
31978
31979Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
31980
31981 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
31982
31983Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
31984
31985 * config/mt-slite: add LIBS and -nostdlib.
31986 * config/slite-gdb.exp: add this new file to support sparclite target.
31987
31988Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
31989
31990 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
31991
31992 * gdb.base/a2-run.exp: Change argument to istarget from
31993 "*-*-vxworks" to "*-*-vxworks*".
31994 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
31995
31996Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
31997
31998 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
31999 will not runto main but do a 'step' to step out of breakpoint().
32000 * config/mt-slite: add -Dusestubs.
32001
32002Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
32003
32004 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
32005 instead of just @.
32006
32007 * gdb.base/signals.exp: Add test for "handle all print".
32008 * TODO: Remove "handle all print". Also remove item about
32009 checking copyright date (I don't like the idea of a spurious FAIL
32010 based on when we run the tests).
32011
32012 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
32013 for SunOS4 (reason for failure not investigated). Remove
32014 redundant test for $binfile.
32015
32016 * gdb.base/nodebug.c (array_index): Call malloc.
32017
32018 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
32019
32020Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
32021
32022 * gdb.base/recurse.exp: Update gdb_test invocation to use new
32023 conventions and slightly simplify the matching regexp.
32024
32025Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
32026
32027 * gdb.base/break.exp: Update gdb_test invocation to use new
32028 convention.
32029
32030 * lib/gdb.exp: If noargs is not set, set it to 0.
32031
32032 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
32033 tests unique.
32034
32035 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
32036
32037Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
32038
32039 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
32040 one argument of type "<non-float parameter>".
32041
32042Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
32043
32044 * config/rom68k.exp: New file to support Motorola IDP board.
32045 * gdb.base/a2-run.exp: Skip this file if noargs is set.
32046 * gdb.base/break.c: Change things around so that this program
32047 doesn't depend upon args. This is necessary to make remote
32048 targets work (in general, they can't take args).
32049 * gdb.base/break.exp: Don't try to send args to program. Don't
32050 expect output. Also, replace lots of code with gdb_test.
32051
32052Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
32053
32054 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
32055 printing of '\'' (which is what the comment says we are testing,
32056 even though we were not), not '''.
32057 (test_integer_literals_rejected): Test that printing ''' is an error.
32058
32059 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
32060 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
32061 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
32062 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
32063 Use gdb_test not test_print_accept.
32064 * lib/gdb.exp: Remove test_print_accept.
32065
32066 * gdb.base/signals.exp (signal_tests_1): Make pass message
32067 consistent with fail message.
32068
32069 * gdb.base/whatis.exp: Remove xfails for printing char vs.
32070 unsigned char; the bug (PR 1821) is fixed.
32071
32072 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
32073
32074 * gdb.base/scope.exp (test_at_localscopes): Call pass for
32075 successful tests--makes xfailing them work right.
32076
32077Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
32078
32079 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
32080 only \r\n, not .*. The test can pass .* as the last thing in
32081 $pattern if that is what it wants. In addition to providing this
32082 flexibility, this change should speed up pattern matching in cases
32083 where the pattern already ended with .* (there were a number of
32084 them). This change also helps catch bad patterns--in the old
32085 scheme the typo "char \*" instead of "char \\*" would pass. Now
32086 it is caught.
32087 * Many .exp files: Update callers.
32088
32089 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
32090 clearer and does not spuriously match multiple ('s. Likewise for
32091 ) and *.
32092
32093 * gdb.base/nodebug.exp: Test ability to call a function and pass
32094 it a string (even with no debugging info).
32095
32096 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
32097 "p '\'", which is the same as "p ''" once tcl gets done with
32098 quoting, to "p '\\'", which I suspect is what is intended (one
32099 backslash gets sent to GDB).
32100
32101 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
32102
32103Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
32104
32105 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
32106 1817) was fixed literally years ago.
32107
32108Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32109
32110 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
32111 test, it causes stepping out of call_after_alloca_subr with
32112 optimizing compilers.
32113 (localvars_in_indirect_call): Consume GDB prompt if `finish'
32114 fails.
32115
32116 * gdb.c++/templates.exp: Source templ-info.exp only if
32117 the templates executable exists.
32118
32119 * gdb.c++/misc.cc (class Contains_static_instance,
32120 class Contains_nested_static_instance),
32121 gdb.c++/classes.exp (test_static_members): Test printing of
32122 a class that contains a static instance of the class.
32123
32124Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
32125
32126 * gdb.base/langs2.c (cppsub_): Don't prototype.
32127 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
32128 only, I believe).
32129
32130Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
32131
32132 * lib/gdb.exp (skip_chill_tests): New procedure.
32133
32134 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
32135
32136Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
32137
32138 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
32139 each expect pattern. Cuts runtime from 12 to about 4 seconds.
32140
32141Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
32142
32143 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
32144
32145 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
32146 disassemble 8, not 16, instructions for part 4.
32147
32148 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
32149 support the latter anymore.
32150
32151 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
32152 -DNO_PROTOTYPES.
32153 * gdb.base/callfuncs.c: Control use of prototypes based on
32154 NO_PROTOTYPES, not __STDC__.
32155 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
32156 t_float_values2 tests if prototypes in use.
32157
32158 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
32159 t_double_values): When checking differences against DELTA, check
32160 that difference is within the range (-DELTA,DELTA), not just
32161 (-infinity,DELTA).
32162
32163Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
32164
32165 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
32166 'file' command firts, then 'target', then 'load', this is due to gdb
32167 target set up.
32168 * config/mips-gdb.exp: Fix a couple regular exp bugs.
32169
32170Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
32171
32172 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
32173 FP load/store variants.
32174 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
32175
32176Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
32177
32178 * gdb.base/term.exp: Do not give a warning if not native, it is
32179 not an abnormal condition.
32180
32181Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
32182
32183 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
32184 t_char_array".
32185
32186Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
32187
32188 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
32189 are getting the version number.
32190
32191 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
32192 if not native, it is not an abnormal condition.
32193
32194Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
32195
32196 * lib/gdb.exp: Just use "file exists", rather than undocumented
32197 dejagnu procedure "findfile".
32198
32199Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
32200
32201 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
32202 (LDFLAGS): Set to -Xlinker -Ur.
32203
32204 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
32205 Removed, these values are set by lib/gdb.exp.
32206
32207 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
32208
32209Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
32210
32211 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
32212 of replicating gdb startup code.
32213
32214 * config/mt-vxworks (LDFLAGS): Set to -r.
32215 (CFLAGS_FOR_TARGET): Removed.
32216
32217 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
32218 (gdb) and gdb for vxworks uses (vxgdb).
32219
32220 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
32221 executable is not in the tree and host != target, use sed and
32222 program_transform_name to determine the gdb name used by the
32223 target.
32224
32225 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
32226 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
32227
32228Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
32229
32230 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
32231 floats, chars, and shorts where there are ANSI-style function
32232 definitions.
32233
32234 * gdb.base/langs.exp, gdb.base/langs*: New test.
32235 * gdb.base/Makefile.in: Build it.
32236 * TODO: Remove item about checking that C names don't get C++
32237 demangling applied; this test tests it.
32238
32239Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
32240
32241 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
32242 went with the const70 xfail. The xfail went away a year ago.
32243
32244 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
32245
32246 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
32247 for hp300.
32248
32249 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
32250
32251 * gdb.base/a1-selftest.exp: Don't run on hp300.
32252
32253Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
32254
32255 * Makefile.in (site.exp): Set host_alias and target_alias as well
32256 as host_triplet and target_triplet.
32257
32258Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
32259
32260 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
32261
32262 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
32263 places as other ecoff systems).
32264
32265 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
32266 ultrix.
32267
32268Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
32269
32270 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
32271 remove them.
32272 * gdb.base/nodebug.exp: Accept "function" in addition to "text
32273 variable and "variable" in addition to "data variable".
32274 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
32275
32276 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
32277 2.
32278 * gdb.base/list1.c (long_line): Add additional statement at start
32279 of function.
32280 * gdb.base/list.exp (test_forward_search): Update line number to
32281 reflect new statement.
32282
32283Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32284
32285 * gdb.base/signals.exp: Reinitialize searched source directories
32286 after gdb_start call.
32287
32288Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
32289
32290 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
32291 * gdb.stabs/Makefile.in: Likewise.
32292
32293 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
32294 change. Instead split the tests into smaller pieces.
32295 * gdb.disasm/hppa.s: Corresponding changes.
32296
32297Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
32298
32299 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
32300 Quote ^C when passing it to stty. For some shells ^ is a pipe.
32301
32302 * gdb.base/funcargs.exp: Modify many tests so that every test
32303 either passes or fails. Make some test names unique.
32304
32305Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
32306
32307 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
32308 Call stty to set interrupt character.
32309
32310 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
32311 for HP assembler versus GNU assembler based on actual behavior of
32312 $(CC), rather than assuming that $(AS) is always the GNU assembler.
32313
32314 * TODO: Suggest a few more stepping tests.
32315
32316Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
32317
32318 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
32319 restart GDB for h8300 after a continue.
32320 (return): Add pattern to match a29k-udi behavior.
32321 * gdb.base/nodebug.exp: Remove obsolete comment.
32322 * gdb.base/regs.exp: New file, testing of register displays.
32323 * gdb.base/return.exp: Fix typo in reference to $objdir.
32324 * gdb.base/whatis.exp: Always start with a fresh GDB.
32325
32326Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
32327
32328 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
32329 higher, these tests generate a lot of output.
32330
32331Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
32332
32333 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
32334 code following the catch silently ignored some errors; without the
32335 catch they should be thrown like any other tcl error. Also, the
32336 catch used "" instead of {} which meant all the callers who wanted
32337 to include one of the characters "[]$ had to quote it an extra time.
32338 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
32339 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
32340 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
32341 Remove extra quoting.
32342
32343Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
32344
32345 * gdb.base/commands.exp: Make test names unique; every test either
32346 passes or fails. Update some comments.
32347
32348 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
32349
32350Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
32351
32352 The following fixes a FAIL caused by the fact that the alpha stabs
32353 configuration didn't use the ".if alpha" code in weird.def.
32354 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
32355 bit pointer, so the 32 bit version works even on the alpha.
32356 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
32357 Remove the stuff which allowed us to have separate versions for
32358 alpha and everything else.
32359
32360 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
32361 regexp which "info func operator\[\](" is supposed to match. Fix
32362 string to send to GDB. Note that GDB still doesn't work right. Add a
32363 new test for "info func .perator\[\](" which GDB does handle correctly.
32364
32365 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
32366
32367Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
32368
32369 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
32370 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
32371 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
32372 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
32373 it makes the tests harder to understand and confuses test-o-matic.
32374 The preferred style is that each test provides a PASS or a FAIL,
32375 and has a unique message (e.g. "continue #54" not just "continue")
32376 which is the same for the pass and the fail.
32377 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
32378 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
32379 to lib/gdb.exp.
32380 * gdb.base/printcmds.exp: Use test_print_accept. Remove
32381 prt_accept which was basically the same thing. Likewise for
32382 test_print_reject and prt_reject.
32383 * lib/gdb.exp (test_print_reject): Add some more error message
32384 patterns to match from the former printcmds.exp (prt_reject).
32385 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
32386 One defect of the passcount stuff is that some of it failed to
32387 report XPASS where appropriate.
32388 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
32389 stuff before and after arg in expected pattern.
32390 (test_paddr_operator_functions): Re-do test without print_addr_of;
32391 this is the only test which seems to want extra stuff there.
32392
32393Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
32394
32395 * gdb.base/nodebug.exp: Update new tests to reflect improved
32396 wording of gdb output.
32397
32398 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
32399 and "ptype" work on variables in files compiled without -g.
32400 Replaces commented out "maint print msymbol" tests.
32401
32402Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
32403
32404 * gdb.base/setvar.c (dummy): Call malloc.
32405
32406 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
32407 losing with the irix4 sed.
32408
32409 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
32410 ALRM" on irix4.
32411
32412Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
32413
32414 * TODO: Remove items about corefile.exp testing new exec-file and
32415 backtrace; both are now done. Add items about printing enums.
32416
32417Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
32418
32419 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
32420 "get signal $thissig" test fails.
32421
32422 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
32423
32424Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
32425
32426 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
32427 compiler warning with dec alpha compiler.
32428
32429 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
32430 extra \n from gdb_test call (this explains why the prompt test
32431 that I removed yesterday was there).
32432 (user_defined_command_test): Remove extra \n and prompt test.
32433
32434 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
32435 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
32436 doesn't exist.
32437 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
32438 Also remove alpha workaround, which turns out to be because
32439 SIGABRT == SIGLOST.
32440
32441 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
32442
32443 * gdb.base/help.exp: Don't test "help show".
32444
32445Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
32446
32447 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
32448 "set print address" is on.
32449 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
32450 pass prompt to gdb_test; gdb_test already looks for the prompt.
32451
32452 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
32453
32454 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
32455 was a vestige of the manual TESTSTRATEGY, and the purpose of it
32456 was to make sure that gdb can read a core file. But (a) the "read
32457 the corefile" part didn't make it to a1-selftest.exp, we just
32458 delete the corefile after creating it, and (b) we test reading
32459 corefiles in corefile.exp anyway. Also, this test left around a
32460 xgdb process on Solaris.
32461
32462 * gdb.base/corefile.exp: Also test backtrace.
32463
32464Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
32465
32466 * gdb.base/commands.exp: Test a simple user defined command with
32467 arguments and if/while statements; verify the full user command is
32468 printed by "show user".
32469
32470 * gdb.base/commands.exp: Test if/while commands as part of a
32471 breakpoint command list; verify they appear in breakpoint
32472 information.
32473
32474Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
32475
32476 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
32477 than by dividing by zero.
32478
32479Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
32480
32481 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
32482 performing an inferior call with watchpoints enabled.
32483 * gdb.base/watchpoint.c (main): Delete second unnecessary read
32484 call.
32485
32486Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
32487
32488 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
32489 of "file" command.
32490
32491 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
32492 Add additional pattern for when "int operator int(void);" appears
32493 in a different order.
32494
32495Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
32496
32497 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
32498
32499 * gdb.base/help.exp: Replace most of docstrings for "info signals"
32500 and "signal" with ".*".
32501
32502Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
32503
32504 * TODO: Add note about "handle all nostop".
32505
32506 * gdb.base/{sigall.c, sigall.exp}: New test.
32507 * gdb.base/Makefile.in: Add it.
32508
32509Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
32510
32511 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
32512 when invoking GDB, suppresses any windowing interface.
32513
32514Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
32515
32516 * config/sim-gdb: New file, simulator testing support.
32517
32518Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
32519
32520 * gdb.base/interrupt.exp: Test calling func1 twice.
32521
32522Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
32523
32524 * gdb.base/list.exp (test_forward_search): Set timeout higher
32525 when we'll be getting lots of output from gdb.
32526
32527 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
32528 "init_malloc" to after the expect statement. Run it if that
32529 regexp is taken, but also for two others which happen if source
32530 cannot be found.
32531
32532Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32533
32534 * gdb.base/printcmds.exp: New test, for printing register before
32535 program is running.
32536
32537Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32538
32539 * gdb.base/list.exp: Correct some alternate expect patterns
32540 to reflect changes in list1.c.
32541
32542Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32543
32544 * TODO: Add item regarding large frames.
32545
32546 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
32547
32548 * TODO: Remove item about enabling return.exp; it
32549 is enabled. Suggest a few more "return" tests.
32550
32551Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32552
32553 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
32554 anonymous unions.
32555
32556Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32557
32558 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
32559 and pr-5646.o, so "make" is the same as "make all", not "make
32560 pr-4975.o".
32561
32562Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
32563
32564 * gdb.base/list.exp: Adjust expectations to reflect changes in
32565 list1.c.
32566 (test_forward_search): New test proc.
32567 * gdb.base/list1.c (long_line): New function, has long source line.
32568
32569Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
32570
32571 * gdb.base/a1-selftest.exp: Change initial stepping to know about
32572 additional line of code that was added.
32573
32574Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
32575
32576 * gdb.disasm/hppa.s: Break the large branching tests into smaller
32577 tests so as not to overflow expect's input buffers.
32578 * gdb.disasm/hppa.exp: Corresponding changes.
32579
32580Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32581
32582 Beginnings of template debugging tests.
32583 * gdb.c++/templ-info.cc: New file to test for template
32584 debugging capability of the compiler.
32585 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
32586 templ-info.cc.
32587 * gdb.c++/templates.cc: Add explicit template instantiations
32588 to enable compiling with -fno-implicit-templates. Add destructor
32589 and 'value' method to T5 class for template tests.
32590 * gdb.c++/templates.exp: Add testcases for printing of template
32591 types, setting breakpoints on template methods and calling a
32592 template method.
32593
32594Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
32595
32596 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
32597 branch target since some assemblers (gas-2.5) may emit a
32598 relocation for the branch instead of resolving it in the
32599 assembler.
32600
32601Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32602
32603 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
32604 through signal handler.
32605
32606Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
32607
32608 * configure.in (*-*-netware): Use config/mt-netware.
32609
32610 * config/mt-netware: New file.
32611 * config/mt-i386-netware: Removed, separate configs for different
32612 netware architectures are no longer needed now that we have
32613 --with-headers.
32614
32615Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32616
32617 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
32618 by the recent changes to use ANSI C arithmetic conversions.
32619
32620Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32621
32622 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
32623 bug involving using inferior_pid to figure out whether to select a
32624 frame.
32625
32626Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
32627
32628 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
32629 match the current disassembler output.
32630
32631Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
32632
32633 * gdb.fortran/exprs.exp: Expect VOID instead of void.
32634 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
32635 types, expect "int" as type of integer values (for now).
32636
32637Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
32638
32639 * gdb.base/commands.exp: New tests for if/while commands.
32640
32641Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
32642
32643 * lib/gdb.exp (runto): Replace sub-pattern for hex value
32644 by .*, since hex values have different syntax in Chill mode.
32645
32646Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32647
32648 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
32649 linefeed from expect pattern for repeated types with indices > 9.
32650
32651Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
32652
32653 First part of Fortran test suite.
32654 * gdb.fortran: New directory.
32655 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
32656
32657Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32658
32659 * gdb.base/default.exp: Update expect pattern for load command
32660 without arguments.
32661
32662Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
32663
32664 * configure.in: Change i386 to i[345]86.
32665 * gdb.base/configure.in: Likewise.
32666 * gdb.c++/configure.in: Likewise.
32667 * gdb.chill/configure.in: Likewise.
32668
32669Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
32670
32671 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
32672 patterns, since that is not a valid context for comments.
32673
32674Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
32675
32676 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
32677 repeated types and repeated types with indices > 9.
32678
32679Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
32680
32681 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
32682 2417; old bug has been fixed.
32683
32684Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
32685
32686 * gdb.base/interrupt.exp: When trying to wake up the inferior,
32687 send the newline ourselves instead of assuming gdb_test will do
32688 so when passed an empty input string.
32689
32690 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
32691 stabs testcode.
32692
32693Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
32694
32695 * lib/gdb.exp (gdb_test): Don't send anything if the first
32696 argument is an empty string. This makes cases where we want to
32697 match output that is already in expect's buffers (for example,
32698 matching a breakpoint after gdb_run_cmd has been called) work
32699 reliably.
32700
32701Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
32702
32703 * config/netware.exp: New file.
32704
32705Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
32706
32707 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
32708 the -B and -L prefixes so we can find the debugging stub.
32709
32710 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
32711 there and we are using the gcc from the tree.
32712
32713 * gdb.base/types.c: Removed.
32714
32715 * gdb.base/configure.in: Look for makefile fragments in ../config.
32716 Recognize i386-*-netware.
32717 * gdb.c++/configure.in: Likewise.
32718
32719Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32720
32721 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
32722 the correct TCL syntax.
32723
32724Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
32725
32726 * gdb.base/opaque.exp: use runto instead of messing around with
32727 breakpoints. Simplify by using gdb_test.
32728
32729 * gdb.base/bitfields.exp: restart between tests on netware targets
32730 because breakpoints aren't relocated after target death. Run
32731 processes to completion.
32732
32733 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
32734
32735Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
32736
32737 * Makefile.in: Remove extra tabs that confuse some versions
32738 of "make". Use the newly built gdb to test with by default,
32739 rather than the first one in the tester's search path.
32740
32741Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
32742
32743 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
32744
32745 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
32746 condition help.
32747
32748Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
32749
32750 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
32751
32752 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
32753 running.
32754 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
32755 * gdb.base/funcargs.exp: Likewise.
32756
32757 * gdb.base/bitfields.exp: Simplify by using gdb_test.
32758 * gdb.base/funcargs.exp: Likewise.
32759
32760 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
32761 message is "".
32762
32763Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
32764
32765 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
32766 return,signals,twice}.exp: Handle non-existant binaries
32767 consistantly.
32768
32769 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
32770 * gdb.base/Makefile.in: Don't try to generate a core dump, we
32771 might testing a cross development system.
32772
32773Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
32774
32775 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
32776 runtest script is relative to ${srcdir}, not ${rootdir}.
32777
32778Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
32779
32780 * gdb.base/signals.exp: Allow for optionality of breakpoint
32781 address.
32782
32783Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32784
32785 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
32786
32787Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
32788
32789 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
32790 for size_t definition.
32791 * gdb.c++/templates.cc: Likewise
32792
32793 * config/mt-i386-netware: New file.
32794
32795 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
32796 defined.
32797
32798 * gdb.base/Makefile.in: Added support for systems that name core
32799 files by appending "core" to the program name.
32800 * gdb.base/a1-selftest.exp: Likewise.
32801
32802Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32803
32804 * gdb.base/return.exp: Add comment and message for `return double'
32805 test failure on Sparc Solaris.
32806
32807Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
32808
32809 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
32810
32811Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32812
32813 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
32814 from optimizing them away.
32815 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
32816 patterns to include default constructors and assignment operators,
32817 to match gcc versions beyond 2.5.8. Accept any cplus demangling
32818 character in the output of the virtual base pointer.
32819
32820Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32821
32822 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
32823 expression match in print_addr_of to avoid unintented matches.
32824 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
32825 versions up to 2.5.8.
32826
32827Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32828
32829 * gdb.base/list.exp: Tweak alternate pattern for listing of an
32830 included file to run under newer versions of expect.
32831 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
32832 consecutive >'s in templates to accomodate recent cplus-dem.c change.
32833 Remove xfail for the virtual table of BDDHookV.
32834
32835Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
32836
32837 * lib/gdb.exp (string_to_regexp): Set a default result.
32838 (default_gdb_start): Fix misleading message.
32839
32840Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
32841
32842 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
32843 Remove all CC, etc definitions.
32844 * config/mt-hpux: New file.
32845 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
32846 (CFLAGS, LDFLAGS): Define.
32847 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
32848
32849 * Makefile.in (site.exp): Don't insert host_os, etc.
32850 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
32851 (distclean): Check existence of subdir.
32852 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
32853 * gdb.base/Makefile.in: General cleanup and simplification.
32854 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
32855 to build executables. Use default rule to build .o files.
32856 (EXPECT, RUNTEST, CC): Fix relative pathname.
32857 (site.exp): Don't insert host_os, etc.
32858 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
32859 and/or SIGUSR1 defined.
32860 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
32861 * gdb.c++/Makefile.in: General cleanup and simplification.
32862 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
32863 (CFLAGS): Remove.
32864 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
32865
32866Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
32867
32868 * gdb.base/recurse.exp: Misc changes to get tests running again
32869 after Kung's changes to the watchpoint code.
32870 * gdb.base/watchpoint.exp: Likewise.
32871
32872Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
32873
32874 * lib/gdb.exp (string_to_regexp): Convert {\} also.
32875
32876Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
32877
32878 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
32879 * lib/gdb.exp (default_gdb_start): Define.
32880 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
32881 gdb.base/funcargs.exp, gdb.base/opaque.exp,
32882 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
32883 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
32884 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
32885 Don't call gdb_target_udi in between tests.
32886
32887Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
32888
32889 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
32890 (which was basically just a local version of the same thing). In
32891 addition to avoiding duplication, gdb_test_exact is faster.
32892 * lib/gdb.exp (gdb_test_exact): Fix typo.
32893
32894 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
32895 don't give an error.
32896
32897 * gdb.base/term.exp: Call delete_breakpoints before starting.
32898
32899 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
32900 (t10): Add comment.
32901
32902Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
32903
32904 Reorganization of the GDB Test Suite.
32905
32906 * gdb.base: New directory, contains all the basic tests.
32907 * gdb.c++: New directory, tests specific to C++.
32908 * gdb.chill: New directory, tests specific to Chill.
32909 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
32910 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
32911 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
32912 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
32913 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
32914 t30-31 to chill).
32915 * */gdbme.*: Rename to match appropriate expect scripts.
32916 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
32917 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
32918 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
32919 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
32920 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
32921 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
32922 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
32923 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
32924 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
32925 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
32926 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
32927 gdb.c++/virtfunc.cc: New names of C++ files.
32928 * gdb.chill/chillvars.ch: New name of Chill file.
32929 * gdb.base/configure.in, gdb.c++/configure.in,
32930 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
32931 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
32932 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
32933 * configure.in (configdirs): Update to reflect directory changes.
32934 (target_abbrev): No longer define for any configuration.
32935 * Makefile.in: Cosmetic improvements to header comments.
32936
32937Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
32938
32939 Various changes to gdb.t31:
32940
32941 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
32942 * gdbme.ch: Make all key-words and predefineds be upper-case.
32943 * chillvars.exp: Expect key-words and predefinds in upper-case.
32944
32945 * chillvars.exp: Use gdb_test_exact many places.
32946 Change expected output for arrays (which now includes index labels).
32947
32948 * pr-5020.exp, gdme.ch (module PR_5020):
32949 New test, for PR-5020.
32950
32951Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
32952
32953 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
32954 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
32955
32956Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
32957
32958 * Makefile.in: Fix bit-rot in definitions of CHILL,
32959 CHILL_FOR_TARGET and Chill_LIB.
32960 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
32961 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
32962 CHILL, and CHILL_LIB.
32963
32964Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
32965
32966 * Revert the previous changes. Please see Rob's directory
32967 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
32968
32969Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
32970
32971 * Makefile.in, configure.in, config/mips-gdb.exp,
32972 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
32973 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
32974 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
32975 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
32976 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
32977 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
32978 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
32979 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
32980 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
32981 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
32982 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
32983 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
32984 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
32985 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
32986 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
32987 changes from 94Q1.
32988
32989Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
32990
32991 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
32992 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
32993 Rob's new testing fragments.
32994
32995Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
32996
32997 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
32998 lib/gdb.exp: Replace error proc calls with perror.
32999
33000Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
33001
33002 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
33003 version also, match on casted version strings, and match on
33004 gdb startup case where the line numbers might be messed up.
33005
33006Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
33007
33008 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
33009 (CFLAGS): Delete it from here.
33010
33011Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
33012
33013 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
33014
33015Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
33016
33017 * Makefile.in (RUNTEST): Default to just "runtest".
33018
33019Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
33020
33021 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
33022 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
33023 the code has been restructured.
33024
33025Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
33026
33027 * gdb.t00/default.exp (set write): Allow any number of \r and/or
33028 \n, not just one of each.
33029
33030 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
33031 /bin/cc gives a warning if you do.
33032
33033Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
33034
33035 * gdb.t24/demangle.exp: change expect pattern of
33036 __t10ListS_link1ZUiRCUiPT0
33037
33038Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
33039
33040 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
33041 on local variables in recursive functions.
33042
33043 * gdb.t07/Makefile.in: Build the new test.
33044
33045Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
33046
33047 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
33048 directly. Instead compare the return values from actual calls.
33049
33050Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
33051
33052 * Makefile.in (check): Set TCL_LIBRARY for runtest.
33053
33054Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
33055
33056 * From Peter Schauer with minor modifications.
33057 * gdb.t15/return.exp (return_tests): Handle targets where "return"
33058 stops in mid-line in the caller. Add xfail for returning a float
33059 value on X86 targets.
33060
33061Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
33062
33063 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
33064 to avoid expect lossage.
33065 (fmem_LRbug_tests): Likewise.
33066 * gdb.disasm/hppa.s: Corresponding changes.
33067
33068 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
33069 conditions to work with latest dejagnu/expect.
33070
33071 * gdb.t15/funcargs.exp (finish from indirect call): No longer
33072 expected to fail on the PA.
33073 (backtrace in call with trampolines): Explicitly require main
33074 to be frame #1 (no trampolines should show up in backtrace).
33075
33076 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
33077 "continue -expect".
33078 * gdb.t06/break.exp: Likewise.
33079 * gdb.t07/watchpoint.exp: Likewise.
33080 * gdb.t13/bitfields.exp: Likewise.
33081 * gdb.t15/{funcargs,return}.exp: Likewise.
33082 * gdb.stabs/weird.exp: Likewise.
33083 * config/{mips,udi}-gdb.exp: Likewise.
33084
33085 * hppa.sed: Enclose comments within a sed command to avoid
33086 losing with the old OSF1 sed.
33087
33088Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33089
33090 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
33091 sequent dynix.
33092 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
33093 * gdb.t15/funcargs.exp: Conditionally step again to really
33094 finish from marker_call_with_trampolines. Handle the case where
33095 the first step from within call_with_trampolines already steps
33096 us back to main.
33097 * gdb.t15/gdbme.c: Add comment to closing brace of
33098 call_with_trampolines for funcargs.exp.
33099
33100Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
33101
33102 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
33103 Fix typo(s).
33104
33105Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
33106
33107 * gdb.t07/gdbme.c: More code for watchpoint testing.
33108
33109 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
33110 "Hardware watchpoint" throughout file.
33111 (test_watchpoint_triggered_in_syscall): New test.
33112 (test_complex_watchpoint): New test.
33113
33114Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
33115
33116 * gdbme.c (call_with_trampolines): New function to try and step
33117 into. Tests trampoline problems on the PA.
33118
33119 * funcargs.exp (localvars_in_indirect_call): No longer expect
33120 stepping into indirect call to fail on PAs.
33121 (test_stepping_over_trampolines): New test.
33122
33123Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
33124
33125 * TODO: Add suggestions for static member function tests, and
33126 completion tests.
33127
33128Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
33129
33130 * TODO: Add suggestions for "p/a" tests.
33131
33132 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
33133 (default_gdb_exit): Replace all the hair with sending "quit" to
33134 the process with a simple close.
33135
33136Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
33137
33138 * TODO: Add suggestions for shared library tests.
33139
33140Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
33141
33142 * TODO: Add suggestions for x/s tests.
33143
33144Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
33145
33146 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
33147 "enable once", and "enable breakpoints once" with ".*".
33148
33149Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
33150
33151 * TODO: Add suggestions about structure passing tests.
33152
33153Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33154
33155 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
33156 the primary1 test, use work around if __GNUC__ < 2.
33157 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
33158 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
33159 Test for bad output rather than waiting for timeout. Issue
33160 second continue only if first continue failed.
33161
33162Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
33163
33164 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
33165 operator[] test with gdb_test because the old code didn't seem to
33166 be getting the quoting right with the new dejagnu.
33167
33168Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
33169
33170 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
33171 one from the path.
33172 * Makefile.in: Use a fresh expect if there is one, use runtest
33173 from the src tree if there is one.
33174
33175Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
33176
33177 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
33178 next over recursive call. Revise the tests from that point on
33179 (which had been skipped) to match GDB's actual (correct) output.
33180
33181 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
33182 with next over a breakpoint whose condition is false.
33183
33184 * gdb.t00/help.exp: Comment out "help set print" tests just like
33185 (and for same reason as) "help set" test.
33186
33187Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
33188
33189 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
33190 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
33191
33192Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
33193
33194 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
33195 necessary gdb_target_udi.
33196
33197 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
33198
33199 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
33200 1838 and 2417; they are fixed.
33201
33202 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
33203 gdb.t03/ptype.exp (ptype structure, ptype union):
33204 Remove xfails; the test is looser than when the xfails were added.
33205
33206 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
33207 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
33208
33209 * gdb.t01/run.exp: Only run shell test if isnative.
33210
33211 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
33212 since "run" automatically loads if necessary. Call gdb_target_udi
33213 after the "file" since "file" kills any execution target.
33214
33215 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
33216 GDB. GDB doesn't work that way (not anymore at least) on UDI.
33217 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
33218 argument for UDI.
33219
33220Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
33221
33222 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
33223
33224 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
33225
33226Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
33227
33228 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
33229 properly quoting regexps. This makes the second argument to
33230 demangle a fixed string, which matches the callers, instead of a
33231 shell-style pattern which is what the previous implementation
33232 used. Update some of the callers.
33233
33234Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
33235
33236 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
33237 (comib_nullified_tests): Fix typo.
33238 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
33239 strings. No longer expected to fail.
33240
33241 * gdb.disasm/hppa.s (addib_tests): Fix typo.
33242 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
33243 strings. No longer expected to fail.
33244
33245 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
33246 string. No longer expected to fail.
33247
33248Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
33249
33250 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
33251 No longer expected to fail.
33252
33253 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
33254 string. No longer expected to fail.
33255
33256Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
33257
33258 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
33259 only in the names (I probably got most of them). I was even
33260 generous with some which differed in underscores in names, and
33261 probably missed a few, and I *still* was able to remove almost a
33262 third of the file with almost no impact on testsuite coverage.
33263
33264Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
33265
33266 * gdb.t00/default.exp: Match udi_attach error message as well as
33267 the one from child_attach.
33268
33269 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
33270
33271 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
33272
33273 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
33274 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
33275
33276 * Move test with enums and partial symbols back to
33277 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
33278 Reverts the change of 26 May 93. Per today's change to
33279 stabs.texinfo, the behavior that weird.exp was expecting was
33280 unreasonable; what is important is that the compiler+gdb get
33281 things right, which happens with a recent gcc. Also fix the test
33282 to deal with native compilers which put out the stab gdb can't
33283 deal with.
33284
33285Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
33286
33287 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
33288 in the names. The main thing these accomplish is to slow things down.
33289 Many more such duplicates surely remain.
33290
33291 * gdb.t00/help.exp: Comment out "help support" test just like
33292 (and for same reason as) "help set" test.
33293
33294Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
33295
33296 * gdb.t06/break.exp: Remove setup_xfails for
33297 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
33298 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
33299 about known bug in gcc to include up through 2.5.8.
33300 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
33301 well as "_vb$".
33302 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
33303 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
33304 with latest gcc and gdb.
33305 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
33306 well as "_vb$".
33307
33308Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
33309
33310 * configure.in (hppa*-*-*): Also configure and build stabs-only
33311 tests.
33312
33313Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
33314
33315 * gdb.t10/hppa.mt: A makefile fragment for the PA.
33316 * gdb.t10/configure.in (hppa*-*-*): Use it.
33317
33318Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33319
33320 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
33321
33322Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33323
33324 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
33325 versions prior to 1.13.5.
33326
33327Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
33328
33329 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
33330 the prompt is at the start of a line.
33331
33332Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
33333
33334 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
33335 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
33336 in the copr tests now.
33337 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
33338 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
33339 expected to fail.
33340
33341Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
33342
33343 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
33344 gdb.t31/chillvars.exp, lib/gdb.exp:
33345 Tweak to run under either version of expect.
33346 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
33347 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
33348 * gdb.t11/list.exp: Remove extraneous whitespace.
33349
33350Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
33351
33352 * gdb.t16/printcmds.exp (test_print_strings): Accept
33353 "(unsigned char *) " before the string.
33354
33355 * TODO: Add notes about printing of fancy types and GDB expressions.
33356
33357Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
33358
33359 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
33360 * gdb.t06/configure.in: Don't try to compile signals test program
33361 if doing mips-idt-ecoff.
33362
33363Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
33364
33365 * Most .exp files: Tweak to run under either version of expect.
33366
33367Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
33368
33369 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
33370 xfails; I'm not sure why they are failing, but not because of PR 1806.
33371
33372Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
33373
33374 * config/unix-gdb.exp: Remove gdb_unload cause it's already
33375 defined in lib/gdb.exp.
33376
33377Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33378
33379 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
33380 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
33381 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
33382 have to be typeless.
33383
33384Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
33385
33386 * TODO: Add suggestion for copyright year test.
33387
33388Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
33389
33390 * configure.in (*-*-lynxos*): Add stabs tests.
33391
33392Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
33393
33394 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
33395 so insert a tab before any assembler directive in column zero.
33396
33397 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
33398 stores.
33399 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
33400 stores.
33401 (fpu_short_memory_tests): Likewise.
33402
33403Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33404
33405 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
33406 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
33407 .stabs directives in comments.
33408
33409Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33410
33411 * TODO: New file, describing tests we could write.
33412 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
33413
33414Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33415
33416 * gdb.t06/signals.exp: Add kludge to force re-sync.
33417
33418 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
33419 to xgdb instead of gdb, get out of gdb.
33420
33421Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
33422
33423 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
33424 for info.
33425
33426Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
33427
33428 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
33429 * gdb.stabs/configure.in (hppa*-*-*): Use it.
33430 * gdb.stabs/hppa.sed: New sed script for the PA.
33431
33432Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33433
33434 * gdb.stabs: Re-write weird.def and configuration to use sed
33435 instead of cpp. sed is portable and POSIX; cpp is neither.
33436
33437Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33438
33439 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
33440
33441Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33442
33443 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
33444
33445Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33446
33447 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
33448 "_vb$".
33449 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
33450 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
33451
33452Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33453
33454 * lib/gdb.exp: Comment out code which depends on non-existent
33455 `transform' procedure.
33456
33457Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
33458
33459 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
33460 * lib/gdb.exp: Transform tool name.
33461 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
33462 1.1's new error handling system.
33463
33464Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33465
33466 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
33467
33468Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33469
33470 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
33471 They made pattern matching so slow that timeouts happened on
33472 heavily loaded systems. Now any output from "show print" which
33473 gets us back to the GDB prompt is a PASS.
33474
33475Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
33476
33477 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
33478
33479Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33480
33481 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
33482
33483 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
33484 It is not from PR 3220.
33485
33486Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33487
33488 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
33489 just started failing because they depended on the order the
33490 subcommands are presented, or exact docstring text. This kind of
33491 test is a pain and has minimal benefit.
33492
33493Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33494
33495 * gdb.t09/corefile.exp: At end of test, use "core" command with
33496 no arguments.
33497
33498Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
33499
33500 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
33501 17}/Makefile.in: Make it possible to run the testsuite with Sun
33502 make and CC = cross gcc by adding explicit build rules for .o
33503 files.
33504
33505Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33506
33507 * gdb.t15/funcargs.exp: Don't put comments on same line as
33508 setup_xfail (@#$*%& tcl braindamage!).
33509
33510Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33511
33512 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
33513
33514Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
33515
33516 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
33517 * gdb.t20/inherit.exp: remove three dumplicate entries.
33518
33519Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33520
33521 * gdb.t06/break.exp: For "next over recursive call", fail on any
33522 incorrect output, not just on "factorial (value=2)".
33523
33524Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33525
33526 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
33527 working now. Add an xfail if accesing a bss variable causes
33528 a memory error if the target is not yet run.
33529
33530Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33531
33532 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
33533 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
33534 name of __st* demangling (2 strings). Did Kung really get the
33535 more than 95 others right without testing them?
33536
33537Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
33538
33539 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
33540
33541Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
33542
33543 * configure.in (configdirs): Add gdb.disasm
33544 * gdb.disasm: New directory for GDB disassembler tests.
33545 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
33546
33547Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33548
33549 * gdb.t00/help.exp: Don't test "help set".
33550
33551 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
33552 from within expect statements. None of these happen anymore and
33553 they cause regressions to be silently unnoticed.
33554
33555 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
33556 messages) about known failures with gcc cygnus-2.4.5-930417.
33557
33558 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
33559 comp-info.exp so it gets built if it doesn't exist.
33560
33561 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
33562 it is no longer used.
33563 * gdb.t13/comp-info.c: Removed.
33564
33565Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
33566
33567 * gdb.t06/signals.exp: Add xfail for sun3.
33568
33569Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33570
33571 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
33572 relevant because ^C doesn't get sent but failure can be reproduced
33573 interactively).
33574
33575Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33576
33577 * gdb.stabs/alpha.mt: New configuration file for alpha.
33578 * gdb.stabs/configure.in: Use it.
33579 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
33580 sharing with alpha.mt, redefine long to word via preprocessor.
33581 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
33582 for alpha.
33583 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
33584 native cc.
33585 * gdb.t00/teststrategy.exp: Change expect string so that we
33586 consume the `(xgdb)' from the command echo and from the gdb prompt.
33587 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
33588 gdb currently compares all values as long, so this failure probably
33589 applies to any configuration where LONGEST is bigger than a target int.
33590 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
33591 with gcc.
33592 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
33593 to handle opaque pointers, gcc is.
33594 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
33595 as first argument. Include <sys/types.h> and change all operator
33596 new definitions to use size_t.
33597 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
33598 now that we use size_t.
33599
33600Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33601
33602 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
33603 a long or float array cast all array members to the same type.
33604 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
33605 with 64 bit longs.
33606 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
33607 on alpha.
33608 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
33609
33610Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33611
33612 * gdb.t24 (demangle.exp): Constructors of templates have names like
33613 vector<int>::vector(int) not vector<int>::vector<int>(int). See
33614 section 14.6 of the ARM.
33615
33616 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
33617 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
33618 accomplish little and slow down the testsuite.
33619
33620 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
33621 Accept spaces various places.
33622
33623Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33624
33625 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
33626 with watchpoint enabled.
33627
33628 * Makefile.in: Remove definition of CC and remove the second
33629 definition of CXX (the "CXX = gcc" one remains). These definitions
33630 were causing backquotes to be expanded within backquotes, which
33631 doesn't work.
33632
33633Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
33634
33635 * gdb.t17/callfuncs.exp: Add "return 0" to end.
33636
33637Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33638
33639 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
33640 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
33641 by mips cc and contains no stabs entries.
33642
33643Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
33644
33645 * config/vx-gdb.exp: Use fake device to load files rather than
33646 NFS.
33647 * lib/gdb.exp: New proc to do "file" command.
33648 * config/unix-gdb.exp: Use new "file" proc.
33649
33650Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
33651
33652 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
33653 Rework board rebooting slightly.
33654 (gdb_exit): Don't exit from the remote shell; there isn't one.
33655 * gdb.stabs/weird.exp: If a program is being debugged already,
33656 kill it.
33657 * gdb.t04/setvar.exp: Stop and restart gdb.
33658 * gdb.t05/expr.exp: Likewise.
33659 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
33660 restart gdb and reload the program.
33661 * gdb.t08/opaque.exp: Likewise.
33662 * gdb.t12/scope.exp: Likewise.
33663 * gdb.t13/bitfields.exp: Likewise.
33664 * gdb.t15/funcargs.exp: Likewise.
33665 * gdb.t20/classes.exp: Likewise.
33666 * gdb.t03/ptype.exp: Increase timeout.
33667 * gdb.t16/printcmds.exp (test_print_string_constants,
33668 test_print_array_constants): Likewise.
33669 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
33670 * gdb.t20/classes.exp (do_tests): Likewise.
33671 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
33672
33673Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
33674
33675 * gdb.stabs: Renamed *wierd* to *weird*.
33676
33677Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
33678
33679 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
33680 for timeout. Add "known gcc 2.4.5 bug" to failure message.
33681
33682Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
33683
33684 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
33685 (do_tests): Remove xfail for whatis on one_var and two_var.
33686
33687Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
33688
33689 * Makefile.in: Made cross building work better by adding
33690 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
33691
33692Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33693
33694 * gdb.t15/{return.c,return.exp,Makefile.in}:
33695 New test, currently commented out.
33696
33697Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
33698
33699 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
33700 still running and removes the leftover named socket so GDb can do
33701 clean restarts.
33702
33703Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
33704
33705 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
33706 console, not GDB.
33707 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
33708 cross testing works better with "make check"
33709 * config/unix-gdb: Use default procedures for exit and version.
33710 * config/vx-gdb.exp: Cleaned up and massaged back to working order
33711 with the newest VxWorks.
33712
33713Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33714
33715 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
33716 old form.
33717
33718 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
33719 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
33720
33721 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
33722
33723 * config/unix-gdb.exp: Remove this version of gdb_exit
33724 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
33725 Rob says he'll look at it when he gets back to testing boards.
33726
33727Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
33728
33729 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
33730 an expected fail for certain ptype commands.
33731
33732 * gdb.t20/classes.exp: Update expected results of "ptype class
33733 Base1" to account for the constructor that now appears in the type.
33734
33735Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
33736
33737 * configure.in (configdirs): Restore gdb.t04, which mysteriously
33738 disappeared from list.
33739 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
33740 "alldone" proc with call to cleanup and exit.
33741 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
33742 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
33743 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
33744 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
33745 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
33746 "alldone" proc with simple returns that suppress remaining
33747 tests. The alldone proc went away many months ago.
33748
33749Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33750
33751 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
33752
33753 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
33754
33755Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33756
33757 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
33758 as vax gdb will display them.
33759
33760Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33761
33762 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
33763 optimizers.
33764
33765 * scope.exp: Change "bad value for localval" messages so each one
33766 is unique.
33767
33768 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
33769 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
33770
33771 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
33772
33773Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33774
33775 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
33776 doesn't exist (due to optimization).
33777
33778Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33779
33780 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
33781 contains \r because the filename is long.
33782
33783 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
33784 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
33785
33786Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33787
33788 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
33789 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
33790 Ultrix.
33791 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
33792 int tests.
33793 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
33794
33795Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
33796
33797 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
33798
33799 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
33800 to match does not match the passing case but still matches the
33801 failing case.
33802
33803Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33804
33805 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
33806
33807Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
33808
33809 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
33810 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
33811 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
33812 Remove various versions of gdb_exit.
33813 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
33814 gdb_exit.
33815 * config/unix-gdb.exp: gdb_exit remains here, and should override
33816 the generic version, since it's doing a lot of wierd stuff that
33817 the other versions aren't. FIXME, fold it in, or abandon this
33818 version.
33819
33820Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33821
33822 * gdb.t24/demangle.exp: Add tests for PR 3220.
33823
33824Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33825
33826 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
33827
33828Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
33829
33830 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
33831 "i386-*-*". Works for i486 as well.
33832
33833 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
33834 bug, and expand domain of xfail to all SVR4 systems, since the
33835 actual problem is likely to be in generic SVR4 /proc support.
33836
33837Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33838
33839 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
33840
33841Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
33842
33843 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
33844 xfails for other systems. Match a missing 'Continuing.' as an
33845 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
33846
33847 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
33848 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
33849 Only issue warning for missing executables if -all option is used.
33850
33851 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
33852 file if -all option is used. It's like an unpredictable XFAIL.
33853
33854Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33855
33856 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
33857 for dynamically linked binaries.
33858
33859 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
33860
33861Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33862
33863 * gdb.t20/inherit.exp: Change message for "print tagless struct"
33864 to state that this is a known bug in old versions of g++.
33865
33866Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33867
33868 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
33869 while waiting for `Continuing'.
33870
33871Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
33872
33873 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
33874 in text, data, and bss.
33875 * gdb.t10/nodebug.c: Add local and global test variables for
33876 initialized and uninitialized data.
33877
33878Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33879
33880 * config/unix-gdb.exp (gdb_exit): Add "wait".
33881
33882Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33883
33884 * gdb.t06/signals.exp: xfail the continue from the handler for all
33885 targets.
33886
33887 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
33888 function with watchpoints enabled, the i386 call dummy starts with
33889 a call.
33890
33891 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
33892 386 bsd names its corefiles.
33893
33894Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
33895
33896 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
33897 compilers don't grok it.
33898 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
33899 with small octal ints rather than character constants, which
33900 are signed and might not fit if first promoted to int.
33901
33902Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
33903
33904 * gdb.t09/Makefile.in (clean): Remove corefile.
33905
33906Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33907
33908 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
33909
33910Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33911 and Jim Kingdon (kingdon@cygnus.com)
33912
33913 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
33914 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
33915 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
33916
33917Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33918
33919 * gdb.t17/interrupt.exp: Add xfail for hppa.
33920
33921Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33922
33923 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
33924 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
33925 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
33926 to determine signed-ness of bitfields and use the result to setup
33927 the xfail.
33928 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
33929 * gdb.t15/funcargs.exp: Use them to step until the second indirect
33930 call line is reached if necessary.
33931
33932Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33933
33934 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
33935
33936Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33937
33938 * gdb.t06/break.exp: Also test `clear' command.
33939
33940Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
33941
33942 * gdb.t00/teststrategy.exp: Remove extra quote.
33943
33944 * gdb.t07/watchpoint.exp: Change xfail for calling function with
33945 watchpoint enabled to be for all non-68k machines.
33946
33947 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
33948
33949Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33950
33951 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
33952 targets use aout.mt instead of ecoff.mt as gas understands
33953 standard aout format.
33954
33955Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
33956
33957 * lib/gdb.exp (runto): Don't insist that function we are running to
33958 was compiled with -g.
33959
33960 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
33961
33962 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
33963 to get back into the read system call.
33964 Accept leading newline in case where we woke it up.
33965
33966Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33967
33968 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
33969 to make the stabs test work on ecoff systems using gcc and -with-stabs.
33970 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
33971 enable ecoff configuration.
33972
33973Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33974
33975 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
33976
33977Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33978
33979 * gdb.t16/printcmds.exp: Add another printf test.
33980
33981Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
33982
33983 * configure.in: If configured -with-stabs on any target, add
33984 stabsdirs to configdirs.
33985
33986Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33987
33988 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
33989 fun" so pattern does not match the command itself.
33990
33991Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33992
33993 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
33994
33995Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
33996
33997 * gdb.t17/interrupt.exp: Test for more things.
33998
33999Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
34000
34001 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
34002 compiler arranges the code and line numbers.
34003
34004 * gdb.t17/interrupt.exp: Don't send \n after ^C.
34005
34006Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
34007
34008 * gdb.t00/help.exp: Increase expect input buffer size.
34009
34010Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
34011
34012 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
34013
34014 * gdb.t07/watchpoint.exp: Add xfail for hppa.
34015
34016 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
34017
34018 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
34019 [0-9]*, not just [0-9].
34020
34021Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
34022
34023 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
34024
34025 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
34026
34027Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
34028
34029 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
34030
34031Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
34032
34033 * gdb.t06/signals.c: Add xfails for sun3.
34034
34035 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
34036
34037 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
34038 test_stepping tests.
34039
34040Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
34041
34042 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
34043
34044 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
34045
34046 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
34047 rather than actually putting it through cpp twice.
34048
34049 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
34050
34051Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
34052
34053 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
34054 no longer needed.
34055
34056Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
34057
34058 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
34059
34060 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
34061 C++ features prints as "struct", make it a pass, not an xfail.
34062
34063Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
34064
34065 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
34066 Don't require VA to print as "class" rather than "struct".
34067
34068Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
34069
34070 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
34071
34072Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
34073
34074 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
34075
34076Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
34077
34078 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
34079 order.
34080
34081Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
34082
34083 * gdb.t16/printcmds.exp: Add printf tests.
34084
34085 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
34086
34087 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
34088
34089Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
34090
34091 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
34092 pass counts, to counteract any existing or future setup_xfails.
34093
34094Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
34095
34096 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
34097 {BEGIN,END}_COMMON for common block instead of STAB.
34098 * gdb.stabs/wierd.exp: Add xfail for rs6000.
34099
34100 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
34101 intp_var should be N_GSYM not N_LSYM.
34102 wierd-aout.S: Use a label for the value of the N_SO.
34103 wierd.def: Remove all backslashes.
34104 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
34105
34106Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
34107
34108 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
34109 get the expected next to inheritance3.
34110
34111Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
34112
34113 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
34114 now that gcc-2.4 gets it right.
34115
34116Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
34117
34118 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
34119
34120 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
34121 generating comp-info.exp which works for cross-compilation.
34122
34123Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
34124
34125 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
34126 "*-*-sysv4.*".
34127
34128Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
34129
34130 * gdb.t01/run.exp: Start with a fresh gdb.
34131 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
34132 SVR4.x.
34133
34134Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
34135
34136 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
34137 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
34138 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
34139 Makefile.in (distclean, realclean): Remove gdbme.c from list of
34140 things to remove.
34141
34142Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
34143
34144 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
34145 test cases from bug reports.
34146
34147Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
34148
34149 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
34150 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
34151 avoid spurious xfails.
34152 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
34153 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
34154 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
34155
34156Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
34157
34158 * gdb.t00/teststrategy.exp: Rework to provide more useful
34159 description of each test, fix problem with systems that define
34160 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
34161 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
34162 results for "next over recursive call" so timeouts aren't taken
34163 by error.
34164
34165Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
34166
34167 * gdb.t12/scope.exp: Test printing of variables before run.
34168
34169 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
34170 printed in wrong order due to sorting.
34171
34172Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
34173
34174 * gdb.t00/teststrategy.exp: Fix expected results for printing
34175 user entered string constant. Is array of char, prints with no
34176 address.
34177
34178 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
34179 commands.
34180 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
34181 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
34182 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
34183 of struct of char arrays.
34184 * gdb.t00/radix.exp: New tests for radix commands.
34185
34186Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
34187
34188 * gdb.t16/printcmd.exp: Print a variable before running program
34189 (with xfail for AIX).
34190
34191Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
34192
34193 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
34194
34195 * gdb.t16/printcmd.exp: Don't print variables before running program.
34196
34197 * gdb.t06/break.exp: Don't require envp argument to main.
34198
34199 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
34200
34201 * gdb.t02/whatis.exp, gdb.t11/list.exp:
34202 Add xfails for rs6000.
34203
34204 * gdb.t02/whatis.exp: Change other tests not to re-test something
34205 we already tested.
34206
34207 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
34208 each type used has a variable of that type.
34209
34210Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
34211
34212 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
34213
34214Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
34215
34216 * configure.in: change srctrigger to be a file, not a directory
34217
34218Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
34219
34220 * configure.in (mips-idt-ecoff*): Added trailing '*'.
34221
34222 * gdb.t11/list.exp: Fixed a couple of typos.
34223
34224Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
34225
34226 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
34227 is fixed and PR is closed.
34228 * gdb.t16 (gdbme.c): Add simple test string variable.
34229 * gdb.t16 (printcmds.exp): Add tests with simple test string
34230 variable, primarily for boundaries on "set print elements".
34231
34232Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
34233
34234 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
34235 Make leading 0's optional and don't expect a tab in the middle
34236 of the number.
34237
34238 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
34239
34240 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
34241 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
34242 don't end command passed to gdb_test with newline.
34243
34244 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
34245 signed keyword away, don't expect signed bitfields to be signed.
34246
34247 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
34248 printing with only as many 1's as are in the field as well as printing
34249 with 32 1's (see comment).
34250
34251Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
34252
34253 * gdb.t00/default.exp: Start with a fresh gdb.
34254 * configure.in (configdirs): Remove gdb.t31 until the chill
34255 compiler works again. It no longer is able to find chillrt0
34256 since it isn't in libchill.a anymore.
34257 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
34258 wierd.o, make more modular.
34259 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
34260 spurious newlines that caused problems.
34261
34262Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
34263
34264 * Move test with enums and partial symbols from gdb.t03/ptype.exp
34265 to gdb.stabs/wierd.exp since GCC has worked around the bug.
34266 gdb.stabs/wierd.{exp,def}: Many new tests.
34267
34268 * gdb.t00/default.exp: update info line for new message.
34269
34270 * gdb.t02/{whatis.exp,gdbme.c}:
34271 Test that "char *" doesn't print as "caddr_t".
34272
34273Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
34274
34275 * gdb.t00/help.exp: Use .* in place of some help messages which
34276 just changed.
34277 gdb.t00/default.exp: Update "info frame" test for new message.
34278 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
34279 Remove some xfails
34280
34281Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
34282
34283 * gdb.t03/{gdbme.c,ptype.exp}:
34284 Add tests for typedef'd struct and union without tags.
34285 Also check "whatis" on a variable of a typedef'd enum without a tag.
34286
34287 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
34288 PRMS 1823; the bug still exists but isn't reproduced by this test
34289 anymore), and remove rs6000 XFAIL (the bug is fixed).
34290
34291 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
34292 duplicated from whatis.exp. For those that are left, accept
34293 "long", "long int", or "int" for long variables (whatis.exp already
34294 has an XFAIL for "int", so no need to fail it here).
34295
34296 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
34297 Deal with GCC's names for types now that GDB uses the compiler's names.
34298
34299 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
34300 setup_xfail's for sunos4. If we #defined the signed keyword away,
34301 don't expect GDB to know that char it is signed.
34302
34303 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
34304
34305Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
34306
34307 * configure.in (configdirs): Add gdb.t24 for C++ tests that
34308 should work on any system, regardless of debugging format.
34309 * gdb.t21/demangle.exp: Move to gdb.t24.
34310 * gdb.t24/demangle.exp: Move from gdb.t21.
34311 * gdb.t24/{Makefile.in, configure.in}: New files.
34312
34313Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
34314
34315 * configure.in: Do gdb.stabs and C++ tests only for stabs.
34316 * gdb.stabs: New directory.
34317
34318Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
34319
34320 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
34321 not just "Quit anyway?".
34322
34323Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
34324
34325 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
34326 that all setup_xfails are immediately followed by clear_xfails.
34327
34328Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
34329
34330 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
34331 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
34332 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
34333 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
34334 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
34335 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
34336 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
34337 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
34338 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
34339 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
34340 gdb.t31/chillvars.exp, lib/gdb.exp:
34341 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
34342 bug-gdb@prep.ai.mit.edu.
34343
34344Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
34345
34346 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
34347 with 0.0, not integer 0.
34348
34349Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
34350
34351 * gdb.t06/break.exp: Update for "Kill the program" message change.
34352
34353Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
34354
34355 * Makefile.in (GDBFLAGS): Set to -nx.
34356 * Makefile.in (site.exp): Use GDBFLAGS.
34357
34358Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
34359
34360 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
34361 Makefiles.
34362 (check): depend on just-check.
34363 (just-check): added so that tests can be run without a noop
34364 build pass.
34365
34366Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
34367
34368 Switch to using configure's configdirs.
34369 * Makefile.in (Makefile): add configure.in dependency.
34370 (SUBDIRS): removed redundant assignment.
34371 * configure.in: switch subdirs assignment to configdirs.
34372 * gdb.t*/configure.in: new files.
34373
34374Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
34375
34376 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
34377 works.
34378
34379Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
34380
34381 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
34382 in explicit rules. Apparently this is not supported by some makes.
34383
34384Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
34385
34386 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
34387
34388Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
34389
34390 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
34391 disappeared.
34392
34393Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
34394
34395 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
34396
34397Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
34398
34399 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
34400 watchpoint problem that is now fixed.
34401 * gdb.t30/chexp.exp: Remove setup_xfail for printing
34402 uninitialized convenience variables.
34403 * gdb.t31/chillvars.exp: Fix expected patterns for printing
34404 structures.
34405
34406Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
34407
34408 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
34409 which causes expect to get out of sync with gdb on long output
34410 from help set.
34411 * gdb.t09/corefile.exp: Make expected pattern for core file
34412 failing signal and frame output format less sun specific.
34413
34414Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
34415
34416 * gdb.t31/chillvars.exp: Add and remove initial dummy
34417 breakpoint, so that symbol table is forced in.
34418 (Needed at least on Sunos4, though it seems not SVR4.)
34419 * gdb.t31/chillvars.exp: Update for changed output format.
34420
34421Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
34422
34423 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
34424
34425Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
34426
34427 * Makefile.in: Added --srcdir when invoking runtest, removed the
34428 need for a local config file. (optional now)
34429
34430Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
34431
34432 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
34433 failure count used to force early termination. Add some more
34434 expected failures for gnu style demangling.
34435
34436Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
34437
34438 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
34439 pmi variable from gdb.t20/gdbme to get optimized away.
34440 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
34441 Check for written corefile upon timeout _and_ eof.
34442
34443Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
34444
34445 * config/unix-gdb.exp: Add missing return 0.
34446
34447Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
34448
34449 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
34450 test termination.
34451
34452Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
34453
34454 * configure.in (subdirs): Put back gdb.t17 which mysteriously
34455 disappeared.
34456
34457Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
34458
34459 * gdb.t10/crossload.exp: Disable the i860-elf test until such
34460 time as i860 support works.
34461
34462 * gdb.t15/funcargs.exp: Fix expected outputs to include
34463 "backtrace 100\r" rather than just "backtrace\r", to match last
34464 change.
34465
34466Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
34467
34468 * config/udi-gdb.exp (gdb_exit): Remove close command.
34469 (gdb_target_udi): New procedure to set the UDI target.
34470 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
34471 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
34472 Added waits for prompts after several question responses. Added
34473 some more responses used by a29k-amd-udi-gdb.
34474 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
34475 pass different arguments, restart UDI connection after program
34476 completion.
34477 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
34478 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
34479 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
34480 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
34481 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
34482 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
34483 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
34484 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
34485 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
34486 after program completion.
34487 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
34488 compiled with a SELECT_VECS setting.
34489 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
34490 infinite recursion.
34491
34492 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
34493 Added checks for COFF results, and made them expected failures for
34494 all targets. It would be better to make them expected failures
34495 for COFF targets only.
34496
34497Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
34498
34499 * Makefile.in: add null dvi target, don't bother to recurse
34500 through test directories for info and install-info; rename
34501 $(datadir) to be dejagnu instead of deja-gnu
34502
34503Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
34504
34505 * gdb.t31/gdbme.ch: Re-enable code that previously caused
34506 compiler to coredump.
34507 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
34508 code.
34509
34510Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
34511
34512 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
34513 coredump.
34514 * gdb.t31/chillvars.exp: Comment out tests that depend on that
34515 code.
34516
34517Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
34518
34519 * gdb.t03/ptype.exp: tests for return code from gdb_test.
34520 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
34521 which in a shell. Deletes xgdb when done.
34522 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
34523 Tests the return from the "set height" or "set width" commands.
34524 Added a few return codes where needed.
34525
34526Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
34527
34528 * Makefile.in (SUBDIRS): Add gdb.t17.
34529 * configure.in (subdirs): Add gdb.t17.
34530 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
34531 files to test gdb's calling of functions in the inferior with
34532 the correct arguments and gdb's ability to retrieve any
34533 result returned.
34534
34535Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
34536
34537 * config/unix-gdb.exp (gdb_exit): Remove close commands that
34538 may be called after gdb goes away. Previous versions of expect
34539 needed these to avoid file descriptor leaks, but they cause
34540 errors with the current revision of expect.
34541 * gdb.t00/gdbvars.exp: Use -re on expected output after
34542 setting sevenbit-strings.
34543 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
34544 to set sevenbit-strings consistent across tests.
34545 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
34546 set sevenbit-strings consistent across tests.
34547
34548Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
34549
34550 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
34551 expected output to match current "expect" expectations.
34552
34553Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
34554
34555 * gdb.t00/default.exp: Change expected output for default "source"
34556 command, to match new gdb behavior which requires a filename to
34557 source.
34558
34559Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
34560
34561 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
34562 expected fail for i486-*-* that misses the marker2 function.
34563 * gdb.t10/crossload.exp (bfddefault): Allow successful
34564 recognition of a format to pass even if no symbols are found.
34565 Explicitly catch failures where the format is not recognized
34566 or is ambiguous, and add the reason to the fail message.
34567 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
34568 the cause is and invalid target and add reason to failure message.
34569 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
34570 elf32-i386, elf32-sparc, and elf32-i860.
34571 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
34572 Set up expected failure for 'filename'::variable scope resolution,
34573 which is now apparently broken on all targets.
34574 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
34575 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
34576 gdb.t23/templates.exp: Change failure for missing binfile into
34577 just a warning.
34578 gdb.t21/demangle.exp: Change all cfront references to 'arm'
34579 references.
34580
34581Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
34582
34583 * gdb.t00/default.exp: Add expected output for default "source"
34584 command, to match new gdb behavior.
34585 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
34586
34587Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
34588
34589 * config/*-gdb.exp: returns an error, rather than exiting on
34590 internal errors.
34591
34592Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
34593
34594 * gdb.t03/gdbme.c: Add pointer to struct variable.
34595 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
34596 referencing struct members.
34597
34598Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
34599
34600 * configure.in (mips-idt-ecoff): New target.
34601 * config/mips-gdb.exp: New file for remote board using MIPS remote
34602 debugging protocol.
34603
34604 * Redid configuration scheme. Removed gdb.t*/configure.in.
34605 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
34606 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
34607 distclean targets. Built executables via .o files. Adjusted
34608 tests to account for source files in $(srcdir) rather than
34609 $(objdir).
34610 * lib/gdb.exp (runto): Don't expect () after the function name,
34611 because it may have arguments.
34612
34613Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
34614
34615 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
34616 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
34617 expected failures for mips-idt-* and mips-sgi-*.
34618 * gdb.t00/default.exp (attach): Kill process if requested.
34619 * gdb.t00/help.exp (help target core, help target): Accept a gdb
34620 that does not read core files.
34621 * gdb.t01/run.exp: Removed checks for exit status code.
34622 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
34623 it is linked in.
34624 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
34625 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
34626 appropriate, rather than doing it by hand.
34627 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
34628 execution.
34629 * gdb.t10/crossload.exp: Kill existing program if needed.
34630 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
34631 appropriate, rather than doing it by hand. Always increase
34632 timeout for this test, not just for VxWorks.
34633
34634Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
34635
34636 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
34637 of Chill STRUCT types and STRUCT values.
34638 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
34639 than "char".
34640 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
34641 struct2): New struct definitions and initializations to test
34642 simple Chill STRUCT types.
34643
34644Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
34645
34646 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
34647 the null byte at the end of strings.
34648 * gdb.t00/default.exp: Make show version insensitive to copyright
34649 date.
34650 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
34651 to avoid dependencies on target char signedness.
34652 * gdb.t16/printcmds.exp: Update expected results for explicitly
34653 unsigned char.
34654 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
34655 now work.
34656 * gdb.t21/demangle.exp: Add many more patterns for template
34657 demangling, most of them being expected failures.
34658 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
34659 string we are matching for, to match on the whole string.
34660 * gdb.t21/demangle.exp: Add many new test strings to demangle,
34661 and fix a whole bunch that had incorrect expected output but were
34662 passing anyway because of the bug in "proc demangle".
34663 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
34664 type.
34665 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
34666
34667Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
34668
34669 * gdb/testsuite: made modifications to testcases, etc., to allow
34670 them to work properly given the reorganization of deja-gnu and the
34671 relocation of the testcases from deja-gnu to a "tool" subdirectory.
34672
34673Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
34674
34675 * gdb/testsuite: Initial creation of gdb/testsuite.
34676 Migrated dejagnu testcases and support files for testing nm to
34677 gdb/testsuite from deja-gnu. These files were moved "as is"
34678 with no modifications. This migration is part of a major overhaul
34679 of dejagnu. The modifications to these testcases, etc., which
34680 will allow them to work with the new version of dejagnu will be
34681 made in a future update.
34682
34683 For additional changes see gdb.mi/ChangeLog-1999-2003.
34684\f
34685;; Local Variables:
34686;; mode: change-log
34687;; left-margin: 8
34688;; fill-column: 74
34689;; version-control: never
34690;; End:
34691
34692 Copyright 1993-2014 Free Software Foundation, Inc.
34693 Copying and distribution of this file, with or without modification,
34694 are permitted provided the copyright notice and this notice are preserved.
This page took 0.154466 seconds and 4 git commands to generate.