[gdb/testsuite] Fix gdb.go/methods.exp
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
... / ...
CommitLineData
12020-02-21 Tom de Vries <tdevries@suse.de>
2
3 PR go/18926
4 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
5 Remove blanket xfails. Use message argument for gdb_breakpoint.
6 Make continuing to breakpoint test conditional on setting breakpoint.
7 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
8 DW_AT_name attribute. Add xfail for GCC PR93866.
9
102020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
11
12 * gdb.dwarf2/cpp-linkage-name.c: New file.
13 * gdb.dwarf2/cpp-linkage-name.exp: New file.
14
152020-02-21 Shahab Vahedi <shahab@synopsys.com>
16
17 * lib/gdb.exp (gdb_wrapper_init): Reset
18 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
19 not exist.
20
212020-02-20 Tom de Vries <tdevries@suse.de>
22
23 PR go/17018
24 * gdb.go/hello.exp: Copy ...
25 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
26 print of st to print value of global definition. Add xfail for GCC
27 PR93844.
28 * gdb.go/hello.exp: Remove printing of st before definition.
29 * gdb.go/hello.go: Copy ...
30 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
31 to st.
32 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
33
342020-02-20 Tom de Vries <tdevries@suse.de>
35
36 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
37 (gdb_simple_compile): Handle compile_flags go by using .go extension
38 for source file.
39 * gdb.go/chan.exp: Use support_go_compile.
40 * gdb.go/handcall.exp: Same.
41 * gdb.go/hello.exp: Same.
42 * gdb.go/integers.exp: Same.
43 * gdb.go/max-depth.exp: Same.
44 * gdb.go/methods.exp: Same.
45 * gdb.go/package.exp: Same.
46 * gdb.go/strings.exp: Same.
47 * gdb.go/types.exp: Same.
48 * gdb.go/unsafe.exp: Same.
49
502020-02-19 Tom de Vries <tdevries@suse.de>
51
52 * gdb.python/lib-types.exp: Make xfail more strict.
53
542020-02-19 Tom de Vries <tdevries@suse.de>
55
56 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
57
582020-02-19 Doug Evans <dje@google.com>
59
60 PR rust/25535
61 * gdb.rust/simple.exp: Add test.
62 * gdb.rust/simple.rs: Add test.
63
642020-02-19 Tom de Vries <tdevries@suse.de>
65
66 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
67 output line-by-line.
68
692020-02-19 Tom de Vries <tdevries@suse.de>
70
71 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
72
732020-02-19 Tom de Vries <tdevries@suse.de>
74
75 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
76 prelink.
77
782020-02-19 Tom de Vries <tdevries@suse.de>
79
80 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
81 (gdb_do_cache): Use gdb_do_cache_wrap.
82 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
83
842020-02-19 Tom de Vries <tdevries@suse.de>
85
86 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
87 gdb_compile option.
88
892020-02-18 Simon Marchi <simon.marchi@efficios.com>
90
91 * gdb.base/printcmds.exp (test_print_enums): Update expected
92 output.
93
942020-02-18 Simon Marchi <simon.marchi@efficios.com>
95
96 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
97 for "unknown".
98
992020-02-18 Simon Marchi <simon.marchi@efficios.com>
100
101 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
102 enumerator.
103
1042020-02-18 Simon Marchi <simon.marchi@efficios.com>
105
106 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
107 FE_, add FE_NONE.
108 (three): Update.
109 (enum flag_enum_without_zero): New enum.
110 (flag_enum_without_zero): New variable.
111 (enum not_flag_enum): New enum.
112 (three_not_flag): New variable.
113 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
114 (test_print_enums): Add more tests for printing flag enums.
115
1162020-02-18 Tom de Vries <tdevries@suse.de>
117
118 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
119 (gdb_compile_ada): ... here.
120 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
121 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
122
1232020-02-14 Tom Tromey <tom@tromey.com>
124
125 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
126 build directory.
127 * boards/gdbserver-base.exp: Update path to gdbserver.
128
1292020-02-13 Tom de Vries <tdevries@suse.de>
130
131 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
132
1332020-02-13 Tom de Vries <tdevries@suse.de>
134
135 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
136 are missing.
137
1382020-02-13 Tom de Vries <tdevries@suse.de>
139
140 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
141 call.
142
1432020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
144
145 PR tui/25126
146 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
147 * gdb.base/cached-source-file.c: New file.
148 * gdb.base/cached-source-file.exp: New file.
149
1502020-02-11 Tom de Vries <tdevries@suse.de>
151
152 PR testsuite/25488
153 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
154
1552020-02-10 Tom de Vries <tdevries@suse.de>
156
157 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
158
1592020-02-10 Maciej W. Rozycki <macro@wdc.com>
160
161 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
162 and $after_addr are both integers before making a comparison.
163
1642020-02-09 Tom de Vries <tdevries@suse.de>
165
166 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
167 command output and paste it into gdb.log. If any, paste catch message
168 to gdb.log.
169
1702020-02-07 Tom Tromey <tromey@adacore.com>
171
172 PR breakpoints/24915:
173 * gdb.base/annotate-symlink.exp: Use setup_xfail.
174
1752020-02-06 Shahab Vahedi <shahab@synopsys.com>
176
177 * gdb.tui/tui-missing-src.exp: Add the "missing source
178 file" test for the TUI.
179
1802020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
181
182 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
183 including a port number in the output.
184
1852020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
186
187 * lib/fortran.exp (fortran_int4): Handle clang.
188 (fortran_int8): Likewise.
189 (fortran_real4): Likewise.
190 (fortran_real8): Likewise.
191 (fortran_complex4): Likewise.
192 (fortran_logical4): Likewise.
193 (fortran_character1): Likewise.
194
1952020-02-04 Tom de Vries <tdevries@suse.de>
196
197 * README (Race detection): Add note.
198
1992020-02-04 Tom de Vries <tdevries@suse.de>
200
201 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
202
2032020-02-04 Tom de Vries <tdevries@suse.de>
204
205 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
206
2072020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
208
209 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
210 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
211 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
212 blttar, bnetarl.
213 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
214 binary for blttar, bnetarl.
215 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
216 wait instruction. Delete ldmx test.
217 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
218
2192020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
220
221 * gdb.fortran/array-bounds-high.exp: New file.
222 * gdb.fortran/array-bounds-high.f90: New file.
223
2242020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
225
226 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
227 Replace #include of <sys/fcntl.h> by <fcntl.h>.
228
2292020-02-01 Tom de Vries <tdevries@suse.de>
230
231 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
232
2332020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
234
235 PR tui/9765
236 * gdb.tui/tui-layout-asm-short-prog.S: New file.
237 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
238
2392020-01-29 Luis Machado <luis.machado@linaro.org>
240
241 * gdb.arch/aarch64-brk-patterns.c: New source file.
242 * gdb.arch/aarch64-brk-patterns.exp: New test.
243
2442020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
245
246 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
247 GCC/Clang version.
248 * gdb.cp/pass-by-ref.exp: Ditto.
249
2502020-01-29 Tom de Vries <tdevries@suse.de>
251
252 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
253 * gdb.threads/watchpoint-fork-mt.c: Same.
254 * gdb.threads/watchpoint-fork-parent.c: Same.
255 * gdb.threads/watchpoint-fork-st.c: Same.
256 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
257
2582020-01-27 Luis Machado <luis.machado@linaro.org>
259
260 * gdb.base/step-over-syscall.exp (setup): Check if we're already
261 sitting at a syscall instruction when we hit the syscall function's
262 breakpoint.
263 Check PC against one obtained with the x command.
264 Validate syscall number.
265 (step_over_syscall): Don't continue to the syscall instruction if
266 we're already there.
267
2682020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
269
270 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
271
2722020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
273
274 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
275 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
276
2772020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
278
279 * gdb.dwarf2/dw2-inline-stepping.c: New file.
280 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
281
2822020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
283
284 * gdb.base/maint.exp: Update line table parsing test.
285 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
286
2872020-01-24 Pedro Alves <palves@redhat.com>
288
289 PR gdb/25410
290 * gdb.multi/multi-re-run-1.c: New.
291 * gdb.multi/multi-re-run-2.c: New.
292 * gdb.multi/multi-re-run.exp: New.
293
2942020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
295
296 PR gdb/23718
297 * gdb.server/server-kill-python.exp: New file.
298
2992020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
300
301 * gdb.server/multi-ui-errors.c: New file.
302 * gdb.server/multi-ui-errors.exp: New file.
303
3042020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
305
306 PR tui/9765
307 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
308
3092020-01-19 Tom Tromey <tom@tromey.com>
310
311 * gdb.tui/main.exp: Add check for plain "file".
312
3132020-01-16 Christian Biesinger <cbiesinger@google.com>
314
315 * lib/gdb.exp: Fix spelling error (seperatelly).
316
3172020-01-14 Tom Tromey <tom@tromey.com>
318
319 PR symtab/12535:
320 * gdb.python/python.exp: Test decode_line with empty string
321 argument.
322
3232020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
324
325 * gdb.base/skip-inline.exp: Extend test.
326
3272020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
328
329 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
330 * gdb.dwarf2/dw2-bad-elf.c: New file.
331 * gdb.dwarf2/dw2-bad-elf.exp: New file.
332
3332020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
334
335 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
336 _line_saw_file.
337
3382020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
339
340 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
341 border.
342
3432020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
344
345 * gdb.multi/multi-target.exp (setup): Factor out "info
346 connections" and "info inferiors" tests to ...
347 (test_info_inferiors): ... this new procedure.
348 (top level): Run new "info-inferiors" tests.
349
3502020-01-10 Pedro Alves <palves@redhat.com>
351
352 * gdb.server/bkpt-other-inferior.exp: New file.
353
3542020-01-10 Pedro Alves <palves@redhat.com>
355
356 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
357 of "add-inferior".
358 * gdb.base/quit-live.exp: Likewise.
359 * gdb.base/remote-exec-file.exp: Likewise.
360 * gdb.guile/scm-progspace.exp: Likewise.
361 * gdb.linespec/linespec.exp: Likewise.
362 * gdb.mi/new-ui-mi-sync.exp: Likewise.
363 * gdb.mi/user-selected-context-sync.exp: Likewise.
364 * gdb.multi/multi-target.exp (setup): Add "info connection" and
365 "info inferiors" tests.
366 * gdb.multi/remove-inferiors.exp: Adjust expected output of
367 "add-inferior".
368 * gdb.multi/watchpoint-multi.exp: Likewise.
369 * gdb.python/py-inferior.exp: Likewise.
370 * gdb.server/extended-remote-restart.exp: Likewise.
371 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
372 "info inferiors".
373 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
374 * gdb.trace/report.exp: Likewise.
375
3762020-01-10 Pedro Alves <palves@redhat.com>
377
378 * gdb.multi/multi-target.c: New file.
379 * gdb.multi/multi-target.exp: New file.
380 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
381 mode requested, but remote does not support non-stop".
382
3832020-01-10 Pedro Alves <palves@redhat.com>
384
385 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
386 disconnect before reconnecting.
387
3882020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
389 Pedro Alves <palves@redhat.com>
390
391 * gdb.server/connect-without-multi-process.exp: Also test
392 continuing to end.
393
3942020-01-10 Pedro Alves <palves@redhat.com>
395
396 * gdb.base/remote-exec-file.exp: New file.
397
3982020-01-10 Pedro Alves <palves@redhat.com>
399
400 * gdb.base/fork-running-state.exp (do_test): Adjust expected
401 output.
402 * gdb.threads/async.c: New.
403 * gdb.threads/async.exp: New.
404 * gdb.multi/tids-gid-reset.c: New.
405 * gdb.multi/tids-gid-reset.exp: New.
406
4072020-01-10 George Barrett <bob@bob131.so>
408
409 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
410 to help in finding the image relocation offset.
411 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
412 options in arguments.
413 (stap_test_no_debuginfo): Likewise.
414 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
415 test variants.
416 (stap_test): Add null semaphore relocation test.
417
4182020-01-10 George Barrett <bob@bob131.so>
419
420 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
421 * gdb.base/stap-probe.exp: Likewise.
422 (stap_test): Pass argument as an additional flag.
423 (stap_test_no_debuginfo): Likewise.
424 (stap_test): Check `info probes stap' output for semaphore
425 addresses if the test binary is supposed to have them.
426
4272020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
428
429 * gdb.tui/basic.exp: Add more scrolling tests.
430
4312020-01-09 Tom Tromey <tom@tromey.com>
432
433 PR tui/18932:
434 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
435 meangingful value.
436 (Term::command, Term::resize): Update.
437 * gdb.tui/basic.exp: Add scrolling test.
438
4392020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
440
441 * gdb.tui/tui-layout-asm.exp: New file.
442
4432020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
444
445 * lib/tuiterm.exp (Term::check_box_contents): New proc.
446
4472020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
448
449 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
450 (Term::enter_tui): Use Term::prepare_for_tui.
451
4522020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
453
454 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
455 called.
456
4572020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
458
459 * gdb.base/skip.exp: Fix race condition in test.
460
4612020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
462
463 * gdb.base/backtrace.c: New file.
464 * gdb.base/backtrace.exp: New file.
465
4662020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
467
468 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
469
4702020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
471
472 * gdb.base/style.exp: Test that warnings are styled.
473
4742019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
475
476 * gdb.base/line65535.exp: New file.
477 * gdb.base/line65535.c: New file.
478
4792019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
480
481 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
482 * lib/gnat_debug_info_test.adb: New file.
483 * gdb.ada/ptype_tagged_param.exp: Use
484 gnat_runtime_has_debug_info, expect a different output if
485 runtime does not have debug info.
486
4872019-12-20 Simon Marchi <simon.marchi@efficios.com>
488
489 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
490 (another) quote in test name.
491
4922019-12-20 Simon Marchi <simon.marchi@efficios.com>
493
494 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
495 Add quote in test name.
496
4972019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
498
499 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
500 directory instead.
501 * gdb.cp/pass-by-ref.exp: Extend with more cases.
502 * gdb.cp/pass-by-ref-2.cc: New file.
503 * gdb.cp/pass-by-ref-2.exp: New file.
504
5052019-12-20 Tom Tromey <tom@tromey.com>
506
507 * gdb.tui/list-before.exp: New file.
508
5092019-12-20 Tom Tromey <tom@tromey.com>
510
511 * gdb.tui/list.exp: Check for source on initial listing.
512
5132019-12-11 Tom Tromey <tromey@adacore.com>
514
515 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
516 Add crlf test.
517
5182019-12-18 Simon Marchi <simon.marchi@efficios.com>
519
520 * gdb.base/default.exp: Update value of $_gdb_major.
521
5222019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
523
524 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
525
5262019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
527
528 * gdb.base/skip.exp: Whitespace fix.
529
5302019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
531
532 * gdb.base/skip-inline.c: New file.
533 * gdb.base/skip-inline.exp: New file.
534
5352019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
536
537 * gdb.base/jit-reader.exp (jit_reader_test): Rename
538 jit_function_00 to jit_function_stack_mangle.
539 * gdb.base/jithost.c (jit_function_t): Rename to...
540 (jit_function_stack_mangle_t): ... this.
541 (jit_function_add_t): New typedef.
542 (jit_function_00_code): Rename to...
543 (jit_function_stack_mangle_code): ... this, make static.
544 (jit_function_add_code): New.
545 (main): Generate "add" function and call it. Adjust to changes
546 in jithost_abi.
547 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
548 (struct jithost_abi) <begin, end>: Remove fields.
549 <object, function_stack_mangle, function_add>: New fields.
550 * gdb.base/jitreader.c (struct reader_state) <code_begin,
551 code_end>: Remove fields.
552 <func_stack_mangle>: New field.
553 (read_debug_info): Adjust to renaming, create block for "add"
554 function.
555 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
556
5572019-12-11 Tom Tromey <tom@tromey.com>
558
559 * gdb.tui/resize.exp: Fix regexp.
560 * gdb.tui/regs.exp: Fix regexps.
561 * gdb.tui/main.exp: Fix regexp.
562
5632019-12-11 Tom Tromey <tom@tromey.com>
564
565 * gdb.tui/resize.exp: Update.
566 * gdb.tui/empty.exp (layouts): Update.
567
5682019-12-11 Tom Tromey <tom@tromey.com>
569
570 * gdb.tui/regs.exp: Update.
571 * gdb.tui/empty.exp (layouts): Update.
572 * gdb.tui/basic.exp: Update.
573 * lib/tuiterm.exp (_check_box): Don't check bottom border.
574
5752019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
576
577 * gdb.base/options.exp: Add -raw-values in the print completion list.
578 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
579
5802019-12-10 Kevin Buettner <kevinb@redhat.com>
581
582 * gdb.threads/omp-par-scope.c: New file.
583 * gdb/threads/omp-par-scope.exp: New file.
584
5852019-12-10 Kevin Buettner <kevinb@redhat.com>
586
587 * lib/gdb.exp (support_nested_function_tests): New proc.
588
5892019-12-10 Kevin Buettner <kevinb@redhat.com>
590
591 * lib/gdb.exp (gdb_compile_openmp): New proc.
592 (build_executable_from_specs): Add an "openmp" option.
593 (gdb_compile_pthreads): Add non-executable case.
594
5952019-12-10 Tom Tromey <tromey@adacore.com>
596
597 * gdb.ada/unchecked_union.exp: New file.
598 * gdb.ada/unchecked_union/pck.adb: New file.
599 * gdb.ada/unchecked_union/pck.ads: New file.
600 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
601 * gdb-utils.exp (string_to_regexp): Also quote "?".
602
6032019-12-10 George Barrett <bob@bob131.so>
604
605 Test scripted probe breakpoints.
606 * gdb.guile/scm-breakpoint.c (main): Add probe point.
607 * gdb.python/py-breakpoint.c (main): Likewise.
608 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
609 specifier test.
610 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
611
6122019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
613
614 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
615 an rvalue parameter.
616 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
617 parameter.
618
6192019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
620
621 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
622 modules.
623
6242019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
625
626 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
627 broken version of GCC.
628
6292019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
630
631 * gdb.fortran/info-modules.exp: Rewrite to make use of new
632 sym-info-cmds library.
633 * gdb.fortran/info-types.exp: Likewise.
634 * lib/sym-info-cmds.exp: New file.
635
6362019-12-08 Tom de Vries <tdevries@suse.de>
637
638 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
639
6402019-12-07 Keith Seitz <keiths@redhat.com>
641
642 * gdb.base/corefile-buildid-shlib-shr.c: New file.
643 * gdb.base/corefile-buildid-shlib.c: New file.
644 * gdb.base/corefile-buildid.c: New file.
645 * gdb.base/corefile-buildid.exp: New file.
646
6472019-12-06 Tom de Vries <tdevries@suse.de>
648
649 * gdb.dwarf2/varval.exp: Add decl before def test.
650
6512019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
652
653 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
654
6552019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
656
657 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
658 CV and reference conversion for overload resolution.
659 * gdb.cp/rvalue-ref-overload.exp: Test it.
660
6612019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
662
663 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
664 * gdb.base/frameapply.exp: Test faas without command.
665
6662019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
667
668 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
669 Fortran tests.
670 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
671 order.
672
6732019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
674
675 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
676 casting to type with no kind specified.
677 (test_basic_parsing_of_type_kinds): Additional tests for types
678 with no kind specified, and add tests for single/double
679 precision/complex types.
680
6812019-12-04 Tom Tromey <tromey@adacore.com>
682
683 * gdb.base/endianity.c (struct other) <x>: New field.
684 (main): Initialize it.
685 * gdb.base/endianity.exp: Update.
686
6872019-12-04 Tom Tromey <tromey@adacore.com>
688
689 * gdb.ada/scalar_storage/storage.adb: New file.
690 * gdb.ada/scalar_storage/pck.adb: New file.
691 * gdb.ada/scalar_storage/pck.ads: New file.
692 * gdb.ada/scalar_storage.exp: New file.
693
6942019-12-04 Tom Tromey <tromey@adacore.com>
695
696 * gdb.base/endianity.c (struct otherendian) <f>: New field.
697 (main): Initialize it.
698 * gdb.base/endianity.exp: Update.
699
7002019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
701
702 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
703
7042019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
705
706 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
707 -symbol-info-module-functions and -symbol-info-module-variables.
708
7092019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
710
711 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
712
7132019-12-01 Richard Bunt <richard.bunt@arm.com>
714 Andrew Burgess <andrew.burgess@embecosm.com>
715
716 * gdb.fortran/derived-type-striding.exp: New file.
717 * gdb.fortran/derived-type-striding.f90: New file.
718 * gdb.fortran/array-slices.exp: New file.
719 * gdb.fortran/array-slices.f90: New file.
720
7212019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
722
723 * gdb.base/define.exp: Test . in command names.
724 * gdb.base/setshow.exp: Update test, as . is now part of
725 command name.
726
7272019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
728
729 * gdb.base/define-prefix.exp: New file.
730
7312019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
732
733 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
734 compile.
735 (skip_btrace_pt_tests): Likewise.
736
7372019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
738
739 * gdb.fortran/info-modules.exp: Compile source files in correct
740 order.
741
7422019-11-27 Kevin Buettner <kevinb@redhat.com>
743
744 * gdb.dwarf2/imported-unit.exp: New file.
745 * gdb.dwarf2/imported-unit.c: New file.
746
7472019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
748
749 * gdb.mi/mi-fortran-modules-2.f90: New file.
750 * gdb.mi/mi-fortran-modules.exp: New file.
751 * gdb.mi/mi-fortran-modules.f90: New file.
752
7532019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
754
755 * gdb.mi/mi-sym-info-1.c: New file.
756 * gdb.mi/mi-sym-info-2.c: New file.
757 * gdb.mi/mi-sym-info.exp: New file.
758
7592019-11-22 Tom Tromey <tromey@adacore.com>
760
761 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
762 * gdb.ada/tasks/foo.adb: Add another stopping location.
763
7642019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
765
766 * gdb.base/endianity.c: New test.
767 * gdb.base/endianity.exp: New file.
768
7692019-11-21 Lukas Durfina <ldurfina@tachyum.com>
770
771 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
772
7732019-11-21 Tom de Vries <tdevries@suse.de>
774
775 PR gdb/24956
776 * gdb.base/ui-redirect.exp: Test output of user-defined command.
777
7782019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
779
780 * gdb.python/py-progspace.exp: Add missing parentheses on some
781 'print' commands.
782
7832019-11-19 Tom Tromey <tom@tromey.com>
784
785 * gdb.tui/winheight.exp: New file.
786
7872019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
788
789 * gdb.base/ctf-whatis.c: Delete.
790 * gdb.base/ctf-whatis.exp: Delete.
791 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
792
7932019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
794
795 * gdb.base/ctf-cvexpr.exp: Delete.
796 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
797
7982019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
799
800 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
801 the compiler. Clean up header comment a little.
802 * gdb.base/ctf-ptype.exp: Likewise.
803 * gdb.base/ctf-whatis.exp: Likewise.
804 * lib/gdb.exp (skip_ctf_tests): New proc.
805
8062019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
807
808 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
809 * gdb.tui/corefile-run.exp: New file.
810
8112019-11-14 Tom Tromey <tromey@adacore.com>
812
813 * gdb.base/gdbvars.exp (test_convenience_variables): Add
814 regression tests.
815
8162019-11-12 Tom Tromey <tom@tromey.com>
817
818 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
819 after any command. Expect prompt after WAIT_FOR is seen.
820 (enter_tui): Enable resize messages.
821 (command): Expect command in output.
822 (get_line): Avoid error when cursor appears to be off-screen.
823 (dump_screen): Include screen size in title.
824 (_do_resize): New proc, from "resize".
825 (resize): Rewrite. Do resize in two steps.
826 * gdb.tui/empty.exp (layouts): Fix entries.
827 (check_boxes): Remove xfail.
828 (check_text): Dump screen on failure.
829
8302019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
831
832 * gdb.python/py-symbol.exp: Add test for
833 gdb.lookup_static_symbols.
834
8352019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
836
837 * gdb.python/py-symbol.c: Declare and call function from new
838 py-symbol-2.c file.
839 * gdb.python/py-symbol.exp: Compile both source files, and add new
840 tests for gdb.lookup_static_symbol.
841 * gdb.python/py-symbol-2.c: New file.
842
8432019-11-02 Tom de Vries <tdevries@suse.de>
844
845 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
846 * gdb.base/anon.exp: Same.
847 * gdb.base/auto-connect-native-target.exp: Same.
848 * gdb.base/call-ar-st.exp: Same.
849 * gdb.base/catch-syscall.exp: Same.
850 * gdb.base/commands.exp: Same.
851 * gdb.base/default.exp: Same.
852 * gdb.base/display.exp: Same.
853 * gdb.base/float.exp: Same.
854 * gdb.base/foll-fork.exp: Same.
855 * gdb.base/help.exp: Same.
856 * gdb.base/info-macros.exp: Same.
857 * gdb.base/info-proc.exp: Same.
858 * gdb.base/info-target.exp: Same.
859 * gdb.base/long_long.exp: Same.
860 * gdb.base/macscp.exp: Same.
861 * gdb.base/memattr.exp: Same.
862 * gdb.base/nofield.exp: Same.
863 * gdb.base/pointers.exp: Same.
864 * gdb.base/printcmds.exp: Same.
865 * gdb.base/ptype.exp: Same.
866 * gdb.base/restore.exp: Same.
867 * gdb.base/return.exp: Same.
868 * gdb.base/scope.exp: Same.
869 * gdb.base/set-noassign.exp: Same.
870 * gdb.base/setshow.exp: Same.
871 * gdb.base/shlib-call.exp: Same.
872 * gdb.base/signals.exp: Same.
873 * gdb.base/sigstep.exp: Same.
874 * gdb.base/skip.exp: Same.
875 * gdb.base/solib-symbol.exp: Same.
876 * gdb.base/stap-probe.exp: Same.
877 * gdb.base/step-line.exp: Same.
878 * gdb.base/step-test.exp: Same.
879 * gdb.base/style.exp: Same.
880 * gdb.base/varargs.exp: Same.
881 * gdb.base/vla-datatypes.exp: Same.
882 * gdb.base/vla-ptr.exp: Same.
883 * gdb.base/vla-sideeffect.exp: Same.
884 * gdb.base/volatile.exp: Same.
885 * gdb.base/watch-cond-infcall.exp: Same.
886 * gdb.base/watchpoint.exp: Same.
887
8882019-11-02 Tom de Vries <tdevries@suse.de>
889
890 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
891 * gdb.cp/cpexprs.exp: Same.
892 * gdb.cp/except-multi-location.exp: Same.
893 * gdb.cp/exceptprint.exp: Same.
894 * gdb.cp/gdb2384.exp: Same.
895 * gdb.cp/inherit.exp: Same.
896 * gdb.cp/m-static.exp: Same.
897 * gdb.cp/meth-typedefs.exp: Same.
898 * gdb.cp/misc.exp: Same.
899 * gdb.cp/namespace.exp: Same.
900 * gdb.cp/non-trivial-retval.exp: Same.
901 * gdb.cp/overload.exp: Same.
902 * gdb.cp/pr17132.exp: Same.
903 * gdb.cp/re-set-overloaded.exp: Same.
904 * gdb.cp/rvalue-ref-types.exp: Same.
905 * gdb.cp/templates.exp: Same.
906
9072019-11-01 Luis Machado <luis.machado@linaro.org>
908
909 PR gdb/25124
910
911 * gdb.arch/pr25124.S: New file.
912 * gdb.arch/pr25124.exp: New file.
913
9142019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
915
916 * gdb.fortran/info-modules.exp: Update expected results, and add
917 additional tests for 'info module functinos', and 'info module
918 variables'.
919 * gdb.fortran/info-types.exp: Update expected results.
920 * gdb.fortran/info-types.f90: Extend testcase with additional
921 module variables and functions.
922
9232019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
924
925 * gdb.fortran/info-modules.exp: New file.
926 * gdb.fortran/info-types.exp: Build with new file.
927 * gdb.fortran/info-types.f90: Include and use new module.
928 * gdb.fortran/info-types-2.f90: New file.
929
9302019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
931
932 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
933 * gdb.base/settings.exp: Test all settings types using
934 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
935 that now verifies that the value of "maint show" is the same as
936 returned by the settings functions. Test the type of the
937 maintenance settings.
938 * gdb.base/default.exp: Update show_conv_list.
939
9402019-10-31 Tom de Vries <tdevries@suse.de>
941
942 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
943 gdb_test.
944 * gdb.arch/amd64-disp-step.exp: Same.
945 * gdb.asm/asm-source.exp: Same.
946 * gdb.btrace/buffer-size.exp: Same.
947 * gdb.btrace/cpu.exp: Same.
948 * gdb.btrace/enable.exp: Same.
949 * gdb.dwarf2/count.exp: Same.
950 * gdb.dwarf2/dw2-ranges-func.exp: Same.
951 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
952 * gdb.fortran/vla-datatypes.exp: Same.
953 * gdb.fortran/vla-history.exp: Same.
954 * gdb.fortran/vla-ptype.exp: Same.
955 * gdb.fortran/vla-value.exp: Same.
956 * gdb.fortran/whatis_type.exp: Same.
957 * gdb.guile/guile.exp: Same.
958 * gdb.multi/tids.exp: Same.
959 * gdb.python/py-finish-breakpoint.exp: Same.
960 * gdb.python/py-framefilter.exp: Same.
961 * gdb.python/py-pp-registration.exp: Same.
962 * gdb.python/py-xmethods.exp: Same.
963 * gdb.python/python.exp: Same.
964 * gdb.server/connect-with-no-symbol-file.exp: Same.
965 * gdb.server/no-thread-db.exp: Same.
966 * gdb.server/run-without-local-binary.exp: Same.
967 * gdb.stabs/weird.exp: Same.
968 * gdb.threads/attach-many-short-lived-threads.exp: Same.
969 * gdb.threads/thread-find.exp: Same.
970 * gdb.threads/tls-shared.exp: Same.
971 * gdb.threads/tls.exp: Same.
972 * gdb.threads/wp-replication.exp: Same.
973 * gdb.trace/ax.exp: Same.
974 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
975
9762019-10-31 Tom de Vries <tdevries@suse.de>
977
978 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
979 * gdb.ada/array_subscript_addr.exp: Same.
980 * gdb.ada/arrayidx.exp: Same.
981 * gdb.ada/arrayparam.exp: Same.
982 * gdb.ada/arrayptr.exp: Same.
983 * gdb.ada/boolean_expr.exp: Same.
984 * gdb.ada/call_pn.exp: Same.
985 * gdb.ada/complete.exp: Same.
986 * gdb.ada/fixed_cmp.exp: Same.
987 * gdb.ada/fun_addr.exp: Same.
988 * gdb.ada/funcall_param.exp: Same.
989 * gdb.ada/interface.exp: Same.
990 * gdb.ada/mod_from_name.exp: Same.
991 * gdb.ada/null_array.exp: Same.
992 * gdb.ada/packed_array.exp: Same.
993 * gdb.ada/packed_tagged.exp: Same.
994 * gdb.ada/print_chars.exp: Same.
995 * gdb.ada/print_pc.exp: Same.
996 * gdb.ada/ptype_arith_binop.exp: Same.
997 * gdb.ada/ptype_field.exp: Same.
998 * gdb.ada/ptype_tagged_param.exp: Same.
999 * gdb.ada/rec_return.exp: Same.
1000 * gdb.ada/ref_tick_size.exp: Same.
1001 * gdb.ada/str_ref_cmp.exp: Same.
1002 * gdb.ada/taft_type.exp: Same.
1003 * gdb.ada/tagged.exp: Same.
1004 * gdb.ada/type_coercion.exp: Same.
1005 * gdb.ada/uninitialized_vars.exp: Same.
1006
10072019-10-30 Tom de Vries <tdevries@suse.de>
1008
1009 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
1010
10112019-10-26 Tom de Vries <tdevries@suse.de>
1012
1013 * gdb.base/bigcore.c: Fix typos in comments.
1014 * gdb.base/ctf-ptype.c: Same.
1015 * gdb.base/long_long.c: Same.
1016 * gdb.dwarf2/dw2-op-out-param.S: Same.
1017 * gdb.python/py-evthreads.c: Same.
1018 * gdb.reverse/i387-stack-reverse.c: Same.
1019 * gdb.trace/tfile.c: Same.
1020 * lib/compiler.c: Same.
1021 * lib/compiler.cc: Same.
1022
10232019-10-25 Tom de Vries <tdevries@suse.de>
1024
1025 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
1026 gdb_test_multiple calls.
1027 * gdb.reverse/sigall-reverse.exp: Same.
1028 * gdb.reverse/solib-precsave.exp: Same.
1029 * gdb.reverse/solib-reverse.exp: Same.
1030 * gdb.reverse/until-precsave.exp: Same.
1031 * gdb.reverse/until-reverse.exp: Same.
1032
10332019-10-24 Tom de Vries <tdevries@suse.de>
1034
1035 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
1036 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
1037 kfail using -wrap pattern flag and convenience variable
1038 gdb_test_name.
1039
10402019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
1041
1042 * gdb.python/py-progspace.exp: Add tests for the
1043 Progspace.block_for_pc method.
1044
10452019-10-23 Tom Tromey <tom@tromey.com>
1046
1047 * configure: Rebuild.
1048 * aclocal.m4: Use m4_include, not sinclude.
1049
10502019-10-21 Tom de Vries <tdevries@suse.de>
1051
1052 * gdb.base/infcall-nested-structs.c: Add
1053 __attribute__((noinline,noclone)) to all functions.
1054 (call_all): Add missing variable initialization. Simplify return value.
1055 (breakpt): Increment volatile variable, to prevent call from being
1056 optimized out.
1057 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
1058
10592019-10-17 Tom de Vries <tdevries@suse.de>
1060
1061 * gdb.fortran/module.exp: Allow info variables to print info for files
1062 other than module.f90.
1063
10642019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
1065
1066 * gdb.fortran/module.exp: Extend with 'info variables' test.
1067
10682019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
1069
1070 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
1071 F77_FOR_TARGET.
1072
10732019-10-16 Tom de Vries <tdevries@suse.de>
1074
1075 PR tdep/25096
1076 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
1077
10782019-10-16 Tom de Vries <tdevries@suse.de>
1079
1080 PR tdep/24104
1081 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
1082 Add KFAIL for PR tdep/25096.
1083
10842019-10-16 Tom de Vries <tdevries@suse.de>
1085
1086 PR testsuite/25059
1087 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
1088
10892019-10-16 Tom de Vries <tdevries@suse.de>
1090
1091 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
1092 as signed.
1093
10942019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
1095
1096 * gdb.mi/list-thread-groups-available.exp: Read entries one by
1097 one instead of increasing timeout.
1098
10992019-10-13 Tom de Vries <tdevries@suse.de>
1100
1101 PR record/25038
1102 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
1103 * gdb.reverse/sigall-reverse.exp: Same.
1104 * gdb.reverse/solib-precsave.exp: Same.
1105 * gdb.reverse/solib-reverse.exp: Same.
1106 * gdb.reverse/step-precsave.exp: Same.
1107 * gdb.reverse/until-precsave.exp: Same.
1108 * gdb.reverse/until-reverse.exp: Same.
1109 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
1110
11112019-10-10 Andreas Arnez <arnez@linux.ibm.com>
1112
1113 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
1114 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
1115 (cmp_struct_05_01, cmp_struct_static_02_01)
1116 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
1117 comparisons.
1118
11192019-10-10 Tom de Vries <tdevries@suse.de>
1120
1121 PR testsuite/24888
1122 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
1123 gnatlink.
1124
11252019-10-09 Tom de Vries <tdevries@suse.de>
1126
1127 PR testsuite/25048
1128 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
1129
11302019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
1131
1132 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
1133 exceptions due to missing debug information.
1134
11352019-10-07 Tom de Vries <tdevries@suse.de>
1136
1137 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
1138
11392019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
1140
1141 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
1142 * gdb.base/annota1.exp: Update to use gdb_test_name.
1143
11442019-10-07 Weimin Pan <weimin.pan@oracle.com>
1145
1146 * gdb.base/ctf-whatis.exp: New file.
1147 * gdb.base/ctf-whatis.c: New file.
1148 * gdb.base/ctf-ptype.exp: New file.
1149 * gdb.base/ctf-ptype.c: New file.
1150 * gdb.base/ctf-constvars.exp: New file.
1151 * gdb.base/ctf-constvars.c: New file.
1152 * gdb.base/ctf-cvexpr.exp: New file.
1153
11542019-10-04 Tom de Vries <tdevries@suse.de>
1155
1156 * gdb.cp/local-static.c (main): Move declaration of int i out of the
1157 for loop.
1158
11592019-10-03 Tom Tromey <tom@tromey.com>
1160
1161 PR rust/24976:
1162 * gdb.rust/simple.rs (Union2): New type.
1163 (main): Use Union2.
1164 * gdb.rust/simple.exp: Add test.
1165
11662019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1167
1168 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
1169 nested function prefix.
1170
11712019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
1172 Richard Bunt <richard.bunt@arm.com>
1173 Andrew Burgess <andrew.burgess@embecosm.com>
1174
1175 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
1176 nested functions.
1177 * gdb.fortran/nested-funcs.f90: Update expected results.
1178 * gdb.fortran/nested-funcs-2.exp: New file.
1179 * gdb.fortran/nested-funcs-2.f90: New file.
1180
11812019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1182
1183 * gdb.python/py-parameter.exp: Make test names unique.
1184 * gdb.python/py-template.exp: Likewise.
1185 * gdb.python/py-value.exp: Likewise.
1186
11872019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1188
1189 * gdb.base/break-interp.exp: Reduce test name duplication.
1190 * gdb.base/call-sc.exp: Likewise.
1191 * gdb.base/callfuncs.exp: Likewise.
1192 * gdb.base/charset.exp: Likewise.
1193 * gdb.base/dump.exp: Likewise.
1194 * gdb.base/ena-dis-br.exp: Likewise.
1195 * gdb.base/relational.exp: Likewise.
1196 * gdb.base/step-over-syscall.exp: Likewise.
1197 * gdb.base/structs.exp: Likewise.
1198
11992019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1200
1201 * gdb.linespec/explicit.exp: Make test names unique.
1202 * gdb.linespec/ls-errs.exp: Likewise.
1203
12042019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1205
1206 * gdb.reverse/break-precsave.exp: Make test names unique.
1207 * gdb.reverse/break-reverse.exp: Likewise.
1208 * gdb.reverse/finish-precsave.exp: Likewise.
1209 * gdb.reverse/finish-reverse.exp: Likewise.
1210 * gdb.reverse/machinestate-precsave.exp: Likewise.
1211 * gdb.reverse/machinestate.exp: Likewise.
1212 * gdb.reverse/readv-reverse.exp: Likewise.
1213 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1214 * gdb.reverse/sigall-precsave.exp: Likewise.
1215 * gdb.reverse/sigall-reverse.exp: Likewise.
1216 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
1217 * gdb.reverse/watch-precsave.exp: Likewise.
1218 * gdb.reverse/watch-reverse.exp: Likewise.
1219
12202019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1221
1222 * gdb.threads/stop-with-handle.c: New file.
1223 * gdb.threads/stop-with-handle.exp: New file.
1224
12252019-10-03 Tom de Vries <tdevries@suse.de>
1226
1227 PR testsuite/25059
1228 * gdb.base/list-missing-source.exp: Allowing the "Compilation
1229 directory" line to be missing.
1230
12312019-10-03 Tom de Vries <tdevries@suse.de>
1232
1233 PR testsuite/25059
1234 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
1235 type optional.
1236
12372019-10-02 Andreas Arnez <arnez@linux.ibm.com>
1238
1239 * gdb.python/py-format-string.c (string.h): New include.
1240 (main): Fill a_struct_with_union.the_union.an_int with bytes of
1241 the same value, for endianness-independence.
1242 * gdb.python/py-format-string.exp (default_regexp_dict)
1243 (test_pretty_structs, test_format): Adjust expected output to the
1244 changed initialization.
1245
12462019-10-02 Tom Tromey <tromey@adacore.com>
1247
1248 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
1249
12502019-10-02 Pedro Alves <palves@redhat.com>
1251 Andrew Burgess <andrew.burgess@embecosm.com>
1252
1253 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
1254 "print-file-var.h".
1255 (this_version_id) Use ATTRIBUTE_VISIBILITY.
1256 (get_version_1): Print this_version_id and its address.
1257 Add extern "C" wrappers around interface functions.
1258 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
1259 "print-file-var.h".
1260 (this_version_id) Use ATTRIBUTE_VISIBILITY.
1261 (get_version_2): Print this_version_id and its address.
1262 Add extern "C" wrappers around interface functions.
1263 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
1264 <stddef.h> and "print-file-var.h".
1265 Add extern "C" wrappers around interface functions.
1266 [VERSION_ID_MAIN] (this_version_id): Define.
1267 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
1268 * gdb.base/print-file-var.h: Add some #defines to simplify setting
1269 up extern "C" blocks.
1270 * gdb.base/print-file-var.exp (test): New, factored out from top
1271 level.
1272 (top level): Test all combinations of attribute hidden or not,
1273 dlopen or not, and this_version_id symbol in main file or not.
1274 Compile tests as both C++ and C, make test names unique.
1275
12762019-10-01 Tom Tromey <tom@tromey.com>
1277
1278 * gdb.base/style.exp: Test "show logging filename".
1279
12802019-10-01 Tom Tromey <tom@tromey.com>
1281
1282 * lib/gdb-utils.exp (style): Handle "metadata" argument.
1283 * gdb.base/style.exp: Add metadata style test.
1284
12852019-10-01 Tom Tromey <tom@tromey.com>
1286
1287 * gdb.base/style.exp: Test "pwd".
1288
12892019-10-01 Tom Tromey <tom@tromey.com>
1290
1291 * gdb.base/style.exp: Update tests.
1292
12932019-10-01 Andreas Arnez <arnez@linux.ibm.com>
1294
1295 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
1296 'six' to unsigned.
1297 (s1): Initialize fields 'four' and 'six' instead of 'three' and
1298 'five'. Use an all-ones bit pattern for each.
1299 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
1300 to its changed values.
1301
13022019-09-30 Tom Tromey <tromey@adacore.com>
1303
1304 * gdb.rust/traits.rs: Disable all warnings.
1305
13062019-09-29 Tom de Vries <tdevries@suse.de>
1307
1308 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
1309
13102019-09-29 Tom de Vries <tdevries@suse.de>
1311
1312 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
1313
13142019-09-27 Tom de Vries <tdevries@suse.de>
1315
1316 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
1317
13182019-09-27 Tom de Vries <tdevries@suse.de>
1319
1320 PR record/23188
1321 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
1322
13232019-09-26 Tom Tromey <tromey@adacore.com>
1324
1325 * gdb.ada/py_taft.exp: New file.
1326 * gdb.ada/py_taft/main.adb: New file.
1327 * gdb.ada/py_taft/pkg.adb: New file.
1328 * gdb.ada/py_taft/pkg.ads: New file.
1329
13302019-09-24 Tom de Vries <tdevries@suse.de>
1331
1332 PR gdb/24598
1333 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
1334
13352019-09-22 Tom de Vries <tdevries@suse.de>
1336
1337 * gdb.base/restore.exp: Allow register variables to be optimized out at
1338 -O0.
1339
13402019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
1341
1342 * gdb.arch/spu-info.exp: Remove file.
1343 * gdb.arch/spu-info.c: Remove file.
1344 * gdb.arch/spu-ls.exp: Remove file.
1345 * gdb.arch/spu-ls.c: Remove file.
1346
1347 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
1348 * gdb.asm/spu.inc: Remove file.
1349
1350 * gdb.base/dump.exp: Remove support for spu*-*-*.
1351 * gdb.base/stack-checking.exp: Likewise.
1352 * gdb.base/overlays.exp: Likewise.
1353 * gdb.base/ovlymgr.c: Likewise.
1354 * gdb.base/spu.ld: Remove file.
1355
1356 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
1357 * gdb.cp/cpexprs.exp: Likewise.
1358 * gdb.cp/exception.exp: Likewise.
1359 * gdb.cp/gdb2495.exp: Likewise.
1360 * gdb.cp/mb-templates.exp: Likewise.
1361 * gdb.cp/pr9167.exp: Likewise.
1362 * gdb.cp/userdef.exp: Likewise.
1363
1364 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
1365
1366 * gdb.cell: Remove directory.
1367 * lib/cell.exp: Remove file.
1368
13692019-09-19 Tom de Vries <tdevries@suse.de>
1370
1371 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
1372
13732019-09-19 Tom de Vries <tdevries@suse.de>
1374
1375 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
1376
13772019-09-19 Tom de Vries <tdevries@suse.de>
1378
1379 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
1380 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
1381 (gdb_target_cmd): ... here.
1382 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
1383 value 2.
1384
13852019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
1386
1387 * gdb.base/source-dir.exp: Avoid having directory names in test
1388 names.
1389
13902019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
1391
1392 * gdb.base/source-dir.exp: Add extra test for mapped compilation
1393 directory.
1394
13952019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
1396
1397 * gdb.base/list-missing-source.exp: New file.
1398
13992019-09-14 Tom de Vries <tdevries@suse.de>
1400
1401 PR teststuite/24599
1402 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
1403 * lib/ada.exp (gnatmake_version_at_least): New proc.
1404
14052019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
1406
1407 * gdb.base/maint.exp: Use exec_has_index_section.
1408
14092019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
1410
1411 * gdb.base/maint.exp: Add test for 'maint info sections'.
1412
14132019-09-12 Tom de Vries <tdevries@suse.de>
1414
1415 * gdb.base/store.exp: Allow register variables to be optimized out at
1416 -O0.
1417
14182019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1419
1420 * gdb.ada/rdv_wait.exp: Update to new task names.
1421 * gdb.base/task_switch_in_core.exp: Likewise.
1422 * gdb.base/info_sources_base.c: Likewise.
1423
14242019-09-10 Tom Tromey <tromey@adacore.com>
1425
1426 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
1427
14282019-09-10 Tom Tromey <tromey@adacore.com>
1429
1430 * gdb.ada/dgopt.exp: New file.
1431 * gdb.ada/dgopt/x.adb: New file.
1432
14332019-09-08 Tom Tromey <tom@tromey.com>
1434
1435 * gdb.tui/resize.exp: Remove setup_xfail.
1436 * gdb.tui/regs.exp: Remove setup_xfail.
1437 * gdb.tui/basic.exp: Remove setup_xfail.
1438
14392019-09-06 David Blaikie <dblaikie@gmail.com>
1440
1441 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
1442 * gdb.cp/cplabel.exp: Ditto.
1443 * gdb.linespec/ls-errs.exp: Ditto.
1444
14452019-09-05 Tom de Vries <tdevries@suse.de>
1446
1447 * lib/gdb.exp (cmp_file_string): New proc.
1448 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
1449 runto_main. Verify save breakpoints output.
1450
14512019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1452
1453 * gdb.base/info-var.exp: Test info variables without running
1454 to main, to avoid expect's buffer overflow.
1455
14562019-09-03 Tom Tromey <tromey@adacore.com>
1457
1458 * gdb.ada/bias.exp: New file.
1459 * gdb.ada/bias/bias.adb: New file.
1460 * gdb.ada/print_chars.exp: Add regression test.
1461 * gdb.ada/print_chars/foo.adb (My_Character): New type.
1462 (MC): New variable.
1463
14642019-08-29 Sandra Loosemore <sandra@codesourcery.com>
1465
1466 * gdb.base/argv0-symlink.exp: Run only on native target
1467 and local host.
1468
14692019-08-29 Tom de Vries <tdevries@suse.de>
1470
1471 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
1472 diverse debug info.
1473 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
1474
14752019-08-28 Tom de Vries <tdevries@suse.de>
1476
1477 * gdb.base/info-var.exp: Allow info variables to print info for files
1478 other than info-var-f1.c and info-var-f2.c.
1479
14802019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
1481
1482 * gdb.fortran/info-types.exp: Add module.
1483 * gdb.fortran/info-types.f90: Update expected results.
1484
14852019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
1486
1487 * gdb.fortran/info-types.exp: New file.
1488 * gdb.fortran/info-types.f90: New file.
1489 * lib/fortran.exp (fortran_character1): New proc.
1490
14912019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
1492
1493 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
1494 functions'. Reindent as needed.
1495 * gdb.base/info-var-f1.c: New file.
1496 * gdb.base/info-var-f2.c: New file.
1497 * gdb.base/info-var.exp: New file.
1498 * gdb.base/info-var.h: New file.
1499
15002019-08-26 Tom de Vries <tdevries@suse.de>
1501
1502 PR c++/24852
1503 * gdb.cp/no-libstdcxx-probe.exp: New test.
1504
15052019-08-26 Tom de Vries <tdevries@suse.de>
1506
1507 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
1508 * tests need to be skipped.
1509 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
1510 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
1511 mi_skip_libstdcxx_probe_tests.
1512
15132019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
1514
1515 * gdb.python/py-xmethods.exp: Use raw strings when passing
1516 arguments to SimpleXMethodMatcher.
1517
15182019-08-22 Tom de Vries <tdevries@suse.de>
1519
1520 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
1521 more informative.
1522
15232019-08-21 Pedro Alves <palves@redhat.com>
1524
1525 * gdb.base/with.exp: Test "with" with no arguments.
1526
15272019-08-21 Tom de Vries <tdevries@suse.de>
1528
1529 * gdb.base/gdb-caching-proc.exp: Sort files.
1530
15312019-08-20 Tom de Vries <tdevries@suse.de>
1532
1533 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
1534 compilation.
1535
15362019-08-16 Tom de Vries <tdevries@suse.de>
1537
1538 * gdb.base/compare-sections.exp ("after run to main"): Allow
1539 mismatched read-only sections for PIE executables.
1540
15412019-08-16 Tom Tromey <tom@tromey.com>
1542
1543 * lib/tuiterm.exp (_csi_Z): New proc.
1544 * gdb.tui/basic.exp: Update window positions.
1545 * gdb.tui/empty.exp: Update window positions.
1546
15472019-08-15 Sandra Loosemore <sandra@codesourcery.com>
1548
1549 * gdb.base/examine-backward.exp: Correct regexp for
1550 "examine 3 bytes backward from ${address_zero}".
1551
15522019-08-15 Tom Tromey <tom@tromey.com>
1553
1554 * gdb.tui/empty.exp: Enable resizing tests.
1555
15562019-08-15 Tom Tromey <tromey@adacore.com>
1557
1558 * gdb.ada/char_enum.exp: Add regression tests.
1559 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
1560 and '0'.
1561 (Char, Gchar): Update.
1562 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
1563
15642019-08-15 Christian Biesinger <cbiesinger@google.com>
1565
1566 * gdb.python/python.exp: Expect a leading underscore on
1567 GdbOutput{,Error}File.
1568
15692019-08-15 Sandra Loosemore <sandra@codesourcery.com>
1570
1571 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
1572 Windows host.
1573
15742019-08-15 Sandra Loosemore <sandra@codesourcery.com>
1575
1576 * gdb.base/batch-preserve-term-settings.exp
1577 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
1578
15792019-08-15 Christian Biesinger <cbiesinger@google.com>
1580
1581 * lib/gdb.exp: When running on a mingw target, replace
1582 /x/ with x:/.
1583
15842019-08-14 Alan Hayward <alan.hayward@arm.com>
1585
1586 * gdb.arch/aarch64-prologue.c: New test.
1587 * gdb.arch/aarch64-prologue.exp: New file.
1588
15892019-08-13 Tom de Vries <tdevries@suse.de>
1590
1591 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
1592 Thread.
1593
15942019-08-13 Sandra Loosemore <sandra@codesourcery.com>
1595
1596 * gdb.python/py-completion.exp: Download the .py file to the host
1597 and use its host pathname. Conditionalize tests that use
1598 tab completion and manipulate files on the build machine.
1599 * gdb.python/py-events.exp: Download the .py file to the host
1600 and use its host pathname.
1601 * gdb.python/py-evsignal.exp: Likewise.
1602 * gdb.python/py-evthreads.exp: Likewise.
1603 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
1604 pathname syntax.
1605 * gdb.python/py-framefilter.exp: Download the .py file to the right
1606 place on the host. Match Windows pathname syntax.
1607 * gdb.python/py-mi-var-info-path-expression.exp: Download the
1608 .py file to the host and use its host pathname.
1609 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
1610 * gdb.python/py-objfile.exp: Expect a host pathname, not a
1611 build pathname. Skip symlink test on Windows host. Add missing
1612 newline at end of file.
1613 * gdb.python/py-pp-maint.exp: Download the .py file to the host
1614 and use its host pathname.
1615 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
1616 * gdb.python/py-section-script.exp: Use host location of binfile
1617 on safe-path. Use correct path separator on Windows host.
1618 Reorder alternatives in gdb_test_multiple to prevent matching
1619 the wrong alternative on success.
1620 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
1621
16222019-08-12 Patrick Palka <patrick@parcs.ath.cx>
1623
1624 * gdb.gdb/selftest.exp (test_with_self): Update test to now
1625 expect the GDB inferior to no longer immediately stop after
1626 being resumed with "signal SIGINT".
1627
16282019-08-09 Sandra Loosemore <sandra@codesourcery.com>
1629
1630 * gdb.linespec/break-ask.exp: Generalize regexps to match
1631 Windows pathnames too.
1632
16332019-08-08 Tom de Vries <tdevries@suse.de>
1634
1635 PR testsuite/24862
1636 * lib/tuiterm.exp (_accept): Fix CSI regexp.
1637
16382019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1639
1640 * gdb.base/style.exp: Update tests for help doc new invariants.
1641 * gdb.base/help.exp: Likewise.
1642
16432019-08-06 Tom Tromey <tom@tromey.com>
1644
1645 * gdb.base/style.exp: Add disassemble test.
1646 * gdb.base/style.c (some_called_function): New function.
1647 (main): Use it.
1648
16492019-08-05 Christian Biesinger <cbiesinger@google.com>
1650
1651 * gdb.python/py-block.exp: Test dictionary access on blocks.
1652
16532019-08-05 Simon Marchi <simon.marchi@efficios.com>
1654
1655 PR gdb/24863
1656 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
1657 -list-thread-groups --available test when running under
1658 check-read1.
1659
16602019-08-05 Tom de Vries <tdevries@suse.de>
1661
1662 PR testsuite/24863
1663 * lib/gdb.exp (with_read1_timeout_factor): New proc.
1664 * gdb.base/help.exp: Use with_read1_timeout_factor.
1665 * gdb.base/info-macros.exp: Same.
1666 * gdb.cp/nested-types.exp: Same.
1667
16682019-08-05 Tom de Vries <tdevries@suse.de>
1669
1670 * lib/gdb.exp (version_at_least): Factor out of ...
1671 (tcl_version_at_least): ... here.
1672 (gdb_compile): Fail if pie results in non-PIE executable.
1673 (readelf_version, readelf_prints_pie): New proc.
1674 (exec_is_pie): Return -1 if unknown.
1675
16762019-08-05 Tom de Vries <tdevries@suse.de>
1677
1678 * lib/gdb.exp (tcl_version_at_least): Fix typo.
1679
16802019-08-04 Sandra Loosemore <sandra@codesourcery.com>
1681
1682 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
1683
16842019-08-04 Sandra Loosemore <sandra@codesourcery.com>
1685
1686 * lib/completion-support.exp (test_gdb_complete_none): Skip
1687 tab completion tests if no readline support.
1688 (test_gdb_complete_unique_re): Likewise.
1689 (test_gdb_complete_multiple): Likewise.
1690
16912019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1692
1693 * gdb.base/info_sources.exp: New file.
1694 * gdb.base/info_sources.c: New file.
1695 * gdb.base/info_sources_base.c: New file.
1696
16972019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1698
1699 * gdb.base/batch-exit-status.exp: Call test_exit_status with
1700 prefix argument.
1701 (test_exit_status): Add prefix argument.
1702
17032019-08-01 Tom de Vries <tdevries@suse.de>
1704
1705 PR testsuite/24863
1706 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
1707 calling exp_continue for new thread and thread exited messages.
1708
17092019-08-01 Tom de Vries <tdevries@suse.de>
1710
1711 PR testsuite/24863
1712 * gdb.base/structs.exp: Fix check-read1 timeout using
1713 gdb_test_sequence.
1714 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
1715
17162019-08-01 Tom de Vries <tdevries@suse.de>
1717
1718 PR testsuite/24863
1719 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
1720 line.
1721
17222019-08-01 Tom de Vries <tdevries@suse.de>
1723
1724 PR testsuite/24863
1725 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
1726
17272019-07-30 Tom Tromey <tromey@adacore.com>
1728
1729 * gdb.ada/display_nested.exp: New file.
1730 * gdb.ada/display_nested/foo.adb: New file.
1731 * gdb.ada/display_nested/pack.adb: New file.
1732 * gdb.ada/display_nested/pack.ads: New file.
1733
17342019-07-30 Christian Biesinger <cbiesinger@google.com>
1735
1736 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
1737 namespace.
1738 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
1739
17402019-07-30 Tom de Vries <tdevries@suse.de>
1741
1742 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
1743 instead.
1744
17452019-07-30 Tom de Vries <tdevries@suse.de>
1746
1747 PR testsuite/24834
1748 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
1749 (exec_is_pie): New proc.
1750
17512019-07-29 Christian Biesinger <cbiesinger@google.com>
1752
1753 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
1754
17552019-07-29 Christian Biesinger <cbiesinger@google.com>
1756
1757 * gdb.python/py-objfile.c: Add global and static vars.
1758 * gdb.python/py-objfile.exp: Test new functions Objfile.
1759 lookup_global_symbol and lookup_static_symbol.
1760
17612019-07-29 Tom Tromey <tom@tromey.com>
1762
1763 * lib/tuiterm.exp (Term::_csi_@): New proc.
1764 (Term::_csi_X): Don't move cursor.
1765
17662019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1767
1768 * gdb.base/options.exp: Update backtrace - completion to
1769 new option -frame-info.
1770 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
1771 Test new 'set print frame-info'. Test backtrace -frame-info
1772 overriding 'set print frame-info'.
1773 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
1774 Test new 'set print frame-info'.
1775 Verify consistency of backtrace with and without filters, with and
1776 without -no-filters.
1777 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
1778 default.
1779
17802019-07-29 Tom de Vries <tdevries@suse.de>
1781
1782 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
1783 no arguments".
1784
17852019-07-29 Tom de Vries <tdevries@suse.de>
1786
1787 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
1788 is a substring of the first for "complete non-unique file name".
1789
17902019-07-29 Tom de Vries <tdevries@suse.de>
1791
1792 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
1793 with ".*".
1794
17952019-07-29 Tom de Vries <tdevries@suse.de>
1796
1797 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
1798 Pass prompt_regexp parameter to gdb_test_multiple calls.
1799
18002019-07-29 Tom de Vries <tdevries@suse.de>
1801
1802 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
1803 print registers" regexps.
1804
18052019-07-29 Tom de Vries <tdevries@suse.de>
1806
1807 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
1808
18092019-07-29 Tom de Vries <tdevries@suse.de>
1810
1811 PR gdb/24855
1812 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
1813 (skip_python_tests_prompt): Add prompt_regexp argument to
1814 gdb_test_multiple calls.
1815
18162019-07-27 Tom Tromey <tom@tromey.com>
1817
1818 * gdb.tui/main.exp: New file.
1819
18202019-07-27 Tom Tromey <tom@tromey.com>
1821
1822 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
1823 optional.
1824 * gdb.tui/empty.exp: New file.
1825
18262019-07-27 Tom Tromey <tom@tromey.com>
1827
1828 * lib/tuiterm.exp (spawn): New proc.
1829 (Term::resize): New proc.
1830 * gdb.tui/resize.exp: New file.
1831
18322019-07-27 Tom Tromey <tom@tromey.com>
1833
1834 * gdb.tui/list.exp: New file.
1835
18362019-07-27 Tom Tromey <tom@tromey.com>
1837
1838 * gdb.tui/regs.exp: New file.
1839
18402019-07-27 Tom Tromey <tom@tromey.com>
1841
1842 * gdb.tui/basic.exp: Add "layout split" test.
1843
18442019-07-27 Tom Tromey <tom@tromey.com>
1845
1846 * gdb.tui/basic.exp: Add "layout asm" test.
1847
18482019-07-27 Tom Tromey <tom@tromey.com>
1849
1850 * lib/tuiterm.exp: New file.
1851 * gdb.tui/basic.exp: New file.
1852
18532019-07-27 Kevin Buettner <kevinb@redhat.com>
1854
1855 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
1856 Enable tests associated with this flag. Adjust regex
1857 referencing "foo_low" to now refer to "foo_cold" instead.
1858
18592019-07-27 Kevin Buettner <kevinb@redhat.com>
1860
1861 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
1862 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
1863 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
1864 foo_cold. Revise comments to match.
1865 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
1866 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
1867 were wrapped into this proc; Call do_test in loop from outermost
1868 level.
1869 (foo_low): Rename all occurrences to "foo_cold".
1870 (backtrace from baz): New test.
1871 (x2/i foo_cold): New test.
1872 (info line *foo_cold): New test.
1873
18742019-07-26 Tom de Vries <tdevries@suse.de>
1875
1876 * gdb.arch/i386-pkru.exp: Fix unterminated string.
1877
18782019-07-25 Tom de Vries <tdevries@suse.de>
1879
1880 PR testsuite/24830
1881 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
1882 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
1883 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
1884 (skip_libstdcxx_probe_tests): ... here.
1885 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
1886
18872019-07-24 Tom de Vries <tdevries@suse.de>
1888
1889 PR testsuite/24807
1890 * gdb.objc/basicclass.m: Include stdio.h.
1891 * gdb.objc/nondebug.m: Same.
1892 * gdb.objc/objcdecode.m: Same.
1893
18942019-07-24 Tom de Vries <tdevries@suse.de>
1895
1896 PR testsuite/24612
1897 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
1898 additional_flags.
1899
19002019-07-24 Tom de Vries <tdevries@suse.de>
1901
1902 PR testsuite/24831
1903 * gdb.multi/tids.exp: Update error messages for info threads.
1904
19052019-07-24 Tom de Vries <tdevries@suse.de>
1906
1907 * gdb.base/info-types.exp: Allow info types to print info for more than
1908 one file.
1909
19102019-07-23 Tom de Vries <tdevries@suse.de>
1911
1912 PR testsuite/24842
1913 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
1914 gdb_spawn_with_cmdline_opts.
1915
19162019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
1917
1918 * gdb.arch/arm-cmse-sgstubs.c: New test.
1919 * gdb.arch/arm-cmse-sgstubs.exp: New file.
1920
19212019-07-23 Tom de Vries <tdevries@suse.de>
1922
1923 PR testsuite/24711
1924 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
1925 issuing next command.
1926
19272019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
1928
1929 * gdb.ada/info_auto_lang.exp: Update expected results.
1930 * gdb.base/info-types.c: Add additional types to check.
1931 * gdb.base/info-types.exp: Update expected results.
1932
19332019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
1934
1935 * gdb.base/info-types.c: New file.
1936 * gdb.base/info-types.exp: New file.
1937
19382019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
1939
1940 * gdb.arch/riscv-bp-infcall.c: New file.
1941 * gdb.arch/riscv-bp-infcall.exp: New file.
1942
19432019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
1944
1945 PR breakpoints/24541
1946 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
1947
19482019-07-14 Tom de Vries <tdevries@suse.de>
1949
1950 PR testsuite/24760
1951 * gdb.objc/basicclass.exp: Fix unterminated string.
1952
19532019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
1954 Andrew Burgess <andrew.burgess@embecosm.com>
1955
1956 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
1957 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
1958 negative bounds.
1959 * gdb.fortran/vla-value.exp: Print elements of an array with
1960 negative bounds.
1961 * gdb.fortran/vla.f90: Setup an array with negative bounds for
1962 testing.
1963
19642019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
1965
1966 * gdb.base/options.exp (expect_string): Dequote strings in
1967 results.
1968 (test-string): Test strings with different quoting and reindent.
1969
19702019-07-10 Tom Tromey <tromey@adacore.com>
1971
1972 * gdb.ada/mi_ex_cond.exp: Update expected results.
1973 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
1974 * gdb.ada/mi_catch_ex.exp: Update expected results.
1975 * gdb.ada/mi_catch_assert.exp: Update expected results.
1976 * gdb.ada/catch_ex.exp (catch_exception_info)
1977 (catch_exception_entry, catch_assert_entry)
1978 (catch_unhandled_entry): Update.
1979 * gdb.ada/catch_assert_if.exp: Update expected results.
1980
19812019-07-10 Richard Bunt <richard.bunt@arm.com>
1982 Stephen Roberts <stephen.roberts@arm.com>
1983
1984 * gdb.base/define.exp: Restore original prompt.
1985
19862019-07-09 Pedro Alves <palves@redhat.com>
1987
1988 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
1989 breakpoints" output.
1990 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
1991 * gdb.python/py-breakpoint.exp: No longer expect that "catch
1992 throw" creates breakpoint.
1993 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
1994 'type="catchpoint"'.
1995
19962019-07-09 Pedro Alves <palves@redhat.com>
1997
1998 PR c++/15468
1999 * gdb.cp/except-multi-location-lib.cc: New.
2000 * gdb.cp/except-multi-location-main.cc: New.
2001 * gdb.cp/except-multi-location.exp: New.
2002
20032019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
2004
2005 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
2006 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
2007 argument and update callers.
2008
20092019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
2010
2011 * gdb.arch/amd64-break-on-asm-line.S: New file.
2012 * gdb.arch/amd64-break-on-asm-line.exp: New file.
2013
20142019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2015
2016 * gdb.base/printcmds.exp: Test printing C string and
2017 C wide string convenience vars without transiting via the inferior.
2018 Also make test names unique.
2019
20202019-07-08 Alan Hayward <alan.hayward@arm.com>
2021
2022 PR breakpoints/25011
2023 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
2024
20252019-07-04 Pedro Alves <palves@redhat.com>
2026
2027 * lib/gdb.exp (foreach_with_prefix): Don't return early if
2028 body returned ok(0), break(3) or continue(4).
2029 * gdb.testsuite/foreach_with_prefix.exp: New file.
2030
20312019-07-04 Alan Hayward <alan.hayward@arm.com>
2032
2033 * gdb.server/unittest.exp: Allow 0 unit tests to run.
2034
20352019-07-03 Pedro Alves <palves@redhat.com>
2036
2037 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
2038 "return -code".
2039
20402019-07-03 Pedro Alves <palves@redhat.com>
2041
2042 PR cli/24732
2043 * gdb.base/shell.exp: Load completion-support.exp.
2044 Adjust expected error output. Add completion tests.
2045
20462019-07-03 Pedro Alves <palves@redhat.com>
2047
2048 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
2049 string_to_regexp.
2050
20512019-07-03 Pedro Alves <palves@redhat.com>
2052
2053 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
2054 (expect_integer): Adjust to expect "-string".
2055 (expect_string): New.
2056 (all_options): Expect "-string".
2057 (test-flag, test-boolean): Adjust to expect "-string".
2058 (test-string): New proc.
2059 (top level): Call it.
2060
20612019-07-03 Pedro Alves <palves@redhat.com>
2062
2063 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
2064 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
2065 the expected output in the success.
2066
20672019-07-03 Pedro Alves <palves@redhat.com>
2068
2069 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
2070 Split one gdb_test_multiple call in two to avoid a race.
2071
20722019-07-03 Pedro Alves <palves@redhat.com>
2073
2074 * gdb.base/with.c: New file.
2075 * gdb.base/with.exp: New file.
2076
20772019-07-03 Pedro Alves <palves@redhat.com>
2078
2079 * gdb.base/settings.exp: Replace all references to "maint
2080 test-settings set" with references to "maint set test-settings",
2081 and all references to "maint test-settings show" with references
2082 to "maint show test-settings".
2083
20842019-07-03 Pedro Alves <palves@redhat.com>
2085
2086 * gdb.base/settings.exp (test-string): Adjust expected out when
2087 testing "maint test-settings show filename"
2088
20892019-07-02 Pedro Alves <palves@redhat.com>
2090
2091 * gdb.base/options.exp (test-info-threads): New procedure.
2092 (top level): Call it.
2093
20942019-06-28 Tom Tromey <tromey@adacore.com>
2095
2096 * gdb.dwarf2/ada-linkage-name.c: New file.
2097 * gdb.dwarf2/ada-linkage-name.exp: New file.
2098
20992019-06-27 Tom Tromey <tromey@adacore.com>
2100
2101 PR c++/20020:
2102 * gdb.cp/constexpr-field.exp: Use setup_xfail.
2103
21042019-06-26 Tom de Vries <tdevries@suse.de>
2105
2106 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
2107
21082019-06-26 Tom de Vries <tdevries@suse.de>
2109
2110 * gdb.base/index-cache.exp: Add back missing debug option.
2111
21122019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2113
2114 * gdb.base/alias.exp: Test non matching/non existing prefixes.
2115
21162019-06-25 Tom de Vries <tdevries@suse.de>
2117
2118 PR testsuite/24727
2119 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
2120
21212019-06-24 Tom de Vries <tdevries@suse.de>
2122
2123 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
2124
21252019-06-24 Tom de Vries <tdevries@suse.de>
2126
2127 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
2128 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
2129 * gdb.trace/unavailable-dwarf-piece.exp: Same.
2130
21312019-06-24 Tom de Vries <tdevries@suse.de>
2132
2133 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
2134
21352019-06-21 Tom de Vries <tdevries@suse.de>
2136
2137 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
2138
21392019-06-21 Tom de Vries <tdevries@suse.de>
2140
2141 PR testsuite/24518
2142 PR ada/24713
2143 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
2144 index.
2145
21462019-06-19 Tom Tromey <tromey@adacore.com>
2147
2148 * gdb.ada/length_cond.exp: Add intro comment.
2149
21502019-06-19 Tom Tromey <tromey@adacore.com>
2151
2152 * gdb.ada/length_cond.exp: New file.
2153 * gdb.ada/length_cond/length_cond.adb: New file.
2154 * gdb.ada/length_cond/pck.adb: New file.
2155 * gdb.ada/length_cond/pck.ads: New file.
2156
21572019-06-18 Tom de Vries <tdevries@suse.de>
2158
2159 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
2160
21612019-06-18 Tom Tromey <tromey@adacore.com>
2162
2163 * gdb.base/list0.h: Add comment explaining control character.
2164
21652019-06-18 Tom de Vries <tdevries@suse.de>
2166
2167 * boards/fission.exp: Break up long debug_flags line.
2168
21692019-06-16 Tom de Vries <tdevries@suse.de>
2170
2171 PR gdb/24445
2172 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
2173 generated index.
2174
21752019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
2176
2177 PR gdb/24686
2178 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
2179 improve detection of bug gdb/24541.
2180
21812019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
2182
2183 PR gdb/24669
2184 * gdb.base/index-cache.exp (uses_readnow,
2185 expecting_index_cache_use): Define global variable.
2186 (test_cache_enabled_miss, test_cache_enabled_hit): Use
2187 expecting_index_cache_use.
2188
21892019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
2190 Andrew Burgess <andrew.burgess@embecosm.com>
2191
2192 * gdb.fortran/pointers.f90: New file.
2193 * gdb.fortran/print_type.exp: New file.
2194 * gdb.fortran/vla-ptype.exp: Adapt expected results.
2195 * gdb.fortran/vla-type.exp: Likewise.
2196 * gdb.fortran/vla-value.exp: Likewise.
2197 * gdb.mi/mi-vla-fortran.exp: Likewise.
2198
21992019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2200
2201 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
2202 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
2203 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
2204 as a stop reason.
2205
22062019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2207
2208 * gdb.base/annota1.exp: Update expected results.
2209 * gdb.cp/annota2.exp: Likewise.
2210 * gdb.cp/annota3.exp: Likewise.
2211
22122019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2213
2214 * gdb.base/style-logging.exp: Remove path from test name.
2215
22162019-06-14 Tom Tromey <tromey@adacore.com>
2217
2218 PR gdb/24502:
2219 * gdb.base/style-logging.exp: New file.
2220
22212019-06-14 Tom Tromey <tromey@adacore.com>
2222
2223 * gdb.base/symfile-warn.exp: New file.
2224 * gdb.base/symfile-warn.c: New file.
2225
22262019-06-14 Tom Tromey <tromey@adacore.com>
2227
2228 * gdb.base/annotate-symlink.exp: New file.
2229
22302019-06-14 Tom Tromey <tromey@adacore.com>
2231
2232 * gdb.ada/set_wstr.exp: Add reassignment test.
2233
22342019-06-14 Tom Tromey <tromey@adacore.com>
2235
2236 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
2237 'unchecked_access and 'unrestricted_access as well.
2238
22392019-06-14 Tom Tromey <tromey@adacore.com>
2240
2241 PR ada/24539:
2242 * gdb.ada/vla.exp: Update tests.
2243 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
2244 pragma.
2245
22462019-06-13 Pedro Alves <palves@redhat.com>
2247
2248 * gdb.base/settings.exp (test-integer): Test junk after
2249 "unlimited".
2250
22512019-06-13 Pedro Alves <palves@redhat.com>
2252
2253 * gdb.base/options.exp (test-thread-apply): New.
2254 (top level): Call it.
2255
22562019-06-13 Pedro Alves <palves@redhat.com>
2257
2258 * gdb.base/options.exp (test-frame-apply): New.
2259 (top level): Test print commands with different "frame apply"
2260 prefixes.
2261
22622019-06-13 Pedro Alves <palves@redhat.com>
2263
2264 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
2265 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
2266 'max_completions' parameter and handle it.
2267 (test_gdb_completion_offers_commands): New.
2268
22692019-06-13 Pedro Alves <palves@redhat.com>
2270
2271 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
2272
22732019-06-13 Pedro Alves <palves@redhat.com>
2274
2275 * gdb.base/options.exp (test-backtrace): New.
2276 (top level): Call it.
2277
22782019-06-13 Pedro Alves <palves@redhat.com>
2279
2280 * gdb.guile/scm-frame-args.exp: Use "set print
2281 raw-frame-arguments" instead of "set print raw frame-arguments".
2282 * gdb.python/py-frame-args.exp: Likewise.
2283
22842019-06-13 Pedro Alves <palves@redhat.com>
2285
2286 * gdb.compile/compile.exp: Adjust expected output to option
2287 processing changes.
2288
22892019-06-13 Pedro Alves <palves@redhat.com>
2290
2291 * gdb.base/options.exp: Build executable.
2292 (test-print): New procedure.
2293 (top level): Call it, once for "print" and another for "compile
2294 print".
2295
22962019-06-13 Pedro Alves <palves@redhat.com>
2297
2298 * gdb.base/options.c: New file.
2299 * gdb.base/options.exp: New file.
2300
23012019-06-13 Pedro Alves <palves@redhat.com>
2302
2303 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
2304 that "o" is ambiguous.
2305
23062019-06-13 Pedro Alves <palves@redhat.com>
2307
2308 * gdb.base/settings.c: New file.
2309 * gdb.base/settings.exp: New file.
2310
23112019-06-13 Pedro Alves <palves@redhat.com>
2312
2313 * gdb.base/completion.exp: Fix comment typo.
2314
23152019-06-13 Pedro Alves <palves@redhat.com>
2316
2317 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
2318 foo --1" test.
2319
23202019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
2321
2322 * gdb.fortran/block-data.f: New.
2323 * gdb.fortran/block-data.exp: New.
2324
23252019-06-11 Tom de Vries <tdevries@suse.de>
2326
2327 PR testsuite/24521
2328 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
2329 message.
2330
23312019-06-11 Tom de Vries <tdevries@suse.de>
2332
2333 PR testsuite/24521
2334 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
2335
23362019-06-11 Tom de Vries <tdevries@suse.de>
2337
2338 * boards/readnow.exp: New file.
2339
23402019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
2341
2342 * gdb.fortran/vla-sizeof.exp: Update expected results.
2343
23442019-06-06 Amos Bird <amosbird@gmail.com>
2345
2346 * gdb.base/annota1.exp (thread_switch): Add test for
2347 thread-exited annotation.
2348
23492019-06-06 Tom Tromey <tromey@adacore.com>
2350
2351 * gdb.base/maint.exp: Expect command started/finished output.
2352
23532019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
2354
2355 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
2356 comment.
2357 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
2358
23592019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
2360
2361 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
2362 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
2363 * gdb.arch/riscv-unwind-long-insn.c: New file.
2364 * gdb.arch/riscv-unwind-long-insn.exp: New file.
2365
23662019-06-04 Christian Biesinger <cbiesinger@google.com>
2367
2368 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
2369
23702019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2371
2372 * lib/gdb.exp (help_list_trailer): New regexp variable
2373 factorizing the help trailer message.
2374 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
2375 arg to allow to better factorize various tests.
2376 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
2377 (test_prefix_command_help): Use help_list_trailer.
2378 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
2379 * gdb.guile/scm-cmd.exp: Likewise.
2380 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
2381 * gdb.base/help.exp: Use test_user_defined_class_help.
2382 * gdb.base/style.exp: Add tests for styling of help and apropos.
2383 * lib/gdb-utils.exp (style): Add title and highlight styles.
2384
23852019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2386
2387 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
2388 $_shell_exitsignal.
2389 * gdb.base/default.exp: Update for new convenience variables.
2390
23912019-05-29 Tom Tromey <tromey@adacore.com>
2392
2393 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
2394 to "break complete ada" test case's regexp.
2395
23962019-05-29 Tom Tromey <tromey@adacore.com>
2397
2398 PR c++/20020:
2399 * gdb.cp/constexpr-field.exp: New file.
2400 * gdb.cp/constexpr-field.cc: New file.
2401
24022019-05-29 Tom Tromey <tromey@adacore.com>
2403
2404 * gdb.base/finish.exp (finish_no_print): New proc.
2405 (finish_tests): Call it.
2406
24072019-05-24 Tom de Vries <tdevries@suse.de>
2408
2409 * gdb.dwarf2/gdb-add-index.exp: New file.
2410
24112019-05-22 Tom Tromey <tromey@adacore.com>
2412
2413 * gdb.base/info-shared.exp (check_info_shared): Use "style".
2414 * gdb.base/style.exp: Use "style".
2415 * lib/gdb-utils.exp (style): New proc.
2416
24172019-05-22 Tom de Vries <tdevries@suse.de>
2418
2419 * gdb.base/align.exp: Require c++11.
2420
24212019-05-22 Tom de Vries <tdevries@suse.de>
2422
2423 PR testsuite/24586
2424 * gdb.python/py-mi-var-info-path-expression.exp: Call
2425 mi_skip_python_tests to check if python is supported.
2426
24272019-05-22 Alan Hayward <alan.hayward@arm.com>
2428
2429 * gdb.arch/aarch64-pauth.c: New test.
2430 * gdb.arch/aarch64-pauth.exp: New file.
2431
24322019-05-22 Alan Hayward <alan.hayward@arm.com>
2433
2434 * README (Re-running Tests Outside The Testsuite): New section.
2435
24362019-05-21 Tom de Vries <tdevries@suse.de>
2437
2438 * gdb.arch/amd64-eval.exp: Require c++11.
2439 * gdb.base/max-depth.exp: Same.
2440 * gdb.compile/compile-cplus-array-decay.exp: Same.
2441 * gdb.cp/meth-typedefs.exp: Same.
2442 * gdb.cp/subtypes.exp: Same.
2443 * gdb.cp/temargs.exp: Same.
2444
24452019-05-21 Alan Hayward <alan.hayward@arm.com>
2446
2447 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
2448
24492019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
2450
2451 PR gdb/18644
2452 * gdb.fortran/complex.exp: Remove setup_kfail calls.
2453 * gdb.fortran/printing-types.exp: Add new test.
2454 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
2455 testing.
2456 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
2457 setup_kfail call.
2458
24592019-05-17 Alan Hayward <alan.hayward@arm.com>
2460
2461 * README (Running the Testsuite): Change example.
2462 (Testsuite Parameters): Remove TRANSCRIPT.
2463 * lib/gdb.exp: Remove TRANSCRIPT check.
2464
24652019-05-17 Alan Hayward <alan.hayward@arm.com>
2466
2467 * README (Testsuite Parameters): Add replay logging to
2468 GDBSERVER_DEBUG.
2469 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
2470 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
2471 as a comma separated list.
2472 (gdb_debug_init): Override procedure.
2473
24742019-05-17 Alan Hayward <alan.hayward@arm.com>
2475
2476 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
2477 (gdb_write_cmd_file): New procedure.
2478 * lib/gdbserver-support.exp (gdbserver_start): Call
2479 gdbserver_write_cmd_file.
2480 (gdbserver_write_cmd_file): New procedure.
2481
24822019-05-17 Alan Hayward <alan.hayward@arm.com>
2483
2484 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
2485 (delete_breakpoints): Likewise.
2486 (gdb_run_cmd): Likewise.
2487 (gdb_start_cmd): Likewise.
2488 (gdb_starti_cmd): Likewise.
2489 (gdb_internal_error_resync): Likewise.
2490 (gdb_test_multiple): Likewise.
2491 (gdb_reinitialize_dir): Likewise.
2492 (default_gdb_exit): Likewise.
2493 (gdb_file_cmd): Mark kill as optional.
2494 (default_gdb_start): Call gdb_stdin_log_init.
2495 (send_gdb): Call gdb_stdin_log_write.
2496 (rerun_to_main): Mark Y as an answer.
2497 (gdb_stdin_log_init): New function.
2498 (gdb_stdin_log_write): Likewise.
2499
25002019-05-17 Alan Hayward <alan.hayward@arm.com>
2501
2502 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
2503 * gdb.base/debug-expr.exp: Likewise.
2504 * gdb.base/foll-fork.exp: Likewise.
2505 * gdb.base/foll-vfork.exp: Likewise.
2506 * gdb.base/fork-print-inferior-events.exp: Likewise.
2507 * gdb.base/gdb-sigterm.exp: Likewise.
2508 * gdb.base/gdbinit-history.exp: Likewise.
2509 * gdb.base/osabi.exp: Likewise.
2510 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
2511 * gdb.base/ui-redirect.exp: Likewise.
2512 * gdb.gdb/unittest.exp: Likewise.
2513 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
2514 * gdb.mi/mi-watch.exp: Likewise.
2515 * gdb.mi/new-ui-mi-sync.exp: Likewise.
2516 * gdb.mi/user-selected-context-sync.exp: Likewise.
2517 * gdb.python/python.exp: Disable debug test when debugging.
2518 * gdb.threads/check-libthread-db.exp: Disable when debugging.
2519 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2520 Likewise.
2521 * gdb.threads/stepi-random-signal.exp: Likewise.
2522
25232019-05-17 Alan Hayward <alan.hayward@arm.com>
2524
2525 * Makefile.in: Pass through GDB_DEBUG.
2526 * README (Testsuite Parameters): Add GDB_DEBUG.
2527 (gdb,debug): Add board setting.
2528 * lib/gdb.exp (default_gdb_start): Start debugging.
2529 (gdb_debug_enabled): New procedure.
2530 (gdb_debug_init): Likewise.
2531
25322019-05-17 Alan Hayward <alan.hayward@arm.com>
2533
2534 * Makefile.in: Pass through GDB_DEBUG.
2535 * README (Testsuite Parameters): Add GDB_DEBUG.
2536 (gdb,debug): Add board setting.
2537 * lib/gdb.exp (default_gdb_start): Start debugging.
2538 (gdb_debug_enabled): New procedure.
2539 (gdb_debug_init): Likewise.
2540
25412019-05-17 Alan Hayward <alan.hayward@arm.com>
2542
2543 * gdb.base/ui-redirect.exp: Add debug redirect tests.
2544
25452019-05-17 Alan Hayward <alan.hayward@arm.com>
2546
2547 * gdb.base/ui-redirect.exp: Test redirection.
2548
25492019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
2550
2551 * gdb.mi/mi-complete.exp: New file.
2552 * gdb.mi/mi-complete.cc: Likewise.
2553
25542019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
2555
2556 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
2557 indexed and sliced arrays, and pointers to arrays.
2558
25592019-05-14 Tom Tromey <tromey@adacore.com>
2560
2561 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
2562 styling test.
2563
25642019-05-14 Tom de Vries <tdevries@suse.de>
2565
2566 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
2567 selection entry encoding.
2568
25692019-05-10 Tom Tromey <tromey@adacore.com>
2570
2571 * gdb.ada/info_exc.exp: Add "complete" test.
2572
25732019-05-09 Tom de Vries <tdevries@suse.de>
2574
2575 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
2576 CU-relative.
2577
25782019-05-09 Tom de Vries <tdevries@suse.de>
2579
2580 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
2581 CU-relative.
2582
25832019-05-08 Joel Brobecker <brobecker@adacore.com>
2584
2585 * gdb.ada/frame_arg_lang.exp: New testcase.
2586 * gdb.ada/frame_arg_lang/bla.adb: New file.
2587 * gdb.ada/frame_arg_lang/pck.ads: New file.
2588 * gdb.ada/frame_arg_lang/pck.adb: New file.
2589 * gdb.ada/frame_arg_lang/foo.c: New file.
2590
25912019-05-08 Tom Tromey <tromey@adacore.com>
2592
2593 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
2594
25952019-05-08 Tom Tromey <tromey@adacore.com>
2596
2597 * gdb.base/ptype-offsets.exp: Update tests.
2598
25992019-05-08 Tom Tromey <tromey@adacore.com>
2600
2601 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
2602 cases.
2603 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
2604 "short".
2605
26062019-05-08 Tom Tromey <tromey@adacore.com>
2607
2608 * gdb.ada/vla.exp: New file.
2609 * gdb.ada/vla/vla.adb: New file.
2610
26112019-05-07 Tom de Vries <tdevries@suse.de>
2612
2613 * gdb.base/index-cache.exp (ls_host): Fix return statement.
2614
26152019-05-07 Tom de Vries <tdevries@suse.de>
2616
2617 PR testsuite/24522
2618 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
2619 section.
2620
26212019-05-07 Tom de Vries <tdevries@suse.de>
2622
2623 PR testsuite/24522
2624 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
2625 .debug_aranges section.
2626
26272019-05-07 Tom de Vries <tdevries@suse.de>
2628
2629 PR testsuite/24159
2630 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
2631
26322019-05-06 Tom de Vries <tdevries@suse.de>
2633
2634 * lib/gdb.exp (exec_has_index_section): New proc.
2635 * gdb.base/index-cache.exp: Handle case that binfile contains an index
2636 section.
2637
26382019-05-04 Tom de Vries <tdevries@suse.de>
2639
2640 * boards/cc-with-debug-names.exp: New file.
2641
26422019-05-03 Tom Tromey <tromey@adacore.com>
2643
2644 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
2645 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
2646 * gdb.ada/char_enum.exp: Add test.
2647
26482019-05-03 Tom de Vries <tdevries@suse.de>
2649
2650 * boards/cc-with-gdb-index.exp: New file.
2651
26522019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
2653
2654 * gdb.rust/simple.exp: Add new test case.
2655 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
2656 (main): Initialise an instance of the new struct.
2657
26582019-05-01 Tom Tromey <tromey@adacore.com>
2659
2660 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
2661 record.
2662 (NPR): New variable.
2663 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
2664 test.
2665
26662019-05-01 Tom Tromey <tromey@adacore.com>
2667
2668 * gdb.ada/packed_array_assign.exp: Add packed assignment
2669 regression test.
2670
26712019-05-01 Tom de Vries <tdevries@suse.de>
2672
2673 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
2674
26752019-05-01 Tom de Vries <tdevries@suse.de>
2676
2677 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
2678
26792019-04-30 Ali Tamur <tamur@google.com>
2680
2681 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
2682
26832019-04-30 Tom Tromey <tromey@adacore.com>
2684
2685 * lib/ada.exp (find_ada_tool): New proc.
2686 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
2687 * gdb.ada/catch_ex_std.exp: New file.
2688 * gdb.ada/catch_ex_std/foo.adb: New file.
2689 * gdb.ada/catch_ex_std/some_package.adb: New file.
2690 * gdb.ada/catch_ex_std/some_package.ads: New file.
2691
26922019-04-30 Tom Tromey <tromey@adacore.com>
2693
2694 PR c++/24470:
2695 * gdb.cp/temargs.cc: Add test code from PR.
2696
26972019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2698
2699 * gdb.fortran/vla-datatypes.exp: Update expected results.
2700 * gdb.fortran/vla-ptype.exp: Likewise.
2701 * gdb.fortran/vla-type.exp: Likewise.
2702 * gdb.fortran/vla-value.exp: Likewise.
2703
27042019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2705
2706 * gdb.fortran/ptr-indentation.exp: Update expected results.
2707 * gdb.fortran/ptype-on-functions.exp: Likewise.
2708 * gdb.fortran/vla-ptr-info.exp: Likewise.
2709 * gdb.fortran/vla-value.exp: Likewise.
2710
27112019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2712
2713 * gdb.fortran/ptype-on-functions.exp: New file.
2714 * gdb.fortran/ptype-on-functions.f90: New file.
2715
27162019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2717
2718 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
2719 case void string.
2720
27212019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2722
2723 * gdb.fortran/complex.exp: Expand.
2724 * gdb.fortran/complex.f: Renamed to...
2725 * gdb.fortran/complex.f90: ...this, and extended to add more
2726 complex values.
2727
27282019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2729
2730 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
2731 MODULO, CMPLX.
2732
27332019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
2734 Richard Bunt <richard.bunt@arm.com>
2735
2736 * gdb.base/max-depth.c: New file.
2737 * gdb.base/max-depth.exp: New file.
2738 * gdb.python/py-nested-maps.c: New file.
2739 * gdb.python/py-nested-maps.exp: New file.
2740 * gdb.python/py-nested-maps.py: New file.
2741 * gdb.python/py-format-string.exp (test_max_depth): New proc.
2742 (test_all_common): Call test_max_depth.
2743 * gdb.fortran/max-depth.exp: New file.
2744 * gdb.fortran/max-depth.f90: New file.
2745 * gdb.go/max-depth.exp: New file.
2746 * gdb.go/max-depth.go: New file.
2747 * gdb.modula2/max-depth.exp: New file.
2748 * gdb.modula2/max-depth.c: New file.
2749 * lib/gdb.exp (get_print_expr_at_depths): New proc.
2750
27512019-04-29 Tom de Vries <tdevries@suse.de>
2752
2753 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
2754
27552019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2756
2757 * gdb.base/callexit.exp: Test may-call-functions off.
2758
27592019-04-25 Keith Seitz <keiths@redhat.com>
2760
2761 PR c++/24367
2762 * gdb.cp/meth-typedefs.cc (incomplete_struct)
2763 (another_incomplete_struct, test_incomplete): New definitions.
2764 (main): Use new definitions.
2765 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
2766 functions.
2767
27682019-04-25 Ali Tamur <tamur@google.com>
2769
2770 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
2771
27722019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
2773
2774 PR corefiles/11608
2775 PR corefiles/18187
2776 * gdb.base/coredump-filter-build-id.exp: New file.
2777
27782019-04-25 Alan Hayward <alan.hayward@arm.com>
2779
2780 * Makefile.in: Pass through GDBSERVER_DEBUG.
2781 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
2782 (gdbserver,debug): Add board setting.
2783 * gdb.trace/tspeed.exp: Skip when debugging.
2784 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
2785 * lib/gdbserver-support.exp: Likewise
2786
27872019-04-24 Tom Tromey <tromey@adacore.com>
2788
2789 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
2790 Rust.
2791
27922019-04-24 Tom Tromey <tromey@adacore.com>
2793
2794 * gdb.arch/amd64-eval.exp: Test bitfield return.
2795 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
2796 (class Foo) <return_bitfields>: New method.
2797 (main): Call it.
2798
27992019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
2800
2801 * gdb.cp/many-args.cc: New file.
2802 * gdb.cp/many-args.exp: New file.
2803
28042019-04-23 Tom de Vries <tdevries@suse.de>
2805
2806 PR gdb/24433
2807 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
2808
28092019-04-23 Alan Hayward <alan.hayward@arm.com>
2810
2811 * gdb.trace/backtrace.exp: Use nopie flag.
2812 * gdb.trace/circ.exp: Likewise.
2813 * gdb.trace/collection.exp: Likewise.
2814 * gdb.trace/ftrace.exp: Likewise.
2815 * gdb.trace/mi-trace-unavailable.exp: Likewise.
2816 * gdb.trace/mi-traceframe-changed.exp: Likewise.
2817 * gdb.trace/qtro.exp: Likewise.
2818 * gdb.trace/read-memory.exp: Likewise.
2819 * gdb.trace/report.exp: Likewise.
2820 * gdb.trace/tfile.exp: Likewise.
2821 * gdb.trace/tfind.exp: Likewise.
2822 * gdb.trace/unavailable.exp: Likewise.
2823
28242019-04-22 Pedro Alves <palves@redhat.com>
2825
2826 * gdb.base/solib-probes-nosharedlibrary.c,
2827 gdb.base/solib-probes-nosharedlibrary.exp: New files.
2828
28292019-04-19 Tom Tromey <tromey@adacore.com>
2830
2831 * gdb.ada/ptype_union.c: New file.
2832 * gdb.ada/ptype_union.exp: New file.
2833
28342019-04-19 Tom Tromey <tromey@adacore.com>
2835
2836 PR symtab/24423:
2837 * gdb.base/list0.h (foo): Add a control-l character.
2838
28392019-04-18 Tom de Vries <tdevries@suse.de>
2840
2841 PR gdb/24433
2842 * boards/local-board.exp: Set sysroot to "".
2843
28442019-04-18 Tom de Vries <tdevries@suse.de>
2845 Pedro Alves <palves@redhat.com>
2846
2847 PR gdb/24454
2848 * gdb.threads/vfork-follow-child-exec.c: New file.
2849 * gdb.threads/vfork-follow-child-exec.exp: New file.
2850 * gdb.threads/vfork-follow-child-exit.c: New file.
2851 * gdb.threads/vfork-follow-child-exit.exp: New file.
2852
28532019-04-15 Leszek Swirski <leszeks@google.com>
2854
2855 * gdb.arch/amd64-eval.cc: New file.
2856 * gdb.arch/amd64-eval.exp: New file.
2857
28582019-04-11 Alan Hayward <alan.hayward@arm.com>
2859
2860 * gdb.server/sysroot.c: New test.
2861 * gdb.server/sysroot.exp: New file.
2862 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
2863 matching param.
2864
28652019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
2866
2867 * gdb.base/align.exp: Extend test to cover structures containing
2868 only static fields.
2869
28702019-04-11 Tom de Vries <tdevries@suse.de>
2871
2872 * boards/cc-with-dwz-m.exp: New file.
2873 * boards/cc-with-dwz.exp: New file.
2874 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
2875
28762019-04-09 Simon Marchi <simon.marchi@efficios.com>
2877
2878 * gdb.base/start-cpp.exp: New file.
2879 * gdb.base/start-cpp.cc: New file.
2880
28812019-04-08 Kevin Buettner <kevinb@redhat.com>
2882
2883 * gdb.python/py-thrhandle.exp: Adjust tests to call
2884 thread_from_handle instead of thread_from_thread_handle.
2885
28862019-04-08 Kevin Buettner <kevinb@redhat.com>
2887
2888 * gdb.python/py-thrhandle.exp: Add tests for
2889 gdb.InferiorThread.handle.
2890
28912019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
2892
2893 * gdb.python/py-function.exp: Check calling helper function from
2894 all languages.
2895 * lib/gdb.exp (gdb_supported_languages): New proc.
2896
28972019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
2898
2899 * gdb.base/complex-parts.c: New file.
2900 * gdb.base/complex-parts.exp: New file.
2901
29022019-04-01 Tom Tromey <tromey@adacore.com>
2903
2904 PR symtab/23331:
2905 * gdb.dwarf2/dw2-ranges-main.c: New file.
2906 * gdb.dwarf2/dw2-ranges-psym.c: New file.
2907 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
2908
29092019-03-30 Simon Marchi <simark@simark.ca>
2910
2911 * gdb.base/default.exp: Add values for $_gdb_major and
2912 $_gdb_minor.
2913
29142019-03-29 Tom Tromey <tromey@adacore.com>
2915
2916 * gdb.base/help.exp: Tighten apropos regexp.
2917
29182019-03-29 Keith Seitz <keiths@redhat.com>
2919
2920 * gdb.fortran/array-bounds.exp: New file.
2921 * gdb.fortran/array-bounds.f90: New file.
2922
29232019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2924
2925 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
2926
29272019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2928
2929 * gdb.multi/hello.c (main): Increase alarm timer.
2930
29312019-03-28 Sandra Loosemore <sandra@codesourcery.com>
2932
2933 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
2934 factor when no hardware watchpoint support.
2935
29362019-03-28 Alan Hayward <alan.hayward@arm.com>
2937 Pedro Alves <palves@redhat.com>
2938
2939 * boards/local-board.exp: set sysroot to /.
2940
29412019-03-27 Alan Hayward <alan.hayward@arm.com>
2942
2943 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
2944 in child.
2945
29462019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
2947
2948 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
2949 field.
2950 (make_container): Initialise new field.
2951 * gdb.python/py-prettyprint.exp: Add new tests.
2952 * gdb.python/py-prettyprint.py (class ContainerPrinter)
2953 <display_hint>: New method.
2954
29552019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
2956
2957 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
2958 gdb_continue_to_breakpoint more throughout this test.
2959 (run_lang_tests) Supply unique test names, and use
2960 gdb_test_no_output.
2961
29622019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
2963
2964 * gdb.base/finish-pretty.exp: Update expected results.
2965 * gdb.base/pretty-print.c: New file.
2966 * gdb.base/pretty-print.exp: New file.
2967
29682019-03-25 Pedro Alves <palves@redhat.com>
2969
2970 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
2971 move comments outside list. Append '-i "" eof' section.
2972
29732019-03-22 Alan Hayward <alan.hayward@arm.com>
2974
2975 PR testsuite/25016
2976 * README: Add pie options.
2977 * gdb.base/break-interp.exp: Ensure pie is disabled.
2978 * gdb.base/dump.exp: Likewise.
2979 * lib/gdb.exp (gdb_compile): Add pie option.
2980
29812019-03-19 Tom Tromey <tromey@adacore.com>
2982
2983 * gdb.mi/mi2-cli-display.c: New file.
2984 * gdb.mi/mi2-cli-display.exp: New file.
2985
29862019-03-18 Joel Brobecker <brobecker@adacore.com>
2987 Tom Tromey <tromey@adacore.com>
2988
2989 * gdb.ada/ptype_array/pck.adb: New file.
2990 * gdb.ada/ptype_array/pck.ads: New file.
2991 * gdb.ada/ptype_array/foo.adb: New file.
2992 * gdb.ada/ptype_array.exp: New file.
2993
29942019-03-14 Tom Tromey <tromey@adacore.com>
2995
2996 * gdb.base/style.exp: Add "set style sources" test.
2997
29982019-03-13 Simon Marchi <simon.marchi@ericsson.com>
2999
3000 * mi-breakpoint-location-ena-dis.exp: Rename to ...
3001 * mi-breakpoint-multiple-locations.exp: ... this.
3002 (make_breakpoints_pattern): New proc.
3003 (do_test): Add mi_version parameter, test -break-insert,
3004 -break-info and =breakpoint-created.
3005
30062019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
3007
3008 * config/default.exp: Remove 'load_lib gdb.exp'.
3009 * config/monitor.exp: Likewise.
3010 * config/sid.exp: Likewise.
3011 * config/sim.exp: Likewise.
3012 * config/slite.exp: Likewise.
3013 * config/unix.exp: Likewise.
3014 * gdb.base/default.exp: Remove unhelpful comment.
3015
30162019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3017
3018 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
3019
30202019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3021
3022 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
3023
30242019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3025
3026 * gdb.fortran/type-kinds.exp: Update expected results.
3027
30282019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3029
3030 * gdb.fortran/type-kinds.exp: Test new integer type kind.
3031
30322019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3033
3034 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
3035 function.
3036 (test_basic_parsing_of_type_kinds): Expand types tested.
3037 (test_parsing_invalid_type_kinds): New function.
3038
30392019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3040
3041 * gdb.fortran/intrinsics.exp: New file.
3042 * gdb.fortran/intrinsics.f90: New file.
3043 * gdb.fortran/type-kinds.exp: New file.
3044
30452019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3046
3047 * gdb.fortran/dot-ops.exp: New file.
3048
30492019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3050
3051 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
3052 Check upper and lower case logical literals.
3053
30542019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3055
3056 * gdb.fortran/types.exp (test_float_literal_types_accepted):
3057 Remove duplicate tests.
3058
30592019-03-06 Alan Hayward <alan.hayward@arm.com>
3060
3061 * lib/gdb.exp (builtin_cd): rename of cd.
3062 (cd): Override builtin.
3063
30642019-03-06 Richard Bunt <richard.bunt@arm.com>
3065
3066 * gdb.fortran/function-calls.exp: New file.
3067 * gdb.fortran/function-calls.f90: New test.
3068
30692019-03-04 Richard Bunt <richard.bunt@arm.com>
3070
3071 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
3072 on user program standard output.
3073 * gdb.fortran/short-circuit-argument-list.f90: Record function
3074 calls.
3075
30762019-02-28 Alan Hayward <alan.hayward@arm.com>
3077
3078 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
3079 failure.
3080
30812019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3082
3083 PR gdb/8527
3084 * gdb.base/interrupt-daemon-attach.c,
3085 gdb.base/interrupt-daemon-attach.exp: New test.
3086
30872019-02-27 Pedro Alves <palves@redhat.com>
3088
3089 * gdb.base/page.exp: Add tests for "set width/height -1".
3090
30912019-02-27 Pedro Alves <palves@redhat.com>
3092
3093 * gdb.base/page.exp: Add tests for "set/show width/height" with
3094 "infinite" values.
3095
30962019-02-27 Tom Tromey <tromey@adacore.com>
3097
3098 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
3099 2.4.
3100 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
3101 workaround.
3102
31032019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
3104
3105 * gdb.base/align.exp: Extend to compile in both C and C++, and add
3106 tests for structs with static members.
3107
31082019-02-26 Tom Tromey <tromey@adacore.com>
3109
3110 * gdb.python/py-value.exp (test_value_from_buffer): Check for
3111 ValueError, not TypeError.
3112
31132019-02-26 Kevin Buettner <kevinb@redhat.com>
3114
3115 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
3116 call from main program.
3117
31182019-02-23 Joel Brobecker <brobecker@adacore.com>
3119
3120 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
3121 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
3122 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
3123 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
3124 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
3125
31262019-02-22 Keith Seitz <keiths@redhat.com>
3127
3128 PR symtab/23853
3129 * gdb.base/symlink-sourcefile.c: New file.
3130 * gdb.base/symlink-sourcefile.exp: New file.
3131
31322019-02-20 Tom Tromey <tom@tromey.com>
3133
3134 * gdb.base/info_qt.exp: Update.
3135
31362019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
3137
3138 * gdb.base/source.exp: Move "error in sourced script" code to
3139 the end.
3140 * gdb.base/source-error.gdb: Move contents to
3141 source-error-1.gdb. Add new code to source source-error-1.gdb.
3142 * gdb.base/source-error-1.gdb: New file, from previous
3143 source-error.gdb.
3144
31452019-02-17 Tom Tromey <tom@tromey.com>
3146
3147 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
3148 for macro styling.
3149 * gdb.base/style.c (SOME_MACRO): New macro.
3150
31512019-02-17 Tom Tromey <tom@tromey.com>
3152
3153 * gdb.base/style.exp: Add line-wrapping tests.
3154 * gdb.base/page.exp: Add test for quitting during pagination.
3155
31562019-02-17 Joel Brobecker <brobecker@adacore.com>
3157
3158 * gdb.ada/big_packed_array: New testcase.
3159 * gdb.ada/homonym.exp: Fix incorrect expected output for
3160 "break <homonym__get_value>" test.
3161
31622019-02-13 Weimin Pan <weimin.pan@oracle.com>
3163
3164 PR breakpoints/21870
3165 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
3166 and prepare_for_testing. Add comment.
3167 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
3168 redundant cleanup call. Clean up comment.
3169
31702019-02-12 Weimin Pan <weimin.pan@oracle.com>
3171
3172 PR breakpoints/21870
3173 * gdb.arch/aarch64-dbreg-contents.exp: New file.
3174 * gdb.arch/aarch64-dbreg-contents.c: New file.
3175
31762019-02-10 Joel Brobecker <brobecker@adacore.com>
3177
3178 * gdb.ada/mi_ref_changeable: New testcase.
3179
31802019-02-07 Alan Hayward <alan.hayward@arm.com>
3181
3182 * gdb.base/attach.exp: Add double attach test.
3183
31842019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
3185
3186 * lib/gdb.exp (default_gdb_start): Don't match pagination
3187 prompt.
3188 (gdb_init): Set stty_init.
3189
31902019-01-27 Tom Tromey <tom@tromey.com>
3191
3192 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
3193 skip_python_tests.
3194
31952019-01-24 Alan Hayward <alan.hayward@arm.com>
3196
3197 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
3198 New structure.
3199 (struct struct_static_02_02): Likewise.
3200 (struct struct_static_02_03): Likewise.
3201 (struct struct_static_02_04): Likewise.
3202 (struct struct_static_04_01): Likewise.
3203 (struct struct_static_04_02): Likewise.
3204 (struct struct_static_04_03): Likewise.
3205 (struct struct_static_04_04): Likewise.
3206 (struct struct_static_06_01): Likewise.
3207 (struct struct_static_06_02): Likewise.
3208 (struct struct_static_06_03): Likewise.
3209 (struct struct_static_06_04): Likewise.
3210 (cmp_struct_static_02_01): Likewise.
3211 (cmp_struct_static_02_02): Likewise.
3212 (cmp_struct_static_02_03): Likewise.
3213 (cmp_struct_static_02_04): Likewise.
3214 (cmp_struct_static_04_01): Likewise.
3215 (cmp_struct_static_04_02): Likewise.
3216 (cmp_struct_static_04_03): Likewise.
3217 (cmp_struct_static_04_04): Likewise.
3218 (cmp_struct_static_06_01): Likewise.
3219 (cmp_struct_static_06_02): Likewise.
3220 (cmp_struct_static_06_03): Likewise.
3221 (cmp_struct_static_06_04): Likewise.
3222 (call_all): Test new structs.
3223 * gdb.base/infcall-nested-structs.exp: Likewise.
3224
32252019-01-21 Alan Hayward <alan.hayward@arm.com>
3226 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
3227
32282019-01-21 Alan Hayward <alan.hayward@arm.com>
3229 * gdb.base/stack-protector.c: New test.
3230 * gdb.base/stack-protector.exp: New file.
3231 * gdb.cp/ovldbreak.exp: Only allow a single break line.
3232 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
3233 option.
3234 (gdb_compile): Remove stack protector for GCC and prevent
3235 recursion.
3236
32372019-01-16 Keith Seitz <keiths@redhat.com>
3238
3239 PR gdb/23773
3240 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
3241
32422019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3243
3244 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
3245 aliases.
3246 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
3247 tests.
3248 * gdb.arch/powerpc-vector-regs.c: New file.
3249 * gdb.arch/powerpc-vector-regs.exp: New file.
3250
32512019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3252
3253 * gdb.arch/altivec-regs.exp: Fix the list passed to
3254 gdb_expect_list when testing "info vector".
3255
32562019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
3257
3258 * gdb.base/style.exp: Don't include path in testname.
3259
32602019-01-10 Keith Seitz <keiths@redhat.com>
3261
3262 PR gdb/23712
3263 PR symtab/23010
3264 * gdb.dwarf2/multidictionary.exp: New file.
3265
32662019-01-09 Simon Marchi <simon.marchi@ericsson.com>
3267
3268 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
3269 (test_gnuv3_style_demangling): ... this.
3270 (test_lucid_style_demangling): Remove.
3271 (test_arm_style_demangling): Remove.
3272 (test_hp_style_demangling): Remove.
3273 (do_tests): Remove calls to the above.
3274
32752019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3276
3277 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
3278 case.
3279
32802019-01-06 Tom Tromey <tom@tromey.com>
3281
3282 PR gdb/28155:
3283 * gdb.dwarf2/typedef-void-finish.exp: New file.
3284
32852018-12-28 Tom Tromey <tom@tromey.com>
3286 Simon Marchi <simark@simark.ca>
3287
3288 * gdb.base/jit-exec.exp: New file.
3289 * gdb.base/jit-exec.c: New file.
3290 * gdb.base/jit-execd.c: New file.
3291
32922018-12-28 Tom Tromey <tom@tromey.com>
3293
3294 * gdb.base/style.exp: Update test to check for address styling.
3295
32962018-12-28 Tom Tromey <tom@tromey.com>
3297
3298 * gdb.base/style.exp: Add test for styling of "Reading symbols"
3299 message.
3300
33012018-12-28 Tom Tromey <tom@tromey.com>
3302
3303 * gdb.base/style.exp: Add test for version number styling.
3304
33052018-12-28 Tom Tromey <tom@tromey.com>
3306
3307 * gdb.base/style.exp: Add test for print_address_symbolic.
3308
33092018-12-28 Tom Tromey <tom@tromey.com>
3310
3311 * gdb.base/style.exp: Add test for breakpoint setting.
3312
33132018-12-28 Tom Tromey <tom@tromey.com>
3314
3315 * gdb.base/style.exp: Add test for variable names.
3316
33172018-12-28 Tom Tromey <tom@tromey.com>
3318
3319 * gdb.base/style.exp: New file.
3320 * gdb.base/style.c: New file.
3321
33222018-12-28 Tom Tromey <tom@tromey.com>
3323
3324 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
3325 "dumb".
3326 * gdb.base/readline.exp (operate_and_get_next): Save and restore
3327 the TERM environment variable.
3328
33292018-12-27 Tom Tromey <tom@tromey.com>
3330
3331 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
3332 pagination test.
3333
33342018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
3335
3336 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
3337 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
3338
33392018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3340
3341 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
3342 Filename a.adb changed to bp_fun_addr.adb.
3343 gdb.ada/bp_fun_addr.exp: Update test accordingly.
3344
33452018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
3346
3347 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
3348 non-PIE executables.
3349 * README: Mention the gdb,nopie_flag board setting.
3350 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
3351 non-PIE executable.
3352 * gdb.arch/amd64-entry-value.exp: Likewise.
3353 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
3354 * gdb.arch/i386-float.exp: Likewise.
3355 * gdb.arch/i386-signal.exp: Likewise.
3356 * gdb.mi/mi-reg-undefined.exp: Likewise.
3357
33582018-12-21 Paul Marechal <paul.marechal@ericsson.com>
3359
3360 PR gdb/23974
3361 * gdb.base/info-os.exp: Check return for unknown "info os" type.
3362
33632018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3364
3365 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
3366 Update order of results accordingly.
3367
33682018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
3369
3370 * gdb.base/annota1.exp: Update a test regexp.
3371
33722018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
3373
3374 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
3375
33762018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3377
3378 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
3379 (reuse_time): Initialize to REUSE_TIME_CAP.
3380 (check_rc): New function.
3381 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
3382 Check pthread_create rc.
3383 (spawner_thread_func): Check pthread_create and pthread_join rc.
3384
33852018-12-08 Pedro Alves <palves@redhat.com>
3386
3387 * gdb.base/list.exp (test_forward_search): Rename to ...
3388 (test_forward_reverse_search): ... this. Also test reverse-search
3389 and the forward-search alias.
3390
33912018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
3392
3393 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
3394 local timeout variable before return, and remove all local timeout
3395 variable entirely.
3396 (gdb_load): Likewise.
3397
33982018-12-01 Tom de Vries <tdevries@suse.de>
3399
3400 * gdb.base/gdb-caching-proc.exp: New file.
3401
34022018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
3403
3404 * Makefile.in (TIMESTAMP): New variable.
3405 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
3406 command.
3407 (check-single-racy): Likewise.
3408 (check/%.exp): Likewise.
3409 (check-racy/%.exp): Likewise.
3410 (workers/%.worker): Likewise.
3411 (build-perf): Likewise.
3412 (check-perf): Likewise.
3413 * README: Describe new "TS" and "TS_FORMAT" variables.
3414 * print-ts.py: New file.
3415
34162018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
3417
3418 PR python/23714
3419 * gdb.python/python.exp: Test command repetition after
3420 gdb.execute.
3421
34222018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
3423
3424 * gdb.opt/inline-break.exp: Add test that info breakpoint output
3425 is correctly aligned.
3426
34272018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3428
3429 * gdb.ada/info_auto_lang.exp: New testcase.
3430 * gdb.ada/info_auto_lang/global_pack.ads: New file.
3431 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
3432 * gdb.ada/info_auto_lang/some_c.c: New file.
3433
34342018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3435
3436 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
3437 FUNC_lang language syntax.
3438
34392018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3440
3441 * gdb.base/info_minsym.c: New file.
3442 * gdb.base/info_minsym.exp: New file.
3443
34442018-11-19 Tom Tromey <tom@tromey.com>
3445
3446 PR rust/23625:
3447 * gdb.rust/simple.exp: Add ptype test. Update expected output.
3448 * gdb.rust/expr.exp: Update expected output. Change one test.
3449
34502018-11-19 Tom Tromey <tom@tromey.com>
3451
3452 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
3453
34542018-11-19 Pedro Alves <palves@redhat.com>
3455
3456 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
3457 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
3458 see the expected warning.
3459
34602018-11-16 Alan Hayward <alan.hayward@arm.com>
3461
3462 PR gdb/22736:
3463 * gdb.cp/infcall-nodebug-lib.c: New test.
3464 * gdb.cp/infcall-nodebug-main.c: New test.
3465 * gdb.cp/infcall-nodebug.exp: New file.
3466
34672018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
3468
3469 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
3470 completer tests.
3471
34722018-11-09 Tom de Vries <tdevries@suse.de>
3473
3474 * gdb.base/msym-lang.c: New test.
3475 * gdb.base/msym-lang.exp: New file.
3476 * gdb.base/msym-lang-main.c: New test.
3477
34782018-11-08 Tom Tromey <tom@tromey.com>
3479
3480 PR gdb/23555:
3481 PR gdb/23838:
3482 * gdb.base/warning.exp: New file.
3483
34842018-11-08 Jan Beulich <jbeulich@suse.com>
3485
3486 * testsuite/gdb.arch/i386-avx512.c,
3487 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
3488
34892018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
3490
3491 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
3492 point hardware.
3493
34942018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
3495
3496 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
3497 * gdb.dwarf2/missing-type-name.exp: New file.
3498
34992018-11-06 Tom de Vries <tdevries@suse.de>
3500
3501 * gdb.base/many-headers.c: New test.
3502 * gdb.base/many-headers.exp: New file.
3503
35042018-11-06 Jim Wilson <jimw@sifive.com>
3505
3506 * gdb.base/code_elim.exp: For riscv, set additional_flags
3507 to include -msmall-data-limit=0.
3508
35092018-11-01 Joel Brobecker <brobecker@adacore.com>
3510
3511 * gdb.ada/watch_minus_l: New testcase.
3512
35132018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
3514
3515 * gdb.arch/aix-sighandle.c: New file.
3516 * gdb.arch/aix-sighandle.exp: New file.
3517
35182018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
3519
3520 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
3521 registers being unions.
3522
35232018-10-31 Tom de Vries <tdevries@suse.de>
3524
3525 * lib/valgrind.exp: New file.
3526 (vgdb_start, vgdb_stop): New procs, factored out of ...
3527 * gdb.base/valgrind-bt.exp: ... here, ...
3528 * gdb.base/valgrind-disp-step.exp: ... here and ...
3529 * gdb.base/valgrind-infcall.exp: ... here.
3530
35312018-10-31 Tom de Vries <tdevries@suse.de>
3532
3533 * lib/gdb.exp (get_valueof): Don't output read value in test name.
3534
35352018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
3536
3537 * gdb.dwarf2/void-type.c: New file.
3538 * gdb.dwarf2/void-type.exp: New file.
3539
35402018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3541
3542 * gdb.base/info_qt.c: New file.
3543 * gdb.base/info_qt.exp: New file.
3544
35452018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3546
3547 * gdb.arch/powerpc-htm-regs.c: New file.
3548 * gdb.arch/powerpc-htm-regs.exp: New file.
3549
35502018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3551
3552 * gdb.arch/powerpc-tar.c: New file.
3553 * gdb.arch/powerpc-tar.exp: New file.
3554
35552018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3556
3557 * gdb.arch/powerpc-ppr-dscr.c: New file.
3558 * gdb.arch/powerpc-ppr-dscr.exp: New file.
3559
35602018-10-25 Tom de Vries <tdevries@suse.de>
3561
3562 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
3563
35642018-10-24 Tom de Vries <tdevries@suse.de>
3565
3566 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
3567 longer exists error.
3568
35692018-10-24 Tom de Vries <tdevries@suse.de>
3570
3571 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
3572
35732018-10-24 Tom de Vries <tdevries@suse.de>
3574
3575 * gdb.base/valgrind-db-attach.exp: Handle removed support for
3576 --db-attach in valgrind.
3577
35782018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
3579
3580 * gdb.arch/riscv-reg-aliases.c: New file.
3581 * gdb.arch/riscv-reg-aliases.exp: New file.
3582
35832018-10-19 Alan Hayward <alan.hayward@arm.com>
3584
3585 * gdb.python/py-cmd.exp: Check for gdb_prompt.
3586
35872018-10-19 Alan Hayward <alan.hayward@arm.com>
3588
3589 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
3590
35912018-10-19 Alan Hayward <alan.hayward@arm.com>
3592
3593 * gdb.cp/ovldbreak.exp: Fix regexps.
3594
35952018-10-19 Alan Hayward <alan.hayward@arm.com>
3596
3597 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
3598
35992018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
3600
3601 PR cli/23785
3602 * gdb.base/restore.exp: New test to check if "restore" with an
3603 invalid file doesn't segfault.
3604
36052018-10-18 Tom de Vries <tdevries@suse.de>
3606
3607 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
3608 * gdb.ada/excep_handle.exp: Same.
3609 * gdb.ada/mi_string_access.exp: Same.
3610 * gdb.ada/mi_var_union.exp: Same.
3611 * gdb.arch/arc-analyze-prologue.exp: Same.
3612 * gdb.arch/arc-decode-insn.exp: Same.
3613 * gdb.base/readnever.exp: Same.
3614 * gdb.fortran/printing-types.exp: Same.
3615 * gdb.guile/scm-lazy-string.exp: Same.
3616
36172018-10-16 Tom de Vries <tdevries@suse.de>
3618
3619 PR gdb/23730
3620 * gdb.base/catch-follow-exec.c: Add copyright notice.
3621 * gdb.base/catch-follow-exec.exp: Rewrite to use
3622 gdb_spawn_with_cmdline_opts. Require gdb-native.
3623
36242018-10-12 Sandra Loosemore <sandra@codesourcery.com>
3625
3626 * gdb.trace/actions-changed.exp: Check for arch support.
3627 * gdb.trace/actions.exp: Likewise.
3628 * gdb.trace/ax.exp: Likewise.
3629 * gdb.trace/backtrace.exp: Likewise.
3630 * gdb.trace/change-loc.exp: Likewise.
3631 * gdb.trace/deltrace.exp: Likewise.
3632 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
3633 * gdb.trace/ftrace.exp: Likewise.
3634 * gdb.trace/infotrace.exp: Check for arch support.
3635 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
3636 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
3637 * gdb.trace/mi-tsv-changed.exp: Likewise.
3638 * gdb.trace/packetlen.exp: Likewise.
3639 * gdb.trace/passc-dyn.exp: Likewise.
3640 * gdb.trace/passcount.exp: Likewise.
3641 * gdb.trace/pending.exp: Likewise.
3642 * gdb.trace/range-stepping.exp: Check for shlib support.
3643 * gdb.trace/report.exp: Check for arch support.
3644 * gdb.trace/save-trace.exp: Likewise.
3645 * gdb.trace/signal.exp: Check for signal support.
3646 * gdb.trace/tfind.exp: Check for arch support.
3647 * gdb.trace/trace-break.exp: Check for arch and shlib support.
3648 * gdb.trace/trace-common.h: Add comment.
3649 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
3650 * gdb.trace/trace-enable-disable.exp: Likewise.
3651 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
3652 * gdb.trace/tracecmd.exp: Check for arch support.
3653 * gdb.trace/tspeed.exp: Check for shlib and target support.
3654 * gdb.trace/tstatus.exp: Check for arch support.
3655 * gdb.trace/tsv.exp: Likewise.
3656 * gdb.trace/while-dyn.exp: Likewise.
3657 * gdb.trace/while-stepping.exp: Likewise.
3658 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
3659
36602018-10-12 Simon Marchi <simon.marchi@ericsson.com>
3661
3662 * gdb.trace/tspeed.exp: Remove nowarnings.
3663 (prepare_for_trace_test): Declare "global ipalib".
3664 * gdb.trace/tspeed.c: Include unistd.h.
3665 (main): Remove superfluous printf argument.
3666
36672018-10-11 Sandra Loosemore <sandra@codesourcery.com>
3668
3669 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
3670 directory prefix on the filename.
3671
36722018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
3673
3674 * gdb.gdb/unittest.exp: Update expected message informing that
3675 selftests have been disabled.
3676 * gdb.server/unittest.exp: Likewise.
3677
36782018-10-09 Tom de Vries <tdevries@suse.de>
3679
3680 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
3681 with runto_main.
3682
36832018-10-08 Weimin Pan <weimin.pan@oracle.com>
3684
3685 PR c++/16841
3686 * gdb.cp/virtbase2.cc: New file.
3687 * gdb.cp/virtbase2.exp: New file.
3688
36892018-10-06 Tom Tromey <tom@tromey.com>
3690
3691 PR python/19399:
3692 * gdb.python/py-inferior.exp: Add architecture test.
3693
36942018-10-06 Tom Tromey <tom@tromey.com>
3695
3696 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
3697 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
3698
36992018-10-06 Tom Tromey <tom@tromey.com>
3700
3701 * gdb.python/py-breakpoint.exp (check_last_event): Check location
3702 of a "throw" catchpoint.
3703
37042018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
3705
3706 * gdb.base/info-proc.exp: Update string expected from "help info
3707 proc".
3708
37092018-10-04 Tom Tromey <tom@tromey.com>
3710
3711 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
3712 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
3713 (test_initial_complaints, test_empty_complaints): Update.
3714 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
3715
37162018-10-04 Tom Tromey <tom@tromey.com>
3717
3718 PR cli/19551:
3719 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
3720 * lib/gdb.exp (gdb_file_cmd): Update.
3721 * gdb.stabs/weird.exp (print_weird_var): Update.
3722 * gdb.server/solib-list.exp: Update.
3723 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
3724 * gdb.mi/mi-cli.exp: Update.
3725 * gdb.linespec/linespec.exp: Update.
3726 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
3727 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
3728 * gdb.cp/cp-relocate.exp: Update.
3729 * gdb.base/sym-file.exp: Update.
3730 * gdb.base/relocate.exp: Update.
3731 * gdb.base/readnever.exp: Update.
3732 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
3733 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
3734 * gdb.base/dbx.exp (gdb_file_cmd): Update.
3735 * gdb.base/code_elim.exp: Update.
3736 * gdb.base/break-unload-file.exp (test_break): Update.
3737 * gdb.base/break-interp.exp (test_attach_gdb): Update.
3738 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
3739 Update.
3740 * gdb.base/attach.exp (do_attach_tests): Update.
3741 * gdb.base/sepdebug.exp: Update.
3742 * gdb.python/py-section-script.exp: Update.
3743
37442018-10-04 Tom Tromey <tom@tromey.com>
3745
3746 PR cli/22234:
3747 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
3748 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
3749 output.
3750
37512018-10-04 Tom Tromey <tom@tromey.com>
3752
3753 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
3754 set width and height to 0.
3755 (test_command_line_attach_run): Use -quiet.
3756
37572018-10-03 Sandra Loosemore <sandra@codesourcery.com>
3758
3759 * lib/gdb.exp (skip_ifunc_tests): New.
3760 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
3761 other compile failures.
3762 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
3763
37642018-10-01 Simon Marchi <simon.marchi@ericsson.com>
3765
3766 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
3767 is_amd64_regs_target.
3768
37692018-10-01 Alan Hayward <alan.hayward@arm.com>
3770
3771 * gdb.arch/aarch64-sighandler-regs.c: New test.
3772 * gdb.arch/aarch64-sighandler-regs.exp: New file.
3773 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
3774
37752018-10-01 Markus Metzger <markus.t.metzger@intel.com>
3776
3777 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
3778 assembly.
3779
37802018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
3781
3782 * gdb.base/frame-selection.exp: New file.
3783 * gdb.base/frame-selection.c: New file.
3784
37852018-09-27 Alan Hayward <alan.hayward@arm.com>
3786
3787 * gdb.threads/check-libthread-db.c (thread_routine): Use a
3788 pthread barrier.
3789 (main): Likewise.
3790
37912018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
3792
3793 * gdb.base/large-frame-1.c: New file.
3794 * gdb.base/large-frame-2.c: New file.
3795 * gdb.base/large-frame.exp: New file.
3796 * gdb.base/large-frame.h: New file.
3797
37982018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3799
3800 PR gdb/20948
3801 * gdb.base/write_mem.exp: New test.
3802 * gdb.base/write_mem.c: Likewise.
3803
38042018-09-23 Tom Tromey <tom@tromey.com>
3805
3806 PR python/18852:
3807 * gdb.python/py-parameter.exp: Add test for parameter that throws
3808 on "set".
3809
38102018-09-23 Tom Tromey <tom@tromey.com>
3811
3812 PR python/17284:
3813 * gdb.python/py-template.exp (test_template_arg): Add test for
3814 negative template argument number.
3815
38162018-09-23 Tom Tromey <tom@tromey.com>
3817
3818 PR python/14062:
3819 * gdb.python/python.exp: Add test for post_event error.
3820
38212018-09-23 Tom Tromey <tom@tromey.com>
3822
3823 PR python/18170:
3824 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
3825 convert pointers to int and long.
3826
38272018-09-23 Tom Tromey <tom@tromey.com>
3828
3829 PR python/20126:
3830 * gdb.python/py-value.exp (test_value_numeric_ops): Add
3831 signed-ness conversion tests.
3832
38332018-09-23 Tom Tromey <tom@tromey.com>
3834
3835 PR python/18352;
3836 * gdb.python/py-value.exp (test_float_conversion): New proc.
3837 Use it.
3838
38392018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
3840
3841 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
3842
38432018-09-18 Sandra Loosemore <sandra@codesourcery.com>
3844
3845 * gdb.base/complete-empty.exp: Skip tab-completion tests if
3846 no readline.
3847 * gdb.base/utf8-identifiers.exp: Likewise.
3848 * gdb.cp/cpcompletion.exp: Likewise.
3849 * gdb.linespec/cpcompletion.exp: Likewise.
3850 * gdb.linespec/cpls-abi-tag.exp: Likewise.
3851 * gdb.linespec/cpls-ops.exp: Likewise.
3852
38532018-09-19 Richard Bunt <richard.bunt@arm.com>
3854 Chris January <chris.january@arm.com>
3855
3856 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
3857 * gdb.fortran/short-circuit-argument-list.exp: New file.
3858 * gdb.fortran/short-circuit-argument-list.f90: New test.
3859
38602018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3861
3862 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
3863 "arch=" keyword when executing "-stack-list-frames".
3864
38652018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3866
3867 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
3868 "arch=" keyword when executing "-stack-list-frames".
3869
38702018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3871
3872 * gdb.ada/complete.exp: Expect for "@" when doing "complete
3873 break ada".
3874
38752018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
3876
3877 PR python/23669
3878 * gdb.python/python.exp: Test gdb.execute("show commands").
3879
38802018-09-16 Tom Tromey <tom@tromey.com>
3881
3882 * gdb.base/new-ui.exp (do_execution_tests): Update.
3883 * gdb.base/dbx.exp (test_breakpoints): Update.
3884
38852018-09-14 Alan Hayward <alan.hayward@arm.com>
3886
3887 * lib/gdb.exp (gdb_simple_compile): Add proc.
3888 (is_elf_target): Use gdb_simple_compile.
3889 (skip_altivec_tests): Likewise.
3890 (skip_vsx_tests): Likewise.
3891 (skip_tsx_tests): Likewise.
3892 (skip_btrace_tests): Likewise.
3893 (skip_btrace_pt_tests): Likewise.
3894 (gdb_can_simple_compile): Likewise.
3895 (gdb_has_argv0): Likewise.
3896 (gdb_target_symbol_prefix): Likewise.
3897 (target_supports_scheduler_locking): Likewise.
3898
38992018-09-13 Tom Tromey <tom@tromey.com>
3900
3901 * Makefile.in (TAGS): Recognize proc_with_prefix and
3902 gdb_caching_proc.
3903
39042018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3905
3906 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
3907 method.
3908
39092018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3910
3911 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
3912 and a few other Inferior properties when the Inferior is no
3913 longer valid.
3914
39152018-09-13 Tom Tromey <tom@tromey.com>
3916
3917 PR rust/23650:
3918 * gdb.rust/simple.exp: Add test for enum field access error.
3919
39202018-09-13 Tom Tromey <tom@tromey.com>
3921
3922 PR rust/23626:
3923 * gdb.rust/simple.rs (EmptyEnum): New type.
3924 (main): Use it.
3925 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
3926
39272018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3928
3929 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
3930 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
3931 * gdb.python/py-symtab.exp: Update test printing an objfile.
3932
39332018-09-12 Simon Marchi <simon.marchi@ericsson.com>
3934
3935 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
3936 object.
3937
39382018-09-12 Alan Hayward <alan.hayward@arm.com>
3939
3940 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
3941 (support_complex_tests): Use gdb_can_simple_compile.
3942 (is_ilp32_target): Likewise.
3943 (is_lp64_target): Likewise.
3944 (is_64_target): Likewise.
3945 (is_amd64_regs_target): Likewise.
3946 (is_aarch32_target): Likewise.
3947 (gdb_int128_helper): Likewise.
3948
39492018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3950
3951 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
3952
39532018-09-10 Jerome Guitton <guitton@adacore.com>
3954
3955 * gdb.ada/same_component_name: Add test for case of tagged record
3956 with variable-length fields.
3957
39582018-09-10 Xavier Roirand <roirand@adacore.com>
3959
3960 * gdb.ada/access_to_unbounded_array.exp: New testcase.
3961 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
3962 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
3963 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
3964
39652018-09-10 Xavier Roirand <roirand@adacore.com>
3966
3967 * gdb.ada/mi_string_access.exp: New testcase.
3968 * gdb.ada/mi_string_access/bar.adb: New file.
3969 * gdb.ada/mi_string_access/pck.adb: New file.
3970 * gdb.ada/mi_string_access/pck.asd: New file.
3971
39722018-09-10 Xavier Roirand <roirand@adacore.com>
3973
3974 * gdb.ada/mi_var_union.exp: New testcase.
3975 * gdb.ada/mi_var_union/bar.adb: New file.
3976 * gdb.ada/mi_var_union/pck.adb: New file.
3977 * gdb.ada/mi_var_union/pck.asd: New file.
3978
39792018-09-08 Tom Tromey <tom@tromey.com>
3980
3981 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
3982
39832018-09-08 Tom Tromey <tom@tromey.com>
3984
3985 PR python/16047:
3986 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
3987 (register_pretty_printers): Register new printer.
3988 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
3989 test.
3990 * gdb.python/py-prettyprint.c (int_type3): New typedef.
3991 (an_int_type3): New global.
3992
39932018-09-08 Joel Brobecker <brobecker@adacore.com>
3994
3995 * gdb.ada/expr_with_funcall: New testcase.
3996
39972018-09-08 Joel Brobecker <brobecker@adacore.com>
3998
3999 * gdb.ada/packed_array_assign: New testcase.
4000
40012018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
4002
4003 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
4004 names, and add test prefixes to make test names unique.
4005
40062018-09-05 Tom de Vries <tdevries@suse.de>
4007
4008 * gdb.dwarf2/varval.exp: Add test.
4009
40102018-09-04 Gary Benson <gbenson@redhat.com>
4011
4012 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
4013 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
4014
40152018-08-31 Tom Tromey <tom@tromey.com>
4016
4017 * gdb.rust/simple.rs: Rename second variable "v".
4018
40192018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
4020
4021 * gdb.base/funcargs.c (use_a): New function.
4022 (recurse): Call use_a.
4023
40242018-08-29 Keith Seitz <keiths@redhat.com>
4025
4026 * gdb.compile/compile-cplus-anonymous.cc: New file.
4027 * gdb.compile/compile-cplus-anonymous.exp: New file.
4028 * gdb.compile/compile-cplus-array-decay.cc: New file.
4029 * gdb.compile/compile-cplus-array-decay.exp: New file.
4030 * gdb.compile/compile-cplus-inherit.cc: New file.
4031 * gdb.compile/compile-cplus-inherit.exp: New file.
4032 * gdb.compile/compile-cplus-member.cc: New file.
4033 * gdb.compile/compile-cplus-member.exp: New file.
4034 * gdb.compile/compile-cplus-method.cc: New file.
4035 * gdb.compile/compile-cplus-method.exp: New file.
4036 * gdb.compile/compile-cplus-mod.c: "New" file.
4037 * gdb.compile/compile-cplus-namespace.cc: New file.
4038 * gdb.compile/compile-cplus-namespace.exp: New file.
4039 * gdb.compile/compile-cplus-nested.cc: New file.
4040 * gdb.compile/compile-cplus-nested.exp: New file.
4041 * gdb.compile/compile-cplus-print.c: "New" file.
4042 * gdb.compile/compile-cplus-print.exp: "New" file.
4043 * gdb.compile/compile-cplus-virtual.cc: New file.
4044 * gdb.compile/compile-cplus-virtual.exp: New file.
4045 * gdb.compile/compile-cplus.c: "New" file.
4046 * gdb.compile/compile-cplus.exp: "New" file.
4047 * lib/compile-support.exp: New file.
4048
40492018-08-16 Gary Benson <gbenson@redhat.com>
4050
4051 PR gdb/13000:
4052 * gdb.base/batch-exit-status.exp: New file.
4053 * gdb.base/batch-exit-status.good-commands: Likewise.
4054 * gdb.base/batch-exit-status.bad-commands: Likewise.
4055
40562018-08-29 Alan Hayward <alan.hayward@arm.com>
4057
4058 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
4059 (struct struct02): Likewise.
4060 (struct struct03): Likewise.
4061 (struct struct04): Likewise.
4062 (struct struct_01_01): New struct.
4063 (struct struct_01_02): Likewise.
4064 (struct struct_01_03): Likewise.
4065 (struct struct_01_04): Likewise.
4066 (struct struct_02_01): Likewise.
4067 (struct struct_02_02): Likewise.
4068 (struct struct_02_03): Likewise.
4069 (struct struct_02_04): Likewise.
4070 (struct struct_04_01): Likewise.
4071 (struct struct_04_02): Likewise.
4072 (struct struct_04_03): Likewise.
4073 (struct struct_04_04): Likewise.
4074 (struct struct_05_01): Likewise.
4075 (struct struct_05_02): Likewise.
4076 (struct struct_05_03): Likewise.
4077 (struct struct_05_04): Likewise.
4078 (cmp_struct01): Remove function.
4079 (cmp_struct02): Likewise.
4080 (cmp_struct03): Likewise.
4081 (cmp_struct04): Likewise.
4082 (cmp_struct_01_01): Add Function.
4083 (cmp_struct_01_02): Likewise.
4084 (cmp_struct_01_03): Likewise.
4085 (cmp_struct_01_04): Likewise.
4086 (cmp_struct_02_01): Likewise.
4087 (cmp_struct_02_02): Likewise.
4088 (cmp_struct_02_03): Likewise.
4089 (cmp_struct_02_04): Likewise.
4090 (cmp_struct_04_01): Likewise.
4091 (cmp_struct_04_02): Likewise.
4092 (cmp_struct_04_03): Likewise.
4093 (cmp_struct_04_04): Likewise.
4094 (cmp_struct_05_01): Likewise.
4095 (cmp_struct_05_02): Likewise.
4096 (cmp_struct_05_03): Likewise.
4097 (cmp_struct_05_04): Likewise.
4098 (call_all): Add new structs.
4099 * gdb.base/infcall-nested-structs.exp: Likewise.
4100
41012018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
4102
4103 * gdb.python/py-framefilter-mi.exp: Update regexp to
4104 check for "arch" field in frame output.
4105
41062018-08-23 Kevin Buettner <kevinb@redhat.com>
4107
4108 * gdb.dwarf2/dw2-ranges-func.c: New file.
4109 * gdb.dwarf2/dw2-ranges-func.exp: New file.
4110
41112018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
4112
4113 * gdb.base/term.exp: Compare terminal settings with values from
4114 the inferior.
4115 * gdb.base/term.c: Get and set terminal settings.
4116
41172018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
4118
4119 * lib/mi-support.exp (mi_expect_stop): Update regexp to
4120 accommodate new "arch" field in frame output.
4121 * gdb.mi/mi-return.exp: Likewise.
4122 * gdb.mi/mi-stack.exp: Likewise.
4123 * gdb.mi/mi-syn-frame.exp: Likewise.
4124 * gdb.mi/user-selected-context-sync.exp: Likewise.
4125
41262018-08-19 Michael Spang <spang@google.com>
4127
4128 PR gdb/11786
4129 * gdb.base/gcore-tls-pie.c: New file.
4130 * gdb.base/gcore-tls-pie.exp: New file.
4131
41322018-08-18 Kevin Buettner <kevinb@redhat.com>
4133
4134 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
4135 * gdb.dwarf2/varval.c: New file.
4136 * gdb.dwarf2/varval.exp: New file.
4137
41382018-08-17 Alan Hayward <alan.hayward@arm.com>
4139
4140 PR gdb/18931
4141 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
4142
41432018-08-16 Keith Seitz <keiths@redhat.com>
4144
4145 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
4146 tests expected to pass.
4147
41482018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
4149
4150 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
4151 -data-disassemble -a.
4152 (test_disassembly_bogus_args): Likewise.
4153
41542018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
4155
4156 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
4157
41582018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
4159
4160 * gdb.base/vla-optimized-out.exp: Add new test.
4161
41622018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
4163
4164 * gdb.base/vla-optimized-out-o3.exp: Delete.
4165 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
4166 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
4167 deleted tests.
4168
41692018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
4170
4171 PR gdb/18050:
4172 * gdb.server/extended-remote-restart.c: New file.
4173 * gdb.server/extended-remote-restart.exp: New file.
4174
41752018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
4176
4177 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
4178 "set variable index = 42".
4179
41802018-08-07 Simon Marchi <simon.marchi@ericsson.com>
4181
4182 * boards/index-cache-gdb.exp: New file.
4183 * gdb.dwarf2/index-cache.exp: New file.
4184 * gdb.dwarf2/index-cache.c: New file.
4185 * gdb.base/maint.exp: Check if we are using the index cache.
4186
41872018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4188
4189 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
4190 MAKEFLAGS.
4191
41922018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4193
4194 * dg-extract-results.sh: Move to toplevel contrib.
4195 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
4196 * Makefile.in (check-parallel-racy): Likewise.
4197
41982018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
4199
4200 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
4201 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
4202 tests if the target supports scheduler locking.
4203
42042018-08-04 Tom de Vries <tdevries@suse.de>
4205
4206 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
4207
42082018-08-02 Tom Tromey <tom@tromey.com>
4209
4210 PR symtab/16842.
4211 * gdb.cp/temargs.exp: Test "info address" of a template
4212 parameter.
4213
42142018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
4215
4216 * gdb.python/py-mi-var-info-path-expression.c: New file.
4217 * gdb.python/py-mi-var-info-path-expression.py: New file.
4218 * gdb.python/py-mi-var-info-path-expression.exp: New file.
4219
42202018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
4221
4222 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
4223 error after "cannot resolve name" string.
4224
42252018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
4226
4227 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
4228 started.
4229 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
4230
42312018-07-28 Tom de Vries <tdevries@suse.de>
4232
4233 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
4234
42352018-07-26 Tom de Vries <tdevries@suse.de>
4236
4237 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
4238
42392018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
4240
4241 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
4242 is visible.
4243
42442018-07-26 Tom de Vries <tdevries@suse.de>
4245
4246 PR breakpoints/23366
4247 * gdb.base/catch-follow-exec.c: New test.
4248 * gdb.base/catch-follow-exec.exp: New file.
4249
42502018-07-25 Tom de Vries <tdevries@suse.de>
4251
4252 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
4253 vla-optimized-out.c.
4254
42552018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
4256
4257 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
4258 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
4259
42602018-07-20 Tom de Vries <tdevries@suse.de>
4261
4262 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
4263 NOCLONE macro.
4264 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
4265
42662018-07-19 Tom de Vries <tdevries@suse.de>
4267
4268 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
4269 regular expression.
4270
42712018-07-18 Tom de Vries <tdevries@suse.de>
4272
4273 * gdb.base/vla-optimized-out.c: New test.
4274 * gdb.base/vla-optimized-out.exp: New file.
4275
42762018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
4277
4278 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
4279 message "No address associated with hostname" when gdbserver
4280 cannot resolve the hostname.
4281
42822018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4283
4284 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
4285 Add some test prefixes to make tests unique.
4286
42872018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4288
4289 * gdb.base/frameapply.c: New file.
4290 * gdb.base/frameapply.exp: New file.
4291
42922018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4293
4294 * gdb.base/skip.exp: Update expected error message.
4295
42962018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
4297 Jan Kratochvil <jan.kratochvil@redhat.com>
4298 Paul Fertser <fercerpav@gmail.com>
4299 Tsutomu Seki <sekiriki@gmail.com>
4300
4301 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
4302 parameter.
4303 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
4304 by default.
4305 * boards/native-gdbserver.exp: Likewise.
4306 * gdb.server/run-without-local-binary.exp: Improve regexp used
4307 for detecting when a remote debugging connection succeeds.
4308 * gdb.server/server-connect.exp: New file.
4309 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
4310 Do not prefix the port number with ":".
4311 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
4312 support for detecting and using it. Add '$debughost_gdbserver'
4313 to the list of arguments used to start gdbserver. Handle case
4314 when gdbserver cannot resolve a network name.
4315
43162018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
4317
4318 PR c++/23373
4319 * gdb.base/ptype-offsets.cc (struct static_member): New
4320 struct.
4321 (main) <stmember>: New variable.
4322 * gdb.base/ptype-offsets.exp: Add test for printing a struct
4323 with a static member in it.
4324
43252018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
4326
4327 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
4328 watchpoints enabled and disabled.
4329
43302018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
4331
4332 * gdb.base/examine-backward.exp: Still run tests around address
4333 0x0, even if address 0x0 is not readable. Update the pattern for
4334 matching address 0x0 in expected output.
4335
43362018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
4337
4338 * gdb.base/share-env-with-gdbserver.c (main): Add call to
4339 malloc/free.
4340
43412018-07-04 Tom de Vries <tdevries@suse.de>
4342
4343 * gdb.dwarf2/dw2-error.exp: Update expected error message.
4344
43452018-07-02 Maciej W. Rozycki <macro@mips.com>
4346
4347 PR tdep/8282
4348 * gdb.arch/mips-disassembler-options.exp: New test.
4349 * gdb.arch/mips-disassembler-options.s: New test source.
4350
43512018-06-29 Pedro Alves <palves@redhat.com>
4352
4353 * gdb.threads/names.exp: Adjust expected "info threads" output.
4354
43552018-06-29 Pedro Alves <palves@redhat.com>
4356
4357 * gdb.opt/inline-break.exp (line number, address): Add "info
4358 break" tests.
4359
43602018-06-29 Pedro Alves <palves@redhat.com>
4361
4362 * gdb.opt/inline-break.c (func1): Add "break here" marker.
4363 * gdb.opt/inline-break.exp: Test setting breakpoints by line
4364 number and address and running to them.
4365
43662018-06-29 Richard Bunt <richard.bunt@arm.com>
4367
4368 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
4369
43702018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4371
4372 * lib/compiler.c: Remove executable permission flag.
4373
43742018-06-28 Richard Bunt <richard.bunt@arm.com>
4375
4376 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
4377 code.
4378 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
4379
43802018-06-28 Petr Tesarik <ptesarik@suse.cz>
4381
4382 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
4383
43842018-06-28 Petr Tesarik <ptesarik@suse.cz>
4385
4386 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
4387 address argument is omitted.
4388
43892018-06-28 Petr Tesarik <ptesarik@suse.cz>
4390
4391 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
4392
43932018-06-27 Omair Javaid <omair.javaid@linaro.org>
4394
4395 PR gdb/21695
4396 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
4397 * gdb.base/infoline-reloc-main-from-zero.c: New file.
4398
43992018-06-26 Tom Tromey <tom@tromey.com>
4400
4401 PR rust/22574:
4402 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
4403 * gdb.rust/simple.rs (struct SimpleLayout): New.
4404
44052018-06-22 Simon Marchi <simon.marchi@ericsson.com>
4406
4407 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
4408 "info registers" output.
4409
44102018-06-21 Richard Bunt <richard.bunt@arm.com>
4411
4412 * gdb.base/watchpoint-hw-attach.c: New test.
4413 * gdb.base/watchpoint-hw-attach.exp: New file.
4414
44152018-06-20 Simon Marchi <simon.marchi@ericsson.com>
4416
4417 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
4418 through /bin/sh.
4419 * boards/dwarf4-gdb-index.exp: Likewise.
4420 * boards/fission-dwp.exp: Likewise.
4421
44222018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
4423
4424 * gdb.base/float128.exp: Add comment and improved fail message
4425 to the failure case of "print large128" test.
4426
44272018-06-19 Simon Marchi <simon.marchi@ericsson.com>
4428
4429 * configure.ac: Remove AC_PREREQ.
4430 * configure: Re-generate.
4431
44322018-06-19 Pedro Alves <palves@redhat.com>
4433
4434 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
4435 (func_extern_caller): New.
4436 (main): Call func_extern_caller.
4437 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
4438 logic change.
4439
44402018-06-18 Weimin Pan <weimin.pan@oracle.com>
4441
4442 PR gdb/16841
4443 * gdb.cp/typedef-base.cc: New file.
4444 * gdb.cp/typedef-base.exp: New file.
4445
44462018-06-18 Tom de Vries <tdevries@suse.de>
4447
4448 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
4449
44502018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
4451 Richard Bunt <Richard.Bunt@arm.com>
4452
4453 * gdb.threads/attach-slow-waitpid.c: New file.
4454 * gdb.threads/attach-slow-waitpid.exp: New file.
4455 * gdb.threads/slow-waitpid.c: New file.
4456
44572018-06-14 Pedro Alves <palves@redhat.com>
4458
4459 * gdb.base/fork-running-state.c: Include <errno.h>.
4460 (exit_if_relative_exits): New.
4461 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
4462 exits.
4463 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
4464 child exits.
4465
44662018-06-14 Tom de Vries <tdevries@suse.de>
4467
4468 PR cli/22573
4469 * gdb.base/finish-pretty.c: New test.
4470 * gdb.base/finish-pretty.exp: New file.
4471
44722018-06-14 Pedro Alves <palves@redhat.com>
4473
4474 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
4475 gdb's expected startup output.
4476
44772018-06-14 Pedro Alves <palves@redhat.com>
4478
4479 * lib/selftest-support.exp (selftest_setup): Remove inlined
4480 function handling.
4481
44822018-06-14 Tom de Vries <tdevries@suse.de>
4483
4484 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
4485 matching of breakpoint printing.
4486
44872018-06-13 Tom de Vries <tdevries@suse.de>
4488
4489 PR testsuite/23269
4490 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
4491 (fork_child): ... here, and ...
4492 (fork_parent): ... here.
4493
44942018-06-12 Tom de Vries <tdevries@suse.de>
4495
4496 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
4497
44982018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
4499 Stephen Roberts <stephen.roberts@arm.com>
4500
4501 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
4502 rewrite test to describe action performed, rather than possible
4503 failure.
4504
45052018-06-08 Gary Benson <gbenson@redhat.com>
4506
4507 * gdb.threads/check-libthread-db.exp: New file.
4508 * gdb.threads/check-libthread-db.c: Likewise.
4509
45102018-06-05 Tom Tromey <tom@tromey.com>
4511
4512 * gdb.base/default.exp: Update expected "show version" output.
4513
45142018-06-05 Tom Tromey <tom@tromey.com>
4515
4516 PR cli/12326:
4517 * gdb.cp/static-print-quit.exp: Update.
4518 * lib/gdb.exp (pagination_prompt): Update.
4519 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
4520 * gdb.python/python.exp: Update.
4521
45222018-06-04 Joel Brobecker <brobecker@adacore.com>
4523
4524 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
4525
45262018-06-01 Joel Brobecker <brobecker@adacore.com>
4527
4528 * gdb.ada/bp_fun_addr: New testcase.
4529
45302018-06-01 Tom Tromey <tom@tromey.com>
4531
4532 * gdb.xml/tdesc-regs.exp (load_description): Update expected
4533 results.
4534 * gdb.dwarf2/method-ptr.exp: Set language to C++.
4535 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
4536 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
4537 * gdb.base/maint.exp (maint_pass_if): Update.
4538
45392018-05-31 Maciej W. Rozycki <macro@mips.com>
4540
4541 * gdb.base/endian.exp: New test.
4542 * gdb.base/endian.c: New test source.
4543
45442018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
4545
4546 PR gdb/23203
4547 * gdb.base/bt-selected-frame.c: New file.
4548 * gdb.base/bt-selected-frame.exp: New file.
4549 * lib/gdb.exp (get_current_frame_number): New function.
4550
45512018-05-24 Maciej W. Rozycki <macro@mips.com>
4552 Pedro Alves <palves@redhat.com>
4553
4554 * gdb.threads/tls-core.c: Include <stdlib.h>
4555 (thread_proc): Call `abort'.
4556 * gdb.threads/tls-core.exp: Generate a core with core_find too.
4557 (tls_core_test): New procedure, bits factored out from ...
4558 (top level): ... here. Test both native cores and gcore cores.
4559
45602018-05-23 Tom Tromey <tom@tromey.com>
4561
4562 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
4563
45642018-05-23 Tom Tromey <tom@tromey.com>
4565
4566 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
4567 symfile_complaints.
4568 (test_short_complaints): Likewise.
4569 (test_empty_complaints): Likewise.
4570 (test_initial_complaints): Update.
4571
45722018-05-23 Tom Tromey <tom@tromey.com>
4573
4574 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
4575
45762018-05-23 Tom Tromey <tom@tromey.com>
4577
4578 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
4579 (test_short_complaints): Update.
4580
45812018-05-22 Pedro Alves <palves@redhat.com>
4582
4583 * gdb.base/remote.exp: Only gdb_start after compiling the
4584 testcase. Issue "disconnect" before testing "set remote" command
4585 defaults. Issue clean_restart before running to main.
4586
45872018-05-22 Pedro Alves <palves@redhat.com>
4588
4589 * gdb.base/remote.exp: Adjust expected output of "show remote
4590 memory-write-packet-size". Add tests for "set remote
4591 memory-write-packet-size 0" and "set remote
4592 memory-write-packet-size fixed/limit".
4593
45942018-05-22 Pedro Alves <palves@redhat.com>
4595
4596 PR gdb/22973
4597 * gdb.base/utf8-identifiers.c: New file.
4598 * gdb.base/utf8-identifiers.exp: New file.
4599
46002018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
4601
4602 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
4603
46042018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
4605
4606 * gdb.arch/powerpc-vsx-gcore.exp: New file.
4607
46082018-05-18 Tom Tromey <tom@tromey.com>
4609
4610 * gdb.base/ptype-offsets.exp: Update.
4611
46122018-05-17 Keith Seitz <keiths@redhat.com>
4613
4614 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
4615 in expected breakpoint stop locations.
4616 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
4617 move to proper scope to test variable values.
4618 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
4619 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
4620 New functions.
4621 (main): Call not_inline_func3.
4622 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
4623 inline_func1, inline_func2, and inline_func3. Test that when each
4624 breakpoint is hit, GDB properly reports both the stop location
4625 and the backtrace. Repeat tests for temporary breakpoints.
4626
46272018-05-15 Maciej W. Rozycki <macro@mips.com>
4628
4629 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
4630 rather then trying to access it in determining whether the PID
4631 of `gdbserver' could have been retrieved.
4632
46332018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
4634
4635 * gdb.arch/amd64-init-x87-values.S: New file.
4636 * gdb.arch/amd64-init-x87-values.exp: New file.
4637
46382018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4639
4640 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
4641
46422018-05-04 Tom Tromey <tom@tromey.com>
4643
4644 PR python/22730:
4645 * gdb.python/python.exp: Test multi-line execute.
4646
46472018-05-04 Tom Tromey <tom@tromey.com>
4648
4649 PR python/22731:
4650 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
4651
46522018-05-04 Tom Tromey <tom@tromey.com>
4653
4654 PR gdb/11750:
4655 * gdb.base/define.exp: Test defining a user command inside a user
4656 command.
4657 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
4658
46592018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4660 Pedro Alves <palves@redhat.com>
4661
4662 PR breakpoints/19806 and support for PR external/20207.
4663 * gdb.base/watchpoint-unaligned.c: New file.
4664 * gdb.base/watchpoint-unaligned.exp: New file.
4665
46662018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4667
4668 * gdb.base/maint.exp: Make test names unique, use
4669 test_prefix_command_help to test 'help maint info', and remove
4670 repeated test of 'help maint'.
4671
46722018-05-04 Tom Tromey <tom@tromey.com>
4673
4674 PR gdb/22619:
4675 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
4676 behavior.
4677
46782018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4679
4680 * gdb.base/maint.exp: Process output from 'maint print registers'
4681 line at a time.
4682
46832018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4684
4685 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
4686 timeout.
4687
46882018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
4689
4690 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
4691 filter pattern.
4692
46932018-05-02 Pedro Alves <palves@redhat.com>
4694
4695 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
4696 to_log_command renames.
4697 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
4698
46992018-05-02 Tom Tromey <tom@tromey.com>
4700
4701 * gdb.python/py-parameter.exp: Set test message.
4702
47032018-05-02 Tom Tromey <tom@tromey.com>
4704
4705 PR python/20084:
4706 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
4707 PARAM_ZUINTEGER_UNLIMITED tests.
4708
47092018-04-28 Dan Robertson <danlrobertson89@gmail.com>
4710
4711 PR rust/23124
4712 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
4713 when casting.
4714
47152018-04-30 Tom Tromey <tom@tromey.com>
4716
4717 * gdb.python/py-type.exp: Check align attribute.
4718 * gdb.python/py-type.c: New "aligncheck" global.
4719
47202018-04-30 Tom Tromey <tom@tromey.com>
4721
4722 PR exp/17095:
4723 * gdb.dwarf2/dw2-align.exp: New file.
4724 * gdb.cp/align.exp: New file.
4725 * gdb.base/align.exp: New file.
4726 * lib/gdb.exp (gdb_int128_helper): New proc.
4727 (has_int128_c, has_int128_cxx): New caching procs.
4728
47292018-04-27 Tom Tromey <tom@tromey.com>
4730
4731 PR rust/22545:
4732 * gdb.rust/simple.exp: Add inclusive range tests.
4733
47342018-04-26 Pedro Alves <palves@redhat.com>
4735
4736 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
4737 ifunc breakpoint locations correctly of ifunc breakpoints set
4738 while the program resolves the ifunc.
4739
47402018-04-26 Pedro Alves <palves@redhat.com>
4741
4742 * gdb.base/gnu-ifunc-final.c: New file.
4743 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
4744 * gdb.base/gnu-ifunc.exp (executable): Delete.
4745 (staticexecutable): Adjust.
4746 (lib_opts, exec_opts): Delete.
4747 (make_binsuffix, build, set-break): New procedures.
4748 (misc_tests): New, with tests factored out from the top level.
4749 (top level): Test different combinations of ifunc resolver name,
4750 resolver with and with debug info, and ifunc target with and
4751 without debug info. Wrap static tests with with_target_prefix.
4752
47532018-04-26 Pedro Alves <palves@redhat.com>
4754
4755 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
4756 return type" warnings.
4757
47582018-04-25 Pedro Alves <palves@redhat.com>
4759
4760 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
4761 killed".
4762 * gdb.base/kill-after-signal.exp: Likewise.
4763 * gdb.threads/kill.exp: Likewise.
4764
47652018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4766 Sergio Durigan Junior <sergiodj@redhat.com>
4767 Pedro Alves <palves@redhat.com>
4768
4769 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
4770 regexps to expect for '[Inferior ... detached]' as well.
4771 * gdb.base/attach.exp: Likewise.
4772 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
4773 "gdb_continue_to_end".
4774 (test_catch_syscall_with_wrong_args): Likewise.
4775 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
4776 ']'. Don't set 'verbose' on.
4777 * gdb.base/foll-vfork.exp: Likewise.
4778 * gdb.base/fork-print-inferior-events.c: New file.
4779 * gdb.base/fork-print-inferior-events.exp: New file.
4780 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
4781 '[Inferior ... has been killed]' message.
4782 * gdb.base/kill-after-signal.exp: Likewise.
4783 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
4784 detach message.
4785 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
4786 message.
4787 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
4788 regexps to expect for '[Inferior ... detached]' as well.
4789 * gdb.threads/process-dies-while-detaching.exp: Likewise.
4790
47912018-04-24 Simon Marchi <simon.marchi@ericsson.com>
4792
4793 PR gdb/23104
4794 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
4795
47962018-04-22 Rajendra SY <rajendra.sy@gmail.com>
4797
4798 PR gdb/23095
4799 * gdb.base/break-probes.exp: Pass shlib_load to
4800 prepare_for_testing. Set normal_bp to r_debug_state if target is
4801 bsd.
4802
48032018-04-19 Richard Bunt <richard.bunt@arm.com>
4804
4805 * gdb.threads/multiple-successive-infcall.c: New test.
4806 * gdb.threads/multiple-successive-infcall.exp: New file.
4807
48082018-04-17 Tom Tromey <tom@tromey.com>
4809
4810 * gdb.rust/simple.rs (Union): New type.
4811 (main): New local "u".
4812 * gdb.rust/simple.exp (test_one_slice): Add new test case.
4813
48142018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4815
4816 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
4817 number information in output of "whereis" command.
4818 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
4819
48202018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4821
4822 * gdb.ada/info_types.exp: Adjust expected output to the line
4823 numbers now printed by "info var/func/type".
4824 * gdb.base/completion.exp: Likewise.
4825 * gdb.base/included.exp: Likewise.
4826 * gdb.cp/cp-relocate.exp: Likewise.
4827 * gdb.cp/cplusfuncs.exp: Likewise.
4828 * gdb.cp/namespace.exp: Likewise.
4829 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
4830
48312018-04-13 Markus Metzger <markus.t.metzger@intel.com>
4832
4833 * gdb.btrace/cpu.exp: New.
4834
48352018-04-13 Markus Metzger <markus.t.metzger@intel.com>
4836
4837 * gdb.base/step-indirect-call-thunk.exp: New.
4838 * gdb.base/step-indirect-call-thunk.c: New.
4839 * gdb.reverse/step-indirect-call-thunk.exp: New.
4840 * gdb.reverse/step-indirect-call-thunk.c: New.
4841
48422018-04-11 Simon Marchi <simon.marchi@ericsson.com>
4843
4844 * gdb.base/pie-fork.c: New file.
4845 * gdb.base/pie-fork.exp: New file.
4846
48472018-04-11 Tom Tromey <tom@tromey.com>
4848
4849 * gdb.rust/simple.exp: Add test for ".." struct initializer.
4850
48512018-04-10 Pedro Alves <palves@redhat.com>
4852
4853 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
4854 exits. Instead loop running forever.
4855 (fork_parent): Run forever too.
4856
48572018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
4858
4859 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
4860 mi_continue_to_line.
4861 * gdb.mi/mi-stack.c (callee4): Add comment.
4862
48632018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
4864
4865 * gdb.mi/mi-stack.exp: Fix indentation.
4866
48672018-04-07 Simon Marchi <simon.marchi@ericsson.com>
4868
4869 PR gdb/22979
4870 * gdb.arch/amd64-osabi.exp: New file.
4871
48722018-04-07 Simon Marchi <simon.marchi@ericsson.com>
4873
4874 PR gdb/22980
4875 * gdb.base/osabi.exp: New file.
4876
48772018-04-02 Weimin Pan <weimin.pan@oracle.com>
4878
4879 * gdb.cp/static-typedef-print.exp: New file.
4880 * gdb.cp/static-typedef-print.cc: New file.
4881
48822018-03-27 Joel Brobecker <brobecker@adacore.com>
4883
4884 * gdb.ada/varsize_limit: New testcase.
4885
48862018-03-27 Joel Brobecker <brobecker@adacore.com>
4887
4888 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
4889
4890 * gdb.ada/notcplusplus: New testcase.
4891
4892 * gdb.base/c-linkage-name.c: New file.
4893 * gdb.base/c-linkage-name.exp: New testcase.
4894
48952018-03-26 Tom Tromey <tom@tromey.com>
4896
4897 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
4898 * gdb.python/py-framefilter.py (name_error): New global.
4899 (ErrorInName.function): Use name_error.
4900
49012018-03-26 Tom Tromey <tom@tromey.com>
4902
4903 PR backtrace/15582:
4904 * gdb.python/py-framefilter.exp: Add "bt hide" test.
4905
49062018-03-23 Keith Seitz <keiths@redhat.com>
4907
4908 PR c++/22968
4909 * gdb.cp/subtypes.exp: New file.
4910 * gdb.cp/subtypes.h: New file.
4911 * gdb.cp/subtypes.cc: New file.
4912 * gdb.cp/subtypes-2.cc: New file.
4913
49142018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
4915
4916 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
4917 (done): Call '_exit' not 'exit' to avoid atexit handlers.
4918 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
4919 -nostartfiles when compiling the test. Confirm that all registers
4920 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
4921
49222018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
4923
4924 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
4925 option, syntax was wrong anyway.
4926 * gdb.arch/arm-disp-step.exp: Likewise.
4927 * gdb.arch/sparc64-regs.exp: Likewise.
4928 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
4929 option, syntax was wrong anyway, switch to use
4930 prepare_for_testing.
4931 * gdb.arch/i386-disp-step.exp: Likewise.
4932
49332018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
4934
4935 * gdb.ada/exec_changed.exp: Replace "target_info exists
4936 use_gdb_stub" by "use_gdb_stub".
4937 * gdb.ada/start.exp: Likewise.
4938 * gdb.base/async-shell.exp: Likewise.
4939 * gdb.base/attach-pie-misread.exp: Likewise.
4940 * gdb.base/attach-wait-input.exp: Likewise.
4941 * gdb.base/break-entry.exp: Likewise.
4942 * gdb.base/break-interp.exp: Likewise.
4943 * gdb.base/dprintf-detach.exp: Likewise.
4944 * gdb.base/nostdlib.exp: Likewise.
4945 * gdb.base/solib-nodir.exp: Likewise.
4946 * gdb.base/statistics.exp: Likewise.
4947 * gdb.base/testenv.exp: Likewise.
4948 * gdb.mi/mi-exec-run.exp: Likewise.
4949 * gdb.mi/mi-start.exp: Likewise.
4950 * gdb.multi/dummy-frame-restore.exp: Likewise.
4951 * gdb.multi/multi-arch-exec.exp: Likewise.
4952 * gdb.multi/multi-arch.exp: Likewise.
4953 * gdb.multi/tids.exp: Likewise.
4954 * gdb.multi/watchpoint-multi.exp: Likewise.
4955 * gdb.python/py-events.exp: Likewise.
4956 * gdb.threads/attach-into-signal.exp: Likewise.
4957 * gdb.threads/attach-stopped.exp: Likewise.
4958 * gdb.threads/threadapply.exp: Likewise.
4959 * lib/selftest-support.exp: Likewise.
4960
49612018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
4962
4963 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
4964
49652018-03-20 Stephen Roberts <stephen.roberts@arm.com>
4966
4967 * gdb.perf/template-breakpoints.cc: New file.
4968 * gdb.perf/template-breakpoints.exp: New file.
4969 * gdb.perf/template-breakpoints.py: New file.
4970
49712018-03-19 Tom Tromey <tom@tromey.com>
4972
4973 * gdb.rust/simple.rs (main): Add local variables field1, field2,
4974 y0.
4975 * gdb.rust/simple.exp: Test bare identifier form of struct
4976 initializer.
4977
49782018-03-19 Tom Tromey <tom@tromey.com>
4979
4980 * gdb.gdb/observer.exp: Remove.
4981
49822018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4983
4984 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
4985 "qualified" option when setting breakpoints.
4986 * gdb.trace/backtrace.exp: Likewise.
4987 * gdb.trace/circ.exp: Likewise.
4988 * gdb.trace/collection.exp: Likewise.
4989 * gdb.trace/disconnected-tracing.exp: Likewise.
4990 * gdb.trace/ftrace-lock.exp: Likewise.
4991 * gdb.trace/ftrace.exp: Likewise.
4992 * gdb.trace/infotrace.exp: Likewise.
4993 * gdb.trace/packetlen.exp: Likewise.
4994 * gdb.trace/passc-dyn.exp: Likewise.
4995 * gdb.trace/qtro.exp: Likewise.
4996 * gdb.trace/read-memory.exp: Likewise.
4997 * gdb.trace/report.exp: Likewise.
4998 * gdb.trace/signal.exp: Likewise.
4999 * gdb.trace/status-stop.exp: Likewise.
5000 * gdb.trace/strace.exp: Likewise.
5001 * gdb.trace/tfind.exp: Likewise.
5002 * gdb.trace/trace-break.exp: Likewise.
5003 * gdb.trace/trace-condition.exp: Likewise.
5004 * gdb.trace/trace-mt.exp: Likewise.
5005 * gdb.trace/tstatus.exp: Likewise.
5006 * gdb.trace/tsv.exp: Likewise.
5007 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
5008 * gdb.trace/unavailable.exp: Likewise.
5009 * gdb.trace/while-dyn.exp: Likewise.
5010
50112018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5012
5013 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
5014 that libinproctrace is copied to the target.
5015
50162018-03-14 Tom Tromey <tom@tromey.com>
5017
5018 PR cli/14977:
5019 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
5020 a null pointer.
5021 * gdb.base/wchar.exp: Likewise.
5022
50232018-03-14 Tom Tromey <tom@tromey.com>
5024
5025 PR cli/19918:
5026 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
5027 flag.
5028
50292018-03-08 Simon Marchi <simon.marchi@ericsson.com>
5030
5031 PR gdb/22841
5032 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
5033 "target" to remote_exec.
5034
50352018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
5036
5037 PR gdb/22841
5038 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
5039 ${board}_upload): Remove.
5040
50412018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
5042
5043 * gdb.cp/watch-cp.cc: New test.
5044 * gdb.cp/watch-cp.exp: New file.
5045
50462018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5047
5048 * gdb.base/infcall-nested-structs.exp: New file.
5049 * gdb.base/infcall-nested-structs.c: New file.
5050 * gdb.base/float.exp: Add riscv support.
5051
50522018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
5053
5054 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
5055 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
5056
50572018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
5058
5059 * gdb.server/abspath.exp: New file.
5060 * lib/gdb.exp (with_cwd): New procedure.
5061
50622018-02-28 Simon Marchi <simon.marchi@ericsson.com>
5063
5064 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
5065 use it.
5066 (gdb_is_target_remote_prompt): New proc.
5067 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
5068 (gdb_is_target_native): Pass prompt parameter to
5069 gdb_is_target_1.
5070
50712018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
5072
5073 * gdb.base/load-command.c: New file.
5074 * gdb.base/load-command.exp: New file.
5075 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
5076 (gdb_is_target_1): ...this, and generalize for other targets
5077 than just remote.
5078 (gdb_is_target_remote): Use gdb_is_target_1.
5079 (gdb_is_target_native): use gdb_is_target_1.
5080
50812018-02-26 Tom Tromey <tom@tromey.com>
5082
5083 PR python/16497:
5084 * gdb.python/py-framefilter.exp: Update test.
5085
50862018-02-26 Tom Tromey <tom@tromey.com>
5087
5088 * gdb.dwarf2/variant.c: New file.
5089 * gdb.dwarf2/variant.exp: New file.
5090
50912018-02-26 Tom Tromey <tom@tromey.com>
5092
5093 * gdb.rust/simple.exp: Accept more possible results in enum test.
5094
50952018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
5096
5097 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
5098 parentheses.
5099
51002018-02-23 Maciej W. Rozycki <macro@mips.com>
5101
5102 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
5103 name of a variable: $actual_linejj -> $actual_line.
5104
51052018-02-21 John Baldwin <jhb@FreeBSD.org>
5106
5107 * gdb.arch/amd64-i386-address.exp: Fix a typo.
5108
51092018-02-20 Markus Metzger <markus.t.metzger@intel.com>
5110
5111 * gdb.btrace/buffer-size.exp: Do not force BTS.
5112
51132018-02-14 Pedro Alves <palves@redhat.com>
5114
5115 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
5116 getting a "Quit".
5117
51182018-02-09 Markus Metzger <markus.t.metzger@intel.com>
5119
5120 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
5121 Fix test name.
5122
51232018-02-07 Simon Marchi <simon.marchi@ericsson.com>
5124
5125 * gdb.cp/m-static.exp: Check type of optimized out static
5126 member.
5127
51282018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
5129
5130 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
5131 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
5132
51332018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
5134 Leszek Swirski <leszeks@google.com>
5135
5136 * gdb.python/py-prettyprint.c
5137 (struct to_string_returns_value_inner,
5138 struct to_string_returns_value_wrapper): New.
5139 (main): Add tsrvw variable.
5140 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
5141 ToStringReturnsValueWrapper): New classes.
5142 (register_pretty_printers): Register new pretty-printers.
5143 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
5144 recursive pretty printer.
5145 * gdb.python/py-mi.exp: Likewise.
5146
51472018-02-01 Leszek Swirski <leszeks@google.com>
5148
5149 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
5150 functions with the same name as an include file are parsed
5151 correctly.
5152
51532018-02-01 Yao Qi <yao.qi@linaro.org>
5154
5155 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
5156 "\[^\r\n\]*".
5157
51582018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
5159
5160 * gdb.arch/powerpc-prologue-frame.s: New file.
5161 * gdb.arch/powerpc-prologue-frame.c: Likewise.
5162 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
5163
51642018-01-31 Joel Brobecker <brobecker@adacore.com>
5165
5166 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
5167
51682018-01-30 Pedro Alves <palves@redhat.com>
5169
5170 PR gdb/13211
5171 * gdb.base/interrupt-daemon.c: New.
5172 * gdb.base/interrupt-daemon.exp: New.
5173 * gdb.multi/multi-term-settings.c: New.
5174 * gdb.multi/multi-term-settings.exp: New.
5175
51762018-01-30 Joel Brobecker <brobecker@adacore.com>
5177
5178 * gdb.base/break.exp: Save the location where the breakpoint
5179 on break.c:47 was actually inserted when debugging the version
5180 compiled at -O2 and use it in the expected output of the "info
5181 break" test performed soon after.
5182
51832018-01-22 Pedro Alves <palves@redhat.com>
5184 Sergio Durigan Junior <sergiodj@redhat.com>
5185
5186 * gdb.base/whatis.exp: Add tests for 'set print object on' +
5187 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
5188
51892018-01-22 Joel Brobecker <brobecker@adacore.com>
5190
5191 * gdb.base/break-include.c, gdb.base/break-include.inc,
5192 gdb.base/break-include.exp: New files.
5193 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
5194 line number now being the actual line number where the breakpoint
5195 was inserted.
5196 * gdb.mi/mi-break.exp: Likewise.
5197 * gdb.mi/mi-reverse.exp: Likewise.
5198 * gdb.mi/mi-simplerun.exp: Ditto.
5199
52002018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
5201
5202 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
5203 varobj.
5204 * gdb.mi/mi-var-create-rtti.exp: Likewise.
5205
52062018-01-21 Don Breazeal <donb@codesourcery.com>
5207 Andrew Burgess <andrew.burgess@embecosm.com>
5208
5209 * gdb.mi/basics.c: Add new global.
5210 * gdb.mi/mi-frame-regs.exp: New file.
5211 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
5212 case.
5213
52142018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
5215
5216 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
5217 non-parameter, and on an unknown symbol.
5218
52192018-01-19 Tom Tromey <tom@tromey.com>
5220
5221 * gdb.rust/modules.rs (TWENTY_THREE): New global.
5222 * gdb.rust/modules.exp: Add ::-qualified lookup test.
5223
52242018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5225
5226 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
5227 setrlimit and chdir to int.
5228
52292018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5230
5231 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
5232 function.
5233 (my_tend): Likewise.
5234 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
5235 rationale of avoiding FP- and vector instructions.
5236
52372018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
5238
5239 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
5240 "info reg" with "\[ \t\]*".
5241 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
5242 "\[ \t\]+".
5243 * gdb.arch/s390-multiarch.exp: Ditto.
5244 * gdb.base/pc-fp.exp: Ditto.
5245 * gdb.reverse/i386-precsave.exp: Ditto.
5246 * gdb.reverse/i386-reverse.exp: Ditto.
5247 * gdb.reverse/i387-env-reverse.exp: Ditto.
5248 * gdb.reverse/i387-stack-reverse.exp: Ditto.
5249
52502018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
5251
5252 * lib/gdb.exp (gdb_compile): Re-enable use of
5253 universal_compile_options for languages other than Rust.
5254
52552018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
5256
5257 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
5258
52592018-01-17 Mike Gulick <mgulick@mathworks.com>
5260
5261 PR gdb/16577
5262 * gdb.base/solib-vanish.exp: New.
5263 * gdb.base/solib-vanish-main.c: New.
5264 * gdb.base/solib-vanish-lib1.c: New.
5265 * gdb.base/solib-vanish-lib2.c: New.
5266
52672018-01-17 Yao Qi <yao.qi@linaro.org>
5268
5269 * gdb.compile/compile.exp: Match the address printed for
5270 frame in the output of command "bt".
5271
52722018-01-15 Tom Tromey <tom@tromey.com>
5273
5274 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
5275 compute sp_reg.
5276
52772018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
5278
5279 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
5280 to prepare.
5281 (prepare): Return 0 on error, 1 on success.
5282
52832018-01-12 Pedro Alves <palves@redhat.com>
5284
5285 * gdb.base/continue-after-aborted-step-over.c: New.
5286 * gdb.base/continue-after-aborted-step-over.exp: New.
5287
52882018-01-11 Simon Marchi <simon.marchi@ericsson.com>
5289
5290 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
5291 options when not creating an executable.
5292
52932018-01-11 Pedro Alves <palves@redhat.com>
5294
5295 PR remote/22597
5296 * gdb.server/stop-reply-no-thread.c: New file.
5297 * gdb.server/stop-reply-no-thread.exp: New file.
5298
52992018-01-10 Pedro Alves <palves@redhat.com>
5300
5301 PR gdb/22670
5302 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
5303 functions too. Test setting breakpoints and printing C functions
5304 with no debug info too.
5305 * gdb.ada/bp_c_mixed_case/qux.c: New file.
5306
53072018-01-10 Pedro Alves <palves@redhat.com>
5308
5309 PR gdb/22670
5310 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
5311 a fail.
5312
53132018-01-10 Pedro Alves <palves@redhat.com>
5314
5315 PR gdb/22670
5316 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
5317
53182018-01-08 Simon Marchi <simon.marchi@ericsson.com>
5319
5320 * gdb.server/unittest.exp: Match the output in non-development
5321 mode.
5322
53232018-01-08 Simon Marchi <simon.marchi@ericsson.com>
5324
5325 * gdb.gdb/unittest.exp: Match output in non-development mode.
5326
53272018-01-08 Joel Brobecker <brobecker@adacore.com>
5328
5329 * gdb.ada/access_tagged_param.exp: Relax expected output
5330 for value of "ObjL" in "continue" to pck.inspect breakpoint
5331 test.
5332
53332018-01-08 Joel Brobecker <brobecker@adacore.com>
5334
5335 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
5336 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
5337
53382018-01-05 Pedro Alves <palves@redhat.com>
5339
5340 PR gdb/18653
5341 * gdb.base/libsegfault.exp: New.
5342
53432018-01-05 Joel Brobecker <brobecker@adacore.com>
5344
5345 PR gdb/22670
5346 * gdb.ada/access_tagged_param.exp: New file.
5347 * gdb.ada/access_tagged_param/foo.adb: New file.
5348
53492018-01-05 Pedro Alves <palves@redhat.com>
5350
5351 PR gdb/22670
5352 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
5353 exercise lower case too, and to exercise both full matching and
5354 wild matching.
5355
53562018-01-05 Joel Brobecker <brobecker@adacore.com>
5357
5358 * gdb.ada/rename_subscript_param: New testcase.
5359
53602018-01-05 Jerome Guitton <guitton@adacore.com>
5361
5362 * gdb.ada/arr_acc_idx_w_gap: New testcase.
5363
53642018-01-05 Joel Brobecker <brobecker@adacore.com>
5365
5366 * gdb.ada/convvar_comp: New testcase.
5367
53682018-01-05 Xavier Roirand <roirand@adacore.com>
5369
5370 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
5371 (My_Table): New global variable.
5372 * testsuite/gdb.ada/array_char_idx.exp: Add test.
5373
53742018-01-04 Joel Brobecker <brobecker@adacore.com>
5375
5376 PR gdb/22670
5377 * gdb.ada/maint_with_ada: New testcase.
5378
53792018-01-04 Joel Brobecker <brobecker@adacore.com>
5380
5381 PR gdb/22670
5382 * gdb.ada/bp_c_mixed_case: New testcase.
5383
53842018-01-04 Joel Brobecker <brobecker@adacore.com>
5385
5386 PR gdb/22670
5387 * gdb.ada/complete.exp: Add "complete break ada" test.
5388
53892018-01-04 Joel Brobecker <brobecker@adacore.com>
5390
5391 PR gdb/22670
5392 * gdb.ada/info_addr_mixed_case: New testcase.
5393
53942018-01-03 Xavier Roirand <roirand@adacore.com>
5395
5396 * gdb.ada/excep_handle.exp: New testcase.
5397 * gdb.ada/excep_handle/foo.adb: New file.
5398 * gdb.ada/excep_handle/pck.ads: New file.
5399
54002018-01-03 Joel Brobecker <brobecker@adacore.com>
5401
5402 * gdb.base/step-line.c: Add extra empty line in copyright header.
5403 * gdb.base/step-line.inp: Likewise.
5404
54052018-01-02 Joel Brobecker <brobecker@adacore.com>
5406
5407 * gdb.ada/dyn_stride.exp: Add slice test.
5408
54092018-01-02 Joel Brobecker <brobecker@adacore.com>
5410
5411 * gdb.ada/dyn_stride: New testcase.
5412
54132017-12-27 Stafford Horne <shorne@gmail.com>
5414
5415 * gdb.xml/extra-regs.xml: Add example foo reggroup.
5416 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
5417
54182017-12-27 Stafford Horne <shorne@gmail.com>
5419
5420 * gdb.base/reggroups.c: New file.
5421 * gdb.base/reggroups.exp: New file.
5422
54232017-12-18 Joel Brobecker <brobecker@adacore.com>
5424
5425 * gdb.dwarf2/ada-valprint-error.c: New file.
5426 * gdb.dwarf2/ada-valprint-error.exp: New file.
5427
54282017-12-18 Joel Brobecker <brobecker@adacore.com>
5429
5430 * gdb.ada/assign_arr: New testcase.
5431
54322017-12-18 Xavier Roirand <roirand@adacore.com>
5433
5434 * gdb.ada/funcall_ptr: New testcase.
5435
54362017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
5437
5438 PR cli/16224
5439 * gdb.base/ptype-offsets.cc: New file.
5440 * gdb.base/ptype-offsets.exp: New file.
5441
54422017-12-15 Yao Qi <yao.qi@linaro.org>
5443
5444 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
5445 if XML is disabled.
5446
54472017-12-15 Xavier Roirand <roirand@adacore.com>
5448
5449 * gdb.ada/same_component_name: New testcase.
5450
54512017-12-14 Joel Brobecker <brobecker@adacore.com>
5452
5453 * gdb.ada/str_binop_equal: New testcase.
5454
54552017-12-14 Joel Brobecker <brobecker@adacore.com>
5456
5457 * gdb.ada/task_switch_in_core: New testcase.
5458
54592017-12-13 Simon Marchi <simon.marchi@ericsson.com>
5460
5461 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
5462 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
5463 call test_bkpt_qualified.
5464 (test_bkpt_qualified): New proc.
5465
54662017-12-13 Pedro Alves <palves@redhat.com>
5467
5468 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
5469 Tighten regexp by matching with an anchor.
5470
54712017-12-13 Pedro Alves <palves@redhat.com>
5472
5473 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
5474 ("expression with namespace"): New set of tests.
5475 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
5476 (Nested::Test_NS::qux): New.
5477 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
5478 defaults to 'start_quote_char' and 'end_quote_char' parameters.
5479
54802017-12-13 Joel Brobecker <brobecker@adacore.com>
5481
5482 * gdb.base/server-del-break.c: New file.
5483 * gdb.base/server-del-break.exp: New file.
5484
54852017-12-12 Stafford Horne <shorne@gmail.com>
5486
5487 * gdb.xml/tdesc-regs.exp: Add or1k support.
5488
54892017-12-12 Stafford Horne <shorne@gmail.com>
5490
5491 * gdb.base/bp-permanent.c: Define nop of or1k.
5492
54932017-12-11 Joel Brobecker <brobecker@adacore.com>
5494
5495 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
5496 output with components being reordered.
5497
54982017-12-11 Joel Brobecker <brobecker@adacore.com>
5499
5500 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
5501 output with components being reordered.
5502
55032017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5504 Pedro Alves <palves@redhat.com>
5505
5506 * gdb.base/maint.exp (check for .gdb_index): Check also for
5507 .debug_names.
5508 * gdb.dlang/watch-loc.c (.debug_aranges): New.
5509 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
5510 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
5511 (.gdb_index used after symbol reloading): Support also .debug_names.
5512 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
5513
55142017-12-08 Yao Qi <yao.qi@linaro.org>
5515
5516 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
5517 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
5518
55192017-12-08 Yao Qi <yao.qi@linaro.org>
5520
5521 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
5522 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
5523
55242017-12-08 Yao Qi <yao.qi@linaro.org>
5525
5526 * gdb.arch/aarch64-tagged-pointer.c: New file.
5527 * gdb.arch/aarch64-tagged-pointer.exp: New file.
5528
55292017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
5530
5531 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
5532 "int".
5533
55342017-12-07 Keith Seitz <keiths@redhat.com>
5535
5536 PR breakpoints/22569
5537 * gdb.linespec/ls-errs.exp: Change expected result of "break
5538 -source this file has spaces.c -line 3".
5539 Check that an explicit source file followed by whitespace is
5540 identified as an invalid explicit location.
5541
55422017-12-07 Keith Seitz <keiths@redhat.com>
5543
5544 * gdb.cp/nested-types.cc: New file.
5545 * gdb.cp/nested-types.exp: New file.
5546 * lib/cp-support.exp: Load data-structures.exp library.
5547 (debug_cp_test_ptype_class): New global.
5548 (cp_ptype_class_verbose, next_line): New procedures.
5549 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
5550 Add and document new return value.
5551 Switch the list of lines to a queue.
5552 Add support for new `type' key for nested type definitions.
5553 Add debugging/troubleshooting messages.
5554 * lib/data-structures.exp: New file.
5555
55562017-12-07 Simon Marchi <simon.marchi@ericsson.com>
5557
5558 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
5559 with proc_with_prefix, don't use with_test_prefix.
5560
55612017-12-07 Tom Tromey <tom@tromey.com>
5562
5563 * gdb.base/break.exp: Add test for empty "commands".
5564
55652017-12-07 Yao Qi <yao.qi@linaro.org>
5566
5567 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
5568 malloc and catch syscall.
5569
55702017-12-07 Phil Muldoon <pmuldoon@redhat.com>
5571
5572 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
5573 tests for explicit locations.
5574
55752017-12-06 Pedro Alves <palves@redhat.com>
5576
5577 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
5578 force-disabling XML descriptions.
5579
55802017-12-04 Pedro Alves <palves@redhat.com>
5581
5582 PR gdb/22499
5583 * gdb.arch/amd64-disp-step-avx.S: New file.
5584 * gdb.arch/amd64-disp-step-avx.exp: New file.
5585
55862017-12-03 Pedro Alves <palves@redhat.com>
5587
5588 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
5589 and <string.h>.
5590 (parent_function): Print distinct messages when waitpid fails, or
5591 the child exits with a signal, or the child exits for an unhandled
5592 reason.
5593 * gdb.threads/process-dies-while-detaching.exp
5594 (detach_and_expect_exit): New 'inf_output_re' parameter and use
5595 it. Wait for both inferior output and GDB's prompt. Use an
5596 indirect spawn id list.
5597 (do_detach): New parameter 'child_exit'. Use it to compute
5598 expected inferior output.
5599 (test_detach, test_detach_watch, test_detach_killed_outside):
5600 Adjust to pass down the expected child exit kind.
5601
56022017-12-01 Joel Brobecker <brobecker@adacore.com>
5603 Sergio Durigan Junior <sergiodj@redhat.com>
5604 Pedro Alves <palves@redhat.com>
5605
5606 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
5607
56082017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
5609
5610 * gdb.base/relocate.exp: Add tests to guarantee that arguments
5611 to 'symbol-file' and 'add-symbol-file' can be
5612 position-independent.
5613
56142017-12-01 Yao Qi <yao.qi@linaro.org>
5615
5616 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
5617 the URL in copyright header.
5618 * gdb.arch/aarch64-fp.exp: Likewise.
5619 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
5620 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
5621 * gdb.base/expand-psymtabs.exp: Likewise.
5622 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
5623 * gdb.fortran/common-block.exp: Likewise.
5624 * gdb.fortran/common-block.f90: Likewise.
5625 * gdb.fortran/logical.exp: Likewise.
5626 * gdb.fortran/vla-datatypes.f90: Likewise.
5627 * gdb.fortran/vla-sub.f90: Likewise.
5628
56292017-11-30 Joel Brobecker <brobecker@adacore.com>
5630
5631 * gdb.ada/repeat_dyn: New testcase.
5632
56332017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
5634
5635 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
5636 Update for changed thread numbering.
5637 * gdb.cell/bt.exp: Update for changed GDB output.
5638
56392017-11-30 Simon Marchi <simon.marchi@ericsson.com>
5640
5641 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
5642 setting isremote by hand.
5643 * boards/dwarf4-gdb-index.exp: Likewise.
5644 * boards/fission.exp: Likewise.
5645 * boards/stabs.exp: Likewise.
5646
56472017-11-30 Pedro Alves <palves@redhat.com>
5648
5649 * gdb.linespec/cpls-ops.exp
5650 (check_explicit_skips_function_argument): Extract the underlying
5651 type of size_t instead of hardcoding it.
5652
56532017-11-29 Pedro Alves <palves@redhat.com>
5654
5655 PR c++/19436
5656 * gdb.linespec/cpls-abi-tag.cc: New file.
5657 * gdb.linespec/cpls-abi-tag.exp: New file.
5658
56592017-11-29 Pedro Alves <palves@redhat.com>
5660
5661 * gdb.base/langs.exp: Use -qualified.
5662 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
5663 it.
5664 * gdb.cp/namespace.exp: Use -qualified.
5665 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
5666 (overload-3, template-overload, template-ret-type, const-overload)
5667 (const-overload-quoted, anon-ns, ambiguous-prefix): New
5668 procedures.
5669 (test_driver): Call them.
5670 * gdb.cp/save-bp-qualified.cc: New.
5671 * gdb.cp/save-bp-qualified.exp: New.
5672 * gdb.linespec/explicit.exp: Test -qualified.
5673 * lib/completion-support.exp (completion::explicit_opts_list): Add
5674 "-qualified".
5675 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
5676
56772017-11-29 Phil Muldoon <pmuldoon@redhat.com>
5678
5679 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
5680
56812017-11-29 Tom Tromey <tom@tromey.com>
5682
5683 * gdb.base/relocate.exp: Update invalid argument test.
5684 Add new tests for invalid arguments.
5685
56862017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
5687
5688 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
5689 Return 0 as a long.
5690 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
5691
56922017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
5693
5694 * gdb.cp/breakpoint.cc (bar): Set return type to void.
5695 * gdb.cp/psymtab-parameter.cc (func): Likewise.
5696 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
5697 func ().
5698 * gdb.cp/shadow.cc (B.func): Return 0.
5699
57002017-11-27 Joel Brobecker <brobecker@adacore.com>
5701
5702 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
5703 expected output in gdb_expect call to allow the exception
5704 message to be present as well. Fix syntax confusion to avoid
5705 TCL thinking that exception_name is an array.
5706
57072017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
5708
5709 * gdb.arch/spu-info.c: Include <unistd.h>.
5710 (do_signal_test): Fix broken calls to write.
5711 * gdb.arch/spu-info.exp: Use prepare_for_testing.
5712 Fix checks for empty mailboxes. Update signal tests for corrected
5713 do_signal_test routine. Allow nonzero event status.
5714 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
5715 * gdb.cell/arch.exp: Use standard_output_file.
5716 * gdb.cell/break.exp: Likewise.
5717 * gdb.cell/bt.exp: Likewise.
5718 * gdb.cell/core.exp: Likewise.
5719 * gdb.cell/dwarfaddr.exp: Likewise.
5720 * gdb.cell/ea-cache.exp: Likewise.
5721 * gdb.cell/ea-standalone.exp: Likewise.
5722 * gdb.cell/f-regs.exp: Likewise.
5723 * gdb.cell/fork.exp: Likewise.
5724 * gdb.cell/gcore.exp: Likewise.
5725 * gdb.cell/mem-access.exp: Likewise.
5726 * gdb.cell/ptype.exp: Likewise.
5727 * gdb.cell/registers.exp: Likewise.
5728 * gdb.cell/sizeof.exp: Likewise.
5729 * gdb.cell/solib-symbol.exp: Likewise.
5730 * gdb.cell/solib.exp: Likewise.
5731
57322017-11-25 Pedro Alves <palves@redhat.com>
5733
5734 * gdb.base/complete-empty.exp: New file.
5735 * gdb.base/completion.exp: Adjust.
5736
57372017-11-25 Pedro Alves <palves@redhat.com>
5738
5739 * gdb.linespec/cpls-ops.cc: New file.
5740 * gdb.linespec/cpls-ops.exp: New file.
5741 * lib/completion-support.exp (test_complete_prefix_range_re): New,
5742 factored out from ...
5743 (test_complete_prefix_range): ... this.
5744
57452017-11-24 Pedro Alves <palves@redhat.com>
5746
5747 * gdb.linespec/cpcompletion.exp: New file.
5748 * gdb.linespec/cpls-hyphen.cc: New file.
5749 * gdb.linespec/cpls.cc: New file.
5750 * gdb.linespec/cpls2.cc: New file.
5751 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
5752 test to use test_gdb_complete_unique. Add label completion,
5753 keyword completion and explicit location completion tests.
5754 * lib/completion-support.exp: New file.
5755
57562017-11-24 Joel Brobecker <brobecker@adacore.com>
5757
5758 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
5759 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
5760 when hitting an exception catchpoint.
5761
57622017-11-22 Yao Qi <yao.qi@linaro.org>
5763
5764 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
5765
57662017-11-22 Simon Marchi <simon.marchi@ericsson.com>
5767
5768 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
5769 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
5770 * gdb.dwarf2/info-locals-optimized-out.c: New file.
5771
57722017-11-22 Yao Qi <yao.qi@linaro.org>
5773
5774 * gdb.base/info-os.exp: Pass pthreads.
5775 * gdb.multi/multi-attach.exp: Likewise.
5776
57772017-11-22 Yao Qi <yao.qi@linaro.org>
5778
5779 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
5780 compiler.
5781
57822017-11-22 Yao Qi <yao.qi@linaro.org>
5783
5784 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
5785 * gdb.base/break-interp.exp: Likewise.
5786 * gdb.base/jit-attach-pie.exp: Likewise.
5787
57882017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
5789
5790 * gdb.base/float128.c (large128): New variable.
5791 * gdb.base/float128.exp: Add test to print largest __float128 value.
5792
57932017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
5794
5795 * gdb.arch/vsx-regs.exp: Update register content checks.
5796
57972017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
5798
5799 * gdb.arch/ppc-longdouble.exp: New file.
5800 * gdb.arch/ppc-longdouble.c: Likewise.
5801
58022017-11-21 Pedro Alves <palves@redhat.com>
5803
5804 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
5805
58062017-11-20 Pedro Alves <palves@redhat.com>
5807
5808 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
5809 (long_double_typedef): New typedefs.
5810 Use DEF on double and long double.
5811 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
5812 cases.
5813 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
5814 and 'long_double_ptr_same_size' locals. Use them to decide
5815 whether cast from array/function to float is valid/invalid.
5816
58172017-11-17 Tom Tromey <tom@tromey.com>
5818
5819 * gdb.rust/traits.rs: New file.
5820 * gdb.rust/traits.exp: New file.
5821
58222017-11-17 Joel Brobecker <brobecker@adacore.com>
5823
5824 * gdb.ada/minsyms: New testcase.
5825
58262017-11-16 Pedro Alves <palves@redhat.com>
5827
5828 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
5829 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
5830
58312017-11-16 Pedro Alves <palves@redhat.com>
5832
5833 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
5834 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
5835
58362017-11-16 Pedro Alves <palves@redhat.com>
5837
5838 * gdb.server/reconnect-ctrl-c.c: New file.
5839 * gdb.server/reconnect-ctrl-c.exp: New file.
5840
58412017-11-16 Phil Muldoon <pmuldoon@redhat.com>
5842
5843 * gdb.python/py-rbreak.exp: New file.
5844 * gdb.python/py-rbreak.c: New file.
5845 * gdb.python/py-rbreak-func2.c: New file.
5846
58472017-11-16 Pedro Alves <palves@redhat.com>
5848
5849 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
5850 pattern.
5851 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
5852 GDB.
5853
58542017-11-15 Simon Marchi <simon.marchi@ericsson.com>
5855
5856 * gdb.tui/completionn.exp (test_tab_completion): Add space in
5857 regex.
5858
58592017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
5860
5861 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
5862 test names.
5863
58642017-11-09 Pedro Alves <palves@redhat.com>
5865
5866 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
5867 factored out from ...
5868 (top level): ... here, and adjusted to avoid expecting beyond the
5869 prompt in a single gdb_test_multiple.
5870
58712017-11-09 Pedro Alves <palves@redhat.com>
5872
5873 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
5874 output.
5875 * gdb.server/ext-attach.exp ("kill" test): Likewise.
5876 * gdb.server/ext-restart.exp ("kill" test): Likewise.
5877 * gdb.server/ext-run.exp ("kill" test): Likewise.
5878 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
5879
58802017-11-09 Pedro Alves <palves@redhat.com>
5881
5882 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
5883 match till end of line.
5884
58852017-11-09 Pedro Alves <palves@redhat.com>
5886
5887 * gdb.base/memattr.exp: Tighten regexes to match the end line.
5888
58892017-11-09 Pedro Alves <palves@redhat.com>
5890
5891 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
5892 New procedures, factored out from ...
5893 (top level): ... here, and adjusted to avoid expecting beyond the
5894 prompt in one go.
5895
58962017-11-09 Pedro Alves <palves@redhat.com>
5897
5898 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
5899 output. Fix '?' match.
5900
59012017-11-08 Joel Brobecker <brobecker@adacore.com>
5902
5903 * gdb.ada/scoped_watch: New testcase.
5904 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
5905 which is actually correct.
5906 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
5907 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
5908
59092017-11-08 Pedro Alves <palves@redhat.com>
5910
5911 * gdb.gdb/complaints.exp (test_initial_complaints)
5912 (test_serial_complaints, test_short_complaints): Call
5913 complaint_internal instead of complaint.
5914
59152017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
5916
5917 * gdb.threads/tls-core.c: New file.
5918 * gdb.threads/tls-core.exp: Likewise.
5919
59202017-11-08 Pedro Alves <palves@redhat.com>
5921
5922 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
5923 (p Exported_Capitalized): New test.
5924 (p exported_capitalized): New test.
5925
59262017-11-07 Pedro Alves <palves@redhat.com>
5927
5928 * gdb.cp/ena-dis-br-range.exp: Add more tests.
5929
59302017-11-07 Pedro Alves <palves@redhat.com>
5931
5932 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
5933 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
5934 (disable_invalid, disable_inverted, disable_negative): New
5935 procedures.
5936 ("bad numbers"): New set of tests.
5937
59382017-11-07 Pedro Alves <palves@redhat.com>
5939
5940 * gdb.cp/ena-dis-br-range.exp: Add tests.
5941
59422017-11-07 Pedro Alves <palves@redhat.com>
5943
5944 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
5945
59462017-11-07 Xavier Roirand <roirand@adacore.com>
5947 Pedro Alves <palves@redhat.com>
5948
5949 * gdb.base/ena-dis-br.exp: Add reference to
5950 gdb.cp/ena-dis-br-range.exp.
5951 * gdb.cp/ena-dis-br-range.exp: New file.
5952 * gdb.cp/ena-dis-br-range.cc: New file.
5953
59542017-11-06 Pedro Alves <palves@redhat.com>
5955
5956 * gdb.base/attach-non-pgrp-leader.c: New.
5957 * gdb.base/attach-non-pgrp-leader.exp: New.
5958
59592017-11-06 Pedro Alves <palves@redhat.com>
5960
5961 * configure.ac: No longer check for termio.h and sgtty.h.
5962 * configure: Regenerate.
5963 * remote-utils.c: Include termios.h instead of gdb_termios.h.
5964 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
5965 Remove termio and sgtty code.
5966
59672017-11-03 Yao Qi <yao.qi@linaro.org>
5968
5969 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
5970 in GDB is disabled.
5971
59722017-11-03 Yao Qi <yao.qi@linaro.org>
5973
5974 * gdb.python/py-thrhandle.exp: Skip it if python is not
5975 enabled.
5976
59772017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
5978
5979 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
5980 as a breakpoint command.
5981
59822017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
5983
5984 PR python/21213
5985 * gdb.python/py-infthread.exp: Test calling
5986 InferiorThread.inferior () multiple times in a row.
5987
59882017-10-27 Keith Seitz <keiths@redhat.com>
5989
5990 * gdb.opt/inline-break.exp (break_info_1): New procedure.
5991 Test "info break" for every inlined function breakpoint.
5992
59932017-10-27 Yao Qi <yao.qi@linaro.org>
5994
5995 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
5996
59972017-10-26 Patrick Frants <osscontribute@gmail.com>
5998
5999 * gdb.cp/classes.exp (test_static_members): Test printing
6000 Outer::instance.
6001 * gdb.cp/classes.c (struct Inner, struct Outer): New.
6002 (Inner::instance, Outer::instance): New.
6003
60042017-10-24 Pedro Alves <palves@redhat.com>
6005
6006 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
6007 extra console" test in two stages.
6008
60092017-10-24 Pedro Alves <palves@redhat.com>
6010
6011 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
6012
60132017-10-24 Pedro Alves <palves@redhat.com>
6014
6015 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
6016 loop.
6017
60182017-10-24 Pedro Alves <palves@redhat.com>
6019
6020 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
6021 $attempt" and "stoppedtry $stoppedtry" test prefixes.
6022
60232017-10-24 Pedro Alves <palves@redhat.com>
6024
6025 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
6026 parameter and handle it. Don't output read value in test name.
6027
60282017-10-24 Pedro Alves <palves@redhat.com>
6029
6030 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
6031 custom test name.
6032
60332017-10-24 Pedro Alves <palves@redhat.com>
6034
6035 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
6036 include the unstable output directory name in the test's name.
6037 (initial_setup_simple) <'set args'>: Use custom test name.
6038
60392017-10-24 Pedro Alves <palves@redhat.com>
6040
6041 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
6042 with explicit test name.
6043
60442017-10-20 Pedro Alves <palves@redhat.com>
6045
6046 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
6047 'wait -i'. Use gdb_assert and remote_close.
6048
60492017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
6050
6051 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
6052 number from variable rather than hard-coded.
6053
60542017-10-19 Pedro Alves <palves@redhat.com>
6055
6056 * gdb.base/long-inferior-output.c: New file.
6057 * gdb.base/long-inferior-output.exp: New file.
6058
60592017-11-18 Keith Seitz <keiths@redhat.com>
6060
6061 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
6062 method.
6063 (main): Call it.
6064 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
6065 Add additional user-defined conversion operator tests.
6066
60672017-10-17 Pedro Alves <palves@redhat.com>
6068
6069 * boards/native-stdio-gdbserver.exp: Load "local-board".
6070
60712017-10-17 Pedro Alves <palves@redhat.com>
6072
6073 * gdb.base/quit-live.c: New file.
6074 * gdb.base/quit-live.exp: New file.
6075
60762017-10-16 Keith Seitz <keiths@redhat.com>
6077
6078 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
6079 (class_with_protected_typedef, class_with_private_typedef)
6080 (struct_with_public_typedef, struct_with_protected_typedef)
6081 (struct_with_private_typedef): New classes/structs.
6082 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
6083 typedefs and access specifiers.
6084
60852017-10-16 Pedro Alves <palves@redhat.com>
6086 Simon Marchi <simon.marchi@polymtl.ca>
6087
6088 * README (Local vs Remote vs Native): New section.
6089 * boards/local-board.exp: New file, with bits factored out from
6090 ...
6091 * boards/native-extended-gdbserver.exp: ... here. Load
6092 "local-board".
6093 * boards/native-gdbserver.exp: Load "local-board".
6094 (${board}_spawn, ${board}_exec): Delete.
6095 * boards/native-stdio-gdbserver.exp: Most contents factored out to
6096 ...
6097 * boards/stdio-gdbserver-base.exp: ... this new file.
6098 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
6099 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
6100 procedure.
6101 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
6102 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
6103 stdio_gdbserver_command.
6104 (${board}_get_remote_address, ${board}_get_comm_port)
6105 (${board}_download, ${board}_upload): Delete.
6106 (get_target_remote_pipe_cmd): New.
6107
61082017-10-16 Simon Marchi <simon.marchi@ericsson.com>
6109
6110 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
6111 test_bkpt_deletion, test_bkpt_cond_and_cmds,
6112 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
6113 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
6114 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
6115 remove with_test_prefix.
6116
61172017-10-13 Pedro Alves <palves@redhat.com>
6118
6119 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
6120 * gdb.base/annota1.exp: Use it instead of is_remote.
6121 * gdb.base/annota3.exp: Use it instead of is_remote.
6122 * gdb.cp/annota2.exp: Use it instead of is_remote.
6123 * gdb.cp/annota3.exp: Use it instead of is_remote.
6124 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
6125
61262017-10-13 Pedro Alves <palves@redhat.com>
6127
6128 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
6129 (test_num_test_vars, run_and_count_vars, find_env)
6130 (test_set_unset_env, test_inherit_env_var): New procedures.
6131 (top level): Use them.
6132
61332017-10-13 Pedro Alves <palves@redhat.com>
6134
6135 * lib/selftest-support.exp (selftest_setup): Extend comments, and
6136 also skip on stub-like targets.
6137
61382017-10-13 Pedro Alves <palves@redhat.com>
6139
6140 PR gdb/22293
6141 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
6142 (top level): Move some tests to ...
6143 (test_not_found): ... this new procedure.
6144 (top level): Call it.
6145
61462017-10-13 Pedro Alves <palves@redhat.com>
6147
6148 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
6149 expect different "info terminal" output if testing with a
6150 non-native target.
6151
61522017-10-13 Pedro Alves <palves@redhat.com>
6153 Simon Marchi <simon.marchi@polymtl.ca>
6154
6155 PR python/12966
6156 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
6157
61582017-10-13 Pedro Alves <palves@redhat.com>
6159
6160 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
6161 already.
6162
61632017-10-13 Pedro Alves <palves@redhat.com>
6164
6165 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
6166 is_remote.
6167
61682017-10-13 Pedro Alves <palves@redhat.com>
6169
6170 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
6171 is_remote.
6172
61732017-10-13 Pedro Alves <palves@redhat.com>
6174
6175 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
6176 is set.
6177 (corefile_test_attach): Likewise. Check can_spawn_for_attach
6178 instead of is_remote.
6179
61802017-10-13 Pedro Alves <palves@redhat.com>
6181
6182 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
6183 (top level): Add comment.
6184
61852017-10-13 Pedro Alves <palves@redhat.com>
6186
6187 * gdb.base/remote.exp (top level): Fix comment typo and add
6188 missing return.
6189
61902017-10-13 Pedro Alves <palves@redhat.com>
6191 Simon Marchi <simon.marchi@polymtl.ca>
6192
6193 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
6194 calls and add comments. Skip test if use_gdb_stub is set.
6195 (top level): Use "set cwd" command instead of "cd" command.
6196
61972017-10-13 Pedro Alves <palves@redhat.com>
6198
6199 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
6200 is_remote target check.
6201
62022017-10-13 Pedro Alves <palves@redhat.com>
6203
6204 * gdb.base/scope.exp: Use build_executable + clean_restart +
6205 gdb_file_cmd instead of prepare_for_testing and no longer skip
6206 "before run" tests on is_remote target boards. Update comments.
6207 * boards/native-extended-gdbserver.exp
6208 (extended_gdbserver_load_last_file): New, factored out from ...
6209 (gdb_load): ... this. Move further below and add comment.
6210 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
6211
62122017-10-12 Pedro Alves <palves@redhat.com>
6213
6214 * gdb.base/attach.exp: Remove references to gdb64.
6215 * gdb.base/dbx.exp: Remove references to gdb64.
6216
62172017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
6218 Pedro Alves <palves@redhat.com>
6219
6220 * gdb.base/label.exp: Remove is_remote target check.
6221
62222017-10-12 Pedro Alves <palves@redhat.com>
6223
6224 * gdb.base/auvx.exp (coredir): Update comment.
6225 (top level) <core_works>: Use "set cwd" command instead of "cd"
6226 command.
6227
62282017-10-12 Pedro Alves <palves@redhat.com>
6229 Simon Marchi <simon.marchi@polymtl.ca>
6230
6231 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
6232 target boards.
6233
62342017-10-12 Pedro Alves <palves@redhat.com>
6235 Simon Marchi <simon.marchi@polymtl.ca>
6236
6237 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
6238 Instead skip if there's any gdb_protocol set.
6239
62402017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
6241 Pedro Alves <palves@redhat.com>
6242
6243 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
6244
62452017-10-12 Pedro Alves <palves@redhat.com>
6246 Simon Marchi <simon.marchi@polymtl.ca>
6247
6248 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
6249 instead of on dejagnu remote boards.
6250
62512017-10-12 Pedro Alves <palves@redhat.com>
6252 Simon Marchi <simon.marchi@polymtl.ca>
6253
6254 * gdb.base/inferior-died.exp: Remove is_remote and isnative
6255 checks. Use build_executable + clean_restart instead of
6256 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
6257 of enabling non-stop after starting gdb.
6258
62592017-10-12 Pedro Alves <palves@redhat.com>
6260
6261 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
6262 * gdb.threads/non-ldr-exc-2.exp: Ditto.
6263 * gdb.threads/non-ldr-exc-3.exp: Ditto.
6264 * gdb.threads/non-ldr-exc-4.exp: Ditto.
6265
62662017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
6267
6268 * gdb.arch/arc-tdesc-cpu.exp: New file.
6269 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
6270
62712017-10-10 Simon Marchi <simon.marchi@ericsson.com>
6272
6273 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
6274
62752017-10-10 Pedro Alves <palves@redhat.com>
6276
6277 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
6278 expect CLI output.
6279
62802017-10-10 Pedro Alves <palves@redhat.com>
6281
6282 * lib/selftest-support.exp (selftest_setup): Update for
6283 captured_command_loop's prototype change.
6284
62852017-10-09 Pedro Alves <palves@redhat.com>
6286
6287 Test both arch1=>arch2 and arch2=>arch1.
6288
6289 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
6290 (srcfile2, binfile2, march1, march2): Remove globals. Largely
6291 factored out to...
6292 (append_arch1_options, append_arch2_options, append_arch_options)
6293 (build_executables): New procedures.
6294 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
6295 local.
6296 (top level): Add new 'first_arch' testing axis.
6297
62982017-10-09 Pedro Alves <palves@redhat.com>
6299
6300 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
6301 (barrier): New.
6302 (thread_start, all_started): New functions.
6303 (main): Spawn new thread and wait until it is scheduled.
6304 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
6305 option.
6306 (do_test): Add 'selected_thread' parameter. Run to all_started
6307 instead of main. Explicitly set the breakpoint at main. Switch
6308 to the SELECTED_THREAD thread.
6309 (top level): Test handling the exec event with either the main
6310 thread or the second thread selected.
6311
63122017-10-09 Pedro Alves <palves@redhat.com>
6313
6314 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
6315 logic. Move STOP marker after the value checks.
6316 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
6317 regexp.
6318
63192017-10-06 Sandra Loosemore <sandra@codesourcery.com>
6320
6321 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
6322
63232017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
6324
6325 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
6326 integer-to-dfp conversion.
6327 * gdb.base/dfp-test.exp: Likewise.
6328
63292017-10-04 Pedro Alves <palves@redhat.com>
6330
6331 * gdb.multi/hangout.c: Include <unistd.h>.
6332 (hangout_loop): New function.
6333 (main): Call alarm. Call hangout_loop in a loop.
6334 * gdb.multi/hello.c: Include <unistd.h>.
6335 (hello_loop): New function.
6336 (main): Call alarm. Call hangout_loop in a loop.
6337 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
6338 inferior with the other selected.
6339
63402017-10-04 Simon Marchi <simon.marchi@ericsson.com>
6341
6342 * gdb.mi/list-thread-groups-available.exp: New file.
6343 * gdb.mi/list-thread-groups-available.c: New file.
6344
63452017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
6346
6347 * gdb.base/set-cwd.exp: Make it available on
6348 native-extended-gdbserver.
6349
63502017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
6351
6352 * gdb.base/set-cwd.c: New file.
6353 * gdb.base/set-cwd.exp: Likewise.
6354
63552017-10-02 Tom Tromey <tom@tromey.com>
6356
6357 PR rust/22236:
6358 * gdb.rust/simple.rs (main): New variable "fslice".
6359 * gdb.rust/simple.exp: Add slice tests. Update string tests.
6360
63612017-10-02 Tom Tromey <tom@tromey.com>
6362
6363 * gdb.rust/simple.exp: Test ptype of a slice.
6364
63652017-10-02 Tom Tromey <tom@tromey.com>
6366
6367 * gdb.rust/simple.exp: Test index of slice.
6368
63692017-09-27 Tom Tromey <tom@tromey.com>
6370
6371 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
6372
63732017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
6374 Pedro Alves <palves@redhat.com>
6375
6376 * gdb.base/compare-sections.exp (get value of read-only section): Read
6377 as unsigned value.
6378 (corrupt read-only section): Likewise and don't set written if patching
6379 failed.
6380
63812017-09-21 Kevin Buettner <kevinb@redhat.com>
6382
6383 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
6384 files.
6385
63862017-09-20 Pedro Alves <palves@redhat.com>
6387
6388 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
6389 symbol names in gdb's output.
6390 * gdb.cp/overload.exp ("list all overloads"): Likewise.
6391
63922017-09-20 Pedro Alves <palves@redhat.com>
6393
6394 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
6395 Rename to ...
6396 (test_list_ambiguous_symbol): ... this and add a symbol name
6397 parameter. Adjust.
6398 (test_list_ambiguous_function): Reimplement on top of
6399 test_list_ambiguous_symbol and also test listing ambiguous
6400 variables.
6401 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
6402 (ambiguous_fun): ... this.
6403 (ambiguous_var): New.
6404 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
6405 (ambiguous_fun): ... this.
6406 (ambiguous_var): New.
6407
64082017-09-19 John Baldwin <jhb@FreeBSD.org>
6409
6410 * gdb.base/starti.c: New file.
6411 * gdb.base/starti.exp: New file.
6412 * lib/gdb.exp (gdb_starti_cmd): New procedure.
6413
64142017-09-14 Pedro Alves <palves@redhat.com>
6415
6416 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
6417 (top level): Use it instead of runto.
6418
64192017-09-11 Tom Tromey <tom@tromey.com>
6420
6421 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
6422
64232017-09-11 Tom Tromey <tom@tromey.com>
6424
6425 * gdb.python/py-infthread.exp: Add tests for new_thread event.
6426 * gdb.python/py-inferior.exp: Add tests for new inferior events.
6427
64282017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
6429
6430 * gdb.fortran/printing-types.exp: New file.
6431 * gdb.fortran/printing-types.exp: New file.
6432
64332017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
6434
6435 * gdb.fortran/vla-ptype.exp: Fix typos.
6436 * gdb.fortran/vla-value.exp: Same.
6437
64382017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
6439
6440 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
6441 * gdb.mi/mi-var-child-f.exp: Likewise.
6442 * gdb.mi/mi-vla-fortran.exp: Likewise.
6443
64442017-09-08 Frank Penczek <frank.penczek@intel.com>
6445 Christoph Weinmann <christoph.t.weinmann@intel.com>
6446 Bernhard Heckel <bernhard.heckel@intel.com>
6447
6448 * gdb.fortran/ptr-indentation.f90: New file.
6449 * gdb.fortran/ptr-indentation.exp: New file.
6450
64512017-09-05 Tom Tromey <tom@tromey.com>
6452
6453 PR gdb/22010:
6454 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
6455
64562017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
6457
6458 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
6459
64602017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6461
6462 * gdb.threads/tls-nodebug-pie.c: New file.
6463 * gdb.threads/tls-nodebug-pie.exp: New file.
6464
64652017-09-05 Tom Tromey <tom@tromey.com>
6466
6467 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
6468 for rust.
6469
64702017-09-05 Simon Marchi <simon.marchi@ericsson.com>
6471
6472 * gdb.multi/multi-arch-exec.exp: Test with different
6473 "follow-exec-mode" settings.
6474 (do_test): New procedure.
6475
64762017-09-04 Pedro Alves <palves@redhat.com>
6477
6478 * gdb.base/func-static.c (S::method const, S::method volatile)
6479 (S::method volatile const): New methods.
6480 (c_s, v_s, cv_s): New instances.
6481 (main): Call method() on them.
6482 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
6483 (cannot_resolve): New procedure.
6484 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
6485 print-quote-unquoted columns.
6486 (do_test): Test printing each scope too.
6487
64882017-09-04 Pedro Alves <palves@redhat.com>
6489
6490 * gdb.base/local-static.exp: Also test with
6491 class::method::variable wholly quoted.
6492 * gdb.cp/m-static.exp (class::method::variable): Remove test.
6493
64942017-09-04 Pedro Alves <palves@redhat.com>
6495
6496 * gdb.base/local-static.c: New.
6497 * gdb.base/local-static.cc: New.
6498 * gdb.base/local-static.exp: New.
6499
65002017-09-04 Pedro Alves <palves@redhat.com>
6501
6502 * gdb.asm/asm-source.exp: Add casts to int.
6503 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
6504 (dataglobal64_1, dataglobal64_2): New globals.
6505 * gdb.base/nodebug.exp: Test different expressions involving the
6506 new globals, with print, whatis and ptype. Add casts to int.
6507 * gdb.base/solib-display.exp: Add casts to int.
6508 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
6509 * gdb.cp/m-static.exp: Add cast to int.
6510 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
6511 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
6512 tls variable with no debug info without a cast. Test with a cast
6513 to int too.
6514 * gdb.trace/entry-values.exp: Add casts.
6515
65162017-09-04 Pedro Alves <palves@redhat.com>
6517
6518 * gdb.base/nodebug.exp: Test that ptype's error about functions
6519 with unknown return type includes the function name too.
6520
65212017-09-04 Pedro Alves <palves@redhat.com>
6522
6523 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
6524 return type of munmap in infcall.
6525 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
6526 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
6527 type of ftell in infcall.
6528 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
6529 type of getpid in infcall.
6530 * gdb.base/infcall-exec.exp: Cast return type of execlp in
6531 infcall.
6532 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
6533 Bail on failure to extract the pid.
6534 * gdb.base/nodebug.c: #include <stdint.h>.
6535 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
6536 New functions.
6537 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
6538 Change expected output of print/whatis/ptype with functions with
6539 no debug info. Test all supported languages. Call
6540 test_call_promotion.
6541 * gdb.compile/compile.exp: Adjust expected output to expect
6542 warning.
6543 * gdb.threads/siginfo-threads.exp: Likewise.
6544
65452017-09-04 Pedro Alves <palves@redhat.com>
6546
6547 * gdb.base/callfuncs.exp (do_function_calls): New parameter
6548 "prototypes". Test calling float functions via prototyped and
6549 unprototyped function pointers.
6550 (perform_all_tests): New parameter "prototypes". Pass it down.
6551 (top level): Pass down "prototypes" parameter to
6552 perform_all_tests.
6553
65542017-09-04 Simon Marchi <simon.marchi@ericsson.com>
6555
6556 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
6557 Test with nested loops.
6558
65592017-09-04 Simon Marchi <simon.marchi@ericsson.com>
6560
6561 * gdb.base/commands.exp: Call the new procedures.
6562 (loop_break_test, loop_continue_test): New procedures.
6563
65642017-09-04 Simon Marchi <simon.marchi@ericsson.com>
6565
6566 * gdb.base/commands.exp: Call new procedure.
6567 (define_if_without_arg_test): New procedure.
6568
65692017-09-04 Pedro Alves <palves@redhat.com>
6570
6571 * gdb.base/list-ambiguous.exp: New file.
6572 * gdb.base/list-ambiguous0.c: New file.
6573 * gdb.base/list-ambiguous1.c: New file.
6574 * gdb.base/list.exp (test_list_range): Adjust expected output.
6575
65762017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
6577
6578 * gdb.base/share-env-with-gdbserver.c: New file.
6579 * gdb.base/share-env-with-gdbserver.exp: Likewise.
6580
65812017-08-28 Simon Marchi <simon.marchi@ericsson.com>
6582
6583 * gdb.base/commands.exp (gdbvar_simple_if_test,
6584 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
6585 progvar_simple_if_test, progvar_simple_while_test,
6586 progvar_complex_if_while_test, user_defined_command_test,
6587 user_defined_command_args_eval,
6588 user_defined_command_args_stack_test,
6589 user_defined_command_manyargs_test, bp_deleted_in_command_test,
6590 temporary_breakpoint_commands,
6591 gdb_test_no_prompt, redefine_hook_test,
6592 redefine_backtrace_test): Remove "global gdb_prompt".
6593
65942017-08-28 Simon Marchi <simon.marchi@ericsson.com>
6595
6596 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
6597 New proc, call it from toplevel.
6598
65992017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
6600
6601 PR remote/21852
6602 * gdb.server/normal.c: New file, copied from gdb.base.
6603 * gdb.server/run-without-local-binary.exp: New file.
6604
66052017-08-07 Weimin Pan <weimin.pan@oracle.com>
6606
6607 * gdb.arch/sparc64-adi.exp: New file.
6608 * gdb.arch/sparc64-adi.c: New file.
6609
66102017-08-22 Pedro Alves <palves@redhat.com>
6611
6612 * gdb.cp/overload.exp (line_range_pattern): New procedure.
6613 (top level): Add "list all overloads" tests.
6614
66152017-08-22 Tom Tromey <tom@tromey.com>
6616
6617 * gdb.gdb/xfullpath.exp: Remove.
6618
66192017-08-21 Pedro Alves <palves@redhat.com>
6620
6621 PR gdb/19487
6622 * gdb.base/symbol-alias.c: New.
6623 * gdb.base/symbol-alias2.c: New.
6624 * gdb.base/symbol-alias.exp: New.
6625
66262017-08-21 Pedro Alves <palves@redhat.com>
6627
6628 * gdb.base/dfp-test.c
6629 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
6630 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
6631 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
6632 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
6633 * gdb.base/whatis-ptype-typedefs.c: New.
6634 * gdb.base/whatis-ptype-typedefs.exp: New.
6635 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
6636 (an_int, an_int_type, an_int_type2): New globals.
6637 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
6638 involving typedefs and cast expressions.
6639 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
6640 (lookup_typedefs_function): New.
6641 (typedefs_pretty_printers_dict): New.
6642 (top level): Register lookup_typedefs_function in
6643 gdb.pretty_printers.
6644
66452017-08-18 Yao Qi <yao.qi@linaro.org>
6646
6647 * gdb.server/unittest.exp: New.
6648
66492017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
6650
6651 PR gdb/21954
6652 * gdb.base/environ.exp: Add test to check if 'unset environment'
6653 works.
6654
66552017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6656
6657 * lib/gdb.exp (universal_compile_options): New caching proc.
6658 (gdb_compile): Suppress GCC's coloring of messages.
6659
66602017-08-14 Tom Tromey <tom@tromey.com>
6661
6662 PR gdb/21675:
6663 * gdb.base/printcmds.exp (test_radices): New function.
6664 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
6665 * gdb.base/sizeof.exp (check_valueof): Use p/d.
6666 * lib/gdb.exp (get_integer_valueof): Use p/d.
6667
66682017-08-12 Simon Marchi <simon.marchi@ericsson.com>
6669
6670 * lib/gdb.exp (get_valueof): Don't capture end-of-line
6671 characters.
6672
66732017-08-05 Tom Tromey <tom@tromey.com>
6674
6675 * gdb.rust/simple.exp: Allow String to appear in a different
6676 namespace.
6677
66782017-07-26 Yao Qi <yao.qi@linaro.org>
6679
6680 * gdb.gdb/unittest.exp: Invoke command
6681 "maintenance check xml-descriptions".
6682
66832017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
6684
6685 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
6686 calling context.
6687 (hex128): Drop erroneous calculation of parameters.
6688
66892017-07-22 Simon Marchi <simon.marchi@ericsson.com>
6690
6691 * gdb.python/py-unwind.exp: Disable stack protection when
6692 building test file.
6693
66942017-07-20 Pedro Alves <palves@redhat.com>
6695
6696 * gdb.base/default.exp (set language): Adjust expected output.
6697
66982017-07-20 Pedro Alves <palves@redhat.com>
6699
6700 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
6701 (test_minsym): ... this, and make static.
6702 (get_pck__foo__bar__minsym): Rename to ...
6703 (get_test_minsym): ... this.
6704 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
6705 symbol names and comments.
6706 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
6707 (get_test_minsym): ... this.
6708 (pck__foo__bar__minsym__2): Rename to ...
6709 (test_minsym): ... this.
6710 (main): Adjust.
6711
67122017-07-17 Pedro Alves <palves@redhat.com>
6713
6714 * gdb.base/completion.exp: Adjust expected output.
6715 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
6716 the completer works.
6717
67182017-07-17 Pedro Alves <palves@redhat.com>
6719
6720 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
6721
67222017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
6723
6724 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
6725
67262017-07-14 Tom Tromey <tom@tromey.com>
6727
6728 PR rust/21764:
6729 * gdb.rust/simple.exp: Add tests.
6730
67312017-07-14 Tom Tromey <tom@tromey.com>
6732
6733 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
6734
67352017-07-14 Pedro Alves <palves@redhat.com>
6736
6737 * gdb.linespec/base/one/thefile.cc (z1): New function.
6738 * gdb.linespec/base/two/thefile.cc (z2): New function.
6739 * gdb.linespec/linespec.exp: Add tests.
6740
67412017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
6742
6743 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
6744 to mi_create_breakpoint.
6745
67462017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
6747
6748 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
6749 mi_create_breakpoint.
6750
67512017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
6752
6753 * gdb.dlang/demangle.exp: Update for demangling changes.
6754
67552017-07-09 Tom Tromey <tom@tromey.com>
6756
6757 * gdb.dwarf2/shortpiece.exp: New file.
6758
67592017-07-06 David Blaikie <dblaikie@gmail.com>
6760
6761 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
6762 built from fissiont-multi-cu{1,2}.c.
6763 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
6764 except putting 'main' and 'func' in separate CUs in the same DWO file.
6765 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
6766 test.
6767 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
6768 test.
6769
67702017-07-06 Pedro Alves <palves@redhat.com>
6771
6772 * gdb.python/py-unwind.exp: Test flushregs.
6773
67742017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
6775
6776 PR cli/21688
6777 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
6778 tests for alias commands and trailing whitespace.
6779
67802017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
6781
6782 PR cli/21688
6783 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
6784 procedure. Call it.
6785
67862017-06-29 Pedro Alves <palves@redhat.com>
6787
6788 * gdb.base/printcmds.exp: Add tests.
6789
67902017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
6791
6792 PR gdb/21337
6793 * gdb.base/reread-readsym.exp: New file.
6794 * gdb.base/reread-readsym.c: New file.
6795
67962017-06-21 Kevin Buettner <kevinb@redhat.com>
6797
6798 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
6799 subpattern.
6800
68012017-06-19 Peter Bergner <bergner@vnet.ibm.com>
6802
6803 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
6804 extended mnemonic.
6805 * gdb.arch/powerpc-power9.s: Likewise.
6806
68072017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6808
6809 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
6810 on 32-bit x86 targets. Exploit is_*_target macros where
6811 appropriate.
6812
68132017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6814
6815 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
6816 register pieces.
6817
68182017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6819
6820 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
6821 located in one or more DWARF pieces.
6822
68232017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6824
6825 * lib/gdb.exp (get_endianness): New proc.
6826 * gdb.arch/aarch64-fp.exp: Use it.
6827 * gdb.arch/altivec-regs.exp: Likewise.
6828 * gdb.arch/e500-regs.exp: Likewise.
6829 * gdb.arch/vsx-regs.exp: Likewise.
6830 * gdb.base/dump.exp: Likewise.
6831 * gdb.base/funcargs.exp: Likewise.
6832 * gdb.base/gnu_vector.exp: Likewise.
6833 * gdb.dwarf2/formdata16.exp: Likewise.
6834 * gdb.dwarf2/implptrpiece.exp: Likewise.
6835 * gdb.dwarf2/nonvar-access.exp: Likewise.
6836 * gdb.python/py-inferior.exp: Likewise.
6837 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
6838
68392017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6840
6841 PR gdb/21226
6842 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
6843 stack value pieces are taken from the LSB end.
6844
68452017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6846
6847 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
6848 variable at nonzero offset.
6849
68502017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6851
6852 * gdb.dwarf2/var-access.c: New file.
6853 * gdb.dwarf2/var-access.exp: New test.
6854 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
6855
68562017-06-12 Tom Tromey <tom@tromey.com>
6857
6858 * gdb.dwarf2/formdata16.exp: Add tests.
6859
68602017-06-12 Tom Tromey <tom@tromey.com>
6861
6862 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
6863
68642017-06-12 Tom Tromey <tom@tromey.com>
6865
6866 PR exp/16225:
6867 * gdb.reverse/i386-sse-reverse.exp: Update tests.
6868 * gdb.arch/vsx-regs.exp: Update tests.
6869 * gdb.arch/s390-vregs.exp (hex128): New proc.
6870 Update test.
6871 * gdb.arch/altivec-regs.exp: Update tests.
6872
68732017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
6874
6875 * gdb.base/startup-with-shell.c: New file.
6876 * gdb.base/startup-with-shell.exp: Likewise.
6877
68782017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
6879
6880 * gdb.server/non-existing-program.exp: Update regex in order to
6881 reflect the fact that gdbserver is now using fork_inferior (with a
6882 shell) to startup the inferior.
6883
68842017-05-30 Simon Marchi <simon.marchi@ericsson.com>
6885
6886 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
6887 support function calls from GDB.
6888
68892017-05-21 Tom Tromey <tom@tromey.com>
6890
6891 PR rust/21466:
6892 * gdb.rust/unsized.exp: New file.
6893 * gdb.rust/unsized.rs: New file.
6894
68952017-05-19 Tom Tromey <tom@tromey.com>
6896
6897 PR rust/21484:
6898 * gdb.rust/watch.exp: New file.
6899 * gdb.rust/watch.rs: New file.
6900
69012017-05-18 Tom Tromey <tom@tromey.com>
6902
6903 * gdb.rust/simple.exp: Allow Box to be qualified.
6904
69052017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
6906
6907 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
6908
69092017-05-18 Pedro Alves <palves@redhat.com>
6910
6911 * gdb.base/fileio.c (test_write, test_read, test_close)
6912 (test_fstat): Don't print 'ret' in the fail path.
6913
69142017-05-18 Pedro Alves <palves@redhat.com>
6915
6916 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
6917 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
6918 (test_system, test_rename, test_unlink, test_time): Change
6919 prototypes.
6920 * gdb.base/fileio.exp (stop_msg): Adjust.
6921
69222017-05-18 Pedro Alves <palves@redhat.com>
6923
6924 * gdb.base/fileio.c (null_str): New global.
6925 (test_stat): Use it.
6926 * gdb.base/fileio.exp: Remove nowarnings.
6927
69282017-05-17 Yao Qi <yao.qi@linaro.org>
6929
6930 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
6931
69322017-05-17 Simon Marchi <simon.marchi@ericsson.com>
6933
6934 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
6935 argument command.
6936 (top-level): Invoke test_set_inferior_tty.
6937
69382017-05-04 Pedro Alves <palves@redhat.com>
6939
6940 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
6941 Add parens to print call for Python 3.
6942
69432017-05-03 Keith Seitz <keiths@redhat.com>
6944
6945 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
6946 (main): Call it.
6947
69482017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6949
6950 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
6951 to prev and next.
6952
69532017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6954
6955 * gdb.python/py-record-btrace.exp: Remove test for
6956 gdb.BtraceInstruction.error.
6957
69582017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6959
6960 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
6961
69622017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6963
6964 * gdb.python/py-record-btrace-threads.c: New file.
6965 * gdb.python/py-record-btrace-threads.exp: New file.
6966
69672017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
6968
6969 PR testsuite/8595
6970 * gdb.base/environ.exp: Make test available in all architectures.
6971 Move bits related to "info program" testing to
6972 gdb.base/info-program.exp. Rewrite tests to use the two new
6973 procedures mentione below.
6974 (test_set_show_env_var) New procedure.
6975 (test_set_show_env_var_equal): Likewise.
6976 * gdb.base/info-program.exp: New file.
6977
69782017-04-27 Keith Seitz <keiths@redhat.com>
6979
6980 * gdb.cp/oranking.cc (test15): New function.
6981 (main): Call test15 and declare additional variables for testing.
6982 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
6983 "p foo101('abc')" tests.
6984 Add tests for cv qualifier overloads.
6985 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
6986 "lvalue reference overload" test.
6987 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
6988 "print value of f1 on Child&& in f2" test.
6989
69902017-04-19 Pedro Alves <palves@redhat.com>
6991
6992 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
6993 procedure.
6994 (top level): Call it.
6995 * lib/gdb.exp (gdb_define_cmd): New procedure.
6996
69972017-04-12 Pedro Alves <palves@redhat.com>
6998
6999 PR gdb/21323
7000 * gdb.cp/wide_char_types.c: Include <wchar.h>.
7001 (wchar): New global.
7002 * gdb.cp/wide_char_types.exp (wide_char_types_program)
7003 (do_test_wide_char, wide_char_types_no_program, top level): Add
7004 wchar_t testing.
7005
70062017-04-12 Pedro Alves <palves@redhat.com>
7007
7008 PR c++/21323
7009 * gdb.cp/wide_char_types.c: New file.
7010 * gdb.cp/wide_char_types.exp: New file.
7011
70122017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
7013
7014 PR gdb/21352
7015 * gdb.trace/tsv.exp: Add test for "tsave -r".
7016
70172017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
7018
7019 * gdb.dlang/watch-loc.c: New file.
7020 * gdb.dlang/watch-loc.exp: New file.
7021
70222017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7023
7024 * gdb.python/py-section-script.exp (sepdebug): New testcases.
7025
70262017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
7027
7028 * gdb.arch/arc-analyze-prologue.S: New file.
7029 * gdb.arch/arc-analyze-prologue.exp: Likewise.
7030
70312017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
7032
7033 * gdb.arch/arc-decode-insn.S: New file.
7034 * gdb.arch/arc-decode-insn.exp: Likewise.
7035
70362017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
7037
7038 PR tdep/20928
7039 * gdb.arch/sparc64-regs.exp: New file.
7040 * gdb.arch/sparc64-regs.S: Likewise.
7041
70422017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
7043
7044 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
7045 and memory view on Python 3.
7046
70472017-03-20 Artemiy Volkov <artemiyv@acm.org>
7048 Keith Seitz <keiths@redhat.com>
7049
7050 PR gdb/14441
7051 * gdb.cp/demangle.exp: Add rvalue reference tests.
7052 * gdb.cp/rvalue-ref-casts.cc: New file.
7053 * gdb.cp/rvalue-ref-casts.exp: New file.
7054 * gdb.cp/rvalue-ref-overload.cc: New file.
7055 * gdb.cp/rvalue-ref-overload.exp: New file.
7056 * gdb.cp/rvalue-ref-params.cc: New file.
7057 * gdb.cp/rvalue-ref-params.exp: New file.
7058 * gdb.cp/rvalue-ref-sizeof.cc: New file.
7059 * gdb.cp/rvalue-ref-sizeof.exp: New file.
7060 * gdb.cp/rvalue-ref-types.cc: New file.
7061 * gdb.cp/rvalue-ref-types.exp: New file.
7062 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
7063 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
7064
70652017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
7066
7067 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
7068 New procedure.
7069
70702017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
7071
7072 * lib/mi-support.exp (mi_gdb_test): Add additional message
7073 for unexpected output.
7074
70752017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
7076
7077 * gdb.base/examine-backward.c (Barrier): New character array
7078 constant, to ensure that TestStrings is preceded by a string
7079 terminator.
7080
70812017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
7082
7083 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
7084 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
7085 and implicit pointer into such a location.
7086
70872017-03-16 Doug Evans <dje@google.com>
7088
7089 * gdb.python/py-lazy-string (pointer): Really add new typedef.
7090
70912017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
7092
7093 * gdb.cp/m-static.exp: Fix expectation for prototype of
7094 test5.single_constructor and single_constructor::single_constructor.
7095
70962017-03-16 Doug Evans <dje@google.com>
7097
7098 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
7099 * gdb.guile/scm-lazy-string.c: New file.
7100 * gdb.guile/scm-value.exp: Move lazy string tests to ...
7101 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
7102 for pointer, array, typedef lazy strings.
7103
71042017-03-16 Doug Evans <dje@google.com>
7105
7106 PR python/17728, python/18439, python/18779
7107 * gdb.python/py-value.c (main) Delete locals sptr, sn.
7108 * gdb.python/py-lazy-string.c (pointer): New typedef.
7109 (main): New locals ptr, array, typedef_ptr.
7110 * gdb.python/py-value.exp: Move lazy string tests to ...
7111 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
7112 array, typedef lazy strings.
7113
71142017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
7115
7116 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
7117 Add optional 'test' parameter.
7118
71192017-03-13 Simon Marchi <simon.marchi@ericsson.com>
7120
7121 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
7122 Skip for versions of DejaGnu < 1.5.
7123
71242017-03-13 Simon Marchi <simon.marchi@ericsson.com>
7125
7126 * lib/gdb.exp (dejagnu_version): New proc.
7127 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
7128 Use dejagnu_version.
7129
71302017-03-10 Keith Seitz <keiths@redhat.com>
7131
7132 PR c++/8128
7133 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
7134 type from destructor regexps.
7135 Add a branch which actually passes the test.
7136 Adjust "ptype t5i" test names.
7137
71382017-03-08 Pedro Alves <palves@redhat.com>
7139
7140 * gdb.base/step-over-exit.exp: Add explicit test message.
7141
71422017-03-08 Pedro Alves <palves@redhat.com>
7143
7144 PR gdb/18360
7145 * gdb.threads/interrupt-while-step-over.c: New file.
7146 * gdb.threads/interrupt-while-step-over.exp: New file.
7147
71482017-03-08 Pedro Alves <palves@redhat.com>
7149
7150 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
7151 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
7152
71532017-03-08 Pedro Alves <palves@redhat.com>
7154
7155 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
7156 PKRU as not supported as a PASS.
7157
71582017-03-08 Pedro Alves <palves@redhat.com>
7159
7160 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
7161 prefix instead of $binfile1/$binfile2.
7162 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
7163 in test message.
7164 * gdb.python/py-completion.exp: Use "load python file" as test
7165 messages instead of unstable path names.
7166
71672017-03-08 Pedro Alves <palves@redhat.com>
7168 Jan Kratochvil <jan.kratochvil@redhat.com>
7169
7170 PR cli/21218
7171 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
7172 New proc.
7173 (top level): Call it.
7174
71752017-03-08 Pedro Alves <palves@redhat.com>
7176
7177 PR tui/21216
7178 * gdb.tui/tui-nl-filtered-output.exp: New file.
7179
71802017-03-08 Pedro Alves <palves@redhat.com>
7181
7182 * gdb.base/completion.exp: Move TUI completion tests to ...
7183 * gdb.tui/completion.exp: ... this new file.
7184
71852017-03-08 Pedro Alves <palves@redhat.com>
7186
7187 * gdb.base/tui-disasm-long-lines.c,
7188 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
7189 gdb.base/tui-layout.exp: Move to ...
7190 * gdb.tui/: ... this new directory.
7191
71922017-03-07 Pedro Alves <palves@redhat.com>
7193
7194 * gdb.base/tui-layout.c: New file.
7195 * gdb.base/tui-layout.exp: New file.
7196
71972017-03-07 Pedro Alves <palves@redhat.com>
7198
7199 * gdb.base/tui-layout.c: Rename to ...
7200 * gdb.base/tui-disasm-long-lines.c: ... this.
7201 * gdb.base/tui-layout.exp: Rename to ...
7202 * gdb.base/tui-disasm-long-lines.exp: ... this.
7203
72042017-03-07 Pedro Alves <palves@redhat.com>
7205
7206 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
7207
72082017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
7209
7210 * i386-mpx-call.c: New file.
7211 * i386-mpx-call.exp: New file.
7212
72132017-02-28 Peter Bergner <bergner@vnet.ibm.com>
7214
7215 * gdb.arch/powerpc-power.exp: Delete test.
7216 * gdb.arch/powerpc-power.s: Likewise.
7217 * gdb.disasm/disassembler-options.exp: New test.
7218 * gdb.arch/powerpc-altivec.exp: Likewise.
7219 * gdb.arch/powerpc-altivec.s: Likewise.
7220 * gdb.arch/powerpc-altivec2.exp: Likewise.
7221 * gdb.arch/powerpc-altivec2.s: Likewise.
7222 * gdb.arch/powerpc-altivec3.exp: Likewise.
7223 * gdb.arch/powerpc-altivec3.s: Likewise.
7224 * gdb.arch/powerpc-power7.exp: Likewise.
7225 * gdb.arch/powerpc-power7.s: Likewise.
7226 * gdb.arch/powerpc-power8.exp: Likewise.
7227 * gdb.arch/powerpc-power8.s: Likewise.
7228 * gdb.arch/powerpc-power9.exp: Likewise.
7229 * gdb.arch/powerpc-power9.s: Likewise.
7230 * gdb.arch/powerpc-vsx.exp: Likewise.
7231 * gdb.arch/powerpc-vsx.s: Likewise.
7232 * gdb.arch/powerpc-vsx2.exp: Likewise.
7233 * gdb.arch/powerpc-vsx2.s: Likewise.
7234 * gdb.arch/powerpc-vsx3.exp: Likewise.
7235 * gdb.arch/powerpc-vsx3.s: Likewise.
7236 * gdb.arch/arm-disassembler-options.exp: Likewise.
7237 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
7238 * gdb.arch/s390-disassembler-options.exp: Likewise.
7239
72402017-02-23 Luis Machado <lgustavo@codesourcery.com>
7241
7242 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
7243 (check_supported_features): ... this. Changed return type to void.
7244 (supports_rdseed): New static global.
7245 (rdseed): Check supports_rdseed.
7246 (initialize): Call check_supported_features.
7247
72482017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7249
7250 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
7251 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
7252 and lqarx/stqcx.
7253 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
7254 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
7255
72562017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7257
7258 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
7259 uppercase.
7260
72612017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7262
7263 * gdb.dwarf2/formdata16.c: New file.
7264 * gdb.dwarf2/formdata16.exp: New file.
7265 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
7266
72672017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7268
7269 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
7270 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
7271 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
7272 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
7273 DW_AT_GNU_*.
7274
72752017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7276
7277 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
7278
72792017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
7280
7281 PR gdb/21164
7282 * gdb.base/maint.exp: Add testcases for when the commands do
7283 not have arguments.
7284
72852017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
7286
7287 * gdb.cp/chained-calls.exp: Use p instead of P.
7288
72892017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
7290
7291 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
7292 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
7293
72942017-02-14 Tom Tromey <tom@tromey.com>
7295
7296 PR python/13598:
7297 * gdb.python/py-events.exp: Add before_prompt event tests.
7298
72992017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
7300
7301 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
7302
73032017-02-13 Luis Machado <lgustavo@codesourcery.com>
7304
7305 * gdb.linespec/explicit.c (my_unique_function_name): New function.
7306 (main): Call my_unique_function_name.
7307 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
7308 completion of patterns with a single match.
7309 Add missing -re switches to gdb_test_multiple calls.
7310
73112017-02-13 Luis Machado <lgustavo@codesourcery.com>
7312
7313 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
7314 return if core file is not recognized.
7315
73162017-02-10 Simon Marchi <simon.marchi@ericsson.com>
7317
7318 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
7319 and extra UIs.
7320
73212017-02-10 Simon Marchi <simon.marchi@ericsson.com>
7322
7323 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
7324 proc_with_prefix.
7325
73262017-02-10 Tom Tromey <tom@tromey.com>
7327
7328 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
7329
73302017-02-10 Martin Galvan <martingalvan@sourceware.org>
7331
7332 PR gdb/21122
7333 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
7334
73352017-02-08 Jerome Guitton <guitton@adacore.com>
7336
7337 * gdb.base/define.exp: Add test for command abbreviations
7338 in define.
7339
73402017-02-06 Luis Machado <lgustavo@codesourcery.com>
7341
7342 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
7343 * gdb.reverse/insn-reverse-x86.c: New file.
7344
73452017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
7346
7347 PR tdep/20936
7348 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
7349
73502017-02-03 Tom Tromey <tom@tromey.com>
7351
7352 PR rust/21097:
7353 * gdb.rust/simple.exp: Add new tests.
7354
73552017-02-02 Pedro Alves <palves@redhat.com>
7356
7357 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
7358 tests.
7359
73602017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
7361
7362 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
7363 taking a 2-byte value out of a 4-byte DWARF implicit value on
7364 big-endian targets.
7365 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
7366 logic. Add test cases for DW_OP_implicit.
7367
73682017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7369
7370 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
7371
73722017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7373
7374 * gdb.btrace/enable.exp: Call gdb_exit before
7375 skip_gdbserver_tests.
7376
73772017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7378
7379 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
7380 GDBFLAGS.
7381
73822017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7383
7384 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
7385 the test is skipped.
7386 * gdb.btrace/data.exp: Likewise.
7387 * gdb.btrace/delta.exp: Likewise.
7388 * gdb.btrace/dlopen.exp: Likewise.
7389 * gdb.btrace/enable-running.exp: Likewise.
7390 * gdb.btrace/enable.exp: Likewise.
7391 * gdb.btrace/exception.exp: Likewise.
7392 * gdb.btrace/function_call_history.exp: Likewise.
7393 * gdb.btrace/gcore.exp: Likewise.
7394 * gdb.btrace/instruction_history.exp: Likewise.
7395 * gdb.btrace/multi-thread-step.exp: Likewise.
7396 * gdb.btrace/nohist.exp: Likewise.
7397 * gdb.btrace/non-stop.exp: Likewise.
7398 * gdb.btrace/reconnect.exp: Likewise.
7399 * gdb.btrace/record_goto-step.exp: Likewise.
7400 * gdb.btrace/record_goto.exp: Likewise.
7401 * gdb.btrace/rn-dl-bind.exp: Likewise.
7402 * gdb.btrace/segv.exp: Likewise.
7403 * gdb.btrace/step.exp: Likewise.
7404 * gdb.btrace/stepi.exp: Likewise.
7405 * gdb.btrace/tailcall-only.exp: Likewise.
7406 * gdb.btrace/tailcall.exp: Likewise.
7407 * gdb.btrace/tsx.exp: Likewise.
7408 * gdb.btrace/unknown_functions.exp: Likewise.
7409 * gdb.btrace/vdso.exp: Likewise.
7410
74112017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7412
7413 * gdb.btrace/enable-running.c: New.
7414 * gdb.btrace/enable-running.exp: New.
7415
74162017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
7417
7418 * gdb.arch/amd64-gs_base.c: New file.
7419 * gdb.arch/amd64-gs_base.exp: New file.
7420
74212017-01-26 Luis Machado <lgustavo@codesourcery.com>
7422
7423 * lib/memory.exp: Remove spurious empty newlines.
7424
74252017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
7426
7427 * gdb.python/py-bad-printers.exp: Load python file using "source".
7428 * gdb.python/py-events.exp: Likewise.
7429 * gdb.python/py-evsignal.exp: Likewise.
7430 * gdb.python/py-evthreads.exp: Likewise.
7431 * gdb.python/py-frame-args.exp: Likewise.
7432 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
7433 * gdb.python/py-framefilter-mi.exp: Likewise.
7434 * gdb.python/py-framefilter.exp: Likewise.
7435 * gdb.python/py-mi.exp: Likewise.
7436 * gdb.python/py-pp-maint.exp: Likewise.
7437 * gdb.python/py-pp-registration.exp: Likewise.
7438 * gdb.python/py-prettyprint.exp: Likewise.
7439 (run_lang_tests): Likewise.
7440 * gdb.python/py-typeprint.exp: Likewise.
7441
74422017-01-26 Luis Machado <lgustavo@codesourcery.com>
7443
7444 * lib/memory.exp: New file.
7445 * lib/gdb.exp: Load memory.exp.
7446 * gdb.base/memattr.exp (delete_memory): Move proc to
7447 lib/memory.exp and rename to delete_memory_regions.
7448 Replace delete_memory with delete_memory_regions.
7449 Cleanup memory regions before tests.
7450 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
7451 before tests.
7452
74532017-01-26 Luis Machado <lgustavo@codesourcery.com>
7454
7455 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
7456 files.
7457 (initialize): New function conditionally defined.
7458 (testcases): Move within conditional block.
7459 (main): Call initialize.
7460 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
7461 of gdb.reverse/insn-reverse.c.
7462 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
7463 gdb.reverse/insn-reverse.c.
7464
74652017-01-26 Yao Qi <yao.qi@linaro.org>
7466
7467 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
7468 disassemble on address 0.
7469
74702017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
7471 Yao Qi <yao.qi@linaro.org>
7472
7473 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
7474 * gdb.dwarf2/implptr-64bit.S: Remove.
7475 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
7476 variables in caller's context. Add DW_OP_implicit_value.
7477
74782017-01-25 Yao Qi <yao.qi@linaro.org>
7479
7480 * lib/dwarf.exp (Dwarf::_location): Handle
7481 DW_OP_GNU_implicit_pointer with proper size.
7482
74832017-01-20 Luis Machado <lgustavo@codesourcery.com>
7484
7485 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
7486 and add untested calls.
7487
74882017-01-20 Luis Machado <lgustavo@codesourcery.com>
7489
7490 * gdb.python/python.exp: Check line number against what GDB thinks
7491 the line number is for func1.
7492
74932017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
7494
7495 * gdb.dlang/debug-expr.exp: New file.
7496
74972016-12-23 Luis Machado <lgustavo@codesourcery.com>
7498
7499 Fix test names for the following files:
7500
7501 * gdb.ada/exec_changed.exp
7502 * gdb.ada/info_types.exp
7503 * gdb.arch/aarch64-atomic-inst.exp
7504 * gdb.arch/aarch64-fp.exp
7505 * gdb.arch/altivec-abi.exp
7506 * gdb.arch/altivec-regs.exp
7507 * gdb.arch/amd64-byte.exp
7508 * gdb.arch/amd64-disp-step.exp
7509 * gdb.arch/amd64-dword.exp
7510 * gdb.arch/amd64-entry-value-inline.exp
7511 * gdb.arch/amd64-entry-value-param.exp
7512 * gdb.arch/amd64-entry-value-paramref.exp
7513 * gdb.arch/amd64-entry-value.exp
7514 * gdb.arch/amd64-i386-address.exp
7515 * gdb.arch/amd64-invalid-stack-middle.exp
7516 * gdb.arch/amd64-invalid-stack-top.exp
7517 * gdb.arch/amd64-optimout-repeat.exp
7518 * gdb.arch/amd64-prologue-skip.exp
7519 * gdb.arch/amd64-prologue-xmm.exp
7520 * gdb.arch/amd64-stap-special-operands.exp
7521 * gdb.arch/amd64-stap-wrong-subexp.exp
7522 * gdb.arch/amd64-tailcall-cxx.exp
7523 * gdb.arch/amd64-tailcall-noret.exp
7524 * gdb.arch/amd64-tailcall-ret.exp
7525 * gdb.arch/amd64-tailcall-self.exp
7526 * gdb.arch/amd64-word.exp
7527 * gdb.arch/arm-bl-branch-dest.exp
7528 * gdb.arch/arm-disp-step.exp
7529 * gdb.arch/arm-neon.exp
7530 * gdb.arch/arm-single-step-kernel-helper.exp
7531 * gdb.arch/avr-flash-qualifier.exp
7532 * gdb.arch/disp-step-insn-reloc.exp
7533 * gdb.arch/e500-abi.exp
7534 * gdb.arch/e500-regs.exp
7535 * gdb.arch/ftrace-insn-reloc.exp
7536 * gdb.arch/i386-avx512.exp
7537 * gdb.arch/i386-bp_permanent.exp
7538 * gdb.arch/i386-byte.exp
7539 * gdb.arch/i386-cfi-notcurrent.exp
7540 * gdb.arch/i386-disp-step.exp
7541 * gdb.arch/i386-dr3-watch.exp
7542 * gdb.arch/i386-float.exp
7543 * gdb.arch/i386-gnu-cfi.exp
7544 * gdb.arch/i386-mpx-map.exp
7545 * gdb.arch/i386-mpx-sigsegv.exp
7546 * gdb.arch/i386-mpx-simple_segv.exp
7547 * gdb.arch/i386-mpx.exp
7548 * gdb.arch/i386-permbkpt.exp
7549 * gdb.arch/i386-prologue.exp
7550 * gdb.arch/i386-signal.exp
7551 * gdb.arch/i386-size-overlap.exp
7552 * gdb.arch/i386-unwind.exp
7553 * gdb.arch/i386-word.exp
7554 * gdb.arch/mips-fcr.exp
7555 * gdb.arch/powerpc-d128-regs.exp
7556 * gdb.arch/powerpc-stackless.exp
7557 * gdb.arch/ppc64-atomic-inst.exp
7558 * gdb.arch/s390-stackless.exp
7559 * gdb.arch/s390-tdbregs.exp
7560 * gdb.arch/s390-vregs.exp
7561 * gdb.arch/sparc-sysstep.exp
7562 * gdb.arch/thumb-bx-pc.exp
7563 * gdb.arch/thumb-singlestep.exp
7564 * gdb.arch/thumb2-it.exp
7565 * gdb.arch/vsx-regs.exp
7566 * gdb.asm/asm-source.exp
7567 * gdb.base/a2-run.exp
7568 * gdb.base/advance.exp
7569 * gdb.base/all-bin.exp
7570 * gdb.base/anon.exp
7571 * gdb.base/args.exp
7572 * gdb.base/arithmet.exp
7573 * gdb.base/async-shell.exp
7574 * gdb.base/async.exp
7575 * gdb.base/attach-pie-noexec.exp
7576 * gdb.base/attach-twice.exp
7577 * gdb.base/auto-load.exp
7578 * gdb.base/bang.exp
7579 * gdb.base/bitfields.exp
7580 * gdb.base/break-always.exp
7581 * gdb.base/break-caller-line.exp
7582 * gdb.base/break-entry.exp
7583 * gdb.base/break-inline.exp
7584 * gdb.base/break-on-linker-gcd-function.exp
7585 * gdb.base/break-probes.exp
7586 * gdb.base/break.exp
7587 * gdb.base/breakpoint-shadow.exp
7588 * gdb.base/call-ar-st.exp
7589 * gdb.base/call-sc.exp
7590 * gdb.base/call-signal-resume.exp
7591 * gdb.base/call-strs.exp
7592 * gdb.base/callfuncs.exp
7593 * gdb.base/catch-fork-static.exp
7594 * gdb.base/catch-gdb-caused-signals.exp
7595 * gdb.base/catch-load.exp
7596 * gdb.base/catch-signal-fork.exp
7597 * gdb.base/catch-signal.exp
7598 * gdb.base/catch-syscall.exp
7599 * gdb.base/charset.exp
7600 * gdb.base/checkpoint.exp
7601 * gdb.base/chng-syms.exp
7602 * gdb.base/code-expr.exp
7603 * gdb.base/code_elim.exp
7604 * gdb.base/commands.exp
7605 * gdb.base/completion.exp
7606 * gdb.base/complex.exp
7607 * gdb.base/cond-expr.exp
7608 * gdb.base/condbreak.exp
7609 * gdb.base/consecutive.exp
7610 * gdb.base/continue-all-already-running.exp
7611 * gdb.base/coredump-filter.exp
7612 * gdb.base/corefile.exp
7613 * gdb.base/dbx.exp
7614 * gdb.base/debug-expr.exp
7615 * gdb.base/define.exp
7616 * gdb.base/del.exp
7617 * gdb.base/disabled-location.exp
7618 * gdb.base/disasm-end-cu.exp
7619 * gdb.base/disasm-optim.exp
7620 * gdb.base/display.exp
7621 * gdb.base/duplicate-bp.exp
7622 * gdb.base/ena-dis-br.exp
7623 * gdb.base/ending-run.exp
7624 * gdb.base/enumval.exp
7625 * gdb.base/environ.exp
7626 * gdb.base/eu-strip-infcall.exp
7627 * gdb.base/eval-avoid-side-effects.exp
7628 * gdb.base/eval-skip.exp
7629 * gdb.base/exitsignal.exp
7630 * gdb.base/expand-psymtabs.exp
7631 * gdb.base/filesym.exp
7632 * gdb.base/find-unmapped.exp
7633 * gdb.base/finish.exp
7634 * gdb.base/float.exp
7635 * gdb.base/foll-exec-mode.exp
7636 * gdb.base/foll-exec.exp
7637 * gdb.base/foll-fork.exp
7638 * gdb.base/fortran-sym-case.exp
7639 * gdb.base/freebpcmd.exp
7640 * gdb.base/func-ptr.exp
7641 * gdb.base/func-ptrs.exp
7642 * gdb.base/funcargs.exp
7643 * gdb.base/gcore-buffer-overflow.exp
7644 * gdb.base/gcore-relro-pie.exp
7645 * gdb.base/gcore-relro.exp
7646 * gdb.base/gcore.exp
7647 * gdb.base/gdb1090.exp
7648 * gdb.base/gdb11530.exp
7649 * gdb.base/gdb11531.exp
7650 * gdb.base/gdb1821.exp
7651 * gdb.base/gdbindex-stabs.exp
7652 * gdb.base/gdbvars.exp
7653 * gdb.base/hbreak.exp
7654 * gdb.base/hbreak2.exp
7655 * gdb.base/included.exp
7656 * gdb.base/infcall-input.exp
7657 * gdb.base/inferior-died.exp
7658 * gdb.base/infnan.exp
7659 * gdb.base/info-macros.exp
7660 * gdb.base/info-os.exp
7661 * gdb.base/info-proc.exp
7662 * gdb.base/info-shared.exp
7663 * gdb.base/info-target.exp
7664 * gdb.base/infoline.exp
7665 * gdb.base/interp.exp
7666 * gdb.base/interrupt.exp
7667 * gdb.base/jit-reader.exp
7668 * gdb.base/jit-simple.exp
7669 * gdb.base/kill-after-signal.exp
7670 * gdb.base/kill-detach-inferiors-cmd.exp
7671 * gdb.base/label.exp
7672 * gdb.base/langs.exp
7673 * gdb.base/ldbl_e308.exp
7674 * gdb.base/line-symtabs.exp
7675 * gdb.base/linespecs.exp
7676 * gdb.base/list.exp
7677 * gdb.base/long_long.exp
7678 * gdb.base/longest-types.exp
7679 * gdb.base/maint.exp
7680 * gdb.base/max-value-size.exp
7681 * gdb.base/memattr.exp
7682 * gdb.base/mips_pro.exp
7683 * gdb.base/morestack.exp
7684 * gdb.base/moribund-step.exp
7685 * gdb.base/multi-forks.exp
7686 * gdb.base/nested-addr.exp
7687 * gdb.base/nextoverexit.exp
7688 * gdb.base/noreturn-finish.exp
7689 * gdb.base/noreturn-return.exp
7690 * gdb.base/nostdlib.exp
7691 * gdb.base/offsets.exp
7692 * gdb.base/opaque.exp
7693 * gdb.base/pc-fp.exp
7694 * gdb.base/permissions.exp
7695 * gdb.base/print-symbol-loading.exp
7696 * gdb.base/prologue-include.exp
7697 * gdb.base/psymtab.exp
7698 * gdb.base/ptype.exp
7699 * gdb.base/random-signal.exp
7700 * gdb.base/randomize.exp
7701 * gdb.base/range-stepping.exp
7702 * gdb.base/readline-ask.exp
7703 * gdb.base/recpar.exp
7704 * gdb.base/recurse.exp
7705 * gdb.base/relational.exp
7706 * gdb.base/restore.exp
7707 * gdb.base/return-nodebug.exp
7708 * gdb.base/return.exp
7709 * gdb.base/run-after-attach.exp
7710 * gdb.base/save-bp.exp
7711 * gdb.base/scope.exp
7712 * gdb.base/sect-cmd.exp
7713 * gdb.base/set-lang-auto.exp
7714 * gdb.base/set-noassign.exp
7715 * gdb.base/setvar.exp
7716 * gdb.base/sigall.exp
7717 * gdb.base/sigbpt.exp
7718 * gdb.base/siginfo-addr.exp
7719 * gdb.base/siginfo-infcall.exp
7720 * gdb.base/siginfo-obj.exp
7721 * gdb.base/siginfo.exp
7722 * gdb.base/signals-state-child.exp
7723 * gdb.base/signest.exp
7724 * gdb.base/sigstep.exp
7725 * gdb.base/sizeof.exp
7726 * gdb.base/skip.exp
7727 * gdb.base/solib-corrupted.exp
7728 * gdb.base/solib-nodir.exp
7729 * gdb.base/solib-search.exp
7730 * gdb.base/stack-checking.exp
7731 * gdb.base/stale-infcall.exp
7732 * gdb.base/stap-probe.exp
7733 * gdb.base/start.exp
7734 * gdb.base/step-break.exp
7735 * gdb.base/step-bt.exp
7736 * gdb.base/step-line.exp
7737 * gdb.base/step-over-exit.exp
7738 * gdb.base/step-over-syscall.exp
7739 * gdb.base/step-resume-infcall.exp
7740 * gdb.base/step-test.exp
7741 * gdb.base/store.exp
7742 * gdb.base/structs3.exp
7743 * gdb.base/sym-file.exp
7744 * gdb.base/symbol-without-target_section.exp
7745 * gdb.base/term.exp
7746 * gdb.base/testenv.exp
7747 * gdb.base/ui-redirect.exp
7748 * gdb.base/until.exp
7749 * gdb.base/unwindonsignal.exp
7750 * gdb.base/value-double-free.exp
7751 * gdb.base/vla-datatypes.exp
7752 * gdb.base/vla-ptr.exp
7753 * gdb.base/vla-sideeffect.exp
7754 * gdb.base/volatile.exp
7755 * gdb.base/watch-cond-infcall.exp
7756 * gdb.base/watch-cond.exp
7757 * gdb.base/watch-non-mem.exp
7758 * gdb.base/watch-read.exp
7759 * gdb.base/watch-vfork.exp
7760 * gdb.base/watchpoint-cond-gone.exp
7761 * gdb.base/watchpoint-delete.exp
7762 * gdb.base/watchpoint-hw-hit-once.exp
7763 * gdb.base/watchpoint-hw.exp
7764 * gdb.base/watchpoint-stops-at-right-insn.exp
7765 * gdb.base/watchpoints.exp
7766 * gdb.base/wchar.exp
7767 * gdb.base/whatis-exp.exp
7768 * gdb.btrace/buffer-size.exp
7769 * gdb.btrace/data.exp
7770 * gdb.btrace/delta.exp
7771 * gdb.btrace/dlopen.exp
7772 * gdb.btrace/enable.exp
7773 * gdb.btrace/exception.exp
7774 * gdb.btrace/function_call_history.exp
7775 * gdb.btrace/gcore.exp
7776 * gdb.btrace/instruction_history.exp
7777 * gdb.btrace/nohist.exp
7778 * gdb.btrace/reconnect.exp
7779 * gdb.btrace/record_goto-step.exp
7780 * gdb.btrace/record_goto.exp
7781 * gdb.btrace/rn-dl-bind.exp
7782 * gdb.btrace/segv.exp
7783 * gdb.btrace/step.exp
7784 * gdb.btrace/stepi.exp
7785 * gdb.btrace/tailcall-only.exp
7786 * gdb.btrace/tailcall.exp
7787 * gdb.btrace/tsx.exp
7788 * gdb.btrace/unknown_functions.exp
7789 * gdb.btrace/vdso.exp
7790 * gdb.compile/compile-ifunc.exp
7791 * gdb.compile/compile-ops.exp
7792 * gdb.compile/compile-print.exp
7793 * gdb.compile/compile-setjmp.exp
7794 * gdb.cp/abstract-origin.exp
7795 * gdb.cp/ambiguous.exp
7796 * gdb.cp/annota2.exp
7797 * gdb.cp/annota3.exp
7798 * gdb.cp/anon-ns.exp
7799 * gdb.cp/anon-struct.exp
7800 * gdb.cp/anon-union.exp
7801 * gdb.cp/arg-reference.exp
7802 * gdb.cp/baseenum.exp
7803 * gdb.cp/bool.exp
7804 * gdb.cp/breakpoint.exp
7805 * gdb.cp/bs15503.exp
7806 * gdb.cp/call-c.exp
7807 * gdb.cp/casts.exp
7808 * gdb.cp/chained-calls.exp
7809 * gdb.cp/class2.exp
7810 * gdb.cp/classes.exp
7811 * gdb.cp/cmpd-minsyms.exp
7812 * gdb.cp/converts.exp
7813 * gdb.cp/cp-relocate.exp
7814 * gdb.cp/cpcompletion.exp
7815 * gdb.cp/cpexprs.exp
7816 * gdb.cp/cplabel.exp
7817 * gdb.cp/cplusfuncs.exp
7818 * gdb.cp/cpsizeof.exp
7819 * gdb.cp/ctti.exp
7820 * gdb.cp/derivation.exp
7821 * gdb.cp/destrprint.exp
7822 * gdb.cp/dispcxx.exp
7823 * gdb.cp/enum-class.exp
7824 * gdb.cp/exception.exp
7825 * gdb.cp/exceptprint.exp
7826 * gdb.cp/expand-psymtabs-cxx.exp
7827 * gdb.cp/expand-sals.exp
7828 * gdb.cp/extern-c.exp
7829 * gdb.cp/filename.exp
7830 * gdb.cp/formatted-ref.exp
7831 * gdb.cp/fpointer.exp
7832 * gdb.cp/gdb1355.exp
7833 * gdb.cp/gdb2495.exp
7834 * gdb.cp/hang.exp
7835 * gdb.cp/impl-this.exp
7836 * gdb.cp/infcall-dlopen.exp
7837 * gdb.cp/inherit.exp
7838 * gdb.cp/iostream.exp
7839 * gdb.cp/koenig.exp
7840 * gdb.cp/local.exp
7841 * gdb.cp/m-data.exp
7842 * gdb.cp/m-static.exp
7843 * gdb.cp/mb-ctor.exp
7844 * gdb.cp/mb-inline.exp
7845 * gdb.cp/mb-templates.exp
7846 * gdb.cp/member-name.exp
7847 * gdb.cp/member-ptr.exp
7848 * gdb.cp/meth-typedefs.exp
7849 * gdb.cp/method.exp
7850 * gdb.cp/method2.exp
7851 * gdb.cp/minsym-fallback.exp
7852 * gdb.cp/misc.exp
7853 * gdb.cp/namelessclass.exp
7854 * gdb.cp/namespace-enum.exp
7855 * gdb.cp/namespace-nested-import.exp
7856 * gdb.cp/namespace.exp
7857 * gdb.cp/nextoverthrow.exp
7858 * gdb.cp/no-dmgl-verbose.exp
7859 * gdb.cp/non-trivial-retval.exp
7860 * gdb.cp/noparam.exp
7861 * gdb.cp/nsdecl.exp
7862 * gdb.cp/nsimport.exp
7863 * gdb.cp/nsnested.exp
7864 * gdb.cp/nsnoimports.exp
7865 * gdb.cp/nsrecurs.exp
7866 * gdb.cp/nsstress.exp
7867 * gdb.cp/nsusing.exp
7868 * gdb.cp/operator.exp
7869 * gdb.cp/oranking.exp
7870 * gdb.cp/overload-const.exp
7871 * gdb.cp/overload.exp
7872 * gdb.cp/ovldbreak.exp
7873 * gdb.cp/ovsrch.exp
7874 * gdb.cp/paren-type.exp
7875 * gdb.cp/parse-lang.exp
7876 * gdb.cp/pass-by-ref.exp
7877 * gdb.cp/pr-1023.exp
7878 * gdb.cp/pr-1210.exp
7879 * gdb.cp/pr-574.exp
7880 * gdb.cp/pr10687.exp
7881 * gdb.cp/pr12028.exp
7882 * gdb.cp/pr17132.exp
7883 * gdb.cp/pr17494.exp
7884 * gdb.cp/pr9067.exp
7885 * gdb.cp/pr9167.exp
7886 * gdb.cp/pr9631.exp
7887 * gdb.cp/printmethod.exp
7888 * gdb.cp/psmang.exp
7889 * gdb.cp/psymtab-parameter.exp
7890 * gdb.cp/ptype-cv-cp.exp
7891 * gdb.cp/ptype-flags.exp
7892 * gdb.cp/re-set-overloaded.exp
7893 * gdb.cp/ref-types.exp
7894 * gdb.cp/rtti.exp
7895 * gdb.cp/scope-err.exp
7896 * gdb.cp/shadow.exp
7897 * gdb.cp/smartp.exp
7898 * gdb.cp/static-method.exp
7899 * gdb.cp/static-print-quit.exp
7900 * gdb.cp/temargs.exp
7901 * gdb.cp/templates.exp
7902 * gdb.cp/try_catch.exp
7903 * gdb.cp/typedef-operator.exp
7904 * gdb.cp/typeid.exp
7905 * gdb.cp/userdef.exp
7906 * gdb.cp/using-crash.exp
7907 * gdb.cp/var-tag.exp
7908 * gdb.cp/virtbase.exp
7909 * gdb.cp/virtfunc.exp
7910 * gdb.cp/virtfunc2.exp
7911 * gdb.cp/vla-cxx.exp
7912 * gdb.disasm/t01_mov.exp
7913 * gdb.disasm/t02_mova.exp
7914 * gdb.disasm/t03_add.exp
7915 * gdb.disasm/t04_sub.exp
7916 * gdb.disasm/t05_cmp.exp
7917 * gdb.disasm/t06_ari2.exp
7918 * gdb.disasm/t07_ari3.exp
7919 * gdb.disasm/t08_or.exp
7920 * gdb.disasm/t09_xor.exp
7921 * gdb.disasm/t10_and.exp
7922 * gdb.disasm/t11_logs.exp
7923 * gdb.disasm/t12_bit.exp
7924 * gdb.disasm/t13_otr.exp
7925 * gdb.dlang/circular.exp
7926 * gdb.dwarf2/arr-stride.exp
7927 * gdb.dwarf2/arr-subrange.exp
7928 * gdb.dwarf2/atomic-type.exp
7929 * gdb.dwarf2/bad-regnum.exp
7930 * gdb.dwarf2/bitfield-parent-optimized-out.exp
7931 * gdb.dwarf2/callframecfa.exp
7932 * gdb.dwarf2/clztest.exp
7933 * gdb.dwarf2/corrupt.exp
7934 * gdb.dwarf2/data-loc.exp
7935 * gdb.dwarf2/dup-psym.exp
7936 * gdb.dwarf2/dw2-anon-mptr.exp
7937 * gdb.dwarf2/dw2-anonymous-func.exp
7938 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
7939 * gdb.dwarf2/dw2-bad-unresolved.exp
7940 * gdb.dwarf2/dw2-basic.exp
7941 * gdb.dwarf2/dw2-canonicalize-type.exp
7942 * gdb.dwarf2/dw2-case-insensitive.exp
7943 * gdb.dwarf2/dw2-common-block.exp
7944 * gdb.dwarf2/dw2-compdir-oldgcc.exp
7945 * gdb.dwarf2/dw2-compressed.exp
7946 * gdb.dwarf2/dw2-const.exp
7947 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
7948 * gdb.dwarf2/dw2-cu-size.exp
7949 * gdb.dwarf2/dw2-dup-frame.exp
7950 * gdb.dwarf2/dw2-entry-value.exp
7951 * gdb.dwarf2/dw2-icycle.exp
7952 * gdb.dwarf2/dw2-ifort-parameter.exp
7953 * gdb.dwarf2/dw2-inline-break.exp
7954 * gdb.dwarf2/dw2-inline-param.exp
7955 * gdb.dwarf2/dw2-intercu.exp
7956 * gdb.dwarf2/dw2-intermix.exp
7957 * gdb.dwarf2/dw2-lexical-block-bare.exp
7958 * gdb.dwarf2/dw2-linkage-name-trust.exp
7959 * gdb.dwarf2/dw2-minsym-in-cu.exp
7960 * gdb.dwarf2/dw2-noloc.exp
7961 * gdb.dwarf2/dw2-op-call.exp
7962 * gdb.dwarf2/dw2-op-out-param.exp
7963 * gdb.dwarf2/dw2-opt-structptr.exp
7964 * gdb.dwarf2/dw2-param-error.exp
7965 * gdb.dwarf2/dw2-producer.exp
7966 * gdb.dwarf2/dw2-ranges-base.exp
7967 * gdb.dwarf2/dw2-ref-missing-frame.exp
7968 * gdb.dwarf2/dw2-reg-undefined.exp
7969 * gdb.dwarf2/dw2-regno-invalid.exp
7970 * gdb.dwarf2/dw2-restore.exp
7971 * gdb.dwarf2/dw2-restrict.exp
7972 * gdb.dwarf2/dw2-single-line-discriminators.exp
7973 * gdb.dwarf2/dw2-strp.exp
7974 * gdb.dwarf2/dw2-undefined-ret-addr.exp
7975 * gdb.dwarf2/dw2-unresolved.exp
7976 * gdb.dwarf2/dw2-var-zero-addr.exp
7977 * gdb.dwarf2/dw4-sig-types.exp
7978 * gdb.dwarf2/dwz.exp
7979 * gdb.dwarf2/dynarr-ptr.exp
7980 * gdb.dwarf2/enum-type.exp
7981 * gdb.dwarf2/gdb-index.exp
7982 * gdb.dwarf2/implptr-64bit.exp
7983 * gdb.dwarf2/implptr-optimized-out.exp
7984 * gdb.dwarf2/implptr.exp
7985 * gdb.dwarf2/implref-array.exp
7986 * gdb.dwarf2/implref-const.exp
7987 * gdb.dwarf2/implref-global.exp
7988 * gdb.dwarf2/implref-struct.exp
7989 * gdb.dwarf2/mac-fileno.exp
7990 * gdb.dwarf2/main-subprogram.exp
7991 * gdb.dwarf2/member-ptr-forwardref.exp
7992 * gdb.dwarf2/method-ptr.exp
7993 * gdb.dwarf2/missing-sig-type.exp
7994 * gdb.dwarf2/nonvar-access.exp
7995 * gdb.dwarf2/opaque-type-lookup.exp
7996 * gdb.dwarf2/pieces-optimized-out.exp
7997 * gdb.dwarf2/pieces.exp
7998 * gdb.dwarf2/pr10770.exp
7999 * gdb.dwarf2/pr13961.exp
8000 * gdb.dwarf2/staticvirtual.exp
8001 * gdb.dwarf2/subrange.exp
8002 * gdb.dwarf2/symtab-producer.exp
8003 * gdb.dwarf2/trace-crash.exp
8004 * gdb.dwarf2/typeddwarf.exp
8005 * gdb.dwarf2/valop.exp
8006 * gdb.dwarf2/watch-notconst.exp
8007 * gdb.fortran/array-element.exp
8008 * gdb.fortran/charset.exp
8009 * gdb.fortran/common-block.exp
8010 * gdb.fortran/complex.exp
8011 * gdb.fortran/derived-type-function.exp
8012 * gdb.fortran/derived-type.exp
8013 * gdb.fortran/logical.exp
8014 * gdb.fortran/module.exp
8015 * gdb.fortran/multi-dim.exp
8016 * gdb.fortran/nested-funcs.exp
8017 * gdb.fortran/print-formatted.exp
8018 * gdb.fortran/subarray.exp
8019 * gdb.fortran/vla-alloc-assoc.exp
8020 * gdb.fortran/vla-datatypes.exp
8021 * gdb.fortran/vla-history.exp
8022 * gdb.fortran/vla-ptr-info.exp
8023 * gdb.fortran/vla-ptype-sub.exp
8024 * gdb.fortran/vla-ptype.exp
8025 * gdb.fortran/vla-sizeof.exp
8026 * gdb.fortran/vla-type.exp
8027 * gdb.fortran/vla-value-sub-arbitrary.exp
8028 * gdb.fortran/vla-value-sub-finish.exp
8029 * gdb.fortran/vla-value-sub.exp
8030 * gdb.fortran/vla-value.exp
8031 * gdb.fortran/whatis_type.exp
8032 * gdb.go/chan.exp
8033 * gdb.go/handcall.exp
8034 * gdb.go/hello.exp
8035 * gdb.go/integers.exp
8036 * gdb.go/methods.exp
8037 * gdb.go/package.exp
8038 * gdb.go/strings.exp
8039 * gdb.go/types.exp
8040 * gdb.go/unsafe.exp
8041 * gdb.guile/scm-arch.exp
8042 * gdb.guile/scm-block.exp
8043 * gdb.guile/scm-breakpoint.exp
8044 * gdb.guile/scm-cmd.exp
8045 * gdb.guile/scm-disasm.exp
8046 * gdb.guile/scm-equal.exp
8047 * gdb.guile/scm-frame-args.exp
8048 * gdb.guile/scm-frame-inline.exp
8049 * gdb.guile/scm-frame.exp
8050 * gdb.guile/scm-iterator.exp
8051 * gdb.guile/scm-math.exp
8052 * gdb.guile/scm-objfile.exp
8053 * gdb.guile/scm-ports.exp
8054 * gdb.guile/scm-symbol.exp
8055 * gdb.guile/scm-symtab.exp
8056 * gdb.guile/scm-value-cc.exp
8057 * gdb.guile/types-module.exp
8058 * gdb.linespec/break-ask.exp
8059 * gdb.linespec/cpexplicit.exp
8060 * gdb.linespec/explicit.exp
8061 * gdb.linespec/keywords.exp
8062 * gdb.linespec/linespec.exp
8063 * gdb.linespec/ls-dollar.exp
8064 * gdb.linespec/ls-errs.exp
8065 * gdb.linespec/skip-two.exp
8066 * gdb.linespec/thread.exp
8067 * gdb.mi/mi-async.exp
8068 * gdb.mi/mi-basics.exp
8069 * gdb.mi/mi-break.exp
8070 * gdb.mi/mi-catch-load.exp
8071 * gdb.mi/mi-cli.exp
8072 * gdb.mi/mi-cmd-param-changed.exp
8073 * gdb.mi/mi-console.exp
8074 * gdb.mi/mi-detach.exp
8075 * gdb.mi/mi-disassemble.exp
8076 * gdb.mi/mi-eval.exp
8077 * gdb.mi/mi-file-transfer.exp
8078 * gdb.mi/mi-file.exp
8079 * gdb.mi/mi-fill-memory.exp
8080 * gdb.mi/mi-inheritance-syntax-error.exp
8081 * gdb.mi/mi-linespec-err-cp.exp
8082 * gdb.mi/mi-logging.exp
8083 * gdb.mi/mi-memory-changed.exp
8084 * gdb.mi/mi-read-memory.exp
8085 * gdb.mi/mi-record-changed.exp
8086 * gdb.mi/mi-reg-undefined.exp
8087 * gdb.mi/mi-regs.exp
8088 * gdb.mi/mi-return.exp
8089 * gdb.mi/mi-reverse.exp
8090 * gdb.mi/mi-simplerun.exp
8091 * gdb.mi/mi-solib.exp
8092 * gdb.mi/mi-stack.exp
8093 * gdb.mi/mi-stepi.exp
8094 * gdb.mi/mi-syn-frame.exp
8095 * gdb.mi/mi-until.exp
8096 * gdb.mi/mi-var-block.exp
8097 * gdb.mi/mi-var-child.exp
8098 * gdb.mi/mi-var-cmd.exp
8099 * gdb.mi/mi-var-cp.exp
8100 * gdb.mi/mi-var-display.exp
8101 * gdb.mi/mi-var-invalidate.exp
8102 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
8103 * gdb.mi/mi-vla-fortran.exp
8104 * gdb.mi/mi-watch.exp
8105 * gdb.mi/mi2-var-child.exp
8106 * gdb.mi/user-selected-context-sync.exp
8107 * gdb.modula2/unbounded-array.exp
8108 * gdb.multi/dummy-frame-restore.exp
8109 * gdb.multi/multi-arch-exec.exp
8110 * gdb.multi/multi-arch.exp
8111 * gdb.multi/tids.exp
8112 * gdb.multi/watchpoint-multi.exp
8113 * gdb.opencl/callfuncs.exp
8114 * gdb.opencl/convs_casts.exp
8115 * gdb.opencl/datatypes.exp
8116 * gdb.opencl/operators.exp
8117 * gdb.opencl/vec_comps.exp
8118 * gdb.opt/clobbered-registers-O2.exp
8119 * gdb.opt/inline-break.exp
8120 * gdb.opt/inline-bt.exp
8121 * gdb.opt/inline-cmds.exp
8122 * gdb.opt/inline-locals.exp
8123 * gdb.pascal/case-insensitive-symbols.exp
8124 * gdb.pascal/floats.exp
8125 * gdb.pascal/gdb11492.exp
8126 * gdb.python/lib-types.exp
8127 * gdb.python/py-arch.exp
8128 * gdb.python/py-as-string.exp
8129 * gdb.python/py-bad-printers.exp
8130 * gdb.python/py-block.exp
8131 * gdb.python/py-breakpoint-create-fail.exp
8132 * gdb.python/py-breakpoint.exp
8133 * gdb.python/py-caller-is.exp
8134 * gdb.python/py-cmd.exp
8135 * gdb.python/py-explore-cc.exp
8136 * gdb.python/py-explore.exp
8137 * gdb.python/py-finish-breakpoint.exp
8138 * gdb.python/py-finish-breakpoint2.exp
8139 * gdb.python/py-frame-args.exp
8140 * gdb.python/py-frame-inline.exp
8141 * gdb.python/py-frame.exp
8142 * gdb.python/py-framefilter-mi.exp
8143 * gdb.python/py-infthread.exp
8144 * gdb.python/py-lazy-string.exp
8145 * gdb.python/py-linetable.exp
8146 * gdb.python/py-mi-events.exp
8147 * gdb.python/py-mi-objfile.exp
8148 * gdb.python/py-mi.exp
8149 * gdb.python/py-objfile.exp
8150 * gdb.python/py-pp-integral.exp
8151 * gdb.python/py-pp-maint.exp
8152 * gdb.python/py-pp-re-notag.exp
8153 * gdb.python/py-pp-registration.exp
8154 * gdb.python/py-recurse-unwind.exp
8155 * gdb.python/py-strfns.exp
8156 * gdb.python/py-symbol.exp
8157 * gdb.python/py-symtab.exp
8158 * gdb.python/py-sync-interp.exp
8159 * gdb.python/py-typeprint.exp
8160 * gdb.python/py-unwind-maint.exp
8161 * gdb.python/py-unwind.exp
8162 * gdb.python/py-value-cc.exp
8163 * gdb.python/py-xmethods.exp
8164 * gdb.reverse/amd64-tailcall-reverse.exp
8165 * gdb.reverse/break-precsave.exp
8166 * gdb.reverse/break-reverse.exp
8167 * gdb.reverse/consecutive-precsave.exp
8168 * gdb.reverse/consecutive-reverse.exp
8169 * gdb.reverse/finish-precsave.exp
8170 * gdb.reverse/finish-reverse-bkpt.exp
8171 * gdb.reverse/finish-reverse.exp
8172 * gdb.reverse/fstatat-reverse.exp
8173 * gdb.reverse/getresuid-reverse.exp
8174 * gdb.reverse/i386-precsave.exp
8175 * gdb.reverse/i386-reverse.exp
8176 * gdb.reverse/i386-sse-reverse.exp
8177 * gdb.reverse/i387-env-reverse.exp
8178 * gdb.reverse/i387-stack-reverse.exp
8179 * gdb.reverse/insn-reverse.exp
8180 * gdb.reverse/machinestate-precsave.exp
8181 * gdb.reverse/machinestate.exp
8182 * gdb.reverse/next-reverse-bkpt-over-sr.exp
8183 * gdb.reverse/pipe-reverse.exp
8184 * gdb.reverse/readv-reverse.exp
8185 * gdb.reverse/recvmsg-reverse.exp
8186 * gdb.reverse/rerun-prec.exp
8187 * gdb.reverse/s390-mvcle.exp
8188 * gdb.reverse/step-precsave.exp
8189 * gdb.reverse/step-reverse.exp
8190 * gdb.reverse/time-reverse.exp
8191 * gdb.reverse/until-precsave.exp
8192 * gdb.reverse/until-reverse.exp
8193 * gdb.reverse/waitpid-reverse.exp
8194 * gdb.reverse/watch-precsave.exp
8195 * gdb.reverse/watch-reverse.exp
8196 * gdb.rust/generics.exp
8197 * gdb.rust/methods.exp
8198 * gdb.rust/modules.exp
8199 * gdb.rust/simple.exp
8200 * gdb.server/connect-with-no-symbol-file.exp
8201 * gdb.server/ext-attach.exp
8202 * gdb.server/ext-restart.exp
8203 * gdb.server/ext-wrapper.exp
8204 * gdb.server/file-transfer.exp
8205 * gdb.server/server-exec-info.exp
8206 * gdb.server/server-kill.exp
8207 * gdb.server/server-mon.exp
8208 * gdb.server/wrapper.exp
8209 * gdb.stabs/exclfwd.exp
8210 * gdb.stabs/gdb11479.exp
8211 * gdb.threads/clone-new-thread-event.exp
8212 * gdb.threads/corethreads.exp
8213 * gdb.threads/current-lwp-dead.exp
8214 * gdb.threads/dlopen-libpthread.exp
8215 * gdb.threads/gcore-thread.exp
8216 * gdb.threads/sigstep-threads.exp
8217 * gdb.threads/watchpoint-fork.exp
8218 * gdb.trace/actions-changed.exp
8219 * gdb.trace/backtrace.exp
8220 * gdb.trace/change-loc.exp
8221 * gdb.trace/circ.exp
8222 * gdb.trace/collection.exp
8223 * gdb.trace/disconnected-tracing.exp
8224 * gdb.trace/ftrace.exp
8225 * gdb.trace/mi-trace-frame-collected.exp
8226 * gdb.trace/mi-trace-unavailable.exp
8227 * gdb.trace/mi-traceframe-changed.exp
8228 * gdb.trace/mi-tsv-changed.exp
8229 * gdb.trace/no-attach-trace.exp
8230 * gdb.trace/passc-dyn.exp
8231 * gdb.trace/qtro.exp
8232 * gdb.trace/range-stepping.exp
8233 * gdb.trace/read-memory.exp
8234 * gdb.trace/save-trace.exp
8235 * gdb.trace/signal.exp
8236 * gdb.trace/status-stop.exp
8237 * gdb.trace/tfile.exp
8238 * gdb.trace/trace-break.exp
8239 * gdb.trace/trace-buffer-size.exp
8240 * gdb.trace/trace-condition.exp
8241 * gdb.trace/tracefile-pseudo-reg.exp
8242 * gdb.trace/tstatus.exp
8243 * gdb.trace/unavailable.exp
8244 * gdb.trace/while-dyn.exp
8245 * gdb.trace/while-stepping.exp
8246
82472016-12-22 Doug Evans <xdje42@gmail.com>
8248
8249 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
8250 and msymbols.
8251
82522016-12-19 Yao Qi <yao.qi@linaro.org>
8253
8254 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
8255 (test_with_self): Don't call do_steps_and_nexts, and remove
8256 code about stepping into xmalloc.
8257
82582016-12-09 Yao Qi <yao.qi@linaro.org>
8259
8260 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
8261
82622016-12-09 Yao Qi <yao.qi@linaro.org>
8263
8264 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
8265
82662016-12-09 Pedro Alves <palves@redhat.com>
8267
8268 * gdb.base/all-architectures-0.exp: New file.
8269 * gdb.base/all-architectures-1.exp: New file.
8270 * gdb.base/all-architectures-2.exp: New file.
8271 * gdb.base/all-architectures-3.exp: New file.
8272 * gdb.base/all-architectures-4.exp: New file.
8273 * gdb.base/all-architectures-5.exp: New file.
8274 * gdb.base/all-architectures-6.exp: New file.
8275 * gdb.base/all-architectures-7.exp: New file.
8276 * gdb.base/all-architectures.exp.in: New file.
8277
82782016-12-09 Yao Qi <yao.qi@linaro.org>
8279
8280 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
8281
82822016-12-02 Luis Machado <lgustavo@codesourcery.com>
8283
8284 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
8285 possible.
8286 Remove useless pattern-matching code.
8287
82882016-12-02 Pedro Alves <palves@redhat.com>
8289
8290 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
8291 procedure.
8292 (top level): Call it.
8293
82942016-12-02 Pedro Alves <palves@redhat.com>
8295
8296 * gdb.base/commands.exp (user_defined_command_args_stack_test):
8297 New procedure.
8298 (top level): Call it.
8299
83002016-12-02 Pedro Alves <palves@redhat.com>
8301
8302 PR cli/20559
8303 * gdb.base/commands.exp (user_defined_command_args_eval): New
8304 procedure.
8305 (top level): Call it.
8306
83072016-12-02 Luis Machado <lgustavo@codesourcery.com>
8308
8309 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
8310 timeout handling.
8311
83122016-12-02 Tom Tromey <tom@tromey.com>
8313
8314 * gdb.dwarf2/main-subprogram.c: New file.
8315 * gdb.dwarf2/main-subprogram.exp: New file.
8316
83172016-12-01 Luis Machado <lgustavo@codesourcery.com>
8318
8319 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
8320 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
8321 gdb_test_no_output for a couple of cases.
8322 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
8323
83242016-12-01 Luis Machado <lgustavo@codesourcery.com>
8325
8326 Fix test names and standardize compilation error messages throughout
8327 the following files:
8328
8329 * gdb.ada/start.exp
8330 * gdb.arch/alpha-step.exp
8331 * gdb.arch/e500-prologue.exp
8332 * gdb.arch/ftrace-insn-reloc.exp
8333 * gdb.arch/gdb1291.exp
8334 * gdb.arch/gdb1431.exp
8335 * gdb.arch/gdb1558.exp
8336 * gdb.arch/i386-dr3-watch.exp
8337 * gdb.arch/i386-sse-stack-align.exp
8338 * gdb.arch/ia64-breakpoint-shadow.exp
8339 * gdb.arch/pa-nullify.exp
8340 * gdb.arch/powerpc-aix-prologue.exp
8341 * gdb.arch/thumb-bx-pc.exp
8342 * gdb.base/annota1.exp
8343 * gdb.base/annota3.exp
8344 * gdb.base/arrayidx.exp
8345 * gdb.base/assign.exp
8346 * gdb.base/attach.exp
8347 * gdb.base/auxv.exp
8348 * gdb.base/bang.exp
8349 * gdb.base/bfp-test.exp
8350 * gdb.base/bigcore.exp
8351 * gdb.base/bitfields2.exp
8352 * gdb.base/break-fun-addr.exp
8353 * gdb.base/break-probes.exp
8354 * gdb.base/call-rt-st.exp
8355 * gdb.base/callexit.exp
8356 * gdb.base/catch-fork-kill.exp
8357 * gdb.base/charset.exp
8358 * gdb.base/checkpoint.exp
8359 * gdb.base/comprdebug.exp
8360 * gdb.base/constvars.exp
8361 * gdb.base/coredump-filter.exp
8362 * gdb.base/cursal.exp
8363 * gdb.base/cvexpr.exp
8364 * gdb.base/detach.exp
8365 * gdb.base/display.exp
8366 * gdb.base/dmsym.exp
8367 * gdb.base/dprintf-pending.exp
8368 * gdb.base/dso2dso.exp
8369 * gdb.base/dtrace-probe.exp
8370 * gdb.base/dump.exp
8371 * gdb.base/enum_cond.exp
8372 * gdb.base/exe-lock.exp
8373 * gdb.base/exec-invalid-sysroot.exp
8374 * gdb.base/execl-update-breakpoints.exp
8375 * gdb.base/exprs.exp
8376 * gdb.base/fileio.exp
8377 * gdb.base/find.exp
8378 * gdb.base/finish.exp
8379 * gdb.base/fixsection.exp
8380 * gdb.base/foll-vfork.exp
8381 * gdb.base/frame-args.exp
8382 * gdb.base/gcore.exp
8383 * gdb.base/gdb1250.exp
8384 * gdb.base/global-var-nested-by-dso.exp
8385 * gdb.base/gnu-ifunc.exp
8386 * gdb.base/hashline1.exp
8387 * gdb.base/hashline2.exp
8388 * gdb.base/hashline3.exp
8389 * gdb.base/hbreak-in-shr-unsupported.exp
8390 * gdb.base/huge.exp
8391 * gdb.base/infcall-input.exp
8392 * gdb.base/info-fun.exp
8393 * gdb.base/info-shared.exp
8394 * gdb.base/jit-simple.exp
8395 * gdb.base/jit-so.exp
8396 * gdb.base/jit.exp
8397 * gdb.base/jump.exp
8398 * gdb.base/label.exp
8399 * gdb.base/lineinc.exp
8400 * gdb.base/logical.exp
8401 * gdb.base/longjmp.exp
8402 * gdb.base/macscp.exp
8403 * gdb.base/miscexprs.exp
8404 * gdb.base/new-ui-echo.exp
8405 * gdb.base/new-ui-pending-input.exp
8406 * gdb.base/new-ui.exp
8407 * gdb.base/nodebug.exp
8408 * gdb.base/nofield.exp
8409 * gdb.base/offsets.exp
8410 * gdb.base/overlays.exp
8411 * gdb.base/pending.exp
8412 * gdb.base/pointers.exp
8413 * gdb.base/pr11022.exp
8414 * gdb.base/printcmds.exp
8415 * gdb.base/prologue.exp
8416 * gdb.base/ptr-typedef.exp
8417 * gdb.base/realname-expand.exp
8418 * gdb.base/relativedebug.exp
8419 * gdb.base/relocate.exp
8420 * gdb.base/remote.exp
8421 * gdb.base/reread.exp
8422 * gdb.base/return2.exp
8423 * gdb.base/savedregs.exp
8424 * gdb.base/sep.exp
8425 * gdb.base/sepdebug.exp
8426 * gdb.base/sepsymtab.exp
8427 * gdb.base/set-inferior-tty.exp
8428 * gdb.base/setshow.exp
8429 * gdb.base/shlib-call.exp
8430 * gdb.base/sigaltstack.exp
8431 * gdb.base/siginfo-addr.exp
8432 * gdb.base/signals.exp
8433 * gdb.base/signull.exp
8434 * gdb.base/sigrepeat.exp
8435 * gdb.base/so-impl-ld.exp
8436 * gdb.base/solib-display.exp
8437 * gdb.base/solib-overlap.exp
8438 * gdb.base/solib-search.exp
8439 * gdb.base/solib-symbol.exp
8440 * gdb.base/structs.exp
8441 * gdb.base/structs2.exp
8442 * gdb.base/symtab-search-order.exp
8443 * gdb.base/twice.exp
8444 * gdb.base/unload.exp
8445 * gdb.base/varargs.exp
8446 * gdb.base/watchpoint-solib.exp
8447 * gdb.base/watchpoint.exp
8448 * gdb.base/whatis.exp
8449 * gdb.base/wrong_frame_bt_full.exp
8450 * gdb.btrace/dlopen.exp
8451 * gdb.cell/ea-standalone.exp
8452 * gdb.cell/ea-test.exp
8453 * gdb.cp/dispcxx.exp
8454 * gdb.cp/gdb2384.exp
8455 * gdb.cp/method2.exp
8456 * gdb.cp/nextoverthrow.exp
8457 * gdb.cp/pr10728.exp
8458 * gdb.disasm/am33.exp
8459 * gdb.disasm/h8300s.exp
8460 * gdb.disasm/mn10300.exp
8461 * gdb.disasm/sh3.exp
8462 * gdb.dwarf2/dw2-dir-file-name.exp
8463 * gdb.fortran/complex.exp
8464 * gdb.fortran/library-module.exp
8465 * gdb.guile/scm-pretty-print.exp
8466 * gdb.guile/scm-symbol.exp
8467 * gdb.guile/scm-type.exp
8468 * gdb.guile/scm-value.exp
8469 * gdb.linespec/linespec.exp
8470 * gdb.mi/gdb701.exp
8471 * gdb.mi/gdb792.exp
8472 * gdb.mi/mi-breakpoint-changed.exp
8473 * gdb.mi/mi-dprintf-pending.exp
8474 * gdb.mi/mi-dprintf.exp
8475 * gdb.mi/mi-exit-code.exp
8476 * gdb.mi/mi-pending.exp
8477 * gdb.mi/mi-solib.exp
8478 * gdb.mi/new-ui-mi-sync.exp
8479 * gdb.mi/pr11022.exp
8480 * gdb.mi/user-selected-context-sync.exp
8481 * gdb.opt/solib-intra-step.exp
8482 * gdb.python/py-events.exp
8483 * gdb.python/py-finish-breakpoint.exp
8484 * gdb.python/py-mi.exp
8485 * gdb.python/py-prettyprint.exp
8486 * gdb.python/py-shared.exp
8487 * gdb.python/py-symbol.exp
8488 * gdb.python/py-template.exp
8489 * gdb.python/py-type.exp
8490 * gdb.python/py-value.exp
8491 * gdb.reverse/solib-precsave.exp
8492 * gdb.reverse/solib-reverse.exp
8493 * gdb.server/solib-list.exp
8494 * gdb.stabs/weird.exp
8495 * gdb.threads/reconnect-signal.exp
8496 * gdb.threads/stepi-random-signal.exp
8497 * gdb.trace/actions.exp
8498 * gdb.trace/ax.exp
8499 * gdb.trace/backtrace.exp
8500 * gdb.trace/change-loc.exp
8501 * gdb.trace/deltrace.exp
8502 * gdb.trace/ftrace-lock.exp
8503 * gdb.trace/ftrace.exp
8504 * gdb.trace/infotrace.exp
8505 * gdb.trace/mi-tracepoint-changed.exp
8506 * gdb.trace/packetlen.exp
8507 * gdb.trace/passcount.exp
8508 * gdb.trace/pending.exp
8509 * gdb.trace/range-stepping.exp
8510 * gdb.trace/report.exp
8511 * gdb.trace/stap-trace.exp
8512 * gdb.trace/tfind.exp
8513 * gdb.trace/trace-break.exp
8514 * gdb.trace/trace-condition.exp
8515 * gdb.trace/trace-enable-disable.exp
8516 * gdb.trace/trace-mt.exp
8517 * gdb.trace/tracecmd.exp
8518 * gdb.trace/tspeed.exp
8519 * gdb.trace/tsv.exp
8520 * lib/perftest.exp
8521
85222016-12-01 Luis Machado <lgustavo@codesourcery.com>
8523
8524 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
8525 with gdb_test_no_output.
8526 Use command as test name.
8527
85282016-12-01 Luis Machado <lgustavo@codesourcery.com>
8529
8530 Fix test names starting with uppercase throughout the files.
8531
8532 * gdb.ada/assign_1.exp
8533 * gdb.ada/boolean_expr.exp
8534 * gdb.base/arrayidx.exp
8535 * gdb.base/del.exp
8536 * gdb.base/gcore-buffer-overflow.exp
8537 * gdb.base/testenv.exp
8538 * gdb.compile/compile.exp
8539 * gdb.python/py-framefilter-invalidarg.exp
8540 * gdb.python/py-framefilter.exp
8541
85422016-12-01 Luis Machado <lgustavo@codesourcery.com>
8543
8544 Fix test names starting with uppercase throughout the files.
8545
8546 * gdb.ada/array_return.exp
8547 * gdb.ada/expr_delims.exp
8548 * gdb.ada/mi_dyn_arr.exp
8549 * gdb.ada/mi_interface.exp
8550 * gdb.ada/mi_var_array.exp
8551 * gdb.ada/watch_arg.exp
8552 * gdb.arch/alpha-step.exp
8553 * gdb.arch/altivec-regs.exp
8554 * gdb.arch/e500-regs.exp
8555 * gdb.arch/powerpc-d128-regs.exp
8556 * gdb.base/arrayidx.exp
8557 * gdb.base/break.exp
8558 * gdb.base/checkpoint.exp
8559 * gdb.base/debug-expr.exp
8560 * gdb.base/dmsym.exp
8561 * gdb.base/radix.exp
8562 * gdb.base/sepdebug.exp
8563 * gdb.base/testenv.exp
8564 * gdb.base/watch_thread_num.exp
8565 * gdb.base/watchpoint-cond-gone.exp
8566 * gdb.cell/break.exp
8567 * gdb.cell/ea-cache.exp
8568 * gdb.compile/compile.exp
8569 * gdb.cp/gdb2495.exp
8570 * gdb.gdb/selftest.exp
8571 * gdb.gdb/xfullpath.exp
8572 * gdb.go/hello.exp
8573 * gdb.go/integers.exp
8574 * gdb.objc/basicclass.exp
8575 * gdb.pascal/hello.exp
8576 * gdb.pascal/integers.exp
8577 * gdb.python/py-breakpoint.exp
8578 * gdb.python/py-cmd.exp
8579 * gdb.python/py-linetable.exp
8580 * gdb.python/py-xmethods.exp
8581 * gdb.python/python.exp
8582 * gdb.reverse/consecutive-precsave.exp
8583 * gdb.reverse/finish-precsave.exp
8584 * gdb.reverse/i386-precsave.exp
8585 * gdb.reverse/machinestate-precsave.exp
8586 * gdb.reverse/sigall-precsave.exp
8587 * gdb.reverse/solib-precsave.exp
8588 * gdb.reverse/step-precsave.exp
8589 * gdb.reverse/until-precsave.exp
8590 * gdb.reverse/watch-precsave.exp
8591 * gdb.threads/leader-exit.exp
8592 * gdb.threads/pthreads.exp
8593 * gdb.threads/wp-replication.exp
8594 * gdb.trace/actions.exp
8595 * gdb.trace/mi-tsv-changed.exp
8596 * gdb.trace/tsv.exp
8597
85982016-12-01 Luis Machado <lgustavo@codesourcery.com>
8599
8600 Fix test names starting with uppercase throughout the files.
8601
8602 * gdb.arch/i386-bp_permanent.exp
8603 * gdb.arch/i386-gnu-cfi.exp
8604 * gdb.base/disasm-end-cu.exp
8605 * gdb.base/macscp.exp
8606 * gdb.base/pending.exp
8607 * gdb.base/watch_thread_num.exp
8608 * gdb.cp/exception.exp
8609 * gdb.cp/gdb2495.exp
8610 * gdb.cp/local.exp
8611 * gdb.python/py-evsignal.exp
8612 * gdb.python/python.exp
8613 * gdb.trace/tracecmd.exp
8614
86152016-12-01 Luis Machado <lgustavo@codesourcery.com>
8616
8617 Fix test names starting with uppercase throughout the files.
8618
8619 * gdb.base/charset.exp
8620 * gdb.base/eval.exp
8621 * gdb.base/multi-forks.exp
8622 * gdb.guile/scm-progspace.exp
8623 * gdb.opencl/datatypes.exp
8624 * gdb.python/py-block.exp
8625 * gdb.python/py-function.exp
8626 * gdb.python/py-symbol.exp
8627 * gdb.python/py-symtab.exp
8628 * gdb.python/py-xmethods.exp
8629 * gdb.reverse/break-precsave.exp
8630 * gdb.reverse/break-reverse.exp
8631 * gdb.reverse/consecutive-precsave.exp
8632 * gdb.reverse/consecutive-reverse.exp
8633 * gdb.reverse/finish-precsave.exp
8634 * gdb.reverse/finish-reverse-bkpt.exp
8635 * gdb.reverse/finish-reverse.exp
8636 * gdb.reverse/fstatat-reverse.exp
8637 * gdb.reverse/getresuid-reverse.exp
8638 * gdb.reverse/i386-precsave.exp
8639 * gdb.reverse/i386-reverse.exp
8640 * gdb.reverse/i386-sse-reverse.exp
8641 * gdb.reverse/i387-stack-reverse.exp
8642 * gdb.reverse/insn-reverse.exp
8643 * gdb.reverse/machinestate-precsave.exp
8644 * gdb.reverse/machinestate.exp
8645 * gdb.reverse/next-reverse-bkpt-over-sr.exp
8646 * gdb.reverse/pipe-reverse.exp
8647 * gdb.reverse/readv-reverse.exp
8648 * gdb.reverse/recvmsg-reverse.exp
8649 * gdb.reverse/rerun-prec.exp
8650 * gdb.reverse/s390-mvcle.exp
8651 * gdb.reverse/sigall-precsave.exp
8652 * gdb.reverse/sigall-reverse.exp
8653 * gdb.reverse/solib-precsave.exp
8654 * gdb.reverse/solib-reverse.exp
8655 * gdb.reverse/step-precsave.exp
8656 * gdb.reverse/step-reverse.exp
8657 * gdb.reverse/time-reverse.exp
8658 * gdb.reverse/until-precsave.exp
8659 * gdb.reverse/until-reverse.exp
8660 * gdb.reverse/waitpid-reverse.exp
8661 * gdb.reverse/watch-precsave.exp
8662 * gdb.reverse/watch-reverse.exp
8663
86642016-12-01 Luis Machado <lgustavo@codesourcery.com>
8665
8666 Fix test names starting with uppercase throughout the files.
8667
8668 * gdb.arch/i386-mpx-simple_segv.exp
8669 * gdb.arch/i386-mpx.exp
8670 * gdb.arch/i386-permbkpt.exp
8671 * gdb.arch/pa-nullify.exp
8672 * gdb.arch/powerpc-d128-regs.exp
8673 * gdb.arch/vsx-regs.exp
8674 * gdb.base/bfp-test.exp
8675 * gdb.base/break.exp
8676 * gdb.base/breakpoint-shadow.exp
8677 * gdb.base/callfuncs.exp
8678 * gdb.base/charset.exp
8679 * gdb.base/commands.exp
8680 * gdb.base/completion.exp
8681 * gdb.base/dfp-test.exp
8682 * gdb.base/echo.exp
8683 * gdb.base/ending-run.exp
8684 * gdb.base/eval.exp
8685 * gdb.base/expand-psymtabs.exp
8686 * gdb.base/float128.exp
8687 * gdb.base/floatn.exp
8688 * gdb.base/foll-exec-mode.exp
8689 * gdb.base/gdb1056.exp
8690 * gdb.base/gdb11531.exp
8691 * gdb.base/kill-after-signal.exp
8692 * gdb.base/multi-forks.exp
8693 * gdb.base/overlays.exp
8694 * gdb.base/pending.exp
8695 * gdb.base/sepdebug.exp
8696 * gdb.base/testenv.exp
8697 * gdb.base/valgrind-db-attach.exp
8698 * gdb.base/watch_thread_num.exp
8699 * gdb.base/watchpoint-cond-gone.exp
8700 * gdb.base/watchpoint.exp
8701 * gdb.base/watchpoints.exp
8702 * gdb.cp/arg-reference.exp
8703 * gdb.cp/baseenum.exp
8704 * gdb.cp/operator.exp
8705 * gdb.cp/shadow.exp
8706 * gdb.dwarf2/dw2-op-out-param.exp
8707 * gdb.dwarf2/dw2-reg-undefined.exp
8708 * gdb.go/chan.exp
8709 * gdb.go/hello.exp
8710 * gdb.go/integers.exp
8711 * gdb.go/methods.exp
8712 * gdb.go/package.exp
8713 * gdb.guile/scm-parameter.exp
8714 * gdb.guile/scm-progspace.exp
8715 * gdb.guile/scm-value.exp
8716 * gdb.mi/mi-pending.exp
8717 * gdb.mi/user-selected-context-sync.exp
8718 * gdb.multi/multi-attach.exp
8719 * gdb.multi/tids.exp
8720 * gdb.opt/clobbered-registers-O2.exp
8721 * gdb.pascal/floats.exp
8722 * gdb.pascal/integers.exp
8723 * gdb.python/py-block.exp
8724 * gdb.python/py-events.exp
8725 * gdb.python/py-parameter.exp
8726 * gdb.python/py-symbol.exp
8727 * gdb.python/py-symtab.exp
8728 * gdb.python/py-type.exp
8729 * gdb.python/py-value.exp
8730 * gdb.python/py-xmethods.exp
8731 * gdb.python/python.exp
8732 * gdb.reverse/break-precsave.exp
8733 * gdb.reverse/consecutive-precsave.exp
8734 * gdb.reverse/finish-precsave.exp
8735 * gdb.reverse/i386-precsave.exp
8736 * gdb.reverse/machinestate-precsave.exp
8737 * gdb.reverse/sigall-precsave.exp
8738 * gdb.reverse/solib-precsave.exp
8739 * gdb.reverse/step-precsave.exp
8740 * gdb.reverse/until-precsave.exp
8741 * gdb.reverse/watch-precsave.exp
8742 * gdb.server/ext-attach.exp
8743 * gdb.server/ext-restart.exp
8744 * gdb.server/ext-run.exp
8745 * gdb.server/ext-wrapper.exp
8746 * gdb.stabs/gdb11479.exp
8747 * gdb.stabs/weird.exp
8748 * gdb.threads/attach-many-short-lived-threads.exp
8749 * gdb.threads/kill.exp
8750 * gdb.threads/watchpoint-fork.exp
8751
87522016-12-01 Luis Machado <lgustavo@codesourcery.com>
8753
8754 Fix test names starting with uppercase throughout all the files below.
8755
8756 * gdb.ada/array_return.exp
8757 * gdb.ada/catch_ex.exp
8758 * gdb.ada/info_exc.exp
8759 * gdb.ada/mi_catch_ex.exp
8760 * gdb.ada/mi_dyn_arr.exp
8761 * gdb.ada/mi_ex_cond.exp
8762 * gdb.ada/mi_exc_info.exp
8763 * gdb.ada/mi_interface.exp
8764 * gdb.ada/mi_task_arg.exp
8765 * gdb.ada/mi_task_info.exp
8766 * gdb.ada/mi_var_array.exp
8767 * gdb.arch/alpha-step.exp
8768 * gdb.arch/amd64-disp-step.exp
8769 * gdb.arch/arm-disp-step.exp
8770 * gdb.arch/disp-step-insn-reloc.exp
8771 * gdb.arch/e500-prologue.exp
8772 * gdb.arch/ftrace-insn-reloc.exp
8773 * gdb.arch/gdb1558.exp
8774 * gdb.arch/i386-bp_permanent.exp
8775 * gdb.arch/i386-disp-step.exp
8776 * gdb.arch/i386-float.exp
8777 * gdb.arch/i386-gnu-cfi.exp
8778 * gdb.arch/ia64-breakpoint-shadow.exp
8779 * gdb.arch/mips16-thunks.exp
8780 * gdb.arch/pa-nullify.exp
8781 * gdb.arch/powerpc-aix-prologue.exp
8782 * gdb.arch/powerpc-power.exp
8783 * gdb.arch/ppc-dfp.exp
8784 * gdb.arch/s390-tdbregs.exp
8785 * gdb.arch/spu-info.exp
8786 * gdb.arch/spu-ls.exp
8787 * gdb.arch/thumb-bx-pc.exp
8788 * gdb.base/advance.exp
8789 * gdb.base/annota-input-while-running.exp
8790 * gdb.base/arrayidx.exp
8791 * gdb.base/asmlabel.exp
8792 * gdb.base/async.exp
8793 * gdb.base/attach-wait-input.exp
8794 * gdb.base/auto-connect-native-target.exp
8795 * gdb.base/batch-preserve-term-settings.exp
8796 * gdb.base/bfp-test.exp
8797 * gdb.base/bigcore.exp
8798 * gdb.base/bp-permanent.exp
8799 * gdb.base/break-always.exp
8800 * gdb.base/break-fun-addr.exp
8801 * gdb.base/break-idempotent.exp
8802 * gdb.base/break-main-file-remove-fail.exp
8803 * gdb.base/break-probes.exp
8804 * gdb.base/break-unload-file.exp
8805 * gdb.base/break.exp
8806 * gdb.base/call-ar-st.exp
8807 * gdb.base/call-rt-st.exp
8808 * gdb.base/call-sc.exp
8809 * gdb.base/call-signal-resume.exp
8810 * gdb.base/call-strs.exp
8811 * gdb.base/callexit.exp
8812 * gdb.base/callfuncs.exp
8813 * gdb.base/catch-gdb-caused-signals.exp
8814 * gdb.base/catch-signal-siginfo-cond.exp
8815 * gdb.base/catch-syscall.exp
8816 * gdb.base/compare-sections.exp
8817 * gdb.base/cond-eval-mode.exp
8818 * gdb.base/condbreak-call-false.exp
8819 * gdb.base/consecutive-step-over.exp
8820 * gdb.base/cursal.exp
8821 * gdb.base/disabled-location.exp
8822 * gdb.base/disasm-end-cu.exp
8823 * gdb.base/display.exp
8824 * gdb.base/double-prompt-target-event-error.exp
8825 * gdb.base/dprintf-bp-same-addr.exp
8826 * gdb.base/dprintf-detach.exp
8827 * gdb.base/dprintf-next.exp
8828 * gdb.base/dprintf-non-stop.exp
8829 * gdb.base/dprintf-pending.exp
8830 * gdb.base/dso2dso.exp
8831 * gdb.base/ending-run.exp
8832 * gdb.base/enum_cond.exp
8833 * gdb.base/examine-backward.exp
8834 * gdb.base/exe-lock.exp
8835 * gdb.base/exec-invalid-sysroot.exp
8836 * gdb.base/execl-update-breakpoints.exp
8837 * gdb.base/execution-termios.exp
8838 * gdb.base/fileio.exp
8839 * gdb.base/fixsection.exp
8840 * gdb.base/foll-exec-mode.exp
8841 * gdb.base/foll-exec.exp
8842 * gdb.base/fork-running-state.exp
8843 * gdb.base/frame-args.exp
8844 * gdb.base/fullpath-expand.exp
8845 * gdb.base/func-ptr.exp
8846 * gdb.base/gcore-relro-pie.exp
8847 * gdb.base/gdb1090.exp
8848 * gdb.base/gdb1555.exp
8849 * gdb.base/global-var-nested-by-dso.exp
8850 * gdb.base/gnu-ifunc.exp
8851 * gdb.base/hbreak-in-shr-unsupported.exp
8852 * gdb.base/hbreak-unmapped.exp
8853 * gdb.base/hook-stop.exp
8854 * gdb.base/infcall-input.exp
8855 * gdb.base/info-fun.exp
8856 * gdb.base/info-shared.exp
8857 * gdb.base/interrupt-noterm.exp
8858 * gdb.base/jit-so.exp
8859 * gdb.base/jit.exp
8860 * gdb.base/line-symtabs.exp
8861 * gdb.base/list.exp
8862 * gdb.base/longjmp.exp
8863 * gdb.base/macscp.exp
8864 * gdb.base/max-value-size.exp
8865 * gdb.base/nodebug.exp
8866 * gdb.base/nofield.exp
8867 * gdb.base/overlays.exp
8868 * gdb.base/paginate-after-ctrl-c-running.exp
8869 * gdb.base/paginate-bg-execution.exp
8870 * gdb.base/paginate-inferior-exit.exp
8871 * gdb.base/pending.exp
8872 * gdb.base/pr11022.exp
8873 * gdb.base/printcmds.exp
8874 * gdb.base/ptr-typedef.exp
8875 * gdb.base/ptype.exp
8876 * gdb.base/randomize.exp
8877 * gdb.base/range-stepping.exp
8878 * gdb.base/realname-expand.exp
8879 * gdb.base/relativedebug.exp
8880 * gdb.base/remote.exp
8881 * gdb.base/savedregs.exp
8882 * gdb.base/sepdebug.exp
8883 * gdb.base/set-noassign.exp
8884 * gdb.base/shlib-call.exp
8885 * gdb.base/shreloc.exp
8886 * gdb.base/sigaltstack.exp
8887 * gdb.base/sigbpt.exp
8888 * gdb.base/siginfo-addr.exp
8889 * gdb.base/siginfo-obj.exp
8890 * gdb.base/siginfo-thread.exp
8891 * gdb.base/signest.exp
8892 * gdb.base/signull.exp
8893 * gdb.base/sigrepeat.exp
8894 * gdb.base/skip.exp
8895 * gdb.base/so-impl-ld.exp
8896 * gdb.base/solib-corrupted.exp
8897 * gdb.base/solib-disc.exp
8898 * gdb.base/solib-display.exp
8899 * gdb.base/solib-overlap.exp
8900 * gdb.base/solib-search.exp
8901 * gdb.base/solib-symbol.exp
8902 * gdb.base/source-execution.exp
8903 * gdb.base/sss-bp-on-user-bp-2.exp
8904 * gdb.base/sss-bp-on-user-bp.exp
8905 * gdb.base/stack-checking.exp
8906 * gdb.base/stale-infcall.exp
8907 * gdb.base/step-break.exp
8908 * gdb.base/step-line.exp
8909 * gdb.base/step-over-exit.exp
8910 * gdb.base/step-test.exp
8911 * gdb.base/structs.exp
8912 * gdb.base/sym-file.exp
8913 * gdb.base/symtab-search-order.exp
8914 * gdb.base/term.exp
8915 * gdb.base/type-opaque.exp
8916 * gdb.base/unload.exp
8917 * gdb.base/until-nodebug.exp
8918 * gdb.base/until.exp
8919 * gdb.base/unwindonsignal.exp
8920 * gdb.base/watch-cond.exp
8921 * gdb.base/watch-non-mem.exp
8922 * gdb.base/watch_thread_num.exp
8923 * gdb.base/watchpoint-reuse-slot.exp
8924 * gdb.base/watchpoint-solib.exp
8925 * gdb.base/watchpoint.exp
8926 * gdb.btrace/dlopen.exp
8927 * gdb.cell/arch.exp
8928 * gdb.cell/break.exp
8929 * gdb.cell/bt.exp
8930 * gdb.cell/core.exp
8931 * gdb.cell/data.exp
8932 * gdb.cell/dwarfaddr.exp
8933 * gdb.cell/ea-cache.exp
8934 * gdb.cell/ea-standalone.exp
8935 * gdb.cell/ea-test.exp
8936 * gdb.cell/f-regs.exp
8937 * gdb.cell/fork.exp
8938 * gdb.cell/gcore.exp
8939 * gdb.cell/mem-access.exp
8940 * gdb.cell/ptype.exp
8941 * gdb.cell/registers.exp
8942 * gdb.cell/sizeof.exp
8943 * gdb.cell/solib-symbol.exp
8944 * gdb.cell/solib.exp
8945 * gdb.compile/compile-tls.exp
8946 * gdb.cp/exception.exp
8947 * gdb.cp/gdb2495.exp
8948 * gdb.cp/local.exp
8949 * gdb.cp/mb-inline.exp
8950 * gdb.cp/mb-templates.exp
8951 * gdb.cp/pr10687.exp
8952 * gdb.cp/pr9167.exp
8953 * gdb.cp/scope-err.exp
8954 * gdb.cp/templates.exp
8955 * gdb.cp/virtfunc.exp
8956 * gdb.dwarf2/dw2-dir-file-name.exp
8957 * gdb.dwarf2/dw2-single-line-discriminators.exp
8958 * gdb.fortran/complex.exp
8959 * gdb.fortran/library-module.exp
8960 * gdb.guile/guile.exp
8961 * gdb.guile/scm-cmd.exp
8962 * gdb.guile/scm-frame-inline.exp
8963 * gdb.guile/scm-objfile.exp
8964 * gdb.guile/scm-pretty-print.exp
8965 * gdb.guile/scm-symbol.exp
8966 * gdb.guile/scm-type.exp
8967 * gdb.guile/scm-value.exp
8968 * gdb.linespec/keywords.exp
8969 * gdb.linespec/ls-errs.exp
8970 * gdb.linespec/macro-relative.exp
8971 * gdb.linespec/thread.exp
8972 * gdb.mi/mi-breakpoint-changed.exp
8973 * gdb.mi/mi-dprintf-pending.exp
8974 * gdb.mi/mi-fullname-deleted.exp
8975 * gdb.mi/mi-logging.exp
8976 * gdb.mi/mi-pending.exp
8977 * gdb.mi/mi-solib.exp
8978 * gdb.mi/new-ui-mi-sync.exp
8979 * gdb.mi/user-selected-context-sync.exp
8980 * gdb.multi/dummy-frame-restore.exp
8981 * gdb.multi/multi-arch-exec.exp
8982 * gdb.multi/remove-inferiors.exp
8983 * gdb.multi/watchpoint-multi-exit.exp
8984 * gdb.opt/solib-intra-step.exp
8985 * gdb.perf/backtrace.exp
8986 * gdb.perf/single-step.exp
8987 * gdb.perf/skip-command.exp
8988 * gdb.perf/skip-prologue.exp
8989 * gdb.perf/solib.exp
8990 * gdb.python/lib-types.exp
8991 * gdb.python/py-as-string.exp
8992 * gdb.python/py-bad-printers.exp
8993 * gdb.python/py-block.exp
8994 * gdb.python/py-breakpoint.exp
8995 * gdb.python/py-cmd.exp
8996 * gdb.python/py-events.exp
8997 * gdb.python/py-evthreads.exp
8998 * gdb.python/py-finish-breakpoint.exp
8999 * gdb.python/py-finish-breakpoint2.exp
9000 * gdb.python/py-frame-inline.exp
9001 * gdb.python/py-frame.exp
9002 * gdb.python/py-inferior.exp
9003 * gdb.python/py-infthread.exp
9004 * gdb.python/py-mi.exp
9005 * gdb.python/py-objfile.exp
9006 * gdb.python/py-pp-maint.exp
9007 * gdb.python/py-pp-registration.exp
9008 * gdb.python/py-prettyprint.exp
9009 * gdb.python/py-recurse-unwind.exp
9010 * gdb.python/py-shared.exp
9011 * gdb.python/py-symbol.exp
9012 * gdb.python/py-symtab.exp
9013 * gdb.python/py-template.exp
9014 * gdb.python/py-type.exp
9015 * gdb.python/py-unwind-maint.exp
9016 * gdb.python/py-unwind.exp
9017 * gdb.python/py-value.exp
9018 * gdb.python/python.exp
9019 * gdb.reverse/finish-reverse-bkpt.exp
9020 * gdb.reverse/insn-reverse.exp
9021 * gdb.reverse/next-reverse-bkpt-over-sr.exp
9022 * gdb.reverse/solib-precsave.exp
9023 * gdb.reverse/solib-reverse.exp
9024 * gdb.stabs/gdb11479.exp
9025 * gdb.stabs/weird.exp
9026 * gdb.threads/fork-child-threads.exp
9027 * gdb.threads/fork-plus-threads.exp
9028 * gdb.threads/fork-thread-pending.exp
9029 * gdb.threads/forking-threads-plus-breakpoint.exp
9030 * gdb.threads/hand-call-in-threads.exp
9031 * gdb.threads/interrupted-hand-call.exp
9032 * gdb.threads/linux-dp.exp
9033 * gdb.threads/local-watch-wrong-thread.exp
9034 * gdb.threads/next-while-other-thread-longjmps.exp
9035 * gdb.threads/non-ldr-exit.exp
9036 * gdb.threads/pending-step.exp
9037 * gdb.threads/print-threads.exp
9038 * gdb.threads/process-dies-while-detaching.exp
9039 * gdb.threads/process-dies-while-handling-bp.exp
9040 * gdb.threads/pthreads.exp
9041 * gdb.threads/queue-signal.exp
9042 * gdb.threads/reconnect-signal.exp
9043 * gdb.threads/signal-command-handle-nopass.exp
9044 * gdb.threads/signal-command-multiple-signals-pending.exp
9045 * gdb.threads/signal-delivered-right-thread.exp
9046 * gdb.threads/signal-sigtrap.exp
9047 * gdb.threads/sigthread.exp
9048 * gdb.threads/staticthreads.exp
9049 * gdb.threads/stepi-random-signal.exp
9050 * gdb.threads/thread-unwindonsignal.exp
9051 * gdb.threads/thread_check.exp
9052 * gdb.threads/thread_events.exp
9053 * gdb.threads/tid-reuse.exp
9054 * gdb.threads/tls-nodebug.exp
9055 * gdb.threads/tls-shared.exp
9056 * gdb.threads/tls-so_extern.exp
9057 * gdb.threads/tls.exp
9058 * gdb.threads/wp-replication.exp
9059 * gdb.trace/actions-changed.exp
9060 * gdb.trace/actions.exp
9061 * gdb.trace/backtrace.exp
9062 * gdb.trace/change-loc.exp
9063 * gdb.trace/collection.exp
9064 * gdb.trace/deltrace.exp
9065 * gdb.trace/disconnected-tracing.exp
9066 * gdb.trace/entry-values.exp
9067 * gdb.trace/ftrace-lock.exp
9068 * gdb.trace/ftrace.exp
9069 * gdb.trace/infotrace.exp
9070 * gdb.trace/mi-trace-frame-collected.exp
9071 * gdb.trace/mi-trace-unavailable.exp
9072 * gdb.trace/mi-traceframe-changed.exp
9073 * gdb.trace/mi-tracepoint-changed.exp
9074 * gdb.trace/mi-tsv-changed.exp
9075 * gdb.trace/no-attach-trace.exp
9076 * gdb.trace/packetlen.exp
9077 * gdb.trace/passc-dyn.exp
9078 * gdb.trace/passcount.exp
9079 * gdb.trace/pending.exp
9080 * gdb.trace/pr16508.exp
9081 * gdb.trace/qtro.exp
9082 * gdb.trace/range-stepping.exp
9083 * gdb.trace/read-memory.exp
9084 * gdb.trace/report.exp
9085 * gdb.trace/save-trace.exp
9086 * gdb.trace/signal.exp
9087 * gdb.trace/stap-trace.exp
9088 * gdb.trace/status-stop.exp
9089 * gdb.trace/strace.exp
9090 * gdb.trace/tfile.exp
9091 * gdb.trace/tfind.exp
9092 * gdb.trace/trace-break.exp
9093 * gdb.trace/trace-condition.exp
9094 * gdb.trace/trace-enable-disable.exp
9095 * gdb.trace/trace-mt.exp
9096 * gdb.trace/tracecmd.exp
9097 * gdb.trace/tracefile-pseudo-reg.exp
9098 * gdb.trace/tspeed.exp
9099 * gdb.trace/tstatus.exp
9100 * gdb.trace/tsv.exp
9101 * gdb.trace/unavailable.exp
9102 * gdb.trace/while-dyn.exp
9103 * gdb.trace/while-stepping.exp
9104 * lib/gdb-guile.exp
9105 * lib/gdb.exp
9106 * lib/mi-support.exp
9107 * lib/pascal.exp
9108 * lib/perftest.exp
9109 * lib/prelink-support.exp
9110 * lib/selftest-support.exp
9111
91122016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
9113
9114 * Makefile.in: Include disable-implicit-rules.mk.
9115
91162016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
9117
9118 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
9119 non-byte-aligned bit fields.
9120
91212016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
9122
9123 PR gdb/12616
9124 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
9125 respects the DW_AT_data_bit_offset attribute.
9126
91272016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
9128
9129 * gdb.base/default.exp: Fix output of "set language".
9130
91312016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
9132
9133 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
9134 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
9135 make.
9136 * configure.ac: Remove checks for the make program.
9137 * configure: Re-generate.
9138
91392016-11-16 Kevin Buettner <kevinb@redhat.com>
9140
9141 * gdb.python/py-recurse-unwind.c (main): Add loop.
9142 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
9143 to read_register() and gdb.parse_and_eval(). Make each code
9144 call a separate case that can be individually tested.
9145 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
9146 proc. Call cont_and_backtrace for each of the code paths that
9147 we want to test in the unwinder.
9148
91492016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
9150
9151 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
9152 the definition of struct S.
9153
91542016-11-11 Catherine Moore <clm@codesourcery.com>
9155
9156 * gdb.base/dump.exp: Identify verilog format dump tests as such.
9157
91582016-11-09 Pedro Alves <palves@redhat.com>
9159
9160 * gdb.base/commands.exp (runto_or_return): New procedure.
9161 (gdbvar_simple_if_test, gdbvar_simple_while_test)
9162 (gdbvar_complex_if_while_test, progvar_simple_if_test)
9163 (progvar_simple_while_test, progvar_complex_if_while_test)
9164 (if_while_breakpoint_command_test)
9165 (infrun_breakpoint_command_test, breakpoint_command_test)
9166 (user_defined_command_test, watchpoint_command_test)
9167 (test_command_prompt_position, redefine_hook_test)
9168 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
9169 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
9170 multi_line_input and multi_line. Remove gdb_expect and
9171 gdb_stop_suppressing_tests uses.
9172 * lib/gdb.exp (valnum_re): New global.
9173 (multi_line_input): New procedure.
9174
91752016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
9176
9177 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
9178 Remove.
9179 (test_setup): Define with proc_with_prefix.
9180 (test_cli_inferior): Likewise.
9181 (test_cli_thread): Likewise.
9182 (test_cli_frame): Likewise.
9183 (test_cli_select_frame): Likewise.
9184 (test_cli_up_down): Likewise.
9185 (test_mi_thread_select): Likewise.
9186 (test_mi_stack_select_frame): Likewise.
9187 (test_cli_in_mi_inferior): Likewise.
9188 (test_cli_in_mi_thread): Likewise.
9189 (test_cli_in_mi_frame): Likewise.
9190 (top level): Do not use with_test_prefix_procname.
9191
91922016-11-09 Pedro Alves <palves@redhat.com>
9193
9194 * gdb.base/commands.exp (gdbvar_simple_if_test)
9195 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
9196 (progvar_simple_if_test, progvar_simple_while_test)
9197 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
9198 (infrun_breakpoint_command_test, breakpoint_command_test)
9199 (user_defined_command_test, watchpoint_command_test)
9200 (test_command_prompt_position, deprecated_command_test)
9201 (bp_deleted_in_command, temporary_breakpoint_commands)
9202 (stray_arg0_test, source_file_with_indented_comment)
9203 (recursive_source_test, if_commands_test)
9204 (error_clears_commands_left, redefine_hook_test)
9205 (redefine_backtrace_test): Use proc_with_prefix.
9206 * lib/gdb.exp (proc_with_prefix): New proc.
9207
92082016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
9209
9210 * gdb.base/tui-layout.c: New file.
9211 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
9212 disassembly window contains very long lines.
9213
92142016-11-08 Tom Tromey <tom@tromey.com>
9215
9216 * gdb.python/py-value.exp (test_value_creation): Make "long" test
9217 depend on Python 2.
9218
92192016-11-08 Tom Tromey <tom@tromey.com>
9220
9221 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
9222 New method.
9223
92242016-10-29 Manish Goregaokar <manish@mozilla.com>
9225
9226 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
9227
92282016-10-27 Manish Goregaokar <manish@mozilla.com>
9229
9230 * gdb.rust/simple.rs: Add test for univariant enums without
9231 discriminants and for encoded struct-like enums.
9232
92332016-10-28 Pedro Alves <palves@redhat.com>
9234
9235 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
9236 gdb_test_multiple, tighten regexps and match symtabs and line
9237 tables incrementally.
9238
92392016-10-28 Luis Machado <lgustavo@codesourcery.com>
9240
9241 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
9242 general.
9243
92442016-10-25 Luis Machado <lgustavo@codesourcery.com>
9245
9246 * gdb.base/exec-invalid-sysroot.exp: New file.
9247
92482016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9249
9250 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
9251
92522016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9253
9254 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
9255
92562016-10-19 Maciej W. Rozycki <macro@imgtec.com>
9257
9258 * gdb.base/killed-outside.exp: Remove $options from a call to
9259 `prepare_for_testing'.
9260
92612016-10-17 Simon Marchi <simon.marchi@ericsson.com>
9262
9263 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
9264 Change test message.
9265
92662016-10-17 Simon Marchi <simon.marchi@ericsson.com>
9267
9268 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
9269 Update comment.
9270
92712016-10-17 Simon Marchi <simon.marchi@ericsson.com>
9272
9273 * gdb.trace/mi-trace-save.exp: New file.
9274
92752016-10-13 Yao Qi <yao.qi@linaro.org>
9276
9277 * gdb.base/code_elim.exp (get_var_address): Remove.
9278 * gdb.base/relocate.exp: Likewise.
9279 * gdb.base/shreloc.exp: Likewise.
9280 * lib/gdb.exp (get_var_address): New.
9281
92822016-10-13 Yao Qi <yao.qi@linaro.org>
9283
9284 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
9285 floating point tests if $skip_float_test is false.
9286
92872016-10-12 Luis Machado <lgustavo@codesourcery.com>
9288
9289 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
9290 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
9291 argc values.
9292 Add 1 to argc so we guarantee distinct initial/modified argc values.
9293
92942016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9295
9296 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
9297
92982016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9299
9300 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
9301 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
9302 * gdb.arch/vsx-regs.exp: Likewise.
9303
93042016-10-07 Yao Qi <yao.qi@linaro.org>
9305
9306 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
9307
93082016-10-07 Markus Metzger <markus.t.metzger@intel.com>
9309
9310 * gdb.python/python.exp: Test decode_line("*0").
9311
93122016-10-06 Doug Evans <dje@google.com>
9313
9314 * gdb.python/py-value.exp (test_value_creation): Add test for large
9315 unsigned 64-bit value.
9316
93172016-10-06 Tom Tromey <tom@tromey.com>
9318
9319 * gdb.compile/compile.exp: Change java tests to rust.
9320 * gdb.base/setshow.exp: Change java tests to rust.
9321 * gdb.base/default.exp: Remove java from language list.
9322 * README (Examples): Update language example.
9323 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
9324 test.
9325 * lib/gdb.exp (skip_java_tests): Remove.
9326 * lib/java.exp: Remove.
9327 * gdb.java: Remove.
9328
93292016-10-06 Maciej W. Rozycki <macro@imgtec.com>
9330
9331 * gdb.arch/mips-fcr.exp: New test.
9332 * gdb.arch/mips-fcr.c: Source for the new test.
9333
93342016-10-06 Maciej W. Rozycki <macro@imgtec.com>
9335
9336 * gdb.base/solib-disc.exp: Use `standard_output_file'
9337 throughout.
9338
93392016-10-06 Pedro Alves <palves@redhat.com>
9340
9341 * gdb.base/jit-simple-dl.c: New file.
9342 * gdb.base/jit-simple-jit.c: New file, factored out from ...
9343 * gdb.base/jit-simple.c: ... this.
9344 * gdb.base/jit-simple.exp (jit_run): Delete.
9345 (build_jit): New proc.
9346 (jit_test_reread): Recompile either the main program or the shared
9347 library, depending on what is being tested. Skip changing address
9348 if caller wants to. Compare before/after addresses. If testing
9349 standalone, explicitly load the binary. Test "maint info
9350 breakpoints".
9351 (top level): Add "standalone vs shared lib" and "change address"
9352 vs "same address" axes.
9353
93542016-10-06 Pedro Alves <palves@redhat.com>
9355
9356 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
9357 call.
9358 (jit_run): Delete.
9359 (jit_test_reread): Use with_test_prefix. Reload the main binary
9360 explicitly. Compare the before/after addresses of the JIT
9361 descriptor.
9362
93632016-08-15 Doug Evans <dje@google.com>
9364
9365 * gdb.xml/extra-regs.xml: Update, end field now required, default type
9366 for single bitfields is bool.
9367 * gdb.xml/tdesc-regs.exp: Ditto.
9368
93692016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9370
9371 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
9372
93732016-10-05 Yao Qi <yao.qi@linaro.org>
9374
9375 * lib/gdb.exp (support_complex_tests): Return zero if
9376 gdb_skip_float_test return true.
9377
93782016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
9379 Simon Marchi <simon.marchi@ericsson.com>
9380
9381 PR gdb/20487
9382 * gdb.mi/user-selected-context-sync.exp: New file.
9383 * gdb.mi/user-selected-context-sync.c: New file.
9384
93852016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
9386 Simon Marchi <simon.marchi@ericsson.com>
9387
9388 PR gdb/20487
9389 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
9390 =thread-select-event check.
9391
93922016-09-29 Peter Bergner <bergner@vnet.ibm.com>
9393
9394 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
9395 the compulsory L operand changes.
9396 * gdb.arch/powerpc-power.s: Likewise.
9397
93982016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9399
9400 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
9401 * gdb.base/jit-attach-pie.c: New file.
9402 * gdb.base/jit-attach-pie.exp: New file.
9403
94042016-09-28 Pedro Alves <palves@redhat.com>
9405
9406 * gdb.base/infcall-input.c: New file.
9407 * gdb.base/infcall-input.exp: New file.
9408
94092016-09-22 Yao Qi <yao.qi@linaro.org>
9410
9411 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
9412 (gdb_exit): Rename it to ...
9413 (gdbserver_gdb_exit): ... Close GDBserver.
9414 (gdb_exit): New proc, call gdbserver_gdb_exit.
9415 (mi_gdb_exit): Likewise.
9416
94172016-09-22 Yao Qi <yao.qi@linaro.org>
9418
9419 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
9420 path.
9421 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
9422 Remove duplication.
9423
94242016-09-22 Yao Qi <yao.qi@linaro.org>
9425
9426 * lib/gdbserver-support.exp: Check the existence of
9427 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
9428
94292016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
9430
9431 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
9432
94332016-09-21 Tom Tromey <tom@tromey.com>
9434
9435 PR gdb/20604:
9436 * gdb.base/quit.exp: New file.
9437
94382016-09-21 Simon Marchi <simon.marchi@ericsson.com>
9439
9440 * .gitignore: New file.
9441
94422016-09-21 Maciej W. Rozycki <macro@imgtec.com>
9443
9444 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
9445 throughout.
9446
94472016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9448
9449 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
9450
94512016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9452
9453 * gdb.cp/casts.cc (decltype): Move it ...
9454 (main): ... with its call to ...
9455 * gdb.cp/casts03.cc: ... a new file.
9456 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
9457
94582016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9459
9460 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
9461
94622016-09-15 Peter Bergner <bergner@vnet.ibm.com>
9463
9464 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
9465 and sync up the test with tests in gas/testsuite/gas/ppc.
9466 * gdb.arch/powerpc-power.exp: Likewise.
9467
94682016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9469
9470 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
9471
94722016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
9473 Jan Kratochvil <jan.kratochvil@redhat.com>
9474
9475 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
9476 make m1's definition to be different from m2's. Use 'dummy' as an
9477 argument for probe 'two'.
9478
94792016-09-10 Jon Beniston <jon@beniston.com>
9480
9481 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
9482 for sim target.
9483
94842016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
9485
9486 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
9487 variable declaration.
9488 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
9489 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
9490 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
9491 received HWCAP as its argument.
9492
94932016-09-06 Pedro Alves <palves@redhat.com>
9494
9495 * gdb.base/new-ui-pending-input.c: New file.
9496 * gdb.base/new-ui-pending-input.exp: New file.
9497 * gdb.exp (clear_gdb_spawn_id): New procedure.
9498 (with_spawn_id): Check whether gdb_spawn_id exists before
9499 referencing it. If gdb_spawn_id didn't exist on entry, clear it
9500 on exit.
9501
95022016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
9503
9504 * gdb.base/float128.c: New file.
9505 * gdb.base/float128.exp: Likewise.
9506 * gdb.base/floatn.c: Likewise.
9507 * gdb.base/floatn.exp: Likewise.
9508
95092016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
9510
9511 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
9512
95132016-09-05 Pedro Alves <palves@redhat.com>
9514
9515 PR backtrace/19927
9516 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
9517 unwinders are immediately called as side effect of "source" or
9518 "disable unwinder" commands.
9519 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
9520
95212016-09-02 Yao Qi <yao.qi@linaro.org>
9522
9523 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
9524 is true and $type is "float" or "double".
9525
95262016-09-02 Yao Qi <yao.qi@linaro.org>
9527
9528 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
9529 true.
9530 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
9531 * gdb.base/call-rt-st.exp: Likewise.
9532 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
9533 return value instead of gdb,skip_float_test.
9534 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
9535 (do_function_calls): Use its return value instead of
9536 gdb,skip_float_test.
9537 * gdb.base/finish.exp: Likewise.
9538 * gdb.base/funcargs.exp: Likewise.
9539 * gdb.base/return.exp: Likewise.
9540 * gdb.base/return2.exp: Likewise.
9541 * gdb.base/varargs.exp: Likewise.
9542 * lib/gdb.exp (gdb_skip_float_test): Change it to
9543 gdb_caching_proc. Detect the broken ptrace on arm-linux.
9544
95452016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
9546
9547 * gdb.multi/tids.exp: Test "thread apply all".
9548
95492016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9550
9551 * gdb.base/default.exp (tty): Remove.
9552
95532016-08-24 Kevin Buettner <kevinb@redhat.com>
9554
9555 * gdb.python/py-recurse-unwind.c: New file.
9556 * gdb.python/py-recurse-unwind.py: New file.
9557 * gdb.python/py-recurse-unwind.exp: New file.
9558
95592016-08-24 Simon Marchi <simon.marchi@ericsson.com>
9560
9561 * gdb.base/set-inferior-tty.exp: New file.
9562 * gdb.base/set-inferior-tty.c: New file.
9563
95642016-08-23 Pedro Alves <palves@redhat.com>
9565
9566 PR gdb/20494
9567 * gdb.base/new-ui-echo.c: New file.
9568 * gdb.base/new-ui-echo.exp: New file.
9569
95702016-08-23 Yao Qi <yao.qi@linaro.org>
9571
9572 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
9573 gdbserver_spawn.
9574 * gdb.server/connect-without-multi-process.exp (do_test):
9575 Likewise.
9576
95772016-08-23 Yao Qi <yao.qi@linaro.org>
9578
9579 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
9580 standalone_txt. Delete gdb_txt and standalone_txt on host
9581 and target. Spawn the binary on target. Copy files from
9582 target to host.
9583
95842016-08-22 Pedro Alves <palves@redhat.com>
9585
9586 PR gdb/20505
9587 * gdb.base/vdso-warning.exp: Test core dumps too. Use
9588 with_test_prefix. Factor out bits to ...
9589 (test_no_vdso): ... this new procedure.
9590
95912016-08-19 Carl Love <cel@us.ibm.com>
9592
9593 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
9594 maintaining separate logic for constructing the output path.
9595 * gdb.arch/powerpc-d128-regs.exp: Likewise.
9596 * gdb.arch/ppc-dfp.exp: Likewise.
9597 * gdb.arch/ppc-fp.exp: Likewise.
9598 * gdb.arch/vsx-regs.exp: Likewise.
9599 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
9600 binprefix for generating the additional binary files.
9601
96022016-08-19 Pedro Alves <palves@redhat.com>
9603
9604 * gdb.trace/mi-trace-frame-collected.exp
9605 (test_trace_frame_collected): On x32, expect two registers.
9606
96072016-08-18 Carl Love <cel@us.ibm.com>
9608
9609 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
9610 and sync up the test with tests in gas/testsuite/gas/ppc.
9611 * gdb.arch/powerpc-power.exp: Likewise.
9612
96132016-08-17 Simon Marchi <simon.marchi@ericsson.com>
9614
9615 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
9616 expected error message.
9617
96182016-08-17 Simon Marchi <simon.marchi@ericsson.com>
9619
9620 * gdb.multi/remove-inferiors.exp: New file.
9621 * gdb.multi/remove-inferiors.c: New file.
9622
96232016-08-12 Yao Qi <yao.qi@linaro.org>
9624
9625 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
9626 argument list.
9627
96282016-08-10 Pedro Alves <palves@redhat.com>
9629
9630 PR gdb/19187
9631 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
9632 setup_kfails.
9633
96342016-08-09 Pedro Alves <palves@redhat.com>
9635 Simon Marchi <simon.marchi@ericsson.com>
9636
9637 PR gdb/20418
9638 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
9639 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
9640
96412016-08-09 Pedro Alves <palves@redhat.com>
9642
9643 PR mi/20431
9644 * gdb.mi/mi-cmd-error.exp: New file.
9645
96462016-08-09 Pedro Alves <palves@redhat.com>
9647
9648 PR gdb/18653
9649 * gdb.base/signals-state-child.c: New file.
9650 * gdb.base/signals-state-child.exp: New file.
9651 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
9652
96532016-08-09 Pedro Alves <palves@redhat.com>
9654
9655 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
9656
96572016-08-03 Tom Tromey <tom@tromey.com>
9658
9659 PR python/18565:
9660 * gdb.python/py-frame-inline.exp: Add Frame.function test.
9661
96622016-08-01 Yao Qi <yao.qi@linaro.org>
9663
9664 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
9665 variable mode to "multi-process" if $multi_process is 1, otherwise
9666 set it to "single-process".
9667
96682016-08-01 Yao Qi <yao.qi@linaro.org>
9669
9670 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
9671 * gdb.cp/cpexprs.exp: Likewise.
9672 * gdb.cp/m-static.exp: Likewise.
9673
96742016-07-26 Tom Tromey <tom@tromey.com>
9675
9676 PR python/20190:
9677 * gdb.threads/tls.exp (check_thread_local): Add python symbol
9678 test.
9679
96802016-07-26 Markus Metzger <markus.t.metzger@intel.com>
9681
9682 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
9683 selecting assembly source files.
9684 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
9685 assembly source files.
9686 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
9687 assembly source files.
9688 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
9689 selecting assembly source files.
9690
96912016-07-25 Simon Marchi <simon.marchi@ericsson.com>
9692
9693 * gdb.base/new-ui.exp (do_test_invalid_args): New
9694 procedure.
9695
96962016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
9697
9698 * gdb.btrace/reconnect.c: New file.
9699 * gdb.btrace/reconnect.exp: New file.
9700
97012016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
9702
9703 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
9704 to test_catch_syscall_group.
9705 (test_catch_syscall_group): New.
9706
97072016-07-21 Tom Tromey <tom@tromey.com>
9708
9709 * gdb.rust/simple.rs (main): Use empty struct expression.
9710 * gdb.rust/simple.exp: Add tests for empty struct expression.
9711
97122016-07-21 Yao Qi <yao.qi@linaro.org>
9713
9714 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
9715 if gdb_skip_xml_test is true on some targets.
9716
97172016-07-21 Yao Qi <yao.qi@linaro.org>
9718
9719 * gdb.server/solib-list.exp: Unset last_loaded_file.
9720
97212016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9722
9723 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
9724 "step into captured_main (args)".
9725
97262016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9727
9728 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
9729
97302016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9731
9732 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
9733
97342016-07-19 Pedro Alves <palves@redhat.com>
9735
9736 * gdb.opt/inline-break.exp: Remove optimize=-O2.
9737 * gdb.opt/inline-bt.exp: Likewise.
9738 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
9739 additional_flags=-Winline.
9740 * gdb.opt/inline-locals.exp: Likewise.
9741 * gdb.opt/inline-markers.c (ATTR): Define.
9742 (inlined_fn): Use it.
9743
97442016-07-19 Yao Qi <yao.qi@linaro.org>
9745
9746 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
9747 (test_with_self): Remove some code. Remove argument executable.
9748 (top-level): Use do_self_tests.
9749
97502016-07-15 Zachary Welch <zwelch@codesourcery.com>
9751 Don Breazeal <donb@codesourcery.com>
9752
9753 * gdb.base/maint.exp: Escape paths used in regular expressions.
9754 * gdb.stabs/weird.exp: Likewise.
9755
97562016-07-13 Tom Tromey <tom@tromey.com>
9757
9758 PR python/15620, PR python/18620:
9759 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
9760 (test_bkpt_events): New procs.
9761
97622016-07-13 Tom Tromey <tom@tromey.com>
9763
9764 PR python/17698:
9765 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
9766 test.
9767 (test_watchpoints): Likewise.
9768 (test_bkpt_pending): New proc.
9769
97702016-07-13 Tom Tromey <tom@tromey.com>
9771
9772 PR cli/18053:
9773 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
9774 completion test.
9775
97762016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9777
9778 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
9779 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
9780 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
9781 f_label.
9782 (g): Rename g_end_lbl to g_label.
9783 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
9784 low_pc and high_pc.
9785 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
9786
97872016-07-12 Tom Tromey <tom@tromey.com>
9788
9789 PR python/19293:
9790 * gdb.python/py-unwind-maint.exp: Update tests.
9791
97922016-07-12 Yao Qi <yao.qi@linaro.org>
9793
9794 * lib/selftest-support.exp (selftest_setup): Match the output
9795 when captured_main is inlined.
9796
97972016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
9798
9799 * gdb.fortran/derived-types.exp (result_line, result_line_2):
9800 New variables.
9801 (print this%a, print this%b, print this): New tests.
9802 * gdb.fortran/derived-types.f90 (this): New object and
9803 initialization.
9804
98052016-07-06 Simon Marchi <simon.marchi@ericsson.com>
9806
9807 * gdb.ada/arraydim.exp: Remove extra directory level in build
9808 directory.
9809
98102016-07-06 Simon Marchi <simon.marchi@ericsson.com>
9811
9812 * lib/ada.exp: Remove extra directory level in build directory.
9813 * gdb.ada/cond_lang.exp: Likewise.
9814 * gdb.ada/exec_changed.exp: Likewise.
9815 * gdb.ada/lang_switch.exp: Likewise.
9816
98172016-07-06 Manish Goregaokar <manish@mozilla.com>
9818
9819 * simple.rs: Add test for raw pointer subscripting.
9820 * simple.exp: Add test expectations.
9821
98222016-07-05 Yao Qi <yao.qi@linaro.org>
9823
9824 * gdb.mi/mi-reverse.exp: Match =record-started output.
9825
98262016-07-01 Pedro Alves <palves@redhat.com>
9827
9828 * gdb.base/jit-reader.exp (info_registers_current_frame): New
9829 procedure.
9830 (jit_reader_test): Test the jit reader's unwinder.
9831 * gdb.base/jithost.c (jit_function_00_code): New global.
9832 (main): Use memcpy to fill in the mmapped code, instead of poking
9833 bytes manually here.
9834 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
9835 value.
9836 (read_debug_info): Save the function's range.
9837 (read_sp): New function.
9838 (unwind_frame): Use it. Also unwind RBP.
9839 (get_frame_id): Use read_sp.
9840 (gdb_init_reader): Use calloc instead of malloc.
9841 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
9842 parameter. Use gdb_test_multiple.
9843
98442016-07-01 Pedro Alves <palves@redhat.com>
9845 Antoine Tremblay <antoine.tremblay@ericsson.com>
9846
9847 * gdb.threads/process-dies-while-detaching.c: New file.
9848 * gdb.threads/process-dies-while-detaching.exp: New file.
9849
98502016-07-01 Pedro Alves <palves@redhat.com>
9851
9852 * gdb.multi/watchpoint-multi-exit.c: New file.
9853 * gdb.multi/watchpoint-multi-exit.exp: New file.
9854
98552016-06-30 Pedro Alves <palves@redhat.com>
9856
9857 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
9858 unset inferior_spawn_id.
9859
98602016-06-30 Pedro Alves <palves@redhat.com>
9861
9862 * lib/mi-support.exp (default_mi_gdb_start): Declare global
9863 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
9864
98652016-06-29 Yao Qi <yao.qi@linaro.org>
9866
9867 * gdb.base/return.c: Add copyright header.
9868
98692016-06-29 Tom Tromey <tom@tromey.com>
9870
9871 PR python/20129:
9872 * gdb.python/py-framefilter.exp: Add tests for setting priority
9873 and disabling of non-existent frame filter.
9874
98752016-06-29 Yao Qi <yao.qi@linaro.org>
9876
9877 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
9878 0x0f07ff.
9879
98802016-06-28 Yao Qi <yao.qi@linaro.org>
9881
9882 * gdb.base/catch-syscall.exp: Remove check on isnative and target
9883 triplets. Start gdb, execute catch syscall, and continue. Check
9884 gdb's output to determine catch syscall is supported.
9885
98862016-06-27 Manish Goregaokar <manish@mozilla.com>
9887
9888 * gdb.rust/simple.rs: Add test for returning unit in a function.
9889 * gdb.rust/simple.exp: Add expectation for functions returning
9890 unit.
9891
98922016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
9893
9894 * gdb.python/py-breakpoint-create-fail.c,
9895 gdb.python/py-breakpoint-create-fail.exp,
9896 gdb.python/py-breakpoint-create-fail.py: New testcase.
9897
98982016-06-25 Manish Goregaokar <manish@mozilla.com>
9899
9900 PR gdb/20239
9901 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
9902 * gdb.rust/simple.exp: Add test expectations for new NonZero
9903 tests.
9904
99052016-06-24 David Taylor <dtaylor@emc.com>
9906
9907 * gdb.base/offsets.exp: New file.
9908 * gdb.base/offsets.c: New file.
9909
99102016-06-23 Tom Tromey <tom@tromey.com>
9911
9912 PR gdb/16483:
9913 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
9914 before any filters are loaded.
9915
99162016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
9917
9918 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
9919 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
9920 structs.
9921 * gdb.fortran/derived-type-function.exp: New file.
9922 * gdb.fortran/derived-type-function.f90: New file.
9923
9924
99252016-06-21 Pedro Alves <palves@redhat.com>
9926
9927 * gdb.base/new-ui.exp: New file.
9928 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
9929 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
9930 (with_spawn_id): New procedure.
9931
99322016-06-21 Pedro Alves <palves@redhat.com>
9933
9934 * gdb.mi/mi-exec-run.exp: New file.
9935
99362016-06-21 Pedro Alves <palves@redhat.com>
9937
9938 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
9939 breakpoint command's output on the main UI.
9940 (test_break): New procedure, factored out from calls in the top
9941 level.
9942 (top level): Use foreach_with_prefix to test MI as main UI and as
9943 separate UI.
9944
99452016-06-21 Pedro Alves <palves@redhat.com>
9946
9947 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
9948 (test_awatch_creation_and_listing)
9949 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
9950 Remove 'type' parameter.
9951 (test_watchpoint_all): New parameter mi_mode. Remove
9952 with_test_prefix.
9953 (top level): Use foreach_with_prefix, and add main/separate UI MI
9954 testing axis.
9955
99562016-06-21 Pedro Alves <palves@redhat.com>
9957
9958 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
9959 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
9960 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
9961 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
9962 (gdb_main_spawn_id, mi_spawn_id): Declare and
9963 comment.
9964 (mi_create_inferior_pty): New procedure,
9965 factored out from default_mi_gdb_start.
9966 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
9967 procedures.
9968 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
9969 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
9970 Use mi_create_inferior_pty.
9971 (mi_gdb_start): Use eval to pass down args list.
9972
99732016-06-21 Pedro Alves <palves@redhat.com>
9974
9975 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
9976 * gdb.opt/inline-cmds.exp: Add MI tests.
9977
99782016-06-21 Pedro Alves <palves@redhat.com>
9979
9980 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
9981
99822016-06-21 Pedro Alves <palves@redhat.com>
9983
9984 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
9985 (top level): Use it instead of mi_execute_to.
9986
99872016-06-21 Pedro Alves <palves@redhat.com>
9988
9989 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
9990 (cont_handler_str): New.
9991 (signal_stop_handler): Set stop_handler_str instead of printing to
9992 stdout.
9993 (continue_handler): Set cont_handler_str instead of printing to
9994 stdout.
9995 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
9996 mi_send_resuming_command. Print stop_handler_str and
9997 cont_handler_str instead of expecting the python events print
9998 directly.
9999
100002016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
10001
10002 * gdb.base/jit-reader.exp: New file.
10003 * gdb.base/jithost.c: New file.
10004 * gdb.base/jithost.h: New file.
10005 * gdb.base/jitreader.c : New file.
10006 * gdb.base/jit-protocol.h: New file.
10007
100082016-06-17 Yao Qi <yao.qi@linaro.org>
10009
10010 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
10011 parameters follow_fork and detach_on_fork. Set follow-fork-mode
10012 and detach-on-fork. Adjust tests.
10013 (top level): Invoke break_cond_on_syscall with combinations of
10014 syscall, follow-fork-mode and detach-on-fork.
10015
100162016-06-17 Yao Qi <yao.qi@linaro.org>
10017
10018 * gdb.base/step-over-exit.c: New.
10019 * gdb.base/step-over-exit.exp: New.
10020
100212016-06-17 Yan-Ting Lin <currygt52@gmail.com>
10022
10023 * gdb.base/float.exp: Add target check for nds32*-*-*.
10024 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
10025
100262016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
10027
10028 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
10029 for unsupported target features.
10030 * gdb.base/call-rt-st.exp: Likewise.
10031 * gdb.base/call-sc.exp: Likewise.
10032 * gdb.base/call-signal-resume.exp: Likewise.
10033 * gdb.base/call-strs.exp: Likewise.
10034 * gdb.base/callexit.exp: Likewise.
10035 * gdb.base/callfuncs.exp: Likewise.
10036 * gdb.base/nodebug.exp: Likewise.
10037 * gdb.base/printcmds.exp: Likewise.
10038 * gdb.base/ptype.exp: Likewise.
10039 * gdb.base/structs.exp: Likewise.
10040 * gdb.base/unwindonsignal.exp: Likewise.
10041 * gdb.cp/gdb2495.exp: Likewise.
10042 * gdb.cp/templates.exp: Likewise.
10043 * gdb.cp/virtfunc.exp: Likewise.
10044 * gdb.threads/hand-call-in-threads.exp: Likewise.
10045 * gdb.threads/interrupted-hand-call.exp: Likewise.
10046 * gdb.threads/thread-unwindonsignal.exp: Likewise.
10047
100482016-06-10 Tom Tromey <tom@tromey.com>
10049
10050 PR rust/20110:
10051 * gdb.rust/expr.exp: Add test for integer constant larger than
10052 i32.
10053
100542016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
10055
10056 * gdb.fortran/nested-funcs.exp: New.
10057 * gdb.fortran/nested-funcs.f90: New.
10058
100592016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
10060
10061 * gdb.base/examine-backward.c: New file.
10062 * gdb.base/examine-backward.exp: New file.
10063
100642016-06-06 Simon Marchi <simon.marchi@ericsson.com>
10065
10066 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
10067 matching.
10068
100692016-06-02 Tom Tromey <tom@tromey.com>
10070
10071 PR python/18984:
10072 * gdb.python/py-shared.exp: Add solib_name test.
10073
100742016-06-02 Simon Marchi <simon.marchi@ericsson.com>
10075
10076 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
10077
100782016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
10079
10080 PR c++/19893
10081 * gdb.dwarf2/implref.exp: Rename to...
10082 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
10083 * gdb.dwarf2/implref-array.c: New file.
10084 * gdb.dwarf2/implref-array.exp: Likewise.
10085 * gdb.dwarf2/implref-global.c: Likewise.
10086 * gdb.dwarf2/implref-global.exp: Likewise.
10087 * gdb.dwarf2/implref-struct.c: Likewise.
10088 * gdb.dwarf2/implref-struct.exp: Likewise.
10089
100902016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10091
10092 * gdb.trace/trace-condition.exp: Add 64bit tests.
10093
100942016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10095
10096 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
10097 bits types.
10098 (main): Adapt to 8 to 64 bits types.
10099 * gdb.trace/trace-condition.exp: Add new tests.
10100
101012016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10102
10103 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
10104
101052016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10106
10107 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
10108 Move condition tests...
10109 * gdb.trace/trace-condition.exp: Here.
10110
101112016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10112
10113 * gdb.trace/trace-condition.exp: Add counter-case tests.
10114
101152016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10116
10117 PR c++/15231
10118 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
10119 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
10120
101212016-05-27 Pedro Alves <palves@redhat.com>
10122
10123 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
10124 New procedure.
10125 (top level): Call it, and bail out of DejaGnu is known to be bad.
10126
101272016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
10128
10129 * gdb.base/whatis.c: Extend the test case.
10130 * gdb.base/whatis.exp: Add additional tests.
10131
101322016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10133
10134* gdb.fortran/type.f90: Add pointer variable.
10135* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
10136
101372016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10138
10139 * gdb.fortran/vla-type.exp: Fix testcase name.
10140
101412016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10142
10143 * gdb.fortran/vla-type.exp: Access elements in nested structs.
10144
101452016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10146
10147 * gdb.fortran/type.f90: Add nested structures.
10148 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
10149 * gdb.fortran/derived-type.exp: Adapt expected output.
10150 * gdb.fortran/vla-type.exp: Adapt expected output.
10151
101522016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10153
10154 * gdb.fortran/whatis_type.exp: Adapt expected output.
10155
101562016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10157
10158 * gdb.fortran/print_type.exp: Fix expected output.
10159 * gdb.fortran/whatis_type.exp: Fix expected output.
10160
101612016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10162
10163 * gdb.fortran/whatis_type.exp: Use multi_line.
10164
101652016-05-24 Tom Tromey <tom@tromey.com>
10166
10167 PR python/17386:
10168 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
10169 use value as an index.
10170
101712016-05-23 Tom Tromey <tom@tromey.com>
10172
10173 PR python/17981:
10174 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
10175 no-breakpoint case.
10176
101772016-05-24 Pedro Alves <palves@redhat.com>
10178
10179 PR gdb/19828
10180 * gdb.threads/clone-attach-detach.c: New file.
10181 * gdb.threads/clone-attach-detach.exp: New file.
10182
101832016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
10184
10185 * gdb.base/annota-input-while-running.exp: Fix syntax error.
10186
101872016-05-23 Tom Tromey <tom@tromey.com>
10188
10189 PR python/19438, PR python/18393:
10190 * gdb.python/py-progspace.exp: Add "dir" test.
10191 * gdb.python/py-objfile.exp: Add "dir" test.
10192
101932016-05-23 Yao Qi <yao.qi@linaro.org>
10194
10195 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
10196 * gdb.arch/thumb2-it.exp: Likewise.
10197
101982016-05-18 Simon Marchi <simon.marchi@ericsson.com>
10199
10200 * gdb.mi/mi-threads-interrupt.c: New file.
10201 * gdb.mi/mi-threads-interrupt.exp: New file.
10202
102032016-05-17 Simon Marchi <simon.marchi@ericsson.com>
10204
10205 PR gdb/18077
10206 * gdb.mi/mi-async-run.exp: New file.
10207 * gdb.mi/mi-async-run.c: New file.
10208
102092016-05-17 Tom Tromey <tom@tromey.com>
10210 Manish Goregaokar <manishsmail@gmail.com>
10211
10212 * lib/rust-support.exp: New file.
10213 * lib/gdb.exp (skip_rust_tests): New proc.
10214 (build_executable_from_specs): Handle rust.
10215 * lib/future.exp (gdb_find_rustc): New proc.
10216 (gdb_default_target_compile): Handle rust.
10217 * gdb.rust/expr.exp: New file.
10218 * gdb.rust/generics.exp: New file.
10219 * gdb.rust/generics.rs: New file.
10220 * gdb.rust/methods.exp: New file.
10221 * gdb.rust/methods.rs: New file.
10222 * gdb.rust/modules.exp: New file.
10223 * gdb.rust/modules.rs: New file.
10224 * gdb.rust/simple.exp: New file.
10225 * gdb.rust/simple.rs: New file.
10226
102272016-05-17 Tom Tromey <tom@tromey.com>
10228
10229 * gdb.base/default.exp (set language): Add rust.
10230
102312016-05-17 Tom Tromey <tom@tromey.com>
10232
10233 * gdb.gdb/unittest.exp: New file.
10234
102352016-05-16 Yao Qi <yao.qi@linaro.org>
10236
10237 * gdb.base/batch-preserve-term-settings.exp: Remove variable
10238 shell_prompt. Update shell_prompt_re.
10239
102402016-05-12 Doug Evans <dje@google.com>
10241
10242 PR symtab/19999
10243 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
10244 $options when building executable.
10245 * gdb.dwarf2/fission-loclists-pie.S: New file.
10246 * gdb.dwarf2/fission-loclists-pie.exp: New file.
10247
102482016-05-04 Simon Marchi <simon.marchi@ericsson.com>
10249
10250 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
10251 of [is_remote target],
10252
102532016-05-04 Simon Marchi <simon.marchi@ericsson.com>
10254
10255 * lib/gdb.exp (use_gdb_stub): New procedure.
10256
102572016-05-03 Yunlian Jiang <yunlian@google.com>
10258 Doug Evans <dje@google.com>
10259
10260 PR symtab/19914
10261 * gdb.dwarf2/dwp-sepdebug.c: New file.
10262 * gdb.dwarf2/dwp-sepdebug.exp: New file.
10263
102642016-05-02 Simon Marchi <simon.marchi@ericsson.com>
10265
10266 * gdb.base/detach.exp: Remove is_remote check.
10267
102682016-05-02 Simon Marchi <simon.marchi@ericsson.com>
10269
10270 * gdb.base/annota-input-while-running.exp: Don't check for
10271 [is_remote target]. Enable annotations after running to main.
10272 Remove unused "set test..." line.
10273
102742016-04-28 Simon Marchi <simon.marchi@ericsson.com>
10275
10276 * gdb.trace/trace-enable-disable.exp: New file.
10277 * gdb.trace/trace-enable-disable.c: New file.
10278
102792016-04-28 Simon Marchi <simon.marchi@ericsson.com>
10280
10281 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
10282 use it in info sharedlibrary test.
10283 * gdb.trace/ftrace-lock.exp: Likewise.
10284 * gdb.trace/ftrace.exp: Likewise.
10285 * gdb.trace/range-stepping.exp: Likewise.
10286 * gdb.trace/trace-break.exp: Likewise.
10287 * gdb.trace/trace-condition.exp: Likewise.
10288 * gdb.trace/trace-mt.exp: Likewise.
10289
102902016-04-27 Simon Marchi <simon.marchi@ericsson.com>
10291
10292 * lib/gdb.exp (gdb_load_shlibs): Rename to...
10293 (gdb_load_shlib): ... this.
10294 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
10295 gdb_load_shlib.
10296 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
10297 * gdb.base/ctxobj.exp: Likewise.
10298 * gdb.base/dprintf-pending.exp: Likewise.
10299 * gdb.base/dso2dso.exp: Likewise.
10300 * gdb.base/fixsection.exp: Likewise.
10301 * gdb.base/gcore-relro.exp: Likewise.
10302 * gdb.base/gdb1555.exp: Likewise.
10303 * gdb.base/global-var-nested-by-dso.exp: Likewise.
10304 * gdb.base/gnu-ifunc.exp: Likewise.
10305 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
10306 * gdb.base/jit-so.exp (one_jit_test): Likewise.
10307 * gdb.base/pending.exp: Likewise.
10308 * gdb.base/print-file-var.exp: Likewise.
10309 * gdb.base/print-symbol-loading.exp: Likewise.
10310 * gdb.base/shlib-call.exp: Likewise.
10311 * gdb.base/shreloc.exp: Likewise.
10312 * gdb.base/so-impl-ld.exp: Likewise.
10313 * gdb.base/solib-disc.exp: Likewise.
10314 * gdb.base/solib-nodir.exp: Likewise.
10315 * gdb.base/solib-overlap.exp: Likewise.
10316 * gdb.base/solib-symbol.exp: Likewise.
10317 * gdb.base/solib-weak.exp (do_test): Likewise.
10318 * gdb.base/sym-file.exp: Likewise.
10319 * gdb.base/symtab-search-order.exp: Likewise.
10320 * gdb.base/type-opaque.exp: Likewise.
10321 * gdb.base/unload.exp: Likewise.
10322 * gdb.base/watchpoint-solib.exp: Likewise.
10323 * gdb.compile/compile.exp: Likewise.
10324 * gdb.cp/gdb2384.exp: Likewise.
10325 * gdb.cp/infcall-dlopen.exp: Likewise.
10326 * gdb.cp/re-set-overloaded.exp: Likewise.
10327 * gdb.fortran/library-module.exp: Likewise.
10328 * gdb.opt/solib-intra-step.exp: Likewise.
10329 * gdb.python/py-finish-breakpoint.exp: Likewise.
10330 * gdb.python/py-shared.exp: Likewise.
10331 * gdb.reverse/solib-precsave.exp: Likewise.
10332 * gdb.reverse/solib-reverse.exp: Likewise.
10333 * gdb.server/solib-list.exp: Likewise.
10334 * gdb.threads/dlopen-libpthread.exp: Likewise.
10335 * gdb.threads/tls-shared.exp: Likewise.
10336 * gdb.threads/tls-so_extern.exp: Likewise.
10337 * gdb.trace/change-loc.exp: Likewise.
10338 * gdb.trace/ftrace-lock.exp: Likewise.
10339 * gdb.trace/ftrace.exp: Likewise.
10340 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
10341 * gdb.trace/pending.exp: Likewise.
10342 * gdb.trace/range-stepping.exp: Likewise.
10343 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
10344 (strace_info_marker): Likewise.
10345 (strace_probe_marker): Likewise.
10346 (strace_trace_on_same_addr): Likewise.
10347 (strace_trace_on_diff_addr): Likewise.
10348 * gdb.trace/trace-break.exp: Likewise.
10349 * gdb.trace/trace-condition.exp: Likewise.
10350 * gdb.trace/trace-mt.exp: Likewise.
10351
103522016-04-27 Simon Marchi <simon.marchi@ericsson.com>
10353
10354 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
10355 result of gdb_remote_download.
10356 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
10357 * gdb.base/dso2dso.exp: Likewise.
10358 * gdb.base/global-var-nested-by-dso.exp: Likewise.
10359 * gdb.base/print-file-var.exp: Likewise.
10360 * gdb.base/shlib-call.exp: Likewise.
10361 * gdb.base/shreloc.exp: Likewise.
10362 * gdb.base/solib-overlap.exp: Likewise.
10363 * gdb.base/solib-weak.exp (do_test): Likewise.
10364 * gdb.base/unload.exp: Likewise.
10365
103662016-04-27 Yao Qi <yao.qi@linaro.org>
10367
10368 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
10369 exists.
10370
103712016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
10372
10373 * vla-type.exp: Print structure from toplevel.
10374
103752016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
10376
10377 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
10378 of dynamic types.
10379 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
10380 of dynamic types.
10381
103822016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
10383
10384 * gdb.fortran/vla-type.f90: New file.
10385 * gdb.fortran/vla-type.exp: New file.
10386
103872016-04-25 Yao Qi <yao.qi@linaro.org>
10388
10389 * gdb.base/branch-to-self.c: New file.
10390 * gdb.base/branch-to-self.exp: New file.
10391
103922016-04-22 Yao Qi <yao.qi@linaro.org>
10393
10394 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
10395 more after $hex.
10396
103972016-04-22 Yao Qi <yao.qi@linaro.org>
10398
10399 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
10400 * gdb.base/annota3.exp: Likewise.
10401
104022016-04-22 Yao Qi <yao.qi@linaro.org>
10403
10404 * gdb.reverse/step-precsave.exp: Do one step and test program
10405 stops in "callee" and do multiple steps until program goes out
10406 of "callee".
10407 * gdb.reverse/step-reverse.exp: Likewise.
10408
104092016-04-22 Yao Qi <yao.qi@linaro.org>
10410
10411 * gdb.trace/signal.exp: Also pass if
10412 $tracepoint_hits($i) > $iterations.
10413
104142016-04-22 Yao Qi <yao.qi@linaro.org>
10415
10416 * gdb.trace/signal.c: New file.
10417 * gdb.trace/signal.exp: New file.
10418
104192016-04-19 Doug Evans <xdje42@gmail.com>
10420
10421 * gdb.base/bad-file.exp: New file.
10422
104232016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
10424
10425 * gdb.dwarf2/implref.exp: New file.
10426
104272016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
10428
10429 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
10430 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
10431 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
10432 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
10433 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
10434 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
10435 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
10436 * lib/fortran.exp (fortran_int4): New procedure.
10437 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
10438 (fortran_logical4): Likewise.
10439
104402016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
10441
10442 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
10443
104442016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
10445
10446 * lib/compiler.c: Add Intel specific preprocessor macros.
10447 * lib/compiler.cc: Likewise.
10448
104492016-04-13 Luis Machado <lgustavo@codesourcery.com>
10450
10451 * gdb.server/connect-with-no-symbol-file.c: New file.
10452 * gdb.server/connect-with-no-symbol-file.exp: New file.
10453
104542016-04-13 Simon Marchi <simon.marchi@ericsson.com>
10455
10456 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
10457
104582016-04-13 Simon Marchi <simon.marchi@ericsson.com>
10459
10460 * boards/gdbserver-base.exp (${board}_download): Copy source file to
10461 standard output directory.
10462
104632016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
10464
10465 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
10466
104672016-04-13 Markus Metzger <markus.t.metzger@intel.com>
10468
10469 * gdb.btrace/instruction_history.c (loop): Add declaration.
10470
104712016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
10472
10473 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
10474
104752016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
10476
10477 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
10478 parentheses to print.
10479 (continue_handler): Likewise.
10480
104812016-04-08 Simon Marchi <simon.marchi@ericsson.com>
10482
10483 * gdb.server/solib-list.exp: Remove is_remote check.
10484 Pass shlib= to gdb_compile. Don't link shared library with
10485 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
10486 Run binary filename through "readlink -f" on the target.
10487
104882016-04-08 Pedro Alves <palves@redhat.com>
10489
10490 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
10491 interpreter filename as argument to gdbserver_spawn.
10492 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
10493 Return empty if $last_loaded_file does not exist.
10494
104952016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10496
10497 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
10498 * gdb.base/jit-main.c: Use exit after usage.
10499
105002016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10501
10502 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
10503 GDBHISTSIZE prior to the tests.
10504 * gdb.base/gdbinit-history.exp: Likewise.
10505
105062016-04-07 Pedro Alves <palves@redhat.com>
10507
10508 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
10509 instead of build_executable. Use gdb_load_shlibs.
10510
105112016-04-07 Yao Qi <yao.qi@linaro.org>
10512
10513 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
10514 Execute "si" command.
10515
105162016-04-07 Yao Qi <yao.qi@linaro.org>
10517
10518 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
10519 number instead of the comments on some line.
10520
105212016-04-06 Don Breazeal <donb@codesourcery.com>
10522
10523 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
10524 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
10525
105262016-04-06 Simon Marchi <simon.marchi@ericsson.com>
10527
10528 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
10529 standard_output_file. Remove unused binfile variable.
10530
105312016-04-05 Catalin Udma <catalin.udma@freescale.com>
10532
10533 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
10534 * gdb.python/py-mi-objfile.exp: Match "list main" output
10535 in console format.
10536
105372016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
10538
10539 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
10540 absolute.
10541
105422016-04-05 Simon Marchi <simon.marchi@ericsson.com>
10543
10544 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
10545 absolute.
10546 * gdb.trace/ftrace.exp: Likewise.
10547 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
10548 targets as well.
10549 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
10550 (gdb_load_shlibs): Copy libraries to test directory when testing
10551 natively. Only set solib-search-path if testing remotely.
10552 * lib/mi-support.exp (mi_load_shlibs): Likewise.
10553
105542016-04-05 Simon Marchi <simon.marchi@ericsson.com>
10555
10556 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
10557 gdb_download. Use it even if the target is not remote.
10558 * gdb.base/jit.exp (compile_jit_test): Likewise.
10559 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
10560 output directory if the destination board is local, otherwise use
10561 the standard remote_download from DejaGnu.
10562 (gdb_download): Remove.
10563 (gdb_load_shlibs): Use gdb_remote_download instead of
10564 gdb_download.
10565 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
10566 Use gdb_remote_download instead of gdb_download. Use it even if
10567 the target is not remote.
10568 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
10569 instead of gdb_download.
10570
105712016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
10572
10573 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
10574 (test_insert_delete_modify): Call mi_load_shlibs before trying to
10575 run.
10576
105772016-04-01 Artemiy Volkov <artemiyv@acm.org>
10578
10579 PR gdb/19820
10580 * gdb.base/printcmds.exp: Add artificial arrays tests.
10581
105822016-03-31 Pedro Alves <palves@redhat.com>
10583
10584 PR gdb/19858
10585 * gdb.base/jit-main.c: Include unistd.h.
10586 (ATTACH): Define to 0 if not already defined.
10587 (wait_for_gdb, mypid): New globals.
10588 (WAIT_FOR_GDB): New macro.
10589 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
10590 some breakpoint locations.
10591 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
10592 New procedures.
10593 (one_jit_test): Add REATTACH parameter, and handle it. Use
10594 continue_to_test_location.
10595 (top level): Test attach, and adjusts calls to one_jit_test.
10596
105972016-03-31 Pedro Alves <palves@redhat.com>
10598
10599 PR gdb/19858
10600 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
10601 BINSUFFIX parameter, and handle it.
10602 (top level): Adjust calls compile_jit_test.
10603
106042016-03-31 Catalin Udma <catalin.udma@freescale.com>
10605
10606 PR python/19743
10607 * gdb.python/py-mi-events-gdb.py: New file.
10608 * gdb.python/py-mi-events.c: New file.
10609 * gdb.python/py-mi-events.exp: New file.
10610
106112016-03-30 Yao Qi <yao.qi@linaro.org>
10612
10613 * gdb.reverse/until-precsave.exp: Match function name only.
10614 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
10615 Move malloc to a condition block.
10616 * gdb.reverse/until-reverse.exp: Match function name only.
10617
106182016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
10619
10620 * gdb.trace/ftrace.exp: Set arg0exp for s390.
10621 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
10622 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
10623 variable for GPR 0 instead of assuming it is register 0.
10624 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
10625 * lib/trace-support.exp: Add s390 registers.
10626
106272016-03-29 Yao Qi <yao.qi@linaro.org>
10628
10629 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
10630
106312016-03-24 Yao Qi <yao.qi@linaro.org>
10632
10633 * gdb.reverse/break-reverse.exp: Add quotation mark in the
10634 test message.
10635
106362016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
10637
10638 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
10639 maintaining separate logic for constructing the output path.
10640
106412016-03-16 Don Breazeal <donb@codesourcery.com>
10642
10643 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
10644 Retry fork and waitpid on interrupted system call errors.
10645 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10646 Use with_timeout_factor to increase timeout by factor of 10.
10647
106482016-03-15 Don Breazeal <donb@codesourcery.com>
10649
10650 * gdb.cp/scope-err.cc: New test program.
10651 * gdb.cp/scope-err.exp: New test script.
10652 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
10653 lines and "set breakpoint here" comment.
10654 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
10655 Fixed some whitespace and format issues.
10656 * gdb.mi/mi-linespec-err-cp.cc: New test program.
10657 * gdb.mi/mi-linespec-err-cp.exp: New test script.
10658
106592016-03-15 Doug Evans <dje@google.com>
10660
10661 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
10662 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
10663 All callers updated. Add tests for enums, mixed flags register.
10664
106652016-03-15 Doug Evans <dje@google.com>
10666
10667 * gdb.base/skip.c (main): Call test_skip_file_and_function.
10668 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
10669
106702016-03-14 Simon Marchi <simon.marchi@ericsson.com>
10671
10672 * gdb.base/default.exp: Add $_as_string to the list of expected
10673 convenience functions.
10674
106752016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
10676
10677 * gdb.base/maint.exp: New tests for 'maint info line-table'.
10678
106792016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
10680
10681 * gdb.python/py-as-string.exp: New file.
10682 * gdb.python/py-as-string.c: New file.
10683
106842016-03-09 Pedro Alves <palves@redhat.com>
10685
10686 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
10687 signal" -> "Thread NN received signal" output change.
10688 * gdb.threads/ia64-sigill.exp: Likewise.
10689 * gdb.threads/linux-dp.exp: Likewise.
10690 * gdb.threads/manythreads.exp: Likewise.
10691 * gdb.threads/pending-step.exp: Likewise.
10692 * gdb.threads/print-threads.exp: Likewise.
10693 * gdb.threads/sigstep-threads.exp: Likewise.
10694 * gdb.threads/staticthreads.exp: Likewise.
10695 * gdb.threads/tls.exp: Likewise.
10696
106972016-03-09 Pedro Alves <palves@redhat.com>
10698
10699 * gdb.base/command-line-input.exp: New file.
10700
107012016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10702
10703 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
10704 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
10705 * gdb.trace/pending.exp: Accept leading dot before function name.
10706 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
10707 * lib/trace-support.exp: Set registers for ppc.
10708
107092016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10710
10711 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
10712 use it for disassembly; accept .main in addition to main in backtrace.
10713
107142016-03-09 Wei-cheng Wang <cole945@gmail.com>
10715 Marcin Kościelnicki <koriakin@0x04.net>
10716
10717 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
10718 (gdb_recursion_test_ptr): New global variable.
10719 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
10720 gdb_recursion_test.
10721 (gdb_c_test): Ditto.
10722
107232016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10724
10725 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
10726 ordering.
10727
107282016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10729
10730 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
10731 (bar): Add bar_start_lbl label.
10732 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
10733 of foo/bar for emitting DWARF and tracing.
10734
107352016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
10736
10737 * analyze-racy-logs.py: Set executable bit.
10738
107392016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
10740
10741 * Makefile.in (DEFAULT_RACY_ITER): New variable.
10742 (CHECK_TARGET_TMP): Likewise.
10743 (check-single-racy): New rule.
10744 (check-parallel-racy): Likewise.
10745 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
10746 (do-check-parallel-racy): New rule.
10747 (check-racy/%.exp): Likewise.
10748 * README (Racy testcases): New section.
10749 * analyze-racy-logs.py: New file.
10750
107512016-03-03 Doug Evans <dje@google.com>
10752
10753 * gdb.base/skip.exp: Use with_test_prefix.
10754
107552016-03-03 Yao Qi <yao.qi@linaro.org>
10756
10757 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
10758 Invoke step_over_syscall "clone" and break_cond_on_syscall
10759 "clone".
10760 * gdb.base/step-over-clone.c: New file.
10761
107622016-03-03 Yao Qi <yao.qi@linaro.org>
10763
10764 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
10765 code format.
10766
107672016-03-03 Yao Qi <yao.qi@linaro.org>
10768
10769 * gdb.base/disp-step-fork.c: Rename to ...
10770 * gdb.base/step-over-fork.c: ... it. New file.
10771 * gdb.base/disp-step-vfork.c: Rename to ...
10772 * gdb.base/step-over-vfork.c: ... it. New file.
10773 * gdb.base/disp-step-syscall.exp: Rename to ...
10774 * gdb.base/step-over-syscall.exp: ... it. New file.
10775 (disp_step_cross_syscall): Rename to ...
10776 (step_over_syscall): ... it.
10777
107782016-03-03 Yao Qi <yao.qi@linaro.org>
10779
10780 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
10781 If target supports condition evaluation on target, invoke
10782 break_cond_on_syscall for fork and vfork.
10783
107842016-03-03 Yao Qi <yao.qi@linaro.org>
10785
10786 * gdb.base/disp-step-syscall.exp: Don't invoke
10787 support_displaced_stepping.
10788 (disp_step_cross_syscall): Test with displaced stepping off and
10789 on if supported.
10790
107912016-03-03 Yao Qi <yao.qi@linaro.org>
10792
10793 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
10794 proc.
10795 (setup): New proc.
10796 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
10797 and setup.
10798
107992016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10800
10801 * gdb.fortran/vla-history.exp: Remove breakpoint.
10802
108032016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10804
10805 * gdb.fortran/vla-history.exp: Lookup array elements and printing
10806 exceeds timeout.
10807
108082016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10809
10810 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
10811 breakpoint.
10812
108132016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10814
10815 * gdb.mi/vla.f90: Nullify pointer after declaration.
10816
108172016-03-01 Pedro Alves <palves@redhat.com>
10818
10819 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
10820
108212016-03-01 Pedro Alves <palves@redhat.com>
10822
10823 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
10824 before anything else.
10825 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
10826 _GNU_SOURCE here.
10827 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
10828 before anything else.
10829 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
10830
108312016-03-01 Pedro Alves <palves@redhat.com>
10832
10833 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
10834
108352016-03-01 Yao Qi <yao.qi@linaro.org>
10836
10837 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
10838 prepare_for_testing.
10839
108402016-03-01 Yao Qi <yao.qi@linaro.org>
10841
10842 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
10843
108442016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
10845
10846 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
10847 manually constructing the output path.
10848
108492016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
10850
10851 * gdb.arch/s390-stackless.S: New.
10852 * gdb.arch/s390-stackless.exp: New.
10853
108542016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
10855
10856 * gdb.dlang/circular.c: New file.
10857 * gdb.dlang/circular.exp: New file.
10858
108592016-02-26 Yao Qi <yao.qi@linaro.org>
10860
10861 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
10862 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
10863 (testcases): Update.
10864
108652016-02-26 Yao Qi <yao.qi@linaro.org>
10866
10867 * gdb.reverse/aarch64.c: Rename to ...
10868 * gdb.reverse/insn-reverse.c: ... it.
10869 * gdb.reverse/aarch64.exp: Rename to ...
10870 * gdb.reverse/insn-reverse.exp: ... it.
10871
108722016-02-26 Yao Qi <yao.qi@linaro.org>
10873
10874 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
10875 (testcase_ftype): New.
10876 (testcases): New array.
10877 (n_testcases): New.
10878 (main): Call each element in testcases.
10879 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
10880 (read_testcase): New.
10881 Do the tests in a loop.
10882
108832016-02-25 Yao Qi <yao.qi@linaro.org>
10884
10885 * gdb.base/branches.c: Remove.
10886
108872016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10888
10889 PR gdb/13808
10890 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
10891
108922016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10893
10894 * gdb.trace/ftrace.exp: Remove unnecessary target check.
10895
108962016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10897
10898 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
10899 change x86_64 call_insn to 'callq'.
10900
109012016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
10902
10903 * gdb.trace/tfile-avx.c: Move to...
10904 * gdb.trace/tracefile-pseudo-reg.c: Here.
10905 * gdb.trace/tfile-avx.exp: Move to...
10906 * gdb.trace/tracefile-pseudo-reg.exp: Here.
10907
109082016-02-24 Gary Benson <gbenson@redhat.com>
10909
10910 * gdb.base/attach-pie-noexec.exp: Do not expect an error
10911 message on attach.
10912
109132016-02-23 Doug Evans <dje@google.com>
10914
10915 * gdb.base/skip.c (test_skip): New function.
10916 (end_test_skip_file_and_function): New function.
10917 (test_skip_file_and_function): New function.
10918 * gdb.base/skip1.c (test_skip): New function.
10919 (skip1_test_skip_file_and_function): New function.
10920 * gdb.base/skip.exp: Add tests for new skip options.
10921 * gdb.base/skip-solib.exp: Update expected output.
10922 * gdb.perf/skip-command.cc: New file.
10923 * gdb.perf/skip-command.exp: New file.
10924 * gdb.perf/skip-command.py: New file.
10925
109262016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
10927
10928 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
10929 info registers pattern.
10930
109312016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
10932
10933 * lib/future.exp: Add D support.
10934 (gdb_find_gdc): New proc.
10935 (gdb_default_target_compile): Add D support.
10936
109372016-02-18 Wei-cheng Wang <cole945@gmail.com>
10938
10939 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
10940 user+system time.
10941 (trace_speed_test): Determine the iteration count for a time
10942 between 15..30 seconds.
10943
109442016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
10945
10946 * gdb.arch/i386-mpx-sigsegv.c: New file.
10947 * gdb.arch/i386-mpx-sigsegv.exp: New file.
10948 * gdb.arch/i386-mpx-simple_segv.c: New file.
10949 * gdb.arch/i386-mpx-simple_segv.exp: New file.
10950
109512016-02-18 Yao Qi <yao.qi@linaro.org>
10952
10953 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
10954 Don't call setup_kfail.
10955
109562016-02-18 Yao Qi <yao.qi@linaro.org>
10957
10958 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10959 Set "set breakpoint condition-evaluation" per $cond_bp_target.
10960
109612016-02-16 Doug Evans <dje@google.com>
10962
10963 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
10964 * gdb.base/skip1.c: Ditto.
10965 * gdb.base/skip.exp: Whitespace cleanup.
10966
109672016-02-16 Don Breazeal <donb@codesourcery.com>
10968
10969 PR remote/19496
10970 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10971 Remove kfail for PR remote/19496.
10972
109732016-02-16 Simon Marchi <simon.marchi@ericsson.com>
10974
10975 * lib/gdb.exp (standard_temp_file): Return a path specific to
10976 the runtest invocation.
10977
109782016-02-16 Simon Marchi <simon.marchi@ericsson.com>
10979
10980 * gdb.trace/save-trace.exp: Change relative path to be in the
10981 standard output directory.
10982
109832016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10984
10985 * gdb.arch/i386-prologue.c: Add missing prototypes.
10986
109872016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10988
10989 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
10990 * gdb.arch/i386-prologue.exp: Likewise.
10991 * gdb.arch/i386-size.exp: Likewise.
10992
109932016-02-15 Simon Marchi <simon.marchi@ericsson.com>
10994
10995 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
10996 define object file path.
10997 * gdb.btrace/gcore.exp: Use standard_output_file to define core
10998 file path.
10999 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
11000 standard_output_file to define binfile.
11001
110022016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11003
11004 Fix compatibility with recent gfortran-5.3.1.
11005 * gdb.fortran/vla-history.exp (print vla1 allocated)
11006 (print vla2 allocated, print $2, print $3): Remove
11007 (print $4): Rename to ...
11008 (print $2): ... here.
11009 (print $9): Rename to ...
11010 (print $5): ... here.
11011 (print $10): Rename to ...
11012 (print $6): ... here.
11013 * gdb.fortran/vla.f90: Add pvla initialization.
11014
110152016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11016
11017 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
11018 New test.
11019 * gdb.fortran/vla-value-sub.exp: Likewise.
11020
110212016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
11022
11023 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
11024
110252016-02-12 Simon Marchi <simon.marchi@ericsson.com>
11026
11027 * i386-biarch-core.exp: Define corefile using
11028 standard_output_file.
11029
110302016-02-12 Yao Qi <yao.qi@linaro.org>
11031
11032 * gdb.arch/arm-single-step-kernel-helper.c: New.
11033 * gdb.arch/arm-single-step-kernel-helper.exp: New.
11034
110352016-02-12 Markus Metzger <markus.t.metzger@intel.com>
11036
11037 * gdb.btrace/tailcall-only.exp: New.
11038 * gdb.btrace/tailcall-only.c: New.
11039 * gdb.btrace/x86_64-tailcall-only.S: New.
11040 * gdb.btrace/i686-tailcall-only.S: New.
11041
110422016-02-11 Pedro Alves <palves@redhat.com>
11043
11044 * README (Parallel testing): Add missing double quotes.
11045
110462016-02-11 Pedro Alves <palves@redhat.com>
11047
11048 * README (Parallel testing): New section.
11049 (GDB_PARALLEL): Rewrite.
11050 (FORCE_PARALLEL): Document.
11051
110522016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
11053
11054 * gdb.trace/tfile-avx.c: New test.
11055 * gdb.trace/tfile-avx.exp: New test.
11056
110572016-02-09 Keith Seitz <keiths@redhat.com>
11058
11059 PR breakpoints/19546
11060 * gdb.base/infcall-exec.c: New file.
11061 * gdb.base/infcall-exec2.c: New file.
11062 * gdb.base/infcall-exec.exp: New file.
11063
110642016-02-09 Keith Seitz <keiths@redhat.com>
11065
11066 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
11067 (toplevel): Call test_bkpt_address.
11068
110692016-02-09 Keith Seitz <keiths@redhat.com>
11070
11071 PR python/19506
11072 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
11073 (toplevel): Call test_bkpt_address.
11074
110752016-02-09 Simon Marchi <simon.marchi@ericsson.com>
11076
11077 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
11078 to AC_OUTPUT.
11079 * configure: Regenerate.
11080
110812016-02-09 Pedro Alves <palves@redhat.com>
11082
11083 PR breakpoints/19548
11084 * gdb.base/execl-update-breakpoints.c (some_function): New
11085 function.
11086 (main): Call it.
11087 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
11088 Tighten expected GDB output.
11089
110902016-02-08 Simon Marchi <simon.marchi@ericsson.com>
11091
11092 * Makefile.in (ALL_SUBDIRS): Remove.
11093 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
11094 (distclean maintainer-clean realclean): Likewise.
11095 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
11096 * configure: Regenerate.
11097 * gdb.ada/Makefile.in: Delete.
11098 * gdb.arch/Makefile.in: Likewise.
11099 * gdb.asm/Makefile.in: Likewise.
11100 * gdb.base/Makefile.in: Likewise.
11101 * gdb.btrace/Makefile.in: Likewise.
11102 * gdb.cell/Makefile.in: Likewise.
11103 * gdb.compile/Makefile.in: Likewise.
11104 * gdb.cp/Makefile.in: Likewise.
11105 * gdb.disasm/Makefile.in: Likewise.
11106 * gdb.dlang/Makefile.in: Likewise.
11107 * gdb.dwarf2/Makefile.in: Likewise.
11108 * gdb.fortran/Makefile.in: Likewise.
11109 * gdb.gdb/Makefile.in: Likewise.
11110 * gdb.go/Makefile.in: Likewise.
11111 * gdb.guile/Makefile.in: Likewise.
11112 * gdb.java/Makefile.in: Likewise.
11113 * gdb.linespec/Makefile.in: Likewise.
11114 * gdb.mi/Makefile.in: Likewise.
11115 * gdb.modula2/Makefile.in: Likewise.
11116 * gdb.multi/Makefile.in: Likewise.
11117 * gdb.objc/Makefile.in: Likewise.
11118 * gdb.opencl/Makefile.in: Likewise.
11119 * gdb.opt/Makefile.in: Likewise.
11120 * gdb.pascal/Makefile.in: Likewise.
11121 * gdb.perf/Makefile.in: Likewise.
11122 * gdb.python/Makefile.in: Likewise.
11123 * gdb.reverse/Makefile.in: Likewise.
11124 * gdb.server/Makefile.in: Likewise.
11125 * gdb.stabs/Makefile.in: Likewise.
11126 * gdb.threads/Makefile.in: Likewise.
11127 * gdb.trace/Makefile.in: Likewise.
11128 * gdb.xml/Makefile.in: Likewise.
11129 * lib/gdb.exp (make_gdb_parallel_path): Add check for
11130 GDB_PARALLEL.
11131 (standard_output_file): Remove check for GDB_PARALLEL, always
11132 return path in outputs/$subdir/$testname.
11133
111342016-02-08 Simon Marchi <simon.marchi@ericsson.com>
11135
11136 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
11137 (site.exp): Assign abs_srcdir to tcl's srcdir.
11138
111392016-02-04 Yao Qi <yao.qi@linaro.org>
11140
11141 * gdb.base/foll-exec-mode.c: Include limits.h.
11142 (main): Add parameters argc and argv. Get directory from
11143 argv[0].
11144 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
11145 compilation.
11146 * gdb.base/foll-exec.c: Include limits.h.
11147 (main): Add parameters argc and argv.
11148 Get directory from argv[0].
11149 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
11150 Adjust tests on the number of lines as source code changed.
11151 * gdb.base/foll-vfork-exit.c: Include limits.h.
11152 (main): Add one line of statement before vfork.
11153 * gdb.base/foll-vfork.c: Include limits.h and string.h.
11154 (main): Add parameters argc and argv. Get directory from
11155 argv[0].
11156 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
11157 (setup_gdb): Set tbreak to skip some source lines.
11158 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
11159 (main): Add parameters argc and argv. Get directory from
11160 argv[0].
11161 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
11162 compilation.
11163 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
11164 (main): Add parameters argc and argv. Get directory from
11165 argv[0].
11166 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
11167 compilation.
11168
111692016-02-01 Doug Evans <dje@google.com>
11170
11171 * gdb.base/skip.exp: Clean up multiple references to same test name.
11172
111732016-02-01 Pedro Alves <palves@redhat.com>
11174
11175 PR remote/19496
11176 * gdb.threads/forking-threads-plus-breakpoint.exp
11177 (displaced_stepping_supported): New global.
11178 (probe_displaced_stepping_support): New procedure.
11179 (do_test): Add 'displaced' parameter, and use it.
11180 (top level): Check for displaced stepping support. Add displaced
11181 stepping on/off testing axis.
11182
111832016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
11184
11185 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
11186 pointer. Don't perform further tests on the unassociated pointer
11187 if the first test fails.
11188
111892016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
11190
11191 * gdb.base/max-value-size.c: New file.
11192 * gdb.base/max-value-size.exp: New file.
11193 * gdb.base/huge.exp: Disable max-value-size for this test.
11194
111952016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
11196
11197 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
11198
111992016-01-28 Yao Qi <yao.qi@linaro.org>
11200
11201 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
11202
112032016-01-25 Pedro Alves <palves@redhat.com>
11204
11205 PR threads/19461
11206 * gdb.base/fork-running-state.c: New file.
11207 * gdb.base/fork-running-state.exp: New file.
11208
112092016-01-25 Pedro Alves <palves@redhat.com>
11210
11211 PR gdb/19494
11212 * gdb.base/catch-fork-kill.c: New file.
11213 * gdb.base/catch-fork-kill.exp: New file.
11214
112152016-01-25 Pedro Alves <palves@redhat.com>
11216
11217 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
11218 Delete, moved to lib/gdb.exp.
11219 * gdb.threads/forking-threads-plus-breakpoint.exp
11220 (foreach_with_prefix): Likewise.
11221 * gdb.threads/process-dies-while-handling-bp.exp
11222 (foreach_with_prefix): Likewise.
11223 * lib/gdb.exp (foreach_with_prefix): New procedure.
11224
112252016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
11226
11227 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
11228 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
11229
112302016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
11231
11232 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
11233 endian targets.
11234
112352016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11236 Pedro Alves <palves@redhat.com>
11237
11238 Fix testsuite compatibility with Guile.
11239 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
11240 number.
11241
112422016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11243
11244 Fix testsuite compatibility with Guile.
11245 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
11246 (thread 1): New test for backtrace through signal handler.
11247
112482016-01-22 Yao Qi <yao.qi@linaro.org>
11249
11250 PR testsuite/19491
11251 * gdb.base/multi-forks.c: Include
11252 ../lib/unbuffer_output.c
11253 (main): Call gdb_unbuffer_output.
11254
112552016-01-21 Doug Evans <dje@google.com>
11256
11257 * lib/ada.exp (gdb_compile_ada): Fix typo.
11258
112592016-01-21 Joel Brobecker <brobecker@adacore.com>
11260
11261 * gdb.base/break-fun-addr.exp: New file.
11262 * gdb.base/break-fun-addr1.c: New file.
11263 * gdb.base/break-fun-addr2.c: New file.
11264
112652016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
11266
11267 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
11268 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
11269 enum flag values.
11270
112712016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11272
11273 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
11274 when GDB can not set the vector return value. Add more comments
11275 for clarification.
11276
112772016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
11278
11279 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
11280 command.
11281
112822016-01-19 Simon Marchi <simon.marchi@ericsson.com>
11283
11284 * Makefile.in (DO_RUNTEST): Add --status and update usages.
11285
112862016-01-19 Simon Marchi <simon.marchi@ericsson.com>
11287
11288 * Makefile.in (check-single): Pass --status to runtest.
11289 (check/%.exp): Likewise.
11290
112912016-01-19 Simon Marchi <simon.marchi@ericsson.com>
11292
11293 * Makefile.in (check-parallel): Propagate return code from make
11294 do-check-parallel.
11295
112962016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
11297
11298 * gdb.trace/ftrace.exp: Fix expected message on continue.
11299 * gdb.trace/pending.exp: Fix expected message on continue.
11300 * gdb.trace/trace-break.exp: Fix expected message on continue.
11301
113022016-01-18 Simon Marchi <simon.marchi@ericsson.com>
11303
11304 * lib/gdb.exp (gdb_test): Remove unused global references.
11305
113062016-01-18 Pedro Alves <palves@redhat.com>
11307
11308 * gdb.base/async-shell.exp: Adjust expected output.
11309 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
11310 * gdb.base/siginfo-thread.exp: Adjust expected output.
11311 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
11312 * gdb.java/jnpe.exp: Adjust expected output.
11313 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
11314 * gdb.threads/continue-pending-status.exp: Adjust expected output.
11315 * gdb.threads/leader-exit.exp: Adjust expected output.
11316 * gdb.threads/manythreads.exp: Adjust expected output.
11317 * gdb.threads/pthreads.exp: Adjust expected output.
11318 * gdb.threads/schedlock.exp: Adjust expected output.
11319 * gdb.threads/siginfo-threads.exp: Adjust expected output.
11320 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
11321 expected output.
11322 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
11323 output.
11324 * gdb.threads/sigthread.exp: Adjust expected output.
11325 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
11326
113272016-01-18 Yao Qi <yao.qi@linaro.org>
11328
11329 * gdb.guile/scm-section-script.c: Replace @progbits with
11330 %progbits.
11331 * gdb.python/py-section-script.c: Likewise.
11332
113332016-01-15 Pedro Alves <palves@redhat.com>
11334
11335 * gdb.multi/tids.exp: Test star wildcard ranges.
11336
113372016-01-15 Pedro Alves <palves@redhat.com>
11338
11339 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
11340 command from "thread apply" invocation.
11341 (thr_apply_info_thr_invalid): Default the expected output to the
11342 input tid list.
11343 (top level): Add tests that use convenience variables. Add tests
11344 for "thread apply" with a valid TID list, but missing the command.
11345
113462016-01-13 Pedro Alves <palves@redhat.com>
11347
11348 * gdb.base/default.exp: Expect $_gthread as well.
11349 * gdb.multi/tids.exp: Test $_gthread.
11350 * gdb.threads/thread-specific.exp: Test $_gthread.
11351
113522016-01-13 Pedro Alves <palves@redhat.com>
11353
11354 * gdb.multi/tids.exp: Test "info threads -gid".
11355
113562016-01-13 Pedro Alves <palves@redhat.com>
11357
11358 * gdb.multi/tids.exp: Test InferiorThread.global_num and
11359 Breakpoint.thread.
11360 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
11361
113622016-01-07 Pedro Alves <palves@redhat.com>
11363
11364 * gdb.base/break.exp: Adjust to output changes.
11365 * gdb.base/hbreak2.exp: Likewise.
11366 * gdb.base/sepdebug.exp: Likewise.
11367 * gdb.base/watch_thread_num.exp: Likewise.
11368 * gdb.linespec/keywords.exp: Likewise.
11369 * gdb.multi/info-threads.exp: Likewise.
11370 * gdb.threads/thread-find.exp: Likewise.
11371 * gdb.multi/tids.c: New file.
11372 * gdb.multi/tids.exp: New file.
11373
113742016-01-13 Pedro Alves <palves@redhat.com>
11375
11376 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
11377
113782016-01-13 Pedro Alves <palves@redhat.com>
11379
11380 * gdb.base/default.exp: Expect $_inferior as well.
11381 * gdb.multi/base.exp: Test $_inferior.
11382
113832016-01-13 Pedro Alves <palves@redhat.com>
11384
11385 PR breakpoints/19388
11386 * gdb.base/catch-signal-siginfo-cond.c: New file.
11387 * gdb.base/catch-signal-siginfo-cond.exp: New file.
11388
113892016-01-12 Josh Stone <jistone@redhat.com>
11390 Philippe Waroquiers <philippe.waroquiers@skynet.be>
11391
11392 * gdb.base/catch-syscall.c (do_execve): New variable.
11393 (main): Conditionally trigger an execve.
11394 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
11395 (test_catch_syscall_execve): New, check entry/return across execve.
11396 (do_syscall_tests): Call test_catch_syscall_execve.
11397
113982016-01-12 Pedro Alves <palves@redhat.com>
11399
11400 * gdb.base/random-signal.exp (do_test): New procedure, with body
11401 of testcase moved in.
11402
114032016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11404 Pedro Alves <palves@redhat.com>
11405
11406 * gdb.base/funcargs.exp (finish from indirectly called function):
11407 Reintroduce the case for 'First'.
11408
114092016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11410 Pedro Alves <palves@redhat.com>
11411
11412 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
11413 (tcatch_vfork_then_child_follow_exec)
11414 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
11415 identification.
11416
114172016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11418
11419 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
11420 and repeats to unlimited.
11421 * gdb.python/py-value.exp: Likewise.
11422 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
11423 and repeats to unlimited.
11424
114252016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11426
11427 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
11428 and reordering the functions.
11429 * gdb.multi/hangout.c: Likewise.
11430 * gdb.multi/hello.c: Likewise.
11431
114322016-01-08 Simon Marchi <simon.marchi@ericsson.com>
11433
11434 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
11435 absolute.
11436 (SingleStatisticTestResult.report): Use dict.keys instead of
11437 dict.iterkeys.
11438
114392016-01-06 Pedro Alves <palves@redhat.com>
11440
11441 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
11442
114432016-01-04 Markus Metzger <markus.t.metzger@intel.com>
11444
11445 * gdb.btrace/dlopen.exp: New.
11446 * gdb.btrace/dlopen.c: New.
11447 * gdb.btrace/dlopen-dso.c: New.
11448
114492015-12-25 Sandra Loosemore <sandra@codesourcery.com>
11450
11451 * lib/gdb.exp (gdb_test): Update comments to clarify that the
11452 PATTERN argument is optional.
11453
114542015-12-24 Joel Brobecker <brobecker@adacore.com>
11455
11456 * lib/ada.exp (target_compile_ada_from_dir): New function.
11457 (gdb_compile_ada): Reimplement avoiding the use of project files.
11458 * gdb.ada/gnat_ada.gpr: Delete.
11459 * gdb.ada/cond_lang.exp: Adjust test to make path before
11460 filename optional.
11461 * gdb.ada/small_reg_param.exp: Likewise.
11462
114632015-12-22 Simon Marchi <simon.marchi@ericsson.com>
11464
11465 * gdb.base/foll-vork.exp: Remove HP-UX special case.
11466
114672015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
11468
11469 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
11470 case.
11471
114722015-12-21 Simon Marchi <simon.marchi@ericsson.com>
11473
11474 * gdb.base/break.exp: Remove dead code.
11475 * gdb.base/sepdebug.exp: Likewise.
11476
114772015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
11478
11479 * gdb.asm/asm-source.exp: Remove HP-UX references.
11480 * gdb.base/annota1.exp: Likewise.
11481 * gdb.base/annota3.exp: Likewise.
11482 * gdb.base/attach.exp: Likewise.
11483 * gdb.base/bigcore.exp: Likewise.
11484 * gdb.base/break.exp: Likewise.
11485 * gdb.base/call-ar-st.exp: Likewise.
11486 * gdb.base/callfuncs.exp: Likewise.
11487 * gdb.base/catch-fork-static.exp: Likewise.
11488 * gdb.base/display.exp: Likewise.
11489 * gdb.base/foll-exec-mode.exp: Likewise.
11490 * gdb.base/foll-exec.exp: Likewise.
11491 * gdb.base/foll-fork.exp: Likewise.
11492 * gdb.base/foll-vfork.exp: Likewise.
11493 * gdb.base/funcargs.exp: Likewise.
11494 * gdb.base/hbreak2.exp: Likewise.
11495 * gdb.base/inferior-died.exp: Likewise.
11496 * gdb.base/interrupt.exp: Likewise.
11497 * gdb.base/multi-forks.exp: Likewise.
11498 * gdb.base/nodebug.exp: Likewise.
11499 * gdb.base/sepdebug.exp: Likewise.
11500 * gdb.base/solib1.c: Likewise.
11501 * gdb.base/step-test.exp: Likewise.
11502 * gdb.mi/non-stop.c: Likewise.
11503 * gdb.mi/pthreads.c: Likewise.
11504 * gdb.multi/bkpt-multi-exec.ex: Likewise.
11505 * gdb.threads/pthreads.c: Likewise.
11506 * gdb.threads/staticthreads.exp: Likewise.
11507 * lib/future.exp: Likewise.
11508 * lib/gdb.exp: Likewise.
11509 * gdb.base/so-indr-cl.c: Remove.
11510 * gdb.base/so-indr-cl.exp: Likewise.
11511 * gdb.base/solib.c: Likewise.
11512 * gdb.base/solib.exp: Likewise.
11513 * gdb.base/solib2.c: Likewise.
11514
115152015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
11516
11517 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
11518 * gdb.base/call-ar-st.exp: Likewise.
11519 * gdb.base/callfuncs.exp: Likewise.
11520 * gdb.base/condbreak.exp: Likewise.
11521 * gdb.base/constvars.exp: Likewise.
11522 * gdb.base/hbreak2.exp: Likewise.
11523 * gdb.base/langs.exp: Likewise.
11524 * gdb.base/list.exp: Likewise.
11525 * gdb.base/long_long.exp: Likewise.
11526 * gdb.base/ptype.exp: Likewise.
11527 * gdb.base/scope.exp: Likewise.
11528 * gdb.base/signals.exp: Likewise.
11529 * gdb.base/so-impl-ld.exp: Likewise.
11530 * gdb.base/varargs.exp: Likewise.
11531 * gdb.base/volatile.exp: Likewise.
11532 * gdb.base/whatis.exp: Likewise.
11533 * gdb.cp/cplusfuncs.exp: Likewise.
11534 * gdb.cp/inherit.exp: Likewise.
11535 * gdb.cp/local.exp: Likewise.
11536 * gdb.cp/member-ptr.exp: Likewise.
11537 * gdb.cp/method.exp: Likewise.
11538 * gdb.cp/overload.exp: Likewise.
11539 * gdb.cp/templates.exp: Likewise.
11540 * gdb.stabs/weird.exp: Likewise.
11541 * lib/compiler.c: Likewise.
11542 * lib/compiler.cc: Likewise.
11543 * lib/cp-support.exp: Likewise.
11544 * lib/gdb.exp: Likewise.
11545
115462015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
11547
11548 * configure.ac: Remove HP-UX case.
11549 * configure: Regenerate.
11550
115512015-12-18 Simon Marchi <simon.marchi@ericsson.com>
11552
11553 * lib/gdb.exp (gdb_compile): Add function doc.
11554
115552015-12-17 Pedro Alves <palves@redhat.com>
11556
11557 PR threads/19354
11558 * gdb.multi/info-threads.exp: New file.
11559
115602015-12-15 Yao Qi <yao.qi@linaro.org>
11561
11562 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
11563 is aarch64*-*-*.
11564
115652015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11566
11567 * gdb.base/history-duplicates.exp: Skip if no readline support.
11568
115692015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11570
11571 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
11572
115732015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11574
11575 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
11576
115772015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11578
11579 * gdb.base/completion.exp: Skip tests that interrupt GDB with
11580 ctrl-C if nointerrupts target property is set.
11581 * gdb.base/double-prompt-target-event-error.exp: Likewise.
11582 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
11583 * gdb.base/paginate-bg-execution.exp: Likewise.
11584 * gdb.base/paginate-execution-startup.exp: Likewise.
11585 * gdb.base/random-signal.exp: Likewise.
11586 * gdb.base/range-stepping.exp: Likewise.
11587 * gdb.cp/annota2.exp: Likewise.
11588 * gdb.cp/annota3.exp: Likewise.
11589 * gdb.gdb/selftest.exp: Likewise.
11590 * gdb.threads/continue-pending-status.exp: Likewise.
11591 * gdb.threads/leader-exit.exp: Likewise.
11592 * gdb.threads/manythreads.exp: Likewise.
11593 * gdb.threads/pthreads.exp: Likewise.
11594 * gdb.threads/schedlock.exp: Likewise.
11595 * gdb.threads/sigthread.exp: Likewise.
11596
115972015-12-11 Don Breazeal <donb@codesourcery.com>
11598
11599 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
11600 remote.
11601 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
11602 * gdb.base/foll-exec.exp (main): Enable for target remote.
11603 * gdb.base/foll-fork.exp (main): Likewise.
11604 * gdb.base/foll-vfork.exp (main): Likewise.
11605 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
11606 (proc continue_to_exit_bp_loc): Use clean_restart.
11607 * gdb.base/pie-execl.exp (main): Disable for target remote.
11608 * gdb.base/watch-vfork.exp (main): Enable for target remote.
11609 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
11610 * gdb.threads/execl.exp (main): Likewise.
11611 * gdb.threads/fork-child-threads.exp (main): Likewise.
11612 * gdb.threads/fork-plus-threads.exp (main): Disable for target
11613 remote.
11614 * gdb.threads/fork-thread-pending.exp (main): Enable for target
11615 remote.
11616 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
11617 pid.tid style ptids, instead of just tid.
11618 * gdb.threads/thread-execl.exp (main): Enable for target remote.
11619 * gdb.threads/watchpoint-fork.exp (main): Likewise.
11620 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
11621 ptids, instead of just tid.
11622
116232015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11624
11625 * gdb.base/list.exp (test_list_forward): Add end of file error
11626 test.
11627 (test_repeat_list_command): Add end of file error test.
11628 (test_list_backwards): Add beginning of file error test.
11629
116302015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11631
11632 * gdb.base/list.exp (test_list_invalid_args): New function,
11633 defined, and called.
11634
116352015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11636
11637 * gdb.base/list.exp (test_list): Make test names unique.
11638
116392015-12-11 Yao Qi <yao.qi@linaro.org>
11640
11641 * gdb.base/coremaker2.c: Remove.
11642
116432015-12-10 Pedro Alves <palves@redhat.com>
11644
11645 * gdb.multi/base.exp: Remove stale "spaces" references.
11646
116472015-12-10 Pedro Alves <palves@redhat.com>
11648
11649 * gdb.multi/base.exp: Don't use nowarnings.
11650 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
11651 * gdb.multi/hangout.c: Include stdio.h.
11652 * gdb.multi/hello.c: Include stdlib.h.
11653 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
11654 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
11655 * gdb.multi/multi-arch.exp: Don't use nowarnings.
11656
116572015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
11658
11659 * gdb.dwarf2/dw2-ranges-base.c: New file.
11660 * gdb.dwarf2/dw2-ranges-base.exp: New file.
11661 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
11662 support additional line table, and debug ranges generation.
11663 (Dwarf::ranges): New function, generate .debug_ranges.
11664 (Dwarf::lines): Support generating simple line table programs.
11665 (Dwarf::assemble): Initialise new namespace variables.
11666
116672015-12-09 Kevin Buettner <kevinb@redhat.com>
11668
11669 * gdb.base/async.exp (proc test_background): Add case for
11670 asynchronous execution not supported.
11671
116722015-12-09 Luis Machado <lgustavo@codesourcery.com>
11673
11674 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
11675 format and change test names to make them unique.
11676
116772015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
11678 Pedro Alves <pedro@redhat.com>
11679
11680 PR gdb/18702
11681 Add checking of floatformats setup on x86_64 hosts.
11682 * gdb.arch/i386-float.S (main): Load bigval and smallval.
11683 (smallval, bigval): New labels/constants.
11684 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
11685 float" after loading bigval and smallval.
11686
116872015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
11688
11689 * gdb.ada/fun_overload_menu.exp: New testcase.
11690 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
11691
116922015-12-04 Josh Stone <jistone@redhat.com>
11693
11694 * gdb.base/catch-fork-static.exp: New.
11695
116962015-12-03 Yao Qi <yao.qi@linaro.org>
11697
11698 * gdb.base/sizeof.c: Don't include stdio.h and
11699 ../lib/unbuffer_output.c.
11700 (main): New variable 'size' and 'value'. Remove printf and
11701 gdb_unbuffer_output. Assign return value to size and value.
11702 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
11703 at the beginning.
11704 (check_sizeof): Check the result by printing variable 'size'.
11705 (check_valueof): Check the result by printing variable 'value'.
11706
117072015-12-01 Yao Qi <yao.qi@linaro.org>
11708
11709 * gdb.base/disp-step-syscall.exp: Define syscall instruction
11710 for aarch64*-*-linux* target.
11711
117122015-11-30 Pedro Alves <palves@redhat.com>
11713
11714 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
11715
117162015-11-30 Pedro Alves <palves@redhat.com>
11717
11718 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
11719 Handle non-stop mode vCont replies.
11720
117212015-11-30 Pedro Alves <palves@redhat.com>
11722
11723 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
11724 prepare_for_testing. Start gdb with "set non-stop on" appended to
11725 GDBFLAGS. Lax expected stop output.
11726
117272015-11-27 Yao Qi <yao.qi@linaro.org>
11728
11729 * gdb.arch/arm-neon.exp: New.
11730 * gdb.arch/arm-neon.c: New.
11731
117322015-11-27 Yao Qi <yao.qi@linaro.org>
11733
11734 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
11735
117362015-11-27 Yao Qi <yao.qi@linaro.org>
11737
11738 * gdb.cp/annota2.exp: Allow multiple occurrences of the
11739 frames-invalid annotation.
11740
117412015-11-27 Yao Qi <yao.qi@linaro.org>
11742
11743 * gdb.cp/annota2.exp: Use ${frames_invalid}.
11744
117452015-11-26 Simon Marchi <simon.marchi@ericsson.com>
11746
11747 * gdb.threads/names.exp: New file.
11748 * gdb.threads/names.c: New file.
11749 * README: Mention gdb,no_thread_names.
11750
117512015-11-26 Markus Metzger <markus.t.metzger@intel.com>
11752
11753 PR 19297
11754 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
11755 support" error.
11756
117572015-11-24 Pedro Alves <palves@redhat.com>
11758
11759 PR 17539
11760 * gdb.base/display.exp: Expect displays to be sorted in ascending
11761 order. Use multi_line.
11762 * gdb.base/solib-display.exp: Likewise.
11763
117642015-11-24 Pedro Alves <palves@redhat.com>
11765
11766 PR 17539
11767 * gdb.base/display.exp: Expect displays to be sorted in ascending
11768 order. Use multi_line.
11769 * gdb.base/solib-display.exp: Likewise.
11770
117712015-11-24 Pedro Alves <palves@redhat.com>
11772
11773 PR 17539
11774 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
11775 threads in ascending order.
11776 * gdb.base/foll-fork.exp: Likewise.
11777 * gdb.base/foll-vfork.exp: Likewise.
11778 * gdb.base/multi-forks.exp: Likewise.
11779 * gdb.mi/mi-nonstop.exp: Likewise.
11780 * gdb.mi/mi-nsintrall.exp: Likewise.
11781 * gdb.multi/base.exp: Likewise.
11782 * gdb.multi/multi-arch.exp: Likewise.
11783 * gdb.python/py-inferior.exp: Likewise.
11784 * gdb.threads/break-while-running.exp: Likewise.
11785 * gdb.threads/execl.exp: Likewise.
11786 * gdb.threads/gcore-thread.exp: Likewise.
11787 * gdb.threads/info-threads-cur-sal.exp: Likewise.
11788 * gdb.threads/kill.exp: Likewise.
11789 * gdb.threads/linux-dp.exp: Likewise.
11790 * gdb.threads/multiple-step-overs.exp: Likewise.
11791 * gdb.threads/next-bp-other-thread.exp: Likewise.
11792 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
11793 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
11794 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
11795 * gdb.threads/thread-find.exp: Likewise.
11796 * gdb.threads/tls.exp: Likewise.
11797 * lib/mi-support.exp (mi_reverse_list): Delete.
11798 (mi_check_thread_states): No longer reverse list.
11799
118002015-11-24 Pedro Alves <palves@redhat.com>
11801
11802 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
11803 use lowercase.
11804
118052015-11-23 Simon Marchi <simon.marchi@ericsson.com>
11806
11807 * gdb.trace/actions.c: Include trace-common.h.
11808 (main): Add a location for a fast tracepoint.
11809 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
11810 the normal tracepoints.
11811 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
11812
118132015-11-23 Simon Marchi <simon.marchi@ericsson.com>
11814
11815 * save-trace.exp: Factor out code to these...
11816 (gdb_save_tracepoints): New.
11817 (gdb_load_tracepoints): New.
11818 (do_save_load_test): New.
11819
118202015-11-23 Kevin Buettner <kevinb@redhat.com>
11821
11822 * gdb.base/asmlabel.exp: New test.
11823 * gdb.base/asmlabel.c: New test case.
11824
118252015-11-23 Joel Brobecker <brobecker@adacore.com>
11826
11827 * gdb.base/wrong_frame_bt_full-main.c: New file.
11828 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
11829 * gdb.base/wrong_frame_bt_full.exp: New file.
11830
118312015-11-23 Joel Brobecker <brobecker@adacore.com>
11832
11833 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
11834
118352015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
11836
11837 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
11838 pstate register when comparing registers values in
11839 sparc64-*-linux-gnu targets to avoid spurious differences.
11840
118412015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
11842
11843 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
11844
118452015-11-19 Sandra Loosemore <sandra@codesourcery.com>
11846
11847 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
11848 as type argument to gdb_compile.
11849 * gdb.base/nested-subp2.exp: Likewise.
11850 * gdb.base/nested-subp3.exp: Likewise.
11851
118522015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
11853
11854 * lib/dwarf.exp (_note): Fix left shift of negative value.
11855 * gdb.trace/trace-condition.exp: Likewise.
11856
118572015-11-13 Yao Qi <yao.qi@linaro.org>
11858
11859 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
11860 comments about d10v.
11861 (test_scalar_returns): Likewise.
11862 * gdb.base/d10v.ld: Remove.
11863 * gdb.base/overlays.exp: Remove the target triplet checking for
11864 d10v-*-*.
11865 * gdb.base/structs.exp (test_struct_returns): Remove the
11866 comments about d10v.
11867 (test_struct_calls): Likewise.
11868
118692015-11-13 Yao Qi <yao.qi@linaro.org>
11870
11871 * gdb.base/gnu_vector.exp: Check the return value by "p res".
11872 * gdb.base/gnu_vector.c: Don't include stdio.h.
11873 (main): Don't print res and call add_some_intvecs.
11874
118752015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
11876
11877 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
11878 macro.
11879 (func5): Removed.
11880 (func4): Use FAST_TRACEPOINT_LABEL.
11881 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
11882 macro.
11883 (func): Removed.
11884 (thread_function): Use FAST_TRACEPOINT_LABEL.
11885 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
11886 (func): Remove.
11887 (marker): Use FAST_TRACEPOINT_LABEL.
11888 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
11889 (pendfunc1): Remove.
11890 (pendfunc): Use FAST_TRACEPOINT_LABEL.
11891 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
11892 (foo): Remove.
11893 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
11894 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
11895 macro.
11896 (func): Remove.
11897 (marker): Use FAST_TRACEPOINT_LABEL.
11898 * gdb.trace/trace-common.h: New header.
11899 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
11900 macro.
11901 (func): Remove.
11902 (marker): Use FAST_TRACEPOINT_LABEL.
11903 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
11904 (func): Remove.
11905 (thread_function): Use FAST_TRACEPOINT_LABEL.
11906
119072015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
11908
11909 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
11910 in front.
11911 * gdb.trace/change-loc.exp: Use global pcreg definition.
11912 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
11913 * gdb.trace/entry-values.exp: Use global spreg definition, add $
11914 in front.
11915 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
11916 * gdb.trace/pending.exp: Likewise.
11917 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
11918 * gdb.trace/trace-break.exp: Likewise.
11919 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
11920 in front.
11921 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
11922 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
11923 in front.
11924 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
11925
119262015-11-09 Joel Brobecker <brobecker@adacore.com>
11927
11928 * gdb.ada/fin_fun_out: New testcase.
11929
119302015-11-07 Kevin Buettner <kevinb@redhat.com>
11931
11932 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
11933 value associated with DW_AT_byte_size.
11934 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
11935 constants for DW_AT_byte_size, DW_AT_lower_bound, and
11936 DW_AT_upper_bound.
11937
119382015-11-07 Kevin Buettner <kevinb@redhat.com>
11939
11940 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
11941 (gdb_target_symbol_prefix_flags): Define in terms of _asm
11942 version.
11943 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
11944 gdb.dwarf2/dw2-canonicalize-type.exp,
11945 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
11946 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
11947 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
11948 provided by gdb_target_symbol_prefix_flags_asm.
11949 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
11950 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
11951 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
11952 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
11953 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
11954 macros where needed). Use this macro for symbols which require
11955 the prefix provided by SYMBOL_PREFIX.
11956
119572015-11-05 Kevin Buettner <kevinb@redhat.com>
11958
11959 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
11960 New procs.
11961 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
11962 representing expressions, of more than one list element.
11963 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
11964 to prepend linker symbol prefix to f.
11965 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
11966 table_1 and table_2.
11967 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
11968 Likewise, for f and g.
11969 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
11970 for ptr.
11971 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
11972 for main.
11973 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
11974 table_1_ptr and table_2_ptr.
11975
119762015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
11977 Joel Brobecker <brobecker@adacore.com>
11978
11979 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
11980
119812015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
11982
11983 * gdb.reverse/s390-mvcle.c: New test.
11984 * gdb.reverse/s390-mvcle.exp: New file.
11985 * lib/gdb.exp: Enable reverse tests on s390*-linux.
11986
119872015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
11988
11989 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
11990
119912015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
11992
11993 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
11994 reaching marker2.
11995 * gdb.reverse/getresuid-reverse.exp: Likewise.
11996 * gdb.reverse/pipe-reverse.exp: Likewise.
11997 * gdb.reverse/readv-reverse.exp: Likewise.
11998 * gdb.reverse/recvmsg-reverse.exp: Likewise.
11999 * gdb.reverse/time-reverse.exp: Likewise.
12000 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
12001
120022015-10-30 Yao Qi <yao.qi@linaro.org>
12003
12004 * gdb.threads/wp-replication.c (watch_count_done): Remove.
12005 (empty_cycle): Remove.
12006 (main): Don't call empty_cycle. Don't use watch_count_done.
12007 * gdb.threads/wp-replication.exp: Don't set breakpoint on
12008 empty_cycle. Rewrite the code counting HW watchpoints.
12009
120102015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
12011
12012 * gdb.reverse/fstatat-reverse.c: New test.
12013 * gdb.reverse/fstatat-reverse.exp: New file.
12014 * gdb.reverse/getresuid-reverse.c: New test.
12015 * gdb.reverse/getresuid-reverse.exp: New file.
12016 * gdb.reverse/pipe-reverse.c: New test.
12017 * gdb.reverse/pipe-reverse.exp: New file.
12018 * gdb.reverse/readv-reverse.c: New test.
12019 * gdb.reverse/readv-reverse.exp: New file.
12020 * gdb.reverse/recvmsg-reverse.c: New test.
12021 * gdb.reverse/recvmsg-reverse.exp: New file.
12022 * gdb.reverse/time-reverse.c: New test.
12023 * gdb.reverse/time-reverse.exp: New file.
12024 * gdb.reverse/waitpid-reverse.c: New test.
12025 * gdb.reverse/waitpid-reverse.exp: New file.
12026
120272015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
12028
12029 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
12030
120312015-10-26 Doug Evans <dje@google.com>
12032
12033 PR symtab/17391
12034 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
12035 * gdb.dwarf2/bad-regnum.c: New file.
12036 * gdb.dwarf2/bad-regnum.exp: New file.
12037
120382015-10-26 Doug Evans <dje@google.com>
12039
12040 PR python/18938
12041 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
12042 file.
12043
120442015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
12045
12046 * gdb.compile/compile.exp (compile code globalvar): Update expectation
12047 for a change by "Mention language in compile error message".
12048
120492015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
12050
12051 PR python/18073
12052 * gdb.python/py-type.c (C::a_method): New.
12053 (C::a_const_method): New.
12054 (C::a_static_method): New.
12055 (a_function): New.
12056 * gdb.python/py-type.exp (test_fields): Test getting fields
12057 from function and method.
12058
120592015-10-21 Keven Boell <keven.boell@intel.com>
12060
12061 * gdb.fortran/vla-alloc-assoc.exp: New file.
12062 * gdb.fortran/vla-datatypes.exp: New file.
12063 * gdb.fortran/vla-datatypes.f90: New file.
12064 * gdb.fortran/vla-history.exp: New file.
12065 * gdb.fortran/vla-ptype-sub.exp: New file.
12066 * gdb.fortran/vla-ptype.exp: New file.
12067 * gdb.fortran/vla-sizeof.exp: New file.
12068 * gdb.fortran/vla-sub.f90: New file.
12069 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
12070 * gdb.fortran/vla-value-sub-finish.exp: New file.
12071 * gdb.fortran/vla-value-sub.exp: New file.
12072 * gdb.fortran/vla-value.exp: New file.
12073 * gdb.fortran/vla-ptr-info.exp: New file.
12074 * gdb.mi/mi-vla-fortran.exp: New file.
12075 * gdb.mi/vla.f90: New file.
12076
120772015-10-21 Sandra Loosemore <sandra@codesourcery.com>
12078
12079 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
12080 of hardwired timeout value.
12081
120822015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12083 Pedro Alves <palves@redhat.com>
12084
12085 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
12086 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
12087
120882015-10-19 Josh Stone <jistone@redhat.com>
12089
12090 * gdb.base/catch-syscall.c: Include <sched.h>.
12091 (unknown_syscall): New variable.
12092 (main): Trigger a vfork and an unknown syscall.
12093 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
12094 (unknown_syscall_number): Likewise.
12095 (check_call_to_syscall): Accept an optional syscall pattern.
12096 (check_return_from_syscall): Likewise.
12097 (check_continue): Likewise.
12098 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
12099 (test_catch_syscall_skipping_return): New test toggling off 'catch
12100 syscall' to step over the syscall return, then toggling back on.
12101 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
12102 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
12103 (do_syscall_tests): Call test_catch_syscall_without_args and
12104 test_catch_syscall_mid_vfork.
12105 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
12106 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
12107
121082015-10-19 Andrew Stubbs <ams@codesourcery.com>
12109
12110 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
12111 print g_vE): Add new pass patterns.
12112 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
12113 print various symbol names for vptr fields.
12114
121152015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
12116
12117 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
12118 results.
12119
121202015-10-12 Yao Qi <yao.qi@linaro.org>
12121
12122 * gdb.arch/disp-step-insn-reloc.exp: New test case.
12123
121242015-10-12 Yao Qi <yao.qi@linaro.org>
12125
12126 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
12127 is aarch64*-*-linux*.
12128
121292015-10-12 Yao Qi <yao.qi@linaro.org>
12130
12131 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
12132 (can_relocate_bcond_true): ... it.
12133 (can_relocate_bcond_false): New function.
12134 (foo): Likewise.
12135 (can_relocate_bl): Likewise.
12136 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
12137 can_relocate_bl.
12138
121392015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
12140
12141 * gdb.base/nested-addr.c: New file.
12142 * gdb.base/nested-addr.exp: New testcase.
12143
121442015-10-09 Markus Metzger <markus.t.metzger@intel.com>
12145
12146 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
12147 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
12148 its output. Ignore the output of "record goto begin" and instead
12149 check that GDB is replaying.
12150
121512015-10-09 Pedro Alves <palves@redhat.com>
12152
12153 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
12154 (top level): Use it in the run with no args test.
12155
121562015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
12157
12158 * gdb.dlang/properties.exp: New file.
12159
121602015-10-02 Sandra Loosemore <sandra@codesourcery.com>
12161
12162 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
12163 whether or not address 0x1000 is mapped on the target.
12164
121652015-09-30 Simon Marchi <simon.marchi@ericsson.com>
12166
12167 * gdb.python/py-type.exp: Do not run tests if binaries fail to
12168 build.
12169
121702015-09-30 Markus Metzger <markus.t.metzger@intel.com>
12171
12172 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
12173 instruction-history test.
12174
121752015-09-28 Doug Evans <dje@google.com>
12176
12177 * gdb.base/gcore.c (array_func): Add reference to static_array.
12178
121792015-09-25 Simon Marchi <simon.marchi@ericsson.com>
12180
12181 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
12182 source line.
12183
121842015-09-24 Sandra Loosemore <sandra@codesourcery.com>
12185
12186 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
12187 short or char as base type.
12188
121892015-09-23 Sandra Loosemore <sandra@codesourcery.com>
12190
12191 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
12192 to allow any size enum.
12193
121942015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
12195
12196 * gdb.ada/array_ptr_renaming.exp: New testcase.
12197 * gdb.ada/array_ptr_renaming/foo.adb: New file.
12198 * gdb.ada/array_ptr_renaming/pack.ads: New file.
12199
122002015-09-21 Pierre Langlois <pierre.langlois@arm.com>
12201
12202 * gdb.trace/ftrace-lock.c: New file.
12203 * gdb.trace/ftrace-lock.exp: New file.
12204
122052015-09-21 Pierre Langlois <pierre.langlois@arm.com>
12206
12207 * gdb.arch/insn-reloc.c: New file.
12208 * gdb.arch/ftrace-insn-reloc.exp: New file.
12209
122102015-09-21 Pierre Langlois <pierre.langlois@arm.com>
12211
12212 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
12213 instruction.
12214 * gdb.trace/pendshr1.c (pendfunc): Likewise.
12215 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
12216 * gdb.trace/range-stepping.c: Likewise.
12217 * gdb.trace/trace-break.c: Likewise.
12218 * gdb.trace/trace-mt.c (thread_function): Likewise.
12219 * gdb.trace/ftrace.c (marker): Likewise.
12220 * gdb.trace/trace-condition.c (marker): Likewise.
12221 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
12222 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
12223 is_aarch64_target.
12224
122252015-09-18 Doug Evans <xdje42@gmail.com>
12226
12227 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
12228 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
12229
122302015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12231
12232 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
12233 the breakpoint.
12234
122352015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12236
12237 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
12238 the pending breakpoint. Remove timeout override for "Run till
12239 MI pending breakpoint on pendfunc3 on thread 2" test.
12240
122412015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12242
12243 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
12244 filename pattern.
12245
122462015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12247
12248 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
12249 in breakpoint filename pattern.
12250
122512015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12252
12253 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
12254
122552015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12256
12257 * gdb.linespec/explicit.exp: Check for readline support for
12258 tab-completion tests. Fix obvious typo.
12259
122602015-09-18 Markus Metzger <markus.t.metzger@intel.com>
12261
12262 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
12263 and replay.
12264
122652015-09-18 Markus Metzger <markus.t.metzger@intel.com>
12266
12267 * gdb.btrace/non-stop.c: New.
12268 * gdb.btrace/non-stop.exp: New.
12269
122702015-09-17 Pierre Langlois <pierre.langlois@arm.com>
12271 Yao Qi <yao.qi@linaro.org>
12272
12273 * gdb.trace/trace-condition.c: New file.
12274 * gdb.trace/trace-condition.exp: New file.
12275
122762015-09-16 Wei-cheng Wang <cole945@gmail.com>
12277
12278 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
12279 for testing bytecode compilation.
12280
122812015-09-16 Pedro Alves <palves@redhat.com>
12282 Sandra Loosemore <sandra@codesourcery.com>
12283
12284 * gdb.threads/non-stop-fair-events.c (timeout): New global.
12285 (SECONDS): Redefine.
12286 (main): Call pthread_kill and alarm early.
12287 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
12288 support.
12289 (test): If the target can't hardware step and doesn't support
12290 displaced stepping, increase the timeout.
12291
122922015-09-16 Pedro Alves <palves@redhat.com>
12293
12294 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
12295 (enable_debug): New procedures.
12296 (test): Use them. Bail out if waiting for threads fails.
12297 (top level): Bail out if a test fails.
12298
122992015-09-16 Yao Qi <yao.qi@linaro.org>
12300
12301 * gdb.asm/asm-source.exp: Set asm-arch for
12302 aarch64*-*-* target.
12303 * gdb.asm/aarch64.inc: New file.
12304
123052015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
12306
12307 * gdb.ada/array_of_variable_length.exp: New testcase.
12308 * gdb.ada/array_of_variable_length/foo.adb: New file.
12309 * gdb.ada/array_of_variable_length/pck.adb: New file.
12310 * gdb.ada/array_of_variable_length/pck.ads: New file.
12311
123122015-09-15 Doug Evans <dje@google.com>
12313
12314 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
12315 of function static local variable.
12316
123172015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
12318
12319 * gdb.threads/tls-so_extern.exp: New test file.
12320 * gdb.threads/tls-so_extern.c: New test file.
12321 * gdb.threads/tls-so_extern_main.c: New test file.
12322
123232015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12324
12325 * gdb.opt/solib-intra-step-lib.c: New file.
12326 * gdb.opt/solib-intra-step-main.c: New file.
12327 * gdb.opt/solib-intra-step.exp: New file.
12328
123292015-09-15 Pedro Alves <palves@redhat.com>
12330
12331 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
12332 gdb_continue_to_breakpoint instead of gdb_test_multiple.
12333
123342015-09-14 Pedro Alves <palves@redhat.com>
12335
12336 * gdb.base/hook-stop-continue.c: Delete.
12337 * gdb.base/hook-stop-continue.exp: Delete.
12338 * gdb.base/hook-stop-frame.c: Delete.
12339 * gdb.base/hook-stop-frame.exp: Delete.
12340 * gdb.base/hook-stop.c: New file.
12341 * gdb.base/hook-stop.exp: New file.
12342
123432015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
12344
12345 * gdb.ada/access_to_packed_array.exp: New testcase.
12346 * gdb.ada/access_to_packed_array/foo.adb: New file.
12347 * gdb.ada/access_to_packed_array/pack.adb: New file.
12348 * gdb.ada/access_to_packed_array/pack.ads: New file.
12349
123502015-09-14 Markus Metzger <markus.t.metzger@intel.com>
12351
12352 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
12353 buffer size test.
12354
123552015-09-11 Don Breazeal <donb@codesourcery.com>
12356
12357 * gdb.base/foll-exec.c: Add copyright header. Fix
12358 formatting issues.
12359 * gdb.base/foll-exec.exp (zap_session): Delete proc.
12360 (do_exec_tests): Use clean_restart in place of zap_session,
12361 and for test initialization. Fix formatting issues. Use
12362 fail in place of perror.
12363 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
12364 an expect statement to match an expression with output from
12365 the program under debug.
12366 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
12367 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
12368 * gdb.threads/non-ldr-exc-2.exp: Likewise.
12369 * gdb.threads/non-ldr-exc-3.exp: Likewise.
12370 * gdb.threads/non-ldr-exc-4.exp: Likewise.
12371
123722015-09-09 Doug Evans <dje@google.com>
12373
12374 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
12375
123762015-09-09 Doug Evans <dje@google.com>
12377
12378 * gdb.base/pie-execl.exp: Fix result test of build_executable.
12379
123802015-09-09 Doug Evans <dje@google.com>
12381
12382 * gdb.base/savedregs.exp: Fix typo.
12383
123842015-09-09 Pedro Alves <palves@redhat.com>
12385
12386 * gdb.mi/mi-cli.exp: Add CLI finish tests.
12387
123882015-09-08 Sandra Loosemore <sandra@codesourcery.com>
12389
12390 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
12391 command actually switches threads. Give up on remaining
12392 tests if target fails to stop at breakpoint.
12393
123942015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
12395
12396 * gdb.ada/funcall_char.exp: New testcase.
12397 * gdb.ada/funcall_char/foo.adb: New file.
12398
123992015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
12400
12401 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
12402 expected outputs. Add two testcases for completing ambiguous
12403 functions.
12404 * gdb.ada/complete/aux_pck.adb: New file.
12405 * gdb.ada/complete/aux_pck.ads: New file.
12406 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
12407 Ambiguous_Func functions.
12408 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
12409 * gdb.ada/complete/pck.adb: Likewise.
12410
124112015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
12412
12413 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
12414 failures to run the test program under GDB.
12415
124162015-08-26 Luis Machado <lgustavo@codesourcery.com>
12417
12418 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
12419 to C.
12420
124212015-08-26 Patrick Palka <patrick@parcs.ath.cx>
12422
12423 * gdb.base/run-after-attach.exp: New test file.
12424 * gdb.base/run-after-attach.c: New test file.
12425
124262015-08-26 Don Breazeal <donb@codesourcery.com>
12427
12428 * gdb.base/foll-exec-2.c: New test program.
12429 * gdb.base/foll-exec-2.exp: New test.
12430
124312015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
12432
12433 * gdb.base/nested-subp1.exp: New file.
12434 * gdb.base/nested-subp1.c: New file.
12435 * gdb.base/nested-subp2.exp: New file.
12436 * gdb.base/nested-subp2.c: New file.
12437 * gdb.base/nested-subp3.exp: New file.
12438 * gdb.base/nested-subp3.c: New file.
12439
124402015-08-24 Pedro Alves <palves@redhat.com>
12441
12442 * gdb.server/connect-without-multi-process.c: New file.
12443 * gdb.server/connect-without-multi-process.exp: New file.
12444
124452015-08-24 Luis Machado <lgustavo@codesourcery.com>
12446
12447 * gdb.opt/inline-markers.c: Make z int.
12448
124492015-08-24 Luis Machado <lgustavo@codesourcery.com>
12450
12451 * gdb.opt/inline-markers.c: Make z volatile.
12452
124532015-08-24 Luis Machado <lgustavo@codesourcery.com>
12454
12455 * gdb.opt/inline-bt.c: New volatile global z.
12456 * gdb.opt/inline-cmds.c: Likewise.
12457 * gdb.opt/inline-locals.c: Likewise.
12458 * gdb.opt/inline-markers.c: New extern global z.
12459 (marker): Use z.
12460 (inline_fn): Likewise.
12461
124622015-08-24 Pedro Alves <palves@redhat.com>
12463
12464 * config/m32r-stub.exp: Remove file.
12465 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
12466 * gdb.base/call-rt-st.exp: Likewise.
12467 * gdb.base/call-strs.exp: Likewise.
12468 * gdb.base/default.exp: Remove references to h8300-*-hms and
12469 *-*-udi*.
12470 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
12471
124722015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
12473
12474 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
12475 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
12476 and "return" use KFAIL when GDB can not read/write the vector
12477 return value.
12478
124792015-08-21 Gary Benson <gbenson@redhat.com>
12480
12481 * gdb.trace/pending.exp: Cope with remote transfer warnings.
12482
124832015-08-20 Pedro Alves <palves@redhat.com>
12484
12485 * gdb.server/solib-list.exp: No longer expect an interior stop in
12486 non-stop mode.
12487
124882015-08-20 Pedro Alves <palves@redhat.com>
12489
12490 * gdb.server/connect-stopped-target.c: New file.
12491 * gdb.server/connect-stopped-target.exp: New file.
12492
124932015-08-20 Pedro Alves <palves@redhat.com>
12494
12495 * gdb.dwarf2/comp-unit-lang.exp: New file.
12496 * gdb.dwarf2/comp-unit-lang.c: New file.
12497
124982015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
12499
12500 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
12501 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
12502
125032015-08-19 Kevin Buettner <kevinb@redhat.com>
12504
12505 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
12506 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
12507
125082015-08-18 Doug Evans <dje@google.com>
12509 Adrian Sendroiu <adrian.sendroiu@freescale.com>
12510
12511 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
12512 skip_python_tests. New arg prompt_regexp.
12513 (skip_python_tests): New function.
12514 * lib/mi-support.exp (mi_skip_python_tests): New function.
12515 * gdb.python/py-mi-objfile-gdb.py: New file.
12516 * gdb.python/py-mi-objfile.c: New file.
12517 * gdb.python/py-mi-objfile.exp: New file.
12518
125192015-08-17 Keith Seitz <keiths@redhat.com>
12520
12521 * gdb.linespec/explicit.exp: Move strace test from here ...
12522 * gdb.trace/strace.exp: ... to here.
12523
125242015-08-15 Patrick Palka <patrick@parcs.ath.cx>
12525
12526 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
12527 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
12528
125292015-08-14 Doug Evans <xdje42@gmail.com>
12530
12531 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
12532 inferior before selecting a new file.
12533
125342015-08-14 Doug Evans <xdje42@gmail.com>
12535
12536 * gdb.mi/mi-disassemble.exp: Update.
12537 * gdb.base/disasm-optim.S: New file.
12538 * gdb.base/disasm-optim.c: New file.
12539 * gdb.base/disasm-optim.h: New file.
12540 * gdb.base/disasm-optim.exp: New file.
12541
125422015-08-14 Keith Seitz <keiths@redhat.com>
12543
12544 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
12545 "evaluated-by".
12546
125472015-08-13 Joel Brobecker <brobecker@adacore.com>
12548
12549 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
12550
125512015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
12552
12553 * gdb.ada/fun_renaming.exp: New testcase.
12554 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
12555 * gdb.ada/fun_renaming/pack.adb: New file.
12556 * gdb.ada/fun_renaming/pack.ads: New file.
12557
125582015-08-12 Keith Seitz <keiths@redhat.com>
12559
12560 * gdb.base/dso2dso.exp: Pass basename of source file in call to
12561 gdb_get_line_number.
12562
125632015-08-12 Joel Brobecker <brobecker@adacore.com>
12564
12565 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
12566 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
12567 gdb.base/dso2dso.exp: New files.
12568
125692015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
12570 Pedro Alves <palves@redhat.com>
12571 Keith Seitz <keiths@redhat.com>
12572
12573 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
12574 GDBFLAGS.
12575
125762015-08-12 Patrick Palka <patrick@parcs.ath.cx>
12577
12578 * gdb.base/gdbhistsize-history.exp
12579 (test_histsize_history_setting): Use save_vars.
12580 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
12581 Use save_vars.
12582 (test_no_truncation_of_unlimited_history_file): Use save_vars.
12583 * gdb.base/readline.exp: Use save_vars.
12584
125852015-08-12 Patrick Palka <patrick@parcs.ath.cx>
12586
12587 * lib/gdb.exp (save_vars): New proc.
12588
125892015-08-11 Keith Seitz <keiths@redhat.com>
12590
12591 * gdb.base/help.exp: Update help_breakpoint_text.
12592
125932015-08-11 Keith Seitz <keiths@redhat.com>
12594
12595 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
12596 (at toplevel): Call test_explicit_breakpoints.
12597 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
12598 breakpoints.
12599 * lib/mi-support.exp (mi_make_breakpoint): Add support for
12600 breakpoint conditions, "-cond".
12601
126022015-08-11 Keith Seitz <keiths@redhat.com>
12603
12604 * gdb.linespec/3explicit.c: New file.
12605 * gdb.linespec/cpexplicit.cc: New file.
12606 * gdb.linespec/cpexplicit.exp: New file.
12607 * gdb.linespec/explicit.c: New file.
12608 * gdb.linespec/explicit.exp: New file.
12609 * gdb.linespec/explicit2.c: New file.
12610 * gdb.linespec/ls-errs.exp: Add explicit location tests.
12611 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
12612 before using in the matching pattern.
12613 Clarify that `prefix' is a regular expression.
12614
126152015-08-11 Keith Seitz <keiths@redhat.com>
12616
12617 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
12618 test.
12619 Add tests for missing ",FMT" and ",".
12620
126212015-08-10 Doug Evans <dje@google.com>
12622 Keith Seitz <keiths@redhat.com>
12623
12624 PR gdb/17960
12625 * gdb.base/completion.exp: Add location completer tests.
12626
126272015-08-07 Pedro Alves <palves@redhat.com>
12628
12629 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
12630 tests here.
12631 (top level): Run do_test with and without displaced stepping.
12632
126332015-08-07 Pedro Alves <palves@redhat.com>
12634
12635 * gdb.base/valgrind-disp-step.c: New file.
12636 * gdb.base/valgrind-disp-step.exp: New file.
12637
126382015-08-07 Pedro Alves <palves@redhat.com>
12639
12640 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
12641 Delete function.
12642 (main): Add alarm. Run an infinite loop instead of calling
12643 wait_threads.
12644 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
12645 comment.
12646 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
12647 Delete function.
12648 (main): Add alarm. Run an infinite loop instead of calling
12649 wait_threads.
12650 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
12651 comment.
12652
126532015-08-07 Pedro Alves <palves@redhat.com>
12654
12655 * gdb.base/checkpoint-ns.exp: New file.
12656 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
12657 standard_testfile.
12658
126592015-08-07 Markus Metzger <markus.t.metzger@intel.com>
12660
12661 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
12662 * gdb.btrace/instruction_history.exp: Update.
12663 * gdb.btrace/tsx.exp: New.
12664 * gdb.btrace/tsx.c: New.
12665
126662015-08-06 Pedro Alves <palves@redhat.com>
12667
12668 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
12669 increase timeout.
12670 * gdb.reverse/until-precsave.exp: Bump timeouts.
12671
126722015-08-06 Pedro Alves <palves@redhat.com>
12673
12674 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
12675
126762015-08-06 Pedro Alves <palves@redhat.com>
12677
12678 PR gdb/18749
12679 * gdb.threads/process-dies-while-handling-bp.c: New file.
12680 * gdb.threads/process-dies-while-handling-bp.exp: New file.
12681
126822015-08-06 Pedro Alves <palves@redhat.com>
12683
12684 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
12685 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
12686
126872015-08-05 Pedro Alves <palves@redhat.com>
12688
12689 * gdb.threads/next-while-other-thread-longjmps.c: New file.
12690 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
12691
126922015-08-03 Sandra Loosemore <sandra@codesourcery.com>
12693
12694 * gdb.base/bp-permanent.exp: Report test as unsupported if
12695 the target cannot stop at the permanent breakpoint.
12696
126972015-08-03 Doug Evans <dje@google.com>
12698
12699 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
12700 10000.
12701
127022015-08-03 Doug Evans <dje@google.com>
12703
12704 * Makefile.in (workers/%.worker, build-perf): New rule.
12705 (GDB_PERFTEST_MODE): New variable.
12706 (check-perf): Use it.
12707 (clean): Clean up gdb.perf parallel build subdirs.
12708 * lib/build-piece.exp: New file.
12709 * lib/gdb.exp (make_gdb_parallel_path): New function
12710 (standard_output_file, standard_temp_file): Call it.
12711 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
12712 of $GDB_PARALLEL.
12713 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
12714
127152015-08-03 Doug Evans <dje@google.com>
12716
12717 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
12718 (LOG_FILE_NAME): New global.
12719 (TextReporter.__init__): Initialize self.txt_sum.
12720 (TextReporter.report): Add support for multiple data-points.
12721 Move report to perftest.sum, put raw data in perftest.log.
12722 (TextReporter.start): Open sum and log files.
12723 (TextReporter.end): Close sum and log files.
12724 * gdb.perf/lib/perftest/testresult.py
12725 (SingleStatisticTestResult.record): Handle multiple data-points.
12726
127272015-07-31 Pedro Alves <palves@redhat.com>
12728
12729 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
12730 Use spawn_id_get_pid. Wait for spawn id after eof. Use
12731 kill_wait_spawned_process instead of explicit "kill -9".
12732 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
12733 returning a spawn id instead of a pid. Use spawn_id_get_pid and
12734 kill_wait_spawned_process.
12735 * gdb.base/attach-twice.exp: Likewise.
12736 * gdb.base/attach.exp: Likewise.
12737 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
12738 gdb_test_multiple.
12739 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
12740 returning a spawn id instead of a pid. Use spawn_id_get_pid and
12741 kill_wait_spawned_process.
12742 * gdb.base/valgrind-infcall.exp: Likewise.
12743 * gdb.multi/multi-attach.exp: Likewise.
12744 * gdb.python/py-prompt.exp: Likewise.
12745 * gdb.python/py-sync-interp.exp: Likewise.
12746 * gdb.server/ext-attach.exp: Likewise.
12747 * gdb.threads/attach-into-signal.exp (corefunc): Use
12748 spawn_wait_for_attach, spawn_id_get_pid and
12749 kill_wait_spawned_process.
12750 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
12751 spawn_wait_for_attach returning a spawn id instead of a pid. Use
12752 spawn_id_get_pid and kill_wait_spawned_process.
12753 * gdb.threads/attach-stopped.exp (corefunc): Use
12754 spawn_wait_for_attach, spawn_id_get_pid and
12755 kill_wait_spawned_process.
12756 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
12757 Use spawn_id_get_pid. Wait for spawn id after eof. Use
12758 kill_wait_spawned_process instead of explicit "kill -9".
12759 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
12760 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
12761 (spawn_wait_for_attach): Use spawn instead of exec to spawn
12762 processes. Don't map cygwin/windows pids here. Now returns a
12763 spawn id list.
12764
127652015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12766
12767 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
12768 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
12769 correct patch.
12770
127712015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12772
12773 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
12774
127752015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12776
12777 Reapply:
12778 2014-05-21 Mark Wielaard <mjw@redhat.com>
12779
12780 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
12781
127822015-07-30 Pedro Alves <palves@redhat.com>
12783
12784 * linux-low.c (handle_extended_wait): Set the child's last
12785 reported status to TARGET_WAITKIND_STOPPED.
12786
127872015-07-30 Pedro Alves <palves@redhat.com>
12788
12789 PR threads/18600
12790 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
12791 only shows inferior 1.
12792
127932015-07-30 Simon Marchi <simon.marchi@ericsson.com>
12794 Pedro Alves <palves@redhat.com>
12795
12796 PR threads/18600
12797 * gdb.threads/fork-plus-threads.c: New file.
12798 * gdb.threads/fork-plus-threads.exp: New file.
12799
128002015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12801
12802 * gdb.base/batch-preserve-term-settings.exp
12803 (test_terminal_settings_preserved_after_cli_exit): Use
12804 send_quit_command.
12805
128062015-07-29 Pedro Alves <palves@redhat.com>
12807 Don Breazeal <donb@codesourcery.com>
12808
12809 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
12810 output from both inferior_spawn_id and gdb_spawn_id.
12811
128122015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
12813
12814 * gdb.threads/attach-into-signal.exp (corefunc): Use
12815 with_test_prefix on nested loops, uniquefying the test messages.
12816
128172015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
12818
12819 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
12820 commit.
12821
128222015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12823
12824 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
12825 New proc.
12826 (test_terminal_settings_preserved_after_sigterm): New test.
12827
128282015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12829
12830 * gdb.base/batch-preserve-term-settings.exp
12831 (test_terminal_settings_preserved_after_cli_exit): New test.
12832
128332015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12834
12835 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
12836 manipulation of saved_gdbflags.
12837 (test_terminal_settings_preserved): Remove global declaration of
12838 the unused variable pagination_prompt. Remove manipulation of
12839 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
12840 GDBFLAGS.
12841
128422015-07-29 Pedro Alves <palves@redhat.com>
12843
12844 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
12845
128462015-07-29 Pedro Alves <palves@redhat.com>
12847
12848 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
12849 at the top.
12850
128512015-07-29 Pedro Alves <palves@redhat.com>
12852
12853 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
12854 (main): Call gdb_unbuffer_output.
12855 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
12856 (main): Call gdb_unbuffer_output.
12857 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
12858 (main): Call gdb_unbuffer_output.
12859 * gdb.base/call-strs.exp: Adjust to step over the
12860 gdb_unbuffer_output call.
12861 * gdb.base/catch-gdb-caused-signals.c: Include
12862 "../lib/unbuffer_output.c".
12863 (main): Call gdb_unbuffer_output.
12864 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
12865 (main): Call gdb_unbuffer_output.
12866 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
12867 (main): Call gdb_unbuffer_output.
12868 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
12869 (main): Call gdb_unbuffer_output.
12870 * gdb.base/shlib-call.exp: Adjust to step over the
12871 gdb_unbuffer_output call.
12872 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
12873 (main): Call gdb_unbuffer_output.
12874 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
12875 (main): Call gdb_unbuffer_output.
12876 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
12877 (main): Rename to ...
12878 (test): ... this.
12879 (main): Reimplement.
12880 * gdb.base/varargs.exp: Run to test instead of to main.
12881 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
12882 (main): Call gdb_unbuffer_output.
12883
128842015-07-29 Pedro Alves <palves@redhat.com>
12885
12886 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
12887 factore out from mi_continue_dprintf. For call-style dprintfs,
12888 expect dprintf output out of $inferior_spawn_id.
12889 (mi_continue_dprintf): Use mi_expect_dprintf.
12890 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
12891 (main): Call gdb_unbuffer_output.
12892
128932015-07-29 Pedro Alves <palves@redhat.com>
12894
12895 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
12896 (default_mi_gdb_start): Set inferior_spawn_id instead of
12897 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
12898 gdb_spawn_id.
12899 (mi_gdb_test): Always expect inferior output from both
12900 $inferior_spawn_id and $gdb_spawn_id.
12901
129022015-07-29 Pedro Alves <palves@redhat.com>
12903
12904 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
12905 send_inferior and $inferior_spawn_id.
12906
129072015-07-29 Pedro Alves <palves@redhat.com>
12908
12909 * gdb.gdb/complaints.exp (test_initial_complaints)
12910 (test_serial_complaints, test_short_complaints): Use
12911 gdb_test_stdio.
12912 (test_empty_complaint): Handle $inferior_spawn_id !=
12913 $gdb_spawn_id.
12914
129152015-07-29 Pedro Alves <palves@redhat.com>
12916
12917 * gdb.base/varargs.exp: Use gdb_test_stdio.
12918
129192015-07-29 Pedro Alves <palves@redhat.com>
12920
12921 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
12922
129232015-07-29 Pedro Alves <palves@redhat.com>
12924
12925 * gdb.base/ending-run.exp: Use gdb_test_stdio.
12926
129272015-07-29 Pedro Alves <palves@redhat.com>
12928
12929 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
12930 parameter into two new parameters, "inf_result" and "gdb_result".
12931 Expect inferior output and gdb output from $inferior_spawn_id and
12932 $gdb_spawn_id, respectively. Adjust all callers.
12933
129342015-07-29 Pedro Alves <palves@redhat.com>
12935
12936 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
12937 of gdb_test_sequence.
12938
129392015-07-29 Pedro Alves <palves@redhat.com>
12940
12941 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
12942 (saw_spurious_output): Expect inferior output from
12943 $inferior_spawn_id. Use gdb_test_stdio.
12944
129452015-07-29 Pedro Alves <palves@redhat.com>
12946
12947 * gdb.base/dprintf.exp: Use standard_testfile. Change
12948 prepare_for_testing call.
12949 (srcfile): Don't set.
12950 (restart): New procedure.
12951 (test_dprintf): New procecure, use to continue over dprintfs.
12952 (test_call, test_agent): New procedures, tests moved here.
12953 Restart gdb and recreate dprintfs. Adjust expected output.
12954
129552015-07-29 Pedro Alves <palves@redhat.com>
12956
12957 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
12958
129592015-07-29 Pedro Alves <palves@redhat.com>
12960
12961 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
12962
129632015-07-29 Pedro Alves <palves@redhat.com>
12964
12965 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
12966 gdb_test_stdio.
12967
129682015-07-29 Pedro Alves <palves@redhat.com>
12969
12970 * lib/gdb.exp (gdb_test_stdio): New procedure.
12971
129722015-07-29 Pedro Alves <palves@redhat.com>
12973
12974 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
12975
129762015-07-29 Pedro Alves <palves@redhat.com>
12977
12978 * gdb.base/call-signal-resume.exp: Remove check for
12979 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
12980 * gdb.base/unwindonsignal.exp: Likewise.
12981 * gdb.base/call-signals.c (gen_signal): Remove printf call.
12982 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
12983
129842015-07-29 Pedro Alves <palves@redhat.com>
12985
12986 * gdb.base/siginfo-addr.c (pass): New function.
12987 (handler): Call it iff si_addr is correct.
12988 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
12989 Set a breakpoint at "pass" and continue to it.
12990
129912015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
12992
12993 * gdb.python/py-objfile.exp: Make some tests have unique names.
12994 * gdb.python/py-pp-registration.exp: Likewise.
12995
129962015-07-28 Pedro Alves <palves@redhat.com>
12997
12998 * gdb.server/server-exec-info.exp: Issue a "disconnect".
12999
130002015-07-27 Simon Marchi <simon.marchi@ericsson.com>
13001
13002 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
13003
130042015-07-27 Simon Marchi <simon.marchi@ericsson.com>
13005
13006 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
13007
130082015-07-27 Patrick Palka <patrick@parcs.ath.cx>
13009
13010 * gdb.base/gdb-sigterm-2.exp: New test.
13011
130122015-07-25 Doug Evans <xdje42@gmail.com>
13013
13014 Revert:
13015 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
13016 (workers/%.worker, build-perf): New rule.
13017 (GDB_PERFTEST_MODE): New variable.
13018 (check-perf): Use it.
13019 (clean): Clean up gdb.perf parallel build subdirs.
13020 * lib/build-piece.exp: New file.
13021 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
13022 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
13023 name.
13024 (standard_temp_file): Ditto.
13025 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
13026 of $GDB_PARALLEL.
13027
130282015-07-24 Doug Evans <dje@google.com>
13029
13030 * gdb.perf/lib/perftest/utils.py: New file.
13031 * gdb.perf/gm-hello.cc: New file.
13032 * gdb.perf/gm-pervasive-typedef.cc: New file.
13033 * gdb.perf/gm-pervasive-typedef.h: New file.
13034 * gdb.perf/gm-std.cc: New file.
13035 * gdb.perf/gm-std.h: New file.
13036 * gdb.perf/gm-use-cerr.cc: New file.
13037 * gdb.perf/gm-utils.h: New file.
13038 * gdb.perf/gmonster-null-lookup.py: New file.
13039 * gdb.perf/gmonster-pervasive-typedef.py: New file.
13040 * gdb.perf/gmonster-print-cerr.py: New file.
13041 * gdb.perf/gmonster-ptype-string.py: New file.
13042 * gdb.perf/gmonster-runto-main.py: New file.
13043 * gdb.perf/gmonster-select-file.py: New file.
13044 * gdb.perf/gmonster1-null-lookup.exp: New file.
13045 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
13046 * gdb.perf/gmonster1-print-cerr.exp: New file.
13047 * gdb.perf/gmonster1-ptype-string.exp: New file.
13048 * gdb.perf/gmonster1-runto-main.exp: New file.
13049 * gdb.perf/gmonster1-select-file.exp: New file.
13050 * gdb.perf/gmonster1.cc: New file.
13051 * gdb.perf/gmonster1.exp: New file.
13052 * gdb.perf/gmonster2-null-lookup.exp: New file.
13053 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
13054 * gdb.perf/gmonster2-print-cerr.exp: New file.
13055 * gdb.perf/gmonster2-ptype-string.exp: New file.
13056 * gdb.perf/gmonster2-runto-main.exp: New file.
13057 * gdb.perf/gmonster2-select-file.exp: New file.
13058 * gdb.perf/gmonster2.cc: New file.
13059 * gdb.perf/gmonster2.exp: New file.
13060
130612015-07-24 Doug Evans <dje@google.com>
13062
13063 * gdb.perf/README: New file.
13064 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
13065 * lib/gen-perf-test.exp: New file.
13066
130672015-07-24 Doug Evans <dje@google.com>
13068
13069 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
13070 (PerfTest::startup): New function.
13071 (PerfTest::run): Return result of calling body.
13072 (PerfTest::assemble): Rewrite.
13073 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
13074 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
13075 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
13076 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
13077 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
13078
130792015-07-24 Doug Evans <dje@google.com>
13080
13081 * lib/gdb.exp (clean_restart): Make executable optional.
13082
130832015-07-24 Doug Evans <dje@google.com>
13084
13085 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
13086 compiler_info references.
13087 * gdb.cp/temargs.exp: Ditto.
13088 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
13089 (get_compiler_info): Early exit if already computed. Set compiler_info
13090 to "unknown" if there was a problem.
13091 (test_compiler_info): Add function comment. Call get_compiler_info.
13092
130932015-07-24 Doug Evans <dje@google.com>
13094
13095 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
13096 (workers/%.worker, build-perf): New rule.
13097 (GDB_PERFTEST_MODE): New variable.
13098 (check-perf): Use it.
13099 (clean): Clean up gdb.perf parallel build subdirs.
13100 * lib/build-piece.exp: New file.
13101 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
13102 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
13103 name.
13104 (standard_temp_file): Ditto.
13105 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
13106 of $GDB_PARALLEL.
13107
131082015-07-24 Doug Evans <dje@google.com>
13109
13110 * lib/future.exp (gdb_default_target_compile): New option
13111 "early_flags".
13112 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
13113 --as-needed.
13114
131152015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
13116
13117 * gdb.base/catch-syscall.exp: Call gdb_exit before
13118 gdb_skip_xml_test.
13119
131202015-07-24 Pedro Alves <palves@redhat.com>
13121
13122 * gdb.python/py-events.exp: Accept output between the stop event
13123 and the prompt.
13124 * gdb.python/py-evsignal.exp: Likewise.
13125 * gdb.python/py-evthreads.exp: Likewise.
13126
131272015-07-24 Pedro Alves <palves@redhat.com>
13128
13129 PR gdb/18717
13130 * gdb.threads/non-ldr-exit.c: New file.
13131 * gdb.threads/non-ldr-exit.exp: New file.
13132
131332015-07-24 Yao Qi <yao.qi@linaro.org>
13134
13135 * gdb.server/ext-wrapper.exp: Test --wrapper option when
13136 restarting process.
13137
131382015-07-24 Yao Qi <yao.qi@linaro.org>
13139
13140 * gdb.server/ext-restart.exp: New file.
13141
131422015-07-24 Yao Qi <yao.qi@linaro.org>
13143
13144 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
13145 argument options.
13146 * gdb.server/ext-wrapper.exp: New file.
13147
131482015-07-23 Doug Evans <dje@google.com>
13149
13150 * gdb.dwarf2/dw2-dummy-cu.S: New file.
13151 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
13152
131532015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
13154
13155 * gdb.ada/var_arr_typedef.exp: New testcase.
13156 * gdb.ada/var_arr_typedef/pack.adb: New file.
13157 * gdb.ada/var_arr_typedef/pack.ads: New file.
13158 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
13159
131602015-07-20 Joel Brobecker <brobecker@adacore.com>
13161
13162 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
13163
131642015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13165
13166 * gdb.arch/i386-biarch-core.exp: Replace istarget
13167 by "complete set gnutarget". Remove expectation for the "core-file"
13168 command.
13169
131702015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13171
13172 Revert the previous commit:
13173 Tests for validate symbol file using build-id.
13174
131752015-07-15 Aleksandar Ristovski <aristovski@qnx.com
13176
13177 Tests for validate symbol file using build-id.
13178 * gdb.base/solib-mismatch-lib.c: New file.
13179 * gdb.base/solib-mismatch-libmod.c: New file.
13180 * gdb.base/solib-mismatch.c: New file.
13181 * gdb.base/solib-mismatch.exp: New file.
13182
131832015-07-15 Sandra Loosemore <sandra@codesourcery.com>
13184
13185 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
13186 nios2-*-linux*.
13187 * gdb.base/sigbpt.exp (stepi_out): Likewise.
13188 * gdb.base/siginfo.exp: Likewise.
13189 * gdb.base/sigstep.exp (advance, advancei): Likewise.
13190
131912015-07-15 Pierre Langlois <pierre.langlois@arm.com>
13192
13193 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
13194 Move it to ...
13195 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
13196 ... here.
13197 * gdb.trace/range-stepping.exp: Check that the target supports
13198 range stepping.
13199
132002015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13201
13202 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
13203
132042015-07-14 Pedro Alves <palves@redhat.com>
13205
13206 * gdb.base/killed-outside.exp: New file.
13207 * gdb.base/killed-outside.c: New file.
13208
132092015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
13210
13211 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
13212 (n at main): New.
13213 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
13214
132152015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
13216
13217 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
13218 infcall tests instead of setting up for KFAIL.
13219
132202015-07-10 Markus Metzger <markus.t.metzger@intel.com>
13221
13222 * gdb.btrace/record_goto-step.exp: New.
13223
132242015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13225
13226 PR compile/18484
13227 * gdb.compile/compile.c (struct struct_type): Add volatile to
13228 selffield's type.
13229 * gdb.compile/compile.exp
13230 (compile code struct_object.selffield = &struct_object): Skip further
13231 struct_object tests if this one xfails.
13232
132332015-07-08 Robert O'Callahan <robert@ocallahan.org>
13234
13235 PR exp/18617
13236 * gdb.trace/ax.exp: Add test.
13237
132382015-07-07 Yao Qi <yao.qi@linaro.org>
13239
13240 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
13241 instead of istarget "aarch64*-*-*".
13242 * gdb.arch/aarch64-fp.exp: Likewise.
13243 * gdb.base/float.exp: Likewise.
13244 * gdb.reverse/aarch64.exp: Likewise.
13245 * lib/gdb.exp (is_aarch64_target): New proc.
13246
132472015-07-07 Yao Qi <yao.qi@linaro.org>
13248
13249 * lib/gdb.exp (is_aarch32_target): New proc.
13250 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
13251 instead of "istarget "arm*-*-*"".
13252 * gdb.arch/arm-disp-step.exp: Likewise.
13253 * gdb.arch/thumb-bx-pc.exp: Likewise.
13254 * gdb.arch/thumb-prologue.exp: Likewise.
13255 * gdb.arch/thumb-singlestep.exp: Likewise.
13256 * gdb.base/disp-step-syscall.exp: Likewise.
13257 * gdb.base/float.exp: Likewise.
13258
132592015-07-07 Yao Qi <yao.qi@linaro.org>
13260
13261 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
13262 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
13263
132642015-07-07 Yao Qi <yao.qi@linaro.org>
13265
13266 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
13267 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
13268 if it exists.
13269 * gdb.multi/multi-arch.exp: Likewise.
13270
132712015-07-07 Simon Marchi <simon.marchi@ericsson.com>
13272
13273 * gdb.python/py-lazy-string.exp: Add missing parentheses to
13274 print.
13275
132762015-07-07 Yao Qi <yao.qi@linaro.org>
13277
13278 * gdb.arch/thumb-singlestep.exp: Do one more single step.
13279
132802015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
13281
13282 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
13283 '[' and ']' characters.
13284
132852015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
13286
13287 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
13288
132892015-06-29 Pedro Alves <palves@redhat.com>
13290
13291 PR threads/18127
13292 * gdb.threads/hand-call-new-thread.c: New file.
13293 * gdb.threads/hand-call-new-thread.c: New file.
13294
132952015-06-26 Keith Seitz <keiths@redhat.com>
13296 Doug Evans <dje@google.com>
13297
13298 PR 16253
13299 * gdb.cp/var-tag-2.cc: New file.
13300 * gdb.cp/var-tag-3.cc: New file.
13301 * gdb.cp/var-tag-4.cc: New file.
13302 * gdb.cp/var-tag.cc: New file.
13303 * gdb.cp/var-tag.exp: New file.
13304
133052015-06-26 Patrick Palka <patrick@parcs.ath.cx>
13306
13307 * gdb.base/history-duplicates.exp: New test.
13308
133092015-06-26 Patrick Palka <patrick@parcs.ath.cx>
13310
13311 * gdb.base/completion.exp: Test the completion of the "focus"
13312 command.
13313
133142015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13315
13316 * gdb.arch/amd64-prologue-skip.S: New file.
13317 * gdb.arch/amd64-prologue-skip.exp: New file.
13318
133192015-06-25 Simon Marchi <simon.marchi@ericsson.com>
13320
13321 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
13322 is_address_zero_readable check.
13323
133242015-06-24 Peter Bergner <bergner@vnet.ibm.com>
13325
13326 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
13327 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
13328
133292015-06-24 Yao Qi <yao.qi@linaro.org>
13330
13331 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
13332 linux targets.
13333
133342015-06-24 Yao Qi <yao.qi@linaro.org>
13335
13336 * lib/gdb.exp (supports_get_siginfo_type): New proc.
13337 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
13338 * gdb.base/siginfo-thread.exp: Likewise.
13339
133402015-06-22 Yao Qi <yao.qi@linaro.org>
13341
13342 * boards/remote-gdbserver-on-localhost.exp: Add comments.
13343
133442015-06-22 Yao Qi <yao.qi@linaro.org>
13345
13346 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
13347 aarch64*-*-*.
13348 (skip_hw_watchpoint_tests): Likewise.
13349
133502015-06-18 Patrick Palka <patrick@parcs.ath.cx>
13351
13352 * gdb.base/gdbinit-history.exp: Test the interaction between
13353 setting GDBHISTSIZE and setting the history size via .gdbinit.
13354
133552015-06-17 Patrick Palka <patrick@parcs.ath.cx>
13356
13357 PR gdb/16999
13358 * gdb.base/gdbhistsize-history.exp: New test.
13359
133602015-06-17 Patrick Palka <patrick@parcs.ath.cx>
13361
13362 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
13363 with GDBHISTSIZE.
13364 * gdb.base/readline.exp: Likewise.
13365
133662015-06-17 Yao Qi <yao.qi@linaro.org>
13367
13368 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
13369 line.
13370
133712015-06-17 Patrick Palka <patrick@parcs.ath.cx>
13372
13373 * gdb.base/gdbinit-history.exp: Add test case to check that
13374 an unlimited history file does not get truncated on exit.
13375
133762015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
13377
13378 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
13379 (VECTOR): New macro. Use it...
13380 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
13381 ...for these typedefs.
13382 (int8, char1, int1, double1): New typedefs.
13383 (struct just_int2, struct two_int2): New structures.
13384 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
13385 (add_structvecs, add_singlevecs): New functions.
13386 (main): Call add_some_intvecs twice.
13387 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
13388 the compile and exit upon failure. Try compiling for the "native"
13389 architecture. Test inferior function calls with vector arguments
13390 and vector return value handling with "finish" and "return".
13391
133922015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
13393
13394 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
13395 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
13396 PE file.
13397 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
13398
133992015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
13400
13401 PR breakpoints/16465
13402 * gdb.mi/mi-dprintf-pending.c: New file.
13403 * gdb.mi/mi-dprintf-pending.exp: New test.
13404 * gdb.mi/mi-dprintf-pendshr.c: New file.
13405
134062015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13407 Mircea Gherzan <mircea.gherzan@intel.com>
13408
13409 * gdb.arch/i386-mpx-map.c: New file.
13410 * gdb.arch/i386-mpx-map.exp: New File.
13411
134122015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13413
13414 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
13415 * gdb.arch/i386-mpx.exp: Indentation fixed.
13416
134172015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13418
13419 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
13420 function and improved indentation.
13421 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
13422 gdb_test_multiple. Added additional tests to skip the test.
13423
134242015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13425
13426 * gdb.arch/i386-avx512.c: Change path in include file.
13427 * gdb.arch/i386-avx512.exp: Change include dir path
13428 compilation flag.
13429 * gdb.arch/i386-mpx.c: Change path in include file.
13430 * gdb.arch/i386-mpx.exp: Change include dir path compilation
13431 flag.
13432
134332015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
13434
13435 * gdb.compile/compile-print.exp (compile print *vararray@3)
13436 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
13437
134382015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
13439
13440 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
13441 (do not keep jit in memory): ... this.
13442 (expect 5): Change it to ...
13443 (expect no 5): ... this.
13444
134452015-06-02 Simon Marchi <simon.marchi@ericsson.com>
13446
13447 PR gdb/15564
13448 * gdb.mi/mi-detach.exp: New file.
13449
134502015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
13451
13452 PR symtab/18392
13453 * gdb.arch/amd64-tailcall-self.S: New file.
13454 * gdb.arch/amd64-tailcall-self.c: New file.
13455 * gdb.arch/amd64-tailcall-self.exp: New file.
13456
134572015-05-28 Don Breazeal <donb@codesourcery.com>
13458
13459 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
13460 tests for remote targets by checking is_target_gdbserver.
13461
134622015-05-27 Doug Evans <dje@google.com>
13463
13464 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
13465 * gdb.dwarf2/opaque-type-lookup.c: New file.
13466 * gdb.dwarf2/opaque-type-lookup.exp: New file.
13467
134682015-05-26 Doug Evans <dje@google.com>
13469
13470 * gdb.cp/iostream.cc: New file.
13471 * gdb.cp/iostream.exp: New file.
13472
134732015-05-26 Doug Evans <dje@google.com>
13474
13475 * gdb.dwarf2/dw2-op-call.exp: Update.
13476 * gdb.dwarf2/dw4-sig-types.exp: Update.
13477 * gdb.dwarf2/implptr.exp: Update.
13478 * gdb.mi/mi-cmd-param-changed.exp: Update.
13479
134802015-05-26 Doug Evans <dje@google.com>
13481
13482 * gdb.python/py-lazy-string.c: New file.
13483 * gdb.python/py-lazy-string.exp: New file.
13484 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
13485 (main): Update. Add estring3.
13486 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
13487 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
13488
134892015-05-26 Omair Javaid <omair.javaid@linaro.org>
13490 Yao Qi <yao.qi@linaro.org>
13491
13492 * gdb.reverse/aarch64.c: New.
13493 * gdb.reverse/aarch64.exp: New.
13494
134952015-05-26 Omair Javaid <omair.javaid@linaro.org>
13496
13497 * lib/gdb.exp (supports_process_record): Return true for
13498 aarch64*-linux*.
13499 (supports_reverse): Likewise.
13500
135012015-05-22 Patrick Palka <patrick@parcs.ath.cx>
13502
13503 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
13504 Use with_test_prefix.
13505
135062015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
13507
13508 * gdb.base/completion.exp: Add test for completion of layout
13509 names.
13510
135112015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
13512
13513 * lib/gdb.exp (skip_tui_tests): New proc.
13514 * gdb.base/tui-layout.exp: Check skip_tui_tests.
13515
135162015-05-19 Pedro Alves <palves@redhat.com>
13517
13518 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
13519 Save the whole env array instead of just HOME. Unset HISTSIZE in
13520 the environment while testing. Restore whole environment
13521 afterwards.
13522
135232015-05-16 Doug Evans <xdje42@gmail.com>
13524
13525 * gdb.guile/scm-ports.c: New file.
13526 * gdb.guile/scm-ports.exp: Add memory port tests.
13527
135282015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13529
13530 * gdb.compile/compile-print.c: New file.
13531 * gdb.compile/compile-print.exp: New file.
13532
135332015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13534
13535 * gdb.compile/compile-ops.exp: Cast param to void.
13536 * gdb.compile/compile.exp: Complete type for _gdb_expr.
13537 (compile code struct_object.selffield = &struct_object): Add xfail.
13538
135392015-05-15 Joel Brobecker <brobecker@adacore.com>
13540
13541 * gdb.ada/arr_enum_with_gap: New testcase.
13542
135432015-05-15 Joel Brobecker <brobecker@adacore.com>
13544
13545 * gdb.ada/byte_packed_arr: New testcase.
13546
135472015-05-15 Joel Brobecker <brobecker@adacore.com>
13548
13549 * gdb.ada/pckd_neg: New testcase.
13550
135512015-05-13 Patrick Palka <patrick@parcs.ath.cx>
13552
13553 PR gdb/17820
13554 * gdb.base/gdbinit-history.exp: New test.
13555 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
13556 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
13557
135582015-05-09 Siva Chandra Reddy <sivachandra@google.com>
13559
13560 * gdb.python/py-xmethods.cc: Enhance test case.
13561 * gdb.python/py-xmethods.exp: New tests.
13562 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
13563 function.
13564 (B_indexoper): Likewise.
13565 (global_dm_list) : Add new xmethod worker functions.
13566
135672015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
13568
13569 * gdb.base/coredump-filter.exp: Correctly unset
13570 "coredump_var_addr" array.
13571
135722015-05-08 Pedro Alves <palves@redhat.com>
13573
13574 * gdb.server/non-existing-program.exp: Unset spawn_id.
13575
135762015-05-08 Siva Chandra Reddy <sivachandra@google.com>
13577
13578 PR python/18291
13579 * gdb.python/py-xmethods.exp: Add tests.
13580
135812015-05-08 Yao Qi <yao.qi@linaro.org>
13582
13583 PR gdb/18208
13584 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
13585 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
13586 function set_coredump_filter, and remove remote_exec call.
13587 Remove argument ipid. Callers update.
13588 (top level): Don't get inferior's PID.
13589
135902015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
13591
13592 * gdb.base/watch_thread_num.exp: Skip test on targets without
13593 access watchpoints.
13594
135952015-05-06 Pedro Alves <palves@redhat.com>
13596
13597 PR server/18081
13598 * gdb.server/non-existing-program.exp: New file.
13599
136002015-05-05 Joel Brobecker <brobecker@adacore.com>
13601
13602 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
13603
136042015-05-05 Joel Brobecker <brobecker@adacore.com>
13605
13606 * gdb.ada/out_of_line_in_inlined: New testcase.
13607
136082015-05-05 Joel Brobecker <brobecker@adacore.com>
13609
13610 * gdb.ada/var_rec_arr: New testcase.
13611
136122015-04-30 Yao Qi <yao.qi@linaro.org>
13613
13614 * gdb.base/break-idempotent.exp: If
13615 skip_hw_watchpoint_multi_tests returns true, skip the tests
13616 on "rwatch" and "awatch".
13617
136182015-04-30 Yao Qi <yao.qi@linaro.org>
13619
13620 * gdb.base/relativedebug.exp: Invoke gdb command
13621 "info sharedlibrary", and if libc.so doesn't have debug info,
13622 skip the test.
13623
136242015-04-29 Doug Evans <dje@google.com>
13625
13626 * gdb.python/py-xmethods.exp: Add ptype tests.
13627 * gdb.python/py-xmethods.py (E_method_char_worker): Add
13628 get_result_type method.
13629
136302015-04-29 Luis Machado <lgustavo@codesourcery.com>
13631
13632 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
13633 the target does not support hardware watchpoints.
13634
136352015-04-29 Luis Machado <lgustavo@codesourcery.com>
13636
13637 * gdb.base/break-always.exp: Abort testing if writing to memory
13638 causes an error.
13639
136402015-04-28 Doug Evans <dje@google.com>
13641
13642 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
13643 * gdb.python/py-pp-registration.exp: ... here. New file.
13644 * gdb.python/py-pp-registration.c: New file.
13645 * gdb.python/py-pp-registration.py: New file.
13646
136472015-04-28 Doug Evans <dje@google.com>
13648
13649 * gdb.python/py-bad-printers.c: New file.
13650 * gdb.python/py-bad-printers.py: New file.
13651 * gdb.python/py-bad-printers.exp: New file.
13652
136532015-04-28 Sasha Smundak <asmundak@google.com>
13654
13655 * gdb.python/py-type.exp: New test.
13656
136572015-04-28 Andy Wingo <wingo@igalia.com>
13658
13659 * gdb.python/py-parameter.exp:
13660 * gdb.guile/scm-parameter.exp: Escape the path that we are
13661 matching against, as it might contain characters that are special
13662 to regular expressions.
13663
136642015-04-27 Joel Brobecker <brobecker@adacore.com>
13665
13666 * gdb.ada/rec_comp: New testcase.
13667
136682015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
13669
13670 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
13671 before using it.
13672
136732015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
13674
13675 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
13676 new tests for verilog output.
13677
136782015-04-24 Yao Qi <yao.qi@linaro.org>
13679
13680 * boards/remote-gdbserver-on-localhost.exp: New file.
13681
136822015-04-23 Pedro Alves <palves@redhat.com>
13683
13684 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
13685 $inferior_spawn_id instead of $inferior_spawn_id directly. On
13686 "end of file", remove $inferior_spawn_id from the indirect list.
13687
136882015-04-23 Pedro Alves <palves@redhat.com>
13689
13690 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
13691
136922015-04-23 Pedro Alves <palves@redhat.com>
13693
13694 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
13695 on $any_spawn_id instead of only on $gdb_spawn_id.
13696
136972015-04-21 Pierre Muller <muller@sourceware.org>
13698
13699 PR pascal/17815
13700 * lib/pascal.exp (gpc_compile): Add new option "class".
13701 (fpc_compile): Likewise.
13702 * gdb.pascal/case-insensitive-symbols.pas: New file.
13703 * gdb.pascal/case-insensitive-symbols.exp: New file.
13704
137052015-04-20 Gary Benson <gbenson@redhat.com>
13706
13707 * gdb.base/attach.exp: Fix three extended remote failures.
13708
137092015-04-17 Gary Benson <gbenson@redhat.com>
13710
13711 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
13712 the main executable over the remote protocol.
13713
137142015-04-16 Pedro Alves <palves@redhat.com>
13715
13716 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
13717 a new gdbserver if gdbserver_reconnect_p is set.
13718
137192015-04-16 Pedro Alves <palves@redhat.com>
13720
13721 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
13722 is set, don't exit gdbserver.
13723
137242015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
13725
13726 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
13727 appropriate .insn, such that an older assembler can be used.
13728 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
13729 the z/Architecture instruction set on 31-bit targets as well.
13730
137312015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
13732
13733 * gdb.go/handcall.exp: Remove all logic related to the first
13734 breakpoint and rely on go_runto_main instead.
13735 * gdb.go/strings.exp: Likewise.
13736 * gdb.go/unsafe.exp: Likewise.
13737 * gdb.go/hello.exp: Likewise. Also rename the remaining
13738 breakpoint marker to "breakpoint 1".
13739 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
13740 * gdb.go/strings.go: Likewise.
13741 * gdb.go/unsafe.go: Likewise.
13742 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
13743 "set breakpoint 2 here" and rename the remaining breakpoint marker
13744 to "breakpoint 1".
13745
137462015-04-15 Simon Marchi <simon.marchi@ericsson.com>
13747
13748 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
13749 if itertools.imap is not present.
13750 * gdb.python/py-objfile.exp: Add parentheses.
13751 * gdb.python/py-type.exp: Same.
13752 * gdb.python/py-unwind-maint.py: Same.
13753
137542015-04-15 Yao Qi <yao.qi@linaro.org>
13755
13756 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
13757 of ":$ptr_size" and set its form explicitly.
13758
137592015-04-15 Pedro Alves <palves@redhat.com>
13760 Yao Qi <yao.qi@linaro.org>
13761
13762 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
13763 timeout by factor of 4.
13764 (test_regular_watch): Likewise.
13765 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
13766 * gdb.reverse/sigall-reverse.exp: Likewise.
13767 * gdb.reverse/until-precsave.exp: Likewise.
13768 * lib/gdb.exp (with_timeout_factor): New proc.
13769 (gdb_expect): Move some code to ...
13770 (get_largest_timeout): ... here. New procedure.
13771
137722015-04-14 Luis Machado <lgustavo@codesourcery.com>
13773
13774 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
13775
137762015-04-13 Luis Machado <lgustavo@codesourcery.com>
13777
13778 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
13779 to write to the .text section.
13780
137812015-04-13 Luis Machado <lgustavo@codesourcery.com>
13782
13783 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
13784 Handle the case of targets that do not provide PID information.
13785
137862015-04-13 Yao Qi <yao.qi@linaro.org>
13787
13788 * lib/gdbserver-support.exp (gdb_exit): Catch exception
13789 and use expect instead of gdb_expect.
13790
137912015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
13792
13793 * gdb.base/coredump-filter.exp: Rename variable "addr" to
13794 "coredump_var_addr" to avoid naming conflict with other testcases.
13795
137962015-04-10 Pedro Alves <palves@redhat.com>
13797
13798 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
13799 gdb_test_sequence and gdb_assert.
13800
138012015-04-10 Pedro Alves <palves@redhat.com>
13802
13803 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
13804 test messages that don't include the breakpoint address.
13805
138062015-04-10 Yao Qi <yao.qi@linaro.org>
13807
13808 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
13809 false for some offset and width combinations which aren't
13810 supported by linux kernel.
13811
138122015-04-10 Pedro Alves <palves@redhat.com>
13813
13814 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
13815 procedure, factored out from ...
13816 (top level): ... here. Add "set displaced-stepping" testing axis.
13817 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
13818 parameter "displaced". Use it.
13819 (top level): Use foreach and add "set displaced-stepping" testing
13820 axis.
13821
138222015-04-10 Pedro Alves <palves@redhat.com>
13823
13824 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
13825 Remove comment.
13826 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
13827 both the address of the instruction that triggers the watchpoint
13828 and the address of the instruction immediately after, and use
13829 those addresses for the test. Fix comment.
13830
138312015-04-10 Pedro Alves <palves@redhat.com>
13832
13833 * gdb.base/sigstep.exp (breakpoint_to_handler)
13834 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
13835 Test "backtrace" in handler.
13836 (breakpoint_over_handler): New parameter 'displaced'. Use it.
13837 (top level): Add new "displaced" test axis to
13838 breakpoint_to_handler, breakpoint_to_handler_entry and
13839 breakpoint_over_handler.
13840
138412015-04-10 Pedro Alves <palves@redhat.com>
13842
13843 PR gdb/18216
13844 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
13845
138462015-04-10 Yao Qi <yao.qi@linaro.org>
13847
13848 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
13849 (test_add_rn_pc): New function.
13850 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
13851 (top level): Invoke test_add_rn_pc.
13852
138532015-04-10 Pedro Alves <palves@redhat.com>
13854
13855 PR gdb/13858
13856 * gdb.base/step-over-no-symbols.exp: New file.
13857
138582015-04-09 Andy Wingo <wingo@igalia.com>
13859
13860 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
13861 after the Python tests.
13862
138632015-04-08 Keith Seitz <keiths@redhat.com>
13864
13865 PR python/16699
13866 * gdb.python/py-completion.exp: New tests for completion.
13867 * gdb.python/py-completion.py (CompleteLimit1): New class.
13868 (CompleteLimit2): Likewise.
13869 (CompleteLimit3): Likewise.
13870 (CompleteLimit4): Likewise.
13871 (CompleteLimit5): Likewise.
13872 (CompleteLimit6): Likewise.
13873 (CompleteLimit7): Likewise.
13874
138752015-04-08 Pedro Alves <palves@redhat.com>
13876
13877 PR gdb/18214
13878 PR gdb/18216
13879 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
13880 function.
13881 (main): Install it as SIGUSR1 handler.
13882 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
13883 parameter. Always use "setup" as prefix. Toggle "set
13884 displaced-stepping" off/on depending on global. Don't switch to
13885 thread 1 here.
13886 (top level): Add displaced stepping "off/on" test axis. Update
13887 "setup" calls. Wrap each subtest with with_test_prefix. Test
13888 continuing with a queued signal in each thread.
13889
138902015-04-08 Pedro Alves <palves@redhat.com>
13891
13892 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
13893 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
13894 gdb_breakpoint instead of gdb_test that doesn't expect anything.
13895 Return early if running to main fails.
13896 * gdb.trace/while-stepping.exp: Likewise.
13897
138982015-04-07 Pedro Alves <palves@redhat.com>
13899
13900 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
13901 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
13902 interact with inferior program.
13903
139042015-04-07 Pedro Alves <palves@redhat.com>
13905
13906 * lib/gdb.exp (inferior_spawn_id): New global.
13907 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
13908 spawn id after processing the user code.
13909 (default_gdb_start): Set inferior_spawn_id.
13910 (send_inferior): New procedure.
13911 * lib/gdbserver-support.exp (gdbserver_start): Set
13912 inferior_spawn_id.
13913 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
13914
139152015-04-07 Pedro Alves <palves@redhat.com>
13916
13917 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
13918 * lib/gdbserver-support.exp (gdbserver_start): Make
13919 $server_spawn_id global.
13920 (gdbserver_start): Don't wait for gdbserver's spawn id with
13921 expect_background.
13922 (close_gdbserver): New procedure.
13923 (gdb_exit): Rename the default version and reimplement.
13924
139252015-04-07 Pedro Alves <palves@redhat.com>
13926
13927 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
13928 append the substituted item, not the original item.
13929
139302015-04-07 Pedro Alves <palves@redhat.com>
13931
13932 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
13933 gdb_expect.
13934
139352015-04-07 Pedro Alves <palves@redhat.com>
13936
13937 * gdb.base/interrupt.exp: Don't handle the case of the inferior
13938 output appearing once only.
13939
139402015-04-07 Pedro Alves <palves@redhat.com>
13941
13942 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
13943 that doesn't expect anything. Return early if running to main
13944 fails.
13945
139462015-04-07 Yao Qi <yao.qi@linaro.org>
13947
13948 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
13949 (child_function): Call alarm.
13950 (main): Move call to alarm into the loop.
13951 * gdb.threads/non-stop-fair-events.exp: Build program with
13952 -DTIMEOUT=$timeout.
13953
139542015-04-06 Doug Evans <xdje42@gmail.com>
13955
13956 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
13957 Fix dest parameter to board_info.
13958 (fpc_compile): Ditto.
13959 (gdb_compile_pascal): Rename dest arg to destfile.
13960
139612015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
13962
13963 * gdb.ada/funcall_ref.exp: New file.
13964 * gdb.ada/funcall_ref/foo.adb: New file.
13965
139662015-04-02 Yao Qi <yao.qi@linaro.org>
13967
13968 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
13969 is remote.
13970
139712015-04-02 Gary Benson <gbenson@redhat.com>
13972
13973 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
13974
139752015-04-01 Sasha Smundak <asmundak@google.com>
13976
13977 * gdb.python/py-unwind-maint.c: New file.
13978 * gdb.python/py-unwind-maint.exp: New test.
13979 * gdb.python/py-unwind-maint.py: New file.
13980 * gdb.python/py-unwind.c: New file.
13981 * gdb.python/py-unwind.exp: New test.
13982 * gdb.python/py-unwind.py: New test.
13983
139842015-04-01 Pedro Alves <palves@redhat.com>
13985
13986 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
13987 to fail instead of non-existent $test.
13988
139892015-04-01 Pedro Alves <palves@redhat.com>
13990
13991 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
13992 GDBFLAGS if not empty.
13993
139942015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
13995
13996 * gdb.ada/complete.exp: Remove "multi_line".
13997 * gdb.ada/info_exc.exp: Remove "multi_line".
13998 * gdb.ada/packed_tagged.exp: Remove "multi_line".
13999 * gdb.ada/ptype_field.exp: Remove "multi_line".
14000 * gdb.ada/sym_print_name.exp: Remove "multi_line".
14001 * gdb.ada/tagged.exp: Remove "multi_line".
14002 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
14003 [multi_line ...]
14004 * gdb.btrace/delta.exp: Likewise.
14005 * gdb.btrace/exception.exp: Likewise.
14006 * gdb.btrace/function_call_history.exp: Likewise.
14007 * gdb.btrace/instruction_history.exp: Likewise.
14008 * gdb.btrace/nohist.exp: Likewise.
14009 * gdb.btrace/record_goto.exp: Likewise.
14010 * gdb.btrace/segv.exp: Likewise.
14011 * gdb.btrace/stepi.exp: Likewise.
14012 * gdb.btrace/tailcall.exp: Likewise.
14013 * gdb.btrace/unknown_functions.exp: Likewise.
14014 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
14015 * lib/gdb.exp: Add the "multi_line" helper.
14016
140172015-04-01 Pedro Alves <palves@redhat.com>
14018
14019 * gdb.threads/tid-reuse.c: New file.
14020 * gdb.threads/tid-reuse.exp: New file.
14021
140222015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
14023
14024 PR corefiles/16092
14025 * gdb.base/coredump-filter.c: New file.
14026 * gdb.base/coredump-filter.exp: Likewise.
14027
140282015-03-27 Petr Machata <pmachata@redhat.com>
14029
14030 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
14031 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
14032 (Dwarf::assemble): Initialize them.
14033 (Dwarf::lines): New function.
14034
140352015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
14036
14037 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
14038 SYMBOL_PREFIX for x86_64-*-cygwin.
14039
140402015-03-26 Andy Wingo <wingo@igalia.com>
14041
14042 PR symtab/18148
14043 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
14044 const_value but not a location.
14045 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
14046 location defined in non-main CUs are visible.
14047
140482015-03-26 Yao Qi <yao.qi@linaro.org>
14049
14050 PR testsuite/18139
14051 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
14052 Add a line number entry for the same line.
14053 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
14054 Add a line number entry for the same line.
14055
140562015-03-26 Yao Qi <yao.qi@linaro.org>
14057
14058 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
14059 .int 0.
14060 (func): Likewise. Add .Lfunc_1 label.
14061 Use .Lfunc_1 label.
14062 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
14063 .int 0.
14064 (func): Likewise.
14065 Use .Lfunc_1 label.
14066
140672015-03-26 Yao Qi <yao.qi@linaro.org>
14068
14069 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
14070 Call gdb_compile instead to compile each .s files without debug
14071 information.
14072
140732015-03-26 Yao Qi <yao.qi@linaro.org>
14074
14075 * gdb.base/savedregs.exp (process_saved_regs): Make
14076 "Saved registers:" optional in the pattern.
14077
140782015-03-25 Markus Metzger <markus.t.metzger@intel.com>
14079
14080 * gdb.btrace/next.exp: Merged into step.exp.
14081 * gdb.btrace/finish.exp: Merged into step.exp.
14082 * gdb.btrace/nexti.exp: Merged into stepi.exp.
14083 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
14084 "record goto" and checking the exact replay position.
14085 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
14086 check for "Recording format" in "info record" output.
14087 * gdb.btrace/record_goto.exp: Choose test file based on target.
14088 * gdb.btrace/x86-record_goto.S: Renamed into ...
14089 * gdb.btrace/x86_64-record_goto.S: ... this.
14090 * gdb.btrace/i686-record_goto.S: New.
14091 * gdb.btrace/x86-tailcall.S: Renamed into ...
14092 * gdb.btrace/x86_64-tailcall.S: ... this.
14093 * gdb.btrace/i686-tailcall.S: New.
14094 * gdb.btrace/x86-tailcall.c: Renamed into ...
14095 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
14096 separate statements. Update test.
14097 * gdb.btrace/delta.exp: Use record_goto.c as test file.
14098 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
14099 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
14100 * gdb.btrace/tailcall.exp: Choose test file based on target.
14101 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
14102
141032015-03-25 Markus Metzger <markus.t.metzger@intel.com>
14104
14105 * gdb.btrace/exception.exp: Increase BTS buffer size.
14106
141072015-03-24 Pedro Alves <palves@redhat.com>
14108
14109 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
14110
141112015-03-24 Pedro Alves <palves@redhat.com>
14112
14113 * gdb.threads/schedlock.exp (test_step): No longer expect that
14114 "set scheduler-locking step" with "next" over a function call runs
14115 threads unlocked.
14116
141172015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
14118
14119 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
14120
141212015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
14122
14123 PR breakpoints/16466
14124 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
14125 * gdb.mi/mi-pending.c (thread_func): New function.
14126 (int main): Add threading support required.
14127 * gdb.mi/mi-pending.exp: Add tests for this issue.
14128 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
14129 (pendfunc2): Remove stdio dependency.
14130 * gdb.mi/mi-pendshr2.c: New file.
14131
141322015-03-23 Keith Seitz <keiths@redhat.com>
14133
14134 * gdb.linespec/keywords.c: New file.
14135 * gdb.linespec/keywords.exp: New file.
14136
141372015-03-23 Keith Seitz <keiths@redhat.com>
14138
14139 PR gdb/18021
14140 * gdb.dwarf2/staticvirtual.exp: New test.
14141
141422015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14143
14144 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
14145 * README: Remove HP-UX and gdb.hp.
14146 (configuration):
14147 * configure: Regenerate.
14148 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
14149 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
14150 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
14151 gdb.hp/gdb.defects/Makefile.
14152 * gdb.hp/Makefile.in: File deleted.
14153 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
14154 * gdb.hp/gdb.aCC/optimize.c: File deleted.
14155 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
14156 * gdb.hp/gdb.aCC/run.c: File deleted.
14157 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
14158 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
14159 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
14160 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
14161 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
14162 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
14163 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
14164 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
14165 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
14166 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
14167 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
14168 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
14169 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
14170 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
14171 * gdb.hp/gdb.base-hp/reg.s: File deleted.
14172 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
14173 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
14174 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
14175 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
14176 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
14177 * gdb.hp/gdb.compat/Makefile.in: File deleted.
14178 * gdb.hp/gdb.compat/average.c: File deleted.
14179 * gdb.hp/gdb.compat/sum.c: File deleted.
14180 * gdb.hp/gdb.compat/xdb.c: File deleted.
14181 * gdb.hp/gdb.compat/xdb0.c: File deleted.
14182 * gdb.hp/gdb.compat/xdb0.h: File deleted.
14183 * gdb.hp/gdb.compat/xdb1.c: File deleted.
14184 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
14185 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
14186 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
14187 * gdb.hp/gdb.defects/Makefile.in: File deleted.
14188 * gdb.hp/gdb.defects/bs14602.c: File deleted.
14189 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
14190 * gdb.hp/gdb.defects/solib-d.c: File deleted.
14191 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
14192 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
14193 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
14194 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
14195 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
14196 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
14197 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
14198 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
14199 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
14200 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
14201 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
14202 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
14203 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
14204 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
14205 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
14206 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
14207 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
14208 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
14209 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
14210 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
14211 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
14212 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
14213 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
14214 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
14215 * gdb.hp/tools/odump: File deleted.
14216
142172015-03-19 Pedro Alves <palves@redhat.com>
14218
14219 * gdb.threads/continue-pending-status.exp (saw_thread_2)
14220 (saw_thread_3): New globals.
14221 (top level): Increment them when an event for the corresponding
14222 thread is seen.
14223 (no thread starvation): New test.
14224
142252015-03-19 Pedro Alves <palves@redhat.com>
14226
14227 * gdb.threads/continue-pending-status.c: New file.
14228 * gdb.threads/continue-pending-status.exp: New file.
14229
142302015-03-18 Pedro Alves <palves@redhat.com>
14231
14232 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
14233 Use gdb_is_target_remote instead of is_remote. Use
14234 gdb_test_multiple instead of gdb_expect. Exit early if
14235 gdb_test_multiple hits its internal matches. Tighten stepi tests
14236 expected output. Fail on exit with any signal, instead of just
14237 SIGILL.
14238
142392015-03-18 Yao Qi <yao.qi@linaro.org>
14240
14241 PR tdep/18107
14242 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
14243 variable.
14244 * gdb.base/catch-syscall.exp: Don't skip it on
14245 aarch64*-*-linux* target. Remove elements in all_syscalls.
14246 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
14247 target.
14248 (setup_all_syscalls): New proc.
14249
142502015-03-16 Yao Qi <yao.qi@linaro.org>
14251
14252 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
14253 (top level): Skip tests if valid_addr_p returns false for
14254 $cmd1 or $cmd2.
14255
142562015-03-11 Andy Wingo <wingo@igalia.com>
14257
14258 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
14259
142602015-03-11 Yao Qi <yao.qi@linaro.org>
14261
14262 * gdb.base/catch-syscall.exp: Fix typo in comments.
14263
142642015-03-11 Yao Qi <yao.qi@linaro.org>
14265
14266 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
14267
142682015-03-09 Pedro Alves <palves@redhat.com>
14269
14270 * dg-extract-results.py: Delete.
14271
142722015-03-09 Pedro Alves <palves@redhat.com>
14273
14274 Merge dg-extract-results.sh from GCC upstream (r218843).
14275
14276 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
14277 * dg-extract-results.sh: Use --text with grep to avoid issues with
14278 binary files. Fall back to cat -v, if that doesn't work.
14279
142802015-03-05 Pedro Alves <palves@redhat.com>
14281
14282 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
14283
142842015-03-04 Simon Marchi <simon.marchi@ericsson.com>
14285
14286 * lib/mi-support.exp (mi_expect_interrupt): Accept
14287 alternative event for when in all-stop mode.
14288
142892015-03-04 Pedro Alves <palves@redhat.com>
14290
14291 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
14292
142932015-03-04 Mark Kettenis <kettenis@gnu.org>
14294
14295 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
14296
142972015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
14298
14299 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
14300 regexps for GDB's current line display, accept a hex address
14301 preceding the line number.
14302
143032015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
14304
14305 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
14306 the 'arch1' variable for "s390*-linux*" targets.
14307
143082015-03-04 Pedro Alves <palves@redhat.com>
14309
14310 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
14311 (main): Pass missing retval argument to pthread_join call.
14312
143132015-03-02 Pedro Alves <palves@redhat.com>
14314
14315 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
14316 (top level): Call do_test with non-stop as well.
14317
143182015-03-02 Pedro Alves <palves@redhat.com>
14319
14320 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
14321 -1.
14322
143232015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
14324
14325 * gdb.arch/s390-vregs.exp: New test.
14326 * gdb.arch/s390-vregs.S: New file.
14327
143282015-02-27 Pedro Alves <palves@redhat.com>
14329
14330 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
14331 call to catch_command_errors.
14332 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
14333 catch_command_errors.
14334
143352015-02-27 Pedro Alves <palves@redhat.com>
14336
14337 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
14338 "true" for boolean result.
14339 * gdb.gdb/selftest.exp (test_with_self): Also accept full
14340 prototype of main.
14341
143422015-02-27 Pedro Alves <palves@redhat.com>
14343
14344 * lib/unbuffer_output.c: New file.
14345 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
14346 (main): Call gdb_unbuffer_output.
14347
143482015-02-27 Yao Qi <yao.qi@linaro.org>
14349
14350 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
14351 target.
14352
143532015-02-26 Doug Evans <dje@google.com>
14354
14355 * gdb.cp/class2.cc (Dbase, D): New classes.
14356 (main): New local delta.
14357 * gdb.cp/class2.exp: Test printing delta.
14358 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
14359 (dynbar): New global.
14360 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
14361
143622015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
14363
14364 * gdb.compile/compile-ifunc.c: New file.
14365 * gdb.compile/compile-ifunc.exp: New file.
14366
143672015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
14368
14369 * gdb.base/structs.exp: Check for correct struct on finish.
14370
143712015-02-26 Yao Qi <yao.qi@linaro.org>
14372
14373 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
14374 is zero.
14375
143762015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
14377
14378 * gdb.arch/cordic.ko.bz2: New file.
14379 * gdb.arch/cordic.ko.debug.bz2: New file.
14380 * gdb.arch/ppc64-symtab-cordic.exp: New file.
14381
143822015-02-25 Yao Qi <yao.qi@linaro.org>
14383
14384 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
14385 aarch64*-*-* target.
14386
143872015-02-23 Pedro Alves <palves@redhat.com>
14388
14389 * lib/gdb.exp (delete_breakpoints): Rewrite using
14390 gdb_test_multiple.
14391
143922015-02-23 Pedro Alves <palves@redhat.com>
14393
14394 * gdb.base/info-os.c: Include stdlib.h.
14395
143962015-02-22 Doug Evans <xdje42@gmail.com>
14397
14398 PR symtab/17855
14399 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
14400 is read after symbols have been re-read.
14401 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
14402 * gdb.ada/exec_changed/second.adb (Second): Ditto.
14403
144042015-02-21 Doug Evans <dje@google.com>
14405
14406 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
14407
144082015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14409
14410 PR corefiles/17808
14411 * gdb.arch/i386-biarch-core.core.bz2: New file.
14412 * gdb.arch/i386-biarch-core.exp: New file.
14413
144142015-02-21 Pedro Alves <palves@redhat.com>
14415
14416 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
14417 runto_main fails.
14418
144192015-02-20 Pedro Alves <palves@redhat.com>
14420
14421 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
14422 info probes.
14423
144242015-02-20 Pedro Alves <palves@redhat.com>
14425
14426 * gdb.threads/multi-create-ns-info-thr.exp: New file.
14427
144282015-02-20 Pedro Alves <palves@redhat.com>
14429
14430 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
14431 clean_restart before gdb_target_supports_trace.
14432
144332015-02-20 Pedro Alves <palves@redhat.com>
14434
14435 PR threads/18006
14436 * gdb.threads/clone-thread_db.c: New file.
14437 * gdb.threads/clone-thread_db.exp: New file.
14438
144392015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
14440
14441 PR breakpoints/16812
14442 * gdb.base/catch-gdb-caused-signals.c: New file.
14443 * gdb.base/catch-gdb-caused-signals.exp: New file.
14444
144452015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
14446
14447 * configure: Regenerated.
14448 * configure.ac: Use GDB_AC_TRANSFORM.
14449 * aclocal.m4: sinclude ../transform.m4.
14450
144512015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
14452
14453 * lib/dtrace.exp: New file.
14454 * gdb.base/dtrace-probe.exp: Likewise.
14455 * gdb.base/dtrace-probe.d: Likewise.
14456 * gdb.base/dtrace-probe.c: Likewise.
14457 * lib/pdtrace.in: Likewise.
14458 * configure.ac: Output variables with the transformed names of
14459 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
14460 * configure: Regenerated.
14461
144622015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
14463
14464 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
14465 expected message when trying to access $_probe_* convenience
14466 variables while not on a probe.
14467
144682015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14469
14470 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
14471
144722015-02-11 Pedro Alves <pedro@codesourcery.com>
14473
14474 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
14475 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
14476
144772015-02-10 Doug Evans <xdje42@gmail.com>
14478
14479 * lib/gdb.exp (gdb_load): Always return a result.
14480
144812015-02-10 Pedro Alves <palves@redhat.com>
14482
14483 * gdb.threads/signal-sigtrap.c: New file.
14484 * gdb.threads/signal-sigtrap.exp: New file.
14485
144862015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
14487
14488 * gdb.trace/no-attach-trace.c: New file.
14489 * gdb.trace/no-attach-trace.exp: New file.
14490
144912015-02-09 Mark Wielaard <mjw@redhat.com>
14492
14493 * gdb.dwarf2/atomic.c: New file.
14494 * gdb.dwarf2/atomic-type.exp: Likewise.
14495
144962015-02-09 Markus Metzger <markus.t.metzger@intel.com>
14497
14498 * gdb.btrace/buffer-size.exp: Update "info record" output.
14499 * gdb.btrace/delta.exp: Update "info record" output.
14500 * gdb.btrace/enable.exp: Update "info record" output.
14501 * gdb.btrace/finish.exp: Update "info record" output.
14502 * gdb.btrace/instruction_history.exp: Update "info record" output.
14503 * gdb.btrace/next.exp: Update "info record" output.
14504 * gdb.btrace/nexti.exp: Update "info record" output.
14505 * gdb.btrace/step.exp: Update "info record" output.
14506 * gdb.btrace/stepi.exp: Update "info record" output.
14507 * gdb.btrace/nohist.exp: Update "info record" output.
14508
145092015-02-09 Markus Metzger <markus.t.metzger@intel.com>
14510
14511 * gdb.btrace/buffer-size: New.
14512
145132015-02-09 Markus Metzger <markus.t.metzger@intel.com>
14514
14515 * gdb.btrace/delta.exp: Update "info record" output.
14516 * gdb.btrace/enable.exp: Update "info record" output.
14517 * gdb.btrace/finish.exp: Update "info record" output.
14518 * gdb.btrace/instruction_history.exp: Update "info record" output.
14519 * gdb.btrace/next.exp: Update "info record" output.
14520 * gdb.btrace/nexti.exp: Update "info record" output.
14521 * gdb.btrace/step.exp: Update "info record" output.
14522 * gdb.btrace/stepi.exp: Update "info record" output.
14523 * gdb.btrace/nohist.exp: Update "info record" output.
14524
145252015-02-06 Simon Marchi <simon.marchi@ericsson.com>
14526
14527 PR gdb/15678
14528 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
14529
145302015-02-06 Pedro Alves <palves@redhat.com>
14531
14532 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
14533 macro.
14534 (seconds_left, again): New globals.
14535 (main): Wait seconds_left in a 1-second sleep loop instead of
14536 sleeping 180 seconds. If 'again' is set, reset the seconds
14537 counter.
14538 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
14539 'again' in the inferior before detaching. Print the seconds left.
14540 (options): New global.
14541 (top level): Build program with -DTIMEOUT=$timeout.
14542
145432015-02-06 Pedro Alves <palves@redhat.com>
14544
14545 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
14546 determine how many seconds to pass to 'alarm'.
14547 * gdb.base/gdb-sigterm.exp (top level): Build program with
14548 -DTIMEOUT=$timeout.
14549 (do_test): Return success/failure indication. Add more verbose
14550 logging. Don't fail if 200 single steps are seen. Instead, fail
14551 when the test times out.
14552 (passes): New global.
14553 (top level): Break the testing loop if testing fails on any
14554 iteration. Use gdb_assert.
14555
145562015-02-04 Don Breazeal <donb@codesourcery.com>
14557
14558 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
14559 and initialize them.
14560 (ipc_cleanup): New function.
14561 (main): Don't declare shmid, semid, and msqid. Add a call to
14562 atexit so that we call ipc_cleanup on exit.
14563
145642015-02-04 Pedro Alves <palves@redhat.com>
14565
14566 * boards/native-extended-gdbserver.exp: Remove any target variant
14567 specifications from the board name before clearing the isremote
14568 flag from board_info.
14569
145702015-01-31 Doug Evans <xdje42@gmail.com>
14571
14572 * gdb.base/maint.exp <maint print type argc>: Update expected output.
14573
145742015-01-31 Gary Benson <gbenson@redhat.com>
14575
14576 * gdb.base/completion.exp: Disable completion limiting for
14577 existing tests. Add new tests to check completion limiting.
14578 * gdb.linespec/ls-errs.exp: Disable completion limiting.
14579
145802015-01-31 Doug Evans <xdje42@gmail.com>
14581
14582 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
14583
145842015-01-31 Doug Evans <xdje42@gmail.com>
14585
14586 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
14587 entries. Duplicate file section script entries.
14588 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
14589 inlined entries. Add test for safe-path rejection.
14590 * gdb.python/py-section-script.c: Add duplicate inlined section script
14591 entries. Duplicate file section script entries.
14592 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
14593 inlined entries. Add test for safe-path rejection.
14594
145952015-01-29 Joel Brobecker <brobecker@adacore.com>
14596
14597 * gdb.ada/disc_arr_bound: New testcase.
14598
145992015-01-29 Joel Brobecker <brobecker@adacore.com>
14600
14601 * gdb.ada/mi_var_array: New testcase.
14602
146032015-01-27 Doug Evans <dje@google.com>
14604
14605 * gdb.python/py-objfile.exp: Add tests for objfile.username.
14606 Add test for objfile.filename, objfile.username after objfile
14607 has been unloaded.
14608
146092015-01-26 Joel Brobecker <brobecker@adacore.com>
14610
14611 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
14612 the second test to print the name attribute of value
14613 returned by the call to gdb.lookup_type, and adjust
14614 the expected output accordingly.
14615
146162015-01-25 Mark Wielaard <mjw@redhat.com>
14617
14618 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
14619 * gdb.base/disp-step-fork.c: Include unistd.h.
14620 * gdb.base/siginfo-obj.c: Include stdio.h.
14621 * gdb.base/siginfo-thread.c: Likewise.
14622 * gdb.mi/non-stop.c: Include unistd.h.
14623 * gdb.mi/nsthrexec.c: Include stdio.h.
14624 * gdb.mi/pthreads.c: Include unistd.h.
14625 * gdb.modula2/unbounded1.c (main): Declare returns int.
14626 * gdb.reverse/consecutive-reverse.c: Likewise.
14627 * gdb.threads/create-fail.c: Include unistd.h.
14628 * gdb.threads/killed.c: Likewise.
14629 * gdb.threads/linux-dp.c: Likewise.
14630 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
14631 * gdb.threads/non-ldr-exc-2.c: Likewise.
14632 * gdb.threads/non-ldr-exc-3.c: Likewise.
14633 * gdb.threads/non-ldr-exc-4.c: Likewise.
14634 * gdb.threads/pthreads.c: Include unistd.h.
14635 (main): Declare returns int.
14636 * gdb.threads/tls-main.c (foo): New declaration.
14637 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
14638
146392015-01-23 Simon Marchi <simon.marchi@ericsson.com>
14640
14641 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
14642 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
14643
146442015-01-15 Mark Wielaard <mjw@redhat.com>
14645
14646 * gdb.base/noreturn-return.c: New file.
14647 * gdb.base/noreturn-return.exp: New file.
14648 * gdb.base/noreturn-finish.c: New file.
14649 * gdb.base/noreturn-finish.exp: New file.
14650
146512015-01-23 Pedro Alves <palves@redhat.com>
14652
14653 * gdb.threads/continue-pending-after-query.c: New file.
14654 * gdb.threads/continue-pending-after-query.exp: New file.
14655
146562015-01-22 Anders Granlund <anders.granlund@ericsson.com>
14657 Simon Marchi <simon.marchi@ericsson.com>
14658
14659 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
14660 * gdb.base/valgrind-db-attach.exp: Same.
14661 * gdb.base/valgrind-infcall.exp: Same.
14662 * lib/mi-support.exp (default_mi_gdb_start): Same.
14663 * lib/prompt.exp (default_prompt_gdb_start): Same.
14664 * lib/gdb.exp (default_gdb_spawn): Same.
14665 (gdb_interact): New.
14666
14667
146682015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14669
14670 * gdb.compile/compile.exp (pointer to jit function): New test.
14671
146722015-01-17 Wei-cheng Wang <cole945@gmail.com>
14673
14674 * lib/gdb.exp (supports_process_record): Return true for
14675 powerpc*-*-linux*.
14676 (supports_reverse): Likewise.
14677
146782015-01-15 Don Breazeal <donb@codesourcery.com>
14679
14680 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
14681 instead of checking whether the target board is remote and
14682 use spawn_wait_for_attach instead of exec/sleep.
14683 * gdb.base/attach-twice.exp: Likewise.
14684
146852015-01-15 Joel Brobecker <brobecker@adacore.com>
14686
14687 * gdb.ada/var_arr_attrs: New testcase.
14688
146892015-01-14 Pedro Alves <palves@redhat.com>
14690 Joel Brobecker <brobecker@adacore.com>
14691
14692 PR gdb/17525
14693 * gdb.base/bp-cmds-execution-x-script.c: New file.
14694 * gdb.base/bp-cmds-execution-x-script.exp: New file.
14695 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
14696
146972015-01-14 Pedro Alves <palves@redhat.com>
14698
14699 PR cli/17828
14700 * gdb.base/batch-preserve-term-settings.c: New file.
14701 * gdb.base/batch-preserve-term-settings.exp: New file.
14702
147032015-01-13 Doug Evans <dje@google.com>
14704
14705 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
14706 binary.
14707
147082015-01-13 Joel Brobecker <brobecker@adacore.com>
14709
14710 * Makefile.in (clean mostlyclean): Do not delete *.py.
14711
147122015-01-13 Joel Brobecker <brobecker@adacore.com>
14713
14714 * gdb.python/py-lookup-type.exp: New file.
14715
147162015-01-12 Pedro Alves <palves@redhat.com>
14717
14718 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
14719 restore GDBFLAGS before returning.
14720
147212015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14722
14723 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
14724 is_amd64_regs_target and is_x86_like_target.
14725
147262015-01-11 Doug Evans <xdje42@gmail.com>
14727
14728 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
14729 is given without an explicit form.
14730 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
14731 attributes.
14732 * gdb.dwarf/corrupt.exp: Ditto.
14733 * gdb.dwarf2/enum-type.exp: Ditto.
14734 * gdb.trace/entry-values.exp: Ditto.
14735 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
14736
147372015-01-11 Doug Evans <xdje42@gmail.com>
14738
14739 PR gdb/15830
14740 * gdb.base/maint.exp: Remove references to "maint demangle".
14741 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
14742 Add tests for explicitly specifying language to demangle.
14743 * gdb.dlang/demangle.exp: Ditto.
14744
147452015-01-09 Pedro Alves <palves@redhat.com>
14746
14747 * gdb.threads/non-stop-fair-events.c: New file.
14748 * gdb.threads/non-stop-fair-events.exp: New file.
14749
147502015-01-09 Pedro Alves <palves@redhat.com>
14751
14752 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
14753 the global scope. Set a breakpoint after all threads are started
14754 rather than stepping over two source lines. Expect the prompt.
14755 * gdb.base/watch_thread_num.c (threads_started_barrier): New
14756 global.
14757 (NUM): Now 15.
14758 (main): Use threads_started_barrier to wait for all threads to
14759 start. Main thread no longer calls thread_function. Exit after
14760 180 seconds.
14761 (loop): New function.
14762 (thread_function): Wait on threads_started_barrier barrier. Call
14763 'loop' at each iteration.
14764 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
14765 threads have started, instead of hardcoding number of "next"
14766 steps. Use an access watchpoint instead of a write watchpoint.
14767
147682015-01-09 Pedro Alves <palves@redhat.com>
14769
14770 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
14771 (thread_func): Wait on barrier.
14772 (main): Wait for all threads to start before stopping GDB.
14773 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
14774 global.
14775 (thread1_func, thread2_func): Wait on barrier.
14776 (main): Wait for all threads to start before stopping GDB.
14777 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
14778 New global.
14779 (thread1_func, thread2_func): Wait on barrier.
14780 (main): Wait for all threads to start before stopping GDB.
14781
147822015-01-09 Pedro Alves <palves@redhat.com>
14783
14784 * gdb.threads/attach-many-short-lived-threads.c: New file.
14785 * gdb.threads/attach-many-short-lived-threads.exp: New file.
14786
147872014-01-09 Pedro Alves <palves@redhat.com>
14788
14789 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
14790 instead of to thread 2.
14791 * gdb.threads/signal-command-multiple-signals-pending.c (main):
14792 Add barrier around each pthread_create call instead of around all
14793 calls.
14794 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
14795 Set a break on thread_function and have the child threads hit it
14796 one at at a time.
14797
147982015-01-09 Pedro Alves <palves@redhat.com>
14799
14800 * lib/gdb.exp (can_spawn_for_attach): New procedure.
14801 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
14802 false.
14803 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
14804 checking whether the target board is remote.
14805 * gdb.multi/multi-attach.exp: Likewise.
14806 * gdb.python/py-sync-interp.exp: Likewise.
14807 * gdb.server/ext-attach.exp: Likewise.
14808 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
14809 tests that need to attach, instead of checking whether the target
14810 board is remote at the top of the file.
14811
148122015-01-08 Yao Qi <yao@codesourcery.com>
14813
14814 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
14815
148162015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14817
14818 Fix testcase compilation.
14819 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
14820
148212015-01-06 Joel Brobecker <brobecker@adacore.com>
14822
14823 * gdb.python/py-type.exp: Add a couple test about empty
14824 array creation, and negative-length array creation.
14825
148262015-01-02 Doug Evans <xdje42@gmail.com>
14827
14828 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
14829
148302015-01-02 Doug Evans <dje@google.com>
14831
14832 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
14833
148342014-12-29 Yao Qi <yao@codesourcery.com>
14835
14836 * gdb.trace/entry-values.exp: Update comments. Rename variable
14837 bar_call_foo to returned_from_foo.
14838
148392014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
14840
14841 PR gdb/17394
14842 * gdb.linespec/break-asm-file.c: New file.
14843 * gdb.linespec/break-asm-file.exp: New file.
14844 * gdb.linespec/break-asm-file0.s: New file.
14845 * gdb.linespec/break-asm-file1.s: New file.
14846
148472014-12-18 Nigel Stephens <nigel@mips.com>
14848 Maciej W. Rozycki <macro@codesourcery.com>
14849
14850 * gdb.base/float.exp: Handle the new output from "info float" on
14851 MIPS targets.
14852
148532014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
14854
14855 Fix MinGW compilation.
14856 * gdb.compile/compile-ops.exp: Update untested message if
14857 !skip_compile_feature_tests.
14858 * gdb.compile/compile-setjmp.exp: Likewise.
14859 * gdb.compile/compile-tls.exp: Likewise.
14860 * gdb.compile/compile.exp: Likewise.
14861 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
14862 supported on this host".
14863
148642014-12-16 Doug Evans <xdje42@gmail.com>
14865
14866 * boards/stabs.exp: New file.
14867
148682014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
14869
14870 * gdb.base/completion.exp: Adjust to format changes of "maint
14871 print user-registers".
14872
148732014-12-16 Catalin Udma <catalin.udma@freescale.com>
14874
14875 PR server/17457
14876 * gdb.arch/aarch64-fp.c: New file.
14877 * gdb.arch/aarch64-fp.exp: New file.
14878
148792014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
14880
14881 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
14882 r210637, r210913, r211666, r215400, r215817).
14883
14884 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
14885 * dg-extract-results.py: New file.
14886 * dg-extract-results.sh: Use it if the environment seems
14887 suitable.
14888
14889 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
14890
14891 * dg-extract-results.py (parse_run): Handle warnings that
14892 are printed before a test harness is run.
14893
14894 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
14895
14896 * dg-extract-results.py (Named): Remove __cmp__ method.
14897 (output_variation): Use a key to sort variation.harnesses.
14898
14899 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
14900
14901 * dg-extract-results.py: For Python 3, force sys.stdout to
14902 handle surrogate escape sequences.
14903 (safe_open): New function.
14904 (output_segment, main): Use it.
14905
14906 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
14907
14908 * dg-extract-results.py (Prog.result_re): Include options
14909 in test name.
14910
14911 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
14912
14913 * dg-extract-results.py (output_variation): Always sort if
14914 do_sum.
14915
149162014-12-15 Simon Marchi <simon.marchi@ericsson.com>
14917
14918 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
14919 as long as we get pagination notifications.
14920
149212014-12-15 Jason Merrill <jason@redhat.com>
14922
14923 * Makefile.in (check-gdb.%): Restore.
14924 * README: Mention it.
14925
149262014-12-13 Joel Brobecker <brobecker@adacore.com>
14927
14928 * gdb.ada/str_uninit: New testcase.
14929
149302014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14931
14932 PR symtab/17642
14933 * gdb.base/vla-stub-define.c: New file.
14934 * gdb.base/vla-stub.c: New file.
14935 * gdb.base/vla-stub.exp: New file.
14936
149372014-12-12 Phil Muldoon <pmuldoon@redhat.com>
14938 Jan Kratochvil <jan.kratochvil@redhat.com>
14939 Tom Tromey <tromey@redhat.com>
14940
14941 * configure.ac: Add gdb.compile/.
14942 * configure: Regenerate.
14943 * gdb.compile/Makefile.in: New file.
14944 * gdb.compile/compile-ops.exp: New file.
14945 * gdb.compile/compile-ops.c: New file.
14946 * gdb.compile/compile-tls.c: New file.
14947 * gdb.compile/compile-tls.exp: New file.
14948 * gdb.compile/compile-constvar.S: New file.
14949 * gdb.compile/compile-constvar.c: New file.
14950 * gdb.compile/compile-mod.c: New file.
14951 * gdb.compile/compile-nodebug.c: New file.
14952 * gdb.compile/compile-setjmp-mod.c: New file.
14953 * gdb.compile/compile-setjmp.c: New file.
14954 * gdb.compile/compile-setjmp.exp: New file.
14955 * gdb.compile/compile-shlib.c: New file.
14956 * gdb.compile/compile.c: New file.
14957 * gdb.compile/compile.exp: New file.
14958 * lib/gdb.exp (skip_compile_feature_tests): New proc.
14959
149602014-12-12 Tom Tromey <tromey@redhat.com>
14961
14962 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
14963 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
14964
149652014-12-12 Doug Evans <dje@google.com>
14966
14967 * lib/gdb-python.exp (get_python_valueof): New function.
14968 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
14969
149702014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
14971
14972 * gdb.base/completion.exp: Add test for completion of "info
14973 registers ".
14974
149752014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
14976
14977 * gdb.base/func-ptrs.c: New file.
14978 * gdb.base/func-ptrs.exp: New file.
14979
149802014-12-10 Simon Marchi <simon.marchi@ericsson.com>
14981
14982 PR breakpoints/17012
14983 * gdb.base/dprintf-detach.c: New file.
14984 * gdb.base/dprintf-detach.exp: New file.
14985
149862014-12-10 Simon Marchi <simon.marchi@ericsson.com>
14987
14988 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
14989 * lib/gdb.exp (target_is_gdbserver): New procedure.
14990
149912014-12-08 Doug Evans <dje@google.com>
14992
14993 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
14994
149952014-12-05 Yao Qi <yao@codesourcery.com>
14996
14997 * gdb.guile/scm-error.exp: Remove the third argument to
14998 gdb_remote_download.
14999 * gdb.guile/scm-frame-args.exp: Likewise.
15000 * gdb.guile/scm-section-script.exp: Likewise.
15001
150022014-12-05 Yao Qi <yao@codesourcery.com>
15003
15004 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
15005
150062014-12-04 Doug Evans <dje@google.com>
15007
15008 * gdb.python/py-objfile.exp: Add tests for
15009 objfile.add_separate_debug_file.
15010
150112014-12-04 Doug Evans <dje@google.com>
15012
15013 * lib/gdb.exp (get_build_id): New function.
15014 (build_id_debug_filename_get): Rewrite to use it.
15015 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
15016
150172014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
15018
15019 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
15020 `method(long)', not just 0x0.
15021 * gdb.cp/nsalias.exp: Align code labels to 4.
15022 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
15023 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
15024 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
15025 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
15026 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
15027 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
15028
150292014-12-02 Doug Evans <dje@google.com>
15030
15031 PR symtab/17602
15032 * gdb.cp/anon-ns.cc: Move guts of this file to ...
15033 * gdb.cp/anon-ns2.cc: ... here. New file.
15034 * gdb.cp/anon-ns.exp: Update.
15035
150362014-12-02 Nick Bull <nicholaspbull@gmail.com>
15037
15038 * gdb.python/py-events.py (inferior_call_handler): New.
15039 (register_changed_handler, memory_changed_handler): New.
15040 (test_events.invoke): Register new handlers.
15041 * gdb.python/py-events.exp: Add tests for inferior call,
15042 memory_changed and register_changed events.
15043
150442014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
15045
15046 * gdb.base/execl-update-breakpoints.exp: Specify the link address
15047 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
15048 if the linker doesn't understand this.
15049
150502014-12-01 Simon Marchi <simon.marchi@ericsson.com>
15051
15052 * gdb.python/python.exp: Change expected reply to help().
15053
150542014-12-01 Yao Qi <yao@codesourcery.com>
15055
15056 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
15057 AC_CONFIG_SUBDIRS(gdb.gdbtk).
15058 * configure: Re-generated.
15059
150602014-11-28 Siva Chandra Reddy <sivachandra@google.com>
15061
15062 * gdb.cp/chained-calls.cc: New file.
15063 * gdb.cp/chained-calls.exp: New file.
15064 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
15065
150662014-11-28 Simon Marchi <simon.marchi@ericsson.com>
15067
15068 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
15069 * gdb.dwarf2/symtab-producer.exp: Same.
15070 * gdb.gdb/python-interrupts.exp: Same.
15071 * gdb.gdb/python-selftest.exp: Same.
15072 * gdb.python/py-linetable.exp: Same.
15073 * gdb.python/py-type.exp: Same.
15074 * gdb.python/py-value-cc.exp: Same.
15075 * gdb.python/py-value.exp: Same.
15076
150772014-11-28 Yao Qi <yao@codesourcery.com>
15078
15079 * gdb.base/break-probes.exp: Match library name prefixed with
15080 sysroot.
15081
150822014-11-27 Simon Marchi <simon.marchi@ericsson.com>
15083
15084 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
15085 test expected output. Add parentheses for the call to print.
15086 Remove L suffix from integers.
15087
150882014-11-26 Doug Evans <dje@google.com>
15089
15090 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
15091
150922014-11-22 Yao Qi <yao@codesourcery.com>
15093
15094 * gdb.trace/entry-values.c: Remove asms.
15095 (foo): Add foo_label.
15096 (bar): Add bar_label.
15097 * gdb.trace/entry-values.exp: Remove code computing foo's
15098 length and bar's length.
15099 (Dwarf::assemble): Invoke function_range for bar and use
15100 MACRO_AT_func for foo.
15101
151022014-11-22 Yao Qi <yao@codesourcery.com>
15103
15104 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
15105 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
15106 Use .Lgcc43_procstart instead of gcc43.
15107
151082014-11-21 Joel Brobecker <brobecker@adacore.com>
15109
15110 * gdb.ada/n_arr_bound: New testcase.
15111
151122014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
15113
15114 PR breakpoints/10737
15115 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
15116 test_catch_syscall_multi_arch.
15117 (test_catch_syscall_multi_arch): New function.
15118
151192014-11-20 Doug Evans <xdje42@gmail.com>
15120
15121 * gdb.base/maint.exp: Update expected output.
15122
151232014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
15124
15125 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
15126 4-byte instruction on S390.
15127
151282014-11-19 Joel Brobecker <brobecker@adacore.com>
15129
15130 * gdb.ada/arr_arr: New testcase.
15131
151322014-11-19 Joel Brobecker <brobecker@adacore.com>
15133
15134 * gdb.ada/pkd_arr_elem: New Testcase.
15135
151362014-11-18 Luis Machado <lgustavo@codesourcery.com>
15137
15138 * gdb.reverse/break-precsave: Expect completion message for
15139 core file reads.
15140 * gdb.reverse/consecutive-precsave.exp: Likewise.
15141 * gdb.reverse/finish-precsave.exp: Likewise.
15142 * gdb.reverse/i386-precsave.exp: Likewise.
15143 * gdb.reverse/machinestate-precsave.exp: Likewise.
15144 * gdb.reverse/sigall-precsave.exp: Likewise.
15145 * gdb.reverse/solib-precsave.exp: Likewise.
15146 * gdb.reverse/step-precsave.exp: Likewise.
15147 * gdb.reverse/until-precsave.exp: Likewise.
15148 * gdb.reverse/watch-precsave.exp: Likewise.
15149
151502014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15151
15152 * gdb.base/bp-permanent.c: Include unistd.h.
15153 * gdb.python/py-framefilter-mi.c (main): Add return type.
15154 * gdb.python/py-framefilter.c (main): Likewise.
15155 * gdb.trace/actions-changed.c (main): Likewise.
15156
151572014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15158
15159 * gdb.mi/until.c: Add eye-catchers.
15160 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
15161 line numbers.
15162
151632014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15164
15165 * gdb.base/condbreak.exp: Drop references to removed non-prototype
15166 function header variants in break1.c.
15167 * gdb.base/ena-dis-br.exp: Likewise.
15168 * gdb.base/hbreak2.exp: Likewise.
15169 * gdb.reverse/until-precsave.exp: Drop references to removed
15170 non-prototype function header variants in ur1.c.
15171 * gdb.reverse/until-reverse.exp: Likewise.
15172
151732014-11-17 Petr Machata <pmachata@redhat.com>
15174
15175 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
15176 ${_cu_offset_size} bytes abbrev offset.
15177
151782014-11-15 Doug Evans <xdje42@gmail.com>
15179
15180 PR symtab/17559
15181 * gdb.base/line-symtabs.exp: New file.
15182 * gdb.base/line-symtabs.c: New file.
15183 * gdb.base/line-symtabs.h: New file.
15184
151852014-11-14 Yao Qi <yao@codesourcery.com>
15186
15187 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
15188 (func): Add label func_label.
15189 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
15190 Replace low_pc and high_pc with MACRO_AT_range.
15191 Replace name, low_pc and high_pc with MACRO_AT_func.
15192
151932014-11-14 Yao Qi <yao@codesourcery.com>
15194
15195 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
15196 Replace name, low_pc and high_pc with MACRO_AT_func.
15197
151982014-11-14 Yao Qi <yao@codesourcery.com>
15199
15200 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
15201 produce debug information.
15202 * gdb.dwarf2/implptr-optimized-out.S: Removed.
15203
152042014-11-14 Yao Qi <yao@codesourcery.com>
15205
15206 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
15207 object and get function length.
15208 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
15209 with MACRO_AT_func.
15210 (top-level): Replace gdb_compile and clean_restart with
15211 prepare_for_testing.
15212 * gdb.dwarf2/main.c (main): Add label main_label.
15213
152142014-11-14 Yao Qi <yao@codesourcery.com>
15215
15216 * lib/dwarf.exp (function_range): New procedure.
15217 (Dwarf::_handle_macro_at_func): New procedure.
15218 (Dwarf::_handle_macro_at_range): New procedure.
15219 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
15220
152212014-11-14 Yao Qi <yao@codesourcery.com>
15222
15223 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
15224 (_handle_attribute): New procedure.
15225
152262014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15227
15228 * gdb.ada/cond_lang/foo.c (callme): Add return type.
15229 * gdb.base/call-sc.c (zed): Likewise.
15230 * gdb.base/checkpoint.c (main): Likewise.
15231 * gdb.base/dump.c (main): Likewise.
15232 * gdb.base/gcore.c (main): Likewise.
15233 * gdb.base/huge.c (main): Likewise.
15234 * gdb.base/multi-forks.c (main): Likewise.
15235 * gdb.base/pr10179-a.c (main): Likewise.
15236 * gdb.base/savedregs.c (main): Likewise.
15237 * gdb.base/sigaltstack.c (main): Likewise.
15238 * gdb.base/siginfo.c (main): Likewise.
15239 * gdb.base/structs.c (zed): Likewise.
15240 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
15241 * gdb.mi/mi-syn-frame.c (main): Likewise.
15242 * gdb.mi/until.c (foo, main): Likewise.
15243 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
15244 * gdb.base/solib-weak.c (foo): Declare.
15245 * gdb.base/attach-twice.c: Include stdio.h.
15246 * gdb.base/weaklib1.c: Likewise.
15247 * gdb.base/weaklib2.c: Likewise.
15248 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
15249 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
15250 unistd.h.
15251 * gdb.base/attach-pie-misread.c: Include stdlib.h.
15252 * gdb.mi/mi-exit-code.c: Likewise.
15253 * gdb.base/break-interp-lib.c: Include string.h.
15254 * gdb.base/coremaker.c: Likewise.
15255 * gdb.base/testenv.c: Likewise.
15256 * gdb.python/py-finish-breakpoint.c: Likewise.
15257 * gdb.base/inferior-died.c: Include sys/wait.h.
15258 * gdb.base/fileio.c: Include time.h.
15259 * gdb.base/async-shell.c: Include unistd.h.
15260 * gdb.base/dprintf-non-stop.c: Likewise.
15261 * gdb.base/info-os.c: Likewise.
15262 * gdb.mi/mi-console.c: Likewise.
15263 * gdb.mi/watch-nonstop.c: Likewise.
15264 * gdb.python/py-events.c: Likewise.
15265 * gdb.base/async.c (baz): Move up before its invocation.
15266 * gdb.base/code_elim2.c (my_global_func): Likewise.
15267 * gdb.base/skip-solib-lib.c (multiply): Likewise.
15268 * gdb.base/advance.c (func2): Likewise.
15269
152702014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15271
15272 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
15273 variant.
15274 * gdb.base/annota3.c: Likewise.
15275 * gdb.base/async.c: Likewise.
15276 * gdb.base/average.c: Likewise.
15277 * gdb.base/call-ar-st.c: Likewise.
15278 * gdb.base/call-rt-st.c: Likewise.
15279 * gdb.base/call-sc.c: Likewise.
15280 * gdb.base/call-strs.c: Likewise.
15281 * gdb.base/ending-run.c: Likewise.
15282 * gdb.base/execd-prog.c: Likewise.
15283 * gdb.base/exprs.c: Likewise.
15284 * gdb.base/foll-exec.c: Likewise.
15285 * gdb.base/foll-fork.c: Likewise.
15286 * gdb.base/foll-vfork.c: Likewise.
15287 * gdb.base/funcargs.c: Likewise.
15288 * gdb.base/gcore.c: Likewise.
15289 * gdb.base/jump.c: Likewise.
15290 * gdb.base/langs0.c: Likewise.
15291 * gdb.base/langs1.c: Likewise.
15292 * gdb.base/langs2.c: Likewise.
15293 * gdb.base/mips_pro.c: Likewise.
15294 * gdb.base/nodebug.c: Likewise.
15295 * gdb.base/opaque0.c: Likewise.
15296 * gdb.base/opaque1.c: Likewise.
15297 * gdb.base/recurse.c: Likewise.
15298 * gdb.base/run.c: Likewise.
15299 * gdb.base/scope0.c: Likewise.
15300 * gdb.base/scope1.c: Likewise.
15301 * gdb.base/setshow.c: Likewise.
15302 * gdb.base/setvar.c: Likewise.
15303 * gdb.base/shmain.c: Likewise.
15304 * gdb.base/shr1.c: Likewise.
15305 * gdb.base/shr2.c: Likewise.
15306 * gdb.base/sigall.c: Likewise.
15307 * gdb.base/signals.c: Likewise.
15308 * gdb.base/so-indr-cl.c: Likewise.
15309 * gdb.base/solib2.c: Likewise.
15310 * gdb.base/structs.c: Likewise.
15311 * gdb.base/sum.c: Likewise.
15312 * gdb.base/vforked-prog.c: Likewise.
15313 * gdb.base/watchpoint.c: Likewise.
15314 * gdb.reverse/shr2.c: Likewise.
15315 * gdb.reverse/until-reverse.c: Likewise.
15316 * gdb.reverse/ur1.c: Likewise.
15317 * gdb.reverse/watch-reverse.c: Likewise.
15318
153192014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15320
15321 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
15322 variant.
15323 * gdb.base/sepdebug.exp: Drop references to removed code.
15324
153252014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15326
15327 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
15328 variant. Preserve original line numbering.
15329 * gdb.base/list1.c: Likewise.
15330
153312014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15332
15333 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
15334 variant.
15335 * gdb.base/break1.c: Likewise.
15336 * gdb.base/break.exp: Drop references to removed code.
15337
153382014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15339
15340 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
15341 variant.
15342
153432014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15344
15345 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
15346
153472014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15348
15349 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
15350 logic into perform_all_tests() and invoke it with and without
15351 function header prototypes.
15352 (do_function_calls): Remove conditional XFAIL for PR 5318.
15353 (rerun_and_prepare): Remove duplicate code.
15354 (perform_all_tests): New. Main logic moved here.
15355
153562014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15357
15358 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
15359 code guarded by #ifdef NO_PROTOTYPES.
15360 (t_double_many_args): Likewise.
15361 (DEF_FUNC_MANY_ARGS_1): Likewise.
15362 (DEF_FUNC_VALUES_1): Likewise.
15363 (t_structs_ldc): Renamed from t_structs_fc in conditional code
15364 guarded by #ifdef PROTOTYPES.
15365
153662014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15367
15368 * gdb.mi/mi-console.c: Add eye-catcher.
15369 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
15370 instead of literal line number.
15371
153722014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15373
15374 * gdb.base/shr2.c: Add eye-catcher.
15375 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
15376 line number.
15377
153782014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15379
15380 * gdb.base/jump.c: Add eye-catchers.
15381 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
15382 numbers.
15383
153842014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15385
15386 * gdb.base/execd-prog.c: Add eye-catchers.
15387 * gdb.base/foll-exec.c: Likewise.
15388 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
15389 line numbers.
15390
153912014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15392
15393 * gdb.base/ending-run.c: Add eye-catchers.
15394 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
15395 literal line numbers.
15396
153972014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15398
15399 * gdb.base/call-rt-st.c: Add eye-catchers.
15400 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
15401 literal line numbers.
15402
154032014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15404
15405 * gdb.base/call-ar-st.c: Add eye-catchers.
15406 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
15407 literal line numbers.
15408
154092014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15410
15411 * gdb.base/average.c: Add eye-catchers.
15412 * gdb.base/sum.c: Likewise.
15413 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
15414 regexps dynamically.
15415
154162014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15417
15418 * gdb.base/solib1.c: Add eye-catchers.
15419 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
15420 literal line numbers.
15421
154222014-11-12 Pedro Alves <palves@redhat.com>
15423
15424 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
15425 leader has exited.
15426
154272014-11-12 Pedro Alves <palves@redhat.com>
15428
15429 * gdb.arch/i386-bp_permanent.c: New file.
15430 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
15431 (srcfile): Set to i386-bp_permanent.c.
15432 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
15433 that stepi does not execute the 'leave' instruction, instead of
15434 testing it does execute.
15435 * gdb.base/bp-permanent.c: New file.
15436 * gdb.base/bp-permanent.exp: New file.
15437
154382014-11-10 Doug Evans <xdje42@gmail.com>
15439
15440 PR symtab/17564
15441 * gdb.base/symtab-search-order.exp: New file.
15442 * gdb.base/symtab-search-order.c: New file.
15443 * gdb.base/symtab-search-order-1.c: New file.
15444 * gdb.base/symtab-search-order-shlib-1.c: New file.
15445
154462014-11-07 Pedro Alves <palves@redhat.com>
15447
15448 PR gdb/17511
15449 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
15450 i?86-*-linux*.
15451
154522014-11-03 Siva Chandra Reddy <sivachandra@google.com>
15453
15454 PR c++/17494
15455 * gdb.cp/pr17494.cc: New file.
15456 * gdb.cp/pr17494.exp: New file.
15457
154582014-11-02 Yao Qi <yao@codesourcery.com>
15459
15460 * gdb.python/python.exp: Get working directory and match the
15461 output of "set extended-prompt \\w " with it.
15462
154632014-10-30 Doug Evans <dje@google.com>
15464
15465 * gdb.python/py-objfile.exp: Add tests for setting random attributes
15466 in objfiles.
15467 * gdb.python/py-progspace.exp: Add tests for setting random attributes
15468 in progspaces.
15469
154702014-10-30 Janis Johnson <janisjo@codesourcery.com>
15471
15472 * gdb.base/fullpath-expand.exp: Skip for a remote host.
15473 * gdb.base/realname-expand.exp: Likewise.
15474 * gdb.linespec/macro-relative.exp: Likewise.
15475
154762014-10-29 Pedro Alves <palves@redhat.com>
15477
15478 PR gdb/17408
15479 * gdb.threads/schedlock.c (some_function): New function.
15480 (call_function): New global.
15481 (MAYBE_CALL_SOME_FUNCTION): New macro.
15482 (thread_function): Call it.
15483 * gdb.threads/schedlock.exp (get_args): Add description parameter,
15484 and use it instead of a global counter. Adjust all callers.
15485 (get_current_thread): Use "find current thread" for test message
15486 here rather than having all callers pass down the same string.
15487 (goto_loop): New procedure, factored out from ...
15488 (my_continue): ... this.
15489 (step_ten_loops): Change parameter from test message to command to
15490 use. Adjust.
15491 (list_count): Delete global.
15492 (check_result): New procedure, factored out from duplicate top
15493 level code.
15494 (continue tests): Wrap in with_test_prefix.
15495 (test_step): New procedure, factored out from duplicate top level
15496 code.
15497 (top level): Test "step" in combination with all scheduler-locking
15498 modes. Test "next" in combination with all scheduler-locking
15499 modes, and in combination with stepping over a function call or
15500 not.
15501 * gdb.threads/next-bp-other-thread.c: New file.
15502 * gdb.threads/next-bp-other-thread.exp: New file.
15503
155042014-10-29 Pedro Alves <palves@redhat.com>
15505
15506 PR python/17372
15507 * gdb.python/python.exp: Test a multi-line command that spawns
15508 interactive Python.
15509 * gdb.base/multi-line-starts-subshell.exp: New file.
15510
155112014-10-29 Yao Qi <yao@codesourcery.com>
15512
15513 * gdb.base/fileio.exp: Make directories on host.
15514
155152014-10-29 Yao Qi <yao@codesourcery.com>
15516
15517 * gdb.base/fileio.c (test_write): Close the file.
15518
155192014-10-28 Pedro Alves <palves@redhat.com>
15520
15521 PR gdb/12623
15522 * gdb.base/sigstep.c (no_handler): New global.
15523 (main): If 'no_handler is true, set the signal handlers to
15524 SIG_IGN.
15525 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
15526 with_sw_watch and no_handler parameters. Handle them.
15527 (top level) <stepping over handler when stopped at a breakpoint
15528 test>: Add a test axis for testing with a software watchpoint, and
15529 another for testing with the signal handler set to SIG_IGN.
15530 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
15531 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
15532
155332014-10-28 Pedro Alves <palves@redhat.com>
15534
15535 PR gdb/17511
15536 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
15537 * gdb.base/sigstep.exp (other_handler_location): New global.
15538 (advance): Support stepping into the signal handler, and running
15539 commands while in the handler.
15540 (in_handler_map): New global.
15541 (top level): In the advance test, add combinations for getting
15542 into the handler with stepping commands, and for running commands
15543 in the handler. Add comment descripting the advancei tests.
15544
155452014-10-28 Pedro Alves <palves@redhat.com>
15546
15547 * gdb.base/sigstep.exp: Use build_executable instead of
15548 prepare_for_testing.
15549 (top level): Move code that starts GDB, runs to main and creates a
15550 display to ...
15551 (restart): ... this new procedure.
15552 (top level): Move backtrace from signal handler test to ...
15553 (validate_backtrace): ... this new procedure.
15554 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
15555 with_test_prefix. Always restart GDB.
15556 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
15557 with_test_prefix. Always restart GDB. No need to delete
15558 breakpoints after the test.
15559 (test_skip_handler): Remove prefix parameter.
15560 (skip_over_handler, breakpoint_to_handler)
15561 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
15562 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
15563 restart GDB. No need to delete breakpoints after the test.
15564 (top level): Use foreach to call the test procedures with
15565 different commands.
15566
155672014-10-28 Pedro Alves <palves@redhat.com>
15568
15569 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
15570 instead of GNATS numbers.
15571 * gdb.base/sigbpt.exp: Likewise.
15572 * gdb.base/siginfo.exp: Likewise.
15573 * gdb.base/sigstep.exp: Likewise.
15574
155752014-10-27 Pedro Alves <palves@redhat.com>
15576
15577 * gdb.base/sigstep.c (dummy): New global.
15578 (main): Issue a couple writes to the new global.
15579 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
15580 procedures.
15581 (skip_over_handler): Use test_skip_handler.
15582 (top level): Call skip_over_handler for stepi and nexti too.
15583 (breakpoint_over_handler): Use test_skip_handler.
15584 (top level): Call breakpoint_over_handler for stepi and nexti too.
15585
155862014-10-27 Yao Qi <yao@codesourcery.com>
15587
15588 * gdb.trace/tfile.c (adjust_function_address)
15589 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
15590 function descriptor.
15591
155922014-10-24 Don Breazeal <donb@codesourcery.com>
15593
15594 * gdb.base/foll-fork.exp (test_follow_fork,
15595 catch_fork_child_follow): Check for updated fork messages emitted
15596 from infrun.c.
15597 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
15598 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
15599 vfork_and_exec_child_follow_through_step): Check for updated vfork
15600 messages emitted from infrun.c.
15601
156022014-10-24 Pedro Alves <palves@redhat.com>
15603
15604 * gdb.base/corefile.exp: Remove references to ultrix.
15605 * gdb.base/interrupt.exp: Likewise.
15606 * gdb.base/whatis.exp: Likewise.
15607 * gdb.gdb/selftest.exp: Likewise.
15608 * gdb.threads/manythreads.exp: Likewise.
15609 * gdb.threads/print-threads.exp: Likewise.
15610 * gdb.threads/pthreads.exp:: Likewise.
15611 * gdb.threads/schedlock.exp: Likewise.
15612
156132014-10-24 Siva Chandra Reddy <sivachandra@google.com>
15614
15615 * gdb.cp/non-trivial-retval.cc: Add a test case.
15616 * gdb.cp/non-trivial-retval.exp: Add a test.
15617
156182014-10-20 Yao Qi <yao@codesourcery.com>
15619
15620 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
15621 * gdb.python/py-objfile-script-gdb.py: New file.
15622 * gdb.python/py-objfile-script.exp: Update reference to
15623 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
15624 of remote_download. Remove the dest file.
15625
156262014-10-20 Yao Qi <yao@codesourcery.com>
15627
15628 * gdb.base/checkpoint.exp: Don't remove file copied on host.
15629 * gdb.base/step-line.exp: Likewise.
15630 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
15631 * gdb.dwarf2/dw2-basic.exp: Likewise.
15632 * gdb.dwarf2/dw2-compressed.exp: Likewise.
15633 * gdb.dwarf2/dw2-filename.exp: Likewise.
15634 * gdb.dwarf2/dw2-intercu.exp: Likewise.
15635 * gdb.dwarf2/dw2-intermix.exp: Likewise.
15636 * gdb.dwarf2/dw2-producer.exp: Likewise.
15637 * gdb.dwarf2/mac-fileno.exp: Likewise.
15638 * gdb.python/py-frame-args.exp: Likewise.
15639 * gdb.python/py-framefilter.exp: Likewise.
15640 * gdb.python/py-mi.exp: Likewise.
15641 * gdb.python/py-objfile-script.exp: Likewise
15642 * gdb.python/py-pp-integral.exp: Likewise.
15643 * gdb.python/py-pp-re-notag.exp: Likewise.
15644 * gdb.python/py-prettyprint.exp: Likewise.
15645 * gdb.python/py-section-script.exp: Likewise.
15646 * gdb.python/py-typeprint.exp: Likewise.
15647 * gdb.python/py-xmethods.exp: Likewise.
15648 * gdb.stabs/weird.exp: Likewise.
15649 * gdb.xml/tdesc-regs.exp: Likewise.
15650
156512014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
15652
15653 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
15654 (out_cu): Use addr_len for the size of addresses.
15655 (out_line): Likewise. Size DW_LNE_set_address instruction
15656 according to addr_len.
15657 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
15658 (FUNC): Add START_INSNS to definition.
15659
156602014-10-18 Yao Qi <yao@codesourcery.com>
15661
15662 * gdb.base/argv0-symlink.exp: Check argv[0] value if
15663 gdb_has_argv0 return true.
15664 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
15665 check [target_info exists noargs], check [gdb_has_argv0]
15666 instead.
15667 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
15668 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
15669 procedures.
15670
156712014-10-17 Doug Evans <dje@google.com>
15672
15673 * gdb.python/py-events.exp: Update expected output for clear_objfiles
15674 event.
15675 * gdb.python/py-events.py: Add clear_objfiles event.
15676
156772014-10-17 Doug Evans <dje@google.com>
15678
15679 * gdb.python/py-objfile.exp: Test progspace attribute.
15680
156812014-10-17 Luis Machado <lgustavo@codesourcery.com>
15682
15683 * gdb.guile/scm-breakpoint.exp: Do not assume any
15684 directory separators when matching source file paths.
15685 * gdb.python/py-breakpoint.exp: Likewise.
15686 * gdb.reverse/break-precsave.exp: Likewise.
15687 * gdb.reverse/break-reverse.exp: Likewise.
15688 * gdb.reverse/consecutive-precsave.exp: Likewise.
15689 * gdb.reverse/finish-precsave.exp: Likewise.
15690 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
15691 * gdb.reverse/finish-reverse.exp: Likewise.
15692 * gdb.reverse/i386-precsave.exp: Likewise.
15693 * gdb.reverse/i387-env-reverse.exp: Likewise.
15694 * gdb.reverse/i387-stack-reverse.exp: Likewise.
15695 * gdb.reverse/machinestate-precsave.exp: Likewise.
15696 * gdb.reverse/machinestate.exp: Likewise.
15697 * gdb.reverse/sigall-precsave.exp: Likewise.
15698 * gdb.reverse/solib-precsave.exp: Likewise.
15699 * gdb.reverse/step-precsave.exp: Likewise.
15700 * gdb.reverse/until-precsave.exp: Likewise.
15701 * gdb.reverse/watch-precsave.exp: Likewise.
15702 * gdb.reverse/watch-reverse.exp: Likewise.
15703
157042014-10-17 Yao Qi <yao@codesourcery.com>
15705
15706 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
15707 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
15708
157092014-10-17 Pedro Alves <palves@redhat.com>
15710
15711 PR gdb/17471
15712 * gdb.base/bg-execution-repeat.c: New file.
15713 * gdb.base/bg-execution-repeat.exp: New file.
15714
157152014-10-17 Pedro Alves <palves@redhat.com>
15716
15717 PR gdb/17300
15718 * gdb.base/continue-all-already-running.c: New file.
15719 * gdb.base/continue-all-already-running.exp: New file.
15720
157212014-10-17 Pedro Alves <palves@redhat.com>
15722
15723 PR gdb/17472
15724 * gdb.base/annota-input-while-running.c: New file.
15725 * gdb.base/annota-input-while-running.exp: New file.
15726
157272014-10-17 Pedro Alves <palves@redhat.com>
15728
15729 * gdb.base/callfuncs.exp: emove references to osf.
15730 * gdb.base/sigall.exp: Likewise.
15731 * gdb.gdb/selftest.exp: Likewise.
15732 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
15733 * gdb.mi/non-stop.c: Likewise.
15734 * gdb.mi/pthreads.c: Likewise.
15735 * gdb.reverse/sigall-precsave.exp: Likewise.
15736 * gdb.reverse/sigall-reverse.exp: Likewise.
15737 * gdb.threads/pthreads.c: Likewise.
15738 * gdb.threads/pthreads.exp: Likewise.
15739
157402014-10-17 Yao Qi <yao@codesourcery.com>
15741
15742 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
15743 check 'target_info exists noargs'.
15744 (test_command_prompt_position): Likewise.
15745 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
15746 Remove "set args".
15747 (progvar_simple_while_test): Likewise.
15748 (progvar_complex_if_while_test): Likewise.
15749 (if_while_breakpoint_command_test): Likewise.
15750 (infrun_breakpoint_command_test): Likewise.
15751 (breakpoint_command_test): Likewise.
15752 (watchpoint_command_test): Likewise.
15753 (bp_deleted_in_command_test): Likewise.
15754 (temporary_breakpoint_commands): Likewise.
15755
157562014-10-16 Yao Qi <yao@codesourcery.com>
15757
15758 * gdb.base/remotetimeout.exp: Remove noargs checking.
15759
157602014-10-15 Pedro Alves <palves@redhat.com>
15761
15762 PR breakpoints/9649
15763 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
15764 * gdb.base/breakpoint-in-ro-region.exp
15765 (probe_target_hardware_step): New procedure.
15766 (top level): Probe hardware stepping and hardware breakpoint
15767 support. Test stepping through a read-only region, with both
15768 "breakpoint auto-hw" on and off and both "always-inserted" on and
15769 off.
15770
157712014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
15772
15773 * gdb.dlang/demangle.exp: Update for demangling changes.
15774
157752014-10-15 Siva Chandra Reddy <sivachandra@google.com>
15776
15777 * gdb.cp/non-trivial-retval.cc: Add new test cases.
15778 * gdb.cp/non-trivial-retval.exp: Add new tests.
15779
157802014-10-15 Siva Chandra Reddy <sivachandra@google.com>
15781
15782 PR c++/13403
15783 PR c++/15154
15784 * gdb.cp/non-trivial-retval.cc: New file.
15785 * gdb.cp/non-trivial-retval.exp: New file.
15786
157872014-10-15 Yao Qi <yao@codesourcery.com>
15788
15789 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
15790 remote host.
15791
157922014-10-15 Yao Qi <yao@codesourcery.com>
15793
15794 * gdb.python/py-symbol.exp: Match file base name if host is
15795 remote, otherwise match file name with dir name.
15796 * gdb.python/py-symtab.exp: Likewise.
15797 * gdb.python/python.exp: Likewise.
15798
157992014-10-15 Yao Qi <yao@codesourcery.com>
15800
15801 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
15802 pattern.
15803 * gdb.python/py-symtab.exp: Likewise.
15804 * gdb.python/python.exp: Remove trailing ".*". Fix typo
15805 locationn.
15806
158072014-10-14 Joel Brobecker <brobecker@adacore.com>
15808
15809 * gdb.ada/addr_arith: New testcase.
15810
158112014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
15812
15813 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
15814 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
15815 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
15816 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
15817
158182014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
15819
15820 * gdb.arch/stap-eval-lang-ada.S: Likewise.
15821 * gdb.arch/stap-eval-lang-ada.c: Likewise.
15822 * gdb.arch/stap-eval-lang-ada.exp: New file.
15823
158242014-10-14 Yao Qi <yao@codesourcery.com>
15825
15826 * gdb.mi/mi-var-child.c (nothing1): New function.
15827 (nothing2): New function.
15828 (do_children_tests): Set function pointers by nothing1 and
15829 nothing2.
15830 * gdb.mi/mi-var-child.exp: Step over new added statements.
15831 Update test to match the new output.
15832 * gdb.mi/var-cmd.c (nothing1): New function.
15833 (nothing2): New function.
15834 (do_children_tests): Set function pointers by nothing1 and
15835 nothing2.
15836 * gdb.mi/mi-var-display.exp: Update test to match output.
15837 Step to the line specified by $line_dct_nothing.
15838 Increase the number of lines to step.
15839
158402014-10-14 Yao Qi <yao@codesourcery.com>
15841
15842 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
15843 tests.
15844 * gdb.mi/mi2-var-child.exp: Likewise.
15845
158462014-10-13 Doug Evans <dje@google.com>
15847
15848 * gdb.python/py-objfile.exp: Change name of file name test.
15849
158502014-10-13 Doug Evans <dje@google.com>
15851
15852 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
15853 from the start of the CU.
15854
158552014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15856 Yao Qi <yao@codesourcery.com>
15857
15858 Fix "save breakpoints" for "catch" command.
15859 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
15860 Remove -nonewline. Match also the added "main" line.
15861
158622014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15863
15864 Fix "save breakpoints" for "disable $bpnum" command.
15865 * gdb.base/save-bp.c (main): Add label.
15866 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
15867
158682014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15869
15870 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
15871
158722014-10-11 Yao Qi <yao@codesourcery.com>
15873
15874 * gdb.server/server-kill.exp: Execute command
15875 "set remote trace-status-packet on" before "tstatus".
15876
158772014-10-11 Yao Qi <yao@codesourcery.com>
15878
15879 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
15880 (main): Call getppid.
15881 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
15882 and continue to it. Read variable "server_pid".
15883
158842014-10-11 Yao Qi <yao@codesourcery.com>
15885
15886 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
15887
158882014-10-11 Yao Qi <yao@codesourcery.com>
15889
15890 * gdb.threads/thread-find.exp: Don't execute command
15891 "info threads".
15892 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
15893 * gdb.threads/linux-dp.exp: Don't check the condition
15894 $threads_created equals to zero.
15895
158962014-10-10 Pedro Alves <palves@redhat.com>
15897
15898 * gdb.base/bigcore.exp: Remove references to IRIX.
15899 * gdb.base/funcargs.exp: Likewise.
15900 * gdb.base/interrupt.exp: Likewise.
15901 * gdb.base/mips_pro.exp: Likewise.
15902 * gdb.base/nodebug.exp: Likewise.
15903 * gdb.base/setvar.exp: Likewise.
15904 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
15905
159062014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
15907 Pedro Alves <palves@redhat.com>
15908
15909 PR symtab/14466
15910 * gdb.base/vdso-warning.c: New file.
15911 * gdb.base/vdso-warning.exp: New file.
15912
159132014-10-02 Doug Evans <dje@google.com>
15914
15915 * gdb.base/structs.c (main): Don't run forever.
15916
159172014-10-02 Pedro Alves <palves@redhat.com>
15918
15919 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
15920 (top level) <stop threads 1, stop threads 2>: Use it.
15921
159222014-10-02 Pedro Alves <palves@redhat.com>
15923
15924 * gdb.threads/break-while-running.exp (test): Add new
15925 'update_thread_list' argument. Skip "info threads" if false.
15926 (top level): Add new 'update_thread_list' axis.
15927
159282014-10-02 Pedro Alves <palves@redhat.com>
15929
15930 PR breakpoints/17431
15931 * gdb.base/execl-update-breakpoints.c: New file.
15932 * gdb.base/execl-update-breakpoints.exp: New file.
15933
159342014-10-01 Pedro Alves <palves@redhat.com>
15935
15936 * gdb.base/breakpoint-in-ro-region.c: New file.
15937 * gdb.base/breakpoint-in-ro-region.exp: New file.
15938
159392014-10-01 Simon Marchi <simon.marchi@ericsson.com>
15940
15941 * gdb.mi/mi-exit-code.exp: New file.
15942 * gdb.mi/mi-exit-code.c: New file.
15943
159442014-09-30 Yao Qi <yao@codesourcery.com>
15945
15946 * lib/prelink-support.exp (build_executable_own_libs): Error if
15947 the target isn't native.
15948
159492014-09-30 Yao Qi <yao@codesourcery.com>
15950
15951 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
15952 false.
15953
159542014-09-22 Pedro Alves <palves@redhat.com>
15955
15956 * gdb.threads/break-while-running.exp: New file.
15957 * gdb.threads/break-while-running.c: New file.
15958
159592014-09-19 Yao Qi <yao@codesourcery.com>
15960
15961 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
15962 Invoke test. Restart GDB with --readnow and invoke test again.
15963
159642014-09-19 Yao Qi <yao@codesourcery.com>
15965
15966 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
15967 proc set_breakpoint_on_gcd_function. Invoke
15968 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
15969 invoke set_breakpoint_on_gcd_function again.
15970
159712014-09-18 Doug Evans <dje@google.com>
15972
15973 * gdb.dwarf2/symtab-producer.exp: New file.
15974
159752014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
15976
15977 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
15978 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
15979 * gdb.base/global-var-nested-by-dso.c: Likewise.
15980 * gdb.base/global-var-nested-by-dso.exp: Likewise.
15981
159822014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
15983 Pedro Alves <palves@redhat.com>
15984
15985 * gdb.base/watch-bitfields.exp: Pass string other than test file
15986 name to prepare_for_testing.
15987 (watch): New procedure.
15988 (expect_watchpoint): Use with_test_prefix.
15989 (top level): Factor out tests to ...
15990 (test_watch_location, test_regular_watch): ... these new
15991 procedures, and use with_test_prefix and gdb_continue_to_end.
15992
159932014-09-16 Patrick Palka <patrick@parcs.ath.cx>
15994
15995 PR breakpoints/12526
15996 * gdb.base/watch-bitfields.exp: New file.
15997 * gdb.base/watch-bitfields.c: New file.
15998
159992014-09-16 Pedro Alves <palves@redhat.com>
16000
16001 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
16002 software and hardware addresses, not software address against
16003 itself.
16004
160052014-09-16 Pedro Alves <palves@redhat.com>
16006
16007 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
16008 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
16009
160102014-09-16 Pedro Alves <palves@redhat.com>
16011
16012 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
16013 files.
16014 * gdb.base/a2-run.exp: Remove all code guarded by istarget
16015 "*-*-vxworks*" throughout.
16016 * gdb.base/break.exp: Likewise.
16017 * gdb.base/default.exp: Likewise.
16018 * gdb.base/scope.exp: Likewise.
16019 * gdb.base/sepdebug.exp: Likewise.
16020 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
16021 throughout.
16022 * gdb.base/run.c: Likewise.
16023 * gdb.base/sepdebug.c: Likewise.
16024 * gdb.hp/gdb.aCC/run.c: Likewise.
16025 * gdb.reverse/until-reverse.c: Likewise.
16026 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
16027
160282014-09-16 Yao Qi <yao@codesourcery.com>
16029
16030 * boards/local-remote-host-native.exp: New file.
16031
160322014-09-14 Doug Evans <xdje42@gmail.com>
16033
16034 * gdb.threads/queue-signal.c (thread_count): New variable.
16035 (thread_count_mutex, thread_count_condvar): New variables.
16036 (incr_thread_count, wait_all_threads_running): New functions.
16037 (main): Wait for all threads to be in their thread functions.
16038
160392014-09-13 Doug Evans <xdje42@gmail.com>
16040
16041 * gdb.threads/queue-signal.c: New file.
16042 * gdb.threads/queue-signal.exp: New file.
16043
160442014-09-13 Doug Evans <xdje42@gmail.com>
16045
16046 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
16047 be consistent with what default_gdb_init uses.
16048 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
16049 the plain text of the prompt. Add some logging printfs.
16050 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
16051
160522014-09-12 Pedro Alves <palves@redhat.com>
16053
16054 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
16055 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
16056 * gdb.arch/i386-size-overlap.exp: Likewise.
16057 * gdb.arch/i386-size.exp: Likewise.
16058 * gdb.arch/i386-unwind.exp: Likewise.
16059 * gdb.base/a2-run.exp: Likewise.
16060 * gdb.base/break.exp: Likewise.
16061 * gdb.base/charset.exp: Likewise.
16062 * gdb.base/chng-syms.exp: Likewise.
16063 * gdb.base/commands.exp: Likewise.
16064 * gdb.base/dbx.exp: Likewise.
16065 * gdb.base/find.exp: Likewise.
16066 * gdb.base/funcargs.exp: Likewise.
16067 * gdb.base/jit-simple.exp: Likewise.
16068 * gdb.base/reread.exp: Likewise.
16069 * gdb.base/sepdebug.exp: Likewise.
16070 * gdb.base/step-bt.exp: Likewise.
16071 * gdb.cp/mb-inline.exp: Likewise.
16072 * gdb.cp/mb-templates.exp: Likewise.
16073 * gdb.objc/basicclass.exp: Likewise.
16074 * gdb.threads/killed.exp: Likewise.
16075
160762014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16077
16078 PR tdep/17379
16079 * gdb.arch/powerpc-stackless.S: New file.
16080 * gdb.arch/powerpc-stackless.exp: New file.
16081
160822014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16083
16084 * gdb.base/attach.c: Include unistd.h.
16085 (main): Call alarm. Add label postloop.
16086 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
16087 gdb_breakpoint, gdb_continue_to_breakpoint.
16088 (test_command_line_attach_run): Kill ${testpid} in one exit path.
16089
160902014-09-11 Pedro Alves <palves@redhat.com>
16091
16092 PR gdb/17347
16093 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
16094 * gdb.base/attach.exp (test_command_line_attach_run): New
16095 procedure.
16096 (top level): Call it.
16097
160982014-09-11 Pedro Alves <palves@redhat.com>
16099
16100 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
16101 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
16102 (do_command_attach_tests): Use spawn_wait_for_attach.
16103 * gdb.base/solib-overlap.exp: Likewise.
16104 * gdb.multi/multi-attach.exp: Likewise.
16105 * gdb.python/py-prompt.exp: Likewise.
16106 * gdb.python/py-sync-interp.exp: Likewise.
16107 * gdb.server/ext-attach.exp: Likewise.
16108
161092014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
16110
16111 * gdb.fortran/array-element.exp: Remove unexpected "continue"
16112 command in testcase. Simplify testcase.
16113
161142014-09-10 Joel Brobecker <brobecker@adacore.com>
16115
16116 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
16117
161182014-09-10 Joel Brobecker <brobecker@adacore.com>
16119
16120 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
16121
161222014-09-10 Joel Brobecker <brobecker@adacore.com>
16123
16124 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
16125
161262014-09-10 Joel Brobecker <brobecker@adacore.com>
16127
16128 * gdb.dwarf2/dynarr-ptr.c: New file.
16129 * gdb.dwarf2/dynarr-ptr.exp: New file.
16130
161312014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16132
16133 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
16134 of 30 rather than hardcoding 120 for a slow test case. Take the
16135 `gdb,timeout' target setting into account for this calculation.
16136 Don't extend the timeout for the test cases that don't need it.
16137
161382014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16139
16140 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
16141 a factor of 2 for a slow test case. Take the `gdb,timeout'
16142 target setting into account for this calculation.
16143 * gdb.reverse/until-precsave.exp: Increase the timeout by
16144 a factor of 15 and 3 respectively rather than adding 120
16145 for a pair of slow test cases. Take the `gdb,timeout'
16146 target setting into account for this calculation.
16147
161482014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16149
16150 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
16151 timeout, don't pass one down to gdb_expect.
16152 (gdb_expect): Rework timeout selection.
16153
161542014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16155
16156 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
16157 exception on timeout.
16158 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
16159 (gdbserver_start_extended): Catch any `gdbserver_start' error
16160 exceptions.
16161 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
16162 * lib/mi-support.exp (mi_gdb_target_load): Catch any
16163 `gdbserver_gdb_load' error exceptions.
16164
161652014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16166
16167 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
16168 120 on waiting for the TCP socket to open.
16169
161702014-09-09 Doug Evans <xdje42@gmail.com>
16171
16172 * gdb.base/default.exp (show_conv_list): Add _caller_is,
16173 _caller_matches, _any_caller_is, _any_caller_matches.
16174
161752014-09-09 Doug Evans <xdje42@gmail.com>
16176
16177 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
16178
161792014-09-09 Yao Qi <yao@codesourcery.com>
16180
16181 * gdb.mi/mi-var-display.exp: Set print symbol off.
16182
161832014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
16184
16185 PR gdb/17035
16186 * gdb.base/commands.exp: Add tests to verify user-defined
16187 commands with empty bodies.
16188 * gdb.python/py-cmd.exp: Test that we don't show user-defined
16189 python commands in `show user command`.
16190 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
16191 scheme commands in `show user command`.
16192
161932014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
16194
16195 PR python/17355
16196 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
16197 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
16198 * gdb.python/py-framefilter-invalidarg.exp: New file.
16199 * gdb.python/py-framefilter-invalidarg.py: New file.
16200
162012014-09-06 Doug Evans <xdje42@gmail.com>
16202
16203 PR 15276
16204 * gdb.python/py-caller-is.c: New file.
16205 * gdb.python/py-caller-is.exp: New file.
16206
162072014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
16208
16209 PR gdb/17235
16210 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
16211 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
16212
162132014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
16214
16215 PR fortran/17237
16216 * gdb.fortran/print-formatted.exp: New file.
16217 * gdb.fortran/print-formatted.f90: Likewise.
16218
162192014-09-03 Sasha Smundak <asmundak@google.com>
16220
16221 * gdb.python/py-frame.exp: Test Frame.read_register.
16222
162232014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
16224
16225 PR python/16699
16226 * gdb.python/py-completion.exp: New file.
16227 * gdb.python/py-completion.py: Likewise.
16228
162292014-08-28 Doug Evans <dje@google.com>
16230
16231 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
16232 eax,etc. are live with values set by gdb and thus the compiler can't
16233 use them.
16234 * gdb.arch/i386-pseudo.c (main): Ditto.
16235
162362014-08-27 Doug Evans <dje@google.com>
16237
16238 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
16239
162402014-08-25 Doug Evans <dje@google.com>
16241
16242 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
16243 (main): Ditto.
16244
162452014-08-25 Doug Evans <dje@google.com>
16246
16247 * gdb.threads/thread-execl.exp: #include <stdio.h>.
16248
162492014-08-24 Yao Qi <yao@codesourcery.com>
16250
16251 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
16252 symbol off.
16253 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
16254
162552014-08-22 Doug Evans <dje@google.com>
16256
16257 PR 17276
16258 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
16259 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
16260 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
16261
162622014-08-22 Yao Qi <yao@codesourcery.com>
16263
16264 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
16265 * gdb.python/py-finish-breakpoint2.exp: Likewise.
16266 * gdb.python/python.exp: Likewise. Use .py file on the host
16267 instead of the build.
16268
162692014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16270
16271 * gdb.threads/gcore-stale-thread.c: New file.
16272 * gdb.threads/gcore-stale-thread.exp: New file.
16273
162742014-08-21 Pedro Alves <palves@redhat.com>
16275
16276 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
16277 * gdb.base/gcore-relro-pie.exp: Likewise.
16278 * gdb.base/gcore-relro.exp: Likewise.
16279 * gdb.base/gcore.exp: Likewise.
16280 * gdb.base/print-symbol-loading.exp: Likewise.
16281 * gdb.threads/gcore-thread.exp: Likewise.
16282 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
16283
162842014-08-20 Pedro Alves <palves@redhat.com>
16285 Jan Kratochvil <jan.kratochvil@redhat.com>
16286
16287 * Makefile.in (EXTRA_RULES, CC): New variables, get from
16288 configure.
16289 (EXPECT): Handle READ1 being set.
16290 (all): Depend on EXTRA_RULES.
16291 (check-read1, expect-read1, read1.so, read1): New rules.
16292 * README (Testsuite Parameters): Document the READ1 make variable.
16293 (Race detection): New section.
16294 * configure: Regenerate.
16295 * configure.ac: If build==host==target, and running under a
16296 GNU/glibc system, add read1 to the extra Makefile rules.
16297 (EXTRA_RULES): AC_SUBST it.
16298 * lib/read1.c: New file.
16299
163002014-08-20 Joel Brobecker <brobecker@adacore.com>
16301
16302 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
16303 the handling of variables declared as a typedef to an array
16304 which a DW_AT_data_location attribute.
16305
163062014-08-19 Andrew Burgess <aburgess@broadcom.com>
16307 Pedro Alves <palves@redhat.com>
16308
16309 PR symtab/14604
16310 PR symtab/14605
16311 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
16312 gdb_test.
16313
163142014-08-19 Pedro Alves <palves@redhat.com>
16315
16316 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
16317
163182014-08-19 Yao Qi <yao@codesourcery.com>
16319
16320 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
16321 right line.
16322
163232014-08-18 David Blaikie <dblaikie@gmail.com>
16324
16325 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
16326
163272014-08-18 Joel Brobecker <brobecker@adacore.com>
16328
16329 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
16330 attribute in array range.
16331
163322014-08-18 Joel Brobecker <brobecker@adacore.com>
16333
16334 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
16335
163362014-08-15 Siva Chandra Reddy <sivachandra@google.com>
16337
16338 PR c++/17132
16339 * gdb.cp/pr17132.cc: New file.
16340 * gdb.cp/pr17132.exp: New file.
16341
163422014-08-15 Siva Chandra Reddy <sivachandra@google.com>
16343
16344 * gdb.python/py-xmethods.py (A_getarrayind)
16345 (E_method_char_worker.__call__, E_method_int_worker.__call__):
16346 Use 'print' with function call syntax.
16347 (E_method_matcher.match): Fix tab vs space indentation mixup.
16348
163492014-08-15 Yao Qi <yao@codesourcery.com>
16350
16351 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
16352 false.
16353
163542014-08-15 Yao Qi <yao@codesourcery.com>
16355
16356 * gdb.cp/casts.exp: Set print symbol off.
16357 * gdb.cp/class2.exp: Likewise.
16358 * gdb.cp/overload.exp: Likewise.
16359 * gdb.cp/templates.exp: Likewise.
16360
163612014-08-11 Doug Evans <dje@google.com>
16362
16363 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
16364 (test_load_shlib): Update.
16365
163662014-08-09 Yao Qi <yao@codesourcery.com>
16367
16368 * gdb.base/display.exp: Invoke is_address_zero_readable.
16369 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
16370 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
16371 * gdb.base/hbreak-unmapped.exp: Return if
16372 is_address_zero_readable returns true.
16373 * gdb.base/signest.exp: Likewise.
16374 * gdb.base/signull.exp: Likewise.
16375 * gdb.base/sigbpt.exp: Likewise.
16376 * gdb.guile/scm-disasm.exp: Do the test if
16377 is_address_zero_readable returns false.
16378 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
16379 * gdb.python/py-arch.exp: Likewise.
16380 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
16381 * lib/gdb.exp (is_address_zero_readable): New proc.
16382
163832014-08-09 Yao Qi <yao@codesourcery.com>
16384
16385 PR testsuite/13443
16386 * gdb.mi/mi-var-display.exp: Make test messages unique.
16387
163882014-08-04 Tom Tromey <tromey@redhat.com>
16389
16390 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
16391 target 0".
16392
163932014-08-04 Tom Tromey <tromey@redhat.com>
16394
16395 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
16396 "target_resume".
16397
163982014-08-01 Joel Brobecker <brobecker@adacore.com>
16399
16400 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
16401 inner_vla_struct_object_size.
16402 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
16403 as xfail.
16404
164052014-07-30 Pedro Alves <palves@redhat.com>
16406
16407 * gdb.threads/signal-command-handle-nopass.exp (test): Add
16408 comment.
16409
164102014-07-29 Yao Qi <yao@codesourcery.com>
16411
16412 PR gdb/17206
16413 * gdb.base/until-nodebug.exp: New.
16414
164152014-07-28 Doug Evans <xdje42@gmail.com>
16416
16417 PR guile/17203
16418 * gdb.guile/scm-parameter.exp: Add tests for trying to create
16419 previously existing parameter, and previously ambiguously spelled
16420 parameter.
16421
164222014-07-28 Will Newton <will.newton@linaro.org>
16423
16424 * gdb.base/varargs.exp: Remove KFAILs for ARM.
16425
164262014-07-26 Ludovic Courtès <ludo@gnu.org>
16427 Doug Evans <xdje42@gmail.com>
16428
16429 PR guile/17146
16430 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
16431
164322014-07-25 Pedro Alves <palves@redhat.com>
16433
16434 * gdb.threads/signal-command-handle-nopass.c: New file.
16435 * gdb.threads/signal-command-handle-nopass.exp: New file.
16436 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
16437 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
16438 * gdb.threads/signal-delivered-right-thread.c: New file.
16439 * gdb.threads/signal-delivered-right-thread.exp: New file.
16440
164412014-07-25 Pedro Alves <palves@redhat.com>
16442
16443 * gdb.base/double-prompt-target-event-error.exp
16444 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
16445 match.
16446 (cancel_pagination_in_target_event): Rework double prompt
16447 detection.
16448 * gdb.base/paginate-after-ctrl-c-running.exp
16449 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
16450 <return>' match.
16451 * gdb.base/paginate-bg-execution.exp
16452 (test_bg_execution_pagination_return)
16453 (test_bg_execution_pagination_cancel): Remove '-notransfer
16454 <return>' matches.
16455 * gdb.base/paginate-execution-startup.exp
16456 (test_fg_execution_pagination_return)
16457 (test_fg_execution_pagination_cancel): Remove '-notransfer
16458 <return>' matches.
16459 * gdb.base/paginate-inferior-exit.exp
16460 (test_paginate_inferior_exited): Remove '-notransfer <return>'
16461 match.
16462 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
16463 * lib/gdb.exp (pagination_prompt): Run text through
16464 string_to_regexp.
16465 (gdb_test_multiple): Match $pagination_prompt instead of
16466 "<return>".
16467 (string_to_regexp): Move to lib/gdb-utils.exp.
16468
164692014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16470
16471 * gdb.arch/amd64-entry-value-paramref.S: New file.
16472 * gdb.arch/amd64-entry-value-paramref.cc: New file.
16473 * gdb.arch/amd64-entry-value-paramref.exp: New file.
16474 * gdb.arch/amd64-optimout-repeat.S: New file.
16475 * gdb.arch/amd64-optimout-repeat.c: New file.
16476 * gdb.arch/amd64-optimout-repeat.exp: New file.
16477
164782014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
16479
16480 PR gdb/17170
16481 * gdb.base/statistics.exp: New file.
16482
164832014-07-17 Doug Evans <dje@google.com>
16484
16485 PR gdb/17170
16486 * gdb.base/maint.exp: Update testing of per-command stats.
16487
164882014-07-16 Pedro Alves <palves@redhat.com>
16489
16490 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
16491 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
16492 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
16493 (tfile_write_buf): New functions.
16494 (add_memory_block): Rewrite using the above.
16495 (adjust_function_address): New function.
16496 (FUNCTION_ADDRESS): New macro.
16497 (write_basic_trace_file): Remove short_x local, and use
16498 tfile_write_16. Change type of func_addr local to unsigned long
16499 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
16500 here. Cast argument of add_memory_block to char pointer.
16501 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
16502 (main): Remove parameters.
16503 * gdb.trace/tfile.exp: Remove nowarnings.
16504
165052014-07-15 Simon Marchi <simon.marchi@ericsson.com>
16506
16507 * gdb.base/debug-expr.exp: Test string evaluation with
16508 "debug expression" on.
16509
165102014-07-15 Pedro Alves <palves@redhat.com>
16511
16512 * gdb.base/reread.exp: Use clean_restart.
16513
165142014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
16515
16516 * gdb.arch/avr-flash-qualifer.c: New.
16517 * gdb.arch/avr-flash-qualifer.exp: New.
16518
165192014-07-14 Pedro Alves <palves@redhat.com>
16520
16521 * gdb.base/paginate-after-ctrl-c-running.c: New file.
16522 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
16523
165242014-07-14 Pedro Alves <palves@redhat.com>
16525
16526 * gdb.base/double-prompt-target-event-error.c: New file.
16527 * gdb.base/double-prompt-target-event-error.exp: New file.
16528
165292014-07-14 Pedro Alves <palves@redhat.com>
16530
16531 PR gdb/17072
16532 * gdb.base/paginate-inferior-exit.c: New file.
16533 * gdb.base/paginate-inferior-exit.exp: New file.
16534
165352014-07-14 Pedro Alves <palves@redhat.com>
16536
16537 PR gdb/17072
16538 * gdb.base/paginate-bg-execution.c: New file.
16539 * gdb.base/paginate-bg-execution.exp: New file.
16540
165412014-07-14 Pedro Alves <palves@redhat.com>
16542
16543 PR gdb/17072
16544 * gdb.base/paginate-execution-startup.c: New file.
16545 * gdb.base/paginate-execution-startup.exp: New file.
16546 * lib/gdb.exp (pagination_prompt): New global.
16547 (default_gdb_spawn): New procedure, factored out from
16548 default_gdb_spawn.
16549 (default_gdb_start): Adjust to call default_gdb_spawn.
16550 (gdb_spawn): New procedure.
16551
165522014-07-14 Pedro Alves <palves@redhat.com>
16553
16554 * lib/gdb.exp (gdb_assert): New procedure.
16555 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
16556
165572014-07-14 Pedro Alves <palves@redhat.com>
16558
16559 * gdb.base/execution-termios.c: New file.
16560 * gdb.base/execution-termios.exp: New file.
16561
165622014-07-14 Tom Tromey <tromey@redhat.com>
16563
16564 * gdb.cp/vla-cxx.cc: New file.
16565 * gdb.cp/vla-cxx.exp: New file.
16566
165672014-07-14 Tom Tromey <tromey@redhat.com>
16568
16569 * gdb.reverse/rerun-prec.c: New file.
16570 * gdb.reverse/rerun-prec.exp: New file.
16571
165722014-07-12 Maciej W. Rozycki <macro@mips.com>
16573 Maciej W. Rozycki <macro@codesourcery.com>
16574
16575 * lib/gdb-utils.exp: New file.
16576 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
16577 inline `gdb_init_command' processing.
16578 (gdb_start_cmd): Likewise.
16579 * lib/mi-support.exp (mi_run_cmd): Likewise.
16580 * README: Document `gdb_init_command' and `gdb_init_commands'.
16581
165822014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16583
16584 Fix false FAIL running under a very long directory name.
16585 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
16586 and "set print elements 10000". Twice.
16587
165882014-07-11 Yao Qi <yao@codesourcery.com>
16589
16590 * gdb.base/exprs.exp: "set print symbol off".
16591
165922014-07-11 Pedro Alves <palves@redhat.com>
16593
16594 * gdb.threads/kill.c: New file.
16595 * gdb.threads/kill.exp: New file.
16596
165972014-07-10 Yao Qi <yao@codesourcery.com>
16598
16599 * gdb.trace/tfile.c (write_basic_trace_file)
16600 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
16601 address written to trace file.
16602
166032014-07-09 Pedro Alves <palves@redhat.com>
16604
16605 * gdb.base/attach-wait-input.exp: New file.
16606 * gdb.base/attach-wait-input.c: New file.
16607
166082014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
16609
16610 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
16611 setting up test structures.
16612 (main): Call new test function.
16613 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
16614 test function, continue into test function and walk test
16615 structures.
16616
166172014-07-02 Yao Qi <yao@codesourcery.com>
16618
16619 * gdb.trace/entry-values.c: Define labels 'foo_start' and
16620 'bar_start' at the beginning of functions 'foo' and 'bar'
16621 respectively.
16622 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
16623 instead of 'foo' and 'bar'.
16624
166252014-07-08 Markus Metzger <markus.t.metzger@intel.com>
16626
16627 * gdb.btrace/segv.exp: New.
16628 * gdb.btrace/segv.c: New.
16629
166302014-07-02 Luis Machado <lgustavo@codesourcery.com>
16631
16632 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
16633 instruction.
16634
166352014-06-30 Mark Wielaard <mjw@redhat.com>
16636
16637 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
16638 vulture, vilify, villar): New volatile array constants.
16639 (vindictive, vegetation): New const volatile array constants.
16640 * gdb.base/volatile.exp: Test volatile and const volatile array
16641 types.
16642
166432014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
16644
16645 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
16646 target lacks support for awatch, rwatch, or hbreak.
16647
166482014-06-27 Yao Qi <yao@codesourcery.com>
16649
16650 * gdb.multi/dummy-frame-restore.exp: New.
16651 * gdb.multi/dummy-frame-restore.c: New.
16652
166532014-06-25 Markus Metzger <markus.t.metzger@intel.com>
16654
16655 * gdb.btrace/gcore.exp: New.
16656
166572014-06-23 Pedro Alves <palves@redhat.com>
16658
16659 * gdb.base/watchpoint-reuse-slot.c: New file.
16660 * gdb.base/watchpoint-reuse-slot.exp: New file.
16661
166622014-06-23 Siva Chandra Reddy <sivachandra@google.com>
16663
16664 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
16665 progspace's filename in 'info', 'enable' and 'disable' command
16666 tests.
16667
166682014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
16669
16670 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
16671 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
16672 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
16673
166742014-06-20 Gary Benson <gbenson@redhat.com>
16675
16676 * gdb.arch/i386-avx.exp: Fix include file location.
16677 * gdb.arch/i386-sse.exp: Likewise.
16678
166792014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
16680
16681 * gdb.dlang/expression.exp: New file.
16682
166832014-06-19 Pedro Alves <palves@redhat.com>
16684
16685 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
16686 out from ...
16687 (top level): ... here. Iterate running tests under different
16688 scheduler-locking settings.
16689
166902014-06-18 Luis Machado <lgustavo@codesourcery.com>
16691
16692 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
16693 to DW_FORM_addr and use non-zero addresses.
16694
166952014-06-18 Siva Chandra Reddy <sivachandra@google.com>
16696
16697 PR gdb/17017
16698 * gdb.python/py-xmethods.cc: Add global function call counters and
16699 increment them in their respective functions. Remove "cout"
16700 statements.
16701 * gdb.python/py-xmethods.exp: Make tests check the global function
16702 call counters instead of depending on inferior IO.
16703
167042014-06-18 Don Breazeal <donb@codesourcery.com>
16705
16706 * gdb.base/foll-fork.exp (default_fork_parent_follow):
16707 Deleted procedure.
16708 (explicit_fork_parent_follow): Deleted procedure.
16709 (explicit_fork_child_follow): Deleted procedure.
16710 (test_follow_fork): New procedure.
16711 (do_fork_tests): Replace calls to deleted procedures with
16712 calls to test_follow_fork and reset GDB for subsequent
16713 procedure calls.
16714
167152014-06-17 Yao Qi <yao@codesourcery.com>
16716
16717 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
16718 CP1252.
16719
167202014-06-17 Luis Machado <lgustavo@codesourcery.com>
16721
16722 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
16723 Initialize ptr and S explicitly.
16724 (skip_type_update_when_not_use_rtti_test): Likewise.
16725
167262014-06-16 Keith Seitz <keiths@redhat.com>
16727
16728 PR mi/15863
16729 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
16730 the inferior is started.
16731
167322014-06-16 Pedro Alves <palves@redhat.com>
16733
16734 * gdb.base/break-main-file-remove-fail.c: New file.
16735 * gdb.base/break-main-file-remove-fail.exp: New file.
16736 * gdb.base/break-unload-file.exp: Use build_executable instead of
16737 prepare_for_testing.
16738 (test_break): New parameter "initial_load". Handle it.
16739 (top level): Add initial_load cmdline/file axis.
16740
167412014-06-12 Tom Tromey <tromey@redhat.com>
16742
16743 * gdb.base/completion.exp: Don't use directory name in test.
16744
167452014-06-09 Gary Benson <gbenson@redhat.com>
16746
16747 * gdb.base/sigall.c [Functions to send signals]: Reorder to
16748 separate the always-available ANSI-standard signals from the
16749 signals that require checking.
16750 (main): Likewise.
16751 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
16752 Likewise.
16753 (main): Likewise.
16754
167552014-06-07 Keith Seitz <keiths@redhat.com>
16756
16757 Revert:
16758 PR c++/16253
16759 * gdb.cp/var-tag.cc: New file.
16760 * gdb.cp/var-tag.exp: New file.
16761 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
16762 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
16763 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
16764 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
16765
167662014-06-06 Doug Evans <xdje42@gmail.com>
16767
16768 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
16769
167702014-06-06 Pedro Alves <palves@redhat.com>
16771
16772 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
16773 in target debug output instead of looking at RSP packets,
16774 disabling the test on any target that uses hardware stepping.
16775 Update comments.
16776
167772014-06-06 Pedro Alves <palves@redhat.com>
16778
16779 * gdb.base/break-unload-file.exp: Fix typo.
16780
167812014-06-06 Yao Qi <yao@codesourcery.com>
16782
16783 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
16784 from "jit_function" to "^jit_function".
16785
167862014-06-06 Yao Qi <yao@codesourcery.com>
16787
16788 * gdb.base/async.c (foo): Add one statement.
16789 * gdb.base/async.exp: Get the next instruction address and
16790 match the output of "nexti" by instruction address. Match
16791 the hex address in the output of "finish".
16792
167932014-06-06 Gary Benson <gbenson@redhat.com>
16794
16795 * gdb.base/call-signals.c: Remove preprocessor conditionals
16796 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
16797 SIGSEGV and SIGTERM.
16798 * gdb.base/sigall.c: Likewise.
16799 * gdb.base/unwindonsignal.c: Likewise.
16800 * gdb.reverse/sigall-reverse.c: Likewise.
16801
168022014-06-06 Yao Qi <yao@codesourcery.com>
16803
16804 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
16805 readable, skip the test.
16806
168072014-06-06 Yao Qi <yao@codesourcery.com>
16808
16809 * gdb.threads/staticthreads.c (thread_function): Move the line
16810 setting breakpoint on forward.
16811 * gdb.threads/staticthreads.exp: Update comments.
16812
168132014-06-05 Ludovic Courtès <ludo@gnu.org>
16814
16815 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
16816 "history-append! type error".
16817
168182014-06-05 Simon Marchi <simon.marchi@ericsson.com>
16819
16820 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
16821 erroneous dprintf expected input.
16822
168232014-06-04 Doug Evans <xdje42@gmail.com>
16824
16825 * gdb.guile/scm-generics.exp: Delete.
16826
168272014-06-04 Doug Evans <xdje42@gmail.com>
16828
16829 * gdb.guile/scm-breakpoint.exp: Update.
16830 Add tests for breakpoint registration.
16831
168322014-06-04 Tom Tromey <tromey@redhat.com>
16833
16834 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
16835 VLA-in-union.
16836 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
16837 inner_vla_struct, vla_union types. Initialize objects of those
16838 types and compute their sizes.
16839
168402014-06-04 Nathan Sidwell <nathan@codesourcery.com>
16841 Hui Zhu <hui@codesourcery.com>
16842
16843 * gdb.base/fileio.exp: Add test for shell not available as well as
16844 available.
16845 * gdb.base/fileio.c (test_system): Check for shell twice.
16846
168472014-06-04 Yao Qi <yao@codesourcery.com>
16848
16849 * gdb.base/auto-connect-native-target.exp: Remove redundant
16850 space from the regexp pattern.
16851
168522014-06-04 Yao Qi <yao@codesourcery.com>
16853
16854 * gdb.base/default.exp: Replace "child" with "native" in
16855 regexp pattern.
16856
168572014-06-03 Siva Chandra Reddy <sivachandra@google.com>
16858
16859 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
16860 * gdb.python/py-xmethods.exp: New tests to test xmethods.
16861 * gdb.python/py-xmethods.py: Python script supporting the
16862 new testcase and tests.
16863
168642014-06-03 Joel Brobecker <brobecker@adacore.com>
16865 Pedro Alves <palves@redhat.com>
16866
16867 PR breakpoints/17000
16868 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
16869 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
16870
168712014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
16872
16873 * gdb.base/subst.exp: Add tests to verify partial path matching
16874 output.
16875
168762014-06-03 Pedro Alves <palves@redhat.com>
16877
16878 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
16879 target that doesn't use software single-stepping.
16880
168812014-06-03 Pedro Alves <palves@redhat.com>
16882
16883 PR breakpoints/17000
16884 * gdb.base/sss-bp-on-user-bp-2.c: New file.
16885 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
16886
168872014-06-02 Doug Evans <xdje42@gmail.com>
16888
16889 * gdb.guile/scm-parameter.exp: New file.
16890
168912014-06-02 Doug Evans <xdje42@gmail.com>
16892
16893 * gdb.guile/scm-cmd.c: New file.
16894 * gdb.guile/scm-cmd.exp: New file.
16895
168962014-06-02 Doug Evans <xdje42@gmail.com>
16897
16898 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
16899 pretty-printer lookup.
16900 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
16901 (make-pp_s-printer): Call it.
16902 (make-pretty-printer-from-dict): New function.
16903 (lookup-pretty-printer-maker-from-dict): New function.
16904 (*pretty-printer*): Simplify.
16905 (make-objfile-pp_s-printer): New function.
16906 (install-objfile-pretty-printers!): New function.
16907 (make-progspace-pp_s-printer): New function.
16908 (install-progspace-pretty-printers!): New function.
16909 * gdb.guile/scm-progspace.c: New file.
16910 * gdb.guile/scm-progspace.exp: New file.
16911
169122014-06-02 Pedro Alves <palves@redhat.com>
16913
16914 * gdb.base/dprintf-bp-same-addr.c: New file.
16915 * gdb.base/dprintf-bp-same-addr.exp: New file.
16916
169172014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16918
16919 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
16920 * gdb.arch/powerpc-power.s: Likewise.
16921
169222014-06-02 Joel Brobecker <brobecker@adacore.com>
16923
16924 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
16925
169262014-06-01 Yao Qi <yao@codesourcery.com>
16927
16928 * gdb.base/watchpoint.exp (test_watch_location): Check null
16929 pointer can be dereferenced. If not, do the test, otherwise
16930 skip it.
16931
169322014-05-30 Andrew Burgess <aburgess@broadcom.com>
16933
16934 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
16935 results.
16936 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
16937
169382014-05-30 Andrew Burgess <aburgess@broadcom.com>
16939
16940 * gdb.arch/amd64-invalid-stack-middle.S: New file.
16941 * gdb.arch/amd64-invalid-stack-middle.c: New file.
16942 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
16943 * gdb.arch/amd64-invalid-stack-top.c: New file.
16944 * gdb.arch/amd64-invalid-stack-top.exp: New file.
16945
169462014-05-30 Pedro Alves <palves@redhat.com>
16947
16948 PR breakpoints/17000
16949 * gdb.base/sss-bp-on-user-bp.c: New file.
16950 * gdb.base/sss-bp-on-user-bp.exp: New file.
16951
169522014-05-30 David Blaikie <dblaikie@gmail.com>
16953
16954 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
16955 gnu_inline semantics via attribute.
16956 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
16957 source explicitly specifies the required semantics.
16958
169592014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
16960
16961 * gdb.reverse/sigall-reverse.exp: Fix a typo.
16962
169632014-05-29 Pedro Alves <palves@redhat.com>
16964 Tom Tromey <tromey@redhat.com>
16965
16966 * gdb.base/async-shell.exp: Don't enable target-async.
16967 * gdb.base/async.exp
16968 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
16969 parameter. Adjust.
16970 (top level): Don't test with "target-async".
16971 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
16972 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
16973 * gdb.base/inferior-died.exp: Don't enable target-async.
16974 * gdb.base/interrupt-noterm.exp: Likewise.
16975 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
16976 * gdb.mi/mi-nonstop-exit.exp: Likewise.
16977 * gdb.mi/mi-nonstop.exp: Likewise.
16978 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
16979 * gdb.mi/mi-nsintrall.exp: Likewise.
16980 * gdb.mi/mi-nsmoribund.exp: Likewise.
16981 * gdb.mi/mi-nsthrexec.exp: Likewise.
16982 * gdb.mi/mi-watch-nonstop.exp: Likewise.
16983 * gdb.multi/watchpoint-multi.exp: Adjust comment.
16984 * gdb.python/py-evsignal.exp: Don't enable target-async.
16985 * gdb.python/py-evthreads.exp: Likewise.
16986 * gdb.python/py-prompt.exp: Likewise.
16987 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
16988 * gdb.server/solib-list.exp: Don't enable target-async.
16989 * gdb.threads/thread-specific-bp.exp: Likewise.
16990 * lib/mi-support.exp: Adjust to use mi-async.
16991
169922014-05-29 Pedro Alves <palves@redhat.com>
16993
16994 PR gdb/13860
16995 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
16996 reason, even in sync mode.
16997
169982014-05-29 Pedro Alves <palves@redhat.com>
16999 Hui Zhu <hui@codesourcery.com>
17000
17001 PR PR15693
17002 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
17003 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
17004 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
17005 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
17006
170072014-05-28 Joel Brobecker <brobecker@adacore.com>
17008
17009 * config/monitor.exp (gdb_target_monitor): Replace use of
17010 "set remotebaud" by "set serial baud".
17011
170122014-05-26 Andy Wingo <wingo@igalia.com>
17013
17014 * gdb.guile/scm-breakpoint.exp:
17015 * gdb.guile/scm-gsmob.exp: Update to use plain old object
17016 properties instead of gdb-object-properties.
17017
170182014-05-26 Yao Qi <yao@codesourcery.com>
17019
17020 * gdb.server/no-thread-db.exp: Specify source file name
17021 explicitly when setting a breakpoint.
17022
170232014-05-23 Markus Metzger <markus.t.metzger@intel.com>
17024
17025 * gdb.btrace/vdso.c: New.
17026 * gdb.btrace/vdso.exp: New.
17027
170282014-05-23 Markus Metzger <markus.t.metzger@intel.com>
17029
17030 * gdb.base/gcore.exp (capture_command_output): Move ...
17031 * lib/gdb.exp (capture_command_output): ... here.
17032
170332014-05-23 Markus Metzger <markus.t.metzger@intel.com>
17034
17035 * gdb.btrace/data.exp: Test memory access during btrace replay.
17036
170372014-05-22 Simon Marchi <simon.marchi@ericsson.com>
17038
17039 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
17040
170412014-05-21 Pedro Alves <palves@redhat.com>
17042
17043 PR gdb/13860
17044 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
17045 (top level): Test that output related to execution commands is
17046 sent to the console with CLI commands, but not with MI commands.
17047 Test that breakpoint events are always mirrored to the console.
17048 Also expect the new source line to be output after a "next" in
17049 async mode too. Make it a pass/fail test.
17050 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
17051 output.
17052 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
17053
170542014-05-21 Pedro Alves <palves@redhat.com>
17055
17056 * gdb.base/list.exp (build_pattern, test_list): New procedures.
17057 Use them to test variations of "list" after reaching a breakpoint.
17058 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
17059 Test "list" with listsize 10 after reaching a breakpoint.
17060 * gdb.python/python.exp (decode_line current location line
17061 number): Adjust expected line number.
17062
170632014-05-21 Simon Marchi <simon.marchi@ericsson.com>
17064
17065 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
17066 behavior for $args, pass it directly to "run".
17067
170682014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
17069
17070 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
17071 30000 to 65536.
17072
170732014-05-21 Pedro Alves <palves@redhat.com>
17074
17075 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
17076 auto-connect-native-target off".
17077 * gdb.base/auto-connect-native-target.c: New file.
17078 * gdb.base/auto-connect-native-target.exp: New file.
17079
170802014-05-21 Pedro Alves <palves@redhat.com>
17081
17082 * gdb.base/default.exp: Test "target native" instead of "target
17083 child".
17084
170852014-05-21 Mark Wielaard <mjw@redhat.com>
17086
17087 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
17088
170892014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
17090
17091 Fix TLS access for -static -pthread.
17092 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
17093 <HAVE_TLS> (thread_function, main): Initialize it.
17094 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
17095 Add clean_restart.
17096 <$have_tls != "">: Check TLSVAR.
17097
170982014-05-21 Pedro Alves <palves@redhat.com>
17099
17100 * gdb.base/dcache-line-read-error.c: New.
17101 * gdb.base/dcache-line-read-error.exp: New.
17102
171032014-05-20 Pedro Alves <palves@redhat.com>
17104
17105 * gdb.base/compare-sections.c: New file.
17106 * gdb.base/compare-sections.exp: New file.
17107
171082014-05-20 Pedro Alves <palves@redhat.com>
17109
17110 * gdb.base/break-idempotent.c: New file.
17111 * gdb.base/break-idempotent.exp: New file.
17112
171132014-05-20 Markus Metzger <markus.t.metzger@intel.com>
17114
17115 * gdb.btrace/nohist.exp: New.
17116
171172014-05-20 Yao Qi <yao@codesourcery.com>
17118
17119 * lib/gdb.exp (gdb_init): Set timeout if test file is under
17120 gdb.reverse directory and gdb_reverse_timeout exists in board
17121 setting.
17122 * README: Document gdb_reverse_timeout.
17123
171242014-05-20 Yao Qi <yao@codesourcery.com>
17125
17126 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
17127 'test_file_name'. Treat args as a string instead of a list.
17128 (gdb_init): Rename argument 'args' by 'test_file_name'.
17129
171302014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
17131
17132 * gdb.arch/powerpc-power.exp: New file.
17133 * gdb.arch/powerpc-power.s: New file.
17134
171352014-05-16 Doug Evans <dje@google.com>
17136
17137 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
17138 * gdb.base/completion.exp: Check that all expected files exist
17139 before doing file completion.
17140
171412014-05-16 Doug Evans <dje@google.com>
17142
17143 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
17144 Update.
17145 (do_syscall_tests_without_xml): Update.
17146
171472014-05-16 Pedro Alves <palves@redhat.com>
17148
17149 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
17150 instead of "unknown output after running".
17151
171522014-05-16 Yao Qi <yao@codesourcery.com>
17153
17154 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
17155 file1.txt from host at the end.
17156 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
17157
171582014-05-15 Doug Evans <dje@google.com>
17159
17160 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
17161 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
17162 loading file. Add test for TU lookup.
17163
171642014-05-15 Simon Marchi <simon.marchi@ericsson.com>
17165
17166 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
17167 calling "-exec-arguments" or "set args" before running the
17168 inferior.
17169
171702014-05-15 Simon Marchi <simon.marchi@ericsson.com>
17171
17172 * lib/mi-support.exp (mi_expect_stop): Expect message for
17173 inferiors that exit with non-zero exit code.
17174
171752014-05-14 Yao Qi <yao@codesourcery.com>
17176
17177 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
17178 match absolute path on remote host.
17179 (test_file_list_exec_source_files): Remove "/" from the
17180 pattern.
17181
171822014-05-14 Yao Qi <yao@codesourcery.com>
17183
17184 * boards/local-remote-host-notty.exp (${board}_file): New
17185 proc.
17186
171872014-05-07 Kyle McMartin <kyle@redhat.com>
17188
17189 Pushed by Joel Brobecker <brobecker@adacore.com>.
17190 * gdb.arch/aarch64-atomic-inst.c: New file.
17191 * gdb.arch/aarch64-atomic-inst.exp: New file.
17192
171932014-05-07 Yao Qi <yao@codesourcery.com>
17194
17195 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
17196 in current context" too.
17197
171982014-05-05 Keith Seitz <keiths@redhat.com>
17199
17200 * gdb.linespec/ls-dollar.exp: Add test for linespec
17201 file:convenience_variable.
17202
172032014-05-05 Yao Qi <yao@codesourcery.com>
17204
17205 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
17206 traceframes into tfile and ctf trace files. Read data from
17207 trace file and test collected data.
17208 (gdb_collect_locals_test): Likewise.
17209 (gdb_unavailable_registers_test): Likewise.
17210 (gdb_unavailable_floats): Likewise.
17211 (gdb_collect_globals_test): Likewise.
17212 (top-level): Append "ctf" to trace_file_targets if GDB
17213 supports.
17214
172152014-05-05 Yao Qi <yao@codesourcery.com>
17216
17217 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
17218 code to ...
17219 (gdb_collect_args_test_1): ... it. New proc.
17220 (gdb_collect_locals_test): Move some code to ...
17221 (gdb_collect_locals_test_1): ... it. New proc.
17222 (gdb_unavailable_registers_test): Move some code to ...
17223 (gdb_unavailable_registers_test_1): ... it. New proc.
17224 (gdb_unavailable_floats): Move some code to ...
17225 (gdb_unavailable_floats_1): ... it. New proc.
17226
172272014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
17228
17229 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
17230 probes to test for bitness recognition.
17231 * gdb.arch/amd64-stap-optional-prefix.exp
17232 (test_probe_value_without_reg): New procedure.
17233 Add code to test for different kinds of bitness.
17234
172352014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
17236
17237 PR breakpoints/16889
17238 * gdb.arch/amd64-stap-optional-prefix.S: New file.
17239 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
17240
172412014-05-01 Pedro Alves <palves@redhat.com>
17242
17243 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
17244 gdb_file_cmd if no file is specified.
17245 * boards/native-extended-gdbserver.exp (gdb_load): Use the
17246 last_loaded_file to set the remote exec-file.
17247
172482014-05-01 Pedro Alves <palves@redhat.com>
17249
17250 * boards/local-remote-host.exp: New file.
17251
172522014-05-01 Pedro Alves <palves@redhat.com>
17253
17254 * boards/local-remote-host.exp: Rename to ...
17255 * boards/local-remote-host-notty.exp: ... this.
17256
172572014-04-28 Joel Brobecker <brobecker@adacore.com>
17258
17259 * gdb.ada/dyn_arrayidx: New testcase.
17260
172612014-04-26 Yao Qi <yao@codesourcery.com>
17262
17263 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
17264 and compute the length of function main. Save it in
17265 $main_length.
17266 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
17267 (top-level): Use gdb_compile to compile objects into
17268 executable and restart GDB. Remove invocation to
17269 prepare_for_testing.
17270
172712014-04-25 Simon Marchi <simon.marchi@ericsson.com>
17272 Pedro Alves <palves@redhat.com>
17273
17274 PR server/16255
17275 * gdb.multi/multi-attach.c: New file.
17276 * gdb.multi/multi-attach.exp: New file.
17277
172782014-04-25 Pedro Alves <palves@redhat.com>
17279
17280 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
17281 user.
17282 (top level): Test that "set remote conditional-breakpoints-packet
17283 off" works as intended.
17284 * gdb.base/dprintf.exp: Test that "set remote
17285 breakpoint-commands-packet off" works as intended.
17286 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
17287 New function.
17288 (top level): Call it.
17289 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
17290 remote fast-tracepoints-packet off" works as intended.
17291 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
17292 * lib/gdb.exp (gdb_is_target_remote): ... here.
17293
172942014-04-24 David Blaikie <dblaikie@gmail.com>
17295
17296 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
17297 ensure clang would not discard them.
17298 * gdb.base/gdbvars.c: Ditto.
17299 * gdb.base/memattr.c: Ditto.
17300 * gdb.base/whatis.c: Ditto.
17301 * gdb.python/py-prettyprint.c: Ditto.
17302 * gdb.trace/actions.c: Ditto.
17303 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
17304 ensure clang would not discard it.
17305
173062014-04-24 David Blaikie <dblaikie@gmail.com>
17307
17308 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
17309 clang to emit the full definition of type required by the test
17310 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
17311
173122014-04-24 David Blaikie <dblaikie@gmail.com>
17313
17314 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
17315 coax Clang into emitting the definition of the type.
17316 * gdb.cp/pr10728-x.h (y): Ditto.
17317 * gdb.cp/pr10728-y.cc (y): Ditto.
17318
173192014-04-24 David Blaikie <dblaikie@gmail.com>
17320
17321 * gdb.base/label.exp: XFAIL label related tests under Clang.
17322 * gdb.cp/cplabel.exp: Ditto.
17323 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
17324 under Clang those using labels.
17325
173262014-04-25 Yao Qi <yao@codesourcery.com>
17327
17328 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
17329 double_label.
17330 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
17331 partial_label and double_label.
17332
173332014-04-24 David Blaikie <dblaikie@gmail.com>
17334
17335 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
17336
173372014-04-24 David Blaikie <dblaikie@gmail.com>
17338
17339 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
17340 of the function to work across GCC and Clang.
17341 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
17342 pointer types (const void ** const V void **).
17343
173442014-04-24 Michael Sturm <michael.sturm@mintel.com>
17345 Walfred Tedeschi <walfred.tedeschi@intel.com>
17346
17347 * Makefile.in (EXECUTABLES): Added i386-avx512.
17348 * gdb.arch/i386-avx512.c: New file.
17349 * gdb.arch/i386-avx512.exp: Likewise.
17350
173512014-04-23 Keith Seitz <keiths@redhat.com>
17352
17353 * lib/mi-support.exp (mi_list_breakpoints): Delete.
17354 (mi_make_breakpoint_table): New procedure.
17355 (mi_create_breakpoint): Use mi_make_breakpoint
17356 and return the result.
17357 (mi_make_breakpoint): New procedure.
17358 (mi_build_kv_pairs): New procedure.
17359
17360 * gdb.mi/mi-break.exp: Remove unused globals,
17361 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
17362 All callers updated.
17363 * gdb.mi/mi-dprintf.exp: Use variable to track command
17364 number.
17365 Update all callers of mi_create_breakpoint and use
17366 mi_make_breakpoint_table.
17367 Remove any unused global variables.
17368 * gdb.mi/mi-nonstop.exp: Likewise.
17369 * gdb.mi/mi-nsintrall.exp: Likewise.
17370 * gdb.mi/mi-nsmoribund.exp: Likewise.
17371 * gdb.mi/mi-nsthrexec.exp: Likewise.
17372 * gdb.mi/mi-reverse.exp: Likewise.
17373 * gdb.mi/mi-simplerun.exp: Likewise.
17374 * gdb.mi/mi-stepn.exp: Likewise.
17375 * gdb.mi/mi-syn-frame.exp: Likewise.
17376 * gdb.mi/mi-until.exp: Likewise.
17377 * gdb.mi/mi-var-cp.exp: Likewise.
17378 * gdb.mi/mi-var-display.exp: Likewise.
17379 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
17380 * gdb.mi/mi2-var-child.exp: Likewise.
17381 * gdb.mi/mi-vla-c99.exp: Likewise.
17382 * lib/mi-support.exp: Likewise.
17383
17384 From Ian Lance Taylor <iant@cygnus.com>:
17385 * lib/gdb.exp (parse_args): New procedure.
17386
173872014-04-23 Pedro Alves <palves@redhat.com>
17388
17389 * gdb.base/break-unload-file.c: New file.
17390 * gdb.base/break-unload-file.exp: New file.
17391 * gdb.base/sym-file-lib.c (baz): New function.
17392 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
17393 field.
17394 (load): Store the segment's mapped size.
17395 (unload): New function.
17396 (unload_shlib): New function.
17397 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
17398 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
17399 set a breakpoint at baz, and call it.
17400 * gdb.base/sym-file.exp: New tests for stale breakpoint
17401 instructions.
17402
174032014-04-23 Pedro Alves <palves@redhat.com>
17404
17405 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
17406 * gdb.base/hbreak-in-shr-unsupported.c: New file.
17407 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
17408 * gdb.base/hbreak-unmapped.c: New file.
17409 * gdb.base/hbreak-unmapped.exp: New file.
17410 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
17411 * lib/gdb.exp (gdb_is_target_remote): ... here.
17412
174132014-04-22 Pedro Alves <palves@redhat.com>
17414
17415 * gdb.base/consecutive-step-over.c: New file.
17416 * gdb.base/consecutive-step-over.exp: New file.
17417
174182014-04-22 Pedro Alves <palves@redhat.com>
17419
17420 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
17421 instead of send_gdb/gdb_expect.
17422
174232014-04-22 Yao Qi <yao@codesourcery.com>
17424
17425 * lib/trace-support.exp (generate_tracefile): New procedure.
17426 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
17427 return 0.
17428 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
17429 if generate_tracefile returns 1.
17430
174312014-04-18 Tom Tromey <palves@redhat.com>
17432 Pedro alves <tromey@redhat.com>
17433
17434 PR backtrace/15558
17435 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
17436 with a backtrace limit.
17437 * gdb.python/py-frame-inline.exp: Test running to an inline
17438 function with a backtrace limit, and printing the newest frame.
17439 * gdb.python/py-frame-inline.c (main): Call f.
17440
174412014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
17442
17443 * gdb.java/jnpe.exp: Drop srcdir from untested path.
17444
174452014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
17446
17447 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
17448 Drop prefix from unsupported source file path.
17449
174502014-04-17 Yao Qi <yao@codesourcery.com>
17451
17452 * lib/gdb.exp (with_target_charset): New proc.
17453 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
17454 with_target_charset.
17455 (test_print_strings): Likewise.
17456 (test_repeat_bytes): Likewise.
17457 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
17458 for some tests.
17459
174602014-04-16 Keith Seitz <keiths@redhat.com>
17461
17462 PR gdb/15827
17463 * gdb.dwarf2/corrupt.c: New file.
17464 * gdb.dwarf2/corrupt.exp: New file.
17465
174662014-04-16 Keith Seitz <keiths@redhat.com>
17467
17468 PR c++/16597
17469 * gdb.cp/namelessclass.cc: New file.
17470 * gdb.cp/namelessclass.exp: New file.
17471 * gdb.cp/namelessclass.S: New file.
17472
174732014-04-16 Doug Evans <dje@google.com>
17474
17475 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
17476 Add comment.
17477 (gdbserver_default_get_comm_port): New function.
17478 (gdbserver_start): Check if board file provided
17479 "gdbserver,get_comm_port" and use it if so.
17480 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
17481 (gdb,socketport): Set to "stdio".
17482 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
17483 (stdio_gdbserver_template): Delete.
17484 (${board}_get_remote_address): Update.
17485 (${board}_build_remote_cmd): Delete.
17486 (${board}_get_comm_port): New function.
17487 (${board}_spawn): Update.
17488 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
17489 Delete.
17490 (${board}_get_remote_address): Update.
17491 (${board}_get_comm_port): New function.
17492
174932014-04-16 Andrew Burgess <aburgess@broadcom.com>
17494
17495 * gdb.base/memattr.exp: Improve regexps to handle memory regions
17496 appearing in any order.
17497
174982014-04-15 Doug Evans <dje@google.com>
17499
17500 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
17501 uninitialized value of "description".
17502
175032014-04-15 Keith Seitz <keiths@redhat.com>
17504
17505 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
17506 Remove unused globals.
17507 (test_running_the_program): Likewise.
17508 (test_controlled_execution): Likewise.
17509 (test_controlling_breakpoints): Likewise.
17510 (test_program_termination): Likewise.
17511
175122014-04-15 Keith Seitz <keiths@redhat.com>
17513
17514 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
17515 unused globals.
17516 (test_rbreak_creation_and_listing): Likewise.
17517 (test_ignore_count): Likewise.
17518 (test_error): Likewise.
17519
175202014-04-15 Pedro Alves <palves@redhat.com>
17521
17522 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
17523 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
17524 sym-file-loader.c.
17525 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
17526 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
17527 to sym-file-loader.c.
17528 (struct library): Forward declare.
17529 (load_shlib, lookup_function): Change prototypes.
17530 (find_shstrtab, find_strtab, find_shdr, find_symtab)
17531 (translate_offset): Remove declarations.
17532 (get_text_addr): New declaration.
17533 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
17534 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
17535 sym-file-loader.h.
17536 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
17537 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
17538 here from sym-file-loader.h.
17539 (struct library): New structure.
17540 (load_shlib, lookup_function): Change prototypes and adjust to
17541 work with a struct library.
17542 (find_shstrtab, find_strtab, find_shdr, find_symtab)
17543 (translate_offset): Make static.
17544 (get_text_addr): New function.
17545 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
17546
175472014-04-15 Pedro Alves <palves@redhat.com>
17548
17549 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
17550
175512014-04-15 Pedro Alves <palves@redhat.com>
17552
17553 * gdb.base/sym-file-loader.c: Include <limits.h>.
17554 (SELF_LINK): New define.
17555 (get_origin): New function.
17556 (load_shlib): Use it.
17557 * gdb.base/sym-file.exp: Don't early return if the target is
17558 remote. Use runto_main, and issue fail is that fails. Use
17559 gdb_load_shlibs.
17560 (shlib_name): Delete.
17561 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
17562
175632014-04-15 Pedro Alves <palves@redhat.com>
17564
17565 * gdb.base/sym-file.exp: Remove regex characters from test
17566 message. Don't refer to breakpoint numbers in test messages.
17567
175682014-04-14 Keith Seitz <keiths@redhat.com>
17569
17570 PR c++/16253
17571 * gdb.cp/var-tag.cc: New file.
17572 * gdb.cp/var-tag.exp: New file.
17573 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
17574 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
17575 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
17576 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
17577
175782014-04-14 Tom Tromey <tromey@redhat.com>
17579
17580 * gdb.cp/classes.exp (test_enums): Handle underlying type.
17581 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
17582 type.
17583 * gdb.cp/enum-class.exp: New file.
17584 * gdb.cp/enum-class.cc: New file.
17585
175862014-04-14 Tom Tromey <tromey@redhat.com>
17587
17588 * gdb.dwarf2/enum-type.exp: New file.
17589
175902014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17591
17592 * gdb.mi/mi-vla-c99.exp: New file.
17593 * gdb.mi/vla.c: New file.
17594
175952014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17596
17597 * gdb.base/vla-datatypes.c: New file.
17598 * gdb.base/vla-datatypes.exp: New file.
17599
176002014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17601
17602 * gdb.base/vla-ptr.c: New file.
17603 * gdb.base/vla-ptr.exp: New file.
17604
176052014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17606
17607 * gdb.dwarf2/count.exp: New file.
17608
176092014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17610
17611 * gdb.base/vla-sideeffect.c: New file.
17612 * gdb.base/vla-sideeffect.exp: New file.
17613
176142014-04-14 David Blaikie <dblaikie@gmail.com>
17615
17616 * gdb.mi/non-stop.c: Add return value for non-void function return
17617 statement.
17618 * gdb.threads/staticthreads.c: Ditto.
17619
176202014-04-12 Siva Chandra Reddy <sivachandra@google.com>
17621 Doug Evans <xdje42@gmail.com>
17622
17623 * gdb.guile/scm-value.c: Improve test case.
17624 * gdb.guile/scm-value.exp: Add new test.
17625
176262014-04-11 David Blaikie <dblaikie@gmail.com>
17627
17628 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
17629 override Clang's default.
17630
176312014-04-11 Joel Brobecker <brobecker@adacore.com>
17632
17633 Revert the following changes (regressions):
17634
17635 * gdb.base/vla-sideeffect.c: New file.
17636 * gdb.base/vla-sideeffect.exp: New file.
17637
17638 * gdb.dwarf2/count.exp: New file.
17639
17640 * gdb.base/vla-multi.c: New file.
17641 * gdb.base/vla-multi.exp: New file.
17642
17643 * gdb.base/vla-ptr.c: New file.
17644 * gdb.base/vla-ptr.exp: New file.
17645
17646 * gdb.base/vla-datatypes.c: New file.
17647 * gdb.base/vla-datatypes.exp: New file.
17648
17649 * gdb.mi/mi-vla-c99.exp: New file.
17650 * gdb.mi/vla.c: New file.
17651
176522014-04-11 Keith Seitz <keiths@redhat.com>
17653
17654 PR c++/16675
17655 * gdb.cp/cpsizeof.exp: New file.
17656 * gdb.cp/cpsizeof.cc: New file.
17657
176582014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17659
17660 * gdb.mi/mi-vla-c99.exp: New file.
17661 * gdb.mi/vla.c: New file.
17662
176632014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17664
17665 * gdb.base/vla-datatypes.c: New file.
17666 * gdb.base/vla-datatypes.exp: New file.
17667
176682014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17669
17670 * gdb.base/vla-ptr.c: New file.
17671 * gdb.base/vla-ptr.exp: New file.
17672
176732014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17674
17675 * gdb.base/vla-multi.c: New file.
17676 * gdb.base/vla-multi.exp: New file.
17677
176782014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17679
17680 * gdb.dwarf2/count.exp: New file.
17681
176822014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17683
17684 * gdb.base/vla-sideeffect.c: New file.
17685 * gdb.base/vla-sideeffect.exp: New file.
17686
176872014-04-11 Yao Qi <yao@codesourcery.com>
17688
17689 * gdb.base/completion.exp: Check file exists before running tests
17690 on file completion.
17691
176922014-04-10 Pedro Alves <palves@redhat.com>
17693
17694 * gdb.base/cond-eval-mode.c: New file.
17695 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
17696 prepare_for_testing to build the new file. Check result of
17697 runto_main.
17698 (test_break, test_watch): New procedures.
17699 (top level): Use them.
17700
177012014-04-08 Pierre Muller <muller@sourceware.org>
17702
17703 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
17704 Ctrl-V use for mingw hosts.
17705
177062014-04-07 Siva Chandra Reddy <sivachandra@google.com>
17707
17708 * gdb.python/py-value.c: Improve test case.
17709 * gdb.python/py-value.exp: Add new test.
17710
177112014-04-07 David Blaikie <dblaikie@gmail.com>
17712
17713 * lib/compiler.c: Identify the clang compiler.
17714 * lib/compiler.cc: Ditto.
17715
177162014-04-03 Yao Qi <yao@codesourcery.com>
17717
17718 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
17719
177202014-04-01 Anton Blanchard <anton@samba.org>
17721
17722 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
17723 messages unique.
17724
177252014-04-01 Anton Blanchard <anton@samba.org>
17726
17727 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
17728 prepare_for_testing.
17729
177302014-04-01 Anton Blanchard <anton@samba.org>
17731
17732 * gdb.arch/ppc64-atomic-inst.c: Remove.
17733 * gdb.arch/ppc64-atomic-inst.S: New file.
17734 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
17735
177362014-03-31 Doug Evans <dje@google.com>
17737
17738 * gdb.base/print-symbol-loading-lib.c: New file.
17739 * gdb.base/print-symbol-loading-main.c: New file.
17740 * gdb.base/print-symbol-loading.exp: New file.
17741
177422014-03-31 Yao Qi <yao@codesourcery.com>
17743
17744 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
17745
177462014-03-28 Joel Brobecker <brobecker@adacore.com>
17747
17748 * gdb.ada/mi_dyn_arr: New testcase.
17749
177502014-03-27 Doug Evans <dje@google.com>
17751
17752 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
17753
177542014-03-27 Yao Qi <yao@codesourcery.com>
17755
17756 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
17757 if target is nios2-*-*.
17758
177592014-03-26 Yao Qi <yao@codesourcery.com>
17760
17761 * lib/gdb.exp (readline_is_used): New proc.
17762 * gdb.base/completion.exp: Move tests on command complete up.
17763 Skip the rest of tests if readline is not used.
17764 * gdb.ada/complete.exp: Skp the test if readline is not
17765 used.
17766 * gdb.base/filesym.exp: Likewise.
17767 * gdb.base/macscp.exp: Likewise.
17768 * gdb.base/readline-ask.exp: Likewise.
17769 * gdb.base/readline.exp: Likewise.
17770 * gdb.python/py-cmd.exp: Likewise.
17771 * gdb.trace/tfile.exp: Likewise.
17772
177732014-03-26 Yao Qi <yao@codesourcery.com>
17774
17775 * gdb.base/macscp.exp: Fix code format issues.
17776
177772014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
17778
17779 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
17780 * gdb.asm/powerpc64le.inc: New file.
17781
177822014-03-25 Pedro Alves <palves@redhat.com>
17783 Doug Evans <dje@google.com>
17784
17785 * gdb.base/source-execution.c: New file.
17786 * gdb.base/source-execution.exp: New file.
17787 * gdb.base/source-execution.gdb: New file.
17788
177892014-03-24 Doug Evans <dje@google.com>
17790
17791 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
17792 using fission.
17793
177942014-03-24 Hui Zhu <hui@codesourcery.com>
17795 Pedro Alves <palves@redhat.com>
17796
17797 PR breakpoints/16101
17798 * gdb.base/dprintf.exp: Use unsupported rather than changing the
17799 test pass/fail messages. Detect missing support for dprintf when
17800 breakpoints are actually inserted.
17801 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
17802 breakpoints are actually inserted.
17803 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
17804 fails.
17805
178062014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
17807
17808 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
17809
178102014-03-22 Doug Evans <xdje42@gmail.com>
17811
17812 * gdb.python/python.exp (python not supported): Verify multi-line
17813 python command issues an error.
17814 * gdb.guile/guile.exp (guile not supported): Verify multi-line
17815 guile command issues an error.
17816
178172014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
17818
17819 * gdb.threads/thread-specific.exp: Handle the lack of usable
17820 $this_breakpoint and $this_thread.
17821
178222014-03-21 Hui Zhu <hui@codesourcery.com>
17823
17824 * gdb.base/attach.exp (do_command_attach_tests): New.
17825
178262014-03-20 Tom Tromey <tromey@redhat.com>
17827 Pedro Alves <palves@redhat.com>
17828
17829 PR cli/15718
17830 * gdb.base/condbreak-call-false.c: New file.
17831 * gdb.base/condbreak-call-false.exp: New file.
17832
178332014-03-20 Pedro Alves <palves@redhat.com>
17834
17835 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
17836 Delete.
17837 (block_signals, unblock_signals): Delete.
17838 (child_function_2, main): Remove references to deleted variable
17839 and functions.
17840
178412014-03-20 Pedro Alves <palves@redhat.com>
17842
17843 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
17844 Use pthread_kill to signal thread 2.
17845 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17846 Adjust to make the test send itself a signal rather than using the
17847 host's "kill" command.
17848
178492014-03-20 Pedro Alves <palves@redhat.com>
17850
17851 * gdb.threads/multiple-step-overs.c: New file.
17852 * gdb.threads/multiple-step-overs.exp: New file.
17853 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17854 Adjust expected infrun debug output.
17855
178562014-03-20 Pedro Alves <palves@redhat.com>
17857
17858 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
17859 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
17860
178612014-03-20 Pedro Alves <palves@redhat.com>
17862
17863 PR breakpoints/7143
17864 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
17865 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
17866 of gdb_test_multiple.
17867 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
17868 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
17869
178702014-03-20 Pedro Alves <palves@redhat.com>
17871
17872 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
17873 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
17874
178752014-03-19 Pedro Alves <palves@redhat.com>
17876
17877 * gdb.base/async.exp: Remove early return.
17878
178792014-03-19 Pedro Alves <palves@redhat.com>
17880
17881 * gdb.base/async.exp (step& tests): Pass explicit test messages.
17882
178832014-03-19 Pedro Alves <palves@redhat.com>
17884
17885 * gdb.base/async.exp (test_background): Expect \r\n after
17886 "completed." in the fail pattern.
17887
178882014-03-19 Pedro Alves <palves@redhat.com>
17889
17890 * gdb.base/async.exp (test_background): New procedure.
17891 Use it for all background execution command tests.
17892
178932014-03-19 Pedro Alves <palves@redhat.com>
17894
17895 * gdb.base/async.exp: Use prepare_for_testing.
17896
178972014-03-19 Pedro Alves <palves@redhat.com>
17898
17899 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
17900 the same line.
17901
179022014-03-19 Pedro Alves <palves@redhat.com>
17903
17904 * gdb.base/async.c (main): Add "jump here" and "until here" line
17905 marker comments.
17906 * gdb.base/async.exp (jump_here): New global.
17907 (jump& test): Use it.
17908 (until_here): New global.
17909 (until& test): Use it.
17910
179112014-03-19 Pedro Alves <palves@redhat.com>
17912
17913 * gdb.base/async.exp: Don't frob gdb_protocol.
17914
179152014-03-18 Doug Evans <xdje42@gmail.com>
17916
17917 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
17918 Fix spelling of exec-done-display.
17919
179202014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
17921
17922 PR gdb/15358
17923 * gdb.base/gdb-sigterm.c: New file.
17924 * gdb.base/gdb-sigterm.exp: New file.
17925
179262014-03-18 Pedro Alves <palves@redhat.com>
17927
17928 PR gdb/13860
17929 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
17930 * lib/mi-support.exp (mi_expect_stop): Add special handling for
17931 solib-event.
17932
179332014-03-17 Joel Brobecker <brobecker@adacore.com>
17934
17935 * gdb.ada/pckd_arr_ren: New testcase.
17936
179372014-03-13 Doug Evans <xdje42@gmail.com>
17938
17939 PR guile/16612
17940 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
17941 collect after discarding symbols.
17942
179432014-03-13 Ludovic Courtès <ludo@gnu.org>
17944 Doug Evans <xdje42@gmail.com>
17945
17946 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
17947 to history survives a gc.
17948
179492014-03-13 Pedro Alves <palves@redhat.com>
17950
17951 * gdb.base/default.exp: Don't test "target procfs".
17952
179532014-03-13 Pedro Alves <palves@redhat.com>
17954
17955 * gdb.base/default.exp: Update "target child" and "target procfs"
17956 tests to not expect "Unix".
17957
179582014-03-12 Tom Tromey <tromey@redhat.com>
17959
17960 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
17961 New procs. Add target-async tests.
17962 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
17963 Add target-async tests.
17964
179652014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17966
17967 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
17968 'func_start' and 'func_end' for the beginning and end of the
17969 function code, respectively.
17970 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
17971 'func_end' instead of 'func' and 'main'.
17972
179732014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17974
17975 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
17976 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
17977 generate the debug info assembler source.
17978
179792014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17980
17981 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
17982 * gdb.dwarf2/arr-subrange.exp: Likewise.
17983 * gdb.dwarf2/dwz.exp: Likewise.
17984 * gdb.dwarf2/method-ptr.exp: Likewise.
17985 * gdb.dwarf2/missing-sig-type.exp: Likewise.
17986 * gdb.dwarf2/subrange.exp: Likewise.
17987 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
17988 * gdb.dwarf2/implptrpiece.exp: Likewise.
17989 * gdb.dwarf2/nostaticblock.exp: Likewise.
17990
179912014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17992
17993 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
17994 directory to absolute path name arguments.
17995
179962014-03-10 Joel Brobecker <brobecker@adacore.com>
17997
17998 * gdb.ada/tagged_access: New testcase.
17999
180002014-03-07 Markus Metzger <markus.t.metzger@intel.com>
18001
18002 * gdb.btrace/data.exp: Update expected output.
18003
180042014-03-06 Yao Qi <yao@codesourcery.com>
18005
18006 * gdb.trace/pr16508.exp: New file.
18007
180082014-03-05 Pedro Alves <palves@redhat.com>
18009
18010 PR gdb/16575
18011 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
18012 procedure.
18013 (top level): Adjust to use it. Add tests that exercise breakpoint
18014 interaction with the code-cache.
18015
180162014-02-26 Ludovic Courtès <ludo@gnu.org>
18017
18018 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
18019 test for 'history-append!'.
18020
180212014-02-26 Joel Brobecker <brobecker@adacore.com>
18022
18023 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
18024 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
18025 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
18026 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
18027 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
18028 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
18029
180302014-02-26 Joel Brobecker <brobecker@adacore.com>
18031
18032 * testsuite/gdb.python/py-pp-re-notag.c: New file.
18033 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
18034 * testsuite/gdb.python/py-pp-re-notag.p: New file.
18035
180362014-02-26 Joel Brobecker <brobecker@adacore.com>
18037
18038 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
18039
180402014-02-26 Joel Brobecker <brobecker@adacore.com>
18041
18042 * gdb.dwarf2/arr-stride.c: New file.
18043 * gdb.dwarf2/arr-stride.exp: New file.
18044
180452014-02-26 Pedro Alves <palves@redhat.com>
18046
18047 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
18048 that won't ever trigger. Make sure that GDB reports the correct
18049 breakpoint that caused the stop.
18050
180512014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
18052
18053 PR gdb/16626
18054 * gdb.base/auto-load-script: New file.
18055 * gdb.base/auto-load.c: New file.
18056 * gdb.base/auto-load.exp: New file.
18057
18058 PR gdb/16626
18059 * gdb.base/auto-load.exp: Fix out-of-srctree run.
18060
180612014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
18062
18063 Fix dw2-icycle.exp -fsanitize=address GDB crash.
18064 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
18065
180662014-02-24 Doug Evans <dje@google.com>
18067
18068 * lib/gdb.exp (run_on_host): Log error output if program fails.
18069
180702014-02-21 Pedro Alves <palves@redhat.com>
18071
18072 * gdb.threads/step-after-sr-lock.c: Rename to ...
18073 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
18074 * gdb.threads/step-after-sr-lock.exp: Rename to ...
18075 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
18076 ... this.
18077
180782014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
18079
18080 PR tdep/16397
18081 * gdb.arch/amd64-stap-special-operands.exp: New file.
18082 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
18083 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
18084 * gdb.arch/amd64-stap-triplet.S: Likewise.
18085 * gdb.arch/amd64-stap-triplet.c: Likewise.
18086
180872014-02-20 Joel Brobecker <brobecker@adacore.com>
18088
18089 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
18090 in .section pseudo-op.
18091
180922014-02-20 lin zuojian <manjian2006@gmail.com>
18093 Joel Brobecker <brobecker@adacore.com>
18094 Doug Evans <xdje42@gmail.com>
18095
18096 PR symtab/16581
18097 * gdb.dwarf2/dw2-icycle.S: New file.
18098 * gdb.dwarf2/dw2-icycle.c: New file.
18099 * gdb.dwarf2/dw2-icycle.exp: New file.
18100
181012014-02-19 Siva Chandra Reddy <sivachandra@google.com>
18102
18103 * gdb.python/py-value-cc.cc: Improve test case to enable testing
18104 operations on gdb.Value objects.
18105 * gdb.python/py-value-cc.exp: Add new test to test operations on
18106 gdb.Value objects.
18107
181082014-02-18 Doug Evans <dje@google.com>
18109
18110 * Makefile.in (TESTS): New variable.
18111 (expanded_tests, expanded_tests_or_none): New variables
18112 (check-single): Pass $(expanded_tests_or_none) to runtest.
18113 (check-parallel): Only run tests in $(TESTS) if non-empty.
18114 (check/no-matching-tests-found): New rule.
18115 * README: Document TESTS makefile variable.
18116
181172014-02-18 Doug Evans <dje@google.com>
18118
18119 * Makefile.in (check-parallel): rm -rf outputs temp.
18120
181212014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18122
18123 Fix "ERROR: no fileid for" in the testsuite.
18124 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
18125
181262014-02-12 Doug Evans <dje@google.com>
18127
18128 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
18129 (MISCELLANEOUS): New variable.
18130 (clean): rm -rf $(MISCELLANEOUS).
18131 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
18132 dwp live in the same directory as symlinks, with each symlink pointed
18133 to a differently named file in a different directory.
18134
181352014-02-11 Doug Evans <dje@google.com>
18136
18137 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
18138 of Tcl file commands.
18139
181402014-02-10 Mark Kettenis <kettenis@gnu.org>
18141
18142 * gdb.threads/step-after-sr-lock.exp: Avoid executing
18143 "kill -SIGUSR1 -1".
18144
181452014-02-10 Joel Brobecker <brobecker@adacore.com>
18146
18147 * gdb.ada/tick_length_array_enum_idx: New testcase.
18148
181492014-02-10 Doug Evans <xdje42@gmail.com>
18150
18151 * configure.ac (AC_OUTPUT): Add gdb.guile.
18152 * configure: Regenerate.
18153 * lib/gdb-guile.exp: New file.
18154 * lib/gdb.exp (get_target_charset): New function.
18155 * gdb.base/help.exp: Update expected output from "apropos apropos".
18156 * gdb.guile/Makefile.in: New file.
18157 * gdb.guile/guile.exp: New file.
18158 * gdb.guile/scm-arch.c: New file.
18159 * gdb.guile/scm-arch.exp: New file.
18160 * gdb.guile/scm-block.c: New file.
18161 * gdb.guile/scm-block.exp: New file.
18162 * gdb.guile/scm-breakpoint.c: New file.
18163 * gdb.guile/scm-breakpoint.exp: New file.
18164 * gdb.guile/scm-disasm.c: New file.
18165 * gdb.guile/scm-disasm.exp: New file.
18166 * gdb.guile/scm-equal.c: New file.
18167 * gdb.guile/scm-equal.exp: New file.
18168 * gdb.guile/scm-error.exp: New file.
18169 * gdb.guile/scm-error.scm: New file.
18170 * gdb.guile/scm-frame-args.c: New file.
18171 * gdb.guile/scm-frame-args.exp: New file.
18172 * gdb.guile/scm-frame-args.scm: New file.
18173 * gdb.guile/scm-frame-inline.c: New file.
18174 * gdb.guile/scm-frame-inline.exp: New file.
18175 * gdb.guile/scm-frame.c: New file.
18176 * gdb.guile/scm-frame.exp: New file.
18177 * gdb.guile/scm-generics.exp: New file.
18178 * gdb.guile/scm-gsmob.exp: New file.
18179 * gdb.guile/scm-iterator.c: New file.
18180 * gdb.guile/scm-iterator.exp: New file.
18181 * gdb.guile/scm-math.c: New file.
18182 * gdb.guile/scm-math.exp: New file.
18183 * gdb.guile/scm-objfile-script-gdb.in: New file.
18184 * gdb.guile/scm-objfile-script.c: New file.
18185 * gdb.guile/scm-objfile-script.exp: New file.
18186 * gdb.guile/scm-objfile.c: New file.
18187 * gdb.guile/scm-objfile.exp: New file.
18188 * gdb.guile/scm-ports.exp: New file.
18189 * gdb.guile/scm-pretty-print.c: New file.
18190 * gdb.guile/scm-pretty-print.exp: New file.
18191 * gdb.guile/scm-pretty-print.scm: New file.
18192 * gdb.guile/scm-section-script.c: New file.
18193 * gdb.guile/scm-section-script.exp: New file.
18194 * gdb.guile/scm-section-script.scm: New file.
18195 * gdb.guile/scm-symbol.c: New file.
18196 * gdb.guile/scm-symbol.exp: New file.
18197 * gdb.guile/scm-symtab-2.c: New file.
18198 * gdb.guile/scm-symtab.c: New file.
18199 * gdb.guile/scm-symtab.exp: New file.
18200 * gdb.guile/scm-type.c: New file.
18201 * gdb.guile/scm-type.exp: New file.
18202 * gdb.guile/scm-value-cc.cc: New file.
18203 * gdb.guile/scm-value-cc.exp: New file.
18204 * gdb.guile/scm-value.c: New file.
18205 * gdb.guile/scm-value.exp: New file.
18206 * gdb.guile/source2.scm: New file.
18207 * gdb.guile/types-module.cc: New file.
18208 * gdb.guile/types-module.exp: New file.
18209
182102014-02-10 Yao Qi <yao@codesourcery.com>
18211
18212 PR testsuite/16543
18213 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
18214 * configure: Regenerated.
18215 * Makefile.in: New file.
18216
182172014-02-08 Andreas Schwab <schwab@linux-m68k.org>
18218
18219 * gdb.python/py-framefilter.exp: Fix typo.
18220
182212014-02-08 Yao Qi <yao@codesourcery.com>
18222
18223 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
18224 that no =breakpoint-modified is emitted when breakpoints are
18225 modified through MI commands.
18226
182272014-02-07 Pedro Alves <pedro@codesourcery.com>
18228 Pedro Alves <palves@redhat.com>
18229
18230 * gdb.threads/step-after-sr-lock.c: New file.
18231 * gdb.threads/step-after-sr-lock.exp: New file.
18232
182332014-02-07 Pedro Alves <palves@redhat.com>
18234
18235 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
18236
182372014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
18238
18239 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
18240 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
18241
182422014-02-06 Doug Evans <xdje42@gmail.com>
18243
18244 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
18245 output.
18246
18247 * gdb.gdb/python-interrupts.exp: New file.
18248
182492014-02-05 Yao Qi <yao@codesourcery.com>
18250
18251 * gdb.trace/report.exp (use_collected_data): Test the output
18252 of "info threads" and "info inferiors".
18253
182542014-02-05 Yao Qi <yao@codesourcery.com>
18255
18256 Revert this patch:
18257
18258 2013-05-24 Yao Qi <yao@codesourcery.com>
18259
18260 * gdb.trace/tfile.exp: Test inferior and thread.
18261
182622014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18263
18264 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
18265 on a function.
18266 * gdb.base/step-bt.c: Call hello via function pointer to make
18267 sure its first instruction is executed on powerpc64le-linux.
18268
182692014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18270
18271 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
18272
182732014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18274
18275 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
18276 of the test patterns for use on little-endian systems.
18277
182782014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18279
18280 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
18281 (decimal_vector): Fix for little-endian.
18282
182832014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
18284
18285 * gdb.arch/sparc-sysstep.exp: New file.
18286 * gdb.arch/sparc-sysstep.c: Likewise.
18287
18288 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
18289
182902014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18291
18292 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
18293
182942014-01-23 Tom Tromey <tromey@redhat.com>
18295
18296 * gdb.ada/array_char_idx: New testcase.
18297
182982014-01-23 Tom Tromey <tromey@redhat.com>
18299
18300 PR python/16487:
18301 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
18302 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
18303 classes.
18304
183052014-01-23 Tom Tromey <tromey@redhat.com>
18306
18307 PR python/16491:
18308 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
18309 string from an inferior frame.
18310 * gdb.python/py-framefilter-mi.exp: Update.
18311
183122014-01-22 Doug Evans <dje@google.com>
18313
18314 * gdb.server/server-mon.exp: Add tests for "set debug-format".
18315
183162014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18317
18318 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
18319
183202014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18321
18322 * gdb.trace/entry-values.exp: Remove excess space character from
18323 regex patterns. Handle s390 call instruction.
18324
183252014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18326
18327 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
18328 define "*_start" label. Make "name" static.
18329 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
18330 ${name} by references to ${name}_start.
18331
183322014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18333
18334 * gdb.base/info-macros.exp: Remove "debug" from the compile
18335 options.
18336
183372014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
18338
18339 * gdb.dlang/demangle.exp: New file.
18340
183412014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
18342
18343 * gdb.dlang/primitive-types.exp: New file.
18344
183452014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
18346
18347 * configure.ac: Create gdb.dlang/Makefile.
18348 * configure: Regenerate.
18349 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
18350 * gdb.dlang/Makefile.in: New file.
18351 * lib/d-support.exp: New file.
18352 * lib/gdb.exp (skip_d_tests): New proc.
18353
183542014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18355
18356 * gdb.btrace/delta.exp: Check reverse stepi.
18357 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
18358 * gdb.btrace/finish.exp: New.
18359 * gdb.btrace/next.exp: New.
18360 * gdb.btrace/nexti.exp: New.
18361 * gdb.btrace/record_goto.c: Add comments.
18362 * gdb.btrace/step.exp: New.
18363 * gdb.btrace/stepi.exp: New.
18364 * gdb.btrace/multi-thread-step.c: New.
18365 * gdb.btrace/multi-thread-step.exp: New.
18366 * gdb.btrace/rn-dl-bind.c: New.
18367 * gdb.btrace/rn-dl-bind.exp: New.
18368 * gdb.btrace/data.c: New.
18369 * gdb.btrace/data.exp: New.
18370 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
18371
183722014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18373
18374 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
18375 * gdb.btrace/exception.exp: Update.
18376 * gdb.btrace/instruction_history.exp: Update.
18377 * gdb.btrace/record_goto.exp: Update.
18378 * gdb.btrace/tailcall.exp: Update.
18379 * gdb.btrace/unknown_functions.exp: Update.
18380 * gdb.btrace/delta.exp: New.
18381
183822014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18383
18384 * gdb.btrace/record_goto.exp: Add backtrace test.
18385 * gdb.btrace/tailcall.exp: Add backtrace test.
18386
183872014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18388
18389 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
18390 * gdb.btrace/record_goto.c: New.
18391 * gdb.btrace/record_goto.exp: New.
18392 * gdb.btrace/x86-record_goto.S: New.
18393
183942014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18395
18396 * gdb.btrace/function_call_history.exp: Update tests.
18397 * gdb.btrace/instruction_history.exp: Update tests.
18398
183992014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18400
18401 * gdb.btrace/function_call_history.exp: Fix expected field
18402 order for "record function-call-history".
18403 Add new tests for "record function-call-history /c".
18404 * gdb.btrace/exception.cc: New.
18405 * gdb.btrace/exception.exp: New.
18406 * gdb.btrace/tailcall.exp: New.
18407 * gdb.btrace/x86-tailcall.S: New.
18408 * gdb.btrace/x86-tailcall.c: New.
18409 * gdb.btrace/unknown_functions.c: New.
18410 * gdb.btrace/unknown_functions.exp: New.
18411 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
18412
184132014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18414
18415 * gdb.btrace/instruction_history.exp: Update.
18416 * gdb.btrace/function_call_history.exp: Update.
18417
184182014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18419
18420 * gdb.btrace/function_call_history.exp: Fix expected function
18421 trace.
18422 * gdb.btrace/instruction_history.exp: Initialize traced.
18423 Remove traced_functions.
18424
184252014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18426
18427 * gdb.btrace/function_call_history.exp: Update
18428 * gdb.btrace/instruction_history.exp: Update.
18429
184302014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18431
18432 * gdb.btrace/enable.exp: Update expected text.
18433
184342014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
18435
18436 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
18437 bytes.
18438
184392014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
18440
18441 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
18442
184432014-01-15 Omair Javaid <omair.javaid@linaro.org>
18444
18445 * lib/gdb.exp (supports_process_record): Return true for
18446 arm*-linux*. (supports_reverse): Likewise.
18447
184482014-01-13 Siva Chandra Reddy <sivachandra@google.com>
18449
18450 PR python/15464
18451 PR python/16113
18452 * gdb.python/py-type.c: Enhance test case.
18453 * gdb.python/py-value-cc.cc: Likewise
18454 * gdb.python/py-type.exp: Add new tests.
18455 * gdb.python/py-value-cc.exp: Likewise
18456
184572014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
18458 Pedro Alves <palves@redhat.com>
18459
18460 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
18461 Make "name" extern.
18462 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
18463 references to ${name}_start by references to ${name}.
18464
184652014-01-10 Joel Brobecker <brobecker@adacore.com>
18466
18467 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
18468
184692014-01-10 Joel Brobecker <brobecker@adacore.com>
18470
18471 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
18472
184732014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
18474 Pedro Alves <palves@redhat.com>
18475
18476 * gdb.mi/mi-info-os.exp: Connect to the target with
18477 mi_gdb_target_load.
18478
184792014-01-08 Pedro Alves <palves@redhat.com>
18480
18481 * gdb.threads/reconnect-signal.c: New file.
18482 * gdb.threads/reconnect-signal.exp: New file.
18483
184842014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
18485
18486 * gdb.base/source-dir.exp: New file.
18487
184882014-01-07 Joel Brobecker <brobecker@adacore.com>
18489
18490 * gdb.ada/mi_interface: New testcase.
18491
184922014-01-07 Joel Brobecker <brobecker@adacore.com>
18493
18494 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
18495 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
18496 gdb.ada/pp-rec-component/pck.ads: New files.
18497
184982014-01-07 Joel Brobecker <brobecker@adacore.com>
18499
18500 * gdb.python/py-pp-integral.c: New file.
18501 * gdb.python/py-pp-integral.py: New file.
18502 * gdb.python/py-pp-integral.exp: New file.
18503
18504For older changes see ChangeLog-1993-2013.
18505\f
18506;; Local Variables:
18507;; mode: change-log
18508;; left-margin: 8
18509;; fill-column: 74
18510;; version-control: never
18511;; End:
18512
18513 Copyright 2014-2020 Free Software Foundation, Inc.
18514 Copying and distribution of this file, with or without modification,
18515 are permitted provided the copyright notice and this notice are preserved.
This page took 0.101153 seconds and 4 git commands to generate.