Implement the ability to set/unset environment variables to GDBserver when starting...
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
2
3 * gdb.base/share-env-with-gdbserver.c: New file.
4 * gdb.base/share-env-with-gdbserver.exp: Likewise.
5
6 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
7
8 * gdb.base/commands.exp (gdbvar_simple_if_test,
9 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
10 progvar_simple_if_test, progvar_simple_while_test,
11 progvar_complex_if_while_test, user_defined_command_test,
12 user_defined_command_args_eval,
13 user_defined_command_args_stack_test,
14 user_defined_command_manyargs_test, bp_deleted_in_command_test,
15 temporary_breakpoint_commands,
16 gdb_test_no_prompt, redefine_hook_test,
17 redefine_backtrace_test): Remove "global gdb_prompt".
18
19 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
20
21 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
22 New proc, call it from toplevel.
23
24 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
25
26 PR remote/21852
27 * gdb.server/normal.c: New file, copied from gdb.base.
28 * gdb.server/run-without-local-binary.exp: New file.
29
30 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
31
32 * gdb.arch/sparc64-adi.exp: New file.
33 * gdb.arch/sparc64-adi.c: New file.
34
35 2017-08-22 Pedro Alves <palves@redhat.com>
36
37 * gdb.cp/overload.exp (line_range_pattern): New procedure.
38 (top level): Add "list all overloads" tests.
39
40 2017-08-22 Tom Tromey <tom@tromey.com>
41
42 * gdb.gdb/xfullpath.exp: Remove.
43
44 2017-08-21 Pedro Alves <palves@redhat.com>
45
46 PR gdb/19487
47 * gdb.base/symbol-alias.c: New.
48 * gdb.base/symbol-alias2.c: New.
49 * gdb.base/symbol-alias.exp: New.
50
51 2017-08-21 Pedro Alves <palves@redhat.com>
52
53 * gdb.base/dfp-test.c
54 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
55 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
56 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
57 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
58 * gdb.base/whatis-ptype-typedefs.c: New.
59 * gdb.base/whatis-ptype-typedefs.exp: New.
60 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
61 (an_int, an_int_type, an_int_type2): New globals.
62 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
63 involving typedefs and cast expressions.
64 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
65 (lookup_typedefs_function): New.
66 (typedefs_pretty_printers_dict): New.
67 (top level): Register lookup_typedefs_function in
68 gdb.pretty_printers.
69
70 2017-08-18 Yao Qi <yao.qi@linaro.org>
71
72 * gdb.server/unittest.exp: New.
73
74 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
75
76 PR gdb/21954
77 * gdb.base/environ.exp: Add test to check if 'unset environment'
78 works.
79
80 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
81
82 * lib/gdb.exp (universal_compile_options): New caching proc.
83 (gdb_compile): Suppress GCC's coloring of messages.
84
85 2017-08-14 Tom Tromey <tom@tromey.com>
86
87 PR gdb/21675:
88 * gdb.base/printcmds.exp (test_radices): New function.
89 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
90 * gdb.base/sizeof.exp (check_valueof): Use p/d.
91 * lib/gdb.exp (get_integer_valueof): Use p/d.
92
93 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
94
95 * lib/gdb.exp (get_valueof): Don't capture end-of-line
96 characters.
97
98 2017-08-05 Tom Tromey <tom@tromey.com>
99
100 * gdb.rust/simple.exp: Allow String to appear in a different
101 namespace.
102
103 2017-07-26 Yao Qi <yao.qi@linaro.org>
104
105 * gdb.gdb/unittest.exp: Invoke command
106 "maintenance check xml-descriptions".
107
108 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
109
110 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
111 calling context.
112 (hex128): Drop erroneous calculation of parameters.
113
114 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
115
116 * gdb.python/py-unwind.exp: Disable stack protection when
117 building test file.
118
119 2017-07-20 Pedro Alves <palves@redhat.com>
120
121 * gdb.base/default.exp (set language): Adjust expected output.
122
123 2017-07-20 Pedro Alves <palves@redhat.com>
124
125 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
126 (test_minsym): ... this, and make static.
127 (get_pck__foo__bar__minsym): Rename to ...
128 (get_test_minsym): ... this.
129 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
130 symbol names and comments.
131 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
132 (get_test_minsym): ... this.
133 (pck__foo__bar__minsym__2): Rename to ...
134 (test_minsym): ... this.
135 (main): Adjust.
136
137 2017-07-17 Pedro Alves <palves@redhat.com>
138
139 * gdb.base/completion.exp: Adjust expected output.
140 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
141 the completer works.
142
143 2017-07-17 Pedro Alves <palves@redhat.com>
144
145 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
146
147 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
148
149 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
150
151 2017-07-14 Tom Tromey <tom@tromey.com>
152
153 PR rust/21764:
154 * gdb.rust/simple.exp: Add tests.
155
156 2017-07-14 Tom Tromey <tom@tromey.com>
157
158 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
159
160 2017-07-14 Pedro Alves <palves@redhat.com>
161
162 * gdb.linespec/base/one/thefile.cc (z1): New function.
163 * gdb.linespec/base/two/thefile.cc (z2): New function.
164 * gdb.linespec/linespec.exp: Add tests.
165
166 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
167
168 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
169 to mi_create_breakpoint.
170
171 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
172
173 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
174 mi_create_breakpoint.
175
176 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
177
178 * gdb.dlang/demangle.exp: Update for demangling changes.
179
180 2017-07-09 Tom Tromey <tom@tromey.com>
181
182 * gdb.dwarf2/shortpiece.exp: New file.
183
184 2017-07-06 David Blaikie <dblaikie@gmail.com>
185
186 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
187 built from fissiont-multi-cu{1,2}.c.
188 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
189 except putting 'main' and 'func' in separate CUs in the same DWO file.
190 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
191 test.
192 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
193 test.
194
195 2017-07-06 Pedro Alves <palves@redhat.com>
196
197 * gdb.python/py-unwind.exp: Test flushregs.
198
199 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
200
201 PR cli/21688
202 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
203 tests for alias commands and trailing whitespace.
204
205 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
206
207 PR cli/21688
208 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
209 procedure. Call it.
210
211 2017-06-29 Pedro Alves <palves@redhat.com>
212
213 * gdb.base/printcmds.exp: Add tests.
214
215 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
216
217 PR gdb/21337
218 * gdb.base/reread-readsym.exp: New file.
219 * gdb.base/reread-readsym.c: New file.
220
221 2017-06-21 Kevin Buettner <kevinb@redhat.com>
222
223 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
224 subpattern.
225
226 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
227
228 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
229 extended mnemonic.
230 * gdb.arch/powerpc-power9.s: Likewise.
231
232 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
233
234 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
235 on 32-bit x86 targets. Exploit is_*_target macros where
236 appropriate.
237
238 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
239
240 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
241 register pieces.
242
243 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
244
245 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
246 located in one or more DWARF pieces.
247
248 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
249
250 * lib/gdb.exp (get_endianness): New proc.
251 * gdb.arch/aarch64-fp.exp: Use it.
252 * gdb.arch/altivec-regs.exp: Likewise.
253 * gdb.arch/e500-regs.exp: Likewise.
254 * gdb.arch/vsx-regs.exp: Likewise.
255 * gdb.base/dump.exp: Likewise.
256 * gdb.base/funcargs.exp: Likewise.
257 * gdb.base/gnu_vector.exp: Likewise.
258 * gdb.dwarf2/formdata16.exp: Likewise.
259 * gdb.dwarf2/implptrpiece.exp: Likewise.
260 * gdb.dwarf2/nonvar-access.exp: Likewise.
261 * gdb.python/py-inferior.exp: Likewise.
262 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
263
264 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
265
266 PR gdb/21226
267 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
268 stack value pieces are taken from the LSB end.
269
270 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
271
272 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
273 variable at nonzero offset.
274
275 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
276
277 * gdb.dwarf2/var-access.c: New file.
278 * gdb.dwarf2/var-access.exp: New test.
279 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
280
281 2017-06-12 Tom Tromey <tom@tromey.com>
282
283 * gdb.dwarf2/formdata16.exp: Add tests.
284
285 2017-06-12 Tom Tromey <tom@tromey.com>
286
287 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
288
289 2017-06-12 Tom Tromey <tom@tromey.com>
290
291 PR exp/16225:
292 * gdb.reverse/i386-sse-reverse.exp: Update tests.
293 * gdb.arch/vsx-regs.exp: Update tests.
294 * gdb.arch/s390-vregs.exp (hex128): New proc.
295 Update test.
296 * gdb.arch/altivec-regs.exp: Update tests.
297
298 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
299
300 * gdb.base/startup-with-shell.c: New file.
301 * gdb.base/startup-with-shell.exp: Likewise.
302
303 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
304
305 * gdb.server/non-existing-program.exp: Update regex in order to
306 reflect the fact that gdbserver is now using fork_inferior (with a
307 shell) to startup the inferior.
308
309 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
310
311 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
312 support function calls from GDB.
313
314 2017-05-21 Tom Tromey <tom@tromey.com>
315
316 PR rust/21466:
317 * gdb.rust/unsized.exp: New file.
318 * gdb.rust/unsized.rs: New file.
319
320 2017-05-19 Tom Tromey <tom@tromey.com>
321
322 PR rust/21484:
323 * gdb.rust/watch.exp: New file.
324 * gdb.rust/watch.rs: New file.
325
326 2017-05-18 Tom Tromey <tom@tromey.com>
327
328 * gdb.rust/simple.exp: Allow Box to be qualified.
329
330 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
331
332 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
333
334 2017-05-18 Pedro Alves <palves@redhat.com>
335
336 * gdb.base/fileio.c (test_write, test_read, test_close)
337 (test_fstat): Don't print 'ret' in the fail path.
338
339 2017-05-18 Pedro Alves <palves@redhat.com>
340
341 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
342 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
343 (test_system, test_rename, test_unlink, test_time): Change
344 prototypes.
345 * gdb.base/fileio.exp (stop_msg): Adjust.
346
347 2017-05-18 Pedro Alves <palves@redhat.com>
348
349 * gdb.base/fileio.c (null_str): New global.
350 (test_stat): Use it.
351 * gdb.base/fileio.exp: Remove nowarnings.
352
353 2017-05-17 Yao Qi <yao.qi@linaro.org>
354
355 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
356
357 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
358
359 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
360 argument command.
361 (top-level): Invoke test_set_inferior_tty.
362
363 2017-05-04 Pedro Alves <palves@redhat.com>
364
365 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
366 Add parens to print call for Python 3.
367
368 2017-05-03 Keith Seitz <keiths@redhat.com>
369
370 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
371 (main): Call it.
372
373 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
374
375 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
376 to prev and next.
377
378 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
379
380 * gdb.python/py-record-btrace.exp: Remove test for
381 gdb.BtraceInstruction.error.
382
383 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
384
385 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
386
387 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
388
389 * gdb.python/py-record-btrace-threads.c: New file.
390 * gdb.python/py-record-btrace-threads.exp: New file.
391
392 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
393
394 PR testsuite/8595
395 * gdb.base/environ.exp: Make test available in all architectures.
396 Move bits related to "info program" testing to
397 gdb.base/info-program.exp. Rewrite tests to use the two new
398 procedures mentione below.
399 (test_set_show_env_var) New procedure.
400 (test_set_show_env_var_equal): Likewise.
401 * gdb.base/info-program.exp: New file.
402
403 2017-04-27 Keith Seitz <keiths@redhat.com>
404
405 * gdb.cp/oranking.cc (test15): New function.
406 (main): Call test15 and declare additional variables for testing.
407 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
408 "p foo101('abc')" tests.
409 Add tests for cv qualifier overloads.
410 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
411 "lvalue reference overload" test.
412 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
413 "print value of f1 on Child&& in f2" test.
414
415 2017-04-19 Pedro Alves <palves@redhat.com>
416
417 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
418 procedure.
419 (top level): Call it.
420 * lib/gdb.exp (gdb_define_cmd): New procedure.
421
422 2017-04-12 Pedro Alves <palves@redhat.com>
423
424 PR gdb/21323
425 * gdb.cp/wide_char_types.c: Include <wchar.h>.
426 (wchar): New global.
427 * gdb.cp/wide_char_types.exp (wide_char_types_program)
428 (do_test_wide_char, wide_char_types_no_program, top level): Add
429 wchar_t testing.
430
431 2017-04-12 Pedro Alves <palves@redhat.com>
432
433 PR c++/21323
434 * gdb.cp/wide_char_types.c: New file.
435 * gdb.cp/wide_char_types.exp: New file.
436
437 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
438
439 PR gdb/21352
440 * gdb.trace/tsv.exp: Add test for "tsave -r".
441
442 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
443
444 * gdb.dlang/watch-loc.c: New file.
445 * gdb.dlang/watch-loc.exp: New file.
446
447 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
448
449 * gdb.python/py-section-script.exp (sepdebug): New testcases.
450
451 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
452
453 * gdb.arch/arc-analyze-prologue.S: New file.
454 * gdb.arch/arc-analyze-prologue.exp: Likewise.
455
456 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
457
458 * gdb.arch/arc-decode-insn.S: New file.
459 * gdb.arch/arc-decode-insn.exp: Likewise.
460
461 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
462
463 PR tdep/20928
464 * gdb.arch/sparc64-regs.exp: New file.
465 * gdb.arch/sparc64-regs.S: Likewise.
466
467 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
468
469 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
470 and memory view on Python 3.
471
472 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
473 Keith Seitz <keiths@redhat.com>
474
475 PR gdb/14441
476 * gdb.cp/demangle.exp: Add rvalue reference tests.
477 * gdb.cp/rvalue-ref-casts.cc: New file.
478 * gdb.cp/rvalue-ref-casts.exp: New file.
479 * gdb.cp/rvalue-ref-overload.cc: New file.
480 * gdb.cp/rvalue-ref-overload.exp: New file.
481 * gdb.cp/rvalue-ref-params.cc: New file.
482 * gdb.cp/rvalue-ref-params.exp: New file.
483 * gdb.cp/rvalue-ref-sizeof.cc: New file.
484 * gdb.cp/rvalue-ref-sizeof.exp: New file.
485 * gdb.cp/rvalue-ref-types.cc: New file.
486 * gdb.cp/rvalue-ref-types.exp: New file.
487 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
488 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
489
490 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
491
492 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
493 New procedure.
494
495 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
496
497 * lib/mi-support.exp (mi_gdb_test): Add additional message
498 for unexpected output.
499
500 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
501
502 * gdb.base/examine-backward.c (Barrier): New character array
503 constant, to ensure that TestStrings is preceded by a string
504 terminator.
505
506 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
507
508 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
509 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
510 and implicit pointer into such a location.
511
512 2017-03-16 Doug Evans <dje@google.com>
513
514 * gdb.python/py-lazy-string (pointer): Really add new typedef.
515
516 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
517
518 * gdb.cp/m-static.exp: Fix expectation for prototype of
519 test5.single_constructor and single_constructor::single_constructor.
520
521 2017-03-16 Doug Evans <dje@google.com>
522
523 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
524 * gdb.guile/scm-lazy-string.c: New file.
525 * gdb.guile/scm-value.exp: Move lazy string tests to ...
526 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
527 for pointer, array, typedef lazy strings.
528
529 2017-03-16 Doug Evans <dje@google.com>
530
531 PR python/17728, python/18439, python/18779
532 * gdb.python/py-value.c (main) Delete locals sptr, sn.
533 * gdb.python/py-lazy-string.c (pointer): New typedef.
534 (main): New locals ptr, array, typedef_ptr.
535 * gdb.python/py-value.exp: Move lazy string tests to ...
536 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
537 array, typedef lazy strings.
538
539 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
540
541 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
542 Add optional 'test' parameter.
543
544 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
545
546 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
547 Skip for versions of DejaGnu < 1.5.
548
549 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
550
551 * lib/gdb.exp (dejagnu_version): New proc.
552 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
553 Use dejagnu_version.
554
555 2017-03-10 Keith Seitz <keiths@redhat.com>
556
557 PR c++/8128
558 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
559 type from destructor regexps.
560 Add a branch which actually passes the test.
561 Adjust "ptype t5i" test names.
562
563 2017-03-08 Pedro Alves <palves@redhat.com>
564
565 * gdb.base/step-over-exit.exp: Add explicit test message.
566
567 2017-03-08 Pedro Alves <palves@redhat.com>
568
569 PR gdb/18360
570 * gdb.threads/interrupt-while-step-over.c: New file.
571 * gdb.threads/interrupt-while-step-over.exp: New file.
572
573 2017-03-08 Pedro Alves <palves@redhat.com>
574
575 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
576 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
577
578 2017-03-08 Pedro Alves <palves@redhat.com>
579
580 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
581 PKRU as not supported as a PASS.
582
583 2017-03-08 Pedro Alves <palves@redhat.com>
584
585 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
586 prefix instead of $binfile1/$binfile2.
587 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
588 in test message.
589 * gdb.python/py-completion.exp: Use "load python file" as test
590 messages instead of unstable path names.
591
592 2017-03-08 Pedro Alves <palves@redhat.com>
593 Jan Kratochvil <jan.kratochvil@redhat.com>
594
595 PR cli/21218
596 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
597 New proc.
598 (top level): Call it.
599
600 2017-03-08 Pedro Alves <palves@redhat.com>
601
602 PR tui/21216
603 * gdb.tui/tui-nl-filtered-output.exp: New file.
604
605 2017-03-08 Pedro Alves <palves@redhat.com>
606
607 * gdb.base/completion.exp: Move TUI completion tests to ...
608 * gdb.tui/completion.exp: ... this new file.
609
610 2017-03-08 Pedro Alves <palves@redhat.com>
611
612 * gdb.base/tui-disasm-long-lines.c,
613 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
614 gdb.base/tui-layout.exp: Move to ...
615 * gdb.tui/: ... this new directory.
616
617 2017-03-07 Pedro Alves <palves@redhat.com>
618
619 * gdb.base/tui-layout.c: New file.
620 * gdb.base/tui-layout.exp: New file.
621
622 2017-03-07 Pedro Alves <palves@redhat.com>
623
624 * gdb.base/tui-layout.c: Rename to ...
625 * gdb.base/tui-disasm-long-lines.c: ... this.
626 * gdb.base/tui-layout.exp: Rename to ...
627 * gdb.base/tui-disasm-long-lines.exp: ... this.
628
629 2017-03-07 Pedro Alves <palves@redhat.com>
630
631 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
632
633 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
634
635 * i386-mpx-call.c: New file.
636 * i386-mpx-call.exp: New file.
637
638 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
639
640 * gdb.arch/powerpc-power.exp: Delete test.
641 * gdb.arch/powerpc-power.s: Likewise.
642 * gdb.disasm/disassembler-options.exp: New test.
643 * gdb.arch/powerpc-altivec.exp: Likewise.
644 * gdb.arch/powerpc-altivec.s: Likewise.
645 * gdb.arch/powerpc-altivec2.exp: Likewise.
646 * gdb.arch/powerpc-altivec2.s: Likewise.
647 * gdb.arch/powerpc-altivec3.exp: Likewise.
648 * gdb.arch/powerpc-altivec3.s: Likewise.
649 * gdb.arch/powerpc-power7.exp: Likewise.
650 * gdb.arch/powerpc-power7.s: Likewise.
651 * gdb.arch/powerpc-power8.exp: Likewise.
652 * gdb.arch/powerpc-power8.s: Likewise.
653 * gdb.arch/powerpc-power9.exp: Likewise.
654 * gdb.arch/powerpc-power9.s: Likewise.
655 * gdb.arch/powerpc-vsx.exp: Likewise.
656 * gdb.arch/powerpc-vsx.s: Likewise.
657 * gdb.arch/powerpc-vsx2.exp: Likewise.
658 * gdb.arch/powerpc-vsx2.s: Likewise.
659 * gdb.arch/powerpc-vsx3.exp: Likewise.
660 * gdb.arch/powerpc-vsx3.s: Likewise.
661 * gdb.arch/arm-disassembler-options.exp: Likewise.
662 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
663 * gdb.arch/s390-disassembler-options.exp: Likewise.
664
665 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
666
667 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
668 (check_supported_features): ... this. Changed return type to void.
669 (supports_rdseed): New static global.
670 (rdseed): Check supports_rdseed.
671 (initialize): Call check_supported_features.
672
673 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
674
675 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
676 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
677 and lqarx/stqcx.
678 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
679 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
680
681 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
682
683 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
684 uppercase.
685
686 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
687
688 * gdb.dwarf2/formdata16.c: New file.
689 * gdb.dwarf2/formdata16.exp: New file.
690 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
691
692 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
693
694 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
695 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
696 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
697 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
698 DW_AT_GNU_*.
699
700 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
701
702 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
703
704 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
705
706 PR gdb/21164
707 * gdb.base/maint.exp: Add testcases for when the commands do
708 not have arguments.
709
710 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
711
712 * gdb.cp/chained-calls.exp: Use p instead of P.
713
714 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
715
716 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
717 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
718
719 2017-02-14 Tom Tromey <tom@tromey.com>
720
721 PR python/13598:
722 * gdb.python/py-events.exp: Add before_prompt event tests.
723
724 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
725
726 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
727
728 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
729
730 * gdb.linespec/explicit.c (my_unique_function_name): New function.
731 (main): Call my_unique_function_name.
732 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
733 completion of patterns with a single match.
734 Add missing -re switches to gdb_test_multiple calls.
735
736 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
737
738 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
739 return if core file is not recognized.
740
741 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
742
743 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
744 and extra UIs.
745
746 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
747
748 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
749 proc_with_prefix.
750
751 2017-02-10 Tom Tromey <tom@tromey.com>
752
753 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
754
755 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
756
757 PR gdb/21122
758 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
759
760 2017-02-08 Jerome Guitton <guitton@adacore.com>
761
762 * gdb.base/define.exp: Add test for command abbreviations
763 in define.
764
765 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
766
767 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
768 * gdb.reverse/insn-reverse-x86.c: New file.
769
770 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
771
772 PR tdep/20936
773 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
774
775 2017-02-03 Tom Tromey <tom@tromey.com>
776
777 PR rust/21097:
778 * gdb.rust/simple.exp: Add new tests.
779
780 2017-02-02 Pedro Alves <palves@redhat.com>
781
782 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
783 tests.
784
785 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
786
787 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
788 taking a 2-byte value out of a 4-byte DWARF implicit value on
789 big-endian targets.
790 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
791 logic. Add test cases for DW_OP_implicit.
792
793 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
794
795 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
796
797 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
798
799 * gdb.btrace/enable.exp: Call gdb_exit before
800 skip_gdbserver_tests.
801
802 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
803
804 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
805 GDBFLAGS.
806
807 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
808
809 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
810 the test is skipped.
811 * gdb.btrace/data.exp: Likewise.
812 * gdb.btrace/delta.exp: Likewise.
813 * gdb.btrace/dlopen.exp: Likewise.
814 * gdb.btrace/enable-running.exp: Likewise.
815 * gdb.btrace/enable.exp: Likewise.
816 * gdb.btrace/exception.exp: Likewise.
817 * gdb.btrace/function_call_history.exp: Likewise.
818 * gdb.btrace/gcore.exp: Likewise.
819 * gdb.btrace/instruction_history.exp: Likewise.
820 * gdb.btrace/multi-thread-step.exp: Likewise.
821 * gdb.btrace/nohist.exp: Likewise.
822 * gdb.btrace/non-stop.exp: Likewise.
823 * gdb.btrace/reconnect.exp: Likewise.
824 * gdb.btrace/record_goto-step.exp: Likewise.
825 * gdb.btrace/record_goto.exp: Likewise.
826 * gdb.btrace/rn-dl-bind.exp: Likewise.
827 * gdb.btrace/segv.exp: Likewise.
828 * gdb.btrace/step.exp: Likewise.
829 * gdb.btrace/stepi.exp: Likewise.
830 * gdb.btrace/tailcall-only.exp: Likewise.
831 * gdb.btrace/tailcall.exp: Likewise.
832 * gdb.btrace/tsx.exp: Likewise.
833 * gdb.btrace/unknown_functions.exp: Likewise.
834 * gdb.btrace/vdso.exp: Likewise.
835
836 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
837
838 * gdb.btrace/enable-running.c: New.
839 * gdb.btrace/enable-running.exp: New.
840
841 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
842
843 * gdb.arch/amd64-gs_base.c: New file.
844 * gdb.arch/amd64-gs_base.exp: New file.
845
846 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
847
848 * lib/memory.exp: Remove spurious empty newlines.
849
850 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
851
852 * gdb.python/py-bad-printers.exp: Load python file using "source".
853 * gdb.python/py-events.exp: Likewise.
854 * gdb.python/py-evsignal.exp: Likewise.
855 * gdb.python/py-evthreads.exp: Likewise.
856 * gdb.python/py-frame-args.exp: Likewise.
857 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
858 * gdb.python/py-framefilter-mi.exp: Likewise.
859 * gdb.python/py-framefilter.exp: Likewise.
860 * gdb.python/py-mi.exp: Likewise.
861 * gdb.python/py-pp-maint.exp: Likewise.
862 * gdb.python/py-pp-registration.exp: Likewise.
863 * gdb.python/py-prettyprint.exp: Likewise.
864 (run_lang_tests): Likewise.
865 * gdb.python/py-typeprint.exp: Likewise.
866
867 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
868
869 * lib/memory.exp: New file.
870 * lib/gdb.exp: Load memory.exp.
871 * gdb.base/memattr.exp (delete_memory): Move proc to
872 lib/memory.exp and rename to delete_memory_regions.
873 Replace delete_memory with delete_memory_regions.
874 Cleanup memory regions before tests.
875 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
876 before tests.
877
878 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
879
880 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
881 files.
882 (initialize): New function conditionally defined.
883 (testcases): Move within conditional block.
884 (main): Call initialize.
885 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
886 of gdb.reverse/insn-reverse.c.
887 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
888 gdb.reverse/insn-reverse.c.
889
890 2017-01-26 Yao Qi <yao.qi@linaro.org>
891
892 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
893 disassemble on address 0.
894
895 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
896 Yao Qi <yao.qi@linaro.org>
897
898 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
899 * gdb.dwarf2/implptr-64bit.S: Remove.
900 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
901 variables in caller's context. Add DW_OP_implicit_value.
902
903 2017-01-25 Yao Qi <yao.qi@linaro.org>
904
905 * lib/dwarf.exp (Dwarf::_location): Handle
906 DW_OP_GNU_implicit_pointer with proper size.
907
908 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
909
910 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
911 and add untested calls.
912
913 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
914
915 * gdb.python/python.exp: Check line number against what GDB thinks
916 the line number is for func1.
917
918 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
919
920 * gdb.dlang/debug-expr.exp: New file.
921
922 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
923
924 Fix test names for the following files:
925
926 * gdb.ada/exec_changed.exp
927 * gdb.ada/info_types.exp
928 * gdb.arch/aarch64-atomic-inst.exp
929 * gdb.arch/aarch64-fp.exp
930 * gdb.arch/altivec-abi.exp
931 * gdb.arch/altivec-regs.exp
932 * gdb.arch/amd64-byte.exp
933 * gdb.arch/amd64-disp-step.exp
934 * gdb.arch/amd64-dword.exp
935 * gdb.arch/amd64-entry-value-inline.exp
936 * gdb.arch/amd64-entry-value-param.exp
937 * gdb.arch/amd64-entry-value-paramref.exp
938 * gdb.arch/amd64-entry-value.exp
939 * gdb.arch/amd64-i386-address.exp
940 * gdb.arch/amd64-invalid-stack-middle.exp
941 * gdb.arch/amd64-invalid-stack-top.exp
942 * gdb.arch/amd64-optimout-repeat.exp
943 * gdb.arch/amd64-prologue-skip.exp
944 * gdb.arch/amd64-prologue-xmm.exp
945 * gdb.arch/amd64-stap-special-operands.exp
946 * gdb.arch/amd64-stap-wrong-subexp.exp
947 * gdb.arch/amd64-tailcall-cxx.exp
948 * gdb.arch/amd64-tailcall-noret.exp
949 * gdb.arch/amd64-tailcall-ret.exp
950 * gdb.arch/amd64-tailcall-self.exp
951 * gdb.arch/amd64-word.exp
952 * gdb.arch/arm-bl-branch-dest.exp
953 * gdb.arch/arm-disp-step.exp
954 * gdb.arch/arm-neon.exp
955 * gdb.arch/arm-single-step-kernel-helper.exp
956 * gdb.arch/avr-flash-qualifier.exp
957 * gdb.arch/disp-step-insn-reloc.exp
958 * gdb.arch/e500-abi.exp
959 * gdb.arch/e500-regs.exp
960 * gdb.arch/ftrace-insn-reloc.exp
961 * gdb.arch/i386-avx512.exp
962 * gdb.arch/i386-bp_permanent.exp
963 * gdb.arch/i386-byte.exp
964 * gdb.arch/i386-cfi-notcurrent.exp
965 * gdb.arch/i386-disp-step.exp
966 * gdb.arch/i386-dr3-watch.exp
967 * gdb.arch/i386-float.exp
968 * gdb.arch/i386-gnu-cfi.exp
969 * gdb.arch/i386-mpx-map.exp
970 * gdb.arch/i386-mpx-sigsegv.exp
971 * gdb.arch/i386-mpx-simple_segv.exp
972 * gdb.arch/i386-mpx.exp
973 * gdb.arch/i386-permbkpt.exp
974 * gdb.arch/i386-prologue.exp
975 * gdb.arch/i386-signal.exp
976 * gdb.arch/i386-size-overlap.exp
977 * gdb.arch/i386-unwind.exp
978 * gdb.arch/i386-word.exp
979 * gdb.arch/mips-fcr.exp
980 * gdb.arch/powerpc-d128-regs.exp
981 * gdb.arch/powerpc-stackless.exp
982 * gdb.arch/ppc64-atomic-inst.exp
983 * gdb.arch/s390-stackless.exp
984 * gdb.arch/s390-tdbregs.exp
985 * gdb.arch/s390-vregs.exp
986 * gdb.arch/sparc-sysstep.exp
987 * gdb.arch/thumb-bx-pc.exp
988 * gdb.arch/thumb-singlestep.exp
989 * gdb.arch/thumb2-it.exp
990 * gdb.arch/vsx-regs.exp
991 * gdb.asm/asm-source.exp
992 * gdb.base/a2-run.exp
993 * gdb.base/advance.exp
994 * gdb.base/all-bin.exp
995 * gdb.base/anon.exp
996 * gdb.base/args.exp
997 * gdb.base/arithmet.exp
998 * gdb.base/async-shell.exp
999 * gdb.base/async.exp
1000 * gdb.base/attach-pie-noexec.exp
1001 * gdb.base/attach-twice.exp
1002 * gdb.base/auto-load.exp
1003 * gdb.base/bang.exp
1004 * gdb.base/bitfields.exp
1005 * gdb.base/break-always.exp
1006 * gdb.base/break-caller-line.exp
1007 * gdb.base/break-entry.exp
1008 * gdb.base/break-inline.exp
1009 * gdb.base/break-on-linker-gcd-function.exp
1010 * gdb.base/break-probes.exp
1011 * gdb.base/break.exp
1012 * gdb.base/breakpoint-shadow.exp
1013 * gdb.base/call-ar-st.exp
1014 * gdb.base/call-sc.exp
1015 * gdb.base/call-signal-resume.exp
1016 * gdb.base/call-strs.exp
1017 * gdb.base/callfuncs.exp
1018 * gdb.base/catch-fork-static.exp
1019 * gdb.base/catch-gdb-caused-signals.exp
1020 * gdb.base/catch-load.exp
1021 * gdb.base/catch-signal-fork.exp
1022 * gdb.base/catch-signal.exp
1023 * gdb.base/catch-syscall.exp
1024 * gdb.base/charset.exp
1025 * gdb.base/checkpoint.exp
1026 * gdb.base/chng-syms.exp
1027 * gdb.base/code-expr.exp
1028 * gdb.base/code_elim.exp
1029 * gdb.base/commands.exp
1030 * gdb.base/completion.exp
1031 * gdb.base/complex.exp
1032 * gdb.base/cond-expr.exp
1033 * gdb.base/condbreak.exp
1034 * gdb.base/consecutive.exp
1035 * gdb.base/continue-all-already-running.exp
1036 * gdb.base/coredump-filter.exp
1037 * gdb.base/corefile.exp
1038 * gdb.base/dbx.exp
1039 * gdb.base/debug-expr.exp
1040 * gdb.base/define.exp
1041 * gdb.base/del.exp
1042 * gdb.base/disabled-location.exp
1043 * gdb.base/disasm-end-cu.exp
1044 * gdb.base/disasm-optim.exp
1045 * gdb.base/display.exp
1046 * gdb.base/duplicate-bp.exp
1047 * gdb.base/ena-dis-br.exp
1048 * gdb.base/ending-run.exp
1049 * gdb.base/enumval.exp
1050 * gdb.base/environ.exp
1051 * gdb.base/eu-strip-infcall.exp
1052 * gdb.base/eval-avoid-side-effects.exp
1053 * gdb.base/eval-skip.exp
1054 * gdb.base/exitsignal.exp
1055 * gdb.base/expand-psymtabs.exp
1056 * gdb.base/filesym.exp
1057 * gdb.base/find-unmapped.exp
1058 * gdb.base/finish.exp
1059 * gdb.base/float.exp
1060 * gdb.base/foll-exec-mode.exp
1061 * gdb.base/foll-exec.exp
1062 * gdb.base/foll-fork.exp
1063 * gdb.base/fortran-sym-case.exp
1064 * gdb.base/freebpcmd.exp
1065 * gdb.base/func-ptr.exp
1066 * gdb.base/func-ptrs.exp
1067 * gdb.base/funcargs.exp
1068 * gdb.base/gcore-buffer-overflow.exp
1069 * gdb.base/gcore-relro-pie.exp
1070 * gdb.base/gcore-relro.exp
1071 * gdb.base/gcore.exp
1072 * gdb.base/gdb1090.exp
1073 * gdb.base/gdb11530.exp
1074 * gdb.base/gdb11531.exp
1075 * gdb.base/gdb1821.exp
1076 * gdb.base/gdbindex-stabs.exp
1077 * gdb.base/gdbvars.exp
1078 * gdb.base/hbreak.exp
1079 * gdb.base/hbreak2.exp
1080 * gdb.base/included.exp
1081 * gdb.base/infcall-input.exp
1082 * gdb.base/inferior-died.exp
1083 * gdb.base/infnan.exp
1084 * gdb.base/info-macros.exp
1085 * gdb.base/info-os.exp
1086 * gdb.base/info-proc.exp
1087 * gdb.base/info-shared.exp
1088 * gdb.base/info-target.exp
1089 * gdb.base/infoline.exp
1090 * gdb.base/interp.exp
1091 * gdb.base/interrupt.exp
1092 * gdb.base/jit-reader.exp
1093 * gdb.base/jit-simple.exp
1094 * gdb.base/kill-after-signal.exp
1095 * gdb.base/kill-detach-inferiors-cmd.exp
1096 * gdb.base/label.exp
1097 * gdb.base/langs.exp
1098 * gdb.base/ldbl_e308.exp
1099 * gdb.base/line-symtabs.exp
1100 * gdb.base/linespecs.exp
1101 * gdb.base/list.exp
1102 * gdb.base/long_long.exp
1103 * gdb.base/longest-types.exp
1104 * gdb.base/maint.exp
1105 * gdb.base/max-value-size.exp
1106 * gdb.base/memattr.exp
1107 * gdb.base/mips_pro.exp
1108 * gdb.base/morestack.exp
1109 * gdb.base/moribund-step.exp
1110 * gdb.base/multi-forks.exp
1111 * gdb.base/nested-addr.exp
1112 * gdb.base/nextoverexit.exp
1113 * gdb.base/noreturn-finish.exp
1114 * gdb.base/noreturn-return.exp
1115 * gdb.base/nostdlib.exp
1116 * gdb.base/offsets.exp
1117 * gdb.base/opaque.exp
1118 * gdb.base/pc-fp.exp
1119 * gdb.base/permissions.exp
1120 * gdb.base/print-symbol-loading.exp
1121 * gdb.base/prologue-include.exp
1122 * gdb.base/psymtab.exp
1123 * gdb.base/ptype.exp
1124 * gdb.base/random-signal.exp
1125 * gdb.base/randomize.exp
1126 * gdb.base/range-stepping.exp
1127 * gdb.base/readline-ask.exp
1128 * gdb.base/recpar.exp
1129 * gdb.base/recurse.exp
1130 * gdb.base/relational.exp
1131 * gdb.base/restore.exp
1132 * gdb.base/return-nodebug.exp
1133 * gdb.base/return.exp
1134 * gdb.base/run-after-attach.exp
1135 * gdb.base/save-bp.exp
1136 * gdb.base/scope.exp
1137 * gdb.base/sect-cmd.exp
1138 * gdb.base/set-lang-auto.exp
1139 * gdb.base/set-noassign.exp
1140 * gdb.base/setvar.exp
1141 * gdb.base/sigall.exp
1142 * gdb.base/sigbpt.exp
1143 * gdb.base/siginfo-addr.exp
1144 * gdb.base/siginfo-infcall.exp
1145 * gdb.base/siginfo-obj.exp
1146 * gdb.base/siginfo.exp
1147 * gdb.base/signals-state-child.exp
1148 * gdb.base/signest.exp
1149 * gdb.base/sigstep.exp
1150 * gdb.base/sizeof.exp
1151 * gdb.base/skip.exp
1152 * gdb.base/solib-corrupted.exp
1153 * gdb.base/solib-nodir.exp
1154 * gdb.base/solib-search.exp
1155 * gdb.base/stack-checking.exp
1156 * gdb.base/stale-infcall.exp
1157 * gdb.base/stap-probe.exp
1158 * gdb.base/start.exp
1159 * gdb.base/step-break.exp
1160 * gdb.base/step-bt.exp
1161 * gdb.base/step-line.exp
1162 * gdb.base/step-over-exit.exp
1163 * gdb.base/step-over-syscall.exp
1164 * gdb.base/step-resume-infcall.exp
1165 * gdb.base/step-test.exp
1166 * gdb.base/store.exp
1167 * gdb.base/structs3.exp
1168 * gdb.base/sym-file.exp
1169 * gdb.base/symbol-without-target_section.exp
1170 * gdb.base/term.exp
1171 * gdb.base/testenv.exp
1172 * gdb.base/ui-redirect.exp
1173 * gdb.base/until.exp
1174 * gdb.base/unwindonsignal.exp
1175 * gdb.base/value-double-free.exp
1176 * gdb.base/vla-datatypes.exp
1177 * gdb.base/vla-ptr.exp
1178 * gdb.base/vla-sideeffect.exp
1179 * gdb.base/volatile.exp
1180 * gdb.base/watch-cond-infcall.exp
1181 * gdb.base/watch-cond.exp
1182 * gdb.base/watch-non-mem.exp
1183 * gdb.base/watch-read.exp
1184 * gdb.base/watch-vfork.exp
1185 * gdb.base/watchpoint-cond-gone.exp
1186 * gdb.base/watchpoint-delete.exp
1187 * gdb.base/watchpoint-hw-hit-once.exp
1188 * gdb.base/watchpoint-hw.exp
1189 * gdb.base/watchpoint-stops-at-right-insn.exp
1190 * gdb.base/watchpoints.exp
1191 * gdb.base/wchar.exp
1192 * gdb.base/whatis-exp.exp
1193 * gdb.btrace/buffer-size.exp
1194 * gdb.btrace/data.exp
1195 * gdb.btrace/delta.exp
1196 * gdb.btrace/dlopen.exp
1197 * gdb.btrace/enable.exp
1198 * gdb.btrace/exception.exp
1199 * gdb.btrace/function_call_history.exp
1200 * gdb.btrace/gcore.exp
1201 * gdb.btrace/instruction_history.exp
1202 * gdb.btrace/nohist.exp
1203 * gdb.btrace/reconnect.exp
1204 * gdb.btrace/record_goto-step.exp
1205 * gdb.btrace/record_goto.exp
1206 * gdb.btrace/rn-dl-bind.exp
1207 * gdb.btrace/segv.exp
1208 * gdb.btrace/step.exp
1209 * gdb.btrace/stepi.exp
1210 * gdb.btrace/tailcall-only.exp
1211 * gdb.btrace/tailcall.exp
1212 * gdb.btrace/tsx.exp
1213 * gdb.btrace/unknown_functions.exp
1214 * gdb.btrace/vdso.exp
1215 * gdb.compile/compile-ifunc.exp
1216 * gdb.compile/compile-ops.exp
1217 * gdb.compile/compile-print.exp
1218 * gdb.compile/compile-setjmp.exp
1219 * gdb.cp/abstract-origin.exp
1220 * gdb.cp/ambiguous.exp
1221 * gdb.cp/annota2.exp
1222 * gdb.cp/annota3.exp
1223 * gdb.cp/anon-ns.exp
1224 * gdb.cp/anon-struct.exp
1225 * gdb.cp/anon-union.exp
1226 * gdb.cp/arg-reference.exp
1227 * gdb.cp/baseenum.exp
1228 * gdb.cp/bool.exp
1229 * gdb.cp/breakpoint.exp
1230 * gdb.cp/bs15503.exp
1231 * gdb.cp/call-c.exp
1232 * gdb.cp/casts.exp
1233 * gdb.cp/chained-calls.exp
1234 * gdb.cp/class2.exp
1235 * gdb.cp/classes.exp
1236 * gdb.cp/cmpd-minsyms.exp
1237 * gdb.cp/converts.exp
1238 * gdb.cp/cp-relocate.exp
1239 * gdb.cp/cpcompletion.exp
1240 * gdb.cp/cpexprs.exp
1241 * gdb.cp/cplabel.exp
1242 * gdb.cp/cplusfuncs.exp
1243 * gdb.cp/cpsizeof.exp
1244 * gdb.cp/ctti.exp
1245 * gdb.cp/derivation.exp
1246 * gdb.cp/destrprint.exp
1247 * gdb.cp/dispcxx.exp
1248 * gdb.cp/enum-class.exp
1249 * gdb.cp/exception.exp
1250 * gdb.cp/exceptprint.exp
1251 * gdb.cp/expand-psymtabs-cxx.exp
1252 * gdb.cp/expand-sals.exp
1253 * gdb.cp/extern-c.exp
1254 * gdb.cp/filename.exp
1255 * gdb.cp/formatted-ref.exp
1256 * gdb.cp/fpointer.exp
1257 * gdb.cp/gdb1355.exp
1258 * gdb.cp/gdb2495.exp
1259 * gdb.cp/hang.exp
1260 * gdb.cp/impl-this.exp
1261 * gdb.cp/infcall-dlopen.exp
1262 * gdb.cp/inherit.exp
1263 * gdb.cp/iostream.exp
1264 * gdb.cp/koenig.exp
1265 * gdb.cp/local.exp
1266 * gdb.cp/m-data.exp
1267 * gdb.cp/m-static.exp
1268 * gdb.cp/mb-ctor.exp
1269 * gdb.cp/mb-inline.exp
1270 * gdb.cp/mb-templates.exp
1271 * gdb.cp/member-name.exp
1272 * gdb.cp/member-ptr.exp
1273 * gdb.cp/meth-typedefs.exp
1274 * gdb.cp/method.exp
1275 * gdb.cp/method2.exp
1276 * gdb.cp/minsym-fallback.exp
1277 * gdb.cp/misc.exp
1278 * gdb.cp/namelessclass.exp
1279 * gdb.cp/namespace-enum.exp
1280 * gdb.cp/namespace-nested-import.exp
1281 * gdb.cp/namespace.exp
1282 * gdb.cp/nextoverthrow.exp
1283 * gdb.cp/no-dmgl-verbose.exp
1284 * gdb.cp/non-trivial-retval.exp
1285 * gdb.cp/noparam.exp
1286 * gdb.cp/nsdecl.exp
1287 * gdb.cp/nsimport.exp
1288 * gdb.cp/nsnested.exp
1289 * gdb.cp/nsnoimports.exp
1290 * gdb.cp/nsrecurs.exp
1291 * gdb.cp/nsstress.exp
1292 * gdb.cp/nsusing.exp
1293 * gdb.cp/operator.exp
1294 * gdb.cp/oranking.exp
1295 * gdb.cp/overload-const.exp
1296 * gdb.cp/overload.exp
1297 * gdb.cp/ovldbreak.exp
1298 * gdb.cp/ovsrch.exp
1299 * gdb.cp/paren-type.exp
1300 * gdb.cp/parse-lang.exp
1301 * gdb.cp/pass-by-ref.exp
1302 * gdb.cp/pr-1023.exp
1303 * gdb.cp/pr-1210.exp
1304 * gdb.cp/pr-574.exp
1305 * gdb.cp/pr10687.exp
1306 * gdb.cp/pr12028.exp
1307 * gdb.cp/pr17132.exp
1308 * gdb.cp/pr17494.exp
1309 * gdb.cp/pr9067.exp
1310 * gdb.cp/pr9167.exp
1311 * gdb.cp/pr9631.exp
1312 * gdb.cp/printmethod.exp
1313 * gdb.cp/psmang.exp
1314 * gdb.cp/psymtab-parameter.exp
1315 * gdb.cp/ptype-cv-cp.exp
1316 * gdb.cp/ptype-flags.exp
1317 * gdb.cp/re-set-overloaded.exp
1318 * gdb.cp/ref-types.exp
1319 * gdb.cp/rtti.exp
1320 * gdb.cp/scope-err.exp
1321 * gdb.cp/shadow.exp
1322 * gdb.cp/smartp.exp
1323 * gdb.cp/static-method.exp
1324 * gdb.cp/static-print-quit.exp
1325 * gdb.cp/temargs.exp
1326 * gdb.cp/templates.exp
1327 * gdb.cp/try_catch.exp
1328 * gdb.cp/typedef-operator.exp
1329 * gdb.cp/typeid.exp
1330 * gdb.cp/userdef.exp
1331 * gdb.cp/using-crash.exp
1332 * gdb.cp/var-tag.exp
1333 * gdb.cp/virtbase.exp
1334 * gdb.cp/virtfunc.exp
1335 * gdb.cp/virtfunc2.exp
1336 * gdb.cp/vla-cxx.exp
1337 * gdb.disasm/t01_mov.exp
1338 * gdb.disasm/t02_mova.exp
1339 * gdb.disasm/t03_add.exp
1340 * gdb.disasm/t04_sub.exp
1341 * gdb.disasm/t05_cmp.exp
1342 * gdb.disasm/t06_ari2.exp
1343 * gdb.disasm/t07_ari3.exp
1344 * gdb.disasm/t08_or.exp
1345 * gdb.disasm/t09_xor.exp
1346 * gdb.disasm/t10_and.exp
1347 * gdb.disasm/t11_logs.exp
1348 * gdb.disasm/t12_bit.exp
1349 * gdb.disasm/t13_otr.exp
1350 * gdb.dlang/circular.exp
1351 * gdb.dwarf2/arr-stride.exp
1352 * gdb.dwarf2/arr-subrange.exp
1353 * gdb.dwarf2/atomic-type.exp
1354 * gdb.dwarf2/bad-regnum.exp
1355 * gdb.dwarf2/bitfield-parent-optimized-out.exp
1356 * gdb.dwarf2/callframecfa.exp
1357 * gdb.dwarf2/clztest.exp
1358 * gdb.dwarf2/corrupt.exp
1359 * gdb.dwarf2/data-loc.exp
1360 * gdb.dwarf2/dup-psym.exp
1361 * gdb.dwarf2/dw2-anon-mptr.exp
1362 * gdb.dwarf2/dw2-anonymous-func.exp
1363 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
1364 * gdb.dwarf2/dw2-bad-unresolved.exp
1365 * gdb.dwarf2/dw2-basic.exp
1366 * gdb.dwarf2/dw2-canonicalize-type.exp
1367 * gdb.dwarf2/dw2-case-insensitive.exp
1368 * gdb.dwarf2/dw2-common-block.exp
1369 * gdb.dwarf2/dw2-compdir-oldgcc.exp
1370 * gdb.dwarf2/dw2-compressed.exp
1371 * gdb.dwarf2/dw2-const.exp
1372 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
1373 * gdb.dwarf2/dw2-cu-size.exp
1374 * gdb.dwarf2/dw2-dup-frame.exp
1375 * gdb.dwarf2/dw2-entry-value.exp
1376 * gdb.dwarf2/dw2-icycle.exp
1377 * gdb.dwarf2/dw2-ifort-parameter.exp
1378 * gdb.dwarf2/dw2-inline-break.exp
1379 * gdb.dwarf2/dw2-inline-param.exp
1380 * gdb.dwarf2/dw2-intercu.exp
1381 * gdb.dwarf2/dw2-intermix.exp
1382 * gdb.dwarf2/dw2-lexical-block-bare.exp
1383 * gdb.dwarf2/dw2-linkage-name-trust.exp
1384 * gdb.dwarf2/dw2-minsym-in-cu.exp
1385 * gdb.dwarf2/dw2-noloc.exp
1386 * gdb.dwarf2/dw2-op-call.exp
1387 * gdb.dwarf2/dw2-op-out-param.exp
1388 * gdb.dwarf2/dw2-opt-structptr.exp
1389 * gdb.dwarf2/dw2-param-error.exp
1390 * gdb.dwarf2/dw2-producer.exp
1391 * gdb.dwarf2/dw2-ranges-base.exp
1392 * gdb.dwarf2/dw2-ref-missing-frame.exp
1393 * gdb.dwarf2/dw2-reg-undefined.exp
1394 * gdb.dwarf2/dw2-regno-invalid.exp
1395 * gdb.dwarf2/dw2-restore.exp
1396 * gdb.dwarf2/dw2-restrict.exp
1397 * gdb.dwarf2/dw2-single-line-discriminators.exp
1398 * gdb.dwarf2/dw2-strp.exp
1399 * gdb.dwarf2/dw2-undefined-ret-addr.exp
1400 * gdb.dwarf2/dw2-unresolved.exp
1401 * gdb.dwarf2/dw2-var-zero-addr.exp
1402 * gdb.dwarf2/dw4-sig-types.exp
1403 * gdb.dwarf2/dwz.exp
1404 * gdb.dwarf2/dynarr-ptr.exp
1405 * gdb.dwarf2/enum-type.exp
1406 * gdb.dwarf2/gdb-index.exp
1407 * gdb.dwarf2/implptr-64bit.exp
1408 * gdb.dwarf2/implptr-optimized-out.exp
1409 * gdb.dwarf2/implptr.exp
1410 * gdb.dwarf2/implref-array.exp
1411 * gdb.dwarf2/implref-const.exp
1412 * gdb.dwarf2/implref-global.exp
1413 * gdb.dwarf2/implref-struct.exp
1414 * gdb.dwarf2/mac-fileno.exp
1415 * gdb.dwarf2/main-subprogram.exp
1416 * gdb.dwarf2/member-ptr-forwardref.exp
1417 * gdb.dwarf2/method-ptr.exp
1418 * gdb.dwarf2/missing-sig-type.exp
1419 * gdb.dwarf2/nonvar-access.exp
1420 * gdb.dwarf2/opaque-type-lookup.exp
1421 * gdb.dwarf2/pieces-optimized-out.exp
1422 * gdb.dwarf2/pieces.exp
1423 * gdb.dwarf2/pr10770.exp
1424 * gdb.dwarf2/pr13961.exp
1425 * gdb.dwarf2/staticvirtual.exp
1426 * gdb.dwarf2/subrange.exp
1427 * gdb.dwarf2/symtab-producer.exp
1428 * gdb.dwarf2/trace-crash.exp
1429 * gdb.dwarf2/typeddwarf.exp
1430 * gdb.dwarf2/valop.exp
1431 * gdb.dwarf2/watch-notconst.exp
1432 * gdb.fortran/array-element.exp
1433 * gdb.fortran/charset.exp
1434 * gdb.fortran/common-block.exp
1435 * gdb.fortran/complex.exp
1436 * gdb.fortran/derived-type-function.exp
1437 * gdb.fortran/derived-type.exp
1438 * gdb.fortran/logical.exp
1439 * gdb.fortran/module.exp
1440 * gdb.fortran/multi-dim.exp
1441 * gdb.fortran/nested-funcs.exp
1442 * gdb.fortran/print-formatted.exp
1443 * gdb.fortran/subarray.exp
1444 * gdb.fortran/vla-alloc-assoc.exp
1445 * gdb.fortran/vla-datatypes.exp
1446 * gdb.fortran/vla-history.exp
1447 * gdb.fortran/vla-ptr-info.exp
1448 * gdb.fortran/vla-ptype-sub.exp
1449 * gdb.fortran/vla-ptype.exp
1450 * gdb.fortran/vla-sizeof.exp
1451 * gdb.fortran/vla-type.exp
1452 * gdb.fortran/vla-value-sub-arbitrary.exp
1453 * gdb.fortran/vla-value-sub-finish.exp
1454 * gdb.fortran/vla-value-sub.exp
1455 * gdb.fortran/vla-value.exp
1456 * gdb.fortran/whatis_type.exp
1457 * gdb.go/chan.exp
1458 * gdb.go/handcall.exp
1459 * gdb.go/hello.exp
1460 * gdb.go/integers.exp
1461 * gdb.go/methods.exp
1462 * gdb.go/package.exp
1463 * gdb.go/strings.exp
1464 * gdb.go/types.exp
1465 * gdb.go/unsafe.exp
1466 * gdb.guile/scm-arch.exp
1467 * gdb.guile/scm-block.exp
1468 * gdb.guile/scm-breakpoint.exp
1469 * gdb.guile/scm-cmd.exp
1470 * gdb.guile/scm-disasm.exp
1471 * gdb.guile/scm-equal.exp
1472 * gdb.guile/scm-frame-args.exp
1473 * gdb.guile/scm-frame-inline.exp
1474 * gdb.guile/scm-frame.exp
1475 * gdb.guile/scm-iterator.exp
1476 * gdb.guile/scm-math.exp
1477 * gdb.guile/scm-objfile.exp
1478 * gdb.guile/scm-ports.exp
1479 * gdb.guile/scm-symbol.exp
1480 * gdb.guile/scm-symtab.exp
1481 * gdb.guile/scm-value-cc.exp
1482 * gdb.guile/types-module.exp
1483 * gdb.linespec/break-ask.exp
1484 * gdb.linespec/cpexplicit.exp
1485 * gdb.linespec/explicit.exp
1486 * gdb.linespec/keywords.exp
1487 * gdb.linespec/linespec.exp
1488 * gdb.linespec/ls-dollar.exp
1489 * gdb.linespec/ls-errs.exp
1490 * gdb.linespec/skip-two.exp
1491 * gdb.linespec/thread.exp
1492 * gdb.mi/mi-async.exp
1493 * gdb.mi/mi-basics.exp
1494 * gdb.mi/mi-break.exp
1495 * gdb.mi/mi-catch-load.exp
1496 * gdb.mi/mi-cli.exp
1497 * gdb.mi/mi-cmd-param-changed.exp
1498 * gdb.mi/mi-console.exp
1499 * gdb.mi/mi-detach.exp
1500 * gdb.mi/mi-disassemble.exp
1501 * gdb.mi/mi-eval.exp
1502 * gdb.mi/mi-file-transfer.exp
1503 * gdb.mi/mi-file.exp
1504 * gdb.mi/mi-fill-memory.exp
1505 * gdb.mi/mi-inheritance-syntax-error.exp
1506 * gdb.mi/mi-linespec-err-cp.exp
1507 * gdb.mi/mi-logging.exp
1508 * gdb.mi/mi-memory-changed.exp
1509 * gdb.mi/mi-read-memory.exp
1510 * gdb.mi/mi-record-changed.exp
1511 * gdb.mi/mi-reg-undefined.exp
1512 * gdb.mi/mi-regs.exp
1513 * gdb.mi/mi-return.exp
1514 * gdb.mi/mi-reverse.exp
1515 * gdb.mi/mi-simplerun.exp
1516 * gdb.mi/mi-solib.exp
1517 * gdb.mi/mi-stack.exp
1518 * gdb.mi/mi-stepi.exp
1519 * gdb.mi/mi-syn-frame.exp
1520 * gdb.mi/mi-until.exp
1521 * gdb.mi/mi-var-block.exp
1522 * gdb.mi/mi-var-child.exp
1523 * gdb.mi/mi-var-cmd.exp
1524 * gdb.mi/mi-var-cp.exp
1525 * gdb.mi/mi-var-display.exp
1526 * gdb.mi/mi-var-invalidate.exp
1527 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
1528 * gdb.mi/mi-vla-fortran.exp
1529 * gdb.mi/mi-watch.exp
1530 * gdb.mi/mi2-var-child.exp
1531 * gdb.mi/user-selected-context-sync.exp
1532 * gdb.modula2/unbounded-array.exp
1533 * gdb.multi/dummy-frame-restore.exp
1534 * gdb.multi/multi-arch-exec.exp
1535 * gdb.multi/multi-arch.exp
1536 * gdb.multi/tids.exp
1537 * gdb.multi/watchpoint-multi.exp
1538 * gdb.opencl/callfuncs.exp
1539 * gdb.opencl/convs_casts.exp
1540 * gdb.opencl/datatypes.exp
1541 * gdb.opencl/operators.exp
1542 * gdb.opencl/vec_comps.exp
1543 * gdb.opt/clobbered-registers-O2.exp
1544 * gdb.opt/inline-break.exp
1545 * gdb.opt/inline-bt.exp
1546 * gdb.opt/inline-cmds.exp
1547 * gdb.opt/inline-locals.exp
1548 * gdb.pascal/case-insensitive-symbols.exp
1549 * gdb.pascal/floats.exp
1550 * gdb.pascal/gdb11492.exp
1551 * gdb.python/lib-types.exp
1552 * gdb.python/py-arch.exp
1553 * gdb.python/py-as-string.exp
1554 * gdb.python/py-bad-printers.exp
1555 * gdb.python/py-block.exp
1556 * gdb.python/py-breakpoint-create-fail.exp
1557 * gdb.python/py-breakpoint.exp
1558 * gdb.python/py-caller-is.exp
1559 * gdb.python/py-cmd.exp
1560 * gdb.python/py-explore-cc.exp
1561 * gdb.python/py-explore.exp
1562 * gdb.python/py-finish-breakpoint.exp
1563 * gdb.python/py-finish-breakpoint2.exp
1564 * gdb.python/py-frame-args.exp
1565 * gdb.python/py-frame-inline.exp
1566 * gdb.python/py-frame.exp
1567 * gdb.python/py-framefilter-mi.exp
1568 * gdb.python/py-infthread.exp
1569 * gdb.python/py-lazy-string.exp
1570 * gdb.python/py-linetable.exp
1571 * gdb.python/py-mi-events.exp
1572 * gdb.python/py-mi-objfile.exp
1573 * gdb.python/py-mi.exp
1574 * gdb.python/py-objfile.exp
1575 * gdb.python/py-pp-integral.exp
1576 * gdb.python/py-pp-maint.exp
1577 * gdb.python/py-pp-re-notag.exp
1578 * gdb.python/py-pp-registration.exp
1579 * gdb.python/py-recurse-unwind.exp
1580 * gdb.python/py-strfns.exp
1581 * gdb.python/py-symbol.exp
1582 * gdb.python/py-symtab.exp
1583 * gdb.python/py-sync-interp.exp
1584 * gdb.python/py-typeprint.exp
1585 * gdb.python/py-unwind-maint.exp
1586 * gdb.python/py-unwind.exp
1587 * gdb.python/py-value-cc.exp
1588 * gdb.python/py-xmethods.exp
1589 * gdb.reverse/amd64-tailcall-reverse.exp
1590 * gdb.reverse/break-precsave.exp
1591 * gdb.reverse/break-reverse.exp
1592 * gdb.reverse/consecutive-precsave.exp
1593 * gdb.reverse/consecutive-reverse.exp
1594 * gdb.reverse/finish-precsave.exp
1595 * gdb.reverse/finish-reverse-bkpt.exp
1596 * gdb.reverse/finish-reverse.exp
1597 * gdb.reverse/fstatat-reverse.exp
1598 * gdb.reverse/getresuid-reverse.exp
1599 * gdb.reverse/i386-precsave.exp
1600 * gdb.reverse/i386-reverse.exp
1601 * gdb.reverse/i386-sse-reverse.exp
1602 * gdb.reverse/i387-env-reverse.exp
1603 * gdb.reverse/i387-stack-reverse.exp
1604 * gdb.reverse/insn-reverse.exp
1605 * gdb.reverse/machinestate-precsave.exp
1606 * gdb.reverse/machinestate.exp
1607 * gdb.reverse/next-reverse-bkpt-over-sr.exp
1608 * gdb.reverse/pipe-reverse.exp
1609 * gdb.reverse/readv-reverse.exp
1610 * gdb.reverse/recvmsg-reverse.exp
1611 * gdb.reverse/rerun-prec.exp
1612 * gdb.reverse/s390-mvcle.exp
1613 * gdb.reverse/step-precsave.exp
1614 * gdb.reverse/step-reverse.exp
1615 * gdb.reverse/time-reverse.exp
1616 * gdb.reverse/until-precsave.exp
1617 * gdb.reverse/until-reverse.exp
1618 * gdb.reverse/waitpid-reverse.exp
1619 * gdb.reverse/watch-precsave.exp
1620 * gdb.reverse/watch-reverse.exp
1621 * gdb.rust/generics.exp
1622 * gdb.rust/methods.exp
1623 * gdb.rust/modules.exp
1624 * gdb.rust/simple.exp
1625 * gdb.server/connect-with-no-symbol-file.exp
1626 * gdb.server/ext-attach.exp
1627 * gdb.server/ext-restart.exp
1628 * gdb.server/ext-wrapper.exp
1629 * gdb.server/file-transfer.exp
1630 * gdb.server/server-exec-info.exp
1631 * gdb.server/server-kill.exp
1632 * gdb.server/server-mon.exp
1633 * gdb.server/wrapper.exp
1634 * gdb.stabs/exclfwd.exp
1635 * gdb.stabs/gdb11479.exp
1636 * gdb.threads/clone-new-thread-event.exp
1637 * gdb.threads/corethreads.exp
1638 * gdb.threads/current-lwp-dead.exp
1639 * gdb.threads/dlopen-libpthread.exp
1640 * gdb.threads/gcore-thread.exp
1641 * gdb.threads/sigstep-threads.exp
1642 * gdb.threads/watchpoint-fork.exp
1643 * gdb.trace/actions-changed.exp
1644 * gdb.trace/backtrace.exp
1645 * gdb.trace/change-loc.exp
1646 * gdb.trace/circ.exp
1647 * gdb.trace/collection.exp
1648 * gdb.trace/disconnected-tracing.exp
1649 * gdb.trace/ftrace.exp
1650 * gdb.trace/mi-trace-frame-collected.exp
1651 * gdb.trace/mi-trace-unavailable.exp
1652 * gdb.trace/mi-traceframe-changed.exp
1653 * gdb.trace/mi-tsv-changed.exp
1654 * gdb.trace/no-attach-trace.exp
1655 * gdb.trace/passc-dyn.exp
1656 * gdb.trace/qtro.exp
1657 * gdb.trace/range-stepping.exp
1658 * gdb.trace/read-memory.exp
1659 * gdb.trace/save-trace.exp
1660 * gdb.trace/signal.exp
1661 * gdb.trace/status-stop.exp
1662 * gdb.trace/tfile.exp
1663 * gdb.trace/trace-break.exp
1664 * gdb.trace/trace-buffer-size.exp
1665 * gdb.trace/trace-condition.exp
1666 * gdb.trace/tracefile-pseudo-reg.exp
1667 * gdb.trace/tstatus.exp
1668 * gdb.trace/unavailable.exp
1669 * gdb.trace/while-dyn.exp
1670 * gdb.trace/while-stepping.exp
1671
1672 2016-12-22 Doug Evans <xdje42@gmail.com>
1673
1674 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
1675 and msymbols.
1676
1677 2016-12-19 Yao Qi <yao.qi@linaro.org>
1678
1679 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
1680 (test_with_self): Don't call do_steps_and_nexts, and remove
1681 code about stepping into xmalloc.
1682
1683 2016-12-09 Yao Qi <yao.qi@linaro.org>
1684
1685 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
1686
1687 2016-12-09 Yao Qi <yao.qi@linaro.org>
1688
1689 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
1690
1691 2016-12-09 Pedro Alves <palves@redhat.com>
1692
1693 * gdb.base/all-architectures-0.exp: New file.
1694 * gdb.base/all-architectures-1.exp: New file.
1695 * gdb.base/all-architectures-2.exp: New file.
1696 * gdb.base/all-architectures-3.exp: New file.
1697 * gdb.base/all-architectures-4.exp: New file.
1698 * gdb.base/all-architectures-5.exp: New file.
1699 * gdb.base/all-architectures-6.exp: New file.
1700 * gdb.base/all-architectures-7.exp: New file.
1701 * gdb.base/all-architectures.exp.in: New file.
1702
1703 2016-12-09 Yao Qi <yao.qi@linaro.org>
1704
1705 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
1706
1707 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
1708
1709 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
1710 possible.
1711 Remove useless pattern-matching code.
1712
1713 2016-12-02 Pedro Alves <palves@redhat.com>
1714
1715 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
1716 procedure.
1717 (top level): Call it.
1718
1719 2016-12-02 Pedro Alves <palves@redhat.com>
1720
1721 * gdb.base/commands.exp (user_defined_command_args_stack_test):
1722 New procedure.
1723 (top level): Call it.
1724
1725 2016-12-02 Pedro Alves <palves@redhat.com>
1726
1727 PR cli/20559
1728 * gdb.base/commands.exp (user_defined_command_args_eval): New
1729 procedure.
1730 (top level): Call it.
1731
1732 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
1733
1734 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
1735 timeout handling.
1736
1737 2016-12-02 Tom Tromey <tom@tromey.com>
1738
1739 * gdb.dwarf2/main-subprogram.c: New file.
1740 * gdb.dwarf2/main-subprogram.exp: New file.
1741
1742 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1743
1744 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
1745 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
1746 gdb_test_no_output for a couple of cases.
1747 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
1748
1749 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1750
1751 Fix test names and standardize compilation error messages throughout
1752 the following files:
1753
1754 * gdb.ada/start.exp
1755 * gdb.arch/alpha-step.exp
1756 * gdb.arch/e500-prologue.exp
1757 * gdb.arch/ftrace-insn-reloc.exp
1758 * gdb.arch/gdb1291.exp
1759 * gdb.arch/gdb1431.exp
1760 * gdb.arch/gdb1558.exp
1761 * gdb.arch/i386-dr3-watch.exp
1762 * gdb.arch/i386-sse-stack-align.exp
1763 * gdb.arch/ia64-breakpoint-shadow.exp
1764 * gdb.arch/pa-nullify.exp
1765 * gdb.arch/powerpc-aix-prologue.exp
1766 * gdb.arch/thumb-bx-pc.exp
1767 * gdb.base/annota1.exp
1768 * gdb.base/annota3.exp
1769 * gdb.base/arrayidx.exp
1770 * gdb.base/assign.exp
1771 * gdb.base/attach.exp
1772 * gdb.base/auxv.exp
1773 * gdb.base/bang.exp
1774 * gdb.base/bfp-test.exp
1775 * gdb.base/bigcore.exp
1776 * gdb.base/bitfields2.exp
1777 * gdb.base/break-fun-addr.exp
1778 * gdb.base/break-probes.exp
1779 * gdb.base/call-rt-st.exp
1780 * gdb.base/callexit.exp
1781 * gdb.base/catch-fork-kill.exp
1782 * gdb.base/charset.exp
1783 * gdb.base/checkpoint.exp
1784 * gdb.base/comprdebug.exp
1785 * gdb.base/constvars.exp
1786 * gdb.base/coredump-filter.exp
1787 * gdb.base/cursal.exp
1788 * gdb.base/cvexpr.exp
1789 * gdb.base/detach.exp
1790 * gdb.base/display.exp
1791 * gdb.base/dmsym.exp
1792 * gdb.base/dprintf-pending.exp
1793 * gdb.base/dso2dso.exp
1794 * gdb.base/dtrace-probe.exp
1795 * gdb.base/dump.exp
1796 * gdb.base/enum_cond.exp
1797 * gdb.base/exe-lock.exp
1798 * gdb.base/exec-invalid-sysroot.exp
1799 * gdb.base/execl-update-breakpoints.exp
1800 * gdb.base/exprs.exp
1801 * gdb.base/fileio.exp
1802 * gdb.base/find.exp
1803 * gdb.base/finish.exp
1804 * gdb.base/fixsection.exp
1805 * gdb.base/foll-vfork.exp
1806 * gdb.base/frame-args.exp
1807 * gdb.base/gcore.exp
1808 * gdb.base/gdb1250.exp
1809 * gdb.base/global-var-nested-by-dso.exp
1810 * gdb.base/gnu-ifunc.exp
1811 * gdb.base/hashline1.exp
1812 * gdb.base/hashline2.exp
1813 * gdb.base/hashline3.exp
1814 * gdb.base/hbreak-in-shr-unsupported.exp
1815 * gdb.base/huge.exp
1816 * gdb.base/infcall-input.exp
1817 * gdb.base/info-fun.exp
1818 * gdb.base/info-shared.exp
1819 * gdb.base/jit-simple.exp
1820 * gdb.base/jit-so.exp
1821 * gdb.base/jit.exp
1822 * gdb.base/jump.exp
1823 * gdb.base/label.exp
1824 * gdb.base/lineinc.exp
1825 * gdb.base/logical.exp
1826 * gdb.base/longjmp.exp
1827 * gdb.base/macscp.exp
1828 * gdb.base/miscexprs.exp
1829 * gdb.base/new-ui-echo.exp
1830 * gdb.base/new-ui-pending-input.exp
1831 * gdb.base/new-ui.exp
1832 * gdb.base/nodebug.exp
1833 * gdb.base/nofield.exp
1834 * gdb.base/offsets.exp
1835 * gdb.base/overlays.exp
1836 * gdb.base/pending.exp
1837 * gdb.base/pointers.exp
1838 * gdb.base/pr11022.exp
1839 * gdb.base/printcmds.exp
1840 * gdb.base/prologue.exp
1841 * gdb.base/ptr-typedef.exp
1842 * gdb.base/realname-expand.exp
1843 * gdb.base/relativedebug.exp
1844 * gdb.base/relocate.exp
1845 * gdb.base/remote.exp
1846 * gdb.base/reread.exp
1847 * gdb.base/return2.exp
1848 * gdb.base/savedregs.exp
1849 * gdb.base/sep.exp
1850 * gdb.base/sepdebug.exp
1851 * gdb.base/sepsymtab.exp
1852 * gdb.base/set-inferior-tty.exp
1853 * gdb.base/setshow.exp
1854 * gdb.base/shlib-call.exp
1855 * gdb.base/sigaltstack.exp
1856 * gdb.base/siginfo-addr.exp
1857 * gdb.base/signals.exp
1858 * gdb.base/signull.exp
1859 * gdb.base/sigrepeat.exp
1860 * gdb.base/so-impl-ld.exp
1861 * gdb.base/solib-display.exp
1862 * gdb.base/solib-overlap.exp
1863 * gdb.base/solib-search.exp
1864 * gdb.base/solib-symbol.exp
1865 * gdb.base/structs.exp
1866 * gdb.base/structs2.exp
1867 * gdb.base/symtab-search-order.exp
1868 * gdb.base/twice.exp
1869 * gdb.base/unload.exp
1870 * gdb.base/varargs.exp
1871 * gdb.base/watchpoint-solib.exp
1872 * gdb.base/watchpoint.exp
1873 * gdb.base/whatis.exp
1874 * gdb.base/wrong_frame_bt_full.exp
1875 * gdb.btrace/dlopen.exp
1876 * gdb.cell/ea-standalone.exp
1877 * gdb.cell/ea-test.exp
1878 * gdb.cp/dispcxx.exp
1879 * gdb.cp/gdb2384.exp
1880 * gdb.cp/method2.exp
1881 * gdb.cp/nextoverthrow.exp
1882 * gdb.cp/pr10728.exp
1883 * gdb.disasm/am33.exp
1884 * gdb.disasm/h8300s.exp
1885 * gdb.disasm/mn10300.exp
1886 * gdb.disasm/sh3.exp
1887 * gdb.dwarf2/dw2-dir-file-name.exp
1888 * gdb.fortran/complex.exp
1889 * gdb.fortran/library-module.exp
1890 * gdb.guile/scm-pretty-print.exp
1891 * gdb.guile/scm-symbol.exp
1892 * gdb.guile/scm-type.exp
1893 * gdb.guile/scm-value.exp
1894 * gdb.linespec/linespec.exp
1895 * gdb.mi/gdb701.exp
1896 * gdb.mi/gdb792.exp
1897 * gdb.mi/mi-breakpoint-changed.exp
1898 * gdb.mi/mi-dprintf-pending.exp
1899 * gdb.mi/mi-dprintf.exp
1900 * gdb.mi/mi-exit-code.exp
1901 * gdb.mi/mi-pending.exp
1902 * gdb.mi/mi-solib.exp
1903 * gdb.mi/new-ui-mi-sync.exp
1904 * gdb.mi/pr11022.exp
1905 * gdb.mi/user-selected-context-sync.exp
1906 * gdb.opt/solib-intra-step.exp
1907 * gdb.python/py-events.exp
1908 * gdb.python/py-finish-breakpoint.exp
1909 * gdb.python/py-mi.exp
1910 * gdb.python/py-prettyprint.exp
1911 * gdb.python/py-shared.exp
1912 * gdb.python/py-symbol.exp
1913 * gdb.python/py-template.exp
1914 * gdb.python/py-type.exp
1915 * gdb.python/py-value.exp
1916 * gdb.reverse/solib-precsave.exp
1917 * gdb.reverse/solib-reverse.exp
1918 * gdb.server/solib-list.exp
1919 * gdb.stabs/weird.exp
1920 * gdb.threads/reconnect-signal.exp
1921 * gdb.threads/stepi-random-signal.exp
1922 * gdb.trace/actions.exp
1923 * gdb.trace/ax.exp
1924 * gdb.trace/backtrace.exp
1925 * gdb.trace/change-loc.exp
1926 * gdb.trace/deltrace.exp
1927 * gdb.trace/ftrace-lock.exp
1928 * gdb.trace/ftrace.exp
1929 * gdb.trace/infotrace.exp
1930 * gdb.trace/mi-tracepoint-changed.exp
1931 * gdb.trace/packetlen.exp
1932 * gdb.trace/passcount.exp
1933 * gdb.trace/pending.exp
1934 * gdb.trace/range-stepping.exp
1935 * gdb.trace/report.exp
1936 * gdb.trace/stap-trace.exp
1937 * gdb.trace/tfind.exp
1938 * gdb.trace/trace-break.exp
1939 * gdb.trace/trace-condition.exp
1940 * gdb.trace/trace-enable-disable.exp
1941 * gdb.trace/trace-mt.exp
1942 * gdb.trace/tracecmd.exp
1943 * gdb.trace/tspeed.exp
1944 * gdb.trace/tsv.exp
1945 * lib/perftest.exp
1946
1947 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1948
1949 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
1950 with gdb_test_no_output.
1951 Use command as test name.
1952
1953 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1954
1955 Fix test names starting with uppercase throughout the files.
1956
1957 * gdb.ada/assign_1.exp
1958 * gdb.ada/boolean_expr.exp
1959 * gdb.base/arrayidx.exp
1960 * gdb.base/del.exp
1961 * gdb.base/gcore-buffer-overflow.exp
1962 * gdb.base/testenv.exp
1963 * gdb.compile/compile.exp
1964 * gdb.python/py-framefilter-invalidarg.exp
1965 * gdb.python/py-framefilter.exp
1966
1967 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1968
1969 Fix test names starting with uppercase throughout the files.
1970
1971 * gdb.ada/array_return.exp
1972 * gdb.ada/expr_delims.exp
1973 * gdb.ada/mi_dyn_arr.exp
1974 * gdb.ada/mi_interface.exp
1975 * gdb.ada/mi_var_array.exp
1976 * gdb.ada/watch_arg.exp
1977 * gdb.arch/alpha-step.exp
1978 * gdb.arch/altivec-regs.exp
1979 * gdb.arch/e500-regs.exp
1980 * gdb.arch/powerpc-d128-regs.exp
1981 * gdb.base/arrayidx.exp
1982 * gdb.base/break.exp
1983 * gdb.base/checkpoint.exp
1984 * gdb.base/debug-expr.exp
1985 * gdb.base/dmsym.exp
1986 * gdb.base/radix.exp
1987 * gdb.base/sepdebug.exp
1988 * gdb.base/testenv.exp
1989 * gdb.base/watch_thread_num.exp
1990 * gdb.base/watchpoint-cond-gone.exp
1991 * gdb.cell/break.exp
1992 * gdb.cell/ea-cache.exp
1993 * gdb.compile/compile.exp
1994 * gdb.cp/gdb2495.exp
1995 * gdb.gdb/selftest.exp
1996 * gdb.gdb/xfullpath.exp
1997 * gdb.go/hello.exp
1998 * gdb.go/integers.exp
1999 * gdb.objc/basicclass.exp
2000 * gdb.pascal/hello.exp
2001 * gdb.pascal/integers.exp
2002 * gdb.python/py-breakpoint.exp
2003 * gdb.python/py-cmd.exp
2004 * gdb.python/py-linetable.exp
2005 * gdb.python/py-xmethods.exp
2006 * gdb.python/python.exp
2007 * gdb.reverse/consecutive-precsave.exp
2008 * gdb.reverse/finish-precsave.exp
2009 * gdb.reverse/i386-precsave.exp
2010 * gdb.reverse/machinestate-precsave.exp
2011 * gdb.reverse/sigall-precsave.exp
2012 * gdb.reverse/solib-precsave.exp
2013 * gdb.reverse/step-precsave.exp
2014 * gdb.reverse/until-precsave.exp
2015 * gdb.reverse/watch-precsave.exp
2016 * gdb.threads/leader-exit.exp
2017 * gdb.threads/pthreads.exp
2018 * gdb.threads/wp-replication.exp
2019 * gdb.trace/actions.exp
2020 * gdb.trace/mi-tsv-changed.exp
2021 * gdb.trace/tsv.exp
2022
2023 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
2024
2025 Fix test names starting with uppercase throughout the files.
2026
2027 * gdb.arch/i386-bp_permanent.exp
2028 * gdb.arch/i386-gnu-cfi.exp
2029 * gdb.base/disasm-end-cu.exp
2030 * gdb.base/macscp.exp
2031 * gdb.base/pending.exp
2032 * gdb.base/watch_thread_num.exp
2033 * gdb.cp/exception.exp
2034 * gdb.cp/gdb2495.exp
2035 * gdb.cp/local.exp
2036 * gdb.python/py-evsignal.exp
2037 * gdb.python/python.exp
2038 * gdb.trace/tracecmd.exp
2039
2040 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
2041
2042 Fix test names starting with uppercase throughout the files.
2043
2044 * gdb.base/charset.exp
2045 * gdb.base/eval.exp
2046 * gdb.base/multi-forks.exp
2047 * gdb.guile/scm-progspace.exp
2048 * gdb.opencl/datatypes.exp
2049 * gdb.python/py-block.exp
2050 * gdb.python/py-function.exp
2051 * gdb.python/py-symbol.exp
2052 * gdb.python/py-symtab.exp
2053 * gdb.python/py-xmethods.exp
2054 * gdb.reverse/break-precsave.exp
2055 * gdb.reverse/break-reverse.exp
2056 * gdb.reverse/consecutive-precsave.exp
2057 * gdb.reverse/consecutive-reverse.exp
2058 * gdb.reverse/finish-precsave.exp
2059 * gdb.reverse/finish-reverse-bkpt.exp
2060 * gdb.reverse/finish-reverse.exp
2061 * gdb.reverse/fstatat-reverse.exp
2062 * gdb.reverse/getresuid-reverse.exp
2063 * gdb.reverse/i386-precsave.exp
2064 * gdb.reverse/i386-reverse.exp
2065 * gdb.reverse/i386-sse-reverse.exp
2066 * gdb.reverse/i387-stack-reverse.exp
2067 * gdb.reverse/insn-reverse.exp
2068 * gdb.reverse/machinestate-precsave.exp
2069 * gdb.reverse/machinestate.exp
2070 * gdb.reverse/next-reverse-bkpt-over-sr.exp
2071 * gdb.reverse/pipe-reverse.exp
2072 * gdb.reverse/readv-reverse.exp
2073 * gdb.reverse/recvmsg-reverse.exp
2074 * gdb.reverse/rerun-prec.exp
2075 * gdb.reverse/s390-mvcle.exp
2076 * gdb.reverse/sigall-precsave.exp
2077 * gdb.reverse/sigall-reverse.exp
2078 * gdb.reverse/solib-precsave.exp
2079 * gdb.reverse/solib-reverse.exp
2080 * gdb.reverse/step-precsave.exp
2081 * gdb.reverse/step-reverse.exp
2082 * gdb.reverse/time-reverse.exp
2083 * gdb.reverse/until-precsave.exp
2084 * gdb.reverse/until-reverse.exp
2085 * gdb.reverse/waitpid-reverse.exp
2086 * gdb.reverse/watch-precsave.exp
2087 * gdb.reverse/watch-reverse.exp
2088
2089 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
2090
2091 Fix test names starting with uppercase throughout the files.
2092
2093 * gdb.arch/i386-mpx-simple_segv.exp
2094 * gdb.arch/i386-mpx.exp
2095 * gdb.arch/i386-permbkpt.exp
2096 * gdb.arch/pa-nullify.exp
2097 * gdb.arch/powerpc-d128-regs.exp
2098 * gdb.arch/vsx-regs.exp
2099 * gdb.base/bfp-test.exp
2100 * gdb.base/break.exp
2101 * gdb.base/breakpoint-shadow.exp
2102 * gdb.base/callfuncs.exp
2103 * gdb.base/charset.exp
2104 * gdb.base/commands.exp
2105 * gdb.base/completion.exp
2106 * gdb.base/dfp-test.exp
2107 * gdb.base/echo.exp
2108 * gdb.base/ending-run.exp
2109 * gdb.base/eval.exp
2110 * gdb.base/expand-psymtabs.exp
2111 * gdb.base/float128.exp
2112 * gdb.base/floatn.exp
2113 * gdb.base/foll-exec-mode.exp
2114 * gdb.base/gdb1056.exp
2115 * gdb.base/gdb11531.exp
2116 * gdb.base/kill-after-signal.exp
2117 * gdb.base/multi-forks.exp
2118 * gdb.base/overlays.exp
2119 * gdb.base/pending.exp
2120 * gdb.base/sepdebug.exp
2121 * gdb.base/testenv.exp
2122 * gdb.base/valgrind-db-attach.exp
2123 * gdb.base/watch_thread_num.exp
2124 * gdb.base/watchpoint-cond-gone.exp
2125 * gdb.base/watchpoint.exp
2126 * gdb.base/watchpoints.exp
2127 * gdb.cp/arg-reference.exp
2128 * gdb.cp/baseenum.exp
2129 * gdb.cp/operator.exp
2130 * gdb.cp/shadow.exp
2131 * gdb.dwarf2/dw2-op-out-param.exp
2132 * gdb.dwarf2/dw2-reg-undefined.exp
2133 * gdb.go/chan.exp
2134 * gdb.go/hello.exp
2135 * gdb.go/integers.exp
2136 * gdb.go/methods.exp
2137 * gdb.go/package.exp
2138 * gdb.guile/scm-parameter.exp
2139 * gdb.guile/scm-progspace.exp
2140 * gdb.guile/scm-value.exp
2141 * gdb.mi/mi-pending.exp
2142 * gdb.mi/user-selected-context-sync.exp
2143 * gdb.multi/multi-attach.exp
2144 * gdb.multi/tids.exp
2145 * gdb.opt/clobbered-registers-O2.exp
2146 * gdb.pascal/floats.exp
2147 * gdb.pascal/integers.exp
2148 * gdb.python/py-block.exp
2149 * gdb.python/py-events.exp
2150 * gdb.python/py-parameter.exp
2151 * gdb.python/py-symbol.exp
2152 * gdb.python/py-symtab.exp
2153 * gdb.python/py-type.exp
2154 * gdb.python/py-value.exp
2155 * gdb.python/py-xmethods.exp
2156 * gdb.python/python.exp
2157 * gdb.reverse/break-precsave.exp
2158 * gdb.reverse/consecutive-precsave.exp
2159 * gdb.reverse/finish-precsave.exp
2160 * gdb.reverse/i386-precsave.exp
2161 * gdb.reverse/machinestate-precsave.exp
2162 * gdb.reverse/sigall-precsave.exp
2163 * gdb.reverse/solib-precsave.exp
2164 * gdb.reverse/step-precsave.exp
2165 * gdb.reverse/until-precsave.exp
2166 * gdb.reverse/watch-precsave.exp
2167 * gdb.server/ext-attach.exp
2168 * gdb.server/ext-restart.exp
2169 * gdb.server/ext-run.exp
2170 * gdb.server/ext-wrapper.exp
2171 * gdb.stabs/gdb11479.exp
2172 * gdb.stabs/weird.exp
2173 * gdb.threads/attach-many-short-lived-threads.exp
2174 * gdb.threads/kill.exp
2175 * gdb.threads/watchpoint-fork.exp
2176
2177 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
2178
2179 Fix test names starting with uppercase throughout all the files below.
2180
2181 * gdb.ada/array_return.exp
2182 * gdb.ada/catch_ex.exp
2183 * gdb.ada/info_exc.exp
2184 * gdb.ada/mi_catch_ex.exp
2185 * gdb.ada/mi_dyn_arr.exp
2186 * gdb.ada/mi_ex_cond.exp
2187 * gdb.ada/mi_exc_info.exp
2188 * gdb.ada/mi_interface.exp
2189 * gdb.ada/mi_task_arg.exp
2190 * gdb.ada/mi_task_info.exp
2191 * gdb.ada/mi_var_array.exp
2192 * gdb.arch/alpha-step.exp
2193 * gdb.arch/amd64-disp-step.exp
2194 * gdb.arch/arm-disp-step.exp
2195 * gdb.arch/disp-step-insn-reloc.exp
2196 * gdb.arch/e500-prologue.exp
2197 * gdb.arch/ftrace-insn-reloc.exp
2198 * gdb.arch/gdb1558.exp
2199 * gdb.arch/i386-bp_permanent.exp
2200 * gdb.arch/i386-disp-step.exp
2201 * gdb.arch/i386-float.exp
2202 * gdb.arch/i386-gnu-cfi.exp
2203 * gdb.arch/ia64-breakpoint-shadow.exp
2204 * gdb.arch/mips16-thunks.exp
2205 * gdb.arch/pa-nullify.exp
2206 * gdb.arch/powerpc-aix-prologue.exp
2207 * gdb.arch/powerpc-power.exp
2208 * gdb.arch/ppc-dfp.exp
2209 * gdb.arch/s390-tdbregs.exp
2210 * gdb.arch/spu-info.exp
2211 * gdb.arch/spu-ls.exp
2212 * gdb.arch/thumb-bx-pc.exp
2213 * gdb.base/advance.exp
2214 * gdb.base/annota-input-while-running.exp
2215 * gdb.base/arrayidx.exp
2216 * gdb.base/asmlabel.exp
2217 * gdb.base/async.exp
2218 * gdb.base/attach-wait-input.exp
2219 * gdb.base/auto-connect-native-target.exp
2220 * gdb.base/batch-preserve-term-settings.exp
2221 * gdb.base/bfp-test.exp
2222 * gdb.base/bigcore.exp
2223 * gdb.base/bp-permanent.exp
2224 * gdb.base/break-always.exp
2225 * gdb.base/break-fun-addr.exp
2226 * gdb.base/break-idempotent.exp
2227 * gdb.base/break-main-file-remove-fail.exp
2228 * gdb.base/break-probes.exp
2229 * gdb.base/break-unload-file.exp
2230 * gdb.base/break.exp
2231 * gdb.base/call-ar-st.exp
2232 * gdb.base/call-rt-st.exp
2233 * gdb.base/call-sc.exp
2234 * gdb.base/call-signal-resume.exp
2235 * gdb.base/call-strs.exp
2236 * gdb.base/callexit.exp
2237 * gdb.base/callfuncs.exp
2238 * gdb.base/catch-gdb-caused-signals.exp
2239 * gdb.base/catch-signal-siginfo-cond.exp
2240 * gdb.base/catch-syscall.exp
2241 * gdb.base/compare-sections.exp
2242 * gdb.base/cond-eval-mode.exp
2243 * gdb.base/condbreak-call-false.exp
2244 * gdb.base/consecutive-step-over.exp
2245 * gdb.base/cursal.exp
2246 * gdb.base/disabled-location.exp
2247 * gdb.base/disasm-end-cu.exp
2248 * gdb.base/display.exp
2249 * gdb.base/double-prompt-target-event-error.exp
2250 * gdb.base/dprintf-bp-same-addr.exp
2251 * gdb.base/dprintf-detach.exp
2252 * gdb.base/dprintf-next.exp
2253 * gdb.base/dprintf-non-stop.exp
2254 * gdb.base/dprintf-pending.exp
2255 * gdb.base/dso2dso.exp
2256 * gdb.base/ending-run.exp
2257 * gdb.base/enum_cond.exp
2258 * gdb.base/examine-backward.exp
2259 * gdb.base/exe-lock.exp
2260 * gdb.base/exec-invalid-sysroot.exp
2261 * gdb.base/execl-update-breakpoints.exp
2262 * gdb.base/execution-termios.exp
2263 * gdb.base/fileio.exp
2264 * gdb.base/fixsection.exp
2265 * gdb.base/foll-exec-mode.exp
2266 * gdb.base/foll-exec.exp
2267 * gdb.base/fork-running-state.exp
2268 * gdb.base/frame-args.exp
2269 * gdb.base/fullpath-expand.exp
2270 * gdb.base/func-ptr.exp
2271 * gdb.base/gcore-relro-pie.exp
2272 * gdb.base/gdb1090.exp
2273 * gdb.base/gdb1555.exp
2274 * gdb.base/global-var-nested-by-dso.exp
2275 * gdb.base/gnu-ifunc.exp
2276 * gdb.base/hbreak-in-shr-unsupported.exp
2277 * gdb.base/hbreak-unmapped.exp
2278 * gdb.base/hook-stop.exp
2279 * gdb.base/infcall-input.exp
2280 * gdb.base/info-fun.exp
2281 * gdb.base/info-shared.exp
2282 * gdb.base/interrupt-noterm.exp
2283 * gdb.base/jit-so.exp
2284 * gdb.base/jit.exp
2285 * gdb.base/line-symtabs.exp
2286 * gdb.base/list.exp
2287 * gdb.base/longjmp.exp
2288 * gdb.base/macscp.exp
2289 * gdb.base/max-value-size.exp
2290 * gdb.base/nodebug.exp
2291 * gdb.base/nofield.exp
2292 * gdb.base/overlays.exp
2293 * gdb.base/paginate-after-ctrl-c-running.exp
2294 * gdb.base/paginate-bg-execution.exp
2295 * gdb.base/paginate-inferior-exit.exp
2296 * gdb.base/pending.exp
2297 * gdb.base/pr11022.exp
2298 * gdb.base/printcmds.exp
2299 * gdb.base/ptr-typedef.exp
2300 * gdb.base/ptype.exp
2301 * gdb.base/randomize.exp
2302 * gdb.base/range-stepping.exp
2303 * gdb.base/realname-expand.exp
2304 * gdb.base/relativedebug.exp
2305 * gdb.base/remote.exp
2306 * gdb.base/savedregs.exp
2307 * gdb.base/sepdebug.exp
2308 * gdb.base/set-noassign.exp
2309 * gdb.base/shlib-call.exp
2310 * gdb.base/shreloc.exp
2311 * gdb.base/sigaltstack.exp
2312 * gdb.base/sigbpt.exp
2313 * gdb.base/siginfo-addr.exp
2314 * gdb.base/siginfo-obj.exp
2315 * gdb.base/siginfo-thread.exp
2316 * gdb.base/signest.exp
2317 * gdb.base/signull.exp
2318 * gdb.base/sigrepeat.exp
2319 * gdb.base/skip.exp
2320 * gdb.base/so-impl-ld.exp
2321 * gdb.base/solib-corrupted.exp
2322 * gdb.base/solib-disc.exp
2323 * gdb.base/solib-display.exp
2324 * gdb.base/solib-overlap.exp
2325 * gdb.base/solib-search.exp
2326 * gdb.base/solib-symbol.exp
2327 * gdb.base/source-execution.exp
2328 * gdb.base/sss-bp-on-user-bp-2.exp
2329 * gdb.base/sss-bp-on-user-bp.exp
2330 * gdb.base/stack-checking.exp
2331 * gdb.base/stale-infcall.exp
2332 * gdb.base/step-break.exp
2333 * gdb.base/step-line.exp
2334 * gdb.base/step-over-exit.exp
2335 * gdb.base/step-test.exp
2336 * gdb.base/structs.exp
2337 * gdb.base/sym-file.exp
2338 * gdb.base/symtab-search-order.exp
2339 * gdb.base/term.exp
2340 * gdb.base/type-opaque.exp
2341 * gdb.base/unload.exp
2342 * gdb.base/until-nodebug.exp
2343 * gdb.base/until.exp
2344 * gdb.base/unwindonsignal.exp
2345 * gdb.base/watch-cond.exp
2346 * gdb.base/watch-non-mem.exp
2347 * gdb.base/watch_thread_num.exp
2348 * gdb.base/watchpoint-reuse-slot.exp
2349 * gdb.base/watchpoint-solib.exp
2350 * gdb.base/watchpoint.exp
2351 * gdb.btrace/dlopen.exp
2352 * gdb.cell/arch.exp
2353 * gdb.cell/break.exp
2354 * gdb.cell/bt.exp
2355 * gdb.cell/core.exp
2356 * gdb.cell/data.exp
2357 * gdb.cell/dwarfaddr.exp
2358 * gdb.cell/ea-cache.exp
2359 * gdb.cell/ea-standalone.exp
2360 * gdb.cell/ea-test.exp
2361 * gdb.cell/f-regs.exp
2362 * gdb.cell/fork.exp
2363 * gdb.cell/gcore.exp
2364 * gdb.cell/mem-access.exp
2365 * gdb.cell/ptype.exp
2366 * gdb.cell/registers.exp
2367 * gdb.cell/sizeof.exp
2368 * gdb.cell/solib-symbol.exp
2369 * gdb.cell/solib.exp
2370 * gdb.compile/compile-tls.exp
2371 * gdb.cp/exception.exp
2372 * gdb.cp/gdb2495.exp
2373 * gdb.cp/local.exp
2374 * gdb.cp/mb-inline.exp
2375 * gdb.cp/mb-templates.exp
2376 * gdb.cp/pr10687.exp
2377 * gdb.cp/pr9167.exp
2378 * gdb.cp/scope-err.exp
2379 * gdb.cp/templates.exp
2380 * gdb.cp/virtfunc.exp
2381 * gdb.dwarf2/dw2-dir-file-name.exp
2382 * gdb.dwarf2/dw2-single-line-discriminators.exp
2383 * gdb.fortran/complex.exp
2384 * gdb.fortran/library-module.exp
2385 * gdb.guile/guile.exp
2386 * gdb.guile/scm-cmd.exp
2387 * gdb.guile/scm-frame-inline.exp
2388 * gdb.guile/scm-objfile.exp
2389 * gdb.guile/scm-pretty-print.exp
2390 * gdb.guile/scm-symbol.exp
2391 * gdb.guile/scm-type.exp
2392 * gdb.guile/scm-value.exp
2393 * gdb.linespec/keywords.exp
2394 * gdb.linespec/ls-errs.exp
2395 * gdb.linespec/macro-relative.exp
2396 * gdb.linespec/thread.exp
2397 * gdb.mi/mi-breakpoint-changed.exp
2398 * gdb.mi/mi-dprintf-pending.exp
2399 * gdb.mi/mi-fullname-deleted.exp
2400 * gdb.mi/mi-logging.exp
2401 * gdb.mi/mi-pending.exp
2402 * gdb.mi/mi-solib.exp
2403 * gdb.mi/new-ui-mi-sync.exp
2404 * gdb.mi/user-selected-context-sync.exp
2405 * gdb.multi/dummy-frame-restore.exp
2406 * gdb.multi/multi-arch-exec.exp
2407 * gdb.multi/remove-inferiors.exp
2408 * gdb.multi/watchpoint-multi-exit.exp
2409 * gdb.opt/solib-intra-step.exp
2410 * gdb.perf/backtrace.exp
2411 * gdb.perf/single-step.exp
2412 * gdb.perf/skip-command.exp
2413 * gdb.perf/skip-prologue.exp
2414 * gdb.perf/solib.exp
2415 * gdb.python/lib-types.exp
2416 * gdb.python/py-as-string.exp
2417 * gdb.python/py-bad-printers.exp
2418 * gdb.python/py-block.exp
2419 * gdb.python/py-breakpoint.exp
2420 * gdb.python/py-cmd.exp
2421 * gdb.python/py-events.exp
2422 * gdb.python/py-evthreads.exp
2423 * gdb.python/py-finish-breakpoint.exp
2424 * gdb.python/py-finish-breakpoint2.exp
2425 * gdb.python/py-frame-inline.exp
2426 * gdb.python/py-frame.exp
2427 * gdb.python/py-inferior.exp
2428 * gdb.python/py-infthread.exp
2429 * gdb.python/py-mi.exp
2430 * gdb.python/py-objfile.exp
2431 * gdb.python/py-pp-maint.exp
2432 * gdb.python/py-pp-registration.exp
2433 * gdb.python/py-prettyprint.exp
2434 * gdb.python/py-recurse-unwind.exp
2435 * gdb.python/py-shared.exp
2436 * gdb.python/py-symbol.exp
2437 * gdb.python/py-symtab.exp
2438 * gdb.python/py-template.exp
2439 * gdb.python/py-type.exp
2440 * gdb.python/py-unwind-maint.exp
2441 * gdb.python/py-unwind.exp
2442 * gdb.python/py-value.exp
2443 * gdb.python/python.exp
2444 * gdb.reverse/finish-reverse-bkpt.exp
2445 * gdb.reverse/insn-reverse.exp
2446 * gdb.reverse/next-reverse-bkpt-over-sr.exp
2447 * gdb.reverse/solib-precsave.exp
2448 * gdb.reverse/solib-reverse.exp
2449 * gdb.stabs/gdb11479.exp
2450 * gdb.stabs/weird.exp
2451 * gdb.threads/fork-child-threads.exp
2452 * gdb.threads/fork-plus-threads.exp
2453 * gdb.threads/fork-thread-pending.exp
2454 * gdb.threads/forking-threads-plus-breakpoint.exp
2455 * gdb.threads/hand-call-in-threads.exp
2456 * gdb.threads/interrupted-hand-call.exp
2457 * gdb.threads/linux-dp.exp
2458 * gdb.threads/local-watch-wrong-thread.exp
2459 * gdb.threads/next-while-other-thread-longjmps.exp
2460 * gdb.threads/non-ldr-exit.exp
2461 * gdb.threads/pending-step.exp
2462 * gdb.threads/print-threads.exp
2463 * gdb.threads/process-dies-while-detaching.exp
2464 * gdb.threads/process-dies-while-handling-bp.exp
2465 * gdb.threads/pthreads.exp
2466 * gdb.threads/queue-signal.exp
2467 * gdb.threads/reconnect-signal.exp
2468 * gdb.threads/signal-command-handle-nopass.exp
2469 * gdb.threads/signal-command-multiple-signals-pending.exp
2470 * gdb.threads/signal-delivered-right-thread.exp
2471 * gdb.threads/signal-sigtrap.exp
2472 * gdb.threads/sigthread.exp
2473 * gdb.threads/staticthreads.exp
2474 * gdb.threads/stepi-random-signal.exp
2475 * gdb.threads/thread-unwindonsignal.exp
2476 * gdb.threads/thread_check.exp
2477 * gdb.threads/thread_events.exp
2478 * gdb.threads/tid-reuse.exp
2479 * gdb.threads/tls-nodebug.exp
2480 * gdb.threads/tls-shared.exp
2481 * gdb.threads/tls-so_extern.exp
2482 * gdb.threads/tls.exp
2483 * gdb.threads/wp-replication.exp
2484 * gdb.trace/actions-changed.exp
2485 * gdb.trace/actions.exp
2486 * gdb.trace/backtrace.exp
2487 * gdb.trace/change-loc.exp
2488 * gdb.trace/collection.exp
2489 * gdb.trace/deltrace.exp
2490 * gdb.trace/disconnected-tracing.exp
2491 * gdb.trace/entry-values.exp
2492 * gdb.trace/ftrace-lock.exp
2493 * gdb.trace/ftrace.exp
2494 * gdb.trace/infotrace.exp
2495 * gdb.trace/mi-trace-frame-collected.exp
2496 * gdb.trace/mi-trace-unavailable.exp
2497 * gdb.trace/mi-traceframe-changed.exp
2498 * gdb.trace/mi-tracepoint-changed.exp
2499 * gdb.trace/mi-tsv-changed.exp
2500 * gdb.trace/no-attach-trace.exp
2501 * gdb.trace/packetlen.exp
2502 * gdb.trace/passc-dyn.exp
2503 * gdb.trace/passcount.exp
2504 * gdb.trace/pending.exp
2505 * gdb.trace/pr16508.exp
2506 * gdb.trace/qtro.exp
2507 * gdb.trace/range-stepping.exp
2508 * gdb.trace/read-memory.exp
2509 * gdb.trace/report.exp
2510 * gdb.trace/save-trace.exp
2511 * gdb.trace/signal.exp
2512 * gdb.trace/stap-trace.exp
2513 * gdb.trace/status-stop.exp
2514 * gdb.trace/strace.exp
2515 * gdb.trace/tfile.exp
2516 * gdb.trace/tfind.exp
2517 * gdb.trace/trace-break.exp
2518 * gdb.trace/trace-condition.exp
2519 * gdb.trace/trace-enable-disable.exp
2520 * gdb.trace/trace-mt.exp
2521 * gdb.trace/tracecmd.exp
2522 * gdb.trace/tracefile-pseudo-reg.exp
2523 * gdb.trace/tspeed.exp
2524 * gdb.trace/tstatus.exp
2525 * gdb.trace/tsv.exp
2526 * gdb.trace/unavailable.exp
2527 * gdb.trace/while-dyn.exp
2528 * gdb.trace/while-stepping.exp
2529 * lib/gdb-guile.exp
2530 * lib/gdb.exp
2531 * lib/mi-support.exp
2532 * lib/pascal.exp
2533 * lib/perftest.exp
2534 * lib/prelink-support.exp
2535 * lib/selftest-support.exp
2536
2537 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
2538
2539 * Makefile.in: Include disable-implicit-rules.mk.
2540
2541 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2542
2543 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
2544 non-byte-aligned bit fields.
2545
2546 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2547
2548 PR gdb/12616
2549 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
2550 respects the DW_AT_data_bit_offset attribute.
2551
2552 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
2553
2554 * gdb.base/default.exp: Fix output of "set language".
2555
2556 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
2557
2558 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
2559 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
2560 make.
2561 * configure.ac: Remove checks for the make program.
2562 * configure: Re-generate.
2563
2564 2016-11-16 Kevin Buettner <kevinb@redhat.com>
2565
2566 * gdb.python/py-recurse-unwind.c (main): Add loop.
2567 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
2568 to read_register() and gdb.parse_and_eval(). Make each code
2569 call a separate case that can be individually tested.
2570 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
2571 proc. Call cont_and_backtrace for each of the code paths that
2572 we want to test in the unwinder.
2573
2574 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
2575
2576 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
2577 the definition of struct S.
2578
2579 2016-11-11 Catherine Moore <clm@codesourcery.com>
2580
2581 * gdb.base/dump.exp: Identify verilog format dump tests as such.
2582
2583 2016-11-09 Pedro Alves <palves@redhat.com>
2584
2585 * gdb.base/commands.exp (runto_or_return): New procedure.
2586 (gdbvar_simple_if_test, gdbvar_simple_while_test)
2587 (gdbvar_complex_if_while_test, progvar_simple_if_test)
2588 (progvar_simple_while_test, progvar_complex_if_while_test)
2589 (if_while_breakpoint_command_test)
2590 (infrun_breakpoint_command_test, breakpoint_command_test)
2591 (user_defined_command_test, watchpoint_command_test)
2592 (test_command_prompt_position, redefine_hook_test)
2593 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
2594 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
2595 multi_line_input and multi_line. Remove gdb_expect and
2596 gdb_stop_suppressing_tests uses.
2597 * lib/gdb.exp (valnum_re): New global.
2598 (multi_line_input): New procedure.
2599
2600 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
2601
2602 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
2603 Remove.
2604 (test_setup): Define with proc_with_prefix.
2605 (test_cli_inferior): Likewise.
2606 (test_cli_thread): Likewise.
2607 (test_cli_frame): Likewise.
2608 (test_cli_select_frame): Likewise.
2609 (test_cli_up_down): Likewise.
2610 (test_mi_thread_select): Likewise.
2611 (test_mi_stack_select_frame): Likewise.
2612 (test_cli_in_mi_inferior): Likewise.
2613 (test_cli_in_mi_thread): Likewise.
2614 (test_cli_in_mi_frame): Likewise.
2615 (top level): Do not use with_test_prefix_procname.
2616
2617 2016-11-09 Pedro Alves <palves@redhat.com>
2618
2619 * gdb.base/commands.exp (gdbvar_simple_if_test)
2620 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
2621 (progvar_simple_if_test, progvar_simple_while_test)
2622 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
2623 (infrun_breakpoint_command_test, breakpoint_command_test)
2624 (user_defined_command_test, watchpoint_command_test)
2625 (test_command_prompt_position, deprecated_command_test)
2626 (bp_deleted_in_command, temporary_breakpoint_commands)
2627 (stray_arg0_test, source_file_with_indented_comment)
2628 (recursive_source_test, if_commands_test)
2629 (error_clears_commands_left, redefine_hook_test)
2630 (redefine_backtrace_test): Use proc_with_prefix.
2631 * lib/gdb.exp (proc_with_prefix): New proc.
2632
2633 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
2634
2635 * gdb.base/tui-layout.c: New file.
2636 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
2637 disassembly window contains very long lines.
2638
2639 2016-11-08 Tom Tromey <tom@tromey.com>
2640
2641 * gdb.python/py-value.exp (test_value_creation): Make "long" test
2642 depend on Python 2.
2643
2644 2016-11-08 Tom Tromey <tom@tromey.com>
2645
2646 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
2647 New method.
2648
2649 2016-10-29 Manish Goregaokar <manish@mozilla.com>
2650
2651 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
2652
2653 2016-10-27 Manish Goregaokar <manish@mozilla.com>
2654
2655 * gdb.rust/simple.rs: Add test for univariant enums without
2656 discriminants and for encoded struct-like enums.
2657
2658 2016-10-28 Pedro Alves <palves@redhat.com>
2659
2660 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
2661 gdb_test_multiple, tighten regexps and match symtabs and line
2662 tables incrementally.
2663
2664 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
2665
2666 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
2667 general.
2668
2669 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
2670
2671 * gdb.base/exec-invalid-sysroot.exp: New file.
2672
2673 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2674
2675 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
2676
2677 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2678
2679 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
2680
2681 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
2682
2683 * gdb.base/killed-outside.exp: Remove $options from a call to
2684 `prepare_for_testing'.
2685
2686 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
2687
2688 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
2689 Change test message.
2690
2691 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
2692
2693 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
2694 Update comment.
2695
2696 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
2697
2698 * gdb.trace/mi-trace-save.exp: New file.
2699
2700 2016-10-13 Yao Qi <yao.qi@linaro.org>
2701
2702 * gdb.base/code_elim.exp (get_var_address): Remove.
2703 * gdb.base/relocate.exp: Likewise.
2704 * gdb.base/shreloc.exp: Likewise.
2705 * lib/gdb.exp (get_var_address): New.
2706
2707 2016-10-13 Yao Qi <yao.qi@linaro.org>
2708
2709 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
2710 floating point tests if $skip_float_test is false.
2711
2712 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
2713
2714 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
2715 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
2716 argc values.
2717 Add 1 to argc so we guarantee distinct initial/modified argc values.
2718
2719 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2720
2721 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
2722
2723 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2724
2725 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
2726 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
2727 * gdb.arch/vsx-regs.exp: Likewise.
2728
2729 2016-10-07 Yao Qi <yao.qi@linaro.org>
2730
2731 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
2732
2733 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
2734
2735 * gdb.python/python.exp: Test decode_line("*0").
2736
2737 2016-10-06 Doug Evans <dje@google.com>
2738
2739 * gdb.python/py-value.exp (test_value_creation): Add test for large
2740 unsigned 64-bit value.
2741
2742 2016-10-06 Tom Tromey <tom@tromey.com>
2743
2744 * gdb.compile/compile.exp: Change java tests to rust.
2745 * gdb.base/setshow.exp: Change java tests to rust.
2746 * gdb.base/default.exp: Remove java from language list.
2747 * README (Examples): Update language example.
2748 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
2749 test.
2750 * lib/gdb.exp (skip_java_tests): Remove.
2751 * lib/java.exp: Remove.
2752 * gdb.java: Remove.
2753
2754 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
2755
2756 * gdb.arch/mips-fcr.exp: New test.
2757 * gdb.arch/mips-fcr.c: Source for the new test.
2758
2759 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
2760
2761 * gdb.base/solib-disc.exp: Use `standard_output_file'
2762 throughout.
2763
2764 2016-10-06 Pedro Alves <palves@redhat.com>
2765
2766 * gdb.base/jit-simple-dl.c: New file.
2767 * gdb.base/jit-simple-jit.c: New file, factored out from ...
2768 * gdb.base/jit-simple.c: ... this.
2769 * gdb.base/jit-simple.exp (jit_run): Delete.
2770 (build_jit): New proc.
2771 (jit_test_reread): Recompile either the main program or the shared
2772 library, depending on what is being tested. Skip changing address
2773 if caller wants to. Compare before/after addresses. If testing
2774 standalone, explicitly load the binary. Test "maint info
2775 breakpoints".
2776 (top level): Add "standalone vs shared lib" and "change address"
2777 vs "same address" axes.
2778
2779 2016-10-06 Pedro Alves <palves@redhat.com>
2780
2781 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
2782 call.
2783 (jit_run): Delete.
2784 (jit_test_reread): Use with_test_prefix. Reload the main binary
2785 explicitly. Compare the before/after addresses of the JIT
2786 descriptor.
2787
2788 2016-08-15 Doug Evans <dje@google.com>
2789
2790 * gdb.xml/extra-regs.xml: Update, end field now required, default type
2791 for single bitfields is bool.
2792 * gdb.xml/tdesc-regs.exp: Ditto.
2793
2794 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2795
2796 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
2797
2798 2016-10-05 Yao Qi <yao.qi@linaro.org>
2799
2800 * lib/gdb.exp (support_complex_tests): Return zero if
2801 gdb_skip_float_test return true.
2802
2803 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2804 Simon Marchi <simon.marchi@ericsson.com>
2805
2806 PR gdb/20487
2807 * gdb.mi/user-selected-context-sync.exp: New file.
2808 * gdb.mi/user-selected-context-sync.c: New file.
2809
2810 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2811 Simon Marchi <simon.marchi@ericsson.com>
2812
2813 PR gdb/20487
2814 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
2815 =thread-select-event check.
2816
2817 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
2818
2819 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
2820 the compulsory L operand changes.
2821 * gdb.arch/powerpc-power.s: Likewise.
2822
2823 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2824
2825 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
2826 * gdb.base/jit-attach-pie.c: New file.
2827 * gdb.base/jit-attach-pie.exp: New file.
2828
2829 2016-09-28 Pedro Alves <palves@redhat.com>
2830
2831 * gdb.base/infcall-input.c: New file.
2832 * gdb.base/infcall-input.exp: New file.
2833
2834 2016-09-22 Yao Qi <yao.qi@linaro.org>
2835
2836 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
2837 (gdb_exit): Rename it to ...
2838 (gdbserver_gdb_exit): ... Close GDBserver.
2839 (gdb_exit): New proc, call gdbserver_gdb_exit.
2840 (mi_gdb_exit): Likewise.
2841
2842 2016-09-22 Yao Qi <yao.qi@linaro.org>
2843
2844 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
2845 path.
2846 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
2847 Remove duplication.
2848
2849 2016-09-22 Yao Qi <yao.qi@linaro.org>
2850
2851 * lib/gdbserver-support.exp: Check the existence of
2852 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
2853
2854 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
2855
2856 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
2857
2858 2016-09-21 Tom Tromey <tom@tromey.com>
2859
2860 PR gdb/20604:
2861 * gdb.base/quit.exp: New file.
2862
2863 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
2864
2865 * .gitignore: New file.
2866
2867 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
2868
2869 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
2870 throughout.
2871
2872 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2873
2874 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
2875
2876 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2877
2878 * gdb.cp/casts.cc (decltype): Move it ...
2879 (main): ... with its call to ...
2880 * gdb.cp/casts03.cc: ... a new file.
2881 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
2882
2883 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2884
2885 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
2886
2887 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
2888
2889 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
2890 and sync up the test with tests in gas/testsuite/gas/ppc.
2891 * gdb.arch/powerpc-power.exp: Likewise.
2892
2893 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2894
2895 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
2896
2897 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
2898 Jan Kratochvil <jan.kratochvil@redhat.com>
2899
2900 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
2901 make m1's definition to be different from m2's. Use 'dummy' as an
2902 argument for probe 'two'.
2903
2904 2016-09-10 Jon Beniston <jon@beniston.com>
2905
2906 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
2907 for sim target.
2908
2909 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
2910
2911 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
2912 variable declaration.
2913 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
2914 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
2915 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
2916 received HWCAP as its argument.
2917
2918 2016-09-06 Pedro Alves <palves@redhat.com>
2919
2920 * gdb.base/new-ui-pending-input.c: New file.
2921 * gdb.base/new-ui-pending-input.exp: New file.
2922 * gdb.exp (clear_gdb_spawn_id): New procedure.
2923 (with_spawn_id): Check whether gdb_spawn_id exists before
2924 referencing it. If gdb_spawn_id didn't exist on entry, clear it
2925 on exit.
2926
2927 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
2928
2929 * gdb.base/float128.c: New file.
2930 * gdb.base/float128.exp: Likewise.
2931 * gdb.base/floatn.c: Likewise.
2932 * gdb.base/floatn.exp: Likewise.
2933
2934 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
2935
2936 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
2937
2938 2016-09-05 Pedro Alves <palves@redhat.com>
2939
2940 PR backtrace/19927
2941 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
2942 unwinders are immediately called as side effect of "source" or
2943 "disable unwinder" commands.
2944 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
2945
2946 2016-09-02 Yao Qi <yao.qi@linaro.org>
2947
2948 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
2949 is true and $type is "float" or "double".
2950
2951 2016-09-02 Yao Qi <yao.qi@linaro.org>
2952
2953 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
2954 true.
2955 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
2956 * gdb.base/call-rt-st.exp: Likewise.
2957 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
2958 return value instead of gdb,skip_float_test.
2959 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
2960 (do_function_calls): Use its return value instead of
2961 gdb,skip_float_test.
2962 * gdb.base/finish.exp: Likewise.
2963 * gdb.base/funcargs.exp: Likewise.
2964 * gdb.base/return.exp: Likewise.
2965 * gdb.base/return2.exp: Likewise.
2966 * gdb.base/varargs.exp: Likewise.
2967 * lib/gdb.exp (gdb_skip_float_test): Change it to
2968 gdb_caching_proc. Detect the broken ptrace on arm-linux.
2969
2970 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2971
2972 * gdb.multi/tids.exp: Test "thread apply all".
2973
2974 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2975
2976 * gdb.base/default.exp (tty): Remove.
2977
2978 2016-08-24 Kevin Buettner <kevinb@redhat.com>
2979
2980 * gdb.python/py-recurse-unwind.c: New file.
2981 * gdb.python/py-recurse-unwind.py: New file.
2982 * gdb.python/py-recurse-unwind.exp: New file.
2983
2984 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
2985
2986 * gdb.base/set-inferior-tty.exp: New file.
2987 * gdb.base/set-inferior-tty.c: New file.
2988
2989 2016-08-23 Pedro Alves <palves@redhat.com>
2990
2991 PR gdb/20494
2992 * gdb.base/new-ui-echo.c: New file.
2993 * gdb.base/new-ui-echo.exp: New file.
2994
2995 2016-08-23 Yao Qi <yao.qi@linaro.org>
2996
2997 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
2998 gdbserver_spawn.
2999 * gdb.server/connect-without-multi-process.exp (do_test):
3000 Likewise.
3001
3002 2016-08-23 Yao Qi <yao.qi@linaro.org>
3003
3004 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
3005 standalone_txt. Delete gdb_txt and standalone_txt on host
3006 and target. Spawn the binary on target. Copy files from
3007 target to host.
3008
3009 2016-08-22 Pedro Alves <palves@redhat.com>
3010
3011 PR gdb/20505
3012 * gdb.base/vdso-warning.exp: Test core dumps too. Use
3013 with_test_prefix. Factor out bits to ...
3014 (test_no_vdso): ... this new procedure.
3015
3016 2016-08-19 Carl Love <cel@us.ibm.com>
3017
3018 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
3019 maintaining separate logic for constructing the output path.
3020 * gdb.arch/powerpc-d128-regs.exp: Likewise.
3021 * gdb.arch/ppc-dfp.exp: Likewise.
3022 * gdb.arch/ppc-fp.exp: Likewise.
3023 * gdb.arch/vsx-regs.exp: Likewise.
3024 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
3025 binprefix for generating the additional binary files.
3026
3027 2016-08-19 Pedro Alves <palves@redhat.com>
3028
3029 * gdb.trace/mi-trace-frame-collected.exp
3030 (test_trace_frame_collected): On x32, expect two registers.
3031
3032 2016-08-18 Carl Love <cel@us.ibm.com>
3033
3034 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
3035 and sync up the test with tests in gas/testsuite/gas/ppc.
3036 * gdb.arch/powerpc-power.exp: Likewise.
3037
3038 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
3039
3040 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
3041 expected error message.
3042
3043 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
3044
3045 * gdb.multi/remove-inferiors.exp: New file.
3046 * gdb.multi/remove-inferiors.c: New file.
3047
3048 2016-08-12 Yao Qi <yao.qi@linaro.org>
3049
3050 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
3051 argument list.
3052
3053 2016-08-10 Pedro Alves <palves@redhat.com>
3054
3055 PR gdb/19187
3056 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
3057 setup_kfails.
3058
3059 2016-08-09 Pedro Alves <palves@redhat.com>
3060 Simon Marchi <simon.marchi@ericsson.com>
3061
3062 PR gdb/20418
3063 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
3064 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
3065
3066 2016-08-09 Pedro Alves <palves@redhat.com>
3067
3068 PR mi/20431
3069 * gdb.mi/mi-cmd-error.exp: New file.
3070
3071 2016-08-09 Pedro Alves <palves@redhat.com>
3072
3073 PR gdb/18653
3074 * gdb.base/signals-state-child.c: New file.
3075 * gdb.base/signals-state-child.exp: New file.
3076 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
3077
3078 2016-08-09 Pedro Alves <palves@redhat.com>
3079
3080 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
3081
3082 2016-08-03 Tom Tromey <tom@tromey.com>
3083
3084 PR python/18565:
3085 * gdb.python/py-frame-inline.exp: Add Frame.function test.
3086
3087 2016-08-01 Yao Qi <yao.qi@linaro.org>
3088
3089 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
3090 variable mode to "multi-process" if $multi_process is 1, otherwise
3091 set it to "single-process".
3092
3093 2016-08-01 Yao Qi <yao.qi@linaro.org>
3094
3095 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
3096 * gdb.cp/cpexprs.exp: Likewise.
3097 * gdb.cp/m-static.exp: Likewise.
3098
3099 2016-07-26 Tom Tromey <tom@tromey.com>
3100
3101 PR python/20190:
3102 * gdb.threads/tls.exp (check_thread_local): Add python symbol
3103 test.
3104
3105 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
3106
3107 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
3108 selecting assembly source files.
3109 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
3110 assembly source files.
3111 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
3112 assembly source files.
3113 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
3114 selecting assembly source files.
3115
3116 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
3117
3118 * gdb.base/new-ui.exp (do_test_invalid_args): New
3119 procedure.
3120
3121 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
3122
3123 * gdb.btrace/reconnect.c: New file.
3124 * gdb.btrace/reconnect.exp: New file.
3125
3126 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
3127
3128 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
3129 to test_catch_syscall_group.
3130 (test_catch_syscall_group): New.
3131
3132 2016-07-21 Tom Tromey <tom@tromey.com>
3133
3134 * gdb.rust/simple.rs (main): Use empty struct expression.
3135 * gdb.rust/simple.exp: Add tests for empty struct expression.
3136
3137 2016-07-21 Yao Qi <yao.qi@linaro.org>
3138
3139 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
3140 if gdb_skip_xml_test is true on some targets.
3141
3142 2016-07-21 Yao Qi <yao.qi@linaro.org>
3143
3144 * gdb.server/solib-list.exp: Unset last_loaded_file.
3145
3146 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3147
3148 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
3149 "step into captured_main (args)".
3150
3151 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3152
3153 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
3154
3155 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3156
3157 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
3158
3159 2016-07-19 Pedro Alves <palves@redhat.com>
3160
3161 * gdb.opt/inline-break.exp: Remove optimize=-O2.
3162 * gdb.opt/inline-bt.exp: Likewise.
3163 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
3164 additional_flags=-Winline.
3165 * gdb.opt/inline-locals.exp: Likewise.
3166 * gdb.opt/inline-markers.c (ATTR): Define.
3167 (inlined_fn): Use it.
3168
3169 2016-07-19 Yao Qi <yao.qi@linaro.org>
3170
3171 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
3172 (test_with_self): Remove some code. Remove argument executable.
3173 (top-level): Use do_self_tests.
3174
3175 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
3176 Don Breazeal <donb@codesourcery.com>
3177
3178 * gdb.base/maint.exp: Escape paths used in regular expressions.
3179 * gdb.stabs/weird.exp: Likewise.
3180
3181 2016-07-13 Tom Tromey <tom@tromey.com>
3182
3183 PR python/15620, PR python/18620:
3184 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
3185 (test_bkpt_events): New procs.
3186
3187 2016-07-13 Tom Tromey <tom@tromey.com>
3188
3189 PR python/17698:
3190 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
3191 test.
3192 (test_watchpoints): Likewise.
3193 (test_bkpt_pending): New proc.
3194
3195 2016-07-13 Tom Tromey <tom@tromey.com>
3196
3197 PR cli/18053:
3198 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
3199 completion test.
3200
3201 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3202
3203 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
3204 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
3205 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
3206 f_label.
3207 (g): Rename g_end_lbl to g_label.
3208 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
3209 low_pc and high_pc.
3210 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
3211
3212 2016-07-12 Tom Tromey <tom@tromey.com>
3213
3214 PR python/19293:
3215 * gdb.python/py-unwind-maint.exp: Update tests.
3216
3217 2016-07-12 Yao Qi <yao.qi@linaro.org>
3218
3219 * lib/selftest-support.exp (selftest_setup): Match the output
3220 when captured_main is inlined.
3221
3222 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
3223
3224 * gdb.fortran/derived-types.exp (result_line, result_line_2):
3225 New variables.
3226 (print this%a, print this%b, print this): New tests.
3227 * gdb.fortran/derived-types.f90 (this): New object and
3228 initialization.
3229
3230 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
3231
3232 * gdb.ada/arraydim.exp: Remove extra directory level in build
3233 directory.
3234
3235 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
3236
3237 * lib/ada.exp: Remove extra directory level in build directory.
3238 * gdb.ada/cond_lang.exp: Likewise.
3239 * gdb.ada/exec_changed.exp: Likewise.
3240 * gdb.ada/lang_switch.exp: Likewise.
3241
3242 2016-07-06 Manish Goregaokar <manish@mozilla.com>
3243
3244 * simple.rs: Add test for raw pointer subscripting.
3245 * simple.exp: Add test expectations.
3246
3247 2016-07-05 Yao Qi <yao.qi@linaro.org>
3248
3249 * gdb.mi/mi-reverse.exp: Match =record-started output.
3250
3251 2016-07-01 Pedro Alves <palves@redhat.com>
3252
3253 * gdb.base/jit-reader.exp (info_registers_current_frame): New
3254 procedure.
3255 (jit_reader_test): Test the jit reader's unwinder.
3256 * gdb.base/jithost.c (jit_function_00_code): New global.
3257 (main): Use memcpy to fill in the mmapped code, instead of poking
3258 bytes manually here.
3259 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
3260 value.
3261 (read_debug_info): Save the function's range.
3262 (read_sp): New function.
3263 (unwind_frame): Use it. Also unwind RBP.
3264 (get_frame_id): Use read_sp.
3265 (gdb_init_reader): Use calloc instead of malloc.
3266 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
3267 parameter. Use gdb_test_multiple.
3268
3269 2016-07-01 Pedro Alves <palves@redhat.com>
3270 Antoine Tremblay <antoine.tremblay@ericsson.com>
3271
3272 * gdb.threads/process-dies-while-detaching.c: New file.
3273 * gdb.threads/process-dies-while-detaching.exp: New file.
3274
3275 2016-07-01 Pedro Alves <palves@redhat.com>
3276
3277 * gdb.multi/watchpoint-multi-exit.c: New file.
3278 * gdb.multi/watchpoint-multi-exit.exp: New file.
3279
3280 2016-06-30 Pedro Alves <palves@redhat.com>
3281
3282 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
3283 unset inferior_spawn_id.
3284
3285 2016-06-30 Pedro Alves <palves@redhat.com>
3286
3287 * lib/mi-support.exp (default_mi_gdb_start): Declare global
3288 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
3289
3290 2016-06-29 Yao Qi <yao.qi@linaro.org>
3291
3292 * gdb.base/return.c: Add copyright header.
3293
3294 2016-06-29 Tom Tromey <tom@tromey.com>
3295
3296 PR python/20129:
3297 * gdb.python/py-framefilter.exp: Add tests for setting priority
3298 and disabling of non-existent frame filter.
3299
3300 2016-06-29 Yao Qi <yao.qi@linaro.org>
3301
3302 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
3303 0x0f07ff.
3304
3305 2016-06-28 Yao Qi <yao.qi@linaro.org>
3306
3307 * gdb.base/catch-syscall.exp: Remove check on isnative and target
3308 triplets. Start gdb, execute catch syscall, and continue. Check
3309 gdb's output to determine catch syscall is supported.
3310
3311 2016-06-27 Manish Goregaokar <manish@mozilla.com>
3312
3313 * gdb.rust/simple.rs: Add test for returning unit in a function.
3314 * gdb.rust/simple.exp: Add expectation for functions returning
3315 unit.
3316
3317 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
3318
3319 * gdb.python/py-breakpoint-create-fail.c,
3320 gdb.python/py-breakpoint-create-fail.exp,
3321 gdb.python/py-breakpoint-create-fail.py: New testcase.
3322
3323 2016-06-25 Manish Goregaokar <manish@mozilla.com>
3324
3325 PR gdb/20239
3326 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
3327 * gdb.rust/simple.exp: Add test expectations for new NonZero
3328 tests.
3329
3330 2016-06-24 David Taylor <dtaylor@emc.com>
3331
3332 * gdb.base/offsets.exp: New file.
3333 * gdb.base/offsets.c: New file.
3334
3335 2016-06-23 Tom Tromey <tom@tromey.com>
3336
3337 PR gdb/16483:
3338 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
3339 before any filters are loaded.
3340
3341 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
3342
3343 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
3344 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
3345 structs.
3346 * gdb.fortran/derived-type-function.exp: New file.
3347 * gdb.fortran/derived-type-function.f90: New file.
3348
3349
3350 2016-06-21 Pedro Alves <palves@redhat.com>
3351
3352 * gdb.base/new-ui.exp: New file.
3353 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
3354 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
3355 (with_spawn_id): New procedure.
3356
3357 2016-06-21 Pedro Alves <palves@redhat.com>
3358
3359 * gdb.mi/mi-exec-run.exp: New file.
3360
3361 2016-06-21 Pedro Alves <palves@redhat.com>
3362
3363 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
3364 breakpoint command's output on the main UI.
3365 (test_break): New procedure, factored out from calls in the top
3366 level.
3367 (top level): Use foreach_with_prefix to test MI as main UI and as
3368 separate UI.
3369
3370 2016-06-21 Pedro Alves <palves@redhat.com>
3371
3372 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
3373 (test_awatch_creation_and_listing)
3374 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
3375 Remove 'type' parameter.
3376 (test_watchpoint_all): New parameter mi_mode. Remove
3377 with_test_prefix.
3378 (top level): Use foreach_with_prefix, and add main/separate UI MI
3379 testing axis.
3380
3381 2016-06-21 Pedro Alves <palves@redhat.com>
3382
3383 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
3384 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
3385 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
3386 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
3387 (gdb_main_spawn_id, mi_spawn_id): Declare and
3388 comment.
3389 (mi_create_inferior_pty): New procedure,
3390 factored out from default_mi_gdb_start.
3391 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
3392 procedures.
3393 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
3394 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
3395 Use mi_create_inferior_pty.
3396 (mi_gdb_start): Use eval to pass down args list.
3397
3398 2016-06-21 Pedro Alves <palves@redhat.com>
3399
3400 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
3401 * gdb.opt/inline-cmds.exp: Add MI tests.
3402
3403 2016-06-21 Pedro Alves <palves@redhat.com>
3404
3405 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
3406
3407 2016-06-21 Pedro Alves <palves@redhat.com>
3408
3409 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
3410 (top level): Use it instead of mi_execute_to.
3411
3412 2016-06-21 Pedro Alves <palves@redhat.com>
3413
3414 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
3415 (cont_handler_str): New.
3416 (signal_stop_handler): Set stop_handler_str instead of printing to
3417 stdout.
3418 (continue_handler): Set cont_handler_str instead of printing to
3419 stdout.
3420 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
3421 mi_send_resuming_command. Print stop_handler_str and
3422 cont_handler_str instead of expecting the python events print
3423 directly.
3424
3425 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
3426
3427 * gdb.base/jit-reader.exp: New file.
3428 * gdb.base/jithost.c: New file.
3429 * gdb.base/jithost.h: New file.
3430 * gdb.base/jitreader.c : New file.
3431 * gdb.base/jit-protocol.h: New file.
3432
3433 2016-06-17 Yao Qi <yao.qi@linaro.org>
3434
3435 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
3436 parameters follow_fork and detach_on_fork. Set follow-fork-mode
3437 and detach-on-fork. Adjust tests.
3438 (top level): Invoke break_cond_on_syscall with combinations of
3439 syscall, follow-fork-mode and detach-on-fork.
3440
3441 2016-06-17 Yao Qi <yao.qi@linaro.org>
3442
3443 * gdb.base/step-over-exit.c: New.
3444 * gdb.base/step-over-exit.exp: New.
3445
3446 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
3447
3448 * gdb.base/float.exp: Add target check for nds32*-*-*.
3449 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
3450
3451 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
3452
3453 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
3454 for unsupported target features.
3455 * gdb.base/call-rt-st.exp: Likewise.
3456 * gdb.base/call-sc.exp: Likewise.
3457 * gdb.base/call-signal-resume.exp: Likewise.
3458 * gdb.base/call-strs.exp: Likewise.
3459 * gdb.base/callexit.exp: Likewise.
3460 * gdb.base/callfuncs.exp: Likewise.
3461 * gdb.base/nodebug.exp: Likewise.
3462 * gdb.base/printcmds.exp: Likewise.
3463 * gdb.base/ptype.exp: Likewise.
3464 * gdb.base/structs.exp: Likewise.
3465 * gdb.base/unwindonsignal.exp: Likewise.
3466 * gdb.cp/gdb2495.exp: Likewise.
3467 * gdb.cp/templates.exp: Likewise.
3468 * gdb.cp/virtfunc.exp: Likewise.
3469 * gdb.threads/hand-call-in-threads.exp: Likewise.
3470 * gdb.threads/interrupted-hand-call.exp: Likewise.
3471 * gdb.threads/thread-unwindonsignal.exp: Likewise.
3472
3473 2016-06-10 Tom Tromey <tom@tromey.com>
3474
3475 PR rust/20110:
3476 * gdb.rust/expr.exp: Add test for integer constant larger than
3477 i32.
3478
3479 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
3480
3481 * gdb.fortran/nested-funcs.exp: New.
3482 * gdb.fortran/nested-funcs.f90: New.
3483
3484 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
3485
3486 * gdb.base/examine-backward.c: New file.
3487 * gdb.base/examine-backward.exp: New file.
3488
3489 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
3490
3491 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
3492 matching.
3493
3494 2016-06-02 Tom Tromey <tom@tromey.com>
3495
3496 PR python/18984:
3497 * gdb.python/py-shared.exp: Add solib_name test.
3498
3499 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
3500
3501 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
3502
3503 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
3504
3505 PR c++/19893
3506 * gdb.dwarf2/implref.exp: Rename to...
3507 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
3508 * gdb.dwarf2/implref-array.c: New file.
3509 * gdb.dwarf2/implref-array.exp: Likewise.
3510 * gdb.dwarf2/implref-global.c: Likewise.
3511 * gdb.dwarf2/implref-global.exp: Likewise.
3512 * gdb.dwarf2/implref-struct.c: Likewise.
3513 * gdb.dwarf2/implref-struct.exp: Likewise.
3514
3515 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
3516
3517 * gdb.trace/trace-condition.exp: Add 64bit tests.
3518
3519 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
3520
3521 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
3522 bits types.
3523 (main): Adapt to 8 to 64 bits types.
3524 * gdb.trace/trace-condition.exp: Add new tests.
3525
3526 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
3527
3528 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
3529
3530 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
3531
3532 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
3533 Move condition tests...
3534 * gdb.trace/trace-condition.exp: Here.
3535
3536 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
3537
3538 * gdb.trace/trace-condition.exp: Add counter-case tests.
3539
3540 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
3541
3542 PR c++/15231
3543 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
3544 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
3545
3546 2016-05-27 Pedro Alves <palves@redhat.com>
3547
3548 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
3549 New procedure.
3550 (top level): Call it, and bail out of DejaGnu is known to be bad.
3551
3552 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
3553
3554 * gdb.base/whatis.c: Extend the test case.
3555 * gdb.base/whatis.exp: Add additional tests.
3556
3557 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3558
3559 * gdb.fortran/type.f90: Add pointer variable.
3560 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
3561
3562 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3563
3564 * gdb.fortran/vla-type.exp: Fix testcase name.
3565
3566 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3567
3568 * gdb.fortran/vla-type.exp: Access elements in nested structs.
3569
3570 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3571
3572 * gdb.fortran/type.f90: Add nested structures.
3573 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
3574 * gdb.fortran/derived-type.exp: Adapt expected output.
3575 * gdb.fortran/vla-type.exp: Adapt expected output.
3576
3577 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3578
3579 * gdb.fortran/whatis_type.exp: Adapt expected output.
3580
3581 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3582
3583 * gdb.fortran/print_type.exp: Fix expected output.
3584 * gdb.fortran/whatis_type.exp: Fix expected output.
3585
3586 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3587
3588 * gdb.fortran/whatis_type.exp: Use multi_line.
3589
3590 2016-05-24 Tom Tromey <tom@tromey.com>
3591
3592 PR python/17386:
3593 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
3594 use value as an index.
3595
3596 2016-05-23 Tom Tromey <tom@tromey.com>
3597
3598 PR python/17981:
3599 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
3600 no-breakpoint case.
3601
3602 2016-05-24 Pedro Alves <palves@redhat.com>
3603
3604 PR gdb/19828
3605 * gdb.threads/clone-attach-detach.c: New file.
3606 * gdb.threads/clone-attach-detach.exp: New file.
3607
3608 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
3609
3610 * gdb.base/annota-input-while-running.exp: Fix syntax error.
3611
3612 2016-05-23 Tom Tromey <tom@tromey.com>
3613
3614 PR python/19438, PR python/18393:
3615 * gdb.python/py-progspace.exp: Add "dir" test.
3616 * gdb.python/py-objfile.exp: Add "dir" test.
3617
3618 2016-05-23 Yao Qi <yao.qi@linaro.org>
3619
3620 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
3621 * gdb.arch/thumb2-it.exp: Likewise.
3622
3623 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
3624
3625 * gdb.mi/mi-threads-interrupt.c: New file.
3626 * gdb.mi/mi-threads-interrupt.exp: New file.
3627
3628 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
3629
3630 PR gdb/18077
3631 * gdb.mi/mi-async-run.exp: New file.
3632 * gdb.mi/mi-async-run.c: New file.
3633
3634 2016-05-17 Tom Tromey <tom@tromey.com>
3635 Manish Goregaokar <manishsmail@gmail.com>
3636
3637 * lib/rust-support.exp: New file.
3638 * lib/gdb.exp (skip_rust_tests): New proc.
3639 (build_executable_from_specs): Handle rust.
3640 * lib/future.exp (gdb_find_rustc): New proc.
3641 (gdb_default_target_compile): Handle rust.
3642 * gdb.rust/expr.exp: New file.
3643 * gdb.rust/generics.exp: New file.
3644 * gdb.rust/generics.rs: New file.
3645 * gdb.rust/methods.exp: New file.
3646 * gdb.rust/methods.rs: New file.
3647 * gdb.rust/modules.exp: New file.
3648 * gdb.rust/modules.rs: New file.
3649 * gdb.rust/simple.exp: New file.
3650 * gdb.rust/simple.rs: New file.
3651
3652 2016-05-17 Tom Tromey <tom@tromey.com>
3653
3654 * gdb.base/default.exp (set language): Add rust.
3655
3656 2016-05-17 Tom Tromey <tom@tromey.com>
3657
3658 * gdb.gdb/unittest.exp: New file.
3659
3660 2016-05-16 Yao Qi <yao.qi@linaro.org>
3661
3662 * gdb.base/batch-preserve-term-settings.exp: Remove variable
3663 shell_prompt. Update shell_prompt_re.
3664
3665 2016-05-12 Doug Evans <dje@google.com>
3666
3667 PR symtab/19999
3668 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
3669 $options when building executable.
3670 * gdb.dwarf2/fission-loclists-pie.S: New file.
3671 * gdb.dwarf2/fission-loclists-pie.exp: New file.
3672
3673 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
3674
3675 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
3676 of [is_remote target],
3677
3678 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
3679
3680 * lib/gdb.exp (use_gdb_stub): New procedure.
3681
3682 2016-05-03 Yunlian Jiang <yunlian@google.com>
3683 Doug Evans <dje@google.com>
3684
3685 PR symtab/19914
3686 * gdb.dwarf2/dwp-sepdebug.c: New file.
3687 * gdb.dwarf2/dwp-sepdebug.exp: New file.
3688
3689 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
3690
3691 * gdb.base/detach.exp: Remove is_remote check.
3692
3693 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
3694
3695 * gdb.base/annota-input-while-running.exp: Don't check for
3696 [is_remote target]. Enable annotations after running to main.
3697 Remove unused "set test..." line.
3698
3699 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
3700
3701 * gdb.trace/trace-enable-disable.exp: New file.
3702 * gdb.trace/trace-enable-disable.c: New file.
3703
3704 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
3705
3706 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
3707 use it in info sharedlibrary test.
3708 * gdb.trace/ftrace-lock.exp: Likewise.
3709 * gdb.trace/ftrace.exp: Likewise.
3710 * gdb.trace/range-stepping.exp: Likewise.
3711 * gdb.trace/trace-break.exp: Likewise.
3712 * gdb.trace/trace-condition.exp: Likewise.
3713 * gdb.trace/trace-mt.exp: Likewise.
3714
3715 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
3716
3717 * lib/gdb.exp (gdb_load_shlibs): Rename to...
3718 (gdb_load_shlib): ... this.
3719 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
3720 gdb_load_shlib.
3721 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
3722 * gdb.base/ctxobj.exp: Likewise.
3723 * gdb.base/dprintf-pending.exp: Likewise.
3724 * gdb.base/dso2dso.exp: Likewise.
3725 * gdb.base/fixsection.exp: Likewise.
3726 * gdb.base/gcore-relro.exp: Likewise.
3727 * gdb.base/gdb1555.exp: Likewise.
3728 * gdb.base/global-var-nested-by-dso.exp: Likewise.
3729 * gdb.base/gnu-ifunc.exp: Likewise.
3730 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
3731 * gdb.base/jit-so.exp (one_jit_test): Likewise.
3732 * gdb.base/pending.exp: Likewise.
3733 * gdb.base/print-file-var.exp: Likewise.
3734 * gdb.base/print-symbol-loading.exp: Likewise.
3735 * gdb.base/shlib-call.exp: Likewise.
3736 * gdb.base/shreloc.exp: Likewise.
3737 * gdb.base/so-impl-ld.exp: Likewise.
3738 * gdb.base/solib-disc.exp: Likewise.
3739 * gdb.base/solib-nodir.exp: Likewise.
3740 * gdb.base/solib-overlap.exp: Likewise.
3741 * gdb.base/solib-symbol.exp: Likewise.
3742 * gdb.base/solib-weak.exp (do_test): Likewise.
3743 * gdb.base/sym-file.exp: Likewise.
3744 * gdb.base/symtab-search-order.exp: Likewise.
3745 * gdb.base/type-opaque.exp: Likewise.
3746 * gdb.base/unload.exp: Likewise.
3747 * gdb.base/watchpoint-solib.exp: Likewise.
3748 * gdb.compile/compile.exp: Likewise.
3749 * gdb.cp/gdb2384.exp: Likewise.
3750 * gdb.cp/infcall-dlopen.exp: Likewise.
3751 * gdb.cp/re-set-overloaded.exp: Likewise.
3752 * gdb.fortran/library-module.exp: Likewise.
3753 * gdb.opt/solib-intra-step.exp: Likewise.
3754 * gdb.python/py-finish-breakpoint.exp: Likewise.
3755 * gdb.python/py-shared.exp: Likewise.
3756 * gdb.reverse/solib-precsave.exp: Likewise.
3757 * gdb.reverse/solib-reverse.exp: Likewise.
3758 * gdb.server/solib-list.exp: Likewise.
3759 * gdb.threads/dlopen-libpthread.exp: Likewise.
3760 * gdb.threads/tls-shared.exp: Likewise.
3761 * gdb.threads/tls-so_extern.exp: Likewise.
3762 * gdb.trace/change-loc.exp: Likewise.
3763 * gdb.trace/ftrace-lock.exp: Likewise.
3764 * gdb.trace/ftrace.exp: Likewise.
3765 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
3766 * gdb.trace/pending.exp: Likewise.
3767 * gdb.trace/range-stepping.exp: Likewise.
3768 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
3769 (strace_info_marker): Likewise.
3770 (strace_probe_marker): Likewise.
3771 (strace_trace_on_same_addr): Likewise.
3772 (strace_trace_on_diff_addr): Likewise.
3773 * gdb.trace/trace-break.exp: Likewise.
3774 * gdb.trace/trace-condition.exp: Likewise.
3775 * gdb.trace/trace-mt.exp: Likewise.
3776
3777 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
3778
3779 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
3780 result of gdb_remote_download.
3781 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
3782 * gdb.base/dso2dso.exp: Likewise.
3783 * gdb.base/global-var-nested-by-dso.exp: Likewise.
3784 * gdb.base/print-file-var.exp: Likewise.
3785 * gdb.base/shlib-call.exp: Likewise.
3786 * gdb.base/shreloc.exp: Likewise.
3787 * gdb.base/solib-overlap.exp: Likewise.
3788 * gdb.base/solib-weak.exp (do_test): Likewise.
3789 * gdb.base/unload.exp: Likewise.
3790
3791 2016-04-27 Yao Qi <yao.qi@linaro.org>
3792
3793 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
3794 exists.
3795
3796 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
3797
3798 * vla-type.exp: Print structure from toplevel.
3799
3800 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
3801
3802 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
3803 of dynamic types.
3804 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
3805 of dynamic types.
3806
3807 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
3808
3809 * gdb.fortran/vla-type.f90: New file.
3810 * gdb.fortran/vla-type.exp: New file.
3811
3812 2016-04-25 Yao Qi <yao.qi@linaro.org>
3813
3814 * gdb.base/branch-to-self.c: New file.
3815 * gdb.base/branch-to-self.exp: New file.
3816
3817 2016-04-22 Yao Qi <yao.qi@linaro.org>
3818
3819 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
3820 more after $hex.
3821
3822 2016-04-22 Yao Qi <yao.qi@linaro.org>
3823
3824 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
3825 * gdb.base/annota3.exp: Likewise.
3826
3827 2016-04-22 Yao Qi <yao.qi@linaro.org>
3828
3829 * gdb.reverse/step-precsave.exp: Do one step and test program
3830 stops in "callee" and do multiple steps until program goes out
3831 of "callee".
3832 * gdb.reverse/step-reverse.exp: Likewise.
3833
3834 2016-04-22 Yao Qi <yao.qi@linaro.org>
3835
3836 * gdb.trace/signal.exp: Also pass if
3837 $tracepoint_hits($i) > $iterations.
3838
3839 2016-04-22 Yao Qi <yao.qi@linaro.org>
3840
3841 * gdb.trace/signal.c: New file.
3842 * gdb.trace/signal.exp: New file.
3843
3844 2016-04-19 Doug Evans <xdje42@gmail.com>
3845
3846 * gdb.base/bad-file.exp: New file.
3847
3848 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
3849
3850 * gdb.dwarf2/implref.exp: New file.
3851
3852 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
3853
3854 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
3855 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
3856 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
3857 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
3858 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
3859 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
3860 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
3861 * lib/fortran.exp (fortran_int4): New procedure.
3862 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
3863 (fortran_logical4): Likewise.
3864
3865 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
3866
3867 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
3868
3869 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
3870
3871 * lib/compiler.c: Add Intel specific preprocessor macros.
3872 * lib/compiler.cc: Likewise.
3873
3874 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
3875
3876 * gdb.server/connect-with-no-symbol-file.c: New file.
3877 * gdb.server/connect-with-no-symbol-file.exp: New file.
3878
3879 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
3880
3881 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
3882
3883 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
3884
3885 * boards/gdbserver-base.exp (${board}_download): Copy source file to
3886 standard output directory.
3887
3888 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
3889
3890 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
3891
3892 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
3893
3894 * gdb.btrace/instruction_history.c (loop): Add declaration.
3895
3896 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
3897
3898 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
3899
3900 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
3901
3902 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
3903 parentheses to print.
3904 (continue_handler): Likewise.
3905
3906 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
3907
3908 * gdb.server/solib-list.exp: Remove is_remote check.
3909 Pass shlib= to gdb_compile. Don't link shared library with
3910 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
3911 Run binary filename through "readlink -f" on the target.
3912
3913 2016-04-08 Pedro Alves <palves@redhat.com>
3914
3915 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
3916 interpreter filename as argument to gdbserver_spawn.
3917 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
3918 Return empty if $last_loaded_file does not exist.
3919
3920 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3921
3922 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
3923 * gdb.base/jit-main.c: Use exit after usage.
3924
3925 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3926
3927 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
3928 GDBHISTSIZE prior to the tests.
3929 * gdb.base/gdbinit-history.exp: Likewise.
3930
3931 2016-04-07 Pedro Alves <palves@redhat.com>
3932
3933 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
3934 instead of build_executable. Use gdb_load_shlibs.
3935
3936 2016-04-07 Yao Qi <yao.qi@linaro.org>
3937
3938 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
3939 Execute "si" command.
3940
3941 2016-04-07 Yao Qi <yao.qi@linaro.org>
3942
3943 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
3944 number instead of the comments on some line.
3945
3946 2016-04-06 Don Breazeal <donb@codesourcery.com>
3947
3948 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
3949 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
3950
3951 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
3952
3953 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
3954 standard_output_file. Remove unused binfile variable.
3955
3956 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
3957
3958 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
3959 * gdb.python/py-mi-objfile.exp: Match "list main" output
3960 in console format.
3961
3962 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
3963
3964 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
3965 absolute.
3966
3967 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
3968
3969 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
3970 absolute.
3971 * gdb.trace/ftrace.exp: Likewise.
3972 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
3973 targets as well.
3974 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
3975 (gdb_load_shlibs): Copy libraries to test directory when testing
3976 natively. Only set solib-search-path if testing remotely.
3977 * lib/mi-support.exp (mi_load_shlibs): Likewise.
3978
3979 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
3980
3981 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
3982 gdb_download. Use it even if the target is not remote.
3983 * gdb.base/jit.exp (compile_jit_test): Likewise.
3984 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
3985 output directory if the destination board is local, otherwise use
3986 the standard remote_download from DejaGnu.
3987 (gdb_download): Remove.
3988 (gdb_load_shlibs): Use gdb_remote_download instead of
3989 gdb_download.
3990 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
3991 Use gdb_remote_download instead of gdb_download. Use it even if
3992 the target is not remote.
3993 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
3994 instead of gdb_download.
3995
3996 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
3997
3998 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
3999 (test_insert_delete_modify): Call mi_load_shlibs before trying to
4000 run.
4001
4002 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
4003
4004 PR gdb/19820
4005 * gdb.base/printcmds.exp: Add artificial arrays tests.
4006
4007 2016-03-31 Pedro Alves <palves@redhat.com>
4008
4009 PR gdb/19858
4010 * gdb.base/jit-main.c: Include unistd.h.
4011 (ATTACH): Define to 0 if not already defined.
4012 (wait_for_gdb, mypid): New globals.
4013 (WAIT_FOR_GDB): New macro.
4014 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
4015 some breakpoint locations.
4016 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
4017 New procedures.
4018 (one_jit_test): Add REATTACH parameter, and handle it. Use
4019 continue_to_test_location.
4020 (top level): Test attach, and adjusts calls to one_jit_test.
4021
4022 2016-03-31 Pedro Alves <palves@redhat.com>
4023
4024 PR gdb/19858
4025 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
4026 BINSUFFIX parameter, and handle it.
4027 (top level): Adjust calls compile_jit_test.
4028
4029 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
4030
4031 PR python/19743
4032 * gdb.python/py-mi-events-gdb.py: New file.
4033 * gdb.python/py-mi-events.c: New file.
4034 * gdb.python/py-mi-events.exp: New file.
4035
4036 2016-03-30 Yao Qi <yao.qi@linaro.org>
4037
4038 * gdb.reverse/until-precsave.exp: Match function name only.
4039 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
4040 Move malloc to a condition block.
4041 * gdb.reverse/until-reverse.exp: Match function name only.
4042
4043 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
4044
4045 * gdb.trace/ftrace.exp: Set arg0exp for s390.
4046 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
4047 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
4048 variable for GPR 0 instead of assuming it is register 0.
4049 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
4050 * lib/trace-support.exp: Add s390 registers.
4051
4052 2016-03-29 Yao Qi <yao.qi@linaro.org>
4053
4054 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
4055
4056 2016-03-24 Yao Qi <yao.qi@linaro.org>
4057
4058 * gdb.reverse/break-reverse.exp: Add quotation mark in the
4059 test message.
4060
4061 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4062
4063 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
4064 maintaining separate logic for constructing the output path.
4065
4066 2016-03-16 Don Breazeal <donb@codesourcery.com>
4067
4068 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
4069 Retry fork and waitpid on interrupted system call errors.
4070 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
4071 Use with_timeout_factor to increase timeout by factor of 10.
4072
4073 2016-03-15 Don Breazeal <donb@codesourcery.com>
4074
4075 * gdb.cp/scope-err.cc: New test program.
4076 * gdb.cp/scope-err.exp: New test script.
4077 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
4078 lines and "set breakpoint here" comment.
4079 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
4080 Fixed some whitespace and format issues.
4081 * gdb.mi/mi-linespec-err-cp.cc: New test program.
4082 * gdb.mi/mi-linespec-err-cp.exp: New test script.
4083
4084 2016-03-15 Doug Evans <dje@google.com>
4085
4086 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
4087 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
4088 All callers updated. Add tests for enums, mixed flags register.
4089
4090 2016-03-15 Doug Evans <dje@google.com>
4091
4092 * gdb.base/skip.c (main): Call test_skip_file_and_function.
4093 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
4094
4095 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
4096
4097 * gdb.base/default.exp: Add $_as_string to the list of expected
4098 convenience functions.
4099
4100 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
4101
4102 * gdb.base/maint.exp: New tests for 'maint info line-table'.
4103
4104 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
4105
4106 * gdb.python/py-as-string.exp: New file.
4107 * gdb.python/py-as-string.c: New file.
4108
4109 2016-03-09 Pedro Alves <palves@redhat.com>
4110
4111 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
4112 signal" -> "Thread NN received signal" output change.
4113 * gdb.threads/ia64-sigill.exp: Likewise.
4114 * gdb.threads/linux-dp.exp: Likewise.
4115 * gdb.threads/manythreads.exp: Likewise.
4116 * gdb.threads/pending-step.exp: Likewise.
4117 * gdb.threads/print-threads.exp: Likewise.
4118 * gdb.threads/sigstep-threads.exp: Likewise.
4119 * gdb.threads/staticthreads.exp: Likewise.
4120 * gdb.threads/tls.exp: Likewise.
4121
4122 2016-03-09 Pedro Alves <palves@redhat.com>
4123
4124 * gdb.base/command-line-input.exp: New file.
4125
4126 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
4127
4128 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
4129 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
4130 * gdb.trace/pending.exp: Accept leading dot before function name.
4131 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
4132 * lib/trace-support.exp: Set registers for ppc.
4133
4134 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
4135
4136 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
4137 use it for disassembly; accept .main in addition to main in backtrace.
4138
4139 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
4140 Marcin Kościelnicki <koriakin@0x04.net>
4141
4142 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
4143 (gdb_recursion_test_ptr): New global variable.
4144 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
4145 gdb_recursion_test.
4146 (gdb_c_test): Ditto.
4147
4148 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
4149
4150 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
4151 ordering.
4152
4153 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
4154
4155 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
4156 (bar): Add bar_start_lbl label.
4157 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
4158 of foo/bar for emitting DWARF and tracing.
4159
4160 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
4161
4162 * analyze-racy-logs.py: Set executable bit.
4163
4164 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
4165
4166 * Makefile.in (DEFAULT_RACY_ITER): New variable.
4167 (CHECK_TARGET_TMP): Likewise.
4168 (check-single-racy): New rule.
4169 (check-parallel-racy): Likewise.
4170 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
4171 (do-check-parallel-racy): New rule.
4172 (check-racy/%.exp): Likewise.
4173 * README (Racy testcases): New section.
4174 * analyze-racy-logs.py: New file.
4175
4176 2016-03-03 Doug Evans <dje@google.com>
4177
4178 * gdb.base/skip.exp: Use with_test_prefix.
4179
4180 2016-03-03 Yao Qi <yao.qi@linaro.org>
4181
4182 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
4183 Invoke step_over_syscall "clone" and break_cond_on_syscall
4184 "clone".
4185 * gdb.base/step-over-clone.c: New file.
4186
4187 2016-03-03 Yao Qi <yao.qi@linaro.org>
4188
4189 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
4190 code format.
4191
4192 2016-03-03 Yao Qi <yao.qi@linaro.org>
4193
4194 * gdb.base/disp-step-fork.c: Rename to ...
4195 * gdb.base/step-over-fork.c: ... it. New file.
4196 * gdb.base/disp-step-vfork.c: Rename to ...
4197 * gdb.base/step-over-vfork.c: ... it. New file.
4198 * gdb.base/disp-step-syscall.exp: Rename to ...
4199 * gdb.base/step-over-syscall.exp: ... it. New file.
4200 (disp_step_cross_syscall): Rename to ...
4201 (step_over_syscall): ... it.
4202
4203 2016-03-03 Yao Qi <yao.qi@linaro.org>
4204
4205 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
4206 If target supports condition evaluation on target, invoke
4207 break_cond_on_syscall for fork and vfork.
4208
4209 2016-03-03 Yao Qi <yao.qi@linaro.org>
4210
4211 * gdb.base/disp-step-syscall.exp: Don't invoke
4212 support_displaced_stepping.
4213 (disp_step_cross_syscall): Test with displaced stepping off and
4214 on if supported.
4215
4216 2016-03-03 Yao Qi <yao.qi@linaro.org>
4217
4218 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
4219 proc.
4220 (setup): New proc.
4221 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
4222 and setup.
4223
4224 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
4225
4226 * gdb.fortran/vla-history.exp: Remove breakpoint.
4227
4228 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
4229
4230 * gdb.fortran/vla-history.exp: Lookup array elements and printing
4231 exceeds timeout.
4232
4233 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
4234
4235 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
4236 breakpoint.
4237
4238 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
4239
4240 * gdb.mi/vla.f90: Nullify pointer after declaration.
4241
4242 2016-03-01 Pedro Alves <palves@redhat.com>
4243
4244 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
4245
4246 2016-03-01 Pedro Alves <palves@redhat.com>
4247
4248 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
4249 before anything else.
4250 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
4251 _GNU_SOURCE here.
4252 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
4253 before anything else.
4254 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
4255
4256 2016-03-01 Pedro Alves <palves@redhat.com>
4257
4258 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
4259
4260 2016-03-01 Yao Qi <yao.qi@linaro.org>
4261
4262 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
4263 prepare_for_testing.
4264
4265 2016-03-01 Yao Qi <yao.qi@linaro.org>
4266
4267 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
4268
4269 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
4270
4271 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
4272 manually constructing the output path.
4273
4274 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
4275
4276 * gdb.arch/s390-stackless.S: New.
4277 * gdb.arch/s390-stackless.exp: New.
4278
4279 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
4280
4281 * gdb.dlang/circular.c: New file.
4282 * gdb.dlang/circular.exp: New file.
4283
4284 2016-02-26 Yao Qi <yao.qi@linaro.org>
4285
4286 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
4287 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
4288 (testcases): Update.
4289
4290 2016-02-26 Yao Qi <yao.qi@linaro.org>
4291
4292 * gdb.reverse/aarch64.c: Rename to ...
4293 * gdb.reverse/insn-reverse.c: ... it.
4294 * gdb.reverse/aarch64.exp: Rename to ...
4295 * gdb.reverse/insn-reverse.exp: ... it.
4296
4297 2016-02-26 Yao Qi <yao.qi@linaro.org>
4298
4299 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
4300 (testcase_ftype): New.
4301 (testcases): New array.
4302 (n_testcases): New.
4303 (main): Call each element in testcases.
4304 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
4305 (read_testcase): New.
4306 Do the tests in a loop.
4307
4308 2016-02-25 Yao Qi <yao.qi@linaro.org>
4309
4310 * gdb.base/branches.c: Remove.
4311
4312 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
4313
4314 PR gdb/13808
4315 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
4316
4317 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
4318
4319 * gdb.trace/ftrace.exp: Remove unnecessary target check.
4320
4321 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
4322
4323 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
4324 change x86_64 call_insn to 'callq'.
4325
4326 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4327
4328 * gdb.trace/tfile-avx.c: Move to...
4329 * gdb.trace/tracefile-pseudo-reg.c: Here.
4330 * gdb.trace/tfile-avx.exp: Move to...
4331 * gdb.trace/tracefile-pseudo-reg.exp: Here.
4332
4333 2016-02-24 Gary Benson <gbenson@redhat.com>
4334
4335 * gdb.base/attach-pie-noexec.exp: Do not expect an error
4336 message on attach.
4337
4338 2016-02-23 Doug Evans <dje@google.com>
4339
4340 * gdb.base/skip.c (test_skip): New function.
4341 (end_test_skip_file_and_function): New function.
4342 (test_skip_file_and_function): New function.
4343 * gdb.base/skip1.c (test_skip): New function.
4344 (skip1_test_skip_file_and_function): New function.
4345 * gdb.base/skip.exp: Add tests for new skip options.
4346 * gdb.base/skip-solib.exp: Update expected output.
4347 * gdb.perf/skip-command.cc: New file.
4348 * gdb.perf/skip-command.exp: New file.
4349 * gdb.perf/skip-command.py: New file.
4350
4351 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
4352
4353 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
4354 info registers pattern.
4355
4356 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
4357
4358 * lib/future.exp: Add D support.
4359 (gdb_find_gdc): New proc.
4360 (gdb_default_target_compile): Add D support.
4361
4362 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
4363
4364 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
4365 user+system time.
4366 (trace_speed_test): Determine the iteration count for a time
4367 between 15..30 seconds.
4368
4369 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
4370
4371 * gdb.arch/i386-mpx-sigsegv.c: New file.
4372 * gdb.arch/i386-mpx-sigsegv.exp: New file.
4373 * gdb.arch/i386-mpx-simple_segv.c: New file.
4374 * gdb.arch/i386-mpx-simple_segv.exp: New file.
4375
4376 2016-02-18 Yao Qi <yao.qi@linaro.org>
4377
4378 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
4379 Don't call setup_kfail.
4380
4381 2016-02-18 Yao Qi <yao.qi@linaro.org>
4382
4383 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
4384 Set "set breakpoint condition-evaluation" per $cond_bp_target.
4385
4386 2016-02-16 Doug Evans <dje@google.com>
4387
4388 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
4389 * gdb.base/skip1.c: Ditto.
4390 * gdb.base/skip.exp: Whitespace cleanup.
4391
4392 2016-02-16 Don Breazeal <donb@codesourcery.com>
4393
4394 PR remote/19496
4395 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
4396 Remove kfail for PR remote/19496.
4397
4398 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
4399
4400 * lib/gdb.exp (standard_temp_file): Return a path specific to
4401 the runtest invocation.
4402
4403 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
4404
4405 * gdb.trace/save-trace.exp: Change relative path to be in the
4406 standard output directory.
4407
4408 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4409
4410 * gdb.arch/i386-prologue.c: Add missing prototypes.
4411
4412 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4413
4414 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
4415 * gdb.arch/i386-prologue.exp: Likewise.
4416 * gdb.arch/i386-size.exp: Likewise.
4417
4418 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
4419
4420 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
4421 define object file path.
4422 * gdb.btrace/gcore.exp: Use standard_output_file to define core
4423 file path.
4424 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
4425 standard_output_file to define binfile.
4426
4427 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4428
4429 Fix compatibility with recent gfortran-5.3.1.
4430 * gdb.fortran/vla-history.exp (print vla1 allocated)
4431 (print vla2 allocated, print $2, print $3): Remove
4432 (print $4): Rename to ...
4433 (print $2): ... here.
4434 (print $9): Rename to ...
4435 (print $5): ... here.
4436 (print $10): Rename to ...
4437 (print $6): ... here.
4438 * gdb.fortran/vla.f90: Add pvla initialization.
4439
4440 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4441
4442 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
4443 New test.
4444 * gdb.fortran/vla-value-sub.exp: Likewise.
4445
4446 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
4447
4448 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
4449
4450 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
4451
4452 * i386-biarch-core.exp: Define corefile using
4453 standard_output_file.
4454
4455 2016-02-12 Yao Qi <yao.qi@linaro.org>
4456
4457 * gdb.arch/arm-single-step-kernel-helper.c: New.
4458 * gdb.arch/arm-single-step-kernel-helper.exp: New.
4459
4460 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
4461
4462 * gdb.btrace/tailcall-only.exp: New.
4463 * gdb.btrace/tailcall-only.c: New.
4464 * gdb.btrace/x86_64-tailcall-only.S: New.
4465 * gdb.btrace/i686-tailcall-only.S: New.
4466
4467 2016-02-11 Pedro Alves <palves@redhat.com>
4468
4469 * README (Parallel testing): Add missing double quotes.
4470
4471 2016-02-11 Pedro Alves <palves@redhat.com>
4472
4473 * README (Parallel testing): New section.
4474 (GDB_PARALLEL): Rewrite.
4475 (FORCE_PARALLEL): Document.
4476
4477 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
4478
4479 * gdb.trace/tfile-avx.c: New test.
4480 * gdb.trace/tfile-avx.exp: New test.
4481
4482 2016-02-09 Keith Seitz <keiths@redhat.com>
4483
4484 PR breakpoints/19546
4485 * gdb.base/infcall-exec.c: New file.
4486 * gdb.base/infcall-exec2.c: New file.
4487 * gdb.base/infcall-exec.exp: New file.
4488
4489 2016-02-09 Keith Seitz <keiths@redhat.com>
4490
4491 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
4492 (toplevel): Call test_bkpt_address.
4493
4494 2016-02-09 Keith Seitz <keiths@redhat.com>
4495
4496 PR python/19506
4497 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
4498 (toplevel): Call test_bkpt_address.
4499
4500 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
4501
4502 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
4503 to AC_OUTPUT.
4504 * configure: Regenerate.
4505
4506 2016-02-09 Pedro Alves <palves@redhat.com>
4507
4508 PR breakpoints/19548
4509 * gdb.base/execl-update-breakpoints.c (some_function): New
4510 function.
4511 (main): Call it.
4512 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
4513 Tighten expected GDB output.
4514
4515 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
4516
4517 * Makefile.in (ALL_SUBDIRS): Remove.
4518 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
4519 (distclean maintainer-clean realclean): Likewise.
4520 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
4521 * configure: Regenerate.
4522 * gdb.ada/Makefile.in: Delete.
4523 * gdb.arch/Makefile.in: Likewise.
4524 * gdb.asm/Makefile.in: Likewise.
4525 * gdb.base/Makefile.in: Likewise.
4526 * gdb.btrace/Makefile.in: Likewise.
4527 * gdb.cell/Makefile.in: Likewise.
4528 * gdb.compile/Makefile.in: Likewise.
4529 * gdb.cp/Makefile.in: Likewise.
4530 * gdb.disasm/Makefile.in: Likewise.
4531 * gdb.dlang/Makefile.in: Likewise.
4532 * gdb.dwarf2/Makefile.in: Likewise.
4533 * gdb.fortran/Makefile.in: Likewise.
4534 * gdb.gdb/Makefile.in: Likewise.
4535 * gdb.go/Makefile.in: Likewise.
4536 * gdb.guile/Makefile.in: Likewise.
4537 * gdb.java/Makefile.in: Likewise.
4538 * gdb.linespec/Makefile.in: Likewise.
4539 * gdb.mi/Makefile.in: Likewise.
4540 * gdb.modula2/Makefile.in: Likewise.
4541 * gdb.multi/Makefile.in: Likewise.
4542 * gdb.objc/Makefile.in: Likewise.
4543 * gdb.opencl/Makefile.in: Likewise.
4544 * gdb.opt/Makefile.in: Likewise.
4545 * gdb.pascal/Makefile.in: Likewise.
4546 * gdb.perf/Makefile.in: Likewise.
4547 * gdb.python/Makefile.in: Likewise.
4548 * gdb.reverse/Makefile.in: Likewise.
4549 * gdb.server/Makefile.in: Likewise.
4550 * gdb.stabs/Makefile.in: Likewise.
4551 * gdb.threads/Makefile.in: Likewise.
4552 * gdb.trace/Makefile.in: Likewise.
4553 * gdb.xml/Makefile.in: Likewise.
4554 * lib/gdb.exp (make_gdb_parallel_path): Add check for
4555 GDB_PARALLEL.
4556 (standard_output_file): Remove check for GDB_PARALLEL, always
4557 return path in outputs/$subdir/$testname.
4558
4559 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
4560
4561 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
4562 (site.exp): Assign abs_srcdir to tcl's srcdir.
4563
4564 2016-02-04 Yao Qi <yao.qi@linaro.org>
4565
4566 * gdb.base/foll-exec-mode.c: Include limits.h.
4567 (main): Add parameters argc and argv. Get directory from
4568 argv[0].
4569 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
4570 compilation.
4571 * gdb.base/foll-exec.c: Include limits.h.
4572 (main): Add parameters argc and argv.
4573 Get directory from argv[0].
4574 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
4575 Adjust tests on the number of lines as source code changed.
4576 * gdb.base/foll-vfork-exit.c: Include limits.h.
4577 (main): Add one line of statement before vfork.
4578 * gdb.base/foll-vfork.c: Include limits.h and string.h.
4579 (main): Add parameters argc and argv. Get directory from
4580 argv[0].
4581 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
4582 (setup_gdb): Set tbreak to skip some source lines.
4583 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
4584 (main): Add parameters argc and argv. Get directory from
4585 argv[0].
4586 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
4587 compilation.
4588 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
4589 (main): Add parameters argc and argv. Get directory from
4590 argv[0].
4591 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
4592 compilation.
4593
4594 2016-02-01 Doug Evans <dje@google.com>
4595
4596 * gdb.base/skip.exp: Clean up multiple references to same test name.
4597
4598 2016-02-01 Pedro Alves <palves@redhat.com>
4599
4600 PR remote/19496
4601 * gdb.threads/forking-threads-plus-breakpoint.exp
4602 (displaced_stepping_supported): New global.
4603 (probe_displaced_stepping_support): New procedure.
4604 (do_test): Add 'displaced' parameter, and use it.
4605 (top level): Check for displaced stepping support. Add displaced
4606 stepping on/off testing axis.
4607
4608 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
4609
4610 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
4611 pointer. Don't perform further tests on the unassociated pointer
4612 if the first test fails.
4613
4614 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
4615
4616 * gdb.base/max-value-size.c: New file.
4617 * gdb.base/max-value-size.exp: New file.
4618 * gdb.base/huge.exp: Disable max-value-size for this test.
4619
4620 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
4621
4622 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
4623
4624 2016-01-28 Yao Qi <yao.qi@linaro.org>
4625
4626 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
4627
4628 2016-01-25 Pedro Alves <palves@redhat.com>
4629
4630 PR threads/19461
4631 * gdb.base/fork-running-state.c: New file.
4632 * gdb.base/fork-running-state.exp: New file.
4633
4634 2016-01-25 Pedro Alves <palves@redhat.com>
4635
4636 PR gdb/19494
4637 * gdb.base/catch-fork-kill.c: New file.
4638 * gdb.base/catch-fork-kill.exp: New file.
4639
4640 2016-01-25 Pedro Alves <palves@redhat.com>
4641
4642 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
4643 Delete, moved to lib/gdb.exp.
4644 * gdb.threads/forking-threads-plus-breakpoint.exp
4645 (foreach_with_prefix): Likewise.
4646 * gdb.threads/process-dies-while-handling-bp.exp
4647 (foreach_with_prefix): Likewise.
4648 * lib/gdb.exp (foreach_with_prefix): New procedure.
4649
4650 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
4651
4652 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
4653 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
4654
4655 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
4656
4657 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
4658 endian targets.
4659
4660 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4661 Pedro Alves <palves@redhat.com>
4662
4663 Fix testsuite compatibility with Guile.
4664 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
4665 number.
4666
4667 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4668
4669 Fix testsuite compatibility with Guile.
4670 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
4671 (thread 1): New test for backtrace through signal handler.
4672
4673 2016-01-22 Yao Qi <yao.qi@linaro.org>
4674
4675 PR testsuite/19491
4676 * gdb.base/multi-forks.c: Include
4677 ../lib/unbuffer_output.c
4678 (main): Call gdb_unbuffer_output.
4679
4680 2016-01-21 Doug Evans <dje@google.com>
4681
4682 * lib/ada.exp (gdb_compile_ada): Fix typo.
4683
4684 2016-01-21 Joel Brobecker <brobecker@adacore.com>
4685
4686 * gdb.base/break-fun-addr.exp: New file.
4687 * gdb.base/break-fun-addr1.c: New file.
4688 * gdb.base/break-fun-addr2.c: New file.
4689
4690 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
4691
4692 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
4693 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
4694 enum flag values.
4695
4696 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
4697
4698 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
4699 when GDB can not set the vector return value. Add more comments
4700 for clarification.
4701
4702 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
4703
4704 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
4705 command.
4706
4707 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
4708
4709 * Makefile.in (DO_RUNTEST): Add --status and update usages.
4710
4711 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
4712
4713 * Makefile.in (check-single): Pass --status to runtest.
4714 (check/%.exp): Likewise.
4715
4716 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
4717
4718 * Makefile.in (check-parallel): Propagate return code from make
4719 do-check-parallel.
4720
4721 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
4722
4723 * gdb.trace/ftrace.exp: Fix expected message on continue.
4724 * gdb.trace/pending.exp: Fix expected message on continue.
4725 * gdb.trace/trace-break.exp: Fix expected message on continue.
4726
4727 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
4728
4729 * lib/gdb.exp (gdb_test): Remove unused global references.
4730
4731 2016-01-18 Pedro Alves <palves@redhat.com>
4732
4733 * gdb.base/async-shell.exp: Adjust expected output.
4734 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
4735 * gdb.base/siginfo-thread.exp: Adjust expected output.
4736 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
4737 * gdb.java/jnpe.exp: Adjust expected output.
4738 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
4739 * gdb.threads/continue-pending-status.exp: Adjust expected output.
4740 * gdb.threads/leader-exit.exp: Adjust expected output.
4741 * gdb.threads/manythreads.exp: Adjust expected output.
4742 * gdb.threads/pthreads.exp: Adjust expected output.
4743 * gdb.threads/schedlock.exp: Adjust expected output.
4744 * gdb.threads/siginfo-threads.exp: Adjust expected output.
4745 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
4746 expected output.
4747 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
4748 output.
4749 * gdb.threads/sigthread.exp: Adjust expected output.
4750 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
4751
4752 2016-01-18 Yao Qi <yao.qi@linaro.org>
4753
4754 * gdb.guile/scm-section-script.c: Replace @progbits with
4755 %progbits.
4756 * gdb.python/py-section-script.c: Likewise.
4757
4758 2016-01-15 Pedro Alves <palves@redhat.com>
4759
4760 * gdb.multi/tids.exp: Test star wildcard ranges.
4761
4762 2016-01-15 Pedro Alves <palves@redhat.com>
4763
4764 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
4765 command from "thread apply" invocation.
4766 (thr_apply_info_thr_invalid): Default the expected output to the
4767 input tid list.
4768 (top level): Add tests that use convenience variables. Add tests
4769 for "thread apply" with a valid TID list, but missing the command.
4770
4771 2016-01-13 Pedro Alves <palves@redhat.com>
4772
4773 * gdb.base/default.exp: Expect $_gthread as well.
4774 * gdb.multi/tids.exp: Test $_gthread.
4775 * gdb.threads/thread-specific.exp: Test $_gthread.
4776
4777 2016-01-13 Pedro Alves <palves@redhat.com>
4778
4779 * gdb.multi/tids.exp: Test "info threads -gid".
4780
4781 2016-01-13 Pedro Alves <palves@redhat.com>
4782
4783 * gdb.multi/tids.exp: Test InferiorThread.global_num and
4784 Breakpoint.thread.
4785 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
4786
4787 2016-01-07 Pedro Alves <palves@redhat.com>
4788
4789 * gdb.base/break.exp: Adjust to output changes.
4790 * gdb.base/hbreak2.exp: Likewise.
4791 * gdb.base/sepdebug.exp: Likewise.
4792 * gdb.base/watch_thread_num.exp: Likewise.
4793 * gdb.linespec/keywords.exp: Likewise.
4794 * gdb.multi/info-threads.exp: Likewise.
4795 * gdb.threads/thread-find.exp: Likewise.
4796 * gdb.multi/tids.c: New file.
4797 * gdb.multi/tids.exp: New file.
4798
4799 2016-01-13 Pedro Alves <palves@redhat.com>
4800
4801 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
4802
4803 2016-01-13 Pedro Alves <palves@redhat.com>
4804
4805 * gdb.base/default.exp: Expect $_inferior as well.
4806 * gdb.multi/base.exp: Test $_inferior.
4807
4808 2016-01-13 Pedro Alves <palves@redhat.com>
4809
4810 PR breakpoints/19388
4811 * gdb.base/catch-signal-siginfo-cond.c: New file.
4812 * gdb.base/catch-signal-siginfo-cond.exp: New file.
4813
4814 2016-01-12 Josh Stone <jistone@redhat.com>
4815 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4816
4817 * gdb.base/catch-syscall.c (do_execve): New variable.
4818 (main): Conditionally trigger an execve.
4819 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
4820 (test_catch_syscall_execve): New, check entry/return across execve.
4821 (do_syscall_tests): Call test_catch_syscall_execve.
4822
4823 2016-01-12 Pedro Alves <palves@redhat.com>
4824
4825 * gdb.base/random-signal.exp (do_test): New procedure, with body
4826 of testcase moved in.
4827
4828 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4829 Pedro Alves <palves@redhat.com>
4830
4831 * gdb.base/funcargs.exp (finish from indirectly called function):
4832 Reintroduce the case for 'First'.
4833
4834 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4835 Pedro Alves <palves@redhat.com>
4836
4837 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
4838 (tcatch_vfork_then_child_follow_exec)
4839 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
4840 identification.
4841
4842 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4843
4844 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
4845 and repeats to unlimited.
4846 * gdb.python/py-value.exp: Likewise.
4847 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
4848 and repeats to unlimited.
4849
4850 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4851
4852 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
4853 and reordering the functions.
4854 * gdb.multi/hangout.c: Likewise.
4855 * gdb.multi/hello.c: Likewise.
4856
4857 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
4858
4859 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
4860 absolute.
4861 (SingleStatisticTestResult.report): Use dict.keys instead of
4862 dict.iterkeys.
4863
4864 2016-01-06 Pedro Alves <palves@redhat.com>
4865
4866 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
4867
4868 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
4869
4870 * gdb.btrace/dlopen.exp: New.
4871 * gdb.btrace/dlopen.c: New.
4872 * gdb.btrace/dlopen-dso.c: New.
4873
4874 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
4875
4876 * lib/gdb.exp (gdb_test): Update comments to clarify that the
4877 PATTERN argument is optional.
4878
4879 2015-12-24 Joel Brobecker <brobecker@adacore.com>
4880
4881 * lib/ada.exp (target_compile_ada_from_dir): New function.
4882 (gdb_compile_ada): Reimplement avoiding the use of project files.
4883 * gdb.ada/gnat_ada.gpr: Delete.
4884 * gdb.ada/cond_lang.exp: Adjust test to make path before
4885 filename optional.
4886 * gdb.ada/small_reg_param.exp: Likewise.
4887
4888 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
4889
4890 * gdb.base/foll-vork.exp: Remove HP-UX special case.
4891
4892 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
4893
4894 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
4895 case.
4896
4897 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
4898
4899 * gdb.base/break.exp: Remove dead code.
4900 * gdb.base/sepdebug.exp: Likewise.
4901
4902 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
4903
4904 * gdb.asm/asm-source.exp: Remove HP-UX references.
4905 * gdb.base/annota1.exp: Likewise.
4906 * gdb.base/annota3.exp: Likewise.
4907 * gdb.base/attach.exp: Likewise.
4908 * gdb.base/bigcore.exp: Likewise.
4909 * gdb.base/break.exp: Likewise.
4910 * gdb.base/call-ar-st.exp: Likewise.
4911 * gdb.base/callfuncs.exp: Likewise.
4912 * gdb.base/catch-fork-static.exp: Likewise.
4913 * gdb.base/display.exp: Likewise.
4914 * gdb.base/foll-exec-mode.exp: Likewise.
4915 * gdb.base/foll-exec.exp: Likewise.
4916 * gdb.base/foll-fork.exp: Likewise.
4917 * gdb.base/foll-vfork.exp: Likewise.
4918 * gdb.base/funcargs.exp: Likewise.
4919 * gdb.base/hbreak2.exp: Likewise.
4920 * gdb.base/inferior-died.exp: Likewise.
4921 * gdb.base/interrupt.exp: Likewise.
4922 * gdb.base/multi-forks.exp: Likewise.
4923 * gdb.base/nodebug.exp: Likewise.
4924 * gdb.base/sepdebug.exp: Likewise.
4925 * gdb.base/solib1.c: Likewise.
4926 * gdb.base/step-test.exp: Likewise.
4927 * gdb.mi/non-stop.c: Likewise.
4928 * gdb.mi/pthreads.c: Likewise.
4929 * gdb.multi/bkpt-multi-exec.ex: Likewise.
4930 * gdb.threads/pthreads.c: Likewise.
4931 * gdb.threads/staticthreads.exp: Likewise.
4932 * lib/future.exp: Likewise.
4933 * lib/gdb.exp: Likewise.
4934 * gdb.base/so-indr-cl.c: Remove.
4935 * gdb.base/so-indr-cl.exp: Likewise.
4936 * gdb.base/solib.c: Likewise.
4937 * gdb.base/solib.exp: Likewise.
4938 * gdb.base/solib2.c: Likewise.
4939
4940 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
4941
4942 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
4943 * gdb.base/call-ar-st.exp: Likewise.
4944 * gdb.base/callfuncs.exp: Likewise.
4945 * gdb.base/condbreak.exp: Likewise.
4946 * gdb.base/constvars.exp: Likewise.
4947 * gdb.base/hbreak2.exp: Likewise.
4948 * gdb.base/langs.exp: Likewise.
4949 * gdb.base/list.exp: Likewise.
4950 * gdb.base/long_long.exp: Likewise.
4951 * gdb.base/ptype.exp: Likewise.
4952 * gdb.base/scope.exp: Likewise.
4953 * gdb.base/signals.exp: Likewise.
4954 * gdb.base/so-impl-ld.exp: Likewise.
4955 * gdb.base/varargs.exp: Likewise.
4956 * gdb.base/volatile.exp: Likewise.
4957 * gdb.base/whatis.exp: Likewise.
4958 * gdb.cp/cplusfuncs.exp: Likewise.
4959 * gdb.cp/inherit.exp: Likewise.
4960 * gdb.cp/local.exp: Likewise.
4961 * gdb.cp/member-ptr.exp: Likewise.
4962 * gdb.cp/method.exp: Likewise.
4963 * gdb.cp/overload.exp: Likewise.
4964 * gdb.cp/templates.exp: Likewise.
4965 * gdb.stabs/weird.exp: Likewise.
4966 * lib/compiler.c: Likewise.
4967 * lib/compiler.cc: Likewise.
4968 * lib/cp-support.exp: Likewise.
4969 * lib/gdb.exp: Likewise.
4970
4971 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
4972
4973 * configure.ac: Remove HP-UX case.
4974 * configure: Regenerate.
4975
4976 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
4977
4978 * lib/gdb.exp (gdb_compile): Add function doc.
4979
4980 2015-12-17 Pedro Alves <palves@redhat.com>
4981
4982 PR threads/19354
4983 * gdb.multi/info-threads.exp: New file.
4984
4985 2015-12-15 Yao Qi <yao.qi@linaro.org>
4986
4987 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
4988 is aarch64*-*-*.
4989
4990 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
4991
4992 * gdb.base/history-duplicates.exp: Skip if no readline support.
4993
4994 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
4995
4996 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
4997
4998 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
4999
5000 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
5001
5002 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
5003
5004 * gdb.base/completion.exp: Skip tests that interrupt GDB with
5005 ctrl-C if nointerrupts target property is set.
5006 * gdb.base/double-prompt-target-event-error.exp: Likewise.
5007 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
5008 * gdb.base/paginate-bg-execution.exp: Likewise.
5009 * gdb.base/paginate-execution-startup.exp: Likewise.
5010 * gdb.base/random-signal.exp: Likewise.
5011 * gdb.base/range-stepping.exp: Likewise.
5012 * gdb.cp/annota2.exp: Likewise.
5013 * gdb.cp/annota3.exp: Likewise.
5014 * gdb.gdb/selftest.exp: Likewise.
5015 * gdb.threads/continue-pending-status.exp: Likewise.
5016 * gdb.threads/leader-exit.exp: Likewise.
5017 * gdb.threads/manythreads.exp: Likewise.
5018 * gdb.threads/pthreads.exp: Likewise.
5019 * gdb.threads/schedlock.exp: Likewise.
5020 * gdb.threads/sigthread.exp: Likewise.
5021
5022 2015-12-11 Don Breazeal <donb@codesourcery.com>
5023
5024 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
5025 remote.
5026 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
5027 * gdb.base/foll-exec.exp (main): Enable for target remote.
5028 * gdb.base/foll-fork.exp (main): Likewise.
5029 * gdb.base/foll-vfork.exp (main): Likewise.
5030 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
5031 (proc continue_to_exit_bp_loc): Use clean_restart.
5032 * gdb.base/pie-execl.exp (main): Disable for target remote.
5033 * gdb.base/watch-vfork.exp (main): Enable for target remote.
5034 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
5035 * gdb.threads/execl.exp (main): Likewise.
5036 * gdb.threads/fork-child-threads.exp (main): Likewise.
5037 * gdb.threads/fork-plus-threads.exp (main): Disable for target
5038 remote.
5039 * gdb.threads/fork-thread-pending.exp (main): Enable for target
5040 remote.
5041 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
5042 pid.tid style ptids, instead of just tid.
5043 * gdb.threads/thread-execl.exp (main): Enable for target remote.
5044 * gdb.threads/watchpoint-fork.exp (main): Likewise.
5045 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
5046 ptids, instead of just tid.
5047
5048 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
5049
5050 * gdb.base/list.exp (test_list_forward): Add end of file error
5051 test.
5052 (test_repeat_list_command): Add end of file error test.
5053 (test_list_backwards): Add beginning of file error test.
5054
5055 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
5056
5057 * gdb.base/list.exp (test_list_invalid_args): New function,
5058 defined, and called.
5059
5060 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
5061
5062 * gdb.base/list.exp (test_list): Make test names unique.
5063
5064 2015-12-11 Yao Qi <yao.qi@linaro.org>
5065
5066 * gdb.base/coremaker2.c: Remove.
5067
5068 2015-12-10 Pedro Alves <palves@redhat.com>
5069
5070 * gdb.multi/base.exp: Remove stale "spaces" references.
5071
5072 2015-12-10 Pedro Alves <palves@redhat.com>
5073
5074 * gdb.multi/base.exp: Don't use nowarnings.
5075 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
5076 * gdb.multi/hangout.c: Include stdio.h.
5077 * gdb.multi/hello.c: Include stdlib.h.
5078 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
5079 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
5080 * gdb.multi/multi-arch.exp: Don't use nowarnings.
5081
5082 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
5083
5084 * gdb.dwarf2/dw2-ranges-base.c: New file.
5085 * gdb.dwarf2/dw2-ranges-base.exp: New file.
5086 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
5087 support additional line table, and debug ranges generation.
5088 (Dwarf::ranges): New function, generate .debug_ranges.
5089 (Dwarf::lines): Support generating simple line table programs.
5090 (Dwarf::assemble): Initialise new namespace variables.
5091
5092 2015-12-09 Kevin Buettner <kevinb@redhat.com>
5093
5094 * gdb.base/async.exp (proc test_background): Add case for
5095 asynchronous execution not supported.
5096
5097 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
5098
5099 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
5100 format and change test names to make them unique.
5101
5102 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
5103 Pedro Alves <pedro@redhat.com>
5104
5105 PR gdb/18702
5106 Add checking of floatformats setup on x86_64 hosts.
5107 * gdb.arch/i386-float.S (main): Load bigval and smallval.
5108 (smallval, bigval): New labels/constants.
5109 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
5110 float" after loading bigval and smallval.
5111
5112 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
5113
5114 * gdb.ada/fun_overload_menu.exp: New testcase.
5115 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
5116
5117 2015-12-04 Josh Stone <jistone@redhat.com>
5118
5119 * gdb.base/catch-fork-static.exp: New.
5120
5121 2015-12-03 Yao Qi <yao.qi@linaro.org>
5122
5123 * gdb.base/sizeof.c: Don't include stdio.h and
5124 ../lib/unbuffer_output.c.
5125 (main): New variable 'size' and 'value'. Remove printf and
5126 gdb_unbuffer_output. Assign return value to size and value.
5127 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
5128 at the beginning.
5129 (check_sizeof): Check the result by printing variable 'size'.
5130 (check_valueof): Check the result by printing variable 'value'.
5131
5132 2015-12-01 Yao Qi <yao.qi@linaro.org>
5133
5134 * gdb.base/disp-step-syscall.exp: Define syscall instruction
5135 for aarch64*-*-linux* target.
5136
5137 2015-11-30 Pedro Alves <palves@redhat.com>
5138
5139 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
5140
5141 2015-11-30 Pedro Alves <palves@redhat.com>
5142
5143 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
5144 Handle non-stop mode vCont replies.
5145
5146 2015-11-30 Pedro Alves <palves@redhat.com>
5147
5148 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
5149 prepare_for_testing. Start gdb with "set non-stop on" appended to
5150 GDBFLAGS. Lax expected stop output.
5151
5152 2015-11-27 Yao Qi <yao.qi@linaro.org>
5153
5154 * gdb.arch/arm-neon.exp: New.
5155 * gdb.arch/arm-neon.c: New.
5156
5157 2015-11-27 Yao Qi <yao.qi@linaro.org>
5158
5159 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
5160
5161 2015-11-27 Yao Qi <yao.qi@linaro.org>
5162
5163 * gdb.cp/annota2.exp: Allow multiple occurrences of the
5164 frames-invalid annotation.
5165
5166 2015-11-27 Yao Qi <yao.qi@linaro.org>
5167
5168 * gdb.cp/annota2.exp: Use ${frames_invalid}.
5169
5170 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
5171
5172 * gdb.threads/names.exp: New file.
5173 * gdb.threads/names.c: New file.
5174 * README: Mention gdb,no_thread_names.
5175
5176 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
5177
5178 PR 19297
5179 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
5180 support" error.
5181
5182 2015-11-24 Pedro Alves <palves@redhat.com>
5183
5184 PR 17539
5185 * gdb.base/display.exp: Expect displays to be sorted in ascending
5186 order. Use multi_line.
5187 * gdb.base/solib-display.exp: Likewise.
5188
5189 2015-11-24 Pedro Alves <palves@redhat.com>
5190
5191 PR 17539
5192 * gdb.base/display.exp: Expect displays to be sorted in ascending
5193 order. Use multi_line.
5194 * gdb.base/solib-display.exp: Likewise.
5195
5196 2015-11-24 Pedro Alves <palves@redhat.com>
5197
5198 PR 17539
5199 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
5200 threads in ascending order.
5201 * gdb.base/foll-fork.exp: Likewise.
5202 * gdb.base/foll-vfork.exp: Likewise.
5203 * gdb.base/multi-forks.exp: Likewise.
5204 * gdb.mi/mi-nonstop.exp: Likewise.
5205 * gdb.mi/mi-nsintrall.exp: Likewise.
5206 * gdb.multi/base.exp: Likewise.
5207 * gdb.multi/multi-arch.exp: Likewise.
5208 * gdb.python/py-inferior.exp: Likewise.
5209 * gdb.threads/break-while-running.exp: Likewise.
5210 * gdb.threads/execl.exp: Likewise.
5211 * gdb.threads/gcore-thread.exp: Likewise.
5212 * gdb.threads/info-threads-cur-sal.exp: Likewise.
5213 * gdb.threads/kill.exp: Likewise.
5214 * gdb.threads/linux-dp.exp: Likewise.
5215 * gdb.threads/multiple-step-overs.exp: Likewise.
5216 * gdb.threads/next-bp-other-thread.exp: Likewise.
5217 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
5218 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
5219 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
5220 * gdb.threads/thread-find.exp: Likewise.
5221 * gdb.threads/tls.exp: Likewise.
5222 * lib/mi-support.exp (mi_reverse_list): Delete.
5223 (mi_check_thread_states): No longer reverse list.
5224
5225 2015-11-24 Pedro Alves <palves@redhat.com>
5226
5227 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
5228 use lowercase.
5229
5230 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
5231
5232 * gdb.trace/actions.c: Include trace-common.h.
5233 (main): Add a location for a fast tracepoint.
5234 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
5235 the normal tracepoints.
5236 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
5237
5238 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
5239
5240 * save-trace.exp: Factor out code to these...
5241 (gdb_save_tracepoints): New.
5242 (gdb_load_tracepoints): New.
5243 (do_save_load_test): New.
5244
5245 2015-11-23 Kevin Buettner <kevinb@redhat.com>
5246
5247 * gdb.base/asmlabel.exp: New test.
5248 * gdb.base/asmlabel.c: New test case.
5249
5250 2015-11-23 Joel Brobecker <brobecker@adacore.com>
5251
5252 * gdb.base/wrong_frame_bt_full-main.c: New file.
5253 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
5254 * gdb.base/wrong_frame_bt_full.exp: New file.
5255
5256 2015-11-23 Joel Brobecker <brobecker@adacore.com>
5257
5258 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
5259
5260 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
5261
5262 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
5263 pstate register when comparing registers values in
5264 sparc64-*-linux-gnu targets to avoid spurious differences.
5265
5266 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
5267
5268 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
5269
5270 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
5271
5272 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
5273 as type argument to gdb_compile.
5274 * gdb.base/nested-subp2.exp: Likewise.
5275 * gdb.base/nested-subp3.exp: Likewise.
5276
5277 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
5278
5279 * lib/dwarf.exp (_note): Fix left shift of negative value.
5280 * gdb.trace/trace-condition.exp: Likewise.
5281
5282 2015-11-13 Yao Qi <yao.qi@linaro.org>
5283
5284 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
5285 comments about d10v.
5286 (test_scalar_returns): Likewise.
5287 * gdb.base/d10v.ld: Remove.
5288 * gdb.base/overlays.exp: Remove the target triplet checking for
5289 d10v-*-*.
5290 * gdb.base/structs.exp (test_struct_returns): Remove the
5291 comments about d10v.
5292 (test_struct_calls): Likewise.
5293
5294 2015-11-13 Yao Qi <yao.qi@linaro.org>
5295
5296 * gdb.base/gnu_vector.exp: Check the return value by "p res".
5297 * gdb.base/gnu_vector.c: Don't include stdio.h.
5298 (main): Don't print res and call add_some_intvecs.
5299
5300 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
5301
5302 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
5303 macro.
5304 (func5): Removed.
5305 (func4): Use FAST_TRACEPOINT_LABEL.
5306 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
5307 macro.
5308 (func): Removed.
5309 (thread_function): Use FAST_TRACEPOINT_LABEL.
5310 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
5311 (func): Remove.
5312 (marker): Use FAST_TRACEPOINT_LABEL.
5313 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
5314 (pendfunc1): Remove.
5315 (pendfunc): Use FAST_TRACEPOINT_LABEL.
5316 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
5317 (foo): Remove.
5318 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
5319 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
5320 macro.
5321 (func): Remove.
5322 (marker): Use FAST_TRACEPOINT_LABEL.
5323 * gdb.trace/trace-common.h: New header.
5324 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
5325 macro.
5326 (func): Remove.
5327 (marker): Use FAST_TRACEPOINT_LABEL.
5328 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
5329 (func): Remove.
5330 (thread_function): Use FAST_TRACEPOINT_LABEL.
5331
5332 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
5333
5334 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
5335 in front.
5336 * gdb.trace/change-loc.exp: Use global pcreg definition.
5337 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
5338 * gdb.trace/entry-values.exp: Use global spreg definition, add $
5339 in front.
5340 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
5341 * gdb.trace/pending.exp: Likewise.
5342 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
5343 * gdb.trace/trace-break.exp: Likewise.
5344 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
5345 in front.
5346 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
5347 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
5348 in front.
5349 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
5350
5351 2015-11-09 Joel Brobecker <brobecker@adacore.com>
5352
5353 * gdb.ada/fin_fun_out: New testcase.
5354
5355 2015-11-07 Kevin Buettner <kevinb@redhat.com>
5356
5357 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
5358 value associated with DW_AT_byte_size.
5359 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
5360 constants for DW_AT_byte_size, DW_AT_lower_bound, and
5361 DW_AT_upper_bound.
5362
5363 2015-11-07 Kevin Buettner <kevinb@redhat.com>
5364
5365 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
5366 (gdb_target_symbol_prefix_flags): Define in terms of _asm
5367 version.
5368 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
5369 gdb.dwarf2/dw2-canonicalize-type.exp,
5370 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
5371 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
5372 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
5373 provided by gdb_target_symbol_prefix_flags_asm.
5374 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
5375 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
5376 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
5377 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
5378 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
5379 macros where needed). Use this macro for symbols which require
5380 the prefix provided by SYMBOL_PREFIX.
5381
5382 2015-11-05 Kevin Buettner <kevinb@redhat.com>
5383
5384 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
5385 New procs.
5386 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
5387 representing expressions, of more than one list element.
5388 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
5389 to prepend linker symbol prefix to f.
5390 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
5391 table_1 and table_2.
5392 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
5393 Likewise, for f and g.
5394 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
5395 for ptr.
5396 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
5397 for main.
5398 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
5399 table_1_ptr and table_2_ptr.
5400
5401 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5402 Joel Brobecker <brobecker@adacore.com>
5403
5404 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
5405
5406 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
5407
5408 * gdb.reverse/s390-mvcle.c: New test.
5409 * gdb.reverse/s390-mvcle.exp: New file.
5410 * lib/gdb.exp: Enable reverse tests on s390*-linux.
5411
5412 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
5413
5414 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
5415
5416 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
5417
5418 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
5419 reaching marker2.
5420 * gdb.reverse/getresuid-reverse.exp: Likewise.
5421 * gdb.reverse/pipe-reverse.exp: Likewise.
5422 * gdb.reverse/readv-reverse.exp: Likewise.
5423 * gdb.reverse/recvmsg-reverse.exp: Likewise.
5424 * gdb.reverse/time-reverse.exp: Likewise.
5425 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
5426
5427 2015-10-30 Yao Qi <yao.qi@linaro.org>
5428
5429 * gdb.threads/wp-replication.c (watch_count_done): Remove.
5430 (empty_cycle): Remove.
5431 (main): Don't call empty_cycle. Don't use watch_count_done.
5432 * gdb.threads/wp-replication.exp: Don't set breakpoint on
5433 empty_cycle. Rewrite the code counting HW watchpoints.
5434
5435 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
5436
5437 * gdb.reverse/fstatat-reverse.c: New test.
5438 * gdb.reverse/fstatat-reverse.exp: New file.
5439 * gdb.reverse/getresuid-reverse.c: New test.
5440 * gdb.reverse/getresuid-reverse.exp: New file.
5441 * gdb.reverse/pipe-reverse.c: New test.
5442 * gdb.reverse/pipe-reverse.exp: New file.
5443 * gdb.reverse/readv-reverse.c: New test.
5444 * gdb.reverse/readv-reverse.exp: New file.
5445 * gdb.reverse/recvmsg-reverse.c: New test.
5446 * gdb.reverse/recvmsg-reverse.exp: New file.
5447 * gdb.reverse/time-reverse.c: New test.
5448 * gdb.reverse/time-reverse.exp: New file.
5449 * gdb.reverse/waitpid-reverse.c: New test.
5450 * gdb.reverse/waitpid-reverse.exp: New file.
5451
5452 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5453
5454 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
5455
5456 2015-10-26 Doug Evans <dje@google.com>
5457
5458 PR symtab/17391
5459 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
5460 * gdb.dwarf2/bad-regnum.c: New file.
5461 * gdb.dwarf2/bad-regnum.exp: New file.
5462
5463 2015-10-26 Doug Evans <dje@google.com>
5464
5465 PR python/18938
5466 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
5467 file.
5468
5469 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5470
5471 * gdb.compile/compile.exp (compile code globalvar): Update expectation
5472 for a change by "Mention language in compile error message".
5473
5474 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
5475
5476 PR python/18073
5477 * gdb.python/py-type.c (C::a_method): New.
5478 (C::a_const_method): New.
5479 (C::a_static_method): New.
5480 (a_function): New.
5481 * gdb.python/py-type.exp (test_fields): Test getting fields
5482 from function and method.
5483
5484 2015-10-21 Keven Boell <keven.boell@intel.com>
5485
5486 * gdb.fortran/vla-alloc-assoc.exp: New file.
5487 * gdb.fortran/vla-datatypes.exp: New file.
5488 * gdb.fortran/vla-datatypes.f90: New file.
5489 * gdb.fortran/vla-history.exp: New file.
5490 * gdb.fortran/vla-ptype-sub.exp: New file.
5491 * gdb.fortran/vla-ptype.exp: New file.
5492 * gdb.fortran/vla-sizeof.exp: New file.
5493 * gdb.fortran/vla-sub.f90: New file.
5494 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
5495 * gdb.fortran/vla-value-sub-finish.exp: New file.
5496 * gdb.fortran/vla-value-sub.exp: New file.
5497 * gdb.fortran/vla-value.exp: New file.
5498 * gdb.fortran/vla-ptr-info.exp: New file.
5499 * gdb.mi/mi-vla-fortran.exp: New file.
5500 * gdb.mi/vla.f90: New file.
5501
5502 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
5503
5504 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
5505 of hardwired timeout value.
5506
5507 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5508 Pedro Alves <palves@redhat.com>
5509
5510 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
5511 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
5512
5513 2015-10-19 Josh Stone <jistone@redhat.com>
5514
5515 * gdb.base/catch-syscall.c: Include <sched.h>.
5516 (unknown_syscall): New variable.
5517 (main): Trigger a vfork and an unknown syscall.
5518 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
5519 (unknown_syscall_number): Likewise.
5520 (check_call_to_syscall): Accept an optional syscall pattern.
5521 (check_return_from_syscall): Likewise.
5522 (check_continue): Likewise.
5523 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
5524 (test_catch_syscall_skipping_return): New test toggling off 'catch
5525 syscall' to step over the syscall return, then toggling back on.
5526 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
5527 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
5528 (do_syscall_tests): Call test_catch_syscall_without_args and
5529 test_catch_syscall_mid_vfork.
5530 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
5531 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
5532
5533 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
5534
5535 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
5536 print g_vE): Add new pass patterns.
5537 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
5538 print various symbol names for vptr fields.
5539
5540 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
5541
5542 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
5543 results.
5544
5545 2015-10-12 Yao Qi <yao.qi@linaro.org>
5546
5547 * gdb.arch/disp-step-insn-reloc.exp: New test case.
5548
5549 2015-10-12 Yao Qi <yao.qi@linaro.org>
5550
5551 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
5552 is aarch64*-*-linux*.
5553
5554 2015-10-12 Yao Qi <yao.qi@linaro.org>
5555
5556 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
5557 (can_relocate_bcond_true): ... it.
5558 (can_relocate_bcond_false): New function.
5559 (foo): Likewise.
5560 (can_relocate_bl): Likewise.
5561 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
5562 can_relocate_bl.
5563
5564 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
5565
5566 * gdb.base/nested-addr.c: New file.
5567 * gdb.base/nested-addr.exp: New testcase.
5568
5569 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
5570
5571 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
5572 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
5573 its output. Ignore the output of "record goto begin" and instead
5574 check that GDB is replaying.
5575
5576 2015-10-09 Pedro Alves <palves@redhat.com>
5577
5578 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
5579 (top level): Use it in the run with no args test.
5580
5581 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
5582
5583 * gdb.dlang/properties.exp: New file.
5584
5585 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
5586
5587 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
5588 whether or not address 0x1000 is mapped on the target.
5589
5590 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
5591
5592 * gdb.python/py-type.exp: Do not run tests if binaries fail to
5593 build.
5594
5595 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
5596
5597 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
5598 instruction-history test.
5599
5600 2015-09-28 Doug Evans <dje@google.com>
5601
5602 * gdb.base/gcore.c (array_func): Add reference to static_array.
5603
5604 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
5605
5606 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
5607 source line.
5608
5609 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
5610
5611 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
5612 short or char as base type.
5613
5614 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
5615
5616 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
5617 to allow any size enum.
5618
5619 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
5620
5621 * gdb.ada/array_ptr_renaming.exp: New testcase.
5622 * gdb.ada/array_ptr_renaming/foo.adb: New file.
5623 * gdb.ada/array_ptr_renaming/pack.ads: New file.
5624
5625 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
5626
5627 * gdb.trace/ftrace-lock.c: New file.
5628 * gdb.trace/ftrace-lock.exp: New file.
5629
5630 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
5631
5632 * gdb.arch/insn-reloc.c: New file.
5633 * gdb.arch/ftrace-insn-reloc.exp: New file.
5634
5635 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
5636
5637 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
5638 instruction.
5639 * gdb.trace/pendshr1.c (pendfunc): Likewise.
5640 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
5641 * gdb.trace/range-stepping.c: Likewise.
5642 * gdb.trace/trace-break.c: Likewise.
5643 * gdb.trace/trace-mt.c (thread_function): Likewise.
5644 * gdb.trace/ftrace.c (marker): Likewise.
5645 * gdb.trace/trace-condition.c (marker): Likewise.
5646 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
5647 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
5648 is_aarch64_target.
5649
5650 2015-09-18 Doug Evans <xdje42@gmail.com>
5651
5652 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
5653 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
5654
5655 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5656
5657 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
5658 the breakpoint.
5659
5660 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5661
5662 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
5663 the pending breakpoint. Remove timeout override for "Run till
5664 MI pending breakpoint on pendfunc3 on thread 2" test.
5665
5666 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5667
5668 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
5669 filename pattern.
5670
5671 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5672
5673 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
5674 in breakpoint filename pattern.
5675
5676 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5677
5678 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
5679
5680 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5681
5682 * gdb.linespec/explicit.exp: Check for readline support for
5683 tab-completion tests. Fix obvious typo.
5684
5685 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
5686
5687 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
5688 and replay.
5689
5690 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
5691
5692 * gdb.btrace/non-stop.c: New.
5693 * gdb.btrace/non-stop.exp: New.
5694
5695 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
5696 Yao Qi <yao.qi@linaro.org>
5697
5698 * gdb.trace/trace-condition.c: New file.
5699 * gdb.trace/trace-condition.exp: New file.
5700
5701 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
5702
5703 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
5704 for testing bytecode compilation.
5705
5706 2015-09-16 Pedro Alves <palves@redhat.com>
5707 Sandra Loosemore <sandra@codesourcery.com>
5708
5709 * gdb.threads/non-stop-fair-events.c (timeout): New global.
5710 (SECONDS): Redefine.
5711 (main): Call pthread_kill and alarm early.
5712 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
5713 support.
5714 (test): If the target can't hardware step and doesn't support
5715 displaced stepping, increase the timeout.
5716
5717 2015-09-16 Pedro Alves <palves@redhat.com>
5718
5719 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
5720 (enable_debug): New procedures.
5721 (test): Use them. Bail out if waiting for threads fails.
5722 (top level): Bail out if a test fails.
5723
5724 2015-09-16 Yao Qi <yao.qi@linaro.org>
5725
5726 * gdb.asm/asm-source.exp: Set asm-arch for
5727 aarch64*-*-* target.
5728 * gdb.asm/aarch64.inc: New file.
5729
5730 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
5731
5732 * gdb.ada/array_of_variable_length.exp: New testcase.
5733 * gdb.ada/array_of_variable_length/foo.adb: New file.
5734 * gdb.ada/array_of_variable_length/pck.adb: New file.
5735 * gdb.ada/array_of_variable_length/pck.ads: New file.
5736
5737 2015-09-15 Doug Evans <dje@google.com>
5738
5739 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
5740 of function static local variable.
5741
5742 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5743
5744 * gdb.threads/tls-so_extern.exp: New test file.
5745 * gdb.threads/tls-so_extern.c: New test file.
5746 * gdb.threads/tls-so_extern_main.c: New test file.
5747
5748 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5749
5750 * gdb.opt/solib-intra-step-lib.c: New file.
5751 * gdb.opt/solib-intra-step-main.c: New file.
5752 * gdb.opt/solib-intra-step.exp: New file.
5753
5754 2015-09-15 Pedro Alves <palves@redhat.com>
5755
5756 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
5757 gdb_continue_to_breakpoint instead of gdb_test_multiple.
5758
5759 2015-09-14 Pedro Alves <palves@redhat.com>
5760
5761 * gdb.base/hook-stop-continue.c: Delete.
5762 * gdb.base/hook-stop-continue.exp: Delete.
5763 * gdb.base/hook-stop-frame.c: Delete.
5764 * gdb.base/hook-stop-frame.exp: Delete.
5765 * gdb.base/hook-stop.c: New file.
5766 * gdb.base/hook-stop.exp: New file.
5767
5768 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
5769
5770 * gdb.ada/access_to_packed_array.exp: New testcase.
5771 * gdb.ada/access_to_packed_array/foo.adb: New file.
5772 * gdb.ada/access_to_packed_array/pack.adb: New file.
5773 * gdb.ada/access_to_packed_array/pack.ads: New file.
5774
5775 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
5776
5777 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
5778 buffer size test.
5779
5780 2015-09-11 Don Breazeal <donb@codesourcery.com>
5781
5782 * gdb.base/foll-exec.c: Add copyright header. Fix
5783 formatting issues.
5784 * gdb.base/foll-exec.exp (zap_session): Delete proc.
5785 (do_exec_tests): Use clean_restart in place of zap_session,
5786 and for test initialization. Fix formatting issues. Use
5787 fail in place of perror.
5788 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
5789 an expect statement to match an expression with output from
5790 the program under debug.
5791 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
5792 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
5793 * gdb.threads/non-ldr-exc-2.exp: Likewise.
5794 * gdb.threads/non-ldr-exc-3.exp: Likewise.
5795 * gdb.threads/non-ldr-exc-4.exp: Likewise.
5796
5797 2015-09-09 Doug Evans <dje@google.com>
5798
5799 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
5800
5801 2015-09-09 Doug Evans <dje@google.com>
5802
5803 * gdb.base/pie-execl.exp: Fix result test of build_executable.
5804
5805 2015-09-09 Doug Evans <dje@google.com>
5806
5807 * gdb.base/savedregs.exp: Fix typo.
5808
5809 2015-09-09 Pedro Alves <palves@redhat.com>
5810
5811 * gdb.mi/mi-cli.exp: Add CLI finish tests.
5812
5813 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
5814
5815 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
5816 command actually switches threads. Give up on remaining
5817 tests if target fails to stop at breakpoint.
5818
5819 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
5820
5821 * gdb.ada/funcall_char.exp: New testcase.
5822 * gdb.ada/funcall_char/foo.adb: New file.
5823
5824 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
5825
5826 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
5827 expected outputs. Add two testcases for completing ambiguous
5828 functions.
5829 * gdb.ada/complete/aux_pck.adb: New file.
5830 * gdb.ada/complete/aux_pck.ads: New file.
5831 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
5832 Ambiguous_Func functions.
5833 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
5834 * gdb.ada/complete/pck.adb: Likewise.
5835
5836 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
5837
5838 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
5839 failures to run the test program under GDB.
5840
5841 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
5842
5843 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
5844 to C.
5845
5846 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
5847
5848 * gdb.base/run-after-attach.exp: New test file.
5849 * gdb.base/run-after-attach.c: New test file.
5850
5851 2015-08-26 Don Breazeal <donb@codesourcery.com>
5852
5853 * gdb.base/foll-exec-2.c: New test program.
5854 * gdb.base/foll-exec-2.exp: New test.
5855
5856 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
5857
5858 * gdb.base/nested-subp1.exp: New file.
5859 * gdb.base/nested-subp1.c: New file.
5860 * gdb.base/nested-subp2.exp: New file.
5861 * gdb.base/nested-subp2.c: New file.
5862 * gdb.base/nested-subp3.exp: New file.
5863 * gdb.base/nested-subp3.c: New file.
5864
5865 2015-08-24 Pedro Alves <palves@redhat.com>
5866
5867 * gdb.server/connect-without-multi-process.c: New file.
5868 * gdb.server/connect-without-multi-process.exp: New file.
5869
5870 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
5871
5872 * gdb.opt/inline-markers.c: Make z int.
5873
5874 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
5875
5876 * gdb.opt/inline-markers.c: Make z volatile.
5877
5878 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
5879
5880 * gdb.opt/inline-bt.c: New volatile global z.
5881 * gdb.opt/inline-cmds.c: Likewise.
5882 * gdb.opt/inline-locals.c: Likewise.
5883 * gdb.opt/inline-markers.c: New extern global z.
5884 (marker): Use z.
5885 (inline_fn): Likewise.
5886
5887 2015-08-24 Pedro Alves <palves@redhat.com>
5888
5889 * config/m32r-stub.exp: Remove file.
5890 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
5891 * gdb.base/call-rt-st.exp: Likewise.
5892 * gdb.base/call-strs.exp: Likewise.
5893 * gdb.base/default.exp: Remove references to h8300-*-hms and
5894 *-*-udi*.
5895 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
5896
5897 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
5898
5899 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
5900 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
5901 and "return" use KFAIL when GDB can not read/write the vector
5902 return value.
5903
5904 2015-08-21 Gary Benson <gbenson@redhat.com>
5905
5906 * gdb.trace/pending.exp: Cope with remote transfer warnings.
5907
5908 2015-08-20 Pedro Alves <palves@redhat.com>
5909
5910 * gdb.server/solib-list.exp: No longer expect an interior stop in
5911 non-stop mode.
5912
5913 2015-08-20 Pedro Alves <palves@redhat.com>
5914
5915 * gdb.server/connect-stopped-target.c: New file.
5916 * gdb.server/connect-stopped-target.exp: New file.
5917
5918 2015-08-20 Pedro Alves <palves@redhat.com>
5919
5920 * gdb.dwarf2/comp-unit-lang.exp: New file.
5921 * gdb.dwarf2/comp-unit-lang.c: New file.
5922
5923 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
5924
5925 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
5926 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
5927
5928 2015-08-19 Kevin Buettner <kevinb@redhat.com>
5929
5930 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
5931 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
5932
5933 2015-08-18 Doug Evans <dje@google.com>
5934 Adrian Sendroiu <adrian.sendroiu@freescale.com>
5935
5936 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
5937 skip_python_tests. New arg prompt_regexp.
5938 (skip_python_tests): New function.
5939 * lib/mi-support.exp (mi_skip_python_tests): New function.
5940 * gdb.python/py-mi-objfile-gdb.py: New file.
5941 * gdb.python/py-mi-objfile.c: New file.
5942 * gdb.python/py-mi-objfile.exp: New file.
5943
5944 2015-08-17 Keith Seitz <keiths@redhat.com>
5945
5946 * gdb.linespec/explicit.exp: Move strace test from here ...
5947 * gdb.trace/strace.exp: ... to here.
5948
5949 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
5950
5951 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
5952 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
5953
5954 2015-08-14 Doug Evans <xdje42@gmail.com>
5955
5956 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
5957 inferior before selecting a new file.
5958
5959 2015-08-14 Doug Evans <xdje42@gmail.com>
5960
5961 * gdb.mi/mi-disassemble.exp: Update.
5962 * gdb.base/disasm-optim.S: New file.
5963 * gdb.base/disasm-optim.c: New file.
5964 * gdb.base/disasm-optim.h: New file.
5965 * gdb.base/disasm-optim.exp: New file.
5966
5967 2015-08-14 Keith Seitz <keiths@redhat.com>
5968
5969 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
5970 "evaluated-by".
5971
5972 2015-08-13 Joel Brobecker <brobecker@adacore.com>
5973
5974 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
5975
5976 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
5977
5978 * gdb.ada/fun_renaming.exp: New testcase.
5979 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
5980 * gdb.ada/fun_renaming/pack.adb: New file.
5981 * gdb.ada/fun_renaming/pack.ads: New file.
5982
5983 2015-08-12 Keith Seitz <keiths@redhat.com>
5984
5985 * gdb.base/dso2dso.exp: Pass basename of source file in call to
5986 gdb_get_line_number.
5987
5988 2015-08-12 Joel Brobecker <brobecker@adacore.com>
5989
5990 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
5991 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
5992 gdb.base/dso2dso.exp: New files.
5993
5994 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
5995 Pedro Alves <palves@redhat.com>
5996 Keith Seitz <keiths@redhat.com>
5997
5998 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
5999 GDBFLAGS.
6000
6001 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
6002
6003 * gdb.base/gdbhistsize-history.exp
6004 (test_histsize_history_setting): Use save_vars.
6005 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
6006 Use save_vars.
6007 (test_no_truncation_of_unlimited_history_file): Use save_vars.
6008 * gdb.base/readline.exp: Use save_vars.
6009
6010 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
6011
6012 * lib/gdb.exp (save_vars): New proc.
6013
6014 2015-08-11 Keith Seitz <keiths@redhat.com>
6015
6016 * gdb.base/help.exp: Update help_breakpoint_text.
6017
6018 2015-08-11 Keith Seitz <keiths@redhat.com>
6019
6020 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
6021 (at toplevel): Call test_explicit_breakpoints.
6022 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
6023 breakpoints.
6024 * lib/mi-support.exp (mi_make_breakpoint): Add support for
6025 breakpoint conditions, "-cond".
6026
6027 2015-08-11 Keith Seitz <keiths@redhat.com>
6028
6029 * gdb.linespec/3explicit.c: New file.
6030 * gdb.linespec/cpexplicit.cc: New file.
6031 * gdb.linespec/cpexplicit.exp: New file.
6032 * gdb.linespec/explicit.c: New file.
6033 * gdb.linespec/explicit.exp: New file.
6034 * gdb.linespec/explicit2.c: New file.
6035 * gdb.linespec/ls-errs.exp: Add explicit location tests.
6036 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
6037 before using in the matching pattern.
6038 Clarify that `prefix' is a regular expression.
6039
6040 2015-08-11 Keith Seitz <keiths@redhat.com>
6041
6042 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
6043 test.
6044 Add tests for missing ",FMT" and ",".
6045
6046 2015-08-10 Doug Evans <dje@google.com>
6047 Keith Seitz <keiths@redhat.com>
6048
6049 PR gdb/17960
6050 * gdb.base/completion.exp: Add location completer tests.
6051
6052 2015-08-07 Pedro Alves <palves@redhat.com>
6053
6054 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
6055 tests here.
6056 (top level): Run do_test with and without displaced stepping.
6057
6058 2015-08-07 Pedro Alves <palves@redhat.com>
6059
6060 * gdb.base/valgrind-disp-step.c: New file.
6061 * gdb.base/valgrind-disp-step.exp: New file.
6062
6063 2015-08-07 Pedro Alves <palves@redhat.com>
6064
6065 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
6066 Delete function.
6067 (main): Add alarm. Run an infinite loop instead of calling
6068 wait_threads.
6069 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
6070 comment.
6071 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
6072 Delete function.
6073 (main): Add alarm. Run an infinite loop instead of calling
6074 wait_threads.
6075 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
6076 comment.
6077
6078 2015-08-07 Pedro Alves <palves@redhat.com>
6079
6080 * gdb.base/checkpoint-ns.exp: New file.
6081 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
6082 standard_testfile.
6083
6084 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
6085
6086 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
6087 * gdb.btrace/instruction_history.exp: Update.
6088 * gdb.btrace/tsx.exp: New.
6089 * gdb.btrace/tsx.c: New.
6090
6091 2015-08-06 Pedro Alves <palves@redhat.com>
6092
6093 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
6094 increase timeout.
6095 * gdb.reverse/until-precsave.exp: Bump timeouts.
6096
6097 2015-08-06 Pedro Alves <palves@redhat.com>
6098
6099 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
6100
6101 2015-08-06 Pedro Alves <palves@redhat.com>
6102
6103 PR gdb/18749
6104 * gdb.threads/process-dies-while-handling-bp.c: New file.
6105 * gdb.threads/process-dies-while-handling-bp.exp: New file.
6106
6107 2015-08-06 Pedro Alves <palves@redhat.com>
6108
6109 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
6110 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
6111
6112 2015-08-05 Pedro Alves <palves@redhat.com>
6113
6114 * gdb.threads/next-while-other-thread-longjmps.c: New file.
6115 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
6116
6117 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
6118
6119 * gdb.base/bp-permanent.exp: Report test as unsupported if
6120 the target cannot stop at the permanent breakpoint.
6121
6122 2015-08-03 Doug Evans <dje@google.com>
6123
6124 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
6125 10000.
6126
6127 2015-08-03 Doug Evans <dje@google.com>
6128
6129 * Makefile.in (workers/%.worker, build-perf): New rule.
6130 (GDB_PERFTEST_MODE): New variable.
6131 (check-perf): Use it.
6132 (clean): Clean up gdb.perf parallel build subdirs.
6133 * lib/build-piece.exp: New file.
6134 * lib/gdb.exp (make_gdb_parallel_path): New function
6135 (standard_output_file, standard_temp_file): Call it.
6136 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
6137 of $GDB_PARALLEL.
6138 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
6139
6140 2015-08-03 Doug Evans <dje@google.com>
6141
6142 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
6143 (LOG_FILE_NAME): New global.
6144 (TextReporter.__init__): Initialize self.txt_sum.
6145 (TextReporter.report): Add support for multiple data-points.
6146 Move report to perftest.sum, put raw data in perftest.log.
6147 (TextReporter.start): Open sum and log files.
6148 (TextReporter.end): Close sum and log files.
6149 * gdb.perf/lib/perftest/testresult.py
6150 (SingleStatisticTestResult.record): Handle multiple data-points.
6151
6152 2015-07-31 Pedro Alves <palves@redhat.com>
6153
6154 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
6155 Use spawn_id_get_pid. Wait for spawn id after eof. Use
6156 kill_wait_spawned_process instead of explicit "kill -9".
6157 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
6158 returning a spawn id instead of a pid. Use spawn_id_get_pid and
6159 kill_wait_spawned_process.
6160 * gdb.base/attach-twice.exp: Likewise.
6161 * gdb.base/attach.exp: Likewise.
6162 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
6163 gdb_test_multiple.
6164 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
6165 returning a spawn id instead of a pid. Use spawn_id_get_pid and
6166 kill_wait_spawned_process.
6167 * gdb.base/valgrind-infcall.exp: Likewise.
6168 * gdb.multi/multi-attach.exp: Likewise.
6169 * gdb.python/py-prompt.exp: Likewise.
6170 * gdb.python/py-sync-interp.exp: Likewise.
6171 * gdb.server/ext-attach.exp: Likewise.
6172 * gdb.threads/attach-into-signal.exp (corefunc): Use
6173 spawn_wait_for_attach, spawn_id_get_pid and
6174 kill_wait_spawned_process.
6175 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
6176 spawn_wait_for_attach returning a spawn id instead of a pid. Use
6177 spawn_id_get_pid and kill_wait_spawned_process.
6178 * gdb.threads/attach-stopped.exp (corefunc): Use
6179 spawn_wait_for_attach, spawn_id_get_pid and
6180 kill_wait_spawned_process.
6181 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
6182 Use spawn_id_get_pid. Wait for spawn id after eof. Use
6183 kill_wait_spawned_process instead of explicit "kill -9".
6184 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
6185 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
6186 (spawn_wait_for_attach): Use spawn instead of exec to spawn
6187 processes. Don't map cygwin/windows pids here. Now returns a
6188 spawn id list.
6189
6190 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
6191
6192 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
6193 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
6194 correct patch.
6195
6196 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
6197
6198 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
6199
6200 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
6201
6202 Reapply:
6203 2014-05-21 Mark Wielaard <mjw@redhat.com>
6204
6205 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
6206
6207 2015-07-30 Pedro Alves <palves@redhat.com>
6208
6209 * linux-low.c (handle_extended_wait): Set the child's last
6210 reported status to TARGET_WAITKIND_STOPPED.
6211
6212 2015-07-30 Pedro Alves <palves@redhat.com>
6213
6214 PR threads/18600
6215 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
6216 only shows inferior 1.
6217
6218 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
6219 Pedro Alves <palves@redhat.com>
6220
6221 PR threads/18600
6222 * gdb.threads/fork-plus-threads.c: New file.
6223 * gdb.threads/fork-plus-threads.exp: New file.
6224
6225 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
6226
6227 * gdb.base/batch-preserve-term-settings.exp
6228 (test_terminal_settings_preserved_after_cli_exit): Use
6229 send_quit_command.
6230
6231 2015-07-29 Pedro Alves <palves@redhat.com>
6232 Don Breazeal <donb@codesourcery.com>
6233
6234 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
6235 output from both inferior_spawn_id and gdb_spawn_id.
6236
6237 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
6238
6239 * gdb.threads/attach-into-signal.exp (corefunc): Use
6240 with_test_prefix on nested loops, uniquefying the test messages.
6241
6242 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
6243
6244 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
6245 commit.
6246
6247 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
6248
6249 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
6250 New proc.
6251 (test_terminal_settings_preserved_after_sigterm): New test.
6252
6253 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
6254
6255 * gdb.base/batch-preserve-term-settings.exp
6256 (test_terminal_settings_preserved_after_cli_exit): New test.
6257
6258 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
6259
6260 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
6261 manipulation of saved_gdbflags.
6262 (test_terminal_settings_preserved): Remove global declaration of
6263 the unused variable pagination_prompt. Remove manipulation of
6264 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
6265 GDBFLAGS.
6266
6267 2015-07-29 Pedro Alves <palves@redhat.com>
6268
6269 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
6270
6271 2015-07-29 Pedro Alves <palves@redhat.com>
6272
6273 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
6274 at the top.
6275
6276 2015-07-29 Pedro Alves <palves@redhat.com>
6277
6278 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
6279 (main): Call gdb_unbuffer_output.
6280 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
6281 (main): Call gdb_unbuffer_output.
6282 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
6283 (main): Call gdb_unbuffer_output.
6284 * gdb.base/call-strs.exp: Adjust to step over the
6285 gdb_unbuffer_output call.
6286 * gdb.base/catch-gdb-caused-signals.c: Include
6287 "../lib/unbuffer_output.c".
6288 (main): Call gdb_unbuffer_output.
6289 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
6290 (main): Call gdb_unbuffer_output.
6291 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
6292 (main): Call gdb_unbuffer_output.
6293 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
6294 (main): Call gdb_unbuffer_output.
6295 * gdb.base/shlib-call.exp: Adjust to step over the
6296 gdb_unbuffer_output call.
6297 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
6298 (main): Call gdb_unbuffer_output.
6299 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
6300 (main): Call gdb_unbuffer_output.
6301 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
6302 (main): Rename to ...
6303 (test): ... this.
6304 (main): Reimplement.
6305 * gdb.base/varargs.exp: Run to test instead of to main.
6306 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
6307 (main): Call gdb_unbuffer_output.
6308
6309 2015-07-29 Pedro Alves <palves@redhat.com>
6310
6311 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
6312 factore out from mi_continue_dprintf. For call-style dprintfs,
6313 expect dprintf output out of $inferior_spawn_id.
6314 (mi_continue_dprintf): Use mi_expect_dprintf.
6315 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
6316 (main): Call gdb_unbuffer_output.
6317
6318 2015-07-29 Pedro Alves <palves@redhat.com>
6319
6320 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
6321 (default_mi_gdb_start): Set inferior_spawn_id instead of
6322 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
6323 gdb_spawn_id.
6324 (mi_gdb_test): Always expect inferior output from both
6325 $inferior_spawn_id and $gdb_spawn_id.
6326
6327 2015-07-29 Pedro Alves <palves@redhat.com>
6328
6329 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
6330 send_inferior and $inferior_spawn_id.
6331
6332 2015-07-29 Pedro Alves <palves@redhat.com>
6333
6334 * gdb.gdb/complaints.exp (test_initial_complaints)
6335 (test_serial_complaints, test_short_complaints): Use
6336 gdb_test_stdio.
6337 (test_empty_complaint): Handle $inferior_spawn_id !=
6338 $gdb_spawn_id.
6339
6340 2015-07-29 Pedro Alves <palves@redhat.com>
6341
6342 * gdb.base/varargs.exp: Use gdb_test_stdio.
6343
6344 2015-07-29 Pedro Alves <palves@redhat.com>
6345
6346 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
6347
6348 2015-07-29 Pedro Alves <palves@redhat.com>
6349
6350 * gdb.base/ending-run.exp: Use gdb_test_stdio.
6351
6352 2015-07-29 Pedro Alves <palves@redhat.com>
6353
6354 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
6355 parameter into two new parameters, "inf_result" and "gdb_result".
6356 Expect inferior output and gdb output from $inferior_spawn_id and
6357 $gdb_spawn_id, respectively. Adjust all callers.
6358
6359 2015-07-29 Pedro Alves <palves@redhat.com>
6360
6361 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
6362 of gdb_test_sequence.
6363
6364 2015-07-29 Pedro Alves <palves@redhat.com>
6365
6366 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
6367 (saw_spurious_output): Expect inferior output from
6368 $inferior_spawn_id. Use gdb_test_stdio.
6369
6370 2015-07-29 Pedro Alves <palves@redhat.com>
6371
6372 * gdb.base/dprintf.exp: Use standard_testfile. Change
6373 prepare_for_testing call.
6374 (srcfile): Don't set.
6375 (restart): New procedure.
6376 (test_dprintf): New procecure, use to continue over dprintfs.
6377 (test_call, test_agent): New procedures, tests moved here.
6378 Restart gdb and recreate dprintfs. Adjust expected output.
6379
6380 2015-07-29 Pedro Alves <palves@redhat.com>
6381
6382 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
6383
6384 2015-07-29 Pedro Alves <palves@redhat.com>
6385
6386 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
6387
6388 2015-07-29 Pedro Alves <palves@redhat.com>
6389
6390 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
6391 gdb_test_stdio.
6392
6393 2015-07-29 Pedro Alves <palves@redhat.com>
6394
6395 * lib/gdb.exp (gdb_test_stdio): New procedure.
6396
6397 2015-07-29 Pedro Alves <palves@redhat.com>
6398
6399 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
6400
6401 2015-07-29 Pedro Alves <palves@redhat.com>
6402
6403 * gdb.base/call-signal-resume.exp: Remove check for
6404 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
6405 * gdb.base/unwindonsignal.exp: Likewise.
6406 * gdb.base/call-signals.c (gen_signal): Remove printf call.
6407 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
6408
6409 2015-07-29 Pedro Alves <palves@redhat.com>
6410
6411 * gdb.base/siginfo-addr.c (pass): New function.
6412 (handler): Call it iff si_addr is correct.
6413 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
6414 Set a breakpoint at "pass" and continue to it.
6415
6416 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
6417
6418 * gdb.python/py-objfile.exp: Make some tests have unique names.
6419 * gdb.python/py-pp-registration.exp: Likewise.
6420
6421 2015-07-28 Pedro Alves <palves@redhat.com>
6422
6423 * gdb.server/server-exec-info.exp: Issue a "disconnect".
6424
6425 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
6426
6427 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
6428
6429 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
6430
6431 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
6432
6433 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
6434
6435 * gdb.base/gdb-sigterm-2.exp: New test.
6436
6437 2015-07-25 Doug Evans <xdje42@gmail.com>
6438
6439 Revert:
6440 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
6441 (workers/%.worker, build-perf): New rule.
6442 (GDB_PERFTEST_MODE): New variable.
6443 (check-perf): Use it.
6444 (clean): Clean up gdb.perf parallel build subdirs.
6445 * lib/build-piece.exp: New file.
6446 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
6447 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
6448 name.
6449 (standard_temp_file): Ditto.
6450 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
6451 of $GDB_PARALLEL.
6452
6453 2015-07-24 Doug Evans <dje@google.com>
6454
6455 * gdb.perf/lib/perftest/utils.py: New file.
6456 * gdb.perf/gm-hello.cc: New file.
6457 * gdb.perf/gm-pervasive-typedef.cc: New file.
6458 * gdb.perf/gm-pervasive-typedef.h: New file.
6459 * gdb.perf/gm-std.cc: New file.
6460 * gdb.perf/gm-std.h: New file.
6461 * gdb.perf/gm-use-cerr.cc: New file.
6462 * gdb.perf/gm-utils.h: New file.
6463 * gdb.perf/gmonster-null-lookup.py: New file.
6464 * gdb.perf/gmonster-pervasive-typedef.py: New file.
6465 * gdb.perf/gmonster-print-cerr.py: New file.
6466 * gdb.perf/gmonster-ptype-string.py: New file.
6467 * gdb.perf/gmonster-runto-main.py: New file.
6468 * gdb.perf/gmonster-select-file.py: New file.
6469 * gdb.perf/gmonster1-null-lookup.exp: New file.
6470 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
6471 * gdb.perf/gmonster1-print-cerr.exp: New file.
6472 * gdb.perf/gmonster1-ptype-string.exp: New file.
6473 * gdb.perf/gmonster1-runto-main.exp: New file.
6474 * gdb.perf/gmonster1-select-file.exp: New file.
6475 * gdb.perf/gmonster1.cc: New file.
6476 * gdb.perf/gmonster1.exp: New file.
6477 * gdb.perf/gmonster2-null-lookup.exp: New file.
6478 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
6479 * gdb.perf/gmonster2-print-cerr.exp: New file.
6480 * gdb.perf/gmonster2-ptype-string.exp: New file.
6481 * gdb.perf/gmonster2-runto-main.exp: New file.
6482 * gdb.perf/gmonster2-select-file.exp: New file.
6483 * gdb.perf/gmonster2.cc: New file.
6484 * gdb.perf/gmonster2.exp: New file.
6485
6486 2015-07-24 Doug Evans <dje@google.com>
6487
6488 * gdb.perf/README: New file.
6489 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
6490 * lib/gen-perf-test.exp: New file.
6491
6492 2015-07-24 Doug Evans <dje@google.com>
6493
6494 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
6495 (PerfTest::startup): New function.
6496 (PerfTest::run): Return result of calling body.
6497 (PerfTest::assemble): Rewrite.
6498 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
6499 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
6500 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
6501 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
6502 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
6503
6504 2015-07-24 Doug Evans <dje@google.com>
6505
6506 * lib/gdb.exp (clean_restart): Make executable optional.
6507
6508 2015-07-24 Doug Evans <dje@google.com>
6509
6510 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
6511 compiler_info references.
6512 * gdb.cp/temargs.exp: Ditto.
6513 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
6514 (get_compiler_info): Early exit if already computed. Set compiler_info
6515 to "unknown" if there was a problem.
6516 (test_compiler_info): Add function comment. Call get_compiler_info.
6517
6518 2015-07-24 Doug Evans <dje@google.com>
6519
6520 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
6521 (workers/%.worker, build-perf): New rule.
6522 (GDB_PERFTEST_MODE): New variable.
6523 (check-perf): Use it.
6524 (clean): Clean up gdb.perf parallel build subdirs.
6525 * lib/build-piece.exp: New file.
6526 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
6527 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
6528 name.
6529 (standard_temp_file): Ditto.
6530 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
6531 of $GDB_PARALLEL.
6532
6533 2015-07-24 Doug Evans <dje@google.com>
6534
6535 * lib/future.exp (gdb_default_target_compile): New option
6536 "early_flags".
6537 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
6538 --as-needed.
6539
6540 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
6541
6542 * gdb.base/catch-syscall.exp: Call gdb_exit before
6543 gdb_skip_xml_test.
6544
6545 2015-07-24 Pedro Alves <palves@redhat.com>
6546
6547 * gdb.python/py-events.exp: Accept output between the stop event
6548 and the prompt.
6549 * gdb.python/py-evsignal.exp: Likewise.
6550 * gdb.python/py-evthreads.exp: Likewise.
6551
6552 2015-07-24 Pedro Alves <palves@redhat.com>
6553
6554 PR gdb/18717
6555 * gdb.threads/non-ldr-exit.c: New file.
6556 * gdb.threads/non-ldr-exit.exp: New file.
6557
6558 2015-07-24 Yao Qi <yao.qi@linaro.org>
6559
6560 * gdb.server/ext-wrapper.exp: Test --wrapper option when
6561 restarting process.
6562
6563 2015-07-24 Yao Qi <yao.qi@linaro.org>
6564
6565 * gdb.server/ext-restart.exp: New file.
6566
6567 2015-07-24 Yao Qi <yao.qi@linaro.org>
6568
6569 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
6570 argument options.
6571 * gdb.server/ext-wrapper.exp: New file.
6572
6573 2015-07-23 Doug Evans <dje@google.com>
6574
6575 * gdb.dwarf2/dw2-dummy-cu.S: New file.
6576 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
6577
6578 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
6579
6580 * gdb.ada/var_arr_typedef.exp: New testcase.
6581 * gdb.ada/var_arr_typedef/pack.adb: New file.
6582 * gdb.ada/var_arr_typedef/pack.ads: New file.
6583 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
6584
6585 2015-07-20 Joel Brobecker <brobecker@adacore.com>
6586
6587 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
6588
6589 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6590
6591 * gdb.arch/i386-biarch-core.exp: Replace istarget
6592 by "complete set gnutarget". Remove expectation for the "core-file"
6593 command.
6594
6595 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6596
6597 Revert the previous commit:
6598 Tests for validate symbol file using build-id.
6599
6600 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
6601
6602 Tests for validate symbol file using build-id.
6603 * gdb.base/solib-mismatch-lib.c: New file.
6604 * gdb.base/solib-mismatch-libmod.c: New file.
6605 * gdb.base/solib-mismatch.c: New file.
6606 * gdb.base/solib-mismatch.exp: New file.
6607
6608 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
6609
6610 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
6611 nios2-*-linux*.
6612 * gdb.base/sigbpt.exp (stepi_out): Likewise.
6613 * gdb.base/siginfo.exp: Likewise.
6614 * gdb.base/sigstep.exp (advance, advancei): Likewise.
6615
6616 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
6617
6618 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
6619 Move it to ...
6620 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
6621 ... here.
6622 * gdb.trace/range-stepping.exp: Check that the target supports
6623 range stepping.
6624
6625 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6626
6627 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
6628
6629 2015-07-14 Pedro Alves <palves@redhat.com>
6630
6631 * gdb.base/killed-outside.exp: New file.
6632 * gdb.base/killed-outside.c: New file.
6633
6634 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6635
6636 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
6637 (n at main): New.
6638 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
6639
6640 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
6641
6642 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
6643 infcall tests instead of setting up for KFAIL.
6644
6645 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
6646
6647 * gdb.btrace/record_goto-step.exp: New.
6648
6649 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6650
6651 PR compile/18484
6652 * gdb.compile/compile.c (struct struct_type): Add volatile to
6653 selffield's type.
6654 * gdb.compile/compile.exp
6655 (compile code struct_object.selffield = &struct_object): Skip further
6656 struct_object tests if this one xfails.
6657
6658 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
6659
6660 PR exp/18617
6661 * gdb.trace/ax.exp: Add test.
6662
6663 2015-07-07 Yao Qi <yao.qi@linaro.org>
6664
6665 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
6666 instead of istarget "aarch64*-*-*".
6667 * gdb.arch/aarch64-fp.exp: Likewise.
6668 * gdb.base/float.exp: Likewise.
6669 * gdb.reverse/aarch64.exp: Likewise.
6670 * lib/gdb.exp (is_aarch64_target): New proc.
6671
6672 2015-07-07 Yao Qi <yao.qi@linaro.org>
6673
6674 * lib/gdb.exp (is_aarch32_target): New proc.
6675 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
6676 instead of "istarget "arm*-*-*"".
6677 * gdb.arch/arm-disp-step.exp: Likewise.
6678 * gdb.arch/thumb-bx-pc.exp: Likewise.
6679 * gdb.arch/thumb-prologue.exp: Likewise.
6680 * gdb.arch/thumb-singlestep.exp: Likewise.
6681 * gdb.base/disp-step-syscall.exp: Likewise.
6682 * gdb.base/float.exp: Likewise.
6683
6684 2015-07-07 Yao Qi <yao.qi@linaro.org>
6685
6686 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
6687 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
6688
6689 2015-07-07 Yao Qi <yao.qi@linaro.org>
6690
6691 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
6692 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
6693 if it exists.
6694 * gdb.multi/multi-arch.exp: Likewise.
6695
6696 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
6697
6698 * gdb.python/py-lazy-string.exp: Add missing parentheses to
6699 print.
6700
6701 2015-07-07 Yao Qi <yao.qi@linaro.org>
6702
6703 * gdb.arch/thumb-singlestep.exp: Do one more single step.
6704
6705 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
6706
6707 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
6708 '[' and ']' characters.
6709
6710 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
6711
6712 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
6713
6714 2015-06-29 Pedro Alves <palves@redhat.com>
6715
6716 PR threads/18127
6717 * gdb.threads/hand-call-new-thread.c: New file.
6718 * gdb.threads/hand-call-new-thread.c: New file.
6719
6720 2015-06-26 Keith Seitz <keiths@redhat.com>
6721 Doug Evans <dje@google.com>
6722
6723 PR 16253
6724 * gdb.cp/var-tag-2.cc: New file.
6725 * gdb.cp/var-tag-3.cc: New file.
6726 * gdb.cp/var-tag-4.cc: New file.
6727 * gdb.cp/var-tag.cc: New file.
6728 * gdb.cp/var-tag.exp: New file.
6729
6730 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
6731
6732 * gdb.base/history-duplicates.exp: New test.
6733
6734 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
6735
6736 * gdb.base/completion.exp: Test the completion of the "focus"
6737 command.
6738
6739 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6740
6741 * gdb.arch/amd64-prologue-skip.S: New file.
6742 * gdb.arch/amd64-prologue-skip.exp: New file.
6743
6744 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
6745
6746 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
6747 is_address_zero_readable check.
6748
6749 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
6750
6751 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
6752 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
6753
6754 2015-06-24 Yao Qi <yao.qi@linaro.org>
6755
6756 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
6757 linux targets.
6758
6759 2015-06-24 Yao Qi <yao.qi@linaro.org>
6760
6761 * lib/gdb.exp (supports_get_siginfo_type): New proc.
6762 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
6763 * gdb.base/siginfo-thread.exp: Likewise.
6764
6765 2015-06-22 Yao Qi <yao.qi@linaro.org>
6766
6767 * boards/remote-gdbserver-on-localhost.exp: Add comments.
6768
6769 2015-06-22 Yao Qi <yao.qi@linaro.org>
6770
6771 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
6772 aarch64*-*-*.
6773 (skip_hw_watchpoint_tests): Likewise.
6774
6775 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
6776
6777 * gdb.base/gdbinit-history.exp: Test the interaction between
6778 setting GDBHISTSIZE and setting the history size via .gdbinit.
6779
6780 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
6781
6782 PR gdb/16999
6783 * gdb.base/gdbhistsize-history.exp: New test.
6784
6785 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
6786
6787 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
6788 with GDBHISTSIZE.
6789 * gdb.base/readline.exp: Likewise.
6790
6791 2015-06-17 Yao Qi <yao.qi@linaro.org>
6792
6793 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
6794 line.
6795
6796 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
6797
6798 * gdb.base/gdbinit-history.exp: Add test case to check that
6799 an unlimited history file does not get truncated on exit.
6800
6801 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
6802
6803 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
6804 (VECTOR): New macro. Use it...
6805 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
6806 ...for these typedefs.
6807 (int8, char1, int1, double1): New typedefs.
6808 (struct just_int2, struct two_int2): New structures.
6809 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
6810 (add_structvecs, add_singlevecs): New functions.
6811 (main): Call add_some_intvecs twice.
6812 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
6813 the compile and exit upon failure. Try compiling for the "native"
6814 architecture. Test inferior function calls with vector arguments
6815 and vector return value handling with "finish" and "return".
6816
6817 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
6818
6819 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
6820 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
6821 PE file.
6822 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
6823
6824 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
6825
6826 PR breakpoints/16465
6827 * gdb.mi/mi-dprintf-pending.c: New file.
6828 * gdb.mi/mi-dprintf-pending.exp: New test.
6829 * gdb.mi/mi-dprintf-pendshr.c: New file.
6830
6831 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6832 Mircea Gherzan <mircea.gherzan@intel.com>
6833
6834 * gdb.arch/i386-mpx-map.c: New file.
6835 * gdb.arch/i386-mpx-map.exp: New File.
6836
6837 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6838
6839 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
6840 * gdb.arch/i386-mpx.exp: Indentation fixed.
6841
6842 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6843
6844 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
6845 function and improved indentation.
6846 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
6847 gdb_test_multiple. Added additional tests to skip the test.
6848
6849 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6850
6851 * gdb.arch/i386-avx512.c: Change path in include file.
6852 * gdb.arch/i386-avx512.exp: Change include dir path
6853 compilation flag.
6854 * gdb.arch/i386-mpx.c: Change path in include file.
6855 * gdb.arch/i386-mpx.exp: Change include dir path compilation
6856 flag.
6857
6858 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
6859
6860 * gdb.compile/compile-print.exp (compile print *vararray@3)
6861 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
6862
6863 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6864
6865 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
6866 (do not keep jit in memory): ... this.
6867 (expect 5): Change it to ...
6868 (expect no 5): ... this.
6869
6870 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
6871
6872 PR gdb/15564
6873 * gdb.mi/mi-detach.exp: New file.
6874
6875 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6876
6877 PR symtab/18392
6878 * gdb.arch/amd64-tailcall-self.S: New file.
6879 * gdb.arch/amd64-tailcall-self.c: New file.
6880 * gdb.arch/amd64-tailcall-self.exp: New file.
6881
6882 2015-05-28 Don Breazeal <donb@codesourcery.com>
6883
6884 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
6885 tests for remote targets by checking is_target_gdbserver.
6886
6887 2015-05-27 Doug Evans <dje@google.com>
6888
6889 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
6890 * gdb.dwarf2/opaque-type-lookup.c: New file.
6891 * gdb.dwarf2/opaque-type-lookup.exp: New file.
6892
6893 2015-05-26 Doug Evans <dje@google.com>
6894
6895 * gdb.cp/iostream.cc: New file.
6896 * gdb.cp/iostream.exp: New file.
6897
6898 2015-05-26 Doug Evans <dje@google.com>
6899
6900 * gdb.dwarf2/dw2-op-call.exp: Update.
6901 * gdb.dwarf2/dw4-sig-types.exp: Update.
6902 * gdb.dwarf2/implptr.exp: Update.
6903 * gdb.mi/mi-cmd-param-changed.exp: Update.
6904
6905 2015-05-26 Doug Evans <dje@google.com>
6906
6907 * gdb.python/py-lazy-string.c: New file.
6908 * gdb.python/py-lazy-string.exp: New file.
6909 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
6910 (main): Update. Add estring3.
6911 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
6912 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
6913
6914 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
6915 Yao Qi <yao.qi@linaro.org>
6916
6917 * gdb.reverse/aarch64.c: New.
6918 * gdb.reverse/aarch64.exp: New.
6919
6920 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
6921
6922 * lib/gdb.exp (supports_process_record): Return true for
6923 aarch64*-linux*.
6924 (supports_reverse): Likewise.
6925
6926 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
6927
6928 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
6929 Use with_test_prefix.
6930
6931 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
6932
6933 * gdb.base/completion.exp: Add test for completion of layout
6934 names.
6935
6936 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
6937
6938 * lib/gdb.exp (skip_tui_tests): New proc.
6939 * gdb.base/tui-layout.exp: Check skip_tui_tests.
6940
6941 2015-05-19 Pedro Alves <palves@redhat.com>
6942
6943 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
6944 Save the whole env array instead of just HOME. Unset HISTSIZE in
6945 the environment while testing. Restore whole environment
6946 afterwards.
6947
6948 2015-05-16 Doug Evans <xdje42@gmail.com>
6949
6950 * gdb.guile/scm-ports.c: New file.
6951 * gdb.guile/scm-ports.exp: Add memory port tests.
6952
6953 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6954
6955 * gdb.compile/compile-print.c: New file.
6956 * gdb.compile/compile-print.exp: New file.
6957
6958 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6959
6960 * gdb.compile/compile-ops.exp: Cast param to void.
6961 * gdb.compile/compile.exp: Complete type for _gdb_expr.
6962 (compile code struct_object.selffield = &struct_object): Add xfail.
6963
6964 2015-05-15 Joel Brobecker <brobecker@adacore.com>
6965
6966 * gdb.ada/arr_enum_with_gap: New testcase.
6967
6968 2015-05-15 Joel Brobecker <brobecker@adacore.com>
6969
6970 * gdb.ada/byte_packed_arr: New testcase.
6971
6972 2015-05-15 Joel Brobecker <brobecker@adacore.com>
6973
6974 * gdb.ada/pckd_neg: New testcase.
6975
6976 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
6977
6978 PR gdb/17820
6979 * gdb.base/gdbinit-history.exp: New test.
6980 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
6981 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
6982
6983 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
6984
6985 * gdb.python/py-xmethods.cc: Enhance test case.
6986 * gdb.python/py-xmethods.exp: New tests.
6987 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
6988 function.
6989 (B_indexoper): Likewise.
6990 (global_dm_list) : Add new xmethod worker functions.
6991
6992 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
6993
6994 * gdb.base/coredump-filter.exp: Correctly unset
6995 "coredump_var_addr" array.
6996
6997 2015-05-08 Pedro Alves <palves@redhat.com>
6998
6999 * gdb.server/non-existing-program.exp: Unset spawn_id.
7000
7001 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
7002
7003 PR python/18291
7004 * gdb.python/py-xmethods.exp: Add tests.
7005
7006 2015-05-08 Yao Qi <yao.qi@linaro.org>
7007
7008 PR gdb/18208
7009 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
7010 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
7011 function set_coredump_filter, and remove remote_exec call.
7012 Remove argument ipid. Callers update.
7013 (top level): Don't get inferior's PID.
7014
7015 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
7016
7017 * gdb.base/watch_thread_num.exp: Skip test on targets without
7018 access watchpoints.
7019
7020 2015-05-06 Pedro Alves <palves@redhat.com>
7021
7022 PR server/18081
7023 * gdb.server/non-existing-program.exp: New file.
7024
7025 2015-05-05 Joel Brobecker <brobecker@adacore.com>
7026
7027 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
7028
7029 2015-05-05 Joel Brobecker <brobecker@adacore.com>
7030
7031 * gdb.ada/out_of_line_in_inlined: New testcase.
7032
7033 2015-05-05 Joel Brobecker <brobecker@adacore.com>
7034
7035 * gdb.ada/var_rec_arr: New testcase.
7036
7037 2015-04-30 Yao Qi <yao.qi@linaro.org>
7038
7039 * gdb.base/break-idempotent.exp: If
7040 skip_hw_watchpoint_multi_tests returns true, skip the tests
7041 on "rwatch" and "awatch".
7042
7043 2015-04-30 Yao Qi <yao.qi@linaro.org>
7044
7045 * gdb.base/relativedebug.exp: Invoke gdb command
7046 "info sharedlibrary", and if libc.so doesn't have debug info,
7047 skip the test.
7048
7049 2015-04-29 Doug Evans <dje@google.com>
7050
7051 * gdb.python/py-xmethods.exp: Add ptype tests.
7052 * gdb.python/py-xmethods.py (E_method_char_worker): Add
7053 get_result_type method.
7054
7055 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
7056
7057 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
7058 the target does not support hardware watchpoints.
7059
7060 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
7061
7062 * gdb.base/break-always.exp: Abort testing if writing to memory
7063 causes an error.
7064
7065 2015-04-28 Doug Evans <dje@google.com>
7066
7067 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
7068 * gdb.python/py-pp-registration.exp: ... here. New file.
7069 * gdb.python/py-pp-registration.c: New file.
7070 * gdb.python/py-pp-registration.py: New file.
7071
7072 2015-04-28 Doug Evans <dje@google.com>
7073
7074 * gdb.python/py-bad-printers.c: New file.
7075 * gdb.python/py-bad-printers.py: New file.
7076 * gdb.python/py-bad-printers.exp: New file.
7077
7078 2015-04-28 Sasha Smundak <asmundak@google.com>
7079
7080 * gdb.python/py-type.exp: New test.
7081
7082 2015-04-28 Andy Wingo <wingo@igalia.com>
7083
7084 * gdb.python/py-parameter.exp:
7085 * gdb.guile/scm-parameter.exp: Escape the path that we are
7086 matching against, as it might contain characters that are special
7087 to regular expressions.
7088
7089 2015-04-27 Joel Brobecker <brobecker@adacore.com>
7090
7091 * gdb.ada/rec_comp: New testcase.
7092
7093 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
7094
7095 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
7096 before using it.
7097
7098 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
7099
7100 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
7101 new tests for verilog output.
7102
7103 2015-04-24 Yao Qi <yao.qi@linaro.org>
7104
7105 * boards/remote-gdbserver-on-localhost.exp: New file.
7106
7107 2015-04-23 Pedro Alves <palves@redhat.com>
7108
7109 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
7110 $inferior_spawn_id instead of $inferior_spawn_id directly. On
7111 "end of file", remove $inferior_spawn_id from the indirect list.
7112
7113 2015-04-23 Pedro Alves <palves@redhat.com>
7114
7115 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
7116
7117 2015-04-23 Pedro Alves <palves@redhat.com>
7118
7119 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
7120 on $any_spawn_id instead of only on $gdb_spawn_id.
7121
7122 2015-04-21 Pierre Muller <muller@sourceware.org>
7123
7124 PR pascal/17815
7125 * lib/pascal.exp (gpc_compile): Add new option "class".
7126 (fpc_compile): Likewise.
7127 * gdb.pascal/case-insensitive-symbols.pas: New file.
7128 * gdb.pascal/case-insensitive-symbols.exp: New file.
7129
7130 2015-04-20 Gary Benson <gbenson@redhat.com>
7131
7132 * gdb.base/attach.exp: Fix three extended remote failures.
7133
7134 2015-04-17 Gary Benson <gbenson@redhat.com>
7135
7136 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
7137 the main executable over the remote protocol.
7138
7139 2015-04-16 Pedro Alves <palves@redhat.com>
7140
7141 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
7142 a new gdbserver if gdbserver_reconnect_p is set.
7143
7144 2015-04-16 Pedro Alves <palves@redhat.com>
7145
7146 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
7147 is set, don't exit gdbserver.
7148
7149 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
7150
7151 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
7152 appropriate .insn, such that an older assembler can be used.
7153 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
7154 the z/Architecture instruction set on 31-bit targets as well.
7155
7156 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
7157
7158 * gdb.go/handcall.exp: Remove all logic related to the first
7159 breakpoint and rely on go_runto_main instead.
7160 * gdb.go/strings.exp: Likewise.
7161 * gdb.go/unsafe.exp: Likewise.
7162 * gdb.go/hello.exp: Likewise. Also rename the remaining
7163 breakpoint marker to "breakpoint 1".
7164 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
7165 * gdb.go/strings.go: Likewise.
7166 * gdb.go/unsafe.go: Likewise.
7167 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
7168 "set breakpoint 2 here" and rename the remaining breakpoint marker
7169 to "breakpoint 1".
7170
7171 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
7172
7173 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
7174 if itertools.imap is not present.
7175 * gdb.python/py-objfile.exp: Add parentheses.
7176 * gdb.python/py-type.exp: Same.
7177 * gdb.python/py-unwind-maint.py: Same.
7178
7179 2015-04-15 Yao Qi <yao.qi@linaro.org>
7180
7181 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
7182 of ":$ptr_size" and set its form explicitly.
7183
7184 2015-04-15 Pedro Alves <palves@redhat.com>
7185 Yao Qi <yao.qi@linaro.org>
7186
7187 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
7188 timeout by factor of 4.
7189 (test_regular_watch): Likewise.
7190 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
7191 * gdb.reverse/sigall-reverse.exp: Likewise.
7192 * gdb.reverse/until-precsave.exp: Likewise.
7193 * lib/gdb.exp (with_timeout_factor): New proc.
7194 (gdb_expect): Move some code to ...
7195 (get_largest_timeout): ... here. New procedure.
7196
7197 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
7198
7199 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
7200
7201 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
7202
7203 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
7204 to write to the .text section.
7205
7206 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
7207
7208 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
7209 Handle the case of targets that do not provide PID information.
7210
7211 2015-04-13 Yao Qi <yao.qi@linaro.org>
7212
7213 * lib/gdbserver-support.exp (gdb_exit): Catch exception
7214 and use expect instead of gdb_expect.
7215
7216 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
7217
7218 * gdb.base/coredump-filter.exp: Rename variable "addr" to
7219 "coredump_var_addr" to avoid naming conflict with other testcases.
7220
7221 2015-04-10 Pedro Alves <palves@redhat.com>
7222
7223 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
7224 gdb_test_sequence and gdb_assert.
7225
7226 2015-04-10 Pedro Alves <palves@redhat.com>
7227
7228 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
7229 test messages that don't include the breakpoint address.
7230
7231 2015-04-10 Yao Qi <yao.qi@linaro.org>
7232
7233 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
7234 false for some offset and width combinations which aren't
7235 supported by linux kernel.
7236
7237 2015-04-10 Pedro Alves <palves@redhat.com>
7238
7239 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
7240 procedure, factored out from ...
7241 (top level): ... here. Add "set displaced-stepping" testing axis.
7242 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
7243 parameter "displaced". Use it.
7244 (top level): Use foreach and add "set displaced-stepping" testing
7245 axis.
7246
7247 2015-04-10 Pedro Alves <palves@redhat.com>
7248
7249 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
7250 Remove comment.
7251 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
7252 both the address of the instruction that triggers the watchpoint
7253 and the address of the instruction immediately after, and use
7254 those addresses for the test. Fix comment.
7255
7256 2015-04-10 Pedro Alves <palves@redhat.com>
7257
7258 * gdb.base/sigstep.exp (breakpoint_to_handler)
7259 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
7260 Test "backtrace" in handler.
7261 (breakpoint_over_handler): New parameter 'displaced'. Use it.
7262 (top level): Add new "displaced" test axis to
7263 breakpoint_to_handler, breakpoint_to_handler_entry and
7264 breakpoint_over_handler.
7265
7266 2015-04-10 Pedro Alves <palves@redhat.com>
7267
7268 PR gdb/18216
7269 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
7270
7271 2015-04-10 Yao Qi <yao.qi@linaro.org>
7272
7273 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
7274 (test_add_rn_pc): New function.
7275 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
7276 (top level): Invoke test_add_rn_pc.
7277
7278 2015-04-10 Pedro Alves <palves@redhat.com>
7279
7280 PR gdb/13858
7281 * gdb.base/step-over-no-symbols.exp: New file.
7282
7283 2015-04-09 Andy Wingo <wingo@igalia.com>
7284
7285 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
7286 after the Python tests.
7287
7288 2015-04-08 Keith Seitz <keiths@redhat.com>
7289
7290 PR python/16699
7291 * gdb.python/py-completion.exp: New tests for completion.
7292 * gdb.python/py-completion.py (CompleteLimit1): New class.
7293 (CompleteLimit2): Likewise.
7294 (CompleteLimit3): Likewise.
7295 (CompleteLimit4): Likewise.
7296 (CompleteLimit5): Likewise.
7297 (CompleteLimit6): Likewise.
7298 (CompleteLimit7): Likewise.
7299
7300 2015-04-08 Pedro Alves <palves@redhat.com>
7301
7302 PR gdb/18214
7303 PR gdb/18216
7304 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
7305 function.
7306 (main): Install it as SIGUSR1 handler.
7307 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
7308 parameter. Always use "setup" as prefix. Toggle "set
7309 displaced-stepping" off/on depending on global. Don't switch to
7310 thread 1 here.
7311 (top level): Add displaced stepping "off/on" test axis. Update
7312 "setup" calls. Wrap each subtest with with_test_prefix. Test
7313 continuing with a queued signal in each thread.
7314
7315 2015-04-08 Pedro Alves <palves@redhat.com>
7316
7317 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
7318 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
7319 gdb_breakpoint instead of gdb_test that doesn't expect anything.
7320 Return early if running to main fails.
7321 * gdb.trace/while-stepping.exp: Likewise.
7322
7323 2015-04-07 Pedro Alves <palves@redhat.com>
7324
7325 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
7326 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
7327 interact with inferior program.
7328
7329 2015-04-07 Pedro Alves <palves@redhat.com>
7330
7331 * lib/gdb.exp (inferior_spawn_id): New global.
7332 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
7333 spawn id after processing the user code.
7334 (default_gdb_start): Set inferior_spawn_id.
7335 (send_inferior): New procedure.
7336 * lib/gdbserver-support.exp (gdbserver_start): Set
7337 inferior_spawn_id.
7338 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
7339
7340 2015-04-07 Pedro Alves <palves@redhat.com>
7341
7342 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
7343 * lib/gdbserver-support.exp (gdbserver_start): Make
7344 $server_spawn_id global.
7345 (gdbserver_start): Don't wait for gdbserver's spawn id with
7346 expect_background.
7347 (close_gdbserver): New procedure.
7348 (gdb_exit): Rename the default version and reimplement.
7349
7350 2015-04-07 Pedro Alves <palves@redhat.com>
7351
7352 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
7353 append the substituted item, not the original item.
7354
7355 2015-04-07 Pedro Alves <palves@redhat.com>
7356
7357 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
7358 gdb_expect.
7359
7360 2015-04-07 Pedro Alves <palves@redhat.com>
7361
7362 * gdb.base/interrupt.exp: Don't handle the case of the inferior
7363 output appearing once only.
7364
7365 2015-04-07 Pedro Alves <palves@redhat.com>
7366
7367 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
7368 that doesn't expect anything. Return early if running to main
7369 fails.
7370
7371 2015-04-07 Yao Qi <yao.qi@linaro.org>
7372
7373 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
7374 (child_function): Call alarm.
7375 (main): Move call to alarm into the loop.
7376 * gdb.threads/non-stop-fair-events.exp: Build program with
7377 -DTIMEOUT=$timeout.
7378
7379 2015-04-06 Doug Evans <xdje42@gmail.com>
7380
7381 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
7382 Fix dest parameter to board_info.
7383 (fpc_compile): Ditto.
7384 (gdb_compile_pascal): Rename dest arg to destfile.
7385
7386 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
7387
7388 * gdb.ada/funcall_ref.exp: New file.
7389 * gdb.ada/funcall_ref/foo.adb: New file.
7390
7391 2015-04-02 Yao Qi <yao.qi@linaro.org>
7392
7393 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
7394 is remote.
7395
7396 2015-04-02 Gary Benson <gbenson@redhat.com>
7397
7398 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
7399
7400 2015-04-01 Sasha Smundak <asmundak@google.com>
7401
7402 * gdb.python/py-unwind-maint.c: New file.
7403 * gdb.python/py-unwind-maint.exp: New test.
7404 * gdb.python/py-unwind-maint.py: New file.
7405 * gdb.python/py-unwind.c: New file.
7406 * gdb.python/py-unwind.exp: New test.
7407 * gdb.python/py-unwind.py: New test.
7408
7409 2015-04-01 Pedro Alves <palves@redhat.com>
7410
7411 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
7412 to fail instead of non-existent $test.
7413
7414 2015-04-01 Pedro Alves <palves@redhat.com>
7415
7416 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
7417 GDBFLAGS if not empty.
7418
7419 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
7420
7421 * gdb.ada/complete.exp: Remove "multi_line".
7422 * gdb.ada/info_exc.exp: Remove "multi_line".
7423 * gdb.ada/packed_tagged.exp: Remove "multi_line".
7424 * gdb.ada/ptype_field.exp: Remove "multi_line".
7425 * gdb.ada/sym_print_name.exp: Remove "multi_line".
7426 * gdb.ada/tagged.exp: Remove "multi_line".
7427 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
7428 [multi_line ...]
7429 * gdb.btrace/delta.exp: Likewise.
7430 * gdb.btrace/exception.exp: Likewise.
7431 * gdb.btrace/function_call_history.exp: Likewise.
7432 * gdb.btrace/instruction_history.exp: Likewise.
7433 * gdb.btrace/nohist.exp: Likewise.
7434 * gdb.btrace/record_goto.exp: Likewise.
7435 * gdb.btrace/segv.exp: Likewise.
7436 * gdb.btrace/stepi.exp: Likewise.
7437 * gdb.btrace/tailcall.exp: Likewise.
7438 * gdb.btrace/unknown_functions.exp: Likewise.
7439 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
7440 * lib/gdb.exp: Add the "multi_line" helper.
7441
7442 2015-04-01 Pedro Alves <palves@redhat.com>
7443
7444 * gdb.threads/tid-reuse.c: New file.
7445 * gdb.threads/tid-reuse.exp: New file.
7446
7447 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
7448
7449 PR corefiles/16092
7450 * gdb.base/coredump-filter.c: New file.
7451 * gdb.base/coredump-filter.exp: Likewise.
7452
7453 2015-03-27 Petr Machata <pmachata@redhat.com>
7454
7455 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
7456 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
7457 (Dwarf::assemble): Initialize them.
7458 (Dwarf::lines): New function.
7459
7460 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
7461
7462 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
7463 SYMBOL_PREFIX for x86_64-*-cygwin.
7464
7465 2015-03-26 Andy Wingo <wingo@igalia.com>
7466
7467 PR symtab/18148
7468 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
7469 const_value but not a location.
7470 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
7471 location defined in non-main CUs are visible.
7472
7473 2015-03-26 Yao Qi <yao.qi@linaro.org>
7474
7475 PR testsuite/18139
7476 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
7477 Add a line number entry for the same line.
7478 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
7479 Add a line number entry for the same line.
7480
7481 2015-03-26 Yao Qi <yao.qi@linaro.org>
7482
7483 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
7484 .int 0.
7485 (func): Likewise. Add .Lfunc_1 label.
7486 Use .Lfunc_1 label.
7487 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
7488 .int 0.
7489 (func): Likewise.
7490 Use .Lfunc_1 label.
7491
7492 2015-03-26 Yao Qi <yao.qi@linaro.org>
7493
7494 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
7495 Call gdb_compile instead to compile each .s files without debug
7496 information.
7497
7498 2015-03-26 Yao Qi <yao.qi@linaro.org>
7499
7500 * gdb.base/savedregs.exp (process_saved_regs): Make
7501 "Saved registers:" optional in the pattern.
7502
7503 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
7504
7505 * gdb.btrace/next.exp: Merged into step.exp.
7506 * gdb.btrace/finish.exp: Merged into step.exp.
7507 * gdb.btrace/nexti.exp: Merged into stepi.exp.
7508 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
7509 "record goto" and checking the exact replay position.
7510 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
7511 check for "Recording format" in "info record" output.
7512 * gdb.btrace/record_goto.exp: Choose test file based on target.
7513 * gdb.btrace/x86-record_goto.S: Renamed into ...
7514 * gdb.btrace/x86_64-record_goto.S: ... this.
7515 * gdb.btrace/i686-record_goto.S: New.
7516 * gdb.btrace/x86-tailcall.S: Renamed into ...
7517 * gdb.btrace/x86_64-tailcall.S: ... this.
7518 * gdb.btrace/i686-tailcall.S: New.
7519 * gdb.btrace/x86-tailcall.c: Renamed into ...
7520 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
7521 separate statements. Update test.
7522 * gdb.btrace/delta.exp: Use record_goto.c as test file.
7523 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
7524 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
7525 * gdb.btrace/tailcall.exp: Choose test file based on target.
7526 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
7527
7528 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
7529
7530 * gdb.btrace/exception.exp: Increase BTS buffer size.
7531
7532 2015-03-24 Pedro Alves <palves@redhat.com>
7533
7534 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
7535
7536 2015-03-24 Pedro Alves <palves@redhat.com>
7537
7538 * gdb.threads/schedlock.exp (test_step): No longer expect that
7539 "set scheduler-locking step" with "next" over a function call runs
7540 threads unlocked.
7541
7542 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
7543
7544 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
7545
7546 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
7547
7548 PR breakpoints/16466
7549 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
7550 * gdb.mi/mi-pending.c (thread_func): New function.
7551 (int main): Add threading support required.
7552 * gdb.mi/mi-pending.exp: Add tests for this issue.
7553 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
7554 (pendfunc2): Remove stdio dependency.
7555 * gdb.mi/mi-pendshr2.c: New file.
7556
7557 2015-03-23 Keith Seitz <keiths@redhat.com>
7558
7559 * gdb.linespec/keywords.c: New file.
7560 * gdb.linespec/keywords.exp: New file.
7561
7562 2015-03-23 Keith Seitz <keiths@redhat.com>
7563
7564 PR gdb/18021
7565 * gdb.dwarf2/staticvirtual.exp: New test.
7566
7567 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7568
7569 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
7570 * README: Remove HP-UX and gdb.hp.
7571 (configuration):
7572 * configure: Regenerate.
7573 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
7574 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
7575 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
7576 gdb.hp/gdb.defects/Makefile.
7577 * gdb.hp/Makefile.in: File deleted.
7578 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
7579 * gdb.hp/gdb.aCC/optimize.c: File deleted.
7580 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
7581 * gdb.hp/gdb.aCC/run.c: File deleted.
7582 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
7583 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
7584 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
7585 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
7586 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
7587 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
7588 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
7589 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
7590 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
7591 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
7592 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
7593 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
7594 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
7595 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
7596 * gdb.hp/gdb.base-hp/reg.s: File deleted.
7597 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
7598 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
7599 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
7600 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
7601 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
7602 * gdb.hp/gdb.compat/Makefile.in: File deleted.
7603 * gdb.hp/gdb.compat/average.c: File deleted.
7604 * gdb.hp/gdb.compat/sum.c: File deleted.
7605 * gdb.hp/gdb.compat/xdb.c: File deleted.
7606 * gdb.hp/gdb.compat/xdb0.c: File deleted.
7607 * gdb.hp/gdb.compat/xdb0.h: File deleted.
7608 * gdb.hp/gdb.compat/xdb1.c: File deleted.
7609 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
7610 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
7611 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
7612 * gdb.hp/gdb.defects/Makefile.in: File deleted.
7613 * gdb.hp/gdb.defects/bs14602.c: File deleted.
7614 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
7615 * gdb.hp/gdb.defects/solib-d.c: File deleted.
7616 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
7617 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
7618 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
7619 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
7620 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
7621 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
7622 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
7623 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
7624 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
7625 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
7626 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
7627 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
7628 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
7629 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
7630 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
7631 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
7632 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
7633 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
7634 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
7635 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
7636 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
7637 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
7638 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
7639 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
7640 * gdb.hp/tools/odump: File deleted.
7641
7642 2015-03-19 Pedro Alves <palves@redhat.com>
7643
7644 * gdb.threads/continue-pending-status.exp (saw_thread_2)
7645 (saw_thread_3): New globals.
7646 (top level): Increment them when an event for the corresponding
7647 thread is seen.
7648 (no thread starvation): New test.
7649
7650 2015-03-19 Pedro Alves <palves@redhat.com>
7651
7652 * gdb.threads/continue-pending-status.c: New file.
7653 * gdb.threads/continue-pending-status.exp: New file.
7654
7655 2015-03-18 Pedro Alves <palves@redhat.com>
7656
7657 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
7658 Use gdb_is_target_remote instead of is_remote. Use
7659 gdb_test_multiple instead of gdb_expect. Exit early if
7660 gdb_test_multiple hits its internal matches. Tighten stepi tests
7661 expected output. Fail on exit with any signal, instead of just
7662 SIGILL.
7663
7664 2015-03-18 Yao Qi <yao.qi@linaro.org>
7665
7666 PR tdep/18107
7667 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
7668 variable.
7669 * gdb.base/catch-syscall.exp: Don't skip it on
7670 aarch64*-*-linux* target. Remove elements in all_syscalls.
7671 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
7672 target.
7673 (setup_all_syscalls): New proc.
7674
7675 2015-03-16 Yao Qi <yao.qi@linaro.org>
7676
7677 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
7678 (top level): Skip tests if valid_addr_p returns false for
7679 $cmd1 or $cmd2.
7680
7681 2015-03-11 Andy Wingo <wingo@igalia.com>
7682
7683 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
7684
7685 2015-03-11 Yao Qi <yao.qi@linaro.org>
7686
7687 * gdb.base/catch-syscall.exp: Fix typo in comments.
7688
7689 2015-03-11 Yao Qi <yao.qi@linaro.org>
7690
7691 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
7692
7693 2015-03-09 Pedro Alves <palves@redhat.com>
7694
7695 * dg-extract-results.py: Delete.
7696
7697 2015-03-09 Pedro Alves <palves@redhat.com>
7698
7699 Merge dg-extract-results.sh from GCC upstream (r218843).
7700
7701 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
7702 * dg-extract-results.sh: Use --text with grep to avoid issues with
7703 binary files. Fall back to cat -v, if that doesn't work.
7704
7705 2015-03-05 Pedro Alves <palves@redhat.com>
7706
7707 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
7708
7709 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
7710
7711 * lib/mi-support.exp (mi_expect_interrupt): Accept
7712 alternative event for when in all-stop mode.
7713
7714 2015-03-04 Pedro Alves <palves@redhat.com>
7715
7716 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
7717
7718 2015-03-04 Mark Kettenis <kettenis@gnu.org>
7719
7720 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
7721
7722 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
7723
7724 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
7725 regexps for GDB's current line display, accept a hex address
7726 preceding the line number.
7727
7728 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
7729
7730 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
7731 the 'arch1' variable for "s390*-linux*" targets.
7732
7733 2015-03-04 Pedro Alves <palves@redhat.com>
7734
7735 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
7736 (main): Pass missing retval argument to pthread_join call.
7737
7738 2015-03-02 Pedro Alves <palves@redhat.com>
7739
7740 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
7741 (top level): Call do_test with non-stop as well.
7742
7743 2015-03-02 Pedro Alves <palves@redhat.com>
7744
7745 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
7746 -1.
7747
7748 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
7749
7750 * gdb.arch/s390-vregs.exp: New test.
7751 * gdb.arch/s390-vregs.S: New file.
7752
7753 2015-02-27 Pedro Alves <palves@redhat.com>
7754
7755 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
7756 call to catch_command_errors.
7757 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
7758 catch_command_errors.
7759
7760 2015-02-27 Pedro Alves <palves@redhat.com>
7761
7762 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
7763 "true" for boolean result.
7764 * gdb.gdb/selftest.exp (test_with_self): Also accept full
7765 prototype of main.
7766
7767 2015-02-27 Pedro Alves <palves@redhat.com>
7768
7769 * lib/unbuffer_output.c: New file.
7770 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
7771 (main): Call gdb_unbuffer_output.
7772
7773 2015-02-27 Yao Qi <yao.qi@linaro.org>
7774
7775 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
7776 target.
7777
7778 2015-02-26 Doug Evans <dje@google.com>
7779
7780 * gdb.cp/class2.cc (Dbase, D): New classes.
7781 (main): New local delta.
7782 * gdb.cp/class2.exp: Test printing delta.
7783 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
7784 (dynbar): New global.
7785 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
7786
7787 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7788
7789 * gdb.compile/compile-ifunc.c: New file.
7790 * gdb.compile/compile-ifunc.exp: New file.
7791
7792 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
7793
7794 * gdb.base/structs.exp: Check for correct struct on finish.
7795
7796 2015-02-26 Yao Qi <yao.qi@linaro.org>
7797
7798 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
7799 is zero.
7800
7801 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7802
7803 * gdb.arch/cordic.ko.bz2: New file.
7804 * gdb.arch/cordic.ko.debug.bz2: New file.
7805 * gdb.arch/ppc64-symtab-cordic.exp: New file.
7806
7807 2015-02-25 Yao Qi <yao.qi@linaro.org>
7808
7809 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
7810 aarch64*-*-* target.
7811
7812 2015-02-23 Pedro Alves <palves@redhat.com>
7813
7814 * lib/gdb.exp (delete_breakpoints): Rewrite using
7815 gdb_test_multiple.
7816
7817 2015-02-23 Pedro Alves <palves@redhat.com>
7818
7819 * gdb.base/info-os.c: Include stdlib.h.
7820
7821 2015-02-22 Doug Evans <xdje42@gmail.com>
7822
7823 PR symtab/17855
7824 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
7825 is read after symbols have been re-read.
7826 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
7827 * gdb.ada/exec_changed/second.adb (Second): Ditto.
7828
7829 2015-02-21 Doug Evans <dje@google.com>
7830
7831 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
7832
7833 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7834
7835 PR corefiles/17808
7836 * gdb.arch/i386-biarch-core.core.bz2: New file.
7837 * gdb.arch/i386-biarch-core.exp: New file.
7838
7839 2015-02-21 Pedro Alves <palves@redhat.com>
7840
7841 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
7842 runto_main fails.
7843
7844 2015-02-20 Pedro Alves <palves@redhat.com>
7845
7846 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
7847 info probes.
7848
7849 2015-02-20 Pedro Alves <palves@redhat.com>
7850
7851 * gdb.threads/multi-create-ns-info-thr.exp: New file.
7852
7853 2015-02-20 Pedro Alves <palves@redhat.com>
7854
7855 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
7856 clean_restart before gdb_target_supports_trace.
7857
7858 2015-02-20 Pedro Alves <palves@redhat.com>
7859
7860 PR threads/18006
7861 * gdb.threads/clone-thread_db.c: New file.
7862 * gdb.threads/clone-thread_db.exp: New file.
7863
7864 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
7865
7866 PR breakpoints/16812
7867 * gdb.base/catch-gdb-caused-signals.c: New file.
7868 * gdb.base/catch-gdb-caused-signals.exp: New file.
7869
7870 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
7871
7872 * configure: Regenerated.
7873 * configure.ac: Use GDB_AC_TRANSFORM.
7874 * aclocal.m4: sinclude ../transform.m4.
7875
7876 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
7877
7878 * lib/dtrace.exp: New file.
7879 * gdb.base/dtrace-probe.exp: Likewise.
7880 * gdb.base/dtrace-probe.d: Likewise.
7881 * gdb.base/dtrace-probe.c: Likewise.
7882 * lib/pdtrace.in: Likewise.
7883 * configure.ac: Output variables with the transformed names of
7884 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
7885 * configure: Regenerated.
7886
7887 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
7888
7889 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
7890 expected message when trying to access $_probe_* convenience
7891 variables while not on a probe.
7892
7893 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7894
7895 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
7896
7897 2015-02-11 Pedro Alves <pedro@codesourcery.com>
7898
7899 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
7900 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
7901
7902 2015-02-10 Doug Evans <xdje42@gmail.com>
7903
7904 * lib/gdb.exp (gdb_load): Always return a result.
7905
7906 2015-02-10 Pedro Alves <palves@redhat.com>
7907
7908 * gdb.threads/signal-sigtrap.c: New file.
7909 * gdb.threads/signal-sigtrap.exp: New file.
7910
7911 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
7912
7913 * gdb.trace/no-attach-trace.c: New file.
7914 * gdb.trace/no-attach-trace.exp: New file.
7915
7916 2015-02-09 Mark Wielaard <mjw@redhat.com>
7917
7918 * gdb.dwarf2/atomic.c: New file.
7919 * gdb.dwarf2/atomic-type.exp: Likewise.
7920
7921 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
7922
7923 * gdb.btrace/buffer-size.exp: Update "info record" output.
7924 * gdb.btrace/delta.exp: Update "info record" output.
7925 * gdb.btrace/enable.exp: Update "info record" output.
7926 * gdb.btrace/finish.exp: Update "info record" output.
7927 * gdb.btrace/instruction_history.exp: Update "info record" output.
7928 * gdb.btrace/next.exp: Update "info record" output.
7929 * gdb.btrace/nexti.exp: Update "info record" output.
7930 * gdb.btrace/step.exp: Update "info record" output.
7931 * gdb.btrace/stepi.exp: Update "info record" output.
7932 * gdb.btrace/nohist.exp: Update "info record" output.
7933
7934 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
7935
7936 * gdb.btrace/buffer-size: New.
7937
7938 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
7939
7940 * gdb.btrace/delta.exp: Update "info record" output.
7941 * gdb.btrace/enable.exp: Update "info record" output.
7942 * gdb.btrace/finish.exp: Update "info record" output.
7943 * gdb.btrace/instruction_history.exp: Update "info record" output.
7944 * gdb.btrace/next.exp: Update "info record" output.
7945 * gdb.btrace/nexti.exp: Update "info record" output.
7946 * gdb.btrace/step.exp: Update "info record" output.
7947 * gdb.btrace/stepi.exp: Update "info record" output.
7948 * gdb.btrace/nohist.exp: Update "info record" output.
7949
7950 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
7951
7952 PR gdb/15678
7953 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
7954
7955 2015-02-06 Pedro Alves <palves@redhat.com>
7956
7957 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
7958 macro.
7959 (seconds_left, again): New globals.
7960 (main): Wait seconds_left in a 1-second sleep loop instead of
7961 sleeping 180 seconds. If 'again' is set, reset the seconds
7962 counter.
7963 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
7964 'again' in the inferior before detaching. Print the seconds left.
7965 (options): New global.
7966 (top level): Build program with -DTIMEOUT=$timeout.
7967
7968 2015-02-06 Pedro Alves <palves@redhat.com>
7969
7970 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
7971 determine how many seconds to pass to 'alarm'.
7972 * gdb.base/gdb-sigterm.exp (top level): Build program with
7973 -DTIMEOUT=$timeout.
7974 (do_test): Return success/failure indication. Add more verbose
7975 logging. Don't fail if 200 single steps are seen. Instead, fail
7976 when the test times out.
7977 (passes): New global.
7978 (top level): Break the testing loop if testing fails on any
7979 iteration. Use gdb_assert.
7980
7981 2015-02-04 Don Breazeal <donb@codesourcery.com>
7982
7983 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
7984 and initialize them.
7985 (ipc_cleanup): New function.
7986 (main): Don't declare shmid, semid, and msqid. Add a call to
7987 atexit so that we call ipc_cleanup on exit.
7988
7989 2015-02-04 Pedro Alves <palves@redhat.com>
7990
7991 * boards/native-extended-gdbserver.exp: Remove any target variant
7992 specifications from the board name before clearing the isremote
7993 flag from board_info.
7994
7995 2015-01-31 Doug Evans <xdje42@gmail.com>
7996
7997 * gdb.base/maint.exp <maint print type argc>: Update expected output.
7998
7999 2015-01-31 Gary Benson <gbenson@redhat.com>
8000
8001 * gdb.base/completion.exp: Disable completion limiting for
8002 existing tests. Add new tests to check completion limiting.
8003 * gdb.linespec/ls-errs.exp: Disable completion limiting.
8004
8005 2015-01-31 Doug Evans <xdje42@gmail.com>
8006
8007 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
8008
8009 2015-01-31 Doug Evans <xdje42@gmail.com>
8010
8011 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
8012 entries. Duplicate file section script entries.
8013 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
8014 inlined entries. Add test for safe-path rejection.
8015 * gdb.python/py-section-script.c: Add duplicate inlined section script
8016 entries. Duplicate file section script entries.
8017 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
8018 inlined entries. Add test for safe-path rejection.
8019
8020 2015-01-29 Joel Brobecker <brobecker@adacore.com>
8021
8022 * gdb.ada/disc_arr_bound: New testcase.
8023
8024 2015-01-29 Joel Brobecker <brobecker@adacore.com>
8025
8026 * gdb.ada/mi_var_array: New testcase.
8027
8028 2015-01-27 Doug Evans <dje@google.com>
8029
8030 * gdb.python/py-objfile.exp: Add tests for objfile.username.
8031 Add test for objfile.filename, objfile.username after objfile
8032 has been unloaded.
8033
8034 2015-01-26 Joel Brobecker <brobecker@adacore.com>
8035
8036 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
8037 the second test to print the name attribute of value
8038 returned by the call to gdb.lookup_type, and adjust
8039 the expected output accordingly.
8040
8041 2015-01-25 Mark Wielaard <mjw@redhat.com>
8042
8043 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
8044 * gdb.base/disp-step-fork.c: Include unistd.h.
8045 * gdb.base/siginfo-obj.c: Include stdio.h.
8046 * gdb.base/siginfo-thread.c: Likewise.
8047 * gdb.mi/non-stop.c: Include unistd.h.
8048 * gdb.mi/nsthrexec.c: Include stdio.h.
8049 * gdb.mi/pthreads.c: Include unistd.h.
8050 * gdb.modula2/unbounded1.c (main): Declare returns int.
8051 * gdb.reverse/consecutive-reverse.c: Likewise.
8052 * gdb.threads/create-fail.c: Include unistd.h.
8053 * gdb.threads/killed.c: Likewise.
8054 * gdb.threads/linux-dp.c: Likewise.
8055 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
8056 * gdb.threads/non-ldr-exc-2.c: Likewise.
8057 * gdb.threads/non-ldr-exc-3.c: Likewise.
8058 * gdb.threads/non-ldr-exc-4.c: Likewise.
8059 * gdb.threads/pthreads.c: Include unistd.h.
8060 (main): Declare returns int.
8061 * gdb.threads/tls-main.c (foo): New declaration.
8062 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
8063
8064 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
8065
8066 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
8067 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
8068
8069 2015-01-15 Mark Wielaard <mjw@redhat.com>
8070
8071 * gdb.base/noreturn-return.c: New file.
8072 * gdb.base/noreturn-return.exp: New file.
8073 * gdb.base/noreturn-finish.c: New file.
8074 * gdb.base/noreturn-finish.exp: New file.
8075
8076 2015-01-23 Pedro Alves <palves@redhat.com>
8077
8078 * gdb.threads/continue-pending-after-query.c: New file.
8079 * gdb.threads/continue-pending-after-query.exp: New file.
8080
8081 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
8082 Simon Marchi <simon.marchi@ericsson.com>
8083
8084 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
8085 * gdb.base/valgrind-db-attach.exp: Same.
8086 * gdb.base/valgrind-infcall.exp: Same.
8087 * lib/mi-support.exp (default_mi_gdb_start): Same.
8088 * lib/prompt.exp (default_prompt_gdb_start): Same.
8089 * lib/gdb.exp (default_gdb_spawn): Same.
8090 (gdb_interact): New.
8091
8092
8093 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8094
8095 * gdb.compile/compile.exp (pointer to jit function): New test.
8096
8097 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
8098
8099 * lib/gdb.exp (supports_process_record): Return true for
8100 powerpc*-*-linux*.
8101 (supports_reverse): Likewise.
8102
8103 2015-01-15 Don Breazeal <donb@codesourcery.com>
8104
8105 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
8106 instead of checking whether the target board is remote and
8107 use spawn_wait_for_attach instead of exec/sleep.
8108 * gdb.base/attach-twice.exp: Likewise.
8109
8110 2015-01-15 Joel Brobecker <brobecker@adacore.com>
8111
8112 * gdb.ada/var_arr_attrs: New testcase.
8113
8114 2015-01-14 Pedro Alves <palves@redhat.com>
8115 Joel Brobecker <brobecker@adacore.com>
8116
8117 PR gdb/17525
8118 * gdb.base/bp-cmds-execution-x-script.c: New file.
8119 * gdb.base/bp-cmds-execution-x-script.exp: New file.
8120 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
8121
8122 2015-01-14 Pedro Alves <palves@redhat.com>
8123
8124 PR cli/17828
8125 * gdb.base/batch-preserve-term-settings.c: New file.
8126 * gdb.base/batch-preserve-term-settings.exp: New file.
8127
8128 2015-01-13 Doug Evans <dje@google.com>
8129
8130 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
8131 binary.
8132
8133 2015-01-13 Joel Brobecker <brobecker@adacore.com>
8134
8135 * Makefile.in (clean mostlyclean): Do not delete *.py.
8136
8137 2015-01-13 Joel Brobecker <brobecker@adacore.com>
8138
8139 * gdb.python/py-lookup-type.exp: New file.
8140
8141 2015-01-12 Pedro Alves <palves@redhat.com>
8142
8143 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
8144 restore GDBFLAGS before returning.
8145
8146 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8147
8148 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
8149 is_amd64_regs_target and is_x86_like_target.
8150
8151 2015-01-11 Doug Evans <xdje42@gmail.com>
8152
8153 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
8154 is given without an explicit form.
8155 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
8156 attributes.
8157 * gdb.dwarf/corrupt.exp: Ditto.
8158 * gdb.dwarf2/enum-type.exp: Ditto.
8159 * gdb.trace/entry-values.exp: Ditto.
8160 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
8161
8162 2015-01-11 Doug Evans <xdje42@gmail.com>
8163
8164 PR gdb/15830
8165 * gdb.base/maint.exp: Remove references to "maint demangle".
8166 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
8167 Add tests for explicitly specifying language to demangle.
8168 * gdb.dlang/demangle.exp: Ditto.
8169
8170 2015-01-09 Pedro Alves <palves@redhat.com>
8171
8172 * gdb.threads/non-stop-fair-events.c: New file.
8173 * gdb.threads/non-stop-fair-events.exp: New file.
8174
8175 2015-01-09 Pedro Alves <palves@redhat.com>
8176
8177 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
8178 the global scope. Set a breakpoint after all threads are started
8179 rather than stepping over two source lines. Expect the prompt.
8180 * gdb.base/watch_thread_num.c (threads_started_barrier): New
8181 global.
8182 (NUM): Now 15.
8183 (main): Use threads_started_barrier to wait for all threads to
8184 start. Main thread no longer calls thread_function. Exit after
8185 180 seconds.
8186 (loop): New function.
8187 (thread_function): Wait on threads_started_barrier barrier. Call
8188 'loop' at each iteration.
8189 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
8190 threads have started, instead of hardcoding number of "next"
8191 steps. Use an access watchpoint instead of a write watchpoint.
8192
8193 2015-01-09 Pedro Alves <palves@redhat.com>
8194
8195 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
8196 (thread_func): Wait on barrier.
8197 (main): Wait for all threads to start before stopping GDB.
8198 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
8199 global.
8200 (thread1_func, thread2_func): Wait on barrier.
8201 (main): Wait for all threads to start before stopping GDB.
8202 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
8203 New global.
8204 (thread1_func, thread2_func): Wait on barrier.
8205 (main): Wait for all threads to start before stopping GDB.
8206
8207 2015-01-09 Pedro Alves <palves@redhat.com>
8208
8209 * gdb.threads/attach-many-short-lived-threads.c: New file.
8210 * gdb.threads/attach-many-short-lived-threads.exp: New file.
8211
8212 2014-01-09 Pedro Alves <palves@redhat.com>
8213
8214 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
8215 instead of to thread 2.
8216 * gdb.threads/signal-command-multiple-signals-pending.c (main):
8217 Add barrier around each pthread_create call instead of around all
8218 calls.
8219 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
8220 Set a break on thread_function and have the child threads hit it
8221 one at at a time.
8222
8223 2015-01-09 Pedro Alves <palves@redhat.com>
8224
8225 * lib/gdb.exp (can_spawn_for_attach): New procedure.
8226 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
8227 false.
8228 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
8229 checking whether the target board is remote.
8230 * gdb.multi/multi-attach.exp: Likewise.
8231 * gdb.python/py-sync-interp.exp: Likewise.
8232 * gdb.server/ext-attach.exp: Likewise.
8233 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
8234 tests that need to attach, instead of checking whether the target
8235 board is remote at the top of the file.
8236
8237 2015-01-08 Yao Qi <yao@codesourcery.com>
8238
8239 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
8240
8241 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8242
8243 Fix testcase compilation.
8244 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
8245
8246 2015-01-06 Joel Brobecker <brobecker@adacore.com>
8247
8248 * gdb.python/py-type.exp: Add a couple test about empty
8249 array creation, and negative-length array creation.
8250
8251 2015-01-02 Doug Evans <xdje42@gmail.com>
8252
8253 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
8254
8255 2015-01-02 Doug Evans <dje@google.com>
8256
8257 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
8258
8259 2014-12-29 Yao Qi <yao@codesourcery.com>
8260
8261 * gdb.trace/entry-values.exp: Update comments. Rename variable
8262 bar_call_foo to returned_from_foo.
8263
8264 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
8265
8266 PR gdb/17394
8267 * gdb.linespec/break-asm-file.c: New file.
8268 * gdb.linespec/break-asm-file.exp: New file.
8269 * gdb.linespec/break-asm-file0.s: New file.
8270 * gdb.linespec/break-asm-file1.s: New file.
8271
8272 2014-12-18 Nigel Stephens <nigel@mips.com>
8273 Maciej W. Rozycki <macro@codesourcery.com>
8274
8275 * gdb.base/float.exp: Handle the new output from "info float" on
8276 MIPS targets.
8277
8278 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8279
8280 Fix MinGW compilation.
8281 * gdb.compile/compile-ops.exp: Update untested message if
8282 !skip_compile_feature_tests.
8283 * gdb.compile/compile-setjmp.exp: Likewise.
8284 * gdb.compile/compile-tls.exp: Likewise.
8285 * gdb.compile/compile.exp: Likewise.
8286 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
8287 supported on this host".
8288
8289 2014-12-16 Doug Evans <xdje42@gmail.com>
8290
8291 * boards/stabs.exp: New file.
8292
8293 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
8294
8295 * gdb.base/completion.exp: Adjust to format changes of "maint
8296 print user-registers".
8297
8298 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
8299
8300 PR server/17457
8301 * gdb.arch/aarch64-fp.c: New file.
8302 * gdb.arch/aarch64-fp.exp: New file.
8303
8304 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
8305
8306 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
8307 r210637, r210913, r211666, r215400, r215817).
8308
8309 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
8310 * dg-extract-results.py: New file.
8311 * dg-extract-results.sh: Use it if the environment seems
8312 suitable.
8313
8314 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
8315
8316 * dg-extract-results.py (parse_run): Handle warnings that
8317 are printed before a test harness is run.
8318
8319 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
8320
8321 * dg-extract-results.py (Named): Remove __cmp__ method.
8322 (output_variation): Use a key to sort variation.harnesses.
8323
8324 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
8325
8326 * dg-extract-results.py: For Python 3, force sys.stdout to
8327 handle surrogate escape sequences.
8328 (safe_open): New function.
8329 (output_segment, main): Use it.
8330
8331 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
8332
8333 * dg-extract-results.py (Prog.result_re): Include options
8334 in test name.
8335
8336 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
8337
8338 * dg-extract-results.py (output_variation): Always sort if
8339 do_sum.
8340
8341 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
8342
8343 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
8344 as long as we get pagination notifications.
8345
8346 2014-12-15 Jason Merrill <jason@redhat.com>
8347
8348 * Makefile.in (check-gdb.%): Restore.
8349 * README: Mention it.
8350
8351 2014-12-13 Joel Brobecker <brobecker@adacore.com>
8352
8353 * gdb.ada/str_uninit: New testcase.
8354
8355 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8356
8357 PR symtab/17642
8358 * gdb.base/vla-stub-define.c: New file.
8359 * gdb.base/vla-stub.c: New file.
8360 * gdb.base/vla-stub.exp: New file.
8361
8362 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
8363 Jan Kratochvil <jan.kratochvil@redhat.com>
8364 Tom Tromey <tromey@redhat.com>
8365
8366 * configure.ac: Add gdb.compile/.
8367 * configure: Regenerate.
8368 * gdb.compile/Makefile.in: New file.
8369 * gdb.compile/compile-ops.exp: New file.
8370 * gdb.compile/compile-ops.c: New file.
8371 * gdb.compile/compile-tls.c: New file.
8372 * gdb.compile/compile-tls.exp: New file.
8373 * gdb.compile/compile-constvar.S: New file.
8374 * gdb.compile/compile-constvar.c: New file.
8375 * gdb.compile/compile-mod.c: New file.
8376 * gdb.compile/compile-nodebug.c: New file.
8377 * gdb.compile/compile-setjmp-mod.c: New file.
8378 * gdb.compile/compile-setjmp.c: New file.
8379 * gdb.compile/compile-setjmp.exp: New file.
8380 * gdb.compile/compile-shlib.c: New file.
8381 * gdb.compile/compile.c: New file.
8382 * gdb.compile/compile.exp: New file.
8383 * lib/gdb.exp (skip_compile_feature_tests): New proc.
8384
8385 2014-12-12 Tom Tromey <tromey@redhat.com>
8386
8387 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
8388 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
8389
8390 2014-12-12 Doug Evans <dje@google.com>
8391
8392 * lib/gdb-python.exp (get_python_valueof): New function.
8393 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
8394
8395 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8396
8397 * gdb.base/completion.exp: Add test for completion of "info
8398 registers ".
8399
8400 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
8401
8402 * gdb.base/func-ptrs.c: New file.
8403 * gdb.base/func-ptrs.exp: New file.
8404
8405 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
8406
8407 PR breakpoints/17012
8408 * gdb.base/dprintf-detach.c: New file.
8409 * gdb.base/dprintf-detach.exp: New file.
8410
8411 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
8412
8413 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
8414 * lib/gdb.exp (target_is_gdbserver): New procedure.
8415
8416 2014-12-08 Doug Evans <dje@google.com>
8417
8418 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
8419
8420 2014-12-05 Yao Qi <yao@codesourcery.com>
8421
8422 * gdb.guile/scm-error.exp: Remove the third argument to
8423 gdb_remote_download.
8424 * gdb.guile/scm-frame-args.exp: Likewise.
8425 * gdb.guile/scm-section-script.exp: Likewise.
8426
8427 2014-12-05 Yao Qi <yao@codesourcery.com>
8428
8429 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
8430
8431 2014-12-04 Doug Evans <dje@google.com>
8432
8433 * gdb.python/py-objfile.exp: Add tests for
8434 objfile.add_separate_debug_file.
8435
8436 2014-12-04 Doug Evans <dje@google.com>
8437
8438 * lib/gdb.exp (get_build_id): New function.
8439 (build_id_debug_filename_get): Rewrite to use it.
8440 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
8441
8442 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
8443
8444 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
8445 `method(long)', not just 0x0.
8446 * gdb.cp/nsalias.exp: Align code labels to 4.
8447 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
8448 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
8449 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
8450 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
8451 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
8452 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
8453
8454 2014-12-02 Doug Evans <dje@google.com>
8455
8456 PR symtab/17602
8457 * gdb.cp/anon-ns.cc: Move guts of this file to ...
8458 * gdb.cp/anon-ns2.cc: ... here. New file.
8459 * gdb.cp/anon-ns.exp: Update.
8460
8461 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
8462
8463 * gdb.python/py-events.py (inferior_call_handler): New.
8464 (register_changed_handler, memory_changed_handler): New.
8465 (test_events.invoke): Register new handlers.
8466 * gdb.python/py-events.exp: Add tests for inferior call,
8467 memory_changed and register_changed events.
8468
8469 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
8470
8471 * gdb.base/execl-update-breakpoints.exp: Specify the link address
8472 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
8473 if the linker doesn't understand this.
8474
8475 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
8476
8477 * gdb.python/python.exp: Change expected reply to help().
8478
8479 2014-12-01 Yao Qi <yao@codesourcery.com>
8480
8481 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
8482 AC_CONFIG_SUBDIRS(gdb.gdbtk).
8483 * configure: Re-generated.
8484
8485 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
8486
8487 * gdb.cp/chained-calls.cc: New file.
8488 * gdb.cp/chained-calls.exp: New file.
8489 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
8490
8491 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
8492
8493 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
8494 * gdb.dwarf2/symtab-producer.exp: Same.
8495 * gdb.gdb/python-interrupts.exp: Same.
8496 * gdb.gdb/python-selftest.exp: Same.
8497 * gdb.python/py-linetable.exp: Same.
8498 * gdb.python/py-type.exp: Same.
8499 * gdb.python/py-value-cc.exp: Same.
8500 * gdb.python/py-value.exp: Same.
8501
8502 2014-11-28 Yao Qi <yao@codesourcery.com>
8503
8504 * gdb.base/break-probes.exp: Match library name prefixed with
8505 sysroot.
8506
8507 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
8508
8509 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
8510 test expected output. Add parentheses for the call to print.
8511 Remove L suffix from integers.
8512
8513 2014-11-26 Doug Evans <dje@google.com>
8514
8515 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
8516
8517 2014-11-22 Yao Qi <yao@codesourcery.com>
8518
8519 * gdb.trace/entry-values.c: Remove asms.
8520 (foo): Add foo_label.
8521 (bar): Add bar_label.
8522 * gdb.trace/entry-values.exp: Remove code computing foo's
8523 length and bar's length.
8524 (Dwarf::assemble): Invoke function_range for bar and use
8525 MACRO_AT_func for foo.
8526
8527 2014-11-22 Yao Qi <yao@codesourcery.com>
8528
8529 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
8530 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
8531 Use .Lgcc43_procstart instead of gcc43.
8532
8533 2014-11-21 Joel Brobecker <brobecker@adacore.com>
8534
8535 * gdb.ada/n_arr_bound: New testcase.
8536
8537 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
8538
8539 PR breakpoints/10737
8540 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
8541 test_catch_syscall_multi_arch.
8542 (test_catch_syscall_multi_arch): New function.
8543
8544 2014-11-20 Doug Evans <xdje42@gmail.com>
8545
8546 * gdb.base/maint.exp: Update expected output.
8547
8548 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
8549
8550 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
8551 4-byte instruction on S390.
8552
8553 2014-11-19 Joel Brobecker <brobecker@adacore.com>
8554
8555 * gdb.ada/arr_arr: New testcase.
8556
8557 2014-11-19 Joel Brobecker <brobecker@adacore.com>
8558
8559 * gdb.ada/pkd_arr_elem: New Testcase.
8560
8561 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
8562
8563 * gdb.reverse/break-precsave: Expect completion message for
8564 core file reads.
8565 * gdb.reverse/consecutive-precsave.exp: Likewise.
8566 * gdb.reverse/finish-precsave.exp: Likewise.
8567 * gdb.reverse/i386-precsave.exp: Likewise.
8568 * gdb.reverse/machinestate-precsave.exp: Likewise.
8569 * gdb.reverse/sigall-precsave.exp: Likewise.
8570 * gdb.reverse/solib-precsave.exp: Likewise.
8571 * gdb.reverse/step-precsave.exp: Likewise.
8572 * gdb.reverse/until-precsave.exp: Likewise.
8573 * gdb.reverse/watch-precsave.exp: Likewise.
8574
8575 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
8576
8577 * gdb.base/bp-permanent.c: Include unistd.h.
8578 * gdb.python/py-framefilter-mi.c (main): Add return type.
8579 * gdb.python/py-framefilter.c (main): Likewise.
8580 * gdb.trace/actions-changed.c (main): Likewise.
8581
8582 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
8583
8584 * gdb.mi/until.c: Add eye-catchers.
8585 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
8586 line numbers.
8587
8588 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
8589
8590 * gdb.base/condbreak.exp: Drop references to removed non-prototype
8591 function header variants in break1.c.
8592 * gdb.base/ena-dis-br.exp: Likewise.
8593 * gdb.base/hbreak2.exp: Likewise.
8594 * gdb.reverse/until-precsave.exp: Drop references to removed
8595 non-prototype function header variants in ur1.c.
8596 * gdb.reverse/until-reverse.exp: Likewise.
8597
8598 2014-11-17 Petr Machata <pmachata@redhat.com>
8599
8600 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
8601 ${_cu_offset_size} bytes abbrev offset.
8602
8603 2014-11-15 Doug Evans <xdje42@gmail.com>
8604
8605 PR symtab/17559
8606 * gdb.base/line-symtabs.exp: New file.
8607 * gdb.base/line-symtabs.c: New file.
8608 * gdb.base/line-symtabs.h: New file.
8609
8610 2014-11-14 Yao Qi <yao@codesourcery.com>
8611
8612 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
8613 (func): Add label func_label.
8614 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
8615 Replace low_pc and high_pc with MACRO_AT_range.
8616 Replace name, low_pc and high_pc with MACRO_AT_func.
8617
8618 2014-11-14 Yao Qi <yao@codesourcery.com>
8619
8620 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
8621 Replace name, low_pc and high_pc with MACRO_AT_func.
8622
8623 2014-11-14 Yao Qi <yao@codesourcery.com>
8624
8625 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
8626 produce debug information.
8627 * gdb.dwarf2/implptr-optimized-out.S: Removed.
8628
8629 2014-11-14 Yao Qi <yao@codesourcery.com>
8630
8631 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
8632 object and get function length.
8633 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
8634 with MACRO_AT_func.
8635 (top-level): Replace gdb_compile and clean_restart with
8636 prepare_for_testing.
8637 * gdb.dwarf2/main.c (main): Add label main_label.
8638
8639 2014-11-14 Yao Qi <yao@codesourcery.com>
8640
8641 * lib/dwarf.exp (function_range): New procedure.
8642 (Dwarf::_handle_macro_at_func): New procedure.
8643 (Dwarf::_handle_macro_at_range): New procedure.
8644 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
8645
8646 2014-11-14 Yao Qi <yao@codesourcery.com>
8647
8648 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
8649 (_handle_attribute): New procedure.
8650
8651 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8652
8653 * gdb.ada/cond_lang/foo.c (callme): Add return type.
8654 * gdb.base/call-sc.c (zed): Likewise.
8655 * gdb.base/checkpoint.c (main): Likewise.
8656 * gdb.base/dump.c (main): Likewise.
8657 * gdb.base/gcore.c (main): Likewise.
8658 * gdb.base/huge.c (main): Likewise.
8659 * gdb.base/multi-forks.c (main): Likewise.
8660 * gdb.base/pr10179-a.c (main): Likewise.
8661 * gdb.base/savedregs.c (main): Likewise.
8662 * gdb.base/sigaltstack.c (main): Likewise.
8663 * gdb.base/siginfo.c (main): Likewise.
8664 * gdb.base/structs.c (zed): Likewise.
8665 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
8666 * gdb.mi/mi-syn-frame.c (main): Likewise.
8667 * gdb.mi/until.c (foo, main): Likewise.
8668 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
8669 * gdb.base/solib-weak.c (foo): Declare.
8670 * gdb.base/attach-twice.c: Include stdio.h.
8671 * gdb.base/weaklib1.c: Likewise.
8672 * gdb.base/weaklib2.c: Likewise.
8673 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
8674 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
8675 unistd.h.
8676 * gdb.base/attach-pie-misread.c: Include stdlib.h.
8677 * gdb.mi/mi-exit-code.c: Likewise.
8678 * gdb.base/break-interp-lib.c: Include string.h.
8679 * gdb.base/coremaker.c: Likewise.
8680 * gdb.base/testenv.c: Likewise.
8681 * gdb.python/py-finish-breakpoint.c: Likewise.
8682 * gdb.base/inferior-died.c: Include sys/wait.h.
8683 * gdb.base/fileio.c: Include time.h.
8684 * gdb.base/async-shell.c: Include unistd.h.
8685 * gdb.base/dprintf-non-stop.c: Likewise.
8686 * gdb.base/info-os.c: Likewise.
8687 * gdb.mi/mi-console.c: Likewise.
8688 * gdb.mi/watch-nonstop.c: Likewise.
8689 * gdb.python/py-events.c: Likewise.
8690 * gdb.base/async.c (baz): Move up before its invocation.
8691 * gdb.base/code_elim2.c (my_global_func): Likewise.
8692 * gdb.base/skip-solib-lib.c (multiply): Likewise.
8693 * gdb.base/advance.c (func2): Likewise.
8694
8695 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8696
8697 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
8698 variant.
8699 * gdb.base/annota3.c: Likewise.
8700 * gdb.base/async.c: Likewise.
8701 * gdb.base/average.c: Likewise.
8702 * gdb.base/call-ar-st.c: Likewise.
8703 * gdb.base/call-rt-st.c: Likewise.
8704 * gdb.base/call-sc.c: Likewise.
8705 * gdb.base/call-strs.c: Likewise.
8706 * gdb.base/ending-run.c: Likewise.
8707 * gdb.base/execd-prog.c: Likewise.
8708 * gdb.base/exprs.c: Likewise.
8709 * gdb.base/foll-exec.c: Likewise.
8710 * gdb.base/foll-fork.c: Likewise.
8711 * gdb.base/foll-vfork.c: Likewise.
8712 * gdb.base/funcargs.c: Likewise.
8713 * gdb.base/gcore.c: Likewise.
8714 * gdb.base/jump.c: Likewise.
8715 * gdb.base/langs0.c: Likewise.
8716 * gdb.base/langs1.c: Likewise.
8717 * gdb.base/langs2.c: Likewise.
8718 * gdb.base/mips_pro.c: Likewise.
8719 * gdb.base/nodebug.c: Likewise.
8720 * gdb.base/opaque0.c: Likewise.
8721 * gdb.base/opaque1.c: Likewise.
8722 * gdb.base/recurse.c: Likewise.
8723 * gdb.base/run.c: Likewise.
8724 * gdb.base/scope0.c: Likewise.
8725 * gdb.base/scope1.c: Likewise.
8726 * gdb.base/setshow.c: Likewise.
8727 * gdb.base/setvar.c: Likewise.
8728 * gdb.base/shmain.c: Likewise.
8729 * gdb.base/shr1.c: Likewise.
8730 * gdb.base/shr2.c: Likewise.
8731 * gdb.base/sigall.c: Likewise.
8732 * gdb.base/signals.c: Likewise.
8733 * gdb.base/so-indr-cl.c: Likewise.
8734 * gdb.base/solib2.c: Likewise.
8735 * gdb.base/structs.c: Likewise.
8736 * gdb.base/sum.c: Likewise.
8737 * gdb.base/vforked-prog.c: Likewise.
8738 * gdb.base/watchpoint.c: Likewise.
8739 * gdb.reverse/shr2.c: Likewise.
8740 * gdb.reverse/until-reverse.c: Likewise.
8741 * gdb.reverse/ur1.c: Likewise.
8742 * gdb.reverse/watch-reverse.c: Likewise.
8743
8744 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8745
8746 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
8747 variant.
8748 * gdb.base/sepdebug.exp: Drop references to removed code.
8749
8750 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8751
8752 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
8753 variant. Preserve original line numbering.
8754 * gdb.base/list1.c: Likewise.
8755
8756 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8757
8758 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
8759 variant.
8760 * gdb.base/break1.c: Likewise.
8761 * gdb.base/break.exp: Drop references to removed code.
8762
8763 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8764
8765 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
8766 variant.
8767
8768 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8769
8770 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
8771
8772 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8773
8774 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
8775 logic into perform_all_tests() and invoke it with and without
8776 function header prototypes.
8777 (do_function_calls): Remove conditional XFAIL for PR 5318.
8778 (rerun_and_prepare): Remove duplicate code.
8779 (perform_all_tests): New. Main logic moved here.
8780
8781 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8782
8783 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
8784 code guarded by #ifdef NO_PROTOTYPES.
8785 (t_double_many_args): Likewise.
8786 (DEF_FUNC_MANY_ARGS_1): Likewise.
8787 (DEF_FUNC_VALUES_1): Likewise.
8788 (t_structs_ldc): Renamed from t_structs_fc in conditional code
8789 guarded by #ifdef PROTOTYPES.
8790
8791 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8792
8793 * gdb.mi/mi-console.c: Add eye-catcher.
8794 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
8795 instead of literal line number.
8796
8797 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8798
8799 * gdb.base/shr2.c: Add eye-catcher.
8800 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
8801 line number.
8802
8803 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8804
8805 * gdb.base/jump.c: Add eye-catchers.
8806 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
8807 numbers.
8808
8809 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8810
8811 * gdb.base/execd-prog.c: Add eye-catchers.
8812 * gdb.base/foll-exec.c: Likewise.
8813 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
8814 line numbers.
8815
8816 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8817
8818 * gdb.base/ending-run.c: Add eye-catchers.
8819 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
8820 literal line numbers.
8821
8822 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8823
8824 * gdb.base/call-rt-st.c: Add eye-catchers.
8825 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
8826 literal line numbers.
8827
8828 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8829
8830 * gdb.base/call-ar-st.c: Add eye-catchers.
8831 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
8832 literal line numbers.
8833
8834 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8835
8836 * gdb.base/average.c: Add eye-catchers.
8837 * gdb.base/sum.c: Likewise.
8838 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
8839 regexps dynamically.
8840
8841 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8842
8843 * gdb.base/solib1.c: Add eye-catchers.
8844 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
8845 literal line numbers.
8846
8847 2014-11-12 Pedro Alves <palves@redhat.com>
8848
8849 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
8850 leader has exited.
8851
8852 2014-11-12 Pedro Alves <palves@redhat.com>
8853
8854 * gdb.arch/i386-bp_permanent.c: New file.
8855 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
8856 (srcfile): Set to i386-bp_permanent.c.
8857 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
8858 that stepi does not execute the 'leave' instruction, instead of
8859 testing it does execute.
8860 * gdb.base/bp-permanent.c: New file.
8861 * gdb.base/bp-permanent.exp: New file.
8862
8863 2014-11-10 Doug Evans <xdje42@gmail.com>
8864
8865 PR symtab/17564
8866 * gdb.base/symtab-search-order.exp: New file.
8867 * gdb.base/symtab-search-order.c: New file.
8868 * gdb.base/symtab-search-order-1.c: New file.
8869 * gdb.base/symtab-search-order-shlib-1.c: New file.
8870
8871 2014-11-07 Pedro Alves <palves@redhat.com>
8872
8873 PR gdb/17511
8874 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
8875 i?86-*-linux*.
8876
8877 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
8878
8879 PR c++/17494
8880 * gdb.cp/pr17494.cc: New file.
8881 * gdb.cp/pr17494.exp: New file.
8882
8883 2014-11-02 Yao Qi <yao@codesourcery.com>
8884
8885 * gdb.python/python.exp: Get working directory and match the
8886 output of "set extended-prompt \\w " with it.
8887
8888 2014-10-30 Doug Evans <dje@google.com>
8889
8890 * gdb.python/py-objfile.exp: Add tests for setting random attributes
8891 in objfiles.
8892 * gdb.python/py-progspace.exp: Add tests for setting random attributes
8893 in progspaces.
8894
8895 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
8896
8897 * gdb.base/fullpath-expand.exp: Skip for a remote host.
8898 * gdb.base/realname-expand.exp: Likewise.
8899 * gdb.linespec/macro-relative.exp: Likewise.
8900
8901 2014-10-29 Pedro Alves <palves@redhat.com>
8902
8903 PR gdb/17408
8904 * gdb.threads/schedlock.c (some_function): New function.
8905 (call_function): New global.
8906 (MAYBE_CALL_SOME_FUNCTION): New macro.
8907 (thread_function): Call it.
8908 * gdb.threads/schedlock.exp (get_args): Add description parameter,
8909 and use it instead of a global counter. Adjust all callers.
8910 (get_current_thread): Use "find current thread" for test message
8911 here rather than having all callers pass down the same string.
8912 (goto_loop): New procedure, factored out from ...
8913 (my_continue): ... this.
8914 (step_ten_loops): Change parameter from test message to command to
8915 use. Adjust.
8916 (list_count): Delete global.
8917 (check_result): New procedure, factored out from duplicate top
8918 level code.
8919 (continue tests): Wrap in with_test_prefix.
8920 (test_step): New procedure, factored out from duplicate top level
8921 code.
8922 (top level): Test "step" in combination with all scheduler-locking
8923 modes. Test "next" in combination with all scheduler-locking
8924 modes, and in combination with stepping over a function call or
8925 not.
8926 * gdb.threads/next-bp-other-thread.c: New file.
8927 * gdb.threads/next-bp-other-thread.exp: New file.
8928
8929 2014-10-29 Pedro Alves <palves@redhat.com>
8930
8931 PR python/17372
8932 * gdb.python/python.exp: Test a multi-line command that spawns
8933 interactive Python.
8934 * gdb.base/multi-line-starts-subshell.exp: New file.
8935
8936 2014-10-29 Yao Qi <yao@codesourcery.com>
8937
8938 * gdb.base/fileio.exp: Make directories on host.
8939
8940 2014-10-29 Yao Qi <yao@codesourcery.com>
8941
8942 * gdb.base/fileio.c (test_write): Close the file.
8943
8944 2014-10-28 Pedro Alves <palves@redhat.com>
8945
8946 PR gdb/12623
8947 * gdb.base/sigstep.c (no_handler): New global.
8948 (main): If 'no_handler is true, set the signal handlers to
8949 SIG_IGN.
8950 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
8951 with_sw_watch and no_handler parameters. Handle them.
8952 (top level) <stepping over handler when stopped at a breakpoint
8953 test>: Add a test axis for testing with a software watchpoint, and
8954 another for testing with the signal handler set to SIG_IGN.
8955 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
8956 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
8957
8958 2014-10-28 Pedro Alves <palves@redhat.com>
8959
8960 PR gdb/17511
8961 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
8962 * gdb.base/sigstep.exp (other_handler_location): New global.
8963 (advance): Support stepping into the signal handler, and running
8964 commands while in the handler.
8965 (in_handler_map): New global.
8966 (top level): In the advance test, add combinations for getting
8967 into the handler with stepping commands, and for running commands
8968 in the handler. Add comment descripting the advancei tests.
8969
8970 2014-10-28 Pedro Alves <palves@redhat.com>
8971
8972 * gdb.base/sigstep.exp: Use build_executable instead of
8973 prepare_for_testing.
8974 (top level): Move code that starts GDB, runs to main and creates a
8975 display to ...
8976 (restart): ... this new procedure.
8977 (top level): Move backtrace from signal handler test to ...
8978 (validate_backtrace): ... this new procedure.
8979 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
8980 with_test_prefix. Always restart GDB.
8981 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
8982 with_test_prefix. Always restart GDB. No need to delete
8983 breakpoints after the test.
8984 (test_skip_handler): Remove prefix parameter.
8985 (skip_over_handler, breakpoint_to_handler)
8986 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
8987 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
8988 restart GDB. No need to delete breakpoints after the test.
8989 (top level): Use foreach to call the test procedures with
8990 different commands.
8991
8992 2014-10-28 Pedro Alves <palves@redhat.com>
8993
8994 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
8995 instead of GNATS numbers.
8996 * gdb.base/sigbpt.exp: Likewise.
8997 * gdb.base/siginfo.exp: Likewise.
8998 * gdb.base/sigstep.exp: Likewise.
8999
9000 2014-10-27 Pedro Alves <palves@redhat.com>
9001
9002 * gdb.base/sigstep.c (dummy): New global.
9003 (main): Issue a couple writes to the new global.
9004 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
9005 procedures.
9006 (skip_over_handler): Use test_skip_handler.
9007 (top level): Call skip_over_handler for stepi and nexti too.
9008 (breakpoint_over_handler): Use test_skip_handler.
9009 (top level): Call breakpoint_over_handler for stepi and nexti too.
9010
9011 2014-10-27 Yao Qi <yao@codesourcery.com>
9012
9013 * gdb.trace/tfile.c (adjust_function_address)
9014 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
9015 function descriptor.
9016
9017 2014-10-24 Don Breazeal <donb@codesourcery.com>
9018
9019 * gdb.base/foll-fork.exp (test_follow_fork,
9020 catch_fork_child_follow): Check for updated fork messages emitted
9021 from infrun.c.
9022 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
9023 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
9024 vfork_and_exec_child_follow_through_step): Check for updated vfork
9025 messages emitted from infrun.c.
9026
9027 2014-10-24 Pedro Alves <palves@redhat.com>
9028
9029 * gdb.base/corefile.exp: Remove references to ultrix.
9030 * gdb.base/interrupt.exp: Likewise.
9031 * gdb.base/whatis.exp: Likewise.
9032 * gdb.gdb/selftest.exp: Likewise.
9033 * gdb.threads/manythreads.exp: Likewise.
9034 * gdb.threads/print-threads.exp: Likewise.
9035 * gdb.threads/pthreads.exp:: Likewise.
9036 * gdb.threads/schedlock.exp: Likewise.
9037
9038 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
9039
9040 * gdb.cp/non-trivial-retval.cc: Add a test case.
9041 * gdb.cp/non-trivial-retval.exp: Add a test.
9042
9043 2014-10-20 Yao Qi <yao@codesourcery.com>
9044
9045 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
9046 * gdb.python/py-objfile-script-gdb.py: New file.
9047 * gdb.python/py-objfile-script.exp: Update reference to
9048 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
9049 of remote_download. Remove the dest file.
9050
9051 2014-10-20 Yao Qi <yao@codesourcery.com>
9052
9053 * gdb.base/checkpoint.exp: Don't remove file copied on host.
9054 * gdb.base/step-line.exp: Likewise.
9055 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
9056 * gdb.dwarf2/dw2-basic.exp: Likewise.
9057 * gdb.dwarf2/dw2-compressed.exp: Likewise.
9058 * gdb.dwarf2/dw2-filename.exp: Likewise.
9059 * gdb.dwarf2/dw2-intercu.exp: Likewise.
9060 * gdb.dwarf2/dw2-intermix.exp: Likewise.
9061 * gdb.dwarf2/dw2-producer.exp: Likewise.
9062 * gdb.dwarf2/mac-fileno.exp: Likewise.
9063 * gdb.python/py-frame-args.exp: Likewise.
9064 * gdb.python/py-framefilter.exp: Likewise.
9065 * gdb.python/py-mi.exp: Likewise.
9066 * gdb.python/py-objfile-script.exp: Likewise
9067 * gdb.python/py-pp-integral.exp: Likewise.
9068 * gdb.python/py-pp-re-notag.exp: Likewise.
9069 * gdb.python/py-prettyprint.exp: Likewise.
9070 * gdb.python/py-section-script.exp: Likewise.
9071 * gdb.python/py-typeprint.exp: Likewise.
9072 * gdb.python/py-xmethods.exp: Likewise.
9073 * gdb.stabs/weird.exp: Likewise.
9074 * gdb.xml/tdesc-regs.exp: Likewise.
9075
9076 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
9077
9078 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
9079 (out_cu): Use addr_len for the size of addresses.
9080 (out_line): Likewise. Size DW_LNE_set_address instruction
9081 according to addr_len.
9082 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
9083 (FUNC): Add START_INSNS to definition.
9084
9085 2014-10-18 Yao Qi <yao@codesourcery.com>
9086
9087 * gdb.base/argv0-symlink.exp: Check argv[0] value if
9088 gdb_has_argv0 return true.
9089 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
9090 check [target_info exists noargs], check [gdb_has_argv0]
9091 instead.
9092 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
9093 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
9094 procedures.
9095
9096 2014-10-17 Doug Evans <dje@google.com>
9097
9098 * gdb.python/py-events.exp: Update expected output for clear_objfiles
9099 event.
9100 * gdb.python/py-events.py: Add clear_objfiles event.
9101
9102 2014-10-17 Doug Evans <dje@google.com>
9103
9104 * gdb.python/py-objfile.exp: Test progspace attribute.
9105
9106 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
9107
9108 * gdb.guile/scm-breakpoint.exp: Do not assume any
9109 directory separators when matching source file paths.
9110 * gdb.python/py-breakpoint.exp: Likewise.
9111 * gdb.reverse/break-precsave.exp: Likewise.
9112 * gdb.reverse/break-reverse.exp: Likewise.
9113 * gdb.reverse/consecutive-precsave.exp: Likewise.
9114 * gdb.reverse/finish-precsave.exp: Likewise.
9115 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
9116 * gdb.reverse/finish-reverse.exp: Likewise.
9117 * gdb.reverse/i386-precsave.exp: Likewise.
9118 * gdb.reverse/i387-env-reverse.exp: Likewise.
9119 * gdb.reverse/i387-stack-reverse.exp: Likewise.
9120 * gdb.reverse/machinestate-precsave.exp: Likewise.
9121 * gdb.reverse/machinestate.exp: Likewise.
9122 * gdb.reverse/sigall-precsave.exp: Likewise.
9123 * gdb.reverse/solib-precsave.exp: Likewise.
9124 * gdb.reverse/step-precsave.exp: Likewise.
9125 * gdb.reverse/until-precsave.exp: Likewise.
9126 * gdb.reverse/watch-precsave.exp: Likewise.
9127 * gdb.reverse/watch-reverse.exp: Likewise.
9128
9129 2014-10-17 Yao Qi <yao@codesourcery.com>
9130
9131 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
9132 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
9133
9134 2014-10-17 Pedro Alves <palves@redhat.com>
9135
9136 PR gdb/17471
9137 * gdb.base/bg-execution-repeat.c: New file.
9138 * gdb.base/bg-execution-repeat.exp: New file.
9139
9140 2014-10-17 Pedro Alves <palves@redhat.com>
9141
9142 PR gdb/17300
9143 * gdb.base/continue-all-already-running.c: New file.
9144 * gdb.base/continue-all-already-running.exp: New file.
9145
9146 2014-10-17 Pedro Alves <palves@redhat.com>
9147
9148 PR gdb/17472
9149 * gdb.base/annota-input-while-running.c: New file.
9150 * gdb.base/annota-input-while-running.exp: New file.
9151
9152 2014-10-17 Pedro Alves <palves@redhat.com>
9153
9154 * gdb.base/callfuncs.exp: emove references to osf.
9155 * gdb.base/sigall.exp: Likewise.
9156 * gdb.gdb/selftest.exp: Likewise.
9157 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
9158 * gdb.mi/non-stop.c: Likewise.
9159 * gdb.mi/pthreads.c: Likewise.
9160 * gdb.reverse/sigall-precsave.exp: Likewise.
9161 * gdb.reverse/sigall-reverse.exp: Likewise.
9162 * gdb.threads/pthreads.c: Likewise.
9163 * gdb.threads/pthreads.exp: Likewise.
9164
9165 2014-10-17 Yao Qi <yao@codesourcery.com>
9166
9167 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
9168 check 'target_info exists noargs'.
9169 (test_command_prompt_position): Likewise.
9170 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
9171 Remove "set args".
9172 (progvar_simple_while_test): Likewise.
9173 (progvar_complex_if_while_test): Likewise.
9174 (if_while_breakpoint_command_test): Likewise.
9175 (infrun_breakpoint_command_test): Likewise.
9176 (breakpoint_command_test): Likewise.
9177 (watchpoint_command_test): Likewise.
9178 (bp_deleted_in_command_test): Likewise.
9179 (temporary_breakpoint_commands): Likewise.
9180
9181 2014-10-16 Yao Qi <yao@codesourcery.com>
9182
9183 * gdb.base/remotetimeout.exp: Remove noargs checking.
9184
9185 2014-10-15 Pedro Alves <palves@redhat.com>
9186
9187 PR breakpoints/9649
9188 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
9189 * gdb.base/breakpoint-in-ro-region.exp
9190 (probe_target_hardware_step): New procedure.
9191 (top level): Probe hardware stepping and hardware breakpoint
9192 support. Test stepping through a read-only region, with both
9193 "breakpoint auto-hw" on and off and both "always-inserted" on and
9194 off.
9195
9196 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
9197
9198 * gdb.dlang/demangle.exp: Update for demangling changes.
9199
9200 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
9201
9202 * gdb.cp/non-trivial-retval.cc: Add new test cases.
9203 * gdb.cp/non-trivial-retval.exp: Add new tests.
9204
9205 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
9206
9207 PR c++/13403
9208 PR c++/15154
9209 * gdb.cp/non-trivial-retval.cc: New file.
9210 * gdb.cp/non-trivial-retval.exp: New file.
9211
9212 2014-10-15 Yao Qi <yao@codesourcery.com>
9213
9214 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
9215 remote host.
9216
9217 2014-10-15 Yao Qi <yao@codesourcery.com>
9218
9219 * gdb.python/py-symbol.exp: Match file base name if host is
9220 remote, otherwise match file name with dir name.
9221 * gdb.python/py-symtab.exp: Likewise.
9222 * gdb.python/python.exp: Likewise.
9223
9224 2014-10-15 Yao Qi <yao@codesourcery.com>
9225
9226 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
9227 pattern.
9228 * gdb.python/py-symtab.exp: Likewise.
9229 * gdb.python/python.exp: Remove trailing ".*". Fix typo
9230 locationn.
9231
9232 2014-10-14 Joel Brobecker <brobecker@adacore.com>
9233
9234 * gdb.ada/addr_arith: New testcase.
9235
9236 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
9237
9238 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
9239 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
9240 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
9241 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
9242
9243 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
9244
9245 * gdb.arch/stap-eval-lang-ada.S: Likewise.
9246 * gdb.arch/stap-eval-lang-ada.c: Likewise.
9247 * gdb.arch/stap-eval-lang-ada.exp: New file.
9248
9249 2014-10-14 Yao Qi <yao@codesourcery.com>
9250
9251 * gdb.mi/mi-var-child.c (nothing1): New function.
9252 (nothing2): New function.
9253 (do_children_tests): Set function pointers by nothing1 and
9254 nothing2.
9255 * gdb.mi/mi-var-child.exp: Step over new added statements.
9256 Update test to match the new output.
9257 * gdb.mi/var-cmd.c (nothing1): New function.
9258 (nothing2): New function.
9259 (do_children_tests): Set function pointers by nothing1 and
9260 nothing2.
9261 * gdb.mi/mi-var-display.exp: Update test to match output.
9262 Step to the line specified by $line_dct_nothing.
9263 Increase the number of lines to step.
9264
9265 2014-10-14 Yao Qi <yao@codesourcery.com>
9266
9267 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
9268 tests.
9269 * gdb.mi/mi2-var-child.exp: Likewise.
9270
9271 2014-10-13 Doug Evans <dje@google.com>
9272
9273 * gdb.python/py-objfile.exp: Change name of file name test.
9274
9275 2014-10-13 Doug Evans <dje@google.com>
9276
9277 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
9278 from the start of the CU.
9279
9280 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9281 Yao Qi <yao@codesourcery.com>
9282
9283 Fix "save breakpoints" for "catch" command.
9284 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
9285 Remove -nonewline. Match also the added "main" line.
9286
9287 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9288
9289 Fix "save breakpoints" for "disable $bpnum" command.
9290 * gdb.base/save-bp.c (main): Add label.
9291 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
9292
9293 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9294
9295 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
9296
9297 2014-10-11 Yao Qi <yao@codesourcery.com>
9298
9299 * gdb.server/server-kill.exp: Execute command
9300 "set remote trace-status-packet on" before "tstatus".
9301
9302 2014-10-11 Yao Qi <yao@codesourcery.com>
9303
9304 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
9305 (main): Call getppid.
9306 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
9307 and continue to it. Read variable "server_pid".
9308
9309 2014-10-11 Yao Qi <yao@codesourcery.com>
9310
9311 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
9312
9313 2014-10-11 Yao Qi <yao@codesourcery.com>
9314
9315 * gdb.threads/thread-find.exp: Don't execute command
9316 "info threads".
9317 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
9318 * gdb.threads/linux-dp.exp: Don't check the condition
9319 $threads_created equals to zero.
9320
9321 2014-10-10 Pedro Alves <palves@redhat.com>
9322
9323 * gdb.base/bigcore.exp: Remove references to IRIX.
9324 * gdb.base/funcargs.exp: Likewise.
9325 * gdb.base/interrupt.exp: Likewise.
9326 * gdb.base/mips_pro.exp: Likewise.
9327 * gdb.base/nodebug.exp: Likewise.
9328 * gdb.base/setvar.exp: Likewise.
9329 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
9330
9331 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
9332 Pedro Alves <palves@redhat.com>
9333
9334 PR symtab/14466
9335 * gdb.base/vdso-warning.c: New file.
9336 * gdb.base/vdso-warning.exp: New file.
9337
9338 2014-10-02 Doug Evans <dje@google.com>
9339
9340 * gdb.base/structs.c (main): Don't run forever.
9341
9342 2014-10-02 Pedro Alves <palves@redhat.com>
9343
9344 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
9345 (top level) <stop threads 1, stop threads 2>: Use it.
9346
9347 2014-10-02 Pedro Alves <palves@redhat.com>
9348
9349 * gdb.threads/break-while-running.exp (test): Add new
9350 'update_thread_list' argument. Skip "info threads" if false.
9351 (top level): Add new 'update_thread_list' axis.
9352
9353 2014-10-02 Pedro Alves <palves@redhat.com>
9354
9355 PR breakpoints/17431
9356 * gdb.base/execl-update-breakpoints.c: New file.
9357 * gdb.base/execl-update-breakpoints.exp: New file.
9358
9359 2014-10-01 Pedro Alves <palves@redhat.com>
9360
9361 * gdb.base/breakpoint-in-ro-region.c: New file.
9362 * gdb.base/breakpoint-in-ro-region.exp: New file.
9363
9364 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
9365
9366 * gdb.mi/mi-exit-code.exp: New file.
9367 * gdb.mi/mi-exit-code.c: New file.
9368
9369 2014-09-30 Yao Qi <yao@codesourcery.com>
9370
9371 * lib/prelink-support.exp (build_executable_own_libs): Error if
9372 the target isn't native.
9373
9374 2014-09-30 Yao Qi <yao@codesourcery.com>
9375
9376 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
9377 false.
9378
9379 2014-09-22 Pedro Alves <palves@redhat.com>
9380
9381 * gdb.threads/break-while-running.exp: New file.
9382 * gdb.threads/break-while-running.c: New file.
9383
9384 2014-09-19 Yao Qi <yao@codesourcery.com>
9385
9386 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
9387 Invoke test. Restart GDB with --readnow and invoke test again.
9388
9389 2014-09-19 Yao Qi <yao@codesourcery.com>
9390
9391 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
9392 proc set_breakpoint_on_gcd_function. Invoke
9393 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
9394 invoke set_breakpoint_on_gcd_function again.
9395
9396 2014-09-18 Doug Evans <dje@google.com>
9397
9398 * gdb.dwarf2/symtab-producer.exp: New file.
9399
9400 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
9401
9402 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
9403 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
9404 * gdb.base/global-var-nested-by-dso.c: Likewise.
9405 * gdb.base/global-var-nested-by-dso.exp: Likewise.
9406
9407 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
9408 Pedro Alves <palves@redhat.com>
9409
9410 * gdb.base/watch-bitfields.exp: Pass string other than test file
9411 name to prepare_for_testing.
9412 (watch): New procedure.
9413 (expect_watchpoint): Use with_test_prefix.
9414 (top level): Factor out tests to ...
9415 (test_watch_location, test_regular_watch): ... these new
9416 procedures, and use with_test_prefix and gdb_continue_to_end.
9417
9418 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
9419
9420 PR breakpoints/12526
9421 * gdb.base/watch-bitfields.exp: New file.
9422 * gdb.base/watch-bitfields.c: New file.
9423
9424 2014-09-16 Pedro Alves <palves@redhat.com>
9425
9426 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
9427 software and hardware addresses, not software address against
9428 itself.
9429
9430 2014-09-16 Pedro Alves <palves@redhat.com>
9431
9432 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
9433 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
9434
9435 2014-09-16 Pedro Alves <palves@redhat.com>
9436
9437 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
9438 files.
9439 * gdb.base/a2-run.exp: Remove all code guarded by istarget
9440 "*-*-vxworks*" throughout.
9441 * gdb.base/break.exp: Likewise.
9442 * gdb.base/default.exp: Likewise.
9443 * gdb.base/scope.exp: Likewise.
9444 * gdb.base/sepdebug.exp: Likewise.
9445 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
9446 throughout.
9447 * gdb.base/run.c: Likewise.
9448 * gdb.base/sepdebug.c: Likewise.
9449 * gdb.hp/gdb.aCC/run.c: Likewise.
9450 * gdb.reverse/until-reverse.c: Likewise.
9451 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
9452
9453 2014-09-16 Yao Qi <yao@codesourcery.com>
9454
9455 * boards/local-remote-host-native.exp: New file.
9456
9457 2014-09-14 Doug Evans <xdje42@gmail.com>
9458
9459 * gdb.threads/queue-signal.c (thread_count): New variable.
9460 (thread_count_mutex, thread_count_condvar): New variables.
9461 (incr_thread_count, wait_all_threads_running): New functions.
9462 (main): Wait for all threads to be in their thread functions.
9463
9464 2014-09-13 Doug Evans <xdje42@gmail.com>
9465
9466 * gdb.threads/queue-signal.c: New file.
9467 * gdb.threads/queue-signal.exp: New file.
9468
9469 2014-09-13 Doug Evans <xdje42@gmail.com>
9470
9471 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
9472 be consistent with what default_gdb_init uses.
9473 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
9474 the plain text of the prompt. Add some logging printfs.
9475 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
9476
9477 2014-09-12 Pedro Alves <palves@redhat.com>
9478
9479 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
9480 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
9481 * gdb.arch/i386-size-overlap.exp: Likewise.
9482 * gdb.arch/i386-size.exp: Likewise.
9483 * gdb.arch/i386-unwind.exp: Likewise.
9484 * gdb.base/a2-run.exp: Likewise.
9485 * gdb.base/break.exp: Likewise.
9486 * gdb.base/charset.exp: Likewise.
9487 * gdb.base/chng-syms.exp: Likewise.
9488 * gdb.base/commands.exp: Likewise.
9489 * gdb.base/dbx.exp: Likewise.
9490 * gdb.base/find.exp: Likewise.
9491 * gdb.base/funcargs.exp: Likewise.
9492 * gdb.base/jit-simple.exp: Likewise.
9493 * gdb.base/reread.exp: Likewise.
9494 * gdb.base/sepdebug.exp: Likewise.
9495 * gdb.base/step-bt.exp: Likewise.
9496 * gdb.cp/mb-inline.exp: Likewise.
9497 * gdb.cp/mb-templates.exp: Likewise.
9498 * gdb.objc/basicclass.exp: Likewise.
9499 * gdb.threads/killed.exp: Likewise.
9500
9501 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9502
9503 PR tdep/17379
9504 * gdb.arch/powerpc-stackless.S: New file.
9505 * gdb.arch/powerpc-stackless.exp: New file.
9506
9507 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9508
9509 * gdb.base/attach.c: Include unistd.h.
9510 (main): Call alarm. Add label postloop.
9511 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
9512 gdb_breakpoint, gdb_continue_to_breakpoint.
9513 (test_command_line_attach_run): Kill ${testpid} in one exit path.
9514
9515 2014-09-11 Pedro Alves <palves@redhat.com>
9516
9517 PR gdb/17347
9518 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
9519 * gdb.base/attach.exp (test_command_line_attach_run): New
9520 procedure.
9521 (top level): Call it.
9522
9523 2014-09-11 Pedro Alves <palves@redhat.com>
9524
9525 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
9526 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
9527 (do_command_attach_tests): Use spawn_wait_for_attach.
9528 * gdb.base/solib-overlap.exp: Likewise.
9529 * gdb.multi/multi-attach.exp: Likewise.
9530 * gdb.python/py-prompt.exp: Likewise.
9531 * gdb.python/py-sync-interp.exp: Likewise.
9532 * gdb.server/ext-attach.exp: Likewise.
9533
9534 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
9535
9536 * gdb.fortran/array-element.exp: Remove unexpected "continue"
9537 command in testcase. Simplify testcase.
9538
9539 2014-09-10 Joel Brobecker <brobecker@adacore.com>
9540
9541 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
9542
9543 2014-09-10 Joel Brobecker <brobecker@adacore.com>
9544
9545 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
9546
9547 2014-09-10 Joel Brobecker <brobecker@adacore.com>
9548
9549 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
9550
9551 2014-09-10 Joel Brobecker <brobecker@adacore.com>
9552
9553 * gdb.dwarf2/dynarr-ptr.c: New file.
9554 * gdb.dwarf2/dynarr-ptr.exp: New file.
9555
9556 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9557
9558 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
9559 of 30 rather than hardcoding 120 for a slow test case. Take the
9560 `gdb,timeout' target setting into account for this calculation.
9561 Don't extend the timeout for the test cases that don't need it.
9562
9563 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9564
9565 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
9566 a factor of 2 for a slow test case. Take the `gdb,timeout'
9567 target setting into account for this calculation.
9568 * gdb.reverse/until-precsave.exp: Increase the timeout by
9569 a factor of 15 and 3 respectively rather than adding 120
9570 for a pair of slow test cases. Take the `gdb,timeout'
9571 target setting into account for this calculation.
9572
9573 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9574
9575 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
9576 timeout, don't pass one down to gdb_expect.
9577 (gdb_expect): Rework timeout selection.
9578
9579 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9580
9581 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
9582 exception on timeout.
9583 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
9584 (gdbserver_start_extended): Catch any `gdbserver_start' error
9585 exceptions.
9586 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
9587 * lib/mi-support.exp (mi_gdb_target_load): Catch any
9588 `gdbserver_gdb_load' error exceptions.
9589
9590 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9591
9592 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
9593 120 on waiting for the TCP socket to open.
9594
9595 2014-09-09 Doug Evans <xdje42@gmail.com>
9596
9597 * gdb.base/default.exp (show_conv_list): Add _caller_is,
9598 _caller_matches, _any_caller_is, _any_caller_matches.
9599
9600 2014-09-09 Doug Evans <xdje42@gmail.com>
9601
9602 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
9603
9604 2014-09-09 Yao Qi <yao@codesourcery.com>
9605
9606 * gdb.mi/mi-var-display.exp: Set print symbol off.
9607
9608 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
9609
9610 PR gdb/17035
9611 * gdb.base/commands.exp: Add tests to verify user-defined
9612 commands with empty bodies.
9613 * gdb.python/py-cmd.exp: Test that we don't show user-defined
9614 python commands in `show user command`.
9615 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
9616 scheme commands in `show user command`.
9617
9618 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9619
9620 PR python/17355
9621 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
9622 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
9623 * gdb.python/py-framefilter-invalidarg.exp: New file.
9624 * gdb.python/py-framefilter-invalidarg.py: New file.
9625
9626 2014-09-06 Doug Evans <xdje42@gmail.com>
9627
9628 PR 15276
9629 * gdb.python/py-caller-is.c: New file.
9630 * gdb.python/py-caller-is.exp: New file.
9631
9632 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
9633
9634 PR gdb/17235
9635 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
9636 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
9637
9638 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
9639
9640 PR fortran/17237
9641 * gdb.fortran/print-formatted.exp: New file.
9642 * gdb.fortran/print-formatted.f90: Likewise.
9643
9644 2014-09-03 Sasha Smundak <asmundak@google.com>
9645
9646 * gdb.python/py-frame.exp: Test Frame.read_register.
9647
9648 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
9649
9650 PR python/16699
9651 * gdb.python/py-completion.exp: New file.
9652 * gdb.python/py-completion.py: Likewise.
9653
9654 2014-08-28 Doug Evans <dje@google.com>
9655
9656 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
9657 eax,etc. are live with values set by gdb and thus the compiler can't
9658 use them.
9659 * gdb.arch/i386-pseudo.c (main): Ditto.
9660
9661 2014-08-27 Doug Evans <dje@google.com>
9662
9663 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
9664
9665 2014-08-25 Doug Evans <dje@google.com>
9666
9667 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
9668 (main): Ditto.
9669
9670 2014-08-25 Doug Evans <dje@google.com>
9671
9672 * gdb.threads/thread-execl.exp: #include <stdio.h>.
9673
9674 2014-08-24 Yao Qi <yao@codesourcery.com>
9675
9676 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
9677 symbol off.
9678 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
9679
9680 2014-08-22 Doug Evans <dje@google.com>
9681
9682 PR 17276
9683 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
9684 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
9685 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
9686
9687 2014-08-22 Yao Qi <yao@codesourcery.com>
9688
9689 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
9690 * gdb.python/py-finish-breakpoint2.exp: Likewise.
9691 * gdb.python/python.exp: Likewise. Use .py file on the host
9692 instead of the build.
9693
9694 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9695
9696 * gdb.threads/gcore-stale-thread.c: New file.
9697 * gdb.threads/gcore-stale-thread.exp: New file.
9698
9699 2014-08-21 Pedro Alves <palves@redhat.com>
9700
9701 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
9702 * gdb.base/gcore-relro-pie.exp: Likewise.
9703 * gdb.base/gcore-relro.exp: Likewise.
9704 * gdb.base/gcore.exp: Likewise.
9705 * gdb.base/print-symbol-loading.exp: Likewise.
9706 * gdb.threads/gcore-thread.exp: Likewise.
9707 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
9708
9709 2014-08-20 Pedro Alves <palves@redhat.com>
9710 Jan Kratochvil <jan.kratochvil@redhat.com>
9711
9712 * Makefile.in (EXTRA_RULES, CC): New variables, get from
9713 configure.
9714 (EXPECT): Handle READ1 being set.
9715 (all): Depend on EXTRA_RULES.
9716 (check-read1, expect-read1, read1.so, read1): New rules.
9717 * README (Testsuite Parameters): Document the READ1 make variable.
9718 (Race detection): New section.
9719 * configure: Regenerate.
9720 * configure.ac: If build==host==target, and running under a
9721 GNU/glibc system, add read1 to the extra Makefile rules.
9722 (EXTRA_RULES): AC_SUBST it.
9723 * lib/read1.c: New file.
9724
9725 2014-08-20 Joel Brobecker <brobecker@adacore.com>
9726
9727 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
9728 the handling of variables declared as a typedef to an array
9729 which a DW_AT_data_location attribute.
9730
9731 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
9732 Pedro Alves <palves@redhat.com>
9733
9734 PR symtab/14604
9735 PR symtab/14605
9736 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
9737 gdb_test.
9738
9739 2014-08-19 Pedro Alves <palves@redhat.com>
9740
9741 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
9742
9743 2014-08-19 Yao Qi <yao@codesourcery.com>
9744
9745 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
9746 right line.
9747
9748 2014-08-18 David Blaikie <dblaikie@gmail.com>
9749
9750 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
9751
9752 2014-08-18 Joel Brobecker <brobecker@adacore.com>
9753
9754 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
9755 attribute in array range.
9756
9757 2014-08-18 Joel Brobecker <brobecker@adacore.com>
9758
9759 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
9760
9761 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
9762
9763 PR c++/17132
9764 * gdb.cp/pr17132.cc: New file.
9765 * gdb.cp/pr17132.exp: New file.
9766
9767 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
9768
9769 * gdb.python/py-xmethods.py (A_getarrayind)
9770 (E_method_char_worker.__call__, E_method_int_worker.__call__):
9771 Use 'print' with function call syntax.
9772 (E_method_matcher.match): Fix tab vs space indentation mixup.
9773
9774 2014-08-15 Yao Qi <yao@codesourcery.com>
9775
9776 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
9777 false.
9778
9779 2014-08-15 Yao Qi <yao@codesourcery.com>
9780
9781 * gdb.cp/casts.exp: Set print symbol off.
9782 * gdb.cp/class2.exp: Likewise.
9783 * gdb.cp/overload.exp: Likewise.
9784 * gdb.cp/templates.exp: Likewise.
9785
9786 2014-08-11 Doug Evans <dje@google.com>
9787
9788 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
9789 (test_load_shlib): Update.
9790
9791 2014-08-09 Yao Qi <yao@codesourcery.com>
9792
9793 * gdb.base/display.exp: Invoke is_address_zero_readable.
9794 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
9795 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
9796 * gdb.base/hbreak-unmapped.exp: Return if
9797 is_address_zero_readable returns true.
9798 * gdb.base/signest.exp: Likewise.
9799 * gdb.base/signull.exp: Likewise.
9800 * gdb.base/sigbpt.exp: Likewise.
9801 * gdb.guile/scm-disasm.exp: Do the test if
9802 is_address_zero_readable returns false.
9803 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
9804 * gdb.python/py-arch.exp: Likewise.
9805 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
9806 * lib/gdb.exp (is_address_zero_readable): New proc.
9807
9808 2014-08-09 Yao Qi <yao@codesourcery.com>
9809
9810 PR testsuite/13443
9811 * gdb.mi/mi-var-display.exp: Make test messages unique.
9812
9813 2014-08-04 Tom Tromey <tromey@redhat.com>
9814
9815 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
9816 target 0".
9817
9818 2014-08-04 Tom Tromey <tromey@redhat.com>
9819
9820 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
9821 "target_resume".
9822
9823 2014-08-01 Joel Brobecker <brobecker@adacore.com>
9824
9825 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
9826 inner_vla_struct_object_size.
9827 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
9828 as xfail.
9829
9830 2014-07-30 Pedro Alves <palves@redhat.com>
9831
9832 * gdb.threads/signal-command-handle-nopass.exp (test): Add
9833 comment.
9834
9835 2014-07-29 Yao Qi <yao@codesourcery.com>
9836
9837 PR gdb/17206
9838 * gdb.base/until-nodebug.exp: New.
9839
9840 2014-07-28 Doug Evans <xdje42@gmail.com>
9841
9842 PR guile/17203
9843 * gdb.guile/scm-parameter.exp: Add tests for trying to create
9844 previously existing parameter, and previously ambiguously spelled
9845 parameter.
9846
9847 2014-07-28 Will Newton <will.newton@linaro.org>
9848
9849 * gdb.base/varargs.exp: Remove KFAILs for ARM.
9850
9851 2014-07-26 Ludovic Courtès <ludo@gnu.org>
9852 Doug Evans <xdje42@gmail.com>
9853
9854 PR guile/17146
9855 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
9856
9857 2014-07-25 Pedro Alves <palves@redhat.com>
9858
9859 * gdb.threads/signal-command-handle-nopass.c: New file.
9860 * gdb.threads/signal-command-handle-nopass.exp: New file.
9861 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
9862 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
9863 * gdb.threads/signal-delivered-right-thread.c: New file.
9864 * gdb.threads/signal-delivered-right-thread.exp: New file.
9865
9866 2014-07-25 Pedro Alves <palves@redhat.com>
9867
9868 * gdb.base/double-prompt-target-event-error.exp
9869 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
9870 match.
9871 (cancel_pagination_in_target_event): Rework double prompt
9872 detection.
9873 * gdb.base/paginate-after-ctrl-c-running.exp
9874 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
9875 <return>' match.
9876 * gdb.base/paginate-bg-execution.exp
9877 (test_bg_execution_pagination_return)
9878 (test_bg_execution_pagination_cancel): Remove '-notransfer
9879 <return>' matches.
9880 * gdb.base/paginate-execution-startup.exp
9881 (test_fg_execution_pagination_return)
9882 (test_fg_execution_pagination_cancel): Remove '-notransfer
9883 <return>' matches.
9884 * gdb.base/paginate-inferior-exit.exp
9885 (test_paginate_inferior_exited): Remove '-notransfer <return>'
9886 match.
9887 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
9888 * lib/gdb.exp (pagination_prompt): Run text through
9889 string_to_regexp.
9890 (gdb_test_multiple): Match $pagination_prompt instead of
9891 "<return>".
9892 (string_to_regexp): Move to lib/gdb-utils.exp.
9893
9894 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9895
9896 * gdb.arch/amd64-entry-value-paramref.S: New file.
9897 * gdb.arch/amd64-entry-value-paramref.cc: New file.
9898 * gdb.arch/amd64-entry-value-paramref.exp: New file.
9899 * gdb.arch/amd64-optimout-repeat.S: New file.
9900 * gdb.arch/amd64-optimout-repeat.c: New file.
9901 * gdb.arch/amd64-optimout-repeat.exp: New file.
9902
9903 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9904
9905 PR gdb/17170
9906 * gdb.base/statistics.exp: New file.
9907
9908 2014-07-17 Doug Evans <dje@google.com>
9909
9910 PR gdb/17170
9911 * gdb.base/maint.exp: Update testing of per-command stats.
9912
9913 2014-07-16 Pedro Alves <palves@redhat.com>
9914
9915 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
9916 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
9917 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
9918 (tfile_write_buf): New functions.
9919 (add_memory_block): Rewrite using the above.
9920 (adjust_function_address): New function.
9921 (FUNCTION_ADDRESS): New macro.
9922 (write_basic_trace_file): Remove short_x local, and use
9923 tfile_write_16. Change type of func_addr local to unsigned long
9924 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
9925 here. Cast argument of add_memory_block to char pointer.
9926 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
9927 (main): Remove parameters.
9928 * gdb.trace/tfile.exp: Remove nowarnings.
9929
9930 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
9931
9932 * gdb.base/debug-expr.exp: Test string evaluation with
9933 "debug expression" on.
9934
9935 2014-07-15 Pedro Alves <palves@redhat.com>
9936
9937 * gdb.base/reread.exp: Use clean_restart.
9938
9939 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
9940
9941 * gdb.arch/avr-flash-qualifer.c: New.
9942 * gdb.arch/avr-flash-qualifer.exp: New.
9943
9944 2014-07-14 Pedro Alves <palves@redhat.com>
9945
9946 * gdb.base/paginate-after-ctrl-c-running.c: New file.
9947 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
9948
9949 2014-07-14 Pedro Alves <palves@redhat.com>
9950
9951 * gdb.base/double-prompt-target-event-error.c: New file.
9952 * gdb.base/double-prompt-target-event-error.exp: New file.
9953
9954 2014-07-14 Pedro Alves <palves@redhat.com>
9955
9956 PR gdb/17072
9957 * gdb.base/paginate-inferior-exit.c: New file.
9958 * gdb.base/paginate-inferior-exit.exp: New file.
9959
9960 2014-07-14 Pedro Alves <palves@redhat.com>
9961
9962 PR gdb/17072
9963 * gdb.base/paginate-bg-execution.c: New file.
9964 * gdb.base/paginate-bg-execution.exp: New file.
9965
9966 2014-07-14 Pedro Alves <palves@redhat.com>
9967
9968 PR gdb/17072
9969 * gdb.base/paginate-execution-startup.c: New file.
9970 * gdb.base/paginate-execution-startup.exp: New file.
9971 * lib/gdb.exp (pagination_prompt): New global.
9972 (default_gdb_spawn): New procedure, factored out from
9973 default_gdb_spawn.
9974 (default_gdb_start): Adjust to call default_gdb_spawn.
9975 (gdb_spawn): New procedure.
9976
9977 2014-07-14 Pedro Alves <palves@redhat.com>
9978
9979 * lib/gdb.exp (gdb_assert): New procedure.
9980 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
9981
9982 2014-07-14 Pedro Alves <palves@redhat.com>
9983
9984 * gdb.base/execution-termios.c: New file.
9985 * gdb.base/execution-termios.exp: New file.
9986
9987 2014-07-14 Tom Tromey <tromey@redhat.com>
9988
9989 * gdb.cp/vla-cxx.cc: New file.
9990 * gdb.cp/vla-cxx.exp: New file.
9991
9992 2014-07-14 Tom Tromey <tromey@redhat.com>
9993
9994 * gdb.reverse/rerun-prec.c: New file.
9995 * gdb.reverse/rerun-prec.exp: New file.
9996
9997 2014-07-12 Maciej W. Rozycki <macro@mips.com>
9998 Maciej W. Rozycki <macro@codesourcery.com>
9999
10000 * lib/gdb-utils.exp: New file.
10001 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
10002 inline `gdb_init_command' processing.
10003 (gdb_start_cmd): Likewise.
10004 * lib/mi-support.exp (mi_run_cmd): Likewise.
10005 * README: Document `gdb_init_command' and `gdb_init_commands'.
10006
10007 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10008
10009 Fix false FAIL running under a very long directory name.
10010 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
10011 and "set print elements 10000". Twice.
10012
10013 2014-07-11 Yao Qi <yao@codesourcery.com>
10014
10015 * gdb.base/exprs.exp: "set print symbol off".
10016
10017 2014-07-11 Pedro Alves <palves@redhat.com>
10018
10019 * gdb.threads/kill.c: New file.
10020 * gdb.threads/kill.exp: New file.
10021
10022 2014-07-10 Yao Qi <yao@codesourcery.com>
10023
10024 * gdb.trace/tfile.c (write_basic_trace_file)
10025 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
10026 address written to trace file.
10027
10028 2014-07-09 Pedro Alves <palves@redhat.com>
10029
10030 * gdb.base/attach-wait-input.exp: New file.
10031 * gdb.base/attach-wait-input.c: New file.
10032
10033 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
10034
10035 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
10036 setting up test structures.
10037 (main): Call new test function.
10038 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
10039 test function, continue into test function and walk test
10040 structures.
10041
10042 2014-07-02 Yao Qi <yao@codesourcery.com>
10043
10044 * gdb.trace/entry-values.c: Define labels 'foo_start' and
10045 'bar_start' at the beginning of functions 'foo' and 'bar'
10046 respectively.
10047 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
10048 instead of 'foo' and 'bar'.
10049
10050 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
10051
10052 * gdb.btrace/segv.exp: New.
10053 * gdb.btrace/segv.c: New.
10054
10055 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
10056
10057 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
10058 instruction.
10059
10060 2014-06-30 Mark Wielaard <mjw@redhat.com>
10061
10062 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
10063 vulture, vilify, villar): New volatile array constants.
10064 (vindictive, vegetation): New const volatile array constants.
10065 * gdb.base/volatile.exp: Test volatile and const volatile array
10066 types.
10067
10068 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
10069
10070 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
10071 target lacks support for awatch, rwatch, or hbreak.
10072
10073 2014-06-27 Yao Qi <yao@codesourcery.com>
10074
10075 * gdb.multi/dummy-frame-restore.exp: New.
10076 * gdb.multi/dummy-frame-restore.c: New.
10077
10078 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
10079
10080 * gdb.btrace/gcore.exp: New.
10081
10082 2014-06-23 Pedro Alves <palves@redhat.com>
10083
10084 * gdb.base/watchpoint-reuse-slot.c: New file.
10085 * gdb.base/watchpoint-reuse-slot.exp: New file.
10086
10087 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
10088
10089 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
10090 progspace's filename in 'info', 'enable' and 'disable' command
10091 tests.
10092
10093 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
10094
10095 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
10096 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
10097 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
10098
10099 2014-06-20 Gary Benson <gbenson@redhat.com>
10100
10101 * gdb.arch/i386-avx.exp: Fix include file location.
10102 * gdb.arch/i386-sse.exp: Likewise.
10103
10104 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
10105
10106 * gdb.dlang/expression.exp: New file.
10107
10108 2014-06-19 Pedro Alves <palves@redhat.com>
10109
10110 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
10111 out from ...
10112 (top level): ... here. Iterate running tests under different
10113 scheduler-locking settings.
10114
10115 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
10116
10117 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
10118 to DW_FORM_addr and use non-zero addresses.
10119
10120 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
10121
10122 PR gdb/17017
10123 * gdb.python/py-xmethods.cc: Add global function call counters and
10124 increment them in their respective functions. Remove "cout"
10125 statements.
10126 * gdb.python/py-xmethods.exp: Make tests check the global function
10127 call counters instead of depending on inferior IO.
10128
10129 2014-06-18 Don Breazeal <donb@codesourcery.com>
10130
10131 * gdb.base/foll-fork.exp (default_fork_parent_follow):
10132 Deleted procedure.
10133 (explicit_fork_parent_follow): Deleted procedure.
10134 (explicit_fork_child_follow): Deleted procedure.
10135 (test_follow_fork): New procedure.
10136 (do_fork_tests): Replace calls to deleted procedures with
10137 calls to test_follow_fork and reset GDB for subsequent
10138 procedure calls.
10139
10140 2014-06-17 Yao Qi <yao@codesourcery.com>
10141
10142 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
10143 CP1252.
10144
10145 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
10146
10147 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
10148 Initialize ptr and S explicitly.
10149 (skip_type_update_when_not_use_rtti_test): Likewise.
10150
10151 2014-06-16 Keith Seitz <keiths@redhat.com>
10152
10153 PR mi/15863
10154 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
10155 the inferior is started.
10156
10157 2014-06-16 Pedro Alves <palves@redhat.com>
10158
10159 * gdb.base/break-main-file-remove-fail.c: New file.
10160 * gdb.base/break-main-file-remove-fail.exp: New file.
10161 * gdb.base/break-unload-file.exp: Use build_executable instead of
10162 prepare_for_testing.
10163 (test_break): New parameter "initial_load". Handle it.
10164 (top level): Add initial_load cmdline/file axis.
10165
10166 2014-06-12 Tom Tromey <tromey@redhat.com>
10167
10168 * gdb.base/completion.exp: Don't use directory name in test.
10169
10170 2014-06-09 Gary Benson <gbenson@redhat.com>
10171
10172 * gdb.base/sigall.c [Functions to send signals]: Reorder to
10173 separate the always-available ANSI-standard signals from the
10174 signals that require checking.
10175 (main): Likewise.
10176 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
10177 Likewise.
10178 (main): Likewise.
10179
10180 2014-06-07 Keith Seitz <keiths@redhat.com>
10181
10182 Revert:
10183 PR c++/16253
10184 * gdb.cp/var-tag.cc: New file.
10185 * gdb.cp/var-tag.exp: New file.
10186 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
10187 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
10188 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
10189 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
10190
10191 2014-06-06 Doug Evans <xdje42@gmail.com>
10192
10193 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
10194
10195 2014-06-06 Pedro Alves <palves@redhat.com>
10196
10197 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
10198 in target debug output instead of looking at RSP packets,
10199 disabling the test on any target that uses hardware stepping.
10200 Update comments.
10201
10202 2014-06-06 Pedro Alves <palves@redhat.com>
10203
10204 * gdb.base/break-unload-file.exp: Fix typo.
10205
10206 2014-06-06 Yao Qi <yao@codesourcery.com>
10207
10208 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
10209 from "jit_function" to "^jit_function".
10210
10211 2014-06-06 Yao Qi <yao@codesourcery.com>
10212
10213 * gdb.base/async.c (foo): Add one statement.
10214 * gdb.base/async.exp: Get the next instruction address and
10215 match the output of "nexti" by instruction address. Match
10216 the hex address in the output of "finish".
10217
10218 2014-06-06 Gary Benson <gbenson@redhat.com>
10219
10220 * gdb.base/call-signals.c: Remove preprocessor conditionals
10221 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
10222 SIGSEGV and SIGTERM.
10223 * gdb.base/sigall.c: Likewise.
10224 * gdb.base/unwindonsignal.c: Likewise.
10225 * gdb.reverse/sigall-reverse.c: Likewise.
10226
10227 2014-06-06 Yao Qi <yao@codesourcery.com>
10228
10229 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
10230 readable, skip the test.
10231
10232 2014-06-06 Yao Qi <yao@codesourcery.com>
10233
10234 * gdb.threads/staticthreads.c (thread_function): Move the line
10235 setting breakpoint on forward.
10236 * gdb.threads/staticthreads.exp: Update comments.
10237
10238 2014-06-05 Ludovic Courtès <ludo@gnu.org>
10239
10240 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
10241 "history-append! type error".
10242
10243 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
10244
10245 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
10246 erroneous dprintf expected input.
10247
10248 2014-06-04 Doug Evans <xdje42@gmail.com>
10249
10250 * gdb.guile/scm-generics.exp: Delete.
10251
10252 2014-06-04 Doug Evans <xdje42@gmail.com>
10253
10254 * gdb.guile/scm-breakpoint.exp: Update.
10255 Add tests for breakpoint registration.
10256
10257 2014-06-04 Tom Tromey <tromey@redhat.com>
10258
10259 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
10260 VLA-in-union.
10261 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
10262 inner_vla_struct, vla_union types. Initialize objects of those
10263 types and compute their sizes.
10264
10265 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
10266 Hui Zhu <hui@codesourcery.com>
10267
10268 * gdb.base/fileio.exp: Add test for shell not available as well as
10269 available.
10270 * gdb.base/fileio.c (test_system): Check for shell twice.
10271
10272 2014-06-04 Yao Qi <yao@codesourcery.com>
10273
10274 * gdb.base/auto-connect-native-target.exp: Remove redundant
10275 space from the regexp pattern.
10276
10277 2014-06-04 Yao Qi <yao@codesourcery.com>
10278
10279 * gdb.base/default.exp: Replace "child" with "native" in
10280 regexp pattern.
10281
10282 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
10283
10284 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
10285 * gdb.python/py-xmethods.exp: New tests to test xmethods.
10286 * gdb.python/py-xmethods.py: Python script supporting the
10287 new testcase and tests.
10288
10289 2014-06-03 Joel Brobecker <brobecker@adacore.com>
10290 Pedro Alves <palves@redhat.com>
10291
10292 PR breakpoints/17000
10293 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
10294 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
10295
10296 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
10297
10298 * gdb.base/subst.exp: Add tests to verify partial path matching
10299 output.
10300
10301 2014-06-03 Pedro Alves <palves@redhat.com>
10302
10303 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
10304 target that doesn't use software single-stepping.
10305
10306 2014-06-03 Pedro Alves <palves@redhat.com>
10307
10308 PR breakpoints/17000
10309 * gdb.base/sss-bp-on-user-bp-2.c: New file.
10310 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
10311
10312 2014-06-02 Doug Evans <xdje42@gmail.com>
10313
10314 * gdb.guile/scm-parameter.exp: New file.
10315
10316 2014-06-02 Doug Evans <xdje42@gmail.com>
10317
10318 * gdb.guile/scm-cmd.c: New file.
10319 * gdb.guile/scm-cmd.exp: New file.
10320
10321 2014-06-02 Doug Evans <xdje42@gmail.com>
10322
10323 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
10324 pretty-printer lookup.
10325 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
10326 (make-pp_s-printer): Call it.
10327 (make-pretty-printer-from-dict): New function.
10328 (lookup-pretty-printer-maker-from-dict): New function.
10329 (*pretty-printer*): Simplify.
10330 (make-objfile-pp_s-printer): New function.
10331 (install-objfile-pretty-printers!): New function.
10332 (make-progspace-pp_s-printer): New function.
10333 (install-progspace-pretty-printers!): New function.
10334 * gdb.guile/scm-progspace.c: New file.
10335 * gdb.guile/scm-progspace.exp: New file.
10336
10337 2014-06-02 Pedro Alves <palves@redhat.com>
10338
10339 * gdb.base/dprintf-bp-same-addr.c: New file.
10340 * gdb.base/dprintf-bp-same-addr.exp: New file.
10341
10342 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
10343
10344 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
10345 * gdb.arch/powerpc-power.s: Likewise.
10346
10347 2014-06-02 Joel Brobecker <brobecker@adacore.com>
10348
10349 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
10350
10351 2014-06-01 Yao Qi <yao@codesourcery.com>
10352
10353 * gdb.base/watchpoint.exp (test_watch_location): Check null
10354 pointer can be dereferenced. If not, do the test, otherwise
10355 skip it.
10356
10357 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
10358
10359 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
10360 results.
10361 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
10362
10363 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
10364
10365 * gdb.arch/amd64-invalid-stack-middle.S: New file.
10366 * gdb.arch/amd64-invalid-stack-middle.c: New file.
10367 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
10368 * gdb.arch/amd64-invalid-stack-top.c: New file.
10369 * gdb.arch/amd64-invalid-stack-top.exp: New file.
10370
10371 2014-05-30 Pedro Alves <palves@redhat.com>
10372
10373 PR breakpoints/17000
10374 * gdb.base/sss-bp-on-user-bp.c: New file.
10375 * gdb.base/sss-bp-on-user-bp.exp: New file.
10376
10377 2014-05-30 David Blaikie <dblaikie@gmail.com>
10378
10379 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
10380 gnu_inline semantics via attribute.
10381 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
10382 source explicitly specifies the required semantics.
10383
10384 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
10385
10386 * gdb.reverse/sigall-reverse.exp: Fix a typo.
10387
10388 2014-05-29 Pedro Alves <palves@redhat.com>
10389 Tom Tromey <tromey@redhat.com>
10390
10391 * gdb.base/async-shell.exp: Don't enable target-async.
10392 * gdb.base/async.exp
10393 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
10394 parameter. Adjust.
10395 (top level): Don't test with "target-async".
10396 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
10397 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
10398 * gdb.base/inferior-died.exp: Don't enable target-async.
10399 * gdb.base/interrupt-noterm.exp: Likewise.
10400 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
10401 * gdb.mi/mi-nonstop-exit.exp: Likewise.
10402 * gdb.mi/mi-nonstop.exp: Likewise.
10403 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
10404 * gdb.mi/mi-nsintrall.exp: Likewise.
10405 * gdb.mi/mi-nsmoribund.exp: Likewise.
10406 * gdb.mi/mi-nsthrexec.exp: Likewise.
10407 * gdb.mi/mi-watch-nonstop.exp: Likewise.
10408 * gdb.multi/watchpoint-multi.exp: Adjust comment.
10409 * gdb.python/py-evsignal.exp: Don't enable target-async.
10410 * gdb.python/py-evthreads.exp: Likewise.
10411 * gdb.python/py-prompt.exp: Likewise.
10412 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
10413 * gdb.server/solib-list.exp: Don't enable target-async.
10414 * gdb.threads/thread-specific-bp.exp: Likewise.
10415 * lib/mi-support.exp: Adjust to use mi-async.
10416
10417 2014-05-29 Pedro Alves <palves@redhat.com>
10418
10419 PR gdb/13860
10420 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
10421 reason, even in sync mode.
10422
10423 2014-05-29 Pedro Alves <palves@redhat.com>
10424 Hui Zhu <hui@codesourcery.com>
10425
10426 PR PR15693
10427 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
10428 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
10429 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
10430 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
10431
10432 2014-05-28 Joel Brobecker <brobecker@adacore.com>
10433
10434 * config/monitor.exp (gdb_target_monitor): Replace use of
10435 "set remotebaud" by "set serial baud".
10436
10437 2014-05-26 Andy Wingo <wingo@igalia.com>
10438
10439 * gdb.guile/scm-breakpoint.exp:
10440 * gdb.guile/scm-gsmob.exp: Update to use plain old object
10441 properties instead of gdb-object-properties.
10442
10443 2014-05-26 Yao Qi <yao@codesourcery.com>
10444
10445 * gdb.server/no-thread-db.exp: Specify source file name
10446 explicitly when setting a breakpoint.
10447
10448 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
10449
10450 * gdb.btrace/vdso.c: New.
10451 * gdb.btrace/vdso.exp: New.
10452
10453 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
10454
10455 * gdb.base/gcore.exp (capture_command_output): Move ...
10456 * lib/gdb.exp (capture_command_output): ... here.
10457
10458 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
10459
10460 * gdb.btrace/data.exp: Test memory access during btrace replay.
10461
10462 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
10463
10464 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
10465
10466 2014-05-21 Pedro Alves <palves@redhat.com>
10467
10468 PR gdb/13860
10469 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
10470 (top level): Test that output related to execution commands is
10471 sent to the console with CLI commands, but not with MI commands.
10472 Test that breakpoint events are always mirrored to the console.
10473 Also expect the new source line to be output after a "next" in
10474 async mode too. Make it a pass/fail test.
10475 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
10476 output.
10477 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
10478
10479 2014-05-21 Pedro Alves <palves@redhat.com>
10480
10481 * gdb.base/list.exp (build_pattern, test_list): New procedures.
10482 Use them to test variations of "list" after reaching a breakpoint.
10483 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
10484 Test "list" with listsize 10 after reaching a breakpoint.
10485 * gdb.python/python.exp (decode_line current location line
10486 number): Adjust expected line number.
10487
10488 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
10489
10490 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
10491 behavior for $args, pass it directly to "run".
10492
10493 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
10494
10495 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
10496 30000 to 65536.
10497
10498 2014-05-21 Pedro Alves <palves@redhat.com>
10499
10500 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
10501 auto-connect-native-target off".
10502 * gdb.base/auto-connect-native-target.c: New file.
10503 * gdb.base/auto-connect-native-target.exp: New file.
10504
10505 2014-05-21 Pedro Alves <palves@redhat.com>
10506
10507 * gdb.base/default.exp: Test "target native" instead of "target
10508 child".
10509
10510 2014-05-21 Mark Wielaard <mjw@redhat.com>
10511
10512 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
10513
10514 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
10515
10516 Fix TLS access for -static -pthread.
10517 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
10518 <HAVE_TLS> (thread_function, main): Initialize it.
10519 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
10520 Add clean_restart.
10521 <$have_tls != "">: Check TLSVAR.
10522
10523 2014-05-21 Pedro Alves <palves@redhat.com>
10524
10525 * gdb.base/dcache-line-read-error.c: New.
10526 * gdb.base/dcache-line-read-error.exp: New.
10527
10528 2014-05-20 Pedro Alves <palves@redhat.com>
10529
10530 * gdb.base/compare-sections.c: New file.
10531 * gdb.base/compare-sections.exp: New file.
10532
10533 2014-05-20 Pedro Alves <palves@redhat.com>
10534
10535 * gdb.base/break-idempotent.c: New file.
10536 * gdb.base/break-idempotent.exp: New file.
10537
10538 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
10539
10540 * gdb.btrace/nohist.exp: New.
10541
10542 2014-05-20 Yao Qi <yao@codesourcery.com>
10543
10544 * lib/gdb.exp (gdb_init): Set timeout if test file is under
10545 gdb.reverse directory and gdb_reverse_timeout exists in board
10546 setting.
10547 * README: Document gdb_reverse_timeout.
10548
10549 2014-05-20 Yao Qi <yao@codesourcery.com>
10550
10551 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
10552 'test_file_name'. Treat args as a string instead of a list.
10553 (gdb_init): Rename argument 'args' by 'test_file_name'.
10554
10555 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
10556
10557 * gdb.arch/powerpc-power.exp: New file.
10558 * gdb.arch/powerpc-power.s: New file.
10559
10560 2014-05-16 Doug Evans <dje@google.com>
10561
10562 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
10563 * gdb.base/completion.exp: Check that all expected files exist
10564 before doing file completion.
10565
10566 2014-05-16 Doug Evans <dje@google.com>
10567
10568 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
10569 Update.
10570 (do_syscall_tests_without_xml): Update.
10571
10572 2014-05-16 Pedro Alves <palves@redhat.com>
10573
10574 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
10575 instead of "unknown output after running".
10576
10577 2014-05-16 Yao Qi <yao@codesourcery.com>
10578
10579 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
10580 file1.txt from host at the end.
10581 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
10582
10583 2014-05-15 Doug Evans <dje@google.com>
10584
10585 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
10586 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
10587 loading file. Add test for TU lookup.
10588
10589 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
10590
10591 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
10592 calling "-exec-arguments" or "set args" before running the
10593 inferior.
10594
10595 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
10596
10597 * lib/mi-support.exp (mi_expect_stop): Expect message for
10598 inferiors that exit with non-zero exit code.
10599
10600 2014-05-14 Yao Qi <yao@codesourcery.com>
10601
10602 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
10603 match absolute path on remote host.
10604 (test_file_list_exec_source_files): Remove "/" from the
10605 pattern.
10606
10607 2014-05-14 Yao Qi <yao@codesourcery.com>
10608
10609 * boards/local-remote-host-notty.exp (${board}_file): New
10610 proc.
10611
10612 2014-05-07 Kyle McMartin <kyle@redhat.com>
10613
10614 Pushed by Joel Brobecker <brobecker@adacore.com>.
10615 * gdb.arch/aarch64-atomic-inst.c: New file.
10616 * gdb.arch/aarch64-atomic-inst.exp: New file.
10617
10618 2014-05-07 Yao Qi <yao@codesourcery.com>
10619
10620 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
10621 in current context" too.
10622
10623 2014-05-05 Keith Seitz <keiths@redhat.com>
10624
10625 * gdb.linespec/ls-dollar.exp: Add test for linespec
10626 file:convenience_variable.
10627
10628 2014-05-05 Yao Qi <yao@codesourcery.com>
10629
10630 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
10631 traceframes into tfile and ctf trace files. Read data from
10632 trace file and test collected data.
10633 (gdb_collect_locals_test): Likewise.
10634 (gdb_unavailable_registers_test): Likewise.
10635 (gdb_unavailable_floats): Likewise.
10636 (gdb_collect_globals_test): Likewise.
10637 (top-level): Append "ctf" to trace_file_targets if GDB
10638 supports.
10639
10640 2014-05-05 Yao Qi <yao@codesourcery.com>
10641
10642 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
10643 code to ...
10644 (gdb_collect_args_test_1): ... it. New proc.
10645 (gdb_collect_locals_test): Move some code to ...
10646 (gdb_collect_locals_test_1): ... it. New proc.
10647 (gdb_unavailable_registers_test): Move some code to ...
10648 (gdb_unavailable_registers_test_1): ... it. New proc.
10649 (gdb_unavailable_floats): Move some code to ...
10650 (gdb_unavailable_floats_1): ... it. New proc.
10651
10652 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
10653
10654 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
10655 probes to test for bitness recognition.
10656 * gdb.arch/amd64-stap-optional-prefix.exp
10657 (test_probe_value_without_reg): New procedure.
10658 Add code to test for different kinds of bitness.
10659
10660 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
10661
10662 PR breakpoints/16889
10663 * gdb.arch/amd64-stap-optional-prefix.S: New file.
10664 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
10665
10666 2014-05-01 Pedro Alves <palves@redhat.com>
10667
10668 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
10669 gdb_file_cmd if no file is specified.
10670 * boards/native-extended-gdbserver.exp (gdb_load): Use the
10671 last_loaded_file to set the remote exec-file.
10672
10673 2014-05-01 Pedro Alves <palves@redhat.com>
10674
10675 * boards/local-remote-host.exp: New file.
10676
10677 2014-05-01 Pedro Alves <palves@redhat.com>
10678
10679 * boards/local-remote-host.exp: Rename to ...
10680 * boards/local-remote-host-notty.exp: ... this.
10681
10682 2014-04-28 Joel Brobecker <brobecker@adacore.com>
10683
10684 * gdb.ada/dyn_arrayidx: New testcase.
10685
10686 2014-04-26 Yao Qi <yao@codesourcery.com>
10687
10688 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
10689 and compute the length of function main. Save it in
10690 $main_length.
10691 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
10692 (top-level): Use gdb_compile to compile objects into
10693 executable and restart GDB. Remove invocation to
10694 prepare_for_testing.
10695
10696 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
10697 Pedro Alves <palves@redhat.com>
10698
10699 PR server/16255
10700 * gdb.multi/multi-attach.c: New file.
10701 * gdb.multi/multi-attach.exp: New file.
10702
10703 2014-04-25 Pedro Alves <palves@redhat.com>
10704
10705 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
10706 user.
10707 (top level): Test that "set remote conditional-breakpoints-packet
10708 off" works as intended.
10709 * gdb.base/dprintf.exp: Test that "set remote
10710 breakpoint-commands-packet off" works as intended.
10711 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
10712 New function.
10713 (top level): Call it.
10714 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
10715 remote fast-tracepoints-packet off" works as intended.
10716 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
10717 * lib/gdb.exp (gdb_is_target_remote): ... here.
10718
10719 2014-04-24 David Blaikie <dblaikie@gmail.com>
10720
10721 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
10722 ensure clang would not discard them.
10723 * gdb.base/gdbvars.c: Ditto.
10724 * gdb.base/memattr.c: Ditto.
10725 * gdb.base/whatis.c: Ditto.
10726 * gdb.python/py-prettyprint.c: Ditto.
10727 * gdb.trace/actions.c: Ditto.
10728 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
10729 ensure clang would not discard it.
10730
10731 2014-04-24 David Blaikie <dblaikie@gmail.com>
10732
10733 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
10734 clang to emit the full definition of type required by the test
10735 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
10736
10737 2014-04-24 David Blaikie <dblaikie@gmail.com>
10738
10739 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
10740 coax Clang into emitting the definition of the type.
10741 * gdb.cp/pr10728-x.h (y): Ditto.
10742 * gdb.cp/pr10728-y.cc (y): Ditto.
10743
10744 2014-04-24 David Blaikie <dblaikie@gmail.com>
10745
10746 * gdb.base/label.exp: XFAIL label related tests under Clang.
10747 * gdb.cp/cplabel.exp: Ditto.
10748 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
10749 under Clang those using labels.
10750
10751 2014-04-25 Yao Qi <yao@codesourcery.com>
10752
10753 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
10754 double_label.
10755 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
10756 partial_label and double_label.
10757
10758 2014-04-24 David Blaikie <dblaikie@gmail.com>
10759
10760 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
10761
10762 2014-04-24 David Blaikie <dblaikie@gmail.com>
10763
10764 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
10765 of the function to work across GCC and Clang.
10766 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
10767 pointer types (const void ** const V void **).
10768
10769 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
10770 Walfred Tedeschi <walfred.tedeschi@intel.com>
10771
10772 * Makefile.in (EXECUTABLES): Added i386-avx512.
10773 * gdb.arch/i386-avx512.c: New file.
10774 * gdb.arch/i386-avx512.exp: Likewise.
10775
10776 2014-04-23 Keith Seitz <keiths@redhat.com>
10777
10778 * lib/mi-support.exp (mi_list_breakpoints): Delete.
10779 (mi_make_breakpoint_table): New procedure.
10780 (mi_create_breakpoint): Use mi_make_breakpoint
10781 and return the result.
10782 (mi_make_breakpoint): New procedure.
10783 (mi_build_kv_pairs): New procedure.
10784
10785 * gdb.mi/mi-break.exp: Remove unused globals,
10786 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
10787 All callers updated.
10788 * gdb.mi/mi-dprintf.exp: Use variable to track command
10789 number.
10790 Update all callers of mi_create_breakpoint and use
10791 mi_make_breakpoint_table.
10792 Remove any unused global variables.
10793 * gdb.mi/mi-nonstop.exp: Likewise.
10794 * gdb.mi/mi-nsintrall.exp: Likewise.
10795 * gdb.mi/mi-nsmoribund.exp: Likewise.
10796 * gdb.mi/mi-nsthrexec.exp: Likewise.
10797 * gdb.mi/mi-reverse.exp: Likewise.
10798 * gdb.mi/mi-simplerun.exp: Likewise.
10799 * gdb.mi/mi-stepn.exp: Likewise.
10800 * gdb.mi/mi-syn-frame.exp: Likewise.
10801 * gdb.mi/mi-until.exp: Likewise.
10802 * gdb.mi/mi-var-cp.exp: Likewise.
10803 * gdb.mi/mi-var-display.exp: Likewise.
10804 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
10805 * gdb.mi/mi2-var-child.exp: Likewise.
10806 * gdb.mi/mi-vla-c99.exp: Likewise.
10807 * lib/mi-support.exp: Likewise.
10808
10809 From Ian Lance Taylor <iant@cygnus.com>:
10810 * lib/gdb.exp (parse_args): New procedure.
10811
10812 2014-04-23 Pedro Alves <palves@redhat.com>
10813
10814 * gdb.base/break-unload-file.c: New file.
10815 * gdb.base/break-unload-file.exp: New file.
10816 * gdb.base/sym-file-lib.c (baz): New function.
10817 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
10818 field.
10819 (load): Store the segment's mapped size.
10820 (unload): New function.
10821 (unload_shlib): New function.
10822 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
10823 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
10824 set a breakpoint at baz, and call it.
10825 * gdb.base/sym-file.exp: New tests for stale breakpoint
10826 instructions.
10827
10828 2014-04-23 Pedro Alves <palves@redhat.com>
10829
10830 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
10831 * gdb.base/hbreak-in-shr-unsupported.c: New file.
10832 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
10833 * gdb.base/hbreak-unmapped.c: New file.
10834 * gdb.base/hbreak-unmapped.exp: New file.
10835 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
10836 * lib/gdb.exp (gdb_is_target_remote): ... here.
10837
10838 2014-04-22 Pedro Alves <palves@redhat.com>
10839
10840 * gdb.base/consecutive-step-over.c: New file.
10841 * gdb.base/consecutive-step-over.exp: New file.
10842
10843 2014-04-22 Pedro Alves <palves@redhat.com>
10844
10845 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
10846 instead of send_gdb/gdb_expect.
10847
10848 2014-04-22 Yao Qi <yao@codesourcery.com>
10849
10850 * lib/trace-support.exp (generate_tracefile): New procedure.
10851 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
10852 return 0.
10853 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
10854 if generate_tracefile returns 1.
10855
10856 2014-04-18 Tom Tromey <palves@redhat.com>
10857 Pedro alves <tromey@redhat.com>
10858
10859 PR backtrace/15558
10860 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
10861 with a backtrace limit.
10862 * gdb.python/py-frame-inline.exp: Test running to an inline
10863 function with a backtrace limit, and printing the newest frame.
10864 * gdb.python/py-frame-inline.c (main): Call f.
10865
10866 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
10867
10868 * gdb.java/jnpe.exp: Drop srcdir from untested path.
10869
10870 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
10871
10872 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
10873 Drop prefix from unsupported source file path.
10874
10875 2014-04-17 Yao Qi <yao@codesourcery.com>
10876
10877 * lib/gdb.exp (with_target_charset): New proc.
10878 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
10879 with_target_charset.
10880 (test_print_strings): Likewise.
10881 (test_repeat_bytes): Likewise.
10882 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
10883 for some tests.
10884
10885 2014-04-16 Keith Seitz <keiths@redhat.com>
10886
10887 PR gdb/15827
10888 * gdb.dwarf2/corrupt.c: New file.
10889 * gdb.dwarf2/corrupt.exp: New file.
10890
10891 2014-04-16 Keith Seitz <keiths@redhat.com>
10892
10893 PR c++/16597
10894 * gdb.cp/namelessclass.cc: New file.
10895 * gdb.cp/namelessclass.exp: New file.
10896 * gdb.cp/namelessclass.S: New file.
10897
10898 2014-04-16 Doug Evans <dje@google.com>
10899
10900 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
10901 Add comment.
10902 (gdbserver_default_get_comm_port): New function.
10903 (gdbserver_start): Check if board file provided
10904 "gdbserver,get_comm_port" and use it if so.
10905 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
10906 (gdb,socketport): Set to "stdio".
10907 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
10908 (stdio_gdbserver_template): Delete.
10909 (${board}_get_remote_address): Update.
10910 (${board}_build_remote_cmd): Delete.
10911 (${board}_get_comm_port): New function.
10912 (${board}_spawn): Update.
10913 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
10914 Delete.
10915 (${board}_get_remote_address): Update.
10916 (${board}_get_comm_port): New function.
10917
10918 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
10919
10920 * gdb.base/memattr.exp: Improve regexps to handle memory regions
10921 appearing in any order.
10922
10923 2014-04-15 Doug Evans <dje@google.com>
10924
10925 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
10926 uninitialized value of "description".
10927
10928 2014-04-15 Keith Seitz <keiths@redhat.com>
10929
10930 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
10931 Remove unused globals.
10932 (test_running_the_program): Likewise.
10933 (test_controlled_execution): Likewise.
10934 (test_controlling_breakpoints): Likewise.
10935 (test_program_termination): Likewise.
10936
10937 2014-04-15 Keith Seitz <keiths@redhat.com>
10938
10939 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
10940 unused globals.
10941 (test_rbreak_creation_and_listing): Likewise.
10942 (test_ignore_count): Likewise.
10943 (test_error): Likewise.
10944
10945 2014-04-15 Pedro Alves <palves@redhat.com>
10946
10947 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
10948 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
10949 sym-file-loader.c.
10950 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
10951 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
10952 to sym-file-loader.c.
10953 (struct library): Forward declare.
10954 (load_shlib, lookup_function): Change prototypes.
10955 (find_shstrtab, find_strtab, find_shdr, find_symtab)
10956 (translate_offset): Remove declarations.
10957 (get_text_addr): New declaration.
10958 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
10959 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
10960 sym-file-loader.h.
10961 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
10962 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
10963 here from sym-file-loader.h.
10964 (struct library): New structure.
10965 (load_shlib, lookup_function): Change prototypes and adjust to
10966 work with a struct library.
10967 (find_shstrtab, find_strtab, find_shdr, find_symtab)
10968 (translate_offset): Make static.
10969 (get_text_addr): New function.
10970 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
10971
10972 2014-04-15 Pedro Alves <palves@redhat.com>
10973
10974 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
10975
10976 2014-04-15 Pedro Alves <palves@redhat.com>
10977
10978 * gdb.base/sym-file-loader.c: Include <limits.h>.
10979 (SELF_LINK): New define.
10980 (get_origin): New function.
10981 (load_shlib): Use it.
10982 * gdb.base/sym-file.exp: Don't early return if the target is
10983 remote. Use runto_main, and issue fail is that fails. Use
10984 gdb_load_shlibs.
10985 (shlib_name): Delete.
10986 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
10987
10988 2014-04-15 Pedro Alves <palves@redhat.com>
10989
10990 * gdb.base/sym-file.exp: Remove regex characters from test
10991 message. Don't refer to breakpoint numbers in test messages.
10992
10993 2014-04-14 Keith Seitz <keiths@redhat.com>
10994
10995 PR c++/16253
10996 * gdb.cp/var-tag.cc: New file.
10997 * gdb.cp/var-tag.exp: New file.
10998 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
10999 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
11000 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
11001 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
11002
11003 2014-04-14 Tom Tromey <tromey@redhat.com>
11004
11005 * gdb.cp/classes.exp (test_enums): Handle underlying type.
11006 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
11007 type.
11008 * gdb.cp/enum-class.exp: New file.
11009 * gdb.cp/enum-class.cc: New file.
11010
11011 2014-04-14 Tom Tromey <tromey@redhat.com>
11012
11013 * gdb.dwarf2/enum-type.exp: New file.
11014
11015 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
11016
11017 * gdb.mi/mi-vla-c99.exp: New file.
11018 * gdb.mi/vla.c: New file.
11019
11020 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
11021
11022 * gdb.base/vla-datatypes.c: New file.
11023 * gdb.base/vla-datatypes.exp: New file.
11024
11025 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
11026
11027 * gdb.base/vla-ptr.c: New file.
11028 * gdb.base/vla-ptr.exp: New file.
11029
11030 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
11031
11032 * gdb.dwarf2/count.exp: New file.
11033
11034 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
11035
11036 * gdb.base/vla-sideeffect.c: New file.
11037 * gdb.base/vla-sideeffect.exp: New file.
11038
11039 2014-04-14 David Blaikie <dblaikie@gmail.com>
11040
11041 * gdb.mi/non-stop.c: Add return value for non-void function return
11042 statement.
11043 * gdb.threads/staticthreads.c: Ditto.
11044
11045 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
11046 Doug Evans <xdje42@gmail.com>
11047
11048 * gdb.guile/scm-value.c: Improve test case.
11049 * gdb.guile/scm-value.exp: Add new test.
11050
11051 2014-04-11 David Blaikie <dblaikie@gmail.com>
11052
11053 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
11054 override Clang's default.
11055
11056 2014-04-11 Joel Brobecker <brobecker@adacore.com>
11057
11058 Revert the following changes (regressions):
11059
11060 * gdb.base/vla-sideeffect.c: New file.
11061 * gdb.base/vla-sideeffect.exp: New file.
11062
11063 * gdb.dwarf2/count.exp: New file.
11064
11065 * gdb.base/vla-multi.c: New file.
11066 * gdb.base/vla-multi.exp: New file.
11067
11068 * gdb.base/vla-ptr.c: New file.
11069 * gdb.base/vla-ptr.exp: New file.
11070
11071 * gdb.base/vla-datatypes.c: New file.
11072 * gdb.base/vla-datatypes.exp: New file.
11073
11074 * gdb.mi/mi-vla-c99.exp: New file.
11075 * gdb.mi/vla.c: New file.
11076
11077 2014-04-11 Keith Seitz <keiths@redhat.com>
11078
11079 PR c++/16675
11080 * gdb.cp/cpsizeof.exp: New file.
11081 * gdb.cp/cpsizeof.cc: New file.
11082
11083 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
11084
11085 * gdb.mi/mi-vla-c99.exp: New file.
11086 * gdb.mi/vla.c: New file.
11087
11088 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
11089
11090 * gdb.base/vla-datatypes.c: New file.
11091 * gdb.base/vla-datatypes.exp: New file.
11092
11093 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
11094
11095 * gdb.base/vla-ptr.c: New file.
11096 * gdb.base/vla-ptr.exp: New file.
11097
11098 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
11099
11100 * gdb.base/vla-multi.c: New file.
11101 * gdb.base/vla-multi.exp: New file.
11102
11103 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
11104
11105 * gdb.dwarf2/count.exp: New file.
11106
11107 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
11108
11109 * gdb.base/vla-sideeffect.c: New file.
11110 * gdb.base/vla-sideeffect.exp: New file.
11111
11112 2014-04-11 Yao Qi <yao@codesourcery.com>
11113
11114 * gdb.base/completion.exp: Check file exists before running tests
11115 on file completion.
11116
11117 2014-04-10 Pedro Alves <palves@redhat.com>
11118
11119 * gdb.base/cond-eval-mode.c: New file.
11120 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
11121 prepare_for_testing to build the new file. Check result of
11122 runto_main.
11123 (test_break, test_watch): New procedures.
11124 (top level): Use them.
11125
11126 2014-04-08 Pierre Muller <muller@sourceware.org>
11127
11128 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
11129 Ctrl-V use for mingw hosts.
11130
11131 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
11132
11133 * gdb.python/py-value.c: Improve test case.
11134 * gdb.python/py-value.exp: Add new test.
11135
11136 2014-04-07 David Blaikie <dblaikie@gmail.com>
11137
11138 * lib/compiler.c: Identify the clang compiler.
11139 * lib/compiler.cc: Ditto.
11140
11141 2014-04-03 Yao Qi <yao@codesourcery.com>
11142
11143 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
11144
11145 2014-04-01 Anton Blanchard <anton@samba.org>
11146
11147 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
11148 messages unique.
11149
11150 2014-04-01 Anton Blanchard <anton@samba.org>
11151
11152 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
11153 prepare_for_testing.
11154
11155 2014-04-01 Anton Blanchard <anton@samba.org>
11156
11157 * gdb.arch/ppc64-atomic-inst.c: Remove.
11158 * gdb.arch/ppc64-atomic-inst.S: New file.
11159 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
11160
11161 2014-03-31 Doug Evans <dje@google.com>
11162
11163 * gdb.base/print-symbol-loading-lib.c: New file.
11164 * gdb.base/print-symbol-loading-main.c: New file.
11165 * gdb.base/print-symbol-loading.exp: New file.
11166
11167 2014-03-31 Yao Qi <yao@codesourcery.com>
11168
11169 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
11170
11171 2014-03-28 Joel Brobecker <brobecker@adacore.com>
11172
11173 * gdb.ada/mi_dyn_arr: New testcase.
11174
11175 2014-03-27 Doug Evans <dje@google.com>
11176
11177 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
11178
11179 2014-03-27 Yao Qi <yao@codesourcery.com>
11180
11181 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
11182 if target is nios2-*-*.
11183
11184 2014-03-26 Yao Qi <yao@codesourcery.com>
11185
11186 * lib/gdb.exp (readline_is_used): New proc.
11187 * gdb.base/completion.exp: Move tests on command complete up.
11188 Skip the rest of tests if readline is not used.
11189 * gdb.ada/complete.exp: Skp the test if readline is not
11190 used.
11191 * gdb.base/filesym.exp: Likewise.
11192 * gdb.base/macscp.exp: Likewise.
11193 * gdb.base/readline-ask.exp: Likewise.
11194 * gdb.base/readline.exp: Likewise.
11195 * gdb.python/py-cmd.exp: Likewise.
11196 * gdb.trace/tfile.exp: Likewise.
11197
11198 2014-03-26 Yao Qi <yao@codesourcery.com>
11199
11200 * gdb.base/macscp.exp: Fix code format issues.
11201
11202 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
11203
11204 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
11205 * gdb.asm/powerpc64le.inc: New file.
11206
11207 2014-03-25 Pedro Alves <palves@redhat.com>
11208 Doug Evans <dje@google.com>
11209
11210 * gdb.base/source-execution.c: New file.
11211 * gdb.base/source-execution.exp: New file.
11212 * gdb.base/source-execution.gdb: New file.
11213
11214 2014-03-24 Doug Evans <dje@google.com>
11215
11216 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
11217 using fission.
11218
11219 2014-03-24 Hui Zhu <hui@codesourcery.com>
11220 Pedro Alves <palves@redhat.com>
11221
11222 PR breakpoints/16101
11223 * gdb.base/dprintf.exp: Use unsupported rather than changing the
11224 test pass/fail messages. Detect missing support for dprintf when
11225 breakpoints are actually inserted.
11226 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
11227 breakpoints are actually inserted.
11228 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
11229 fails.
11230
11231 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
11232
11233 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
11234
11235 2014-03-22 Doug Evans <xdje42@gmail.com>
11236
11237 * gdb.python/python.exp (python not supported): Verify multi-line
11238 python command issues an error.
11239 * gdb.guile/guile.exp (guile not supported): Verify multi-line
11240 guile command issues an error.
11241
11242 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
11243
11244 * gdb.threads/thread-specific.exp: Handle the lack of usable
11245 $this_breakpoint and $this_thread.
11246
11247 2014-03-21 Hui Zhu <hui@codesourcery.com>
11248
11249 * gdb.base/attach.exp (do_command_attach_tests): New.
11250
11251 2014-03-20 Tom Tromey <tromey@redhat.com>
11252 Pedro Alves <palves@redhat.com>
11253
11254 PR cli/15718
11255 * gdb.base/condbreak-call-false.c: New file.
11256 * gdb.base/condbreak-call-false.exp: New file.
11257
11258 2014-03-20 Pedro Alves <palves@redhat.com>
11259
11260 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
11261 Delete.
11262 (block_signals, unblock_signals): Delete.
11263 (child_function_2, main): Remove references to deleted variable
11264 and functions.
11265
11266 2014-03-20 Pedro Alves <palves@redhat.com>
11267
11268 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
11269 Use pthread_kill to signal thread 2.
11270 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
11271 Adjust to make the test send itself a signal rather than using the
11272 host's "kill" command.
11273
11274 2014-03-20 Pedro Alves <palves@redhat.com>
11275
11276 * gdb.threads/multiple-step-overs.c: New file.
11277 * gdb.threads/multiple-step-overs.exp: New file.
11278 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
11279 Adjust expected infrun debug output.
11280
11281 2014-03-20 Pedro Alves <palves@redhat.com>
11282
11283 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
11284 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
11285
11286 2014-03-20 Pedro Alves <palves@redhat.com>
11287
11288 PR breakpoints/7143
11289 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
11290 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
11291 of gdb_test_multiple.
11292 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
11293 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
11294
11295 2014-03-20 Pedro Alves <palves@redhat.com>
11296
11297 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
11298 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
11299
11300 2014-03-19 Pedro Alves <palves@redhat.com>
11301
11302 * gdb.base/async.exp: Remove early return.
11303
11304 2014-03-19 Pedro Alves <palves@redhat.com>
11305
11306 * gdb.base/async.exp (step& tests): Pass explicit test messages.
11307
11308 2014-03-19 Pedro Alves <palves@redhat.com>
11309
11310 * gdb.base/async.exp (test_background): Expect \r\n after
11311 "completed." in the fail pattern.
11312
11313 2014-03-19 Pedro Alves <palves@redhat.com>
11314
11315 * gdb.base/async.exp (test_background): New procedure.
11316 Use it for all background execution command tests.
11317
11318 2014-03-19 Pedro Alves <palves@redhat.com>
11319
11320 * gdb.base/async.exp: Use prepare_for_testing.
11321
11322 2014-03-19 Pedro Alves <palves@redhat.com>
11323
11324 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
11325 the same line.
11326
11327 2014-03-19 Pedro Alves <palves@redhat.com>
11328
11329 * gdb.base/async.c (main): Add "jump here" and "until here" line
11330 marker comments.
11331 * gdb.base/async.exp (jump_here): New global.
11332 (jump& test): Use it.
11333 (until_here): New global.
11334 (until& test): Use it.
11335
11336 2014-03-19 Pedro Alves <palves@redhat.com>
11337
11338 * gdb.base/async.exp: Don't frob gdb_protocol.
11339
11340 2014-03-18 Doug Evans <xdje42@gmail.com>
11341
11342 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
11343 Fix spelling of exec-done-display.
11344
11345 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
11346
11347 PR gdb/15358
11348 * gdb.base/gdb-sigterm.c: New file.
11349 * gdb.base/gdb-sigterm.exp: New file.
11350
11351 2014-03-18 Pedro Alves <palves@redhat.com>
11352
11353 PR gdb/13860
11354 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
11355 * lib/mi-support.exp (mi_expect_stop): Add special handling for
11356 solib-event.
11357
11358 2014-03-17 Joel Brobecker <brobecker@adacore.com>
11359
11360 * gdb.ada/pckd_arr_ren: New testcase.
11361
11362 2014-03-13 Doug Evans <xdje42@gmail.com>
11363
11364 PR guile/16612
11365 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
11366 collect after discarding symbols.
11367
11368 2014-03-13 Ludovic Courtès <ludo@gnu.org>
11369 Doug Evans <xdje42@gmail.com>
11370
11371 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
11372 to history survives a gc.
11373
11374 2014-03-13 Pedro Alves <palves@redhat.com>
11375
11376 * gdb.base/default.exp: Don't test "target procfs".
11377
11378 2014-03-13 Pedro Alves <palves@redhat.com>
11379
11380 * gdb.base/default.exp: Update "target child" and "target procfs"
11381 tests to not expect "Unix".
11382
11383 2014-03-12 Tom Tromey <tromey@redhat.com>
11384
11385 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
11386 New procs. Add target-async tests.
11387 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
11388 Add target-async tests.
11389
11390 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
11391
11392 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
11393 'func_start' and 'func_end' for the beginning and end of the
11394 function code, respectively.
11395 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
11396 'func_end' instead of 'func' and 'main'.
11397
11398 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
11399
11400 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
11401 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
11402 generate the debug info assembler source.
11403
11404 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
11405
11406 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
11407 * gdb.dwarf2/arr-subrange.exp: Likewise.
11408 * gdb.dwarf2/dwz.exp: Likewise.
11409 * gdb.dwarf2/method-ptr.exp: Likewise.
11410 * gdb.dwarf2/missing-sig-type.exp: Likewise.
11411 * gdb.dwarf2/subrange.exp: Likewise.
11412 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
11413 * gdb.dwarf2/implptrpiece.exp: Likewise.
11414 * gdb.dwarf2/nostaticblock.exp: Likewise.
11415
11416 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
11417
11418 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
11419 directory to absolute path name arguments.
11420
11421 2014-03-10 Joel Brobecker <brobecker@adacore.com>
11422
11423 * gdb.ada/tagged_access: New testcase.
11424
11425 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
11426
11427 * gdb.btrace/data.exp: Update expected output.
11428
11429 2014-03-06 Yao Qi <yao@codesourcery.com>
11430
11431 * gdb.trace/pr16508.exp: New file.
11432
11433 2014-03-05 Pedro Alves <palves@redhat.com>
11434
11435 PR gdb/16575
11436 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
11437 procedure.
11438 (top level): Adjust to use it. Add tests that exercise breakpoint
11439 interaction with the code-cache.
11440
11441 2014-02-26 Ludovic Courtès <ludo@gnu.org>
11442
11443 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
11444 test for 'history-append!'.
11445
11446 2014-02-26 Joel Brobecker <brobecker@adacore.com>
11447
11448 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
11449 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
11450 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
11451 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
11452 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
11453 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
11454
11455 2014-02-26 Joel Brobecker <brobecker@adacore.com>
11456
11457 * testsuite/gdb.python/py-pp-re-notag.c: New file.
11458 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
11459 * testsuite/gdb.python/py-pp-re-notag.p: New file.
11460
11461 2014-02-26 Joel Brobecker <brobecker@adacore.com>
11462
11463 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
11464
11465 2014-02-26 Joel Brobecker <brobecker@adacore.com>
11466
11467 * gdb.dwarf2/arr-stride.c: New file.
11468 * gdb.dwarf2/arr-stride.exp: New file.
11469
11470 2014-02-26 Pedro Alves <palves@redhat.com>
11471
11472 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
11473 that won't ever trigger. Make sure that GDB reports the correct
11474 breakpoint that caused the stop.
11475
11476 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11477
11478 PR gdb/16626
11479 * gdb.base/auto-load-script: New file.
11480 * gdb.base/auto-load.c: New file.
11481 * gdb.base/auto-load.exp: New file.
11482
11483 PR gdb/16626
11484 * gdb.base/auto-load.exp: Fix out-of-srctree run.
11485
11486 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11487
11488 Fix dw2-icycle.exp -fsanitize=address GDB crash.
11489 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
11490
11491 2014-02-24 Doug Evans <dje@google.com>
11492
11493 * lib/gdb.exp (run_on_host): Log error output if program fails.
11494
11495 2014-02-21 Pedro Alves <palves@redhat.com>
11496
11497 * gdb.threads/step-after-sr-lock.c: Rename to ...
11498 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
11499 * gdb.threads/step-after-sr-lock.exp: Rename to ...
11500 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
11501 ... this.
11502
11503 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
11504
11505 PR tdep/16397
11506 * gdb.arch/amd64-stap-special-operands.exp: New file.
11507 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
11508 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
11509 * gdb.arch/amd64-stap-triplet.S: Likewise.
11510 * gdb.arch/amd64-stap-triplet.c: Likewise.
11511
11512 2014-02-20 Joel Brobecker <brobecker@adacore.com>
11513
11514 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
11515 in .section pseudo-op.
11516
11517 2014-02-20 lin zuojian <manjian2006@gmail.com>
11518 Joel Brobecker <brobecker@adacore.com>
11519 Doug Evans <xdje42@gmail.com>
11520
11521 PR symtab/16581
11522 * gdb.dwarf2/dw2-icycle.S: New file.
11523 * gdb.dwarf2/dw2-icycle.c: New file.
11524 * gdb.dwarf2/dw2-icycle.exp: New file.
11525
11526 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
11527
11528 * gdb.python/py-value-cc.cc: Improve test case to enable testing
11529 operations on gdb.Value objects.
11530 * gdb.python/py-value-cc.exp: Add new test to test operations on
11531 gdb.Value objects.
11532
11533 2014-02-18 Doug Evans <dje@google.com>
11534
11535 * Makefile.in (TESTS): New variable.
11536 (expanded_tests, expanded_tests_or_none): New variables
11537 (check-single): Pass $(expanded_tests_or_none) to runtest.
11538 (check-parallel): Only run tests in $(TESTS) if non-empty.
11539 (check/no-matching-tests-found): New rule.
11540 * README: Document TESTS makefile variable.
11541
11542 2014-02-18 Doug Evans <dje@google.com>
11543
11544 * Makefile.in (check-parallel): rm -rf outputs temp.
11545
11546 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11547
11548 Fix "ERROR: no fileid for" in the testsuite.
11549 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
11550
11551 2014-02-12 Doug Evans <dje@google.com>
11552
11553 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
11554 (MISCELLANEOUS): New variable.
11555 (clean): rm -rf $(MISCELLANEOUS).
11556 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
11557 dwp live in the same directory as symlinks, with each symlink pointed
11558 to a differently named file in a different directory.
11559
11560 2014-02-11 Doug Evans <dje@google.com>
11561
11562 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
11563 of Tcl file commands.
11564
11565 2014-02-10 Mark Kettenis <kettenis@gnu.org>
11566
11567 * gdb.threads/step-after-sr-lock.exp: Avoid executing
11568 "kill -SIGUSR1 -1".
11569
11570 2014-02-10 Joel Brobecker <brobecker@adacore.com>
11571
11572 * gdb.ada/tick_length_array_enum_idx: New testcase.
11573
11574 2014-02-10 Doug Evans <xdje42@gmail.com>
11575
11576 * configure.ac (AC_OUTPUT): Add gdb.guile.
11577 * configure: Regenerate.
11578 * lib/gdb-guile.exp: New file.
11579 * lib/gdb.exp (get_target_charset): New function.
11580 * gdb.base/help.exp: Update expected output from "apropos apropos".
11581 * gdb.guile/Makefile.in: New file.
11582 * gdb.guile/guile.exp: New file.
11583 * gdb.guile/scm-arch.c: New file.
11584 * gdb.guile/scm-arch.exp: New file.
11585 * gdb.guile/scm-block.c: New file.
11586 * gdb.guile/scm-block.exp: New file.
11587 * gdb.guile/scm-breakpoint.c: New file.
11588 * gdb.guile/scm-breakpoint.exp: New file.
11589 * gdb.guile/scm-disasm.c: New file.
11590 * gdb.guile/scm-disasm.exp: New file.
11591 * gdb.guile/scm-equal.c: New file.
11592 * gdb.guile/scm-equal.exp: New file.
11593 * gdb.guile/scm-error.exp: New file.
11594 * gdb.guile/scm-error.scm: New file.
11595 * gdb.guile/scm-frame-args.c: New file.
11596 * gdb.guile/scm-frame-args.exp: New file.
11597 * gdb.guile/scm-frame-args.scm: New file.
11598 * gdb.guile/scm-frame-inline.c: New file.
11599 * gdb.guile/scm-frame-inline.exp: New file.
11600 * gdb.guile/scm-frame.c: New file.
11601 * gdb.guile/scm-frame.exp: New file.
11602 * gdb.guile/scm-generics.exp: New file.
11603 * gdb.guile/scm-gsmob.exp: New file.
11604 * gdb.guile/scm-iterator.c: New file.
11605 * gdb.guile/scm-iterator.exp: New file.
11606 * gdb.guile/scm-math.c: New file.
11607 * gdb.guile/scm-math.exp: New file.
11608 * gdb.guile/scm-objfile-script-gdb.in: New file.
11609 * gdb.guile/scm-objfile-script.c: New file.
11610 * gdb.guile/scm-objfile-script.exp: New file.
11611 * gdb.guile/scm-objfile.c: New file.
11612 * gdb.guile/scm-objfile.exp: New file.
11613 * gdb.guile/scm-ports.exp: New file.
11614 * gdb.guile/scm-pretty-print.c: New file.
11615 * gdb.guile/scm-pretty-print.exp: New file.
11616 * gdb.guile/scm-pretty-print.scm: New file.
11617 * gdb.guile/scm-section-script.c: New file.
11618 * gdb.guile/scm-section-script.exp: New file.
11619 * gdb.guile/scm-section-script.scm: New file.
11620 * gdb.guile/scm-symbol.c: New file.
11621 * gdb.guile/scm-symbol.exp: New file.
11622 * gdb.guile/scm-symtab-2.c: New file.
11623 * gdb.guile/scm-symtab.c: New file.
11624 * gdb.guile/scm-symtab.exp: New file.
11625 * gdb.guile/scm-type.c: New file.
11626 * gdb.guile/scm-type.exp: New file.
11627 * gdb.guile/scm-value-cc.cc: New file.
11628 * gdb.guile/scm-value-cc.exp: New file.
11629 * gdb.guile/scm-value.c: New file.
11630 * gdb.guile/scm-value.exp: New file.
11631 * gdb.guile/source2.scm: New file.
11632 * gdb.guile/types-module.cc: New file.
11633 * gdb.guile/types-module.exp: New file.
11634
11635 2014-02-10 Yao Qi <yao@codesourcery.com>
11636
11637 PR testsuite/16543
11638 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
11639 * configure: Regenerated.
11640 * Makefile.in: New file.
11641
11642 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
11643
11644 * gdb.python/py-framefilter.exp: Fix typo.
11645
11646 2014-02-08 Yao Qi <yao@codesourcery.com>
11647
11648 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
11649 that no =breakpoint-modified is emitted when breakpoints are
11650 modified through MI commands.
11651
11652 2014-02-07 Pedro Alves <pedro@codesourcery.com>
11653 Pedro Alves <palves@redhat.com>
11654
11655 * gdb.threads/step-after-sr-lock.c: New file.
11656 * gdb.threads/step-after-sr-lock.exp: New file.
11657
11658 2014-02-07 Pedro Alves <palves@redhat.com>
11659
11660 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
11661
11662 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
11663
11664 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
11665 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
11666
11667 2014-02-06 Doug Evans <xdje42@gmail.com>
11668
11669 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
11670 output.
11671
11672 * gdb.gdb/python-interrupts.exp: New file.
11673
11674 2014-02-05 Yao Qi <yao@codesourcery.com>
11675
11676 * gdb.trace/report.exp (use_collected_data): Test the output
11677 of "info threads" and "info inferiors".
11678
11679 2014-02-05 Yao Qi <yao@codesourcery.com>
11680
11681 Revert this patch:
11682
11683 2013-05-24 Yao Qi <yao@codesourcery.com>
11684
11685 * gdb.trace/tfile.exp: Test inferior and thread.
11686
11687 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11688
11689 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
11690 on a function.
11691 * gdb.base/step-bt.c: Call hello via function pointer to make
11692 sure its first instruction is executed on powerpc64le-linux.
11693
11694 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11695
11696 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
11697
11698 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11699
11700 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
11701 of the test patterns for use on little-endian systems.
11702
11703 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11704
11705 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
11706 (decimal_vector): Fix for little-endian.
11707
11708 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
11709
11710 * gdb.arch/sparc-sysstep.exp: New file.
11711 * gdb.arch/sparc-sysstep.c: Likewise.
11712
11713 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
11714
11715 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
11716
11717 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
11718
11719 2014-01-23 Tom Tromey <tromey@redhat.com>
11720
11721 * gdb.ada/array_char_idx: New testcase.
11722
11723 2014-01-23 Tom Tromey <tromey@redhat.com>
11724
11725 PR python/16487:
11726 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
11727 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
11728 classes.
11729
11730 2014-01-23 Tom Tromey <tromey@redhat.com>
11731
11732 PR python/16491:
11733 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
11734 string from an inferior frame.
11735 * gdb.python/py-framefilter-mi.exp: Update.
11736
11737 2014-01-22 Doug Evans <dje@google.com>
11738
11739 * gdb.server/server-mon.exp: Add tests for "set debug-format".
11740
11741 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11742
11743 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
11744
11745 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11746
11747 * gdb.trace/entry-values.exp: Remove excess space character from
11748 regex patterns. Handle s390 call instruction.
11749
11750 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11751
11752 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
11753 define "*_start" label. Make "name" static.
11754 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
11755 ${name} by references to ${name}_start.
11756
11757 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11758
11759 * gdb.base/info-macros.exp: Remove "debug" from the compile
11760 options.
11761
11762 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11763
11764 * gdb.dlang/demangle.exp: New file.
11765
11766 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11767
11768 * gdb.dlang/primitive-types.exp: New file.
11769
11770 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11771
11772 * configure.ac: Create gdb.dlang/Makefile.
11773 * configure: Regenerate.
11774 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
11775 * gdb.dlang/Makefile.in: New file.
11776 * lib/d-support.exp: New file.
11777 * lib/gdb.exp (skip_d_tests): New proc.
11778
11779 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11780
11781 * gdb.btrace/delta.exp: Check reverse stepi.
11782 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
11783 * gdb.btrace/finish.exp: New.
11784 * gdb.btrace/next.exp: New.
11785 * gdb.btrace/nexti.exp: New.
11786 * gdb.btrace/record_goto.c: Add comments.
11787 * gdb.btrace/step.exp: New.
11788 * gdb.btrace/stepi.exp: New.
11789 * gdb.btrace/multi-thread-step.c: New.
11790 * gdb.btrace/multi-thread-step.exp: New.
11791 * gdb.btrace/rn-dl-bind.c: New.
11792 * gdb.btrace/rn-dl-bind.exp: New.
11793 * gdb.btrace/data.c: New.
11794 * gdb.btrace/data.exp: New.
11795 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
11796
11797 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11798
11799 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
11800 * gdb.btrace/exception.exp: Update.
11801 * gdb.btrace/instruction_history.exp: Update.
11802 * gdb.btrace/record_goto.exp: Update.
11803 * gdb.btrace/tailcall.exp: Update.
11804 * gdb.btrace/unknown_functions.exp: Update.
11805 * gdb.btrace/delta.exp: New.
11806
11807 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11808
11809 * gdb.btrace/record_goto.exp: Add backtrace test.
11810 * gdb.btrace/tailcall.exp: Add backtrace test.
11811
11812 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11813
11814 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
11815 * gdb.btrace/record_goto.c: New.
11816 * gdb.btrace/record_goto.exp: New.
11817 * gdb.btrace/x86-record_goto.S: New.
11818
11819 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11820
11821 * gdb.btrace/function_call_history.exp: Update tests.
11822 * gdb.btrace/instruction_history.exp: Update tests.
11823
11824 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11825
11826 * gdb.btrace/function_call_history.exp: Fix expected field
11827 order for "record function-call-history".
11828 Add new tests for "record function-call-history /c".
11829 * gdb.btrace/exception.cc: New.
11830 * gdb.btrace/exception.exp: New.
11831 * gdb.btrace/tailcall.exp: New.
11832 * gdb.btrace/x86-tailcall.S: New.
11833 * gdb.btrace/x86-tailcall.c: New.
11834 * gdb.btrace/unknown_functions.c: New.
11835 * gdb.btrace/unknown_functions.exp: New.
11836 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
11837
11838 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11839
11840 * gdb.btrace/instruction_history.exp: Update.
11841 * gdb.btrace/function_call_history.exp: Update.
11842
11843 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11844
11845 * gdb.btrace/function_call_history.exp: Fix expected function
11846 trace.
11847 * gdb.btrace/instruction_history.exp: Initialize traced.
11848 Remove traced_functions.
11849
11850 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11851
11852 * gdb.btrace/function_call_history.exp: Update
11853 * gdb.btrace/instruction_history.exp: Update.
11854
11855 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11856
11857 * gdb.btrace/enable.exp: Update expected text.
11858
11859 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
11860
11861 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
11862 bytes.
11863
11864 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
11865
11866 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
11867
11868 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
11869
11870 * lib/gdb.exp (supports_process_record): Return true for
11871 arm*-linux*. (supports_reverse): Likewise.
11872
11873 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
11874
11875 PR python/15464
11876 PR python/16113
11877 * gdb.python/py-type.c: Enhance test case.
11878 * gdb.python/py-value-cc.cc: Likewise
11879 * gdb.python/py-type.exp: Add new tests.
11880 * gdb.python/py-value-cc.exp: Likewise
11881
11882 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
11883 Pedro Alves <palves@redhat.com>
11884
11885 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
11886 Make "name" extern.
11887 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
11888 references to ${name}_start by references to ${name}.
11889
11890 2014-01-10 Joel Brobecker <brobecker@adacore.com>
11891
11892 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
11893
11894 2014-01-10 Joel Brobecker <brobecker@adacore.com>
11895
11896 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
11897
11898 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
11899 Pedro Alves <palves@redhat.com>
11900
11901 * gdb.mi/mi-info-os.exp: Connect to the target with
11902 mi_gdb_target_load.
11903
11904 2014-01-08 Pedro Alves <palves@redhat.com>
11905
11906 * gdb.threads/reconnect-signal.c: New file.
11907 * gdb.threads/reconnect-signal.exp: New file.
11908
11909 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11910
11911 * gdb.base/source-dir.exp: New file.
11912
11913 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11914
11915 * gdb.ada/mi_interface: New testcase.
11916
11917 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11918
11919 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
11920 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
11921 gdb.ada/pp-rec-component/pck.ads: New files.
11922
11923 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11924
11925 * gdb.python/py-pp-integral.c: New file.
11926 * gdb.python/py-pp-integral.py: New file.
11927 * gdb.python/py-pp-integral.exp: New file.
11928
11929 For older changes see ChangeLog-1993-2013.
11930 \f
11931 ;; Local Variables:
11932 ;; mode: change-log
11933 ;; left-margin: 8
11934 ;; fill-column: 74
11935 ;; version-control: never
11936 ;; End:
11937
11938 Copyright 2014-2017 Free Software Foundation, Inc.
11939 Copying and distribution of this file, with or without modification,
11940 are permitted provided the copyright notice and this notice are preserved.
This page took 0.338687 seconds and 4 git commands to generate.