Fix -list-thread-groups --available logic and add test
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
2
3 * gdb.mi/list-thread-groups-available.exp: New file.
4 * gdb.mi/list-thread-groups-available.c: New file.
5
6 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
7
8 * gdb.base/set-cwd.exp: Make it available on
9 native-extended-gdbserver.
10
11 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
12
13 * gdb.base/set-cwd.c: New file.
14 * gdb.base/set-cwd.exp: Likewise.
15
16 2017-10-02 Tom Tromey <tom@tromey.com>
17
18 PR rust/22236:
19 * gdb.rust/simple.rs (main): New variable "fslice".
20 * gdb.rust/simple.exp: Add slice tests. Update string tests.
21
22 2017-10-02 Tom Tromey <tom@tromey.com>
23
24 * gdb.rust/simple.exp: Test ptype of a slice.
25
26 2017-10-02 Tom Tromey <tom@tromey.com>
27
28 * gdb.rust/simple.exp: Test index of slice.
29
30 2017-09-27 Tom Tromey <tom@tromey.com>
31
32 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
33
34 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
35 Pedro Alves <palves@redhat.com>
36
37 * gdb.base/compare-sections.exp (get value of read-only section): Read
38 as unsigned value.
39 (corrupt read-only section): Likewise and don't set written if patching
40 failed.
41
42 2017-09-21 Kevin Buettner <kevinb@redhat.com>
43
44 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
45 files.
46
47 2017-09-20 Pedro Alves <palves@redhat.com>
48
49 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
50 symbol names in gdb's output.
51 * gdb.cp/overload.exp ("list all overloads"): Likewise.
52
53 2017-09-20 Pedro Alves <palves@redhat.com>
54
55 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
56 Rename to ...
57 (test_list_ambiguous_symbol): ... this and add a symbol name
58 parameter. Adjust.
59 (test_list_ambiguous_function): Reimplement on top of
60 test_list_ambiguous_symbol and also test listing ambiguous
61 variables.
62 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
63 (ambiguous_fun): ... this.
64 (ambiguous_var): New.
65 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
66 (ambiguous_fun): ... this.
67 (ambiguous_var): New.
68
69 2017-09-19 John Baldwin <jhb@FreeBSD.org>
70
71 * gdb.base/starti.c: New file.
72 * gdb.base/starti.exp: New file.
73 * lib/gdb.exp (gdb_starti_cmd): New procedure.
74
75 2017-09-14 Pedro Alves <palves@redhat.com>
76
77 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
78 (top level): Use it instead of runto.
79
80 2017-09-11 Tom Tromey <tom@tromey.com>
81
82 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
83
84 2017-09-11 Tom Tromey <tom@tromey.com>
85
86 * gdb.python/py-infthread.exp: Add tests for new_thread event.
87 * gdb.python/py-inferior.exp: Add tests for new inferior events.
88
89 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
90
91 * gdb.fortran/printing-types.exp: New file.
92 * gdb.fortran/printing-types.exp: New file.
93
94 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
95
96 * gdb.fortran/vla-ptype.exp: Fix typos.
97 * gdb.fortran/vla-value.exp: Same.
98
99 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
100
101 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
102 * gdb.mi/mi-var-child-f.exp: Likewise.
103 * gdb.mi/mi-vla-fortran.exp: Likewise.
104
105 2017-09-08 Frank Penczek <frank.penczek@intel.com>
106 Christoph Weinmann <christoph.t.weinmann@intel.com>
107 Bernhard Heckel <bernhard.heckel@intel.com>
108
109 * gdb.fortran/ptr-indentation.f90: New file.
110 * gdb.fortran/ptr-indentation.exp: New file.
111
112 2017-09-05 Tom Tromey <tom@tromey.com>
113
114 PR gdb/22010:
115 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
116
117 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
118
119 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
120
121 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
122
123 * gdb.threads/tls-nodebug-pie.c: New file.
124 * gdb.threads/tls-nodebug-pie.exp: New file.
125
126 2017-09-05 Tom Tromey <tom@tromey.com>
127
128 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
129 for rust.
130
131 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
132
133 * gdb.multi/multi-arch-exec.exp: Test with different
134 "follow-exec-mode" settings.
135 (do_test): New procedure.
136
137 2017-09-04 Pedro Alves <palves@redhat.com>
138
139 * gdb.base/func-static.c (S::method const, S::method volatile)
140 (S::method volatile const): New methods.
141 (c_s, v_s, cv_s): New instances.
142 (main): Call method() on them.
143 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
144 (cannot_resolve): New procedure.
145 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
146 print-quote-unquoted columns.
147 (do_test): Test printing each scope too.
148
149 2017-09-04 Pedro Alves <palves@redhat.com>
150
151 * gdb.base/local-static.exp: Also test with
152 class::method::variable wholly quoted.
153 * gdb.cp/m-static.exp (class::method::variable): Remove test.
154
155 2017-09-04 Pedro Alves <palves@redhat.com>
156
157 * gdb.base/local-static.c: New.
158 * gdb.base/local-static.cc: New.
159 * gdb.base/local-static.exp: New.
160
161 2017-09-04 Pedro Alves <palves@redhat.com>
162
163 * gdb.asm/asm-source.exp: Add casts to int.
164 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
165 (dataglobal64_1, dataglobal64_2): New globals.
166 * gdb.base/nodebug.exp: Test different expressions involving the
167 new globals, with print, whatis and ptype. Add casts to int.
168 * gdb.base/solib-display.exp: Add casts to int.
169 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
170 * gdb.cp/m-static.exp: Add cast to int.
171 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
172 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
173 tls variable with no debug info without a cast. Test with a cast
174 to int too.
175 * gdb.trace/entry-values.exp: Add casts.
176
177 2017-09-04 Pedro Alves <palves@redhat.com>
178
179 * gdb.base/nodebug.exp: Test that ptype's error about functions
180 with unknown return type includes the function name too.
181
182 2017-09-04 Pedro Alves <palves@redhat.com>
183
184 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
185 return type of munmap in infcall.
186 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
187 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
188 type of ftell in infcall.
189 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
190 type of getpid in infcall.
191 * gdb.base/infcall-exec.exp: Cast return type of execlp in
192 infcall.
193 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
194 Bail on failure to extract the pid.
195 * gdb.base/nodebug.c: #include <stdint.h>.
196 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
197 New functions.
198 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
199 Change expected output of print/whatis/ptype with functions with
200 no debug info. Test all supported languages. Call
201 test_call_promotion.
202 * gdb.compile/compile.exp: Adjust expected output to expect
203 warning.
204 * gdb.threads/siginfo-threads.exp: Likewise.
205
206 2017-09-04 Pedro Alves <palves@redhat.com>
207
208 * gdb.base/callfuncs.exp (do_function_calls): New parameter
209 "prototypes". Test calling float functions via prototyped and
210 unprototyped function pointers.
211 (perform_all_tests): New parameter "prototypes". Pass it down.
212 (top level): Pass down "prototypes" parameter to
213 perform_all_tests.
214
215 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
216
217 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
218 Test with nested loops.
219
220 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
221
222 * gdb.base/commands.exp: Call the new procedures.
223 (loop_break_test, loop_continue_test): New procedures.
224
225 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
226
227 * gdb.base/commands.exp: Call new procedure.
228 (define_if_without_arg_test): New procedure.
229
230 2017-09-04 Pedro Alves <palves@redhat.com>
231
232 * gdb.base/list-ambiguous.exp: New file.
233 * gdb.base/list-ambiguous0.c: New file.
234 * gdb.base/list-ambiguous1.c: New file.
235 * gdb.base/list.exp (test_list_range): Adjust expected output.
236
237 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
238
239 * gdb.base/share-env-with-gdbserver.c: New file.
240 * gdb.base/share-env-with-gdbserver.exp: Likewise.
241
242 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
243
244 * gdb.base/commands.exp (gdbvar_simple_if_test,
245 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
246 progvar_simple_if_test, progvar_simple_while_test,
247 progvar_complex_if_while_test, user_defined_command_test,
248 user_defined_command_args_eval,
249 user_defined_command_args_stack_test,
250 user_defined_command_manyargs_test, bp_deleted_in_command_test,
251 temporary_breakpoint_commands,
252 gdb_test_no_prompt, redefine_hook_test,
253 redefine_backtrace_test): Remove "global gdb_prompt".
254
255 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
256
257 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
258 New proc, call it from toplevel.
259
260 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
261
262 PR remote/21852
263 * gdb.server/normal.c: New file, copied from gdb.base.
264 * gdb.server/run-without-local-binary.exp: New file.
265
266 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
267
268 * gdb.arch/sparc64-adi.exp: New file.
269 * gdb.arch/sparc64-adi.c: New file.
270
271 2017-08-22 Pedro Alves <palves@redhat.com>
272
273 * gdb.cp/overload.exp (line_range_pattern): New procedure.
274 (top level): Add "list all overloads" tests.
275
276 2017-08-22 Tom Tromey <tom@tromey.com>
277
278 * gdb.gdb/xfullpath.exp: Remove.
279
280 2017-08-21 Pedro Alves <palves@redhat.com>
281
282 PR gdb/19487
283 * gdb.base/symbol-alias.c: New.
284 * gdb.base/symbol-alias2.c: New.
285 * gdb.base/symbol-alias.exp: New.
286
287 2017-08-21 Pedro Alves <palves@redhat.com>
288
289 * gdb.base/dfp-test.c
290 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
291 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
292 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
293 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
294 * gdb.base/whatis-ptype-typedefs.c: New.
295 * gdb.base/whatis-ptype-typedefs.exp: New.
296 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
297 (an_int, an_int_type, an_int_type2): New globals.
298 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
299 involving typedefs and cast expressions.
300 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
301 (lookup_typedefs_function): New.
302 (typedefs_pretty_printers_dict): New.
303 (top level): Register lookup_typedefs_function in
304 gdb.pretty_printers.
305
306 2017-08-18 Yao Qi <yao.qi@linaro.org>
307
308 * gdb.server/unittest.exp: New.
309
310 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
311
312 PR gdb/21954
313 * gdb.base/environ.exp: Add test to check if 'unset environment'
314 works.
315
316 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
317
318 * lib/gdb.exp (universal_compile_options): New caching proc.
319 (gdb_compile): Suppress GCC's coloring of messages.
320
321 2017-08-14 Tom Tromey <tom@tromey.com>
322
323 PR gdb/21675:
324 * gdb.base/printcmds.exp (test_radices): New function.
325 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
326 * gdb.base/sizeof.exp (check_valueof): Use p/d.
327 * lib/gdb.exp (get_integer_valueof): Use p/d.
328
329 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
330
331 * lib/gdb.exp (get_valueof): Don't capture end-of-line
332 characters.
333
334 2017-08-05 Tom Tromey <tom@tromey.com>
335
336 * gdb.rust/simple.exp: Allow String to appear in a different
337 namespace.
338
339 2017-07-26 Yao Qi <yao.qi@linaro.org>
340
341 * gdb.gdb/unittest.exp: Invoke command
342 "maintenance check xml-descriptions".
343
344 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
345
346 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
347 calling context.
348 (hex128): Drop erroneous calculation of parameters.
349
350 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
351
352 * gdb.python/py-unwind.exp: Disable stack protection when
353 building test file.
354
355 2017-07-20 Pedro Alves <palves@redhat.com>
356
357 * gdb.base/default.exp (set language): Adjust expected output.
358
359 2017-07-20 Pedro Alves <palves@redhat.com>
360
361 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
362 (test_minsym): ... this, and make static.
363 (get_pck__foo__bar__minsym): Rename to ...
364 (get_test_minsym): ... this.
365 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
366 symbol names and comments.
367 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
368 (get_test_minsym): ... this.
369 (pck__foo__bar__minsym__2): Rename to ...
370 (test_minsym): ... this.
371 (main): Adjust.
372
373 2017-07-17 Pedro Alves <palves@redhat.com>
374
375 * gdb.base/completion.exp: Adjust expected output.
376 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
377 the completer works.
378
379 2017-07-17 Pedro Alves <palves@redhat.com>
380
381 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
382
383 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
384
385 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
386
387 2017-07-14 Tom Tromey <tom@tromey.com>
388
389 PR rust/21764:
390 * gdb.rust/simple.exp: Add tests.
391
392 2017-07-14 Tom Tromey <tom@tromey.com>
393
394 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
395
396 2017-07-14 Pedro Alves <palves@redhat.com>
397
398 * gdb.linespec/base/one/thefile.cc (z1): New function.
399 * gdb.linespec/base/two/thefile.cc (z2): New function.
400 * gdb.linespec/linespec.exp: Add tests.
401
402 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
403
404 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
405 to mi_create_breakpoint.
406
407 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
408
409 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
410 mi_create_breakpoint.
411
412 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
413
414 * gdb.dlang/demangle.exp: Update for demangling changes.
415
416 2017-07-09 Tom Tromey <tom@tromey.com>
417
418 * gdb.dwarf2/shortpiece.exp: New file.
419
420 2017-07-06 David Blaikie <dblaikie@gmail.com>
421
422 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
423 built from fissiont-multi-cu{1,2}.c.
424 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
425 except putting 'main' and 'func' in separate CUs in the same DWO file.
426 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
427 test.
428 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
429 test.
430
431 2017-07-06 Pedro Alves <palves@redhat.com>
432
433 * gdb.python/py-unwind.exp: Test flushregs.
434
435 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
436
437 PR cli/21688
438 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
439 tests for alias commands and trailing whitespace.
440
441 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
442
443 PR cli/21688
444 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
445 procedure. Call it.
446
447 2017-06-29 Pedro Alves <palves@redhat.com>
448
449 * gdb.base/printcmds.exp: Add tests.
450
451 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
452
453 PR gdb/21337
454 * gdb.base/reread-readsym.exp: New file.
455 * gdb.base/reread-readsym.c: New file.
456
457 2017-06-21 Kevin Buettner <kevinb@redhat.com>
458
459 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
460 subpattern.
461
462 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
463
464 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
465 extended mnemonic.
466 * gdb.arch/powerpc-power9.s: Likewise.
467
468 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
469
470 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
471 on 32-bit x86 targets. Exploit is_*_target macros where
472 appropriate.
473
474 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
475
476 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
477 register pieces.
478
479 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
480
481 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
482 located in one or more DWARF pieces.
483
484 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
485
486 * lib/gdb.exp (get_endianness): New proc.
487 * gdb.arch/aarch64-fp.exp: Use it.
488 * gdb.arch/altivec-regs.exp: Likewise.
489 * gdb.arch/e500-regs.exp: Likewise.
490 * gdb.arch/vsx-regs.exp: Likewise.
491 * gdb.base/dump.exp: Likewise.
492 * gdb.base/funcargs.exp: Likewise.
493 * gdb.base/gnu_vector.exp: Likewise.
494 * gdb.dwarf2/formdata16.exp: Likewise.
495 * gdb.dwarf2/implptrpiece.exp: Likewise.
496 * gdb.dwarf2/nonvar-access.exp: Likewise.
497 * gdb.python/py-inferior.exp: Likewise.
498 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
499
500 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
501
502 PR gdb/21226
503 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
504 stack value pieces are taken from the LSB end.
505
506 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
507
508 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
509 variable at nonzero offset.
510
511 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
512
513 * gdb.dwarf2/var-access.c: New file.
514 * gdb.dwarf2/var-access.exp: New test.
515 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
516
517 2017-06-12 Tom Tromey <tom@tromey.com>
518
519 * gdb.dwarf2/formdata16.exp: Add tests.
520
521 2017-06-12 Tom Tromey <tom@tromey.com>
522
523 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
524
525 2017-06-12 Tom Tromey <tom@tromey.com>
526
527 PR exp/16225:
528 * gdb.reverse/i386-sse-reverse.exp: Update tests.
529 * gdb.arch/vsx-regs.exp: Update tests.
530 * gdb.arch/s390-vregs.exp (hex128): New proc.
531 Update test.
532 * gdb.arch/altivec-regs.exp: Update tests.
533
534 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
535
536 * gdb.base/startup-with-shell.c: New file.
537 * gdb.base/startup-with-shell.exp: Likewise.
538
539 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
540
541 * gdb.server/non-existing-program.exp: Update regex in order to
542 reflect the fact that gdbserver is now using fork_inferior (with a
543 shell) to startup the inferior.
544
545 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
546
547 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
548 support function calls from GDB.
549
550 2017-05-21 Tom Tromey <tom@tromey.com>
551
552 PR rust/21466:
553 * gdb.rust/unsized.exp: New file.
554 * gdb.rust/unsized.rs: New file.
555
556 2017-05-19 Tom Tromey <tom@tromey.com>
557
558 PR rust/21484:
559 * gdb.rust/watch.exp: New file.
560 * gdb.rust/watch.rs: New file.
561
562 2017-05-18 Tom Tromey <tom@tromey.com>
563
564 * gdb.rust/simple.exp: Allow Box to be qualified.
565
566 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
567
568 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
569
570 2017-05-18 Pedro Alves <palves@redhat.com>
571
572 * gdb.base/fileio.c (test_write, test_read, test_close)
573 (test_fstat): Don't print 'ret' in the fail path.
574
575 2017-05-18 Pedro Alves <palves@redhat.com>
576
577 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
578 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
579 (test_system, test_rename, test_unlink, test_time): Change
580 prototypes.
581 * gdb.base/fileio.exp (stop_msg): Adjust.
582
583 2017-05-18 Pedro Alves <palves@redhat.com>
584
585 * gdb.base/fileio.c (null_str): New global.
586 (test_stat): Use it.
587 * gdb.base/fileio.exp: Remove nowarnings.
588
589 2017-05-17 Yao Qi <yao.qi@linaro.org>
590
591 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
592
593 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
594
595 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
596 argument command.
597 (top-level): Invoke test_set_inferior_tty.
598
599 2017-05-04 Pedro Alves <palves@redhat.com>
600
601 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
602 Add parens to print call for Python 3.
603
604 2017-05-03 Keith Seitz <keiths@redhat.com>
605
606 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
607 (main): Call it.
608
609 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
610
611 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
612 to prev and next.
613
614 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
615
616 * gdb.python/py-record-btrace.exp: Remove test for
617 gdb.BtraceInstruction.error.
618
619 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
620
621 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
622
623 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
624
625 * gdb.python/py-record-btrace-threads.c: New file.
626 * gdb.python/py-record-btrace-threads.exp: New file.
627
628 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
629
630 PR testsuite/8595
631 * gdb.base/environ.exp: Make test available in all architectures.
632 Move bits related to "info program" testing to
633 gdb.base/info-program.exp. Rewrite tests to use the two new
634 procedures mentione below.
635 (test_set_show_env_var) New procedure.
636 (test_set_show_env_var_equal): Likewise.
637 * gdb.base/info-program.exp: New file.
638
639 2017-04-27 Keith Seitz <keiths@redhat.com>
640
641 * gdb.cp/oranking.cc (test15): New function.
642 (main): Call test15 and declare additional variables for testing.
643 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
644 "p foo101('abc')" tests.
645 Add tests for cv qualifier overloads.
646 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
647 "lvalue reference overload" test.
648 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
649 "print value of f1 on Child&& in f2" test.
650
651 2017-04-19 Pedro Alves <palves@redhat.com>
652
653 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
654 procedure.
655 (top level): Call it.
656 * lib/gdb.exp (gdb_define_cmd): New procedure.
657
658 2017-04-12 Pedro Alves <palves@redhat.com>
659
660 PR gdb/21323
661 * gdb.cp/wide_char_types.c: Include <wchar.h>.
662 (wchar): New global.
663 * gdb.cp/wide_char_types.exp (wide_char_types_program)
664 (do_test_wide_char, wide_char_types_no_program, top level): Add
665 wchar_t testing.
666
667 2017-04-12 Pedro Alves <palves@redhat.com>
668
669 PR c++/21323
670 * gdb.cp/wide_char_types.c: New file.
671 * gdb.cp/wide_char_types.exp: New file.
672
673 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
674
675 PR gdb/21352
676 * gdb.trace/tsv.exp: Add test for "tsave -r".
677
678 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
679
680 * gdb.dlang/watch-loc.c: New file.
681 * gdb.dlang/watch-loc.exp: New file.
682
683 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
684
685 * gdb.python/py-section-script.exp (sepdebug): New testcases.
686
687 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
688
689 * gdb.arch/arc-analyze-prologue.S: New file.
690 * gdb.arch/arc-analyze-prologue.exp: Likewise.
691
692 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
693
694 * gdb.arch/arc-decode-insn.S: New file.
695 * gdb.arch/arc-decode-insn.exp: Likewise.
696
697 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
698
699 PR tdep/20928
700 * gdb.arch/sparc64-regs.exp: New file.
701 * gdb.arch/sparc64-regs.S: Likewise.
702
703 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
704
705 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
706 and memory view on Python 3.
707
708 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
709 Keith Seitz <keiths@redhat.com>
710
711 PR gdb/14441
712 * gdb.cp/demangle.exp: Add rvalue reference tests.
713 * gdb.cp/rvalue-ref-casts.cc: New file.
714 * gdb.cp/rvalue-ref-casts.exp: New file.
715 * gdb.cp/rvalue-ref-overload.cc: New file.
716 * gdb.cp/rvalue-ref-overload.exp: New file.
717 * gdb.cp/rvalue-ref-params.cc: New file.
718 * gdb.cp/rvalue-ref-params.exp: New file.
719 * gdb.cp/rvalue-ref-sizeof.cc: New file.
720 * gdb.cp/rvalue-ref-sizeof.exp: New file.
721 * gdb.cp/rvalue-ref-types.cc: New file.
722 * gdb.cp/rvalue-ref-types.exp: New file.
723 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
724 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
725
726 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
727
728 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
729 New procedure.
730
731 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
732
733 * lib/mi-support.exp (mi_gdb_test): Add additional message
734 for unexpected output.
735
736 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
737
738 * gdb.base/examine-backward.c (Barrier): New character array
739 constant, to ensure that TestStrings is preceded by a string
740 terminator.
741
742 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
743
744 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
745 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
746 and implicit pointer into such a location.
747
748 2017-03-16 Doug Evans <dje@google.com>
749
750 * gdb.python/py-lazy-string (pointer): Really add new typedef.
751
752 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
753
754 * gdb.cp/m-static.exp: Fix expectation for prototype of
755 test5.single_constructor and single_constructor::single_constructor.
756
757 2017-03-16 Doug Evans <dje@google.com>
758
759 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
760 * gdb.guile/scm-lazy-string.c: New file.
761 * gdb.guile/scm-value.exp: Move lazy string tests to ...
762 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
763 for pointer, array, typedef lazy strings.
764
765 2017-03-16 Doug Evans <dje@google.com>
766
767 PR python/17728, python/18439, python/18779
768 * gdb.python/py-value.c (main) Delete locals sptr, sn.
769 * gdb.python/py-lazy-string.c (pointer): New typedef.
770 (main): New locals ptr, array, typedef_ptr.
771 * gdb.python/py-value.exp: Move lazy string tests to ...
772 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
773 array, typedef lazy strings.
774
775 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
776
777 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
778 Add optional 'test' parameter.
779
780 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
781
782 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
783 Skip for versions of DejaGnu < 1.5.
784
785 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
786
787 * lib/gdb.exp (dejagnu_version): New proc.
788 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
789 Use dejagnu_version.
790
791 2017-03-10 Keith Seitz <keiths@redhat.com>
792
793 PR c++/8128
794 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
795 type from destructor regexps.
796 Add a branch which actually passes the test.
797 Adjust "ptype t5i" test names.
798
799 2017-03-08 Pedro Alves <palves@redhat.com>
800
801 * gdb.base/step-over-exit.exp: Add explicit test message.
802
803 2017-03-08 Pedro Alves <palves@redhat.com>
804
805 PR gdb/18360
806 * gdb.threads/interrupt-while-step-over.c: New file.
807 * gdb.threads/interrupt-while-step-over.exp: New file.
808
809 2017-03-08 Pedro Alves <palves@redhat.com>
810
811 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
812 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
813
814 2017-03-08 Pedro Alves <palves@redhat.com>
815
816 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
817 PKRU as not supported as a PASS.
818
819 2017-03-08 Pedro Alves <palves@redhat.com>
820
821 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
822 prefix instead of $binfile1/$binfile2.
823 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
824 in test message.
825 * gdb.python/py-completion.exp: Use "load python file" as test
826 messages instead of unstable path names.
827
828 2017-03-08 Pedro Alves <palves@redhat.com>
829 Jan Kratochvil <jan.kratochvil@redhat.com>
830
831 PR cli/21218
832 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
833 New proc.
834 (top level): Call it.
835
836 2017-03-08 Pedro Alves <palves@redhat.com>
837
838 PR tui/21216
839 * gdb.tui/tui-nl-filtered-output.exp: New file.
840
841 2017-03-08 Pedro Alves <palves@redhat.com>
842
843 * gdb.base/completion.exp: Move TUI completion tests to ...
844 * gdb.tui/completion.exp: ... this new file.
845
846 2017-03-08 Pedro Alves <palves@redhat.com>
847
848 * gdb.base/tui-disasm-long-lines.c,
849 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
850 gdb.base/tui-layout.exp: Move to ...
851 * gdb.tui/: ... this new directory.
852
853 2017-03-07 Pedro Alves <palves@redhat.com>
854
855 * gdb.base/tui-layout.c: New file.
856 * gdb.base/tui-layout.exp: New file.
857
858 2017-03-07 Pedro Alves <palves@redhat.com>
859
860 * gdb.base/tui-layout.c: Rename to ...
861 * gdb.base/tui-disasm-long-lines.c: ... this.
862 * gdb.base/tui-layout.exp: Rename to ...
863 * gdb.base/tui-disasm-long-lines.exp: ... this.
864
865 2017-03-07 Pedro Alves <palves@redhat.com>
866
867 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
868
869 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
870
871 * i386-mpx-call.c: New file.
872 * i386-mpx-call.exp: New file.
873
874 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
875
876 * gdb.arch/powerpc-power.exp: Delete test.
877 * gdb.arch/powerpc-power.s: Likewise.
878 * gdb.disasm/disassembler-options.exp: New test.
879 * gdb.arch/powerpc-altivec.exp: Likewise.
880 * gdb.arch/powerpc-altivec.s: Likewise.
881 * gdb.arch/powerpc-altivec2.exp: Likewise.
882 * gdb.arch/powerpc-altivec2.s: Likewise.
883 * gdb.arch/powerpc-altivec3.exp: Likewise.
884 * gdb.arch/powerpc-altivec3.s: Likewise.
885 * gdb.arch/powerpc-power7.exp: Likewise.
886 * gdb.arch/powerpc-power7.s: Likewise.
887 * gdb.arch/powerpc-power8.exp: Likewise.
888 * gdb.arch/powerpc-power8.s: Likewise.
889 * gdb.arch/powerpc-power9.exp: Likewise.
890 * gdb.arch/powerpc-power9.s: Likewise.
891 * gdb.arch/powerpc-vsx.exp: Likewise.
892 * gdb.arch/powerpc-vsx.s: Likewise.
893 * gdb.arch/powerpc-vsx2.exp: Likewise.
894 * gdb.arch/powerpc-vsx2.s: Likewise.
895 * gdb.arch/powerpc-vsx3.exp: Likewise.
896 * gdb.arch/powerpc-vsx3.s: Likewise.
897 * gdb.arch/arm-disassembler-options.exp: Likewise.
898 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
899 * gdb.arch/s390-disassembler-options.exp: Likewise.
900
901 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
902
903 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
904 (check_supported_features): ... this. Changed return type to void.
905 (supports_rdseed): New static global.
906 (rdseed): Check supports_rdseed.
907 (initialize): Call check_supported_features.
908
909 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
910
911 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
912 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
913 and lqarx/stqcx.
914 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
915 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
916
917 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
918
919 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
920 uppercase.
921
922 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
923
924 * gdb.dwarf2/formdata16.c: New file.
925 * gdb.dwarf2/formdata16.exp: New file.
926 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
927
928 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
929
930 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
931 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
932 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
933 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
934 DW_AT_GNU_*.
935
936 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
937
938 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
939
940 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
941
942 PR gdb/21164
943 * gdb.base/maint.exp: Add testcases for when the commands do
944 not have arguments.
945
946 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
947
948 * gdb.cp/chained-calls.exp: Use p instead of P.
949
950 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
951
952 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
953 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
954
955 2017-02-14 Tom Tromey <tom@tromey.com>
956
957 PR python/13598:
958 * gdb.python/py-events.exp: Add before_prompt event tests.
959
960 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
961
962 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
963
964 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
965
966 * gdb.linespec/explicit.c (my_unique_function_name): New function.
967 (main): Call my_unique_function_name.
968 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
969 completion of patterns with a single match.
970 Add missing -re switches to gdb_test_multiple calls.
971
972 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
973
974 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
975 return if core file is not recognized.
976
977 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
978
979 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
980 and extra UIs.
981
982 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
983
984 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
985 proc_with_prefix.
986
987 2017-02-10 Tom Tromey <tom@tromey.com>
988
989 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
990
991 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
992
993 PR gdb/21122
994 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
995
996 2017-02-08 Jerome Guitton <guitton@adacore.com>
997
998 * gdb.base/define.exp: Add test for command abbreviations
999 in define.
1000
1001 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
1002
1003 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
1004 * gdb.reverse/insn-reverse-x86.c: New file.
1005
1006 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
1007
1008 PR tdep/20936
1009 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
1010
1011 2017-02-03 Tom Tromey <tom@tromey.com>
1012
1013 PR rust/21097:
1014 * gdb.rust/simple.exp: Add new tests.
1015
1016 2017-02-02 Pedro Alves <palves@redhat.com>
1017
1018 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
1019 tests.
1020
1021 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1022
1023 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
1024 taking a 2-byte value out of a 4-byte DWARF implicit value on
1025 big-endian targets.
1026 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
1027 logic. Add test cases for DW_OP_implicit.
1028
1029 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
1030
1031 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
1032
1033 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
1034
1035 * gdb.btrace/enable.exp: Call gdb_exit before
1036 skip_gdbserver_tests.
1037
1038 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
1039
1040 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
1041 GDBFLAGS.
1042
1043 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
1044
1045 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
1046 the test is skipped.
1047 * gdb.btrace/data.exp: Likewise.
1048 * gdb.btrace/delta.exp: Likewise.
1049 * gdb.btrace/dlopen.exp: Likewise.
1050 * gdb.btrace/enable-running.exp: Likewise.
1051 * gdb.btrace/enable.exp: Likewise.
1052 * gdb.btrace/exception.exp: Likewise.
1053 * gdb.btrace/function_call_history.exp: Likewise.
1054 * gdb.btrace/gcore.exp: Likewise.
1055 * gdb.btrace/instruction_history.exp: Likewise.
1056 * gdb.btrace/multi-thread-step.exp: Likewise.
1057 * gdb.btrace/nohist.exp: Likewise.
1058 * gdb.btrace/non-stop.exp: Likewise.
1059 * gdb.btrace/reconnect.exp: Likewise.
1060 * gdb.btrace/record_goto-step.exp: Likewise.
1061 * gdb.btrace/record_goto.exp: Likewise.
1062 * gdb.btrace/rn-dl-bind.exp: Likewise.
1063 * gdb.btrace/segv.exp: Likewise.
1064 * gdb.btrace/step.exp: Likewise.
1065 * gdb.btrace/stepi.exp: Likewise.
1066 * gdb.btrace/tailcall-only.exp: Likewise.
1067 * gdb.btrace/tailcall.exp: Likewise.
1068 * gdb.btrace/tsx.exp: Likewise.
1069 * gdb.btrace/unknown_functions.exp: Likewise.
1070 * gdb.btrace/vdso.exp: Likewise.
1071
1072 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
1073
1074 * gdb.btrace/enable-running.c: New.
1075 * gdb.btrace/enable-running.exp: New.
1076
1077 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
1078
1079 * gdb.arch/amd64-gs_base.c: New file.
1080 * gdb.arch/amd64-gs_base.exp: New file.
1081
1082 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
1083
1084 * lib/memory.exp: Remove spurious empty newlines.
1085
1086 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
1087
1088 * gdb.python/py-bad-printers.exp: Load python file using "source".
1089 * gdb.python/py-events.exp: Likewise.
1090 * gdb.python/py-evsignal.exp: Likewise.
1091 * gdb.python/py-evthreads.exp: Likewise.
1092 * gdb.python/py-frame-args.exp: Likewise.
1093 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
1094 * gdb.python/py-framefilter-mi.exp: Likewise.
1095 * gdb.python/py-framefilter.exp: Likewise.
1096 * gdb.python/py-mi.exp: Likewise.
1097 * gdb.python/py-pp-maint.exp: Likewise.
1098 * gdb.python/py-pp-registration.exp: Likewise.
1099 * gdb.python/py-prettyprint.exp: Likewise.
1100 (run_lang_tests): Likewise.
1101 * gdb.python/py-typeprint.exp: Likewise.
1102
1103 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
1104
1105 * lib/memory.exp: New file.
1106 * lib/gdb.exp: Load memory.exp.
1107 * gdb.base/memattr.exp (delete_memory): Move proc to
1108 lib/memory.exp and rename to delete_memory_regions.
1109 Replace delete_memory with delete_memory_regions.
1110 Cleanup memory regions before tests.
1111 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
1112 before tests.
1113
1114 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
1115
1116 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
1117 files.
1118 (initialize): New function conditionally defined.
1119 (testcases): Move within conditional block.
1120 (main): Call initialize.
1121 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
1122 of gdb.reverse/insn-reverse.c.
1123 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
1124 gdb.reverse/insn-reverse.c.
1125
1126 2017-01-26 Yao Qi <yao.qi@linaro.org>
1127
1128 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
1129 disassemble on address 0.
1130
1131 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
1132 Yao Qi <yao.qi@linaro.org>
1133
1134 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
1135 * gdb.dwarf2/implptr-64bit.S: Remove.
1136 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
1137 variables in caller's context. Add DW_OP_implicit_value.
1138
1139 2017-01-25 Yao Qi <yao.qi@linaro.org>
1140
1141 * lib/dwarf.exp (Dwarf::_location): Handle
1142 DW_OP_GNU_implicit_pointer with proper size.
1143
1144 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
1145
1146 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
1147 and add untested calls.
1148
1149 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
1150
1151 * gdb.python/python.exp: Check line number against what GDB thinks
1152 the line number is for func1.
1153
1154 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
1155
1156 * gdb.dlang/debug-expr.exp: New file.
1157
1158 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
1159
1160 Fix test names for the following files:
1161
1162 * gdb.ada/exec_changed.exp
1163 * gdb.ada/info_types.exp
1164 * gdb.arch/aarch64-atomic-inst.exp
1165 * gdb.arch/aarch64-fp.exp
1166 * gdb.arch/altivec-abi.exp
1167 * gdb.arch/altivec-regs.exp
1168 * gdb.arch/amd64-byte.exp
1169 * gdb.arch/amd64-disp-step.exp
1170 * gdb.arch/amd64-dword.exp
1171 * gdb.arch/amd64-entry-value-inline.exp
1172 * gdb.arch/amd64-entry-value-param.exp
1173 * gdb.arch/amd64-entry-value-paramref.exp
1174 * gdb.arch/amd64-entry-value.exp
1175 * gdb.arch/amd64-i386-address.exp
1176 * gdb.arch/amd64-invalid-stack-middle.exp
1177 * gdb.arch/amd64-invalid-stack-top.exp
1178 * gdb.arch/amd64-optimout-repeat.exp
1179 * gdb.arch/amd64-prologue-skip.exp
1180 * gdb.arch/amd64-prologue-xmm.exp
1181 * gdb.arch/amd64-stap-special-operands.exp
1182 * gdb.arch/amd64-stap-wrong-subexp.exp
1183 * gdb.arch/amd64-tailcall-cxx.exp
1184 * gdb.arch/amd64-tailcall-noret.exp
1185 * gdb.arch/amd64-tailcall-ret.exp
1186 * gdb.arch/amd64-tailcall-self.exp
1187 * gdb.arch/amd64-word.exp
1188 * gdb.arch/arm-bl-branch-dest.exp
1189 * gdb.arch/arm-disp-step.exp
1190 * gdb.arch/arm-neon.exp
1191 * gdb.arch/arm-single-step-kernel-helper.exp
1192 * gdb.arch/avr-flash-qualifier.exp
1193 * gdb.arch/disp-step-insn-reloc.exp
1194 * gdb.arch/e500-abi.exp
1195 * gdb.arch/e500-regs.exp
1196 * gdb.arch/ftrace-insn-reloc.exp
1197 * gdb.arch/i386-avx512.exp
1198 * gdb.arch/i386-bp_permanent.exp
1199 * gdb.arch/i386-byte.exp
1200 * gdb.arch/i386-cfi-notcurrent.exp
1201 * gdb.arch/i386-disp-step.exp
1202 * gdb.arch/i386-dr3-watch.exp
1203 * gdb.arch/i386-float.exp
1204 * gdb.arch/i386-gnu-cfi.exp
1205 * gdb.arch/i386-mpx-map.exp
1206 * gdb.arch/i386-mpx-sigsegv.exp
1207 * gdb.arch/i386-mpx-simple_segv.exp
1208 * gdb.arch/i386-mpx.exp
1209 * gdb.arch/i386-permbkpt.exp
1210 * gdb.arch/i386-prologue.exp
1211 * gdb.arch/i386-signal.exp
1212 * gdb.arch/i386-size-overlap.exp
1213 * gdb.arch/i386-unwind.exp
1214 * gdb.arch/i386-word.exp
1215 * gdb.arch/mips-fcr.exp
1216 * gdb.arch/powerpc-d128-regs.exp
1217 * gdb.arch/powerpc-stackless.exp
1218 * gdb.arch/ppc64-atomic-inst.exp
1219 * gdb.arch/s390-stackless.exp
1220 * gdb.arch/s390-tdbregs.exp
1221 * gdb.arch/s390-vregs.exp
1222 * gdb.arch/sparc-sysstep.exp
1223 * gdb.arch/thumb-bx-pc.exp
1224 * gdb.arch/thumb-singlestep.exp
1225 * gdb.arch/thumb2-it.exp
1226 * gdb.arch/vsx-regs.exp
1227 * gdb.asm/asm-source.exp
1228 * gdb.base/a2-run.exp
1229 * gdb.base/advance.exp
1230 * gdb.base/all-bin.exp
1231 * gdb.base/anon.exp
1232 * gdb.base/args.exp
1233 * gdb.base/arithmet.exp
1234 * gdb.base/async-shell.exp
1235 * gdb.base/async.exp
1236 * gdb.base/attach-pie-noexec.exp
1237 * gdb.base/attach-twice.exp
1238 * gdb.base/auto-load.exp
1239 * gdb.base/bang.exp
1240 * gdb.base/bitfields.exp
1241 * gdb.base/break-always.exp
1242 * gdb.base/break-caller-line.exp
1243 * gdb.base/break-entry.exp
1244 * gdb.base/break-inline.exp
1245 * gdb.base/break-on-linker-gcd-function.exp
1246 * gdb.base/break-probes.exp
1247 * gdb.base/break.exp
1248 * gdb.base/breakpoint-shadow.exp
1249 * gdb.base/call-ar-st.exp
1250 * gdb.base/call-sc.exp
1251 * gdb.base/call-signal-resume.exp
1252 * gdb.base/call-strs.exp
1253 * gdb.base/callfuncs.exp
1254 * gdb.base/catch-fork-static.exp
1255 * gdb.base/catch-gdb-caused-signals.exp
1256 * gdb.base/catch-load.exp
1257 * gdb.base/catch-signal-fork.exp
1258 * gdb.base/catch-signal.exp
1259 * gdb.base/catch-syscall.exp
1260 * gdb.base/charset.exp
1261 * gdb.base/checkpoint.exp
1262 * gdb.base/chng-syms.exp
1263 * gdb.base/code-expr.exp
1264 * gdb.base/code_elim.exp
1265 * gdb.base/commands.exp
1266 * gdb.base/completion.exp
1267 * gdb.base/complex.exp
1268 * gdb.base/cond-expr.exp
1269 * gdb.base/condbreak.exp
1270 * gdb.base/consecutive.exp
1271 * gdb.base/continue-all-already-running.exp
1272 * gdb.base/coredump-filter.exp
1273 * gdb.base/corefile.exp
1274 * gdb.base/dbx.exp
1275 * gdb.base/debug-expr.exp
1276 * gdb.base/define.exp
1277 * gdb.base/del.exp
1278 * gdb.base/disabled-location.exp
1279 * gdb.base/disasm-end-cu.exp
1280 * gdb.base/disasm-optim.exp
1281 * gdb.base/display.exp
1282 * gdb.base/duplicate-bp.exp
1283 * gdb.base/ena-dis-br.exp
1284 * gdb.base/ending-run.exp
1285 * gdb.base/enumval.exp
1286 * gdb.base/environ.exp
1287 * gdb.base/eu-strip-infcall.exp
1288 * gdb.base/eval-avoid-side-effects.exp
1289 * gdb.base/eval-skip.exp
1290 * gdb.base/exitsignal.exp
1291 * gdb.base/expand-psymtabs.exp
1292 * gdb.base/filesym.exp
1293 * gdb.base/find-unmapped.exp
1294 * gdb.base/finish.exp
1295 * gdb.base/float.exp
1296 * gdb.base/foll-exec-mode.exp
1297 * gdb.base/foll-exec.exp
1298 * gdb.base/foll-fork.exp
1299 * gdb.base/fortran-sym-case.exp
1300 * gdb.base/freebpcmd.exp
1301 * gdb.base/func-ptr.exp
1302 * gdb.base/func-ptrs.exp
1303 * gdb.base/funcargs.exp
1304 * gdb.base/gcore-buffer-overflow.exp
1305 * gdb.base/gcore-relro-pie.exp
1306 * gdb.base/gcore-relro.exp
1307 * gdb.base/gcore.exp
1308 * gdb.base/gdb1090.exp
1309 * gdb.base/gdb11530.exp
1310 * gdb.base/gdb11531.exp
1311 * gdb.base/gdb1821.exp
1312 * gdb.base/gdbindex-stabs.exp
1313 * gdb.base/gdbvars.exp
1314 * gdb.base/hbreak.exp
1315 * gdb.base/hbreak2.exp
1316 * gdb.base/included.exp
1317 * gdb.base/infcall-input.exp
1318 * gdb.base/inferior-died.exp
1319 * gdb.base/infnan.exp
1320 * gdb.base/info-macros.exp
1321 * gdb.base/info-os.exp
1322 * gdb.base/info-proc.exp
1323 * gdb.base/info-shared.exp
1324 * gdb.base/info-target.exp
1325 * gdb.base/infoline.exp
1326 * gdb.base/interp.exp
1327 * gdb.base/interrupt.exp
1328 * gdb.base/jit-reader.exp
1329 * gdb.base/jit-simple.exp
1330 * gdb.base/kill-after-signal.exp
1331 * gdb.base/kill-detach-inferiors-cmd.exp
1332 * gdb.base/label.exp
1333 * gdb.base/langs.exp
1334 * gdb.base/ldbl_e308.exp
1335 * gdb.base/line-symtabs.exp
1336 * gdb.base/linespecs.exp
1337 * gdb.base/list.exp
1338 * gdb.base/long_long.exp
1339 * gdb.base/longest-types.exp
1340 * gdb.base/maint.exp
1341 * gdb.base/max-value-size.exp
1342 * gdb.base/memattr.exp
1343 * gdb.base/mips_pro.exp
1344 * gdb.base/morestack.exp
1345 * gdb.base/moribund-step.exp
1346 * gdb.base/multi-forks.exp
1347 * gdb.base/nested-addr.exp
1348 * gdb.base/nextoverexit.exp
1349 * gdb.base/noreturn-finish.exp
1350 * gdb.base/noreturn-return.exp
1351 * gdb.base/nostdlib.exp
1352 * gdb.base/offsets.exp
1353 * gdb.base/opaque.exp
1354 * gdb.base/pc-fp.exp
1355 * gdb.base/permissions.exp
1356 * gdb.base/print-symbol-loading.exp
1357 * gdb.base/prologue-include.exp
1358 * gdb.base/psymtab.exp
1359 * gdb.base/ptype.exp
1360 * gdb.base/random-signal.exp
1361 * gdb.base/randomize.exp
1362 * gdb.base/range-stepping.exp
1363 * gdb.base/readline-ask.exp
1364 * gdb.base/recpar.exp
1365 * gdb.base/recurse.exp
1366 * gdb.base/relational.exp
1367 * gdb.base/restore.exp
1368 * gdb.base/return-nodebug.exp
1369 * gdb.base/return.exp
1370 * gdb.base/run-after-attach.exp
1371 * gdb.base/save-bp.exp
1372 * gdb.base/scope.exp
1373 * gdb.base/sect-cmd.exp
1374 * gdb.base/set-lang-auto.exp
1375 * gdb.base/set-noassign.exp
1376 * gdb.base/setvar.exp
1377 * gdb.base/sigall.exp
1378 * gdb.base/sigbpt.exp
1379 * gdb.base/siginfo-addr.exp
1380 * gdb.base/siginfo-infcall.exp
1381 * gdb.base/siginfo-obj.exp
1382 * gdb.base/siginfo.exp
1383 * gdb.base/signals-state-child.exp
1384 * gdb.base/signest.exp
1385 * gdb.base/sigstep.exp
1386 * gdb.base/sizeof.exp
1387 * gdb.base/skip.exp
1388 * gdb.base/solib-corrupted.exp
1389 * gdb.base/solib-nodir.exp
1390 * gdb.base/solib-search.exp
1391 * gdb.base/stack-checking.exp
1392 * gdb.base/stale-infcall.exp
1393 * gdb.base/stap-probe.exp
1394 * gdb.base/start.exp
1395 * gdb.base/step-break.exp
1396 * gdb.base/step-bt.exp
1397 * gdb.base/step-line.exp
1398 * gdb.base/step-over-exit.exp
1399 * gdb.base/step-over-syscall.exp
1400 * gdb.base/step-resume-infcall.exp
1401 * gdb.base/step-test.exp
1402 * gdb.base/store.exp
1403 * gdb.base/structs3.exp
1404 * gdb.base/sym-file.exp
1405 * gdb.base/symbol-without-target_section.exp
1406 * gdb.base/term.exp
1407 * gdb.base/testenv.exp
1408 * gdb.base/ui-redirect.exp
1409 * gdb.base/until.exp
1410 * gdb.base/unwindonsignal.exp
1411 * gdb.base/value-double-free.exp
1412 * gdb.base/vla-datatypes.exp
1413 * gdb.base/vla-ptr.exp
1414 * gdb.base/vla-sideeffect.exp
1415 * gdb.base/volatile.exp
1416 * gdb.base/watch-cond-infcall.exp
1417 * gdb.base/watch-cond.exp
1418 * gdb.base/watch-non-mem.exp
1419 * gdb.base/watch-read.exp
1420 * gdb.base/watch-vfork.exp
1421 * gdb.base/watchpoint-cond-gone.exp
1422 * gdb.base/watchpoint-delete.exp
1423 * gdb.base/watchpoint-hw-hit-once.exp
1424 * gdb.base/watchpoint-hw.exp
1425 * gdb.base/watchpoint-stops-at-right-insn.exp
1426 * gdb.base/watchpoints.exp
1427 * gdb.base/wchar.exp
1428 * gdb.base/whatis-exp.exp
1429 * gdb.btrace/buffer-size.exp
1430 * gdb.btrace/data.exp
1431 * gdb.btrace/delta.exp
1432 * gdb.btrace/dlopen.exp
1433 * gdb.btrace/enable.exp
1434 * gdb.btrace/exception.exp
1435 * gdb.btrace/function_call_history.exp
1436 * gdb.btrace/gcore.exp
1437 * gdb.btrace/instruction_history.exp
1438 * gdb.btrace/nohist.exp
1439 * gdb.btrace/reconnect.exp
1440 * gdb.btrace/record_goto-step.exp
1441 * gdb.btrace/record_goto.exp
1442 * gdb.btrace/rn-dl-bind.exp
1443 * gdb.btrace/segv.exp
1444 * gdb.btrace/step.exp
1445 * gdb.btrace/stepi.exp
1446 * gdb.btrace/tailcall-only.exp
1447 * gdb.btrace/tailcall.exp
1448 * gdb.btrace/tsx.exp
1449 * gdb.btrace/unknown_functions.exp
1450 * gdb.btrace/vdso.exp
1451 * gdb.compile/compile-ifunc.exp
1452 * gdb.compile/compile-ops.exp
1453 * gdb.compile/compile-print.exp
1454 * gdb.compile/compile-setjmp.exp
1455 * gdb.cp/abstract-origin.exp
1456 * gdb.cp/ambiguous.exp
1457 * gdb.cp/annota2.exp
1458 * gdb.cp/annota3.exp
1459 * gdb.cp/anon-ns.exp
1460 * gdb.cp/anon-struct.exp
1461 * gdb.cp/anon-union.exp
1462 * gdb.cp/arg-reference.exp
1463 * gdb.cp/baseenum.exp
1464 * gdb.cp/bool.exp
1465 * gdb.cp/breakpoint.exp
1466 * gdb.cp/bs15503.exp
1467 * gdb.cp/call-c.exp
1468 * gdb.cp/casts.exp
1469 * gdb.cp/chained-calls.exp
1470 * gdb.cp/class2.exp
1471 * gdb.cp/classes.exp
1472 * gdb.cp/cmpd-minsyms.exp
1473 * gdb.cp/converts.exp
1474 * gdb.cp/cp-relocate.exp
1475 * gdb.cp/cpcompletion.exp
1476 * gdb.cp/cpexprs.exp
1477 * gdb.cp/cplabel.exp
1478 * gdb.cp/cplusfuncs.exp
1479 * gdb.cp/cpsizeof.exp
1480 * gdb.cp/ctti.exp
1481 * gdb.cp/derivation.exp
1482 * gdb.cp/destrprint.exp
1483 * gdb.cp/dispcxx.exp
1484 * gdb.cp/enum-class.exp
1485 * gdb.cp/exception.exp
1486 * gdb.cp/exceptprint.exp
1487 * gdb.cp/expand-psymtabs-cxx.exp
1488 * gdb.cp/expand-sals.exp
1489 * gdb.cp/extern-c.exp
1490 * gdb.cp/filename.exp
1491 * gdb.cp/formatted-ref.exp
1492 * gdb.cp/fpointer.exp
1493 * gdb.cp/gdb1355.exp
1494 * gdb.cp/gdb2495.exp
1495 * gdb.cp/hang.exp
1496 * gdb.cp/impl-this.exp
1497 * gdb.cp/infcall-dlopen.exp
1498 * gdb.cp/inherit.exp
1499 * gdb.cp/iostream.exp
1500 * gdb.cp/koenig.exp
1501 * gdb.cp/local.exp
1502 * gdb.cp/m-data.exp
1503 * gdb.cp/m-static.exp
1504 * gdb.cp/mb-ctor.exp
1505 * gdb.cp/mb-inline.exp
1506 * gdb.cp/mb-templates.exp
1507 * gdb.cp/member-name.exp
1508 * gdb.cp/member-ptr.exp
1509 * gdb.cp/meth-typedefs.exp
1510 * gdb.cp/method.exp
1511 * gdb.cp/method2.exp
1512 * gdb.cp/minsym-fallback.exp
1513 * gdb.cp/misc.exp
1514 * gdb.cp/namelessclass.exp
1515 * gdb.cp/namespace-enum.exp
1516 * gdb.cp/namespace-nested-import.exp
1517 * gdb.cp/namespace.exp
1518 * gdb.cp/nextoverthrow.exp
1519 * gdb.cp/no-dmgl-verbose.exp
1520 * gdb.cp/non-trivial-retval.exp
1521 * gdb.cp/noparam.exp
1522 * gdb.cp/nsdecl.exp
1523 * gdb.cp/nsimport.exp
1524 * gdb.cp/nsnested.exp
1525 * gdb.cp/nsnoimports.exp
1526 * gdb.cp/nsrecurs.exp
1527 * gdb.cp/nsstress.exp
1528 * gdb.cp/nsusing.exp
1529 * gdb.cp/operator.exp
1530 * gdb.cp/oranking.exp
1531 * gdb.cp/overload-const.exp
1532 * gdb.cp/overload.exp
1533 * gdb.cp/ovldbreak.exp
1534 * gdb.cp/ovsrch.exp
1535 * gdb.cp/paren-type.exp
1536 * gdb.cp/parse-lang.exp
1537 * gdb.cp/pass-by-ref.exp
1538 * gdb.cp/pr-1023.exp
1539 * gdb.cp/pr-1210.exp
1540 * gdb.cp/pr-574.exp
1541 * gdb.cp/pr10687.exp
1542 * gdb.cp/pr12028.exp
1543 * gdb.cp/pr17132.exp
1544 * gdb.cp/pr17494.exp
1545 * gdb.cp/pr9067.exp
1546 * gdb.cp/pr9167.exp
1547 * gdb.cp/pr9631.exp
1548 * gdb.cp/printmethod.exp
1549 * gdb.cp/psmang.exp
1550 * gdb.cp/psymtab-parameter.exp
1551 * gdb.cp/ptype-cv-cp.exp
1552 * gdb.cp/ptype-flags.exp
1553 * gdb.cp/re-set-overloaded.exp
1554 * gdb.cp/ref-types.exp
1555 * gdb.cp/rtti.exp
1556 * gdb.cp/scope-err.exp
1557 * gdb.cp/shadow.exp
1558 * gdb.cp/smartp.exp
1559 * gdb.cp/static-method.exp
1560 * gdb.cp/static-print-quit.exp
1561 * gdb.cp/temargs.exp
1562 * gdb.cp/templates.exp
1563 * gdb.cp/try_catch.exp
1564 * gdb.cp/typedef-operator.exp
1565 * gdb.cp/typeid.exp
1566 * gdb.cp/userdef.exp
1567 * gdb.cp/using-crash.exp
1568 * gdb.cp/var-tag.exp
1569 * gdb.cp/virtbase.exp
1570 * gdb.cp/virtfunc.exp
1571 * gdb.cp/virtfunc2.exp
1572 * gdb.cp/vla-cxx.exp
1573 * gdb.disasm/t01_mov.exp
1574 * gdb.disasm/t02_mova.exp
1575 * gdb.disasm/t03_add.exp
1576 * gdb.disasm/t04_sub.exp
1577 * gdb.disasm/t05_cmp.exp
1578 * gdb.disasm/t06_ari2.exp
1579 * gdb.disasm/t07_ari3.exp
1580 * gdb.disasm/t08_or.exp
1581 * gdb.disasm/t09_xor.exp
1582 * gdb.disasm/t10_and.exp
1583 * gdb.disasm/t11_logs.exp
1584 * gdb.disasm/t12_bit.exp
1585 * gdb.disasm/t13_otr.exp
1586 * gdb.dlang/circular.exp
1587 * gdb.dwarf2/arr-stride.exp
1588 * gdb.dwarf2/arr-subrange.exp
1589 * gdb.dwarf2/atomic-type.exp
1590 * gdb.dwarf2/bad-regnum.exp
1591 * gdb.dwarf2/bitfield-parent-optimized-out.exp
1592 * gdb.dwarf2/callframecfa.exp
1593 * gdb.dwarf2/clztest.exp
1594 * gdb.dwarf2/corrupt.exp
1595 * gdb.dwarf2/data-loc.exp
1596 * gdb.dwarf2/dup-psym.exp
1597 * gdb.dwarf2/dw2-anon-mptr.exp
1598 * gdb.dwarf2/dw2-anonymous-func.exp
1599 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
1600 * gdb.dwarf2/dw2-bad-unresolved.exp
1601 * gdb.dwarf2/dw2-basic.exp
1602 * gdb.dwarf2/dw2-canonicalize-type.exp
1603 * gdb.dwarf2/dw2-case-insensitive.exp
1604 * gdb.dwarf2/dw2-common-block.exp
1605 * gdb.dwarf2/dw2-compdir-oldgcc.exp
1606 * gdb.dwarf2/dw2-compressed.exp
1607 * gdb.dwarf2/dw2-const.exp
1608 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
1609 * gdb.dwarf2/dw2-cu-size.exp
1610 * gdb.dwarf2/dw2-dup-frame.exp
1611 * gdb.dwarf2/dw2-entry-value.exp
1612 * gdb.dwarf2/dw2-icycle.exp
1613 * gdb.dwarf2/dw2-ifort-parameter.exp
1614 * gdb.dwarf2/dw2-inline-break.exp
1615 * gdb.dwarf2/dw2-inline-param.exp
1616 * gdb.dwarf2/dw2-intercu.exp
1617 * gdb.dwarf2/dw2-intermix.exp
1618 * gdb.dwarf2/dw2-lexical-block-bare.exp
1619 * gdb.dwarf2/dw2-linkage-name-trust.exp
1620 * gdb.dwarf2/dw2-minsym-in-cu.exp
1621 * gdb.dwarf2/dw2-noloc.exp
1622 * gdb.dwarf2/dw2-op-call.exp
1623 * gdb.dwarf2/dw2-op-out-param.exp
1624 * gdb.dwarf2/dw2-opt-structptr.exp
1625 * gdb.dwarf2/dw2-param-error.exp
1626 * gdb.dwarf2/dw2-producer.exp
1627 * gdb.dwarf2/dw2-ranges-base.exp
1628 * gdb.dwarf2/dw2-ref-missing-frame.exp
1629 * gdb.dwarf2/dw2-reg-undefined.exp
1630 * gdb.dwarf2/dw2-regno-invalid.exp
1631 * gdb.dwarf2/dw2-restore.exp
1632 * gdb.dwarf2/dw2-restrict.exp
1633 * gdb.dwarf2/dw2-single-line-discriminators.exp
1634 * gdb.dwarf2/dw2-strp.exp
1635 * gdb.dwarf2/dw2-undefined-ret-addr.exp
1636 * gdb.dwarf2/dw2-unresolved.exp
1637 * gdb.dwarf2/dw2-var-zero-addr.exp
1638 * gdb.dwarf2/dw4-sig-types.exp
1639 * gdb.dwarf2/dwz.exp
1640 * gdb.dwarf2/dynarr-ptr.exp
1641 * gdb.dwarf2/enum-type.exp
1642 * gdb.dwarf2/gdb-index.exp
1643 * gdb.dwarf2/implptr-64bit.exp
1644 * gdb.dwarf2/implptr-optimized-out.exp
1645 * gdb.dwarf2/implptr.exp
1646 * gdb.dwarf2/implref-array.exp
1647 * gdb.dwarf2/implref-const.exp
1648 * gdb.dwarf2/implref-global.exp
1649 * gdb.dwarf2/implref-struct.exp
1650 * gdb.dwarf2/mac-fileno.exp
1651 * gdb.dwarf2/main-subprogram.exp
1652 * gdb.dwarf2/member-ptr-forwardref.exp
1653 * gdb.dwarf2/method-ptr.exp
1654 * gdb.dwarf2/missing-sig-type.exp
1655 * gdb.dwarf2/nonvar-access.exp
1656 * gdb.dwarf2/opaque-type-lookup.exp
1657 * gdb.dwarf2/pieces-optimized-out.exp
1658 * gdb.dwarf2/pieces.exp
1659 * gdb.dwarf2/pr10770.exp
1660 * gdb.dwarf2/pr13961.exp
1661 * gdb.dwarf2/staticvirtual.exp
1662 * gdb.dwarf2/subrange.exp
1663 * gdb.dwarf2/symtab-producer.exp
1664 * gdb.dwarf2/trace-crash.exp
1665 * gdb.dwarf2/typeddwarf.exp
1666 * gdb.dwarf2/valop.exp
1667 * gdb.dwarf2/watch-notconst.exp
1668 * gdb.fortran/array-element.exp
1669 * gdb.fortran/charset.exp
1670 * gdb.fortran/common-block.exp
1671 * gdb.fortran/complex.exp
1672 * gdb.fortran/derived-type-function.exp
1673 * gdb.fortran/derived-type.exp
1674 * gdb.fortran/logical.exp
1675 * gdb.fortran/module.exp
1676 * gdb.fortran/multi-dim.exp
1677 * gdb.fortran/nested-funcs.exp
1678 * gdb.fortran/print-formatted.exp
1679 * gdb.fortran/subarray.exp
1680 * gdb.fortran/vla-alloc-assoc.exp
1681 * gdb.fortran/vla-datatypes.exp
1682 * gdb.fortran/vla-history.exp
1683 * gdb.fortran/vla-ptr-info.exp
1684 * gdb.fortran/vla-ptype-sub.exp
1685 * gdb.fortran/vla-ptype.exp
1686 * gdb.fortran/vla-sizeof.exp
1687 * gdb.fortran/vla-type.exp
1688 * gdb.fortran/vla-value-sub-arbitrary.exp
1689 * gdb.fortran/vla-value-sub-finish.exp
1690 * gdb.fortran/vla-value-sub.exp
1691 * gdb.fortran/vla-value.exp
1692 * gdb.fortran/whatis_type.exp
1693 * gdb.go/chan.exp
1694 * gdb.go/handcall.exp
1695 * gdb.go/hello.exp
1696 * gdb.go/integers.exp
1697 * gdb.go/methods.exp
1698 * gdb.go/package.exp
1699 * gdb.go/strings.exp
1700 * gdb.go/types.exp
1701 * gdb.go/unsafe.exp
1702 * gdb.guile/scm-arch.exp
1703 * gdb.guile/scm-block.exp
1704 * gdb.guile/scm-breakpoint.exp
1705 * gdb.guile/scm-cmd.exp
1706 * gdb.guile/scm-disasm.exp
1707 * gdb.guile/scm-equal.exp
1708 * gdb.guile/scm-frame-args.exp
1709 * gdb.guile/scm-frame-inline.exp
1710 * gdb.guile/scm-frame.exp
1711 * gdb.guile/scm-iterator.exp
1712 * gdb.guile/scm-math.exp
1713 * gdb.guile/scm-objfile.exp
1714 * gdb.guile/scm-ports.exp
1715 * gdb.guile/scm-symbol.exp
1716 * gdb.guile/scm-symtab.exp
1717 * gdb.guile/scm-value-cc.exp
1718 * gdb.guile/types-module.exp
1719 * gdb.linespec/break-ask.exp
1720 * gdb.linespec/cpexplicit.exp
1721 * gdb.linespec/explicit.exp
1722 * gdb.linespec/keywords.exp
1723 * gdb.linespec/linespec.exp
1724 * gdb.linespec/ls-dollar.exp
1725 * gdb.linespec/ls-errs.exp
1726 * gdb.linespec/skip-two.exp
1727 * gdb.linespec/thread.exp
1728 * gdb.mi/mi-async.exp
1729 * gdb.mi/mi-basics.exp
1730 * gdb.mi/mi-break.exp
1731 * gdb.mi/mi-catch-load.exp
1732 * gdb.mi/mi-cli.exp
1733 * gdb.mi/mi-cmd-param-changed.exp
1734 * gdb.mi/mi-console.exp
1735 * gdb.mi/mi-detach.exp
1736 * gdb.mi/mi-disassemble.exp
1737 * gdb.mi/mi-eval.exp
1738 * gdb.mi/mi-file-transfer.exp
1739 * gdb.mi/mi-file.exp
1740 * gdb.mi/mi-fill-memory.exp
1741 * gdb.mi/mi-inheritance-syntax-error.exp
1742 * gdb.mi/mi-linespec-err-cp.exp
1743 * gdb.mi/mi-logging.exp
1744 * gdb.mi/mi-memory-changed.exp
1745 * gdb.mi/mi-read-memory.exp
1746 * gdb.mi/mi-record-changed.exp
1747 * gdb.mi/mi-reg-undefined.exp
1748 * gdb.mi/mi-regs.exp
1749 * gdb.mi/mi-return.exp
1750 * gdb.mi/mi-reverse.exp
1751 * gdb.mi/mi-simplerun.exp
1752 * gdb.mi/mi-solib.exp
1753 * gdb.mi/mi-stack.exp
1754 * gdb.mi/mi-stepi.exp
1755 * gdb.mi/mi-syn-frame.exp
1756 * gdb.mi/mi-until.exp
1757 * gdb.mi/mi-var-block.exp
1758 * gdb.mi/mi-var-child.exp
1759 * gdb.mi/mi-var-cmd.exp
1760 * gdb.mi/mi-var-cp.exp
1761 * gdb.mi/mi-var-display.exp
1762 * gdb.mi/mi-var-invalidate.exp
1763 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
1764 * gdb.mi/mi-vla-fortran.exp
1765 * gdb.mi/mi-watch.exp
1766 * gdb.mi/mi2-var-child.exp
1767 * gdb.mi/user-selected-context-sync.exp
1768 * gdb.modula2/unbounded-array.exp
1769 * gdb.multi/dummy-frame-restore.exp
1770 * gdb.multi/multi-arch-exec.exp
1771 * gdb.multi/multi-arch.exp
1772 * gdb.multi/tids.exp
1773 * gdb.multi/watchpoint-multi.exp
1774 * gdb.opencl/callfuncs.exp
1775 * gdb.opencl/convs_casts.exp
1776 * gdb.opencl/datatypes.exp
1777 * gdb.opencl/operators.exp
1778 * gdb.opencl/vec_comps.exp
1779 * gdb.opt/clobbered-registers-O2.exp
1780 * gdb.opt/inline-break.exp
1781 * gdb.opt/inline-bt.exp
1782 * gdb.opt/inline-cmds.exp
1783 * gdb.opt/inline-locals.exp
1784 * gdb.pascal/case-insensitive-symbols.exp
1785 * gdb.pascal/floats.exp
1786 * gdb.pascal/gdb11492.exp
1787 * gdb.python/lib-types.exp
1788 * gdb.python/py-arch.exp
1789 * gdb.python/py-as-string.exp
1790 * gdb.python/py-bad-printers.exp
1791 * gdb.python/py-block.exp
1792 * gdb.python/py-breakpoint-create-fail.exp
1793 * gdb.python/py-breakpoint.exp
1794 * gdb.python/py-caller-is.exp
1795 * gdb.python/py-cmd.exp
1796 * gdb.python/py-explore-cc.exp
1797 * gdb.python/py-explore.exp
1798 * gdb.python/py-finish-breakpoint.exp
1799 * gdb.python/py-finish-breakpoint2.exp
1800 * gdb.python/py-frame-args.exp
1801 * gdb.python/py-frame-inline.exp
1802 * gdb.python/py-frame.exp
1803 * gdb.python/py-framefilter-mi.exp
1804 * gdb.python/py-infthread.exp
1805 * gdb.python/py-lazy-string.exp
1806 * gdb.python/py-linetable.exp
1807 * gdb.python/py-mi-events.exp
1808 * gdb.python/py-mi-objfile.exp
1809 * gdb.python/py-mi.exp
1810 * gdb.python/py-objfile.exp
1811 * gdb.python/py-pp-integral.exp
1812 * gdb.python/py-pp-maint.exp
1813 * gdb.python/py-pp-re-notag.exp
1814 * gdb.python/py-pp-registration.exp
1815 * gdb.python/py-recurse-unwind.exp
1816 * gdb.python/py-strfns.exp
1817 * gdb.python/py-symbol.exp
1818 * gdb.python/py-symtab.exp
1819 * gdb.python/py-sync-interp.exp
1820 * gdb.python/py-typeprint.exp
1821 * gdb.python/py-unwind-maint.exp
1822 * gdb.python/py-unwind.exp
1823 * gdb.python/py-value-cc.exp
1824 * gdb.python/py-xmethods.exp
1825 * gdb.reverse/amd64-tailcall-reverse.exp
1826 * gdb.reverse/break-precsave.exp
1827 * gdb.reverse/break-reverse.exp
1828 * gdb.reverse/consecutive-precsave.exp
1829 * gdb.reverse/consecutive-reverse.exp
1830 * gdb.reverse/finish-precsave.exp
1831 * gdb.reverse/finish-reverse-bkpt.exp
1832 * gdb.reverse/finish-reverse.exp
1833 * gdb.reverse/fstatat-reverse.exp
1834 * gdb.reverse/getresuid-reverse.exp
1835 * gdb.reverse/i386-precsave.exp
1836 * gdb.reverse/i386-reverse.exp
1837 * gdb.reverse/i386-sse-reverse.exp
1838 * gdb.reverse/i387-env-reverse.exp
1839 * gdb.reverse/i387-stack-reverse.exp
1840 * gdb.reverse/insn-reverse.exp
1841 * gdb.reverse/machinestate-precsave.exp
1842 * gdb.reverse/machinestate.exp
1843 * gdb.reverse/next-reverse-bkpt-over-sr.exp
1844 * gdb.reverse/pipe-reverse.exp
1845 * gdb.reverse/readv-reverse.exp
1846 * gdb.reverse/recvmsg-reverse.exp
1847 * gdb.reverse/rerun-prec.exp
1848 * gdb.reverse/s390-mvcle.exp
1849 * gdb.reverse/step-precsave.exp
1850 * gdb.reverse/step-reverse.exp
1851 * gdb.reverse/time-reverse.exp
1852 * gdb.reverse/until-precsave.exp
1853 * gdb.reverse/until-reverse.exp
1854 * gdb.reverse/waitpid-reverse.exp
1855 * gdb.reverse/watch-precsave.exp
1856 * gdb.reverse/watch-reverse.exp
1857 * gdb.rust/generics.exp
1858 * gdb.rust/methods.exp
1859 * gdb.rust/modules.exp
1860 * gdb.rust/simple.exp
1861 * gdb.server/connect-with-no-symbol-file.exp
1862 * gdb.server/ext-attach.exp
1863 * gdb.server/ext-restart.exp
1864 * gdb.server/ext-wrapper.exp
1865 * gdb.server/file-transfer.exp
1866 * gdb.server/server-exec-info.exp
1867 * gdb.server/server-kill.exp
1868 * gdb.server/server-mon.exp
1869 * gdb.server/wrapper.exp
1870 * gdb.stabs/exclfwd.exp
1871 * gdb.stabs/gdb11479.exp
1872 * gdb.threads/clone-new-thread-event.exp
1873 * gdb.threads/corethreads.exp
1874 * gdb.threads/current-lwp-dead.exp
1875 * gdb.threads/dlopen-libpthread.exp
1876 * gdb.threads/gcore-thread.exp
1877 * gdb.threads/sigstep-threads.exp
1878 * gdb.threads/watchpoint-fork.exp
1879 * gdb.trace/actions-changed.exp
1880 * gdb.trace/backtrace.exp
1881 * gdb.trace/change-loc.exp
1882 * gdb.trace/circ.exp
1883 * gdb.trace/collection.exp
1884 * gdb.trace/disconnected-tracing.exp
1885 * gdb.trace/ftrace.exp
1886 * gdb.trace/mi-trace-frame-collected.exp
1887 * gdb.trace/mi-trace-unavailable.exp
1888 * gdb.trace/mi-traceframe-changed.exp
1889 * gdb.trace/mi-tsv-changed.exp
1890 * gdb.trace/no-attach-trace.exp
1891 * gdb.trace/passc-dyn.exp
1892 * gdb.trace/qtro.exp
1893 * gdb.trace/range-stepping.exp
1894 * gdb.trace/read-memory.exp
1895 * gdb.trace/save-trace.exp
1896 * gdb.trace/signal.exp
1897 * gdb.trace/status-stop.exp
1898 * gdb.trace/tfile.exp
1899 * gdb.trace/trace-break.exp
1900 * gdb.trace/trace-buffer-size.exp
1901 * gdb.trace/trace-condition.exp
1902 * gdb.trace/tracefile-pseudo-reg.exp
1903 * gdb.trace/tstatus.exp
1904 * gdb.trace/unavailable.exp
1905 * gdb.trace/while-dyn.exp
1906 * gdb.trace/while-stepping.exp
1907
1908 2016-12-22 Doug Evans <xdje42@gmail.com>
1909
1910 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
1911 and msymbols.
1912
1913 2016-12-19 Yao Qi <yao.qi@linaro.org>
1914
1915 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
1916 (test_with_self): Don't call do_steps_and_nexts, and remove
1917 code about stepping into xmalloc.
1918
1919 2016-12-09 Yao Qi <yao.qi@linaro.org>
1920
1921 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
1922
1923 2016-12-09 Yao Qi <yao.qi@linaro.org>
1924
1925 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
1926
1927 2016-12-09 Pedro Alves <palves@redhat.com>
1928
1929 * gdb.base/all-architectures-0.exp: New file.
1930 * gdb.base/all-architectures-1.exp: New file.
1931 * gdb.base/all-architectures-2.exp: New file.
1932 * gdb.base/all-architectures-3.exp: New file.
1933 * gdb.base/all-architectures-4.exp: New file.
1934 * gdb.base/all-architectures-5.exp: New file.
1935 * gdb.base/all-architectures-6.exp: New file.
1936 * gdb.base/all-architectures-7.exp: New file.
1937 * gdb.base/all-architectures.exp.in: New file.
1938
1939 2016-12-09 Yao Qi <yao.qi@linaro.org>
1940
1941 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
1942
1943 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
1944
1945 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
1946 possible.
1947 Remove useless pattern-matching code.
1948
1949 2016-12-02 Pedro Alves <palves@redhat.com>
1950
1951 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
1952 procedure.
1953 (top level): Call it.
1954
1955 2016-12-02 Pedro Alves <palves@redhat.com>
1956
1957 * gdb.base/commands.exp (user_defined_command_args_stack_test):
1958 New procedure.
1959 (top level): Call it.
1960
1961 2016-12-02 Pedro Alves <palves@redhat.com>
1962
1963 PR cli/20559
1964 * gdb.base/commands.exp (user_defined_command_args_eval): New
1965 procedure.
1966 (top level): Call it.
1967
1968 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
1969
1970 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
1971 timeout handling.
1972
1973 2016-12-02 Tom Tromey <tom@tromey.com>
1974
1975 * gdb.dwarf2/main-subprogram.c: New file.
1976 * gdb.dwarf2/main-subprogram.exp: New file.
1977
1978 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1979
1980 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
1981 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
1982 gdb_test_no_output for a couple of cases.
1983 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
1984
1985 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1986
1987 Fix test names and standardize compilation error messages throughout
1988 the following files:
1989
1990 * gdb.ada/start.exp
1991 * gdb.arch/alpha-step.exp
1992 * gdb.arch/e500-prologue.exp
1993 * gdb.arch/ftrace-insn-reloc.exp
1994 * gdb.arch/gdb1291.exp
1995 * gdb.arch/gdb1431.exp
1996 * gdb.arch/gdb1558.exp
1997 * gdb.arch/i386-dr3-watch.exp
1998 * gdb.arch/i386-sse-stack-align.exp
1999 * gdb.arch/ia64-breakpoint-shadow.exp
2000 * gdb.arch/pa-nullify.exp
2001 * gdb.arch/powerpc-aix-prologue.exp
2002 * gdb.arch/thumb-bx-pc.exp
2003 * gdb.base/annota1.exp
2004 * gdb.base/annota3.exp
2005 * gdb.base/arrayidx.exp
2006 * gdb.base/assign.exp
2007 * gdb.base/attach.exp
2008 * gdb.base/auxv.exp
2009 * gdb.base/bang.exp
2010 * gdb.base/bfp-test.exp
2011 * gdb.base/bigcore.exp
2012 * gdb.base/bitfields2.exp
2013 * gdb.base/break-fun-addr.exp
2014 * gdb.base/break-probes.exp
2015 * gdb.base/call-rt-st.exp
2016 * gdb.base/callexit.exp
2017 * gdb.base/catch-fork-kill.exp
2018 * gdb.base/charset.exp
2019 * gdb.base/checkpoint.exp
2020 * gdb.base/comprdebug.exp
2021 * gdb.base/constvars.exp
2022 * gdb.base/coredump-filter.exp
2023 * gdb.base/cursal.exp
2024 * gdb.base/cvexpr.exp
2025 * gdb.base/detach.exp
2026 * gdb.base/display.exp
2027 * gdb.base/dmsym.exp
2028 * gdb.base/dprintf-pending.exp
2029 * gdb.base/dso2dso.exp
2030 * gdb.base/dtrace-probe.exp
2031 * gdb.base/dump.exp
2032 * gdb.base/enum_cond.exp
2033 * gdb.base/exe-lock.exp
2034 * gdb.base/exec-invalid-sysroot.exp
2035 * gdb.base/execl-update-breakpoints.exp
2036 * gdb.base/exprs.exp
2037 * gdb.base/fileio.exp
2038 * gdb.base/find.exp
2039 * gdb.base/finish.exp
2040 * gdb.base/fixsection.exp
2041 * gdb.base/foll-vfork.exp
2042 * gdb.base/frame-args.exp
2043 * gdb.base/gcore.exp
2044 * gdb.base/gdb1250.exp
2045 * gdb.base/global-var-nested-by-dso.exp
2046 * gdb.base/gnu-ifunc.exp
2047 * gdb.base/hashline1.exp
2048 * gdb.base/hashline2.exp
2049 * gdb.base/hashline3.exp
2050 * gdb.base/hbreak-in-shr-unsupported.exp
2051 * gdb.base/huge.exp
2052 * gdb.base/infcall-input.exp
2053 * gdb.base/info-fun.exp
2054 * gdb.base/info-shared.exp
2055 * gdb.base/jit-simple.exp
2056 * gdb.base/jit-so.exp
2057 * gdb.base/jit.exp
2058 * gdb.base/jump.exp
2059 * gdb.base/label.exp
2060 * gdb.base/lineinc.exp
2061 * gdb.base/logical.exp
2062 * gdb.base/longjmp.exp
2063 * gdb.base/macscp.exp
2064 * gdb.base/miscexprs.exp
2065 * gdb.base/new-ui-echo.exp
2066 * gdb.base/new-ui-pending-input.exp
2067 * gdb.base/new-ui.exp
2068 * gdb.base/nodebug.exp
2069 * gdb.base/nofield.exp
2070 * gdb.base/offsets.exp
2071 * gdb.base/overlays.exp
2072 * gdb.base/pending.exp
2073 * gdb.base/pointers.exp
2074 * gdb.base/pr11022.exp
2075 * gdb.base/printcmds.exp
2076 * gdb.base/prologue.exp
2077 * gdb.base/ptr-typedef.exp
2078 * gdb.base/realname-expand.exp
2079 * gdb.base/relativedebug.exp
2080 * gdb.base/relocate.exp
2081 * gdb.base/remote.exp
2082 * gdb.base/reread.exp
2083 * gdb.base/return2.exp
2084 * gdb.base/savedregs.exp
2085 * gdb.base/sep.exp
2086 * gdb.base/sepdebug.exp
2087 * gdb.base/sepsymtab.exp
2088 * gdb.base/set-inferior-tty.exp
2089 * gdb.base/setshow.exp
2090 * gdb.base/shlib-call.exp
2091 * gdb.base/sigaltstack.exp
2092 * gdb.base/siginfo-addr.exp
2093 * gdb.base/signals.exp
2094 * gdb.base/signull.exp
2095 * gdb.base/sigrepeat.exp
2096 * gdb.base/so-impl-ld.exp
2097 * gdb.base/solib-display.exp
2098 * gdb.base/solib-overlap.exp
2099 * gdb.base/solib-search.exp
2100 * gdb.base/solib-symbol.exp
2101 * gdb.base/structs.exp
2102 * gdb.base/structs2.exp
2103 * gdb.base/symtab-search-order.exp
2104 * gdb.base/twice.exp
2105 * gdb.base/unload.exp
2106 * gdb.base/varargs.exp
2107 * gdb.base/watchpoint-solib.exp
2108 * gdb.base/watchpoint.exp
2109 * gdb.base/whatis.exp
2110 * gdb.base/wrong_frame_bt_full.exp
2111 * gdb.btrace/dlopen.exp
2112 * gdb.cell/ea-standalone.exp
2113 * gdb.cell/ea-test.exp
2114 * gdb.cp/dispcxx.exp
2115 * gdb.cp/gdb2384.exp
2116 * gdb.cp/method2.exp
2117 * gdb.cp/nextoverthrow.exp
2118 * gdb.cp/pr10728.exp
2119 * gdb.disasm/am33.exp
2120 * gdb.disasm/h8300s.exp
2121 * gdb.disasm/mn10300.exp
2122 * gdb.disasm/sh3.exp
2123 * gdb.dwarf2/dw2-dir-file-name.exp
2124 * gdb.fortran/complex.exp
2125 * gdb.fortran/library-module.exp
2126 * gdb.guile/scm-pretty-print.exp
2127 * gdb.guile/scm-symbol.exp
2128 * gdb.guile/scm-type.exp
2129 * gdb.guile/scm-value.exp
2130 * gdb.linespec/linespec.exp
2131 * gdb.mi/gdb701.exp
2132 * gdb.mi/gdb792.exp
2133 * gdb.mi/mi-breakpoint-changed.exp
2134 * gdb.mi/mi-dprintf-pending.exp
2135 * gdb.mi/mi-dprintf.exp
2136 * gdb.mi/mi-exit-code.exp
2137 * gdb.mi/mi-pending.exp
2138 * gdb.mi/mi-solib.exp
2139 * gdb.mi/new-ui-mi-sync.exp
2140 * gdb.mi/pr11022.exp
2141 * gdb.mi/user-selected-context-sync.exp
2142 * gdb.opt/solib-intra-step.exp
2143 * gdb.python/py-events.exp
2144 * gdb.python/py-finish-breakpoint.exp
2145 * gdb.python/py-mi.exp
2146 * gdb.python/py-prettyprint.exp
2147 * gdb.python/py-shared.exp
2148 * gdb.python/py-symbol.exp
2149 * gdb.python/py-template.exp
2150 * gdb.python/py-type.exp
2151 * gdb.python/py-value.exp
2152 * gdb.reverse/solib-precsave.exp
2153 * gdb.reverse/solib-reverse.exp
2154 * gdb.server/solib-list.exp
2155 * gdb.stabs/weird.exp
2156 * gdb.threads/reconnect-signal.exp
2157 * gdb.threads/stepi-random-signal.exp
2158 * gdb.trace/actions.exp
2159 * gdb.trace/ax.exp
2160 * gdb.trace/backtrace.exp
2161 * gdb.trace/change-loc.exp
2162 * gdb.trace/deltrace.exp
2163 * gdb.trace/ftrace-lock.exp
2164 * gdb.trace/ftrace.exp
2165 * gdb.trace/infotrace.exp
2166 * gdb.trace/mi-tracepoint-changed.exp
2167 * gdb.trace/packetlen.exp
2168 * gdb.trace/passcount.exp
2169 * gdb.trace/pending.exp
2170 * gdb.trace/range-stepping.exp
2171 * gdb.trace/report.exp
2172 * gdb.trace/stap-trace.exp
2173 * gdb.trace/tfind.exp
2174 * gdb.trace/trace-break.exp
2175 * gdb.trace/trace-condition.exp
2176 * gdb.trace/trace-enable-disable.exp
2177 * gdb.trace/trace-mt.exp
2178 * gdb.trace/tracecmd.exp
2179 * gdb.trace/tspeed.exp
2180 * gdb.trace/tsv.exp
2181 * lib/perftest.exp
2182
2183 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
2184
2185 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
2186 with gdb_test_no_output.
2187 Use command as test name.
2188
2189 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
2190
2191 Fix test names starting with uppercase throughout the files.
2192
2193 * gdb.ada/assign_1.exp
2194 * gdb.ada/boolean_expr.exp
2195 * gdb.base/arrayidx.exp
2196 * gdb.base/del.exp
2197 * gdb.base/gcore-buffer-overflow.exp
2198 * gdb.base/testenv.exp
2199 * gdb.compile/compile.exp
2200 * gdb.python/py-framefilter-invalidarg.exp
2201 * gdb.python/py-framefilter.exp
2202
2203 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
2204
2205 Fix test names starting with uppercase throughout the files.
2206
2207 * gdb.ada/array_return.exp
2208 * gdb.ada/expr_delims.exp
2209 * gdb.ada/mi_dyn_arr.exp
2210 * gdb.ada/mi_interface.exp
2211 * gdb.ada/mi_var_array.exp
2212 * gdb.ada/watch_arg.exp
2213 * gdb.arch/alpha-step.exp
2214 * gdb.arch/altivec-regs.exp
2215 * gdb.arch/e500-regs.exp
2216 * gdb.arch/powerpc-d128-regs.exp
2217 * gdb.base/arrayidx.exp
2218 * gdb.base/break.exp
2219 * gdb.base/checkpoint.exp
2220 * gdb.base/debug-expr.exp
2221 * gdb.base/dmsym.exp
2222 * gdb.base/radix.exp
2223 * gdb.base/sepdebug.exp
2224 * gdb.base/testenv.exp
2225 * gdb.base/watch_thread_num.exp
2226 * gdb.base/watchpoint-cond-gone.exp
2227 * gdb.cell/break.exp
2228 * gdb.cell/ea-cache.exp
2229 * gdb.compile/compile.exp
2230 * gdb.cp/gdb2495.exp
2231 * gdb.gdb/selftest.exp
2232 * gdb.gdb/xfullpath.exp
2233 * gdb.go/hello.exp
2234 * gdb.go/integers.exp
2235 * gdb.objc/basicclass.exp
2236 * gdb.pascal/hello.exp
2237 * gdb.pascal/integers.exp
2238 * gdb.python/py-breakpoint.exp
2239 * gdb.python/py-cmd.exp
2240 * gdb.python/py-linetable.exp
2241 * gdb.python/py-xmethods.exp
2242 * gdb.python/python.exp
2243 * gdb.reverse/consecutive-precsave.exp
2244 * gdb.reverse/finish-precsave.exp
2245 * gdb.reverse/i386-precsave.exp
2246 * gdb.reverse/machinestate-precsave.exp
2247 * gdb.reverse/sigall-precsave.exp
2248 * gdb.reverse/solib-precsave.exp
2249 * gdb.reverse/step-precsave.exp
2250 * gdb.reverse/until-precsave.exp
2251 * gdb.reverse/watch-precsave.exp
2252 * gdb.threads/leader-exit.exp
2253 * gdb.threads/pthreads.exp
2254 * gdb.threads/wp-replication.exp
2255 * gdb.trace/actions.exp
2256 * gdb.trace/mi-tsv-changed.exp
2257 * gdb.trace/tsv.exp
2258
2259 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
2260
2261 Fix test names starting with uppercase throughout the files.
2262
2263 * gdb.arch/i386-bp_permanent.exp
2264 * gdb.arch/i386-gnu-cfi.exp
2265 * gdb.base/disasm-end-cu.exp
2266 * gdb.base/macscp.exp
2267 * gdb.base/pending.exp
2268 * gdb.base/watch_thread_num.exp
2269 * gdb.cp/exception.exp
2270 * gdb.cp/gdb2495.exp
2271 * gdb.cp/local.exp
2272 * gdb.python/py-evsignal.exp
2273 * gdb.python/python.exp
2274 * gdb.trace/tracecmd.exp
2275
2276 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
2277
2278 Fix test names starting with uppercase throughout the files.
2279
2280 * gdb.base/charset.exp
2281 * gdb.base/eval.exp
2282 * gdb.base/multi-forks.exp
2283 * gdb.guile/scm-progspace.exp
2284 * gdb.opencl/datatypes.exp
2285 * gdb.python/py-block.exp
2286 * gdb.python/py-function.exp
2287 * gdb.python/py-symbol.exp
2288 * gdb.python/py-symtab.exp
2289 * gdb.python/py-xmethods.exp
2290 * gdb.reverse/break-precsave.exp
2291 * gdb.reverse/break-reverse.exp
2292 * gdb.reverse/consecutive-precsave.exp
2293 * gdb.reverse/consecutive-reverse.exp
2294 * gdb.reverse/finish-precsave.exp
2295 * gdb.reverse/finish-reverse-bkpt.exp
2296 * gdb.reverse/finish-reverse.exp
2297 * gdb.reverse/fstatat-reverse.exp
2298 * gdb.reverse/getresuid-reverse.exp
2299 * gdb.reverse/i386-precsave.exp
2300 * gdb.reverse/i386-reverse.exp
2301 * gdb.reverse/i386-sse-reverse.exp
2302 * gdb.reverse/i387-stack-reverse.exp
2303 * gdb.reverse/insn-reverse.exp
2304 * gdb.reverse/machinestate-precsave.exp
2305 * gdb.reverse/machinestate.exp
2306 * gdb.reverse/next-reverse-bkpt-over-sr.exp
2307 * gdb.reverse/pipe-reverse.exp
2308 * gdb.reverse/readv-reverse.exp
2309 * gdb.reverse/recvmsg-reverse.exp
2310 * gdb.reverse/rerun-prec.exp
2311 * gdb.reverse/s390-mvcle.exp
2312 * gdb.reverse/sigall-precsave.exp
2313 * gdb.reverse/sigall-reverse.exp
2314 * gdb.reverse/solib-precsave.exp
2315 * gdb.reverse/solib-reverse.exp
2316 * gdb.reverse/step-precsave.exp
2317 * gdb.reverse/step-reverse.exp
2318 * gdb.reverse/time-reverse.exp
2319 * gdb.reverse/until-precsave.exp
2320 * gdb.reverse/until-reverse.exp
2321 * gdb.reverse/waitpid-reverse.exp
2322 * gdb.reverse/watch-precsave.exp
2323 * gdb.reverse/watch-reverse.exp
2324
2325 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
2326
2327 Fix test names starting with uppercase throughout the files.
2328
2329 * gdb.arch/i386-mpx-simple_segv.exp
2330 * gdb.arch/i386-mpx.exp
2331 * gdb.arch/i386-permbkpt.exp
2332 * gdb.arch/pa-nullify.exp
2333 * gdb.arch/powerpc-d128-regs.exp
2334 * gdb.arch/vsx-regs.exp
2335 * gdb.base/bfp-test.exp
2336 * gdb.base/break.exp
2337 * gdb.base/breakpoint-shadow.exp
2338 * gdb.base/callfuncs.exp
2339 * gdb.base/charset.exp
2340 * gdb.base/commands.exp
2341 * gdb.base/completion.exp
2342 * gdb.base/dfp-test.exp
2343 * gdb.base/echo.exp
2344 * gdb.base/ending-run.exp
2345 * gdb.base/eval.exp
2346 * gdb.base/expand-psymtabs.exp
2347 * gdb.base/float128.exp
2348 * gdb.base/floatn.exp
2349 * gdb.base/foll-exec-mode.exp
2350 * gdb.base/gdb1056.exp
2351 * gdb.base/gdb11531.exp
2352 * gdb.base/kill-after-signal.exp
2353 * gdb.base/multi-forks.exp
2354 * gdb.base/overlays.exp
2355 * gdb.base/pending.exp
2356 * gdb.base/sepdebug.exp
2357 * gdb.base/testenv.exp
2358 * gdb.base/valgrind-db-attach.exp
2359 * gdb.base/watch_thread_num.exp
2360 * gdb.base/watchpoint-cond-gone.exp
2361 * gdb.base/watchpoint.exp
2362 * gdb.base/watchpoints.exp
2363 * gdb.cp/arg-reference.exp
2364 * gdb.cp/baseenum.exp
2365 * gdb.cp/operator.exp
2366 * gdb.cp/shadow.exp
2367 * gdb.dwarf2/dw2-op-out-param.exp
2368 * gdb.dwarf2/dw2-reg-undefined.exp
2369 * gdb.go/chan.exp
2370 * gdb.go/hello.exp
2371 * gdb.go/integers.exp
2372 * gdb.go/methods.exp
2373 * gdb.go/package.exp
2374 * gdb.guile/scm-parameter.exp
2375 * gdb.guile/scm-progspace.exp
2376 * gdb.guile/scm-value.exp
2377 * gdb.mi/mi-pending.exp
2378 * gdb.mi/user-selected-context-sync.exp
2379 * gdb.multi/multi-attach.exp
2380 * gdb.multi/tids.exp
2381 * gdb.opt/clobbered-registers-O2.exp
2382 * gdb.pascal/floats.exp
2383 * gdb.pascal/integers.exp
2384 * gdb.python/py-block.exp
2385 * gdb.python/py-events.exp
2386 * gdb.python/py-parameter.exp
2387 * gdb.python/py-symbol.exp
2388 * gdb.python/py-symtab.exp
2389 * gdb.python/py-type.exp
2390 * gdb.python/py-value.exp
2391 * gdb.python/py-xmethods.exp
2392 * gdb.python/python.exp
2393 * gdb.reverse/break-precsave.exp
2394 * gdb.reverse/consecutive-precsave.exp
2395 * gdb.reverse/finish-precsave.exp
2396 * gdb.reverse/i386-precsave.exp
2397 * gdb.reverse/machinestate-precsave.exp
2398 * gdb.reverse/sigall-precsave.exp
2399 * gdb.reverse/solib-precsave.exp
2400 * gdb.reverse/step-precsave.exp
2401 * gdb.reverse/until-precsave.exp
2402 * gdb.reverse/watch-precsave.exp
2403 * gdb.server/ext-attach.exp
2404 * gdb.server/ext-restart.exp
2405 * gdb.server/ext-run.exp
2406 * gdb.server/ext-wrapper.exp
2407 * gdb.stabs/gdb11479.exp
2408 * gdb.stabs/weird.exp
2409 * gdb.threads/attach-many-short-lived-threads.exp
2410 * gdb.threads/kill.exp
2411 * gdb.threads/watchpoint-fork.exp
2412
2413 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
2414
2415 Fix test names starting with uppercase throughout all the files below.
2416
2417 * gdb.ada/array_return.exp
2418 * gdb.ada/catch_ex.exp
2419 * gdb.ada/info_exc.exp
2420 * gdb.ada/mi_catch_ex.exp
2421 * gdb.ada/mi_dyn_arr.exp
2422 * gdb.ada/mi_ex_cond.exp
2423 * gdb.ada/mi_exc_info.exp
2424 * gdb.ada/mi_interface.exp
2425 * gdb.ada/mi_task_arg.exp
2426 * gdb.ada/mi_task_info.exp
2427 * gdb.ada/mi_var_array.exp
2428 * gdb.arch/alpha-step.exp
2429 * gdb.arch/amd64-disp-step.exp
2430 * gdb.arch/arm-disp-step.exp
2431 * gdb.arch/disp-step-insn-reloc.exp
2432 * gdb.arch/e500-prologue.exp
2433 * gdb.arch/ftrace-insn-reloc.exp
2434 * gdb.arch/gdb1558.exp
2435 * gdb.arch/i386-bp_permanent.exp
2436 * gdb.arch/i386-disp-step.exp
2437 * gdb.arch/i386-float.exp
2438 * gdb.arch/i386-gnu-cfi.exp
2439 * gdb.arch/ia64-breakpoint-shadow.exp
2440 * gdb.arch/mips16-thunks.exp
2441 * gdb.arch/pa-nullify.exp
2442 * gdb.arch/powerpc-aix-prologue.exp
2443 * gdb.arch/powerpc-power.exp
2444 * gdb.arch/ppc-dfp.exp
2445 * gdb.arch/s390-tdbregs.exp
2446 * gdb.arch/spu-info.exp
2447 * gdb.arch/spu-ls.exp
2448 * gdb.arch/thumb-bx-pc.exp
2449 * gdb.base/advance.exp
2450 * gdb.base/annota-input-while-running.exp
2451 * gdb.base/arrayidx.exp
2452 * gdb.base/asmlabel.exp
2453 * gdb.base/async.exp
2454 * gdb.base/attach-wait-input.exp
2455 * gdb.base/auto-connect-native-target.exp
2456 * gdb.base/batch-preserve-term-settings.exp
2457 * gdb.base/bfp-test.exp
2458 * gdb.base/bigcore.exp
2459 * gdb.base/bp-permanent.exp
2460 * gdb.base/break-always.exp
2461 * gdb.base/break-fun-addr.exp
2462 * gdb.base/break-idempotent.exp
2463 * gdb.base/break-main-file-remove-fail.exp
2464 * gdb.base/break-probes.exp
2465 * gdb.base/break-unload-file.exp
2466 * gdb.base/break.exp
2467 * gdb.base/call-ar-st.exp
2468 * gdb.base/call-rt-st.exp
2469 * gdb.base/call-sc.exp
2470 * gdb.base/call-signal-resume.exp
2471 * gdb.base/call-strs.exp
2472 * gdb.base/callexit.exp
2473 * gdb.base/callfuncs.exp
2474 * gdb.base/catch-gdb-caused-signals.exp
2475 * gdb.base/catch-signal-siginfo-cond.exp
2476 * gdb.base/catch-syscall.exp
2477 * gdb.base/compare-sections.exp
2478 * gdb.base/cond-eval-mode.exp
2479 * gdb.base/condbreak-call-false.exp
2480 * gdb.base/consecutive-step-over.exp
2481 * gdb.base/cursal.exp
2482 * gdb.base/disabled-location.exp
2483 * gdb.base/disasm-end-cu.exp
2484 * gdb.base/display.exp
2485 * gdb.base/double-prompt-target-event-error.exp
2486 * gdb.base/dprintf-bp-same-addr.exp
2487 * gdb.base/dprintf-detach.exp
2488 * gdb.base/dprintf-next.exp
2489 * gdb.base/dprintf-non-stop.exp
2490 * gdb.base/dprintf-pending.exp
2491 * gdb.base/dso2dso.exp
2492 * gdb.base/ending-run.exp
2493 * gdb.base/enum_cond.exp
2494 * gdb.base/examine-backward.exp
2495 * gdb.base/exe-lock.exp
2496 * gdb.base/exec-invalid-sysroot.exp
2497 * gdb.base/execl-update-breakpoints.exp
2498 * gdb.base/execution-termios.exp
2499 * gdb.base/fileio.exp
2500 * gdb.base/fixsection.exp
2501 * gdb.base/foll-exec-mode.exp
2502 * gdb.base/foll-exec.exp
2503 * gdb.base/fork-running-state.exp
2504 * gdb.base/frame-args.exp
2505 * gdb.base/fullpath-expand.exp
2506 * gdb.base/func-ptr.exp
2507 * gdb.base/gcore-relro-pie.exp
2508 * gdb.base/gdb1090.exp
2509 * gdb.base/gdb1555.exp
2510 * gdb.base/global-var-nested-by-dso.exp
2511 * gdb.base/gnu-ifunc.exp
2512 * gdb.base/hbreak-in-shr-unsupported.exp
2513 * gdb.base/hbreak-unmapped.exp
2514 * gdb.base/hook-stop.exp
2515 * gdb.base/infcall-input.exp
2516 * gdb.base/info-fun.exp
2517 * gdb.base/info-shared.exp
2518 * gdb.base/interrupt-noterm.exp
2519 * gdb.base/jit-so.exp
2520 * gdb.base/jit.exp
2521 * gdb.base/line-symtabs.exp
2522 * gdb.base/list.exp
2523 * gdb.base/longjmp.exp
2524 * gdb.base/macscp.exp
2525 * gdb.base/max-value-size.exp
2526 * gdb.base/nodebug.exp
2527 * gdb.base/nofield.exp
2528 * gdb.base/overlays.exp
2529 * gdb.base/paginate-after-ctrl-c-running.exp
2530 * gdb.base/paginate-bg-execution.exp
2531 * gdb.base/paginate-inferior-exit.exp
2532 * gdb.base/pending.exp
2533 * gdb.base/pr11022.exp
2534 * gdb.base/printcmds.exp
2535 * gdb.base/ptr-typedef.exp
2536 * gdb.base/ptype.exp
2537 * gdb.base/randomize.exp
2538 * gdb.base/range-stepping.exp
2539 * gdb.base/realname-expand.exp
2540 * gdb.base/relativedebug.exp
2541 * gdb.base/remote.exp
2542 * gdb.base/savedregs.exp
2543 * gdb.base/sepdebug.exp
2544 * gdb.base/set-noassign.exp
2545 * gdb.base/shlib-call.exp
2546 * gdb.base/shreloc.exp
2547 * gdb.base/sigaltstack.exp
2548 * gdb.base/sigbpt.exp
2549 * gdb.base/siginfo-addr.exp
2550 * gdb.base/siginfo-obj.exp
2551 * gdb.base/siginfo-thread.exp
2552 * gdb.base/signest.exp
2553 * gdb.base/signull.exp
2554 * gdb.base/sigrepeat.exp
2555 * gdb.base/skip.exp
2556 * gdb.base/so-impl-ld.exp
2557 * gdb.base/solib-corrupted.exp
2558 * gdb.base/solib-disc.exp
2559 * gdb.base/solib-display.exp
2560 * gdb.base/solib-overlap.exp
2561 * gdb.base/solib-search.exp
2562 * gdb.base/solib-symbol.exp
2563 * gdb.base/source-execution.exp
2564 * gdb.base/sss-bp-on-user-bp-2.exp
2565 * gdb.base/sss-bp-on-user-bp.exp
2566 * gdb.base/stack-checking.exp
2567 * gdb.base/stale-infcall.exp
2568 * gdb.base/step-break.exp
2569 * gdb.base/step-line.exp
2570 * gdb.base/step-over-exit.exp
2571 * gdb.base/step-test.exp
2572 * gdb.base/structs.exp
2573 * gdb.base/sym-file.exp
2574 * gdb.base/symtab-search-order.exp
2575 * gdb.base/term.exp
2576 * gdb.base/type-opaque.exp
2577 * gdb.base/unload.exp
2578 * gdb.base/until-nodebug.exp
2579 * gdb.base/until.exp
2580 * gdb.base/unwindonsignal.exp
2581 * gdb.base/watch-cond.exp
2582 * gdb.base/watch-non-mem.exp
2583 * gdb.base/watch_thread_num.exp
2584 * gdb.base/watchpoint-reuse-slot.exp
2585 * gdb.base/watchpoint-solib.exp
2586 * gdb.base/watchpoint.exp
2587 * gdb.btrace/dlopen.exp
2588 * gdb.cell/arch.exp
2589 * gdb.cell/break.exp
2590 * gdb.cell/bt.exp
2591 * gdb.cell/core.exp
2592 * gdb.cell/data.exp
2593 * gdb.cell/dwarfaddr.exp
2594 * gdb.cell/ea-cache.exp
2595 * gdb.cell/ea-standalone.exp
2596 * gdb.cell/ea-test.exp
2597 * gdb.cell/f-regs.exp
2598 * gdb.cell/fork.exp
2599 * gdb.cell/gcore.exp
2600 * gdb.cell/mem-access.exp
2601 * gdb.cell/ptype.exp
2602 * gdb.cell/registers.exp
2603 * gdb.cell/sizeof.exp
2604 * gdb.cell/solib-symbol.exp
2605 * gdb.cell/solib.exp
2606 * gdb.compile/compile-tls.exp
2607 * gdb.cp/exception.exp
2608 * gdb.cp/gdb2495.exp
2609 * gdb.cp/local.exp
2610 * gdb.cp/mb-inline.exp
2611 * gdb.cp/mb-templates.exp
2612 * gdb.cp/pr10687.exp
2613 * gdb.cp/pr9167.exp
2614 * gdb.cp/scope-err.exp
2615 * gdb.cp/templates.exp
2616 * gdb.cp/virtfunc.exp
2617 * gdb.dwarf2/dw2-dir-file-name.exp
2618 * gdb.dwarf2/dw2-single-line-discriminators.exp
2619 * gdb.fortran/complex.exp
2620 * gdb.fortran/library-module.exp
2621 * gdb.guile/guile.exp
2622 * gdb.guile/scm-cmd.exp
2623 * gdb.guile/scm-frame-inline.exp
2624 * gdb.guile/scm-objfile.exp
2625 * gdb.guile/scm-pretty-print.exp
2626 * gdb.guile/scm-symbol.exp
2627 * gdb.guile/scm-type.exp
2628 * gdb.guile/scm-value.exp
2629 * gdb.linespec/keywords.exp
2630 * gdb.linespec/ls-errs.exp
2631 * gdb.linespec/macro-relative.exp
2632 * gdb.linespec/thread.exp
2633 * gdb.mi/mi-breakpoint-changed.exp
2634 * gdb.mi/mi-dprintf-pending.exp
2635 * gdb.mi/mi-fullname-deleted.exp
2636 * gdb.mi/mi-logging.exp
2637 * gdb.mi/mi-pending.exp
2638 * gdb.mi/mi-solib.exp
2639 * gdb.mi/new-ui-mi-sync.exp
2640 * gdb.mi/user-selected-context-sync.exp
2641 * gdb.multi/dummy-frame-restore.exp
2642 * gdb.multi/multi-arch-exec.exp
2643 * gdb.multi/remove-inferiors.exp
2644 * gdb.multi/watchpoint-multi-exit.exp
2645 * gdb.opt/solib-intra-step.exp
2646 * gdb.perf/backtrace.exp
2647 * gdb.perf/single-step.exp
2648 * gdb.perf/skip-command.exp
2649 * gdb.perf/skip-prologue.exp
2650 * gdb.perf/solib.exp
2651 * gdb.python/lib-types.exp
2652 * gdb.python/py-as-string.exp
2653 * gdb.python/py-bad-printers.exp
2654 * gdb.python/py-block.exp
2655 * gdb.python/py-breakpoint.exp
2656 * gdb.python/py-cmd.exp
2657 * gdb.python/py-events.exp
2658 * gdb.python/py-evthreads.exp
2659 * gdb.python/py-finish-breakpoint.exp
2660 * gdb.python/py-finish-breakpoint2.exp
2661 * gdb.python/py-frame-inline.exp
2662 * gdb.python/py-frame.exp
2663 * gdb.python/py-inferior.exp
2664 * gdb.python/py-infthread.exp
2665 * gdb.python/py-mi.exp
2666 * gdb.python/py-objfile.exp
2667 * gdb.python/py-pp-maint.exp
2668 * gdb.python/py-pp-registration.exp
2669 * gdb.python/py-prettyprint.exp
2670 * gdb.python/py-recurse-unwind.exp
2671 * gdb.python/py-shared.exp
2672 * gdb.python/py-symbol.exp
2673 * gdb.python/py-symtab.exp
2674 * gdb.python/py-template.exp
2675 * gdb.python/py-type.exp
2676 * gdb.python/py-unwind-maint.exp
2677 * gdb.python/py-unwind.exp
2678 * gdb.python/py-value.exp
2679 * gdb.python/python.exp
2680 * gdb.reverse/finish-reverse-bkpt.exp
2681 * gdb.reverse/insn-reverse.exp
2682 * gdb.reverse/next-reverse-bkpt-over-sr.exp
2683 * gdb.reverse/solib-precsave.exp
2684 * gdb.reverse/solib-reverse.exp
2685 * gdb.stabs/gdb11479.exp
2686 * gdb.stabs/weird.exp
2687 * gdb.threads/fork-child-threads.exp
2688 * gdb.threads/fork-plus-threads.exp
2689 * gdb.threads/fork-thread-pending.exp
2690 * gdb.threads/forking-threads-plus-breakpoint.exp
2691 * gdb.threads/hand-call-in-threads.exp
2692 * gdb.threads/interrupted-hand-call.exp
2693 * gdb.threads/linux-dp.exp
2694 * gdb.threads/local-watch-wrong-thread.exp
2695 * gdb.threads/next-while-other-thread-longjmps.exp
2696 * gdb.threads/non-ldr-exit.exp
2697 * gdb.threads/pending-step.exp
2698 * gdb.threads/print-threads.exp
2699 * gdb.threads/process-dies-while-detaching.exp
2700 * gdb.threads/process-dies-while-handling-bp.exp
2701 * gdb.threads/pthreads.exp
2702 * gdb.threads/queue-signal.exp
2703 * gdb.threads/reconnect-signal.exp
2704 * gdb.threads/signal-command-handle-nopass.exp
2705 * gdb.threads/signal-command-multiple-signals-pending.exp
2706 * gdb.threads/signal-delivered-right-thread.exp
2707 * gdb.threads/signal-sigtrap.exp
2708 * gdb.threads/sigthread.exp
2709 * gdb.threads/staticthreads.exp
2710 * gdb.threads/stepi-random-signal.exp
2711 * gdb.threads/thread-unwindonsignal.exp
2712 * gdb.threads/thread_check.exp
2713 * gdb.threads/thread_events.exp
2714 * gdb.threads/tid-reuse.exp
2715 * gdb.threads/tls-nodebug.exp
2716 * gdb.threads/tls-shared.exp
2717 * gdb.threads/tls-so_extern.exp
2718 * gdb.threads/tls.exp
2719 * gdb.threads/wp-replication.exp
2720 * gdb.trace/actions-changed.exp
2721 * gdb.trace/actions.exp
2722 * gdb.trace/backtrace.exp
2723 * gdb.trace/change-loc.exp
2724 * gdb.trace/collection.exp
2725 * gdb.trace/deltrace.exp
2726 * gdb.trace/disconnected-tracing.exp
2727 * gdb.trace/entry-values.exp
2728 * gdb.trace/ftrace-lock.exp
2729 * gdb.trace/ftrace.exp
2730 * gdb.trace/infotrace.exp
2731 * gdb.trace/mi-trace-frame-collected.exp
2732 * gdb.trace/mi-trace-unavailable.exp
2733 * gdb.trace/mi-traceframe-changed.exp
2734 * gdb.trace/mi-tracepoint-changed.exp
2735 * gdb.trace/mi-tsv-changed.exp
2736 * gdb.trace/no-attach-trace.exp
2737 * gdb.trace/packetlen.exp
2738 * gdb.trace/passc-dyn.exp
2739 * gdb.trace/passcount.exp
2740 * gdb.trace/pending.exp
2741 * gdb.trace/pr16508.exp
2742 * gdb.trace/qtro.exp
2743 * gdb.trace/range-stepping.exp
2744 * gdb.trace/read-memory.exp
2745 * gdb.trace/report.exp
2746 * gdb.trace/save-trace.exp
2747 * gdb.trace/signal.exp
2748 * gdb.trace/stap-trace.exp
2749 * gdb.trace/status-stop.exp
2750 * gdb.trace/strace.exp
2751 * gdb.trace/tfile.exp
2752 * gdb.trace/tfind.exp
2753 * gdb.trace/trace-break.exp
2754 * gdb.trace/trace-condition.exp
2755 * gdb.trace/trace-enable-disable.exp
2756 * gdb.trace/trace-mt.exp
2757 * gdb.trace/tracecmd.exp
2758 * gdb.trace/tracefile-pseudo-reg.exp
2759 * gdb.trace/tspeed.exp
2760 * gdb.trace/tstatus.exp
2761 * gdb.trace/tsv.exp
2762 * gdb.trace/unavailable.exp
2763 * gdb.trace/while-dyn.exp
2764 * gdb.trace/while-stepping.exp
2765 * lib/gdb-guile.exp
2766 * lib/gdb.exp
2767 * lib/mi-support.exp
2768 * lib/pascal.exp
2769 * lib/perftest.exp
2770 * lib/prelink-support.exp
2771 * lib/selftest-support.exp
2772
2773 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
2774
2775 * Makefile.in: Include disable-implicit-rules.mk.
2776
2777 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2778
2779 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
2780 non-byte-aligned bit fields.
2781
2782 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2783
2784 PR gdb/12616
2785 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
2786 respects the DW_AT_data_bit_offset attribute.
2787
2788 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
2789
2790 * gdb.base/default.exp: Fix output of "set language".
2791
2792 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
2793
2794 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
2795 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
2796 make.
2797 * configure.ac: Remove checks for the make program.
2798 * configure: Re-generate.
2799
2800 2016-11-16 Kevin Buettner <kevinb@redhat.com>
2801
2802 * gdb.python/py-recurse-unwind.c (main): Add loop.
2803 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
2804 to read_register() and gdb.parse_and_eval(). Make each code
2805 call a separate case that can be individually tested.
2806 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
2807 proc. Call cont_and_backtrace for each of the code paths that
2808 we want to test in the unwinder.
2809
2810 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
2811
2812 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
2813 the definition of struct S.
2814
2815 2016-11-11 Catherine Moore <clm@codesourcery.com>
2816
2817 * gdb.base/dump.exp: Identify verilog format dump tests as such.
2818
2819 2016-11-09 Pedro Alves <palves@redhat.com>
2820
2821 * gdb.base/commands.exp (runto_or_return): New procedure.
2822 (gdbvar_simple_if_test, gdbvar_simple_while_test)
2823 (gdbvar_complex_if_while_test, progvar_simple_if_test)
2824 (progvar_simple_while_test, progvar_complex_if_while_test)
2825 (if_while_breakpoint_command_test)
2826 (infrun_breakpoint_command_test, breakpoint_command_test)
2827 (user_defined_command_test, watchpoint_command_test)
2828 (test_command_prompt_position, redefine_hook_test)
2829 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
2830 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
2831 multi_line_input and multi_line. Remove gdb_expect and
2832 gdb_stop_suppressing_tests uses.
2833 * lib/gdb.exp (valnum_re): New global.
2834 (multi_line_input): New procedure.
2835
2836 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
2837
2838 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
2839 Remove.
2840 (test_setup): Define with proc_with_prefix.
2841 (test_cli_inferior): Likewise.
2842 (test_cli_thread): Likewise.
2843 (test_cli_frame): Likewise.
2844 (test_cli_select_frame): Likewise.
2845 (test_cli_up_down): Likewise.
2846 (test_mi_thread_select): Likewise.
2847 (test_mi_stack_select_frame): Likewise.
2848 (test_cli_in_mi_inferior): Likewise.
2849 (test_cli_in_mi_thread): Likewise.
2850 (test_cli_in_mi_frame): Likewise.
2851 (top level): Do not use with_test_prefix_procname.
2852
2853 2016-11-09 Pedro Alves <palves@redhat.com>
2854
2855 * gdb.base/commands.exp (gdbvar_simple_if_test)
2856 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
2857 (progvar_simple_if_test, progvar_simple_while_test)
2858 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
2859 (infrun_breakpoint_command_test, breakpoint_command_test)
2860 (user_defined_command_test, watchpoint_command_test)
2861 (test_command_prompt_position, deprecated_command_test)
2862 (bp_deleted_in_command, temporary_breakpoint_commands)
2863 (stray_arg0_test, source_file_with_indented_comment)
2864 (recursive_source_test, if_commands_test)
2865 (error_clears_commands_left, redefine_hook_test)
2866 (redefine_backtrace_test): Use proc_with_prefix.
2867 * lib/gdb.exp (proc_with_prefix): New proc.
2868
2869 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
2870
2871 * gdb.base/tui-layout.c: New file.
2872 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
2873 disassembly window contains very long lines.
2874
2875 2016-11-08 Tom Tromey <tom@tromey.com>
2876
2877 * gdb.python/py-value.exp (test_value_creation): Make "long" test
2878 depend on Python 2.
2879
2880 2016-11-08 Tom Tromey <tom@tromey.com>
2881
2882 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
2883 New method.
2884
2885 2016-10-29 Manish Goregaokar <manish@mozilla.com>
2886
2887 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
2888
2889 2016-10-27 Manish Goregaokar <manish@mozilla.com>
2890
2891 * gdb.rust/simple.rs: Add test for univariant enums without
2892 discriminants and for encoded struct-like enums.
2893
2894 2016-10-28 Pedro Alves <palves@redhat.com>
2895
2896 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
2897 gdb_test_multiple, tighten regexps and match symtabs and line
2898 tables incrementally.
2899
2900 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
2901
2902 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
2903 general.
2904
2905 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
2906
2907 * gdb.base/exec-invalid-sysroot.exp: New file.
2908
2909 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2910
2911 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
2912
2913 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2914
2915 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
2916
2917 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
2918
2919 * gdb.base/killed-outside.exp: Remove $options from a call to
2920 `prepare_for_testing'.
2921
2922 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
2923
2924 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
2925 Change test message.
2926
2927 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
2928
2929 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
2930 Update comment.
2931
2932 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
2933
2934 * gdb.trace/mi-trace-save.exp: New file.
2935
2936 2016-10-13 Yao Qi <yao.qi@linaro.org>
2937
2938 * gdb.base/code_elim.exp (get_var_address): Remove.
2939 * gdb.base/relocate.exp: Likewise.
2940 * gdb.base/shreloc.exp: Likewise.
2941 * lib/gdb.exp (get_var_address): New.
2942
2943 2016-10-13 Yao Qi <yao.qi@linaro.org>
2944
2945 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
2946 floating point tests if $skip_float_test is false.
2947
2948 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
2949
2950 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
2951 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
2952 argc values.
2953 Add 1 to argc so we guarantee distinct initial/modified argc values.
2954
2955 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2956
2957 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
2958
2959 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2960
2961 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
2962 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
2963 * gdb.arch/vsx-regs.exp: Likewise.
2964
2965 2016-10-07 Yao Qi <yao.qi@linaro.org>
2966
2967 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
2968
2969 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
2970
2971 * gdb.python/python.exp: Test decode_line("*0").
2972
2973 2016-10-06 Doug Evans <dje@google.com>
2974
2975 * gdb.python/py-value.exp (test_value_creation): Add test for large
2976 unsigned 64-bit value.
2977
2978 2016-10-06 Tom Tromey <tom@tromey.com>
2979
2980 * gdb.compile/compile.exp: Change java tests to rust.
2981 * gdb.base/setshow.exp: Change java tests to rust.
2982 * gdb.base/default.exp: Remove java from language list.
2983 * README (Examples): Update language example.
2984 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
2985 test.
2986 * lib/gdb.exp (skip_java_tests): Remove.
2987 * lib/java.exp: Remove.
2988 * gdb.java: Remove.
2989
2990 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
2991
2992 * gdb.arch/mips-fcr.exp: New test.
2993 * gdb.arch/mips-fcr.c: Source for the new test.
2994
2995 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
2996
2997 * gdb.base/solib-disc.exp: Use `standard_output_file'
2998 throughout.
2999
3000 2016-10-06 Pedro Alves <palves@redhat.com>
3001
3002 * gdb.base/jit-simple-dl.c: New file.
3003 * gdb.base/jit-simple-jit.c: New file, factored out from ...
3004 * gdb.base/jit-simple.c: ... this.
3005 * gdb.base/jit-simple.exp (jit_run): Delete.
3006 (build_jit): New proc.
3007 (jit_test_reread): Recompile either the main program or the shared
3008 library, depending on what is being tested. Skip changing address
3009 if caller wants to. Compare before/after addresses. If testing
3010 standalone, explicitly load the binary. Test "maint info
3011 breakpoints".
3012 (top level): Add "standalone vs shared lib" and "change address"
3013 vs "same address" axes.
3014
3015 2016-10-06 Pedro Alves <palves@redhat.com>
3016
3017 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
3018 call.
3019 (jit_run): Delete.
3020 (jit_test_reread): Use with_test_prefix. Reload the main binary
3021 explicitly. Compare the before/after addresses of the JIT
3022 descriptor.
3023
3024 2016-08-15 Doug Evans <dje@google.com>
3025
3026 * gdb.xml/extra-regs.xml: Update, end field now required, default type
3027 for single bitfields is bool.
3028 * gdb.xml/tdesc-regs.exp: Ditto.
3029
3030 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3031
3032 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
3033
3034 2016-10-05 Yao Qi <yao.qi@linaro.org>
3035
3036 * lib/gdb.exp (support_complex_tests): Return zero if
3037 gdb_skip_float_test return true.
3038
3039 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
3040 Simon Marchi <simon.marchi@ericsson.com>
3041
3042 PR gdb/20487
3043 * gdb.mi/user-selected-context-sync.exp: New file.
3044 * gdb.mi/user-selected-context-sync.c: New file.
3045
3046 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
3047 Simon Marchi <simon.marchi@ericsson.com>
3048
3049 PR gdb/20487
3050 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
3051 =thread-select-event check.
3052
3053 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
3054
3055 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
3056 the compulsory L operand changes.
3057 * gdb.arch/powerpc-power.s: Likewise.
3058
3059 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
3060
3061 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
3062 * gdb.base/jit-attach-pie.c: New file.
3063 * gdb.base/jit-attach-pie.exp: New file.
3064
3065 2016-09-28 Pedro Alves <palves@redhat.com>
3066
3067 * gdb.base/infcall-input.c: New file.
3068 * gdb.base/infcall-input.exp: New file.
3069
3070 2016-09-22 Yao Qi <yao.qi@linaro.org>
3071
3072 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
3073 (gdb_exit): Rename it to ...
3074 (gdbserver_gdb_exit): ... Close GDBserver.
3075 (gdb_exit): New proc, call gdbserver_gdb_exit.
3076 (mi_gdb_exit): Likewise.
3077
3078 2016-09-22 Yao Qi <yao.qi@linaro.org>
3079
3080 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
3081 path.
3082 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
3083 Remove duplication.
3084
3085 2016-09-22 Yao Qi <yao.qi@linaro.org>
3086
3087 * lib/gdbserver-support.exp: Check the existence of
3088 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
3089
3090 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
3091
3092 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
3093
3094 2016-09-21 Tom Tromey <tom@tromey.com>
3095
3096 PR gdb/20604:
3097 * gdb.base/quit.exp: New file.
3098
3099 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
3100
3101 * .gitignore: New file.
3102
3103 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
3104
3105 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
3106 throughout.
3107
3108 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3109
3110 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
3111
3112 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3113
3114 * gdb.cp/casts.cc (decltype): Move it ...
3115 (main): ... with its call to ...
3116 * gdb.cp/casts03.cc: ... a new file.
3117 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
3118
3119 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3120
3121 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
3122
3123 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
3124
3125 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
3126 and sync up the test with tests in gas/testsuite/gas/ppc.
3127 * gdb.arch/powerpc-power.exp: Likewise.
3128
3129 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3130
3131 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
3132
3133 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
3134 Jan Kratochvil <jan.kratochvil@redhat.com>
3135
3136 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
3137 make m1's definition to be different from m2's. Use 'dummy' as an
3138 argument for probe 'two'.
3139
3140 2016-09-10 Jon Beniston <jon@beniston.com>
3141
3142 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
3143 for sim target.
3144
3145 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
3146
3147 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
3148 variable declaration.
3149 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
3150 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
3151 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
3152 received HWCAP as its argument.
3153
3154 2016-09-06 Pedro Alves <palves@redhat.com>
3155
3156 * gdb.base/new-ui-pending-input.c: New file.
3157 * gdb.base/new-ui-pending-input.exp: New file.
3158 * gdb.exp (clear_gdb_spawn_id): New procedure.
3159 (with_spawn_id): Check whether gdb_spawn_id exists before
3160 referencing it. If gdb_spawn_id didn't exist on entry, clear it
3161 on exit.
3162
3163 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
3164
3165 * gdb.base/float128.c: New file.
3166 * gdb.base/float128.exp: Likewise.
3167 * gdb.base/floatn.c: Likewise.
3168 * gdb.base/floatn.exp: Likewise.
3169
3170 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
3171
3172 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
3173
3174 2016-09-05 Pedro Alves <palves@redhat.com>
3175
3176 PR backtrace/19927
3177 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
3178 unwinders are immediately called as side effect of "source" or
3179 "disable unwinder" commands.
3180 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
3181
3182 2016-09-02 Yao Qi <yao.qi@linaro.org>
3183
3184 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
3185 is true and $type is "float" or "double".
3186
3187 2016-09-02 Yao Qi <yao.qi@linaro.org>
3188
3189 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
3190 true.
3191 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
3192 * gdb.base/call-rt-st.exp: Likewise.
3193 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
3194 return value instead of gdb,skip_float_test.
3195 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
3196 (do_function_calls): Use its return value instead of
3197 gdb,skip_float_test.
3198 * gdb.base/finish.exp: Likewise.
3199 * gdb.base/funcargs.exp: Likewise.
3200 * gdb.base/return.exp: Likewise.
3201 * gdb.base/return2.exp: Likewise.
3202 * gdb.base/varargs.exp: Likewise.
3203 * lib/gdb.exp (gdb_skip_float_test): Change it to
3204 gdb_caching_proc. Detect the broken ptrace on arm-linux.
3205
3206 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
3207
3208 * gdb.multi/tids.exp: Test "thread apply all".
3209
3210 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
3211
3212 * gdb.base/default.exp (tty): Remove.
3213
3214 2016-08-24 Kevin Buettner <kevinb@redhat.com>
3215
3216 * gdb.python/py-recurse-unwind.c: New file.
3217 * gdb.python/py-recurse-unwind.py: New file.
3218 * gdb.python/py-recurse-unwind.exp: New file.
3219
3220 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
3221
3222 * gdb.base/set-inferior-tty.exp: New file.
3223 * gdb.base/set-inferior-tty.c: New file.
3224
3225 2016-08-23 Pedro Alves <palves@redhat.com>
3226
3227 PR gdb/20494
3228 * gdb.base/new-ui-echo.c: New file.
3229 * gdb.base/new-ui-echo.exp: New file.
3230
3231 2016-08-23 Yao Qi <yao.qi@linaro.org>
3232
3233 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
3234 gdbserver_spawn.
3235 * gdb.server/connect-without-multi-process.exp (do_test):
3236 Likewise.
3237
3238 2016-08-23 Yao Qi <yao.qi@linaro.org>
3239
3240 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
3241 standalone_txt. Delete gdb_txt and standalone_txt on host
3242 and target. Spawn the binary on target. Copy files from
3243 target to host.
3244
3245 2016-08-22 Pedro Alves <palves@redhat.com>
3246
3247 PR gdb/20505
3248 * gdb.base/vdso-warning.exp: Test core dumps too. Use
3249 with_test_prefix. Factor out bits to ...
3250 (test_no_vdso): ... this new procedure.
3251
3252 2016-08-19 Carl Love <cel@us.ibm.com>
3253
3254 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
3255 maintaining separate logic for constructing the output path.
3256 * gdb.arch/powerpc-d128-regs.exp: Likewise.
3257 * gdb.arch/ppc-dfp.exp: Likewise.
3258 * gdb.arch/ppc-fp.exp: Likewise.
3259 * gdb.arch/vsx-regs.exp: Likewise.
3260 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
3261 binprefix for generating the additional binary files.
3262
3263 2016-08-19 Pedro Alves <palves@redhat.com>
3264
3265 * gdb.trace/mi-trace-frame-collected.exp
3266 (test_trace_frame_collected): On x32, expect two registers.
3267
3268 2016-08-18 Carl Love <cel@us.ibm.com>
3269
3270 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
3271 and sync up the test with tests in gas/testsuite/gas/ppc.
3272 * gdb.arch/powerpc-power.exp: Likewise.
3273
3274 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
3275
3276 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
3277 expected error message.
3278
3279 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
3280
3281 * gdb.multi/remove-inferiors.exp: New file.
3282 * gdb.multi/remove-inferiors.c: New file.
3283
3284 2016-08-12 Yao Qi <yao.qi@linaro.org>
3285
3286 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
3287 argument list.
3288
3289 2016-08-10 Pedro Alves <palves@redhat.com>
3290
3291 PR gdb/19187
3292 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
3293 setup_kfails.
3294
3295 2016-08-09 Pedro Alves <palves@redhat.com>
3296 Simon Marchi <simon.marchi@ericsson.com>
3297
3298 PR gdb/20418
3299 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
3300 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
3301
3302 2016-08-09 Pedro Alves <palves@redhat.com>
3303
3304 PR mi/20431
3305 * gdb.mi/mi-cmd-error.exp: New file.
3306
3307 2016-08-09 Pedro Alves <palves@redhat.com>
3308
3309 PR gdb/18653
3310 * gdb.base/signals-state-child.c: New file.
3311 * gdb.base/signals-state-child.exp: New file.
3312 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
3313
3314 2016-08-09 Pedro Alves <palves@redhat.com>
3315
3316 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
3317
3318 2016-08-03 Tom Tromey <tom@tromey.com>
3319
3320 PR python/18565:
3321 * gdb.python/py-frame-inline.exp: Add Frame.function test.
3322
3323 2016-08-01 Yao Qi <yao.qi@linaro.org>
3324
3325 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
3326 variable mode to "multi-process" if $multi_process is 1, otherwise
3327 set it to "single-process".
3328
3329 2016-08-01 Yao Qi <yao.qi@linaro.org>
3330
3331 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
3332 * gdb.cp/cpexprs.exp: Likewise.
3333 * gdb.cp/m-static.exp: Likewise.
3334
3335 2016-07-26 Tom Tromey <tom@tromey.com>
3336
3337 PR python/20190:
3338 * gdb.threads/tls.exp (check_thread_local): Add python symbol
3339 test.
3340
3341 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
3342
3343 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
3344 selecting assembly source files.
3345 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
3346 assembly source files.
3347 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
3348 assembly source files.
3349 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
3350 selecting assembly source files.
3351
3352 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
3353
3354 * gdb.base/new-ui.exp (do_test_invalid_args): New
3355 procedure.
3356
3357 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
3358
3359 * gdb.btrace/reconnect.c: New file.
3360 * gdb.btrace/reconnect.exp: New file.
3361
3362 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
3363
3364 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
3365 to test_catch_syscall_group.
3366 (test_catch_syscall_group): New.
3367
3368 2016-07-21 Tom Tromey <tom@tromey.com>
3369
3370 * gdb.rust/simple.rs (main): Use empty struct expression.
3371 * gdb.rust/simple.exp: Add tests for empty struct expression.
3372
3373 2016-07-21 Yao Qi <yao.qi@linaro.org>
3374
3375 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
3376 if gdb_skip_xml_test is true on some targets.
3377
3378 2016-07-21 Yao Qi <yao.qi@linaro.org>
3379
3380 * gdb.server/solib-list.exp: Unset last_loaded_file.
3381
3382 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3383
3384 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
3385 "step into captured_main (args)".
3386
3387 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3388
3389 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
3390
3391 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3392
3393 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
3394
3395 2016-07-19 Pedro Alves <palves@redhat.com>
3396
3397 * gdb.opt/inline-break.exp: Remove optimize=-O2.
3398 * gdb.opt/inline-bt.exp: Likewise.
3399 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
3400 additional_flags=-Winline.
3401 * gdb.opt/inline-locals.exp: Likewise.
3402 * gdb.opt/inline-markers.c (ATTR): Define.
3403 (inlined_fn): Use it.
3404
3405 2016-07-19 Yao Qi <yao.qi@linaro.org>
3406
3407 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
3408 (test_with_self): Remove some code. Remove argument executable.
3409 (top-level): Use do_self_tests.
3410
3411 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
3412 Don Breazeal <donb@codesourcery.com>
3413
3414 * gdb.base/maint.exp: Escape paths used in regular expressions.
3415 * gdb.stabs/weird.exp: Likewise.
3416
3417 2016-07-13 Tom Tromey <tom@tromey.com>
3418
3419 PR python/15620, PR python/18620:
3420 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
3421 (test_bkpt_events): New procs.
3422
3423 2016-07-13 Tom Tromey <tom@tromey.com>
3424
3425 PR python/17698:
3426 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
3427 test.
3428 (test_watchpoints): Likewise.
3429 (test_bkpt_pending): New proc.
3430
3431 2016-07-13 Tom Tromey <tom@tromey.com>
3432
3433 PR cli/18053:
3434 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
3435 completion test.
3436
3437 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3438
3439 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
3440 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
3441 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
3442 f_label.
3443 (g): Rename g_end_lbl to g_label.
3444 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
3445 low_pc and high_pc.
3446 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
3447
3448 2016-07-12 Tom Tromey <tom@tromey.com>
3449
3450 PR python/19293:
3451 * gdb.python/py-unwind-maint.exp: Update tests.
3452
3453 2016-07-12 Yao Qi <yao.qi@linaro.org>
3454
3455 * lib/selftest-support.exp (selftest_setup): Match the output
3456 when captured_main is inlined.
3457
3458 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
3459
3460 * gdb.fortran/derived-types.exp (result_line, result_line_2):
3461 New variables.
3462 (print this%a, print this%b, print this): New tests.
3463 * gdb.fortran/derived-types.f90 (this): New object and
3464 initialization.
3465
3466 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
3467
3468 * gdb.ada/arraydim.exp: Remove extra directory level in build
3469 directory.
3470
3471 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
3472
3473 * lib/ada.exp: Remove extra directory level in build directory.
3474 * gdb.ada/cond_lang.exp: Likewise.
3475 * gdb.ada/exec_changed.exp: Likewise.
3476 * gdb.ada/lang_switch.exp: Likewise.
3477
3478 2016-07-06 Manish Goregaokar <manish@mozilla.com>
3479
3480 * simple.rs: Add test for raw pointer subscripting.
3481 * simple.exp: Add test expectations.
3482
3483 2016-07-05 Yao Qi <yao.qi@linaro.org>
3484
3485 * gdb.mi/mi-reverse.exp: Match =record-started output.
3486
3487 2016-07-01 Pedro Alves <palves@redhat.com>
3488
3489 * gdb.base/jit-reader.exp (info_registers_current_frame): New
3490 procedure.
3491 (jit_reader_test): Test the jit reader's unwinder.
3492 * gdb.base/jithost.c (jit_function_00_code): New global.
3493 (main): Use memcpy to fill in the mmapped code, instead of poking
3494 bytes manually here.
3495 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
3496 value.
3497 (read_debug_info): Save the function's range.
3498 (read_sp): New function.
3499 (unwind_frame): Use it. Also unwind RBP.
3500 (get_frame_id): Use read_sp.
3501 (gdb_init_reader): Use calloc instead of malloc.
3502 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
3503 parameter. Use gdb_test_multiple.
3504
3505 2016-07-01 Pedro Alves <palves@redhat.com>
3506 Antoine Tremblay <antoine.tremblay@ericsson.com>
3507
3508 * gdb.threads/process-dies-while-detaching.c: New file.
3509 * gdb.threads/process-dies-while-detaching.exp: New file.
3510
3511 2016-07-01 Pedro Alves <palves@redhat.com>
3512
3513 * gdb.multi/watchpoint-multi-exit.c: New file.
3514 * gdb.multi/watchpoint-multi-exit.exp: New file.
3515
3516 2016-06-30 Pedro Alves <palves@redhat.com>
3517
3518 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
3519 unset inferior_spawn_id.
3520
3521 2016-06-30 Pedro Alves <palves@redhat.com>
3522
3523 * lib/mi-support.exp (default_mi_gdb_start): Declare global
3524 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
3525
3526 2016-06-29 Yao Qi <yao.qi@linaro.org>
3527
3528 * gdb.base/return.c: Add copyright header.
3529
3530 2016-06-29 Tom Tromey <tom@tromey.com>
3531
3532 PR python/20129:
3533 * gdb.python/py-framefilter.exp: Add tests for setting priority
3534 and disabling of non-existent frame filter.
3535
3536 2016-06-29 Yao Qi <yao.qi@linaro.org>
3537
3538 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
3539 0x0f07ff.
3540
3541 2016-06-28 Yao Qi <yao.qi@linaro.org>
3542
3543 * gdb.base/catch-syscall.exp: Remove check on isnative and target
3544 triplets. Start gdb, execute catch syscall, and continue. Check
3545 gdb's output to determine catch syscall is supported.
3546
3547 2016-06-27 Manish Goregaokar <manish@mozilla.com>
3548
3549 * gdb.rust/simple.rs: Add test for returning unit in a function.
3550 * gdb.rust/simple.exp: Add expectation for functions returning
3551 unit.
3552
3553 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
3554
3555 * gdb.python/py-breakpoint-create-fail.c,
3556 gdb.python/py-breakpoint-create-fail.exp,
3557 gdb.python/py-breakpoint-create-fail.py: New testcase.
3558
3559 2016-06-25 Manish Goregaokar <manish@mozilla.com>
3560
3561 PR gdb/20239
3562 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
3563 * gdb.rust/simple.exp: Add test expectations for new NonZero
3564 tests.
3565
3566 2016-06-24 David Taylor <dtaylor@emc.com>
3567
3568 * gdb.base/offsets.exp: New file.
3569 * gdb.base/offsets.c: New file.
3570
3571 2016-06-23 Tom Tromey <tom@tromey.com>
3572
3573 PR gdb/16483:
3574 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
3575 before any filters are loaded.
3576
3577 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
3578
3579 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
3580 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
3581 structs.
3582 * gdb.fortran/derived-type-function.exp: New file.
3583 * gdb.fortran/derived-type-function.f90: New file.
3584
3585
3586 2016-06-21 Pedro Alves <palves@redhat.com>
3587
3588 * gdb.base/new-ui.exp: New file.
3589 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
3590 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
3591 (with_spawn_id): New procedure.
3592
3593 2016-06-21 Pedro Alves <palves@redhat.com>
3594
3595 * gdb.mi/mi-exec-run.exp: New file.
3596
3597 2016-06-21 Pedro Alves <palves@redhat.com>
3598
3599 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
3600 breakpoint command's output on the main UI.
3601 (test_break): New procedure, factored out from calls in the top
3602 level.
3603 (top level): Use foreach_with_prefix to test MI as main UI and as
3604 separate UI.
3605
3606 2016-06-21 Pedro Alves <palves@redhat.com>
3607
3608 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
3609 (test_awatch_creation_and_listing)
3610 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
3611 Remove 'type' parameter.
3612 (test_watchpoint_all): New parameter mi_mode. Remove
3613 with_test_prefix.
3614 (top level): Use foreach_with_prefix, and add main/separate UI MI
3615 testing axis.
3616
3617 2016-06-21 Pedro Alves <palves@redhat.com>
3618
3619 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
3620 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
3621 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
3622 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
3623 (gdb_main_spawn_id, mi_spawn_id): Declare and
3624 comment.
3625 (mi_create_inferior_pty): New procedure,
3626 factored out from default_mi_gdb_start.
3627 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
3628 procedures.
3629 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
3630 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
3631 Use mi_create_inferior_pty.
3632 (mi_gdb_start): Use eval to pass down args list.
3633
3634 2016-06-21 Pedro Alves <palves@redhat.com>
3635
3636 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
3637 * gdb.opt/inline-cmds.exp: Add MI tests.
3638
3639 2016-06-21 Pedro Alves <palves@redhat.com>
3640
3641 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
3642
3643 2016-06-21 Pedro Alves <palves@redhat.com>
3644
3645 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
3646 (top level): Use it instead of mi_execute_to.
3647
3648 2016-06-21 Pedro Alves <palves@redhat.com>
3649
3650 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
3651 (cont_handler_str): New.
3652 (signal_stop_handler): Set stop_handler_str instead of printing to
3653 stdout.
3654 (continue_handler): Set cont_handler_str instead of printing to
3655 stdout.
3656 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
3657 mi_send_resuming_command. Print stop_handler_str and
3658 cont_handler_str instead of expecting the python events print
3659 directly.
3660
3661 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
3662
3663 * gdb.base/jit-reader.exp: New file.
3664 * gdb.base/jithost.c: New file.
3665 * gdb.base/jithost.h: New file.
3666 * gdb.base/jitreader.c : New file.
3667 * gdb.base/jit-protocol.h: New file.
3668
3669 2016-06-17 Yao Qi <yao.qi@linaro.org>
3670
3671 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
3672 parameters follow_fork and detach_on_fork. Set follow-fork-mode
3673 and detach-on-fork. Adjust tests.
3674 (top level): Invoke break_cond_on_syscall with combinations of
3675 syscall, follow-fork-mode and detach-on-fork.
3676
3677 2016-06-17 Yao Qi <yao.qi@linaro.org>
3678
3679 * gdb.base/step-over-exit.c: New.
3680 * gdb.base/step-over-exit.exp: New.
3681
3682 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
3683
3684 * gdb.base/float.exp: Add target check for nds32*-*-*.
3685 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
3686
3687 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
3688
3689 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
3690 for unsupported target features.
3691 * gdb.base/call-rt-st.exp: Likewise.
3692 * gdb.base/call-sc.exp: Likewise.
3693 * gdb.base/call-signal-resume.exp: Likewise.
3694 * gdb.base/call-strs.exp: Likewise.
3695 * gdb.base/callexit.exp: Likewise.
3696 * gdb.base/callfuncs.exp: Likewise.
3697 * gdb.base/nodebug.exp: Likewise.
3698 * gdb.base/printcmds.exp: Likewise.
3699 * gdb.base/ptype.exp: Likewise.
3700 * gdb.base/structs.exp: Likewise.
3701 * gdb.base/unwindonsignal.exp: Likewise.
3702 * gdb.cp/gdb2495.exp: Likewise.
3703 * gdb.cp/templates.exp: Likewise.
3704 * gdb.cp/virtfunc.exp: Likewise.
3705 * gdb.threads/hand-call-in-threads.exp: Likewise.
3706 * gdb.threads/interrupted-hand-call.exp: Likewise.
3707 * gdb.threads/thread-unwindonsignal.exp: Likewise.
3708
3709 2016-06-10 Tom Tromey <tom@tromey.com>
3710
3711 PR rust/20110:
3712 * gdb.rust/expr.exp: Add test for integer constant larger than
3713 i32.
3714
3715 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
3716
3717 * gdb.fortran/nested-funcs.exp: New.
3718 * gdb.fortran/nested-funcs.f90: New.
3719
3720 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
3721
3722 * gdb.base/examine-backward.c: New file.
3723 * gdb.base/examine-backward.exp: New file.
3724
3725 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
3726
3727 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
3728 matching.
3729
3730 2016-06-02 Tom Tromey <tom@tromey.com>
3731
3732 PR python/18984:
3733 * gdb.python/py-shared.exp: Add solib_name test.
3734
3735 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
3736
3737 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
3738
3739 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
3740
3741 PR c++/19893
3742 * gdb.dwarf2/implref.exp: Rename to...
3743 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
3744 * gdb.dwarf2/implref-array.c: New file.
3745 * gdb.dwarf2/implref-array.exp: Likewise.
3746 * gdb.dwarf2/implref-global.c: Likewise.
3747 * gdb.dwarf2/implref-global.exp: Likewise.
3748 * gdb.dwarf2/implref-struct.c: Likewise.
3749 * gdb.dwarf2/implref-struct.exp: Likewise.
3750
3751 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
3752
3753 * gdb.trace/trace-condition.exp: Add 64bit tests.
3754
3755 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
3756
3757 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
3758 bits types.
3759 (main): Adapt to 8 to 64 bits types.
3760 * gdb.trace/trace-condition.exp: Add new tests.
3761
3762 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
3763
3764 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
3765
3766 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
3767
3768 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
3769 Move condition tests...
3770 * gdb.trace/trace-condition.exp: Here.
3771
3772 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
3773
3774 * gdb.trace/trace-condition.exp: Add counter-case tests.
3775
3776 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
3777
3778 PR c++/15231
3779 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
3780 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
3781
3782 2016-05-27 Pedro Alves <palves@redhat.com>
3783
3784 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
3785 New procedure.
3786 (top level): Call it, and bail out of DejaGnu is known to be bad.
3787
3788 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
3789
3790 * gdb.base/whatis.c: Extend the test case.
3791 * gdb.base/whatis.exp: Add additional tests.
3792
3793 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3794
3795 * gdb.fortran/type.f90: Add pointer variable.
3796 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
3797
3798 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3799
3800 * gdb.fortran/vla-type.exp: Fix testcase name.
3801
3802 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3803
3804 * gdb.fortran/vla-type.exp: Access elements in nested structs.
3805
3806 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3807
3808 * gdb.fortran/type.f90: Add nested structures.
3809 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
3810 * gdb.fortran/derived-type.exp: Adapt expected output.
3811 * gdb.fortran/vla-type.exp: Adapt expected output.
3812
3813 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3814
3815 * gdb.fortran/whatis_type.exp: Adapt expected output.
3816
3817 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3818
3819 * gdb.fortran/print_type.exp: Fix expected output.
3820 * gdb.fortran/whatis_type.exp: Fix expected output.
3821
3822 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3823
3824 * gdb.fortran/whatis_type.exp: Use multi_line.
3825
3826 2016-05-24 Tom Tromey <tom@tromey.com>
3827
3828 PR python/17386:
3829 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
3830 use value as an index.
3831
3832 2016-05-23 Tom Tromey <tom@tromey.com>
3833
3834 PR python/17981:
3835 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
3836 no-breakpoint case.
3837
3838 2016-05-24 Pedro Alves <palves@redhat.com>
3839
3840 PR gdb/19828
3841 * gdb.threads/clone-attach-detach.c: New file.
3842 * gdb.threads/clone-attach-detach.exp: New file.
3843
3844 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
3845
3846 * gdb.base/annota-input-while-running.exp: Fix syntax error.
3847
3848 2016-05-23 Tom Tromey <tom@tromey.com>
3849
3850 PR python/19438, PR python/18393:
3851 * gdb.python/py-progspace.exp: Add "dir" test.
3852 * gdb.python/py-objfile.exp: Add "dir" test.
3853
3854 2016-05-23 Yao Qi <yao.qi@linaro.org>
3855
3856 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
3857 * gdb.arch/thumb2-it.exp: Likewise.
3858
3859 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
3860
3861 * gdb.mi/mi-threads-interrupt.c: New file.
3862 * gdb.mi/mi-threads-interrupt.exp: New file.
3863
3864 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
3865
3866 PR gdb/18077
3867 * gdb.mi/mi-async-run.exp: New file.
3868 * gdb.mi/mi-async-run.c: New file.
3869
3870 2016-05-17 Tom Tromey <tom@tromey.com>
3871 Manish Goregaokar <manishsmail@gmail.com>
3872
3873 * lib/rust-support.exp: New file.
3874 * lib/gdb.exp (skip_rust_tests): New proc.
3875 (build_executable_from_specs): Handle rust.
3876 * lib/future.exp (gdb_find_rustc): New proc.
3877 (gdb_default_target_compile): Handle rust.
3878 * gdb.rust/expr.exp: New file.
3879 * gdb.rust/generics.exp: New file.
3880 * gdb.rust/generics.rs: New file.
3881 * gdb.rust/methods.exp: New file.
3882 * gdb.rust/methods.rs: New file.
3883 * gdb.rust/modules.exp: New file.
3884 * gdb.rust/modules.rs: New file.
3885 * gdb.rust/simple.exp: New file.
3886 * gdb.rust/simple.rs: New file.
3887
3888 2016-05-17 Tom Tromey <tom@tromey.com>
3889
3890 * gdb.base/default.exp (set language): Add rust.
3891
3892 2016-05-17 Tom Tromey <tom@tromey.com>
3893
3894 * gdb.gdb/unittest.exp: New file.
3895
3896 2016-05-16 Yao Qi <yao.qi@linaro.org>
3897
3898 * gdb.base/batch-preserve-term-settings.exp: Remove variable
3899 shell_prompt. Update shell_prompt_re.
3900
3901 2016-05-12 Doug Evans <dje@google.com>
3902
3903 PR symtab/19999
3904 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
3905 $options when building executable.
3906 * gdb.dwarf2/fission-loclists-pie.S: New file.
3907 * gdb.dwarf2/fission-loclists-pie.exp: New file.
3908
3909 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
3910
3911 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
3912 of [is_remote target],
3913
3914 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
3915
3916 * lib/gdb.exp (use_gdb_stub): New procedure.
3917
3918 2016-05-03 Yunlian Jiang <yunlian@google.com>
3919 Doug Evans <dje@google.com>
3920
3921 PR symtab/19914
3922 * gdb.dwarf2/dwp-sepdebug.c: New file.
3923 * gdb.dwarf2/dwp-sepdebug.exp: New file.
3924
3925 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
3926
3927 * gdb.base/detach.exp: Remove is_remote check.
3928
3929 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
3930
3931 * gdb.base/annota-input-while-running.exp: Don't check for
3932 [is_remote target]. Enable annotations after running to main.
3933 Remove unused "set test..." line.
3934
3935 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
3936
3937 * gdb.trace/trace-enable-disable.exp: New file.
3938 * gdb.trace/trace-enable-disable.c: New file.
3939
3940 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
3941
3942 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
3943 use it in info sharedlibrary test.
3944 * gdb.trace/ftrace-lock.exp: Likewise.
3945 * gdb.trace/ftrace.exp: Likewise.
3946 * gdb.trace/range-stepping.exp: Likewise.
3947 * gdb.trace/trace-break.exp: Likewise.
3948 * gdb.trace/trace-condition.exp: Likewise.
3949 * gdb.trace/trace-mt.exp: Likewise.
3950
3951 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
3952
3953 * lib/gdb.exp (gdb_load_shlibs): Rename to...
3954 (gdb_load_shlib): ... this.
3955 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
3956 gdb_load_shlib.
3957 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
3958 * gdb.base/ctxobj.exp: Likewise.
3959 * gdb.base/dprintf-pending.exp: Likewise.
3960 * gdb.base/dso2dso.exp: Likewise.
3961 * gdb.base/fixsection.exp: Likewise.
3962 * gdb.base/gcore-relro.exp: Likewise.
3963 * gdb.base/gdb1555.exp: Likewise.
3964 * gdb.base/global-var-nested-by-dso.exp: Likewise.
3965 * gdb.base/gnu-ifunc.exp: Likewise.
3966 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
3967 * gdb.base/jit-so.exp (one_jit_test): Likewise.
3968 * gdb.base/pending.exp: Likewise.
3969 * gdb.base/print-file-var.exp: Likewise.
3970 * gdb.base/print-symbol-loading.exp: Likewise.
3971 * gdb.base/shlib-call.exp: Likewise.
3972 * gdb.base/shreloc.exp: Likewise.
3973 * gdb.base/so-impl-ld.exp: Likewise.
3974 * gdb.base/solib-disc.exp: Likewise.
3975 * gdb.base/solib-nodir.exp: Likewise.
3976 * gdb.base/solib-overlap.exp: Likewise.
3977 * gdb.base/solib-symbol.exp: Likewise.
3978 * gdb.base/solib-weak.exp (do_test): Likewise.
3979 * gdb.base/sym-file.exp: Likewise.
3980 * gdb.base/symtab-search-order.exp: Likewise.
3981 * gdb.base/type-opaque.exp: Likewise.
3982 * gdb.base/unload.exp: Likewise.
3983 * gdb.base/watchpoint-solib.exp: Likewise.
3984 * gdb.compile/compile.exp: Likewise.
3985 * gdb.cp/gdb2384.exp: Likewise.
3986 * gdb.cp/infcall-dlopen.exp: Likewise.
3987 * gdb.cp/re-set-overloaded.exp: Likewise.
3988 * gdb.fortran/library-module.exp: Likewise.
3989 * gdb.opt/solib-intra-step.exp: Likewise.
3990 * gdb.python/py-finish-breakpoint.exp: Likewise.
3991 * gdb.python/py-shared.exp: Likewise.
3992 * gdb.reverse/solib-precsave.exp: Likewise.
3993 * gdb.reverse/solib-reverse.exp: Likewise.
3994 * gdb.server/solib-list.exp: Likewise.
3995 * gdb.threads/dlopen-libpthread.exp: Likewise.
3996 * gdb.threads/tls-shared.exp: Likewise.
3997 * gdb.threads/tls-so_extern.exp: Likewise.
3998 * gdb.trace/change-loc.exp: Likewise.
3999 * gdb.trace/ftrace-lock.exp: Likewise.
4000 * gdb.trace/ftrace.exp: Likewise.
4001 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
4002 * gdb.trace/pending.exp: Likewise.
4003 * gdb.trace/range-stepping.exp: Likewise.
4004 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
4005 (strace_info_marker): Likewise.
4006 (strace_probe_marker): Likewise.
4007 (strace_trace_on_same_addr): Likewise.
4008 (strace_trace_on_diff_addr): Likewise.
4009 * gdb.trace/trace-break.exp: Likewise.
4010 * gdb.trace/trace-condition.exp: Likewise.
4011 * gdb.trace/trace-mt.exp: Likewise.
4012
4013 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
4014
4015 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
4016 result of gdb_remote_download.
4017 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
4018 * gdb.base/dso2dso.exp: Likewise.
4019 * gdb.base/global-var-nested-by-dso.exp: Likewise.
4020 * gdb.base/print-file-var.exp: Likewise.
4021 * gdb.base/shlib-call.exp: Likewise.
4022 * gdb.base/shreloc.exp: Likewise.
4023 * gdb.base/solib-overlap.exp: Likewise.
4024 * gdb.base/solib-weak.exp (do_test): Likewise.
4025 * gdb.base/unload.exp: Likewise.
4026
4027 2016-04-27 Yao Qi <yao.qi@linaro.org>
4028
4029 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
4030 exists.
4031
4032 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
4033
4034 * vla-type.exp: Print structure from toplevel.
4035
4036 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
4037
4038 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
4039 of dynamic types.
4040 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
4041 of dynamic types.
4042
4043 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
4044
4045 * gdb.fortran/vla-type.f90: New file.
4046 * gdb.fortran/vla-type.exp: New file.
4047
4048 2016-04-25 Yao Qi <yao.qi@linaro.org>
4049
4050 * gdb.base/branch-to-self.c: New file.
4051 * gdb.base/branch-to-self.exp: New file.
4052
4053 2016-04-22 Yao Qi <yao.qi@linaro.org>
4054
4055 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
4056 more after $hex.
4057
4058 2016-04-22 Yao Qi <yao.qi@linaro.org>
4059
4060 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
4061 * gdb.base/annota3.exp: Likewise.
4062
4063 2016-04-22 Yao Qi <yao.qi@linaro.org>
4064
4065 * gdb.reverse/step-precsave.exp: Do one step and test program
4066 stops in "callee" and do multiple steps until program goes out
4067 of "callee".
4068 * gdb.reverse/step-reverse.exp: Likewise.
4069
4070 2016-04-22 Yao Qi <yao.qi@linaro.org>
4071
4072 * gdb.trace/signal.exp: Also pass if
4073 $tracepoint_hits($i) > $iterations.
4074
4075 2016-04-22 Yao Qi <yao.qi@linaro.org>
4076
4077 * gdb.trace/signal.c: New file.
4078 * gdb.trace/signal.exp: New file.
4079
4080 2016-04-19 Doug Evans <xdje42@gmail.com>
4081
4082 * gdb.base/bad-file.exp: New file.
4083
4084 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
4085
4086 * gdb.dwarf2/implref.exp: New file.
4087
4088 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
4089
4090 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
4091 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
4092 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
4093 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
4094 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
4095 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
4096 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
4097 * lib/fortran.exp (fortran_int4): New procedure.
4098 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
4099 (fortran_logical4): Likewise.
4100
4101 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
4102
4103 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
4104
4105 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
4106
4107 * lib/compiler.c: Add Intel specific preprocessor macros.
4108 * lib/compiler.cc: Likewise.
4109
4110 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
4111
4112 * gdb.server/connect-with-no-symbol-file.c: New file.
4113 * gdb.server/connect-with-no-symbol-file.exp: New file.
4114
4115 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
4116
4117 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
4118
4119 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
4120
4121 * boards/gdbserver-base.exp (${board}_download): Copy source file to
4122 standard output directory.
4123
4124 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
4125
4126 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
4127
4128 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
4129
4130 * gdb.btrace/instruction_history.c (loop): Add declaration.
4131
4132 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
4133
4134 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
4135
4136 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
4137
4138 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
4139 parentheses to print.
4140 (continue_handler): Likewise.
4141
4142 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
4143
4144 * gdb.server/solib-list.exp: Remove is_remote check.
4145 Pass shlib= to gdb_compile. Don't link shared library with
4146 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
4147 Run binary filename through "readlink -f" on the target.
4148
4149 2016-04-08 Pedro Alves <palves@redhat.com>
4150
4151 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
4152 interpreter filename as argument to gdbserver_spawn.
4153 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
4154 Return empty if $last_loaded_file does not exist.
4155
4156 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4157
4158 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
4159 * gdb.base/jit-main.c: Use exit after usage.
4160
4161 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4162
4163 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
4164 GDBHISTSIZE prior to the tests.
4165 * gdb.base/gdbinit-history.exp: Likewise.
4166
4167 2016-04-07 Pedro Alves <palves@redhat.com>
4168
4169 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
4170 instead of build_executable. Use gdb_load_shlibs.
4171
4172 2016-04-07 Yao Qi <yao.qi@linaro.org>
4173
4174 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
4175 Execute "si" command.
4176
4177 2016-04-07 Yao Qi <yao.qi@linaro.org>
4178
4179 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
4180 number instead of the comments on some line.
4181
4182 2016-04-06 Don Breazeal <donb@codesourcery.com>
4183
4184 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
4185 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
4186
4187 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
4188
4189 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
4190 standard_output_file. Remove unused binfile variable.
4191
4192 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
4193
4194 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
4195 * gdb.python/py-mi-objfile.exp: Match "list main" output
4196 in console format.
4197
4198 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
4199
4200 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
4201 absolute.
4202
4203 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
4204
4205 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
4206 absolute.
4207 * gdb.trace/ftrace.exp: Likewise.
4208 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
4209 targets as well.
4210 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
4211 (gdb_load_shlibs): Copy libraries to test directory when testing
4212 natively. Only set solib-search-path if testing remotely.
4213 * lib/mi-support.exp (mi_load_shlibs): Likewise.
4214
4215 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
4216
4217 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
4218 gdb_download. Use it even if the target is not remote.
4219 * gdb.base/jit.exp (compile_jit_test): Likewise.
4220 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
4221 output directory if the destination board is local, otherwise use
4222 the standard remote_download from DejaGnu.
4223 (gdb_download): Remove.
4224 (gdb_load_shlibs): Use gdb_remote_download instead of
4225 gdb_download.
4226 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
4227 Use gdb_remote_download instead of gdb_download. Use it even if
4228 the target is not remote.
4229 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
4230 instead of gdb_download.
4231
4232 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
4233
4234 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
4235 (test_insert_delete_modify): Call mi_load_shlibs before trying to
4236 run.
4237
4238 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
4239
4240 PR gdb/19820
4241 * gdb.base/printcmds.exp: Add artificial arrays tests.
4242
4243 2016-03-31 Pedro Alves <palves@redhat.com>
4244
4245 PR gdb/19858
4246 * gdb.base/jit-main.c: Include unistd.h.
4247 (ATTACH): Define to 0 if not already defined.
4248 (wait_for_gdb, mypid): New globals.
4249 (WAIT_FOR_GDB): New macro.
4250 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
4251 some breakpoint locations.
4252 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
4253 New procedures.
4254 (one_jit_test): Add REATTACH parameter, and handle it. Use
4255 continue_to_test_location.
4256 (top level): Test attach, and adjusts calls to one_jit_test.
4257
4258 2016-03-31 Pedro Alves <palves@redhat.com>
4259
4260 PR gdb/19858
4261 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
4262 BINSUFFIX parameter, and handle it.
4263 (top level): Adjust calls compile_jit_test.
4264
4265 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
4266
4267 PR python/19743
4268 * gdb.python/py-mi-events-gdb.py: New file.
4269 * gdb.python/py-mi-events.c: New file.
4270 * gdb.python/py-mi-events.exp: New file.
4271
4272 2016-03-30 Yao Qi <yao.qi@linaro.org>
4273
4274 * gdb.reverse/until-precsave.exp: Match function name only.
4275 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
4276 Move malloc to a condition block.
4277 * gdb.reverse/until-reverse.exp: Match function name only.
4278
4279 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
4280
4281 * gdb.trace/ftrace.exp: Set arg0exp for s390.
4282 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
4283 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
4284 variable for GPR 0 instead of assuming it is register 0.
4285 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
4286 * lib/trace-support.exp: Add s390 registers.
4287
4288 2016-03-29 Yao Qi <yao.qi@linaro.org>
4289
4290 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
4291
4292 2016-03-24 Yao Qi <yao.qi@linaro.org>
4293
4294 * gdb.reverse/break-reverse.exp: Add quotation mark in the
4295 test message.
4296
4297 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4298
4299 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
4300 maintaining separate logic for constructing the output path.
4301
4302 2016-03-16 Don Breazeal <donb@codesourcery.com>
4303
4304 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
4305 Retry fork and waitpid on interrupted system call errors.
4306 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
4307 Use with_timeout_factor to increase timeout by factor of 10.
4308
4309 2016-03-15 Don Breazeal <donb@codesourcery.com>
4310
4311 * gdb.cp/scope-err.cc: New test program.
4312 * gdb.cp/scope-err.exp: New test script.
4313 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
4314 lines and "set breakpoint here" comment.
4315 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
4316 Fixed some whitespace and format issues.
4317 * gdb.mi/mi-linespec-err-cp.cc: New test program.
4318 * gdb.mi/mi-linespec-err-cp.exp: New test script.
4319
4320 2016-03-15 Doug Evans <dje@google.com>
4321
4322 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
4323 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
4324 All callers updated. Add tests for enums, mixed flags register.
4325
4326 2016-03-15 Doug Evans <dje@google.com>
4327
4328 * gdb.base/skip.c (main): Call test_skip_file_and_function.
4329 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
4330
4331 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
4332
4333 * gdb.base/default.exp: Add $_as_string to the list of expected
4334 convenience functions.
4335
4336 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
4337
4338 * gdb.base/maint.exp: New tests for 'maint info line-table'.
4339
4340 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
4341
4342 * gdb.python/py-as-string.exp: New file.
4343 * gdb.python/py-as-string.c: New file.
4344
4345 2016-03-09 Pedro Alves <palves@redhat.com>
4346
4347 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
4348 signal" -> "Thread NN received signal" output change.
4349 * gdb.threads/ia64-sigill.exp: Likewise.
4350 * gdb.threads/linux-dp.exp: Likewise.
4351 * gdb.threads/manythreads.exp: Likewise.
4352 * gdb.threads/pending-step.exp: Likewise.
4353 * gdb.threads/print-threads.exp: Likewise.
4354 * gdb.threads/sigstep-threads.exp: Likewise.
4355 * gdb.threads/staticthreads.exp: Likewise.
4356 * gdb.threads/tls.exp: Likewise.
4357
4358 2016-03-09 Pedro Alves <palves@redhat.com>
4359
4360 * gdb.base/command-line-input.exp: New file.
4361
4362 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
4363
4364 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
4365 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
4366 * gdb.trace/pending.exp: Accept leading dot before function name.
4367 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
4368 * lib/trace-support.exp: Set registers for ppc.
4369
4370 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
4371
4372 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
4373 use it for disassembly; accept .main in addition to main in backtrace.
4374
4375 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
4376 Marcin Kościelnicki <koriakin@0x04.net>
4377
4378 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
4379 (gdb_recursion_test_ptr): New global variable.
4380 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
4381 gdb_recursion_test.
4382 (gdb_c_test): Ditto.
4383
4384 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
4385
4386 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
4387 ordering.
4388
4389 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
4390
4391 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
4392 (bar): Add bar_start_lbl label.
4393 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
4394 of foo/bar for emitting DWARF and tracing.
4395
4396 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
4397
4398 * analyze-racy-logs.py: Set executable bit.
4399
4400 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
4401
4402 * Makefile.in (DEFAULT_RACY_ITER): New variable.
4403 (CHECK_TARGET_TMP): Likewise.
4404 (check-single-racy): New rule.
4405 (check-parallel-racy): Likewise.
4406 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
4407 (do-check-parallel-racy): New rule.
4408 (check-racy/%.exp): Likewise.
4409 * README (Racy testcases): New section.
4410 * analyze-racy-logs.py: New file.
4411
4412 2016-03-03 Doug Evans <dje@google.com>
4413
4414 * gdb.base/skip.exp: Use with_test_prefix.
4415
4416 2016-03-03 Yao Qi <yao.qi@linaro.org>
4417
4418 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
4419 Invoke step_over_syscall "clone" and break_cond_on_syscall
4420 "clone".
4421 * gdb.base/step-over-clone.c: New file.
4422
4423 2016-03-03 Yao Qi <yao.qi@linaro.org>
4424
4425 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
4426 code format.
4427
4428 2016-03-03 Yao Qi <yao.qi@linaro.org>
4429
4430 * gdb.base/disp-step-fork.c: Rename to ...
4431 * gdb.base/step-over-fork.c: ... it. New file.
4432 * gdb.base/disp-step-vfork.c: Rename to ...
4433 * gdb.base/step-over-vfork.c: ... it. New file.
4434 * gdb.base/disp-step-syscall.exp: Rename to ...
4435 * gdb.base/step-over-syscall.exp: ... it. New file.
4436 (disp_step_cross_syscall): Rename to ...
4437 (step_over_syscall): ... it.
4438
4439 2016-03-03 Yao Qi <yao.qi@linaro.org>
4440
4441 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
4442 If target supports condition evaluation on target, invoke
4443 break_cond_on_syscall for fork and vfork.
4444
4445 2016-03-03 Yao Qi <yao.qi@linaro.org>
4446
4447 * gdb.base/disp-step-syscall.exp: Don't invoke
4448 support_displaced_stepping.
4449 (disp_step_cross_syscall): Test with displaced stepping off and
4450 on if supported.
4451
4452 2016-03-03 Yao Qi <yao.qi@linaro.org>
4453
4454 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
4455 proc.
4456 (setup): New proc.
4457 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
4458 and setup.
4459
4460 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
4461
4462 * gdb.fortran/vla-history.exp: Remove breakpoint.
4463
4464 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
4465
4466 * gdb.fortran/vla-history.exp: Lookup array elements and printing
4467 exceeds timeout.
4468
4469 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
4470
4471 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
4472 breakpoint.
4473
4474 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
4475
4476 * gdb.mi/vla.f90: Nullify pointer after declaration.
4477
4478 2016-03-01 Pedro Alves <palves@redhat.com>
4479
4480 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
4481
4482 2016-03-01 Pedro Alves <palves@redhat.com>
4483
4484 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
4485 before anything else.
4486 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
4487 _GNU_SOURCE here.
4488 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
4489 before anything else.
4490 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
4491
4492 2016-03-01 Pedro Alves <palves@redhat.com>
4493
4494 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
4495
4496 2016-03-01 Yao Qi <yao.qi@linaro.org>
4497
4498 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
4499 prepare_for_testing.
4500
4501 2016-03-01 Yao Qi <yao.qi@linaro.org>
4502
4503 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
4504
4505 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
4506
4507 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
4508 manually constructing the output path.
4509
4510 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
4511
4512 * gdb.arch/s390-stackless.S: New.
4513 * gdb.arch/s390-stackless.exp: New.
4514
4515 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
4516
4517 * gdb.dlang/circular.c: New file.
4518 * gdb.dlang/circular.exp: New file.
4519
4520 2016-02-26 Yao Qi <yao.qi@linaro.org>
4521
4522 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
4523 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
4524 (testcases): Update.
4525
4526 2016-02-26 Yao Qi <yao.qi@linaro.org>
4527
4528 * gdb.reverse/aarch64.c: Rename to ...
4529 * gdb.reverse/insn-reverse.c: ... it.
4530 * gdb.reverse/aarch64.exp: Rename to ...
4531 * gdb.reverse/insn-reverse.exp: ... it.
4532
4533 2016-02-26 Yao Qi <yao.qi@linaro.org>
4534
4535 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
4536 (testcase_ftype): New.
4537 (testcases): New array.
4538 (n_testcases): New.
4539 (main): Call each element in testcases.
4540 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
4541 (read_testcase): New.
4542 Do the tests in a loop.
4543
4544 2016-02-25 Yao Qi <yao.qi@linaro.org>
4545
4546 * gdb.base/branches.c: Remove.
4547
4548 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
4549
4550 PR gdb/13808
4551 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
4552
4553 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
4554
4555 * gdb.trace/ftrace.exp: Remove unnecessary target check.
4556
4557 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
4558
4559 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
4560 change x86_64 call_insn to 'callq'.
4561
4562 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4563
4564 * gdb.trace/tfile-avx.c: Move to...
4565 * gdb.trace/tracefile-pseudo-reg.c: Here.
4566 * gdb.trace/tfile-avx.exp: Move to...
4567 * gdb.trace/tracefile-pseudo-reg.exp: Here.
4568
4569 2016-02-24 Gary Benson <gbenson@redhat.com>
4570
4571 * gdb.base/attach-pie-noexec.exp: Do not expect an error
4572 message on attach.
4573
4574 2016-02-23 Doug Evans <dje@google.com>
4575
4576 * gdb.base/skip.c (test_skip): New function.
4577 (end_test_skip_file_and_function): New function.
4578 (test_skip_file_and_function): New function.
4579 * gdb.base/skip1.c (test_skip): New function.
4580 (skip1_test_skip_file_and_function): New function.
4581 * gdb.base/skip.exp: Add tests for new skip options.
4582 * gdb.base/skip-solib.exp: Update expected output.
4583 * gdb.perf/skip-command.cc: New file.
4584 * gdb.perf/skip-command.exp: New file.
4585 * gdb.perf/skip-command.py: New file.
4586
4587 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
4588
4589 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
4590 info registers pattern.
4591
4592 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
4593
4594 * lib/future.exp: Add D support.
4595 (gdb_find_gdc): New proc.
4596 (gdb_default_target_compile): Add D support.
4597
4598 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
4599
4600 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
4601 user+system time.
4602 (trace_speed_test): Determine the iteration count for a time
4603 between 15..30 seconds.
4604
4605 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
4606
4607 * gdb.arch/i386-mpx-sigsegv.c: New file.
4608 * gdb.arch/i386-mpx-sigsegv.exp: New file.
4609 * gdb.arch/i386-mpx-simple_segv.c: New file.
4610 * gdb.arch/i386-mpx-simple_segv.exp: New file.
4611
4612 2016-02-18 Yao Qi <yao.qi@linaro.org>
4613
4614 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
4615 Don't call setup_kfail.
4616
4617 2016-02-18 Yao Qi <yao.qi@linaro.org>
4618
4619 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
4620 Set "set breakpoint condition-evaluation" per $cond_bp_target.
4621
4622 2016-02-16 Doug Evans <dje@google.com>
4623
4624 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
4625 * gdb.base/skip1.c: Ditto.
4626 * gdb.base/skip.exp: Whitespace cleanup.
4627
4628 2016-02-16 Don Breazeal <donb@codesourcery.com>
4629
4630 PR remote/19496
4631 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
4632 Remove kfail for PR remote/19496.
4633
4634 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
4635
4636 * lib/gdb.exp (standard_temp_file): Return a path specific to
4637 the runtest invocation.
4638
4639 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
4640
4641 * gdb.trace/save-trace.exp: Change relative path to be in the
4642 standard output directory.
4643
4644 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4645
4646 * gdb.arch/i386-prologue.c: Add missing prototypes.
4647
4648 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4649
4650 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
4651 * gdb.arch/i386-prologue.exp: Likewise.
4652 * gdb.arch/i386-size.exp: Likewise.
4653
4654 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
4655
4656 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
4657 define object file path.
4658 * gdb.btrace/gcore.exp: Use standard_output_file to define core
4659 file path.
4660 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
4661 standard_output_file to define binfile.
4662
4663 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4664
4665 Fix compatibility with recent gfortran-5.3.1.
4666 * gdb.fortran/vla-history.exp (print vla1 allocated)
4667 (print vla2 allocated, print $2, print $3): Remove
4668 (print $4): Rename to ...
4669 (print $2): ... here.
4670 (print $9): Rename to ...
4671 (print $5): ... here.
4672 (print $10): Rename to ...
4673 (print $6): ... here.
4674 * gdb.fortran/vla.f90: Add pvla initialization.
4675
4676 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4677
4678 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
4679 New test.
4680 * gdb.fortran/vla-value-sub.exp: Likewise.
4681
4682 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
4683
4684 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
4685
4686 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
4687
4688 * i386-biarch-core.exp: Define corefile using
4689 standard_output_file.
4690
4691 2016-02-12 Yao Qi <yao.qi@linaro.org>
4692
4693 * gdb.arch/arm-single-step-kernel-helper.c: New.
4694 * gdb.arch/arm-single-step-kernel-helper.exp: New.
4695
4696 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
4697
4698 * gdb.btrace/tailcall-only.exp: New.
4699 * gdb.btrace/tailcall-only.c: New.
4700 * gdb.btrace/x86_64-tailcall-only.S: New.
4701 * gdb.btrace/i686-tailcall-only.S: New.
4702
4703 2016-02-11 Pedro Alves <palves@redhat.com>
4704
4705 * README (Parallel testing): Add missing double quotes.
4706
4707 2016-02-11 Pedro Alves <palves@redhat.com>
4708
4709 * README (Parallel testing): New section.
4710 (GDB_PARALLEL): Rewrite.
4711 (FORCE_PARALLEL): Document.
4712
4713 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
4714
4715 * gdb.trace/tfile-avx.c: New test.
4716 * gdb.trace/tfile-avx.exp: New test.
4717
4718 2016-02-09 Keith Seitz <keiths@redhat.com>
4719
4720 PR breakpoints/19546
4721 * gdb.base/infcall-exec.c: New file.
4722 * gdb.base/infcall-exec2.c: New file.
4723 * gdb.base/infcall-exec.exp: New file.
4724
4725 2016-02-09 Keith Seitz <keiths@redhat.com>
4726
4727 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
4728 (toplevel): Call test_bkpt_address.
4729
4730 2016-02-09 Keith Seitz <keiths@redhat.com>
4731
4732 PR python/19506
4733 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
4734 (toplevel): Call test_bkpt_address.
4735
4736 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
4737
4738 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
4739 to AC_OUTPUT.
4740 * configure: Regenerate.
4741
4742 2016-02-09 Pedro Alves <palves@redhat.com>
4743
4744 PR breakpoints/19548
4745 * gdb.base/execl-update-breakpoints.c (some_function): New
4746 function.
4747 (main): Call it.
4748 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
4749 Tighten expected GDB output.
4750
4751 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
4752
4753 * Makefile.in (ALL_SUBDIRS): Remove.
4754 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
4755 (distclean maintainer-clean realclean): Likewise.
4756 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
4757 * configure: Regenerate.
4758 * gdb.ada/Makefile.in: Delete.
4759 * gdb.arch/Makefile.in: Likewise.
4760 * gdb.asm/Makefile.in: Likewise.
4761 * gdb.base/Makefile.in: Likewise.
4762 * gdb.btrace/Makefile.in: Likewise.
4763 * gdb.cell/Makefile.in: Likewise.
4764 * gdb.compile/Makefile.in: Likewise.
4765 * gdb.cp/Makefile.in: Likewise.
4766 * gdb.disasm/Makefile.in: Likewise.
4767 * gdb.dlang/Makefile.in: Likewise.
4768 * gdb.dwarf2/Makefile.in: Likewise.
4769 * gdb.fortran/Makefile.in: Likewise.
4770 * gdb.gdb/Makefile.in: Likewise.
4771 * gdb.go/Makefile.in: Likewise.
4772 * gdb.guile/Makefile.in: Likewise.
4773 * gdb.java/Makefile.in: Likewise.
4774 * gdb.linespec/Makefile.in: Likewise.
4775 * gdb.mi/Makefile.in: Likewise.
4776 * gdb.modula2/Makefile.in: Likewise.
4777 * gdb.multi/Makefile.in: Likewise.
4778 * gdb.objc/Makefile.in: Likewise.
4779 * gdb.opencl/Makefile.in: Likewise.
4780 * gdb.opt/Makefile.in: Likewise.
4781 * gdb.pascal/Makefile.in: Likewise.
4782 * gdb.perf/Makefile.in: Likewise.
4783 * gdb.python/Makefile.in: Likewise.
4784 * gdb.reverse/Makefile.in: Likewise.
4785 * gdb.server/Makefile.in: Likewise.
4786 * gdb.stabs/Makefile.in: Likewise.
4787 * gdb.threads/Makefile.in: Likewise.
4788 * gdb.trace/Makefile.in: Likewise.
4789 * gdb.xml/Makefile.in: Likewise.
4790 * lib/gdb.exp (make_gdb_parallel_path): Add check for
4791 GDB_PARALLEL.
4792 (standard_output_file): Remove check for GDB_PARALLEL, always
4793 return path in outputs/$subdir/$testname.
4794
4795 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
4796
4797 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
4798 (site.exp): Assign abs_srcdir to tcl's srcdir.
4799
4800 2016-02-04 Yao Qi <yao.qi@linaro.org>
4801
4802 * gdb.base/foll-exec-mode.c: Include limits.h.
4803 (main): Add parameters argc and argv. Get directory from
4804 argv[0].
4805 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
4806 compilation.
4807 * gdb.base/foll-exec.c: Include limits.h.
4808 (main): Add parameters argc and argv.
4809 Get directory from argv[0].
4810 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
4811 Adjust tests on the number of lines as source code changed.
4812 * gdb.base/foll-vfork-exit.c: Include limits.h.
4813 (main): Add one line of statement before vfork.
4814 * gdb.base/foll-vfork.c: Include limits.h and string.h.
4815 (main): Add parameters argc and argv. Get directory from
4816 argv[0].
4817 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
4818 (setup_gdb): Set tbreak to skip some source lines.
4819 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
4820 (main): Add parameters argc and argv. Get directory from
4821 argv[0].
4822 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
4823 compilation.
4824 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
4825 (main): Add parameters argc and argv. Get directory from
4826 argv[0].
4827 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
4828 compilation.
4829
4830 2016-02-01 Doug Evans <dje@google.com>
4831
4832 * gdb.base/skip.exp: Clean up multiple references to same test name.
4833
4834 2016-02-01 Pedro Alves <palves@redhat.com>
4835
4836 PR remote/19496
4837 * gdb.threads/forking-threads-plus-breakpoint.exp
4838 (displaced_stepping_supported): New global.
4839 (probe_displaced_stepping_support): New procedure.
4840 (do_test): Add 'displaced' parameter, and use it.
4841 (top level): Check for displaced stepping support. Add displaced
4842 stepping on/off testing axis.
4843
4844 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
4845
4846 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
4847 pointer. Don't perform further tests on the unassociated pointer
4848 if the first test fails.
4849
4850 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
4851
4852 * gdb.base/max-value-size.c: New file.
4853 * gdb.base/max-value-size.exp: New file.
4854 * gdb.base/huge.exp: Disable max-value-size for this test.
4855
4856 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
4857
4858 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
4859
4860 2016-01-28 Yao Qi <yao.qi@linaro.org>
4861
4862 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
4863
4864 2016-01-25 Pedro Alves <palves@redhat.com>
4865
4866 PR threads/19461
4867 * gdb.base/fork-running-state.c: New file.
4868 * gdb.base/fork-running-state.exp: New file.
4869
4870 2016-01-25 Pedro Alves <palves@redhat.com>
4871
4872 PR gdb/19494
4873 * gdb.base/catch-fork-kill.c: New file.
4874 * gdb.base/catch-fork-kill.exp: New file.
4875
4876 2016-01-25 Pedro Alves <palves@redhat.com>
4877
4878 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
4879 Delete, moved to lib/gdb.exp.
4880 * gdb.threads/forking-threads-plus-breakpoint.exp
4881 (foreach_with_prefix): Likewise.
4882 * gdb.threads/process-dies-while-handling-bp.exp
4883 (foreach_with_prefix): Likewise.
4884 * lib/gdb.exp (foreach_with_prefix): New procedure.
4885
4886 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
4887
4888 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
4889 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
4890
4891 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
4892
4893 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
4894 endian targets.
4895
4896 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4897 Pedro Alves <palves@redhat.com>
4898
4899 Fix testsuite compatibility with Guile.
4900 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
4901 number.
4902
4903 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4904
4905 Fix testsuite compatibility with Guile.
4906 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
4907 (thread 1): New test for backtrace through signal handler.
4908
4909 2016-01-22 Yao Qi <yao.qi@linaro.org>
4910
4911 PR testsuite/19491
4912 * gdb.base/multi-forks.c: Include
4913 ../lib/unbuffer_output.c
4914 (main): Call gdb_unbuffer_output.
4915
4916 2016-01-21 Doug Evans <dje@google.com>
4917
4918 * lib/ada.exp (gdb_compile_ada): Fix typo.
4919
4920 2016-01-21 Joel Brobecker <brobecker@adacore.com>
4921
4922 * gdb.base/break-fun-addr.exp: New file.
4923 * gdb.base/break-fun-addr1.c: New file.
4924 * gdb.base/break-fun-addr2.c: New file.
4925
4926 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
4927
4928 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
4929 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
4930 enum flag values.
4931
4932 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
4933
4934 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
4935 when GDB can not set the vector return value. Add more comments
4936 for clarification.
4937
4938 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
4939
4940 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
4941 command.
4942
4943 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
4944
4945 * Makefile.in (DO_RUNTEST): Add --status and update usages.
4946
4947 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
4948
4949 * Makefile.in (check-single): Pass --status to runtest.
4950 (check/%.exp): Likewise.
4951
4952 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
4953
4954 * Makefile.in (check-parallel): Propagate return code from make
4955 do-check-parallel.
4956
4957 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
4958
4959 * gdb.trace/ftrace.exp: Fix expected message on continue.
4960 * gdb.trace/pending.exp: Fix expected message on continue.
4961 * gdb.trace/trace-break.exp: Fix expected message on continue.
4962
4963 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
4964
4965 * lib/gdb.exp (gdb_test): Remove unused global references.
4966
4967 2016-01-18 Pedro Alves <palves@redhat.com>
4968
4969 * gdb.base/async-shell.exp: Adjust expected output.
4970 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
4971 * gdb.base/siginfo-thread.exp: Adjust expected output.
4972 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
4973 * gdb.java/jnpe.exp: Adjust expected output.
4974 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
4975 * gdb.threads/continue-pending-status.exp: Adjust expected output.
4976 * gdb.threads/leader-exit.exp: Adjust expected output.
4977 * gdb.threads/manythreads.exp: Adjust expected output.
4978 * gdb.threads/pthreads.exp: Adjust expected output.
4979 * gdb.threads/schedlock.exp: Adjust expected output.
4980 * gdb.threads/siginfo-threads.exp: Adjust expected output.
4981 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
4982 expected output.
4983 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
4984 output.
4985 * gdb.threads/sigthread.exp: Adjust expected output.
4986 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
4987
4988 2016-01-18 Yao Qi <yao.qi@linaro.org>
4989
4990 * gdb.guile/scm-section-script.c: Replace @progbits with
4991 %progbits.
4992 * gdb.python/py-section-script.c: Likewise.
4993
4994 2016-01-15 Pedro Alves <palves@redhat.com>
4995
4996 * gdb.multi/tids.exp: Test star wildcard ranges.
4997
4998 2016-01-15 Pedro Alves <palves@redhat.com>
4999
5000 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
5001 command from "thread apply" invocation.
5002 (thr_apply_info_thr_invalid): Default the expected output to the
5003 input tid list.
5004 (top level): Add tests that use convenience variables. Add tests
5005 for "thread apply" with a valid TID list, but missing the command.
5006
5007 2016-01-13 Pedro Alves <palves@redhat.com>
5008
5009 * gdb.base/default.exp: Expect $_gthread as well.
5010 * gdb.multi/tids.exp: Test $_gthread.
5011 * gdb.threads/thread-specific.exp: Test $_gthread.
5012
5013 2016-01-13 Pedro Alves <palves@redhat.com>
5014
5015 * gdb.multi/tids.exp: Test "info threads -gid".
5016
5017 2016-01-13 Pedro Alves <palves@redhat.com>
5018
5019 * gdb.multi/tids.exp: Test InferiorThread.global_num and
5020 Breakpoint.thread.
5021 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
5022
5023 2016-01-07 Pedro Alves <palves@redhat.com>
5024
5025 * gdb.base/break.exp: Adjust to output changes.
5026 * gdb.base/hbreak2.exp: Likewise.
5027 * gdb.base/sepdebug.exp: Likewise.
5028 * gdb.base/watch_thread_num.exp: Likewise.
5029 * gdb.linespec/keywords.exp: Likewise.
5030 * gdb.multi/info-threads.exp: Likewise.
5031 * gdb.threads/thread-find.exp: Likewise.
5032 * gdb.multi/tids.c: New file.
5033 * gdb.multi/tids.exp: New file.
5034
5035 2016-01-13 Pedro Alves <palves@redhat.com>
5036
5037 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
5038
5039 2016-01-13 Pedro Alves <palves@redhat.com>
5040
5041 * gdb.base/default.exp: Expect $_inferior as well.
5042 * gdb.multi/base.exp: Test $_inferior.
5043
5044 2016-01-13 Pedro Alves <palves@redhat.com>
5045
5046 PR breakpoints/19388
5047 * gdb.base/catch-signal-siginfo-cond.c: New file.
5048 * gdb.base/catch-signal-siginfo-cond.exp: New file.
5049
5050 2016-01-12 Josh Stone <jistone@redhat.com>
5051 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5052
5053 * gdb.base/catch-syscall.c (do_execve): New variable.
5054 (main): Conditionally trigger an execve.
5055 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
5056 (test_catch_syscall_execve): New, check entry/return across execve.
5057 (do_syscall_tests): Call test_catch_syscall_execve.
5058
5059 2016-01-12 Pedro Alves <palves@redhat.com>
5060
5061 * gdb.base/random-signal.exp (do_test): New procedure, with body
5062 of testcase moved in.
5063
5064 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5065 Pedro Alves <palves@redhat.com>
5066
5067 * gdb.base/funcargs.exp (finish from indirectly called function):
5068 Reintroduce the case for 'First'.
5069
5070 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5071 Pedro Alves <palves@redhat.com>
5072
5073 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
5074 (tcatch_vfork_then_child_follow_exec)
5075 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
5076 identification.
5077
5078 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5079
5080 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
5081 and repeats to unlimited.
5082 * gdb.python/py-value.exp: Likewise.
5083 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
5084 and repeats to unlimited.
5085
5086 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5087
5088 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
5089 and reordering the functions.
5090 * gdb.multi/hangout.c: Likewise.
5091 * gdb.multi/hello.c: Likewise.
5092
5093 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
5094
5095 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
5096 absolute.
5097 (SingleStatisticTestResult.report): Use dict.keys instead of
5098 dict.iterkeys.
5099
5100 2016-01-06 Pedro Alves <palves@redhat.com>
5101
5102 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
5103
5104 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
5105
5106 * gdb.btrace/dlopen.exp: New.
5107 * gdb.btrace/dlopen.c: New.
5108 * gdb.btrace/dlopen-dso.c: New.
5109
5110 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
5111
5112 * lib/gdb.exp (gdb_test): Update comments to clarify that the
5113 PATTERN argument is optional.
5114
5115 2015-12-24 Joel Brobecker <brobecker@adacore.com>
5116
5117 * lib/ada.exp (target_compile_ada_from_dir): New function.
5118 (gdb_compile_ada): Reimplement avoiding the use of project files.
5119 * gdb.ada/gnat_ada.gpr: Delete.
5120 * gdb.ada/cond_lang.exp: Adjust test to make path before
5121 filename optional.
5122 * gdb.ada/small_reg_param.exp: Likewise.
5123
5124 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
5125
5126 * gdb.base/foll-vork.exp: Remove HP-UX special case.
5127
5128 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
5129
5130 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
5131 case.
5132
5133 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
5134
5135 * gdb.base/break.exp: Remove dead code.
5136 * gdb.base/sepdebug.exp: Likewise.
5137
5138 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
5139
5140 * gdb.asm/asm-source.exp: Remove HP-UX references.
5141 * gdb.base/annota1.exp: Likewise.
5142 * gdb.base/annota3.exp: Likewise.
5143 * gdb.base/attach.exp: Likewise.
5144 * gdb.base/bigcore.exp: Likewise.
5145 * gdb.base/break.exp: Likewise.
5146 * gdb.base/call-ar-st.exp: Likewise.
5147 * gdb.base/callfuncs.exp: Likewise.
5148 * gdb.base/catch-fork-static.exp: Likewise.
5149 * gdb.base/display.exp: Likewise.
5150 * gdb.base/foll-exec-mode.exp: Likewise.
5151 * gdb.base/foll-exec.exp: Likewise.
5152 * gdb.base/foll-fork.exp: Likewise.
5153 * gdb.base/foll-vfork.exp: Likewise.
5154 * gdb.base/funcargs.exp: Likewise.
5155 * gdb.base/hbreak2.exp: Likewise.
5156 * gdb.base/inferior-died.exp: Likewise.
5157 * gdb.base/interrupt.exp: Likewise.
5158 * gdb.base/multi-forks.exp: Likewise.
5159 * gdb.base/nodebug.exp: Likewise.
5160 * gdb.base/sepdebug.exp: Likewise.
5161 * gdb.base/solib1.c: Likewise.
5162 * gdb.base/step-test.exp: Likewise.
5163 * gdb.mi/non-stop.c: Likewise.
5164 * gdb.mi/pthreads.c: Likewise.
5165 * gdb.multi/bkpt-multi-exec.ex: Likewise.
5166 * gdb.threads/pthreads.c: Likewise.
5167 * gdb.threads/staticthreads.exp: Likewise.
5168 * lib/future.exp: Likewise.
5169 * lib/gdb.exp: Likewise.
5170 * gdb.base/so-indr-cl.c: Remove.
5171 * gdb.base/so-indr-cl.exp: Likewise.
5172 * gdb.base/solib.c: Likewise.
5173 * gdb.base/solib.exp: Likewise.
5174 * gdb.base/solib2.c: Likewise.
5175
5176 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
5177
5178 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
5179 * gdb.base/call-ar-st.exp: Likewise.
5180 * gdb.base/callfuncs.exp: Likewise.
5181 * gdb.base/condbreak.exp: Likewise.
5182 * gdb.base/constvars.exp: Likewise.
5183 * gdb.base/hbreak2.exp: Likewise.
5184 * gdb.base/langs.exp: Likewise.
5185 * gdb.base/list.exp: Likewise.
5186 * gdb.base/long_long.exp: Likewise.
5187 * gdb.base/ptype.exp: Likewise.
5188 * gdb.base/scope.exp: Likewise.
5189 * gdb.base/signals.exp: Likewise.
5190 * gdb.base/so-impl-ld.exp: Likewise.
5191 * gdb.base/varargs.exp: Likewise.
5192 * gdb.base/volatile.exp: Likewise.
5193 * gdb.base/whatis.exp: Likewise.
5194 * gdb.cp/cplusfuncs.exp: Likewise.
5195 * gdb.cp/inherit.exp: Likewise.
5196 * gdb.cp/local.exp: Likewise.
5197 * gdb.cp/member-ptr.exp: Likewise.
5198 * gdb.cp/method.exp: Likewise.
5199 * gdb.cp/overload.exp: Likewise.
5200 * gdb.cp/templates.exp: Likewise.
5201 * gdb.stabs/weird.exp: Likewise.
5202 * lib/compiler.c: Likewise.
5203 * lib/compiler.cc: Likewise.
5204 * lib/cp-support.exp: Likewise.
5205 * lib/gdb.exp: Likewise.
5206
5207 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
5208
5209 * configure.ac: Remove HP-UX case.
5210 * configure: Regenerate.
5211
5212 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
5213
5214 * lib/gdb.exp (gdb_compile): Add function doc.
5215
5216 2015-12-17 Pedro Alves <palves@redhat.com>
5217
5218 PR threads/19354
5219 * gdb.multi/info-threads.exp: New file.
5220
5221 2015-12-15 Yao Qi <yao.qi@linaro.org>
5222
5223 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
5224 is aarch64*-*-*.
5225
5226 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
5227
5228 * gdb.base/history-duplicates.exp: Skip if no readline support.
5229
5230 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
5231
5232 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
5233
5234 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
5235
5236 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
5237
5238 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
5239
5240 * gdb.base/completion.exp: Skip tests that interrupt GDB with
5241 ctrl-C if nointerrupts target property is set.
5242 * gdb.base/double-prompt-target-event-error.exp: Likewise.
5243 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
5244 * gdb.base/paginate-bg-execution.exp: Likewise.
5245 * gdb.base/paginate-execution-startup.exp: Likewise.
5246 * gdb.base/random-signal.exp: Likewise.
5247 * gdb.base/range-stepping.exp: Likewise.
5248 * gdb.cp/annota2.exp: Likewise.
5249 * gdb.cp/annota3.exp: Likewise.
5250 * gdb.gdb/selftest.exp: Likewise.
5251 * gdb.threads/continue-pending-status.exp: Likewise.
5252 * gdb.threads/leader-exit.exp: Likewise.
5253 * gdb.threads/manythreads.exp: Likewise.
5254 * gdb.threads/pthreads.exp: Likewise.
5255 * gdb.threads/schedlock.exp: Likewise.
5256 * gdb.threads/sigthread.exp: Likewise.
5257
5258 2015-12-11 Don Breazeal <donb@codesourcery.com>
5259
5260 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
5261 remote.
5262 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
5263 * gdb.base/foll-exec.exp (main): Enable for target remote.
5264 * gdb.base/foll-fork.exp (main): Likewise.
5265 * gdb.base/foll-vfork.exp (main): Likewise.
5266 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
5267 (proc continue_to_exit_bp_loc): Use clean_restart.
5268 * gdb.base/pie-execl.exp (main): Disable for target remote.
5269 * gdb.base/watch-vfork.exp (main): Enable for target remote.
5270 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
5271 * gdb.threads/execl.exp (main): Likewise.
5272 * gdb.threads/fork-child-threads.exp (main): Likewise.
5273 * gdb.threads/fork-plus-threads.exp (main): Disable for target
5274 remote.
5275 * gdb.threads/fork-thread-pending.exp (main): Enable for target
5276 remote.
5277 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
5278 pid.tid style ptids, instead of just tid.
5279 * gdb.threads/thread-execl.exp (main): Enable for target remote.
5280 * gdb.threads/watchpoint-fork.exp (main): Likewise.
5281 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
5282 ptids, instead of just tid.
5283
5284 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
5285
5286 * gdb.base/list.exp (test_list_forward): Add end of file error
5287 test.
5288 (test_repeat_list_command): Add end of file error test.
5289 (test_list_backwards): Add beginning of file error test.
5290
5291 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
5292
5293 * gdb.base/list.exp (test_list_invalid_args): New function,
5294 defined, and called.
5295
5296 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
5297
5298 * gdb.base/list.exp (test_list): Make test names unique.
5299
5300 2015-12-11 Yao Qi <yao.qi@linaro.org>
5301
5302 * gdb.base/coremaker2.c: Remove.
5303
5304 2015-12-10 Pedro Alves <palves@redhat.com>
5305
5306 * gdb.multi/base.exp: Remove stale "spaces" references.
5307
5308 2015-12-10 Pedro Alves <palves@redhat.com>
5309
5310 * gdb.multi/base.exp: Don't use nowarnings.
5311 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
5312 * gdb.multi/hangout.c: Include stdio.h.
5313 * gdb.multi/hello.c: Include stdlib.h.
5314 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
5315 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
5316 * gdb.multi/multi-arch.exp: Don't use nowarnings.
5317
5318 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
5319
5320 * gdb.dwarf2/dw2-ranges-base.c: New file.
5321 * gdb.dwarf2/dw2-ranges-base.exp: New file.
5322 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
5323 support additional line table, and debug ranges generation.
5324 (Dwarf::ranges): New function, generate .debug_ranges.
5325 (Dwarf::lines): Support generating simple line table programs.
5326 (Dwarf::assemble): Initialise new namespace variables.
5327
5328 2015-12-09 Kevin Buettner <kevinb@redhat.com>
5329
5330 * gdb.base/async.exp (proc test_background): Add case for
5331 asynchronous execution not supported.
5332
5333 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
5334
5335 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
5336 format and change test names to make them unique.
5337
5338 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
5339 Pedro Alves <pedro@redhat.com>
5340
5341 PR gdb/18702
5342 Add checking of floatformats setup on x86_64 hosts.
5343 * gdb.arch/i386-float.S (main): Load bigval and smallval.
5344 (smallval, bigval): New labels/constants.
5345 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
5346 float" after loading bigval and smallval.
5347
5348 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
5349
5350 * gdb.ada/fun_overload_menu.exp: New testcase.
5351 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
5352
5353 2015-12-04 Josh Stone <jistone@redhat.com>
5354
5355 * gdb.base/catch-fork-static.exp: New.
5356
5357 2015-12-03 Yao Qi <yao.qi@linaro.org>
5358
5359 * gdb.base/sizeof.c: Don't include stdio.h and
5360 ../lib/unbuffer_output.c.
5361 (main): New variable 'size' and 'value'. Remove printf and
5362 gdb_unbuffer_output. Assign return value to size and value.
5363 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
5364 at the beginning.
5365 (check_sizeof): Check the result by printing variable 'size'.
5366 (check_valueof): Check the result by printing variable 'value'.
5367
5368 2015-12-01 Yao Qi <yao.qi@linaro.org>
5369
5370 * gdb.base/disp-step-syscall.exp: Define syscall instruction
5371 for aarch64*-*-linux* target.
5372
5373 2015-11-30 Pedro Alves <palves@redhat.com>
5374
5375 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
5376
5377 2015-11-30 Pedro Alves <palves@redhat.com>
5378
5379 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
5380 Handle non-stop mode vCont replies.
5381
5382 2015-11-30 Pedro Alves <palves@redhat.com>
5383
5384 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
5385 prepare_for_testing. Start gdb with "set non-stop on" appended to
5386 GDBFLAGS. Lax expected stop output.
5387
5388 2015-11-27 Yao Qi <yao.qi@linaro.org>
5389
5390 * gdb.arch/arm-neon.exp: New.
5391 * gdb.arch/arm-neon.c: New.
5392
5393 2015-11-27 Yao Qi <yao.qi@linaro.org>
5394
5395 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
5396
5397 2015-11-27 Yao Qi <yao.qi@linaro.org>
5398
5399 * gdb.cp/annota2.exp: Allow multiple occurrences of the
5400 frames-invalid annotation.
5401
5402 2015-11-27 Yao Qi <yao.qi@linaro.org>
5403
5404 * gdb.cp/annota2.exp: Use ${frames_invalid}.
5405
5406 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
5407
5408 * gdb.threads/names.exp: New file.
5409 * gdb.threads/names.c: New file.
5410 * README: Mention gdb,no_thread_names.
5411
5412 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
5413
5414 PR 19297
5415 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
5416 support" error.
5417
5418 2015-11-24 Pedro Alves <palves@redhat.com>
5419
5420 PR 17539
5421 * gdb.base/display.exp: Expect displays to be sorted in ascending
5422 order. Use multi_line.
5423 * gdb.base/solib-display.exp: Likewise.
5424
5425 2015-11-24 Pedro Alves <palves@redhat.com>
5426
5427 PR 17539
5428 * gdb.base/display.exp: Expect displays to be sorted in ascending
5429 order. Use multi_line.
5430 * gdb.base/solib-display.exp: Likewise.
5431
5432 2015-11-24 Pedro Alves <palves@redhat.com>
5433
5434 PR 17539
5435 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
5436 threads in ascending order.
5437 * gdb.base/foll-fork.exp: Likewise.
5438 * gdb.base/foll-vfork.exp: Likewise.
5439 * gdb.base/multi-forks.exp: Likewise.
5440 * gdb.mi/mi-nonstop.exp: Likewise.
5441 * gdb.mi/mi-nsintrall.exp: Likewise.
5442 * gdb.multi/base.exp: Likewise.
5443 * gdb.multi/multi-arch.exp: Likewise.
5444 * gdb.python/py-inferior.exp: Likewise.
5445 * gdb.threads/break-while-running.exp: Likewise.
5446 * gdb.threads/execl.exp: Likewise.
5447 * gdb.threads/gcore-thread.exp: Likewise.
5448 * gdb.threads/info-threads-cur-sal.exp: Likewise.
5449 * gdb.threads/kill.exp: Likewise.
5450 * gdb.threads/linux-dp.exp: Likewise.
5451 * gdb.threads/multiple-step-overs.exp: Likewise.
5452 * gdb.threads/next-bp-other-thread.exp: Likewise.
5453 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
5454 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
5455 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
5456 * gdb.threads/thread-find.exp: Likewise.
5457 * gdb.threads/tls.exp: Likewise.
5458 * lib/mi-support.exp (mi_reverse_list): Delete.
5459 (mi_check_thread_states): No longer reverse list.
5460
5461 2015-11-24 Pedro Alves <palves@redhat.com>
5462
5463 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
5464 use lowercase.
5465
5466 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
5467
5468 * gdb.trace/actions.c: Include trace-common.h.
5469 (main): Add a location for a fast tracepoint.
5470 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
5471 the normal tracepoints.
5472 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
5473
5474 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
5475
5476 * save-trace.exp: Factor out code to these...
5477 (gdb_save_tracepoints): New.
5478 (gdb_load_tracepoints): New.
5479 (do_save_load_test): New.
5480
5481 2015-11-23 Kevin Buettner <kevinb@redhat.com>
5482
5483 * gdb.base/asmlabel.exp: New test.
5484 * gdb.base/asmlabel.c: New test case.
5485
5486 2015-11-23 Joel Brobecker <brobecker@adacore.com>
5487
5488 * gdb.base/wrong_frame_bt_full-main.c: New file.
5489 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
5490 * gdb.base/wrong_frame_bt_full.exp: New file.
5491
5492 2015-11-23 Joel Brobecker <brobecker@adacore.com>
5493
5494 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
5495
5496 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
5497
5498 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
5499 pstate register when comparing registers values in
5500 sparc64-*-linux-gnu targets to avoid spurious differences.
5501
5502 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
5503
5504 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
5505
5506 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
5507
5508 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
5509 as type argument to gdb_compile.
5510 * gdb.base/nested-subp2.exp: Likewise.
5511 * gdb.base/nested-subp3.exp: Likewise.
5512
5513 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
5514
5515 * lib/dwarf.exp (_note): Fix left shift of negative value.
5516 * gdb.trace/trace-condition.exp: Likewise.
5517
5518 2015-11-13 Yao Qi <yao.qi@linaro.org>
5519
5520 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
5521 comments about d10v.
5522 (test_scalar_returns): Likewise.
5523 * gdb.base/d10v.ld: Remove.
5524 * gdb.base/overlays.exp: Remove the target triplet checking for
5525 d10v-*-*.
5526 * gdb.base/structs.exp (test_struct_returns): Remove the
5527 comments about d10v.
5528 (test_struct_calls): Likewise.
5529
5530 2015-11-13 Yao Qi <yao.qi@linaro.org>
5531
5532 * gdb.base/gnu_vector.exp: Check the return value by "p res".
5533 * gdb.base/gnu_vector.c: Don't include stdio.h.
5534 (main): Don't print res and call add_some_intvecs.
5535
5536 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
5537
5538 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
5539 macro.
5540 (func5): Removed.
5541 (func4): Use FAST_TRACEPOINT_LABEL.
5542 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
5543 macro.
5544 (func): Removed.
5545 (thread_function): Use FAST_TRACEPOINT_LABEL.
5546 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
5547 (func): Remove.
5548 (marker): Use FAST_TRACEPOINT_LABEL.
5549 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
5550 (pendfunc1): Remove.
5551 (pendfunc): Use FAST_TRACEPOINT_LABEL.
5552 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
5553 (foo): Remove.
5554 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
5555 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
5556 macro.
5557 (func): Remove.
5558 (marker): Use FAST_TRACEPOINT_LABEL.
5559 * gdb.trace/trace-common.h: New header.
5560 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
5561 macro.
5562 (func): Remove.
5563 (marker): Use FAST_TRACEPOINT_LABEL.
5564 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
5565 (func): Remove.
5566 (thread_function): Use FAST_TRACEPOINT_LABEL.
5567
5568 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
5569
5570 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
5571 in front.
5572 * gdb.trace/change-loc.exp: Use global pcreg definition.
5573 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
5574 * gdb.trace/entry-values.exp: Use global spreg definition, add $
5575 in front.
5576 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
5577 * gdb.trace/pending.exp: Likewise.
5578 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
5579 * gdb.trace/trace-break.exp: Likewise.
5580 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
5581 in front.
5582 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
5583 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
5584 in front.
5585 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
5586
5587 2015-11-09 Joel Brobecker <brobecker@adacore.com>
5588
5589 * gdb.ada/fin_fun_out: New testcase.
5590
5591 2015-11-07 Kevin Buettner <kevinb@redhat.com>
5592
5593 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
5594 value associated with DW_AT_byte_size.
5595 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
5596 constants for DW_AT_byte_size, DW_AT_lower_bound, and
5597 DW_AT_upper_bound.
5598
5599 2015-11-07 Kevin Buettner <kevinb@redhat.com>
5600
5601 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
5602 (gdb_target_symbol_prefix_flags): Define in terms of _asm
5603 version.
5604 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
5605 gdb.dwarf2/dw2-canonicalize-type.exp,
5606 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
5607 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
5608 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
5609 provided by gdb_target_symbol_prefix_flags_asm.
5610 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
5611 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
5612 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
5613 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
5614 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
5615 macros where needed). Use this macro for symbols which require
5616 the prefix provided by SYMBOL_PREFIX.
5617
5618 2015-11-05 Kevin Buettner <kevinb@redhat.com>
5619
5620 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
5621 New procs.
5622 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
5623 representing expressions, of more than one list element.
5624 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
5625 to prepend linker symbol prefix to f.
5626 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
5627 table_1 and table_2.
5628 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
5629 Likewise, for f and g.
5630 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
5631 for ptr.
5632 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
5633 for main.
5634 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
5635 table_1_ptr and table_2_ptr.
5636
5637 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5638 Joel Brobecker <brobecker@adacore.com>
5639
5640 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
5641
5642 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
5643
5644 * gdb.reverse/s390-mvcle.c: New test.
5645 * gdb.reverse/s390-mvcle.exp: New file.
5646 * lib/gdb.exp: Enable reverse tests on s390*-linux.
5647
5648 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
5649
5650 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
5651
5652 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
5653
5654 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
5655 reaching marker2.
5656 * gdb.reverse/getresuid-reverse.exp: Likewise.
5657 * gdb.reverse/pipe-reverse.exp: Likewise.
5658 * gdb.reverse/readv-reverse.exp: Likewise.
5659 * gdb.reverse/recvmsg-reverse.exp: Likewise.
5660 * gdb.reverse/time-reverse.exp: Likewise.
5661 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
5662
5663 2015-10-30 Yao Qi <yao.qi@linaro.org>
5664
5665 * gdb.threads/wp-replication.c (watch_count_done): Remove.
5666 (empty_cycle): Remove.
5667 (main): Don't call empty_cycle. Don't use watch_count_done.
5668 * gdb.threads/wp-replication.exp: Don't set breakpoint on
5669 empty_cycle. Rewrite the code counting HW watchpoints.
5670
5671 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
5672
5673 * gdb.reverse/fstatat-reverse.c: New test.
5674 * gdb.reverse/fstatat-reverse.exp: New file.
5675 * gdb.reverse/getresuid-reverse.c: New test.
5676 * gdb.reverse/getresuid-reverse.exp: New file.
5677 * gdb.reverse/pipe-reverse.c: New test.
5678 * gdb.reverse/pipe-reverse.exp: New file.
5679 * gdb.reverse/readv-reverse.c: New test.
5680 * gdb.reverse/readv-reverse.exp: New file.
5681 * gdb.reverse/recvmsg-reverse.c: New test.
5682 * gdb.reverse/recvmsg-reverse.exp: New file.
5683 * gdb.reverse/time-reverse.c: New test.
5684 * gdb.reverse/time-reverse.exp: New file.
5685 * gdb.reverse/waitpid-reverse.c: New test.
5686 * gdb.reverse/waitpid-reverse.exp: New file.
5687
5688 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5689
5690 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
5691
5692 2015-10-26 Doug Evans <dje@google.com>
5693
5694 PR symtab/17391
5695 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
5696 * gdb.dwarf2/bad-regnum.c: New file.
5697 * gdb.dwarf2/bad-regnum.exp: New file.
5698
5699 2015-10-26 Doug Evans <dje@google.com>
5700
5701 PR python/18938
5702 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
5703 file.
5704
5705 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5706
5707 * gdb.compile/compile.exp (compile code globalvar): Update expectation
5708 for a change by "Mention language in compile error message".
5709
5710 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
5711
5712 PR python/18073
5713 * gdb.python/py-type.c (C::a_method): New.
5714 (C::a_const_method): New.
5715 (C::a_static_method): New.
5716 (a_function): New.
5717 * gdb.python/py-type.exp (test_fields): Test getting fields
5718 from function and method.
5719
5720 2015-10-21 Keven Boell <keven.boell@intel.com>
5721
5722 * gdb.fortran/vla-alloc-assoc.exp: New file.
5723 * gdb.fortran/vla-datatypes.exp: New file.
5724 * gdb.fortran/vla-datatypes.f90: New file.
5725 * gdb.fortran/vla-history.exp: New file.
5726 * gdb.fortran/vla-ptype-sub.exp: New file.
5727 * gdb.fortran/vla-ptype.exp: New file.
5728 * gdb.fortran/vla-sizeof.exp: New file.
5729 * gdb.fortran/vla-sub.f90: New file.
5730 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
5731 * gdb.fortran/vla-value-sub-finish.exp: New file.
5732 * gdb.fortran/vla-value-sub.exp: New file.
5733 * gdb.fortran/vla-value.exp: New file.
5734 * gdb.fortran/vla-ptr-info.exp: New file.
5735 * gdb.mi/mi-vla-fortran.exp: New file.
5736 * gdb.mi/vla.f90: New file.
5737
5738 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
5739
5740 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
5741 of hardwired timeout value.
5742
5743 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5744 Pedro Alves <palves@redhat.com>
5745
5746 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
5747 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
5748
5749 2015-10-19 Josh Stone <jistone@redhat.com>
5750
5751 * gdb.base/catch-syscall.c: Include <sched.h>.
5752 (unknown_syscall): New variable.
5753 (main): Trigger a vfork and an unknown syscall.
5754 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
5755 (unknown_syscall_number): Likewise.
5756 (check_call_to_syscall): Accept an optional syscall pattern.
5757 (check_return_from_syscall): Likewise.
5758 (check_continue): Likewise.
5759 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
5760 (test_catch_syscall_skipping_return): New test toggling off 'catch
5761 syscall' to step over the syscall return, then toggling back on.
5762 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
5763 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
5764 (do_syscall_tests): Call test_catch_syscall_without_args and
5765 test_catch_syscall_mid_vfork.
5766 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
5767 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
5768
5769 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
5770
5771 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
5772 print g_vE): Add new pass patterns.
5773 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
5774 print various symbol names for vptr fields.
5775
5776 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
5777
5778 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
5779 results.
5780
5781 2015-10-12 Yao Qi <yao.qi@linaro.org>
5782
5783 * gdb.arch/disp-step-insn-reloc.exp: New test case.
5784
5785 2015-10-12 Yao Qi <yao.qi@linaro.org>
5786
5787 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
5788 is aarch64*-*-linux*.
5789
5790 2015-10-12 Yao Qi <yao.qi@linaro.org>
5791
5792 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
5793 (can_relocate_bcond_true): ... it.
5794 (can_relocate_bcond_false): New function.
5795 (foo): Likewise.
5796 (can_relocate_bl): Likewise.
5797 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
5798 can_relocate_bl.
5799
5800 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
5801
5802 * gdb.base/nested-addr.c: New file.
5803 * gdb.base/nested-addr.exp: New testcase.
5804
5805 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
5806
5807 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
5808 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
5809 its output. Ignore the output of "record goto begin" and instead
5810 check that GDB is replaying.
5811
5812 2015-10-09 Pedro Alves <palves@redhat.com>
5813
5814 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
5815 (top level): Use it in the run with no args test.
5816
5817 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
5818
5819 * gdb.dlang/properties.exp: New file.
5820
5821 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
5822
5823 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
5824 whether or not address 0x1000 is mapped on the target.
5825
5826 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
5827
5828 * gdb.python/py-type.exp: Do not run tests if binaries fail to
5829 build.
5830
5831 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
5832
5833 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
5834 instruction-history test.
5835
5836 2015-09-28 Doug Evans <dje@google.com>
5837
5838 * gdb.base/gcore.c (array_func): Add reference to static_array.
5839
5840 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
5841
5842 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
5843 source line.
5844
5845 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
5846
5847 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
5848 short or char as base type.
5849
5850 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
5851
5852 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
5853 to allow any size enum.
5854
5855 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
5856
5857 * gdb.ada/array_ptr_renaming.exp: New testcase.
5858 * gdb.ada/array_ptr_renaming/foo.adb: New file.
5859 * gdb.ada/array_ptr_renaming/pack.ads: New file.
5860
5861 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
5862
5863 * gdb.trace/ftrace-lock.c: New file.
5864 * gdb.trace/ftrace-lock.exp: New file.
5865
5866 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
5867
5868 * gdb.arch/insn-reloc.c: New file.
5869 * gdb.arch/ftrace-insn-reloc.exp: New file.
5870
5871 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
5872
5873 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
5874 instruction.
5875 * gdb.trace/pendshr1.c (pendfunc): Likewise.
5876 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
5877 * gdb.trace/range-stepping.c: Likewise.
5878 * gdb.trace/trace-break.c: Likewise.
5879 * gdb.trace/trace-mt.c (thread_function): Likewise.
5880 * gdb.trace/ftrace.c (marker): Likewise.
5881 * gdb.trace/trace-condition.c (marker): Likewise.
5882 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
5883 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
5884 is_aarch64_target.
5885
5886 2015-09-18 Doug Evans <xdje42@gmail.com>
5887
5888 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
5889 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
5890
5891 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5892
5893 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
5894 the breakpoint.
5895
5896 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5897
5898 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
5899 the pending breakpoint. Remove timeout override for "Run till
5900 MI pending breakpoint on pendfunc3 on thread 2" test.
5901
5902 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5903
5904 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
5905 filename pattern.
5906
5907 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5908
5909 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
5910 in breakpoint filename pattern.
5911
5912 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5913
5914 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
5915
5916 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5917
5918 * gdb.linespec/explicit.exp: Check for readline support for
5919 tab-completion tests. Fix obvious typo.
5920
5921 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
5922
5923 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
5924 and replay.
5925
5926 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
5927
5928 * gdb.btrace/non-stop.c: New.
5929 * gdb.btrace/non-stop.exp: New.
5930
5931 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
5932 Yao Qi <yao.qi@linaro.org>
5933
5934 * gdb.trace/trace-condition.c: New file.
5935 * gdb.trace/trace-condition.exp: New file.
5936
5937 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
5938
5939 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
5940 for testing bytecode compilation.
5941
5942 2015-09-16 Pedro Alves <palves@redhat.com>
5943 Sandra Loosemore <sandra@codesourcery.com>
5944
5945 * gdb.threads/non-stop-fair-events.c (timeout): New global.
5946 (SECONDS): Redefine.
5947 (main): Call pthread_kill and alarm early.
5948 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
5949 support.
5950 (test): If the target can't hardware step and doesn't support
5951 displaced stepping, increase the timeout.
5952
5953 2015-09-16 Pedro Alves <palves@redhat.com>
5954
5955 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
5956 (enable_debug): New procedures.
5957 (test): Use them. Bail out if waiting for threads fails.
5958 (top level): Bail out if a test fails.
5959
5960 2015-09-16 Yao Qi <yao.qi@linaro.org>
5961
5962 * gdb.asm/asm-source.exp: Set asm-arch for
5963 aarch64*-*-* target.
5964 * gdb.asm/aarch64.inc: New file.
5965
5966 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
5967
5968 * gdb.ada/array_of_variable_length.exp: New testcase.
5969 * gdb.ada/array_of_variable_length/foo.adb: New file.
5970 * gdb.ada/array_of_variable_length/pck.adb: New file.
5971 * gdb.ada/array_of_variable_length/pck.ads: New file.
5972
5973 2015-09-15 Doug Evans <dje@google.com>
5974
5975 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
5976 of function static local variable.
5977
5978 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5979
5980 * gdb.threads/tls-so_extern.exp: New test file.
5981 * gdb.threads/tls-so_extern.c: New test file.
5982 * gdb.threads/tls-so_extern_main.c: New test file.
5983
5984 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5985
5986 * gdb.opt/solib-intra-step-lib.c: New file.
5987 * gdb.opt/solib-intra-step-main.c: New file.
5988 * gdb.opt/solib-intra-step.exp: New file.
5989
5990 2015-09-15 Pedro Alves <palves@redhat.com>
5991
5992 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
5993 gdb_continue_to_breakpoint instead of gdb_test_multiple.
5994
5995 2015-09-14 Pedro Alves <palves@redhat.com>
5996
5997 * gdb.base/hook-stop-continue.c: Delete.
5998 * gdb.base/hook-stop-continue.exp: Delete.
5999 * gdb.base/hook-stop-frame.c: Delete.
6000 * gdb.base/hook-stop-frame.exp: Delete.
6001 * gdb.base/hook-stop.c: New file.
6002 * gdb.base/hook-stop.exp: New file.
6003
6004 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
6005
6006 * gdb.ada/access_to_packed_array.exp: New testcase.
6007 * gdb.ada/access_to_packed_array/foo.adb: New file.
6008 * gdb.ada/access_to_packed_array/pack.adb: New file.
6009 * gdb.ada/access_to_packed_array/pack.ads: New file.
6010
6011 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
6012
6013 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
6014 buffer size test.
6015
6016 2015-09-11 Don Breazeal <donb@codesourcery.com>
6017
6018 * gdb.base/foll-exec.c: Add copyright header. Fix
6019 formatting issues.
6020 * gdb.base/foll-exec.exp (zap_session): Delete proc.
6021 (do_exec_tests): Use clean_restart in place of zap_session,
6022 and for test initialization. Fix formatting issues. Use
6023 fail in place of perror.
6024 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
6025 an expect statement to match an expression with output from
6026 the program under debug.
6027 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
6028 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
6029 * gdb.threads/non-ldr-exc-2.exp: Likewise.
6030 * gdb.threads/non-ldr-exc-3.exp: Likewise.
6031 * gdb.threads/non-ldr-exc-4.exp: Likewise.
6032
6033 2015-09-09 Doug Evans <dje@google.com>
6034
6035 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
6036
6037 2015-09-09 Doug Evans <dje@google.com>
6038
6039 * gdb.base/pie-execl.exp: Fix result test of build_executable.
6040
6041 2015-09-09 Doug Evans <dje@google.com>
6042
6043 * gdb.base/savedregs.exp: Fix typo.
6044
6045 2015-09-09 Pedro Alves <palves@redhat.com>
6046
6047 * gdb.mi/mi-cli.exp: Add CLI finish tests.
6048
6049 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
6050
6051 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
6052 command actually switches threads. Give up on remaining
6053 tests if target fails to stop at breakpoint.
6054
6055 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
6056
6057 * gdb.ada/funcall_char.exp: New testcase.
6058 * gdb.ada/funcall_char/foo.adb: New file.
6059
6060 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
6061
6062 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
6063 expected outputs. Add two testcases for completing ambiguous
6064 functions.
6065 * gdb.ada/complete/aux_pck.adb: New file.
6066 * gdb.ada/complete/aux_pck.ads: New file.
6067 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
6068 Ambiguous_Func functions.
6069 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
6070 * gdb.ada/complete/pck.adb: Likewise.
6071
6072 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
6073
6074 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
6075 failures to run the test program under GDB.
6076
6077 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
6078
6079 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
6080 to C.
6081
6082 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
6083
6084 * gdb.base/run-after-attach.exp: New test file.
6085 * gdb.base/run-after-attach.c: New test file.
6086
6087 2015-08-26 Don Breazeal <donb@codesourcery.com>
6088
6089 * gdb.base/foll-exec-2.c: New test program.
6090 * gdb.base/foll-exec-2.exp: New test.
6091
6092 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
6093
6094 * gdb.base/nested-subp1.exp: New file.
6095 * gdb.base/nested-subp1.c: New file.
6096 * gdb.base/nested-subp2.exp: New file.
6097 * gdb.base/nested-subp2.c: New file.
6098 * gdb.base/nested-subp3.exp: New file.
6099 * gdb.base/nested-subp3.c: New file.
6100
6101 2015-08-24 Pedro Alves <palves@redhat.com>
6102
6103 * gdb.server/connect-without-multi-process.c: New file.
6104 * gdb.server/connect-without-multi-process.exp: New file.
6105
6106 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
6107
6108 * gdb.opt/inline-markers.c: Make z int.
6109
6110 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
6111
6112 * gdb.opt/inline-markers.c: Make z volatile.
6113
6114 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
6115
6116 * gdb.opt/inline-bt.c: New volatile global z.
6117 * gdb.opt/inline-cmds.c: Likewise.
6118 * gdb.opt/inline-locals.c: Likewise.
6119 * gdb.opt/inline-markers.c: New extern global z.
6120 (marker): Use z.
6121 (inline_fn): Likewise.
6122
6123 2015-08-24 Pedro Alves <palves@redhat.com>
6124
6125 * config/m32r-stub.exp: Remove file.
6126 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
6127 * gdb.base/call-rt-st.exp: Likewise.
6128 * gdb.base/call-strs.exp: Likewise.
6129 * gdb.base/default.exp: Remove references to h8300-*-hms and
6130 *-*-udi*.
6131 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
6132
6133 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
6134
6135 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
6136 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
6137 and "return" use KFAIL when GDB can not read/write the vector
6138 return value.
6139
6140 2015-08-21 Gary Benson <gbenson@redhat.com>
6141
6142 * gdb.trace/pending.exp: Cope with remote transfer warnings.
6143
6144 2015-08-20 Pedro Alves <palves@redhat.com>
6145
6146 * gdb.server/solib-list.exp: No longer expect an interior stop in
6147 non-stop mode.
6148
6149 2015-08-20 Pedro Alves <palves@redhat.com>
6150
6151 * gdb.server/connect-stopped-target.c: New file.
6152 * gdb.server/connect-stopped-target.exp: New file.
6153
6154 2015-08-20 Pedro Alves <palves@redhat.com>
6155
6156 * gdb.dwarf2/comp-unit-lang.exp: New file.
6157 * gdb.dwarf2/comp-unit-lang.c: New file.
6158
6159 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
6160
6161 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
6162 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
6163
6164 2015-08-19 Kevin Buettner <kevinb@redhat.com>
6165
6166 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
6167 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
6168
6169 2015-08-18 Doug Evans <dje@google.com>
6170 Adrian Sendroiu <adrian.sendroiu@freescale.com>
6171
6172 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
6173 skip_python_tests. New arg prompt_regexp.
6174 (skip_python_tests): New function.
6175 * lib/mi-support.exp (mi_skip_python_tests): New function.
6176 * gdb.python/py-mi-objfile-gdb.py: New file.
6177 * gdb.python/py-mi-objfile.c: New file.
6178 * gdb.python/py-mi-objfile.exp: New file.
6179
6180 2015-08-17 Keith Seitz <keiths@redhat.com>
6181
6182 * gdb.linespec/explicit.exp: Move strace test from here ...
6183 * gdb.trace/strace.exp: ... to here.
6184
6185 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
6186
6187 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
6188 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
6189
6190 2015-08-14 Doug Evans <xdje42@gmail.com>
6191
6192 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
6193 inferior before selecting a new file.
6194
6195 2015-08-14 Doug Evans <xdje42@gmail.com>
6196
6197 * gdb.mi/mi-disassemble.exp: Update.
6198 * gdb.base/disasm-optim.S: New file.
6199 * gdb.base/disasm-optim.c: New file.
6200 * gdb.base/disasm-optim.h: New file.
6201 * gdb.base/disasm-optim.exp: New file.
6202
6203 2015-08-14 Keith Seitz <keiths@redhat.com>
6204
6205 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
6206 "evaluated-by".
6207
6208 2015-08-13 Joel Brobecker <brobecker@adacore.com>
6209
6210 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
6211
6212 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
6213
6214 * gdb.ada/fun_renaming.exp: New testcase.
6215 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
6216 * gdb.ada/fun_renaming/pack.adb: New file.
6217 * gdb.ada/fun_renaming/pack.ads: New file.
6218
6219 2015-08-12 Keith Seitz <keiths@redhat.com>
6220
6221 * gdb.base/dso2dso.exp: Pass basename of source file in call to
6222 gdb_get_line_number.
6223
6224 2015-08-12 Joel Brobecker <brobecker@adacore.com>
6225
6226 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
6227 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
6228 gdb.base/dso2dso.exp: New files.
6229
6230 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
6231 Pedro Alves <palves@redhat.com>
6232 Keith Seitz <keiths@redhat.com>
6233
6234 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
6235 GDBFLAGS.
6236
6237 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
6238
6239 * gdb.base/gdbhistsize-history.exp
6240 (test_histsize_history_setting): Use save_vars.
6241 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
6242 Use save_vars.
6243 (test_no_truncation_of_unlimited_history_file): Use save_vars.
6244 * gdb.base/readline.exp: Use save_vars.
6245
6246 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
6247
6248 * lib/gdb.exp (save_vars): New proc.
6249
6250 2015-08-11 Keith Seitz <keiths@redhat.com>
6251
6252 * gdb.base/help.exp: Update help_breakpoint_text.
6253
6254 2015-08-11 Keith Seitz <keiths@redhat.com>
6255
6256 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
6257 (at toplevel): Call test_explicit_breakpoints.
6258 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
6259 breakpoints.
6260 * lib/mi-support.exp (mi_make_breakpoint): Add support for
6261 breakpoint conditions, "-cond".
6262
6263 2015-08-11 Keith Seitz <keiths@redhat.com>
6264
6265 * gdb.linespec/3explicit.c: New file.
6266 * gdb.linespec/cpexplicit.cc: New file.
6267 * gdb.linespec/cpexplicit.exp: New file.
6268 * gdb.linespec/explicit.c: New file.
6269 * gdb.linespec/explicit.exp: New file.
6270 * gdb.linespec/explicit2.c: New file.
6271 * gdb.linespec/ls-errs.exp: Add explicit location tests.
6272 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
6273 before using in the matching pattern.
6274 Clarify that `prefix' is a regular expression.
6275
6276 2015-08-11 Keith Seitz <keiths@redhat.com>
6277
6278 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
6279 test.
6280 Add tests for missing ",FMT" and ",".
6281
6282 2015-08-10 Doug Evans <dje@google.com>
6283 Keith Seitz <keiths@redhat.com>
6284
6285 PR gdb/17960
6286 * gdb.base/completion.exp: Add location completer tests.
6287
6288 2015-08-07 Pedro Alves <palves@redhat.com>
6289
6290 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
6291 tests here.
6292 (top level): Run do_test with and without displaced stepping.
6293
6294 2015-08-07 Pedro Alves <palves@redhat.com>
6295
6296 * gdb.base/valgrind-disp-step.c: New file.
6297 * gdb.base/valgrind-disp-step.exp: New file.
6298
6299 2015-08-07 Pedro Alves <palves@redhat.com>
6300
6301 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
6302 Delete function.
6303 (main): Add alarm. Run an infinite loop instead of calling
6304 wait_threads.
6305 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
6306 comment.
6307 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
6308 Delete function.
6309 (main): Add alarm. Run an infinite loop instead of calling
6310 wait_threads.
6311 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
6312 comment.
6313
6314 2015-08-07 Pedro Alves <palves@redhat.com>
6315
6316 * gdb.base/checkpoint-ns.exp: New file.
6317 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
6318 standard_testfile.
6319
6320 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
6321
6322 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
6323 * gdb.btrace/instruction_history.exp: Update.
6324 * gdb.btrace/tsx.exp: New.
6325 * gdb.btrace/tsx.c: New.
6326
6327 2015-08-06 Pedro Alves <palves@redhat.com>
6328
6329 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
6330 increase timeout.
6331 * gdb.reverse/until-precsave.exp: Bump timeouts.
6332
6333 2015-08-06 Pedro Alves <palves@redhat.com>
6334
6335 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
6336
6337 2015-08-06 Pedro Alves <palves@redhat.com>
6338
6339 PR gdb/18749
6340 * gdb.threads/process-dies-while-handling-bp.c: New file.
6341 * gdb.threads/process-dies-while-handling-bp.exp: New file.
6342
6343 2015-08-06 Pedro Alves <palves@redhat.com>
6344
6345 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
6346 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
6347
6348 2015-08-05 Pedro Alves <palves@redhat.com>
6349
6350 * gdb.threads/next-while-other-thread-longjmps.c: New file.
6351 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
6352
6353 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
6354
6355 * gdb.base/bp-permanent.exp: Report test as unsupported if
6356 the target cannot stop at the permanent breakpoint.
6357
6358 2015-08-03 Doug Evans <dje@google.com>
6359
6360 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
6361 10000.
6362
6363 2015-08-03 Doug Evans <dje@google.com>
6364
6365 * Makefile.in (workers/%.worker, build-perf): New rule.
6366 (GDB_PERFTEST_MODE): New variable.
6367 (check-perf): Use it.
6368 (clean): Clean up gdb.perf parallel build subdirs.
6369 * lib/build-piece.exp: New file.
6370 * lib/gdb.exp (make_gdb_parallel_path): New function
6371 (standard_output_file, standard_temp_file): Call it.
6372 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
6373 of $GDB_PARALLEL.
6374 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
6375
6376 2015-08-03 Doug Evans <dje@google.com>
6377
6378 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
6379 (LOG_FILE_NAME): New global.
6380 (TextReporter.__init__): Initialize self.txt_sum.
6381 (TextReporter.report): Add support for multiple data-points.
6382 Move report to perftest.sum, put raw data in perftest.log.
6383 (TextReporter.start): Open sum and log files.
6384 (TextReporter.end): Close sum and log files.
6385 * gdb.perf/lib/perftest/testresult.py
6386 (SingleStatisticTestResult.record): Handle multiple data-points.
6387
6388 2015-07-31 Pedro Alves <palves@redhat.com>
6389
6390 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
6391 Use spawn_id_get_pid. Wait for spawn id after eof. Use
6392 kill_wait_spawned_process instead of explicit "kill -9".
6393 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
6394 returning a spawn id instead of a pid. Use spawn_id_get_pid and
6395 kill_wait_spawned_process.
6396 * gdb.base/attach-twice.exp: Likewise.
6397 * gdb.base/attach.exp: Likewise.
6398 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
6399 gdb_test_multiple.
6400 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
6401 returning a spawn id instead of a pid. Use spawn_id_get_pid and
6402 kill_wait_spawned_process.
6403 * gdb.base/valgrind-infcall.exp: Likewise.
6404 * gdb.multi/multi-attach.exp: Likewise.
6405 * gdb.python/py-prompt.exp: Likewise.
6406 * gdb.python/py-sync-interp.exp: Likewise.
6407 * gdb.server/ext-attach.exp: Likewise.
6408 * gdb.threads/attach-into-signal.exp (corefunc): Use
6409 spawn_wait_for_attach, spawn_id_get_pid and
6410 kill_wait_spawned_process.
6411 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
6412 spawn_wait_for_attach returning a spawn id instead of a pid. Use
6413 spawn_id_get_pid and kill_wait_spawned_process.
6414 * gdb.threads/attach-stopped.exp (corefunc): Use
6415 spawn_wait_for_attach, spawn_id_get_pid and
6416 kill_wait_spawned_process.
6417 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
6418 Use spawn_id_get_pid. Wait for spawn id after eof. Use
6419 kill_wait_spawned_process instead of explicit "kill -9".
6420 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
6421 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
6422 (spawn_wait_for_attach): Use spawn instead of exec to spawn
6423 processes. Don't map cygwin/windows pids here. Now returns a
6424 spawn id list.
6425
6426 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
6427
6428 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
6429 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
6430 correct patch.
6431
6432 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
6433
6434 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
6435
6436 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
6437
6438 Reapply:
6439 2014-05-21 Mark Wielaard <mjw@redhat.com>
6440
6441 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
6442
6443 2015-07-30 Pedro Alves <palves@redhat.com>
6444
6445 * linux-low.c (handle_extended_wait): Set the child's last
6446 reported status to TARGET_WAITKIND_STOPPED.
6447
6448 2015-07-30 Pedro Alves <palves@redhat.com>
6449
6450 PR threads/18600
6451 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
6452 only shows inferior 1.
6453
6454 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
6455 Pedro Alves <palves@redhat.com>
6456
6457 PR threads/18600
6458 * gdb.threads/fork-plus-threads.c: New file.
6459 * gdb.threads/fork-plus-threads.exp: New file.
6460
6461 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
6462
6463 * gdb.base/batch-preserve-term-settings.exp
6464 (test_terminal_settings_preserved_after_cli_exit): Use
6465 send_quit_command.
6466
6467 2015-07-29 Pedro Alves <palves@redhat.com>
6468 Don Breazeal <donb@codesourcery.com>
6469
6470 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
6471 output from both inferior_spawn_id and gdb_spawn_id.
6472
6473 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
6474
6475 * gdb.threads/attach-into-signal.exp (corefunc): Use
6476 with_test_prefix on nested loops, uniquefying the test messages.
6477
6478 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
6479
6480 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
6481 commit.
6482
6483 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
6484
6485 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
6486 New proc.
6487 (test_terminal_settings_preserved_after_sigterm): New test.
6488
6489 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
6490
6491 * gdb.base/batch-preserve-term-settings.exp
6492 (test_terminal_settings_preserved_after_cli_exit): New test.
6493
6494 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
6495
6496 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
6497 manipulation of saved_gdbflags.
6498 (test_terminal_settings_preserved): Remove global declaration of
6499 the unused variable pagination_prompt. Remove manipulation of
6500 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
6501 GDBFLAGS.
6502
6503 2015-07-29 Pedro Alves <palves@redhat.com>
6504
6505 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
6506
6507 2015-07-29 Pedro Alves <palves@redhat.com>
6508
6509 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
6510 at the top.
6511
6512 2015-07-29 Pedro Alves <palves@redhat.com>
6513
6514 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
6515 (main): Call gdb_unbuffer_output.
6516 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
6517 (main): Call gdb_unbuffer_output.
6518 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
6519 (main): Call gdb_unbuffer_output.
6520 * gdb.base/call-strs.exp: Adjust to step over the
6521 gdb_unbuffer_output call.
6522 * gdb.base/catch-gdb-caused-signals.c: Include
6523 "../lib/unbuffer_output.c".
6524 (main): Call gdb_unbuffer_output.
6525 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
6526 (main): Call gdb_unbuffer_output.
6527 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
6528 (main): Call gdb_unbuffer_output.
6529 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
6530 (main): Call gdb_unbuffer_output.
6531 * gdb.base/shlib-call.exp: Adjust to step over the
6532 gdb_unbuffer_output call.
6533 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
6534 (main): Call gdb_unbuffer_output.
6535 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
6536 (main): Call gdb_unbuffer_output.
6537 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
6538 (main): Rename to ...
6539 (test): ... this.
6540 (main): Reimplement.
6541 * gdb.base/varargs.exp: Run to test instead of to main.
6542 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
6543 (main): Call gdb_unbuffer_output.
6544
6545 2015-07-29 Pedro Alves <palves@redhat.com>
6546
6547 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
6548 factore out from mi_continue_dprintf. For call-style dprintfs,
6549 expect dprintf output out of $inferior_spawn_id.
6550 (mi_continue_dprintf): Use mi_expect_dprintf.
6551 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
6552 (main): Call gdb_unbuffer_output.
6553
6554 2015-07-29 Pedro Alves <palves@redhat.com>
6555
6556 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
6557 (default_mi_gdb_start): Set inferior_spawn_id instead of
6558 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
6559 gdb_spawn_id.
6560 (mi_gdb_test): Always expect inferior output from both
6561 $inferior_spawn_id and $gdb_spawn_id.
6562
6563 2015-07-29 Pedro Alves <palves@redhat.com>
6564
6565 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
6566 send_inferior and $inferior_spawn_id.
6567
6568 2015-07-29 Pedro Alves <palves@redhat.com>
6569
6570 * gdb.gdb/complaints.exp (test_initial_complaints)
6571 (test_serial_complaints, test_short_complaints): Use
6572 gdb_test_stdio.
6573 (test_empty_complaint): Handle $inferior_spawn_id !=
6574 $gdb_spawn_id.
6575
6576 2015-07-29 Pedro Alves <palves@redhat.com>
6577
6578 * gdb.base/varargs.exp: Use gdb_test_stdio.
6579
6580 2015-07-29 Pedro Alves <palves@redhat.com>
6581
6582 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
6583
6584 2015-07-29 Pedro Alves <palves@redhat.com>
6585
6586 * gdb.base/ending-run.exp: Use gdb_test_stdio.
6587
6588 2015-07-29 Pedro Alves <palves@redhat.com>
6589
6590 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
6591 parameter into two new parameters, "inf_result" and "gdb_result".
6592 Expect inferior output and gdb output from $inferior_spawn_id and
6593 $gdb_spawn_id, respectively. Adjust all callers.
6594
6595 2015-07-29 Pedro Alves <palves@redhat.com>
6596
6597 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
6598 of gdb_test_sequence.
6599
6600 2015-07-29 Pedro Alves <palves@redhat.com>
6601
6602 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
6603 (saw_spurious_output): Expect inferior output from
6604 $inferior_spawn_id. Use gdb_test_stdio.
6605
6606 2015-07-29 Pedro Alves <palves@redhat.com>
6607
6608 * gdb.base/dprintf.exp: Use standard_testfile. Change
6609 prepare_for_testing call.
6610 (srcfile): Don't set.
6611 (restart): New procedure.
6612 (test_dprintf): New procecure, use to continue over dprintfs.
6613 (test_call, test_agent): New procedures, tests moved here.
6614 Restart gdb and recreate dprintfs. Adjust expected output.
6615
6616 2015-07-29 Pedro Alves <palves@redhat.com>
6617
6618 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
6619
6620 2015-07-29 Pedro Alves <palves@redhat.com>
6621
6622 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
6623
6624 2015-07-29 Pedro Alves <palves@redhat.com>
6625
6626 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
6627 gdb_test_stdio.
6628
6629 2015-07-29 Pedro Alves <palves@redhat.com>
6630
6631 * lib/gdb.exp (gdb_test_stdio): New procedure.
6632
6633 2015-07-29 Pedro Alves <palves@redhat.com>
6634
6635 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
6636
6637 2015-07-29 Pedro Alves <palves@redhat.com>
6638
6639 * gdb.base/call-signal-resume.exp: Remove check for
6640 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
6641 * gdb.base/unwindonsignal.exp: Likewise.
6642 * gdb.base/call-signals.c (gen_signal): Remove printf call.
6643 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
6644
6645 2015-07-29 Pedro Alves <palves@redhat.com>
6646
6647 * gdb.base/siginfo-addr.c (pass): New function.
6648 (handler): Call it iff si_addr is correct.
6649 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
6650 Set a breakpoint at "pass" and continue to it.
6651
6652 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
6653
6654 * gdb.python/py-objfile.exp: Make some tests have unique names.
6655 * gdb.python/py-pp-registration.exp: Likewise.
6656
6657 2015-07-28 Pedro Alves <palves@redhat.com>
6658
6659 * gdb.server/server-exec-info.exp: Issue a "disconnect".
6660
6661 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
6662
6663 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
6664
6665 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
6666
6667 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
6668
6669 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
6670
6671 * gdb.base/gdb-sigterm-2.exp: New test.
6672
6673 2015-07-25 Doug Evans <xdje42@gmail.com>
6674
6675 Revert:
6676 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
6677 (workers/%.worker, build-perf): New rule.
6678 (GDB_PERFTEST_MODE): New variable.
6679 (check-perf): Use it.
6680 (clean): Clean up gdb.perf parallel build subdirs.
6681 * lib/build-piece.exp: New file.
6682 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
6683 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
6684 name.
6685 (standard_temp_file): Ditto.
6686 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
6687 of $GDB_PARALLEL.
6688
6689 2015-07-24 Doug Evans <dje@google.com>
6690
6691 * gdb.perf/lib/perftest/utils.py: New file.
6692 * gdb.perf/gm-hello.cc: New file.
6693 * gdb.perf/gm-pervasive-typedef.cc: New file.
6694 * gdb.perf/gm-pervasive-typedef.h: New file.
6695 * gdb.perf/gm-std.cc: New file.
6696 * gdb.perf/gm-std.h: New file.
6697 * gdb.perf/gm-use-cerr.cc: New file.
6698 * gdb.perf/gm-utils.h: New file.
6699 * gdb.perf/gmonster-null-lookup.py: New file.
6700 * gdb.perf/gmonster-pervasive-typedef.py: New file.
6701 * gdb.perf/gmonster-print-cerr.py: New file.
6702 * gdb.perf/gmonster-ptype-string.py: New file.
6703 * gdb.perf/gmonster-runto-main.py: New file.
6704 * gdb.perf/gmonster-select-file.py: New file.
6705 * gdb.perf/gmonster1-null-lookup.exp: New file.
6706 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
6707 * gdb.perf/gmonster1-print-cerr.exp: New file.
6708 * gdb.perf/gmonster1-ptype-string.exp: New file.
6709 * gdb.perf/gmonster1-runto-main.exp: New file.
6710 * gdb.perf/gmonster1-select-file.exp: New file.
6711 * gdb.perf/gmonster1.cc: New file.
6712 * gdb.perf/gmonster1.exp: New file.
6713 * gdb.perf/gmonster2-null-lookup.exp: New file.
6714 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
6715 * gdb.perf/gmonster2-print-cerr.exp: New file.
6716 * gdb.perf/gmonster2-ptype-string.exp: New file.
6717 * gdb.perf/gmonster2-runto-main.exp: New file.
6718 * gdb.perf/gmonster2-select-file.exp: New file.
6719 * gdb.perf/gmonster2.cc: New file.
6720 * gdb.perf/gmonster2.exp: New file.
6721
6722 2015-07-24 Doug Evans <dje@google.com>
6723
6724 * gdb.perf/README: New file.
6725 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
6726 * lib/gen-perf-test.exp: New file.
6727
6728 2015-07-24 Doug Evans <dje@google.com>
6729
6730 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
6731 (PerfTest::startup): New function.
6732 (PerfTest::run): Return result of calling body.
6733 (PerfTest::assemble): Rewrite.
6734 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
6735 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
6736 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
6737 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
6738 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
6739
6740 2015-07-24 Doug Evans <dje@google.com>
6741
6742 * lib/gdb.exp (clean_restart): Make executable optional.
6743
6744 2015-07-24 Doug Evans <dje@google.com>
6745
6746 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
6747 compiler_info references.
6748 * gdb.cp/temargs.exp: Ditto.
6749 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
6750 (get_compiler_info): Early exit if already computed. Set compiler_info
6751 to "unknown" if there was a problem.
6752 (test_compiler_info): Add function comment. Call get_compiler_info.
6753
6754 2015-07-24 Doug Evans <dje@google.com>
6755
6756 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
6757 (workers/%.worker, build-perf): New rule.
6758 (GDB_PERFTEST_MODE): New variable.
6759 (check-perf): Use it.
6760 (clean): Clean up gdb.perf parallel build subdirs.
6761 * lib/build-piece.exp: New file.
6762 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
6763 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
6764 name.
6765 (standard_temp_file): Ditto.
6766 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
6767 of $GDB_PARALLEL.
6768
6769 2015-07-24 Doug Evans <dje@google.com>
6770
6771 * lib/future.exp (gdb_default_target_compile): New option
6772 "early_flags".
6773 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
6774 --as-needed.
6775
6776 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
6777
6778 * gdb.base/catch-syscall.exp: Call gdb_exit before
6779 gdb_skip_xml_test.
6780
6781 2015-07-24 Pedro Alves <palves@redhat.com>
6782
6783 * gdb.python/py-events.exp: Accept output between the stop event
6784 and the prompt.
6785 * gdb.python/py-evsignal.exp: Likewise.
6786 * gdb.python/py-evthreads.exp: Likewise.
6787
6788 2015-07-24 Pedro Alves <palves@redhat.com>
6789
6790 PR gdb/18717
6791 * gdb.threads/non-ldr-exit.c: New file.
6792 * gdb.threads/non-ldr-exit.exp: New file.
6793
6794 2015-07-24 Yao Qi <yao.qi@linaro.org>
6795
6796 * gdb.server/ext-wrapper.exp: Test --wrapper option when
6797 restarting process.
6798
6799 2015-07-24 Yao Qi <yao.qi@linaro.org>
6800
6801 * gdb.server/ext-restart.exp: New file.
6802
6803 2015-07-24 Yao Qi <yao.qi@linaro.org>
6804
6805 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
6806 argument options.
6807 * gdb.server/ext-wrapper.exp: New file.
6808
6809 2015-07-23 Doug Evans <dje@google.com>
6810
6811 * gdb.dwarf2/dw2-dummy-cu.S: New file.
6812 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
6813
6814 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
6815
6816 * gdb.ada/var_arr_typedef.exp: New testcase.
6817 * gdb.ada/var_arr_typedef/pack.adb: New file.
6818 * gdb.ada/var_arr_typedef/pack.ads: New file.
6819 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
6820
6821 2015-07-20 Joel Brobecker <brobecker@adacore.com>
6822
6823 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
6824
6825 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6826
6827 * gdb.arch/i386-biarch-core.exp: Replace istarget
6828 by "complete set gnutarget". Remove expectation for the "core-file"
6829 command.
6830
6831 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6832
6833 Revert the previous commit:
6834 Tests for validate symbol file using build-id.
6835
6836 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
6837
6838 Tests for validate symbol file using build-id.
6839 * gdb.base/solib-mismatch-lib.c: New file.
6840 * gdb.base/solib-mismatch-libmod.c: New file.
6841 * gdb.base/solib-mismatch.c: New file.
6842 * gdb.base/solib-mismatch.exp: New file.
6843
6844 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
6845
6846 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
6847 nios2-*-linux*.
6848 * gdb.base/sigbpt.exp (stepi_out): Likewise.
6849 * gdb.base/siginfo.exp: Likewise.
6850 * gdb.base/sigstep.exp (advance, advancei): Likewise.
6851
6852 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
6853
6854 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
6855 Move it to ...
6856 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
6857 ... here.
6858 * gdb.trace/range-stepping.exp: Check that the target supports
6859 range stepping.
6860
6861 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6862
6863 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
6864
6865 2015-07-14 Pedro Alves <palves@redhat.com>
6866
6867 * gdb.base/killed-outside.exp: New file.
6868 * gdb.base/killed-outside.c: New file.
6869
6870 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6871
6872 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
6873 (n at main): New.
6874 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
6875
6876 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
6877
6878 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
6879 infcall tests instead of setting up for KFAIL.
6880
6881 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
6882
6883 * gdb.btrace/record_goto-step.exp: New.
6884
6885 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6886
6887 PR compile/18484
6888 * gdb.compile/compile.c (struct struct_type): Add volatile to
6889 selffield's type.
6890 * gdb.compile/compile.exp
6891 (compile code struct_object.selffield = &struct_object): Skip further
6892 struct_object tests if this one xfails.
6893
6894 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
6895
6896 PR exp/18617
6897 * gdb.trace/ax.exp: Add test.
6898
6899 2015-07-07 Yao Qi <yao.qi@linaro.org>
6900
6901 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
6902 instead of istarget "aarch64*-*-*".
6903 * gdb.arch/aarch64-fp.exp: Likewise.
6904 * gdb.base/float.exp: Likewise.
6905 * gdb.reverse/aarch64.exp: Likewise.
6906 * lib/gdb.exp (is_aarch64_target): New proc.
6907
6908 2015-07-07 Yao Qi <yao.qi@linaro.org>
6909
6910 * lib/gdb.exp (is_aarch32_target): New proc.
6911 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
6912 instead of "istarget "arm*-*-*"".
6913 * gdb.arch/arm-disp-step.exp: Likewise.
6914 * gdb.arch/thumb-bx-pc.exp: Likewise.
6915 * gdb.arch/thumb-prologue.exp: Likewise.
6916 * gdb.arch/thumb-singlestep.exp: Likewise.
6917 * gdb.base/disp-step-syscall.exp: Likewise.
6918 * gdb.base/float.exp: Likewise.
6919
6920 2015-07-07 Yao Qi <yao.qi@linaro.org>
6921
6922 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
6923 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
6924
6925 2015-07-07 Yao Qi <yao.qi@linaro.org>
6926
6927 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
6928 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
6929 if it exists.
6930 * gdb.multi/multi-arch.exp: Likewise.
6931
6932 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
6933
6934 * gdb.python/py-lazy-string.exp: Add missing parentheses to
6935 print.
6936
6937 2015-07-07 Yao Qi <yao.qi@linaro.org>
6938
6939 * gdb.arch/thumb-singlestep.exp: Do one more single step.
6940
6941 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
6942
6943 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
6944 '[' and ']' characters.
6945
6946 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
6947
6948 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
6949
6950 2015-06-29 Pedro Alves <palves@redhat.com>
6951
6952 PR threads/18127
6953 * gdb.threads/hand-call-new-thread.c: New file.
6954 * gdb.threads/hand-call-new-thread.c: New file.
6955
6956 2015-06-26 Keith Seitz <keiths@redhat.com>
6957 Doug Evans <dje@google.com>
6958
6959 PR 16253
6960 * gdb.cp/var-tag-2.cc: New file.
6961 * gdb.cp/var-tag-3.cc: New file.
6962 * gdb.cp/var-tag-4.cc: New file.
6963 * gdb.cp/var-tag.cc: New file.
6964 * gdb.cp/var-tag.exp: New file.
6965
6966 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
6967
6968 * gdb.base/history-duplicates.exp: New test.
6969
6970 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
6971
6972 * gdb.base/completion.exp: Test the completion of the "focus"
6973 command.
6974
6975 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6976
6977 * gdb.arch/amd64-prologue-skip.S: New file.
6978 * gdb.arch/amd64-prologue-skip.exp: New file.
6979
6980 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
6981
6982 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
6983 is_address_zero_readable check.
6984
6985 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
6986
6987 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
6988 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
6989
6990 2015-06-24 Yao Qi <yao.qi@linaro.org>
6991
6992 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
6993 linux targets.
6994
6995 2015-06-24 Yao Qi <yao.qi@linaro.org>
6996
6997 * lib/gdb.exp (supports_get_siginfo_type): New proc.
6998 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
6999 * gdb.base/siginfo-thread.exp: Likewise.
7000
7001 2015-06-22 Yao Qi <yao.qi@linaro.org>
7002
7003 * boards/remote-gdbserver-on-localhost.exp: Add comments.
7004
7005 2015-06-22 Yao Qi <yao.qi@linaro.org>
7006
7007 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
7008 aarch64*-*-*.
7009 (skip_hw_watchpoint_tests): Likewise.
7010
7011 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
7012
7013 * gdb.base/gdbinit-history.exp: Test the interaction between
7014 setting GDBHISTSIZE and setting the history size via .gdbinit.
7015
7016 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
7017
7018 PR gdb/16999
7019 * gdb.base/gdbhistsize-history.exp: New test.
7020
7021 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
7022
7023 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
7024 with GDBHISTSIZE.
7025 * gdb.base/readline.exp: Likewise.
7026
7027 2015-06-17 Yao Qi <yao.qi@linaro.org>
7028
7029 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
7030 line.
7031
7032 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
7033
7034 * gdb.base/gdbinit-history.exp: Add test case to check that
7035 an unlimited history file does not get truncated on exit.
7036
7037 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
7038
7039 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
7040 (VECTOR): New macro. Use it...
7041 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
7042 ...for these typedefs.
7043 (int8, char1, int1, double1): New typedefs.
7044 (struct just_int2, struct two_int2): New structures.
7045 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
7046 (add_structvecs, add_singlevecs): New functions.
7047 (main): Call add_some_intvecs twice.
7048 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
7049 the compile and exit upon failure. Try compiling for the "native"
7050 architecture. Test inferior function calls with vector arguments
7051 and vector return value handling with "finish" and "return".
7052
7053 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
7054
7055 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
7056 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
7057 PE file.
7058 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
7059
7060 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
7061
7062 PR breakpoints/16465
7063 * gdb.mi/mi-dprintf-pending.c: New file.
7064 * gdb.mi/mi-dprintf-pending.exp: New test.
7065 * gdb.mi/mi-dprintf-pendshr.c: New file.
7066
7067 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
7068 Mircea Gherzan <mircea.gherzan@intel.com>
7069
7070 * gdb.arch/i386-mpx-map.c: New file.
7071 * gdb.arch/i386-mpx-map.exp: New File.
7072
7073 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
7074
7075 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
7076 * gdb.arch/i386-mpx.exp: Indentation fixed.
7077
7078 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
7079
7080 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
7081 function and improved indentation.
7082 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
7083 gdb_test_multiple. Added additional tests to skip the test.
7084
7085 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
7086
7087 * gdb.arch/i386-avx512.c: Change path in include file.
7088 * gdb.arch/i386-avx512.exp: Change include dir path
7089 compilation flag.
7090 * gdb.arch/i386-mpx.c: Change path in include file.
7091 * gdb.arch/i386-mpx.exp: Change include dir path compilation
7092 flag.
7093
7094 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
7095
7096 * gdb.compile/compile-print.exp (compile print *vararray@3)
7097 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
7098
7099 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7100
7101 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
7102 (do not keep jit in memory): ... this.
7103 (expect 5): Change it to ...
7104 (expect no 5): ... this.
7105
7106 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
7107
7108 PR gdb/15564
7109 * gdb.mi/mi-detach.exp: New file.
7110
7111 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7112
7113 PR symtab/18392
7114 * gdb.arch/amd64-tailcall-self.S: New file.
7115 * gdb.arch/amd64-tailcall-self.c: New file.
7116 * gdb.arch/amd64-tailcall-self.exp: New file.
7117
7118 2015-05-28 Don Breazeal <donb@codesourcery.com>
7119
7120 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
7121 tests for remote targets by checking is_target_gdbserver.
7122
7123 2015-05-27 Doug Evans <dje@google.com>
7124
7125 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
7126 * gdb.dwarf2/opaque-type-lookup.c: New file.
7127 * gdb.dwarf2/opaque-type-lookup.exp: New file.
7128
7129 2015-05-26 Doug Evans <dje@google.com>
7130
7131 * gdb.cp/iostream.cc: New file.
7132 * gdb.cp/iostream.exp: New file.
7133
7134 2015-05-26 Doug Evans <dje@google.com>
7135
7136 * gdb.dwarf2/dw2-op-call.exp: Update.
7137 * gdb.dwarf2/dw4-sig-types.exp: Update.
7138 * gdb.dwarf2/implptr.exp: Update.
7139 * gdb.mi/mi-cmd-param-changed.exp: Update.
7140
7141 2015-05-26 Doug Evans <dje@google.com>
7142
7143 * gdb.python/py-lazy-string.c: New file.
7144 * gdb.python/py-lazy-string.exp: New file.
7145 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
7146 (main): Update. Add estring3.
7147 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
7148 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
7149
7150 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
7151 Yao Qi <yao.qi@linaro.org>
7152
7153 * gdb.reverse/aarch64.c: New.
7154 * gdb.reverse/aarch64.exp: New.
7155
7156 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
7157
7158 * lib/gdb.exp (supports_process_record): Return true for
7159 aarch64*-linux*.
7160 (supports_reverse): Likewise.
7161
7162 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
7163
7164 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
7165 Use with_test_prefix.
7166
7167 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
7168
7169 * gdb.base/completion.exp: Add test for completion of layout
7170 names.
7171
7172 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
7173
7174 * lib/gdb.exp (skip_tui_tests): New proc.
7175 * gdb.base/tui-layout.exp: Check skip_tui_tests.
7176
7177 2015-05-19 Pedro Alves <palves@redhat.com>
7178
7179 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
7180 Save the whole env array instead of just HOME. Unset HISTSIZE in
7181 the environment while testing. Restore whole environment
7182 afterwards.
7183
7184 2015-05-16 Doug Evans <xdje42@gmail.com>
7185
7186 * gdb.guile/scm-ports.c: New file.
7187 * gdb.guile/scm-ports.exp: Add memory port tests.
7188
7189 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7190
7191 * gdb.compile/compile-print.c: New file.
7192 * gdb.compile/compile-print.exp: New file.
7193
7194 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7195
7196 * gdb.compile/compile-ops.exp: Cast param to void.
7197 * gdb.compile/compile.exp: Complete type for _gdb_expr.
7198 (compile code struct_object.selffield = &struct_object): Add xfail.
7199
7200 2015-05-15 Joel Brobecker <brobecker@adacore.com>
7201
7202 * gdb.ada/arr_enum_with_gap: New testcase.
7203
7204 2015-05-15 Joel Brobecker <brobecker@adacore.com>
7205
7206 * gdb.ada/byte_packed_arr: New testcase.
7207
7208 2015-05-15 Joel Brobecker <brobecker@adacore.com>
7209
7210 * gdb.ada/pckd_neg: New testcase.
7211
7212 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
7213
7214 PR gdb/17820
7215 * gdb.base/gdbinit-history.exp: New test.
7216 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
7217 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
7218
7219 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
7220
7221 * gdb.python/py-xmethods.cc: Enhance test case.
7222 * gdb.python/py-xmethods.exp: New tests.
7223 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
7224 function.
7225 (B_indexoper): Likewise.
7226 (global_dm_list) : Add new xmethod worker functions.
7227
7228 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
7229
7230 * gdb.base/coredump-filter.exp: Correctly unset
7231 "coredump_var_addr" array.
7232
7233 2015-05-08 Pedro Alves <palves@redhat.com>
7234
7235 * gdb.server/non-existing-program.exp: Unset spawn_id.
7236
7237 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
7238
7239 PR python/18291
7240 * gdb.python/py-xmethods.exp: Add tests.
7241
7242 2015-05-08 Yao Qi <yao.qi@linaro.org>
7243
7244 PR gdb/18208
7245 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
7246 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
7247 function set_coredump_filter, and remove remote_exec call.
7248 Remove argument ipid. Callers update.
7249 (top level): Don't get inferior's PID.
7250
7251 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
7252
7253 * gdb.base/watch_thread_num.exp: Skip test on targets without
7254 access watchpoints.
7255
7256 2015-05-06 Pedro Alves <palves@redhat.com>
7257
7258 PR server/18081
7259 * gdb.server/non-existing-program.exp: New file.
7260
7261 2015-05-05 Joel Brobecker <brobecker@adacore.com>
7262
7263 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
7264
7265 2015-05-05 Joel Brobecker <brobecker@adacore.com>
7266
7267 * gdb.ada/out_of_line_in_inlined: New testcase.
7268
7269 2015-05-05 Joel Brobecker <brobecker@adacore.com>
7270
7271 * gdb.ada/var_rec_arr: New testcase.
7272
7273 2015-04-30 Yao Qi <yao.qi@linaro.org>
7274
7275 * gdb.base/break-idempotent.exp: If
7276 skip_hw_watchpoint_multi_tests returns true, skip the tests
7277 on "rwatch" and "awatch".
7278
7279 2015-04-30 Yao Qi <yao.qi@linaro.org>
7280
7281 * gdb.base/relativedebug.exp: Invoke gdb command
7282 "info sharedlibrary", and if libc.so doesn't have debug info,
7283 skip the test.
7284
7285 2015-04-29 Doug Evans <dje@google.com>
7286
7287 * gdb.python/py-xmethods.exp: Add ptype tests.
7288 * gdb.python/py-xmethods.py (E_method_char_worker): Add
7289 get_result_type method.
7290
7291 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
7292
7293 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
7294 the target does not support hardware watchpoints.
7295
7296 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
7297
7298 * gdb.base/break-always.exp: Abort testing if writing to memory
7299 causes an error.
7300
7301 2015-04-28 Doug Evans <dje@google.com>
7302
7303 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
7304 * gdb.python/py-pp-registration.exp: ... here. New file.
7305 * gdb.python/py-pp-registration.c: New file.
7306 * gdb.python/py-pp-registration.py: New file.
7307
7308 2015-04-28 Doug Evans <dje@google.com>
7309
7310 * gdb.python/py-bad-printers.c: New file.
7311 * gdb.python/py-bad-printers.py: New file.
7312 * gdb.python/py-bad-printers.exp: New file.
7313
7314 2015-04-28 Sasha Smundak <asmundak@google.com>
7315
7316 * gdb.python/py-type.exp: New test.
7317
7318 2015-04-28 Andy Wingo <wingo@igalia.com>
7319
7320 * gdb.python/py-parameter.exp:
7321 * gdb.guile/scm-parameter.exp: Escape the path that we are
7322 matching against, as it might contain characters that are special
7323 to regular expressions.
7324
7325 2015-04-27 Joel Brobecker <brobecker@adacore.com>
7326
7327 * gdb.ada/rec_comp: New testcase.
7328
7329 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
7330
7331 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
7332 before using it.
7333
7334 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
7335
7336 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
7337 new tests for verilog output.
7338
7339 2015-04-24 Yao Qi <yao.qi@linaro.org>
7340
7341 * boards/remote-gdbserver-on-localhost.exp: New file.
7342
7343 2015-04-23 Pedro Alves <palves@redhat.com>
7344
7345 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
7346 $inferior_spawn_id instead of $inferior_spawn_id directly. On
7347 "end of file", remove $inferior_spawn_id from the indirect list.
7348
7349 2015-04-23 Pedro Alves <palves@redhat.com>
7350
7351 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
7352
7353 2015-04-23 Pedro Alves <palves@redhat.com>
7354
7355 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
7356 on $any_spawn_id instead of only on $gdb_spawn_id.
7357
7358 2015-04-21 Pierre Muller <muller@sourceware.org>
7359
7360 PR pascal/17815
7361 * lib/pascal.exp (gpc_compile): Add new option "class".
7362 (fpc_compile): Likewise.
7363 * gdb.pascal/case-insensitive-symbols.pas: New file.
7364 * gdb.pascal/case-insensitive-symbols.exp: New file.
7365
7366 2015-04-20 Gary Benson <gbenson@redhat.com>
7367
7368 * gdb.base/attach.exp: Fix three extended remote failures.
7369
7370 2015-04-17 Gary Benson <gbenson@redhat.com>
7371
7372 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
7373 the main executable over the remote protocol.
7374
7375 2015-04-16 Pedro Alves <palves@redhat.com>
7376
7377 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
7378 a new gdbserver if gdbserver_reconnect_p is set.
7379
7380 2015-04-16 Pedro Alves <palves@redhat.com>
7381
7382 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
7383 is set, don't exit gdbserver.
7384
7385 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
7386
7387 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
7388 appropriate .insn, such that an older assembler can be used.
7389 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
7390 the z/Architecture instruction set on 31-bit targets as well.
7391
7392 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
7393
7394 * gdb.go/handcall.exp: Remove all logic related to the first
7395 breakpoint and rely on go_runto_main instead.
7396 * gdb.go/strings.exp: Likewise.
7397 * gdb.go/unsafe.exp: Likewise.
7398 * gdb.go/hello.exp: Likewise. Also rename the remaining
7399 breakpoint marker to "breakpoint 1".
7400 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
7401 * gdb.go/strings.go: Likewise.
7402 * gdb.go/unsafe.go: Likewise.
7403 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
7404 "set breakpoint 2 here" and rename the remaining breakpoint marker
7405 to "breakpoint 1".
7406
7407 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
7408
7409 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
7410 if itertools.imap is not present.
7411 * gdb.python/py-objfile.exp: Add parentheses.
7412 * gdb.python/py-type.exp: Same.
7413 * gdb.python/py-unwind-maint.py: Same.
7414
7415 2015-04-15 Yao Qi <yao.qi@linaro.org>
7416
7417 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
7418 of ":$ptr_size" and set its form explicitly.
7419
7420 2015-04-15 Pedro Alves <palves@redhat.com>
7421 Yao Qi <yao.qi@linaro.org>
7422
7423 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
7424 timeout by factor of 4.
7425 (test_regular_watch): Likewise.
7426 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
7427 * gdb.reverse/sigall-reverse.exp: Likewise.
7428 * gdb.reverse/until-precsave.exp: Likewise.
7429 * lib/gdb.exp (with_timeout_factor): New proc.
7430 (gdb_expect): Move some code to ...
7431 (get_largest_timeout): ... here. New procedure.
7432
7433 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
7434
7435 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
7436
7437 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
7438
7439 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
7440 to write to the .text section.
7441
7442 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
7443
7444 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
7445 Handle the case of targets that do not provide PID information.
7446
7447 2015-04-13 Yao Qi <yao.qi@linaro.org>
7448
7449 * lib/gdbserver-support.exp (gdb_exit): Catch exception
7450 and use expect instead of gdb_expect.
7451
7452 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
7453
7454 * gdb.base/coredump-filter.exp: Rename variable "addr" to
7455 "coredump_var_addr" to avoid naming conflict with other testcases.
7456
7457 2015-04-10 Pedro Alves <palves@redhat.com>
7458
7459 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
7460 gdb_test_sequence and gdb_assert.
7461
7462 2015-04-10 Pedro Alves <palves@redhat.com>
7463
7464 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
7465 test messages that don't include the breakpoint address.
7466
7467 2015-04-10 Yao Qi <yao.qi@linaro.org>
7468
7469 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
7470 false for some offset and width combinations which aren't
7471 supported by linux kernel.
7472
7473 2015-04-10 Pedro Alves <palves@redhat.com>
7474
7475 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
7476 procedure, factored out from ...
7477 (top level): ... here. Add "set displaced-stepping" testing axis.
7478 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
7479 parameter "displaced". Use it.
7480 (top level): Use foreach and add "set displaced-stepping" testing
7481 axis.
7482
7483 2015-04-10 Pedro Alves <palves@redhat.com>
7484
7485 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
7486 Remove comment.
7487 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
7488 both the address of the instruction that triggers the watchpoint
7489 and the address of the instruction immediately after, and use
7490 those addresses for the test. Fix comment.
7491
7492 2015-04-10 Pedro Alves <palves@redhat.com>
7493
7494 * gdb.base/sigstep.exp (breakpoint_to_handler)
7495 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
7496 Test "backtrace" in handler.
7497 (breakpoint_over_handler): New parameter 'displaced'. Use it.
7498 (top level): Add new "displaced" test axis to
7499 breakpoint_to_handler, breakpoint_to_handler_entry and
7500 breakpoint_over_handler.
7501
7502 2015-04-10 Pedro Alves <palves@redhat.com>
7503
7504 PR gdb/18216
7505 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
7506
7507 2015-04-10 Yao Qi <yao.qi@linaro.org>
7508
7509 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
7510 (test_add_rn_pc): New function.
7511 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
7512 (top level): Invoke test_add_rn_pc.
7513
7514 2015-04-10 Pedro Alves <palves@redhat.com>
7515
7516 PR gdb/13858
7517 * gdb.base/step-over-no-symbols.exp: New file.
7518
7519 2015-04-09 Andy Wingo <wingo@igalia.com>
7520
7521 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
7522 after the Python tests.
7523
7524 2015-04-08 Keith Seitz <keiths@redhat.com>
7525
7526 PR python/16699
7527 * gdb.python/py-completion.exp: New tests for completion.
7528 * gdb.python/py-completion.py (CompleteLimit1): New class.
7529 (CompleteLimit2): Likewise.
7530 (CompleteLimit3): Likewise.
7531 (CompleteLimit4): Likewise.
7532 (CompleteLimit5): Likewise.
7533 (CompleteLimit6): Likewise.
7534 (CompleteLimit7): Likewise.
7535
7536 2015-04-08 Pedro Alves <palves@redhat.com>
7537
7538 PR gdb/18214
7539 PR gdb/18216
7540 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
7541 function.
7542 (main): Install it as SIGUSR1 handler.
7543 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
7544 parameter. Always use "setup" as prefix. Toggle "set
7545 displaced-stepping" off/on depending on global. Don't switch to
7546 thread 1 here.
7547 (top level): Add displaced stepping "off/on" test axis. Update
7548 "setup" calls. Wrap each subtest with with_test_prefix. Test
7549 continuing with a queued signal in each thread.
7550
7551 2015-04-08 Pedro Alves <palves@redhat.com>
7552
7553 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
7554 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
7555 gdb_breakpoint instead of gdb_test that doesn't expect anything.
7556 Return early if running to main fails.
7557 * gdb.trace/while-stepping.exp: Likewise.
7558
7559 2015-04-07 Pedro Alves <palves@redhat.com>
7560
7561 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
7562 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
7563 interact with inferior program.
7564
7565 2015-04-07 Pedro Alves <palves@redhat.com>
7566
7567 * lib/gdb.exp (inferior_spawn_id): New global.
7568 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
7569 spawn id after processing the user code.
7570 (default_gdb_start): Set inferior_spawn_id.
7571 (send_inferior): New procedure.
7572 * lib/gdbserver-support.exp (gdbserver_start): Set
7573 inferior_spawn_id.
7574 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
7575
7576 2015-04-07 Pedro Alves <palves@redhat.com>
7577
7578 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
7579 * lib/gdbserver-support.exp (gdbserver_start): Make
7580 $server_spawn_id global.
7581 (gdbserver_start): Don't wait for gdbserver's spawn id with
7582 expect_background.
7583 (close_gdbserver): New procedure.
7584 (gdb_exit): Rename the default version and reimplement.
7585
7586 2015-04-07 Pedro Alves <palves@redhat.com>
7587
7588 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
7589 append the substituted item, not the original item.
7590
7591 2015-04-07 Pedro Alves <palves@redhat.com>
7592
7593 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
7594 gdb_expect.
7595
7596 2015-04-07 Pedro Alves <palves@redhat.com>
7597
7598 * gdb.base/interrupt.exp: Don't handle the case of the inferior
7599 output appearing once only.
7600
7601 2015-04-07 Pedro Alves <palves@redhat.com>
7602
7603 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
7604 that doesn't expect anything. Return early if running to main
7605 fails.
7606
7607 2015-04-07 Yao Qi <yao.qi@linaro.org>
7608
7609 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
7610 (child_function): Call alarm.
7611 (main): Move call to alarm into the loop.
7612 * gdb.threads/non-stop-fair-events.exp: Build program with
7613 -DTIMEOUT=$timeout.
7614
7615 2015-04-06 Doug Evans <xdje42@gmail.com>
7616
7617 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
7618 Fix dest parameter to board_info.
7619 (fpc_compile): Ditto.
7620 (gdb_compile_pascal): Rename dest arg to destfile.
7621
7622 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
7623
7624 * gdb.ada/funcall_ref.exp: New file.
7625 * gdb.ada/funcall_ref/foo.adb: New file.
7626
7627 2015-04-02 Yao Qi <yao.qi@linaro.org>
7628
7629 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
7630 is remote.
7631
7632 2015-04-02 Gary Benson <gbenson@redhat.com>
7633
7634 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
7635
7636 2015-04-01 Sasha Smundak <asmundak@google.com>
7637
7638 * gdb.python/py-unwind-maint.c: New file.
7639 * gdb.python/py-unwind-maint.exp: New test.
7640 * gdb.python/py-unwind-maint.py: New file.
7641 * gdb.python/py-unwind.c: New file.
7642 * gdb.python/py-unwind.exp: New test.
7643 * gdb.python/py-unwind.py: New test.
7644
7645 2015-04-01 Pedro Alves <palves@redhat.com>
7646
7647 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
7648 to fail instead of non-existent $test.
7649
7650 2015-04-01 Pedro Alves <palves@redhat.com>
7651
7652 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
7653 GDBFLAGS if not empty.
7654
7655 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
7656
7657 * gdb.ada/complete.exp: Remove "multi_line".
7658 * gdb.ada/info_exc.exp: Remove "multi_line".
7659 * gdb.ada/packed_tagged.exp: Remove "multi_line".
7660 * gdb.ada/ptype_field.exp: Remove "multi_line".
7661 * gdb.ada/sym_print_name.exp: Remove "multi_line".
7662 * gdb.ada/tagged.exp: Remove "multi_line".
7663 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
7664 [multi_line ...]
7665 * gdb.btrace/delta.exp: Likewise.
7666 * gdb.btrace/exception.exp: Likewise.
7667 * gdb.btrace/function_call_history.exp: Likewise.
7668 * gdb.btrace/instruction_history.exp: Likewise.
7669 * gdb.btrace/nohist.exp: Likewise.
7670 * gdb.btrace/record_goto.exp: Likewise.
7671 * gdb.btrace/segv.exp: Likewise.
7672 * gdb.btrace/stepi.exp: Likewise.
7673 * gdb.btrace/tailcall.exp: Likewise.
7674 * gdb.btrace/unknown_functions.exp: Likewise.
7675 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
7676 * lib/gdb.exp: Add the "multi_line" helper.
7677
7678 2015-04-01 Pedro Alves <palves@redhat.com>
7679
7680 * gdb.threads/tid-reuse.c: New file.
7681 * gdb.threads/tid-reuse.exp: New file.
7682
7683 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
7684
7685 PR corefiles/16092
7686 * gdb.base/coredump-filter.c: New file.
7687 * gdb.base/coredump-filter.exp: Likewise.
7688
7689 2015-03-27 Petr Machata <pmachata@redhat.com>
7690
7691 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
7692 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
7693 (Dwarf::assemble): Initialize them.
7694 (Dwarf::lines): New function.
7695
7696 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
7697
7698 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
7699 SYMBOL_PREFIX for x86_64-*-cygwin.
7700
7701 2015-03-26 Andy Wingo <wingo@igalia.com>
7702
7703 PR symtab/18148
7704 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
7705 const_value but not a location.
7706 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
7707 location defined in non-main CUs are visible.
7708
7709 2015-03-26 Yao Qi <yao.qi@linaro.org>
7710
7711 PR testsuite/18139
7712 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
7713 Add a line number entry for the same line.
7714 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
7715 Add a line number entry for the same line.
7716
7717 2015-03-26 Yao Qi <yao.qi@linaro.org>
7718
7719 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
7720 .int 0.
7721 (func): Likewise. Add .Lfunc_1 label.
7722 Use .Lfunc_1 label.
7723 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
7724 .int 0.
7725 (func): Likewise.
7726 Use .Lfunc_1 label.
7727
7728 2015-03-26 Yao Qi <yao.qi@linaro.org>
7729
7730 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
7731 Call gdb_compile instead to compile each .s files without debug
7732 information.
7733
7734 2015-03-26 Yao Qi <yao.qi@linaro.org>
7735
7736 * gdb.base/savedregs.exp (process_saved_regs): Make
7737 "Saved registers:" optional in the pattern.
7738
7739 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
7740
7741 * gdb.btrace/next.exp: Merged into step.exp.
7742 * gdb.btrace/finish.exp: Merged into step.exp.
7743 * gdb.btrace/nexti.exp: Merged into stepi.exp.
7744 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
7745 "record goto" and checking the exact replay position.
7746 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
7747 check for "Recording format" in "info record" output.
7748 * gdb.btrace/record_goto.exp: Choose test file based on target.
7749 * gdb.btrace/x86-record_goto.S: Renamed into ...
7750 * gdb.btrace/x86_64-record_goto.S: ... this.
7751 * gdb.btrace/i686-record_goto.S: New.
7752 * gdb.btrace/x86-tailcall.S: Renamed into ...
7753 * gdb.btrace/x86_64-tailcall.S: ... this.
7754 * gdb.btrace/i686-tailcall.S: New.
7755 * gdb.btrace/x86-tailcall.c: Renamed into ...
7756 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
7757 separate statements. Update test.
7758 * gdb.btrace/delta.exp: Use record_goto.c as test file.
7759 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
7760 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
7761 * gdb.btrace/tailcall.exp: Choose test file based on target.
7762 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
7763
7764 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
7765
7766 * gdb.btrace/exception.exp: Increase BTS buffer size.
7767
7768 2015-03-24 Pedro Alves <palves@redhat.com>
7769
7770 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
7771
7772 2015-03-24 Pedro Alves <palves@redhat.com>
7773
7774 * gdb.threads/schedlock.exp (test_step): No longer expect that
7775 "set scheduler-locking step" with "next" over a function call runs
7776 threads unlocked.
7777
7778 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
7779
7780 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
7781
7782 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
7783
7784 PR breakpoints/16466
7785 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
7786 * gdb.mi/mi-pending.c (thread_func): New function.
7787 (int main): Add threading support required.
7788 * gdb.mi/mi-pending.exp: Add tests for this issue.
7789 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
7790 (pendfunc2): Remove stdio dependency.
7791 * gdb.mi/mi-pendshr2.c: New file.
7792
7793 2015-03-23 Keith Seitz <keiths@redhat.com>
7794
7795 * gdb.linespec/keywords.c: New file.
7796 * gdb.linespec/keywords.exp: New file.
7797
7798 2015-03-23 Keith Seitz <keiths@redhat.com>
7799
7800 PR gdb/18021
7801 * gdb.dwarf2/staticvirtual.exp: New test.
7802
7803 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7804
7805 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
7806 * README: Remove HP-UX and gdb.hp.
7807 (configuration):
7808 * configure: Regenerate.
7809 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
7810 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
7811 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
7812 gdb.hp/gdb.defects/Makefile.
7813 * gdb.hp/Makefile.in: File deleted.
7814 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
7815 * gdb.hp/gdb.aCC/optimize.c: File deleted.
7816 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
7817 * gdb.hp/gdb.aCC/run.c: File deleted.
7818 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
7819 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
7820 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
7821 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
7822 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
7823 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
7824 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
7825 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
7826 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
7827 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
7828 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
7829 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
7830 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
7831 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
7832 * gdb.hp/gdb.base-hp/reg.s: File deleted.
7833 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
7834 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
7835 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
7836 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
7837 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
7838 * gdb.hp/gdb.compat/Makefile.in: File deleted.
7839 * gdb.hp/gdb.compat/average.c: File deleted.
7840 * gdb.hp/gdb.compat/sum.c: File deleted.
7841 * gdb.hp/gdb.compat/xdb.c: File deleted.
7842 * gdb.hp/gdb.compat/xdb0.c: File deleted.
7843 * gdb.hp/gdb.compat/xdb0.h: File deleted.
7844 * gdb.hp/gdb.compat/xdb1.c: File deleted.
7845 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
7846 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
7847 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
7848 * gdb.hp/gdb.defects/Makefile.in: File deleted.
7849 * gdb.hp/gdb.defects/bs14602.c: File deleted.
7850 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
7851 * gdb.hp/gdb.defects/solib-d.c: File deleted.
7852 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
7853 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
7854 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
7855 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
7856 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
7857 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
7858 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
7859 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
7860 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
7861 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
7862 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
7863 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
7864 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
7865 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
7866 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
7867 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
7868 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
7869 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
7870 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
7871 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
7872 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
7873 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
7874 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
7875 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
7876 * gdb.hp/tools/odump: File deleted.
7877
7878 2015-03-19 Pedro Alves <palves@redhat.com>
7879
7880 * gdb.threads/continue-pending-status.exp (saw_thread_2)
7881 (saw_thread_3): New globals.
7882 (top level): Increment them when an event for the corresponding
7883 thread is seen.
7884 (no thread starvation): New test.
7885
7886 2015-03-19 Pedro Alves <palves@redhat.com>
7887
7888 * gdb.threads/continue-pending-status.c: New file.
7889 * gdb.threads/continue-pending-status.exp: New file.
7890
7891 2015-03-18 Pedro Alves <palves@redhat.com>
7892
7893 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
7894 Use gdb_is_target_remote instead of is_remote. Use
7895 gdb_test_multiple instead of gdb_expect. Exit early if
7896 gdb_test_multiple hits its internal matches. Tighten stepi tests
7897 expected output. Fail on exit with any signal, instead of just
7898 SIGILL.
7899
7900 2015-03-18 Yao Qi <yao.qi@linaro.org>
7901
7902 PR tdep/18107
7903 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
7904 variable.
7905 * gdb.base/catch-syscall.exp: Don't skip it on
7906 aarch64*-*-linux* target. Remove elements in all_syscalls.
7907 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
7908 target.
7909 (setup_all_syscalls): New proc.
7910
7911 2015-03-16 Yao Qi <yao.qi@linaro.org>
7912
7913 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
7914 (top level): Skip tests if valid_addr_p returns false for
7915 $cmd1 or $cmd2.
7916
7917 2015-03-11 Andy Wingo <wingo@igalia.com>
7918
7919 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
7920
7921 2015-03-11 Yao Qi <yao.qi@linaro.org>
7922
7923 * gdb.base/catch-syscall.exp: Fix typo in comments.
7924
7925 2015-03-11 Yao Qi <yao.qi@linaro.org>
7926
7927 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
7928
7929 2015-03-09 Pedro Alves <palves@redhat.com>
7930
7931 * dg-extract-results.py: Delete.
7932
7933 2015-03-09 Pedro Alves <palves@redhat.com>
7934
7935 Merge dg-extract-results.sh from GCC upstream (r218843).
7936
7937 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
7938 * dg-extract-results.sh: Use --text with grep to avoid issues with
7939 binary files. Fall back to cat -v, if that doesn't work.
7940
7941 2015-03-05 Pedro Alves <palves@redhat.com>
7942
7943 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
7944
7945 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
7946
7947 * lib/mi-support.exp (mi_expect_interrupt): Accept
7948 alternative event for when in all-stop mode.
7949
7950 2015-03-04 Pedro Alves <palves@redhat.com>
7951
7952 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
7953
7954 2015-03-04 Mark Kettenis <kettenis@gnu.org>
7955
7956 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
7957
7958 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
7959
7960 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
7961 regexps for GDB's current line display, accept a hex address
7962 preceding the line number.
7963
7964 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
7965
7966 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
7967 the 'arch1' variable for "s390*-linux*" targets.
7968
7969 2015-03-04 Pedro Alves <palves@redhat.com>
7970
7971 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
7972 (main): Pass missing retval argument to pthread_join call.
7973
7974 2015-03-02 Pedro Alves <palves@redhat.com>
7975
7976 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
7977 (top level): Call do_test with non-stop as well.
7978
7979 2015-03-02 Pedro Alves <palves@redhat.com>
7980
7981 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
7982 -1.
7983
7984 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
7985
7986 * gdb.arch/s390-vregs.exp: New test.
7987 * gdb.arch/s390-vregs.S: New file.
7988
7989 2015-02-27 Pedro Alves <palves@redhat.com>
7990
7991 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
7992 call to catch_command_errors.
7993 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
7994 catch_command_errors.
7995
7996 2015-02-27 Pedro Alves <palves@redhat.com>
7997
7998 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
7999 "true" for boolean result.
8000 * gdb.gdb/selftest.exp (test_with_self): Also accept full
8001 prototype of main.
8002
8003 2015-02-27 Pedro Alves <palves@redhat.com>
8004
8005 * lib/unbuffer_output.c: New file.
8006 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
8007 (main): Call gdb_unbuffer_output.
8008
8009 2015-02-27 Yao Qi <yao.qi@linaro.org>
8010
8011 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
8012 target.
8013
8014 2015-02-26 Doug Evans <dje@google.com>
8015
8016 * gdb.cp/class2.cc (Dbase, D): New classes.
8017 (main): New local delta.
8018 * gdb.cp/class2.exp: Test printing delta.
8019 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
8020 (dynbar): New global.
8021 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
8022
8023 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
8024
8025 * gdb.compile/compile-ifunc.c: New file.
8026 * gdb.compile/compile-ifunc.exp: New file.
8027
8028 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
8029
8030 * gdb.base/structs.exp: Check for correct struct on finish.
8031
8032 2015-02-26 Yao Qi <yao.qi@linaro.org>
8033
8034 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
8035 is zero.
8036
8037 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
8038
8039 * gdb.arch/cordic.ko.bz2: New file.
8040 * gdb.arch/cordic.ko.debug.bz2: New file.
8041 * gdb.arch/ppc64-symtab-cordic.exp: New file.
8042
8043 2015-02-25 Yao Qi <yao.qi@linaro.org>
8044
8045 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
8046 aarch64*-*-* target.
8047
8048 2015-02-23 Pedro Alves <palves@redhat.com>
8049
8050 * lib/gdb.exp (delete_breakpoints): Rewrite using
8051 gdb_test_multiple.
8052
8053 2015-02-23 Pedro Alves <palves@redhat.com>
8054
8055 * gdb.base/info-os.c: Include stdlib.h.
8056
8057 2015-02-22 Doug Evans <xdje42@gmail.com>
8058
8059 PR symtab/17855
8060 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
8061 is read after symbols have been re-read.
8062 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
8063 * gdb.ada/exec_changed/second.adb (Second): Ditto.
8064
8065 2015-02-21 Doug Evans <dje@google.com>
8066
8067 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
8068
8069 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
8070
8071 PR corefiles/17808
8072 * gdb.arch/i386-biarch-core.core.bz2: New file.
8073 * gdb.arch/i386-biarch-core.exp: New file.
8074
8075 2015-02-21 Pedro Alves <palves@redhat.com>
8076
8077 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
8078 runto_main fails.
8079
8080 2015-02-20 Pedro Alves <palves@redhat.com>
8081
8082 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
8083 info probes.
8084
8085 2015-02-20 Pedro Alves <palves@redhat.com>
8086
8087 * gdb.threads/multi-create-ns-info-thr.exp: New file.
8088
8089 2015-02-20 Pedro Alves <palves@redhat.com>
8090
8091 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
8092 clean_restart before gdb_target_supports_trace.
8093
8094 2015-02-20 Pedro Alves <palves@redhat.com>
8095
8096 PR threads/18006
8097 * gdb.threads/clone-thread_db.c: New file.
8098 * gdb.threads/clone-thread_db.exp: New file.
8099
8100 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
8101
8102 PR breakpoints/16812
8103 * gdb.base/catch-gdb-caused-signals.c: New file.
8104 * gdb.base/catch-gdb-caused-signals.exp: New file.
8105
8106 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
8107
8108 * configure: Regenerated.
8109 * configure.ac: Use GDB_AC_TRANSFORM.
8110 * aclocal.m4: sinclude ../transform.m4.
8111
8112 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
8113
8114 * lib/dtrace.exp: New file.
8115 * gdb.base/dtrace-probe.exp: Likewise.
8116 * gdb.base/dtrace-probe.d: Likewise.
8117 * gdb.base/dtrace-probe.c: Likewise.
8118 * lib/pdtrace.in: Likewise.
8119 * configure.ac: Output variables with the transformed names of
8120 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
8121 * configure: Regenerated.
8122
8123 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
8124
8125 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
8126 expected message when trying to access $_probe_* convenience
8127 variables while not on a probe.
8128
8129 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8130
8131 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
8132
8133 2015-02-11 Pedro Alves <pedro@codesourcery.com>
8134
8135 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
8136 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
8137
8138 2015-02-10 Doug Evans <xdje42@gmail.com>
8139
8140 * lib/gdb.exp (gdb_load): Always return a result.
8141
8142 2015-02-10 Pedro Alves <palves@redhat.com>
8143
8144 * gdb.threads/signal-sigtrap.c: New file.
8145 * gdb.threads/signal-sigtrap.exp: New file.
8146
8147 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
8148
8149 * gdb.trace/no-attach-trace.c: New file.
8150 * gdb.trace/no-attach-trace.exp: New file.
8151
8152 2015-02-09 Mark Wielaard <mjw@redhat.com>
8153
8154 * gdb.dwarf2/atomic.c: New file.
8155 * gdb.dwarf2/atomic-type.exp: Likewise.
8156
8157 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
8158
8159 * gdb.btrace/buffer-size.exp: Update "info record" output.
8160 * gdb.btrace/delta.exp: Update "info record" output.
8161 * gdb.btrace/enable.exp: Update "info record" output.
8162 * gdb.btrace/finish.exp: Update "info record" output.
8163 * gdb.btrace/instruction_history.exp: Update "info record" output.
8164 * gdb.btrace/next.exp: Update "info record" output.
8165 * gdb.btrace/nexti.exp: Update "info record" output.
8166 * gdb.btrace/step.exp: Update "info record" output.
8167 * gdb.btrace/stepi.exp: Update "info record" output.
8168 * gdb.btrace/nohist.exp: Update "info record" output.
8169
8170 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
8171
8172 * gdb.btrace/buffer-size: New.
8173
8174 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
8175
8176 * gdb.btrace/delta.exp: Update "info record" output.
8177 * gdb.btrace/enable.exp: Update "info record" output.
8178 * gdb.btrace/finish.exp: Update "info record" output.
8179 * gdb.btrace/instruction_history.exp: Update "info record" output.
8180 * gdb.btrace/next.exp: Update "info record" output.
8181 * gdb.btrace/nexti.exp: Update "info record" output.
8182 * gdb.btrace/step.exp: Update "info record" output.
8183 * gdb.btrace/stepi.exp: Update "info record" output.
8184 * gdb.btrace/nohist.exp: Update "info record" output.
8185
8186 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
8187
8188 PR gdb/15678
8189 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
8190
8191 2015-02-06 Pedro Alves <palves@redhat.com>
8192
8193 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
8194 macro.
8195 (seconds_left, again): New globals.
8196 (main): Wait seconds_left in a 1-second sleep loop instead of
8197 sleeping 180 seconds. If 'again' is set, reset the seconds
8198 counter.
8199 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
8200 'again' in the inferior before detaching. Print the seconds left.
8201 (options): New global.
8202 (top level): Build program with -DTIMEOUT=$timeout.
8203
8204 2015-02-06 Pedro Alves <palves@redhat.com>
8205
8206 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
8207 determine how many seconds to pass to 'alarm'.
8208 * gdb.base/gdb-sigterm.exp (top level): Build program with
8209 -DTIMEOUT=$timeout.
8210 (do_test): Return success/failure indication. Add more verbose
8211 logging. Don't fail if 200 single steps are seen. Instead, fail
8212 when the test times out.
8213 (passes): New global.
8214 (top level): Break the testing loop if testing fails on any
8215 iteration. Use gdb_assert.
8216
8217 2015-02-04 Don Breazeal <donb@codesourcery.com>
8218
8219 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
8220 and initialize them.
8221 (ipc_cleanup): New function.
8222 (main): Don't declare shmid, semid, and msqid. Add a call to
8223 atexit so that we call ipc_cleanup on exit.
8224
8225 2015-02-04 Pedro Alves <palves@redhat.com>
8226
8227 * boards/native-extended-gdbserver.exp: Remove any target variant
8228 specifications from the board name before clearing the isremote
8229 flag from board_info.
8230
8231 2015-01-31 Doug Evans <xdje42@gmail.com>
8232
8233 * gdb.base/maint.exp <maint print type argc>: Update expected output.
8234
8235 2015-01-31 Gary Benson <gbenson@redhat.com>
8236
8237 * gdb.base/completion.exp: Disable completion limiting for
8238 existing tests. Add new tests to check completion limiting.
8239 * gdb.linespec/ls-errs.exp: Disable completion limiting.
8240
8241 2015-01-31 Doug Evans <xdje42@gmail.com>
8242
8243 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
8244
8245 2015-01-31 Doug Evans <xdje42@gmail.com>
8246
8247 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
8248 entries. Duplicate file section script entries.
8249 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
8250 inlined entries. Add test for safe-path rejection.
8251 * gdb.python/py-section-script.c: Add duplicate inlined section script
8252 entries. Duplicate file section script entries.
8253 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
8254 inlined entries. Add test for safe-path rejection.
8255
8256 2015-01-29 Joel Brobecker <brobecker@adacore.com>
8257
8258 * gdb.ada/disc_arr_bound: New testcase.
8259
8260 2015-01-29 Joel Brobecker <brobecker@adacore.com>
8261
8262 * gdb.ada/mi_var_array: New testcase.
8263
8264 2015-01-27 Doug Evans <dje@google.com>
8265
8266 * gdb.python/py-objfile.exp: Add tests for objfile.username.
8267 Add test for objfile.filename, objfile.username after objfile
8268 has been unloaded.
8269
8270 2015-01-26 Joel Brobecker <brobecker@adacore.com>
8271
8272 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
8273 the second test to print the name attribute of value
8274 returned by the call to gdb.lookup_type, and adjust
8275 the expected output accordingly.
8276
8277 2015-01-25 Mark Wielaard <mjw@redhat.com>
8278
8279 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
8280 * gdb.base/disp-step-fork.c: Include unistd.h.
8281 * gdb.base/siginfo-obj.c: Include stdio.h.
8282 * gdb.base/siginfo-thread.c: Likewise.
8283 * gdb.mi/non-stop.c: Include unistd.h.
8284 * gdb.mi/nsthrexec.c: Include stdio.h.
8285 * gdb.mi/pthreads.c: Include unistd.h.
8286 * gdb.modula2/unbounded1.c (main): Declare returns int.
8287 * gdb.reverse/consecutive-reverse.c: Likewise.
8288 * gdb.threads/create-fail.c: Include unistd.h.
8289 * gdb.threads/killed.c: Likewise.
8290 * gdb.threads/linux-dp.c: Likewise.
8291 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
8292 * gdb.threads/non-ldr-exc-2.c: Likewise.
8293 * gdb.threads/non-ldr-exc-3.c: Likewise.
8294 * gdb.threads/non-ldr-exc-4.c: Likewise.
8295 * gdb.threads/pthreads.c: Include unistd.h.
8296 (main): Declare returns int.
8297 * gdb.threads/tls-main.c (foo): New declaration.
8298 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
8299
8300 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
8301
8302 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
8303 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
8304
8305 2015-01-15 Mark Wielaard <mjw@redhat.com>
8306
8307 * gdb.base/noreturn-return.c: New file.
8308 * gdb.base/noreturn-return.exp: New file.
8309 * gdb.base/noreturn-finish.c: New file.
8310 * gdb.base/noreturn-finish.exp: New file.
8311
8312 2015-01-23 Pedro Alves <palves@redhat.com>
8313
8314 * gdb.threads/continue-pending-after-query.c: New file.
8315 * gdb.threads/continue-pending-after-query.exp: New file.
8316
8317 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
8318 Simon Marchi <simon.marchi@ericsson.com>
8319
8320 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
8321 * gdb.base/valgrind-db-attach.exp: Same.
8322 * gdb.base/valgrind-infcall.exp: Same.
8323 * lib/mi-support.exp (default_mi_gdb_start): Same.
8324 * lib/prompt.exp (default_prompt_gdb_start): Same.
8325 * lib/gdb.exp (default_gdb_spawn): Same.
8326 (gdb_interact): New.
8327
8328
8329 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8330
8331 * gdb.compile/compile.exp (pointer to jit function): New test.
8332
8333 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
8334
8335 * lib/gdb.exp (supports_process_record): Return true for
8336 powerpc*-*-linux*.
8337 (supports_reverse): Likewise.
8338
8339 2015-01-15 Don Breazeal <donb@codesourcery.com>
8340
8341 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
8342 instead of checking whether the target board is remote and
8343 use spawn_wait_for_attach instead of exec/sleep.
8344 * gdb.base/attach-twice.exp: Likewise.
8345
8346 2015-01-15 Joel Brobecker <brobecker@adacore.com>
8347
8348 * gdb.ada/var_arr_attrs: New testcase.
8349
8350 2015-01-14 Pedro Alves <palves@redhat.com>
8351 Joel Brobecker <brobecker@adacore.com>
8352
8353 PR gdb/17525
8354 * gdb.base/bp-cmds-execution-x-script.c: New file.
8355 * gdb.base/bp-cmds-execution-x-script.exp: New file.
8356 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
8357
8358 2015-01-14 Pedro Alves <palves@redhat.com>
8359
8360 PR cli/17828
8361 * gdb.base/batch-preserve-term-settings.c: New file.
8362 * gdb.base/batch-preserve-term-settings.exp: New file.
8363
8364 2015-01-13 Doug Evans <dje@google.com>
8365
8366 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
8367 binary.
8368
8369 2015-01-13 Joel Brobecker <brobecker@adacore.com>
8370
8371 * Makefile.in (clean mostlyclean): Do not delete *.py.
8372
8373 2015-01-13 Joel Brobecker <brobecker@adacore.com>
8374
8375 * gdb.python/py-lookup-type.exp: New file.
8376
8377 2015-01-12 Pedro Alves <palves@redhat.com>
8378
8379 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
8380 restore GDBFLAGS before returning.
8381
8382 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8383
8384 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
8385 is_amd64_regs_target and is_x86_like_target.
8386
8387 2015-01-11 Doug Evans <xdje42@gmail.com>
8388
8389 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
8390 is given without an explicit form.
8391 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
8392 attributes.
8393 * gdb.dwarf/corrupt.exp: Ditto.
8394 * gdb.dwarf2/enum-type.exp: Ditto.
8395 * gdb.trace/entry-values.exp: Ditto.
8396 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
8397
8398 2015-01-11 Doug Evans <xdje42@gmail.com>
8399
8400 PR gdb/15830
8401 * gdb.base/maint.exp: Remove references to "maint demangle".
8402 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
8403 Add tests for explicitly specifying language to demangle.
8404 * gdb.dlang/demangle.exp: Ditto.
8405
8406 2015-01-09 Pedro Alves <palves@redhat.com>
8407
8408 * gdb.threads/non-stop-fair-events.c: New file.
8409 * gdb.threads/non-stop-fair-events.exp: New file.
8410
8411 2015-01-09 Pedro Alves <palves@redhat.com>
8412
8413 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
8414 the global scope. Set a breakpoint after all threads are started
8415 rather than stepping over two source lines. Expect the prompt.
8416 * gdb.base/watch_thread_num.c (threads_started_barrier): New
8417 global.
8418 (NUM): Now 15.
8419 (main): Use threads_started_barrier to wait for all threads to
8420 start. Main thread no longer calls thread_function. Exit after
8421 180 seconds.
8422 (loop): New function.
8423 (thread_function): Wait on threads_started_barrier barrier. Call
8424 'loop' at each iteration.
8425 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
8426 threads have started, instead of hardcoding number of "next"
8427 steps. Use an access watchpoint instead of a write watchpoint.
8428
8429 2015-01-09 Pedro Alves <palves@redhat.com>
8430
8431 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
8432 (thread_func): Wait on barrier.
8433 (main): Wait for all threads to start before stopping GDB.
8434 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
8435 global.
8436 (thread1_func, thread2_func): Wait on barrier.
8437 (main): Wait for all threads to start before stopping GDB.
8438 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
8439 New global.
8440 (thread1_func, thread2_func): Wait on barrier.
8441 (main): Wait for all threads to start before stopping GDB.
8442
8443 2015-01-09 Pedro Alves <palves@redhat.com>
8444
8445 * gdb.threads/attach-many-short-lived-threads.c: New file.
8446 * gdb.threads/attach-many-short-lived-threads.exp: New file.
8447
8448 2014-01-09 Pedro Alves <palves@redhat.com>
8449
8450 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
8451 instead of to thread 2.
8452 * gdb.threads/signal-command-multiple-signals-pending.c (main):
8453 Add barrier around each pthread_create call instead of around all
8454 calls.
8455 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
8456 Set a break on thread_function and have the child threads hit it
8457 one at at a time.
8458
8459 2015-01-09 Pedro Alves <palves@redhat.com>
8460
8461 * lib/gdb.exp (can_spawn_for_attach): New procedure.
8462 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
8463 false.
8464 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
8465 checking whether the target board is remote.
8466 * gdb.multi/multi-attach.exp: Likewise.
8467 * gdb.python/py-sync-interp.exp: Likewise.
8468 * gdb.server/ext-attach.exp: Likewise.
8469 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
8470 tests that need to attach, instead of checking whether the target
8471 board is remote at the top of the file.
8472
8473 2015-01-08 Yao Qi <yao@codesourcery.com>
8474
8475 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
8476
8477 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8478
8479 Fix testcase compilation.
8480 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
8481
8482 2015-01-06 Joel Brobecker <brobecker@adacore.com>
8483
8484 * gdb.python/py-type.exp: Add a couple test about empty
8485 array creation, and negative-length array creation.
8486
8487 2015-01-02 Doug Evans <xdje42@gmail.com>
8488
8489 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
8490
8491 2015-01-02 Doug Evans <dje@google.com>
8492
8493 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
8494
8495 2014-12-29 Yao Qi <yao@codesourcery.com>
8496
8497 * gdb.trace/entry-values.exp: Update comments. Rename variable
8498 bar_call_foo to returned_from_foo.
8499
8500 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
8501
8502 PR gdb/17394
8503 * gdb.linespec/break-asm-file.c: New file.
8504 * gdb.linespec/break-asm-file.exp: New file.
8505 * gdb.linespec/break-asm-file0.s: New file.
8506 * gdb.linespec/break-asm-file1.s: New file.
8507
8508 2014-12-18 Nigel Stephens <nigel@mips.com>
8509 Maciej W. Rozycki <macro@codesourcery.com>
8510
8511 * gdb.base/float.exp: Handle the new output from "info float" on
8512 MIPS targets.
8513
8514 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8515
8516 Fix MinGW compilation.
8517 * gdb.compile/compile-ops.exp: Update untested message if
8518 !skip_compile_feature_tests.
8519 * gdb.compile/compile-setjmp.exp: Likewise.
8520 * gdb.compile/compile-tls.exp: Likewise.
8521 * gdb.compile/compile.exp: Likewise.
8522 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
8523 supported on this host".
8524
8525 2014-12-16 Doug Evans <xdje42@gmail.com>
8526
8527 * boards/stabs.exp: New file.
8528
8529 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
8530
8531 * gdb.base/completion.exp: Adjust to format changes of "maint
8532 print user-registers".
8533
8534 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
8535
8536 PR server/17457
8537 * gdb.arch/aarch64-fp.c: New file.
8538 * gdb.arch/aarch64-fp.exp: New file.
8539
8540 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
8541
8542 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
8543 r210637, r210913, r211666, r215400, r215817).
8544
8545 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
8546 * dg-extract-results.py: New file.
8547 * dg-extract-results.sh: Use it if the environment seems
8548 suitable.
8549
8550 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
8551
8552 * dg-extract-results.py (parse_run): Handle warnings that
8553 are printed before a test harness is run.
8554
8555 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
8556
8557 * dg-extract-results.py (Named): Remove __cmp__ method.
8558 (output_variation): Use a key to sort variation.harnesses.
8559
8560 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
8561
8562 * dg-extract-results.py: For Python 3, force sys.stdout to
8563 handle surrogate escape sequences.
8564 (safe_open): New function.
8565 (output_segment, main): Use it.
8566
8567 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
8568
8569 * dg-extract-results.py (Prog.result_re): Include options
8570 in test name.
8571
8572 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
8573
8574 * dg-extract-results.py (output_variation): Always sort if
8575 do_sum.
8576
8577 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
8578
8579 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
8580 as long as we get pagination notifications.
8581
8582 2014-12-15 Jason Merrill <jason@redhat.com>
8583
8584 * Makefile.in (check-gdb.%): Restore.
8585 * README: Mention it.
8586
8587 2014-12-13 Joel Brobecker <brobecker@adacore.com>
8588
8589 * gdb.ada/str_uninit: New testcase.
8590
8591 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8592
8593 PR symtab/17642
8594 * gdb.base/vla-stub-define.c: New file.
8595 * gdb.base/vla-stub.c: New file.
8596 * gdb.base/vla-stub.exp: New file.
8597
8598 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
8599 Jan Kratochvil <jan.kratochvil@redhat.com>
8600 Tom Tromey <tromey@redhat.com>
8601
8602 * configure.ac: Add gdb.compile/.
8603 * configure: Regenerate.
8604 * gdb.compile/Makefile.in: New file.
8605 * gdb.compile/compile-ops.exp: New file.
8606 * gdb.compile/compile-ops.c: New file.
8607 * gdb.compile/compile-tls.c: New file.
8608 * gdb.compile/compile-tls.exp: New file.
8609 * gdb.compile/compile-constvar.S: New file.
8610 * gdb.compile/compile-constvar.c: New file.
8611 * gdb.compile/compile-mod.c: New file.
8612 * gdb.compile/compile-nodebug.c: New file.
8613 * gdb.compile/compile-setjmp-mod.c: New file.
8614 * gdb.compile/compile-setjmp.c: New file.
8615 * gdb.compile/compile-setjmp.exp: New file.
8616 * gdb.compile/compile-shlib.c: New file.
8617 * gdb.compile/compile.c: New file.
8618 * gdb.compile/compile.exp: New file.
8619 * lib/gdb.exp (skip_compile_feature_tests): New proc.
8620
8621 2014-12-12 Tom Tromey <tromey@redhat.com>
8622
8623 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
8624 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
8625
8626 2014-12-12 Doug Evans <dje@google.com>
8627
8628 * lib/gdb-python.exp (get_python_valueof): New function.
8629 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
8630
8631 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8632
8633 * gdb.base/completion.exp: Add test for completion of "info
8634 registers ".
8635
8636 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
8637
8638 * gdb.base/func-ptrs.c: New file.
8639 * gdb.base/func-ptrs.exp: New file.
8640
8641 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
8642
8643 PR breakpoints/17012
8644 * gdb.base/dprintf-detach.c: New file.
8645 * gdb.base/dprintf-detach.exp: New file.
8646
8647 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
8648
8649 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
8650 * lib/gdb.exp (target_is_gdbserver): New procedure.
8651
8652 2014-12-08 Doug Evans <dje@google.com>
8653
8654 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
8655
8656 2014-12-05 Yao Qi <yao@codesourcery.com>
8657
8658 * gdb.guile/scm-error.exp: Remove the third argument to
8659 gdb_remote_download.
8660 * gdb.guile/scm-frame-args.exp: Likewise.
8661 * gdb.guile/scm-section-script.exp: Likewise.
8662
8663 2014-12-05 Yao Qi <yao@codesourcery.com>
8664
8665 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
8666
8667 2014-12-04 Doug Evans <dje@google.com>
8668
8669 * gdb.python/py-objfile.exp: Add tests for
8670 objfile.add_separate_debug_file.
8671
8672 2014-12-04 Doug Evans <dje@google.com>
8673
8674 * lib/gdb.exp (get_build_id): New function.
8675 (build_id_debug_filename_get): Rewrite to use it.
8676 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
8677
8678 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
8679
8680 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
8681 `method(long)', not just 0x0.
8682 * gdb.cp/nsalias.exp: Align code labels to 4.
8683 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
8684 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
8685 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
8686 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
8687 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
8688 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
8689
8690 2014-12-02 Doug Evans <dje@google.com>
8691
8692 PR symtab/17602
8693 * gdb.cp/anon-ns.cc: Move guts of this file to ...
8694 * gdb.cp/anon-ns2.cc: ... here. New file.
8695 * gdb.cp/anon-ns.exp: Update.
8696
8697 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
8698
8699 * gdb.python/py-events.py (inferior_call_handler): New.
8700 (register_changed_handler, memory_changed_handler): New.
8701 (test_events.invoke): Register new handlers.
8702 * gdb.python/py-events.exp: Add tests for inferior call,
8703 memory_changed and register_changed events.
8704
8705 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
8706
8707 * gdb.base/execl-update-breakpoints.exp: Specify the link address
8708 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
8709 if the linker doesn't understand this.
8710
8711 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
8712
8713 * gdb.python/python.exp: Change expected reply to help().
8714
8715 2014-12-01 Yao Qi <yao@codesourcery.com>
8716
8717 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
8718 AC_CONFIG_SUBDIRS(gdb.gdbtk).
8719 * configure: Re-generated.
8720
8721 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
8722
8723 * gdb.cp/chained-calls.cc: New file.
8724 * gdb.cp/chained-calls.exp: New file.
8725 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
8726
8727 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
8728
8729 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
8730 * gdb.dwarf2/symtab-producer.exp: Same.
8731 * gdb.gdb/python-interrupts.exp: Same.
8732 * gdb.gdb/python-selftest.exp: Same.
8733 * gdb.python/py-linetable.exp: Same.
8734 * gdb.python/py-type.exp: Same.
8735 * gdb.python/py-value-cc.exp: Same.
8736 * gdb.python/py-value.exp: Same.
8737
8738 2014-11-28 Yao Qi <yao@codesourcery.com>
8739
8740 * gdb.base/break-probes.exp: Match library name prefixed with
8741 sysroot.
8742
8743 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
8744
8745 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
8746 test expected output. Add parentheses for the call to print.
8747 Remove L suffix from integers.
8748
8749 2014-11-26 Doug Evans <dje@google.com>
8750
8751 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
8752
8753 2014-11-22 Yao Qi <yao@codesourcery.com>
8754
8755 * gdb.trace/entry-values.c: Remove asms.
8756 (foo): Add foo_label.
8757 (bar): Add bar_label.
8758 * gdb.trace/entry-values.exp: Remove code computing foo's
8759 length and bar's length.
8760 (Dwarf::assemble): Invoke function_range for bar and use
8761 MACRO_AT_func for foo.
8762
8763 2014-11-22 Yao Qi <yao@codesourcery.com>
8764
8765 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
8766 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
8767 Use .Lgcc43_procstart instead of gcc43.
8768
8769 2014-11-21 Joel Brobecker <brobecker@adacore.com>
8770
8771 * gdb.ada/n_arr_bound: New testcase.
8772
8773 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
8774
8775 PR breakpoints/10737
8776 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
8777 test_catch_syscall_multi_arch.
8778 (test_catch_syscall_multi_arch): New function.
8779
8780 2014-11-20 Doug Evans <xdje42@gmail.com>
8781
8782 * gdb.base/maint.exp: Update expected output.
8783
8784 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
8785
8786 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
8787 4-byte instruction on S390.
8788
8789 2014-11-19 Joel Brobecker <brobecker@adacore.com>
8790
8791 * gdb.ada/arr_arr: New testcase.
8792
8793 2014-11-19 Joel Brobecker <brobecker@adacore.com>
8794
8795 * gdb.ada/pkd_arr_elem: New Testcase.
8796
8797 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
8798
8799 * gdb.reverse/break-precsave: Expect completion message for
8800 core file reads.
8801 * gdb.reverse/consecutive-precsave.exp: Likewise.
8802 * gdb.reverse/finish-precsave.exp: Likewise.
8803 * gdb.reverse/i386-precsave.exp: Likewise.
8804 * gdb.reverse/machinestate-precsave.exp: Likewise.
8805 * gdb.reverse/sigall-precsave.exp: Likewise.
8806 * gdb.reverse/solib-precsave.exp: Likewise.
8807 * gdb.reverse/step-precsave.exp: Likewise.
8808 * gdb.reverse/until-precsave.exp: Likewise.
8809 * gdb.reverse/watch-precsave.exp: Likewise.
8810
8811 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
8812
8813 * gdb.base/bp-permanent.c: Include unistd.h.
8814 * gdb.python/py-framefilter-mi.c (main): Add return type.
8815 * gdb.python/py-framefilter.c (main): Likewise.
8816 * gdb.trace/actions-changed.c (main): Likewise.
8817
8818 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
8819
8820 * gdb.mi/until.c: Add eye-catchers.
8821 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
8822 line numbers.
8823
8824 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
8825
8826 * gdb.base/condbreak.exp: Drop references to removed non-prototype
8827 function header variants in break1.c.
8828 * gdb.base/ena-dis-br.exp: Likewise.
8829 * gdb.base/hbreak2.exp: Likewise.
8830 * gdb.reverse/until-precsave.exp: Drop references to removed
8831 non-prototype function header variants in ur1.c.
8832 * gdb.reverse/until-reverse.exp: Likewise.
8833
8834 2014-11-17 Petr Machata <pmachata@redhat.com>
8835
8836 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
8837 ${_cu_offset_size} bytes abbrev offset.
8838
8839 2014-11-15 Doug Evans <xdje42@gmail.com>
8840
8841 PR symtab/17559
8842 * gdb.base/line-symtabs.exp: New file.
8843 * gdb.base/line-symtabs.c: New file.
8844 * gdb.base/line-symtabs.h: New file.
8845
8846 2014-11-14 Yao Qi <yao@codesourcery.com>
8847
8848 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
8849 (func): Add label func_label.
8850 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
8851 Replace low_pc and high_pc with MACRO_AT_range.
8852 Replace name, low_pc and high_pc with MACRO_AT_func.
8853
8854 2014-11-14 Yao Qi <yao@codesourcery.com>
8855
8856 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
8857 Replace name, low_pc and high_pc with MACRO_AT_func.
8858
8859 2014-11-14 Yao Qi <yao@codesourcery.com>
8860
8861 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
8862 produce debug information.
8863 * gdb.dwarf2/implptr-optimized-out.S: Removed.
8864
8865 2014-11-14 Yao Qi <yao@codesourcery.com>
8866
8867 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
8868 object and get function length.
8869 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
8870 with MACRO_AT_func.
8871 (top-level): Replace gdb_compile and clean_restart with
8872 prepare_for_testing.
8873 * gdb.dwarf2/main.c (main): Add label main_label.
8874
8875 2014-11-14 Yao Qi <yao@codesourcery.com>
8876
8877 * lib/dwarf.exp (function_range): New procedure.
8878 (Dwarf::_handle_macro_at_func): New procedure.
8879 (Dwarf::_handle_macro_at_range): New procedure.
8880 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
8881
8882 2014-11-14 Yao Qi <yao@codesourcery.com>
8883
8884 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
8885 (_handle_attribute): New procedure.
8886
8887 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8888
8889 * gdb.ada/cond_lang/foo.c (callme): Add return type.
8890 * gdb.base/call-sc.c (zed): Likewise.
8891 * gdb.base/checkpoint.c (main): Likewise.
8892 * gdb.base/dump.c (main): Likewise.
8893 * gdb.base/gcore.c (main): Likewise.
8894 * gdb.base/huge.c (main): Likewise.
8895 * gdb.base/multi-forks.c (main): Likewise.
8896 * gdb.base/pr10179-a.c (main): Likewise.
8897 * gdb.base/savedregs.c (main): Likewise.
8898 * gdb.base/sigaltstack.c (main): Likewise.
8899 * gdb.base/siginfo.c (main): Likewise.
8900 * gdb.base/structs.c (zed): Likewise.
8901 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
8902 * gdb.mi/mi-syn-frame.c (main): Likewise.
8903 * gdb.mi/until.c (foo, main): Likewise.
8904 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
8905 * gdb.base/solib-weak.c (foo): Declare.
8906 * gdb.base/attach-twice.c: Include stdio.h.
8907 * gdb.base/weaklib1.c: Likewise.
8908 * gdb.base/weaklib2.c: Likewise.
8909 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
8910 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
8911 unistd.h.
8912 * gdb.base/attach-pie-misread.c: Include stdlib.h.
8913 * gdb.mi/mi-exit-code.c: Likewise.
8914 * gdb.base/break-interp-lib.c: Include string.h.
8915 * gdb.base/coremaker.c: Likewise.
8916 * gdb.base/testenv.c: Likewise.
8917 * gdb.python/py-finish-breakpoint.c: Likewise.
8918 * gdb.base/inferior-died.c: Include sys/wait.h.
8919 * gdb.base/fileio.c: Include time.h.
8920 * gdb.base/async-shell.c: Include unistd.h.
8921 * gdb.base/dprintf-non-stop.c: Likewise.
8922 * gdb.base/info-os.c: Likewise.
8923 * gdb.mi/mi-console.c: Likewise.
8924 * gdb.mi/watch-nonstop.c: Likewise.
8925 * gdb.python/py-events.c: Likewise.
8926 * gdb.base/async.c (baz): Move up before its invocation.
8927 * gdb.base/code_elim2.c (my_global_func): Likewise.
8928 * gdb.base/skip-solib-lib.c (multiply): Likewise.
8929 * gdb.base/advance.c (func2): Likewise.
8930
8931 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8932
8933 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
8934 variant.
8935 * gdb.base/annota3.c: Likewise.
8936 * gdb.base/async.c: Likewise.
8937 * gdb.base/average.c: Likewise.
8938 * gdb.base/call-ar-st.c: Likewise.
8939 * gdb.base/call-rt-st.c: Likewise.
8940 * gdb.base/call-sc.c: Likewise.
8941 * gdb.base/call-strs.c: Likewise.
8942 * gdb.base/ending-run.c: Likewise.
8943 * gdb.base/execd-prog.c: Likewise.
8944 * gdb.base/exprs.c: Likewise.
8945 * gdb.base/foll-exec.c: Likewise.
8946 * gdb.base/foll-fork.c: Likewise.
8947 * gdb.base/foll-vfork.c: Likewise.
8948 * gdb.base/funcargs.c: Likewise.
8949 * gdb.base/gcore.c: Likewise.
8950 * gdb.base/jump.c: Likewise.
8951 * gdb.base/langs0.c: Likewise.
8952 * gdb.base/langs1.c: Likewise.
8953 * gdb.base/langs2.c: Likewise.
8954 * gdb.base/mips_pro.c: Likewise.
8955 * gdb.base/nodebug.c: Likewise.
8956 * gdb.base/opaque0.c: Likewise.
8957 * gdb.base/opaque1.c: Likewise.
8958 * gdb.base/recurse.c: Likewise.
8959 * gdb.base/run.c: Likewise.
8960 * gdb.base/scope0.c: Likewise.
8961 * gdb.base/scope1.c: Likewise.
8962 * gdb.base/setshow.c: Likewise.
8963 * gdb.base/setvar.c: Likewise.
8964 * gdb.base/shmain.c: Likewise.
8965 * gdb.base/shr1.c: Likewise.
8966 * gdb.base/shr2.c: Likewise.
8967 * gdb.base/sigall.c: Likewise.
8968 * gdb.base/signals.c: Likewise.
8969 * gdb.base/so-indr-cl.c: Likewise.
8970 * gdb.base/solib2.c: Likewise.
8971 * gdb.base/structs.c: Likewise.
8972 * gdb.base/sum.c: Likewise.
8973 * gdb.base/vforked-prog.c: Likewise.
8974 * gdb.base/watchpoint.c: Likewise.
8975 * gdb.reverse/shr2.c: Likewise.
8976 * gdb.reverse/until-reverse.c: Likewise.
8977 * gdb.reverse/ur1.c: Likewise.
8978 * gdb.reverse/watch-reverse.c: Likewise.
8979
8980 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8981
8982 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
8983 variant.
8984 * gdb.base/sepdebug.exp: Drop references to removed code.
8985
8986 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8987
8988 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
8989 variant. Preserve original line numbering.
8990 * gdb.base/list1.c: Likewise.
8991
8992 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8993
8994 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
8995 variant.
8996 * gdb.base/break1.c: Likewise.
8997 * gdb.base/break.exp: Drop references to removed code.
8998
8999 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9000
9001 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
9002 variant.
9003
9004 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9005
9006 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
9007
9008 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9009
9010 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
9011 logic into perform_all_tests() and invoke it with and without
9012 function header prototypes.
9013 (do_function_calls): Remove conditional XFAIL for PR 5318.
9014 (rerun_and_prepare): Remove duplicate code.
9015 (perform_all_tests): New. Main logic moved here.
9016
9017 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9018
9019 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
9020 code guarded by #ifdef NO_PROTOTYPES.
9021 (t_double_many_args): Likewise.
9022 (DEF_FUNC_MANY_ARGS_1): Likewise.
9023 (DEF_FUNC_VALUES_1): Likewise.
9024 (t_structs_ldc): Renamed from t_structs_fc in conditional code
9025 guarded by #ifdef PROTOTYPES.
9026
9027 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9028
9029 * gdb.mi/mi-console.c: Add eye-catcher.
9030 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
9031 instead of literal line number.
9032
9033 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9034
9035 * gdb.base/shr2.c: Add eye-catcher.
9036 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
9037 line number.
9038
9039 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9040
9041 * gdb.base/jump.c: Add eye-catchers.
9042 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
9043 numbers.
9044
9045 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9046
9047 * gdb.base/execd-prog.c: Add eye-catchers.
9048 * gdb.base/foll-exec.c: Likewise.
9049 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
9050 line numbers.
9051
9052 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9053
9054 * gdb.base/ending-run.c: Add eye-catchers.
9055 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
9056 literal line numbers.
9057
9058 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9059
9060 * gdb.base/call-rt-st.c: Add eye-catchers.
9061 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
9062 literal line numbers.
9063
9064 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9065
9066 * gdb.base/call-ar-st.c: Add eye-catchers.
9067 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
9068 literal line numbers.
9069
9070 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9071
9072 * gdb.base/average.c: Add eye-catchers.
9073 * gdb.base/sum.c: Likewise.
9074 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
9075 regexps dynamically.
9076
9077 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9078
9079 * gdb.base/solib1.c: Add eye-catchers.
9080 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
9081 literal line numbers.
9082
9083 2014-11-12 Pedro Alves <palves@redhat.com>
9084
9085 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
9086 leader has exited.
9087
9088 2014-11-12 Pedro Alves <palves@redhat.com>
9089
9090 * gdb.arch/i386-bp_permanent.c: New file.
9091 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
9092 (srcfile): Set to i386-bp_permanent.c.
9093 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
9094 that stepi does not execute the 'leave' instruction, instead of
9095 testing it does execute.
9096 * gdb.base/bp-permanent.c: New file.
9097 * gdb.base/bp-permanent.exp: New file.
9098
9099 2014-11-10 Doug Evans <xdje42@gmail.com>
9100
9101 PR symtab/17564
9102 * gdb.base/symtab-search-order.exp: New file.
9103 * gdb.base/symtab-search-order.c: New file.
9104 * gdb.base/symtab-search-order-1.c: New file.
9105 * gdb.base/symtab-search-order-shlib-1.c: New file.
9106
9107 2014-11-07 Pedro Alves <palves@redhat.com>
9108
9109 PR gdb/17511
9110 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
9111 i?86-*-linux*.
9112
9113 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
9114
9115 PR c++/17494
9116 * gdb.cp/pr17494.cc: New file.
9117 * gdb.cp/pr17494.exp: New file.
9118
9119 2014-11-02 Yao Qi <yao@codesourcery.com>
9120
9121 * gdb.python/python.exp: Get working directory and match the
9122 output of "set extended-prompt \\w " with it.
9123
9124 2014-10-30 Doug Evans <dje@google.com>
9125
9126 * gdb.python/py-objfile.exp: Add tests for setting random attributes
9127 in objfiles.
9128 * gdb.python/py-progspace.exp: Add tests for setting random attributes
9129 in progspaces.
9130
9131 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
9132
9133 * gdb.base/fullpath-expand.exp: Skip for a remote host.
9134 * gdb.base/realname-expand.exp: Likewise.
9135 * gdb.linespec/macro-relative.exp: Likewise.
9136
9137 2014-10-29 Pedro Alves <palves@redhat.com>
9138
9139 PR gdb/17408
9140 * gdb.threads/schedlock.c (some_function): New function.
9141 (call_function): New global.
9142 (MAYBE_CALL_SOME_FUNCTION): New macro.
9143 (thread_function): Call it.
9144 * gdb.threads/schedlock.exp (get_args): Add description parameter,
9145 and use it instead of a global counter. Adjust all callers.
9146 (get_current_thread): Use "find current thread" for test message
9147 here rather than having all callers pass down the same string.
9148 (goto_loop): New procedure, factored out from ...
9149 (my_continue): ... this.
9150 (step_ten_loops): Change parameter from test message to command to
9151 use. Adjust.
9152 (list_count): Delete global.
9153 (check_result): New procedure, factored out from duplicate top
9154 level code.
9155 (continue tests): Wrap in with_test_prefix.
9156 (test_step): New procedure, factored out from duplicate top level
9157 code.
9158 (top level): Test "step" in combination with all scheduler-locking
9159 modes. Test "next" in combination with all scheduler-locking
9160 modes, and in combination with stepping over a function call or
9161 not.
9162 * gdb.threads/next-bp-other-thread.c: New file.
9163 * gdb.threads/next-bp-other-thread.exp: New file.
9164
9165 2014-10-29 Pedro Alves <palves@redhat.com>
9166
9167 PR python/17372
9168 * gdb.python/python.exp: Test a multi-line command that spawns
9169 interactive Python.
9170 * gdb.base/multi-line-starts-subshell.exp: New file.
9171
9172 2014-10-29 Yao Qi <yao@codesourcery.com>
9173
9174 * gdb.base/fileio.exp: Make directories on host.
9175
9176 2014-10-29 Yao Qi <yao@codesourcery.com>
9177
9178 * gdb.base/fileio.c (test_write): Close the file.
9179
9180 2014-10-28 Pedro Alves <palves@redhat.com>
9181
9182 PR gdb/12623
9183 * gdb.base/sigstep.c (no_handler): New global.
9184 (main): If 'no_handler is true, set the signal handlers to
9185 SIG_IGN.
9186 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
9187 with_sw_watch and no_handler parameters. Handle them.
9188 (top level) <stepping over handler when stopped at a breakpoint
9189 test>: Add a test axis for testing with a software watchpoint, and
9190 another for testing with the signal handler set to SIG_IGN.
9191 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
9192 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
9193
9194 2014-10-28 Pedro Alves <palves@redhat.com>
9195
9196 PR gdb/17511
9197 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
9198 * gdb.base/sigstep.exp (other_handler_location): New global.
9199 (advance): Support stepping into the signal handler, and running
9200 commands while in the handler.
9201 (in_handler_map): New global.
9202 (top level): In the advance test, add combinations for getting
9203 into the handler with stepping commands, and for running commands
9204 in the handler. Add comment descripting the advancei tests.
9205
9206 2014-10-28 Pedro Alves <palves@redhat.com>
9207
9208 * gdb.base/sigstep.exp: Use build_executable instead of
9209 prepare_for_testing.
9210 (top level): Move code that starts GDB, runs to main and creates a
9211 display to ...
9212 (restart): ... this new procedure.
9213 (top level): Move backtrace from signal handler test to ...
9214 (validate_backtrace): ... this new procedure.
9215 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
9216 with_test_prefix. Always restart GDB.
9217 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
9218 with_test_prefix. Always restart GDB. No need to delete
9219 breakpoints after the test.
9220 (test_skip_handler): Remove prefix parameter.
9221 (skip_over_handler, breakpoint_to_handler)
9222 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
9223 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
9224 restart GDB. No need to delete breakpoints after the test.
9225 (top level): Use foreach to call the test procedures with
9226 different commands.
9227
9228 2014-10-28 Pedro Alves <palves@redhat.com>
9229
9230 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
9231 instead of GNATS numbers.
9232 * gdb.base/sigbpt.exp: Likewise.
9233 * gdb.base/siginfo.exp: Likewise.
9234 * gdb.base/sigstep.exp: Likewise.
9235
9236 2014-10-27 Pedro Alves <palves@redhat.com>
9237
9238 * gdb.base/sigstep.c (dummy): New global.
9239 (main): Issue a couple writes to the new global.
9240 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
9241 procedures.
9242 (skip_over_handler): Use test_skip_handler.
9243 (top level): Call skip_over_handler for stepi and nexti too.
9244 (breakpoint_over_handler): Use test_skip_handler.
9245 (top level): Call breakpoint_over_handler for stepi and nexti too.
9246
9247 2014-10-27 Yao Qi <yao@codesourcery.com>
9248
9249 * gdb.trace/tfile.c (adjust_function_address)
9250 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
9251 function descriptor.
9252
9253 2014-10-24 Don Breazeal <donb@codesourcery.com>
9254
9255 * gdb.base/foll-fork.exp (test_follow_fork,
9256 catch_fork_child_follow): Check for updated fork messages emitted
9257 from infrun.c.
9258 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
9259 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
9260 vfork_and_exec_child_follow_through_step): Check for updated vfork
9261 messages emitted from infrun.c.
9262
9263 2014-10-24 Pedro Alves <palves@redhat.com>
9264
9265 * gdb.base/corefile.exp: Remove references to ultrix.
9266 * gdb.base/interrupt.exp: Likewise.
9267 * gdb.base/whatis.exp: Likewise.
9268 * gdb.gdb/selftest.exp: Likewise.
9269 * gdb.threads/manythreads.exp: Likewise.
9270 * gdb.threads/print-threads.exp: Likewise.
9271 * gdb.threads/pthreads.exp:: Likewise.
9272 * gdb.threads/schedlock.exp: Likewise.
9273
9274 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
9275
9276 * gdb.cp/non-trivial-retval.cc: Add a test case.
9277 * gdb.cp/non-trivial-retval.exp: Add a test.
9278
9279 2014-10-20 Yao Qi <yao@codesourcery.com>
9280
9281 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
9282 * gdb.python/py-objfile-script-gdb.py: New file.
9283 * gdb.python/py-objfile-script.exp: Update reference to
9284 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
9285 of remote_download. Remove the dest file.
9286
9287 2014-10-20 Yao Qi <yao@codesourcery.com>
9288
9289 * gdb.base/checkpoint.exp: Don't remove file copied on host.
9290 * gdb.base/step-line.exp: Likewise.
9291 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
9292 * gdb.dwarf2/dw2-basic.exp: Likewise.
9293 * gdb.dwarf2/dw2-compressed.exp: Likewise.
9294 * gdb.dwarf2/dw2-filename.exp: Likewise.
9295 * gdb.dwarf2/dw2-intercu.exp: Likewise.
9296 * gdb.dwarf2/dw2-intermix.exp: Likewise.
9297 * gdb.dwarf2/dw2-producer.exp: Likewise.
9298 * gdb.dwarf2/mac-fileno.exp: Likewise.
9299 * gdb.python/py-frame-args.exp: Likewise.
9300 * gdb.python/py-framefilter.exp: Likewise.
9301 * gdb.python/py-mi.exp: Likewise.
9302 * gdb.python/py-objfile-script.exp: Likewise
9303 * gdb.python/py-pp-integral.exp: Likewise.
9304 * gdb.python/py-pp-re-notag.exp: Likewise.
9305 * gdb.python/py-prettyprint.exp: Likewise.
9306 * gdb.python/py-section-script.exp: Likewise.
9307 * gdb.python/py-typeprint.exp: Likewise.
9308 * gdb.python/py-xmethods.exp: Likewise.
9309 * gdb.stabs/weird.exp: Likewise.
9310 * gdb.xml/tdesc-regs.exp: Likewise.
9311
9312 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
9313
9314 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
9315 (out_cu): Use addr_len for the size of addresses.
9316 (out_line): Likewise. Size DW_LNE_set_address instruction
9317 according to addr_len.
9318 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
9319 (FUNC): Add START_INSNS to definition.
9320
9321 2014-10-18 Yao Qi <yao@codesourcery.com>
9322
9323 * gdb.base/argv0-symlink.exp: Check argv[0] value if
9324 gdb_has_argv0 return true.
9325 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
9326 check [target_info exists noargs], check [gdb_has_argv0]
9327 instead.
9328 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
9329 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
9330 procedures.
9331
9332 2014-10-17 Doug Evans <dje@google.com>
9333
9334 * gdb.python/py-events.exp: Update expected output for clear_objfiles
9335 event.
9336 * gdb.python/py-events.py: Add clear_objfiles event.
9337
9338 2014-10-17 Doug Evans <dje@google.com>
9339
9340 * gdb.python/py-objfile.exp: Test progspace attribute.
9341
9342 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
9343
9344 * gdb.guile/scm-breakpoint.exp: Do not assume any
9345 directory separators when matching source file paths.
9346 * gdb.python/py-breakpoint.exp: Likewise.
9347 * gdb.reverse/break-precsave.exp: Likewise.
9348 * gdb.reverse/break-reverse.exp: Likewise.
9349 * gdb.reverse/consecutive-precsave.exp: Likewise.
9350 * gdb.reverse/finish-precsave.exp: Likewise.
9351 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
9352 * gdb.reverse/finish-reverse.exp: Likewise.
9353 * gdb.reverse/i386-precsave.exp: Likewise.
9354 * gdb.reverse/i387-env-reverse.exp: Likewise.
9355 * gdb.reverse/i387-stack-reverse.exp: Likewise.
9356 * gdb.reverse/machinestate-precsave.exp: Likewise.
9357 * gdb.reverse/machinestate.exp: Likewise.
9358 * gdb.reverse/sigall-precsave.exp: Likewise.
9359 * gdb.reverse/solib-precsave.exp: Likewise.
9360 * gdb.reverse/step-precsave.exp: Likewise.
9361 * gdb.reverse/until-precsave.exp: Likewise.
9362 * gdb.reverse/watch-precsave.exp: Likewise.
9363 * gdb.reverse/watch-reverse.exp: Likewise.
9364
9365 2014-10-17 Yao Qi <yao@codesourcery.com>
9366
9367 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
9368 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
9369
9370 2014-10-17 Pedro Alves <palves@redhat.com>
9371
9372 PR gdb/17471
9373 * gdb.base/bg-execution-repeat.c: New file.
9374 * gdb.base/bg-execution-repeat.exp: New file.
9375
9376 2014-10-17 Pedro Alves <palves@redhat.com>
9377
9378 PR gdb/17300
9379 * gdb.base/continue-all-already-running.c: New file.
9380 * gdb.base/continue-all-already-running.exp: New file.
9381
9382 2014-10-17 Pedro Alves <palves@redhat.com>
9383
9384 PR gdb/17472
9385 * gdb.base/annota-input-while-running.c: New file.
9386 * gdb.base/annota-input-while-running.exp: New file.
9387
9388 2014-10-17 Pedro Alves <palves@redhat.com>
9389
9390 * gdb.base/callfuncs.exp: emove references to osf.
9391 * gdb.base/sigall.exp: Likewise.
9392 * gdb.gdb/selftest.exp: Likewise.
9393 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
9394 * gdb.mi/non-stop.c: Likewise.
9395 * gdb.mi/pthreads.c: Likewise.
9396 * gdb.reverse/sigall-precsave.exp: Likewise.
9397 * gdb.reverse/sigall-reverse.exp: Likewise.
9398 * gdb.threads/pthreads.c: Likewise.
9399 * gdb.threads/pthreads.exp: Likewise.
9400
9401 2014-10-17 Yao Qi <yao@codesourcery.com>
9402
9403 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
9404 check 'target_info exists noargs'.
9405 (test_command_prompt_position): Likewise.
9406 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
9407 Remove "set args".
9408 (progvar_simple_while_test): Likewise.
9409 (progvar_complex_if_while_test): Likewise.
9410 (if_while_breakpoint_command_test): Likewise.
9411 (infrun_breakpoint_command_test): Likewise.
9412 (breakpoint_command_test): Likewise.
9413 (watchpoint_command_test): Likewise.
9414 (bp_deleted_in_command_test): Likewise.
9415 (temporary_breakpoint_commands): Likewise.
9416
9417 2014-10-16 Yao Qi <yao@codesourcery.com>
9418
9419 * gdb.base/remotetimeout.exp: Remove noargs checking.
9420
9421 2014-10-15 Pedro Alves <palves@redhat.com>
9422
9423 PR breakpoints/9649
9424 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
9425 * gdb.base/breakpoint-in-ro-region.exp
9426 (probe_target_hardware_step): New procedure.
9427 (top level): Probe hardware stepping and hardware breakpoint
9428 support. Test stepping through a read-only region, with both
9429 "breakpoint auto-hw" on and off and both "always-inserted" on and
9430 off.
9431
9432 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
9433
9434 * gdb.dlang/demangle.exp: Update for demangling changes.
9435
9436 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
9437
9438 * gdb.cp/non-trivial-retval.cc: Add new test cases.
9439 * gdb.cp/non-trivial-retval.exp: Add new tests.
9440
9441 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
9442
9443 PR c++/13403
9444 PR c++/15154
9445 * gdb.cp/non-trivial-retval.cc: New file.
9446 * gdb.cp/non-trivial-retval.exp: New file.
9447
9448 2014-10-15 Yao Qi <yao@codesourcery.com>
9449
9450 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
9451 remote host.
9452
9453 2014-10-15 Yao Qi <yao@codesourcery.com>
9454
9455 * gdb.python/py-symbol.exp: Match file base name if host is
9456 remote, otherwise match file name with dir name.
9457 * gdb.python/py-symtab.exp: Likewise.
9458 * gdb.python/python.exp: Likewise.
9459
9460 2014-10-15 Yao Qi <yao@codesourcery.com>
9461
9462 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
9463 pattern.
9464 * gdb.python/py-symtab.exp: Likewise.
9465 * gdb.python/python.exp: Remove trailing ".*". Fix typo
9466 locationn.
9467
9468 2014-10-14 Joel Brobecker <brobecker@adacore.com>
9469
9470 * gdb.ada/addr_arith: New testcase.
9471
9472 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
9473
9474 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
9475 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
9476 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
9477 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
9478
9479 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
9480
9481 * gdb.arch/stap-eval-lang-ada.S: Likewise.
9482 * gdb.arch/stap-eval-lang-ada.c: Likewise.
9483 * gdb.arch/stap-eval-lang-ada.exp: New file.
9484
9485 2014-10-14 Yao Qi <yao@codesourcery.com>
9486
9487 * gdb.mi/mi-var-child.c (nothing1): New function.
9488 (nothing2): New function.
9489 (do_children_tests): Set function pointers by nothing1 and
9490 nothing2.
9491 * gdb.mi/mi-var-child.exp: Step over new added statements.
9492 Update test to match the new output.
9493 * gdb.mi/var-cmd.c (nothing1): New function.
9494 (nothing2): New function.
9495 (do_children_tests): Set function pointers by nothing1 and
9496 nothing2.
9497 * gdb.mi/mi-var-display.exp: Update test to match output.
9498 Step to the line specified by $line_dct_nothing.
9499 Increase the number of lines to step.
9500
9501 2014-10-14 Yao Qi <yao@codesourcery.com>
9502
9503 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
9504 tests.
9505 * gdb.mi/mi2-var-child.exp: Likewise.
9506
9507 2014-10-13 Doug Evans <dje@google.com>
9508
9509 * gdb.python/py-objfile.exp: Change name of file name test.
9510
9511 2014-10-13 Doug Evans <dje@google.com>
9512
9513 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
9514 from the start of the CU.
9515
9516 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9517 Yao Qi <yao@codesourcery.com>
9518
9519 Fix "save breakpoints" for "catch" command.
9520 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
9521 Remove -nonewline. Match also the added "main" line.
9522
9523 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9524
9525 Fix "save breakpoints" for "disable $bpnum" command.
9526 * gdb.base/save-bp.c (main): Add label.
9527 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
9528
9529 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9530
9531 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
9532
9533 2014-10-11 Yao Qi <yao@codesourcery.com>
9534
9535 * gdb.server/server-kill.exp: Execute command
9536 "set remote trace-status-packet on" before "tstatus".
9537
9538 2014-10-11 Yao Qi <yao@codesourcery.com>
9539
9540 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
9541 (main): Call getppid.
9542 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
9543 and continue to it. Read variable "server_pid".
9544
9545 2014-10-11 Yao Qi <yao@codesourcery.com>
9546
9547 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
9548
9549 2014-10-11 Yao Qi <yao@codesourcery.com>
9550
9551 * gdb.threads/thread-find.exp: Don't execute command
9552 "info threads".
9553 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
9554 * gdb.threads/linux-dp.exp: Don't check the condition
9555 $threads_created equals to zero.
9556
9557 2014-10-10 Pedro Alves <palves@redhat.com>
9558
9559 * gdb.base/bigcore.exp: Remove references to IRIX.
9560 * gdb.base/funcargs.exp: Likewise.
9561 * gdb.base/interrupt.exp: Likewise.
9562 * gdb.base/mips_pro.exp: Likewise.
9563 * gdb.base/nodebug.exp: Likewise.
9564 * gdb.base/setvar.exp: Likewise.
9565 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
9566
9567 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
9568 Pedro Alves <palves@redhat.com>
9569
9570 PR symtab/14466
9571 * gdb.base/vdso-warning.c: New file.
9572 * gdb.base/vdso-warning.exp: New file.
9573
9574 2014-10-02 Doug Evans <dje@google.com>
9575
9576 * gdb.base/structs.c (main): Don't run forever.
9577
9578 2014-10-02 Pedro Alves <palves@redhat.com>
9579
9580 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
9581 (top level) <stop threads 1, stop threads 2>: Use it.
9582
9583 2014-10-02 Pedro Alves <palves@redhat.com>
9584
9585 * gdb.threads/break-while-running.exp (test): Add new
9586 'update_thread_list' argument. Skip "info threads" if false.
9587 (top level): Add new 'update_thread_list' axis.
9588
9589 2014-10-02 Pedro Alves <palves@redhat.com>
9590
9591 PR breakpoints/17431
9592 * gdb.base/execl-update-breakpoints.c: New file.
9593 * gdb.base/execl-update-breakpoints.exp: New file.
9594
9595 2014-10-01 Pedro Alves <palves@redhat.com>
9596
9597 * gdb.base/breakpoint-in-ro-region.c: New file.
9598 * gdb.base/breakpoint-in-ro-region.exp: New file.
9599
9600 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
9601
9602 * gdb.mi/mi-exit-code.exp: New file.
9603 * gdb.mi/mi-exit-code.c: New file.
9604
9605 2014-09-30 Yao Qi <yao@codesourcery.com>
9606
9607 * lib/prelink-support.exp (build_executable_own_libs): Error if
9608 the target isn't native.
9609
9610 2014-09-30 Yao Qi <yao@codesourcery.com>
9611
9612 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
9613 false.
9614
9615 2014-09-22 Pedro Alves <palves@redhat.com>
9616
9617 * gdb.threads/break-while-running.exp: New file.
9618 * gdb.threads/break-while-running.c: New file.
9619
9620 2014-09-19 Yao Qi <yao@codesourcery.com>
9621
9622 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
9623 Invoke test. Restart GDB with --readnow and invoke test again.
9624
9625 2014-09-19 Yao Qi <yao@codesourcery.com>
9626
9627 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
9628 proc set_breakpoint_on_gcd_function. Invoke
9629 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
9630 invoke set_breakpoint_on_gcd_function again.
9631
9632 2014-09-18 Doug Evans <dje@google.com>
9633
9634 * gdb.dwarf2/symtab-producer.exp: New file.
9635
9636 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
9637
9638 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
9639 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
9640 * gdb.base/global-var-nested-by-dso.c: Likewise.
9641 * gdb.base/global-var-nested-by-dso.exp: Likewise.
9642
9643 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
9644 Pedro Alves <palves@redhat.com>
9645
9646 * gdb.base/watch-bitfields.exp: Pass string other than test file
9647 name to prepare_for_testing.
9648 (watch): New procedure.
9649 (expect_watchpoint): Use with_test_prefix.
9650 (top level): Factor out tests to ...
9651 (test_watch_location, test_regular_watch): ... these new
9652 procedures, and use with_test_prefix and gdb_continue_to_end.
9653
9654 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
9655
9656 PR breakpoints/12526
9657 * gdb.base/watch-bitfields.exp: New file.
9658 * gdb.base/watch-bitfields.c: New file.
9659
9660 2014-09-16 Pedro Alves <palves@redhat.com>
9661
9662 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
9663 software and hardware addresses, not software address against
9664 itself.
9665
9666 2014-09-16 Pedro Alves <palves@redhat.com>
9667
9668 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
9669 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
9670
9671 2014-09-16 Pedro Alves <palves@redhat.com>
9672
9673 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
9674 files.
9675 * gdb.base/a2-run.exp: Remove all code guarded by istarget
9676 "*-*-vxworks*" throughout.
9677 * gdb.base/break.exp: Likewise.
9678 * gdb.base/default.exp: Likewise.
9679 * gdb.base/scope.exp: Likewise.
9680 * gdb.base/sepdebug.exp: Likewise.
9681 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
9682 throughout.
9683 * gdb.base/run.c: Likewise.
9684 * gdb.base/sepdebug.c: Likewise.
9685 * gdb.hp/gdb.aCC/run.c: Likewise.
9686 * gdb.reverse/until-reverse.c: Likewise.
9687 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
9688
9689 2014-09-16 Yao Qi <yao@codesourcery.com>
9690
9691 * boards/local-remote-host-native.exp: New file.
9692
9693 2014-09-14 Doug Evans <xdje42@gmail.com>
9694
9695 * gdb.threads/queue-signal.c (thread_count): New variable.
9696 (thread_count_mutex, thread_count_condvar): New variables.
9697 (incr_thread_count, wait_all_threads_running): New functions.
9698 (main): Wait for all threads to be in their thread functions.
9699
9700 2014-09-13 Doug Evans <xdje42@gmail.com>
9701
9702 * gdb.threads/queue-signal.c: New file.
9703 * gdb.threads/queue-signal.exp: New file.
9704
9705 2014-09-13 Doug Evans <xdje42@gmail.com>
9706
9707 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
9708 be consistent with what default_gdb_init uses.
9709 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
9710 the plain text of the prompt. Add some logging printfs.
9711 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
9712
9713 2014-09-12 Pedro Alves <palves@redhat.com>
9714
9715 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
9716 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
9717 * gdb.arch/i386-size-overlap.exp: Likewise.
9718 * gdb.arch/i386-size.exp: Likewise.
9719 * gdb.arch/i386-unwind.exp: Likewise.
9720 * gdb.base/a2-run.exp: Likewise.
9721 * gdb.base/break.exp: Likewise.
9722 * gdb.base/charset.exp: Likewise.
9723 * gdb.base/chng-syms.exp: Likewise.
9724 * gdb.base/commands.exp: Likewise.
9725 * gdb.base/dbx.exp: Likewise.
9726 * gdb.base/find.exp: Likewise.
9727 * gdb.base/funcargs.exp: Likewise.
9728 * gdb.base/jit-simple.exp: Likewise.
9729 * gdb.base/reread.exp: Likewise.
9730 * gdb.base/sepdebug.exp: Likewise.
9731 * gdb.base/step-bt.exp: Likewise.
9732 * gdb.cp/mb-inline.exp: Likewise.
9733 * gdb.cp/mb-templates.exp: Likewise.
9734 * gdb.objc/basicclass.exp: Likewise.
9735 * gdb.threads/killed.exp: Likewise.
9736
9737 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9738
9739 PR tdep/17379
9740 * gdb.arch/powerpc-stackless.S: New file.
9741 * gdb.arch/powerpc-stackless.exp: New file.
9742
9743 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9744
9745 * gdb.base/attach.c: Include unistd.h.
9746 (main): Call alarm. Add label postloop.
9747 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
9748 gdb_breakpoint, gdb_continue_to_breakpoint.
9749 (test_command_line_attach_run): Kill ${testpid} in one exit path.
9750
9751 2014-09-11 Pedro Alves <palves@redhat.com>
9752
9753 PR gdb/17347
9754 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
9755 * gdb.base/attach.exp (test_command_line_attach_run): New
9756 procedure.
9757 (top level): Call it.
9758
9759 2014-09-11 Pedro Alves <palves@redhat.com>
9760
9761 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
9762 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
9763 (do_command_attach_tests): Use spawn_wait_for_attach.
9764 * gdb.base/solib-overlap.exp: Likewise.
9765 * gdb.multi/multi-attach.exp: Likewise.
9766 * gdb.python/py-prompt.exp: Likewise.
9767 * gdb.python/py-sync-interp.exp: Likewise.
9768 * gdb.server/ext-attach.exp: Likewise.
9769
9770 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
9771
9772 * gdb.fortran/array-element.exp: Remove unexpected "continue"
9773 command in testcase. Simplify testcase.
9774
9775 2014-09-10 Joel Brobecker <brobecker@adacore.com>
9776
9777 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
9778
9779 2014-09-10 Joel Brobecker <brobecker@adacore.com>
9780
9781 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
9782
9783 2014-09-10 Joel Brobecker <brobecker@adacore.com>
9784
9785 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
9786
9787 2014-09-10 Joel Brobecker <brobecker@adacore.com>
9788
9789 * gdb.dwarf2/dynarr-ptr.c: New file.
9790 * gdb.dwarf2/dynarr-ptr.exp: New file.
9791
9792 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9793
9794 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
9795 of 30 rather than hardcoding 120 for a slow test case. Take the
9796 `gdb,timeout' target setting into account for this calculation.
9797 Don't extend the timeout for the test cases that don't need it.
9798
9799 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9800
9801 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
9802 a factor of 2 for a slow test case. Take the `gdb,timeout'
9803 target setting into account for this calculation.
9804 * gdb.reverse/until-precsave.exp: Increase the timeout by
9805 a factor of 15 and 3 respectively rather than adding 120
9806 for a pair of slow test cases. Take the `gdb,timeout'
9807 target setting into account for this calculation.
9808
9809 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9810
9811 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
9812 timeout, don't pass one down to gdb_expect.
9813 (gdb_expect): Rework timeout selection.
9814
9815 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9816
9817 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
9818 exception on timeout.
9819 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
9820 (gdbserver_start_extended): Catch any `gdbserver_start' error
9821 exceptions.
9822 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
9823 * lib/mi-support.exp (mi_gdb_target_load): Catch any
9824 `gdbserver_gdb_load' error exceptions.
9825
9826 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9827
9828 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
9829 120 on waiting for the TCP socket to open.
9830
9831 2014-09-09 Doug Evans <xdje42@gmail.com>
9832
9833 * gdb.base/default.exp (show_conv_list): Add _caller_is,
9834 _caller_matches, _any_caller_is, _any_caller_matches.
9835
9836 2014-09-09 Doug Evans <xdje42@gmail.com>
9837
9838 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
9839
9840 2014-09-09 Yao Qi <yao@codesourcery.com>
9841
9842 * gdb.mi/mi-var-display.exp: Set print symbol off.
9843
9844 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
9845
9846 PR gdb/17035
9847 * gdb.base/commands.exp: Add tests to verify user-defined
9848 commands with empty bodies.
9849 * gdb.python/py-cmd.exp: Test that we don't show user-defined
9850 python commands in `show user command`.
9851 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
9852 scheme commands in `show user command`.
9853
9854 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9855
9856 PR python/17355
9857 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
9858 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
9859 * gdb.python/py-framefilter-invalidarg.exp: New file.
9860 * gdb.python/py-framefilter-invalidarg.py: New file.
9861
9862 2014-09-06 Doug Evans <xdje42@gmail.com>
9863
9864 PR 15276
9865 * gdb.python/py-caller-is.c: New file.
9866 * gdb.python/py-caller-is.exp: New file.
9867
9868 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
9869
9870 PR gdb/17235
9871 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
9872 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
9873
9874 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
9875
9876 PR fortran/17237
9877 * gdb.fortran/print-formatted.exp: New file.
9878 * gdb.fortran/print-formatted.f90: Likewise.
9879
9880 2014-09-03 Sasha Smundak <asmundak@google.com>
9881
9882 * gdb.python/py-frame.exp: Test Frame.read_register.
9883
9884 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
9885
9886 PR python/16699
9887 * gdb.python/py-completion.exp: New file.
9888 * gdb.python/py-completion.py: Likewise.
9889
9890 2014-08-28 Doug Evans <dje@google.com>
9891
9892 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
9893 eax,etc. are live with values set by gdb and thus the compiler can't
9894 use them.
9895 * gdb.arch/i386-pseudo.c (main): Ditto.
9896
9897 2014-08-27 Doug Evans <dje@google.com>
9898
9899 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
9900
9901 2014-08-25 Doug Evans <dje@google.com>
9902
9903 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
9904 (main): Ditto.
9905
9906 2014-08-25 Doug Evans <dje@google.com>
9907
9908 * gdb.threads/thread-execl.exp: #include <stdio.h>.
9909
9910 2014-08-24 Yao Qi <yao@codesourcery.com>
9911
9912 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
9913 symbol off.
9914 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
9915
9916 2014-08-22 Doug Evans <dje@google.com>
9917
9918 PR 17276
9919 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
9920 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
9921 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
9922
9923 2014-08-22 Yao Qi <yao@codesourcery.com>
9924
9925 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
9926 * gdb.python/py-finish-breakpoint2.exp: Likewise.
9927 * gdb.python/python.exp: Likewise. Use .py file on the host
9928 instead of the build.
9929
9930 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9931
9932 * gdb.threads/gcore-stale-thread.c: New file.
9933 * gdb.threads/gcore-stale-thread.exp: New file.
9934
9935 2014-08-21 Pedro Alves <palves@redhat.com>
9936
9937 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
9938 * gdb.base/gcore-relro-pie.exp: Likewise.
9939 * gdb.base/gcore-relro.exp: Likewise.
9940 * gdb.base/gcore.exp: Likewise.
9941 * gdb.base/print-symbol-loading.exp: Likewise.
9942 * gdb.threads/gcore-thread.exp: Likewise.
9943 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
9944
9945 2014-08-20 Pedro Alves <palves@redhat.com>
9946 Jan Kratochvil <jan.kratochvil@redhat.com>
9947
9948 * Makefile.in (EXTRA_RULES, CC): New variables, get from
9949 configure.
9950 (EXPECT): Handle READ1 being set.
9951 (all): Depend on EXTRA_RULES.
9952 (check-read1, expect-read1, read1.so, read1): New rules.
9953 * README (Testsuite Parameters): Document the READ1 make variable.
9954 (Race detection): New section.
9955 * configure: Regenerate.
9956 * configure.ac: If build==host==target, and running under a
9957 GNU/glibc system, add read1 to the extra Makefile rules.
9958 (EXTRA_RULES): AC_SUBST it.
9959 * lib/read1.c: New file.
9960
9961 2014-08-20 Joel Brobecker <brobecker@adacore.com>
9962
9963 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
9964 the handling of variables declared as a typedef to an array
9965 which a DW_AT_data_location attribute.
9966
9967 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
9968 Pedro Alves <palves@redhat.com>
9969
9970 PR symtab/14604
9971 PR symtab/14605
9972 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
9973 gdb_test.
9974
9975 2014-08-19 Pedro Alves <palves@redhat.com>
9976
9977 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
9978
9979 2014-08-19 Yao Qi <yao@codesourcery.com>
9980
9981 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
9982 right line.
9983
9984 2014-08-18 David Blaikie <dblaikie@gmail.com>
9985
9986 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
9987
9988 2014-08-18 Joel Brobecker <brobecker@adacore.com>
9989
9990 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
9991 attribute in array range.
9992
9993 2014-08-18 Joel Brobecker <brobecker@adacore.com>
9994
9995 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
9996
9997 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
9998
9999 PR c++/17132
10000 * gdb.cp/pr17132.cc: New file.
10001 * gdb.cp/pr17132.exp: New file.
10002
10003 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
10004
10005 * gdb.python/py-xmethods.py (A_getarrayind)
10006 (E_method_char_worker.__call__, E_method_int_worker.__call__):
10007 Use 'print' with function call syntax.
10008 (E_method_matcher.match): Fix tab vs space indentation mixup.
10009
10010 2014-08-15 Yao Qi <yao@codesourcery.com>
10011
10012 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
10013 false.
10014
10015 2014-08-15 Yao Qi <yao@codesourcery.com>
10016
10017 * gdb.cp/casts.exp: Set print symbol off.
10018 * gdb.cp/class2.exp: Likewise.
10019 * gdb.cp/overload.exp: Likewise.
10020 * gdb.cp/templates.exp: Likewise.
10021
10022 2014-08-11 Doug Evans <dje@google.com>
10023
10024 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
10025 (test_load_shlib): Update.
10026
10027 2014-08-09 Yao Qi <yao@codesourcery.com>
10028
10029 * gdb.base/display.exp: Invoke is_address_zero_readable.
10030 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
10031 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
10032 * gdb.base/hbreak-unmapped.exp: Return if
10033 is_address_zero_readable returns true.
10034 * gdb.base/signest.exp: Likewise.
10035 * gdb.base/signull.exp: Likewise.
10036 * gdb.base/sigbpt.exp: Likewise.
10037 * gdb.guile/scm-disasm.exp: Do the test if
10038 is_address_zero_readable returns false.
10039 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
10040 * gdb.python/py-arch.exp: Likewise.
10041 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
10042 * lib/gdb.exp (is_address_zero_readable): New proc.
10043
10044 2014-08-09 Yao Qi <yao@codesourcery.com>
10045
10046 PR testsuite/13443
10047 * gdb.mi/mi-var-display.exp: Make test messages unique.
10048
10049 2014-08-04 Tom Tromey <tromey@redhat.com>
10050
10051 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
10052 target 0".
10053
10054 2014-08-04 Tom Tromey <tromey@redhat.com>
10055
10056 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
10057 "target_resume".
10058
10059 2014-08-01 Joel Brobecker <brobecker@adacore.com>
10060
10061 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
10062 inner_vla_struct_object_size.
10063 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
10064 as xfail.
10065
10066 2014-07-30 Pedro Alves <palves@redhat.com>
10067
10068 * gdb.threads/signal-command-handle-nopass.exp (test): Add
10069 comment.
10070
10071 2014-07-29 Yao Qi <yao@codesourcery.com>
10072
10073 PR gdb/17206
10074 * gdb.base/until-nodebug.exp: New.
10075
10076 2014-07-28 Doug Evans <xdje42@gmail.com>
10077
10078 PR guile/17203
10079 * gdb.guile/scm-parameter.exp: Add tests for trying to create
10080 previously existing parameter, and previously ambiguously spelled
10081 parameter.
10082
10083 2014-07-28 Will Newton <will.newton@linaro.org>
10084
10085 * gdb.base/varargs.exp: Remove KFAILs for ARM.
10086
10087 2014-07-26 Ludovic Courtès <ludo@gnu.org>
10088 Doug Evans <xdje42@gmail.com>
10089
10090 PR guile/17146
10091 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
10092
10093 2014-07-25 Pedro Alves <palves@redhat.com>
10094
10095 * gdb.threads/signal-command-handle-nopass.c: New file.
10096 * gdb.threads/signal-command-handle-nopass.exp: New file.
10097 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
10098 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
10099 * gdb.threads/signal-delivered-right-thread.c: New file.
10100 * gdb.threads/signal-delivered-right-thread.exp: New file.
10101
10102 2014-07-25 Pedro Alves <palves@redhat.com>
10103
10104 * gdb.base/double-prompt-target-event-error.exp
10105 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
10106 match.
10107 (cancel_pagination_in_target_event): Rework double prompt
10108 detection.
10109 * gdb.base/paginate-after-ctrl-c-running.exp
10110 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
10111 <return>' match.
10112 * gdb.base/paginate-bg-execution.exp
10113 (test_bg_execution_pagination_return)
10114 (test_bg_execution_pagination_cancel): Remove '-notransfer
10115 <return>' matches.
10116 * gdb.base/paginate-execution-startup.exp
10117 (test_fg_execution_pagination_return)
10118 (test_fg_execution_pagination_cancel): Remove '-notransfer
10119 <return>' matches.
10120 * gdb.base/paginate-inferior-exit.exp
10121 (test_paginate_inferior_exited): Remove '-notransfer <return>'
10122 match.
10123 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
10124 * lib/gdb.exp (pagination_prompt): Run text through
10125 string_to_regexp.
10126 (gdb_test_multiple): Match $pagination_prompt instead of
10127 "<return>".
10128 (string_to_regexp): Move to lib/gdb-utils.exp.
10129
10130 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10131
10132 * gdb.arch/amd64-entry-value-paramref.S: New file.
10133 * gdb.arch/amd64-entry-value-paramref.cc: New file.
10134 * gdb.arch/amd64-entry-value-paramref.exp: New file.
10135 * gdb.arch/amd64-optimout-repeat.S: New file.
10136 * gdb.arch/amd64-optimout-repeat.c: New file.
10137 * gdb.arch/amd64-optimout-repeat.exp: New file.
10138
10139 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10140
10141 PR gdb/17170
10142 * gdb.base/statistics.exp: New file.
10143
10144 2014-07-17 Doug Evans <dje@google.com>
10145
10146 PR gdb/17170
10147 * gdb.base/maint.exp: Update testing of per-command stats.
10148
10149 2014-07-16 Pedro Alves <palves@redhat.com>
10150
10151 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
10152 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
10153 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
10154 (tfile_write_buf): New functions.
10155 (add_memory_block): Rewrite using the above.
10156 (adjust_function_address): New function.
10157 (FUNCTION_ADDRESS): New macro.
10158 (write_basic_trace_file): Remove short_x local, and use
10159 tfile_write_16. Change type of func_addr local to unsigned long
10160 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
10161 here. Cast argument of add_memory_block to char pointer.
10162 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
10163 (main): Remove parameters.
10164 * gdb.trace/tfile.exp: Remove nowarnings.
10165
10166 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
10167
10168 * gdb.base/debug-expr.exp: Test string evaluation with
10169 "debug expression" on.
10170
10171 2014-07-15 Pedro Alves <palves@redhat.com>
10172
10173 * gdb.base/reread.exp: Use clean_restart.
10174
10175 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
10176
10177 * gdb.arch/avr-flash-qualifer.c: New.
10178 * gdb.arch/avr-flash-qualifer.exp: New.
10179
10180 2014-07-14 Pedro Alves <palves@redhat.com>
10181
10182 * gdb.base/paginate-after-ctrl-c-running.c: New file.
10183 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
10184
10185 2014-07-14 Pedro Alves <palves@redhat.com>
10186
10187 * gdb.base/double-prompt-target-event-error.c: New file.
10188 * gdb.base/double-prompt-target-event-error.exp: New file.
10189
10190 2014-07-14 Pedro Alves <palves@redhat.com>
10191
10192 PR gdb/17072
10193 * gdb.base/paginate-inferior-exit.c: New file.
10194 * gdb.base/paginate-inferior-exit.exp: New file.
10195
10196 2014-07-14 Pedro Alves <palves@redhat.com>
10197
10198 PR gdb/17072
10199 * gdb.base/paginate-bg-execution.c: New file.
10200 * gdb.base/paginate-bg-execution.exp: New file.
10201
10202 2014-07-14 Pedro Alves <palves@redhat.com>
10203
10204 PR gdb/17072
10205 * gdb.base/paginate-execution-startup.c: New file.
10206 * gdb.base/paginate-execution-startup.exp: New file.
10207 * lib/gdb.exp (pagination_prompt): New global.
10208 (default_gdb_spawn): New procedure, factored out from
10209 default_gdb_spawn.
10210 (default_gdb_start): Adjust to call default_gdb_spawn.
10211 (gdb_spawn): New procedure.
10212
10213 2014-07-14 Pedro Alves <palves@redhat.com>
10214
10215 * lib/gdb.exp (gdb_assert): New procedure.
10216 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
10217
10218 2014-07-14 Pedro Alves <palves@redhat.com>
10219
10220 * gdb.base/execution-termios.c: New file.
10221 * gdb.base/execution-termios.exp: New file.
10222
10223 2014-07-14 Tom Tromey <tromey@redhat.com>
10224
10225 * gdb.cp/vla-cxx.cc: New file.
10226 * gdb.cp/vla-cxx.exp: New file.
10227
10228 2014-07-14 Tom Tromey <tromey@redhat.com>
10229
10230 * gdb.reverse/rerun-prec.c: New file.
10231 * gdb.reverse/rerun-prec.exp: New file.
10232
10233 2014-07-12 Maciej W. Rozycki <macro@mips.com>
10234 Maciej W. Rozycki <macro@codesourcery.com>
10235
10236 * lib/gdb-utils.exp: New file.
10237 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
10238 inline `gdb_init_command' processing.
10239 (gdb_start_cmd): Likewise.
10240 * lib/mi-support.exp (mi_run_cmd): Likewise.
10241 * README: Document `gdb_init_command' and `gdb_init_commands'.
10242
10243 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10244
10245 Fix false FAIL running under a very long directory name.
10246 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
10247 and "set print elements 10000". Twice.
10248
10249 2014-07-11 Yao Qi <yao@codesourcery.com>
10250
10251 * gdb.base/exprs.exp: "set print symbol off".
10252
10253 2014-07-11 Pedro Alves <palves@redhat.com>
10254
10255 * gdb.threads/kill.c: New file.
10256 * gdb.threads/kill.exp: New file.
10257
10258 2014-07-10 Yao Qi <yao@codesourcery.com>
10259
10260 * gdb.trace/tfile.c (write_basic_trace_file)
10261 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
10262 address written to trace file.
10263
10264 2014-07-09 Pedro Alves <palves@redhat.com>
10265
10266 * gdb.base/attach-wait-input.exp: New file.
10267 * gdb.base/attach-wait-input.c: New file.
10268
10269 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
10270
10271 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
10272 setting up test structures.
10273 (main): Call new test function.
10274 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
10275 test function, continue into test function and walk test
10276 structures.
10277
10278 2014-07-02 Yao Qi <yao@codesourcery.com>
10279
10280 * gdb.trace/entry-values.c: Define labels 'foo_start' and
10281 'bar_start' at the beginning of functions 'foo' and 'bar'
10282 respectively.
10283 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
10284 instead of 'foo' and 'bar'.
10285
10286 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
10287
10288 * gdb.btrace/segv.exp: New.
10289 * gdb.btrace/segv.c: New.
10290
10291 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
10292
10293 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
10294 instruction.
10295
10296 2014-06-30 Mark Wielaard <mjw@redhat.com>
10297
10298 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
10299 vulture, vilify, villar): New volatile array constants.
10300 (vindictive, vegetation): New const volatile array constants.
10301 * gdb.base/volatile.exp: Test volatile and const volatile array
10302 types.
10303
10304 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
10305
10306 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
10307 target lacks support for awatch, rwatch, or hbreak.
10308
10309 2014-06-27 Yao Qi <yao@codesourcery.com>
10310
10311 * gdb.multi/dummy-frame-restore.exp: New.
10312 * gdb.multi/dummy-frame-restore.c: New.
10313
10314 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
10315
10316 * gdb.btrace/gcore.exp: New.
10317
10318 2014-06-23 Pedro Alves <palves@redhat.com>
10319
10320 * gdb.base/watchpoint-reuse-slot.c: New file.
10321 * gdb.base/watchpoint-reuse-slot.exp: New file.
10322
10323 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
10324
10325 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
10326 progspace's filename in 'info', 'enable' and 'disable' command
10327 tests.
10328
10329 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
10330
10331 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
10332 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
10333 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
10334
10335 2014-06-20 Gary Benson <gbenson@redhat.com>
10336
10337 * gdb.arch/i386-avx.exp: Fix include file location.
10338 * gdb.arch/i386-sse.exp: Likewise.
10339
10340 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
10341
10342 * gdb.dlang/expression.exp: New file.
10343
10344 2014-06-19 Pedro Alves <palves@redhat.com>
10345
10346 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
10347 out from ...
10348 (top level): ... here. Iterate running tests under different
10349 scheduler-locking settings.
10350
10351 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
10352
10353 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
10354 to DW_FORM_addr and use non-zero addresses.
10355
10356 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
10357
10358 PR gdb/17017
10359 * gdb.python/py-xmethods.cc: Add global function call counters and
10360 increment them in their respective functions. Remove "cout"
10361 statements.
10362 * gdb.python/py-xmethods.exp: Make tests check the global function
10363 call counters instead of depending on inferior IO.
10364
10365 2014-06-18 Don Breazeal <donb@codesourcery.com>
10366
10367 * gdb.base/foll-fork.exp (default_fork_parent_follow):
10368 Deleted procedure.
10369 (explicit_fork_parent_follow): Deleted procedure.
10370 (explicit_fork_child_follow): Deleted procedure.
10371 (test_follow_fork): New procedure.
10372 (do_fork_tests): Replace calls to deleted procedures with
10373 calls to test_follow_fork and reset GDB for subsequent
10374 procedure calls.
10375
10376 2014-06-17 Yao Qi <yao@codesourcery.com>
10377
10378 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
10379 CP1252.
10380
10381 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
10382
10383 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
10384 Initialize ptr and S explicitly.
10385 (skip_type_update_when_not_use_rtti_test): Likewise.
10386
10387 2014-06-16 Keith Seitz <keiths@redhat.com>
10388
10389 PR mi/15863
10390 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
10391 the inferior is started.
10392
10393 2014-06-16 Pedro Alves <palves@redhat.com>
10394
10395 * gdb.base/break-main-file-remove-fail.c: New file.
10396 * gdb.base/break-main-file-remove-fail.exp: New file.
10397 * gdb.base/break-unload-file.exp: Use build_executable instead of
10398 prepare_for_testing.
10399 (test_break): New parameter "initial_load". Handle it.
10400 (top level): Add initial_load cmdline/file axis.
10401
10402 2014-06-12 Tom Tromey <tromey@redhat.com>
10403
10404 * gdb.base/completion.exp: Don't use directory name in test.
10405
10406 2014-06-09 Gary Benson <gbenson@redhat.com>
10407
10408 * gdb.base/sigall.c [Functions to send signals]: Reorder to
10409 separate the always-available ANSI-standard signals from the
10410 signals that require checking.
10411 (main): Likewise.
10412 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
10413 Likewise.
10414 (main): Likewise.
10415
10416 2014-06-07 Keith Seitz <keiths@redhat.com>
10417
10418 Revert:
10419 PR c++/16253
10420 * gdb.cp/var-tag.cc: New file.
10421 * gdb.cp/var-tag.exp: New file.
10422 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
10423 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
10424 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
10425 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
10426
10427 2014-06-06 Doug Evans <xdje42@gmail.com>
10428
10429 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
10430
10431 2014-06-06 Pedro Alves <palves@redhat.com>
10432
10433 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
10434 in target debug output instead of looking at RSP packets,
10435 disabling the test on any target that uses hardware stepping.
10436 Update comments.
10437
10438 2014-06-06 Pedro Alves <palves@redhat.com>
10439
10440 * gdb.base/break-unload-file.exp: Fix typo.
10441
10442 2014-06-06 Yao Qi <yao@codesourcery.com>
10443
10444 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
10445 from "jit_function" to "^jit_function".
10446
10447 2014-06-06 Yao Qi <yao@codesourcery.com>
10448
10449 * gdb.base/async.c (foo): Add one statement.
10450 * gdb.base/async.exp: Get the next instruction address and
10451 match the output of "nexti" by instruction address. Match
10452 the hex address in the output of "finish".
10453
10454 2014-06-06 Gary Benson <gbenson@redhat.com>
10455
10456 * gdb.base/call-signals.c: Remove preprocessor conditionals
10457 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
10458 SIGSEGV and SIGTERM.
10459 * gdb.base/sigall.c: Likewise.
10460 * gdb.base/unwindonsignal.c: Likewise.
10461 * gdb.reverse/sigall-reverse.c: Likewise.
10462
10463 2014-06-06 Yao Qi <yao@codesourcery.com>
10464
10465 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
10466 readable, skip the test.
10467
10468 2014-06-06 Yao Qi <yao@codesourcery.com>
10469
10470 * gdb.threads/staticthreads.c (thread_function): Move the line
10471 setting breakpoint on forward.
10472 * gdb.threads/staticthreads.exp: Update comments.
10473
10474 2014-06-05 Ludovic Courtès <ludo@gnu.org>
10475
10476 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
10477 "history-append! type error".
10478
10479 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
10480
10481 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
10482 erroneous dprintf expected input.
10483
10484 2014-06-04 Doug Evans <xdje42@gmail.com>
10485
10486 * gdb.guile/scm-generics.exp: Delete.
10487
10488 2014-06-04 Doug Evans <xdje42@gmail.com>
10489
10490 * gdb.guile/scm-breakpoint.exp: Update.
10491 Add tests for breakpoint registration.
10492
10493 2014-06-04 Tom Tromey <tromey@redhat.com>
10494
10495 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
10496 VLA-in-union.
10497 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
10498 inner_vla_struct, vla_union types. Initialize objects of those
10499 types and compute their sizes.
10500
10501 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
10502 Hui Zhu <hui@codesourcery.com>
10503
10504 * gdb.base/fileio.exp: Add test for shell not available as well as
10505 available.
10506 * gdb.base/fileio.c (test_system): Check for shell twice.
10507
10508 2014-06-04 Yao Qi <yao@codesourcery.com>
10509
10510 * gdb.base/auto-connect-native-target.exp: Remove redundant
10511 space from the regexp pattern.
10512
10513 2014-06-04 Yao Qi <yao@codesourcery.com>
10514
10515 * gdb.base/default.exp: Replace "child" with "native" in
10516 regexp pattern.
10517
10518 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
10519
10520 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
10521 * gdb.python/py-xmethods.exp: New tests to test xmethods.
10522 * gdb.python/py-xmethods.py: Python script supporting the
10523 new testcase and tests.
10524
10525 2014-06-03 Joel Brobecker <brobecker@adacore.com>
10526 Pedro Alves <palves@redhat.com>
10527
10528 PR breakpoints/17000
10529 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
10530 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
10531
10532 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
10533
10534 * gdb.base/subst.exp: Add tests to verify partial path matching
10535 output.
10536
10537 2014-06-03 Pedro Alves <palves@redhat.com>
10538
10539 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
10540 target that doesn't use software single-stepping.
10541
10542 2014-06-03 Pedro Alves <palves@redhat.com>
10543
10544 PR breakpoints/17000
10545 * gdb.base/sss-bp-on-user-bp-2.c: New file.
10546 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
10547
10548 2014-06-02 Doug Evans <xdje42@gmail.com>
10549
10550 * gdb.guile/scm-parameter.exp: New file.
10551
10552 2014-06-02 Doug Evans <xdje42@gmail.com>
10553
10554 * gdb.guile/scm-cmd.c: New file.
10555 * gdb.guile/scm-cmd.exp: New file.
10556
10557 2014-06-02 Doug Evans <xdje42@gmail.com>
10558
10559 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
10560 pretty-printer lookup.
10561 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
10562 (make-pp_s-printer): Call it.
10563 (make-pretty-printer-from-dict): New function.
10564 (lookup-pretty-printer-maker-from-dict): New function.
10565 (*pretty-printer*): Simplify.
10566 (make-objfile-pp_s-printer): New function.
10567 (install-objfile-pretty-printers!): New function.
10568 (make-progspace-pp_s-printer): New function.
10569 (install-progspace-pretty-printers!): New function.
10570 * gdb.guile/scm-progspace.c: New file.
10571 * gdb.guile/scm-progspace.exp: New file.
10572
10573 2014-06-02 Pedro Alves <palves@redhat.com>
10574
10575 * gdb.base/dprintf-bp-same-addr.c: New file.
10576 * gdb.base/dprintf-bp-same-addr.exp: New file.
10577
10578 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
10579
10580 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
10581 * gdb.arch/powerpc-power.s: Likewise.
10582
10583 2014-06-02 Joel Brobecker <brobecker@adacore.com>
10584
10585 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
10586
10587 2014-06-01 Yao Qi <yao@codesourcery.com>
10588
10589 * gdb.base/watchpoint.exp (test_watch_location): Check null
10590 pointer can be dereferenced. If not, do the test, otherwise
10591 skip it.
10592
10593 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
10594
10595 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
10596 results.
10597 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
10598
10599 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
10600
10601 * gdb.arch/amd64-invalid-stack-middle.S: New file.
10602 * gdb.arch/amd64-invalid-stack-middle.c: New file.
10603 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
10604 * gdb.arch/amd64-invalid-stack-top.c: New file.
10605 * gdb.arch/amd64-invalid-stack-top.exp: New file.
10606
10607 2014-05-30 Pedro Alves <palves@redhat.com>
10608
10609 PR breakpoints/17000
10610 * gdb.base/sss-bp-on-user-bp.c: New file.
10611 * gdb.base/sss-bp-on-user-bp.exp: New file.
10612
10613 2014-05-30 David Blaikie <dblaikie@gmail.com>
10614
10615 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
10616 gnu_inline semantics via attribute.
10617 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
10618 source explicitly specifies the required semantics.
10619
10620 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
10621
10622 * gdb.reverse/sigall-reverse.exp: Fix a typo.
10623
10624 2014-05-29 Pedro Alves <palves@redhat.com>
10625 Tom Tromey <tromey@redhat.com>
10626
10627 * gdb.base/async-shell.exp: Don't enable target-async.
10628 * gdb.base/async.exp
10629 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
10630 parameter. Adjust.
10631 (top level): Don't test with "target-async".
10632 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
10633 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
10634 * gdb.base/inferior-died.exp: Don't enable target-async.
10635 * gdb.base/interrupt-noterm.exp: Likewise.
10636 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
10637 * gdb.mi/mi-nonstop-exit.exp: Likewise.
10638 * gdb.mi/mi-nonstop.exp: Likewise.
10639 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
10640 * gdb.mi/mi-nsintrall.exp: Likewise.
10641 * gdb.mi/mi-nsmoribund.exp: Likewise.
10642 * gdb.mi/mi-nsthrexec.exp: Likewise.
10643 * gdb.mi/mi-watch-nonstop.exp: Likewise.
10644 * gdb.multi/watchpoint-multi.exp: Adjust comment.
10645 * gdb.python/py-evsignal.exp: Don't enable target-async.
10646 * gdb.python/py-evthreads.exp: Likewise.
10647 * gdb.python/py-prompt.exp: Likewise.
10648 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
10649 * gdb.server/solib-list.exp: Don't enable target-async.
10650 * gdb.threads/thread-specific-bp.exp: Likewise.
10651 * lib/mi-support.exp: Adjust to use mi-async.
10652
10653 2014-05-29 Pedro Alves <palves@redhat.com>
10654
10655 PR gdb/13860
10656 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
10657 reason, even in sync mode.
10658
10659 2014-05-29 Pedro Alves <palves@redhat.com>
10660 Hui Zhu <hui@codesourcery.com>
10661
10662 PR PR15693
10663 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
10664 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
10665 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
10666 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
10667
10668 2014-05-28 Joel Brobecker <brobecker@adacore.com>
10669
10670 * config/monitor.exp (gdb_target_monitor): Replace use of
10671 "set remotebaud" by "set serial baud".
10672
10673 2014-05-26 Andy Wingo <wingo@igalia.com>
10674
10675 * gdb.guile/scm-breakpoint.exp:
10676 * gdb.guile/scm-gsmob.exp: Update to use plain old object
10677 properties instead of gdb-object-properties.
10678
10679 2014-05-26 Yao Qi <yao@codesourcery.com>
10680
10681 * gdb.server/no-thread-db.exp: Specify source file name
10682 explicitly when setting a breakpoint.
10683
10684 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
10685
10686 * gdb.btrace/vdso.c: New.
10687 * gdb.btrace/vdso.exp: New.
10688
10689 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
10690
10691 * gdb.base/gcore.exp (capture_command_output): Move ...
10692 * lib/gdb.exp (capture_command_output): ... here.
10693
10694 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
10695
10696 * gdb.btrace/data.exp: Test memory access during btrace replay.
10697
10698 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
10699
10700 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
10701
10702 2014-05-21 Pedro Alves <palves@redhat.com>
10703
10704 PR gdb/13860
10705 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
10706 (top level): Test that output related to execution commands is
10707 sent to the console with CLI commands, but not with MI commands.
10708 Test that breakpoint events are always mirrored to the console.
10709 Also expect the new source line to be output after a "next" in
10710 async mode too. Make it a pass/fail test.
10711 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
10712 output.
10713 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
10714
10715 2014-05-21 Pedro Alves <palves@redhat.com>
10716
10717 * gdb.base/list.exp (build_pattern, test_list): New procedures.
10718 Use them to test variations of "list" after reaching a breakpoint.
10719 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
10720 Test "list" with listsize 10 after reaching a breakpoint.
10721 * gdb.python/python.exp (decode_line current location line
10722 number): Adjust expected line number.
10723
10724 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
10725
10726 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
10727 behavior for $args, pass it directly to "run".
10728
10729 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
10730
10731 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
10732 30000 to 65536.
10733
10734 2014-05-21 Pedro Alves <palves@redhat.com>
10735
10736 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
10737 auto-connect-native-target off".
10738 * gdb.base/auto-connect-native-target.c: New file.
10739 * gdb.base/auto-connect-native-target.exp: New file.
10740
10741 2014-05-21 Pedro Alves <palves@redhat.com>
10742
10743 * gdb.base/default.exp: Test "target native" instead of "target
10744 child".
10745
10746 2014-05-21 Mark Wielaard <mjw@redhat.com>
10747
10748 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
10749
10750 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
10751
10752 Fix TLS access for -static -pthread.
10753 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
10754 <HAVE_TLS> (thread_function, main): Initialize it.
10755 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
10756 Add clean_restart.
10757 <$have_tls != "">: Check TLSVAR.
10758
10759 2014-05-21 Pedro Alves <palves@redhat.com>
10760
10761 * gdb.base/dcache-line-read-error.c: New.
10762 * gdb.base/dcache-line-read-error.exp: New.
10763
10764 2014-05-20 Pedro Alves <palves@redhat.com>
10765
10766 * gdb.base/compare-sections.c: New file.
10767 * gdb.base/compare-sections.exp: New file.
10768
10769 2014-05-20 Pedro Alves <palves@redhat.com>
10770
10771 * gdb.base/break-idempotent.c: New file.
10772 * gdb.base/break-idempotent.exp: New file.
10773
10774 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
10775
10776 * gdb.btrace/nohist.exp: New.
10777
10778 2014-05-20 Yao Qi <yao@codesourcery.com>
10779
10780 * lib/gdb.exp (gdb_init): Set timeout if test file is under
10781 gdb.reverse directory and gdb_reverse_timeout exists in board
10782 setting.
10783 * README: Document gdb_reverse_timeout.
10784
10785 2014-05-20 Yao Qi <yao@codesourcery.com>
10786
10787 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
10788 'test_file_name'. Treat args as a string instead of a list.
10789 (gdb_init): Rename argument 'args' by 'test_file_name'.
10790
10791 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
10792
10793 * gdb.arch/powerpc-power.exp: New file.
10794 * gdb.arch/powerpc-power.s: New file.
10795
10796 2014-05-16 Doug Evans <dje@google.com>
10797
10798 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
10799 * gdb.base/completion.exp: Check that all expected files exist
10800 before doing file completion.
10801
10802 2014-05-16 Doug Evans <dje@google.com>
10803
10804 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
10805 Update.
10806 (do_syscall_tests_without_xml): Update.
10807
10808 2014-05-16 Pedro Alves <palves@redhat.com>
10809
10810 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
10811 instead of "unknown output after running".
10812
10813 2014-05-16 Yao Qi <yao@codesourcery.com>
10814
10815 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
10816 file1.txt from host at the end.
10817 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
10818
10819 2014-05-15 Doug Evans <dje@google.com>
10820
10821 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
10822 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
10823 loading file. Add test for TU lookup.
10824
10825 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
10826
10827 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
10828 calling "-exec-arguments" or "set args" before running the
10829 inferior.
10830
10831 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
10832
10833 * lib/mi-support.exp (mi_expect_stop): Expect message for
10834 inferiors that exit with non-zero exit code.
10835
10836 2014-05-14 Yao Qi <yao@codesourcery.com>
10837
10838 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
10839 match absolute path on remote host.
10840 (test_file_list_exec_source_files): Remove "/" from the
10841 pattern.
10842
10843 2014-05-14 Yao Qi <yao@codesourcery.com>
10844
10845 * boards/local-remote-host-notty.exp (${board}_file): New
10846 proc.
10847
10848 2014-05-07 Kyle McMartin <kyle@redhat.com>
10849
10850 Pushed by Joel Brobecker <brobecker@adacore.com>.
10851 * gdb.arch/aarch64-atomic-inst.c: New file.
10852 * gdb.arch/aarch64-atomic-inst.exp: New file.
10853
10854 2014-05-07 Yao Qi <yao@codesourcery.com>
10855
10856 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
10857 in current context" too.
10858
10859 2014-05-05 Keith Seitz <keiths@redhat.com>
10860
10861 * gdb.linespec/ls-dollar.exp: Add test for linespec
10862 file:convenience_variable.
10863
10864 2014-05-05 Yao Qi <yao@codesourcery.com>
10865
10866 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
10867 traceframes into tfile and ctf trace files. Read data from
10868 trace file and test collected data.
10869 (gdb_collect_locals_test): Likewise.
10870 (gdb_unavailable_registers_test): Likewise.
10871 (gdb_unavailable_floats): Likewise.
10872 (gdb_collect_globals_test): Likewise.
10873 (top-level): Append "ctf" to trace_file_targets if GDB
10874 supports.
10875
10876 2014-05-05 Yao Qi <yao@codesourcery.com>
10877
10878 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
10879 code to ...
10880 (gdb_collect_args_test_1): ... it. New proc.
10881 (gdb_collect_locals_test): Move some code to ...
10882 (gdb_collect_locals_test_1): ... it. New proc.
10883 (gdb_unavailable_registers_test): Move some code to ...
10884 (gdb_unavailable_registers_test_1): ... it. New proc.
10885 (gdb_unavailable_floats): Move some code to ...
10886 (gdb_unavailable_floats_1): ... it. New proc.
10887
10888 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
10889
10890 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
10891 probes to test for bitness recognition.
10892 * gdb.arch/amd64-stap-optional-prefix.exp
10893 (test_probe_value_without_reg): New procedure.
10894 Add code to test for different kinds of bitness.
10895
10896 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
10897
10898 PR breakpoints/16889
10899 * gdb.arch/amd64-stap-optional-prefix.S: New file.
10900 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
10901
10902 2014-05-01 Pedro Alves <palves@redhat.com>
10903
10904 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
10905 gdb_file_cmd if no file is specified.
10906 * boards/native-extended-gdbserver.exp (gdb_load): Use the
10907 last_loaded_file to set the remote exec-file.
10908
10909 2014-05-01 Pedro Alves <palves@redhat.com>
10910
10911 * boards/local-remote-host.exp: New file.
10912
10913 2014-05-01 Pedro Alves <palves@redhat.com>
10914
10915 * boards/local-remote-host.exp: Rename to ...
10916 * boards/local-remote-host-notty.exp: ... this.
10917
10918 2014-04-28 Joel Brobecker <brobecker@adacore.com>
10919
10920 * gdb.ada/dyn_arrayidx: New testcase.
10921
10922 2014-04-26 Yao Qi <yao@codesourcery.com>
10923
10924 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
10925 and compute the length of function main. Save it in
10926 $main_length.
10927 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
10928 (top-level): Use gdb_compile to compile objects into
10929 executable and restart GDB. Remove invocation to
10930 prepare_for_testing.
10931
10932 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
10933 Pedro Alves <palves@redhat.com>
10934
10935 PR server/16255
10936 * gdb.multi/multi-attach.c: New file.
10937 * gdb.multi/multi-attach.exp: New file.
10938
10939 2014-04-25 Pedro Alves <palves@redhat.com>
10940
10941 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
10942 user.
10943 (top level): Test that "set remote conditional-breakpoints-packet
10944 off" works as intended.
10945 * gdb.base/dprintf.exp: Test that "set remote
10946 breakpoint-commands-packet off" works as intended.
10947 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
10948 New function.
10949 (top level): Call it.
10950 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
10951 remote fast-tracepoints-packet off" works as intended.
10952 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
10953 * lib/gdb.exp (gdb_is_target_remote): ... here.
10954
10955 2014-04-24 David Blaikie <dblaikie@gmail.com>
10956
10957 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
10958 ensure clang would not discard them.
10959 * gdb.base/gdbvars.c: Ditto.
10960 * gdb.base/memattr.c: Ditto.
10961 * gdb.base/whatis.c: Ditto.
10962 * gdb.python/py-prettyprint.c: Ditto.
10963 * gdb.trace/actions.c: Ditto.
10964 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
10965 ensure clang would not discard it.
10966
10967 2014-04-24 David Blaikie <dblaikie@gmail.com>
10968
10969 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
10970 clang to emit the full definition of type required by the test
10971 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
10972
10973 2014-04-24 David Blaikie <dblaikie@gmail.com>
10974
10975 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
10976 coax Clang into emitting the definition of the type.
10977 * gdb.cp/pr10728-x.h (y): Ditto.
10978 * gdb.cp/pr10728-y.cc (y): Ditto.
10979
10980 2014-04-24 David Blaikie <dblaikie@gmail.com>
10981
10982 * gdb.base/label.exp: XFAIL label related tests under Clang.
10983 * gdb.cp/cplabel.exp: Ditto.
10984 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
10985 under Clang those using labels.
10986
10987 2014-04-25 Yao Qi <yao@codesourcery.com>
10988
10989 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
10990 double_label.
10991 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
10992 partial_label and double_label.
10993
10994 2014-04-24 David Blaikie <dblaikie@gmail.com>
10995
10996 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
10997
10998 2014-04-24 David Blaikie <dblaikie@gmail.com>
10999
11000 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
11001 of the function to work across GCC and Clang.
11002 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
11003 pointer types (const void ** const V void **).
11004
11005 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
11006 Walfred Tedeschi <walfred.tedeschi@intel.com>
11007
11008 * Makefile.in (EXECUTABLES): Added i386-avx512.
11009 * gdb.arch/i386-avx512.c: New file.
11010 * gdb.arch/i386-avx512.exp: Likewise.
11011
11012 2014-04-23 Keith Seitz <keiths@redhat.com>
11013
11014 * lib/mi-support.exp (mi_list_breakpoints): Delete.
11015 (mi_make_breakpoint_table): New procedure.
11016 (mi_create_breakpoint): Use mi_make_breakpoint
11017 and return the result.
11018 (mi_make_breakpoint): New procedure.
11019 (mi_build_kv_pairs): New procedure.
11020
11021 * gdb.mi/mi-break.exp: Remove unused globals,
11022 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
11023 All callers updated.
11024 * gdb.mi/mi-dprintf.exp: Use variable to track command
11025 number.
11026 Update all callers of mi_create_breakpoint and use
11027 mi_make_breakpoint_table.
11028 Remove any unused global variables.
11029 * gdb.mi/mi-nonstop.exp: Likewise.
11030 * gdb.mi/mi-nsintrall.exp: Likewise.
11031 * gdb.mi/mi-nsmoribund.exp: Likewise.
11032 * gdb.mi/mi-nsthrexec.exp: Likewise.
11033 * gdb.mi/mi-reverse.exp: Likewise.
11034 * gdb.mi/mi-simplerun.exp: Likewise.
11035 * gdb.mi/mi-stepn.exp: Likewise.
11036 * gdb.mi/mi-syn-frame.exp: Likewise.
11037 * gdb.mi/mi-until.exp: Likewise.
11038 * gdb.mi/mi-var-cp.exp: Likewise.
11039 * gdb.mi/mi-var-display.exp: Likewise.
11040 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
11041 * gdb.mi/mi2-var-child.exp: Likewise.
11042 * gdb.mi/mi-vla-c99.exp: Likewise.
11043 * lib/mi-support.exp: Likewise.
11044
11045 From Ian Lance Taylor <iant@cygnus.com>:
11046 * lib/gdb.exp (parse_args): New procedure.
11047
11048 2014-04-23 Pedro Alves <palves@redhat.com>
11049
11050 * gdb.base/break-unload-file.c: New file.
11051 * gdb.base/break-unload-file.exp: New file.
11052 * gdb.base/sym-file-lib.c (baz): New function.
11053 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
11054 field.
11055 (load): Store the segment's mapped size.
11056 (unload): New function.
11057 (unload_shlib): New function.
11058 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
11059 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
11060 set a breakpoint at baz, and call it.
11061 * gdb.base/sym-file.exp: New tests for stale breakpoint
11062 instructions.
11063
11064 2014-04-23 Pedro Alves <palves@redhat.com>
11065
11066 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
11067 * gdb.base/hbreak-in-shr-unsupported.c: New file.
11068 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
11069 * gdb.base/hbreak-unmapped.c: New file.
11070 * gdb.base/hbreak-unmapped.exp: New file.
11071 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
11072 * lib/gdb.exp (gdb_is_target_remote): ... here.
11073
11074 2014-04-22 Pedro Alves <palves@redhat.com>
11075
11076 * gdb.base/consecutive-step-over.c: New file.
11077 * gdb.base/consecutive-step-over.exp: New file.
11078
11079 2014-04-22 Pedro Alves <palves@redhat.com>
11080
11081 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
11082 instead of send_gdb/gdb_expect.
11083
11084 2014-04-22 Yao Qi <yao@codesourcery.com>
11085
11086 * lib/trace-support.exp (generate_tracefile): New procedure.
11087 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
11088 return 0.
11089 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
11090 if generate_tracefile returns 1.
11091
11092 2014-04-18 Tom Tromey <palves@redhat.com>
11093 Pedro alves <tromey@redhat.com>
11094
11095 PR backtrace/15558
11096 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
11097 with a backtrace limit.
11098 * gdb.python/py-frame-inline.exp: Test running to an inline
11099 function with a backtrace limit, and printing the newest frame.
11100 * gdb.python/py-frame-inline.c (main): Call f.
11101
11102 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
11103
11104 * gdb.java/jnpe.exp: Drop srcdir from untested path.
11105
11106 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
11107
11108 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
11109 Drop prefix from unsupported source file path.
11110
11111 2014-04-17 Yao Qi <yao@codesourcery.com>
11112
11113 * lib/gdb.exp (with_target_charset): New proc.
11114 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
11115 with_target_charset.
11116 (test_print_strings): Likewise.
11117 (test_repeat_bytes): Likewise.
11118 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
11119 for some tests.
11120
11121 2014-04-16 Keith Seitz <keiths@redhat.com>
11122
11123 PR gdb/15827
11124 * gdb.dwarf2/corrupt.c: New file.
11125 * gdb.dwarf2/corrupt.exp: New file.
11126
11127 2014-04-16 Keith Seitz <keiths@redhat.com>
11128
11129 PR c++/16597
11130 * gdb.cp/namelessclass.cc: New file.
11131 * gdb.cp/namelessclass.exp: New file.
11132 * gdb.cp/namelessclass.S: New file.
11133
11134 2014-04-16 Doug Evans <dje@google.com>
11135
11136 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
11137 Add comment.
11138 (gdbserver_default_get_comm_port): New function.
11139 (gdbserver_start): Check if board file provided
11140 "gdbserver,get_comm_port" and use it if so.
11141 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
11142 (gdb,socketport): Set to "stdio".
11143 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
11144 (stdio_gdbserver_template): Delete.
11145 (${board}_get_remote_address): Update.
11146 (${board}_build_remote_cmd): Delete.
11147 (${board}_get_comm_port): New function.
11148 (${board}_spawn): Update.
11149 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
11150 Delete.
11151 (${board}_get_remote_address): Update.
11152 (${board}_get_comm_port): New function.
11153
11154 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
11155
11156 * gdb.base/memattr.exp: Improve regexps to handle memory regions
11157 appearing in any order.
11158
11159 2014-04-15 Doug Evans <dje@google.com>
11160
11161 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
11162 uninitialized value of "description".
11163
11164 2014-04-15 Keith Seitz <keiths@redhat.com>
11165
11166 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
11167 Remove unused globals.
11168 (test_running_the_program): Likewise.
11169 (test_controlled_execution): Likewise.
11170 (test_controlling_breakpoints): Likewise.
11171 (test_program_termination): Likewise.
11172
11173 2014-04-15 Keith Seitz <keiths@redhat.com>
11174
11175 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
11176 unused globals.
11177 (test_rbreak_creation_and_listing): Likewise.
11178 (test_ignore_count): Likewise.
11179 (test_error): Likewise.
11180
11181 2014-04-15 Pedro Alves <palves@redhat.com>
11182
11183 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
11184 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
11185 sym-file-loader.c.
11186 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
11187 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
11188 to sym-file-loader.c.
11189 (struct library): Forward declare.
11190 (load_shlib, lookup_function): Change prototypes.
11191 (find_shstrtab, find_strtab, find_shdr, find_symtab)
11192 (translate_offset): Remove declarations.
11193 (get_text_addr): New declaration.
11194 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
11195 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
11196 sym-file-loader.h.
11197 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
11198 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
11199 here from sym-file-loader.h.
11200 (struct library): New structure.
11201 (load_shlib, lookup_function): Change prototypes and adjust to
11202 work with a struct library.
11203 (find_shstrtab, find_strtab, find_shdr, find_symtab)
11204 (translate_offset): Make static.
11205 (get_text_addr): New function.
11206 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
11207
11208 2014-04-15 Pedro Alves <palves@redhat.com>
11209
11210 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
11211
11212 2014-04-15 Pedro Alves <palves@redhat.com>
11213
11214 * gdb.base/sym-file-loader.c: Include <limits.h>.
11215 (SELF_LINK): New define.
11216 (get_origin): New function.
11217 (load_shlib): Use it.
11218 * gdb.base/sym-file.exp: Don't early return if the target is
11219 remote. Use runto_main, and issue fail is that fails. Use
11220 gdb_load_shlibs.
11221 (shlib_name): Delete.
11222 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
11223
11224 2014-04-15 Pedro Alves <palves@redhat.com>
11225
11226 * gdb.base/sym-file.exp: Remove regex characters from test
11227 message. Don't refer to breakpoint numbers in test messages.
11228
11229 2014-04-14 Keith Seitz <keiths@redhat.com>
11230
11231 PR c++/16253
11232 * gdb.cp/var-tag.cc: New file.
11233 * gdb.cp/var-tag.exp: New file.
11234 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
11235 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
11236 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
11237 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
11238
11239 2014-04-14 Tom Tromey <tromey@redhat.com>
11240
11241 * gdb.cp/classes.exp (test_enums): Handle underlying type.
11242 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
11243 type.
11244 * gdb.cp/enum-class.exp: New file.
11245 * gdb.cp/enum-class.cc: New file.
11246
11247 2014-04-14 Tom Tromey <tromey@redhat.com>
11248
11249 * gdb.dwarf2/enum-type.exp: New file.
11250
11251 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
11252
11253 * gdb.mi/mi-vla-c99.exp: New file.
11254 * gdb.mi/vla.c: New file.
11255
11256 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
11257
11258 * gdb.base/vla-datatypes.c: New file.
11259 * gdb.base/vla-datatypes.exp: New file.
11260
11261 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
11262
11263 * gdb.base/vla-ptr.c: New file.
11264 * gdb.base/vla-ptr.exp: New file.
11265
11266 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
11267
11268 * gdb.dwarf2/count.exp: New file.
11269
11270 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
11271
11272 * gdb.base/vla-sideeffect.c: New file.
11273 * gdb.base/vla-sideeffect.exp: New file.
11274
11275 2014-04-14 David Blaikie <dblaikie@gmail.com>
11276
11277 * gdb.mi/non-stop.c: Add return value for non-void function return
11278 statement.
11279 * gdb.threads/staticthreads.c: Ditto.
11280
11281 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
11282 Doug Evans <xdje42@gmail.com>
11283
11284 * gdb.guile/scm-value.c: Improve test case.
11285 * gdb.guile/scm-value.exp: Add new test.
11286
11287 2014-04-11 David Blaikie <dblaikie@gmail.com>
11288
11289 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
11290 override Clang's default.
11291
11292 2014-04-11 Joel Brobecker <brobecker@adacore.com>
11293
11294 Revert the following changes (regressions):
11295
11296 * gdb.base/vla-sideeffect.c: New file.
11297 * gdb.base/vla-sideeffect.exp: New file.
11298
11299 * gdb.dwarf2/count.exp: New file.
11300
11301 * gdb.base/vla-multi.c: New file.
11302 * gdb.base/vla-multi.exp: New file.
11303
11304 * gdb.base/vla-ptr.c: New file.
11305 * gdb.base/vla-ptr.exp: New file.
11306
11307 * gdb.base/vla-datatypes.c: New file.
11308 * gdb.base/vla-datatypes.exp: New file.
11309
11310 * gdb.mi/mi-vla-c99.exp: New file.
11311 * gdb.mi/vla.c: New file.
11312
11313 2014-04-11 Keith Seitz <keiths@redhat.com>
11314
11315 PR c++/16675
11316 * gdb.cp/cpsizeof.exp: New file.
11317 * gdb.cp/cpsizeof.cc: New file.
11318
11319 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
11320
11321 * gdb.mi/mi-vla-c99.exp: New file.
11322 * gdb.mi/vla.c: New file.
11323
11324 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
11325
11326 * gdb.base/vla-datatypes.c: New file.
11327 * gdb.base/vla-datatypes.exp: New file.
11328
11329 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
11330
11331 * gdb.base/vla-ptr.c: New file.
11332 * gdb.base/vla-ptr.exp: New file.
11333
11334 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
11335
11336 * gdb.base/vla-multi.c: New file.
11337 * gdb.base/vla-multi.exp: New file.
11338
11339 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
11340
11341 * gdb.dwarf2/count.exp: New file.
11342
11343 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
11344
11345 * gdb.base/vla-sideeffect.c: New file.
11346 * gdb.base/vla-sideeffect.exp: New file.
11347
11348 2014-04-11 Yao Qi <yao@codesourcery.com>
11349
11350 * gdb.base/completion.exp: Check file exists before running tests
11351 on file completion.
11352
11353 2014-04-10 Pedro Alves <palves@redhat.com>
11354
11355 * gdb.base/cond-eval-mode.c: New file.
11356 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
11357 prepare_for_testing to build the new file. Check result of
11358 runto_main.
11359 (test_break, test_watch): New procedures.
11360 (top level): Use them.
11361
11362 2014-04-08 Pierre Muller <muller@sourceware.org>
11363
11364 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
11365 Ctrl-V use for mingw hosts.
11366
11367 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
11368
11369 * gdb.python/py-value.c: Improve test case.
11370 * gdb.python/py-value.exp: Add new test.
11371
11372 2014-04-07 David Blaikie <dblaikie@gmail.com>
11373
11374 * lib/compiler.c: Identify the clang compiler.
11375 * lib/compiler.cc: Ditto.
11376
11377 2014-04-03 Yao Qi <yao@codesourcery.com>
11378
11379 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
11380
11381 2014-04-01 Anton Blanchard <anton@samba.org>
11382
11383 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
11384 messages unique.
11385
11386 2014-04-01 Anton Blanchard <anton@samba.org>
11387
11388 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
11389 prepare_for_testing.
11390
11391 2014-04-01 Anton Blanchard <anton@samba.org>
11392
11393 * gdb.arch/ppc64-atomic-inst.c: Remove.
11394 * gdb.arch/ppc64-atomic-inst.S: New file.
11395 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
11396
11397 2014-03-31 Doug Evans <dje@google.com>
11398
11399 * gdb.base/print-symbol-loading-lib.c: New file.
11400 * gdb.base/print-symbol-loading-main.c: New file.
11401 * gdb.base/print-symbol-loading.exp: New file.
11402
11403 2014-03-31 Yao Qi <yao@codesourcery.com>
11404
11405 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
11406
11407 2014-03-28 Joel Brobecker <brobecker@adacore.com>
11408
11409 * gdb.ada/mi_dyn_arr: New testcase.
11410
11411 2014-03-27 Doug Evans <dje@google.com>
11412
11413 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
11414
11415 2014-03-27 Yao Qi <yao@codesourcery.com>
11416
11417 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
11418 if target is nios2-*-*.
11419
11420 2014-03-26 Yao Qi <yao@codesourcery.com>
11421
11422 * lib/gdb.exp (readline_is_used): New proc.
11423 * gdb.base/completion.exp: Move tests on command complete up.
11424 Skip the rest of tests if readline is not used.
11425 * gdb.ada/complete.exp: Skp the test if readline is not
11426 used.
11427 * gdb.base/filesym.exp: Likewise.
11428 * gdb.base/macscp.exp: Likewise.
11429 * gdb.base/readline-ask.exp: Likewise.
11430 * gdb.base/readline.exp: Likewise.
11431 * gdb.python/py-cmd.exp: Likewise.
11432 * gdb.trace/tfile.exp: Likewise.
11433
11434 2014-03-26 Yao Qi <yao@codesourcery.com>
11435
11436 * gdb.base/macscp.exp: Fix code format issues.
11437
11438 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
11439
11440 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
11441 * gdb.asm/powerpc64le.inc: New file.
11442
11443 2014-03-25 Pedro Alves <palves@redhat.com>
11444 Doug Evans <dje@google.com>
11445
11446 * gdb.base/source-execution.c: New file.
11447 * gdb.base/source-execution.exp: New file.
11448 * gdb.base/source-execution.gdb: New file.
11449
11450 2014-03-24 Doug Evans <dje@google.com>
11451
11452 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
11453 using fission.
11454
11455 2014-03-24 Hui Zhu <hui@codesourcery.com>
11456 Pedro Alves <palves@redhat.com>
11457
11458 PR breakpoints/16101
11459 * gdb.base/dprintf.exp: Use unsupported rather than changing the
11460 test pass/fail messages. Detect missing support for dprintf when
11461 breakpoints are actually inserted.
11462 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
11463 breakpoints are actually inserted.
11464 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
11465 fails.
11466
11467 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
11468
11469 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
11470
11471 2014-03-22 Doug Evans <xdje42@gmail.com>
11472
11473 * gdb.python/python.exp (python not supported): Verify multi-line
11474 python command issues an error.
11475 * gdb.guile/guile.exp (guile not supported): Verify multi-line
11476 guile command issues an error.
11477
11478 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
11479
11480 * gdb.threads/thread-specific.exp: Handle the lack of usable
11481 $this_breakpoint and $this_thread.
11482
11483 2014-03-21 Hui Zhu <hui@codesourcery.com>
11484
11485 * gdb.base/attach.exp (do_command_attach_tests): New.
11486
11487 2014-03-20 Tom Tromey <tromey@redhat.com>
11488 Pedro Alves <palves@redhat.com>
11489
11490 PR cli/15718
11491 * gdb.base/condbreak-call-false.c: New file.
11492 * gdb.base/condbreak-call-false.exp: New file.
11493
11494 2014-03-20 Pedro Alves <palves@redhat.com>
11495
11496 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
11497 Delete.
11498 (block_signals, unblock_signals): Delete.
11499 (child_function_2, main): Remove references to deleted variable
11500 and functions.
11501
11502 2014-03-20 Pedro Alves <palves@redhat.com>
11503
11504 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
11505 Use pthread_kill to signal thread 2.
11506 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
11507 Adjust to make the test send itself a signal rather than using the
11508 host's "kill" command.
11509
11510 2014-03-20 Pedro Alves <palves@redhat.com>
11511
11512 * gdb.threads/multiple-step-overs.c: New file.
11513 * gdb.threads/multiple-step-overs.exp: New file.
11514 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
11515 Adjust expected infrun debug output.
11516
11517 2014-03-20 Pedro Alves <palves@redhat.com>
11518
11519 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
11520 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
11521
11522 2014-03-20 Pedro Alves <palves@redhat.com>
11523
11524 PR breakpoints/7143
11525 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
11526 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
11527 of gdb_test_multiple.
11528 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
11529 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
11530
11531 2014-03-20 Pedro Alves <palves@redhat.com>
11532
11533 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
11534 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
11535
11536 2014-03-19 Pedro Alves <palves@redhat.com>
11537
11538 * gdb.base/async.exp: Remove early return.
11539
11540 2014-03-19 Pedro Alves <palves@redhat.com>
11541
11542 * gdb.base/async.exp (step& tests): Pass explicit test messages.
11543
11544 2014-03-19 Pedro Alves <palves@redhat.com>
11545
11546 * gdb.base/async.exp (test_background): Expect \r\n after
11547 "completed." in the fail pattern.
11548
11549 2014-03-19 Pedro Alves <palves@redhat.com>
11550
11551 * gdb.base/async.exp (test_background): New procedure.
11552 Use it for all background execution command tests.
11553
11554 2014-03-19 Pedro Alves <palves@redhat.com>
11555
11556 * gdb.base/async.exp: Use prepare_for_testing.
11557
11558 2014-03-19 Pedro Alves <palves@redhat.com>
11559
11560 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
11561 the same line.
11562
11563 2014-03-19 Pedro Alves <palves@redhat.com>
11564
11565 * gdb.base/async.c (main): Add "jump here" and "until here" line
11566 marker comments.
11567 * gdb.base/async.exp (jump_here): New global.
11568 (jump& test): Use it.
11569 (until_here): New global.
11570 (until& test): Use it.
11571
11572 2014-03-19 Pedro Alves <palves@redhat.com>
11573
11574 * gdb.base/async.exp: Don't frob gdb_protocol.
11575
11576 2014-03-18 Doug Evans <xdje42@gmail.com>
11577
11578 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
11579 Fix spelling of exec-done-display.
11580
11581 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
11582
11583 PR gdb/15358
11584 * gdb.base/gdb-sigterm.c: New file.
11585 * gdb.base/gdb-sigterm.exp: New file.
11586
11587 2014-03-18 Pedro Alves <palves@redhat.com>
11588
11589 PR gdb/13860
11590 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
11591 * lib/mi-support.exp (mi_expect_stop): Add special handling for
11592 solib-event.
11593
11594 2014-03-17 Joel Brobecker <brobecker@adacore.com>
11595
11596 * gdb.ada/pckd_arr_ren: New testcase.
11597
11598 2014-03-13 Doug Evans <xdje42@gmail.com>
11599
11600 PR guile/16612
11601 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
11602 collect after discarding symbols.
11603
11604 2014-03-13 Ludovic Courtès <ludo@gnu.org>
11605 Doug Evans <xdje42@gmail.com>
11606
11607 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
11608 to history survives a gc.
11609
11610 2014-03-13 Pedro Alves <palves@redhat.com>
11611
11612 * gdb.base/default.exp: Don't test "target procfs".
11613
11614 2014-03-13 Pedro Alves <palves@redhat.com>
11615
11616 * gdb.base/default.exp: Update "target child" and "target procfs"
11617 tests to not expect "Unix".
11618
11619 2014-03-12 Tom Tromey <tromey@redhat.com>
11620
11621 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
11622 New procs. Add target-async tests.
11623 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
11624 Add target-async tests.
11625
11626 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
11627
11628 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
11629 'func_start' and 'func_end' for the beginning and end of the
11630 function code, respectively.
11631 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
11632 'func_end' instead of 'func' and 'main'.
11633
11634 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
11635
11636 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
11637 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
11638 generate the debug info assembler source.
11639
11640 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
11641
11642 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
11643 * gdb.dwarf2/arr-subrange.exp: Likewise.
11644 * gdb.dwarf2/dwz.exp: Likewise.
11645 * gdb.dwarf2/method-ptr.exp: Likewise.
11646 * gdb.dwarf2/missing-sig-type.exp: Likewise.
11647 * gdb.dwarf2/subrange.exp: Likewise.
11648 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
11649 * gdb.dwarf2/implptrpiece.exp: Likewise.
11650 * gdb.dwarf2/nostaticblock.exp: Likewise.
11651
11652 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
11653
11654 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
11655 directory to absolute path name arguments.
11656
11657 2014-03-10 Joel Brobecker <brobecker@adacore.com>
11658
11659 * gdb.ada/tagged_access: New testcase.
11660
11661 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
11662
11663 * gdb.btrace/data.exp: Update expected output.
11664
11665 2014-03-06 Yao Qi <yao@codesourcery.com>
11666
11667 * gdb.trace/pr16508.exp: New file.
11668
11669 2014-03-05 Pedro Alves <palves@redhat.com>
11670
11671 PR gdb/16575
11672 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
11673 procedure.
11674 (top level): Adjust to use it. Add tests that exercise breakpoint
11675 interaction with the code-cache.
11676
11677 2014-02-26 Ludovic Courtès <ludo@gnu.org>
11678
11679 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
11680 test for 'history-append!'.
11681
11682 2014-02-26 Joel Brobecker <brobecker@adacore.com>
11683
11684 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
11685 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
11686 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
11687 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
11688 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
11689 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
11690
11691 2014-02-26 Joel Brobecker <brobecker@adacore.com>
11692
11693 * testsuite/gdb.python/py-pp-re-notag.c: New file.
11694 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
11695 * testsuite/gdb.python/py-pp-re-notag.p: New file.
11696
11697 2014-02-26 Joel Brobecker <brobecker@adacore.com>
11698
11699 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
11700
11701 2014-02-26 Joel Brobecker <brobecker@adacore.com>
11702
11703 * gdb.dwarf2/arr-stride.c: New file.
11704 * gdb.dwarf2/arr-stride.exp: New file.
11705
11706 2014-02-26 Pedro Alves <palves@redhat.com>
11707
11708 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
11709 that won't ever trigger. Make sure that GDB reports the correct
11710 breakpoint that caused the stop.
11711
11712 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11713
11714 PR gdb/16626
11715 * gdb.base/auto-load-script: New file.
11716 * gdb.base/auto-load.c: New file.
11717 * gdb.base/auto-load.exp: New file.
11718
11719 PR gdb/16626
11720 * gdb.base/auto-load.exp: Fix out-of-srctree run.
11721
11722 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11723
11724 Fix dw2-icycle.exp -fsanitize=address GDB crash.
11725 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
11726
11727 2014-02-24 Doug Evans <dje@google.com>
11728
11729 * lib/gdb.exp (run_on_host): Log error output if program fails.
11730
11731 2014-02-21 Pedro Alves <palves@redhat.com>
11732
11733 * gdb.threads/step-after-sr-lock.c: Rename to ...
11734 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
11735 * gdb.threads/step-after-sr-lock.exp: Rename to ...
11736 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
11737 ... this.
11738
11739 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
11740
11741 PR tdep/16397
11742 * gdb.arch/amd64-stap-special-operands.exp: New file.
11743 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
11744 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
11745 * gdb.arch/amd64-stap-triplet.S: Likewise.
11746 * gdb.arch/amd64-stap-triplet.c: Likewise.
11747
11748 2014-02-20 Joel Brobecker <brobecker@adacore.com>
11749
11750 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
11751 in .section pseudo-op.
11752
11753 2014-02-20 lin zuojian <manjian2006@gmail.com>
11754 Joel Brobecker <brobecker@adacore.com>
11755 Doug Evans <xdje42@gmail.com>
11756
11757 PR symtab/16581
11758 * gdb.dwarf2/dw2-icycle.S: New file.
11759 * gdb.dwarf2/dw2-icycle.c: New file.
11760 * gdb.dwarf2/dw2-icycle.exp: New file.
11761
11762 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
11763
11764 * gdb.python/py-value-cc.cc: Improve test case to enable testing
11765 operations on gdb.Value objects.
11766 * gdb.python/py-value-cc.exp: Add new test to test operations on
11767 gdb.Value objects.
11768
11769 2014-02-18 Doug Evans <dje@google.com>
11770
11771 * Makefile.in (TESTS): New variable.
11772 (expanded_tests, expanded_tests_or_none): New variables
11773 (check-single): Pass $(expanded_tests_or_none) to runtest.
11774 (check-parallel): Only run tests in $(TESTS) if non-empty.
11775 (check/no-matching-tests-found): New rule.
11776 * README: Document TESTS makefile variable.
11777
11778 2014-02-18 Doug Evans <dje@google.com>
11779
11780 * Makefile.in (check-parallel): rm -rf outputs temp.
11781
11782 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11783
11784 Fix "ERROR: no fileid for" in the testsuite.
11785 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
11786
11787 2014-02-12 Doug Evans <dje@google.com>
11788
11789 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
11790 (MISCELLANEOUS): New variable.
11791 (clean): rm -rf $(MISCELLANEOUS).
11792 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
11793 dwp live in the same directory as symlinks, with each symlink pointed
11794 to a differently named file in a different directory.
11795
11796 2014-02-11 Doug Evans <dje@google.com>
11797
11798 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
11799 of Tcl file commands.
11800
11801 2014-02-10 Mark Kettenis <kettenis@gnu.org>
11802
11803 * gdb.threads/step-after-sr-lock.exp: Avoid executing
11804 "kill -SIGUSR1 -1".
11805
11806 2014-02-10 Joel Brobecker <brobecker@adacore.com>
11807
11808 * gdb.ada/tick_length_array_enum_idx: New testcase.
11809
11810 2014-02-10 Doug Evans <xdje42@gmail.com>
11811
11812 * configure.ac (AC_OUTPUT): Add gdb.guile.
11813 * configure: Regenerate.
11814 * lib/gdb-guile.exp: New file.
11815 * lib/gdb.exp (get_target_charset): New function.
11816 * gdb.base/help.exp: Update expected output from "apropos apropos".
11817 * gdb.guile/Makefile.in: New file.
11818 * gdb.guile/guile.exp: New file.
11819 * gdb.guile/scm-arch.c: New file.
11820 * gdb.guile/scm-arch.exp: New file.
11821 * gdb.guile/scm-block.c: New file.
11822 * gdb.guile/scm-block.exp: New file.
11823 * gdb.guile/scm-breakpoint.c: New file.
11824 * gdb.guile/scm-breakpoint.exp: New file.
11825 * gdb.guile/scm-disasm.c: New file.
11826 * gdb.guile/scm-disasm.exp: New file.
11827 * gdb.guile/scm-equal.c: New file.
11828 * gdb.guile/scm-equal.exp: New file.
11829 * gdb.guile/scm-error.exp: New file.
11830 * gdb.guile/scm-error.scm: New file.
11831 * gdb.guile/scm-frame-args.c: New file.
11832 * gdb.guile/scm-frame-args.exp: New file.
11833 * gdb.guile/scm-frame-args.scm: New file.
11834 * gdb.guile/scm-frame-inline.c: New file.
11835 * gdb.guile/scm-frame-inline.exp: New file.
11836 * gdb.guile/scm-frame.c: New file.
11837 * gdb.guile/scm-frame.exp: New file.
11838 * gdb.guile/scm-generics.exp: New file.
11839 * gdb.guile/scm-gsmob.exp: New file.
11840 * gdb.guile/scm-iterator.c: New file.
11841 * gdb.guile/scm-iterator.exp: New file.
11842 * gdb.guile/scm-math.c: New file.
11843 * gdb.guile/scm-math.exp: New file.
11844 * gdb.guile/scm-objfile-script-gdb.in: New file.
11845 * gdb.guile/scm-objfile-script.c: New file.
11846 * gdb.guile/scm-objfile-script.exp: New file.
11847 * gdb.guile/scm-objfile.c: New file.
11848 * gdb.guile/scm-objfile.exp: New file.
11849 * gdb.guile/scm-ports.exp: New file.
11850 * gdb.guile/scm-pretty-print.c: New file.
11851 * gdb.guile/scm-pretty-print.exp: New file.
11852 * gdb.guile/scm-pretty-print.scm: New file.
11853 * gdb.guile/scm-section-script.c: New file.
11854 * gdb.guile/scm-section-script.exp: New file.
11855 * gdb.guile/scm-section-script.scm: New file.
11856 * gdb.guile/scm-symbol.c: New file.
11857 * gdb.guile/scm-symbol.exp: New file.
11858 * gdb.guile/scm-symtab-2.c: New file.
11859 * gdb.guile/scm-symtab.c: New file.
11860 * gdb.guile/scm-symtab.exp: New file.
11861 * gdb.guile/scm-type.c: New file.
11862 * gdb.guile/scm-type.exp: New file.
11863 * gdb.guile/scm-value-cc.cc: New file.
11864 * gdb.guile/scm-value-cc.exp: New file.
11865 * gdb.guile/scm-value.c: New file.
11866 * gdb.guile/scm-value.exp: New file.
11867 * gdb.guile/source2.scm: New file.
11868 * gdb.guile/types-module.cc: New file.
11869 * gdb.guile/types-module.exp: New file.
11870
11871 2014-02-10 Yao Qi <yao@codesourcery.com>
11872
11873 PR testsuite/16543
11874 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
11875 * configure: Regenerated.
11876 * Makefile.in: New file.
11877
11878 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
11879
11880 * gdb.python/py-framefilter.exp: Fix typo.
11881
11882 2014-02-08 Yao Qi <yao@codesourcery.com>
11883
11884 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
11885 that no =breakpoint-modified is emitted when breakpoints are
11886 modified through MI commands.
11887
11888 2014-02-07 Pedro Alves <pedro@codesourcery.com>
11889 Pedro Alves <palves@redhat.com>
11890
11891 * gdb.threads/step-after-sr-lock.c: New file.
11892 * gdb.threads/step-after-sr-lock.exp: New file.
11893
11894 2014-02-07 Pedro Alves <palves@redhat.com>
11895
11896 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
11897
11898 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
11899
11900 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
11901 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
11902
11903 2014-02-06 Doug Evans <xdje42@gmail.com>
11904
11905 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
11906 output.
11907
11908 * gdb.gdb/python-interrupts.exp: New file.
11909
11910 2014-02-05 Yao Qi <yao@codesourcery.com>
11911
11912 * gdb.trace/report.exp (use_collected_data): Test the output
11913 of "info threads" and "info inferiors".
11914
11915 2014-02-05 Yao Qi <yao@codesourcery.com>
11916
11917 Revert this patch:
11918
11919 2013-05-24 Yao Qi <yao@codesourcery.com>
11920
11921 * gdb.trace/tfile.exp: Test inferior and thread.
11922
11923 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11924
11925 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
11926 on a function.
11927 * gdb.base/step-bt.c: Call hello via function pointer to make
11928 sure its first instruction is executed on powerpc64le-linux.
11929
11930 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11931
11932 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
11933
11934 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11935
11936 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
11937 of the test patterns for use on little-endian systems.
11938
11939 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11940
11941 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
11942 (decimal_vector): Fix for little-endian.
11943
11944 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
11945
11946 * gdb.arch/sparc-sysstep.exp: New file.
11947 * gdb.arch/sparc-sysstep.c: Likewise.
11948
11949 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
11950
11951 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
11952
11953 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
11954
11955 2014-01-23 Tom Tromey <tromey@redhat.com>
11956
11957 * gdb.ada/array_char_idx: New testcase.
11958
11959 2014-01-23 Tom Tromey <tromey@redhat.com>
11960
11961 PR python/16487:
11962 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
11963 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
11964 classes.
11965
11966 2014-01-23 Tom Tromey <tromey@redhat.com>
11967
11968 PR python/16491:
11969 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
11970 string from an inferior frame.
11971 * gdb.python/py-framefilter-mi.exp: Update.
11972
11973 2014-01-22 Doug Evans <dje@google.com>
11974
11975 * gdb.server/server-mon.exp: Add tests for "set debug-format".
11976
11977 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11978
11979 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
11980
11981 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11982
11983 * gdb.trace/entry-values.exp: Remove excess space character from
11984 regex patterns. Handle s390 call instruction.
11985
11986 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11987
11988 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
11989 define "*_start" label. Make "name" static.
11990 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
11991 ${name} by references to ${name}_start.
11992
11993 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11994
11995 * gdb.base/info-macros.exp: Remove "debug" from the compile
11996 options.
11997
11998 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11999
12000 * gdb.dlang/demangle.exp: New file.
12001
12002 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
12003
12004 * gdb.dlang/primitive-types.exp: New file.
12005
12006 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
12007
12008 * configure.ac: Create gdb.dlang/Makefile.
12009 * configure: Regenerate.
12010 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
12011 * gdb.dlang/Makefile.in: New file.
12012 * lib/d-support.exp: New file.
12013 * lib/gdb.exp (skip_d_tests): New proc.
12014
12015 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12016
12017 * gdb.btrace/delta.exp: Check reverse stepi.
12018 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
12019 * gdb.btrace/finish.exp: New.
12020 * gdb.btrace/next.exp: New.
12021 * gdb.btrace/nexti.exp: New.
12022 * gdb.btrace/record_goto.c: Add comments.
12023 * gdb.btrace/step.exp: New.
12024 * gdb.btrace/stepi.exp: New.
12025 * gdb.btrace/multi-thread-step.c: New.
12026 * gdb.btrace/multi-thread-step.exp: New.
12027 * gdb.btrace/rn-dl-bind.c: New.
12028 * gdb.btrace/rn-dl-bind.exp: New.
12029 * gdb.btrace/data.c: New.
12030 * gdb.btrace/data.exp: New.
12031 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
12032
12033 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12034
12035 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
12036 * gdb.btrace/exception.exp: Update.
12037 * gdb.btrace/instruction_history.exp: Update.
12038 * gdb.btrace/record_goto.exp: Update.
12039 * gdb.btrace/tailcall.exp: Update.
12040 * gdb.btrace/unknown_functions.exp: Update.
12041 * gdb.btrace/delta.exp: New.
12042
12043 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12044
12045 * gdb.btrace/record_goto.exp: Add backtrace test.
12046 * gdb.btrace/tailcall.exp: Add backtrace test.
12047
12048 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12049
12050 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
12051 * gdb.btrace/record_goto.c: New.
12052 * gdb.btrace/record_goto.exp: New.
12053 * gdb.btrace/x86-record_goto.S: New.
12054
12055 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12056
12057 * gdb.btrace/function_call_history.exp: Update tests.
12058 * gdb.btrace/instruction_history.exp: Update tests.
12059
12060 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12061
12062 * gdb.btrace/function_call_history.exp: Fix expected field
12063 order for "record function-call-history".
12064 Add new tests for "record function-call-history /c".
12065 * gdb.btrace/exception.cc: New.
12066 * gdb.btrace/exception.exp: New.
12067 * gdb.btrace/tailcall.exp: New.
12068 * gdb.btrace/x86-tailcall.S: New.
12069 * gdb.btrace/x86-tailcall.c: New.
12070 * gdb.btrace/unknown_functions.c: New.
12071 * gdb.btrace/unknown_functions.exp: New.
12072 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
12073
12074 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12075
12076 * gdb.btrace/instruction_history.exp: Update.
12077 * gdb.btrace/function_call_history.exp: Update.
12078
12079 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12080
12081 * gdb.btrace/function_call_history.exp: Fix expected function
12082 trace.
12083 * gdb.btrace/instruction_history.exp: Initialize traced.
12084 Remove traced_functions.
12085
12086 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12087
12088 * gdb.btrace/function_call_history.exp: Update
12089 * gdb.btrace/instruction_history.exp: Update.
12090
12091 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12092
12093 * gdb.btrace/enable.exp: Update expected text.
12094
12095 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
12096
12097 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
12098 bytes.
12099
12100 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
12101
12102 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
12103
12104 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
12105
12106 * lib/gdb.exp (supports_process_record): Return true for
12107 arm*-linux*. (supports_reverse): Likewise.
12108
12109 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
12110
12111 PR python/15464
12112 PR python/16113
12113 * gdb.python/py-type.c: Enhance test case.
12114 * gdb.python/py-value-cc.cc: Likewise
12115 * gdb.python/py-type.exp: Add new tests.
12116 * gdb.python/py-value-cc.exp: Likewise
12117
12118 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
12119 Pedro Alves <palves@redhat.com>
12120
12121 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
12122 Make "name" extern.
12123 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
12124 references to ${name}_start by references to ${name}.
12125
12126 2014-01-10 Joel Brobecker <brobecker@adacore.com>
12127
12128 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
12129
12130 2014-01-10 Joel Brobecker <brobecker@adacore.com>
12131
12132 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
12133
12134 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
12135 Pedro Alves <palves@redhat.com>
12136
12137 * gdb.mi/mi-info-os.exp: Connect to the target with
12138 mi_gdb_target_load.
12139
12140 2014-01-08 Pedro Alves <palves@redhat.com>
12141
12142 * gdb.threads/reconnect-signal.c: New file.
12143 * gdb.threads/reconnect-signal.exp: New file.
12144
12145 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
12146
12147 * gdb.base/source-dir.exp: New file.
12148
12149 2014-01-07 Joel Brobecker <brobecker@adacore.com>
12150
12151 * gdb.ada/mi_interface: New testcase.
12152
12153 2014-01-07 Joel Brobecker <brobecker@adacore.com>
12154
12155 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
12156 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
12157 gdb.ada/pp-rec-component/pck.ads: New files.
12158
12159 2014-01-07 Joel Brobecker <brobecker@adacore.com>
12160
12161 * gdb.python/py-pp-integral.c: New file.
12162 * gdb.python/py-pp-integral.py: New file.
12163 * gdb.python/py-pp-integral.exp: New file.
12164
12165 For older changes see ChangeLog-1993-2013.
12166 \f
12167 ;; Local Variables:
12168 ;; mode: change-log
12169 ;; left-margin: 8
12170 ;; fill-column: 74
12171 ;; version-control: never
12172 ;; End:
12173
12174 Copyright 2014-2017 Free Software Foundation, Inc.
12175 Copying and distribution of this file, with or without modification,
12176 are permitted provided the copyright notice and this notice are preserved.
This page took 0.265616 seconds and 5 git commands to generate.