296878c33f24c9aa104324f41496fc184594abb5
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2017-10-02 Tom Tromey <tom@tromey.com>
2
3 * gdb.rust/simple.exp: Test ptype of a slice.
4
5 2017-10-02 Tom Tromey <tom@tromey.com>
6
7 * gdb.rust/simple.exp: Test index of slice.
8
9 2017-09-27 Tom Tromey <tom@tromey.com>
10
11 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
12
13 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
14 Pedro Alves <palves@redhat.com>
15
16 * gdb.base/compare-sections.exp (get value of read-only section): Read
17 as unsigned value.
18 (corrupt read-only section): Likewise and don't set written if patching
19 failed.
20
21 2017-09-21 Kevin Buettner <kevinb@redhat.com>
22
23 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
24 files.
25
26 2017-09-20 Pedro Alves <palves@redhat.com>
27
28 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
29 symbol names in gdb's output.
30 * gdb.cp/overload.exp ("list all overloads"): Likewise.
31
32 2017-09-20 Pedro Alves <palves@redhat.com>
33
34 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
35 Rename to ...
36 (test_list_ambiguous_symbol): ... this and add a symbol name
37 parameter. Adjust.
38 (test_list_ambiguous_function): Reimplement on top of
39 test_list_ambiguous_symbol and also test listing ambiguous
40 variables.
41 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
42 (ambiguous_fun): ... this.
43 (ambiguous_var): New.
44 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
45 (ambiguous_fun): ... this.
46 (ambiguous_var): New.
47
48 2017-09-19 John Baldwin <jhb@FreeBSD.org>
49
50 * gdb.base/starti.c: New file.
51 * gdb.base/starti.exp: New file.
52 * lib/gdb.exp (gdb_starti_cmd): New procedure.
53
54 2017-09-14 Pedro Alves <palves@redhat.com>
55
56 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
57 (top level): Use it instead of runto.
58
59 2017-09-11 Tom Tromey <tom@tromey.com>
60
61 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
62
63 2017-09-11 Tom Tromey <tom@tromey.com>
64
65 * gdb.python/py-infthread.exp: Add tests for new_thread event.
66 * gdb.python/py-inferior.exp: Add tests for new inferior events.
67
68 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
69
70 * gdb.fortran/printing-types.exp: New file.
71 * gdb.fortran/printing-types.exp: New file.
72
73 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
74
75 * gdb.fortran/vla-ptype.exp: Fix typos.
76 * gdb.fortran/vla-value.exp: Same.
77
78 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
79
80 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
81 * gdb.mi/mi-var-child-f.exp: Likewise.
82 * gdb.mi/mi-vla-fortran.exp: Likewise.
83
84 2017-09-08 Frank Penczek <frank.penczek@intel.com>
85 Christoph Weinmann <christoph.t.weinmann@intel.com>
86 Bernhard Heckel <bernhard.heckel@intel.com>
87
88 * gdb.fortran/ptr-indentation.f90: New file.
89 * gdb.fortran/ptr-indentation.exp: New file.
90
91 2017-09-05 Tom Tromey <tom@tromey.com>
92
93 PR gdb/22010:
94 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
95
96 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
97
98 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
99
100 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
101
102 * gdb.threads/tls-nodebug-pie.c: New file.
103 * gdb.threads/tls-nodebug-pie.exp: New file.
104
105 2017-09-05 Tom Tromey <tom@tromey.com>
106
107 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
108 for rust.
109
110 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
111
112 * gdb.multi/multi-arch-exec.exp: Test with different
113 "follow-exec-mode" settings.
114 (do_test): New procedure.
115
116 2017-09-04 Pedro Alves <palves@redhat.com>
117
118 * gdb.base/func-static.c (S::method const, S::method volatile)
119 (S::method volatile const): New methods.
120 (c_s, v_s, cv_s): New instances.
121 (main): Call method() on them.
122 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
123 (cannot_resolve): New procedure.
124 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
125 print-quote-unquoted columns.
126 (do_test): Test printing each scope too.
127
128 2017-09-04 Pedro Alves <palves@redhat.com>
129
130 * gdb.base/local-static.exp: Also test with
131 class::method::variable wholly quoted.
132 * gdb.cp/m-static.exp (class::method::variable): Remove test.
133
134 2017-09-04 Pedro Alves <palves@redhat.com>
135
136 * gdb.base/local-static.c: New.
137 * gdb.base/local-static.cc: New.
138 * gdb.base/local-static.exp: New.
139
140 2017-09-04 Pedro Alves <palves@redhat.com>
141
142 * gdb.asm/asm-source.exp: Add casts to int.
143 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
144 (dataglobal64_1, dataglobal64_2): New globals.
145 * gdb.base/nodebug.exp: Test different expressions involving the
146 new globals, with print, whatis and ptype. Add casts to int.
147 * gdb.base/solib-display.exp: Add casts to int.
148 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
149 * gdb.cp/m-static.exp: Add cast to int.
150 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
151 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
152 tls variable with no debug info without a cast. Test with a cast
153 to int too.
154 * gdb.trace/entry-values.exp: Add casts.
155
156 2017-09-04 Pedro Alves <palves@redhat.com>
157
158 * gdb.base/nodebug.exp: Test that ptype's error about functions
159 with unknown return type includes the function name too.
160
161 2017-09-04 Pedro Alves <palves@redhat.com>
162
163 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
164 return type of munmap in infcall.
165 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
166 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
167 type of ftell in infcall.
168 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
169 type of getpid in infcall.
170 * gdb.base/infcall-exec.exp: Cast return type of execlp in
171 infcall.
172 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
173 Bail on failure to extract the pid.
174 * gdb.base/nodebug.c: #include <stdint.h>.
175 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
176 New functions.
177 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
178 Change expected output of print/whatis/ptype with functions with
179 no debug info. Test all supported languages. Call
180 test_call_promotion.
181 * gdb.compile/compile.exp: Adjust expected output to expect
182 warning.
183 * gdb.threads/siginfo-threads.exp: Likewise.
184
185 2017-09-04 Pedro Alves <palves@redhat.com>
186
187 * gdb.base/callfuncs.exp (do_function_calls): New parameter
188 "prototypes". Test calling float functions via prototyped and
189 unprototyped function pointers.
190 (perform_all_tests): New parameter "prototypes". Pass it down.
191 (top level): Pass down "prototypes" parameter to
192 perform_all_tests.
193
194 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
195
196 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
197 Test with nested loops.
198
199 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
200
201 * gdb.base/commands.exp: Call the new procedures.
202 (loop_break_test, loop_continue_test): New procedures.
203
204 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
205
206 * gdb.base/commands.exp: Call new procedure.
207 (define_if_without_arg_test): New procedure.
208
209 2017-09-04 Pedro Alves <palves@redhat.com>
210
211 * gdb.base/list-ambiguous.exp: New file.
212 * gdb.base/list-ambiguous0.c: New file.
213 * gdb.base/list-ambiguous1.c: New file.
214 * gdb.base/list.exp (test_list_range): Adjust expected output.
215
216 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
217
218 * gdb.base/share-env-with-gdbserver.c: New file.
219 * gdb.base/share-env-with-gdbserver.exp: Likewise.
220
221 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
222
223 * gdb.base/commands.exp (gdbvar_simple_if_test,
224 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
225 progvar_simple_if_test, progvar_simple_while_test,
226 progvar_complex_if_while_test, user_defined_command_test,
227 user_defined_command_args_eval,
228 user_defined_command_args_stack_test,
229 user_defined_command_manyargs_test, bp_deleted_in_command_test,
230 temporary_breakpoint_commands,
231 gdb_test_no_prompt, redefine_hook_test,
232 redefine_backtrace_test): Remove "global gdb_prompt".
233
234 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
235
236 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
237 New proc, call it from toplevel.
238
239 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
240
241 PR remote/21852
242 * gdb.server/normal.c: New file, copied from gdb.base.
243 * gdb.server/run-without-local-binary.exp: New file.
244
245 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
246
247 * gdb.arch/sparc64-adi.exp: New file.
248 * gdb.arch/sparc64-adi.c: New file.
249
250 2017-08-22 Pedro Alves <palves@redhat.com>
251
252 * gdb.cp/overload.exp (line_range_pattern): New procedure.
253 (top level): Add "list all overloads" tests.
254
255 2017-08-22 Tom Tromey <tom@tromey.com>
256
257 * gdb.gdb/xfullpath.exp: Remove.
258
259 2017-08-21 Pedro Alves <palves@redhat.com>
260
261 PR gdb/19487
262 * gdb.base/symbol-alias.c: New.
263 * gdb.base/symbol-alias2.c: New.
264 * gdb.base/symbol-alias.exp: New.
265
266 2017-08-21 Pedro Alves <palves@redhat.com>
267
268 * gdb.base/dfp-test.c
269 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
270 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
271 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
272 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
273 * gdb.base/whatis-ptype-typedefs.c: New.
274 * gdb.base/whatis-ptype-typedefs.exp: New.
275 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
276 (an_int, an_int_type, an_int_type2): New globals.
277 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
278 involving typedefs and cast expressions.
279 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
280 (lookup_typedefs_function): New.
281 (typedefs_pretty_printers_dict): New.
282 (top level): Register lookup_typedefs_function in
283 gdb.pretty_printers.
284
285 2017-08-18 Yao Qi <yao.qi@linaro.org>
286
287 * gdb.server/unittest.exp: New.
288
289 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
290
291 PR gdb/21954
292 * gdb.base/environ.exp: Add test to check if 'unset environment'
293 works.
294
295 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
296
297 * lib/gdb.exp (universal_compile_options): New caching proc.
298 (gdb_compile): Suppress GCC's coloring of messages.
299
300 2017-08-14 Tom Tromey <tom@tromey.com>
301
302 PR gdb/21675:
303 * gdb.base/printcmds.exp (test_radices): New function.
304 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
305 * gdb.base/sizeof.exp (check_valueof): Use p/d.
306 * lib/gdb.exp (get_integer_valueof): Use p/d.
307
308 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
309
310 * lib/gdb.exp (get_valueof): Don't capture end-of-line
311 characters.
312
313 2017-08-05 Tom Tromey <tom@tromey.com>
314
315 * gdb.rust/simple.exp: Allow String to appear in a different
316 namespace.
317
318 2017-07-26 Yao Qi <yao.qi@linaro.org>
319
320 * gdb.gdb/unittest.exp: Invoke command
321 "maintenance check xml-descriptions".
322
323 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
324
325 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
326 calling context.
327 (hex128): Drop erroneous calculation of parameters.
328
329 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
330
331 * gdb.python/py-unwind.exp: Disable stack protection when
332 building test file.
333
334 2017-07-20 Pedro Alves <palves@redhat.com>
335
336 * gdb.base/default.exp (set language): Adjust expected output.
337
338 2017-07-20 Pedro Alves <palves@redhat.com>
339
340 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
341 (test_minsym): ... this, and make static.
342 (get_pck__foo__bar__minsym): Rename to ...
343 (get_test_minsym): ... this.
344 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
345 symbol names and comments.
346 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
347 (get_test_minsym): ... this.
348 (pck__foo__bar__minsym__2): Rename to ...
349 (test_minsym): ... this.
350 (main): Adjust.
351
352 2017-07-17 Pedro Alves <palves@redhat.com>
353
354 * gdb.base/completion.exp: Adjust expected output.
355 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
356 the completer works.
357
358 2017-07-17 Pedro Alves <palves@redhat.com>
359
360 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
361
362 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
363
364 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
365
366 2017-07-14 Tom Tromey <tom@tromey.com>
367
368 PR rust/21764:
369 * gdb.rust/simple.exp: Add tests.
370
371 2017-07-14 Tom Tromey <tom@tromey.com>
372
373 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
374
375 2017-07-14 Pedro Alves <palves@redhat.com>
376
377 * gdb.linespec/base/one/thefile.cc (z1): New function.
378 * gdb.linespec/base/two/thefile.cc (z2): New function.
379 * gdb.linespec/linespec.exp: Add tests.
380
381 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
382
383 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
384 to mi_create_breakpoint.
385
386 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
387
388 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
389 mi_create_breakpoint.
390
391 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
392
393 * gdb.dlang/demangle.exp: Update for demangling changes.
394
395 2017-07-09 Tom Tromey <tom@tromey.com>
396
397 * gdb.dwarf2/shortpiece.exp: New file.
398
399 2017-07-06 David Blaikie <dblaikie@gmail.com>
400
401 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
402 built from fissiont-multi-cu{1,2}.c.
403 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
404 except putting 'main' and 'func' in separate CUs in the same DWO file.
405 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
406 test.
407 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
408 test.
409
410 2017-07-06 Pedro Alves <palves@redhat.com>
411
412 * gdb.python/py-unwind.exp: Test flushregs.
413
414 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
415
416 PR cli/21688
417 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
418 tests for alias commands and trailing whitespace.
419
420 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
421
422 PR cli/21688
423 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
424 procedure. Call it.
425
426 2017-06-29 Pedro Alves <palves@redhat.com>
427
428 * gdb.base/printcmds.exp: Add tests.
429
430 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
431
432 PR gdb/21337
433 * gdb.base/reread-readsym.exp: New file.
434 * gdb.base/reread-readsym.c: New file.
435
436 2017-06-21 Kevin Buettner <kevinb@redhat.com>
437
438 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
439 subpattern.
440
441 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
442
443 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
444 extended mnemonic.
445 * gdb.arch/powerpc-power9.s: Likewise.
446
447 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
448
449 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
450 on 32-bit x86 targets. Exploit is_*_target macros where
451 appropriate.
452
453 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
454
455 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
456 register pieces.
457
458 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
459
460 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
461 located in one or more DWARF pieces.
462
463 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
464
465 * lib/gdb.exp (get_endianness): New proc.
466 * gdb.arch/aarch64-fp.exp: Use it.
467 * gdb.arch/altivec-regs.exp: Likewise.
468 * gdb.arch/e500-regs.exp: Likewise.
469 * gdb.arch/vsx-regs.exp: Likewise.
470 * gdb.base/dump.exp: Likewise.
471 * gdb.base/funcargs.exp: Likewise.
472 * gdb.base/gnu_vector.exp: Likewise.
473 * gdb.dwarf2/formdata16.exp: Likewise.
474 * gdb.dwarf2/implptrpiece.exp: Likewise.
475 * gdb.dwarf2/nonvar-access.exp: Likewise.
476 * gdb.python/py-inferior.exp: Likewise.
477 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
478
479 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
480
481 PR gdb/21226
482 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
483 stack value pieces are taken from the LSB end.
484
485 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
486
487 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
488 variable at nonzero offset.
489
490 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
491
492 * gdb.dwarf2/var-access.c: New file.
493 * gdb.dwarf2/var-access.exp: New test.
494 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
495
496 2017-06-12 Tom Tromey <tom@tromey.com>
497
498 * gdb.dwarf2/formdata16.exp: Add tests.
499
500 2017-06-12 Tom Tromey <tom@tromey.com>
501
502 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
503
504 2017-06-12 Tom Tromey <tom@tromey.com>
505
506 PR exp/16225:
507 * gdb.reverse/i386-sse-reverse.exp: Update tests.
508 * gdb.arch/vsx-regs.exp: Update tests.
509 * gdb.arch/s390-vregs.exp (hex128): New proc.
510 Update test.
511 * gdb.arch/altivec-regs.exp: Update tests.
512
513 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
514
515 * gdb.base/startup-with-shell.c: New file.
516 * gdb.base/startup-with-shell.exp: Likewise.
517
518 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
519
520 * gdb.server/non-existing-program.exp: Update regex in order to
521 reflect the fact that gdbserver is now using fork_inferior (with a
522 shell) to startup the inferior.
523
524 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
525
526 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
527 support function calls from GDB.
528
529 2017-05-21 Tom Tromey <tom@tromey.com>
530
531 PR rust/21466:
532 * gdb.rust/unsized.exp: New file.
533 * gdb.rust/unsized.rs: New file.
534
535 2017-05-19 Tom Tromey <tom@tromey.com>
536
537 PR rust/21484:
538 * gdb.rust/watch.exp: New file.
539 * gdb.rust/watch.rs: New file.
540
541 2017-05-18 Tom Tromey <tom@tromey.com>
542
543 * gdb.rust/simple.exp: Allow Box to be qualified.
544
545 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
546
547 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
548
549 2017-05-18 Pedro Alves <palves@redhat.com>
550
551 * gdb.base/fileio.c (test_write, test_read, test_close)
552 (test_fstat): Don't print 'ret' in the fail path.
553
554 2017-05-18 Pedro Alves <palves@redhat.com>
555
556 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
557 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
558 (test_system, test_rename, test_unlink, test_time): Change
559 prototypes.
560 * gdb.base/fileio.exp (stop_msg): Adjust.
561
562 2017-05-18 Pedro Alves <palves@redhat.com>
563
564 * gdb.base/fileio.c (null_str): New global.
565 (test_stat): Use it.
566 * gdb.base/fileio.exp: Remove nowarnings.
567
568 2017-05-17 Yao Qi <yao.qi@linaro.org>
569
570 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
571
572 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
573
574 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
575 argument command.
576 (top-level): Invoke test_set_inferior_tty.
577
578 2017-05-04 Pedro Alves <palves@redhat.com>
579
580 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
581 Add parens to print call for Python 3.
582
583 2017-05-03 Keith Seitz <keiths@redhat.com>
584
585 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
586 (main): Call it.
587
588 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
589
590 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
591 to prev and next.
592
593 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
594
595 * gdb.python/py-record-btrace.exp: Remove test for
596 gdb.BtraceInstruction.error.
597
598 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
599
600 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
601
602 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
603
604 * gdb.python/py-record-btrace-threads.c: New file.
605 * gdb.python/py-record-btrace-threads.exp: New file.
606
607 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
608
609 PR testsuite/8595
610 * gdb.base/environ.exp: Make test available in all architectures.
611 Move bits related to "info program" testing to
612 gdb.base/info-program.exp. Rewrite tests to use the two new
613 procedures mentione below.
614 (test_set_show_env_var) New procedure.
615 (test_set_show_env_var_equal): Likewise.
616 * gdb.base/info-program.exp: New file.
617
618 2017-04-27 Keith Seitz <keiths@redhat.com>
619
620 * gdb.cp/oranking.cc (test15): New function.
621 (main): Call test15 and declare additional variables for testing.
622 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
623 "p foo101('abc')" tests.
624 Add tests for cv qualifier overloads.
625 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
626 "lvalue reference overload" test.
627 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
628 "print value of f1 on Child&& in f2" test.
629
630 2017-04-19 Pedro Alves <palves@redhat.com>
631
632 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
633 procedure.
634 (top level): Call it.
635 * lib/gdb.exp (gdb_define_cmd): New procedure.
636
637 2017-04-12 Pedro Alves <palves@redhat.com>
638
639 PR gdb/21323
640 * gdb.cp/wide_char_types.c: Include <wchar.h>.
641 (wchar): New global.
642 * gdb.cp/wide_char_types.exp (wide_char_types_program)
643 (do_test_wide_char, wide_char_types_no_program, top level): Add
644 wchar_t testing.
645
646 2017-04-12 Pedro Alves <palves@redhat.com>
647
648 PR c++/21323
649 * gdb.cp/wide_char_types.c: New file.
650 * gdb.cp/wide_char_types.exp: New file.
651
652 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
653
654 PR gdb/21352
655 * gdb.trace/tsv.exp: Add test for "tsave -r".
656
657 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
658
659 * gdb.dlang/watch-loc.c: New file.
660 * gdb.dlang/watch-loc.exp: New file.
661
662 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
663
664 * gdb.python/py-section-script.exp (sepdebug): New testcases.
665
666 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
667
668 * gdb.arch/arc-analyze-prologue.S: New file.
669 * gdb.arch/arc-analyze-prologue.exp: Likewise.
670
671 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
672
673 * gdb.arch/arc-decode-insn.S: New file.
674 * gdb.arch/arc-decode-insn.exp: Likewise.
675
676 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
677
678 PR tdep/20928
679 * gdb.arch/sparc64-regs.exp: New file.
680 * gdb.arch/sparc64-regs.S: Likewise.
681
682 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
683
684 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
685 and memory view on Python 3.
686
687 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
688 Keith Seitz <keiths@redhat.com>
689
690 PR gdb/14441
691 * gdb.cp/demangle.exp: Add rvalue reference tests.
692 * gdb.cp/rvalue-ref-casts.cc: New file.
693 * gdb.cp/rvalue-ref-casts.exp: New file.
694 * gdb.cp/rvalue-ref-overload.cc: New file.
695 * gdb.cp/rvalue-ref-overload.exp: New file.
696 * gdb.cp/rvalue-ref-params.cc: New file.
697 * gdb.cp/rvalue-ref-params.exp: New file.
698 * gdb.cp/rvalue-ref-sizeof.cc: New file.
699 * gdb.cp/rvalue-ref-sizeof.exp: New file.
700 * gdb.cp/rvalue-ref-types.cc: New file.
701 * gdb.cp/rvalue-ref-types.exp: New file.
702 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
703 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
704
705 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
706
707 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
708 New procedure.
709
710 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
711
712 * lib/mi-support.exp (mi_gdb_test): Add additional message
713 for unexpected output.
714
715 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
716
717 * gdb.base/examine-backward.c (Barrier): New character array
718 constant, to ensure that TestStrings is preceded by a string
719 terminator.
720
721 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
722
723 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
724 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
725 and implicit pointer into such a location.
726
727 2017-03-16 Doug Evans <dje@google.com>
728
729 * gdb.python/py-lazy-string (pointer): Really add new typedef.
730
731 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
732
733 * gdb.cp/m-static.exp: Fix expectation for prototype of
734 test5.single_constructor and single_constructor::single_constructor.
735
736 2017-03-16 Doug Evans <dje@google.com>
737
738 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
739 * gdb.guile/scm-lazy-string.c: New file.
740 * gdb.guile/scm-value.exp: Move lazy string tests to ...
741 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
742 for pointer, array, typedef lazy strings.
743
744 2017-03-16 Doug Evans <dje@google.com>
745
746 PR python/17728, python/18439, python/18779
747 * gdb.python/py-value.c (main) Delete locals sptr, sn.
748 * gdb.python/py-lazy-string.c (pointer): New typedef.
749 (main): New locals ptr, array, typedef_ptr.
750 * gdb.python/py-value.exp: Move lazy string tests to ...
751 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
752 array, typedef lazy strings.
753
754 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
755
756 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
757 Add optional 'test' parameter.
758
759 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
760
761 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
762 Skip for versions of DejaGnu < 1.5.
763
764 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
765
766 * lib/gdb.exp (dejagnu_version): New proc.
767 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
768 Use dejagnu_version.
769
770 2017-03-10 Keith Seitz <keiths@redhat.com>
771
772 PR c++/8128
773 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
774 type from destructor regexps.
775 Add a branch which actually passes the test.
776 Adjust "ptype t5i" test names.
777
778 2017-03-08 Pedro Alves <palves@redhat.com>
779
780 * gdb.base/step-over-exit.exp: Add explicit test message.
781
782 2017-03-08 Pedro Alves <palves@redhat.com>
783
784 PR gdb/18360
785 * gdb.threads/interrupt-while-step-over.c: New file.
786 * gdb.threads/interrupt-while-step-over.exp: New file.
787
788 2017-03-08 Pedro Alves <palves@redhat.com>
789
790 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
791 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
792
793 2017-03-08 Pedro Alves <palves@redhat.com>
794
795 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
796 PKRU as not supported as a PASS.
797
798 2017-03-08 Pedro Alves <palves@redhat.com>
799
800 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
801 prefix instead of $binfile1/$binfile2.
802 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
803 in test message.
804 * gdb.python/py-completion.exp: Use "load python file" as test
805 messages instead of unstable path names.
806
807 2017-03-08 Pedro Alves <palves@redhat.com>
808 Jan Kratochvil <jan.kratochvil@redhat.com>
809
810 PR cli/21218
811 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
812 New proc.
813 (top level): Call it.
814
815 2017-03-08 Pedro Alves <palves@redhat.com>
816
817 PR tui/21216
818 * gdb.tui/tui-nl-filtered-output.exp: New file.
819
820 2017-03-08 Pedro Alves <palves@redhat.com>
821
822 * gdb.base/completion.exp: Move TUI completion tests to ...
823 * gdb.tui/completion.exp: ... this new file.
824
825 2017-03-08 Pedro Alves <palves@redhat.com>
826
827 * gdb.base/tui-disasm-long-lines.c,
828 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
829 gdb.base/tui-layout.exp: Move to ...
830 * gdb.tui/: ... this new directory.
831
832 2017-03-07 Pedro Alves <palves@redhat.com>
833
834 * gdb.base/tui-layout.c: New file.
835 * gdb.base/tui-layout.exp: New file.
836
837 2017-03-07 Pedro Alves <palves@redhat.com>
838
839 * gdb.base/tui-layout.c: Rename to ...
840 * gdb.base/tui-disasm-long-lines.c: ... this.
841 * gdb.base/tui-layout.exp: Rename to ...
842 * gdb.base/tui-disasm-long-lines.exp: ... this.
843
844 2017-03-07 Pedro Alves <palves@redhat.com>
845
846 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
847
848 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
849
850 * i386-mpx-call.c: New file.
851 * i386-mpx-call.exp: New file.
852
853 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
854
855 * gdb.arch/powerpc-power.exp: Delete test.
856 * gdb.arch/powerpc-power.s: Likewise.
857 * gdb.disasm/disassembler-options.exp: New test.
858 * gdb.arch/powerpc-altivec.exp: Likewise.
859 * gdb.arch/powerpc-altivec.s: Likewise.
860 * gdb.arch/powerpc-altivec2.exp: Likewise.
861 * gdb.arch/powerpc-altivec2.s: Likewise.
862 * gdb.arch/powerpc-altivec3.exp: Likewise.
863 * gdb.arch/powerpc-altivec3.s: Likewise.
864 * gdb.arch/powerpc-power7.exp: Likewise.
865 * gdb.arch/powerpc-power7.s: Likewise.
866 * gdb.arch/powerpc-power8.exp: Likewise.
867 * gdb.arch/powerpc-power8.s: Likewise.
868 * gdb.arch/powerpc-power9.exp: Likewise.
869 * gdb.arch/powerpc-power9.s: Likewise.
870 * gdb.arch/powerpc-vsx.exp: Likewise.
871 * gdb.arch/powerpc-vsx.s: Likewise.
872 * gdb.arch/powerpc-vsx2.exp: Likewise.
873 * gdb.arch/powerpc-vsx2.s: Likewise.
874 * gdb.arch/powerpc-vsx3.exp: Likewise.
875 * gdb.arch/powerpc-vsx3.s: Likewise.
876 * gdb.arch/arm-disassembler-options.exp: Likewise.
877 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
878 * gdb.arch/s390-disassembler-options.exp: Likewise.
879
880 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
881
882 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
883 (check_supported_features): ... this. Changed return type to void.
884 (supports_rdseed): New static global.
885 (rdseed): Check supports_rdseed.
886 (initialize): Call check_supported_features.
887
888 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
889
890 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
891 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
892 and lqarx/stqcx.
893 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
894 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
895
896 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
897
898 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
899 uppercase.
900
901 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
902
903 * gdb.dwarf2/formdata16.c: New file.
904 * gdb.dwarf2/formdata16.exp: New file.
905 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
906
907 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
908
909 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
910 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
911 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
912 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
913 DW_AT_GNU_*.
914
915 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
916
917 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
918
919 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
920
921 PR gdb/21164
922 * gdb.base/maint.exp: Add testcases for when the commands do
923 not have arguments.
924
925 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
926
927 * gdb.cp/chained-calls.exp: Use p instead of P.
928
929 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
930
931 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
932 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
933
934 2017-02-14 Tom Tromey <tom@tromey.com>
935
936 PR python/13598:
937 * gdb.python/py-events.exp: Add before_prompt event tests.
938
939 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
940
941 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
942
943 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
944
945 * gdb.linespec/explicit.c (my_unique_function_name): New function.
946 (main): Call my_unique_function_name.
947 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
948 completion of patterns with a single match.
949 Add missing -re switches to gdb_test_multiple calls.
950
951 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
952
953 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
954 return if core file is not recognized.
955
956 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
957
958 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
959 and extra UIs.
960
961 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
962
963 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
964 proc_with_prefix.
965
966 2017-02-10 Tom Tromey <tom@tromey.com>
967
968 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
969
970 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
971
972 PR gdb/21122
973 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
974
975 2017-02-08 Jerome Guitton <guitton@adacore.com>
976
977 * gdb.base/define.exp: Add test for command abbreviations
978 in define.
979
980 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
981
982 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
983 * gdb.reverse/insn-reverse-x86.c: New file.
984
985 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
986
987 PR tdep/20936
988 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
989
990 2017-02-03 Tom Tromey <tom@tromey.com>
991
992 PR rust/21097:
993 * gdb.rust/simple.exp: Add new tests.
994
995 2017-02-02 Pedro Alves <palves@redhat.com>
996
997 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
998 tests.
999
1000 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1001
1002 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
1003 taking a 2-byte value out of a 4-byte DWARF implicit value on
1004 big-endian targets.
1005 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
1006 logic. Add test cases for DW_OP_implicit.
1007
1008 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
1009
1010 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
1011
1012 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
1013
1014 * gdb.btrace/enable.exp: Call gdb_exit before
1015 skip_gdbserver_tests.
1016
1017 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
1018
1019 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
1020 GDBFLAGS.
1021
1022 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
1023
1024 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
1025 the test is skipped.
1026 * gdb.btrace/data.exp: Likewise.
1027 * gdb.btrace/delta.exp: Likewise.
1028 * gdb.btrace/dlopen.exp: Likewise.
1029 * gdb.btrace/enable-running.exp: Likewise.
1030 * gdb.btrace/enable.exp: Likewise.
1031 * gdb.btrace/exception.exp: Likewise.
1032 * gdb.btrace/function_call_history.exp: Likewise.
1033 * gdb.btrace/gcore.exp: Likewise.
1034 * gdb.btrace/instruction_history.exp: Likewise.
1035 * gdb.btrace/multi-thread-step.exp: Likewise.
1036 * gdb.btrace/nohist.exp: Likewise.
1037 * gdb.btrace/non-stop.exp: Likewise.
1038 * gdb.btrace/reconnect.exp: Likewise.
1039 * gdb.btrace/record_goto-step.exp: Likewise.
1040 * gdb.btrace/record_goto.exp: Likewise.
1041 * gdb.btrace/rn-dl-bind.exp: Likewise.
1042 * gdb.btrace/segv.exp: Likewise.
1043 * gdb.btrace/step.exp: Likewise.
1044 * gdb.btrace/stepi.exp: Likewise.
1045 * gdb.btrace/tailcall-only.exp: Likewise.
1046 * gdb.btrace/tailcall.exp: Likewise.
1047 * gdb.btrace/tsx.exp: Likewise.
1048 * gdb.btrace/unknown_functions.exp: Likewise.
1049 * gdb.btrace/vdso.exp: Likewise.
1050
1051 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
1052
1053 * gdb.btrace/enable-running.c: New.
1054 * gdb.btrace/enable-running.exp: New.
1055
1056 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
1057
1058 * gdb.arch/amd64-gs_base.c: New file.
1059 * gdb.arch/amd64-gs_base.exp: New file.
1060
1061 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
1062
1063 * lib/memory.exp: Remove spurious empty newlines.
1064
1065 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
1066
1067 * gdb.python/py-bad-printers.exp: Load python file using "source".
1068 * gdb.python/py-events.exp: Likewise.
1069 * gdb.python/py-evsignal.exp: Likewise.
1070 * gdb.python/py-evthreads.exp: Likewise.
1071 * gdb.python/py-frame-args.exp: Likewise.
1072 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
1073 * gdb.python/py-framefilter-mi.exp: Likewise.
1074 * gdb.python/py-framefilter.exp: Likewise.
1075 * gdb.python/py-mi.exp: Likewise.
1076 * gdb.python/py-pp-maint.exp: Likewise.
1077 * gdb.python/py-pp-registration.exp: Likewise.
1078 * gdb.python/py-prettyprint.exp: Likewise.
1079 (run_lang_tests): Likewise.
1080 * gdb.python/py-typeprint.exp: Likewise.
1081
1082 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
1083
1084 * lib/memory.exp: New file.
1085 * lib/gdb.exp: Load memory.exp.
1086 * gdb.base/memattr.exp (delete_memory): Move proc to
1087 lib/memory.exp and rename to delete_memory_regions.
1088 Replace delete_memory with delete_memory_regions.
1089 Cleanup memory regions before tests.
1090 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
1091 before tests.
1092
1093 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
1094
1095 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
1096 files.
1097 (initialize): New function conditionally defined.
1098 (testcases): Move within conditional block.
1099 (main): Call initialize.
1100 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
1101 of gdb.reverse/insn-reverse.c.
1102 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
1103 gdb.reverse/insn-reverse.c.
1104
1105 2017-01-26 Yao Qi <yao.qi@linaro.org>
1106
1107 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
1108 disassemble on address 0.
1109
1110 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
1111 Yao Qi <yao.qi@linaro.org>
1112
1113 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
1114 * gdb.dwarf2/implptr-64bit.S: Remove.
1115 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
1116 variables in caller's context. Add DW_OP_implicit_value.
1117
1118 2017-01-25 Yao Qi <yao.qi@linaro.org>
1119
1120 * lib/dwarf.exp (Dwarf::_location): Handle
1121 DW_OP_GNU_implicit_pointer with proper size.
1122
1123 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
1124
1125 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
1126 and add untested calls.
1127
1128 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
1129
1130 * gdb.python/python.exp: Check line number against what GDB thinks
1131 the line number is for func1.
1132
1133 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
1134
1135 * gdb.dlang/debug-expr.exp: New file.
1136
1137 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
1138
1139 Fix test names for the following files:
1140
1141 * gdb.ada/exec_changed.exp
1142 * gdb.ada/info_types.exp
1143 * gdb.arch/aarch64-atomic-inst.exp
1144 * gdb.arch/aarch64-fp.exp
1145 * gdb.arch/altivec-abi.exp
1146 * gdb.arch/altivec-regs.exp
1147 * gdb.arch/amd64-byte.exp
1148 * gdb.arch/amd64-disp-step.exp
1149 * gdb.arch/amd64-dword.exp
1150 * gdb.arch/amd64-entry-value-inline.exp
1151 * gdb.arch/amd64-entry-value-param.exp
1152 * gdb.arch/amd64-entry-value-paramref.exp
1153 * gdb.arch/amd64-entry-value.exp
1154 * gdb.arch/amd64-i386-address.exp
1155 * gdb.arch/amd64-invalid-stack-middle.exp
1156 * gdb.arch/amd64-invalid-stack-top.exp
1157 * gdb.arch/amd64-optimout-repeat.exp
1158 * gdb.arch/amd64-prologue-skip.exp
1159 * gdb.arch/amd64-prologue-xmm.exp
1160 * gdb.arch/amd64-stap-special-operands.exp
1161 * gdb.arch/amd64-stap-wrong-subexp.exp
1162 * gdb.arch/amd64-tailcall-cxx.exp
1163 * gdb.arch/amd64-tailcall-noret.exp
1164 * gdb.arch/amd64-tailcall-ret.exp
1165 * gdb.arch/amd64-tailcall-self.exp
1166 * gdb.arch/amd64-word.exp
1167 * gdb.arch/arm-bl-branch-dest.exp
1168 * gdb.arch/arm-disp-step.exp
1169 * gdb.arch/arm-neon.exp
1170 * gdb.arch/arm-single-step-kernel-helper.exp
1171 * gdb.arch/avr-flash-qualifier.exp
1172 * gdb.arch/disp-step-insn-reloc.exp
1173 * gdb.arch/e500-abi.exp
1174 * gdb.arch/e500-regs.exp
1175 * gdb.arch/ftrace-insn-reloc.exp
1176 * gdb.arch/i386-avx512.exp
1177 * gdb.arch/i386-bp_permanent.exp
1178 * gdb.arch/i386-byte.exp
1179 * gdb.arch/i386-cfi-notcurrent.exp
1180 * gdb.arch/i386-disp-step.exp
1181 * gdb.arch/i386-dr3-watch.exp
1182 * gdb.arch/i386-float.exp
1183 * gdb.arch/i386-gnu-cfi.exp
1184 * gdb.arch/i386-mpx-map.exp
1185 * gdb.arch/i386-mpx-sigsegv.exp
1186 * gdb.arch/i386-mpx-simple_segv.exp
1187 * gdb.arch/i386-mpx.exp
1188 * gdb.arch/i386-permbkpt.exp
1189 * gdb.arch/i386-prologue.exp
1190 * gdb.arch/i386-signal.exp
1191 * gdb.arch/i386-size-overlap.exp
1192 * gdb.arch/i386-unwind.exp
1193 * gdb.arch/i386-word.exp
1194 * gdb.arch/mips-fcr.exp
1195 * gdb.arch/powerpc-d128-regs.exp
1196 * gdb.arch/powerpc-stackless.exp
1197 * gdb.arch/ppc64-atomic-inst.exp
1198 * gdb.arch/s390-stackless.exp
1199 * gdb.arch/s390-tdbregs.exp
1200 * gdb.arch/s390-vregs.exp
1201 * gdb.arch/sparc-sysstep.exp
1202 * gdb.arch/thumb-bx-pc.exp
1203 * gdb.arch/thumb-singlestep.exp
1204 * gdb.arch/thumb2-it.exp
1205 * gdb.arch/vsx-regs.exp
1206 * gdb.asm/asm-source.exp
1207 * gdb.base/a2-run.exp
1208 * gdb.base/advance.exp
1209 * gdb.base/all-bin.exp
1210 * gdb.base/anon.exp
1211 * gdb.base/args.exp
1212 * gdb.base/arithmet.exp
1213 * gdb.base/async-shell.exp
1214 * gdb.base/async.exp
1215 * gdb.base/attach-pie-noexec.exp
1216 * gdb.base/attach-twice.exp
1217 * gdb.base/auto-load.exp
1218 * gdb.base/bang.exp
1219 * gdb.base/bitfields.exp
1220 * gdb.base/break-always.exp
1221 * gdb.base/break-caller-line.exp
1222 * gdb.base/break-entry.exp
1223 * gdb.base/break-inline.exp
1224 * gdb.base/break-on-linker-gcd-function.exp
1225 * gdb.base/break-probes.exp
1226 * gdb.base/break.exp
1227 * gdb.base/breakpoint-shadow.exp
1228 * gdb.base/call-ar-st.exp
1229 * gdb.base/call-sc.exp
1230 * gdb.base/call-signal-resume.exp
1231 * gdb.base/call-strs.exp
1232 * gdb.base/callfuncs.exp
1233 * gdb.base/catch-fork-static.exp
1234 * gdb.base/catch-gdb-caused-signals.exp
1235 * gdb.base/catch-load.exp
1236 * gdb.base/catch-signal-fork.exp
1237 * gdb.base/catch-signal.exp
1238 * gdb.base/catch-syscall.exp
1239 * gdb.base/charset.exp
1240 * gdb.base/checkpoint.exp
1241 * gdb.base/chng-syms.exp
1242 * gdb.base/code-expr.exp
1243 * gdb.base/code_elim.exp
1244 * gdb.base/commands.exp
1245 * gdb.base/completion.exp
1246 * gdb.base/complex.exp
1247 * gdb.base/cond-expr.exp
1248 * gdb.base/condbreak.exp
1249 * gdb.base/consecutive.exp
1250 * gdb.base/continue-all-already-running.exp
1251 * gdb.base/coredump-filter.exp
1252 * gdb.base/corefile.exp
1253 * gdb.base/dbx.exp
1254 * gdb.base/debug-expr.exp
1255 * gdb.base/define.exp
1256 * gdb.base/del.exp
1257 * gdb.base/disabled-location.exp
1258 * gdb.base/disasm-end-cu.exp
1259 * gdb.base/disasm-optim.exp
1260 * gdb.base/display.exp
1261 * gdb.base/duplicate-bp.exp
1262 * gdb.base/ena-dis-br.exp
1263 * gdb.base/ending-run.exp
1264 * gdb.base/enumval.exp
1265 * gdb.base/environ.exp
1266 * gdb.base/eu-strip-infcall.exp
1267 * gdb.base/eval-avoid-side-effects.exp
1268 * gdb.base/eval-skip.exp
1269 * gdb.base/exitsignal.exp
1270 * gdb.base/expand-psymtabs.exp
1271 * gdb.base/filesym.exp
1272 * gdb.base/find-unmapped.exp
1273 * gdb.base/finish.exp
1274 * gdb.base/float.exp
1275 * gdb.base/foll-exec-mode.exp
1276 * gdb.base/foll-exec.exp
1277 * gdb.base/foll-fork.exp
1278 * gdb.base/fortran-sym-case.exp
1279 * gdb.base/freebpcmd.exp
1280 * gdb.base/func-ptr.exp
1281 * gdb.base/func-ptrs.exp
1282 * gdb.base/funcargs.exp
1283 * gdb.base/gcore-buffer-overflow.exp
1284 * gdb.base/gcore-relro-pie.exp
1285 * gdb.base/gcore-relro.exp
1286 * gdb.base/gcore.exp
1287 * gdb.base/gdb1090.exp
1288 * gdb.base/gdb11530.exp
1289 * gdb.base/gdb11531.exp
1290 * gdb.base/gdb1821.exp
1291 * gdb.base/gdbindex-stabs.exp
1292 * gdb.base/gdbvars.exp
1293 * gdb.base/hbreak.exp
1294 * gdb.base/hbreak2.exp
1295 * gdb.base/included.exp
1296 * gdb.base/infcall-input.exp
1297 * gdb.base/inferior-died.exp
1298 * gdb.base/infnan.exp
1299 * gdb.base/info-macros.exp
1300 * gdb.base/info-os.exp
1301 * gdb.base/info-proc.exp
1302 * gdb.base/info-shared.exp
1303 * gdb.base/info-target.exp
1304 * gdb.base/infoline.exp
1305 * gdb.base/interp.exp
1306 * gdb.base/interrupt.exp
1307 * gdb.base/jit-reader.exp
1308 * gdb.base/jit-simple.exp
1309 * gdb.base/kill-after-signal.exp
1310 * gdb.base/kill-detach-inferiors-cmd.exp
1311 * gdb.base/label.exp
1312 * gdb.base/langs.exp
1313 * gdb.base/ldbl_e308.exp
1314 * gdb.base/line-symtabs.exp
1315 * gdb.base/linespecs.exp
1316 * gdb.base/list.exp
1317 * gdb.base/long_long.exp
1318 * gdb.base/longest-types.exp
1319 * gdb.base/maint.exp
1320 * gdb.base/max-value-size.exp
1321 * gdb.base/memattr.exp
1322 * gdb.base/mips_pro.exp
1323 * gdb.base/morestack.exp
1324 * gdb.base/moribund-step.exp
1325 * gdb.base/multi-forks.exp
1326 * gdb.base/nested-addr.exp
1327 * gdb.base/nextoverexit.exp
1328 * gdb.base/noreturn-finish.exp
1329 * gdb.base/noreturn-return.exp
1330 * gdb.base/nostdlib.exp
1331 * gdb.base/offsets.exp
1332 * gdb.base/opaque.exp
1333 * gdb.base/pc-fp.exp
1334 * gdb.base/permissions.exp
1335 * gdb.base/print-symbol-loading.exp
1336 * gdb.base/prologue-include.exp
1337 * gdb.base/psymtab.exp
1338 * gdb.base/ptype.exp
1339 * gdb.base/random-signal.exp
1340 * gdb.base/randomize.exp
1341 * gdb.base/range-stepping.exp
1342 * gdb.base/readline-ask.exp
1343 * gdb.base/recpar.exp
1344 * gdb.base/recurse.exp
1345 * gdb.base/relational.exp
1346 * gdb.base/restore.exp
1347 * gdb.base/return-nodebug.exp
1348 * gdb.base/return.exp
1349 * gdb.base/run-after-attach.exp
1350 * gdb.base/save-bp.exp
1351 * gdb.base/scope.exp
1352 * gdb.base/sect-cmd.exp
1353 * gdb.base/set-lang-auto.exp
1354 * gdb.base/set-noassign.exp
1355 * gdb.base/setvar.exp
1356 * gdb.base/sigall.exp
1357 * gdb.base/sigbpt.exp
1358 * gdb.base/siginfo-addr.exp
1359 * gdb.base/siginfo-infcall.exp
1360 * gdb.base/siginfo-obj.exp
1361 * gdb.base/siginfo.exp
1362 * gdb.base/signals-state-child.exp
1363 * gdb.base/signest.exp
1364 * gdb.base/sigstep.exp
1365 * gdb.base/sizeof.exp
1366 * gdb.base/skip.exp
1367 * gdb.base/solib-corrupted.exp
1368 * gdb.base/solib-nodir.exp
1369 * gdb.base/solib-search.exp
1370 * gdb.base/stack-checking.exp
1371 * gdb.base/stale-infcall.exp
1372 * gdb.base/stap-probe.exp
1373 * gdb.base/start.exp
1374 * gdb.base/step-break.exp
1375 * gdb.base/step-bt.exp
1376 * gdb.base/step-line.exp
1377 * gdb.base/step-over-exit.exp
1378 * gdb.base/step-over-syscall.exp
1379 * gdb.base/step-resume-infcall.exp
1380 * gdb.base/step-test.exp
1381 * gdb.base/store.exp
1382 * gdb.base/structs3.exp
1383 * gdb.base/sym-file.exp
1384 * gdb.base/symbol-without-target_section.exp
1385 * gdb.base/term.exp
1386 * gdb.base/testenv.exp
1387 * gdb.base/ui-redirect.exp
1388 * gdb.base/until.exp
1389 * gdb.base/unwindonsignal.exp
1390 * gdb.base/value-double-free.exp
1391 * gdb.base/vla-datatypes.exp
1392 * gdb.base/vla-ptr.exp
1393 * gdb.base/vla-sideeffect.exp
1394 * gdb.base/volatile.exp
1395 * gdb.base/watch-cond-infcall.exp
1396 * gdb.base/watch-cond.exp
1397 * gdb.base/watch-non-mem.exp
1398 * gdb.base/watch-read.exp
1399 * gdb.base/watch-vfork.exp
1400 * gdb.base/watchpoint-cond-gone.exp
1401 * gdb.base/watchpoint-delete.exp
1402 * gdb.base/watchpoint-hw-hit-once.exp
1403 * gdb.base/watchpoint-hw.exp
1404 * gdb.base/watchpoint-stops-at-right-insn.exp
1405 * gdb.base/watchpoints.exp
1406 * gdb.base/wchar.exp
1407 * gdb.base/whatis-exp.exp
1408 * gdb.btrace/buffer-size.exp
1409 * gdb.btrace/data.exp
1410 * gdb.btrace/delta.exp
1411 * gdb.btrace/dlopen.exp
1412 * gdb.btrace/enable.exp
1413 * gdb.btrace/exception.exp
1414 * gdb.btrace/function_call_history.exp
1415 * gdb.btrace/gcore.exp
1416 * gdb.btrace/instruction_history.exp
1417 * gdb.btrace/nohist.exp
1418 * gdb.btrace/reconnect.exp
1419 * gdb.btrace/record_goto-step.exp
1420 * gdb.btrace/record_goto.exp
1421 * gdb.btrace/rn-dl-bind.exp
1422 * gdb.btrace/segv.exp
1423 * gdb.btrace/step.exp
1424 * gdb.btrace/stepi.exp
1425 * gdb.btrace/tailcall-only.exp
1426 * gdb.btrace/tailcall.exp
1427 * gdb.btrace/tsx.exp
1428 * gdb.btrace/unknown_functions.exp
1429 * gdb.btrace/vdso.exp
1430 * gdb.compile/compile-ifunc.exp
1431 * gdb.compile/compile-ops.exp
1432 * gdb.compile/compile-print.exp
1433 * gdb.compile/compile-setjmp.exp
1434 * gdb.cp/abstract-origin.exp
1435 * gdb.cp/ambiguous.exp
1436 * gdb.cp/annota2.exp
1437 * gdb.cp/annota3.exp
1438 * gdb.cp/anon-ns.exp
1439 * gdb.cp/anon-struct.exp
1440 * gdb.cp/anon-union.exp
1441 * gdb.cp/arg-reference.exp
1442 * gdb.cp/baseenum.exp
1443 * gdb.cp/bool.exp
1444 * gdb.cp/breakpoint.exp
1445 * gdb.cp/bs15503.exp
1446 * gdb.cp/call-c.exp
1447 * gdb.cp/casts.exp
1448 * gdb.cp/chained-calls.exp
1449 * gdb.cp/class2.exp
1450 * gdb.cp/classes.exp
1451 * gdb.cp/cmpd-minsyms.exp
1452 * gdb.cp/converts.exp
1453 * gdb.cp/cp-relocate.exp
1454 * gdb.cp/cpcompletion.exp
1455 * gdb.cp/cpexprs.exp
1456 * gdb.cp/cplabel.exp
1457 * gdb.cp/cplusfuncs.exp
1458 * gdb.cp/cpsizeof.exp
1459 * gdb.cp/ctti.exp
1460 * gdb.cp/derivation.exp
1461 * gdb.cp/destrprint.exp
1462 * gdb.cp/dispcxx.exp
1463 * gdb.cp/enum-class.exp
1464 * gdb.cp/exception.exp
1465 * gdb.cp/exceptprint.exp
1466 * gdb.cp/expand-psymtabs-cxx.exp
1467 * gdb.cp/expand-sals.exp
1468 * gdb.cp/extern-c.exp
1469 * gdb.cp/filename.exp
1470 * gdb.cp/formatted-ref.exp
1471 * gdb.cp/fpointer.exp
1472 * gdb.cp/gdb1355.exp
1473 * gdb.cp/gdb2495.exp
1474 * gdb.cp/hang.exp
1475 * gdb.cp/impl-this.exp
1476 * gdb.cp/infcall-dlopen.exp
1477 * gdb.cp/inherit.exp
1478 * gdb.cp/iostream.exp
1479 * gdb.cp/koenig.exp
1480 * gdb.cp/local.exp
1481 * gdb.cp/m-data.exp
1482 * gdb.cp/m-static.exp
1483 * gdb.cp/mb-ctor.exp
1484 * gdb.cp/mb-inline.exp
1485 * gdb.cp/mb-templates.exp
1486 * gdb.cp/member-name.exp
1487 * gdb.cp/member-ptr.exp
1488 * gdb.cp/meth-typedefs.exp
1489 * gdb.cp/method.exp
1490 * gdb.cp/method2.exp
1491 * gdb.cp/minsym-fallback.exp
1492 * gdb.cp/misc.exp
1493 * gdb.cp/namelessclass.exp
1494 * gdb.cp/namespace-enum.exp
1495 * gdb.cp/namespace-nested-import.exp
1496 * gdb.cp/namespace.exp
1497 * gdb.cp/nextoverthrow.exp
1498 * gdb.cp/no-dmgl-verbose.exp
1499 * gdb.cp/non-trivial-retval.exp
1500 * gdb.cp/noparam.exp
1501 * gdb.cp/nsdecl.exp
1502 * gdb.cp/nsimport.exp
1503 * gdb.cp/nsnested.exp
1504 * gdb.cp/nsnoimports.exp
1505 * gdb.cp/nsrecurs.exp
1506 * gdb.cp/nsstress.exp
1507 * gdb.cp/nsusing.exp
1508 * gdb.cp/operator.exp
1509 * gdb.cp/oranking.exp
1510 * gdb.cp/overload-const.exp
1511 * gdb.cp/overload.exp
1512 * gdb.cp/ovldbreak.exp
1513 * gdb.cp/ovsrch.exp
1514 * gdb.cp/paren-type.exp
1515 * gdb.cp/parse-lang.exp
1516 * gdb.cp/pass-by-ref.exp
1517 * gdb.cp/pr-1023.exp
1518 * gdb.cp/pr-1210.exp
1519 * gdb.cp/pr-574.exp
1520 * gdb.cp/pr10687.exp
1521 * gdb.cp/pr12028.exp
1522 * gdb.cp/pr17132.exp
1523 * gdb.cp/pr17494.exp
1524 * gdb.cp/pr9067.exp
1525 * gdb.cp/pr9167.exp
1526 * gdb.cp/pr9631.exp
1527 * gdb.cp/printmethod.exp
1528 * gdb.cp/psmang.exp
1529 * gdb.cp/psymtab-parameter.exp
1530 * gdb.cp/ptype-cv-cp.exp
1531 * gdb.cp/ptype-flags.exp
1532 * gdb.cp/re-set-overloaded.exp
1533 * gdb.cp/ref-types.exp
1534 * gdb.cp/rtti.exp
1535 * gdb.cp/scope-err.exp
1536 * gdb.cp/shadow.exp
1537 * gdb.cp/smartp.exp
1538 * gdb.cp/static-method.exp
1539 * gdb.cp/static-print-quit.exp
1540 * gdb.cp/temargs.exp
1541 * gdb.cp/templates.exp
1542 * gdb.cp/try_catch.exp
1543 * gdb.cp/typedef-operator.exp
1544 * gdb.cp/typeid.exp
1545 * gdb.cp/userdef.exp
1546 * gdb.cp/using-crash.exp
1547 * gdb.cp/var-tag.exp
1548 * gdb.cp/virtbase.exp
1549 * gdb.cp/virtfunc.exp
1550 * gdb.cp/virtfunc2.exp
1551 * gdb.cp/vla-cxx.exp
1552 * gdb.disasm/t01_mov.exp
1553 * gdb.disasm/t02_mova.exp
1554 * gdb.disasm/t03_add.exp
1555 * gdb.disasm/t04_sub.exp
1556 * gdb.disasm/t05_cmp.exp
1557 * gdb.disasm/t06_ari2.exp
1558 * gdb.disasm/t07_ari3.exp
1559 * gdb.disasm/t08_or.exp
1560 * gdb.disasm/t09_xor.exp
1561 * gdb.disasm/t10_and.exp
1562 * gdb.disasm/t11_logs.exp
1563 * gdb.disasm/t12_bit.exp
1564 * gdb.disasm/t13_otr.exp
1565 * gdb.dlang/circular.exp
1566 * gdb.dwarf2/arr-stride.exp
1567 * gdb.dwarf2/arr-subrange.exp
1568 * gdb.dwarf2/atomic-type.exp
1569 * gdb.dwarf2/bad-regnum.exp
1570 * gdb.dwarf2/bitfield-parent-optimized-out.exp
1571 * gdb.dwarf2/callframecfa.exp
1572 * gdb.dwarf2/clztest.exp
1573 * gdb.dwarf2/corrupt.exp
1574 * gdb.dwarf2/data-loc.exp
1575 * gdb.dwarf2/dup-psym.exp
1576 * gdb.dwarf2/dw2-anon-mptr.exp
1577 * gdb.dwarf2/dw2-anonymous-func.exp
1578 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
1579 * gdb.dwarf2/dw2-bad-unresolved.exp
1580 * gdb.dwarf2/dw2-basic.exp
1581 * gdb.dwarf2/dw2-canonicalize-type.exp
1582 * gdb.dwarf2/dw2-case-insensitive.exp
1583 * gdb.dwarf2/dw2-common-block.exp
1584 * gdb.dwarf2/dw2-compdir-oldgcc.exp
1585 * gdb.dwarf2/dw2-compressed.exp
1586 * gdb.dwarf2/dw2-const.exp
1587 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
1588 * gdb.dwarf2/dw2-cu-size.exp
1589 * gdb.dwarf2/dw2-dup-frame.exp
1590 * gdb.dwarf2/dw2-entry-value.exp
1591 * gdb.dwarf2/dw2-icycle.exp
1592 * gdb.dwarf2/dw2-ifort-parameter.exp
1593 * gdb.dwarf2/dw2-inline-break.exp
1594 * gdb.dwarf2/dw2-inline-param.exp
1595 * gdb.dwarf2/dw2-intercu.exp
1596 * gdb.dwarf2/dw2-intermix.exp
1597 * gdb.dwarf2/dw2-lexical-block-bare.exp
1598 * gdb.dwarf2/dw2-linkage-name-trust.exp
1599 * gdb.dwarf2/dw2-minsym-in-cu.exp
1600 * gdb.dwarf2/dw2-noloc.exp
1601 * gdb.dwarf2/dw2-op-call.exp
1602 * gdb.dwarf2/dw2-op-out-param.exp
1603 * gdb.dwarf2/dw2-opt-structptr.exp
1604 * gdb.dwarf2/dw2-param-error.exp
1605 * gdb.dwarf2/dw2-producer.exp
1606 * gdb.dwarf2/dw2-ranges-base.exp
1607 * gdb.dwarf2/dw2-ref-missing-frame.exp
1608 * gdb.dwarf2/dw2-reg-undefined.exp
1609 * gdb.dwarf2/dw2-regno-invalid.exp
1610 * gdb.dwarf2/dw2-restore.exp
1611 * gdb.dwarf2/dw2-restrict.exp
1612 * gdb.dwarf2/dw2-single-line-discriminators.exp
1613 * gdb.dwarf2/dw2-strp.exp
1614 * gdb.dwarf2/dw2-undefined-ret-addr.exp
1615 * gdb.dwarf2/dw2-unresolved.exp
1616 * gdb.dwarf2/dw2-var-zero-addr.exp
1617 * gdb.dwarf2/dw4-sig-types.exp
1618 * gdb.dwarf2/dwz.exp
1619 * gdb.dwarf2/dynarr-ptr.exp
1620 * gdb.dwarf2/enum-type.exp
1621 * gdb.dwarf2/gdb-index.exp
1622 * gdb.dwarf2/implptr-64bit.exp
1623 * gdb.dwarf2/implptr-optimized-out.exp
1624 * gdb.dwarf2/implptr.exp
1625 * gdb.dwarf2/implref-array.exp
1626 * gdb.dwarf2/implref-const.exp
1627 * gdb.dwarf2/implref-global.exp
1628 * gdb.dwarf2/implref-struct.exp
1629 * gdb.dwarf2/mac-fileno.exp
1630 * gdb.dwarf2/main-subprogram.exp
1631 * gdb.dwarf2/member-ptr-forwardref.exp
1632 * gdb.dwarf2/method-ptr.exp
1633 * gdb.dwarf2/missing-sig-type.exp
1634 * gdb.dwarf2/nonvar-access.exp
1635 * gdb.dwarf2/opaque-type-lookup.exp
1636 * gdb.dwarf2/pieces-optimized-out.exp
1637 * gdb.dwarf2/pieces.exp
1638 * gdb.dwarf2/pr10770.exp
1639 * gdb.dwarf2/pr13961.exp
1640 * gdb.dwarf2/staticvirtual.exp
1641 * gdb.dwarf2/subrange.exp
1642 * gdb.dwarf2/symtab-producer.exp
1643 * gdb.dwarf2/trace-crash.exp
1644 * gdb.dwarf2/typeddwarf.exp
1645 * gdb.dwarf2/valop.exp
1646 * gdb.dwarf2/watch-notconst.exp
1647 * gdb.fortran/array-element.exp
1648 * gdb.fortran/charset.exp
1649 * gdb.fortran/common-block.exp
1650 * gdb.fortran/complex.exp
1651 * gdb.fortran/derived-type-function.exp
1652 * gdb.fortran/derived-type.exp
1653 * gdb.fortran/logical.exp
1654 * gdb.fortran/module.exp
1655 * gdb.fortran/multi-dim.exp
1656 * gdb.fortran/nested-funcs.exp
1657 * gdb.fortran/print-formatted.exp
1658 * gdb.fortran/subarray.exp
1659 * gdb.fortran/vla-alloc-assoc.exp
1660 * gdb.fortran/vla-datatypes.exp
1661 * gdb.fortran/vla-history.exp
1662 * gdb.fortran/vla-ptr-info.exp
1663 * gdb.fortran/vla-ptype-sub.exp
1664 * gdb.fortran/vla-ptype.exp
1665 * gdb.fortran/vla-sizeof.exp
1666 * gdb.fortran/vla-type.exp
1667 * gdb.fortran/vla-value-sub-arbitrary.exp
1668 * gdb.fortran/vla-value-sub-finish.exp
1669 * gdb.fortran/vla-value-sub.exp
1670 * gdb.fortran/vla-value.exp
1671 * gdb.fortran/whatis_type.exp
1672 * gdb.go/chan.exp
1673 * gdb.go/handcall.exp
1674 * gdb.go/hello.exp
1675 * gdb.go/integers.exp
1676 * gdb.go/methods.exp
1677 * gdb.go/package.exp
1678 * gdb.go/strings.exp
1679 * gdb.go/types.exp
1680 * gdb.go/unsafe.exp
1681 * gdb.guile/scm-arch.exp
1682 * gdb.guile/scm-block.exp
1683 * gdb.guile/scm-breakpoint.exp
1684 * gdb.guile/scm-cmd.exp
1685 * gdb.guile/scm-disasm.exp
1686 * gdb.guile/scm-equal.exp
1687 * gdb.guile/scm-frame-args.exp
1688 * gdb.guile/scm-frame-inline.exp
1689 * gdb.guile/scm-frame.exp
1690 * gdb.guile/scm-iterator.exp
1691 * gdb.guile/scm-math.exp
1692 * gdb.guile/scm-objfile.exp
1693 * gdb.guile/scm-ports.exp
1694 * gdb.guile/scm-symbol.exp
1695 * gdb.guile/scm-symtab.exp
1696 * gdb.guile/scm-value-cc.exp
1697 * gdb.guile/types-module.exp
1698 * gdb.linespec/break-ask.exp
1699 * gdb.linespec/cpexplicit.exp
1700 * gdb.linespec/explicit.exp
1701 * gdb.linespec/keywords.exp
1702 * gdb.linespec/linespec.exp
1703 * gdb.linespec/ls-dollar.exp
1704 * gdb.linespec/ls-errs.exp
1705 * gdb.linespec/skip-two.exp
1706 * gdb.linespec/thread.exp
1707 * gdb.mi/mi-async.exp
1708 * gdb.mi/mi-basics.exp
1709 * gdb.mi/mi-break.exp
1710 * gdb.mi/mi-catch-load.exp
1711 * gdb.mi/mi-cli.exp
1712 * gdb.mi/mi-cmd-param-changed.exp
1713 * gdb.mi/mi-console.exp
1714 * gdb.mi/mi-detach.exp
1715 * gdb.mi/mi-disassemble.exp
1716 * gdb.mi/mi-eval.exp
1717 * gdb.mi/mi-file-transfer.exp
1718 * gdb.mi/mi-file.exp
1719 * gdb.mi/mi-fill-memory.exp
1720 * gdb.mi/mi-inheritance-syntax-error.exp
1721 * gdb.mi/mi-linespec-err-cp.exp
1722 * gdb.mi/mi-logging.exp
1723 * gdb.mi/mi-memory-changed.exp
1724 * gdb.mi/mi-read-memory.exp
1725 * gdb.mi/mi-record-changed.exp
1726 * gdb.mi/mi-reg-undefined.exp
1727 * gdb.mi/mi-regs.exp
1728 * gdb.mi/mi-return.exp
1729 * gdb.mi/mi-reverse.exp
1730 * gdb.mi/mi-simplerun.exp
1731 * gdb.mi/mi-solib.exp
1732 * gdb.mi/mi-stack.exp
1733 * gdb.mi/mi-stepi.exp
1734 * gdb.mi/mi-syn-frame.exp
1735 * gdb.mi/mi-until.exp
1736 * gdb.mi/mi-var-block.exp
1737 * gdb.mi/mi-var-child.exp
1738 * gdb.mi/mi-var-cmd.exp
1739 * gdb.mi/mi-var-cp.exp
1740 * gdb.mi/mi-var-display.exp
1741 * gdb.mi/mi-var-invalidate.exp
1742 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
1743 * gdb.mi/mi-vla-fortran.exp
1744 * gdb.mi/mi-watch.exp
1745 * gdb.mi/mi2-var-child.exp
1746 * gdb.mi/user-selected-context-sync.exp
1747 * gdb.modula2/unbounded-array.exp
1748 * gdb.multi/dummy-frame-restore.exp
1749 * gdb.multi/multi-arch-exec.exp
1750 * gdb.multi/multi-arch.exp
1751 * gdb.multi/tids.exp
1752 * gdb.multi/watchpoint-multi.exp
1753 * gdb.opencl/callfuncs.exp
1754 * gdb.opencl/convs_casts.exp
1755 * gdb.opencl/datatypes.exp
1756 * gdb.opencl/operators.exp
1757 * gdb.opencl/vec_comps.exp
1758 * gdb.opt/clobbered-registers-O2.exp
1759 * gdb.opt/inline-break.exp
1760 * gdb.opt/inline-bt.exp
1761 * gdb.opt/inline-cmds.exp
1762 * gdb.opt/inline-locals.exp
1763 * gdb.pascal/case-insensitive-symbols.exp
1764 * gdb.pascal/floats.exp
1765 * gdb.pascal/gdb11492.exp
1766 * gdb.python/lib-types.exp
1767 * gdb.python/py-arch.exp
1768 * gdb.python/py-as-string.exp
1769 * gdb.python/py-bad-printers.exp
1770 * gdb.python/py-block.exp
1771 * gdb.python/py-breakpoint-create-fail.exp
1772 * gdb.python/py-breakpoint.exp
1773 * gdb.python/py-caller-is.exp
1774 * gdb.python/py-cmd.exp
1775 * gdb.python/py-explore-cc.exp
1776 * gdb.python/py-explore.exp
1777 * gdb.python/py-finish-breakpoint.exp
1778 * gdb.python/py-finish-breakpoint2.exp
1779 * gdb.python/py-frame-args.exp
1780 * gdb.python/py-frame-inline.exp
1781 * gdb.python/py-frame.exp
1782 * gdb.python/py-framefilter-mi.exp
1783 * gdb.python/py-infthread.exp
1784 * gdb.python/py-lazy-string.exp
1785 * gdb.python/py-linetable.exp
1786 * gdb.python/py-mi-events.exp
1787 * gdb.python/py-mi-objfile.exp
1788 * gdb.python/py-mi.exp
1789 * gdb.python/py-objfile.exp
1790 * gdb.python/py-pp-integral.exp
1791 * gdb.python/py-pp-maint.exp
1792 * gdb.python/py-pp-re-notag.exp
1793 * gdb.python/py-pp-registration.exp
1794 * gdb.python/py-recurse-unwind.exp
1795 * gdb.python/py-strfns.exp
1796 * gdb.python/py-symbol.exp
1797 * gdb.python/py-symtab.exp
1798 * gdb.python/py-sync-interp.exp
1799 * gdb.python/py-typeprint.exp
1800 * gdb.python/py-unwind-maint.exp
1801 * gdb.python/py-unwind.exp
1802 * gdb.python/py-value-cc.exp
1803 * gdb.python/py-xmethods.exp
1804 * gdb.reverse/amd64-tailcall-reverse.exp
1805 * gdb.reverse/break-precsave.exp
1806 * gdb.reverse/break-reverse.exp
1807 * gdb.reverse/consecutive-precsave.exp
1808 * gdb.reverse/consecutive-reverse.exp
1809 * gdb.reverse/finish-precsave.exp
1810 * gdb.reverse/finish-reverse-bkpt.exp
1811 * gdb.reverse/finish-reverse.exp
1812 * gdb.reverse/fstatat-reverse.exp
1813 * gdb.reverse/getresuid-reverse.exp
1814 * gdb.reverse/i386-precsave.exp
1815 * gdb.reverse/i386-reverse.exp
1816 * gdb.reverse/i386-sse-reverse.exp
1817 * gdb.reverse/i387-env-reverse.exp
1818 * gdb.reverse/i387-stack-reverse.exp
1819 * gdb.reverse/insn-reverse.exp
1820 * gdb.reverse/machinestate-precsave.exp
1821 * gdb.reverse/machinestate.exp
1822 * gdb.reverse/next-reverse-bkpt-over-sr.exp
1823 * gdb.reverse/pipe-reverse.exp
1824 * gdb.reverse/readv-reverse.exp
1825 * gdb.reverse/recvmsg-reverse.exp
1826 * gdb.reverse/rerun-prec.exp
1827 * gdb.reverse/s390-mvcle.exp
1828 * gdb.reverse/step-precsave.exp
1829 * gdb.reverse/step-reverse.exp
1830 * gdb.reverse/time-reverse.exp
1831 * gdb.reverse/until-precsave.exp
1832 * gdb.reverse/until-reverse.exp
1833 * gdb.reverse/waitpid-reverse.exp
1834 * gdb.reverse/watch-precsave.exp
1835 * gdb.reverse/watch-reverse.exp
1836 * gdb.rust/generics.exp
1837 * gdb.rust/methods.exp
1838 * gdb.rust/modules.exp
1839 * gdb.rust/simple.exp
1840 * gdb.server/connect-with-no-symbol-file.exp
1841 * gdb.server/ext-attach.exp
1842 * gdb.server/ext-restart.exp
1843 * gdb.server/ext-wrapper.exp
1844 * gdb.server/file-transfer.exp
1845 * gdb.server/server-exec-info.exp
1846 * gdb.server/server-kill.exp
1847 * gdb.server/server-mon.exp
1848 * gdb.server/wrapper.exp
1849 * gdb.stabs/exclfwd.exp
1850 * gdb.stabs/gdb11479.exp
1851 * gdb.threads/clone-new-thread-event.exp
1852 * gdb.threads/corethreads.exp
1853 * gdb.threads/current-lwp-dead.exp
1854 * gdb.threads/dlopen-libpthread.exp
1855 * gdb.threads/gcore-thread.exp
1856 * gdb.threads/sigstep-threads.exp
1857 * gdb.threads/watchpoint-fork.exp
1858 * gdb.trace/actions-changed.exp
1859 * gdb.trace/backtrace.exp
1860 * gdb.trace/change-loc.exp
1861 * gdb.trace/circ.exp
1862 * gdb.trace/collection.exp
1863 * gdb.trace/disconnected-tracing.exp
1864 * gdb.trace/ftrace.exp
1865 * gdb.trace/mi-trace-frame-collected.exp
1866 * gdb.trace/mi-trace-unavailable.exp
1867 * gdb.trace/mi-traceframe-changed.exp
1868 * gdb.trace/mi-tsv-changed.exp
1869 * gdb.trace/no-attach-trace.exp
1870 * gdb.trace/passc-dyn.exp
1871 * gdb.trace/qtro.exp
1872 * gdb.trace/range-stepping.exp
1873 * gdb.trace/read-memory.exp
1874 * gdb.trace/save-trace.exp
1875 * gdb.trace/signal.exp
1876 * gdb.trace/status-stop.exp
1877 * gdb.trace/tfile.exp
1878 * gdb.trace/trace-break.exp
1879 * gdb.trace/trace-buffer-size.exp
1880 * gdb.trace/trace-condition.exp
1881 * gdb.trace/tracefile-pseudo-reg.exp
1882 * gdb.trace/tstatus.exp
1883 * gdb.trace/unavailable.exp
1884 * gdb.trace/while-dyn.exp
1885 * gdb.trace/while-stepping.exp
1886
1887 2016-12-22 Doug Evans <xdje42@gmail.com>
1888
1889 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
1890 and msymbols.
1891
1892 2016-12-19 Yao Qi <yao.qi@linaro.org>
1893
1894 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
1895 (test_with_self): Don't call do_steps_and_nexts, and remove
1896 code about stepping into xmalloc.
1897
1898 2016-12-09 Yao Qi <yao.qi@linaro.org>
1899
1900 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
1901
1902 2016-12-09 Yao Qi <yao.qi@linaro.org>
1903
1904 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
1905
1906 2016-12-09 Pedro Alves <palves@redhat.com>
1907
1908 * gdb.base/all-architectures-0.exp: New file.
1909 * gdb.base/all-architectures-1.exp: New file.
1910 * gdb.base/all-architectures-2.exp: New file.
1911 * gdb.base/all-architectures-3.exp: New file.
1912 * gdb.base/all-architectures-4.exp: New file.
1913 * gdb.base/all-architectures-5.exp: New file.
1914 * gdb.base/all-architectures-6.exp: New file.
1915 * gdb.base/all-architectures-7.exp: New file.
1916 * gdb.base/all-architectures.exp.in: New file.
1917
1918 2016-12-09 Yao Qi <yao.qi@linaro.org>
1919
1920 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
1921
1922 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
1923
1924 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
1925 possible.
1926 Remove useless pattern-matching code.
1927
1928 2016-12-02 Pedro Alves <palves@redhat.com>
1929
1930 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
1931 procedure.
1932 (top level): Call it.
1933
1934 2016-12-02 Pedro Alves <palves@redhat.com>
1935
1936 * gdb.base/commands.exp (user_defined_command_args_stack_test):
1937 New procedure.
1938 (top level): Call it.
1939
1940 2016-12-02 Pedro Alves <palves@redhat.com>
1941
1942 PR cli/20559
1943 * gdb.base/commands.exp (user_defined_command_args_eval): New
1944 procedure.
1945 (top level): Call it.
1946
1947 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
1948
1949 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
1950 timeout handling.
1951
1952 2016-12-02 Tom Tromey <tom@tromey.com>
1953
1954 * gdb.dwarf2/main-subprogram.c: New file.
1955 * gdb.dwarf2/main-subprogram.exp: New file.
1956
1957 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1958
1959 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
1960 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
1961 gdb_test_no_output for a couple of cases.
1962 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
1963
1964 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1965
1966 Fix test names and standardize compilation error messages throughout
1967 the following files:
1968
1969 * gdb.ada/start.exp
1970 * gdb.arch/alpha-step.exp
1971 * gdb.arch/e500-prologue.exp
1972 * gdb.arch/ftrace-insn-reloc.exp
1973 * gdb.arch/gdb1291.exp
1974 * gdb.arch/gdb1431.exp
1975 * gdb.arch/gdb1558.exp
1976 * gdb.arch/i386-dr3-watch.exp
1977 * gdb.arch/i386-sse-stack-align.exp
1978 * gdb.arch/ia64-breakpoint-shadow.exp
1979 * gdb.arch/pa-nullify.exp
1980 * gdb.arch/powerpc-aix-prologue.exp
1981 * gdb.arch/thumb-bx-pc.exp
1982 * gdb.base/annota1.exp
1983 * gdb.base/annota3.exp
1984 * gdb.base/arrayidx.exp
1985 * gdb.base/assign.exp
1986 * gdb.base/attach.exp
1987 * gdb.base/auxv.exp
1988 * gdb.base/bang.exp
1989 * gdb.base/bfp-test.exp
1990 * gdb.base/bigcore.exp
1991 * gdb.base/bitfields2.exp
1992 * gdb.base/break-fun-addr.exp
1993 * gdb.base/break-probes.exp
1994 * gdb.base/call-rt-st.exp
1995 * gdb.base/callexit.exp
1996 * gdb.base/catch-fork-kill.exp
1997 * gdb.base/charset.exp
1998 * gdb.base/checkpoint.exp
1999 * gdb.base/comprdebug.exp
2000 * gdb.base/constvars.exp
2001 * gdb.base/coredump-filter.exp
2002 * gdb.base/cursal.exp
2003 * gdb.base/cvexpr.exp
2004 * gdb.base/detach.exp
2005 * gdb.base/display.exp
2006 * gdb.base/dmsym.exp
2007 * gdb.base/dprintf-pending.exp
2008 * gdb.base/dso2dso.exp
2009 * gdb.base/dtrace-probe.exp
2010 * gdb.base/dump.exp
2011 * gdb.base/enum_cond.exp
2012 * gdb.base/exe-lock.exp
2013 * gdb.base/exec-invalid-sysroot.exp
2014 * gdb.base/execl-update-breakpoints.exp
2015 * gdb.base/exprs.exp
2016 * gdb.base/fileio.exp
2017 * gdb.base/find.exp
2018 * gdb.base/finish.exp
2019 * gdb.base/fixsection.exp
2020 * gdb.base/foll-vfork.exp
2021 * gdb.base/frame-args.exp
2022 * gdb.base/gcore.exp
2023 * gdb.base/gdb1250.exp
2024 * gdb.base/global-var-nested-by-dso.exp
2025 * gdb.base/gnu-ifunc.exp
2026 * gdb.base/hashline1.exp
2027 * gdb.base/hashline2.exp
2028 * gdb.base/hashline3.exp
2029 * gdb.base/hbreak-in-shr-unsupported.exp
2030 * gdb.base/huge.exp
2031 * gdb.base/infcall-input.exp
2032 * gdb.base/info-fun.exp
2033 * gdb.base/info-shared.exp
2034 * gdb.base/jit-simple.exp
2035 * gdb.base/jit-so.exp
2036 * gdb.base/jit.exp
2037 * gdb.base/jump.exp
2038 * gdb.base/label.exp
2039 * gdb.base/lineinc.exp
2040 * gdb.base/logical.exp
2041 * gdb.base/longjmp.exp
2042 * gdb.base/macscp.exp
2043 * gdb.base/miscexprs.exp
2044 * gdb.base/new-ui-echo.exp
2045 * gdb.base/new-ui-pending-input.exp
2046 * gdb.base/new-ui.exp
2047 * gdb.base/nodebug.exp
2048 * gdb.base/nofield.exp
2049 * gdb.base/offsets.exp
2050 * gdb.base/overlays.exp
2051 * gdb.base/pending.exp
2052 * gdb.base/pointers.exp
2053 * gdb.base/pr11022.exp
2054 * gdb.base/printcmds.exp
2055 * gdb.base/prologue.exp
2056 * gdb.base/ptr-typedef.exp
2057 * gdb.base/realname-expand.exp
2058 * gdb.base/relativedebug.exp
2059 * gdb.base/relocate.exp
2060 * gdb.base/remote.exp
2061 * gdb.base/reread.exp
2062 * gdb.base/return2.exp
2063 * gdb.base/savedregs.exp
2064 * gdb.base/sep.exp
2065 * gdb.base/sepdebug.exp
2066 * gdb.base/sepsymtab.exp
2067 * gdb.base/set-inferior-tty.exp
2068 * gdb.base/setshow.exp
2069 * gdb.base/shlib-call.exp
2070 * gdb.base/sigaltstack.exp
2071 * gdb.base/siginfo-addr.exp
2072 * gdb.base/signals.exp
2073 * gdb.base/signull.exp
2074 * gdb.base/sigrepeat.exp
2075 * gdb.base/so-impl-ld.exp
2076 * gdb.base/solib-display.exp
2077 * gdb.base/solib-overlap.exp
2078 * gdb.base/solib-search.exp
2079 * gdb.base/solib-symbol.exp
2080 * gdb.base/structs.exp
2081 * gdb.base/structs2.exp
2082 * gdb.base/symtab-search-order.exp
2083 * gdb.base/twice.exp
2084 * gdb.base/unload.exp
2085 * gdb.base/varargs.exp
2086 * gdb.base/watchpoint-solib.exp
2087 * gdb.base/watchpoint.exp
2088 * gdb.base/whatis.exp
2089 * gdb.base/wrong_frame_bt_full.exp
2090 * gdb.btrace/dlopen.exp
2091 * gdb.cell/ea-standalone.exp
2092 * gdb.cell/ea-test.exp
2093 * gdb.cp/dispcxx.exp
2094 * gdb.cp/gdb2384.exp
2095 * gdb.cp/method2.exp
2096 * gdb.cp/nextoverthrow.exp
2097 * gdb.cp/pr10728.exp
2098 * gdb.disasm/am33.exp
2099 * gdb.disasm/h8300s.exp
2100 * gdb.disasm/mn10300.exp
2101 * gdb.disasm/sh3.exp
2102 * gdb.dwarf2/dw2-dir-file-name.exp
2103 * gdb.fortran/complex.exp
2104 * gdb.fortran/library-module.exp
2105 * gdb.guile/scm-pretty-print.exp
2106 * gdb.guile/scm-symbol.exp
2107 * gdb.guile/scm-type.exp
2108 * gdb.guile/scm-value.exp
2109 * gdb.linespec/linespec.exp
2110 * gdb.mi/gdb701.exp
2111 * gdb.mi/gdb792.exp
2112 * gdb.mi/mi-breakpoint-changed.exp
2113 * gdb.mi/mi-dprintf-pending.exp
2114 * gdb.mi/mi-dprintf.exp
2115 * gdb.mi/mi-exit-code.exp
2116 * gdb.mi/mi-pending.exp
2117 * gdb.mi/mi-solib.exp
2118 * gdb.mi/new-ui-mi-sync.exp
2119 * gdb.mi/pr11022.exp
2120 * gdb.mi/user-selected-context-sync.exp
2121 * gdb.opt/solib-intra-step.exp
2122 * gdb.python/py-events.exp
2123 * gdb.python/py-finish-breakpoint.exp
2124 * gdb.python/py-mi.exp
2125 * gdb.python/py-prettyprint.exp
2126 * gdb.python/py-shared.exp
2127 * gdb.python/py-symbol.exp
2128 * gdb.python/py-template.exp
2129 * gdb.python/py-type.exp
2130 * gdb.python/py-value.exp
2131 * gdb.reverse/solib-precsave.exp
2132 * gdb.reverse/solib-reverse.exp
2133 * gdb.server/solib-list.exp
2134 * gdb.stabs/weird.exp
2135 * gdb.threads/reconnect-signal.exp
2136 * gdb.threads/stepi-random-signal.exp
2137 * gdb.trace/actions.exp
2138 * gdb.trace/ax.exp
2139 * gdb.trace/backtrace.exp
2140 * gdb.trace/change-loc.exp
2141 * gdb.trace/deltrace.exp
2142 * gdb.trace/ftrace-lock.exp
2143 * gdb.trace/ftrace.exp
2144 * gdb.trace/infotrace.exp
2145 * gdb.trace/mi-tracepoint-changed.exp
2146 * gdb.trace/packetlen.exp
2147 * gdb.trace/passcount.exp
2148 * gdb.trace/pending.exp
2149 * gdb.trace/range-stepping.exp
2150 * gdb.trace/report.exp
2151 * gdb.trace/stap-trace.exp
2152 * gdb.trace/tfind.exp
2153 * gdb.trace/trace-break.exp
2154 * gdb.trace/trace-condition.exp
2155 * gdb.trace/trace-enable-disable.exp
2156 * gdb.trace/trace-mt.exp
2157 * gdb.trace/tracecmd.exp
2158 * gdb.trace/tspeed.exp
2159 * gdb.trace/tsv.exp
2160 * lib/perftest.exp
2161
2162 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
2163
2164 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
2165 with gdb_test_no_output.
2166 Use command as test name.
2167
2168 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
2169
2170 Fix test names starting with uppercase throughout the files.
2171
2172 * gdb.ada/assign_1.exp
2173 * gdb.ada/boolean_expr.exp
2174 * gdb.base/arrayidx.exp
2175 * gdb.base/del.exp
2176 * gdb.base/gcore-buffer-overflow.exp
2177 * gdb.base/testenv.exp
2178 * gdb.compile/compile.exp
2179 * gdb.python/py-framefilter-invalidarg.exp
2180 * gdb.python/py-framefilter.exp
2181
2182 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
2183
2184 Fix test names starting with uppercase throughout the files.
2185
2186 * gdb.ada/array_return.exp
2187 * gdb.ada/expr_delims.exp
2188 * gdb.ada/mi_dyn_arr.exp
2189 * gdb.ada/mi_interface.exp
2190 * gdb.ada/mi_var_array.exp
2191 * gdb.ada/watch_arg.exp
2192 * gdb.arch/alpha-step.exp
2193 * gdb.arch/altivec-regs.exp
2194 * gdb.arch/e500-regs.exp
2195 * gdb.arch/powerpc-d128-regs.exp
2196 * gdb.base/arrayidx.exp
2197 * gdb.base/break.exp
2198 * gdb.base/checkpoint.exp
2199 * gdb.base/debug-expr.exp
2200 * gdb.base/dmsym.exp
2201 * gdb.base/radix.exp
2202 * gdb.base/sepdebug.exp
2203 * gdb.base/testenv.exp
2204 * gdb.base/watch_thread_num.exp
2205 * gdb.base/watchpoint-cond-gone.exp
2206 * gdb.cell/break.exp
2207 * gdb.cell/ea-cache.exp
2208 * gdb.compile/compile.exp
2209 * gdb.cp/gdb2495.exp
2210 * gdb.gdb/selftest.exp
2211 * gdb.gdb/xfullpath.exp
2212 * gdb.go/hello.exp
2213 * gdb.go/integers.exp
2214 * gdb.objc/basicclass.exp
2215 * gdb.pascal/hello.exp
2216 * gdb.pascal/integers.exp
2217 * gdb.python/py-breakpoint.exp
2218 * gdb.python/py-cmd.exp
2219 * gdb.python/py-linetable.exp
2220 * gdb.python/py-xmethods.exp
2221 * gdb.python/python.exp
2222 * gdb.reverse/consecutive-precsave.exp
2223 * gdb.reverse/finish-precsave.exp
2224 * gdb.reverse/i386-precsave.exp
2225 * gdb.reverse/machinestate-precsave.exp
2226 * gdb.reverse/sigall-precsave.exp
2227 * gdb.reverse/solib-precsave.exp
2228 * gdb.reverse/step-precsave.exp
2229 * gdb.reverse/until-precsave.exp
2230 * gdb.reverse/watch-precsave.exp
2231 * gdb.threads/leader-exit.exp
2232 * gdb.threads/pthreads.exp
2233 * gdb.threads/wp-replication.exp
2234 * gdb.trace/actions.exp
2235 * gdb.trace/mi-tsv-changed.exp
2236 * gdb.trace/tsv.exp
2237
2238 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
2239
2240 Fix test names starting with uppercase throughout the files.
2241
2242 * gdb.arch/i386-bp_permanent.exp
2243 * gdb.arch/i386-gnu-cfi.exp
2244 * gdb.base/disasm-end-cu.exp
2245 * gdb.base/macscp.exp
2246 * gdb.base/pending.exp
2247 * gdb.base/watch_thread_num.exp
2248 * gdb.cp/exception.exp
2249 * gdb.cp/gdb2495.exp
2250 * gdb.cp/local.exp
2251 * gdb.python/py-evsignal.exp
2252 * gdb.python/python.exp
2253 * gdb.trace/tracecmd.exp
2254
2255 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
2256
2257 Fix test names starting with uppercase throughout the files.
2258
2259 * gdb.base/charset.exp
2260 * gdb.base/eval.exp
2261 * gdb.base/multi-forks.exp
2262 * gdb.guile/scm-progspace.exp
2263 * gdb.opencl/datatypes.exp
2264 * gdb.python/py-block.exp
2265 * gdb.python/py-function.exp
2266 * gdb.python/py-symbol.exp
2267 * gdb.python/py-symtab.exp
2268 * gdb.python/py-xmethods.exp
2269 * gdb.reverse/break-precsave.exp
2270 * gdb.reverse/break-reverse.exp
2271 * gdb.reverse/consecutive-precsave.exp
2272 * gdb.reverse/consecutive-reverse.exp
2273 * gdb.reverse/finish-precsave.exp
2274 * gdb.reverse/finish-reverse-bkpt.exp
2275 * gdb.reverse/finish-reverse.exp
2276 * gdb.reverse/fstatat-reverse.exp
2277 * gdb.reverse/getresuid-reverse.exp
2278 * gdb.reverse/i386-precsave.exp
2279 * gdb.reverse/i386-reverse.exp
2280 * gdb.reverse/i386-sse-reverse.exp
2281 * gdb.reverse/i387-stack-reverse.exp
2282 * gdb.reverse/insn-reverse.exp
2283 * gdb.reverse/machinestate-precsave.exp
2284 * gdb.reverse/machinestate.exp
2285 * gdb.reverse/next-reverse-bkpt-over-sr.exp
2286 * gdb.reverse/pipe-reverse.exp
2287 * gdb.reverse/readv-reverse.exp
2288 * gdb.reverse/recvmsg-reverse.exp
2289 * gdb.reverse/rerun-prec.exp
2290 * gdb.reverse/s390-mvcle.exp
2291 * gdb.reverse/sigall-precsave.exp
2292 * gdb.reverse/sigall-reverse.exp
2293 * gdb.reverse/solib-precsave.exp
2294 * gdb.reverse/solib-reverse.exp
2295 * gdb.reverse/step-precsave.exp
2296 * gdb.reverse/step-reverse.exp
2297 * gdb.reverse/time-reverse.exp
2298 * gdb.reverse/until-precsave.exp
2299 * gdb.reverse/until-reverse.exp
2300 * gdb.reverse/waitpid-reverse.exp
2301 * gdb.reverse/watch-precsave.exp
2302 * gdb.reverse/watch-reverse.exp
2303
2304 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
2305
2306 Fix test names starting with uppercase throughout the files.
2307
2308 * gdb.arch/i386-mpx-simple_segv.exp
2309 * gdb.arch/i386-mpx.exp
2310 * gdb.arch/i386-permbkpt.exp
2311 * gdb.arch/pa-nullify.exp
2312 * gdb.arch/powerpc-d128-regs.exp
2313 * gdb.arch/vsx-regs.exp
2314 * gdb.base/bfp-test.exp
2315 * gdb.base/break.exp
2316 * gdb.base/breakpoint-shadow.exp
2317 * gdb.base/callfuncs.exp
2318 * gdb.base/charset.exp
2319 * gdb.base/commands.exp
2320 * gdb.base/completion.exp
2321 * gdb.base/dfp-test.exp
2322 * gdb.base/echo.exp
2323 * gdb.base/ending-run.exp
2324 * gdb.base/eval.exp
2325 * gdb.base/expand-psymtabs.exp
2326 * gdb.base/float128.exp
2327 * gdb.base/floatn.exp
2328 * gdb.base/foll-exec-mode.exp
2329 * gdb.base/gdb1056.exp
2330 * gdb.base/gdb11531.exp
2331 * gdb.base/kill-after-signal.exp
2332 * gdb.base/multi-forks.exp
2333 * gdb.base/overlays.exp
2334 * gdb.base/pending.exp
2335 * gdb.base/sepdebug.exp
2336 * gdb.base/testenv.exp
2337 * gdb.base/valgrind-db-attach.exp
2338 * gdb.base/watch_thread_num.exp
2339 * gdb.base/watchpoint-cond-gone.exp
2340 * gdb.base/watchpoint.exp
2341 * gdb.base/watchpoints.exp
2342 * gdb.cp/arg-reference.exp
2343 * gdb.cp/baseenum.exp
2344 * gdb.cp/operator.exp
2345 * gdb.cp/shadow.exp
2346 * gdb.dwarf2/dw2-op-out-param.exp
2347 * gdb.dwarf2/dw2-reg-undefined.exp
2348 * gdb.go/chan.exp
2349 * gdb.go/hello.exp
2350 * gdb.go/integers.exp
2351 * gdb.go/methods.exp
2352 * gdb.go/package.exp
2353 * gdb.guile/scm-parameter.exp
2354 * gdb.guile/scm-progspace.exp
2355 * gdb.guile/scm-value.exp
2356 * gdb.mi/mi-pending.exp
2357 * gdb.mi/user-selected-context-sync.exp
2358 * gdb.multi/multi-attach.exp
2359 * gdb.multi/tids.exp
2360 * gdb.opt/clobbered-registers-O2.exp
2361 * gdb.pascal/floats.exp
2362 * gdb.pascal/integers.exp
2363 * gdb.python/py-block.exp
2364 * gdb.python/py-events.exp
2365 * gdb.python/py-parameter.exp
2366 * gdb.python/py-symbol.exp
2367 * gdb.python/py-symtab.exp
2368 * gdb.python/py-type.exp
2369 * gdb.python/py-value.exp
2370 * gdb.python/py-xmethods.exp
2371 * gdb.python/python.exp
2372 * gdb.reverse/break-precsave.exp
2373 * gdb.reverse/consecutive-precsave.exp
2374 * gdb.reverse/finish-precsave.exp
2375 * gdb.reverse/i386-precsave.exp
2376 * gdb.reverse/machinestate-precsave.exp
2377 * gdb.reverse/sigall-precsave.exp
2378 * gdb.reverse/solib-precsave.exp
2379 * gdb.reverse/step-precsave.exp
2380 * gdb.reverse/until-precsave.exp
2381 * gdb.reverse/watch-precsave.exp
2382 * gdb.server/ext-attach.exp
2383 * gdb.server/ext-restart.exp
2384 * gdb.server/ext-run.exp
2385 * gdb.server/ext-wrapper.exp
2386 * gdb.stabs/gdb11479.exp
2387 * gdb.stabs/weird.exp
2388 * gdb.threads/attach-many-short-lived-threads.exp
2389 * gdb.threads/kill.exp
2390 * gdb.threads/watchpoint-fork.exp
2391
2392 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
2393
2394 Fix test names starting with uppercase throughout all the files below.
2395
2396 * gdb.ada/array_return.exp
2397 * gdb.ada/catch_ex.exp
2398 * gdb.ada/info_exc.exp
2399 * gdb.ada/mi_catch_ex.exp
2400 * gdb.ada/mi_dyn_arr.exp
2401 * gdb.ada/mi_ex_cond.exp
2402 * gdb.ada/mi_exc_info.exp
2403 * gdb.ada/mi_interface.exp
2404 * gdb.ada/mi_task_arg.exp
2405 * gdb.ada/mi_task_info.exp
2406 * gdb.ada/mi_var_array.exp
2407 * gdb.arch/alpha-step.exp
2408 * gdb.arch/amd64-disp-step.exp
2409 * gdb.arch/arm-disp-step.exp
2410 * gdb.arch/disp-step-insn-reloc.exp
2411 * gdb.arch/e500-prologue.exp
2412 * gdb.arch/ftrace-insn-reloc.exp
2413 * gdb.arch/gdb1558.exp
2414 * gdb.arch/i386-bp_permanent.exp
2415 * gdb.arch/i386-disp-step.exp
2416 * gdb.arch/i386-float.exp
2417 * gdb.arch/i386-gnu-cfi.exp
2418 * gdb.arch/ia64-breakpoint-shadow.exp
2419 * gdb.arch/mips16-thunks.exp
2420 * gdb.arch/pa-nullify.exp
2421 * gdb.arch/powerpc-aix-prologue.exp
2422 * gdb.arch/powerpc-power.exp
2423 * gdb.arch/ppc-dfp.exp
2424 * gdb.arch/s390-tdbregs.exp
2425 * gdb.arch/spu-info.exp
2426 * gdb.arch/spu-ls.exp
2427 * gdb.arch/thumb-bx-pc.exp
2428 * gdb.base/advance.exp
2429 * gdb.base/annota-input-while-running.exp
2430 * gdb.base/arrayidx.exp
2431 * gdb.base/asmlabel.exp
2432 * gdb.base/async.exp
2433 * gdb.base/attach-wait-input.exp
2434 * gdb.base/auto-connect-native-target.exp
2435 * gdb.base/batch-preserve-term-settings.exp
2436 * gdb.base/bfp-test.exp
2437 * gdb.base/bigcore.exp
2438 * gdb.base/bp-permanent.exp
2439 * gdb.base/break-always.exp
2440 * gdb.base/break-fun-addr.exp
2441 * gdb.base/break-idempotent.exp
2442 * gdb.base/break-main-file-remove-fail.exp
2443 * gdb.base/break-probes.exp
2444 * gdb.base/break-unload-file.exp
2445 * gdb.base/break.exp
2446 * gdb.base/call-ar-st.exp
2447 * gdb.base/call-rt-st.exp
2448 * gdb.base/call-sc.exp
2449 * gdb.base/call-signal-resume.exp
2450 * gdb.base/call-strs.exp
2451 * gdb.base/callexit.exp
2452 * gdb.base/callfuncs.exp
2453 * gdb.base/catch-gdb-caused-signals.exp
2454 * gdb.base/catch-signal-siginfo-cond.exp
2455 * gdb.base/catch-syscall.exp
2456 * gdb.base/compare-sections.exp
2457 * gdb.base/cond-eval-mode.exp
2458 * gdb.base/condbreak-call-false.exp
2459 * gdb.base/consecutive-step-over.exp
2460 * gdb.base/cursal.exp
2461 * gdb.base/disabled-location.exp
2462 * gdb.base/disasm-end-cu.exp
2463 * gdb.base/display.exp
2464 * gdb.base/double-prompt-target-event-error.exp
2465 * gdb.base/dprintf-bp-same-addr.exp
2466 * gdb.base/dprintf-detach.exp
2467 * gdb.base/dprintf-next.exp
2468 * gdb.base/dprintf-non-stop.exp
2469 * gdb.base/dprintf-pending.exp
2470 * gdb.base/dso2dso.exp
2471 * gdb.base/ending-run.exp
2472 * gdb.base/enum_cond.exp
2473 * gdb.base/examine-backward.exp
2474 * gdb.base/exe-lock.exp
2475 * gdb.base/exec-invalid-sysroot.exp
2476 * gdb.base/execl-update-breakpoints.exp
2477 * gdb.base/execution-termios.exp
2478 * gdb.base/fileio.exp
2479 * gdb.base/fixsection.exp
2480 * gdb.base/foll-exec-mode.exp
2481 * gdb.base/foll-exec.exp
2482 * gdb.base/fork-running-state.exp
2483 * gdb.base/frame-args.exp
2484 * gdb.base/fullpath-expand.exp
2485 * gdb.base/func-ptr.exp
2486 * gdb.base/gcore-relro-pie.exp
2487 * gdb.base/gdb1090.exp
2488 * gdb.base/gdb1555.exp
2489 * gdb.base/global-var-nested-by-dso.exp
2490 * gdb.base/gnu-ifunc.exp
2491 * gdb.base/hbreak-in-shr-unsupported.exp
2492 * gdb.base/hbreak-unmapped.exp
2493 * gdb.base/hook-stop.exp
2494 * gdb.base/infcall-input.exp
2495 * gdb.base/info-fun.exp
2496 * gdb.base/info-shared.exp
2497 * gdb.base/interrupt-noterm.exp
2498 * gdb.base/jit-so.exp
2499 * gdb.base/jit.exp
2500 * gdb.base/line-symtabs.exp
2501 * gdb.base/list.exp
2502 * gdb.base/longjmp.exp
2503 * gdb.base/macscp.exp
2504 * gdb.base/max-value-size.exp
2505 * gdb.base/nodebug.exp
2506 * gdb.base/nofield.exp
2507 * gdb.base/overlays.exp
2508 * gdb.base/paginate-after-ctrl-c-running.exp
2509 * gdb.base/paginate-bg-execution.exp
2510 * gdb.base/paginate-inferior-exit.exp
2511 * gdb.base/pending.exp
2512 * gdb.base/pr11022.exp
2513 * gdb.base/printcmds.exp
2514 * gdb.base/ptr-typedef.exp
2515 * gdb.base/ptype.exp
2516 * gdb.base/randomize.exp
2517 * gdb.base/range-stepping.exp
2518 * gdb.base/realname-expand.exp
2519 * gdb.base/relativedebug.exp
2520 * gdb.base/remote.exp
2521 * gdb.base/savedregs.exp
2522 * gdb.base/sepdebug.exp
2523 * gdb.base/set-noassign.exp
2524 * gdb.base/shlib-call.exp
2525 * gdb.base/shreloc.exp
2526 * gdb.base/sigaltstack.exp
2527 * gdb.base/sigbpt.exp
2528 * gdb.base/siginfo-addr.exp
2529 * gdb.base/siginfo-obj.exp
2530 * gdb.base/siginfo-thread.exp
2531 * gdb.base/signest.exp
2532 * gdb.base/signull.exp
2533 * gdb.base/sigrepeat.exp
2534 * gdb.base/skip.exp
2535 * gdb.base/so-impl-ld.exp
2536 * gdb.base/solib-corrupted.exp
2537 * gdb.base/solib-disc.exp
2538 * gdb.base/solib-display.exp
2539 * gdb.base/solib-overlap.exp
2540 * gdb.base/solib-search.exp
2541 * gdb.base/solib-symbol.exp
2542 * gdb.base/source-execution.exp
2543 * gdb.base/sss-bp-on-user-bp-2.exp
2544 * gdb.base/sss-bp-on-user-bp.exp
2545 * gdb.base/stack-checking.exp
2546 * gdb.base/stale-infcall.exp
2547 * gdb.base/step-break.exp
2548 * gdb.base/step-line.exp
2549 * gdb.base/step-over-exit.exp
2550 * gdb.base/step-test.exp
2551 * gdb.base/structs.exp
2552 * gdb.base/sym-file.exp
2553 * gdb.base/symtab-search-order.exp
2554 * gdb.base/term.exp
2555 * gdb.base/type-opaque.exp
2556 * gdb.base/unload.exp
2557 * gdb.base/until-nodebug.exp
2558 * gdb.base/until.exp
2559 * gdb.base/unwindonsignal.exp
2560 * gdb.base/watch-cond.exp
2561 * gdb.base/watch-non-mem.exp
2562 * gdb.base/watch_thread_num.exp
2563 * gdb.base/watchpoint-reuse-slot.exp
2564 * gdb.base/watchpoint-solib.exp
2565 * gdb.base/watchpoint.exp
2566 * gdb.btrace/dlopen.exp
2567 * gdb.cell/arch.exp
2568 * gdb.cell/break.exp
2569 * gdb.cell/bt.exp
2570 * gdb.cell/core.exp
2571 * gdb.cell/data.exp
2572 * gdb.cell/dwarfaddr.exp
2573 * gdb.cell/ea-cache.exp
2574 * gdb.cell/ea-standalone.exp
2575 * gdb.cell/ea-test.exp
2576 * gdb.cell/f-regs.exp
2577 * gdb.cell/fork.exp
2578 * gdb.cell/gcore.exp
2579 * gdb.cell/mem-access.exp
2580 * gdb.cell/ptype.exp
2581 * gdb.cell/registers.exp
2582 * gdb.cell/sizeof.exp
2583 * gdb.cell/solib-symbol.exp
2584 * gdb.cell/solib.exp
2585 * gdb.compile/compile-tls.exp
2586 * gdb.cp/exception.exp
2587 * gdb.cp/gdb2495.exp
2588 * gdb.cp/local.exp
2589 * gdb.cp/mb-inline.exp
2590 * gdb.cp/mb-templates.exp
2591 * gdb.cp/pr10687.exp
2592 * gdb.cp/pr9167.exp
2593 * gdb.cp/scope-err.exp
2594 * gdb.cp/templates.exp
2595 * gdb.cp/virtfunc.exp
2596 * gdb.dwarf2/dw2-dir-file-name.exp
2597 * gdb.dwarf2/dw2-single-line-discriminators.exp
2598 * gdb.fortran/complex.exp
2599 * gdb.fortran/library-module.exp
2600 * gdb.guile/guile.exp
2601 * gdb.guile/scm-cmd.exp
2602 * gdb.guile/scm-frame-inline.exp
2603 * gdb.guile/scm-objfile.exp
2604 * gdb.guile/scm-pretty-print.exp
2605 * gdb.guile/scm-symbol.exp
2606 * gdb.guile/scm-type.exp
2607 * gdb.guile/scm-value.exp
2608 * gdb.linespec/keywords.exp
2609 * gdb.linespec/ls-errs.exp
2610 * gdb.linespec/macro-relative.exp
2611 * gdb.linespec/thread.exp
2612 * gdb.mi/mi-breakpoint-changed.exp
2613 * gdb.mi/mi-dprintf-pending.exp
2614 * gdb.mi/mi-fullname-deleted.exp
2615 * gdb.mi/mi-logging.exp
2616 * gdb.mi/mi-pending.exp
2617 * gdb.mi/mi-solib.exp
2618 * gdb.mi/new-ui-mi-sync.exp
2619 * gdb.mi/user-selected-context-sync.exp
2620 * gdb.multi/dummy-frame-restore.exp
2621 * gdb.multi/multi-arch-exec.exp
2622 * gdb.multi/remove-inferiors.exp
2623 * gdb.multi/watchpoint-multi-exit.exp
2624 * gdb.opt/solib-intra-step.exp
2625 * gdb.perf/backtrace.exp
2626 * gdb.perf/single-step.exp
2627 * gdb.perf/skip-command.exp
2628 * gdb.perf/skip-prologue.exp
2629 * gdb.perf/solib.exp
2630 * gdb.python/lib-types.exp
2631 * gdb.python/py-as-string.exp
2632 * gdb.python/py-bad-printers.exp
2633 * gdb.python/py-block.exp
2634 * gdb.python/py-breakpoint.exp
2635 * gdb.python/py-cmd.exp
2636 * gdb.python/py-events.exp
2637 * gdb.python/py-evthreads.exp
2638 * gdb.python/py-finish-breakpoint.exp
2639 * gdb.python/py-finish-breakpoint2.exp
2640 * gdb.python/py-frame-inline.exp
2641 * gdb.python/py-frame.exp
2642 * gdb.python/py-inferior.exp
2643 * gdb.python/py-infthread.exp
2644 * gdb.python/py-mi.exp
2645 * gdb.python/py-objfile.exp
2646 * gdb.python/py-pp-maint.exp
2647 * gdb.python/py-pp-registration.exp
2648 * gdb.python/py-prettyprint.exp
2649 * gdb.python/py-recurse-unwind.exp
2650 * gdb.python/py-shared.exp
2651 * gdb.python/py-symbol.exp
2652 * gdb.python/py-symtab.exp
2653 * gdb.python/py-template.exp
2654 * gdb.python/py-type.exp
2655 * gdb.python/py-unwind-maint.exp
2656 * gdb.python/py-unwind.exp
2657 * gdb.python/py-value.exp
2658 * gdb.python/python.exp
2659 * gdb.reverse/finish-reverse-bkpt.exp
2660 * gdb.reverse/insn-reverse.exp
2661 * gdb.reverse/next-reverse-bkpt-over-sr.exp
2662 * gdb.reverse/solib-precsave.exp
2663 * gdb.reverse/solib-reverse.exp
2664 * gdb.stabs/gdb11479.exp
2665 * gdb.stabs/weird.exp
2666 * gdb.threads/fork-child-threads.exp
2667 * gdb.threads/fork-plus-threads.exp
2668 * gdb.threads/fork-thread-pending.exp
2669 * gdb.threads/forking-threads-plus-breakpoint.exp
2670 * gdb.threads/hand-call-in-threads.exp
2671 * gdb.threads/interrupted-hand-call.exp
2672 * gdb.threads/linux-dp.exp
2673 * gdb.threads/local-watch-wrong-thread.exp
2674 * gdb.threads/next-while-other-thread-longjmps.exp
2675 * gdb.threads/non-ldr-exit.exp
2676 * gdb.threads/pending-step.exp
2677 * gdb.threads/print-threads.exp
2678 * gdb.threads/process-dies-while-detaching.exp
2679 * gdb.threads/process-dies-while-handling-bp.exp
2680 * gdb.threads/pthreads.exp
2681 * gdb.threads/queue-signal.exp
2682 * gdb.threads/reconnect-signal.exp
2683 * gdb.threads/signal-command-handle-nopass.exp
2684 * gdb.threads/signal-command-multiple-signals-pending.exp
2685 * gdb.threads/signal-delivered-right-thread.exp
2686 * gdb.threads/signal-sigtrap.exp
2687 * gdb.threads/sigthread.exp
2688 * gdb.threads/staticthreads.exp
2689 * gdb.threads/stepi-random-signal.exp
2690 * gdb.threads/thread-unwindonsignal.exp
2691 * gdb.threads/thread_check.exp
2692 * gdb.threads/thread_events.exp
2693 * gdb.threads/tid-reuse.exp
2694 * gdb.threads/tls-nodebug.exp
2695 * gdb.threads/tls-shared.exp
2696 * gdb.threads/tls-so_extern.exp
2697 * gdb.threads/tls.exp
2698 * gdb.threads/wp-replication.exp
2699 * gdb.trace/actions-changed.exp
2700 * gdb.trace/actions.exp
2701 * gdb.trace/backtrace.exp
2702 * gdb.trace/change-loc.exp
2703 * gdb.trace/collection.exp
2704 * gdb.trace/deltrace.exp
2705 * gdb.trace/disconnected-tracing.exp
2706 * gdb.trace/entry-values.exp
2707 * gdb.trace/ftrace-lock.exp
2708 * gdb.trace/ftrace.exp
2709 * gdb.trace/infotrace.exp
2710 * gdb.trace/mi-trace-frame-collected.exp
2711 * gdb.trace/mi-trace-unavailable.exp
2712 * gdb.trace/mi-traceframe-changed.exp
2713 * gdb.trace/mi-tracepoint-changed.exp
2714 * gdb.trace/mi-tsv-changed.exp
2715 * gdb.trace/no-attach-trace.exp
2716 * gdb.trace/packetlen.exp
2717 * gdb.trace/passc-dyn.exp
2718 * gdb.trace/passcount.exp
2719 * gdb.trace/pending.exp
2720 * gdb.trace/pr16508.exp
2721 * gdb.trace/qtro.exp
2722 * gdb.trace/range-stepping.exp
2723 * gdb.trace/read-memory.exp
2724 * gdb.trace/report.exp
2725 * gdb.trace/save-trace.exp
2726 * gdb.trace/signal.exp
2727 * gdb.trace/stap-trace.exp
2728 * gdb.trace/status-stop.exp
2729 * gdb.trace/strace.exp
2730 * gdb.trace/tfile.exp
2731 * gdb.trace/tfind.exp
2732 * gdb.trace/trace-break.exp
2733 * gdb.trace/trace-condition.exp
2734 * gdb.trace/trace-enable-disable.exp
2735 * gdb.trace/trace-mt.exp
2736 * gdb.trace/tracecmd.exp
2737 * gdb.trace/tracefile-pseudo-reg.exp
2738 * gdb.trace/tspeed.exp
2739 * gdb.trace/tstatus.exp
2740 * gdb.trace/tsv.exp
2741 * gdb.trace/unavailable.exp
2742 * gdb.trace/while-dyn.exp
2743 * gdb.trace/while-stepping.exp
2744 * lib/gdb-guile.exp
2745 * lib/gdb.exp
2746 * lib/mi-support.exp
2747 * lib/pascal.exp
2748 * lib/perftest.exp
2749 * lib/prelink-support.exp
2750 * lib/selftest-support.exp
2751
2752 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
2753
2754 * Makefile.in: Include disable-implicit-rules.mk.
2755
2756 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2757
2758 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
2759 non-byte-aligned bit fields.
2760
2761 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2762
2763 PR gdb/12616
2764 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
2765 respects the DW_AT_data_bit_offset attribute.
2766
2767 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
2768
2769 * gdb.base/default.exp: Fix output of "set language".
2770
2771 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
2772
2773 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
2774 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
2775 make.
2776 * configure.ac: Remove checks for the make program.
2777 * configure: Re-generate.
2778
2779 2016-11-16 Kevin Buettner <kevinb@redhat.com>
2780
2781 * gdb.python/py-recurse-unwind.c (main): Add loop.
2782 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
2783 to read_register() and gdb.parse_and_eval(). Make each code
2784 call a separate case that can be individually tested.
2785 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
2786 proc. Call cont_and_backtrace for each of the code paths that
2787 we want to test in the unwinder.
2788
2789 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
2790
2791 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
2792 the definition of struct S.
2793
2794 2016-11-11 Catherine Moore <clm@codesourcery.com>
2795
2796 * gdb.base/dump.exp: Identify verilog format dump tests as such.
2797
2798 2016-11-09 Pedro Alves <palves@redhat.com>
2799
2800 * gdb.base/commands.exp (runto_or_return): New procedure.
2801 (gdbvar_simple_if_test, gdbvar_simple_while_test)
2802 (gdbvar_complex_if_while_test, progvar_simple_if_test)
2803 (progvar_simple_while_test, progvar_complex_if_while_test)
2804 (if_while_breakpoint_command_test)
2805 (infrun_breakpoint_command_test, breakpoint_command_test)
2806 (user_defined_command_test, watchpoint_command_test)
2807 (test_command_prompt_position, redefine_hook_test)
2808 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
2809 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
2810 multi_line_input and multi_line. Remove gdb_expect and
2811 gdb_stop_suppressing_tests uses.
2812 * lib/gdb.exp (valnum_re): New global.
2813 (multi_line_input): New procedure.
2814
2815 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
2816
2817 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
2818 Remove.
2819 (test_setup): Define with proc_with_prefix.
2820 (test_cli_inferior): Likewise.
2821 (test_cli_thread): Likewise.
2822 (test_cli_frame): Likewise.
2823 (test_cli_select_frame): Likewise.
2824 (test_cli_up_down): Likewise.
2825 (test_mi_thread_select): Likewise.
2826 (test_mi_stack_select_frame): Likewise.
2827 (test_cli_in_mi_inferior): Likewise.
2828 (test_cli_in_mi_thread): Likewise.
2829 (test_cli_in_mi_frame): Likewise.
2830 (top level): Do not use with_test_prefix_procname.
2831
2832 2016-11-09 Pedro Alves <palves@redhat.com>
2833
2834 * gdb.base/commands.exp (gdbvar_simple_if_test)
2835 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
2836 (progvar_simple_if_test, progvar_simple_while_test)
2837 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
2838 (infrun_breakpoint_command_test, breakpoint_command_test)
2839 (user_defined_command_test, watchpoint_command_test)
2840 (test_command_prompt_position, deprecated_command_test)
2841 (bp_deleted_in_command, temporary_breakpoint_commands)
2842 (stray_arg0_test, source_file_with_indented_comment)
2843 (recursive_source_test, if_commands_test)
2844 (error_clears_commands_left, redefine_hook_test)
2845 (redefine_backtrace_test): Use proc_with_prefix.
2846 * lib/gdb.exp (proc_with_prefix): New proc.
2847
2848 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
2849
2850 * gdb.base/tui-layout.c: New file.
2851 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
2852 disassembly window contains very long lines.
2853
2854 2016-11-08 Tom Tromey <tom@tromey.com>
2855
2856 * gdb.python/py-value.exp (test_value_creation): Make "long" test
2857 depend on Python 2.
2858
2859 2016-11-08 Tom Tromey <tom@tromey.com>
2860
2861 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
2862 New method.
2863
2864 2016-10-29 Manish Goregaokar <manish@mozilla.com>
2865
2866 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
2867
2868 2016-10-27 Manish Goregaokar <manish@mozilla.com>
2869
2870 * gdb.rust/simple.rs: Add test for univariant enums without
2871 discriminants and for encoded struct-like enums.
2872
2873 2016-10-28 Pedro Alves <palves@redhat.com>
2874
2875 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
2876 gdb_test_multiple, tighten regexps and match symtabs and line
2877 tables incrementally.
2878
2879 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
2880
2881 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
2882 general.
2883
2884 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
2885
2886 * gdb.base/exec-invalid-sysroot.exp: New file.
2887
2888 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2889
2890 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
2891
2892 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2893
2894 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
2895
2896 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
2897
2898 * gdb.base/killed-outside.exp: Remove $options from a call to
2899 `prepare_for_testing'.
2900
2901 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
2902
2903 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
2904 Change test message.
2905
2906 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
2907
2908 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
2909 Update comment.
2910
2911 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
2912
2913 * gdb.trace/mi-trace-save.exp: New file.
2914
2915 2016-10-13 Yao Qi <yao.qi@linaro.org>
2916
2917 * gdb.base/code_elim.exp (get_var_address): Remove.
2918 * gdb.base/relocate.exp: Likewise.
2919 * gdb.base/shreloc.exp: Likewise.
2920 * lib/gdb.exp (get_var_address): New.
2921
2922 2016-10-13 Yao Qi <yao.qi@linaro.org>
2923
2924 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
2925 floating point tests if $skip_float_test is false.
2926
2927 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
2928
2929 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
2930 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
2931 argc values.
2932 Add 1 to argc so we guarantee distinct initial/modified argc values.
2933
2934 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2935
2936 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
2937
2938 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2939
2940 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
2941 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
2942 * gdb.arch/vsx-regs.exp: Likewise.
2943
2944 2016-10-07 Yao Qi <yao.qi@linaro.org>
2945
2946 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
2947
2948 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
2949
2950 * gdb.python/python.exp: Test decode_line("*0").
2951
2952 2016-10-06 Doug Evans <dje@google.com>
2953
2954 * gdb.python/py-value.exp (test_value_creation): Add test for large
2955 unsigned 64-bit value.
2956
2957 2016-10-06 Tom Tromey <tom@tromey.com>
2958
2959 * gdb.compile/compile.exp: Change java tests to rust.
2960 * gdb.base/setshow.exp: Change java tests to rust.
2961 * gdb.base/default.exp: Remove java from language list.
2962 * README (Examples): Update language example.
2963 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
2964 test.
2965 * lib/gdb.exp (skip_java_tests): Remove.
2966 * lib/java.exp: Remove.
2967 * gdb.java: Remove.
2968
2969 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
2970
2971 * gdb.arch/mips-fcr.exp: New test.
2972 * gdb.arch/mips-fcr.c: Source for the new test.
2973
2974 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
2975
2976 * gdb.base/solib-disc.exp: Use `standard_output_file'
2977 throughout.
2978
2979 2016-10-06 Pedro Alves <palves@redhat.com>
2980
2981 * gdb.base/jit-simple-dl.c: New file.
2982 * gdb.base/jit-simple-jit.c: New file, factored out from ...
2983 * gdb.base/jit-simple.c: ... this.
2984 * gdb.base/jit-simple.exp (jit_run): Delete.
2985 (build_jit): New proc.
2986 (jit_test_reread): Recompile either the main program or the shared
2987 library, depending on what is being tested. Skip changing address
2988 if caller wants to. Compare before/after addresses. If testing
2989 standalone, explicitly load the binary. Test "maint info
2990 breakpoints".
2991 (top level): Add "standalone vs shared lib" and "change address"
2992 vs "same address" axes.
2993
2994 2016-10-06 Pedro Alves <palves@redhat.com>
2995
2996 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
2997 call.
2998 (jit_run): Delete.
2999 (jit_test_reread): Use with_test_prefix. Reload the main binary
3000 explicitly. Compare the before/after addresses of the JIT
3001 descriptor.
3002
3003 2016-08-15 Doug Evans <dje@google.com>
3004
3005 * gdb.xml/extra-regs.xml: Update, end field now required, default type
3006 for single bitfields is bool.
3007 * gdb.xml/tdesc-regs.exp: Ditto.
3008
3009 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3010
3011 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
3012
3013 2016-10-05 Yao Qi <yao.qi@linaro.org>
3014
3015 * lib/gdb.exp (support_complex_tests): Return zero if
3016 gdb_skip_float_test return true.
3017
3018 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
3019 Simon Marchi <simon.marchi@ericsson.com>
3020
3021 PR gdb/20487
3022 * gdb.mi/user-selected-context-sync.exp: New file.
3023 * gdb.mi/user-selected-context-sync.c: New file.
3024
3025 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
3026 Simon Marchi <simon.marchi@ericsson.com>
3027
3028 PR gdb/20487
3029 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
3030 =thread-select-event check.
3031
3032 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
3033
3034 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
3035 the compulsory L operand changes.
3036 * gdb.arch/powerpc-power.s: Likewise.
3037
3038 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
3039
3040 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
3041 * gdb.base/jit-attach-pie.c: New file.
3042 * gdb.base/jit-attach-pie.exp: New file.
3043
3044 2016-09-28 Pedro Alves <palves@redhat.com>
3045
3046 * gdb.base/infcall-input.c: New file.
3047 * gdb.base/infcall-input.exp: New file.
3048
3049 2016-09-22 Yao Qi <yao.qi@linaro.org>
3050
3051 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
3052 (gdb_exit): Rename it to ...
3053 (gdbserver_gdb_exit): ... Close GDBserver.
3054 (gdb_exit): New proc, call gdbserver_gdb_exit.
3055 (mi_gdb_exit): Likewise.
3056
3057 2016-09-22 Yao Qi <yao.qi@linaro.org>
3058
3059 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
3060 path.
3061 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
3062 Remove duplication.
3063
3064 2016-09-22 Yao Qi <yao.qi@linaro.org>
3065
3066 * lib/gdbserver-support.exp: Check the existence of
3067 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
3068
3069 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
3070
3071 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
3072
3073 2016-09-21 Tom Tromey <tom@tromey.com>
3074
3075 PR gdb/20604:
3076 * gdb.base/quit.exp: New file.
3077
3078 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
3079
3080 * .gitignore: New file.
3081
3082 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
3083
3084 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
3085 throughout.
3086
3087 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3088
3089 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
3090
3091 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3092
3093 * gdb.cp/casts.cc (decltype): Move it ...
3094 (main): ... with its call to ...
3095 * gdb.cp/casts03.cc: ... a new file.
3096 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
3097
3098 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3099
3100 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
3101
3102 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
3103
3104 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
3105 and sync up the test with tests in gas/testsuite/gas/ppc.
3106 * gdb.arch/powerpc-power.exp: Likewise.
3107
3108 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3109
3110 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
3111
3112 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
3113 Jan Kratochvil <jan.kratochvil@redhat.com>
3114
3115 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
3116 make m1's definition to be different from m2's. Use 'dummy' as an
3117 argument for probe 'two'.
3118
3119 2016-09-10 Jon Beniston <jon@beniston.com>
3120
3121 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
3122 for sim target.
3123
3124 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
3125
3126 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
3127 variable declaration.
3128 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
3129 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
3130 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
3131 received HWCAP as its argument.
3132
3133 2016-09-06 Pedro Alves <palves@redhat.com>
3134
3135 * gdb.base/new-ui-pending-input.c: New file.
3136 * gdb.base/new-ui-pending-input.exp: New file.
3137 * gdb.exp (clear_gdb_spawn_id): New procedure.
3138 (with_spawn_id): Check whether gdb_spawn_id exists before
3139 referencing it. If gdb_spawn_id didn't exist on entry, clear it
3140 on exit.
3141
3142 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
3143
3144 * gdb.base/float128.c: New file.
3145 * gdb.base/float128.exp: Likewise.
3146 * gdb.base/floatn.c: Likewise.
3147 * gdb.base/floatn.exp: Likewise.
3148
3149 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
3150
3151 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
3152
3153 2016-09-05 Pedro Alves <palves@redhat.com>
3154
3155 PR backtrace/19927
3156 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
3157 unwinders are immediately called as side effect of "source" or
3158 "disable unwinder" commands.
3159 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
3160
3161 2016-09-02 Yao Qi <yao.qi@linaro.org>
3162
3163 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
3164 is true and $type is "float" or "double".
3165
3166 2016-09-02 Yao Qi <yao.qi@linaro.org>
3167
3168 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
3169 true.
3170 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
3171 * gdb.base/call-rt-st.exp: Likewise.
3172 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
3173 return value instead of gdb,skip_float_test.
3174 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
3175 (do_function_calls): Use its return value instead of
3176 gdb,skip_float_test.
3177 * gdb.base/finish.exp: Likewise.
3178 * gdb.base/funcargs.exp: Likewise.
3179 * gdb.base/return.exp: Likewise.
3180 * gdb.base/return2.exp: Likewise.
3181 * gdb.base/varargs.exp: Likewise.
3182 * lib/gdb.exp (gdb_skip_float_test): Change it to
3183 gdb_caching_proc. Detect the broken ptrace on arm-linux.
3184
3185 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
3186
3187 * gdb.multi/tids.exp: Test "thread apply all".
3188
3189 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
3190
3191 * gdb.base/default.exp (tty): Remove.
3192
3193 2016-08-24 Kevin Buettner <kevinb@redhat.com>
3194
3195 * gdb.python/py-recurse-unwind.c: New file.
3196 * gdb.python/py-recurse-unwind.py: New file.
3197 * gdb.python/py-recurse-unwind.exp: New file.
3198
3199 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
3200
3201 * gdb.base/set-inferior-tty.exp: New file.
3202 * gdb.base/set-inferior-tty.c: New file.
3203
3204 2016-08-23 Pedro Alves <palves@redhat.com>
3205
3206 PR gdb/20494
3207 * gdb.base/new-ui-echo.c: New file.
3208 * gdb.base/new-ui-echo.exp: New file.
3209
3210 2016-08-23 Yao Qi <yao.qi@linaro.org>
3211
3212 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
3213 gdbserver_spawn.
3214 * gdb.server/connect-without-multi-process.exp (do_test):
3215 Likewise.
3216
3217 2016-08-23 Yao Qi <yao.qi@linaro.org>
3218
3219 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
3220 standalone_txt. Delete gdb_txt and standalone_txt on host
3221 and target. Spawn the binary on target. Copy files from
3222 target to host.
3223
3224 2016-08-22 Pedro Alves <palves@redhat.com>
3225
3226 PR gdb/20505
3227 * gdb.base/vdso-warning.exp: Test core dumps too. Use
3228 with_test_prefix. Factor out bits to ...
3229 (test_no_vdso): ... this new procedure.
3230
3231 2016-08-19 Carl Love <cel@us.ibm.com>
3232
3233 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
3234 maintaining separate logic for constructing the output path.
3235 * gdb.arch/powerpc-d128-regs.exp: Likewise.
3236 * gdb.arch/ppc-dfp.exp: Likewise.
3237 * gdb.arch/ppc-fp.exp: Likewise.
3238 * gdb.arch/vsx-regs.exp: Likewise.
3239 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
3240 binprefix for generating the additional binary files.
3241
3242 2016-08-19 Pedro Alves <palves@redhat.com>
3243
3244 * gdb.trace/mi-trace-frame-collected.exp
3245 (test_trace_frame_collected): On x32, expect two registers.
3246
3247 2016-08-18 Carl Love <cel@us.ibm.com>
3248
3249 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
3250 and sync up the test with tests in gas/testsuite/gas/ppc.
3251 * gdb.arch/powerpc-power.exp: Likewise.
3252
3253 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
3254
3255 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
3256 expected error message.
3257
3258 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
3259
3260 * gdb.multi/remove-inferiors.exp: New file.
3261 * gdb.multi/remove-inferiors.c: New file.
3262
3263 2016-08-12 Yao Qi <yao.qi@linaro.org>
3264
3265 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
3266 argument list.
3267
3268 2016-08-10 Pedro Alves <palves@redhat.com>
3269
3270 PR gdb/19187
3271 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
3272 setup_kfails.
3273
3274 2016-08-09 Pedro Alves <palves@redhat.com>
3275 Simon Marchi <simon.marchi@ericsson.com>
3276
3277 PR gdb/20418
3278 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
3279 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
3280
3281 2016-08-09 Pedro Alves <palves@redhat.com>
3282
3283 PR mi/20431
3284 * gdb.mi/mi-cmd-error.exp: New file.
3285
3286 2016-08-09 Pedro Alves <palves@redhat.com>
3287
3288 PR gdb/18653
3289 * gdb.base/signals-state-child.c: New file.
3290 * gdb.base/signals-state-child.exp: New file.
3291 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
3292
3293 2016-08-09 Pedro Alves <palves@redhat.com>
3294
3295 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
3296
3297 2016-08-03 Tom Tromey <tom@tromey.com>
3298
3299 PR python/18565:
3300 * gdb.python/py-frame-inline.exp: Add Frame.function test.
3301
3302 2016-08-01 Yao Qi <yao.qi@linaro.org>
3303
3304 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
3305 variable mode to "multi-process" if $multi_process is 1, otherwise
3306 set it to "single-process".
3307
3308 2016-08-01 Yao Qi <yao.qi@linaro.org>
3309
3310 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
3311 * gdb.cp/cpexprs.exp: Likewise.
3312 * gdb.cp/m-static.exp: Likewise.
3313
3314 2016-07-26 Tom Tromey <tom@tromey.com>
3315
3316 PR python/20190:
3317 * gdb.threads/tls.exp (check_thread_local): Add python symbol
3318 test.
3319
3320 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
3321
3322 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
3323 selecting assembly source files.
3324 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
3325 assembly source files.
3326 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
3327 assembly source files.
3328 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
3329 selecting assembly source files.
3330
3331 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
3332
3333 * gdb.base/new-ui.exp (do_test_invalid_args): New
3334 procedure.
3335
3336 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
3337
3338 * gdb.btrace/reconnect.c: New file.
3339 * gdb.btrace/reconnect.exp: New file.
3340
3341 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
3342
3343 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
3344 to test_catch_syscall_group.
3345 (test_catch_syscall_group): New.
3346
3347 2016-07-21 Tom Tromey <tom@tromey.com>
3348
3349 * gdb.rust/simple.rs (main): Use empty struct expression.
3350 * gdb.rust/simple.exp: Add tests for empty struct expression.
3351
3352 2016-07-21 Yao Qi <yao.qi@linaro.org>
3353
3354 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
3355 if gdb_skip_xml_test is true on some targets.
3356
3357 2016-07-21 Yao Qi <yao.qi@linaro.org>
3358
3359 * gdb.server/solib-list.exp: Unset last_loaded_file.
3360
3361 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3362
3363 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
3364 "step into captured_main (args)".
3365
3366 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3367
3368 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
3369
3370 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3371
3372 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
3373
3374 2016-07-19 Pedro Alves <palves@redhat.com>
3375
3376 * gdb.opt/inline-break.exp: Remove optimize=-O2.
3377 * gdb.opt/inline-bt.exp: Likewise.
3378 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
3379 additional_flags=-Winline.
3380 * gdb.opt/inline-locals.exp: Likewise.
3381 * gdb.opt/inline-markers.c (ATTR): Define.
3382 (inlined_fn): Use it.
3383
3384 2016-07-19 Yao Qi <yao.qi@linaro.org>
3385
3386 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
3387 (test_with_self): Remove some code. Remove argument executable.
3388 (top-level): Use do_self_tests.
3389
3390 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
3391 Don Breazeal <donb@codesourcery.com>
3392
3393 * gdb.base/maint.exp: Escape paths used in regular expressions.
3394 * gdb.stabs/weird.exp: Likewise.
3395
3396 2016-07-13 Tom Tromey <tom@tromey.com>
3397
3398 PR python/15620, PR python/18620:
3399 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
3400 (test_bkpt_events): New procs.
3401
3402 2016-07-13 Tom Tromey <tom@tromey.com>
3403
3404 PR python/17698:
3405 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
3406 test.
3407 (test_watchpoints): Likewise.
3408 (test_bkpt_pending): New proc.
3409
3410 2016-07-13 Tom Tromey <tom@tromey.com>
3411
3412 PR cli/18053:
3413 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
3414 completion test.
3415
3416 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3417
3418 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
3419 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
3420 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
3421 f_label.
3422 (g): Rename g_end_lbl to g_label.
3423 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
3424 low_pc and high_pc.
3425 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
3426
3427 2016-07-12 Tom Tromey <tom@tromey.com>
3428
3429 PR python/19293:
3430 * gdb.python/py-unwind-maint.exp: Update tests.
3431
3432 2016-07-12 Yao Qi <yao.qi@linaro.org>
3433
3434 * lib/selftest-support.exp (selftest_setup): Match the output
3435 when captured_main is inlined.
3436
3437 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
3438
3439 * gdb.fortran/derived-types.exp (result_line, result_line_2):
3440 New variables.
3441 (print this%a, print this%b, print this): New tests.
3442 * gdb.fortran/derived-types.f90 (this): New object and
3443 initialization.
3444
3445 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
3446
3447 * gdb.ada/arraydim.exp: Remove extra directory level in build
3448 directory.
3449
3450 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
3451
3452 * lib/ada.exp: Remove extra directory level in build directory.
3453 * gdb.ada/cond_lang.exp: Likewise.
3454 * gdb.ada/exec_changed.exp: Likewise.
3455 * gdb.ada/lang_switch.exp: Likewise.
3456
3457 2016-07-06 Manish Goregaokar <manish@mozilla.com>
3458
3459 * simple.rs: Add test for raw pointer subscripting.
3460 * simple.exp: Add test expectations.
3461
3462 2016-07-05 Yao Qi <yao.qi@linaro.org>
3463
3464 * gdb.mi/mi-reverse.exp: Match =record-started output.
3465
3466 2016-07-01 Pedro Alves <palves@redhat.com>
3467
3468 * gdb.base/jit-reader.exp (info_registers_current_frame): New
3469 procedure.
3470 (jit_reader_test): Test the jit reader's unwinder.
3471 * gdb.base/jithost.c (jit_function_00_code): New global.
3472 (main): Use memcpy to fill in the mmapped code, instead of poking
3473 bytes manually here.
3474 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
3475 value.
3476 (read_debug_info): Save the function's range.
3477 (read_sp): New function.
3478 (unwind_frame): Use it. Also unwind RBP.
3479 (get_frame_id): Use read_sp.
3480 (gdb_init_reader): Use calloc instead of malloc.
3481 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
3482 parameter. Use gdb_test_multiple.
3483
3484 2016-07-01 Pedro Alves <palves@redhat.com>
3485 Antoine Tremblay <antoine.tremblay@ericsson.com>
3486
3487 * gdb.threads/process-dies-while-detaching.c: New file.
3488 * gdb.threads/process-dies-while-detaching.exp: New file.
3489
3490 2016-07-01 Pedro Alves <palves@redhat.com>
3491
3492 * gdb.multi/watchpoint-multi-exit.c: New file.
3493 * gdb.multi/watchpoint-multi-exit.exp: New file.
3494
3495 2016-06-30 Pedro Alves <palves@redhat.com>
3496
3497 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
3498 unset inferior_spawn_id.
3499
3500 2016-06-30 Pedro Alves <palves@redhat.com>
3501
3502 * lib/mi-support.exp (default_mi_gdb_start): Declare global
3503 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
3504
3505 2016-06-29 Yao Qi <yao.qi@linaro.org>
3506
3507 * gdb.base/return.c: Add copyright header.
3508
3509 2016-06-29 Tom Tromey <tom@tromey.com>
3510
3511 PR python/20129:
3512 * gdb.python/py-framefilter.exp: Add tests for setting priority
3513 and disabling of non-existent frame filter.
3514
3515 2016-06-29 Yao Qi <yao.qi@linaro.org>
3516
3517 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
3518 0x0f07ff.
3519
3520 2016-06-28 Yao Qi <yao.qi@linaro.org>
3521
3522 * gdb.base/catch-syscall.exp: Remove check on isnative and target
3523 triplets. Start gdb, execute catch syscall, and continue. Check
3524 gdb's output to determine catch syscall is supported.
3525
3526 2016-06-27 Manish Goregaokar <manish@mozilla.com>
3527
3528 * gdb.rust/simple.rs: Add test for returning unit in a function.
3529 * gdb.rust/simple.exp: Add expectation for functions returning
3530 unit.
3531
3532 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
3533
3534 * gdb.python/py-breakpoint-create-fail.c,
3535 gdb.python/py-breakpoint-create-fail.exp,
3536 gdb.python/py-breakpoint-create-fail.py: New testcase.
3537
3538 2016-06-25 Manish Goregaokar <manish@mozilla.com>
3539
3540 PR gdb/20239
3541 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
3542 * gdb.rust/simple.exp: Add test expectations for new NonZero
3543 tests.
3544
3545 2016-06-24 David Taylor <dtaylor@emc.com>
3546
3547 * gdb.base/offsets.exp: New file.
3548 * gdb.base/offsets.c: New file.
3549
3550 2016-06-23 Tom Tromey <tom@tromey.com>
3551
3552 PR gdb/16483:
3553 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
3554 before any filters are loaded.
3555
3556 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
3557
3558 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
3559 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
3560 structs.
3561 * gdb.fortran/derived-type-function.exp: New file.
3562 * gdb.fortran/derived-type-function.f90: New file.
3563
3564
3565 2016-06-21 Pedro Alves <palves@redhat.com>
3566
3567 * gdb.base/new-ui.exp: New file.
3568 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
3569 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
3570 (with_spawn_id): New procedure.
3571
3572 2016-06-21 Pedro Alves <palves@redhat.com>
3573
3574 * gdb.mi/mi-exec-run.exp: New file.
3575
3576 2016-06-21 Pedro Alves <palves@redhat.com>
3577
3578 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
3579 breakpoint command's output on the main UI.
3580 (test_break): New procedure, factored out from calls in the top
3581 level.
3582 (top level): Use foreach_with_prefix to test MI as main UI and as
3583 separate UI.
3584
3585 2016-06-21 Pedro Alves <palves@redhat.com>
3586
3587 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
3588 (test_awatch_creation_and_listing)
3589 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
3590 Remove 'type' parameter.
3591 (test_watchpoint_all): New parameter mi_mode. Remove
3592 with_test_prefix.
3593 (top level): Use foreach_with_prefix, and add main/separate UI MI
3594 testing axis.
3595
3596 2016-06-21 Pedro Alves <palves@redhat.com>
3597
3598 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
3599 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
3600 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
3601 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
3602 (gdb_main_spawn_id, mi_spawn_id): Declare and
3603 comment.
3604 (mi_create_inferior_pty): New procedure,
3605 factored out from default_mi_gdb_start.
3606 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
3607 procedures.
3608 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
3609 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
3610 Use mi_create_inferior_pty.
3611 (mi_gdb_start): Use eval to pass down args list.
3612
3613 2016-06-21 Pedro Alves <palves@redhat.com>
3614
3615 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
3616 * gdb.opt/inline-cmds.exp: Add MI tests.
3617
3618 2016-06-21 Pedro Alves <palves@redhat.com>
3619
3620 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
3621
3622 2016-06-21 Pedro Alves <palves@redhat.com>
3623
3624 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
3625 (top level): Use it instead of mi_execute_to.
3626
3627 2016-06-21 Pedro Alves <palves@redhat.com>
3628
3629 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
3630 (cont_handler_str): New.
3631 (signal_stop_handler): Set stop_handler_str instead of printing to
3632 stdout.
3633 (continue_handler): Set cont_handler_str instead of printing to
3634 stdout.
3635 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
3636 mi_send_resuming_command. Print stop_handler_str and
3637 cont_handler_str instead of expecting the python events print
3638 directly.
3639
3640 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
3641
3642 * gdb.base/jit-reader.exp: New file.
3643 * gdb.base/jithost.c: New file.
3644 * gdb.base/jithost.h: New file.
3645 * gdb.base/jitreader.c : New file.
3646 * gdb.base/jit-protocol.h: New file.
3647
3648 2016-06-17 Yao Qi <yao.qi@linaro.org>
3649
3650 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
3651 parameters follow_fork and detach_on_fork. Set follow-fork-mode
3652 and detach-on-fork. Adjust tests.
3653 (top level): Invoke break_cond_on_syscall with combinations of
3654 syscall, follow-fork-mode and detach-on-fork.
3655
3656 2016-06-17 Yao Qi <yao.qi@linaro.org>
3657
3658 * gdb.base/step-over-exit.c: New.
3659 * gdb.base/step-over-exit.exp: New.
3660
3661 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
3662
3663 * gdb.base/float.exp: Add target check for nds32*-*-*.
3664 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
3665
3666 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
3667
3668 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
3669 for unsupported target features.
3670 * gdb.base/call-rt-st.exp: Likewise.
3671 * gdb.base/call-sc.exp: Likewise.
3672 * gdb.base/call-signal-resume.exp: Likewise.
3673 * gdb.base/call-strs.exp: Likewise.
3674 * gdb.base/callexit.exp: Likewise.
3675 * gdb.base/callfuncs.exp: Likewise.
3676 * gdb.base/nodebug.exp: Likewise.
3677 * gdb.base/printcmds.exp: Likewise.
3678 * gdb.base/ptype.exp: Likewise.
3679 * gdb.base/structs.exp: Likewise.
3680 * gdb.base/unwindonsignal.exp: Likewise.
3681 * gdb.cp/gdb2495.exp: Likewise.
3682 * gdb.cp/templates.exp: Likewise.
3683 * gdb.cp/virtfunc.exp: Likewise.
3684 * gdb.threads/hand-call-in-threads.exp: Likewise.
3685 * gdb.threads/interrupted-hand-call.exp: Likewise.
3686 * gdb.threads/thread-unwindonsignal.exp: Likewise.
3687
3688 2016-06-10 Tom Tromey <tom@tromey.com>
3689
3690 PR rust/20110:
3691 * gdb.rust/expr.exp: Add test for integer constant larger than
3692 i32.
3693
3694 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
3695
3696 * gdb.fortran/nested-funcs.exp: New.
3697 * gdb.fortran/nested-funcs.f90: New.
3698
3699 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
3700
3701 * gdb.base/examine-backward.c: New file.
3702 * gdb.base/examine-backward.exp: New file.
3703
3704 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
3705
3706 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
3707 matching.
3708
3709 2016-06-02 Tom Tromey <tom@tromey.com>
3710
3711 PR python/18984:
3712 * gdb.python/py-shared.exp: Add solib_name test.
3713
3714 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
3715
3716 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
3717
3718 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
3719
3720 PR c++/19893
3721 * gdb.dwarf2/implref.exp: Rename to...
3722 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
3723 * gdb.dwarf2/implref-array.c: New file.
3724 * gdb.dwarf2/implref-array.exp: Likewise.
3725 * gdb.dwarf2/implref-global.c: Likewise.
3726 * gdb.dwarf2/implref-global.exp: Likewise.
3727 * gdb.dwarf2/implref-struct.c: Likewise.
3728 * gdb.dwarf2/implref-struct.exp: Likewise.
3729
3730 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
3731
3732 * gdb.trace/trace-condition.exp: Add 64bit tests.
3733
3734 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
3735
3736 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
3737 bits types.
3738 (main): Adapt to 8 to 64 bits types.
3739 * gdb.trace/trace-condition.exp: Add new tests.
3740
3741 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
3742
3743 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
3744
3745 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
3746
3747 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
3748 Move condition tests...
3749 * gdb.trace/trace-condition.exp: Here.
3750
3751 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
3752
3753 * gdb.trace/trace-condition.exp: Add counter-case tests.
3754
3755 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
3756
3757 PR c++/15231
3758 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
3759 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
3760
3761 2016-05-27 Pedro Alves <palves@redhat.com>
3762
3763 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
3764 New procedure.
3765 (top level): Call it, and bail out of DejaGnu is known to be bad.
3766
3767 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
3768
3769 * gdb.base/whatis.c: Extend the test case.
3770 * gdb.base/whatis.exp: Add additional tests.
3771
3772 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3773
3774 * gdb.fortran/type.f90: Add pointer variable.
3775 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
3776
3777 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3778
3779 * gdb.fortran/vla-type.exp: Fix testcase name.
3780
3781 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3782
3783 * gdb.fortran/vla-type.exp: Access elements in nested structs.
3784
3785 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3786
3787 * gdb.fortran/type.f90: Add nested structures.
3788 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
3789 * gdb.fortran/derived-type.exp: Adapt expected output.
3790 * gdb.fortran/vla-type.exp: Adapt expected output.
3791
3792 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3793
3794 * gdb.fortran/whatis_type.exp: Adapt expected output.
3795
3796 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3797
3798 * gdb.fortran/print_type.exp: Fix expected output.
3799 * gdb.fortran/whatis_type.exp: Fix expected output.
3800
3801 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3802
3803 * gdb.fortran/whatis_type.exp: Use multi_line.
3804
3805 2016-05-24 Tom Tromey <tom@tromey.com>
3806
3807 PR python/17386:
3808 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
3809 use value as an index.
3810
3811 2016-05-23 Tom Tromey <tom@tromey.com>
3812
3813 PR python/17981:
3814 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
3815 no-breakpoint case.
3816
3817 2016-05-24 Pedro Alves <palves@redhat.com>
3818
3819 PR gdb/19828
3820 * gdb.threads/clone-attach-detach.c: New file.
3821 * gdb.threads/clone-attach-detach.exp: New file.
3822
3823 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
3824
3825 * gdb.base/annota-input-while-running.exp: Fix syntax error.
3826
3827 2016-05-23 Tom Tromey <tom@tromey.com>
3828
3829 PR python/19438, PR python/18393:
3830 * gdb.python/py-progspace.exp: Add "dir" test.
3831 * gdb.python/py-objfile.exp: Add "dir" test.
3832
3833 2016-05-23 Yao Qi <yao.qi@linaro.org>
3834
3835 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
3836 * gdb.arch/thumb2-it.exp: Likewise.
3837
3838 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
3839
3840 * gdb.mi/mi-threads-interrupt.c: New file.
3841 * gdb.mi/mi-threads-interrupt.exp: New file.
3842
3843 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
3844
3845 PR gdb/18077
3846 * gdb.mi/mi-async-run.exp: New file.
3847 * gdb.mi/mi-async-run.c: New file.
3848
3849 2016-05-17 Tom Tromey <tom@tromey.com>
3850 Manish Goregaokar <manishsmail@gmail.com>
3851
3852 * lib/rust-support.exp: New file.
3853 * lib/gdb.exp (skip_rust_tests): New proc.
3854 (build_executable_from_specs): Handle rust.
3855 * lib/future.exp (gdb_find_rustc): New proc.
3856 (gdb_default_target_compile): Handle rust.
3857 * gdb.rust/expr.exp: New file.
3858 * gdb.rust/generics.exp: New file.
3859 * gdb.rust/generics.rs: New file.
3860 * gdb.rust/methods.exp: New file.
3861 * gdb.rust/methods.rs: New file.
3862 * gdb.rust/modules.exp: New file.
3863 * gdb.rust/modules.rs: New file.
3864 * gdb.rust/simple.exp: New file.
3865 * gdb.rust/simple.rs: New file.
3866
3867 2016-05-17 Tom Tromey <tom@tromey.com>
3868
3869 * gdb.base/default.exp (set language): Add rust.
3870
3871 2016-05-17 Tom Tromey <tom@tromey.com>
3872
3873 * gdb.gdb/unittest.exp: New file.
3874
3875 2016-05-16 Yao Qi <yao.qi@linaro.org>
3876
3877 * gdb.base/batch-preserve-term-settings.exp: Remove variable
3878 shell_prompt. Update shell_prompt_re.
3879
3880 2016-05-12 Doug Evans <dje@google.com>
3881
3882 PR symtab/19999
3883 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
3884 $options when building executable.
3885 * gdb.dwarf2/fission-loclists-pie.S: New file.
3886 * gdb.dwarf2/fission-loclists-pie.exp: New file.
3887
3888 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
3889
3890 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
3891 of [is_remote target],
3892
3893 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
3894
3895 * lib/gdb.exp (use_gdb_stub): New procedure.
3896
3897 2016-05-03 Yunlian Jiang <yunlian@google.com>
3898 Doug Evans <dje@google.com>
3899
3900 PR symtab/19914
3901 * gdb.dwarf2/dwp-sepdebug.c: New file.
3902 * gdb.dwarf2/dwp-sepdebug.exp: New file.
3903
3904 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
3905
3906 * gdb.base/detach.exp: Remove is_remote check.
3907
3908 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
3909
3910 * gdb.base/annota-input-while-running.exp: Don't check for
3911 [is_remote target]. Enable annotations after running to main.
3912 Remove unused "set test..." line.
3913
3914 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
3915
3916 * gdb.trace/trace-enable-disable.exp: New file.
3917 * gdb.trace/trace-enable-disable.c: New file.
3918
3919 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
3920
3921 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
3922 use it in info sharedlibrary test.
3923 * gdb.trace/ftrace-lock.exp: Likewise.
3924 * gdb.trace/ftrace.exp: Likewise.
3925 * gdb.trace/range-stepping.exp: Likewise.
3926 * gdb.trace/trace-break.exp: Likewise.
3927 * gdb.trace/trace-condition.exp: Likewise.
3928 * gdb.trace/trace-mt.exp: Likewise.
3929
3930 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
3931
3932 * lib/gdb.exp (gdb_load_shlibs): Rename to...
3933 (gdb_load_shlib): ... this.
3934 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
3935 gdb_load_shlib.
3936 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
3937 * gdb.base/ctxobj.exp: Likewise.
3938 * gdb.base/dprintf-pending.exp: Likewise.
3939 * gdb.base/dso2dso.exp: Likewise.
3940 * gdb.base/fixsection.exp: Likewise.
3941 * gdb.base/gcore-relro.exp: Likewise.
3942 * gdb.base/gdb1555.exp: Likewise.
3943 * gdb.base/global-var-nested-by-dso.exp: Likewise.
3944 * gdb.base/gnu-ifunc.exp: Likewise.
3945 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
3946 * gdb.base/jit-so.exp (one_jit_test): Likewise.
3947 * gdb.base/pending.exp: Likewise.
3948 * gdb.base/print-file-var.exp: Likewise.
3949 * gdb.base/print-symbol-loading.exp: Likewise.
3950 * gdb.base/shlib-call.exp: Likewise.
3951 * gdb.base/shreloc.exp: Likewise.
3952 * gdb.base/so-impl-ld.exp: Likewise.
3953 * gdb.base/solib-disc.exp: Likewise.
3954 * gdb.base/solib-nodir.exp: Likewise.
3955 * gdb.base/solib-overlap.exp: Likewise.
3956 * gdb.base/solib-symbol.exp: Likewise.
3957 * gdb.base/solib-weak.exp (do_test): Likewise.
3958 * gdb.base/sym-file.exp: Likewise.
3959 * gdb.base/symtab-search-order.exp: Likewise.
3960 * gdb.base/type-opaque.exp: Likewise.
3961 * gdb.base/unload.exp: Likewise.
3962 * gdb.base/watchpoint-solib.exp: Likewise.
3963 * gdb.compile/compile.exp: Likewise.
3964 * gdb.cp/gdb2384.exp: Likewise.
3965 * gdb.cp/infcall-dlopen.exp: Likewise.
3966 * gdb.cp/re-set-overloaded.exp: Likewise.
3967 * gdb.fortran/library-module.exp: Likewise.
3968 * gdb.opt/solib-intra-step.exp: Likewise.
3969 * gdb.python/py-finish-breakpoint.exp: Likewise.
3970 * gdb.python/py-shared.exp: Likewise.
3971 * gdb.reverse/solib-precsave.exp: Likewise.
3972 * gdb.reverse/solib-reverse.exp: Likewise.
3973 * gdb.server/solib-list.exp: Likewise.
3974 * gdb.threads/dlopen-libpthread.exp: Likewise.
3975 * gdb.threads/tls-shared.exp: Likewise.
3976 * gdb.threads/tls-so_extern.exp: Likewise.
3977 * gdb.trace/change-loc.exp: Likewise.
3978 * gdb.trace/ftrace-lock.exp: Likewise.
3979 * gdb.trace/ftrace.exp: Likewise.
3980 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
3981 * gdb.trace/pending.exp: Likewise.
3982 * gdb.trace/range-stepping.exp: Likewise.
3983 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
3984 (strace_info_marker): Likewise.
3985 (strace_probe_marker): Likewise.
3986 (strace_trace_on_same_addr): Likewise.
3987 (strace_trace_on_diff_addr): Likewise.
3988 * gdb.trace/trace-break.exp: Likewise.
3989 * gdb.trace/trace-condition.exp: Likewise.
3990 * gdb.trace/trace-mt.exp: Likewise.
3991
3992 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
3993
3994 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
3995 result of gdb_remote_download.
3996 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
3997 * gdb.base/dso2dso.exp: Likewise.
3998 * gdb.base/global-var-nested-by-dso.exp: Likewise.
3999 * gdb.base/print-file-var.exp: Likewise.
4000 * gdb.base/shlib-call.exp: Likewise.
4001 * gdb.base/shreloc.exp: Likewise.
4002 * gdb.base/solib-overlap.exp: Likewise.
4003 * gdb.base/solib-weak.exp (do_test): Likewise.
4004 * gdb.base/unload.exp: Likewise.
4005
4006 2016-04-27 Yao Qi <yao.qi@linaro.org>
4007
4008 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
4009 exists.
4010
4011 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
4012
4013 * vla-type.exp: Print structure from toplevel.
4014
4015 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
4016
4017 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
4018 of dynamic types.
4019 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
4020 of dynamic types.
4021
4022 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
4023
4024 * gdb.fortran/vla-type.f90: New file.
4025 * gdb.fortran/vla-type.exp: New file.
4026
4027 2016-04-25 Yao Qi <yao.qi@linaro.org>
4028
4029 * gdb.base/branch-to-self.c: New file.
4030 * gdb.base/branch-to-self.exp: New file.
4031
4032 2016-04-22 Yao Qi <yao.qi@linaro.org>
4033
4034 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
4035 more after $hex.
4036
4037 2016-04-22 Yao Qi <yao.qi@linaro.org>
4038
4039 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
4040 * gdb.base/annota3.exp: Likewise.
4041
4042 2016-04-22 Yao Qi <yao.qi@linaro.org>
4043
4044 * gdb.reverse/step-precsave.exp: Do one step and test program
4045 stops in "callee" and do multiple steps until program goes out
4046 of "callee".
4047 * gdb.reverse/step-reverse.exp: Likewise.
4048
4049 2016-04-22 Yao Qi <yao.qi@linaro.org>
4050
4051 * gdb.trace/signal.exp: Also pass if
4052 $tracepoint_hits($i) > $iterations.
4053
4054 2016-04-22 Yao Qi <yao.qi@linaro.org>
4055
4056 * gdb.trace/signal.c: New file.
4057 * gdb.trace/signal.exp: New file.
4058
4059 2016-04-19 Doug Evans <xdje42@gmail.com>
4060
4061 * gdb.base/bad-file.exp: New file.
4062
4063 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
4064
4065 * gdb.dwarf2/implref.exp: New file.
4066
4067 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
4068
4069 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
4070 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
4071 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
4072 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
4073 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
4074 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
4075 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
4076 * lib/fortran.exp (fortran_int4): New procedure.
4077 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
4078 (fortran_logical4): Likewise.
4079
4080 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
4081
4082 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
4083
4084 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
4085
4086 * lib/compiler.c: Add Intel specific preprocessor macros.
4087 * lib/compiler.cc: Likewise.
4088
4089 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
4090
4091 * gdb.server/connect-with-no-symbol-file.c: New file.
4092 * gdb.server/connect-with-no-symbol-file.exp: New file.
4093
4094 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
4095
4096 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
4097
4098 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
4099
4100 * boards/gdbserver-base.exp (${board}_download): Copy source file to
4101 standard output directory.
4102
4103 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
4104
4105 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
4106
4107 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
4108
4109 * gdb.btrace/instruction_history.c (loop): Add declaration.
4110
4111 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
4112
4113 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
4114
4115 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
4116
4117 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
4118 parentheses to print.
4119 (continue_handler): Likewise.
4120
4121 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
4122
4123 * gdb.server/solib-list.exp: Remove is_remote check.
4124 Pass shlib= to gdb_compile. Don't link shared library with
4125 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
4126 Run binary filename through "readlink -f" on the target.
4127
4128 2016-04-08 Pedro Alves <palves@redhat.com>
4129
4130 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
4131 interpreter filename as argument to gdbserver_spawn.
4132 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
4133 Return empty if $last_loaded_file does not exist.
4134
4135 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4136
4137 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
4138 * gdb.base/jit-main.c: Use exit after usage.
4139
4140 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4141
4142 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
4143 GDBHISTSIZE prior to the tests.
4144 * gdb.base/gdbinit-history.exp: Likewise.
4145
4146 2016-04-07 Pedro Alves <palves@redhat.com>
4147
4148 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
4149 instead of build_executable. Use gdb_load_shlibs.
4150
4151 2016-04-07 Yao Qi <yao.qi@linaro.org>
4152
4153 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
4154 Execute "si" command.
4155
4156 2016-04-07 Yao Qi <yao.qi@linaro.org>
4157
4158 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
4159 number instead of the comments on some line.
4160
4161 2016-04-06 Don Breazeal <donb@codesourcery.com>
4162
4163 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
4164 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
4165
4166 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
4167
4168 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
4169 standard_output_file. Remove unused binfile variable.
4170
4171 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
4172
4173 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
4174 * gdb.python/py-mi-objfile.exp: Match "list main" output
4175 in console format.
4176
4177 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
4178
4179 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
4180 absolute.
4181
4182 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
4183
4184 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
4185 absolute.
4186 * gdb.trace/ftrace.exp: Likewise.
4187 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
4188 targets as well.
4189 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
4190 (gdb_load_shlibs): Copy libraries to test directory when testing
4191 natively. Only set solib-search-path if testing remotely.
4192 * lib/mi-support.exp (mi_load_shlibs): Likewise.
4193
4194 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
4195
4196 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
4197 gdb_download. Use it even if the target is not remote.
4198 * gdb.base/jit.exp (compile_jit_test): Likewise.
4199 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
4200 output directory if the destination board is local, otherwise use
4201 the standard remote_download from DejaGnu.
4202 (gdb_download): Remove.
4203 (gdb_load_shlibs): Use gdb_remote_download instead of
4204 gdb_download.
4205 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
4206 Use gdb_remote_download instead of gdb_download. Use it even if
4207 the target is not remote.
4208 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
4209 instead of gdb_download.
4210
4211 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
4212
4213 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
4214 (test_insert_delete_modify): Call mi_load_shlibs before trying to
4215 run.
4216
4217 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
4218
4219 PR gdb/19820
4220 * gdb.base/printcmds.exp: Add artificial arrays tests.
4221
4222 2016-03-31 Pedro Alves <palves@redhat.com>
4223
4224 PR gdb/19858
4225 * gdb.base/jit-main.c: Include unistd.h.
4226 (ATTACH): Define to 0 if not already defined.
4227 (wait_for_gdb, mypid): New globals.
4228 (WAIT_FOR_GDB): New macro.
4229 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
4230 some breakpoint locations.
4231 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
4232 New procedures.
4233 (one_jit_test): Add REATTACH parameter, and handle it. Use
4234 continue_to_test_location.
4235 (top level): Test attach, and adjusts calls to one_jit_test.
4236
4237 2016-03-31 Pedro Alves <palves@redhat.com>
4238
4239 PR gdb/19858
4240 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
4241 BINSUFFIX parameter, and handle it.
4242 (top level): Adjust calls compile_jit_test.
4243
4244 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
4245
4246 PR python/19743
4247 * gdb.python/py-mi-events-gdb.py: New file.
4248 * gdb.python/py-mi-events.c: New file.
4249 * gdb.python/py-mi-events.exp: New file.
4250
4251 2016-03-30 Yao Qi <yao.qi@linaro.org>
4252
4253 * gdb.reverse/until-precsave.exp: Match function name only.
4254 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
4255 Move malloc to a condition block.
4256 * gdb.reverse/until-reverse.exp: Match function name only.
4257
4258 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
4259
4260 * gdb.trace/ftrace.exp: Set arg0exp for s390.
4261 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
4262 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
4263 variable for GPR 0 instead of assuming it is register 0.
4264 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
4265 * lib/trace-support.exp: Add s390 registers.
4266
4267 2016-03-29 Yao Qi <yao.qi@linaro.org>
4268
4269 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
4270
4271 2016-03-24 Yao Qi <yao.qi@linaro.org>
4272
4273 * gdb.reverse/break-reverse.exp: Add quotation mark in the
4274 test message.
4275
4276 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4277
4278 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
4279 maintaining separate logic for constructing the output path.
4280
4281 2016-03-16 Don Breazeal <donb@codesourcery.com>
4282
4283 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
4284 Retry fork and waitpid on interrupted system call errors.
4285 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
4286 Use with_timeout_factor to increase timeout by factor of 10.
4287
4288 2016-03-15 Don Breazeal <donb@codesourcery.com>
4289
4290 * gdb.cp/scope-err.cc: New test program.
4291 * gdb.cp/scope-err.exp: New test script.
4292 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
4293 lines and "set breakpoint here" comment.
4294 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
4295 Fixed some whitespace and format issues.
4296 * gdb.mi/mi-linespec-err-cp.cc: New test program.
4297 * gdb.mi/mi-linespec-err-cp.exp: New test script.
4298
4299 2016-03-15 Doug Evans <dje@google.com>
4300
4301 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
4302 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
4303 All callers updated. Add tests for enums, mixed flags register.
4304
4305 2016-03-15 Doug Evans <dje@google.com>
4306
4307 * gdb.base/skip.c (main): Call test_skip_file_and_function.
4308 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
4309
4310 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
4311
4312 * gdb.base/default.exp: Add $_as_string to the list of expected
4313 convenience functions.
4314
4315 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
4316
4317 * gdb.base/maint.exp: New tests for 'maint info line-table'.
4318
4319 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
4320
4321 * gdb.python/py-as-string.exp: New file.
4322 * gdb.python/py-as-string.c: New file.
4323
4324 2016-03-09 Pedro Alves <palves@redhat.com>
4325
4326 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
4327 signal" -> "Thread NN received signal" output change.
4328 * gdb.threads/ia64-sigill.exp: Likewise.
4329 * gdb.threads/linux-dp.exp: Likewise.
4330 * gdb.threads/manythreads.exp: Likewise.
4331 * gdb.threads/pending-step.exp: Likewise.
4332 * gdb.threads/print-threads.exp: Likewise.
4333 * gdb.threads/sigstep-threads.exp: Likewise.
4334 * gdb.threads/staticthreads.exp: Likewise.
4335 * gdb.threads/tls.exp: Likewise.
4336
4337 2016-03-09 Pedro Alves <palves@redhat.com>
4338
4339 * gdb.base/command-line-input.exp: New file.
4340
4341 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
4342
4343 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
4344 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
4345 * gdb.trace/pending.exp: Accept leading dot before function name.
4346 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
4347 * lib/trace-support.exp: Set registers for ppc.
4348
4349 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
4350
4351 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
4352 use it for disassembly; accept .main in addition to main in backtrace.
4353
4354 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
4355 Marcin Kościelnicki <koriakin@0x04.net>
4356
4357 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
4358 (gdb_recursion_test_ptr): New global variable.
4359 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
4360 gdb_recursion_test.
4361 (gdb_c_test): Ditto.
4362
4363 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
4364
4365 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
4366 ordering.
4367
4368 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
4369
4370 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
4371 (bar): Add bar_start_lbl label.
4372 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
4373 of foo/bar for emitting DWARF and tracing.
4374
4375 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
4376
4377 * analyze-racy-logs.py: Set executable bit.
4378
4379 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
4380
4381 * Makefile.in (DEFAULT_RACY_ITER): New variable.
4382 (CHECK_TARGET_TMP): Likewise.
4383 (check-single-racy): New rule.
4384 (check-parallel-racy): Likewise.
4385 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
4386 (do-check-parallel-racy): New rule.
4387 (check-racy/%.exp): Likewise.
4388 * README (Racy testcases): New section.
4389 * analyze-racy-logs.py: New file.
4390
4391 2016-03-03 Doug Evans <dje@google.com>
4392
4393 * gdb.base/skip.exp: Use with_test_prefix.
4394
4395 2016-03-03 Yao Qi <yao.qi@linaro.org>
4396
4397 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
4398 Invoke step_over_syscall "clone" and break_cond_on_syscall
4399 "clone".
4400 * gdb.base/step-over-clone.c: New file.
4401
4402 2016-03-03 Yao Qi <yao.qi@linaro.org>
4403
4404 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
4405 code format.
4406
4407 2016-03-03 Yao Qi <yao.qi@linaro.org>
4408
4409 * gdb.base/disp-step-fork.c: Rename to ...
4410 * gdb.base/step-over-fork.c: ... it. New file.
4411 * gdb.base/disp-step-vfork.c: Rename to ...
4412 * gdb.base/step-over-vfork.c: ... it. New file.
4413 * gdb.base/disp-step-syscall.exp: Rename to ...
4414 * gdb.base/step-over-syscall.exp: ... it. New file.
4415 (disp_step_cross_syscall): Rename to ...
4416 (step_over_syscall): ... it.
4417
4418 2016-03-03 Yao Qi <yao.qi@linaro.org>
4419
4420 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
4421 If target supports condition evaluation on target, invoke
4422 break_cond_on_syscall for fork and vfork.
4423
4424 2016-03-03 Yao Qi <yao.qi@linaro.org>
4425
4426 * gdb.base/disp-step-syscall.exp: Don't invoke
4427 support_displaced_stepping.
4428 (disp_step_cross_syscall): Test with displaced stepping off and
4429 on if supported.
4430
4431 2016-03-03 Yao Qi <yao.qi@linaro.org>
4432
4433 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
4434 proc.
4435 (setup): New proc.
4436 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
4437 and setup.
4438
4439 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
4440
4441 * gdb.fortran/vla-history.exp: Remove breakpoint.
4442
4443 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
4444
4445 * gdb.fortran/vla-history.exp: Lookup array elements and printing
4446 exceeds timeout.
4447
4448 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
4449
4450 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
4451 breakpoint.
4452
4453 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
4454
4455 * gdb.mi/vla.f90: Nullify pointer after declaration.
4456
4457 2016-03-01 Pedro Alves <palves@redhat.com>
4458
4459 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
4460
4461 2016-03-01 Pedro Alves <palves@redhat.com>
4462
4463 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
4464 before anything else.
4465 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
4466 _GNU_SOURCE here.
4467 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
4468 before anything else.
4469 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
4470
4471 2016-03-01 Pedro Alves <palves@redhat.com>
4472
4473 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
4474
4475 2016-03-01 Yao Qi <yao.qi@linaro.org>
4476
4477 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
4478 prepare_for_testing.
4479
4480 2016-03-01 Yao Qi <yao.qi@linaro.org>
4481
4482 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
4483
4484 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
4485
4486 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
4487 manually constructing the output path.
4488
4489 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
4490
4491 * gdb.arch/s390-stackless.S: New.
4492 * gdb.arch/s390-stackless.exp: New.
4493
4494 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
4495
4496 * gdb.dlang/circular.c: New file.
4497 * gdb.dlang/circular.exp: New file.
4498
4499 2016-02-26 Yao Qi <yao.qi@linaro.org>
4500
4501 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
4502 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
4503 (testcases): Update.
4504
4505 2016-02-26 Yao Qi <yao.qi@linaro.org>
4506
4507 * gdb.reverse/aarch64.c: Rename to ...
4508 * gdb.reverse/insn-reverse.c: ... it.
4509 * gdb.reverse/aarch64.exp: Rename to ...
4510 * gdb.reverse/insn-reverse.exp: ... it.
4511
4512 2016-02-26 Yao Qi <yao.qi@linaro.org>
4513
4514 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
4515 (testcase_ftype): New.
4516 (testcases): New array.
4517 (n_testcases): New.
4518 (main): Call each element in testcases.
4519 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
4520 (read_testcase): New.
4521 Do the tests in a loop.
4522
4523 2016-02-25 Yao Qi <yao.qi@linaro.org>
4524
4525 * gdb.base/branches.c: Remove.
4526
4527 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
4528
4529 PR gdb/13808
4530 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
4531
4532 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
4533
4534 * gdb.trace/ftrace.exp: Remove unnecessary target check.
4535
4536 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
4537
4538 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
4539 change x86_64 call_insn to 'callq'.
4540
4541 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4542
4543 * gdb.trace/tfile-avx.c: Move to...
4544 * gdb.trace/tracefile-pseudo-reg.c: Here.
4545 * gdb.trace/tfile-avx.exp: Move to...
4546 * gdb.trace/tracefile-pseudo-reg.exp: Here.
4547
4548 2016-02-24 Gary Benson <gbenson@redhat.com>
4549
4550 * gdb.base/attach-pie-noexec.exp: Do not expect an error
4551 message on attach.
4552
4553 2016-02-23 Doug Evans <dje@google.com>
4554
4555 * gdb.base/skip.c (test_skip): New function.
4556 (end_test_skip_file_and_function): New function.
4557 (test_skip_file_and_function): New function.
4558 * gdb.base/skip1.c (test_skip): New function.
4559 (skip1_test_skip_file_and_function): New function.
4560 * gdb.base/skip.exp: Add tests for new skip options.
4561 * gdb.base/skip-solib.exp: Update expected output.
4562 * gdb.perf/skip-command.cc: New file.
4563 * gdb.perf/skip-command.exp: New file.
4564 * gdb.perf/skip-command.py: New file.
4565
4566 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
4567
4568 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
4569 info registers pattern.
4570
4571 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
4572
4573 * lib/future.exp: Add D support.
4574 (gdb_find_gdc): New proc.
4575 (gdb_default_target_compile): Add D support.
4576
4577 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
4578
4579 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
4580 user+system time.
4581 (trace_speed_test): Determine the iteration count for a time
4582 between 15..30 seconds.
4583
4584 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
4585
4586 * gdb.arch/i386-mpx-sigsegv.c: New file.
4587 * gdb.arch/i386-mpx-sigsegv.exp: New file.
4588 * gdb.arch/i386-mpx-simple_segv.c: New file.
4589 * gdb.arch/i386-mpx-simple_segv.exp: New file.
4590
4591 2016-02-18 Yao Qi <yao.qi@linaro.org>
4592
4593 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
4594 Don't call setup_kfail.
4595
4596 2016-02-18 Yao Qi <yao.qi@linaro.org>
4597
4598 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
4599 Set "set breakpoint condition-evaluation" per $cond_bp_target.
4600
4601 2016-02-16 Doug Evans <dje@google.com>
4602
4603 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
4604 * gdb.base/skip1.c: Ditto.
4605 * gdb.base/skip.exp: Whitespace cleanup.
4606
4607 2016-02-16 Don Breazeal <donb@codesourcery.com>
4608
4609 PR remote/19496
4610 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
4611 Remove kfail for PR remote/19496.
4612
4613 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
4614
4615 * lib/gdb.exp (standard_temp_file): Return a path specific to
4616 the runtest invocation.
4617
4618 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
4619
4620 * gdb.trace/save-trace.exp: Change relative path to be in the
4621 standard output directory.
4622
4623 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4624
4625 * gdb.arch/i386-prologue.c: Add missing prototypes.
4626
4627 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4628
4629 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
4630 * gdb.arch/i386-prologue.exp: Likewise.
4631 * gdb.arch/i386-size.exp: Likewise.
4632
4633 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
4634
4635 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
4636 define object file path.
4637 * gdb.btrace/gcore.exp: Use standard_output_file to define core
4638 file path.
4639 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
4640 standard_output_file to define binfile.
4641
4642 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4643
4644 Fix compatibility with recent gfortran-5.3.1.
4645 * gdb.fortran/vla-history.exp (print vla1 allocated)
4646 (print vla2 allocated, print $2, print $3): Remove
4647 (print $4): Rename to ...
4648 (print $2): ... here.
4649 (print $9): Rename to ...
4650 (print $5): ... here.
4651 (print $10): Rename to ...
4652 (print $6): ... here.
4653 * gdb.fortran/vla.f90: Add pvla initialization.
4654
4655 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4656
4657 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
4658 New test.
4659 * gdb.fortran/vla-value-sub.exp: Likewise.
4660
4661 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
4662
4663 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
4664
4665 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
4666
4667 * i386-biarch-core.exp: Define corefile using
4668 standard_output_file.
4669
4670 2016-02-12 Yao Qi <yao.qi@linaro.org>
4671
4672 * gdb.arch/arm-single-step-kernel-helper.c: New.
4673 * gdb.arch/arm-single-step-kernel-helper.exp: New.
4674
4675 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
4676
4677 * gdb.btrace/tailcall-only.exp: New.
4678 * gdb.btrace/tailcall-only.c: New.
4679 * gdb.btrace/x86_64-tailcall-only.S: New.
4680 * gdb.btrace/i686-tailcall-only.S: New.
4681
4682 2016-02-11 Pedro Alves <palves@redhat.com>
4683
4684 * README (Parallel testing): Add missing double quotes.
4685
4686 2016-02-11 Pedro Alves <palves@redhat.com>
4687
4688 * README (Parallel testing): New section.
4689 (GDB_PARALLEL): Rewrite.
4690 (FORCE_PARALLEL): Document.
4691
4692 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
4693
4694 * gdb.trace/tfile-avx.c: New test.
4695 * gdb.trace/tfile-avx.exp: New test.
4696
4697 2016-02-09 Keith Seitz <keiths@redhat.com>
4698
4699 PR breakpoints/19546
4700 * gdb.base/infcall-exec.c: New file.
4701 * gdb.base/infcall-exec2.c: New file.
4702 * gdb.base/infcall-exec.exp: New file.
4703
4704 2016-02-09 Keith Seitz <keiths@redhat.com>
4705
4706 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
4707 (toplevel): Call test_bkpt_address.
4708
4709 2016-02-09 Keith Seitz <keiths@redhat.com>
4710
4711 PR python/19506
4712 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
4713 (toplevel): Call test_bkpt_address.
4714
4715 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
4716
4717 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
4718 to AC_OUTPUT.
4719 * configure: Regenerate.
4720
4721 2016-02-09 Pedro Alves <palves@redhat.com>
4722
4723 PR breakpoints/19548
4724 * gdb.base/execl-update-breakpoints.c (some_function): New
4725 function.
4726 (main): Call it.
4727 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
4728 Tighten expected GDB output.
4729
4730 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
4731
4732 * Makefile.in (ALL_SUBDIRS): Remove.
4733 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
4734 (distclean maintainer-clean realclean): Likewise.
4735 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
4736 * configure: Regenerate.
4737 * gdb.ada/Makefile.in: Delete.
4738 * gdb.arch/Makefile.in: Likewise.
4739 * gdb.asm/Makefile.in: Likewise.
4740 * gdb.base/Makefile.in: Likewise.
4741 * gdb.btrace/Makefile.in: Likewise.
4742 * gdb.cell/Makefile.in: Likewise.
4743 * gdb.compile/Makefile.in: Likewise.
4744 * gdb.cp/Makefile.in: Likewise.
4745 * gdb.disasm/Makefile.in: Likewise.
4746 * gdb.dlang/Makefile.in: Likewise.
4747 * gdb.dwarf2/Makefile.in: Likewise.
4748 * gdb.fortran/Makefile.in: Likewise.
4749 * gdb.gdb/Makefile.in: Likewise.
4750 * gdb.go/Makefile.in: Likewise.
4751 * gdb.guile/Makefile.in: Likewise.
4752 * gdb.java/Makefile.in: Likewise.
4753 * gdb.linespec/Makefile.in: Likewise.
4754 * gdb.mi/Makefile.in: Likewise.
4755 * gdb.modula2/Makefile.in: Likewise.
4756 * gdb.multi/Makefile.in: Likewise.
4757 * gdb.objc/Makefile.in: Likewise.
4758 * gdb.opencl/Makefile.in: Likewise.
4759 * gdb.opt/Makefile.in: Likewise.
4760 * gdb.pascal/Makefile.in: Likewise.
4761 * gdb.perf/Makefile.in: Likewise.
4762 * gdb.python/Makefile.in: Likewise.
4763 * gdb.reverse/Makefile.in: Likewise.
4764 * gdb.server/Makefile.in: Likewise.
4765 * gdb.stabs/Makefile.in: Likewise.
4766 * gdb.threads/Makefile.in: Likewise.
4767 * gdb.trace/Makefile.in: Likewise.
4768 * gdb.xml/Makefile.in: Likewise.
4769 * lib/gdb.exp (make_gdb_parallel_path): Add check for
4770 GDB_PARALLEL.
4771 (standard_output_file): Remove check for GDB_PARALLEL, always
4772 return path in outputs/$subdir/$testname.
4773
4774 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
4775
4776 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
4777 (site.exp): Assign abs_srcdir to tcl's srcdir.
4778
4779 2016-02-04 Yao Qi <yao.qi@linaro.org>
4780
4781 * gdb.base/foll-exec-mode.c: Include limits.h.
4782 (main): Add parameters argc and argv. Get directory from
4783 argv[0].
4784 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
4785 compilation.
4786 * gdb.base/foll-exec.c: Include limits.h.
4787 (main): Add parameters argc and argv.
4788 Get directory from argv[0].
4789 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
4790 Adjust tests on the number of lines as source code changed.
4791 * gdb.base/foll-vfork-exit.c: Include limits.h.
4792 (main): Add one line of statement before vfork.
4793 * gdb.base/foll-vfork.c: Include limits.h and string.h.
4794 (main): Add parameters argc and argv. Get directory from
4795 argv[0].
4796 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
4797 (setup_gdb): Set tbreak to skip some source lines.
4798 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
4799 (main): Add parameters argc and argv. Get directory from
4800 argv[0].
4801 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
4802 compilation.
4803 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
4804 (main): Add parameters argc and argv. Get directory from
4805 argv[0].
4806 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
4807 compilation.
4808
4809 2016-02-01 Doug Evans <dje@google.com>
4810
4811 * gdb.base/skip.exp: Clean up multiple references to same test name.
4812
4813 2016-02-01 Pedro Alves <palves@redhat.com>
4814
4815 PR remote/19496
4816 * gdb.threads/forking-threads-plus-breakpoint.exp
4817 (displaced_stepping_supported): New global.
4818 (probe_displaced_stepping_support): New procedure.
4819 (do_test): Add 'displaced' parameter, and use it.
4820 (top level): Check for displaced stepping support. Add displaced
4821 stepping on/off testing axis.
4822
4823 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
4824
4825 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
4826 pointer. Don't perform further tests on the unassociated pointer
4827 if the first test fails.
4828
4829 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
4830
4831 * gdb.base/max-value-size.c: New file.
4832 * gdb.base/max-value-size.exp: New file.
4833 * gdb.base/huge.exp: Disable max-value-size for this test.
4834
4835 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
4836
4837 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
4838
4839 2016-01-28 Yao Qi <yao.qi@linaro.org>
4840
4841 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
4842
4843 2016-01-25 Pedro Alves <palves@redhat.com>
4844
4845 PR threads/19461
4846 * gdb.base/fork-running-state.c: New file.
4847 * gdb.base/fork-running-state.exp: New file.
4848
4849 2016-01-25 Pedro Alves <palves@redhat.com>
4850
4851 PR gdb/19494
4852 * gdb.base/catch-fork-kill.c: New file.
4853 * gdb.base/catch-fork-kill.exp: New file.
4854
4855 2016-01-25 Pedro Alves <palves@redhat.com>
4856
4857 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
4858 Delete, moved to lib/gdb.exp.
4859 * gdb.threads/forking-threads-plus-breakpoint.exp
4860 (foreach_with_prefix): Likewise.
4861 * gdb.threads/process-dies-while-handling-bp.exp
4862 (foreach_with_prefix): Likewise.
4863 * lib/gdb.exp (foreach_with_prefix): New procedure.
4864
4865 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
4866
4867 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
4868 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
4869
4870 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
4871
4872 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
4873 endian targets.
4874
4875 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4876 Pedro Alves <palves@redhat.com>
4877
4878 Fix testsuite compatibility with Guile.
4879 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
4880 number.
4881
4882 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4883
4884 Fix testsuite compatibility with Guile.
4885 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
4886 (thread 1): New test for backtrace through signal handler.
4887
4888 2016-01-22 Yao Qi <yao.qi@linaro.org>
4889
4890 PR testsuite/19491
4891 * gdb.base/multi-forks.c: Include
4892 ../lib/unbuffer_output.c
4893 (main): Call gdb_unbuffer_output.
4894
4895 2016-01-21 Doug Evans <dje@google.com>
4896
4897 * lib/ada.exp (gdb_compile_ada): Fix typo.
4898
4899 2016-01-21 Joel Brobecker <brobecker@adacore.com>
4900
4901 * gdb.base/break-fun-addr.exp: New file.
4902 * gdb.base/break-fun-addr1.c: New file.
4903 * gdb.base/break-fun-addr2.c: New file.
4904
4905 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
4906
4907 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
4908 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
4909 enum flag values.
4910
4911 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
4912
4913 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
4914 when GDB can not set the vector return value. Add more comments
4915 for clarification.
4916
4917 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
4918
4919 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
4920 command.
4921
4922 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
4923
4924 * Makefile.in (DO_RUNTEST): Add --status and update usages.
4925
4926 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
4927
4928 * Makefile.in (check-single): Pass --status to runtest.
4929 (check/%.exp): Likewise.
4930
4931 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
4932
4933 * Makefile.in (check-parallel): Propagate return code from make
4934 do-check-parallel.
4935
4936 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
4937
4938 * gdb.trace/ftrace.exp: Fix expected message on continue.
4939 * gdb.trace/pending.exp: Fix expected message on continue.
4940 * gdb.trace/trace-break.exp: Fix expected message on continue.
4941
4942 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
4943
4944 * lib/gdb.exp (gdb_test): Remove unused global references.
4945
4946 2016-01-18 Pedro Alves <palves@redhat.com>
4947
4948 * gdb.base/async-shell.exp: Adjust expected output.
4949 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
4950 * gdb.base/siginfo-thread.exp: Adjust expected output.
4951 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
4952 * gdb.java/jnpe.exp: Adjust expected output.
4953 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
4954 * gdb.threads/continue-pending-status.exp: Adjust expected output.
4955 * gdb.threads/leader-exit.exp: Adjust expected output.
4956 * gdb.threads/manythreads.exp: Adjust expected output.
4957 * gdb.threads/pthreads.exp: Adjust expected output.
4958 * gdb.threads/schedlock.exp: Adjust expected output.
4959 * gdb.threads/siginfo-threads.exp: Adjust expected output.
4960 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
4961 expected output.
4962 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
4963 output.
4964 * gdb.threads/sigthread.exp: Adjust expected output.
4965 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
4966
4967 2016-01-18 Yao Qi <yao.qi@linaro.org>
4968
4969 * gdb.guile/scm-section-script.c: Replace @progbits with
4970 %progbits.
4971 * gdb.python/py-section-script.c: Likewise.
4972
4973 2016-01-15 Pedro Alves <palves@redhat.com>
4974
4975 * gdb.multi/tids.exp: Test star wildcard ranges.
4976
4977 2016-01-15 Pedro Alves <palves@redhat.com>
4978
4979 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
4980 command from "thread apply" invocation.
4981 (thr_apply_info_thr_invalid): Default the expected output to the
4982 input tid list.
4983 (top level): Add tests that use convenience variables. Add tests
4984 for "thread apply" with a valid TID list, but missing the command.
4985
4986 2016-01-13 Pedro Alves <palves@redhat.com>
4987
4988 * gdb.base/default.exp: Expect $_gthread as well.
4989 * gdb.multi/tids.exp: Test $_gthread.
4990 * gdb.threads/thread-specific.exp: Test $_gthread.
4991
4992 2016-01-13 Pedro Alves <palves@redhat.com>
4993
4994 * gdb.multi/tids.exp: Test "info threads -gid".
4995
4996 2016-01-13 Pedro Alves <palves@redhat.com>
4997
4998 * gdb.multi/tids.exp: Test InferiorThread.global_num and
4999 Breakpoint.thread.
5000 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
5001
5002 2016-01-07 Pedro Alves <palves@redhat.com>
5003
5004 * gdb.base/break.exp: Adjust to output changes.
5005 * gdb.base/hbreak2.exp: Likewise.
5006 * gdb.base/sepdebug.exp: Likewise.
5007 * gdb.base/watch_thread_num.exp: Likewise.
5008 * gdb.linespec/keywords.exp: Likewise.
5009 * gdb.multi/info-threads.exp: Likewise.
5010 * gdb.threads/thread-find.exp: Likewise.
5011 * gdb.multi/tids.c: New file.
5012 * gdb.multi/tids.exp: New file.
5013
5014 2016-01-13 Pedro Alves <palves@redhat.com>
5015
5016 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
5017
5018 2016-01-13 Pedro Alves <palves@redhat.com>
5019
5020 * gdb.base/default.exp: Expect $_inferior as well.
5021 * gdb.multi/base.exp: Test $_inferior.
5022
5023 2016-01-13 Pedro Alves <palves@redhat.com>
5024
5025 PR breakpoints/19388
5026 * gdb.base/catch-signal-siginfo-cond.c: New file.
5027 * gdb.base/catch-signal-siginfo-cond.exp: New file.
5028
5029 2016-01-12 Josh Stone <jistone@redhat.com>
5030 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5031
5032 * gdb.base/catch-syscall.c (do_execve): New variable.
5033 (main): Conditionally trigger an execve.
5034 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
5035 (test_catch_syscall_execve): New, check entry/return across execve.
5036 (do_syscall_tests): Call test_catch_syscall_execve.
5037
5038 2016-01-12 Pedro Alves <palves@redhat.com>
5039
5040 * gdb.base/random-signal.exp (do_test): New procedure, with body
5041 of testcase moved in.
5042
5043 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5044 Pedro Alves <palves@redhat.com>
5045
5046 * gdb.base/funcargs.exp (finish from indirectly called function):
5047 Reintroduce the case for 'First'.
5048
5049 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5050 Pedro Alves <palves@redhat.com>
5051
5052 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
5053 (tcatch_vfork_then_child_follow_exec)
5054 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
5055 identification.
5056
5057 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5058
5059 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
5060 and repeats to unlimited.
5061 * gdb.python/py-value.exp: Likewise.
5062 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
5063 and repeats to unlimited.
5064
5065 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5066
5067 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
5068 and reordering the functions.
5069 * gdb.multi/hangout.c: Likewise.
5070 * gdb.multi/hello.c: Likewise.
5071
5072 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
5073
5074 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
5075 absolute.
5076 (SingleStatisticTestResult.report): Use dict.keys instead of
5077 dict.iterkeys.
5078
5079 2016-01-06 Pedro Alves <palves@redhat.com>
5080
5081 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
5082
5083 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
5084
5085 * gdb.btrace/dlopen.exp: New.
5086 * gdb.btrace/dlopen.c: New.
5087 * gdb.btrace/dlopen-dso.c: New.
5088
5089 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
5090
5091 * lib/gdb.exp (gdb_test): Update comments to clarify that the
5092 PATTERN argument is optional.
5093
5094 2015-12-24 Joel Brobecker <brobecker@adacore.com>
5095
5096 * lib/ada.exp (target_compile_ada_from_dir): New function.
5097 (gdb_compile_ada): Reimplement avoiding the use of project files.
5098 * gdb.ada/gnat_ada.gpr: Delete.
5099 * gdb.ada/cond_lang.exp: Adjust test to make path before
5100 filename optional.
5101 * gdb.ada/small_reg_param.exp: Likewise.
5102
5103 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
5104
5105 * gdb.base/foll-vork.exp: Remove HP-UX special case.
5106
5107 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
5108
5109 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
5110 case.
5111
5112 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
5113
5114 * gdb.base/break.exp: Remove dead code.
5115 * gdb.base/sepdebug.exp: Likewise.
5116
5117 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
5118
5119 * gdb.asm/asm-source.exp: Remove HP-UX references.
5120 * gdb.base/annota1.exp: Likewise.
5121 * gdb.base/annota3.exp: Likewise.
5122 * gdb.base/attach.exp: Likewise.
5123 * gdb.base/bigcore.exp: Likewise.
5124 * gdb.base/break.exp: Likewise.
5125 * gdb.base/call-ar-st.exp: Likewise.
5126 * gdb.base/callfuncs.exp: Likewise.
5127 * gdb.base/catch-fork-static.exp: Likewise.
5128 * gdb.base/display.exp: Likewise.
5129 * gdb.base/foll-exec-mode.exp: Likewise.
5130 * gdb.base/foll-exec.exp: Likewise.
5131 * gdb.base/foll-fork.exp: Likewise.
5132 * gdb.base/foll-vfork.exp: Likewise.
5133 * gdb.base/funcargs.exp: Likewise.
5134 * gdb.base/hbreak2.exp: Likewise.
5135 * gdb.base/inferior-died.exp: Likewise.
5136 * gdb.base/interrupt.exp: Likewise.
5137 * gdb.base/multi-forks.exp: Likewise.
5138 * gdb.base/nodebug.exp: Likewise.
5139 * gdb.base/sepdebug.exp: Likewise.
5140 * gdb.base/solib1.c: Likewise.
5141 * gdb.base/step-test.exp: Likewise.
5142 * gdb.mi/non-stop.c: Likewise.
5143 * gdb.mi/pthreads.c: Likewise.
5144 * gdb.multi/bkpt-multi-exec.ex: Likewise.
5145 * gdb.threads/pthreads.c: Likewise.
5146 * gdb.threads/staticthreads.exp: Likewise.
5147 * lib/future.exp: Likewise.
5148 * lib/gdb.exp: Likewise.
5149 * gdb.base/so-indr-cl.c: Remove.
5150 * gdb.base/so-indr-cl.exp: Likewise.
5151 * gdb.base/solib.c: Likewise.
5152 * gdb.base/solib.exp: Likewise.
5153 * gdb.base/solib2.c: Likewise.
5154
5155 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
5156
5157 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
5158 * gdb.base/call-ar-st.exp: Likewise.
5159 * gdb.base/callfuncs.exp: Likewise.
5160 * gdb.base/condbreak.exp: Likewise.
5161 * gdb.base/constvars.exp: Likewise.
5162 * gdb.base/hbreak2.exp: Likewise.
5163 * gdb.base/langs.exp: Likewise.
5164 * gdb.base/list.exp: Likewise.
5165 * gdb.base/long_long.exp: Likewise.
5166 * gdb.base/ptype.exp: Likewise.
5167 * gdb.base/scope.exp: Likewise.
5168 * gdb.base/signals.exp: Likewise.
5169 * gdb.base/so-impl-ld.exp: Likewise.
5170 * gdb.base/varargs.exp: Likewise.
5171 * gdb.base/volatile.exp: Likewise.
5172 * gdb.base/whatis.exp: Likewise.
5173 * gdb.cp/cplusfuncs.exp: Likewise.
5174 * gdb.cp/inherit.exp: Likewise.
5175 * gdb.cp/local.exp: Likewise.
5176 * gdb.cp/member-ptr.exp: Likewise.
5177 * gdb.cp/method.exp: Likewise.
5178 * gdb.cp/overload.exp: Likewise.
5179 * gdb.cp/templates.exp: Likewise.
5180 * gdb.stabs/weird.exp: Likewise.
5181 * lib/compiler.c: Likewise.
5182 * lib/compiler.cc: Likewise.
5183 * lib/cp-support.exp: Likewise.
5184 * lib/gdb.exp: Likewise.
5185
5186 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
5187
5188 * configure.ac: Remove HP-UX case.
5189 * configure: Regenerate.
5190
5191 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
5192
5193 * lib/gdb.exp (gdb_compile): Add function doc.
5194
5195 2015-12-17 Pedro Alves <palves@redhat.com>
5196
5197 PR threads/19354
5198 * gdb.multi/info-threads.exp: New file.
5199
5200 2015-12-15 Yao Qi <yao.qi@linaro.org>
5201
5202 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
5203 is aarch64*-*-*.
5204
5205 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
5206
5207 * gdb.base/history-duplicates.exp: Skip if no readline support.
5208
5209 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
5210
5211 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
5212
5213 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
5214
5215 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
5216
5217 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
5218
5219 * gdb.base/completion.exp: Skip tests that interrupt GDB with
5220 ctrl-C if nointerrupts target property is set.
5221 * gdb.base/double-prompt-target-event-error.exp: Likewise.
5222 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
5223 * gdb.base/paginate-bg-execution.exp: Likewise.
5224 * gdb.base/paginate-execution-startup.exp: Likewise.
5225 * gdb.base/random-signal.exp: Likewise.
5226 * gdb.base/range-stepping.exp: Likewise.
5227 * gdb.cp/annota2.exp: Likewise.
5228 * gdb.cp/annota3.exp: Likewise.
5229 * gdb.gdb/selftest.exp: Likewise.
5230 * gdb.threads/continue-pending-status.exp: Likewise.
5231 * gdb.threads/leader-exit.exp: Likewise.
5232 * gdb.threads/manythreads.exp: Likewise.
5233 * gdb.threads/pthreads.exp: Likewise.
5234 * gdb.threads/schedlock.exp: Likewise.
5235 * gdb.threads/sigthread.exp: Likewise.
5236
5237 2015-12-11 Don Breazeal <donb@codesourcery.com>
5238
5239 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
5240 remote.
5241 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
5242 * gdb.base/foll-exec.exp (main): Enable for target remote.
5243 * gdb.base/foll-fork.exp (main): Likewise.
5244 * gdb.base/foll-vfork.exp (main): Likewise.
5245 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
5246 (proc continue_to_exit_bp_loc): Use clean_restart.
5247 * gdb.base/pie-execl.exp (main): Disable for target remote.
5248 * gdb.base/watch-vfork.exp (main): Enable for target remote.
5249 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
5250 * gdb.threads/execl.exp (main): Likewise.
5251 * gdb.threads/fork-child-threads.exp (main): Likewise.
5252 * gdb.threads/fork-plus-threads.exp (main): Disable for target
5253 remote.
5254 * gdb.threads/fork-thread-pending.exp (main): Enable for target
5255 remote.
5256 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
5257 pid.tid style ptids, instead of just tid.
5258 * gdb.threads/thread-execl.exp (main): Enable for target remote.
5259 * gdb.threads/watchpoint-fork.exp (main): Likewise.
5260 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
5261 ptids, instead of just tid.
5262
5263 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
5264
5265 * gdb.base/list.exp (test_list_forward): Add end of file error
5266 test.
5267 (test_repeat_list_command): Add end of file error test.
5268 (test_list_backwards): Add beginning of file error test.
5269
5270 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
5271
5272 * gdb.base/list.exp (test_list_invalid_args): New function,
5273 defined, and called.
5274
5275 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
5276
5277 * gdb.base/list.exp (test_list): Make test names unique.
5278
5279 2015-12-11 Yao Qi <yao.qi@linaro.org>
5280
5281 * gdb.base/coremaker2.c: Remove.
5282
5283 2015-12-10 Pedro Alves <palves@redhat.com>
5284
5285 * gdb.multi/base.exp: Remove stale "spaces" references.
5286
5287 2015-12-10 Pedro Alves <palves@redhat.com>
5288
5289 * gdb.multi/base.exp: Don't use nowarnings.
5290 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
5291 * gdb.multi/hangout.c: Include stdio.h.
5292 * gdb.multi/hello.c: Include stdlib.h.
5293 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
5294 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
5295 * gdb.multi/multi-arch.exp: Don't use nowarnings.
5296
5297 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
5298
5299 * gdb.dwarf2/dw2-ranges-base.c: New file.
5300 * gdb.dwarf2/dw2-ranges-base.exp: New file.
5301 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
5302 support additional line table, and debug ranges generation.
5303 (Dwarf::ranges): New function, generate .debug_ranges.
5304 (Dwarf::lines): Support generating simple line table programs.
5305 (Dwarf::assemble): Initialise new namespace variables.
5306
5307 2015-12-09 Kevin Buettner <kevinb@redhat.com>
5308
5309 * gdb.base/async.exp (proc test_background): Add case for
5310 asynchronous execution not supported.
5311
5312 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
5313
5314 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
5315 format and change test names to make them unique.
5316
5317 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
5318 Pedro Alves <pedro@redhat.com>
5319
5320 PR gdb/18702
5321 Add checking of floatformats setup on x86_64 hosts.
5322 * gdb.arch/i386-float.S (main): Load bigval and smallval.
5323 (smallval, bigval): New labels/constants.
5324 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
5325 float" after loading bigval and smallval.
5326
5327 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
5328
5329 * gdb.ada/fun_overload_menu.exp: New testcase.
5330 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
5331
5332 2015-12-04 Josh Stone <jistone@redhat.com>
5333
5334 * gdb.base/catch-fork-static.exp: New.
5335
5336 2015-12-03 Yao Qi <yao.qi@linaro.org>
5337
5338 * gdb.base/sizeof.c: Don't include stdio.h and
5339 ../lib/unbuffer_output.c.
5340 (main): New variable 'size' and 'value'. Remove printf and
5341 gdb_unbuffer_output. Assign return value to size and value.
5342 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
5343 at the beginning.
5344 (check_sizeof): Check the result by printing variable 'size'.
5345 (check_valueof): Check the result by printing variable 'value'.
5346
5347 2015-12-01 Yao Qi <yao.qi@linaro.org>
5348
5349 * gdb.base/disp-step-syscall.exp: Define syscall instruction
5350 for aarch64*-*-linux* target.
5351
5352 2015-11-30 Pedro Alves <palves@redhat.com>
5353
5354 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
5355
5356 2015-11-30 Pedro Alves <palves@redhat.com>
5357
5358 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
5359 Handle non-stop mode vCont replies.
5360
5361 2015-11-30 Pedro Alves <palves@redhat.com>
5362
5363 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
5364 prepare_for_testing. Start gdb with "set non-stop on" appended to
5365 GDBFLAGS. Lax expected stop output.
5366
5367 2015-11-27 Yao Qi <yao.qi@linaro.org>
5368
5369 * gdb.arch/arm-neon.exp: New.
5370 * gdb.arch/arm-neon.c: New.
5371
5372 2015-11-27 Yao Qi <yao.qi@linaro.org>
5373
5374 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
5375
5376 2015-11-27 Yao Qi <yao.qi@linaro.org>
5377
5378 * gdb.cp/annota2.exp: Allow multiple occurrences of the
5379 frames-invalid annotation.
5380
5381 2015-11-27 Yao Qi <yao.qi@linaro.org>
5382
5383 * gdb.cp/annota2.exp: Use ${frames_invalid}.
5384
5385 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
5386
5387 * gdb.threads/names.exp: New file.
5388 * gdb.threads/names.c: New file.
5389 * README: Mention gdb,no_thread_names.
5390
5391 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
5392
5393 PR 19297
5394 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
5395 support" error.
5396
5397 2015-11-24 Pedro Alves <palves@redhat.com>
5398
5399 PR 17539
5400 * gdb.base/display.exp: Expect displays to be sorted in ascending
5401 order. Use multi_line.
5402 * gdb.base/solib-display.exp: Likewise.
5403
5404 2015-11-24 Pedro Alves <palves@redhat.com>
5405
5406 PR 17539
5407 * gdb.base/display.exp: Expect displays to be sorted in ascending
5408 order. Use multi_line.
5409 * gdb.base/solib-display.exp: Likewise.
5410
5411 2015-11-24 Pedro Alves <palves@redhat.com>
5412
5413 PR 17539
5414 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
5415 threads in ascending order.
5416 * gdb.base/foll-fork.exp: Likewise.
5417 * gdb.base/foll-vfork.exp: Likewise.
5418 * gdb.base/multi-forks.exp: Likewise.
5419 * gdb.mi/mi-nonstop.exp: Likewise.
5420 * gdb.mi/mi-nsintrall.exp: Likewise.
5421 * gdb.multi/base.exp: Likewise.
5422 * gdb.multi/multi-arch.exp: Likewise.
5423 * gdb.python/py-inferior.exp: Likewise.
5424 * gdb.threads/break-while-running.exp: Likewise.
5425 * gdb.threads/execl.exp: Likewise.
5426 * gdb.threads/gcore-thread.exp: Likewise.
5427 * gdb.threads/info-threads-cur-sal.exp: Likewise.
5428 * gdb.threads/kill.exp: Likewise.
5429 * gdb.threads/linux-dp.exp: Likewise.
5430 * gdb.threads/multiple-step-overs.exp: Likewise.
5431 * gdb.threads/next-bp-other-thread.exp: Likewise.
5432 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
5433 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
5434 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
5435 * gdb.threads/thread-find.exp: Likewise.
5436 * gdb.threads/tls.exp: Likewise.
5437 * lib/mi-support.exp (mi_reverse_list): Delete.
5438 (mi_check_thread_states): No longer reverse list.
5439
5440 2015-11-24 Pedro Alves <palves@redhat.com>
5441
5442 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
5443 use lowercase.
5444
5445 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
5446
5447 * gdb.trace/actions.c: Include trace-common.h.
5448 (main): Add a location for a fast tracepoint.
5449 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
5450 the normal tracepoints.
5451 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
5452
5453 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
5454
5455 * save-trace.exp: Factor out code to these...
5456 (gdb_save_tracepoints): New.
5457 (gdb_load_tracepoints): New.
5458 (do_save_load_test): New.
5459
5460 2015-11-23 Kevin Buettner <kevinb@redhat.com>
5461
5462 * gdb.base/asmlabel.exp: New test.
5463 * gdb.base/asmlabel.c: New test case.
5464
5465 2015-11-23 Joel Brobecker <brobecker@adacore.com>
5466
5467 * gdb.base/wrong_frame_bt_full-main.c: New file.
5468 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
5469 * gdb.base/wrong_frame_bt_full.exp: New file.
5470
5471 2015-11-23 Joel Brobecker <brobecker@adacore.com>
5472
5473 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
5474
5475 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
5476
5477 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
5478 pstate register when comparing registers values in
5479 sparc64-*-linux-gnu targets to avoid spurious differences.
5480
5481 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
5482
5483 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
5484
5485 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
5486
5487 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
5488 as type argument to gdb_compile.
5489 * gdb.base/nested-subp2.exp: Likewise.
5490 * gdb.base/nested-subp3.exp: Likewise.
5491
5492 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
5493
5494 * lib/dwarf.exp (_note): Fix left shift of negative value.
5495 * gdb.trace/trace-condition.exp: Likewise.
5496
5497 2015-11-13 Yao Qi <yao.qi@linaro.org>
5498
5499 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
5500 comments about d10v.
5501 (test_scalar_returns): Likewise.
5502 * gdb.base/d10v.ld: Remove.
5503 * gdb.base/overlays.exp: Remove the target triplet checking for
5504 d10v-*-*.
5505 * gdb.base/structs.exp (test_struct_returns): Remove the
5506 comments about d10v.
5507 (test_struct_calls): Likewise.
5508
5509 2015-11-13 Yao Qi <yao.qi@linaro.org>
5510
5511 * gdb.base/gnu_vector.exp: Check the return value by "p res".
5512 * gdb.base/gnu_vector.c: Don't include stdio.h.
5513 (main): Don't print res and call add_some_intvecs.
5514
5515 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
5516
5517 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
5518 macro.
5519 (func5): Removed.
5520 (func4): Use FAST_TRACEPOINT_LABEL.
5521 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
5522 macro.
5523 (func): Removed.
5524 (thread_function): Use FAST_TRACEPOINT_LABEL.
5525 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
5526 (func): Remove.
5527 (marker): Use FAST_TRACEPOINT_LABEL.
5528 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
5529 (pendfunc1): Remove.
5530 (pendfunc): Use FAST_TRACEPOINT_LABEL.
5531 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
5532 (foo): Remove.
5533 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
5534 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
5535 macro.
5536 (func): Remove.
5537 (marker): Use FAST_TRACEPOINT_LABEL.
5538 * gdb.trace/trace-common.h: New header.
5539 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
5540 macro.
5541 (func): Remove.
5542 (marker): Use FAST_TRACEPOINT_LABEL.
5543 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
5544 (func): Remove.
5545 (thread_function): Use FAST_TRACEPOINT_LABEL.
5546
5547 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
5548
5549 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
5550 in front.
5551 * gdb.trace/change-loc.exp: Use global pcreg definition.
5552 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
5553 * gdb.trace/entry-values.exp: Use global spreg definition, add $
5554 in front.
5555 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
5556 * gdb.trace/pending.exp: Likewise.
5557 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
5558 * gdb.trace/trace-break.exp: Likewise.
5559 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
5560 in front.
5561 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
5562 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
5563 in front.
5564 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
5565
5566 2015-11-09 Joel Brobecker <brobecker@adacore.com>
5567
5568 * gdb.ada/fin_fun_out: New testcase.
5569
5570 2015-11-07 Kevin Buettner <kevinb@redhat.com>
5571
5572 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
5573 value associated with DW_AT_byte_size.
5574 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
5575 constants for DW_AT_byte_size, DW_AT_lower_bound, and
5576 DW_AT_upper_bound.
5577
5578 2015-11-07 Kevin Buettner <kevinb@redhat.com>
5579
5580 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
5581 (gdb_target_symbol_prefix_flags): Define in terms of _asm
5582 version.
5583 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
5584 gdb.dwarf2/dw2-canonicalize-type.exp,
5585 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
5586 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
5587 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
5588 provided by gdb_target_symbol_prefix_flags_asm.
5589 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
5590 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
5591 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
5592 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
5593 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
5594 macros where needed). Use this macro for symbols which require
5595 the prefix provided by SYMBOL_PREFIX.
5596
5597 2015-11-05 Kevin Buettner <kevinb@redhat.com>
5598
5599 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
5600 New procs.
5601 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
5602 representing expressions, of more than one list element.
5603 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
5604 to prepend linker symbol prefix to f.
5605 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
5606 table_1 and table_2.
5607 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
5608 Likewise, for f and g.
5609 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
5610 for ptr.
5611 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
5612 for main.
5613 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
5614 table_1_ptr and table_2_ptr.
5615
5616 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5617 Joel Brobecker <brobecker@adacore.com>
5618
5619 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
5620
5621 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
5622
5623 * gdb.reverse/s390-mvcle.c: New test.
5624 * gdb.reverse/s390-mvcle.exp: New file.
5625 * lib/gdb.exp: Enable reverse tests on s390*-linux.
5626
5627 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
5628
5629 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
5630
5631 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
5632
5633 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
5634 reaching marker2.
5635 * gdb.reverse/getresuid-reverse.exp: Likewise.
5636 * gdb.reverse/pipe-reverse.exp: Likewise.
5637 * gdb.reverse/readv-reverse.exp: Likewise.
5638 * gdb.reverse/recvmsg-reverse.exp: Likewise.
5639 * gdb.reverse/time-reverse.exp: Likewise.
5640 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
5641
5642 2015-10-30 Yao Qi <yao.qi@linaro.org>
5643
5644 * gdb.threads/wp-replication.c (watch_count_done): Remove.
5645 (empty_cycle): Remove.
5646 (main): Don't call empty_cycle. Don't use watch_count_done.
5647 * gdb.threads/wp-replication.exp: Don't set breakpoint on
5648 empty_cycle. Rewrite the code counting HW watchpoints.
5649
5650 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
5651
5652 * gdb.reverse/fstatat-reverse.c: New test.
5653 * gdb.reverse/fstatat-reverse.exp: New file.
5654 * gdb.reverse/getresuid-reverse.c: New test.
5655 * gdb.reverse/getresuid-reverse.exp: New file.
5656 * gdb.reverse/pipe-reverse.c: New test.
5657 * gdb.reverse/pipe-reverse.exp: New file.
5658 * gdb.reverse/readv-reverse.c: New test.
5659 * gdb.reverse/readv-reverse.exp: New file.
5660 * gdb.reverse/recvmsg-reverse.c: New test.
5661 * gdb.reverse/recvmsg-reverse.exp: New file.
5662 * gdb.reverse/time-reverse.c: New test.
5663 * gdb.reverse/time-reverse.exp: New file.
5664 * gdb.reverse/waitpid-reverse.c: New test.
5665 * gdb.reverse/waitpid-reverse.exp: New file.
5666
5667 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5668
5669 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
5670
5671 2015-10-26 Doug Evans <dje@google.com>
5672
5673 PR symtab/17391
5674 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
5675 * gdb.dwarf2/bad-regnum.c: New file.
5676 * gdb.dwarf2/bad-regnum.exp: New file.
5677
5678 2015-10-26 Doug Evans <dje@google.com>
5679
5680 PR python/18938
5681 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
5682 file.
5683
5684 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5685
5686 * gdb.compile/compile.exp (compile code globalvar): Update expectation
5687 for a change by "Mention language in compile error message".
5688
5689 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
5690
5691 PR python/18073
5692 * gdb.python/py-type.c (C::a_method): New.
5693 (C::a_const_method): New.
5694 (C::a_static_method): New.
5695 (a_function): New.
5696 * gdb.python/py-type.exp (test_fields): Test getting fields
5697 from function and method.
5698
5699 2015-10-21 Keven Boell <keven.boell@intel.com>
5700
5701 * gdb.fortran/vla-alloc-assoc.exp: New file.
5702 * gdb.fortran/vla-datatypes.exp: New file.
5703 * gdb.fortran/vla-datatypes.f90: New file.
5704 * gdb.fortran/vla-history.exp: New file.
5705 * gdb.fortran/vla-ptype-sub.exp: New file.
5706 * gdb.fortran/vla-ptype.exp: New file.
5707 * gdb.fortran/vla-sizeof.exp: New file.
5708 * gdb.fortran/vla-sub.f90: New file.
5709 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
5710 * gdb.fortran/vla-value-sub-finish.exp: New file.
5711 * gdb.fortran/vla-value-sub.exp: New file.
5712 * gdb.fortran/vla-value.exp: New file.
5713 * gdb.fortran/vla-ptr-info.exp: New file.
5714 * gdb.mi/mi-vla-fortran.exp: New file.
5715 * gdb.mi/vla.f90: New file.
5716
5717 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
5718
5719 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
5720 of hardwired timeout value.
5721
5722 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5723 Pedro Alves <palves@redhat.com>
5724
5725 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
5726 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
5727
5728 2015-10-19 Josh Stone <jistone@redhat.com>
5729
5730 * gdb.base/catch-syscall.c: Include <sched.h>.
5731 (unknown_syscall): New variable.
5732 (main): Trigger a vfork and an unknown syscall.
5733 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
5734 (unknown_syscall_number): Likewise.
5735 (check_call_to_syscall): Accept an optional syscall pattern.
5736 (check_return_from_syscall): Likewise.
5737 (check_continue): Likewise.
5738 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
5739 (test_catch_syscall_skipping_return): New test toggling off 'catch
5740 syscall' to step over the syscall return, then toggling back on.
5741 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
5742 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
5743 (do_syscall_tests): Call test_catch_syscall_without_args and
5744 test_catch_syscall_mid_vfork.
5745 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
5746 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
5747
5748 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
5749
5750 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
5751 print g_vE): Add new pass patterns.
5752 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
5753 print various symbol names for vptr fields.
5754
5755 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
5756
5757 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
5758 results.
5759
5760 2015-10-12 Yao Qi <yao.qi@linaro.org>
5761
5762 * gdb.arch/disp-step-insn-reloc.exp: New test case.
5763
5764 2015-10-12 Yao Qi <yao.qi@linaro.org>
5765
5766 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
5767 is aarch64*-*-linux*.
5768
5769 2015-10-12 Yao Qi <yao.qi@linaro.org>
5770
5771 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
5772 (can_relocate_bcond_true): ... it.
5773 (can_relocate_bcond_false): New function.
5774 (foo): Likewise.
5775 (can_relocate_bl): Likewise.
5776 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
5777 can_relocate_bl.
5778
5779 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
5780
5781 * gdb.base/nested-addr.c: New file.
5782 * gdb.base/nested-addr.exp: New testcase.
5783
5784 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
5785
5786 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
5787 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
5788 its output. Ignore the output of "record goto begin" and instead
5789 check that GDB is replaying.
5790
5791 2015-10-09 Pedro Alves <palves@redhat.com>
5792
5793 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
5794 (top level): Use it in the run with no args test.
5795
5796 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
5797
5798 * gdb.dlang/properties.exp: New file.
5799
5800 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
5801
5802 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
5803 whether or not address 0x1000 is mapped on the target.
5804
5805 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
5806
5807 * gdb.python/py-type.exp: Do not run tests if binaries fail to
5808 build.
5809
5810 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
5811
5812 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
5813 instruction-history test.
5814
5815 2015-09-28 Doug Evans <dje@google.com>
5816
5817 * gdb.base/gcore.c (array_func): Add reference to static_array.
5818
5819 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
5820
5821 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
5822 source line.
5823
5824 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
5825
5826 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
5827 short or char as base type.
5828
5829 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
5830
5831 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
5832 to allow any size enum.
5833
5834 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
5835
5836 * gdb.ada/array_ptr_renaming.exp: New testcase.
5837 * gdb.ada/array_ptr_renaming/foo.adb: New file.
5838 * gdb.ada/array_ptr_renaming/pack.ads: New file.
5839
5840 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
5841
5842 * gdb.trace/ftrace-lock.c: New file.
5843 * gdb.trace/ftrace-lock.exp: New file.
5844
5845 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
5846
5847 * gdb.arch/insn-reloc.c: New file.
5848 * gdb.arch/ftrace-insn-reloc.exp: New file.
5849
5850 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
5851
5852 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
5853 instruction.
5854 * gdb.trace/pendshr1.c (pendfunc): Likewise.
5855 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
5856 * gdb.trace/range-stepping.c: Likewise.
5857 * gdb.trace/trace-break.c: Likewise.
5858 * gdb.trace/trace-mt.c (thread_function): Likewise.
5859 * gdb.trace/ftrace.c (marker): Likewise.
5860 * gdb.trace/trace-condition.c (marker): Likewise.
5861 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
5862 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
5863 is_aarch64_target.
5864
5865 2015-09-18 Doug Evans <xdje42@gmail.com>
5866
5867 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
5868 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
5869
5870 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5871
5872 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
5873 the breakpoint.
5874
5875 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5876
5877 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
5878 the pending breakpoint. Remove timeout override for "Run till
5879 MI pending breakpoint on pendfunc3 on thread 2" test.
5880
5881 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5882
5883 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
5884 filename pattern.
5885
5886 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5887
5888 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
5889 in breakpoint filename pattern.
5890
5891 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5892
5893 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
5894
5895 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5896
5897 * gdb.linespec/explicit.exp: Check for readline support for
5898 tab-completion tests. Fix obvious typo.
5899
5900 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
5901
5902 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
5903 and replay.
5904
5905 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
5906
5907 * gdb.btrace/non-stop.c: New.
5908 * gdb.btrace/non-stop.exp: New.
5909
5910 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
5911 Yao Qi <yao.qi@linaro.org>
5912
5913 * gdb.trace/trace-condition.c: New file.
5914 * gdb.trace/trace-condition.exp: New file.
5915
5916 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
5917
5918 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
5919 for testing bytecode compilation.
5920
5921 2015-09-16 Pedro Alves <palves@redhat.com>
5922 Sandra Loosemore <sandra@codesourcery.com>
5923
5924 * gdb.threads/non-stop-fair-events.c (timeout): New global.
5925 (SECONDS): Redefine.
5926 (main): Call pthread_kill and alarm early.
5927 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
5928 support.
5929 (test): If the target can't hardware step and doesn't support
5930 displaced stepping, increase the timeout.
5931
5932 2015-09-16 Pedro Alves <palves@redhat.com>
5933
5934 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
5935 (enable_debug): New procedures.
5936 (test): Use them. Bail out if waiting for threads fails.
5937 (top level): Bail out if a test fails.
5938
5939 2015-09-16 Yao Qi <yao.qi@linaro.org>
5940
5941 * gdb.asm/asm-source.exp: Set asm-arch for
5942 aarch64*-*-* target.
5943 * gdb.asm/aarch64.inc: New file.
5944
5945 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
5946
5947 * gdb.ada/array_of_variable_length.exp: New testcase.
5948 * gdb.ada/array_of_variable_length/foo.adb: New file.
5949 * gdb.ada/array_of_variable_length/pck.adb: New file.
5950 * gdb.ada/array_of_variable_length/pck.ads: New file.
5951
5952 2015-09-15 Doug Evans <dje@google.com>
5953
5954 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
5955 of function static local variable.
5956
5957 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5958
5959 * gdb.threads/tls-so_extern.exp: New test file.
5960 * gdb.threads/tls-so_extern.c: New test file.
5961 * gdb.threads/tls-so_extern_main.c: New test file.
5962
5963 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5964
5965 * gdb.opt/solib-intra-step-lib.c: New file.
5966 * gdb.opt/solib-intra-step-main.c: New file.
5967 * gdb.opt/solib-intra-step.exp: New file.
5968
5969 2015-09-15 Pedro Alves <palves@redhat.com>
5970
5971 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
5972 gdb_continue_to_breakpoint instead of gdb_test_multiple.
5973
5974 2015-09-14 Pedro Alves <palves@redhat.com>
5975
5976 * gdb.base/hook-stop-continue.c: Delete.
5977 * gdb.base/hook-stop-continue.exp: Delete.
5978 * gdb.base/hook-stop-frame.c: Delete.
5979 * gdb.base/hook-stop-frame.exp: Delete.
5980 * gdb.base/hook-stop.c: New file.
5981 * gdb.base/hook-stop.exp: New file.
5982
5983 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
5984
5985 * gdb.ada/access_to_packed_array.exp: New testcase.
5986 * gdb.ada/access_to_packed_array/foo.adb: New file.
5987 * gdb.ada/access_to_packed_array/pack.adb: New file.
5988 * gdb.ada/access_to_packed_array/pack.ads: New file.
5989
5990 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
5991
5992 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
5993 buffer size test.
5994
5995 2015-09-11 Don Breazeal <donb@codesourcery.com>
5996
5997 * gdb.base/foll-exec.c: Add copyright header. Fix
5998 formatting issues.
5999 * gdb.base/foll-exec.exp (zap_session): Delete proc.
6000 (do_exec_tests): Use clean_restart in place of zap_session,
6001 and for test initialization. Fix formatting issues. Use
6002 fail in place of perror.
6003 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
6004 an expect statement to match an expression with output from
6005 the program under debug.
6006 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
6007 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
6008 * gdb.threads/non-ldr-exc-2.exp: Likewise.
6009 * gdb.threads/non-ldr-exc-3.exp: Likewise.
6010 * gdb.threads/non-ldr-exc-4.exp: Likewise.
6011
6012 2015-09-09 Doug Evans <dje@google.com>
6013
6014 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
6015
6016 2015-09-09 Doug Evans <dje@google.com>
6017
6018 * gdb.base/pie-execl.exp: Fix result test of build_executable.
6019
6020 2015-09-09 Doug Evans <dje@google.com>
6021
6022 * gdb.base/savedregs.exp: Fix typo.
6023
6024 2015-09-09 Pedro Alves <palves@redhat.com>
6025
6026 * gdb.mi/mi-cli.exp: Add CLI finish tests.
6027
6028 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
6029
6030 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
6031 command actually switches threads. Give up on remaining
6032 tests if target fails to stop at breakpoint.
6033
6034 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
6035
6036 * gdb.ada/funcall_char.exp: New testcase.
6037 * gdb.ada/funcall_char/foo.adb: New file.
6038
6039 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
6040
6041 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
6042 expected outputs. Add two testcases for completing ambiguous
6043 functions.
6044 * gdb.ada/complete/aux_pck.adb: New file.
6045 * gdb.ada/complete/aux_pck.ads: New file.
6046 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
6047 Ambiguous_Func functions.
6048 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
6049 * gdb.ada/complete/pck.adb: Likewise.
6050
6051 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
6052
6053 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
6054 failures to run the test program under GDB.
6055
6056 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
6057
6058 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
6059 to C.
6060
6061 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
6062
6063 * gdb.base/run-after-attach.exp: New test file.
6064 * gdb.base/run-after-attach.c: New test file.
6065
6066 2015-08-26 Don Breazeal <donb@codesourcery.com>
6067
6068 * gdb.base/foll-exec-2.c: New test program.
6069 * gdb.base/foll-exec-2.exp: New test.
6070
6071 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
6072
6073 * gdb.base/nested-subp1.exp: New file.
6074 * gdb.base/nested-subp1.c: New file.
6075 * gdb.base/nested-subp2.exp: New file.
6076 * gdb.base/nested-subp2.c: New file.
6077 * gdb.base/nested-subp3.exp: New file.
6078 * gdb.base/nested-subp3.c: New file.
6079
6080 2015-08-24 Pedro Alves <palves@redhat.com>
6081
6082 * gdb.server/connect-without-multi-process.c: New file.
6083 * gdb.server/connect-without-multi-process.exp: New file.
6084
6085 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
6086
6087 * gdb.opt/inline-markers.c: Make z int.
6088
6089 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
6090
6091 * gdb.opt/inline-markers.c: Make z volatile.
6092
6093 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
6094
6095 * gdb.opt/inline-bt.c: New volatile global z.
6096 * gdb.opt/inline-cmds.c: Likewise.
6097 * gdb.opt/inline-locals.c: Likewise.
6098 * gdb.opt/inline-markers.c: New extern global z.
6099 (marker): Use z.
6100 (inline_fn): Likewise.
6101
6102 2015-08-24 Pedro Alves <palves@redhat.com>
6103
6104 * config/m32r-stub.exp: Remove file.
6105 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
6106 * gdb.base/call-rt-st.exp: Likewise.
6107 * gdb.base/call-strs.exp: Likewise.
6108 * gdb.base/default.exp: Remove references to h8300-*-hms and
6109 *-*-udi*.
6110 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
6111
6112 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
6113
6114 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
6115 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
6116 and "return" use KFAIL when GDB can not read/write the vector
6117 return value.
6118
6119 2015-08-21 Gary Benson <gbenson@redhat.com>
6120
6121 * gdb.trace/pending.exp: Cope with remote transfer warnings.
6122
6123 2015-08-20 Pedro Alves <palves@redhat.com>
6124
6125 * gdb.server/solib-list.exp: No longer expect an interior stop in
6126 non-stop mode.
6127
6128 2015-08-20 Pedro Alves <palves@redhat.com>
6129
6130 * gdb.server/connect-stopped-target.c: New file.
6131 * gdb.server/connect-stopped-target.exp: New file.
6132
6133 2015-08-20 Pedro Alves <palves@redhat.com>
6134
6135 * gdb.dwarf2/comp-unit-lang.exp: New file.
6136 * gdb.dwarf2/comp-unit-lang.c: New file.
6137
6138 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
6139
6140 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
6141 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
6142
6143 2015-08-19 Kevin Buettner <kevinb@redhat.com>
6144
6145 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
6146 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
6147
6148 2015-08-18 Doug Evans <dje@google.com>
6149 Adrian Sendroiu <adrian.sendroiu@freescale.com>
6150
6151 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
6152 skip_python_tests. New arg prompt_regexp.
6153 (skip_python_tests): New function.
6154 * lib/mi-support.exp (mi_skip_python_tests): New function.
6155 * gdb.python/py-mi-objfile-gdb.py: New file.
6156 * gdb.python/py-mi-objfile.c: New file.
6157 * gdb.python/py-mi-objfile.exp: New file.
6158
6159 2015-08-17 Keith Seitz <keiths@redhat.com>
6160
6161 * gdb.linespec/explicit.exp: Move strace test from here ...
6162 * gdb.trace/strace.exp: ... to here.
6163
6164 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
6165
6166 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
6167 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
6168
6169 2015-08-14 Doug Evans <xdje42@gmail.com>
6170
6171 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
6172 inferior before selecting a new file.
6173
6174 2015-08-14 Doug Evans <xdje42@gmail.com>
6175
6176 * gdb.mi/mi-disassemble.exp: Update.
6177 * gdb.base/disasm-optim.S: New file.
6178 * gdb.base/disasm-optim.c: New file.
6179 * gdb.base/disasm-optim.h: New file.
6180 * gdb.base/disasm-optim.exp: New file.
6181
6182 2015-08-14 Keith Seitz <keiths@redhat.com>
6183
6184 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
6185 "evaluated-by".
6186
6187 2015-08-13 Joel Brobecker <brobecker@adacore.com>
6188
6189 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
6190
6191 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
6192
6193 * gdb.ada/fun_renaming.exp: New testcase.
6194 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
6195 * gdb.ada/fun_renaming/pack.adb: New file.
6196 * gdb.ada/fun_renaming/pack.ads: New file.
6197
6198 2015-08-12 Keith Seitz <keiths@redhat.com>
6199
6200 * gdb.base/dso2dso.exp: Pass basename of source file in call to
6201 gdb_get_line_number.
6202
6203 2015-08-12 Joel Brobecker <brobecker@adacore.com>
6204
6205 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
6206 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
6207 gdb.base/dso2dso.exp: New files.
6208
6209 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
6210 Pedro Alves <palves@redhat.com>
6211 Keith Seitz <keiths@redhat.com>
6212
6213 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
6214 GDBFLAGS.
6215
6216 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
6217
6218 * gdb.base/gdbhistsize-history.exp
6219 (test_histsize_history_setting): Use save_vars.
6220 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
6221 Use save_vars.
6222 (test_no_truncation_of_unlimited_history_file): Use save_vars.
6223 * gdb.base/readline.exp: Use save_vars.
6224
6225 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
6226
6227 * lib/gdb.exp (save_vars): New proc.
6228
6229 2015-08-11 Keith Seitz <keiths@redhat.com>
6230
6231 * gdb.base/help.exp: Update help_breakpoint_text.
6232
6233 2015-08-11 Keith Seitz <keiths@redhat.com>
6234
6235 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
6236 (at toplevel): Call test_explicit_breakpoints.
6237 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
6238 breakpoints.
6239 * lib/mi-support.exp (mi_make_breakpoint): Add support for
6240 breakpoint conditions, "-cond".
6241
6242 2015-08-11 Keith Seitz <keiths@redhat.com>
6243
6244 * gdb.linespec/3explicit.c: New file.
6245 * gdb.linespec/cpexplicit.cc: New file.
6246 * gdb.linespec/cpexplicit.exp: New file.
6247 * gdb.linespec/explicit.c: New file.
6248 * gdb.linespec/explicit.exp: New file.
6249 * gdb.linespec/explicit2.c: New file.
6250 * gdb.linespec/ls-errs.exp: Add explicit location tests.
6251 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
6252 before using in the matching pattern.
6253 Clarify that `prefix' is a regular expression.
6254
6255 2015-08-11 Keith Seitz <keiths@redhat.com>
6256
6257 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
6258 test.
6259 Add tests for missing ",FMT" and ",".
6260
6261 2015-08-10 Doug Evans <dje@google.com>
6262 Keith Seitz <keiths@redhat.com>
6263
6264 PR gdb/17960
6265 * gdb.base/completion.exp: Add location completer tests.
6266
6267 2015-08-07 Pedro Alves <palves@redhat.com>
6268
6269 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
6270 tests here.
6271 (top level): Run do_test with and without displaced stepping.
6272
6273 2015-08-07 Pedro Alves <palves@redhat.com>
6274
6275 * gdb.base/valgrind-disp-step.c: New file.
6276 * gdb.base/valgrind-disp-step.exp: New file.
6277
6278 2015-08-07 Pedro Alves <palves@redhat.com>
6279
6280 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
6281 Delete function.
6282 (main): Add alarm. Run an infinite loop instead of calling
6283 wait_threads.
6284 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
6285 comment.
6286 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
6287 Delete function.
6288 (main): Add alarm. Run an infinite loop instead of calling
6289 wait_threads.
6290 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
6291 comment.
6292
6293 2015-08-07 Pedro Alves <palves@redhat.com>
6294
6295 * gdb.base/checkpoint-ns.exp: New file.
6296 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
6297 standard_testfile.
6298
6299 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
6300
6301 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
6302 * gdb.btrace/instruction_history.exp: Update.
6303 * gdb.btrace/tsx.exp: New.
6304 * gdb.btrace/tsx.c: New.
6305
6306 2015-08-06 Pedro Alves <palves@redhat.com>
6307
6308 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
6309 increase timeout.
6310 * gdb.reverse/until-precsave.exp: Bump timeouts.
6311
6312 2015-08-06 Pedro Alves <palves@redhat.com>
6313
6314 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
6315
6316 2015-08-06 Pedro Alves <palves@redhat.com>
6317
6318 PR gdb/18749
6319 * gdb.threads/process-dies-while-handling-bp.c: New file.
6320 * gdb.threads/process-dies-while-handling-bp.exp: New file.
6321
6322 2015-08-06 Pedro Alves <palves@redhat.com>
6323
6324 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
6325 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
6326
6327 2015-08-05 Pedro Alves <palves@redhat.com>
6328
6329 * gdb.threads/next-while-other-thread-longjmps.c: New file.
6330 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
6331
6332 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
6333
6334 * gdb.base/bp-permanent.exp: Report test as unsupported if
6335 the target cannot stop at the permanent breakpoint.
6336
6337 2015-08-03 Doug Evans <dje@google.com>
6338
6339 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
6340 10000.
6341
6342 2015-08-03 Doug Evans <dje@google.com>
6343
6344 * Makefile.in (workers/%.worker, build-perf): New rule.
6345 (GDB_PERFTEST_MODE): New variable.
6346 (check-perf): Use it.
6347 (clean): Clean up gdb.perf parallel build subdirs.
6348 * lib/build-piece.exp: New file.
6349 * lib/gdb.exp (make_gdb_parallel_path): New function
6350 (standard_output_file, standard_temp_file): Call it.
6351 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
6352 of $GDB_PARALLEL.
6353 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
6354
6355 2015-08-03 Doug Evans <dje@google.com>
6356
6357 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
6358 (LOG_FILE_NAME): New global.
6359 (TextReporter.__init__): Initialize self.txt_sum.
6360 (TextReporter.report): Add support for multiple data-points.
6361 Move report to perftest.sum, put raw data in perftest.log.
6362 (TextReporter.start): Open sum and log files.
6363 (TextReporter.end): Close sum and log files.
6364 * gdb.perf/lib/perftest/testresult.py
6365 (SingleStatisticTestResult.record): Handle multiple data-points.
6366
6367 2015-07-31 Pedro Alves <palves@redhat.com>
6368
6369 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
6370 Use spawn_id_get_pid. Wait for spawn id after eof. Use
6371 kill_wait_spawned_process instead of explicit "kill -9".
6372 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
6373 returning a spawn id instead of a pid. Use spawn_id_get_pid and
6374 kill_wait_spawned_process.
6375 * gdb.base/attach-twice.exp: Likewise.
6376 * gdb.base/attach.exp: Likewise.
6377 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
6378 gdb_test_multiple.
6379 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
6380 returning a spawn id instead of a pid. Use spawn_id_get_pid and
6381 kill_wait_spawned_process.
6382 * gdb.base/valgrind-infcall.exp: Likewise.
6383 * gdb.multi/multi-attach.exp: Likewise.
6384 * gdb.python/py-prompt.exp: Likewise.
6385 * gdb.python/py-sync-interp.exp: Likewise.
6386 * gdb.server/ext-attach.exp: Likewise.
6387 * gdb.threads/attach-into-signal.exp (corefunc): Use
6388 spawn_wait_for_attach, spawn_id_get_pid and
6389 kill_wait_spawned_process.
6390 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
6391 spawn_wait_for_attach returning a spawn id instead of a pid. Use
6392 spawn_id_get_pid and kill_wait_spawned_process.
6393 * gdb.threads/attach-stopped.exp (corefunc): Use
6394 spawn_wait_for_attach, spawn_id_get_pid and
6395 kill_wait_spawned_process.
6396 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
6397 Use spawn_id_get_pid. Wait for spawn id after eof. Use
6398 kill_wait_spawned_process instead of explicit "kill -9".
6399 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
6400 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
6401 (spawn_wait_for_attach): Use spawn instead of exec to spawn
6402 processes. Don't map cygwin/windows pids here. Now returns a
6403 spawn id list.
6404
6405 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
6406
6407 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
6408 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
6409 correct patch.
6410
6411 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
6412
6413 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
6414
6415 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
6416
6417 Reapply:
6418 2014-05-21 Mark Wielaard <mjw@redhat.com>
6419
6420 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
6421
6422 2015-07-30 Pedro Alves <palves@redhat.com>
6423
6424 * linux-low.c (handle_extended_wait): Set the child's last
6425 reported status to TARGET_WAITKIND_STOPPED.
6426
6427 2015-07-30 Pedro Alves <palves@redhat.com>
6428
6429 PR threads/18600
6430 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
6431 only shows inferior 1.
6432
6433 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
6434 Pedro Alves <palves@redhat.com>
6435
6436 PR threads/18600
6437 * gdb.threads/fork-plus-threads.c: New file.
6438 * gdb.threads/fork-plus-threads.exp: New file.
6439
6440 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
6441
6442 * gdb.base/batch-preserve-term-settings.exp
6443 (test_terminal_settings_preserved_after_cli_exit): Use
6444 send_quit_command.
6445
6446 2015-07-29 Pedro Alves <palves@redhat.com>
6447 Don Breazeal <donb@codesourcery.com>
6448
6449 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
6450 output from both inferior_spawn_id and gdb_spawn_id.
6451
6452 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
6453
6454 * gdb.threads/attach-into-signal.exp (corefunc): Use
6455 with_test_prefix on nested loops, uniquefying the test messages.
6456
6457 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
6458
6459 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
6460 commit.
6461
6462 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
6463
6464 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
6465 New proc.
6466 (test_terminal_settings_preserved_after_sigterm): New test.
6467
6468 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
6469
6470 * gdb.base/batch-preserve-term-settings.exp
6471 (test_terminal_settings_preserved_after_cli_exit): New test.
6472
6473 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
6474
6475 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
6476 manipulation of saved_gdbflags.
6477 (test_terminal_settings_preserved): Remove global declaration of
6478 the unused variable pagination_prompt. Remove manipulation of
6479 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
6480 GDBFLAGS.
6481
6482 2015-07-29 Pedro Alves <palves@redhat.com>
6483
6484 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
6485
6486 2015-07-29 Pedro Alves <palves@redhat.com>
6487
6488 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
6489 at the top.
6490
6491 2015-07-29 Pedro Alves <palves@redhat.com>
6492
6493 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
6494 (main): Call gdb_unbuffer_output.
6495 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
6496 (main): Call gdb_unbuffer_output.
6497 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
6498 (main): Call gdb_unbuffer_output.
6499 * gdb.base/call-strs.exp: Adjust to step over the
6500 gdb_unbuffer_output call.
6501 * gdb.base/catch-gdb-caused-signals.c: Include
6502 "../lib/unbuffer_output.c".
6503 (main): Call gdb_unbuffer_output.
6504 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
6505 (main): Call gdb_unbuffer_output.
6506 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
6507 (main): Call gdb_unbuffer_output.
6508 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
6509 (main): Call gdb_unbuffer_output.
6510 * gdb.base/shlib-call.exp: Adjust to step over the
6511 gdb_unbuffer_output call.
6512 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
6513 (main): Call gdb_unbuffer_output.
6514 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
6515 (main): Call gdb_unbuffer_output.
6516 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
6517 (main): Rename to ...
6518 (test): ... this.
6519 (main): Reimplement.
6520 * gdb.base/varargs.exp: Run to test instead of to main.
6521 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
6522 (main): Call gdb_unbuffer_output.
6523
6524 2015-07-29 Pedro Alves <palves@redhat.com>
6525
6526 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
6527 factore out from mi_continue_dprintf. For call-style dprintfs,
6528 expect dprintf output out of $inferior_spawn_id.
6529 (mi_continue_dprintf): Use mi_expect_dprintf.
6530 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
6531 (main): Call gdb_unbuffer_output.
6532
6533 2015-07-29 Pedro Alves <palves@redhat.com>
6534
6535 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
6536 (default_mi_gdb_start): Set inferior_spawn_id instead of
6537 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
6538 gdb_spawn_id.
6539 (mi_gdb_test): Always expect inferior output from both
6540 $inferior_spawn_id and $gdb_spawn_id.
6541
6542 2015-07-29 Pedro Alves <palves@redhat.com>
6543
6544 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
6545 send_inferior and $inferior_spawn_id.
6546
6547 2015-07-29 Pedro Alves <palves@redhat.com>
6548
6549 * gdb.gdb/complaints.exp (test_initial_complaints)
6550 (test_serial_complaints, test_short_complaints): Use
6551 gdb_test_stdio.
6552 (test_empty_complaint): Handle $inferior_spawn_id !=
6553 $gdb_spawn_id.
6554
6555 2015-07-29 Pedro Alves <palves@redhat.com>
6556
6557 * gdb.base/varargs.exp: Use gdb_test_stdio.
6558
6559 2015-07-29 Pedro Alves <palves@redhat.com>
6560
6561 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
6562
6563 2015-07-29 Pedro Alves <palves@redhat.com>
6564
6565 * gdb.base/ending-run.exp: Use gdb_test_stdio.
6566
6567 2015-07-29 Pedro Alves <palves@redhat.com>
6568
6569 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
6570 parameter into two new parameters, "inf_result" and "gdb_result".
6571 Expect inferior output and gdb output from $inferior_spawn_id and
6572 $gdb_spawn_id, respectively. Adjust all callers.
6573
6574 2015-07-29 Pedro Alves <palves@redhat.com>
6575
6576 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
6577 of gdb_test_sequence.
6578
6579 2015-07-29 Pedro Alves <palves@redhat.com>
6580
6581 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
6582 (saw_spurious_output): Expect inferior output from
6583 $inferior_spawn_id. Use gdb_test_stdio.
6584
6585 2015-07-29 Pedro Alves <palves@redhat.com>
6586
6587 * gdb.base/dprintf.exp: Use standard_testfile. Change
6588 prepare_for_testing call.
6589 (srcfile): Don't set.
6590 (restart): New procedure.
6591 (test_dprintf): New procecure, use to continue over dprintfs.
6592 (test_call, test_agent): New procedures, tests moved here.
6593 Restart gdb and recreate dprintfs. Adjust expected output.
6594
6595 2015-07-29 Pedro Alves <palves@redhat.com>
6596
6597 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
6598
6599 2015-07-29 Pedro Alves <palves@redhat.com>
6600
6601 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
6602
6603 2015-07-29 Pedro Alves <palves@redhat.com>
6604
6605 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
6606 gdb_test_stdio.
6607
6608 2015-07-29 Pedro Alves <palves@redhat.com>
6609
6610 * lib/gdb.exp (gdb_test_stdio): New procedure.
6611
6612 2015-07-29 Pedro Alves <palves@redhat.com>
6613
6614 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
6615
6616 2015-07-29 Pedro Alves <palves@redhat.com>
6617
6618 * gdb.base/call-signal-resume.exp: Remove check for
6619 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
6620 * gdb.base/unwindonsignal.exp: Likewise.
6621 * gdb.base/call-signals.c (gen_signal): Remove printf call.
6622 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
6623
6624 2015-07-29 Pedro Alves <palves@redhat.com>
6625
6626 * gdb.base/siginfo-addr.c (pass): New function.
6627 (handler): Call it iff si_addr is correct.
6628 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
6629 Set a breakpoint at "pass" and continue to it.
6630
6631 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
6632
6633 * gdb.python/py-objfile.exp: Make some tests have unique names.
6634 * gdb.python/py-pp-registration.exp: Likewise.
6635
6636 2015-07-28 Pedro Alves <palves@redhat.com>
6637
6638 * gdb.server/server-exec-info.exp: Issue a "disconnect".
6639
6640 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
6641
6642 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
6643
6644 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
6645
6646 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
6647
6648 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
6649
6650 * gdb.base/gdb-sigterm-2.exp: New test.
6651
6652 2015-07-25 Doug Evans <xdje42@gmail.com>
6653
6654 Revert:
6655 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
6656 (workers/%.worker, build-perf): New rule.
6657 (GDB_PERFTEST_MODE): New variable.
6658 (check-perf): Use it.
6659 (clean): Clean up gdb.perf parallel build subdirs.
6660 * lib/build-piece.exp: New file.
6661 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
6662 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
6663 name.
6664 (standard_temp_file): Ditto.
6665 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
6666 of $GDB_PARALLEL.
6667
6668 2015-07-24 Doug Evans <dje@google.com>
6669
6670 * gdb.perf/lib/perftest/utils.py: New file.
6671 * gdb.perf/gm-hello.cc: New file.
6672 * gdb.perf/gm-pervasive-typedef.cc: New file.
6673 * gdb.perf/gm-pervasive-typedef.h: New file.
6674 * gdb.perf/gm-std.cc: New file.
6675 * gdb.perf/gm-std.h: New file.
6676 * gdb.perf/gm-use-cerr.cc: New file.
6677 * gdb.perf/gm-utils.h: New file.
6678 * gdb.perf/gmonster-null-lookup.py: New file.
6679 * gdb.perf/gmonster-pervasive-typedef.py: New file.
6680 * gdb.perf/gmonster-print-cerr.py: New file.
6681 * gdb.perf/gmonster-ptype-string.py: New file.
6682 * gdb.perf/gmonster-runto-main.py: New file.
6683 * gdb.perf/gmonster-select-file.py: New file.
6684 * gdb.perf/gmonster1-null-lookup.exp: New file.
6685 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
6686 * gdb.perf/gmonster1-print-cerr.exp: New file.
6687 * gdb.perf/gmonster1-ptype-string.exp: New file.
6688 * gdb.perf/gmonster1-runto-main.exp: New file.
6689 * gdb.perf/gmonster1-select-file.exp: New file.
6690 * gdb.perf/gmonster1.cc: New file.
6691 * gdb.perf/gmonster1.exp: New file.
6692 * gdb.perf/gmonster2-null-lookup.exp: New file.
6693 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
6694 * gdb.perf/gmonster2-print-cerr.exp: New file.
6695 * gdb.perf/gmonster2-ptype-string.exp: New file.
6696 * gdb.perf/gmonster2-runto-main.exp: New file.
6697 * gdb.perf/gmonster2-select-file.exp: New file.
6698 * gdb.perf/gmonster2.cc: New file.
6699 * gdb.perf/gmonster2.exp: New file.
6700
6701 2015-07-24 Doug Evans <dje@google.com>
6702
6703 * gdb.perf/README: New file.
6704 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
6705 * lib/gen-perf-test.exp: New file.
6706
6707 2015-07-24 Doug Evans <dje@google.com>
6708
6709 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
6710 (PerfTest::startup): New function.
6711 (PerfTest::run): Return result of calling body.
6712 (PerfTest::assemble): Rewrite.
6713 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
6714 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
6715 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
6716 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
6717 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
6718
6719 2015-07-24 Doug Evans <dje@google.com>
6720
6721 * lib/gdb.exp (clean_restart): Make executable optional.
6722
6723 2015-07-24 Doug Evans <dje@google.com>
6724
6725 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
6726 compiler_info references.
6727 * gdb.cp/temargs.exp: Ditto.
6728 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
6729 (get_compiler_info): Early exit if already computed. Set compiler_info
6730 to "unknown" if there was a problem.
6731 (test_compiler_info): Add function comment. Call get_compiler_info.
6732
6733 2015-07-24 Doug Evans <dje@google.com>
6734
6735 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
6736 (workers/%.worker, build-perf): New rule.
6737 (GDB_PERFTEST_MODE): New variable.
6738 (check-perf): Use it.
6739 (clean): Clean up gdb.perf parallel build subdirs.
6740 * lib/build-piece.exp: New file.
6741 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
6742 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
6743 name.
6744 (standard_temp_file): Ditto.
6745 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
6746 of $GDB_PARALLEL.
6747
6748 2015-07-24 Doug Evans <dje@google.com>
6749
6750 * lib/future.exp (gdb_default_target_compile): New option
6751 "early_flags".
6752 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
6753 --as-needed.
6754
6755 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
6756
6757 * gdb.base/catch-syscall.exp: Call gdb_exit before
6758 gdb_skip_xml_test.
6759
6760 2015-07-24 Pedro Alves <palves@redhat.com>
6761
6762 * gdb.python/py-events.exp: Accept output between the stop event
6763 and the prompt.
6764 * gdb.python/py-evsignal.exp: Likewise.
6765 * gdb.python/py-evthreads.exp: Likewise.
6766
6767 2015-07-24 Pedro Alves <palves@redhat.com>
6768
6769 PR gdb/18717
6770 * gdb.threads/non-ldr-exit.c: New file.
6771 * gdb.threads/non-ldr-exit.exp: New file.
6772
6773 2015-07-24 Yao Qi <yao.qi@linaro.org>
6774
6775 * gdb.server/ext-wrapper.exp: Test --wrapper option when
6776 restarting process.
6777
6778 2015-07-24 Yao Qi <yao.qi@linaro.org>
6779
6780 * gdb.server/ext-restart.exp: New file.
6781
6782 2015-07-24 Yao Qi <yao.qi@linaro.org>
6783
6784 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
6785 argument options.
6786 * gdb.server/ext-wrapper.exp: New file.
6787
6788 2015-07-23 Doug Evans <dje@google.com>
6789
6790 * gdb.dwarf2/dw2-dummy-cu.S: New file.
6791 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
6792
6793 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
6794
6795 * gdb.ada/var_arr_typedef.exp: New testcase.
6796 * gdb.ada/var_arr_typedef/pack.adb: New file.
6797 * gdb.ada/var_arr_typedef/pack.ads: New file.
6798 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
6799
6800 2015-07-20 Joel Brobecker <brobecker@adacore.com>
6801
6802 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
6803
6804 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6805
6806 * gdb.arch/i386-biarch-core.exp: Replace istarget
6807 by "complete set gnutarget". Remove expectation for the "core-file"
6808 command.
6809
6810 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6811
6812 Revert the previous commit:
6813 Tests for validate symbol file using build-id.
6814
6815 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
6816
6817 Tests for validate symbol file using build-id.
6818 * gdb.base/solib-mismatch-lib.c: New file.
6819 * gdb.base/solib-mismatch-libmod.c: New file.
6820 * gdb.base/solib-mismatch.c: New file.
6821 * gdb.base/solib-mismatch.exp: New file.
6822
6823 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
6824
6825 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
6826 nios2-*-linux*.
6827 * gdb.base/sigbpt.exp (stepi_out): Likewise.
6828 * gdb.base/siginfo.exp: Likewise.
6829 * gdb.base/sigstep.exp (advance, advancei): Likewise.
6830
6831 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
6832
6833 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
6834 Move it to ...
6835 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
6836 ... here.
6837 * gdb.trace/range-stepping.exp: Check that the target supports
6838 range stepping.
6839
6840 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6841
6842 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
6843
6844 2015-07-14 Pedro Alves <palves@redhat.com>
6845
6846 * gdb.base/killed-outside.exp: New file.
6847 * gdb.base/killed-outside.c: New file.
6848
6849 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6850
6851 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
6852 (n at main): New.
6853 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
6854
6855 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
6856
6857 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
6858 infcall tests instead of setting up for KFAIL.
6859
6860 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
6861
6862 * gdb.btrace/record_goto-step.exp: New.
6863
6864 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6865
6866 PR compile/18484
6867 * gdb.compile/compile.c (struct struct_type): Add volatile to
6868 selffield's type.
6869 * gdb.compile/compile.exp
6870 (compile code struct_object.selffield = &struct_object): Skip further
6871 struct_object tests if this one xfails.
6872
6873 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
6874
6875 PR exp/18617
6876 * gdb.trace/ax.exp: Add test.
6877
6878 2015-07-07 Yao Qi <yao.qi@linaro.org>
6879
6880 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
6881 instead of istarget "aarch64*-*-*".
6882 * gdb.arch/aarch64-fp.exp: Likewise.
6883 * gdb.base/float.exp: Likewise.
6884 * gdb.reverse/aarch64.exp: Likewise.
6885 * lib/gdb.exp (is_aarch64_target): New proc.
6886
6887 2015-07-07 Yao Qi <yao.qi@linaro.org>
6888
6889 * lib/gdb.exp (is_aarch32_target): New proc.
6890 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
6891 instead of "istarget "arm*-*-*"".
6892 * gdb.arch/arm-disp-step.exp: Likewise.
6893 * gdb.arch/thumb-bx-pc.exp: Likewise.
6894 * gdb.arch/thumb-prologue.exp: Likewise.
6895 * gdb.arch/thumb-singlestep.exp: Likewise.
6896 * gdb.base/disp-step-syscall.exp: Likewise.
6897 * gdb.base/float.exp: Likewise.
6898
6899 2015-07-07 Yao Qi <yao.qi@linaro.org>
6900
6901 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
6902 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
6903
6904 2015-07-07 Yao Qi <yao.qi@linaro.org>
6905
6906 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
6907 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
6908 if it exists.
6909 * gdb.multi/multi-arch.exp: Likewise.
6910
6911 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
6912
6913 * gdb.python/py-lazy-string.exp: Add missing parentheses to
6914 print.
6915
6916 2015-07-07 Yao Qi <yao.qi@linaro.org>
6917
6918 * gdb.arch/thumb-singlestep.exp: Do one more single step.
6919
6920 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
6921
6922 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
6923 '[' and ']' characters.
6924
6925 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
6926
6927 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
6928
6929 2015-06-29 Pedro Alves <palves@redhat.com>
6930
6931 PR threads/18127
6932 * gdb.threads/hand-call-new-thread.c: New file.
6933 * gdb.threads/hand-call-new-thread.c: New file.
6934
6935 2015-06-26 Keith Seitz <keiths@redhat.com>
6936 Doug Evans <dje@google.com>
6937
6938 PR 16253
6939 * gdb.cp/var-tag-2.cc: New file.
6940 * gdb.cp/var-tag-3.cc: New file.
6941 * gdb.cp/var-tag-4.cc: New file.
6942 * gdb.cp/var-tag.cc: New file.
6943 * gdb.cp/var-tag.exp: New file.
6944
6945 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
6946
6947 * gdb.base/history-duplicates.exp: New test.
6948
6949 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
6950
6951 * gdb.base/completion.exp: Test the completion of the "focus"
6952 command.
6953
6954 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6955
6956 * gdb.arch/amd64-prologue-skip.S: New file.
6957 * gdb.arch/amd64-prologue-skip.exp: New file.
6958
6959 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
6960
6961 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
6962 is_address_zero_readable check.
6963
6964 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
6965
6966 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
6967 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
6968
6969 2015-06-24 Yao Qi <yao.qi@linaro.org>
6970
6971 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
6972 linux targets.
6973
6974 2015-06-24 Yao Qi <yao.qi@linaro.org>
6975
6976 * lib/gdb.exp (supports_get_siginfo_type): New proc.
6977 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
6978 * gdb.base/siginfo-thread.exp: Likewise.
6979
6980 2015-06-22 Yao Qi <yao.qi@linaro.org>
6981
6982 * boards/remote-gdbserver-on-localhost.exp: Add comments.
6983
6984 2015-06-22 Yao Qi <yao.qi@linaro.org>
6985
6986 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
6987 aarch64*-*-*.
6988 (skip_hw_watchpoint_tests): Likewise.
6989
6990 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
6991
6992 * gdb.base/gdbinit-history.exp: Test the interaction between
6993 setting GDBHISTSIZE and setting the history size via .gdbinit.
6994
6995 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
6996
6997 PR gdb/16999
6998 * gdb.base/gdbhistsize-history.exp: New test.
6999
7000 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
7001
7002 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
7003 with GDBHISTSIZE.
7004 * gdb.base/readline.exp: Likewise.
7005
7006 2015-06-17 Yao Qi <yao.qi@linaro.org>
7007
7008 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
7009 line.
7010
7011 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
7012
7013 * gdb.base/gdbinit-history.exp: Add test case to check that
7014 an unlimited history file does not get truncated on exit.
7015
7016 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
7017
7018 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
7019 (VECTOR): New macro. Use it...
7020 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
7021 ...for these typedefs.
7022 (int8, char1, int1, double1): New typedefs.
7023 (struct just_int2, struct two_int2): New structures.
7024 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
7025 (add_structvecs, add_singlevecs): New functions.
7026 (main): Call add_some_intvecs twice.
7027 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
7028 the compile and exit upon failure. Try compiling for the "native"
7029 architecture. Test inferior function calls with vector arguments
7030 and vector return value handling with "finish" and "return".
7031
7032 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
7033
7034 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
7035 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
7036 PE file.
7037 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
7038
7039 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
7040
7041 PR breakpoints/16465
7042 * gdb.mi/mi-dprintf-pending.c: New file.
7043 * gdb.mi/mi-dprintf-pending.exp: New test.
7044 * gdb.mi/mi-dprintf-pendshr.c: New file.
7045
7046 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
7047 Mircea Gherzan <mircea.gherzan@intel.com>
7048
7049 * gdb.arch/i386-mpx-map.c: New file.
7050 * gdb.arch/i386-mpx-map.exp: New File.
7051
7052 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
7053
7054 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
7055 * gdb.arch/i386-mpx.exp: Indentation fixed.
7056
7057 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
7058
7059 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
7060 function and improved indentation.
7061 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
7062 gdb_test_multiple. Added additional tests to skip the test.
7063
7064 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
7065
7066 * gdb.arch/i386-avx512.c: Change path in include file.
7067 * gdb.arch/i386-avx512.exp: Change include dir path
7068 compilation flag.
7069 * gdb.arch/i386-mpx.c: Change path in include file.
7070 * gdb.arch/i386-mpx.exp: Change include dir path compilation
7071 flag.
7072
7073 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
7074
7075 * gdb.compile/compile-print.exp (compile print *vararray@3)
7076 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
7077
7078 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7079
7080 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
7081 (do not keep jit in memory): ... this.
7082 (expect 5): Change it to ...
7083 (expect no 5): ... this.
7084
7085 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
7086
7087 PR gdb/15564
7088 * gdb.mi/mi-detach.exp: New file.
7089
7090 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7091
7092 PR symtab/18392
7093 * gdb.arch/amd64-tailcall-self.S: New file.
7094 * gdb.arch/amd64-tailcall-self.c: New file.
7095 * gdb.arch/amd64-tailcall-self.exp: New file.
7096
7097 2015-05-28 Don Breazeal <donb@codesourcery.com>
7098
7099 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
7100 tests for remote targets by checking is_target_gdbserver.
7101
7102 2015-05-27 Doug Evans <dje@google.com>
7103
7104 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
7105 * gdb.dwarf2/opaque-type-lookup.c: New file.
7106 * gdb.dwarf2/opaque-type-lookup.exp: New file.
7107
7108 2015-05-26 Doug Evans <dje@google.com>
7109
7110 * gdb.cp/iostream.cc: New file.
7111 * gdb.cp/iostream.exp: New file.
7112
7113 2015-05-26 Doug Evans <dje@google.com>
7114
7115 * gdb.dwarf2/dw2-op-call.exp: Update.
7116 * gdb.dwarf2/dw4-sig-types.exp: Update.
7117 * gdb.dwarf2/implptr.exp: Update.
7118 * gdb.mi/mi-cmd-param-changed.exp: Update.
7119
7120 2015-05-26 Doug Evans <dje@google.com>
7121
7122 * gdb.python/py-lazy-string.c: New file.
7123 * gdb.python/py-lazy-string.exp: New file.
7124 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
7125 (main): Update. Add estring3.
7126 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
7127 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
7128
7129 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
7130 Yao Qi <yao.qi@linaro.org>
7131
7132 * gdb.reverse/aarch64.c: New.
7133 * gdb.reverse/aarch64.exp: New.
7134
7135 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
7136
7137 * lib/gdb.exp (supports_process_record): Return true for
7138 aarch64*-linux*.
7139 (supports_reverse): Likewise.
7140
7141 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
7142
7143 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
7144 Use with_test_prefix.
7145
7146 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
7147
7148 * gdb.base/completion.exp: Add test for completion of layout
7149 names.
7150
7151 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
7152
7153 * lib/gdb.exp (skip_tui_tests): New proc.
7154 * gdb.base/tui-layout.exp: Check skip_tui_tests.
7155
7156 2015-05-19 Pedro Alves <palves@redhat.com>
7157
7158 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
7159 Save the whole env array instead of just HOME. Unset HISTSIZE in
7160 the environment while testing. Restore whole environment
7161 afterwards.
7162
7163 2015-05-16 Doug Evans <xdje42@gmail.com>
7164
7165 * gdb.guile/scm-ports.c: New file.
7166 * gdb.guile/scm-ports.exp: Add memory port tests.
7167
7168 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7169
7170 * gdb.compile/compile-print.c: New file.
7171 * gdb.compile/compile-print.exp: New file.
7172
7173 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7174
7175 * gdb.compile/compile-ops.exp: Cast param to void.
7176 * gdb.compile/compile.exp: Complete type for _gdb_expr.
7177 (compile code struct_object.selffield = &struct_object): Add xfail.
7178
7179 2015-05-15 Joel Brobecker <brobecker@adacore.com>
7180
7181 * gdb.ada/arr_enum_with_gap: New testcase.
7182
7183 2015-05-15 Joel Brobecker <brobecker@adacore.com>
7184
7185 * gdb.ada/byte_packed_arr: New testcase.
7186
7187 2015-05-15 Joel Brobecker <brobecker@adacore.com>
7188
7189 * gdb.ada/pckd_neg: New testcase.
7190
7191 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
7192
7193 PR gdb/17820
7194 * gdb.base/gdbinit-history.exp: New test.
7195 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
7196 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
7197
7198 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
7199
7200 * gdb.python/py-xmethods.cc: Enhance test case.
7201 * gdb.python/py-xmethods.exp: New tests.
7202 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
7203 function.
7204 (B_indexoper): Likewise.
7205 (global_dm_list) : Add new xmethod worker functions.
7206
7207 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
7208
7209 * gdb.base/coredump-filter.exp: Correctly unset
7210 "coredump_var_addr" array.
7211
7212 2015-05-08 Pedro Alves <palves@redhat.com>
7213
7214 * gdb.server/non-existing-program.exp: Unset spawn_id.
7215
7216 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
7217
7218 PR python/18291
7219 * gdb.python/py-xmethods.exp: Add tests.
7220
7221 2015-05-08 Yao Qi <yao.qi@linaro.org>
7222
7223 PR gdb/18208
7224 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
7225 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
7226 function set_coredump_filter, and remove remote_exec call.
7227 Remove argument ipid. Callers update.
7228 (top level): Don't get inferior's PID.
7229
7230 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
7231
7232 * gdb.base/watch_thread_num.exp: Skip test on targets without
7233 access watchpoints.
7234
7235 2015-05-06 Pedro Alves <palves@redhat.com>
7236
7237 PR server/18081
7238 * gdb.server/non-existing-program.exp: New file.
7239
7240 2015-05-05 Joel Brobecker <brobecker@adacore.com>
7241
7242 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
7243
7244 2015-05-05 Joel Brobecker <brobecker@adacore.com>
7245
7246 * gdb.ada/out_of_line_in_inlined: New testcase.
7247
7248 2015-05-05 Joel Brobecker <brobecker@adacore.com>
7249
7250 * gdb.ada/var_rec_arr: New testcase.
7251
7252 2015-04-30 Yao Qi <yao.qi@linaro.org>
7253
7254 * gdb.base/break-idempotent.exp: If
7255 skip_hw_watchpoint_multi_tests returns true, skip the tests
7256 on "rwatch" and "awatch".
7257
7258 2015-04-30 Yao Qi <yao.qi@linaro.org>
7259
7260 * gdb.base/relativedebug.exp: Invoke gdb command
7261 "info sharedlibrary", and if libc.so doesn't have debug info,
7262 skip the test.
7263
7264 2015-04-29 Doug Evans <dje@google.com>
7265
7266 * gdb.python/py-xmethods.exp: Add ptype tests.
7267 * gdb.python/py-xmethods.py (E_method_char_worker): Add
7268 get_result_type method.
7269
7270 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
7271
7272 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
7273 the target does not support hardware watchpoints.
7274
7275 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
7276
7277 * gdb.base/break-always.exp: Abort testing if writing to memory
7278 causes an error.
7279
7280 2015-04-28 Doug Evans <dje@google.com>
7281
7282 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
7283 * gdb.python/py-pp-registration.exp: ... here. New file.
7284 * gdb.python/py-pp-registration.c: New file.
7285 * gdb.python/py-pp-registration.py: New file.
7286
7287 2015-04-28 Doug Evans <dje@google.com>
7288
7289 * gdb.python/py-bad-printers.c: New file.
7290 * gdb.python/py-bad-printers.py: New file.
7291 * gdb.python/py-bad-printers.exp: New file.
7292
7293 2015-04-28 Sasha Smundak <asmundak@google.com>
7294
7295 * gdb.python/py-type.exp: New test.
7296
7297 2015-04-28 Andy Wingo <wingo@igalia.com>
7298
7299 * gdb.python/py-parameter.exp:
7300 * gdb.guile/scm-parameter.exp: Escape the path that we are
7301 matching against, as it might contain characters that are special
7302 to regular expressions.
7303
7304 2015-04-27 Joel Brobecker <brobecker@adacore.com>
7305
7306 * gdb.ada/rec_comp: New testcase.
7307
7308 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
7309
7310 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
7311 before using it.
7312
7313 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
7314
7315 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
7316 new tests for verilog output.
7317
7318 2015-04-24 Yao Qi <yao.qi@linaro.org>
7319
7320 * boards/remote-gdbserver-on-localhost.exp: New file.
7321
7322 2015-04-23 Pedro Alves <palves@redhat.com>
7323
7324 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
7325 $inferior_spawn_id instead of $inferior_spawn_id directly. On
7326 "end of file", remove $inferior_spawn_id from the indirect list.
7327
7328 2015-04-23 Pedro Alves <palves@redhat.com>
7329
7330 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
7331
7332 2015-04-23 Pedro Alves <palves@redhat.com>
7333
7334 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
7335 on $any_spawn_id instead of only on $gdb_spawn_id.
7336
7337 2015-04-21 Pierre Muller <muller@sourceware.org>
7338
7339 PR pascal/17815
7340 * lib/pascal.exp (gpc_compile): Add new option "class".
7341 (fpc_compile): Likewise.
7342 * gdb.pascal/case-insensitive-symbols.pas: New file.
7343 * gdb.pascal/case-insensitive-symbols.exp: New file.
7344
7345 2015-04-20 Gary Benson <gbenson@redhat.com>
7346
7347 * gdb.base/attach.exp: Fix three extended remote failures.
7348
7349 2015-04-17 Gary Benson <gbenson@redhat.com>
7350
7351 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
7352 the main executable over the remote protocol.
7353
7354 2015-04-16 Pedro Alves <palves@redhat.com>
7355
7356 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
7357 a new gdbserver if gdbserver_reconnect_p is set.
7358
7359 2015-04-16 Pedro Alves <palves@redhat.com>
7360
7361 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
7362 is set, don't exit gdbserver.
7363
7364 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
7365
7366 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
7367 appropriate .insn, such that an older assembler can be used.
7368 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
7369 the z/Architecture instruction set on 31-bit targets as well.
7370
7371 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
7372
7373 * gdb.go/handcall.exp: Remove all logic related to the first
7374 breakpoint and rely on go_runto_main instead.
7375 * gdb.go/strings.exp: Likewise.
7376 * gdb.go/unsafe.exp: Likewise.
7377 * gdb.go/hello.exp: Likewise. Also rename the remaining
7378 breakpoint marker to "breakpoint 1".
7379 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
7380 * gdb.go/strings.go: Likewise.
7381 * gdb.go/unsafe.go: Likewise.
7382 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
7383 "set breakpoint 2 here" and rename the remaining breakpoint marker
7384 to "breakpoint 1".
7385
7386 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
7387
7388 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
7389 if itertools.imap is not present.
7390 * gdb.python/py-objfile.exp: Add parentheses.
7391 * gdb.python/py-type.exp: Same.
7392 * gdb.python/py-unwind-maint.py: Same.
7393
7394 2015-04-15 Yao Qi <yao.qi@linaro.org>
7395
7396 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
7397 of ":$ptr_size" and set its form explicitly.
7398
7399 2015-04-15 Pedro Alves <palves@redhat.com>
7400 Yao Qi <yao.qi@linaro.org>
7401
7402 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
7403 timeout by factor of 4.
7404 (test_regular_watch): Likewise.
7405 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
7406 * gdb.reverse/sigall-reverse.exp: Likewise.
7407 * gdb.reverse/until-precsave.exp: Likewise.
7408 * lib/gdb.exp (with_timeout_factor): New proc.
7409 (gdb_expect): Move some code to ...
7410 (get_largest_timeout): ... here. New procedure.
7411
7412 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
7413
7414 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
7415
7416 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
7417
7418 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
7419 to write to the .text section.
7420
7421 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
7422
7423 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
7424 Handle the case of targets that do not provide PID information.
7425
7426 2015-04-13 Yao Qi <yao.qi@linaro.org>
7427
7428 * lib/gdbserver-support.exp (gdb_exit): Catch exception
7429 and use expect instead of gdb_expect.
7430
7431 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
7432
7433 * gdb.base/coredump-filter.exp: Rename variable "addr" to
7434 "coredump_var_addr" to avoid naming conflict with other testcases.
7435
7436 2015-04-10 Pedro Alves <palves@redhat.com>
7437
7438 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
7439 gdb_test_sequence and gdb_assert.
7440
7441 2015-04-10 Pedro Alves <palves@redhat.com>
7442
7443 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
7444 test messages that don't include the breakpoint address.
7445
7446 2015-04-10 Yao Qi <yao.qi@linaro.org>
7447
7448 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
7449 false for some offset and width combinations which aren't
7450 supported by linux kernel.
7451
7452 2015-04-10 Pedro Alves <palves@redhat.com>
7453
7454 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
7455 procedure, factored out from ...
7456 (top level): ... here. Add "set displaced-stepping" testing axis.
7457 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
7458 parameter "displaced". Use it.
7459 (top level): Use foreach and add "set displaced-stepping" testing
7460 axis.
7461
7462 2015-04-10 Pedro Alves <palves@redhat.com>
7463
7464 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
7465 Remove comment.
7466 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
7467 both the address of the instruction that triggers the watchpoint
7468 and the address of the instruction immediately after, and use
7469 those addresses for the test. Fix comment.
7470
7471 2015-04-10 Pedro Alves <palves@redhat.com>
7472
7473 * gdb.base/sigstep.exp (breakpoint_to_handler)
7474 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
7475 Test "backtrace" in handler.
7476 (breakpoint_over_handler): New parameter 'displaced'. Use it.
7477 (top level): Add new "displaced" test axis to
7478 breakpoint_to_handler, breakpoint_to_handler_entry and
7479 breakpoint_over_handler.
7480
7481 2015-04-10 Pedro Alves <palves@redhat.com>
7482
7483 PR gdb/18216
7484 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
7485
7486 2015-04-10 Yao Qi <yao.qi@linaro.org>
7487
7488 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
7489 (test_add_rn_pc): New function.
7490 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
7491 (top level): Invoke test_add_rn_pc.
7492
7493 2015-04-10 Pedro Alves <palves@redhat.com>
7494
7495 PR gdb/13858
7496 * gdb.base/step-over-no-symbols.exp: New file.
7497
7498 2015-04-09 Andy Wingo <wingo@igalia.com>
7499
7500 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
7501 after the Python tests.
7502
7503 2015-04-08 Keith Seitz <keiths@redhat.com>
7504
7505 PR python/16699
7506 * gdb.python/py-completion.exp: New tests for completion.
7507 * gdb.python/py-completion.py (CompleteLimit1): New class.
7508 (CompleteLimit2): Likewise.
7509 (CompleteLimit3): Likewise.
7510 (CompleteLimit4): Likewise.
7511 (CompleteLimit5): Likewise.
7512 (CompleteLimit6): Likewise.
7513 (CompleteLimit7): Likewise.
7514
7515 2015-04-08 Pedro Alves <palves@redhat.com>
7516
7517 PR gdb/18214
7518 PR gdb/18216
7519 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
7520 function.
7521 (main): Install it as SIGUSR1 handler.
7522 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
7523 parameter. Always use "setup" as prefix. Toggle "set
7524 displaced-stepping" off/on depending on global. Don't switch to
7525 thread 1 here.
7526 (top level): Add displaced stepping "off/on" test axis. Update
7527 "setup" calls. Wrap each subtest with with_test_prefix. Test
7528 continuing with a queued signal in each thread.
7529
7530 2015-04-08 Pedro Alves <palves@redhat.com>
7531
7532 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
7533 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
7534 gdb_breakpoint instead of gdb_test that doesn't expect anything.
7535 Return early if running to main fails.
7536 * gdb.trace/while-stepping.exp: Likewise.
7537
7538 2015-04-07 Pedro Alves <palves@redhat.com>
7539
7540 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
7541 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
7542 interact with inferior program.
7543
7544 2015-04-07 Pedro Alves <palves@redhat.com>
7545
7546 * lib/gdb.exp (inferior_spawn_id): New global.
7547 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
7548 spawn id after processing the user code.
7549 (default_gdb_start): Set inferior_spawn_id.
7550 (send_inferior): New procedure.
7551 * lib/gdbserver-support.exp (gdbserver_start): Set
7552 inferior_spawn_id.
7553 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
7554
7555 2015-04-07 Pedro Alves <palves@redhat.com>
7556
7557 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
7558 * lib/gdbserver-support.exp (gdbserver_start): Make
7559 $server_spawn_id global.
7560 (gdbserver_start): Don't wait for gdbserver's spawn id with
7561 expect_background.
7562 (close_gdbserver): New procedure.
7563 (gdb_exit): Rename the default version and reimplement.
7564
7565 2015-04-07 Pedro Alves <palves@redhat.com>
7566
7567 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
7568 append the substituted item, not the original item.
7569
7570 2015-04-07 Pedro Alves <palves@redhat.com>
7571
7572 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
7573 gdb_expect.
7574
7575 2015-04-07 Pedro Alves <palves@redhat.com>
7576
7577 * gdb.base/interrupt.exp: Don't handle the case of the inferior
7578 output appearing once only.
7579
7580 2015-04-07 Pedro Alves <palves@redhat.com>
7581
7582 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
7583 that doesn't expect anything. Return early if running to main
7584 fails.
7585
7586 2015-04-07 Yao Qi <yao.qi@linaro.org>
7587
7588 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
7589 (child_function): Call alarm.
7590 (main): Move call to alarm into the loop.
7591 * gdb.threads/non-stop-fair-events.exp: Build program with
7592 -DTIMEOUT=$timeout.
7593
7594 2015-04-06 Doug Evans <xdje42@gmail.com>
7595
7596 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
7597 Fix dest parameter to board_info.
7598 (fpc_compile): Ditto.
7599 (gdb_compile_pascal): Rename dest arg to destfile.
7600
7601 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
7602
7603 * gdb.ada/funcall_ref.exp: New file.
7604 * gdb.ada/funcall_ref/foo.adb: New file.
7605
7606 2015-04-02 Yao Qi <yao.qi@linaro.org>
7607
7608 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
7609 is remote.
7610
7611 2015-04-02 Gary Benson <gbenson@redhat.com>
7612
7613 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
7614
7615 2015-04-01 Sasha Smundak <asmundak@google.com>
7616
7617 * gdb.python/py-unwind-maint.c: New file.
7618 * gdb.python/py-unwind-maint.exp: New test.
7619 * gdb.python/py-unwind-maint.py: New file.
7620 * gdb.python/py-unwind.c: New file.
7621 * gdb.python/py-unwind.exp: New test.
7622 * gdb.python/py-unwind.py: New test.
7623
7624 2015-04-01 Pedro Alves <palves@redhat.com>
7625
7626 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
7627 to fail instead of non-existent $test.
7628
7629 2015-04-01 Pedro Alves <palves@redhat.com>
7630
7631 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
7632 GDBFLAGS if not empty.
7633
7634 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
7635
7636 * gdb.ada/complete.exp: Remove "multi_line".
7637 * gdb.ada/info_exc.exp: Remove "multi_line".
7638 * gdb.ada/packed_tagged.exp: Remove "multi_line".
7639 * gdb.ada/ptype_field.exp: Remove "multi_line".
7640 * gdb.ada/sym_print_name.exp: Remove "multi_line".
7641 * gdb.ada/tagged.exp: Remove "multi_line".
7642 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
7643 [multi_line ...]
7644 * gdb.btrace/delta.exp: Likewise.
7645 * gdb.btrace/exception.exp: Likewise.
7646 * gdb.btrace/function_call_history.exp: Likewise.
7647 * gdb.btrace/instruction_history.exp: Likewise.
7648 * gdb.btrace/nohist.exp: Likewise.
7649 * gdb.btrace/record_goto.exp: Likewise.
7650 * gdb.btrace/segv.exp: Likewise.
7651 * gdb.btrace/stepi.exp: Likewise.
7652 * gdb.btrace/tailcall.exp: Likewise.
7653 * gdb.btrace/unknown_functions.exp: Likewise.
7654 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
7655 * lib/gdb.exp: Add the "multi_line" helper.
7656
7657 2015-04-01 Pedro Alves <palves@redhat.com>
7658
7659 * gdb.threads/tid-reuse.c: New file.
7660 * gdb.threads/tid-reuse.exp: New file.
7661
7662 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
7663
7664 PR corefiles/16092
7665 * gdb.base/coredump-filter.c: New file.
7666 * gdb.base/coredump-filter.exp: Likewise.
7667
7668 2015-03-27 Petr Machata <pmachata@redhat.com>
7669
7670 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
7671 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
7672 (Dwarf::assemble): Initialize them.
7673 (Dwarf::lines): New function.
7674
7675 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
7676
7677 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
7678 SYMBOL_PREFIX for x86_64-*-cygwin.
7679
7680 2015-03-26 Andy Wingo <wingo@igalia.com>
7681
7682 PR symtab/18148
7683 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
7684 const_value but not a location.
7685 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
7686 location defined in non-main CUs are visible.
7687
7688 2015-03-26 Yao Qi <yao.qi@linaro.org>
7689
7690 PR testsuite/18139
7691 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
7692 Add a line number entry for the same line.
7693 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
7694 Add a line number entry for the same line.
7695
7696 2015-03-26 Yao Qi <yao.qi@linaro.org>
7697
7698 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
7699 .int 0.
7700 (func): Likewise. Add .Lfunc_1 label.
7701 Use .Lfunc_1 label.
7702 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
7703 .int 0.
7704 (func): Likewise.
7705 Use .Lfunc_1 label.
7706
7707 2015-03-26 Yao Qi <yao.qi@linaro.org>
7708
7709 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
7710 Call gdb_compile instead to compile each .s files without debug
7711 information.
7712
7713 2015-03-26 Yao Qi <yao.qi@linaro.org>
7714
7715 * gdb.base/savedregs.exp (process_saved_regs): Make
7716 "Saved registers:" optional in the pattern.
7717
7718 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
7719
7720 * gdb.btrace/next.exp: Merged into step.exp.
7721 * gdb.btrace/finish.exp: Merged into step.exp.
7722 * gdb.btrace/nexti.exp: Merged into stepi.exp.
7723 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
7724 "record goto" and checking the exact replay position.
7725 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
7726 check for "Recording format" in "info record" output.
7727 * gdb.btrace/record_goto.exp: Choose test file based on target.
7728 * gdb.btrace/x86-record_goto.S: Renamed into ...
7729 * gdb.btrace/x86_64-record_goto.S: ... this.
7730 * gdb.btrace/i686-record_goto.S: New.
7731 * gdb.btrace/x86-tailcall.S: Renamed into ...
7732 * gdb.btrace/x86_64-tailcall.S: ... this.
7733 * gdb.btrace/i686-tailcall.S: New.
7734 * gdb.btrace/x86-tailcall.c: Renamed into ...
7735 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
7736 separate statements. Update test.
7737 * gdb.btrace/delta.exp: Use record_goto.c as test file.
7738 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
7739 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
7740 * gdb.btrace/tailcall.exp: Choose test file based on target.
7741 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
7742
7743 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
7744
7745 * gdb.btrace/exception.exp: Increase BTS buffer size.
7746
7747 2015-03-24 Pedro Alves <palves@redhat.com>
7748
7749 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
7750
7751 2015-03-24 Pedro Alves <palves@redhat.com>
7752
7753 * gdb.threads/schedlock.exp (test_step): No longer expect that
7754 "set scheduler-locking step" with "next" over a function call runs
7755 threads unlocked.
7756
7757 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
7758
7759 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
7760
7761 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
7762
7763 PR breakpoints/16466
7764 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
7765 * gdb.mi/mi-pending.c (thread_func): New function.
7766 (int main): Add threading support required.
7767 * gdb.mi/mi-pending.exp: Add tests for this issue.
7768 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
7769 (pendfunc2): Remove stdio dependency.
7770 * gdb.mi/mi-pendshr2.c: New file.
7771
7772 2015-03-23 Keith Seitz <keiths@redhat.com>
7773
7774 * gdb.linespec/keywords.c: New file.
7775 * gdb.linespec/keywords.exp: New file.
7776
7777 2015-03-23 Keith Seitz <keiths@redhat.com>
7778
7779 PR gdb/18021
7780 * gdb.dwarf2/staticvirtual.exp: New test.
7781
7782 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7783
7784 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
7785 * README: Remove HP-UX and gdb.hp.
7786 (configuration):
7787 * configure: Regenerate.
7788 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
7789 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
7790 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
7791 gdb.hp/gdb.defects/Makefile.
7792 * gdb.hp/Makefile.in: File deleted.
7793 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
7794 * gdb.hp/gdb.aCC/optimize.c: File deleted.
7795 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
7796 * gdb.hp/gdb.aCC/run.c: File deleted.
7797 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
7798 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
7799 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
7800 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
7801 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
7802 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
7803 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
7804 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
7805 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
7806 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
7807 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
7808 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
7809 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
7810 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
7811 * gdb.hp/gdb.base-hp/reg.s: File deleted.
7812 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
7813 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
7814 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
7815 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
7816 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
7817 * gdb.hp/gdb.compat/Makefile.in: File deleted.
7818 * gdb.hp/gdb.compat/average.c: File deleted.
7819 * gdb.hp/gdb.compat/sum.c: File deleted.
7820 * gdb.hp/gdb.compat/xdb.c: File deleted.
7821 * gdb.hp/gdb.compat/xdb0.c: File deleted.
7822 * gdb.hp/gdb.compat/xdb0.h: File deleted.
7823 * gdb.hp/gdb.compat/xdb1.c: File deleted.
7824 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
7825 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
7826 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
7827 * gdb.hp/gdb.defects/Makefile.in: File deleted.
7828 * gdb.hp/gdb.defects/bs14602.c: File deleted.
7829 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
7830 * gdb.hp/gdb.defects/solib-d.c: File deleted.
7831 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
7832 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
7833 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
7834 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
7835 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
7836 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
7837 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
7838 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
7839 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
7840 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
7841 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
7842 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
7843 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
7844 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
7845 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
7846 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
7847 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
7848 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
7849 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
7850 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
7851 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
7852 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
7853 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
7854 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
7855 * gdb.hp/tools/odump: File deleted.
7856
7857 2015-03-19 Pedro Alves <palves@redhat.com>
7858
7859 * gdb.threads/continue-pending-status.exp (saw_thread_2)
7860 (saw_thread_3): New globals.
7861 (top level): Increment them when an event for the corresponding
7862 thread is seen.
7863 (no thread starvation): New test.
7864
7865 2015-03-19 Pedro Alves <palves@redhat.com>
7866
7867 * gdb.threads/continue-pending-status.c: New file.
7868 * gdb.threads/continue-pending-status.exp: New file.
7869
7870 2015-03-18 Pedro Alves <palves@redhat.com>
7871
7872 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
7873 Use gdb_is_target_remote instead of is_remote. Use
7874 gdb_test_multiple instead of gdb_expect. Exit early if
7875 gdb_test_multiple hits its internal matches. Tighten stepi tests
7876 expected output. Fail on exit with any signal, instead of just
7877 SIGILL.
7878
7879 2015-03-18 Yao Qi <yao.qi@linaro.org>
7880
7881 PR tdep/18107
7882 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
7883 variable.
7884 * gdb.base/catch-syscall.exp: Don't skip it on
7885 aarch64*-*-linux* target. Remove elements in all_syscalls.
7886 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
7887 target.
7888 (setup_all_syscalls): New proc.
7889
7890 2015-03-16 Yao Qi <yao.qi@linaro.org>
7891
7892 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
7893 (top level): Skip tests if valid_addr_p returns false for
7894 $cmd1 or $cmd2.
7895
7896 2015-03-11 Andy Wingo <wingo@igalia.com>
7897
7898 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
7899
7900 2015-03-11 Yao Qi <yao.qi@linaro.org>
7901
7902 * gdb.base/catch-syscall.exp: Fix typo in comments.
7903
7904 2015-03-11 Yao Qi <yao.qi@linaro.org>
7905
7906 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
7907
7908 2015-03-09 Pedro Alves <palves@redhat.com>
7909
7910 * dg-extract-results.py: Delete.
7911
7912 2015-03-09 Pedro Alves <palves@redhat.com>
7913
7914 Merge dg-extract-results.sh from GCC upstream (r218843).
7915
7916 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
7917 * dg-extract-results.sh: Use --text with grep to avoid issues with
7918 binary files. Fall back to cat -v, if that doesn't work.
7919
7920 2015-03-05 Pedro Alves <palves@redhat.com>
7921
7922 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
7923
7924 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
7925
7926 * lib/mi-support.exp (mi_expect_interrupt): Accept
7927 alternative event for when in all-stop mode.
7928
7929 2015-03-04 Pedro Alves <palves@redhat.com>
7930
7931 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
7932
7933 2015-03-04 Mark Kettenis <kettenis@gnu.org>
7934
7935 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
7936
7937 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
7938
7939 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
7940 regexps for GDB's current line display, accept a hex address
7941 preceding the line number.
7942
7943 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
7944
7945 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
7946 the 'arch1' variable for "s390*-linux*" targets.
7947
7948 2015-03-04 Pedro Alves <palves@redhat.com>
7949
7950 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
7951 (main): Pass missing retval argument to pthread_join call.
7952
7953 2015-03-02 Pedro Alves <palves@redhat.com>
7954
7955 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
7956 (top level): Call do_test with non-stop as well.
7957
7958 2015-03-02 Pedro Alves <palves@redhat.com>
7959
7960 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
7961 -1.
7962
7963 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
7964
7965 * gdb.arch/s390-vregs.exp: New test.
7966 * gdb.arch/s390-vregs.S: New file.
7967
7968 2015-02-27 Pedro Alves <palves@redhat.com>
7969
7970 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
7971 call to catch_command_errors.
7972 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
7973 catch_command_errors.
7974
7975 2015-02-27 Pedro Alves <palves@redhat.com>
7976
7977 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
7978 "true" for boolean result.
7979 * gdb.gdb/selftest.exp (test_with_self): Also accept full
7980 prototype of main.
7981
7982 2015-02-27 Pedro Alves <palves@redhat.com>
7983
7984 * lib/unbuffer_output.c: New file.
7985 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
7986 (main): Call gdb_unbuffer_output.
7987
7988 2015-02-27 Yao Qi <yao.qi@linaro.org>
7989
7990 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
7991 target.
7992
7993 2015-02-26 Doug Evans <dje@google.com>
7994
7995 * gdb.cp/class2.cc (Dbase, D): New classes.
7996 (main): New local delta.
7997 * gdb.cp/class2.exp: Test printing delta.
7998 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
7999 (dynbar): New global.
8000 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
8001
8002 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
8003
8004 * gdb.compile/compile-ifunc.c: New file.
8005 * gdb.compile/compile-ifunc.exp: New file.
8006
8007 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
8008
8009 * gdb.base/structs.exp: Check for correct struct on finish.
8010
8011 2015-02-26 Yao Qi <yao.qi@linaro.org>
8012
8013 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
8014 is zero.
8015
8016 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
8017
8018 * gdb.arch/cordic.ko.bz2: New file.
8019 * gdb.arch/cordic.ko.debug.bz2: New file.
8020 * gdb.arch/ppc64-symtab-cordic.exp: New file.
8021
8022 2015-02-25 Yao Qi <yao.qi@linaro.org>
8023
8024 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
8025 aarch64*-*-* target.
8026
8027 2015-02-23 Pedro Alves <palves@redhat.com>
8028
8029 * lib/gdb.exp (delete_breakpoints): Rewrite using
8030 gdb_test_multiple.
8031
8032 2015-02-23 Pedro Alves <palves@redhat.com>
8033
8034 * gdb.base/info-os.c: Include stdlib.h.
8035
8036 2015-02-22 Doug Evans <xdje42@gmail.com>
8037
8038 PR symtab/17855
8039 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
8040 is read after symbols have been re-read.
8041 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
8042 * gdb.ada/exec_changed/second.adb (Second): Ditto.
8043
8044 2015-02-21 Doug Evans <dje@google.com>
8045
8046 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
8047
8048 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
8049
8050 PR corefiles/17808
8051 * gdb.arch/i386-biarch-core.core.bz2: New file.
8052 * gdb.arch/i386-biarch-core.exp: New file.
8053
8054 2015-02-21 Pedro Alves <palves@redhat.com>
8055
8056 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
8057 runto_main fails.
8058
8059 2015-02-20 Pedro Alves <palves@redhat.com>
8060
8061 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
8062 info probes.
8063
8064 2015-02-20 Pedro Alves <palves@redhat.com>
8065
8066 * gdb.threads/multi-create-ns-info-thr.exp: New file.
8067
8068 2015-02-20 Pedro Alves <palves@redhat.com>
8069
8070 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
8071 clean_restart before gdb_target_supports_trace.
8072
8073 2015-02-20 Pedro Alves <palves@redhat.com>
8074
8075 PR threads/18006
8076 * gdb.threads/clone-thread_db.c: New file.
8077 * gdb.threads/clone-thread_db.exp: New file.
8078
8079 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
8080
8081 PR breakpoints/16812
8082 * gdb.base/catch-gdb-caused-signals.c: New file.
8083 * gdb.base/catch-gdb-caused-signals.exp: New file.
8084
8085 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
8086
8087 * configure: Regenerated.
8088 * configure.ac: Use GDB_AC_TRANSFORM.
8089 * aclocal.m4: sinclude ../transform.m4.
8090
8091 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
8092
8093 * lib/dtrace.exp: New file.
8094 * gdb.base/dtrace-probe.exp: Likewise.
8095 * gdb.base/dtrace-probe.d: Likewise.
8096 * gdb.base/dtrace-probe.c: Likewise.
8097 * lib/pdtrace.in: Likewise.
8098 * configure.ac: Output variables with the transformed names of
8099 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
8100 * configure: Regenerated.
8101
8102 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
8103
8104 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
8105 expected message when trying to access $_probe_* convenience
8106 variables while not on a probe.
8107
8108 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8109
8110 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
8111
8112 2015-02-11 Pedro Alves <pedro@codesourcery.com>
8113
8114 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
8115 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
8116
8117 2015-02-10 Doug Evans <xdje42@gmail.com>
8118
8119 * lib/gdb.exp (gdb_load): Always return a result.
8120
8121 2015-02-10 Pedro Alves <palves@redhat.com>
8122
8123 * gdb.threads/signal-sigtrap.c: New file.
8124 * gdb.threads/signal-sigtrap.exp: New file.
8125
8126 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
8127
8128 * gdb.trace/no-attach-trace.c: New file.
8129 * gdb.trace/no-attach-trace.exp: New file.
8130
8131 2015-02-09 Mark Wielaard <mjw@redhat.com>
8132
8133 * gdb.dwarf2/atomic.c: New file.
8134 * gdb.dwarf2/atomic-type.exp: Likewise.
8135
8136 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
8137
8138 * gdb.btrace/buffer-size.exp: Update "info record" output.
8139 * gdb.btrace/delta.exp: Update "info record" output.
8140 * gdb.btrace/enable.exp: Update "info record" output.
8141 * gdb.btrace/finish.exp: Update "info record" output.
8142 * gdb.btrace/instruction_history.exp: Update "info record" output.
8143 * gdb.btrace/next.exp: Update "info record" output.
8144 * gdb.btrace/nexti.exp: Update "info record" output.
8145 * gdb.btrace/step.exp: Update "info record" output.
8146 * gdb.btrace/stepi.exp: Update "info record" output.
8147 * gdb.btrace/nohist.exp: Update "info record" output.
8148
8149 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
8150
8151 * gdb.btrace/buffer-size: New.
8152
8153 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
8154
8155 * gdb.btrace/delta.exp: Update "info record" output.
8156 * gdb.btrace/enable.exp: Update "info record" output.
8157 * gdb.btrace/finish.exp: Update "info record" output.
8158 * gdb.btrace/instruction_history.exp: Update "info record" output.
8159 * gdb.btrace/next.exp: Update "info record" output.
8160 * gdb.btrace/nexti.exp: Update "info record" output.
8161 * gdb.btrace/step.exp: Update "info record" output.
8162 * gdb.btrace/stepi.exp: Update "info record" output.
8163 * gdb.btrace/nohist.exp: Update "info record" output.
8164
8165 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
8166
8167 PR gdb/15678
8168 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
8169
8170 2015-02-06 Pedro Alves <palves@redhat.com>
8171
8172 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
8173 macro.
8174 (seconds_left, again): New globals.
8175 (main): Wait seconds_left in a 1-second sleep loop instead of
8176 sleeping 180 seconds. If 'again' is set, reset the seconds
8177 counter.
8178 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
8179 'again' in the inferior before detaching. Print the seconds left.
8180 (options): New global.
8181 (top level): Build program with -DTIMEOUT=$timeout.
8182
8183 2015-02-06 Pedro Alves <palves@redhat.com>
8184
8185 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
8186 determine how many seconds to pass to 'alarm'.
8187 * gdb.base/gdb-sigterm.exp (top level): Build program with
8188 -DTIMEOUT=$timeout.
8189 (do_test): Return success/failure indication. Add more verbose
8190 logging. Don't fail if 200 single steps are seen. Instead, fail
8191 when the test times out.
8192 (passes): New global.
8193 (top level): Break the testing loop if testing fails on any
8194 iteration. Use gdb_assert.
8195
8196 2015-02-04 Don Breazeal <donb@codesourcery.com>
8197
8198 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
8199 and initialize them.
8200 (ipc_cleanup): New function.
8201 (main): Don't declare shmid, semid, and msqid. Add a call to
8202 atexit so that we call ipc_cleanup on exit.
8203
8204 2015-02-04 Pedro Alves <palves@redhat.com>
8205
8206 * boards/native-extended-gdbserver.exp: Remove any target variant
8207 specifications from the board name before clearing the isremote
8208 flag from board_info.
8209
8210 2015-01-31 Doug Evans <xdje42@gmail.com>
8211
8212 * gdb.base/maint.exp <maint print type argc>: Update expected output.
8213
8214 2015-01-31 Gary Benson <gbenson@redhat.com>
8215
8216 * gdb.base/completion.exp: Disable completion limiting for
8217 existing tests. Add new tests to check completion limiting.
8218 * gdb.linespec/ls-errs.exp: Disable completion limiting.
8219
8220 2015-01-31 Doug Evans <xdje42@gmail.com>
8221
8222 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
8223
8224 2015-01-31 Doug Evans <xdje42@gmail.com>
8225
8226 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
8227 entries. Duplicate file section script entries.
8228 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
8229 inlined entries. Add test for safe-path rejection.
8230 * gdb.python/py-section-script.c: Add duplicate inlined section script
8231 entries. Duplicate file section script entries.
8232 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
8233 inlined entries. Add test for safe-path rejection.
8234
8235 2015-01-29 Joel Brobecker <brobecker@adacore.com>
8236
8237 * gdb.ada/disc_arr_bound: New testcase.
8238
8239 2015-01-29 Joel Brobecker <brobecker@adacore.com>
8240
8241 * gdb.ada/mi_var_array: New testcase.
8242
8243 2015-01-27 Doug Evans <dje@google.com>
8244
8245 * gdb.python/py-objfile.exp: Add tests for objfile.username.
8246 Add test for objfile.filename, objfile.username after objfile
8247 has been unloaded.
8248
8249 2015-01-26 Joel Brobecker <brobecker@adacore.com>
8250
8251 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
8252 the second test to print the name attribute of value
8253 returned by the call to gdb.lookup_type, and adjust
8254 the expected output accordingly.
8255
8256 2015-01-25 Mark Wielaard <mjw@redhat.com>
8257
8258 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
8259 * gdb.base/disp-step-fork.c: Include unistd.h.
8260 * gdb.base/siginfo-obj.c: Include stdio.h.
8261 * gdb.base/siginfo-thread.c: Likewise.
8262 * gdb.mi/non-stop.c: Include unistd.h.
8263 * gdb.mi/nsthrexec.c: Include stdio.h.
8264 * gdb.mi/pthreads.c: Include unistd.h.
8265 * gdb.modula2/unbounded1.c (main): Declare returns int.
8266 * gdb.reverse/consecutive-reverse.c: Likewise.
8267 * gdb.threads/create-fail.c: Include unistd.h.
8268 * gdb.threads/killed.c: Likewise.
8269 * gdb.threads/linux-dp.c: Likewise.
8270 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
8271 * gdb.threads/non-ldr-exc-2.c: Likewise.
8272 * gdb.threads/non-ldr-exc-3.c: Likewise.
8273 * gdb.threads/non-ldr-exc-4.c: Likewise.
8274 * gdb.threads/pthreads.c: Include unistd.h.
8275 (main): Declare returns int.
8276 * gdb.threads/tls-main.c (foo): New declaration.
8277 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
8278
8279 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
8280
8281 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
8282 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
8283
8284 2015-01-15 Mark Wielaard <mjw@redhat.com>
8285
8286 * gdb.base/noreturn-return.c: New file.
8287 * gdb.base/noreturn-return.exp: New file.
8288 * gdb.base/noreturn-finish.c: New file.
8289 * gdb.base/noreturn-finish.exp: New file.
8290
8291 2015-01-23 Pedro Alves <palves@redhat.com>
8292
8293 * gdb.threads/continue-pending-after-query.c: New file.
8294 * gdb.threads/continue-pending-after-query.exp: New file.
8295
8296 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
8297 Simon Marchi <simon.marchi@ericsson.com>
8298
8299 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
8300 * gdb.base/valgrind-db-attach.exp: Same.
8301 * gdb.base/valgrind-infcall.exp: Same.
8302 * lib/mi-support.exp (default_mi_gdb_start): Same.
8303 * lib/prompt.exp (default_prompt_gdb_start): Same.
8304 * lib/gdb.exp (default_gdb_spawn): Same.
8305 (gdb_interact): New.
8306
8307
8308 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8309
8310 * gdb.compile/compile.exp (pointer to jit function): New test.
8311
8312 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
8313
8314 * lib/gdb.exp (supports_process_record): Return true for
8315 powerpc*-*-linux*.
8316 (supports_reverse): Likewise.
8317
8318 2015-01-15 Don Breazeal <donb@codesourcery.com>
8319
8320 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
8321 instead of checking whether the target board is remote and
8322 use spawn_wait_for_attach instead of exec/sleep.
8323 * gdb.base/attach-twice.exp: Likewise.
8324
8325 2015-01-15 Joel Brobecker <brobecker@adacore.com>
8326
8327 * gdb.ada/var_arr_attrs: New testcase.
8328
8329 2015-01-14 Pedro Alves <palves@redhat.com>
8330 Joel Brobecker <brobecker@adacore.com>
8331
8332 PR gdb/17525
8333 * gdb.base/bp-cmds-execution-x-script.c: New file.
8334 * gdb.base/bp-cmds-execution-x-script.exp: New file.
8335 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
8336
8337 2015-01-14 Pedro Alves <palves@redhat.com>
8338
8339 PR cli/17828
8340 * gdb.base/batch-preserve-term-settings.c: New file.
8341 * gdb.base/batch-preserve-term-settings.exp: New file.
8342
8343 2015-01-13 Doug Evans <dje@google.com>
8344
8345 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
8346 binary.
8347
8348 2015-01-13 Joel Brobecker <brobecker@adacore.com>
8349
8350 * Makefile.in (clean mostlyclean): Do not delete *.py.
8351
8352 2015-01-13 Joel Brobecker <brobecker@adacore.com>
8353
8354 * gdb.python/py-lookup-type.exp: New file.
8355
8356 2015-01-12 Pedro Alves <palves@redhat.com>
8357
8358 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
8359 restore GDBFLAGS before returning.
8360
8361 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8362
8363 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
8364 is_amd64_regs_target and is_x86_like_target.
8365
8366 2015-01-11 Doug Evans <xdje42@gmail.com>
8367
8368 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
8369 is given without an explicit form.
8370 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
8371 attributes.
8372 * gdb.dwarf/corrupt.exp: Ditto.
8373 * gdb.dwarf2/enum-type.exp: Ditto.
8374 * gdb.trace/entry-values.exp: Ditto.
8375 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
8376
8377 2015-01-11 Doug Evans <xdje42@gmail.com>
8378
8379 PR gdb/15830
8380 * gdb.base/maint.exp: Remove references to "maint demangle".
8381 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
8382 Add tests for explicitly specifying language to demangle.
8383 * gdb.dlang/demangle.exp: Ditto.
8384
8385 2015-01-09 Pedro Alves <palves@redhat.com>
8386
8387 * gdb.threads/non-stop-fair-events.c: New file.
8388 * gdb.threads/non-stop-fair-events.exp: New file.
8389
8390 2015-01-09 Pedro Alves <palves@redhat.com>
8391
8392 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
8393 the global scope. Set a breakpoint after all threads are started
8394 rather than stepping over two source lines. Expect the prompt.
8395 * gdb.base/watch_thread_num.c (threads_started_barrier): New
8396 global.
8397 (NUM): Now 15.
8398 (main): Use threads_started_barrier to wait for all threads to
8399 start. Main thread no longer calls thread_function. Exit after
8400 180 seconds.
8401 (loop): New function.
8402 (thread_function): Wait on threads_started_barrier barrier. Call
8403 'loop' at each iteration.
8404 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
8405 threads have started, instead of hardcoding number of "next"
8406 steps. Use an access watchpoint instead of a write watchpoint.
8407
8408 2015-01-09 Pedro Alves <palves@redhat.com>
8409
8410 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
8411 (thread_func): Wait on barrier.
8412 (main): Wait for all threads to start before stopping GDB.
8413 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
8414 global.
8415 (thread1_func, thread2_func): Wait on barrier.
8416 (main): Wait for all threads to start before stopping GDB.
8417 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
8418 New global.
8419 (thread1_func, thread2_func): Wait on barrier.
8420 (main): Wait for all threads to start before stopping GDB.
8421
8422 2015-01-09 Pedro Alves <palves@redhat.com>
8423
8424 * gdb.threads/attach-many-short-lived-threads.c: New file.
8425 * gdb.threads/attach-many-short-lived-threads.exp: New file.
8426
8427 2014-01-09 Pedro Alves <palves@redhat.com>
8428
8429 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
8430 instead of to thread 2.
8431 * gdb.threads/signal-command-multiple-signals-pending.c (main):
8432 Add barrier around each pthread_create call instead of around all
8433 calls.
8434 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
8435 Set a break on thread_function and have the child threads hit it
8436 one at at a time.
8437
8438 2015-01-09 Pedro Alves <palves@redhat.com>
8439
8440 * lib/gdb.exp (can_spawn_for_attach): New procedure.
8441 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
8442 false.
8443 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
8444 checking whether the target board is remote.
8445 * gdb.multi/multi-attach.exp: Likewise.
8446 * gdb.python/py-sync-interp.exp: Likewise.
8447 * gdb.server/ext-attach.exp: Likewise.
8448 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
8449 tests that need to attach, instead of checking whether the target
8450 board is remote at the top of the file.
8451
8452 2015-01-08 Yao Qi <yao@codesourcery.com>
8453
8454 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
8455
8456 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8457
8458 Fix testcase compilation.
8459 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
8460
8461 2015-01-06 Joel Brobecker <brobecker@adacore.com>
8462
8463 * gdb.python/py-type.exp: Add a couple test about empty
8464 array creation, and negative-length array creation.
8465
8466 2015-01-02 Doug Evans <xdje42@gmail.com>
8467
8468 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
8469
8470 2015-01-02 Doug Evans <dje@google.com>
8471
8472 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
8473
8474 2014-12-29 Yao Qi <yao@codesourcery.com>
8475
8476 * gdb.trace/entry-values.exp: Update comments. Rename variable
8477 bar_call_foo to returned_from_foo.
8478
8479 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
8480
8481 PR gdb/17394
8482 * gdb.linespec/break-asm-file.c: New file.
8483 * gdb.linespec/break-asm-file.exp: New file.
8484 * gdb.linespec/break-asm-file0.s: New file.
8485 * gdb.linespec/break-asm-file1.s: New file.
8486
8487 2014-12-18 Nigel Stephens <nigel@mips.com>
8488 Maciej W. Rozycki <macro@codesourcery.com>
8489
8490 * gdb.base/float.exp: Handle the new output from "info float" on
8491 MIPS targets.
8492
8493 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8494
8495 Fix MinGW compilation.
8496 * gdb.compile/compile-ops.exp: Update untested message if
8497 !skip_compile_feature_tests.
8498 * gdb.compile/compile-setjmp.exp: Likewise.
8499 * gdb.compile/compile-tls.exp: Likewise.
8500 * gdb.compile/compile.exp: Likewise.
8501 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
8502 supported on this host".
8503
8504 2014-12-16 Doug Evans <xdje42@gmail.com>
8505
8506 * boards/stabs.exp: New file.
8507
8508 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
8509
8510 * gdb.base/completion.exp: Adjust to format changes of "maint
8511 print user-registers".
8512
8513 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
8514
8515 PR server/17457
8516 * gdb.arch/aarch64-fp.c: New file.
8517 * gdb.arch/aarch64-fp.exp: New file.
8518
8519 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
8520
8521 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
8522 r210637, r210913, r211666, r215400, r215817).
8523
8524 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
8525 * dg-extract-results.py: New file.
8526 * dg-extract-results.sh: Use it if the environment seems
8527 suitable.
8528
8529 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
8530
8531 * dg-extract-results.py (parse_run): Handle warnings that
8532 are printed before a test harness is run.
8533
8534 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
8535
8536 * dg-extract-results.py (Named): Remove __cmp__ method.
8537 (output_variation): Use a key to sort variation.harnesses.
8538
8539 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
8540
8541 * dg-extract-results.py: For Python 3, force sys.stdout to
8542 handle surrogate escape sequences.
8543 (safe_open): New function.
8544 (output_segment, main): Use it.
8545
8546 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
8547
8548 * dg-extract-results.py (Prog.result_re): Include options
8549 in test name.
8550
8551 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
8552
8553 * dg-extract-results.py (output_variation): Always sort if
8554 do_sum.
8555
8556 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
8557
8558 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
8559 as long as we get pagination notifications.
8560
8561 2014-12-15 Jason Merrill <jason@redhat.com>
8562
8563 * Makefile.in (check-gdb.%): Restore.
8564 * README: Mention it.
8565
8566 2014-12-13 Joel Brobecker <brobecker@adacore.com>
8567
8568 * gdb.ada/str_uninit: New testcase.
8569
8570 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8571
8572 PR symtab/17642
8573 * gdb.base/vla-stub-define.c: New file.
8574 * gdb.base/vla-stub.c: New file.
8575 * gdb.base/vla-stub.exp: New file.
8576
8577 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
8578 Jan Kratochvil <jan.kratochvil@redhat.com>
8579 Tom Tromey <tromey@redhat.com>
8580
8581 * configure.ac: Add gdb.compile/.
8582 * configure: Regenerate.
8583 * gdb.compile/Makefile.in: New file.
8584 * gdb.compile/compile-ops.exp: New file.
8585 * gdb.compile/compile-ops.c: New file.
8586 * gdb.compile/compile-tls.c: New file.
8587 * gdb.compile/compile-tls.exp: New file.
8588 * gdb.compile/compile-constvar.S: New file.
8589 * gdb.compile/compile-constvar.c: New file.
8590 * gdb.compile/compile-mod.c: New file.
8591 * gdb.compile/compile-nodebug.c: New file.
8592 * gdb.compile/compile-setjmp-mod.c: New file.
8593 * gdb.compile/compile-setjmp.c: New file.
8594 * gdb.compile/compile-setjmp.exp: New file.
8595 * gdb.compile/compile-shlib.c: New file.
8596 * gdb.compile/compile.c: New file.
8597 * gdb.compile/compile.exp: New file.
8598 * lib/gdb.exp (skip_compile_feature_tests): New proc.
8599
8600 2014-12-12 Tom Tromey <tromey@redhat.com>
8601
8602 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
8603 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
8604
8605 2014-12-12 Doug Evans <dje@google.com>
8606
8607 * lib/gdb-python.exp (get_python_valueof): New function.
8608 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
8609
8610 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8611
8612 * gdb.base/completion.exp: Add test for completion of "info
8613 registers ".
8614
8615 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
8616
8617 * gdb.base/func-ptrs.c: New file.
8618 * gdb.base/func-ptrs.exp: New file.
8619
8620 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
8621
8622 PR breakpoints/17012
8623 * gdb.base/dprintf-detach.c: New file.
8624 * gdb.base/dprintf-detach.exp: New file.
8625
8626 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
8627
8628 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
8629 * lib/gdb.exp (target_is_gdbserver): New procedure.
8630
8631 2014-12-08 Doug Evans <dje@google.com>
8632
8633 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
8634
8635 2014-12-05 Yao Qi <yao@codesourcery.com>
8636
8637 * gdb.guile/scm-error.exp: Remove the third argument to
8638 gdb_remote_download.
8639 * gdb.guile/scm-frame-args.exp: Likewise.
8640 * gdb.guile/scm-section-script.exp: Likewise.
8641
8642 2014-12-05 Yao Qi <yao@codesourcery.com>
8643
8644 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
8645
8646 2014-12-04 Doug Evans <dje@google.com>
8647
8648 * gdb.python/py-objfile.exp: Add tests for
8649 objfile.add_separate_debug_file.
8650
8651 2014-12-04 Doug Evans <dje@google.com>
8652
8653 * lib/gdb.exp (get_build_id): New function.
8654 (build_id_debug_filename_get): Rewrite to use it.
8655 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
8656
8657 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
8658
8659 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
8660 `method(long)', not just 0x0.
8661 * gdb.cp/nsalias.exp: Align code labels to 4.
8662 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
8663 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
8664 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
8665 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
8666 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
8667 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
8668
8669 2014-12-02 Doug Evans <dje@google.com>
8670
8671 PR symtab/17602
8672 * gdb.cp/anon-ns.cc: Move guts of this file to ...
8673 * gdb.cp/anon-ns2.cc: ... here. New file.
8674 * gdb.cp/anon-ns.exp: Update.
8675
8676 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
8677
8678 * gdb.python/py-events.py (inferior_call_handler): New.
8679 (register_changed_handler, memory_changed_handler): New.
8680 (test_events.invoke): Register new handlers.
8681 * gdb.python/py-events.exp: Add tests for inferior call,
8682 memory_changed and register_changed events.
8683
8684 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
8685
8686 * gdb.base/execl-update-breakpoints.exp: Specify the link address
8687 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
8688 if the linker doesn't understand this.
8689
8690 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
8691
8692 * gdb.python/python.exp: Change expected reply to help().
8693
8694 2014-12-01 Yao Qi <yao@codesourcery.com>
8695
8696 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
8697 AC_CONFIG_SUBDIRS(gdb.gdbtk).
8698 * configure: Re-generated.
8699
8700 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
8701
8702 * gdb.cp/chained-calls.cc: New file.
8703 * gdb.cp/chained-calls.exp: New file.
8704 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
8705
8706 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
8707
8708 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
8709 * gdb.dwarf2/symtab-producer.exp: Same.
8710 * gdb.gdb/python-interrupts.exp: Same.
8711 * gdb.gdb/python-selftest.exp: Same.
8712 * gdb.python/py-linetable.exp: Same.
8713 * gdb.python/py-type.exp: Same.
8714 * gdb.python/py-value-cc.exp: Same.
8715 * gdb.python/py-value.exp: Same.
8716
8717 2014-11-28 Yao Qi <yao@codesourcery.com>
8718
8719 * gdb.base/break-probes.exp: Match library name prefixed with
8720 sysroot.
8721
8722 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
8723
8724 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
8725 test expected output. Add parentheses for the call to print.
8726 Remove L suffix from integers.
8727
8728 2014-11-26 Doug Evans <dje@google.com>
8729
8730 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
8731
8732 2014-11-22 Yao Qi <yao@codesourcery.com>
8733
8734 * gdb.trace/entry-values.c: Remove asms.
8735 (foo): Add foo_label.
8736 (bar): Add bar_label.
8737 * gdb.trace/entry-values.exp: Remove code computing foo's
8738 length and bar's length.
8739 (Dwarf::assemble): Invoke function_range for bar and use
8740 MACRO_AT_func for foo.
8741
8742 2014-11-22 Yao Qi <yao@codesourcery.com>
8743
8744 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
8745 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
8746 Use .Lgcc43_procstart instead of gcc43.
8747
8748 2014-11-21 Joel Brobecker <brobecker@adacore.com>
8749
8750 * gdb.ada/n_arr_bound: New testcase.
8751
8752 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
8753
8754 PR breakpoints/10737
8755 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
8756 test_catch_syscall_multi_arch.
8757 (test_catch_syscall_multi_arch): New function.
8758
8759 2014-11-20 Doug Evans <xdje42@gmail.com>
8760
8761 * gdb.base/maint.exp: Update expected output.
8762
8763 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
8764
8765 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
8766 4-byte instruction on S390.
8767
8768 2014-11-19 Joel Brobecker <brobecker@adacore.com>
8769
8770 * gdb.ada/arr_arr: New testcase.
8771
8772 2014-11-19 Joel Brobecker <brobecker@adacore.com>
8773
8774 * gdb.ada/pkd_arr_elem: New Testcase.
8775
8776 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
8777
8778 * gdb.reverse/break-precsave: Expect completion message for
8779 core file reads.
8780 * gdb.reverse/consecutive-precsave.exp: Likewise.
8781 * gdb.reverse/finish-precsave.exp: Likewise.
8782 * gdb.reverse/i386-precsave.exp: Likewise.
8783 * gdb.reverse/machinestate-precsave.exp: Likewise.
8784 * gdb.reverse/sigall-precsave.exp: Likewise.
8785 * gdb.reverse/solib-precsave.exp: Likewise.
8786 * gdb.reverse/step-precsave.exp: Likewise.
8787 * gdb.reverse/until-precsave.exp: Likewise.
8788 * gdb.reverse/watch-precsave.exp: Likewise.
8789
8790 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
8791
8792 * gdb.base/bp-permanent.c: Include unistd.h.
8793 * gdb.python/py-framefilter-mi.c (main): Add return type.
8794 * gdb.python/py-framefilter.c (main): Likewise.
8795 * gdb.trace/actions-changed.c (main): Likewise.
8796
8797 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
8798
8799 * gdb.mi/until.c: Add eye-catchers.
8800 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
8801 line numbers.
8802
8803 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
8804
8805 * gdb.base/condbreak.exp: Drop references to removed non-prototype
8806 function header variants in break1.c.
8807 * gdb.base/ena-dis-br.exp: Likewise.
8808 * gdb.base/hbreak2.exp: Likewise.
8809 * gdb.reverse/until-precsave.exp: Drop references to removed
8810 non-prototype function header variants in ur1.c.
8811 * gdb.reverse/until-reverse.exp: Likewise.
8812
8813 2014-11-17 Petr Machata <pmachata@redhat.com>
8814
8815 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
8816 ${_cu_offset_size} bytes abbrev offset.
8817
8818 2014-11-15 Doug Evans <xdje42@gmail.com>
8819
8820 PR symtab/17559
8821 * gdb.base/line-symtabs.exp: New file.
8822 * gdb.base/line-symtabs.c: New file.
8823 * gdb.base/line-symtabs.h: New file.
8824
8825 2014-11-14 Yao Qi <yao@codesourcery.com>
8826
8827 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
8828 (func): Add label func_label.
8829 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
8830 Replace low_pc and high_pc with MACRO_AT_range.
8831 Replace name, low_pc and high_pc with MACRO_AT_func.
8832
8833 2014-11-14 Yao Qi <yao@codesourcery.com>
8834
8835 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
8836 Replace name, low_pc and high_pc with MACRO_AT_func.
8837
8838 2014-11-14 Yao Qi <yao@codesourcery.com>
8839
8840 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
8841 produce debug information.
8842 * gdb.dwarf2/implptr-optimized-out.S: Removed.
8843
8844 2014-11-14 Yao Qi <yao@codesourcery.com>
8845
8846 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
8847 object and get function length.
8848 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
8849 with MACRO_AT_func.
8850 (top-level): Replace gdb_compile and clean_restart with
8851 prepare_for_testing.
8852 * gdb.dwarf2/main.c (main): Add label main_label.
8853
8854 2014-11-14 Yao Qi <yao@codesourcery.com>
8855
8856 * lib/dwarf.exp (function_range): New procedure.
8857 (Dwarf::_handle_macro_at_func): New procedure.
8858 (Dwarf::_handle_macro_at_range): New procedure.
8859 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
8860
8861 2014-11-14 Yao Qi <yao@codesourcery.com>
8862
8863 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
8864 (_handle_attribute): New procedure.
8865
8866 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8867
8868 * gdb.ada/cond_lang/foo.c (callme): Add return type.
8869 * gdb.base/call-sc.c (zed): Likewise.
8870 * gdb.base/checkpoint.c (main): Likewise.
8871 * gdb.base/dump.c (main): Likewise.
8872 * gdb.base/gcore.c (main): Likewise.
8873 * gdb.base/huge.c (main): Likewise.
8874 * gdb.base/multi-forks.c (main): Likewise.
8875 * gdb.base/pr10179-a.c (main): Likewise.
8876 * gdb.base/savedregs.c (main): Likewise.
8877 * gdb.base/sigaltstack.c (main): Likewise.
8878 * gdb.base/siginfo.c (main): Likewise.
8879 * gdb.base/structs.c (zed): Likewise.
8880 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
8881 * gdb.mi/mi-syn-frame.c (main): Likewise.
8882 * gdb.mi/until.c (foo, main): Likewise.
8883 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
8884 * gdb.base/solib-weak.c (foo): Declare.
8885 * gdb.base/attach-twice.c: Include stdio.h.
8886 * gdb.base/weaklib1.c: Likewise.
8887 * gdb.base/weaklib2.c: Likewise.
8888 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
8889 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
8890 unistd.h.
8891 * gdb.base/attach-pie-misread.c: Include stdlib.h.
8892 * gdb.mi/mi-exit-code.c: Likewise.
8893 * gdb.base/break-interp-lib.c: Include string.h.
8894 * gdb.base/coremaker.c: Likewise.
8895 * gdb.base/testenv.c: Likewise.
8896 * gdb.python/py-finish-breakpoint.c: Likewise.
8897 * gdb.base/inferior-died.c: Include sys/wait.h.
8898 * gdb.base/fileio.c: Include time.h.
8899 * gdb.base/async-shell.c: Include unistd.h.
8900 * gdb.base/dprintf-non-stop.c: Likewise.
8901 * gdb.base/info-os.c: Likewise.
8902 * gdb.mi/mi-console.c: Likewise.
8903 * gdb.mi/watch-nonstop.c: Likewise.
8904 * gdb.python/py-events.c: Likewise.
8905 * gdb.base/async.c (baz): Move up before its invocation.
8906 * gdb.base/code_elim2.c (my_global_func): Likewise.
8907 * gdb.base/skip-solib-lib.c (multiply): Likewise.
8908 * gdb.base/advance.c (func2): Likewise.
8909
8910 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8911
8912 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
8913 variant.
8914 * gdb.base/annota3.c: Likewise.
8915 * gdb.base/async.c: Likewise.
8916 * gdb.base/average.c: Likewise.
8917 * gdb.base/call-ar-st.c: Likewise.
8918 * gdb.base/call-rt-st.c: Likewise.
8919 * gdb.base/call-sc.c: Likewise.
8920 * gdb.base/call-strs.c: Likewise.
8921 * gdb.base/ending-run.c: Likewise.
8922 * gdb.base/execd-prog.c: Likewise.
8923 * gdb.base/exprs.c: Likewise.
8924 * gdb.base/foll-exec.c: Likewise.
8925 * gdb.base/foll-fork.c: Likewise.
8926 * gdb.base/foll-vfork.c: Likewise.
8927 * gdb.base/funcargs.c: Likewise.
8928 * gdb.base/gcore.c: Likewise.
8929 * gdb.base/jump.c: Likewise.
8930 * gdb.base/langs0.c: Likewise.
8931 * gdb.base/langs1.c: Likewise.
8932 * gdb.base/langs2.c: Likewise.
8933 * gdb.base/mips_pro.c: Likewise.
8934 * gdb.base/nodebug.c: Likewise.
8935 * gdb.base/opaque0.c: Likewise.
8936 * gdb.base/opaque1.c: Likewise.
8937 * gdb.base/recurse.c: Likewise.
8938 * gdb.base/run.c: Likewise.
8939 * gdb.base/scope0.c: Likewise.
8940 * gdb.base/scope1.c: Likewise.
8941 * gdb.base/setshow.c: Likewise.
8942 * gdb.base/setvar.c: Likewise.
8943 * gdb.base/shmain.c: Likewise.
8944 * gdb.base/shr1.c: Likewise.
8945 * gdb.base/shr2.c: Likewise.
8946 * gdb.base/sigall.c: Likewise.
8947 * gdb.base/signals.c: Likewise.
8948 * gdb.base/so-indr-cl.c: Likewise.
8949 * gdb.base/solib2.c: Likewise.
8950 * gdb.base/structs.c: Likewise.
8951 * gdb.base/sum.c: Likewise.
8952 * gdb.base/vforked-prog.c: Likewise.
8953 * gdb.base/watchpoint.c: Likewise.
8954 * gdb.reverse/shr2.c: Likewise.
8955 * gdb.reverse/until-reverse.c: Likewise.
8956 * gdb.reverse/ur1.c: Likewise.
8957 * gdb.reverse/watch-reverse.c: Likewise.
8958
8959 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8960
8961 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
8962 variant.
8963 * gdb.base/sepdebug.exp: Drop references to removed code.
8964
8965 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8966
8967 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
8968 variant. Preserve original line numbering.
8969 * gdb.base/list1.c: Likewise.
8970
8971 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8972
8973 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
8974 variant.
8975 * gdb.base/break1.c: Likewise.
8976 * gdb.base/break.exp: Drop references to removed code.
8977
8978 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8979
8980 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
8981 variant.
8982
8983 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8984
8985 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
8986
8987 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8988
8989 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
8990 logic into perform_all_tests() and invoke it with and without
8991 function header prototypes.
8992 (do_function_calls): Remove conditional XFAIL for PR 5318.
8993 (rerun_and_prepare): Remove duplicate code.
8994 (perform_all_tests): New. Main logic moved here.
8995
8996 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8997
8998 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
8999 code guarded by #ifdef NO_PROTOTYPES.
9000 (t_double_many_args): Likewise.
9001 (DEF_FUNC_MANY_ARGS_1): Likewise.
9002 (DEF_FUNC_VALUES_1): Likewise.
9003 (t_structs_ldc): Renamed from t_structs_fc in conditional code
9004 guarded by #ifdef PROTOTYPES.
9005
9006 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9007
9008 * gdb.mi/mi-console.c: Add eye-catcher.
9009 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
9010 instead of literal line number.
9011
9012 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9013
9014 * gdb.base/shr2.c: Add eye-catcher.
9015 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
9016 line number.
9017
9018 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9019
9020 * gdb.base/jump.c: Add eye-catchers.
9021 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
9022 numbers.
9023
9024 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9025
9026 * gdb.base/execd-prog.c: Add eye-catchers.
9027 * gdb.base/foll-exec.c: Likewise.
9028 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
9029 line numbers.
9030
9031 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9032
9033 * gdb.base/ending-run.c: Add eye-catchers.
9034 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
9035 literal line numbers.
9036
9037 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9038
9039 * gdb.base/call-rt-st.c: Add eye-catchers.
9040 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
9041 literal line numbers.
9042
9043 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9044
9045 * gdb.base/call-ar-st.c: Add eye-catchers.
9046 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
9047 literal line numbers.
9048
9049 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9050
9051 * gdb.base/average.c: Add eye-catchers.
9052 * gdb.base/sum.c: Likewise.
9053 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
9054 regexps dynamically.
9055
9056 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9057
9058 * gdb.base/solib1.c: Add eye-catchers.
9059 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
9060 literal line numbers.
9061
9062 2014-11-12 Pedro Alves <palves@redhat.com>
9063
9064 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
9065 leader has exited.
9066
9067 2014-11-12 Pedro Alves <palves@redhat.com>
9068
9069 * gdb.arch/i386-bp_permanent.c: New file.
9070 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
9071 (srcfile): Set to i386-bp_permanent.c.
9072 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
9073 that stepi does not execute the 'leave' instruction, instead of
9074 testing it does execute.
9075 * gdb.base/bp-permanent.c: New file.
9076 * gdb.base/bp-permanent.exp: New file.
9077
9078 2014-11-10 Doug Evans <xdje42@gmail.com>
9079
9080 PR symtab/17564
9081 * gdb.base/symtab-search-order.exp: New file.
9082 * gdb.base/symtab-search-order.c: New file.
9083 * gdb.base/symtab-search-order-1.c: New file.
9084 * gdb.base/symtab-search-order-shlib-1.c: New file.
9085
9086 2014-11-07 Pedro Alves <palves@redhat.com>
9087
9088 PR gdb/17511
9089 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
9090 i?86-*-linux*.
9091
9092 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
9093
9094 PR c++/17494
9095 * gdb.cp/pr17494.cc: New file.
9096 * gdb.cp/pr17494.exp: New file.
9097
9098 2014-11-02 Yao Qi <yao@codesourcery.com>
9099
9100 * gdb.python/python.exp: Get working directory and match the
9101 output of "set extended-prompt \\w " with it.
9102
9103 2014-10-30 Doug Evans <dje@google.com>
9104
9105 * gdb.python/py-objfile.exp: Add tests for setting random attributes
9106 in objfiles.
9107 * gdb.python/py-progspace.exp: Add tests for setting random attributes
9108 in progspaces.
9109
9110 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
9111
9112 * gdb.base/fullpath-expand.exp: Skip for a remote host.
9113 * gdb.base/realname-expand.exp: Likewise.
9114 * gdb.linespec/macro-relative.exp: Likewise.
9115
9116 2014-10-29 Pedro Alves <palves@redhat.com>
9117
9118 PR gdb/17408
9119 * gdb.threads/schedlock.c (some_function): New function.
9120 (call_function): New global.
9121 (MAYBE_CALL_SOME_FUNCTION): New macro.
9122 (thread_function): Call it.
9123 * gdb.threads/schedlock.exp (get_args): Add description parameter,
9124 and use it instead of a global counter. Adjust all callers.
9125 (get_current_thread): Use "find current thread" for test message
9126 here rather than having all callers pass down the same string.
9127 (goto_loop): New procedure, factored out from ...
9128 (my_continue): ... this.
9129 (step_ten_loops): Change parameter from test message to command to
9130 use. Adjust.
9131 (list_count): Delete global.
9132 (check_result): New procedure, factored out from duplicate top
9133 level code.
9134 (continue tests): Wrap in with_test_prefix.
9135 (test_step): New procedure, factored out from duplicate top level
9136 code.
9137 (top level): Test "step" in combination with all scheduler-locking
9138 modes. Test "next" in combination with all scheduler-locking
9139 modes, and in combination with stepping over a function call or
9140 not.
9141 * gdb.threads/next-bp-other-thread.c: New file.
9142 * gdb.threads/next-bp-other-thread.exp: New file.
9143
9144 2014-10-29 Pedro Alves <palves@redhat.com>
9145
9146 PR python/17372
9147 * gdb.python/python.exp: Test a multi-line command that spawns
9148 interactive Python.
9149 * gdb.base/multi-line-starts-subshell.exp: New file.
9150
9151 2014-10-29 Yao Qi <yao@codesourcery.com>
9152
9153 * gdb.base/fileio.exp: Make directories on host.
9154
9155 2014-10-29 Yao Qi <yao@codesourcery.com>
9156
9157 * gdb.base/fileio.c (test_write): Close the file.
9158
9159 2014-10-28 Pedro Alves <palves@redhat.com>
9160
9161 PR gdb/12623
9162 * gdb.base/sigstep.c (no_handler): New global.
9163 (main): If 'no_handler is true, set the signal handlers to
9164 SIG_IGN.
9165 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
9166 with_sw_watch and no_handler parameters. Handle them.
9167 (top level) <stepping over handler when stopped at a breakpoint
9168 test>: Add a test axis for testing with a software watchpoint, and
9169 another for testing with the signal handler set to SIG_IGN.
9170 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
9171 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
9172
9173 2014-10-28 Pedro Alves <palves@redhat.com>
9174
9175 PR gdb/17511
9176 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
9177 * gdb.base/sigstep.exp (other_handler_location): New global.
9178 (advance): Support stepping into the signal handler, and running
9179 commands while in the handler.
9180 (in_handler_map): New global.
9181 (top level): In the advance test, add combinations for getting
9182 into the handler with stepping commands, and for running commands
9183 in the handler. Add comment descripting the advancei tests.
9184
9185 2014-10-28 Pedro Alves <palves@redhat.com>
9186
9187 * gdb.base/sigstep.exp: Use build_executable instead of
9188 prepare_for_testing.
9189 (top level): Move code that starts GDB, runs to main and creates a
9190 display to ...
9191 (restart): ... this new procedure.
9192 (top level): Move backtrace from signal handler test to ...
9193 (validate_backtrace): ... this new procedure.
9194 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
9195 with_test_prefix. Always restart GDB.
9196 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
9197 with_test_prefix. Always restart GDB. No need to delete
9198 breakpoints after the test.
9199 (test_skip_handler): Remove prefix parameter.
9200 (skip_over_handler, breakpoint_to_handler)
9201 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
9202 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
9203 restart GDB. No need to delete breakpoints after the test.
9204 (top level): Use foreach to call the test procedures with
9205 different commands.
9206
9207 2014-10-28 Pedro Alves <palves@redhat.com>
9208
9209 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
9210 instead of GNATS numbers.
9211 * gdb.base/sigbpt.exp: Likewise.
9212 * gdb.base/siginfo.exp: Likewise.
9213 * gdb.base/sigstep.exp: Likewise.
9214
9215 2014-10-27 Pedro Alves <palves@redhat.com>
9216
9217 * gdb.base/sigstep.c (dummy): New global.
9218 (main): Issue a couple writes to the new global.
9219 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
9220 procedures.
9221 (skip_over_handler): Use test_skip_handler.
9222 (top level): Call skip_over_handler for stepi and nexti too.
9223 (breakpoint_over_handler): Use test_skip_handler.
9224 (top level): Call breakpoint_over_handler for stepi and nexti too.
9225
9226 2014-10-27 Yao Qi <yao@codesourcery.com>
9227
9228 * gdb.trace/tfile.c (adjust_function_address)
9229 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
9230 function descriptor.
9231
9232 2014-10-24 Don Breazeal <donb@codesourcery.com>
9233
9234 * gdb.base/foll-fork.exp (test_follow_fork,
9235 catch_fork_child_follow): Check for updated fork messages emitted
9236 from infrun.c.
9237 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
9238 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
9239 vfork_and_exec_child_follow_through_step): Check for updated vfork
9240 messages emitted from infrun.c.
9241
9242 2014-10-24 Pedro Alves <palves@redhat.com>
9243
9244 * gdb.base/corefile.exp: Remove references to ultrix.
9245 * gdb.base/interrupt.exp: Likewise.
9246 * gdb.base/whatis.exp: Likewise.
9247 * gdb.gdb/selftest.exp: Likewise.
9248 * gdb.threads/manythreads.exp: Likewise.
9249 * gdb.threads/print-threads.exp: Likewise.
9250 * gdb.threads/pthreads.exp:: Likewise.
9251 * gdb.threads/schedlock.exp: Likewise.
9252
9253 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
9254
9255 * gdb.cp/non-trivial-retval.cc: Add a test case.
9256 * gdb.cp/non-trivial-retval.exp: Add a test.
9257
9258 2014-10-20 Yao Qi <yao@codesourcery.com>
9259
9260 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
9261 * gdb.python/py-objfile-script-gdb.py: New file.
9262 * gdb.python/py-objfile-script.exp: Update reference to
9263 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
9264 of remote_download. Remove the dest file.
9265
9266 2014-10-20 Yao Qi <yao@codesourcery.com>
9267
9268 * gdb.base/checkpoint.exp: Don't remove file copied on host.
9269 * gdb.base/step-line.exp: Likewise.
9270 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
9271 * gdb.dwarf2/dw2-basic.exp: Likewise.
9272 * gdb.dwarf2/dw2-compressed.exp: Likewise.
9273 * gdb.dwarf2/dw2-filename.exp: Likewise.
9274 * gdb.dwarf2/dw2-intercu.exp: Likewise.
9275 * gdb.dwarf2/dw2-intermix.exp: Likewise.
9276 * gdb.dwarf2/dw2-producer.exp: Likewise.
9277 * gdb.dwarf2/mac-fileno.exp: Likewise.
9278 * gdb.python/py-frame-args.exp: Likewise.
9279 * gdb.python/py-framefilter.exp: Likewise.
9280 * gdb.python/py-mi.exp: Likewise.
9281 * gdb.python/py-objfile-script.exp: Likewise
9282 * gdb.python/py-pp-integral.exp: Likewise.
9283 * gdb.python/py-pp-re-notag.exp: Likewise.
9284 * gdb.python/py-prettyprint.exp: Likewise.
9285 * gdb.python/py-section-script.exp: Likewise.
9286 * gdb.python/py-typeprint.exp: Likewise.
9287 * gdb.python/py-xmethods.exp: Likewise.
9288 * gdb.stabs/weird.exp: Likewise.
9289 * gdb.xml/tdesc-regs.exp: Likewise.
9290
9291 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
9292
9293 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
9294 (out_cu): Use addr_len for the size of addresses.
9295 (out_line): Likewise. Size DW_LNE_set_address instruction
9296 according to addr_len.
9297 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
9298 (FUNC): Add START_INSNS to definition.
9299
9300 2014-10-18 Yao Qi <yao@codesourcery.com>
9301
9302 * gdb.base/argv0-symlink.exp: Check argv[0] value if
9303 gdb_has_argv0 return true.
9304 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
9305 check [target_info exists noargs], check [gdb_has_argv0]
9306 instead.
9307 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
9308 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
9309 procedures.
9310
9311 2014-10-17 Doug Evans <dje@google.com>
9312
9313 * gdb.python/py-events.exp: Update expected output for clear_objfiles
9314 event.
9315 * gdb.python/py-events.py: Add clear_objfiles event.
9316
9317 2014-10-17 Doug Evans <dje@google.com>
9318
9319 * gdb.python/py-objfile.exp: Test progspace attribute.
9320
9321 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
9322
9323 * gdb.guile/scm-breakpoint.exp: Do not assume any
9324 directory separators when matching source file paths.
9325 * gdb.python/py-breakpoint.exp: Likewise.
9326 * gdb.reverse/break-precsave.exp: Likewise.
9327 * gdb.reverse/break-reverse.exp: Likewise.
9328 * gdb.reverse/consecutive-precsave.exp: Likewise.
9329 * gdb.reverse/finish-precsave.exp: Likewise.
9330 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
9331 * gdb.reverse/finish-reverse.exp: Likewise.
9332 * gdb.reverse/i386-precsave.exp: Likewise.
9333 * gdb.reverse/i387-env-reverse.exp: Likewise.
9334 * gdb.reverse/i387-stack-reverse.exp: Likewise.
9335 * gdb.reverse/machinestate-precsave.exp: Likewise.
9336 * gdb.reverse/machinestate.exp: Likewise.
9337 * gdb.reverse/sigall-precsave.exp: Likewise.
9338 * gdb.reverse/solib-precsave.exp: Likewise.
9339 * gdb.reverse/step-precsave.exp: Likewise.
9340 * gdb.reverse/until-precsave.exp: Likewise.
9341 * gdb.reverse/watch-precsave.exp: Likewise.
9342 * gdb.reverse/watch-reverse.exp: Likewise.
9343
9344 2014-10-17 Yao Qi <yao@codesourcery.com>
9345
9346 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
9347 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
9348
9349 2014-10-17 Pedro Alves <palves@redhat.com>
9350
9351 PR gdb/17471
9352 * gdb.base/bg-execution-repeat.c: New file.
9353 * gdb.base/bg-execution-repeat.exp: New file.
9354
9355 2014-10-17 Pedro Alves <palves@redhat.com>
9356
9357 PR gdb/17300
9358 * gdb.base/continue-all-already-running.c: New file.
9359 * gdb.base/continue-all-already-running.exp: New file.
9360
9361 2014-10-17 Pedro Alves <palves@redhat.com>
9362
9363 PR gdb/17472
9364 * gdb.base/annota-input-while-running.c: New file.
9365 * gdb.base/annota-input-while-running.exp: New file.
9366
9367 2014-10-17 Pedro Alves <palves@redhat.com>
9368
9369 * gdb.base/callfuncs.exp: emove references to osf.
9370 * gdb.base/sigall.exp: Likewise.
9371 * gdb.gdb/selftest.exp: Likewise.
9372 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
9373 * gdb.mi/non-stop.c: Likewise.
9374 * gdb.mi/pthreads.c: Likewise.
9375 * gdb.reverse/sigall-precsave.exp: Likewise.
9376 * gdb.reverse/sigall-reverse.exp: Likewise.
9377 * gdb.threads/pthreads.c: Likewise.
9378 * gdb.threads/pthreads.exp: Likewise.
9379
9380 2014-10-17 Yao Qi <yao@codesourcery.com>
9381
9382 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
9383 check 'target_info exists noargs'.
9384 (test_command_prompt_position): Likewise.
9385 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
9386 Remove "set args".
9387 (progvar_simple_while_test): Likewise.
9388 (progvar_complex_if_while_test): Likewise.
9389 (if_while_breakpoint_command_test): Likewise.
9390 (infrun_breakpoint_command_test): Likewise.
9391 (breakpoint_command_test): Likewise.
9392 (watchpoint_command_test): Likewise.
9393 (bp_deleted_in_command_test): Likewise.
9394 (temporary_breakpoint_commands): Likewise.
9395
9396 2014-10-16 Yao Qi <yao@codesourcery.com>
9397
9398 * gdb.base/remotetimeout.exp: Remove noargs checking.
9399
9400 2014-10-15 Pedro Alves <palves@redhat.com>
9401
9402 PR breakpoints/9649
9403 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
9404 * gdb.base/breakpoint-in-ro-region.exp
9405 (probe_target_hardware_step): New procedure.
9406 (top level): Probe hardware stepping and hardware breakpoint
9407 support. Test stepping through a read-only region, with both
9408 "breakpoint auto-hw" on and off and both "always-inserted" on and
9409 off.
9410
9411 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
9412
9413 * gdb.dlang/demangle.exp: Update for demangling changes.
9414
9415 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
9416
9417 * gdb.cp/non-trivial-retval.cc: Add new test cases.
9418 * gdb.cp/non-trivial-retval.exp: Add new tests.
9419
9420 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
9421
9422 PR c++/13403
9423 PR c++/15154
9424 * gdb.cp/non-trivial-retval.cc: New file.
9425 * gdb.cp/non-trivial-retval.exp: New file.
9426
9427 2014-10-15 Yao Qi <yao@codesourcery.com>
9428
9429 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
9430 remote host.
9431
9432 2014-10-15 Yao Qi <yao@codesourcery.com>
9433
9434 * gdb.python/py-symbol.exp: Match file base name if host is
9435 remote, otherwise match file name with dir name.
9436 * gdb.python/py-symtab.exp: Likewise.
9437 * gdb.python/python.exp: Likewise.
9438
9439 2014-10-15 Yao Qi <yao@codesourcery.com>
9440
9441 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
9442 pattern.
9443 * gdb.python/py-symtab.exp: Likewise.
9444 * gdb.python/python.exp: Remove trailing ".*". Fix typo
9445 locationn.
9446
9447 2014-10-14 Joel Brobecker <brobecker@adacore.com>
9448
9449 * gdb.ada/addr_arith: New testcase.
9450
9451 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
9452
9453 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
9454 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
9455 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
9456 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
9457
9458 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
9459
9460 * gdb.arch/stap-eval-lang-ada.S: Likewise.
9461 * gdb.arch/stap-eval-lang-ada.c: Likewise.
9462 * gdb.arch/stap-eval-lang-ada.exp: New file.
9463
9464 2014-10-14 Yao Qi <yao@codesourcery.com>
9465
9466 * gdb.mi/mi-var-child.c (nothing1): New function.
9467 (nothing2): New function.
9468 (do_children_tests): Set function pointers by nothing1 and
9469 nothing2.
9470 * gdb.mi/mi-var-child.exp: Step over new added statements.
9471 Update test to match the new output.
9472 * gdb.mi/var-cmd.c (nothing1): New function.
9473 (nothing2): New function.
9474 (do_children_tests): Set function pointers by nothing1 and
9475 nothing2.
9476 * gdb.mi/mi-var-display.exp: Update test to match output.
9477 Step to the line specified by $line_dct_nothing.
9478 Increase the number of lines to step.
9479
9480 2014-10-14 Yao Qi <yao@codesourcery.com>
9481
9482 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
9483 tests.
9484 * gdb.mi/mi2-var-child.exp: Likewise.
9485
9486 2014-10-13 Doug Evans <dje@google.com>
9487
9488 * gdb.python/py-objfile.exp: Change name of file name test.
9489
9490 2014-10-13 Doug Evans <dje@google.com>
9491
9492 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
9493 from the start of the CU.
9494
9495 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9496 Yao Qi <yao@codesourcery.com>
9497
9498 Fix "save breakpoints" for "catch" command.
9499 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
9500 Remove -nonewline. Match also the added "main" line.
9501
9502 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9503
9504 Fix "save breakpoints" for "disable $bpnum" command.
9505 * gdb.base/save-bp.c (main): Add label.
9506 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
9507
9508 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9509
9510 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
9511
9512 2014-10-11 Yao Qi <yao@codesourcery.com>
9513
9514 * gdb.server/server-kill.exp: Execute command
9515 "set remote trace-status-packet on" before "tstatus".
9516
9517 2014-10-11 Yao Qi <yao@codesourcery.com>
9518
9519 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
9520 (main): Call getppid.
9521 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
9522 and continue to it. Read variable "server_pid".
9523
9524 2014-10-11 Yao Qi <yao@codesourcery.com>
9525
9526 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
9527
9528 2014-10-11 Yao Qi <yao@codesourcery.com>
9529
9530 * gdb.threads/thread-find.exp: Don't execute command
9531 "info threads".
9532 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
9533 * gdb.threads/linux-dp.exp: Don't check the condition
9534 $threads_created equals to zero.
9535
9536 2014-10-10 Pedro Alves <palves@redhat.com>
9537
9538 * gdb.base/bigcore.exp: Remove references to IRIX.
9539 * gdb.base/funcargs.exp: Likewise.
9540 * gdb.base/interrupt.exp: Likewise.
9541 * gdb.base/mips_pro.exp: Likewise.
9542 * gdb.base/nodebug.exp: Likewise.
9543 * gdb.base/setvar.exp: Likewise.
9544 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
9545
9546 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
9547 Pedro Alves <palves@redhat.com>
9548
9549 PR symtab/14466
9550 * gdb.base/vdso-warning.c: New file.
9551 * gdb.base/vdso-warning.exp: New file.
9552
9553 2014-10-02 Doug Evans <dje@google.com>
9554
9555 * gdb.base/structs.c (main): Don't run forever.
9556
9557 2014-10-02 Pedro Alves <palves@redhat.com>
9558
9559 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
9560 (top level) <stop threads 1, stop threads 2>: Use it.
9561
9562 2014-10-02 Pedro Alves <palves@redhat.com>
9563
9564 * gdb.threads/break-while-running.exp (test): Add new
9565 'update_thread_list' argument. Skip "info threads" if false.
9566 (top level): Add new 'update_thread_list' axis.
9567
9568 2014-10-02 Pedro Alves <palves@redhat.com>
9569
9570 PR breakpoints/17431
9571 * gdb.base/execl-update-breakpoints.c: New file.
9572 * gdb.base/execl-update-breakpoints.exp: New file.
9573
9574 2014-10-01 Pedro Alves <palves@redhat.com>
9575
9576 * gdb.base/breakpoint-in-ro-region.c: New file.
9577 * gdb.base/breakpoint-in-ro-region.exp: New file.
9578
9579 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
9580
9581 * gdb.mi/mi-exit-code.exp: New file.
9582 * gdb.mi/mi-exit-code.c: New file.
9583
9584 2014-09-30 Yao Qi <yao@codesourcery.com>
9585
9586 * lib/prelink-support.exp (build_executable_own_libs): Error if
9587 the target isn't native.
9588
9589 2014-09-30 Yao Qi <yao@codesourcery.com>
9590
9591 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
9592 false.
9593
9594 2014-09-22 Pedro Alves <palves@redhat.com>
9595
9596 * gdb.threads/break-while-running.exp: New file.
9597 * gdb.threads/break-while-running.c: New file.
9598
9599 2014-09-19 Yao Qi <yao@codesourcery.com>
9600
9601 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
9602 Invoke test. Restart GDB with --readnow and invoke test again.
9603
9604 2014-09-19 Yao Qi <yao@codesourcery.com>
9605
9606 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
9607 proc set_breakpoint_on_gcd_function. Invoke
9608 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
9609 invoke set_breakpoint_on_gcd_function again.
9610
9611 2014-09-18 Doug Evans <dje@google.com>
9612
9613 * gdb.dwarf2/symtab-producer.exp: New file.
9614
9615 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
9616
9617 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
9618 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
9619 * gdb.base/global-var-nested-by-dso.c: Likewise.
9620 * gdb.base/global-var-nested-by-dso.exp: Likewise.
9621
9622 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
9623 Pedro Alves <palves@redhat.com>
9624
9625 * gdb.base/watch-bitfields.exp: Pass string other than test file
9626 name to prepare_for_testing.
9627 (watch): New procedure.
9628 (expect_watchpoint): Use with_test_prefix.
9629 (top level): Factor out tests to ...
9630 (test_watch_location, test_regular_watch): ... these new
9631 procedures, and use with_test_prefix and gdb_continue_to_end.
9632
9633 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
9634
9635 PR breakpoints/12526
9636 * gdb.base/watch-bitfields.exp: New file.
9637 * gdb.base/watch-bitfields.c: New file.
9638
9639 2014-09-16 Pedro Alves <palves@redhat.com>
9640
9641 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
9642 software and hardware addresses, not software address against
9643 itself.
9644
9645 2014-09-16 Pedro Alves <palves@redhat.com>
9646
9647 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
9648 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
9649
9650 2014-09-16 Pedro Alves <palves@redhat.com>
9651
9652 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
9653 files.
9654 * gdb.base/a2-run.exp: Remove all code guarded by istarget
9655 "*-*-vxworks*" throughout.
9656 * gdb.base/break.exp: Likewise.
9657 * gdb.base/default.exp: Likewise.
9658 * gdb.base/scope.exp: Likewise.
9659 * gdb.base/sepdebug.exp: Likewise.
9660 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
9661 throughout.
9662 * gdb.base/run.c: Likewise.
9663 * gdb.base/sepdebug.c: Likewise.
9664 * gdb.hp/gdb.aCC/run.c: Likewise.
9665 * gdb.reverse/until-reverse.c: Likewise.
9666 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
9667
9668 2014-09-16 Yao Qi <yao@codesourcery.com>
9669
9670 * boards/local-remote-host-native.exp: New file.
9671
9672 2014-09-14 Doug Evans <xdje42@gmail.com>
9673
9674 * gdb.threads/queue-signal.c (thread_count): New variable.
9675 (thread_count_mutex, thread_count_condvar): New variables.
9676 (incr_thread_count, wait_all_threads_running): New functions.
9677 (main): Wait for all threads to be in their thread functions.
9678
9679 2014-09-13 Doug Evans <xdje42@gmail.com>
9680
9681 * gdb.threads/queue-signal.c: New file.
9682 * gdb.threads/queue-signal.exp: New file.
9683
9684 2014-09-13 Doug Evans <xdje42@gmail.com>
9685
9686 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
9687 be consistent with what default_gdb_init uses.
9688 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
9689 the plain text of the prompt. Add some logging printfs.
9690 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
9691
9692 2014-09-12 Pedro Alves <palves@redhat.com>
9693
9694 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
9695 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
9696 * gdb.arch/i386-size-overlap.exp: Likewise.
9697 * gdb.arch/i386-size.exp: Likewise.
9698 * gdb.arch/i386-unwind.exp: Likewise.
9699 * gdb.base/a2-run.exp: Likewise.
9700 * gdb.base/break.exp: Likewise.
9701 * gdb.base/charset.exp: Likewise.
9702 * gdb.base/chng-syms.exp: Likewise.
9703 * gdb.base/commands.exp: Likewise.
9704 * gdb.base/dbx.exp: Likewise.
9705 * gdb.base/find.exp: Likewise.
9706 * gdb.base/funcargs.exp: Likewise.
9707 * gdb.base/jit-simple.exp: Likewise.
9708 * gdb.base/reread.exp: Likewise.
9709 * gdb.base/sepdebug.exp: Likewise.
9710 * gdb.base/step-bt.exp: Likewise.
9711 * gdb.cp/mb-inline.exp: Likewise.
9712 * gdb.cp/mb-templates.exp: Likewise.
9713 * gdb.objc/basicclass.exp: Likewise.
9714 * gdb.threads/killed.exp: Likewise.
9715
9716 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9717
9718 PR tdep/17379
9719 * gdb.arch/powerpc-stackless.S: New file.
9720 * gdb.arch/powerpc-stackless.exp: New file.
9721
9722 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9723
9724 * gdb.base/attach.c: Include unistd.h.
9725 (main): Call alarm. Add label postloop.
9726 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
9727 gdb_breakpoint, gdb_continue_to_breakpoint.
9728 (test_command_line_attach_run): Kill ${testpid} in one exit path.
9729
9730 2014-09-11 Pedro Alves <palves@redhat.com>
9731
9732 PR gdb/17347
9733 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
9734 * gdb.base/attach.exp (test_command_line_attach_run): New
9735 procedure.
9736 (top level): Call it.
9737
9738 2014-09-11 Pedro Alves <palves@redhat.com>
9739
9740 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
9741 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
9742 (do_command_attach_tests): Use spawn_wait_for_attach.
9743 * gdb.base/solib-overlap.exp: Likewise.
9744 * gdb.multi/multi-attach.exp: Likewise.
9745 * gdb.python/py-prompt.exp: Likewise.
9746 * gdb.python/py-sync-interp.exp: Likewise.
9747 * gdb.server/ext-attach.exp: Likewise.
9748
9749 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
9750
9751 * gdb.fortran/array-element.exp: Remove unexpected "continue"
9752 command in testcase. Simplify testcase.
9753
9754 2014-09-10 Joel Brobecker <brobecker@adacore.com>
9755
9756 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
9757
9758 2014-09-10 Joel Brobecker <brobecker@adacore.com>
9759
9760 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
9761
9762 2014-09-10 Joel Brobecker <brobecker@adacore.com>
9763
9764 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
9765
9766 2014-09-10 Joel Brobecker <brobecker@adacore.com>
9767
9768 * gdb.dwarf2/dynarr-ptr.c: New file.
9769 * gdb.dwarf2/dynarr-ptr.exp: New file.
9770
9771 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9772
9773 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
9774 of 30 rather than hardcoding 120 for a slow test case. Take the
9775 `gdb,timeout' target setting into account for this calculation.
9776 Don't extend the timeout for the test cases that don't need it.
9777
9778 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9779
9780 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
9781 a factor of 2 for a slow test case. Take the `gdb,timeout'
9782 target setting into account for this calculation.
9783 * gdb.reverse/until-precsave.exp: Increase the timeout by
9784 a factor of 15 and 3 respectively rather than adding 120
9785 for a pair of slow test cases. Take the `gdb,timeout'
9786 target setting into account for this calculation.
9787
9788 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9789
9790 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
9791 timeout, don't pass one down to gdb_expect.
9792 (gdb_expect): Rework timeout selection.
9793
9794 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9795
9796 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
9797 exception on timeout.
9798 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
9799 (gdbserver_start_extended): Catch any `gdbserver_start' error
9800 exceptions.
9801 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
9802 * lib/mi-support.exp (mi_gdb_target_load): Catch any
9803 `gdbserver_gdb_load' error exceptions.
9804
9805 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9806
9807 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
9808 120 on waiting for the TCP socket to open.
9809
9810 2014-09-09 Doug Evans <xdje42@gmail.com>
9811
9812 * gdb.base/default.exp (show_conv_list): Add _caller_is,
9813 _caller_matches, _any_caller_is, _any_caller_matches.
9814
9815 2014-09-09 Doug Evans <xdje42@gmail.com>
9816
9817 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
9818
9819 2014-09-09 Yao Qi <yao@codesourcery.com>
9820
9821 * gdb.mi/mi-var-display.exp: Set print symbol off.
9822
9823 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
9824
9825 PR gdb/17035
9826 * gdb.base/commands.exp: Add tests to verify user-defined
9827 commands with empty bodies.
9828 * gdb.python/py-cmd.exp: Test that we don't show user-defined
9829 python commands in `show user command`.
9830 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
9831 scheme commands in `show user command`.
9832
9833 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9834
9835 PR python/17355
9836 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
9837 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
9838 * gdb.python/py-framefilter-invalidarg.exp: New file.
9839 * gdb.python/py-framefilter-invalidarg.py: New file.
9840
9841 2014-09-06 Doug Evans <xdje42@gmail.com>
9842
9843 PR 15276
9844 * gdb.python/py-caller-is.c: New file.
9845 * gdb.python/py-caller-is.exp: New file.
9846
9847 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
9848
9849 PR gdb/17235
9850 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
9851 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
9852
9853 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
9854
9855 PR fortran/17237
9856 * gdb.fortran/print-formatted.exp: New file.
9857 * gdb.fortran/print-formatted.f90: Likewise.
9858
9859 2014-09-03 Sasha Smundak <asmundak@google.com>
9860
9861 * gdb.python/py-frame.exp: Test Frame.read_register.
9862
9863 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
9864
9865 PR python/16699
9866 * gdb.python/py-completion.exp: New file.
9867 * gdb.python/py-completion.py: Likewise.
9868
9869 2014-08-28 Doug Evans <dje@google.com>
9870
9871 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
9872 eax,etc. are live with values set by gdb and thus the compiler can't
9873 use them.
9874 * gdb.arch/i386-pseudo.c (main): Ditto.
9875
9876 2014-08-27 Doug Evans <dje@google.com>
9877
9878 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
9879
9880 2014-08-25 Doug Evans <dje@google.com>
9881
9882 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
9883 (main): Ditto.
9884
9885 2014-08-25 Doug Evans <dje@google.com>
9886
9887 * gdb.threads/thread-execl.exp: #include <stdio.h>.
9888
9889 2014-08-24 Yao Qi <yao@codesourcery.com>
9890
9891 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
9892 symbol off.
9893 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
9894
9895 2014-08-22 Doug Evans <dje@google.com>
9896
9897 PR 17276
9898 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
9899 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
9900 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
9901
9902 2014-08-22 Yao Qi <yao@codesourcery.com>
9903
9904 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
9905 * gdb.python/py-finish-breakpoint2.exp: Likewise.
9906 * gdb.python/python.exp: Likewise. Use .py file on the host
9907 instead of the build.
9908
9909 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9910
9911 * gdb.threads/gcore-stale-thread.c: New file.
9912 * gdb.threads/gcore-stale-thread.exp: New file.
9913
9914 2014-08-21 Pedro Alves <palves@redhat.com>
9915
9916 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
9917 * gdb.base/gcore-relro-pie.exp: Likewise.
9918 * gdb.base/gcore-relro.exp: Likewise.
9919 * gdb.base/gcore.exp: Likewise.
9920 * gdb.base/print-symbol-loading.exp: Likewise.
9921 * gdb.threads/gcore-thread.exp: Likewise.
9922 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
9923
9924 2014-08-20 Pedro Alves <palves@redhat.com>
9925 Jan Kratochvil <jan.kratochvil@redhat.com>
9926
9927 * Makefile.in (EXTRA_RULES, CC): New variables, get from
9928 configure.
9929 (EXPECT): Handle READ1 being set.
9930 (all): Depend on EXTRA_RULES.
9931 (check-read1, expect-read1, read1.so, read1): New rules.
9932 * README (Testsuite Parameters): Document the READ1 make variable.
9933 (Race detection): New section.
9934 * configure: Regenerate.
9935 * configure.ac: If build==host==target, and running under a
9936 GNU/glibc system, add read1 to the extra Makefile rules.
9937 (EXTRA_RULES): AC_SUBST it.
9938 * lib/read1.c: New file.
9939
9940 2014-08-20 Joel Brobecker <brobecker@adacore.com>
9941
9942 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
9943 the handling of variables declared as a typedef to an array
9944 which a DW_AT_data_location attribute.
9945
9946 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
9947 Pedro Alves <palves@redhat.com>
9948
9949 PR symtab/14604
9950 PR symtab/14605
9951 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
9952 gdb_test.
9953
9954 2014-08-19 Pedro Alves <palves@redhat.com>
9955
9956 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
9957
9958 2014-08-19 Yao Qi <yao@codesourcery.com>
9959
9960 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
9961 right line.
9962
9963 2014-08-18 David Blaikie <dblaikie@gmail.com>
9964
9965 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
9966
9967 2014-08-18 Joel Brobecker <brobecker@adacore.com>
9968
9969 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
9970 attribute in array range.
9971
9972 2014-08-18 Joel Brobecker <brobecker@adacore.com>
9973
9974 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
9975
9976 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
9977
9978 PR c++/17132
9979 * gdb.cp/pr17132.cc: New file.
9980 * gdb.cp/pr17132.exp: New file.
9981
9982 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
9983
9984 * gdb.python/py-xmethods.py (A_getarrayind)
9985 (E_method_char_worker.__call__, E_method_int_worker.__call__):
9986 Use 'print' with function call syntax.
9987 (E_method_matcher.match): Fix tab vs space indentation mixup.
9988
9989 2014-08-15 Yao Qi <yao@codesourcery.com>
9990
9991 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
9992 false.
9993
9994 2014-08-15 Yao Qi <yao@codesourcery.com>
9995
9996 * gdb.cp/casts.exp: Set print symbol off.
9997 * gdb.cp/class2.exp: Likewise.
9998 * gdb.cp/overload.exp: Likewise.
9999 * gdb.cp/templates.exp: Likewise.
10000
10001 2014-08-11 Doug Evans <dje@google.com>
10002
10003 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
10004 (test_load_shlib): Update.
10005
10006 2014-08-09 Yao Qi <yao@codesourcery.com>
10007
10008 * gdb.base/display.exp: Invoke is_address_zero_readable.
10009 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
10010 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
10011 * gdb.base/hbreak-unmapped.exp: Return if
10012 is_address_zero_readable returns true.
10013 * gdb.base/signest.exp: Likewise.
10014 * gdb.base/signull.exp: Likewise.
10015 * gdb.base/sigbpt.exp: Likewise.
10016 * gdb.guile/scm-disasm.exp: Do the test if
10017 is_address_zero_readable returns false.
10018 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
10019 * gdb.python/py-arch.exp: Likewise.
10020 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
10021 * lib/gdb.exp (is_address_zero_readable): New proc.
10022
10023 2014-08-09 Yao Qi <yao@codesourcery.com>
10024
10025 PR testsuite/13443
10026 * gdb.mi/mi-var-display.exp: Make test messages unique.
10027
10028 2014-08-04 Tom Tromey <tromey@redhat.com>
10029
10030 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
10031 target 0".
10032
10033 2014-08-04 Tom Tromey <tromey@redhat.com>
10034
10035 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
10036 "target_resume".
10037
10038 2014-08-01 Joel Brobecker <brobecker@adacore.com>
10039
10040 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
10041 inner_vla_struct_object_size.
10042 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
10043 as xfail.
10044
10045 2014-07-30 Pedro Alves <palves@redhat.com>
10046
10047 * gdb.threads/signal-command-handle-nopass.exp (test): Add
10048 comment.
10049
10050 2014-07-29 Yao Qi <yao@codesourcery.com>
10051
10052 PR gdb/17206
10053 * gdb.base/until-nodebug.exp: New.
10054
10055 2014-07-28 Doug Evans <xdje42@gmail.com>
10056
10057 PR guile/17203
10058 * gdb.guile/scm-parameter.exp: Add tests for trying to create
10059 previously existing parameter, and previously ambiguously spelled
10060 parameter.
10061
10062 2014-07-28 Will Newton <will.newton@linaro.org>
10063
10064 * gdb.base/varargs.exp: Remove KFAILs for ARM.
10065
10066 2014-07-26 Ludovic Courtès <ludo@gnu.org>
10067 Doug Evans <xdje42@gmail.com>
10068
10069 PR guile/17146
10070 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
10071
10072 2014-07-25 Pedro Alves <palves@redhat.com>
10073
10074 * gdb.threads/signal-command-handle-nopass.c: New file.
10075 * gdb.threads/signal-command-handle-nopass.exp: New file.
10076 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
10077 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
10078 * gdb.threads/signal-delivered-right-thread.c: New file.
10079 * gdb.threads/signal-delivered-right-thread.exp: New file.
10080
10081 2014-07-25 Pedro Alves <palves@redhat.com>
10082
10083 * gdb.base/double-prompt-target-event-error.exp
10084 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
10085 match.
10086 (cancel_pagination_in_target_event): Rework double prompt
10087 detection.
10088 * gdb.base/paginate-after-ctrl-c-running.exp
10089 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
10090 <return>' match.
10091 * gdb.base/paginate-bg-execution.exp
10092 (test_bg_execution_pagination_return)
10093 (test_bg_execution_pagination_cancel): Remove '-notransfer
10094 <return>' matches.
10095 * gdb.base/paginate-execution-startup.exp
10096 (test_fg_execution_pagination_return)
10097 (test_fg_execution_pagination_cancel): Remove '-notransfer
10098 <return>' matches.
10099 * gdb.base/paginate-inferior-exit.exp
10100 (test_paginate_inferior_exited): Remove '-notransfer <return>'
10101 match.
10102 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
10103 * lib/gdb.exp (pagination_prompt): Run text through
10104 string_to_regexp.
10105 (gdb_test_multiple): Match $pagination_prompt instead of
10106 "<return>".
10107 (string_to_regexp): Move to lib/gdb-utils.exp.
10108
10109 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10110
10111 * gdb.arch/amd64-entry-value-paramref.S: New file.
10112 * gdb.arch/amd64-entry-value-paramref.cc: New file.
10113 * gdb.arch/amd64-entry-value-paramref.exp: New file.
10114 * gdb.arch/amd64-optimout-repeat.S: New file.
10115 * gdb.arch/amd64-optimout-repeat.c: New file.
10116 * gdb.arch/amd64-optimout-repeat.exp: New file.
10117
10118 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10119
10120 PR gdb/17170
10121 * gdb.base/statistics.exp: New file.
10122
10123 2014-07-17 Doug Evans <dje@google.com>
10124
10125 PR gdb/17170
10126 * gdb.base/maint.exp: Update testing of per-command stats.
10127
10128 2014-07-16 Pedro Alves <palves@redhat.com>
10129
10130 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
10131 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
10132 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
10133 (tfile_write_buf): New functions.
10134 (add_memory_block): Rewrite using the above.
10135 (adjust_function_address): New function.
10136 (FUNCTION_ADDRESS): New macro.
10137 (write_basic_trace_file): Remove short_x local, and use
10138 tfile_write_16. Change type of func_addr local to unsigned long
10139 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
10140 here. Cast argument of add_memory_block to char pointer.
10141 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
10142 (main): Remove parameters.
10143 * gdb.trace/tfile.exp: Remove nowarnings.
10144
10145 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
10146
10147 * gdb.base/debug-expr.exp: Test string evaluation with
10148 "debug expression" on.
10149
10150 2014-07-15 Pedro Alves <palves@redhat.com>
10151
10152 * gdb.base/reread.exp: Use clean_restart.
10153
10154 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
10155
10156 * gdb.arch/avr-flash-qualifer.c: New.
10157 * gdb.arch/avr-flash-qualifer.exp: New.
10158
10159 2014-07-14 Pedro Alves <palves@redhat.com>
10160
10161 * gdb.base/paginate-after-ctrl-c-running.c: New file.
10162 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
10163
10164 2014-07-14 Pedro Alves <palves@redhat.com>
10165
10166 * gdb.base/double-prompt-target-event-error.c: New file.
10167 * gdb.base/double-prompt-target-event-error.exp: New file.
10168
10169 2014-07-14 Pedro Alves <palves@redhat.com>
10170
10171 PR gdb/17072
10172 * gdb.base/paginate-inferior-exit.c: New file.
10173 * gdb.base/paginate-inferior-exit.exp: New file.
10174
10175 2014-07-14 Pedro Alves <palves@redhat.com>
10176
10177 PR gdb/17072
10178 * gdb.base/paginate-bg-execution.c: New file.
10179 * gdb.base/paginate-bg-execution.exp: New file.
10180
10181 2014-07-14 Pedro Alves <palves@redhat.com>
10182
10183 PR gdb/17072
10184 * gdb.base/paginate-execution-startup.c: New file.
10185 * gdb.base/paginate-execution-startup.exp: New file.
10186 * lib/gdb.exp (pagination_prompt): New global.
10187 (default_gdb_spawn): New procedure, factored out from
10188 default_gdb_spawn.
10189 (default_gdb_start): Adjust to call default_gdb_spawn.
10190 (gdb_spawn): New procedure.
10191
10192 2014-07-14 Pedro Alves <palves@redhat.com>
10193
10194 * lib/gdb.exp (gdb_assert): New procedure.
10195 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
10196
10197 2014-07-14 Pedro Alves <palves@redhat.com>
10198
10199 * gdb.base/execution-termios.c: New file.
10200 * gdb.base/execution-termios.exp: New file.
10201
10202 2014-07-14 Tom Tromey <tromey@redhat.com>
10203
10204 * gdb.cp/vla-cxx.cc: New file.
10205 * gdb.cp/vla-cxx.exp: New file.
10206
10207 2014-07-14 Tom Tromey <tromey@redhat.com>
10208
10209 * gdb.reverse/rerun-prec.c: New file.
10210 * gdb.reverse/rerun-prec.exp: New file.
10211
10212 2014-07-12 Maciej W. Rozycki <macro@mips.com>
10213 Maciej W. Rozycki <macro@codesourcery.com>
10214
10215 * lib/gdb-utils.exp: New file.
10216 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
10217 inline `gdb_init_command' processing.
10218 (gdb_start_cmd): Likewise.
10219 * lib/mi-support.exp (mi_run_cmd): Likewise.
10220 * README: Document `gdb_init_command' and `gdb_init_commands'.
10221
10222 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10223
10224 Fix false FAIL running under a very long directory name.
10225 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
10226 and "set print elements 10000". Twice.
10227
10228 2014-07-11 Yao Qi <yao@codesourcery.com>
10229
10230 * gdb.base/exprs.exp: "set print symbol off".
10231
10232 2014-07-11 Pedro Alves <palves@redhat.com>
10233
10234 * gdb.threads/kill.c: New file.
10235 * gdb.threads/kill.exp: New file.
10236
10237 2014-07-10 Yao Qi <yao@codesourcery.com>
10238
10239 * gdb.trace/tfile.c (write_basic_trace_file)
10240 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
10241 address written to trace file.
10242
10243 2014-07-09 Pedro Alves <palves@redhat.com>
10244
10245 * gdb.base/attach-wait-input.exp: New file.
10246 * gdb.base/attach-wait-input.c: New file.
10247
10248 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
10249
10250 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
10251 setting up test structures.
10252 (main): Call new test function.
10253 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
10254 test function, continue into test function and walk test
10255 structures.
10256
10257 2014-07-02 Yao Qi <yao@codesourcery.com>
10258
10259 * gdb.trace/entry-values.c: Define labels 'foo_start' and
10260 'bar_start' at the beginning of functions 'foo' and 'bar'
10261 respectively.
10262 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
10263 instead of 'foo' and 'bar'.
10264
10265 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
10266
10267 * gdb.btrace/segv.exp: New.
10268 * gdb.btrace/segv.c: New.
10269
10270 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
10271
10272 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
10273 instruction.
10274
10275 2014-06-30 Mark Wielaard <mjw@redhat.com>
10276
10277 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
10278 vulture, vilify, villar): New volatile array constants.
10279 (vindictive, vegetation): New const volatile array constants.
10280 * gdb.base/volatile.exp: Test volatile and const volatile array
10281 types.
10282
10283 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
10284
10285 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
10286 target lacks support for awatch, rwatch, or hbreak.
10287
10288 2014-06-27 Yao Qi <yao@codesourcery.com>
10289
10290 * gdb.multi/dummy-frame-restore.exp: New.
10291 * gdb.multi/dummy-frame-restore.c: New.
10292
10293 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
10294
10295 * gdb.btrace/gcore.exp: New.
10296
10297 2014-06-23 Pedro Alves <palves@redhat.com>
10298
10299 * gdb.base/watchpoint-reuse-slot.c: New file.
10300 * gdb.base/watchpoint-reuse-slot.exp: New file.
10301
10302 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
10303
10304 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
10305 progspace's filename in 'info', 'enable' and 'disable' command
10306 tests.
10307
10308 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
10309
10310 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
10311 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
10312 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
10313
10314 2014-06-20 Gary Benson <gbenson@redhat.com>
10315
10316 * gdb.arch/i386-avx.exp: Fix include file location.
10317 * gdb.arch/i386-sse.exp: Likewise.
10318
10319 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
10320
10321 * gdb.dlang/expression.exp: New file.
10322
10323 2014-06-19 Pedro Alves <palves@redhat.com>
10324
10325 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
10326 out from ...
10327 (top level): ... here. Iterate running tests under different
10328 scheduler-locking settings.
10329
10330 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
10331
10332 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
10333 to DW_FORM_addr and use non-zero addresses.
10334
10335 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
10336
10337 PR gdb/17017
10338 * gdb.python/py-xmethods.cc: Add global function call counters and
10339 increment them in their respective functions. Remove "cout"
10340 statements.
10341 * gdb.python/py-xmethods.exp: Make tests check the global function
10342 call counters instead of depending on inferior IO.
10343
10344 2014-06-18 Don Breazeal <donb@codesourcery.com>
10345
10346 * gdb.base/foll-fork.exp (default_fork_parent_follow):
10347 Deleted procedure.
10348 (explicit_fork_parent_follow): Deleted procedure.
10349 (explicit_fork_child_follow): Deleted procedure.
10350 (test_follow_fork): New procedure.
10351 (do_fork_tests): Replace calls to deleted procedures with
10352 calls to test_follow_fork and reset GDB for subsequent
10353 procedure calls.
10354
10355 2014-06-17 Yao Qi <yao@codesourcery.com>
10356
10357 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
10358 CP1252.
10359
10360 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
10361
10362 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
10363 Initialize ptr and S explicitly.
10364 (skip_type_update_when_not_use_rtti_test): Likewise.
10365
10366 2014-06-16 Keith Seitz <keiths@redhat.com>
10367
10368 PR mi/15863
10369 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
10370 the inferior is started.
10371
10372 2014-06-16 Pedro Alves <palves@redhat.com>
10373
10374 * gdb.base/break-main-file-remove-fail.c: New file.
10375 * gdb.base/break-main-file-remove-fail.exp: New file.
10376 * gdb.base/break-unload-file.exp: Use build_executable instead of
10377 prepare_for_testing.
10378 (test_break): New parameter "initial_load". Handle it.
10379 (top level): Add initial_load cmdline/file axis.
10380
10381 2014-06-12 Tom Tromey <tromey@redhat.com>
10382
10383 * gdb.base/completion.exp: Don't use directory name in test.
10384
10385 2014-06-09 Gary Benson <gbenson@redhat.com>
10386
10387 * gdb.base/sigall.c [Functions to send signals]: Reorder to
10388 separate the always-available ANSI-standard signals from the
10389 signals that require checking.
10390 (main): Likewise.
10391 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
10392 Likewise.
10393 (main): Likewise.
10394
10395 2014-06-07 Keith Seitz <keiths@redhat.com>
10396
10397 Revert:
10398 PR c++/16253
10399 * gdb.cp/var-tag.cc: New file.
10400 * gdb.cp/var-tag.exp: New file.
10401 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
10402 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
10403 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
10404 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
10405
10406 2014-06-06 Doug Evans <xdje42@gmail.com>
10407
10408 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
10409
10410 2014-06-06 Pedro Alves <palves@redhat.com>
10411
10412 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
10413 in target debug output instead of looking at RSP packets,
10414 disabling the test on any target that uses hardware stepping.
10415 Update comments.
10416
10417 2014-06-06 Pedro Alves <palves@redhat.com>
10418
10419 * gdb.base/break-unload-file.exp: Fix typo.
10420
10421 2014-06-06 Yao Qi <yao@codesourcery.com>
10422
10423 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
10424 from "jit_function" to "^jit_function".
10425
10426 2014-06-06 Yao Qi <yao@codesourcery.com>
10427
10428 * gdb.base/async.c (foo): Add one statement.
10429 * gdb.base/async.exp: Get the next instruction address and
10430 match the output of "nexti" by instruction address. Match
10431 the hex address in the output of "finish".
10432
10433 2014-06-06 Gary Benson <gbenson@redhat.com>
10434
10435 * gdb.base/call-signals.c: Remove preprocessor conditionals
10436 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
10437 SIGSEGV and SIGTERM.
10438 * gdb.base/sigall.c: Likewise.
10439 * gdb.base/unwindonsignal.c: Likewise.
10440 * gdb.reverse/sigall-reverse.c: Likewise.
10441
10442 2014-06-06 Yao Qi <yao@codesourcery.com>
10443
10444 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
10445 readable, skip the test.
10446
10447 2014-06-06 Yao Qi <yao@codesourcery.com>
10448
10449 * gdb.threads/staticthreads.c (thread_function): Move the line
10450 setting breakpoint on forward.
10451 * gdb.threads/staticthreads.exp: Update comments.
10452
10453 2014-06-05 Ludovic Courtès <ludo@gnu.org>
10454
10455 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
10456 "history-append! type error".
10457
10458 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
10459
10460 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
10461 erroneous dprintf expected input.
10462
10463 2014-06-04 Doug Evans <xdje42@gmail.com>
10464
10465 * gdb.guile/scm-generics.exp: Delete.
10466
10467 2014-06-04 Doug Evans <xdje42@gmail.com>
10468
10469 * gdb.guile/scm-breakpoint.exp: Update.
10470 Add tests for breakpoint registration.
10471
10472 2014-06-04 Tom Tromey <tromey@redhat.com>
10473
10474 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
10475 VLA-in-union.
10476 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
10477 inner_vla_struct, vla_union types. Initialize objects of those
10478 types and compute their sizes.
10479
10480 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
10481 Hui Zhu <hui@codesourcery.com>
10482
10483 * gdb.base/fileio.exp: Add test for shell not available as well as
10484 available.
10485 * gdb.base/fileio.c (test_system): Check for shell twice.
10486
10487 2014-06-04 Yao Qi <yao@codesourcery.com>
10488
10489 * gdb.base/auto-connect-native-target.exp: Remove redundant
10490 space from the regexp pattern.
10491
10492 2014-06-04 Yao Qi <yao@codesourcery.com>
10493
10494 * gdb.base/default.exp: Replace "child" with "native" in
10495 regexp pattern.
10496
10497 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
10498
10499 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
10500 * gdb.python/py-xmethods.exp: New tests to test xmethods.
10501 * gdb.python/py-xmethods.py: Python script supporting the
10502 new testcase and tests.
10503
10504 2014-06-03 Joel Brobecker <brobecker@adacore.com>
10505 Pedro Alves <palves@redhat.com>
10506
10507 PR breakpoints/17000
10508 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
10509 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
10510
10511 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
10512
10513 * gdb.base/subst.exp: Add tests to verify partial path matching
10514 output.
10515
10516 2014-06-03 Pedro Alves <palves@redhat.com>
10517
10518 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
10519 target that doesn't use software single-stepping.
10520
10521 2014-06-03 Pedro Alves <palves@redhat.com>
10522
10523 PR breakpoints/17000
10524 * gdb.base/sss-bp-on-user-bp-2.c: New file.
10525 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
10526
10527 2014-06-02 Doug Evans <xdje42@gmail.com>
10528
10529 * gdb.guile/scm-parameter.exp: New file.
10530
10531 2014-06-02 Doug Evans <xdje42@gmail.com>
10532
10533 * gdb.guile/scm-cmd.c: New file.
10534 * gdb.guile/scm-cmd.exp: New file.
10535
10536 2014-06-02 Doug Evans <xdje42@gmail.com>
10537
10538 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
10539 pretty-printer lookup.
10540 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
10541 (make-pp_s-printer): Call it.
10542 (make-pretty-printer-from-dict): New function.
10543 (lookup-pretty-printer-maker-from-dict): New function.
10544 (*pretty-printer*): Simplify.
10545 (make-objfile-pp_s-printer): New function.
10546 (install-objfile-pretty-printers!): New function.
10547 (make-progspace-pp_s-printer): New function.
10548 (install-progspace-pretty-printers!): New function.
10549 * gdb.guile/scm-progspace.c: New file.
10550 * gdb.guile/scm-progspace.exp: New file.
10551
10552 2014-06-02 Pedro Alves <palves@redhat.com>
10553
10554 * gdb.base/dprintf-bp-same-addr.c: New file.
10555 * gdb.base/dprintf-bp-same-addr.exp: New file.
10556
10557 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
10558
10559 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
10560 * gdb.arch/powerpc-power.s: Likewise.
10561
10562 2014-06-02 Joel Brobecker <brobecker@adacore.com>
10563
10564 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
10565
10566 2014-06-01 Yao Qi <yao@codesourcery.com>
10567
10568 * gdb.base/watchpoint.exp (test_watch_location): Check null
10569 pointer can be dereferenced. If not, do the test, otherwise
10570 skip it.
10571
10572 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
10573
10574 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
10575 results.
10576 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
10577
10578 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
10579
10580 * gdb.arch/amd64-invalid-stack-middle.S: New file.
10581 * gdb.arch/amd64-invalid-stack-middle.c: New file.
10582 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
10583 * gdb.arch/amd64-invalid-stack-top.c: New file.
10584 * gdb.arch/amd64-invalid-stack-top.exp: New file.
10585
10586 2014-05-30 Pedro Alves <palves@redhat.com>
10587
10588 PR breakpoints/17000
10589 * gdb.base/sss-bp-on-user-bp.c: New file.
10590 * gdb.base/sss-bp-on-user-bp.exp: New file.
10591
10592 2014-05-30 David Blaikie <dblaikie@gmail.com>
10593
10594 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
10595 gnu_inline semantics via attribute.
10596 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
10597 source explicitly specifies the required semantics.
10598
10599 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
10600
10601 * gdb.reverse/sigall-reverse.exp: Fix a typo.
10602
10603 2014-05-29 Pedro Alves <palves@redhat.com>
10604 Tom Tromey <tromey@redhat.com>
10605
10606 * gdb.base/async-shell.exp: Don't enable target-async.
10607 * gdb.base/async.exp
10608 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
10609 parameter. Adjust.
10610 (top level): Don't test with "target-async".
10611 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
10612 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
10613 * gdb.base/inferior-died.exp: Don't enable target-async.
10614 * gdb.base/interrupt-noterm.exp: Likewise.
10615 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
10616 * gdb.mi/mi-nonstop-exit.exp: Likewise.
10617 * gdb.mi/mi-nonstop.exp: Likewise.
10618 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
10619 * gdb.mi/mi-nsintrall.exp: Likewise.
10620 * gdb.mi/mi-nsmoribund.exp: Likewise.
10621 * gdb.mi/mi-nsthrexec.exp: Likewise.
10622 * gdb.mi/mi-watch-nonstop.exp: Likewise.
10623 * gdb.multi/watchpoint-multi.exp: Adjust comment.
10624 * gdb.python/py-evsignal.exp: Don't enable target-async.
10625 * gdb.python/py-evthreads.exp: Likewise.
10626 * gdb.python/py-prompt.exp: Likewise.
10627 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
10628 * gdb.server/solib-list.exp: Don't enable target-async.
10629 * gdb.threads/thread-specific-bp.exp: Likewise.
10630 * lib/mi-support.exp: Adjust to use mi-async.
10631
10632 2014-05-29 Pedro Alves <palves@redhat.com>
10633
10634 PR gdb/13860
10635 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
10636 reason, even in sync mode.
10637
10638 2014-05-29 Pedro Alves <palves@redhat.com>
10639 Hui Zhu <hui@codesourcery.com>
10640
10641 PR PR15693
10642 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
10643 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
10644 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
10645 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
10646
10647 2014-05-28 Joel Brobecker <brobecker@adacore.com>
10648
10649 * config/monitor.exp (gdb_target_monitor): Replace use of
10650 "set remotebaud" by "set serial baud".
10651
10652 2014-05-26 Andy Wingo <wingo@igalia.com>
10653
10654 * gdb.guile/scm-breakpoint.exp:
10655 * gdb.guile/scm-gsmob.exp: Update to use plain old object
10656 properties instead of gdb-object-properties.
10657
10658 2014-05-26 Yao Qi <yao@codesourcery.com>
10659
10660 * gdb.server/no-thread-db.exp: Specify source file name
10661 explicitly when setting a breakpoint.
10662
10663 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
10664
10665 * gdb.btrace/vdso.c: New.
10666 * gdb.btrace/vdso.exp: New.
10667
10668 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
10669
10670 * gdb.base/gcore.exp (capture_command_output): Move ...
10671 * lib/gdb.exp (capture_command_output): ... here.
10672
10673 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
10674
10675 * gdb.btrace/data.exp: Test memory access during btrace replay.
10676
10677 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
10678
10679 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
10680
10681 2014-05-21 Pedro Alves <palves@redhat.com>
10682
10683 PR gdb/13860
10684 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
10685 (top level): Test that output related to execution commands is
10686 sent to the console with CLI commands, but not with MI commands.
10687 Test that breakpoint events are always mirrored to the console.
10688 Also expect the new source line to be output after a "next" in
10689 async mode too. Make it a pass/fail test.
10690 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
10691 output.
10692 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
10693
10694 2014-05-21 Pedro Alves <palves@redhat.com>
10695
10696 * gdb.base/list.exp (build_pattern, test_list): New procedures.
10697 Use them to test variations of "list" after reaching a breakpoint.
10698 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
10699 Test "list" with listsize 10 after reaching a breakpoint.
10700 * gdb.python/python.exp (decode_line current location line
10701 number): Adjust expected line number.
10702
10703 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
10704
10705 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
10706 behavior for $args, pass it directly to "run".
10707
10708 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
10709
10710 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
10711 30000 to 65536.
10712
10713 2014-05-21 Pedro Alves <palves@redhat.com>
10714
10715 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
10716 auto-connect-native-target off".
10717 * gdb.base/auto-connect-native-target.c: New file.
10718 * gdb.base/auto-connect-native-target.exp: New file.
10719
10720 2014-05-21 Pedro Alves <palves@redhat.com>
10721
10722 * gdb.base/default.exp: Test "target native" instead of "target
10723 child".
10724
10725 2014-05-21 Mark Wielaard <mjw@redhat.com>
10726
10727 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
10728
10729 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
10730
10731 Fix TLS access for -static -pthread.
10732 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
10733 <HAVE_TLS> (thread_function, main): Initialize it.
10734 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
10735 Add clean_restart.
10736 <$have_tls != "">: Check TLSVAR.
10737
10738 2014-05-21 Pedro Alves <palves@redhat.com>
10739
10740 * gdb.base/dcache-line-read-error.c: New.
10741 * gdb.base/dcache-line-read-error.exp: New.
10742
10743 2014-05-20 Pedro Alves <palves@redhat.com>
10744
10745 * gdb.base/compare-sections.c: New file.
10746 * gdb.base/compare-sections.exp: New file.
10747
10748 2014-05-20 Pedro Alves <palves@redhat.com>
10749
10750 * gdb.base/break-idempotent.c: New file.
10751 * gdb.base/break-idempotent.exp: New file.
10752
10753 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
10754
10755 * gdb.btrace/nohist.exp: New.
10756
10757 2014-05-20 Yao Qi <yao@codesourcery.com>
10758
10759 * lib/gdb.exp (gdb_init): Set timeout if test file is under
10760 gdb.reverse directory and gdb_reverse_timeout exists in board
10761 setting.
10762 * README: Document gdb_reverse_timeout.
10763
10764 2014-05-20 Yao Qi <yao@codesourcery.com>
10765
10766 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
10767 'test_file_name'. Treat args as a string instead of a list.
10768 (gdb_init): Rename argument 'args' by 'test_file_name'.
10769
10770 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
10771
10772 * gdb.arch/powerpc-power.exp: New file.
10773 * gdb.arch/powerpc-power.s: New file.
10774
10775 2014-05-16 Doug Evans <dje@google.com>
10776
10777 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
10778 * gdb.base/completion.exp: Check that all expected files exist
10779 before doing file completion.
10780
10781 2014-05-16 Doug Evans <dje@google.com>
10782
10783 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
10784 Update.
10785 (do_syscall_tests_without_xml): Update.
10786
10787 2014-05-16 Pedro Alves <palves@redhat.com>
10788
10789 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
10790 instead of "unknown output after running".
10791
10792 2014-05-16 Yao Qi <yao@codesourcery.com>
10793
10794 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
10795 file1.txt from host at the end.
10796 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
10797
10798 2014-05-15 Doug Evans <dje@google.com>
10799
10800 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
10801 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
10802 loading file. Add test for TU lookup.
10803
10804 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
10805
10806 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
10807 calling "-exec-arguments" or "set args" before running the
10808 inferior.
10809
10810 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
10811
10812 * lib/mi-support.exp (mi_expect_stop): Expect message for
10813 inferiors that exit with non-zero exit code.
10814
10815 2014-05-14 Yao Qi <yao@codesourcery.com>
10816
10817 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
10818 match absolute path on remote host.
10819 (test_file_list_exec_source_files): Remove "/" from the
10820 pattern.
10821
10822 2014-05-14 Yao Qi <yao@codesourcery.com>
10823
10824 * boards/local-remote-host-notty.exp (${board}_file): New
10825 proc.
10826
10827 2014-05-07 Kyle McMartin <kyle@redhat.com>
10828
10829 Pushed by Joel Brobecker <brobecker@adacore.com>.
10830 * gdb.arch/aarch64-atomic-inst.c: New file.
10831 * gdb.arch/aarch64-atomic-inst.exp: New file.
10832
10833 2014-05-07 Yao Qi <yao@codesourcery.com>
10834
10835 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
10836 in current context" too.
10837
10838 2014-05-05 Keith Seitz <keiths@redhat.com>
10839
10840 * gdb.linespec/ls-dollar.exp: Add test for linespec
10841 file:convenience_variable.
10842
10843 2014-05-05 Yao Qi <yao@codesourcery.com>
10844
10845 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
10846 traceframes into tfile and ctf trace files. Read data from
10847 trace file and test collected data.
10848 (gdb_collect_locals_test): Likewise.
10849 (gdb_unavailable_registers_test): Likewise.
10850 (gdb_unavailable_floats): Likewise.
10851 (gdb_collect_globals_test): Likewise.
10852 (top-level): Append "ctf" to trace_file_targets if GDB
10853 supports.
10854
10855 2014-05-05 Yao Qi <yao@codesourcery.com>
10856
10857 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
10858 code to ...
10859 (gdb_collect_args_test_1): ... it. New proc.
10860 (gdb_collect_locals_test): Move some code to ...
10861 (gdb_collect_locals_test_1): ... it. New proc.
10862 (gdb_unavailable_registers_test): Move some code to ...
10863 (gdb_unavailable_registers_test_1): ... it. New proc.
10864 (gdb_unavailable_floats): Move some code to ...
10865 (gdb_unavailable_floats_1): ... it. New proc.
10866
10867 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
10868
10869 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
10870 probes to test for bitness recognition.
10871 * gdb.arch/amd64-stap-optional-prefix.exp
10872 (test_probe_value_without_reg): New procedure.
10873 Add code to test for different kinds of bitness.
10874
10875 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
10876
10877 PR breakpoints/16889
10878 * gdb.arch/amd64-stap-optional-prefix.S: New file.
10879 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
10880
10881 2014-05-01 Pedro Alves <palves@redhat.com>
10882
10883 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
10884 gdb_file_cmd if no file is specified.
10885 * boards/native-extended-gdbserver.exp (gdb_load): Use the
10886 last_loaded_file to set the remote exec-file.
10887
10888 2014-05-01 Pedro Alves <palves@redhat.com>
10889
10890 * boards/local-remote-host.exp: New file.
10891
10892 2014-05-01 Pedro Alves <palves@redhat.com>
10893
10894 * boards/local-remote-host.exp: Rename to ...
10895 * boards/local-remote-host-notty.exp: ... this.
10896
10897 2014-04-28 Joel Brobecker <brobecker@adacore.com>
10898
10899 * gdb.ada/dyn_arrayidx: New testcase.
10900
10901 2014-04-26 Yao Qi <yao@codesourcery.com>
10902
10903 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
10904 and compute the length of function main. Save it in
10905 $main_length.
10906 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
10907 (top-level): Use gdb_compile to compile objects into
10908 executable and restart GDB. Remove invocation to
10909 prepare_for_testing.
10910
10911 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
10912 Pedro Alves <palves@redhat.com>
10913
10914 PR server/16255
10915 * gdb.multi/multi-attach.c: New file.
10916 * gdb.multi/multi-attach.exp: New file.
10917
10918 2014-04-25 Pedro Alves <palves@redhat.com>
10919
10920 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
10921 user.
10922 (top level): Test that "set remote conditional-breakpoints-packet
10923 off" works as intended.
10924 * gdb.base/dprintf.exp: Test that "set remote
10925 breakpoint-commands-packet off" works as intended.
10926 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
10927 New function.
10928 (top level): Call it.
10929 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
10930 remote fast-tracepoints-packet off" works as intended.
10931 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
10932 * lib/gdb.exp (gdb_is_target_remote): ... here.
10933
10934 2014-04-24 David Blaikie <dblaikie@gmail.com>
10935
10936 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
10937 ensure clang would not discard them.
10938 * gdb.base/gdbvars.c: Ditto.
10939 * gdb.base/memattr.c: Ditto.
10940 * gdb.base/whatis.c: Ditto.
10941 * gdb.python/py-prettyprint.c: Ditto.
10942 * gdb.trace/actions.c: Ditto.
10943 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
10944 ensure clang would not discard it.
10945
10946 2014-04-24 David Blaikie <dblaikie@gmail.com>
10947
10948 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
10949 clang to emit the full definition of type required by the test
10950 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
10951
10952 2014-04-24 David Blaikie <dblaikie@gmail.com>
10953
10954 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
10955 coax Clang into emitting the definition of the type.
10956 * gdb.cp/pr10728-x.h (y): Ditto.
10957 * gdb.cp/pr10728-y.cc (y): Ditto.
10958
10959 2014-04-24 David Blaikie <dblaikie@gmail.com>
10960
10961 * gdb.base/label.exp: XFAIL label related tests under Clang.
10962 * gdb.cp/cplabel.exp: Ditto.
10963 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
10964 under Clang those using labels.
10965
10966 2014-04-25 Yao Qi <yao@codesourcery.com>
10967
10968 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
10969 double_label.
10970 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
10971 partial_label and double_label.
10972
10973 2014-04-24 David Blaikie <dblaikie@gmail.com>
10974
10975 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
10976
10977 2014-04-24 David Blaikie <dblaikie@gmail.com>
10978
10979 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
10980 of the function to work across GCC and Clang.
10981 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
10982 pointer types (const void ** const V void **).
10983
10984 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
10985 Walfred Tedeschi <walfred.tedeschi@intel.com>
10986
10987 * Makefile.in (EXECUTABLES): Added i386-avx512.
10988 * gdb.arch/i386-avx512.c: New file.
10989 * gdb.arch/i386-avx512.exp: Likewise.
10990
10991 2014-04-23 Keith Seitz <keiths@redhat.com>
10992
10993 * lib/mi-support.exp (mi_list_breakpoints): Delete.
10994 (mi_make_breakpoint_table): New procedure.
10995 (mi_create_breakpoint): Use mi_make_breakpoint
10996 and return the result.
10997 (mi_make_breakpoint): New procedure.
10998 (mi_build_kv_pairs): New procedure.
10999
11000 * gdb.mi/mi-break.exp: Remove unused globals,
11001 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
11002 All callers updated.
11003 * gdb.mi/mi-dprintf.exp: Use variable to track command
11004 number.
11005 Update all callers of mi_create_breakpoint and use
11006 mi_make_breakpoint_table.
11007 Remove any unused global variables.
11008 * gdb.mi/mi-nonstop.exp: Likewise.
11009 * gdb.mi/mi-nsintrall.exp: Likewise.
11010 * gdb.mi/mi-nsmoribund.exp: Likewise.
11011 * gdb.mi/mi-nsthrexec.exp: Likewise.
11012 * gdb.mi/mi-reverse.exp: Likewise.
11013 * gdb.mi/mi-simplerun.exp: Likewise.
11014 * gdb.mi/mi-stepn.exp: Likewise.
11015 * gdb.mi/mi-syn-frame.exp: Likewise.
11016 * gdb.mi/mi-until.exp: Likewise.
11017 * gdb.mi/mi-var-cp.exp: Likewise.
11018 * gdb.mi/mi-var-display.exp: Likewise.
11019 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
11020 * gdb.mi/mi2-var-child.exp: Likewise.
11021 * gdb.mi/mi-vla-c99.exp: Likewise.
11022 * lib/mi-support.exp: Likewise.
11023
11024 From Ian Lance Taylor <iant@cygnus.com>:
11025 * lib/gdb.exp (parse_args): New procedure.
11026
11027 2014-04-23 Pedro Alves <palves@redhat.com>
11028
11029 * gdb.base/break-unload-file.c: New file.
11030 * gdb.base/break-unload-file.exp: New file.
11031 * gdb.base/sym-file-lib.c (baz): New function.
11032 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
11033 field.
11034 (load): Store the segment's mapped size.
11035 (unload): New function.
11036 (unload_shlib): New function.
11037 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
11038 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
11039 set a breakpoint at baz, and call it.
11040 * gdb.base/sym-file.exp: New tests for stale breakpoint
11041 instructions.
11042
11043 2014-04-23 Pedro Alves <palves@redhat.com>
11044
11045 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
11046 * gdb.base/hbreak-in-shr-unsupported.c: New file.
11047 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
11048 * gdb.base/hbreak-unmapped.c: New file.
11049 * gdb.base/hbreak-unmapped.exp: New file.
11050 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
11051 * lib/gdb.exp (gdb_is_target_remote): ... here.
11052
11053 2014-04-22 Pedro Alves <palves@redhat.com>
11054
11055 * gdb.base/consecutive-step-over.c: New file.
11056 * gdb.base/consecutive-step-over.exp: New file.
11057
11058 2014-04-22 Pedro Alves <palves@redhat.com>
11059
11060 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
11061 instead of send_gdb/gdb_expect.
11062
11063 2014-04-22 Yao Qi <yao@codesourcery.com>
11064
11065 * lib/trace-support.exp (generate_tracefile): New procedure.
11066 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
11067 return 0.
11068 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
11069 if generate_tracefile returns 1.
11070
11071 2014-04-18 Tom Tromey <palves@redhat.com>
11072 Pedro alves <tromey@redhat.com>
11073
11074 PR backtrace/15558
11075 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
11076 with a backtrace limit.
11077 * gdb.python/py-frame-inline.exp: Test running to an inline
11078 function with a backtrace limit, and printing the newest frame.
11079 * gdb.python/py-frame-inline.c (main): Call f.
11080
11081 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
11082
11083 * gdb.java/jnpe.exp: Drop srcdir from untested path.
11084
11085 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
11086
11087 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
11088 Drop prefix from unsupported source file path.
11089
11090 2014-04-17 Yao Qi <yao@codesourcery.com>
11091
11092 * lib/gdb.exp (with_target_charset): New proc.
11093 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
11094 with_target_charset.
11095 (test_print_strings): Likewise.
11096 (test_repeat_bytes): Likewise.
11097 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
11098 for some tests.
11099
11100 2014-04-16 Keith Seitz <keiths@redhat.com>
11101
11102 PR gdb/15827
11103 * gdb.dwarf2/corrupt.c: New file.
11104 * gdb.dwarf2/corrupt.exp: New file.
11105
11106 2014-04-16 Keith Seitz <keiths@redhat.com>
11107
11108 PR c++/16597
11109 * gdb.cp/namelessclass.cc: New file.
11110 * gdb.cp/namelessclass.exp: New file.
11111 * gdb.cp/namelessclass.S: New file.
11112
11113 2014-04-16 Doug Evans <dje@google.com>
11114
11115 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
11116 Add comment.
11117 (gdbserver_default_get_comm_port): New function.
11118 (gdbserver_start): Check if board file provided
11119 "gdbserver,get_comm_port" and use it if so.
11120 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
11121 (gdb,socketport): Set to "stdio".
11122 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
11123 (stdio_gdbserver_template): Delete.
11124 (${board}_get_remote_address): Update.
11125 (${board}_build_remote_cmd): Delete.
11126 (${board}_get_comm_port): New function.
11127 (${board}_spawn): Update.
11128 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
11129 Delete.
11130 (${board}_get_remote_address): Update.
11131 (${board}_get_comm_port): New function.
11132
11133 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
11134
11135 * gdb.base/memattr.exp: Improve regexps to handle memory regions
11136 appearing in any order.
11137
11138 2014-04-15 Doug Evans <dje@google.com>
11139
11140 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
11141 uninitialized value of "description".
11142
11143 2014-04-15 Keith Seitz <keiths@redhat.com>
11144
11145 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
11146 Remove unused globals.
11147 (test_running_the_program): Likewise.
11148 (test_controlled_execution): Likewise.
11149 (test_controlling_breakpoints): Likewise.
11150 (test_program_termination): Likewise.
11151
11152 2014-04-15 Keith Seitz <keiths@redhat.com>
11153
11154 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
11155 unused globals.
11156 (test_rbreak_creation_and_listing): Likewise.
11157 (test_ignore_count): Likewise.
11158 (test_error): Likewise.
11159
11160 2014-04-15 Pedro Alves <palves@redhat.com>
11161
11162 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
11163 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
11164 sym-file-loader.c.
11165 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
11166 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
11167 to sym-file-loader.c.
11168 (struct library): Forward declare.
11169 (load_shlib, lookup_function): Change prototypes.
11170 (find_shstrtab, find_strtab, find_shdr, find_symtab)
11171 (translate_offset): Remove declarations.
11172 (get_text_addr): New declaration.
11173 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
11174 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
11175 sym-file-loader.h.
11176 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
11177 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
11178 here from sym-file-loader.h.
11179 (struct library): New structure.
11180 (load_shlib, lookup_function): Change prototypes and adjust to
11181 work with a struct library.
11182 (find_shstrtab, find_strtab, find_shdr, find_symtab)
11183 (translate_offset): Make static.
11184 (get_text_addr): New function.
11185 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
11186
11187 2014-04-15 Pedro Alves <palves@redhat.com>
11188
11189 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
11190
11191 2014-04-15 Pedro Alves <palves@redhat.com>
11192
11193 * gdb.base/sym-file-loader.c: Include <limits.h>.
11194 (SELF_LINK): New define.
11195 (get_origin): New function.
11196 (load_shlib): Use it.
11197 * gdb.base/sym-file.exp: Don't early return if the target is
11198 remote. Use runto_main, and issue fail is that fails. Use
11199 gdb_load_shlibs.
11200 (shlib_name): Delete.
11201 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
11202
11203 2014-04-15 Pedro Alves <palves@redhat.com>
11204
11205 * gdb.base/sym-file.exp: Remove regex characters from test
11206 message. Don't refer to breakpoint numbers in test messages.
11207
11208 2014-04-14 Keith Seitz <keiths@redhat.com>
11209
11210 PR c++/16253
11211 * gdb.cp/var-tag.cc: New file.
11212 * gdb.cp/var-tag.exp: New file.
11213 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
11214 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
11215 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
11216 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
11217
11218 2014-04-14 Tom Tromey <tromey@redhat.com>
11219
11220 * gdb.cp/classes.exp (test_enums): Handle underlying type.
11221 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
11222 type.
11223 * gdb.cp/enum-class.exp: New file.
11224 * gdb.cp/enum-class.cc: New file.
11225
11226 2014-04-14 Tom Tromey <tromey@redhat.com>
11227
11228 * gdb.dwarf2/enum-type.exp: New file.
11229
11230 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
11231
11232 * gdb.mi/mi-vla-c99.exp: New file.
11233 * gdb.mi/vla.c: New file.
11234
11235 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
11236
11237 * gdb.base/vla-datatypes.c: New file.
11238 * gdb.base/vla-datatypes.exp: New file.
11239
11240 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
11241
11242 * gdb.base/vla-ptr.c: New file.
11243 * gdb.base/vla-ptr.exp: New file.
11244
11245 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
11246
11247 * gdb.dwarf2/count.exp: New file.
11248
11249 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
11250
11251 * gdb.base/vla-sideeffect.c: New file.
11252 * gdb.base/vla-sideeffect.exp: New file.
11253
11254 2014-04-14 David Blaikie <dblaikie@gmail.com>
11255
11256 * gdb.mi/non-stop.c: Add return value for non-void function return
11257 statement.
11258 * gdb.threads/staticthreads.c: Ditto.
11259
11260 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
11261 Doug Evans <xdje42@gmail.com>
11262
11263 * gdb.guile/scm-value.c: Improve test case.
11264 * gdb.guile/scm-value.exp: Add new test.
11265
11266 2014-04-11 David Blaikie <dblaikie@gmail.com>
11267
11268 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
11269 override Clang's default.
11270
11271 2014-04-11 Joel Brobecker <brobecker@adacore.com>
11272
11273 Revert the following changes (regressions):
11274
11275 * gdb.base/vla-sideeffect.c: New file.
11276 * gdb.base/vla-sideeffect.exp: New file.
11277
11278 * gdb.dwarf2/count.exp: New file.
11279
11280 * gdb.base/vla-multi.c: New file.
11281 * gdb.base/vla-multi.exp: New file.
11282
11283 * gdb.base/vla-ptr.c: New file.
11284 * gdb.base/vla-ptr.exp: New file.
11285
11286 * gdb.base/vla-datatypes.c: New file.
11287 * gdb.base/vla-datatypes.exp: New file.
11288
11289 * gdb.mi/mi-vla-c99.exp: New file.
11290 * gdb.mi/vla.c: New file.
11291
11292 2014-04-11 Keith Seitz <keiths@redhat.com>
11293
11294 PR c++/16675
11295 * gdb.cp/cpsizeof.exp: New file.
11296 * gdb.cp/cpsizeof.cc: New file.
11297
11298 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
11299
11300 * gdb.mi/mi-vla-c99.exp: New file.
11301 * gdb.mi/vla.c: New file.
11302
11303 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
11304
11305 * gdb.base/vla-datatypes.c: New file.
11306 * gdb.base/vla-datatypes.exp: New file.
11307
11308 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
11309
11310 * gdb.base/vla-ptr.c: New file.
11311 * gdb.base/vla-ptr.exp: New file.
11312
11313 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
11314
11315 * gdb.base/vla-multi.c: New file.
11316 * gdb.base/vla-multi.exp: New file.
11317
11318 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
11319
11320 * gdb.dwarf2/count.exp: New file.
11321
11322 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
11323
11324 * gdb.base/vla-sideeffect.c: New file.
11325 * gdb.base/vla-sideeffect.exp: New file.
11326
11327 2014-04-11 Yao Qi <yao@codesourcery.com>
11328
11329 * gdb.base/completion.exp: Check file exists before running tests
11330 on file completion.
11331
11332 2014-04-10 Pedro Alves <palves@redhat.com>
11333
11334 * gdb.base/cond-eval-mode.c: New file.
11335 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
11336 prepare_for_testing to build the new file. Check result of
11337 runto_main.
11338 (test_break, test_watch): New procedures.
11339 (top level): Use them.
11340
11341 2014-04-08 Pierre Muller <muller@sourceware.org>
11342
11343 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
11344 Ctrl-V use for mingw hosts.
11345
11346 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
11347
11348 * gdb.python/py-value.c: Improve test case.
11349 * gdb.python/py-value.exp: Add new test.
11350
11351 2014-04-07 David Blaikie <dblaikie@gmail.com>
11352
11353 * lib/compiler.c: Identify the clang compiler.
11354 * lib/compiler.cc: Ditto.
11355
11356 2014-04-03 Yao Qi <yao@codesourcery.com>
11357
11358 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
11359
11360 2014-04-01 Anton Blanchard <anton@samba.org>
11361
11362 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
11363 messages unique.
11364
11365 2014-04-01 Anton Blanchard <anton@samba.org>
11366
11367 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
11368 prepare_for_testing.
11369
11370 2014-04-01 Anton Blanchard <anton@samba.org>
11371
11372 * gdb.arch/ppc64-atomic-inst.c: Remove.
11373 * gdb.arch/ppc64-atomic-inst.S: New file.
11374 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
11375
11376 2014-03-31 Doug Evans <dje@google.com>
11377
11378 * gdb.base/print-symbol-loading-lib.c: New file.
11379 * gdb.base/print-symbol-loading-main.c: New file.
11380 * gdb.base/print-symbol-loading.exp: New file.
11381
11382 2014-03-31 Yao Qi <yao@codesourcery.com>
11383
11384 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
11385
11386 2014-03-28 Joel Brobecker <brobecker@adacore.com>
11387
11388 * gdb.ada/mi_dyn_arr: New testcase.
11389
11390 2014-03-27 Doug Evans <dje@google.com>
11391
11392 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
11393
11394 2014-03-27 Yao Qi <yao@codesourcery.com>
11395
11396 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
11397 if target is nios2-*-*.
11398
11399 2014-03-26 Yao Qi <yao@codesourcery.com>
11400
11401 * lib/gdb.exp (readline_is_used): New proc.
11402 * gdb.base/completion.exp: Move tests on command complete up.
11403 Skip the rest of tests if readline is not used.
11404 * gdb.ada/complete.exp: Skp the test if readline is not
11405 used.
11406 * gdb.base/filesym.exp: Likewise.
11407 * gdb.base/macscp.exp: Likewise.
11408 * gdb.base/readline-ask.exp: Likewise.
11409 * gdb.base/readline.exp: Likewise.
11410 * gdb.python/py-cmd.exp: Likewise.
11411 * gdb.trace/tfile.exp: Likewise.
11412
11413 2014-03-26 Yao Qi <yao@codesourcery.com>
11414
11415 * gdb.base/macscp.exp: Fix code format issues.
11416
11417 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
11418
11419 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
11420 * gdb.asm/powerpc64le.inc: New file.
11421
11422 2014-03-25 Pedro Alves <palves@redhat.com>
11423 Doug Evans <dje@google.com>
11424
11425 * gdb.base/source-execution.c: New file.
11426 * gdb.base/source-execution.exp: New file.
11427 * gdb.base/source-execution.gdb: New file.
11428
11429 2014-03-24 Doug Evans <dje@google.com>
11430
11431 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
11432 using fission.
11433
11434 2014-03-24 Hui Zhu <hui@codesourcery.com>
11435 Pedro Alves <palves@redhat.com>
11436
11437 PR breakpoints/16101
11438 * gdb.base/dprintf.exp: Use unsupported rather than changing the
11439 test pass/fail messages. Detect missing support for dprintf when
11440 breakpoints are actually inserted.
11441 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
11442 breakpoints are actually inserted.
11443 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
11444 fails.
11445
11446 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
11447
11448 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
11449
11450 2014-03-22 Doug Evans <xdje42@gmail.com>
11451
11452 * gdb.python/python.exp (python not supported): Verify multi-line
11453 python command issues an error.
11454 * gdb.guile/guile.exp (guile not supported): Verify multi-line
11455 guile command issues an error.
11456
11457 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
11458
11459 * gdb.threads/thread-specific.exp: Handle the lack of usable
11460 $this_breakpoint and $this_thread.
11461
11462 2014-03-21 Hui Zhu <hui@codesourcery.com>
11463
11464 * gdb.base/attach.exp (do_command_attach_tests): New.
11465
11466 2014-03-20 Tom Tromey <tromey@redhat.com>
11467 Pedro Alves <palves@redhat.com>
11468
11469 PR cli/15718
11470 * gdb.base/condbreak-call-false.c: New file.
11471 * gdb.base/condbreak-call-false.exp: New file.
11472
11473 2014-03-20 Pedro Alves <palves@redhat.com>
11474
11475 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
11476 Delete.
11477 (block_signals, unblock_signals): Delete.
11478 (child_function_2, main): Remove references to deleted variable
11479 and functions.
11480
11481 2014-03-20 Pedro Alves <palves@redhat.com>
11482
11483 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
11484 Use pthread_kill to signal thread 2.
11485 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
11486 Adjust to make the test send itself a signal rather than using the
11487 host's "kill" command.
11488
11489 2014-03-20 Pedro Alves <palves@redhat.com>
11490
11491 * gdb.threads/multiple-step-overs.c: New file.
11492 * gdb.threads/multiple-step-overs.exp: New file.
11493 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
11494 Adjust expected infrun debug output.
11495
11496 2014-03-20 Pedro Alves <palves@redhat.com>
11497
11498 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
11499 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
11500
11501 2014-03-20 Pedro Alves <palves@redhat.com>
11502
11503 PR breakpoints/7143
11504 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
11505 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
11506 of gdb_test_multiple.
11507 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
11508 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
11509
11510 2014-03-20 Pedro Alves <palves@redhat.com>
11511
11512 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
11513 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
11514
11515 2014-03-19 Pedro Alves <palves@redhat.com>
11516
11517 * gdb.base/async.exp: Remove early return.
11518
11519 2014-03-19 Pedro Alves <palves@redhat.com>
11520
11521 * gdb.base/async.exp (step& tests): Pass explicit test messages.
11522
11523 2014-03-19 Pedro Alves <palves@redhat.com>
11524
11525 * gdb.base/async.exp (test_background): Expect \r\n after
11526 "completed." in the fail pattern.
11527
11528 2014-03-19 Pedro Alves <palves@redhat.com>
11529
11530 * gdb.base/async.exp (test_background): New procedure.
11531 Use it for all background execution command tests.
11532
11533 2014-03-19 Pedro Alves <palves@redhat.com>
11534
11535 * gdb.base/async.exp: Use prepare_for_testing.
11536
11537 2014-03-19 Pedro Alves <palves@redhat.com>
11538
11539 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
11540 the same line.
11541
11542 2014-03-19 Pedro Alves <palves@redhat.com>
11543
11544 * gdb.base/async.c (main): Add "jump here" and "until here" line
11545 marker comments.
11546 * gdb.base/async.exp (jump_here): New global.
11547 (jump& test): Use it.
11548 (until_here): New global.
11549 (until& test): Use it.
11550
11551 2014-03-19 Pedro Alves <palves@redhat.com>
11552
11553 * gdb.base/async.exp: Don't frob gdb_protocol.
11554
11555 2014-03-18 Doug Evans <xdje42@gmail.com>
11556
11557 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
11558 Fix spelling of exec-done-display.
11559
11560 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
11561
11562 PR gdb/15358
11563 * gdb.base/gdb-sigterm.c: New file.
11564 * gdb.base/gdb-sigterm.exp: New file.
11565
11566 2014-03-18 Pedro Alves <palves@redhat.com>
11567
11568 PR gdb/13860
11569 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
11570 * lib/mi-support.exp (mi_expect_stop): Add special handling for
11571 solib-event.
11572
11573 2014-03-17 Joel Brobecker <brobecker@adacore.com>
11574
11575 * gdb.ada/pckd_arr_ren: New testcase.
11576
11577 2014-03-13 Doug Evans <xdje42@gmail.com>
11578
11579 PR guile/16612
11580 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
11581 collect after discarding symbols.
11582
11583 2014-03-13 Ludovic Courtès <ludo@gnu.org>
11584 Doug Evans <xdje42@gmail.com>
11585
11586 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
11587 to history survives a gc.
11588
11589 2014-03-13 Pedro Alves <palves@redhat.com>
11590
11591 * gdb.base/default.exp: Don't test "target procfs".
11592
11593 2014-03-13 Pedro Alves <palves@redhat.com>
11594
11595 * gdb.base/default.exp: Update "target child" and "target procfs"
11596 tests to not expect "Unix".
11597
11598 2014-03-12 Tom Tromey <tromey@redhat.com>
11599
11600 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
11601 New procs. Add target-async tests.
11602 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
11603 Add target-async tests.
11604
11605 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
11606
11607 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
11608 'func_start' and 'func_end' for the beginning and end of the
11609 function code, respectively.
11610 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
11611 'func_end' instead of 'func' and 'main'.
11612
11613 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
11614
11615 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
11616 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
11617 generate the debug info assembler source.
11618
11619 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
11620
11621 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
11622 * gdb.dwarf2/arr-subrange.exp: Likewise.
11623 * gdb.dwarf2/dwz.exp: Likewise.
11624 * gdb.dwarf2/method-ptr.exp: Likewise.
11625 * gdb.dwarf2/missing-sig-type.exp: Likewise.
11626 * gdb.dwarf2/subrange.exp: Likewise.
11627 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
11628 * gdb.dwarf2/implptrpiece.exp: Likewise.
11629 * gdb.dwarf2/nostaticblock.exp: Likewise.
11630
11631 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
11632
11633 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
11634 directory to absolute path name arguments.
11635
11636 2014-03-10 Joel Brobecker <brobecker@adacore.com>
11637
11638 * gdb.ada/tagged_access: New testcase.
11639
11640 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
11641
11642 * gdb.btrace/data.exp: Update expected output.
11643
11644 2014-03-06 Yao Qi <yao@codesourcery.com>
11645
11646 * gdb.trace/pr16508.exp: New file.
11647
11648 2014-03-05 Pedro Alves <palves@redhat.com>
11649
11650 PR gdb/16575
11651 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
11652 procedure.
11653 (top level): Adjust to use it. Add tests that exercise breakpoint
11654 interaction with the code-cache.
11655
11656 2014-02-26 Ludovic Courtès <ludo@gnu.org>
11657
11658 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
11659 test for 'history-append!'.
11660
11661 2014-02-26 Joel Brobecker <brobecker@adacore.com>
11662
11663 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
11664 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
11665 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
11666 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
11667 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
11668 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
11669
11670 2014-02-26 Joel Brobecker <brobecker@adacore.com>
11671
11672 * testsuite/gdb.python/py-pp-re-notag.c: New file.
11673 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
11674 * testsuite/gdb.python/py-pp-re-notag.p: New file.
11675
11676 2014-02-26 Joel Brobecker <brobecker@adacore.com>
11677
11678 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
11679
11680 2014-02-26 Joel Brobecker <brobecker@adacore.com>
11681
11682 * gdb.dwarf2/arr-stride.c: New file.
11683 * gdb.dwarf2/arr-stride.exp: New file.
11684
11685 2014-02-26 Pedro Alves <palves@redhat.com>
11686
11687 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
11688 that won't ever trigger. Make sure that GDB reports the correct
11689 breakpoint that caused the stop.
11690
11691 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11692
11693 PR gdb/16626
11694 * gdb.base/auto-load-script: New file.
11695 * gdb.base/auto-load.c: New file.
11696 * gdb.base/auto-load.exp: New file.
11697
11698 PR gdb/16626
11699 * gdb.base/auto-load.exp: Fix out-of-srctree run.
11700
11701 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11702
11703 Fix dw2-icycle.exp -fsanitize=address GDB crash.
11704 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
11705
11706 2014-02-24 Doug Evans <dje@google.com>
11707
11708 * lib/gdb.exp (run_on_host): Log error output if program fails.
11709
11710 2014-02-21 Pedro Alves <palves@redhat.com>
11711
11712 * gdb.threads/step-after-sr-lock.c: Rename to ...
11713 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
11714 * gdb.threads/step-after-sr-lock.exp: Rename to ...
11715 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
11716 ... this.
11717
11718 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
11719
11720 PR tdep/16397
11721 * gdb.arch/amd64-stap-special-operands.exp: New file.
11722 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
11723 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
11724 * gdb.arch/amd64-stap-triplet.S: Likewise.
11725 * gdb.arch/amd64-stap-triplet.c: Likewise.
11726
11727 2014-02-20 Joel Brobecker <brobecker@adacore.com>
11728
11729 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
11730 in .section pseudo-op.
11731
11732 2014-02-20 lin zuojian <manjian2006@gmail.com>
11733 Joel Brobecker <brobecker@adacore.com>
11734 Doug Evans <xdje42@gmail.com>
11735
11736 PR symtab/16581
11737 * gdb.dwarf2/dw2-icycle.S: New file.
11738 * gdb.dwarf2/dw2-icycle.c: New file.
11739 * gdb.dwarf2/dw2-icycle.exp: New file.
11740
11741 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
11742
11743 * gdb.python/py-value-cc.cc: Improve test case to enable testing
11744 operations on gdb.Value objects.
11745 * gdb.python/py-value-cc.exp: Add new test to test operations on
11746 gdb.Value objects.
11747
11748 2014-02-18 Doug Evans <dje@google.com>
11749
11750 * Makefile.in (TESTS): New variable.
11751 (expanded_tests, expanded_tests_or_none): New variables
11752 (check-single): Pass $(expanded_tests_or_none) to runtest.
11753 (check-parallel): Only run tests in $(TESTS) if non-empty.
11754 (check/no-matching-tests-found): New rule.
11755 * README: Document TESTS makefile variable.
11756
11757 2014-02-18 Doug Evans <dje@google.com>
11758
11759 * Makefile.in (check-parallel): rm -rf outputs temp.
11760
11761 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11762
11763 Fix "ERROR: no fileid for" in the testsuite.
11764 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
11765
11766 2014-02-12 Doug Evans <dje@google.com>
11767
11768 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
11769 (MISCELLANEOUS): New variable.
11770 (clean): rm -rf $(MISCELLANEOUS).
11771 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
11772 dwp live in the same directory as symlinks, with each symlink pointed
11773 to a differently named file in a different directory.
11774
11775 2014-02-11 Doug Evans <dje@google.com>
11776
11777 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
11778 of Tcl file commands.
11779
11780 2014-02-10 Mark Kettenis <kettenis@gnu.org>
11781
11782 * gdb.threads/step-after-sr-lock.exp: Avoid executing
11783 "kill -SIGUSR1 -1".
11784
11785 2014-02-10 Joel Brobecker <brobecker@adacore.com>
11786
11787 * gdb.ada/tick_length_array_enum_idx: New testcase.
11788
11789 2014-02-10 Doug Evans <xdje42@gmail.com>
11790
11791 * configure.ac (AC_OUTPUT): Add gdb.guile.
11792 * configure: Regenerate.
11793 * lib/gdb-guile.exp: New file.
11794 * lib/gdb.exp (get_target_charset): New function.
11795 * gdb.base/help.exp: Update expected output from "apropos apropos".
11796 * gdb.guile/Makefile.in: New file.
11797 * gdb.guile/guile.exp: New file.
11798 * gdb.guile/scm-arch.c: New file.
11799 * gdb.guile/scm-arch.exp: New file.
11800 * gdb.guile/scm-block.c: New file.
11801 * gdb.guile/scm-block.exp: New file.
11802 * gdb.guile/scm-breakpoint.c: New file.
11803 * gdb.guile/scm-breakpoint.exp: New file.
11804 * gdb.guile/scm-disasm.c: New file.
11805 * gdb.guile/scm-disasm.exp: New file.
11806 * gdb.guile/scm-equal.c: New file.
11807 * gdb.guile/scm-equal.exp: New file.
11808 * gdb.guile/scm-error.exp: New file.
11809 * gdb.guile/scm-error.scm: New file.
11810 * gdb.guile/scm-frame-args.c: New file.
11811 * gdb.guile/scm-frame-args.exp: New file.
11812 * gdb.guile/scm-frame-args.scm: New file.
11813 * gdb.guile/scm-frame-inline.c: New file.
11814 * gdb.guile/scm-frame-inline.exp: New file.
11815 * gdb.guile/scm-frame.c: New file.
11816 * gdb.guile/scm-frame.exp: New file.
11817 * gdb.guile/scm-generics.exp: New file.
11818 * gdb.guile/scm-gsmob.exp: New file.
11819 * gdb.guile/scm-iterator.c: New file.
11820 * gdb.guile/scm-iterator.exp: New file.
11821 * gdb.guile/scm-math.c: New file.
11822 * gdb.guile/scm-math.exp: New file.
11823 * gdb.guile/scm-objfile-script-gdb.in: New file.
11824 * gdb.guile/scm-objfile-script.c: New file.
11825 * gdb.guile/scm-objfile-script.exp: New file.
11826 * gdb.guile/scm-objfile.c: New file.
11827 * gdb.guile/scm-objfile.exp: New file.
11828 * gdb.guile/scm-ports.exp: New file.
11829 * gdb.guile/scm-pretty-print.c: New file.
11830 * gdb.guile/scm-pretty-print.exp: New file.
11831 * gdb.guile/scm-pretty-print.scm: New file.
11832 * gdb.guile/scm-section-script.c: New file.
11833 * gdb.guile/scm-section-script.exp: New file.
11834 * gdb.guile/scm-section-script.scm: New file.
11835 * gdb.guile/scm-symbol.c: New file.
11836 * gdb.guile/scm-symbol.exp: New file.
11837 * gdb.guile/scm-symtab-2.c: New file.
11838 * gdb.guile/scm-symtab.c: New file.
11839 * gdb.guile/scm-symtab.exp: New file.
11840 * gdb.guile/scm-type.c: New file.
11841 * gdb.guile/scm-type.exp: New file.
11842 * gdb.guile/scm-value-cc.cc: New file.
11843 * gdb.guile/scm-value-cc.exp: New file.
11844 * gdb.guile/scm-value.c: New file.
11845 * gdb.guile/scm-value.exp: New file.
11846 * gdb.guile/source2.scm: New file.
11847 * gdb.guile/types-module.cc: New file.
11848 * gdb.guile/types-module.exp: New file.
11849
11850 2014-02-10 Yao Qi <yao@codesourcery.com>
11851
11852 PR testsuite/16543
11853 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
11854 * configure: Regenerated.
11855 * Makefile.in: New file.
11856
11857 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
11858
11859 * gdb.python/py-framefilter.exp: Fix typo.
11860
11861 2014-02-08 Yao Qi <yao@codesourcery.com>
11862
11863 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
11864 that no =breakpoint-modified is emitted when breakpoints are
11865 modified through MI commands.
11866
11867 2014-02-07 Pedro Alves <pedro@codesourcery.com>
11868 Pedro Alves <palves@redhat.com>
11869
11870 * gdb.threads/step-after-sr-lock.c: New file.
11871 * gdb.threads/step-after-sr-lock.exp: New file.
11872
11873 2014-02-07 Pedro Alves <palves@redhat.com>
11874
11875 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
11876
11877 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
11878
11879 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
11880 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
11881
11882 2014-02-06 Doug Evans <xdje42@gmail.com>
11883
11884 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
11885 output.
11886
11887 * gdb.gdb/python-interrupts.exp: New file.
11888
11889 2014-02-05 Yao Qi <yao@codesourcery.com>
11890
11891 * gdb.trace/report.exp (use_collected_data): Test the output
11892 of "info threads" and "info inferiors".
11893
11894 2014-02-05 Yao Qi <yao@codesourcery.com>
11895
11896 Revert this patch:
11897
11898 2013-05-24 Yao Qi <yao@codesourcery.com>
11899
11900 * gdb.trace/tfile.exp: Test inferior and thread.
11901
11902 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11903
11904 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
11905 on a function.
11906 * gdb.base/step-bt.c: Call hello via function pointer to make
11907 sure its first instruction is executed on powerpc64le-linux.
11908
11909 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11910
11911 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
11912
11913 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11914
11915 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
11916 of the test patterns for use on little-endian systems.
11917
11918 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11919
11920 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
11921 (decimal_vector): Fix for little-endian.
11922
11923 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
11924
11925 * gdb.arch/sparc-sysstep.exp: New file.
11926 * gdb.arch/sparc-sysstep.c: Likewise.
11927
11928 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
11929
11930 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
11931
11932 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
11933
11934 2014-01-23 Tom Tromey <tromey@redhat.com>
11935
11936 * gdb.ada/array_char_idx: New testcase.
11937
11938 2014-01-23 Tom Tromey <tromey@redhat.com>
11939
11940 PR python/16487:
11941 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
11942 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
11943 classes.
11944
11945 2014-01-23 Tom Tromey <tromey@redhat.com>
11946
11947 PR python/16491:
11948 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
11949 string from an inferior frame.
11950 * gdb.python/py-framefilter-mi.exp: Update.
11951
11952 2014-01-22 Doug Evans <dje@google.com>
11953
11954 * gdb.server/server-mon.exp: Add tests for "set debug-format".
11955
11956 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11957
11958 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
11959
11960 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11961
11962 * gdb.trace/entry-values.exp: Remove excess space character from
11963 regex patterns. Handle s390 call instruction.
11964
11965 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11966
11967 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
11968 define "*_start" label. Make "name" static.
11969 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
11970 ${name} by references to ${name}_start.
11971
11972 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11973
11974 * gdb.base/info-macros.exp: Remove "debug" from the compile
11975 options.
11976
11977 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11978
11979 * gdb.dlang/demangle.exp: New file.
11980
11981 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11982
11983 * gdb.dlang/primitive-types.exp: New file.
11984
11985 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11986
11987 * configure.ac: Create gdb.dlang/Makefile.
11988 * configure: Regenerate.
11989 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
11990 * gdb.dlang/Makefile.in: New file.
11991 * lib/d-support.exp: New file.
11992 * lib/gdb.exp (skip_d_tests): New proc.
11993
11994 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11995
11996 * gdb.btrace/delta.exp: Check reverse stepi.
11997 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
11998 * gdb.btrace/finish.exp: New.
11999 * gdb.btrace/next.exp: New.
12000 * gdb.btrace/nexti.exp: New.
12001 * gdb.btrace/record_goto.c: Add comments.
12002 * gdb.btrace/step.exp: New.
12003 * gdb.btrace/stepi.exp: New.
12004 * gdb.btrace/multi-thread-step.c: New.
12005 * gdb.btrace/multi-thread-step.exp: New.
12006 * gdb.btrace/rn-dl-bind.c: New.
12007 * gdb.btrace/rn-dl-bind.exp: New.
12008 * gdb.btrace/data.c: New.
12009 * gdb.btrace/data.exp: New.
12010 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
12011
12012 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12013
12014 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
12015 * gdb.btrace/exception.exp: Update.
12016 * gdb.btrace/instruction_history.exp: Update.
12017 * gdb.btrace/record_goto.exp: Update.
12018 * gdb.btrace/tailcall.exp: Update.
12019 * gdb.btrace/unknown_functions.exp: Update.
12020 * gdb.btrace/delta.exp: New.
12021
12022 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12023
12024 * gdb.btrace/record_goto.exp: Add backtrace test.
12025 * gdb.btrace/tailcall.exp: Add backtrace test.
12026
12027 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12028
12029 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
12030 * gdb.btrace/record_goto.c: New.
12031 * gdb.btrace/record_goto.exp: New.
12032 * gdb.btrace/x86-record_goto.S: New.
12033
12034 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12035
12036 * gdb.btrace/function_call_history.exp: Update tests.
12037 * gdb.btrace/instruction_history.exp: Update tests.
12038
12039 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12040
12041 * gdb.btrace/function_call_history.exp: Fix expected field
12042 order for "record function-call-history".
12043 Add new tests for "record function-call-history /c".
12044 * gdb.btrace/exception.cc: New.
12045 * gdb.btrace/exception.exp: New.
12046 * gdb.btrace/tailcall.exp: New.
12047 * gdb.btrace/x86-tailcall.S: New.
12048 * gdb.btrace/x86-tailcall.c: New.
12049 * gdb.btrace/unknown_functions.c: New.
12050 * gdb.btrace/unknown_functions.exp: New.
12051 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
12052
12053 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12054
12055 * gdb.btrace/instruction_history.exp: Update.
12056 * gdb.btrace/function_call_history.exp: Update.
12057
12058 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12059
12060 * gdb.btrace/function_call_history.exp: Fix expected function
12061 trace.
12062 * gdb.btrace/instruction_history.exp: Initialize traced.
12063 Remove traced_functions.
12064
12065 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12066
12067 * gdb.btrace/function_call_history.exp: Update
12068 * gdb.btrace/instruction_history.exp: Update.
12069
12070 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12071
12072 * gdb.btrace/enable.exp: Update expected text.
12073
12074 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
12075
12076 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
12077 bytes.
12078
12079 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
12080
12081 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
12082
12083 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
12084
12085 * lib/gdb.exp (supports_process_record): Return true for
12086 arm*-linux*. (supports_reverse): Likewise.
12087
12088 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
12089
12090 PR python/15464
12091 PR python/16113
12092 * gdb.python/py-type.c: Enhance test case.
12093 * gdb.python/py-value-cc.cc: Likewise
12094 * gdb.python/py-type.exp: Add new tests.
12095 * gdb.python/py-value-cc.exp: Likewise
12096
12097 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
12098 Pedro Alves <palves@redhat.com>
12099
12100 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
12101 Make "name" extern.
12102 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
12103 references to ${name}_start by references to ${name}.
12104
12105 2014-01-10 Joel Brobecker <brobecker@adacore.com>
12106
12107 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
12108
12109 2014-01-10 Joel Brobecker <brobecker@adacore.com>
12110
12111 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
12112
12113 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
12114 Pedro Alves <palves@redhat.com>
12115
12116 * gdb.mi/mi-info-os.exp: Connect to the target with
12117 mi_gdb_target_load.
12118
12119 2014-01-08 Pedro Alves <palves@redhat.com>
12120
12121 * gdb.threads/reconnect-signal.c: New file.
12122 * gdb.threads/reconnect-signal.exp: New file.
12123
12124 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
12125
12126 * gdb.base/source-dir.exp: New file.
12127
12128 2014-01-07 Joel Brobecker <brobecker@adacore.com>
12129
12130 * gdb.ada/mi_interface: New testcase.
12131
12132 2014-01-07 Joel Brobecker <brobecker@adacore.com>
12133
12134 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
12135 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
12136 gdb.ada/pp-rec-component/pck.ads: New files.
12137
12138 2014-01-07 Joel Brobecker <brobecker@adacore.com>
12139
12140 * gdb.python/py-pp-integral.c: New file.
12141 * gdb.python/py-pp-integral.py: New file.
12142 * gdb.python/py-pp-integral.exp: New file.
12143
12144 For older changes see ChangeLog-1993-2013.
12145 \f
12146 ;; Local Variables:
12147 ;; mode: change-log
12148 ;; left-margin: 8
12149 ;; fill-column: 74
12150 ;; version-control: never
12151 ;; End:
12152
12153 Copyright 2014-2017 Free Software Foundation, Inc.
12154 Copying and distribution of this file, with or without modification,
12155 are permitted provided the copyright notice and this notice are preserved.
This page took 0.287596 seconds and 4 git commands to generate.