a352c74f0f86417a8a8f36172336b505619112ac
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2020-02-26 Tom de Vries <tdevries@suse.de>
2
3 PR gdb/25603
4 * gdb.base/persistent-lang.cc: New test.
5 * gdb.base/persistent-lang.exp: New file.
6
7 2020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
8
9 * gdb.fortran/derived-type-striding.exp: Add a new test.
10 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
11 new test.
12
13 2020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
14
15 * gdb.base/cached-source-file.exp: Avoid source file paths in test
16 names.
17
18 2020-02-25 Tom de Vries <tdevries@suse.de>
19
20 PR go/18926
21 * gdb.go/methods.exp: Remove gcc/93866 xfail.
22
23 2020-02-24 Tom de Vries <tdevries@suse.de>
24
25 PR gdb/25592
26 * gdb.base/info-locals-unused-static-var.c: New test.
27 * gdb.base/info-locals-unused-static-var.exp: New file.
28
29 2020-02-22 Tom Tromey <tom@tromey.com>
30
31 * gdb.python/tui-window.exp: New file.
32 * gdb.python/tui-window.py: New file.
33
34 2020-02-22 Tom Tromey <tom@tromey.com>
35
36 PR tui/17850:
37 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
38 tests.
39
40 2020-02-22 Tom Tromey <tom@tromey.com>
41
42 * gdb.tui/new-layout.exp: Add sub-layout tests.
43
44 2020-02-22 Tom Tromey <tom@tromey.com>
45
46 * gdb.tui/new-layout.exp: New file.
47
48 2020-02-22 Tom Tromey <tom@tromey.com>
49
50 * gdb.rust/rust-style.rs: New file.
51 * gdb.rust/rust-style.exp: New file.
52 * gdb.base/style.exp: Test structure printing.
53 * gdb.base/style.c (struct some_struct): New type.
54 (enum etype): New type.
55 (struct_value): New global.
56
57 2020-02-21 Tom de Vries <tdevries@suse.de>
58
59 PR go/18926
60 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
61 Remove blanket xfails. Use message argument for gdb_breakpoint.
62 Make continuing to breakpoint test conditional on setting breakpoint.
63 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
64 DW_AT_name attribute. Add xfail for GCC PR93866.
65
66 2020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
67
68 * gdb.dwarf2/cpp-linkage-name.c: New file.
69 * gdb.dwarf2/cpp-linkage-name.exp: New file.
70
71 2020-02-21 Shahab Vahedi <shahab@synopsys.com>
72
73 * lib/gdb.exp (gdb_wrapper_init): Reset
74 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
75 not exist.
76
77 2020-02-20 Tom de Vries <tdevries@suse.de>
78
79 PR go/17018
80 * gdb.go/hello.exp: Copy ...
81 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
82 print of st to print value of global definition. Add xfail for GCC
83 PR93844.
84 * gdb.go/hello.exp: Remove printing of st before definition.
85 * gdb.go/hello.go: Copy ...
86 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
87 to st.
88 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
89
90 2020-02-20 Tom de Vries <tdevries@suse.de>
91
92 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
93 (gdb_simple_compile): Handle compile_flags go by using .go extension
94 for source file.
95 * gdb.go/chan.exp: Use support_go_compile.
96 * gdb.go/handcall.exp: Same.
97 * gdb.go/hello.exp: Same.
98 * gdb.go/integers.exp: Same.
99 * gdb.go/max-depth.exp: Same.
100 * gdb.go/methods.exp: Same.
101 * gdb.go/package.exp: Same.
102 * gdb.go/strings.exp: Same.
103 * gdb.go/types.exp: Same.
104 * gdb.go/unsafe.exp: Same.
105
106 2020-02-19 Tom de Vries <tdevries@suse.de>
107
108 * gdb.python/lib-types.exp: Make xfail more strict.
109
110 2020-02-19 Tom de Vries <tdevries@suse.de>
111
112 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
113
114 2020-02-19 Doug Evans <dje@google.com>
115
116 PR rust/25535
117 * gdb.rust/simple.exp: Add test.
118 * gdb.rust/simple.rs: Add test.
119
120 2020-02-19 Tom de Vries <tdevries@suse.de>
121
122 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
123 output line-by-line.
124
125 2020-02-19 Tom de Vries <tdevries@suse.de>
126
127 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
128
129 2020-02-19 Tom de Vries <tdevries@suse.de>
130
131 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
132 prelink.
133
134 2020-02-19 Tom de Vries <tdevries@suse.de>
135
136 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
137 (gdb_do_cache): Use gdb_do_cache_wrap.
138 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
139
140 2020-02-19 Tom de Vries <tdevries@suse.de>
141
142 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
143 gdb_compile option.
144
145 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
146
147 * gdb.base/printcmds.exp (test_print_enums): Update expected
148 output.
149
150 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
151
152 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
153 for "unknown".
154
155 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
156
157 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
158 enumerator.
159
160 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
161
162 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
163 FE_, add FE_NONE.
164 (three): Update.
165 (enum flag_enum_without_zero): New enum.
166 (flag_enum_without_zero): New variable.
167 (enum not_flag_enum): New enum.
168 (three_not_flag): New variable.
169 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
170 (test_print_enums): Add more tests for printing flag enums.
171
172 2020-02-18 Tom de Vries <tdevries@suse.de>
173
174 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
175 (gdb_compile_ada): ... here.
176 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
177 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
178
179 2020-02-14 Tom Tromey <tom@tromey.com>
180
181 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
182 build directory.
183 * boards/gdbserver-base.exp: Update path to gdbserver.
184
185 2020-02-13 Tom de Vries <tdevries@suse.de>
186
187 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
188
189 2020-02-13 Tom de Vries <tdevries@suse.de>
190
191 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
192 are missing.
193
194 2020-02-13 Tom de Vries <tdevries@suse.de>
195
196 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
197 call.
198
199 2020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
200
201 PR tui/25126
202 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
203 * gdb.base/cached-source-file.c: New file.
204 * gdb.base/cached-source-file.exp: New file.
205
206 2020-02-11 Tom de Vries <tdevries@suse.de>
207
208 PR testsuite/25488
209 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
210
211 2020-02-10 Tom de Vries <tdevries@suse.de>
212
213 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
214
215 2020-02-10 Maciej W. Rozycki <macro@wdc.com>
216
217 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
218 and $after_addr are both integers before making a comparison.
219
220 2020-02-09 Tom de Vries <tdevries@suse.de>
221
222 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
223 command output and paste it into gdb.log. If any, paste catch message
224 to gdb.log.
225
226 2020-02-07 Tom Tromey <tromey@adacore.com>
227
228 PR breakpoints/24915:
229 * gdb.base/annotate-symlink.exp: Use setup_xfail.
230
231 2020-02-06 Shahab Vahedi <shahab@synopsys.com>
232
233 * gdb.tui/tui-missing-src.exp: Add the "missing source
234 file" test for the TUI.
235
236 2020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
237
238 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
239 including a port number in the output.
240
241 2020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
242
243 * lib/fortran.exp (fortran_int4): Handle clang.
244 (fortran_int8): Likewise.
245 (fortran_real4): Likewise.
246 (fortran_real8): Likewise.
247 (fortran_complex4): Likewise.
248 (fortran_logical4): Likewise.
249 (fortran_character1): Likewise.
250
251 2020-02-04 Tom de Vries <tdevries@suse.de>
252
253 * README (Race detection): Add note.
254
255 2020-02-04 Tom de Vries <tdevries@suse.de>
256
257 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
258
259 2020-02-04 Tom de Vries <tdevries@suse.de>
260
261 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
262
263 2020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
264
265 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
266 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
267 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
268 blttar, bnetarl.
269 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
270 binary for blttar, bnetarl.
271 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
272 wait instruction. Delete ldmx test.
273 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
274
275 2020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
276
277 * gdb.fortran/array-bounds-high.exp: New file.
278 * gdb.fortran/array-bounds-high.f90: New file.
279
280 2020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
281
282 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
283 Replace #include of <sys/fcntl.h> by <fcntl.h>.
284
285 2020-02-01 Tom de Vries <tdevries@suse.de>
286
287 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
288
289 2020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
290
291 PR tui/9765
292 * gdb.tui/tui-layout-asm-short-prog.S: New file.
293 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
294
295 2020-01-29 Luis Machado <luis.machado@linaro.org>
296
297 * gdb.arch/aarch64-brk-patterns.c: New source file.
298 * gdb.arch/aarch64-brk-patterns.exp: New test.
299
300 2020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
301
302 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
303 GCC/Clang version.
304 * gdb.cp/pass-by-ref.exp: Ditto.
305
306 2020-01-29 Tom de Vries <tdevries@suse.de>
307
308 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
309 * gdb.threads/watchpoint-fork-mt.c: Same.
310 * gdb.threads/watchpoint-fork-parent.c: Same.
311 * gdb.threads/watchpoint-fork-st.c: Same.
312 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
313
314 2020-01-27 Luis Machado <luis.machado@linaro.org>
315
316 * gdb.base/step-over-syscall.exp (setup): Check if we're already
317 sitting at a syscall instruction when we hit the syscall function's
318 breakpoint.
319 Check PC against one obtained with the x command.
320 Validate syscall number.
321 (step_over_syscall): Don't continue to the syscall instruction if
322 we're already there.
323
324 2020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
325
326 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
327
328 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
329
330 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
331 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
332
333 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
334
335 * gdb.dwarf2/dw2-inline-stepping.c: New file.
336 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
337
338 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
339
340 * gdb.base/maint.exp: Update line table parsing test.
341 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
342
343 2020-01-24 Pedro Alves <palves@redhat.com>
344
345 PR gdb/25410
346 * gdb.multi/multi-re-run-1.c: New.
347 * gdb.multi/multi-re-run-2.c: New.
348 * gdb.multi/multi-re-run.exp: New.
349
350 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
351
352 PR gdb/23718
353 * gdb.server/server-kill-python.exp: New file.
354
355 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
356
357 * gdb.server/multi-ui-errors.c: New file.
358 * gdb.server/multi-ui-errors.exp: New file.
359
360 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
361
362 PR tui/9765
363 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
364
365 2020-01-19 Tom Tromey <tom@tromey.com>
366
367 * gdb.tui/main.exp: Add check for plain "file".
368
369 2020-01-16 Christian Biesinger <cbiesinger@google.com>
370
371 * lib/gdb.exp: Fix spelling error (seperatelly).
372
373 2020-01-14 Tom Tromey <tom@tromey.com>
374
375 PR symtab/12535:
376 * gdb.python/python.exp: Test decode_line with empty string
377 argument.
378
379 2020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
380
381 * gdb.base/skip-inline.exp: Extend test.
382
383 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
384
385 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
386 * gdb.dwarf2/dw2-bad-elf.c: New file.
387 * gdb.dwarf2/dw2-bad-elf.exp: New file.
388
389 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
390
391 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
392 _line_saw_file.
393
394 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
395
396 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
397 border.
398
399 2020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
400
401 * gdb.multi/multi-target.exp (setup): Factor out "info
402 connections" and "info inferiors" tests to ...
403 (test_info_inferiors): ... this new procedure.
404 (top level): Run new "info-inferiors" tests.
405
406 2020-01-10 Pedro Alves <palves@redhat.com>
407
408 * gdb.server/bkpt-other-inferior.exp: New file.
409
410 2020-01-10 Pedro Alves <palves@redhat.com>
411
412 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
413 of "add-inferior".
414 * gdb.base/quit-live.exp: Likewise.
415 * gdb.base/remote-exec-file.exp: Likewise.
416 * gdb.guile/scm-progspace.exp: Likewise.
417 * gdb.linespec/linespec.exp: Likewise.
418 * gdb.mi/new-ui-mi-sync.exp: Likewise.
419 * gdb.mi/user-selected-context-sync.exp: Likewise.
420 * gdb.multi/multi-target.exp (setup): Add "info connection" and
421 "info inferiors" tests.
422 * gdb.multi/remove-inferiors.exp: Adjust expected output of
423 "add-inferior".
424 * gdb.multi/watchpoint-multi.exp: Likewise.
425 * gdb.python/py-inferior.exp: Likewise.
426 * gdb.server/extended-remote-restart.exp: Likewise.
427 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
428 "info inferiors".
429 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
430 * gdb.trace/report.exp: Likewise.
431
432 2020-01-10 Pedro Alves <palves@redhat.com>
433
434 * gdb.multi/multi-target.c: New file.
435 * gdb.multi/multi-target.exp: New file.
436 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
437 mode requested, but remote does not support non-stop".
438
439 2020-01-10 Pedro Alves <palves@redhat.com>
440
441 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
442 disconnect before reconnecting.
443
444 2020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
445 Pedro Alves <palves@redhat.com>
446
447 * gdb.server/connect-without-multi-process.exp: Also test
448 continuing to end.
449
450 2020-01-10 Pedro Alves <palves@redhat.com>
451
452 * gdb.base/remote-exec-file.exp: New file.
453
454 2020-01-10 Pedro Alves <palves@redhat.com>
455
456 * gdb.base/fork-running-state.exp (do_test): Adjust expected
457 output.
458 * gdb.threads/async.c: New.
459 * gdb.threads/async.exp: New.
460 * gdb.multi/tids-gid-reset.c: New.
461 * gdb.multi/tids-gid-reset.exp: New.
462
463 2020-01-10 George Barrett <bob@bob131.so>
464
465 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
466 to help in finding the image relocation offset.
467 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
468 options in arguments.
469 (stap_test_no_debuginfo): Likewise.
470 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
471 test variants.
472 (stap_test): Add null semaphore relocation test.
473
474 2020-01-10 George Barrett <bob@bob131.so>
475
476 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
477 * gdb.base/stap-probe.exp: Likewise.
478 (stap_test): Pass argument as an additional flag.
479 (stap_test_no_debuginfo): Likewise.
480 (stap_test): Check `info probes stap' output for semaphore
481 addresses if the test binary is supposed to have them.
482
483 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
484
485 * gdb.tui/basic.exp: Add more scrolling tests.
486
487 2020-01-09 Tom Tromey <tom@tromey.com>
488
489 PR tui/18932:
490 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
491 meangingful value.
492 (Term::command, Term::resize): Update.
493 * gdb.tui/basic.exp: Add scrolling test.
494
495 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
496
497 * gdb.tui/tui-layout-asm.exp: New file.
498
499 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
500
501 * lib/tuiterm.exp (Term::check_box_contents): New proc.
502
503 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
504
505 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
506 (Term::enter_tui): Use Term::prepare_for_tui.
507
508 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
509
510 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
511 called.
512
513 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
514
515 * gdb.base/skip.exp: Fix race condition in test.
516
517 2020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
518
519 * gdb.base/backtrace.c: New file.
520 * gdb.base/backtrace.exp: New file.
521
522 2020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
523
524 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
525
526 2020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
527
528 * gdb.base/style.exp: Test that warnings are styled.
529
530 2019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
531
532 * gdb.base/line65535.exp: New file.
533 * gdb.base/line65535.c: New file.
534
535 2019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
536
537 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
538 * lib/gnat_debug_info_test.adb: New file.
539 * gdb.ada/ptype_tagged_param.exp: Use
540 gnat_runtime_has_debug_info, expect a different output if
541 runtime does not have debug info.
542
543 2019-12-20 Simon Marchi <simon.marchi@efficios.com>
544
545 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
546 (another) quote in test name.
547
548 2019-12-20 Simon Marchi <simon.marchi@efficios.com>
549
550 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
551 Add quote in test name.
552
553 2019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
554
555 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
556 directory instead.
557 * gdb.cp/pass-by-ref.exp: Extend with more cases.
558 * gdb.cp/pass-by-ref-2.cc: New file.
559 * gdb.cp/pass-by-ref-2.exp: New file.
560
561 2019-12-20 Tom Tromey <tom@tromey.com>
562
563 * gdb.tui/list-before.exp: New file.
564
565 2019-12-20 Tom Tromey <tom@tromey.com>
566
567 * gdb.tui/list.exp: Check for source on initial listing.
568
569 2019-12-11 Tom Tromey <tromey@adacore.com>
570
571 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
572 Add crlf test.
573
574 2019-12-18 Simon Marchi <simon.marchi@efficios.com>
575
576 * gdb.base/default.exp: Update value of $_gdb_major.
577
578 2019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
579
580 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
581
582 2019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
583
584 * gdb.base/skip.exp: Whitespace fix.
585
586 2019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
587
588 * gdb.base/skip-inline.c: New file.
589 * gdb.base/skip-inline.exp: New file.
590
591 2019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
592
593 * gdb.base/jit-reader.exp (jit_reader_test): Rename
594 jit_function_00 to jit_function_stack_mangle.
595 * gdb.base/jithost.c (jit_function_t): Rename to...
596 (jit_function_stack_mangle_t): ... this.
597 (jit_function_add_t): New typedef.
598 (jit_function_00_code): Rename to...
599 (jit_function_stack_mangle_code): ... this, make static.
600 (jit_function_add_code): New.
601 (main): Generate "add" function and call it. Adjust to changes
602 in jithost_abi.
603 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
604 (struct jithost_abi) <begin, end>: Remove fields.
605 <object, function_stack_mangle, function_add>: New fields.
606 * gdb.base/jitreader.c (struct reader_state) <code_begin,
607 code_end>: Remove fields.
608 <func_stack_mangle>: New field.
609 (read_debug_info): Adjust to renaming, create block for "add"
610 function.
611 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
612
613 2019-12-11 Tom Tromey <tom@tromey.com>
614
615 * gdb.tui/resize.exp: Fix regexp.
616 * gdb.tui/regs.exp: Fix regexps.
617 * gdb.tui/main.exp: Fix regexp.
618
619 2019-12-11 Tom Tromey <tom@tromey.com>
620
621 * gdb.tui/resize.exp: Update.
622 * gdb.tui/empty.exp (layouts): Update.
623
624 2019-12-11 Tom Tromey <tom@tromey.com>
625
626 * gdb.tui/regs.exp: Update.
627 * gdb.tui/empty.exp (layouts): Update.
628 * gdb.tui/basic.exp: Update.
629 * lib/tuiterm.exp (_check_box): Don't check bottom border.
630
631 2019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
632
633 * gdb.base/options.exp: Add -raw-values in the print completion list.
634 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
635
636 2019-12-10 Kevin Buettner <kevinb@redhat.com>
637
638 * gdb.threads/omp-par-scope.c: New file.
639 * gdb/threads/omp-par-scope.exp: New file.
640
641 2019-12-10 Kevin Buettner <kevinb@redhat.com>
642
643 * lib/gdb.exp (support_nested_function_tests): New proc.
644
645 2019-12-10 Kevin Buettner <kevinb@redhat.com>
646
647 * lib/gdb.exp (gdb_compile_openmp): New proc.
648 (build_executable_from_specs): Add an "openmp" option.
649 (gdb_compile_pthreads): Add non-executable case.
650
651 2019-12-10 Tom Tromey <tromey@adacore.com>
652
653 * gdb.ada/unchecked_union.exp: New file.
654 * gdb.ada/unchecked_union/pck.adb: New file.
655 * gdb.ada/unchecked_union/pck.ads: New file.
656 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
657 * gdb-utils.exp (string_to_regexp): Also quote "?".
658
659 2019-12-10 George Barrett <bob@bob131.so>
660
661 Test scripted probe breakpoints.
662 * gdb.guile/scm-breakpoint.c (main): Add probe point.
663 * gdb.python/py-breakpoint.c (main): Likewise.
664 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
665 specifier test.
666 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
667
668 2019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
669
670 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
671 an rvalue parameter.
672 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
673 parameter.
674
675 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
676
677 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
678 modules.
679
680 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
681
682 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
683 broken version of GCC.
684
685 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
686
687 * gdb.fortran/info-modules.exp: Rewrite to make use of new
688 sym-info-cmds library.
689 * gdb.fortran/info-types.exp: Likewise.
690 * lib/sym-info-cmds.exp: New file.
691
692 2019-12-08 Tom de Vries <tdevries@suse.de>
693
694 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
695
696 2019-12-07 Keith Seitz <keiths@redhat.com>
697
698 * gdb.base/corefile-buildid-shlib-shr.c: New file.
699 * gdb.base/corefile-buildid-shlib.c: New file.
700 * gdb.base/corefile-buildid.c: New file.
701 * gdb.base/corefile-buildid.exp: New file.
702
703 2019-12-06 Tom de Vries <tdevries@suse.de>
704
705 * gdb.dwarf2/varval.exp: Add decl before def test.
706
707 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
708
709 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
710
711 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
712
713 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
714 CV and reference conversion for overload resolution.
715 * gdb.cp/rvalue-ref-overload.exp: Test it.
716
717 2019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
718
719 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
720 * gdb.base/frameapply.exp: Test faas without command.
721
722 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
723
724 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
725 Fortran tests.
726 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
727 order.
728
729 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
730
731 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
732 casting to type with no kind specified.
733 (test_basic_parsing_of_type_kinds): Additional tests for types
734 with no kind specified, and add tests for single/double
735 precision/complex types.
736
737 2019-12-04 Tom Tromey <tromey@adacore.com>
738
739 * gdb.base/endianity.c (struct other) <x>: New field.
740 (main): Initialize it.
741 * gdb.base/endianity.exp: Update.
742
743 2019-12-04 Tom Tromey <tromey@adacore.com>
744
745 * gdb.ada/scalar_storage/storage.adb: New file.
746 * gdb.ada/scalar_storage/pck.adb: New file.
747 * gdb.ada/scalar_storage/pck.ads: New file.
748 * gdb.ada/scalar_storage.exp: New file.
749
750 2019-12-04 Tom Tromey <tromey@adacore.com>
751
752 * gdb.base/endianity.c (struct otherendian) <f>: New field.
753 (main): Initialize it.
754 * gdb.base/endianity.exp: Update.
755
756 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
757
758 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
759
760 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
761
762 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
763 -symbol-info-module-functions and -symbol-info-module-variables.
764
765 2019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
766
767 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
768
769 2019-12-01 Richard Bunt <richard.bunt@arm.com>
770 Andrew Burgess <andrew.burgess@embecosm.com>
771
772 * gdb.fortran/derived-type-striding.exp: New file.
773 * gdb.fortran/derived-type-striding.f90: New file.
774 * gdb.fortran/array-slices.exp: New file.
775 * gdb.fortran/array-slices.f90: New file.
776
777 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
778
779 * gdb.base/define.exp: Test . in command names.
780 * gdb.base/setshow.exp: Update test, as . is now part of
781 command name.
782
783 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
784
785 * gdb.base/define-prefix.exp: New file.
786
787 2019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
788
789 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
790 compile.
791 (skip_btrace_pt_tests): Likewise.
792
793 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
794
795 * gdb.fortran/info-modules.exp: Compile source files in correct
796 order.
797
798 2019-11-27 Kevin Buettner <kevinb@redhat.com>
799
800 * gdb.dwarf2/imported-unit.exp: New file.
801 * gdb.dwarf2/imported-unit.c: New file.
802
803 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
804
805 * gdb.mi/mi-fortran-modules-2.f90: New file.
806 * gdb.mi/mi-fortran-modules.exp: New file.
807 * gdb.mi/mi-fortran-modules.f90: New file.
808
809 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
810
811 * gdb.mi/mi-sym-info-1.c: New file.
812 * gdb.mi/mi-sym-info-2.c: New file.
813 * gdb.mi/mi-sym-info.exp: New file.
814
815 2019-11-22 Tom Tromey <tromey@adacore.com>
816
817 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
818 * gdb.ada/tasks/foo.adb: Add another stopping location.
819
820 2019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
821
822 * gdb.base/endianity.c: New test.
823 * gdb.base/endianity.exp: New file.
824
825 2019-11-21 Lukas Durfina <ldurfina@tachyum.com>
826
827 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
828
829 2019-11-21 Tom de Vries <tdevries@suse.de>
830
831 PR gdb/24956
832 * gdb.base/ui-redirect.exp: Test output of user-defined command.
833
834 2019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
835
836 * gdb.python/py-progspace.exp: Add missing parentheses on some
837 'print' commands.
838
839 2019-11-19 Tom Tromey <tom@tromey.com>
840
841 * gdb.tui/winheight.exp: New file.
842
843 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
844
845 * gdb.base/ctf-whatis.c: Delete.
846 * gdb.base/ctf-whatis.exp: Delete.
847 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
848
849 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
850
851 * gdb.base/ctf-cvexpr.exp: Delete.
852 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
853
854 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
855
856 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
857 the compiler. Clean up header comment a little.
858 * gdb.base/ctf-ptype.exp: Likewise.
859 * gdb.base/ctf-whatis.exp: Likewise.
860 * lib/gdb.exp (skip_ctf_tests): New proc.
861
862 2019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
863
864 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
865 * gdb.tui/corefile-run.exp: New file.
866
867 2019-11-14 Tom Tromey <tromey@adacore.com>
868
869 * gdb.base/gdbvars.exp (test_convenience_variables): Add
870 regression tests.
871
872 2019-11-12 Tom Tromey <tom@tromey.com>
873
874 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
875 after any command. Expect prompt after WAIT_FOR is seen.
876 (enter_tui): Enable resize messages.
877 (command): Expect command in output.
878 (get_line): Avoid error when cursor appears to be off-screen.
879 (dump_screen): Include screen size in title.
880 (_do_resize): New proc, from "resize".
881 (resize): Rewrite. Do resize in two steps.
882 * gdb.tui/empty.exp (layouts): Fix entries.
883 (check_boxes): Remove xfail.
884 (check_text): Dump screen on failure.
885
886 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
887
888 * gdb.python/py-symbol.exp: Add test for
889 gdb.lookup_static_symbols.
890
891 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
892
893 * gdb.python/py-symbol.c: Declare and call function from new
894 py-symbol-2.c file.
895 * gdb.python/py-symbol.exp: Compile both source files, and add new
896 tests for gdb.lookup_static_symbol.
897 * gdb.python/py-symbol-2.c: New file.
898
899 2019-11-02 Tom de Vries <tdevries@suse.de>
900
901 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
902 * gdb.base/anon.exp: Same.
903 * gdb.base/auto-connect-native-target.exp: Same.
904 * gdb.base/call-ar-st.exp: Same.
905 * gdb.base/catch-syscall.exp: Same.
906 * gdb.base/commands.exp: Same.
907 * gdb.base/default.exp: Same.
908 * gdb.base/display.exp: Same.
909 * gdb.base/float.exp: Same.
910 * gdb.base/foll-fork.exp: Same.
911 * gdb.base/help.exp: Same.
912 * gdb.base/info-macros.exp: Same.
913 * gdb.base/info-proc.exp: Same.
914 * gdb.base/info-target.exp: Same.
915 * gdb.base/long_long.exp: Same.
916 * gdb.base/macscp.exp: Same.
917 * gdb.base/memattr.exp: Same.
918 * gdb.base/nofield.exp: Same.
919 * gdb.base/pointers.exp: Same.
920 * gdb.base/printcmds.exp: Same.
921 * gdb.base/ptype.exp: Same.
922 * gdb.base/restore.exp: Same.
923 * gdb.base/return.exp: Same.
924 * gdb.base/scope.exp: Same.
925 * gdb.base/set-noassign.exp: Same.
926 * gdb.base/setshow.exp: Same.
927 * gdb.base/shlib-call.exp: Same.
928 * gdb.base/signals.exp: Same.
929 * gdb.base/sigstep.exp: Same.
930 * gdb.base/skip.exp: Same.
931 * gdb.base/solib-symbol.exp: Same.
932 * gdb.base/stap-probe.exp: Same.
933 * gdb.base/step-line.exp: Same.
934 * gdb.base/step-test.exp: Same.
935 * gdb.base/style.exp: Same.
936 * gdb.base/varargs.exp: Same.
937 * gdb.base/vla-datatypes.exp: Same.
938 * gdb.base/vla-ptr.exp: Same.
939 * gdb.base/vla-sideeffect.exp: Same.
940 * gdb.base/volatile.exp: Same.
941 * gdb.base/watch-cond-infcall.exp: Same.
942 * gdb.base/watchpoint.exp: Same.
943
944 2019-11-02 Tom de Vries <tdevries@suse.de>
945
946 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
947 * gdb.cp/cpexprs.exp: Same.
948 * gdb.cp/except-multi-location.exp: Same.
949 * gdb.cp/exceptprint.exp: Same.
950 * gdb.cp/gdb2384.exp: Same.
951 * gdb.cp/inherit.exp: Same.
952 * gdb.cp/m-static.exp: Same.
953 * gdb.cp/meth-typedefs.exp: Same.
954 * gdb.cp/misc.exp: Same.
955 * gdb.cp/namespace.exp: Same.
956 * gdb.cp/non-trivial-retval.exp: Same.
957 * gdb.cp/overload.exp: Same.
958 * gdb.cp/pr17132.exp: Same.
959 * gdb.cp/re-set-overloaded.exp: Same.
960 * gdb.cp/rvalue-ref-types.exp: Same.
961 * gdb.cp/templates.exp: Same.
962
963 2019-11-01 Luis Machado <luis.machado@linaro.org>
964
965 PR gdb/25124
966
967 * gdb.arch/pr25124.S: New file.
968 * gdb.arch/pr25124.exp: New file.
969
970 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
971
972 * gdb.fortran/info-modules.exp: Update expected results, and add
973 additional tests for 'info module functinos', and 'info module
974 variables'.
975 * gdb.fortran/info-types.exp: Update expected results.
976 * gdb.fortran/info-types.f90: Extend testcase with additional
977 module variables and functions.
978
979 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
980
981 * gdb.fortran/info-modules.exp: New file.
982 * gdb.fortran/info-types.exp: Build with new file.
983 * gdb.fortran/info-types.f90: Include and use new module.
984 * gdb.fortran/info-types-2.f90: New file.
985
986 2019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
987
988 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
989 * gdb.base/settings.exp: Test all settings types using
990 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
991 that now verifies that the value of "maint show" is the same as
992 returned by the settings functions. Test the type of the
993 maintenance settings.
994 * gdb.base/default.exp: Update show_conv_list.
995
996 2019-10-31 Tom de Vries <tdevries@suse.de>
997
998 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
999 gdb_test.
1000 * gdb.arch/amd64-disp-step.exp: Same.
1001 * gdb.asm/asm-source.exp: Same.
1002 * gdb.btrace/buffer-size.exp: Same.
1003 * gdb.btrace/cpu.exp: Same.
1004 * gdb.btrace/enable.exp: Same.
1005 * gdb.dwarf2/count.exp: Same.
1006 * gdb.dwarf2/dw2-ranges-func.exp: Same.
1007 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
1008 * gdb.fortran/vla-datatypes.exp: Same.
1009 * gdb.fortran/vla-history.exp: Same.
1010 * gdb.fortran/vla-ptype.exp: Same.
1011 * gdb.fortran/vla-value.exp: Same.
1012 * gdb.fortran/whatis_type.exp: Same.
1013 * gdb.guile/guile.exp: Same.
1014 * gdb.multi/tids.exp: Same.
1015 * gdb.python/py-finish-breakpoint.exp: Same.
1016 * gdb.python/py-framefilter.exp: Same.
1017 * gdb.python/py-pp-registration.exp: Same.
1018 * gdb.python/py-xmethods.exp: Same.
1019 * gdb.python/python.exp: Same.
1020 * gdb.server/connect-with-no-symbol-file.exp: Same.
1021 * gdb.server/no-thread-db.exp: Same.
1022 * gdb.server/run-without-local-binary.exp: Same.
1023 * gdb.stabs/weird.exp: Same.
1024 * gdb.threads/attach-many-short-lived-threads.exp: Same.
1025 * gdb.threads/thread-find.exp: Same.
1026 * gdb.threads/tls-shared.exp: Same.
1027 * gdb.threads/tls.exp: Same.
1028 * gdb.threads/wp-replication.exp: Same.
1029 * gdb.trace/ax.exp: Same.
1030 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
1031
1032 2019-10-31 Tom de Vries <tdevries@suse.de>
1033
1034 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
1035 * gdb.ada/array_subscript_addr.exp: Same.
1036 * gdb.ada/arrayidx.exp: Same.
1037 * gdb.ada/arrayparam.exp: Same.
1038 * gdb.ada/arrayptr.exp: Same.
1039 * gdb.ada/boolean_expr.exp: Same.
1040 * gdb.ada/call_pn.exp: Same.
1041 * gdb.ada/complete.exp: Same.
1042 * gdb.ada/fixed_cmp.exp: Same.
1043 * gdb.ada/fun_addr.exp: Same.
1044 * gdb.ada/funcall_param.exp: Same.
1045 * gdb.ada/interface.exp: Same.
1046 * gdb.ada/mod_from_name.exp: Same.
1047 * gdb.ada/null_array.exp: Same.
1048 * gdb.ada/packed_array.exp: Same.
1049 * gdb.ada/packed_tagged.exp: Same.
1050 * gdb.ada/print_chars.exp: Same.
1051 * gdb.ada/print_pc.exp: Same.
1052 * gdb.ada/ptype_arith_binop.exp: Same.
1053 * gdb.ada/ptype_field.exp: Same.
1054 * gdb.ada/ptype_tagged_param.exp: Same.
1055 * gdb.ada/rec_return.exp: Same.
1056 * gdb.ada/ref_tick_size.exp: Same.
1057 * gdb.ada/str_ref_cmp.exp: Same.
1058 * gdb.ada/taft_type.exp: Same.
1059 * gdb.ada/tagged.exp: Same.
1060 * gdb.ada/type_coercion.exp: Same.
1061 * gdb.ada/uninitialized_vars.exp: Same.
1062
1063 2019-10-30 Tom de Vries <tdevries@suse.de>
1064
1065 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
1066
1067 2019-10-26 Tom de Vries <tdevries@suse.de>
1068
1069 * gdb.base/bigcore.c: Fix typos in comments.
1070 * gdb.base/ctf-ptype.c: Same.
1071 * gdb.base/long_long.c: Same.
1072 * gdb.dwarf2/dw2-op-out-param.S: Same.
1073 * gdb.python/py-evthreads.c: Same.
1074 * gdb.reverse/i387-stack-reverse.c: Same.
1075 * gdb.trace/tfile.c: Same.
1076 * lib/compiler.c: Same.
1077 * lib/compiler.cc: Same.
1078
1079 2019-10-25 Tom de Vries <tdevries@suse.de>
1080
1081 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
1082 gdb_test_multiple calls.
1083 * gdb.reverse/sigall-reverse.exp: Same.
1084 * gdb.reverse/solib-precsave.exp: Same.
1085 * gdb.reverse/solib-reverse.exp: Same.
1086 * gdb.reverse/until-precsave.exp: Same.
1087 * gdb.reverse/until-reverse.exp: Same.
1088
1089 2019-10-24 Tom de Vries <tdevries@suse.de>
1090
1091 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
1092 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
1093 kfail using -wrap pattern flag and convenience variable
1094 gdb_test_name.
1095
1096 2019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
1097
1098 * gdb.python/py-progspace.exp: Add tests for the
1099 Progspace.block_for_pc method.
1100
1101 2019-10-23 Tom Tromey <tom@tromey.com>
1102
1103 * configure: Rebuild.
1104 * aclocal.m4: Use m4_include, not sinclude.
1105
1106 2019-10-21 Tom de Vries <tdevries@suse.de>
1107
1108 * gdb.base/infcall-nested-structs.c: Add
1109 __attribute__((noinline,noclone)) to all functions.
1110 (call_all): Add missing variable initialization. Simplify return value.
1111 (breakpt): Increment volatile variable, to prevent call from being
1112 optimized out.
1113 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
1114
1115 2019-10-17 Tom de Vries <tdevries@suse.de>
1116
1117 * gdb.fortran/module.exp: Allow info variables to print info for files
1118 other than module.f90.
1119
1120 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
1121
1122 * gdb.fortran/module.exp: Extend with 'info variables' test.
1123
1124 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
1125
1126 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
1127 F77_FOR_TARGET.
1128
1129 2019-10-16 Tom de Vries <tdevries@suse.de>
1130
1131 PR tdep/25096
1132 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
1133
1134 2019-10-16 Tom de Vries <tdevries@suse.de>
1135
1136 PR tdep/24104
1137 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
1138 Add KFAIL for PR tdep/25096.
1139
1140 2019-10-16 Tom de Vries <tdevries@suse.de>
1141
1142 PR testsuite/25059
1143 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
1144
1145 2019-10-16 Tom de Vries <tdevries@suse.de>
1146
1147 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
1148 as signed.
1149
1150 2019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
1151
1152 * gdb.mi/list-thread-groups-available.exp: Read entries one by
1153 one instead of increasing timeout.
1154
1155 2019-10-13 Tom de Vries <tdevries@suse.de>
1156
1157 PR record/25038
1158 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
1159 * gdb.reverse/sigall-reverse.exp: Same.
1160 * gdb.reverse/solib-precsave.exp: Same.
1161 * gdb.reverse/solib-reverse.exp: Same.
1162 * gdb.reverse/step-precsave.exp: Same.
1163 * gdb.reverse/until-precsave.exp: Same.
1164 * gdb.reverse/until-reverse.exp: Same.
1165 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
1166
1167 2019-10-10 Andreas Arnez <arnez@linux.ibm.com>
1168
1169 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
1170 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
1171 (cmp_struct_05_01, cmp_struct_static_02_01)
1172 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
1173 comparisons.
1174
1175 2019-10-10 Tom de Vries <tdevries@suse.de>
1176
1177 PR testsuite/24888
1178 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
1179 gnatlink.
1180
1181 2019-10-09 Tom de Vries <tdevries@suse.de>
1182
1183 PR testsuite/25048
1184 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
1185
1186 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
1187
1188 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
1189 exceptions due to missing debug information.
1190
1191 2019-10-07 Tom de Vries <tdevries@suse.de>
1192
1193 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
1194
1195 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
1196
1197 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
1198 * gdb.base/annota1.exp: Update to use gdb_test_name.
1199
1200 2019-10-07 Weimin Pan <weimin.pan@oracle.com>
1201
1202 * gdb.base/ctf-whatis.exp: New file.
1203 * gdb.base/ctf-whatis.c: New file.
1204 * gdb.base/ctf-ptype.exp: New file.
1205 * gdb.base/ctf-ptype.c: New file.
1206 * gdb.base/ctf-constvars.exp: New file.
1207 * gdb.base/ctf-constvars.c: New file.
1208 * gdb.base/ctf-cvexpr.exp: New file.
1209
1210 2019-10-04 Tom de Vries <tdevries@suse.de>
1211
1212 * gdb.cp/local-static.c (main): Move declaration of int i out of the
1213 for loop.
1214
1215 2019-10-03 Tom Tromey <tom@tromey.com>
1216
1217 PR rust/24976:
1218 * gdb.rust/simple.rs (Union2): New type.
1219 (main): Use Union2.
1220 * gdb.rust/simple.exp: Add test.
1221
1222 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1223
1224 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
1225 nested function prefix.
1226
1227 2019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
1228 Richard Bunt <richard.bunt@arm.com>
1229 Andrew Burgess <andrew.burgess@embecosm.com>
1230
1231 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
1232 nested functions.
1233 * gdb.fortran/nested-funcs.f90: Update expected results.
1234 * gdb.fortran/nested-funcs-2.exp: New file.
1235 * gdb.fortran/nested-funcs-2.f90: New file.
1236
1237 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1238
1239 * gdb.python/py-parameter.exp: Make test names unique.
1240 * gdb.python/py-template.exp: Likewise.
1241 * gdb.python/py-value.exp: Likewise.
1242
1243 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1244
1245 * gdb.base/break-interp.exp: Reduce test name duplication.
1246 * gdb.base/call-sc.exp: Likewise.
1247 * gdb.base/callfuncs.exp: Likewise.
1248 * gdb.base/charset.exp: Likewise.
1249 * gdb.base/dump.exp: Likewise.
1250 * gdb.base/ena-dis-br.exp: Likewise.
1251 * gdb.base/relational.exp: Likewise.
1252 * gdb.base/step-over-syscall.exp: Likewise.
1253 * gdb.base/structs.exp: Likewise.
1254
1255 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1256
1257 * gdb.linespec/explicit.exp: Make test names unique.
1258 * gdb.linespec/ls-errs.exp: Likewise.
1259
1260 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1261
1262 * gdb.reverse/break-precsave.exp: Make test names unique.
1263 * gdb.reverse/break-reverse.exp: Likewise.
1264 * gdb.reverse/finish-precsave.exp: Likewise.
1265 * gdb.reverse/finish-reverse.exp: Likewise.
1266 * gdb.reverse/machinestate-precsave.exp: Likewise.
1267 * gdb.reverse/machinestate.exp: Likewise.
1268 * gdb.reverse/readv-reverse.exp: Likewise.
1269 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1270 * gdb.reverse/sigall-precsave.exp: Likewise.
1271 * gdb.reverse/sigall-reverse.exp: Likewise.
1272 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
1273 * gdb.reverse/watch-precsave.exp: Likewise.
1274 * gdb.reverse/watch-reverse.exp: Likewise.
1275
1276 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1277
1278 * gdb.threads/stop-with-handle.c: New file.
1279 * gdb.threads/stop-with-handle.exp: New file.
1280
1281 2019-10-03 Tom de Vries <tdevries@suse.de>
1282
1283 PR testsuite/25059
1284 * gdb.base/list-missing-source.exp: Allowing the "Compilation
1285 directory" line to be missing.
1286
1287 2019-10-03 Tom de Vries <tdevries@suse.de>
1288
1289 PR testsuite/25059
1290 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
1291 type optional.
1292
1293 2019-10-02 Andreas Arnez <arnez@linux.ibm.com>
1294
1295 * gdb.python/py-format-string.c (string.h): New include.
1296 (main): Fill a_struct_with_union.the_union.an_int with bytes of
1297 the same value, for endianness-independence.
1298 * gdb.python/py-format-string.exp (default_regexp_dict)
1299 (test_pretty_structs, test_format): Adjust expected output to the
1300 changed initialization.
1301
1302 2019-10-02 Tom Tromey <tromey@adacore.com>
1303
1304 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
1305
1306 2019-10-02 Pedro Alves <palves@redhat.com>
1307 Andrew Burgess <andrew.burgess@embecosm.com>
1308
1309 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
1310 "print-file-var.h".
1311 (this_version_id) Use ATTRIBUTE_VISIBILITY.
1312 (get_version_1): Print this_version_id and its address.
1313 Add extern "C" wrappers around interface functions.
1314 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
1315 "print-file-var.h".
1316 (this_version_id) Use ATTRIBUTE_VISIBILITY.
1317 (get_version_2): Print this_version_id and its address.
1318 Add extern "C" wrappers around interface functions.
1319 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
1320 <stddef.h> and "print-file-var.h".
1321 Add extern "C" wrappers around interface functions.
1322 [VERSION_ID_MAIN] (this_version_id): Define.
1323 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
1324 * gdb.base/print-file-var.h: Add some #defines to simplify setting
1325 up extern "C" blocks.
1326 * gdb.base/print-file-var.exp (test): New, factored out from top
1327 level.
1328 (top level): Test all combinations of attribute hidden or not,
1329 dlopen or not, and this_version_id symbol in main file or not.
1330 Compile tests as both C++ and C, make test names unique.
1331
1332 2019-10-01 Tom Tromey <tom@tromey.com>
1333
1334 * gdb.base/style.exp: Test "show logging filename".
1335
1336 2019-10-01 Tom Tromey <tom@tromey.com>
1337
1338 * lib/gdb-utils.exp (style): Handle "metadata" argument.
1339 * gdb.base/style.exp: Add metadata style test.
1340
1341 2019-10-01 Tom Tromey <tom@tromey.com>
1342
1343 * gdb.base/style.exp: Test "pwd".
1344
1345 2019-10-01 Tom Tromey <tom@tromey.com>
1346
1347 * gdb.base/style.exp: Update tests.
1348
1349 2019-10-01 Andreas Arnez <arnez@linux.ibm.com>
1350
1351 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
1352 'six' to unsigned.
1353 (s1): Initialize fields 'four' and 'six' instead of 'three' and
1354 'five'. Use an all-ones bit pattern for each.
1355 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
1356 to its changed values.
1357
1358 2019-09-30 Tom Tromey <tromey@adacore.com>
1359
1360 * gdb.rust/traits.rs: Disable all warnings.
1361
1362 2019-09-29 Tom de Vries <tdevries@suse.de>
1363
1364 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
1365
1366 2019-09-29 Tom de Vries <tdevries@suse.de>
1367
1368 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
1369
1370 2019-09-27 Tom de Vries <tdevries@suse.de>
1371
1372 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
1373
1374 2019-09-27 Tom de Vries <tdevries@suse.de>
1375
1376 PR record/23188
1377 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
1378
1379 2019-09-26 Tom Tromey <tromey@adacore.com>
1380
1381 * gdb.ada/py_taft.exp: New file.
1382 * gdb.ada/py_taft/main.adb: New file.
1383 * gdb.ada/py_taft/pkg.adb: New file.
1384 * gdb.ada/py_taft/pkg.ads: New file.
1385
1386 2019-09-24 Tom de Vries <tdevries@suse.de>
1387
1388 PR gdb/24598
1389 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
1390
1391 2019-09-22 Tom de Vries <tdevries@suse.de>
1392
1393 * gdb.base/restore.exp: Allow register variables to be optimized out at
1394 -O0.
1395
1396 2019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
1397
1398 * gdb.arch/spu-info.exp: Remove file.
1399 * gdb.arch/spu-info.c: Remove file.
1400 * gdb.arch/spu-ls.exp: Remove file.
1401 * gdb.arch/spu-ls.c: Remove file.
1402
1403 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
1404 * gdb.asm/spu.inc: Remove file.
1405
1406 * gdb.base/dump.exp: Remove support for spu*-*-*.
1407 * gdb.base/stack-checking.exp: Likewise.
1408 * gdb.base/overlays.exp: Likewise.
1409 * gdb.base/ovlymgr.c: Likewise.
1410 * gdb.base/spu.ld: Remove file.
1411
1412 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
1413 * gdb.cp/cpexprs.exp: Likewise.
1414 * gdb.cp/exception.exp: Likewise.
1415 * gdb.cp/gdb2495.exp: Likewise.
1416 * gdb.cp/mb-templates.exp: Likewise.
1417 * gdb.cp/pr9167.exp: Likewise.
1418 * gdb.cp/userdef.exp: Likewise.
1419
1420 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
1421
1422 * gdb.cell: Remove directory.
1423 * lib/cell.exp: Remove file.
1424
1425 2019-09-19 Tom de Vries <tdevries@suse.de>
1426
1427 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
1428
1429 2019-09-19 Tom de Vries <tdevries@suse.de>
1430
1431 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
1432
1433 2019-09-19 Tom de Vries <tdevries@suse.de>
1434
1435 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
1436 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
1437 (gdb_target_cmd): ... here.
1438 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
1439 value 2.
1440
1441 2019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
1442
1443 * gdb.base/source-dir.exp: Avoid having directory names in test
1444 names.
1445
1446 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
1447
1448 * gdb.base/source-dir.exp: Add extra test for mapped compilation
1449 directory.
1450
1451 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
1452
1453 * gdb.base/list-missing-source.exp: New file.
1454
1455 2019-09-14 Tom de Vries <tdevries@suse.de>
1456
1457 PR teststuite/24599
1458 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
1459 * lib/ada.exp (gnatmake_version_at_least): New proc.
1460
1461 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
1462
1463 * gdb.base/maint.exp: Use exec_has_index_section.
1464
1465 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
1466
1467 * gdb.base/maint.exp: Add test for 'maint info sections'.
1468
1469 2019-09-12 Tom de Vries <tdevries@suse.de>
1470
1471 * gdb.base/store.exp: Allow register variables to be optimized out at
1472 -O0.
1473
1474 2019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1475
1476 * gdb.ada/rdv_wait.exp: Update to new task names.
1477 * gdb.base/task_switch_in_core.exp: Likewise.
1478 * gdb.base/info_sources_base.c: Likewise.
1479
1480 2019-09-10 Tom Tromey <tromey@adacore.com>
1481
1482 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
1483
1484 2019-09-10 Tom Tromey <tromey@adacore.com>
1485
1486 * gdb.ada/dgopt.exp: New file.
1487 * gdb.ada/dgopt/x.adb: New file.
1488
1489 2019-09-08 Tom Tromey <tom@tromey.com>
1490
1491 * gdb.tui/resize.exp: Remove setup_xfail.
1492 * gdb.tui/regs.exp: Remove setup_xfail.
1493 * gdb.tui/basic.exp: Remove setup_xfail.
1494
1495 2019-09-06 David Blaikie <dblaikie@gmail.com>
1496
1497 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
1498 * gdb.cp/cplabel.exp: Ditto.
1499 * gdb.linespec/ls-errs.exp: Ditto.
1500
1501 2019-09-05 Tom de Vries <tdevries@suse.de>
1502
1503 * lib/gdb.exp (cmp_file_string): New proc.
1504 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
1505 runto_main. Verify save breakpoints output.
1506
1507 2019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1508
1509 * gdb.base/info-var.exp: Test info variables without running
1510 to main, to avoid expect's buffer overflow.
1511
1512 2019-09-03 Tom Tromey <tromey@adacore.com>
1513
1514 * gdb.ada/bias.exp: New file.
1515 * gdb.ada/bias/bias.adb: New file.
1516 * gdb.ada/print_chars.exp: Add regression test.
1517 * gdb.ada/print_chars/foo.adb (My_Character): New type.
1518 (MC): New variable.
1519
1520 2019-08-29 Sandra Loosemore <sandra@codesourcery.com>
1521
1522 * gdb.base/argv0-symlink.exp: Run only on native target
1523 and local host.
1524
1525 2019-08-29 Tom de Vries <tdevries@suse.de>
1526
1527 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
1528 diverse debug info.
1529 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
1530
1531 2019-08-28 Tom de Vries <tdevries@suse.de>
1532
1533 * gdb.base/info-var.exp: Allow info variables to print info for files
1534 other than info-var-f1.c and info-var-f2.c.
1535
1536 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
1537
1538 * gdb.fortran/info-types.exp: Add module.
1539 * gdb.fortran/info-types.f90: Update expected results.
1540
1541 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
1542
1543 * gdb.fortran/info-types.exp: New file.
1544 * gdb.fortran/info-types.f90: New file.
1545 * lib/fortran.exp (fortran_character1): New proc.
1546
1547 2019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
1548
1549 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
1550 functions'. Reindent as needed.
1551 * gdb.base/info-var-f1.c: New file.
1552 * gdb.base/info-var-f2.c: New file.
1553 * gdb.base/info-var.exp: New file.
1554 * gdb.base/info-var.h: New file.
1555
1556 2019-08-26 Tom de Vries <tdevries@suse.de>
1557
1558 PR c++/24852
1559 * gdb.cp/no-libstdcxx-probe.exp: New test.
1560
1561 2019-08-26 Tom de Vries <tdevries@suse.de>
1562
1563 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
1564 * tests need to be skipped.
1565 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
1566 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
1567 mi_skip_libstdcxx_probe_tests.
1568
1569 2019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
1570
1571 * gdb.python/py-xmethods.exp: Use raw strings when passing
1572 arguments to SimpleXMethodMatcher.
1573
1574 2019-08-22 Tom de Vries <tdevries@suse.de>
1575
1576 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
1577 more informative.
1578
1579 2019-08-21 Pedro Alves <palves@redhat.com>
1580
1581 * gdb.base/with.exp: Test "with" with no arguments.
1582
1583 2019-08-21 Tom de Vries <tdevries@suse.de>
1584
1585 * gdb.base/gdb-caching-proc.exp: Sort files.
1586
1587 2019-08-20 Tom de Vries <tdevries@suse.de>
1588
1589 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
1590 compilation.
1591
1592 2019-08-16 Tom de Vries <tdevries@suse.de>
1593
1594 * gdb.base/compare-sections.exp ("after run to main"): Allow
1595 mismatched read-only sections for PIE executables.
1596
1597 2019-08-16 Tom Tromey <tom@tromey.com>
1598
1599 * lib/tuiterm.exp (_csi_Z): New proc.
1600 * gdb.tui/basic.exp: Update window positions.
1601 * gdb.tui/empty.exp: Update window positions.
1602
1603 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
1604
1605 * gdb.base/examine-backward.exp: Correct regexp for
1606 "examine 3 bytes backward from ${address_zero}".
1607
1608 2019-08-15 Tom Tromey <tom@tromey.com>
1609
1610 * gdb.tui/empty.exp: Enable resizing tests.
1611
1612 2019-08-15 Tom Tromey <tromey@adacore.com>
1613
1614 * gdb.ada/char_enum.exp: Add regression tests.
1615 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
1616 and '0'.
1617 (Char, Gchar): Update.
1618 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
1619
1620 2019-08-15 Christian Biesinger <cbiesinger@google.com>
1621
1622 * gdb.python/python.exp: Expect a leading underscore on
1623 GdbOutput{,Error}File.
1624
1625 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
1626
1627 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
1628 Windows host.
1629
1630 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
1631
1632 * gdb.base/batch-preserve-term-settings.exp
1633 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
1634
1635 2019-08-15 Christian Biesinger <cbiesinger@google.com>
1636
1637 * lib/gdb.exp: When running on a mingw target, replace
1638 /x/ with x:/.
1639
1640 2019-08-14 Alan Hayward <alan.hayward@arm.com>
1641
1642 * gdb.arch/aarch64-prologue.c: New test.
1643 * gdb.arch/aarch64-prologue.exp: New file.
1644
1645 2019-08-13 Tom de Vries <tdevries@suse.de>
1646
1647 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
1648 Thread.
1649
1650 2019-08-13 Sandra Loosemore <sandra@codesourcery.com>
1651
1652 * gdb.python/py-completion.exp: Download the .py file to the host
1653 and use its host pathname. Conditionalize tests that use
1654 tab completion and manipulate files on the build machine.
1655 * gdb.python/py-events.exp: Download the .py file to the host
1656 and use its host pathname.
1657 * gdb.python/py-evsignal.exp: Likewise.
1658 * gdb.python/py-evthreads.exp: Likewise.
1659 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
1660 pathname syntax.
1661 * gdb.python/py-framefilter.exp: Download the .py file to the right
1662 place on the host. Match Windows pathname syntax.
1663 * gdb.python/py-mi-var-info-path-expression.exp: Download the
1664 .py file to the host and use its host pathname.
1665 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
1666 * gdb.python/py-objfile.exp: Expect a host pathname, not a
1667 build pathname. Skip symlink test on Windows host. Add missing
1668 newline at end of file.
1669 * gdb.python/py-pp-maint.exp: Download the .py file to the host
1670 and use its host pathname.
1671 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
1672 * gdb.python/py-section-script.exp: Use host location of binfile
1673 on safe-path. Use correct path separator on Windows host.
1674 Reorder alternatives in gdb_test_multiple to prevent matching
1675 the wrong alternative on success.
1676 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
1677
1678 2019-08-12 Patrick Palka <patrick@parcs.ath.cx>
1679
1680 * gdb.gdb/selftest.exp (test_with_self): Update test to now
1681 expect the GDB inferior to no longer immediately stop after
1682 being resumed with "signal SIGINT".
1683
1684 2019-08-09 Sandra Loosemore <sandra@codesourcery.com>
1685
1686 * gdb.linespec/break-ask.exp: Generalize regexps to match
1687 Windows pathnames too.
1688
1689 2019-08-08 Tom de Vries <tdevries@suse.de>
1690
1691 PR testsuite/24862
1692 * lib/tuiterm.exp (_accept): Fix CSI regexp.
1693
1694 2019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1695
1696 * gdb.base/style.exp: Update tests for help doc new invariants.
1697 * gdb.base/help.exp: Likewise.
1698
1699 2019-08-06 Tom Tromey <tom@tromey.com>
1700
1701 * gdb.base/style.exp: Add disassemble test.
1702 * gdb.base/style.c (some_called_function): New function.
1703 (main): Use it.
1704
1705 2019-08-05 Christian Biesinger <cbiesinger@google.com>
1706
1707 * gdb.python/py-block.exp: Test dictionary access on blocks.
1708
1709 2019-08-05 Simon Marchi <simon.marchi@efficios.com>
1710
1711 PR gdb/24863
1712 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
1713 -list-thread-groups --available test when running under
1714 check-read1.
1715
1716 2019-08-05 Tom de Vries <tdevries@suse.de>
1717
1718 PR testsuite/24863
1719 * lib/gdb.exp (with_read1_timeout_factor): New proc.
1720 * gdb.base/help.exp: Use with_read1_timeout_factor.
1721 * gdb.base/info-macros.exp: Same.
1722 * gdb.cp/nested-types.exp: Same.
1723
1724 2019-08-05 Tom de Vries <tdevries@suse.de>
1725
1726 * lib/gdb.exp (version_at_least): Factor out of ...
1727 (tcl_version_at_least): ... here.
1728 (gdb_compile): Fail if pie results in non-PIE executable.
1729 (readelf_version, readelf_prints_pie): New proc.
1730 (exec_is_pie): Return -1 if unknown.
1731
1732 2019-08-05 Tom de Vries <tdevries@suse.de>
1733
1734 * lib/gdb.exp (tcl_version_at_least): Fix typo.
1735
1736 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
1737
1738 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
1739
1740 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
1741
1742 * lib/completion-support.exp (test_gdb_complete_none): Skip
1743 tab completion tests if no readline support.
1744 (test_gdb_complete_unique_re): Likewise.
1745 (test_gdb_complete_multiple): Likewise.
1746
1747 2019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1748
1749 * gdb.base/info_sources.exp: New file.
1750 * gdb.base/info_sources.c: New file.
1751 * gdb.base/info_sources_base.c: New file.
1752
1753 2019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1754
1755 * gdb.base/batch-exit-status.exp: Call test_exit_status with
1756 prefix argument.
1757 (test_exit_status): Add prefix argument.
1758
1759 2019-08-01 Tom de Vries <tdevries@suse.de>
1760
1761 PR testsuite/24863
1762 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
1763 calling exp_continue for new thread and thread exited messages.
1764
1765 2019-08-01 Tom de Vries <tdevries@suse.de>
1766
1767 PR testsuite/24863
1768 * gdb.base/structs.exp: Fix check-read1 timeout using
1769 gdb_test_sequence.
1770 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
1771
1772 2019-08-01 Tom de Vries <tdevries@suse.de>
1773
1774 PR testsuite/24863
1775 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
1776 line.
1777
1778 2019-08-01 Tom de Vries <tdevries@suse.de>
1779
1780 PR testsuite/24863
1781 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
1782
1783 2019-07-30 Tom Tromey <tromey@adacore.com>
1784
1785 * gdb.ada/display_nested.exp: New file.
1786 * gdb.ada/display_nested/foo.adb: New file.
1787 * gdb.ada/display_nested/pack.adb: New file.
1788 * gdb.ada/display_nested/pack.ads: New file.
1789
1790 2019-07-30 Christian Biesinger <cbiesinger@google.com>
1791
1792 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
1793 namespace.
1794 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
1795
1796 2019-07-30 Tom de Vries <tdevries@suse.de>
1797
1798 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
1799 instead.
1800
1801 2019-07-30 Tom de Vries <tdevries@suse.de>
1802
1803 PR testsuite/24834
1804 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
1805 (exec_is_pie): New proc.
1806
1807 2019-07-29 Christian Biesinger <cbiesinger@google.com>
1808
1809 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
1810
1811 2019-07-29 Christian Biesinger <cbiesinger@google.com>
1812
1813 * gdb.python/py-objfile.c: Add global and static vars.
1814 * gdb.python/py-objfile.exp: Test new functions Objfile.
1815 lookup_global_symbol and lookup_static_symbol.
1816
1817 2019-07-29 Tom Tromey <tom@tromey.com>
1818
1819 * lib/tuiterm.exp (Term::_csi_@): New proc.
1820 (Term::_csi_X): Don't move cursor.
1821
1822 2019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1823
1824 * gdb.base/options.exp: Update backtrace - completion to
1825 new option -frame-info.
1826 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
1827 Test new 'set print frame-info'. Test backtrace -frame-info
1828 overriding 'set print frame-info'.
1829 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
1830 Test new 'set print frame-info'.
1831 Verify consistency of backtrace with and without filters, with and
1832 without -no-filters.
1833 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
1834 default.
1835
1836 2019-07-29 Tom de Vries <tdevries@suse.de>
1837
1838 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
1839 no arguments".
1840
1841 2019-07-29 Tom de Vries <tdevries@suse.de>
1842
1843 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
1844 is a substring of the first for "complete non-unique file name".
1845
1846 2019-07-29 Tom de Vries <tdevries@suse.de>
1847
1848 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
1849 with ".*".
1850
1851 2019-07-29 Tom de Vries <tdevries@suse.de>
1852
1853 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
1854 Pass prompt_regexp parameter to gdb_test_multiple calls.
1855
1856 2019-07-29 Tom de Vries <tdevries@suse.de>
1857
1858 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
1859 print registers" regexps.
1860
1861 2019-07-29 Tom de Vries <tdevries@suse.de>
1862
1863 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
1864
1865 2019-07-29 Tom de Vries <tdevries@suse.de>
1866
1867 PR gdb/24855
1868 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
1869 (skip_python_tests_prompt): Add prompt_regexp argument to
1870 gdb_test_multiple calls.
1871
1872 2019-07-27 Tom Tromey <tom@tromey.com>
1873
1874 * gdb.tui/main.exp: New file.
1875
1876 2019-07-27 Tom Tromey <tom@tromey.com>
1877
1878 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
1879 optional.
1880 * gdb.tui/empty.exp: New file.
1881
1882 2019-07-27 Tom Tromey <tom@tromey.com>
1883
1884 * lib/tuiterm.exp (spawn): New proc.
1885 (Term::resize): New proc.
1886 * gdb.tui/resize.exp: New file.
1887
1888 2019-07-27 Tom Tromey <tom@tromey.com>
1889
1890 * gdb.tui/list.exp: New file.
1891
1892 2019-07-27 Tom Tromey <tom@tromey.com>
1893
1894 * gdb.tui/regs.exp: New file.
1895
1896 2019-07-27 Tom Tromey <tom@tromey.com>
1897
1898 * gdb.tui/basic.exp: Add "layout split" test.
1899
1900 2019-07-27 Tom Tromey <tom@tromey.com>
1901
1902 * gdb.tui/basic.exp: Add "layout asm" test.
1903
1904 2019-07-27 Tom Tromey <tom@tromey.com>
1905
1906 * lib/tuiterm.exp: New file.
1907 * gdb.tui/basic.exp: New file.
1908
1909 2019-07-27 Kevin Buettner <kevinb@redhat.com>
1910
1911 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
1912 Enable tests associated with this flag. Adjust regex
1913 referencing "foo_low" to now refer to "foo_cold" instead.
1914
1915 2019-07-27 Kevin Buettner <kevinb@redhat.com>
1916
1917 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
1918 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
1919 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
1920 foo_cold. Revise comments to match.
1921 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
1922 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
1923 were wrapped into this proc; Call do_test in loop from outermost
1924 level.
1925 (foo_low): Rename all occurrences to "foo_cold".
1926 (backtrace from baz): New test.
1927 (x2/i foo_cold): New test.
1928 (info line *foo_cold): New test.
1929
1930 2019-07-26 Tom de Vries <tdevries@suse.de>
1931
1932 * gdb.arch/i386-pkru.exp: Fix unterminated string.
1933
1934 2019-07-25 Tom de Vries <tdevries@suse.de>
1935
1936 PR testsuite/24830
1937 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
1938 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
1939 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
1940 (skip_libstdcxx_probe_tests): ... here.
1941 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
1942
1943 2019-07-24 Tom de Vries <tdevries@suse.de>
1944
1945 PR testsuite/24807
1946 * gdb.objc/basicclass.m: Include stdio.h.
1947 * gdb.objc/nondebug.m: Same.
1948 * gdb.objc/objcdecode.m: Same.
1949
1950 2019-07-24 Tom de Vries <tdevries@suse.de>
1951
1952 PR testsuite/24612
1953 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
1954 additional_flags.
1955
1956 2019-07-24 Tom de Vries <tdevries@suse.de>
1957
1958 PR testsuite/24831
1959 * gdb.multi/tids.exp: Update error messages for info threads.
1960
1961 2019-07-24 Tom de Vries <tdevries@suse.de>
1962
1963 * gdb.base/info-types.exp: Allow info types to print info for more than
1964 one file.
1965
1966 2019-07-23 Tom de Vries <tdevries@suse.de>
1967
1968 PR testsuite/24842
1969 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
1970 gdb_spawn_with_cmdline_opts.
1971
1972 2019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
1973
1974 * gdb.arch/arm-cmse-sgstubs.c: New test.
1975 * gdb.arch/arm-cmse-sgstubs.exp: New file.
1976
1977 2019-07-23 Tom de Vries <tdevries@suse.de>
1978
1979 PR testsuite/24711
1980 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
1981 issuing next command.
1982
1983 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
1984
1985 * gdb.ada/info_auto_lang.exp: Update expected results.
1986 * gdb.base/info-types.c: Add additional types to check.
1987 * gdb.base/info-types.exp: Update expected results.
1988
1989 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
1990
1991 * gdb.base/info-types.c: New file.
1992 * gdb.base/info-types.exp: New file.
1993
1994 2019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
1995
1996 * gdb.arch/riscv-bp-infcall.c: New file.
1997 * gdb.arch/riscv-bp-infcall.exp: New file.
1998
1999 2019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
2000
2001 PR breakpoints/24541
2002 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
2003
2004 2019-07-14 Tom de Vries <tdevries@suse.de>
2005
2006 PR testsuite/24760
2007 * gdb.objc/basicclass.exp: Fix unterminated string.
2008
2009 2019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
2010 Andrew Burgess <andrew.burgess@embecosm.com>
2011
2012 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
2013 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
2014 negative bounds.
2015 * gdb.fortran/vla-value.exp: Print elements of an array with
2016 negative bounds.
2017 * gdb.fortran/vla.f90: Setup an array with negative bounds for
2018 testing.
2019
2020 2019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
2021
2022 * gdb.base/options.exp (expect_string): Dequote strings in
2023 results.
2024 (test-string): Test strings with different quoting and reindent.
2025
2026 2019-07-10 Tom Tromey <tromey@adacore.com>
2027
2028 * gdb.ada/mi_ex_cond.exp: Update expected results.
2029 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
2030 * gdb.ada/mi_catch_ex.exp: Update expected results.
2031 * gdb.ada/mi_catch_assert.exp: Update expected results.
2032 * gdb.ada/catch_ex.exp (catch_exception_info)
2033 (catch_exception_entry, catch_assert_entry)
2034 (catch_unhandled_entry): Update.
2035 * gdb.ada/catch_assert_if.exp: Update expected results.
2036
2037 2019-07-10 Richard Bunt <richard.bunt@arm.com>
2038 Stephen Roberts <stephen.roberts@arm.com>
2039
2040 * gdb.base/define.exp: Restore original prompt.
2041
2042 2019-07-09 Pedro Alves <palves@redhat.com>
2043
2044 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
2045 breakpoints" output.
2046 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
2047 * gdb.python/py-breakpoint.exp: No longer expect that "catch
2048 throw" creates breakpoint.
2049 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
2050 'type="catchpoint"'.
2051
2052 2019-07-09 Pedro Alves <palves@redhat.com>
2053
2054 PR c++/15468
2055 * gdb.cp/except-multi-location-lib.cc: New.
2056 * gdb.cp/except-multi-location-main.cc: New.
2057 * gdb.cp/except-multi-location.exp: New.
2058
2059 2019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
2060
2061 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
2062 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
2063 argument and update callers.
2064
2065 2019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
2066
2067 * gdb.arch/amd64-break-on-asm-line.S: New file.
2068 * gdb.arch/amd64-break-on-asm-line.exp: New file.
2069
2070 2019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2071
2072 * gdb.base/printcmds.exp: Test printing C string and
2073 C wide string convenience vars without transiting via the inferior.
2074 Also make test names unique.
2075
2076 2019-07-08 Alan Hayward <alan.hayward@arm.com>
2077
2078 PR breakpoints/25011
2079 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
2080
2081 2019-07-04 Pedro Alves <palves@redhat.com>
2082
2083 * lib/gdb.exp (foreach_with_prefix): Don't return early if
2084 body returned ok(0), break(3) or continue(4).
2085 * gdb.testsuite/foreach_with_prefix.exp: New file.
2086
2087 2019-07-04 Alan Hayward <alan.hayward@arm.com>
2088
2089 * gdb.server/unittest.exp: Allow 0 unit tests to run.
2090
2091 2019-07-03 Pedro Alves <palves@redhat.com>
2092
2093 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
2094 "return -code".
2095
2096 2019-07-03 Pedro Alves <palves@redhat.com>
2097
2098 PR cli/24732
2099 * gdb.base/shell.exp: Load completion-support.exp.
2100 Adjust expected error output. Add completion tests.
2101
2102 2019-07-03 Pedro Alves <palves@redhat.com>
2103
2104 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
2105 string_to_regexp.
2106
2107 2019-07-03 Pedro Alves <palves@redhat.com>
2108
2109 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
2110 (expect_integer): Adjust to expect "-string".
2111 (expect_string): New.
2112 (all_options): Expect "-string".
2113 (test-flag, test-boolean): Adjust to expect "-string".
2114 (test-string): New proc.
2115 (top level): Call it.
2116
2117 2019-07-03 Pedro Alves <palves@redhat.com>
2118
2119 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
2120 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
2121 the expected output in the success.
2122
2123 2019-07-03 Pedro Alves <palves@redhat.com>
2124
2125 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
2126 Split one gdb_test_multiple call in two to avoid a race.
2127
2128 2019-07-03 Pedro Alves <palves@redhat.com>
2129
2130 * gdb.base/with.c: New file.
2131 * gdb.base/with.exp: New file.
2132
2133 2019-07-03 Pedro Alves <palves@redhat.com>
2134
2135 * gdb.base/settings.exp: Replace all references to "maint
2136 test-settings set" with references to "maint set test-settings",
2137 and all references to "maint test-settings show" with references
2138 to "maint show test-settings".
2139
2140 2019-07-03 Pedro Alves <palves@redhat.com>
2141
2142 * gdb.base/settings.exp (test-string): Adjust expected out when
2143 testing "maint test-settings show filename"
2144
2145 2019-07-02 Pedro Alves <palves@redhat.com>
2146
2147 * gdb.base/options.exp (test-info-threads): New procedure.
2148 (top level): Call it.
2149
2150 2019-06-28 Tom Tromey <tromey@adacore.com>
2151
2152 * gdb.dwarf2/ada-linkage-name.c: New file.
2153 * gdb.dwarf2/ada-linkage-name.exp: New file.
2154
2155 2019-06-27 Tom Tromey <tromey@adacore.com>
2156
2157 PR c++/20020:
2158 * gdb.cp/constexpr-field.exp: Use setup_xfail.
2159
2160 2019-06-26 Tom de Vries <tdevries@suse.de>
2161
2162 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
2163
2164 2019-06-26 Tom de Vries <tdevries@suse.de>
2165
2166 * gdb.base/index-cache.exp: Add back missing debug option.
2167
2168 2019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2169
2170 * gdb.base/alias.exp: Test non matching/non existing prefixes.
2171
2172 2019-06-25 Tom de Vries <tdevries@suse.de>
2173
2174 PR testsuite/24727
2175 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
2176
2177 2019-06-24 Tom de Vries <tdevries@suse.de>
2178
2179 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
2180
2181 2019-06-24 Tom de Vries <tdevries@suse.de>
2182
2183 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
2184 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
2185 * gdb.trace/unavailable-dwarf-piece.exp: Same.
2186
2187 2019-06-24 Tom de Vries <tdevries@suse.de>
2188
2189 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
2190
2191 2019-06-21 Tom de Vries <tdevries@suse.de>
2192
2193 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
2194
2195 2019-06-21 Tom de Vries <tdevries@suse.de>
2196
2197 PR testsuite/24518
2198 PR ada/24713
2199 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
2200 index.
2201
2202 2019-06-19 Tom Tromey <tromey@adacore.com>
2203
2204 * gdb.ada/length_cond.exp: Add intro comment.
2205
2206 2019-06-19 Tom Tromey <tromey@adacore.com>
2207
2208 * gdb.ada/length_cond.exp: New file.
2209 * gdb.ada/length_cond/length_cond.adb: New file.
2210 * gdb.ada/length_cond/pck.adb: New file.
2211 * gdb.ada/length_cond/pck.ads: New file.
2212
2213 2019-06-18 Tom de Vries <tdevries@suse.de>
2214
2215 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
2216
2217 2019-06-18 Tom Tromey <tromey@adacore.com>
2218
2219 * gdb.base/list0.h: Add comment explaining control character.
2220
2221 2019-06-18 Tom de Vries <tdevries@suse.de>
2222
2223 * boards/fission.exp: Break up long debug_flags line.
2224
2225 2019-06-16 Tom de Vries <tdevries@suse.de>
2226
2227 PR gdb/24445
2228 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
2229 generated index.
2230
2231 2019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
2232
2233 PR gdb/24686
2234 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
2235 improve detection of bug gdb/24541.
2236
2237 2019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
2238
2239 PR gdb/24669
2240 * gdb.base/index-cache.exp (uses_readnow,
2241 expecting_index_cache_use): Define global variable.
2242 (test_cache_enabled_miss, test_cache_enabled_hit): Use
2243 expecting_index_cache_use.
2244
2245 2019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
2246 Andrew Burgess <andrew.burgess@embecosm.com>
2247
2248 * gdb.fortran/pointers.f90: New file.
2249 * gdb.fortran/print_type.exp: New file.
2250 * gdb.fortran/vla-ptype.exp: Adapt expected results.
2251 * gdb.fortran/vla-type.exp: Likewise.
2252 * gdb.fortran/vla-value.exp: Likewise.
2253 * gdb.mi/mi-vla-fortran.exp: Likewise.
2254
2255 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2256
2257 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
2258 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
2259 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
2260 as a stop reason.
2261
2262 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2263
2264 * gdb.base/annota1.exp: Update expected results.
2265 * gdb.cp/annota2.exp: Likewise.
2266 * gdb.cp/annota3.exp: Likewise.
2267
2268 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2269
2270 * gdb.base/style-logging.exp: Remove path from test name.
2271
2272 2019-06-14 Tom Tromey <tromey@adacore.com>
2273
2274 PR gdb/24502:
2275 * gdb.base/style-logging.exp: New file.
2276
2277 2019-06-14 Tom Tromey <tromey@adacore.com>
2278
2279 * gdb.base/symfile-warn.exp: New file.
2280 * gdb.base/symfile-warn.c: New file.
2281
2282 2019-06-14 Tom Tromey <tromey@adacore.com>
2283
2284 * gdb.base/annotate-symlink.exp: New file.
2285
2286 2019-06-14 Tom Tromey <tromey@adacore.com>
2287
2288 * gdb.ada/set_wstr.exp: Add reassignment test.
2289
2290 2019-06-14 Tom Tromey <tromey@adacore.com>
2291
2292 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
2293 'unchecked_access and 'unrestricted_access as well.
2294
2295 2019-06-14 Tom Tromey <tromey@adacore.com>
2296
2297 PR ada/24539:
2298 * gdb.ada/vla.exp: Update tests.
2299 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
2300 pragma.
2301
2302 2019-06-13 Pedro Alves <palves@redhat.com>
2303
2304 * gdb.base/settings.exp (test-integer): Test junk after
2305 "unlimited".
2306
2307 2019-06-13 Pedro Alves <palves@redhat.com>
2308
2309 * gdb.base/options.exp (test-thread-apply): New.
2310 (top level): Call it.
2311
2312 2019-06-13 Pedro Alves <palves@redhat.com>
2313
2314 * gdb.base/options.exp (test-frame-apply): New.
2315 (top level): Test print commands with different "frame apply"
2316 prefixes.
2317
2318 2019-06-13 Pedro Alves <palves@redhat.com>
2319
2320 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
2321 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
2322 'max_completions' parameter and handle it.
2323 (test_gdb_completion_offers_commands): New.
2324
2325 2019-06-13 Pedro Alves <palves@redhat.com>
2326
2327 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
2328
2329 2019-06-13 Pedro Alves <palves@redhat.com>
2330
2331 * gdb.base/options.exp (test-backtrace): New.
2332 (top level): Call it.
2333
2334 2019-06-13 Pedro Alves <palves@redhat.com>
2335
2336 * gdb.guile/scm-frame-args.exp: Use "set print
2337 raw-frame-arguments" instead of "set print raw frame-arguments".
2338 * gdb.python/py-frame-args.exp: Likewise.
2339
2340 2019-06-13 Pedro Alves <palves@redhat.com>
2341
2342 * gdb.compile/compile.exp: Adjust expected output to option
2343 processing changes.
2344
2345 2019-06-13 Pedro Alves <palves@redhat.com>
2346
2347 * gdb.base/options.exp: Build executable.
2348 (test-print): New procedure.
2349 (top level): Call it, once for "print" and another for "compile
2350 print".
2351
2352 2019-06-13 Pedro Alves <palves@redhat.com>
2353
2354 * gdb.base/options.c: New file.
2355 * gdb.base/options.exp: New file.
2356
2357 2019-06-13 Pedro Alves <palves@redhat.com>
2358
2359 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
2360 that "o" is ambiguous.
2361
2362 2019-06-13 Pedro Alves <palves@redhat.com>
2363
2364 * gdb.base/settings.c: New file.
2365 * gdb.base/settings.exp: New file.
2366
2367 2019-06-13 Pedro Alves <palves@redhat.com>
2368
2369 * gdb.base/completion.exp: Fix comment typo.
2370
2371 2019-06-13 Pedro Alves <palves@redhat.com>
2372
2373 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
2374 foo --1" test.
2375
2376 2019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
2377
2378 * gdb.fortran/block-data.f: New.
2379 * gdb.fortran/block-data.exp: New.
2380
2381 2019-06-11 Tom de Vries <tdevries@suse.de>
2382
2383 PR testsuite/24521
2384 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
2385 message.
2386
2387 2019-06-11 Tom de Vries <tdevries@suse.de>
2388
2389 PR testsuite/24521
2390 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
2391
2392 2019-06-11 Tom de Vries <tdevries@suse.de>
2393
2394 * boards/readnow.exp: New file.
2395
2396 2019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
2397
2398 * gdb.fortran/vla-sizeof.exp: Update expected results.
2399
2400 2019-06-06 Amos Bird <amosbird@gmail.com>
2401
2402 * gdb.base/annota1.exp (thread_switch): Add test for
2403 thread-exited annotation.
2404
2405 2019-06-06 Tom Tromey <tromey@adacore.com>
2406
2407 * gdb.base/maint.exp: Expect command started/finished output.
2408
2409 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
2410
2411 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
2412 comment.
2413 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
2414
2415 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
2416
2417 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
2418 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
2419 * gdb.arch/riscv-unwind-long-insn.c: New file.
2420 * gdb.arch/riscv-unwind-long-insn.exp: New file.
2421
2422 2019-06-04 Christian Biesinger <cbiesinger@google.com>
2423
2424 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
2425
2426 2019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2427
2428 * lib/gdb.exp (help_list_trailer): New regexp variable
2429 factorizing the help trailer message.
2430 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
2431 arg to allow to better factorize various tests.
2432 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
2433 (test_prefix_command_help): Use help_list_trailer.
2434 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
2435 * gdb.guile/scm-cmd.exp: Likewise.
2436 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
2437 * gdb.base/help.exp: Use test_user_defined_class_help.
2438 * gdb.base/style.exp: Add tests for styling of help and apropos.
2439 * lib/gdb-utils.exp (style): Add title and highlight styles.
2440
2441 2019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2442
2443 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
2444 $_shell_exitsignal.
2445 * gdb.base/default.exp: Update for new convenience variables.
2446
2447 2019-05-29 Tom Tromey <tromey@adacore.com>
2448
2449 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
2450 to "break complete ada" test case's regexp.
2451
2452 2019-05-29 Tom Tromey <tromey@adacore.com>
2453
2454 PR c++/20020:
2455 * gdb.cp/constexpr-field.exp: New file.
2456 * gdb.cp/constexpr-field.cc: New file.
2457
2458 2019-05-29 Tom Tromey <tromey@adacore.com>
2459
2460 * gdb.base/finish.exp (finish_no_print): New proc.
2461 (finish_tests): Call it.
2462
2463 2019-05-24 Tom de Vries <tdevries@suse.de>
2464
2465 * gdb.dwarf2/gdb-add-index.exp: New file.
2466
2467 2019-05-22 Tom Tromey <tromey@adacore.com>
2468
2469 * gdb.base/info-shared.exp (check_info_shared): Use "style".
2470 * gdb.base/style.exp: Use "style".
2471 * lib/gdb-utils.exp (style): New proc.
2472
2473 2019-05-22 Tom de Vries <tdevries@suse.de>
2474
2475 * gdb.base/align.exp: Require c++11.
2476
2477 2019-05-22 Tom de Vries <tdevries@suse.de>
2478
2479 PR testsuite/24586
2480 * gdb.python/py-mi-var-info-path-expression.exp: Call
2481 mi_skip_python_tests to check if python is supported.
2482
2483 2019-05-22 Alan Hayward <alan.hayward@arm.com>
2484
2485 * gdb.arch/aarch64-pauth.c: New test.
2486 * gdb.arch/aarch64-pauth.exp: New file.
2487
2488 2019-05-22 Alan Hayward <alan.hayward@arm.com>
2489
2490 * README (Re-running Tests Outside The Testsuite): New section.
2491
2492 2019-05-21 Tom de Vries <tdevries@suse.de>
2493
2494 * gdb.arch/amd64-eval.exp: Require c++11.
2495 * gdb.base/max-depth.exp: Same.
2496 * gdb.compile/compile-cplus-array-decay.exp: Same.
2497 * gdb.cp/meth-typedefs.exp: Same.
2498 * gdb.cp/subtypes.exp: Same.
2499 * gdb.cp/temargs.exp: Same.
2500
2501 2019-05-21 Alan Hayward <alan.hayward@arm.com>
2502
2503 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
2504
2505 2019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
2506
2507 PR gdb/18644
2508 * gdb.fortran/complex.exp: Remove setup_kfail calls.
2509 * gdb.fortran/printing-types.exp: Add new test.
2510 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
2511 testing.
2512 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
2513 setup_kfail call.
2514
2515 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2516
2517 * README (Running the Testsuite): Change example.
2518 (Testsuite Parameters): Remove TRANSCRIPT.
2519 * lib/gdb.exp: Remove TRANSCRIPT check.
2520
2521 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2522
2523 * README (Testsuite Parameters): Add replay logging to
2524 GDBSERVER_DEBUG.
2525 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
2526 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
2527 as a comma separated list.
2528 (gdb_debug_init): Override procedure.
2529
2530 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2531
2532 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
2533 (gdb_write_cmd_file): New procedure.
2534 * lib/gdbserver-support.exp (gdbserver_start): Call
2535 gdbserver_write_cmd_file.
2536 (gdbserver_write_cmd_file): New procedure.
2537
2538 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2539
2540 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
2541 (delete_breakpoints): Likewise.
2542 (gdb_run_cmd): Likewise.
2543 (gdb_start_cmd): Likewise.
2544 (gdb_starti_cmd): Likewise.
2545 (gdb_internal_error_resync): Likewise.
2546 (gdb_test_multiple): Likewise.
2547 (gdb_reinitialize_dir): Likewise.
2548 (default_gdb_exit): Likewise.
2549 (gdb_file_cmd): Mark kill as optional.
2550 (default_gdb_start): Call gdb_stdin_log_init.
2551 (send_gdb): Call gdb_stdin_log_write.
2552 (rerun_to_main): Mark Y as an answer.
2553 (gdb_stdin_log_init): New function.
2554 (gdb_stdin_log_write): Likewise.
2555
2556 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2557
2558 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
2559 * gdb.base/debug-expr.exp: Likewise.
2560 * gdb.base/foll-fork.exp: Likewise.
2561 * gdb.base/foll-vfork.exp: Likewise.
2562 * gdb.base/fork-print-inferior-events.exp: Likewise.
2563 * gdb.base/gdb-sigterm.exp: Likewise.
2564 * gdb.base/gdbinit-history.exp: Likewise.
2565 * gdb.base/osabi.exp: Likewise.
2566 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
2567 * gdb.base/ui-redirect.exp: Likewise.
2568 * gdb.gdb/unittest.exp: Likewise.
2569 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
2570 * gdb.mi/mi-watch.exp: Likewise.
2571 * gdb.mi/new-ui-mi-sync.exp: Likewise.
2572 * gdb.mi/user-selected-context-sync.exp: Likewise.
2573 * gdb.python/python.exp: Disable debug test when debugging.
2574 * gdb.threads/check-libthread-db.exp: Disable when debugging.
2575 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2576 Likewise.
2577 * gdb.threads/stepi-random-signal.exp: Likewise.
2578
2579 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2580
2581 * Makefile.in: Pass through GDB_DEBUG.
2582 * README (Testsuite Parameters): Add GDB_DEBUG.
2583 (gdb,debug): Add board setting.
2584 * lib/gdb.exp (default_gdb_start): Start debugging.
2585 (gdb_debug_enabled): New procedure.
2586 (gdb_debug_init): Likewise.
2587
2588 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2589
2590 * Makefile.in: Pass through GDB_DEBUG.
2591 * README (Testsuite Parameters): Add GDB_DEBUG.
2592 (gdb,debug): Add board setting.
2593 * lib/gdb.exp (default_gdb_start): Start debugging.
2594 (gdb_debug_enabled): New procedure.
2595 (gdb_debug_init): Likewise.
2596
2597 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2598
2599 * gdb.base/ui-redirect.exp: Add debug redirect tests.
2600
2601 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2602
2603 * gdb.base/ui-redirect.exp: Test redirection.
2604
2605 2019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
2606
2607 * gdb.mi/mi-complete.exp: New file.
2608 * gdb.mi/mi-complete.cc: Likewise.
2609
2610 2019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
2611
2612 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
2613 indexed and sliced arrays, and pointers to arrays.
2614
2615 2019-05-14 Tom Tromey <tromey@adacore.com>
2616
2617 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
2618 styling test.
2619
2620 2019-05-14 Tom de Vries <tdevries@suse.de>
2621
2622 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
2623 selection entry encoding.
2624
2625 2019-05-10 Tom Tromey <tromey@adacore.com>
2626
2627 * gdb.ada/info_exc.exp: Add "complete" test.
2628
2629 2019-05-09 Tom de Vries <tdevries@suse.de>
2630
2631 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
2632 CU-relative.
2633
2634 2019-05-09 Tom de Vries <tdevries@suse.de>
2635
2636 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
2637 CU-relative.
2638
2639 2019-05-08 Joel Brobecker <brobecker@adacore.com>
2640
2641 * gdb.ada/frame_arg_lang.exp: New testcase.
2642 * gdb.ada/frame_arg_lang/bla.adb: New file.
2643 * gdb.ada/frame_arg_lang/pck.ads: New file.
2644 * gdb.ada/frame_arg_lang/pck.adb: New file.
2645 * gdb.ada/frame_arg_lang/foo.c: New file.
2646
2647 2019-05-08 Tom Tromey <tromey@adacore.com>
2648
2649 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
2650
2651 2019-05-08 Tom Tromey <tromey@adacore.com>
2652
2653 * gdb.base/ptype-offsets.exp: Update tests.
2654
2655 2019-05-08 Tom Tromey <tromey@adacore.com>
2656
2657 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
2658 cases.
2659 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
2660 "short".
2661
2662 2019-05-08 Tom Tromey <tromey@adacore.com>
2663
2664 * gdb.ada/vla.exp: New file.
2665 * gdb.ada/vla/vla.adb: New file.
2666
2667 2019-05-07 Tom de Vries <tdevries@suse.de>
2668
2669 * gdb.base/index-cache.exp (ls_host): Fix return statement.
2670
2671 2019-05-07 Tom de Vries <tdevries@suse.de>
2672
2673 PR testsuite/24522
2674 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
2675 section.
2676
2677 2019-05-07 Tom de Vries <tdevries@suse.de>
2678
2679 PR testsuite/24522
2680 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
2681 .debug_aranges section.
2682
2683 2019-05-07 Tom de Vries <tdevries@suse.de>
2684
2685 PR testsuite/24159
2686 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
2687
2688 2019-05-06 Tom de Vries <tdevries@suse.de>
2689
2690 * lib/gdb.exp (exec_has_index_section): New proc.
2691 * gdb.base/index-cache.exp: Handle case that binfile contains an index
2692 section.
2693
2694 2019-05-04 Tom de Vries <tdevries@suse.de>
2695
2696 * boards/cc-with-debug-names.exp: New file.
2697
2698 2019-05-03 Tom Tromey <tromey@adacore.com>
2699
2700 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
2701 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
2702 * gdb.ada/char_enum.exp: Add test.
2703
2704 2019-05-03 Tom de Vries <tdevries@suse.de>
2705
2706 * boards/cc-with-gdb-index.exp: New file.
2707
2708 2019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
2709
2710 * gdb.rust/simple.exp: Add new test case.
2711 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
2712 (main): Initialise an instance of the new struct.
2713
2714 2019-05-01 Tom Tromey <tromey@adacore.com>
2715
2716 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
2717 record.
2718 (NPR): New variable.
2719 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
2720 test.
2721
2722 2019-05-01 Tom Tromey <tromey@adacore.com>
2723
2724 * gdb.ada/packed_array_assign.exp: Add packed assignment
2725 regression test.
2726
2727 2019-05-01 Tom de Vries <tdevries@suse.de>
2728
2729 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
2730
2731 2019-05-01 Tom de Vries <tdevries@suse.de>
2732
2733 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
2734
2735 2019-04-30 Ali Tamur <tamur@google.com>
2736
2737 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
2738
2739 2019-04-30 Tom Tromey <tromey@adacore.com>
2740
2741 * lib/ada.exp (find_ada_tool): New proc.
2742 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
2743 * gdb.ada/catch_ex_std.exp: New file.
2744 * gdb.ada/catch_ex_std/foo.adb: New file.
2745 * gdb.ada/catch_ex_std/some_package.adb: New file.
2746 * gdb.ada/catch_ex_std/some_package.ads: New file.
2747
2748 2019-04-30 Tom Tromey <tromey@adacore.com>
2749
2750 PR c++/24470:
2751 * gdb.cp/temargs.cc: Add test code from PR.
2752
2753 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2754
2755 * gdb.fortran/vla-datatypes.exp: Update expected results.
2756 * gdb.fortran/vla-ptype.exp: Likewise.
2757 * gdb.fortran/vla-type.exp: Likewise.
2758 * gdb.fortran/vla-value.exp: Likewise.
2759
2760 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2761
2762 * gdb.fortran/ptr-indentation.exp: Update expected results.
2763 * gdb.fortran/ptype-on-functions.exp: Likewise.
2764 * gdb.fortran/vla-ptr-info.exp: Likewise.
2765 * gdb.fortran/vla-value.exp: Likewise.
2766
2767 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2768
2769 * gdb.fortran/ptype-on-functions.exp: New file.
2770 * gdb.fortran/ptype-on-functions.f90: New file.
2771
2772 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2773
2774 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
2775 case void string.
2776
2777 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2778
2779 * gdb.fortran/complex.exp: Expand.
2780 * gdb.fortran/complex.f: Renamed to...
2781 * gdb.fortran/complex.f90: ...this, and extended to add more
2782 complex values.
2783
2784 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2785
2786 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
2787 MODULO, CMPLX.
2788
2789 2019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
2790 Richard Bunt <richard.bunt@arm.com>
2791
2792 * gdb.base/max-depth.c: New file.
2793 * gdb.base/max-depth.exp: New file.
2794 * gdb.python/py-nested-maps.c: New file.
2795 * gdb.python/py-nested-maps.exp: New file.
2796 * gdb.python/py-nested-maps.py: New file.
2797 * gdb.python/py-format-string.exp (test_max_depth): New proc.
2798 (test_all_common): Call test_max_depth.
2799 * gdb.fortran/max-depth.exp: New file.
2800 * gdb.fortran/max-depth.f90: New file.
2801 * gdb.go/max-depth.exp: New file.
2802 * gdb.go/max-depth.go: New file.
2803 * gdb.modula2/max-depth.exp: New file.
2804 * gdb.modula2/max-depth.c: New file.
2805 * lib/gdb.exp (get_print_expr_at_depths): New proc.
2806
2807 2019-04-29 Tom de Vries <tdevries@suse.de>
2808
2809 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
2810
2811 2019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2812
2813 * gdb.base/callexit.exp: Test may-call-functions off.
2814
2815 2019-04-25 Keith Seitz <keiths@redhat.com>
2816
2817 PR c++/24367
2818 * gdb.cp/meth-typedefs.cc (incomplete_struct)
2819 (another_incomplete_struct, test_incomplete): New definitions.
2820 (main): Use new definitions.
2821 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
2822 functions.
2823
2824 2019-04-25 Ali Tamur <tamur@google.com>
2825
2826 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
2827
2828 2019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
2829
2830 PR corefiles/11608
2831 PR corefiles/18187
2832 * gdb.base/coredump-filter-build-id.exp: New file.
2833
2834 2019-04-25 Alan Hayward <alan.hayward@arm.com>
2835
2836 * Makefile.in: Pass through GDBSERVER_DEBUG.
2837 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
2838 (gdbserver,debug): Add board setting.
2839 * gdb.trace/tspeed.exp: Skip when debugging.
2840 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
2841 * lib/gdbserver-support.exp: Likewise
2842
2843 2019-04-24 Tom Tromey <tromey@adacore.com>
2844
2845 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
2846 Rust.
2847
2848 2019-04-24 Tom Tromey <tromey@adacore.com>
2849
2850 * gdb.arch/amd64-eval.exp: Test bitfield return.
2851 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
2852 (class Foo) <return_bitfields>: New method.
2853 (main): Call it.
2854
2855 2019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
2856
2857 * gdb.cp/many-args.cc: New file.
2858 * gdb.cp/many-args.exp: New file.
2859
2860 2019-04-23 Tom de Vries <tdevries@suse.de>
2861
2862 PR gdb/24433
2863 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
2864
2865 2019-04-23 Alan Hayward <alan.hayward@arm.com>
2866
2867 * gdb.trace/backtrace.exp: Use nopie flag.
2868 * gdb.trace/circ.exp: Likewise.
2869 * gdb.trace/collection.exp: Likewise.
2870 * gdb.trace/ftrace.exp: Likewise.
2871 * gdb.trace/mi-trace-unavailable.exp: Likewise.
2872 * gdb.trace/mi-traceframe-changed.exp: Likewise.
2873 * gdb.trace/qtro.exp: Likewise.
2874 * gdb.trace/read-memory.exp: Likewise.
2875 * gdb.trace/report.exp: Likewise.
2876 * gdb.trace/tfile.exp: Likewise.
2877 * gdb.trace/tfind.exp: Likewise.
2878 * gdb.trace/unavailable.exp: Likewise.
2879
2880 2019-04-22 Pedro Alves <palves@redhat.com>
2881
2882 * gdb.base/solib-probes-nosharedlibrary.c,
2883 gdb.base/solib-probes-nosharedlibrary.exp: New files.
2884
2885 2019-04-19 Tom Tromey <tromey@adacore.com>
2886
2887 * gdb.ada/ptype_union.c: New file.
2888 * gdb.ada/ptype_union.exp: New file.
2889
2890 2019-04-19 Tom Tromey <tromey@adacore.com>
2891
2892 PR symtab/24423:
2893 * gdb.base/list0.h (foo): Add a control-l character.
2894
2895 2019-04-18 Tom de Vries <tdevries@suse.de>
2896
2897 PR gdb/24433
2898 * boards/local-board.exp: Set sysroot to "".
2899
2900 2019-04-18 Tom de Vries <tdevries@suse.de>
2901 Pedro Alves <palves@redhat.com>
2902
2903 PR gdb/24454
2904 * gdb.threads/vfork-follow-child-exec.c: New file.
2905 * gdb.threads/vfork-follow-child-exec.exp: New file.
2906 * gdb.threads/vfork-follow-child-exit.c: New file.
2907 * gdb.threads/vfork-follow-child-exit.exp: New file.
2908
2909 2019-04-15 Leszek Swirski <leszeks@google.com>
2910
2911 * gdb.arch/amd64-eval.cc: New file.
2912 * gdb.arch/amd64-eval.exp: New file.
2913
2914 2019-04-11 Alan Hayward <alan.hayward@arm.com>
2915
2916 * gdb.server/sysroot.c: New test.
2917 * gdb.server/sysroot.exp: New file.
2918 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
2919 matching param.
2920
2921 2019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
2922
2923 * gdb.base/align.exp: Extend test to cover structures containing
2924 only static fields.
2925
2926 2019-04-11 Tom de Vries <tdevries@suse.de>
2927
2928 * boards/cc-with-dwz-m.exp: New file.
2929 * boards/cc-with-dwz.exp: New file.
2930 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
2931
2932 2019-04-09 Simon Marchi <simon.marchi@efficios.com>
2933
2934 * gdb.base/start-cpp.exp: New file.
2935 * gdb.base/start-cpp.cc: New file.
2936
2937 2019-04-08 Kevin Buettner <kevinb@redhat.com>
2938
2939 * gdb.python/py-thrhandle.exp: Adjust tests to call
2940 thread_from_handle instead of thread_from_thread_handle.
2941
2942 2019-04-08 Kevin Buettner <kevinb@redhat.com>
2943
2944 * gdb.python/py-thrhandle.exp: Add tests for
2945 gdb.InferiorThread.handle.
2946
2947 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
2948
2949 * gdb.python/py-function.exp: Check calling helper function from
2950 all languages.
2951 * lib/gdb.exp (gdb_supported_languages): New proc.
2952
2953 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
2954
2955 * gdb.base/complex-parts.c: New file.
2956 * gdb.base/complex-parts.exp: New file.
2957
2958 2019-04-01 Tom Tromey <tromey@adacore.com>
2959
2960 PR symtab/23331:
2961 * gdb.dwarf2/dw2-ranges-main.c: New file.
2962 * gdb.dwarf2/dw2-ranges-psym.c: New file.
2963 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
2964
2965 2019-03-30 Simon Marchi <simark@simark.ca>
2966
2967 * gdb.base/default.exp: Add values for $_gdb_major and
2968 $_gdb_minor.
2969
2970 2019-03-29 Tom Tromey <tromey@adacore.com>
2971
2972 * gdb.base/help.exp: Tighten apropos regexp.
2973
2974 2019-03-29 Keith Seitz <keiths@redhat.com>
2975
2976 * gdb.fortran/array-bounds.exp: New file.
2977 * gdb.fortran/array-bounds.f90: New file.
2978
2979 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2980
2981 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
2982
2983 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2984
2985 * gdb.multi/hello.c (main): Increase alarm timer.
2986
2987 2019-03-28 Sandra Loosemore <sandra@codesourcery.com>
2988
2989 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
2990 factor when no hardware watchpoint support.
2991
2992 2019-03-28 Alan Hayward <alan.hayward@arm.com>
2993 Pedro Alves <palves@redhat.com>
2994
2995 * boards/local-board.exp: set sysroot to /.
2996
2997 2019-03-27 Alan Hayward <alan.hayward@arm.com>
2998
2999 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
3000 in child.
3001
3002 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
3003
3004 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
3005 field.
3006 (make_container): Initialise new field.
3007 * gdb.python/py-prettyprint.exp: Add new tests.
3008 * gdb.python/py-prettyprint.py (class ContainerPrinter)
3009 <display_hint>: New method.
3010
3011 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
3012
3013 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
3014 gdb_continue_to_breakpoint more throughout this test.
3015 (run_lang_tests) Supply unique test names, and use
3016 gdb_test_no_output.
3017
3018 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
3019
3020 * gdb.base/finish-pretty.exp: Update expected results.
3021 * gdb.base/pretty-print.c: New file.
3022 * gdb.base/pretty-print.exp: New file.
3023
3024 2019-03-25 Pedro Alves <palves@redhat.com>
3025
3026 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
3027 move comments outside list. Append '-i "" eof' section.
3028
3029 2019-03-22 Alan Hayward <alan.hayward@arm.com>
3030
3031 PR testsuite/25016
3032 * README: Add pie options.
3033 * gdb.base/break-interp.exp: Ensure pie is disabled.
3034 * gdb.base/dump.exp: Likewise.
3035 * lib/gdb.exp (gdb_compile): Add pie option.
3036
3037 2019-03-19 Tom Tromey <tromey@adacore.com>
3038
3039 * gdb.mi/mi2-cli-display.c: New file.
3040 * gdb.mi/mi2-cli-display.exp: New file.
3041
3042 2019-03-18 Joel Brobecker <brobecker@adacore.com>
3043 Tom Tromey <tromey@adacore.com>
3044
3045 * gdb.ada/ptype_array/pck.adb: New file.
3046 * gdb.ada/ptype_array/pck.ads: New file.
3047 * gdb.ada/ptype_array/foo.adb: New file.
3048 * gdb.ada/ptype_array.exp: New file.
3049
3050 2019-03-14 Tom Tromey <tromey@adacore.com>
3051
3052 * gdb.base/style.exp: Add "set style sources" test.
3053
3054 2019-03-13 Simon Marchi <simon.marchi@ericsson.com>
3055
3056 * mi-breakpoint-location-ena-dis.exp: Rename to ...
3057 * mi-breakpoint-multiple-locations.exp: ... this.
3058 (make_breakpoints_pattern): New proc.
3059 (do_test): Add mi_version parameter, test -break-insert,
3060 -break-info and =breakpoint-created.
3061
3062 2019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
3063
3064 * config/default.exp: Remove 'load_lib gdb.exp'.
3065 * config/monitor.exp: Likewise.
3066 * config/sid.exp: Likewise.
3067 * config/sim.exp: Likewise.
3068 * config/slite.exp: Likewise.
3069 * config/unix.exp: Likewise.
3070 * gdb.base/default.exp: Remove unhelpful comment.
3071
3072 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3073
3074 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
3075
3076 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3077
3078 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
3079
3080 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3081
3082 * gdb.fortran/type-kinds.exp: Update expected results.
3083
3084 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3085
3086 * gdb.fortran/type-kinds.exp: Test new integer type kind.
3087
3088 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3089
3090 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
3091 function.
3092 (test_basic_parsing_of_type_kinds): Expand types tested.
3093 (test_parsing_invalid_type_kinds): New function.
3094
3095 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3096
3097 * gdb.fortran/intrinsics.exp: New file.
3098 * gdb.fortran/intrinsics.f90: New file.
3099 * gdb.fortran/type-kinds.exp: New file.
3100
3101 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3102
3103 * gdb.fortran/dot-ops.exp: New file.
3104
3105 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3106
3107 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
3108 Check upper and lower case logical literals.
3109
3110 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3111
3112 * gdb.fortran/types.exp (test_float_literal_types_accepted):
3113 Remove duplicate tests.
3114
3115 2019-03-06 Alan Hayward <alan.hayward@arm.com>
3116
3117 * lib/gdb.exp (builtin_cd): rename of cd.
3118 (cd): Override builtin.
3119
3120 2019-03-06 Richard Bunt <richard.bunt@arm.com>
3121
3122 * gdb.fortran/function-calls.exp: New file.
3123 * gdb.fortran/function-calls.f90: New test.
3124
3125 2019-03-04 Richard Bunt <richard.bunt@arm.com>
3126
3127 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
3128 on user program standard output.
3129 * gdb.fortran/short-circuit-argument-list.f90: Record function
3130 calls.
3131
3132 2019-02-28 Alan Hayward <alan.hayward@arm.com>
3133
3134 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
3135 failure.
3136
3137 2019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3138
3139 PR gdb/8527
3140 * gdb.base/interrupt-daemon-attach.c,
3141 gdb.base/interrupt-daemon-attach.exp: New test.
3142
3143 2019-02-27 Pedro Alves <palves@redhat.com>
3144
3145 * gdb.base/page.exp: Add tests for "set width/height -1".
3146
3147 2019-02-27 Pedro Alves <palves@redhat.com>
3148
3149 * gdb.base/page.exp: Add tests for "set/show width/height" with
3150 "infinite" values.
3151
3152 2019-02-27 Tom Tromey <tromey@adacore.com>
3153
3154 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
3155 2.4.
3156 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
3157 workaround.
3158
3159 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
3160
3161 * gdb.base/align.exp: Extend to compile in both C and C++, and add
3162 tests for structs with static members.
3163
3164 2019-02-26 Tom Tromey <tromey@adacore.com>
3165
3166 * gdb.python/py-value.exp (test_value_from_buffer): Check for
3167 ValueError, not TypeError.
3168
3169 2019-02-26 Kevin Buettner <kevinb@redhat.com>
3170
3171 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
3172 call from main program.
3173
3174 2019-02-23 Joel Brobecker <brobecker@adacore.com>
3175
3176 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
3177 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
3178 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
3179 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
3180 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
3181
3182 2019-02-22 Keith Seitz <keiths@redhat.com>
3183
3184 PR symtab/23853
3185 * gdb.base/symlink-sourcefile.c: New file.
3186 * gdb.base/symlink-sourcefile.exp: New file.
3187
3188 2019-02-20 Tom Tromey <tom@tromey.com>
3189
3190 * gdb.base/info_qt.exp: Update.
3191
3192 2019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
3193
3194 * gdb.base/source.exp: Move "error in sourced script" code to
3195 the end.
3196 * gdb.base/source-error.gdb: Move contents to
3197 source-error-1.gdb. Add new code to source source-error-1.gdb.
3198 * gdb.base/source-error-1.gdb: New file, from previous
3199 source-error.gdb.
3200
3201 2019-02-17 Tom Tromey <tom@tromey.com>
3202
3203 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
3204 for macro styling.
3205 * gdb.base/style.c (SOME_MACRO): New macro.
3206
3207 2019-02-17 Tom Tromey <tom@tromey.com>
3208
3209 * gdb.base/style.exp: Add line-wrapping tests.
3210 * gdb.base/page.exp: Add test for quitting during pagination.
3211
3212 2019-02-17 Joel Brobecker <brobecker@adacore.com>
3213
3214 * gdb.ada/big_packed_array: New testcase.
3215 * gdb.ada/homonym.exp: Fix incorrect expected output for
3216 "break <homonym__get_value>" test.
3217
3218 2019-02-13 Weimin Pan <weimin.pan@oracle.com>
3219
3220 PR breakpoints/21870
3221 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
3222 and prepare_for_testing. Add comment.
3223 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
3224 redundant cleanup call. Clean up comment.
3225
3226 2019-02-12 Weimin Pan <weimin.pan@oracle.com>
3227
3228 PR breakpoints/21870
3229 * gdb.arch/aarch64-dbreg-contents.exp: New file.
3230 * gdb.arch/aarch64-dbreg-contents.c: New file.
3231
3232 2019-02-10 Joel Brobecker <brobecker@adacore.com>
3233
3234 * gdb.ada/mi_ref_changeable: New testcase.
3235
3236 2019-02-07 Alan Hayward <alan.hayward@arm.com>
3237
3238 * gdb.base/attach.exp: Add double attach test.
3239
3240 2019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
3241
3242 * lib/gdb.exp (default_gdb_start): Don't match pagination
3243 prompt.
3244 (gdb_init): Set stty_init.
3245
3246 2019-01-27 Tom Tromey <tom@tromey.com>
3247
3248 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
3249 skip_python_tests.
3250
3251 2019-01-24 Alan Hayward <alan.hayward@arm.com>
3252
3253 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
3254 New structure.
3255 (struct struct_static_02_02): Likewise.
3256 (struct struct_static_02_03): Likewise.
3257 (struct struct_static_02_04): Likewise.
3258 (struct struct_static_04_01): Likewise.
3259 (struct struct_static_04_02): Likewise.
3260 (struct struct_static_04_03): Likewise.
3261 (struct struct_static_04_04): Likewise.
3262 (struct struct_static_06_01): Likewise.
3263 (struct struct_static_06_02): Likewise.
3264 (struct struct_static_06_03): Likewise.
3265 (struct struct_static_06_04): Likewise.
3266 (cmp_struct_static_02_01): Likewise.
3267 (cmp_struct_static_02_02): Likewise.
3268 (cmp_struct_static_02_03): Likewise.
3269 (cmp_struct_static_02_04): Likewise.
3270 (cmp_struct_static_04_01): Likewise.
3271 (cmp_struct_static_04_02): Likewise.
3272 (cmp_struct_static_04_03): Likewise.
3273 (cmp_struct_static_04_04): Likewise.
3274 (cmp_struct_static_06_01): Likewise.
3275 (cmp_struct_static_06_02): Likewise.
3276 (cmp_struct_static_06_03): Likewise.
3277 (cmp_struct_static_06_04): Likewise.
3278 (call_all): Test new structs.
3279 * gdb.base/infcall-nested-structs.exp: Likewise.
3280
3281 2019-01-21 Alan Hayward <alan.hayward@arm.com>
3282 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
3283
3284 2019-01-21 Alan Hayward <alan.hayward@arm.com>
3285 * gdb.base/stack-protector.c: New test.
3286 * gdb.base/stack-protector.exp: New file.
3287 * gdb.cp/ovldbreak.exp: Only allow a single break line.
3288 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
3289 option.
3290 (gdb_compile): Remove stack protector for GCC and prevent
3291 recursion.
3292
3293 2019-01-16 Keith Seitz <keiths@redhat.com>
3294
3295 PR gdb/23773
3296 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
3297
3298 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3299
3300 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
3301 aliases.
3302 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
3303 tests.
3304 * gdb.arch/powerpc-vector-regs.c: New file.
3305 * gdb.arch/powerpc-vector-regs.exp: New file.
3306
3307 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3308
3309 * gdb.arch/altivec-regs.exp: Fix the list passed to
3310 gdb_expect_list when testing "info vector".
3311
3312 2019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
3313
3314 * gdb.base/style.exp: Don't include path in testname.
3315
3316 2019-01-10 Keith Seitz <keiths@redhat.com>
3317
3318 PR gdb/23712
3319 PR symtab/23010
3320 * gdb.dwarf2/multidictionary.exp: New file.
3321
3322 2019-01-09 Simon Marchi <simon.marchi@ericsson.com>
3323
3324 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
3325 (test_gnuv3_style_demangling): ... this.
3326 (test_lucid_style_demangling): Remove.
3327 (test_arm_style_demangling): Remove.
3328 (test_hp_style_demangling): Remove.
3329 (do_tests): Remove calls to the above.
3330
3331 2019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3332
3333 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
3334 case.
3335
3336 2019-01-06 Tom Tromey <tom@tromey.com>
3337
3338 PR gdb/28155:
3339 * gdb.dwarf2/typedef-void-finish.exp: New file.
3340
3341 2018-12-28 Tom Tromey <tom@tromey.com>
3342 Simon Marchi <simark@simark.ca>
3343
3344 * gdb.base/jit-exec.exp: New file.
3345 * gdb.base/jit-exec.c: New file.
3346 * gdb.base/jit-execd.c: New file.
3347
3348 2018-12-28 Tom Tromey <tom@tromey.com>
3349
3350 * gdb.base/style.exp: Update test to check for address styling.
3351
3352 2018-12-28 Tom Tromey <tom@tromey.com>
3353
3354 * gdb.base/style.exp: Add test for styling of "Reading symbols"
3355 message.
3356
3357 2018-12-28 Tom Tromey <tom@tromey.com>
3358
3359 * gdb.base/style.exp: Add test for version number styling.
3360
3361 2018-12-28 Tom Tromey <tom@tromey.com>
3362
3363 * gdb.base/style.exp: Add test for print_address_symbolic.
3364
3365 2018-12-28 Tom Tromey <tom@tromey.com>
3366
3367 * gdb.base/style.exp: Add test for breakpoint setting.
3368
3369 2018-12-28 Tom Tromey <tom@tromey.com>
3370
3371 * gdb.base/style.exp: Add test for variable names.
3372
3373 2018-12-28 Tom Tromey <tom@tromey.com>
3374
3375 * gdb.base/style.exp: New file.
3376 * gdb.base/style.c: New file.
3377
3378 2018-12-28 Tom Tromey <tom@tromey.com>
3379
3380 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
3381 "dumb".
3382 * gdb.base/readline.exp (operate_and_get_next): Save and restore
3383 the TERM environment variable.
3384
3385 2018-12-27 Tom Tromey <tom@tromey.com>
3386
3387 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
3388 pagination test.
3389
3390 2018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
3391
3392 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
3393 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
3394
3395 2018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3396
3397 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
3398 Filename a.adb changed to bp_fun_addr.adb.
3399 gdb.ada/bp_fun_addr.exp: Update test accordingly.
3400
3401 2018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
3402
3403 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
3404 non-PIE executables.
3405 * README: Mention the gdb,nopie_flag board setting.
3406 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
3407 non-PIE executable.
3408 * gdb.arch/amd64-entry-value.exp: Likewise.
3409 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
3410 * gdb.arch/i386-float.exp: Likewise.
3411 * gdb.arch/i386-signal.exp: Likewise.
3412 * gdb.mi/mi-reg-undefined.exp: Likewise.
3413
3414 2018-12-21 Paul Marechal <paul.marechal@ericsson.com>
3415
3416 PR gdb/23974
3417 * gdb.base/info-os.exp: Check return for unknown "info os" type.
3418
3419 2018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3420
3421 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
3422 Update order of results accordingly.
3423
3424 2018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
3425
3426 * gdb.base/annota1.exp: Update a test regexp.
3427
3428 2018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
3429
3430 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
3431
3432 2018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3433
3434 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
3435 (reuse_time): Initialize to REUSE_TIME_CAP.
3436 (check_rc): New function.
3437 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
3438 Check pthread_create rc.
3439 (spawner_thread_func): Check pthread_create and pthread_join rc.
3440
3441 2018-12-08 Pedro Alves <palves@redhat.com>
3442
3443 * gdb.base/list.exp (test_forward_search): Rename to ...
3444 (test_forward_reverse_search): ... this. Also test reverse-search
3445 and the forward-search alias.
3446
3447 2018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
3448
3449 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
3450 local timeout variable before return, and remove all local timeout
3451 variable entirely.
3452 (gdb_load): Likewise.
3453
3454 2018-12-01 Tom de Vries <tdevries@suse.de>
3455
3456 * gdb.base/gdb-caching-proc.exp: New file.
3457
3458 2018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
3459
3460 * Makefile.in (TIMESTAMP): New variable.
3461 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
3462 command.
3463 (check-single-racy): Likewise.
3464 (check/%.exp): Likewise.
3465 (check-racy/%.exp): Likewise.
3466 (workers/%.worker): Likewise.
3467 (build-perf): Likewise.
3468 (check-perf): Likewise.
3469 * README: Describe new "TS" and "TS_FORMAT" variables.
3470 * print-ts.py: New file.
3471
3472 2018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
3473
3474 PR python/23714
3475 * gdb.python/python.exp: Test command repetition after
3476 gdb.execute.
3477
3478 2018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
3479
3480 * gdb.opt/inline-break.exp: Add test that info breakpoint output
3481 is correctly aligned.
3482
3483 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3484
3485 * gdb.ada/info_auto_lang.exp: New testcase.
3486 * gdb.ada/info_auto_lang/global_pack.ads: New file.
3487 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
3488 * gdb.ada/info_auto_lang/some_c.c: New file.
3489
3490 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3491
3492 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
3493 FUNC_lang language syntax.
3494
3495 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3496
3497 * gdb.base/info_minsym.c: New file.
3498 * gdb.base/info_minsym.exp: New file.
3499
3500 2018-11-19 Tom Tromey <tom@tromey.com>
3501
3502 PR rust/23625:
3503 * gdb.rust/simple.exp: Add ptype test. Update expected output.
3504 * gdb.rust/expr.exp: Update expected output. Change one test.
3505
3506 2018-11-19 Tom Tromey <tom@tromey.com>
3507
3508 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
3509
3510 2018-11-19 Pedro Alves <palves@redhat.com>
3511
3512 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
3513 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
3514 see the expected warning.
3515
3516 2018-11-16 Alan Hayward <alan.hayward@arm.com>
3517
3518 PR gdb/22736:
3519 * gdb.cp/infcall-nodebug-lib.c: New test.
3520 * gdb.cp/infcall-nodebug-main.c: New test.
3521 * gdb.cp/infcall-nodebug.exp: New file.
3522
3523 2018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
3524
3525 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
3526 completer tests.
3527
3528 2018-11-09 Tom de Vries <tdevries@suse.de>
3529
3530 * gdb.base/msym-lang.c: New test.
3531 * gdb.base/msym-lang.exp: New file.
3532 * gdb.base/msym-lang-main.c: New test.
3533
3534 2018-11-08 Tom Tromey <tom@tromey.com>
3535
3536 PR gdb/23555:
3537 PR gdb/23838:
3538 * gdb.base/warning.exp: New file.
3539
3540 2018-11-08 Jan Beulich <jbeulich@suse.com>
3541
3542 * testsuite/gdb.arch/i386-avx512.c,
3543 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
3544
3545 2018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
3546
3547 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
3548 point hardware.
3549
3550 2018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
3551
3552 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
3553 * gdb.dwarf2/missing-type-name.exp: New file.
3554
3555 2018-11-06 Tom de Vries <tdevries@suse.de>
3556
3557 * gdb.base/many-headers.c: New test.
3558 * gdb.base/many-headers.exp: New file.
3559
3560 2018-11-06 Jim Wilson <jimw@sifive.com>
3561
3562 * gdb.base/code_elim.exp: For riscv, set additional_flags
3563 to include -msmall-data-limit=0.
3564
3565 2018-11-01 Joel Brobecker <brobecker@adacore.com>
3566
3567 * gdb.ada/watch_minus_l: New testcase.
3568
3569 2018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
3570
3571 * gdb.arch/aix-sighandle.c: New file.
3572 * gdb.arch/aix-sighandle.exp: New file.
3573
3574 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
3575
3576 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
3577 registers being unions.
3578
3579 2018-10-31 Tom de Vries <tdevries@suse.de>
3580
3581 * lib/valgrind.exp: New file.
3582 (vgdb_start, vgdb_stop): New procs, factored out of ...
3583 * gdb.base/valgrind-bt.exp: ... here, ...
3584 * gdb.base/valgrind-disp-step.exp: ... here and ...
3585 * gdb.base/valgrind-infcall.exp: ... here.
3586
3587 2018-10-31 Tom de Vries <tdevries@suse.de>
3588
3589 * lib/gdb.exp (get_valueof): Don't output read value in test name.
3590
3591 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
3592
3593 * gdb.dwarf2/void-type.c: New file.
3594 * gdb.dwarf2/void-type.exp: New file.
3595
3596 2018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3597
3598 * gdb.base/info_qt.c: New file.
3599 * gdb.base/info_qt.exp: New file.
3600
3601 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3602
3603 * gdb.arch/powerpc-htm-regs.c: New file.
3604 * gdb.arch/powerpc-htm-regs.exp: New file.
3605
3606 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3607
3608 * gdb.arch/powerpc-tar.c: New file.
3609 * gdb.arch/powerpc-tar.exp: New file.
3610
3611 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3612
3613 * gdb.arch/powerpc-ppr-dscr.c: New file.
3614 * gdb.arch/powerpc-ppr-dscr.exp: New file.
3615
3616 2018-10-25 Tom de Vries <tdevries@suse.de>
3617
3618 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
3619
3620 2018-10-24 Tom de Vries <tdevries@suse.de>
3621
3622 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
3623 longer exists error.
3624
3625 2018-10-24 Tom de Vries <tdevries@suse.de>
3626
3627 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
3628
3629 2018-10-24 Tom de Vries <tdevries@suse.de>
3630
3631 * gdb.base/valgrind-db-attach.exp: Handle removed support for
3632 --db-attach in valgrind.
3633
3634 2018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
3635
3636 * gdb.arch/riscv-reg-aliases.c: New file.
3637 * gdb.arch/riscv-reg-aliases.exp: New file.
3638
3639 2018-10-19 Alan Hayward <alan.hayward@arm.com>
3640
3641 * gdb.python/py-cmd.exp: Check for gdb_prompt.
3642
3643 2018-10-19 Alan Hayward <alan.hayward@arm.com>
3644
3645 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
3646
3647 2018-10-19 Alan Hayward <alan.hayward@arm.com>
3648
3649 * gdb.cp/ovldbreak.exp: Fix regexps.
3650
3651 2018-10-19 Alan Hayward <alan.hayward@arm.com>
3652
3653 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
3654
3655 2018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
3656
3657 PR cli/23785
3658 * gdb.base/restore.exp: New test to check if "restore" with an
3659 invalid file doesn't segfault.
3660
3661 2018-10-18 Tom de Vries <tdevries@suse.de>
3662
3663 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
3664 * gdb.ada/excep_handle.exp: Same.
3665 * gdb.ada/mi_string_access.exp: Same.
3666 * gdb.ada/mi_var_union.exp: Same.
3667 * gdb.arch/arc-analyze-prologue.exp: Same.
3668 * gdb.arch/arc-decode-insn.exp: Same.
3669 * gdb.base/readnever.exp: Same.
3670 * gdb.fortran/printing-types.exp: Same.
3671 * gdb.guile/scm-lazy-string.exp: Same.
3672
3673 2018-10-16 Tom de Vries <tdevries@suse.de>
3674
3675 PR gdb/23730
3676 * gdb.base/catch-follow-exec.c: Add copyright notice.
3677 * gdb.base/catch-follow-exec.exp: Rewrite to use
3678 gdb_spawn_with_cmdline_opts. Require gdb-native.
3679
3680 2018-10-12 Sandra Loosemore <sandra@codesourcery.com>
3681
3682 * gdb.trace/actions-changed.exp: Check for arch support.
3683 * gdb.trace/actions.exp: Likewise.
3684 * gdb.trace/ax.exp: Likewise.
3685 * gdb.trace/backtrace.exp: Likewise.
3686 * gdb.trace/change-loc.exp: Likewise.
3687 * gdb.trace/deltrace.exp: Likewise.
3688 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
3689 * gdb.trace/ftrace.exp: Likewise.
3690 * gdb.trace/infotrace.exp: Check for arch support.
3691 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
3692 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
3693 * gdb.trace/mi-tsv-changed.exp: Likewise.
3694 * gdb.trace/packetlen.exp: Likewise.
3695 * gdb.trace/passc-dyn.exp: Likewise.
3696 * gdb.trace/passcount.exp: Likewise.
3697 * gdb.trace/pending.exp: Likewise.
3698 * gdb.trace/range-stepping.exp: Check for shlib support.
3699 * gdb.trace/report.exp: Check for arch support.
3700 * gdb.trace/save-trace.exp: Likewise.
3701 * gdb.trace/signal.exp: Check for signal support.
3702 * gdb.trace/tfind.exp: Check for arch support.
3703 * gdb.trace/trace-break.exp: Check for arch and shlib support.
3704 * gdb.trace/trace-common.h: Add comment.
3705 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
3706 * gdb.trace/trace-enable-disable.exp: Likewise.
3707 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
3708 * gdb.trace/tracecmd.exp: Check for arch support.
3709 * gdb.trace/tspeed.exp: Check for shlib and target support.
3710 * gdb.trace/tstatus.exp: Check for arch support.
3711 * gdb.trace/tsv.exp: Likewise.
3712 * gdb.trace/while-dyn.exp: Likewise.
3713 * gdb.trace/while-stepping.exp: Likewise.
3714 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
3715
3716 2018-10-12 Simon Marchi <simon.marchi@ericsson.com>
3717
3718 * gdb.trace/tspeed.exp: Remove nowarnings.
3719 (prepare_for_trace_test): Declare "global ipalib".
3720 * gdb.trace/tspeed.c: Include unistd.h.
3721 (main): Remove superfluous printf argument.
3722
3723 2018-10-11 Sandra Loosemore <sandra@codesourcery.com>
3724
3725 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
3726 directory prefix on the filename.
3727
3728 2018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
3729
3730 * gdb.gdb/unittest.exp: Update expected message informing that
3731 selftests have been disabled.
3732 * gdb.server/unittest.exp: Likewise.
3733
3734 2018-10-09 Tom de Vries <tdevries@suse.de>
3735
3736 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
3737 with runto_main.
3738
3739 2018-10-08 Weimin Pan <weimin.pan@oracle.com>
3740
3741 PR c++/16841
3742 * gdb.cp/virtbase2.cc: New file.
3743 * gdb.cp/virtbase2.exp: New file.
3744
3745 2018-10-06 Tom Tromey <tom@tromey.com>
3746
3747 PR python/19399:
3748 * gdb.python/py-inferior.exp: Add architecture test.
3749
3750 2018-10-06 Tom Tromey <tom@tromey.com>
3751
3752 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
3753 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
3754
3755 2018-10-06 Tom Tromey <tom@tromey.com>
3756
3757 * gdb.python/py-breakpoint.exp (check_last_event): Check location
3758 of a "throw" catchpoint.
3759
3760 2018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
3761
3762 * gdb.base/info-proc.exp: Update string expected from "help info
3763 proc".
3764
3765 2018-10-04 Tom Tromey <tom@tromey.com>
3766
3767 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
3768 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
3769 (test_initial_complaints, test_empty_complaints): Update.
3770 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
3771
3772 2018-10-04 Tom Tromey <tom@tromey.com>
3773
3774 PR cli/19551:
3775 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
3776 * lib/gdb.exp (gdb_file_cmd): Update.
3777 * gdb.stabs/weird.exp (print_weird_var): Update.
3778 * gdb.server/solib-list.exp: Update.
3779 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
3780 * gdb.mi/mi-cli.exp: Update.
3781 * gdb.linespec/linespec.exp: Update.
3782 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
3783 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
3784 * gdb.cp/cp-relocate.exp: Update.
3785 * gdb.base/sym-file.exp: Update.
3786 * gdb.base/relocate.exp: Update.
3787 * gdb.base/readnever.exp: Update.
3788 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
3789 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
3790 * gdb.base/dbx.exp (gdb_file_cmd): Update.
3791 * gdb.base/code_elim.exp: Update.
3792 * gdb.base/break-unload-file.exp (test_break): Update.
3793 * gdb.base/break-interp.exp (test_attach_gdb): Update.
3794 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
3795 Update.
3796 * gdb.base/attach.exp (do_attach_tests): Update.
3797 * gdb.base/sepdebug.exp: Update.
3798 * gdb.python/py-section-script.exp: Update.
3799
3800 2018-10-04 Tom Tromey <tom@tromey.com>
3801
3802 PR cli/22234:
3803 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
3804 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
3805 output.
3806
3807 2018-10-04 Tom Tromey <tom@tromey.com>
3808
3809 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
3810 set width and height to 0.
3811 (test_command_line_attach_run): Use -quiet.
3812
3813 2018-10-03 Sandra Loosemore <sandra@codesourcery.com>
3814
3815 * lib/gdb.exp (skip_ifunc_tests): New.
3816 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
3817 other compile failures.
3818 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
3819
3820 2018-10-01 Simon Marchi <simon.marchi@ericsson.com>
3821
3822 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
3823 is_amd64_regs_target.
3824
3825 2018-10-01 Alan Hayward <alan.hayward@arm.com>
3826
3827 * gdb.arch/aarch64-sighandler-regs.c: New test.
3828 * gdb.arch/aarch64-sighandler-regs.exp: New file.
3829 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
3830
3831 2018-10-01 Markus Metzger <markus.t.metzger@intel.com>
3832
3833 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
3834 assembly.
3835
3836 2018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
3837
3838 * gdb.base/frame-selection.exp: New file.
3839 * gdb.base/frame-selection.c: New file.
3840
3841 2018-09-27 Alan Hayward <alan.hayward@arm.com>
3842
3843 * gdb.threads/check-libthread-db.c (thread_routine): Use a
3844 pthread barrier.
3845 (main): Likewise.
3846
3847 2018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
3848
3849 * gdb.base/large-frame-1.c: New file.
3850 * gdb.base/large-frame-2.c: New file.
3851 * gdb.base/large-frame.exp: New file.
3852 * gdb.base/large-frame.h: New file.
3853
3854 2018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3855
3856 PR gdb/20948
3857 * gdb.base/write_mem.exp: New test.
3858 * gdb.base/write_mem.c: Likewise.
3859
3860 2018-09-23 Tom Tromey <tom@tromey.com>
3861
3862 PR python/18852:
3863 * gdb.python/py-parameter.exp: Add test for parameter that throws
3864 on "set".
3865
3866 2018-09-23 Tom Tromey <tom@tromey.com>
3867
3868 PR python/17284:
3869 * gdb.python/py-template.exp (test_template_arg): Add test for
3870 negative template argument number.
3871
3872 2018-09-23 Tom Tromey <tom@tromey.com>
3873
3874 PR python/14062:
3875 * gdb.python/python.exp: Add test for post_event error.
3876
3877 2018-09-23 Tom Tromey <tom@tromey.com>
3878
3879 PR python/18170:
3880 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
3881 convert pointers to int and long.
3882
3883 2018-09-23 Tom Tromey <tom@tromey.com>
3884
3885 PR python/20126:
3886 * gdb.python/py-value.exp (test_value_numeric_ops): Add
3887 signed-ness conversion tests.
3888
3889 2018-09-23 Tom Tromey <tom@tromey.com>
3890
3891 PR python/18352;
3892 * gdb.python/py-value.exp (test_float_conversion): New proc.
3893 Use it.
3894
3895 2018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
3896
3897 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
3898
3899 2018-09-18 Sandra Loosemore <sandra@codesourcery.com>
3900
3901 * gdb.base/complete-empty.exp: Skip tab-completion tests if
3902 no readline.
3903 * gdb.base/utf8-identifiers.exp: Likewise.
3904 * gdb.cp/cpcompletion.exp: Likewise.
3905 * gdb.linespec/cpcompletion.exp: Likewise.
3906 * gdb.linespec/cpls-abi-tag.exp: Likewise.
3907 * gdb.linespec/cpls-ops.exp: Likewise.
3908
3909 2018-09-19 Richard Bunt <richard.bunt@arm.com>
3910 Chris January <chris.january@arm.com>
3911
3912 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
3913 * gdb.fortran/short-circuit-argument-list.exp: New file.
3914 * gdb.fortran/short-circuit-argument-list.f90: New test.
3915
3916 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3917
3918 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
3919 "arch=" keyword when executing "-stack-list-frames".
3920
3921 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3922
3923 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
3924 "arch=" keyword when executing "-stack-list-frames".
3925
3926 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3927
3928 * gdb.ada/complete.exp: Expect for "@" when doing "complete
3929 break ada".
3930
3931 2018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
3932
3933 PR python/23669
3934 * gdb.python/python.exp: Test gdb.execute("show commands").
3935
3936 2018-09-16 Tom Tromey <tom@tromey.com>
3937
3938 * gdb.base/new-ui.exp (do_execution_tests): Update.
3939 * gdb.base/dbx.exp (test_breakpoints): Update.
3940
3941 2018-09-14 Alan Hayward <alan.hayward@arm.com>
3942
3943 * lib/gdb.exp (gdb_simple_compile): Add proc.
3944 (is_elf_target): Use gdb_simple_compile.
3945 (skip_altivec_tests): Likewise.
3946 (skip_vsx_tests): Likewise.
3947 (skip_tsx_tests): Likewise.
3948 (skip_btrace_tests): Likewise.
3949 (skip_btrace_pt_tests): Likewise.
3950 (gdb_can_simple_compile): Likewise.
3951 (gdb_has_argv0): Likewise.
3952 (gdb_target_symbol_prefix): Likewise.
3953 (target_supports_scheduler_locking): Likewise.
3954
3955 2018-09-13 Tom Tromey <tom@tromey.com>
3956
3957 * Makefile.in (TAGS): Recognize proc_with_prefix and
3958 gdb_caching_proc.
3959
3960 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3961
3962 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
3963 method.
3964
3965 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3966
3967 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
3968 and a few other Inferior properties when the Inferior is no
3969 longer valid.
3970
3971 2018-09-13 Tom Tromey <tom@tromey.com>
3972
3973 PR rust/23650:
3974 * gdb.rust/simple.exp: Add test for enum field access error.
3975
3976 2018-09-13 Tom Tromey <tom@tromey.com>
3977
3978 PR rust/23626:
3979 * gdb.rust/simple.rs (EmptyEnum): New type.
3980 (main): Use it.
3981 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
3982
3983 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3984
3985 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
3986 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
3987 * gdb.python/py-symtab.exp: Update test printing an objfile.
3988
3989 2018-09-12 Simon Marchi <simon.marchi@ericsson.com>
3990
3991 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
3992 object.
3993
3994 2018-09-12 Alan Hayward <alan.hayward@arm.com>
3995
3996 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
3997 (support_complex_tests): Use gdb_can_simple_compile.
3998 (is_ilp32_target): Likewise.
3999 (is_lp64_target): Likewise.
4000 (is_64_target): Likewise.
4001 (is_amd64_regs_target): Likewise.
4002 (is_aarch32_target): Likewise.
4003 (gdb_int128_helper): Likewise.
4004
4005 2018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4006
4007 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
4008
4009 2018-09-10 Jerome Guitton <guitton@adacore.com>
4010
4011 * gdb.ada/same_component_name: Add test for case of tagged record
4012 with variable-length fields.
4013
4014 2018-09-10 Xavier Roirand <roirand@adacore.com>
4015
4016 * gdb.ada/access_to_unbounded_array.exp: New testcase.
4017 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
4018 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
4019 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
4020
4021 2018-09-10 Xavier Roirand <roirand@adacore.com>
4022
4023 * gdb.ada/mi_string_access.exp: New testcase.
4024 * gdb.ada/mi_string_access/bar.adb: New file.
4025 * gdb.ada/mi_string_access/pck.adb: New file.
4026 * gdb.ada/mi_string_access/pck.asd: New file.
4027
4028 2018-09-10 Xavier Roirand <roirand@adacore.com>
4029
4030 * gdb.ada/mi_var_union.exp: New testcase.
4031 * gdb.ada/mi_var_union/bar.adb: New file.
4032 * gdb.ada/mi_var_union/pck.adb: New file.
4033 * gdb.ada/mi_var_union/pck.asd: New file.
4034
4035 2018-09-08 Tom Tromey <tom@tromey.com>
4036
4037 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
4038
4039 2018-09-08 Tom Tromey <tom@tromey.com>
4040
4041 PR python/16047:
4042 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
4043 (register_pretty_printers): Register new printer.
4044 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
4045 test.
4046 * gdb.python/py-prettyprint.c (int_type3): New typedef.
4047 (an_int_type3): New global.
4048
4049 2018-09-08 Joel Brobecker <brobecker@adacore.com>
4050
4051 * gdb.ada/expr_with_funcall: New testcase.
4052
4053 2018-09-08 Joel Brobecker <brobecker@adacore.com>
4054
4055 * gdb.ada/packed_array_assign: New testcase.
4056
4057 2018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
4058
4059 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
4060 names, and add test prefixes to make test names unique.
4061
4062 2018-09-05 Tom de Vries <tdevries@suse.de>
4063
4064 * gdb.dwarf2/varval.exp: Add test.
4065
4066 2018-09-04 Gary Benson <gbenson@redhat.com>
4067
4068 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
4069 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
4070
4071 2018-08-31 Tom Tromey <tom@tromey.com>
4072
4073 * gdb.rust/simple.rs: Rename second variable "v".
4074
4075 2018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
4076
4077 * gdb.base/funcargs.c (use_a): New function.
4078 (recurse): Call use_a.
4079
4080 2018-08-29 Keith Seitz <keiths@redhat.com>
4081
4082 * gdb.compile/compile-cplus-anonymous.cc: New file.
4083 * gdb.compile/compile-cplus-anonymous.exp: New file.
4084 * gdb.compile/compile-cplus-array-decay.cc: New file.
4085 * gdb.compile/compile-cplus-array-decay.exp: New file.
4086 * gdb.compile/compile-cplus-inherit.cc: New file.
4087 * gdb.compile/compile-cplus-inherit.exp: New file.
4088 * gdb.compile/compile-cplus-member.cc: New file.
4089 * gdb.compile/compile-cplus-member.exp: New file.
4090 * gdb.compile/compile-cplus-method.cc: New file.
4091 * gdb.compile/compile-cplus-method.exp: New file.
4092 * gdb.compile/compile-cplus-mod.c: "New" file.
4093 * gdb.compile/compile-cplus-namespace.cc: New file.
4094 * gdb.compile/compile-cplus-namespace.exp: New file.
4095 * gdb.compile/compile-cplus-nested.cc: New file.
4096 * gdb.compile/compile-cplus-nested.exp: New file.
4097 * gdb.compile/compile-cplus-print.c: "New" file.
4098 * gdb.compile/compile-cplus-print.exp: "New" file.
4099 * gdb.compile/compile-cplus-virtual.cc: New file.
4100 * gdb.compile/compile-cplus-virtual.exp: New file.
4101 * gdb.compile/compile-cplus.c: "New" file.
4102 * gdb.compile/compile-cplus.exp: "New" file.
4103 * lib/compile-support.exp: New file.
4104
4105 2018-08-16 Gary Benson <gbenson@redhat.com>
4106
4107 PR gdb/13000:
4108 * gdb.base/batch-exit-status.exp: New file.
4109 * gdb.base/batch-exit-status.good-commands: Likewise.
4110 * gdb.base/batch-exit-status.bad-commands: Likewise.
4111
4112 2018-08-29 Alan Hayward <alan.hayward@arm.com>
4113
4114 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
4115 (struct struct02): Likewise.
4116 (struct struct03): Likewise.
4117 (struct struct04): Likewise.
4118 (struct struct_01_01): New struct.
4119 (struct struct_01_02): Likewise.
4120 (struct struct_01_03): Likewise.
4121 (struct struct_01_04): Likewise.
4122 (struct struct_02_01): Likewise.
4123 (struct struct_02_02): Likewise.
4124 (struct struct_02_03): Likewise.
4125 (struct struct_02_04): Likewise.
4126 (struct struct_04_01): Likewise.
4127 (struct struct_04_02): Likewise.
4128 (struct struct_04_03): Likewise.
4129 (struct struct_04_04): Likewise.
4130 (struct struct_05_01): Likewise.
4131 (struct struct_05_02): Likewise.
4132 (struct struct_05_03): Likewise.
4133 (struct struct_05_04): Likewise.
4134 (cmp_struct01): Remove function.
4135 (cmp_struct02): Likewise.
4136 (cmp_struct03): Likewise.
4137 (cmp_struct04): Likewise.
4138 (cmp_struct_01_01): Add Function.
4139 (cmp_struct_01_02): Likewise.
4140 (cmp_struct_01_03): Likewise.
4141 (cmp_struct_01_04): Likewise.
4142 (cmp_struct_02_01): Likewise.
4143 (cmp_struct_02_02): Likewise.
4144 (cmp_struct_02_03): Likewise.
4145 (cmp_struct_02_04): Likewise.
4146 (cmp_struct_04_01): Likewise.
4147 (cmp_struct_04_02): Likewise.
4148 (cmp_struct_04_03): Likewise.
4149 (cmp_struct_04_04): Likewise.
4150 (cmp_struct_05_01): Likewise.
4151 (cmp_struct_05_02): Likewise.
4152 (cmp_struct_05_03): Likewise.
4153 (cmp_struct_05_04): Likewise.
4154 (call_all): Add new structs.
4155 * gdb.base/infcall-nested-structs.exp: Likewise.
4156
4157 2018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
4158
4159 * gdb.python/py-framefilter-mi.exp: Update regexp to
4160 check for "arch" field in frame output.
4161
4162 2018-08-23 Kevin Buettner <kevinb@redhat.com>
4163
4164 * gdb.dwarf2/dw2-ranges-func.c: New file.
4165 * gdb.dwarf2/dw2-ranges-func.exp: New file.
4166
4167 2018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
4168
4169 * gdb.base/term.exp: Compare terminal settings with values from
4170 the inferior.
4171 * gdb.base/term.c: Get and set terminal settings.
4172
4173 2018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
4174
4175 * lib/mi-support.exp (mi_expect_stop): Update regexp to
4176 accommodate new "arch" field in frame output.
4177 * gdb.mi/mi-return.exp: Likewise.
4178 * gdb.mi/mi-stack.exp: Likewise.
4179 * gdb.mi/mi-syn-frame.exp: Likewise.
4180 * gdb.mi/user-selected-context-sync.exp: Likewise.
4181
4182 2018-08-19 Michael Spang <spang@google.com>
4183
4184 PR gdb/11786
4185 * gdb.base/gcore-tls-pie.c: New file.
4186 * gdb.base/gcore-tls-pie.exp: New file.
4187
4188 2018-08-18 Kevin Buettner <kevinb@redhat.com>
4189
4190 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
4191 * gdb.dwarf2/varval.c: New file.
4192 * gdb.dwarf2/varval.exp: New file.
4193
4194 2018-08-17 Alan Hayward <alan.hayward@arm.com>
4195
4196 PR gdb/18931
4197 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
4198
4199 2018-08-16 Keith Seitz <keiths@redhat.com>
4200
4201 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
4202 tests expected to pass.
4203
4204 2018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
4205
4206 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
4207 -data-disassemble -a.
4208 (test_disassembly_bogus_args): Likewise.
4209
4210 2018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
4211
4212 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
4213
4214 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
4215
4216 * gdb.base/vla-optimized-out.exp: Add new test.
4217
4218 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
4219
4220 * gdb.base/vla-optimized-out-o3.exp: Delete.
4221 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
4222 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
4223 deleted tests.
4224
4225 2018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
4226
4227 PR gdb/18050:
4228 * gdb.server/extended-remote-restart.c: New file.
4229 * gdb.server/extended-remote-restart.exp: New file.
4230
4231 2018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
4232
4233 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
4234 "set variable index = 42".
4235
4236 2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
4237
4238 * boards/index-cache-gdb.exp: New file.
4239 * gdb.dwarf2/index-cache.exp: New file.
4240 * gdb.dwarf2/index-cache.c: New file.
4241 * gdb.base/maint.exp: Check if we are using the index cache.
4242
4243 2018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4244
4245 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
4246 MAKEFLAGS.
4247
4248 2018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4249
4250 * dg-extract-results.sh: Move to toplevel contrib.
4251 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
4252 * Makefile.in (check-parallel-racy): Likewise.
4253
4254 2018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
4255
4256 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
4257 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
4258 tests if the target supports scheduler locking.
4259
4260 2018-08-04 Tom de Vries <tdevries@suse.de>
4261
4262 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
4263
4264 2018-08-02 Tom Tromey <tom@tromey.com>
4265
4266 PR symtab/16842.
4267 * gdb.cp/temargs.exp: Test "info address" of a template
4268 parameter.
4269
4270 2018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
4271
4272 * gdb.python/py-mi-var-info-path-expression.c: New file.
4273 * gdb.python/py-mi-var-info-path-expression.py: New file.
4274 * gdb.python/py-mi-var-info-path-expression.exp: New file.
4275
4276 2018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
4277
4278 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
4279 error after "cannot resolve name" string.
4280
4281 2018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
4282
4283 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
4284 started.
4285 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
4286
4287 2018-07-28 Tom de Vries <tdevries@suse.de>
4288
4289 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
4290
4291 2018-07-26 Tom de Vries <tdevries@suse.de>
4292
4293 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
4294
4295 2018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
4296
4297 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
4298 is visible.
4299
4300 2018-07-26 Tom de Vries <tdevries@suse.de>
4301
4302 PR breakpoints/23366
4303 * gdb.base/catch-follow-exec.c: New test.
4304 * gdb.base/catch-follow-exec.exp: New file.
4305
4306 2018-07-25 Tom de Vries <tdevries@suse.de>
4307
4308 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
4309 vla-optimized-out.c.
4310
4311 2018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
4312
4313 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
4314 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
4315
4316 2018-07-20 Tom de Vries <tdevries@suse.de>
4317
4318 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
4319 NOCLONE macro.
4320 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
4321
4322 2018-07-19 Tom de Vries <tdevries@suse.de>
4323
4324 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
4325 regular expression.
4326
4327 2018-07-18 Tom de Vries <tdevries@suse.de>
4328
4329 * gdb.base/vla-optimized-out.c: New test.
4330 * gdb.base/vla-optimized-out.exp: New file.
4331
4332 2018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
4333
4334 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
4335 message "No address associated with hostname" when gdbserver
4336 cannot resolve the hostname.
4337
4338 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4339
4340 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
4341 Add some test prefixes to make tests unique.
4342
4343 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4344
4345 * gdb.base/frameapply.c: New file.
4346 * gdb.base/frameapply.exp: New file.
4347
4348 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4349
4350 * gdb.base/skip.exp: Update expected error message.
4351
4352 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
4353 Jan Kratochvil <jan.kratochvil@redhat.com>
4354 Paul Fertser <fercerpav@gmail.com>
4355 Tsutomu Seki <sekiriki@gmail.com>
4356
4357 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
4358 parameter.
4359 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
4360 by default.
4361 * boards/native-gdbserver.exp: Likewise.
4362 * gdb.server/run-without-local-binary.exp: Improve regexp used
4363 for detecting when a remote debugging connection succeeds.
4364 * gdb.server/server-connect.exp: New file.
4365 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
4366 Do not prefix the port number with ":".
4367 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
4368 support for detecting and using it. Add '$debughost_gdbserver'
4369 to the list of arguments used to start gdbserver. Handle case
4370 when gdbserver cannot resolve a network name.
4371
4372 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
4373
4374 PR c++/23373
4375 * gdb.base/ptype-offsets.cc (struct static_member): New
4376 struct.
4377 (main) <stmember>: New variable.
4378 * gdb.base/ptype-offsets.exp: Add test for printing a struct
4379 with a static member in it.
4380
4381 2018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
4382
4383 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
4384 watchpoints enabled and disabled.
4385
4386 2018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
4387
4388 * gdb.base/examine-backward.exp: Still run tests around address
4389 0x0, even if address 0x0 is not readable. Update the pattern for
4390 matching address 0x0 in expected output.
4391
4392 2018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
4393
4394 * gdb.base/share-env-with-gdbserver.c (main): Add call to
4395 malloc/free.
4396
4397 2018-07-04 Tom de Vries <tdevries@suse.de>
4398
4399 * gdb.dwarf2/dw2-error.exp: Update expected error message.
4400
4401 2018-07-02 Maciej W. Rozycki <macro@mips.com>
4402
4403 PR tdep/8282
4404 * gdb.arch/mips-disassembler-options.exp: New test.
4405 * gdb.arch/mips-disassembler-options.s: New test source.
4406
4407 2018-06-29 Pedro Alves <palves@redhat.com>
4408
4409 * gdb.threads/names.exp: Adjust expected "info threads" output.
4410
4411 2018-06-29 Pedro Alves <palves@redhat.com>
4412
4413 * gdb.opt/inline-break.exp (line number, address): Add "info
4414 break" tests.
4415
4416 2018-06-29 Pedro Alves <palves@redhat.com>
4417
4418 * gdb.opt/inline-break.c (func1): Add "break here" marker.
4419 * gdb.opt/inline-break.exp: Test setting breakpoints by line
4420 number and address and running to them.
4421
4422 2018-06-29 Richard Bunt <richard.bunt@arm.com>
4423
4424 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
4425
4426 2018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4427
4428 * lib/compiler.c: Remove executable permission flag.
4429
4430 2018-06-28 Richard Bunt <richard.bunt@arm.com>
4431
4432 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
4433 code.
4434 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
4435
4436 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
4437
4438 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
4439
4440 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
4441
4442 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
4443 address argument is omitted.
4444
4445 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
4446
4447 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
4448
4449 2018-06-27 Omair Javaid <omair.javaid@linaro.org>
4450
4451 PR gdb/21695
4452 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
4453 * gdb.base/infoline-reloc-main-from-zero.c: New file.
4454
4455 2018-06-26 Tom Tromey <tom@tromey.com>
4456
4457 PR rust/22574:
4458 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
4459 * gdb.rust/simple.rs (struct SimpleLayout): New.
4460
4461 2018-06-22 Simon Marchi <simon.marchi@ericsson.com>
4462
4463 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
4464 "info registers" output.
4465
4466 2018-06-21 Richard Bunt <richard.bunt@arm.com>
4467
4468 * gdb.base/watchpoint-hw-attach.c: New test.
4469 * gdb.base/watchpoint-hw-attach.exp: New file.
4470
4471 2018-06-20 Simon Marchi <simon.marchi@ericsson.com>
4472
4473 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
4474 through /bin/sh.
4475 * boards/dwarf4-gdb-index.exp: Likewise.
4476 * boards/fission-dwp.exp: Likewise.
4477
4478 2018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
4479
4480 * gdb.base/float128.exp: Add comment and improved fail message
4481 to the failure case of "print large128" test.
4482
4483 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
4484
4485 * configure.ac: Remove AC_PREREQ.
4486 * configure: Re-generate.
4487
4488 2018-06-19 Pedro Alves <palves@redhat.com>
4489
4490 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
4491 (func_extern_caller): New.
4492 (main): Call func_extern_caller.
4493 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
4494 logic change.
4495
4496 2018-06-18 Weimin Pan <weimin.pan@oracle.com>
4497
4498 PR gdb/16841
4499 * gdb.cp/typedef-base.cc: New file.
4500 * gdb.cp/typedef-base.exp: New file.
4501
4502 2018-06-18 Tom de Vries <tdevries@suse.de>
4503
4504 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
4505
4506 2018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
4507 Richard Bunt <Richard.Bunt@arm.com>
4508
4509 * gdb.threads/attach-slow-waitpid.c: New file.
4510 * gdb.threads/attach-slow-waitpid.exp: New file.
4511 * gdb.threads/slow-waitpid.c: New file.
4512
4513 2018-06-14 Pedro Alves <palves@redhat.com>
4514
4515 * gdb.base/fork-running-state.c: Include <errno.h>.
4516 (exit_if_relative_exits): New.
4517 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
4518 exits.
4519 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
4520 child exits.
4521
4522 2018-06-14 Tom de Vries <tdevries@suse.de>
4523
4524 PR cli/22573
4525 * gdb.base/finish-pretty.c: New test.
4526 * gdb.base/finish-pretty.exp: New file.
4527
4528 2018-06-14 Pedro Alves <palves@redhat.com>
4529
4530 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
4531 gdb's expected startup output.
4532
4533 2018-06-14 Pedro Alves <palves@redhat.com>
4534
4535 * lib/selftest-support.exp (selftest_setup): Remove inlined
4536 function handling.
4537
4538 2018-06-14 Tom de Vries <tdevries@suse.de>
4539
4540 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
4541 matching of breakpoint printing.
4542
4543 2018-06-13 Tom de Vries <tdevries@suse.de>
4544
4545 PR testsuite/23269
4546 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
4547 (fork_child): ... here, and ...
4548 (fork_parent): ... here.
4549
4550 2018-06-12 Tom de Vries <tdevries@suse.de>
4551
4552 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
4553
4554 2018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
4555 Stephen Roberts <stephen.roberts@arm.com>
4556
4557 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
4558 rewrite test to describe action performed, rather than possible
4559 failure.
4560
4561 2018-06-08 Gary Benson <gbenson@redhat.com>
4562
4563 * gdb.threads/check-libthread-db.exp: New file.
4564 * gdb.threads/check-libthread-db.c: Likewise.
4565
4566 2018-06-05 Tom Tromey <tom@tromey.com>
4567
4568 * gdb.base/default.exp: Update expected "show version" output.
4569
4570 2018-06-05 Tom Tromey <tom@tromey.com>
4571
4572 PR cli/12326:
4573 * gdb.cp/static-print-quit.exp: Update.
4574 * lib/gdb.exp (pagination_prompt): Update.
4575 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
4576 * gdb.python/python.exp: Update.
4577
4578 2018-06-04 Joel Brobecker <brobecker@adacore.com>
4579
4580 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
4581
4582 2018-06-01 Joel Brobecker <brobecker@adacore.com>
4583
4584 * gdb.ada/bp_fun_addr: New testcase.
4585
4586 2018-06-01 Tom Tromey <tom@tromey.com>
4587
4588 * gdb.xml/tdesc-regs.exp (load_description): Update expected
4589 results.
4590 * gdb.dwarf2/method-ptr.exp: Set language to C++.
4591 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
4592 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
4593 * gdb.base/maint.exp (maint_pass_if): Update.
4594
4595 2018-05-31 Maciej W. Rozycki <macro@mips.com>
4596
4597 * gdb.base/endian.exp: New test.
4598 * gdb.base/endian.c: New test source.
4599
4600 2018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
4601
4602 PR gdb/23203
4603 * gdb.base/bt-selected-frame.c: New file.
4604 * gdb.base/bt-selected-frame.exp: New file.
4605 * lib/gdb.exp (get_current_frame_number): New function.
4606
4607 2018-05-24 Maciej W. Rozycki <macro@mips.com>
4608 Pedro Alves <palves@redhat.com>
4609
4610 * gdb.threads/tls-core.c: Include <stdlib.h>
4611 (thread_proc): Call `abort'.
4612 * gdb.threads/tls-core.exp: Generate a core with core_find too.
4613 (tls_core_test): New procedure, bits factored out from ...
4614 (top level): ... here. Test both native cores and gcore cores.
4615
4616 2018-05-23 Tom Tromey <tom@tromey.com>
4617
4618 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
4619
4620 2018-05-23 Tom Tromey <tom@tromey.com>
4621
4622 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
4623 symfile_complaints.
4624 (test_short_complaints): Likewise.
4625 (test_empty_complaints): Likewise.
4626 (test_initial_complaints): Update.
4627
4628 2018-05-23 Tom Tromey <tom@tromey.com>
4629
4630 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
4631
4632 2018-05-23 Tom Tromey <tom@tromey.com>
4633
4634 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
4635 (test_short_complaints): Update.
4636
4637 2018-05-22 Pedro Alves <palves@redhat.com>
4638
4639 * gdb.base/remote.exp: Only gdb_start after compiling the
4640 testcase. Issue "disconnect" before testing "set remote" command
4641 defaults. Issue clean_restart before running to main.
4642
4643 2018-05-22 Pedro Alves <palves@redhat.com>
4644
4645 * gdb.base/remote.exp: Adjust expected output of "show remote
4646 memory-write-packet-size". Add tests for "set remote
4647 memory-write-packet-size 0" and "set remote
4648 memory-write-packet-size fixed/limit".
4649
4650 2018-05-22 Pedro Alves <palves@redhat.com>
4651
4652 PR gdb/22973
4653 * gdb.base/utf8-identifiers.c: New file.
4654 * gdb.base/utf8-identifiers.exp: New file.
4655
4656 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
4657
4658 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
4659
4660 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
4661
4662 * gdb.arch/powerpc-vsx-gcore.exp: New file.
4663
4664 2018-05-18 Tom Tromey <tom@tromey.com>
4665
4666 * gdb.base/ptype-offsets.exp: Update.
4667
4668 2018-05-17 Keith Seitz <keiths@redhat.com>
4669
4670 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
4671 in expected breakpoint stop locations.
4672 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
4673 move to proper scope to test variable values.
4674 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
4675 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
4676 New functions.
4677 (main): Call not_inline_func3.
4678 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
4679 inline_func1, inline_func2, and inline_func3. Test that when each
4680 breakpoint is hit, GDB properly reports both the stop location
4681 and the backtrace. Repeat tests for temporary breakpoints.
4682
4683 2018-05-15 Maciej W. Rozycki <macro@mips.com>
4684
4685 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
4686 rather then trying to access it in determining whether the PID
4687 of `gdbserver' could have been retrieved.
4688
4689 2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
4690
4691 * gdb.arch/amd64-init-x87-values.S: New file.
4692 * gdb.arch/amd64-init-x87-values.exp: New file.
4693
4694 2018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4695
4696 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
4697
4698 2018-05-04 Tom Tromey <tom@tromey.com>
4699
4700 PR python/22730:
4701 * gdb.python/python.exp: Test multi-line execute.
4702
4703 2018-05-04 Tom Tromey <tom@tromey.com>
4704
4705 PR python/22731:
4706 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
4707
4708 2018-05-04 Tom Tromey <tom@tromey.com>
4709
4710 PR gdb/11750:
4711 * gdb.base/define.exp: Test defining a user command inside a user
4712 command.
4713 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
4714
4715 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4716 Pedro Alves <palves@redhat.com>
4717
4718 PR breakpoints/19806 and support for PR external/20207.
4719 * gdb.base/watchpoint-unaligned.c: New file.
4720 * gdb.base/watchpoint-unaligned.exp: New file.
4721
4722 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4723
4724 * gdb.base/maint.exp: Make test names unique, use
4725 test_prefix_command_help to test 'help maint info', and remove
4726 repeated test of 'help maint'.
4727
4728 2018-05-04 Tom Tromey <tom@tromey.com>
4729
4730 PR gdb/22619:
4731 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
4732 behavior.
4733
4734 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4735
4736 * gdb.base/maint.exp: Process output from 'maint print registers'
4737 line at a time.
4738
4739 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4740
4741 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
4742 timeout.
4743
4744 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
4745
4746 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
4747 filter pattern.
4748
4749 2018-05-02 Pedro Alves <palves@redhat.com>
4750
4751 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
4752 to_log_command renames.
4753 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
4754
4755 2018-05-02 Tom Tromey <tom@tromey.com>
4756
4757 * gdb.python/py-parameter.exp: Set test message.
4758
4759 2018-05-02 Tom Tromey <tom@tromey.com>
4760
4761 PR python/20084:
4762 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
4763 PARAM_ZUINTEGER_UNLIMITED tests.
4764
4765 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
4766
4767 PR rust/23124
4768 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
4769 when casting.
4770
4771 2018-04-30 Tom Tromey <tom@tromey.com>
4772
4773 * gdb.python/py-type.exp: Check align attribute.
4774 * gdb.python/py-type.c: New "aligncheck" global.
4775
4776 2018-04-30 Tom Tromey <tom@tromey.com>
4777
4778 PR exp/17095:
4779 * gdb.dwarf2/dw2-align.exp: New file.
4780 * gdb.cp/align.exp: New file.
4781 * gdb.base/align.exp: New file.
4782 * lib/gdb.exp (gdb_int128_helper): New proc.
4783 (has_int128_c, has_int128_cxx): New caching procs.
4784
4785 2018-04-27 Tom Tromey <tom@tromey.com>
4786
4787 PR rust/22545:
4788 * gdb.rust/simple.exp: Add inclusive range tests.
4789
4790 2018-04-26 Pedro Alves <palves@redhat.com>
4791
4792 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
4793 ifunc breakpoint locations correctly of ifunc breakpoints set
4794 while the program resolves the ifunc.
4795
4796 2018-04-26 Pedro Alves <palves@redhat.com>
4797
4798 * gdb.base/gnu-ifunc-final.c: New file.
4799 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
4800 * gdb.base/gnu-ifunc.exp (executable): Delete.
4801 (staticexecutable): Adjust.
4802 (lib_opts, exec_opts): Delete.
4803 (make_binsuffix, build, set-break): New procedures.
4804 (misc_tests): New, with tests factored out from the top level.
4805 (top level): Test different combinations of ifunc resolver name,
4806 resolver with and with debug info, and ifunc target with and
4807 without debug info. Wrap static tests with with_target_prefix.
4808
4809 2018-04-26 Pedro Alves <palves@redhat.com>
4810
4811 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
4812 return type" warnings.
4813
4814 2018-04-25 Pedro Alves <palves@redhat.com>
4815
4816 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
4817 killed".
4818 * gdb.base/kill-after-signal.exp: Likewise.
4819 * gdb.threads/kill.exp: Likewise.
4820
4821 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4822 Sergio Durigan Junior <sergiodj@redhat.com>
4823 Pedro Alves <palves@redhat.com>
4824
4825 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
4826 regexps to expect for '[Inferior ... detached]' as well.
4827 * gdb.base/attach.exp: Likewise.
4828 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
4829 "gdb_continue_to_end".
4830 (test_catch_syscall_with_wrong_args): Likewise.
4831 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
4832 ']'. Don't set 'verbose' on.
4833 * gdb.base/foll-vfork.exp: Likewise.
4834 * gdb.base/fork-print-inferior-events.c: New file.
4835 * gdb.base/fork-print-inferior-events.exp: New file.
4836 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
4837 '[Inferior ... has been killed]' message.
4838 * gdb.base/kill-after-signal.exp: Likewise.
4839 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
4840 detach message.
4841 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
4842 message.
4843 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
4844 regexps to expect for '[Inferior ... detached]' as well.
4845 * gdb.threads/process-dies-while-detaching.exp: Likewise.
4846
4847 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
4848
4849 PR gdb/23104
4850 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
4851
4852 2018-04-22 Rajendra SY <rajendra.sy@gmail.com>
4853
4854 PR gdb/23095
4855 * gdb.base/break-probes.exp: Pass shlib_load to
4856 prepare_for_testing. Set normal_bp to r_debug_state if target is
4857 bsd.
4858
4859 2018-04-19 Richard Bunt <richard.bunt@arm.com>
4860
4861 * gdb.threads/multiple-successive-infcall.c: New test.
4862 * gdb.threads/multiple-successive-infcall.exp: New file.
4863
4864 2018-04-17 Tom Tromey <tom@tromey.com>
4865
4866 * gdb.rust/simple.rs (Union): New type.
4867 (main): New local "u".
4868 * gdb.rust/simple.exp (test_one_slice): Add new test case.
4869
4870 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4871
4872 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
4873 number information in output of "whereis" command.
4874 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
4875
4876 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4877
4878 * gdb.ada/info_types.exp: Adjust expected output to the line
4879 numbers now printed by "info var/func/type".
4880 * gdb.base/completion.exp: Likewise.
4881 * gdb.base/included.exp: Likewise.
4882 * gdb.cp/cp-relocate.exp: Likewise.
4883 * gdb.cp/cplusfuncs.exp: Likewise.
4884 * gdb.cp/namespace.exp: Likewise.
4885 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
4886
4887 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
4888
4889 * gdb.btrace/cpu.exp: New.
4890
4891 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
4892
4893 * gdb.base/step-indirect-call-thunk.exp: New.
4894 * gdb.base/step-indirect-call-thunk.c: New.
4895 * gdb.reverse/step-indirect-call-thunk.exp: New.
4896 * gdb.reverse/step-indirect-call-thunk.c: New.
4897
4898 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
4899
4900 * gdb.base/pie-fork.c: New file.
4901 * gdb.base/pie-fork.exp: New file.
4902
4903 2018-04-11 Tom Tromey <tom@tromey.com>
4904
4905 * gdb.rust/simple.exp: Add test for ".." struct initializer.
4906
4907 2018-04-10 Pedro Alves <palves@redhat.com>
4908
4909 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
4910 exits. Instead loop running forever.
4911 (fork_parent): Run forever too.
4912
4913 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
4914
4915 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
4916 mi_continue_to_line.
4917 * gdb.mi/mi-stack.c (callee4): Add comment.
4918
4919 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
4920
4921 * gdb.mi/mi-stack.exp: Fix indentation.
4922
4923 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
4924
4925 PR gdb/22979
4926 * gdb.arch/amd64-osabi.exp: New file.
4927
4928 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
4929
4930 PR gdb/22980
4931 * gdb.base/osabi.exp: New file.
4932
4933 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
4934
4935 * gdb.cp/static-typedef-print.exp: New file.
4936 * gdb.cp/static-typedef-print.cc: New file.
4937
4938 2018-03-27 Joel Brobecker <brobecker@adacore.com>
4939
4940 * gdb.ada/varsize_limit: New testcase.
4941
4942 2018-03-27 Joel Brobecker <brobecker@adacore.com>
4943
4944 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
4945
4946 * gdb.ada/notcplusplus: New testcase.
4947
4948 * gdb.base/c-linkage-name.c: New file.
4949 * gdb.base/c-linkage-name.exp: New testcase.
4950
4951 2018-03-26 Tom Tromey <tom@tromey.com>
4952
4953 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
4954 * gdb.python/py-framefilter.py (name_error): New global.
4955 (ErrorInName.function): Use name_error.
4956
4957 2018-03-26 Tom Tromey <tom@tromey.com>
4958
4959 PR backtrace/15582:
4960 * gdb.python/py-framefilter.exp: Add "bt hide" test.
4961
4962 2018-03-23 Keith Seitz <keiths@redhat.com>
4963
4964 PR c++/22968
4965 * gdb.cp/subtypes.exp: New file.
4966 * gdb.cp/subtypes.h: New file.
4967 * gdb.cp/subtypes.cc: New file.
4968 * gdb.cp/subtypes-2.cc: New file.
4969
4970 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
4971
4972 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
4973 (done): Call '_exit' not 'exit' to avoid atexit handlers.
4974 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
4975 -nostartfiles when compiling the test. Confirm that all registers
4976 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
4977
4978 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
4979
4980 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
4981 option, syntax was wrong anyway.
4982 * gdb.arch/arm-disp-step.exp: Likewise.
4983 * gdb.arch/sparc64-regs.exp: Likewise.
4984 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
4985 option, syntax was wrong anyway, switch to use
4986 prepare_for_testing.
4987 * gdb.arch/i386-disp-step.exp: Likewise.
4988
4989 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
4990
4991 * gdb.ada/exec_changed.exp: Replace "target_info exists
4992 use_gdb_stub" by "use_gdb_stub".
4993 * gdb.ada/start.exp: Likewise.
4994 * gdb.base/async-shell.exp: Likewise.
4995 * gdb.base/attach-pie-misread.exp: Likewise.
4996 * gdb.base/attach-wait-input.exp: Likewise.
4997 * gdb.base/break-entry.exp: Likewise.
4998 * gdb.base/break-interp.exp: Likewise.
4999 * gdb.base/dprintf-detach.exp: Likewise.
5000 * gdb.base/nostdlib.exp: Likewise.
5001 * gdb.base/solib-nodir.exp: Likewise.
5002 * gdb.base/statistics.exp: Likewise.
5003 * gdb.base/testenv.exp: Likewise.
5004 * gdb.mi/mi-exec-run.exp: Likewise.
5005 * gdb.mi/mi-start.exp: Likewise.
5006 * gdb.multi/dummy-frame-restore.exp: Likewise.
5007 * gdb.multi/multi-arch-exec.exp: Likewise.
5008 * gdb.multi/multi-arch.exp: Likewise.
5009 * gdb.multi/tids.exp: Likewise.
5010 * gdb.multi/watchpoint-multi.exp: Likewise.
5011 * gdb.python/py-events.exp: Likewise.
5012 * gdb.threads/attach-into-signal.exp: Likewise.
5013 * gdb.threads/attach-stopped.exp: Likewise.
5014 * gdb.threads/threadapply.exp: Likewise.
5015 * lib/selftest-support.exp: Likewise.
5016
5017 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
5018
5019 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
5020
5021 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
5022
5023 * gdb.perf/template-breakpoints.cc: New file.
5024 * gdb.perf/template-breakpoints.exp: New file.
5025 * gdb.perf/template-breakpoints.py: New file.
5026
5027 2018-03-19 Tom Tromey <tom@tromey.com>
5028
5029 * gdb.rust/simple.rs (main): Add local variables field1, field2,
5030 y0.
5031 * gdb.rust/simple.exp: Test bare identifier form of struct
5032 initializer.
5033
5034 2018-03-19 Tom Tromey <tom@tromey.com>
5035
5036 * gdb.gdb/observer.exp: Remove.
5037
5038 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5039
5040 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
5041 "qualified" option when setting breakpoints.
5042 * gdb.trace/backtrace.exp: Likewise.
5043 * gdb.trace/circ.exp: Likewise.
5044 * gdb.trace/collection.exp: Likewise.
5045 * gdb.trace/disconnected-tracing.exp: Likewise.
5046 * gdb.trace/ftrace-lock.exp: Likewise.
5047 * gdb.trace/ftrace.exp: Likewise.
5048 * gdb.trace/infotrace.exp: Likewise.
5049 * gdb.trace/packetlen.exp: Likewise.
5050 * gdb.trace/passc-dyn.exp: Likewise.
5051 * gdb.trace/qtro.exp: Likewise.
5052 * gdb.trace/read-memory.exp: Likewise.
5053 * gdb.trace/report.exp: Likewise.
5054 * gdb.trace/signal.exp: Likewise.
5055 * gdb.trace/status-stop.exp: Likewise.
5056 * gdb.trace/strace.exp: Likewise.
5057 * gdb.trace/tfind.exp: Likewise.
5058 * gdb.trace/trace-break.exp: Likewise.
5059 * gdb.trace/trace-condition.exp: Likewise.
5060 * gdb.trace/trace-mt.exp: Likewise.
5061 * gdb.trace/tstatus.exp: Likewise.
5062 * gdb.trace/tsv.exp: Likewise.
5063 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
5064 * gdb.trace/unavailable.exp: Likewise.
5065 * gdb.trace/while-dyn.exp: Likewise.
5066
5067 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5068
5069 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
5070 that libinproctrace is copied to the target.
5071
5072 2018-03-14 Tom Tromey <tom@tromey.com>
5073
5074 PR cli/14977:
5075 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
5076 a null pointer.
5077 * gdb.base/wchar.exp: Likewise.
5078
5079 2018-03-14 Tom Tromey <tom@tromey.com>
5080
5081 PR cli/19918:
5082 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
5083 flag.
5084
5085 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
5086
5087 PR gdb/22841
5088 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
5089 "target" to remote_exec.
5090
5091 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
5092
5093 PR gdb/22841
5094 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
5095 ${board}_upload): Remove.
5096
5097 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
5098
5099 * gdb.cp/watch-cp.cc: New test.
5100 * gdb.cp/watch-cp.exp: New file.
5101
5102 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5103
5104 * gdb.base/infcall-nested-structs.exp: New file.
5105 * gdb.base/infcall-nested-structs.c: New file.
5106 * gdb.base/float.exp: Add riscv support.
5107
5108 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
5109
5110 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
5111 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
5112
5113 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
5114
5115 * gdb.server/abspath.exp: New file.
5116 * lib/gdb.exp (with_cwd): New procedure.
5117
5118 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
5119
5120 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
5121 use it.
5122 (gdb_is_target_remote_prompt): New proc.
5123 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
5124 (gdb_is_target_native): Pass prompt parameter to
5125 gdb_is_target_1.
5126
5127 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
5128
5129 * gdb.base/load-command.c: New file.
5130 * gdb.base/load-command.exp: New file.
5131 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
5132 (gdb_is_target_1): ...this, and generalize for other targets
5133 than just remote.
5134 (gdb_is_target_remote): Use gdb_is_target_1.
5135 (gdb_is_target_native): use gdb_is_target_1.
5136
5137 2018-02-26 Tom Tromey <tom@tromey.com>
5138
5139 PR python/16497:
5140 * gdb.python/py-framefilter.exp: Update test.
5141
5142 2018-02-26 Tom Tromey <tom@tromey.com>
5143
5144 * gdb.dwarf2/variant.c: New file.
5145 * gdb.dwarf2/variant.exp: New file.
5146
5147 2018-02-26 Tom Tromey <tom@tromey.com>
5148
5149 * gdb.rust/simple.exp: Accept more possible results in enum test.
5150
5151 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
5152
5153 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
5154 parentheses.
5155
5156 2018-02-23 Maciej W. Rozycki <macro@mips.com>
5157
5158 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
5159 name of a variable: $actual_linejj -> $actual_line.
5160
5161 2018-02-21 John Baldwin <jhb@FreeBSD.org>
5162
5163 * gdb.arch/amd64-i386-address.exp: Fix a typo.
5164
5165 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
5166
5167 * gdb.btrace/buffer-size.exp: Do not force BTS.
5168
5169 2018-02-14 Pedro Alves <palves@redhat.com>
5170
5171 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
5172 getting a "Quit".
5173
5174 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
5175
5176 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
5177 Fix test name.
5178
5179 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
5180
5181 * gdb.cp/m-static.exp: Check type of optimized out static
5182 member.
5183
5184 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
5185
5186 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
5187 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
5188
5189 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
5190 Leszek Swirski <leszeks@google.com>
5191
5192 * gdb.python/py-prettyprint.c
5193 (struct to_string_returns_value_inner,
5194 struct to_string_returns_value_wrapper): New.
5195 (main): Add tsrvw variable.
5196 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
5197 ToStringReturnsValueWrapper): New classes.
5198 (register_pretty_printers): Register new pretty-printers.
5199 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
5200 recursive pretty printer.
5201 * gdb.python/py-mi.exp: Likewise.
5202
5203 2018-02-01 Leszek Swirski <leszeks@google.com>
5204
5205 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
5206 functions with the same name as an include file are parsed
5207 correctly.
5208
5209 2018-02-01 Yao Qi <yao.qi@linaro.org>
5210
5211 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
5212 "\[^\r\n\]*".
5213
5214 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
5215
5216 * gdb.arch/powerpc-prologue-frame.s: New file.
5217 * gdb.arch/powerpc-prologue-frame.c: Likewise.
5218 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
5219
5220 2018-01-31 Joel Brobecker <brobecker@adacore.com>
5221
5222 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
5223
5224 2018-01-30 Pedro Alves <palves@redhat.com>
5225
5226 PR gdb/13211
5227 * gdb.base/interrupt-daemon.c: New.
5228 * gdb.base/interrupt-daemon.exp: New.
5229 * gdb.multi/multi-term-settings.c: New.
5230 * gdb.multi/multi-term-settings.exp: New.
5231
5232 2018-01-30 Joel Brobecker <brobecker@adacore.com>
5233
5234 * gdb.base/break.exp: Save the location where the breakpoint
5235 on break.c:47 was actually inserted when debugging the version
5236 compiled at -O2 and use it in the expected output of the "info
5237 break" test performed soon after.
5238
5239 2018-01-22 Pedro Alves <palves@redhat.com>
5240 Sergio Durigan Junior <sergiodj@redhat.com>
5241
5242 * gdb.base/whatis.exp: Add tests for 'set print object on' +
5243 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
5244
5245 2018-01-22 Joel Brobecker <brobecker@adacore.com>
5246
5247 * gdb.base/break-include.c, gdb.base/break-include.inc,
5248 gdb.base/break-include.exp: New files.
5249 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
5250 line number now being the actual line number where the breakpoint
5251 was inserted.
5252 * gdb.mi/mi-break.exp: Likewise.
5253 * gdb.mi/mi-reverse.exp: Likewise.
5254 * gdb.mi/mi-simplerun.exp: Ditto.
5255
5256 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
5257
5258 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
5259 varobj.
5260 * gdb.mi/mi-var-create-rtti.exp: Likewise.
5261
5262 2018-01-21 Don Breazeal <donb@codesourcery.com>
5263 Andrew Burgess <andrew.burgess@embecosm.com>
5264
5265 * gdb.mi/basics.c: Add new global.
5266 * gdb.mi/mi-frame-regs.exp: New file.
5267 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
5268 case.
5269
5270 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
5271
5272 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
5273 non-parameter, and on an unknown symbol.
5274
5275 2018-01-19 Tom Tromey <tom@tromey.com>
5276
5277 * gdb.rust/modules.rs (TWENTY_THREE): New global.
5278 * gdb.rust/modules.exp: Add ::-qualified lookup test.
5279
5280 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5281
5282 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
5283 setrlimit and chdir to int.
5284
5285 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5286
5287 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
5288 function.
5289 (my_tend): Likewise.
5290 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
5291 rationale of avoiding FP- and vector instructions.
5292
5293 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
5294
5295 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
5296 "info reg" with "\[ \t\]*".
5297 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
5298 "\[ \t\]+".
5299 * gdb.arch/s390-multiarch.exp: Ditto.
5300 * gdb.base/pc-fp.exp: Ditto.
5301 * gdb.reverse/i386-precsave.exp: Ditto.
5302 * gdb.reverse/i386-reverse.exp: Ditto.
5303 * gdb.reverse/i387-env-reverse.exp: Ditto.
5304 * gdb.reverse/i387-stack-reverse.exp: Ditto.
5305
5306 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
5307
5308 * lib/gdb.exp (gdb_compile): Re-enable use of
5309 universal_compile_options for languages other than Rust.
5310
5311 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
5312
5313 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
5314
5315 2018-01-17 Mike Gulick <mgulick@mathworks.com>
5316
5317 PR gdb/16577
5318 * gdb.base/solib-vanish.exp: New.
5319 * gdb.base/solib-vanish-main.c: New.
5320 * gdb.base/solib-vanish-lib1.c: New.
5321 * gdb.base/solib-vanish-lib2.c: New.
5322
5323 2018-01-17 Yao Qi <yao.qi@linaro.org>
5324
5325 * gdb.compile/compile.exp: Match the address printed for
5326 frame in the output of command "bt".
5327
5328 2018-01-15 Tom Tromey <tom@tromey.com>
5329
5330 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
5331 compute sp_reg.
5332
5333 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
5334
5335 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
5336 to prepare.
5337 (prepare): Return 0 on error, 1 on success.
5338
5339 2018-01-12 Pedro Alves <palves@redhat.com>
5340
5341 * gdb.base/continue-after-aborted-step-over.c: New.
5342 * gdb.base/continue-after-aborted-step-over.exp: New.
5343
5344 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
5345
5346 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
5347 options when not creating an executable.
5348
5349 2018-01-11 Pedro Alves <palves@redhat.com>
5350
5351 PR remote/22597
5352 * gdb.server/stop-reply-no-thread.c: New file.
5353 * gdb.server/stop-reply-no-thread.exp: New file.
5354
5355 2018-01-10 Pedro Alves <palves@redhat.com>
5356
5357 PR gdb/22670
5358 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
5359 functions too. Test setting breakpoints and printing C functions
5360 with no debug info too.
5361 * gdb.ada/bp_c_mixed_case/qux.c: New file.
5362
5363 2018-01-10 Pedro Alves <palves@redhat.com>
5364
5365 PR gdb/22670
5366 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
5367 a fail.
5368
5369 2018-01-10 Pedro Alves <palves@redhat.com>
5370
5371 PR gdb/22670
5372 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
5373
5374 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
5375
5376 * gdb.server/unittest.exp: Match the output in non-development
5377 mode.
5378
5379 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
5380
5381 * gdb.gdb/unittest.exp: Match output in non-development mode.
5382
5383 2018-01-08 Joel Brobecker <brobecker@adacore.com>
5384
5385 * gdb.ada/access_tagged_param.exp: Relax expected output
5386 for value of "ObjL" in "continue" to pck.inspect breakpoint
5387 test.
5388
5389 2018-01-08 Joel Brobecker <brobecker@adacore.com>
5390
5391 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
5392 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
5393
5394 2018-01-05 Pedro Alves <palves@redhat.com>
5395
5396 PR gdb/18653
5397 * gdb.base/libsegfault.exp: New.
5398
5399 2018-01-05 Joel Brobecker <brobecker@adacore.com>
5400
5401 PR gdb/22670
5402 * gdb.ada/access_tagged_param.exp: New file.
5403 * gdb.ada/access_tagged_param/foo.adb: New file.
5404
5405 2018-01-05 Pedro Alves <palves@redhat.com>
5406
5407 PR gdb/22670
5408 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
5409 exercise lower case too, and to exercise both full matching and
5410 wild matching.
5411
5412 2018-01-05 Joel Brobecker <brobecker@adacore.com>
5413
5414 * gdb.ada/rename_subscript_param: New testcase.
5415
5416 2018-01-05 Jerome Guitton <guitton@adacore.com>
5417
5418 * gdb.ada/arr_acc_idx_w_gap: New testcase.
5419
5420 2018-01-05 Joel Brobecker <brobecker@adacore.com>
5421
5422 * gdb.ada/convvar_comp: New testcase.
5423
5424 2018-01-05 Xavier Roirand <roirand@adacore.com>
5425
5426 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
5427 (My_Table): New global variable.
5428 * testsuite/gdb.ada/array_char_idx.exp: Add test.
5429
5430 2018-01-04 Joel Brobecker <brobecker@adacore.com>
5431
5432 PR gdb/22670
5433 * gdb.ada/maint_with_ada: New testcase.
5434
5435 2018-01-04 Joel Brobecker <brobecker@adacore.com>
5436
5437 PR gdb/22670
5438 * gdb.ada/bp_c_mixed_case: New testcase.
5439
5440 2018-01-04 Joel Brobecker <brobecker@adacore.com>
5441
5442 PR gdb/22670
5443 * gdb.ada/complete.exp: Add "complete break ada" test.
5444
5445 2018-01-04 Joel Brobecker <brobecker@adacore.com>
5446
5447 PR gdb/22670
5448 * gdb.ada/info_addr_mixed_case: New testcase.
5449
5450 2018-01-03 Xavier Roirand <roirand@adacore.com>
5451
5452 * gdb.ada/excep_handle.exp: New testcase.
5453 * gdb.ada/excep_handle/foo.adb: New file.
5454 * gdb.ada/excep_handle/pck.ads: New file.
5455
5456 2018-01-03 Joel Brobecker <brobecker@adacore.com>
5457
5458 * gdb.base/step-line.c: Add extra empty line in copyright header.
5459 * gdb.base/step-line.inp: Likewise.
5460
5461 2018-01-02 Joel Brobecker <brobecker@adacore.com>
5462
5463 * gdb.ada/dyn_stride.exp: Add slice test.
5464
5465 2018-01-02 Joel Brobecker <brobecker@adacore.com>
5466
5467 * gdb.ada/dyn_stride: New testcase.
5468
5469 2017-12-27 Stafford Horne <shorne@gmail.com>
5470
5471 * gdb.xml/extra-regs.xml: Add example foo reggroup.
5472 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
5473
5474 2017-12-27 Stafford Horne <shorne@gmail.com>
5475
5476 * gdb.base/reggroups.c: New file.
5477 * gdb.base/reggroups.exp: New file.
5478
5479 2017-12-18 Joel Brobecker <brobecker@adacore.com>
5480
5481 * gdb.dwarf2/ada-valprint-error.c: New file.
5482 * gdb.dwarf2/ada-valprint-error.exp: New file.
5483
5484 2017-12-18 Joel Brobecker <brobecker@adacore.com>
5485
5486 * gdb.ada/assign_arr: New testcase.
5487
5488 2017-12-18 Xavier Roirand <roirand@adacore.com>
5489
5490 * gdb.ada/funcall_ptr: New testcase.
5491
5492 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
5493
5494 PR cli/16224
5495 * gdb.base/ptype-offsets.cc: New file.
5496 * gdb.base/ptype-offsets.exp: New file.
5497
5498 2017-12-15 Yao Qi <yao.qi@linaro.org>
5499
5500 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
5501 if XML is disabled.
5502
5503 2017-12-15 Xavier Roirand <roirand@adacore.com>
5504
5505 * gdb.ada/same_component_name: New testcase.
5506
5507 2017-12-14 Joel Brobecker <brobecker@adacore.com>
5508
5509 * gdb.ada/str_binop_equal: New testcase.
5510
5511 2017-12-14 Joel Brobecker <brobecker@adacore.com>
5512
5513 * gdb.ada/task_switch_in_core: New testcase.
5514
5515 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
5516
5517 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
5518 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
5519 call test_bkpt_qualified.
5520 (test_bkpt_qualified): New proc.
5521
5522 2017-12-13 Pedro Alves <palves@redhat.com>
5523
5524 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
5525 Tighten regexp by matching with an anchor.
5526
5527 2017-12-13 Pedro Alves <palves@redhat.com>
5528
5529 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
5530 ("expression with namespace"): New set of tests.
5531 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
5532 (Nested::Test_NS::qux): New.
5533 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
5534 defaults to 'start_quote_char' and 'end_quote_char' parameters.
5535
5536 2017-12-13 Joel Brobecker <brobecker@adacore.com>
5537
5538 * gdb.base/server-del-break.c: New file.
5539 * gdb.base/server-del-break.exp: New file.
5540
5541 2017-12-12 Stafford Horne <shorne@gmail.com>
5542
5543 * gdb.xml/tdesc-regs.exp: Add or1k support.
5544
5545 2017-12-12 Stafford Horne <shorne@gmail.com>
5546
5547 * gdb.base/bp-permanent.c: Define nop of or1k.
5548
5549 2017-12-11 Joel Brobecker <brobecker@adacore.com>
5550
5551 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
5552 output with components being reordered.
5553
5554 2017-12-11 Joel Brobecker <brobecker@adacore.com>
5555
5556 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
5557 output with components being reordered.
5558
5559 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5560 Pedro Alves <palves@redhat.com>
5561
5562 * gdb.base/maint.exp (check for .gdb_index): Check also for
5563 .debug_names.
5564 * gdb.dlang/watch-loc.c (.debug_aranges): New.
5565 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
5566 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
5567 (.gdb_index used after symbol reloading): Support also .debug_names.
5568 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
5569
5570 2017-12-08 Yao Qi <yao.qi@linaro.org>
5571
5572 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
5573 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
5574
5575 2017-12-08 Yao Qi <yao.qi@linaro.org>
5576
5577 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
5578 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
5579
5580 2017-12-08 Yao Qi <yao.qi@linaro.org>
5581
5582 * gdb.arch/aarch64-tagged-pointer.c: New file.
5583 * gdb.arch/aarch64-tagged-pointer.exp: New file.
5584
5585 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
5586
5587 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
5588 "int".
5589
5590 2017-12-07 Keith Seitz <keiths@redhat.com>
5591
5592 PR breakpoints/22569
5593 * gdb.linespec/ls-errs.exp: Change expected result of "break
5594 -source this file has spaces.c -line 3".
5595 Check that an explicit source file followed by whitespace is
5596 identified as an invalid explicit location.
5597
5598 2017-12-07 Keith Seitz <keiths@redhat.com>
5599
5600 * gdb.cp/nested-types.cc: New file.
5601 * gdb.cp/nested-types.exp: New file.
5602 * lib/cp-support.exp: Load data-structures.exp library.
5603 (debug_cp_test_ptype_class): New global.
5604 (cp_ptype_class_verbose, next_line): New procedures.
5605 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
5606 Add and document new return value.
5607 Switch the list of lines to a queue.
5608 Add support for new `type' key for nested type definitions.
5609 Add debugging/troubleshooting messages.
5610 * lib/data-structures.exp: New file.
5611
5612 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
5613
5614 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
5615 with proc_with_prefix, don't use with_test_prefix.
5616
5617 2017-12-07 Tom Tromey <tom@tromey.com>
5618
5619 * gdb.base/break.exp: Add test for empty "commands".
5620
5621 2017-12-07 Yao Qi <yao.qi@linaro.org>
5622
5623 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
5624 malloc and catch syscall.
5625
5626 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
5627
5628 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
5629 tests for explicit locations.
5630
5631 2017-12-06 Pedro Alves <palves@redhat.com>
5632
5633 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
5634 force-disabling XML descriptions.
5635
5636 2017-12-04 Pedro Alves <palves@redhat.com>
5637
5638 PR gdb/22499
5639 * gdb.arch/amd64-disp-step-avx.S: New file.
5640 * gdb.arch/amd64-disp-step-avx.exp: New file.
5641
5642 2017-12-03 Pedro Alves <palves@redhat.com>
5643
5644 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
5645 and <string.h>.
5646 (parent_function): Print distinct messages when waitpid fails, or
5647 the child exits with a signal, or the child exits for an unhandled
5648 reason.
5649 * gdb.threads/process-dies-while-detaching.exp
5650 (detach_and_expect_exit): New 'inf_output_re' parameter and use
5651 it. Wait for both inferior output and GDB's prompt. Use an
5652 indirect spawn id list.
5653 (do_detach): New parameter 'child_exit'. Use it to compute
5654 expected inferior output.
5655 (test_detach, test_detach_watch, test_detach_killed_outside):
5656 Adjust to pass down the expected child exit kind.
5657
5658 2017-12-01 Joel Brobecker <brobecker@adacore.com>
5659 Sergio Durigan Junior <sergiodj@redhat.com>
5660 Pedro Alves <palves@redhat.com>
5661
5662 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
5663
5664 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
5665
5666 * gdb.base/relocate.exp: Add tests to guarantee that arguments
5667 to 'symbol-file' and 'add-symbol-file' can be
5668 position-independent.
5669
5670 2017-12-01 Yao Qi <yao.qi@linaro.org>
5671
5672 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
5673 the URL in copyright header.
5674 * gdb.arch/aarch64-fp.exp: Likewise.
5675 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
5676 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
5677 * gdb.base/expand-psymtabs.exp: Likewise.
5678 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
5679 * gdb.fortran/common-block.exp: Likewise.
5680 * gdb.fortran/common-block.f90: Likewise.
5681 * gdb.fortran/logical.exp: Likewise.
5682 * gdb.fortran/vla-datatypes.f90: Likewise.
5683 * gdb.fortran/vla-sub.f90: Likewise.
5684
5685 2017-11-30 Joel Brobecker <brobecker@adacore.com>
5686
5687 * gdb.ada/repeat_dyn: New testcase.
5688
5689 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
5690
5691 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
5692 Update for changed thread numbering.
5693 * gdb.cell/bt.exp: Update for changed GDB output.
5694
5695 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
5696
5697 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
5698 setting isremote by hand.
5699 * boards/dwarf4-gdb-index.exp: Likewise.
5700 * boards/fission.exp: Likewise.
5701 * boards/stabs.exp: Likewise.
5702
5703 2017-11-30 Pedro Alves <palves@redhat.com>
5704
5705 * gdb.linespec/cpls-ops.exp
5706 (check_explicit_skips_function_argument): Extract the underlying
5707 type of size_t instead of hardcoding it.
5708
5709 2017-11-29 Pedro Alves <palves@redhat.com>
5710
5711 PR c++/19436
5712 * gdb.linespec/cpls-abi-tag.cc: New file.
5713 * gdb.linespec/cpls-abi-tag.exp: New file.
5714
5715 2017-11-29 Pedro Alves <palves@redhat.com>
5716
5717 * gdb.base/langs.exp: Use -qualified.
5718 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
5719 it.
5720 * gdb.cp/namespace.exp: Use -qualified.
5721 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
5722 (overload-3, template-overload, template-ret-type, const-overload)
5723 (const-overload-quoted, anon-ns, ambiguous-prefix): New
5724 procedures.
5725 (test_driver): Call them.
5726 * gdb.cp/save-bp-qualified.cc: New.
5727 * gdb.cp/save-bp-qualified.exp: New.
5728 * gdb.linespec/explicit.exp: Test -qualified.
5729 * lib/completion-support.exp (completion::explicit_opts_list): Add
5730 "-qualified".
5731 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
5732
5733 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
5734
5735 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
5736
5737 2017-11-29 Tom Tromey <tom@tromey.com>
5738
5739 * gdb.base/relocate.exp: Update invalid argument test.
5740 Add new tests for invalid arguments.
5741
5742 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
5743
5744 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
5745 Return 0 as a long.
5746 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
5747
5748 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
5749
5750 * gdb.cp/breakpoint.cc (bar): Set return type to void.
5751 * gdb.cp/psymtab-parameter.cc (func): Likewise.
5752 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
5753 func ().
5754 * gdb.cp/shadow.cc (B.func): Return 0.
5755
5756 2017-11-27 Joel Brobecker <brobecker@adacore.com>
5757
5758 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
5759 expected output in gdb_expect call to allow the exception
5760 message to be present as well. Fix syntax confusion to avoid
5761 TCL thinking that exception_name is an array.
5762
5763 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
5764
5765 * gdb.arch/spu-info.c: Include <unistd.h>.
5766 (do_signal_test): Fix broken calls to write.
5767 * gdb.arch/spu-info.exp: Use prepare_for_testing.
5768 Fix checks for empty mailboxes. Update signal tests for corrected
5769 do_signal_test routine. Allow nonzero event status.
5770 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
5771 * gdb.cell/arch.exp: Use standard_output_file.
5772 * gdb.cell/break.exp: Likewise.
5773 * gdb.cell/bt.exp: Likewise.
5774 * gdb.cell/core.exp: Likewise.
5775 * gdb.cell/dwarfaddr.exp: Likewise.
5776 * gdb.cell/ea-cache.exp: Likewise.
5777 * gdb.cell/ea-standalone.exp: Likewise.
5778 * gdb.cell/f-regs.exp: Likewise.
5779 * gdb.cell/fork.exp: Likewise.
5780 * gdb.cell/gcore.exp: Likewise.
5781 * gdb.cell/mem-access.exp: Likewise.
5782 * gdb.cell/ptype.exp: Likewise.
5783 * gdb.cell/registers.exp: Likewise.
5784 * gdb.cell/sizeof.exp: Likewise.
5785 * gdb.cell/solib-symbol.exp: Likewise.
5786 * gdb.cell/solib.exp: Likewise.
5787
5788 2017-11-25 Pedro Alves <palves@redhat.com>
5789
5790 * gdb.base/complete-empty.exp: New file.
5791 * gdb.base/completion.exp: Adjust.
5792
5793 2017-11-25 Pedro Alves <palves@redhat.com>
5794
5795 * gdb.linespec/cpls-ops.cc: New file.
5796 * gdb.linespec/cpls-ops.exp: New file.
5797 * lib/completion-support.exp (test_complete_prefix_range_re): New,
5798 factored out from ...
5799 (test_complete_prefix_range): ... this.
5800
5801 2017-11-24 Pedro Alves <palves@redhat.com>
5802
5803 * gdb.linespec/cpcompletion.exp: New file.
5804 * gdb.linespec/cpls-hyphen.cc: New file.
5805 * gdb.linespec/cpls.cc: New file.
5806 * gdb.linespec/cpls2.cc: New file.
5807 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
5808 test to use test_gdb_complete_unique. Add label completion,
5809 keyword completion and explicit location completion tests.
5810 * lib/completion-support.exp: New file.
5811
5812 2017-11-24 Joel Brobecker <brobecker@adacore.com>
5813
5814 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
5815 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
5816 when hitting an exception catchpoint.
5817
5818 2017-11-22 Yao Qi <yao.qi@linaro.org>
5819
5820 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
5821
5822 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
5823
5824 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
5825 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
5826 * gdb.dwarf2/info-locals-optimized-out.c: New file.
5827
5828 2017-11-22 Yao Qi <yao.qi@linaro.org>
5829
5830 * gdb.base/info-os.exp: Pass pthreads.
5831 * gdb.multi/multi-attach.exp: Likewise.
5832
5833 2017-11-22 Yao Qi <yao.qi@linaro.org>
5834
5835 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
5836 compiler.
5837
5838 2017-11-22 Yao Qi <yao.qi@linaro.org>
5839
5840 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
5841 * gdb.base/break-interp.exp: Likewise.
5842 * gdb.base/jit-attach-pie.exp: Likewise.
5843
5844 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
5845
5846 * gdb.base/float128.c (large128): New variable.
5847 * gdb.base/float128.exp: Add test to print largest __float128 value.
5848
5849 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
5850
5851 * gdb.arch/vsx-regs.exp: Update register content checks.
5852
5853 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
5854
5855 * gdb.arch/ppc-longdouble.exp: New file.
5856 * gdb.arch/ppc-longdouble.c: Likewise.
5857
5858 2017-11-21 Pedro Alves <palves@redhat.com>
5859
5860 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
5861
5862 2017-11-20 Pedro Alves <palves@redhat.com>
5863
5864 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
5865 (long_double_typedef): New typedefs.
5866 Use DEF on double and long double.
5867 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
5868 cases.
5869 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
5870 and 'long_double_ptr_same_size' locals. Use them to decide
5871 whether cast from array/function to float is valid/invalid.
5872
5873 2017-11-17 Tom Tromey <tom@tromey.com>
5874
5875 * gdb.rust/traits.rs: New file.
5876 * gdb.rust/traits.exp: New file.
5877
5878 2017-11-17 Joel Brobecker <brobecker@adacore.com>
5879
5880 * gdb.ada/minsyms: New testcase.
5881
5882 2017-11-16 Pedro Alves <palves@redhat.com>
5883
5884 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
5885 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
5886
5887 2017-11-16 Pedro Alves <palves@redhat.com>
5888
5889 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
5890 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
5891
5892 2017-11-16 Pedro Alves <palves@redhat.com>
5893
5894 * gdb.server/reconnect-ctrl-c.c: New file.
5895 * gdb.server/reconnect-ctrl-c.exp: New file.
5896
5897 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
5898
5899 * gdb.python/py-rbreak.exp: New file.
5900 * gdb.python/py-rbreak.c: New file.
5901 * gdb.python/py-rbreak-func2.c: New file.
5902
5903 2017-11-16 Pedro Alves <palves@redhat.com>
5904
5905 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
5906 pattern.
5907 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
5908 GDB.
5909
5910 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
5911
5912 * gdb.tui/completionn.exp (test_tab_completion): Add space in
5913 regex.
5914
5915 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
5916
5917 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
5918 test names.
5919
5920 2017-11-09 Pedro Alves <palves@redhat.com>
5921
5922 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
5923 factored out from ...
5924 (top level): ... here, and adjusted to avoid expecting beyond the
5925 prompt in a single gdb_test_multiple.
5926
5927 2017-11-09 Pedro Alves <palves@redhat.com>
5928
5929 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
5930 output.
5931 * gdb.server/ext-attach.exp ("kill" test): Likewise.
5932 * gdb.server/ext-restart.exp ("kill" test): Likewise.
5933 * gdb.server/ext-run.exp ("kill" test): Likewise.
5934 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
5935
5936 2017-11-09 Pedro Alves <palves@redhat.com>
5937
5938 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
5939 match till end of line.
5940
5941 2017-11-09 Pedro Alves <palves@redhat.com>
5942
5943 * gdb.base/memattr.exp: Tighten regexes to match the end line.
5944
5945 2017-11-09 Pedro Alves <palves@redhat.com>
5946
5947 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
5948 New procedures, factored out from ...
5949 (top level): ... here, and adjusted to avoid expecting beyond the
5950 prompt in one go.
5951
5952 2017-11-09 Pedro Alves <palves@redhat.com>
5953
5954 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
5955 output. Fix '?' match.
5956
5957 2017-11-08 Joel Brobecker <brobecker@adacore.com>
5958
5959 * gdb.ada/scoped_watch: New testcase.
5960 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
5961 which is actually correct.
5962 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
5963 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
5964
5965 2017-11-08 Pedro Alves <palves@redhat.com>
5966
5967 * gdb.gdb/complaints.exp (test_initial_complaints)
5968 (test_serial_complaints, test_short_complaints): Call
5969 complaint_internal instead of complaint.
5970
5971 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
5972
5973 * gdb.threads/tls-core.c: New file.
5974 * gdb.threads/tls-core.exp: Likewise.
5975
5976 2017-11-08 Pedro Alves <palves@redhat.com>
5977
5978 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
5979 (p Exported_Capitalized): New test.
5980 (p exported_capitalized): New test.
5981
5982 2017-11-07 Pedro Alves <palves@redhat.com>
5983
5984 * gdb.cp/ena-dis-br-range.exp: Add more tests.
5985
5986 2017-11-07 Pedro Alves <palves@redhat.com>
5987
5988 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
5989 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
5990 (disable_invalid, disable_inverted, disable_negative): New
5991 procedures.
5992 ("bad numbers"): New set of tests.
5993
5994 2017-11-07 Pedro Alves <palves@redhat.com>
5995
5996 * gdb.cp/ena-dis-br-range.exp: Add tests.
5997
5998 2017-11-07 Pedro Alves <palves@redhat.com>
5999
6000 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
6001
6002 2017-11-07 Xavier Roirand <roirand@adacore.com>
6003 Pedro Alves <palves@redhat.com>
6004
6005 * gdb.base/ena-dis-br.exp: Add reference to
6006 gdb.cp/ena-dis-br-range.exp.
6007 * gdb.cp/ena-dis-br-range.exp: New file.
6008 * gdb.cp/ena-dis-br-range.cc: New file.
6009
6010 2017-11-06 Pedro Alves <palves@redhat.com>
6011
6012 * gdb.base/attach-non-pgrp-leader.c: New.
6013 * gdb.base/attach-non-pgrp-leader.exp: New.
6014
6015 2017-11-06 Pedro Alves <palves@redhat.com>
6016
6017 * configure.ac: No longer check for termio.h and sgtty.h.
6018 * configure: Regenerate.
6019 * remote-utils.c: Include termios.h instead of gdb_termios.h.
6020 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
6021 Remove termio and sgtty code.
6022
6023 2017-11-03 Yao Qi <yao.qi@linaro.org>
6024
6025 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
6026 in GDB is disabled.
6027
6028 2017-11-03 Yao Qi <yao.qi@linaro.org>
6029
6030 * gdb.python/py-thrhandle.exp: Skip it if python is not
6031 enabled.
6032
6033 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
6034
6035 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
6036 as a breakpoint command.
6037
6038 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
6039
6040 PR python/21213
6041 * gdb.python/py-infthread.exp: Test calling
6042 InferiorThread.inferior () multiple times in a row.
6043
6044 2017-10-27 Keith Seitz <keiths@redhat.com>
6045
6046 * gdb.opt/inline-break.exp (break_info_1): New procedure.
6047 Test "info break" for every inlined function breakpoint.
6048
6049 2017-10-27 Yao Qi <yao.qi@linaro.org>
6050
6051 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
6052
6053 2017-10-26 Patrick Frants <osscontribute@gmail.com>
6054
6055 * gdb.cp/classes.exp (test_static_members): Test printing
6056 Outer::instance.
6057 * gdb.cp/classes.c (struct Inner, struct Outer): New.
6058 (Inner::instance, Outer::instance): New.
6059
6060 2017-10-24 Pedro Alves <palves@redhat.com>
6061
6062 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
6063 extra console" test in two stages.
6064
6065 2017-10-24 Pedro Alves <palves@redhat.com>
6066
6067 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
6068
6069 2017-10-24 Pedro Alves <palves@redhat.com>
6070
6071 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
6072 loop.
6073
6074 2017-10-24 Pedro Alves <palves@redhat.com>
6075
6076 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
6077 $attempt" and "stoppedtry $stoppedtry" test prefixes.
6078
6079 2017-10-24 Pedro Alves <palves@redhat.com>
6080
6081 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
6082 parameter and handle it. Don't output read value in test name.
6083
6084 2017-10-24 Pedro Alves <palves@redhat.com>
6085
6086 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
6087 custom test name.
6088
6089 2017-10-24 Pedro Alves <palves@redhat.com>
6090
6091 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
6092 include the unstable output directory name in the test's name.
6093 (initial_setup_simple) <'set args'>: Use custom test name.
6094
6095 2017-10-24 Pedro Alves <palves@redhat.com>
6096
6097 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
6098 with explicit test name.
6099
6100 2017-10-20 Pedro Alves <palves@redhat.com>
6101
6102 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
6103 'wait -i'. Use gdb_assert and remote_close.
6104
6105 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
6106
6107 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
6108 number from variable rather than hard-coded.
6109
6110 2017-10-19 Pedro Alves <palves@redhat.com>
6111
6112 * gdb.base/long-inferior-output.c: New file.
6113 * gdb.base/long-inferior-output.exp: New file.
6114
6115 2017-11-18 Keith Seitz <keiths@redhat.com>
6116
6117 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
6118 method.
6119 (main): Call it.
6120 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
6121 Add additional user-defined conversion operator tests.
6122
6123 2017-10-17 Pedro Alves <palves@redhat.com>
6124
6125 * boards/native-stdio-gdbserver.exp: Load "local-board".
6126
6127 2017-10-17 Pedro Alves <palves@redhat.com>
6128
6129 * gdb.base/quit-live.c: New file.
6130 * gdb.base/quit-live.exp: New file.
6131
6132 2017-10-16 Keith Seitz <keiths@redhat.com>
6133
6134 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
6135 (class_with_protected_typedef, class_with_private_typedef)
6136 (struct_with_public_typedef, struct_with_protected_typedef)
6137 (struct_with_private_typedef): New classes/structs.
6138 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
6139 typedefs and access specifiers.
6140
6141 2017-10-16 Pedro Alves <palves@redhat.com>
6142 Simon Marchi <simon.marchi@polymtl.ca>
6143
6144 * README (Local vs Remote vs Native): New section.
6145 * boards/local-board.exp: New file, with bits factored out from
6146 ...
6147 * boards/native-extended-gdbserver.exp: ... here. Load
6148 "local-board".
6149 * boards/native-gdbserver.exp: Load "local-board".
6150 (${board}_spawn, ${board}_exec): Delete.
6151 * boards/native-stdio-gdbserver.exp: Most contents factored out to
6152 ...
6153 * boards/stdio-gdbserver-base.exp: ... this new file.
6154 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
6155 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
6156 procedure.
6157 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
6158 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
6159 stdio_gdbserver_command.
6160 (${board}_get_remote_address, ${board}_get_comm_port)
6161 (${board}_download, ${board}_upload): Delete.
6162 (get_target_remote_pipe_cmd): New.
6163
6164 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
6165
6166 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
6167 test_bkpt_deletion, test_bkpt_cond_and_cmds,
6168 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
6169 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
6170 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
6171 remove with_test_prefix.
6172
6173 2017-10-13 Pedro Alves <palves@redhat.com>
6174
6175 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
6176 * gdb.base/annota1.exp: Use it instead of is_remote.
6177 * gdb.base/annota3.exp: Use it instead of is_remote.
6178 * gdb.cp/annota2.exp: Use it instead of is_remote.
6179 * gdb.cp/annota3.exp: Use it instead of is_remote.
6180 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
6181
6182 2017-10-13 Pedro Alves <palves@redhat.com>
6183
6184 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
6185 (test_num_test_vars, run_and_count_vars, find_env)
6186 (test_set_unset_env, test_inherit_env_var): New procedures.
6187 (top level): Use them.
6188
6189 2017-10-13 Pedro Alves <palves@redhat.com>
6190
6191 * lib/selftest-support.exp (selftest_setup): Extend comments, and
6192 also skip on stub-like targets.
6193
6194 2017-10-13 Pedro Alves <palves@redhat.com>
6195
6196 PR gdb/22293
6197 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
6198 (top level): Move some tests to ...
6199 (test_not_found): ... this new procedure.
6200 (top level): Call it.
6201
6202 2017-10-13 Pedro Alves <palves@redhat.com>
6203
6204 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
6205 expect different "info terminal" output if testing with a
6206 non-native target.
6207
6208 2017-10-13 Pedro Alves <palves@redhat.com>
6209 Simon Marchi <simon.marchi@polymtl.ca>
6210
6211 PR python/12966
6212 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
6213
6214 2017-10-13 Pedro Alves <palves@redhat.com>
6215
6216 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
6217 already.
6218
6219 2017-10-13 Pedro Alves <palves@redhat.com>
6220
6221 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
6222 is_remote.
6223
6224 2017-10-13 Pedro Alves <palves@redhat.com>
6225
6226 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
6227 is_remote.
6228
6229 2017-10-13 Pedro Alves <palves@redhat.com>
6230
6231 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
6232 is set.
6233 (corefile_test_attach): Likewise. Check can_spawn_for_attach
6234 instead of is_remote.
6235
6236 2017-10-13 Pedro Alves <palves@redhat.com>
6237
6238 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
6239 (top level): Add comment.
6240
6241 2017-10-13 Pedro Alves <palves@redhat.com>
6242
6243 * gdb.base/remote.exp (top level): Fix comment typo and add
6244 missing return.
6245
6246 2017-10-13 Pedro Alves <palves@redhat.com>
6247 Simon Marchi <simon.marchi@polymtl.ca>
6248
6249 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
6250 calls and add comments. Skip test if use_gdb_stub is set.
6251 (top level): Use "set cwd" command instead of "cd" command.
6252
6253 2017-10-13 Pedro Alves <palves@redhat.com>
6254
6255 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
6256 is_remote target check.
6257
6258 2017-10-13 Pedro Alves <palves@redhat.com>
6259
6260 * gdb.base/scope.exp: Use build_executable + clean_restart +
6261 gdb_file_cmd instead of prepare_for_testing and no longer skip
6262 "before run" tests on is_remote target boards. Update comments.
6263 * boards/native-extended-gdbserver.exp
6264 (extended_gdbserver_load_last_file): New, factored out from ...
6265 (gdb_load): ... this. Move further below and add comment.
6266 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
6267
6268 2017-10-12 Pedro Alves <palves@redhat.com>
6269
6270 * gdb.base/attach.exp: Remove references to gdb64.
6271 * gdb.base/dbx.exp: Remove references to gdb64.
6272
6273 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
6274 Pedro Alves <palves@redhat.com>
6275
6276 * gdb.base/label.exp: Remove is_remote target check.
6277
6278 2017-10-12 Pedro Alves <palves@redhat.com>
6279
6280 * gdb.base/auvx.exp (coredir): Update comment.
6281 (top level) <core_works>: Use "set cwd" command instead of "cd"
6282 command.
6283
6284 2017-10-12 Pedro Alves <palves@redhat.com>
6285 Simon Marchi <simon.marchi@polymtl.ca>
6286
6287 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
6288 target boards.
6289
6290 2017-10-12 Pedro Alves <palves@redhat.com>
6291 Simon Marchi <simon.marchi@polymtl.ca>
6292
6293 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
6294 Instead skip if there's any gdb_protocol set.
6295
6296 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
6297 Pedro Alves <palves@redhat.com>
6298
6299 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
6300
6301 2017-10-12 Pedro Alves <palves@redhat.com>
6302 Simon Marchi <simon.marchi@polymtl.ca>
6303
6304 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
6305 instead of on dejagnu remote boards.
6306
6307 2017-10-12 Pedro Alves <palves@redhat.com>
6308 Simon Marchi <simon.marchi@polymtl.ca>
6309
6310 * gdb.base/inferior-died.exp: Remove is_remote and isnative
6311 checks. Use build_executable + clean_restart instead of
6312 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
6313 of enabling non-stop after starting gdb.
6314
6315 2017-10-12 Pedro Alves <palves@redhat.com>
6316
6317 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
6318 * gdb.threads/non-ldr-exc-2.exp: Ditto.
6319 * gdb.threads/non-ldr-exc-3.exp: Ditto.
6320 * gdb.threads/non-ldr-exc-4.exp: Ditto.
6321
6322 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
6323
6324 * gdb.arch/arc-tdesc-cpu.exp: New file.
6325 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
6326
6327 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
6328
6329 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
6330
6331 2017-10-10 Pedro Alves <palves@redhat.com>
6332
6333 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
6334 expect CLI output.
6335
6336 2017-10-10 Pedro Alves <palves@redhat.com>
6337
6338 * lib/selftest-support.exp (selftest_setup): Update for
6339 captured_command_loop's prototype change.
6340
6341 2017-10-09 Pedro Alves <palves@redhat.com>
6342
6343 Test both arch1=>arch2 and arch2=>arch1.
6344
6345 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
6346 (srcfile2, binfile2, march1, march2): Remove globals. Largely
6347 factored out to...
6348 (append_arch1_options, append_arch2_options, append_arch_options)
6349 (build_executables): New procedures.
6350 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
6351 local.
6352 (top level): Add new 'first_arch' testing axis.
6353
6354 2017-10-09 Pedro Alves <palves@redhat.com>
6355
6356 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
6357 (barrier): New.
6358 (thread_start, all_started): New functions.
6359 (main): Spawn new thread and wait until it is scheduled.
6360 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
6361 option.
6362 (do_test): Add 'selected_thread' parameter. Run to all_started
6363 instead of main. Explicitly set the breakpoint at main. Switch
6364 to the SELECTED_THREAD thread.
6365 (top level): Test handling the exec event with either the main
6366 thread or the second thread selected.
6367
6368 2017-10-09 Pedro Alves <palves@redhat.com>
6369
6370 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
6371 logic. Move STOP marker after the value checks.
6372 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
6373 regexp.
6374
6375 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
6376
6377 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
6378
6379 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
6380
6381 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
6382 integer-to-dfp conversion.
6383 * gdb.base/dfp-test.exp: Likewise.
6384
6385 2017-10-04 Pedro Alves <palves@redhat.com>
6386
6387 * gdb.multi/hangout.c: Include <unistd.h>.
6388 (hangout_loop): New function.
6389 (main): Call alarm. Call hangout_loop in a loop.
6390 * gdb.multi/hello.c: Include <unistd.h>.
6391 (hello_loop): New function.
6392 (main): Call alarm. Call hangout_loop in a loop.
6393 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
6394 inferior with the other selected.
6395
6396 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
6397
6398 * gdb.mi/list-thread-groups-available.exp: New file.
6399 * gdb.mi/list-thread-groups-available.c: New file.
6400
6401 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
6402
6403 * gdb.base/set-cwd.exp: Make it available on
6404 native-extended-gdbserver.
6405
6406 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
6407
6408 * gdb.base/set-cwd.c: New file.
6409 * gdb.base/set-cwd.exp: Likewise.
6410
6411 2017-10-02 Tom Tromey <tom@tromey.com>
6412
6413 PR rust/22236:
6414 * gdb.rust/simple.rs (main): New variable "fslice".
6415 * gdb.rust/simple.exp: Add slice tests. Update string tests.
6416
6417 2017-10-02 Tom Tromey <tom@tromey.com>
6418
6419 * gdb.rust/simple.exp: Test ptype of a slice.
6420
6421 2017-10-02 Tom Tromey <tom@tromey.com>
6422
6423 * gdb.rust/simple.exp: Test index of slice.
6424
6425 2017-09-27 Tom Tromey <tom@tromey.com>
6426
6427 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
6428
6429 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
6430 Pedro Alves <palves@redhat.com>
6431
6432 * gdb.base/compare-sections.exp (get value of read-only section): Read
6433 as unsigned value.
6434 (corrupt read-only section): Likewise and don't set written if patching
6435 failed.
6436
6437 2017-09-21 Kevin Buettner <kevinb@redhat.com>
6438
6439 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
6440 files.
6441
6442 2017-09-20 Pedro Alves <palves@redhat.com>
6443
6444 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
6445 symbol names in gdb's output.
6446 * gdb.cp/overload.exp ("list all overloads"): Likewise.
6447
6448 2017-09-20 Pedro Alves <palves@redhat.com>
6449
6450 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
6451 Rename to ...
6452 (test_list_ambiguous_symbol): ... this and add a symbol name
6453 parameter. Adjust.
6454 (test_list_ambiguous_function): Reimplement on top of
6455 test_list_ambiguous_symbol and also test listing ambiguous
6456 variables.
6457 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
6458 (ambiguous_fun): ... this.
6459 (ambiguous_var): New.
6460 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
6461 (ambiguous_fun): ... this.
6462 (ambiguous_var): New.
6463
6464 2017-09-19 John Baldwin <jhb@FreeBSD.org>
6465
6466 * gdb.base/starti.c: New file.
6467 * gdb.base/starti.exp: New file.
6468 * lib/gdb.exp (gdb_starti_cmd): New procedure.
6469
6470 2017-09-14 Pedro Alves <palves@redhat.com>
6471
6472 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
6473 (top level): Use it instead of runto.
6474
6475 2017-09-11 Tom Tromey <tom@tromey.com>
6476
6477 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
6478
6479 2017-09-11 Tom Tromey <tom@tromey.com>
6480
6481 * gdb.python/py-infthread.exp: Add tests for new_thread event.
6482 * gdb.python/py-inferior.exp: Add tests for new inferior events.
6483
6484 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
6485
6486 * gdb.fortran/printing-types.exp: New file.
6487 * gdb.fortran/printing-types.exp: New file.
6488
6489 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
6490
6491 * gdb.fortran/vla-ptype.exp: Fix typos.
6492 * gdb.fortran/vla-value.exp: Same.
6493
6494 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
6495
6496 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
6497 * gdb.mi/mi-var-child-f.exp: Likewise.
6498 * gdb.mi/mi-vla-fortran.exp: Likewise.
6499
6500 2017-09-08 Frank Penczek <frank.penczek@intel.com>
6501 Christoph Weinmann <christoph.t.weinmann@intel.com>
6502 Bernhard Heckel <bernhard.heckel@intel.com>
6503
6504 * gdb.fortran/ptr-indentation.f90: New file.
6505 * gdb.fortran/ptr-indentation.exp: New file.
6506
6507 2017-09-05 Tom Tromey <tom@tromey.com>
6508
6509 PR gdb/22010:
6510 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
6511
6512 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
6513
6514 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
6515
6516 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6517
6518 * gdb.threads/tls-nodebug-pie.c: New file.
6519 * gdb.threads/tls-nodebug-pie.exp: New file.
6520
6521 2017-09-05 Tom Tromey <tom@tromey.com>
6522
6523 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
6524 for rust.
6525
6526 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
6527
6528 * gdb.multi/multi-arch-exec.exp: Test with different
6529 "follow-exec-mode" settings.
6530 (do_test): New procedure.
6531
6532 2017-09-04 Pedro Alves <palves@redhat.com>
6533
6534 * gdb.base/func-static.c (S::method const, S::method volatile)
6535 (S::method volatile const): New methods.
6536 (c_s, v_s, cv_s): New instances.
6537 (main): Call method() on them.
6538 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
6539 (cannot_resolve): New procedure.
6540 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
6541 print-quote-unquoted columns.
6542 (do_test): Test printing each scope too.
6543
6544 2017-09-04 Pedro Alves <palves@redhat.com>
6545
6546 * gdb.base/local-static.exp: Also test with
6547 class::method::variable wholly quoted.
6548 * gdb.cp/m-static.exp (class::method::variable): Remove test.
6549
6550 2017-09-04 Pedro Alves <palves@redhat.com>
6551
6552 * gdb.base/local-static.c: New.
6553 * gdb.base/local-static.cc: New.
6554 * gdb.base/local-static.exp: New.
6555
6556 2017-09-04 Pedro Alves <palves@redhat.com>
6557
6558 * gdb.asm/asm-source.exp: Add casts to int.
6559 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
6560 (dataglobal64_1, dataglobal64_2): New globals.
6561 * gdb.base/nodebug.exp: Test different expressions involving the
6562 new globals, with print, whatis and ptype. Add casts to int.
6563 * gdb.base/solib-display.exp: Add casts to int.
6564 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
6565 * gdb.cp/m-static.exp: Add cast to int.
6566 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
6567 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
6568 tls variable with no debug info without a cast. Test with a cast
6569 to int too.
6570 * gdb.trace/entry-values.exp: Add casts.
6571
6572 2017-09-04 Pedro Alves <palves@redhat.com>
6573
6574 * gdb.base/nodebug.exp: Test that ptype's error about functions
6575 with unknown return type includes the function name too.
6576
6577 2017-09-04 Pedro Alves <palves@redhat.com>
6578
6579 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
6580 return type of munmap in infcall.
6581 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
6582 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
6583 type of ftell in infcall.
6584 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
6585 type of getpid in infcall.
6586 * gdb.base/infcall-exec.exp: Cast return type of execlp in
6587 infcall.
6588 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
6589 Bail on failure to extract the pid.
6590 * gdb.base/nodebug.c: #include <stdint.h>.
6591 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
6592 New functions.
6593 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
6594 Change expected output of print/whatis/ptype with functions with
6595 no debug info. Test all supported languages. Call
6596 test_call_promotion.
6597 * gdb.compile/compile.exp: Adjust expected output to expect
6598 warning.
6599 * gdb.threads/siginfo-threads.exp: Likewise.
6600
6601 2017-09-04 Pedro Alves <palves@redhat.com>
6602
6603 * gdb.base/callfuncs.exp (do_function_calls): New parameter
6604 "prototypes". Test calling float functions via prototyped and
6605 unprototyped function pointers.
6606 (perform_all_tests): New parameter "prototypes". Pass it down.
6607 (top level): Pass down "prototypes" parameter to
6608 perform_all_tests.
6609
6610 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
6611
6612 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
6613 Test with nested loops.
6614
6615 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
6616
6617 * gdb.base/commands.exp: Call the new procedures.
6618 (loop_break_test, loop_continue_test): New procedures.
6619
6620 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
6621
6622 * gdb.base/commands.exp: Call new procedure.
6623 (define_if_without_arg_test): New procedure.
6624
6625 2017-09-04 Pedro Alves <palves@redhat.com>
6626
6627 * gdb.base/list-ambiguous.exp: New file.
6628 * gdb.base/list-ambiguous0.c: New file.
6629 * gdb.base/list-ambiguous1.c: New file.
6630 * gdb.base/list.exp (test_list_range): Adjust expected output.
6631
6632 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
6633
6634 * gdb.base/share-env-with-gdbserver.c: New file.
6635 * gdb.base/share-env-with-gdbserver.exp: Likewise.
6636
6637 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
6638
6639 * gdb.base/commands.exp (gdbvar_simple_if_test,
6640 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
6641 progvar_simple_if_test, progvar_simple_while_test,
6642 progvar_complex_if_while_test, user_defined_command_test,
6643 user_defined_command_args_eval,
6644 user_defined_command_args_stack_test,
6645 user_defined_command_manyargs_test, bp_deleted_in_command_test,
6646 temporary_breakpoint_commands,
6647 gdb_test_no_prompt, redefine_hook_test,
6648 redefine_backtrace_test): Remove "global gdb_prompt".
6649
6650 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
6651
6652 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
6653 New proc, call it from toplevel.
6654
6655 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
6656
6657 PR remote/21852
6658 * gdb.server/normal.c: New file, copied from gdb.base.
6659 * gdb.server/run-without-local-binary.exp: New file.
6660
6661 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
6662
6663 * gdb.arch/sparc64-adi.exp: New file.
6664 * gdb.arch/sparc64-adi.c: New file.
6665
6666 2017-08-22 Pedro Alves <palves@redhat.com>
6667
6668 * gdb.cp/overload.exp (line_range_pattern): New procedure.
6669 (top level): Add "list all overloads" tests.
6670
6671 2017-08-22 Tom Tromey <tom@tromey.com>
6672
6673 * gdb.gdb/xfullpath.exp: Remove.
6674
6675 2017-08-21 Pedro Alves <palves@redhat.com>
6676
6677 PR gdb/19487
6678 * gdb.base/symbol-alias.c: New.
6679 * gdb.base/symbol-alias2.c: New.
6680 * gdb.base/symbol-alias.exp: New.
6681
6682 2017-08-21 Pedro Alves <palves@redhat.com>
6683
6684 * gdb.base/dfp-test.c
6685 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
6686 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
6687 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
6688 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
6689 * gdb.base/whatis-ptype-typedefs.c: New.
6690 * gdb.base/whatis-ptype-typedefs.exp: New.
6691 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
6692 (an_int, an_int_type, an_int_type2): New globals.
6693 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
6694 involving typedefs and cast expressions.
6695 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
6696 (lookup_typedefs_function): New.
6697 (typedefs_pretty_printers_dict): New.
6698 (top level): Register lookup_typedefs_function in
6699 gdb.pretty_printers.
6700
6701 2017-08-18 Yao Qi <yao.qi@linaro.org>
6702
6703 * gdb.server/unittest.exp: New.
6704
6705 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
6706
6707 PR gdb/21954
6708 * gdb.base/environ.exp: Add test to check if 'unset environment'
6709 works.
6710
6711 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6712
6713 * lib/gdb.exp (universal_compile_options): New caching proc.
6714 (gdb_compile): Suppress GCC's coloring of messages.
6715
6716 2017-08-14 Tom Tromey <tom@tromey.com>
6717
6718 PR gdb/21675:
6719 * gdb.base/printcmds.exp (test_radices): New function.
6720 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
6721 * gdb.base/sizeof.exp (check_valueof): Use p/d.
6722 * lib/gdb.exp (get_integer_valueof): Use p/d.
6723
6724 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
6725
6726 * lib/gdb.exp (get_valueof): Don't capture end-of-line
6727 characters.
6728
6729 2017-08-05 Tom Tromey <tom@tromey.com>
6730
6731 * gdb.rust/simple.exp: Allow String to appear in a different
6732 namespace.
6733
6734 2017-07-26 Yao Qi <yao.qi@linaro.org>
6735
6736 * gdb.gdb/unittest.exp: Invoke command
6737 "maintenance check xml-descriptions".
6738
6739 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
6740
6741 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
6742 calling context.
6743 (hex128): Drop erroneous calculation of parameters.
6744
6745 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
6746
6747 * gdb.python/py-unwind.exp: Disable stack protection when
6748 building test file.
6749
6750 2017-07-20 Pedro Alves <palves@redhat.com>
6751
6752 * gdb.base/default.exp (set language): Adjust expected output.
6753
6754 2017-07-20 Pedro Alves <palves@redhat.com>
6755
6756 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
6757 (test_minsym): ... this, and make static.
6758 (get_pck__foo__bar__minsym): Rename to ...
6759 (get_test_minsym): ... this.
6760 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
6761 symbol names and comments.
6762 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
6763 (get_test_minsym): ... this.
6764 (pck__foo__bar__minsym__2): Rename to ...
6765 (test_minsym): ... this.
6766 (main): Adjust.
6767
6768 2017-07-17 Pedro Alves <palves@redhat.com>
6769
6770 * gdb.base/completion.exp: Adjust expected output.
6771 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
6772 the completer works.
6773
6774 2017-07-17 Pedro Alves <palves@redhat.com>
6775
6776 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
6777
6778 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
6779
6780 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
6781
6782 2017-07-14 Tom Tromey <tom@tromey.com>
6783
6784 PR rust/21764:
6785 * gdb.rust/simple.exp: Add tests.
6786
6787 2017-07-14 Tom Tromey <tom@tromey.com>
6788
6789 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
6790
6791 2017-07-14 Pedro Alves <palves@redhat.com>
6792
6793 * gdb.linespec/base/one/thefile.cc (z1): New function.
6794 * gdb.linespec/base/two/thefile.cc (z2): New function.
6795 * gdb.linespec/linespec.exp: Add tests.
6796
6797 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
6798
6799 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
6800 to mi_create_breakpoint.
6801
6802 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
6803
6804 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
6805 mi_create_breakpoint.
6806
6807 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
6808
6809 * gdb.dlang/demangle.exp: Update for demangling changes.
6810
6811 2017-07-09 Tom Tromey <tom@tromey.com>
6812
6813 * gdb.dwarf2/shortpiece.exp: New file.
6814
6815 2017-07-06 David Blaikie <dblaikie@gmail.com>
6816
6817 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
6818 built from fissiont-multi-cu{1,2}.c.
6819 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
6820 except putting 'main' and 'func' in separate CUs in the same DWO file.
6821 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
6822 test.
6823 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
6824 test.
6825
6826 2017-07-06 Pedro Alves <palves@redhat.com>
6827
6828 * gdb.python/py-unwind.exp: Test flushregs.
6829
6830 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
6831
6832 PR cli/21688
6833 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
6834 tests for alias commands and trailing whitespace.
6835
6836 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
6837
6838 PR cli/21688
6839 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
6840 procedure. Call it.
6841
6842 2017-06-29 Pedro Alves <palves@redhat.com>
6843
6844 * gdb.base/printcmds.exp: Add tests.
6845
6846 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
6847
6848 PR gdb/21337
6849 * gdb.base/reread-readsym.exp: New file.
6850 * gdb.base/reread-readsym.c: New file.
6851
6852 2017-06-21 Kevin Buettner <kevinb@redhat.com>
6853
6854 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
6855 subpattern.
6856
6857 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
6858
6859 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
6860 extended mnemonic.
6861 * gdb.arch/powerpc-power9.s: Likewise.
6862
6863 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6864
6865 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
6866 on 32-bit x86 targets. Exploit is_*_target macros where
6867 appropriate.
6868
6869 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6870
6871 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
6872 register pieces.
6873
6874 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6875
6876 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
6877 located in one or more DWARF pieces.
6878
6879 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6880
6881 * lib/gdb.exp (get_endianness): New proc.
6882 * gdb.arch/aarch64-fp.exp: Use it.
6883 * gdb.arch/altivec-regs.exp: Likewise.
6884 * gdb.arch/e500-regs.exp: Likewise.
6885 * gdb.arch/vsx-regs.exp: Likewise.
6886 * gdb.base/dump.exp: Likewise.
6887 * gdb.base/funcargs.exp: Likewise.
6888 * gdb.base/gnu_vector.exp: Likewise.
6889 * gdb.dwarf2/formdata16.exp: Likewise.
6890 * gdb.dwarf2/implptrpiece.exp: Likewise.
6891 * gdb.dwarf2/nonvar-access.exp: Likewise.
6892 * gdb.python/py-inferior.exp: Likewise.
6893 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
6894
6895 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6896
6897 PR gdb/21226
6898 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
6899 stack value pieces are taken from the LSB end.
6900
6901 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6902
6903 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
6904 variable at nonzero offset.
6905
6906 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6907
6908 * gdb.dwarf2/var-access.c: New file.
6909 * gdb.dwarf2/var-access.exp: New test.
6910 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
6911
6912 2017-06-12 Tom Tromey <tom@tromey.com>
6913
6914 * gdb.dwarf2/formdata16.exp: Add tests.
6915
6916 2017-06-12 Tom Tromey <tom@tromey.com>
6917
6918 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
6919
6920 2017-06-12 Tom Tromey <tom@tromey.com>
6921
6922 PR exp/16225:
6923 * gdb.reverse/i386-sse-reverse.exp: Update tests.
6924 * gdb.arch/vsx-regs.exp: Update tests.
6925 * gdb.arch/s390-vregs.exp (hex128): New proc.
6926 Update test.
6927 * gdb.arch/altivec-regs.exp: Update tests.
6928
6929 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
6930
6931 * gdb.base/startup-with-shell.c: New file.
6932 * gdb.base/startup-with-shell.exp: Likewise.
6933
6934 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
6935
6936 * gdb.server/non-existing-program.exp: Update regex in order to
6937 reflect the fact that gdbserver is now using fork_inferior (with a
6938 shell) to startup the inferior.
6939
6940 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
6941
6942 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
6943 support function calls from GDB.
6944
6945 2017-05-21 Tom Tromey <tom@tromey.com>
6946
6947 PR rust/21466:
6948 * gdb.rust/unsized.exp: New file.
6949 * gdb.rust/unsized.rs: New file.
6950
6951 2017-05-19 Tom Tromey <tom@tromey.com>
6952
6953 PR rust/21484:
6954 * gdb.rust/watch.exp: New file.
6955 * gdb.rust/watch.rs: New file.
6956
6957 2017-05-18 Tom Tromey <tom@tromey.com>
6958
6959 * gdb.rust/simple.exp: Allow Box to be qualified.
6960
6961 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
6962
6963 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
6964
6965 2017-05-18 Pedro Alves <palves@redhat.com>
6966
6967 * gdb.base/fileio.c (test_write, test_read, test_close)
6968 (test_fstat): Don't print 'ret' in the fail path.
6969
6970 2017-05-18 Pedro Alves <palves@redhat.com>
6971
6972 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
6973 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
6974 (test_system, test_rename, test_unlink, test_time): Change
6975 prototypes.
6976 * gdb.base/fileio.exp (stop_msg): Adjust.
6977
6978 2017-05-18 Pedro Alves <palves@redhat.com>
6979
6980 * gdb.base/fileio.c (null_str): New global.
6981 (test_stat): Use it.
6982 * gdb.base/fileio.exp: Remove nowarnings.
6983
6984 2017-05-17 Yao Qi <yao.qi@linaro.org>
6985
6986 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
6987
6988 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
6989
6990 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
6991 argument command.
6992 (top-level): Invoke test_set_inferior_tty.
6993
6994 2017-05-04 Pedro Alves <palves@redhat.com>
6995
6996 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
6997 Add parens to print call for Python 3.
6998
6999 2017-05-03 Keith Seitz <keiths@redhat.com>
7000
7001 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
7002 (main): Call it.
7003
7004 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
7005
7006 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
7007 to prev and next.
7008
7009 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
7010
7011 * gdb.python/py-record-btrace.exp: Remove test for
7012 gdb.BtraceInstruction.error.
7013
7014 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
7015
7016 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
7017
7018 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
7019
7020 * gdb.python/py-record-btrace-threads.c: New file.
7021 * gdb.python/py-record-btrace-threads.exp: New file.
7022
7023 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
7024
7025 PR testsuite/8595
7026 * gdb.base/environ.exp: Make test available in all architectures.
7027 Move bits related to "info program" testing to
7028 gdb.base/info-program.exp. Rewrite tests to use the two new
7029 procedures mentione below.
7030 (test_set_show_env_var) New procedure.
7031 (test_set_show_env_var_equal): Likewise.
7032 * gdb.base/info-program.exp: New file.
7033
7034 2017-04-27 Keith Seitz <keiths@redhat.com>
7035
7036 * gdb.cp/oranking.cc (test15): New function.
7037 (main): Call test15 and declare additional variables for testing.
7038 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
7039 "p foo101('abc')" tests.
7040 Add tests for cv qualifier overloads.
7041 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
7042 "lvalue reference overload" test.
7043 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
7044 "print value of f1 on Child&& in f2" test.
7045
7046 2017-04-19 Pedro Alves <palves@redhat.com>
7047
7048 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
7049 procedure.
7050 (top level): Call it.
7051 * lib/gdb.exp (gdb_define_cmd): New procedure.
7052
7053 2017-04-12 Pedro Alves <palves@redhat.com>
7054
7055 PR gdb/21323
7056 * gdb.cp/wide_char_types.c: Include <wchar.h>.
7057 (wchar): New global.
7058 * gdb.cp/wide_char_types.exp (wide_char_types_program)
7059 (do_test_wide_char, wide_char_types_no_program, top level): Add
7060 wchar_t testing.
7061
7062 2017-04-12 Pedro Alves <palves@redhat.com>
7063
7064 PR c++/21323
7065 * gdb.cp/wide_char_types.c: New file.
7066 * gdb.cp/wide_char_types.exp: New file.
7067
7068 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
7069
7070 PR gdb/21352
7071 * gdb.trace/tsv.exp: Add test for "tsave -r".
7072
7073 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
7074
7075 * gdb.dlang/watch-loc.c: New file.
7076 * gdb.dlang/watch-loc.exp: New file.
7077
7078 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7079
7080 * gdb.python/py-section-script.exp (sepdebug): New testcases.
7081
7082 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
7083
7084 * gdb.arch/arc-analyze-prologue.S: New file.
7085 * gdb.arch/arc-analyze-prologue.exp: Likewise.
7086
7087 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
7088
7089 * gdb.arch/arc-decode-insn.S: New file.
7090 * gdb.arch/arc-decode-insn.exp: Likewise.
7091
7092 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
7093
7094 PR tdep/20928
7095 * gdb.arch/sparc64-regs.exp: New file.
7096 * gdb.arch/sparc64-regs.S: Likewise.
7097
7098 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
7099
7100 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
7101 and memory view on Python 3.
7102
7103 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
7104 Keith Seitz <keiths@redhat.com>
7105
7106 PR gdb/14441
7107 * gdb.cp/demangle.exp: Add rvalue reference tests.
7108 * gdb.cp/rvalue-ref-casts.cc: New file.
7109 * gdb.cp/rvalue-ref-casts.exp: New file.
7110 * gdb.cp/rvalue-ref-overload.cc: New file.
7111 * gdb.cp/rvalue-ref-overload.exp: New file.
7112 * gdb.cp/rvalue-ref-params.cc: New file.
7113 * gdb.cp/rvalue-ref-params.exp: New file.
7114 * gdb.cp/rvalue-ref-sizeof.cc: New file.
7115 * gdb.cp/rvalue-ref-sizeof.exp: New file.
7116 * gdb.cp/rvalue-ref-types.cc: New file.
7117 * gdb.cp/rvalue-ref-types.exp: New file.
7118 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
7119 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
7120
7121 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
7122
7123 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
7124 New procedure.
7125
7126 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
7127
7128 * lib/mi-support.exp (mi_gdb_test): Add additional message
7129 for unexpected output.
7130
7131 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
7132
7133 * gdb.base/examine-backward.c (Barrier): New character array
7134 constant, to ensure that TestStrings is preceded by a string
7135 terminator.
7136
7137 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
7138
7139 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
7140 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
7141 and implicit pointer into such a location.
7142
7143 2017-03-16 Doug Evans <dje@google.com>
7144
7145 * gdb.python/py-lazy-string (pointer): Really add new typedef.
7146
7147 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
7148
7149 * gdb.cp/m-static.exp: Fix expectation for prototype of
7150 test5.single_constructor and single_constructor::single_constructor.
7151
7152 2017-03-16 Doug Evans <dje@google.com>
7153
7154 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
7155 * gdb.guile/scm-lazy-string.c: New file.
7156 * gdb.guile/scm-value.exp: Move lazy string tests to ...
7157 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
7158 for pointer, array, typedef lazy strings.
7159
7160 2017-03-16 Doug Evans <dje@google.com>
7161
7162 PR python/17728, python/18439, python/18779
7163 * gdb.python/py-value.c (main) Delete locals sptr, sn.
7164 * gdb.python/py-lazy-string.c (pointer): New typedef.
7165 (main): New locals ptr, array, typedef_ptr.
7166 * gdb.python/py-value.exp: Move lazy string tests to ...
7167 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
7168 array, typedef lazy strings.
7169
7170 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
7171
7172 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
7173 Add optional 'test' parameter.
7174
7175 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
7176
7177 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
7178 Skip for versions of DejaGnu < 1.5.
7179
7180 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
7181
7182 * lib/gdb.exp (dejagnu_version): New proc.
7183 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
7184 Use dejagnu_version.
7185
7186 2017-03-10 Keith Seitz <keiths@redhat.com>
7187
7188 PR c++/8128
7189 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
7190 type from destructor regexps.
7191 Add a branch which actually passes the test.
7192 Adjust "ptype t5i" test names.
7193
7194 2017-03-08 Pedro Alves <palves@redhat.com>
7195
7196 * gdb.base/step-over-exit.exp: Add explicit test message.
7197
7198 2017-03-08 Pedro Alves <palves@redhat.com>
7199
7200 PR gdb/18360
7201 * gdb.threads/interrupt-while-step-over.c: New file.
7202 * gdb.threads/interrupt-while-step-over.exp: New file.
7203
7204 2017-03-08 Pedro Alves <palves@redhat.com>
7205
7206 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
7207 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
7208
7209 2017-03-08 Pedro Alves <palves@redhat.com>
7210
7211 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
7212 PKRU as not supported as a PASS.
7213
7214 2017-03-08 Pedro Alves <palves@redhat.com>
7215
7216 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
7217 prefix instead of $binfile1/$binfile2.
7218 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
7219 in test message.
7220 * gdb.python/py-completion.exp: Use "load python file" as test
7221 messages instead of unstable path names.
7222
7223 2017-03-08 Pedro Alves <palves@redhat.com>
7224 Jan Kratochvil <jan.kratochvil@redhat.com>
7225
7226 PR cli/21218
7227 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
7228 New proc.
7229 (top level): Call it.
7230
7231 2017-03-08 Pedro Alves <palves@redhat.com>
7232
7233 PR tui/21216
7234 * gdb.tui/tui-nl-filtered-output.exp: New file.
7235
7236 2017-03-08 Pedro Alves <palves@redhat.com>
7237
7238 * gdb.base/completion.exp: Move TUI completion tests to ...
7239 * gdb.tui/completion.exp: ... this new file.
7240
7241 2017-03-08 Pedro Alves <palves@redhat.com>
7242
7243 * gdb.base/tui-disasm-long-lines.c,
7244 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
7245 gdb.base/tui-layout.exp: Move to ...
7246 * gdb.tui/: ... this new directory.
7247
7248 2017-03-07 Pedro Alves <palves@redhat.com>
7249
7250 * gdb.base/tui-layout.c: New file.
7251 * gdb.base/tui-layout.exp: New file.
7252
7253 2017-03-07 Pedro Alves <palves@redhat.com>
7254
7255 * gdb.base/tui-layout.c: Rename to ...
7256 * gdb.base/tui-disasm-long-lines.c: ... this.
7257 * gdb.base/tui-layout.exp: Rename to ...
7258 * gdb.base/tui-disasm-long-lines.exp: ... this.
7259
7260 2017-03-07 Pedro Alves <palves@redhat.com>
7261
7262 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
7263
7264 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
7265
7266 * i386-mpx-call.c: New file.
7267 * i386-mpx-call.exp: New file.
7268
7269 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
7270
7271 * gdb.arch/powerpc-power.exp: Delete test.
7272 * gdb.arch/powerpc-power.s: Likewise.
7273 * gdb.disasm/disassembler-options.exp: New test.
7274 * gdb.arch/powerpc-altivec.exp: Likewise.
7275 * gdb.arch/powerpc-altivec.s: Likewise.
7276 * gdb.arch/powerpc-altivec2.exp: Likewise.
7277 * gdb.arch/powerpc-altivec2.s: Likewise.
7278 * gdb.arch/powerpc-altivec3.exp: Likewise.
7279 * gdb.arch/powerpc-altivec3.s: Likewise.
7280 * gdb.arch/powerpc-power7.exp: Likewise.
7281 * gdb.arch/powerpc-power7.s: Likewise.
7282 * gdb.arch/powerpc-power8.exp: Likewise.
7283 * gdb.arch/powerpc-power8.s: Likewise.
7284 * gdb.arch/powerpc-power9.exp: Likewise.
7285 * gdb.arch/powerpc-power9.s: Likewise.
7286 * gdb.arch/powerpc-vsx.exp: Likewise.
7287 * gdb.arch/powerpc-vsx.s: Likewise.
7288 * gdb.arch/powerpc-vsx2.exp: Likewise.
7289 * gdb.arch/powerpc-vsx2.s: Likewise.
7290 * gdb.arch/powerpc-vsx3.exp: Likewise.
7291 * gdb.arch/powerpc-vsx3.s: Likewise.
7292 * gdb.arch/arm-disassembler-options.exp: Likewise.
7293 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
7294 * gdb.arch/s390-disassembler-options.exp: Likewise.
7295
7296 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
7297
7298 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
7299 (check_supported_features): ... this. Changed return type to void.
7300 (supports_rdseed): New static global.
7301 (rdseed): Check supports_rdseed.
7302 (initialize): Call check_supported_features.
7303
7304 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7305
7306 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
7307 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
7308 and lqarx/stqcx.
7309 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
7310 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
7311
7312 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7313
7314 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
7315 uppercase.
7316
7317 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7318
7319 * gdb.dwarf2/formdata16.c: New file.
7320 * gdb.dwarf2/formdata16.exp: New file.
7321 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
7322
7323 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7324
7325 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
7326 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
7327 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
7328 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
7329 DW_AT_GNU_*.
7330
7331 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7332
7333 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
7334
7335 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
7336
7337 PR gdb/21164
7338 * gdb.base/maint.exp: Add testcases for when the commands do
7339 not have arguments.
7340
7341 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
7342
7343 * gdb.cp/chained-calls.exp: Use p instead of P.
7344
7345 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
7346
7347 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
7348 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
7349
7350 2017-02-14 Tom Tromey <tom@tromey.com>
7351
7352 PR python/13598:
7353 * gdb.python/py-events.exp: Add before_prompt event tests.
7354
7355 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
7356
7357 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
7358
7359 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
7360
7361 * gdb.linespec/explicit.c (my_unique_function_name): New function.
7362 (main): Call my_unique_function_name.
7363 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
7364 completion of patterns with a single match.
7365 Add missing -re switches to gdb_test_multiple calls.
7366
7367 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
7368
7369 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
7370 return if core file is not recognized.
7371
7372 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
7373
7374 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
7375 and extra UIs.
7376
7377 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
7378
7379 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
7380 proc_with_prefix.
7381
7382 2017-02-10 Tom Tromey <tom@tromey.com>
7383
7384 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
7385
7386 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
7387
7388 PR gdb/21122
7389 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
7390
7391 2017-02-08 Jerome Guitton <guitton@adacore.com>
7392
7393 * gdb.base/define.exp: Add test for command abbreviations
7394 in define.
7395
7396 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
7397
7398 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
7399 * gdb.reverse/insn-reverse-x86.c: New file.
7400
7401 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
7402
7403 PR tdep/20936
7404 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
7405
7406 2017-02-03 Tom Tromey <tom@tromey.com>
7407
7408 PR rust/21097:
7409 * gdb.rust/simple.exp: Add new tests.
7410
7411 2017-02-02 Pedro Alves <palves@redhat.com>
7412
7413 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
7414 tests.
7415
7416 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
7417
7418 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
7419 taking a 2-byte value out of a 4-byte DWARF implicit value on
7420 big-endian targets.
7421 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
7422 logic. Add test cases for DW_OP_implicit.
7423
7424 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7425
7426 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
7427
7428 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7429
7430 * gdb.btrace/enable.exp: Call gdb_exit before
7431 skip_gdbserver_tests.
7432
7433 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7434
7435 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
7436 GDBFLAGS.
7437
7438 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7439
7440 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
7441 the test is skipped.
7442 * gdb.btrace/data.exp: Likewise.
7443 * gdb.btrace/delta.exp: Likewise.
7444 * gdb.btrace/dlopen.exp: Likewise.
7445 * gdb.btrace/enable-running.exp: Likewise.
7446 * gdb.btrace/enable.exp: Likewise.
7447 * gdb.btrace/exception.exp: Likewise.
7448 * gdb.btrace/function_call_history.exp: Likewise.
7449 * gdb.btrace/gcore.exp: Likewise.
7450 * gdb.btrace/instruction_history.exp: Likewise.
7451 * gdb.btrace/multi-thread-step.exp: Likewise.
7452 * gdb.btrace/nohist.exp: Likewise.
7453 * gdb.btrace/non-stop.exp: Likewise.
7454 * gdb.btrace/reconnect.exp: Likewise.
7455 * gdb.btrace/record_goto-step.exp: Likewise.
7456 * gdb.btrace/record_goto.exp: Likewise.
7457 * gdb.btrace/rn-dl-bind.exp: Likewise.
7458 * gdb.btrace/segv.exp: Likewise.
7459 * gdb.btrace/step.exp: Likewise.
7460 * gdb.btrace/stepi.exp: Likewise.
7461 * gdb.btrace/tailcall-only.exp: Likewise.
7462 * gdb.btrace/tailcall.exp: Likewise.
7463 * gdb.btrace/tsx.exp: Likewise.
7464 * gdb.btrace/unknown_functions.exp: Likewise.
7465 * gdb.btrace/vdso.exp: Likewise.
7466
7467 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7468
7469 * gdb.btrace/enable-running.c: New.
7470 * gdb.btrace/enable-running.exp: New.
7471
7472 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
7473
7474 * gdb.arch/amd64-gs_base.c: New file.
7475 * gdb.arch/amd64-gs_base.exp: New file.
7476
7477 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
7478
7479 * lib/memory.exp: Remove spurious empty newlines.
7480
7481 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
7482
7483 * gdb.python/py-bad-printers.exp: Load python file using "source".
7484 * gdb.python/py-events.exp: Likewise.
7485 * gdb.python/py-evsignal.exp: Likewise.
7486 * gdb.python/py-evthreads.exp: Likewise.
7487 * gdb.python/py-frame-args.exp: Likewise.
7488 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
7489 * gdb.python/py-framefilter-mi.exp: Likewise.
7490 * gdb.python/py-framefilter.exp: Likewise.
7491 * gdb.python/py-mi.exp: Likewise.
7492 * gdb.python/py-pp-maint.exp: Likewise.
7493 * gdb.python/py-pp-registration.exp: Likewise.
7494 * gdb.python/py-prettyprint.exp: Likewise.
7495 (run_lang_tests): Likewise.
7496 * gdb.python/py-typeprint.exp: Likewise.
7497
7498 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
7499
7500 * lib/memory.exp: New file.
7501 * lib/gdb.exp: Load memory.exp.
7502 * gdb.base/memattr.exp (delete_memory): Move proc to
7503 lib/memory.exp and rename to delete_memory_regions.
7504 Replace delete_memory with delete_memory_regions.
7505 Cleanup memory regions before tests.
7506 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
7507 before tests.
7508
7509 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
7510
7511 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
7512 files.
7513 (initialize): New function conditionally defined.
7514 (testcases): Move within conditional block.
7515 (main): Call initialize.
7516 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
7517 of gdb.reverse/insn-reverse.c.
7518 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
7519 gdb.reverse/insn-reverse.c.
7520
7521 2017-01-26 Yao Qi <yao.qi@linaro.org>
7522
7523 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
7524 disassemble on address 0.
7525
7526 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
7527 Yao Qi <yao.qi@linaro.org>
7528
7529 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
7530 * gdb.dwarf2/implptr-64bit.S: Remove.
7531 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
7532 variables in caller's context. Add DW_OP_implicit_value.
7533
7534 2017-01-25 Yao Qi <yao.qi@linaro.org>
7535
7536 * lib/dwarf.exp (Dwarf::_location): Handle
7537 DW_OP_GNU_implicit_pointer with proper size.
7538
7539 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
7540
7541 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
7542 and add untested calls.
7543
7544 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
7545
7546 * gdb.python/python.exp: Check line number against what GDB thinks
7547 the line number is for func1.
7548
7549 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
7550
7551 * gdb.dlang/debug-expr.exp: New file.
7552
7553 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
7554
7555 Fix test names for the following files:
7556
7557 * gdb.ada/exec_changed.exp
7558 * gdb.ada/info_types.exp
7559 * gdb.arch/aarch64-atomic-inst.exp
7560 * gdb.arch/aarch64-fp.exp
7561 * gdb.arch/altivec-abi.exp
7562 * gdb.arch/altivec-regs.exp
7563 * gdb.arch/amd64-byte.exp
7564 * gdb.arch/amd64-disp-step.exp
7565 * gdb.arch/amd64-dword.exp
7566 * gdb.arch/amd64-entry-value-inline.exp
7567 * gdb.arch/amd64-entry-value-param.exp
7568 * gdb.arch/amd64-entry-value-paramref.exp
7569 * gdb.arch/amd64-entry-value.exp
7570 * gdb.arch/amd64-i386-address.exp
7571 * gdb.arch/amd64-invalid-stack-middle.exp
7572 * gdb.arch/amd64-invalid-stack-top.exp
7573 * gdb.arch/amd64-optimout-repeat.exp
7574 * gdb.arch/amd64-prologue-skip.exp
7575 * gdb.arch/amd64-prologue-xmm.exp
7576 * gdb.arch/amd64-stap-special-operands.exp
7577 * gdb.arch/amd64-stap-wrong-subexp.exp
7578 * gdb.arch/amd64-tailcall-cxx.exp
7579 * gdb.arch/amd64-tailcall-noret.exp
7580 * gdb.arch/amd64-tailcall-ret.exp
7581 * gdb.arch/amd64-tailcall-self.exp
7582 * gdb.arch/amd64-word.exp
7583 * gdb.arch/arm-bl-branch-dest.exp
7584 * gdb.arch/arm-disp-step.exp
7585 * gdb.arch/arm-neon.exp
7586 * gdb.arch/arm-single-step-kernel-helper.exp
7587 * gdb.arch/avr-flash-qualifier.exp
7588 * gdb.arch/disp-step-insn-reloc.exp
7589 * gdb.arch/e500-abi.exp
7590 * gdb.arch/e500-regs.exp
7591 * gdb.arch/ftrace-insn-reloc.exp
7592 * gdb.arch/i386-avx512.exp
7593 * gdb.arch/i386-bp_permanent.exp
7594 * gdb.arch/i386-byte.exp
7595 * gdb.arch/i386-cfi-notcurrent.exp
7596 * gdb.arch/i386-disp-step.exp
7597 * gdb.arch/i386-dr3-watch.exp
7598 * gdb.arch/i386-float.exp
7599 * gdb.arch/i386-gnu-cfi.exp
7600 * gdb.arch/i386-mpx-map.exp
7601 * gdb.arch/i386-mpx-sigsegv.exp
7602 * gdb.arch/i386-mpx-simple_segv.exp
7603 * gdb.arch/i386-mpx.exp
7604 * gdb.arch/i386-permbkpt.exp
7605 * gdb.arch/i386-prologue.exp
7606 * gdb.arch/i386-signal.exp
7607 * gdb.arch/i386-size-overlap.exp
7608 * gdb.arch/i386-unwind.exp
7609 * gdb.arch/i386-word.exp
7610 * gdb.arch/mips-fcr.exp
7611 * gdb.arch/powerpc-d128-regs.exp
7612 * gdb.arch/powerpc-stackless.exp
7613 * gdb.arch/ppc64-atomic-inst.exp
7614 * gdb.arch/s390-stackless.exp
7615 * gdb.arch/s390-tdbregs.exp
7616 * gdb.arch/s390-vregs.exp
7617 * gdb.arch/sparc-sysstep.exp
7618 * gdb.arch/thumb-bx-pc.exp
7619 * gdb.arch/thumb-singlestep.exp
7620 * gdb.arch/thumb2-it.exp
7621 * gdb.arch/vsx-regs.exp
7622 * gdb.asm/asm-source.exp
7623 * gdb.base/a2-run.exp
7624 * gdb.base/advance.exp
7625 * gdb.base/all-bin.exp
7626 * gdb.base/anon.exp
7627 * gdb.base/args.exp
7628 * gdb.base/arithmet.exp
7629 * gdb.base/async-shell.exp
7630 * gdb.base/async.exp
7631 * gdb.base/attach-pie-noexec.exp
7632 * gdb.base/attach-twice.exp
7633 * gdb.base/auto-load.exp
7634 * gdb.base/bang.exp
7635 * gdb.base/bitfields.exp
7636 * gdb.base/break-always.exp
7637 * gdb.base/break-caller-line.exp
7638 * gdb.base/break-entry.exp
7639 * gdb.base/break-inline.exp
7640 * gdb.base/break-on-linker-gcd-function.exp
7641 * gdb.base/break-probes.exp
7642 * gdb.base/break.exp
7643 * gdb.base/breakpoint-shadow.exp
7644 * gdb.base/call-ar-st.exp
7645 * gdb.base/call-sc.exp
7646 * gdb.base/call-signal-resume.exp
7647 * gdb.base/call-strs.exp
7648 * gdb.base/callfuncs.exp
7649 * gdb.base/catch-fork-static.exp
7650 * gdb.base/catch-gdb-caused-signals.exp
7651 * gdb.base/catch-load.exp
7652 * gdb.base/catch-signal-fork.exp
7653 * gdb.base/catch-signal.exp
7654 * gdb.base/catch-syscall.exp
7655 * gdb.base/charset.exp
7656 * gdb.base/checkpoint.exp
7657 * gdb.base/chng-syms.exp
7658 * gdb.base/code-expr.exp
7659 * gdb.base/code_elim.exp
7660 * gdb.base/commands.exp
7661 * gdb.base/completion.exp
7662 * gdb.base/complex.exp
7663 * gdb.base/cond-expr.exp
7664 * gdb.base/condbreak.exp
7665 * gdb.base/consecutive.exp
7666 * gdb.base/continue-all-already-running.exp
7667 * gdb.base/coredump-filter.exp
7668 * gdb.base/corefile.exp
7669 * gdb.base/dbx.exp
7670 * gdb.base/debug-expr.exp
7671 * gdb.base/define.exp
7672 * gdb.base/del.exp
7673 * gdb.base/disabled-location.exp
7674 * gdb.base/disasm-end-cu.exp
7675 * gdb.base/disasm-optim.exp
7676 * gdb.base/display.exp
7677 * gdb.base/duplicate-bp.exp
7678 * gdb.base/ena-dis-br.exp
7679 * gdb.base/ending-run.exp
7680 * gdb.base/enumval.exp
7681 * gdb.base/environ.exp
7682 * gdb.base/eu-strip-infcall.exp
7683 * gdb.base/eval-avoid-side-effects.exp
7684 * gdb.base/eval-skip.exp
7685 * gdb.base/exitsignal.exp
7686 * gdb.base/expand-psymtabs.exp
7687 * gdb.base/filesym.exp
7688 * gdb.base/find-unmapped.exp
7689 * gdb.base/finish.exp
7690 * gdb.base/float.exp
7691 * gdb.base/foll-exec-mode.exp
7692 * gdb.base/foll-exec.exp
7693 * gdb.base/foll-fork.exp
7694 * gdb.base/fortran-sym-case.exp
7695 * gdb.base/freebpcmd.exp
7696 * gdb.base/func-ptr.exp
7697 * gdb.base/func-ptrs.exp
7698 * gdb.base/funcargs.exp
7699 * gdb.base/gcore-buffer-overflow.exp
7700 * gdb.base/gcore-relro-pie.exp
7701 * gdb.base/gcore-relro.exp
7702 * gdb.base/gcore.exp
7703 * gdb.base/gdb1090.exp
7704 * gdb.base/gdb11530.exp
7705 * gdb.base/gdb11531.exp
7706 * gdb.base/gdb1821.exp
7707 * gdb.base/gdbindex-stabs.exp
7708 * gdb.base/gdbvars.exp
7709 * gdb.base/hbreak.exp
7710 * gdb.base/hbreak2.exp
7711 * gdb.base/included.exp
7712 * gdb.base/infcall-input.exp
7713 * gdb.base/inferior-died.exp
7714 * gdb.base/infnan.exp
7715 * gdb.base/info-macros.exp
7716 * gdb.base/info-os.exp
7717 * gdb.base/info-proc.exp
7718 * gdb.base/info-shared.exp
7719 * gdb.base/info-target.exp
7720 * gdb.base/infoline.exp
7721 * gdb.base/interp.exp
7722 * gdb.base/interrupt.exp
7723 * gdb.base/jit-reader.exp
7724 * gdb.base/jit-simple.exp
7725 * gdb.base/kill-after-signal.exp
7726 * gdb.base/kill-detach-inferiors-cmd.exp
7727 * gdb.base/label.exp
7728 * gdb.base/langs.exp
7729 * gdb.base/ldbl_e308.exp
7730 * gdb.base/line-symtabs.exp
7731 * gdb.base/linespecs.exp
7732 * gdb.base/list.exp
7733 * gdb.base/long_long.exp
7734 * gdb.base/longest-types.exp
7735 * gdb.base/maint.exp
7736 * gdb.base/max-value-size.exp
7737 * gdb.base/memattr.exp
7738 * gdb.base/mips_pro.exp
7739 * gdb.base/morestack.exp
7740 * gdb.base/moribund-step.exp
7741 * gdb.base/multi-forks.exp
7742 * gdb.base/nested-addr.exp
7743 * gdb.base/nextoverexit.exp
7744 * gdb.base/noreturn-finish.exp
7745 * gdb.base/noreturn-return.exp
7746 * gdb.base/nostdlib.exp
7747 * gdb.base/offsets.exp
7748 * gdb.base/opaque.exp
7749 * gdb.base/pc-fp.exp
7750 * gdb.base/permissions.exp
7751 * gdb.base/print-symbol-loading.exp
7752 * gdb.base/prologue-include.exp
7753 * gdb.base/psymtab.exp
7754 * gdb.base/ptype.exp
7755 * gdb.base/random-signal.exp
7756 * gdb.base/randomize.exp
7757 * gdb.base/range-stepping.exp
7758 * gdb.base/readline-ask.exp
7759 * gdb.base/recpar.exp
7760 * gdb.base/recurse.exp
7761 * gdb.base/relational.exp
7762 * gdb.base/restore.exp
7763 * gdb.base/return-nodebug.exp
7764 * gdb.base/return.exp
7765 * gdb.base/run-after-attach.exp
7766 * gdb.base/save-bp.exp
7767 * gdb.base/scope.exp
7768 * gdb.base/sect-cmd.exp
7769 * gdb.base/set-lang-auto.exp
7770 * gdb.base/set-noassign.exp
7771 * gdb.base/setvar.exp
7772 * gdb.base/sigall.exp
7773 * gdb.base/sigbpt.exp
7774 * gdb.base/siginfo-addr.exp
7775 * gdb.base/siginfo-infcall.exp
7776 * gdb.base/siginfo-obj.exp
7777 * gdb.base/siginfo.exp
7778 * gdb.base/signals-state-child.exp
7779 * gdb.base/signest.exp
7780 * gdb.base/sigstep.exp
7781 * gdb.base/sizeof.exp
7782 * gdb.base/skip.exp
7783 * gdb.base/solib-corrupted.exp
7784 * gdb.base/solib-nodir.exp
7785 * gdb.base/solib-search.exp
7786 * gdb.base/stack-checking.exp
7787 * gdb.base/stale-infcall.exp
7788 * gdb.base/stap-probe.exp
7789 * gdb.base/start.exp
7790 * gdb.base/step-break.exp
7791 * gdb.base/step-bt.exp
7792 * gdb.base/step-line.exp
7793 * gdb.base/step-over-exit.exp
7794 * gdb.base/step-over-syscall.exp
7795 * gdb.base/step-resume-infcall.exp
7796 * gdb.base/step-test.exp
7797 * gdb.base/store.exp
7798 * gdb.base/structs3.exp
7799 * gdb.base/sym-file.exp
7800 * gdb.base/symbol-without-target_section.exp
7801 * gdb.base/term.exp
7802 * gdb.base/testenv.exp
7803 * gdb.base/ui-redirect.exp
7804 * gdb.base/until.exp
7805 * gdb.base/unwindonsignal.exp
7806 * gdb.base/value-double-free.exp
7807 * gdb.base/vla-datatypes.exp
7808 * gdb.base/vla-ptr.exp
7809 * gdb.base/vla-sideeffect.exp
7810 * gdb.base/volatile.exp
7811 * gdb.base/watch-cond-infcall.exp
7812 * gdb.base/watch-cond.exp
7813 * gdb.base/watch-non-mem.exp
7814 * gdb.base/watch-read.exp
7815 * gdb.base/watch-vfork.exp
7816 * gdb.base/watchpoint-cond-gone.exp
7817 * gdb.base/watchpoint-delete.exp
7818 * gdb.base/watchpoint-hw-hit-once.exp
7819 * gdb.base/watchpoint-hw.exp
7820 * gdb.base/watchpoint-stops-at-right-insn.exp
7821 * gdb.base/watchpoints.exp
7822 * gdb.base/wchar.exp
7823 * gdb.base/whatis-exp.exp
7824 * gdb.btrace/buffer-size.exp
7825 * gdb.btrace/data.exp
7826 * gdb.btrace/delta.exp
7827 * gdb.btrace/dlopen.exp
7828 * gdb.btrace/enable.exp
7829 * gdb.btrace/exception.exp
7830 * gdb.btrace/function_call_history.exp
7831 * gdb.btrace/gcore.exp
7832 * gdb.btrace/instruction_history.exp
7833 * gdb.btrace/nohist.exp
7834 * gdb.btrace/reconnect.exp
7835 * gdb.btrace/record_goto-step.exp
7836 * gdb.btrace/record_goto.exp
7837 * gdb.btrace/rn-dl-bind.exp
7838 * gdb.btrace/segv.exp
7839 * gdb.btrace/step.exp
7840 * gdb.btrace/stepi.exp
7841 * gdb.btrace/tailcall-only.exp
7842 * gdb.btrace/tailcall.exp
7843 * gdb.btrace/tsx.exp
7844 * gdb.btrace/unknown_functions.exp
7845 * gdb.btrace/vdso.exp
7846 * gdb.compile/compile-ifunc.exp
7847 * gdb.compile/compile-ops.exp
7848 * gdb.compile/compile-print.exp
7849 * gdb.compile/compile-setjmp.exp
7850 * gdb.cp/abstract-origin.exp
7851 * gdb.cp/ambiguous.exp
7852 * gdb.cp/annota2.exp
7853 * gdb.cp/annota3.exp
7854 * gdb.cp/anon-ns.exp
7855 * gdb.cp/anon-struct.exp
7856 * gdb.cp/anon-union.exp
7857 * gdb.cp/arg-reference.exp
7858 * gdb.cp/baseenum.exp
7859 * gdb.cp/bool.exp
7860 * gdb.cp/breakpoint.exp
7861 * gdb.cp/bs15503.exp
7862 * gdb.cp/call-c.exp
7863 * gdb.cp/casts.exp
7864 * gdb.cp/chained-calls.exp
7865 * gdb.cp/class2.exp
7866 * gdb.cp/classes.exp
7867 * gdb.cp/cmpd-minsyms.exp
7868 * gdb.cp/converts.exp
7869 * gdb.cp/cp-relocate.exp
7870 * gdb.cp/cpcompletion.exp
7871 * gdb.cp/cpexprs.exp
7872 * gdb.cp/cplabel.exp
7873 * gdb.cp/cplusfuncs.exp
7874 * gdb.cp/cpsizeof.exp
7875 * gdb.cp/ctti.exp
7876 * gdb.cp/derivation.exp
7877 * gdb.cp/destrprint.exp
7878 * gdb.cp/dispcxx.exp
7879 * gdb.cp/enum-class.exp
7880 * gdb.cp/exception.exp
7881 * gdb.cp/exceptprint.exp
7882 * gdb.cp/expand-psymtabs-cxx.exp
7883 * gdb.cp/expand-sals.exp
7884 * gdb.cp/extern-c.exp
7885 * gdb.cp/filename.exp
7886 * gdb.cp/formatted-ref.exp
7887 * gdb.cp/fpointer.exp
7888 * gdb.cp/gdb1355.exp
7889 * gdb.cp/gdb2495.exp
7890 * gdb.cp/hang.exp
7891 * gdb.cp/impl-this.exp
7892 * gdb.cp/infcall-dlopen.exp
7893 * gdb.cp/inherit.exp
7894 * gdb.cp/iostream.exp
7895 * gdb.cp/koenig.exp
7896 * gdb.cp/local.exp
7897 * gdb.cp/m-data.exp
7898 * gdb.cp/m-static.exp
7899 * gdb.cp/mb-ctor.exp
7900 * gdb.cp/mb-inline.exp
7901 * gdb.cp/mb-templates.exp
7902 * gdb.cp/member-name.exp
7903 * gdb.cp/member-ptr.exp
7904 * gdb.cp/meth-typedefs.exp
7905 * gdb.cp/method.exp
7906 * gdb.cp/method2.exp
7907 * gdb.cp/minsym-fallback.exp
7908 * gdb.cp/misc.exp
7909 * gdb.cp/namelessclass.exp
7910 * gdb.cp/namespace-enum.exp
7911 * gdb.cp/namespace-nested-import.exp
7912 * gdb.cp/namespace.exp
7913 * gdb.cp/nextoverthrow.exp
7914 * gdb.cp/no-dmgl-verbose.exp
7915 * gdb.cp/non-trivial-retval.exp
7916 * gdb.cp/noparam.exp
7917 * gdb.cp/nsdecl.exp
7918 * gdb.cp/nsimport.exp
7919 * gdb.cp/nsnested.exp
7920 * gdb.cp/nsnoimports.exp
7921 * gdb.cp/nsrecurs.exp
7922 * gdb.cp/nsstress.exp
7923 * gdb.cp/nsusing.exp
7924 * gdb.cp/operator.exp
7925 * gdb.cp/oranking.exp
7926 * gdb.cp/overload-const.exp
7927 * gdb.cp/overload.exp
7928 * gdb.cp/ovldbreak.exp
7929 * gdb.cp/ovsrch.exp
7930 * gdb.cp/paren-type.exp
7931 * gdb.cp/parse-lang.exp
7932 * gdb.cp/pass-by-ref.exp
7933 * gdb.cp/pr-1023.exp
7934 * gdb.cp/pr-1210.exp
7935 * gdb.cp/pr-574.exp
7936 * gdb.cp/pr10687.exp
7937 * gdb.cp/pr12028.exp
7938 * gdb.cp/pr17132.exp
7939 * gdb.cp/pr17494.exp
7940 * gdb.cp/pr9067.exp
7941 * gdb.cp/pr9167.exp
7942 * gdb.cp/pr9631.exp
7943 * gdb.cp/printmethod.exp
7944 * gdb.cp/psmang.exp
7945 * gdb.cp/psymtab-parameter.exp
7946 * gdb.cp/ptype-cv-cp.exp
7947 * gdb.cp/ptype-flags.exp
7948 * gdb.cp/re-set-overloaded.exp
7949 * gdb.cp/ref-types.exp
7950 * gdb.cp/rtti.exp
7951 * gdb.cp/scope-err.exp
7952 * gdb.cp/shadow.exp
7953 * gdb.cp/smartp.exp
7954 * gdb.cp/static-method.exp
7955 * gdb.cp/static-print-quit.exp
7956 * gdb.cp/temargs.exp
7957 * gdb.cp/templates.exp
7958 * gdb.cp/try_catch.exp
7959 * gdb.cp/typedef-operator.exp
7960 * gdb.cp/typeid.exp
7961 * gdb.cp/userdef.exp
7962 * gdb.cp/using-crash.exp
7963 * gdb.cp/var-tag.exp
7964 * gdb.cp/virtbase.exp
7965 * gdb.cp/virtfunc.exp
7966 * gdb.cp/virtfunc2.exp
7967 * gdb.cp/vla-cxx.exp
7968 * gdb.disasm/t01_mov.exp
7969 * gdb.disasm/t02_mova.exp
7970 * gdb.disasm/t03_add.exp
7971 * gdb.disasm/t04_sub.exp
7972 * gdb.disasm/t05_cmp.exp
7973 * gdb.disasm/t06_ari2.exp
7974 * gdb.disasm/t07_ari3.exp
7975 * gdb.disasm/t08_or.exp
7976 * gdb.disasm/t09_xor.exp
7977 * gdb.disasm/t10_and.exp
7978 * gdb.disasm/t11_logs.exp
7979 * gdb.disasm/t12_bit.exp
7980 * gdb.disasm/t13_otr.exp
7981 * gdb.dlang/circular.exp
7982 * gdb.dwarf2/arr-stride.exp
7983 * gdb.dwarf2/arr-subrange.exp
7984 * gdb.dwarf2/atomic-type.exp
7985 * gdb.dwarf2/bad-regnum.exp
7986 * gdb.dwarf2/bitfield-parent-optimized-out.exp
7987 * gdb.dwarf2/callframecfa.exp
7988 * gdb.dwarf2/clztest.exp
7989 * gdb.dwarf2/corrupt.exp
7990 * gdb.dwarf2/data-loc.exp
7991 * gdb.dwarf2/dup-psym.exp
7992 * gdb.dwarf2/dw2-anon-mptr.exp
7993 * gdb.dwarf2/dw2-anonymous-func.exp
7994 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
7995 * gdb.dwarf2/dw2-bad-unresolved.exp
7996 * gdb.dwarf2/dw2-basic.exp
7997 * gdb.dwarf2/dw2-canonicalize-type.exp
7998 * gdb.dwarf2/dw2-case-insensitive.exp
7999 * gdb.dwarf2/dw2-common-block.exp
8000 * gdb.dwarf2/dw2-compdir-oldgcc.exp
8001 * gdb.dwarf2/dw2-compressed.exp
8002 * gdb.dwarf2/dw2-const.exp
8003 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
8004 * gdb.dwarf2/dw2-cu-size.exp
8005 * gdb.dwarf2/dw2-dup-frame.exp
8006 * gdb.dwarf2/dw2-entry-value.exp
8007 * gdb.dwarf2/dw2-icycle.exp
8008 * gdb.dwarf2/dw2-ifort-parameter.exp
8009 * gdb.dwarf2/dw2-inline-break.exp
8010 * gdb.dwarf2/dw2-inline-param.exp
8011 * gdb.dwarf2/dw2-intercu.exp
8012 * gdb.dwarf2/dw2-intermix.exp
8013 * gdb.dwarf2/dw2-lexical-block-bare.exp
8014 * gdb.dwarf2/dw2-linkage-name-trust.exp
8015 * gdb.dwarf2/dw2-minsym-in-cu.exp
8016 * gdb.dwarf2/dw2-noloc.exp
8017 * gdb.dwarf2/dw2-op-call.exp
8018 * gdb.dwarf2/dw2-op-out-param.exp
8019 * gdb.dwarf2/dw2-opt-structptr.exp
8020 * gdb.dwarf2/dw2-param-error.exp
8021 * gdb.dwarf2/dw2-producer.exp
8022 * gdb.dwarf2/dw2-ranges-base.exp
8023 * gdb.dwarf2/dw2-ref-missing-frame.exp
8024 * gdb.dwarf2/dw2-reg-undefined.exp
8025 * gdb.dwarf2/dw2-regno-invalid.exp
8026 * gdb.dwarf2/dw2-restore.exp
8027 * gdb.dwarf2/dw2-restrict.exp
8028 * gdb.dwarf2/dw2-single-line-discriminators.exp
8029 * gdb.dwarf2/dw2-strp.exp
8030 * gdb.dwarf2/dw2-undefined-ret-addr.exp
8031 * gdb.dwarf2/dw2-unresolved.exp
8032 * gdb.dwarf2/dw2-var-zero-addr.exp
8033 * gdb.dwarf2/dw4-sig-types.exp
8034 * gdb.dwarf2/dwz.exp
8035 * gdb.dwarf2/dynarr-ptr.exp
8036 * gdb.dwarf2/enum-type.exp
8037 * gdb.dwarf2/gdb-index.exp
8038 * gdb.dwarf2/implptr-64bit.exp
8039 * gdb.dwarf2/implptr-optimized-out.exp
8040 * gdb.dwarf2/implptr.exp
8041 * gdb.dwarf2/implref-array.exp
8042 * gdb.dwarf2/implref-const.exp
8043 * gdb.dwarf2/implref-global.exp
8044 * gdb.dwarf2/implref-struct.exp
8045 * gdb.dwarf2/mac-fileno.exp
8046 * gdb.dwarf2/main-subprogram.exp
8047 * gdb.dwarf2/member-ptr-forwardref.exp
8048 * gdb.dwarf2/method-ptr.exp
8049 * gdb.dwarf2/missing-sig-type.exp
8050 * gdb.dwarf2/nonvar-access.exp
8051 * gdb.dwarf2/opaque-type-lookup.exp
8052 * gdb.dwarf2/pieces-optimized-out.exp
8053 * gdb.dwarf2/pieces.exp
8054 * gdb.dwarf2/pr10770.exp
8055 * gdb.dwarf2/pr13961.exp
8056 * gdb.dwarf2/staticvirtual.exp
8057 * gdb.dwarf2/subrange.exp
8058 * gdb.dwarf2/symtab-producer.exp
8059 * gdb.dwarf2/trace-crash.exp
8060 * gdb.dwarf2/typeddwarf.exp
8061 * gdb.dwarf2/valop.exp
8062 * gdb.dwarf2/watch-notconst.exp
8063 * gdb.fortran/array-element.exp
8064 * gdb.fortran/charset.exp
8065 * gdb.fortran/common-block.exp
8066 * gdb.fortran/complex.exp
8067 * gdb.fortran/derived-type-function.exp
8068 * gdb.fortran/derived-type.exp
8069 * gdb.fortran/logical.exp
8070 * gdb.fortran/module.exp
8071 * gdb.fortran/multi-dim.exp
8072 * gdb.fortran/nested-funcs.exp
8073 * gdb.fortran/print-formatted.exp
8074 * gdb.fortran/subarray.exp
8075 * gdb.fortran/vla-alloc-assoc.exp
8076 * gdb.fortran/vla-datatypes.exp
8077 * gdb.fortran/vla-history.exp
8078 * gdb.fortran/vla-ptr-info.exp
8079 * gdb.fortran/vla-ptype-sub.exp
8080 * gdb.fortran/vla-ptype.exp
8081 * gdb.fortran/vla-sizeof.exp
8082 * gdb.fortran/vla-type.exp
8083 * gdb.fortran/vla-value-sub-arbitrary.exp
8084 * gdb.fortran/vla-value-sub-finish.exp
8085 * gdb.fortran/vla-value-sub.exp
8086 * gdb.fortran/vla-value.exp
8087 * gdb.fortran/whatis_type.exp
8088 * gdb.go/chan.exp
8089 * gdb.go/handcall.exp
8090 * gdb.go/hello.exp
8091 * gdb.go/integers.exp
8092 * gdb.go/methods.exp
8093 * gdb.go/package.exp
8094 * gdb.go/strings.exp
8095 * gdb.go/types.exp
8096 * gdb.go/unsafe.exp
8097 * gdb.guile/scm-arch.exp
8098 * gdb.guile/scm-block.exp
8099 * gdb.guile/scm-breakpoint.exp
8100 * gdb.guile/scm-cmd.exp
8101 * gdb.guile/scm-disasm.exp
8102 * gdb.guile/scm-equal.exp
8103 * gdb.guile/scm-frame-args.exp
8104 * gdb.guile/scm-frame-inline.exp
8105 * gdb.guile/scm-frame.exp
8106 * gdb.guile/scm-iterator.exp
8107 * gdb.guile/scm-math.exp
8108 * gdb.guile/scm-objfile.exp
8109 * gdb.guile/scm-ports.exp
8110 * gdb.guile/scm-symbol.exp
8111 * gdb.guile/scm-symtab.exp
8112 * gdb.guile/scm-value-cc.exp
8113 * gdb.guile/types-module.exp
8114 * gdb.linespec/break-ask.exp
8115 * gdb.linespec/cpexplicit.exp
8116 * gdb.linespec/explicit.exp
8117 * gdb.linespec/keywords.exp
8118 * gdb.linespec/linespec.exp
8119 * gdb.linespec/ls-dollar.exp
8120 * gdb.linespec/ls-errs.exp
8121 * gdb.linespec/skip-two.exp
8122 * gdb.linespec/thread.exp
8123 * gdb.mi/mi-async.exp
8124 * gdb.mi/mi-basics.exp
8125 * gdb.mi/mi-break.exp
8126 * gdb.mi/mi-catch-load.exp
8127 * gdb.mi/mi-cli.exp
8128 * gdb.mi/mi-cmd-param-changed.exp
8129 * gdb.mi/mi-console.exp
8130 * gdb.mi/mi-detach.exp
8131 * gdb.mi/mi-disassemble.exp
8132 * gdb.mi/mi-eval.exp
8133 * gdb.mi/mi-file-transfer.exp
8134 * gdb.mi/mi-file.exp
8135 * gdb.mi/mi-fill-memory.exp
8136 * gdb.mi/mi-inheritance-syntax-error.exp
8137 * gdb.mi/mi-linespec-err-cp.exp
8138 * gdb.mi/mi-logging.exp
8139 * gdb.mi/mi-memory-changed.exp
8140 * gdb.mi/mi-read-memory.exp
8141 * gdb.mi/mi-record-changed.exp
8142 * gdb.mi/mi-reg-undefined.exp
8143 * gdb.mi/mi-regs.exp
8144 * gdb.mi/mi-return.exp
8145 * gdb.mi/mi-reverse.exp
8146 * gdb.mi/mi-simplerun.exp
8147 * gdb.mi/mi-solib.exp
8148 * gdb.mi/mi-stack.exp
8149 * gdb.mi/mi-stepi.exp
8150 * gdb.mi/mi-syn-frame.exp
8151 * gdb.mi/mi-until.exp
8152 * gdb.mi/mi-var-block.exp
8153 * gdb.mi/mi-var-child.exp
8154 * gdb.mi/mi-var-cmd.exp
8155 * gdb.mi/mi-var-cp.exp
8156 * gdb.mi/mi-var-display.exp
8157 * gdb.mi/mi-var-invalidate.exp
8158 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
8159 * gdb.mi/mi-vla-fortran.exp
8160 * gdb.mi/mi-watch.exp
8161 * gdb.mi/mi2-var-child.exp
8162 * gdb.mi/user-selected-context-sync.exp
8163 * gdb.modula2/unbounded-array.exp
8164 * gdb.multi/dummy-frame-restore.exp
8165 * gdb.multi/multi-arch-exec.exp
8166 * gdb.multi/multi-arch.exp
8167 * gdb.multi/tids.exp
8168 * gdb.multi/watchpoint-multi.exp
8169 * gdb.opencl/callfuncs.exp
8170 * gdb.opencl/convs_casts.exp
8171 * gdb.opencl/datatypes.exp
8172 * gdb.opencl/operators.exp
8173 * gdb.opencl/vec_comps.exp
8174 * gdb.opt/clobbered-registers-O2.exp
8175 * gdb.opt/inline-break.exp
8176 * gdb.opt/inline-bt.exp
8177 * gdb.opt/inline-cmds.exp
8178 * gdb.opt/inline-locals.exp
8179 * gdb.pascal/case-insensitive-symbols.exp
8180 * gdb.pascal/floats.exp
8181 * gdb.pascal/gdb11492.exp
8182 * gdb.python/lib-types.exp
8183 * gdb.python/py-arch.exp
8184 * gdb.python/py-as-string.exp
8185 * gdb.python/py-bad-printers.exp
8186 * gdb.python/py-block.exp
8187 * gdb.python/py-breakpoint-create-fail.exp
8188 * gdb.python/py-breakpoint.exp
8189 * gdb.python/py-caller-is.exp
8190 * gdb.python/py-cmd.exp
8191 * gdb.python/py-explore-cc.exp
8192 * gdb.python/py-explore.exp
8193 * gdb.python/py-finish-breakpoint.exp
8194 * gdb.python/py-finish-breakpoint2.exp
8195 * gdb.python/py-frame-args.exp
8196 * gdb.python/py-frame-inline.exp
8197 * gdb.python/py-frame.exp
8198 * gdb.python/py-framefilter-mi.exp
8199 * gdb.python/py-infthread.exp
8200 * gdb.python/py-lazy-string.exp
8201 * gdb.python/py-linetable.exp
8202 * gdb.python/py-mi-events.exp
8203 * gdb.python/py-mi-objfile.exp
8204 * gdb.python/py-mi.exp
8205 * gdb.python/py-objfile.exp
8206 * gdb.python/py-pp-integral.exp
8207 * gdb.python/py-pp-maint.exp
8208 * gdb.python/py-pp-re-notag.exp
8209 * gdb.python/py-pp-registration.exp
8210 * gdb.python/py-recurse-unwind.exp
8211 * gdb.python/py-strfns.exp
8212 * gdb.python/py-symbol.exp
8213 * gdb.python/py-symtab.exp
8214 * gdb.python/py-sync-interp.exp
8215 * gdb.python/py-typeprint.exp
8216 * gdb.python/py-unwind-maint.exp
8217 * gdb.python/py-unwind.exp
8218 * gdb.python/py-value-cc.exp
8219 * gdb.python/py-xmethods.exp
8220 * gdb.reverse/amd64-tailcall-reverse.exp
8221 * gdb.reverse/break-precsave.exp
8222 * gdb.reverse/break-reverse.exp
8223 * gdb.reverse/consecutive-precsave.exp
8224 * gdb.reverse/consecutive-reverse.exp
8225 * gdb.reverse/finish-precsave.exp
8226 * gdb.reverse/finish-reverse-bkpt.exp
8227 * gdb.reverse/finish-reverse.exp
8228 * gdb.reverse/fstatat-reverse.exp
8229 * gdb.reverse/getresuid-reverse.exp
8230 * gdb.reverse/i386-precsave.exp
8231 * gdb.reverse/i386-reverse.exp
8232 * gdb.reverse/i386-sse-reverse.exp
8233 * gdb.reverse/i387-env-reverse.exp
8234 * gdb.reverse/i387-stack-reverse.exp
8235 * gdb.reverse/insn-reverse.exp
8236 * gdb.reverse/machinestate-precsave.exp
8237 * gdb.reverse/machinestate.exp
8238 * gdb.reverse/next-reverse-bkpt-over-sr.exp
8239 * gdb.reverse/pipe-reverse.exp
8240 * gdb.reverse/readv-reverse.exp
8241 * gdb.reverse/recvmsg-reverse.exp
8242 * gdb.reverse/rerun-prec.exp
8243 * gdb.reverse/s390-mvcle.exp
8244 * gdb.reverse/step-precsave.exp
8245 * gdb.reverse/step-reverse.exp
8246 * gdb.reverse/time-reverse.exp
8247 * gdb.reverse/until-precsave.exp
8248 * gdb.reverse/until-reverse.exp
8249 * gdb.reverse/waitpid-reverse.exp
8250 * gdb.reverse/watch-precsave.exp
8251 * gdb.reverse/watch-reverse.exp
8252 * gdb.rust/generics.exp
8253 * gdb.rust/methods.exp
8254 * gdb.rust/modules.exp
8255 * gdb.rust/simple.exp
8256 * gdb.server/connect-with-no-symbol-file.exp
8257 * gdb.server/ext-attach.exp
8258 * gdb.server/ext-restart.exp
8259 * gdb.server/ext-wrapper.exp
8260 * gdb.server/file-transfer.exp
8261 * gdb.server/server-exec-info.exp
8262 * gdb.server/server-kill.exp
8263 * gdb.server/server-mon.exp
8264 * gdb.server/wrapper.exp
8265 * gdb.stabs/exclfwd.exp
8266 * gdb.stabs/gdb11479.exp
8267 * gdb.threads/clone-new-thread-event.exp
8268 * gdb.threads/corethreads.exp
8269 * gdb.threads/current-lwp-dead.exp
8270 * gdb.threads/dlopen-libpthread.exp
8271 * gdb.threads/gcore-thread.exp
8272 * gdb.threads/sigstep-threads.exp
8273 * gdb.threads/watchpoint-fork.exp
8274 * gdb.trace/actions-changed.exp
8275 * gdb.trace/backtrace.exp
8276 * gdb.trace/change-loc.exp
8277 * gdb.trace/circ.exp
8278 * gdb.trace/collection.exp
8279 * gdb.trace/disconnected-tracing.exp
8280 * gdb.trace/ftrace.exp
8281 * gdb.trace/mi-trace-frame-collected.exp
8282 * gdb.trace/mi-trace-unavailable.exp
8283 * gdb.trace/mi-traceframe-changed.exp
8284 * gdb.trace/mi-tsv-changed.exp
8285 * gdb.trace/no-attach-trace.exp
8286 * gdb.trace/passc-dyn.exp
8287 * gdb.trace/qtro.exp
8288 * gdb.trace/range-stepping.exp
8289 * gdb.trace/read-memory.exp
8290 * gdb.trace/save-trace.exp
8291 * gdb.trace/signal.exp
8292 * gdb.trace/status-stop.exp
8293 * gdb.trace/tfile.exp
8294 * gdb.trace/trace-break.exp
8295 * gdb.trace/trace-buffer-size.exp
8296 * gdb.trace/trace-condition.exp
8297 * gdb.trace/tracefile-pseudo-reg.exp
8298 * gdb.trace/tstatus.exp
8299 * gdb.trace/unavailable.exp
8300 * gdb.trace/while-dyn.exp
8301 * gdb.trace/while-stepping.exp
8302
8303 2016-12-22 Doug Evans <xdje42@gmail.com>
8304
8305 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
8306 and msymbols.
8307
8308 2016-12-19 Yao Qi <yao.qi@linaro.org>
8309
8310 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
8311 (test_with_self): Don't call do_steps_and_nexts, and remove
8312 code about stepping into xmalloc.
8313
8314 2016-12-09 Yao Qi <yao.qi@linaro.org>
8315
8316 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
8317
8318 2016-12-09 Yao Qi <yao.qi@linaro.org>
8319
8320 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
8321
8322 2016-12-09 Pedro Alves <palves@redhat.com>
8323
8324 * gdb.base/all-architectures-0.exp: New file.
8325 * gdb.base/all-architectures-1.exp: New file.
8326 * gdb.base/all-architectures-2.exp: New file.
8327 * gdb.base/all-architectures-3.exp: New file.
8328 * gdb.base/all-architectures-4.exp: New file.
8329 * gdb.base/all-architectures-5.exp: New file.
8330 * gdb.base/all-architectures-6.exp: New file.
8331 * gdb.base/all-architectures-7.exp: New file.
8332 * gdb.base/all-architectures.exp.in: New file.
8333
8334 2016-12-09 Yao Qi <yao.qi@linaro.org>
8335
8336 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
8337
8338 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
8339
8340 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
8341 possible.
8342 Remove useless pattern-matching code.
8343
8344 2016-12-02 Pedro Alves <palves@redhat.com>
8345
8346 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
8347 procedure.
8348 (top level): Call it.
8349
8350 2016-12-02 Pedro Alves <palves@redhat.com>
8351
8352 * gdb.base/commands.exp (user_defined_command_args_stack_test):
8353 New procedure.
8354 (top level): Call it.
8355
8356 2016-12-02 Pedro Alves <palves@redhat.com>
8357
8358 PR cli/20559
8359 * gdb.base/commands.exp (user_defined_command_args_eval): New
8360 procedure.
8361 (top level): Call it.
8362
8363 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
8364
8365 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
8366 timeout handling.
8367
8368 2016-12-02 Tom Tromey <tom@tromey.com>
8369
8370 * gdb.dwarf2/main-subprogram.c: New file.
8371 * gdb.dwarf2/main-subprogram.exp: New file.
8372
8373 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8374
8375 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
8376 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
8377 gdb_test_no_output for a couple of cases.
8378 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
8379
8380 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8381
8382 Fix test names and standardize compilation error messages throughout
8383 the following files:
8384
8385 * gdb.ada/start.exp
8386 * gdb.arch/alpha-step.exp
8387 * gdb.arch/e500-prologue.exp
8388 * gdb.arch/ftrace-insn-reloc.exp
8389 * gdb.arch/gdb1291.exp
8390 * gdb.arch/gdb1431.exp
8391 * gdb.arch/gdb1558.exp
8392 * gdb.arch/i386-dr3-watch.exp
8393 * gdb.arch/i386-sse-stack-align.exp
8394 * gdb.arch/ia64-breakpoint-shadow.exp
8395 * gdb.arch/pa-nullify.exp
8396 * gdb.arch/powerpc-aix-prologue.exp
8397 * gdb.arch/thumb-bx-pc.exp
8398 * gdb.base/annota1.exp
8399 * gdb.base/annota3.exp
8400 * gdb.base/arrayidx.exp
8401 * gdb.base/assign.exp
8402 * gdb.base/attach.exp
8403 * gdb.base/auxv.exp
8404 * gdb.base/bang.exp
8405 * gdb.base/bfp-test.exp
8406 * gdb.base/bigcore.exp
8407 * gdb.base/bitfields2.exp
8408 * gdb.base/break-fun-addr.exp
8409 * gdb.base/break-probes.exp
8410 * gdb.base/call-rt-st.exp
8411 * gdb.base/callexit.exp
8412 * gdb.base/catch-fork-kill.exp
8413 * gdb.base/charset.exp
8414 * gdb.base/checkpoint.exp
8415 * gdb.base/comprdebug.exp
8416 * gdb.base/constvars.exp
8417 * gdb.base/coredump-filter.exp
8418 * gdb.base/cursal.exp
8419 * gdb.base/cvexpr.exp
8420 * gdb.base/detach.exp
8421 * gdb.base/display.exp
8422 * gdb.base/dmsym.exp
8423 * gdb.base/dprintf-pending.exp
8424 * gdb.base/dso2dso.exp
8425 * gdb.base/dtrace-probe.exp
8426 * gdb.base/dump.exp
8427 * gdb.base/enum_cond.exp
8428 * gdb.base/exe-lock.exp
8429 * gdb.base/exec-invalid-sysroot.exp
8430 * gdb.base/execl-update-breakpoints.exp
8431 * gdb.base/exprs.exp
8432 * gdb.base/fileio.exp
8433 * gdb.base/find.exp
8434 * gdb.base/finish.exp
8435 * gdb.base/fixsection.exp
8436 * gdb.base/foll-vfork.exp
8437 * gdb.base/frame-args.exp
8438 * gdb.base/gcore.exp
8439 * gdb.base/gdb1250.exp
8440 * gdb.base/global-var-nested-by-dso.exp
8441 * gdb.base/gnu-ifunc.exp
8442 * gdb.base/hashline1.exp
8443 * gdb.base/hashline2.exp
8444 * gdb.base/hashline3.exp
8445 * gdb.base/hbreak-in-shr-unsupported.exp
8446 * gdb.base/huge.exp
8447 * gdb.base/infcall-input.exp
8448 * gdb.base/info-fun.exp
8449 * gdb.base/info-shared.exp
8450 * gdb.base/jit-simple.exp
8451 * gdb.base/jit-so.exp
8452 * gdb.base/jit.exp
8453 * gdb.base/jump.exp
8454 * gdb.base/label.exp
8455 * gdb.base/lineinc.exp
8456 * gdb.base/logical.exp
8457 * gdb.base/longjmp.exp
8458 * gdb.base/macscp.exp
8459 * gdb.base/miscexprs.exp
8460 * gdb.base/new-ui-echo.exp
8461 * gdb.base/new-ui-pending-input.exp
8462 * gdb.base/new-ui.exp
8463 * gdb.base/nodebug.exp
8464 * gdb.base/nofield.exp
8465 * gdb.base/offsets.exp
8466 * gdb.base/overlays.exp
8467 * gdb.base/pending.exp
8468 * gdb.base/pointers.exp
8469 * gdb.base/pr11022.exp
8470 * gdb.base/printcmds.exp
8471 * gdb.base/prologue.exp
8472 * gdb.base/ptr-typedef.exp
8473 * gdb.base/realname-expand.exp
8474 * gdb.base/relativedebug.exp
8475 * gdb.base/relocate.exp
8476 * gdb.base/remote.exp
8477 * gdb.base/reread.exp
8478 * gdb.base/return2.exp
8479 * gdb.base/savedregs.exp
8480 * gdb.base/sep.exp
8481 * gdb.base/sepdebug.exp
8482 * gdb.base/sepsymtab.exp
8483 * gdb.base/set-inferior-tty.exp
8484 * gdb.base/setshow.exp
8485 * gdb.base/shlib-call.exp
8486 * gdb.base/sigaltstack.exp
8487 * gdb.base/siginfo-addr.exp
8488 * gdb.base/signals.exp
8489 * gdb.base/signull.exp
8490 * gdb.base/sigrepeat.exp
8491 * gdb.base/so-impl-ld.exp
8492 * gdb.base/solib-display.exp
8493 * gdb.base/solib-overlap.exp
8494 * gdb.base/solib-search.exp
8495 * gdb.base/solib-symbol.exp
8496 * gdb.base/structs.exp
8497 * gdb.base/structs2.exp
8498 * gdb.base/symtab-search-order.exp
8499 * gdb.base/twice.exp
8500 * gdb.base/unload.exp
8501 * gdb.base/varargs.exp
8502 * gdb.base/watchpoint-solib.exp
8503 * gdb.base/watchpoint.exp
8504 * gdb.base/whatis.exp
8505 * gdb.base/wrong_frame_bt_full.exp
8506 * gdb.btrace/dlopen.exp
8507 * gdb.cell/ea-standalone.exp
8508 * gdb.cell/ea-test.exp
8509 * gdb.cp/dispcxx.exp
8510 * gdb.cp/gdb2384.exp
8511 * gdb.cp/method2.exp
8512 * gdb.cp/nextoverthrow.exp
8513 * gdb.cp/pr10728.exp
8514 * gdb.disasm/am33.exp
8515 * gdb.disasm/h8300s.exp
8516 * gdb.disasm/mn10300.exp
8517 * gdb.disasm/sh3.exp
8518 * gdb.dwarf2/dw2-dir-file-name.exp
8519 * gdb.fortran/complex.exp
8520 * gdb.fortran/library-module.exp
8521 * gdb.guile/scm-pretty-print.exp
8522 * gdb.guile/scm-symbol.exp
8523 * gdb.guile/scm-type.exp
8524 * gdb.guile/scm-value.exp
8525 * gdb.linespec/linespec.exp
8526 * gdb.mi/gdb701.exp
8527 * gdb.mi/gdb792.exp
8528 * gdb.mi/mi-breakpoint-changed.exp
8529 * gdb.mi/mi-dprintf-pending.exp
8530 * gdb.mi/mi-dprintf.exp
8531 * gdb.mi/mi-exit-code.exp
8532 * gdb.mi/mi-pending.exp
8533 * gdb.mi/mi-solib.exp
8534 * gdb.mi/new-ui-mi-sync.exp
8535 * gdb.mi/pr11022.exp
8536 * gdb.mi/user-selected-context-sync.exp
8537 * gdb.opt/solib-intra-step.exp
8538 * gdb.python/py-events.exp
8539 * gdb.python/py-finish-breakpoint.exp
8540 * gdb.python/py-mi.exp
8541 * gdb.python/py-prettyprint.exp
8542 * gdb.python/py-shared.exp
8543 * gdb.python/py-symbol.exp
8544 * gdb.python/py-template.exp
8545 * gdb.python/py-type.exp
8546 * gdb.python/py-value.exp
8547 * gdb.reverse/solib-precsave.exp
8548 * gdb.reverse/solib-reverse.exp
8549 * gdb.server/solib-list.exp
8550 * gdb.stabs/weird.exp
8551 * gdb.threads/reconnect-signal.exp
8552 * gdb.threads/stepi-random-signal.exp
8553 * gdb.trace/actions.exp
8554 * gdb.trace/ax.exp
8555 * gdb.trace/backtrace.exp
8556 * gdb.trace/change-loc.exp
8557 * gdb.trace/deltrace.exp
8558 * gdb.trace/ftrace-lock.exp
8559 * gdb.trace/ftrace.exp
8560 * gdb.trace/infotrace.exp
8561 * gdb.trace/mi-tracepoint-changed.exp
8562 * gdb.trace/packetlen.exp
8563 * gdb.trace/passcount.exp
8564 * gdb.trace/pending.exp
8565 * gdb.trace/range-stepping.exp
8566 * gdb.trace/report.exp
8567 * gdb.trace/stap-trace.exp
8568 * gdb.trace/tfind.exp
8569 * gdb.trace/trace-break.exp
8570 * gdb.trace/trace-condition.exp
8571 * gdb.trace/trace-enable-disable.exp
8572 * gdb.trace/trace-mt.exp
8573 * gdb.trace/tracecmd.exp
8574 * gdb.trace/tspeed.exp
8575 * gdb.trace/tsv.exp
8576 * lib/perftest.exp
8577
8578 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8579
8580 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
8581 with gdb_test_no_output.
8582 Use command as test name.
8583
8584 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8585
8586 Fix test names starting with uppercase throughout the files.
8587
8588 * gdb.ada/assign_1.exp
8589 * gdb.ada/boolean_expr.exp
8590 * gdb.base/arrayidx.exp
8591 * gdb.base/del.exp
8592 * gdb.base/gcore-buffer-overflow.exp
8593 * gdb.base/testenv.exp
8594 * gdb.compile/compile.exp
8595 * gdb.python/py-framefilter-invalidarg.exp
8596 * gdb.python/py-framefilter.exp
8597
8598 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8599
8600 Fix test names starting with uppercase throughout the files.
8601
8602 * gdb.ada/array_return.exp
8603 * gdb.ada/expr_delims.exp
8604 * gdb.ada/mi_dyn_arr.exp
8605 * gdb.ada/mi_interface.exp
8606 * gdb.ada/mi_var_array.exp
8607 * gdb.ada/watch_arg.exp
8608 * gdb.arch/alpha-step.exp
8609 * gdb.arch/altivec-regs.exp
8610 * gdb.arch/e500-regs.exp
8611 * gdb.arch/powerpc-d128-regs.exp
8612 * gdb.base/arrayidx.exp
8613 * gdb.base/break.exp
8614 * gdb.base/checkpoint.exp
8615 * gdb.base/debug-expr.exp
8616 * gdb.base/dmsym.exp
8617 * gdb.base/radix.exp
8618 * gdb.base/sepdebug.exp
8619 * gdb.base/testenv.exp
8620 * gdb.base/watch_thread_num.exp
8621 * gdb.base/watchpoint-cond-gone.exp
8622 * gdb.cell/break.exp
8623 * gdb.cell/ea-cache.exp
8624 * gdb.compile/compile.exp
8625 * gdb.cp/gdb2495.exp
8626 * gdb.gdb/selftest.exp
8627 * gdb.gdb/xfullpath.exp
8628 * gdb.go/hello.exp
8629 * gdb.go/integers.exp
8630 * gdb.objc/basicclass.exp
8631 * gdb.pascal/hello.exp
8632 * gdb.pascal/integers.exp
8633 * gdb.python/py-breakpoint.exp
8634 * gdb.python/py-cmd.exp
8635 * gdb.python/py-linetable.exp
8636 * gdb.python/py-xmethods.exp
8637 * gdb.python/python.exp
8638 * gdb.reverse/consecutive-precsave.exp
8639 * gdb.reverse/finish-precsave.exp
8640 * gdb.reverse/i386-precsave.exp
8641 * gdb.reverse/machinestate-precsave.exp
8642 * gdb.reverse/sigall-precsave.exp
8643 * gdb.reverse/solib-precsave.exp
8644 * gdb.reverse/step-precsave.exp
8645 * gdb.reverse/until-precsave.exp
8646 * gdb.reverse/watch-precsave.exp
8647 * gdb.threads/leader-exit.exp
8648 * gdb.threads/pthreads.exp
8649 * gdb.threads/wp-replication.exp
8650 * gdb.trace/actions.exp
8651 * gdb.trace/mi-tsv-changed.exp
8652 * gdb.trace/tsv.exp
8653
8654 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8655
8656 Fix test names starting with uppercase throughout the files.
8657
8658 * gdb.arch/i386-bp_permanent.exp
8659 * gdb.arch/i386-gnu-cfi.exp
8660 * gdb.base/disasm-end-cu.exp
8661 * gdb.base/macscp.exp
8662 * gdb.base/pending.exp
8663 * gdb.base/watch_thread_num.exp
8664 * gdb.cp/exception.exp
8665 * gdb.cp/gdb2495.exp
8666 * gdb.cp/local.exp
8667 * gdb.python/py-evsignal.exp
8668 * gdb.python/python.exp
8669 * gdb.trace/tracecmd.exp
8670
8671 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8672
8673 Fix test names starting with uppercase throughout the files.
8674
8675 * gdb.base/charset.exp
8676 * gdb.base/eval.exp
8677 * gdb.base/multi-forks.exp
8678 * gdb.guile/scm-progspace.exp
8679 * gdb.opencl/datatypes.exp
8680 * gdb.python/py-block.exp
8681 * gdb.python/py-function.exp
8682 * gdb.python/py-symbol.exp
8683 * gdb.python/py-symtab.exp
8684 * gdb.python/py-xmethods.exp
8685 * gdb.reverse/break-precsave.exp
8686 * gdb.reverse/break-reverse.exp
8687 * gdb.reverse/consecutive-precsave.exp
8688 * gdb.reverse/consecutive-reverse.exp
8689 * gdb.reverse/finish-precsave.exp
8690 * gdb.reverse/finish-reverse-bkpt.exp
8691 * gdb.reverse/finish-reverse.exp
8692 * gdb.reverse/fstatat-reverse.exp
8693 * gdb.reverse/getresuid-reverse.exp
8694 * gdb.reverse/i386-precsave.exp
8695 * gdb.reverse/i386-reverse.exp
8696 * gdb.reverse/i386-sse-reverse.exp
8697 * gdb.reverse/i387-stack-reverse.exp
8698 * gdb.reverse/insn-reverse.exp
8699 * gdb.reverse/machinestate-precsave.exp
8700 * gdb.reverse/machinestate.exp
8701 * gdb.reverse/next-reverse-bkpt-over-sr.exp
8702 * gdb.reverse/pipe-reverse.exp
8703 * gdb.reverse/readv-reverse.exp
8704 * gdb.reverse/recvmsg-reverse.exp
8705 * gdb.reverse/rerun-prec.exp
8706 * gdb.reverse/s390-mvcle.exp
8707 * gdb.reverse/sigall-precsave.exp
8708 * gdb.reverse/sigall-reverse.exp
8709 * gdb.reverse/solib-precsave.exp
8710 * gdb.reverse/solib-reverse.exp
8711 * gdb.reverse/step-precsave.exp
8712 * gdb.reverse/step-reverse.exp
8713 * gdb.reverse/time-reverse.exp
8714 * gdb.reverse/until-precsave.exp
8715 * gdb.reverse/until-reverse.exp
8716 * gdb.reverse/waitpid-reverse.exp
8717 * gdb.reverse/watch-precsave.exp
8718 * gdb.reverse/watch-reverse.exp
8719
8720 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8721
8722 Fix test names starting with uppercase throughout the files.
8723
8724 * gdb.arch/i386-mpx-simple_segv.exp
8725 * gdb.arch/i386-mpx.exp
8726 * gdb.arch/i386-permbkpt.exp
8727 * gdb.arch/pa-nullify.exp
8728 * gdb.arch/powerpc-d128-regs.exp
8729 * gdb.arch/vsx-regs.exp
8730 * gdb.base/bfp-test.exp
8731 * gdb.base/break.exp
8732 * gdb.base/breakpoint-shadow.exp
8733 * gdb.base/callfuncs.exp
8734 * gdb.base/charset.exp
8735 * gdb.base/commands.exp
8736 * gdb.base/completion.exp
8737 * gdb.base/dfp-test.exp
8738 * gdb.base/echo.exp
8739 * gdb.base/ending-run.exp
8740 * gdb.base/eval.exp
8741 * gdb.base/expand-psymtabs.exp
8742 * gdb.base/float128.exp
8743 * gdb.base/floatn.exp
8744 * gdb.base/foll-exec-mode.exp
8745 * gdb.base/gdb1056.exp
8746 * gdb.base/gdb11531.exp
8747 * gdb.base/kill-after-signal.exp
8748 * gdb.base/multi-forks.exp
8749 * gdb.base/overlays.exp
8750 * gdb.base/pending.exp
8751 * gdb.base/sepdebug.exp
8752 * gdb.base/testenv.exp
8753 * gdb.base/valgrind-db-attach.exp
8754 * gdb.base/watch_thread_num.exp
8755 * gdb.base/watchpoint-cond-gone.exp
8756 * gdb.base/watchpoint.exp
8757 * gdb.base/watchpoints.exp
8758 * gdb.cp/arg-reference.exp
8759 * gdb.cp/baseenum.exp
8760 * gdb.cp/operator.exp
8761 * gdb.cp/shadow.exp
8762 * gdb.dwarf2/dw2-op-out-param.exp
8763 * gdb.dwarf2/dw2-reg-undefined.exp
8764 * gdb.go/chan.exp
8765 * gdb.go/hello.exp
8766 * gdb.go/integers.exp
8767 * gdb.go/methods.exp
8768 * gdb.go/package.exp
8769 * gdb.guile/scm-parameter.exp
8770 * gdb.guile/scm-progspace.exp
8771 * gdb.guile/scm-value.exp
8772 * gdb.mi/mi-pending.exp
8773 * gdb.mi/user-selected-context-sync.exp
8774 * gdb.multi/multi-attach.exp
8775 * gdb.multi/tids.exp
8776 * gdb.opt/clobbered-registers-O2.exp
8777 * gdb.pascal/floats.exp
8778 * gdb.pascal/integers.exp
8779 * gdb.python/py-block.exp
8780 * gdb.python/py-events.exp
8781 * gdb.python/py-parameter.exp
8782 * gdb.python/py-symbol.exp
8783 * gdb.python/py-symtab.exp
8784 * gdb.python/py-type.exp
8785 * gdb.python/py-value.exp
8786 * gdb.python/py-xmethods.exp
8787 * gdb.python/python.exp
8788 * gdb.reverse/break-precsave.exp
8789 * gdb.reverse/consecutive-precsave.exp
8790 * gdb.reverse/finish-precsave.exp
8791 * gdb.reverse/i386-precsave.exp
8792 * gdb.reverse/machinestate-precsave.exp
8793 * gdb.reverse/sigall-precsave.exp
8794 * gdb.reverse/solib-precsave.exp
8795 * gdb.reverse/step-precsave.exp
8796 * gdb.reverse/until-precsave.exp
8797 * gdb.reverse/watch-precsave.exp
8798 * gdb.server/ext-attach.exp
8799 * gdb.server/ext-restart.exp
8800 * gdb.server/ext-run.exp
8801 * gdb.server/ext-wrapper.exp
8802 * gdb.stabs/gdb11479.exp
8803 * gdb.stabs/weird.exp
8804 * gdb.threads/attach-many-short-lived-threads.exp
8805 * gdb.threads/kill.exp
8806 * gdb.threads/watchpoint-fork.exp
8807
8808 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8809
8810 Fix test names starting with uppercase throughout all the files below.
8811
8812 * gdb.ada/array_return.exp
8813 * gdb.ada/catch_ex.exp
8814 * gdb.ada/info_exc.exp
8815 * gdb.ada/mi_catch_ex.exp
8816 * gdb.ada/mi_dyn_arr.exp
8817 * gdb.ada/mi_ex_cond.exp
8818 * gdb.ada/mi_exc_info.exp
8819 * gdb.ada/mi_interface.exp
8820 * gdb.ada/mi_task_arg.exp
8821 * gdb.ada/mi_task_info.exp
8822 * gdb.ada/mi_var_array.exp
8823 * gdb.arch/alpha-step.exp
8824 * gdb.arch/amd64-disp-step.exp
8825 * gdb.arch/arm-disp-step.exp
8826 * gdb.arch/disp-step-insn-reloc.exp
8827 * gdb.arch/e500-prologue.exp
8828 * gdb.arch/ftrace-insn-reloc.exp
8829 * gdb.arch/gdb1558.exp
8830 * gdb.arch/i386-bp_permanent.exp
8831 * gdb.arch/i386-disp-step.exp
8832 * gdb.arch/i386-float.exp
8833 * gdb.arch/i386-gnu-cfi.exp
8834 * gdb.arch/ia64-breakpoint-shadow.exp
8835 * gdb.arch/mips16-thunks.exp
8836 * gdb.arch/pa-nullify.exp
8837 * gdb.arch/powerpc-aix-prologue.exp
8838 * gdb.arch/powerpc-power.exp
8839 * gdb.arch/ppc-dfp.exp
8840 * gdb.arch/s390-tdbregs.exp
8841 * gdb.arch/spu-info.exp
8842 * gdb.arch/spu-ls.exp
8843 * gdb.arch/thumb-bx-pc.exp
8844 * gdb.base/advance.exp
8845 * gdb.base/annota-input-while-running.exp
8846 * gdb.base/arrayidx.exp
8847 * gdb.base/asmlabel.exp
8848 * gdb.base/async.exp
8849 * gdb.base/attach-wait-input.exp
8850 * gdb.base/auto-connect-native-target.exp
8851 * gdb.base/batch-preserve-term-settings.exp
8852 * gdb.base/bfp-test.exp
8853 * gdb.base/bigcore.exp
8854 * gdb.base/bp-permanent.exp
8855 * gdb.base/break-always.exp
8856 * gdb.base/break-fun-addr.exp
8857 * gdb.base/break-idempotent.exp
8858 * gdb.base/break-main-file-remove-fail.exp
8859 * gdb.base/break-probes.exp
8860 * gdb.base/break-unload-file.exp
8861 * gdb.base/break.exp
8862 * gdb.base/call-ar-st.exp
8863 * gdb.base/call-rt-st.exp
8864 * gdb.base/call-sc.exp
8865 * gdb.base/call-signal-resume.exp
8866 * gdb.base/call-strs.exp
8867 * gdb.base/callexit.exp
8868 * gdb.base/callfuncs.exp
8869 * gdb.base/catch-gdb-caused-signals.exp
8870 * gdb.base/catch-signal-siginfo-cond.exp
8871 * gdb.base/catch-syscall.exp
8872 * gdb.base/compare-sections.exp
8873 * gdb.base/cond-eval-mode.exp
8874 * gdb.base/condbreak-call-false.exp
8875 * gdb.base/consecutive-step-over.exp
8876 * gdb.base/cursal.exp
8877 * gdb.base/disabled-location.exp
8878 * gdb.base/disasm-end-cu.exp
8879 * gdb.base/display.exp
8880 * gdb.base/double-prompt-target-event-error.exp
8881 * gdb.base/dprintf-bp-same-addr.exp
8882 * gdb.base/dprintf-detach.exp
8883 * gdb.base/dprintf-next.exp
8884 * gdb.base/dprintf-non-stop.exp
8885 * gdb.base/dprintf-pending.exp
8886 * gdb.base/dso2dso.exp
8887 * gdb.base/ending-run.exp
8888 * gdb.base/enum_cond.exp
8889 * gdb.base/examine-backward.exp
8890 * gdb.base/exe-lock.exp
8891 * gdb.base/exec-invalid-sysroot.exp
8892 * gdb.base/execl-update-breakpoints.exp
8893 * gdb.base/execution-termios.exp
8894 * gdb.base/fileio.exp
8895 * gdb.base/fixsection.exp
8896 * gdb.base/foll-exec-mode.exp
8897 * gdb.base/foll-exec.exp
8898 * gdb.base/fork-running-state.exp
8899 * gdb.base/frame-args.exp
8900 * gdb.base/fullpath-expand.exp
8901 * gdb.base/func-ptr.exp
8902 * gdb.base/gcore-relro-pie.exp
8903 * gdb.base/gdb1090.exp
8904 * gdb.base/gdb1555.exp
8905 * gdb.base/global-var-nested-by-dso.exp
8906 * gdb.base/gnu-ifunc.exp
8907 * gdb.base/hbreak-in-shr-unsupported.exp
8908 * gdb.base/hbreak-unmapped.exp
8909 * gdb.base/hook-stop.exp
8910 * gdb.base/infcall-input.exp
8911 * gdb.base/info-fun.exp
8912 * gdb.base/info-shared.exp
8913 * gdb.base/interrupt-noterm.exp
8914 * gdb.base/jit-so.exp
8915 * gdb.base/jit.exp
8916 * gdb.base/line-symtabs.exp
8917 * gdb.base/list.exp
8918 * gdb.base/longjmp.exp
8919 * gdb.base/macscp.exp
8920 * gdb.base/max-value-size.exp
8921 * gdb.base/nodebug.exp
8922 * gdb.base/nofield.exp
8923 * gdb.base/overlays.exp
8924 * gdb.base/paginate-after-ctrl-c-running.exp
8925 * gdb.base/paginate-bg-execution.exp
8926 * gdb.base/paginate-inferior-exit.exp
8927 * gdb.base/pending.exp
8928 * gdb.base/pr11022.exp
8929 * gdb.base/printcmds.exp
8930 * gdb.base/ptr-typedef.exp
8931 * gdb.base/ptype.exp
8932 * gdb.base/randomize.exp
8933 * gdb.base/range-stepping.exp
8934 * gdb.base/realname-expand.exp
8935 * gdb.base/relativedebug.exp
8936 * gdb.base/remote.exp
8937 * gdb.base/savedregs.exp
8938 * gdb.base/sepdebug.exp
8939 * gdb.base/set-noassign.exp
8940 * gdb.base/shlib-call.exp
8941 * gdb.base/shreloc.exp
8942 * gdb.base/sigaltstack.exp
8943 * gdb.base/sigbpt.exp
8944 * gdb.base/siginfo-addr.exp
8945 * gdb.base/siginfo-obj.exp
8946 * gdb.base/siginfo-thread.exp
8947 * gdb.base/signest.exp
8948 * gdb.base/signull.exp
8949 * gdb.base/sigrepeat.exp
8950 * gdb.base/skip.exp
8951 * gdb.base/so-impl-ld.exp
8952 * gdb.base/solib-corrupted.exp
8953 * gdb.base/solib-disc.exp
8954 * gdb.base/solib-display.exp
8955 * gdb.base/solib-overlap.exp
8956 * gdb.base/solib-search.exp
8957 * gdb.base/solib-symbol.exp
8958 * gdb.base/source-execution.exp
8959 * gdb.base/sss-bp-on-user-bp-2.exp
8960 * gdb.base/sss-bp-on-user-bp.exp
8961 * gdb.base/stack-checking.exp
8962 * gdb.base/stale-infcall.exp
8963 * gdb.base/step-break.exp
8964 * gdb.base/step-line.exp
8965 * gdb.base/step-over-exit.exp
8966 * gdb.base/step-test.exp
8967 * gdb.base/structs.exp
8968 * gdb.base/sym-file.exp
8969 * gdb.base/symtab-search-order.exp
8970 * gdb.base/term.exp
8971 * gdb.base/type-opaque.exp
8972 * gdb.base/unload.exp
8973 * gdb.base/until-nodebug.exp
8974 * gdb.base/until.exp
8975 * gdb.base/unwindonsignal.exp
8976 * gdb.base/watch-cond.exp
8977 * gdb.base/watch-non-mem.exp
8978 * gdb.base/watch_thread_num.exp
8979 * gdb.base/watchpoint-reuse-slot.exp
8980 * gdb.base/watchpoint-solib.exp
8981 * gdb.base/watchpoint.exp
8982 * gdb.btrace/dlopen.exp
8983 * gdb.cell/arch.exp
8984 * gdb.cell/break.exp
8985 * gdb.cell/bt.exp
8986 * gdb.cell/core.exp
8987 * gdb.cell/data.exp
8988 * gdb.cell/dwarfaddr.exp
8989 * gdb.cell/ea-cache.exp
8990 * gdb.cell/ea-standalone.exp
8991 * gdb.cell/ea-test.exp
8992 * gdb.cell/f-regs.exp
8993 * gdb.cell/fork.exp
8994 * gdb.cell/gcore.exp
8995 * gdb.cell/mem-access.exp
8996 * gdb.cell/ptype.exp
8997 * gdb.cell/registers.exp
8998 * gdb.cell/sizeof.exp
8999 * gdb.cell/solib-symbol.exp
9000 * gdb.cell/solib.exp
9001 * gdb.compile/compile-tls.exp
9002 * gdb.cp/exception.exp
9003 * gdb.cp/gdb2495.exp
9004 * gdb.cp/local.exp
9005 * gdb.cp/mb-inline.exp
9006 * gdb.cp/mb-templates.exp
9007 * gdb.cp/pr10687.exp
9008 * gdb.cp/pr9167.exp
9009 * gdb.cp/scope-err.exp
9010 * gdb.cp/templates.exp
9011 * gdb.cp/virtfunc.exp
9012 * gdb.dwarf2/dw2-dir-file-name.exp
9013 * gdb.dwarf2/dw2-single-line-discriminators.exp
9014 * gdb.fortran/complex.exp
9015 * gdb.fortran/library-module.exp
9016 * gdb.guile/guile.exp
9017 * gdb.guile/scm-cmd.exp
9018 * gdb.guile/scm-frame-inline.exp
9019 * gdb.guile/scm-objfile.exp
9020 * gdb.guile/scm-pretty-print.exp
9021 * gdb.guile/scm-symbol.exp
9022 * gdb.guile/scm-type.exp
9023 * gdb.guile/scm-value.exp
9024 * gdb.linespec/keywords.exp
9025 * gdb.linespec/ls-errs.exp
9026 * gdb.linespec/macro-relative.exp
9027 * gdb.linespec/thread.exp
9028 * gdb.mi/mi-breakpoint-changed.exp
9029 * gdb.mi/mi-dprintf-pending.exp
9030 * gdb.mi/mi-fullname-deleted.exp
9031 * gdb.mi/mi-logging.exp
9032 * gdb.mi/mi-pending.exp
9033 * gdb.mi/mi-solib.exp
9034 * gdb.mi/new-ui-mi-sync.exp
9035 * gdb.mi/user-selected-context-sync.exp
9036 * gdb.multi/dummy-frame-restore.exp
9037 * gdb.multi/multi-arch-exec.exp
9038 * gdb.multi/remove-inferiors.exp
9039 * gdb.multi/watchpoint-multi-exit.exp
9040 * gdb.opt/solib-intra-step.exp
9041 * gdb.perf/backtrace.exp
9042 * gdb.perf/single-step.exp
9043 * gdb.perf/skip-command.exp
9044 * gdb.perf/skip-prologue.exp
9045 * gdb.perf/solib.exp
9046 * gdb.python/lib-types.exp
9047 * gdb.python/py-as-string.exp
9048 * gdb.python/py-bad-printers.exp
9049 * gdb.python/py-block.exp
9050 * gdb.python/py-breakpoint.exp
9051 * gdb.python/py-cmd.exp
9052 * gdb.python/py-events.exp
9053 * gdb.python/py-evthreads.exp
9054 * gdb.python/py-finish-breakpoint.exp
9055 * gdb.python/py-finish-breakpoint2.exp
9056 * gdb.python/py-frame-inline.exp
9057 * gdb.python/py-frame.exp
9058 * gdb.python/py-inferior.exp
9059 * gdb.python/py-infthread.exp
9060 * gdb.python/py-mi.exp
9061 * gdb.python/py-objfile.exp
9062 * gdb.python/py-pp-maint.exp
9063 * gdb.python/py-pp-registration.exp
9064 * gdb.python/py-prettyprint.exp
9065 * gdb.python/py-recurse-unwind.exp
9066 * gdb.python/py-shared.exp
9067 * gdb.python/py-symbol.exp
9068 * gdb.python/py-symtab.exp
9069 * gdb.python/py-template.exp
9070 * gdb.python/py-type.exp
9071 * gdb.python/py-unwind-maint.exp
9072 * gdb.python/py-unwind.exp
9073 * gdb.python/py-value.exp
9074 * gdb.python/python.exp
9075 * gdb.reverse/finish-reverse-bkpt.exp
9076 * gdb.reverse/insn-reverse.exp
9077 * gdb.reverse/next-reverse-bkpt-over-sr.exp
9078 * gdb.reverse/solib-precsave.exp
9079 * gdb.reverse/solib-reverse.exp
9080 * gdb.stabs/gdb11479.exp
9081 * gdb.stabs/weird.exp
9082 * gdb.threads/fork-child-threads.exp
9083 * gdb.threads/fork-plus-threads.exp
9084 * gdb.threads/fork-thread-pending.exp
9085 * gdb.threads/forking-threads-plus-breakpoint.exp
9086 * gdb.threads/hand-call-in-threads.exp
9087 * gdb.threads/interrupted-hand-call.exp
9088 * gdb.threads/linux-dp.exp
9089 * gdb.threads/local-watch-wrong-thread.exp
9090 * gdb.threads/next-while-other-thread-longjmps.exp
9091 * gdb.threads/non-ldr-exit.exp
9092 * gdb.threads/pending-step.exp
9093 * gdb.threads/print-threads.exp
9094 * gdb.threads/process-dies-while-detaching.exp
9095 * gdb.threads/process-dies-while-handling-bp.exp
9096 * gdb.threads/pthreads.exp
9097 * gdb.threads/queue-signal.exp
9098 * gdb.threads/reconnect-signal.exp
9099 * gdb.threads/signal-command-handle-nopass.exp
9100 * gdb.threads/signal-command-multiple-signals-pending.exp
9101 * gdb.threads/signal-delivered-right-thread.exp
9102 * gdb.threads/signal-sigtrap.exp
9103 * gdb.threads/sigthread.exp
9104 * gdb.threads/staticthreads.exp
9105 * gdb.threads/stepi-random-signal.exp
9106 * gdb.threads/thread-unwindonsignal.exp
9107 * gdb.threads/thread_check.exp
9108 * gdb.threads/thread_events.exp
9109 * gdb.threads/tid-reuse.exp
9110 * gdb.threads/tls-nodebug.exp
9111 * gdb.threads/tls-shared.exp
9112 * gdb.threads/tls-so_extern.exp
9113 * gdb.threads/tls.exp
9114 * gdb.threads/wp-replication.exp
9115 * gdb.trace/actions-changed.exp
9116 * gdb.trace/actions.exp
9117 * gdb.trace/backtrace.exp
9118 * gdb.trace/change-loc.exp
9119 * gdb.trace/collection.exp
9120 * gdb.trace/deltrace.exp
9121 * gdb.trace/disconnected-tracing.exp
9122 * gdb.trace/entry-values.exp
9123 * gdb.trace/ftrace-lock.exp
9124 * gdb.trace/ftrace.exp
9125 * gdb.trace/infotrace.exp
9126 * gdb.trace/mi-trace-frame-collected.exp
9127 * gdb.trace/mi-trace-unavailable.exp
9128 * gdb.trace/mi-traceframe-changed.exp
9129 * gdb.trace/mi-tracepoint-changed.exp
9130 * gdb.trace/mi-tsv-changed.exp
9131 * gdb.trace/no-attach-trace.exp
9132 * gdb.trace/packetlen.exp
9133 * gdb.trace/passc-dyn.exp
9134 * gdb.trace/passcount.exp
9135 * gdb.trace/pending.exp
9136 * gdb.trace/pr16508.exp
9137 * gdb.trace/qtro.exp
9138 * gdb.trace/range-stepping.exp
9139 * gdb.trace/read-memory.exp
9140 * gdb.trace/report.exp
9141 * gdb.trace/save-trace.exp
9142 * gdb.trace/signal.exp
9143 * gdb.trace/stap-trace.exp
9144 * gdb.trace/status-stop.exp
9145 * gdb.trace/strace.exp
9146 * gdb.trace/tfile.exp
9147 * gdb.trace/tfind.exp
9148 * gdb.trace/trace-break.exp
9149 * gdb.trace/trace-condition.exp
9150 * gdb.trace/trace-enable-disable.exp
9151 * gdb.trace/trace-mt.exp
9152 * gdb.trace/tracecmd.exp
9153 * gdb.trace/tracefile-pseudo-reg.exp
9154 * gdb.trace/tspeed.exp
9155 * gdb.trace/tstatus.exp
9156 * gdb.trace/tsv.exp
9157 * gdb.trace/unavailable.exp
9158 * gdb.trace/while-dyn.exp
9159 * gdb.trace/while-stepping.exp
9160 * lib/gdb-guile.exp
9161 * lib/gdb.exp
9162 * lib/mi-support.exp
9163 * lib/pascal.exp
9164 * lib/perftest.exp
9165 * lib/prelink-support.exp
9166 * lib/selftest-support.exp
9167
9168 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
9169
9170 * Makefile.in: Include disable-implicit-rules.mk.
9171
9172 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
9173
9174 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
9175 non-byte-aligned bit fields.
9176
9177 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
9178
9179 PR gdb/12616
9180 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
9181 respects the DW_AT_data_bit_offset attribute.
9182
9183 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
9184
9185 * gdb.base/default.exp: Fix output of "set language".
9186
9187 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
9188
9189 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
9190 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
9191 make.
9192 * configure.ac: Remove checks for the make program.
9193 * configure: Re-generate.
9194
9195 2016-11-16 Kevin Buettner <kevinb@redhat.com>
9196
9197 * gdb.python/py-recurse-unwind.c (main): Add loop.
9198 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
9199 to read_register() and gdb.parse_and_eval(). Make each code
9200 call a separate case that can be individually tested.
9201 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
9202 proc. Call cont_and_backtrace for each of the code paths that
9203 we want to test in the unwinder.
9204
9205 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
9206
9207 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
9208 the definition of struct S.
9209
9210 2016-11-11 Catherine Moore <clm@codesourcery.com>
9211
9212 * gdb.base/dump.exp: Identify verilog format dump tests as such.
9213
9214 2016-11-09 Pedro Alves <palves@redhat.com>
9215
9216 * gdb.base/commands.exp (runto_or_return): New procedure.
9217 (gdbvar_simple_if_test, gdbvar_simple_while_test)
9218 (gdbvar_complex_if_while_test, progvar_simple_if_test)
9219 (progvar_simple_while_test, progvar_complex_if_while_test)
9220 (if_while_breakpoint_command_test)
9221 (infrun_breakpoint_command_test, breakpoint_command_test)
9222 (user_defined_command_test, watchpoint_command_test)
9223 (test_command_prompt_position, redefine_hook_test)
9224 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
9225 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
9226 multi_line_input and multi_line. Remove gdb_expect and
9227 gdb_stop_suppressing_tests uses.
9228 * lib/gdb.exp (valnum_re): New global.
9229 (multi_line_input): New procedure.
9230
9231 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
9232
9233 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
9234 Remove.
9235 (test_setup): Define with proc_with_prefix.
9236 (test_cli_inferior): Likewise.
9237 (test_cli_thread): Likewise.
9238 (test_cli_frame): Likewise.
9239 (test_cli_select_frame): Likewise.
9240 (test_cli_up_down): Likewise.
9241 (test_mi_thread_select): Likewise.
9242 (test_mi_stack_select_frame): Likewise.
9243 (test_cli_in_mi_inferior): Likewise.
9244 (test_cli_in_mi_thread): Likewise.
9245 (test_cli_in_mi_frame): Likewise.
9246 (top level): Do not use with_test_prefix_procname.
9247
9248 2016-11-09 Pedro Alves <palves@redhat.com>
9249
9250 * gdb.base/commands.exp (gdbvar_simple_if_test)
9251 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
9252 (progvar_simple_if_test, progvar_simple_while_test)
9253 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
9254 (infrun_breakpoint_command_test, breakpoint_command_test)
9255 (user_defined_command_test, watchpoint_command_test)
9256 (test_command_prompt_position, deprecated_command_test)
9257 (bp_deleted_in_command, temporary_breakpoint_commands)
9258 (stray_arg0_test, source_file_with_indented_comment)
9259 (recursive_source_test, if_commands_test)
9260 (error_clears_commands_left, redefine_hook_test)
9261 (redefine_backtrace_test): Use proc_with_prefix.
9262 * lib/gdb.exp (proc_with_prefix): New proc.
9263
9264 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
9265
9266 * gdb.base/tui-layout.c: New file.
9267 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
9268 disassembly window contains very long lines.
9269
9270 2016-11-08 Tom Tromey <tom@tromey.com>
9271
9272 * gdb.python/py-value.exp (test_value_creation): Make "long" test
9273 depend on Python 2.
9274
9275 2016-11-08 Tom Tromey <tom@tromey.com>
9276
9277 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
9278 New method.
9279
9280 2016-10-29 Manish Goregaokar <manish@mozilla.com>
9281
9282 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
9283
9284 2016-10-27 Manish Goregaokar <manish@mozilla.com>
9285
9286 * gdb.rust/simple.rs: Add test for univariant enums without
9287 discriminants and for encoded struct-like enums.
9288
9289 2016-10-28 Pedro Alves <palves@redhat.com>
9290
9291 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
9292 gdb_test_multiple, tighten regexps and match symtabs and line
9293 tables incrementally.
9294
9295 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
9296
9297 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
9298 general.
9299
9300 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
9301
9302 * gdb.base/exec-invalid-sysroot.exp: New file.
9303
9304 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9305
9306 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
9307
9308 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9309
9310 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
9311
9312 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
9313
9314 * gdb.base/killed-outside.exp: Remove $options from a call to
9315 `prepare_for_testing'.
9316
9317 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
9318
9319 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
9320 Change test message.
9321
9322 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
9323
9324 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
9325 Update comment.
9326
9327 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
9328
9329 * gdb.trace/mi-trace-save.exp: New file.
9330
9331 2016-10-13 Yao Qi <yao.qi@linaro.org>
9332
9333 * gdb.base/code_elim.exp (get_var_address): Remove.
9334 * gdb.base/relocate.exp: Likewise.
9335 * gdb.base/shreloc.exp: Likewise.
9336 * lib/gdb.exp (get_var_address): New.
9337
9338 2016-10-13 Yao Qi <yao.qi@linaro.org>
9339
9340 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
9341 floating point tests if $skip_float_test is false.
9342
9343 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
9344
9345 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
9346 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
9347 argc values.
9348 Add 1 to argc so we guarantee distinct initial/modified argc values.
9349
9350 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9351
9352 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
9353
9354 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9355
9356 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
9357 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
9358 * gdb.arch/vsx-regs.exp: Likewise.
9359
9360 2016-10-07 Yao Qi <yao.qi@linaro.org>
9361
9362 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
9363
9364 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
9365
9366 * gdb.python/python.exp: Test decode_line("*0").
9367
9368 2016-10-06 Doug Evans <dje@google.com>
9369
9370 * gdb.python/py-value.exp (test_value_creation): Add test for large
9371 unsigned 64-bit value.
9372
9373 2016-10-06 Tom Tromey <tom@tromey.com>
9374
9375 * gdb.compile/compile.exp: Change java tests to rust.
9376 * gdb.base/setshow.exp: Change java tests to rust.
9377 * gdb.base/default.exp: Remove java from language list.
9378 * README (Examples): Update language example.
9379 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
9380 test.
9381 * lib/gdb.exp (skip_java_tests): Remove.
9382 * lib/java.exp: Remove.
9383 * gdb.java: Remove.
9384
9385 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
9386
9387 * gdb.arch/mips-fcr.exp: New test.
9388 * gdb.arch/mips-fcr.c: Source for the new test.
9389
9390 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
9391
9392 * gdb.base/solib-disc.exp: Use `standard_output_file'
9393 throughout.
9394
9395 2016-10-06 Pedro Alves <palves@redhat.com>
9396
9397 * gdb.base/jit-simple-dl.c: New file.
9398 * gdb.base/jit-simple-jit.c: New file, factored out from ...
9399 * gdb.base/jit-simple.c: ... this.
9400 * gdb.base/jit-simple.exp (jit_run): Delete.
9401 (build_jit): New proc.
9402 (jit_test_reread): Recompile either the main program or the shared
9403 library, depending on what is being tested. Skip changing address
9404 if caller wants to. Compare before/after addresses. If testing
9405 standalone, explicitly load the binary. Test "maint info
9406 breakpoints".
9407 (top level): Add "standalone vs shared lib" and "change address"
9408 vs "same address" axes.
9409
9410 2016-10-06 Pedro Alves <palves@redhat.com>
9411
9412 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
9413 call.
9414 (jit_run): Delete.
9415 (jit_test_reread): Use with_test_prefix. Reload the main binary
9416 explicitly. Compare the before/after addresses of the JIT
9417 descriptor.
9418
9419 2016-08-15 Doug Evans <dje@google.com>
9420
9421 * gdb.xml/extra-regs.xml: Update, end field now required, default type
9422 for single bitfields is bool.
9423 * gdb.xml/tdesc-regs.exp: Ditto.
9424
9425 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9426
9427 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
9428
9429 2016-10-05 Yao Qi <yao.qi@linaro.org>
9430
9431 * lib/gdb.exp (support_complex_tests): Return zero if
9432 gdb_skip_float_test return true.
9433
9434 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
9435 Simon Marchi <simon.marchi@ericsson.com>
9436
9437 PR gdb/20487
9438 * gdb.mi/user-selected-context-sync.exp: New file.
9439 * gdb.mi/user-selected-context-sync.c: New file.
9440
9441 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
9442 Simon Marchi <simon.marchi@ericsson.com>
9443
9444 PR gdb/20487
9445 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
9446 =thread-select-event check.
9447
9448 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
9449
9450 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
9451 the compulsory L operand changes.
9452 * gdb.arch/powerpc-power.s: Likewise.
9453
9454 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9455
9456 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
9457 * gdb.base/jit-attach-pie.c: New file.
9458 * gdb.base/jit-attach-pie.exp: New file.
9459
9460 2016-09-28 Pedro Alves <palves@redhat.com>
9461
9462 * gdb.base/infcall-input.c: New file.
9463 * gdb.base/infcall-input.exp: New file.
9464
9465 2016-09-22 Yao Qi <yao.qi@linaro.org>
9466
9467 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
9468 (gdb_exit): Rename it to ...
9469 (gdbserver_gdb_exit): ... Close GDBserver.
9470 (gdb_exit): New proc, call gdbserver_gdb_exit.
9471 (mi_gdb_exit): Likewise.
9472
9473 2016-09-22 Yao Qi <yao.qi@linaro.org>
9474
9475 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
9476 path.
9477 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
9478 Remove duplication.
9479
9480 2016-09-22 Yao Qi <yao.qi@linaro.org>
9481
9482 * lib/gdbserver-support.exp: Check the existence of
9483 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
9484
9485 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
9486
9487 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
9488
9489 2016-09-21 Tom Tromey <tom@tromey.com>
9490
9491 PR gdb/20604:
9492 * gdb.base/quit.exp: New file.
9493
9494 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
9495
9496 * .gitignore: New file.
9497
9498 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
9499
9500 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
9501 throughout.
9502
9503 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9504
9505 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
9506
9507 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9508
9509 * gdb.cp/casts.cc (decltype): Move it ...
9510 (main): ... with its call to ...
9511 * gdb.cp/casts03.cc: ... a new file.
9512 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
9513
9514 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9515
9516 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
9517
9518 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
9519
9520 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
9521 and sync up the test with tests in gas/testsuite/gas/ppc.
9522 * gdb.arch/powerpc-power.exp: Likewise.
9523
9524 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9525
9526 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
9527
9528 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
9529 Jan Kratochvil <jan.kratochvil@redhat.com>
9530
9531 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
9532 make m1's definition to be different from m2's. Use 'dummy' as an
9533 argument for probe 'two'.
9534
9535 2016-09-10 Jon Beniston <jon@beniston.com>
9536
9537 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
9538 for sim target.
9539
9540 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
9541
9542 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
9543 variable declaration.
9544 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
9545 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
9546 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
9547 received HWCAP as its argument.
9548
9549 2016-09-06 Pedro Alves <palves@redhat.com>
9550
9551 * gdb.base/new-ui-pending-input.c: New file.
9552 * gdb.base/new-ui-pending-input.exp: New file.
9553 * gdb.exp (clear_gdb_spawn_id): New procedure.
9554 (with_spawn_id): Check whether gdb_spawn_id exists before
9555 referencing it. If gdb_spawn_id didn't exist on entry, clear it
9556 on exit.
9557
9558 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
9559
9560 * gdb.base/float128.c: New file.
9561 * gdb.base/float128.exp: Likewise.
9562 * gdb.base/floatn.c: Likewise.
9563 * gdb.base/floatn.exp: Likewise.
9564
9565 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
9566
9567 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
9568
9569 2016-09-05 Pedro Alves <palves@redhat.com>
9570
9571 PR backtrace/19927
9572 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
9573 unwinders are immediately called as side effect of "source" or
9574 "disable unwinder" commands.
9575 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
9576
9577 2016-09-02 Yao Qi <yao.qi@linaro.org>
9578
9579 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
9580 is true and $type is "float" or "double".
9581
9582 2016-09-02 Yao Qi <yao.qi@linaro.org>
9583
9584 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
9585 true.
9586 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
9587 * gdb.base/call-rt-st.exp: Likewise.
9588 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
9589 return value instead of gdb,skip_float_test.
9590 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
9591 (do_function_calls): Use its return value instead of
9592 gdb,skip_float_test.
9593 * gdb.base/finish.exp: Likewise.
9594 * gdb.base/funcargs.exp: Likewise.
9595 * gdb.base/return.exp: Likewise.
9596 * gdb.base/return2.exp: Likewise.
9597 * gdb.base/varargs.exp: Likewise.
9598 * lib/gdb.exp (gdb_skip_float_test): Change it to
9599 gdb_caching_proc. Detect the broken ptrace on arm-linux.
9600
9601 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
9602
9603 * gdb.multi/tids.exp: Test "thread apply all".
9604
9605 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9606
9607 * gdb.base/default.exp (tty): Remove.
9608
9609 2016-08-24 Kevin Buettner <kevinb@redhat.com>
9610
9611 * gdb.python/py-recurse-unwind.c: New file.
9612 * gdb.python/py-recurse-unwind.py: New file.
9613 * gdb.python/py-recurse-unwind.exp: New file.
9614
9615 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
9616
9617 * gdb.base/set-inferior-tty.exp: New file.
9618 * gdb.base/set-inferior-tty.c: New file.
9619
9620 2016-08-23 Pedro Alves <palves@redhat.com>
9621
9622 PR gdb/20494
9623 * gdb.base/new-ui-echo.c: New file.
9624 * gdb.base/new-ui-echo.exp: New file.
9625
9626 2016-08-23 Yao Qi <yao.qi@linaro.org>
9627
9628 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
9629 gdbserver_spawn.
9630 * gdb.server/connect-without-multi-process.exp (do_test):
9631 Likewise.
9632
9633 2016-08-23 Yao Qi <yao.qi@linaro.org>
9634
9635 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
9636 standalone_txt. Delete gdb_txt and standalone_txt on host
9637 and target. Spawn the binary on target. Copy files from
9638 target to host.
9639
9640 2016-08-22 Pedro Alves <palves@redhat.com>
9641
9642 PR gdb/20505
9643 * gdb.base/vdso-warning.exp: Test core dumps too. Use
9644 with_test_prefix. Factor out bits to ...
9645 (test_no_vdso): ... this new procedure.
9646
9647 2016-08-19 Carl Love <cel@us.ibm.com>
9648
9649 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
9650 maintaining separate logic for constructing the output path.
9651 * gdb.arch/powerpc-d128-regs.exp: Likewise.
9652 * gdb.arch/ppc-dfp.exp: Likewise.
9653 * gdb.arch/ppc-fp.exp: Likewise.
9654 * gdb.arch/vsx-regs.exp: Likewise.
9655 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
9656 binprefix for generating the additional binary files.
9657
9658 2016-08-19 Pedro Alves <palves@redhat.com>
9659
9660 * gdb.trace/mi-trace-frame-collected.exp
9661 (test_trace_frame_collected): On x32, expect two registers.
9662
9663 2016-08-18 Carl Love <cel@us.ibm.com>
9664
9665 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
9666 and sync up the test with tests in gas/testsuite/gas/ppc.
9667 * gdb.arch/powerpc-power.exp: Likewise.
9668
9669 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
9670
9671 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
9672 expected error message.
9673
9674 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
9675
9676 * gdb.multi/remove-inferiors.exp: New file.
9677 * gdb.multi/remove-inferiors.c: New file.
9678
9679 2016-08-12 Yao Qi <yao.qi@linaro.org>
9680
9681 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
9682 argument list.
9683
9684 2016-08-10 Pedro Alves <palves@redhat.com>
9685
9686 PR gdb/19187
9687 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
9688 setup_kfails.
9689
9690 2016-08-09 Pedro Alves <palves@redhat.com>
9691 Simon Marchi <simon.marchi@ericsson.com>
9692
9693 PR gdb/20418
9694 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
9695 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
9696
9697 2016-08-09 Pedro Alves <palves@redhat.com>
9698
9699 PR mi/20431
9700 * gdb.mi/mi-cmd-error.exp: New file.
9701
9702 2016-08-09 Pedro Alves <palves@redhat.com>
9703
9704 PR gdb/18653
9705 * gdb.base/signals-state-child.c: New file.
9706 * gdb.base/signals-state-child.exp: New file.
9707 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
9708
9709 2016-08-09 Pedro Alves <palves@redhat.com>
9710
9711 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
9712
9713 2016-08-03 Tom Tromey <tom@tromey.com>
9714
9715 PR python/18565:
9716 * gdb.python/py-frame-inline.exp: Add Frame.function test.
9717
9718 2016-08-01 Yao Qi <yao.qi@linaro.org>
9719
9720 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
9721 variable mode to "multi-process" if $multi_process is 1, otherwise
9722 set it to "single-process".
9723
9724 2016-08-01 Yao Qi <yao.qi@linaro.org>
9725
9726 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
9727 * gdb.cp/cpexprs.exp: Likewise.
9728 * gdb.cp/m-static.exp: Likewise.
9729
9730 2016-07-26 Tom Tromey <tom@tromey.com>
9731
9732 PR python/20190:
9733 * gdb.threads/tls.exp (check_thread_local): Add python symbol
9734 test.
9735
9736 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
9737
9738 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
9739 selecting assembly source files.
9740 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
9741 assembly source files.
9742 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
9743 assembly source files.
9744 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
9745 selecting assembly source files.
9746
9747 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
9748
9749 * gdb.base/new-ui.exp (do_test_invalid_args): New
9750 procedure.
9751
9752 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
9753
9754 * gdb.btrace/reconnect.c: New file.
9755 * gdb.btrace/reconnect.exp: New file.
9756
9757 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
9758
9759 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
9760 to test_catch_syscall_group.
9761 (test_catch_syscall_group): New.
9762
9763 2016-07-21 Tom Tromey <tom@tromey.com>
9764
9765 * gdb.rust/simple.rs (main): Use empty struct expression.
9766 * gdb.rust/simple.exp: Add tests for empty struct expression.
9767
9768 2016-07-21 Yao Qi <yao.qi@linaro.org>
9769
9770 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
9771 if gdb_skip_xml_test is true on some targets.
9772
9773 2016-07-21 Yao Qi <yao.qi@linaro.org>
9774
9775 * gdb.server/solib-list.exp: Unset last_loaded_file.
9776
9777 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9778
9779 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
9780 "step into captured_main (args)".
9781
9782 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9783
9784 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
9785
9786 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9787
9788 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
9789
9790 2016-07-19 Pedro Alves <palves@redhat.com>
9791
9792 * gdb.opt/inline-break.exp: Remove optimize=-O2.
9793 * gdb.opt/inline-bt.exp: Likewise.
9794 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
9795 additional_flags=-Winline.
9796 * gdb.opt/inline-locals.exp: Likewise.
9797 * gdb.opt/inline-markers.c (ATTR): Define.
9798 (inlined_fn): Use it.
9799
9800 2016-07-19 Yao Qi <yao.qi@linaro.org>
9801
9802 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
9803 (test_with_self): Remove some code. Remove argument executable.
9804 (top-level): Use do_self_tests.
9805
9806 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
9807 Don Breazeal <donb@codesourcery.com>
9808
9809 * gdb.base/maint.exp: Escape paths used in regular expressions.
9810 * gdb.stabs/weird.exp: Likewise.
9811
9812 2016-07-13 Tom Tromey <tom@tromey.com>
9813
9814 PR python/15620, PR python/18620:
9815 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
9816 (test_bkpt_events): New procs.
9817
9818 2016-07-13 Tom Tromey <tom@tromey.com>
9819
9820 PR python/17698:
9821 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
9822 test.
9823 (test_watchpoints): Likewise.
9824 (test_bkpt_pending): New proc.
9825
9826 2016-07-13 Tom Tromey <tom@tromey.com>
9827
9828 PR cli/18053:
9829 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
9830 completion test.
9831
9832 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9833
9834 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
9835 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
9836 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
9837 f_label.
9838 (g): Rename g_end_lbl to g_label.
9839 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
9840 low_pc and high_pc.
9841 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
9842
9843 2016-07-12 Tom Tromey <tom@tromey.com>
9844
9845 PR python/19293:
9846 * gdb.python/py-unwind-maint.exp: Update tests.
9847
9848 2016-07-12 Yao Qi <yao.qi@linaro.org>
9849
9850 * lib/selftest-support.exp (selftest_setup): Match the output
9851 when captured_main is inlined.
9852
9853 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
9854
9855 * gdb.fortran/derived-types.exp (result_line, result_line_2):
9856 New variables.
9857 (print this%a, print this%b, print this): New tests.
9858 * gdb.fortran/derived-types.f90 (this): New object and
9859 initialization.
9860
9861 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
9862
9863 * gdb.ada/arraydim.exp: Remove extra directory level in build
9864 directory.
9865
9866 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
9867
9868 * lib/ada.exp: Remove extra directory level in build directory.
9869 * gdb.ada/cond_lang.exp: Likewise.
9870 * gdb.ada/exec_changed.exp: Likewise.
9871 * gdb.ada/lang_switch.exp: Likewise.
9872
9873 2016-07-06 Manish Goregaokar <manish@mozilla.com>
9874
9875 * simple.rs: Add test for raw pointer subscripting.
9876 * simple.exp: Add test expectations.
9877
9878 2016-07-05 Yao Qi <yao.qi@linaro.org>
9879
9880 * gdb.mi/mi-reverse.exp: Match =record-started output.
9881
9882 2016-07-01 Pedro Alves <palves@redhat.com>
9883
9884 * gdb.base/jit-reader.exp (info_registers_current_frame): New
9885 procedure.
9886 (jit_reader_test): Test the jit reader's unwinder.
9887 * gdb.base/jithost.c (jit_function_00_code): New global.
9888 (main): Use memcpy to fill in the mmapped code, instead of poking
9889 bytes manually here.
9890 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
9891 value.
9892 (read_debug_info): Save the function's range.
9893 (read_sp): New function.
9894 (unwind_frame): Use it. Also unwind RBP.
9895 (get_frame_id): Use read_sp.
9896 (gdb_init_reader): Use calloc instead of malloc.
9897 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
9898 parameter. Use gdb_test_multiple.
9899
9900 2016-07-01 Pedro Alves <palves@redhat.com>
9901 Antoine Tremblay <antoine.tremblay@ericsson.com>
9902
9903 * gdb.threads/process-dies-while-detaching.c: New file.
9904 * gdb.threads/process-dies-while-detaching.exp: New file.
9905
9906 2016-07-01 Pedro Alves <palves@redhat.com>
9907
9908 * gdb.multi/watchpoint-multi-exit.c: New file.
9909 * gdb.multi/watchpoint-multi-exit.exp: New file.
9910
9911 2016-06-30 Pedro Alves <palves@redhat.com>
9912
9913 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
9914 unset inferior_spawn_id.
9915
9916 2016-06-30 Pedro Alves <palves@redhat.com>
9917
9918 * lib/mi-support.exp (default_mi_gdb_start): Declare global
9919 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
9920
9921 2016-06-29 Yao Qi <yao.qi@linaro.org>
9922
9923 * gdb.base/return.c: Add copyright header.
9924
9925 2016-06-29 Tom Tromey <tom@tromey.com>
9926
9927 PR python/20129:
9928 * gdb.python/py-framefilter.exp: Add tests for setting priority
9929 and disabling of non-existent frame filter.
9930
9931 2016-06-29 Yao Qi <yao.qi@linaro.org>
9932
9933 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
9934 0x0f07ff.
9935
9936 2016-06-28 Yao Qi <yao.qi@linaro.org>
9937
9938 * gdb.base/catch-syscall.exp: Remove check on isnative and target
9939 triplets. Start gdb, execute catch syscall, and continue. Check
9940 gdb's output to determine catch syscall is supported.
9941
9942 2016-06-27 Manish Goregaokar <manish@mozilla.com>
9943
9944 * gdb.rust/simple.rs: Add test for returning unit in a function.
9945 * gdb.rust/simple.exp: Add expectation for functions returning
9946 unit.
9947
9948 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
9949
9950 * gdb.python/py-breakpoint-create-fail.c,
9951 gdb.python/py-breakpoint-create-fail.exp,
9952 gdb.python/py-breakpoint-create-fail.py: New testcase.
9953
9954 2016-06-25 Manish Goregaokar <manish@mozilla.com>
9955
9956 PR gdb/20239
9957 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
9958 * gdb.rust/simple.exp: Add test expectations for new NonZero
9959 tests.
9960
9961 2016-06-24 David Taylor <dtaylor@emc.com>
9962
9963 * gdb.base/offsets.exp: New file.
9964 * gdb.base/offsets.c: New file.
9965
9966 2016-06-23 Tom Tromey <tom@tromey.com>
9967
9968 PR gdb/16483:
9969 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
9970 before any filters are loaded.
9971
9972 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
9973
9974 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
9975 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
9976 structs.
9977 * gdb.fortran/derived-type-function.exp: New file.
9978 * gdb.fortran/derived-type-function.f90: New file.
9979
9980
9981 2016-06-21 Pedro Alves <palves@redhat.com>
9982
9983 * gdb.base/new-ui.exp: New file.
9984 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
9985 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
9986 (with_spawn_id): New procedure.
9987
9988 2016-06-21 Pedro Alves <palves@redhat.com>
9989
9990 * gdb.mi/mi-exec-run.exp: New file.
9991
9992 2016-06-21 Pedro Alves <palves@redhat.com>
9993
9994 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
9995 breakpoint command's output on the main UI.
9996 (test_break): New procedure, factored out from calls in the top
9997 level.
9998 (top level): Use foreach_with_prefix to test MI as main UI and as
9999 separate UI.
10000
10001 2016-06-21 Pedro Alves <palves@redhat.com>
10002
10003 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
10004 (test_awatch_creation_and_listing)
10005 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
10006 Remove 'type' parameter.
10007 (test_watchpoint_all): New parameter mi_mode. Remove
10008 with_test_prefix.
10009 (top level): Use foreach_with_prefix, and add main/separate UI MI
10010 testing axis.
10011
10012 2016-06-21 Pedro Alves <palves@redhat.com>
10013
10014 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
10015 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
10016 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
10017 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
10018 (gdb_main_spawn_id, mi_spawn_id): Declare and
10019 comment.
10020 (mi_create_inferior_pty): New procedure,
10021 factored out from default_mi_gdb_start.
10022 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
10023 procedures.
10024 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
10025 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
10026 Use mi_create_inferior_pty.
10027 (mi_gdb_start): Use eval to pass down args list.
10028
10029 2016-06-21 Pedro Alves <palves@redhat.com>
10030
10031 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
10032 * gdb.opt/inline-cmds.exp: Add MI tests.
10033
10034 2016-06-21 Pedro Alves <palves@redhat.com>
10035
10036 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
10037
10038 2016-06-21 Pedro Alves <palves@redhat.com>
10039
10040 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
10041 (top level): Use it instead of mi_execute_to.
10042
10043 2016-06-21 Pedro Alves <palves@redhat.com>
10044
10045 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
10046 (cont_handler_str): New.
10047 (signal_stop_handler): Set stop_handler_str instead of printing to
10048 stdout.
10049 (continue_handler): Set cont_handler_str instead of printing to
10050 stdout.
10051 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
10052 mi_send_resuming_command. Print stop_handler_str and
10053 cont_handler_str instead of expecting the python events print
10054 directly.
10055
10056 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
10057
10058 * gdb.base/jit-reader.exp: New file.
10059 * gdb.base/jithost.c: New file.
10060 * gdb.base/jithost.h: New file.
10061 * gdb.base/jitreader.c : New file.
10062 * gdb.base/jit-protocol.h: New file.
10063
10064 2016-06-17 Yao Qi <yao.qi@linaro.org>
10065
10066 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
10067 parameters follow_fork and detach_on_fork. Set follow-fork-mode
10068 and detach-on-fork. Adjust tests.
10069 (top level): Invoke break_cond_on_syscall with combinations of
10070 syscall, follow-fork-mode and detach-on-fork.
10071
10072 2016-06-17 Yao Qi <yao.qi@linaro.org>
10073
10074 * gdb.base/step-over-exit.c: New.
10075 * gdb.base/step-over-exit.exp: New.
10076
10077 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
10078
10079 * gdb.base/float.exp: Add target check for nds32*-*-*.
10080 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
10081
10082 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
10083
10084 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
10085 for unsupported target features.
10086 * gdb.base/call-rt-st.exp: Likewise.
10087 * gdb.base/call-sc.exp: Likewise.
10088 * gdb.base/call-signal-resume.exp: Likewise.
10089 * gdb.base/call-strs.exp: Likewise.
10090 * gdb.base/callexit.exp: Likewise.
10091 * gdb.base/callfuncs.exp: Likewise.
10092 * gdb.base/nodebug.exp: Likewise.
10093 * gdb.base/printcmds.exp: Likewise.
10094 * gdb.base/ptype.exp: Likewise.
10095 * gdb.base/structs.exp: Likewise.
10096 * gdb.base/unwindonsignal.exp: Likewise.
10097 * gdb.cp/gdb2495.exp: Likewise.
10098 * gdb.cp/templates.exp: Likewise.
10099 * gdb.cp/virtfunc.exp: Likewise.
10100 * gdb.threads/hand-call-in-threads.exp: Likewise.
10101 * gdb.threads/interrupted-hand-call.exp: Likewise.
10102 * gdb.threads/thread-unwindonsignal.exp: Likewise.
10103
10104 2016-06-10 Tom Tromey <tom@tromey.com>
10105
10106 PR rust/20110:
10107 * gdb.rust/expr.exp: Add test for integer constant larger than
10108 i32.
10109
10110 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
10111
10112 * gdb.fortran/nested-funcs.exp: New.
10113 * gdb.fortran/nested-funcs.f90: New.
10114
10115 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
10116
10117 * gdb.base/examine-backward.c: New file.
10118 * gdb.base/examine-backward.exp: New file.
10119
10120 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
10121
10122 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
10123 matching.
10124
10125 2016-06-02 Tom Tromey <tom@tromey.com>
10126
10127 PR python/18984:
10128 * gdb.python/py-shared.exp: Add solib_name test.
10129
10130 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
10131
10132 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
10133
10134 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
10135
10136 PR c++/19893
10137 * gdb.dwarf2/implref.exp: Rename to...
10138 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
10139 * gdb.dwarf2/implref-array.c: New file.
10140 * gdb.dwarf2/implref-array.exp: Likewise.
10141 * gdb.dwarf2/implref-global.c: Likewise.
10142 * gdb.dwarf2/implref-global.exp: Likewise.
10143 * gdb.dwarf2/implref-struct.c: Likewise.
10144 * gdb.dwarf2/implref-struct.exp: Likewise.
10145
10146 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10147
10148 * gdb.trace/trace-condition.exp: Add 64bit tests.
10149
10150 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10151
10152 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
10153 bits types.
10154 (main): Adapt to 8 to 64 bits types.
10155 * gdb.trace/trace-condition.exp: Add new tests.
10156
10157 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10158
10159 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
10160
10161 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10162
10163 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
10164 Move condition tests...
10165 * gdb.trace/trace-condition.exp: Here.
10166
10167 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10168
10169 * gdb.trace/trace-condition.exp: Add counter-case tests.
10170
10171 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10172
10173 PR c++/15231
10174 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
10175 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
10176
10177 2016-05-27 Pedro Alves <palves@redhat.com>
10178
10179 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
10180 New procedure.
10181 (top level): Call it, and bail out of DejaGnu is known to be bad.
10182
10183 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
10184
10185 * gdb.base/whatis.c: Extend the test case.
10186 * gdb.base/whatis.exp: Add additional tests.
10187
10188 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10189
10190 * gdb.fortran/type.f90: Add pointer variable.
10191 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
10192
10193 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10194
10195 * gdb.fortran/vla-type.exp: Fix testcase name.
10196
10197 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10198
10199 * gdb.fortran/vla-type.exp: Access elements in nested structs.
10200
10201 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10202
10203 * gdb.fortran/type.f90: Add nested structures.
10204 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
10205 * gdb.fortran/derived-type.exp: Adapt expected output.
10206 * gdb.fortran/vla-type.exp: Adapt expected output.
10207
10208 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10209
10210 * gdb.fortran/whatis_type.exp: Adapt expected output.
10211
10212 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10213
10214 * gdb.fortran/print_type.exp: Fix expected output.
10215 * gdb.fortran/whatis_type.exp: Fix expected output.
10216
10217 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10218
10219 * gdb.fortran/whatis_type.exp: Use multi_line.
10220
10221 2016-05-24 Tom Tromey <tom@tromey.com>
10222
10223 PR python/17386:
10224 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
10225 use value as an index.
10226
10227 2016-05-23 Tom Tromey <tom@tromey.com>
10228
10229 PR python/17981:
10230 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
10231 no-breakpoint case.
10232
10233 2016-05-24 Pedro Alves <palves@redhat.com>
10234
10235 PR gdb/19828
10236 * gdb.threads/clone-attach-detach.c: New file.
10237 * gdb.threads/clone-attach-detach.exp: New file.
10238
10239 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
10240
10241 * gdb.base/annota-input-while-running.exp: Fix syntax error.
10242
10243 2016-05-23 Tom Tromey <tom@tromey.com>
10244
10245 PR python/19438, PR python/18393:
10246 * gdb.python/py-progspace.exp: Add "dir" test.
10247 * gdb.python/py-objfile.exp: Add "dir" test.
10248
10249 2016-05-23 Yao Qi <yao.qi@linaro.org>
10250
10251 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
10252 * gdb.arch/thumb2-it.exp: Likewise.
10253
10254 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
10255
10256 * gdb.mi/mi-threads-interrupt.c: New file.
10257 * gdb.mi/mi-threads-interrupt.exp: New file.
10258
10259 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
10260
10261 PR gdb/18077
10262 * gdb.mi/mi-async-run.exp: New file.
10263 * gdb.mi/mi-async-run.c: New file.
10264
10265 2016-05-17 Tom Tromey <tom@tromey.com>
10266 Manish Goregaokar <manishsmail@gmail.com>
10267
10268 * lib/rust-support.exp: New file.
10269 * lib/gdb.exp (skip_rust_tests): New proc.
10270 (build_executable_from_specs): Handle rust.
10271 * lib/future.exp (gdb_find_rustc): New proc.
10272 (gdb_default_target_compile): Handle rust.
10273 * gdb.rust/expr.exp: New file.
10274 * gdb.rust/generics.exp: New file.
10275 * gdb.rust/generics.rs: New file.
10276 * gdb.rust/methods.exp: New file.
10277 * gdb.rust/methods.rs: New file.
10278 * gdb.rust/modules.exp: New file.
10279 * gdb.rust/modules.rs: New file.
10280 * gdb.rust/simple.exp: New file.
10281 * gdb.rust/simple.rs: New file.
10282
10283 2016-05-17 Tom Tromey <tom@tromey.com>
10284
10285 * gdb.base/default.exp (set language): Add rust.
10286
10287 2016-05-17 Tom Tromey <tom@tromey.com>
10288
10289 * gdb.gdb/unittest.exp: New file.
10290
10291 2016-05-16 Yao Qi <yao.qi@linaro.org>
10292
10293 * gdb.base/batch-preserve-term-settings.exp: Remove variable
10294 shell_prompt. Update shell_prompt_re.
10295
10296 2016-05-12 Doug Evans <dje@google.com>
10297
10298 PR symtab/19999
10299 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
10300 $options when building executable.
10301 * gdb.dwarf2/fission-loclists-pie.S: New file.
10302 * gdb.dwarf2/fission-loclists-pie.exp: New file.
10303
10304 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
10305
10306 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
10307 of [is_remote target],
10308
10309 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
10310
10311 * lib/gdb.exp (use_gdb_stub): New procedure.
10312
10313 2016-05-03 Yunlian Jiang <yunlian@google.com>
10314 Doug Evans <dje@google.com>
10315
10316 PR symtab/19914
10317 * gdb.dwarf2/dwp-sepdebug.c: New file.
10318 * gdb.dwarf2/dwp-sepdebug.exp: New file.
10319
10320 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
10321
10322 * gdb.base/detach.exp: Remove is_remote check.
10323
10324 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
10325
10326 * gdb.base/annota-input-while-running.exp: Don't check for
10327 [is_remote target]. Enable annotations after running to main.
10328 Remove unused "set test..." line.
10329
10330 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
10331
10332 * gdb.trace/trace-enable-disable.exp: New file.
10333 * gdb.trace/trace-enable-disable.c: New file.
10334
10335 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
10336
10337 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
10338 use it in info sharedlibrary test.
10339 * gdb.trace/ftrace-lock.exp: Likewise.
10340 * gdb.trace/ftrace.exp: Likewise.
10341 * gdb.trace/range-stepping.exp: Likewise.
10342 * gdb.trace/trace-break.exp: Likewise.
10343 * gdb.trace/trace-condition.exp: Likewise.
10344 * gdb.trace/trace-mt.exp: Likewise.
10345
10346 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
10347
10348 * lib/gdb.exp (gdb_load_shlibs): Rename to...
10349 (gdb_load_shlib): ... this.
10350 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
10351 gdb_load_shlib.
10352 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
10353 * gdb.base/ctxobj.exp: Likewise.
10354 * gdb.base/dprintf-pending.exp: Likewise.
10355 * gdb.base/dso2dso.exp: Likewise.
10356 * gdb.base/fixsection.exp: Likewise.
10357 * gdb.base/gcore-relro.exp: Likewise.
10358 * gdb.base/gdb1555.exp: Likewise.
10359 * gdb.base/global-var-nested-by-dso.exp: Likewise.
10360 * gdb.base/gnu-ifunc.exp: Likewise.
10361 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
10362 * gdb.base/jit-so.exp (one_jit_test): Likewise.
10363 * gdb.base/pending.exp: Likewise.
10364 * gdb.base/print-file-var.exp: Likewise.
10365 * gdb.base/print-symbol-loading.exp: Likewise.
10366 * gdb.base/shlib-call.exp: Likewise.
10367 * gdb.base/shreloc.exp: Likewise.
10368 * gdb.base/so-impl-ld.exp: Likewise.
10369 * gdb.base/solib-disc.exp: Likewise.
10370 * gdb.base/solib-nodir.exp: Likewise.
10371 * gdb.base/solib-overlap.exp: Likewise.
10372 * gdb.base/solib-symbol.exp: Likewise.
10373 * gdb.base/solib-weak.exp (do_test): Likewise.
10374 * gdb.base/sym-file.exp: Likewise.
10375 * gdb.base/symtab-search-order.exp: Likewise.
10376 * gdb.base/type-opaque.exp: Likewise.
10377 * gdb.base/unload.exp: Likewise.
10378 * gdb.base/watchpoint-solib.exp: Likewise.
10379 * gdb.compile/compile.exp: Likewise.
10380 * gdb.cp/gdb2384.exp: Likewise.
10381 * gdb.cp/infcall-dlopen.exp: Likewise.
10382 * gdb.cp/re-set-overloaded.exp: Likewise.
10383 * gdb.fortran/library-module.exp: Likewise.
10384 * gdb.opt/solib-intra-step.exp: Likewise.
10385 * gdb.python/py-finish-breakpoint.exp: Likewise.
10386 * gdb.python/py-shared.exp: Likewise.
10387 * gdb.reverse/solib-precsave.exp: Likewise.
10388 * gdb.reverse/solib-reverse.exp: Likewise.
10389 * gdb.server/solib-list.exp: Likewise.
10390 * gdb.threads/dlopen-libpthread.exp: Likewise.
10391 * gdb.threads/tls-shared.exp: Likewise.
10392 * gdb.threads/tls-so_extern.exp: Likewise.
10393 * gdb.trace/change-loc.exp: Likewise.
10394 * gdb.trace/ftrace-lock.exp: Likewise.
10395 * gdb.trace/ftrace.exp: Likewise.
10396 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
10397 * gdb.trace/pending.exp: Likewise.
10398 * gdb.trace/range-stepping.exp: Likewise.
10399 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
10400 (strace_info_marker): Likewise.
10401 (strace_probe_marker): Likewise.
10402 (strace_trace_on_same_addr): Likewise.
10403 (strace_trace_on_diff_addr): Likewise.
10404 * gdb.trace/trace-break.exp: Likewise.
10405 * gdb.trace/trace-condition.exp: Likewise.
10406 * gdb.trace/trace-mt.exp: Likewise.
10407
10408 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
10409
10410 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
10411 result of gdb_remote_download.
10412 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
10413 * gdb.base/dso2dso.exp: Likewise.
10414 * gdb.base/global-var-nested-by-dso.exp: Likewise.
10415 * gdb.base/print-file-var.exp: Likewise.
10416 * gdb.base/shlib-call.exp: Likewise.
10417 * gdb.base/shreloc.exp: Likewise.
10418 * gdb.base/solib-overlap.exp: Likewise.
10419 * gdb.base/solib-weak.exp (do_test): Likewise.
10420 * gdb.base/unload.exp: Likewise.
10421
10422 2016-04-27 Yao Qi <yao.qi@linaro.org>
10423
10424 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
10425 exists.
10426
10427 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
10428
10429 * vla-type.exp: Print structure from toplevel.
10430
10431 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
10432
10433 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
10434 of dynamic types.
10435 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
10436 of dynamic types.
10437
10438 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
10439
10440 * gdb.fortran/vla-type.f90: New file.
10441 * gdb.fortran/vla-type.exp: New file.
10442
10443 2016-04-25 Yao Qi <yao.qi@linaro.org>
10444
10445 * gdb.base/branch-to-self.c: New file.
10446 * gdb.base/branch-to-self.exp: New file.
10447
10448 2016-04-22 Yao Qi <yao.qi@linaro.org>
10449
10450 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
10451 more after $hex.
10452
10453 2016-04-22 Yao Qi <yao.qi@linaro.org>
10454
10455 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
10456 * gdb.base/annota3.exp: Likewise.
10457
10458 2016-04-22 Yao Qi <yao.qi@linaro.org>
10459
10460 * gdb.reverse/step-precsave.exp: Do one step and test program
10461 stops in "callee" and do multiple steps until program goes out
10462 of "callee".
10463 * gdb.reverse/step-reverse.exp: Likewise.
10464
10465 2016-04-22 Yao Qi <yao.qi@linaro.org>
10466
10467 * gdb.trace/signal.exp: Also pass if
10468 $tracepoint_hits($i) > $iterations.
10469
10470 2016-04-22 Yao Qi <yao.qi@linaro.org>
10471
10472 * gdb.trace/signal.c: New file.
10473 * gdb.trace/signal.exp: New file.
10474
10475 2016-04-19 Doug Evans <xdje42@gmail.com>
10476
10477 * gdb.base/bad-file.exp: New file.
10478
10479 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
10480
10481 * gdb.dwarf2/implref.exp: New file.
10482
10483 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
10484
10485 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
10486 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
10487 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
10488 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
10489 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
10490 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
10491 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
10492 * lib/fortran.exp (fortran_int4): New procedure.
10493 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
10494 (fortran_logical4): Likewise.
10495
10496 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
10497
10498 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
10499
10500 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
10501
10502 * lib/compiler.c: Add Intel specific preprocessor macros.
10503 * lib/compiler.cc: Likewise.
10504
10505 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
10506
10507 * gdb.server/connect-with-no-symbol-file.c: New file.
10508 * gdb.server/connect-with-no-symbol-file.exp: New file.
10509
10510 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
10511
10512 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
10513
10514 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
10515
10516 * boards/gdbserver-base.exp (${board}_download): Copy source file to
10517 standard output directory.
10518
10519 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
10520
10521 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
10522
10523 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
10524
10525 * gdb.btrace/instruction_history.c (loop): Add declaration.
10526
10527 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
10528
10529 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
10530
10531 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
10532
10533 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
10534 parentheses to print.
10535 (continue_handler): Likewise.
10536
10537 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
10538
10539 * gdb.server/solib-list.exp: Remove is_remote check.
10540 Pass shlib= to gdb_compile. Don't link shared library with
10541 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
10542 Run binary filename through "readlink -f" on the target.
10543
10544 2016-04-08 Pedro Alves <palves@redhat.com>
10545
10546 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
10547 interpreter filename as argument to gdbserver_spawn.
10548 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
10549 Return empty if $last_loaded_file does not exist.
10550
10551 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10552
10553 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
10554 * gdb.base/jit-main.c: Use exit after usage.
10555
10556 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10557
10558 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
10559 GDBHISTSIZE prior to the tests.
10560 * gdb.base/gdbinit-history.exp: Likewise.
10561
10562 2016-04-07 Pedro Alves <palves@redhat.com>
10563
10564 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
10565 instead of build_executable. Use gdb_load_shlibs.
10566
10567 2016-04-07 Yao Qi <yao.qi@linaro.org>
10568
10569 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
10570 Execute "si" command.
10571
10572 2016-04-07 Yao Qi <yao.qi@linaro.org>
10573
10574 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
10575 number instead of the comments on some line.
10576
10577 2016-04-06 Don Breazeal <donb@codesourcery.com>
10578
10579 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
10580 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
10581
10582 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
10583
10584 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
10585 standard_output_file. Remove unused binfile variable.
10586
10587 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
10588
10589 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
10590 * gdb.python/py-mi-objfile.exp: Match "list main" output
10591 in console format.
10592
10593 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
10594
10595 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
10596 absolute.
10597
10598 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
10599
10600 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
10601 absolute.
10602 * gdb.trace/ftrace.exp: Likewise.
10603 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
10604 targets as well.
10605 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
10606 (gdb_load_shlibs): Copy libraries to test directory when testing
10607 natively. Only set solib-search-path if testing remotely.
10608 * lib/mi-support.exp (mi_load_shlibs): Likewise.
10609
10610 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
10611
10612 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
10613 gdb_download. Use it even if the target is not remote.
10614 * gdb.base/jit.exp (compile_jit_test): Likewise.
10615 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
10616 output directory if the destination board is local, otherwise use
10617 the standard remote_download from DejaGnu.
10618 (gdb_download): Remove.
10619 (gdb_load_shlibs): Use gdb_remote_download instead of
10620 gdb_download.
10621 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
10622 Use gdb_remote_download instead of gdb_download. Use it even if
10623 the target is not remote.
10624 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
10625 instead of gdb_download.
10626
10627 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
10628
10629 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
10630 (test_insert_delete_modify): Call mi_load_shlibs before trying to
10631 run.
10632
10633 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
10634
10635 PR gdb/19820
10636 * gdb.base/printcmds.exp: Add artificial arrays tests.
10637
10638 2016-03-31 Pedro Alves <palves@redhat.com>
10639
10640 PR gdb/19858
10641 * gdb.base/jit-main.c: Include unistd.h.
10642 (ATTACH): Define to 0 if not already defined.
10643 (wait_for_gdb, mypid): New globals.
10644 (WAIT_FOR_GDB): New macro.
10645 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
10646 some breakpoint locations.
10647 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
10648 New procedures.
10649 (one_jit_test): Add REATTACH parameter, and handle it. Use
10650 continue_to_test_location.
10651 (top level): Test attach, and adjusts calls to one_jit_test.
10652
10653 2016-03-31 Pedro Alves <palves@redhat.com>
10654
10655 PR gdb/19858
10656 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
10657 BINSUFFIX parameter, and handle it.
10658 (top level): Adjust calls compile_jit_test.
10659
10660 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
10661
10662 PR python/19743
10663 * gdb.python/py-mi-events-gdb.py: New file.
10664 * gdb.python/py-mi-events.c: New file.
10665 * gdb.python/py-mi-events.exp: New file.
10666
10667 2016-03-30 Yao Qi <yao.qi@linaro.org>
10668
10669 * gdb.reverse/until-precsave.exp: Match function name only.
10670 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
10671 Move malloc to a condition block.
10672 * gdb.reverse/until-reverse.exp: Match function name only.
10673
10674 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
10675
10676 * gdb.trace/ftrace.exp: Set arg0exp for s390.
10677 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
10678 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
10679 variable for GPR 0 instead of assuming it is register 0.
10680 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
10681 * lib/trace-support.exp: Add s390 registers.
10682
10683 2016-03-29 Yao Qi <yao.qi@linaro.org>
10684
10685 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
10686
10687 2016-03-24 Yao Qi <yao.qi@linaro.org>
10688
10689 * gdb.reverse/break-reverse.exp: Add quotation mark in the
10690 test message.
10691
10692 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
10693
10694 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
10695 maintaining separate logic for constructing the output path.
10696
10697 2016-03-16 Don Breazeal <donb@codesourcery.com>
10698
10699 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
10700 Retry fork and waitpid on interrupted system call errors.
10701 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10702 Use with_timeout_factor to increase timeout by factor of 10.
10703
10704 2016-03-15 Don Breazeal <donb@codesourcery.com>
10705
10706 * gdb.cp/scope-err.cc: New test program.
10707 * gdb.cp/scope-err.exp: New test script.
10708 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
10709 lines and "set breakpoint here" comment.
10710 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
10711 Fixed some whitespace and format issues.
10712 * gdb.mi/mi-linespec-err-cp.cc: New test program.
10713 * gdb.mi/mi-linespec-err-cp.exp: New test script.
10714
10715 2016-03-15 Doug Evans <dje@google.com>
10716
10717 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
10718 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
10719 All callers updated. Add tests for enums, mixed flags register.
10720
10721 2016-03-15 Doug Evans <dje@google.com>
10722
10723 * gdb.base/skip.c (main): Call test_skip_file_and_function.
10724 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
10725
10726 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
10727
10728 * gdb.base/default.exp: Add $_as_string to the list of expected
10729 convenience functions.
10730
10731 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
10732
10733 * gdb.base/maint.exp: New tests for 'maint info line-table'.
10734
10735 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
10736
10737 * gdb.python/py-as-string.exp: New file.
10738 * gdb.python/py-as-string.c: New file.
10739
10740 2016-03-09 Pedro Alves <palves@redhat.com>
10741
10742 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
10743 signal" -> "Thread NN received signal" output change.
10744 * gdb.threads/ia64-sigill.exp: Likewise.
10745 * gdb.threads/linux-dp.exp: Likewise.
10746 * gdb.threads/manythreads.exp: Likewise.
10747 * gdb.threads/pending-step.exp: Likewise.
10748 * gdb.threads/print-threads.exp: Likewise.
10749 * gdb.threads/sigstep-threads.exp: Likewise.
10750 * gdb.threads/staticthreads.exp: Likewise.
10751 * gdb.threads/tls.exp: Likewise.
10752
10753 2016-03-09 Pedro Alves <palves@redhat.com>
10754
10755 * gdb.base/command-line-input.exp: New file.
10756
10757 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10758
10759 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
10760 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
10761 * gdb.trace/pending.exp: Accept leading dot before function name.
10762 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
10763 * lib/trace-support.exp: Set registers for ppc.
10764
10765 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10766
10767 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
10768 use it for disassembly; accept .main in addition to main in backtrace.
10769
10770 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
10771 Marcin Kościelnicki <koriakin@0x04.net>
10772
10773 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
10774 (gdb_recursion_test_ptr): New global variable.
10775 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
10776 gdb_recursion_test.
10777 (gdb_c_test): Ditto.
10778
10779 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10780
10781 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
10782 ordering.
10783
10784 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10785
10786 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
10787 (bar): Add bar_start_lbl label.
10788 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
10789 of foo/bar for emitting DWARF and tracing.
10790
10791 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
10792
10793 * analyze-racy-logs.py: Set executable bit.
10794
10795 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
10796
10797 * Makefile.in (DEFAULT_RACY_ITER): New variable.
10798 (CHECK_TARGET_TMP): Likewise.
10799 (check-single-racy): New rule.
10800 (check-parallel-racy): Likewise.
10801 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
10802 (do-check-parallel-racy): New rule.
10803 (check-racy/%.exp): Likewise.
10804 * README (Racy testcases): New section.
10805 * analyze-racy-logs.py: New file.
10806
10807 2016-03-03 Doug Evans <dje@google.com>
10808
10809 * gdb.base/skip.exp: Use with_test_prefix.
10810
10811 2016-03-03 Yao Qi <yao.qi@linaro.org>
10812
10813 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
10814 Invoke step_over_syscall "clone" and break_cond_on_syscall
10815 "clone".
10816 * gdb.base/step-over-clone.c: New file.
10817
10818 2016-03-03 Yao Qi <yao.qi@linaro.org>
10819
10820 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
10821 code format.
10822
10823 2016-03-03 Yao Qi <yao.qi@linaro.org>
10824
10825 * gdb.base/disp-step-fork.c: Rename to ...
10826 * gdb.base/step-over-fork.c: ... it. New file.
10827 * gdb.base/disp-step-vfork.c: Rename to ...
10828 * gdb.base/step-over-vfork.c: ... it. New file.
10829 * gdb.base/disp-step-syscall.exp: Rename to ...
10830 * gdb.base/step-over-syscall.exp: ... it. New file.
10831 (disp_step_cross_syscall): Rename to ...
10832 (step_over_syscall): ... it.
10833
10834 2016-03-03 Yao Qi <yao.qi@linaro.org>
10835
10836 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
10837 If target supports condition evaluation on target, invoke
10838 break_cond_on_syscall for fork and vfork.
10839
10840 2016-03-03 Yao Qi <yao.qi@linaro.org>
10841
10842 * gdb.base/disp-step-syscall.exp: Don't invoke
10843 support_displaced_stepping.
10844 (disp_step_cross_syscall): Test with displaced stepping off and
10845 on if supported.
10846
10847 2016-03-03 Yao Qi <yao.qi@linaro.org>
10848
10849 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
10850 proc.
10851 (setup): New proc.
10852 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
10853 and setup.
10854
10855 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10856
10857 * gdb.fortran/vla-history.exp: Remove breakpoint.
10858
10859 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10860
10861 * gdb.fortran/vla-history.exp: Lookup array elements and printing
10862 exceeds timeout.
10863
10864 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10865
10866 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
10867 breakpoint.
10868
10869 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10870
10871 * gdb.mi/vla.f90: Nullify pointer after declaration.
10872
10873 2016-03-01 Pedro Alves <palves@redhat.com>
10874
10875 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
10876
10877 2016-03-01 Pedro Alves <palves@redhat.com>
10878
10879 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
10880 before anything else.
10881 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
10882 _GNU_SOURCE here.
10883 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
10884 before anything else.
10885 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
10886
10887 2016-03-01 Pedro Alves <palves@redhat.com>
10888
10889 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
10890
10891 2016-03-01 Yao Qi <yao.qi@linaro.org>
10892
10893 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
10894 prepare_for_testing.
10895
10896 2016-03-01 Yao Qi <yao.qi@linaro.org>
10897
10898 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
10899
10900 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
10901
10902 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
10903 manually constructing the output path.
10904
10905 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
10906
10907 * gdb.arch/s390-stackless.S: New.
10908 * gdb.arch/s390-stackless.exp: New.
10909
10910 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
10911
10912 * gdb.dlang/circular.c: New file.
10913 * gdb.dlang/circular.exp: New file.
10914
10915 2016-02-26 Yao Qi <yao.qi@linaro.org>
10916
10917 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
10918 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
10919 (testcases): Update.
10920
10921 2016-02-26 Yao Qi <yao.qi@linaro.org>
10922
10923 * gdb.reverse/aarch64.c: Rename to ...
10924 * gdb.reverse/insn-reverse.c: ... it.
10925 * gdb.reverse/aarch64.exp: Rename to ...
10926 * gdb.reverse/insn-reverse.exp: ... it.
10927
10928 2016-02-26 Yao Qi <yao.qi@linaro.org>
10929
10930 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
10931 (testcase_ftype): New.
10932 (testcases): New array.
10933 (n_testcases): New.
10934 (main): Call each element in testcases.
10935 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
10936 (read_testcase): New.
10937 Do the tests in a loop.
10938
10939 2016-02-25 Yao Qi <yao.qi@linaro.org>
10940
10941 * gdb.base/branches.c: Remove.
10942
10943 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10944
10945 PR gdb/13808
10946 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
10947
10948 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10949
10950 * gdb.trace/ftrace.exp: Remove unnecessary target check.
10951
10952 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10953
10954 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
10955 change x86_64 call_insn to 'callq'.
10956
10957 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
10958
10959 * gdb.trace/tfile-avx.c: Move to...
10960 * gdb.trace/tracefile-pseudo-reg.c: Here.
10961 * gdb.trace/tfile-avx.exp: Move to...
10962 * gdb.trace/tracefile-pseudo-reg.exp: Here.
10963
10964 2016-02-24 Gary Benson <gbenson@redhat.com>
10965
10966 * gdb.base/attach-pie-noexec.exp: Do not expect an error
10967 message on attach.
10968
10969 2016-02-23 Doug Evans <dje@google.com>
10970
10971 * gdb.base/skip.c (test_skip): New function.
10972 (end_test_skip_file_and_function): New function.
10973 (test_skip_file_and_function): New function.
10974 * gdb.base/skip1.c (test_skip): New function.
10975 (skip1_test_skip_file_and_function): New function.
10976 * gdb.base/skip.exp: Add tests for new skip options.
10977 * gdb.base/skip-solib.exp: Update expected output.
10978 * gdb.perf/skip-command.cc: New file.
10979 * gdb.perf/skip-command.exp: New file.
10980 * gdb.perf/skip-command.py: New file.
10981
10982 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
10983
10984 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
10985 info registers pattern.
10986
10987 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
10988
10989 * lib/future.exp: Add D support.
10990 (gdb_find_gdc): New proc.
10991 (gdb_default_target_compile): Add D support.
10992
10993 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
10994
10995 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
10996 user+system time.
10997 (trace_speed_test): Determine the iteration count for a time
10998 between 15..30 seconds.
10999
11000 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
11001
11002 * gdb.arch/i386-mpx-sigsegv.c: New file.
11003 * gdb.arch/i386-mpx-sigsegv.exp: New file.
11004 * gdb.arch/i386-mpx-simple_segv.c: New file.
11005 * gdb.arch/i386-mpx-simple_segv.exp: New file.
11006
11007 2016-02-18 Yao Qi <yao.qi@linaro.org>
11008
11009 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
11010 Don't call setup_kfail.
11011
11012 2016-02-18 Yao Qi <yao.qi@linaro.org>
11013
11014 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
11015 Set "set breakpoint condition-evaluation" per $cond_bp_target.
11016
11017 2016-02-16 Doug Evans <dje@google.com>
11018
11019 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
11020 * gdb.base/skip1.c: Ditto.
11021 * gdb.base/skip.exp: Whitespace cleanup.
11022
11023 2016-02-16 Don Breazeal <donb@codesourcery.com>
11024
11025 PR remote/19496
11026 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
11027 Remove kfail for PR remote/19496.
11028
11029 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
11030
11031 * lib/gdb.exp (standard_temp_file): Return a path specific to
11032 the runtest invocation.
11033
11034 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
11035
11036 * gdb.trace/save-trace.exp: Change relative path to be in the
11037 standard output directory.
11038
11039 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11040
11041 * gdb.arch/i386-prologue.c: Add missing prototypes.
11042
11043 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11044
11045 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
11046 * gdb.arch/i386-prologue.exp: Likewise.
11047 * gdb.arch/i386-size.exp: Likewise.
11048
11049 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
11050
11051 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
11052 define object file path.
11053 * gdb.btrace/gcore.exp: Use standard_output_file to define core
11054 file path.
11055 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
11056 standard_output_file to define binfile.
11057
11058 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11059
11060 Fix compatibility with recent gfortran-5.3.1.
11061 * gdb.fortran/vla-history.exp (print vla1 allocated)
11062 (print vla2 allocated, print $2, print $3): Remove
11063 (print $4): Rename to ...
11064 (print $2): ... here.
11065 (print $9): Rename to ...
11066 (print $5): ... here.
11067 (print $10): Rename to ...
11068 (print $6): ... here.
11069 * gdb.fortran/vla.f90: Add pvla initialization.
11070
11071 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11072
11073 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
11074 New test.
11075 * gdb.fortran/vla-value-sub.exp: Likewise.
11076
11077 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
11078
11079 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
11080
11081 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
11082
11083 * i386-biarch-core.exp: Define corefile using
11084 standard_output_file.
11085
11086 2016-02-12 Yao Qi <yao.qi@linaro.org>
11087
11088 * gdb.arch/arm-single-step-kernel-helper.c: New.
11089 * gdb.arch/arm-single-step-kernel-helper.exp: New.
11090
11091 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
11092
11093 * gdb.btrace/tailcall-only.exp: New.
11094 * gdb.btrace/tailcall-only.c: New.
11095 * gdb.btrace/x86_64-tailcall-only.S: New.
11096 * gdb.btrace/i686-tailcall-only.S: New.
11097
11098 2016-02-11 Pedro Alves <palves@redhat.com>
11099
11100 * README (Parallel testing): Add missing double quotes.
11101
11102 2016-02-11 Pedro Alves <palves@redhat.com>
11103
11104 * README (Parallel testing): New section.
11105 (GDB_PARALLEL): Rewrite.
11106 (FORCE_PARALLEL): Document.
11107
11108 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
11109
11110 * gdb.trace/tfile-avx.c: New test.
11111 * gdb.trace/tfile-avx.exp: New test.
11112
11113 2016-02-09 Keith Seitz <keiths@redhat.com>
11114
11115 PR breakpoints/19546
11116 * gdb.base/infcall-exec.c: New file.
11117 * gdb.base/infcall-exec2.c: New file.
11118 * gdb.base/infcall-exec.exp: New file.
11119
11120 2016-02-09 Keith Seitz <keiths@redhat.com>
11121
11122 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
11123 (toplevel): Call test_bkpt_address.
11124
11125 2016-02-09 Keith Seitz <keiths@redhat.com>
11126
11127 PR python/19506
11128 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
11129 (toplevel): Call test_bkpt_address.
11130
11131 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
11132
11133 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
11134 to AC_OUTPUT.
11135 * configure: Regenerate.
11136
11137 2016-02-09 Pedro Alves <palves@redhat.com>
11138
11139 PR breakpoints/19548
11140 * gdb.base/execl-update-breakpoints.c (some_function): New
11141 function.
11142 (main): Call it.
11143 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
11144 Tighten expected GDB output.
11145
11146 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
11147
11148 * Makefile.in (ALL_SUBDIRS): Remove.
11149 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
11150 (distclean maintainer-clean realclean): Likewise.
11151 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
11152 * configure: Regenerate.
11153 * gdb.ada/Makefile.in: Delete.
11154 * gdb.arch/Makefile.in: Likewise.
11155 * gdb.asm/Makefile.in: Likewise.
11156 * gdb.base/Makefile.in: Likewise.
11157 * gdb.btrace/Makefile.in: Likewise.
11158 * gdb.cell/Makefile.in: Likewise.
11159 * gdb.compile/Makefile.in: Likewise.
11160 * gdb.cp/Makefile.in: Likewise.
11161 * gdb.disasm/Makefile.in: Likewise.
11162 * gdb.dlang/Makefile.in: Likewise.
11163 * gdb.dwarf2/Makefile.in: Likewise.
11164 * gdb.fortran/Makefile.in: Likewise.
11165 * gdb.gdb/Makefile.in: Likewise.
11166 * gdb.go/Makefile.in: Likewise.
11167 * gdb.guile/Makefile.in: Likewise.
11168 * gdb.java/Makefile.in: Likewise.
11169 * gdb.linespec/Makefile.in: Likewise.
11170 * gdb.mi/Makefile.in: Likewise.
11171 * gdb.modula2/Makefile.in: Likewise.
11172 * gdb.multi/Makefile.in: Likewise.
11173 * gdb.objc/Makefile.in: Likewise.
11174 * gdb.opencl/Makefile.in: Likewise.
11175 * gdb.opt/Makefile.in: Likewise.
11176 * gdb.pascal/Makefile.in: Likewise.
11177 * gdb.perf/Makefile.in: Likewise.
11178 * gdb.python/Makefile.in: Likewise.
11179 * gdb.reverse/Makefile.in: Likewise.
11180 * gdb.server/Makefile.in: Likewise.
11181 * gdb.stabs/Makefile.in: Likewise.
11182 * gdb.threads/Makefile.in: Likewise.
11183 * gdb.trace/Makefile.in: Likewise.
11184 * gdb.xml/Makefile.in: Likewise.
11185 * lib/gdb.exp (make_gdb_parallel_path): Add check for
11186 GDB_PARALLEL.
11187 (standard_output_file): Remove check for GDB_PARALLEL, always
11188 return path in outputs/$subdir/$testname.
11189
11190 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
11191
11192 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
11193 (site.exp): Assign abs_srcdir to tcl's srcdir.
11194
11195 2016-02-04 Yao Qi <yao.qi@linaro.org>
11196
11197 * gdb.base/foll-exec-mode.c: Include limits.h.
11198 (main): Add parameters argc and argv. Get directory from
11199 argv[0].
11200 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
11201 compilation.
11202 * gdb.base/foll-exec.c: Include limits.h.
11203 (main): Add parameters argc and argv.
11204 Get directory from argv[0].
11205 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
11206 Adjust tests on the number of lines as source code changed.
11207 * gdb.base/foll-vfork-exit.c: Include limits.h.
11208 (main): Add one line of statement before vfork.
11209 * gdb.base/foll-vfork.c: Include limits.h and string.h.
11210 (main): Add parameters argc and argv. Get directory from
11211 argv[0].
11212 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
11213 (setup_gdb): Set tbreak to skip some source lines.
11214 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
11215 (main): Add parameters argc and argv. Get directory from
11216 argv[0].
11217 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
11218 compilation.
11219 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
11220 (main): Add parameters argc and argv. Get directory from
11221 argv[0].
11222 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
11223 compilation.
11224
11225 2016-02-01 Doug Evans <dje@google.com>
11226
11227 * gdb.base/skip.exp: Clean up multiple references to same test name.
11228
11229 2016-02-01 Pedro Alves <palves@redhat.com>
11230
11231 PR remote/19496
11232 * gdb.threads/forking-threads-plus-breakpoint.exp
11233 (displaced_stepping_supported): New global.
11234 (probe_displaced_stepping_support): New procedure.
11235 (do_test): Add 'displaced' parameter, and use it.
11236 (top level): Check for displaced stepping support. Add displaced
11237 stepping on/off testing axis.
11238
11239 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
11240
11241 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
11242 pointer. Don't perform further tests on the unassociated pointer
11243 if the first test fails.
11244
11245 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
11246
11247 * gdb.base/max-value-size.c: New file.
11248 * gdb.base/max-value-size.exp: New file.
11249 * gdb.base/huge.exp: Disable max-value-size for this test.
11250
11251 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
11252
11253 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
11254
11255 2016-01-28 Yao Qi <yao.qi@linaro.org>
11256
11257 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
11258
11259 2016-01-25 Pedro Alves <palves@redhat.com>
11260
11261 PR threads/19461
11262 * gdb.base/fork-running-state.c: New file.
11263 * gdb.base/fork-running-state.exp: New file.
11264
11265 2016-01-25 Pedro Alves <palves@redhat.com>
11266
11267 PR gdb/19494
11268 * gdb.base/catch-fork-kill.c: New file.
11269 * gdb.base/catch-fork-kill.exp: New file.
11270
11271 2016-01-25 Pedro Alves <palves@redhat.com>
11272
11273 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
11274 Delete, moved to lib/gdb.exp.
11275 * gdb.threads/forking-threads-plus-breakpoint.exp
11276 (foreach_with_prefix): Likewise.
11277 * gdb.threads/process-dies-while-handling-bp.exp
11278 (foreach_with_prefix): Likewise.
11279 * lib/gdb.exp (foreach_with_prefix): New procedure.
11280
11281 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
11282
11283 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
11284 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
11285
11286 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
11287
11288 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
11289 endian targets.
11290
11291 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11292 Pedro Alves <palves@redhat.com>
11293
11294 Fix testsuite compatibility with Guile.
11295 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
11296 number.
11297
11298 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11299
11300 Fix testsuite compatibility with Guile.
11301 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
11302 (thread 1): New test for backtrace through signal handler.
11303
11304 2016-01-22 Yao Qi <yao.qi@linaro.org>
11305
11306 PR testsuite/19491
11307 * gdb.base/multi-forks.c: Include
11308 ../lib/unbuffer_output.c
11309 (main): Call gdb_unbuffer_output.
11310
11311 2016-01-21 Doug Evans <dje@google.com>
11312
11313 * lib/ada.exp (gdb_compile_ada): Fix typo.
11314
11315 2016-01-21 Joel Brobecker <brobecker@adacore.com>
11316
11317 * gdb.base/break-fun-addr.exp: New file.
11318 * gdb.base/break-fun-addr1.c: New file.
11319 * gdb.base/break-fun-addr2.c: New file.
11320
11321 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
11322
11323 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
11324 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
11325 enum flag values.
11326
11327 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11328
11329 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
11330 when GDB can not set the vector return value. Add more comments
11331 for clarification.
11332
11333 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
11334
11335 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
11336 command.
11337
11338 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
11339
11340 * Makefile.in (DO_RUNTEST): Add --status and update usages.
11341
11342 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
11343
11344 * Makefile.in (check-single): Pass --status to runtest.
11345 (check/%.exp): Likewise.
11346
11347 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
11348
11349 * Makefile.in (check-parallel): Propagate return code from make
11350 do-check-parallel.
11351
11352 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
11353
11354 * gdb.trace/ftrace.exp: Fix expected message on continue.
11355 * gdb.trace/pending.exp: Fix expected message on continue.
11356 * gdb.trace/trace-break.exp: Fix expected message on continue.
11357
11358 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
11359
11360 * lib/gdb.exp (gdb_test): Remove unused global references.
11361
11362 2016-01-18 Pedro Alves <palves@redhat.com>
11363
11364 * gdb.base/async-shell.exp: Adjust expected output.
11365 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
11366 * gdb.base/siginfo-thread.exp: Adjust expected output.
11367 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
11368 * gdb.java/jnpe.exp: Adjust expected output.
11369 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
11370 * gdb.threads/continue-pending-status.exp: Adjust expected output.
11371 * gdb.threads/leader-exit.exp: Adjust expected output.
11372 * gdb.threads/manythreads.exp: Adjust expected output.
11373 * gdb.threads/pthreads.exp: Adjust expected output.
11374 * gdb.threads/schedlock.exp: Adjust expected output.
11375 * gdb.threads/siginfo-threads.exp: Adjust expected output.
11376 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
11377 expected output.
11378 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
11379 output.
11380 * gdb.threads/sigthread.exp: Adjust expected output.
11381 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
11382
11383 2016-01-18 Yao Qi <yao.qi@linaro.org>
11384
11385 * gdb.guile/scm-section-script.c: Replace @progbits with
11386 %progbits.
11387 * gdb.python/py-section-script.c: Likewise.
11388
11389 2016-01-15 Pedro Alves <palves@redhat.com>
11390
11391 * gdb.multi/tids.exp: Test star wildcard ranges.
11392
11393 2016-01-15 Pedro Alves <palves@redhat.com>
11394
11395 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
11396 command from "thread apply" invocation.
11397 (thr_apply_info_thr_invalid): Default the expected output to the
11398 input tid list.
11399 (top level): Add tests that use convenience variables. Add tests
11400 for "thread apply" with a valid TID list, but missing the command.
11401
11402 2016-01-13 Pedro Alves <palves@redhat.com>
11403
11404 * gdb.base/default.exp: Expect $_gthread as well.
11405 * gdb.multi/tids.exp: Test $_gthread.
11406 * gdb.threads/thread-specific.exp: Test $_gthread.
11407
11408 2016-01-13 Pedro Alves <palves@redhat.com>
11409
11410 * gdb.multi/tids.exp: Test "info threads -gid".
11411
11412 2016-01-13 Pedro Alves <palves@redhat.com>
11413
11414 * gdb.multi/tids.exp: Test InferiorThread.global_num and
11415 Breakpoint.thread.
11416 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
11417
11418 2016-01-07 Pedro Alves <palves@redhat.com>
11419
11420 * gdb.base/break.exp: Adjust to output changes.
11421 * gdb.base/hbreak2.exp: Likewise.
11422 * gdb.base/sepdebug.exp: Likewise.
11423 * gdb.base/watch_thread_num.exp: Likewise.
11424 * gdb.linespec/keywords.exp: Likewise.
11425 * gdb.multi/info-threads.exp: Likewise.
11426 * gdb.threads/thread-find.exp: Likewise.
11427 * gdb.multi/tids.c: New file.
11428 * gdb.multi/tids.exp: New file.
11429
11430 2016-01-13 Pedro Alves <palves@redhat.com>
11431
11432 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
11433
11434 2016-01-13 Pedro Alves <palves@redhat.com>
11435
11436 * gdb.base/default.exp: Expect $_inferior as well.
11437 * gdb.multi/base.exp: Test $_inferior.
11438
11439 2016-01-13 Pedro Alves <palves@redhat.com>
11440
11441 PR breakpoints/19388
11442 * gdb.base/catch-signal-siginfo-cond.c: New file.
11443 * gdb.base/catch-signal-siginfo-cond.exp: New file.
11444
11445 2016-01-12 Josh Stone <jistone@redhat.com>
11446 Philippe Waroquiers <philippe.waroquiers@skynet.be>
11447
11448 * gdb.base/catch-syscall.c (do_execve): New variable.
11449 (main): Conditionally trigger an execve.
11450 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
11451 (test_catch_syscall_execve): New, check entry/return across execve.
11452 (do_syscall_tests): Call test_catch_syscall_execve.
11453
11454 2016-01-12 Pedro Alves <palves@redhat.com>
11455
11456 * gdb.base/random-signal.exp (do_test): New procedure, with body
11457 of testcase moved in.
11458
11459 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11460 Pedro Alves <palves@redhat.com>
11461
11462 * gdb.base/funcargs.exp (finish from indirectly called function):
11463 Reintroduce the case for 'First'.
11464
11465 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11466 Pedro Alves <palves@redhat.com>
11467
11468 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
11469 (tcatch_vfork_then_child_follow_exec)
11470 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
11471 identification.
11472
11473 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11474
11475 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
11476 and repeats to unlimited.
11477 * gdb.python/py-value.exp: Likewise.
11478 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
11479 and repeats to unlimited.
11480
11481 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11482
11483 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
11484 and reordering the functions.
11485 * gdb.multi/hangout.c: Likewise.
11486 * gdb.multi/hello.c: Likewise.
11487
11488 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
11489
11490 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
11491 absolute.
11492 (SingleStatisticTestResult.report): Use dict.keys instead of
11493 dict.iterkeys.
11494
11495 2016-01-06 Pedro Alves <palves@redhat.com>
11496
11497 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
11498
11499 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
11500
11501 * gdb.btrace/dlopen.exp: New.
11502 * gdb.btrace/dlopen.c: New.
11503 * gdb.btrace/dlopen-dso.c: New.
11504
11505 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
11506
11507 * lib/gdb.exp (gdb_test): Update comments to clarify that the
11508 PATTERN argument is optional.
11509
11510 2015-12-24 Joel Brobecker <brobecker@adacore.com>
11511
11512 * lib/ada.exp (target_compile_ada_from_dir): New function.
11513 (gdb_compile_ada): Reimplement avoiding the use of project files.
11514 * gdb.ada/gnat_ada.gpr: Delete.
11515 * gdb.ada/cond_lang.exp: Adjust test to make path before
11516 filename optional.
11517 * gdb.ada/small_reg_param.exp: Likewise.
11518
11519 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
11520
11521 * gdb.base/foll-vork.exp: Remove HP-UX special case.
11522
11523 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
11524
11525 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
11526 case.
11527
11528 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
11529
11530 * gdb.base/break.exp: Remove dead code.
11531 * gdb.base/sepdebug.exp: Likewise.
11532
11533 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
11534
11535 * gdb.asm/asm-source.exp: Remove HP-UX references.
11536 * gdb.base/annota1.exp: Likewise.
11537 * gdb.base/annota3.exp: Likewise.
11538 * gdb.base/attach.exp: Likewise.
11539 * gdb.base/bigcore.exp: Likewise.
11540 * gdb.base/break.exp: Likewise.
11541 * gdb.base/call-ar-st.exp: Likewise.
11542 * gdb.base/callfuncs.exp: Likewise.
11543 * gdb.base/catch-fork-static.exp: Likewise.
11544 * gdb.base/display.exp: Likewise.
11545 * gdb.base/foll-exec-mode.exp: Likewise.
11546 * gdb.base/foll-exec.exp: Likewise.
11547 * gdb.base/foll-fork.exp: Likewise.
11548 * gdb.base/foll-vfork.exp: Likewise.
11549 * gdb.base/funcargs.exp: Likewise.
11550 * gdb.base/hbreak2.exp: Likewise.
11551 * gdb.base/inferior-died.exp: Likewise.
11552 * gdb.base/interrupt.exp: Likewise.
11553 * gdb.base/multi-forks.exp: Likewise.
11554 * gdb.base/nodebug.exp: Likewise.
11555 * gdb.base/sepdebug.exp: Likewise.
11556 * gdb.base/solib1.c: Likewise.
11557 * gdb.base/step-test.exp: Likewise.
11558 * gdb.mi/non-stop.c: Likewise.
11559 * gdb.mi/pthreads.c: Likewise.
11560 * gdb.multi/bkpt-multi-exec.ex: Likewise.
11561 * gdb.threads/pthreads.c: Likewise.
11562 * gdb.threads/staticthreads.exp: Likewise.
11563 * lib/future.exp: Likewise.
11564 * lib/gdb.exp: Likewise.
11565 * gdb.base/so-indr-cl.c: Remove.
11566 * gdb.base/so-indr-cl.exp: Likewise.
11567 * gdb.base/solib.c: Likewise.
11568 * gdb.base/solib.exp: Likewise.
11569 * gdb.base/solib2.c: Likewise.
11570
11571 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
11572
11573 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
11574 * gdb.base/call-ar-st.exp: Likewise.
11575 * gdb.base/callfuncs.exp: Likewise.
11576 * gdb.base/condbreak.exp: Likewise.
11577 * gdb.base/constvars.exp: Likewise.
11578 * gdb.base/hbreak2.exp: Likewise.
11579 * gdb.base/langs.exp: Likewise.
11580 * gdb.base/list.exp: Likewise.
11581 * gdb.base/long_long.exp: Likewise.
11582 * gdb.base/ptype.exp: Likewise.
11583 * gdb.base/scope.exp: Likewise.
11584 * gdb.base/signals.exp: Likewise.
11585 * gdb.base/so-impl-ld.exp: Likewise.
11586 * gdb.base/varargs.exp: Likewise.
11587 * gdb.base/volatile.exp: Likewise.
11588 * gdb.base/whatis.exp: Likewise.
11589 * gdb.cp/cplusfuncs.exp: Likewise.
11590 * gdb.cp/inherit.exp: Likewise.
11591 * gdb.cp/local.exp: Likewise.
11592 * gdb.cp/member-ptr.exp: Likewise.
11593 * gdb.cp/method.exp: Likewise.
11594 * gdb.cp/overload.exp: Likewise.
11595 * gdb.cp/templates.exp: Likewise.
11596 * gdb.stabs/weird.exp: Likewise.
11597 * lib/compiler.c: Likewise.
11598 * lib/compiler.cc: Likewise.
11599 * lib/cp-support.exp: Likewise.
11600 * lib/gdb.exp: Likewise.
11601
11602 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
11603
11604 * configure.ac: Remove HP-UX case.
11605 * configure: Regenerate.
11606
11607 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
11608
11609 * lib/gdb.exp (gdb_compile): Add function doc.
11610
11611 2015-12-17 Pedro Alves <palves@redhat.com>
11612
11613 PR threads/19354
11614 * gdb.multi/info-threads.exp: New file.
11615
11616 2015-12-15 Yao Qi <yao.qi@linaro.org>
11617
11618 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
11619 is aarch64*-*-*.
11620
11621 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11622
11623 * gdb.base/history-duplicates.exp: Skip if no readline support.
11624
11625 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11626
11627 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
11628
11629 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11630
11631 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
11632
11633 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11634
11635 * gdb.base/completion.exp: Skip tests that interrupt GDB with
11636 ctrl-C if nointerrupts target property is set.
11637 * gdb.base/double-prompt-target-event-error.exp: Likewise.
11638 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
11639 * gdb.base/paginate-bg-execution.exp: Likewise.
11640 * gdb.base/paginate-execution-startup.exp: Likewise.
11641 * gdb.base/random-signal.exp: Likewise.
11642 * gdb.base/range-stepping.exp: Likewise.
11643 * gdb.cp/annota2.exp: Likewise.
11644 * gdb.cp/annota3.exp: Likewise.
11645 * gdb.gdb/selftest.exp: Likewise.
11646 * gdb.threads/continue-pending-status.exp: Likewise.
11647 * gdb.threads/leader-exit.exp: Likewise.
11648 * gdb.threads/manythreads.exp: Likewise.
11649 * gdb.threads/pthreads.exp: Likewise.
11650 * gdb.threads/schedlock.exp: Likewise.
11651 * gdb.threads/sigthread.exp: Likewise.
11652
11653 2015-12-11 Don Breazeal <donb@codesourcery.com>
11654
11655 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
11656 remote.
11657 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
11658 * gdb.base/foll-exec.exp (main): Enable for target remote.
11659 * gdb.base/foll-fork.exp (main): Likewise.
11660 * gdb.base/foll-vfork.exp (main): Likewise.
11661 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
11662 (proc continue_to_exit_bp_loc): Use clean_restart.
11663 * gdb.base/pie-execl.exp (main): Disable for target remote.
11664 * gdb.base/watch-vfork.exp (main): Enable for target remote.
11665 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
11666 * gdb.threads/execl.exp (main): Likewise.
11667 * gdb.threads/fork-child-threads.exp (main): Likewise.
11668 * gdb.threads/fork-plus-threads.exp (main): Disable for target
11669 remote.
11670 * gdb.threads/fork-thread-pending.exp (main): Enable for target
11671 remote.
11672 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
11673 pid.tid style ptids, instead of just tid.
11674 * gdb.threads/thread-execl.exp (main): Enable for target remote.
11675 * gdb.threads/watchpoint-fork.exp (main): Likewise.
11676 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
11677 ptids, instead of just tid.
11678
11679 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11680
11681 * gdb.base/list.exp (test_list_forward): Add end of file error
11682 test.
11683 (test_repeat_list_command): Add end of file error test.
11684 (test_list_backwards): Add beginning of file error test.
11685
11686 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11687
11688 * gdb.base/list.exp (test_list_invalid_args): New function,
11689 defined, and called.
11690
11691 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11692
11693 * gdb.base/list.exp (test_list): Make test names unique.
11694
11695 2015-12-11 Yao Qi <yao.qi@linaro.org>
11696
11697 * gdb.base/coremaker2.c: Remove.
11698
11699 2015-12-10 Pedro Alves <palves@redhat.com>
11700
11701 * gdb.multi/base.exp: Remove stale "spaces" references.
11702
11703 2015-12-10 Pedro Alves <palves@redhat.com>
11704
11705 * gdb.multi/base.exp: Don't use nowarnings.
11706 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
11707 * gdb.multi/hangout.c: Include stdio.h.
11708 * gdb.multi/hello.c: Include stdlib.h.
11709 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
11710 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
11711 * gdb.multi/multi-arch.exp: Don't use nowarnings.
11712
11713 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
11714
11715 * gdb.dwarf2/dw2-ranges-base.c: New file.
11716 * gdb.dwarf2/dw2-ranges-base.exp: New file.
11717 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
11718 support additional line table, and debug ranges generation.
11719 (Dwarf::ranges): New function, generate .debug_ranges.
11720 (Dwarf::lines): Support generating simple line table programs.
11721 (Dwarf::assemble): Initialise new namespace variables.
11722
11723 2015-12-09 Kevin Buettner <kevinb@redhat.com>
11724
11725 * gdb.base/async.exp (proc test_background): Add case for
11726 asynchronous execution not supported.
11727
11728 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
11729
11730 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
11731 format and change test names to make them unique.
11732
11733 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
11734 Pedro Alves <pedro@redhat.com>
11735
11736 PR gdb/18702
11737 Add checking of floatformats setup on x86_64 hosts.
11738 * gdb.arch/i386-float.S (main): Load bigval and smallval.
11739 (smallval, bigval): New labels/constants.
11740 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
11741 float" after loading bigval and smallval.
11742
11743 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
11744
11745 * gdb.ada/fun_overload_menu.exp: New testcase.
11746 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
11747
11748 2015-12-04 Josh Stone <jistone@redhat.com>
11749
11750 * gdb.base/catch-fork-static.exp: New.
11751
11752 2015-12-03 Yao Qi <yao.qi@linaro.org>
11753
11754 * gdb.base/sizeof.c: Don't include stdio.h and
11755 ../lib/unbuffer_output.c.
11756 (main): New variable 'size' and 'value'. Remove printf and
11757 gdb_unbuffer_output. Assign return value to size and value.
11758 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
11759 at the beginning.
11760 (check_sizeof): Check the result by printing variable 'size'.
11761 (check_valueof): Check the result by printing variable 'value'.
11762
11763 2015-12-01 Yao Qi <yao.qi@linaro.org>
11764
11765 * gdb.base/disp-step-syscall.exp: Define syscall instruction
11766 for aarch64*-*-linux* target.
11767
11768 2015-11-30 Pedro Alves <palves@redhat.com>
11769
11770 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
11771
11772 2015-11-30 Pedro Alves <palves@redhat.com>
11773
11774 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
11775 Handle non-stop mode vCont replies.
11776
11777 2015-11-30 Pedro Alves <palves@redhat.com>
11778
11779 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
11780 prepare_for_testing. Start gdb with "set non-stop on" appended to
11781 GDBFLAGS. Lax expected stop output.
11782
11783 2015-11-27 Yao Qi <yao.qi@linaro.org>
11784
11785 * gdb.arch/arm-neon.exp: New.
11786 * gdb.arch/arm-neon.c: New.
11787
11788 2015-11-27 Yao Qi <yao.qi@linaro.org>
11789
11790 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
11791
11792 2015-11-27 Yao Qi <yao.qi@linaro.org>
11793
11794 * gdb.cp/annota2.exp: Allow multiple occurrences of the
11795 frames-invalid annotation.
11796
11797 2015-11-27 Yao Qi <yao.qi@linaro.org>
11798
11799 * gdb.cp/annota2.exp: Use ${frames_invalid}.
11800
11801 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
11802
11803 * gdb.threads/names.exp: New file.
11804 * gdb.threads/names.c: New file.
11805 * README: Mention gdb,no_thread_names.
11806
11807 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
11808
11809 PR 19297
11810 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
11811 support" error.
11812
11813 2015-11-24 Pedro Alves <palves@redhat.com>
11814
11815 PR 17539
11816 * gdb.base/display.exp: Expect displays to be sorted in ascending
11817 order. Use multi_line.
11818 * gdb.base/solib-display.exp: Likewise.
11819
11820 2015-11-24 Pedro Alves <palves@redhat.com>
11821
11822 PR 17539
11823 * gdb.base/display.exp: Expect displays to be sorted in ascending
11824 order. Use multi_line.
11825 * gdb.base/solib-display.exp: Likewise.
11826
11827 2015-11-24 Pedro Alves <palves@redhat.com>
11828
11829 PR 17539
11830 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
11831 threads in ascending order.
11832 * gdb.base/foll-fork.exp: Likewise.
11833 * gdb.base/foll-vfork.exp: Likewise.
11834 * gdb.base/multi-forks.exp: Likewise.
11835 * gdb.mi/mi-nonstop.exp: Likewise.
11836 * gdb.mi/mi-nsintrall.exp: Likewise.
11837 * gdb.multi/base.exp: Likewise.
11838 * gdb.multi/multi-arch.exp: Likewise.
11839 * gdb.python/py-inferior.exp: Likewise.
11840 * gdb.threads/break-while-running.exp: Likewise.
11841 * gdb.threads/execl.exp: Likewise.
11842 * gdb.threads/gcore-thread.exp: Likewise.
11843 * gdb.threads/info-threads-cur-sal.exp: Likewise.
11844 * gdb.threads/kill.exp: Likewise.
11845 * gdb.threads/linux-dp.exp: Likewise.
11846 * gdb.threads/multiple-step-overs.exp: Likewise.
11847 * gdb.threads/next-bp-other-thread.exp: Likewise.
11848 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
11849 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
11850 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
11851 * gdb.threads/thread-find.exp: Likewise.
11852 * gdb.threads/tls.exp: Likewise.
11853 * lib/mi-support.exp (mi_reverse_list): Delete.
11854 (mi_check_thread_states): No longer reverse list.
11855
11856 2015-11-24 Pedro Alves <palves@redhat.com>
11857
11858 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
11859 use lowercase.
11860
11861 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
11862
11863 * gdb.trace/actions.c: Include trace-common.h.
11864 (main): Add a location for a fast tracepoint.
11865 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
11866 the normal tracepoints.
11867 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
11868
11869 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
11870
11871 * save-trace.exp: Factor out code to these...
11872 (gdb_save_tracepoints): New.
11873 (gdb_load_tracepoints): New.
11874 (do_save_load_test): New.
11875
11876 2015-11-23 Kevin Buettner <kevinb@redhat.com>
11877
11878 * gdb.base/asmlabel.exp: New test.
11879 * gdb.base/asmlabel.c: New test case.
11880
11881 2015-11-23 Joel Brobecker <brobecker@adacore.com>
11882
11883 * gdb.base/wrong_frame_bt_full-main.c: New file.
11884 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
11885 * gdb.base/wrong_frame_bt_full.exp: New file.
11886
11887 2015-11-23 Joel Brobecker <brobecker@adacore.com>
11888
11889 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
11890
11891 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
11892
11893 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
11894 pstate register when comparing registers values in
11895 sparc64-*-linux-gnu targets to avoid spurious differences.
11896
11897 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
11898
11899 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
11900
11901 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
11902
11903 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
11904 as type argument to gdb_compile.
11905 * gdb.base/nested-subp2.exp: Likewise.
11906 * gdb.base/nested-subp3.exp: Likewise.
11907
11908 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
11909
11910 * lib/dwarf.exp (_note): Fix left shift of negative value.
11911 * gdb.trace/trace-condition.exp: Likewise.
11912
11913 2015-11-13 Yao Qi <yao.qi@linaro.org>
11914
11915 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
11916 comments about d10v.
11917 (test_scalar_returns): Likewise.
11918 * gdb.base/d10v.ld: Remove.
11919 * gdb.base/overlays.exp: Remove the target triplet checking for
11920 d10v-*-*.
11921 * gdb.base/structs.exp (test_struct_returns): Remove the
11922 comments about d10v.
11923 (test_struct_calls): Likewise.
11924
11925 2015-11-13 Yao Qi <yao.qi@linaro.org>
11926
11927 * gdb.base/gnu_vector.exp: Check the return value by "p res".
11928 * gdb.base/gnu_vector.c: Don't include stdio.h.
11929 (main): Don't print res and call add_some_intvecs.
11930
11931 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
11932
11933 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
11934 macro.
11935 (func5): Removed.
11936 (func4): Use FAST_TRACEPOINT_LABEL.
11937 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
11938 macro.
11939 (func): Removed.
11940 (thread_function): Use FAST_TRACEPOINT_LABEL.
11941 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
11942 (func): Remove.
11943 (marker): Use FAST_TRACEPOINT_LABEL.
11944 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
11945 (pendfunc1): Remove.
11946 (pendfunc): Use FAST_TRACEPOINT_LABEL.
11947 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
11948 (foo): Remove.
11949 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
11950 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
11951 macro.
11952 (func): Remove.
11953 (marker): Use FAST_TRACEPOINT_LABEL.
11954 * gdb.trace/trace-common.h: New header.
11955 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
11956 macro.
11957 (func): Remove.
11958 (marker): Use FAST_TRACEPOINT_LABEL.
11959 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
11960 (func): Remove.
11961 (thread_function): Use FAST_TRACEPOINT_LABEL.
11962
11963 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
11964
11965 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
11966 in front.
11967 * gdb.trace/change-loc.exp: Use global pcreg definition.
11968 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
11969 * gdb.trace/entry-values.exp: Use global spreg definition, add $
11970 in front.
11971 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
11972 * gdb.trace/pending.exp: Likewise.
11973 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
11974 * gdb.trace/trace-break.exp: Likewise.
11975 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
11976 in front.
11977 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
11978 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
11979 in front.
11980 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
11981
11982 2015-11-09 Joel Brobecker <brobecker@adacore.com>
11983
11984 * gdb.ada/fin_fun_out: New testcase.
11985
11986 2015-11-07 Kevin Buettner <kevinb@redhat.com>
11987
11988 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
11989 value associated with DW_AT_byte_size.
11990 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
11991 constants for DW_AT_byte_size, DW_AT_lower_bound, and
11992 DW_AT_upper_bound.
11993
11994 2015-11-07 Kevin Buettner <kevinb@redhat.com>
11995
11996 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
11997 (gdb_target_symbol_prefix_flags): Define in terms of _asm
11998 version.
11999 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
12000 gdb.dwarf2/dw2-canonicalize-type.exp,
12001 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
12002 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
12003 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
12004 provided by gdb_target_symbol_prefix_flags_asm.
12005 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
12006 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
12007 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
12008 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
12009 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
12010 macros where needed). Use this macro for symbols which require
12011 the prefix provided by SYMBOL_PREFIX.
12012
12013 2015-11-05 Kevin Buettner <kevinb@redhat.com>
12014
12015 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
12016 New procs.
12017 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
12018 representing expressions, of more than one list element.
12019 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
12020 to prepend linker symbol prefix to f.
12021 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
12022 table_1 and table_2.
12023 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
12024 Likewise, for f and g.
12025 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
12026 for ptr.
12027 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
12028 for main.
12029 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
12030 table_1_ptr and table_2_ptr.
12031
12032 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12033 Joel Brobecker <brobecker@adacore.com>
12034
12035 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
12036
12037 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
12038
12039 * gdb.reverse/s390-mvcle.c: New test.
12040 * gdb.reverse/s390-mvcle.exp: New file.
12041 * lib/gdb.exp: Enable reverse tests on s390*-linux.
12042
12043 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
12044
12045 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
12046
12047 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
12048
12049 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
12050 reaching marker2.
12051 * gdb.reverse/getresuid-reverse.exp: Likewise.
12052 * gdb.reverse/pipe-reverse.exp: Likewise.
12053 * gdb.reverse/readv-reverse.exp: Likewise.
12054 * gdb.reverse/recvmsg-reverse.exp: Likewise.
12055 * gdb.reverse/time-reverse.exp: Likewise.
12056 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
12057
12058 2015-10-30 Yao Qi <yao.qi@linaro.org>
12059
12060 * gdb.threads/wp-replication.c (watch_count_done): Remove.
12061 (empty_cycle): Remove.
12062 (main): Don't call empty_cycle. Don't use watch_count_done.
12063 * gdb.threads/wp-replication.exp: Don't set breakpoint on
12064 empty_cycle. Rewrite the code counting HW watchpoints.
12065
12066 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
12067
12068 * gdb.reverse/fstatat-reverse.c: New test.
12069 * gdb.reverse/fstatat-reverse.exp: New file.
12070 * gdb.reverse/getresuid-reverse.c: New test.
12071 * gdb.reverse/getresuid-reverse.exp: New file.
12072 * gdb.reverse/pipe-reverse.c: New test.
12073 * gdb.reverse/pipe-reverse.exp: New file.
12074 * gdb.reverse/readv-reverse.c: New test.
12075 * gdb.reverse/readv-reverse.exp: New file.
12076 * gdb.reverse/recvmsg-reverse.c: New test.
12077 * gdb.reverse/recvmsg-reverse.exp: New file.
12078 * gdb.reverse/time-reverse.c: New test.
12079 * gdb.reverse/time-reverse.exp: New file.
12080 * gdb.reverse/waitpid-reverse.c: New test.
12081 * gdb.reverse/waitpid-reverse.exp: New file.
12082
12083 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
12084
12085 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
12086
12087 2015-10-26 Doug Evans <dje@google.com>
12088
12089 PR symtab/17391
12090 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
12091 * gdb.dwarf2/bad-regnum.c: New file.
12092 * gdb.dwarf2/bad-regnum.exp: New file.
12093
12094 2015-10-26 Doug Evans <dje@google.com>
12095
12096 PR python/18938
12097 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
12098 file.
12099
12100 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
12101
12102 * gdb.compile/compile.exp (compile code globalvar): Update expectation
12103 for a change by "Mention language in compile error message".
12104
12105 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
12106
12107 PR python/18073
12108 * gdb.python/py-type.c (C::a_method): New.
12109 (C::a_const_method): New.
12110 (C::a_static_method): New.
12111 (a_function): New.
12112 * gdb.python/py-type.exp (test_fields): Test getting fields
12113 from function and method.
12114
12115 2015-10-21 Keven Boell <keven.boell@intel.com>
12116
12117 * gdb.fortran/vla-alloc-assoc.exp: New file.
12118 * gdb.fortran/vla-datatypes.exp: New file.
12119 * gdb.fortran/vla-datatypes.f90: New file.
12120 * gdb.fortran/vla-history.exp: New file.
12121 * gdb.fortran/vla-ptype-sub.exp: New file.
12122 * gdb.fortran/vla-ptype.exp: New file.
12123 * gdb.fortran/vla-sizeof.exp: New file.
12124 * gdb.fortran/vla-sub.f90: New file.
12125 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
12126 * gdb.fortran/vla-value-sub-finish.exp: New file.
12127 * gdb.fortran/vla-value-sub.exp: New file.
12128 * gdb.fortran/vla-value.exp: New file.
12129 * gdb.fortran/vla-ptr-info.exp: New file.
12130 * gdb.mi/mi-vla-fortran.exp: New file.
12131 * gdb.mi/vla.f90: New file.
12132
12133 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
12134
12135 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
12136 of hardwired timeout value.
12137
12138 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12139 Pedro Alves <palves@redhat.com>
12140
12141 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
12142 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
12143
12144 2015-10-19 Josh Stone <jistone@redhat.com>
12145
12146 * gdb.base/catch-syscall.c: Include <sched.h>.
12147 (unknown_syscall): New variable.
12148 (main): Trigger a vfork and an unknown syscall.
12149 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
12150 (unknown_syscall_number): Likewise.
12151 (check_call_to_syscall): Accept an optional syscall pattern.
12152 (check_return_from_syscall): Likewise.
12153 (check_continue): Likewise.
12154 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
12155 (test_catch_syscall_skipping_return): New test toggling off 'catch
12156 syscall' to step over the syscall return, then toggling back on.
12157 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
12158 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
12159 (do_syscall_tests): Call test_catch_syscall_without_args and
12160 test_catch_syscall_mid_vfork.
12161 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
12162 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
12163
12164 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
12165
12166 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
12167 print g_vE): Add new pass patterns.
12168 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
12169 print various symbol names for vptr fields.
12170
12171 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
12172
12173 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
12174 results.
12175
12176 2015-10-12 Yao Qi <yao.qi@linaro.org>
12177
12178 * gdb.arch/disp-step-insn-reloc.exp: New test case.
12179
12180 2015-10-12 Yao Qi <yao.qi@linaro.org>
12181
12182 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
12183 is aarch64*-*-linux*.
12184
12185 2015-10-12 Yao Qi <yao.qi@linaro.org>
12186
12187 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
12188 (can_relocate_bcond_true): ... it.
12189 (can_relocate_bcond_false): New function.
12190 (foo): Likewise.
12191 (can_relocate_bl): Likewise.
12192 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
12193 can_relocate_bl.
12194
12195 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
12196
12197 * gdb.base/nested-addr.c: New file.
12198 * gdb.base/nested-addr.exp: New testcase.
12199
12200 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
12201
12202 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
12203 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
12204 its output. Ignore the output of "record goto begin" and instead
12205 check that GDB is replaying.
12206
12207 2015-10-09 Pedro Alves <palves@redhat.com>
12208
12209 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
12210 (top level): Use it in the run with no args test.
12211
12212 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
12213
12214 * gdb.dlang/properties.exp: New file.
12215
12216 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
12217
12218 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
12219 whether or not address 0x1000 is mapped on the target.
12220
12221 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
12222
12223 * gdb.python/py-type.exp: Do not run tests if binaries fail to
12224 build.
12225
12226 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
12227
12228 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
12229 instruction-history test.
12230
12231 2015-09-28 Doug Evans <dje@google.com>
12232
12233 * gdb.base/gcore.c (array_func): Add reference to static_array.
12234
12235 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
12236
12237 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
12238 source line.
12239
12240 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
12241
12242 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
12243 short or char as base type.
12244
12245 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
12246
12247 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
12248 to allow any size enum.
12249
12250 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
12251
12252 * gdb.ada/array_ptr_renaming.exp: New testcase.
12253 * gdb.ada/array_ptr_renaming/foo.adb: New file.
12254 * gdb.ada/array_ptr_renaming/pack.ads: New file.
12255
12256 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
12257
12258 * gdb.trace/ftrace-lock.c: New file.
12259 * gdb.trace/ftrace-lock.exp: New file.
12260
12261 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
12262
12263 * gdb.arch/insn-reloc.c: New file.
12264 * gdb.arch/ftrace-insn-reloc.exp: New file.
12265
12266 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
12267
12268 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
12269 instruction.
12270 * gdb.trace/pendshr1.c (pendfunc): Likewise.
12271 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
12272 * gdb.trace/range-stepping.c: Likewise.
12273 * gdb.trace/trace-break.c: Likewise.
12274 * gdb.trace/trace-mt.c (thread_function): Likewise.
12275 * gdb.trace/ftrace.c (marker): Likewise.
12276 * gdb.trace/trace-condition.c (marker): Likewise.
12277 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
12278 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
12279 is_aarch64_target.
12280
12281 2015-09-18 Doug Evans <xdje42@gmail.com>
12282
12283 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
12284 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
12285
12286 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12287
12288 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
12289 the breakpoint.
12290
12291 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12292
12293 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
12294 the pending breakpoint. Remove timeout override for "Run till
12295 MI pending breakpoint on pendfunc3 on thread 2" test.
12296
12297 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12298
12299 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
12300 filename pattern.
12301
12302 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12303
12304 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
12305 in breakpoint filename pattern.
12306
12307 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12308
12309 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
12310
12311 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12312
12313 * gdb.linespec/explicit.exp: Check for readline support for
12314 tab-completion tests. Fix obvious typo.
12315
12316 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
12317
12318 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
12319 and replay.
12320
12321 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
12322
12323 * gdb.btrace/non-stop.c: New.
12324 * gdb.btrace/non-stop.exp: New.
12325
12326 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
12327 Yao Qi <yao.qi@linaro.org>
12328
12329 * gdb.trace/trace-condition.c: New file.
12330 * gdb.trace/trace-condition.exp: New file.
12331
12332 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
12333
12334 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
12335 for testing bytecode compilation.
12336
12337 2015-09-16 Pedro Alves <palves@redhat.com>
12338 Sandra Loosemore <sandra@codesourcery.com>
12339
12340 * gdb.threads/non-stop-fair-events.c (timeout): New global.
12341 (SECONDS): Redefine.
12342 (main): Call pthread_kill and alarm early.
12343 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
12344 support.
12345 (test): If the target can't hardware step and doesn't support
12346 displaced stepping, increase the timeout.
12347
12348 2015-09-16 Pedro Alves <palves@redhat.com>
12349
12350 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
12351 (enable_debug): New procedures.
12352 (test): Use them. Bail out if waiting for threads fails.
12353 (top level): Bail out if a test fails.
12354
12355 2015-09-16 Yao Qi <yao.qi@linaro.org>
12356
12357 * gdb.asm/asm-source.exp: Set asm-arch for
12358 aarch64*-*-* target.
12359 * gdb.asm/aarch64.inc: New file.
12360
12361 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
12362
12363 * gdb.ada/array_of_variable_length.exp: New testcase.
12364 * gdb.ada/array_of_variable_length/foo.adb: New file.
12365 * gdb.ada/array_of_variable_length/pck.adb: New file.
12366 * gdb.ada/array_of_variable_length/pck.ads: New file.
12367
12368 2015-09-15 Doug Evans <dje@google.com>
12369
12370 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
12371 of function static local variable.
12372
12373 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
12374
12375 * gdb.threads/tls-so_extern.exp: New test file.
12376 * gdb.threads/tls-so_extern.c: New test file.
12377 * gdb.threads/tls-so_extern_main.c: New test file.
12378
12379 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12380
12381 * gdb.opt/solib-intra-step-lib.c: New file.
12382 * gdb.opt/solib-intra-step-main.c: New file.
12383 * gdb.opt/solib-intra-step.exp: New file.
12384
12385 2015-09-15 Pedro Alves <palves@redhat.com>
12386
12387 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
12388 gdb_continue_to_breakpoint instead of gdb_test_multiple.
12389
12390 2015-09-14 Pedro Alves <palves@redhat.com>
12391
12392 * gdb.base/hook-stop-continue.c: Delete.
12393 * gdb.base/hook-stop-continue.exp: Delete.
12394 * gdb.base/hook-stop-frame.c: Delete.
12395 * gdb.base/hook-stop-frame.exp: Delete.
12396 * gdb.base/hook-stop.c: New file.
12397 * gdb.base/hook-stop.exp: New file.
12398
12399 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
12400
12401 * gdb.ada/access_to_packed_array.exp: New testcase.
12402 * gdb.ada/access_to_packed_array/foo.adb: New file.
12403 * gdb.ada/access_to_packed_array/pack.adb: New file.
12404 * gdb.ada/access_to_packed_array/pack.ads: New file.
12405
12406 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
12407
12408 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
12409 buffer size test.
12410
12411 2015-09-11 Don Breazeal <donb@codesourcery.com>
12412
12413 * gdb.base/foll-exec.c: Add copyright header. Fix
12414 formatting issues.
12415 * gdb.base/foll-exec.exp (zap_session): Delete proc.
12416 (do_exec_tests): Use clean_restart in place of zap_session,
12417 and for test initialization. Fix formatting issues. Use
12418 fail in place of perror.
12419 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
12420 an expect statement to match an expression with output from
12421 the program under debug.
12422 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
12423 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
12424 * gdb.threads/non-ldr-exc-2.exp: Likewise.
12425 * gdb.threads/non-ldr-exc-3.exp: Likewise.
12426 * gdb.threads/non-ldr-exc-4.exp: Likewise.
12427
12428 2015-09-09 Doug Evans <dje@google.com>
12429
12430 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
12431
12432 2015-09-09 Doug Evans <dje@google.com>
12433
12434 * gdb.base/pie-execl.exp: Fix result test of build_executable.
12435
12436 2015-09-09 Doug Evans <dje@google.com>
12437
12438 * gdb.base/savedregs.exp: Fix typo.
12439
12440 2015-09-09 Pedro Alves <palves@redhat.com>
12441
12442 * gdb.mi/mi-cli.exp: Add CLI finish tests.
12443
12444 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
12445
12446 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
12447 command actually switches threads. Give up on remaining
12448 tests if target fails to stop at breakpoint.
12449
12450 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
12451
12452 * gdb.ada/funcall_char.exp: New testcase.
12453 * gdb.ada/funcall_char/foo.adb: New file.
12454
12455 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
12456
12457 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
12458 expected outputs. Add two testcases for completing ambiguous
12459 functions.
12460 * gdb.ada/complete/aux_pck.adb: New file.
12461 * gdb.ada/complete/aux_pck.ads: New file.
12462 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
12463 Ambiguous_Func functions.
12464 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
12465 * gdb.ada/complete/pck.adb: Likewise.
12466
12467 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
12468
12469 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
12470 failures to run the test program under GDB.
12471
12472 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
12473
12474 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
12475 to C.
12476
12477 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
12478
12479 * gdb.base/run-after-attach.exp: New test file.
12480 * gdb.base/run-after-attach.c: New test file.
12481
12482 2015-08-26 Don Breazeal <donb@codesourcery.com>
12483
12484 * gdb.base/foll-exec-2.c: New test program.
12485 * gdb.base/foll-exec-2.exp: New test.
12486
12487 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
12488
12489 * gdb.base/nested-subp1.exp: New file.
12490 * gdb.base/nested-subp1.c: New file.
12491 * gdb.base/nested-subp2.exp: New file.
12492 * gdb.base/nested-subp2.c: New file.
12493 * gdb.base/nested-subp3.exp: New file.
12494 * gdb.base/nested-subp3.c: New file.
12495
12496 2015-08-24 Pedro Alves <palves@redhat.com>
12497
12498 * gdb.server/connect-without-multi-process.c: New file.
12499 * gdb.server/connect-without-multi-process.exp: New file.
12500
12501 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
12502
12503 * gdb.opt/inline-markers.c: Make z int.
12504
12505 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
12506
12507 * gdb.opt/inline-markers.c: Make z volatile.
12508
12509 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
12510
12511 * gdb.opt/inline-bt.c: New volatile global z.
12512 * gdb.opt/inline-cmds.c: Likewise.
12513 * gdb.opt/inline-locals.c: Likewise.
12514 * gdb.opt/inline-markers.c: New extern global z.
12515 (marker): Use z.
12516 (inline_fn): Likewise.
12517
12518 2015-08-24 Pedro Alves <palves@redhat.com>
12519
12520 * config/m32r-stub.exp: Remove file.
12521 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
12522 * gdb.base/call-rt-st.exp: Likewise.
12523 * gdb.base/call-strs.exp: Likewise.
12524 * gdb.base/default.exp: Remove references to h8300-*-hms and
12525 *-*-udi*.
12526 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
12527
12528 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
12529
12530 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
12531 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
12532 and "return" use KFAIL when GDB can not read/write the vector
12533 return value.
12534
12535 2015-08-21 Gary Benson <gbenson@redhat.com>
12536
12537 * gdb.trace/pending.exp: Cope with remote transfer warnings.
12538
12539 2015-08-20 Pedro Alves <palves@redhat.com>
12540
12541 * gdb.server/solib-list.exp: No longer expect an interior stop in
12542 non-stop mode.
12543
12544 2015-08-20 Pedro Alves <palves@redhat.com>
12545
12546 * gdb.server/connect-stopped-target.c: New file.
12547 * gdb.server/connect-stopped-target.exp: New file.
12548
12549 2015-08-20 Pedro Alves <palves@redhat.com>
12550
12551 * gdb.dwarf2/comp-unit-lang.exp: New file.
12552 * gdb.dwarf2/comp-unit-lang.c: New file.
12553
12554 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
12555
12556 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
12557 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
12558
12559 2015-08-19 Kevin Buettner <kevinb@redhat.com>
12560
12561 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
12562 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
12563
12564 2015-08-18 Doug Evans <dje@google.com>
12565 Adrian Sendroiu <adrian.sendroiu@freescale.com>
12566
12567 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
12568 skip_python_tests. New arg prompt_regexp.
12569 (skip_python_tests): New function.
12570 * lib/mi-support.exp (mi_skip_python_tests): New function.
12571 * gdb.python/py-mi-objfile-gdb.py: New file.
12572 * gdb.python/py-mi-objfile.c: New file.
12573 * gdb.python/py-mi-objfile.exp: New file.
12574
12575 2015-08-17 Keith Seitz <keiths@redhat.com>
12576
12577 * gdb.linespec/explicit.exp: Move strace test from here ...
12578 * gdb.trace/strace.exp: ... to here.
12579
12580 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
12581
12582 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
12583 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
12584
12585 2015-08-14 Doug Evans <xdje42@gmail.com>
12586
12587 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
12588 inferior before selecting a new file.
12589
12590 2015-08-14 Doug Evans <xdje42@gmail.com>
12591
12592 * gdb.mi/mi-disassemble.exp: Update.
12593 * gdb.base/disasm-optim.S: New file.
12594 * gdb.base/disasm-optim.c: New file.
12595 * gdb.base/disasm-optim.h: New file.
12596 * gdb.base/disasm-optim.exp: New file.
12597
12598 2015-08-14 Keith Seitz <keiths@redhat.com>
12599
12600 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
12601 "evaluated-by".
12602
12603 2015-08-13 Joel Brobecker <brobecker@adacore.com>
12604
12605 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
12606
12607 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
12608
12609 * gdb.ada/fun_renaming.exp: New testcase.
12610 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
12611 * gdb.ada/fun_renaming/pack.adb: New file.
12612 * gdb.ada/fun_renaming/pack.ads: New file.
12613
12614 2015-08-12 Keith Seitz <keiths@redhat.com>
12615
12616 * gdb.base/dso2dso.exp: Pass basename of source file in call to
12617 gdb_get_line_number.
12618
12619 2015-08-12 Joel Brobecker <brobecker@adacore.com>
12620
12621 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
12622 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
12623 gdb.base/dso2dso.exp: New files.
12624
12625 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
12626 Pedro Alves <palves@redhat.com>
12627 Keith Seitz <keiths@redhat.com>
12628
12629 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
12630 GDBFLAGS.
12631
12632 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
12633
12634 * gdb.base/gdbhistsize-history.exp
12635 (test_histsize_history_setting): Use save_vars.
12636 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
12637 Use save_vars.
12638 (test_no_truncation_of_unlimited_history_file): Use save_vars.
12639 * gdb.base/readline.exp: Use save_vars.
12640
12641 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
12642
12643 * lib/gdb.exp (save_vars): New proc.
12644
12645 2015-08-11 Keith Seitz <keiths@redhat.com>
12646
12647 * gdb.base/help.exp: Update help_breakpoint_text.
12648
12649 2015-08-11 Keith Seitz <keiths@redhat.com>
12650
12651 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
12652 (at toplevel): Call test_explicit_breakpoints.
12653 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
12654 breakpoints.
12655 * lib/mi-support.exp (mi_make_breakpoint): Add support for
12656 breakpoint conditions, "-cond".
12657
12658 2015-08-11 Keith Seitz <keiths@redhat.com>
12659
12660 * gdb.linespec/3explicit.c: New file.
12661 * gdb.linespec/cpexplicit.cc: New file.
12662 * gdb.linespec/cpexplicit.exp: New file.
12663 * gdb.linespec/explicit.c: New file.
12664 * gdb.linespec/explicit.exp: New file.
12665 * gdb.linespec/explicit2.c: New file.
12666 * gdb.linespec/ls-errs.exp: Add explicit location tests.
12667 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
12668 before using in the matching pattern.
12669 Clarify that `prefix' is a regular expression.
12670
12671 2015-08-11 Keith Seitz <keiths@redhat.com>
12672
12673 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
12674 test.
12675 Add tests for missing ",FMT" and ",".
12676
12677 2015-08-10 Doug Evans <dje@google.com>
12678 Keith Seitz <keiths@redhat.com>
12679
12680 PR gdb/17960
12681 * gdb.base/completion.exp: Add location completer tests.
12682
12683 2015-08-07 Pedro Alves <palves@redhat.com>
12684
12685 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
12686 tests here.
12687 (top level): Run do_test with and without displaced stepping.
12688
12689 2015-08-07 Pedro Alves <palves@redhat.com>
12690
12691 * gdb.base/valgrind-disp-step.c: New file.
12692 * gdb.base/valgrind-disp-step.exp: New file.
12693
12694 2015-08-07 Pedro Alves <palves@redhat.com>
12695
12696 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
12697 Delete function.
12698 (main): Add alarm. Run an infinite loop instead of calling
12699 wait_threads.
12700 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
12701 comment.
12702 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
12703 Delete function.
12704 (main): Add alarm. Run an infinite loop instead of calling
12705 wait_threads.
12706 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
12707 comment.
12708
12709 2015-08-07 Pedro Alves <palves@redhat.com>
12710
12711 * gdb.base/checkpoint-ns.exp: New file.
12712 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
12713 standard_testfile.
12714
12715 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
12716
12717 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
12718 * gdb.btrace/instruction_history.exp: Update.
12719 * gdb.btrace/tsx.exp: New.
12720 * gdb.btrace/tsx.c: New.
12721
12722 2015-08-06 Pedro Alves <palves@redhat.com>
12723
12724 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
12725 increase timeout.
12726 * gdb.reverse/until-precsave.exp: Bump timeouts.
12727
12728 2015-08-06 Pedro Alves <palves@redhat.com>
12729
12730 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
12731
12732 2015-08-06 Pedro Alves <palves@redhat.com>
12733
12734 PR gdb/18749
12735 * gdb.threads/process-dies-while-handling-bp.c: New file.
12736 * gdb.threads/process-dies-while-handling-bp.exp: New file.
12737
12738 2015-08-06 Pedro Alves <palves@redhat.com>
12739
12740 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
12741 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
12742
12743 2015-08-05 Pedro Alves <palves@redhat.com>
12744
12745 * gdb.threads/next-while-other-thread-longjmps.c: New file.
12746 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
12747
12748 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
12749
12750 * gdb.base/bp-permanent.exp: Report test as unsupported if
12751 the target cannot stop at the permanent breakpoint.
12752
12753 2015-08-03 Doug Evans <dje@google.com>
12754
12755 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
12756 10000.
12757
12758 2015-08-03 Doug Evans <dje@google.com>
12759
12760 * Makefile.in (workers/%.worker, build-perf): New rule.
12761 (GDB_PERFTEST_MODE): New variable.
12762 (check-perf): Use it.
12763 (clean): Clean up gdb.perf parallel build subdirs.
12764 * lib/build-piece.exp: New file.
12765 * lib/gdb.exp (make_gdb_parallel_path): New function
12766 (standard_output_file, standard_temp_file): Call it.
12767 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
12768 of $GDB_PARALLEL.
12769 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
12770
12771 2015-08-03 Doug Evans <dje@google.com>
12772
12773 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
12774 (LOG_FILE_NAME): New global.
12775 (TextReporter.__init__): Initialize self.txt_sum.
12776 (TextReporter.report): Add support for multiple data-points.
12777 Move report to perftest.sum, put raw data in perftest.log.
12778 (TextReporter.start): Open sum and log files.
12779 (TextReporter.end): Close sum and log files.
12780 * gdb.perf/lib/perftest/testresult.py
12781 (SingleStatisticTestResult.record): Handle multiple data-points.
12782
12783 2015-07-31 Pedro Alves <palves@redhat.com>
12784
12785 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
12786 Use spawn_id_get_pid. Wait for spawn id after eof. Use
12787 kill_wait_spawned_process instead of explicit "kill -9".
12788 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
12789 returning a spawn id instead of a pid. Use spawn_id_get_pid and
12790 kill_wait_spawned_process.
12791 * gdb.base/attach-twice.exp: Likewise.
12792 * gdb.base/attach.exp: Likewise.
12793 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
12794 gdb_test_multiple.
12795 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
12796 returning a spawn id instead of a pid. Use spawn_id_get_pid and
12797 kill_wait_spawned_process.
12798 * gdb.base/valgrind-infcall.exp: Likewise.
12799 * gdb.multi/multi-attach.exp: Likewise.
12800 * gdb.python/py-prompt.exp: Likewise.
12801 * gdb.python/py-sync-interp.exp: Likewise.
12802 * gdb.server/ext-attach.exp: Likewise.
12803 * gdb.threads/attach-into-signal.exp (corefunc): Use
12804 spawn_wait_for_attach, spawn_id_get_pid and
12805 kill_wait_spawned_process.
12806 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
12807 spawn_wait_for_attach returning a spawn id instead of a pid. Use
12808 spawn_id_get_pid and kill_wait_spawned_process.
12809 * gdb.threads/attach-stopped.exp (corefunc): Use
12810 spawn_wait_for_attach, spawn_id_get_pid and
12811 kill_wait_spawned_process.
12812 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
12813 Use spawn_id_get_pid. Wait for spawn id after eof. Use
12814 kill_wait_spawned_process instead of explicit "kill -9".
12815 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
12816 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
12817 (spawn_wait_for_attach): Use spawn instead of exec to spawn
12818 processes. Don't map cygwin/windows pids here. Now returns a
12819 spawn id list.
12820
12821 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12822
12823 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
12824 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
12825 correct patch.
12826
12827 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12828
12829 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
12830
12831 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12832
12833 Reapply:
12834 2014-05-21 Mark Wielaard <mjw@redhat.com>
12835
12836 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
12837
12838 2015-07-30 Pedro Alves <palves@redhat.com>
12839
12840 * linux-low.c (handle_extended_wait): Set the child's last
12841 reported status to TARGET_WAITKIND_STOPPED.
12842
12843 2015-07-30 Pedro Alves <palves@redhat.com>
12844
12845 PR threads/18600
12846 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
12847 only shows inferior 1.
12848
12849 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
12850 Pedro Alves <palves@redhat.com>
12851
12852 PR threads/18600
12853 * gdb.threads/fork-plus-threads.c: New file.
12854 * gdb.threads/fork-plus-threads.exp: New file.
12855
12856 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12857
12858 * gdb.base/batch-preserve-term-settings.exp
12859 (test_terminal_settings_preserved_after_cli_exit): Use
12860 send_quit_command.
12861
12862 2015-07-29 Pedro Alves <palves@redhat.com>
12863 Don Breazeal <donb@codesourcery.com>
12864
12865 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
12866 output from both inferior_spawn_id and gdb_spawn_id.
12867
12868 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
12869
12870 * gdb.threads/attach-into-signal.exp (corefunc): Use
12871 with_test_prefix on nested loops, uniquefying the test messages.
12872
12873 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
12874
12875 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
12876 commit.
12877
12878 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12879
12880 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
12881 New proc.
12882 (test_terminal_settings_preserved_after_sigterm): New test.
12883
12884 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12885
12886 * gdb.base/batch-preserve-term-settings.exp
12887 (test_terminal_settings_preserved_after_cli_exit): New test.
12888
12889 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12890
12891 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
12892 manipulation of saved_gdbflags.
12893 (test_terminal_settings_preserved): Remove global declaration of
12894 the unused variable pagination_prompt. Remove manipulation of
12895 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
12896 GDBFLAGS.
12897
12898 2015-07-29 Pedro Alves <palves@redhat.com>
12899
12900 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
12901
12902 2015-07-29 Pedro Alves <palves@redhat.com>
12903
12904 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
12905 at the top.
12906
12907 2015-07-29 Pedro Alves <palves@redhat.com>
12908
12909 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
12910 (main): Call gdb_unbuffer_output.
12911 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
12912 (main): Call gdb_unbuffer_output.
12913 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
12914 (main): Call gdb_unbuffer_output.
12915 * gdb.base/call-strs.exp: Adjust to step over the
12916 gdb_unbuffer_output call.
12917 * gdb.base/catch-gdb-caused-signals.c: Include
12918 "../lib/unbuffer_output.c".
12919 (main): Call gdb_unbuffer_output.
12920 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
12921 (main): Call gdb_unbuffer_output.
12922 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
12923 (main): Call gdb_unbuffer_output.
12924 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
12925 (main): Call gdb_unbuffer_output.
12926 * gdb.base/shlib-call.exp: Adjust to step over the
12927 gdb_unbuffer_output call.
12928 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
12929 (main): Call gdb_unbuffer_output.
12930 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
12931 (main): Call gdb_unbuffer_output.
12932 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
12933 (main): Rename to ...
12934 (test): ... this.
12935 (main): Reimplement.
12936 * gdb.base/varargs.exp: Run to test instead of to main.
12937 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
12938 (main): Call gdb_unbuffer_output.
12939
12940 2015-07-29 Pedro Alves <palves@redhat.com>
12941
12942 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
12943 factore out from mi_continue_dprintf. For call-style dprintfs,
12944 expect dprintf output out of $inferior_spawn_id.
12945 (mi_continue_dprintf): Use mi_expect_dprintf.
12946 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
12947 (main): Call gdb_unbuffer_output.
12948
12949 2015-07-29 Pedro Alves <palves@redhat.com>
12950
12951 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
12952 (default_mi_gdb_start): Set inferior_spawn_id instead of
12953 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
12954 gdb_spawn_id.
12955 (mi_gdb_test): Always expect inferior output from both
12956 $inferior_spawn_id and $gdb_spawn_id.
12957
12958 2015-07-29 Pedro Alves <palves@redhat.com>
12959
12960 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
12961 send_inferior and $inferior_spawn_id.
12962
12963 2015-07-29 Pedro Alves <palves@redhat.com>
12964
12965 * gdb.gdb/complaints.exp (test_initial_complaints)
12966 (test_serial_complaints, test_short_complaints): Use
12967 gdb_test_stdio.
12968 (test_empty_complaint): Handle $inferior_spawn_id !=
12969 $gdb_spawn_id.
12970
12971 2015-07-29 Pedro Alves <palves@redhat.com>
12972
12973 * gdb.base/varargs.exp: Use gdb_test_stdio.
12974
12975 2015-07-29 Pedro Alves <palves@redhat.com>
12976
12977 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
12978
12979 2015-07-29 Pedro Alves <palves@redhat.com>
12980
12981 * gdb.base/ending-run.exp: Use gdb_test_stdio.
12982
12983 2015-07-29 Pedro Alves <palves@redhat.com>
12984
12985 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
12986 parameter into two new parameters, "inf_result" and "gdb_result".
12987 Expect inferior output and gdb output from $inferior_spawn_id and
12988 $gdb_spawn_id, respectively. Adjust all callers.
12989
12990 2015-07-29 Pedro Alves <palves@redhat.com>
12991
12992 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
12993 of gdb_test_sequence.
12994
12995 2015-07-29 Pedro Alves <palves@redhat.com>
12996
12997 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
12998 (saw_spurious_output): Expect inferior output from
12999 $inferior_spawn_id. Use gdb_test_stdio.
13000
13001 2015-07-29 Pedro Alves <palves@redhat.com>
13002
13003 * gdb.base/dprintf.exp: Use standard_testfile. Change
13004 prepare_for_testing call.
13005 (srcfile): Don't set.
13006 (restart): New procedure.
13007 (test_dprintf): New procecure, use to continue over dprintfs.
13008 (test_call, test_agent): New procedures, tests moved here.
13009 Restart gdb and recreate dprintfs. Adjust expected output.
13010
13011 2015-07-29 Pedro Alves <palves@redhat.com>
13012
13013 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
13014
13015 2015-07-29 Pedro Alves <palves@redhat.com>
13016
13017 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
13018
13019 2015-07-29 Pedro Alves <palves@redhat.com>
13020
13021 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
13022 gdb_test_stdio.
13023
13024 2015-07-29 Pedro Alves <palves@redhat.com>
13025
13026 * lib/gdb.exp (gdb_test_stdio): New procedure.
13027
13028 2015-07-29 Pedro Alves <palves@redhat.com>
13029
13030 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
13031
13032 2015-07-29 Pedro Alves <palves@redhat.com>
13033
13034 * gdb.base/call-signal-resume.exp: Remove check for
13035 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
13036 * gdb.base/unwindonsignal.exp: Likewise.
13037 * gdb.base/call-signals.c (gen_signal): Remove printf call.
13038 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
13039
13040 2015-07-29 Pedro Alves <palves@redhat.com>
13041
13042 * gdb.base/siginfo-addr.c (pass): New function.
13043 (handler): Call it iff si_addr is correct.
13044 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
13045 Set a breakpoint at "pass" and continue to it.
13046
13047 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
13048
13049 * gdb.python/py-objfile.exp: Make some tests have unique names.
13050 * gdb.python/py-pp-registration.exp: Likewise.
13051
13052 2015-07-28 Pedro Alves <palves@redhat.com>
13053
13054 * gdb.server/server-exec-info.exp: Issue a "disconnect".
13055
13056 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
13057
13058 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
13059
13060 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
13061
13062 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
13063
13064 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
13065
13066 * gdb.base/gdb-sigterm-2.exp: New test.
13067
13068 2015-07-25 Doug Evans <xdje42@gmail.com>
13069
13070 Revert:
13071 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
13072 (workers/%.worker, build-perf): New rule.
13073 (GDB_PERFTEST_MODE): New variable.
13074 (check-perf): Use it.
13075 (clean): Clean up gdb.perf parallel build subdirs.
13076 * lib/build-piece.exp: New file.
13077 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
13078 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
13079 name.
13080 (standard_temp_file): Ditto.
13081 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
13082 of $GDB_PARALLEL.
13083
13084 2015-07-24 Doug Evans <dje@google.com>
13085
13086 * gdb.perf/lib/perftest/utils.py: New file.
13087 * gdb.perf/gm-hello.cc: New file.
13088 * gdb.perf/gm-pervasive-typedef.cc: New file.
13089 * gdb.perf/gm-pervasive-typedef.h: New file.
13090 * gdb.perf/gm-std.cc: New file.
13091 * gdb.perf/gm-std.h: New file.
13092 * gdb.perf/gm-use-cerr.cc: New file.
13093 * gdb.perf/gm-utils.h: New file.
13094 * gdb.perf/gmonster-null-lookup.py: New file.
13095 * gdb.perf/gmonster-pervasive-typedef.py: New file.
13096 * gdb.perf/gmonster-print-cerr.py: New file.
13097 * gdb.perf/gmonster-ptype-string.py: New file.
13098 * gdb.perf/gmonster-runto-main.py: New file.
13099 * gdb.perf/gmonster-select-file.py: New file.
13100 * gdb.perf/gmonster1-null-lookup.exp: New file.
13101 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
13102 * gdb.perf/gmonster1-print-cerr.exp: New file.
13103 * gdb.perf/gmonster1-ptype-string.exp: New file.
13104 * gdb.perf/gmonster1-runto-main.exp: New file.
13105 * gdb.perf/gmonster1-select-file.exp: New file.
13106 * gdb.perf/gmonster1.cc: New file.
13107 * gdb.perf/gmonster1.exp: New file.
13108 * gdb.perf/gmonster2-null-lookup.exp: New file.
13109 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
13110 * gdb.perf/gmonster2-print-cerr.exp: New file.
13111 * gdb.perf/gmonster2-ptype-string.exp: New file.
13112 * gdb.perf/gmonster2-runto-main.exp: New file.
13113 * gdb.perf/gmonster2-select-file.exp: New file.
13114 * gdb.perf/gmonster2.cc: New file.
13115 * gdb.perf/gmonster2.exp: New file.
13116
13117 2015-07-24 Doug Evans <dje@google.com>
13118
13119 * gdb.perf/README: New file.
13120 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
13121 * lib/gen-perf-test.exp: New file.
13122
13123 2015-07-24 Doug Evans <dje@google.com>
13124
13125 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
13126 (PerfTest::startup): New function.
13127 (PerfTest::run): Return result of calling body.
13128 (PerfTest::assemble): Rewrite.
13129 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
13130 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
13131 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
13132 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
13133 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
13134
13135 2015-07-24 Doug Evans <dje@google.com>
13136
13137 * lib/gdb.exp (clean_restart): Make executable optional.
13138
13139 2015-07-24 Doug Evans <dje@google.com>
13140
13141 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
13142 compiler_info references.
13143 * gdb.cp/temargs.exp: Ditto.
13144 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
13145 (get_compiler_info): Early exit if already computed. Set compiler_info
13146 to "unknown" if there was a problem.
13147 (test_compiler_info): Add function comment. Call get_compiler_info.
13148
13149 2015-07-24 Doug Evans <dje@google.com>
13150
13151 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
13152 (workers/%.worker, build-perf): New rule.
13153 (GDB_PERFTEST_MODE): New variable.
13154 (check-perf): Use it.
13155 (clean): Clean up gdb.perf parallel build subdirs.
13156 * lib/build-piece.exp: New file.
13157 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
13158 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
13159 name.
13160 (standard_temp_file): Ditto.
13161 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
13162 of $GDB_PARALLEL.
13163
13164 2015-07-24 Doug Evans <dje@google.com>
13165
13166 * lib/future.exp (gdb_default_target_compile): New option
13167 "early_flags".
13168 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
13169 --as-needed.
13170
13171 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
13172
13173 * gdb.base/catch-syscall.exp: Call gdb_exit before
13174 gdb_skip_xml_test.
13175
13176 2015-07-24 Pedro Alves <palves@redhat.com>
13177
13178 * gdb.python/py-events.exp: Accept output between the stop event
13179 and the prompt.
13180 * gdb.python/py-evsignal.exp: Likewise.
13181 * gdb.python/py-evthreads.exp: Likewise.
13182
13183 2015-07-24 Pedro Alves <palves@redhat.com>
13184
13185 PR gdb/18717
13186 * gdb.threads/non-ldr-exit.c: New file.
13187 * gdb.threads/non-ldr-exit.exp: New file.
13188
13189 2015-07-24 Yao Qi <yao.qi@linaro.org>
13190
13191 * gdb.server/ext-wrapper.exp: Test --wrapper option when
13192 restarting process.
13193
13194 2015-07-24 Yao Qi <yao.qi@linaro.org>
13195
13196 * gdb.server/ext-restart.exp: New file.
13197
13198 2015-07-24 Yao Qi <yao.qi@linaro.org>
13199
13200 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
13201 argument options.
13202 * gdb.server/ext-wrapper.exp: New file.
13203
13204 2015-07-23 Doug Evans <dje@google.com>
13205
13206 * gdb.dwarf2/dw2-dummy-cu.S: New file.
13207 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
13208
13209 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
13210
13211 * gdb.ada/var_arr_typedef.exp: New testcase.
13212 * gdb.ada/var_arr_typedef/pack.adb: New file.
13213 * gdb.ada/var_arr_typedef/pack.ads: New file.
13214 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
13215
13216 2015-07-20 Joel Brobecker <brobecker@adacore.com>
13217
13218 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
13219
13220 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13221
13222 * gdb.arch/i386-biarch-core.exp: Replace istarget
13223 by "complete set gnutarget". Remove expectation for the "core-file"
13224 command.
13225
13226 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13227
13228 Revert the previous commit:
13229 Tests for validate symbol file using build-id.
13230
13231 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
13232
13233 Tests for validate symbol file using build-id.
13234 * gdb.base/solib-mismatch-lib.c: New file.
13235 * gdb.base/solib-mismatch-libmod.c: New file.
13236 * gdb.base/solib-mismatch.c: New file.
13237 * gdb.base/solib-mismatch.exp: New file.
13238
13239 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
13240
13241 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
13242 nios2-*-linux*.
13243 * gdb.base/sigbpt.exp (stepi_out): Likewise.
13244 * gdb.base/siginfo.exp: Likewise.
13245 * gdb.base/sigstep.exp (advance, advancei): Likewise.
13246
13247 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
13248
13249 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
13250 Move it to ...
13251 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
13252 ... here.
13253 * gdb.trace/range-stepping.exp: Check that the target supports
13254 range stepping.
13255
13256 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13257
13258 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
13259
13260 2015-07-14 Pedro Alves <palves@redhat.com>
13261
13262 * gdb.base/killed-outside.exp: New file.
13263 * gdb.base/killed-outside.c: New file.
13264
13265 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
13266
13267 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
13268 (n at main): New.
13269 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
13270
13271 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
13272
13273 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
13274 infcall tests instead of setting up for KFAIL.
13275
13276 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
13277
13278 * gdb.btrace/record_goto-step.exp: New.
13279
13280 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13281
13282 PR compile/18484
13283 * gdb.compile/compile.c (struct struct_type): Add volatile to
13284 selffield's type.
13285 * gdb.compile/compile.exp
13286 (compile code struct_object.selffield = &struct_object): Skip further
13287 struct_object tests if this one xfails.
13288
13289 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
13290
13291 PR exp/18617
13292 * gdb.trace/ax.exp: Add test.
13293
13294 2015-07-07 Yao Qi <yao.qi@linaro.org>
13295
13296 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
13297 instead of istarget "aarch64*-*-*".
13298 * gdb.arch/aarch64-fp.exp: Likewise.
13299 * gdb.base/float.exp: Likewise.
13300 * gdb.reverse/aarch64.exp: Likewise.
13301 * lib/gdb.exp (is_aarch64_target): New proc.
13302
13303 2015-07-07 Yao Qi <yao.qi@linaro.org>
13304
13305 * lib/gdb.exp (is_aarch32_target): New proc.
13306 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
13307 instead of "istarget "arm*-*-*"".
13308 * gdb.arch/arm-disp-step.exp: Likewise.
13309 * gdb.arch/thumb-bx-pc.exp: Likewise.
13310 * gdb.arch/thumb-prologue.exp: Likewise.
13311 * gdb.arch/thumb-singlestep.exp: Likewise.
13312 * gdb.base/disp-step-syscall.exp: Likewise.
13313 * gdb.base/float.exp: Likewise.
13314
13315 2015-07-07 Yao Qi <yao.qi@linaro.org>
13316
13317 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
13318 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
13319
13320 2015-07-07 Yao Qi <yao.qi@linaro.org>
13321
13322 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
13323 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
13324 if it exists.
13325 * gdb.multi/multi-arch.exp: Likewise.
13326
13327 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
13328
13329 * gdb.python/py-lazy-string.exp: Add missing parentheses to
13330 print.
13331
13332 2015-07-07 Yao Qi <yao.qi@linaro.org>
13333
13334 * gdb.arch/thumb-singlestep.exp: Do one more single step.
13335
13336 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
13337
13338 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
13339 '[' and ']' characters.
13340
13341 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
13342
13343 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
13344
13345 2015-06-29 Pedro Alves <palves@redhat.com>
13346
13347 PR threads/18127
13348 * gdb.threads/hand-call-new-thread.c: New file.
13349 * gdb.threads/hand-call-new-thread.c: New file.
13350
13351 2015-06-26 Keith Seitz <keiths@redhat.com>
13352 Doug Evans <dje@google.com>
13353
13354 PR 16253
13355 * gdb.cp/var-tag-2.cc: New file.
13356 * gdb.cp/var-tag-3.cc: New file.
13357 * gdb.cp/var-tag-4.cc: New file.
13358 * gdb.cp/var-tag.cc: New file.
13359 * gdb.cp/var-tag.exp: New file.
13360
13361 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
13362
13363 * gdb.base/history-duplicates.exp: New test.
13364
13365 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
13366
13367 * gdb.base/completion.exp: Test the completion of the "focus"
13368 command.
13369
13370 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13371
13372 * gdb.arch/amd64-prologue-skip.S: New file.
13373 * gdb.arch/amd64-prologue-skip.exp: New file.
13374
13375 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
13376
13377 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
13378 is_address_zero_readable check.
13379
13380 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
13381
13382 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
13383 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
13384
13385 2015-06-24 Yao Qi <yao.qi@linaro.org>
13386
13387 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
13388 linux targets.
13389
13390 2015-06-24 Yao Qi <yao.qi@linaro.org>
13391
13392 * lib/gdb.exp (supports_get_siginfo_type): New proc.
13393 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
13394 * gdb.base/siginfo-thread.exp: Likewise.
13395
13396 2015-06-22 Yao Qi <yao.qi@linaro.org>
13397
13398 * boards/remote-gdbserver-on-localhost.exp: Add comments.
13399
13400 2015-06-22 Yao Qi <yao.qi@linaro.org>
13401
13402 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
13403 aarch64*-*-*.
13404 (skip_hw_watchpoint_tests): Likewise.
13405
13406 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
13407
13408 * gdb.base/gdbinit-history.exp: Test the interaction between
13409 setting GDBHISTSIZE and setting the history size via .gdbinit.
13410
13411 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
13412
13413 PR gdb/16999
13414 * gdb.base/gdbhistsize-history.exp: New test.
13415
13416 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
13417
13418 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
13419 with GDBHISTSIZE.
13420 * gdb.base/readline.exp: Likewise.
13421
13422 2015-06-17 Yao Qi <yao.qi@linaro.org>
13423
13424 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
13425 line.
13426
13427 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
13428
13429 * gdb.base/gdbinit-history.exp: Add test case to check that
13430 an unlimited history file does not get truncated on exit.
13431
13432 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
13433
13434 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
13435 (VECTOR): New macro. Use it...
13436 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
13437 ...for these typedefs.
13438 (int8, char1, int1, double1): New typedefs.
13439 (struct just_int2, struct two_int2): New structures.
13440 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
13441 (add_structvecs, add_singlevecs): New functions.
13442 (main): Call add_some_intvecs twice.
13443 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
13444 the compile and exit upon failure. Try compiling for the "native"
13445 architecture. Test inferior function calls with vector arguments
13446 and vector return value handling with "finish" and "return".
13447
13448 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
13449
13450 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
13451 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
13452 PE file.
13453 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
13454
13455 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
13456
13457 PR breakpoints/16465
13458 * gdb.mi/mi-dprintf-pending.c: New file.
13459 * gdb.mi/mi-dprintf-pending.exp: New test.
13460 * gdb.mi/mi-dprintf-pendshr.c: New file.
13461
13462 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13463 Mircea Gherzan <mircea.gherzan@intel.com>
13464
13465 * gdb.arch/i386-mpx-map.c: New file.
13466 * gdb.arch/i386-mpx-map.exp: New File.
13467
13468 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13469
13470 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
13471 * gdb.arch/i386-mpx.exp: Indentation fixed.
13472
13473 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13474
13475 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
13476 function and improved indentation.
13477 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
13478 gdb_test_multiple. Added additional tests to skip the test.
13479
13480 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13481
13482 * gdb.arch/i386-avx512.c: Change path in include file.
13483 * gdb.arch/i386-avx512.exp: Change include dir path
13484 compilation flag.
13485 * gdb.arch/i386-mpx.c: Change path in include file.
13486 * gdb.arch/i386-mpx.exp: Change include dir path compilation
13487 flag.
13488
13489 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
13490
13491 * gdb.compile/compile-print.exp (compile print *vararray@3)
13492 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
13493
13494 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
13495
13496 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
13497 (do not keep jit in memory): ... this.
13498 (expect 5): Change it to ...
13499 (expect no 5): ... this.
13500
13501 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
13502
13503 PR gdb/15564
13504 * gdb.mi/mi-detach.exp: New file.
13505
13506 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
13507
13508 PR symtab/18392
13509 * gdb.arch/amd64-tailcall-self.S: New file.
13510 * gdb.arch/amd64-tailcall-self.c: New file.
13511 * gdb.arch/amd64-tailcall-self.exp: New file.
13512
13513 2015-05-28 Don Breazeal <donb@codesourcery.com>
13514
13515 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
13516 tests for remote targets by checking is_target_gdbserver.
13517
13518 2015-05-27 Doug Evans <dje@google.com>
13519
13520 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
13521 * gdb.dwarf2/opaque-type-lookup.c: New file.
13522 * gdb.dwarf2/opaque-type-lookup.exp: New file.
13523
13524 2015-05-26 Doug Evans <dje@google.com>
13525
13526 * gdb.cp/iostream.cc: New file.
13527 * gdb.cp/iostream.exp: New file.
13528
13529 2015-05-26 Doug Evans <dje@google.com>
13530
13531 * gdb.dwarf2/dw2-op-call.exp: Update.
13532 * gdb.dwarf2/dw4-sig-types.exp: Update.
13533 * gdb.dwarf2/implptr.exp: Update.
13534 * gdb.mi/mi-cmd-param-changed.exp: Update.
13535
13536 2015-05-26 Doug Evans <dje@google.com>
13537
13538 * gdb.python/py-lazy-string.c: New file.
13539 * gdb.python/py-lazy-string.exp: New file.
13540 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
13541 (main): Update. Add estring3.
13542 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
13543 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
13544
13545 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
13546 Yao Qi <yao.qi@linaro.org>
13547
13548 * gdb.reverse/aarch64.c: New.
13549 * gdb.reverse/aarch64.exp: New.
13550
13551 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
13552
13553 * lib/gdb.exp (supports_process_record): Return true for
13554 aarch64*-linux*.
13555 (supports_reverse): Likewise.
13556
13557 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
13558
13559 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
13560 Use with_test_prefix.
13561
13562 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
13563
13564 * gdb.base/completion.exp: Add test for completion of layout
13565 names.
13566
13567 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
13568
13569 * lib/gdb.exp (skip_tui_tests): New proc.
13570 * gdb.base/tui-layout.exp: Check skip_tui_tests.
13571
13572 2015-05-19 Pedro Alves <palves@redhat.com>
13573
13574 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
13575 Save the whole env array instead of just HOME. Unset HISTSIZE in
13576 the environment while testing. Restore whole environment
13577 afterwards.
13578
13579 2015-05-16 Doug Evans <xdje42@gmail.com>
13580
13581 * gdb.guile/scm-ports.c: New file.
13582 * gdb.guile/scm-ports.exp: Add memory port tests.
13583
13584 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13585
13586 * gdb.compile/compile-print.c: New file.
13587 * gdb.compile/compile-print.exp: New file.
13588
13589 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13590
13591 * gdb.compile/compile-ops.exp: Cast param to void.
13592 * gdb.compile/compile.exp: Complete type for _gdb_expr.
13593 (compile code struct_object.selffield = &struct_object): Add xfail.
13594
13595 2015-05-15 Joel Brobecker <brobecker@adacore.com>
13596
13597 * gdb.ada/arr_enum_with_gap: New testcase.
13598
13599 2015-05-15 Joel Brobecker <brobecker@adacore.com>
13600
13601 * gdb.ada/byte_packed_arr: New testcase.
13602
13603 2015-05-15 Joel Brobecker <brobecker@adacore.com>
13604
13605 * gdb.ada/pckd_neg: New testcase.
13606
13607 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
13608
13609 PR gdb/17820
13610 * gdb.base/gdbinit-history.exp: New test.
13611 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
13612 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
13613
13614 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
13615
13616 * gdb.python/py-xmethods.cc: Enhance test case.
13617 * gdb.python/py-xmethods.exp: New tests.
13618 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
13619 function.
13620 (B_indexoper): Likewise.
13621 (global_dm_list) : Add new xmethod worker functions.
13622
13623 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
13624
13625 * gdb.base/coredump-filter.exp: Correctly unset
13626 "coredump_var_addr" array.
13627
13628 2015-05-08 Pedro Alves <palves@redhat.com>
13629
13630 * gdb.server/non-existing-program.exp: Unset spawn_id.
13631
13632 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
13633
13634 PR python/18291
13635 * gdb.python/py-xmethods.exp: Add tests.
13636
13637 2015-05-08 Yao Qi <yao.qi@linaro.org>
13638
13639 PR gdb/18208
13640 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
13641 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
13642 function set_coredump_filter, and remove remote_exec call.
13643 Remove argument ipid. Callers update.
13644 (top level): Don't get inferior's PID.
13645
13646 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
13647
13648 * gdb.base/watch_thread_num.exp: Skip test on targets without
13649 access watchpoints.
13650
13651 2015-05-06 Pedro Alves <palves@redhat.com>
13652
13653 PR server/18081
13654 * gdb.server/non-existing-program.exp: New file.
13655
13656 2015-05-05 Joel Brobecker <brobecker@adacore.com>
13657
13658 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
13659
13660 2015-05-05 Joel Brobecker <brobecker@adacore.com>
13661
13662 * gdb.ada/out_of_line_in_inlined: New testcase.
13663
13664 2015-05-05 Joel Brobecker <brobecker@adacore.com>
13665
13666 * gdb.ada/var_rec_arr: New testcase.
13667
13668 2015-04-30 Yao Qi <yao.qi@linaro.org>
13669
13670 * gdb.base/break-idempotent.exp: If
13671 skip_hw_watchpoint_multi_tests returns true, skip the tests
13672 on "rwatch" and "awatch".
13673
13674 2015-04-30 Yao Qi <yao.qi@linaro.org>
13675
13676 * gdb.base/relativedebug.exp: Invoke gdb command
13677 "info sharedlibrary", and if libc.so doesn't have debug info,
13678 skip the test.
13679
13680 2015-04-29 Doug Evans <dje@google.com>
13681
13682 * gdb.python/py-xmethods.exp: Add ptype tests.
13683 * gdb.python/py-xmethods.py (E_method_char_worker): Add
13684 get_result_type method.
13685
13686 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
13687
13688 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
13689 the target does not support hardware watchpoints.
13690
13691 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
13692
13693 * gdb.base/break-always.exp: Abort testing if writing to memory
13694 causes an error.
13695
13696 2015-04-28 Doug Evans <dje@google.com>
13697
13698 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
13699 * gdb.python/py-pp-registration.exp: ... here. New file.
13700 * gdb.python/py-pp-registration.c: New file.
13701 * gdb.python/py-pp-registration.py: New file.
13702
13703 2015-04-28 Doug Evans <dje@google.com>
13704
13705 * gdb.python/py-bad-printers.c: New file.
13706 * gdb.python/py-bad-printers.py: New file.
13707 * gdb.python/py-bad-printers.exp: New file.
13708
13709 2015-04-28 Sasha Smundak <asmundak@google.com>
13710
13711 * gdb.python/py-type.exp: New test.
13712
13713 2015-04-28 Andy Wingo <wingo@igalia.com>
13714
13715 * gdb.python/py-parameter.exp:
13716 * gdb.guile/scm-parameter.exp: Escape the path that we are
13717 matching against, as it might contain characters that are special
13718 to regular expressions.
13719
13720 2015-04-27 Joel Brobecker <brobecker@adacore.com>
13721
13722 * gdb.ada/rec_comp: New testcase.
13723
13724 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
13725
13726 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
13727 before using it.
13728
13729 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
13730
13731 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
13732 new tests for verilog output.
13733
13734 2015-04-24 Yao Qi <yao.qi@linaro.org>
13735
13736 * boards/remote-gdbserver-on-localhost.exp: New file.
13737
13738 2015-04-23 Pedro Alves <palves@redhat.com>
13739
13740 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
13741 $inferior_spawn_id instead of $inferior_spawn_id directly. On
13742 "end of file", remove $inferior_spawn_id from the indirect list.
13743
13744 2015-04-23 Pedro Alves <palves@redhat.com>
13745
13746 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
13747
13748 2015-04-23 Pedro Alves <palves@redhat.com>
13749
13750 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
13751 on $any_spawn_id instead of only on $gdb_spawn_id.
13752
13753 2015-04-21 Pierre Muller <muller@sourceware.org>
13754
13755 PR pascal/17815
13756 * lib/pascal.exp (gpc_compile): Add new option "class".
13757 (fpc_compile): Likewise.
13758 * gdb.pascal/case-insensitive-symbols.pas: New file.
13759 * gdb.pascal/case-insensitive-symbols.exp: New file.
13760
13761 2015-04-20 Gary Benson <gbenson@redhat.com>
13762
13763 * gdb.base/attach.exp: Fix three extended remote failures.
13764
13765 2015-04-17 Gary Benson <gbenson@redhat.com>
13766
13767 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
13768 the main executable over the remote protocol.
13769
13770 2015-04-16 Pedro Alves <palves@redhat.com>
13771
13772 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
13773 a new gdbserver if gdbserver_reconnect_p is set.
13774
13775 2015-04-16 Pedro Alves <palves@redhat.com>
13776
13777 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
13778 is set, don't exit gdbserver.
13779
13780 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
13781
13782 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
13783 appropriate .insn, such that an older assembler can be used.
13784 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
13785 the z/Architecture instruction set on 31-bit targets as well.
13786
13787 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
13788
13789 * gdb.go/handcall.exp: Remove all logic related to the first
13790 breakpoint and rely on go_runto_main instead.
13791 * gdb.go/strings.exp: Likewise.
13792 * gdb.go/unsafe.exp: Likewise.
13793 * gdb.go/hello.exp: Likewise. Also rename the remaining
13794 breakpoint marker to "breakpoint 1".
13795 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
13796 * gdb.go/strings.go: Likewise.
13797 * gdb.go/unsafe.go: Likewise.
13798 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
13799 "set breakpoint 2 here" and rename the remaining breakpoint marker
13800 to "breakpoint 1".
13801
13802 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
13803
13804 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
13805 if itertools.imap is not present.
13806 * gdb.python/py-objfile.exp: Add parentheses.
13807 * gdb.python/py-type.exp: Same.
13808 * gdb.python/py-unwind-maint.py: Same.
13809
13810 2015-04-15 Yao Qi <yao.qi@linaro.org>
13811
13812 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
13813 of ":$ptr_size" and set its form explicitly.
13814
13815 2015-04-15 Pedro Alves <palves@redhat.com>
13816 Yao Qi <yao.qi@linaro.org>
13817
13818 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
13819 timeout by factor of 4.
13820 (test_regular_watch): Likewise.
13821 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
13822 * gdb.reverse/sigall-reverse.exp: Likewise.
13823 * gdb.reverse/until-precsave.exp: Likewise.
13824 * lib/gdb.exp (with_timeout_factor): New proc.
13825 (gdb_expect): Move some code to ...
13826 (get_largest_timeout): ... here. New procedure.
13827
13828 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
13829
13830 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
13831
13832 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
13833
13834 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
13835 to write to the .text section.
13836
13837 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
13838
13839 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
13840 Handle the case of targets that do not provide PID information.
13841
13842 2015-04-13 Yao Qi <yao.qi@linaro.org>
13843
13844 * lib/gdbserver-support.exp (gdb_exit): Catch exception
13845 and use expect instead of gdb_expect.
13846
13847 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
13848
13849 * gdb.base/coredump-filter.exp: Rename variable "addr" to
13850 "coredump_var_addr" to avoid naming conflict with other testcases.
13851
13852 2015-04-10 Pedro Alves <palves@redhat.com>
13853
13854 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
13855 gdb_test_sequence and gdb_assert.
13856
13857 2015-04-10 Pedro Alves <palves@redhat.com>
13858
13859 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
13860 test messages that don't include the breakpoint address.
13861
13862 2015-04-10 Yao Qi <yao.qi@linaro.org>
13863
13864 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
13865 false for some offset and width combinations which aren't
13866 supported by linux kernel.
13867
13868 2015-04-10 Pedro Alves <palves@redhat.com>
13869
13870 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
13871 procedure, factored out from ...
13872 (top level): ... here. Add "set displaced-stepping" testing axis.
13873 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
13874 parameter "displaced". Use it.
13875 (top level): Use foreach and add "set displaced-stepping" testing
13876 axis.
13877
13878 2015-04-10 Pedro Alves <palves@redhat.com>
13879
13880 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
13881 Remove comment.
13882 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
13883 both the address of the instruction that triggers the watchpoint
13884 and the address of the instruction immediately after, and use
13885 those addresses for the test. Fix comment.
13886
13887 2015-04-10 Pedro Alves <palves@redhat.com>
13888
13889 * gdb.base/sigstep.exp (breakpoint_to_handler)
13890 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
13891 Test "backtrace" in handler.
13892 (breakpoint_over_handler): New parameter 'displaced'. Use it.
13893 (top level): Add new "displaced" test axis to
13894 breakpoint_to_handler, breakpoint_to_handler_entry and
13895 breakpoint_over_handler.
13896
13897 2015-04-10 Pedro Alves <palves@redhat.com>
13898
13899 PR gdb/18216
13900 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
13901
13902 2015-04-10 Yao Qi <yao.qi@linaro.org>
13903
13904 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
13905 (test_add_rn_pc): New function.
13906 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
13907 (top level): Invoke test_add_rn_pc.
13908
13909 2015-04-10 Pedro Alves <palves@redhat.com>
13910
13911 PR gdb/13858
13912 * gdb.base/step-over-no-symbols.exp: New file.
13913
13914 2015-04-09 Andy Wingo <wingo@igalia.com>
13915
13916 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
13917 after the Python tests.
13918
13919 2015-04-08 Keith Seitz <keiths@redhat.com>
13920
13921 PR python/16699
13922 * gdb.python/py-completion.exp: New tests for completion.
13923 * gdb.python/py-completion.py (CompleteLimit1): New class.
13924 (CompleteLimit2): Likewise.
13925 (CompleteLimit3): Likewise.
13926 (CompleteLimit4): Likewise.
13927 (CompleteLimit5): Likewise.
13928 (CompleteLimit6): Likewise.
13929 (CompleteLimit7): Likewise.
13930
13931 2015-04-08 Pedro Alves <palves@redhat.com>
13932
13933 PR gdb/18214
13934 PR gdb/18216
13935 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
13936 function.
13937 (main): Install it as SIGUSR1 handler.
13938 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
13939 parameter. Always use "setup" as prefix. Toggle "set
13940 displaced-stepping" off/on depending on global. Don't switch to
13941 thread 1 here.
13942 (top level): Add displaced stepping "off/on" test axis. Update
13943 "setup" calls. Wrap each subtest with with_test_prefix. Test
13944 continuing with a queued signal in each thread.
13945
13946 2015-04-08 Pedro Alves <palves@redhat.com>
13947
13948 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
13949 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
13950 gdb_breakpoint instead of gdb_test that doesn't expect anything.
13951 Return early if running to main fails.
13952 * gdb.trace/while-stepping.exp: Likewise.
13953
13954 2015-04-07 Pedro Alves <palves@redhat.com>
13955
13956 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
13957 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
13958 interact with inferior program.
13959
13960 2015-04-07 Pedro Alves <palves@redhat.com>
13961
13962 * lib/gdb.exp (inferior_spawn_id): New global.
13963 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
13964 spawn id after processing the user code.
13965 (default_gdb_start): Set inferior_spawn_id.
13966 (send_inferior): New procedure.
13967 * lib/gdbserver-support.exp (gdbserver_start): Set
13968 inferior_spawn_id.
13969 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
13970
13971 2015-04-07 Pedro Alves <palves@redhat.com>
13972
13973 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
13974 * lib/gdbserver-support.exp (gdbserver_start): Make
13975 $server_spawn_id global.
13976 (gdbserver_start): Don't wait for gdbserver's spawn id with
13977 expect_background.
13978 (close_gdbserver): New procedure.
13979 (gdb_exit): Rename the default version and reimplement.
13980
13981 2015-04-07 Pedro Alves <palves@redhat.com>
13982
13983 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
13984 append the substituted item, not the original item.
13985
13986 2015-04-07 Pedro Alves <palves@redhat.com>
13987
13988 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
13989 gdb_expect.
13990
13991 2015-04-07 Pedro Alves <palves@redhat.com>
13992
13993 * gdb.base/interrupt.exp: Don't handle the case of the inferior
13994 output appearing once only.
13995
13996 2015-04-07 Pedro Alves <palves@redhat.com>
13997
13998 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
13999 that doesn't expect anything. Return early if running to main
14000 fails.
14001
14002 2015-04-07 Yao Qi <yao.qi@linaro.org>
14003
14004 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
14005 (child_function): Call alarm.
14006 (main): Move call to alarm into the loop.
14007 * gdb.threads/non-stop-fair-events.exp: Build program with
14008 -DTIMEOUT=$timeout.
14009
14010 2015-04-06 Doug Evans <xdje42@gmail.com>
14011
14012 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
14013 Fix dest parameter to board_info.
14014 (fpc_compile): Ditto.
14015 (gdb_compile_pascal): Rename dest arg to destfile.
14016
14017 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
14018
14019 * gdb.ada/funcall_ref.exp: New file.
14020 * gdb.ada/funcall_ref/foo.adb: New file.
14021
14022 2015-04-02 Yao Qi <yao.qi@linaro.org>
14023
14024 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
14025 is remote.
14026
14027 2015-04-02 Gary Benson <gbenson@redhat.com>
14028
14029 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
14030
14031 2015-04-01 Sasha Smundak <asmundak@google.com>
14032
14033 * gdb.python/py-unwind-maint.c: New file.
14034 * gdb.python/py-unwind-maint.exp: New test.
14035 * gdb.python/py-unwind-maint.py: New file.
14036 * gdb.python/py-unwind.c: New file.
14037 * gdb.python/py-unwind.exp: New test.
14038 * gdb.python/py-unwind.py: New test.
14039
14040 2015-04-01 Pedro Alves <palves@redhat.com>
14041
14042 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
14043 to fail instead of non-existent $test.
14044
14045 2015-04-01 Pedro Alves <palves@redhat.com>
14046
14047 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
14048 GDBFLAGS if not empty.
14049
14050 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
14051
14052 * gdb.ada/complete.exp: Remove "multi_line".
14053 * gdb.ada/info_exc.exp: Remove "multi_line".
14054 * gdb.ada/packed_tagged.exp: Remove "multi_line".
14055 * gdb.ada/ptype_field.exp: Remove "multi_line".
14056 * gdb.ada/sym_print_name.exp: Remove "multi_line".
14057 * gdb.ada/tagged.exp: Remove "multi_line".
14058 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
14059 [multi_line ...]
14060 * gdb.btrace/delta.exp: Likewise.
14061 * gdb.btrace/exception.exp: Likewise.
14062 * gdb.btrace/function_call_history.exp: Likewise.
14063 * gdb.btrace/instruction_history.exp: Likewise.
14064 * gdb.btrace/nohist.exp: Likewise.
14065 * gdb.btrace/record_goto.exp: Likewise.
14066 * gdb.btrace/segv.exp: Likewise.
14067 * gdb.btrace/stepi.exp: Likewise.
14068 * gdb.btrace/tailcall.exp: Likewise.
14069 * gdb.btrace/unknown_functions.exp: Likewise.
14070 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
14071 * lib/gdb.exp: Add the "multi_line" helper.
14072
14073 2015-04-01 Pedro Alves <palves@redhat.com>
14074
14075 * gdb.threads/tid-reuse.c: New file.
14076 * gdb.threads/tid-reuse.exp: New file.
14077
14078 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
14079
14080 PR corefiles/16092
14081 * gdb.base/coredump-filter.c: New file.
14082 * gdb.base/coredump-filter.exp: Likewise.
14083
14084 2015-03-27 Petr Machata <pmachata@redhat.com>
14085
14086 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
14087 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
14088 (Dwarf::assemble): Initialize them.
14089 (Dwarf::lines): New function.
14090
14091 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
14092
14093 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
14094 SYMBOL_PREFIX for x86_64-*-cygwin.
14095
14096 2015-03-26 Andy Wingo <wingo@igalia.com>
14097
14098 PR symtab/18148
14099 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
14100 const_value but not a location.
14101 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
14102 location defined in non-main CUs are visible.
14103
14104 2015-03-26 Yao Qi <yao.qi@linaro.org>
14105
14106 PR testsuite/18139
14107 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
14108 Add a line number entry for the same line.
14109 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
14110 Add a line number entry for the same line.
14111
14112 2015-03-26 Yao Qi <yao.qi@linaro.org>
14113
14114 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
14115 .int 0.
14116 (func): Likewise. Add .Lfunc_1 label.
14117 Use .Lfunc_1 label.
14118 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
14119 .int 0.
14120 (func): Likewise.
14121 Use .Lfunc_1 label.
14122
14123 2015-03-26 Yao Qi <yao.qi@linaro.org>
14124
14125 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
14126 Call gdb_compile instead to compile each .s files without debug
14127 information.
14128
14129 2015-03-26 Yao Qi <yao.qi@linaro.org>
14130
14131 * gdb.base/savedregs.exp (process_saved_regs): Make
14132 "Saved registers:" optional in the pattern.
14133
14134 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
14135
14136 * gdb.btrace/next.exp: Merged into step.exp.
14137 * gdb.btrace/finish.exp: Merged into step.exp.
14138 * gdb.btrace/nexti.exp: Merged into stepi.exp.
14139 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
14140 "record goto" and checking the exact replay position.
14141 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
14142 check for "Recording format" in "info record" output.
14143 * gdb.btrace/record_goto.exp: Choose test file based on target.
14144 * gdb.btrace/x86-record_goto.S: Renamed into ...
14145 * gdb.btrace/x86_64-record_goto.S: ... this.
14146 * gdb.btrace/i686-record_goto.S: New.
14147 * gdb.btrace/x86-tailcall.S: Renamed into ...
14148 * gdb.btrace/x86_64-tailcall.S: ... this.
14149 * gdb.btrace/i686-tailcall.S: New.
14150 * gdb.btrace/x86-tailcall.c: Renamed into ...
14151 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
14152 separate statements. Update test.
14153 * gdb.btrace/delta.exp: Use record_goto.c as test file.
14154 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
14155 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
14156 * gdb.btrace/tailcall.exp: Choose test file based on target.
14157 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
14158
14159 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
14160
14161 * gdb.btrace/exception.exp: Increase BTS buffer size.
14162
14163 2015-03-24 Pedro Alves <palves@redhat.com>
14164
14165 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
14166
14167 2015-03-24 Pedro Alves <palves@redhat.com>
14168
14169 * gdb.threads/schedlock.exp (test_step): No longer expect that
14170 "set scheduler-locking step" with "next" over a function call runs
14171 threads unlocked.
14172
14173 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
14174
14175 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
14176
14177 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
14178
14179 PR breakpoints/16466
14180 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
14181 * gdb.mi/mi-pending.c (thread_func): New function.
14182 (int main): Add threading support required.
14183 * gdb.mi/mi-pending.exp: Add tests for this issue.
14184 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
14185 (pendfunc2): Remove stdio dependency.
14186 * gdb.mi/mi-pendshr2.c: New file.
14187
14188 2015-03-23 Keith Seitz <keiths@redhat.com>
14189
14190 * gdb.linespec/keywords.c: New file.
14191 * gdb.linespec/keywords.exp: New file.
14192
14193 2015-03-23 Keith Seitz <keiths@redhat.com>
14194
14195 PR gdb/18021
14196 * gdb.dwarf2/staticvirtual.exp: New test.
14197
14198 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14199
14200 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
14201 * README: Remove HP-UX and gdb.hp.
14202 (configuration):
14203 * configure: Regenerate.
14204 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
14205 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
14206 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
14207 gdb.hp/gdb.defects/Makefile.
14208 * gdb.hp/Makefile.in: File deleted.
14209 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
14210 * gdb.hp/gdb.aCC/optimize.c: File deleted.
14211 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
14212 * gdb.hp/gdb.aCC/run.c: File deleted.
14213 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
14214 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
14215 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
14216 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
14217 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
14218 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
14219 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
14220 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
14221 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
14222 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
14223 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
14224 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
14225 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
14226 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
14227 * gdb.hp/gdb.base-hp/reg.s: File deleted.
14228 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
14229 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
14230 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
14231 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
14232 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
14233 * gdb.hp/gdb.compat/Makefile.in: File deleted.
14234 * gdb.hp/gdb.compat/average.c: File deleted.
14235 * gdb.hp/gdb.compat/sum.c: File deleted.
14236 * gdb.hp/gdb.compat/xdb.c: File deleted.
14237 * gdb.hp/gdb.compat/xdb0.c: File deleted.
14238 * gdb.hp/gdb.compat/xdb0.h: File deleted.
14239 * gdb.hp/gdb.compat/xdb1.c: File deleted.
14240 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
14241 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
14242 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
14243 * gdb.hp/gdb.defects/Makefile.in: File deleted.
14244 * gdb.hp/gdb.defects/bs14602.c: File deleted.
14245 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
14246 * gdb.hp/gdb.defects/solib-d.c: File deleted.
14247 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
14248 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
14249 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
14250 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
14251 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
14252 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
14253 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
14254 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
14255 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
14256 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
14257 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
14258 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
14259 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
14260 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
14261 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
14262 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
14263 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
14264 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
14265 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
14266 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
14267 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
14268 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
14269 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
14270 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
14271 * gdb.hp/tools/odump: File deleted.
14272
14273 2015-03-19 Pedro Alves <palves@redhat.com>
14274
14275 * gdb.threads/continue-pending-status.exp (saw_thread_2)
14276 (saw_thread_3): New globals.
14277 (top level): Increment them when an event for the corresponding
14278 thread is seen.
14279 (no thread starvation): New test.
14280
14281 2015-03-19 Pedro Alves <palves@redhat.com>
14282
14283 * gdb.threads/continue-pending-status.c: New file.
14284 * gdb.threads/continue-pending-status.exp: New file.
14285
14286 2015-03-18 Pedro Alves <palves@redhat.com>
14287
14288 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
14289 Use gdb_is_target_remote instead of is_remote. Use
14290 gdb_test_multiple instead of gdb_expect. Exit early if
14291 gdb_test_multiple hits its internal matches. Tighten stepi tests
14292 expected output. Fail on exit with any signal, instead of just
14293 SIGILL.
14294
14295 2015-03-18 Yao Qi <yao.qi@linaro.org>
14296
14297 PR tdep/18107
14298 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
14299 variable.
14300 * gdb.base/catch-syscall.exp: Don't skip it on
14301 aarch64*-*-linux* target. Remove elements in all_syscalls.
14302 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
14303 target.
14304 (setup_all_syscalls): New proc.
14305
14306 2015-03-16 Yao Qi <yao.qi@linaro.org>
14307
14308 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
14309 (top level): Skip tests if valid_addr_p returns false for
14310 $cmd1 or $cmd2.
14311
14312 2015-03-11 Andy Wingo <wingo@igalia.com>
14313
14314 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
14315
14316 2015-03-11 Yao Qi <yao.qi@linaro.org>
14317
14318 * gdb.base/catch-syscall.exp: Fix typo in comments.
14319
14320 2015-03-11 Yao Qi <yao.qi@linaro.org>
14321
14322 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
14323
14324 2015-03-09 Pedro Alves <palves@redhat.com>
14325
14326 * dg-extract-results.py: Delete.
14327
14328 2015-03-09 Pedro Alves <palves@redhat.com>
14329
14330 Merge dg-extract-results.sh from GCC upstream (r218843).
14331
14332 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
14333 * dg-extract-results.sh: Use --text with grep to avoid issues with
14334 binary files. Fall back to cat -v, if that doesn't work.
14335
14336 2015-03-05 Pedro Alves <palves@redhat.com>
14337
14338 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
14339
14340 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
14341
14342 * lib/mi-support.exp (mi_expect_interrupt): Accept
14343 alternative event for when in all-stop mode.
14344
14345 2015-03-04 Pedro Alves <palves@redhat.com>
14346
14347 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
14348
14349 2015-03-04 Mark Kettenis <kettenis@gnu.org>
14350
14351 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
14352
14353 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
14354
14355 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
14356 regexps for GDB's current line display, accept a hex address
14357 preceding the line number.
14358
14359 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
14360
14361 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
14362 the 'arch1' variable for "s390*-linux*" targets.
14363
14364 2015-03-04 Pedro Alves <palves@redhat.com>
14365
14366 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
14367 (main): Pass missing retval argument to pthread_join call.
14368
14369 2015-03-02 Pedro Alves <palves@redhat.com>
14370
14371 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
14372 (top level): Call do_test with non-stop as well.
14373
14374 2015-03-02 Pedro Alves <palves@redhat.com>
14375
14376 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
14377 -1.
14378
14379 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
14380
14381 * gdb.arch/s390-vregs.exp: New test.
14382 * gdb.arch/s390-vregs.S: New file.
14383
14384 2015-02-27 Pedro Alves <palves@redhat.com>
14385
14386 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
14387 call to catch_command_errors.
14388 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
14389 catch_command_errors.
14390
14391 2015-02-27 Pedro Alves <palves@redhat.com>
14392
14393 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
14394 "true" for boolean result.
14395 * gdb.gdb/selftest.exp (test_with_self): Also accept full
14396 prototype of main.
14397
14398 2015-02-27 Pedro Alves <palves@redhat.com>
14399
14400 * lib/unbuffer_output.c: New file.
14401 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
14402 (main): Call gdb_unbuffer_output.
14403
14404 2015-02-27 Yao Qi <yao.qi@linaro.org>
14405
14406 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
14407 target.
14408
14409 2015-02-26 Doug Evans <dje@google.com>
14410
14411 * gdb.cp/class2.cc (Dbase, D): New classes.
14412 (main): New local delta.
14413 * gdb.cp/class2.exp: Test printing delta.
14414 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
14415 (dynbar): New global.
14416 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
14417
14418 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
14419
14420 * gdb.compile/compile-ifunc.c: New file.
14421 * gdb.compile/compile-ifunc.exp: New file.
14422
14423 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
14424
14425 * gdb.base/structs.exp: Check for correct struct on finish.
14426
14427 2015-02-26 Yao Qi <yao.qi@linaro.org>
14428
14429 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
14430 is zero.
14431
14432 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
14433
14434 * gdb.arch/cordic.ko.bz2: New file.
14435 * gdb.arch/cordic.ko.debug.bz2: New file.
14436 * gdb.arch/ppc64-symtab-cordic.exp: New file.
14437
14438 2015-02-25 Yao Qi <yao.qi@linaro.org>
14439
14440 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
14441 aarch64*-*-* target.
14442
14443 2015-02-23 Pedro Alves <palves@redhat.com>
14444
14445 * lib/gdb.exp (delete_breakpoints): Rewrite using
14446 gdb_test_multiple.
14447
14448 2015-02-23 Pedro Alves <palves@redhat.com>
14449
14450 * gdb.base/info-os.c: Include stdlib.h.
14451
14452 2015-02-22 Doug Evans <xdje42@gmail.com>
14453
14454 PR symtab/17855
14455 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
14456 is read after symbols have been re-read.
14457 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
14458 * gdb.ada/exec_changed/second.adb (Second): Ditto.
14459
14460 2015-02-21 Doug Evans <dje@google.com>
14461
14462 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
14463
14464 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14465
14466 PR corefiles/17808
14467 * gdb.arch/i386-biarch-core.core.bz2: New file.
14468 * gdb.arch/i386-biarch-core.exp: New file.
14469
14470 2015-02-21 Pedro Alves <palves@redhat.com>
14471
14472 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
14473 runto_main fails.
14474
14475 2015-02-20 Pedro Alves <palves@redhat.com>
14476
14477 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
14478 info probes.
14479
14480 2015-02-20 Pedro Alves <palves@redhat.com>
14481
14482 * gdb.threads/multi-create-ns-info-thr.exp: New file.
14483
14484 2015-02-20 Pedro Alves <palves@redhat.com>
14485
14486 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
14487 clean_restart before gdb_target_supports_trace.
14488
14489 2015-02-20 Pedro Alves <palves@redhat.com>
14490
14491 PR threads/18006
14492 * gdb.threads/clone-thread_db.c: New file.
14493 * gdb.threads/clone-thread_db.exp: New file.
14494
14495 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
14496
14497 PR breakpoints/16812
14498 * gdb.base/catch-gdb-caused-signals.c: New file.
14499 * gdb.base/catch-gdb-caused-signals.exp: New file.
14500
14501 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
14502
14503 * configure: Regenerated.
14504 * configure.ac: Use GDB_AC_TRANSFORM.
14505 * aclocal.m4: sinclude ../transform.m4.
14506
14507 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
14508
14509 * lib/dtrace.exp: New file.
14510 * gdb.base/dtrace-probe.exp: Likewise.
14511 * gdb.base/dtrace-probe.d: Likewise.
14512 * gdb.base/dtrace-probe.c: Likewise.
14513 * lib/pdtrace.in: Likewise.
14514 * configure.ac: Output variables with the transformed names of
14515 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
14516 * configure: Regenerated.
14517
14518 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
14519
14520 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
14521 expected message when trying to access $_probe_* convenience
14522 variables while not on a probe.
14523
14524 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14525
14526 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
14527
14528 2015-02-11 Pedro Alves <pedro@codesourcery.com>
14529
14530 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
14531 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
14532
14533 2015-02-10 Doug Evans <xdje42@gmail.com>
14534
14535 * lib/gdb.exp (gdb_load): Always return a result.
14536
14537 2015-02-10 Pedro Alves <palves@redhat.com>
14538
14539 * gdb.threads/signal-sigtrap.c: New file.
14540 * gdb.threads/signal-sigtrap.exp: New file.
14541
14542 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
14543
14544 * gdb.trace/no-attach-trace.c: New file.
14545 * gdb.trace/no-attach-trace.exp: New file.
14546
14547 2015-02-09 Mark Wielaard <mjw@redhat.com>
14548
14549 * gdb.dwarf2/atomic.c: New file.
14550 * gdb.dwarf2/atomic-type.exp: Likewise.
14551
14552 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
14553
14554 * gdb.btrace/buffer-size.exp: Update "info record" output.
14555 * gdb.btrace/delta.exp: Update "info record" output.
14556 * gdb.btrace/enable.exp: Update "info record" output.
14557 * gdb.btrace/finish.exp: Update "info record" output.
14558 * gdb.btrace/instruction_history.exp: Update "info record" output.
14559 * gdb.btrace/next.exp: Update "info record" output.
14560 * gdb.btrace/nexti.exp: Update "info record" output.
14561 * gdb.btrace/step.exp: Update "info record" output.
14562 * gdb.btrace/stepi.exp: Update "info record" output.
14563 * gdb.btrace/nohist.exp: Update "info record" output.
14564
14565 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
14566
14567 * gdb.btrace/buffer-size: New.
14568
14569 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
14570
14571 * gdb.btrace/delta.exp: Update "info record" output.
14572 * gdb.btrace/enable.exp: Update "info record" output.
14573 * gdb.btrace/finish.exp: Update "info record" output.
14574 * gdb.btrace/instruction_history.exp: Update "info record" output.
14575 * gdb.btrace/next.exp: Update "info record" output.
14576 * gdb.btrace/nexti.exp: Update "info record" output.
14577 * gdb.btrace/step.exp: Update "info record" output.
14578 * gdb.btrace/stepi.exp: Update "info record" output.
14579 * gdb.btrace/nohist.exp: Update "info record" output.
14580
14581 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
14582
14583 PR gdb/15678
14584 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
14585
14586 2015-02-06 Pedro Alves <palves@redhat.com>
14587
14588 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
14589 macro.
14590 (seconds_left, again): New globals.
14591 (main): Wait seconds_left in a 1-second sleep loop instead of
14592 sleeping 180 seconds. If 'again' is set, reset the seconds
14593 counter.
14594 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
14595 'again' in the inferior before detaching. Print the seconds left.
14596 (options): New global.
14597 (top level): Build program with -DTIMEOUT=$timeout.
14598
14599 2015-02-06 Pedro Alves <palves@redhat.com>
14600
14601 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
14602 determine how many seconds to pass to 'alarm'.
14603 * gdb.base/gdb-sigterm.exp (top level): Build program with
14604 -DTIMEOUT=$timeout.
14605 (do_test): Return success/failure indication. Add more verbose
14606 logging. Don't fail if 200 single steps are seen. Instead, fail
14607 when the test times out.
14608 (passes): New global.
14609 (top level): Break the testing loop if testing fails on any
14610 iteration. Use gdb_assert.
14611
14612 2015-02-04 Don Breazeal <donb@codesourcery.com>
14613
14614 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
14615 and initialize them.
14616 (ipc_cleanup): New function.
14617 (main): Don't declare shmid, semid, and msqid. Add a call to
14618 atexit so that we call ipc_cleanup on exit.
14619
14620 2015-02-04 Pedro Alves <palves@redhat.com>
14621
14622 * boards/native-extended-gdbserver.exp: Remove any target variant
14623 specifications from the board name before clearing the isremote
14624 flag from board_info.
14625
14626 2015-01-31 Doug Evans <xdje42@gmail.com>
14627
14628 * gdb.base/maint.exp <maint print type argc>: Update expected output.
14629
14630 2015-01-31 Gary Benson <gbenson@redhat.com>
14631
14632 * gdb.base/completion.exp: Disable completion limiting for
14633 existing tests. Add new tests to check completion limiting.
14634 * gdb.linespec/ls-errs.exp: Disable completion limiting.
14635
14636 2015-01-31 Doug Evans <xdje42@gmail.com>
14637
14638 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
14639
14640 2015-01-31 Doug Evans <xdje42@gmail.com>
14641
14642 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
14643 entries. Duplicate file section script entries.
14644 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
14645 inlined entries. Add test for safe-path rejection.
14646 * gdb.python/py-section-script.c: Add duplicate inlined section script
14647 entries. Duplicate file section script entries.
14648 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
14649 inlined entries. Add test for safe-path rejection.
14650
14651 2015-01-29 Joel Brobecker <brobecker@adacore.com>
14652
14653 * gdb.ada/disc_arr_bound: New testcase.
14654
14655 2015-01-29 Joel Brobecker <brobecker@adacore.com>
14656
14657 * gdb.ada/mi_var_array: New testcase.
14658
14659 2015-01-27 Doug Evans <dje@google.com>
14660
14661 * gdb.python/py-objfile.exp: Add tests for objfile.username.
14662 Add test for objfile.filename, objfile.username after objfile
14663 has been unloaded.
14664
14665 2015-01-26 Joel Brobecker <brobecker@adacore.com>
14666
14667 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
14668 the second test to print the name attribute of value
14669 returned by the call to gdb.lookup_type, and adjust
14670 the expected output accordingly.
14671
14672 2015-01-25 Mark Wielaard <mjw@redhat.com>
14673
14674 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
14675 * gdb.base/disp-step-fork.c: Include unistd.h.
14676 * gdb.base/siginfo-obj.c: Include stdio.h.
14677 * gdb.base/siginfo-thread.c: Likewise.
14678 * gdb.mi/non-stop.c: Include unistd.h.
14679 * gdb.mi/nsthrexec.c: Include stdio.h.
14680 * gdb.mi/pthreads.c: Include unistd.h.
14681 * gdb.modula2/unbounded1.c (main): Declare returns int.
14682 * gdb.reverse/consecutive-reverse.c: Likewise.
14683 * gdb.threads/create-fail.c: Include unistd.h.
14684 * gdb.threads/killed.c: Likewise.
14685 * gdb.threads/linux-dp.c: Likewise.
14686 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
14687 * gdb.threads/non-ldr-exc-2.c: Likewise.
14688 * gdb.threads/non-ldr-exc-3.c: Likewise.
14689 * gdb.threads/non-ldr-exc-4.c: Likewise.
14690 * gdb.threads/pthreads.c: Include unistd.h.
14691 (main): Declare returns int.
14692 * gdb.threads/tls-main.c (foo): New declaration.
14693 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
14694
14695 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
14696
14697 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
14698 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
14699
14700 2015-01-15 Mark Wielaard <mjw@redhat.com>
14701
14702 * gdb.base/noreturn-return.c: New file.
14703 * gdb.base/noreturn-return.exp: New file.
14704 * gdb.base/noreturn-finish.c: New file.
14705 * gdb.base/noreturn-finish.exp: New file.
14706
14707 2015-01-23 Pedro Alves <palves@redhat.com>
14708
14709 * gdb.threads/continue-pending-after-query.c: New file.
14710 * gdb.threads/continue-pending-after-query.exp: New file.
14711
14712 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
14713 Simon Marchi <simon.marchi@ericsson.com>
14714
14715 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
14716 * gdb.base/valgrind-db-attach.exp: Same.
14717 * gdb.base/valgrind-infcall.exp: Same.
14718 * lib/mi-support.exp (default_mi_gdb_start): Same.
14719 * lib/prompt.exp (default_prompt_gdb_start): Same.
14720 * lib/gdb.exp (default_gdb_spawn): Same.
14721 (gdb_interact): New.
14722
14723
14724 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14725
14726 * gdb.compile/compile.exp (pointer to jit function): New test.
14727
14728 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
14729
14730 * lib/gdb.exp (supports_process_record): Return true for
14731 powerpc*-*-linux*.
14732 (supports_reverse): Likewise.
14733
14734 2015-01-15 Don Breazeal <donb@codesourcery.com>
14735
14736 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
14737 instead of checking whether the target board is remote and
14738 use spawn_wait_for_attach instead of exec/sleep.
14739 * gdb.base/attach-twice.exp: Likewise.
14740
14741 2015-01-15 Joel Brobecker <brobecker@adacore.com>
14742
14743 * gdb.ada/var_arr_attrs: New testcase.
14744
14745 2015-01-14 Pedro Alves <palves@redhat.com>
14746 Joel Brobecker <brobecker@adacore.com>
14747
14748 PR gdb/17525
14749 * gdb.base/bp-cmds-execution-x-script.c: New file.
14750 * gdb.base/bp-cmds-execution-x-script.exp: New file.
14751 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
14752
14753 2015-01-14 Pedro Alves <palves@redhat.com>
14754
14755 PR cli/17828
14756 * gdb.base/batch-preserve-term-settings.c: New file.
14757 * gdb.base/batch-preserve-term-settings.exp: New file.
14758
14759 2015-01-13 Doug Evans <dje@google.com>
14760
14761 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
14762 binary.
14763
14764 2015-01-13 Joel Brobecker <brobecker@adacore.com>
14765
14766 * Makefile.in (clean mostlyclean): Do not delete *.py.
14767
14768 2015-01-13 Joel Brobecker <brobecker@adacore.com>
14769
14770 * gdb.python/py-lookup-type.exp: New file.
14771
14772 2015-01-12 Pedro Alves <palves@redhat.com>
14773
14774 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
14775 restore GDBFLAGS before returning.
14776
14777 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14778
14779 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
14780 is_amd64_regs_target and is_x86_like_target.
14781
14782 2015-01-11 Doug Evans <xdje42@gmail.com>
14783
14784 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
14785 is given without an explicit form.
14786 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
14787 attributes.
14788 * gdb.dwarf/corrupt.exp: Ditto.
14789 * gdb.dwarf2/enum-type.exp: Ditto.
14790 * gdb.trace/entry-values.exp: Ditto.
14791 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
14792
14793 2015-01-11 Doug Evans <xdje42@gmail.com>
14794
14795 PR gdb/15830
14796 * gdb.base/maint.exp: Remove references to "maint demangle".
14797 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
14798 Add tests for explicitly specifying language to demangle.
14799 * gdb.dlang/demangle.exp: Ditto.
14800
14801 2015-01-09 Pedro Alves <palves@redhat.com>
14802
14803 * gdb.threads/non-stop-fair-events.c: New file.
14804 * gdb.threads/non-stop-fair-events.exp: New file.
14805
14806 2015-01-09 Pedro Alves <palves@redhat.com>
14807
14808 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
14809 the global scope. Set a breakpoint after all threads are started
14810 rather than stepping over two source lines. Expect the prompt.
14811 * gdb.base/watch_thread_num.c (threads_started_barrier): New
14812 global.
14813 (NUM): Now 15.
14814 (main): Use threads_started_barrier to wait for all threads to
14815 start. Main thread no longer calls thread_function. Exit after
14816 180 seconds.
14817 (loop): New function.
14818 (thread_function): Wait on threads_started_barrier barrier. Call
14819 'loop' at each iteration.
14820 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
14821 threads have started, instead of hardcoding number of "next"
14822 steps. Use an access watchpoint instead of a write watchpoint.
14823
14824 2015-01-09 Pedro Alves <palves@redhat.com>
14825
14826 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
14827 (thread_func): Wait on barrier.
14828 (main): Wait for all threads to start before stopping GDB.
14829 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
14830 global.
14831 (thread1_func, thread2_func): Wait on barrier.
14832 (main): Wait for all threads to start before stopping GDB.
14833 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
14834 New global.
14835 (thread1_func, thread2_func): Wait on barrier.
14836 (main): Wait for all threads to start before stopping GDB.
14837
14838 2015-01-09 Pedro Alves <palves@redhat.com>
14839
14840 * gdb.threads/attach-many-short-lived-threads.c: New file.
14841 * gdb.threads/attach-many-short-lived-threads.exp: New file.
14842
14843 2014-01-09 Pedro Alves <palves@redhat.com>
14844
14845 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
14846 instead of to thread 2.
14847 * gdb.threads/signal-command-multiple-signals-pending.c (main):
14848 Add barrier around each pthread_create call instead of around all
14849 calls.
14850 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
14851 Set a break on thread_function and have the child threads hit it
14852 one at at a time.
14853
14854 2015-01-09 Pedro Alves <palves@redhat.com>
14855
14856 * lib/gdb.exp (can_spawn_for_attach): New procedure.
14857 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
14858 false.
14859 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
14860 checking whether the target board is remote.
14861 * gdb.multi/multi-attach.exp: Likewise.
14862 * gdb.python/py-sync-interp.exp: Likewise.
14863 * gdb.server/ext-attach.exp: Likewise.
14864 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
14865 tests that need to attach, instead of checking whether the target
14866 board is remote at the top of the file.
14867
14868 2015-01-08 Yao Qi <yao@codesourcery.com>
14869
14870 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
14871
14872 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14873
14874 Fix testcase compilation.
14875 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
14876
14877 2015-01-06 Joel Brobecker <brobecker@adacore.com>
14878
14879 * gdb.python/py-type.exp: Add a couple test about empty
14880 array creation, and negative-length array creation.
14881
14882 2015-01-02 Doug Evans <xdje42@gmail.com>
14883
14884 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
14885
14886 2015-01-02 Doug Evans <dje@google.com>
14887
14888 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
14889
14890 2014-12-29 Yao Qi <yao@codesourcery.com>
14891
14892 * gdb.trace/entry-values.exp: Update comments. Rename variable
14893 bar_call_foo to returned_from_foo.
14894
14895 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
14896
14897 PR gdb/17394
14898 * gdb.linespec/break-asm-file.c: New file.
14899 * gdb.linespec/break-asm-file.exp: New file.
14900 * gdb.linespec/break-asm-file0.s: New file.
14901 * gdb.linespec/break-asm-file1.s: New file.
14902
14903 2014-12-18 Nigel Stephens <nigel@mips.com>
14904 Maciej W. Rozycki <macro@codesourcery.com>
14905
14906 * gdb.base/float.exp: Handle the new output from "info float" on
14907 MIPS targets.
14908
14909 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
14910
14911 Fix MinGW compilation.
14912 * gdb.compile/compile-ops.exp: Update untested message if
14913 !skip_compile_feature_tests.
14914 * gdb.compile/compile-setjmp.exp: Likewise.
14915 * gdb.compile/compile-tls.exp: Likewise.
14916 * gdb.compile/compile.exp: Likewise.
14917 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
14918 supported on this host".
14919
14920 2014-12-16 Doug Evans <xdje42@gmail.com>
14921
14922 * boards/stabs.exp: New file.
14923
14924 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
14925
14926 * gdb.base/completion.exp: Adjust to format changes of "maint
14927 print user-registers".
14928
14929 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
14930
14931 PR server/17457
14932 * gdb.arch/aarch64-fp.c: New file.
14933 * gdb.arch/aarch64-fp.exp: New file.
14934
14935 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
14936
14937 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
14938 r210637, r210913, r211666, r215400, r215817).
14939
14940 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
14941 * dg-extract-results.py: New file.
14942 * dg-extract-results.sh: Use it if the environment seems
14943 suitable.
14944
14945 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
14946
14947 * dg-extract-results.py (parse_run): Handle warnings that
14948 are printed before a test harness is run.
14949
14950 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
14951
14952 * dg-extract-results.py (Named): Remove __cmp__ method.
14953 (output_variation): Use a key to sort variation.harnesses.
14954
14955 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
14956
14957 * dg-extract-results.py: For Python 3, force sys.stdout to
14958 handle surrogate escape sequences.
14959 (safe_open): New function.
14960 (output_segment, main): Use it.
14961
14962 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
14963
14964 * dg-extract-results.py (Prog.result_re): Include options
14965 in test name.
14966
14967 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
14968
14969 * dg-extract-results.py (output_variation): Always sort if
14970 do_sum.
14971
14972 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
14973
14974 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
14975 as long as we get pagination notifications.
14976
14977 2014-12-15 Jason Merrill <jason@redhat.com>
14978
14979 * Makefile.in (check-gdb.%): Restore.
14980 * README: Mention it.
14981
14982 2014-12-13 Joel Brobecker <brobecker@adacore.com>
14983
14984 * gdb.ada/str_uninit: New testcase.
14985
14986 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14987
14988 PR symtab/17642
14989 * gdb.base/vla-stub-define.c: New file.
14990 * gdb.base/vla-stub.c: New file.
14991 * gdb.base/vla-stub.exp: New file.
14992
14993 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
14994 Jan Kratochvil <jan.kratochvil@redhat.com>
14995 Tom Tromey <tromey@redhat.com>
14996
14997 * configure.ac: Add gdb.compile/.
14998 * configure: Regenerate.
14999 * gdb.compile/Makefile.in: New file.
15000 * gdb.compile/compile-ops.exp: New file.
15001 * gdb.compile/compile-ops.c: New file.
15002 * gdb.compile/compile-tls.c: New file.
15003 * gdb.compile/compile-tls.exp: New file.
15004 * gdb.compile/compile-constvar.S: New file.
15005 * gdb.compile/compile-constvar.c: New file.
15006 * gdb.compile/compile-mod.c: New file.
15007 * gdb.compile/compile-nodebug.c: New file.
15008 * gdb.compile/compile-setjmp-mod.c: New file.
15009 * gdb.compile/compile-setjmp.c: New file.
15010 * gdb.compile/compile-setjmp.exp: New file.
15011 * gdb.compile/compile-shlib.c: New file.
15012 * gdb.compile/compile.c: New file.
15013 * gdb.compile/compile.exp: New file.
15014 * lib/gdb.exp (skip_compile_feature_tests): New proc.
15015
15016 2014-12-12 Tom Tromey <tromey@redhat.com>
15017
15018 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
15019 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
15020
15021 2014-12-12 Doug Evans <dje@google.com>
15022
15023 * lib/gdb-python.exp (get_python_valueof): New function.
15024 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
15025
15026 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
15027
15028 * gdb.base/completion.exp: Add test for completion of "info
15029 registers ".
15030
15031 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
15032
15033 * gdb.base/func-ptrs.c: New file.
15034 * gdb.base/func-ptrs.exp: New file.
15035
15036 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
15037
15038 PR breakpoints/17012
15039 * gdb.base/dprintf-detach.c: New file.
15040 * gdb.base/dprintf-detach.exp: New file.
15041
15042 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
15043
15044 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
15045 * lib/gdb.exp (target_is_gdbserver): New procedure.
15046
15047 2014-12-08 Doug Evans <dje@google.com>
15048
15049 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
15050
15051 2014-12-05 Yao Qi <yao@codesourcery.com>
15052
15053 * gdb.guile/scm-error.exp: Remove the third argument to
15054 gdb_remote_download.
15055 * gdb.guile/scm-frame-args.exp: Likewise.
15056 * gdb.guile/scm-section-script.exp: Likewise.
15057
15058 2014-12-05 Yao Qi <yao@codesourcery.com>
15059
15060 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
15061
15062 2014-12-04 Doug Evans <dje@google.com>
15063
15064 * gdb.python/py-objfile.exp: Add tests for
15065 objfile.add_separate_debug_file.
15066
15067 2014-12-04 Doug Evans <dje@google.com>
15068
15069 * lib/gdb.exp (get_build_id): New function.
15070 (build_id_debug_filename_get): Rewrite to use it.
15071 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
15072
15073 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
15074
15075 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
15076 `method(long)', not just 0x0.
15077 * gdb.cp/nsalias.exp: Align code labels to 4.
15078 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
15079 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
15080 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
15081 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
15082 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
15083 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
15084
15085 2014-12-02 Doug Evans <dje@google.com>
15086
15087 PR symtab/17602
15088 * gdb.cp/anon-ns.cc: Move guts of this file to ...
15089 * gdb.cp/anon-ns2.cc: ... here. New file.
15090 * gdb.cp/anon-ns.exp: Update.
15091
15092 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
15093
15094 * gdb.python/py-events.py (inferior_call_handler): New.
15095 (register_changed_handler, memory_changed_handler): New.
15096 (test_events.invoke): Register new handlers.
15097 * gdb.python/py-events.exp: Add tests for inferior call,
15098 memory_changed and register_changed events.
15099
15100 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
15101
15102 * gdb.base/execl-update-breakpoints.exp: Specify the link address
15103 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
15104 if the linker doesn't understand this.
15105
15106 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
15107
15108 * gdb.python/python.exp: Change expected reply to help().
15109
15110 2014-12-01 Yao Qi <yao@codesourcery.com>
15111
15112 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
15113 AC_CONFIG_SUBDIRS(gdb.gdbtk).
15114 * configure: Re-generated.
15115
15116 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
15117
15118 * gdb.cp/chained-calls.cc: New file.
15119 * gdb.cp/chained-calls.exp: New file.
15120 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
15121
15122 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
15123
15124 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
15125 * gdb.dwarf2/symtab-producer.exp: Same.
15126 * gdb.gdb/python-interrupts.exp: Same.
15127 * gdb.gdb/python-selftest.exp: Same.
15128 * gdb.python/py-linetable.exp: Same.
15129 * gdb.python/py-type.exp: Same.
15130 * gdb.python/py-value-cc.exp: Same.
15131 * gdb.python/py-value.exp: Same.
15132
15133 2014-11-28 Yao Qi <yao@codesourcery.com>
15134
15135 * gdb.base/break-probes.exp: Match library name prefixed with
15136 sysroot.
15137
15138 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
15139
15140 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
15141 test expected output. Add parentheses for the call to print.
15142 Remove L suffix from integers.
15143
15144 2014-11-26 Doug Evans <dje@google.com>
15145
15146 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
15147
15148 2014-11-22 Yao Qi <yao@codesourcery.com>
15149
15150 * gdb.trace/entry-values.c: Remove asms.
15151 (foo): Add foo_label.
15152 (bar): Add bar_label.
15153 * gdb.trace/entry-values.exp: Remove code computing foo's
15154 length and bar's length.
15155 (Dwarf::assemble): Invoke function_range for bar and use
15156 MACRO_AT_func for foo.
15157
15158 2014-11-22 Yao Qi <yao@codesourcery.com>
15159
15160 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
15161 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
15162 Use .Lgcc43_procstart instead of gcc43.
15163
15164 2014-11-21 Joel Brobecker <brobecker@adacore.com>
15165
15166 * gdb.ada/n_arr_bound: New testcase.
15167
15168 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
15169
15170 PR breakpoints/10737
15171 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
15172 test_catch_syscall_multi_arch.
15173 (test_catch_syscall_multi_arch): New function.
15174
15175 2014-11-20 Doug Evans <xdje42@gmail.com>
15176
15177 * gdb.base/maint.exp: Update expected output.
15178
15179 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
15180
15181 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
15182 4-byte instruction on S390.
15183
15184 2014-11-19 Joel Brobecker <brobecker@adacore.com>
15185
15186 * gdb.ada/arr_arr: New testcase.
15187
15188 2014-11-19 Joel Brobecker <brobecker@adacore.com>
15189
15190 * gdb.ada/pkd_arr_elem: New Testcase.
15191
15192 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
15193
15194 * gdb.reverse/break-precsave: Expect completion message for
15195 core file reads.
15196 * gdb.reverse/consecutive-precsave.exp: Likewise.
15197 * gdb.reverse/finish-precsave.exp: Likewise.
15198 * gdb.reverse/i386-precsave.exp: Likewise.
15199 * gdb.reverse/machinestate-precsave.exp: Likewise.
15200 * gdb.reverse/sigall-precsave.exp: Likewise.
15201 * gdb.reverse/solib-precsave.exp: Likewise.
15202 * gdb.reverse/step-precsave.exp: Likewise.
15203 * gdb.reverse/until-precsave.exp: Likewise.
15204 * gdb.reverse/watch-precsave.exp: Likewise.
15205
15206 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15207
15208 * gdb.base/bp-permanent.c: Include unistd.h.
15209 * gdb.python/py-framefilter-mi.c (main): Add return type.
15210 * gdb.python/py-framefilter.c (main): Likewise.
15211 * gdb.trace/actions-changed.c (main): Likewise.
15212
15213 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15214
15215 * gdb.mi/until.c: Add eye-catchers.
15216 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
15217 line numbers.
15218
15219 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15220
15221 * gdb.base/condbreak.exp: Drop references to removed non-prototype
15222 function header variants in break1.c.
15223 * gdb.base/ena-dis-br.exp: Likewise.
15224 * gdb.base/hbreak2.exp: Likewise.
15225 * gdb.reverse/until-precsave.exp: Drop references to removed
15226 non-prototype function header variants in ur1.c.
15227 * gdb.reverse/until-reverse.exp: Likewise.
15228
15229 2014-11-17 Petr Machata <pmachata@redhat.com>
15230
15231 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
15232 ${_cu_offset_size} bytes abbrev offset.
15233
15234 2014-11-15 Doug Evans <xdje42@gmail.com>
15235
15236 PR symtab/17559
15237 * gdb.base/line-symtabs.exp: New file.
15238 * gdb.base/line-symtabs.c: New file.
15239 * gdb.base/line-symtabs.h: New file.
15240
15241 2014-11-14 Yao Qi <yao@codesourcery.com>
15242
15243 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
15244 (func): Add label func_label.
15245 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
15246 Replace low_pc and high_pc with MACRO_AT_range.
15247 Replace name, low_pc and high_pc with MACRO_AT_func.
15248
15249 2014-11-14 Yao Qi <yao@codesourcery.com>
15250
15251 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
15252 Replace name, low_pc and high_pc with MACRO_AT_func.
15253
15254 2014-11-14 Yao Qi <yao@codesourcery.com>
15255
15256 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
15257 produce debug information.
15258 * gdb.dwarf2/implptr-optimized-out.S: Removed.
15259
15260 2014-11-14 Yao Qi <yao@codesourcery.com>
15261
15262 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
15263 object and get function length.
15264 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
15265 with MACRO_AT_func.
15266 (top-level): Replace gdb_compile and clean_restart with
15267 prepare_for_testing.
15268 * gdb.dwarf2/main.c (main): Add label main_label.
15269
15270 2014-11-14 Yao Qi <yao@codesourcery.com>
15271
15272 * lib/dwarf.exp (function_range): New procedure.
15273 (Dwarf::_handle_macro_at_func): New procedure.
15274 (Dwarf::_handle_macro_at_range): New procedure.
15275 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
15276
15277 2014-11-14 Yao Qi <yao@codesourcery.com>
15278
15279 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
15280 (_handle_attribute): New procedure.
15281
15282 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15283
15284 * gdb.ada/cond_lang/foo.c (callme): Add return type.
15285 * gdb.base/call-sc.c (zed): Likewise.
15286 * gdb.base/checkpoint.c (main): Likewise.
15287 * gdb.base/dump.c (main): Likewise.
15288 * gdb.base/gcore.c (main): Likewise.
15289 * gdb.base/huge.c (main): Likewise.
15290 * gdb.base/multi-forks.c (main): Likewise.
15291 * gdb.base/pr10179-a.c (main): Likewise.
15292 * gdb.base/savedregs.c (main): Likewise.
15293 * gdb.base/sigaltstack.c (main): Likewise.
15294 * gdb.base/siginfo.c (main): Likewise.
15295 * gdb.base/structs.c (zed): Likewise.
15296 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
15297 * gdb.mi/mi-syn-frame.c (main): Likewise.
15298 * gdb.mi/until.c (foo, main): Likewise.
15299 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
15300 * gdb.base/solib-weak.c (foo): Declare.
15301 * gdb.base/attach-twice.c: Include stdio.h.
15302 * gdb.base/weaklib1.c: Likewise.
15303 * gdb.base/weaklib2.c: Likewise.
15304 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
15305 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
15306 unistd.h.
15307 * gdb.base/attach-pie-misread.c: Include stdlib.h.
15308 * gdb.mi/mi-exit-code.c: Likewise.
15309 * gdb.base/break-interp-lib.c: Include string.h.
15310 * gdb.base/coremaker.c: Likewise.
15311 * gdb.base/testenv.c: Likewise.
15312 * gdb.python/py-finish-breakpoint.c: Likewise.
15313 * gdb.base/inferior-died.c: Include sys/wait.h.
15314 * gdb.base/fileio.c: Include time.h.
15315 * gdb.base/async-shell.c: Include unistd.h.
15316 * gdb.base/dprintf-non-stop.c: Likewise.
15317 * gdb.base/info-os.c: Likewise.
15318 * gdb.mi/mi-console.c: Likewise.
15319 * gdb.mi/watch-nonstop.c: Likewise.
15320 * gdb.python/py-events.c: Likewise.
15321 * gdb.base/async.c (baz): Move up before its invocation.
15322 * gdb.base/code_elim2.c (my_global_func): Likewise.
15323 * gdb.base/skip-solib-lib.c (multiply): Likewise.
15324 * gdb.base/advance.c (func2): Likewise.
15325
15326 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15327
15328 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
15329 variant.
15330 * gdb.base/annota3.c: Likewise.
15331 * gdb.base/async.c: Likewise.
15332 * gdb.base/average.c: Likewise.
15333 * gdb.base/call-ar-st.c: Likewise.
15334 * gdb.base/call-rt-st.c: Likewise.
15335 * gdb.base/call-sc.c: Likewise.
15336 * gdb.base/call-strs.c: Likewise.
15337 * gdb.base/ending-run.c: Likewise.
15338 * gdb.base/execd-prog.c: Likewise.
15339 * gdb.base/exprs.c: Likewise.
15340 * gdb.base/foll-exec.c: Likewise.
15341 * gdb.base/foll-fork.c: Likewise.
15342 * gdb.base/foll-vfork.c: Likewise.
15343 * gdb.base/funcargs.c: Likewise.
15344 * gdb.base/gcore.c: Likewise.
15345 * gdb.base/jump.c: Likewise.
15346 * gdb.base/langs0.c: Likewise.
15347 * gdb.base/langs1.c: Likewise.
15348 * gdb.base/langs2.c: Likewise.
15349 * gdb.base/mips_pro.c: Likewise.
15350 * gdb.base/nodebug.c: Likewise.
15351 * gdb.base/opaque0.c: Likewise.
15352 * gdb.base/opaque1.c: Likewise.
15353 * gdb.base/recurse.c: Likewise.
15354 * gdb.base/run.c: Likewise.
15355 * gdb.base/scope0.c: Likewise.
15356 * gdb.base/scope1.c: Likewise.
15357 * gdb.base/setshow.c: Likewise.
15358 * gdb.base/setvar.c: Likewise.
15359 * gdb.base/shmain.c: Likewise.
15360 * gdb.base/shr1.c: Likewise.
15361 * gdb.base/shr2.c: Likewise.
15362 * gdb.base/sigall.c: Likewise.
15363 * gdb.base/signals.c: Likewise.
15364 * gdb.base/so-indr-cl.c: Likewise.
15365 * gdb.base/solib2.c: Likewise.
15366 * gdb.base/structs.c: Likewise.
15367 * gdb.base/sum.c: Likewise.
15368 * gdb.base/vforked-prog.c: Likewise.
15369 * gdb.base/watchpoint.c: Likewise.
15370 * gdb.reverse/shr2.c: Likewise.
15371 * gdb.reverse/until-reverse.c: Likewise.
15372 * gdb.reverse/ur1.c: Likewise.
15373 * gdb.reverse/watch-reverse.c: Likewise.
15374
15375 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15376
15377 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
15378 variant.
15379 * gdb.base/sepdebug.exp: Drop references to removed code.
15380
15381 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15382
15383 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
15384 variant. Preserve original line numbering.
15385 * gdb.base/list1.c: Likewise.
15386
15387 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15388
15389 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
15390 variant.
15391 * gdb.base/break1.c: Likewise.
15392 * gdb.base/break.exp: Drop references to removed code.
15393
15394 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15395
15396 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
15397 variant.
15398
15399 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15400
15401 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
15402
15403 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15404
15405 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
15406 logic into perform_all_tests() and invoke it with and without
15407 function header prototypes.
15408 (do_function_calls): Remove conditional XFAIL for PR 5318.
15409 (rerun_and_prepare): Remove duplicate code.
15410 (perform_all_tests): New. Main logic moved here.
15411
15412 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15413
15414 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
15415 code guarded by #ifdef NO_PROTOTYPES.
15416 (t_double_many_args): Likewise.
15417 (DEF_FUNC_MANY_ARGS_1): Likewise.
15418 (DEF_FUNC_VALUES_1): Likewise.
15419 (t_structs_ldc): Renamed from t_structs_fc in conditional code
15420 guarded by #ifdef PROTOTYPES.
15421
15422 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15423
15424 * gdb.mi/mi-console.c: Add eye-catcher.
15425 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
15426 instead of literal line number.
15427
15428 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15429
15430 * gdb.base/shr2.c: Add eye-catcher.
15431 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
15432 line number.
15433
15434 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15435
15436 * gdb.base/jump.c: Add eye-catchers.
15437 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
15438 numbers.
15439
15440 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15441
15442 * gdb.base/execd-prog.c: Add eye-catchers.
15443 * gdb.base/foll-exec.c: Likewise.
15444 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
15445 line numbers.
15446
15447 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15448
15449 * gdb.base/ending-run.c: Add eye-catchers.
15450 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
15451 literal line numbers.
15452
15453 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15454
15455 * gdb.base/call-rt-st.c: Add eye-catchers.
15456 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
15457 literal line numbers.
15458
15459 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15460
15461 * gdb.base/call-ar-st.c: Add eye-catchers.
15462 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
15463 literal line numbers.
15464
15465 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15466
15467 * gdb.base/average.c: Add eye-catchers.
15468 * gdb.base/sum.c: Likewise.
15469 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
15470 regexps dynamically.
15471
15472 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15473
15474 * gdb.base/solib1.c: Add eye-catchers.
15475 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
15476 literal line numbers.
15477
15478 2014-11-12 Pedro Alves <palves@redhat.com>
15479
15480 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
15481 leader has exited.
15482
15483 2014-11-12 Pedro Alves <palves@redhat.com>
15484
15485 * gdb.arch/i386-bp_permanent.c: New file.
15486 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
15487 (srcfile): Set to i386-bp_permanent.c.
15488 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
15489 that stepi does not execute the 'leave' instruction, instead of
15490 testing it does execute.
15491 * gdb.base/bp-permanent.c: New file.
15492 * gdb.base/bp-permanent.exp: New file.
15493
15494 2014-11-10 Doug Evans <xdje42@gmail.com>
15495
15496 PR symtab/17564
15497 * gdb.base/symtab-search-order.exp: New file.
15498 * gdb.base/symtab-search-order.c: New file.
15499 * gdb.base/symtab-search-order-1.c: New file.
15500 * gdb.base/symtab-search-order-shlib-1.c: New file.
15501
15502 2014-11-07 Pedro Alves <palves@redhat.com>
15503
15504 PR gdb/17511
15505 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
15506 i?86-*-linux*.
15507
15508 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
15509
15510 PR c++/17494
15511 * gdb.cp/pr17494.cc: New file.
15512 * gdb.cp/pr17494.exp: New file.
15513
15514 2014-11-02 Yao Qi <yao@codesourcery.com>
15515
15516 * gdb.python/python.exp: Get working directory and match the
15517 output of "set extended-prompt \\w " with it.
15518
15519 2014-10-30 Doug Evans <dje@google.com>
15520
15521 * gdb.python/py-objfile.exp: Add tests for setting random attributes
15522 in objfiles.
15523 * gdb.python/py-progspace.exp: Add tests for setting random attributes
15524 in progspaces.
15525
15526 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
15527
15528 * gdb.base/fullpath-expand.exp: Skip for a remote host.
15529 * gdb.base/realname-expand.exp: Likewise.
15530 * gdb.linespec/macro-relative.exp: Likewise.
15531
15532 2014-10-29 Pedro Alves <palves@redhat.com>
15533
15534 PR gdb/17408
15535 * gdb.threads/schedlock.c (some_function): New function.
15536 (call_function): New global.
15537 (MAYBE_CALL_SOME_FUNCTION): New macro.
15538 (thread_function): Call it.
15539 * gdb.threads/schedlock.exp (get_args): Add description parameter,
15540 and use it instead of a global counter. Adjust all callers.
15541 (get_current_thread): Use "find current thread" for test message
15542 here rather than having all callers pass down the same string.
15543 (goto_loop): New procedure, factored out from ...
15544 (my_continue): ... this.
15545 (step_ten_loops): Change parameter from test message to command to
15546 use. Adjust.
15547 (list_count): Delete global.
15548 (check_result): New procedure, factored out from duplicate top
15549 level code.
15550 (continue tests): Wrap in with_test_prefix.
15551 (test_step): New procedure, factored out from duplicate top level
15552 code.
15553 (top level): Test "step" in combination with all scheduler-locking
15554 modes. Test "next" in combination with all scheduler-locking
15555 modes, and in combination with stepping over a function call or
15556 not.
15557 * gdb.threads/next-bp-other-thread.c: New file.
15558 * gdb.threads/next-bp-other-thread.exp: New file.
15559
15560 2014-10-29 Pedro Alves <palves@redhat.com>
15561
15562 PR python/17372
15563 * gdb.python/python.exp: Test a multi-line command that spawns
15564 interactive Python.
15565 * gdb.base/multi-line-starts-subshell.exp: New file.
15566
15567 2014-10-29 Yao Qi <yao@codesourcery.com>
15568
15569 * gdb.base/fileio.exp: Make directories on host.
15570
15571 2014-10-29 Yao Qi <yao@codesourcery.com>
15572
15573 * gdb.base/fileio.c (test_write): Close the file.
15574
15575 2014-10-28 Pedro Alves <palves@redhat.com>
15576
15577 PR gdb/12623
15578 * gdb.base/sigstep.c (no_handler): New global.
15579 (main): If 'no_handler is true, set the signal handlers to
15580 SIG_IGN.
15581 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
15582 with_sw_watch and no_handler parameters. Handle them.
15583 (top level) <stepping over handler when stopped at a breakpoint
15584 test>: Add a test axis for testing with a software watchpoint, and
15585 another for testing with the signal handler set to SIG_IGN.
15586 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
15587 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
15588
15589 2014-10-28 Pedro Alves <palves@redhat.com>
15590
15591 PR gdb/17511
15592 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
15593 * gdb.base/sigstep.exp (other_handler_location): New global.
15594 (advance): Support stepping into the signal handler, and running
15595 commands while in the handler.
15596 (in_handler_map): New global.
15597 (top level): In the advance test, add combinations for getting
15598 into the handler with stepping commands, and for running commands
15599 in the handler. Add comment descripting the advancei tests.
15600
15601 2014-10-28 Pedro Alves <palves@redhat.com>
15602
15603 * gdb.base/sigstep.exp: Use build_executable instead of
15604 prepare_for_testing.
15605 (top level): Move code that starts GDB, runs to main and creates a
15606 display to ...
15607 (restart): ... this new procedure.
15608 (top level): Move backtrace from signal handler test to ...
15609 (validate_backtrace): ... this new procedure.
15610 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
15611 with_test_prefix. Always restart GDB.
15612 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
15613 with_test_prefix. Always restart GDB. No need to delete
15614 breakpoints after the test.
15615 (test_skip_handler): Remove prefix parameter.
15616 (skip_over_handler, breakpoint_to_handler)
15617 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
15618 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
15619 restart GDB. No need to delete breakpoints after the test.
15620 (top level): Use foreach to call the test procedures with
15621 different commands.
15622
15623 2014-10-28 Pedro Alves <palves@redhat.com>
15624
15625 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
15626 instead of GNATS numbers.
15627 * gdb.base/sigbpt.exp: Likewise.
15628 * gdb.base/siginfo.exp: Likewise.
15629 * gdb.base/sigstep.exp: Likewise.
15630
15631 2014-10-27 Pedro Alves <palves@redhat.com>
15632
15633 * gdb.base/sigstep.c (dummy): New global.
15634 (main): Issue a couple writes to the new global.
15635 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
15636 procedures.
15637 (skip_over_handler): Use test_skip_handler.
15638 (top level): Call skip_over_handler for stepi and nexti too.
15639 (breakpoint_over_handler): Use test_skip_handler.
15640 (top level): Call breakpoint_over_handler for stepi and nexti too.
15641
15642 2014-10-27 Yao Qi <yao@codesourcery.com>
15643
15644 * gdb.trace/tfile.c (adjust_function_address)
15645 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
15646 function descriptor.
15647
15648 2014-10-24 Don Breazeal <donb@codesourcery.com>
15649
15650 * gdb.base/foll-fork.exp (test_follow_fork,
15651 catch_fork_child_follow): Check for updated fork messages emitted
15652 from infrun.c.
15653 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
15654 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
15655 vfork_and_exec_child_follow_through_step): Check for updated vfork
15656 messages emitted from infrun.c.
15657
15658 2014-10-24 Pedro Alves <palves@redhat.com>
15659
15660 * gdb.base/corefile.exp: Remove references to ultrix.
15661 * gdb.base/interrupt.exp: Likewise.
15662 * gdb.base/whatis.exp: Likewise.
15663 * gdb.gdb/selftest.exp: Likewise.
15664 * gdb.threads/manythreads.exp: Likewise.
15665 * gdb.threads/print-threads.exp: Likewise.
15666 * gdb.threads/pthreads.exp:: Likewise.
15667 * gdb.threads/schedlock.exp: Likewise.
15668
15669 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
15670
15671 * gdb.cp/non-trivial-retval.cc: Add a test case.
15672 * gdb.cp/non-trivial-retval.exp: Add a test.
15673
15674 2014-10-20 Yao Qi <yao@codesourcery.com>
15675
15676 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
15677 * gdb.python/py-objfile-script-gdb.py: New file.
15678 * gdb.python/py-objfile-script.exp: Update reference to
15679 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
15680 of remote_download. Remove the dest file.
15681
15682 2014-10-20 Yao Qi <yao@codesourcery.com>
15683
15684 * gdb.base/checkpoint.exp: Don't remove file copied on host.
15685 * gdb.base/step-line.exp: Likewise.
15686 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
15687 * gdb.dwarf2/dw2-basic.exp: Likewise.
15688 * gdb.dwarf2/dw2-compressed.exp: Likewise.
15689 * gdb.dwarf2/dw2-filename.exp: Likewise.
15690 * gdb.dwarf2/dw2-intercu.exp: Likewise.
15691 * gdb.dwarf2/dw2-intermix.exp: Likewise.
15692 * gdb.dwarf2/dw2-producer.exp: Likewise.
15693 * gdb.dwarf2/mac-fileno.exp: Likewise.
15694 * gdb.python/py-frame-args.exp: Likewise.
15695 * gdb.python/py-framefilter.exp: Likewise.
15696 * gdb.python/py-mi.exp: Likewise.
15697 * gdb.python/py-objfile-script.exp: Likewise
15698 * gdb.python/py-pp-integral.exp: Likewise.
15699 * gdb.python/py-pp-re-notag.exp: Likewise.
15700 * gdb.python/py-prettyprint.exp: Likewise.
15701 * gdb.python/py-section-script.exp: Likewise.
15702 * gdb.python/py-typeprint.exp: Likewise.
15703 * gdb.python/py-xmethods.exp: Likewise.
15704 * gdb.stabs/weird.exp: Likewise.
15705 * gdb.xml/tdesc-regs.exp: Likewise.
15706
15707 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
15708
15709 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
15710 (out_cu): Use addr_len for the size of addresses.
15711 (out_line): Likewise. Size DW_LNE_set_address instruction
15712 according to addr_len.
15713 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
15714 (FUNC): Add START_INSNS to definition.
15715
15716 2014-10-18 Yao Qi <yao@codesourcery.com>
15717
15718 * gdb.base/argv0-symlink.exp: Check argv[0] value if
15719 gdb_has_argv0 return true.
15720 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
15721 check [target_info exists noargs], check [gdb_has_argv0]
15722 instead.
15723 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
15724 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
15725 procedures.
15726
15727 2014-10-17 Doug Evans <dje@google.com>
15728
15729 * gdb.python/py-events.exp: Update expected output for clear_objfiles
15730 event.
15731 * gdb.python/py-events.py: Add clear_objfiles event.
15732
15733 2014-10-17 Doug Evans <dje@google.com>
15734
15735 * gdb.python/py-objfile.exp: Test progspace attribute.
15736
15737 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
15738
15739 * gdb.guile/scm-breakpoint.exp: Do not assume any
15740 directory separators when matching source file paths.
15741 * gdb.python/py-breakpoint.exp: Likewise.
15742 * gdb.reverse/break-precsave.exp: Likewise.
15743 * gdb.reverse/break-reverse.exp: Likewise.
15744 * gdb.reverse/consecutive-precsave.exp: Likewise.
15745 * gdb.reverse/finish-precsave.exp: Likewise.
15746 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
15747 * gdb.reverse/finish-reverse.exp: Likewise.
15748 * gdb.reverse/i386-precsave.exp: Likewise.
15749 * gdb.reverse/i387-env-reverse.exp: Likewise.
15750 * gdb.reverse/i387-stack-reverse.exp: Likewise.
15751 * gdb.reverse/machinestate-precsave.exp: Likewise.
15752 * gdb.reverse/machinestate.exp: Likewise.
15753 * gdb.reverse/sigall-precsave.exp: Likewise.
15754 * gdb.reverse/solib-precsave.exp: Likewise.
15755 * gdb.reverse/step-precsave.exp: Likewise.
15756 * gdb.reverse/until-precsave.exp: Likewise.
15757 * gdb.reverse/watch-precsave.exp: Likewise.
15758 * gdb.reverse/watch-reverse.exp: Likewise.
15759
15760 2014-10-17 Yao Qi <yao@codesourcery.com>
15761
15762 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
15763 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
15764
15765 2014-10-17 Pedro Alves <palves@redhat.com>
15766
15767 PR gdb/17471
15768 * gdb.base/bg-execution-repeat.c: New file.
15769 * gdb.base/bg-execution-repeat.exp: New file.
15770
15771 2014-10-17 Pedro Alves <palves@redhat.com>
15772
15773 PR gdb/17300
15774 * gdb.base/continue-all-already-running.c: New file.
15775 * gdb.base/continue-all-already-running.exp: New file.
15776
15777 2014-10-17 Pedro Alves <palves@redhat.com>
15778
15779 PR gdb/17472
15780 * gdb.base/annota-input-while-running.c: New file.
15781 * gdb.base/annota-input-while-running.exp: New file.
15782
15783 2014-10-17 Pedro Alves <palves@redhat.com>
15784
15785 * gdb.base/callfuncs.exp: emove references to osf.
15786 * gdb.base/sigall.exp: Likewise.
15787 * gdb.gdb/selftest.exp: Likewise.
15788 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
15789 * gdb.mi/non-stop.c: Likewise.
15790 * gdb.mi/pthreads.c: Likewise.
15791 * gdb.reverse/sigall-precsave.exp: Likewise.
15792 * gdb.reverse/sigall-reverse.exp: Likewise.
15793 * gdb.threads/pthreads.c: Likewise.
15794 * gdb.threads/pthreads.exp: Likewise.
15795
15796 2014-10-17 Yao Qi <yao@codesourcery.com>
15797
15798 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
15799 check 'target_info exists noargs'.
15800 (test_command_prompt_position): Likewise.
15801 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
15802 Remove "set args".
15803 (progvar_simple_while_test): Likewise.
15804 (progvar_complex_if_while_test): Likewise.
15805 (if_while_breakpoint_command_test): Likewise.
15806 (infrun_breakpoint_command_test): Likewise.
15807 (breakpoint_command_test): Likewise.
15808 (watchpoint_command_test): Likewise.
15809 (bp_deleted_in_command_test): Likewise.
15810 (temporary_breakpoint_commands): Likewise.
15811
15812 2014-10-16 Yao Qi <yao@codesourcery.com>
15813
15814 * gdb.base/remotetimeout.exp: Remove noargs checking.
15815
15816 2014-10-15 Pedro Alves <palves@redhat.com>
15817
15818 PR breakpoints/9649
15819 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
15820 * gdb.base/breakpoint-in-ro-region.exp
15821 (probe_target_hardware_step): New procedure.
15822 (top level): Probe hardware stepping and hardware breakpoint
15823 support. Test stepping through a read-only region, with both
15824 "breakpoint auto-hw" on and off and both "always-inserted" on and
15825 off.
15826
15827 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
15828
15829 * gdb.dlang/demangle.exp: Update for demangling changes.
15830
15831 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
15832
15833 * gdb.cp/non-trivial-retval.cc: Add new test cases.
15834 * gdb.cp/non-trivial-retval.exp: Add new tests.
15835
15836 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
15837
15838 PR c++/13403
15839 PR c++/15154
15840 * gdb.cp/non-trivial-retval.cc: New file.
15841 * gdb.cp/non-trivial-retval.exp: New file.
15842
15843 2014-10-15 Yao Qi <yao@codesourcery.com>
15844
15845 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
15846 remote host.
15847
15848 2014-10-15 Yao Qi <yao@codesourcery.com>
15849
15850 * gdb.python/py-symbol.exp: Match file base name if host is
15851 remote, otherwise match file name with dir name.
15852 * gdb.python/py-symtab.exp: Likewise.
15853 * gdb.python/python.exp: Likewise.
15854
15855 2014-10-15 Yao Qi <yao@codesourcery.com>
15856
15857 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
15858 pattern.
15859 * gdb.python/py-symtab.exp: Likewise.
15860 * gdb.python/python.exp: Remove trailing ".*". Fix typo
15861 locationn.
15862
15863 2014-10-14 Joel Brobecker <brobecker@adacore.com>
15864
15865 * gdb.ada/addr_arith: New testcase.
15866
15867 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
15868
15869 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
15870 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
15871 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
15872 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
15873
15874 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
15875
15876 * gdb.arch/stap-eval-lang-ada.S: Likewise.
15877 * gdb.arch/stap-eval-lang-ada.c: Likewise.
15878 * gdb.arch/stap-eval-lang-ada.exp: New file.
15879
15880 2014-10-14 Yao Qi <yao@codesourcery.com>
15881
15882 * gdb.mi/mi-var-child.c (nothing1): New function.
15883 (nothing2): New function.
15884 (do_children_tests): Set function pointers by nothing1 and
15885 nothing2.
15886 * gdb.mi/mi-var-child.exp: Step over new added statements.
15887 Update test to match the new output.
15888 * gdb.mi/var-cmd.c (nothing1): New function.
15889 (nothing2): New function.
15890 (do_children_tests): Set function pointers by nothing1 and
15891 nothing2.
15892 * gdb.mi/mi-var-display.exp: Update test to match output.
15893 Step to the line specified by $line_dct_nothing.
15894 Increase the number of lines to step.
15895
15896 2014-10-14 Yao Qi <yao@codesourcery.com>
15897
15898 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
15899 tests.
15900 * gdb.mi/mi2-var-child.exp: Likewise.
15901
15902 2014-10-13 Doug Evans <dje@google.com>
15903
15904 * gdb.python/py-objfile.exp: Change name of file name test.
15905
15906 2014-10-13 Doug Evans <dje@google.com>
15907
15908 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
15909 from the start of the CU.
15910
15911 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15912 Yao Qi <yao@codesourcery.com>
15913
15914 Fix "save breakpoints" for "catch" command.
15915 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
15916 Remove -nonewline. Match also the added "main" line.
15917
15918 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15919
15920 Fix "save breakpoints" for "disable $bpnum" command.
15921 * gdb.base/save-bp.c (main): Add label.
15922 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
15923
15924 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15925
15926 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
15927
15928 2014-10-11 Yao Qi <yao@codesourcery.com>
15929
15930 * gdb.server/server-kill.exp: Execute command
15931 "set remote trace-status-packet on" before "tstatus".
15932
15933 2014-10-11 Yao Qi <yao@codesourcery.com>
15934
15935 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
15936 (main): Call getppid.
15937 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
15938 and continue to it. Read variable "server_pid".
15939
15940 2014-10-11 Yao Qi <yao@codesourcery.com>
15941
15942 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
15943
15944 2014-10-11 Yao Qi <yao@codesourcery.com>
15945
15946 * gdb.threads/thread-find.exp: Don't execute command
15947 "info threads".
15948 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
15949 * gdb.threads/linux-dp.exp: Don't check the condition
15950 $threads_created equals to zero.
15951
15952 2014-10-10 Pedro Alves <palves@redhat.com>
15953
15954 * gdb.base/bigcore.exp: Remove references to IRIX.
15955 * gdb.base/funcargs.exp: Likewise.
15956 * gdb.base/interrupt.exp: Likewise.
15957 * gdb.base/mips_pro.exp: Likewise.
15958 * gdb.base/nodebug.exp: Likewise.
15959 * gdb.base/setvar.exp: Likewise.
15960 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
15961
15962 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
15963 Pedro Alves <palves@redhat.com>
15964
15965 PR symtab/14466
15966 * gdb.base/vdso-warning.c: New file.
15967 * gdb.base/vdso-warning.exp: New file.
15968
15969 2014-10-02 Doug Evans <dje@google.com>
15970
15971 * gdb.base/structs.c (main): Don't run forever.
15972
15973 2014-10-02 Pedro Alves <palves@redhat.com>
15974
15975 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
15976 (top level) <stop threads 1, stop threads 2>: Use it.
15977
15978 2014-10-02 Pedro Alves <palves@redhat.com>
15979
15980 * gdb.threads/break-while-running.exp (test): Add new
15981 'update_thread_list' argument. Skip "info threads" if false.
15982 (top level): Add new 'update_thread_list' axis.
15983
15984 2014-10-02 Pedro Alves <palves@redhat.com>
15985
15986 PR breakpoints/17431
15987 * gdb.base/execl-update-breakpoints.c: New file.
15988 * gdb.base/execl-update-breakpoints.exp: New file.
15989
15990 2014-10-01 Pedro Alves <palves@redhat.com>
15991
15992 * gdb.base/breakpoint-in-ro-region.c: New file.
15993 * gdb.base/breakpoint-in-ro-region.exp: New file.
15994
15995 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
15996
15997 * gdb.mi/mi-exit-code.exp: New file.
15998 * gdb.mi/mi-exit-code.c: New file.
15999
16000 2014-09-30 Yao Qi <yao@codesourcery.com>
16001
16002 * lib/prelink-support.exp (build_executable_own_libs): Error if
16003 the target isn't native.
16004
16005 2014-09-30 Yao Qi <yao@codesourcery.com>
16006
16007 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
16008 false.
16009
16010 2014-09-22 Pedro Alves <palves@redhat.com>
16011
16012 * gdb.threads/break-while-running.exp: New file.
16013 * gdb.threads/break-while-running.c: New file.
16014
16015 2014-09-19 Yao Qi <yao@codesourcery.com>
16016
16017 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
16018 Invoke test. Restart GDB with --readnow and invoke test again.
16019
16020 2014-09-19 Yao Qi <yao@codesourcery.com>
16021
16022 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
16023 proc set_breakpoint_on_gcd_function. Invoke
16024 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
16025 invoke set_breakpoint_on_gcd_function again.
16026
16027 2014-09-18 Doug Evans <dje@google.com>
16028
16029 * gdb.dwarf2/symtab-producer.exp: New file.
16030
16031 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
16032
16033 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
16034 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
16035 * gdb.base/global-var-nested-by-dso.c: Likewise.
16036 * gdb.base/global-var-nested-by-dso.exp: Likewise.
16037
16038 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
16039 Pedro Alves <palves@redhat.com>
16040
16041 * gdb.base/watch-bitfields.exp: Pass string other than test file
16042 name to prepare_for_testing.
16043 (watch): New procedure.
16044 (expect_watchpoint): Use with_test_prefix.
16045 (top level): Factor out tests to ...
16046 (test_watch_location, test_regular_watch): ... these new
16047 procedures, and use with_test_prefix and gdb_continue_to_end.
16048
16049 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
16050
16051 PR breakpoints/12526
16052 * gdb.base/watch-bitfields.exp: New file.
16053 * gdb.base/watch-bitfields.c: New file.
16054
16055 2014-09-16 Pedro Alves <palves@redhat.com>
16056
16057 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
16058 software and hardware addresses, not software address against
16059 itself.
16060
16061 2014-09-16 Pedro Alves <palves@redhat.com>
16062
16063 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
16064 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
16065
16066 2014-09-16 Pedro Alves <palves@redhat.com>
16067
16068 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
16069 files.
16070 * gdb.base/a2-run.exp: Remove all code guarded by istarget
16071 "*-*-vxworks*" throughout.
16072 * gdb.base/break.exp: Likewise.
16073 * gdb.base/default.exp: Likewise.
16074 * gdb.base/scope.exp: Likewise.
16075 * gdb.base/sepdebug.exp: Likewise.
16076 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
16077 throughout.
16078 * gdb.base/run.c: Likewise.
16079 * gdb.base/sepdebug.c: Likewise.
16080 * gdb.hp/gdb.aCC/run.c: Likewise.
16081 * gdb.reverse/until-reverse.c: Likewise.
16082 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
16083
16084 2014-09-16 Yao Qi <yao@codesourcery.com>
16085
16086 * boards/local-remote-host-native.exp: New file.
16087
16088 2014-09-14 Doug Evans <xdje42@gmail.com>
16089
16090 * gdb.threads/queue-signal.c (thread_count): New variable.
16091 (thread_count_mutex, thread_count_condvar): New variables.
16092 (incr_thread_count, wait_all_threads_running): New functions.
16093 (main): Wait for all threads to be in their thread functions.
16094
16095 2014-09-13 Doug Evans <xdje42@gmail.com>
16096
16097 * gdb.threads/queue-signal.c: New file.
16098 * gdb.threads/queue-signal.exp: New file.
16099
16100 2014-09-13 Doug Evans <xdje42@gmail.com>
16101
16102 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
16103 be consistent with what default_gdb_init uses.
16104 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
16105 the plain text of the prompt. Add some logging printfs.
16106 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
16107
16108 2014-09-12 Pedro Alves <palves@redhat.com>
16109
16110 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
16111 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
16112 * gdb.arch/i386-size-overlap.exp: Likewise.
16113 * gdb.arch/i386-size.exp: Likewise.
16114 * gdb.arch/i386-unwind.exp: Likewise.
16115 * gdb.base/a2-run.exp: Likewise.
16116 * gdb.base/break.exp: Likewise.
16117 * gdb.base/charset.exp: Likewise.
16118 * gdb.base/chng-syms.exp: Likewise.
16119 * gdb.base/commands.exp: Likewise.
16120 * gdb.base/dbx.exp: Likewise.
16121 * gdb.base/find.exp: Likewise.
16122 * gdb.base/funcargs.exp: Likewise.
16123 * gdb.base/jit-simple.exp: Likewise.
16124 * gdb.base/reread.exp: Likewise.
16125 * gdb.base/sepdebug.exp: Likewise.
16126 * gdb.base/step-bt.exp: Likewise.
16127 * gdb.cp/mb-inline.exp: Likewise.
16128 * gdb.cp/mb-templates.exp: Likewise.
16129 * gdb.objc/basicclass.exp: Likewise.
16130 * gdb.threads/killed.exp: Likewise.
16131
16132 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16133
16134 PR tdep/17379
16135 * gdb.arch/powerpc-stackless.S: New file.
16136 * gdb.arch/powerpc-stackless.exp: New file.
16137
16138 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16139
16140 * gdb.base/attach.c: Include unistd.h.
16141 (main): Call alarm. Add label postloop.
16142 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
16143 gdb_breakpoint, gdb_continue_to_breakpoint.
16144 (test_command_line_attach_run): Kill ${testpid} in one exit path.
16145
16146 2014-09-11 Pedro Alves <palves@redhat.com>
16147
16148 PR gdb/17347
16149 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
16150 * gdb.base/attach.exp (test_command_line_attach_run): New
16151 procedure.
16152 (top level): Call it.
16153
16154 2014-09-11 Pedro Alves <palves@redhat.com>
16155
16156 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
16157 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
16158 (do_command_attach_tests): Use spawn_wait_for_attach.
16159 * gdb.base/solib-overlap.exp: Likewise.
16160 * gdb.multi/multi-attach.exp: Likewise.
16161 * gdb.python/py-prompt.exp: Likewise.
16162 * gdb.python/py-sync-interp.exp: Likewise.
16163 * gdb.server/ext-attach.exp: Likewise.
16164
16165 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
16166
16167 * gdb.fortran/array-element.exp: Remove unexpected "continue"
16168 command in testcase. Simplify testcase.
16169
16170 2014-09-10 Joel Brobecker <brobecker@adacore.com>
16171
16172 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
16173
16174 2014-09-10 Joel Brobecker <brobecker@adacore.com>
16175
16176 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
16177
16178 2014-09-10 Joel Brobecker <brobecker@adacore.com>
16179
16180 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
16181
16182 2014-09-10 Joel Brobecker <brobecker@adacore.com>
16183
16184 * gdb.dwarf2/dynarr-ptr.c: New file.
16185 * gdb.dwarf2/dynarr-ptr.exp: New file.
16186
16187 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16188
16189 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
16190 of 30 rather than hardcoding 120 for a slow test case. Take the
16191 `gdb,timeout' target setting into account for this calculation.
16192 Don't extend the timeout for the test cases that don't need it.
16193
16194 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16195
16196 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
16197 a factor of 2 for a slow test case. Take the `gdb,timeout'
16198 target setting into account for this calculation.
16199 * gdb.reverse/until-precsave.exp: Increase the timeout by
16200 a factor of 15 and 3 respectively rather than adding 120
16201 for a pair of slow test cases. Take the `gdb,timeout'
16202 target setting into account for this calculation.
16203
16204 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16205
16206 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
16207 timeout, don't pass one down to gdb_expect.
16208 (gdb_expect): Rework timeout selection.
16209
16210 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16211
16212 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
16213 exception on timeout.
16214 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
16215 (gdbserver_start_extended): Catch any `gdbserver_start' error
16216 exceptions.
16217 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
16218 * lib/mi-support.exp (mi_gdb_target_load): Catch any
16219 `gdbserver_gdb_load' error exceptions.
16220
16221 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16222
16223 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
16224 120 on waiting for the TCP socket to open.
16225
16226 2014-09-09 Doug Evans <xdje42@gmail.com>
16227
16228 * gdb.base/default.exp (show_conv_list): Add _caller_is,
16229 _caller_matches, _any_caller_is, _any_caller_matches.
16230
16231 2014-09-09 Doug Evans <xdje42@gmail.com>
16232
16233 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
16234
16235 2014-09-09 Yao Qi <yao@codesourcery.com>
16236
16237 * gdb.mi/mi-var-display.exp: Set print symbol off.
16238
16239 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
16240
16241 PR gdb/17035
16242 * gdb.base/commands.exp: Add tests to verify user-defined
16243 commands with empty bodies.
16244 * gdb.python/py-cmd.exp: Test that we don't show user-defined
16245 python commands in `show user command`.
16246 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
16247 scheme commands in `show user command`.
16248
16249 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
16250
16251 PR python/17355
16252 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
16253 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
16254 * gdb.python/py-framefilter-invalidarg.exp: New file.
16255 * gdb.python/py-framefilter-invalidarg.py: New file.
16256
16257 2014-09-06 Doug Evans <xdje42@gmail.com>
16258
16259 PR 15276
16260 * gdb.python/py-caller-is.c: New file.
16261 * gdb.python/py-caller-is.exp: New file.
16262
16263 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
16264
16265 PR gdb/17235
16266 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
16267 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
16268
16269 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
16270
16271 PR fortran/17237
16272 * gdb.fortran/print-formatted.exp: New file.
16273 * gdb.fortran/print-formatted.f90: Likewise.
16274
16275 2014-09-03 Sasha Smundak <asmundak@google.com>
16276
16277 * gdb.python/py-frame.exp: Test Frame.read_register.
16278
16279 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
16280
16281 PR python/16699
16282 * gdb.python/py-completion.exp: New file.
16283 * gdb.python/py-completion.py: Likewise.
16284
16285 2014-08-28 Doug Evans <dje@google.com>
16286
16287 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
16288 eax,etc. are live with values set by gdb and thus the compiler can't
16289 use them.
16290 * gdb.arch/i386-pseudo.c (main): Ditto.
16291
16292 2014-08-27 Doug Evans <dje@google.com>
16293
16294 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
16295
16296 2014-08-25 Doug Evans <dje@google.com>
16297
16298 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
16299 (main): Ditto.
16300
16301 2014-08-25 Doug Evans <dje@google.com>
16302
16303 * gdb.threads/thread-execl.exp: #include <stdio.h>.
16304
16305 2014-08-24 Yao Qi <yao@codesourcery.com>
16306
16307 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
16308 symbol off.
16309 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
16310
16311 2014-08-22 Doug Evans <dje@google.com>
16312
16313 PR 17276
16314 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
16315 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
16316 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
16317
16318 2014-08-22 Yao Qi <yao@codesourcery.com>
16319
16320 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
16321 * gdb.python/py-finish-breakpoint2.exp: Likewise.
16322 * gdb.python/python.exp: Likewise. Use .py file on the host
16323 instead of the build.
16324
16325 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16326
16327 * gdb.threads/gcore-stale-thread.c: New file.
16328 * gdb.threads/gcore-stale-thread.exp: New file.
16329
16330 2014-08-21 Pedro Alves <palves@redhat.com>
16331
16332 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
16333 * gdb.base/gcore-relro-pie.exp: Likewise.
16334 * gdb.base/gcore-relro.exp: Likewise.
16335 * gdb.base/gcore.exp: Likewise.
16336 * gdb.base/print-symbol-loading.exp: Likewise.
16337 * gdb.threads/gcore-thread.exp: Likewise.
16338 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
16339
16340 2014-08-20 Pedro Alves <palves@redhat.com>
16341 Jan Kratochvil <jan.kratochvil@redhat.com>
16342
16343 * Makefile.in (EXTRA_RULES, CC): New variables, get from
16344 configure.
16345 (EXPECT): Handle READ1 being set.
16346 (all): Depend on EXTRA_RULES.
16347 (check-read1, expect-read1, read1.so, read1): New rules.
16348 * README (Testsuite Parameters): Document the READ1 make variable.
16349 (Race detection): New section.
16350 * configure: Regenerate.
16351 * configure.ac: If build==host==target, and running under a
16352 GNU/glibc system, add read1 to the extra Makefile rules.
16353 (EXTRA_RULES): AC_SUBST it.
16354 * lib/read1.c: New file.
16355
16356 2014-08-20 Joel Brobecker <brobecker@adacore.com>
16357
16358 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
16359 the handling of variables declared as a typedef to an array
16360 which a DW_AT_data_location attribute.
16361
16362 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
16363 Pedro Alves <palves@redhat.com>
16364
16365 PR symtab/14604
16366 PR symtab/14605
16367 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
16368 gdb_test.
16369
16370 2014-08-19 Pedro Alves <palves@redhat.com>
16371
16372 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
16373
16374 2014-08-19 Yao Qi <yao@codesourcery.com>
16375
16376 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
16377 right line.
16378
16379 2014-08-18 David Blaikie <dblaikie@gmail.com>
16380
16381 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
16382
16383 2014-08-18 Joel Brobecker <brobecker@adacore.com>
16384
16385 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
16386 attribute in array range.
16387
16388 2014-08-18 Joel Brobecker <brobecker@adacore.com>
16389
16390 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
16391
16392 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
16393
16394 PR c++/17132
16395 * gdb.cp/pr17132.cc: New file.
16396 * gdb.cp/pr17132.exp: New file.
16397
16398 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
16399
16400 * gdb.python/py-xmethods.py (A_getarrayind)
16401 (E_method_char_worker.__call__, E_method_int_worker.__call__):
16402 Use 'print' with function call syntax.
16403 (E_method_matcher.match): Fix tab vs space indentation mixup.
16404
16405 2014-08-15 Yao Qi <yao@codesourcery.com>
16406
16407 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
16408 false.
16409
16410 2014-08-15 Yao Qi <yao@codesourcery.com>
16411
16412 * gdb.cp/casts.exp: Set print symbol off.
16413 * gdb.cp/class2.exp: Likewise.
16414 * gdb.cp/overload.exp: Likewise.
16415 * gdb.cp/templates.exp: Likewise.
16416
16417 2014-08-11 Doug Evans <dje@google.com>
16418
16419 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
16420 (test_load_shlib): Update.
16421
16422 2014-08-09 Yao Qi <yao@codesourcery.com>
16423
16424 * gdb.base/display.exp: Invoke is_address_zero_readable.
16425 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
16426 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
16427 * gdb.base/hbreak-unmapped.exp: Return if
16428 is_address_zero_readable returns true.
16429 * gdb.base/signest.exp: Likewise.
16430 * gdb.base/signull.exp: Likewise.
16431 * gdb.base/sigbpt.exp: Likewise.
16432 * gdb.guile/scm-disasm.exp: Do the test if
16433 is_address_zero_readable returns false.
16434 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
16435 * gdb.python/py-arch.exp: Likewise.
16436 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
16437 * lib/gdb.exp (is_address_zero_readable): New proc.
16438
16439 2014-08-09 Yao Qi <yao@codesourcery.com>
16440
16441 PR testsuite/13443
16442 * gdb.mi/mi-var-display.exp: Make test messages unique.
16443
16444 2014-08-04 Tom Tromey <tromey@redhat.com>
16445
16446 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
16447 target 0".
16448
16449 2014-08-04 Tom Tromey <tromey@redhat.com>
16450
16451 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
16452 "target_resume".
16453
16454 2014-08-01 Joel Brobecker <brobecker@adacore.com>
16455
16456 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
16457 inner_vla_struct_object_size.
16458 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
16459 as xfail.
16460
16461 2014-07-30 Pedro Alves <palves@redhat.com>
16462
16463 * gdb.threads/signal-command-handle-nopass.exp (test): Add
16464 comment.
16465
16466 2014-07-29 Yao Qi <yao@codesourcery.com>
16467
16468 PR gdb/17206
16469 * gdb.base/until-nodebug.exp: New.
16470
16471 2014-07-28 Doug Evans <xdje42@gmail.com>
16472
16473 PR guile/17203
16474 * gdb.guile/scm-parameter.exp: Add tests for trying to create
16475 previously existing parameter, and previously ambiguously spelled
16476 parameter.
16477
16478 2014-07-28 Will Newton <will.newton@linaro.org>
16479
16480 * gdb.base/varargs.exp: Remove KFAILs for ARM.
16481
16482 2014-07-26 Ludovic Courtès <ludo@gnu.org>
16483 Doug Evans <xdje42@gmail.com>
16484
16485 PR guile/17146
16486 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
16487
16488 2014-07-25 Pedro Alves <palves@redhat.com>
16489
16490 * gdb.threads/signal-command-handle-nopass.c: New file.
16491 * gdb.threads/signal-command-handle-nopass.exp: New file.
16492 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
16493 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
16494 * gdb.threads/signal-delivered-right-thread.c: New file.
16495 * gdb.threads/signal-delivered-right-thread.exp: New file.
16496
16497 2014-07-25 Pedro Alves <palves@redhat.com>
16498
16499 * gdb.base/double-prompt-target-event-error.exp
16500 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
16501 match.
16502 (cancel_pagination_in_target_event): Rework double prompt
16503 detection.
16504 * gdb.base/paginate-after-ctrl-c-running.exp
16505 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
16506 <return>' match.
16507 * gdb.base/paginate-bg-execution.exp
16508 (test_bg_execution_pagination_return)
16509 (test_bg_execution_pagination_cancel): Remove '-notransfer
16510 <return>' matches.
16511 * gdb.base/paginate-execution-startup.exp
16512 (test_fg_execution_pagination_return)
16513 (test_fg_execution_pagination_cancel): Remove '-notransfer
16514 <return>' matches.
16515 * gdb.base/paginate-inferior-exit.exp
16516 (test_paginate_inferior_exited): Remove '-notransfer <return>'
16517 match.
16518 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
16519 * lib/gdb.exp (pagination_prompt): Run text through
16520 string_to_regexp.
16521 (gdb_test_multiple): Match $pagination_prompt instead of
16522 "<return>".
16523 (string_to_regexp): Move to lib/gdb-utils.exp.
16524
16525 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16526
16527 * gdb.arch/amd64-entry-value-paramref.S: New file.
16528 * gdb.arch/amd64-entry-value-paramref.cc: New file.
16529 * gdb.arch/amd64-entry-value-paramref.exp: New file.
16530 * gdb.arch/amd64-optimout-repeat.S: New file.
16531 * gdb.arch/amd64-optimout-repeat.c: New file.
16532 * gdb.arch/amd64-optimout-repeat.exp: New file.
16533
16534 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
16535
16536 PR gdb/17170
16537 * gdb.base/statistics.exp: New file.
16538
16539 2014-07-17 Doug Evans <dje@google.com>
16540
16541 PR gdb/17170
16542 * gdb.base/maint.exp: Update testing of per-command stats.
16543
16544 2014-07-16 Pedro Alves <palves@redhat.com>
16545
16546 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
16547 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
16548 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
16549 (tfile_write_buf): New functions.
16550 (add_memory_block): Rewrite using the above.
16551 (adjust_function_address): New function.
16552 (FUNCTION_ADDRESS): New macro.
16553 (write_basic_trace_file): Remove short_x local, and use
16554 tfile_write_16. Change type of func_addr local to unsigned long
16555 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
16556 here. Cast argument of add_memory_block to char pointer.
16557 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
16558 (main): Remove parameters.
16559 * gdb.trace/tfile.exp: Remove nowarnings.
16560
16561 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
16562
16563 * gdb.base/debug-expr.exp: Test string evaluation with
16564 "debug expression" on.
16565
16566 2014-07-15 Pedro Alves <palves@redhat.com>
16567
16568 * gdb.base/reread.exp: Use clean_restart.
16569
16570 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
16571
16572 * gdb.arch/avr-flash-qualifer.c: New.
16573 * gdb.arch/avr-flash-qualifer.exp: New.
16574
16575 2014-07-14 Pedro Alves <palves@redhat.com>
16576
16577 * gdb.base/paginate-after-ctrl-c-running.c: New file.
16578 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
16579
16580 2014-07-14 Pedro Alves <palves@redhat.com>
16581
16582 * gdb.base/double-prompt-target-event-error.c: New file.
16583 * gdb.base/double-prompt-target-event-error.exp: New file.
16584
16585 2014-07-14 Pedro Alves <palves@redhat.com>
16586
16587 PR gdb/17072
16588 * gdb.base/paginate-inferior-exit.c: New file.
16589 * gdb.base/paginate-inferior-exit.exp: New file.
16590
16591 2014-07-14 Pedro Alves <palves@redhat.com>
16592
16593 PR gdb/17072
16594 * gdb.base/paginate-bg-execution.c: New file.
16595 * gdb.base/paginate-bg-execution.exp: New file.
16596
16597 2014-07-14 Pedro Alves <palves@redhat.com>
16598
16599 PR gdb/17072
16600 * gdb.base/paginate-execution-startup.c: New file.
16601 * gdb.base/paginate-execution-startup.exp: New file.
16602 * lib/gdb.exp (pagination_prompt): New global.
16603 (default_gdb_spawn): New procedure, factored out from
16604 default_gdb_spawn.
16605 (default_gdb_start): Adjust to call default_gdb_spawn.
16606 (gdb_spawn): New procedure.
16607
16608 2014-07-14 Pedro Alves <palves@redhat.com>
16609
16610 * lib/gdb.exp (gdb_assert): New procedure.
16611 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
16612
16613 2014-07-14 Pedro Alves <palves@redhat.com>
16614
16615 * gdb.base/execution-termios.c: New file.
16616 * gdb.base/execution-termios.exp: New file.
16617
16618 2014-07-14 Tom Tromey <tromey@redhat.com>
16619
16620 * gdb.cp/vla-cxx.cc: New file.
16621 * gdb.cp/vla-cxx.exp: New file.
16622
16623 2014-07-14 Tom Tromey <tromey@redhat.com>
16624
16625 * gdb.reverse/rerun-prec.c: New file.
16626 * gdb.reverse/rerun-prec.exp: New file.
16627
16628 2014-07-12 Maciej W. Rozycki <macro@mips.com>
16629 Maciej W. Rozycki <macro@codesourcery.com>
16630
16631 * lib/gdb-utils.exp: New file.
16632 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
16633 inline `gdb_init_command' processing.
16634 (gdb_start_cmd): Likewise.
16635 * lib/mi-support.exp (mi_run_cmd): Likewise.
16636 * README: Document `gdb_init_command' and `gdb_init_commands'.
16637
16638 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16639
16640 Fix false FAIL running under a very long directory name.
16641 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
16642 and "set print elements 10000". Twice.
16643
16644 2014-07-11 Yao Qi <yao@codesourcery.com>
16645
16646 * gdb.base/exprs.exp: "set print symbol off".
16647
16648 2014-07-11 Pedro Alves <palves@redhat.com>
16649
16650 * gdb.threads/kill.c: New file.
16651 * gdb.threads/kill.exp: New file.
16652
16653 2014-07-10 Yao Qi <yao@codesourcery.com>
16654
16655 * gdb.trace/tfile.c (write_basic_trace_file)
16656 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
16657 address written to trace file.
16658
16659 2014-07-09 Pedro Alves <palves@redhat.com>
16660
16661 * gdb.base/attach-wait-input.exp: New file.
16662 * gdb.base/attach-wait-input.c: New file.
16663
16664 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
16665
16666 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
16667 setting up test structures.
16668 (main): Call new test function.
16669 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
16670 test function, continue into test function and walk test
16671 structures.
16672
16673 2014-07-02 Yao Qi <yao@codesourcery.com>
16674
16675 * gdb.trace/entry-values.c: Define labels 'foo_start' and
16676 'bar_start' at the beginning of functions 'foo' and 'bar'
16677 respectively.
16678 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
16679 instead of 'foo' and 'bar'.
16680
16681 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
16682
16683 * gdb.btrace/segv.exp: New.
16684 * gdb.btrace/segv.c: New.
16685
16686 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
16687
16688 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
16689 instruction.
16690
16691 2014-06-30 Mark Wielaard <mjw@redhat.com>
16692
16693 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
16694 vulture, vilify, villar): New volatile array constants.
16695 (vindictive, vegetation): New const volatile array constants.
16696 * gdb.base/volatile.exp: Test volatile and const volatile array
16697 types.
16698
16699 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
16700
16701 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
16702 target lacks support for awatch, rwatch, or hbreak.
16703
16704 2014-06-27 Yao Qi <yao@codesourcery.com>
16705
16706 * gdb.multi/dummy-frame-restore.exp: New.
16707 * gdb.multi/dummy-frame-restore.c: New.
16708
16709 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
16710
16711 * gdb.btrace/gcore.exp: New.
16712
16713 2014-06-23 Pedro Alves <palves@redhat.com>
16714
16715 * gdb.base/watchpoint-reuse-slot.c: New file.
16716 * gdb.base/watchpoint-reuse-slot.exp: New file.
16717
16718 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
16719
16720 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
16721 progspace's filename in 'info', 'enable' and 'disable' command
16722 tests.
16723
16724 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
16725
16726 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
16727 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
16728 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
16729
16730 2014-06-20 Gary Benson <gbenson@redhat.com>
16731
16732 * gdb.arch/i386-avx.exp: Fix include file location.
16733 * gdb.arch/i386-sse.exp: Likewise.
16734
16735 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
16736
16737 * gdb.dlang/expression.exp: New file.
16738
16739 2014-06-19 Pedro Alves <palves@redhat.com>
16740
16741 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
16742 out from ...
16743 (top level): ... here. Iterate running tests under different
16744 scheduler-locking settings.
16745
16746 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
16747
16748 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
16749 to DW_FORM_addr and use non-zero addresses.
16750
16751 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
16752
16753 PR gdb/17017
16754 * gdb.python/py-xmethods.cc: Add global function call counters and
16755 increment them in their respective functions. Remove "cout"
16756 statements.
16757 * gdb.python/py-xmethods.exp: Make tests check the global function
16758 call counters instead of depending on inferior IO.
16759
16760 2014-06-18 Don Breazeal <donb@codesourcery.com>
16761
16762 * gdb.base/foll-fork.exp (default_fork_parent_follow):
16763 Deleted procedure.
16764 (explicit_fork_parent_follow): Deleted procedure.
16765 (explicit_fork_child_follow): Deleted procedure.
16766 (test_follow_fork): New procedure.
16767 (do_fork_tests): Replace calls to deleted procedures with
16768 calls to test_follow_fork and reset GDB for subsequent
16769 procedure calls.
16770
16771 2014-06-17 Yao Qi <yao@codesourcery.com>
16772
16773 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
16774 CP1252.
16775
16776 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
16777
16778 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
16779 Initialize ptr and S explicitly.
16780 (skip_type_update_when_not_use_rtti_test): Likewise.
16781
16782 2014-06-16 Keith Seitz <keiths@redhat.com>
16783
16784 PR mi/15863
16785 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
16786 the inferior is started.
16787
16788 2014-06-16 Pedro Alves <palves@redhat.com>
16789
16790 * gdb.base/break-main-file-remove-fail.c: New file.
16791 * gdb.base/break-main-file-remove-fail.exp: New file.
16792 * gdb.base/break-unload-file.exp: Use build_executable instead of
16793 prepare_for_testing.
16794 (test_break): New parameter "initial_load". Handle it.
16795 (top level): Add initial_load cmdline/file axis.
16796
16797 2014-06-12 Tom Tromey <tromey@redhat.com>
16798
16799 * gdb.base/completion.exp: Don't use directory name in test.
16800
16801 2014-06-09 Gary Benson <gbenson@redhat.com>
16802
16803 * gdb.base/sigall.c [Functions to send signals]: Reorder to
16804 separate the always-available ANSI-standard signals from the
16805 signals that require checking.
16806 (main): Likewise.
16807 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
16808 Likewise.
16809 (main): Likewise.
16810
16811 2014-06-07 Keith Seitz <keiths@redhat.com>
16812
16813 Revert:
16814 PR c++/16253
16815 * gdb.cp/var-tag.cc: New file.
16816 * gdb.cp/var-tag.exp: New file.
16817 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
16818 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
16819 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
16820 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
16821
16822 2014-06-06 Doug Evans <xdje42@gmail.com>
16823
16824 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
16825
16826 2014-06-06 Pedro Alves <palves@redhat.com>
16827
16828 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
16829 in target debug output instead of looking at RSP packets,
16830 disabling the test on any target that uses hardware stepping.
16831 Update comments.
16832
16833 2014-06-06 Pedro Alves <palves@redhat.com>
16834
16835 * gdb.base/break-unload-file.exp: Fix typo.
16836
16837 2014-06-06 Yao Qi <yao@codesourcery.com>
16838
16839 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
16840 from "jit_function" to "^jit_function".
16841
16842 2014-06-06 Yao Qi <yao@codesourcery.com>
16843
16844 * gdb.base/async.c (foo): Add one statement.
16845 * gdb.base/async.exp: Get the next instruction address and
16846 match the output of "nexti" by instruction address. Match
16847 the hex address in the output of "finish".
16848
16849 2014-06-06 Gary Benson <gbenson@redhat.com>
16850
16851 * gdb.base/call-signals.c: Remove preprocessor conditionals
16852 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
16853 SIGSEGV and SIGTERM.
16854 * gdb.base/sigall.c: Likewise.
16855 * gdb.base/unwindonsignal.c: Likewise.
16856 * gdb.reverse/sigall-reverse.c: Likewise.
16857
16858 2014-06-06 Yao Qi <yao@codesourcery.com>
16859
16860 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
16861 readable, skip the test.
16862
16863 2014-06-06 Yao Qi <yao@codesourcery.com>
16864
16865 * gdb.threads/staticthreads.c (thread_function): Move the line
16866 setting breakpoint on forward.
16867 * gdb.threads/staticthreads.exp: Update comments.
16868
16869 2014-06-05 Ludovic Courtès <ludo@gnu.org>
16870
16871 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
16872 "history-append! type error".
16873
16874 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
16875
16876 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
16877 erroneous dprintf expected input.
16878
16879 2014-06-04 Doug Evans <xdje42@gmail.com>
16880
16881 * gdb.guile/scm-generics.exp: Delete.
16882
16883 2014-06-04 Doug Evans <xdje42@gmail.com>
16884
16885 * gdb.guile/scm-breakpoint.exp: Update.
16886 Add tests for breakpoint registration.
16887
16888 2014-06-04 Tom Tromey <tromey@redhat.com>
16889
16890 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
16891 VLA-in-union.
16892 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
16893 inner_vla_struct, vla_union types. Initialize objects of those
16894 types and compute their sizes.
16895
16896 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
16897 Hui Zhu <hui@codesourcery.com>
16898
16899 * gdb.base/fileio.exp: Add test for shell not available as well as
16900 available.
16901 * gdb.base/fileio.c (test_system): Check for shell twice.
16902
16903 2014-06-04 Yao Qi <yao@codesourcery.com>
16904
16905 * gdb.base/auto-connect-native-target.exp: Remove redundant
16906 space from the regexp pattern.
16907
16908 2014-06-04 Yao Qi <yao@codesourcery.com>
16909
16910 * gdb.base/default.exp: Replace "child" with "native" in
16911 regexp pattern.
16912
16913 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
16914
16915 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
16916 * gdb.python/py-xmethods.exp: New tests to test xmethods.
16917 * gdb.python/py-xmethods.py: Python script supporting the
16918 new testcase and tests.
16919
16920 2014-06-03 Joel Brobecker <brobecker@adacore.com>
16921 Pedro Alves <palves@redhat.com>
16922
16923 PR breakpoints/17000
16924 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
16925 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
16926
16927 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
16928
16929 * gdb.base/subst.exp: Add tests to verify partial path matching
16930 output.
16931
16932 2014-06-03 Pedro Alves <palves@redhat.com>
16933
16934 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
16935 target that doesn't use software single-stepping.
16936
16937 2014-06-03 Pedro Alves <palves@redhat.com>
16938
16939 PR breakpoints/17000
16940 * gdb.base/sss-bp-on-user-bp-2.c: New file.
16941 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
16942
16943 2014-06-02 Doug Evans <xdje42@gmail.com>
16944
16945 * gdb.guile/scm-parameter.exp: New file.
16946
16947 2014-06-02 Doug Evans <xdje42@gmail.com>
16948
16949 * gdb.guile/scm-cmd.c: New file.
16950 * gdb.guile/scm-cmd.exp: New file.
16951
16952 2014-06-02 Doug Evans <xdje42@gmail.com>
16953
16954 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
16955 pretty-printer lookup.
16956 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
16957 (make-pp_s-printer): Call it.
16958 (make-pretty-printer-from-dict): New function.
16959 (lookup-pretty-printer-maker-from-dict): New function.
16960 (*pretty-printer*): Simplify.
16961 (make-objfile-pp_s-printer): New function.
16962 (install-objfile-pretty-printers!): New function.
16963 (make-progspace-pp_s-printer): New function.
16964 (install-progspace-pretty-printers!): New function.
16965 * gdb.guile/scm-progspace.c: New file.
16966 * gdb.guile/scm-progspace.exp: New file.
16967
16968 2014-06-02 Pedro Alves <palves@redhat.com>
16969
16970 * gdb.base/dprintf-bp-same-addr.c: New file.
16971 * gdb.base/dprintf-bp-same-addr.exp: New file.
16972
16973 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16974
16975 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
16976 * gdb.arch/powerpc-power.s: Likewise.
16977
16978 2014-06-02 Joel Brobecker <brobecker@adacore.com>
16979
16980 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
16981
16982 2014-06-01 Yao Qi <yao@codesourcery.com>
16983
16984 * gdb.base/watchpoint.exp (test_watch_location): Check null
16985 pointer can be dereferenced. If not, do the test, otherwise
16986 skip it.
16987
16988 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
16989
16990 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
16991 results.
16992 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
16993
16994 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
16995
16996 * gdb.arch/amd64-invalid-stack-middle.S: New file.
16997 * gdb.arch/amd64-invalid-stack-middle.c: New file.
16998 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
16999 * gdb.arch/amd64-invalid-stack-top.c: New file.
17000 * gdb.arch/amd64-invalid-stack-top.exp: New file.
17001
17002 2014-05-30 Pedro Alves <palves@redhat.com>
17003
17004 PR breakpoints/17000
17005 * gdb.base/sss-bp-on-user-bp.c: New file.
17006 * gdb.base/sss-bp-on-user-bp.exp: New file.
17007
17008 2014-05-30 David Blaikie <dblaikie@gmail.com>
17009
17010 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
17011 gnu_inline semantics via attribute.
17012 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
17013 source explicitly specifies the required semantics.
17014
17015 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
17016
17017 * gdb.reverse/sigall-reverse.exp: Fix a typo.
17018
17019 2014-05-29 Pedro Alves <palves@redhat.com>
17020 Tom Tromey <tromey@redhat.com>
17021
17022 * gdb.base/async-shell.exp: Don't enable target-async.
17023 * gdb.base/async.exp
17024 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
17025 parameter. Adjust.
17026 (top level): Don't test with "target-async".
17027 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
17028 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
17029 * gdb.base/inferior-died.exp: Don't enable target-async.
17030 * gdb.base/interrupt-noterm.exp: Likewise.
17031 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
17032 * gdb.mi/mi-nonstop-exit.exp: Likewise.
17033 * gdb.mi/mi-nonstop.exp: Likewise.
17034 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
17035 * gdb.mi/mi-nsintrall.exp: Likewise.
17036 * gdb.mi/mi-nsmoribund.exp: Likewise.
17037 * gdb.mi/mi-nsthrexec.exp: Likewise.
17038 * gdb.mi/mi-watch-nonstop.exp: Likewise.
17039 * gdb.multi/watchpoint-multi.exp: Adjust comment.
17040 * gdb.python/py-evsignal.exp: Don't enable target-async.
17041 * gdb.python/py-evthreads.exp: Likewise.
17042 * gdb.python/py-prompt.exp: Likewise.
17043 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
17044 * gdb.server/solib-list.exp: Don't enable target-async.
17045 * gdb.threads/thread-specific-bp.exp: Likewise.
17046 * lib/mi-support.exp: Adjust to use mi-async.
17047
17048 2014-05-29 Pedro Alves <palves@redhat.com>
17049
17050 PR gdb/13860
17051 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
17052 reason, even in sync mode.
17053
17054 2014-05-29 Pedro Alves <palves@redhat.com>
17055 Hui Zhu <hui@codesourcery.com>
17056
17057 PR PR15693
17058 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
17059 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
17060 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
17061 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
17062
17063 2014-05-28 Joel Brobecker <brobecker@adacore.com>
17064
17065 * config/monitor.exp (gdb_target_monitor): Replace use of
17066 "set remotebaud" by "set serial baud".
17067
17068 2014-05-26 Andy Wingo <wingo@igalia.com>
17069
17070 * gdb.guile/scm-breakpoint.exp:
17071 * gdb.guile/scm-gsmob.exp: Update to use plain old object
17072 properties instead of gdb-object-properties.
17073
17074 2014-05-26 Yao Qi <yao@codesourcery.com>
17075
17076 * gdb.server/no-thread-db.exp: Specify source file name
17077 explicitly when setting a breakpoint.
17078
17079 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
17080
17081 * gdb.btrace/vdso.c: New.
17082 * gdb.btrace/vdso.exp: New.
17083
17084 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
17085
17086 * gdb.base/gcore.exp (capture_command_output): Move ...
17087 * lib/gdb.exp (capture_command_output): ... here.
17088
17089 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
17090
17091 * gdb.btrace/data.exp: Test memory access during btrace replay.
17092
17093 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
17094
17095 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
17096
17097 2014-05-21 Pedro Alves <palves@redhat.com>
17098
17099 PR gdb/13860
17100 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
17101 (top level): Test that output related to execution commands is
17102 sent to the console with CLI commands, but not with MI commands.
17103 Test that breakpoint events are always mirrored to the console.
17104 Also expect the new source line to be output after a "next" in
17105 async mode too. Make it a pass/fail test.
17106 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
17107 output.
17108 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
17109
17110 2014-05-21 Pedro Alves <palves@redhat.com>
17111
17112 * gdb.base/list.exp (build_pattern, test_list): New procedures.
17113 Use them to test variations of "list" after reaching a breakpoint.
17114 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
17115 Test "list" with listsize 10 after reaching a breakpoint.
17116 * gdb.python/python.exp (decode_line current location line
17117 number): Adjust expected line number.
17118
17119 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
17120
17121 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
17122 behavior for $args, pass it directly to "run".
17123
17124 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
17125
17126 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
17127 30000 to 65536.
17128
17129 2014-05-21 Pedro Alves <palves@redhat.com>
17130
17131 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
17132 auto-connect-native-target off".
17133 * gdb.base/auto-connect-native-target.c: New file.
17134 * gdb.base/auto-connect-native-target.exp: New file.
17135
17136 2014-05-21 Pedro Alves <palves@redhat.com>
17137
17138 * gdb.base/default.exp: Test "target native" instead of "target
17139 child".
17140
17141 2014-05-21 Mark Wielaard <mjw@redhat.com>
17142
17143 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
17144
17145 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
17146
17147 Fix TLS access for -static -pthread.
17148 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
17149 <HAVE_TLS> (thread_function, main): Initialize it.
17150 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
17151 Add clean_restart.
17152 <$have_tls != "">: Check TLSVAR.
17153
17154 2014-05-21 Pedro Alves <palves@redhat.com>
17155
17156 * gdb.base/dcache-line-read-error.c: New.
17157 * gdb.base/dcache-line-read-error.exp: New.
17158
17159 2014-05-20 Pedro Alves <palves@redhat.com>
17160
17161 * gdb.base/compare-sections.c: New file.
17162 * gdb.base/compare-sections.exp: New file.
17163
17164 2014-05-20 Pedro Alves <palves@redhat.com>
17165
17166 * gdb.base/break-idempotent.c: New file.
17167 * gdb.base/break-idempotent.exp: New file.
17168
17169 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
17170
17171 * gdb.btrace/nohist.exp: New.
17172
17173 2014-05-20 Yao Qi <yao@codesourcery.com>
17174
17175 * lib/gdb.exp (gdb_init): Set timeout if test file is under
17176 gdb.reverse directory and gdb_reverse_timeout exists in board
17177 setting.
17178 * README: Document gdb_reverse_timeout.
17179
17180 2014-05-20 Yao Qi <yao@codesourcery.com>
17181
17182 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
17183 'test_file_name'. Treat args as a string instead of a list.
17184 (gdb_init): Rename argument 'args' by 'test_file_name'.
17185
17186 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
17187
17188 * gdb.arch/powerpc-power.exp: New file.
17189 * gdb.arch/powerpc-power.s: New file.
17190
17191 2014-05-16 Doug Evans <dje@google.com>
17192
17193 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
17194 * gdb.base/completion.exp: Check that all expected files exist
17195 before doing file completion.
17196
17197 2014-05-16 Doug Evans <dje@google.com>
17198
17199 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
17200 Update.
17201 (do_syscall_tests_without_xml): Update.
17202
17203 2014-05-16 Pedro Alves <palves@redhat.com>
17204
17205 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
17206 instead of "unknown output after running".
17207
17208 2014-05-16 Yao Qi <yao@codesourcery.com>
17209
17210 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
17211 file1.txt from host at the end.
17212 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
17213
17214 2014-05-15 Doug Evans <dje@google.com>
17215
17216 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
17217 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
17218 loading file. Add test for TU lookup.
17219
17220 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
17221
17222 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
17223 calling "-exec-arguments" or "set args" before running the
17224 inferior.
17225
17226 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
17227
17228 * lib/mi-support.exp (mi_expect_stop): Expect message for
17229 inferiors that exit with non-zero exit code.
17230
17231 2014-05-14 Yao Qi <yao@codesourcery.com>
17232
17233 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
17234 match absolute path on remote host.
17235 (test_file_list_exec_source_files): Remove "/" from the
17236 pattern.
17237
17238 2014-05-14 Yao Qi <yao@codesourcery.com>
17239
17240 * boards/local-remote-host-notty.exp (${board}_file): New
17241 proc.
17242
17243 2014-05-07 Kyle McMartin <kyle@redhat.com>
17244
17245 Pushed by Joel Brobecker <brobecker@adacore.com>.
17246 * gdb.arch/aarch64-atomic-inst.c: New file.
17247 * gdb.arch/aarch64-atomic-inst.exp: New file.
17248
17249 2014-05-07 Yao Qi <yao@codesourcery.com>
17250
17251 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
17252 in current context" too.
17253
17254 2014-05-05 Keith Seitz <keiths@redhat.com>
17255
17256 * gdb.linespec/ls-dollar.exp: Add test for linespec
17257 file:convenience_variable.
17258
17259 2014-05-05 Yao Qi <yao@codesourcery.com>
17260
17261 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
17262 traceframes into tfile and ctf trace files. Read data from
17263 trace file and test collected data.
17264 (gdb_collect_locals_test): Likewise.
17265 (gdb_unavailable_registers_test): Likewise.
17266 (gdb_unavailable_floats): Likewise.
17267 (gdb_collect_globals_test): Likewise.
17268 (top-level): Append "ctf" to trace_file_targets if GDB
17269 supports.
17270
17271 2014-05-05 Yao Qi <yao@codesourcery.com>
17272
17273 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
17274 code to ...
17275 (gdb_collect_args_test_1): ... it. New proc.
17276 (gdb_collect_locals_test): Move some code to ...
17277 (gdb_collect_locals_test_1): ... it. New proc.
17278 (gdb_unavailable_registers_test): Move some code to ...
17279 (gdb_unavailable_registers_test_1): ... it. New proc.
17280 (gdb_unavailable_floats): Move some code to ...
17281 (gdb_unavailable_floats_1): ... it. New proc.
17282
17283 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
17284
17285 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
17286 probes to test for bitness recognition.
17287 * gdb.arch/amd64-stap-optional-prefix.exp
17288 (test_probe_value_without_reg): New procedure.
17289 Add code to test for different kinds of bitness.
17290
17291 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
17292
17293 PR breakpoints/16889
17294 * gdb.arch/amd64-stap-optional-prefix.S: New file.
17295 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
17296
17297 2014-05-01 Pedro Alves <palves@redhat.com>
17298
17299 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
17300 gdb_file_cmd if no file is specified.
17301 * boards/native-extended-gdbserver.exp (gdb_load): Use the
17302 last_loaded_file to set the remote exec-file.
17303
17304 2014-05-01 Pedro Alves <palves@redhat.com>
17305
17306 * boards/local-remote-host.exp: New file.
17307
17308 2014-05-01 Pedro Alves <palves@redhat.com>
17309
17310 * boards/local-remote-host.exp: Rename to ...
17311 * boards/local-remote-host-notty.exp: ... this.
17312
17313 2014-04-28 Joel Brobecker <brobecker@adacore.com>
17314
17315 * gdb.ada/dyn_arrayidx: New testcase.
17316
17317 2014-04-26 Yao Qi <yao@codesourcery.com>
17318
17319 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
17320 and compute the length of function main. Save it in
17321 $main_length.
17322 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
17323 (top-level): Use gdb_compile to compile objects into
17324 executable and restart GDB. Remove invocation to
17325 prepare_for_testing.
17326
17327 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
17328 Pedro Alves <palves@redhat.com>
17329
17330 PR server/16255
17331 * gdb.multi/multi-attach.c: New file.
17332 * gdb.multi/multi-attach.exp: New file.
17333
17334 2014-04-25 Pedro Alves <palves@redhat.com>
17335
17336 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
17337 user.
17338 (top level): Test that "set remote conditional-breakpoints-packet
17339 off" works as intended.
17340 * gdb.base/dprintf.exp: Test that "set remote
17341 breakpoint-commands-packet off" works as intended.
17342 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
17343 New function.
17344 (top level): Call it.
17345 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
17346 remote fast-tracepoints-packet off" works as intended.
17347 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
17348 * lib/gdb.exp (gdb_is_target_remote): ... here.
17349
17350 2014-04-24 David Blaikie <dblaikie@gmail.com>
17351
17352 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
17353 ensure clang would not discard them.
17354 * gdb.base/gdbvars.c: Ditto.
17355 * gdb.base/memattr.c: Ditto.
17356 * gdb.base/whatis.c: Ditto.
17357 * gdb.python/py-prettyprint.c: Ditto.
17358 * gdb.trace/actions.c: Ditto.
17359 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
17360 ensure clang would not discard it.
17361
17362 2014-04-24 David Blaikie <dblaikie@gmail.com>
17363
17364 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
17365 clang to emit the full definition of type required by the test
17366 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
17367
17368 2014-04-24 David Blaikie <dblaikie@gmail.com>
17369
17370 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
17371 coax Clang into emitting the definition of the type.
17372 * gdb.cp/pr10728-x.h (y): Ditto.
17373 * gdb.cp/pr10728-y.cc (y): Ditto.
17374
17375 2014-04-24 David Blaikie <dblaikie@gmail.com>
17376
17377 * gdb.base/label.exp: XFAIL label related tests under Clang.
17378 * gdb.cp/cplabel.exp: Ditto.
17379 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
17380 under Clang those using labels.
17381
17382 2014-04-25 Yao Qi <yao@codesourcery.com>
17383
17384 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
17385 double_label.
17386 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
17387 partial_label and double_label.
17388
17389 2014-04-24 David Blaikie <dblaikie@gmail.com>
17390
17391 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
17392
17393 2014-04-24 David Blaikie <dblaikie@gmail.com>
17394
17395 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
17396 of the function to work across GCC and Clang.
17397 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
17398 pointer types (const void ** const V void **).
17399
17400 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
17401 Walfred Tedeschi <walfred.tedeschi@intel.com>
17402
17403 * Makefile.in (EXECUTABLES): Added i386-avx512.
17404 * gdb.arch/i386-avx512.c: New file.
17405 * gdb.arch/i386-avx512.exp: Likewise.
17406
17407 2014-04-23 Keith Seitz <keiths@redhat.com>
17408
17409 * lib/mi-support.exp (mi_list_breakpoints): Delete.
17410 (mi_make_breakpoint_table): New procedure.
17411 (mi_create_breakpoint): Use mi_make_breakpoint
17412 and return the result.
17413 (mi_make_breakpoint): New procedure.
17414 (mi_build_kv_pairs): New procedure.
17415
17416 * gdb.mi/mi-break.exp: Remove unused globals,
17417 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
17418 All callers updated.
17419 * gdb.mi/mi-dprintf.exp: Use variable to track command
17420 number.
17421 Update all callers of mi_create_breakpoint and use
17422 mi_make_breakpoint_table.
17423 Remove any unused global variables.
17424 * gdb.mi/mi-nonstop.exp: Likewise.
17425 * gdb.mi/mi-nsintrall.exp: Likewise.
17426 * gdb.mi/mi-nsmoribund.exp: Likewise.
17427 * gdb.mi/mi-nsthrexec.exp: Likewise.
17428 * gdb.mi/mi-reverse.exp: Likewise.
17429 * gdb.mi/mi-simplerun.exp: Likewise.
17430 * gdb.mi/mi-stepn.exp: Likewise.
17431 * gdb.mi/mi-syn-frame.exp: Likewise.
17432 * gdb.mi/mi-until.exp: Likewise.
17433 * gdb.mi/mi-var-cp.exp: Likewise.
17434 * gdb.mi/mi-var-display.exp: Likewise.
17435 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
17436 * gdb.mi/mi2-var-child.exp: Likewise.
17437 * gdb.mi/mi-vla-c99.exp: Likewise.
17438 * lib/mi-support.exp: Likewise.
17439
17440 From Ian Lance Taylor <iant@cygnus.com>:
17441 * lib/gdb.exp (parse_args): New procedure.
17442
17443 2014-04-23 Pedro Alves <palves@redhat.com>
17444
17445 * gdb.base/break-unload-file.c: New file.
17446 * gdb.base/break-unload-file.exp: New file.
17447 * gdb.base/sym-file-lib.c (baz): New function.
17448 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
17449 field.
17450 (load): Store the segment's mapped size.
17451 (unload): New function.
17452 (unload_shlib): New function.
17453 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
17454 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
17455 set a breakpoint at baz, and call it.
17456 * gdb.base/sym-file.exp: New tests for stale breakpoint
17457 instructions.
17458
17459 2014-04-23 Pedro Alves <palves@redhat.com>
17460
17461 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
17462 * gdb.base/hbreak-in-shr-unsupported.c: New file.
17463 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
17464 * gdb.base/hbreak-unmapped.c: New file.
17465 * gdb.base/hbreak-unmapped.exp: New file.
17466 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
17467 * lib/gdb.exp (gdb_is_target_remote): ... here.
17468
17469 2014-04-22 Pedro Alves <palves@redhat.com>
17470
17471 * gdb.base/consecutive-step-over.c: New file.
17472 * gdb.base/consecutive-step-over.exp: New file.
17473
17474 2014-04-22 Pedro Alves <palves@redhat.com>
17475
17476 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
17477 instead of send_gdb/gdb_expect.
17478
17479 2014-04-22 Yao Qi <yao@codesourcery.com>
17480
17481 * lib/trace-support.exp (generate_tracefile): New procedure.
17482 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
17483 return 0.
17484 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
17485 if generate_tracefile returns 1.
17486
17487 2014-04-18 Tom Tromey <palves@redhat.com>
17488 Pedro alves <tromey@redhat.com>
17489
17490 PR backtrace/15558
17491 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
17492 with a backtrace limit.
17493 * gdb.python/py-frame-inline.exp: Test running to an inline
17494 function with a backtrace limit, and printing the newest frame.
17495 * gdb.python/py-frame-inline.c (main): Call f.
17496
17497 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
17498
17499 * gdb.java/jnpe.exp: Drop srcdir from untested path.
17500
17501 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
17502
17503 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
17504 Drop prefix from unsupported source file path.
17505
17506 2014-04-17 Yao Qi <yao@codesourcery.com>
17507
17508 * lib/gdb.exp (with_target_charset): New proc.
17509 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
17510 with_target_charset.
17511 (test_print_strings): Likewise.
17512 (test_repeat_bytes): Likewise.
17513 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
17514 for some tests.
17515
17516 2014-04-16 Keith Seitz <keiths@redhat.com>
17517
17518 PR gdb/15827
17519 * gdb.dwarf2/corrupt.c: New file.
17520 * gdb.dwarf2/corrupt.exp: New file.
17521
17522 2014-04-16 Keith Seitz <keiths@redhat.com>
17523
17524 PR c++/16597
17525 * gdb.cp/namelessclass.cc: New file.
17526 * gdb.cp/namelessclass.exp: New file.
17527 * gdb.cp/namelessclass.S: New file.
17528
17529 2014-04-16 Doug Evans <dje@google.com>
17530
17531 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
17532 Add comment.
17533 (gdbserver_default_get_comm_port): New function.
17534 (gdbserver_start): Check if board file provided
17535 "gdbserver,get_comm_port" and use it if so.
17536 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
17537 (gdb,socketport): Set to "stdio".
17538 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
17539 (stdio_gdbserver_template): Delete.
17540 (${board}_get_remote_address): Update.
17541 (${board}_build_remote_cmd): Delete.
17542 (${board}_get_comm_port): New function.
17543 (${board}_spawn): Update.
17544 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
17545 Delete.
17546 (${board}_get_remote_address): Update.
17547 (${board}_get_comm_port): New function.
17548
17549 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
17550
17551 * gdb.base/memattr.exp: Improve regexps to handle memory regions
17552 appearing in any order.
17553
17554 2014-04-15 Doug Evans <dje@google.com>
17555
17556 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
17557 uninitialized value of "description".
17558
17559 2014-04-15 Keith Seitz <keiths@redhat.com>
17560
17561 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
17562 Remove unused globals.
17563 (test_running_the_program): Likewise.
17564 (test_controlled_execution): Likewise.
17565 (test_controlling_breakpoints): Likewise.
17566 (test_program_termination): Likewise.
17567
17568 2014-04-15 Keith Seitz <keiths@redhat.com>
17569
17570 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
17571 unused globals.
17572 (test_rbreak_creation_and_listing): Likewise.
17573 (test_ignore_count): Likewise.
17574 (test_error): Likewise.
17575
17576 2014-04-15 Pedro Alves <palves@redhat.com>
17577
17578 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
17579 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
17580 sym-file-loader.c.
17581 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
17582 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
17583 to sym-file-loader.c.
17584 (struct library): Forward declare.
17585 (load_shlib, lookup_function): Change prototypes.
17586 (find_shstrtab, find_strtab, find_shdr, find_symtab)
17587 (translate_offset): Remove declarations.
17588 (get_text_addr): New declaration.
17589 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
17590 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
17591 sym-file-loader.h.
17592 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
17593 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
17594 here from sym-file-loader.h.
17595 (struct library): New structure.
17596 (load_shlib, lookup_function): Change prototypes and adjust to
17597 work with a struct library.
17598 (find_shstrtab, find_strtab, find_shdr, find_symtab)
17599 (translate_offset): Make static.
17600 (get_text_addr): New function.
17601 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
17602
17603 2014-04-15 Pedro Alves <palves@redhat.com>
17604
17605 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
17606
17607 2014-04-15 Pedro Alves <palves@redhat.com>
17608
17609 * gdb.base/sym-file-loader.c: Include <limits.h>.
17610 (SELF_LINK): New define.
17611 (get_origin): New function.
17612 (load_shlib): Use it.
17613 * gdb.base/sym-file.exp: Don't early return if the target is
17614 remote. Use runto_main, and issue fail is that fails. Use
17615 gdb_load_shlibs.
17616 (shlib_name): Delete.
17617 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
17618
17619 2014-04-15 Pedro Alves <palves@redhat.com>
17620
17621 * gdb.base/sym-file.exp: Remove regex characters from test
17622 message. Don't refer to breakpoint numbers in test messages.
17623
17624 2014-04-14 Keith Seitz <keiths@redhat.com>
17625
17626 PR c++/16253
17627 * gdb.cp/var-tag.cc: New file.
17628 * gdb.cp/var-tag.exp: New file.
17629 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
17630 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
17631 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
17632 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
17633
17634 2014-04-14 Tom Tromey <tromey@redhat.com>
17635
17636 * gdb.cp/classes.exp (test_enums): Handle underlying type.
17637 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
17638 type.
17639 * gdb.cp/enum-class.exp: New file.
17640 * gdb.cp/enum-class.cc: New file.
17641
17642 2014-04-14 Tom Tromey <tromey@redhat.com>
17643
17644 * gdb.dwarf2/enum-type.exp: New file.
17645
17646 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17647
17648 * gdb.mi/mi-vla-c99.exp: New file.
17649 * gdb.mi/vla.c: New file.
17650
17651 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17652
17653 * gdb.base/vla-datatypes.c: New file.
17654 * gdb.base/vla-datatypes.exp: New file.
17655
17656 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17657
17658 * gdb.base/vla-ptr.c: New file.
17659 * gdb.base/vla-ptr.exp: New file.
17660
17661 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17662
17663 * gdb.dwarf2/count.exp: New file.
17664
17665 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17666
17667 * gdb.base/vla-sideeffect.c: New file.
17668 * gdb.base/vla-sideeffect.exp: New file.
17669
17670 2014-04-14 David Blaikie <dblaikie@gmail.com>
17671
17672 * gdb.mi/non-stop.c: Add return value for non-void function return
17673 statement.
17674 * gdb.threads/staticthreads.c: Ditto.
17675
17676 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
17677 Doug Evans <xdje42@gmail.com>
17678
17679 * gdb.guile/scm-value.c: Improve test case.
17680 * gdb.guile/scm-value.exp: Add new test.
17681
17682 2014-04-11 David Blaikie <dblaikie@gmail.com>
17683
17684 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
17685 override Clang's default.
17686
17687 2014-04-11 Joel Brobecker <brobecker@adacore.com>
17688
17689 Revert the following changes (regressions):
17690
17691 * gdb.base/vla-sideeffect.c: New file.
17692 * gdb.base/vla-sideeffect.exp: New file.
17693
17694 * gdb.dwarf2/count.exp: New file.
17695
17696 * gdb.base/vla-multi.c: New file.
17697 * gdb.base/vla-multi.exp: New file.
17698
17699 * gdb.base/vla-ptr.c: New file.
17700 * gdb.base/vla-ptr.exp: New file.
17701
17702 * gdb.base/vla-datatypes.c: New file.
17703 * gdb.base/vla-datatypes.exp: New file.
17704
17705 * gdb.mi/mi-vla-c99.exp: New file.
17706 * gdb.mi/vla.c: New file.
17707
17708 2014-04-11 Keith Seitz <keiths@redhat.com>
17709
17710 PR c++/16675
17711 * gdb.cp/cpsizeof.exp: New file.
17712 * gdb.cp/cpsizeof.cc: New file.
17713
17714 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17715
17716 * gdb.mi/mi-vla-c99.exp: New file.
17717 * gdb.mi/vla.c: New file.
17718
17719 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17720
17721 * gdb.base/vla-datatypes.c: New file.
17722 * gdb.base/vla-datatypes.exp: New file.
17723
17724 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17725
17726 * gdb.base/vla-ptr.c: New file.
17727 * gdb.base/vla-ptr.exp: New file.
17728
17729 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17730
17731 * gdb.base/vla-multi.c: New file.
17732 * gdb.base/vla-multi.exp: New file.
17733
17734 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17735
17736 * gdb.dwarf2/count.exp: New file.
17737
17738 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17739
17740 * gdb.base/vla-sideeffect.c: New file.
17741 * gdb.base/vla-sideeffect.exp: New file.
17742
17743 2014-04-11 Yao Qi <yao@codesourcery.com>
17744
17745 * gdb.base/completion.exp: Check file exists before running tests
17746 on file completion.
17747
17748 2014-04-10 Pedro Alves <palves@redhat.com>
17749
17750 * gdb.base/cond-eval-mode.c: New file.
17751 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
17752 prepare_for_testing to build the new file. Check result of
17753 runto_main.
17754 (test_break, test_watch): New procedures.
17755 (top level): Use them.
17756
17757 2014-04-08 Pierre Muller <muller@sourceware.org>
17758
17759 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
17760 Ctrl-V use for mingw hosts.
17761
17762 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
17763
17764 * gdb.python/py-value.c: Improve test case.
17765 * gdb.python/py-value.exp: Add new test.
17766
17767 2014-04-07 David Blaikie <dblaikie@gmail.com>
17768
17769 * lib/compiler.c: Identify the clang compiler.
17770 * lib/compiler.cc: Ditto.
17771
17772 2014-04-03 Yao Qi <yao@codesourcery.com>
17773
17774 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
17775
17776 2014-04-01 Anton Blanchard <anton@samba.org>
17777
17778 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
17779 messages unique.
17780
17781 2014-04-01 Anton Blanchard <anton@samba.org>
17782
17783 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
17784 prepare_for_testing.
17785
17786 2014-04-01 Anton Blanchard <anton@samba.org>
17787
17788 * gdb.arch/ppc64-atomic-inst.c: Remove.
17789 * gdb.arch/ppc64-atomic-inst.S: New file.
17790 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
17791
17792 2014-03-31 Doug Evans <dje@google.com>
17793
17794 * gdb.base/print-symbol-loading-lib.c: New file.
17795 * gdb.base/print-symbol-loading-main.c: New file.
17796 * gdb.base/print-symbol-loading.exp: New file.
17797
17798 2014-03-31 Yao Qi <yao@codesourcery.com>
17799
17800 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
17801
17802 2014-03-28 Joel Brobecker <brobecker@adacore.com>
17803
17804 * gdb.ada/mi_dyn_arr: New testcase.
17805
17806 2014-03-27 Doug Evans <dje@google.com>
17807
17808 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
17809
17810 2014-03-27 Yao Qi <yao@codesourcery.com>
17811
17812 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
17813 if target is nios2-*-*.
17814
17815 2014-03-26 Yao Qi <yao@codesourcery.com>
17816
17817 * lib/gdb.exp (readline_is_used): New proc.
17818 * gdb.base/completion.exp: Move tests on command complete up.
17819 Skip the rest of tests if readline is not used.
17820 * gdb.ada/complete.exp: Skp the test if readline is not
17821 used.
17822 * gdb.base/filesym.exp: Likewise.
17823 * gdb.base/macscp.exp: Likewise.
17824 * gdb.base/readline-ask.exp: Likewise.
17825 * gdb.base/readline.exp: Likewise.
17826 * gdb.python/py-cmd.exp: Likewise.
17827 * gdb.trace/tfile.exp: Likewise.
17828
17829 2014-03-26 Yao Qi <yao@codesourcery.com>
17830
17831 * gdb.base/macscp.exp: Fix code format issues.
17832
17833 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
17834
17835 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
17836 * gdb.asm/powerpc64le.inc: New file.
17837
17838 2014-03-25 Pedro Alves <palves@redhat.com>
17839 Doug Evans <dje@google.com>
17840
17841 * gdb.base/source-execution.c: New file.
17842 * gdb.base/source-execution.exp: New file.
17843 * gdb.base/source-execution.gdb: New file.
17844
17845 2014-03-24 Doug Evans <dje@google.com>
17846
17847 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
17848 using fission.
17849
17850 2014-03-24 Hui Zhu <hui@codesourcery.com>
17851 Pedro Alves <palves@redhat.com>
17852
17853 PR breakpoints/16101
17854 * gdb.base/dprintf.exp: Use unsupported rather than changing the
17855 test pass/fail messages. Detect missing support for dprintf when
17856 breakpoints are actually inserted.
17857 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
17858 breakpoints are actually inserted.
17859 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
17860 fails.
17861
17862 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
17863
17864 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
17865
17866 2014-03-22 Doug Evans <xdje42@gmail.com>
17867
17868 * gdb.python/python.exp (python not supported): Verify multi-line
17869 python command issues an error.
17870 * gdb.guile/guile.exp (guile not supported): Verify multi-line
17871 guile command issues an error.
17872
17873 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
17874
17875 * gdb.threads/thread-specific.exp: Handle the lack of usable
17876 $this_breakpoint and $this_thread.
17877
17878 2014-03-21 Hui Zhu <hui@codesourcery.com>
17879
17880 * gdb.base/attach.exp (do_command_attach_tests): New.
17881
17882 2014-03-20 Tom Tromey <tromey@redhat.com>
17883 Pedro Alves <palves@redhat.com>
17884
17885 PR cli/15718
17886 * gdb.base/condbreak-call-false.c: New file.
17887 * gdb.base/condbreak-call-false.exp: New file.
17888
17889 2014-03-20 Pedro Alves <palves@redhat.com>
17890
17891 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
17892 Delete.
17893 (block_signals, unblock_signals): Delete.
17894 (child_function_2, main): Remove references to deleted variable
17895 and functions.
17896
17897 2014-03-20 Pedro Alves <palves@redhat.com>
17898
17899 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
17900 Use pthread_kill to signal thread 2.
17901 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17902 Adjust to make the test send itself a signal rather than using the
17903 host's "kill" command.
17904
17905 2014-03-20 Pedro Alves <palves@redhat.com>
17906
17907 * gdb.threads/multiple-step-overs.c: New file.
17908 * gdb.threads/multiple-step-overs.exp: New file.
17909 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17910 Adjust expected infrun debug output.
17911
17912 2014-03-20 Pedro Alves <palves@redhat.com>
17913
17914 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
17915 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
17916
17917 2014-03-20 Pedro Alves <palves@redhat.com>
17918
17919 PR breakpoints/7143
17920 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
17921 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
17922 of gdb_test_multiple.
17923 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
17924 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
17925
17926 2014-03-20 Pedro Alves <palves@redhat.com>
17927
17928 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
17929 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
17930
17931 2014-03-19 Pedro Alves <palves@redhat.com>
17932
17933 * gdb.base/async.exp: Remove early return.
17934
17935 2014-03-19 Pedro Alves <palves@redhat.com>
17936
17937 * gdb.base/async.exp (step& tests): Pass explicit test messages.
17938
17939 2014-03-19 Pedro Alves <palves@redhat.com>
17940
17941 * gdb.base/async.exp (test_background): Expect \r\n after
17942 "completed." in the fail pattern.
17943
17944 2014-03-19 Pedro Alves <palves@redhat.com>
17945
17946 * gdb.base/async.exp (test_background): New procedure.
17947 Use it for all background execution command tests.
17948
17949 2014-03-19 Pedro Alves <palves@redhat.com>
17950
17951 * gdb.base/async.exp: Use prepare_for_testing.
17952
17953 2014-03-19 Pedro Alves <palves@redhat.com>
17954
17955 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
17956 the same line.
17957
17958 2014-03-19 Pedro Alves <palves@redhat.com>
17959
17960 * gdb.base/async.c (main): Add "jump here" and "until here" line
17961 marker comments.
17962 * gdb.base/async.exp (jump_here): New global.
17963 (jump& test): Use it.
17964 (until_here): New global.
17965 (until& test): Use it.
17966
17967 2014-03-19 Pedro Alves <palves@redhat.com>
17968
17969 * gdb.base/async.exp: Don't frob gdb_protocol.
17970
17971 2014-03-18 Doug Evans <xdje42@gmail.com>
17972
17973 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
17974 Fix spelling of exec-done-display.
17975
17976 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
17977
17978 PR gdb/15358
17979 * gdb.base/gdb-sigterm.c: New file.
17980 * gdb.base/gdb-sigterm.exp: New file.
17981
17982 2014-03-18 Pedro Alves <palves@redhat.com>
17983
17984 PR gdb/13860
17985 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
17986 * lib/mi-support.exp (mi_expect_stop): Add special handling for
17987 solib-event.
17988
17989 2014-03-17 Joel Brobecker <brobecker@adacore.com>
17990
17991 * gdb.ada/pckd_arr_ren: New testcase.
17992
17993 2014-03-13 Doug Evans <xdje42@gmail.com>
17994
17995 PR guile/16612
17996 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
17997 collect after discarding symbols.
17998
17999 2014-03-13 Ludovic Courtès <ludo@gnu.org>
18000 Doug Evans <xdje42@gmail.com>
18001
18002 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
18003 to history survives a gc.
18004
18005 2014-03-13 Pedro Alves <palves@redhat.com>
18006
18007 * gdb.base/default.exp: Don't test "target procfs".
18008
18009 2014-03-13 Pedro Alves <palves@redhat.com>
18010
18011 * gdb.base/default.exp: Update "target child" and "target procfs"
18012 tests to not expect "Unix".
18013
18014 2014-03-12 Tom Tromey <tromey@redhat.com>
18015
18016 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
18017 New procs. Add target-async tests.
18018 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
18019 Add target-async tests.
18020
18021 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18022
18023 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
18024 'func_start' and 'func_end' for the beginning and end of the
18025 function code, respectively.
18026 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
18027 'func_end' instead of 'func' and 'main'.
18028
18029 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18030
18031 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
18032 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
18033 generate the debug info assembler source.
18034
18035 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18036
18037 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
18038 * gdb.dwarf2/arr-subrange.exp: Likewise.
18039 * gdb.dwarf2/dwz.exp: Likewise.
18040 * gdb.dwarf2/method-ptr.exp: Likewise.
18041 * gdb.dwarf2/missing-sig-type.exp: Likewise.
18042 * gdb.dwarf2/subrange.exp: Likewise.
18043 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
18044 * gdb.dwarf2/implptrpiece.exp: Likewise.
18045 * gdb.dwarf2/nostaticblock.exp: Likewise.
18046
18047 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18048
18049 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
18050 directory to absolute path name arguments.
18051
18052 2014-03-10 Joel Brobecker <brobecker@adacore.com>
18053
18054 * gdb.ada/tagged_access: New testcase.
18055
18056 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
18057
18058 * gdb.btrace/data.exp: Update expected output.
18059
18060 2014-03-06 Yao Qi <yao@codesourcery.com>
18061
18062 * gdb.trace/pr16508.exp: New file.
18063
18064 2014-03-05 Pedro Alves <palves@redhat.com>
18065
18066 PR gdb/16575
18067 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
18068 procedure.
18069 (top level): Adjust to use it. Add tests that exercise breakpoint
18070 interaction with the code-cache.
18071
18072 2014-02-26 Ludovic Courtès <ludo@gnu.org>
18073
18074 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
18075 test for 'history-append!'.
18076
18077 2014-02-26 Joel Brobecker <brobecker@adacore.com>
18078
18079 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
18080 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
18081 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
18082 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
18083 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
18084 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
18085
18086 2014-02-26 Joel Brobecker <brobecker@adacore.com>
18087
18088 * testsuite/gdb.python/py-pp-re-notag.c: New file.
18089 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
18090 * testsuite/gdb.python/py-pp-re-notag.p: New file.
18091
18092 2014-02-26 Joel Brobecker <brobecker@adacore.com>
18093
18094 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
18095
18096 2014-02-26 Joel Brobecker <brobecker@adacore.com>
18097
18098 * gdb.dwarf2/arr-stride.c: New file.
18099 * gdb.dwarf2/arr-stride.exp: New file.
18100
18101 2014-02-26 Pedro Alves <palves@redhat.com>
18102
18103 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
18104 that won't ever trigger. Make sure that GDB reports the correct
18105 breakpoint that caused the stop.
18106
18107 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
18108
18109 PR gdb/16626
18110 * gdb.base/auto-load-script: New file.
18111 * gdb.base/auto-load.c: New file.
18112 * gdb.base/auto-load.exp: New file.
18113
18114 PR gdb/16626
18115 * gdb.base/auto-load.exp: Fix out-of-srctree run.
18116
18117 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
18118
18119 Fix dw2-icycle.exp -fsanitize=address GDB crash.
18120 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
18121
18122 2014-02-24 Doug Evans <dje@google.com>
18123
18124 * lib/gdb.exp (run_on_host): Log error output if program fails.
18125
18126 2014-02-21 Pedro Alves <palves@redhat.com>
18127
18128 * gdb.threads/step-after-sr-lock.c: Rename to ...
18129 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
18130 * gdb.threads/step-after-sr-lock.exp: Rename to ...
18131 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
18132 ... this.
18133
18134 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
18135
18136 PR tdep/16397
18137 * gdb.arch/amd64-stap-special-operands.exp: New file.
18138 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
18139 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
18140 * gdb.arch/amd64-stap-triplet.S: Likewise.
18141 * gdb.arch/amd64-stap-triplet.c: Likewise.
18142
18143 2014-02-20 Joel Brobecker <brobecker@adacore.com>
18144
18145 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
18146 in .section pseudo-op.
18147
18148 2014-02-20 lin zuojian <manjian2006@gmail.com>
18149 Joel Brobecker <brobecker@adacore.com>
18150 Doug Evans <xdje42@gmail.com>
18151
18152 PR symtab/16581
18153 * gdb.dwarf2/dw2-icycle.S: New file.
18154 * gdb.dwarf2/dw2-icycle.c: New file.
18155 * gdb.dwarf2/dw2-icycle.exp: New file.
18156
18157 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
18158
18159 * gdb.python/py-value-cc.cc: Improve test case to enable testing
18160 operations on gdb.Value objects.
18161 * gdb.python/py-value-cc.exp: Add new test to test operations on
18162 gdb.Value objects.
18163
18164 2014-02-18 Doug Evans <dje@google.com>
18165
18166 * Makefile.in (TESTS): New variable.
18167 (expanded_tests, expanded_tests_or_none): New variables
18168 (check-single): Pass $(expanded_tests_or_none) to runtest.
18169 (check-parallel): Only run tests in $(TESTS) if non-empty.
18170 (check/no-matching-tests-found): New rule.
18171 * README: Document TESTS makefile variable.
18172
18173 2014-02-18 Doug Evans <dje@google.com>
18174
18175 * Makefile.in (check-parallel): rm -rf outputs temp.
18176
18177 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18178
18179 Fix "ERROR: no fileid for" in the testsuite.
18180 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
18181
18182 2014-02-12 Doug Evans <dje@google.com>
18183
18184 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
18185 (MISCELLANEOUS): New variable.
18186 (clean): rm -rf $(MISCELLANEOUS).
18187 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
18188 dwp live in the same directory as symlinks, with each symlink pointed
18189 to a differently named file in a different directory.
18190
18191 2014-02-11 Doug Evans <dje@google.com>
18192
18193 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
18194 of Tcl file commands.
18195
18196 2014-02-10 Mark Kettenis <kettenis@gnu.org>
18197
18198 * gdb.threads/step-after-sr-lock.exp: Avoid executing
18199 "kill -SIGUSR1 -1".
18200
18201 2014-02-10 Joel Brobecker <brobecker@adacore.com>
18202
18203 * gdb.ada/tick_length_array_enum_idx: New testcase.
18204
18205 2014-02-10 Doug Evans <xdje42@gmail.com>
18206
18207 * configure.ac (AC_OUTPUT): Add gdb.guile.
18208 * configure: Regenerate.
18209 * lib/gdb-guile.exp: New file.
18210 * lib/gdb.exp (get_target_charset): New function.
18211 * gdb.base/help.exp: Update expected output from "apropos apropos".
18212 * gdb.guile/Makefile.in: New file.
18213 * gdb.guile/guile.exp: New file.
18214 * gdb.guile/scm-arch.c: New file.
18215 * gdb.guile/scm-arch.exp: New file.
18216 * gdb.guile/scm-block.c: New file.
18217 * gdb.guile/scm-block.exp: New file.
18218 * gdb.guile/scm-breakpoint.c: New file.
18219 * gdb.guile/scm-breakpoint.exp: New file.
18220 * gdb.guile/scm-disasm.c: New file.
18221 * gdb.guile/scm-disasm.exp: New file.
18222 * gdb.guile/scm-equal.c: New file.
18223 * gdb.guile/scm-equal.exp: New file.
18224 * gdb.guile/scm-error.exp: New file.
18225 * gdb.guile/scm-error.scm: New file.
18226 * gdb.guile/scm-frame-args.c: New file.
18227 * gdb.guile/scm-frame-args.exp: New file.
18228 * gdb.guile/scm-frame-args.scm: New file.
18229 * gdb.guile/scm-frame-inline.c: New file.
18230 * gdb.guile/scm-frame-inline.exp: New file.
18231 * gdb.guile/scm-frame.c: New file.
18232 * gdb.guile/scm-frame.exp: New file.
18233 * gdb.guile/scm-generics.exp: New file.
18234 * gdb.guile/scm-gsmob.exp: New file.
18235 * gdb.guile/scm-iterator.c: New file.
18236 * gdb.guile/scm-iterator.exp: New file.
18237 * gdb.guile/scm-math.c: New file.
18238 * gdb.guile/scm-math.exp: New file.
18239 * gdb.guile/scm-objfile-script-gdb.in: New file.
18240 * gdb.guile/scm-objfile-script.c: New file.
18241 * gdb.guile/scm-objfile-script.exp: New file.
18242 * gdb.guile/scm-objfile.c: New file.
18243 * gdb.guile/scm-objfile.exp: New file.
18244 * gdb.guile/scm-ports.exp: New file.
18245 * gdb.guile/scm-pretty-print.c: New file.
18246 * gdb.guile/scm-pretty-print.exp: New file.
18247 * gdb.guile/scm-pretty-print.scm: New file.
18248 * gdb.guile/scm-section-script.c: New file.
18249 * gdb.guile/scm-section-script.exp: New file.
18250 * gdb.guile/scm-section-script.scm: New file.
18251 * gdb.guile/scm-symbol.c: New file.
18252 * gdb.guile/scm-symbol.exp: New file.
18253 * gdb.guile/scm-symtab-2.c: New file.
18254 * gdb.guile/scm-symtab.c: New file.
18255 * gdb.guile/scm-symtab.exp: New file.
18256 * gdb.guile/scm-type.c: New file.
18257 * gdb.guile/scm-type.exp: New file.
18258 * gdb.guile/scm-value-cc.cc: New file.
18259 * gdb.guile/scm-value-cc.exp: New file.
18260 * gdb.guile/scm-value.c: New file.
18261 * gdb.guile/scm-value.exp: New file.
18262 * gdb.guile/source2.scm: New file.
18263 * gdb.guile/types-module.cc: New file.
18264 * gdb.guile/types-module.exp: New file.
18265
18266 2014-02-10 Yao Qi <yao@codesourcery.com>
18267
18268 PR testsuite/16543
18269 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
18270 * configure: Regenerated.
18271 * Makefile.in: New file.
18272
18273 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
18274
18275 * gdb.python/py-framefilter.exp: Fix typo.
18276
18277 2014-02-08 Yao Qi <yao@codesourcery.com>
18278
18279 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
18280 that no =breakpoint-modified is emitted when breakpoints are
18281 modified through MI commands.
18282
18283 2014-02-07 Pedro Alves <pedro@codesourcery.com>
18284 Pedro Alves <palves@redhat.com>
18285
18286 * gdb.threads/step-after-sr-lock.c: New file.
18287 * gdb.threads/step-after-sr-lock.exp: New file.
18288
18289 2014-02-07 Pedro Alves <palves@redhat.com>
18290
18291 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
18292
18293 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
18294
18295 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
18296 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
18297
18298 2014-02-06 Doug Evans <xdje42@gmail.com>
18299
18300 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
18301 output.
18302
18303 * gdb.gdb/python-interrupts.exp: New file.
18304
18305 2014-02-05 Yao Qi <yao@codesourcery.com>
18306
18307 * gdb.trace/report.exp (use_collected_data): Test the output
18308 of "info threads" and "info inferiors".
18309
18310 2014-02-05 Yao Qi <yao@codesourcery.com>
18311
18312 Revert this patch:
18313
18314 2013-05-24 Yao Qi <yao@codesourcery.com>
18315
18316 * gdb.trace/tfile.exp: Test inferior and thread.
18317
18318 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18319
18320 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
18321 on a function.
18322 * gdb.base/step-bt.c: Call hello via function pointer to make
18323 sure its first instruction is executed on powerpc64le-linux.
18324
18325 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18326
18327 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
18328
18329 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18330
18331 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
18332 of the test patterns for use on little-endian systems.
18333
18334 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18335
18336 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
18337 (decimal_vector): Fix for little-endian.
18338
18339 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
18340
18341 * gdb.arch/sparc-sysstep.exp: New file.
18342 * gdb.arch/sparc-sysstep.c: Likewise.
18343
18344 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
18345
18346 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18347
18348 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
18349
18350 2014-01-23 Tom Tromey <tromey@redhat.com>
18351
18352 * gdb.ada/array_char_idx: New testcase.
18353
18354 2014-01-23 Tom Tromey <tromey@redhat.com>
18355
18356 PR python/16487:
18357 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
18358 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
18359 classes.
18360
18361 2014-01-23 Tom Tromey <tromey@redhat.com>
18362
18363 PR python/16491:
18364 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
18365 string from an inferior frame.
18366 * gdb.python/py-framefilter-mi.exp: Update.
18367
18368 2014-01-22 Doug Evans <dje@google.com>
18369
18370 * gdb.server/server-mon.exp: Add tests for "set debug-format".
18371
18372 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18373
18374 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
18375
18376 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18377
18378 * gdb.trace/entry-values.exp: Remove excess space character from
18379 regex patterns. Handle s390 call instruction.
18380
18381 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18382
18383 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
18384 define "*_start" label. Make "name" static.
18385 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
18386 ${name} by references to ${name}_start.
18387
18388 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18389
18390 * gdb.base/info-macros.exp: Remove "debug" from the compile
18391 options.
18392
18393 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
18394
18395 * gdb.dlang/demangle.exp: New file.
18396
18397 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
18398
18399 * gdb.dlang/primitive-types.exp: New file.
18400
18401 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
18402
18403 * configure.ac: Create gdb.dlang/Makefile.
18404 * configure: Regenerate.
18405 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
18406 * gdb.dlang/Makefile.in: New file.
18407 * lib/d-support.exp: New file.
18408 * lib/gdb.exp (skip_d_tests): New proc.
18409
18410 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18411
18412 * gdb.btrace/delta.exp: Check reverse stepi.
18413 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
18414 * gdb.btrace/finish.exp: New.
18415 * gdb.btrace/next.exp: New.
18416 * gdb.btrace/nexti.exp: New.
18417 * gdb.btrace/record_goto.c: Add comments.
18418 * gdb.btrace/step.exp: New.
18419 * gdb.btrace/stepi.exp: New.
18420 * gdb.btrace/multi-thread-step.c: New.
18421 * gdb.btrace/multi-thread-step.exp: New.
18422 * gdb.btrace/rn-dl-bind.c: New.
18423 * gdb.btrace/rn-dl-bind.exp: New.
18424 * gdb.btrace/data.c: New.
18425 * gdb.btrace/data.exp: New.
18426 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
18427
18428 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18429
18430 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
18431 * gdb.btrace/exception.exp: Update.
18432 * gdb.btrace/instruction_history.exp: Update.
18433 * gdb.btrace/record_goto.exp: Update.
18434 * gdb.btrace/tailcall.exp: Update.
18435 * gdb.btrace/unknown_functions.exp: Update.
18436 * gdb.btrace/delta.exp: New.
18437
18438 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18439
18440 * gdb.btrace/record_goto.exp: Add backtrace test.
18441 * gdb.btrace/tailcall.exp: Add backtrace test.
18442
18443 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18444
18445 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
18446 * gdb.btrace/record_goto.c: New.
18447 * gdb.btrace/record_goto.exp: New.
18448 * gdb.btrace/x86-record_goto.S: New.
18449
18450 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18451
18452 * gdb.btrace/function_call_history.exp: Update tests.
18453 * gdb.btrace/instruction_history.exp: Update tests.
18454
18455 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18456
18457 * gdb.btrace/function_call_history.exp: Fix expected field
18458 order for "record function-call-history".
18459 Add new tests for "record function-call-history /c".
18460 * gdb.btrace/exception.cc: New.
18461 * gdb.btrace/exception.exp: New.
18462 * gdb.btrace/tailcall.exp: New.
18463 * gdb.btrace/x86-tailcall.S: New.
18464 * gdb.btrace/x86-tailcall.c: New.
18465 * gdb.btrace/unknown_functions.c: New.
18466 * gdb.btrace/unknown_functions.exp: New.
18467 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
18468
18469 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18470
18471 * gdb.btrace/instruction_history.exp: Update.
18472 * gdb.btrace/function_call_history.exp: Update.
18473
18474 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18475
18476 * gdb.btrace/function_call_history.exp: Fix expected function
18477 trace.
18478 * gdb.btrace/instruction_history.exp: Initialize traced.
18479 Remove traced_functions.
18480
18481 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18482
18483 * gdb.btrace/function_call_history.exp: Update
18484 * gdb.btrace/instruction_history.exp: Update.
18485
18486 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18487
18488 * gdb.btrace/enable.exp: Update expected text.
18489
18490 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
18491
18492 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
18493 bytes.
18494
18495 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
18496
18497 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
18498
18499 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
18500
18501 * lib/gdb.exp (supports_process_record): Return true for
18502 arm*-linux*. (supports_reverse): Likewise.
18503
18504 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
18505
18506 PR python/15464
18507 PR python/16113
18508 * gdb.python/py-type.c: Enhance test case.
18509 * gdb.python/py-value-cc.cc: Likewise
18510 * gdb.python/py-type.exp: Add new tests.
18511 * gdb.python/py-value-cc.exp: Likewise
18512
18513 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
18514 Pedro Alves <palves@redhat.com>
18515
18516 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
18517 Make "name" extern.
18518 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
18519 references to ${name}_start by references to ${name}.
18520
18521 2014-01-10 Joel Brobecker <brobecker@adacore.com>
18522
18523 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
18524
18525 2014-01-10 Joel Brobecker <brobecker@adacore.com>
18526
18527 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
18528
18529 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
18530 Pedro Alves <palves@redhat.com>
18531
18532 * gdb.mi/mi-info-os.exp: Connect to the target with
18533 mi_gdb_target_load.
18534
18535 2014-01-08 Pedro Alves <palves@redhat.com>
18536
18537 * gdb.threads/reconnect-signal.c: New file.
18538 * gdb.threads/reconnect-signal.exp: New file.
18539
18540 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
18541
18542 * gdb.base/source-dir.exp: New file.
18543
18544 2014-01-07 Joel Brobecker <brobecker@adacore.com>
18545
18546 * gdb.ada/mi_interface: New testcase.
18547
18548 2014-01-07 Joel Brobecker <brobecker@adacore.com>
18549
18550 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
18551 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
18552 gdb.ada/pp-rec-component/pck.ads: New files.
18553
18554 2014-01-07 Joel Brobecker <brobecker@adacore.com>
18555
18556 * gdb.python/py-pp-integral.c: New file.
18557 * gdb.python/py-pp-integral.py: New file.
18558 * gdb.python/py-pp-integral.exp: New file.
18559
18560 For older changes see ChangeLog-1993-2013.
18561 \f
18562 ;; Local Variables:
18563 ;; mode: change-log
18564 ;; left-margin: 8
18565 ;; fill-column: 74
18566 ;; version-control: never
18567 ;; End:
18568
18569 Copyright 2014-2020 Free Software Foundation, Inc.
18570 Copying and distribution of this file, with or without modification,
18571 are permitted provided the copyright notice and this notice are preserved.
This page took 0.796685 seconds and 4 git commands to generate.