Enable gdb.base/inferior-died.exp on is_remote target boards
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2017-10-12 Pedro Alves <palves@redhat.com>
2 Simon Marchi <simon.marchi@polymtl.ca>
3
4 * gdb.base/inferior-died.exp: Remove is_remote and isnative
5 checks. Use build_executable + clean_restart instead of
6 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
7 of enabling non-stop after starting gdb.
8
9 2017-10-12 Pedro Alves <palves@redhat.com>
10
11 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
12 * gdb.threads/non-ldr-exc-2.exp: Ditto.
13 * gdb.threads/non-ldr-exc-3.exp: Ditto.
14 * gdb.threads/non-ldr-exc-4.exp: Ditto.
15
16 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
17
18 * gdb.arch/arc-tdesc-cpu.exp: New file.
19 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
20
21 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
22
23 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
24
25 2017-10-10 Pedro Alves <palves@redhat.com>
26
27 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
28 expect CLI output.
29
30 2017-10-10 Pedro Alves <palves@redhat.com>
31
32 * lib/selftest-support.exp (selftest_setup): Update for
33 captured_command_loop's prototype change.
34
35 2017-10-09 Pedro Alves <palves@redhat.com>
36
37 Test both arch1=>arch2 and arch2=>arch1.
38
39 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
40 (srcfile2, binfile2, march1, march2): Remove globals. Largely
41 factored out to...
42 (append_arch1_options, append_arch2_options, append_arch_options)
43 (build_executables): New procedures.
44 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
45 local.
46 (top level): Add new 'first_arch' testing axis.
47
48 2017-10-09 Pedro Alves <palves@redhat.com>
49
50 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
51 (barrier): New.
52 (thread_start, all_started): New functions.
53 (main): Spawn new thread and wait until it is scheduled.
54 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
55 option.
56 (do_test): Add 'selected_thread' parameter. Run to all_started
57 instead of main. Explicitly set the breakpoint at main. Switch
58 to the SELECTED_THREAD thread.
59 (top level): Test handling the exec event with either the main
60 thread or the second thread selected.
61
62 2017-10-09 Pedro Alves <palves@redhat.com>
63
64 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
65 logic. Move STOP marker after the value checks.
66 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
67 regexp.
68
69 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
70
71 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
72
73 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
74
75 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
76 integer-to-dfp conversion.
77 * gdb.base/dfp-test.exp: Likewise.
78
79 2017-10-04 Pedro Alves <palves@redhat.com>
80
81 * gdb.multi/hangout.c: Include <unistd.h>.
82 (hangout_loop): New function.
83 (main): Call alarm. Call hangout_loop in a loop.
84 * gdb.multi/hello.c: Include <unistd.h>.
85 (hello_loop): New function.
86 (main): Call alarm. Call hangout_loop in a loop.
87 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
88 inferior with the other selected.
89
90 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
91
92 * gdb.mi/list-thread-groups-available.exp: New file.
93 * gdb.mi/list-thread-groups-available.c: New file.
94
95 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
96
97 * gdb.base/set-cwd.exp: Make it available on
98 native-extended-gdbserver.
99
100 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
101
102 * gdb.base/set-cwd.c: New file.
103 * gdb.base/set-cwd.exp: Likewise.
104
105 2017-10-02 Tom Tromey <tom@tromey.com>
106
107 PR rust/22236:
108 * gdb.rust/simple.rs (main): New variable "fslice".
109 * gdb.rust/simple.exp: Add slice tests. Update string tests.
110
111 2017-10-02 Tom Tromey <tom@tromey.com>
112
113 * gdb.rust/simple.exp: Test ptype of a slice.
114
115 2017-10-02 Tom Tromey <tom@tromey.com>
116
117 * gdb.rust/simple.exp: Test index of slice.
118
119 2017-09-27 Tom Tromey <tom@tromey.com>
120
121 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
122
123 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
124 Pedro Alves <palves@redhat.com>
125
126 * gdb.base/compare-sections.exp (get value of read-only section): Read
127 as unsigned value.
128 (corrupt read-only section): Likewise and don't set written if patching
129 failed.
130
131 2017-09-21 Kevin Buettner <kevinb@redhat.com>
132
133 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
134 files.
135
136 2017-09-20 Pedro Alves <palves@redhat.com>
137
138 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
139 symbol names in gdb's output.
140 * gdb.cp/overload.exp ("list all overloads"): Likewise.
141
142 2017-09-20 Pedro Alves <palves@redhat.com>
143
144 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
145 Rename to ...
146 (test_list_ambiguous_symbol): ... this and add a symbol name
147 parameter. Adjust.
148 (test_list_ambiguous_function): Reimplement on top of
149 test_list_ambiguous_symbol and also test listing ambiguous
150 variables.
151 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
152 (ambiguous_fun): ... this.
153 (ambiguous_var): New.
154 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
155 (ambiguous_fun): ... this.
156 (ambiguous_var): New.
157
158 2017-09-19 John Baldwin <jhb@FreeBSD.org>
159
160 * gdb.base/starti.c: New file.
161 * gdb.base/starti.exp: New file.
162 * lib/gdb.exp (gdb_starti_cmd): New procedure.
163
164 2017-09-14 Pedro Alves <palves@redhat.com>
165
166 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
167 (top level): Use it instead of runto.
168
169 2017-09-11 Tom Tromey <tom@tromey.com>
170
171 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
172
173 2017-09-11 Tom Tromey <tom@tromey.com>
174
175 * gdb.python/py-infthread.exp: Add tests for new_thread event.
176 * gdb.python/py-inferior.exp: Add tests for new inferior events.
177
178 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
179
180 * gdb.fortran/printing-types.exp: New file.
181 * gdb.fortran/printing-types.exp: New file.
182
183 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
184
185 * gdb.fortran/vla-ptype.exp: Fix typos.
186 * gdb.fortran/vla-value.exp: Same.
187
188 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
189
190 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
191 * gdb.mi/mi-var-child-f.exp: Likewise.
192 * gdb.mi/mi-vla-fortran.exp: Likewise.
193
194 2017-09-08 Frank Penczek <frank.penczek@intel.com>
195 Christoph Weinmann <christoph.t.weinmann@intel.com>
196 Bernhard Heckel <bernhard.heckel@intel.com>
197
198 * gdb.fortran/ptr-indentation.f90: New file.
199 * gdb.fortran/ptr-indentation.exp: New file.
200
201 2017-09-05 Tom Tromey <tom@tromey.com>
202
203 PR gdb/22010:
204 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
205
206 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
207
208 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
209
210 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
211
212 * gdb.threads/tls-nodebug-pie.c: New file.
213 * gdb.threads/tls-nodebug-pie.exp: New file.
214
215 2017-09-05 Tom Tromey <tom@tromey.com>
216
217 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
218 for rust.
219
220 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
221
222 * gdb.multi/multi-arch-exec.exp: Test with different
223 "follow-exec-mode" settings.
224 (do_test): New procedure.
225
226 2017-09-04 Pedro Alves <palves@redhat.com>
227
228 * gdb.base/func-static.c (S::method const, S::method volatile)
229 (S::method volatile const): New methods.
230 (c_s, v_s, cv_s): New instances.
231 (main): Call method() on them.
232 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
233 (cannot_resolve): New procedure.
234 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
235 print-quote-unquoted columns.
236 (do_test): Test printing each scope too.
237
238 2017-09-04 Pedro Alves <palves@redhat.com>
239
240 * gdb.base/local-static.exp: Also test with
241 class::method::variable wholly quoted.
242 * gdb.cp/m-static.exp (class::method::variable): Remove test.
243
244 2017-09-04 Pedro Alves <palves@redhat.com>
245
246 * gdb.base/local-static.c: New.
247 * gdb.base/local-static.cc: New.
248 * gdb.base/local-static.exp: New.
249
250 2017-09-04 Pedro Alves <palves@redhat.com>
251
252 * gdb.asm/asm-source.exp: Add casts to int.
253 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
254 (dataglobal64_1, dataglobal64_2): New globals.
255 * gdb.base/nodebug.exp: Test different expressions involving the
256 new globals, with print, whatis and ptype. Add casts to int.
257 * gdb.base/solib-display.exp: Add casts to int.
258 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
259 * gdb.cp/m-static.exp: Add cast to int.
260 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
261 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
262 tls variable with no debug info without a cast. Test with a cast
263 to int too.
264 * gdb.trace/entry-values.exp: Add casts.
265
266 2017-09-04 Pedro Alves <palves@redhat.com>
267
268 * gdb.base/nodebug.exp: Test that ptype's error about functions
269 with unknown return type includes the function name too.
270
271 2017-09-04 Pedro Alves <palves@redhat.com>
272
273 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
274 return type of munmap in infcall.
275 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
276 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
277 type of ftell in infcall.
278 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
279 type of getpid in infcall.
280 * gdb.base/infcall-exec.exp: Cast return type of execlp in
281 infcall.
282 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
283 Bail on failure to extract the pid.
284 * gdb.base/nodebug.c: #include <stdint.h>.
285 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
286 New functions.
287 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
288 Change expected output of print/whatis/ptype with functions with
289 no debug info. Test all supported languages. Call
290 test_call_promotion.
291 * gdb.compile/compile.exp: Adjust expected output to expect
292 warning.
293 * gdb.threads/siginfo-threads.exp: Likewise.
294
295 2017-09-04 Pedro Alves <palves@redhat.com>
296
297 * gdb.base/callfuncs.exp (do_function_calls): New parameter
298 "prototypes". Test calling float functions via prototyped and
299 unprototyped function pointers.
300 (perform_all_tests): New parameter "prototypes". Pass it down.
301 (top level): Pass down "prototypes" parameter to
302 perform_all_tests.
303
304 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
305
306 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
307 Test with nested loops.
308
309 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
310
311 * gdb.base/commands.exp: Call the new procedures.
312 (loop_break_test, loop_continue_test): New procedures.
313
314 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
315
316 * gdb.base/commands.exp: Call new procedure.
317 (define_if_without_arg_test): New procedure.
318
319 2017-09-04 Pedro Alves <palves@redhat.com>
320
321 * gdb.base/list-ambiguous.exp: New file.
322 * gdb.base/list-ambiguous0.c: New file.
323 * gdb.base/list-ambiguous1.c: New file.
324 * gdb.base/list.exp (test_list_range): Adjust expected output.
325
326 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
327
328 * gdb.base/share-env-with-gdbserver.c: New file.
329 * gdb.base/share-env-with-gdbserver.exp: Likewise.
330
331 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
332
333 * gdb.base/commands.exp (gdbvar_simple_if_test,
334 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
335 progvar_simple_if_test, progvar_simple_while_test,
336 progvar_complex_if_while_test, user_defined_command_test,
337 user_defined_command_args_eval,
338 user_defined_command_args_stack_test,
339 user_defined_command_manyargs_test, bp_deleted_in_command_test,
340 temporary_breakpoint_commands,
341 gdb_test_no_prompt, redefine_hook_test,
342 redefine_backtrace_test): Remove "global gdb_prompt".
343
344 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
345
346 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
347 New proc, call it from toplevel.
348
349 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
350
351 PR remote/21852
352 * gdb.server/normal.c: New file, copied from gdb.base.
353 * gdb.server/run-without-local-binary.exp: New file.
354
355 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
356
357 * gdb.arch/sparc64-adi.exp: New file.
358 * gdb.arch/sparc64-adi.c: New file.
359
360 2017-08-22 Pedro Alves <palves@redhat.com>
361
362 * gdb.cp/overload.exp (line_range_pattern): New procedure.
363 (top level): Add "list all overloads" tests.
364
365 2017-08-22 Tom Tromey <tom@tromey.com>
366
367 * gdb.gdb/xfullpath.exp: Remove.
368
369 2017-08-21 Pedro Alves <palves@redhat.com>
370
371 PR gdb/19487
372 * gdb.base/symbol-alias.c: New.
373 * gdb.base/symbol-alias2.c: New.
374 * gdb.base/symbol-alias.exp: New.
375
376 2017-08-21 Pedro Alves <palves@redhat.com>
377
378 * gdb.base/dfp-test.c
379 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
380 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
381 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
382 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
383 * gdb.base/whatis-ptype-typedefs.c: New.
384 * gdb.base/whatis-ptype-typedefs.exp: New.
385 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
386 (an_int, an_int_type, an_int_type2): New globals.
387 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
388 involving typedefs and cast expressions.
389 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
390 (lookup_typedefs_function): New.
391 (typedefs_pretty_printers_dict): New.
392 (top level): Register lookup_typedefs_function in
393 gdb.pretty_printers.
394
395 2017-08-18 Yao Qi <yao.qi@linaro.org>
396
397 * gdb.server/unittest.exp: New.
398
399 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
400
401 PR gdb/21954
402 * gdb.base/environ.exp: Add test to check if 'unset environment'
403 works.
404
405 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
406
407 * lib/gdb.exp (universal_compile_options): New caching proc.
408 (gdb_compile): Suppress GCC's coloring of messages.
409
410 2017-08-14 Tom Tromey <tom@tromey.com>
411
412 PR gdb/21675:
413 * gdb.base/printcmds.exp (test_radices): New function.
414 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
415 * gdb.base/sizeof.exp (check_valueof): Use p/d.
416 * lib/gdb.exp (get_integer_valueof): Use p/d.
417
418 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
419
420 * lib/gdb.exp (get_valueof): Don't capture end-of-line
421 characters.
422
423 2017-08-05 Tom Tromey <tom@tromey.com>
424
425 * gdb.rust/simple.exp: Allow String to appear in a different
426 namespace.
427
428 2017-07-26 Yao Qi <yao.qi@linaro.org>
429
430 * gdb.gdb/unittest.exp: Invoke command
431 "maintenance check xml-descriptions".
432
433 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
434
435 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
436 calling context.
437 (hex128): Drop erroneous calculation of parameters.
438
439 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
440
441 * gdb.python/py-unwind.exp: Disable stack protection when
442 building test file.
443
444 2017-07-20 Pedro Alves <palves@redhat.com>
445
446 * gdb.base/default.exp (set language): Adjust expected output.
447
448 2017-07-20 Pedro Alves <palves@redhat.com>
449
450 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
451 (test_minsym): ... this, and make static.
452 (get_pck__foo__bar__minsym): Rename to ...
453 (get_test_minsym): ... this.
454 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
455 symbol names and comments.
456 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
457 (get_test_minsym): ... this.
458 (pck__foo__bar__minsym__2): Rename to ...
459 (test_minsym): ... this.
460 (main): Adjust.
461
462 2017-07-17 Pedro Alves <palves@redhat.com>
463
464 * gdb.base/completion.exp: Adjust expected output.
465 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
466 the completer works.
467
468 2017-07-17 Pedro Alves <palves@redhat.com>
469
470 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
471
472 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
473
474 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
475
476 2017-07-14 Tom Tromey <tom@tromey.com>
477
478 PR rust/21764:
479 * gdb.rust/simple.exp: Add tests.
480
481 2017-07-14 Tom Tromey <tom@tromey.com>
482
483 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
484
485 2017-07-14 Pedro Alves <palves@redhat.com>
486
487 * gdb.linespec/base/one/thefile.cc (z1): New function.
488 * gdb.linespec/base/two/thefile.cc (z2): New function.
489 * gdb.linespec/linespec.exp: Add tests.
490
491 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
492
493 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
494 to mi_create_breakpoint.
495
496 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
497
498 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
499 mi_create_breakpoint.
500
501 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
502
503 * gdb.dlang/demangle.exp: Update for demangling changes.
504
505 2017-07-09 Tom Tromey <tom@tromey.com>
506
507 * gdb.dwarf2/shortpiece.exp: New file.
508
509 2017-07-06 David Blaikie <dblaikie@gmail.com>
510
511 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
512 built from fissiont-multi-cu{1,2}.c.
513 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
514 except putting 'main' and 'func' in separate CUs in the same DWO file.
515 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
516 test.
517 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
518 test.
519
520 2017-07-06 Pedro Alves <palves@redhat.com>
521
522 * gdb.python/py-unwind.exp: Test flushregs.
523
524 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
525
526 PR cli/21688
527 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
528 tests for alias commands and trailing whitespace.
529
530 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
531
532 PR cli/21688
533 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
534 procedure. Call it.
535
536 2017-06-29 Pedro Alves <palves@redhat.com>
537
538 * gdb.base/printcmds.exp: Add tests.
539
540 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
541
542 PR gdb/21337
543 * gdb.base/reread-readsym.exp: New file.
544 * gdb.base/reread-readsym.c: New file.
545
546 2017-06-21 Kevin Buettner <kevinb@redhat.com>
547
548 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
549 subpattern.
550
551 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
552
553 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
554 extended mnemonic.
555 * gdb.arch/powerpc-power9.s: Likewise.
556
557 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
558
559 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
560 on 32-bit x86 targets. Exploit is_*_target macros where
561 appropriate.
562
563 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
564
565 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
566 register pieces.
567
568 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
569
570 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
571 located in one or more DWARF pieces.
572
573 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
574
575 * lib/gdb.exp (get_endianness): New proc.
576 * gdb.arch/aarch64-fp.exp: Use it.
577 * gdb.arch/altivec-regs.exp: Likewise.
578 * gdb.arch/e500-regs.exp: Likewise.
579 * gdb.arch/vsx-regs.exp: Likewise.
580 * gdb.base/dump.exp: Likewise.
581 * gdb.base/funcargs.exp: Likewise.
582 * gdb.base/gnu_vector.exp: Likewise.
583 * gdb.dwarf2/formdata16.exp: Likewise.
584 * gdb.dwarf2/implptrpiece.exp: Likewise.
585 * gdb.dwarf2/nonvar-access.exp: Likewise.
586 * gdb.python/py-inferior.exp: Likewise.
587 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
588
589 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
590
591 PR gdb/21226
592 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
593 stack value pieces are taken from the LSB end.
594
595 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
596
597 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
598 variable at nonzero offset.
599
600 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
601
602 * gdb.dwarf2/var-access.c: New file.
603 * gdb.dwarf2/var-access.exp: New test.
604 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
605
606 2017-06-12 Tom Tromey <tom@tromey.com>
607
608 * gdb.dwarf2/formdata16.exp: Add tests.
609
610 2017-06-12 Tom Tromey <tom@tromey.com>
611
612 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
613
614 2017-06-12 Tom Tromey <tom@tromey.com>
615
616 PR exp/16225:
617 * gdb.reverse/i386-sse-reverse.exp: Update tests.
618 * gdb.arch/vsx-regs.exp: Update tests.
619 * gdb.arch/s390-vregs.exp (hex128): New proc.
620 Update test.
621 * gdb.arch/altivec-regs.exp: Update tests.
622
623 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
624
625 * gdb.base/startup-with-shell.c: New file.
626 * gdb.base/startup-with-shell.exp: Likewise.
627
628 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
629
630 * gdb.server/non-existing-program.exp: Update regex in order to
631 reflect the fact that gdbserver is now using fork_inferior (with a
632 shell) to startup the inferior.
633
634 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
635
636 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
637 support function calls from GDB.
638
639 2017-05-21 Tom Tromey <tom@tromey.com>
640
641 PR rust/21466:
642 * gdb.rust/unsized.exp: New file.
643 * gdb.rust/unsized.rs: New file.
644
645 2017-05-19 Tom Tromey <tom@tromey.com>
646
647 PR rust/21484:
648 * gdb.rust/watch.exp: New file.
649 * gdb.rust/watch.rs: New file.
650
651 2017-05-18 Tom Tromey <tom@tromey.com>
652
653 * gdb.rust/simple.exp: Allow Box to be qualified.
654
655 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
656
657 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
658
659 2017-05-18 Pedro Alves <palves@redhat.com>
660
661 * gdb.base/fileio.c (test_write, test_read, test_close)
662 (test_fstat): Don't print 'ret' in the fail path.
663
664 2017-05-18 Pedro Alves <palves@redhat.com>
665
666 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
667 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
668 (test_system, test_rename, test_unlink, test_time): Change
669 prototypes.
670 * gdb.base/fileio.exp (stop_msg): Adjust.
671
672 2017-05-18 Pedro Alves <palves@redhat.com>
673
674 * gdb.base/fileio.c (null_str): New global.
675 (test_stat): Use it.
676 * gdb.base/fileio.exp: Remove nowarnings.
677
678 2017-05-17 Yao Qi <yao.qi@linaro.org>
679
680 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
681
682 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
683
684 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
685 argument command.
686 (top-level): Invoke test_set_inferior_tty.
687
688 2017-05-04 Pedro Alves <palves@redhat.com>
689
690 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
691 Add parens to print call for Python 3.
692
693 2017-05-03 Keith Seitz <keiths@redhat.com>
694
695 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
696 (main): Call it.
697
698 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
699
700 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
701 to prev and next.
702
703 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
704
705 * gdb.python/py-record-btrace.exp: Remove test for
706 gdb.BtraceInstruction.error.
707
708 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
709
710 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
711
712 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
713
714 * gdb.python/py-record-btrace-threads.c: New file.
715 * gdb.python/py-record-btrace-threads.exp: New file.
716
717 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
718
719 PR testsuite/8595
720 * gdb.base/environ.exp: Make test available in all architectures.
721 Move bits related to "info program" testing to
722 gdb.base/info-program.exp. Rewrite tests to use the two new
723 procedures mentione below.
724 (test_set_show_env_var) New procedure.
725 (test_set_show_env_var_equal): Likewise.
726 * gdb.base/info-program.exp: New file.
727
728 2017-04-27 Keith Seitz <keiths@redhat.com>
729
730 * gdb.cp/oranking.cc (test15): New function.
731 (main): Call test15 and declare additional variables for testing.
732 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
733 "p foo101('abc')" tests.
734 Add tests for cv qualifier overloads.
735 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
736 "lvalue reference overload" test.
737 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
738 "print value of f1 on Child&& in f2" test.
739
740 2017-04-19 Pedro Alves <palves@redhat.com>
741
742 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
743 procedure.
744 (top level): Call it.
745 * lib/gdb.exp (gdb_define_cmd): New procedure.
746
747 2017-04-12 Pedro Alves <palves@redhat.com>
748
749 PR gdb/21323
750 * gdb.cp/wide_char_types.c: Include <wchar.h>.
751 (wchar): New global.
752 * gdb.cp/wide_char_types.exp (wide_char_types_program)
753 (do_test_wide_char, wide_char_types_no_program, top level): Add
754 wchar_t testing.
755
756 2017-04-12 Pedro Alves <palves@redhat.com>
757
758 PR c++/21323
759 * gdb.cp/wide_char_types.c: New file.
760 * gdb.cp/wide_char_types.exp: New file.
761
762 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
763
764 PR gdb/21352
765 * gdb.trace/tsv.exp: Add test for "tsave -r".
766
767 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
768
769 * gdb.dlang/watch-loc.c: New file.
770 * gdb.dlang/watch-loc.exp: New file.
771
772 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
773
774 * gdb.python/py-section-script.exp (sepdebug): New testcases.
775
776 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
777
778 * gdb.arch/arc-analyze-prologue.S: New file.
779 * gdb.arch/arc-analyze-prologue.exp: Likewise.
780
781 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
782
783 * gdb.arch/arc-decode-insn.S: New file.
784 * gdb.arch/arc-decode-insn.exp: Likewise.
785
786 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
787
788 PR tdep/20928
789 * gdb.arch/sparc64-regs.exp: New file.
790 * gdb.arch/sparc64-regs.S: Likewise.
791
792 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
793
794 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
795 and memory view on Python 3.
796
797 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
798 Keith Seitz <keiths@redhat.com>
799
800 PR gdb/14441
801 * gdb.cp/demangle.exp: Add rvalue reference tests.
802 * gdb.cp/rvalue-ref-casts.cc: New file.
803 * gdb.cp/rvalue-ref-casts.exp: New file.
804 * gdb.cp/rvalue-ref-overload.cc: New file.
805 * gdb.cp/rvalue-ref-overload.exp: New file.
806 * gdb.cp/rvalue-ref-params.cc: New file.
807 * gdb.cp/rvalue-ref-params.exp: New file.
808 * gdb.cp/rvalue-ref-sizeof.cc: New file.
809 * gdb.cp/rvalue-ref-sizeof.exp: New file.
810 * gdb.cp/rvalue-ref-types.cc: New file.
811 * gdb.cp/rvalue-ref-types.exp: New file.
812 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
813 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
814
815 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
816
817 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
818 New procedure.
819
820 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
821
822 * lib/mi-support.exp (mi_gdb_test): Add additional message
823 for unexpected output.
824
825 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
826
827 * gdb.base/examine-backward.c (Barrier): New character array
828 constant, to ensure that TestStrings is preceded by a string
829 terminator.
830
831 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
832
833 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
834 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
835 and implicit pointer into such a location.
836
837 2017-03-16 Doug Evans <dje@google.com>
838
839 * gdb.python/py-lazy-string (pointer): Really add new typedef.
840
841 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
842
843 * gdb.cp/m-static.exp: Fix expectation for prototype of
844 test5.single_constructor and single_constructor::single_constructor.
845
846 2017-03-16 Doug Evans <dje@google.com>
847
848 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
849 * gdb.guile/scm-lazy-string.c: New file.
850 * gdb.guile/scm-value.exp: Move lazy string tests to ...
851 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
852 for pointer, array, typedef lazy strings.
853
854 2017-03-16 Doug Evans <dje@google.com>
855
856 PR python/17728, python/18439, python/18779
857 * gdb.python/py-value.c (main) Delete locals sptr, sn.
858 * gdb.python/py-lazy-string.c (pointer): New typedef.
859 (main): New locals ptr, array, typedef_ptr.
860 * gdb.python/py-value.exp: Move lazy string tests to ...
861 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
862 array, typedef lazy strings.
863
864 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
865
866 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
867 Add optional 'test' parameter.
868
869 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
870
871 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
872 Skip for versions of DejaGnu < 1.5.
873
874 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
875
876 * lib/gdb.exp (dejagnu_version): New proc.
877 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
878 Use dejagnu_version.
879
880 2017-03-10 Keith Seitz <keiths@redhat.com>
881
882 PR c++/8128
883 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
884 type from destructor regexps.
885 Add a branch which actually passes the test.
886 Adjust "ptype t5i" test names.
887
888 2017-03-08 Pedro Alves <palves@redhat.com>
889
890 * gdb.base/step-over-exit.exp: Add explicit test message.
891
892 2017-03-08 Pedro Alves <palves@redhat.com>
893
894 PR gdb/18360
895 * gdb.threads/interrupt-while-step-over.c: New file.
896 * gdb.threads/interrupt-while-step-over.exp: New file.
897
898 2017-03-08 Pedro Alves <palves@redhat.com>
899
900 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
901 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
902
903 2017-03-08 Pedro Alves <palves@redhat.com>
904
905 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
906 PKRU as not supported as a PASS.
907
908 2017-03-08 Pedro Alves <palves@redhat.com>
909
910 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
911 prefix instead of $binfile1/$binfile2.
912 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
913 in test message.
914 * gdb.python/py-completion.exp: Use "load python file" as test
915 messages instead of unstable path names.
916
917 2017-03-08 Pedro Alves <palves@redhat.com>
918 Jan Kratochvil <jan.kratochvil@redhat.com>
919
920 PR cli/21218
921 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
922 New proc.
923 (top level): Call it.
924
925 2017-03-08 Pedro Alves <palves@redhat.com>
926
927 PR tui/21216
928 * gdb.tui/tui-nl-filtered-output.exp: New file.
929
930 2017-03-08 Pedro Alves <palves@redhat.com>
931
932 * gdb.base/completion.exp: Move TUI completion tests to ...
933 * gdb.tui/completion.exp: ... this new file.
934
935 2017-03-08 Pedro Alves <palves@redhat.com>
936
937 * gdb.base/tui-disasm-long-lines.c,
938 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
939 gdb.base/tui-layout.exp: Move to ...
940 * gdb.tui/: ... this new directory.
941
942 2017-03-07 Pedro Alves <palves@redhat.com>
943
944 * gdb.base/tui-layout.c: New file.
945 * gdb.base/tui-layout.exp: New file.
946
947 2017-03-07 Pedro Alves <palves@redhat.com>
948
949 * gdb.base/tui-layout.c: Rename to ...
950 * gdb.base/tui-disasm-long-lines.c: ... this.
951 * gdb.base/tui-layout.exp: Rename to ...
952 * gdb.base/tui-disasm-long-lines.exp: ... this.
953
954 2017-03-07 Pedro Alves <palves@redhat.com>
955
956 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
957
958 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
959
960 * i386-mpx-call.c: New file.
961 * i386-mpx-call.exp: New file.
962
963 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
964
965 * gdb.arch/powerpc-power.exp: Delete test.
966 * gdb.arch/powerpc-power.s: Likewise.
967 * gdb.disasm/disassembler-options.exp: New test.
968 * gdb.arch/powerpc-altivec.exp: Likewise.
969 * gdb.arch/powerpc-altivec.s: Likewise.
970 * gdb.arch/powerpc-altivec2.exp: Likewise.
971 * gdb.arch/powerpc-altivec2.s: Likewise.
972 * gdb.arch/powerpc-altivec3.exp: Likewise.
973 * gdb.arch/powerpc-altivec3.s: Likewise.
974 * gdb.arch/powerpc-power7.exp: Likewise.
975 * gdb.arch/powerpc-power7.s: Likewise.
976 * gdb.arch/powerpc-power8.exp: Likewise.
977 * gdb.arch/powerpc-power8.s: Likewise.
978 * gdb.arch/powerpc-power9.exp: Likewise.
979 * gdb.arch/powerpc-power9.s: Likewise.
980 * gdb.arch/powerpc-vsx.exp: Likewise.
981 * gdb.arch/powerpc-vsx.s: Likewise.
982 * gdb.arch/powerpc-vsx2.exp: Likewise.
983 * gdb.arch/powerpc-vsx2.s: Likewise.
984 * gdb.arch/powerpc-vsx3.exp: Likewise.
985 * gdb.arch/powerpc-vsx3.s: Likewise.
986 * gdb.arch/arm-disassembler-options.exp: Likewise.
987 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
988 * gdb.arch/s390-disassembler-options.exp: Likewise.
989
990 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
991
992 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
993 (check_supported_features): ... this. Changed return type to void.
994 (supports_rdseed): New static global.
995 (rdseed): Check supports_rdseed.
996 (initialize): Call check_supported_features.
997
998 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
999
1000 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
1001 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
1002 and lqarx/stqcx.
1003 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
1004 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
1005
1006 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1007
1008 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
1009 uppercase.
1010
1011 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1012
1013 * gdb.dwarf2/formdata16.c: New file.
1014 * gdb.dwarf2/formdata16.exp: New file.
1015 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
1016
1017 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1018
1019 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
1020 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
1021 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
1022 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
1023 DW_AT_GNU_*.
1024
1025 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1026
1027 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
1028
1029 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
1030
1031 PR gdb/21164
1032 * gdb.base/maint.exp: Add testcases for when the commands do
1033 not have arguments.
1034
1035 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
1036
1037 * gdb.cp/chained-calls.exp: Use p instead of P.
1038
1039 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
1040
1041 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
1042 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
1043
1044 2017-02-14 Tom Tromey <tom@tromey.com>
1045
1046 PR python/13598:
1047 * gdb.python/py-events.exp: Add before_prompt event tests.
1048
1049 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
1050
1051 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
1052
1053 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
1054
1055 * gdb.linespec/explicit.c (my_unique_function_name): New function.
1056 (main): Call my_unique_function_name.
1057 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
1058 completion of patterns with a single match.
1059 Add missing -re switches to gdb_test_multiple calls.
1060
1061 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
1062
1063 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
1064 return if core file is not recognized.
1065
1066 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
1067
1068 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
1069 and extra UIs.
1070
1071 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
1072
1073 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
1074 proc_with_prefix.
1075
1076 2017-02-10 Tom Tromey <tom@tromey.com>
1077
1078 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
1079
1080 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
1081
1082 PR gdb/21122
1083 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
1084
1085 2017-02-08 Jerome Guitton <guitton@adacore.com>
1086
1087 * gdb.base/define.exp: Add test for command abbreviations
1088 in define.
1089
1090 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
1091
1092 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
1093 * gdb.reverse/insn-reverse-x86.c: New file.
1094
1095 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
1096
1097 PR tdep/20936
1098 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
1099
1100 2017-02-03 Tom Tromey <tom@tromey.com>
1101
1102 PR rust/21097:
1103 * gdb.rust/simple.exp: Add new tests.
1104
1105 2017-02-02 Pedro Alves <palves@redhat.com>
1106
1107 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
1108 tests.
1109
1110 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1111
1112 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
1113 taking a 2-byte value out of a 4-byte DWARF implicit value on
1114 big-endian targets.
1115 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
1116 logic. Add test cases for DW_OP_implicit.
1117
1118 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
1119
1120 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
1121
1122 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
1123
1124 * gdb.btrace/enable.exp: Call gdb_exit before
1125 skip_gdbserver_tests.
1126
1127 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
1128
1129 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
1130 GDBFLAGS.
1131
1132 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
1133
1134 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
1135 the test is skipped.
1136 * gdb.btrace/data.exp: Likewise.
1137 * gdb.btrace/delta.exp: Likewise.
1138 * gdb.btrace/dlopen.exp: Likewise.
1139 * gdb.btrace/enable-running.exp: Likewise.
1140 * gdb.btrace/enable.exp: Likewise.
1141 * gdb.btrace/exception.exp: Likewise.
1142 * gdb.btrace/function_call_history.exp: Likewise.
1143 * gdb.btrace/gcore.exp: Likewise.
1144 * gdb.btrace/instruction_history.exp: Likewise.
1145 * gdb.btrace/multi-thread-step.exp: Likewise.
1146 * gdb.btrace/nohist.exp: Likewise.
1147 * gdb.btrace/non-stop.exp: Likewise.
1148 * gdb.btrace/reconnect.exp: Likewise.
1149 * gdb.btrace/record_goto-step.exp: Likewise.
1150 * gdb.btrace/record_goto.exp: Likewise.
1151 * gdb.btrace/rn-dl-bind.exp: Likewise.
1152 * gdb.btrace/segv.exp: Likewise.
1153 * gdb.btrace/step.exp: Likewise.
1154 * gdb.btrace/stepi.exp: Likewise.
1155 * gdb.btrace/tailcall-only.exp: Likewise.
1156 * gdb.btrace/tailcall.exp: Likewise.
1157 * gdb.btrace/tsx.exp: Likewise.
1158 * gdb.btrace/unknown_functions.exp: Likewise.
1159 * gdb.btrace/vdso.exp: Likewise.
1160
1161 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
1162
1163 * gdb.btrace/enable-running.c: New.
1164 * gdb.btrace/enable-running.exp: New.
1165
1166 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
1167
1168 * gdb.arch/amd64-gs_base.c: New file.
1169 * gdb.arch/amd64-gs_base.exp: New file.
1170
1171 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
1172
1173 * lib/memory.exp: Remove spurious empty newlines.
1174
1175 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
1176
1177 * gdb.python/py-bad-printers.exp: Load python file using "source".
1178 * gdb.python/py-events.exp: Likewise.
1179 * gdb.python/py-evsignal.exp: Likewise.
1180 * gdb.python/py-evthreads.exp: Likewise.
1181 * gdb.python/py-frame-args.exp: Likewise.
1182 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
1183 * gdb.python/py-framefilter-mi.exp: Likewise.
1184 * gdb.python/py-framefilter.exp: Likewise.
1185 * gdb.python/py-mi.exp: Likewise.
1186 * gdb.python/py-pp-maint.exp: Likewise.
1187 * gdb.python/py-pp-registration.exp: Likewise.
1188 * gdb.python/py-prettyprint.exp: Likewise.
1189 (run_lang_tests): Likewise.
1190 * gdb.python/py-typeprint.exp: Likewise.
1191
1192 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
1193
1194 * lib/memory.exp: New file.
1195 * lib/gdb.exp: Load memory.exp.
1196 * gdb.base/memattr.exp (delete_memory): Move proc to
1197 lib/memory.exp and rename to delete_memory_regions.
1198 Replace delete_memory with delete_memory_regions.
1199 Cleanup memory regions before tests.
1200 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
1201 before tests.
1202
1203 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
1204
1205 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
1206 files.
1207 (initialize): New function conditionally defined.
1208 (testcases): Move within conditional block.
1209 (main): Call initialize.
1210 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
1211 of gdb.reverse/insn-reverse.c.
1212 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
1213 gdb.reverse/insn-reverse.c.
1214
1215 2017-01-26 Yao Qi <yao.qi@linaro.org>
1216
1217 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
1218 disassemble on address 0.
1219
1220 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
1221 Yao Qi <yao.qi@linaro.org>
1222
1223 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
1224 * gdb.dwarf2/implptr-64bit.S: Remove.
1225 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
1226 variables in caller's context. Add DW_OP_implicit_value.
1227
1228 2017-01-25 Yao Qi <yao.qi@linaro.org>
1229
1230 * lib/dwarf.exp (Dwarf::_location): Handle
1231 DW_OP_GNU_implicit_pointer with proper size.
1232
1233 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
1234
1235 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
1236 and add untested calls.
1237
1238 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
1239
1240 * gdb.python/python.exp: Check line number against what GDB thinks
1241 the line number is for func1.
1242
1243 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
1244
1245 * gdb.dlang/debug-expr.exp: New file.
1246
1247 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
1248
1249 Fix test names for the following files:
1250
1251 * gdb.ada/exec_changed.exp
1252 * gdb.ada/info_types.exp
1253 * gdb.arch/aarch64-atomic-inst.exp
1254 * gdb.arch/aarch64-fp.exp
1255 * gdb.arch/altivec-abi.exp
1256 * gdb.arch/altivec-regs.exp
1257 * gdb.arch/amd64-byte.exp
1258 * gdb.arch/amd64-disp-step.exp
1259 * gdb.arch/amd64-dword.exp
1260 * gdb.arch/amd64-entry-value-inline.exp
1261 * gdb.arch/amd64-entry-value-param.exp
1262 * gdb.arch/amd64-entry-value-paramref.exp
1263 * gdb.arch/amd64-entry-value.exp
1264 * gdb.arch/amd64-i386-address.exp
1265 * gdb.arch/amd64-invalid-stack-middle.exp
1266 * gdb.arch/amd64-invalid-stack-top.exp
1267 * gdb.arch/amd64-optimout-repeat.exp
1268 * gdb.arch/amd64-prologue-skip.exp
1269 * gdb.arch/amd64-prologue-xmm.exp
1270 * gdb.arch/amd64-stap-special-operands.exp
1271 * gdb.arch/amd64-stap-wrong-subexp.exp
1272 * gdb.arch/amd64-tailcall-cxx.exp
1273 * gdb.arch/amd64-tailcall-noret.exp
1274 * gdb.arch/amd64-tailcall-ret.exp
1275 * gdb.arch/amd64-tailcall-self.exp
1276 * gdb.arch/amd64-word.exp
1277 * gdb.arch/arm-bl-branch-dest.exp
1278 * gdb.arch/arm-disp-step.exp
1279 * gdb.arch/arm-neon.exp
1280 * gdb.arch/arm-single-step-kernel-helper.exp
1281 * gdb.arch/avr-flash-qualifier.exp
1282 * gdb.arch/disp-step-insn-reloc.exp
1283 * gdb.arch/e500-abi.exp
1284 * gdb.arch/e500-regs.exp
1285 * gdb.arch/ftrace-insn-reloc.exp
1286 * gdb.arch/i386-avx512.exp
1287 * gdb.arch/i386-bp_permanent.exp
1288 * gdb.arch/i386-byte.exp
1289 * gdb.arch/i386-cfi-notcurrent.exp
1290 * gdb.arch/i386-disp-step.exp
1291 * gdb.arch/i386-dr3-watch.exp
1292 * gdb.arch/i386-float.exp
1293 * gdb.arch/i386-gnu-cfi.exp
1294 * gdb.arch/i386-mpx-map.exp
1295 * gdb.arch/i386-mpx-sigsegv.exp
1296 * gdb.arch/i386-mpx-simple_segv.exp
1297 * gdb.arch/i386-mpx.exp
1298 * gdb.arch/i386-permbkpt.exp
1299 * gdb.arch/i386-prologue.exp
1300 * gdb.arch/i386-signal.exp
1301 * gdb.arch/i386-size-overlap.exp
1302 * gdb.arch/i386-unwind.exp
1303 * gdb.arch/i386-word.exp
1304 * gdb.arch/mips-fcr.exp
1305 * gdb.arch/powerpc-d128-regs.exp
1306 * gdb.arch/powerpc-stackless.exp
1307 * gdb.arch/ppc64-atomic-inst.exp
1308 * gdb.arch/s390-stackless.exp
1309 * gdb.arch/s390-tdbregs.exp
1310 * gdb.arch/s390-vregs.exp
1311 * gdb.arch/sparc-sysstep.exp
1312 * gdb.arch/thumb-bx-pc.exp
1313 * gdb.arch/thumb-singlestep.exp
1314 * gdb.arch/thumb2-it.exp
1315 * gdb.arch/vsx-regs.exp
1316 * gdb.asm/asm-source.exp
1317 * gdb.base/a2-run.exp
1318 * gdb.base/advance.exp
1319 * gdb.base/all-bin.exp
1320 * gdb.base/anon.exp
1321 * gdb.base/args.exp
1322 * gdb.base/arithmet.exp
1323 * gdb.base/async-shell.exp
1324 * gdb.base/async.exp
1325 * gdb.base/attach-pie-noexec.exp
1326 * gdb.base/attach-twice.exp
1327 * gdb.base/auto-load.exp
1328 * gdb.base/bang.exp
1329 * gdb.base/bitfields.exp
1330 * gdb.base/break-always.exp
1331 * gdb.base/break-caller-line.exp
1332 * gdb.base/break-entry.exp
1333 * gdb.base/break-inline.exp
1334 * gdb.base/break-on-linker-gcd-function.exp
1335 * gdb.base/break-probes.exp
1336 * gdb.base/break.exp
1337 * gdb.base/breakpoint-shadow.exp
1338 * gdb.base/call-ar-st.exp
1339 * gdb.base/call-sc.exp
1340 * gdb.base/call-signal-resume.exp
1341 * gdb.base/call-strs.exp
1342 * gdb.base/callfuncs.exp
1343 * gdb.base/catch-fork-static.exp
1344 * gdb.base/catch-gdb-caused-signals.exp
1345 * gdb.base/catch-load.exp
1346 * gdb.base/catch-signal-fork.exp
1347 * gdb.base/catch-signal.exp
1348 * gdb.base/catch-syscall.exp
1349 * gdb.base/charset.exp
1350 * gdb.base/checkpoint.exp
1351 * gdb.base/chng-syms.exp
1352 * gdb.base/code-expr.exp
1353 * gdb.base/code_elim.exp
1354 * gdb.base/commands.exp
1355 * gdb.base/completion.exp
1356 * gdb.base/complex.exp
1357 * gdb.base/cond-expr.exp
1358 * gdb.base/condbreak.exp
1359 * gdb.base/consecutive.exp
1360 * gdb.base/continue-all-already-running.exp
1361 * gdb.base/coredump-filter.exp
1362 * gdb.base/corefile.exp
1363 * gdb.base/dbx.exp
1364 * gdb.base/debug-expr.exp
1365 * gdb.base/define.exp
1366 * gdb.base/del.exp
1367 * gdb.base/disabled-location.exp
1368 * gdb.base/disasm-end-cu.exp
1369 * gdb.base/disasm-optim.exp
1370 * gdb.base/display.exp
1371 * gdb.base/duplicate-bp.exp
1372 * gdb.base/ena-dis-br.exp
1373 * gdb.base/ending-run.exp
1374 * gdb.base/enumval.exp
1375 * gdb.base/environ.exp
1376 * gdb.base/eu-strip-infcall.exp
1377 * gdb.base/eval-avoid-side-effects.exp
1378 * gdb.base/eval-skip.exp
1379 * gdb.base/exitsignal.exp
1380 * gdb.base/expand-psymtabs.exp
1381 * gdb.base/filesym.exp
1382 * gdb.base/find-unmapped.exp
1383 * gdb.base/finish.exp
1384 * gdb.base/float.exp
1385 * gdb.base/foll-exec-mode.exp
1386 * gdb.base/foll-exec.exp
1387 * gdb.base/foll-fork.exp
1388 * gdb.base/fortran-sym-case.exp
1389 * gdb.base/freebpcmd.exp
1390 * gdb.base/func-ptr.exp
1391 * gdb.base/func-ptrs.exp
1392 * gdb.base/funcargs.exp
1393 * gdb.base/gcore-buffer-overflow.exp
1394 * gdb.base/gcore-relro-pie.exp
1395 * gdb.base/gcore-relro.exp
1396 * gdb.base/gcore.exp
1397 * gdb.base/gdb1090.exp
1398 * gdb.base/gdb11530.exp
1399 * gdb.base/gdb11531.exp
1400 * gdb.base/gdb1821.exp
1401 * gdb.base/gdbindex-stabs.exp
1402 * gdb.base/gdbvars.exp
1403 * gdb.base/hbreak.exp
1404 * gdb.base/hbreak2.exp
1405 * gdb.base/included.exp
1406 * gdb.base/infcall-input.exp
1407 * gdb.base/inferior-died.exp
1408 * gdb.base/infnan.exp
1409 * gdb.base/info-macros.exp
1410 * gdb.base/info-os.exp
1411 * gdb.base/info-proc.exp
1412 * gdb.base/info-shared.exp
1413 * gdb.base/info-target.exp
1414 * gdb.base/infoline.exp
1415 * gdb.base/interp.exp
1416 * gdb.base/interrupt.exp
1417 * gdb.base/jit-reader.exp
1418 * gdb.base/jit-simple.exp
1419 * gdb.base/kill-after-signal.exp
1420 * gdb.base/kill-detach-inferiors-cmd.exp
1421 * gdb.base/label.exp
1422 * gdb.base/langs.exp
1423 * gdb.base/ldbl_e308.exp
1424 * gdb.base/line-symtabs.exp
1425 * gdb.base/linespecs.exp
1426 * gdb.base/list.exp
1427 * gdb.base/long_long.exp
1428 * gdb.base/longest-types.exp
1429 * gdb.base/maint.exp
1430 * gdb.base/max-value-size.exp
1431 * gdb.base/memattr.exp
1432 * gdb.base/mips_pro.exp
1433 * gdb.base/morestack.exp
1434 * gdb.base/moribund-step.exp
1435 * gdb.base/multi-forks.exp
1436 * gdb.base/nested-addr.exp
1437 * gdb.base/nextoverexit.exp
1438 * gdb.base/noreturn-finish.exp
1439 * gdb.base/noreturn-return.exp
1440 * gdb.base/nostdlib.exp
1441 * gdb.base/offsets.exp
1442 * gdb.base/opaque.exp
1443 * gdb.base/pc-fp.exp
1444 * gdb.base/permissions.exp
1445 * gdb.base/print-symbol-loading.exp
1446 * gdb.base/prologue-include.exp
1447 * gdb.base/psymtab.exp
1448 * gdb.base/ptype.exp
1449 * gdb.base/random-signal.exp
1450 * gdb.base/randomize.exp
1451 * gdb.base/range-stepping.exp
1452 * gdb.base/readline-ask.exp
1453 * gdb.base/recpar.exp
1454 * gdb.base/recurse.exp
1455 * gdb.base/relational.exp
1456 * gdb.base/restore.exp
1457 * gdb.base/return-nodebug.exp
1458 * gdb.base/return.exp
1459 * gdb.base/run-after-attach.exp
1460 * gdb.base/save-bp.exp
1461 * gdb.base/scope.exp
1462 * gdb.base/sect-cmd.exp
1463 * gdb.base/set-lang-auto.exp
1464 * gdb.base/set-noassign.exp
1465 * gdb.base/setvar.exp
1466 * gdb.base/sigall.exp
1467 * gdb.base/sigbpt.exp
1468 * gdb.base/siginfo-addr.exp
1469 * gdb.base/siginfo-infcall.exp
1470 * gdb.base/siginfo-obj.exp
1471 * gdb.base/siginfo.exp
1472 * gdb.base/signals-state-child.exp
1473 * gdb.base/signest.exp
1474 * gdb.base/sigstep.exp
1475 * gdb.base/sizeof.exp
1476 * gdb.base/skip.exp
1477 * gdb.base/solib-corrupted.exp
1478 * gdb.base/solib-nodir.exp
1479 * gdb.base/solib-search.exp
1480 * gdb.base/stack-checking.exp
1481 * gdb.base/stale-infcall.exp
1482 * gdb.base/stap-probe.exp
1483 * gdb.base/start.exp
1484 * gdb.base/step-break.exp
1485 * gdb.base/step-bt.exp
1486 * gdb.base/step-line.exp
1487 * gdb.base/step-over-exit.exp
1488 * gdb.base/step-over-syscall.exp
1489 * gdb.base/step-resume-infcall.exp
1490 * gdb.base/step-test.exp
1491 * gdb.base/store.exp
1492 * gdb.base/structs3.exp
1493 * gdb.base/sym-file.exp
1494 * gdb.base/symbol-without-target_section.exp
1495 * gdb.base/term.exp
1496 * gdb.base/testenv.exp
1497 * gdb.base/ui-redirect.exp
1498 * gdb.base/until.exp
1499 * gdb.base/unwindonsignal.exp
1500 * gdb.base/value-double-free.exp
1501 * gdb.base/vla-datatypes.exp
1502 * gdb.base/vla-ptr.exp
1503 * gdb.base/vla-sideeffect.exp
1504 * gdb.base/volatile.exp
1505 * gdb.base/watch-cond-infcall.exp
1506 * gdb.base/watch-cond.exp
1507 * gdb.base/watch-non-mem.exp
1508 * gdb.base/watch-read.exp
1509 * gdb.base/watch-vfork.exp
1510 * gdb.base/watchpoint-cond-gone.exp
1511 * gdb.base/watchpoint-delete.exp
1512 * gdb.base/watchpoint-hw-hit-once.exp
1513 * gdb.base/watchpoint-hw.exp
1514 * gdb.base/watchpoint-stops-at-right-insn.exp
1515 * gdb.base/watchpoints.exp
1516 * gdb.base/wchar.exp
1517 * gdb.base/whatis-exp.exp
1518 * gdb.btrace/buffer-size.exp
1519 * gdb.btrace/data.exp
1520 * gdb.btrace/delta.exp
1521 * gdb.btrace/dlopen.exp
1522 * gdb.btrace/enable.exp
1523 * gdb.btrace/exception.exp
1524 * gdb.btrace/function_call_history.exp
1525 * gdb.btrace/gcore.exp
1526 * gdb.btrace/instruction_history.exp
1527 * gdb.btrace/nohist.exp
1528 * gdb.btrace/reconnect.exp
1529 * gdb.btrace/record_goto-step.exp
1530 * gdb.btrace/record_goto.exp
1531 * gdb.btrace/rn-dl-bind.exp
1532 * gdb.btrace/segv.exp
1533 * gdb.btrace/step.exp
1534 * gdb.btrace/stepi.exp
1535 * gdb.btrace/tailcall-only.exp
1536 * gdb.btrace/tailcall.exp
1537 * gdb.btrace/tsx.exp
1538 * gdb.btrace/unknown_functions.exp
1539 * gdb.btrace/vdso.exp
1540 * gdb.compile/compile-ifunc.exp
1541 * gdb.compile/compile-ops.exp
1542 * gdb.compile/compile-print.exp
1543 * gdb.compile/compile-setjmp.exp
1544 * gdb.cp/abstract-origin.exp
1545 * gdb.cp/ambiguous.exp
1546 * gdb.cp/annota2.exp
1547 * gdb.cp/annota3.exp
1548 * gdb.cp/anon-ns.exp
1549 * gdb.cp/anon-struct.exp
1550 * gdb.cp/anon-union.exp
1551 * gdb.cp/arg-reference.exp
1552 * gdb.cp/baseenum.exp
1553 * gdb.cp/bool.exp
1554 * gdb.cp/breakpoint.exp
1555 * gdb.cp/bs15503.exp
1556 * gdb.cp/call-c.exp
1557 * gdb.cp/casts.exp
1558 * gdb.cp/chained-calls.exp
1559 * gdb.cp/class2.exp
1560 * gdb.cp/classes.exp
1561 * gdb.cp/cmpd-minsyms.exp
1562 * gdb.cp/converts.exp
1563 * gdb.cp/cp-relocate.exp
1564 * gdb.cp/cpcompletion.exp
1565 * gdb.cp/cpexprs.exp
1566 * gdb.cp/cplabel.exp
1567 * gdb.cp/cplusfuncs.exp
1568 * gdb.cp/cpsizeof.exp
1569 * gdb.cp/ctti.exp
1570 * gdb.cp/derivation.exp
1571 * gdb.cp/destrprint.exp
1572 * gdb.cp/dispcxx.exp
1573 * gdb.cp/enum-class.exp
1574 * gdb.cp/exception.exp
1575 * gdb.cp/exceptprint.exp
1576 * gdb.cp/expand-psymtabs-cxx.exp
1577 * gdb.cp/expand-sals.exp
1578 * gdb.cp/extern-c.exp
1579 * gdb.cp/filename.exp
1580 * gdb.cp/formatted-ref.exp
1581 * gdb.cp/fpointer.exp
1582 * gdb.cp/gdb1355.exp
1583 * gdb.cp/gdb2495.exp
1584 * gdb.cp/hang.exp
1585 * gdb.cp/impl-this.exp
1586 * gdb.cp/infcall-dlopen.exp
1587 * gdb.cp/inherit.exp
1588 * gdb.cp/iostream.exp
1589 * gdb.cp/koenig.exp
1590 * gdb.cp/local.exp
1591 * gdb.cp/m-data.exp
1592 * gdb.cp/m-static.exp
1593 * gdb.cp/mb-ctor.exp
1594 * gdb.cp/mb-inline.exp
1595 * gdb.cp/mb-templates.exp
1596 * gdb.cp/member-name.exp
1597 * gdb.cp/member-ptr.exp
1598 * gdb.cp/meth-typedefs.exp
1599 * gdb.cp/method.exp
1600 * gdb.cp/method2.exp
1601 * gdb.cp/minsym-fallback.exp
1602 * gdb.cp/misc.exp
1603 * gdb.cp/namelessclass.exp
1604 * gdb.cp/namespace-enum.exp
1605 * gdb.cp/namespace-nested-import.exp
1606 * gdb.cp/namespace.exp
1607 * gdb.cp/nextoverthrow.exp
1608 * gdb.cp/no-dmgl-verbose.exp
1609 * gdb.cp/non-trivial-retval.exp
1610 * gdb.cp/noparam.exp
1611 * gdb.cp/nsdecl.exp
1612 * gdb.cp/nsimport.exp
1613 * gdb.cp/nsnested.exp
1614 * gdb.cp/nsnoimports.exp
1615 * gdb.cp/nsrecurs.exp
1616 * gdb.cp/nsstress.exp
1617 * gdb.cp/nsusing.exp
1618 * gdb.cp/operator.exp
1619 * gdb.cp/oranking.exp
1620 * gdb.cp/overload-const.exp
1621 * gdb.cp/overload.exp
1622 * gdb.cp/ovldbreak.exp
1623 * gdb.cp/ovsrch.exp
1624 * gdb.cp/paren-type.exp
1625 * gdb.cp/parse-lang.exp
1626 * gdb.cp/pass-by-ref.exp
1627 * gdb.cp/pr-1023.exp
1628 * gdb.cp/pr-1210.exp
1629 * gdb.cp/pr-574.exp
1630 * gdb.cp/pr10687.exp
1631 * gdb.cp/pr12028.exp
1632 * gdb.cp/pr17132.exp
1633 * gdb.cp/pr17494.exp
1634 * gdb.cp/pr9067.exp
1635 * gdb.cp/pr9167.exp
1636 * gdb.cp/pr9631.exp
1637 * gdb.cp/printmethod.exp
1638 * gdb.cp/psmang.exp
1639 * gdb.cp/psymtab-parameter.exp
1640 * gdb.cp/ptype-cv-cp.exp
1641 * gdb.cp/ptype-flags.exp
1642 * gdb.cp/re-set-overloaded.exp
1643 * gdb.cp/ref-types.exp
1644 * gdb.cp/rtti.exp
1645 * gdb.cp/scope-err.exp
1646 * gdb.cp/shadow.exp
1647 * gdb.cp/smartp.exp
1648 * gdb.cp/static-method.exp
1649 * gdb.cp/static-print-quit.exp
1650 * gdb.cp/temargs.exp
1651 * gdb.cp/templates.exp
1652 * gdb.cp/try_catch.exp
1653 * gdb.cp/typedef-operator.exp
1654 * gdb.cp/typeid.exp
1655 * gdb.cp/userdef.exp
1656 * gdb.cp/using-crash.exp
1657 * gdb.cp/var-tag.exp
1658 * gdb.cp/virtbase.exp
1659 * gdb.cp/virtfunc.exp
1660 * gdb.cp/virtfunc2.exp
1661 * gdb.cp/vla-cxx.exp
1662 * gdb.disasm/t01_mov.exp
1663 * gdb.disasm/t02_mova.exp
1664 * gdb.disasm/t03_add.exp
1665 * gdb.disasm/t04_sub.exp
1666 * gdb.disasm/t05_cmp.exp
1667 * gdb.disasm/t06_ari2.exp
1668 * gdb.disasm/t07_ari3.exp
1669 * gdb.disasm/t08_or.exp
1670 * gdb.disasm/t09_xor.exp
1671 * gdb.disasm/t10_and.exp
1672 * gdb.disasm/t11_logs.exp
1673 * gdb.disasm/t12_bit.exp
1674 * gdb.disasm/t13_otr.exp
1675 * gdb.dlang/circular.exp
1676 * gdb.dwarf2/arr-stride.exp
1677 * gdb.dwarf2/arr-subrange.exp
1678 * gdb.dwarf2/atomic-type.exp
1679 * gdb.dwarf2/bad-regnum.exp
1680 * gdb.dwarf2/bitfield-parent-optimized-out.exp
1681 * gdb.dwarf2/callframecfa.exp
1682 * gdb.dwarf2/clztest.exp
1683 * gdb.dwarf2/corrupt.exp
1684 * gdb.dwarf2/data-loc.exp
1685 * gdb.dwarf2/dup-psym.exp
1686 * gdb.dwarf2/dw2-anon-mptr.exp
1687 * gdb.dwarf2/dw2-anonymous-func.exp
1688 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
1689 * gdb.dwarf2/dw2-bad-unresolved.exp
1690 * gdb.dwarf2/dw2-basic.exp
1691 * gdb.dwarf2/dw2-canonicalize-type.exp
1692 * gdb.dwarf2/dw2-case-insensitive.exp
1693 * gdb.dwarf2/dw2-common-block.exp
1694 * gdb.dwarf2/dw2-compdir-oldgcc.exp
1695 * gdb.dwarf2/dw2-compressed.exp
1696 * gdb.dwarf2/dw2-const.exp
1697 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
1698 * gdb.dwarf2/dw2-cu-size.exp
1699 * gdb.dwarf2/dw2-dup-frame.exp
1700 * gdb.dwarf2/dw2-entry-value.exp
1701 * gdb.dwarf2/dw2-icycle.exp
1702 * gdb.dwarf2/dw2-ifort-parameter.exp
1703 * gdb.dwarf2/dw2-inline-break.exp
1704 * gdb.dwarf2/dw2-inline-param.exp
1705 * gdb.dwarf2/dw2-intercu.exp
1706 * gdb.dwarf2/dw2-intermix.exp
1707 * gdb.dwarf2/dw2-lexical-block-bare.exp
1708 * gdb.dwarf2/dw2-linkage-name-trust.exp
1709 * gdb.dwarf2/dw2-minsym-in-cu.exp
1710 * gdb.dwarf2/dw2-noloc.exp
1711 * gdb.dwarf2/dw2-op-call.exp
1712 * gdb.dwarf2/dw2-op-out-param.exp
1713 * gdb.dwarf2/dw2-opt-structptr.exp
1714 * gdb.dwarf2/dw2-param-error.exp
1715 * gdb.dwarf2/dw2-producer.exp
1716 * gdb.dwarf2/dw2-ranges-base.exp
1717 * gdb.dwarf2/dw2-ref-missing-frame.exp
1718 * gdb.dwarf2/dw2-reg-undefined.exp
1719 * gdb.dwarf2/dw2-regno-invalid.exp
1720 * gdb.dwarf2/dw2-restore.exp
1721 * gdb.dwarf2/dw2-restrict.exp
1722 * gdb.dwarf2/dw2-single-line-discriminators.exp
1723 * gdb.dwarf2/dw2-strp.exp
1724 * gdb.dwarf2/dw2-undefined-ret-addr.exp
1725 * gdb.dwarf2/dw2-unresolved.exp
1726 * gdb.dwarf2/dw2-var-zero-addr.exp
1727 * gdb.dwarf2/dw4-sig-types.exp
1728 * gdb.dwarf2/dwz.exp
1729 * gdb.dwarf2/dynarr-ptr.exp
1730 * gdb.dwarf2/enum-type.exp
1731 * gdb.dwarf2/gdb-index.exp
1732 * gdb.dwarf2/implptr-64bit.exp
1733 * gdb.dwarf2/implptr-optimized-out.exp
1734 * gdb.dwarf2/implptr.exp
1735 * gdb.dwarf2/implref-array.exp
1736 * gdb.dwarf2/implref-const.exp
1737 * gdb.dwarf2/implref-global.exp
1738 * gdb.dwarf2/implref-struct.exp
1739 * gdb.dwarf2/mac-fileno.exp
1740 * gdb.dwarf2/main-subprogram.exp
1741 * gdb.dwarf2/member-ptr-forwardref.exp
1742 * gdb.dwarf2/method-ptr.exp
1743 * gdb.dwarf2/missing-sig-type.exp
1744 * gdb.dwarf2/nonvar-access.exp
1745 * gdb.dwarf2/opaque-type-lookup.exp
1746 * gdb.dwarf2/pieces-optimized-out.exp
1747 * gdb.dwarf2/pieces.exp
1748 * gdb.dwarf2/pr10770.exp
1749 * gdb.dwarf2/pr13961.exp
1750 * gdb.dwarf2/staticvirtual.exp
1751 * gdb.dwarf2/subrange.exp
1752 * gdb.dwarf2/symtab-producer.exp
1753 * gdb.dwarf2/trace-crash.exp
1754 * gdb.dwarf2/typeddwarf.exp
1755 * gdb.dwarf2/valop.exp
1756 * gdb.dwarf2/watch-notconst.exp
1757 * gdb.fortran/array-element.exp
1758 * gdb.fortran/charset.exp
1759 * gdb.fortran/common-block.exp
1760 * gdb.fortran/complex.exp
1761 * gdb.fortran/derived-type-function.exp
1762 * gdb.fortran/derived-type.exp
1763 * gdb.fortran/logical.exp
1764 * gdb.fortran/module.exp
1765 * gdb.fortran/multi-dim.exp
1766 * gdb.fortran/nested-funcs.exp
1767 * gdb.fortran/print-formatted.exp
1768 * gdb.fortran/subarray.exp
1769 * gdb.fortran/vla-alloc-assoc.exp
1770 * gdb.fortran/vla-datatypes.exp
1771 * gdb.fortran/vla-history.exp
1772 * gdb.fortran/vla-ptr-info.exp
1773 * gdb.fortran/vla-ptype-sub.exp
1774 * gdb.fortran/vla-ptype.exp
1775 * gdb.fortran/vla-sizeof.exp
1776 * gdb.fortran/vla-type.exp
1777 * gdb.fortran/vla-value-sub-arbitrary.exp
1778 * gdb.fortran/vla-value-sub-finish.exp
1779 * gdb.fortran/vla-value-sub.exp
1780 * gdb.fortran/vla-value.exp
1781 * gdb.fortran/whatis_type.exp
1782 * gdb.go/chan.exp
1783 * gdb.go/handcall.exp
1784 * gdb.go/hello.exp
1785 * gdb.go/integers.exp
1786 * gdb.go/methods.exp
1787 * gdb.go/package.exp
1788 * gdb.go/strings.exp
1789 * gdb.go/types.exp
1790 * gdb.go/unsafe.exp
1791 * gdb.guile/scm-arch.exp
1792 * gdb.guile/scm-block.exp
1793 * gdb.guile/scm-breakpoint.exp
1794 * gdb.guile/scm-cmd.exp
1795 * gdb.guile/scm-disasm.exp
1796 * gdb.guile/scm-equal.exp
1797 * gdb.guile/scm-frame-args.exp
1798 * gdb.guile/scm-frame-inline.exp
1799 * gdb.guile/scm-frame.exp
1800 * gdb.guile/scm-iterator.exp
1801 * gdb.guile/scm-math.exp
1802 * gdb.guile/scm-objfile.exp
1803 * gdb.guile/scm-ports.exp
1804 * gdb.guile/scm-symbol.exp
1805 * gdb.guile/scm-symtab.exp
1806 * gdb.guile/scm-value-cc.exp
1807 * gdb.guile/types-module.exp
1808 * gdb.linespec/break-ask.exp
1809 * gdb.linespec/cpexplicit.exp
1810 * gdb.linespec/explicit.exp
1811 * gdb.linespec/keywords.exp
1812 * gdb.linespec/linespec.exp
1813 * gdb.linespec/ls-dollar.exp
1814 * gdb.linespec/ls-errs.exp
1815 * gdb.linespec/skip-two.exp
1816 * gdb.linespec/thread.exp
1817 * gdb.mi/mi-async.exp
1818 * gdb.mi/mi-basics.exp
1819 * gdb.mi/mi-break.exp
1820 * gdb.mi/mi-catch-load.exp
1821 * gdb.mi/mi-cli.exp
1822 * gdb.mi/mi-cmd-param-changed.exp
1823 * gdb.mi/mi-console.exp
1824 * gdb.mi/mi-detach.exp
1825 * gdb.mi/mi-disassemble.exp
1826 * gdb.mi/mi-eval.exp
1827 * gdb.mi/mi-file-transfer.exp
1828 * gdb.mi/mi-file.exp
1829 * gdb.mi/mi-fill-memory.exp
1830 * gdb.mi/mi-inheritance-syntax-error.exp
1831 * gdb.mi/mi-linespec-err-cp.exp
1832 * gdb.mi/mi-logging.exp
1833 * gdb.mi/mi-memory-changed.exp
1834 * gdb.mi/mi-read-memory.exp
1835 * gdb.mi/mi-record-changed.exp
1836 * gdb.mi/mi-reg-undefined.exp
1837 * gdb.mi/mi-regs.exp
1838 * gdb.mi/mi-return.exp
1839 * gdb.mi/mi-reverse.exp
1840 * gdb.mi/mi-simplerun.exp
1841 * gdb.mi/mi-solib.exp
1842 * gdb.mi/mi-stack.exp
1843 * gdb.mi/mi-stepi.exp
1844 * gdb.mi/mi-syn-frame.exp
1845 * gdb.mi/mi-until.exp
1846 * gdb.mi/mi-var-block.exp
1847 * gdb.mi/mi-var-child.exp
1848 * gdb.mi/mi-var-cmd.exp
1849 * gdb.mi/mi-var-cp.exp
1850 * gdb.mi/mi-var-display.exp
1851 * gdb.mi/mi-var-invalidate.exp
1852 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
1853 * gdb.mi/mi-vla-fortran.exp
1854 * gdb.mi/mi-watch.exp
1855 * gdb.mi/mi2-var-child.exp
1856 * gdb.mi/user-selected-context-sync.exp
1857 * gdb.modula2/unbounded-array.exp
1858 * gdb.multi/dummy-frame-restore.exp
1859 * gdb.multi/multi-arch-exec.exp
1860 * gdb.multi/multi-arch.exp
1861 * gdb.multi/tids.exp
1862 * gdb.multi/watchpoint-multi.exp
1863 * gdb.opencl/callfuncs.exp
1864 * gdb.opencl/convs_casts.exp
1865 * gdb.opencl/datatypes.exp
1866 * gdb.opencl/operators.exp
1867 * gdb.opencl/vec_comps.exp
1868 * gdb.opt/clobbered-registers-O2.exp
1869 * gdb.opt/inline-break.exp
1870 * gdb.opt/inline-bt.exp
1871 * gdb.opt/inline-cmds.exp
1872 * gdb.opt/inline-locals.exp
1873 * gdb.pascal/case-insensitive-symbols.exp
1874 * gdb.pascal/floats.exp
1875 * gdb.pascal/gdb11492.exp
1876 * gdb.python/lib-types.exp
1877 * gdb.python/py-arch.exp
1878 * gdb.python/py-as-string.exp
1879 * gdb.python/py-bad-printers.exp
1880 * gdb.python/py-block.exp
1881 * gdb.python/py-breakpoint-create-fail.exp
1882 * gdb.python/py-breakpoint.exp
1883 * gdb.python/py-caller-is.exp
1884 * gdb.python/py-cmd.exp
1885 * gdb.python/py-explore-cc.exp
1886 * gdb.python/py-explore.exp
1887 * gdb.python/py-finish-breakpoint.exp
1888 * gdb.python/py-finish-breakpoint2.exp
1889 * gdb.python/py-frame-args.exp
1890 * gdb.python/py-frame-inline.exp
1891 * gdb.python/py-frame.exp
1892 * gdb.python/py-framefilter-mi.exp
1893 * gdb.python/py-infthread.exp
1894 * gdb.python/py-lazy-string.exp
1895 * gdb.python/py-linetable.exp
1896 * gdb.python/py-mi-events.exp
1897 * gdb.python/py-mi-objfile.exp
1898 * gdb.python/py-mi.exp
1899 * gdb.python/py-objfile.exp
1900 * gdb.python/py-pp-integral.exp
1901 * gdb.python/py-pp-maint.exp
1902 * gdb.python/py-pp-re-notag.exp
1903 * gdb.python/py-pp-registration.exp
1904 * gdb.python/py-recurse-unwind.exp
1905 * gdb.python/py-strfns.exp
1906 * gdb.python/py-symbol.exp
1907 * gdb.python/py-symtab.exp
1908 * gdb.python/py-sync-interp.exp
1909 * gdb.python/py-typeprint.exp
1910 * gdb.python/py-unwind-maint.exp
1911 * gdb.python/py-unwind.exp
1912 * gdb.python/py-value-cc.exp
1913 * gdb.python/py-xmethods.exp
1914 * gdb.reverse/amd64-tailcall-reverse.exp
1915 * gdb.reverse/break-precsave.exp
1916 * gdb.reverse/break-reverse.exp
1917 * gdb.reverse/consecutive-precsave.exp
1918 * gdb.reverse/consecutive-reverse.exp
1919 * gdb.reverse/finish-precsave.exp
1920 * gdb.reverse/finish-reverse-bkpt.exp
1921 * gdb.reverse/finish-reverse.exp
1922 * gdb.reverse/fstatat-reverse.exp
1923 * gdb.reverse/getresuid-reverse.exp
1924 * gdb.reverse/i386-precsave.exp
1925 * gdb.reverse/i386-reverse.exp
1926 * gdb.reverse/i386-sse-reverse.exp
1927 * gdb.reverse/i387-env-reverse.exp
1928 * gdb.reverse/i387-stack-reverse.exp
1929 * gdb.reverse/insn-reverse.exp
1930 * gdb.reverse/machinestate-precsave.exp
1931 * gdb.reverse/machinestate.exp
1932 * gdb.reverse/next-reverse-bkpt-over-sr.exp
1933 * gdb.reverse/pipe-reverse.exp
1934 * gdb.reverse/readv-reverse.exp
1935 * gdb.reverse/recvmsg-reverse.exp
1936 * gdb.reverse/rerun-prec.exp
1937 * gdb.reverse/s390-mvcle.exp
1938 * gdb.reverse/step-precsave.exp
1939 * gdb.reverse/step-reverse.exp
1940 * gdb.reverse/time-reverse.exp
1941 * gdb.reverse/until-precsave.exp
1942 * gdb.reverse/until-reverse.exp
1943 * gdb.reverse/waitpid-reverse.exp
1944 * gdb.reverse/watch-precsave.exp
1945 * gdb.reverse/watch-reverse.exp
1946 * gdb.rust/generics.exp
1947 * gdb.rust/methods.exp
1948 * gdb.rust/modules.exp
1949 * gdb.rust/simple.exp
1950 * gdb.server/connect-with-no-symbol-file.exp
1951 * gdb.server/ext-attach.exp
1952 * gdb.server/ext-restart.exp
1953 * gdb.server/ext-wrapper.exp
1954 * gdb.server/file-transfer.exp
1955 * gdb.server/server-exec-info.exp
1956 * gdb.server/server-kill.exp
1957 * gdb.server/server-mon.exp
1958 * gdb.server/wrapper.exp
1959 * gdb.stabs/exclfwd.exp
1960 * gdb.stabs/gdb11479.exp
1961 * gdb.threads/clone-new-thread-event.exp
1962 * gdb.threads/corethreads.exp
1963 * gdb.threads/current-lwp-dead.exp
1964 * gdb.threads/dlopen-libpthread.exp
1965 * gdb.threads/gcore-thread.exp
1966 * gdb.threads/sigstep-threads.exp
1967 * gdb.threads/watchpoint-fork.exp
1968 * gdb.trace/actions-changed.exp
1969 * gdb.trace/backtrace.exp
1970 * gdb.trace/change-loc.exp
1971 * gdb.trace/circ.exp
1972 * gdb.trace/collection.exp
1973 * gdb.trace/disconnected-tracing.exp
1974 * gdb.trace/ftrace.exp
1975 * gdb.trace/mi-trace-frame-collected.exp
1976 * gdb.trace/mi-trace-unavailable.exp
1977 * gdb.trace/mi-traceframe-changed.exp
1978 * gdb.trace/mi-tsv-changed.exp
1979 * gdb.trace/no-attach-trace.exp
1980 * gdb.trace/passc-dyn.exp
1981 * gdb.trace/qtro.exp
1982 * gdb.trace/range-stepping.exp
1983 * gdb.trace/read-memory.exp
1984 * gdb.trace/save-trace.exp
1985 * gdb.trace/signal.exp
1986 * gdb.trace/status-stop.exp
1987 * gdb.trace/tfile.exp
1988 * gdb.trace/trace-break.exp
1989 * gdb.trace/trace-buffer-size.exp
1990 * gdb.trace/trace-condition.exp
1991 * gdb.trace/tracefile-pseudo-reg.exp
1992 * gdb.trace/tstatus.exp
1993 * gdb.trace/unavailable.exp
1994 * gdb.trace/while-dyn.exp
1995 * gdb.trace/while-stepping.exp
1996
1997 2016-12-22 Doug Evans <xdje42@gmail.com>
1998
1999 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
2000 and msymbols.
2001
2002 2016-12-19 Yao Qi <yao.qi@linaro.org>
2003
2004 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
2005 (test_with_self): Don't call do_steps_and_nexts, and remove
2006 code about stepping into xmalloc.
2007
2008 2016-12-09 Yao Qi <yao.qi@linaro.org>
2009
2010 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
2011
2012 2016-12-09 Yao Qi <yao.qi@linaro.org>
2013
2014 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
2015
2016 2016-12-09 Pedro Alves <palves@redhat.com>
2017
2018 * gdb.base/all-architectures-0.exp: New file.
2019 * gdb.base/all-architectures-1.exp: New file.
2020 * gdb.base/all-architectures-2.exp: New file.
2021 * gdb.base/all-architectures-3.exp: New file.
2022 * gdb.base/all-architectures-4.exp: New file.
2023 * gdb.base/all-architectures-5.exp: New file.
2024 * gdb.base/all-architectures-6.exp: New file.
2025 * gdb.base/all-architectures-7.exp: New file.
2026 * gdb.base/all-architectures.exp.in: New file.
2027
2028 2016-12-09 Yao Qi <yao.qi@linaro.org>
2029
2030 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
2031
2032 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
2033
2034 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
2035 possible.
2036 Remove useless pattern-matching code.
2037
2038 2016-12-02 Pedro Alves <palves@redhat.com>
2039
2040 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
2041 procedure.
2042 (top level): Call it.
2043
2044 2016-12-02 Pedro Alves <palves@redhat.com>
2045
2046 * gdb.base/commands.exp (user_defined_command_args_stack_test):
2047 New procedure.
2048 (top level): Call it.
2049
2050 2016-12-02 Pedro Alves <palves@redhat.com>
2051
2052 PR cli/20559
2053 * gdb.base/commands.exp (user_defined_command_args_eval): New
2054 procedure.
2055 (top level): Call it.
2056
2057 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
2058
2059 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
2060 timeout handling.
2061
2062 2016-12-02 Tom Tromey <tom@tromey.com>
2063
2064 * gdb.dwarf2/main-subprogram.c: New file.
2065 * gdb.dwarf2/main-subprogram.exp: New file.
2066
2067 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
2068
2069 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
2070 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
2071 gdb_test_no_output for a couple of cases.
2072 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
2073
2074 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
2075
2076 Fix test names and standardize compilation error messages throughout
2077 the following files:
2078
2079 * gdb.ada/start.exp
2080 * gdb.arch/alpha-step.exp
2081 * gdb.arch/e500-prologue.exp
2082 * gdb.arch/ftrace-insn-reloc.exp
2083 * gdb.arch/gdb1291.exp
2084 * gdb.arch/gdb1431.exp
2085 * gdb.arch/gdb1558.exp
2086 * gdb.arch/i386-dr3-watch.exp
2087 * gdb.arch/i386-sse-stack-align.exp
2088 * gdb.arch/ia64-breakpoint-shadow.exp
2089 * gdb.arch/pa-nullify.exp
2090 * gdb.arch/powerpc-aix-prologue.exp
2091 * gdb.arch/thumb-bx-pc.exp
2092 * gdb.base/annota1.exp
2093 * gdb.base/annota3.exp
2094 * gdb.base/arrayidx.exp
2095 * gdb.base/assign.exp
2096 * gdb.base/attach.exp
2097 * gdb.base/auxv.exp
2098 * gdb.base/bang.exp
2099 * gdb.base/bfp-test.exp
2100 * gdb.base/bigcore.exp
2101 * gdb.base/bitfields2.exp
2102 * gdb.base/break-fun-addr.exp
2103 * gdb.base/break-probes.exp
2104 * gdb.base/call-rt-st.exp
2105 * gdb.base/callexit.exp
2106 * gdb.base/catch-fork-kill.exp
2107 * gdb.base/charset.exp
2108 * gdb.base/checkpoint.exp
2109 * gdb.base/comprdebug.exp
2110 * gdb.base/constvars.exp
2111 * gdb.base/coredump-filter.exp
2112 * gdb.base/cursal.exp
2113 * gdb.base/cvexpr.exp
2114 * gdb.base/detach.exp
2115 * gdb.base/display.exp
2116 * gdb.base/dmsym.exp
2117 * gdb.base/dprintf-pending.exp
2118 * gdb.base/dso2dso.exp
2119 * gdb.base/dtrace-probe.exp
2120 * gdb.base/dump.exp
2121 * gdb.base/enum_cond.exp
2122 * gdb.base/exe-lock.exp
2123 * gdb.base/exec-invalid-sysroot.exp
2124 * gdb.base/execl-update-breakpoints.exp
2125 * gdb.base/exprs.exp
2126 * gdb.base/fileio.exp
2127 * gdb.base/find.exp
2128 * gdb.base/finish.exp
2129 * gdb.base/fixsection.exp
2130 * gdb.base/foll-vfork.exp
2131 * gdb.base/frame-args.exp
2132 * gdb.base/gcore.exp
2133 * gdb.base/gdb1250.exp
2134 * gdb.base/global-var-nested-by-dso.exp
2135 * gdb.base/gnu-ifunc.exp
2136 * gdb.base/hashline1.exp
2137 * gdb.base/hashline2.exp
2138 * gdb.base/hashline3.exp
2139 * gdb.base/hbreak-in-shr-unsupported.exp
2140 * gdb.base/huge.exp
2141 * gdb.base/infcall-input.exp
2142 * gdb.base/info-fun.exp
2143 * gdb.base/info-shared.exp
2144 * gdb.base/jit-simple.exp
2145 * gdb.base/jit-so.exp
2146 * gdb.base/jit.exp
2147 * gdb.base/jump.exp
2148 * gdb.base/label.exp
2149 * gdb.base/lineinc.exp
2150 * gdb.base/logical.exp
2151 * gdb.base/longjmp.exp
2152 * gdb.base/macscp.exp
2153 * gdb.base/miscexprs.exp
2154 * gdb.base/new-ui-echo.exp
2155 * gdb.base/new-ui-pending-input.exp
2156 * gdb.base/new-ui.exp
2157 * gdb.base/nodebug.exp
2158 * gdb.base/nofield.exp
2159 * gdb.base/offsets.exp
2160 * gdb.base/overlays.exp
2161 * gdb.base/pending.exp
2162 * gdb.base/pointers.exp
2163 * gdb.base/pr11022.exp
2164 * gdb.base/printcmds.exp
2165 * gdb.base/prologue.exp
2166 * gdb.base/ptr-typedef.exp
2167 * gdb.base/realname-expand.exp
2168 * gdb.base/relativedebug.exp
2169 * gdb.base/relocate.exp
2170 * gdb.base/remote.exp
2171 * gdb.base/reread.exp
2172 * gdb.base/return2.exp
2173 * gdb.base/savedregs.exp
2174 * gdb.base/sep.exp
2175 * gdb.base/sepdebug.exp
2176 * gdb.base/sepsymtab.exp
2177 * gdb.base/set-inferior-tty.exp
2178 * gdb.base/setshow.exp
2179 * gdb.base/shlib-call.exp
2180 * gdb.base/sigaltstack.exp
2181 * gdb.base/siginfo-addr.exp
2182 * gdb.base/signals.exp
2183 * gdb.base/signull.exp
2184 * gdb.base/sigrepeat.exp
2185 * gdb.base/so-impl-ld.exp
2186 * gdb.base/solib-display.exp
2187 * gdb.base/solib-overlap.exp
2188 * gdb.base/solib-search.exp
2189 * gdb.base/solib-symbol.exp
2190 * gdb.base/structs.exp
2191 * gdb.base/structs2.exp
2192 * gdb.base/symtab-search-order.exp
2193 * gdb.base/twice.exp
2194 * gdb.base/unload.exp
2195 * gdb.base/varargs.exp
2196 * gdb.base/watchpoint-solib.exp
2197 * gdb.base/watchpoint.exp
2198 * gdb.base/whatis.exp
2199 * gdb.base/wrong_frame_bt_full.exp
2200 * gdb.btrace/dlopen.exp
2201 * gdb.cell/ea-standalone.exp
2202 * gdb.cell/ea-test.exp
2203 * gdb.cp/dispcxx.exp
2204 * gdb.cp/gdb2384.exp
2205 * gdb.cp/method2.exp
2206 * gdb.cp/nextoverthrow.exp
2207 * gdb.cp/pr10728.exp
2208 * gdb.disasm/am33.exp
2209 * gdb.disasm/h8300s.exp
2210 * gdb.disasm/mn10300.exp
2211 * gdb.disasm/sh3.exp
2212 * gdb.dwarf2/dw2-dir-file-name.exp
2213 * gdb.fortran/complex.exp
2214 * gdb.fortran/library-module.exp
2215 * gdb.guile/scm-pretty-print.exp
2216 * gdb.guile/scm-symbol.exp
2217 * gdb.guile/scm-type.exp
2218 * gdb.guile/scm-value.exp
2219 * gdb.linespec/linespec.exp
2220 * gdb.mi/gdb701.exp
2221 * gdb.mi/gdb792.exp
2222 * gdb.mi/mi-breakpoint-changed.exp
2223 * gdb.mi/mi-dprintf-pending.exp
2224 * gdb.mi/mi-dprintf.exp
2225 * gdb.mi/mi-exit-code.exp
2226 * gdb.mi/mi-pending.exp
2227 * gdb.mi/mi-solib.exp
2228 * gdb.mi/new-ui-mi-sync.exp
2229 * gdb.mi/pr11022.exp
2230 * gdb.mi/user-selected-context-sync.exp
2231 * gdb.opt/solib-intra-step.exp
2232 * gdb.python/py-events.exp
2233 * gdb.python/py-finish-breakpoint.exp
2234 * gdb.python/py-mi.exp
2235 * gdb.python/py-prettyprint.exp
2236 * gdb.python/py-shared.exp
2237 * gdb.python/py-symbol.exp
2238 * gdb.python/py-template.exp
2239 * gdb.python/py-type.exp
2240 * gdb.python/py-value.exp
2241 * gdb.reverse/solib-precsave.exp
2242 * gdb.reverse/solib-reverse.exp
2243 * gdb.server/solib-list.exp
2244 * gdb.stabs/weird.exp
2245 * gdb.threads/reconnect-signal.exp
2246 * gdb.threads/stepi-random-signal.exp
2247 * gdb.trace/actions.exp
2248 * gdb.trace/ax.exp
2249 * gdb.trace/backtrace.exp
2250 * gdb.trace/change-loc.exp
2251 * gdb.trace/deltrace.exp
2252 * gdb.trace/ftrace-lock.exp
2253 * gdb.trace/ftrace.exp
2254 * gdb.trace/infotrace.exp
2255 * gdb.trace/mi-tracepoint-changed.exp
2256 * gdb.trace/packetlen.exp
2257 * gdb.trace/passcount.exp
2258 * gdb.trace/pending.exp
2259 * gdb.trace/range-stepping.exp
2260 * gdb.trace/report.exp
2261 * gdb.trace/stap-trace.exp
2262 * gdb.trace/tfind.exp
2263 * gdb.trace/trace-break.exp
2264 * gdb.trace/trace-condition.exp
2265 * gdb.trace/trace-enable-disable.exp
2266 * gdb.trace/trace-mt.exp
2267 * gdb.trace/tracecmd.exp
2268 * gdb.trace/tspeed.exp
2269 * gdb.trace/tsv.exp
2270 * lib/perftest.exp
2271
2272 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
2273
2274 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
2275 with gdb_test_no_output.
2276 Use command as test name.
2277
2278 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
2279
2280 Fix test names starting with uppercase throughout the files.
2281
2282 * gdb.ada/assign_1.exp
2283 * gdb.ada/boolean_expr.exp
2284 * gdb.base/arrayidx.exp
2285 * gdb.base/del.exp
2286 * gdb.base/gcore-buffer-overflow.exp
2287 * gdb.base/testenv.exp
2288 * gdb.compile/compile.exp
2289 * gdb.python/py-framefilter-invalidarg.exp
2290 * gdb.python/py-framefilter.exp
2291
2292 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
2293
2294 Fix test names starting with uppercase throughout the files.
2295
2296 * gdb.ada/array_return.exp
2297 * gdb.ada/expr_delims.exp
2298 * gdb.ada/mi_dyn_arr.exp
2299 * gdb.ada/mi_interface.exp
2300 * gdb.ada/mi_var_array.exp
2301 * gdb.ada/watch_arg.exp
2302 * gdb.arch/alpha-step.exp
2303 * gdb.arch/altivec-regs.exp
2304 * gdb.arch/e500-regs.exp
2305 * gdb.arch/powerpc-d128-regs.exp
2306 * gdb.base/arrayidx.exp
2307 * gdb.base/break.exp
2308 * gdb.base/checkpoint.exp
2309 * gdb.base/debug-expr.exp
2310 * gdb.base/dmsym.exp
2311 * gdb.base/radix.exp
2312 * gdb.base/sepdebug.exp
2313 * gdb.base/testenv.exp
2314 * gdb.base/watch_thread_num.exp
2315 * gdb.base/watchpoint-cond-gone.exp
2316 * gdb.cell/break.exp
2317 * gdb.cell/ea-cache.exp
2318 * gdb.compile/compile.exp
2319 * gdb.cp/gdb2495.exp
2320 * gdb.gdb/selftest.exp
2321 * gdb.gdb/xfullpath.exp
2322 * gdb.go/hello.exp
2323 * gdb.go/integers.exp
2324 * gdb.objc/basicclass.exp
2325 * gdb.pascal/hello.exp
2326 * gdb.pascal/integers.exp
2327 * gdb.python/py-breakpoint.exp
2328 * gdb.python/py-cmd.exp
2329 * gdb.python/py-linetable.exp
2330 * gdb.python/py-xmethods.exp
2331 * gdb.python/python.exp
2332 * gdb.reverse/consecutive-precsave.exp
2333 * gdb.reverse/finish-precsave.exp
2334 * gdb.reverse/i386-precsave.exp
2335 * gdb.reverse/machinestate-precsave.exp
2336 * gdb.reverse/sigall-precsave.exp
2337 * gdb.reverse/solib-precsave.exp
2338 * gdb.reverse/step-precsave.exp
2339 * gdb.reverse/until-precsave.exp
2340 * gdb.reverse/watch-precsave.exp
2341 * gdb.threads/leader-exit.exp
2342 * gdb.threads/pthreads.exp
2343 * gdb.threads/wp-replication.exp
2344 * gdb.trace/actions.exp
2345 * gdb.trace/mi-tsv-changed.exp
2346 * gdb.trace/tsv.exp
2347
2348 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
2349
2350 Fix test names starting with uppercase throughout the files.
2351
2352 * gdb.arch/i386-bp_permanent.exp
2353 * gdb.arch/i386-gnu-cfi.exp
2354 * gdb.base/disasm-end-cu.exp
2355 * gdb.base/macscp.exp
2356 * gdb.base/pending.exp
2357 * gdb.base/watch_thread_num.exp
2358 * gdb.cp/exception.exp
2359 * gdb.cp/gdb2495.exp
2360 * gdb.cp/local.exp
2361 * gdb.python/py-evsignal.exp
2362 * gdb.python/python.exp
2363 * gdb.trace/tracecmd.exp
2364
2365 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
2366
2367 Fix test names starting with uppercase throughout the files.
2368
2369 * gdb.base/charset.exp
2370 * gdb.base/eval.exp
2371 * gdb.base/multi-forks.exp
2372 * gdb.guile/scm-progspace.exp
2373 * gdb.opencl/datatypes.exp
2374 * gdb.python/py-block.exp
2375 * gdb.python/py-function.exp
2376 * gdb.python/py-symbol.exp
2377 * gdb.python/py-symtab.exp
2378 * gdb.python/py-xmethods.exp
2379 * gdb.reverse/break-precsave.exp
2380 * gdb.reverse/break-reverse.exp
2381 * gdb.reverse/consecutive-precsave.exp
2382 * gdb.reverse/consecutive-reverse.exp
2383 * gdb.reverse/finish-precsave.exp
2384 * gdb.reverse/finish-reverse-bkpt.exp
2385 * gdb.reverse/finish-reverse.exp
2386 * gdb.reverse/fstatat-reverse.exp
2387 * gdb.reverse/getresuid-reverse.exp
2388 * gdb.reverse/i386-precsave.exp
2389 * gdb.reverse/i386-reverse.exp
2390 * gdb.reverse/i386-sse-reverse.exp
2391 * gdb.reverse/i387-stack-reverse.exp
2392 * gdb.reverse/insn-reverse.exp
2393 * gdb.reverse/machinestate-precsave.exp
2394 * gdb.reverse/machinestate.exp
2395 * gdb.reverse/next-reverse-bkpt-over-sr.exp
2396 * gdb.reverse/pipe-reverse.exp
2397 * gdb.reverse/readv-reverse.exp
2398 * gdb.reverse/recvmsg-reverse.exp
2399 * gdb.reverse/rerun-prec.exp
2400 * gdb.reverse/s390-mvcle.exp
2401 * gdb.reverse/sigall-precsave.exp
2402 * gdb.reverse/sigall-reverse.exp
2403 * gdb.reverse/solib-precsave.exp
2404 * gdb.reverse/solib-reverse.exp
2405 * gdb.reverse/step-precsave.exp
2406 * gdb.reverse/step-reverse.exp
2407 * gdb.reverse/time-reverse.exp
2408 * gdb.reverse/until-precsave.exp
2409 * gdb.reverse/until-reverse.exp
2410 * gdb.reverse/waitpid-reverse.exp
2411 * gdb.reverse/watch-precsave.exp
2412 * gdb.reverse/watch-reverse.exp
2413
2414 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
2415
2416 Fix test names starting with uppercase throughout the files.
2417
2418 * gdb.arch/i386-mpx-simple_segv.exp
2419 * gdb.arch/i386-mpx.exp
2420 * gdb.arch/i386-permbkpt.exp
2421 * gdb.arch/pa-nullify.exp
2422 * gdb.arch/powerpc-d128-regs.exp
2423 * gdb.arch/vsx-regs.exp
2424 * gdb.base/bfp-test.exp
2425 * gdb.base/break.exp
2426 * gdb.base/breakpoint-shadow.exp
2427 * gdb.base/callfuncs.exp
2428 * gdb.base/charset.exp
2429 * gdb.base/commands.exp
2430 * gdb.base/completion.exp
2431 * gdb.base/dfp-test.exp
2432 * gdb.base/echo.exp
2433 * gdb.base/ending-run.exp
2434 * gdb.base/eval.exp
2435 * gdb.base/expand-psymtabs.exp
2436 * gdb.base/float128.exp
2437 * gdb.base/floatn.exp
2438 * gdb.base/foll-exec-mode.exp
2439 * gdb.base/gdb1056.exp
2440 * gdb.base/gdb11531.exp
2441 * gdb.base/kill-after-signal.exp
2442 * gdb.base/multi-forks.exp
2443 * gdb.base/overlays.exp
2444 * gdb.base/pending.exp
2445 * gdb.base/sepdebug.exp
2446 * gdb.base/testenv.exp
2447 * gdb.base/valgrind-db-attach.exp
2448 * gdb.base/watch_thread_num.exp
2449 * gdb.base/watchpoint-cond-gone.exp
2450 * gdb.base/watchpoint.exp
2451 * gdb.base/watchpoints.exp
2452 * gdb.cp/arg-reference.exp
2453 * gdb.cp/baseenum.exp
2454 * gdb.cp/operator.exp
2455 * gdb.cp/shadow.exp
2456 * gdb.dwarf2/dw2-op-out-param.exp
2457 * gdb.dwarf2/dw2-reg-undefined.exp
2458 * gdb.go/chan.exp
2459 * gdb.go/hello.exp
2460 * gdb.go/integers.exp
2461 * gdb.go/methods.exp
2462 * gdb.go/package.exp
2463 * gdb.guile/scm-parameter.exp
2464 * gdb.guile/scm-progspace.exp
2465 * gdb.guile/scm-value.exp
2466 * gdb.mi/mi-pending.exp
2467 * gdb.mi/user-selected-context-sync.exp
2468 * gdb.multi/multi-attach.exp
2469 * gdb.multi/tids.exp
2470 * gdb.opt/clobbered-registers-O2.exp
2471 * gdb.pascal/floats.exp
2472 * gdb.pascal/integers.exp
2473 * gdb.python/py-block.exp
2474 * gdb.python/py-events.exp
2475 * gdb.python/py-parameter.exp
2476 * gdb.python/py-symbol.exp
2477 * gdb.python/py-symtab.exp
2478 * gdb.python/py-type.exp
2479 * gdb.python/py-value.exp
2480 * gdb.python/py-xmethods.exp
2481 * gdb.python/python.exp
2482 * gdb.reverse/break-precsave.exp
2483 * gdb.reverse/consecutive-precsave.exp
2484 * gdb.reverse/finish-precsave.exp
2485 * gdb.reverse/i386-precsave.exp
2486 * gdb.reverse/machinestate-precsave.exp
2487 * gdb.reverse/sigall-precsave.exp
2488 * gdb.reverse/solib-precsave.exp
2489 * gdb.reverse/step-precsave.exp
2490 * gdb.reverse/until-precsave.exp
2491 * gdb.reverse/watch-precsave.exp
2492 * gdb.server/ext-attach.exp
2493 * gdb.server/ext-restart.exp
2494 * gdb.server/ext-run.exp
2495 * gdb.server/ext-wrapper.exp
2496 * gdb.stabs/gdb11479.exp
2497 * gdb.stabs/weird.exp
2498 * gdb.threads/attach-many-short-lived-threads.exp
2499 * gdb.threads/kill.exp
2500 * gdb.threads/watchpoint-fork.exp
2501
2502 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
2503
2504 Fix test names starting with uppercase throughout all the files below.
2505
2506 * gdb.ada/array_return.exp
2507 * gdb.ada/catch_ex.exp
2508 * gdb.ada/info_exc.exp
2509 * gdb.ada/mi_catch_ex.exp
2510 * gdb.ada/mi_dyn_arr.exp
2511 * gdb.ada/mi_ex_cond.exp
2512 * gdb.ada/mi_exc_info.exp
2513 * gdb.ada/mi_interface.exp
2514 * gdb.ada/mi_task_arg.exp
2515 * gdb.ada/mi_task_info.exp
2516 * gdb.ada/mi_var_array.exp
2517 * gdb.arch/alpha-step.exp
2518 * gdb.arch/amd64-disp-step.exp
2519 * gdb.arch/arm-disp-step.exp
2520 * gdb.arch/disp-step-insn-reloc.exp
2521 * gdb.arch/e500-prologue.exp
2522 * gdb.arch/ftrace-insn-reloc.exp
2523 * gdb.arch/gdb1558.exp
2524 * gdb.arch/i386-bp_permanent.exp
2525 * gdb.arch/i386-disp-step.exp
2526 * gdb.arch/i386-float.exp
2527 * gdb.arch/i386-gnu-cfi.exp
2528 * gdb.arch/ia64-breakpoint-shadow.exp
2529 * gdb.arch/mips16-thunks.exp
2530 * gdb.arch/pa-nullify.exp
2531 * gdb.arch/powerpc-aix-prologue.exp
2532 * gdb.arch/powerpc-power.exp
2533 * gdb.arch/ppc-dfp.exp
2534 * gdb.arch/s390-tdbregs.exp
2535 * gdb.arch/spu-info.exp
2536 * gdb.arch/spu-ls.exp
2537 * gdb.arch/thumb-bx-pc.exp
2538 * gdb.base/advance.exp
2539 * gdb.base/annota-input-while-running.exp
2540 * gdb.base/arrayidx.exp
2541 * gdb.base/asmlabel.exp
2542 * gdb.base/async.exp
2543 * gdb.base/attach-wait-input.exp
2544 * gdb.base/auto-connect-native-target.exp
2545 * gdb.base/batch-preserve-term-settings.exp
2546 * gdb.base/bfp-test.exp
2547 * gdb.base/bigcore.exp
2548 * gdb.base/bp-permanent.exp
2549 * gdb.base/break-always.exp
2550 * gdb.base/break-fun-addr.exp
2551 * gdb.base/break-idempotent.exp
2552 * gdb.base/break-main-file-remove-fail.exp
2553 * gdb.base/break-probes.exp
2554 * gdb.base/break-unload-file.exp
2555 * gdb.base/break.exp
2556 * gdb.base/call-ar-st.exp
2557 * gdb.base/call-rt-st.exp
2558 * gdb.base/call-sc.exp
2559 * gdb.base/call-signal-resume.exp
2560 * gdb.base/call-strs.exp
2561 * gdb.base/callexit.exp
2562 * gdb.base/callfuncs.exp
2563 * gdb.base/catch-gdb-caused-signals.exp
2564 * gdb.base/catch-signal-siginfo-cond.exp
2565 * gdb.base/catch-syscall.exp
2566 * gdb.base/compare-sections.exp
2567 * gdb.base/cond-eval-mode.exp
2568 * gdb.base/condbreak-call-false.exp
2569 * gdb.base/consecutive-step-over.exp
2570 * gdb.base/cursal.exp
2571 * gdb.base/disabled-location.exp
2572 * gdb.base/disasm-end-cu.exp
2573 * gdb.base/display.exp
2574 * gdb.base/double-prompt-target-event-error.exp
2575 * gdb.base/dprintf-bp-same-addr.exp
2576 * gdb.base/dprintf-detach.exp
2577 * gdb.base/dprintf-next.exp
2578 * gdb.base/dprintf-non-stop.exp
2579 * gdb.base/dprintf-pending.exp
2580 * gdb.base/dso2dso.exp
2581 * gdb.base/ending-run.exp
2582 * gdb.base/enum_cond.exp
2583 * gdb.base/examine-backward.exp
2584 * gdb.base/exe-lock.exp
2585 * gdb.base/exec-invalid-sysroot.exp
2586 * gdb.base/execl-update-breakpoints.exp
2587 * gdb.base/execution-termios.exp
2588 * gdb.base/fileio.exp
2589 * gdb.base/fixsection.exp
2590 * gdb.base/foll-exec-mode.exp
2591 * gdb.base/foll-exec.exp
2592 * gdb.base/fork-running-state.exp
2593 * gdb.base/frame-args.exp
2594 * gdb.base/fullpath-expand.exp
2595 * gdb.base/func-ptr.exp
2596 * gdb.base/gcore-relro-pie.exp
2597 * gdb.base/gdb1090.exp
2598 * gdb.base/gdb1555.exp
2599 * gdb.base/global-var-nested-by-dso.exp
2600 * gdb.base/gnu-ifunc.exp
2601 * gdb.base/hbreak-in-shr-unsupported.exp
2602 * gdb.base/hbreak-unmapped.exp
2603 * gdb.base/hook-stop.exp
2604 * gdb.base/infcall-input.exp
2605 * gdb.base/info-fun.exp
2606 * gdb.base/info-shared.exp
2607 * gdb.base/interrupt-noterm.exp
2608 * gdb.base/jit-so.exp
2609 * gdb.base/jit.exp
2610 * gdb.base/line-symtabs.exp
2611 * gdb.base/list.exp
2612 * gdb.base/longjmp.exp
2613 * gdb.base/macscp.exp
2614 * gdb.base/max-value-size.exp
2615 * gdb.base/nodebug.exp
2616 * gdb.base/nofield.exp
2617 * gdb.base/overlays.exp
2618 * gdb.base/paginate-after-ctrl-c-running.exp
2619 * gdb.base/paginate-bg-execution.exp
2620 * gdb.base/paginate-inferior-exit.exp
2621 * gdb.base/pending.exp
2622 * gdb.base/pr11022.exp
2623 * gdb.base/printcmds.exp
2624 * gdb.base/ptr-typedef.exp
2625 * gdb.base/ptype.exp
2626 * gdb.base/randomize.exp
2627 * gdb.base/range-stepping.exp
2628 * gdb.base/realname-expand.exp
2629 * gdb.base/relativedebug.exp
2630 * gdb.base/remote.exp
2631 * gdb.base/savedregs.exp
2632 * gdb.base/sepdebug.exp
2633 * gdb.base/set-noassign.exp
2634 * gdb.base/shlib-call.exp
2635 * gdb.base/shreloc.exp
2636 * gdb.base/sigaltstack.exp
2637 * gdb.base/sigbpt.exp
2638 * gdb.base/siginfo-addr.exp
2639 * gdb.base/siginfo-obj.exp
2640 * gdb.base/siginfo-thread.exp
2641 * gdb.base/signest.exp
2642 * gdb.base/signull.exp
2643 * gdb.base/sigrepeat.exp
2644 * gdb.base/skip.exp
2645 * gdb.base/so-impl-ld.exp
2646 * gdb.base/solib-corrupted.exp
2647 * gdb.base/solib-disc.exp
2648 * gdb.base/solib-display.exp
2649 * gdb.base/solib-overlap.exp
2650 * gdb.base/solib-search.exp
2651 * gdb.base/solib-symbol.exp
2652 * gdb.base/source-execution.exp
2653 * gdb.base/sss-bp-on-user-bp-2.exp
2654 * gdb.base/sss-bp-on-user-bp.exp
2655 * gdb.base/stack-checking.exp
2656 * gdb.base/stale-infcall.exp
2657 * gdb.base/step-break.exp
2658 * gdb.base/step-line.exp
2659 * gdb.base/step-over-exit.exp
2660 * gdb.base/step-test.exp
2661 * gdb.base/structs.exp
2662 * gdb.base/sym-file.exp
2663 * gdb.base/symtab-search-order.exp
2664 * gdb.base/term.exp
2665 * gdb.base/type-opaque.exp
2666 * gdb.base/unload.exp
2667 * gdb.base/until-nodebug.exp
2668 * gdb.base/until.exp
2669 * gdb.base/unwindonsignal.exp
2670 * gdb.base/watch-cond.exp
2671 * gdb.base/watch-non-mem.exp
2672 * gdb.base/watch_thread_num.exp
2673 * gdb.base/watchpoint-reuse-slot.exp
2674 * gdb.base/watchpoint-solib.exp
2675 * gdb.base/watchpoint.exp
2676 * gdb.btrace/dlopen.exp
2677 * gdb.cell/arch.exp
2678 * gdb.cell/break.exp
2679 * gdb.cell/bt.exp
2680 * gdb.cell/core.exp
2681 * gdb.cell/data.exp
2682 * gdb.cell/dwarfaddr.exp
2683 * gdb.cell/ea-cache.exp
2684 * gdb.cell/ea-standalone.exp
2685 * gdb.cell/ea-test.exp
2686 * gdb.cell/f-regs.exp
2687 * gdb.cell/fork.exp
2688 * gdb.cell/gcore.exp
2689 * gdb.cell/mem-access.exp
2690 * gdb.cell/ptype.exp
2691 * gdb.cell/registers.exp
2692 * gdb.cell/sizeof.exp
2693 * gdb.cell/solib-symbol.exp
2694 * gdb.cell/solib.exp
2695 * gdb.compile/compile-tls.exp
2696 * gdb.cp/exception.exp
2697 * gdb.cp/gdb2495.exp
2698 * gdb.cp/local.exp
2699 * gdb.cp/mb-inline.exp
2700 * gdb.cp/mb-templates.exp
2701 * gdb.cp/pr10687.exp
2702 * gdb.cp/pr9167.exp
2703 * gdb.cp/scope-err.exp
2704 * gdb.cp/templates.exp
2705 * gdb.cp/virtfunc.exp
2706 * gdb.dwarf2/dw2-dir-file-name.exp
2707 * gdb.dwarf2/dw2-single-line-discriminators.exp
2708 * gdb.fortran/complex.exp
2709 * gdb.fortran/library-module.exp
2710 * gdb.guile/guile.exp
2711 * gdb.guile/scm-cmd.exp
2712 * gdb.guile/scm-frame-inline.exp
2713 * gdb.guile/scm-objfile.exp
2714 * gdb.guile/scm-pretty-print.exp
2715 * gdb.guile/scm-symbol.exp
2716 * gdb.guile/scm-type.exp
2717 * gdb.guile/scm-value.exp
2718 * gdb.linespec/keywords.exp
2719 * gdb.linespec/ls-errs.exp
2720 * gdb.linespec/macro-relative.exp
2721 * gdb.linespec/thread.exp
2722 * gdb.mi/mi-breakpoint-changed.exp
2723 * gdb.mi/mi-dprintf-pending.exp
2724 * gdb.mi/mi-fullname-deleted.exp
2725 * gdb.mi/mi-logging.exp
2726 * gdb.mi/mi-pending.exp
2727 * gdb.mi/mi-solib.exp
2728 * gdb.mi/new-ui-mi-sync.exp
2729 * gdb.mi/user-selected-context-sync.exp
2730 * gdb.multi/dummy-frame-restore.exp
2731 * gdb.multi/multi-arch-exec.exp
2732 * gdb.multi/remove-inferiors.exp
2733 * gdb.multi/watchpoint-multi-exit.exp
2734 * gdb.opt/solib-intra-step.exp
2735 * gdb.perf/backtrace.exp
2736 * gdb.perf/single-step.exp
2737 * gdb.perf/skip-command.exp
2738 * gdb.perf/skip-prologue.exp
2739 * gdb.perf/solib.exp
2740 * gdb.python/lib-types.exp
2741 * gdb.python/py-as-string.exp
2742 * gdb.python/py-bad-printers.exp
2743 * gdb.python/py-block.exp
2744 * gdb.python/py-breakpoint.exp
2745 * gdb.python/py-cmd.exp
2746 * gdb.python/py-events.exp
2747 * gdb.python/py-evthreads.exp
2748 * gdb.python/py-finish-breakpoint.exp
2749 * gdb.python/py-finish-breakpoint2.exp
2750 * gdb.python/py-frame-inline.exp
2751 * gdb.python/py-frame.exp
2752 * gdb.python/py-inferior.exp
2753 * gdb.python/py-infthread.exp
2754 * gdb.python/py-mi.exp
2755 * gdb.python/py-objfile.exp
2756 * gdb.python/py-pp-maint.exp
2757 * gdb.python/py-pp-registration.exp
2758 * gdb.python/py-prettyprint.exp
2759 * gdb.python/py-recurse-unwind.exp
2760 * gdb.python/py-shared.exp
2761 * gdb.python/py-symbol.exp
2762 * gdb.python/py-symtab.exp
2763 * gdb.python/py-template.exp
2764 * gdb.python/py-type.exp
2765 * gdb.python/py-unwind-maint.exp
2766 * gdb.python/py-unwind.exp
2767 * gdb.python/py-value.exp
2768 * gdb.python/python.exp
2769 * gdb.reverse/finish-reverse-bkpt.exp
2770 * gdb.reverse/insn-reverse.exp
2771 * gdb.reverse/next-reverse-bkpt-over-sr.exp
2772 * gdb.reverse/solib-precsave.exp
2773 * gdb.reverse/solib-reverse.exp
2774 * gdb.stabs/gdb11479.exp
2775 * gdb.stabs/weird.exp
2776 * gdb.threads/fork-child-threads.exp
2777 * gdb.threads/fork-plus-threads.exp
2778 * gdb.threads/fork-thread-pending.exp
2779 * gdb.threads/forking-threads-plus-breakpoint.exp
2780 * gdb.threads/hand-call-in-threads.exp
2781 * gdb.threads/interrupted-hand-call.exp
2782 * gdb.threads/linux-dp.exp
2783 * gdb.threads/local-watch-wrong-thread.exp
2784 * gdb.threads/next-while-other-thread-longjmps.exp
2785 * gdb.threads/non-ldr-exit.exp
2786 * gdb.threads/pending-step.exp
2787 * gdb.threads/print-threads.exp
2788 * gdb.threads/process-dies-while-detaching.exp
2789 * gdb.threads/process-dies-while-handling-bp.exp
2790 * gdb.threads/pthreads.exp
2791 * gdb.threads/queue-signal.exp
2792 * gdb.threads/reconnect-signal.exp
2793 * gdb.threads/signal-command-handle-nopass.exp
2794 * gdb.threads/signal-command-multiple-signals-pending.exp
2795 * gdb.threads/signal-delivered-right-thread.exp
2796 * gdb.threads/signal-sigtrap.exp
2797 * gdb.threads/sigthread.exp
2798 * gdb.threads/staticthreads.exp
2799 * gdb.threads/stepi-random-signal.exp
2800 * gdb.threads/thread-unwindonsignal.exp
2801 * gdb.threads/thread_check.exp
2802 * gdb.threads/thread_events.exp
2803 * gdb.threads/tid-reuse.exp
2804 * gdb.threads/tls-nodebug.exp
2805 * gdb.threads/tls-shared.exp
2806 * gdb.threads/tls-so_extern.exp
2807 * gdb.threads/tls.exp
2808 * gdb.threads/wp-replication.exp
2809 * gdb.trace/actions-changed.exp
2810 * gdb.trace/actions.exp
2811 * gdb.trace/backtrace.exp
2812 * gdb.trace/change-loc.exp
2813 * gdb.trace/collection.exp
2814 * gdb.trace/deltrace.exp
2815 * gdb.trace/disconnected-tracing.exp
2816 * gdb.trace/entry-values.exp
2817 * gdb.trace/ftrace-lock.exp
2818 * gdb.trace/ftrace.exp
2819 * gdb.trace/infotrace.exp
2820 * gdb.trace/mi-trace-frame-collected.exp
2821 * gdb.trace/mi-trace-unavailable.exp
2822 * gdb.trace/mi-traceframe-changed.exp
2823 * gdb.trace/mi-tracepoint-changed.exp
2824 * gdb.trace/mi-tsv-changed.exp
2825 * gdb.trace/no-attach-trace.exp
2826 * gdb.trace/packetlen.exp
2827 * gdb.trace/passc-dyn.exp
2828 * gdb.trace/passcount.exp
2829 * gdb.trace/pending.exp
2830 * gdb.trace/pr16508.exp
2831 * gdb.trace/qtro.exp
2832 * gdb.trace/range-stepping.exp
2833 * gdb.trace/read-memory.exp
2834 * gdb.trace/report.exp
2835 * gdb.trace/save-trace.exp
2836 * gdb.trace/signal.exp
2837 * gdb.trace/stap-trace.exp
2838 * gdb.trace/status-stop.exp
2839 * gdb.trace/strace.exp
2840 * gdb.trace/tfile.exp
2841 * gdb.trace/tfind.exp
2842 * gdb.trace/trace-break.exp
2843 * gdb.trace/trace-condition.exp
2844 * gdb.trace/trace-enable-disable.exp
2845 * gdb.trace/trace-mt.exp
2846 * gdb.trace/tracecmd.exp
2847 * gdb.trace/tracefile-pseudo-reg.exp
2848 * gdb.trace/tspeed.exp
2849 * gdb.trace/tstatus.exp
2850 * gdb.trace/tsv.exp
2851 * gdb.trace/unavailable.exp
2852 * gdb.trace/while-dyn.exp
2853 * gdb.trace/while-stepping.exp
2854 * lib/gdb-guile.exp
2855 * lib/gdb.exp
2856 * lib/mi-support.exp
2857 * lib/pascal.exp
2858 * lib/perftest.exp
2859 * lib/prelink-support.exp
2860 * lib/selftest-support.exp
2861
2862 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
2863
2864 * Makefile.in: Include disable-implicit-rules.mk.
2865
2866 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2867
2868 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
2869 non-byte-aligned bit fields.
2870
2871 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2872
2873 PR gdb/12616
2874 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
2875 respects the DW_AT_data_bit_offset attribute.
2876
2877 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
2878
2879 * gdb.base/default.exp: Fix output of "set language".
2880
2881 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
2882
2883 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
2884 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
2885 make.
2886 * configure.ac: Remove checks for the make program.
2887 * configure: Re-generate.
2888
2889 2016-11-16 Kevin Buettner <kevinb@redhat.com>
2890
2891 * gdb.python/py-recurse-unwind.c (main): Add loop.
2892 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
2893 to read_register() and gdb.parse_and_eval(). Make each code
2894 call a separate case that can be individually tested.
2895 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
2896 proc. Call cont_and_backtrace for each of the code paths that
2897 we want to test in the unwinder.
2898
2899 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
2900
2901 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
2902 the definition of struct S.
2903
2904 2016-11-11 Catherine Moore <clm@codesourcery.com>
2905
2906 * gdb.base/dump.exp: Identify verilog format dump tests as such.
2907
2908 2016-11-09 Pedro Alves <palves@redhat.com>
2909
2910 * gdb.base/commands.exp (runto_or_return): New procedure.
2911 (gdbvar_simple_if_test, gdbvar_simple_while_test)
2912 (gdbvar_complex_if_while_test, progvar_simple_if_test)
2913 (progvar_simple_while_test, progvar_complex_if_while_test)
2914 (if_while_breakpoint_command_test)
2915 (infrun_breakpoint_command_test, breakpoint_command_test)
2916 (user_defined_command_test, watchpoint_command_test)
2917 (test_command_prompt_position, redefine_hook_test)
2918 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
2919 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
2920 multi_line_input and multi_line. Remove gdb_expect and
2921 gdb_stop_suppressing_tests uses.
2922 * lib/gdb.exp (valnum_re): New global.
2923 (multi_line_input): New procedure.
2924
2925 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
2926
2927 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
2928 Remove.
2929 (test_setup): Define with proc_with_prefix.
2930 (test_cli_inferior): Likewise.
2931 (test_cli_thread): Likewise.
2932 (test_cli_frame): Likewise.
2933 (test_cli_select_frame): Likewise.
2934 (test_cli_up_down): Likewise.
2935 (test_mi_thread_select): Likewise.
2936 (test_mi_stack_select_frame): Likewise.
2937 (test_cli_in_mi_inferior): Likewise.
2938 (test_cli_in_mi_thread): Likewise.
2939 (test_cli_in_mi_frame): Likewise.
2940 (top level): Do not use with_test_prefix_procname.
2941
2942 2016-11-09 Pedro Alves <palves@redhat.com>
2943
2944 * gdb.base/commands.exp (gdbvar_simple_if_test)
2945 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
2946 (progvar_simple_if_test, progvar_simple_while_test)
2947 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
2948 (infrun_breakpoint_command_test, breakpoint_command_test)
2949 (user_defined_command_test, watchpoint_command_test)
2950 (test_command_prompt_position, deprecated_command_test)
2951 (bp_deleted_in_command, temporary_breakpoint_commands)
2952 (stray_arg0_test, source_file_with_indented_comment)
2953 (recursive_source_test, if_commands_test)
2954 (error_clears_commands_left, redefine_hook_test)
2955 (redefine_backtrace_test): Use proc_with_prefix.
2956 * lib/gdb.exp (proc_with_prefix): New proc.
2957
2958 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
2959
2960 * gdb.base/tui-layout.c: New file.
2961 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
2962 disassembly window contains very long lines.
2963
2964 2016-11-08 Tom Tromey <tom@tromey.com>
2965
2966 * gdb.python/py-value.exp (test_value_creation): Make "long" test
2967 depend on Python 2.
2968
2969 2016-11-08 Tom Tromey <tom@tromey.com>
2970
2971 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
2972 New method.
2973
2974 2016-10-29 Manish Goregaokar <manish@mozilla.com>
2975
2976 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
2977
2978 2016-10-27 Manish Goregaokar <manish@mozilla.com>
2979
2980 * gdb.rust/simple.rs: Add test for univariant enums without
2981 discriminants and for encoded struct-like enums.
2982
2983 2016-10-28 Pedro Alves <palves@redhat.com>
2984
2985 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
2986 gdb_test_multiple, tighten regexps and match symtabs and line
2987 tables incrementally.
2988
2989 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
2990
2991 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
2992 general.
2993
2994 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
2995
2996 * gdb.base/exec-invalid-sysroot.exp: New file.
2997
2998 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2999
3000 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
3001
3002 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3003
3004 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
3005
3006 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
3007
3008 * gdb.base/killed-outside.exp: Remove $options from a call to
3009 `prepare_for_testing'.
3010
3011 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
3012
3013 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
3014 Change test message.
3015
3016 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
3017
3018 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
3019 Update comment.
3020
3021 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
3022
3023 * gdb.trace/mi-trace-save.exp: New file.
3024
3025 2016-10-13 Yao Qi <yao.qi@linaro.org>
3026
3027 * gdb.base/code_elim.exp (get_var_address): Remove.
3028 * gdb.base/relocate.exp: Likewise.
3029 * gdb.base/shreloc.exp: Likewise.
3030 * lib/gdb.exp (get_var_address): New.
3031
3032 2016-10-13 Yao Qi <yao.qi@linaro.org>
3033
3034 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
3035 floating point tests if $skip_float_test is false.
3036
3037 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
3038
3039 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
3040 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
3041 argc values.
3042 Add 1 to argc so we guarantee distinct initial/modified argc values.
3043
3044 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3045
3046 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
3047
3048 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3049
3050 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
3051 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
3052 * gdb.arch/vsx-regs.exp: Likewise.
3053
3054 2016-10-07 Yao Qi <yao.qi@linaro.org>
3055
3056 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
3057
3058 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
3059
3060 * gdb.python/python.exp: Test decode_line("*0").
3061
3062 2016-10-06 Doug Evans <dje@google.com>
3063
3064 * gdb.python/py-value.exp (test_value_creation): Add test for large
3065 unsigned 64-bit value.
3066
3067 2016-10-06 Tom Tromey <tom@tromey.com>
3068
3069 * gdb.compile/compile.exp: Change java tests to rust.
3070 * gdb.base/setshow.exp: Change java tests to rust.
3071 * gdb.base/default.exp: Remove java from language list.
3072 * README (Examples): Update language example.
3073 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
3074 test.
3075 * lib/gdb.exp (skip_java_tests): Remove.
3076 * lib/java.exp: Remove.
3077 * gdb.java: Remove.
3078
3079 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
3080
3081 * gdb.arch/mips-fcr.exp: New test.
3082 * gdb.arch/mips-fcr.c: Source for the new test.
3083
3084 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
3085
3086 * gdb.base/solib-disc.exp: Use `standard_output_file'
3087 throughout.
3088
3089 2016-10-06 Pedro Alves <palves@redhat.com>
3090
3091 * gdb.base/jit-simple-dl.c: New file.
3092 * gdb.base/jit-simple-jit.c: New file, factored out from ...
3093 * gdb.base/jit-simple.c: ... this.
3094 * gdb.base/jit-simple.exp (jit_run): Delete.
3095 (build_jit): New proc.
3096 (jit_test_reread): Recompile either the main program or the shared
3097 library, depending on what is being tested. Skip changing address
3098 if caller wants to. Compare before/after addresses. If testing
3099 standalone, explicitly load the binary. Test "maint info
3100 breakpoints".
3101 (top level): Add "standalone vs shared lib" and "change address"
3102 vs "same address" axes.
3103
3104 2016-10-06 Pedro Alves <palves@redhat.com>
3105
3106 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
3107 call.
3108 (jit_run): Delete.
3109 (jit_test_reread): Use with_test_prefix. Reload the main binary
3110 explicitly. Compare the before/after addresses of the JIT
3111 descriptor.
3112
3113 2016-08-15 Doug Evans <dje@google.com>
3114
3115 * gdb.xml/extra-regs.xml: Update, end field now required, default type
3116 for single bitfields is bool.
3117 * gdb.xml/tdesc-regs.exp: Ditto.
3118
3119 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3120
3121 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
3122
3123 2016-10-05 Yao Qi <yao.qi@linaro.org>
3124
3125 * lib/gdb.exp (support_complex_tests): Return zero if
3126 gdb_skip_float_test return true.
3127
3128 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
3129 Simon Marchi <simon.marchi@ericsson.com>
3130
3131 PR gdb/20487
3132 * gdb.mi/user-selected-context-sync.exp: New file.
3133 * gdb.mi/user-selected-context-sync.c: New file.
3134
3135 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
3136 Simon Marchi <simon.marchi@ericsson.com>
3137
3138 PR gdb/20487
3139 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
3140 =thread-select-event check.
3141
3142 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
3143
3144 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
3145 the compulsory L operand changes.
3146 * gdb.arch/powerpc-power.s: Likewise.
3147
3148 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
3149
3150 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
3151 * gdb.base/jit-attach-pie.c: New file.
3152 * gdb.base/jit-attach-pie.exp: New file.
3153
3154 2016-09-28 Pedro Alves <palves@redhat.com>
3155
3156 * gdb.base/infcall-input.c: New file.
3157 * gdb.base/infcall-input.exp: New file.
3158
3159 2016-09-22 Yao Qi <yao.qi@linaro.org>
3160
3161 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
3162 (gdb_exit): Rename it to ...
3163 (gdbserver_gdb_exit): ... Close GDBserver.
3164 (gdb_exit): New proc, call gdbserver_gdb_exit.
3165 (mi_gdb_exit): Likewise.
3166
3167 2016-09-22 Yao Qi <yao.qi@linaro.org>
3168
3169 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
3170 path.
3171 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
3172 Remove duplication.
3173
3174 2016-09-22 Yao Qi <yao.qi@linaro.org>
3175
3176 * lib/gdbserver-support.exp: Check the existence of
3177 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
3178
3179 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
3180
3181 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
3182
3183 2016-09-21 Tom Tromey <tom@tromey.com>
3184
3185 PR gdb/20604:
3186 * gdb.base/quit.exp: New file.
3187
3188 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
3189
3190 * .gitignore: New file.
3191
3192 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
3193
3194 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
3195 throughout.
3196
3197 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3198
3199 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
3200
3201 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3202
3203 * gdb.cp/casts.cc (decltype): Move it ...
3204 (main): ... with its call to ...
3205 * gdb.cp/casts03.cc: ... a new file.
3206 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
3207
3208 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3209
3210 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
3211
3212 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
3213
3214 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
3215 and sync up the test with tests in gas/testsuite/gas/ppc.
3216 * gdb.arch/powerpc-power.exp: Likewise.
3217
3218 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3219
3220 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
3221
3222 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
3223 Jan Kratochvil <jan.kratochvil@redhat.com>
3224
3225 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
3226 make m1's definition to be different from m2's. Use 'dummy' as an
3227 argument for probe 'two'.
3228
3229 2016-09-10 Jon Beniston <jon@beniston.com>
3230
3231 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
3232 for sim target.
3233
3234 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
3235
3236 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
3237 variable declaration.
3238 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
3239 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
3240 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
3241 received HWCAP as its argument.
3242
3243 2016-09-06 Pedro Alves <palves@redhat.com>
3244
3245 * gdb.base/new-ui-pending-input.c: New file.
3246 * gdb.base/new-ui-pending-input.exp: New file.
3247 * gdb.exp (clear_gdb_spawn_id): New procedure.
3248 (with_spawn_id): Check whether gdb_spawn_id exists before
3249 referencing it. If gdb_spawn_id didn't exist on entry, clear it
3250 on exit.
3251
3252 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
3253
3254 * gdb.base/float128.c: New file.
3255 * gdb.base/float128.exp: Likewise.
3256 * gdb.base/floatn.c: Likewise.
3257 * gdb.base/floatn.exp: Likewise.
3258
3259 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
3260
3261 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
3262
3263 2016-09-05 Pedro Alves <palves@redhat.com>
3264
3265 PR backtrace/19927
3266 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
3267 unwinders are immediately called as side effect of "source" or
3268 "disable unwinder" commands.
3269 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
3270
3271 2016-09-02 Yao Qi <yao.qi@linaro.org>
3272
3273 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
3274 is true and $type is "float" or "double".
3275
3276 2016-09-02 Yao Qi <yao.qi@linaro.org>
3277
3278 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
3279 true.
3280 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
3281 * gdb.base/call-rt-st.exp: Likewise.
3282 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
3283 return value instead of gdb,skip_float_test.
3284 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
3285 (do_function_calls): Use its return value instead of
3286 gdb,skip_float_test.
3287 * gdb.base/finish.exp: Likewise.
3288 * gdb.base/funcargs.exp: Likewise.
3289 * gdb.base/return.exp: Likewise.
3290 * gdb.base/return2.exp: Likewise.
3291 * gdb.base/varargs.exp: Likewise.
3292 * lib/gdb.exp (gdb_skip_float_test): Change it to
3293 gdb_caching_proc. Detect the broken ptrace on arm-linux.
3294
3295 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
3296
3297 * gdb.multi/tids.exp: Test "thread apply all".
3298
3299 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
3300
3301 * gdb.base/default.exp (tty): Remove.
3302
3303 2016-08-24 Kevin Buettner <kevinb@redhat.com>
3304
3305 * gdb.python/py-recurse-unwind.c: New file.
3306 * gdb.python/py-recurse-unwind.py: New file.
3307 * gdb.python/py-recurse-unwind.exp: New file.
3308
3309 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
3310
3311 * gdb.base/set-inferior-tty.exp: New file.
3312 * gdb.base/set-inferior-tty.c: New file.
3313
3314 2016-08-23 Pedro Alves <palves@redhat.com>
3315
3316 PR gdb/20494
3317 * gdb.base/new-ui-echo.c: New file.
3318 * gdb.base/new-ui-echo.exp: New file.
3319
3320 2016-08-23 Yao Qi <yao.qi@linaro.org>
3321
3322 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
3323 gdbserver_spawn.
3324 * gdb.server/connect-without-multi-process.exp (do_test):
3325 Likewise.
3326
3327 2016-08-23 Yao Qi <yao.qi@linaro.org>
3328
3329 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
3330 standalone_txt. Delete gdb_txt and standalone_txt on host
3331 and target. Spawn the binary on target. Copy files from
3332 target to host.
3333
3334 2016-08-22 Pedro Alves <palves@redhat.com>
3335
3336 PR gdb/20505
3337 * gdb.base/vdso-warning.exp: Test core dumps too. Use
3338 with_test_prefix. Factor out bits to ...
3339 (test_no_vdso): ... this new procedure.
3340
3341 2016-08-19 Carl Love <cel@us.ibm.com>
3342
3343 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
3344 maintaining separate logic for constructing the output path.
3345 * gdb.arch/powerpc-d128-regs.exp: Likewise.
3346 * gdb.arch/ppc-dfp.exp: Likewise.
3347 * gdb.arch/ppc-fp.exp: Likewise.
3348 * gdb.arch/vsx-regs.exp: Likewise.
3349 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
3350 binprefix for generating the additional binary files.
3351
3352 2016-08-19 Pedro Alves <palves@redhat.com>
3353
3354 * gdb.trace/mi-trace-frame-collected.exp
3355 (test_trace_frame_collected): On x32, expect two registers.
3356
3357 2016-08-18 Carl Love <cel@us.ibm.com>
3358
3359 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
3360 and sync up the test with tests in gas/testsuite/gas/ppc.
3361 * gdb.arch/powerpc-power.exp: Likewise.
3362
3363 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
3364
3365 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
3366 expected error message.
3367
3368 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
3369
3370 * gdb.multi/remove-inferiors.exp: New file.
3371 * gdb.multi/remove-inferiors.c: New file.
3372
3373 2016-08-12 Yao Qi <yao.qi@linaro.org>
3374
3375 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
3376 argument list.
3377
3378 2016-08-10 Pedro Alves <palves@redhat.com>
3379
3380 PR gdb/19187
3381 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
3382 setup_kfails.
3383
3384 2016-08-09 Pedro Alves <palves@redhat.com>
3385 Simon Marchi <simon.marchi@ericsson.com>
3386
3387 PR gdb/20418
3388 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
3389 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
3390
3391 2016-08-09 Pedro Alves <palves@redhat.com>
3392
3393 PR mi/20431
3394 * gdb.mi/mi-cmd-error.exp: New file.
3395
3396 2016-08-09 Pedro Alves <palves@redhat.com>
3397
3398 PR gdb/18653
3399 * gdb.base/signals-state-child.c: New file.
3400 * gdb.base/signals-state-child.exp: New file.
3401 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
3402
3403 2016-08-09 Pedro Alves <palves@redhat.com>
3404
3405 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
3406
3407 2016-08-03 Tom Tromey <tom@tromey.com>
3408
3409 PR python/18565:
3410 * gdb.python/py-frame-inline.exp: Add Frame.function test.
3411
3412 2016-08-01 Yao Qi <yao.qi@linaro.org>
3413
3414 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
3415 variable mode to "multi-process" if $multi_process is 1, otherwise
3416 set it to "single-process".
3417
3418 2016-08-01 Yao Qi <yao.qi@linaro.org>
3419
3420 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
3421 * gdb.cp/cpexprs.exp: Likewise.
3422 * gdb.cp/m-static.exp: Likewise.
3423
3424 2016-07-26 Tom Tromey <tom@tromey.com>
3425
3426 PR python/20190:
3427 * gdb.threads/tls.exp (check_thread_local): Add python symbol
3428 test.
3429
3430 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
3431
3432 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
3433 selecting assembly source files.
3434 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
3435 assembly source files.
3436 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
3437 assembly source files.
3438 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
3439 selecting assembly source files.
3440
3441 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
3442
3443 * gdb.base/new-ui.exp (do_test_invalid_args): New
3444 procedure.
3445
3446 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
3447
3448 * gdb.btrace/reconnect.c: New file.
3449 * gdb.btrace/reconnect.exp: New file.
3450
3451 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
3452
3453 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
3454 to test_catch_syscall_group.
3455 (test_catch_syscall_group): New.
3456
3457 2016-07-21 Tom Tromey <tom@tromey.com>
3458
3459 * gdb.rust/simple.rs (main): Use empty struct expression.
3460 * gdb.rust/simple.exp: Add tests for empty struct expression.
3461
3462 2016-07-21 Yao Qi <yao.qi@linaro.org>
3463
3464 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
3465 if gdb_skip_xml_test is true on some targets.
3466
3467 2016-07-21 Yao Qi <yao.qi@linaro.org>
3468
3469 * gdb.server/solib-list.exp: Unset last_loaded_file.
3470
3471 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3472
3473 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
3474 "step into captured_main (args)".
3475
3476 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3477
3478 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
3479
3480 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3481
3482 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
3483
3484 2016-07-19 Pedro Alves <palves@redhat.com>
3485
3486 * gdb.opt/inline-break.exp: Remove optimize=-O2.
3487 * gdb.opt/inline-bt.exp: Likewise.
3488 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
3489 additional_flags=-Winline.
3490 * gdb.opt/inline-locals.exp: Likewise.
3491 * gdb.opt/inline-markers.c (ATTR): Define.
3492 (inlined_fn): Use it.
3493
3494 2016-07-19 Yao Qi <yao.qi@linaro.org>
3495
3496 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
3497 (test_with_self): Remove some code. Remove argument executable.
3498 (top-level): Use do_self_tests.
3499
3500 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
3501 Don Breazeal <donb@codesourcery.com>
3502
3503 * gdb.base/maint.exp: Escape paths used in regular expressions.
3504 * gdb.stabs/weird.exp: Likewise.
3505
3506 2016-07-13 Tom Tromey <tom@tromey.com>
3507
3508 PR python/15620, PR python/18620:
3509 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
3510 (test_bkpt_events): New procs.
3511
3512 2016-07-13 Tom Tromey <tom@tromey.com>
3513
3514 PR python/17698:
3515 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
3516 test.
3517 (test_watchpoints): Likewise.
3518 (test_bkpt_pending): New proc.
3519
3520 2016-07-13 Tom Tromey <tom@tromey.com>
3521
3522 PR cli/18053:
3523 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
3524 completion test.
3525
3526 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3527
3528 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
3529 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
3530 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
3531 f_label.
3532 (g): Rename g_end_lbl to g_label.
3533 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
3534 low_pc and high_pc.
3535 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
3536
3537 2016-07-12 Tom Tromey <tom@tromey.com>
3538
3539 PR python/19293:
3540 * gdb.python/py-unwind-maint.exp: Update tests.
3541
3542 2016-07-12 Yao Qi <yao.qi@linaro.org>
3543
3544 * lib/selftest-support.exp (selftest_setup): Match the output
3545 when captured_main is inlined.
3546
3547 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
3548
3549 * gdb.fortran/derived-types.exp (result_line, result_line_2):
3550 New variables.
3551 (print this%a, print this%b, print this): New tests.
3552 * gdb.fortran/derived-types.f90 (this): New object and
3553 initialization.
3554
3555 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
3556
3557 * gdb.ada/arraydim.exp: Remove extra directory level in build
3558 directory.
3559
3560 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
3561
3562 * lib/ada.exp: Remove extra directory level in build directory.
3563 * gdb.ada/cond_lang.exp: Likewise.
3564 * gdb.ada/exec_changed.exp: Likewise.
3565 * gdb.ada/lang_switch.exp: Likewise.
3566
3567 2016-07-06 Manish Goregaokar <manish@mozilla.com>
3568
3569 * simple.rs: Add test for raw pointer subscripting.
3570 * simple.exp: Add test expectations.
3571
3572 2016-07-05 Yao Qi <yao.qi@linaro.org>
3573
3574 * gdb.mi/mi-reverse.exp: Match =record-started output.
3575
3576 2016-07-01 Pedro Alves <palves@redhat.com>
3577
3578 * gdb.base/jit-reader.exp (info_registers_current_frame): New
3579 procedure.
3580 (jit_reader_test): Test the jit reader's unwinder.
3581 * gdb.base/jithost.c (jit_function_00_code): New global.
3582 (main): Use memcpy to fill in the mmapped code, instead of poking
3583 bytes manually here.
3584 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
3585 value.
3586 (read_debug_info): Save the function's range.
3587 (read_sp): New function.
3588 (unwind_frame): Use it. Also unwind RBP.
3589 (get_frame_id): Use read_sp.
3590 (gdb_init_reader): Use calloc instead of malloc.
3591 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
3592 parameter. Use gdb_test_multiple.
3593
3594 2016-07-01 Pedro Alves <palves@redhat.com>
3595 Antoine Tremblay <antoine.tremblay@ericsson.com>
3596
3597 * gdb.threads/process-dies-while-detaching.c: New file.
3598 * gdb.threads/process-dies-while-detaching.exp: New file.
3599
3600 2016-07-01 Pedro Alves <palves@redhat.com>
3601
3602 * gdb.multi/watchpoint-multi-exit.c: New file.
3603 * gdb.multi/watchpoint-multi-exit.exp: New file.
3604
3605 2016-06-30 Pedro Alves <palves@redhat.com>
3606
3607 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
3608 unset inferior_spawn_id.
3609
3610 2016-06-30 Pedro Alves <palves@redhat.com>
3611
3612 * lib/mi-support.exp (default_mi_gdb_start): Declare global
3613 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
3614
3615 2016-06-29 Yao Qi <yao.qi@linaro.org>
3616
3617 * gdb.base/return.c: Add copyright header.
3618
3619 2016-06-29 Tom Tromey <tom@tromey.com>
3620
3621 PR python/20129:
3622 * gdb.python/py-framefilter.exp: Add tests for setting priority
3623 and disabling of non-existent frame filter.
3624
3625 2016-06-29 Yao Qi <yao.qi@linaro.org>
3626
3627 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
3628 0x0f07ff.
3629
3630 2016-06-28 Yao Qi <yao.qi@linaro.org>
3631
3632 * gdb.base/catch-syscall.exp: Remove check on isnative and target
3633 triplets. Start gdb, execute catch syscall, and continue. Check
3634 gdb's output to determine catch syscall is supported.
3635
3636 2016-06-27 Manish Goregaokar <manish@mozilla.com>
3637
3638 * gdb.rust/simple.rs: Add test for returning unit in a function.
3639 * gdb.rust/simple.exp: Add expectation for functions returning
3640 unit.
3641
3642 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
3643
3644 * gdb.python/py-breakpoint-create-fail.c,
3645 gdb.python/py-breakpoint-create-fail.exp,
3646 gdb.python/py-breakpoint-create-fail.py: New testcase.
3647
3648 2016-06-25 Manish Goregaokar <manish@mozilla.com>
3649
3650 PR gdb/20239
3651 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
3652 * gdb.rust/simple.exp: Add test expectations for new NonZero
3653 tests.
3654
3655 2016-06-24 David Taylor <dtaylor@emc.com>
3656
3657 * gdb.base/offsets.exp: New file.
3658 * gdb.base/offsets.c: New file.
3659
3660 2016-06-23 Tom Tromey <tom@tromey.com>
3661
3662 PR gdb/16483:
3663 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
3664 before any filters are loaded.
3665
3666 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
3667
3668 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
3669 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
3670 structs.
3671 * gdb.fortran/derived-type-function.exp: New file.
3672 * gdb.fortran/derived-type-function.f90: New file.
3673
3674
3675 2016-06-21 Pedro Alves <palves@redhat.com>
3676
3677 * gdb.base/new-ui.exp: New file.
3678 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
3679 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
3680 (with_spawn_id): New procedure.
3681
3682 2016-06-21 Pedro Alves <palves@redhat.com>
3683
3684 * gdb.mi/mi-exec-run.exp: New file.
3685
3686 2016-06-21 Pedro Alves <palves@redhat.com>
3687
3688 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
3689 breakpoint command's output on the main UI.
3690 (test_break): New procedure, factored out from calls in the top
3691 level.
3692 (top level): Use foreach_with_prefix to test MI as main UI and as
3693 separate UI.
3694
3695 2016-06-21 Pedro Alves <palves@redhat.com>
3696
3697 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
3698 (test_awatch_creation_and_listing)
3699 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
3700 Remove 'type' parameter.
3701 (test_watchpoint_all): New parameter mi_mode. Remove
3702 with_test_prefix.
3703 (top level): Use foreach_with_prefix, and add main/separate UI MI
3704 testing axis.
3705
3706 2016-06-21 Pedro Alves <palves@redhat.com>
3707
3708 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
3709 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
3710 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
3711 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
3712 (gdb_main_spawn_id, mi_spawn_id): Declare and
3713 comment.
3714 (mi_create_inferior_pty): New procedure,
3715 factored out from default_mi_gdb_start.
3716 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
3717 procedures.
3718 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
3719 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
3720 Use mi_create_inferior_pty.
3721 (mi_gdb_start): Use eval to pass down args list.
3722
3723 2016-06-21 Pedro Alves <palves@redhat.com>
3724
3725 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
3726 * gdb.opt/inline-cmds.exp: Add MI tests.
3727
3728 2016-06-21 Pedro Alves <palves@redhat.com>
3729
3730 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
3731
3732 2016-06-21 Pedro Alves <palves@redhat.com>
3733
3734 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
3735 (top level): Use it instead of mi_execute_to.
3736
3737 2016-06-21 Pedro Alves <palves@redhat.com>
3738
3739 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
3740 (cont_handler_str): New.
3741 (signal_stop_handler): Set stop_handler_str instead of printing to
3742 stdout.
3743 (continue_handler): Set cont_handler_str instead of printing to
3744 stdout.
3745 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
3746 mi_send_resuming_command. Print stop_handler_str and
3747 cont_handler_str instead of expecting the python events print
3748 directly.
3749
3750 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
3751
3752 * gdb.base/jit-reader.exp: New file.
3753 * gdb.base/jithost.c: New file.
3754 * gdb.base/jithost.h: New file.
3755 * gdb.base/jitreader.c : New file.
3756 * gdb.base/jit-protocol.h: New file.
3757
3758 2016-06-17 Yao Qi <yao.qi@linaro.org>
3759
3760 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
3761 parameters follow_fork and detach_on_fork. Set follow-fork-mode
3762 and detach-on-fork. Adjust tests.
3763 (top level): Invoke break_cond_on_syscall with combinations of
3764 syscall, follow-fork-mode and detach-on-fork.
3765
3766 2016-06-17 Yao Qi <yao.qi@linaro.org>
3767
3768 * gdb.base/step-over-exit.c: New.
3769 * gdb.base/step-over-exit.exp: New.
3770
3771 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
3772
3773 * gdb.base/float.exp: Add target check for nds32*-*-*.
3774 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
3775
3776 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
3777
3778 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
3779 for unsupported target features.
3780 * gdb.base/call-rt-st.exp: Likewise.
3781 * gdb.base/call-sc.exp: Likewise.
3782 * gdb.base/call-signal-resume.exp: Likewise.
3783 * gdb.base/call-strs.exp: Likewise.
3784 * gdb.base/callexit.exp: Likewise.
3785 * gdb.base/callfuncs.exp: Likewise.
3786 * gdb.base/nodebug.exp: Likewise.
3787 * gdb.base/printcmds.exp: Likewise.
3788 * gdb.base/ptype.exp: Likewise.
3789 * gdb.base/structs.exp: Likewise.
3790 * gdb.base/unwindonsignal.exp: Likewise.
3791 * gdb.cp/gdb2495.exp: Likewise.
3792 * gdb.cp/templates.exp: Likewise.
3793 * gdb.cp/virtfunc.exp: Likewise.
3794 * gdb.threads/hand-call-in-threads.exp: Likewise.
3795 * gdb.threads/interrupted-hand-call.exp: Likewise.
3796 * gdb.threads/thread-unwindonsignal.exp: Likewise.
3797
3798 2016-06-10 Tom Tromey <tom@tromey.com>
3799
3800 PR rust/20110:
3801 * gdb.rust/expr.exp: Add test for integer constant larger than
3802 i32.
3803
3804 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
3805
3806 * gdb.fortran/nested-funcs.exp: New.
3807 * gdb.fortran/nested-funcs.f90: New.
3808
3809 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
3810
3811 * gdb.base/examine-backward.c: New file.
3812 * gdb.base/examine-backward.exp: New file.
3813
3814 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
3815
3816 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
3817 matching.
3818
3819 2016-06-02 Tom Tromey <tom@tromey.com>
3820
3821 PR python/18984:
3822 * gdb.python/py-shared.exp: Add solib_name test.
3823
3824 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
3825
3826 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
3827
3828 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
3829
3830 PR c++/19893
3831 * gdb.dwarf2/implref.exp: Rename to...
3832 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
3833 * gdb.dwarf2/implref-array.c: New file.
3834 * gdb.dwarf2/implref-array.exp: Likewise.
3835 * gdb.dwarf2/implref-global.c: Likewise.
3836 * gdb.dwarf2/implref-global.exp: Likewise.
3837 * gdb.dwarf2/implref-struct.c: Likewise.
3838 * gdb.dwarf2/implref-struct.exp: Likewise.
3839
3840 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
3841
3842 * gdb.trace/trace-condition.exp: Add 64bit tests.
3843
3844 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
3845
3846 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
3847 bits types.
3848 (main): Adapt to 8 to 64 bits types.
3849 * gdb.trace/trace-condition.exp: Add new tests.
3850
3851 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
3852
3853 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
3854
3855 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
3856
3857 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
3858 Move condition tests...
3859 * gdb.trace/trace-condition.exp: Here.
3860
3861 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
3862
3863 * gdb.trace/trace-condition.exp: Add counter-case tests.
3864
3865 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
3866
3867 PR c++/15231
3868 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
3869 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
3870
3871 2016-05-27 Pedro Alves <palves@redhat.com>
3872
3873 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
3874 New procedure.
3875 (top level): Call it, and bail out of DejaGnu is known to be bad.
3876
3877 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
3878
3879 * gdb.base/whatis.c: Extend the test case.
3880 * gdb.base/whatis.exp: Add additional tests.
3881
3882 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3883
3884 * gdb.fortran/type.f90: Add pointer variable.
3885 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
3886
3887 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3888
3889 * gdb.fortran/vla-type.exp: Fix testcase name.
3890
3891 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3892
3893 * gdb.fortran/vla-type.exp: Access elements in nested structs.
3894
3895 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3896
3897 * gdb.fortran/type.f90: Add nested structures.
3898 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
3899 * gdb.fortran/derived-type.exp: Adapt expected output.
3900 * gdb.fortran/vla-type.exp: Adapt expected output.
3901
3902 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3903
3904 * gdb.fortran/whatis_type.exp: Adapt expected output.
3905
3906 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3907
3908 * gdb.fortran/print_type.exp: Fix expected output.
3909 * gdb.fortran/whatis_type.exp: Fix expected output.
3910
3911 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3912
3913 * gdb.fortran/whatis_type.exp: Use multi_line.
3914
3915 2016-05-24 Tom Tromey <tom@tromey.com>
3916
3917 PR python/17386:
3918 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
3919 use value as an index.
3920
3921 2016-05-23 Tom Tromey <tom@tromey.com>
3922
3923 PR python/17981:
3924 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
3925 no-breakpoint case.
3926
3927 2016-05-24 Pedro Alves <palves@redhat.com>
3928
3929 PR gdb/19828
3930 * gdb.threads/clone-attach-detach.c: New file.
3931 * gdb.threads/clone-attach-detach.exp: New file.
3932
3933 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
3934
3935 * gdb.base/annota-input-while-running.exp: Fix syntax error.
3936
3937 2016-05-23 Tom Tromey <tom@tromey.com>
3938
3939 PR python/19438, PR python/18393:
3940 * gdb.python/py-progspace.exp: Add "dir" test.
3941 * gdb.python/py-objfile.exp: Add "dir" test.
3942
3943 2016-05-23 Yao Qi <yao.qi@linaro.org>
3944
3945 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
3946 * gdb.arch/thumb2-it.exp: Likewise.
3947
3948 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
3949
3950 * gdb.mi/mi-threads-interrupt.c: New file.
3951 * gdb.mi/mi-threads-interrupt.exp: New file.
3952
3953 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
3954
3955 PR gdb/18077
3956 * gdb.mi/mi-async-run.exp: New file.
3957 * gdb.mi/mi-async-run.c: New file.
3958
3959 2016-05-17 Tom Tromey <tom@tromey.com>
3960 Manish Goregaokar <manishsmail@gmail.com>
3961
3962 * lib/rust-support.exp: New file.
3963 * lib/gdb.exp (skip_rust_tests): New proc.
3964 (build_executable_from_specs): Handle rust.
3965 * lib/future.exp (gdb_find_rustc): New proc.
3966 (gdb_default_target_compile): Handle rust.
3967 * gdb.rust/expr.exp: New file.
3968 * gdb.rust/generics.exp: New file.
3969 * gdb.rust/generics.rs: New file.
3970 * gdb.rust/methods.exp: New file.
3971 * gdb.rust/methods.rs: New file.
3972 * gdb.rust/modules.exp: New file.
3973 * gdb.rust/modules.rs: New file.
3974 * gdb.rust/simple.exp: New file.
3975 * gdb.rust/simple.rs: New file.
3976
3977 2016-05-17 Tom Tromey <tom@tromey.com>
3978
3979 * gdb.base/default.exp (set language): Add rust.
3980
3981 2016-05-17 Tom Tromey <tom@tromey.com>
3982
3983 * gdb.gdb/unittest.exp: New file.
3984
3985 2016-05-16 Yao Qi <yao.qi@linaro.org>
3986
3987 * gdb.base/batch-preserve-term-settings.exp: Remove variable
3988 shell_prompt. Update shell_prompt_re.
3989
3990 2016-05-12 Doug Evans <dje@google.com>
3991
3992 PR symtab/19999
3993 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
3994 $options when building executable.
3995 * gdb.dwarf2/fission-loclists-pie.S: New file.
3996 * gdb.dwarf2/fission-loclists-pie.exp: New file.
3997
3998 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
3999
4000 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
4001 of [is_remote target],
4002
4003 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
4004
4005 * lib/gdb.exp (use_gdb_stub): New procedure.
4006
4007 2016-05-03 Yunlian Jiang <yunlian@google.com>
4008 Doug Evans <dje@google.com>
4009
4010 PR symtab/19914
4011 * gdb.dwarf2/dwp-sepdebug.c: New file.
4012 * gdb.dwarf2/dwp-sepdebug.exp: New file.
4013
4014 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
4015
4016 * gdb.base/detach.exp: Remove is_remote check.
4017
4018 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
4019
4020 * gdb.base/annota-input-while-running.exp: Don't check for
4021 [is_remote target]. Enable annotations after running to main.
4022 Remove unused "set test..." line.
4023
4024 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
4025
4026 * gdb.trace/trace-enable-disable.exp: New file.
4027 * gdb.trace/trace-enable-disable.c: New file.
4028
4029 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
4030
4031 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
4032 use it in info sharedlibrary test.
4033 * gdb.trace/ftrace-lock.exp: Likewise.
4034 * gdb.trace/ftrace.exp: Likewise.
4035 * gdb.trace/range-stepping.exp: Likewise.
4036 * gdb.trace/trace-break.exp: Likewise.
4037 * gdb.trace/trace-condition.exp: Likewise.
4038 * gdb.trace/trace-mt.exp: Likewise.
4039
4040 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
4041
4042 * lib/gdb.exp (gdb_load_shlibs): Rename to...
4043 (gdb_load_shlib): ... this.
4044 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
4045 gdb_load_shlib.
4046 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
4047 * gdb.base/ctxobj.exp: Likewise.
4048 * gdb.base/dprintf-pending.exp: Likewise.
4049 * gdb.base/dso2dso.exp: Likewise.
4050 * gdb.base/fixsection.exp: Likewise.
4051 * gdb.base/gcore-relro.exp: Likewise.
4052 * gdb.base/gdb1555.exp: Likewise.
4053 * gdb.base/global-var-nested-by-dso.exp: Likewise.
4054 * gdb.base/gnu-ifunc.exp: Likewise.
4055 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
4056 * gdb.base/jit-so.exp (one_jit_test): Likewise.
4057 * gdb.base/pending.exp: Likewise.
4058 * gdb.base/print-file-var.exp: Likewise.
4059 * gdb.base/print-symbol-loading.exp: Likewise.
4060 * gdb.base/shlib-call.exp: Likewise.
4061 * gdb.base/shreloc.exp: Likewise.
4062 * gdb.base/so-impl-ld.exp: Likewise.
4063 * gdb.base/solib-disc.exp: Likewise.
4064 * gdb.base/solib-nodir.exp: Likewise.
4065 * gdb.base/solib-overlap.exp: Likewise.
4066 * gdb.base/solib-symbol.exp: Likewise.
4067 * gdb.base/solib-weak.exp (do_test): Likewise.
4068 * gdb.base/sym-file.exp: Likewise.
4069 * gdb.base/symtab-search-order.exp: Likewise.
4070 * gdb.base/type-opaque.exp: Likewise.
4071 * gdb.base/unload.exp: Likewise.
4072 * gdb.base/watchpoint-solib.exp: Likewise.
4073 * gdb.compile/compile.exp: Likewise.
4074 * gdb.cp/gdb2384.exp: Likewise.
4075 * gdb.cp/infcall-dlopen.exp: Likewise.
4076 * gdb.cp/re-set-overloaded.exp: Likewise.
4077 * gdb.fortran/library-module.exp: Likewise.
4078 * gdb.opt/solib-intra-step.exp: Likewise.
4079 * gdb.python/py-finish-breakpoint.exp: Likewise.
4080 * gdb.python/py-shared.exp: Likewise.
4081 * gdb.reverse/solib-precsave.exp: Likewise.
4082 * gdb.reverse/solib-reverse.exp: Likewise.
4083 * gdb.server/solib-list.exp: Likewise.
4084 * gdb.threads/dlopen-libpthread.exp: Likewise.
4085 * gdb.threads/tls-shared.exp: Likewise.
4086 * gdb.threads/tls-so_extern.exp: Likewise.
4087 * gdb.trace/change-loc.exp: Likewise.
4088 * gdb.trace/ftrace-lock.exp: Likewise.
4089 * gdb.trace/ftrace.exp: Likewise.
4090 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
4091 * gdb.trace/pending.exp: Likewise.
4092 * gdb.trace/range-stepping.exp: Likewise.
4093 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
4094 (strace_info_marker): Likewise.
4095 (strace_probe_marker): Likewise.
4096 (strace_trace_on_same_addr): Likewise.
4097 (strace_trace_on_diff_addr): Likewise.
4098 * gdb.trace/trace-break.exp: Likewise.
4099 * gdb.trace/trace-condition.exp: Likewise.
4100 * gdb.trace/trace-mt.exp: Likewise.
4101
4102 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
4103
4104 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
4105 result of gdb_remote_download.
4106 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
4107 * gdb.base/dso2dso.exp: Likewise.
4108 * gdb.base/global-var-nested-by-dso.exp: Likewise.
4109 * gdb.base/print-file-var.exp: Likewise.
4110 * gdb.base/shlib-call.exp: Likewise.
4111 * gdb.base/shreloc.exp: Likewise.
4112 * gdb.base/solib-overlap.exp: Likewise.
4113 * gdb.base/solib-weak.exp (do_test): Likewise.
4114 * gdb.base/unload.exp: Likewise.
4115
4116 2016-04-27 Yao Qi <yao.qi@linaro.org>
4117
4118 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
4119 exists.
4120
4121 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
4122
4123 * vla-type.exp: Print structure from toplevel.
4124
4125 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
4126
4127 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
4128 of dynamic types.
4129 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
4130 of dynamic types.
4131
4132 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
4133
4134 * gdb.fortran/vla-type.f90: New file.
4135 * gdb.fortran/vla-type.exp: New file.
4136
4137 2016-04-25 Yao Qi <yao.qi@linaro.org>
4138
4139 * gdb.base/branch-to-self.c: New file.
4140 * gdb.base/branch-to-self.exp: New file.
4141
4142 2016-04-22 Yao Qi <yao.qi@linaro.org>
4143
4144 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
4145 more after $hex.
4146
4147 2016-04-22 Yao Qi <yao.qi@linaro.org>
4148
4149 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
4150 * gdb.base/annota3.exp: Likewise.
4151
4152 2016-04-22 Yao Qi <yao.qi@linaro.org>
4153
4154 * gdb.reverse/step-precsave.exp: Do one step and test program
4155 stops in "callee" and do multiple steps until program goes out
4156 of "callee".
4157 * gdb.reverse/step-reverse.exp: Likewise.
4158
4159 2016-04-22 Yao Qi <yao.qi@linaro.org>
4160
4161 * gdb.trace/signal.exp: Also pass if
4162 $tracepoint_hits($i) > $iterations.
4163
4164 2016-04-22 Yao Qi <yao.qi@linaro.org>
4165
4166 * gdb.trace/signal.c: New file.
4167 * gdb.trace/signal.exp: New file.
4168
4169 2016-04-19 Doug Evans <xdje42@gmail.com>
4170
4171 * gdb.base/bad-file.exp: New file.
4172
4173 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
4174
4175 * gdb.dwarf2/implref.exp: New file.
4176
4177 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
4178
4179 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
4180 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
4181 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
4182 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
4183 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
4184 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
4185 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
4186 * lib/fortran.exp (fortran_int4): New procedure.
4187 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
4188 (fortran_logical4): Likewise.
4189
4190 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
4191
4192 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
4193
4194 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
4195
4196 * lib/compiler.c: Add Intel specific preprocessor macros.
4197 * lib/compiler.cc: Likewise.
4198
4199 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
4200
4201 * gdb.server/connect-with-no-symbol-file.c: New file.
4202 * gdb.server/connect-with-no-symbol-file.exp: New file.
4203
4204 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
4205
4206 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
4207
4208 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
4209
4210 * boards/gdbserver-base.exp (${board}_download): Copy source file to
4211 standard output directory.
4212
4213 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
4214
4215 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
4216
4217 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
4218
4219 * gdb.btrace/instruction_history.c (loop): Add declaration.
4220
4221 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
4222
4223 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
4224
4225 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
4226
4227 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
4228 parentheses to print.
4229 (continue_handler): Likewise.
4230
4231 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
4232
4233 * gdb.server/solib-list.exp: Remove is_remote check.
4234 Pass shlib= to gdb_compile. Don't link shared library with
4235 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
4236 Run binary filename through "readlink -f" on the target.
4237
4238 2016-04-08 Pedro Alves <palves@redhat.com>
4239
4240 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
4241 interpreter filename as argument to gdbserver_spawn.
4242 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
4243 Return empty if $last_loaded_file does not exist.
4244
4245 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4246
4247 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
4248 * gdb.base/jit-main.c: Use exit after usage.
4249
4250 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4251
4252 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
4253 GDBHISTSIZE prior to the tests.
4254 * gdb.base/gdbinit-history.exp: Likewise.
4255
4256 2016-04-07 Pedro Alves <palves@redhat.com>
4257
4258 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
4259 instead of build_executable. Use gdb_load_shlibs.
4260
4261 2016-04-07 Yao Qi <yao.qi@linaro.org>
4262
4263 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
4264 Execute "si" command.
4265
4266 2016-04-07 Yao Qi <yao.qi@linaro.org>
4267
4268 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
4269 number instead of the comments on some line.
4270
4271 2016-04-06 Don Breazeal <donb@codesourcery.com>
4272
4273 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
4274 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
4275
4276 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
4277
4278 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
4279 standard_output_file. Remove unused binfile variable.
4280
4281 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
4282
4283 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
4284 * gdb.python/py-mi-objfile.exp: Match "list main" output
4285 in console format.
4286
4287 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
4288
4289 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
4290 absolute.
4291
4292 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
4293
4294 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
4295 absolute.
4296 * gdb.trace/ftrace.exp: Likewise.
4297 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
4298 targets as well.
4299 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
4300 (gdb_load_shlibs): Copy libraries to test directory when testing
4301 natively. Only set solib-search-path if testing remotely.
4302 * lib/mi-support.exp (mi_load_shlibs): Likewise.
4303
4304 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
4305
4306 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
4307 gdb_download. Use it even if the target is not remote.
4308 * gdb.base/jit.exp (compile_jit_test): Likewise.
4309 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
4310 output directory if the destination board is local, otherwise use
4311 the standard remote_download from DejaGnu.
4312 (gdb_download): Remove.
4313 (gdb_load_shlibs): Use gdb_remote_download instead of
4314 gdb_download.
4315 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
4316 Use gdb_remote_download instead of gdb_download. Use it even if
4317 the target is not remote.
4318 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
4319 instead of gdb_download.
4320
4321 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
4322
4323 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
4324 (test_insert_delete_modify): Call mi_load_shlibs before trying to
4325 run.
4326
4327 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
4328
4329 PR gdb/19820
4330 * gdb.base/printcmds.exp: Add artificial arrays tests.
4331
4332 2016-03-31 Pedro Alves <palves@redhat.com>
4333
4334 PR gdb/19858
4335 * gdb.base/jit-main.c: Include unistd.h.
4336 (ATTACH): Define to 0 if not already defined.
4337 (wait_for_gdb, mypid): New globals.
4338 (WAIT_FOR_GDB): New macro.
4339 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
4340 some breakpoint locations.
4341 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
4342 New procedures.
4343 (one_jit_test): Add REATTACH parameter, and handle it. Use
4344 continue_to_test_location.
4345 (top level): Test attach, and adjusts calls to one_jit_test.
4346
4347 2016-03-31 Pedro Alves <palves@redhat.com>
4348
4349 PR gdb/19858
4350 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
4351 BINSUFFIX parameter, and handle it.
4352 (top level): Adjust calls compile_jit_test.
4353
4354 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
4355
4356 PR python/19743
4357 * gdb.python/py-mi-events-gdb.py: New file.
4358 * gdb.python/py-mi-events.c: New file.
4359 * gdb.python/py-mi-events.exp: New file.
4360
4361 2016-03-30 Yao Qi <yao.qi@linaro.org>
4362
4363 * gdb.reverse/until-precsave.exp: Match function name only.
4364 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
4365 Move malloc to a condition block.
4366 * gdb.reverse/until-reverse.exp: Match function name only.
4367
4368 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
4369
4370 * gdb.trace/ftrace.exp: Set arg0exp for s390.
4371 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
4372 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
4373 variable for GPR 0 instead of assuming it is register 0.
4374 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
4375 * lib/trace-support.exp: Add s390 registers.
4376
4377 2016-03-29 Yao Qi <yao.qi@linaro.org>
4378
4379 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
4380
4381 2016-03-24 Yao Qi <yao.qi@linaro.org>
4382
4383 * gdb.reverse/break-reverse.exp: Add quotation mark in the
4384 test message.
4385
4386 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4387
4388 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
4389 maintaining separate logic for constructing the output path.
4390
4391 2016-03-16 Don Breazeal <donb@codesourcery.com>
4392
4393 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
4394 Retry fork and waitpid on interrupted system call errors.
4395 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
4396 Use with_timeout_factor to increase timeout by factor of 10.
4397
4398 2016-03-15 Don Breazeal <donb@codesourcery.com>
4399
4400 * gdb.cp/scope-err.cc: New test program.
4401 * gdb.cp/scope-err.exp: New test script.
4402 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
4403 lines and "set breakpoint here" comment.
4404 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
4405 Fixed some whitespace and format issues.
4406 * gdb.mi/mi-linespec-err-cp.cc: New test program.
4407 * gdb.mi/mi-linespec-err-cp.exp: New test script.
4408
4409 2016-03-15 Doug Evans <dje@google.com>
4410
4411 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
4412 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
4413 All callers updated. Add tests for enums, mixed flags register.
4414
4415 2016-03-15 Doug Evans <dje@google.com>
4416
4417 * gdb.base/skip.c (main): Call test_skip_file_and_function.
4418 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
4419
4420 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
4421
4422 * gdb.base/default.exp: Add $_as_string to the list of expected
4423 convenience functions.
4424
4425 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
4426
4427 * gdb.base/maint.exp: New tests for 'maint info line-table'.
4428
4429 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
4430
4431 * gdb.python/py-as-string.exp: New file.
4432 * gdb.python/py-as-string.c: New file.
4433
4434 2016-03-09 Pedro Alves <palves@redhat.com>
4435
4436 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
4437 signal" -> "Thread NN received signal" output change.
4438 * gdb.threads/ia64-sigill.exp: Likewise.
4439 * gdb.threads/linux-dp.exp: Likewise.
4440 * gdb.threads/manythreads.exp: Likewise.
4441 * gdb.threads/pending-step.exp: Likewise.
4442 * gdb.threads/print-threads.exp: Likewise.
4443 * gdb.threads/sigstep-threads.exp: Likewise.
4444 * gdb.threads/staticthreads.exp: Likewise.
4445 * gdb.threads/tls.exp: Likewise.
4446
4447 2016-03-09 Pedro Alves <palves@redhat.com>
4448
4449 * gdb.base/command-line-input.exp: New file.
4450
4451 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
4452
4453 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
4454 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
4455 * gdb.trace/pending.exp: Accept leading dot before function name.
4456 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
4457 * lib/trace-support.exp: Set registers for ppc.
4458
4459 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
4460
4461 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
4462 use it for disassembly; accept .main in addition to main in backtrace.
4463
4464 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
4465 Marcin Kościelnicki <koriakin@0x04.net>
4466
4467 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
4468 (gdb_recursion_test_ptr): New global variable.
4469 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
4470 gdb_recursion_test.
4471 (gdb_c_test): Ditto.
4472
4473 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
4474
4475 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
4476 ordering.
4477
4478 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
4479
4480 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
4481 (bar): Add bar_start_lbl label.
4482 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
4483 of foo/bar for emitting DWARF and tracing.
4484
4485 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
4486
4487 * analyze-racy-logs.py: Set executable bit.
4488
4489 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
4490
4491 * Makefile.in (DEFAULT_RACY_ITER): New variable.
4492 (CHECK_TARGET_TMP): Likewise.
4493 (check-single-racy): New rule.
4494 (check-parallel-racy): Likewise.
4495 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
4496 (do-check-parallel-racy): New rule.
4497 (check-racy/%.exp): Likewise.
4498 * README (Racy testcases): New section.
4499 * analyze-racy-logs.py: New file.
4500
4501 2016-03-03 Doug Evans <dje@google.com>
4502
4503 * gdb.base/skip.exp: Use with_test_prefix.
4504
4505 2016-03-03 Yao Qi <yao.qi@linaro.org>
4506
4507 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
4508 Invoke step_over_syscall "clone" and break_cond_on_syscall
4509 "clone".
4510 * gdb.base/step-over-clone.c: New file.
4511
4512 2016-03-03 Yao Qi <yao.qi@linaro.org>
4513
4514 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
4515 code format.
4516
4517 2016-03-03 Yao Qi <yao.qi@linaro.org>
4518
4519 * gdb.base/disp-step-fork.c: Rename to ...
4520 * gdb.base/step-over-fork.c: ... it. New file.
4521 * gdb.base/disp-step-vfork.c: Rename to ...
4522 * gdb.base/step-over-vfork.c: ... it. New file.
4523 * gdb.base/disp-step-syscall.exp: Rename to ...
4524 * gdb.base/step-over-syscall.exp: ... it. New file.
4525 (disp_step_cross_syscall): Rename to ...
4526 (step_over_syscall): ... it.
4527
4528 2016-03-03 Yao Qi <yao.qi@linaro.org>
4529
4530 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
4531 If target supports condition evaluation on target, invoke
4532 break_cond_on_syscall for fork and vfork.
4533
4534 2016-03-03 Yao Qi <yao.qi@linaro.org>
4535
4536 * gdb.base/disp-step-syscall.exp: Don't invoke
4537 support_displaced_stepping.
4538 (disp_step_cross_syscall): Test with displaced stepping off and
4539 on if supported.
4540
4541 2016-03-03 Yao Qi <yao.qi@linaro.org>
4542
4543 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
4544 proc.
4545 (setup): New proc.
4546 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
4547 and setup.
4548
4549 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
4550
4551 * gdb.fortran/vla-history.exp: Remove breakpoint.
4552
4553 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
4554
4555 * gdb.fortran/vla-history.exp: Lookup array elements and printing
4556 exceeds timeout.
4557
4558 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
4559
4560 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
4561 breakpoint.
4562
4563 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
4564
4565 * gdb.mi/vla.f90: Nullify pointer after declaration.
4566
4567 2016-03-01 Pedro Alves <palves@redhat.com>
4568
4569 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
4570
4571 2016-03-01 Pedro Alves <palves@redhat.com>
4572
4573 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
4574 before anything else.
4575 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
4576 _GNU_SOURCE here.
4577 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
4578 before anything else.
4579 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
4580
4581 2016-03-01 Pedro Alves <palves@redhat.com>
4582
4583 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
4584
4585 2016-03-01 Yao Qi <yao.qi@linaro.org>
4586
4587 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
4588 prepare_for_testing.
4589
4590 2016-03-01 Yao Qi <yao.qi@linaro.org>
4591
4592 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
4593
4594 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
4595
4596 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
4597 manually constructing the output path.
4598
4599 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
4600
4601 * gdb.arch/s390-stackless.S: New.
4602 * gdb.arch/s390-stackless.exp: New.
4603
4604 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
4605
4606 * gdb.dlang/circular.c: New file.
4607 * gdb.dlang/circular.exp: New file.
4608
4609 2016-02-26 Yao Qi <yao.qi@linaro.org>
4610
4611 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
4612 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
4613 (testcases): Update.
4614
4615 2016-02-26 Yao Qi <yao.qi@linaro.org>
4616
4617 * gdb.reverse/aarch64.c: Rename to ...
4618 * gdb.reverse/insn-reverse.c: ... it.
4619 * gdb.reverse/aarch64.exp: Rename to ...
4620 * gdb.reverse/insn-reverse.exp: ... it.
4621
4622 2016-02-26 Yao Qi <yao.qi@linaro.org>
4623
4624 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
4625 (testcase_ftype): New.
4626 (testcases): New array.
4627 (n_testcases): New.
4628 (main): Call each element in testcases.
4629 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
4630 (read_testcase): New.
4631 Do the tests in a loop.
4632
4633 2016-02-25 Yao Qi <yao.qi@linaro.org>
4634
4635 * gdb.base/branches.c: Remove.
4636
4637 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
4638
4639 PR gdb/13808
4640 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
4641
4642 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
4643
4644 * gdb.trace/ftrace.exp: Remove unnecessary target check.
4645
4646 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
4647
4648 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
4649 change x86_64 call_insn to 'callq'.
4650
4651 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4652
4653 * gdb.trace/tfile-avx.c: Move to...
4654 * gdb.trace/tracefile-pseudo-reg.c: Here.
4655 * gdb.trace/tfile-avx.exp: Move to...
4656 * gdb.trace/tracefile-pseudo-reg.exp: Here.
4657
4658 2016-02-24 Gary Benson <gbenson@redhat.com>
4659
4660 * gdb.base/attach-pie-noexec.exp: Do not expect an error
4661 message on attach.
4662
4663 2016-02-23 Doug Evans <dje@google.com>
4664
4665 * gdb.base/skip.c (test_skip): New function.
4666 (end_test_skip_file_and_function): New function.
4667 (test_skip_file_and_function): New function.
4668 * gdb.base/skip1.c (test_skip): New function.
4669 (skip1_test_skip_file_and_function): New function.
4670 * gdb.base/skip.exp: Add tests for new skip options.
4671 * gdb.base/skip-solib.exp: Update expected output.
4672 * gdb.perf/skip-command.cc: New file.
4673 * gdb.perf/skip-command.exp: New file.
4674 * gdb.perf/skip-command.py: New file.
4675
4676 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
4677
4678 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
4679 info registers pattern.
4680
4681 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
4682
4683 * lib/future.exp: Add D support.
4684 (gdb_find_gdc): New proc.
4685 (gdb_default_target_compile): Add D support.
4686
4687 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
4688
4689 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
4690 user+system time.
4691 (trace_speed_test): Determine the iteration count for a time
4692 between 15..30 seconds.
4693
4694 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
4695
4696 * gdb.arch/i386-mpx-sigsegv.c: New file.
4697 * gdb.arch/i386-mpx-sigsegv.exp: New file.
4698 * gdb.arch/i386-mpx-simple_segv.c: New file.
4699 * gdb.arch/i386-mpx-simple_segv.exp: New file.
4700
4701 2016-02-18 Yao Qi <yao.qi@linaro.org>
4702
4703 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
4704 Don't call setup_kfail.
4705
4706 2016-02-18 Yao Qi <yao.qi@linaro.org>
4707
4708 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
4709 Set "set breakpoint condition-evaluation" per $cond_bp_target.
4710
4711 2016-02-16 Doug Evans <dje@google.com>
4712
4713 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
4714 * gdb.base/skip1.c: Ditto.
4715 * gdb.base/skip.exp: Whitespace cleanup.
4716
4717 2016-02-16 Don Breazeal <donb@codesourcery.com>
4718
4719 PR remote/19496
4720 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
4721 Remove kfail for PR remote/19496.
4722
4723 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
4724
4725 * lib/gdb.exp (standard_temp_file): Return a path specific to
4726 the runtest invocation.
4727
4728 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
4729
4730 * gdb.trace/save-trace.exp: Change relative path to be in the
4731 standard output directory.
4732
4733 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4734
4735 * gdb.arch/i386-prologue.c: Add missing prototypes.
4736
4737 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4738
4739 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
4740 * gdb.arch/i386-prologue.exp: Likewise.
4741 * gdb.arch/i386-size.exp: Likewise.
4742
4743 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
4744
4745 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
4746 define object file path.
4747 * gdb.btrace/gcore.exp: Use standard_output_file to define core
4748 file path.
4749 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
4750 standard_output_file to define binfile.
4751
4752 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4753
4754 Fix compatibility with recent gfortran-5.3.1.
4755 * gdb.fortran/vla-history.exp (print vla1 allocated)
4756 (print vla2 allocated, print $2, print $3): Remove
4757 (print $4): Rename to ...
4758 (print $2): ... here.
4759 (print $9): Rename to ...
4760 (print $5): ... here.
4761 (print $10): Rename to ...
4762 (print $6): ... here.
4763 * gdb.fortran/vla.f90: Add pvla initialization.
4764
4765 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4766
4767 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
4768 New test.
4769 * gdb.fortran/vla-value-sub.exp: Likewise.
4770
4771 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
4772
4773 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
4774
4775 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
4776
4777 * i386-biarch-core.exp: Define corefile using
4778 standard_output_file.
4779
4780 2016-02-12 Yao Qi <yao.qi@linaro.org>
4781
4782 * gdb.arch/arm-single-step-kernel-helper.c: New.
4783 * gdb.arch/arm-single-step-kernel-helper.exp: New.
4784
4785 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
4786
4787 * gdb.btrace/tailcall-only.exp: New.
4788 * gdb.btrace/tailcall-only.c: New.
4789 * gdb.btrace/x86_64-tailcall-only.S: New.
4790 * gdb.btrace/i686-tailcall-only.S: New.
4791
4792 2016-02-11 Pedro Alves <palves@redhat.com>
4793
4794 * README (Parallel testing): Add missing double quotes.
4795
4796 2016-02-11 Pedro Alves <palves@redhat.com>
4797
4798 * README (Parallel testing): New section.
4799 (GDB_PARALLEL): Rewrite.
4800 (FORCE_PARALLEL): Document.
4801
4802 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
4803
4804 * gdb.trace/tfile-avx.c: New test.
4805 * gdb.trace/tfile-avx.exp: New test.
4806
4807 2016-02-09 Keith Seitz <keiths@redhat.com>
4808
4809 PR breakpoints/19546
4810 * gdb.base/infcall-exec.c: New file.
4811 * gdb.base/infcall-exec2.c: New file.
4812 * gdb.base/infcall-exec.exp: New file.
4813
4814 2016-02-09 Keith Seitz <keiths@redhat.com>
4815
4816 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
4817 (toplevel): Call test_bkpt_address.
4818
4819 2016-02-09 Keith Seitz <keiths@redhat.com>
4820
4821 PR python/19506
4822 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
4823 (toplevel): Call test_bkpt_address.
4824
4825 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
4826
4827 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
4828 to AC_OUTPUT.
4829 * configure: Regenerate.
4830
4831 2016-02-09 Pedro Alves <palves@redhat.com>
4832
4833 PR breakpoints/19548
4834 * gdb.base/execl-update-breakpoints.c (some_function): New
4835 function.
4836 (main): Call it.
4837 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
4838 Tighten expected GDB output.
4839
4840 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
4841
4842 * Makefile.in (ALL_SUBDIRS): Remove.
4843 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
4844 (distclean maintainer-clean realclean): Likewise.
4845 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
4846 * configure: Regenerate.
4847 * gdb.ada/Makefile.in: Delete.
4848 * gdb.arch/Makefile.in: Likewise.
4849 * gdb.asm/Makefile.in: Likewise.
4850 * gdb.base/Makefile.in: Likewise.
4851 * gdb.btrace/Makefile.in: Likewise.
4852 * gdb.cell/Makefile.in: Likewise.
4853 * gdb.compile/Makefile.in: Likewise.
4854 * gdb.cp/Makefile.in: Likewise.
4855 * gdb.disasm/Makefile.in: Likewise.
4856 * gdb.dlang/Makefile.in: Likewise.
4857 * gdb.dwarf2/Makefile.in: Likewise.
4858 * gdb.fortran/Makefile.in: Likewise.
4859 * gdb.gdb/Makefile.in: Likewise.
4860 * gdb.go/Makefile.in: Likewise.
4861 * gdb.guile/Makefile.in: Likewise.
4862 * gdb.java/Makefile.in: Likewise.
4863 * gdb.linespec/Makefile.in: Likewise.
4864 * gdb.mi/Makefile.in: Likewise.
4865 * gdb.modula2/Makefile.in: Likewise.
4866 * gdb.multi/Makefile.in: Likewise.
4867 * gdb.objc/Makefile.in: Likewise.
4868 * gdb.opencl/Makefile.in: Likewise.
4869 * gdb.opt/Makefile.in: Likewise.
4870 * gdb.pascal/Makefile.in: Likewise.
4871 * gdb.perf/Makefile.in: Likewise.
4872 * gdb.python/Makefile.in: Likewise.
4873 * gdb.reverse/Makefile.in: Likewise.
4874 * gdb.server/Makefile.in: Likewise.
4875 * gdb.stabs/Makefile.in: Likewise.
4876 * gdb.threads/Makefile.in: Likewise.
4877 * gdb.trace/Makefile.in: Likewise.
4878 * gdb.xml/Makefile.in: Likewise.
4879 * lib/gdb.exp (make_gdb_parallel_path): Add check for
4880 GDB_PARALLEL.
4881 (standard_output_file): Remove check for GDB_PARALLEL, always
4882 return path in outputs/$subdir/$testname.
4883
4884 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
4885
4886 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
4887 (site.exp): Assign abs_srcdir to tcl's srcdir.
4888
4889 2016-02-04 Yao Qi <yao.qi@linaro.org>
4890
4891 * gdb.base/foll-exec-mode.c: Include limits.h.
4892 (main): Add parameters argc and argv. Get directory from
4893 argv[0].
4894 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
4895 compilation.
4896 * gdb.base/foll-exec.c: Include limits.h.
4897 (main): Add parameters argc and argv.
4898 Get directory from argv[0].
4899 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
4900 Adjust tests on the number of lines as source code changed.
4901 * gdb.base/foll-vfork-exit.c: Include limits.h.
4902 (main): Add one line of statement before vfork.
4903 * gdb.base/foll-vfork.c: Include limits.h and string.h.
4904 (main): Add parameters argc and argv. Get directory from
4905 argv[0].
4906 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
4907 (setup_gdb): Set tbreak to skip some source lines.
4908 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
4909 (main): Add parameters argc and argv. Get directory from
4910 argv[0].
4911 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
4912 compilation.
4913 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
4914 (main): Add parameters argc and argv. Get directory from
4915 argv[0].
4916 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
4917 compilation.
4918
4919 2016-02-01 Doug Evans <dje@google.com>
4920
4921 * gdb.base/skip.exp: Clean up multiple references to same test name.
4922
4923 2016-02-01 Pedro Alves <palves@redhat.com>
4924
4925 PR remote/19496
4926 * gdb.threads/forking-threads-plus-breakpoint.exp
4927 (displaced_stepping_supported): New global.
4928 (probe_displaced_stepping_support): New procedure.
4929 (do_test): Add 'displaced' parameter, and use it.
4930 (top level): Check for displaced stepping support. Add displaced
4931 stepping on/off testing axis.
4932
4933 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
4934
4935 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
4936 pointer. Don't perform further tests on the unassociated pointer
4937 if the first test fails.
4938
4939 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
4940
4941 * gdb.base/max-value-size.c: New file.
4942 * gdb.base/max-value-size.exp: New file.
4943 * gdb.base/huge.exp: Disable max-value-size for this test.
4944
4945 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
4946
4947 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
4948
4949 2016-01-28 Yao Qi <yao.qi@linaro.org>
4950
4951 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
4952
4953 2016-01-25 Pedro Alves <palves@redhat.com>
4954
4955 PR threads/19461
4956 * gdb.base/fork-running-state.c: New file.
4957 * gdb.base/fork-running-state.exp: New file.
4958
4959 2016-01-25 Pedro Alves <palves@redhat.com>
4960
4961 PR gdb/19494
4962 * gdb.base/catch-fork-kill.c: New file.
4963 * gdb.base/catch-fork-kill.exp: New file.
4964
4965 2016-01-25 Pedro Alves <palves@redhat.com>
4966
4967 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
4968 Delete, moved to lib/gdb.exp.
4969 * gdb.threads/forking-threads-plus-breakpoint.exp
4970 (foreach_with_prefix): Likewise.
4971 * gdb.threads/process-dies-while-handling-bp.exp
4972 (foreach_with_prefix): Likewise.
4973 * lib/gdb.exp (foreach_with_prefix): New procedure.
4974
4975 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
4976
4977 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
4978 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
4979
4980 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
4981
4982 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
4983 endian targets.
4984
4985 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4986 Pedro Alves <palves@redhat.com>
4987
4988 Fix testsuite compatibility with Guile.
4989 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
4990 number.
4991
4992 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4993
4994 Fix testsuite compatibility with Guile.
4995 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
4996 (thread 1): New test for backtrace through signal handler.
4997
4998 2016-01-22 Yao Qi <yao.qi@linaro.org>
4999
5000 PR testsuite/19491
5001 * gdb.base/multi-forks.c: Include
5002 ../lib/unbuffer_output.c
5003 (main): Call gdb_unbuffer_output.
5004
5005 2016-01-21 Doug Evans <dje@google.com>
5006
5007 * lib/ada.exp (gdb_compile_ada): Fix typo.
5008
5009 2016-01-21 Joel Brobecker <brobecker@adacore.com>
5010
5011 * gdb.base/break-fun-addr.exp: New file.
5012 * gdb.base/break-fun-addr1.c: New file.
5013 * gdb.base/break-fun-addr2.c: New file.
5014
5015 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
5016
5017 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
5018 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
5019 enum flag values.
5020
5021 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
5022
5023 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
5024 when GDB can not set the vector return value. Add more comments
5025 for clarification.
5026
5027 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
5028
5029 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
5030 command.
5031
5032 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
5033
5034 * Makefile.in (DO_RUNTEST): Add --status and update usages.
5035
5036 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
5037
5038 * Makefile.in (check-single): Pass --status to runtest.
5039 (check/%.exp): Likewise.
5040
5041 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
5042
5043 * Makefile.in (check-parallel): Propagate return code from make
5044 do-check-parallel.
5045
5046 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
5047
5048 * gdb.trace/ftrace.exp: Fix expected message on continue.
5049 * gdb.trace/pending.exp: Fix expected message on continue.
5050 * gdb.trace/trace-break.exp: Fix expected message on continue.
5051
5052 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
5053
5054 * lib/gdb.exp (gdb_test): Remove unused global references.
5055
5056 2016-01-18 Pedro Alves <palves@redhat.com>
5057
5058 * gdb.base/async-shell.exp: Adjust expected output.
5059 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
5060 * gdb.base/siginfo-thread.exp: Adjust expected output.
5061 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
5062 * gdb.java/jnpe.exp: Adjust expected output.
5063 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
5064 * gdb.threads/continue-pending-status.exp: Adjust expected output.
5065 * gdb.threads/leader-exit.exp: Adjust expected output.
5066 * gdb.threads/manythreads.exp: Adjust expected output.
5067 * gdb.threads/pthreads.exp: Adjust expected output.
5068 * gdb.threads/schedlock.exp: Adjust expected output.
5069 * gdb.threads/siginfo-threads.exp: Adjust expected output.
5070 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
5071 expected output.
5072 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
5073 output.
5074 * gdb.threads/sigthread.exp: Adjust expected output.
5075 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
5076
5077 2016-01-18 Yao Qi <yao.qi@linaro.org>
5078
5079 * gdb.guile/scm-section-script.c: Replace @progbits with
5080 %progbits.
5081 * gdb.python/py-section-script.c: Likewise.
5082
5083 2016-01-15 Pedro Alves <palves@redhat.com>
5084
5085 * gdb.multi/tids.exp: Test star wildcard ranges.
5086
5087 2016-01-15 Pedro Alves <palves@redhat.com>
5088
5089 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
5090 command from "thread apply" invocation.
5091 (thr_apply_info_thr_invalid): Default the expected output to the
5092 input tid list.
5093 (top level): Add tests that use convenience variables. Add tests
5094 for "thread apply" with a valid TID list, but missing the command.
5095
5096 2016-01-13 Pedro Alves <palves@redhat.com>
5097
5098 * gdb.base/default.exp: Expect $_gthread as well.
5099 * gdb.multi/tids.exp: Test $_gthread.
5100 * gdb.threads/thread-specific.exp: Test $_gthread.
5101
5102 2016-01-13 Pedro Alves <palves@redhat.com>
5103
5104 * gdb.multi/tids.exp: Test "info threads -gid".
5105
5106 2016-01-13 Pedro Alves <palves@redhat.com>
5107
5108 * gdb.multi/tids.exp: Test InferiorThread.global_num and
5109 Breakpoint.thread.
5110 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
5111
5112 2016-01-07 Pedro Alves <palves@redhat.com>
5113
5114 * gdb.base/break.exp: Adjust to output changes.
5115 * gdb.base/hbreak2.exp: Likewise.
5116 * gdb.base/sepdebug.exp: Likewise.
5117 * gdb.base/watch_thread_num.exp: Likewise.
5118 * gdb.linespec/keywords.exp: Likewise.
5119 * gdb.multi/info-threads.exp: Likewise.
5120 * gdb.threads/thread-find.exp: Likewise.
5121 * gdb.multi/tids.c: New file.
5122 * gdb.multi/tids.exp: New file.
5123
5124 2016-01-13 Pedro Alves <palves@redhat.com>
5125
5126 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
5127
5128 2016-01-13 Pedro Alves <palves@redhat.com>
5129
5130 * gdb.base/default.exp: Expect $_inferior as well.
5131 * gdb.multi/base.exp: Test $_inferior.
5132
5133 2016-01-13 Pedro Alves <palves@redhat.com>
5134
5135 PR breakpoints/19388
5136 * gdb.base/catch-signal-siginfo-cond.c: New file.
5137 * gdb.base/catch-signal-siginfo-cond.exp: New file.
5138
5139 2016-01-12 Josh Stone <jistone@redhat.com>
5140 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5141
5142 * gdb.base/catch-syscall.c (do_execve): New variable.
5143 (main): Conditionally trigger an execve.
5144 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
5145 (test_catch_syscall_execve): New, check entry/return across execve.
5146 (do_syscall_tests): Call test_catch_syscall_execve.
5147
5148 2016-01-12 Pedro Alves <palves@redhat.com>
5149
5150 * gdb.base/random-signal.exp (do_test): New procedure, with body
5151 of testcase moved in.
5152
5153 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5154 Pedro Alves <palves@redhat.com>
5155
5156 * gdb.base/funcargs.exp (finish from indirectly called function):
5157 Reintroduce the case for 'First'.
5158
5159 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5160 Pedro Alves <palves@redhat.com>
5161
5162 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
5163 (tcatch_vfork_then_child_follow_exec)
5164 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
5165 identification.
5166
5167 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5168
5169 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
5170 and repeats to unlimited.
5171 * gdb.python/py-value.exp: Likewise.
5172 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
5173 and repeats to unlimited.
5174
5175 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5176
5177 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
5178 and reordering the functions.
5179 * gdb.multi/hangout.c: Likewise.
5180 * gdb.multi/hello.c: Likewise.
5181
5182 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
5183
5184 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
5185 absolute.
5186 (SingleStatisticTestResult.report): Use dict.keys instead of
5187 dict.iterkeys.
5188
5189 2016-01-06 Pedro Alves <palves@redhat.com>
5190
5191 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
5192
5193 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
5194
5195 * gdb.btrace/dlopen.exp: New.
5196 * gdb.btrace/dlopen.c: New.
5197 * gdb.btrace/dlopen-dso.c: New.
5198
5199 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
5200
5201 * lib/gdb.exp (gdb_test): Update comments to clarify that the
5202 PATTERN argument is optional.
5203
5204 2015-12-24 Joel Brobecker <brobecker@adacore.com>
5205
5206 * lib/ada.exp (target_compile_ada_from_dir): New function.
5207 (gdb_compile_ada): Reimplement avoiding the use of project files.
5208 * gdb.ada/gnat_ada.gpr: Delete.
5209 * gdb.ada/cond_lang.exp: Adjust test to make path before
5210 filename optional.
5211 * gdb.ada/small_reg_param.exp: Likewise.
5212
5213 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
5214
5215 * gdb.base/foll-vork.exp: Remove HP-UX special case.
5216
5217 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
5218
5219 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
5220 case.
5221
5222 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
5223
5224 * gdb.base/break.exp: Remove dead code.
5225 * gdb.base/sepdebug.exp: Likewise.
5226
5227 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
5228
5229 * gdb.asm/asm-source.exp: Remove HP-UX references.
5230 * gdb.base/annota1.exp: Likewise.
5231 * gdb.base/annota3.exp: Likewise.
5232 * gdb.base/attach.exp: Likewise.
5233 * gdb.base/bigcore.exp: Likewise.
5234 * gdb.base/break.exp: Likewise.
5235 * gdb.base/call-ar-st.exp: Likewise.
5236 * gdb.base/callfuncs.exp: Likewise.
5237 * gdb.base/catch-fork-static.exp: Likewise.
5238 * gdb.base/display.exp: Likewise.
5239 * gdb.base/foll-exec-mode.exp: Likewise.
5240 * gdb.base/foll-exec.exp: Likewise.
5241 * gdb.base/foll-fork.exp: Likewise.
5242 * gdb.base/foll-vfork.exp: Likewise.
5243 * gdb.base/funcargs.exp: Likewise.
5244 * gdb.base/hbreak2.exp: Likewise.
5245 * gdb.base/inferior-died.exp: Likewise.
5246 * gdb.base/interrupt.exp: Likewise.
5247 * gdb.base/multi-forks.exp: Likewise.
5248 * gdb.base/nodebug.exp: Likewise.
5249 * gdb.base/sepdebug.exp: Likewise.
5250 * gdb.base/solib1.c: Likewise.
5251 * gdb.base/step-test.exp: Likewise.
5252 * gdb.mi/non-stop.c: Likewise.
5253 * gdb.mi/pthreads.c: Likewise.
5254 * gdb.multi/bkpt-multi-exec.ex: Likewise.
5255 * gdb.threads/pthreads.c: Likewise.
5256 * gdb.threads/staticthreads.exp: Likewise.
5257 * lib/future.exp: Likewise.
5258 * lib/gdb.exp: Likewise.
5259 * gdb.base/so-indr-cl.c: Remove.
5260 * gdb.base/so-indr-cl.exp: Likewise.
5261 * gdb.base/solib.c: Likewise.
5262 * gdb.base/solib.exp: Likewise.
5263 * gdb.base/solib2.c: Likewise.
5264
5265 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
5266
5267 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
5268 * gdb.base/call-ar-st.exp: Likewise.
5269 * gdb.base/callfuncs.exp: Likewise.
5270 * gdb.base/condbreak.exp: Likewise.
5271 * gdb.base/constvars.exp: Likewise.
5272 * gdb.base/hbreak2.exp: Likewise.
5273 * gdb.base/langs.exp: Likewise.
5274 * gdb.base/list.exp: Likewise.
5275 * gdb.base/long_long.exp: Likewise.
5276 * gdb.base/ptype.exp: Likewise.
5277 * gdb.base/scope.exp: Likewise.
5278 * gdb.base/signals.exp: Likewise.
5279 * gdb.base/so-impl-ld.exp: Likewise.
5280 * gdb.base/varargs.exp: Likewise.
5281 * gdb.base/volatile.exp: Likewise.
5282 * gdb.base/whatis.exp: Likewise.
5283 * gdb.cp/cplusfuncs.exp: Likewise.
5284 * gdb.cp/inherit.exp: Likewise.
5285 * gdb.cp/local.exp: Likewise.
5286 * gdb.cp/member-ptr.exp: Likewise.
5287 * gdb.cp/method.exp: Likewise.
5288 * gdb.cp/overload.exp: Likewise.
5289 * gdb.cp/templates.exp: Likewise.
5290 * gdb.stabs/weird.exp: Likewise.
5291 * lib/compiler.c: Likewise.
5292 * lib/compiler.cc: Likewise.
5293 * lib/cp-support.exp: Likewise.
5294 * lib/gdb.exp: Likewise.
5295
5296 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
5297
5298 * configure.ac: Remove HP-UX case.
5299 * configure: Regenerate.
5300
5301 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
5302
5303 * lib/gdb.exp (gdb_compile): Add function doc.
5304
5305 2015-12-17 Pedro Alves <palves@redhat.com>
5306
5307 PR threads/19354
5308 * gdb.multi/info-threads.exp: New file.
5309
5310 2015-12-15 Yao Qi <yao.qi@linaro.org>
5311
5312 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
5313 is aarch64*-*-*.
5314
5315 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
5316
5317 * gdb.base/history-duplicates.exp: Skip if no readline support.
5318
5319 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
5320
5321 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
5322
5323 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
5324
5325 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
5326
5327 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
5328
5329 * gdb.base/completion.exp: Skip tests that interrupt GDB with
5330 ctrl-C if nointerrupts target property is set.
5331 * gdb.base/double-prompt-target-event-error.exp: Likewise.
5332 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
5333 * gdb.base/paginate-bg-execution.exp: Likewise.
5334 * gdb.base/paginate-execution-startup.exp: Likewise.
5335 * gdb.base/random-signal.exp: Likewise.
5336 * gdb.base/range-stepping.exp: Likewise.
5337 * gdb.cp/annota2.exp: Likewise.
5338 * gdb.cp/annota3.exp: Likewise.
5339 * gdb.gdb/selftest.exp: Likewise.
5340 * gdb.threads/continue-pending-status.exp: Likewise.
5341 * gdb.threads/leader-exit.exp: Likewise.
5342 * gdb.threads/manythreads.exp: Likewise.
5343 * gdb.threads/pthreads.exp: Likewise.
5344 * gdb.threads/schedlock.exp: Likewise.
5345 * gdb.threads/sigthread.exp: Likewise.
5346
5347 2015-12-11 Don Breazeal <donb@codesourcery.com>
5348
5349 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
5350 remote.
5351 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
5352 * gdb.base/foll-exec.exp (main): Enable for target remote.
5353 * gdb.base/foll-fork.exp (main): Likewise.
5354 * gdb.base/foll-vfork.exp (main): Likewise.
5355 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
5356 (proc continue_to_exit_bp_loc): Use clean_restart.
5357 * gdb.base/pie-execl.exp (main): Disable for target remote.
5358 * gdb.base/watch-vfork.exp (main): Enable for target remote.
5359 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
5360 * gdb.threads/execl.exp (main): Likewise.
5361 * gdb.threads/fork-child-threads.exp (main): Likewise.
5362 * gdb.threads/fork-plus-threads.exp (main): Disable for target
5363 remote.
5364 * gdb.threads/fork-thread-pending.exp (main): Enable for target
5365 remote.
5366 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
5367 pid.tid style ptids, instead of just tid.
5368 * gdb.threads/thread-execl.exp (main): Enable for target remote.
5369 * gdb.threads/watchpoint-fork.exp (main): Likewise.
5370 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
5371 ptids, instead of just tid.
5372
5373 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
5374
5375 * gdb.base/list.exp (test_list_forward): Add end of file error
5376 test.
5377 (test_repeat_list_command): Add end of file error test.
5378 (test_list_backwards): Add beginning of file error test.
5379
5380 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
5381
5382 * gdb.base/list.exp (test_list_invalid_args): New function,
5383 defined, and called.
5384
5385 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
5386
5387 * gdb.base/list.exp (test_list): Make test names unique.
5388
5389 2015-12-11 Yao Qi <yao.qi@linaro.org>
5390
5391 * gdb.base/coremaker2.c: Remove.
5392
5393 2015-12-10 Pedro Alves <palves@redhat.com>
5394
5395 * gdb.multi/base.exp: Remove stale "spaces" references.
5396
5397 2015-12-10 Pedro Alves <palves@redhat.com>
5398
5399 * gdb.multi/base.exp: Don't use nowarnings.
5400 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
5401 * gdb.multi/hangout.c: Include stdio.h.
5402 * gdb.multi/hello.c: Include stdlib.h.
5403 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
5404 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
5405 * gdb.multi/multi-arch.exp: Don't use nowarnings.
5406
5407 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
5408
5409 * gdb.dwarf2/dw2-ranges-base.c: New file.
5410 * gdb.dwarf2/dw2-ranges-base.exp: New file.
5411 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
5412 support additional line table, and debug ranges generation.
5413 (Dwarf::ranges): New function, generate .debug_ranges.
5414 (Dwarf::lines): Support generating simple line table programs.
5415 (Dwarf::assemble): Initialise new namespace variables.
5416
5417 2015-12-09 Kevin Buettner <kevinb@redhat.com>
5418
5419 * gdb.base/async.exp (proc test_background): Add case for
5420 asynchronous execution not supported.
5421
5422 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
5423
5424 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
5425 format and change test names to make them unique.
5426
5427 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
5428 Pedro Alves <pedro@redhat.com>
5429
5430 PR gdb/18702
5431 Add checking of floatformats setup on x86_64 hosts.
5432 * gdb.arch/i386-float.S (main): Load bigval and smallval.
5433 (smallval, bigval): New labels/constants.
5434 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
5435 float" after loading bigval and smallval.
5436
5437 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
5438
5439 * gdb.ada/fun_overload_menu.exp: New testcase.
5440 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
5441
5442 2015-12-04 Josh Stone <jistone@redhat.com>
5443
5444 * gdb.base/catch-fork-static.exp: New.
5445
5446 2015-12-03 Yao Qi <yao.qi@linaro.org>
5447
5448 * gdb.base/sizeof.c: Don't include stdio.h and
5449 ../lib/unbuffer_output.c.
5450 (main): New variable 'size' and 'value'. Remove printf and
5451 gdb_unbuffer_output. Assign return value to size and value.
5452 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
5453 at the beginning.
5454 (check_sizeof): Check the result by printing variable 'size'.
5455 (check_valueof): Check the result by printing variable 'value'.
5456
5457 2015-12-01 Yao Qi <yao.qi@linaro.org>
5458
5459 * gdb.base/disp-step-syscall.exp: Define syscall instruction
5460 for aarch64*-*-linux* target.
5461
5462 2015-11-30 Pedro Alves <palves@redhat.com>
5463
5464 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
5465
5466 2015-11-30 Pedro Alves <palves@redhat.com>
5467
5468 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
5469 Handle non-stop mode vCont replies.
5470
5471 2015-11-30 Pedro Alves <palves@redhat.com>
5472
5473 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
5474 prepare_for_testing. Start gdb with "set non-stop on" appended to
5475 GDBFLAGS. Lax expected stop output.
5476
5477 2015-11-27 Yao Qi <yao.qi@linaro.org>
5478
5479 * gdb.arch/arm-neon.exp: New.
5480 * gdb.arch/arm-neon.c: New.
5481
5482 2015-11-27 Yao Qi <yao.qi@linaro.org>
5483
5484 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
5485
5486 2015-11-27 Yao Qi <yao.qi@linaro.org>
5487
5488 * gdb.cp/annota2.exp: Allow multiple occurrences of the
5489 frames-invalid annotation.
5490
5491 2015-11-27 Yao Qi <yao.qi@linaro.org>
5492
5493 * gdb.cp/annota2.exp: Use ${frames_invalid}.
5494
5495 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
5496
5497 * gdb.threads/names.exp: New file.
5498 * gdb.threads/names.c: New file.
5499 * README: Mention gdb,no_thread_names.
5500
5501 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
5502
5503 PR 19297
5504 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
5505 support" error.
5506
5507 2015-11-24 Pedro Alves <palves@redhat.com>
5508
5509 PR 17539
5510 * gdb.base/display.exp: Expect displays to be sorted in ascending
5511 order. Use multi_line.
5512 * gdb.base/solib-display.exp: Likewise.
5513
5514 2015-11-24 Pedro Alves <palves@redhat.com>
5515
5516 PR 17539
5517 * gdb.base/display.exp: Expect displays to be sorted in ascending
5518 order. Use multi_line.
5519 * gdb.base/solib-display.exp: Likewise.
5520
5521 2015-11-24 Pedro Alves <palves@redhat.com>
5522
5523 PR 17539
5524 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
5525 threads in ascending order.
5526 * gdb.base/foll-fork.exp: Likewise.
5527 * gdb.base/foll-vfork.exp: Likewise.
5528 * gdb.base/multi-forks.exp: Likewise.
5529 * gdb.mi/mi-nonstop.exp: Likewise.
5530 * gdb.mi/mi-nsintrall.exp: Likewise.
5531 * gdb.multi/base.exp: Likewise.
5532 * gdb.multi/multi-arch.exp: Likewise.
5533 * gdb.python/py-inferior.exp: Likewise.
5534 * gdb.threads/break-while-running.exp: Likewise.
5535 * gdb.threads/execl.exp: Likewise.
5536 * gdb.threads/gcore-thread.exp: Likewise.
5537 * gdb.threads/info-threads-cur-sal.exp: Likewise.
5538 * gdb.threads/kill.exp: Likewise.
5539 * gdb.threads/linux-dp.exp: Likewise.
5540 * gdb.threads/multiple-step-overs.exp: Likewise.
5541 * gdb.threads/next-bp-other-thread.exp: Likewise.
5542 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
5543 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
5544 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
5545 * gdb.threads/thread-find.exp: Likewise.
5546 * gdb.threads/tls.exp: Likewise.
5547 * lib/mi-support.exp (mi_reverse_list): Delete.
5548 (mi_check_thread_states): No longer reverse list.
5549
5550 2015-11-24 Pedro Alves <palves@redhat.com>
5551
5552 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
5553 use lowercase.
5554
5555 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
5556
5557 * gdb.trace/actions.c: Include trace-common.h.
5558 (main): Add a location for a fast tracepoint.
5559 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
5560 the normal tracepoints.
5561 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
5562
5563 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
5564
5565 * save-trace.exp: Factor out code to these...
5566 (gdb_save_tracepoints): New.
5567 (gdb_load_tracepoints): New.
5568 (do_save_load_test): New.
5569
5570 2015-11-23 Kevin Buettner <kevinb@redhat.com>
5571
5572 * gdb.base/asmlabel.exp: New test.
5573 * gdb.base/asmlabel.c: New test case.
5574
5575 2015-11-23 Joel Brobecker <brobecker@adacore.com>
5576
5577 * gdb.base/wrong_frame_bt_full-main.c: New file.
5578 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
5579 * gdb.base/wrong_frame_bt_full.exp: New file.
5580
5581 2015-11-23 Joel Brobecker <brobecker@adacore.com>
5582
5583 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
5584
5585 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
5586
5587 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
5588 pstate register when comparing registers values in
5589 sparc64-*-linux-gnu targets to avoid spurious differences.
5590
5591 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
5592
5593 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
5594
5595 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
5596
5597 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
5598 as type argument to gdb_compile.
5599 * gdb.base/nested-subp2.exp: Likewise.
5600 * gdb.base/nested-subp3.exp: Likewise.
5601
5602 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
5603
5604 * lib/dwarf.exp (_note): Fix left shift of negative value.
5605 * gdb.trace/trace-condition.exp: Likewise.
5606
5607 2015-11-13 Yao Qi <yao.qi@linaro.org>
5608
5609 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
5610 comments about d10v.
5611 (test_scalar_returns): Likewise.
5612 * gdb.base/d10v.ld: Remove.
5613 * gdb.base/overlays.exp: Remove the target triplet checking for
5614 d10v-*-*.
5615 * gdb.base/structs.exp (test_struct_returns): Remove the
5616 comments about d10v.
5617 (test_struct_calls): Likewise.
5618
5619 2015-11-13 Yao Qi <yao.qi@linaro.org>
5620
5621 * gdb.base/gnu_vector.exp: Check the return value by "p res".
5622 * gdb.base/gnu_vector.c: Don't include stdio.h.
5623 (main): Don't print res and call add_some_intvecs.
5624
5625 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
5626
5627 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
5628 macro.
5629 (func5): Removed.
5630 (func4): Use FAST_TRACEPOINT_LABEL.
5631 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
5632 macro.
5633 (func): Removed.
5634 (thread_function): Use FAST_TRACEPOINT_LABEL.
5635 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
5636 (func): Remove.
5637 (marker): Use FAST_TRACEPOINT_LABEL.
5638 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
5639 (pendfunc1): Remove.
5640 (pendfunc): Use FAST_TRACEPOINT_LABEL.
5641 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
5642 (foo): Remove.
5643 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
5644 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
5645 macro.
5646 (func): Remove.
5647 (marker): Use FAST_TRACEPOINT_LABEL.
5648 * gdb.trace/trace-common.h: New header.
5649 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
5650 macro.
5651 (func): Remove.
5652 (marker): Use FAST_TRACEPOINT_LABEL.
5653 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
5654 (func): Remove.
5655 (thread_function): Use FAST_TRACEPOINT_LABEL.
5656
5657 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
5658
5659 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
5660 in front.
5661 * gdb.trace/change-loc.exp: Use global pcreg definition.
5662 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
5663 * gdb.trace/entry-values.exp: Use global spreg definition, add $
5664 in front.
5665 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
5666 * gdb.trace/pending.exp: Likewise.
5667 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
5668 * gdb.trace/trace-break.exp: Likewise.
5669 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
5670 in front.
5671 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
5672 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
5673 in front.
5674 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
5675
5676 2015-11-09 Joel Brobecker <brobecker@adacore.com>
5677
5678 * gdb.ada/fin_fun_out: New testcase.
5679
5680 2015-11-07 Kevin Buettner <kevinb@redhat.com>
5681
5682 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
5683 value associated with DW_AT_byte_size.
5684 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
5685 constants for DW_AT_byte_size, DW_AT_lower_bound, and
5686 DW_AT_upper_bound.
5687
5688 2015-11-07 Kevin Buettner <kevinb@redhat.com>
5689
5690 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
5691 (gdb_target_symbol_prefix_flags): Define in terms of _asm
5692 version.
5693 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
5694 gdb.dwarf2/dw2-canonicalize-type.exp,
5695 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
5696 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
5697 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
5698 provided by gdb_target_symbol_prefix_flags_asm.
5699 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
5700 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
5701 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
5702 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
5703 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
5704 macros where needed). Use this macro for symbols which require
5705 the prefix provided by SYMBOL_PREFIX.
5706
5707 2015-11-05 Kevin Buettner <kevinb@redhat.com>
5708
5709 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
5710 New procs.
5711 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
5712 representing expressions, of more than one list element.
5713 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
5714 to prepend linker symbol prefix to f.
5715 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
5716 table_1 and table_2.
5717 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
5718 Likewise, for f and g.
5719 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
5720 for ptr.
5721 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
5722 for main.
5723 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
5724 table_1_ptr and table_2_ptr.
5725
5726 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5727 Joel Brobecker <brobecker@adacore.com>
5728
5729 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
5730
5731 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
5732
5733 * gdb.reverse/s390-mvcle.c: New test.
5734 * gdb.reverse/s390-mvcle.exp: New file.
5735 * lib/gdb.exp: Enable reverse tests on s390*-linux.
5736
5737 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
5738
5739 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
5740
5741 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
5742
5743 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
5744 reaching marker2.
5745 * gdb.reverse/getresuid-reverse.exp: Likewise.
5746 * gdb.reverse/pipe-reverse.exp: Likewise.
5747 * gdb.reverse/readv-reverse.exp: Likewise.
5748 * gdb.reverse/recvmsg-reverse.exp: Likewise.
5749 * gdb.reverse/time-reverse.exp: Likewise.
5750 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
5751
5752 2015-10-30 Yao Qi <yao.qi@linaro.org>
5753
5754 * gdb.threads/wp-replication.c (watch_count_done): Remove.
5755 (empty_cycle): Remove.
5756 (main): Don't call empty_cycle. Don't use watch_count_done.
5757 * gdb.threads/wp-replication.exp: Don't set breakpoint on
5758 empty_cycle. Rewrite the code counting HW watchpoints.
5759
5760 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
5761
5762 * gdb.reverse/fstatat-reverse.c: New test.
5763 * gdb.reverse/fstatat-reverse.exp: New file.
5764 * gdb.reverse/getresuid-reverse.c: New test.
5765 * gdb.reverse/getresuid-reverse.exp: New file.
5766 * gdb.reverse/pipe-reverse.c: New test.
5767 * gdb.reverse/pipe-reverse.exp: New file.
5768 * gdb.reverse/readv-reverse.c: New test.
5769 * gdb.reverse/readv-reverse.exp: New file.
5770 * gdb.reverse/recvmsg-reverse.c: New test.
5771 * gdb.reverse/recvmsg-reverse.exp: New file.
5772 * gdb.reverse/time-reverse.c: New test.
5773 * gdb.reverse/time-reverse.exp: New file.
5774 * gdb.reverse/waitpid-reverse.c: New test.
5775 * gdb.reverse/waitpid-reverse.exp: New file.
5776
5777 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5778
5779 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
5780
5781 2015-10-26 Doug Evans <dje@google.com>
5782
5783 PR symtab/17391
5784 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
5785 * gdb.dwarf2/bad-regnum.c: New file.
5786 * gdb.dwarf2/bad-regnum.exp: New file.
5787
5788 2015-10-26 Doug Evans <dje@google.com>
5789
5790 PR python/18938
5791 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
5792 file.
5793
5794 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5795
5796 * gdb.compile/compile.exp (compile code globalvar): Update expectation
5797 for a change by "Mention language in compile error message".
5798
5799 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
5800
5801 PR python/18073
5802 * gdb.python/py-type.c (C::a_method): New.
5803 (C::a_const_method): New.
5804 (C::a_static_method): New.
5805 (a_function): New.
5806 * gdb.python/py-type.exp (test_fields): Test getting fields
5807 from function and method.
5808
5809 2015-10-21 Keven Boell <keven.boell@intel.com>
5810
5811 * gdb.fortran/vla-alloc-assoc.exp: New file.
5812 * gdb.fortran/vla-datatypes.exp: New file.
5813 * gdb.fortran/vla-datatypes.f90: New file.
5814 * gdb.fortran/vla-history.exp: New file.
5815 * gdb.fortran/vla-ptype-sub.exp: New file.
5816 * gdb.fortran/vla-ptype.exp: New file.
5817 * gdb.fortran/vla-sizeof.exp: New file.
5818 * gdb.fortran/vla-sub.f90: New file.
5819 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
5820 * gdb.fortran/vla-value-sub-finish.exp: New file.
5821 * gdb.fortran/vla-value-sub.exp: New file.
5822 * gdb.fortran/vla-value.exp: New file.
5823 * gdb.fortran/vla-ptr-info.exp: New file.
5824 * gdb.mi/mi-vla-fortran.exp: New file.
5825 * gdb.mi/vla.f90: New file.
5826
5827 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
5828
5829 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
5830 of hardwired timeout value.
5831
5832 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5833 Pedro Alves <palves@redhat.com>
5834
5835 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
5836 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
5837
5838 2015-10-19 Josh Stone <jistone@redhat.com>
5839
5840 * gdb.base/catch-syscall.c: Include <sched.h>.
5841 (unknown_syscall): New variable.
5842 (main): Trigger a vfork and an unknown syscall.
5843 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
5844 (unknown_syscall_number): Likewise.
5845 (check_call_to_syscall): Accept an optional syscall pattern.
5846 (check_return_from_syscall): Likewise.
5847 (check_continue): Likewise.
5848 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
5849 (test_catch_syscall_skipping_return): New test toggling off 'catch
5850 syscall' to step over the syscall return, then toggling back on.
5851 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
5852 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
5853 (do_syscall_tests): Call test_catch_syscall_without_args and
5854 test_catch_syscall_mid_vfork.
5855 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
5856 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
5857
5858 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
5859
5860 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
5861 print g_vE): Add new pass patterns.
5862 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
5863 print various symbol names for vptr fields.
5864
5865 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
5866
5867 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
5868 results.
5869
5870 2015-10-12 Yao Qi <yao.qi@linaro.org>
5871
5872 * gdb.arch/disp-step-insn-reloc.exp: New test case.
5873
5874 2015-10-12 Yao Qi <yao.qi@linaro.org>
5875
5876 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
5877 is aarch64*-*-linux*.
5878
5879 2015-10-12 Yao Qi <yao.qi@linaro.org>
5880
5881 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
5882 (can_relocate_bcond_true): ... it.
5883 (can_relocate_bcond_false): New function.
5884 (foo): Likewise.
5885 (can_relocate_bl): Likewise.
5886 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
5887 can_relocate_bl.
5888
5889 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
5890
5891 * gdb.base/nested-addr.c: New file.
5892 * gdb.base/nested-addr.exp: New testcase.
5893
5894 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
5895
5896 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
5897 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
5898 its output. Ignore the output of "record goto begin" and instead
5899 check that GDB is replaying.
5900
5901 2015-10-09 Pedro Alves <palves@redhat.com>
5902
5903 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
5904 (top level): Use it in the run with no args test.
5905
5906 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
5907
5908 * gdb.dlang/properties.exp: New file.
5909
5910 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
5911
5912 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
5913 whether or not address 0x1000 is mapped on the target.
5914
5915 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
5916
5917 * gdb.python/py-type.exp: Do not run tests if binaries fail to
5918 build.
5919
5920 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
5921
5922 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
5923 instruction-history test.
5924
5925 2015-09-28 Doug Evans <dje@google.com>
5926
5927 * gdb.base/gcore.c (array_func): Add reference to static_array.
5928
5929 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
5930
5931 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
5932 source line.
5933
5934 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
5935
5936 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
5937 short or char as base type.
5938
5939 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
5940
5941 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
5942 to allow any size enum.
5943
5944 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
5945
5946 * gdb.ada/array_ptr_renaming.exp: New testcase.
5947 * gdb.ada/array_ptr_renaming/foo.adb: New file.
5948 * gdb.ada/array_ptr_renaming/pack.ads: New file.
5949
5950 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
5951
5952 * gdb.trace/ftrace-lock.c: New file.
5953 * gdb.trace/ftrace-lock.exp: New file.
5954
5955 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
5956
5957 * gdb.arch/insn-reloc.c: New file.
5958 * gdb.arch/ftrace-insn-reloc.exp: New file.
5959
5960 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
5961
5962 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
5963 instruction.
5964 * gdb.trace/pendshr1.c (pendfunc): Likewise.
5965 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
5966 * gdb.trace/range-stepping.c: Likewise.
5967 * gdb.trace/trace-break.c: Likewise.
5968 * gdb.trace/trace-mt.c (thread_function): Likewise.
5969 * gdb.trace/ftrace.c (marker): Likewise.
5970 * gdb.trace/trace-condition.c (marker): Likewise.
5971 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
5972 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
5973 is_aarch64_target.
5974
5975 2015-09-18 Doug Evans <xdje42@gmail.com>
5976
5977 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
5978 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
5979
5980 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5981
5982 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
5983 the breakpoint.
5984
5985 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5986
5987 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
5988 the pending breakpoint. Remove timeout override for "Run till
5989 MI pending breakpoint on pendfunc3 on thread 2" test.
5990
5991 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5992
5993 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
5994 filename pattern.
5995
5996 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5997
5998 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
5999 in breakpoint filename pattern.
6000
6001 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
6002
6003 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
6004
6005 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
6006
6007 * gdb.linespec/explicit.exp: Check for readline support for
6008 tab-completion tests. Fix obvious typo.
6009
6010 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
6011
6012 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
6013 and replay.
6014
6015 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
6016
6017 * gdb.btrace/non-stop.c: New.
6018 * gdb.btrace/non-stop.exp: New.
6019
6020 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
6021 Yao Qi <yao.qi@linaro.org>
6022
6023 * gdb.trace/trace-condition.c: New file.
6024 * gdb.trace/trace-condition.exp: New file.
6025
6026 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
6027
6028 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
6029 for testing bytecode compilation.
6030
6031 2015-09-16 Pedro Alves <palves@redhat.com>
6032 Sandra Loosemore <sandra@codesourcery.com>
6033
6034 * gdb.threads/non-stop-fair-events.c (timeout): New global.
6035 (SECONDS): Redefine.
6036 (main): Call pthread_kill and alarm early.
6037 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
6038 support.
6039 (test): If the target can't hardware step and doesn't support
6040 displaced stepping, increase the timeout.
6041
6042 2015-09-16 Pedro Alves <palves@redhat.com>
6043
6044 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
6045 (enable_debug): New procedures.
6046 (test): Use them. Bail out if waiting for threads fails.
6047 (top level): Bail out if a test fails.
6048
6049 2015-09-16 Yao Qi <yao.qi@linaro.org>
6050
6051 * gdb.asm/asm-source.exp: Set asm-arch for
6052 aarch64*-*-* target.
6053 * gdb.asm/aarch64.inc: New file.
6054
6055 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
6056
6057 * gdb.ada/array_of_variable_length.exp: New testcase.
6058 * gdb.ada/array_of_variable_length/foo.adb: New file.
6059 * gdb.ada/array_of_variable_length/pck.adb: New file.
6060 * gdb.ada/array_of_variable_length/pck.ads: New file.
6061
6062 2015-09-15 Doug Evans <dje@google.com>
6063
6064 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
6065 of function static local variable.
6066
6067 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6068
6069 * gdb.threads/tls-so_extern.exp: New test file.
6070 * gdb.threads/tls-so_extern.c: New test file.
6071 * gdb.threads/tls-so_extern_main.c: New test file.
6072
6073 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6074
6075 * gdb.opt/solib-intra-step-lib.c: New file.
6076 * gdb.opt/solib-intra-step-main.c: New file.
6077 * gdb.opt/solib-intra-step.exp: New file.
6078
6079 2015-09-15 Pedro Alves <palves@redhat.com>
6080
6081 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
6082 gdb_continue_to_breakpoint instead of gdb_test_multiple.
6083
6084 2015-09-14 Pedro Alves <palves@redhat.com>
6085
6086 * gdb.base/hook-stop-continue.c: Delete.
6087 * gdb.base/hook-stop-continue.exp: Delete.
6088 * gdb.base/hook-stop-frame.c: Delete.
6089 * gdb.base/hook-stop-frame.exp: Delete.
6090 * gdb.base/hook-stop.c: New file.
6091 * gdb.base/hook-stop.exp: New file.
6092
6093 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
6094
6095 * gdb.ada/access_to_packed_array.exp: New testcase.
6096 * gdb.ada/access_to_packed_array/foo.adb: New file.
6097 * gdb.ada/access_to_packed_array/pack.adb: New file.
6098 * gdb.ada/access_to_packed_array/pack.ads: New file.
6099
6100 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
6101
6102 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
6103 buffer size test.
6104
6105 2015-09-11 Don Breazeal <donb@codesourcery.com>
6106
6107 * gdb.base/foll-exec.c: Add copyright header. Fix
6108 formatting issues.
6109 * gdb.base/foll-exec.exp (zap_session): Delete proc.
6110 (do_exec_tests): Use clean_restart in place of zap_session,
6111 and for test initialization. Fix formatting issues. Use
6112 fail in place of perror.
6113 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
6114 an expect statement to match an expression with output from
6115 the program under debug.
6116 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
6117 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
6118 * gdb.threads/non-ldr-exc-2.exp: Likewise.
6119 * gdb.threads/non-ldr-exc-3.exp: Likewise.
6120 * gdb.threads/non-ldr-exc-4.exp: Likewise.
6121
6122 2015-09-09 Doug Evans <dje@google.com>
6123
6124 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
6125
6126 2015-09-09 Doug Evans <dje@google.com>
6127
6128 * gdb.base/pie-execl.exp: Fix result test of build_executable.
6129
6130 2015-09-09 Doug Evans <dje@google.com>
6131
6132 * gdb.base/savedregs.exp: Fix typo.
6133
6134 2015-09-09 Pedro Alves <palves@redhat.com>
6135
6136 * gdb.mi/mi-cli.exp: Add CLI finish tests.
6137
6138 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
6139
6140 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
6141 command actually switches threads. Give up on remaining
6142 tests if target fails to stop at breakpoint.
6143
6144 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
6145
6146 * gdb.ada/funcall_char.exp: New testcase.
6147 * gdb.ada/funcall_char/foo.adb: New file.
6148
6149 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
6150
6151 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
6152 expected outputs. Add two testcases for completing ambiguous
6153 functions.
6154 * gdb.ada/complete/aux_pck.adb: New file.
6155 * gdb.ada/complete/aux_pck.ads: New file.
6156 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
6157 Ambiguous_Func functions.
6158 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
6159 * gdb.ada/complete/pck.adb: Likewise.
6160
6161 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
6162
6163 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
6164 failures to run the test program under GDB.
6165
6166 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
6167
6168 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
6169 to C.
6170
6171 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
6172
6173 * gdb.base/run-after-attach.exp: New test file.
6174 * gdb.base/run-after-attach.c: New test file.
6175
6176 2015-08-26 Don Breazeal <donb@codesourcery.com>
6177
6178 * gdb.base/foll-exec-2.c: New test program.
6179 * gdb.base/foll-exec-2.exp: New test.
6180
6181 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
6182
6183 * gdb.base/nested-subp1.exp: New file.
6184 * gdb.base/nested-subp1.c: New file.
6185 * gdb.base/nested-subp2.exp: New file.
6186 * gdb.base/nested-subp2.c: New file.
6187 * gdb.base/nested-subp3.exp: New file.
6188 * gdb.base/nested-subp3.c: New file.
6189
6190 2015-08-24 Pedro Alves <palves@redhat.com>
6191
6192 * gdb.server/connect-without-multi-process.c: New file.
6193 * gdb.server/connect-without-multi-process.exp: New file.
6194
6195 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
6196
6197 * gdb.opt/inline-markers.c: Make z int.
6198
6199 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
6200
6201 * gdb.opt/inline-markers.c: Make z volatile.
6202
6203 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
6204
6205 * gdb.opt/inline-bt.c: New volatile global z.
6206 * gdb.opt/inline-cmds.c: Likewise.
6207 * gdb.opt/inline-locals.c: Likewise.
6208 * gdb.opt/inline-markers.c: New extern global z.
6209 (marker): Use z.
6210 (inline_fn): Likewise.
6211
6212 2015-08-24 Pedro Alves <palves@redhat.com>
6213
6214 * config/m32r-stub.exp: Remove file.
6215 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
6216 * gdb.base/call-rt-st.exp: Likewise.
6217 * gdb.base/call-strs.exp: Likewise.
6218 * gdb.base/default.exp: Remove references to h8300-*-hms and
6219 *-*-udi*.
6220 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
6221
6222 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
6223
6224 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
6225 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
6226 and "return" use KFAIL when GDB can not read/write the vector
6227 return value.
6228
6229 2015-08-21 Gary Benson <gbenson@redhat.com>
6230
6231 * gdb.trace/pending.exp: Cope with remote transfer warnings.
6232
6233 2015-08-20 Pedro Alves <palves@redhat.com>
6234
6235 * gdb.server/solib-list.exp: No longer expect an interior stop in
6236 non-stop mode.
6237
6238 2015-08-20 Pedro Alves <palves@redhat.com>
6239
6240 * gdb.server/connect-stopped-target.c: New file.
6241 * gdb.server/connect-stopped-target.exp: New file.
6242
6243 2015-08-20 Pedro Alves <palves@redhat.com>
6244
6245 * gdb.dwarf2/comp-unit-lang.exp: New file.
6246 * gdb.dwarf2/comp-unit-lang.c: New file.
6247
6248 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
6249
6250 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
6251 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
6252
6253 2015-08-19 Kevin Buettner <kevinb@redhat.com>
6254
6255 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
6256 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
6257
6258 2015-08-18 Doug Evans <dje@google.com>
6259 Adrian Sendroiu <adrian.sendroiu@freescale.com>
6260
6261 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
6262 skip_python_tests. New arg prompt_regexp.
6263 (skip_python_tests): New function.
6264 * lib/mi-support.exp (mi_skip_python_tests): New function.
6265 * gdb.python/py-mi-objfile-gdb.py: New file.
6266 * gdb.python/py-mi-objfile.c: New file.
6267 * gdb.python/py-mi-objfile.exp: New file.
6268
6269 2015-08-17 Keith Seitz <keiths@redhat.com>
6270
6271 * gdb.linespec/explicit.exp: Move strace test from here ...
6272 * gdb.trace/strace.exp: ... to here.
6273
6274 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
6275
6276 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
6277 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
6278
6279 2015-08-14 Doug Evans <xdje42@gmail.com>
6280
6281 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
6282 inferior before selecting a new file.
6283
6284 2015-08-14 Doug Evans <xdje42@gmail.com>
6285
6286 * gdb.mi/mi-disassemble.exp: Update.
6287 * gdb.base/disasm-optim.S: New file.
6288 * gdb.base/disasm-optim.c: New file.
6289 * gdb.base/disasm-optim.h: New file.
6290 * gdb.base/disasm-optim.exp: New file.
6291
6292 2015-08-14 Keith Seitz <keiths@redhat.com>
6293
6294 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
6295 "evaluated-by".
6296
6297 2015-08-13 Joel Brobecker <brobecker@adacore.com>
6298
6299 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
6300
6301 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
6302
6303 * gdb.ada/fun_renaming.exp: New testcase.
6304 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
6305 * gdb.ada/fun_renaming/pack.adb: New file.
6306 * gdb.ada/fun_renaming/pack.ads: New file.
6307
6308 2015-08-12 Keith Seitz <keiths@redhat.com>
6309
6310 * gdb.base/dso2dso.exp: Pass basename of source file in call to
6311 gdb_get_line_number.
6312
6313 2015-08-12 Joel Brobecker <brobecker@adacore.com>
6314
6315 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
6316 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
6317 gdb.base/dso2dso.exp: New files.
6318
6319 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
6320 Pedro Alves <palves@redhat.com>
6321 Keith Seitz <keiths@redhat.com>
6322
6323 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
6324 GDBFLAGS.
6325
6326 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
6327
6328 * gdb.base/gdbhistsize-history.exp
6329 (test_histsize_history_setting): Use save_vars.
6330 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
6331 Use save_vars.
6332 (test_no_truncation_of_unlimited_history_file): Use save_vars.
6333 * gdb.base/readline.exp: Use save_vars.
6334
6335 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
6336
6337 * lib/gdb.exp (save_vars): New proc.
6338
6339 2015-08-11 Keith Seitz <keiths@redhat.com>
6340
6341 * gdb.base/help.exp: Update help_breakpoint_text.
6342
6343 2015-08-11 Keith Seitz <keiths@redhat.com>
6344
6345 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
6346 (at toplevel): Call test_explicit_breakpoints.
6347 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
6348 breakpoints.
6349 * lib/mi-support.exp (mi_make_breakpoint): Add support for
6350 breakpoint conditions, "-cond".
6351
6352 2015-08-11 Keith Seitz <keiths@redhat.com>
6353
6354 * gdb.linespec/3explicit.c: New file.
6355 * gdb.linespec/cpexplicit.cc: New file.
6356 * gdb.linespec/cpexplicit.exp: New file.
6357 * gdb.linespec/explicit.c: New file.
6358 * gdb.linespec/explicit.exp: New file.
6359 * gdb.linespec/explicit2.c: New file.
6360 * gdb.linespec/ls-errs.exp: Add explicit location tests.
6361 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
6362 before using in the matching pattern.
6363 Clarify that `prefix' is a regular expression.
6364
6365 2015-08-11 Keith Seitz <keiths@redhat.com>
6366
6367 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
6368 test.
6369 Add tests for missing ",FMT" and ",".
6370
6371 2015-08-10 Doug Evans <dje@google.com>
6372 Keith Seitz <keiths@redhat.com>
6373
6374 PR gdb/17960
6375 * gdb.base/completion.exp: Add location completer tests.
6376
6377 2015-08-07 Pedro Alves <palves@redhat.com>
6378
6379 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
6380 tests here.
6381 (top level): Run do_test with and without displaced stepping.
6382
6383 2015-08-07 Pedro Alves <palves@redhat.com>
6384
6385 * gdb.base/valgrind-disp-step.c: New file.
6386 * gdb.base/valgrind-disp-step.exp: New file.
6387
6388 2015-08-07 Pedro Alves <palves@redhat.com>
6389
6390 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
6391 Delete function.
6392 (main): Add alarm. Run an infinite loop instead of calling
6393 wait_threads.
6394 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
6395 comment.
6396 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
6397 Delete function.
6398 (main): Add alarm. Run an infinite loop instead of calling
6399 wait_threads.
6400 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
6401 comment.
6402
6403 2015-08-07 Pedro Alves <palves@redhat.com>
6404
6405 * gdb.base/checkpoint-ns.exp: New file.
6406 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
6407 standard_testfile.
6408
6409 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
6410
6411 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
6412 * gdb.btrace/instruction_history.exp: Update.
6413 * gdb.btrace/tsx.exp: New.
6414 * gdb.btrace/tsx.c: New.
6415
6416 2015-08-06 Pedro Alves <palves@redhat.com>
6417
6418 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
6419 increase timeout.
6420 * gdb.reverse/until-precsave.exp: Bump timeouts.
6421
6422 2015-08-06 Pedro Alves <palves@redhat.com>
6423
6424 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
6425
6426 2015-08-06 Pedro Alves <palves@redhat.com>
6427
6428 PR gdb/18749
6429 * gdb.threads/process-dies-while-handling-bp.c: New file.
6430 * gdb.threads/process-dies-while-handling-bp.exp: New file.
6431
6432 2015-08-06 Pedro Alves <palves@redhat.com>
6433
6434 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
6435 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
6436
6437 2015-08-05 Pedro Alves <palves@redhat.com>
6438
6439 * gdb.threads/next-while-other-thread-longjmps.c: New file.
6440 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
6441
6442 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
6443
6444 * gdb.base/bp-permanent.exp: Report test as unsupported if
6445 the target cannot stop at the permanent breakpoint.
6446
6447 2015-08-03 Doug Evans <dje@google.com>
6448
6449 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
6450 10000.
6451
6452 2015-08-03 Doug Evans <dje@google.com>
6453
6454 * Makefile.in (workers/%.worker, build-perf): New rule.
6455 (GDB_PERFTEST_MODE): New variable.
6456 (check-perf): Use it.
6457 (clean): Clean up gdb.perf parallel build subdirs.
6458 * lib/build-piece.exp: New file.
6459 * lib/gdb.exp (make_gdb_parallel_path): New function
6460 (standard_output_file, standard_temp_file): Call it.
6461 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
6462 of $GDB_PARALLEL.
6463 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
6464
6465 2015-08-03 Doug Evans <dje@google.com>
6466
6467 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
6468 (LOG_FILE_NAME): New global.
6469 (TextReporter.__init__): Initialize self.txt_sum.
6470 (TextReporter.report): Add support for multiple data-points.
6471 Move report to perftest.sum, put raw data in perftest.log.
6472 (TextReporter.start): Open sum and log files.
6473 (TextReporter.end): Close sum and log files.
6474 * gdb.perf/lib/perftest/testresult.py
6475 (SingleStatisticTestResult.record): Handle multiple data-points.
6476
6477 2015-07-31 Pedro Alves <palves@redhat.com>
6478
6479 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
6480 Use spawn_id_get_pid. Wait for spawn id after eof. Use
6481 kill_wait_spawned_process instead of explicit "kill -9".
6482 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
6483 returning a spawn id instead of a pid. Use spawn_id_get_pid and
6484 kill_wait_spawned_process.
6485 * gdb.base/attach-twice.exp: Likewise.
6486 * gdb.base/attach.exp: Likewise.
6487 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
6488 gdb_test_multiple.
6489 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
6490 returning a spawn id instead of a pid. Use spawn_id_get_pid and
6491 kill_wait_spawned_process.
6492 * gdb.base/valgrind-infcall.exp: Likewise.
6493 * gdb.multi/multi-attach.exp: Likewise.
6494 * gdb.python/py-prompt.exp: Likewise.
6495 * gdb.python/py-sync-interp.exp: Likewise.
6496 * gdb.server/ext-attach.exp: Likewise.
6497 * gdb.threads/attach-into-signal.exp (corefunc): Use
6498 spawn_wait_for_attach, spawn_id_get_pid and
6499 kill_wait_spawned_process.
6500 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
6501 spawn_wait_for_attach returning a spawn id instead of a pid. Use
6502 spawn_id_get_pid and kill_wait_spawned_process.
6503 * gdb.threads/attach-stopped.exp (corefunc): Use
6504 spawn_wait_for_attach, spawn_id_get_pid and
6505 kill_wait_spawned_process.
6506 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
6507 Use spawn_id_get_pid. Wait for spawn id after eof. Use
6508 kill_wait_spawned_process instead of explicit "kill -9".
6509 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
6510 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
6511 (spawn_wait_for_attach): Use spawn instead of exec to spawn
6512 processes. Don't map cygwin/windows pids here. Now returns a
6513 spawn id list.
6514
6515 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
6516
6517 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
6518 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
6519 correct patch.
6520
6521 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
6522
6523 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
6524
6525 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
6526
6527 Reapply:
6528 2014-05-21 Mark Wielaard <mjw@redhat.com>
6529
6530 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
6531
6532 2015-07-30 Pedro Alves <palves@redhat.com>
6533
6534 * linux-low.c (handle_extended_wait): Set the child's last
6535 reported status to TARGET_WAITKIND_STOPPED.
6536
6537 2015-07-30 Pedro Alves <palves@redhat.com>
6538
6539 PR threads/18600
6540 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
6541 only shows inferior 1.
6542
6543 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
6544 Pedro Alves <palves@redhat.com>
6545
6546 PR threads/18600
6547 * gdb.threads/fork-plus-threads.c: New file.
6548 * gdb.threads/fork-plus-threads.exp: New file.
6549
6550 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
6551
6552 * gdb.base/batch-preserve-term-settings.exp
6553 (test_terminal_settings_preserved_after_cli_exit): Use
6554 send_quit_command.
6555
6556 2015-07-29 Pedro Alves <palves@redhat.com>
6557 Don Breazeal <donb@codesourcery.com>
6558
6559 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
6560 output from both inferior_spawn_id and gdb_spawn_id.
6561
6562 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
6563
6564 * gdb.threads/attach-into-signal.exp (corefunc): Use
6565 with_test_prefix on nested loops, uniquefying the test messages.
6566
6567 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
6568
6569 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
6570 commit.
6571
6572 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
6573
6574 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
6575 New proc.
6576 (test_terminal_settings_preserved_after_sigterm): New test.
6577
6578 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
6579
6580 * gdb.base/batch-preserve-term-settings.exp
6581 (test_terminal_settings_preserved_after_cli_exit): New test.
6582
6583 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
6584
6585 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
6586 manipulation of saved_gdbflags.
6587 (test_terminal_settings_preserved): Remove global declaration of
6588 the unused variable pagination_prompt. Remove manipulation of
6589 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
6590 GDBFLAGS.
6591
6592 2015-07-29 Pedro Alves <palves@redhat.com>
6593
6594 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
6595
6596 2015-07-29 Pedro Alves <palves@redhat.com>
6597
6598 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
6599 at the top.
6600
6601 2015-07-29 Pedro Alves <palves@redhat.com>
6602
6603 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
6604 (main): Call gdb_unbuffer_output.
6605 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
6606 (main): Call gdb_unbuffer_output.
6607 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
6608 (main): Call gdb_unbuffer_output.
6609 * gdb.base/call-strs.exp: Adjust to step over the
6610 gdb_unbuffer_output call.
6611 * gdb.base/catch-gdb-caused-signals.c: Include
6612 "../lib/unbuffer_output.c".
6613 (main): Call gdb_unbuffer_output.
6614 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
6615 (main): Call gdb_unbuffer_output.
6616 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
6617 (main): Call gdb_unbuffer_output.
6618 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
6619 (main): Call gdb_unbuffer_output.
6620 * gdb.base/shlib-call.exp: Adjust to step over the
6621 gdb_unbuffer_output call.
6622 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
6623 (main): Call gdb_unbuffer_output.
6624 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
6625 (main): Call gdb_unbuffer_output.
6626 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
6627 (main): Rename to ...
6628 (test): ... this.
6629 (main): Reimplement.
6630 * gdb.base/varargs.exp: Run to test instead of to main.
6631 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
6632 (main): Call gdb_unbuffer_output.
6633
6634 2015-07-29 Pedro Alves <palves@redhat.com>
6635
6636 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
6637 factore out from mi_continue_dprintf. For call-style dprintfs,
6638 expect dprintf output out of $inferior_spawn_id.
6639 (mi_continue_dprintf): Use mi_expect_dprintf.
6640 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
6641 (main): Call gdb_unbuffer_output.
6642
6643 2015-07-29 Pedro Alves <palves@redhat.com>
6644
6645 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
6646 (default_mi_gdb_start): Set inferior_spawn_id instead of
6647 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
6648 gdb_spawn_id.
6649 (mi_gdb_test): Always expect inferior output from both
6650 $inferior_spawn_id and $gdb_spawn_id.
6651
6652 2015-07-29 Pedro Alves <palves@redhat.com>
6653
6654 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
6655 send_inferior and $inferior_spawn_id.
6656
6657 2015-07-29 Pedro Alves <palves@redhat.com>
6658
6659 * gdb.gdb/complaints.exp (test_initial_complaints)
6660 (test_serial_complaints, test_short_complaints): Use
6661 gdb_test_stdio.
6662 (test_empty_complaint): Handle $inferior_spawn_id !=
6663 $gdb_spawn_id.
6664
6665 2015-07-29 Pedro Alves <palves@redhat.com>
6666
6667 * gdb.base/varargs.exp: Use gdb_test_stdio.
6668
6669 2015-07-29 Pedro Alves <palves@redhat.com>
6670
6671 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
6672
6673 2015-07-29 Pedro Alves <palves@redhat.com>
6674
6675 * gdb.base/ending-run.exp: Use gdb_test_stdio.
6676
6677 2015-07-29 Pedro Alves <palves@redhat.com>
6678
6679 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
6680 parameter into two new parameters, "inf_result" and "gdb_result".
6681 Expect inferior output and gdb output from $inferior_spawn_id and
6682 $gdb_spawn_id, respectively. Adjust all callers.
6683
6684 2015-07-29 Pedro Alves <palves@redhat.com>
6685
6686 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
6687 of gdb_test_sequence.
6688
6689 2015-07-29 Pedro Alves <palves@redhat.com>
6690
6691 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
6692 (saw_spurious_output): Expect inferior output from
6693 $inferior_spawn_id. Use gdb_test_stdio.
6694
6695 2015-07-29 Pedro Alves <palves@redhat.com>
6696
6697 * gdb.base/dprintf.exp: Use standard_testfile. Change
6698 prepare_for_testing call.
6699 (srcfile): Don't set.
6700 (restart): New procedure.
6701 (test_dprintf): New procecure, use to continue over dprintfs.
6702 (test_call, test_agent): New procedures, tests moved here.
6703 Restart gdb and recreate dprintfs. Adjust expected output.
6704
6705 2015-07-29 Pedro Alves <palves@redhat.com>
6706
6707 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
6708
6709 2015-07-29 Pedro Alves <palves@redhat.com>
6710
6711 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
6712
6713 2015-07-29 Pedro Alves <palves@redhat.com>
6714
6715 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
6716 gdb_test_stdio.
6717
6718 2015-07-29 Pedro Alves <palves@redhat.com>
6719
6720 * lib/gdb.exp (gdb_test_stdio): New procedure.
6721
6722 2015-07-29 Pedro Alves <palves@redhat.com>
6723
6724 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
6725
6726 2015-07-29 Pedro Alves <palves@redhat.com>
6727
6728 * gdb.base/call-signal-resume.exp: Remove check for
6729 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
6730 * gdb.base/unwindonsignal.exp: Likewise.
6731 * gdb.base/call-signals.c (gen_signal): Remove printf call.
6732 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
6733
6734 2015-07-29 Pedro Alves <palves@redhat.com>
6735
6736 * gdb.base/siginfo-addr.c (pass): New function.
6737 (handler): Call it iff si_addr is correct.
6738 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
6739 Set a breakpoint at "pass" and continue to it.
6740
6741 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
6742
6743 * gdb.python/py-objfile.exp: Make some tests have unique names.
6744 * gdb.python/py-pp-registration.exp: Likewise.
6745
6746 2015-07-28 Pedro Alves <palves@redhat.com>
6747
6748 * gdb.server/server-exec-info.exp: Issue a "disconnect".
6749
6750 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
6751
6752 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
6753
6754 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
6755
6756 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
6757
6758 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
6759
6760 * gdb.base/gdb-sigterm-2.exp: New test.
6761
6762 2015-07-25 Doug Evans <xdje42@gmail.com>
6763
6764 Revert:
6765 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
6766 (workers/%.worker, build-perf): New rule.
6767 (GDB_PERFTEST_MODE): New variable.
6768 (check-perf): Use it.
6769 (clean): Clean up gdb.perf parallel build subdirs.
6770 * lib/build-piece.exp: New file.
6771 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
6772 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
6773 name.
6774 (standard_temp_file): Ditto.
6775 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
6776 of $GDB_PARALLEL.
6777
6778 2015-07-24 Doug Evans <dje@google.com>
6779
6780 * gdb.perf/lib/perftest/utils.py: New file.
6781 * gdb.perf/gm-hello.cc: New file.
6782 * gdb.perf/gm-pervasive-typedef.cc: New file.
6783 * gdb.perf/gm-pervasive-typedef.h: New file.
6784 * gdb.perf/gm-std.cc: New file.
6785 * gdb.perf/gm-std.h: New file.
6786 * gdb.perf/gm-use-cerr.cc: New file.
6787 * gdb.perf/gm-utils.h: New file.
6788 * gdb.perf/gmonster-null-lookup.py: New file.
6789 * gdb.perf/gmonster-pervasive-typedef.py: New file.
6790 * gdb.perf/gmonster-print-cerr.py: New file.
6791 * gdb.perf/gmonster-ptype-string.py: New file.
6792 * gdb.perf/gmonster-runto-main.py: New file.
6793 * gdb.perf/gmonster-select-file.py: New file.
6794 * gdb.perf/gmonster1-null-lookup.exp: New file.
6795 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
6796 * gdb.perf/gmonster1-print-cerr.exp: New file.
6797 * gdb.perf/gmonster1-ptype-string.exp: New file.
6798 * gdb.perf/gmonster1-runto-main.exp: New file.
6799 * gdb.perf/gmonster1-select-file.exp: New file.
6800 * gdb.perf/gmonster1.cc: New file.
6801 * gdb.perf/gmonster1.exp: New file.
6802 * gdb.perf/gmonster2-null-lookup.exp: New file.
6803 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
6804 * gdb.perf/gmonster2-print-cerr.exp: New file.
6805 * gdb.perf/gmonster2-ptype-string.exp: New file.
6806 * gdb.perf/gmonster2-runto-main.exp: New file.
6807 * gdb.perf/gmonster2-select-file.exp: New file.
6808 * gdb.perf/gmonster2.cc: New file.
6809 * gdb.perf/gmonster2.exp: New file.
6810
6811 2015-07-24 Doug Evans <dje@google.com>
6812
6813 * gdb.perf/README: New file.
6814 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
6815 * lib/gen-perf-test.exp: New file.
6816
6817 2015-07-24 Doug Evans <dje@google.com>
6818
6819 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
6820 (PerfTest::startup): New function.
6821 (PerfTest::run): Return result of calling body.
6822 (PerfTest::assemble): Rewrite.
6823 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
6824 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
6825 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
6826 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
6827 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
6828
6829 2015-07-24 Doug Evans <dje@google.com>
6830
6831 * lib/gdb.exp (clean_restart): Make executable optional.
6832
6833 2015-07-24 Doug Evans <dje@google.com>
6834
6835 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
6836 compiler_info references.
6837 * gdb.cp/temargs.exp: Ditto.
6838 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
6839 (get_compiler_info): Early exit if already computed. Set compiler_info
6840 to "unknown" if there was a problem.
6841 (test_compiler_info): Add function comment. Call get_compiler_info.
6842
6843 2015-07-24 Doug Evans <dje@google.com>
6844
6845 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
6846 (workers/%.worker, build-perf): New rule.
6847 (GDB_PERFTEST_MODE): New variable.
6848 (check-perf): Use it.
6849 (clean): Clean up gdb.perf parallel build subdirs.
6850 * lib/build-piece.exp: New file.
6851 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
6852 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
6853 name.
6854 (standard_temp_file): Ditto.
6855 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
6856 of $GDB_PARALLEL.
6857
6858 2015-07-24 Doug Evans <dje@google.com>
6859
6860 * lib/future.exp (gdb_default_target_compile): New option
6861 "early_flags".
6862 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
6863 --as-needed.
6864
6865 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
6866
6867 * gdb.base/catch-syscall.exp: Call gdb_exit before
6868 gdb_skip_xml_test.
6869
6870 2015-07-24 Pedro Alves <palves@redhat.com>
6871
6872 * gdb.python/py-events.exp: Accept output between the stop event
6873 and the prompt.
6874 * gdb.python/py-evsignal.exp: Likewise.
6875 * gdb.python/py-evthreads.exp: Likewise.
6876
6877 2015-07-24 Pedro Alves <palves@redhat.com>
6878
6879 PR gdb/18717
6880 * gdb.threads/non-ldr-exit.c: New file.
6881 * gdb.threads/non-ldr-exit.exp: New file.
6882
6883 2015-07-24 Yao Qi <yao.qi@linaro.org>
6884
6885 * gdb.server/ext-wrapper.exp: Test --wrapper option when
6886 restarting process.
6887
6888 2015-07-24 Yao Qi <yao.qi@linaro.org>
6889
6890 * gdb.server/ext-restart.exp: New file.
6891
6892 2015-07-24 Yao Qi <yao.qi@linaro.org>
6893
6894 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
6895 argument options.
6896 * gdb.server/ext-wrapper.exp: New file.
6897
6898 2015-07-23 Doug Evans <dje@google.com>
6899
6900 * gdb.dwarf2/dw2-dummy-cu.S: New file.
6901 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
6902
6903 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
6904
6905 * gdb.ada/var_arr_typedef.exp: New testcase.
6906 * gdb.ada/var_arr_typedef/pack.adb: New file.
6907 * gdb.ada/var_arr_typedef/pack.ads: New file.
6908 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
6909
6910 2015-07-20 Joel Brobecker <brobecker@adacore.com>
6911
6912 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
6913
6914 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6915
6916 * gdb.arch/i386-biarch-core.exp: Replace istarget
6917 by "complete set gnutarget". Remove expectation for the "core-file"
6918 command.
6919
6920 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6921
6922 Revert the previous commit:
6923 Tests for validate symbol file using build-id.
6924
6925 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
6926
6927 Tests for validate symbol file using build-id.
6928 * gdb.base/solib-mismatch-lib.c: New file.
6929 * gdb.base/solib-mismatch-libmod.c: New file.
6930 * gdb.base/solib-mismatch.c: New file.
6931 * gdb.base/solib-mismatch.exp: New file.
6932
6933 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
6934
6935 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
6936 nios2-*-linux*.
6937 * gdb.base/sigbpt.exp (stepi_out): Likewise.
6938 * gdb.base/siginfo.exp: Likewise.
6939 * gdb.base/sigstep.exp (advance, advancei): Likewise.
6940
6941 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
6942
6943 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
6944 Move it to ...
6945 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
6946 ... here.
6947 * gdb.trace/range-stepping.exp: Check that the target supports
6948 range stepping.
6949
6950 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6951
6952 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
6953
6954 2015-07-14 Pedro Alves <palves@redhat.com>
6955
6956 * gdb.base/killed-outside.exp: New file.
6957 * gdb.base/killed-outside.c: New file.
6958
6959 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6960
6961 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
6962 (n at main): New.
6963 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
6964
6965 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
6966
6967 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
6968 infcall tests instead of setting up for KFAIL.
6969
6970 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
6971
6972 * gdb.btrace/record_goto-step.exp: New.
6973
6974 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6975
6976 PR compile/18484
6977 * gdb.compile/compile.c (struct struct_type): Add volatile to
6978 selffield's type.
6979 * gdb.compile/compile.exp
6980 (compile code struct_object.selffield = &struct_object): Skip further
6981 struct_object tests if this one xfails.
6982
6983 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
6984
6985 PR exp/18617
6986 * gdb.trace/ax.exp: Add test.
6987
6988 2015-07-07 Yao Qi <yao.qi@linaro.org>
6989
6990 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
6991 instead of istarget "aarch64*-*-*".
6992 * gdb.arch/aarch64-fp.exp: Likewise.
6993 * gdb.base/float.exp: Likewise.
6994 * gdb.reverse/aarch64.exp: Likewise.
6995 * lib/gdb.exp (is_aarch64_target): New proc.
6996
6997 2015-07-07 Yao Qi <yao.qi@linaro.org>
6998
6999 * lib/gdb.exp (is_aarch32_target): New proc.
7000 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
7001 instead of "istarget "arm*-*-*"".
7002 * gdb.arch/arm-disp-step.exp: Likewise.
7003 * gdb.arch/thumb-bx-pc.exp: Likewise.
7004 * gdb.arch/thumb-prologue.exp: Likewise.
7005 * gdb.arch/thumb-singlestep.exp: Likewise.
7006 * gdb.base/disp-step-syscall.exp: Likewise.
7007 * gdb.base/float.exp: Likewise.
7008
7009 2015-07-07 Yao Qi <yao.qi@linaro.org>
7010
7011 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
7012 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
7013
7014 2015-07-07 Yao Qi <yao.qi@linaro.org>
7015
7016 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
7017 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
7018 if it exists.
7019 * gdb.multi/multi-arch.exp: Likewise.
7020
7021 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
7022
7023 * gdb.python/py-lazy-string.exp: Add missing parentheses to
7024 print.
7025
7026 2015-07-07 Yao Qi <yao.qi@linaro.org>
7027
7028 * gdb.arch/thumb-singlestep.exp: Do one more single step.
7029
7030 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
7031
7032 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
7033 '[' and ']' characters.
7034
7035 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
7036
7037 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
7038
7039 2015-06-29 Pedro Alves <palves@redhat.com>
7040
7041 PR threads/18127
7042 * gdb.threads/hand-call-new-thread.c: New file.
7043 * gdb.threads/hand-call-new-thread.c: New file.
7044
7045 2015-06-26 Keith Seitz <keiths@redhat.com>
7046 Doug Evans <dje@google.com>
7047
7048 PR 16253
7049 * gdb.cp/var-tag-2.cc: New file.
7050 * gdb.cp/var-tag-3.cc: New file.
7051 * gdb.cp/var-tag-4.cc: New file.
7052 * gdb.cp/var-tag.cc: New file.
7053 * gdb.cp/var-tag.exp: New file.
7054
7055 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
7056
7057 * gdb.base/history-duplicates.exp: New test.
7058
7059 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
7060
7061 * gdb.base/completion.exp: Test the completion of the "focus"
7062 command.
7063
7064 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7065
7066 * gdb.arch/amd64-prologue-skip.S: New file.
7067 * gdb.arch/amd64-prologue-skip.exp: New file.
7068
7069 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
7070
7071 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
7072 is_address_zero_readable check.
7073
7074 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
7075
7076 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
7077 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
7078
7079 2015-06-24 Yao Qi <yao.qi@linaro.org>
7080
7081 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
7082 linux targets.
7083
7084 2015-06-24 Yao Qi <yao.qi@linaro.org>
7085
7086 * lib/gdb.exp (supports_get_siginfo_type): New proc.
7087 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
7088 * gdb.base/siginfo-thread.exp: Likewise.
7089
7090 2015-06-22 Yao Qi <yao.qi@linaro.org>
7091
7092 * boards/remote-gdbserver-on-localhost.exp: Add comments.
7093
7094 2015-06-22 Yao Qi <yao.qi@linaro.org>
7095
7096 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
7097 aarch64*-*-*.
7098 (skip_hw_watchpoint_tests): Likewise.
7099
7100 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
7101
7102 * gdb.base/gdbinit-history.exp: Test the interaction between
7103 setting GDBHISTSIZE and setting the history size via .gdbinit.
7104
7105 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
7106
7107 PR gdb/16999
7108 * gdb.base/gdbhistsize-history.exp: New test.
7109
7110 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
7111
7112 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
7113 with GDBHISTSIZE.
7114 * gdb.base/readline.exp: Likewise.
7115
7116 2015-06-17 Yao Qi <yao.qi@linaro.org>
7117
7118 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
7119 line.
7120
7121 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
7122
7123 * gdb.base/gdbinit-history.exp: Add test case to check that
7124 an unlimited history file does not get truncated on exit.
7125
7126 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
7127
7128 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
7129 (VECTOR): New macro. Use it...
7130 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
7131 ...for these typedefs.
7132 (int8, char1, int1, double1): New typedefs.
7133 (struct just_int2, struct two_int2): New structures.
7134 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
7135 (add_structvecs, add_singlevecs): New functions.
7136 (main): Call add_some_intvecs twice.
7137 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
7138 the compile and exit upon failure. Try compiling for the "native"
7139 architecture. Test inferior function calls with vector arguments
7140 and vector return value handling with "finish" and "return".
7141
7142 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
7143
7144 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
7145 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
7146 PE file.
7147 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
7148
7149 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
7150
7151 PR breakpoints/16465
7152 * gdb.mi/mi-dprintf-pending.c: New file.
7153 * gdb.mi/mi-dprintf-pending.exp: New test.
7154 * gdb.mi/mi-dprintf-pendshr.c: New file.
7155
7156 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
7157 Mircea Gherzan <mircea.gherzan@intel.com>
7158
7159 * gdb.arch/i386-mpx-map.c: New file.
7160 * gdb.arch/i386-mpx-map.exp: New File.
7161
7162 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
7163
7164 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
7165 * gdb.arch/i386-mpx.exp: Indentation fixed.
7166
7167 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
7168
7169 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
7170 function and improved indentation.
7171 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
7172 gdb_test_multiple. Added additional tests to skip the test.
7173
7174 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
7175
7176 * gdb.arch/i386-avx512.c: Change path in include file.
7177 * gdb.arch/i386-avx512.exp: Change include dir path
7178 compilation flag.
7179 * gdb.arch/i386-mpx.c: Change path in include file.
7180 * gdb.arch/i386-mpx.exp: Change include dir path compilation
7181 flag.
7182
7183 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
7184
7185 * gdb.compile/compile-print.exp (compile print *vararray@3)
7186 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
7187
7188 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7189
7190 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
7191 (do not keep jit in memory): ... this.
7192 (expect 5): Change it to ...
7193 (expect no 5): ... this.
7194
7195 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
7196
7197 PR gdb/15564
7198 * gdb.mi/mi-detach.exp: New file.
7199
7200 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7201
7202 PR symtab/18392
7203 * gdb.arch/amd64-tailcall-self.S: New file.
7204 * gdb.arch/amd64-tailcall-self.c: New file.
7205 * gdb.arch/amd64-tailcall-self.exp: New file.
7206
7207 2015-05-28 Don Breazeal <donb@codesourcery.com>
7208
7209 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
7210 tests for remote targets by checking is_target_gdbserver.
7211
7212 2015-05-27 Doug Evans <dje@google.com>
7213
7214 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
7215 * gdb.dwarf2/opaque-type-lookup.c: New file.
7216 * gdb.dwarf2/opaque-type-lookup.exp: New file.
7217
7218 2015-05-26 Doug Evans <dje@google.com>
7219
7220 * gdb.cp/iostream.cc: New file.
7221 * gdb.cp/iostream.exp: New file.
7222
7223 2015-05-26 Doug Evans <dje@google.com>
7224
7225 * gdb.dwarf2/dw2-op-call.exp: Update.
7226 * gdb.dwarf2/dw4-sig-types.exp: Update.
7227 * gdb.dwarf2/implptr.exp: Update.
7228 * gdb.mi/mi-cmd-param-changed.exp: Update.
7229
7230 2015-05-26 Doug Evans <dje@google.com>
7231
7232 * gdb.python/py-lazy-string.c: New file.
7233 * gdb.python/py-lazy-string.exp: New file.
7234 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
7235 (main): Update. Add estring3.
7236 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
7237 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
7238
7239 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
7240 Yao Qi <yao.qi@linaro.org>
7241
7242 * gdb.reverse/aarch64.c: New.
7243 * gdb.reverse/aarch64.exp: New.
7244
7245 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
7246
7247 * lib/gdb.exp (supports_process_record): Return true for
7248 aarch64*-linux*.
7249 (supports_reverse): Likewise.
7250
7251 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
7252
7253 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
7254 Use with_test_prefix.
7255
7256 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
7257
7258 * gdb.base/completion.exp: Add test for completion of layout
7259 names.
7260
7261 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
7262
7263 * lib/gdb.exp (skip_tui_tests): New proc.
7264 * gdb.base/tui-layout.exp: Check skip_tui_tests.
7265
7266 2015-05-19 Pedro Alves <palves@redhat.com>
7267
7268 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
7269 Save the whole env array instead of just HOME. Unset HISTSIZE in
7270 the environment while testing. Restore whole environment
7271 afterwards.
7272
7273 2015-05-16 Doug Evans <xdje42@gmail.com>
7274
7275 * gdb.guile/scm-ports.c: New file.
7276 * gdb.guile/scm-ports.exp: Add memory port tests.
7277
7278 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7279
7280 * gdb.compile/compile-print.c: New file.
7281 * gdb.compile/compile-print.exp: New file.
7282
7283 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7284
7285 * gdb.compile/compile-ops.exp: Cast param to void.
7286 * gdb.compile/compile.exp: Complete type for _gdb_expr.
7287 (compile code struct_object.selffield = &struct_object): Add xfail.
7288
7289 2015-05-15 Joel Brobecker <brobecker@adacore.com>
7290
7291 * gdb.ada/arr_enum_with_gap: New testcase.
7292
7293 2015-05-15 Joel Brobecker <brobecker@adacore.com>
7294
7295 * gdb.ada/byte_packed_arr: New testcase.
7296
7297 2015-05-15 Joel Brobecker <brobecker@adacore.com>
7298
7299 * gdb.ada/pckd_neg: New testcase.
7300
7301 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
7302
7303 PR gdb/17820
7304 * gdb.base/gdbinit-history.exp: New test.
7305 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
7306 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
7307
7308 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
7309
7310 * gdb.python/py-xmethods.cc: Enhance test case.
7311 * gdb.python/py-xmethods.exp: New tests.
7312 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
7313 function.
7314 (B_indexoper): Likewise.
7315 (global_dm_list) : Add new xmethod worker functions.
7316
7317 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
7318
7319 * gdb.base/coredump-filter.exp: Correctly unset
7320 "coredump_var_addr" array.
7321
7322 2015-05-08 Pedro Alves <palves@redhat.com>
7323
7324 * gdb.server/non-existing-program.exp: Unset spawn_id.
7325
7326 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
7327
7328 PR python/18291
7329 * gdb.python/py-xmethods.exp: Add tests.
7330
7331 2015-05-08 Yao Qi <yao.qi@linaro.org>
7332
7333 PR gdb/18208
7334 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
7335 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
7336 function set_coredump_filter, and remove remote_exec call.
7337 Remove argument ipid. Callers update.
7338 (top level): Don't get inferior's PID.
7339
7340 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
7341
7342 * gdb.base/watch_thread_num.exp: Skip test on targets without
7343 access watchpoints.
7344
7345 2015-05-06 Pedro Alves <palves@redhat.com>
7346
7347 PR server/18081
7348 * gdb.server/non-existing-program.exp: New file.
7349
7350 2015-05-05 Joel Brobecker <brobecker@adacore.com>
7351
7352 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
7353
7354 2015-05-05 Joel Brobecker <brobecker@adacore.com>
7355
7356 * gdb.ada/out_of_line_in_inlined: New testcase.
7357
7358 2015-05-05 Joel Brobecker <brobecker@adacore.com>
7359
7360 * gdb.ada/var_rec_arr: New testcase.
7361
7362 2015-04-30 Yao Qi <yao.qi@linaro.org>
7363
7364 * gdb.base/break-idempotent.exp: If
7365 skip_hw_watchpoint_multi_tests returns true, skip the tests
7366 on "rwatch" and "awatch".
7367
7368 2015-04-30 Yao Qi <yao.qi@linaro.org>
7369
7370 * gdb.base/relativedebug.exp: Invoke gdb command
7371 "info sharedlibrary", and if libc.so doesn't have debug info,
7372 skip the test.
7373
7374 2015-04-29 Doug Evans <dje@google.com>
7375
7376 * gdb.python/py-xmethods.exp: Add ptype tests.
7377 * gdb.python/py-xmethods.py (E_method_char_worker): Add
7378 get_result_type method.
7379
7380 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
7381
7382 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
7383 the target does not support hardware watchpoints.
7384
7385 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
7386
7387 * gdb.base/break-always.exp: Abort testing if writing to memory
7388 causes an error.
7389
7390 2015-04-28 Doug Evans <dje@google.com>
7391
7392 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
7393 * gdb.python/py-pp-registration.exp: ... here. New file.
7394 * gdb.python/py-pp-registration.c: New file.
7395 * gdb.python/py-pp-registration.py: New file.
7396
7397 2015-04-28 Doug Evans <dje@google.com>
7398
7399 * gdb.python/py-bad-printers.c: New file.
7400 * gdb.python/py-bad-printers.py: New file.
7401 * gdb.python/py-bad-printers.exp: New file.
7402
7403 2015-04-28 Sasha Smundak <asmundak@google.com>
7404
7405 * gdb.python/py-type.exp: New test.
7406
7407 2015-04-28 Andy Wingo <wingo@igalia.com>
7408
7409 * gdb.python/py-parameter.exp:
7410 * gdb.guile/scm-parameter.exp: Escape the path that we are
7411 matching against, as it might contain characters that are special
7412 to regular expressions.
7413
7414 2015-04-27 Joel Brobecker <brobecker@adacore.com>
7415
7416 * gdb.ada/rec_comp: New testcase.
7417
7418 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
7419
7420 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
7421 before using it.
7422
7423 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
7424
7425 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
7426 new tests for verilog output.
7427
7428 2015-04-24 Yao Qi <yao.qi@linaro.org>
7429
7430 * boards/remote-gdbserver-on-localhost.exp: New file.
7431
7432 2015-04-23 Pedro Alves <palves@redhat.com>
7433
7434 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
7435 $inferior_spawn_id instead of $inferior_spawn_id directly. On
7436 "end of file", remove $inferior_spawn_id from the indirect list.
7437
7438 2015-04-23 Pedro Alves <palves@redhat.com>
7439
7440 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
7441
7442 2015-04-23 Pedro Alves <palves@redhat.com>
7443
7444 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
7445 on $any_spawn_id instead of only on $gdb_spawn_id.
7446
7447 2015-04-21 Pierre Muller <muller@sourceware.org>
7448
7449 PR pascal/17815
7450 * lib/pascal.exp (gpc_compile): Add new option "class".
7451 (fpc_compile): Likewise.
7452 * gdb.pascal/case-insensitive-symbols.pas: New file.
7453 * gdb.pascal/case-insensitive-symbols.exp: New file.
7454
7455 2015-04-20 Gary Benson <gbenson@redhat.com>
7456
7457 * gdb.base/attach.exp: Fix three extended remote failures.
7458
7459 2015-04-17 Gary Benson <gbenson@redhat.com>
7460
7461 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
7462 the main executable over the remote protocol.
7463
7464 2015-04-16 Pedro Alves <palves@redhat.com>
7465
7466 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
7467 a new gdbserver if gdbserver_reconnect_p is set.
7468
7469 2015-04-16 Pedro Alves <palves@redhat.com>
7470
7471 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
7472 is set, don't exit gdbserver.
7473
7474 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
7475
7476 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
7477 appropriate .insn, such that an older assembler can be used.
7478 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
7479 the z/Architecture instruction set on 31-bit targets as well.
7480
7481 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
7482
7483 * gdb.go/handcall.exp: Remove all logic related to the first
7484 breakpoint and rely on go_runto_main instead.
7485 * gdb.go/strings.exp: Likewise.
7486 * gdb.go/unsafe.exp: Likewise.
7487 * gdb.go/hello.exp: Likewise. Also rename the remaining
7488 breakpoint marker to "breakpoint 1".
7489 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
7490 * gdb.go/strings.go: Likewise.
7491 * gdb.go/unsafe.go: Likewise.
7492 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
7493 "set breakpoint 2 here" and rename the remaining breakpoint marker
7494 to "breakpoint 1".
7495
7496 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
7497
7498 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
7499 if itertools.imap is not present.
7500 * gdb.python/py-objfile.exp: Add parentheses.
7501 * gdb.python/py-type.exp: Same.
7502 * gdb.python/py-unwind-maint.py: Same.
7503
7504 2015-04-15 Yao Qi <yao.qi@linaro.org>
7505
7506 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
7507 of ":$ptr_size" and set its form explicitly.
7508
7509 2015-04-15 Pedro Alves <palves@redhat.com>
7510 Yao Qi <yao.qi@linaro.org>
7511
7512 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
7513 timeout by factor of 4.
7514 (test_regular_watch): Likewise.
7515 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
7516 * gdb.reverse/sigall-reverse.exp: Likewise.
7517 * gdb.reverse/until-precsave.exp: Likewise.
7518 * lib/gdb.exp (with_timeout_factor): New proc.
7519 (gdb_expect): Move some code to ...
7520 (get_largest_timeout): ... here. New procedure.
7521
7522 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
7523
7524 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
7525
7526 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
7527
7528 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
7529 to write to the .text section.
7530
7531 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
7532
7533 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
7534 Handle the case of targets that do not provide PID information.
7535
7536 2015-04-13 Yao Qi <yao.qi@linaro.org>
7537
7538 * lib/gdbserver-support.exp (gdb_exit): Catch exception
7539 and use expect instead of gdb_expect.
7540
7541 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
7542
7543 * gdb.base/coredump-filter.exp: Rename variable "addr" to
7544 "coredump_var_addr" to avoid naming conflict with other testcases.
7545
7546 2015-04-10 Pedro Alves <palves@redhat.com>
7547
7548 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
7549 gdb_test_sequence and gdb_assert.
7550
7551 2015-04-10 Pedro Alves <palves@redhat.com>
7552
7553 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
7554 test messages that don't include the breakpoint address.
7555
7556 2015-04-10 Yao Qi <yao.qi@linaro.org>
7557
7558 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
7559 false for some offset and width combinations which aren't
7560 supported by linux kernel.
7561
7562 2015-04-10 Pedro Alves <palves@redhat.com>
7563
7564 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
7565 procedure, factored out from ...
7566 (top level): ... here. Add "set displaced-stepping" testing axis.
7567 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
7568 parameter "displaced". Use it.
7569 (top level): Use foreach and add "set displaced-stepping" testing
7570 axis.
7571
7572 2015-04-10 Pedro Alves <palves@redhat.com>
7573
7574 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
7575 Remove comment.
7576 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
7577 both the address of the instruction that triggers the watchpoint
7578 and the address of the instruction immediately after, and use
7579 those addresses for the test. Fix comment.
7580
7581 2015-04-10 Pedro Alves <palves@redhat.com>
7582
7583 * gdb.base/sigstep.exp (breakpoint_to_handler)
7584 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
7585 Test "backtrace" in handler.
7586 (breakpoint_over_handler): New parameter 'displaced'. Use it.
7587 (top level): Add new "displaced" test axis to
7588 breakpoint_to_handler, breakpoint_to_handler_entry and
7589 breakpoint_over_handler.
7590
7591 2015-04-10 Pedro Alves <palves@redhat.com>
7592
7593 PR gdb/18216
7594 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
7595
7596 2015-04-10 Yao Qi <yao.qi@linaro.org>
7597
7598 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
7599 (test_add_rn_pc): New function.
7600 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
7601 (top level): Invoke test_add_rn_pc.
7602
7603 2015-04-10 Pedro Alves <palves@redhat.com>
7604
7605 PR gdb/13858
7606 * gdb.base/step-over-no-symbols.exp: New file.
7607
7608 2015-04-09 Andy Wingo <wingo@igalia.com>
7609
7610 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
7611 after the Python tests.
7612
7613 2015-04-08 Keith Seitz <keiths@redhat.com>
7614
7615 PR python/16699
7616 * gdb.python/py-completion.exp: New tests for completion.
7617 * gdb.python/py-completion.py (CompleteLimit1): New class.
7618 (CompleteLimit2): Likewise.
7619 (CompleteLimit3): Likewise.
7620 (CompleteLimit4): Likewise.
7621 (CompleteLimit5): Likewise.
7622 (CompleteLimit6): Likewise.
7623 (CompleteLimit7): Likewise.
7624
7625 2015-04-08 Pedro Alves <palves@redhat.com>
7626
7627 PR gdb/18214
7628 PR gdb/18216
7629 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
7630 function.
7631 (main): Install it as SIGUSR1 handler.
7632 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
7633 parameter. Always use "setup" as prefix. Toggle "set
7634 displaced-stepping" off/on depending on global. Don't switch to
7635 thread 1 here.
7636 (top level): Add displaced stepping "off/on" test axis. Update
7637 "setup" calls. Wrap each subtest with with_test_prefix. Test
7638 continuing with a queued signal in each thread.
7639
7640 2015-04-08 Pedro Alves <palves@redhat.com>
7641
7642 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
7643 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
7644 gdb_breakpoint instead of gdb_test that doesn't expect anything.
7645 Return early if running to main fails.
7646 * gdb.trace/while-stepping.exp: Likewise.
7647
7648 2015-04-07 Pedro Alves <palves@redhat.com>
7649
7650 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
7651 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
7652 interact with inferior program.
7653
7654 2015-04-07 Pedro Alves <palves@redhat.com>
7655
7656 * lib/gdb.exp (inferior_spawn_id): New global.
7657 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
7658 spawn id after processing the user code.
7659 (default_gdb_start): Set inferior_spawn_id.
7660 (send_inferior): New procedure.
7661 * lib/gdbserver-support.exp (gdbserver_start): Set
7662 inferior_spawn_id.
7663 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
7664
7665 2015-04-07 Pedro Alves <palves@redhat.com>
7666
7667 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
7668 * lib/gdbserver-support.exp (gdbserver_start): Make
7669 $server_spawn_id global.
7670 (gdbserver_start): Don't wait for gdbserver's spawn id with
7671 expect_background.
7672 (close_gdbserver): New procedure.
7673 (gdb_exit): Rename the default version and reimplement.
7674
7675 2015-04-07 Pedro Alves <palves@redhat.com>
7676
7677 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
7678 append the substituted item, not the original item.
7679
7680 2015-04-07 Pedro Alves <palves@redhat.com>
7681
7682 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
7683 gdb_expect.
7684
7685 2015-04-07 Pedro Alves <palves@redhat.com>
7686
7687 * gdb.base/interrupt.exp: Don't handle the case of the inferior
7688 output appearing once only.
7689
7690 2015-04-07 Pedro Alves <palves@redhat.com>
7691
7692 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
7693 that doesn't expect anything. Return early if running to main
7694 fails.
7695
7696 2015-04-07 Yao Qi <yao.qi@linaro.org>
7697
7698 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
7699 (child_function): Call alarm.
7700 (main): Move call to alarm into the loop.
7701 * gdb.threads/non-stop-fair-events.exp: Build program with
7702 -DTIMEOUT=$timeout.
7703
7704 2015-04-06 Doug Evans <xdje42@gmail.com>
7705
7706 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
7707 Fix dest parameter to board_info.
7708 (fpc_compile): Ditto.
7709 (gdb_compile_pascal): Rename dest arg to destfile.
7710
7711 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
7712
7713 * gdb.ada/funcall_ref.exp: New file.
7714 * gdb.ada/funcall_ref/foo.adb: New file.
7715
7716 2015-04-02 Yao Qi <yao.qi@linaro.org>
7717
7718 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
7719 is remote.
7720
7721 2015-04-02 Gary Benson <gbenson@redhat.com>
7722
7723 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
7724
7725 2015-04-01 Sasha Smundak <asmundak@google.com>
7726
7727 * gdb.python/py-unwind-maint.c: New file.
7728 * gdb.python/py-unwind-maint.exp: New test.
7729 * gdb.python/py-unwind-maint.py: New file.
7730 * gdb.python/py-unwind.c: New file.
7731 * gdb.python/py-unwind.exp: New test.
7732 * gdb.python/py-unwind.py: New test.
7733
7734 2015-04-01 Pedro Alves <palves@redhat.com>
7735
7736 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
7737 to fail instead of non-existent $test.
7738
7739 2015-04-01 Pedro Alves <palves@redhat.com>
7740
7741 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
7742 GDBFLAGS if not empty.
7743
7744 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
7745
7746 * gdb.ada/complete.exp: Remove "multi_line".
7747 * gdb.ada/info_exc.exp: Remove "multi_line".
7748 * gdb.ada/packed_tagged.exp: Remove "multi_line".
7749 * gdb.ada/ptype_field.exp: Remove "multi_line".
7750 * gdb.ada/sym_print_name.exp: Remove "multi_line".
7751 * gdb.ada/tagged.exp: Remove "multi_line".
7752 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
7753 [multi_line ...]
7754 * gdb.btrace/delta.exp: Likewise.
7755 * gdb.btrace/exception.exp: Likewise.
7756 * gdb.btrace/function_call_history.exp: Likewise.
7757 * gdb.btrace/instruction_history.exp: Likewise.
7758 * gdb.btrace/nohist.exp: Likewise.
7759 * gdb.btrace/record_goto.exp: Likewise.
7760 * gdb.btrace/segv.exp: Likewise.
7761 * gdb.btrace/stepi.exp: Likewise.
7762 * gdb.btrace/tailcall.exp: Likewise.
7763 * gdb.btrace/unknown_functions.exp: Likewise.
7764 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
7765 * lib/gdb.exp: Add the "multi_line" helper.
7766
7767 2015-04-01 Pedro Alves <palves@redhat.com>
7768
7769 * gdb.threads/tid-reuse.c: New file.
7770 * gdb.threads/tid-reuse.exp: New file.
7771
7772 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
7773
7774 PR corefiles/16092
7775 * gdb.base/coredump-filter.c: New file.
7776 * gdb.base/coredump-filter.exp: Likewise.
7777
7778 2015-03-27 Petr Machata <pmachata@redhat.com>
7779
7780 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
7781 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
7782 (Dwarf::assemble): Initialize them.
7783 (Dwarf::lines): New function.
7784
7785 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
7786
7787 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
7788 SYMBOL_PREFIX for x86_64-*-cygwin.
7789
7790 2015-03-26 Andy Wingo <wingo@igalia.com>
7791
7792 PR symtab/18148
7793 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
7794 const_value but not a location.
7795 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
7796 location defined in non-main CUs are visible.
7797
7798 2015-03-26 Yao Qi <yao.qi@linaro.org>
7799
7800 PR testsuite/18139
7801 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
7802 Add a line number entry for the same line.
7803 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
7804 Add a line number entry for the same line.
7805
7806 2015-03-26 Yao Qi <yao.qi@linaro.org>
7807
7808 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
7809 .int 0.
7810 (func): Likewise. Add .Lfunc_1 label.
7811 Use .Lfunc_1 label.
7812 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
7813 .int 0.
7814 (func): Likewise.
7815 Use .Lfunc_1 label.
7816
7817 2015-03-26 Yao Qi <yao.qi@linaro.org>
7818
7819 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
7820 Call gdb_compile instead to compile each .s files without debug
7821 information.
7822
7823 2015-03-26 Yao Qi <yao.qi@linaro.org>
7824
7825 * gdb.base/savedregs.exp (process_saved_regs): Make
7826 "Saved registers:" optional in the pattern.
7827
7828 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
7829
7830 * gdb.btrace/next.exp: Merged into step.exp.
7831 * gdb.btrace/finish.exp: Merged into step.exp.
7832 * gdb.btrace/nexti.exp: Merged into stepi.exp.
7833 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
7834 "record goto" and checking the exact replay position.
7835 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
7836 check for "Recording format" in "info record" output.
7837 * gdb.btrace/record_goto.exp: Choose test file based on target.
7838 * gdb.btrace/x86-record_goto.S: Renamed into ...
7839 * gdb.btrace/x86_64-record_goto.S: ... this.
7840 * gdb.btrace/i686-record_goto.S: New.
7841 * gdb.btrace/x86-tailcall.S: Renamed into ...
7842 * gdb.btrace/x86_64-tailcall.S: ... this.
7843 * gdb.btrace/i686-tailcall.S: New.
7844 * gdb.btrace/x86-tailcall.c: Renamed into ...
7845 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
7846 separate statements. Update test.
7847 * gdb.btrace/delta.exp: Use record_goto.c as test file.
7848 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
7849 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
7850 * gdb.btrace/tailcall.exp: Choose test file based on target.
7851 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
7852
7853 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
7854
7855 * gdb.btrace/exception.exp: Increase BTS buffer size.
7856
7857 2015-03-24 Pedro Alves <palves@redhat.com>
7858
7859 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
7860
7861 2015-03-24 Pedro Alves <palves@redhat.com>
7862
7863 * gdb.threads/schedlock.exp (test_step): No longer expect that
7864 "set scheduler-locking step" with "next" over a function call runs
7865 threads unlocked.
7866
7867 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
7868
7869 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
7870
7871 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
7872
7873 PR breakpoints/16466
7874 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
7875 * gdb.mi/mi-pending.c (thread_func): New function.
7876 (int main): Add threading support required.
7877 * gdb.mi/mi-pending.exp: Add tests for this issue.
7878 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
7879 (pendfunc2): Remove stdio dependency.
7880 * gdb.mi/mi-pendshr2.c: New file.
7881
7882 2015-03-23 Keith Seitz <keiths@redhat.com>
7883
7884 * gdb.linespec/keywords.c: New file.
7885 * gdb.linespec/keywords.exp: New file.
7886
7887 2015-03-23 Keith Seitz <keiths@redhat.com>
7888
7889 PR gdb/18021
7890 * gdb.dwarf2/staticvirtual.exp: New test.
7891
7892 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7893
7894 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
7895 * README: Remove HP-UX and gdb.hp.
7896 (configuration):
7897 * configure: Regenerate.
7898 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
7899 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
7900 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
7901 gdb.hp/gdb.defects/Makefile.
7902 * gdb.hp/Makefile.in: File deleted.
7903 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
7904 * gdb.hp/gdb.aCC/optimize.c: File deleted.
7905 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
7906 * gdb.hp/gdb.aCC/run.c: File deleted.
7907 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
7908 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
7909 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
7910 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
7911 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
7912 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
7913 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
7914 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
7915 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
7916 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
7917 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
7918 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
7919 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
7920 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
7921 * gdb.hp/gdb.base-hp/reg.s: File deleted.
7922 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
7923 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
7924 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
7925 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
7926 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
7927 * gdb.hp/gdb.compat/Makefile.in: File deleted.
7928 * gdb.hp/gdb.compat/average.c: File deleted.
7929 * gdb.hp/gdb.compat/sum.c: File deleted.
7930 * gdb.hp/gdb.compat/xdb.c: File deleted.
7931 * gdb.hp/gdb.compat/xdb0.c: File deleted.
7932 * gdb.hp/gdb.compat/xdb0.h: File deleted.
7933 * gdb.hp/gdb.compat/xdb1.c: File deleted.
7934 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
7935 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
7936 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
7937 * gdb.hp/gdb.defects/Makefile.in: File deleted.
7938 * gdb.hp/gdb.defects/bs14602.c: File deleted.
7939 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
7940 * gdb.hp/gdb.defects/solib-d.c: File deleted.
7941 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
7942 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
7943 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
7944 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
7945 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
7946 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
7947 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
7948 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
7949 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
7950 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
7951 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
7952 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
7953 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
7954 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
7955 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
7956 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
7957 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
7958 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
7959 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
7960 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
7961 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
7962 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
7963 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
7964 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
7965 * gdb.hp/tools/odump: File deleted.
7966
7967 2015-03-19 Pedro Alves <palves@redhat.com>
7968
7969 * gdb.threads/continue-pending-status.exp (saw_thread_2)
7970 (saw_thread_3): New globals.
7971 (top level): Increment them when an event for the corresponding
7972 thread is seen.
7973 (no thread starvation): New test.
7974
7975 2015-03-19 Pedro Alves <palves@redhat.com>
7976
7977 * gdb.threads/continue-pending-status.c: New file.
7978 * gdb.threads/continue-pending-status.exp: New file.
7979
7980 2015-03-18 Pedro Alves <palves@redhat.com>
7981
7982 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
7983 Use gdb_is_target_remote instead of is_remote. Use
7984 gdb_test_multiple instead of gdb_expect. Exit early if
7985 gdb_test_multiple hits its internal matches. Tighten stepi tests
7986 expected output. Fail on exit with any signal, instead of just
7987 SIGILL.
7988
7989 2015-03-18 Yao Qi <yao.qi@linaro.org>
7990
7991 PR tdep/18107
7992 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
7993 variable.
7994 * gdb.base/catch-syscall.exp: Don't skip it on
7995 aarch64*-*-linux* target. Remove elements in all_syscalls.
7996 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
7997 target.
7998 (setup_all_syscalls): New proc.
7999
8000 2015-03-16 Yao Qi <yao.qi@linaro.org>
8001
8002 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
8003 (top level): Skip tests if valid_addr_p returns false for
8004 $cmd1 or $cmd2.
8005
8006 2015-03-11 Andy Wingo <wingo@igalia.com>
8007
8008 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
8009
8010 2015-03-11 Yao Qi <yao.qi@linaro.org>
8011
8012 * gdb.base/catch-syscall.exp: Fix typo in comments.
8013
8014 2015-03-11 Yao Qi <yao.qi@linaro.org>
8015
8016 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
8017
8018 2015-03-09 Pedro Alves <palves@redhat.com>
8019
8020 * dg-extract-results.py: Delete.
8021
8022 2015-03-09 Pedro Alves <palves@redhat.com>
8023
8024 Merge dg-extract-results.sh from GCC upstream (r218843).
8025
8026 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
8027 * dg-extract-results.sh: Use --text with grep to avoid issues with
8028 binary files. Fall back to cat -v, if that doesn't work.
8029
8030 2015-03-05 Pedro Alves <palves@redhat.com>
8031
8032 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
8033
8034 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
8035
8036 * lib/mi-support.exp (mi_expect_interrupt): Accept
8037 alternative event for when in all-stop mode.
8038
8039 2015-03-04 Pedro Alves <palves@redhat.com>
8040
8041 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
8042
8043 2015-03-04 Mark Kettenis <kettenis@gnu.org>
8044
8045 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
8046
8047 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
8048
8049 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
8050 regexps for GDB's current line display, accept a hex address
8051 preceding the line number.
8052
8053 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
8054
8055 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
8056 the 'arch1' variable for "s390*-linux*" targets.
8057
8058 2015-03-04 Pedro Alves <palves@redhat.com>
8059
8060 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
8061 (main): Pass missing retval argument to pthread_join call.
8062
8063 2015-03-02 Pedro Alves <palves@redhat.com>
8064
8065 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
8066 (top level): Call do_test with non-stop as well.
8067
8068 2015-03-02 Pedro Alves <palves@redhat.com>
8069
8070 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
8071 -1.
8072
8073 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
8074
8075 * gdb.arch/s390-vregs.exp: New test.
8076 * gdb.arch/s390-vregs.S: New file.
8077
8078 2015-02-27 Pedro Alves <palves@redhat.com>
8079
8080 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
8081 call to catch_command_errors.
8082 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
8083 catch_command_errors.
8084
8085 2015-02-27 Pedro Alves <palves@redhat.com>
8086
8087 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
8088 "true" for boolean result.
8089 * gdb.gdb/selftest.exp (test_with_self): Also accept full
8090 prototype of main.
8091
8092 2015-02-27 Pedro Alves <palves@redhat.com>
8093
8094 * lib/unbuffer_output.c: New file.
8095 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
8096 (main): Call gdb_unbuffer_output.
8097
8098 2015-02-27 Yao Qi <yao.qi@linaro.org>
8099
8100 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
8101 target.
8102
8103 2015-02-26 Doug Evans <dje@google.com>
8104
8105 * gdb.cp/class2.cc (Dbase, D): New classes.
8106 (main): New local delta.
8107 * gdb.cp/class2.exp: Test printing delta.
8108 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
8109 (dynbar): New global.
8110 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
8111
8112 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
8113
8114 * gdb.compile/compile-ifunc.c: New file.
8115 * gdb.compile/compile-ifunc.exp: New file.
8116
8117 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
8118
8119 * gdb.base/structs.exp: Check for correct struct on finish.
8120
8121 2015-02-26 Yao Qi <yao.qi@linaro.org>
8122
8123 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
8124 is zero.
8125
8126 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
8127
8128 * gdb.arch/cordic.ko.bz2: New file.
8129 * gdb.arch/cordic.ko.debug.bz2: New file.
8130 * gdb.arch/ppc64-symtab-cordic.exp: New file.
8131
8132 2015-02-25 Yao Qi <yao.qi@linaro.org>
8133
8134 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
8135 aarch64*-*-* target.
8136
8137 2015-02-23 Pedro Alves <palves@redhat.com>
8138
8139 * lib/gdb.exp (delete_breakpoints): Rewrite using
8140 gdb_test_multiple.
8141
8142 2015-02-23 Pedro Alves <palves@redhat.com>
8143
8144 * gdb.base/info-os.c: Include stdlib.h.
8145
8146 2015-02-22 Doug Evans <xdje42@gmail.com>
8147
8148 PR symtab/17855
8149 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
8150 is read after symbols have been re-read.
8151 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
8152 * gdb.ada/exec_changed/second.adb (Second): Ditto.
8153
8154 2015-02-21 Doug Evans <dje@google.com>
8155
8156 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
8157
8158 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
8159
8160 PR corefiles/17808
8161 * gdb.arch/i386-biarch-core.core.bz2: New file.
8162 * gdb.arch/i386-biarch-core.exp: New file.
8163
8164 2015-02-21 Pedro Alves <palves@redhat.com>
8165
8166 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
8167 runto_main fails.
8168
8169 2015-02-20 Pedro Alves <palves@redhat.com>
8170
8171 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
8172 info probes.
8173
8174 2015-02-20 Pedro Alves <palves@redhat.com>
8175
8176 * gdb.threads/multi-create-ns-info-thr.exp: New file.
8177
8178 2015-02-20 Pedro Alves <palves@redhat.com>
8179
8180 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
8181 clean_restart before gdb_target_supports_trace.
8182
8183 2015-02-20 Pedro Alves <palves@redhat.com>
8184
8185 PR threads/18006
8186 * gdb.threads/clone-thread_db.c: New file.
8187 * gdb.threads/clone-thread_db.exp: New file.
8188
8189 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
8190
8191 PR breakpoints/16812
8192 * gdb.base/catch-gdb-caused-signals.c: New file.
8193 * gdb.base/catch-gdb-caused-signals.exp: New file.
8194
8195 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
8196
8197 * configure: Regenerated.
8198 * configure.ac: Use GDB_AC_TRANSFORM.
8199 * aclocal.m4: sinclude ../transform.m4.
8200
8201 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
8202
8203 * lib/dtrace.exp: New file.
8204 * gdb.base/dtrace-probe.exp: Likewise.
8205 * gdb.base/dtrace-probe.d: Likewise.
8206 * gdb.base/dtrace-probe.c: Likewise.
8207 * lib/pdtrace.in: Likewise.
8208 * configure.ac: Output variables with the transformed names of
8209 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
8210 * configure: Regenerated.
8211
8212 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
8213
8214 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
8215 expected message when trying to access $_probe_* convenience
8216 variables while not on a probe.
8217
8218 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8219
8220 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
8221
8222 2015-02-11 Pedro Alves <pedro@codesourcery.com>
8223
8224 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
8225 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
8226
8227 2015-02-10 Doug Evans <xdje42@gmail.com>
8228
8229 * lib/gdb.exp (gdb_load): Always return a result.
8230
8231 2015-02-10 Pedro Alves <palves@redhat.com>
8232
8233 * gdb.threads/signal-sigtrap.c: New file.
8234 * gdb.threads/signal-sigtrap.exp: New file.
8235
8236 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
8237
8238 * gdb.trace/no-attach-trace.c: New file.
8239 * gdb.trace/no-attach-trace.exp: New file.
8240
8241 2015-02-09 Mark Wielaard <mjw@redhat.com>
8242
8243 * gdb.dwarf2/atomic.c: New file.
8244 * gdb.dwarf2/atomic-type.exp: Likewise.
8245
8246 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
8247
8248 * gdb.btrace/buffer-size.exp: Update "info record" output.
8249 * gdb.btrace/delta.exp: Update "info record" output.
8250 * gdb.btrace/enable.exp: Update "info record" output.
8251 * gdb.btrace/finish.exp: Update "info record" output.
8252 * gdb.btrace/instruction_history.exp: Update "info record" output.
8253 * gdb.btrace/next.exp: Update "info record" output.
8254 * gdb.btrace/nexti.exp: Update "info record" output.
8255 * gdb.btrace/step.exp: Update "info record" output.
8256 * gdb.btrace/stepi.exp: Update "info record" output.
8257 * gdb.btrace/nohist.exp: Update "info record" output.
8258
8259 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
8260
8261 * gdb.btrace/buffer-size: New.
8262
8263 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
8264
8265 * gdb.btrace/delta.exp: Update "info record" output.
8266 * gdb.btrace/enable.exp: Update "info record" output.
8267 * gdb.btrace/finish.exp: Update "info record" output.
8268 * gdb.btrace/instruction_history.exp: Update "info record" output.
8269 * gdb.btrace/next.exp: Update "info record" output.
8270 * gdb.btrace/nexti.exp: Update "info record" output.
8271 * gdb.btrace/step.exp: Update "info record" output.
8272 * gdb.btrace/stepi.exp: Update "info record" output.
8273 * gdb.btrace/nohist.exp: Update "info record" output.
8274
8275 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
8276
8277 PR gdb/15678
8278 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
8279
8280 2015-02-06 Pedro Alves <palves@redhat.com>
8281
8282 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
8283 macro.
8284 (seconds_left, again): New globals.
8285 (main): Wait seconds_left in a 1-second sleep loop instead of
8286 sleeping 180 seconds. If 'again' is set, reset the seconds
8287 counter.
8288 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
8289 'again' in the inferior before detaching. Print the seconds left.
8290 (options): New global.
8291 (top level): Build program with -DTIMEOUT=$timeout.
8292
8293 2015-02-06 Pedro Alves <palves@redhat.com>
8294
8295 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
8296 determine how many seconds to pass to 'alarm'.
8297 * gdb.base/gdb-sigterm.exp (top level): Build program with
8298 -DTIMEOUT=$timeout.
8299 (do_test): Return success/failure indication. Add more verbose
8300 logging. Don't fail if 200 single steps are seen. Instead, fail
8301 when the test times out.
8302 (passes): New global.
8303 (top level): Break the testing loop if testing fails on any
8304 iteration. Use gdb_assert.
8305
8306 2015-02-04 Don Breazeal <donb@codesourcery.com>
8307
8308 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
8309 and initialize them.
8310 (ipc_cleanup): New function.
8311 (main): Don't declare shmid, semid, and msqid. Add a call to
8312 atexit so that we call ipc_cleanup on exit.
8313
8314 2015-02-04 Pedro Alves <palves@redhat.com>
8315
8316 * boards/native-extended-gdbserver.exp: Remove any target variant
8317 specifications from the board name before clearing the isremote
8318 flag from board_info.
8319
8320 2015-01-31 Doug Evans <xdje42@gmail.com>
8321
8322 * gdb.base/maint.exp <maint print type argc>: Update expected output.
8323
8324 2015-01-31 Gary Benson <gbenson@redhat.com>
8325
8326 * gdb.base/completion.exp: Disable completion limiting for
8327 existing tests. Add new tests to check completion limiting.
8328 * gdb.linespec/ls-errs.exp: Disable completion limiting.
8329
8330 2015-01-31 Doug Evans <xdje42@gmail.com>
8331
8332 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
8333
8334 2015-01-31 Doug Evans <xdje42@gmail.com>
8335
8336 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
8337 entries. Duplicate file section script entries.
8338 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
8339 inlined entries. Add test for safe-path rejection.
8340 * gdb.python/py-section-script.c: Add duplicate inlined section script
8341 entries. Duplicate file section script entries.
8342 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
8343 inlined entries. Add test for safe-path rejection.
8344
8345 2015-01-29 Joel Brobecker <brobecker@adacore.com>
8346
8347 * gdb.ada/disc_arr_bound: New testcase.
8348
8349 2015-01-29 Joel Brobecker <brobecker@adacore.com>
8350
8351 * gdb.ada/mi_var_array: New testcase.
8352
8353 2015-01-27 Doug Evans <dje@google.com>
8354
8355 * gdb.python/py-objfile.exp: Add tests for objfile.username.
8356 Add test for objfile.filename, objfile.username after objfile
8357 has been unloaded.
8358
8359 2015-01-26 Joel Brobecker <brobecker@adacore.com>
8360
8361 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
8362 the second test to print the name attribute of value
8363 returned by the call to gdb.lookup_type, and adjust
8364 the expected output accordingly.
8365
8366 2015-01-25 Mark Wielaard <mjw@redhat.com>
8367
8368 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
8369 * gdb.base/disp-step-fork.c: Include unistd.h.
8370 * gdb.base/siginfo-obj.c: Include stdio.h.
8371 * gdb.base/siginfo-thread.c: Likewise.
8372 * gdb.mi/non-stop.c: Include unistd.h.
8373 * gdb.mi/nsthrexec.c: Include stdio.h.
8374 * gdb.mi/pthreads.c: Include unistd.h.
8375 * gdb.modula2/unbounded1.c (main): Declare returns int.
8376 * gdb.reverse/consecutive-reverse.c: Likewise.
8377 * gdb.threads/create-fail.c: Include unistd.h.
8378 * gdb.threads/killed.c: Likewise.
8379 * gdb.threads/linux-dp.c: Likewise.
8380 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
8381 * gdb.threads/non-ldr-exc-2.c: Likewise.
8382 * gdb.threads/non-ldr-exc-3.c: Likewise.
8383 * gdb.threads/non-ldr-exc-4.c: Likewise.
8384 * gdb.threads/pthreads.c: Include unistd.h.
8385 (main): Declare returns int.
8386 * gdb.threads/tls-main.c (foo): New declaration.
8387 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
8388
8389 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
8390
8391 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
8392 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
8393
8394 2015-01-15 Mark Wielaard <mjw@redhat.com>
8395
8396 * gdb.base/noreturn-return.c: New file.
8397 * gdb.base/noreturn-return.exp: New file.
8398 * gdb.base/noreturn-finish.c: New file.
8399 * gdb.base/noreturn-finish.exp: New file.
8400
8401 2015-01-23 Pedro Alves <palves@redhat.com>
8402
8403 * gdb.threads/continue-pending-after-query.c: New file.
8404 * gdb.threads/continue-pending-after-query.exp: New file.
8405
8406 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
8407 Simon Marchi <simon.marchi@ericsson.com>
8408
8409 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
8410 * gdb.base/valgrind-db-attach.exp: Same.
8411 * gdb.base/valgrind-infcall.exp: Same.
8412 * lib/mi-support.exp (default_mi_gdb_start): Same.
8413 * lib/prompt.exp (default_prompt_gdb_start): Same.
8414 * lib/gdb.exp (default_gdb_spawn): Same.
8415 (gdb_interact): New.
8416
8417
8418 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8419
8420 * gdb.compile/compile.exp (pointer to jit function): New test.
8421
8422 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
8423
8424 * lib/gdb.exp (supports_process_record): Return true for
8425 powerpc*-*-linux*.
8426 (supports_reverse): Likewise.
8427
8428 2015-01-15 Don Breazeal <donb@codesourcery.com>
8429
8430 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
8431 instead of checking whether the target board is remote and
8432 use spawn_wait_for_attach instead of exec/sleep.
8433 * gdb.base/attach-twice.exp: Likewise.
8434
8435 2015-01-15 Joel Brobecker <brobecker@adacore.com>
8436
8437 * gdb.ada/var_arr_attrs: New testcase.
8438
8439 2015-01-14 Pedro Alves <palves@redhat.com>
8440 Joel Brobecker <brobecker@adacore.com>
8441
8442 PR gdb/17525
8443 * gdb.base/bp-cmds-execution-x-script.c: New file.
8444 * gdb.base/bp-cmds-execution-x-script.exp: New file.
8445 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
8446
8447 2015-01-14 Pedro Alves <palves@redhat.com>
8448
8449 PR cli/17828
8450 * gdb.base/batch-preserve-term-settings.c: New file.
8451 * gdb.base/batch-preserve-term-settings.exp: New file.
8452
8453 2015-01-13 Doug Evans <dje@google.com>
8454
8455 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
8456 binary.
8457
8458 2015-01-13 Joel Brobecker <brobecker@adacore.com>
8459
8460 * Makefile.in (clean mostlyclean): Do not delete *.py.
8461
8462 2015-01-13 Joel Brobecker <brobecker@adacore.com>
8463
8464 * gdb.python/py-lookup-type.exp: New file.
8465
8466 2015-01-12 Pedro Alves <palves@redhat.com>
8467
8468 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
8469 restore GDBFLAGS before returning.
8470
8471 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8472
8473 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
8474 is_amd64_regs_target and is_x86_like_target.
8475
8476 2015-01-11 Doug Evans <xdje42@gmail.com>
8477
8478 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
8479 is given without an explicit form.
8480 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
8481 attributes.
8482 * gdb.dwarf/corrupt.exp: Ditto.
8483 * gdb.dwarf2/enum-type.exp: Ditto.
8484 * gdb.trace/entry-values.exp: Ditto.
8485 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
8486
8487 2015-01-11 Doug Evans <xdje42@gmail.com>
8488
8489 PR gdb/15830
8490 * gdb.base/maint.exp: Remove references to "maint demangle".
8491 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
8492 Add tests for explicitly specifying language to demangle.
8493 * gdb.dlang/demangle.exp: Ditto.
8494
8495 2015-01-09 Pedro Alves <palves@redhat.com>
8496
8497 * gdb.threads/non-stop-fair-events.c: New file.
8498 * gdb.threads/non-stop-fair-events.exp: New file.
8499
8500 2015-01-09 Pedro Alves <palves@redhat.com>
8501
8502 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
8503 the global scope. Set a breakpoint after all threads are started
8504 rather than stepping over two source lines. Expect the prompt.
8505 * gdb.base/watch_thread_num.c (threads_started_barrier): New
8506 global.
8507 (NUM): Now 15.
8508 (main): Use threads_started_barrier to wait for all threads to
8509 start. Main thread no longer calls thread_function. Exit after
8510 180 seconds.
8511 (loop): New function.
8512 (thread_function): Wait on threads_started_barrier barrier. Call
8513 'loop' at each iteration.
8514 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
8515 threads have started, instead of hardcoding number of "next"
8516 steps. Use an access watchpoint instead of a write watchpoint.
8517
8518 2015-01-09 Pedro Alves <palves@redhat.com>
8519
8520 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
8521 (thread_func): Wait on barrier.
8522 (main): Wait for all threads to start before stopping GDB.
8523 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
8524 global.
8525 (thread1_func, thread2_func): Wait on barrier.
8526 (main): Wait for all threads to start before stopping GDB.
8527 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
8528 New global.
8529 (thread1_func, thread2_func): Wait on barrier.
8530 (main): Wait for all threads to start before stopping GDB.
8531
8532 2015-01-09 Pedro Alves <palves@redhat.com>
8533
8534 * gdb.threads/attach-many-short-lived-threads.c: New file.
8535 * gdb.threads/attach-many-short-lived-threads.exp: New file.
8536
8537 2014-01-09 Pedro Alves <palves@redhat.com>
8538
8539 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
8540 instead of to thread 2.
8541 * gdb.threads/signal-command-multiple-signals-pending.c (main):
8542 Add barrier around each pthread_create call instead of around all
8543 calls.
8544 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
8545 Set a break on thread_function and have the child threads hit it
8546 one at at a time.
8547
8548 2015-01-09 Pedro Alves <palves@redhat.com>
8549
8550 * lib/gdb.exp (can_spawn_for_attach): New procedure.
8551 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
8552 false.
8553 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
8554 checking whether the target board is remote.
8555 * gdb.multi/multi-attach.exp: Likewise.
8556 * gdb.python/py-sync-interp.exp: Likewise.
8557 * gdb.server/ext-attach.exp: Likewise.
8558 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
8559 tests that need to attach, instead of checking whether the target
8560 board is remote at the top of the file.
8561
8562 2015-01-08 Yao Qi <yao@codesourcery.com>
8563
8564 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
8565
8566 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8567
8568 Fix testcase compilation.
8569 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
8570
8571 2015-01-06 Joel Brobecker <brobecker@adacore.com>
8572
8573 * gdb.python/py-type.exp: Add a couple test about empty
8574 array creation, and negative-length array creation.
8575
8576 2015-01-02 Doug Evans <xdje42@gmail.com>
8577
8578 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
8579
8580 2015-01-02 Doug Evans <dje@google.com>
8581
8582 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
8583
8584 2014-12-29 Yao Qi <yao@codesourcery.com>
8585
8586 * gdb.trace/entry-values.exp: Update comments. Rename variable
8587 bar_call_foo to returned_from_foo.
8588
8589 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
8590
8591 PR gdb/17394
8592 * gdb.linespec/break-asm-file.c: New file.
8593 * gdb.linespec/break-asm-file.exp: New file.
8594 * gdb.linespec/break-asm-file0.s: New file.
8595 * gdb.linespec/break-asm-file1.s: New file.
8596
8597 2014-12-18 Nigel Stephens <nigel@mips.com>
8598 Maciej W. Rozycki <macro@codesourcery.com>
8599
8600 * gdb.base/float.exp: Handle the new output from "info float" on
8601 MIPS targets.
8602
8603 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8604
8605 Fix MinGW compilation.
8606 * gdb.compile/compile-ops.exp: Update untested message if
8607 !skip_compile_feature_tests.
8608 * gdb.compile/compile-setjmp.exp: Likewise.
8609 * gdb.compile/compile-tls.exp: Likewise.
8610 * gdb.compile/compile.exp: Likewise.
8611 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
8612 supported on this host".
8613
8614 2014-12-16 Doug Evans <xdje42@gmail.com>
8615
8616 * boards/stabs.exp: New file.
8617
8618 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
8619
8620 * gdb.base/completion.exp: Adjust to format changes of "maint
8621 print user-registers".
8622
8623 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
8624
8625 PR server/17457
8626 * gdb.arch/aarch64-fp.c: New file.
8627 * gdb.arch/aarch64-fp.exp: New file.
8628
8629 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
8630
8631 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
8632 r210637, r210913, r211666, r215400, r215817).
8633
8634 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
8635 * dg-extract-results.py: New file.
8636 * dg-extract-results.sh: Use it if the environment seems
8637 suitable.
8638
8639 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
8640
8641 * dg-extract-results.py (parse_run): Handle warnings that
8642 are printed before a test harness is run.
8643
8644 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
8645
8646 * dg-extract-results.py (Named): Remove __cmp__ method.
8647 (output_variation): Use a key to sort variation.harnesses.
8648
8649 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
8650
8651 * dg-extract-results.py: For Python 3, force sys.stdout to
8652 handle surrogate escape sequences.
8653 (safe_open): New function.
8654 (output_segment, main): Use it.
8655
8656 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
8657
8658 * dg-extract-results.py (Prog.result_re): Include options
8659 in test name.
8660
8661 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
8662
8663 * dg-extract-results.py (output_variation): Always sort if
8664 do_sum.
8665
8666 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
8667
8668 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
8669 as long as we get pagination notifications.
8670
8671 2014-12-15 Jason Merrill <jason@redhat.com>
8672
8673 * Makefile.in (check-gdb.%): Restore.
8674 * README: Mention it.
8675
8676 2014-12-13 Joel Brobecker <brobecker@adacore.com>
8677
8678 * gdb.ada/str_uninit: New testcase.
8679
8680 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8681
8682 PR symtab/17642
8683 * gdb.base/vla-stub-define.c: New file.
8684 * gdb.base/vla-stub.c: New file.
8685 * gdb.base/vla-stub.exp: New file.
8686
8687 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
8688 Jan Kratochvil <jan.kratochvil@redhat.com>
8689 Tom Tromey <tromey@redhat.com>
8690
8691 * configure.ac: Add gdb.compile/.
8692 * configure: Regenerate.
8693 * gdb.compile/Makefile.in: New file.
8694 * gdb.compile/compile-ops.exp: New file.
8695 * gdb.compile/compile-ops.c: New file.
8696 * gdb.compile/compile-tls.c: New file.
8697 * gdb.compile/compile-tls.exp: New file.
8698 * gdb.compile/compile-constvar.S: New file.
8699 * gdb.compile/compile-constvar.c: New file.
8700 * gdb.compile/compile-mod.c: New file.
8701 * gdb.compile/compile-nodebug.c: New file.
8702 * gdb.compile/compile-setjmp-mod.c: New file.
8703 * gdb.compile/compile-setjmp.c: New file.
8704 * gdb.compile/compile-setjmp.exp: New file.
8705 * gdb.compile/compile-shlib.c: New file.
8706 * gdb.compile/compile.c: New file.
8707 * gdb.compile/compile.exp: New file.
8708 * lib/gdb.exp (skip_compile_feature_tests): New proc.
8709
8710 2014-12-12 Tom Tromey <tromey@redhat.com>
8711
8712 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
8713 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
8714
8715 2014-12-12 Doug Evans <dje@google.com>
8716
8717 * lib/gdb-python.exp (get_python_valueof): New function.
8718 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
8719
8720 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8721
8722 * gdb.base/completion.exp: Add test for completion of "info
8723 registers ".
8724
8725 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
8726
8727 * gdb.base/func-ptrs.c: New file.
8728 * gdb.base/func-ptrs.exp: New file.
8729
8730 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
8731
8732 PR breakpoints/17012
8733 * gdb.base/dprintf-detach.c: New file.
8734 * gdb.base/dprintf-detach.exp: New file.
8735
8736 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
8737
8738 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
8739 * lib/gdb.exp (target_is_gdbserver): New procedure.
8740
8741 2014-12-08 Doug Evans <dje@google.com>
8742
8743 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
8744
8745 2014-12-05 Yao Qi <yao@codesourcery.com>
8746
8747 * gdb.guile/scm-error.exp: Remove the third argument to
8748 gdb_remote_download.
8749 * gdb.guile/scm-frame-args.exp: Likewise.
8750 * gdb.guile/scm-section-script.exp: Likewise.
8751
8752 2014-12-05 Yao Qi <yao@codesourcery.com>
8753
8754 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
8755
8756 2014-12-04 Doug Evans <dje@google.com>
8757
8758 * gdb.python/py-objfile.exp: Add tests for
8759 objfile.add_separate_debug_file.
8760
8761 2014-12-04 Doug Evans <dje@google.com>
8762
8763 * lib/gdb.exp (get_build_id): New function.
8764 (build_id_debug_filename_get): Rewrite to use it.
8765 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
8766
8767 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
8768
8769 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
8770 `method(long)', not just 0x0.
8771 * gdb.cp/nsalias.exp: Align code labels to 4.
8772 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
8773 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
8774 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
8775 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
8776 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
8777 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
8778
8779 2014-12-02 Doug Evans <dje@google.com>
8780
8781 PR symtab/17602
8782 * gdb.cp/anon-ns.cc: Move guts of this file to ...
8783 * gdb.cp/anon-ns2.cc: ... here. New file.
8784 * gdb.cp/anon-ns.exp: Update.
8785
8786 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
8787
8788 * gdb.python/py-events.py (inferior_call_handler): New.
8789 (register_changed_handler, memory_changed_handler): New.
8790 (test_events.invoke): Register new handlers.
8791 * gdb.python/py-events.exp: Add tests for inferior call,
8792 memory_changed and register_changed events.
8793
8794 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
8795
8796 * gdb.base/execl-update-breakpoints.exp: Specify the link address
8797 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
8798 if the linker doesn't understand this.
8799
8800 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
8801
8802 * gdb.python/python.exp: Change expected reply to help().
8803
8804 2014-12-01 Yao Qi <yao@codesourcery.com>
8805
8806 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
8807 AC_CONFIG_SUBDIRS(gdb.gdbtk).
8808 * configure: Re-generated.
8809
8810 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
8811
8812 * gdb.cp/chained-calls.cc: New file.
8813 * gdb.cp/chained-calls.exp: New file.
8814 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
8815
8816 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
8817
8818 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
8819 * gdb.dwarf2/symtab-producer.exp: Same.
8820 * gdb.gdb/python-interrupts.exp: Same.
8821 * gdb.gdb/python-selftest.exp: Same.
8822 * gdb.python/py-linetable.exp: Same.
8823 * gdb.python/py-type.exp: Same.
8824 * gdb.python/py-value-cc.exp: Same.
8825 * gdb.python/py-value.exp: Same.
8826
8827 2014-11-28 Yao Qi <yao@codesourcery.com>
8828
8829 * gdb.base/break-probes.exp: Match library name prefixed with
8830 sysroot.
8831
8832 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
8833
8834 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
8835 test expected output. Add parentheses for the call to print.
8836 Remove L suffix from integers.
8837
8838 2014-11-26 Doug Evans <dje@google.com>
8839
8840 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
8841
8842 2014-11-22 Yao Qi <yao@codesourcery.com>
8843
8844 * gdb.trace/entry-values.c: Remove asms.
8845 (foo): Add foo_label.
8846 (bar): Add bar_label.
8847 * gdb.trace/entry-values.exp: Remove code computing foo's
8848 length and bar's length.
8849 (Dwarf::assemble): Invoke function_range for bar and use
8850 MACRO_AT_func for foo.
8851
8852 2014-11-22 Yao Qi <yao@codesourcery.com>
8853
8854 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
8855 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
8856 Use .Lgcc43_procstart instead of gcc43.
8857
8858 2014-11-21 Joel Brobecker <brobecker@adacore.com>
8859
8860 * gdb.ada/n_arr_bound: New testcase.
8861
8862 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
8863
8864 PR breakpoints/10737
8865 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
8866 test_catch_syscall_multi_arch.
8867 (test_catch_syscall_multi_arch): New function.
8868
8869 2014-11-20 Doug Evans <xdje42@gmail.com>
8870
8871 * gdb.base/maint.exp: Update expected output.
8872
8873 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
8874
8875 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
8876 4-byte instruction on S390.
8877
8878 2014-11-19 Joel Brobecker <brobecker@adacore.com>
8879
8880 * gdb.ada/arr_arr: New testcase.
8881
8882 2014-11-19 Joel Brobecker <brobecker@adacore.com>
8883
8884 * gdb.ada/pkd_arr_elem: New Testcase.
8885
8886 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
8887
8888 * gdb.reverse/break-precsave: Expect completion message for
8889 core file reads.
8890 * gdb.reverse/consecutive-precsave.exp: Likewise.
8891 * gdb.reverse/finish-precsave.exp: Likewise.
8892 * gdb.reverse/i386-precsave.exp: Likewise.
8893 * gdb.reverse/machinestate-precsave.exp: Likewise.
8894 * gdb.reverse/sigall-precsave.exp: Likewise.
8895 * gdb.reverse/solib-precsave.exp: Likewise.
8896 * gdb.reverse/step-precsave.exp: Likewise.
8897 * gdb.reverse/until-precsave.exp: Likewise.
8898 * gdb.reverse/watch-precsave.exp: Likewise.
8899
8900 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
8901
8902 * gdb.base/bp-permanent.c: Include unistd.h.
8903 * gdb.python/py-framefilter-mi.c (main): Add return type.
8904 * gdb.python/py-framefilter.c (main): Likewise.
8905 * gdb.trace/actions-changed.c (main): Likewise.
8906
8907 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
8908
8909 * gdb.mi/until.c: Add eye-catchers.
8910 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
8911 line numbers.
8912
8913 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
8914
8915 * gdb.base/condbreak.exp: Drop references to removed non-prototype
8916 function header variants in break1.c.
8917 * gdb.base/ena-dis-br.exp: Likewise.
8918 * gdb.base/hbreak2.exp: Likewise.
8919 * gdb.reverse/until-precsave.exp: Drop references to removed
8920 non-prototype function header variants in ur1.c.
8921 * gdb.reverse/until-reverse.exp: Likewise.
8922
8923 2014-11-17 Petr Machata <pmachata@redhat.com>
8924
8925 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
8926 ${_cu_offset_size} bytes abbrev offset.
8927
8928 2014-11-15 Doug Evans <xdje42@gmail.com>
8929
8930 PR symtab/17559
8931 * gdb.base/line-symtabs.exp: New file.
8932 * gdb.base/line-symtabs.c: New file.
8933 * gdb.base/line-symtabs.h: New file.
8934
8935 2014-11-14 Yao Qi <yao@codesourcery.com>
8936
8937 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
8938 (func): Add label func_label.
8939 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
8940 Replace low_pc and high_pc with MACRO_AT_range.
8941 Replace name, low_pc and high_pc with MACRO_AT_func.
8942
8943 2014-11-14 Yao Qi <yao@codesourcery.com>
8944
8945 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
8946 Replace name, low_pc and high_pc with MACRO_AT_func.
8947
8948 2014-11-14 Yao Qi <yao@codesourcery.com>
8949
8950 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
8951 produce debug information.
8952 * gdb.dwarf2/implptr-optimized-out.S: Removed.
8953
8954 2014-11-14 Yao Qi <yao@codesourcery.com>
8955
8956 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
8957 object and get function length.
8958 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
8959 with MACRO_AT_func.
8960 (top-level): Replace gdb_compile and clean_restart with
8961 prepare_for_testing.
8962 * gdb.dwarf2/main.c (main): Add label main_label.
8963
8964 2014-11-14 Yao Qi <yao@codesourcery.com>
8965
8966 * lib/dwarf.exp (function_range): New procedure.
8967 (Dwarf::_handle_macro_at_func): New procedure.
8968 (Dwarf::_handle_macro_at_range): New procedure.
8969 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
8970
8971 2014-11-14 Yao Qi <yao@codesourcery.com>
8972
8973 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
8974 (_handle_attribute): New procedure.
8975
8976 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8977
8978 * gdb.ada/cond_lang/foo.c (callme): Add return type.
8979 * gdb.base/call-sc.c (zed): Likewise.
8980 * gdb.base/checkpoint.c (main): Likewise.
8981 * gdb.base/dump.c (main): Likewise.
8982 * gdb.base/gcore.c (main): Likewise.
8983 * gdb.base/huge.c (main): Likewise.
8984 * gdb.base/multi-forks.c (main): Likewise.
8985 * gdb.base/pr10179-a.c (main): Likewise.
8986 * gdb.base/savedregs.c (main): Likewise.
8987 * gdb.base/sigaltstack.c (main): Likewise.
8988 * gdb.base/siginfo.c (main): Likewise.
8989 * gdb.base/structs.c (zed): Likewise.
8990 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
8991 * gdb.mi/mi-syn-frame.c (main): Likewise.
8992 * gdb.mi/until.c (foo, main): Likewise.
8993 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
8994 * gdb.base/solib-weak.c (foo): Declare.
8995 * gdb.base/attach-twice.c: Include stdio.h.
8996 * gdb.base/weaklib1.c: Likewise.
8997 * gdb.base/weaklib2.c: Likewise.
8998 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
8999 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
9000 unistd.h.
9001 * gdb.base/attach-pie-misread.c: Include stdlib.h.
9002 * gdb.mi/mi-exit-code.c: Likewise.
9003 * gdb.base/break-interp-lib.c: Include string.h.
9004 * gdb.base/coremaker.c: Likewise.
9005 * gdb.base/testenv.c: Likewise.
9006 * gdb.python/py-finish-breakpoint.c: Likewise.
9007 * gdb.base/inferior-died.c: Include sys/wait.h.
9008 * gdb.base/fileio.c: Include time.h.
9009 * gdb.base/async-shell.c: Include unistd.h.
9010 * gdb.base/dprintf-non-stop.c: Likewise.
9011 * gdb.base/info-os.c: Likewise.
9012 * gdb.mi/mi-console.c: Likewise.
9013 * gdb.mi/watch-nonstop.c: Likewise.
9014 * gdb.python/py-events.c: Likewise.
9015 * gdb.base/async.c (baz): Move up before its invocation.
9016 * gdb.base/code_elim2.c (my_global_func): Likewise.
9017 * gdb.base/skip-solib-lib.c (multiply): Likewise.
9018 * gdb.base/advance.c (func2): Likewise.
9019
9020 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9021
9022 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
9023 variant.
9024 * gdb.base/annota3.c: Likewise.
9025 * gdb.base/async.c: Likewise.
9026 * gdb.base/average.c: Likewise.
9027 * gdb.base/call-ar-st.c: Likewise.
9028 * gdb.base/call-rt-st.c: Likewise.
9029 * gdb.base/call-sc.c: Likewise.
9030 * gdb.base/call-strs.c: Likewise.
9031 * gdb.base/ending-run.c: Likewise.
9032 * gdb.base/execd-prog.c: Likewise.
9033 * gdb.base/exprs.c: Likewise.
9034 * gdb.base/foll-exec.c: Likewise.
9035 * gdb.base/foll-fork.c: Likewise.
9036 * gdb.base/foll-vfork.c: Likewise.
9037 * gdb.base/funcargs.c: Likewise.
9038 * gdb.base/gcore.c: Likewise.
9039 * gdb.base/jump.c: Likewise.
9040 * gdb.base/langs0.c: Likewise.
9041 * gdb.base/langs1.c: Likewise.
9042 * gdb.base/langs2.c: Likewise.
9043 * gdb.base/mips_pro.c: Likewise.
9044 * gdb.base/nodebug.c: Likewise.
9045 * gdb.base/opaque0.c: Likewise.
9046 * gdb.base/opaque1.c: Likewise.
9047 * gdb.base/recurse.c: Likewise.
9048 * gdb.base/run.c: Likewise.
9049 * gdb.base/scope0.c: Likewise.
9050 * gdb.base/scope1.c: Likewise.
9051 * gdb.base/setshow.c: Likewise.
9052 * gdb.base/setvar.c: Likewise.
9053 * gdb.base/shmain.c: Likewise.
9054 * gdb.base/shr1.c: Likewise.
9055 * gdb.base/shr2.c: Likewise.
9056 * gdb.base/sigall.c: Likewise.
9057 * gdb.base/signals.c: Likewise.
9058 * gdb.base/so-indr-cl.c: Likewise.
9059 * gdb.base/solib2.c: Likewise.
9060 * gdb.base/structs.c: Likewise.
9061 * gdb.base/sum.c: Likewise.
9062 * gdb.base/vforked-prog.c: Likewise.
9063 * gdb.base/watchpoint.c: Likewise.
9064 * gdb.reverse/shr2.c: Likewise.
9065 * gdb.reverse/until-reverse.c: Likewise.
9066 * gdb.reverse/ur1.c: Likewise.
9067 * gdb.reverse/watch-reverse.c: Likewise.
9068
9069 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9070
9071 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
9072 variant.
9073 * gdb.base/sepdebug.exp: Drop references to removed code.
9074
9075 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9076
9077 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
9078 variant. Preserve original line numbering.
9079 * gdb.base/list1.c: Likewise.
9080
9081 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9082
9083 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
9084 variant.
9085 * gdb.base/break1.c: Likewise.
9086 * gdb.base/break.exp: Drop references to removed code.
9087
9088 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9089
9090 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
9091 variant.
9092
9093 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9094
9095 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
9096
9097 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9098
9099 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
9100 logic into perform_all_tests() and invoke it with and without
9101 function header prototypes.
9102 (do_function_calls): Remove conditional XFAIL for PR 5318.
9103 (rerun_and_prepare): Remove duplicate code.
9104 (perform_all_tests): New. Main logic moved here.
9105
9106 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9107
9108 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
9109 code guarded by #ifdef NO_PROTOTYPES.
9110 (t_double_many_args): Likewise.
9111 (DEF_FUNC_MANY_ARGS_1): Likewise.
9112 (DEF_FUNC_VALUES_1): Likewise.
9113 (t_structs_ldc): Renamed from t_structs_fc in conditional code
9114 guarded by #ifdef PROTOTYPES.
9115
9116 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9117
9118 * gdb.mi/mi-console.c: Add eye-catcher.
9119 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
9120 instead of literal line number.
9121
9122 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9123
9124 * gdb.base/shr2.c: Add eye-catcher.
9125 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
9126 line number.
9127
9128 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9129
9130 * gdb.base/jump.c: Add eye-catchers.
9131 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
9132 numbers.
9133
9134 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9135
9136 * gdb.base/execd-prog.c: Add eye-catchers.
9137 * gdb.base/foll-exec.c: Likewise.
9138 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
9139 line numbers.
9140
9141 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9142
9143 * gdb.base/ending-run.c: Add eye-catchers.
9144 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
9145 literal line numbers.
9146
9147 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9148
9149 * gdb.base/call-rt-st.c: Add eye-catchers.
9150 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
9151 literal line numbers.
9152
9153 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9154
9155 * gdb.base/call-ar-st.c: Add eye-catchers.
9156 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
9157 literal line numbers.
9158
9159 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9160
9161 * gdb.base/average.c: Add eye-catchers.
9162 * gdb.base/sum.c: Likewise.
9163 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
9164 regexps dynamically.
9165
9166 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9167
9168 * gdb.base/solib1.c: Add eye-catchers.
9169 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
9170 literal line numbers.
9171
9172 2014-11-12 Pedro Alves <palves@redhat.com>
9173
9174 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
9175 leader has exited.
9176
9177 2014-11-12 Pedro Alves <palves@redhat.com>
9178
9179 * gdb.arch/i386-bp_permanent.c: New file.
9180 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
9181 (srcfile): Set to i386-bp_permanent.c.
9182 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
9183 that stepi does not execute the 'leave' instruction, instead of
9184 testing it does execute.
9185 * gdb.base/bp-permanent.c: New file.
9186 * gdb.base/bp-permanent.exp: New file.
9187
9188 2014-11-10 Doug Evans <xdje42@gmail.com>
9189
9190 PR symtab/17564
9191 * gdb.base/symtab-search-order.exp: New file.
9192 * gdb.base/symtab-search-order.c: New file.
9193 * gdb.base/symtab-search-order-1.c: New file.
9194 * gdb.base/symtab-search-order-shlib-1.c: New file.
9195
9196 2014-11-07 Pedro Alves <palves@redhat.com>
9197
9198 PR gdb/17511
9199 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
9200 i?86-*-linux*.
9201
9202 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
9203
9204 PR c++/17494
9205 * gdb.cp/pr17494.cc: New file.
9206 * gdb.cp/pr17494.exp: New file.
9207
9208 2014-11-02 Yao Qi <yao@codesourcery.com>
9209
9210 * gdb.python/python.exp: Get working directory and match the
9211 output of "set extended-prompt \\w " with it.
9212
9213 2014-10-30 Doug Evans <dje@google.com>
9214
9215 * gdb.python/py-objfile.exp: Add tests for setting random attributes
9216 in objfiles.
9217 * gdb.python/py-progspace.exp: Add tests for setting random attributes
9218 in progspaces.
9219
9220 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
9221
9222 * gdb.base/fullpath-expand.exp: Skip for a remote host.
9223 * gdb.base/realname-expand.exp: Likewise.
9224 * gdb.linespec/macro-relative.exp: Likewise.
9225
9226 2014-10-29 Pedro Alves <palves@redhat.com>
9227
9228 PR gdb/17408
9229 * gdb.threads/schedlock.c (some_function): New function.
9230 (call_function): New global.
9231 (MAYBE_CALL_SOME_FUNCTION): New macro.
9232 (thread_function): Call it.
9233 * gdb.threads/schedlock.exp (get_args): Add description parameter,
9234 and use it instead of a global counter. Adjust all callers.
9235 (get_current_thread): Use "find current thread" for test message
9236 here rather than having all callers pass down the same string.
9237 (goto_loop): New procedure, factored out from ...
9238 (my_continue): ... this.
9239 (step_ten_loops): Change parameter from test message to command to
9240 use. Adjust.
9241 (list_count): Delete global.
9242 (check_result): New procedure, factored out from duplicate top
9243 level code.
9244 (continue tests): Wrap in with_test_prefix.
9245 (test_step): New procedure, factored out from duplicate top level
9246 code.
9247 (top level): Test "step" in combination with all scheduler-locking
9248 modes. Test "next" in combination with all scheduler-locking
9249 modes, and in combination with stepping over a function call or
9250 not.
9251 * gdb.threads/next-bp-other-thread.c: New file.
9252 * gdb.threads/next-bp-other-thread.exp: New file.
9253
9254 2014-10-29 Pedro Alves <palves@redhat.com>
9255
9256 PR python/17372
9257 * gdb.python/python.exp: Test a multi-line command that spawns
9258 interactive Python.
9259 * gdb.base/multi-line-starts-subshell.exp: New file.
9260
9261 2014-10-29 Yao Qi <yao@codesourcery.com>
9262
9263 * gdb.base/fileio.exp: Make directories on host.
9264
9265 2014-10-29 Yao Qi <yao@codesourcery.com>
9266
9267 * gdb.base/fileio.c (test_write): Close the file.
9268
9269 2014-10-28 Pedro Alves <palves@redhat.com>
9270
9271 PR gdb/12623
9272 * gdb.base/sigstep.c (no_handler): New global.
9273 (main): If 'no_handler is true, set the signal handlers to
9274 SIG_IGN.
9275 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
9276 with_sw_watch and no_handler parameters. Handle them.
9277 (top level) <stepping over handler when stopped at a breakpoint
9278 test>: Add a test axis for testing with a software watchpoint, and
9279 another for testing with the signal handler set to SIG_IGN.
9280 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
9281 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
9282
9283 2014-10-28 Pedro Alves <palves@redhat.com>
9284
9285 PR gdb/17511
9286 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
9287 * gdb.base/sigstep.exp (other_handler_location): New global.
9288 (advance): Support stepping into the signal handler, and running
9289 commands while in the handler.
9290 (in_handler_map): New global.
9291 (top level): In the advance test, add combinations for getting
9292 into the handler with stepping commands, and for running commands
9293 in the handler. Add comment descripting the advancei tests.
9294
9295 2014-10-28 Pedro Alves <palves@redhat.com>
9296
9297 * gdb.base/sigstep.exp: Use build_executable instead of
9298 prepare_for_testing.
9299 (top level): Move code that starts GDB, runs to main and creates a
9300 display to ...
9301 (restart): ... this new procedure.
9302 (top level): Move backtrace from signal handler test to ...
9303 (validate_backtrace): ... this new procedure.
9304 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
9305 with_test_prefix. Always restart GDB.
9306 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
9307 with_test_prefix. Always restart GDB. No need to delete
9308 breakpoints after the test.
9309 (test_skip_handler): Remove prefix parameter.
9310 (skip_over_handler, breakpoint_to_handler)
9311 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
9312 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
9313 restart GDB. No need to delete breakpoints after the test.
9314 (top level): Use foreach to call the test procedures with
9315 different commands.
9316
9317 2014-10-28 Pedro Alves <palves@redhat.com>
9318
9319 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
9320 instead of GNATS numbers.
9321 * gdb.base/sigbpt.exp: Likewise.
9322 * gdb.base/siginfo.exp: Likewise.
9323 * gdb.base/sigstep.exp: Likewise.
9324
9325 2014-10-27 Pedro Alves <palves@redhat.com>
9326
9327 * gdb.base/sigstep.c (dummy): New global.
9328 (main): Issue a couple writes to the new global.
9329 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
9330 procedures.
9331 (skip_over_handler): Use test_skip_handler.
9332 (top level): Call skip_over_handler for stepi and nexti too.
9333 (breakpoint_over_handler): Use test_skip_handler.
9334 (top level): Call breakpoint_over_handler for stepi and nexti too.
9335
9336 2014-10-27 Yao Qi <yao@codesourcery.com>
9337
9338 * gdb.trace/tfile.c (adjust_function_address)
9339 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
9340 function descriptor.
9341
9342 2014-10-24 Don Breazeal <donb@codesourcery.com>
9343
9344 * gdb.base/foll-fork.exp (test_follow_fork,
9345 catch_fork_child_follow): Check for updated fork messages emitted
9346 from infrun.c.
9347 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
9348 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
9349 vfork_and_exec_child_follow_through_step): Check for updated vfork
9350 messages emitted from infrun.c.
9351
9352 2014-10-24 Pedro Alves <palves@redhat.com>
9353
9354 * gdb.base/corefile.exp: Remove references to ultrix.
9355 * gdb.base/interrupt.exp: Likewise.
9356 * gdb.base/whatis.exp: Likewise.
9357 * gdb.gdb/selftest.exp: Likewise.
9358 * gdb.threads/manythreads.exp: Likewise.
9359 * gdb.threads/print-threads.exp: Likewise.
9360 * gdb.threads/pthreads.exp:: Likewise.
9361 * gdb.threads/schedlock.exp: Likewise.
9362
9363 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
9364
9365 * gdb.cp/non-trivial-retval.cc: Add a test case.
9366 * gdb.cp/non-trivial-retval.exp: Add a test.
9367
9368 2014-10-20 Yao Qi <yao@codesourcery.com>
9369
9370 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
9371 * gdb.python/py-objfile-script-gdb.py: New file.
9372 * gdb.python/py-objfile-script.exp: Update reference to
9373 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
9374 of remote_download. Remove the dest file.
9375
9376 2014-10-20 Yao Qi <yao@codesourcery.com>
9377
9378 * gdb.base/checkpoint.exp: Don't remove file copied on host.
9379 * gdb.base/step-line.exp: Likewise.
9380 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
9381 * gdb.dwarf2/dw2-basic.exp: Likewise.
9382 * gdb.dwarf2/dw2-compressed.exp: Likewise.
9383 * gdb.dwarf2/dw2-filename.exp: Likewise.
9384 * gdb.dwarf2/dw2-intercu.exp: Likewise.
9385 * gdb.dwarf2/dw2-intermix.exp: Likewise.
9386 * gdb.dwarf2/dw2-producer.exp: Likewise.
9387 * gdb.dwarf2/mac-fileno.exp: Likewise.
9388 * gdb.python/py-frame-args.exp: Likewise.
9389 * gdb.python/py-framefilter.exp: Likewise.
9390 * gdb.python/py-mi.exp: Likewise.
9391 * gdb.python/py-objfile-script.exp: Likewise
9392 * gdb.python/py-pp-integral.exp: Likewise.
9393 * gdb.python/py-pp-re-notag.exp: Likewise.
9394 * gdb.python/py-prettyprint.exp: Likewise.
9395 * gdb.python/py-section-script.exp: Likewise.
9396 * gdb.python/py-typeprint.exp: Likewise.
9397 * gdb.python/py-xmethods.exp: Likewise.
9398 * gdb.stabs/weird.exp: Likewise.
9399 * gdb.xml/tdesc-regs.exp: Likewise.
9400
9401 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
9402
9403 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
9404 (out_cu): Use addr_len for the size of addresses.
9405 (out_line): Likewise. Size DW_LNE_set_address instruction
9406 according to addr_len.
9407 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
9408 (FUNC): Add START_INSNS to definition.
9409
9410 2014-10-18 Yao Qi <yao@codesourcery.com>
9411
9412 * gdb.base/argv0-symlink.exp: Check argv[0] value if
9413 gdb_has_argv0 return true.
9414 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
9415 check [target_info exists noargs], check [gdb_has_argv0]
9416 instead.
9417 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
9418 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
9419 procedures.
9420
9421 2014-10-17 Doug Evans <dje@google.com>
9422
9423 * gdb.python/py-events.exp: Update expected output for clear_objfiles
9424 event.
9425 * gdb.python/py-events.py: Add clear_objfiles event.
9426
9427 2014-10-17 Doug Evans <dje@google.com>
9428
9429 * gdb.python/py-objfile.exp: Test progspace attribute.
9430
9431 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
9432
9433 * gdb.guile/scm-breakpoint.exp: Do not assume any
9434 directory separators when matching source file paths.
9435 * gdb.python/py-breakpoint.exp: Likewise.
9436 * gdb.reverse/break-precsave.exp: Likewise.
9437 * gdb.reverse/break-reverse.exp: Likewise.
9438 * gdb.reverse/consecutive-precsave.exp: Likewise.
9439 * gdb.reverse/finish-precsave.exp: Likewise.
9440 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
9441 * gdb.reverse/finish-reverse.exp: Likewise.
9442 * gdb.reverse/i386-precsave.exp: Likewise.
9443 * gdb.reverse/i387-env-reverse.exp: Likewise.
9444 * gdb.reverse/i387-stack-reverse.exp: Likewise.
9445 * gdb.reverse/machinestate-precsave.exp: Likewise.
9446 * gdb.reverse/machinestate.exp: Likewise.
9447 * gdb.reverse/sigall-precsave.exp: Likewise.
9448 * gdb.reverse/solib-precsave.exp: Likewise.
9449 * gdb.reverse/step-precsave.exp: Likewise.
9450 * gdb.reverse/until-precsave.exp: Likewise.
9451 * gdb.reverse/watch-precsave.exp: Likewise.
9452 * gdb.reverse/watch-reverse.exp: Likewise.
9453
9454 2014-10-17 Yao Qi <yao@codesourcery.com>
9455
9456 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
9457 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
9458
9459 2014-10-17 Pedro Alves <palves@redhat.com>
9460
9461 PR gdb/17471
9462 * gdb.base/bg-execution-repeat.c: New file.
9463 * gdb.base/bg-execution-repeat.exp: New file.
9464
9465 2014-10-17 Pedro Alves <palves@redhat.com>
9466
9467 PR gdb/17300
9468 * gdb.base/continue-all-already-running.c: New file.
9469 * gdb.base/continue-all-already-running.exp: New file.
9470
9471 2014-10-17 Pedro Alves <palves@redhat.com>
9472
9473 PR gdb/17472
9474 * gdb.base/annota-input-while-running.c: New file.
9475 * gdb.base/annota-input-while-running.exp: New file.
9476
9477 2014-10-17 Pedro Alves <palves@redhat.com>
9478
9479 * gdb.base/callfuncs.exp: emove references to osf.
9480 * gdb.base/sigall.exp: Likewise.
9481 * gdb.gdb/selftest.exp: Likewise.
9482 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
9483 * gdb.mi/non-stop.c: Likewise.
9484 * gdb.mi/pthreads.c: Likewise.
9485 * gdb.reverse/sigall-precsave.exp: Likewise.
9486 * gdb.reverse/sigall-reverse.exp: Likewise.
9487 * gdb.threads/pthreads.c: Likewise.
9488 * gdb.threads/pthreads.exp: Likewise.
9489
9490 2014-10-17 Yao Qi <yao@codesourcery.com>
9491
9492 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
9493 check 'target_info exists noargs'.
9494 (test_command_prompt_position): Likewise.
9495 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
9496 Remove "set args".
9497 (progvar_simple_while_test): Likewise.
9498 (progvar_complex_if_while_test): Likewise.
9499 (if_while_breakpoint_command_test): Likewise.
9500 (infrun_breakpoint_command_test): Likewise.
9501 (breakpoint_command_test): Likewise.
9502 (watchpoint_command_test): Likewise.
9503 (bp_deleted_in_command_test): Likewise.
9504 (temporary_breakpoint_commands): Likewise.
9505
9506 2014-10-16 Yao Qi <yao@codesourcery.com>
9507
9508 * gdb.base/remotetimeout.exp: Remove noargs checking.
9509
9510 2014-10-15 Pedro Alves <palves@redhat.com>
9511
9512 PR breakpoints/9649
9513 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
9514 * gdb.base/breakpoint-in-ro-region.exp
9515 (probe_target_hardware_step): New procedure.
9516 (top level): Probe hardware stepping and hardware breakpoint
9517 support. Test stepping through a read-only region, with both
9518 "breakpoint auto-hw" on and off and both "always-inserted" on and
9519 off.
9520
9521 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
9522
9523 * gdb.dlang/demangle.exp: Update for demangling changes.
9524
9525 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
9526
9527 * gdb.cp/non-trivial-retval.cc: Add new test cases.
9528 * gdb.cp/non-trivial-retval.exp: Add new tests.
9529
9530 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
9531
9532 PR c++/13403
9533 PR c++/15154
9534 * gdb.cp/non-trivial-retval.cc: New file.
9535 * gdb.cp/non-trivial-retval.exp: New file.
9536
9537 2014-10-15 Yao Qi <yao@codesourcery.com>
9538
9539 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
9540 remote host.
9541
9542 2014-10-15 Yao Qi <yao@codesourcery.com>
9543
9544 * gdb.python/py-symbol.exp: Match file base name if host is
9545 remote, otherwise match file name with dir name.
9546 * gdb.python/py-symtab.exp: Likewise.
9547 * gdb.python/python.exp: Likewise.
9548
9549 2014-10-15 Yao Qi <yao@codesourcery.com>
9550
9551 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
9552 pattern.
9553 * gdb.python/py-symtab.exp: Likewise.
9554 * gdb.python/python.exp: Remove trailing ".*". Fix typo
9555 locationn.
9556
9557 2014-10-14 Joel Brobecker <brobecker@adacore.com>
9558
9559 * gdb.ada/addr_arith: New testcase.
9560
9561 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
9562
9563 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
9564 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
9565 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
9566 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
9567
9568 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
9569
9570 * gdb.arch/stap-eval-lang-ada.S: Likewise.
9571 * gdb.arch/stap-eval-lang-ada.c: Likewise.
9572 * gdb.arch/stap-eval-lang-ada.exp: New file.
9573
9574 2014-10-14 Yao Qi <yao@codesourcery.com>
9575
9576 * gdb.mi/mi-var-child.c (nothing1): New function.
9577 (nothing2): New function.
9578 (do_children_tests): Set function pointers by nothing1 and
9579 nothing2.
9580 * gdb.mi/mi-var-child.exp: Step over new added statements.
9581 Update test to match the new output.
9582 * gdb.mi/var-cmd.c (nothing1): New function.
9583 (nothing2): New function.
9584 (do_children_tests): Set function pointers by nothing1 and
9585 nothing2.
9586 * gdb.mi/mi-var-display.exp: Update test to match output.
9587 Step to the line specified by $line_dct_nothing.
9588 Increase the number of lines to step.
9589
9590 2014-10-14 Yao Qi <yao@codesourcery.com>
9591
9592 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
9593 tests.
9594 * gdb.mi/mi2-var-child.exp: Likewise.
9595
9596 2014-10-13 Doug Evans <dje@google.com>
9597
9598 * gdb.python/py-objfile.exp: Change name of file name test.
9599
9600 2014-10-13 Doug Evans <dje@google.com>
9601
9602 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
9603 from the start of the CU.
9604
9605 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9606 Yao Qi <yao@codesourcery.com>
9607
9608 Fix "save breakpoints" for "catch" command.
9609 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
9610 Remove -nonewline. Match also the added "main" line.
9611
9612 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9613
9614 Fix "save breakpoints" for "disable $bpnum" command.
9615 * gdb.base/save-bp.c (main): Add label.
9616 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
9617
9618 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9619
9620 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
9621
9622 2014-10-11 Yao Qi <yao@codesourcery.com>
9623
9624 * gdb.server/server-kill.exp: Execute command
9625 "set remote trace-status-packet on" before "tstatus".
9626
9627 2014-10-11 Yao Qi <yao@codesourcery.com>
9628
9629 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
9630 (main): Call getppid.
9631 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
9632 and continue to it. Read variable "server_pid".
9633
9634 2014-10-11 Yao Qi <yao@codesourcery.com>
9635
9636 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
9637
9638 2014-10-11 Yao Qi <yao@codesourcery.com>
9639
9640 * gdb.threads/thread-find.exp: Don't execute command
9641 "info threads".
9642 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
9643 * gdb.threads/linux-dp.exp: Don't check the condition
9644 $threads_created equals to zero.
9645
9646 2014-10-10 Pedro Alves <palves@redhat.com>
9647
9648 * gdb.base/bigcore.exp: Remove references to IRIX.
9649 * gdb.base/funcargs.exp: Likewise.
9650 * gdb.base/interrupt.exp: Likewise.
9651 * gdb.base/mips_pro.exp: Likewise.
9652 * gdb.base/nodebug.exp: Likewise.
9653 * gdb.base/setvar.exp: Likewise.
9654 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
9655
9656 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
9657 Pedro Alves <palves@redhat.com>
9658
9659 PR symtab/14466
9660 * gdb.base/vdso-warning.c: New file.
9661 * gdb.base/vdso-warning.exp: New file.
9662
9663 2014-10-02 Doug Evans <dje@google.com>
9664
9665 * gdb.base/structs.c (main): Don't run forever.
9666
9667 2014-10-02 Pedro Alves <palves@redhat.com>
9668
9669 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
9670 (top level) <stop threads 1, stop threads 2>: Use it.
9671
9672 2014-10-02 Pedro Alves <palves@redhat.com>
9673
9674 * gdb.threads/break-while-running.exp (test): Add new
9675 'update_thread_list' argument. Skip "info threads" if false.
9676 (top level): Add new 'update_thread_list' axis.
9677
9678 2014-10-02 Pedro Alves <palves@redhat.com>
9679
9680 PR breakpoints/17431
9681 * gdb.base/execl-update-breakpoints.c: New file.
9682 * gdb.base/execl-update-breakpoints.exp: New file.
9683
9684 2014-10-01 Pedro Alves <palves@redhat.com>
9685
9686 * gdb.base/breakpoint-in-ro-region.c: New file.
9687 * gdb.base/breakpoint-in-ro-region.exp: New file.
9688
9689 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
9690
9691 * gdb.mi/mi-exit-code.exp: New file.
9692 * gdb.mi/mi-exit-code.c: New file.
9693
9694 2014-09-30 Yao Qi <yao@codesourcery.com>
9695
9696 * lib/prelink-support.exp (build_executable_own_libs): Error if
9697 the target isn't native.
9698
9699 2014-09-30 Yao Qi <yao@codesourcery.com>
9700
9701 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
9702 false.
9703
9704 2014-09-22 Pedro Alves <palves@redhat.com>
9705
9706 * gdb.threads/break-while-running.exp: New file.
9707 * gdb.threads/break-while-running.c: New file.
9708
9709 2014-09-19 Yao Qi <yao@codesourcery.com>
9710
9711 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
9712 Invoke test. Restart GDB with --readnow and invoke test again.
9713
9714 2014-09-19 Yao Qi <yao@codesourcery.com>
9715
9716 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
9717 proc set_breakpoint_on_gcd_function. Invoke
9718 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
9719 invoke set_breakpoint_on_gcd_function again.
9720
9721 2014-09-18 Doug Evans <dje@google.com>
9722
9723 * gdb.dwarf2/symtab-producer.exp: New file.
9724
9725 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
9726
9727 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
9728 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
9729 * gdb.base/global-var-nested-by-dso.c: Likewise.
9730 * gdb.base/global-var-nested-by-dso.exp: Likewise.
9731
9732 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
9733 Pedro Alves <palves@redhat.com>
9734
9735 * gdb.base/watch-bitfields.exp: Pass string other than test file
9736 name to prepare_for_testing.
9737 (watch): New procedure.
9738 (expect_watchpoint): Use with_test_prefix.
9739 (top level): Factor out tests to ...
9740 (test_watch_location, test_regular_watch): ... these new
9741 procedures, and use with_test_prefix and gdb_continue_to_end.
9742
9743 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
9744
9745 PR breakpoints/12526
9746 * gdb.base/watch-bitfields.exp: New file.
9747 * gdb.base/watch-bitfields.c: New file.
9748
9749 2014-09-16 Pedro Alves <palves@redhat.com>
9750
9751 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
9752 software and hardware addresses, not software address against
9753 itself.
9754
9755 2014-09-16 Pedro Alves <palves@redhat.com>
9756
9757 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
9758 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
9759
9760 2014-09-16 Pedro Alves <palves@redhat.com>
9761
9762 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
9763 files.
9764 * gdb.base/a2-run.exp: Remove all code guarded by istarget
9765 "*-*-vxworks*" throughout.
9766 * gdb.base/break.exp: Likewise.
9767 * gdb.base/default.exp: Likewise.
9768 * gdb.base/scope.exp: Likewise.
9769 * gdb.base/sepdebug.exp: Likewise.
9770 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
9771 throughout.
9772 * gdb.base/run.c: Likewise.
9773 * gdb.base/sepdebug.c: Likewise.
9774 * gdb.hp/gdb.aCC/run.c: Likewise.
9775 * gdb.reverse/until-reverse.c: Likewise.
9776 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
9777
9778 2014-09-16 Yao Qi <yao@codesourcery.com>
9779
9780 * boards/local-remote-host-native.exp: New file.
9781
9782 2014-09-14 Doug Evans <xdje42@gmail.com>
9783
9784 * gdb.threads/queue-signal.c (thread_count): New variable.
9785 (thread_count_mutex, thread_count_condvar): New variables.
9786 (incr_thread_count, wait_all_threads_running): New functions.
9787 (main): Wait for all threads to be in their thread functions.
9788
9789 2014-09-13 Doug Evans <xdje42@gmail.com>
9790
9791 * gdb.threads/queue-signal.c: New file.
9792 * gdb.threads/queue-signal.exp: New file.
9793
9794 2014-09-13 Doug Evans <xdje42@gmail.com>
9795
9796 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
9797 be consistent with what default_gdb_init uses.
9798 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
9799 the plain text of the prompt. Add some logging printfs.
9800 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
9801
9802 2014-09-12 Pedro Alves <palves@redhat.com>
9803
9804 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
9805 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
9806 * gdb.arch/i386-size-overlap.exp: Likewise.
9807 * gdb.arch/i386-size.exp: Likewise.
9808 * gdb.arch/i386-unwind.exp: Likewise.
9809 * gdb.base/a2-run.exp: Likewise.
9810 * gdb.base/break.exp: Likewise.
9811 * gdb.base/charset.exp: Likewise.
9812 * gdb.base/chng-syms.exp: Likewise.
9813 * gdb.base/commands.exp: Likewise.
9814 * gdb.base/dbx.exp: Likewise.
9815 * gdb.base/find.exp: Likewise.
9816 * gdb.base/funcargs.exp: Likewise.
9817 * gdb.base/jit-simple.exp: Likewise.
9818 * gdb.base/reread.exp: Likewise.
9819 * gdb.base/sepdebug.exp: Likewise.
9820 * gdb.base/step-bt.exp: Likewise.
9821 * gdb.cp/mb-inline.exp: Likewise.
9822 * gdb.cp/mb-templates.exp: Likewise.
9823 * gdb.objc/basicclass.exp: Likewise.
9824 * gdb.threads/killed.exp: Likewise.
9825
9826 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9827
9828 PR tdep/17379
9829 * gdb.arch/powerpc-stackless.S: New file.
9830 * gdb.arch/powerpc-stackless.exp: New file.
9831
9832 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9833
9834 * gdb.base/attach.c: Include unistd.h.
9835 (main): Call alarm. Add label postloop.
9836 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
9837 gdb_breakpoint, gdb_continue_to_breakpoint.
9838 (test_command_line_attach_run): Kill ${testpid} in one exit path.
9839
9840 2014-09-11 Pedro Alves <palves@redhat.com>
9841
9842 PR gdb/17347
9843 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
9844 * gdb.base/attach.exp (test_command_line_attach_run): New
9845 procedure.
9846 (top level): Call it.
9847
9848 2014-09-11 Pedro Alves <palves@redhat.com>
9849
9850 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
9851 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
9852 (do_command_attach_tests): Use spawn_wait_for_attach.
9853 * gdb.base/solib-overlap.exp: Likewise.
9854 * gdb.multi/multi-attach.exp: Likewise.
9855 * gdb.python/py-prompt.exp: Likewise.
9856 * gdb.python/py-sync-interp.exp: Likewise.
9857 * gdb.server/ext-attach.exp: Likewise.
9858
9859 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
9860
9861 * gdb.fortran/array-element.exp: Remove unexpected "continue"
9862 command in testcase. Simplify testcase.
9863
9864 2014-09-10 Joel Brobecker <brobecker@adacore.com>
9865
9866 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
9867
9868 2014-09-10 Joel Brobecker <brobecker@adacore.com>
9869
9870 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
9871
9872 2014-09-10 Joel Brobecker <brobecker@adacore.com>
9873
9874 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
9875
9876 2014-09-10 Joel Brobecker <brobecker@adacore.com>
9877
9878 * gdb.dwarf2/dynarr-ptr.c: New file.
9879 * gdb.dwarf2/dynarr-ptr.exp: New file.
9880
9881 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9882
9883 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
9884 of 30 rather than hardcoding 120 for a slow test case. Take the
9885 `gdb,timeout' target setting into account for this calculation.
9886 Don't extend the timeout for the test cases that don't need it.
9887
9888 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9889
9890 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
9891 a factor of 2 for a slow test case. Take the `gdb,timeout'
9892 target setting into account for this calculation.
9893 * gdb.reverse/until-precsave.exp: Increase the timeout by
9894 a factor of 15 and 3 respectively rather than adding 120
9895 for a pair of slow test cases. Take the `gdb,timeout'
9896 target setting into account for this calculation.
9897
9898 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9899
9900 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
9901 timeout, don't pass one down to gdb_expect.
9902 (gdb_expect): Rework timeout selection.
9903
9904 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9905
9906 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
9907 exception on timeout.
9908 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
9909 (gdbserver_start_extended): Catch any `gdbserver_start' error
9910 exceptions.
9911 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
9912 * lib/mi-support.exp (mi_gdb_target_load): Catch any
9913 `gdbserver_gdb_load' error exceptions.
9914
9915 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9916
9917 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
9918 120 on waiting for the TCP socket to open.
9919
9920 2014-09-09 Doug Evans <xdje42@gmail.com>
9921
9922 * gdb.base/default.exp (show_conv_list): Add _caller_is,
9923 _caller_matches, _any_caller_is, _any_caller_matches.
9924
9925 2014-09-09 Doug Evans <xdje42@gmail.com>
9926
9927 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
9928
9929 2014-09-09 Yao Qi <yao@codesourcery.com>
9930
9931 * gdb.mi/mi-var-display.exp: Set print symbol off.
9932
9933 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
9934
9935 PR gdb/17035
9936 * gdb.base/commands.exp: Add tests to verify user-defined
9937 commands with empty bodies.
9938 * gdb.python/py-cmd.exp: Test that we don't show user-defined
9939 python commands in `show user command`.
9940 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
9941 scheme commands in `show user command`.
9942
9943 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9944
9945 PR python/17355
9946 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
9947 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
9948 * gdb.python/py-framefilter-invalidarg.exp: New file.
9949 * gdb.python/py-framefilter-invalidarg.py: New file.
9950
9951 2014-09-06 Doug Evans <xdje42@gmail.com>
9952
9953 PR 15276
9954 * gdb.python/py-caller-is.c: New file.
9955 * gdb.python/py-caller-is.exp: New file.
9956
9957 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
9958
9959 PR gdb/17235
9960 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
9961 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
9962
9963 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
9964
9965 PR fortran/17237
9966 * gdb.fortran/print-formatted.exp: New file.
9967 * gdb.fortran/print-formatted.f90: Likewise.
9968
9969 2014-09-03 Sasha Smundak <asmundak@google.com>
9970
9971 * gdb.python/py-frame.exp: Test Frame.read_register.
9972
9973 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
9974
9975 PR python/16699
9976 * gdb.python/py-completion.exp: New file.
9977 * gdb.python/py-completion.py: Likewise.
9978
9979 2014-08-28 Doug Evans <dje@google.com>
9980
9981 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
9982 eax,etc. are live with values set by gdb and thus the compiler can't
9983 use them.
9984 * gdb.arch/i386-pseudo.c (main): Ditto.
9985
9986 2014-08-27 Doug Evans <dje@google.com>
9987
9988 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
9989
9990 2014-08-25 Doug Evans <dje@google.com>
9991
9992 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
9993 (main): Ditto.
9994
9995 2014-08-25 Doug Evans <dje@google.com>
9996
9997 * gdb.threads/thread-execl.exp: #include <stdio.h>.
9998
9999 2014-08-24 Yao Qi <yao@codesourcery.com>
10000
10001 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
10002 symbol off.
10003 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
10004
10005 2014-08-22 Doug Evans <dje@google.com>
10006
10007 PR 17276
10008 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
10009 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
10010 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
10011
10012 2014-08-22 Yao Qi <yao@codesourcery.com>
10013
10014 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
10015 * gdb.python/py-finish-breakpoint2.exp: Likewise.
10016 * gdb.python/python.exp: Likewise. Use .py file on the host
10017 instead of the build.
10018
10019 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
10020
10021 * gdb.threads/gcore-stale-thread.c: New file.
10022 * gdb.threads/gcore-stale-thread.exp: New file.
10023
10024 2014-08-21 Pedro Alves <palves@redhat.com>
10025
10026 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
10027 * gdb.base/gcore-relro-pie.exp: Likewise.
10028 * gdb.base/gcore-relro.exp: Likewise.
10029 * gdb.base/gcore.exp: Likewise.
10030 * gdb.base/print-symbol-loading.exp: Likewise.
10031 * gdb.threads/gcore-thread.exp: Likewise.
10032 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
10033
10034 2014-08-20 Pedro Alves <palves@redhat.com>
10035 Jan Kratochvil <jan.kratochvil@redhat.com>
10036
10037 * Makefile.in (EXTRA_RULES, CC): New variables, get from
10038 configure.
10039 (EXPECT): Handle READ1 being set.
10040 (all): Depend on EXTRA_RULES.
10041 (check-read1, expect-read1, read1.so, read1): New rules.
10042 * README (Testsuite Parameters): Document the READ1 make variable.
10043 (Race detection): New section.
10044 * configure: Regenerate.
10045 * configure.ac: If build==host==target, and running under a
10046 GNU/glibc system, add read1 to the extra Makefile rules.
10047 (EXTRA_RULES): AC_SUBST it.
10048 * lib/read1.c: New file.
10049
10050 2014-08-20 Joel Brobecker <brobecker@adacore.com>
10051
10052 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
10053 the handling of variables declared as a typedef to an array
10054 which a DW_AT_data_location attribute.
10055
10056 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
10057 Pedro Alves <palves@redhat.com>
10058
10059 PR symtab/14604
10060 PR symtab/14605
10061 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
10062 gdb_test.
10063
10064 2014-08-19 Pedro Alves <palves@redhat.com>
10065
10066 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
10067
10068 2014-08-19 Yao Qi <yao@codesourcery.com>
10069
10070 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
10071 right line.
10072
10073 2014-08-18 David Blaikie <dblaikie@gmail.com>
10074
10075 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
10076
10077 2014-08-18 Joel Brobecker <brobecker@adacore.com>
10078
10079 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
10080 attribute in array range.
10081
10082 2014-08-18 Joel Brobecker <brobecker@adacore.com>
10083
10084 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
10085
10086 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
10087
10088 PR c++/17132
10089 * gdb.cp/pr17132.cc: New file.
10090 * gdb.cp/pr17132.exp: New file.
10091
10092 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
10093
10094 * gdb.python/py-xmethods.py (A_getarrayind)
10095 (E_method_char_worker.__call__, E_method_int_worker.__call__):
10096 Use 'print' with function call syntax.
10097 (E_method_matcher.match): Fix tab vs space indentation mixup.
10098
10099 2014-08-15 Yao Qi <yao@codesourcery.com>
10100
10101 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
10102 false.
10103
10104 2014-08-15 Yao Qi <yao@codesourcery.com>
10105
10106 * gdb.cp/casts.exp: Set print symbol off.
10107 * gdb.cp/class2.exp: Likewise.
10108 * gdb.cp/overload.exp: Likewise.
10109 * gdb.cp/templates.exp: Likewise.
10110
10111 2014-08-11 Doug Evans <dje@google.com>
10112
10113 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
10114 (test_load_shlib): Update.
10115
10116 2014-08-09 Yao Qi <yao@codesourcery.com>
10117
10118 * gdb.base/display.exp: Invoke is_address_zero_readable.
10119 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
10120 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
10121 * gdb.base/hbreak-unmapped.exp: Return if
10122 is_address_zero_readable returns true.
10123 * gdb.base/signest.exp: Likewise.
10124 * gdb.base/signull.exp: Likewise.
10125 * gdb.base/sigbpt.exp: Likewise.
10126 * gdb.guile/scm-disasm.exp: Do the test if
10127 is_address_zero_readable returns false.
10128 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
10129 * gdb.python/py-arch.exp: Likewise.
10130 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
10131 * lib/gdb.exp (is_address_zero_readable): New proc.
10132
10133 2014-08-09 Yao Qi <yao@codesourcery.com>
10134
10135 PR testsuite/13443
10136 * gdb.mi/mi-var-display.exp: Make test messages unique.
10137
10138 2014-08-04 Tom Tromey <tromey@redhat.com>
10139
10140 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
10141 target 0".
10142
10143 2014-08-04 Tom Tromey <tromey@redhat.com>
10144
10145 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
10146 "target_resume".
10147
10148 2014-08-01 Joel Brobecker <brobecker@adacore.com>
10149
10150 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
10151 inner_vla_struct_object_size.
10152 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
10153 as xfail.
10154
10155 2014-07-30 Pedro Alves <palves@redhat.com>
10156
10157 * gdb.threads/signal-command-handle-nopass.exp (test): Add
10158 comment.
10159
10160 2014-07-29 Yao Qi <yao@codesourcery.com>
10161
10162 PR gdb/17206
10163 * gdb.base/until-nodebug.exp: New.
10164
10165 2014-07-28 Doug Evans <xdje42@gmail.com>
10166
10167 PR guile/17203
10168 * gdb.guile/scm-parameter.exp: Add tests for trying to create
10169 previously existing parameter, and previously ambiguously spelled
10170 parameter.
10171
10172 2014-07-28 Will Newton <will.newton@linaro.org>
10173
10174 * gdb.base/varargs.exp: Remove KFAILs for ARM.
10175
10176 2014-07-26 Ludovic Courtès <ludo@gnu.org>
10177 Doug Evans <xdje42@gmail.com>
10178
10179 PR guile/17146
10180 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
10181
10182 2014-07-25 Pedro Alves <palves@redhat.com>
10183
10184 * gdb.threads/signal-command-handle-nopass.c: New file.
10185 * gdb.threads/signal-command-handle-nopass.exp: New file.
10186 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
10187 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
10188 * gdb.threads/signal-delivered-right-thread.c: New file.
10189 * gdb.threads/signal-delivered-right-thread.exp: New file.
10190
10191 2014-07-25 Pedro Alves <palves@redhat.com>
10192
10193 * gdb.base/double-prompt-target-event-error.exp
10194 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
10195 match.
10196 (cancel_pagination_in_target_event): Rework double prompt
10197 detection.
10198 * gdb.base/paginate-after-ctrl-c-running.exp
10199 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
10200 <return>' match.
10201 * gdb.base/paginate-bg-execution.exp
10202 (test_bg_execution_pagination_return)
10203 (test_bg_execution_pagination_cancel): Remove '-notransfer
10204 <return>' matches.
10205 * gdb.base/paginate-execution-startup.exp
10206 (test_fg_execution_pagination_return)
10207 (test_fg_execution_pagination_cancel): Remove '-notransfer
10208 <return>' matches.
10209 * gdb.base/paginate-inferior-exit.exp
10210 (test_paginate_inferior_exited): Remove '-notransfer <return>'
10211 match.
10212 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
10213 * lib/gdb.exp (pagination_prompt): Run text through
10214 string_to_regexp.
10215 (gdb_test_multiple): Match $pagination_prompt instead of
10216 "<return>".
10217 (string_to_regexp): Move to lib/gdb-utils.exp.
10218
10219 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10220
10221 * gdb.arch/amd64-entry-value-paramref.S: New file.
10222 * gdb.arch/amd64-entry-value-paramref.cc: New file.
10223 * gdb.arch/amd64-entry-value-paramref.exp: New file.
10224 * gdb.arch/amd64-optimout-repeat.S: New file.
10225 * gdb.arch/amd64-optimout-repeat.c: New file.
10226 * gdb.arch/amd64-optimout-repeat.exp: New file.
10227
10228 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10229
10230 PR gdb/17170
10231 * gdb.base/statistics.exp: New file.
10232
10233 2014-07-17 Doug Evans <dje@google.com>
10234
10235 PR gdb/17170
10236 * gdb.base/maint.exp: Update testing of per-command stats.
10237
10238 2014-07-16 Pedro Alves <palves@redhat.com>
10239
10240 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
10241 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
10242 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
10243 (tfile_write_buf): New functions.
10244 (add_memory_block): Rewrite using the above.
10245 (adjust_function_address): New function.
10246 (FUNCTION_ADDRESS): New macro.
10247 (write_basic_trace_file): Remove short_x local, and use
10248 tfile_write_16. Change type of func_addr local to unsigned long
10249 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
10250 here. Cast argument of add_memory_block to char pointer.
10251 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
10252 (main): Remove parameters.
10253 * gdb.trace/tfile.exp: Remove nowarnings.
10254
10255 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
10256
10257 * gdb.base/debug-expr.exp: Test string evaluation with
10258 "debug expression" on.
10259
10260 2014-07-15 Pedro Alves <palves@redhat.com>
10261
10262 * gdb.base/reread.exp: Use clean_restart.
10263
10264 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
10265
10266 * gdb.arch/avr-flash-qualifer.c: New.
10267 * gdb.arch/avr-flash-qualifer.exp: New.
10268
10269 2014-07-14 Pedro Alves <palves@redhat.com>
10270
10271 * gdb.base/paginate-after-ctrl-c-running.c: New file.
10272 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
10273
10274 2014-07-14 Pedro Alves <palves@redhat.com>
10275
10276 * gdb.base/double-prompt-target-event-error.c: New file.
10277 * gdb.base/double-prompt-target-event-error.exp: New file.
10278
10279 2014-07-14 Pedro Alves <palves@redhat.com>
10280
10281 PR gdb/17072
10282 * gdb.base/paginate-inferior-exit.c: New file.
10283 * gdb.base/paginate-inferior-exit.exp: New file.
10284
10285 2014-07-14 Pedro Alves <palves@redhat.com>
10286
10287 PR gdb/17072
10288 * gdb.base/paginate-bg-execution.c: New file.
10289 * gdb.base/paginate-bg-execution.exp: New file.
10290
10291 2014-07-14 Pedro Alves <palves@redhat.com>
10292
10293 PR gdb/17072
10294 * gdb.base/paginate-execution-startup.c: New file.
10295 * gdb.base/paginate-execution-startup.exp: New file.
10296 * lib/gdb.exp (pagination_prompt): New global.
10297 (default_gdb_spawn): New procedure, factored out from
10298 default_gdb_spawn.
10299 (default_gdb_start): Adjust to call default_gdb_spawn.
10300 (gdb_spawn): New procedure.
10301
10302 2014-07-14 Pedro Alves <palves@redhat.com>
10303
10304 * lib/gdb.exp (gdb_assert): New procedure.
10305 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
10306
10307 2014-07-14 Pedro Alves <palves@redhat.com>
10308
10309 * gdb.base/execution-termios.c: New file.
10310 * gdb.base/execution-termios.exp: New file.
10311
10312 2014-07-14 Tom Tromey <tromey@redhat.com>
10313
10314 * gdb.cp/vla-cxx.cc: New file.
10315 * gdb.cp/vla-cxx.exp: New file.
10316
10317 2014-07-14 Tom Tromey <tromey@redhat.com>
10318
10319 * gdb.reverse/rerun-prec.c: New file.
10320 * gdb.reverse/rerun-prec.exp: New file.
10321
10322 2014-07-12 Maciej W. Rozycki <macro@mips.com>
10323 Maciej W. Rozycki <macro@codesourcery.com>
10324
10325 * lib/gdb-utils.exp: New file.
10326 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
10327 inline `gdb_init_command' processing.
10328 (gdb_start_cmd): Likewise.
10329 * lib/mi-support.exp (mi_run_cmd): Likewise.
10330 * README: Document `gdb_init_command' and `gdb_init_commands'.
10331
10332 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10333
10334 Fix false FAIL running under a very long directory name.
10335 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
10336 and "set print elements 10000". Twice.
10337
10338 2014-07-11 Yao Qi <yao@codesourcery.com>
10339
10340 * gdb.base/exprs.exp: "set print symbol off".
10341
10342 2014-07-11 Pedro Alves <palves@redhat.com>
10343
10344 * gdb.threads/kill.c: New file.
10345 * gdb.threads/kill.exp: New file.
10346
10347 2014-07-10 Yao Qi <yao@codesourcery.com>
10348
10349 * gdb.trace/tfile.c (write_basic_trace_file)
10350 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
10351 address written to trace file.
10352
10353 2014-07-09 Pedro Alves <palves@redhat.com>
10354
10355 * gdb.base/attach-wait-input.exp: New file.
10356 * gdb.base/attach-wait-input.c: New file.
10357
10358 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
10359
10360 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
10361 setting up test structures.
10362 (main): Call new test function.
10363 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
10364 test function, continue into test function and walk test
10365 structures.
10366
10367 2014-07-02 Yao Qi <yao@codesourcery.com>
10368
10369 * gdb.trace/entry-values.c: Define labels 'foo_start' and
10370 'bar_start' at the beginning of functions 'foo' and 'bar'
10371 respectively.
10372 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
10373 instead of 'foo' and 'bar'.
10374
10375 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
10376
10377 * gdb.btrace/segv.exp: New.
10378 * gdb.btrace/segv.c: New.
10379
10380 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
10381
10382 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
10383 instruction.
10384
10385 2014-06-30 Mark Wielaard <mjw@redhat.com>
10386
10387 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
10388 vulture, vilify, villar): New volatile array constants.
10389 (vindictive, vegetation): New const volatile array constants.
10390 * gdb.base/volatile.exp: Test volatile and const volatile array
10391 types.
10392
10393 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
10394
10395 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
10396 target lacks support for awatch, rwatch, or hbreak.
10397
10398 2014-06-27 Yao Qi <yao@codesourcery.com>
10399
10400 * gdb.multi/dummy-frame-restore.exp: New.
10401 * gdb.multi/dummy-frame-restore.c: New.
10402
10403 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
10404
10405 * gdb.btrace/gcore.exp: New.
10406
10407 2014-06-23 Pedro Alves <palves@redhat.com>
10408
10409 * gdb.base/watchpoint-reuse-slot.c: New file.
10410 * gdb.base/watchpoint-reuse-slot.exp: New file.
10411
10412 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
10413
10414 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
10415 progspace's filename in 'info', 'enable' and 'disable' command
10416 tests.
10417
10418 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
10419
10420 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
10421 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
10422 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
10423
10424 2014-06-20 Gary Benson <gbenson@redhat.com>
10425
10426 * gdb.arch/i386-avx.exp: Fix include file location.
10427 * gdb.arch/i386-sse.exp: Likewise.
10428
10429 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
10430
10431 * gdb.dlang/expression.exp: New file.
10432
10433 2014-06-19 Pedro Alves <palves@redhat.com>
10434
10435 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
10436 out from ...
10437 (top level): ... here. Iterate running tests under different
10438 scheduler-locking settings.
10439
10440 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
10441
10442 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
10443 to DW_FORM_addr and use non-zero addresses.
10444
10445 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
10446
10447 PR gdb/17017
10448 * gdb.python/py-xmethods.cc: Add global function call counters and
10449 increment them in their respective functions. Remove "cout"
10450 statements.
10451 * gdb.python/py-xmethods.exp: Make tests check the global function
10452 call counters instead of depending on inferior IO.
10453
10454 2014-06-18 Don Breazeal <donb@codesourcery.com>
10455
10456 * gdb.base/foll-fork.exp (default_fork_parent_follow):
10457 Deleted procedure.
10458 (explicit_fork_parent_follow): Deleted procedure.
10459 (explicit_fork_child_follow): Deleted procedure.
10460 (test_follow_fork): New procedure.
10461 (do_fork_tests): Replace calls to deleted procedures with
10462 calls to test_follow_fork and reset GDB for subsequent
10463 procedure calls.
10464
10465 2014-06-17 Yao Qi <yao@codesourcery.com>
10466
10467 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
10468 CP1252.
10469
10470 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
10471
10472 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
10473 Initialize ptr and S explicitly.
10474 (skip_type_update_when_not_use_rtti_test): Likewise.
10475
10476 2014-06-16 Keith Seitz <keiths@redhat.com>
10477
10478 PR mi/15863
10479 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
10480 the inferior is started.
10481
10482 2014-06-16 Pedro Alves <palves@redhat.com>
10483
10484 * gdb.base/break-main-file-remove-fail.c: New file.
10485 * gdb.base/break-main-file-remove-fail.exp: New file.
10486 * gdb.base/break-unload-file.exp: Use build_executable instead of
10487 prepare_for_testing.
10488 (test_break): New parameter "initial_load". Handle it.
10489 (top level): Add initial_load cmdline/file axis.
10490
10491 2014-06-12 Tom Tromey <tromey@redhat.com>
10492
10493 * gdb.base/completion.exp: Don't use directory name in test.
10494
10495 2014-06-09 Gary Benson <gbenson@redhat.com>
10496
10497 * gdb.base/sigall.c [Functions to send signals]: Reorder to
10498 separate the always-available ANSI-standard signals from the
10499 signals that require checking.
10500 (main): Likewise.
10501 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
10502 Likewise.
10503 (main): Likewise.
10504
10505 2014-06-07 Keith Seitz <keiths@redhat.com>
10506
10507 Revert:
10508 PR c++/16253
10509 * gdb.cp/var-tag.cc: New file.
10510 * gdb.cp/var-tag.exp: New file.
10511 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
10512 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
10513 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
10514 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
10515
10516 2014-06-06 Doug Evans <xdje42@gmail.com>
10517
10518 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
10519
10520 2014-06-06 Pedro Alves <palves@redhat.com>
10521
10522 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
10523 in target debug output instead of looking at RSP packets,
10524 disabling the test on any target that uses hardware stepping.
10525 Update comments.
10526
10527 2014-06-06 Pedro Alves <palves@redhat.com>
10528
10529 * gdb.base/break-unload-file.exp: Fix typo.
10530
10531 2014-06-06 Yao Qi <yao@codesourcery.com>
10532
10533 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
10534 from "jit_function" to "^jit_function".
10535
10536 2014-06-06 Yao Qi <yao@codesourcery.com>
10537
10538 * gdb.base/async.c (foo): Add one statement.
10539 * gdb.base/async.exp: Get the next instruction address and
10540 match the output of "nexti" by instruction address. Match
10541 the hex address in the output of "finish".
10542
10543 2014-06-06 Gary Benson <gbenson@redhat.com>
10544
10545 * gdb.base/call-signals.c: Remove preprocessor conditionals
10546 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
10547 SIGSEGV and SIGTERM.
10548 * gdb.base/sigall.c: Likewise.
10549 * gdb.base/unwindonsignal.c: Likewise.
10550 * gdb.reverse/sigall-reverse.c: Likewise.
10551
10552 2014-06-06 Yao Qi <yao@codesourcery.com>
10553
10554 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
10555 readable, skip the test.
10556
10557 2014-06-06 Yao Qi <yao@codesourcery.com>
10558
10559 * gdb.threads/staticthreads.c (thread_function): Move the line
10560 setting breakpoint on forward.
10561 * gdb.threads/staticthreads.exp: Update comments.
10562
10563 2014-06-05 Ludovic Courtès <ludo@gnu.org>
10564
10565 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
10566 "history-append! type error".
10567
10568 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
10569
10570 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
10571 erroneous dprintf expected input.
10572
10573 2014-06-04 Doug Evans <xdje42@gmail.com>
10574
10575 * gdb.guile/scm-generics.exp: Delete.
10576
10577 2014-06-04 Doug Evans <xdje42@gmail.com>
10578
10579 * gdb.guile/scm-breakpoint.exp: Update.
10580 Add tests for breakpoint registration.
10581
10582 2014-06-04 Tom Tromey <tromey@redhat.com>
10583
10584 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
10585 VLA-in-union.
10586 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
10587 inner_vla_struct, vla_union types. Initialize objects of those
10588 types and compute their sizes.
10589
10590 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
10591 Hui Zhu <hui@codesourcery.com>
10592
10593 * gdb.base/fileio.exp: Add test for shell not available as well as
10594 available.
10595 * gdb.base/fileio.c (test_system): Check for shell twice.
10596
10597 2014-06-04 Yao Qi <yao@codesourcery.com>
10598
10599 * gdb.base/auto-connect-native-target.exp: Remove redundant
10600 space from the regexp pattern.
10601
10602 2014-06-04 Yao Qi <yao@codesourcery.com>
10603
10604 * gdb.base/default.exp: Replace "child" with "native" in
10605 regexp pattern.
10606
10607 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
10608
10609 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
10610 * gdb.python/py-xmethods.exp: New tests to test xmethods.
10611 * gdb.python/py-xmethods.py: Python script supporting the
10612 new testcase and tests.
10613
10614 2014-06-03 Joel Brobecker <brobecker@adacore.com>
10615 Pedro Alves <palves@redhat.com>
10616
10617 PR breakpoints/17000
10618 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
10619 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
10620
10621 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
10622
10623 * gdb.base/subst.exp: Add tests to verify partial path matching
10624 output.
10625
10626 2014-06-03 Pedro Alves <palves@redhat.com>
10627
10628 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
10629 target that doesn't use software single-stepping.
10630
10631 2014-06-03 Pedro Alves <palves@redhat.com>
10632
10633 PR breakpoints/17000
10634 * gdb.base/sss-bp-on-user-bp-2.c: New file.
10635 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
10636
10637 2014-06-02 Doug Evans <xdje42@gmail.com>
10638
10639 * gdb.guile/scm-parameter.exp: New file.
10640
10641 2014-06-02 Doug Evans <xdje42@gmail.com>
10642
10643 * gdb.guile/scm-cmd.c: New file.
10644 * gdb.guile/scm-cmd.exp: New file.
10645
10646 2014-06-02 Doug Evans <xdje42@gmail.com>
10647
10648 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
10649 pretty-printer lookup.
10650 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
10651 (make-pp_s-printer): Call it.
10652 (make-pretty-printer-from-dict): New function.
10653 (lookup-pretty-printer-maker-from-dict): New function.
10654 (*pretty-printer*): Simplify.
10655 (make-objfile-pp_s-printer): New function.
10656 (install-objfile-pretty-printers!): New function.
10657 (make-progspace-pp_s-printer): New function.
10658 (install-progspace-pretty-printers!): New function.
10659 * gdb.guile/scm-progspace.c: New file.
10660 * gdb.guile/scm-progspace.exp: New file.
10661
10662 2014-06-02 Pedro Alves <palves@redhat.com>
10663
10664 * gdb.base/dprintf-bp-same-addr.c: New file.
10665 * gdb.base/dprintf-bp-same-addr.exp: New file.
10666
10667 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
10668
10669 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
10670 * gdb.arch/powerpc-power.s: Likewise.
10671
10672 2014-06-02 Joel Brobecker <brobecker@adacore.com>
10673
10674 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
10675
10676 2014-06-01 Yao Qi <yao@codesourcery.com>
10677
10678 * gdb.base/watchpoint.exp (test_watch_location): Check null
10679 pointer can be dereferenced. If not, do the test, otherwise
10680 skip it.
10681
10682 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
10683
10684 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
10685 results.
10686 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
10687
10688 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
10689
10690 * gdb.arch/amd64-invalid-stack-middle.S: New file.
10691 * gdb.arch/amd64-invalid-stack-middle.c: New file.
10692 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
10693 * gdb.arch/amd64-invalid-stack-top.c: New file.
10694 * gdb.arch/amd64-invalid-stack-top.exp: New file.
10695
10696 2014-05-30 Pedro Alves <palves@redhat.com>
10697
10698 PR breakpoints/17000
10699 * gdb.base/sss-bp-on-user-bp.c: New file.
10700 * gdb.base/sss-bp-on-user-bp.exp: New file.
10701
10702 2014-05-30 David Blaikie <dblaikie@gmail.com>
10703
10704 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
10705 gnu_inline semantics via attribute.
10706 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
10707 source explicitly specifies the required semantics.
10708
10709 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
10710
10711 * gdb.reverse/sigall-reverse.exp: Fix a typo.
10712
10713 2014-05-29 Pedro Alves <palves@redhat.com>
10714 Tom Tromey <tromey@redhat.com>
10715
10716 * gdb.base/async-shell.exp: Don't enable target-async.
10717 * gdb.base/async.exp
10718 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
10719 parameter. Adjust.
10720 (top level): Don't test with "target-async".
10721 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
10722 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
10723 * gdb.base/inferior-died.exp: Don't enable target-async.
10724 * gdb.base/interrupt-noterm.exp: Likewise.
10725 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
10726 * gdb.mi/mi-nonstop-exit.exp: Likewise.
10727 * gdb.mi/mi-nonstop.exp: Likewise.
10728 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
10729 * gdb.mi/mi-nsintrall.exp: Likewise.
10730 * gdb.mi/mi-nsmoribund.exp: Likewise.
10731 * gdb.mi/mi-nsthrexec.exp: Likewise.
10732 * gdb.mi/mi-watch-nonstop.exp: Likewise.
10733 * gdb.multi/watchpoint-multi.exp: Adjust comment.
10734 * gdb.python/py-evsignal.exp: Don't enable target-async.
10735 * gdb.python/py-evthreads.exp: Likewise.
10736 * gdb.python/py-prompt.exp: Likewise.
10737 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
10738 * gdb.server/solib-list.exp: Don't enable target-async.
10739 * gdb.threads/thread-specific-bp.exp: Likewise.
10740 * lib/mi-support.exp: Adjust to use mi-async.
10741
10742 2014-05-29 Pedro Alves <palves@redhat.com>
10743
10744 PR gdb/13860
10745 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
10746 reason, even in sync mode.
10747
10748 2014-05-29 Pedro Alves <palves@redhat.com>
10749 Hui Zhu <hui@codesourcery.com>
10750
10751 PR PR15693
10752 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
10753 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
10754 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
10755 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
10756
10757 2014-05-28 Joel Brobecker <brobecker@adacore.com>
10758
10759 * config/monitor.exp (gdb_target_monitor): Replace use of
10760 "set remotebaud" by "set serial baud".
10761
10762 2014-05-26 Andy Wingo <wingo@igalia.com>
10763
10764 * gdb.guile/scm-breakpoint.exp:
10765 * gdb.guile/scm-gsmob.exp: Update to use plain old object
10766 properties instead of gdb-object-properties.
10767
10768 2014-05-26 Yao Qi <yao@codesourcery.com>
10769
10770 * gdb.server/no-thread-db.exp: Specify source file name
10771 explicitly when setting a breakpoint.
10772
10773 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
10774
10775 * gdb.btrace/vdso.c: New.
10776 * gdb.btrace/vdso.exp: New.
10777
10778 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
10779
10780 * gdb.base/gcore.exp (capture_command_output): Move ...
10781 * lib/gdb.exp (capture_command_output): ... here.
10782
10783 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
10784
10785 * gdb.btrace/data.exp: Test memory access during btrace replay.
10786
10787 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
10788
10789 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
10790
10791 2014-05-21 Pedro Alves <palves@redhat.com>
10792
10793 PR gdb/13860
10794 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
10795 (top level): Test that output related to execution commands is
10796 sent to the console with CLI commands, but not with MI commands.
10797 Test that breakpoint events are always mirrored to the console.
10798 Also expect the new source line to be output after a "next" in
10799 async mode too. Make it a pass/fail test.
10800 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
10801 output.
10802 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
10803
10804 2014-05-21 Pedro Alves <palves@redhat.com>
10805
10806 * gdb.base/list.exp (build_pattern, test_list): New procedures.
10807 Use them to test variations of "list" after reaching a breakpoint.
10808 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
10809 Test "list" with listsize 10 after reaching a breakpoint.
10810 * gdb.python/python.exp (decode_line current location line
10811 number): Adjust expected line number.
10812
10813 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
10814
10815 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
10816 behavior for $args, pass it directly to "run".
10817
10818 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
10819
10820 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
10821 30000 to 65536.
10822
10823 2014-05-21 Pedro Alves <palves@redhat.com>
10824
10825 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
10826 auto-connect-native-target off".
10827 * gdb.base/auto-connect-native-target.c: New file.
10828 * gdb.base/auto-connect-native-target.exp: New file.
10829
10830 2014-05-21 Pedro Alves <palves@redhat.com>
10831
10832 * gdb.base/default.exp: Test "target native" instead of "target
10833 child".
10834
10835 2014-05-21 Mark Wielaard <mjw@redhat.com>
10836
10837 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
10838
10839 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
10840
10841 Fix TLS access for -static -pthread.
10842 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
10843 <HAVE_TLS> (thread_function, main): Initialize it.
10844 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
10845 Add clean_restart.
10846 <$have_tls != "">: Check TLSVAR.
10847
10848 2014-05-21 Pedro Alves <palves@redhat.com>
10849
10850 * gdb.base/dcache-line-read-error.c: New.
10851 * gdb.base/dcache-line-read-error.exp: New.
10852
10853 2014-05-20 Pedro Alves <palves@redhat.com>
10854
10855 * gdb.base/compare-sections.c: New file.
10856 * gdb.base/compare-sections.exp: New file.
10857
10858 2014-05-20 Pedro Alves <palves@redhat.com>
10859
10860 * gdb.base/break-idempotent.c: New file.
10861 * gdb.base/break-idempotent.exp: New file.
10862
10863 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
10864
10865 * gdb.btrace/nohist.exp: New.
10866
10867 2014-05-20 Yao Qi <yao@codesourcery.com>
10868
10869 * lib/gdb.exp (gdb_init): Set timeout if test file is under
10870 gdb.reverse directory and gdb_reverse_timeout exists in board
10871 setting.
10872 * README: Document gdb_reverse_timeout.
10873
10874 2014-05-20 Yao Qi <yao@codesourcery.com>
10875
10876 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
10877 'test_file_name'. Treat args as a string instead of a list.
10878 (gdb_init): Rename argument 'args' by 'test_file_name'.
10879
10880 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
10881
10882 * gdb.arch/powerpc-power.exp: New file.
10883 * gdb.arch/powerpc-power.s: New file.
10884
10885 2014-05-16 Doug Evans <dje@google.com>
10886
10887 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
10888 * gdb.base/completion.exp: Check that all expected files exist
10889 before doing file completion.
10890
10891 2014-05-16 Doug Evans <dje@google.com>
10892
10893 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
10894 Update.
10895 (do_syscall_tests_without_xml): Update.
10896
10897 2014-05-16 Pedro Alves <palves@redhat.com>
10898
10899 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
10900 instead of "unknown output after running".
10901
10902 2014-05-16 Yao Qi <yao@codesourcery.com>
10903
10904 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
10905 file1.txt from host at the end.
10906 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
10907
10908 2014-05-15 Doug Evans <dje@google.com>
10909
10910 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
10911 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
10912 loading file. Add test for TU lookup.
10913
10914 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
10915
10916 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
10917 calling "-exec-arguments" or "set args" before running the
10918 inferior.
10919
10920 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
10921
10922 * lib/mi-support.exp (mi_expect_stop): Expect message for
10923 inferiors that exit with non-zero exit code.
10924
10925 2014-05-14 Yao Qi <yao@codesourcery.com>
10926
10927 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
10928 match absolute path on remote host.
10929 (test_file_list_exec_source_files): Remove "/" from the
10930 pattern.
10931
10932 2014-05-14 Yao Qi <yao@codesourcery.com>
10933
10934 * boards/local-remote-host-notty.exp (${board}_file): New
10935 proc.
10936
10937 2014-05-07 Kyle McMartin <kyle@redhat.com>
10938
10939 Pushed by Joel Brobecker <brobecker@adacore.com>.
10940 * gdb.arch/aarch64-atomic-inst.c: New file.
10941 * gdb.arch/aarch64-atomic-inst.exp: New file.
10942
10943 2014-05-07 Yao Qi <yao@codesourcery.com>
10944
10945 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
10946 in current context" too.
10947
10948 2014-05-05 Keith Seitz <keiths@redhat.com>
10949
10950 * gdb.linespec/ls-dollar.exp: Add test for linespec
10951 file:convenience_variable.
10952
10953 2014-05-05 Yao Qi <yao@codesourcery.com>
10954
10955 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
10956 traceframes into tfile and ctf trace files. Read data from
10957 trace file and test collected data.
10958 (gdb_collect_locals_test): Likewise.
10959 (gdb_unavailable_registers_test): Likewise.
10960 (gdb_unavailable_floats): Likewise.
10961 (gdb_collect_globals_test): Likewise.
10962 (top-level): Append "ctf" to trace_file_targets if GDB
10963 supports.
10964
10965 2014-05-05 Yao Qi <yao@codesourcery.com>
10966
10967 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
10968 code to ...
10969 (gdb_collect_args_test_1): ... it. New proc.
10970 (gdb_collect_locals_test): Move some code to ...
10971 (gdb_collect_locals_test_1): ... it. New proc.
10972 (gdb_unavailable_registers_test): Move some code to ...
10973 (gdb_unavailable_registers_test_1): ... it. New proc.
10974 (gdb_unavailable_floats): Move some code to ...
10975 (gdb_unavailable_floats_1): ... it. New proc.
10976
10977 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
10978
10979 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
10980 probes to test for bitness recognition.
10981 * gdb.arch/amd64-stap-optional-prefix.exp
10982 (test_probe_value_without_reg): New procedure.
10983 Add code to test for different kinds of bitness.
10984
10985 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
10986
10987 PR breakpoints/16889
10988 * gdb.arch/amd64-stap-optional-prefix.S: New file.
10989 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
10990
10991 2014-05-01 Pedro Alves <palves@redhat.com>
10992
10993 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
10994 gdb_file_cmd if no file is specified.
10995 * boards/native-extended-gdbserver.exp (gdb_load): Use the
10996 last_loaded_file to set the remote exec-file.
10997
10998 2014-05-01 Pedro Alves <palves@redhat.com>
10999
11000 * boards/local-remote-host.exp: New file.
11001
11002 2014-05-01 Pedro Alves <palves@redhat.com>
11003
11004 * boards/local-remote-host.exp: Rename to ...
11005 * boards/local-remote-host-notty.exp: ... this.
11006
11007 2014-04-28 Joel Brobecker <brobecker@adacore.com>
11008
11009 * gdb.ada/dyn_arrayidx: New testcase.
11010
11011 2014-04-26 Yao Qi <yao@codesourcery.com>
11012
11013 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
11014 and compute the length of function main. Save it in
11015 $main_length.
11016 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
11017 (top-level): Use gdb_compile to compile objects into
11018 executable and restart GDB. Remove invocation to
11019 prepare_for_testing.
11020
11021 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
11022 Pedro Alves <palves@redhat.com>
11023
11024 PR server/16255
11025 * gdb.multi/multi-attach.c: New file.
11026 * gdb.multi/multi-attach.exp: New file.
11027
11028 2014-04-25 Pedro Alves <palves@redhat.com>
11029
11030 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
11031 user.
11032 (top level): Test that "set remote conditional-breakpoints-packet
11033 off" works as intended.
11034 * gdb.base/dprintf.exp: Test that "set remote
11035 breakpoint-commands-packet off" works as intended.
11036 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
11037 New function.
11038 (top level): Call it.
11039 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
11040 remote fast-tracepoints-packet off" works as intended.
11041 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
11042 * lib/gdb.exp (gdb_is_target_remote): ... here.
11043
11044 2014-04-24 David Blaikie <dblaikie@gmail.com>
11045
11046 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
11047 ensure clang would not discard them.
11048 * gdb.base/gdbvars.c: Ditto.
11049 * gdb.base/memattr.c: Ditto.
11050 * gdb.base/whatis.c: Ditto.
11051 * gdb.python/py-prettyprint.c: Ditto.
11052 * gdb.trace/actions.c: Ditto.
11053 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
11054 ensure clang would not discard it.
11055
11056 2014-04-24 David Blaikie <dblaikie@gmail.com>
11057
11058 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
11059 clang to emit the full definition of type required by the test
11060 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
11061
11062 2014-04-24 David Blaikie <dblaikie@gmail.com>
11063
11064 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
11065 coax Clang into emitting the definition of the type.
11066 * gdb.cp/pr10728-x.h (y): Ditto.
11067 * gdb.cp/pr10728-y.cc (y): Ditto.
11068
11069 2014-04-24 David Blaikie <dblaikie@gmail.com>
11070
11071 * gdb.base/label.exp: XFAIL label related tests under Clang.
11072 * gdb.cp/cplabel.exp: Ditto.
11073 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
11074 under Clang those using labels.
11075
11076 2014-04-25 Yao Qi <yao@codesourcery.com>
11077
11078 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
11079 double_label.
11080 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
11081 partial_label and double_label.
11082
11083 2014-04-24 David Blaikie <dblaikie@gmail.com>
11084
11085 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
11086
11087 2014-04-24 David Blaikie <dblaikie@gmail.com>
11088
11089 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
11090 of the function to work across GCC and Clang.
11091 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
11092 pointer types (const void ** const V void **).
11093
11094 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
11095 Walfred Tedeschi <walfred.tedeschi@intel.com>
11096
11097 * Makefile.in (EXECUTABLES): Added i386-avx512.
11098 * gdb.arch/i386-avx512.c: New file.
11099 * gdb.arch/i386-avx512.exp: Likewise.
11100
11101 2014-04-23 Keith Seitz <keiths@redhat.com>
11102
11103 * lib/mi-support.exp (mi_list_breakpoints): Delete.
11104 (mi_make_breakpoint_table): New procedure.
11105 (mi_create_breakpoint): Use mi_make_breakpoint
11106 and return the result.
11107 (mi_make_breakpoint): New procedure.
11108 (mi_build_kv_pairs): New procedure.
11109
11110 * gdb.mi/mi-break.exp: Remove unused globals,
11111 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
11112 All callers updated.
11113 * gdb.mi/mi-dprintf.exp: Use variable to track command
11114 number.
11115 Update all callers of mi_create_breakpoint and use
11116 mi_make_breakpoint_table.
11117 Remove any unused global variables.
11118 * gdb.mi/mi-nonstop.exp: Likewise.
11119 * gdb.mi/mi-nsintrall.exp: Likewise.
11120 * gdb.mi/mi-nsmoribund.exp: Likewise.
11121 * gdb.mi/mi-nsthrexec.exp: Likewise.
11122 * gdb.mi/mi-reverse.exp: Likewise.
11123 * gdb.mi/mi-simplerun.exp: Likewise.
11124 * gdb.mi/mi-stepn.exp: Likewise.
11125 * gdb.mi/mi-syn-frame.exp: Likewise.
11126 * gdb.mi/mi-until.exp: Likewise.
11127 * gdb.mi/mi-var-cp.exp: Likewise.
11128 * gdb.mi/mi-var-display.exp: Likewise.
11129 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
11130 * gdb.mi/mi2-var-child.exp: Likewise.
11131 * gdb.mi/mi-vla-c99.exp: Likewise.
11132 * lib/mi-support.exp: Likewise.
11133
11134 From Ian Lance Taylor <iant@cygnus.com>:
11135 * lib/gdb.exp (parse_args): New procedure.
11136
11137 2014-04-23 Pedro Alves <palves@redhat.com>
11138
11139 * gdb.base/break-unload-file.c: New file.
11140 * gdb.base/break-unload-file.exp: New file.
11141 * gdb.base/sym-file-lib.c (baz): New function.
11142 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
11143 field.
11144 (load): Store the segment's mapped size.
11145 (unload): New function.
11146 (unload_shlib): New function.
11147 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
11148 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
11149 set a breakpoint at baz, and call it.
11150 * gdb.base/sym-file.exp: New tests for stale breakpoint
11151 instructions.
11152
11153 2014-04-23 Pedro Alves <palves@redhat.com>
11154
11155 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
11156 * gdb.base/hbreak-in-shr-unsupported.c: New file.
11157 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
11158 * gdb.base/hbreak-unmapped.c: New file.
11159 * gdb.base/hbreak-unmapped.exp: New file.
11160 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
11161 * lib/gdb.exp (gdb_is_target_remote): ... here.
11162
11163 2014-04-22 Pedro Alves <palves@redhat.com>
11164
11165 * gdb.base/consecutive-step-over.c: New file.
11166 * gdb.base/consecutive-step-over.exp: New file.
11167
11168 2014-04-22 Pedro Alves <palves@redhat.com>
11169
11170 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
11171 instead of send_gdb/gdb_expect.
11172
11173 2014-04-22 Yao Qi <yao@codesourcery.com>
11174
11175 * lib/trace-support.exp (generate_tracefile): New procedure.
11176 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
11177 return 0.
11178 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
11179 if generate_tracefile returns 1.
11180
11181 2014-04-18 Tom Tromey <palves@redhat.com>
11182 Pedro alves <tromey@redhat.com>
11183
11184 PR backtrace/15558
11185 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
11186 with a backtrace limit.
11187 * gdb.python/py-frame-inline.exp: Test running to an inline
11188 function with a backtrace limit, and printing the newest frame.
11189 * gdb.python/py-frame-inline.c (main): Call f.
11190
11191 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
11192
11193 * gdb.java/jnpe.exp: Drop srcdir from untested path.
11194
11195 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
11196
11197 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
11198 Drop prefix from unsupported source file path.
11199
11200 2014-04-17 Yao Qi <yao@codesourcery.com>
11201
11202 * lib/gdb.exp (with_target_charset): New proc.
11203 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
11204 with_target_charset.
11205 (test_print_strings): Likewise.
11206 (test_repeat_bytes): Likewise.
11207 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
11208 for some tests.
11209
11210 2014-04-16 Keith Seitz <keiths@redhat.com>
11211
11212 PR gdb/15827
11213 * gdb.dwarf2/corrupt.c: New file.
11214 * gdb.dwarf2/corrupt.exp: New file.
11215
11216 2014-04-16 Keith Seitz <keiths@redhat.com>
11217
11218 PR c++/16597
11219 * gdb.cp/namelessclass.cc: New file.
11220 * gdb.cp/namelessclass.exp: New file.
11221 * gdb.cp/namelessclass.S: New file.
11222
11223 2014-04-16 Doug Evans <dje@google.com>
11224
11225 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
11226 Add comment.
11227 (gdbserver_default_get_comm_port): New function.
11228 (gdbserver_start): Check if board file provided
11229 "gdbserver,get_comm_port" and use it if so.
11230 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
11231 (gdb,socketport): Set to "stdio".
11232 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
11233 (stdio_gdbserver_template): Delete.
11234 (${board}_get_remote_address): Update.
11235 (${board}_build_remote_cmd): Delete.
11236 (${board}_get_comm_port): New function.
11237 (${board}_spawn): Update.
11238 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
11239 Delete.
11240 (${board}_get_remote_address): Update.
11241 (${board}_get_comm_port): New function.
11242
11243 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
11244
11245 * gdb.base/memattr.exp: Improve regexps to handle memory regions
11246 appearing in any order.
11247
11248 2014-04-15 Doug Evans <dje@google.com>
11249
11250 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
11251 uninitialized value of "description".
11252
11253 2014-04-15 Keith Seitz <keiths@redhat.com>
11254
11255 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
11256 Remove unused globals.
11257 (test_running_the_program): Likewise.
11258 (test_controlled_execution): Likewise.
11259 (test_controlling_breakpoints): Likewise.
11260 (test_program_termination): Likewise.
11261
11262 2014-04-15 Keith Seitz <keiths@redhat.com>
11263
11264 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
11265 unused globals.
11266 (test_rbreak_creation_and_listing): Likewise.
11267 (test_ignore_count): Likewise.
11268 (test_error): Likewise.
11269
11270 2014-04-15 Pedro Alves <palves@redhat.com>
11271
11272 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
11273 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
11274 sym-file-loader.c.
11275 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
11276 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
11277 to sym-file-loader.c.
11278 (struct library): Forward declare.
11279 (load_shlib, lookup_function): Change prototypes.
11280 (find_shstrtab, find_strtab, find_shdr, find_symtab)
11281 (translate_offset): Remove declarations.
11282 (get_text_addr): New declaration.
11283 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
11284 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
11285 sym-file-loader.h.
11286 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
11287 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
11288 here from sym-file-loader.h.
11289 (struct library): New structure.
11290 (load_shlib, lookup_function): Change prototypes and adjust to
11291 work with a struct library.
11292 (find_shstrtab, find_strtab, find_shdr, find_symtab)
11293 (translate_offset): Make static.
11294 (get_text_addr): New function.
11295 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
11296
11297 2014-04-15 Pedro Alves <palves@redhat.com>
11298
11299 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
11300
11301 2014-04-15 Pedro Alves <palves@redhat.com>
11302
11303 * gdb.base/sym-file-loader.c: Include <limits.h>.
11304 (SELF_LINK): New define.
11305 (get_origin): New function.
11306 (load_shlib): Use it.
11307 * gdb.base/sym-file.exp: Don't early return if the target is
11308 remote. Use runto_main, and issue fail is that fails. Use
11309 gdb_load_shlibs.
11310 (shlib_name): Delete.
11311 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
11312
11313 2014-04-15 Pedro Alves <palves@redhat.com>
11314
11315 * gdb.base/sym-file.exp: Remove regex characters from test
11316 message. Don't refer to breakpoint numbers in test messages.
11317
11318 2014-04-14 Keith Seitz <keiths@redhat.com>
11319
11320 PR c++/16253
11321 * gdb.cp/var-tag.cc: New file.
11322 * gdb.cp/var-tag.exp: New file.
11323 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
11324 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
11325 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
11326 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
11327
11328 2014-04-14 Tom Tromey <tromey@redhat.com>
11329
11330 * gdb.cp/classes.exp (test_enums): Handle underlying type.
11331 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
11332 type.
11333 * gdb.cp/enum-class.exp: New file.
11334 * gdb.cp/enum-class.cc: New file.
11335
11336 2014-04-14 Tom Tromey <tromey@redhat.com>
11337
11338 * gdb.dwarf2/enum-type.exp: New file.
11339
11340 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
11341
11342 * gdb.mi/mi-vla-c99.exp: New file.
11343 * gdb.mi/vla.c: New file.
11344
11345 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
11346
11347 * gdb.base/vla-datatypes.c: New file.
11348 * gdb.base/vla-datatypes.exp: New file.
11349
11350 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
11351
11352 * gdb.base/vla-ptr.c: New file.
11353 * gdb.base/vla-ptr.exp: New file.
11354
11355 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
11356
11357 * gdb.dwarf2/count.exp: New file.
11358
11359 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
11360
11361 * gdb.base/vla-sideeffect.c: New file.
11362 * gdb.base/vla-sideeffect.exp: New file.
11363
11364 2014-04-14 David Blaikie <dblaikie@gmail.com>
11365
11366 * gdb.mi/non-stop.c: Add return value for non-void function return
11367 statement.
11368 * gdb.threads/staticthreads.c: Ditto.
11369
11370 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
11371 Doug Evans <xdje42@gmail.com>
11372
11373 * gdb.guile/scm-value.c: Improve test case.
11374 * gdb.guile/scm-value.exp: Add new test.
11375
11376 2014-04-11 David Blaikie <dblaikie@gmail.com>
11377
11378 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
11379 override Clang's default.
11380
11381 2014-04-11 Joel Brobecker <brobecker@adacore.com>
11382
11383 Revert the following changes (regressions):
11384
11385 * gdb.base/vla-sideeffect.c: New file.
11386 * gdb.base/vla-sideeffect.exp: New file.
11387
11388 * gdb.dwarf2/count.exp: New file.
11389
11390 * gdb.base/vla-multi.c: New file.
11391 * gdb.base/vla-multi.exp: New file.
11392
11393 * gdb.base/vla-ptr.c: New file.
11394 * gdb.base/vla-ptr.exp: New file.
11395
11396 * gdb.base/vla-datatypes.c: New file.
11397 * gdb.base/vla-datatypes.exp: New file.
11398
11399 * gdb.mi/mi-vla-c99.exp: New file.
11400 * gdb.mi/vla.c: New file.
11401
11402 2014-04-11 Keith Seitz <keiths@redhat.com>
11403
11404 PR c++/16675
11405 * gdb.cp/cpsizeof.exp: New file.
11406 * gdb.cp/cpsizeof.cc: New file.
11407
11408 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
11409
11410 * gdb.mi/mi-vla-c99.exp: New file.
11411 * gdb.mi/vla.c: New file.
11412
11413 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
11414
11415 * gdb.base/vla-datatypes.c: New file.
11416 * gdb.base/vla-datatypes.exp: New file.
11417
11418 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
11419
11420 * gdb.base/vla-ptr.c: New file.
11421 * gdb.base/vla-ptr.exp: New file.
11422
11423 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
11424
11425 * gdb.base/vla-multi.c: New file.
11426 * gdb.base/vla-multi.exp: New file.
11427
11428 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
11429
11430 * gdb.dwarf2/count.exp: New file.
11431
11432 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
11433
11434 * gdb.base/vla-sideeffect.c: New file.
11435 * gdb.base/vla-sideeffect.exp: New file.
11436
11437 2014-04-11 Yao Qi <yao@codesourcery.com>
11438
11439 * gdb.base/completion.exp: Check file exists before running tests
11440 on file completion.
11441
11442 2014-04-10 Pedro Alves <palves@redhat.com>
11443
11444 * gdb.base/cond-eval-mode.c: New file.
11445 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
11446 prepare_for_testing to build the new file. Check result of
11447 runto_main.
11448 (test_break, test_watch): New procedures.
11449 (top level): Use them.
11450
11451 2014-04-08 Pierre Muller <muller@sourceware.org>
11452
11453 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
11454 Ctrl-V use for mingw hosts.
11455
11456 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
11457
11458 * gdb.python/py-value.c: Improve test case.
11459 * gdb.python/py-value.exp: Add new test.
11460
11461 2014-04-07 David Blaikie <dblaikie@gmail.com>
11462
11463 * lib/compiler.c: Identify the clang compiler.
11464 * lib/compiler.cc: Ditto.
11465
11466 2014-04-03 Yao Qi <yao@codesourcery.com>
11467
11468 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
11469
11470 2014-04-01 Anton Blanchard <anton@samba.org>
11471
11472 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
11473 messages unique.
11474
11475 2014-04-01 Anton Blanchard <anton@samba.org>
11476
11477 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
11478 prepare_for_testing.
11479
11480 2014-04-01 Anton Blanchard <anton@samba.org>
11481
11482 * gdb.arch/ppc64-atomic-inst.c: Remove.
11483 * gdb.arch/ppc64-atomic-inst.S: New file.
11484 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
11485
11486 2014-03-31 Doug Evans <dje@google.com>
11487
11488 * gdb.base/print-symbol-loading-lib.c: New file.
11489 * gdb.base/print-symbol-loading-main.c: New file.
11490 * gdb.base/print-symbol-loading.exp: New file.
11491
11492 2014-03-31 Yao Qi <yao@codesourcery.com>
11493
11494 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
11495
11496 2014-03-28 Joel Brobecker <brobecker@adacore.com>
11497
11498 * gdb.ada/mi_dyn_arr: New testcase.
11499
11500 2014-03-27 Doug Evans <dje@google.com>
11501
11502 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
11503
11504 2014-03-27 Yao Qi <yao@codesourcery.com>
11505
11506 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
11507 if target is nios2-*-*.
11508
11509 2014-03-26 Yao Qi <yao@codesourcery.com>
11510
11511 * lib/gdb.exp (readline_is_used): New proc.
11512 * gdb.base/completion.exp: Move tests on command complete up.
11513 Skip the rest of tests if readline is not used.
11514 * gdb.ada/complete.exp: Skp the test if readline is not
11515 used.
11516 * gdb.base/filesym.exp: Likewise.
11517 * gdb.base/macscp.exp: Likewise.
11518 * gdb.base/readline-ask.exp: Likewise.
11519 * gdb.base/readline.exp: Likewise.
11520 * gdb.python/py-cmd.exp: Likewise.
11521 * gdb.trace/tfile.exp: Likewise.
11522
11523 2014-03-26 Yao Qi <yao@codesourcery.com>
11524
11525 * gdb.base/macscp.exp: Fix code format issues.
11526
11527 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
11528
11529 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
11530 * gdb.asm/powerpc64le.inc: New file.
11531
11532 2014-03-25 Pedro Alves <palves@redhat.com>
11533 Doug Evans <dje@google.com>
11534
11535 * gdb.base/source-execution.c: New file.
11536 * gdb.base/source-execution.exp: New file.
11537 * gdb.base/source-execution.gdb: New file.
11538
11539 2014-03-24 Doug Evans <dje@google.com>
11540
11541 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
11542 using fission.
11543
11544 2014-03-24 Hui Zhu <hui@codesourcery.com>
11545 Pedro Alves <palves@redhat.com>
11546
11547 PR breakpoints/16101
11548 * gdb.base/dprintf.exp: Use unsupported rather than changing the
11549 test pass/fail messages. Detect missing support for dprintf when
11550 breakpoints are actually inserted.
11551 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
11552 breakpoints are actually inserted.
11553 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
11554 fails.
11555
11556 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
11557
11558 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
11559
11560 2014-03-22 Doug Evans <xdje42@gmail.com>
11561
11562 * gdb.python/python.exp (python not supported): Verify multi-line
11563 python command issues an error.
11564 * gdb.guile/guile.exp (guile not supported): Verify multi-line
11565 guile command issues an error.
11566
11567 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
11568
11569 * gdb.threads/thread-specific.exp: Handle the lack of usable
11570 $this_breakpoint and $this_thread.
11571
11572 2014-03-21 Hui Zhu <hui@codesourcery.com>
11573
11574 * gdb.base/attach.exp (do_command_attach_tests): New.
11575
11576 2014-03-20 Tom Tromey <tromey@redhat.com>
11577 Pedro Alves <palves@redhat.com>
11578
11579 PR cli/15718
11580 * gdb.base/condbreak-call-false.c: New file.
11581 * gdb.base/condbreak-call-false.exp: New file.
11582
11583 2014-03-20 Pedro Alves <palves@redhat.com>
11584
11585 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
11586 Delete.
11587 (block_signals, unblock_signals): Delete.
11588 (child_function_2, main): Remove references to deleted variable
11589 and functions.
11590
11591 2014-03-20 Pedro Alves <palves@redhat.com>
11592
11593 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
11594 Use pthread_kill to signal thread 2.
11595 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
11596 Adjust to make the test send itself a signal rather than using the
11597 host's "kill" command.
11598
11599 2014-03-20 Pedro Alves <palves@redhat.com>
11600
11601 * gdb.threads/multiple-step-overs.c: New file.
11602 * gdb.threads/multiple-step-overs.exp: New file.
11603 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
11604 Adjust expected infrun debug output.
11605
11606 2014-03-20 Pedro Alves <palves@redhat.com>
11607
11608 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
11609 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
11610
11611 2014-03-20 Pedro Alves <palves@redhat.com>
11612
11613 PR breakpoints/7143
11614 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
11615 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
11616 of gdb_test_multiple.
11617 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
11618 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
11619
11620 2014-03-20 Pedro Alves <palves@redhat.com>
11621
11622 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
11623 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
11624
11625 2014-03-19 Pedro Alves <palves@redhat.com>
11626
11627 * gdb.base/async.exp: Remove early return.
11628
11629 2014-03-19 Pedro Alves <palves@redhat.com>
11630
11631 * gdb.base/async.exp (step& tests): Pass explicit test messages.
11632
11633 2014-03-19 Pedro Alves <palves@redhat.com>
11634
11635 * gdb.base/async.exp (test_background): Expect \r\n after
11636 "completed." in the fail pattern.
11637
11638 2014-03-19 Pedro Alves <palves@redhat.com>
11639
11640 * gdb.base/async.exp (test_background): New procedure.
11641 Use it for all background execution command tests.
11642
11643 2014-03-19 Pedro Alves <palves@redhat.com>
11644
11645 * gdb.base/async.exp: Use prepare_for_testing.
11646
11647 2014-03-19 Pedro Alves <palves@redhat.com>
11648
11649 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
11650 the same line.
11651
11652 2014-03-19 Pedro Alves <palves@redhat.com>
11653
11654 * gdb.base/async.c (main): Add "jump here" and "until here" line
11655 marker comments.
11656 * gdb.base/async.exp (jump_here): New global.
11657 (jump& test): Use it.
11658 (until_here): New global.
11659 (until& test): Use it.
11660
11661 2014-03-19 Pedro Alves <palves@redhat.com>
11662
11663 * gdb.base/async.exp: Don't frob gdb_protocol.
11664
11665 2014-03-18 Doug Evans <xdje42@gmail.com>
11666
11667 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
11668 Fix spelling of exec-done-display.
11669
11670 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
11671
11672 PR gdb/15358
11673 * gdb.base/gdb-sigterm.c: New file.
11674 * gdb.base/gdb-sigterm.exp: New file.
11675
11676 2014-03-18 Pedro Alves <palves@redhat.com>
11677
11678 PR gdb/13860
11679 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
11680 * lib/mi-support.exp (mi_expect_stop): Add special handling for
11681 solib-event.
11682
11683 2014-03-17 Joel Brobecker <brobecker@adacore.com>
11684
11685 * gdb.ada/pckd_arr_ren: New testcase.
11686
11687 2014-03-13 Doug Evans <xdje42@gmail.com>
11688
11689 PR guile/16612
11690 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
11691 collect after discarding symbols.
11692
11693 2014-03-13 Ludovic Courtès <ludo@gnu.org>
11694 Doug Evans <xdje42@gmail.com>
11695
11696 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
11697 to history survives a gc.
11698
11699 2014-03-13 Pedro Alves <palves@redhat.com>
11700
11701 * gdb.base/default.exp: Don't test "target procfs".
11702
11703 2014-03-13 Pedro Alves <palves@redhat.com>
11704
11705 * gdb.base/default.exp: Update "target child" and "target procfs"
11706 tests to not expect "Unix".
11707
11708 2014-03-12 Tom Tromey <tromey@redhat.com>
11709
11710 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
11711 New procs. Add target-async tests.
11712 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
11713 Add target-async tests.
11714
11715 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
11716
11717 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
11718 'func_start' and 'func_end' for the beginning and end of the
11719 function code, respectively.
11720 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
11721 'func_end' instead of 'func' and 'main'.
11722
11723 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
11724
11725 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
11726 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
11727 generate the debug info assembler source.
11728
11729 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
11730
11731 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
11732 * gdb.dwarf2/arr-subrange.exp: Likewise.
11733 * gdb.dwarf2/dwz.exp: Likewise.
11734 * gdb.dwarf2/method-ptr.exp: Likewise.
11735 * gdb.dwarf2/missing-sig-type.exp: Likewise.
11736 * gdb.dwarf2/subrange.exp: Likewise.
11737 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
11738 * gdb.dwarf2/implptrpiece.exp: Likewise.
11739 * gdb.dwarf2/nostaticblock.exp: Likewise.
11740
11741 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
11742
11743 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
11744 directory to absolute path name arguments.
11745
11746 2014-03-10 Joel Brobecker <brobecker@adacore.com>
11747
11748 * gdb.ada/tagged_access: New testcase.
11749
11750 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
11751
11752 * gdb.btrace/data.exp: Update expected output.
11753
11754 2014-03-06 Yao Qi <yao@codesourcery.com>
11755
11756 * gdb.trace/pr16508.exp: New file.
11757
11758 2014-03-05 Pedro Alves <palves@redhat.com>
11759
11760 PR gdb/16575
11761 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
11762 procedure.
11763 (top level): Adjust to use it. Add tests that exercise breakpoint
11764 interaction with the code-cache.
11765
11766 2014-02-26 Ludovic Courtès <ludo@gnu.org>
11767
11768 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
11769 test for 'history-append!'.
11770
11771 2014-02-26 Joel Brobecker <brobecker@adacore.com>
11772
11773 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
11774 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
11775 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
11776 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
11777 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
11778 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
11779
11780 2014-02-26 Joel Brobecker <brobecker@adacore.com>
11781
11782 * testsuite/gdb.python/py-pp-re-notag.c: New file.
11783 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
11784 * testsuite/gdb.python/py-pp-re-notag.p: New file.
11785
11786 2014-02-26 Joel Brobecker <brobecker@adacore.com>
11787
11788 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
11789
11790 2014-02-26 Joel Brobecker <brobecker@adacore.com>
11791
11792 * gdb.dwarf2/arr-stride.c: New file.
11793 * gdb.dwarf2/arr-stride.exp: New file.
11794
11795 2014-02-26 Pedro Alves <palves@redhat.com>
11796
11797 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
11798 that won't ever trigger. Make sure that GDB reports the correct
11799 breakpoint that caused the stop.
11800
11801 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11802
11803 PR gdb/16626
11804 * gdb.base/auto-load-script: New file.
11805 * gdb.base/auto-load.c: New file.
11806 * gdb.base/auto-load.exp: New file.
11807
11808 PR gdb/16626
11809 * gdb.base/auto-load.exp: Fix out-of-srctree run.
11810
11811 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11812
11813 Fix dw2-icycle.exp -fsanitize=address GDB crash.
11814 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
11815
11816 2014-02-24 Doug Evans <dje@google.com>
11817
11818 * lib/gdb.exp (run_on_host): Log error output if program fails.
11819
11820 2014-02-21 Pedro Alves <palves@redhat.com>
11821
11822 * gdb.threads/step-after-sr-lock.c: Rename to ...
11823 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
11824 * gdb.threads/step-after-sr-lock.exp: Rename to ...
11825 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
11826 ... this.
11827
11828 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
11829
11830 PR tdep/16397
11831 * gdb.arch/amd64-stap-special-operands.exp: New file.
11832 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
11833 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
11834 * gdb.arch/amd64-stap-triplet.S: Likewise.
11835 * gdb.arch/amd64-stap-triplet.c: Likewise.
11836
11837 2014-02-20 Joel Brobecker <brobecker@adacore.com>
11838
11839 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
11840 in .section pseudo-op.
11841
11842 2014-02-20 lin zuojian <manjian2006@gmail.com>
11843 Joel Brobecker <brobecker@adacore.com>
11844 Doug Evans <xdje42@gmail.com>
11845
11846 PR symtab/16581
11847 * gdb.dwarf2/dw2-icycle.S: New file.
11848 * gdb.dwarf2/dw2-icycle.c: New file.
11849 * gdb.dwarf2/dw2-icycle.exp: New file.
11850
11851 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
11852
11853 * gdb.python/py-value-cc.cc: Improve test case to enable testing
11854 operations on gdb.Value objects.
11855 * gdb.python/py-value-cc.exp: Add new test to test operations on
11856 gdb.Value objects.
11857
11858 2014-02-18 Doug Evans <dje@google.com>
11859
11860 * Makefile.in (TESTS): New variable.
11861 (expanded_tests, expanded_tests_or_none): New variables
11862 (check-single): Pass $(expanded_tests_or_none) to runtest.
11863 (check-parallel): Only run tests in $(TESTS) if non-empty.
11864 (check/no-matching-tests-found): New rule.
11865 * README: Document TESTS makefile variable.
11866
11867 2014-02-18 Doug Evans <dje@google.com>
11868
11869 * Makefile.in (check-parallel): rm -rf outputs temp.
11870
11871 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11872
11873 Fix "ERROR: no fileid for" in the testsuite.
11874 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
11875
11876 2014-02-12 Doug Evans <dje@google.com>
11877
11878 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
11879 (MISCELLANEOUS): New variable.
11880 (clean): rm -rf $(MISCELLANEOUS).
11881 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
11882 dwp live in the same directory as symlinks, with each symlink pointed
11883 to a differently named file in a different directory.
11884
11885 2014-02-11 Doug Evans <dje@google.com>
11886
11887 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
11888 of Tcl file commands.
11889
11890 2014-02-10 Mark Kettenis <kettenis@gnu.org>
11891
11892 * gdb.threads/step-after-sr-lock.exp: Avoid executing
11893 "kill -SIGUSR1 -1".
11894
11895 2014-02-10 Joel Brobecker <brobecker@adacore.com>
11896
11897 * gdb.ada/tick_length_array_enum_idx: New testcase.
11898
11899 2014-02-10 Doug Evans <xdje42@gmail.com>
11900
11901 * configure.ac (AC_OUTPUT): Add gdb.guile.
11902 * configure: Regenerate.
11903 * lib/gdb-guile.exp: New file.
11904 * lib/gdb.exp (get_target_charset): New function.
11905 * gdb.base/help.exp: Update expected output from "apropos apropos".
11906 * gdb.guile/Makefile.in: New file.
11907 * gdb.guile/guile.exp: New file.
11908 * gdb.guile/scm-arch.c: New file.
11909 * gdb.guile/scm-arch.exp: New file.
11910 * gdb.guile/scm-block.c: New file.
11911 * gdb.guile/scm-block.exp: New file.
11912 * gdb.guile/scm-breakpoint.c: New file.
11913 * gdb.guile/scm-breakpoint.exp: New file.
11914 * gdb.guile/scm-disasm.c: New file.
11915 * gdb.guile/scm-disasm.exp: New file.
11916 * gdb.guile/scm-equal.c: New file.
11917 * gdb.guile/scm-equal.exp: New file.
11918 * gdb.guile/scm-error.exp: New file.
11919 * gdb.guile/scm-error.scm: New file.
11920 * gdb.guile/scm-frame-args.c: New file.
11921 * gdb.guile/scm-frame-args.exp: New file.
11922 * gdb.guile/scm-frame-args.scm: New file.
11923 * gdb.guile/scm-frame-inline.c: New file.
11924 * gdb.guile/scm-frame-inline.exp: New file.
11925 * gdb.guile/scm-frame.c: New file.
11926 * gdb.guile/scm-frame.exp: New file.
11927 * gdb.guile/scm-generics.exp: New file.
11928 * gdb.guile/scm-gsmob.exp: New file.
11929 * gdb.guile/scm-iterator.c: New file.
11930 * gdb.guile/scm-iterator.exp: New file.
11931 * gdb.guile/scm-math.c: New file.
11932 * gdb.guile/scm-math.exp: New file.
11933 * gdb.guile/scm-objfile-script-gdb.in: New file.
11934 * gdb.guile/scm-objfile-script.c: New file.
11935 * gdb.guile/scm-objfile-script.exp: New file.
11936 * gdb.guile/scm-objfile.c: New file.
11937 * gdb.guile/scm-objfile.exp: New file.
11938 * gdb.guile/scm-ports.exp: New file.
11939 * gdb.guile/scm-pretty-print.c: New file.
11940 * gdb.guile/scm-pretty-print.exp: New file.
11941 * gdb.guile/scm-pretty-print.scm: New file.
11942 * gdb.guile/scm-section-script.c: New file.
11943 * gdb.guile/scm-section-script.exp: New file.
11944 * gdb.guile/scm-section-script.scm: New file.
11945 * gdb.guile/scm-symbol.c: New file.
11946 * gdb.guile/scm-symbol.exp: New file.
11947 * gdb.guile/scm-symtab-2.c: New file.
11948 * gdb.guile/scm-symtab.c: New file.
11949 * gdb.guile/scm-symtab.exp: New file.
11950 * gdb.guile/scm-type.c: New file.
11951 * gdb.guile/scm-type.exp: New file.
11952 * gdb.guile/scm-value-cc.cc: New file.
11953 * gdb.guile/scm-value-cc.exp: New file.
11954 * gdb.guile/scm-value.c: New file.
11955 * gdb.guile/scm-value.exp: New file.
11956 * gdb.guile/source2.scm: New file.
11957 * gdb.guile/types-module.cc: New file.
11958 * gdb.guile/types-module.exp: New file.
11959
11960 2014-02-10 Yao Qi <yao@codesourcery.com>
11961
11962 PR testsuite/16543
11963 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
11964 * configure: Regenerated.
11965 * Makefile.in: New file.
11966
11967 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
11968
11969 * gdb.python/py-framefilter.exp: Fix typo.
11970
11971 2014-02-08 Yao Qi <yao@codesourcery.com>
11972
11973 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
11974 that no =breakpoint-modified is emitted when breakpoints are
11975 modified through MI commands.
11976
11977 2014-02-07 Pedro Alves <pedro@codesourcery.com>
11978 Pedro Alves <palves@redhat.com>
11979
11980 * gdb.threads/step-after-sr-lock.c: New file.
11981 * gdb.threads/step-after-sr-lock.exp: New file.
11982
11983 2014-02-07 Pedro Alves <palves@redhat.com>
11984
11985 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
11986
11987 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
11988
11989 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
11990 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
11991
11992 2014-02-06 Doug Evans <xdje42@gmail.com>
11993
11994 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
11995 output.
11996
11997 * gdb.gdb/python-interrupts.exp: New file.
11998
11999 2014-02-05 Yao Qi <yao@codesourcery.com>
12000
12001 * gdb.trace/report.exp (use_collected_data): Test the output
12002 of "info threads" and "info inferiors".
12003
12004 2014-02-05 Yao Qi <yao@codesourcery.com>
12005
12006 Revert this patch:
12007
12008 2013-05-24 Yao Qi <yao@codesourcery.com>
12009
12010 * gdb.trace/tfile.exp: Test inferior and thread.
12011
12012 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
12013
12014 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
12015 on a function.
12016 * gdb.base/step-bt.c: Call hello via function pointer to make
12017 sure its first instruction is executed on powerpc64le-linux.
12018
12019 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
12020
12021 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
12022
12023 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
12024
12025 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
12026 of the test patterns for use on little-endian systems.
12027
12028 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
12029
12030 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
12031 (decimal_vector): Fix for little-endian.
12032
12033 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
12034
12035 * gdb.arch/sparc-sysstep.exp: New file.
12036 * gdb.arch/sparc-sysstep.c: Likewise.
12037
12038 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
12039
12040 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12041
12042 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
12043
12044 2014-01-23 Tom Tromey <tromey@redhat.com>
12045
12046 * gdb.ada/array_char_idx: New testcase.
12047
12048 2014-01-23 Tom Tromey <tromey@redhat.com>
12049
12050 PR python/16487:
12051 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
12052 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
12053 classes.
12054
12055 2014-01-23 Tom Tromey <tromey@redhat.com>
12056
12057 PR python/16491:
12058 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
12059 string from an inferior frame.
12060 * gdb.python/py-framefilter-mi.exp: Update.
12061
12062 2014-01-22 Doug Evans <dje@google.com>
12063
12064 * gdb.server/server-mon.exp: Add tests for "set debug-format".
12065
12066 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
12067
12068 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
12069
12070 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
12071
12072 * gdb.trace/entry-values.exp: Remove excess space character from
12073 regex patterns. Handle s390 call instruction.
12074
12075 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
12076
12077 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
12078 define "*_start" label. Make "name" static.
12079 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
12080 ${name} by references to ${name}_start.
12081
12082 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
12083
12084 * gdb.base/info-macros.exp: Remove "debug" from the compile
12085 options.
12086
12087 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
12088
12089 * gdb.dlang/demangle.exp: New file.
12090
12091 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
12092
12093 * gdb.dlang/primitive-types.exp: New file.
12094
12095 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
12096
12097 * configure.ac: Create gdb.dlang/Makefile.
12098 * configure: Regenerate.
12099 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
12100 * gdb.dlang/Makefile.in: New file.
12101 * lib/d-support.exp: New file.
12102 * lib/gdb.exp (skip_d_tests): New proc.
12103
12104 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12105
12106 * gdb.btrace/delta.exp: Check reverse stepi.
12107 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
12108 * gdb.btrace/finish.exp: New.
12109 * gdb.btrace/next.exp: New.
12110 * gdb.btrace/nexti.exp: New.
12111 * gdb.btrace/record_goto.c: Add comments.
12112 * gdb.btrace/step.exp: New.
12113 * gdb.btrace/stepi.exp: New.
12114 * gdb.btrace/multi-thread-step.c: New.
12115 * gdb.btrace/multi-thread-step.exp: New.
12116 * gdb.btrace/rn-dl-bind.c: New.
12117 * gdb.btrace/rn-dl-bind.exp: New.
12118 * gdb.btrace/data.c: New.
12119 * gdb.btrace/data.exp: New.
12120 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
12121
12122 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12123
12124 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
12125 * gdb.btrace/exception.exp: Update.
12126 * gdb.btrace/instruction_history.exp: Update.
12127 * gdb.btrace/record_goto.exp: Update.
12128 * gdb.btrace/tailcall.exp: Update.
12129 * gdb.btrace/unknown_functions.exp: Update.
12130 * gdb.btrace/delta.exp: New.
12131
12132 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12133
12134 * gdb.btrace/record_goto.exp: Add backtrace test.
12135 * gdb.btrace/tailcall.exp: Add backtrace test.
12136
12137 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12138
12139 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
12140 * gdb.btrace/record_goto.c: New.
12141 * gdb.btrace/record_goto.exp: New.
12142 * gdb.btrace/x86-record_goto.S: New.
12143
12144 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12145
12146 * gdb.btrace/function_call_history.exp: Update tests.
12147 * gdb.btrace/instruction_history.exp: Update tests.
12148
12149 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12150
12151 * gdb.btrace/function_call_history.exp: Fix expected field
12152 order for "record function-call-history".
12153 Add new tests for "record function-call-history /c".
12154 * gdb.btrace/exception.cc: New.
12155 * gdb.btrace/exception.exp: New.
12156 * gdb.btrace/tailcall.exp: New.
12157 * gdb.btrace/x86-tailcall.S: New.
12158 * gdb.btrace/x86-tailcall.c: New.
12159 * gdb.btrace/unknown_functions.c: New.
12160 * gdb.btrace/unknown_functions.exp: New.
12161 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
12162
12163 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12164
12165 * gdb.btrace/instruction_history.exp: Update.
12166 * gdb.btrace/function_call_history.exp: Update.
12167
12168 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12169
12170 * gdb.btrace/function_call_history.exp: Fix expected function
12171 trace.
12172 * gdb.btrace/instruction_history.exp: Initialize traced.
12173 Remove traced_functions.
12174
12175 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12176
12177 * gdb.btrace/function_call_history.exp: Update
12178 * gdb.btrace/instruction_history.exp: Update.
12179
12180 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12181
12182 * gdb.btrace/enable.exp: Update expected text.
12183
12184 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
12185
12186 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
12187 bytes.
12188
12189 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
12190
12191 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
12192
12193 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
12194
12195 * lib/gdb.exp (supports_process_record): Return true for
12196 arm*-linux*. (supports_reverse): Likewise.
12197
12198 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
12199
12200 PR python/15464
12201 PR python/16113
12202 * gdb.python/py-type.c: Enhance test case.
12203 * gdb.python/py-value-cc.cc: Likewise
12204 * gdb.python/py-type.exp: Add new tests.
12205 * gdb.python/py-value-cc.exp: Likewise
12206
12207 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
12208 Pedro Alves <palves@redhat.com>
12209
12210 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
12211 Make "name" extern.
12212 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
12213 references to ${name}_start by references to ${name}.
12214
12215 2014-01-10 Joel Brobecker <brobecker@adacore.com>
12216
12217 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
12218
12219 2014-01-10 Joel Brobecker <brobecker@adacore.com>
12220
12221 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
12222
12223 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
12224 Pedro Alves <palves@redhat.com>
12225
12226 * gdb.mi/mi-info-os.exp: Connect to the target with
12227 mi_gdb_target_load.
12228
12229 2014-01-08 Pedro Alves <palves@redhat.com>
12230
12231 * gdb.threads/reconnect-signal.c: New file.
12232 * gdb.threads/reconnect-signal.exp: New file.
12233
12234 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
12235
12236 * gdb.base/source-dir.exp: New file.
12237
12238 2014-01-07 Joel Brobecker <brobecker@adacore.com>
12239
12240 * gdb.ada/mi_interface: New testcase.
12241
12242 2014-01-07 Joel Brobecker <brobecker@adacore.com>
12243
12244 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
12245 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
12246 gdb.ada/pp-rec-component/pck.ads: New files.
12247
12248 2014-01-07 Joel Brobecker <brobecker@adacore.com>
12249
12250 * gdb.python/py-pp-integral.c: New file.
12251 * gdb.python/py-pp-integral.py: New file.
12252 * gdb.python/py-pp-integral.exp: New file.
12253
12254 For older changes see ChangeLog-1993-2013.
12255 \f
12256 ;; Local Variables:
12257 ;; mode: change-log
12258 ;; left-margin: 8
12259 ;; fill-column: 74
12260 ;; version-control: never
12261 ;; End:
12262
12263 Copyright 2014-2017 Free Software Foundation, Inc.
12264 Copying and distribution of this file, with or without modification,
12265 are permitted provided the copyright notice and this notice are preserved.
This page took 0.274523 seconds and 5 git commands to generate.