Fix calling prototyped functions via function pointers
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2017-09-04 Pedro Alves <palves@redhat.com>
2
3 * gdb.base/callfuncs.exp (do_function_calls): New parameter
4 "prototypes". Test calling float functions via prototyped and
5 unprototyped function pointers.
6 (perform_all_tests): New parameter "prototypes". Pass it down.
7 (top level): Pass down "prototypes" parameter to
8 perform_all_tests.
9
10 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
11
12 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
13 Test with nested loops.
14
15 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
16
17 * gdb.base/commands.exp: Call the new procedures.
18 (loop_break_test, loop_continue_test): New procedures.
19
20 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
21
22 * gdb.base/commands.exp: Call new procedure.
23 (define_if_without_arg_test): New procedure.
24
25 2017-09-04 Pedro Alves <palves@redhat.com>
26
27 * gdb.base/list-ambiguous.exp: New file.
28 * gdb.base/list-ambiguous0.c: New file.
29 * gdb.base/list-ambiguous1.c: New file.
30 * gdb.base/list.exp (test_list_range): Adjust expected output.
31
32 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
33
34 * gdb.base/share-env-with-gdbserver.c: New file.
35 * gdb.base/share-env-with-gdbserver.exp: Likewise.
36
37 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
38
39 * gdb.base/commands.exp (gdbvar_simple_if_test,
40 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
41 progvar_simple_if_test, progvar_simple_while_test,
42 progvar_complex_if_while_test, user_defined_command_test,
43 user_defined_command_args_eval,
44 user_defined_command_args_stack_test,
45 user_defined_command_manyargs_test, bp_deleted_in_command_test,
46 temporary_breakpoint_commands,
47 gdb_test_no_prompt, redefine_hook_test,
48 redefine_backtrace_test): Remove "global gdb_prompt".
49
50 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
51
52 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
53 New proc, call it from toplevel.
54
55 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
56
57 PR remote/21852
58 * gdb.server/normal.c: New file, copied from gdb.base.
59 * gdb.server/run-without-local-binary.exp: New file.
60
61 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
62
63 * gdb.arch/sparc64-adi.exp: New file.
64 * gdb.arch/sparc64-adi.c: New file.
65
66 2017-08-22 Pedro Alves <palves@redhat.com>
67
68 * gdb.cp/overload.exp (line_range_pattern): New procedure.
69 (top level): Add "list all overloads" tests.
70
71 2017-08-22 Tom Tromey <tom@tromey.com>
72
73 * gdb.gdb/xfullpath.exp: Remove.
74
75 2017-08-21 Pedro Alves <palves@redhat.com>
76
77 PR gdb/19487
78 * gdb.base/symbol-alias.c: New.
79 * gdb.base/symbol-alias2.c: New.
80 * gdb.base/symbol-alias.exp: New.
81
82 2017-08-21 Pedro Alves <palves@redhat.com>
83
84 * gdb.base/dfp-test.c
85 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
86 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
87 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
88 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
89 * gdb.base/whatis-ptype-typedefs.c: New.
90 * gdb.base/whatis-ptype-typedefs.exp: New.
91 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
92 (an_int, an_int_type, an_int_type2): New globals.
93 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
94 involving typedefs and cast expressions.
95 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
96 (lookup_typedefs_function): New.
97 (typedefs_pretty_printers_dict): New.
98 (top level): Register lookup_typedefs_function in
99 gdb.pretty_printers.
100
101 2017-08-18 Yao Qi <yao.qi@linaro.org>
102
103 * gdb.server/unittest.exp: New.
104
105 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
106
107 PR gdb/21954
108 * gdb.base/environ.exp: Add test to check if 'unset environment'
109 works.
110
111 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
112
113 * lib/gdb.exp (universal_compile_options): New caching proc.
114 (gdb_compile): Suppress GCC's coloring of messages.
115
116 2017-08-14 Tom Tromey <tom@tromey.com>
117
118 PR gdb/21675:
119 * gdb.base/printcmds.exp (test_radices): New function.
120 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
121 * gdb.base/sizeof.exp (check_valueof): Use p/d.
122 * lib/gdb.exp (get_integer_valueof): Use p/d.
123
124 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
125
126 * lib/gdb.exp (get_valueof): Don't capture end-of-line
127 characters.
128
129 2017-08-05 Tom Tromey <tom@tromey.com>
130
131 * gdb.rust/simple.exp: Allow String to appear in a different
132 namespace.
133
134 2017-07-26 Yao Qi <yao.qi@linaro.org>
135
136 * gdb.gdb/unittest.exp: Invoke command
137 "maintenance check xml-descriptions".
138
139 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
140
141 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
142 calling context.
143 (hex128): Drop erroneous calculation of parameters.
144
145 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
146
147 * gdb.python/py-unwind.exp: Disable stack protection when
148 building test file.
149
150 2017-07-20 Pedro Alves <palves@redhat.com>
151
152 * gdb.base/default.exp (set language): Adjust expected output.
153
154 2017-07-20 Pedro Alves <palves@redhat.com>
155
156 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
157 (test_minsym): ... this, and make static.
158 (get_pck__foo__bar__minsym): Rename to ...
159 (get_test_minsym): ... this.
160 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
161 symbol names and comments.
162 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
163 (get_test_minsym): ... this.
164 (pck__foo__bar__minsym__2): Rename to ...
165 (test_minsym): ... this.
166 (main): Adjust.
167
168 2017-07-17 Pedro Alves <palves@redhat.com>
169
170 * gdb.base/completion.exp: Adjust expected output.
171 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
172 the completer works.
173
174 2017-07-17 Pedro Alves <palves@redhat.com>
175
176 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
177
178 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
179
180 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
181
182 2017-07-14 Tom Tromey <tom@tromey.com>
183
184 PR rust/21764:
185 * gdb.rust/simple.exp: Add tests.
186
187 2017-07-14 Tom Tromey <tom@tromey.com>
188
189 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
190
191 2017-07-14 Pedro Alves <palves@redhat.com>
192
193 * gdb.linespec/base/one/thefile.cc (z1): New function.
194 * gdb.linespec/base/two/thefile.cc (z2): New function.
195 * gdb.linespec/linespec.exp: Add tests.
196
197 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
198
199 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
200 to mi_create_breakpoint.
201
202 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
203
204 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
205 mi_create_breakpoint.
206
207 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
208
209 * gdb.dlang/demangle.exp: Update for demangling changes.
210
211 2017-07-09 Tom Tromey <tom@tromey.com>
212
213 * gdb.dwarf2/shortpiece.exp: New file.
214
215 2017-07-06 David Blaikie <dblaikie@gmail.com>
216
217 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
218 built from fissiont-multi-cu{1,2}.c.
219 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
220 except putting 'main' and 'func' in separate CUs in the same DWO file.
221 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
222 test.
223 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
224 test.
225
226 2017-07-06 Pedro Alves <palves@redhat.com>
227
228 * gdb.python/py-unwind.exp: Test flushregs.
229
230 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
231
232 PR cli/21688
233 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
234 tests for alias commands and trailing whitespace.
235
236 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
237
238 PR cli/21688
239 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
240 procedure. Call it.
241
242 2017-06-29 Pedro Alves <palves@redhat.com>
243
244 * gdb.base/printcmds.exp: Add tests.
245
246 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
247
248 PR gdb/21337
249 * gdb.base/reread-readsym.exp: New file.
250 * gdb.base/reread-readsym.c: New file.
251
252 2017-06-21 Kevin Buettner <kevinb@redhat.com>
253
254 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
255 subpattern.
256
257 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
258
259 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
260 extended mnemonic.
261 * gdb.arch/powerpc-power9.s: Likewise.
262
263 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
264
265 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
266 on 32-bit x86 targets. Exploit is_*_target macros where
267 appropriate.
268
269 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
270
271 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
272 register pieces.
273
274 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
275
276 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
277 located in one or more DWARF pieces.
278
279 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
280
281 * lib/gdb.exp (get_endianness): New proc.
282 * gdb.arch/aarch64-fp.exp: Use it.
283 * gdb.arch/altivec-regs.exp: Likewise.
284 * gdb.arch/e500-regs.exp: Likewise.
285 * gdb.arch/vsx-regs.exp: Likewise.
286 * gdb.base/dump.exp: Likewise.
287 * gdb.base/funcargs.exp: Likewise.
288 * gdb.base/gnu_vector.exp: Likewise.
289 * gdb.dwarf2/formdata16.exp: Likewise.
290 * gdb.dwarf2/implptrpiece.exp: Likewise.
291 * gdb.dwarf2/nonvar-access.exp: Likewise.
292 * gdb.python/py-inferior.exp: Likewise.
293 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
294
295 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
296
297 PR gdb/21226
298 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
299 stack value pieces are taken from the LSB end.
300
301 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
302
303 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
304 variable at nonzero offset.
305
306 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
307
308 * gdb.dwarf2/var-access.c: New file.
309 * gdb.dwarf2/var-access.exp: New test.
310 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
311
312 2017-06-12 Tom Tromey <tom@tromey.com>
313
314 * gdb.dwarf2/formdata16.exp: Add tests.
315
316 2017-06-12 Tom Tromey <tom@tromey.com>
317
318 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
319
320 2017-06-12 Tom Tromey <tom@tromey.com>
321
322 PR exp/16225:
323 * gdb.reverse/i386-sse-reverse.exp: Update tests.
324 * gdb.arch/vsx-regs.exp: Update tests.
325 * gdb.arch/s390-vregs.exp (hex128): New proc.
326 Update test.
327 * gdb.arch/altivec-regs.exp: Update tests.
328
329 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
330
331 * gdb.base/startup-with-shell.c: New file.
332 * gdb.base/startup-with-shell.exp: Likewise.
333
334 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
335
336 * gdb.server/non-existing-program.exp: Update regex in order to
337 reflect the fact that gdbserver is now using fork_inferior (with a
338 shell) to startup the inferior.
339
340 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
341
342 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
343 support function calls from GDB.
344
345 2017-05-21 Tom Tromey <tom@tromey.com>
346
347 PR rust/21466:
348 * gdb.rust/unsized.exp: New file.
349 * gdb.rust/unsized.rs: New file.
350
351 2017-05-19 Tom Tromey <tom@tromey.com>
352
353 PR rust/21484:
354 * gdb.rust/watch.exp: New file.
355 * gdb.rust/watch.rs: New file.
356
357 2017-05-18 Tom Tromey <tom@tromey.com>
358
359 * gdb.rust/simple.exp: Allow Box to be qualified.
360
361 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
362
363 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
364
365 2017-05-18 Pedro Alves <palves@redhat.com>
366
367 * gdb.base/fileio.c (test_write, test_read, test_close)
368 (test_fstat): Don't print 'ret' in the fail path.
369
370 2017-05-18 Pedro Alves <palves@redhat.com>
371
372 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
373 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
374 (test_system, test_rename, test_unlink, test_time): Change
375 prototypes.
376 * gdb.base/fileio.exp (stop_msg): Adjust.
377
378 2017-05-18 Pedro Alves <palves@redhat.com>
379
380 * gdb.base/fileio.c (null_str): New global.
381 (test_stat): Use it.
382 * gdb.base/fileio.exp: Remove nowarnings.
383
384 2017-05-17 Yao Qi <yao.qi@linaro.org>
385
386 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
387
388 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
389
390 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
391 argument command.
392 (top-level): Invoke test_set_inferior_tty.
393
394 2017-05-04 Pedro Alves <palves@redhat.com>
395
396 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
397 Add parens to print call for Python 3.
398
399 2017-05-03 Keith Seitz <keiths@redhat.com>
400
401 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
402 (main): Call it.
403
404 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
405
406 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
407 to prev and next.
408
409 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
410
411 * gdb.python/py-record-btrace.exp: Remove test for
412 gdb.BtraceInstruction.error.
413
414 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
415
416 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
417
418 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
419
420 * gdb.python/py-record-btrace-threads.c: New file.
421 * gdb.python/py-record-btrace-threads.exp: New file.
422
423 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
424
425 PR testsuite/8595
426 * gdb.base/environ.exp: Make test available in all architectures.
427 Move bits related to "info program" testing to
428 gdb.base/info-program.exp. Rewrite tests to use the two new
429 procedures mentione below.
430 (test_set_show_env_var) New procedure.
431 (test_set_show_env_var_equal): Likewise.
432 * gdb.base/info-program.exp: New file.
433
434 2017-04-27 Keith Seitz <keiths@redhat.com>
435
436 * gdb.cp/oranking.cc (test15): New function.
437 (main): Call test15 and declare additional variables for testing.
438 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
439 "p foo101('abc')" tests.
440 Add tests for cv qualifier overloads.
441 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
442 "lvalue reference overload" test.
443 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
444 "print value of f1 on Child&& in f2" test.
445
446 2017-04-19 Pedro Alves <palves@redhat.com>
447
448 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
449 procedure.
450 (top level): Call it.
451 * lib/gdb.exp (gdb_define_cmd): New procedure.
452
453 2017-04-12 Pedro Alves <palves@redhat.com>
454
455 PR gdb/21323
456 * gdb.cp/wide_char_types.c: Include <wchar.h>.
457 (wchar): New global.
458 * gdb.cp/wide_char_types.exp (wide_char_types_program)
459 (do_test_wide_char, wide_char_types_no_program, top level): Add
460 wchar_t testing.
461
462 2017-04-12 Pedro Alves <palves@redhat.com>
463
464 PR c++/21323
465 * gdb.cp/wide_char_types.c: New file.
466 * gdb.cp/wide_char_types.exp: New file.
467
468 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
469
470 PR gdb/21352
471 * gdb.trace/tsv.exp: Add test for "tsave -r".
472
473 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
474
475 * gdb.dlang/watch-loc.c: New file.
476 * gdb.dlang/watch-loc.exp: New file.
477
478 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
479
480 * gdb.python/py-section-script.exp (sepdebug): New testcases.
481
482 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
483
484 * gdb.arch/arc-analyze-prologue.S: New file.
485 * gdb.arch/arc-analyze-prologue.exp: Likewise.
486
487 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
488
489 * gdb.arch/arc-decode-insn.S: New file.
490 * gdb.arch/arc-decode-insn.exp: Likewise.
491
492 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
493
494 PR tdep/20928
495 * gdb.arch/sparc64-regs.exp: New file.
496 * gdb.arch/sparc64-regs.S: Likewise.
497
498 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
499
500 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
501 and memory view on Python 3.
502
503 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
504 Keith Seitz <keiths@redhat.com>
505
506 PR gdb/14441
507 * gdb.cp/demangle.exp: Add rvalue reference tests.
508 * gdb.cp/rvalue-ref-casts.cc: New file.
509 * gdb.cp/rvalue-ref-casts.exp: New file.
510 * gdb.cp/rvalue-ref-overload.cc: New file.
511 * gdb.cp/rvalue-ref-overload.exp: New file.
512 * gdb.cp/rvalue-ref-params.cc: New file.
513 * gdb.cp/rvalue-ref-params.exp: New file.
514 * gdb.cp/rvalue-ref-sizeof.cc: New file.
515 * gdb.cp/rvalue-ref-sizeof.exp: New file.
516 * gdb.cp/rvalue-ref-types.cc: New file.
517 * gdb.cp/rvalue-ref-types.exp: New file.
518 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
519 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
520
521 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
522
523 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
524 New procedure.
525
526 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
527
528 * lib/mi-support.exp (mi_gdb_test): Add additional message
529 for unexpected output.
530
531 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
532
533 * gdb.base/examine-backward.c (Barrier): New character array
534 constant, to ensure that TestStrings is preceded by a string
535 terminator.
536
537 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
538
539 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
540 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
541 and implicit pointer into such a location.
542
543 2017-03-16 Doug Evans <dje@google.com>
544
545 * gdb.python/py-lazy-string (pointer): Really add new typedef.
546
547 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
548
549 * gdb.cp/m-static.exp: Fix expectation for prototype of
550 test5.single_constructor and single_constructor::single_constructor.
551
552 2017-03-16 Doug Evans <dje@google.com>
553
554 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
555 * gdb.guile/scm-lazy-string.c: New file.
556 * gdb.guile/scm-value.exp: Move lazy string tests to ...
557 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
558 for pointer, array, typedef lazy strings.
559
560 2017-03-16 Doug Evans <dje@google.com>
561
562 PR python/17728, python/18439, python/18779
563 * gdb.python/py-value.c (main) Delete locals sptr, sn.
564 * gdb.python/py-lazy-string.c (pointer): New typedef.
565 (main): New locals ptr, array, typedef_ptr.
566 * gdb.python/py-value.exp: Move lazy string tests to ...
567 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
568 array, typedef lazy strings.
569
570 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
571
572 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
573 Add optional 'test' parameter.
574
575 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
576
577 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
578 Skip for versions of DejaGnu < 1.5.
579
580 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
581
582 * lib/gdb.exp (dejagnu_version): New proc.
583 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
584 Use dejagnu_version.
585
586 2017-03-10 Keith Seitz <keiths@redhat.com>
587
588 PR c++/8128
589 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
590 type from destructor regexps.
591 Add a branch which actually passes the test.
592 Adjust "ptype t5i" test names.
593
594 2017-03-08 Pedro Alves <palves@redhat.com>
595
596 * gdb.base/step-over-exit.exp: Add explicit test message.
597
598 2017-03-08 Pedro Alves <palves@redhat.com>
599
600 PR gdb/18360
601 * gdb.threads/interrupt-while-step-over.c: New file.
602 * gdb.threads/interrupt-while-step-over.exp: New file.
603
604 2017-03-08 Pedro Alves <palves@redhat.com>
605
606 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
607 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
608
609 2017-03-08 Pedro Alves <palves@redhat.com>
610
611 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
612 PKRU as not supported as a PASS.
613
614 2017-03-08 Pedro Alves <palves@redhat.com>
615
616 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
617 prefix instead of $binfile1/$binfile2.
618 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
619 in test message.
620 * gdb.python/py-completion.exp: Use "load python file" as test
621 messages instead of unstable path names.
622
623 2017-03-08 Pedro Alves <palves@redhat.com>
624 Jan Kratochvil <jan.kratochvil@redhat.com>
625
626 PR cli/21218
627 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
628 New proc.
629 (top level): Call it.
630
631 2017-03-08 Pedro Alves <palves@redhat.com>
632
633 PR tui/21216
634 * gdb.tui/tui-nl-filtered-output.exp: New file.
635
636 2017-03-08 Pedro Alves <palves@redhat.com>
637
638 * gdb.base/completion.exp: Move TUI completion tests to ...
639 * gdb.tui/completion.exp: ... this new file.
640
641 2017-03-08 Pedro Alves <palves@redhat.com>
642
643 * gdb.base/tui-disasm-long-lines.c,
644 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
645 gdb.base/tui-layout.exp: Move to ...
646 * gdb.tui/: ... this new directory.
647
648 2017-03-07 Pedro Alves <palves@redhat.com>
649
650 * gdb.base/tui-layout.c: New file.
651 * gdb.base/tui-layout.exp: New file.
652
653 2017-03-07 Pedro Alves <palves@redhat.com>
654
655 * gdb.base/tui-layout.c: Rename to ...
656 * gdb.base/tui-disasm-long-lines.c: ... this.
657 * gdb.base/tui-layout.exp: Rename to ...
658 * gdb.base/tui-disasm-long-lines.exp: ... this.
659
660 2017-03-07 Pedro Alves <palves@redhat.com>
661
662 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
663
664 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
665
666 * i386-mpx-call.c: New file.
667 * i386-mpx-call.exp: New file.
668
669 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
670
671 * gdb.arch/powerpc-power.exp: Delete test.
672 * gdb.arch/powerpc-power.s: Likewise.
673 * gdb.disasm/disassembler-options.exp: New test.
674 * gdb.arch/powerpc-altivec.exp: Likewise.
675 * gdb.arch/powerpc-altivec.s: Likewise.
676 * gdb.arch/powerpc-altivec2.exp: Likewise.
677 * gdb.arch/powerpc-altivec2.s: Likewise.
678 * gdb.arch/powerpc-altivec3.exp: Likewise.
679 * gdb.arch/powerpc-altivec3.s: Likewise.
680 * gdb.arch/powerpc-power7.exp: Likewise.
681 * gdb.arch/powerpc-power7.s: Likewise.
682 * gdb.arch/powerpc-power8.exp: Likewise.
683 * gdb.arch/powerpc-power8.s: Likewise.
684 * gdb.arch/powerpc-power9.exp: Likewise.
685 * gdb.arch/powerpc-power9.s: Likewise.
686 * gdb.arch/powerpc-vsx.exp: Likewise.
687 * gdb.arch/powerpc-vsx.s: Likewise.
688 * gdb.arch/powerpc-vsx2.exp: Likewise.
689 * gdb.arch/powerpc-vsx2.s: Likewise.
690 * gdb.arch/powerpc-vsx3.exp: Likewise.
691 * gdb.arch/powerpc-vsx3.s: Likewise.
692 * gdb.arch/arm-disassembler-options.exp: Likewise.
693 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
694 * gdb.arch/s390-disassembler-options.exp: Likewise.
695
696 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
697
698 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
699 (check_supported_features): ... this. Changed return type to void.
700 (supports_rdseed): New static global.
701 (rdseed): Check supports_rdseed.
702 (initialize): Call check_supported_features.
703
704 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
705
706 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
707 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
708 and lqarx/stqcx.
709 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
710 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
711
712 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
713
714 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
715 uppercase.
716
717 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
718
719 * gdb.dwarf2/formdata16.c: New file.
720 * gdb.dwarf2/formdata16.exp: New file.
721 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
722
723 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
724
725 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
726 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
727 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
728 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
729 DW_AT_GNU_*.
730
731 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
732
733 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
734
735 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
736
737 PR gdb/21164
738 * gdb.base/maint.exp: Add testcases for when the commands do
739 not have arguments.
740
741 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
742
743 * gdb.cp/chained-calls.exp: Use p instead of P.
744
745 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
746
747 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
748 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
749
750 2017-02-14 Tom Tromey <tom@tromey.com>
751
752 PR python/13598:
753 * gdb.python/py-events.exp: Add before_prompt event tests.
754
755 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
756
757 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
758
759 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
760
761 * gdb.linespec/explicit.c (my_unique_function_name): New function.
762 (main): Call my_unique_function_name.
763 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
764 completion of patterns with a single match.
765 Add missing -re switches to gdb_test_multiple calls.
766
767 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
768
769 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
770 return if core file is not recognized.
771
772 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
773
774 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
775 and extra UIs.
776
777 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
778
779 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
780 proc_with_prefix.
781
782 2017-02-10 Tom Tromey <tom@tromey.com>
783
784 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
785
786 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
787
788 PR gdb/21122
789 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
790
791 2017-02-08 Jerome Guitton <guitton@adacore.com>
792
793 * gdb.base/define.exp: Add test for command abbreviations
794 in define.
795
796 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
797
798 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
799 * gdb.reverse/insn-reverse-x86.c: New file.
800
801 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
802
803 PR tdep/20936
804 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
805
806 2017-02-03 Tom Tromey <tom@tromey.com>
807
808 PR rust/21097:
809 * gdb.rust/simple.exp: Add new tests.
810
811 2017-02-02 Pedro Alves <palves@redhat.com>
812
813 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
814 tests.
815
816 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
817
818 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
819 taking a 2-byte value out of a 4-byte DWARF implicit value on
820 big-endian targets.
821 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
822 logic. Add test cases for DW_OP_implicit.
823
824 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
825
826 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
827
828 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
829
830 * gdb.btrace/enable.exp: Call gdb_exit before
831 skip_gdbserver_tests.
832
833 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
834
835 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
836 GDBFLAGS.
837
838 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
839
840 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
841 the test is skipped.
842 * gdb.btrace/data.exp: Likewise.
843 * gdb.btrace/delta.exp: Likewise.
844 * gdb.btrace/dlopen.exp: Likewise.
845 * gdb.btrace/enable-running.exp: Likewise.
846 * gdb.btrace/enable.exp: Likewise.
847 * gdb.btrace/exception.exp: Likewise.
848 * gdb.btrace/function_call_history.exp: Likewise.
849 * gdb.btrace/gcore.exp: Likewise.
850 * gdb.btrace/instruction_history.exp: Likewise.
851 * gdb.btrace/multi-thread-step.exp: Likewise.
852 * gdb.btrace/nohist.exp: Likewise.
853 * gdb.btrace/non-stop.exp: Likewise.
854 * gdb.btrace/reconnect.exp: Likewise.
855 * gdb.btrace/record_goto-step.exp: Likewise.
856 * gdb.btrace/record_goto.exp: Likewise.
857 * gdb.btrace/rn-dl-bind.exp: Likewise.
858 * gdb.btrace/segv.exp: Likewise.
859 * gdb.btrace/step.exp: Likewise.
860 * gdb.btrace/stepi.exp: Likewise.
861 * gdb.btrace/tailcall-only.exp: Likewise.
862 * gdb.btrace/tailcall.exp: Likewise.
863 * gdb.btrace/tsx.exp: Likewise.
864 * gdb.btrace/unknown_functions.exp: Likewise.
865 * gdb.btrace/vdso.exp: Likewise.
866
867 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
868
869 * gdb.btrace/enable-running.c: New.
870 * gdb.btrace/enable-running.exp: New.
871
872 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
873
874 * gdb.arch/amd64-gs_base.c: New file.
875 * gdb.arch/amd64-gs_base.exp: New file.
876
877 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
878
879 * lib/memory.exp: Remove spurious empty newlines.
880
881 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
882
883 * gdb.python/py-bad-printers.exp: Load python file using "source".
884 * gdb.python/py-events.exp: Likewise.
885 * gdb.python/py-evsignal.exp: Likewise.
886 * gdb.python/py-evthreads.exp: Likewise.
887 * gdb.python/py-frame-args.exp: Likewise.
888 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
889 * gdb.python/py-framefilter-mi.exp: Likewise.
890 * gdb.python/py-framefilter.exp: Likewise.
891 * gdb.python/py-mi.exp: Likewise.
892 * gdb.python/py-pp-maint.exp: Likewise.
893 * gdb.python/py-pp-registration.exp: Likewise.
894 * gdb.python/py-prettyprint.exp: Likewise.
895 (run_lang_tests): Likewise.
896 * gdb.python/py-typeprint.exp: Likewise.
897
898 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
899
900 * lib/memory.exp: New file.
901 * lib/gdb.exp: Load memory.exp.
902 * gdb.base/memattr.exp (delete_memory): Move proc to
903 lib/memory.exp and rename to delete_memory_regions.
904 Replace delete_memory with delete_memory_regions.
905 Cleanup memory regions before tests.
906 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
907 before tests.
908
909 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
910
911 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
912 files.
913 (initialize): New function conditionally defined.
914 (testcases): Move within conditional block.
915 (main): Call initialize.
916 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
917 of gdb.reverse/insn-reverse.c.
918 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
919 gdb.reverse/insn-reverse.c.
920
921 2017-01-26 Yao Qi <yao.qi@linaro.org>
922
923 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
924 disassemble on address 0.
925
926 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
927 Yao Qi <yao.qi@linaro.org>
928
929 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
930 * gdb.dwarf2/implptr-64bit.S: Remove.
931 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
932 variables in caller's context. Add DW_OP_implicit_value.
933
934 2017-01-25 Yao Qi <yao.qi@linaro.org>
935
936 * lib/dwarf.exp (Dwarf::_location): Handle
937 DW_OP_GNU_implicit_pointer with proper size.
938
939 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
940
941 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
942 and add untested calls.
943
944 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
945
946 * gdb.python/python.exp: Check line number against what GDB thinks
947 the line number is for func1.
948
949 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
950
951 * gdb.dlang/debug-expr.exp: New file.
952
953 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
954
955 Fix test names for the following files:
956
957 * gdb.ada/exec_changed.exp
958 * gdb.ada/info_types.exp
959 * gdb.arch/aarch64-atomic-inst.exp
960 * gdb.arch/aarch64-fp.exp
961 * gdb.arch/altivec-abi.exp
962 * gdb.arch/altivec-regs.exp
963 * gdb.arch/amd64-byte.exp
964 * gdb.arch/amd64-disp-step.exp
965 * gdb.arch/amd64-dword.exp
966 * gdb.arch/amd64-entry-value-inline.exp
967 * gdb.arch/amd64-entry-value-param.exp
968 * gdb.arch/amd64-entry-value-paramref.exp
969 * gdb.arch/amd64-entry-value.exp
970 * gdb.arch/amd64-i386-address.exp
971 * gdb.arch/amd64-invalid-stack-middle.exp
972 * gdb.arch/amd64-invalid-stack-top.exp
973 * gdb.arch/amd64-optimout-repeat.exp
974 * gdb.arch/amd64-prologue-skip.exp
975 * gdb.arch/amd64-prologue-xmm.exp
976 * gdb.arch/amd64-stap-special-operands.exp
977 * gdb.arch/amd64-stap-wrong-subexp.exp
978 * gdb.arch/amd64-tailcall-cxx.exp
979 * gdb.arch/amd64-tailcall-noret.exp
980 * gdb.arch/amd64-tailcall-ret.exp
981 * gdb.arch/amd64-tailcall-self.exp
982 * gdb.arch/amd64-word.exp
983 * gdb.arch/arm-bl-branch-dest.exp
984 * gdb.arch/arm-disp-step.exp
985 * gdb.arch/arm-neon.exp
986 * gdb.arch/arm-single-step-kernel-helper.exp
987 * gdb.arch/avr-flash-qualifier.exp
988 * gdb.arch/disp-step-insn-reloc.exp
989 * gdb.arch/e500-abi.exp
990 * gdb.arch/e500-regs.exp
991 * gdb.arch/ftrace-insn-reloc.exp
992 * gdb.arch/i386-avx512.exp
993 * gdb.arch/i386-bp_permanent.exp
994 * gdb.arch/i386-byte.exp
995 * gdb.arch/i386-cfi-notcurrent.exp
996 * gdb.arch/i386-disp-step.exp
997 * gdb.arch/i386-dr3-watch.exp
998 * gdb.arch/i386-float.exp
999 * gdb.arch/i386-gnu-cfi.exp
1000 * gdb.arch/i386-mpx-map.exp
1001 * gdb.arch/i386-mpx-sigsegv.exp
1002 * gdb.arch/i386-mpx-simple_segv.exp
1003 * gdb.arch/i386-mpx.exp
1004 * gdb.arch/i386-permbkpt.exp
1005 * gdb.arch/i386-prologue.exp
1006 * gdb.arch/i386-signal.exp
1007 * gdb.arch/i386-size-overlap.exp
1008 * gdb.arch/i386-unwind.exp
1009 * gdb.arch/i386-word.exp
1010 * gdb.arch/mips-fcr.exp
1011 * gdb.arch/powerpc-d128-regs.exp
1012 * gdb.arch/powerpc-stackless.exp
1013 * gdb.arch/ppc64-atomic-inst.exp
1014 * gdb.arch/s390-stackless.exp
1015 * gdb.arch/s390-tdbregs.exp
1016 * gdb.arch/s390-vregs.exp
1017 * gdb.arch/sparc-sysstep.exp
1018 * gdb.arch/thumb-bx-pc.exp
1019 * gdb.arch/thumb-singlestep.exp
1020 * gdb.arch/thumb2-it.exp
1021 * gdb.arch/vsx-regs.exp
1022 * gdb.asm/asm-source.exp
1023 * gdb.base/a2-run.exp
1024 * gdb.base/advance.exp
1025 * gdb.base/all-bin.exp
1026 * gdb.base/anon.exp
1027 * gdb.base/args.exp
1028 * gdb.base/arithmet.exp
1029 * gdb.base/async-shell.exp
1030 * gdb.base/async.exp
1031 * gdb.base/attach-pie-noexec.exp
1032 * gdb.base/attach-twice.exp
1033 * gdb.base/auto-load.exp
1034 * gdb.base/bang.exp
1035 * gdb.base/bitfields.exp
1036 * gdb.base/break-always.exp
1037 * gdb.base/break-caller-line.exp
1038 * gdb.base/break-entry.exp
1039 * gdb.base/break-inline.exp
1040 * gdb.base/break-on-linker-gcd-function.exp
1041 * gdb.base/break-probes.exp
1042 * gdb.base/break.exp
1043 * gdb.base/breakpoint-shadow.exp
1044 * gdb.base/call-ar-st.exp
1045 * gdb.base/call-sc.exp
1046 * gdb.base/call-signal-resume.exp
1047 * gdb.base/call-strs.exp
1048 * gdb.base/callfuncs.exp
1049 * gdb.base/catch-fork-static.exp
1050 * gdb.base/catch-gdb-caused-signals.exp
1051 * gdb.base/catch-load.exp
1052 * gdb.base/catch-signal-fork.exp
1053 * gdb.base/catch-signal.exp
1054 * gdb.base/catch-syscall.exp
1055 * gdb.base/charset.exp
1056 * gdb.base/checkpoint.exp
1057 * gdb.base/chng-syms.exp
1058 * gdb.base/code-expr.exp
1059 * gdb.base/code_elim.exp
1060 * gdb.base/commands.exp
1061 * gdb.base/completion.exp
1062 * gdb.base/complex.exp
1063 * gdb.base/cond-expr.exp
1064 * gdb.base/condbreak.exp
1065 * gdb.base/consecutive.exp
1066 * gdb.base/continue-all-already-running.exp
1067 * gdb.base/coredump-filter.exp
1068 * gdb.base/corefile.exp
1069 * gdb.base/dbx.exp
1070 * gdb.base/debug-expr.exp
1071 * gdb.base/define.exp
1072 * gdb.base/del.exp
1073 * gdb.base/disabled-location.exp
1074 * gdb.base/disasm-end-cu.exp
1075 * gdb.base/disasm-optim.exp
1076 * gdb.base/display.exp
1077 * gdb.base/duplicate-bp.exp
1078 * gdb.base/ena-dis-br.exp
1079 * gdb.base/ending-run.exp
1080 * gdb.base/enumval.exp
1081 * gdb.base/environ.exp
1082 * gdb.base/eu-strip-infcall.exp
1083 * gdb.base/eval-avoid-side-effects.exp
1084 * gdb.base/eval-skip.exp
1085 * gdb.base/exitsignal.exp
1086 * gdb.base/expand-psymtabs.exp
1087 * gdb.base/filesym.exp
1088 * gdb.base/find-unmapped.exp
1089 * gdb.base/finish.exp
1090 * gdb.base/float.exp
1091 * gdb.base/foll-exec-mode.exp
1092 * gdb.base/foll-exec.exp
1093 * gdb.base/foll-fork.exp
1094 * gdb.base/fortran-sym-case.exp
1095 * gdb.base/freebpcmd.exp
1096 * gdb.base/func-ptr.exp
1097 * gdb.base/func-ptrs.exp
1098 * gdb.base/funcargs.exp
1099 * gdb.base/gcore-buffer-overflow.exp
1100 * gdb.base/gcore-relro-pie.exp
1101 * gdb.base/gcore-relro.exp
1102 * gdb.base/gcore.exp
1103 * gdb.base/gdb1090.exp
1104 * gdb.base/gdb11530.exp
1105 * gdb.base/gdb11531.exp
1106 * gdb.base/gdb1821.exp
1107 * gdb.base/gdbindex-stabs.exp
1108 * gdb.base/gdbvars.exp
1109 * gdb.base/hbreak.exp
1110 * gdb.base/hbreak2.exp
1111 * gdb.base/included.exp
1112 * gdb.base/infcall-input.exp
1113 * gdb.base/inferior-died.exp
1114 * gdb.base/infnan.exp
1115 * gdb.base/info-macros.exp
1116 * gdb.base/info-os.exp
1117 * gdb.base/info-proc.exp
1118 * gdb.base/info-shared.exp
1119 * gdb.base/info-target.exp
1120 * gdb.base/infoline.exp
1121 * gdb.base/interp.exp
1122 * gdb.base/interrupt.exp
1123 * gdb.base/jit-reader.exp
1124 * gdb.base/jit-simple.exp
1125 * gdb.base/kill-after-signal.exp
1126 * gdb.base/kill-detach-inferiors-cmd.exp
1127 * gdb.base/label.exp
1128 * gdb.base/langs.exp
1129 * gdb.base/ldbl_e308.exp
1130 * gdb.base/line-symtabs.exp
1131 * gdb.base/linespecs.exp
1132 * gdb.base/list.exp
1133 * gdb.base/long_long.exp
1134 * gdb.base/longest-types.exp
1135 * gdb.base/maint.exp
1136 * gdb.base/max-value-size.exp
1137 * gdb.base/memattr.exp
1138 * gdb.base/mips_pro.exp
1139 * gdb.base/morestack.exp
1140 * gdb.base/moribund-step.exp
1141 * gdb.base/multi-forks.exp
1142 * gdb.base/nested-addr.exp
1143 * gdb.base/nextoverexit.exp
1144 * gdb.base/noreturn-finish.exp
1145 * gdb.base/noreturn-return.exp
1146 * gdb.base/nostdlib.exp
1147 * gdb.base/offsets.exp
1148 * gdb.base/opaque.exp
1149 * gdb.base/pc-fp.exp
1150 * gdb.base/permissions.exp
1151 * gdb.base/print-symbol-loading.exp
1152 * gdb.base/prologue-include.exp
1153 * gdb.base/psymtab.exp
1154 * gdb.base/ptype.exp
1155 * gdb.base/random-signal.exp
1156 * gdb.base/randomize.exp
1157 * gdb.base/range-stepping.exp
1158 * gdb.base/readline-ask.exp
1159 * gdb.base/recpar.exp
1160 * gdb.base/recurse.exp
1161 * gdb.base/relational.exp
1162 * gdb.base/restore.exp
1163 * gdb.base/return-nodebug.exp
1164 * gdb.base/return.exp
1165 * gdb.base/run-after-attach.exp
1166 * gdb.base/save-bp.exp
1167 * gdb.base/scope.exp
1168 * gdb.base/sect-cmd.exp
1169 * gdb.base/set-lang-auto.exp
1170 * gdb.base/set-noassign.exp
1171 * gdb.base/setvar.exp
1172 * gdb.base/sigall.exp
1173 * gdb.base/sigbpt.exp
1174 * gdb.base/siginfo-addr.exp
1175 * gdb.base/siginfo-infcall.exp
1176 * gdb.base/siginfo-obj.exp
1177 * gdb.base/siginfo.exp
1178 * gdb.base/signals-state-child.exp
1179 * gdb.base/signest.exp
1180 * gdb.base/sigstep.exp
1181 * gdb.base/sizeof.exp
1182 * gdb.base/skip.exp
1183 * gdb.base/solib-corrupted.exp
1184 * gdb.base/solib-nodir.exp
1185 * gdb.base/solib-search.exp
1186 * gdb.base/stack-checking.exp
1187 * gdb.base/stale-infcall.exp
1188 * gdb.base/stap-probe.exp
1189 * gdb.base/start.exp
1190 * gdb.base/step-break.exp
1191 * gdb.base/step-bt.exp
1192 * gdb.base/step-line.exp
1193 * gdb.base/step-over-exit.exp
1194 * gdb.base/step-over-syscall.exp
1195 * gdb.base/step-resume-infcall.exp
1196 * gdb.base/step-test.exp
1197 * gdb.base/store.exp
1198 * gdb.base/structs3.exp
1199 * gdb.base/sym-file.exp
1200 * gdb.base/symbol-without-target_section.exp
1201 * gdb.base/term.exp
1202 * gdb.base/testenv.exp
1203 * gdb.base/ui-redirect.exp
1204 * gdb.base/until.exp
1205 * gdb.base/unwindonsignal.exp
1206 * gdb.base/value-double-free.exp
1207 * gdb.base/vla-datatypes.exp
1208 * gdb.base/vla-ptr.exp
1209 * gdb.base/vla-sideeffect.exp
1210 * gdb.base/volatile.exp
1211 * gdb.base/watch-cond-infcall.exp
1212 * gdb.base/watch-cond.exp
1213 * gdb.base/watch-non-mem.exp
1214 * gdb.base/watch-read.exp
1215 * gdb.base/watch-vfork.exp
1216 * gdb.base/watchpoint-cond-gone.exp
1217 * gdb.base/watchpoint-delete.exp
1218 * gdb.base/watchpoint-hw-hit-once.exp
1219 * gdb.base/watchpoint-hw.exp
1220 * gdb.base/watchpoint-stops-at-right-insn.exp
1221 * gdb.base/watchpoints.exp
1222 * gdb.base/wchar.exp
1223 * gdb.base/whatis-exp.exp
1224 * gdb.btrace/buffer-size.exp
1225 * gdb.btrace/data.exp
1226 * gdb.btrace/delta.exp
1227 * gdb.btrace/dlopen.exp
1228 * gdb.btrace/enable.exp
1229 * gdb.btrace/exception.exp
1230 * gdb.btrace/function_call_history.exp
1231 * gdb.btrace/gcore.exp
1232 * gdb.btrace/instruction_history.exp
1233 * gdb.btrace/nohist.exp
1234 * gdb.btrace/reconnect.exp
1235 * gdb.btrace/record_goto-step.exp
1236 * gdb.btrace/record_goto.exp
1237 * gdb.btrace/rn-dl-bind.exp
1238 * gdb.btrace/segv.exp
1239 * gdb.btrace/step.exp
1240 * gdb.btrace/stepi.exp
1241 * gdb.btrace/tailcall-only.exp
1242 * gdb.btrace/tailcall.exp
1243 * gdb.btrace/tsx.exp
1244 * gdb.btrace/unknown_functions.exp
1245 * gdb.btrace/vdso.exp
1246 * gdb.compile/compile-ifunc.exp
1247 * gdb.compile/compile-ops.exp
1248 * gdb.compile/compile-print.exp
1249 * gdb.compile/compile-setjmp.exp
1250 * gdb.cp/abstract-origin.exp
1251 * gdb.cp/ambiguous.exp
1252 * gdb.cp/annota2.exp
1253 * gdb.cp/annota3.exp
1254 * gdb.cp/anon-ns.exp
1255 * gdb.cp/anon-struct.exp
1256 * gdb.cp/anon-union.exp
1257 * gdb.cp/arg-reference.exp
1258 * gdb.cp/baseenum.exp
1259 * gdb.cp/bool.exp
1260 * gdb.cp/breakpoint.exp
1261 * gdb.cp/bs15503.exp
1262 * gdb.cp/call-c.exp
1263 * gdb.cp/casts.exp
1264 * gdb.cp/chained-calls.exp
1265 * gdb.cp/class2.exp
1266 * gdb.cp/classes.exp
1267 * gdb.cp/cmpd-minsyms.exp
1268 * gdb.cp/converts.exp
1269 * gdb.cp/cp-relocate.exp
1270 * gdb.cp/cpcompletion.exp
1271 * gdb.cp/cpexprs.exp
1272 * gdb.cp/cplabel.exp
1273 * gdb.cp/cplusfuncs.exp
1274 * gdb.cp/cpsizeof.exp
1275 * gdb.cp/ctti.exp
1276 * gdb.cp/derivation.exp
1277 * gdb.cp/destrprint.exp
1278 * gdb.cp/dispcxx.exp
1279 * gdb.cp/enum-class.exp
1280 * gdb.cp/exception.exp
1281 * gdb.cp/exceptprint.exp
1282 * gdb.cp/expand-psymtabs-cxx.exp
1283 * gdb.cp/expand-sals.exp
1284 * gdb.cp/extern-c.exp
1285 * gdb.cp/filename.exp
1286 * gdb.cp/formatted-ref.exp
1287 * gdb.cp/fpointer.exp
1288 * gdb.cp/gdb1355.exp
1289 * gdb.cp/gdb2495.exp
1290 * gdb.cp/hang.exp
1291 * gdb.cp/impl-this.exp
1292 * gdb.cp/infcall-dlopen.exp
1293 * gdb.cp/inherit.exp
1294 * gdb.cp/iostream.exp
1295 * gdb.cp/koenig.exp
1296 * gdb.cp/local.exp
1297 * gdb.cp/m-data.exp
1298 * gdb.cp/m-static.exp
1299 * gdb.cp/mb-ctor.exp
1300 * gdb.cp/mb-inline.exp
1301 * gdb.cp/mb-templates.exp
1302 * gdb.cp/member-name.exp
1303 * gdb.cp/member-ptr.exp
1304 * gdb.cp/meth-typedefs.exp
1305 * gdb.cp/method.exp
1306 * gdb.cp/method2.exp
1307 * gdb.cp/minsym-fallback.exp
1308 * gdb.cp/misc.exp
1309 * gdb.cp/namelessclass.exp
1310 * gdb.cp/namespace-enum.exp
1311 * gdb.cp/namespace-nested-import.exp
1312 * gdb.cp/namespace.exp
1313 * gdb.cp/nextoverthrow.exp
1314 * gdb.cp/no-dmgl-verbose.exp
1315 * gdb.cp/non-trivial-retval.exp
1316 * gdb.cp/noparam.exp
1317 * gdb.cp/nsdecl.exp
1318 * gdb.cp/nsimport.exp
1319 * gdb.cp/nsnested.exp
1320 * gdb.cp/nsnoimports.exp
1321 * gdb.cp/nsrecurs.exp
1322 * gdb.cp/nsstress.exp
1323 * gdb.cp/nsusing.exp
1324 * gdb.cp/operator.exp
1325 * gdb.cp/oranking.exp
1326 * gdb.cp/overload-const.exp
1327 * gdb.cp/overload.exp
1328 * gdb.cp/ovldbreak.exp
1329 * gdb.cp/ovsrch.exp
1330 * gdb.cp/paren-type.exp
1331 * gdb.cp/parse-lang.exp
1332 * gdb.cp/pass-by-ref.exp
1333 * gdb.cp/pr-1023.exp
1334 * gdb.cp/pr-1210.exp
1335 * gdb.cp/pr-574.exp
1336 * gdb.cp/pr10687.exp
1337 * gdb.cp/pr12028.exp
1338 * gdb.cp/pr17132.exp
1339 * gdb.cp/pr17494.exp
1340 * gdb.cp/pr9067.exp
1341 * gdb.cp/pr9167.exp
1342 * gdb.cp/pr9631.exp
1343 * gdb.cp/printmethod.exp
1344 * gdb.cp/psmang.exp
1345 * gdb.cp/psymtab-parameter.exp
1346 * gdb.cp/ptype-cv-cp.exp
1347 * gdb.cp/ptype-flags.exp
1348 * gdb.cp/re-set-overloaded.exp
1349 * gdb.cp/ref-types.exp
1350 * gdb.cp/rtti.exp
1351 * gdb.cp/scope-err.exp
1352 * gdb.cp/shadow.exp
1353 * gdb.cp/smartp.exp
1354 * gdb.cp/static-method.exp
1355 * gdb.cp/static-print-quit.exp
1356 * gdb.cp/temargs.exp
1357 * gdb.cp/templates.exp
1358 * gdb.cp/try_catch.exp
1359 * gdb.cp/typedef-operator.exp
1360 * gdb.cp/typeid.exp
1361 * gdb.cp/userdef.exp
1362 * gdb.cp/using-crash.exp
1363 * gdb.cp/var-tag.exp
1364 * gdb.cp/virtbase.exp
1365 * gdb.cp/virtfunc.exp
1366 * gdb.cp/virtfunc2.exp
1367 * gdb.cp/vla-cxx.exp
1368 * gdb.disasm/t01_mov.exp
1369 * gdb.disasm/t02_mova.exp
1370 * gdb.disasm/t03_add.exp
1371 * gdb.disasm/t04_sub.exp
1372 * gdb.disasm/t05_cmp.exp
1373 * gdb.disasm/t06_ari2.exp
1374 * gdb.disasm/t07_ari3.exp
1375 * gdb.disasm/t08_or.exp
1376 * gdb.disasm/t09_xor.exp
1377 * gdb.disasm/t10_and.exp
1378 * gdb.disasm/t11_logs.exp
1379 * gdb.disasm/t12_bit.exp
1380 * gdb.disasm/t13_otr.exp
1381 * gdb.dlang/circular.exp
1382 * gdb.dwarf2/arr-stride.exp
1383 * gdb.dwarf2/arr-subrange.exp
1384 * gdb.dwarf2/atomic-type.exp
1385 * gdb.dwarf2/bad-regnum.exp
1386 * gdb.dwarf2/bitfield-parent-optimized-out.exp
1387 * gdb.dwarf2/callframecfa.exp
1388 * gdb.dwarf2/clztest.exp
1389 * gdb.dwarf2/corrupt.exp
1390 * gdb.dwarf2/data-loc.exp
1391 * gdb.dwarf2/dup-psym.exp
1392 * gdb.dwarf2/dw2-anon-mptr.exp
1393 * gdb.dwarf2/dw2-anonymous-func.exp
1394 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
1395 * gdb.dwarf2/dw2-bad-unresolved.exp
1396 * gdb.dwarf2/dw2-basic.exp
1397 * gdb.dwarf2/dw2-canonicalize-type.exp
1398 * gdb.dwarf2/dw2-case-insensitive.exp
1399 * gdb.dwarf2/dw2-common-block.exp
1400 * gdb.dwarf2/dw2-compdir-oldgcc.exp
1401 * gdb.dwarf2/dw2-compressed.exp
1402 * gdb.dwarf2/dw2-const.exp
1403 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
1404 * gdb.dwarf2/dw2-cu-size.exp
1405 * gdb.dwarf2/dw2-dup-frame.exp
1406 * gdb.dwarf2/dw2-entry-value.exp
1407 * gdb.dwarf2/dw2-icycle.exp
1408 * gdb.dwarf2/dw2-ifort-parameter.exp
1409 * gdb.dwarf2/dw2-inline-break.exp
1410 * gdb.dwarf2/dw2-inline-param.exp
1411 * gdb.dwarf2/dw2-intercu.exp
1412 * gdb.dwarf2/dw2-intermix.exp
1413 * gdb.dwarf2/dw2-lexical-block-bare.exp
1414 * gdb.dwarf2/dw2-linkage-name-trust.exp
1415 * gdb.dwarf2/dw2-minsym-in-cu.exp
1416 * gdb.dwarf2/dw2-noloc.exp
1417 * gdb.dwarf2/dw2-op-call.exp
1418 * gdb.dwarf2/dw2-op-out-param.exp
1419 * gdb.dwarf2/dw2-opt-structptr.exp
1420 * gdb.dwarf2/dw2-param-error.exp
1421 * gdb.dwarf2/dw2-producer.exp
1422 * gdb.dwarf2/dw2-ranges-base.exp
1423 * gdb.dwarf2/dw2-ref-missing-frame.exp
1424 * gdb.dwarf2/dw2-reg-undefined.exp
1425 * gdb.dwarf2/dw2-regno-invalid.exp
1426 * gdb.dwarf2/dw2-restore.exp
1427 * gdb.dwarf2/dw2-restrict.exp
1428 * gdb.dwarf2/dw2-single-line-discriminators.exp
1429 * gdb.dwarf2/dw2-strp.exp
1430 * gdb.dwarf2/dw2-undefined-ret-addr.exp
1431 * gdb.dwarf2/dw2-unresolved.exp
1432 * gdb.dwarf2/dw2-var-zero-addr.exp
1433 * gdb.dwarf2/dw4-sig-types.exp
1434 * gdb.dwarf2/dwz.exp
1435 * gdb.dwarf2/dynarr-ptr.exp
1436 * gdb.dwarf2/enum-type.exp
1437 * gdb.dwarf2/gdb-index.exp
1438 * gdb.dwarf2/implptr-64bit.exp
1439 * gdb.dwarf2/implptr-optimized-out.exp
1440 * gdb.dwarf2/implptr.exp
1441 * gdb.dwarf2/implref-array.exp
1442 * gdb.dwarf2/implref-const.exp
1443 * gdb.dwarf2/implref-global.exp
1444 * gdb.dwarf2/implref-struct.exp
1445 * gdb.dwarf2/mac-fileno.exp
1446 * gdb.dwarf2/main-subprogram.exp
1447 * gdb.dwarf2/member-ptr-forwardref.exp
1448 * gdb.dwarf2/method-ptr.exp
1449 * gdb.dwarf2/missing-sig-type.exp
1450 * gdb.dwarf2/nonvar-access.exp
1451 * gdb.dwarf2/opaque-type-lookup.exp
1452 * gdb.dwarf2/pieces-optimized-out.exp
1453 * gdb.dwarf2/pieces.exp
1454 * gdb.dwarf2/pr10770.exp
1455 * gdb.dwarf2/pr13961.exp
1456 * gdb.dwarf2/staticvirtual.exp
1457 * gdb.dwarf2/subrange.exp
1458 * gdb.dwarf2/symtab-producer.exp
1459 * gdb.dwarf2/trace-crash.exp
1460 * gdb.dwarf2/typeddwarf.exp
1461 * gdb.dwarf2/valop.exp
1462 * gdb.dwarf2/watch-notconst.exp
1463 * gdb.fortran/array-element.exp
1464 * gdb.fortran/charset.exp
1465 * gdb.fortran/common-block.exp
1466 * gdb.fortran/complex.exp
1467 * gdb.fortran/derived-type-function.exp
1468 * gdb.fortran/derived-type.exp
1469 * gdb.fortran/logical.exp
1470 * gdb.fortran/module.exp
1471 * gdb.fortran/multi-dim.exp
1472 * gdb.fortran/nested-funcs.exp
1473 * gdb.fortran/print-formatted.exp
1474 * gdb.fortran/subarray.exp
1475 * gdb.fortran/vla-alloc-assoc.exp
1476 * gdb.fortran/vla-datatypes.exp
1477 * gdb.fortran/vla-history.exp
1478 * gdb.fortran/vla-ptr-info.exp
1479 * gdb.fortran/vla-ptype-sub.exp
1480 * gdb.fortran/vla-ptype.exp
1481 * gdb.fortran/vla-sizeof.exp
1482 * gdb.fortran/vla-type.exp
1483 * gdb.fortran/vla-value-sub-arbitrary.exp
1484 * gdb.fortran/vla-value-sub-finish.exp
1485 * gdb.fortran/vla-value-sub.exp
1486 * gdb.fortran/vla-value.exp
1487 * gdb.fortran/whatis_type.exp
1488 * gdb.go/chan.exp
1489 * gdb.go/handcall.exp
1490 * gdb.go/hello.exp
1491 * gdb.go/integers.exp
1492 * gdb.go/methods.exp
1493 * gdb.go/package.exp
1494 * gdb.go/strings.exp
1495 * gdb.go/types.exp
1496 * gdb.go/unsafe.exp
1497 * gdb.guile/scm-arch.exp
1498 * gdb.guile/scm-block.exp
1499 * gdb.guile/scm-breakpoint.exp
1500 * gdb.guile/scm-cmd.exp
1501 * gdb.guile/scm-disasm.exp
1502 * gdb.guile/scm-equal.exp
1503 * gdb.guile/scm-frame-args.exp
1504 * gdb.guile/scm-frame-inline.exp
1505 * gdb.guile/scm-frame.exp
1506 * gdb.guile/scm-iterator.exp
1507 * gdb.guile/scm-math.exp
1508 * gdb.guile/scm-objfile.exp
1509 * gdb.guile/scm-ports.exp
1510 * gdb.guile/scm-symbol.exp
1511 * gdb.guile/scm-symtab.exp
1512 * gdb.guile/scm-value-cc.exp
1513 * gdb.guile/types-module.exp
1514 * gdb.linespec/break-ask.exp
1515 * gdb.linespec/cpexplicit.exp
1516 * gdb.linespec/explicit.exp
1517 * gdb.linespec/keywords.exp
1518 * gdb.linespec/linespec.exp
1519 * gdb.linespec/ls-dollar.exp
1520 * gdb.linespec/ls-errs.exp
1521 * gdb.linespec/skip-two.exp
1522 * gdb.linespec/thread.exp
1523 * gdb.mi/mi-async.exp
1524 * gdb.mi/mi-basics.exp
1525 * gdb.mi/mi-break.exp
1526 * gdb.mi/mi-catch-load.exp
1527 * gdb.mi/mi-cli.exp
1528 * gdb.mi/mi-cmd-param-changed.exp
1529 * gdb.mi/mi-console.exp
1530 * gdb.mi/mi-detach.exp
1531 * gdb.mi/mi-disassemble.exp
1532 * gdb.mi/mi-eval.exp
1533 * gdb.mi/mi-file-transfer.exp
1534 * gdb.mi/mi-file.exp
1535 * gdb.mi/mi-fill-memory.exp
1536 * gdb.mi/mi-inheritance-syntax-error.exp
1537 * gdb.mi/mi-linespec-err-cp.exp
1538 * gdb.mi/mi-logging.exp
1539 * gdb.mi/mi-memory-changed.exp
1540 * gdb.mi/mi-read-memory.exp
1541 * gdb.mi/mi-record-changed.exp
1542 * gdb.mi/mi-reg-undefined.exp
1543 * gdb.mi/mi-regs.exp
1544 * gdb.mi/mi-return.exp
1545 * gdb.mi/mi-reverse.exp
1546 * gdb.mi/mi-simplerun.exp
1547 * gdb.mi/mi-solib.exp
1548 * gdb.mi/mi-stack.exp
1549 * gdb.mi/mi-stepi.exp
1550 * gdb.mi/mi-syn-frame.exp
1551 * gdb.mi/mi-until.exp
1552 * gdb.mi/mi-var-block.exp
1553 * gdb.mi/mi-var-child.exp
1554 * gdb.mi/mi-var-cmd.exp
1555 * gdb.mi/mi-var-cp.exp
1556 * gdb.mi/mi-var-display.exp
1557 * gdb.mi/mi-var-invalidate.exp
1558 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
1559 * gdb.mi/mi-vla-fortran.exp
1560 * gdb.mi/mi-watch.exp
1561 * gdb.mi/mi2-var-child.exp
1562 * gdb.mi/user-selected-context-sync.exp
1563 * gdb.modula2/unbounded-array.exp
1564 * gdb.multi/dummy-frame-restore.exp
1565 * gdb.multi/multi-arch-exec.exp
1566 * gdb.multi/multi-arch.exp
1567 * gdb.multi/tids.exp
1568 * gdb.multi/watchpoint-multi.exp
1569 * gdb.opencl/callfuncs.exp
1570 * gdb.opencl/convs_casts.exp
1571 * gdb.opencl/datatypes.exp
1572 * gdb.opencl/operators.exp
1573 * gdb.opencl/vec_comps.exp
1574 * gdb.opt/clobbered-registers-O2.exp
1575 * gdb.opt/inline-break.exp
1576 * gdb.opt/inline-bt.exp
1577 * gdb.opt/inline-cmds.exp
1578 * gdb.opt/inline-locals.exp
1579 * gdb.pascal/case-insensitive-symbols.exp
1580 * gdb.pascal/floats.exp
1581 * gdb.pascal/gdb11492.exp
1582 * gdb.python/lib-types.exp
1583 * gdb.python/py-arch.exp
1584 * gdb.python/py-as-string.exp
1585 * gdb.python/py-bad-printers.exp
1586 * gdb.python/py-block.exp
1587 * gdb.python/py-breakpoint-create-fail.exp
1588 * gdb.python/py-breakpoint.exp
1589 * gdb.python/py-caller-is.exp
1590 * gdb.python/py-cmd.exp
1591 * gdb.python/py-explore-cc.exp
1592 * gdb.python/py-explore.exp
1593 * gdb.python/py-finish-breakpoint.exp
1594 * gdb.python/py-finish-breakpoint2.exp
1595 * gdb.python/py-frame-args.exp
1596 * gdb.python/py-frame-inline.exp
1597 * gdb.python/py-frame.exp
1598 * gdb.python/py-framefilter-mi.exp
1599 * gdb.python/py-infthread.exp
1600 * gdb.python/py-lazy-string.exp
1601 * gdb.python/py-linetable.exp
1602 * gdb.python/py-mi-events.exp
1603 * gdb.python/py-mi-objfile.exp
1604 * gdb.python/py-mi.exp
1605 * gdb.python/py-objfile.exp
1606 * gdb.python/py-pp-integral.exp
1607 * gdb.python/py-pp-maint.exp
1608 * gdb.python/py-pp-re-notag.exp
1609 * gdb.python/py-pp-registration.exp
1610 * gdb.python/py-recurse-unwind.exp
1611 * gdb.python/py-strfns.exp
1612 * gdb.python/py-symbol.exp
1613 * gdb.python/py-symtab.exp
1614 * gdb.python/py-sync-interp.exp
1615 * gdb.python/py-typeprint.exp
1616 * gdb.python/py-unwind-maint.exp
1617 * gdb.python/py-unwind.exp
1618 * gdb.python/py-value-cc.exp
1619 * gdb.python/py-xmethods.exp
1620 * gdb.reverse/amd64-tailcall-reverse.exp
1621 * gdb.reverse/break-precsave.exp
1622 * gdb.reverse/break-reverse.exp
1623 * gdb.reverse/consecutive-precsave.exp
1624 * gdb.reverse/consecutive-reverse.exp
1625 * gdb.reverse/finish-precsave.exp
1626 * gdb.reverse/finish-reverse-bkpt.exp
1627 * gdb.reverse/finish-reverse.exp
1628 * gdb.reverse/fstatat-reverse.exp
1629 * gdb.reverse/getresuid-reverse.exp
1630 * gdb.reverse/i386-precsave.exp
1631 * gdb.reverse/i386-reverse.exp
1632 * gdb.reverse/i386-sse-reverse.exp
1633 * gdb.reverse/i387-env-reverse.exp
1634 * gdb.reverse/i387-stack-reverse.exp
1635 * gdb.reverse/insn-reverse.exp
1636 * gdb.reverse/machinestate-precsave.exp
1637 * gdb.reverse/machinestate.exp
1638 * gdb.reverse/next-reverse-bkpt-over-sr.exp
1639 * gdb.reverse/pipe-reverse.exp
1640 * gdb.reverse/readv-reverse.exp
1641 * gdb.reverse/recvmsg-reverse.exp
1642 * gdb.reverse/rerun-prec.exp
1643 * gdb.reverse/s390-mvcle.exp
1644 * gdb.reverse/step-precsave.exp
1645 * gdb.reverse/step-reverse.exp
1646 * gdb.reverse/time-reverse.exp
1647 * gdb.reverse/until-precsave.exp
1648 * gdb.reverse/until-reverse.exp
1649 * gdb.reverse/waitpid-reverse.exp
1650 * gdb.reverse/watch-precsave.exp
1651 * gdb.reverse/watch-reverse.exp
1652 * gdb.rust/generics.exp
1653 * gdb.rust/methods.exp
1654 * gdb.rust/modules.exp
1655 * gdb.rust/simple.exp
1656 * gdb.server/connect-with-no-symbol-file.exp
1657 * gdb.server/ext-attach.exp
1658 * gdb.server/ext-restart.exp
1659 * gdb.server/ext-wrapper.exp
1660 * gdb.server/file-transfer.exp
1661 * gdb.server/server-exec-info.exp
1662 * gdb.server/server-kill.exp
1663 * gdb.server/server-mon.exp
1664 * gdb.server/wrapper.exp
1665 * gdb.stabs/exclfwd.exp
1666 * gdb.stabs/gdb11479.exp
1667 * gdb.threads/clone-new-thread-event.exp
1668 * gdb.threads/corethreads.exp
1669 * gdb.threads/current-lwp-dead.exp
1670 * gdb.threads/dlopen-libpthread.exp
1671 * gdb.threads/gcore-thread.exp
1672 * gdb.threads/sigstep-threads.exp
1673 * gdb.threads/watchpoint-fork.exp
1674 * gdb.trace/actions-changed.exp
1675 * gdb.trace/backtrace.exp
1676 * gdb.trace/change-loc.exp
1677 * gdb.trace/circ.exp
1678 * gdb.trace/collection.exp
1679 * gdb.trace/disconnected-tracing.exp
1680 * gdb.trace/ftrace.exp
1681 * gdb.trace/mi-trace-frame-collected.exp
1682 * gdb.trace/mi-trace-unavailable.exp
1683 * gdb.trace/mi-traceframe-changed.exp
1684 * gdb.trace/mi-tsv-changed.exp
1685 * gdb.trace/no-attach-trace.exp
1686 * gdb.trace/passc-dyn.exp
1687 * gdb.trace/qtro.exp
1688 * gdb.trace/range-stepping.exp
1689 * gdb.trace/read-memory.exp
1690 * gdb.trace/save-trace.exp
1691 * gdb.trace/signal.exp
1692 * gdb.trace/status-stop.exp
1693 * gdb.trace/tfile.exp
1694 * gdb.trace/trace-break.exp
1695 * gdb.trace/trace-buffer-size.exp
1696 * gdb.trace/trace-condition.exp
1697 * gdb.trace/tracefile-pseudo-reg.exp
1698 * gdb.trace/tstatus.exp
1699 * gdb.trace/unavailable.exp
1700 * gdb.trace/while-dyn.exp
1701 * gdb.trace/while-stepping.exp
1702
1703 2016-12-22 Doug Evans <xdje42@gmail.com>
1704
1705 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
1706 and msymbols.
1707
1708 2016-12-19 Yao Qi <yao.qi@linaro.org>
1709
1710 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
1711 (test_with_self): Don't call do_steps_and_nexts, and remove
1712 code about stepping into xmalloc.
1713
1714 2016-12-09 Yao Qi <yao.qi@linaro.org>
1715
1716 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
1717
1718 2016-12-09 Yao Qi <yao.qi@linaro.org>
1719
1720 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
1721
1722 2016-12-09 Pedro Alves <palves@redhat.com>
1723
1724 * gdb.base/all-architectures-0.exp: New file.
1725 * gdb.base/all-architectures-1.exp: New file.
1726 * gdb.base/all-architectures-2.exp: New file.
1727 * gdb.base/all-architectures-3.exp: New file.
1728 * gdb.base/all-architectures-4.exp: New file.
1729 * gdb.base/all-architectures-5.exp: New file.
1730 * gdb.base/all-architectures-6.exp: New file.
1731 * gdb.base/all-architectures-7.exp: New file.
1732 * gdb.base/all-architectures.exp.in: New file.
1733
1734 2016-12-09 Yao Qi <yao.qi@linaro.org>
1735
1736 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
1737
1738 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
1739
1740 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
1741 possible.
1742 Remove useless pattern-matching code.
1743
1744 2016-12-02 Pedro Alves <palves@redhat.com>
1745
1746 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
1747 procedure.
1748 (top level): Call it.
1749
1750 2016-12-02 Pedro Alves <palves@redhat.com>
1751
1752 * gdb.base/commands.exp (user_defined_command_args_stack_test):
1753 New procedure.
1754 (top level): Call it.
1755
1756 2016-12-02 Pedro Alves <palves@redhat.com>
1757
1758 PR cli/20559
1759 * gdb.base/commands.exp (user_defined_command_args_eval): New
1760 procedure.
1761 (top level): Call it.
1762
1763 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
1764
1765 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
1766 timeout handling.
1767
1768 2016-12-02 Tom Tromey <tom@tromey.com>
1769
1770 * gdb.dwarf2/main-subprogram.c: New file.
1771 * gdb.dwarf2/main-subprogram.exp: New file.
1772
1773 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1774
1775 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
1776 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
1777 gdb_test_no_output for a couple of cases.
1778 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
1779
1780 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1781
1782 Fix test names and standardize compilation error messages throughout
1783 the following files:
1784
1785 * gdb.ada/start.exp
1786 * gdb.arch/alpha-step.exp
1787 * gdb.arch/e500-prologue.exp
1788 * gdb.arch/ftrace-insn-reloc.exp
1789 * gdb.arch/gdb1291.exp
1790 * gdb.arch/gdb1431.exp
1791 * gdb.arch/gdb1558.exp
1792 * gdb.arch/i386-dr3-watch.exp
1793 * gdb.arch/i386-sse-stack-align.exp
1794 * gdb.arch/ia64-breakpoint-shadow.exp
1795 * gdb.arch/pa-nullify.exp
1796 * gdb.arch/powerpc-aix-prologue.exp
1797 * gdb.arch/thumb-bx-pc.exp
1798 * gdb.base/annota1.exp
1799 * gdb.base/annota3.exp
1800 * gdb.base/arrayidx.exp
1801 * gdb.base/assign.exp
1802 * gdb.base/attach.exp
1803 * gdb.base/auxv.exp
1804 * gdb.base/bang.exp
1805 * gdb.base/bfp-test.exp
1806 * gdb.base/bigcore.exp
1807 * gdb.base/bitfields2.exp
1808 * gdb.base/break-fun-addr.exp
1809 * gdb.base/break-probes.exp
1810 * gdb.base/call-rt-st.exp
1811 * gdb.base/callexit.exp
1812 * gdb.base/catch-fork-kill.exp
1813 * gdb.base/charset.exp
1814 * gdb.base/checkpoint.exp
1815 * gdb.base/comprdebug.exp
1816 * gdb.base/constvars.exp
1817 * gdb.base/coredump-filter.exp
1818 * gdb.base/cursal.exp
1819 * gdb.base/cvexpr.exp
1820 * gdb.base/detach.exp
1821 * gdb.base/display.exp
1822 * gdb.base/dmsym.exp
1823 * gdb.base/dprintf-pending.exp
1824 * gdb.base/dso2dso.exp
1825 * gdb.base/dtrace-probe.exp
1826 * gdb.base/dump.exp
1827 * gdb.base/enum_cond.exp
1828 * gdb.base/exe-lock.exp
1829 * gdb.base/exec-invalid-sysroot.exp
1830 * gdb.base/execl-update-breakpoints.exp
1831 * gdb.base/exprs.exp
1832 * gdb.base/fileio.exp
1833 * gdb.base/find.exp
1834 * gdb.base/finish.exp
1835 * gdb.base/fixsection.exp
1836 * gdb.base/foll-vfork.exp
1837 * gdb.base/frame-args.exp
1838 * gdb.base/gcore.exp
1839 * gdb.base/gdb1250.exp
1840 * gdb.base/global-var-nested-by-dso.exp
1841 * gdb.base/gnu-ifunc.exp
1842 * gdb.base/hashline1.exp
1843 * gdb.base/hashline2.exp
1844 * gdb.base/hashline3.exp
1845 * gdb.base/hbreak-in-shr-unsupported.exp
1846 * gdb.base/huge.exp
1847 * gdb.base/infcall-input.exp
1848 * gdb.base/info-fun.exp
1849 * gdb.base/info-shared.exp
1850 * gdb.base/jit-simple.exp
1851 * gdb.base/jit-so.exp
1852 * gdb.base/jit.exp
1853 * gdb.base/jump.exp
1854 * gdb.base/label.exp
1855 * gdb.base/lineinc.exp
1856 * gdb.base/logical.exp
1857 * gdb.base/longjmp.exp
1858 * gdb.base/macscp.exp
1859 * gdb.base/miscexprs.exp
1860 * gdb.base/new-ui-echo.exp
1861 * gdb.base/new-ui-pending-input.exp
1862 * gdb.base/new-ui.exp
1863 * gdb.base/nodebug.exp
1864 * gdb.base/nofield.exp
1865 * gdb.base/offsets.exp
1866 * gdb.base/overlays.exp
1867 * gdb.base/pending.exp
1868 * gdb.base/pointers.exp
1869 * gdb.base/pr11022.exp
1870 * gdb.base/printcmds.exp
1871 * gdb.base/prologue.exp
1872 * gdb.base/ptr-typedef.exp
1873 * gdb.base/realname-expand.exp
1874 * gdb.base/relativedebug.exp
1875 * gdb.base/relocate.exp
1876 * gdb.base/remote.exp
1877 * gdb.base/reread.exp
1878 * gdb.base/return2.exp
1879 * gdb.base/savedregs.exp
1880 * gdb.base/sep.exp
1881 * gdb.base/sepdebug.exp
1882 * gdb.base/sepsymtab.exp
1883 * gdb.base/set-inferior-tty.exp
1884 * gdb.base/setshow.exp
1885 * gdb.base/shlib-call.exp
1886 * gdb.base/sigaltstack.exp
1887 * gdb.base/siginfo-addr.exp
1888 * gdb.base/signals.exp
1889 * gdb.base/signull.exp
1890 * gdb.base/sigrepeat.exp
1891 * gdb.base/so-impl-ld.exp
1892 * gdb.base/solib-display.exp
1893 * gdb.base/solib-overlap.exp
1894 * gdb.base/solib-search.exp
1895 * gdb.base/solib-symbol.exp
1896 * gdb.base/structs.exp
1897 * gdb.base/structs2.exp
1898 * gdb.base/symtab-search-order.exp
1899 * gdb.base/twice.exp
1900 * gdb.base/unload.exp
1901 * gdb.base/varargs.exp
1902 * gdb.base/watchpoint-solib.exp
1903 * gdb.base/watchpoint.exp
1904 * gdb.base/whatis.exp
1905 * gdb.base/wrong_frame_bt_full.exp
1906 * gdb.btrace/dlopen.exp
1907 * gdb.cell/ea-standalone.exp
1908 * gdb.cell/ea-test.exp
1909 * gdb.cp/dispcxx.exp
1910 * gdb.cp/gdb2384.exp
1911 * gdb.cp/method2.exp
1912 * gdb.cp/nextoverthrow.exp
1913 * gdb.cp/pr10728.exp
1914 * gdb.disasm/am33.exp
1915 * gdb.disasm/h8300s.exp
1916 * gdb.disasm/mn10300.exp
1917 * gdb.disasm/sh3.exp
1918 * gdb.dwarf2/dw2-dir-file-name.exp
1919 * gdb.fortran/complex.exp
1920 * gdb.fortran/library-module.exp
1921 * gdb.guile/scm-pretty-print.exp
1922 * gdb.guile/scm-symbol.exp
1923 * gdb.guile/scm-type.exp
1924 * gdb.guile/scm-value.exp
1925 * gdb.linespec/linespec.exp
1926 * gdb.mi/gdb701.exp
1927 * gdb.mi/gdb792.exp
1928 * gdb.mi/mi-breakpoint-changed.exp
1929 * gdb.mi/mi-dprintf-pending.exp
1930 * gdb.mi/mi-dprintf.exp
1931 * gdb.mi/mi-exit-code.exp
1932 * gdb.mi/mi-pending.exp
1933 * gdb.mi/mi-solib.exp
1934 * gdb.mi/new-ui-mi-sync.exp
1935 * gdb.mi/pr11022.exp
1936 * gdb.mi/user-selected-context-sync.exp
1937 * gdb.opt/solib-intra-step.exp
1938 * gdb.python/py-events.exp
1939 * gdb.python/py-finish-breakpoint.exp
1940 * gdb.python/py-mi.exp
1941 * gdb.python/py-prettyprint.exp
1942 * gdb.python/py-shared.exp
1943 * gdb.python/py-symbol.exp
1944 * gdb.python/py-template.exp
1945 * gdb.python/py-type.exp
1946 * gdb.python/py-value.exp
1947 * gdb.reverse/solib-precsave.exp
1948 * gdb.reverse/solib-reverse.exp
1949 * gdb.server/solib-list.exp
1950 * gdb.stabs/weird.exp
1951 * gdb.threads/reconnect-signal.exp
1952 * gdb.threads/stepi-random-signal.exp
1953 * gdb.trace/actions.exp
1954 * gdb.trace/ax.exp
1955 * gdb.trace/backtrace.exp
1956 * gdb.trace/change-loc.exp
1957 * gdb.trace/deltrace.exp
1958 * gdb.trace/ftrace-lock.exp
1959 * gdb.trace/ftrace.exp
1960 * gdb.trace/infotrace.exp
1961 * gdb.trace/mi-tracepoint-changed.exp
1962 * gdb.trace/packetlen.exp
1963 * gdb.trace/passcount.exp
1964 * gdb.trace/pending.exp
1965 * gdb.trace/range-stepping.exp
1966 * gdb.trace/report.exp
1967 * gdb.trace/stap-trace.exp
1968 * gdb.trace/tfind.exp
1969 * gdb.trace/trace-break.exp
1970 * gdb.trace/trace-condition.exp
1971 * gdb.trace/trace-enable-disable.exp
1972 * gdb.trace/trace-mt.exp
1973 * gdb.trace/tracecmd.exp
1974 * gdb.trace/tspeed.exp
1975 * gdb.trace/tsv.exp
1976 * lib/perftest.exp
1977
1978 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1979
1980 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
1981 with gdb_test_no_output.
1982 Use command as test name.
1983
1984 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1985
1986 Fix test names starting with uppercase throughout the files.
1987
1988 * gdb.ada/assign_1.exp
1989 * gdb.ada/boolean_expr.exp
1990 * gdb.base/arrayidx.exp
1991 * gdb.base/del.exp
1992 * gdb.base/gcore-buffer-overflow.exp
1993 * gdb.base/testenv.exp
1994 * gdb.compile/compile.exp
1995 * gdb.python/py-framefilter-invalidarg.exp
1996 * gdb.python/py-framefilter.exp
1997
1998 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1999
2000 Fix test names starting with uppercase throughout the files.
2001
2002 * gdb.ada/array_return.exp
2003 * gdb.ada/expr_delims.exp
2004 * gdb.ada/mi_dyn_arr.exp
2005 * gdb.ada/mi_interface.exp
2006 * gdb.ada/mi_var_array.exp
2007 * gdb.ada/watch_arg.exp
2008 * gdb.arch/alpha-step.exp
2009 * gdb.arch/altivec-regs.exp
2010 * gdb.arch/e500-regs.exp
2011 * gdb.arch/powerpc-d128-regs.exp
2012 * gdb.base/arrayidx.exp
2013 * gdb.base/break.exp
2014 * gdb.base/checkpoint.exp
2015 * gdb.base/debug-expr.exp
2016 * gdb.base/dmsym.exp
2017 * gdb.base/radix.exp
2018 * gdb.base/sepdebug.exp
2019 * gdb.base/testenv.exp
2020 * gdb.base/watch_thread_num.exp
2021 * gdb.base/watchpoint-cond-gone.exp
2022 * gdb.cell/break.exp
2023 * gdb.cell/ea-cache.exp
2024 * gdb.compile/compile.exp
2025 * gdb.cp/gdb2495.exp
2026 * gdb.gdb/selftest.exp
2027 * gdb.gdb/xfullpath.exp
2028 * gdb.go/hello.exp
2029 * gdb.go/integers.exp
2030 * gdb.objc/basicclass.exp
2031 * gdb.pascal/hello.exp
2032 * gdb.pascal/integers.exp
2033 * gdb.python/py-breakpoint.exp
2034 * gdb.python/py-cmd.exp
2035 * gdb.python/py-linetable.exp
2036 * gdb.python/py-xmethods.exp
2037 * gdb.python/python.exp
2038 * gdb.reverse/consecutive-precsave.exp
2039 * gdb.reverse/finish-precsave.exp
2040 * gdb.reverse/i386-precsave.exp
2041 * gdb.reverse/machinestate-precsave.exp
2042 * gdb.reverse/sigall-precsave.exp
2043 * gdb.reverse/solib-precsave.exp
2044 * gdb.reverse/step-precsave.exp
2045 * gdb.reverse/until-precsave.exp
2046 * gdb.reverse/watch-precsave.exp
2047 * gdb.threads/leader-exit.exp
2048 * gdb.threads/pthreads.exp
2049 * gdb.threads/wp-replication.exp
2050 * gdb.trace/actions.exp
2051 * gdb.trace/mi-tsv-changed.exp
2052 * gdb.trace/tsv.exp
2053
2054 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
2055
2056 Fix test names starting with uppercase throughout the files.
2057
2058 * gdb.arch/i386-bp_permanent.exp
2059 * gdb.arch/i386-gnu-cfi.exp
2060 * gdb.base/disasm-end-cu.exp
2061 * gdb.base/macscp.exp
2062 * gdb.base/pending.exp
2063 * gdb.base/watch_thread_num.exp
2064 * gdb.cp/exception.exp
2065 * gdb.cp/gdb2495.exp
2066 * gdb.cp/local.exp
2067 * gdb.python/py-evsignal.exp
2068 * gdb.python/python.exp
2069 * gdb.trace/tracecmd.exp
2070
2071 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
2072
2073 Fix test names starting with uppercase throughout the files.
2074
2075 * gdb.base/charset.exp
2076 * gdb.base/eval.exp
2077 * gdb.base/multi-forks.exp
2078 * gdb.guile/scm-progspace.exp
2079 * gdb.opencl/datatypes.exp
2080 * gdb.python/py-block.exp
2081 * gdb.python/py-function.exp
2082 * gdb.python/py-symbol.exp
2083 * gdb.python/py-symtab.exp
2084 * gdb.python/py-xmethods.exp
2085 * gdb.reverse/break-precsave.exp
2086 * gdb.reverse/break-reverse.exp
2087 * gdb.reverse/consecutive-precsave.exp
2088 * gdb.reverse/consecutive-reverse.exp
2089 * gdb.reverse/finish-precsave.exp
2090 * gdb.reverse/finish-reverse-bkpt.exp
2091 * gdb.reverse/finish-reverse.exp
2092 * gdb.reverse/fstatat-reverse.exp
2093 * gdb.reverse/getresuid-reverse.exp
2094 * gdb.reverse/i386-precsave.exp
2095 * gdb.reverse/i386-reverse.exp
2096 * gdb.reverse/i386-sse-reverse.exp
2097 * gdb.reverse/i387-stack-reverse.exp
2098 * gdb.reverse/insn-reverse.exp
2099 * gdb.reverse/machinestate-precsave.exp
2100 * gdb.reverse/machinestate.exp
2101 * gdb.reverse/next-reverse-bkpt-over-sr.exp
2102 * gdb.reverse/pipe-reverse.exp
2103 * gdb.reverse/readv-reverse.exp
2104 * gdb.reverse/recvmsg-reverse.exp
2105 * gdb.reverse/rerun-prec.exp
2106 * gdb.reverse/s390-mvcle.exp
2107 * gdb.reverse/sigall-precsave.exp
2108 * gdb.reverse/sigall-reverse.exp
2109 * gdb.reverse/solib-precsave.exp
2110 * gdb.reverse/solib-reverse.exp
2111 * gdb.reverse/step-precsave.exp
2112 * gdb.reverse/step-reverse.exp
2113 * gdb.reverse/time-reverse.exp
2114 * gdb.reverse/until-precsave.exp
2115 * gdb.reverse/until-reverse.exp
2116 * gdb.reverse/waitpid-reverse.exp
2117 * gdb.reverse/watch-precsave.exp
2118 * gdb.reverse/watch-reverse.exp
2119
2120 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
2121
2122 Fix test names starting with uppercase throughout the files.
2123
2124 * gdb.arch/i386-mpx-simple_segv.exp
2125 * gdb.arch/i386-mpx.exp
2126 * gdb.arch/i386-permbkpt.exp
2127 * gdb.arch/pa-nullify.exp
2128 * gdb.arch/powerpc-d128-regs.exp
2129 * gdb.arch/vsx-regs.exp
2130 * gdb.base/bfp-test.exp
2131 * gdb.base/break.exp
2132 * gdb.base/breakpoint-shadow.exp
2133 * gdb.base/callfuncs.exp
2134 * gdb.base/charset.exp
2135 * gdb.base/commands.exp
2136 * gdb.base/completion.exp
2137 * gdb.base/dfp-test.exp
2138 * gdb.base/echo.exp
2139 * gdb.base/ending-run.exp
2140 * gdb.base/eval.exp
2141 * gdb.base/expand-psymtabs.exp
2142 * gdb.base/float128.exp
2143 * gdb.base/floatn.exp
2144 * gdb.base/foll-exec-mode.exp
2145 * gdb.base/gdb1056.exp
2146 * gdb.base/gdb11531.exp
2147 * gdb.base/kill-after-signal.exp
2148 * gdb.base/multi-forks.exp
2149 * gdb.base/overlays.exp
2150 * gdb.base/pending.exp
2151 * gdb.base/sepdebug.exp
2152 * gdb.base/testenv.exp
2153 * gdb.base/valgrind-db-attach.exp
2154 * gdb.base/watch_thread_num.exp
2155 * gdb.base/watchpoint-cond-gone.exp
2156 * gdb.base/watchpoint.exp
2157 * gdb.base/watchpoints.exp
2158 * gdb.cp/arg-reference.exp
2159 * gdb.cp/baseenum.exp
2160 * gdb.cp/operator.exp
2161 * gdb.cp/shadow.exp
2162 * gdb.dwarf2/dw2-op-out-param.exp
2163 * gdb.dwarf2/dw2-reg-undefined.exp
2164 * gdb.go/chan.exp
2165 * gdb.go/hello.exp
2166 * gdb.go/integers.exp
2167 * gdb.go/methods.exp
2168 * gdb.go/package.exp
2169 * gdb.guile/scm-parameter.exp
2170 * gdb.guile/scm-progspace.exp
2171 * gdb.guile/scm-value.exp
2172 * gdb.mi/mi-pending.exp
2173 * gdb.mi/user-selected-context-sync.exp
2174 * gdb.multi/multi-attach.exp
2175 * gdb.multi/tids.exp
2176 * gdb.opt/clobbered-registers-O2.exp
2177 * gdb.pascal/floats.exp
2178 * gdb.pascal/integers.exp
2179 * gdb.python/py-block.exp
2180 * gdb.python/py-events.exp
2181 * gdb.python/py-parameter.exp
2182 * gdb.python/py-symbol.exp
2183 * gdb.python/py-symtab.exp
2184 * gdb.python/py-type.exp
2185 * gdb.python/py-value.exp
2186 * gdb.python/py-xmethods.exp
2187 * gdb.python/python.exp
2188 * gdb.reverse/break-precsave.exp
2189 * gdb.reverse/consecutive-precsave.exp
2190 * gdb.reverse/finish-precsave.exp
2191 * gdb.reverse/i386-precsave.exp
2192 * gdb.reverse/machinestate-precsave.exp
2193 * gdb.reverse/sigall-precsave.exp
2194 * gdb.reverse/solib-precsave.exp
2195 * gdb.reverse/step-precsave.exp
2196 * gdb.reverse/until-precsave.exp
2197 * gdb.reverse/watch-precsave.exp
2198 * gdb.server/ext-attach.exp
2199 * gdb.server/ext-restart.exp
2200 * gdb.server/ext-run.exp
2201 * gdb.server/ext-wrapper.exp
2202 * gdb.stabs/gdb11479.exp
2203 * gdb.stabs/weird.exp
2204 * gdb.threads/attach-many-short-lived-threads.exp
2205 * gdb.threads/kill.exp
2206 * gdb.threads/watchpoint-fork.exp
2207
2208 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
2209
2210 Fix test names starting with uppercase throughout all the files below.
2211
2212 * gdb.ada/array_return.exp
2213 * gdb.ada/catch_ex.exp
2214 * gdb.ada/info_exc.exp
2215 * gdb.ada/mi_catch_ex.exp
2216 * gdb.ada/mi_dyn_arr.exp
2217 * gdb.ada/mi_ex_cond.exp
2218 * gdb.ada/mi_exc_info.exp
2219 * gdb.ada/mi_interface.exp
2220 * gdb.ada/mi_task_arg.exp
2221 * gdb.ada/mi_task_info.exp
2222 * gdb.ada/mi_var_array.exp
2223 * gdb.arch/alpha-step.exp
2224 * gdb.arch/amd64-disp-step.exp
2225 * gdb.arch/arm-disp-step.exp
2226 * gdb.arch/disp-step-insn-reloc.exp
2227 * gdb.arch/e500-prologue.exp
2228 * gdb.arch/ftrace-insn-reloc.exp
2229 * gdb.arch/gdb1558.exp
2230 * gdb.arch/i386-bp_permanent.exp
2231 * gdb.arch/i386-disp-step.exp
2232 * gdb.arch/i386-float.exp
2233 * gdb.arch/i386-gnu-cfi.exp
2234 * gdb.arch/ia64-breakpoint-shadow.exp
2235 * gdb.arch/mips16-thunks.exp
2236 * gdb.arch/pa-nullify.exp
2237 * gdb.arch/powerpc-aix-prologue.exp
2238 * gdb.arch/powerpc-power.exp
2239 * gdb.arch/ppc-dfp.exp
2240 * gdb.arch/s390-tdbregs.exp
2241 * gdb.arch/spu-info.exp
2242 * gdb.arch/spu-ls.exp
2243 * gdb.arch/thumb-bx-pc.exp
2244 * gdb.base/advance.exp
2245 * gdb.base/annota-input-while-running.exp
2246 * gdb.base/arrayidx.exp
2247 * gdb.base/asmlabel.exp
2248 * gdb.base/async.exp
2249 * gdb.base/attach-wait-input.exp
2250 * gdb.base/auto-connect-native-target.exp
2251 * gdb.base/batch-preserve-term-settings.exp
2252 * gdb.base/bfp-test.exp
2253 * gdb.base/bigcore.exp
2254 * gdb.base/bp-permanent.exp
2255 * gdb.base/break-always.exp
2256 * gdb.base/break-fun-addr.exp
2257 * gdb.base/break-idempotent.exp
2258 * gdb.base/break-main-file-remove-fail.exp
2259 * gdb.base/break-probes.exp
2260 * gdb.base/break-unload-file.exp
2261 * gdb.base/break.exp
2262 * gdb.base/call-ar-st.exp
2263 * gdb.base/call-rt-st.exp
2264 * gdb.base/call-sc.exp
2265 * gdb.base/call-signal-resume.exp
2266 * gdb.base/call-strs.exp
2267 * gdb.base/callexit.exp
2268 * gdb.base/callfuncs.exp
2269 * gdb.base/catch-gdb-caused-signals.exp
2270 * gdb.base/catch-signal-siginfo-cond.exp
2271 * gdb.base/catch-syscall.exp
2272 * gdb.base/compare-sections.exp
2273 * gdb.base/cond-eval-mode.exp
2274 * gdb.base/condbreak-call-false.exp
2275 * gdb.base/consecutive-step-over.exp
2276 * gdb.base/cursal.exp
2277 * gdb.base/disabled-location.exp
2278 * gdb.base/disasm-end-cu.exp
2279 * gdb.base/display.exp
2280 * gdb.base/double-prompt-target-event-error.exp
2281 * gdb.base/dprintf-bp-same-addr.exp
2282 * gdb.base/dprintf-detach.exp
2283 * gdb.base/dprintf-next.exp
2284 * gdb.base/dprintf-non-stop.exp
2285 * gdb.base/dprintf-pending.exp
2286 * gdb.base/dso2dso.exp
2287 * gdb.base/ending-run.exp
2288 * gdb.base/enum_cond.exp
2289 * gdb.base/examine-backward.exp
2290 * gdb.base/exe-lock.exp
2291 * gdb.base/exec-invalid-sysroot.exp
2292 * gdb.base/execl-update-breakpoints.exp
2293 * gdb.base/execution-termios.exp
2294 * gdb.base/fileio.exp
2295 * gdb.base/fixsection.exp
2296 * gdb.base/foll-exec-mode.exp
2297 * gdb.base/foll-exec.exp
2298 * gdb.base/fork-running-state.exp
2299 * gdb.base/frame-args.exp
2300 * gdb.base/fullpath-expand.exp
2301 * gdb.base/func-ptr.exp
2302 * gdb.base/gcore-relro-pie.exp
2303 * gdb.base/gdb1090.exp
2304 * gdb.base/gdb1555.exp
2305 * gdb.base/global-var-nested-by-dso.exp
2306 * gdb.base/gnu-ifunc.exp
2307 * gdb.base/hbreak-in-shr-unsupported.exp
2308 * gdb.base/hbreak-unmapped.exp
2309 * gdb.base/hook-stop.exp
2310 * gdb.base/infcall-input.exp
2311 * gdb.base/info-fun.exp
2312 * gdb.base/info-shared.exp
2313 * gdb.base/interrupt-noterm.exp
2314 * gdb.base/jit-so.exp
2315 * gdb.base/jit.exp
2316 * gdb.base/line-symtabs.exp
2317 * gdb.base/list.exp
2318 * gdb.base/longjmp.exp
2319 * gdb.base/macscp.exp
2320 * gdb.base/max-value-size.exp
2321 * gdb.base/nodebug.exp
2322 * gdb.base/nofield.exp
2323 * gdb.base/overlays.exp
2324 * gdb.base/paginate-after-ctrl-c-running.exp
2325 * gdb.base/paginate-bg-execution.exp
2326 * gdb.base/paginate-inferior-exit.exp
2327 * gdb.base/pending.exp
2328 * gdb.base/pr11022.exp
2329 * gdb.base/printcmds.exp
2330 * gdb.base/ptr-typedef.exp
2331 * gdb.base/ptype.exp
2332 * gdb.base/randomize.exp
2333 * gdb.base/range-stepping.exp
2334 * gdb.base/realname-expand.exp
2335 * gdb.base/relativedebug.exp
2336 * gdb.base/remote.exp
2337 * gdb.base/savedregs.exp
2338 * gdb.base/sepdebug.exp
2339 * gdb.base/set-noassign.exp
2340 * gdb.base/shlib-call.exp
2341 * gdb.base/shreloc.exp
2342 * gdb.base/sigaltstack.exp
2343 * gdb.base/sigbpt.exp
2344 * gdb.base/siginfo-addr.exp
2345 * gdb.base/siginfo-obj.exp
2346 * gdb.base/siginfo-thread.exp
2347 * gdb.base/signest.exp
2348 * gdb.base/signull.exp
2349 * gdb.base/sigrepeat.exp
2350 * gdb.base/skip.exp
2351 * gdb.base/so-impl-ld.exp
2352 * gdb.base/solib-corrupted.exp
2353 * gdb.base/solib-disc.exp
2354 * gdb.base/solib-display.exp
2355 * gdb.base/solib-overlap.exp
2356 * gdb.base/solib-search.exp
2357 * gdb.base/solib-symbol.exp
2358 * gdb.base/source-execution.exp
2359 * gdb.base/sss-bp-on-user-bp-2.exp
2360 * gdb.base/sss-bp-on-user-bp.exp
2361 * gdb.base/stack-checking.exp
2362 * gdb.base/stale-infcall.exp
2363 * gdb.base/step-break.exp
2364 * gdb.base/step-line.exp
2365 * gdb.base/step-over-exit.exp
2366 * gdb.base/step-test.exp
2367 * gdb.base/structs.exp
2368 * gdb.base/sym-file.exp
2369 * gdb.base/symtab-search-order.exp
2370 * gdb.base/term.exp
2371 * gdb.base/type-opaque.exp
2372 * gdb.base/unload.exp
2373 * gdb.base/until-nodebug.exp
2374 * gdb.base/until.exp
2375 * gdb.base/unwindonsignal.exp
2376 * gdb.base/watch-cond.exp
2377 * gdb.base/watch-non-mem.exp
2378 * gdb.base/watch_thread_num.exp
2379 * gdb.base/watchpoint-reuse-slot.exp
2380 * gdb.base/watchpoint-solib.exp
2381 * gdb.base/watchpoint.exp
2382 * gdb.btrace/dlopen.exp
2383 * gdb.cell/arch.exp
2384 * gdb.cell/break.exp
2385 * gdb.cell/bt.exp
2386 * gdb.cell/core.exp
2387 * gdb.cell/data.exp
2388 * gdb.cell/dwarfaddr.exp
2389 * gdb.cell/ea-cache.exp
2390 * gdb.cell/ea-standalone.exp
2391 * gdb.cell/ea-test.exp
2392 * gdb.cell/f-regs.exp
2393 * gdb.cell/fork.exp
2394 * gdb.cell/gcore.exp
2395 * gdb.cell/mem-access.exp
2396 * gdb.cell/ptype.exp
2397 * gdb.cell/registers.exp
2398 * gdb.cell/sizeof.exp
2399 * gdb.cell/solib-symbol.exp
2400 * gdb.cell/solib.exp
2401 * gdb.compile/compile-tls.exp
2402 * gdb.cp/exception.exp
2403 * gdb.cp/gdb2495.exp
2404 * gdb.cp/local.exp
2405 * gdb.cp/mb-inline.exp
2406 * gdb.cp/mb-templates.exp
2407 * gdb.cp/pr10687.exp
2408 * gdb.cp/pr9167.exp
2409 * gdb.cp/scope-err.exp
2410 * gdb.cp/templates.exp
2411 * gdb.cp/virtfunc.exp
2412 * gdb.dwarf2/dw2-dir-file-name.exp
2413 * gdb.dwarf2/dw2-single-line-discriminators.exp
2414 * gdb.fortran/complex.exp
2415 * gdb.fortran/library-module.exp
2416 * gdb.guile/guile.exp
2417 * gdb.guile/scm-cmd.exp
2418 * gdb.guile/scm-frame-inline.exp
2419 * gdb.guile/scm-objfile.exp
2420 * gdb.guile/scm-pretty-print.exp
2421 * gdb.guile/scm-symbol.exp
2422 * gdb.guile/scm-type.exp
2423 * gdb.guile/scm-value.exp
2424 * gdb.linespec/keywords.exp
2425 * gdb.linespec/ls-errs.exp
2426 * gdb.linespec/macro-relative.exp
2427 * gdb.linespec/thread.exp
2428 * gdb.mi/mi-breakpoint-changed.exp
2429 * gdb.mi/mi-dprintf-pending.exp
2430 * gdb.mi/mi-fullname-deleted.exp
2431 * gdb.mi/mi-logging.exp
2432 * gdb.mi/mi-pending.exp
2433 * gdb.mi/mi-solib.exp
2434 * gdb.mi/new-ui-mi-sync.exp
2435 * gdb.mi/user-selected-context-sync.exp
2436 * gdb.multi/dummy-frame-restore.exp
2437 * gdb.multi/multi-arch-exec.exp
2438 * gdb.multi/remove-inferiors.exp
2439 * gdb.multi/watchpoint-multi-exit.exp
2440 * gdb.opt/solib-intra-step.exp
2441 * gdb.perf/backtrace.exp
2442 * gdb.perf/single-step.exp
2443 * gdb.perf/skip-command.exp
2444 * gdb.perf/skip-prologue.exp
2445 * gdb.perf/solib.exp
2446 * gdb.python/lib-types.exp
2447 * gdb.python/py-as-string.exp
2448 * gdb.python/py-bad-printers.exp
2449 * gdb.python/py-block.exp
2450 * gdb.python/py-breakpoint.exp
2451 * gdb.python/py-cmd.exp
2452 * gdb.python/py-events.exp
2453 * gdb.python/py-evthreads.exp
2454 * gdb.python/py-finish-breakpoint.exp
2455 * gdb.python/py-finish-breakpoint2.exp
2456 * gdb.python/py-frame-inline.exp
2457 * gdb.python/py-frame.exp
2458 * gdb.python/py-inferior.exp
2459 * gdb.python/py-infthread.exp
2460 * gdb.python/py-mi.exp
2461 * gdb.python/py-objfile.exp
2462 * gdb.python/py-pp-maint.exp
2463 * gdb.python/py-pp-registration.exp
2464 * gdb.python/py-prettyprint.exp
2465 * gdb.python/py-recurse-unwind.exp
2466 * gdb.python/py-shared.exp
2467 * gdb.python/py-symbol.exp
2468 * gdb.python/py-symtab.exp
2469 * gdb.python/py-template.exp
2470 * gdb.python/py-type.exp
2471 * gdb.python/py-unwind-maint.exp
2472 * gdb.python/py-unwind.exp
2473 * gdb.python/py-value.exp
2474 * gdb.python/python.exp
2475 * gdb.reverse/finish-reverse-bkpt.exp
2476 * gdb.reverse/insn-reverse.exp
2477 * gdb.reverse/next-reverse-bkpt-over-sr.exp
2478 * gdb.reverse/solib-precsave.exp
2479 * gdb.reverse/solib-reverse.exp
2480 * gdb.stabs/gdb11479.exp
2481 * gdb.stabs/weird.exp
2482 * gdb.threads/fork-child-threads.exp
2483 * gdb.threads/fork-plus-threads.exp
2484 * gdb.threads/fork-thread-pending.exp
2485 * gdb.threads/forking-threads-plus-breakpoint.exp
2486 * gdb.threads/hand-call-in-threads.exp
2487 * gdb.threads/interrupted-hand-call.exp
2488 * gdb.threads/linux-dp.exp
2489 * gdb.threads/local-watch-wrong-thread.exp
2490 * gdb.threads/next-while-other-thread-longjmps.exp
2491 * gdb.threads/non-ldr-exit.exp
2492 * gdb.threads/pending-step.exp
2493 * gdb.threads/print-threads.exp
2494 * gdb.threads/process-dies-while-detaching.exp
2495 * gdb.threads/process-dies-while-handling-bp.exp
2496 * gdb.threads/pthreads.exp
2497 * gdb.threads/queue-signal.exp
2498 * gdb.threads/reconnect-signal.exp
2499 * gdb.threads/signal-command-handle-nopass.exp
2500 * gdb.threads/signal-command-multiple-signals-pending.exp
2501 * gdb.threads/signal-delivered-right-thread.exp
2502 * gdb.threads/signal-sigtrap.exp
2503 * gdb.threads/sigthread.exp
2504 * gdb.threads/staticthreads.exp
2505 * gdb.threads/stepi-random-signal.exp
2506 * gdb.threads/thread-unwindonsignal.exp
2507 * gdb.threads/thread_check.exp
2508 * gdb.threads/thread_events.exp
2509 * gdb.threads/tid-reuse.exp
2510 * gdb.threads/tls-nodebug.exp
2511 * gdb.threads/tls-shared.exp
2512 * gdb.threads/tls-so_extern.exp
2513 * gdb.threads/tls.exp
2514 * gdb.threads/wp-replication.exp
2515 * gdb.trace/actions-changed.exp
2516 * gdb.trace/actions.exp
2517 * gdb.trace/backtrace.exp
2518 * gdb.trace/change-loc.exp
2519 * gdb.trace/collection.exp
2520 * gdb.trace/deltrace.exp
2521 * gdb.trace/disconnected-tracing.exp
2522 * gdb.trace/entry-values.exp
2523 * gdb.trace/ftrace-lock.exp
2524 * gdb.trace/ftrace.exp
2525 * gdb.trace/infotrace.exp
2526 * gdb.trace/mi-trace-frame-collected.exp
2527 * gdb.trace/mi-trace-unavailable.exp
2528 * gdb.trace/mi-traceframe-changed.exp
2529 * gdb.trace/mi-tracepoint-changed.exp
2530 * gdb.trace/mi-tsv-changed.exp
2531 * gdb.trace/no-attach-trace.exp
2532 * gdb.trace/packetlen.exp
2533 * gdb.trace/passc-dyn.exp
2534 * gdb.trace/passcount.exp
2535 * gdb.trace/pending.exp
2536 * gdb.trace/pr16508.exp
2537 * gdb.trace/qtro.exp
2538 * gdb.trace/range-stepping.exp
2539 * gdb.trace/read-memory.exp
2540 * gdb.trace/report.exp
2541 * gdb.trace/save-trace.exp
2542 * gdb.trace/signal.exp
2543 * gdb.trace/stap-trace.exp
2544 * gdb.trace/status-stop.exp
2545 * gdb.trace/strace.exp
2546 * gdb.trace/tfile.exp
2547 * gdb.trace/tfind.exp
2548 * gdb.trace/trace-break.exp
2549 * gdb.trace/trace-condition.exp
2550 * gdb.trace/trace-enable-disable.exp
2551 * gdb.trace/trace-mt.exp
2552 * gdb.trace/tracecmd.exp
2553 * gdb.trace/tracefile-pseudo-reg.exp
2554 * gdb.trace/tspeed.exp
2555 * gdb.trace/tstatus.exp
2556 * gdb.trace/tsv.exp
2557 * gdb.trace/unavailable.exp
2558 * gdb.trace/while-dyn.exp
2559 * gdb.trace/while-stepping.exp
2560 * lib/gdb-guile.exp
2561 * lib/gdb.exp
2562 * lib/mi-support.exp
2563 * lib/pascal.exp
2564 * lib/perftest.exp
2565 * lib/prelink-support.exp
2566 * lib/selftest-support.exp
2567
2568 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
2569
2570 * Makefile.in: Include disable-implicit-rules.mk.
2571
2572 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2573
2574 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
2575 non-byte-aligned bit fields.
2576
2577 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2578
2579 PR gdb/12616
2580 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
2581 respects the DW_AT_data_bit_offset attribute.
2582
2583 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
2584
2585 * gdb.base/default.exp: Fix output of "set language".
2586
2587 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
2588
2589 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
2590 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
2591 make.
2592 * configure.ac: Remove checks for the make program.
2593 * configure: Re-generate.
2594
2595 2016-11-16 Kevin Buettner <kevinb@redhat.com>
2596
2597 * gdb.python/py-recurse-unwind.c (main): Add loop.
2598 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
2599 to read_register() and gdb.parse_and_eval(). Make each code
2600 call a separate case that can be individually tested.
2601 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
2602 proc. Call cont_and_backtrace for each of the code paths that
2603 we want to test in the unwinder.
2604
2605 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
2606
2607 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
2608 the definition of struct S.
2609
2610 2016-11-11 Catherine Moore <clm@codesourcery.com>
2611
2612 * gdb.base/dump.exp: Identify verilog format dump tests as such.
2613
2614 2016-11-09 Pedro Alves <palves@redhat.com>
2615
2616 * gdb.base/commands.exp (runto_or_return): New procedure.
2617 (gdbvar_simple_if_test, gdbvar_simple_while_test)
2618 (gdbvar_complex_if_while_test, progvar_simple_if_test)
2619 (progvar_simple_while_test, progvar_complex_if_while_test)
2620 (if_while_breakpoint_command_test)
2621 (infrun_breakpoint_command_test, breakpoint_command_test)
2622 (user_defined_command_test, watchpoint_command_test)
2623 (test_command_prompt_position, redefine_hook_test)
2624 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
2625 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
2626 multi_line_input and multi_line. Remove gdb_expect and
2627 gdb_stop_suppressing_tests uses.
2628 * lib/gdb.exp (valnum_re): New global.
2629 (multi_line_input): New procedure.
2630
2631 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
2632
2633 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
2634 Remove.
2635 (test_setup): Define with proc_with_prefix.
2636 (test_cli_inferior): Likewise.
2637 (test_cli_thread): Likewise.
2638 (test_cli_frame): Likewise.
2639 (test_cli_select_frame): Likewise.
2640 (test_cli_up_down): Likewise.
2641 (test_mi_thread_select): Likewise.
2642 (test_mi_stack_select_frame): Likewise.
2643 (test_cli_in_mi_inferior): Likewise.
2644 (test_cli_in_mi_thread): Likewise.
2645 (test_cli_in_mi_frame): Likewise.
2646 (top level): Do not use with_test_prefix_procname.
2647
2648 2016-11-09 Pedro Alves <palves@redhat.com>
2649
2650 * gdb.base/commands.exp (gdbvar_simple_if_test)
2651 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
2652 (progvar_simple_if_test, progvar_simple_while_test)
2653 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
2654 (infrun_breakpoint_command_test, breakpoint_command_test)
2655 (user_defined_command_test, watchpoint_command_test)
2656 (test_command_prompt_position, deprecated_command_test)
2657 (bp_deleted_in_command, temporary_breakpoint_commands)
2658 (stray_arg0_test, source_file_with_indented_comment)
2659 (recursive_source_test, if_commands_test)
2660 (error_clears_commands_left, redefine_hook_test)
2661 (redefine_backtrace_test): Use proc_with_prefix.
2662 * lib/gdb.exp (proc_with_prefix): New proc.
2663
2664 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
2665
2666 * gdb.base/tui-layout.c: New file.
2667 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
2668 disassembly window contains very long lines.
2669
2670 2016-11-08 Tom Tromey <tom@tromey.com>
2671
2672 * gdb.python/py-value.exp (test_value_creation): Make "long" test
2673 depend on Python 2.
2674
2675 2016-11-08 Tom Tromey <tom@tromey.com>
2676
2677 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
2678 New method.
2679
2680 2016-10-29 Manish Goregaokar <manish@mozilla.com>
2681
2682 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
2683
2684 2016-10-27 Manish Goregaokar <manish@mozilla.com>
2685
2686 * gdb.rust/simple.rs: Add test for univariant enums without
2687 discriminants and for encoded struct-like enums.
2688
2689 2016-10-28 Pedro Alves <palves@redhat.com>
2690
2691 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
2692 gdb_test_multiple, tighten regexps and match symtabs and line
2693 tables incrementally.
2694
2695 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
2696
2697 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
2698 general.
2699
2700 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
2701
2702 * gdb.base/exec-invalid-sysroot.exp: New file.
2703
2704 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2705
2706 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
2707
2708 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2709
2710 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
2711
2712 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
2713
2714 * gdb.base/killed-outside.exp: Remove $options from a call to
2715 `prepare_for_testing'.
2716
2717 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
2718
2719 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
2720 Change test message.
2721
2722 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
2723
2724 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
2725 Update comment.
2726
2727 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
2728
2729 * gdb.trace/mi-trace-save.exp: New file.
2730
2731 2016-10-13 Yao Qi <yao.qi@linaro.org>
2732
2733 * gdb.base/code_elim.exp (get_var_address): Remove.
2734 * gdb.base/relocate.exp: Likewise.
2735 * gdb.base/shreloc.exp: Likewise.
2736 * lib/gdb.exp (get_var_address): New.
2737
2738 2016-10-13 Yao Qi <yao.qi@linaro.org>
2739
2740 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
2741 floating point tests if $skip_float_test is false.
2742
2743 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
2744
2745 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
2746 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
2747 argc values.
2748 Add 1 to argc so we guarantee distinct initial/modified argc values.
2749
2750 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2751
2752 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
2753
2754 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2755
2756 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
2757 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
2758 * gdb.arch/vsx-regs.exp: Likewise.
2759
2760 2016-10-07 Yao Qi <yao.qi@linaro.org>
2761
2762 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
2763
2764 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
2765
2766 * gdb.python/python.exp: Test decode_line("*0").
2767
2768 2016-10-06 Doug Evans <dje@google.com>
2769
2770 * gdb.python/py-value.exp (test_value_creation): Add test for large
2771 unsigned 64-bit value.
2772
2773 2016-10-06 Tom Tromey <tom@tromey.com>
2774
2775 * gdb.compile/compile.exp: Change java tests to rust.
2776 * gdb.base/setshow.exp: Change java tests to rust.
2777 * gdb.base/default.exp: Remove java from language list.
2778 * README (Examples): Update language example.
2779 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
2780 test.
2781 * lib/gdb.exp (skip_java_tests): Remove.
2782 * lib/java.exp: Remove.
2783 * gdb.java: Remove.
2784
2785 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
2786
2787 * gdb.arch/mips-fcr.exp: New test.
2788 * gdb.arch/mips-fcr.c: Source for the new test.
2789
2790 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
2791
2792 * gdb.base/solib-disc.exp: Use `standard_output_file'
2793 throughout.
2794
2795 2016-10-06 Pedro Alves <palves@redhat.com>
2796
2797 * gdb.base/jit-simple-dl.c: New file.
2798 * gdb.base/jit-simple-jit.c: New file, factored out from ...
2799 * gdb.base/jit-simple.c: ... this.
2800 * gdb.base/jit-simple.exp (jit_run): Delete.
2801 (build_jit): New proc.
2802 (jit_test_reread): Recompile either the main program or the shared
2803 library, depending on what is being tested. Skip changing address
2804 if caller wants to. Compare before/after addresses. If testing
2805 standalone, explicitly load the binary. Test "maint info
2806 breakpoints".
2807 (top level): Add "standalone vs shared lib" and "change address"
2808 vs "same address" axes.
2809
2810 2016-10-06 Pedro Alves <palves@redhat.com>
2811
2812 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
2813 call.
2814 (jit_run): Delete.
2815 (jit_test_reread): Use with_test_prefix. Reload the main binary
2816 explicitly. Compare the before/after addresses of the JIT
2817 descriptor.
2818
2819 2016-08-15 Doug Evans <dje@google.com>
2820
2821 * gdb.xml/extra-regs.xml: Update, end field now required, default type
2822 for single bitfields is bool.
2823 * gdb.xml/tdesc-regs.exp: Ditto.
2824
2825 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2826
2827 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
2828
2829 2016-10-05 Yao Qi <yao.qi@linaro.org>
2830
2831 * lib/gdb.exp (support_complex_tests): Return zero if
2832 gdb_skip_float_test return true.
2833
2834 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2835 Simon Marchi <simon.marchi@ericsson.com>
2836
2837 PR gdb/20487
2838 * gdb.mi/user-selected-context-sync.exp: New file.
2839 * gdb.mi/user-selected-context-sync.c: New file.
2840
2841 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2842 Simon Marchi <simon.marchi@ericsson.com>
2843
2844 PR gdb/20487
2845 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
2846 =thread-select-event check.
2847
2848 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
2849
2850 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
2851 the compulsory L operand changes.
2852 * gdb.arch/powerpc-power.s: Likewise.
2853
2854 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2855
2856 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
2857 * gdb.base/jit-attach-pie.c: New file.
2858 * gdb.base/jit-attach-pie.exp: New file.
2859
2860 2016-09-28 Pedro Alves <palves@redhat.com>
2861
2862 * gdb.base/infcall-input.c: New file.
2863 * gdb.base/infcall-input.exp: New file.
2864
2865 2016-09-22 Yao Qi <yao.qi@linaro.org>
2866
2867 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
2868 (gdb_exit): Rename it to ...
2869 (gdbserver_gdb_exit): ... Close GDBserver.
2870 (gdb_exit): New proc, call gdbserver_gdb_exit.
2871 (mi_gdb_exit): Likewise.
2872
2873 2016-09-22 Yao Qi <yao.qi@linaro.org>
2874
2875 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
2876 path.
2877 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
2878 Remove duplication.
2879
2880 2016-09-22 Yao Qi <yao.qi@linaro.org>
2881
2882 * lib/gdbserver-support.exp: Check the existence of
2883 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
2884
2885 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
2886
2887 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
2888
2889 2016-09-21 Tom Tromey <tom@tromey.com>
2890
2891 PR gdb/20604:
2892 * gdb.base/quit.exp: New file.
2893
2894 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
2895
2896 * .gitignore: New file.
2897
2898 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
2899
2900 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
2901 throughout.
2902
2903 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2904
2905 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
2906
2907 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2908
2909 * gdb.cp/casts.cc (decltype): Move it ...
2910 (main): ... with its call to ...
2911 * gdb.cp/casts03.cc: ... a new file.
2912 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
2913
2914 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2915
2916 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
2917
2918 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
2919
2920 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
2921 and sync up the test with tests in gas/testsuite/gas/ppc.
2922 * gdb.arch/powerpc-power.exp: Likewise.
2923
2924 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2925
2926 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
2927
2928 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
2929 Jan Kratochvil <jan.kratochvil@redhat.com>
2930
2931 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
2932 make m1's definition to be different from m2's. Use 'dummy' as an
2933 argument for probe 'two'.
2934
2935 2016-09-10 Jon Beniston <jon@beniston.com>
2936
2937 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
2938 for sim target.
2939
2940 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
2941
2942 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
2943 variable declaration.
2944 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
2945 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
2946 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
2947 received HWCAP as its argument.
2948
2949 2016-09-06 Pedro Alves <palves@redhat.com>
2950
2951 * gdb.base/new-ui-pending-input.c: New file.
2952 * gdb.base/new-ui-pending-input.exp: New file.
2953 * gdb.exp (clear_gdb_spawn_id): New procedure.
2954 (with_spawn_id): Check whether gdb_spawn_id exists before
2955 referencing it. If gdb_spawn_id didn't exist on entry, clear it
2956 on exit.
2957
2958 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
2959
2960 * gdb.base/float128.c: New file.
2961 * gdb.base/float128.exp: Likewise.
2962 * gdb.base/floatn.c: Likewise.
2963 * gdb.base/floatn.exp: Likewise.
2964
2965 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
2966
2967 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
2968
2969 2016-09-05 Pedro Alves <palves@redhat.com>
2970
2971 PR backtrace/19927
2972 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
2973 unwinders are immediately called as side effect of "source" or
2974 "disable unwinder" commands.
2975 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
2976
2977 2016-09-02 Yao Qi <yao.qi@linaro.org>
2978
2979 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
2980 is true and $type is "float" or "double".
2981
2982 2016-09-02 Yao Qi <yao.qi@linaro.org>
2983
2984 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
2985 true.
2986 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
2987 * gdb.base/call-rt-st.exp: Likewise.
2988 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
2989 return value instead of gdb,skip_float_test.
2990 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
2991 (do_function_calls): Use its return value instead of
2992 gdb,skip_float_test.
2993 * gdb.base/finish.exp: Likewise.
2994 * gdb.base/funcargs.exp: Likewise.
2995 * gdb.base/return.exp: Likewise.
2996 * gdb.base/return2.exp: Likewise.
2997 * gdb.base/varargs.exp: Likewise.
2998 * lib/gdb.exp (gdb_skip_float_test): Change it to
2999 gdb_caching_proc. Detect the broken ptrace on arm-linux.
3000
3001 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
3002
3003 * gdb.multi/tids.exp: Test "thread apply all".
3004
3005 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
3006
3007 * gdb.base/default.exp (tty): Remove.
3008
3009 2016-08-24 Kevin Buettner <kevinb@redhat.com>
3010
3011 * gdb.python/py-recurse-unwind.c: New file.
3012 * gdb.python/py-recurse-unwind.py: New file.
3013 * gdb.python/py-recurse-unwind.exp: New file.
3014
3015 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
3016
3017 * gdb.base/set-inferior-tty.exp: New file.
3018 * gdb.base/set-inferior-tty.c: New file.
3019
3020 2016-08-23 Pedro Alves <palves@redhat.com>
3021
3022 PR gdb/20494
3023 * gdb.base/new-ui-echo.c: New file.
3024 * gdb.base/new-ui-echo.exp: New file.
3025
3026 2016-08-23 Yao Qi <yao.qi@linaro.org>
3027
3028 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
3029 gdbserver_spawn.
3030 * gdb.server/connect-without-multi-process.exp (do_test):
3031 Likewise.
3032
3033 2016-08-23 Yao Qi <yao.qi@linaro.org>
3034
3035 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
3036 standalone_txt. Delete gdb_txt and standalone_txt on host
3037 and target. Spawn the binary on target. Copy files from
3038 target to host.
3039
3040 2016-08-22 Pedro Alves <palves@redhat.com>
3041
3042 PR gdb/20505
3043 * gdb.base/vdso-warning.exp: Test core dumps too. Use
3044 with_test_prefix. Factor out bits to ...
3045 (test_no_vdso): ... this new procedure.
3046
3047 2016-08-19 Carl Love <cel@us.ibm.com>
3048
3049 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
3050 maintaining separate logic for constructing the output path.
3051 * gdb.arch/powerpc-d128-regs.exp: Likewise.
3052 * gdb.arch/ppc-dfp.exp: Likewise.
3053 * gdb.arch/ppc-fp.exp: Likewise.
3054 * gdb.arch/vsx-regs.exp: Likewise.
3055 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
3056 binprefix for generating the additional binary files.
3057
3058 2016-08-19 Pedro Alves <palves@redhat.com>
3059
3060 * gdb.trace/mi-trace-frame-collected.exp
3061 (test_trace_frame_collected): On x32, expect two registers.
3062
3063 2016-08-18 Carl Love <cel@us.ibm.com>
3064
3065 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
3066 and sync up the test with tests in gas/testsuite/gas/ppc.
3067 * gdb.arch/powerpc-power.exp: Likewise.
3068
3069 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
3070
3071 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
3072 expected error message.
3073
3074 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
3075
3076 * gdb.multi/remove-inferiors.exp: New file.
3077 * gdb.multi/remove-inferiors.c: New file.
3078
3079 2016-08-12 Yao Qi <yao.qi@linaro.org>
3080
3081 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
3082 argument list.
3083
3084 2016-08-10 Pedro Alves <palves@redhat.com>
3085
3086 PR gdb/19187
3087 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
3088 setup_kfails.
3089
3090 2016-08-09 Pedro Alves <palves@redhat.com>
3091 Simon Marchi <simon.marchi@ericsson.com>
3092
3093 PR gdb/20418
3094 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
3095 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
3096
3097 2016-08-09 Pedro Alves <palves@redhat.com>
3098
3099 PR mi/20431
3100 * gdb.mi/mi-cmd-error.exp: New file.
3101
3102 2016-08-09 Pedro Alves <palves@redhat.com>
3103
3104 PR gdb/18653
3105 * gdb.base/signals-state-child.c: New file.
3106 * gdb.base/signals-state-child.exp: New file.
3107 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
3108
3109 2016-08-09 Pedro Alves <palves@redhat.com>
3110
3111 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
3112
3113 2016-08-03 Tom Tromey <tom@tromey.com>
3114
3115 PR python/18565:
3116 * gdb.python/py-frame-inline.exp: Add Frame.function test.
3117
3118 2016-08-01 Yao Qi <yao.qi@linaro.org>
3119
3120 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
3121 variable mode to "multi-process" if $multi_process is 1, otherwise
3122 set it to "single-process".
3123
3124 2016-08-01 Yao Qi <yao.qi@linaro.org>
3125
3126 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
3127 * gdb.cp/cpexprs.exp: Likewise.
3128 * gdb.cp/m-static.exp: Likewise.
3129
3130 2016-07-26 Tom Tromey <tom@tromey.com>
3131
3132 PR python/20190:
3133 * gdb.threads/tls.exp (check_thread_local): Add python symbol
3134 test.
3135
3136 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
3137
3138 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
3139 selecting assembly source files.
3140 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
3141 assembly source files.
3142 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
3143 assembly source files.
3144 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
3145 selecting assembly source files.
3146
3147 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
3148
3149 * gdb.base/new-ui.exp (do_test_invalid_args): New
3150 procedure.
3151
3152 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
3153
3154 * gdb.btrace/reconnect.c: New file.
3155 * gdb.btrace/reconnect.exp: New file.
3156
3157 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
3158
3159 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
3160 to test_catch_syscall_group.
3161 (test_catch_syscall_group): New.
3162
3163 2016-07-21 Tom Tromey <tom@tromey.com>
3164
3165 * gdb.rust/simple.rs (main): Use empty struct expression.
3166 * gdb.rust/simple.exp: Add tests for empty struct expression.
3167
3168 2016-07-21 Yao Qi <yao.qi@linaro.org>
3169
3170 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
3171 if gdb_skip_xml_test is true on some targets.
3172
3173 2016-07-21 Yao Qi <yao.qi@linaro.org>
3174
3175 * gdb.server/solib-list.exp: Unset last_loaded_file.
3176
3177 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3178
3179 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
3180 "step into captured_main (args)".
3181
3182 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3183
3184 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
3185
3186 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3187
3188 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
3189
3190 2016-07-19 Pedro Alves <palves@redhat.com>
3191
3192 * gdb.opt/inline-break.exp: Remove optimize=-O2.
3193 * gdb.opt/inline-bt.exp: Likewise.
3194 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
3195 additional_flags=-Winline.
3196 * gdb.opt/inline-locals.exp: Likewise.
3197 * gdb.opt/inline-markers.c (ATTR): Define.
3198 (inlined_fn): Use it.
3199
3200 2016-07-19 Yao Qi <yao.qi@linaro.org>
3201
3202 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
3203 (test_with_self): Remove some code. Remove argument executable.
3204 (top-level): Use do_self_tests.
3205
3206 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
3207 Don Breazeal <donb@codesourcery.com>
3208
3209 * gdb.base/maint.exp: Escape paths used in regular expressions.
3210 * gdb.stabs/weird.exp: Likewise.
3211
3212 2016-07-13 Tom Tromey <tom@tromey.com>
3213
3214 PR python/15620, PR python/18620:
3215 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
3216 (test_bkpt_events): New procs.
3217
3218 2016-07-13 Tom Tromey <tom@tromey.com>
3219
3220 PR python/17698:
3221 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
3222 test.
3223 (test_watchpoints): Likewise.
3224 (test_bkpt_pending): New proc.
3225
3226 2016-07-13 Tom Tromey <tom@tromey.com>
3227
3228 PR cli/18053:
3229 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
3230 completion test.
3231
3232 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3233
3234 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
3235 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
3236 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
3237 f_label.
3238 (g): Rename g_end_lbl to g_label.
3239 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
3240 low_pc and high_pc.
3241 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
3242
3243 2016-07-12 Tom Tromey <tom@tromey.com>
3244
3245 PR python/19293:
3246 * gdb.python/py-unwind-maint.exp: Update tests.
3247
3248 2016-07-12 Yao Qi <yao.qi@linaro.org>
3249
3250 * lib/selftest-support.exp (selftest_setup): Match the output
3251 when captured_main is inlined.
3252
3253 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
3254
3255 * gdb.fortran/derived-types.exp (result_line, result_line_2):
3256 New variables.
3257 (print this%a, print this%b, print this): New tests.
3258 * gdb.fortran/derived-types.f90 (this): New object and
3259 initialization.
3260
3261 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
3262
3263 * gdb.ada/arraydim.exp: Remove extra directory level in build
3264 directory.
3265
3266 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
3267
3268 * lib/ada.exp: Remove extra directory level in build directory.
3269 * gdb.ada/cond_lang.exp: Likewise.
3270 * gdb.ada/exec_changed.exp: Likewise.
3271 * gdb.ada/lang_switch.exp: Likewise.
3272
3273 2016-07-06 Manish Goregaokar <manish@mozilla.com>
3274
3275 * simple.rs: Add test for raw pointer subscripting.
3276 * simple.exp: Add test expectations.
3277
3278 2016-07-05 Yao Qi <yao.qi@linaro.org>
3279
3280 * gdb.mi/mi-reverse.exp: Match =record-started output.
3281
3282 2016-07-01 Pedro Alves <palves@redhat.com>
3283
3284 * gdb.base/jit-reader.exp (info_registers_current_frame): New
3285 procedure.
3286 (jit_reader_test): Test the jit reader's unwinder.
3287 * gdb.base/jithost.c (jit_function_00_code): New global.
3288 (main): Use memcpy to fill in the mmapped code, instead of poking
3289 bytes manually here.
3290 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
3291 value.
3292 (read_debug_info): Save the function's range.
3293 (read_sp): New function.
3294 (unwind_frame): Use it. Also unwind RBP.
3295 (get_frame_id): Use read_sp.
3296 (gdb_init_reader): Use calloc instead of malloc.
3297 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
3298 parameter. Use gdb_test_multiple.
3299
3300 2016-07-01 Pedro Alves <palves@redhat.com>
3301 Antoine Tremblay <antoine.tremblay@ericsson.com>
3302
3303 * gdb.threads/process-dies-while-detaching.c: New file.
3304 * gdb.threads/process-dies-while-detaching.exp: New file.
3305
3306 2016-07-01 Pedro Alves <palves@redhat.com>
3307
3308 * gdb.multi/watchpoint-multi-exit.c: New file.
3309 * gdb.multi/watchpoint-multi-exit.exp: New file.
3310
3311 2016-06-30 Pedro Alves <palves@redhat.com>
3312
3313 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
3314 unset inferior_spawn_id.
3315
3316 2016-06-30 Pedro Alves <palves@redhat.com>
3317
3318 * lib/mi-support.exp (default_mi_gdb_start): Declare global
3319 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
3320
3321 2016-06-29 Yao Qi <yao.qi@linaro.org>
3322
3323 * gdb.base/return.c: Add copyright header.
3324
3325 2016-06-29 Tom Tromey <tom@tromey.com>
3326
3327 PR python/20129:
3328 * gdb.python/py-framefilter.exp: Add tests for setting priority
3329 and disabling of non-existent frame filter.
3330
3331 2016-06-29 Yao Qi <yao.qi@linaro.org>
3332
3333 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
3334 0x0f07ff.
3335
3336 2016-06-28 Yao Qi <yao.qi@linaro.org>
3337
3338 * gdb.base/catch-syscall.exp: Remove check on isnative and target
3339 triplets. Start gdb, execute catch syscall, and continue. Check
3340 gdb's output to determine catch syscall is supported.
3341
3342 2016-06-27 Manish Goregaokar <manish@mozilla.com>
3343
3344 * gdb.rust/simple.rs: Add test for returning unit in a function.
3345 * gdb.rust/simple.exp: Add expectation for functions returning
3346 unit.
3347
3348 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
3349
3350 * gdb.python/py-breakpoint-create-fail.c,
3351 gdb.python/py-breakpoint-create-fail.exp,
3352 gdb.python/py-breakpoint-create-fail.py: New testcase.
3353
3354 2016-06-25 Manish Goregaokar <manish@mozilla.com>
3355
3356 PR gdb/20239
3357 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
3358 * gdb.rust/simple.exp: Add test expectations for new NonZero
3359 tests.
3360
3361 2016-06-24 David Taylor <dtaylor@emc.com>
3362
3363 * gdb.base/offsets.exp: New file.
3364 * gdb.base/offsets.c: New file.
3365
3366 2016-06-23 Tom Tromey <tom@tromey.com>
3367
3368 PR gdb/16483:
3369 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
3370 before any filters are loaded.
3371
3372 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
3373
3374 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
3375 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
3376 structs.
3377 * gdb.fortran/derived-type-function.exp: New file.
3378 * gdb.fortran/derived-type-function.f90: New file.
3379
3380
3381 2016-06-21 Pedro Alves <palves@redhat.com>
3382
3383 * gdb.base/new-ui.exp: New file.
3384 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
3385 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
3386 (with_spawn_id): New procedure.
3387
3388 2016-06-21 Pedro Alves <palves@redhat.com>
3389
3390 * gdb.mi/mi-exec-run.exp: New file.
3391
3392 2016-06-21 Pedro Alves <palves@redhat.com>
3393
3394 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
3395 breakpoint command's output on the main UI.
3396 (test_break): New procedure, factored out from calls in the top
3397 level.
3398 (top level): Use foreach_with_prefix to test MI as main UI and as
3399 separate UI.
3400
3401 2016-06-21 Pedro Alves <palves@redhat.com>
3402
3403 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
3404 (test_awatch_creation_and_listing)
3405 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
3406 Remove 'type' parameter.
3407 (test_watchpoint_all): New parameter mi_mode. Remove
3408 with_test_prefix.
3409 (top level): Use foreach_with_prefix, and add main/separate UI MI
3410 testing axis.
3411
3412 2016-06-21 Pedro Alves <palves@redhat.com>
3413
3414 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
3415 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
3416 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
3417 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
3418 (gdb_main_spawn_id, mi_spawn_id): Declare and
3419 comment.
3420 (mi_create_inferior_pty): New procedure,
3421 factored out from default_mi_gdb_start.
3422 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
3423 procedures.
3424 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
3425 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
3426 Use mi_create_inferior_pty.
3427 (mi_gdb_start): Use eval to pass down args list.
3428
3429 2016-06-21 Pedro Alves <palves@redhat.com>
3430
3431 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
3432 * gdb.opt/inline-cmds.exp: Add MI tests.
3433
3434 2016-06-21 Pedro Alves <palves@redhat.com>
3435
3436 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
3437
3438 2016-06-21 Pedro Alves <palves@redhat.com>
3439
3440 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
3441 (top level): Use it instead of mi_execute_to.
3442
3443 2016-06-21 Pedro Alves <palves@redhat.com>
3444
3445 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
3446 (cont_handler_str): New.
3447 (signal_stop_handler): Set stop_handler_str instead of printing to
3448 stdout.
3449 (continue_handler): Set cont_handler_str instead of printing to
3450 stdout.
3451 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
3452 mi_send_resuming_command. Print stop_handler_str and
3453 cont_handler_str instead of expecting the python events print
3454 directly.
3455
3456 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
3457
3458 * gdb.base/jit-reader.exp: New file.
3459 * gdb.base/jithost.c: New file.
3460 * gdb.base/jithost.h: New file.
3461 * gdb.base/jitreader.c : New file.
3462 * gdb.base/jit-protocol.h: New file.
3463
3464 2016-06-17 Yao Qi <yao.qi@linaro.org>
3465
3466 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
3467 parameters follow_fork and detach_on_fork. Set follow-fork-mode
3468 and detach-on-fork. Adjust tests.
3469 (top level): Invoke break_cond_on_syscall with combinations of
3470 syscall, follow-fork-mode and detach-on-fork.
3471
3472 2016-06-17 Yao Qi <yao.qi@linaro.org>
3473
3474 * gdb.base/step-over-exit.c: New.
3475 * gdb.base/step-over-exit.exp: New.
3476
3477 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
3478
3479 * gdb.base/float.exp: Add target check for nds32*-*-*.
3480 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
3481
3482 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
3483
3484 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
3485 for unsupported target features.
3486 * gdb.base/call-rt-st.exp: Likewise.
3487 * gdb.base/call-sc.exp: Likewise.
3488 * gdb.base/call-signal-resume.exp: Likewise.
3489 * gdb.base/call-strs.exp: Likewise.
3490 * gdb.base/callexit.exp: Likewise.
3491 * gdb.base/callfuncs.exp: Likewise.
3492 * gdb.base/nodebug.exp: Likewise.
3493 * gdb.base/printcmds.exp: Likewise.
3494 * gdb.base/ptype.exp: Likewise.
3495 * gdb.base/structs.exp: Likewise.
3496 * gdb.base/unwindonsignal.exp: Likewise.
3497 * gdb.cp/gdb2495.exp: Likewise.
3498 * gdb.cp/templates.exp: Likewise.
3499 * gdb.cp/virtfunc.exp: Likewise.
3500 * gdb.threads/hand-call-in-threads.exp: Likewise.
3501 * gdb.threads/interrupted-hand-call.exp: Likewise.
3502 * gdb.threads/thread-unwindonsignal.exp: Likewise.
3503
3504 2016-06-10 Tom Tromey <tom@tromey.com>
3505
3506 PR rust/20110:
3507 * gdb.rust/expr.exp: Add test for integer constant larger than
3508 i32.
3509
3510 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
3511
3512 * gdb.fortran/nested-funcs.exp: New.
3513 * gdb.fortran/nested-funcs.f90: New.
3514
3515 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
3516
3517 * gdb.base/examine-backward.c: New file.
3518 * gdb.base/examine-backward.exp: New file.
3519
3520 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
3521
3522 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
3523 matching.
3524
3525 2016-06-02 Tom Tromey <tom@tromey.com>
3526
3527 PR python/18984:
3528 * gdb.python/py-shared.exp: Add solib_name test.
3529
3530 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
3531
3532 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
3533
3534 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
3535
3536 PR c++/19893
3537 * gdb.dwarf2/implref.exp: Rename to...
3538 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
3539 * gdb.dwarf2/implref-array.c: New file.
3540 * gdb.dwarf2/implref-array.exp: Likewise.
3541 * gdb.dwarf2/implref-global.c: Likewise.
3542 * gdb.dwarf2/implref-global.exp: Likewise.
3543 * gdb.dwarf2/implref-struct.c: Likewise.
3544 * gdb.dwarf2/implref-struct.exp: Likewise.
3545
3546 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
3547
3548 * gdb.trace/trace-condition.exp: Add 64bit tests.
3549
3550 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
3551
3552 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
3553 bits types.
3554 (main): Adapt to 8 to 64 bits types.
3555 * gdb.trace/trace-condition.exp: Add new tests.
3556
3557 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
3558
3559 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
3560
3561 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
3562
3563 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
3564 Move condition tests...
3565 * gdb.trace/trace-condition.exp: Here.
3566
3567 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
3568
3569 * gdb.trace/trace-condition.exp: Add counter-case tests.
3570
3571 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
3572
3573 PR c++/15231
3574 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
3575 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
3576
3577 2016-05-27 Pedro Alves <palves@redhat.com>
3578
3579 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
3580 New procedure.
3581 (top level): Call it, and bail out of DejaGnu is known to be bad.
3582
3583 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
3584
3585 * gdb.base/whatis.c: Extend the test case.
3586 * gdb.base/whatis.exp: Add additional tests.
3587
3588 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3589
3590 * gdb.fortran/type.f90: Add pointer variable.
3591 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
3592
3593 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3594
3595 * gdb.fortran/vla-type.exp: Fix testcase name.
3596
3597 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3598
3599 * gdb.fortran/vla-type.exp: Access elements in nested structs.
3600
3601 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3602
3603 * gdb.fortran/type.f90: Add nested structures.
3604 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
3605 * gdb.fortran/derived-type.exp: Adapt expected output.
3606 * gdb.fortran/vla-type.exp: Adapt expected output.
3607
3608 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3609
3610 * gdb.fortran/whatis_type.exp: Adapt expected output.
3611
3612 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3613
3614 * gdb.fortran/print_type.exp: Fix expected output.
3615 * gdb.fortran/whatis_type.exp: Fix expected output.
3616
3617 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3618
3619 * gdb.fortran/whatis_type.exp: Use multi_line.
3620
3621 2016-05-24 Tom Tromey <tom@tromey.com>
3622
3623 PR python/17386:
3624 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
3625 use value as an index.
3626
3627 2016-05-23 Tom Tromey <tom@tromey.com>
3628
3629 PR python/17981:
3630 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
3631 no-breakpoint case.
3632
3633 2016-05-24 Pedro Alves <palves@redhat.com>
3634
3635 PR gdb/19828
3636 * gdb.threads/clone-attach-detach.c: New file.
3637 * gdb.threads/clone-attach-detach.exp: New file.
3638
3639 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
3640
3641 * gdb.base/annota-input-while-running.exp: Fix syntax error.
3642
3643 2016-05-23 Tom Tromey <tom@tromey.com>
3644
3645 PR python/19438, PR python/18393:
3646 * gdb.python/py-progspace.exp: Add "dir" test.
3647 * gdb.python/py-objfile.exp: Add "dir" test.
3648
3649 2016-05-23 Yao Qi <yao.qi@linaro.org>
3650
3651 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
3652 * gdb.arch/thumb2-it.exp: Likewise.
3653
3654 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
3655
3656 * gdb.mi/mi-threads-interrupt.c: New file.
3657 * gdb.mi/mi-threads-interrupt.exp: New file.
3658
3659 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
3660
3661 PR gdb/18077
3662 * gdb.mi/mi-async-run.exp: New file.
3663 * gdb.mi/mi-async-run.c: New file.
3664
3665 2016-05-17 Tom Tromey <tom@tromey.com>
3666 Manish Goregaokar <manishsmail@gmail.com>
3667
3668 * lib/rust-support.exp: New file.
3669 * lib/gdb.exp (skip_rust_tests): New proc.
3670 (build_executable_from_specs): Handle rust.
3671 * lib/future.exp (gdb_find_rustc): New proc.
3672 (gdb_default_target_compile): Handle rust.
3673 * gdb.rust/expr.exp: New file.
3674 * gdb.rust/generics.exp: New file.
3675 * gdb.rust/generics.rs: New file.
3676 * gdb.rust/methods.exp: New file.
3677 * gdb.rust/methods.rs: New file.
3678 * gdb.rust/modules.exp: New file.
3679 * gdb.rust/modules.rs: New file.
3680 * gdb.rust/simple.exp: New file.
3681 * gdb.rust/simple.rs: New file.
3682
3683 2016-05-17 Tom Tromey <tom@tromey.com>
3684
3685 * gdb.base/default.exp (set language): Add rust.
3686
3687 2016-05-17 Tom Tromey <tom@tromey.com>
3688
3689 * gdb.gdb/unittest.exp: New file.
3690
3691 2016-05-16 Yao Qi <yao.qi@linaro.org>
3692
3693 * gdb.base/batch-preserve-term-settings.exp: Remove variable
3694 shell_prompt. Update shell_prompt_re.
3695
3696 2016-05-12 Doug Evans <dje@google.com>
3697
3698 PR symtab/19999
3699 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
3700 $options when building executable.
3701 * gdb.dwarf2/fission-loclists-pie.S: New file.
3702 * gdb.dwarf2/fission-loclists-pie.exp: New file.
3703
3704 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
3705
3706 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
3707 of [is_remote target],
3708
3709 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
3710
3711 * lib/gdb.exp (use_gdb_stub): New procedure.
3712
3713 2016-05-03 Yunlian Jiang <yunlian@google.com>
3714 Doug Evans <dje@google.com>
3715
3716 PR symtab/19914
3717 * gdb.dwarf2/dwp-sepdebug.c: New file.
3718 * gdb.dwarf2/dwp-sepdebug.exp: New file.
3719
3720 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
3721
3722 * gdb.base/detach.exp: Remove is_remote check.
3723
3724 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
3725
3726 * gdb.base/annota-input-while-running.exp: Don't check for
3727 [is_remote target]. Enable annotations after running to main.
3728 Remove unused "set test..." line.
3729
3730 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
3731
3732 * gdb.trace/trace-enable-disable.exp: New file.
3733 * gdb.trace/trace-enable-disable.c: New file.
3734
3735 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
3736
3737 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
3738 use it in info sharedlibrary test.
3739 * gdb.trace/ftrace-lock.exp: Likewise.
3740 * gdb.trace/ftrace.exp: Likewise.
3741 * gdb.trace/range-stepping.exp: Likewise.
3742 * gdb.trace/trace-break.exp: Likewise.
3743 * gdb.trace/trace-condition.exp: Likewise.
3744 * gdb.trace/trace-mt.exp: Likewise.
3745
3746 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
3747
3748 * lib/gdb.exp (gdb_load_shlibs): Rename to...
3749 (gdb_load_shlib): ... this.
3750 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
3751 gdb_load_shlib.
3752 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
3753 * gdb.base/ctxobj.exp: Likewise.
3754 * gdb.base/dprintf-pending.exp: Likewise.
3755 * gdb.base/dso2dso.exp: Likewise.
3756 * gdb.base/fixsection.exp: Likewise.
3757 * gdb.base/gcore-relro.exp: Likewise.
3758 * gdb.base/gdb1555.exp: Likewise.
3759 * gdb.base/global-var-nested-by-dso.exp: Likewise.
3760 * gdb.base/gnu-ifunc.exp: Likewise.
3761 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
3762 * gdb.base/jit-so.exp (one_jit_test): Likewise.
3763 * gdb.base/pending.exp: Likewise.
3764 * gdb.base/print-file-var.exp: Likewise.
3765 * gdb.base/print-symbol-loading.exp: Likewise.
3766 * gdb.base/shlib-call.exp: Likewise.
3767 * gdb.base/shreloc.exp: Likewise.
3768 * gdb.base/so-impl-ld.exp: Likewise.
3769 * gdb.base/solib-disc.exp: Likewise.
3770 * gdb.base/solib-nodir.exp: Likewise.
3771 * gdb.base/solib-overlap.exp: Likewise.
3772 * gdb.base/solib-symbol.exp: Likewise.
3773 * gdb.base/solib-weak.exp (do_test): Likewise.
3774 * gdb.base/sym-file.exp: Likewise.
3775 * gdb.base/symtab-search-order.exp: Likewise.
3776 * gdb.base/type-opaque.exp: Likewise.
3777 * gdb.base/unload.exp: Likewise.
3778 * gdb.base/watchpoint-solib.exp: Likewise.
3779 * gdb.compile/compile.exp: Likewise.
3780 * gdb.cp/gdb2384.exp: Likewise.
3781 * gdb.cp/infcall-dlopen.exp: Likewise.
3782 * gdb.cp/re-set-overloaded.exp: Likewise.
3783 * gdb.fortran/library-module.exp: Likewise.
3784 * gdb.opt/solib-intra-step.exp: Likewise.
3785 * gdb.python/py-finish-breakpoint.exp: Likewise.
3786 * gdb.python/py-shared.exp: Likewise.
3787 * gdb.reverse/solib-precsave.exp: Likewise.
3788 * gdb.reverse/solib-reverse.exp: Likewise.
3789 * gdb.server/solib-list.exp: Likewise.
3790 * gdb.threads/dlopen-libpthread.exp: Likewise.
3791 * gdb.threads/tls-shared.exp: Likewise.
3792 * gdb.threads/tls-so_extern.exp: Likewise.
3793 * gdb.trace/change-loc.exp: Likewise.
3794 * gdb.trace/ftrace-lock.exp: Likewise.
3795 * gdb.trace/ftrace.exp: Likewise.
3796 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
3797 * gdb.trace/pending.exp: Likewise.
3798 * gdb.trace/range-stepping.exp: Likewise.
3799 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
3800 (strace_info_marker): Likewise.
3801 (strace_probe_marker): Likewise.
3802 (strace_trace_on_same_addr): Likewise.
3803 (strace_trace_on_diff_addr): Likewise.
3804 * gdb.trace/trace-break.exp: Likewise.
3805 * gdb.trace/trace-condition.exp: Likewise.
3806 * gdb.trace/trace-mt.exp: Likewise.
3807
3808 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
3809
3810 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
3811 result of gdb_remote_download.
3812 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
3813 * gdb.base/dso2dso.exp: Likewise.
3814 * gdb.base/global-var-nested-by-dso.exp: Likewise.
3815 * gdb.base/print-file-var.exp: Likewise.
3816 * gdb.base/shlib-call.exp: Likewise.
3817 * gdb.base/shreloc.exp: Likewise.
3818 * gdb.base/solib-overlap.exp: Likewise.
3819 * gdb.base/solib-weak.exp (do_test): Likewise.
3820 * gdb.base/unload.exp: Likewise.
3821
3822 2016-04-27 Yao Qi <yao.qi@linaro.org>
3823
3824 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
3825 exists.
3826
3827 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
3828
3829 * vla-type.exp: Print structure from toplevel.
3830
3831 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
3832
3833 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
3834 of dynamic types.
3835 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
3836 of dynamic types.
3837
3838 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
3839
3840 * gdb.fortran/vla-type.f90: New file.
3841 * gdb.fortran/vla-type.exp: New file.
3842
3843 2016-04-25 Yao Qi <yao.qi@linaro.org>
3844
3845 * gdb.base/branch-to-self.c: New file.
3846 * gdb.base/branch-to-self.exp: New file.
3847
3848 2016-04-22 Yao Qi <yao.qi@linaro.org>
3849
3850 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
3851 more after $hex.
3852
3853 2016-04-22 Yao Qi <yao.qi@linaro.org>
3854
3855 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
3856 * gdb.base/annota3.exp: Likewise.
3857
3858 2016-04-22 Yao Qi <yao.qi@linaro.org>
3859
3860 * gdb.reverse/step-precsave.exp: Do one step and test program
3861 stops in "callee" and do multiple steps until program goes out
3862 of "callee".
3863 * gdb.reverse/step-reverse.exp: Likewise.
3864
3865 2016-04-22 Yao Qi <yao.qi@linaro.org>
3866
3867 * gdb.trace/signal.exp: Also pass if
3868 $tracepoint_hits($i) > $iterations.
3869
3870 2016-04-22 Yao Qi <yao.qi@linaro.org>
3871
3872 * gdb.trace/signal.c: New file.
3873 * gdb.trace/signal.exp: New file.
3874
3875 2016-04-19 Doug Evans <xdje42@gmail.com>
3876
3877 * gdb.base/bad-file.exp: New file.
3878
3879 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
3880
3881 * gdb.dwarf2/implref.exp: New file.
3882
3883 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
3884
3885 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
3886 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
3887 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
3888 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
3889 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
3890 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
3891 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
3892 * lib/fortran.exp (fortran_int4): New procedure.
3893 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
3894 (fortran_logical4): Likewise.
3895
3896 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
3897
3898 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
3899
3900 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
3901
3902 * lib/compiler.c: Add Intel specific preprocessor macros.
3903 * lib/compiler.cc: Likewise.
3904
3905 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
3906
3907 * gdb.server/connect-with-no-symbol-file.c: New file.
3908 * gdb.server/connect-with-no-symbol-file.exp: New file.
3909
3910 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
3911
3912 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
3913
3914 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
3915
3916 * boards/gdbserver-base.exp (${board}_download): Copy source file to
3917 standard output directory.
3918
3919 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
3920
3921 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
3922
3923 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
3924
3925 * gdb.btrace/instruction_history.c (loop): Add declaration.
3926
3927 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
3928
3929 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
3930
3931 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
3932
3933 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
3934 parentheses to print.
3935 (continue_handler): Likewise.
3936
3937 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
3938
3939 * gdb.server/solib-list.exp: Remove is_remote check.
3940 Pass shlib= to gdb_compile. Don't link shared library with
3941 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
3942 Run binary filename through "readlink -f" on the target.
3943
3944 2016-04-08 Pedro Alves <palves@redhat.com>
3945
3946 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
3947 interpreter filename as argument to gdbserver_spawn.
3948 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
3949 Return empty if $last_loaded_file does not exist.
3950
3951 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3952
3953 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
3954 * gdb.base/jit-main.c: Use exit after usage.
3955
3956 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3957
3958 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
3959 GDBHISTSIZE prior to the tests.
3960 * gdb.base/gdbinit-history.exp: Likewise.
3961
3962 2016-04-07 Pedro Alves <palves@redhat.com>
3963
3964 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
3965 instead of build_executable. Use gdb_load_shlibs.
3966
3967 2016-04-07 Yao Qi <yao.qi@linaro.org>
3968
3969 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
3970 Execute "si" command.
3971
3972 2016-04-07 Yao Qi <yao.qi@linaro.org>
3973
3974 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
3975 number instead of the comments on some line.
3976
3977 2016-04-06 Don Breazeal <donb@codesourcery.com>
3978
3979 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
3980 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
3981
3982 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
3983
3984 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
3985 standard_output_file. Remove unused binfile variable.
3986
3987 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
3988
3989 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
3990 * gdb.python/py-mi-objfile.exp: Match "list main" output
3991 in console format.
3992
3993 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
3994
3995 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
3996 absolute.
3997
3998 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
3999
4000 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
4001 absolute.
4002 * gdb.trace/ftrace.exp: Likewise.
4003 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
4004 targets as well.
4005 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
4006 (gdb_load_shlibs): Copy libraries to test directory when testing
4007 natively. Only set solib-search-path if testing remotely.
4008 * lib/mi-support.exp (mi_load_shlibs): Likewise.
4009
4010 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
4011
4012 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
4013 gdb_download. Use it even if the target is not remote.
4014 * gdb.base/jit.exp (compile_jit_test): Likewise.
4015 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
4016 output directory if the destination board is local, otherwise use
4017 the standard remote_download from DejaGnu.
4018 (gdb_download): Remove.
4019 (gdb_load_shlibs): Use gdb_remote_download instead of
4020 gdb_download.
4021 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
4022 Use gdb_remote_download instead of gdb_download. Use it even if
4023 the target is not remote.
4024 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
4025 instead of gdb_download.
4026
4027 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
4028
4029 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
4030 (test_insert_delete_modify): Call mi_load_shlibs before trying to
4031 run.
4032
4033 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
4034
4035 PR gdb/19820
4036 * gdb.base/printcmds.exp: Add artificial arrays tests.
4037
4038 2016-03-31 Pedro Alves <palves@redhat.com>
4039
4040 PR gdb/19858
4041 * gdb.base/jit-main.c: Include unistd.h.
4042 (ATTACH): Define to 0 if not already defined.
4043 (wait_for_gdb, mypid): New globals.
4044 (WAIT_FOR_GDB): New macro.
4045 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
4046 some breakpoint locations.
4047 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
4048 New procedures.
4049 (one_jit_test): Add REATTACH parameter, and handle it. Use
4050 continue_to_test_location.
4051 (top level): Test attach, and adjusts calls to one_jit_test.
4052
4053 2016-03-31 Pedro Alves <palves@redhat.com>
4054
4055 PR gdb/19858
4056 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
4057 BINSUFFIX parameter, and handle it.
4058 (top level): Adjust calls compile_jit_test.
4059
4060 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
4061
4062 PR python/19743
4063 * gdb.python/py-mi-events-gdb.py: New file.
4064 * gdb.python/py-mi-events.c: New file.
4065 * gdb.python/py-mi-events.exp: New file.
4066
4067 2016-03-30 Yao Qi <yao.qi@linaro.org>
4068
4069 * gdb.reverse/until-precsave.exp: Match function name only.
4070 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
4071 Move malloc to a condition block.
4072 * gdb.reverse/until-reverse.exp: Match function name only.
4073
4074 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
4075
4076 * gdb.trace/ftrace.exp: Set arg0exp for s390.
4077 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
4078 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
4079 variable for GPR 0 instead of assuming it is register 0.
4080 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
4081 * lib/trace-support.exp: Add s390 registers.
4082
4083 2016-03-29 Yao Qi <yao.qi@linaro.org>
4084
4085 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
4086
4087 2016-03-24 Yao Qi <yao.qi@linaro.org>
4088
4089 * gdb.reverse/break-reverse.exp: Add quotation mark in the
4090 test message.
4091
4092 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4093
4094 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
4095 maintaining separate logic for constructing the output path.
4096
4097 2016-03-16 Don Breazeal <donb@codesourcery.com>
4098
4099 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
4100 Retry fork and waitpid on interrupted system call errors.
4101 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
4102 Use with_timeout_factor to increase timeout by factor of 10.
4103
4104 2016-03-15 Don Breazeal <donb@codesourcery.com>
4105
4106 * gdb.cp/scope-err.cc: New test program.
4107 * gdb.cp/scope-err.exp: New test script.
4108 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
4109 lines and "set breakpoint here" comment.
4110 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
4111 Fixed some whitespace and format issues.
4112 * gdb.mi/mi-linespec-err-cp.cc: New test program.
4113 * gdb.mi/mi-linespec-err-cp.exp: New test script.
4114
4115 2016-03-15 Doug Evans <dje@google.com>
4116
4117 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
4118 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
4119 All callers updated. Add tests for enums, mixed flags register.
4120
4121 2016-03-15 Doug Evans <dje@google.com>
4122
4123 * gdb.base/skip.c (main): Call test_skip_file_and_function.
4124 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
4125
4126 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
4127
4128 * gdb.base/default.exp: Add $_as_string to the list of expected
4129 convenience functions.
4130
4131 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
4132
4133 * gdb.base/maint.exp: New tests for 'maint info line-table'.
4134
4135 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
4136
4137 * gdb.python/py-as-string.exp: New file.
4138 * gdb.python/py-as-string.c: New file.
4139
4140 2016-03-09 Pedro Alves <palves@redhat.com>
4141
4142 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
4143 signal" -> "Thread NN received signal" output change.
4144 * gdb.threads/ia64-sigill.exp: Likewise.
4145 * gdb.threads/linux-dp.exp: Likewise.
4146 * gdb.threads/manythreads.exp: Likewise.
4147 * gdb.threads/pending-step.exp: Likewise.
4148 * gdb.threads/print-threads.exp: Likewise.
4149 * gdb.threads/sigstep-threads.exp: Likewise.
4150 * gdb.threads/staticthreads.exp: Likewise.
4151 * gdb.threads/tls.exp: Likewise.
4152
4153 2016-03-09 Pedro Alves <palves@redhat.com>
4154
4155 * gdb.base/command-line-input.exp: New file.
4156
4157 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
4158
4159 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
4160 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
4161 * gdb.trace/pending.exp: Accept leading dot before function name.
4162 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
4163 * lib/trace-support.exp: Set registers for ppc.
4164
4165 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
4166
4167 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
4168 use it for disassembly; accept .main in addition to main in backtrace.
4169
4170 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
4171 Marcin Kościelnicki <koriakin@0x04.net>
4172
4173 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
4174 (gdb_recursion_test_ptr): New global variable.
4175 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
4176 gdb_recursion_test.
4177 (gdb_c_test): Ditto.
4178
4179 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
4180
4181 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
4182 ordering.
4183
4184 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
4185
4186 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
4187 (bar): Add bar_start_lbl label.
4188 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
4189 of foo/bar for emitting DWARF and tracing.
4190
4191 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
4192
4193 * analyze-racy-logs.py: Set executable bit.
4194
4195 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
4196
4197 * Makefile.in (DEFAULT_RACY_ITER): New variable.
4198 (CHECK_TARGET_TMP): Likewise.
4199 (check-single-racy): New rule.
4200 (check-parallel-racy): Likewise.
4201 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
4202 (do-check-parallel-racy): New rule.
4203 (check-racy/%.exp): Likewise.
4204 * README (Racy testcases): New section.
4205 * analyze-racy-logs.py: New file.
4206
4207 2016-03-03 Doug Evans <dje@google.com>
4208
4209 * gdb.base/skip.exp: Use with_test_prefix.
4210
4211 2016-03-03 Yao Qi <yao.qi@linaro.org>
4212
4213 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
4214 Invoke step_over_syscall "clone" and break_cond_on_syscall
4215 "clone".
4216 * gdb.base/step-over-clone.c: New file.
4217
4218 2016-03-03 Yao Qi <yao.qi@linaro.org>
4219
4220 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
4221 code format.
4222
4223 2016-03-03 Yao Qi <yao.qi@linaro.org>
4224
4225 * gdb.base/disp-step-fork.c: Rename to ...
4226 * gdb.base/step-over-fork.c: ... it. New file.
4227 * gdb.base/disp-step-vfork.c: Rename to ...
4228 * gdb.base/step-over-vfork.c: ... it. New file.
4229 * gdb.base/disp-step-syscall.exp: Rename to ...
4230 * gdb.base/step-over-syscall.exp: ... it. New file.
4231 (disp_step_cross_syscall): Rename to ...
4232 (step_over_syscall): ... it.
4233
4234 2016-03-03 Yao Qi <yao.qi@linaro.org>
4235
4236 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
4237 If target supports condition evaluation on target, invoke
4238 break_cond_on_syscall for fork and vfork.
4239
4240 2016-03-03 Yao Qi <yao.qi@linaro.org>
4241
4242 * gdb.base/disp-step-syscall.exp: Don't invoke
4243 support_displaced_stepping.
4244 (disp_step_cross_syscall): Test with displaced stepping off and
4245 on if supported.
4246
4247 2016-03-03 Yao Qi <yao.qi@linaro.org>
4248
4249 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
4250 proc.
4251 (setup): New proc.
4252 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
4253 and setup.
4254
4255 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
4256
4257 * gdb.fortran/vla-history.exp: Remove breakpoint.
4258
4259 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
4260
4261 * gdb.fortran/vla-history.exp: Lookup array elements and printing
4262 exceeds timeout.
4263
4264 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
4265
4266 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
4267 breakpoint.
4268
4269 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
4270
4271 * gdb.mi/vla.f90: Nullify pointer after declaration.
4272
4273 2016-03-01 Pedro Alves <palves@redhat.com>
4274
4275 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
4276
4277 2016-03-01 Pedro Alves <palves@redhat.com>
4278
4279 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
4280 before anything else.
4281 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
4282 _GNU_SOURCE here.
4283 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
4284 before anything else.
4285 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
4286
4287 2016-03-01 Pedro Alves <palves@redhat.com>
4288
4289 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
4290
4291 2016-03-01 Yao Qi <yao.qi@linaro.org>
4292
4293 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
4294 prepare_for_testing.
4295
4296 2016-03-01 Yao Qi <yao.qi@linaro.org>
4297
4298 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
4299
4300 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
4301
4302 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
4303 manually constructing the output path.
4304
4305 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
4306
4307 * gdb.arch/s390-stackless.S: New.
4308 * gdb.arch/s390-stackless.exp: New.
4309
4310 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
4311
4312 * gdb.dlang/circular.c: New file.
4313 * gdb.dlang/circular.exp: New file.
4314
4315 2016-02-26 Yao Qi <yao.qi@linaro.org>
4316
4317 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
4318 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
4319 (testcases): Update.
4320
4321 2016-02-26 Yao Qi <yao.qi@linaro.org>
4322
4323 * gdb.reverse/aarch64.c: Rename to ...
4324 * gdb.reverse/insn-reverse.c: ... it.
4325 * gdb.reverse/aarch64.exp: Rename to ...
4326 * gdb.reverse/insn-reverse.exp: ... it.
4327
4328 2016-02-26 Yao Qi <yao.qi@linaro.org>
4329
4330 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
4331 (testcase_ftype): New.
4332 (testcases): New array.
4333 (n_testcases): New.
4334 (main): Call each element in testcases.
4335 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
4336 (read_testcase): New.
4337 Do the tests in a loop.
4338
4339 2016-02-25 Yao Qi <yao.qi@linaro.org>
4340
4341 * gdb.base/branches.c: Remove.
4342
4343 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
4344
4345 PR gdb/13808
4346 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
4347
4348 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
4349
4350 * gdb.trace/ftrace.exp: Remove unnecessary target check.
4351
4352 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
4353
4354 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
4355 change x86_64 call_insn to 'callq'.
4356
4357 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4358
4359 * gdb.trace/tfile-avx.c: Move to...
4360 * gdb.trace/tracefile-pseudo-reg.c: Here.
4361 * gdb.trace/tfile-avx.exp: Move to...
4362 * gdb.trace/tracefile-pseudo-reg.exp: Here.
4363
4364 2016-02-24 Gary Benson <gbenson@redhat.com>
4365
4366 * gdb.base/attach-pie-noexec.exp: Do not expect an error
4367 message on attach.
4368
4369 2016-02-23 Doug Evans <dje@google.com>
4370
4371 * gdb.base/skip.c (test_skip): New function.
4372 (end_test_skip_file_and_function): New function.
4373 (test_skip_file_and_function): New function.
4374 * gdb.base/skip1.c (test_skip): New function.
4375 (skip1_test_skip_file_and_function): New function.
4376 * gdb.base/skip.exp: Add tests for new skip options.
4377 * gdb.base/skip-solib.exp: Update expected output.
4378 * gdb.perf/skip-command.cc: New file.
4379 * gdb.perf/skip-command.exp: New file.
4380 * gdb.perf/skip-command.py: New file.
4381
4382 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
4383
4384 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
4385 info registers pattern.
4386
4387 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
4388
4389 * lib/future.exp: Add D support.
4390 (gdb_find_gdc): New proc.
4391 (gdb_default_target_compile): Add D support.
4392
4393 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
4394
4395 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
4396 user+system time.
4397 (trace_speed_test): Determine the iteration count for a time
4398 between 15..30 seconds.
4399
4400 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
4401
4402 * gdb.arch/i386-mpx-sigsegv.c: New file.
4403 * gdb.arch/i386-mpx-sigsegv.exp: New file.
4404 * gdb.arch/i386-mpx-simple_segv.c: New file.
4405 * gdb.arch/i386-mpx-simple_segv.exp: New file.
4406
4407 2016-02-18 Yao Qi <yao.qi@linaro.org>
4408
4409 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
4410 Don't call setup_kfail.
4411
4412 2016-02-18 Yao Qi <yao.qi@linaro.org>
4413
4414 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
4415 Set "set breakpoint condition-evaluation" per $cond_bp_target.
4416
4417 2016-02-16 Doug Evans <dje@google.com>
4418
4419 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
4420 * gdb.base/skip1.c: Ditto.
4421 * gdb.base/skip.exp: Whitespace cleanup.
4422
4423 2016-02-16 Don Breazeal <donb@codesourcery.com>
4424
4425 PR remote/19496
4426 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
4427 Remove kfail for PR remote/19496.
4428
4429 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
4430
4431 * lib/gdb.exp (standard_temp_file): Return a path specific to
4432 the runtest invocation.
4433
4434 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
4435
4436 * gdb.trace/save-trace.exp: Change relative path to be in the
4437 standard output directory.
4438
4439 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4440
4441 * gdb.arch/i386-prologue.c: Add missing prototypes.
4442
4443 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4444
4445 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
4446 * gdb.arch/i386-prologue.exp: Likewise.
4447 * gdb.arch/i386-size.exp: Likewise.
4448
4449 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
4450
4451 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
4452 define object file path.
4453 * gdb.btrace/gcore.exp: Use standard_output_file to define core
4454 file path.
4455 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
4456 standard_output_file to define binfile.
4457
4458 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4459
4460 Fix compatibility with recent gfortran-5.3.1.
4461 * gdb.fortran/vla-history.exp (print vla1 allocated)
4462 (print vla2 allocated, print $2, print $3): Remove
4463 (print $4): Rename to ...
4464 (print $2): ... here.
4465 (print $9): Rename to ...
4466 (print $5): ... here.
4467 (print $10): Rename to ...
4468 (print $6): ... here.
4469 * gdb.fortran/vla.f90: Add pvla initialization.
4470
4471 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4472
4473 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
4474 New test.
4475 * gdb.fortran/vla-value-sub.exp: Likewise.
4476
4477 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
4478
4479 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
4480
4481 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
4482
4483 * i386-biarch-core.exp: Define corefile using
4484 standard_output_file.
4485
4486 2016-02-12 Yao Qi <yao.qi@linaro.org>
4487
4488 * gdb.arch/arm-single-step-kernel-helper.c: New.
4489 * gdb.arch/arm-single-step-kernel-helper.exp: New.
4490
4491 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
4492
4493 * gdb.btrace/tailcall-only.exp: New.
4494 * gdb.btrace/tailcall-only.c: New.
4495 * gdb.btrace/x86_64-tailcall-only.S: New.
4496 * gdb.btrace/i686-tailcall-only.S: New.
4497
4498 2016-02-11 Pedro Alves <palves@redhat.com>
4499
4500 * README (Parallel testing): Add missing double quotes.
4501
4502 2016-02-11 Pedro Alves <palves@redhat.com>
4503
4504 * README (Parallel testing): New section.
4505 (GDB_PARALLEL): Rewrite.
4506 (FORCE_PARALLEL): Document.
4507
4508 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
4509
4510 * gdb.trace/tfile-avx.c: New test.
4511 * gdb.trace/tfile-avx.exp: New test.
4512
4513 2016-02-09 Keith Seitz <keiths@redhat.com>
4514
4515 PR breakpoints/19546
4516 * gdb.base/infcall-exec.c: New file.
4517 * gdb.base/infcall-exec2.c: New file.
4518 * gdb.base/infcall-exec.exp: New file.
4519
4520 2016-02-09 Keith Seitz <keiths@redhat.com>
4521
4522 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
4523 (toplevel): Call test_bkpt_address.
4524
4525 2016-02-09 Keith Seitz <keiths@redhat.com>
4526
4527 PR python/19506
4528 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
4529 (toplevel): Call test_bkpt_address.
4530
4531 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
4532
4533 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
4534 to AC_OUTPUT.
4535 * configure: Regenerate.
4536
4537 2016-02-09 Pedro Alves <palves@redhat.com>
4538
4539 PR breakpoints/19548
4540 * gdb.base/execl-update-breakpoints.c (some_function): New
4541 function.
4542 (main): Call it.
4543 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
4544 Tighten expected GDB output.
4545
4546 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
4547
4548 * Makefile.in (ALL_SUBDIRS): Remove.
4549 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
4550 (distclean maintainer-clean realclean): Likewise.
4551 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
4552 * configure: Regenerate.
4553 * gdb.ada/Makefile.in: Delete.
4554 * gdb.arch/Makefile.in: Likewise.
4555 * gdb.asm/Makefile.in: Likewise.
4556 * gdb.base/Makefile.in: Likewise.
4557 * gdb.btrace/Makefile.in: Likewise.
4558 * gdb.cell/Makefile.in: Likewise.
4559 * gdb.compile/Makefile.in: Likewise.
4560 * gdb.cp/Makefile.in: Likewise.
4561 * gdb.disasm/Makefile.in: Likewise.
4562 * gdb.dlang/Makefile.in: Likewise.
4563 * gdb.dwarf2/Makefile.in: Likewise.
4564 * gdb.fortran/Makefile.in: Likewise.
4565 * gdb.gdb/Makefile.in: Likewise.
4566 * gdb.go/Makefile.in: Likewise.
4567 * gdb.guile/Makefile.in: Likewise.
4568 * gdb.java/Makefile.in: Likewise.
4569 * gdb.linespec/Makefile.in: Likewise.
4570 * gdb.mi/Makefile.in: Likewise.
4571 * gdb.modula2/Makefile.in: Likewise.
4572 * gdb.multi/Makefile.in: Likewise.
4573 * gdb.objc/Makefile.in: Likewise.
4574 * gdb.opencl/Makefile.in: Likewise.
4575 * gdb.opt/Makefile.in: Likewise.
4576 * gdb.pascal/Makefile.in: Likewise.
4577 * gdb.perf/Makefile.in: Likewise.
4578 * gdb.python/Makefile.in: Likewise.
4579 * gdb.reverse/Makefile.in: Likewise.
4580 * gdb.server/Makefile.in: Likewise.
4581 * gdb.stabs/Makefile.in: Likewise.
4582 * gdb.threads/Makefile.in: Likewise.
4583 * gdb.trace/Makefile.in: Likewise.
4584 * gdb.xml/Makefile.in: Likewise.
4585 * lib/gdb.exp (make_gdb_parallel_path): Add check for
4586 GDB_PARALLEL.
4587 (standard_output_file): Remove check for GDB_PARALLEL, always
4588 return path in outputs/$subdir/$testname.
4589
4590 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
4591
4592 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
4593 (site.exp): Assign abs_srcdir to tcl's srcdir.
4594
4595 2016-02-04 Yao Qi <yao.qi@linaro.org>
4596
4597 * gdb.base/foll-exec-mode.c: Include limits.h.
4598 (main): Add parameters argc and argv. Get directory from
4599 argv[0].
4600 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
4601 compilation.
4602 * gdb.base/foll-exec.c: Include limits.h.
4603 (main): Add parameters argc and argv.
4604 Get directory from argv[0].
4605 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
4606 Adjust tests on the number of lines as source code changed.
4607 * gdb.base/foll-vfork-exit.c: Include limits.h.
4608 (main): Add one line of statement before vfork.
4609 * gdb.base/foll-vfork.c: Include limits.h and string.h.
4610 (main): Add parameters argc and argv. Get directory from
4611 argv[0].
4612 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
4613 (setup_gdb): Set tbreak to skip some source lines.
4614 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
4615 (main): Add parameters argc and argv. Get directory from
4616 argv[0].
4617 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
4618 compilation.
4619 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
4620 (main): Add parameters argc and argv. Get directory from
4621 argv[0].
4622 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
4623 compilation.
4624
4625 2016-02-01 Doug Evans <dje@google.com>
4626
4627 * gdb.base/skip.exp: Clean up multiple references to same test name.
4628
4629 2016-02-01 Pedro Alves <palves@redhat.com>
4630
4631 PR remote/19496
4632 * gdb.threads/forking-threads-plus-breakpoint.exp
4633 (displaced_stepping_supported): New global.
4634 (probe_displaced_stepping_support): New procedure.
4635 (do_test): Add 'displaced' parameter, and use it.
4636 (top level): Check for displaced stepping support. Add displaced
4637 stepping on/off testing axis.
4638
4639 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
4640
4641 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
4642 pointer. Don't perform further tests on the unassociated pointer
4643 if the first test fails.
4644
4645 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
4646
4647 * gdb.base/max-value-size.c: New file.
4648 * gdb.base/max-value-size.exp: New file.
4649 * gdb.base/huge.exp: Disable max-value-size for this test.
4650
4651 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
4652
4653 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
4654
4655 2016-01-28 Yao Qi <yao.qi@linaro.org>
4656
4657 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
4658
4659 2016-01-25 Pedro Alves <palves@redhat.com>
4660
4661 PR threads/19461
4662 * gdb.base/fork-running-state.c: New file.
4663 * gdb.base/fork-running-state.exp: New file.
4664
4665 2016-01-25 Pedro Alves <palves@redhat.com>
4666
4667 PR gdb/19494
4668 * gdb.base/catch-fork-kill.c: New file.
4669 * gdb.base/catch-fork-kill.exp: New file.
4670
4671 2016-01-25 Pedro Alves <palves@redhat.com>
4672
4673 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
4674 Delete, moved to lib/gdb.exp.
4675 * gdb.threads/forking-threads-plus-breakpoint.exp
4676 (foreach_with_prefix): Likewise.
4677 * gdb.threads/process-dies-while-handling-bp.exp
4678 (foreach_with_prefix): Likewise.
4679 * lib/gdb.exp (foreach_with_prefix): New procedure.
4680
4681 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
4682
4683 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
4684 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
4685
4686 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
4687
4688 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
4689 endian targets.
4690
4691 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4692 Pedro Alves <palves@redhat.com>
4693
4694 Fix testsuite compatibility with Guile.
4695 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
4696 number.
4697
4698 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4699
4700 Fix testsuite compatibility with Guile.
4701 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
4702 (thread 1): New test for backtrace through signal handler.
4703
4704 2016-01-22 Yao Qi <yao.qi@linaro.org>
4705
4706 PR testsuite/19491
4707 * gdb.base/multi-forks.c: Include
4708 ../lib/unbuffer_output.c
4709 (main): Call gdb_unbuffer_output.
4710
4711 2016-01-21 Doug Evans <dje@google.com>
4712
4713 * lib/ada.exp (gdb_compile_ada): Fix typo.
4714
4715 2016-01-21 Joel Brobecker <brobecker@adacore.com>
4716
4717 * gdb.base/break-fun-addr.exp: New file.
4718 * gdb.base/break-fun-addr1.c: New file.
4719 * gdb.base/break-fun-addr2.c: New file.
4720
4721 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
4722
4723 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
4724 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
4725 enum flag values.
4726
4727 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
4728
4729 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
4730 when GDB can not set the vector return value. Add more comments
4731 for clarification.
4732
4733 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
4734
4735 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
4736 command.
4737
4738 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
4739
4740 * Makefile.in (DO_RUNTEST): Add --status and update usages.
4741
4742 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
4743
4744 * Makefile.in (check-single): Pass --status to runtest.
4745 (check/%.exp): Likewise.
4746
4747 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
4748
4749 * Makefile.in (check-parallel): Propagate return code from make
4750 do-check-parallel.
4751
4752 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
4753
4754 * gdb.trace/ftrace.exp: Fix expected message on continue.
4755 * gdb.trace/pending.exp: Fix expected message on continue.
4756 * gdb.trace/trace-break.exp: Fix expected message on continue.
4757
4758 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
4759
4760 * lib/gdb.exp (gdb_test): Remove unused global references.
4761
4762 2016-01-18 Pedro Alves <palves@redhat.com>
4763
4764 * gdb.base/async-shell.exp: Adjust expected output.
4765 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
4766 * gdb.base/siginfo-thread.exp: Adjust expected output.
4767 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
4768 * gdb.java/jnpe.exp: Adjust expected output.
4769 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
4770 * gdb.threads/continue-pending-status.exp: Adjust expected output.
4771 * gdb.threads/leader-exit.exp: Adjust expected output.
4772 * gdb.threads/manythreads.exp: Adjust expected output.
4773 * gdb.threads/pthreads.exp: Adjust expected output.
4774 * gdb.threads/schedlock.exp: Adjust expected output.
4775 * gdb.threads/siginfo-threads.exp: Adjust expected output.
4776 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
4777 expected output.
4778 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
4779 output.
4780 * gdb.threads/sigthread.exp: Adjust expected output.
4781 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
4782
4783 2016-01-18 Yao Qi <yao.qi@linaro.org>
4784
4785 * gdb.guile/scm-section-script.c: Replace @progbits with
4786 %progbits.
4787 * gdb.python/py-section-script.c: Likewise.
4788
4789 2016-01-15 Pedro Alves <palves@redhat.com>
4790
4791 * gdb.multi/tids.exp: Test star wildcard ranges.
4792
4793 2016-01-15 Pedro Alves <palves@redhat.com>
4794
4795 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
4796 command from "thread apply" invocation.
4797 (thr_apply_info_thr_invalid): Default the expected output to the
4798 input tid list.
4799 (top level): Add tests that use convenience variables. Add tests
4800 for "thread apply" with a valid TID list, but missing the command.
4801
4802 2016-01-13 Pedro Alves <palves@redhat.com>
4803
4804 * gdb.base/default.exp: Expect $_gthread as well.
4805 * gdb.multi/tids.exp: Test $_gthread.
4806 * gdb.threads/thread-specific.exp: Test $_gthread.
4807
4808 2016-01-13 Pedro Alves <palves@redhat.com>
4809
4810 * gdb.multi/tids.exp: Test "info threads -gid".
4811
4812 2016-01-13 Pedro Alves <palves@redhat.com>
4813
4814 * gdb.multi/tids.exp: Test InferiorThread.global_num and
4815 Breakpoint.thread.
4816 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
4817
4818 2016-01-07 Pedro Alves <palves@redhat.com>
4819
4820 * gdb.base/break.exp: Adjust to output changes.
4821 * gdb.base/hbreak2.exp: Likewise.
4822 * gdb.base/sepdebug.exp: Likewise.
4823 * gdb.base/watch_thread_num.exp: Likewise.
4824 * gdb.linespec/keywords.exp: Likewise.
4825 * gdb.multi/info-threads.exp: Likewise.
4826 * gdb.threads/thread-find.exp: Likewise.
4827 * gdb.multi/tids.c: New file.
4828 * gdb.multi/tids.exp: New file.
4829
4830 2016-01-13 Pedro Alves <palves@redhat.com>
4831
4832 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
4833
4834 2016-01-13 Pedro Alves <palves@redhat.com>
4835
4836 * gdb.base/default.exp: Expect $_inferior as well.
4837 * gdb.multi/base.exp: Test $_inferior.
4838
4839 2016-01-13 Pedro Alves <palves@redhat.com>
4840
4841 PR breakpoints/19388
4842 * gdb.base/catch-signal-siginfo-cond.c: New file.
4843 * gdb.base/catch-signal-siginfo-cond.exp: New file.
4844
4845 2016-01-12 Josh Stone <jistone@redhat.com>
4846 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4847
4848 * gdb.base/catch-syscall.c (do_execve): New variable.
4849 (main): Conditionally trigger an execve.
4850 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
4851 (test_catch_syscall_execve): New, check entry/return across execve.
4852 (do_syscall_tests): Call test_catch_syscall_execve.
4853
4854 2016-01-12 Pedro Alves <palves@redhat.com>
4855
4856 * gdb.base/random-signal.exp (do_test): New procedure, with body
4857 of testcase moved in.
4858
4859 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4860 Pedro Alves <palves@redhat.com>
4861
4862 * gdb.base/funcargs.exp (finish from indirectly called function):
4863 Reintroduce the case for 'First'.
4864
4865 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4866 Pedro Alves <palves@redhat.com>
4867
4868 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
4869 (tcatch_vfork_then_child_follow_exec)
4870 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
4871 identification.
4872
4873 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4874
4875 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
4876 and repeats to unlimited.
4877 * gdb.python/py-value.exp: Likewise.
4878 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
4879 and repeats to unlimited.
4880
4881 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4882
4883 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
4884 and reordering the functions.
4885 * gdb.multi/hangout.c: Likewise.
4886 * gdb.multi/hello.c: Likewise.
4887
4888 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
4889
4890 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
4891 absolute.
4892 (SingleStatisticTestResult.report): Use dict.keys instead of
4893 dict.iterkeys.
4894
4895 2016-01-06 Pedro Alves <palves@redhat.com>
4896
4897 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
4898
4899 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
4900
4901 * gdb.btrace/dlopen.exp: New.
4902 * gdb.btrace/dlopen.c: New.
4903 * gdb.btrace/dlopen-dso.c: New.
4904
4905 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
4906
4907 * lib/gdb.exp (gdb_test): Update comments to clarify that the
4908 PATTERN argument is optional.
4909
4910 2015-12-24 Joel Brobecker <brobecker@adacore.com>
4911
4912 * lib/ada.exp (target_compile_ada_from_dir): New function.
4913 (gdb_compile_ada): Reimplement avoiding the use of project files.
4914 * gdb.ada/gnat_ada.gpr: Delete.
4915 * gdb.ada/cond_lang.exp: Adjust test to make path before
4916 filename optional.
4917 * gdb.ada/small_reg_param.exp: Likewise.
4918
4919 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
4920
4921 * gdb.base/foll-vork.exp: Remove HP-UX special case.
4922
4923 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
4924
4925 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
4926 case.
4927
4928 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
4929
4930 * gdb.base/break.exp: Remove dead code.
4931 * gdb.base/sepdebug.exp: Likewise.
4932
4933 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
4934
4935 * gdb.asm/asm-source.exp: Remove HP-UX references.
4936 * gdb.base/annota1.exp: Likewise.
4937 * gdb.base/annota3.exp: Likewise.
4938 * gdb.base/attach.exp: Likewise.
4939 * gdb.base/bigcore.exp: Likewise.
4940 * gdb.base/break.exp: Likewise.
4941 * gdb.base/call-ar-st.exp: Likewise.
4942 * gdb.base/callfuncs.exp: Likewise.
4943 * gdb.base/catch-fork-static.exp: Likewise.
4944 * gdb.base/display.exp: Likewise.
4945 * gdb.base/foll-exec-mode.exp: Likewise.
4946 * gdb.base/foll-exec.exp: Likewise.
4947 * gdb.base/foll-fork.exp: Likewise.
4948 * gdb.base/foll-vfork.exp: Likewise.
4949 * gdb.base/funcargs.exp: Likewise.
4950 * gdb.base/hbreak2.exp: Likewise.
4951 * gdb.base/inferior-died.exp: Likewise.
4952 * gdb.base/interrupt.exp: Likewise.
4953 * gdb.base/multi-forks.exp: Likewise.
4954 * gdb.base/nodebug.exp: Likewise.
4955 * gdb.base/sepdebug.exp: Likewise.
4956 * gdb.base/solib1.c: Likewise.
4957 * gdb.base/step-test.exp: Likewise.
4958 * gdb.mi/non-stop.c: Likewise.
4959 * gdb.mi/pthreads.c: Likewise.
4960 * gdb.multi/bkpt-multi-exec.ex: Likewise.
4961 * gdb.threads/pthreads.c: Likewise.
4962 * gdb.threads/staticthreads.exp: Likewise.
4963 * lib/future.exp: Likewise.
4964 * lib/gdb.exp: Likewise.
4965 * gdb.base/so-indr-cl.c: Remove.
4966 * gdb.base/so-indr-cl.exp: Likewise.
4967 * gdb.base/solib.c: Likewise.
4968 * gdb.base/solib.exp: Likewise.
4969 * gdb.base/solib2.c: Likewise.
4970
4971 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
4972
4973 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
4974 * gdb.base/call-ar-st.exp: Likewise.
4975 * gdb.base/callfuncs.exp: Likewise.
4976 * gdb.base/condbreak.exp: Likewise.
4977 * gdb.base/constvars.exp: Likewise.
4978 * gdb.base/hbreak2.exp: Likewise.
4979 * gdb.base/langs.exp: Likewise.
4980 * gdb.base/list.exp: Likewise.
4981 * gdb.base/long_long.exp: Likewise.
4982 * gdb.base/ptype.exp: Likewise.
4983 * gdb.base/scope.exp: Likewise.
4984 * gdb.base/signals.exp: Likewise.
4985 * gdb.base/so-impl-ld.exp: Likewise.
4986 * gdb.base/varargs.exp: Likewise.
4987 * gdb.base/volatile.exp: Likewise.
4988 * gdb.base/whatis.exp: Likewise.
4989 * gdb.cp/cplusfuncs.exp: Likewise.
4990 * gdb.cp/inherit.exp: Likewise.
4991 * gdb.cp/local.exp: Likewise.
4992 * gdb.cp/member-ptr.exp: Likewise.
4993 * gdb.cp/method.exp: Likewise.
4994 * gdb.cp/overload.exp: Likewise.
4995 * gdb.cp/templates.exp: Likewise.
4996 * gdb.stabs/weird.exp: Likewise.
4997 * lib/compiler.c: Likewise.
4998 * lib/compiler.cc: Likewise.
4999 * lib/cp-support.exp: Likewise.
5000 * lib/gdb.exp: Likewise.
5001
5002 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
5003
5004 * configure.ac: Remove HP-UX case.
5005 * configure: Regenerate.
5006
5007 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
5008
5009 * lib/gdb.exp (gdb_compile): Add function doc.
5010
5011 2015-12-17 Pedro Alves <palves@redhat.com>
5012
5013 PR threads/19354
5014 * gdb.multi/info-threads.exp: New file.
5015
5016 2015-12-15 Yao Qi <yao.qi@linaro.org>
5017
5018 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
5019 is aarch64*-*-*.
5020
5021 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
5022
5023 * gdb.base/history-duplicates.exp: Skip if no readline support.
5024
5025 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
5026
5027 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
5028
5029 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
5030
5031 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
5032
5033 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
5034
5035 * gdb.base/completion.exp: Skip tests that interrupt GDB with
5036 ctrl-C if nointerrupts target property is set.
5037 * gdb.base/double-prompt-target-event-error.exp: Likewise.
5038 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
5039 * gdb.base/paginate-bg-execution.exp: Likewise.
5040 * gdb.base/paginate-execution-startup.exp: Likewise.
5041 * gdb.base/random-signal.exp: Likewise.
5042 * gdb.base/range-stepping.exp: Likewise.
5043 * gdb.cp/annota2.exp: Likewise.
5044 * gdb.cp/annota3.exp: Likewise.
5045 * gdb.gdb/selftest.exp: Likewise.
5046 * gdb.threads/continue-pending-status.exp: Likewise.
5047 * gdb.threads/leader-exit.exp: Likewise.
5048 * gdb.threads/manythreads.exp: Likewise.
5049 * gdb.threads/pthreads.exp: Likewise.
5050 * gdb.threads/schedlock.exp: Likewise.
5051 * gdb.threads/sigthread.exp: Likewise.
5052
5053 2015-12-11 Don Breazeal <donb@codesourcery.com>
5054
5055 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
5056 remote.
5057 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
5058 * gdb.base/foll-exec.exp (main): Enable for target remote.
5059 * gdb.base/foll-fork.exp (main): Likewise.
5060 * gdb.base/foll-vfork.exp (main): Likewise.
5061 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
5062 (proc continue_to_exit_bp_loc): Use clean_restart.
5063 * gdb.base/pie-execl.exp (main): Disable for target remote.
5064 * gdb.base/watch-vfork.exp (main): Enable for target remote.
5065 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
5066 * gdb.threads/execl.exp (main): Likewise.
5067 * gdb.threads/fork-child-threads.exp (main): Likewise.
5068 * gdb.threads/fork-plus-threads.exp (main): Disable for target
5069 remote.
5070 * gdb.threads/fork-thread-pending.exp (main): Enable for target
5071 remote.
5072 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
5073 pid.tid style ptids, instead of just tid.
5074 * gdb.threads/thread-execl.exp (main): Enable for target remote.
5075 * gdb.threads/watchpoint-fork.exp (main): Likewise.
5076 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
5077 ptids, instead of just tid.
5078
5079 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
5080
5081 * gdb.base/list.exp (test_list_forward): Add end of file error
5082 test.
5083 (test_repeat_list_command): Add end of file error test.
5084 (test_list_backwards): Add beginning of file error test.
5085
5086 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
5087
5088 * gdb.base/list.exp (test_list_invalid_args): New function,
5089 defined, and called.
5090
5091 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
5092
5093 * gdb.base/list.exp (test_list): Make test names unique.
5094
5095 2015-12-11 Yao Qi <yao.qi@linaro.org>
5096
5097 * gdb.base/coremaker2.c: Remove.
5098
5099 2015-12-10 Pedro Alves <palves@redhat.com>
5100
5101 * gdb.multi/base.exp: Remove stale "spaces" references.
5102
5103 2015-12-10 Pedro Alves <palves@redhat.com>
5104
5105 * gdb.multi/base.exp: Don't use nowarnings.
5106 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
5107 * gdb.multi/hangout.c: Include stdio.h.
5108 * gdb.multi/hello.c: Include stdlib.h.
5109 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
5110 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
5111 * gdb.multi/multi-arch.exp: Don't use nowarnings.
5112
5113 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
5114
5115 * gdb.dwarf2/dw2-ranges-base.c: New file.
5116 * gdb.dwarf2/dw2-ranges-base.exp: New file.
5117 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
5118 support additional line table, and debug ranges generation.
5119 (Dwarf::ranges): New function, generate .debug_ranges.
5120 (Dwarf::lines): Support generating simple line table programs.
5121 (Dwarf::assemble): Initialise new namespace variables.
5122
5123 2015-12-09 Kevin Buettner <kevinb@redhat.com>
5124
5125 * gdb.base/async.exp (proc test_background): Add case for
5126 asynchronous execution not supported.
5127
5128 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
5129
5130 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
5131 format and change test names to make them unique.
5132
5133 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
5134 Pedro Alves <pedro@redhat.com>
5135
5136 PR gdb/18702
5137 Add checking of floatformats setup on x86_64 hosts.
5138 * gdb.arch/i386-float.S (main): Load bigval and smallval.
5139 (smallval, bigval): New labels/constants.
5140 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
5141 float" after loading bigval and smallval.
5142
5143 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
5144
5145 * gdb.ada/fun_overload_menu.exp: New testcase.
5146 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
5147
5148 2015-12-04 Josh Stone <jistone@redhat.com>
5149
5150 * gdb.base/catch-fork-static.exp: New.
5151
5152 2015-12-03 Yao Qi <yao.qi@linaro.org>
5153
5154 * gdb.base/sizeof.c: Don't include stdio.h and
5155 ../lib/unbuffer_output.c.
5156 (main): New variable 'size' and 'value'. Remove printf and
5157 gdb_unbuffer_output. Assign return value to size and value.
5158 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
5159 at the beginning.
5160 (check_sizeof): Check the result by printing variable 'size'.
5161 (check_valueof): Check the result by printing variable 'value'.
5162
5163 2015-12-01 Yao Qi <yao.qi@linaro.org>
5164
5165 * gdb.base/disp-step-syscall.exp: Define syscall instruction
5166 for aarch64*-*-linux* target.
5167
5168 2015-11-30 Pedro Alves <palves@redhat.com>
5169
5170 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
5171
5172 2015-11-30 Pedro Alves <palves@redhat.com>
5173
5174 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
5175 Handle non-stop mode vCont replies.
5176
5177 2015-11-30 Pedro Alves <palves@redhat.com>
5178
5179 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
5180 prepare_for_testing. Start gdb with "set non-stop on" appended to
5181 GDBFLAGS. Lax expected stop output.
5182
5183 2015-11-27 Yao Qi <yao.qi@linaro.org>
5184
5185 * gdb.arch/arm-neon.exp: New.
5186 * gdb.arch/arm-neon.c: New.
5187
5188 2015-11-27 Yao Qi <yao.qi@linaro.org>
5189
5190 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
5191
5192 2015-11-27 Yao Qi <yao.qi@linaro.org>
5193
5194 * gdb.cp/annota2.exp: Allow multiple occurrences of the
5195 frames-invalid annotation.
5196
5197 2015-11-27 Yao Qi <yao.qi@linaro.org>
5198
5199 * gdb.cp/annota2.exp: Use ${frames_invalid}.
5200
5201 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
5202
5203 * gdb.threads/names.exp: New file.
5204 * gdb.threads/names.c: New file.
5205 * README: Mention gdb,no_thread_names.
5206
5207 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
5208
5209 PR 19297
5210 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
5211 support" error.
5212
5213 2015-11-24 Pedro Alves <palves@redhat.com>
5214
5215 PR 17539
5216 * gdb.base/display.exp: Expect displays to be sorted in ascending
5217 order. Use multi_line.
5218 * gdb.base/solib-display.exp: Likewise.
5219
5220 2015-11-24 Pedro Alves <palves@redhat.com>
5221
5222 PR 17539
5223 * gdb.base/display.exp: Expect displays to be sorted in ascending
5224 order. Use multi_line.
5225 * gdb.base/solib-display.exp: Likewise.
5226
5227 2015-11-24 Pedro Alves <palves@redhat.com>
5228
5229 PR 17539
5230 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
5231 threads in ascending order.
5232 * gdb.base/foll-fork.exp: Likewise.
5233 * gdb.base/foll-vfork.exp: Likewise.
5234 * gdb.base/multi-forks.exp: Likewise.
5235 * gdb.mi/mi-nonstop.exp: Likewise.
5236 * gdb.mi/mi-nsintrall.exp: Likewise.
5237 * gdb.multi/base.exp: Likewise.
5238 * gdb.multi/multi-arch.exp: Likewise.
5239 * gdb.python/py-inferior.exp: Likewise.
5240 * gdb.threads/break-while-running.exp: Likewise.
5241 * gdb.threads/execl.exp: Likewise.
5242 * gdb.threads/gcore-thread.exp: Likewise.
5243 * gdb.threads/info-threads-cur-sal.exp: Likewise.
5244 * gdb.threads/kill.exp: Likewise.
5245 * gdb.threads/linux-dp.exp: Likewise.
5246 * gdb.threads/multiple-step-overs.exp: Likewise.
5247 * gdb.threads/next-bp-other-thread.exp: Likewise.
5248 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
5249 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
5250 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
5251 * gdb.threads/thread-find.exp: Likewise.
5252 * gdb.threads/tls.exp: Likewise.
5253 * lib/mi-support.exp (mi_reverse_list): Delete.
5254 (mi_check_thread_states): No longer reverse list.
5255
5256 2015-11-24 Pedro Alves <palves@redhat.com>
5257
5258 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
5259 use lowercase.
5260
5261 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
5262
5263 * gdb.trace/actions.c: Include trace-common.h.
5264 (main): Add a location for a fast tracepoint.
5265 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
5266 the normal tracepoints.
5267 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
5268
5269 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
5270
5271 * save-trace.exp: Factor out code to these...
5272 (gdb_save_tracepoints): New.
5273 (gdb_load_tracepoints): New.
5274 (do_save_load_test): New.
5275
5276 2015-11-23 Kevin Buettner <kevinb@redhat.com>
5277
5278 * gdb.base/asmlabel.exp: New test.
5279 * gdb.base/asmlabel.c: New test case.
5280
5281 2015-11-23 Joel Brobecker <brobecker@adacore.com>
5282
5283 * gdb.base/wrong_frame_bt_full-main.c: New file.
5284 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
5285 * gdb.base/wrong_frame_bt_full.exp: New file.
5286
5287 2015-11-23 Joel Brobecker <brobecker@adacore.com>
5288
5289 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
5290
5291 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
5292
5293 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
5294 pstate register when comparing registers values in
5295 sparc64-*-linux-gnu targets to avoid spurious differences.
5296
5297 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
5298
5299 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
5300
5301 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
5302
5303 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
5304 as type argument to gdb_compile.
5305 * gdb.base/nested-subp2.exp: Likewise.
5306 * gdb.base/nested-subp3.exp: Likewise.
5307
5308 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
5309
5310 * lib/dwarf.exp (_note): Fix left shift of negative value.
5311 * gdb.trace/trace-condition.exp: Likewise.
5312
5313 2015-11-13 Yao Qi <yao.qi@linaro.org>
5314
5315 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
5316 comments about d10v.
5317 (test_scalar_returns): Likewise.
5318 * gdb.base/d10v.ld: Remove.
5319 * gdb.base/overlays.exp: Remove the target triplet checking for
5320 d10v-*-*.
5321 * gdb.base/structs.exp (test_struct_returns): Remove the
5322 comments about d10v.
5323 (test_struct_calls): Likewise.
5324
5325 2015-11-13 Yao Qi <yao.qi@linaro.org>
5326
5327 * gdb.base/gnu_vector.exp: Check the return value by "p res".
5328 * gdb.base/gnu_vector.c: Don't include stdio.h.
5329 (main): Don't print res and call add_some_intvecs.
5330
5331 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
5332
5333 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
5334 macro.
5335 (func5): Removed.
5336 (func4): Use FAST_TRACEPOINT_LABEL.
5337 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
5338 macro.
5339 (func): Removed.
5340 (thread_function): Use FAST_TRACEPOINT_LABEL.
5341 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
5342 (func): Remove.
5343 (marker): Use FAST_TRACEPOINT_LABEL.
5344 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
5345 (pendfunc1): Remove.
5346 (pendfunc): Use FAST_TRACEPOINT_LABEL.
5347 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
5348 (foo): Remove.
5349 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
5350 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
5351 macro.
5352 (func): Remove.
5353 (marker): Use FAST_TRACEPOINT_LABEL.
5354 * gdb.trace/trace-common.h: New header.
5355 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
5356 macro.
5357 (func): Remove.
5358 (marker): Use FAST_TRACEPOINT_LABEL.
5359 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
5360 (func): Remove.
5361 (thread_function): Use FAST_TRACEPOINT_LABEL.
5362
5363 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
5364
5365 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
5366 in front.
5367 * gdb.trace/change-loc.exp: Use global pcreg definition.
5368 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
5369 * gdb.trace/entry-values.exp: Use global spreg definition, add $
5370 in front.
5371 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
5372 * gdb.trace/pending.exp: Likewise.
5373 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
5374 * gdb.trace/trace-break.exp: Likewise.
5375 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
5376 in front.
5377 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
5378 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
5379 in front.
5380 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
5381
5382 2015-11-09 Joel Brobecker <brobecker@adacore.com>
5383
5384 * gdb.ada/fin_fun_out: New testcase.
5385
5386 2015-11-07 Kevin Buettner <kevinb@redhat.com>
5387
5388 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
5389 value associated with DW_AT_byte_size.
5390 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
5391 constants for DW_AT_byte_size, DW_AT_lower_bound, and
5392 DW_AT_upper_bound.
5393
5394 2015-11-07 Kevin Buettner <kevinb@redhat.com>
5395
5396 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
5397 (gdb_target_symbol_prefix_flags): Define in terms of _asm
5398 version.
5399 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
5400 gdb.dwarf2/dw2-canonicalize-type.exp,
5401 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
5402 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
5403 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
5404 provided by gdb_target_symbol_prefix_flags_asm.
5405 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
5406 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
5407 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
5408 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
5409 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
5410 macros where needed). Use this macro for symbols which require
5411 the prefix provided by SYMBOL_PREFIX.
5412
5413 2015-11-05 Kevin Buettner <kevinb@redhat.com>
5414
5415 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
5416 New procs.
5417 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
5418 representing expressions, of more than one list element.
5419 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
5420 to prepend linker symbol prefix to f.
5421 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
5422 table_1 and table_2.
5423 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
5424 Likewise, for f and g.
5425 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
5426 for ptr.
5427 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
5428 for main.
5429 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
5430 table_1_ptr and table_2_ptr.
5431
5432 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5433 Joel Brobecker <brobecker@adacore.com>
5434
5435 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
5436
5437 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
5438
5439 * gdb.reverse/s390-mvcle.c: New test.
5440 * gdb.reverse/s390-mvcle.exp: New file.
5441 * lib/gdb.exp: Enable reverse tests on s390*-linux.
5442
5443 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
5444
5445 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
5446
5447 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
5448
5449 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
5450 reaching marker2.
5451 * gdb.reverse/getresuid-reverse.exp: Likewise.
5452 * gdb.reverse/pipe-reverse.exp: Likewise.
5453 * gdb.reverse/readv-reverse.exp: Likewise.
5454 * gdb.reverse/recvmsg-reverse.exp: Likewise.
5455 * gdb.reverse/time-reverse.exp: Likewise.
5456 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
5457
5458 2015-10-30 Yao Qi <yao.qi@linaro.org>
5459
5460 * gdb.threads/wp-replication.c (watch_count_done): Remove.
5461 (empty_cycle): Remove.
5462 (main): Don't call empty_cycle. Don't use watch_count_done.
5463 * gdb.threads/wp-replication.exp: Don't set breakpoint on
5464 empty_cycle. Rewrite the code counting HW watchpoints.
5465
5466 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
5467
5468 * gdb.reverse/fstatat-reverse.c: New test.
5469 * gdb.reverse/fstatat-reverse.exp: New file.
5470 * gdb.reverse/getresuid-reverse.c: New test.
5471 * gdb.reverse/getresuid-reverse.exp: New file.
5472 * gdb.reverse/pipe-reverse.c: New test.
5473 * gdb.reverse/pipe-reverse.exp: New file.
5474 * gdb.reverse/readv-reverse.c: New test.
5475 * gdb.reverse/readv-reverse.exp: New file.
5476 * gdb.reverse/recvmsg-reverse.c: New test.
5477 * gdb.reverse/recvmsg-reverse.exp: New file.
5478 * gdb.reverse/time-reverse.c: New test.
5479 * gdb.reverse/time-reverse.exp: New file.
5480 * gdb.reverse/waitpid-reverse.c: New test.
5481 * gdb.reverse/waitpid-reverse.exp: New file.
5482
5483 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5484
5485 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
5486
5487 2015-10-26 Doug Evans <dje@google.com>
5488
5489 PR symtab/17391
5490 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
5491 * gdb.dwarf2/bad-regnum.c: New file.
5492 * gdb.dwarf2/bad-regnum.exp: New file.
5493
5494 2015-10-26 Doug Evans <dje@google.com>
5495
5496 PR python/18938
5497 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
5498 file.
5499
5500 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5501
5502 * gdb.compile/compile.exp (compile code globalvar): Update expectation
5503 for a change by "Mention language in compile error message".
5504
5505 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
5506
5507 PR python/18073
5508 * gdb.python/py-type.c (C::a_method): New.
5509 (C::a_const_method): New.
5510 (C::a_static_method): New.
5511 (a_function): New.
5512 * gdb.python/py-type.exp (test_fields): Test getting fields
5513 from function and method.
5514
5515 2015-10-21 Keven Boell <keven.boell@intel.com>
5516
5517 * gdb.fortran/vla-alloc-assoc.exp: New file.
5518 * gdb.fortran/vla-datatypes.exp: New file.
5519 * gdb.fortran/vla-datatypes.f90: New file.
5520 * gdb.fortran/vla-history.exp: New file.
5521 * gdb.fortran/vla-ptype-sub.exp: New file.
5522 * gdb.fortran/vla-ptype.exp: New file.
5523 * gdb.fortran/vla-sizeof.exp: New file.
5524 * gdb.fortran/vla-sub.f90: New file.
5525 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
5526 * gdb.fortran/vla-value-sub-finish.exp: New file.
5527 * gdb.fortran/vla-value-sub.exp: New file.
5528 * gdb.fortran/vla-value.exp: New file.
5529 * gdb.fortran/vla-ptr-info.exp: New file.
5530 * gdb.mi/mi-vla-fortran.exp: New file.
5531 * gdb.mi/vla.f90: New file.
5532
5533 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
5534
5535 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
5536 of hardwired timeout value.
5537
5538 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5539 Pedro Alves <palves@redhat.com>
5540
5541 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
5542 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
5543
5544 2015-10-19 Josh Stone <jistone@redhat.com>
5545
5546 * gdb.base/catch-syscall.c: Include <sched.h>.
5547 (unknown_syscall): New variable.
5548 (main): Trigger a vfork and an unknown syscall.
5549 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
5550 (unknown_syscall_number): Likewise.
5551 (check_call_to_syscall): Accept an optional syscall pattern.
5552 (check_return_from_syscall): Likewise.
5553 (check_continue): Likewise.
5554 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
5555 (test_catch_syscall_skipping_return): New test toggling off 'catch
5556 syscall' to step over the syscall return, then toggling back on.
5557 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
5558 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
5559 (do_syscall_tests): Call test_catch_syscall_without_args and
5560 test_catch_syscall_mid_vfork.
5561 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
5562 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
5563
5564 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
5565
5566 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
5567 print g_vE): Add new pass patterns.
5568 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
5569 print various symbol names for vptr fields.
5570
5571 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
5572
5573 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
5574 results.
5575
5576 2015-10-12 Yao Qi <yao.qi@linaro.org>
5577
5578 * gdb.arch/disp-step-insn-reloc.exp: New test case.
5579
5580 2015-10-12 Yao Qi <yao.qi@linaro.org>
5581
5582 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
5583 is aarch64*-*-linux*.
5584
5585 2015-10-12 Yao Qi <yao.qi@linaro.org>
5586
5587 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
5588 (can_relocate_bcond_true): ... it.
5589 (can_relocate_bcond_false): New function.
5590 (foo): Likewise.
5591 (can_relocate_bl): Likewise.
5592 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
5593 can_relocate_bl.
5594
5595 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
5596
5597 * gdb.base/nested-addr.c: New file.
5598 * gdb.base/nested-addr.exp: New testcase.
5599
5600 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
5601
5602 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
5603 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
5604 its output. Ignore the output of "record goto begin" and instead
5605 check that GDB is replaying.
5606
5607 2015-10-09 Pedro Alves <palves@redhat.com>
5608
5609 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
5610 (top level): Use it in the run with no args test.
5611
5612 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
5613
5614 * gdb.dlang/properties.exp: New file.
5615
5616 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
5617
5618 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
5619 whether or not address 0x1000 is mapped on the target.
5620
5621 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
5622
5623 * gdb.python/py-type.exp: Do not run tests if binaries fail to
5624 build.
5625
5626 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
5627
5628 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
5629 instruction-history test.
5630
5631 2015-09-28 Doug Evans <dje@google.com>
5632
5633 * gdb.base/gcore.c (array_func): Add reference to static_array.
5634
5635 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
5636
5637 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
5638 source line.
5639
5640 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
5641
5642 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
5643 short or char as base type.
5644
5645 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
5646
5647 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
5648 to allow any size enum.
5649
5650 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
5651
5652 * gdb.ada/array_ptr_renaming.exp: New testcase.
5653 * gdb.ada/array_ptr_renaming/foo.adb: New file.
5654 * gdb.ada/array_ptr_renaming/pack.ads: New file.
5655
5656 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
5657
5658 * gdb.trace/ftrace-lock.c: New file.
5659 * gdb.trace/ftrace-lock.exp: New file.
5660
5661 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
5662
5663 * gdb.arch/insn-reloc.c: New file.
5664 * gdb.arch/ftrace-insn-reloc.exp: New file.
5665
5666 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
5667
5668 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
5669 instruction.
5670 * gdb.trace/pendshr1.c (pendfunc): Likewise.
5671 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
5672 * gdb.trace/range-stepping.c: Likewise.
5673 * gdb.trace/trace-break.c: Likewise.
5674 * gdb.trace/trace-mt.c (thread_function): Likewise.
5675 * gdb.trace/ftrace.c (marker): Likewise.
5676 * gdb.trace/trace-condition.c (marker): Likewise.
5677 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
5678 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
5679 is_aarch64_target.
5680
5681 2015-09-18 Doug Evans <xdje42@gmail.com>
5682
5683 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
5684 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
5685
5686 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5687
5688 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
5689 the breakpoint.
5690
5691 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5692
5693 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
5694 the pending breakpoint. Remove timeout override for "Run till
5695 MI pending breakpoint on pendfunc3 on thread 2" test.
5696
5697 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5698
5699 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
5700 filename pattern.
5701
5702 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5703
5704 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
5705 in breakpoint filename pattern.
5706
5707 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5708
5709 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
5710
5711 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5712
5713 * gdb.linespec/explicit.exp: Check for readline support for
5714 tab-completion tests. Fix obvious typo.
5715
5716 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
5717
5718 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
5719 and replay.
5720
5721 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
5722
5723 * gdb.btrace/non-stop.c: New.
5724 * gdb.btrace/non-stop.exp: New.
5725
5726 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
5727 Yao Qi <yao.qi@linaro.org>
5728
5729 * gdb.trace/trace-condition.c: New file.
5730 * gdb.trace/trace-condition.exp: New file.
5731
5732 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
5733
5734 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
5735 for testing bytecode compilation.
5736
5737 2015-09-16 Pedro Alves <palves@redhat.com>
5738 Sandra Loosemore <sandra@codesourcery.com>
5739
5740 * gdb.threads/non-stop-fair-events.c (timeout): New global.
5741 (SECONDS): Redefine.
5742 (main): Call pthread_kill and alarm early.
5743 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
5744 support.
5745 (test): If the target can't hardware step and doesn't support
5746 displaced stepping, increase the timeout.
5747
5748 2015-09-16 Pedro Alves <palves@redhat.com>
5749
5750 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
5751 (enable_debug): New procedures.
5752 (test): Use them. Bail out if waiting for threads fails.
5753 (top level): Bail out if a test fails.
5754
5755 2015-09-16 Yao Qi <yao.qi@linaro.org>
5756
5757 * gdb.asm/asm-source.exp: Set asm-arch for
5758 aarch64*-*-* target.
5759 * gdb.asm/aarch64.inc: New file.
5760
5761 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
5762
5763 * gdb.ada/array_of_variable_length.exp: New testcase.
5764 * gdb.ada/array_of_variable_length/foo.adb: New file.
5765 * gdb.ada/array_of_variable_length/pck.adb: New file.
5766 * gdb.ada/array_of_variable_length/pck.ads: New file.
5767
5768 2015-09-15 Doug Evans <dje@google.com>
5769
5770 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
5771 of function static local variable.
5772
5773 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5774
5775 * gdb.threads/tls-so_extern.exp: New test file.
5776 * gdb.threads/tls-so_extern.c: New test file.
5777 * gdb.threads/tls-so_extern_main.c: New test file.
5778
5779 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5780
5781 * gdb.opt/solib-intra-step-lib.c: New file.
5782 * gdb.opt/solib-intra-step-main.c: New file.
5783 * gdb.opt/solib-intra-step.exp: New file.
5784
5785 2015-09-15 Pedro Alves <palves@redhat.com>
5786
5787 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
5788 gdb_continue_to_breakpoint instead of gdb_test_multiple.
5789
5790 2015-09-14 Pedro Alves <palves@redhat.com>
5791
5792 * gdb.base/hook-stop-continue.c: Delete.
5793 * gdb.base/hook-stop-continue.exp: Delete.
5794 * gdb.base/hook-stop-frame.c: Delete.
5795 * gdb.base/hook-stop-frame.exp: Delete.
5796 * gdb.base/hook-stop.c: New file.
5797 * gdb.base/hook-stop.exp: New file.
5798
5799 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
5800
5801 * gdb.ada/access_to_packed_array.exp: New testcase.
5802 * gdb.ada/access_to_packed_array/foo.adb: New file.
5803 * gdb.ada/access_to_packed_array/pack.adb: New file.
5804 * gdb.ada/access_to_packed_array/pack.ads: New file.
5805
5806 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
5807
5808 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
5809 buffer size test.
5810
5811 2015-09-11 Don Breazeal <donb@codesourcery.com>
5812
5813 * gdb.base/foll-exec.c: Add copyright header. Fix
5814 formatting issues.
5815 * gdb.base/foll-exec.exp (zap_session): Delete proc.
5816 (do_exec_tests): Use clean_restart in place of zap_session,
5817 and for test initialization. Fix formatting issues. Use
5818 fail in place of perror.
5819 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
5820 an expect statement to match an expression with output from
5821 the program under debug.
5822 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
5823 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
5824 * gdb.threads/non-ldr-exc-2.exp: Likewise.
5825 * gdb.threads/non-ldr-exc-3.exp: Likewise.
5826 * gdb.threads/non-ldr-exc-4.exp: Likewise.
5827
5828 2015-09-09 Doug Evans <dje@google.com>
5829
5830 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
5831
5832 2015-09-09 Doug Evans <dje@google.com>
5833
5834 * gdb.base/pie-execl.exp: Fix result test of build_executable.
5835
5836 2015-09-09 Doug Evans <dje@google.com>
5837
5838 * gdb.base/savedregs.exp: Fix typo.
5839
5840 2015-09-09 Pedro Alves <palves@redhat.com>
5841
5842 * gdb.mi/mi-cli.exp: Add CLI finish tests.
5843
5844 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
5845
5846 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
5847 command actually switches threads. Give up on remaining
5848 tests if target fails to stop at breakpoint.
5849
5850 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
5851
5852 * gdb.ada/funcall_char.exp: New testcase.
5853 * gdb.ada/funcall_char/foo.adb: New file.
5854
5855 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
5856
5857 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
5858 expected outputs. Add two testcases for completing ambiguous
5859 functions.
5860 * gdb.ada/complete/aux_pck.adb: New file.
5861 * gdb.ada/complete/aux_pck.ads: New file.
5862 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
5863 Ambiguous_Func functions.
5864 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
5865 * gdb.ada/complete/pck.adb: Likewise.
5866
5867 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
5868
5869 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
5870 failures to run the test program under GDB.
5871
5872 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
5873
5874 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
5875 to C.
5876
5877 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
5878
5879 * gdb.base/run-after-attach.exp: New test file.
5880 * gdb.base/run-after-attach.c: New test file.
5881
5882 2015-08-26 Don Breazeal <donb@codesourcery.com>
5883
5884 * gdb.base/foll-exec-2.c: New test program.
5885 * gdb.base/foll-exec-2.exp: New test.
5886
5887 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
5888
5889 * gdb.base/nested-subp1.exp: New file.
5890 * gdb.base/nested-subp1.c: New file.
5891 * gdb.base/nested-subp2.exp: New file.
5892 * gdb.base/nested-subp2.c: New file.
5893 * gdb.base/nested-subp3.exp: New file.
5894 * gdb.base/nested-subp3.c: New file.
5895
5896 2015-08-24 Pedro Alves <palves@redhat.com>
5897
5898 * gdb.server/connect-without-multi-process.c: New file.
5899 * gdb.server/connect-without-multi-process.exp: New file.
5900
5901 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
5902
5903 * gdb.opt/inline-markers.c: Make z int.
5904
5905 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
5906
5907 * gdb.opt/inline-markers.c: Make z volatile.
5908
5909 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
5910
5911 * gdb.opt/inline-bt.c: New volatile global z.
5912 * gdb.opt/inline-cmds.c: Likewise.
5913 * gdb.opt/inline-locals.c: Likewise.
5914 * gdb.opt/inline-markers.c: New extern global z.
5915 (marker): Use z.
5916 (inline_fn): Likewise.
5917
5918 2015-08-24 Pedro Alves <palves@redhat.com>
5919
5920 * config/m32r-stub.exp: Remove file.
5921 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
5922 * gdb.base/call-rt-st.exp: Likewise.
5923 * gdb.base/call-strs.exp: Likewise.
5924 * gdb.base/default.exp: Remove references to h8300-*-hms and
5925 *-*-udi*.
5926 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
5927
5928 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
5929
5930 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
5931 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
5932 and "return" use KFAIL when GDB can not read/write the vector
5933 return value.
5934
5935 2015-08-21 Gary Benson <gbenson@redhat.com>
5936
5937 * gdb.trace/pending.exp: Cope with remote transfer warnings.
5938
5939 2015-08-20 Pedro Alves <palves@redhat.com>
5940
5941 * gdb.server/solib-list.exp: No longer expect an interior stop in
5942 non-stop mode.
5943
5944 2015-08-20 Pedro Alves <palves@redhat.com>
5945
5946 * gdb.server/connect-stopped-target.c: New file.
5947 * gdb.server/connect-stopped-target.exp: New file.
5948
5949 2015-08-20 Pedro Alves <palves@redhat.com>
5950
5951 * gdb.dwarf2/comp-unit-lang.exp: New file.
5952 * gdb.dwarf2/comp-unit-lang.c: New file.
5953
5954 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
5955
5956 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
5957 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
5958
5959 2015-08-19 Kevin Buettner <kevinb@redhat.com>
5960
5961 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
5962 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
5963
5964 2015-08-18 Doug Evans <dje@google.com>
5965 Adrian Sendroiu <adrian.sendroiu@freescale.com>
5966
5967 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
5968 skip_python_tests. New arg prompt_regexp.
5969 (skip_python_tests): New function.
5970 * lib/mi-support.exp (mi_skip_python_tests): New function.
5971 * gdb.python/py-mi-objfile-gdb.py: New file.
5972 * gdb.python/py-mi-objfile.c: New file.
5973 * gdb.python/py-mi-objfile.exp: New file.
5974
5975 2015-08-17 Keith Seitz <keiths@redhat.com>
5976
5977 * gdb.linespec/explicit.exp: Move strace test from here ...
5978 * gdb.trace/strace.exp: ... to here.
5979
5980 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
5981
5982 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
5983 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
5984
5985 2015-08-14 Doug Evans <xdje42@gmail.com>
5986
5987 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
5988 inferior before selecting a new file.
5989
5990 2015-08-14 Doug Evans <xdje42@gmail.com>
5991
5992 * gdb.mi/mi-disassemble.exp: Update.
5993 * gdb.base/disasm-optim.S: New file.
5994 * gdb.base/disasm-optim.c: New file.
5995 * gdb.base/disasm-optim.h: New file.
5996 * gdb.base/disasm-optim.exp: New file.
5997
5998 2015-08-14 Keith Seitz <keiths@redhat.com>
5999
6000 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
6001 "evaluated-by".
6002
6003 2015-08-13 Joel Brobecker <brobecker@adacore.com>
6004
6005 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
6006
6007 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
6008
6009 * gdb.ada/fun_renaming.exp: New testcase.
6010 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
6011 * gdb.ada/fun_renaming/pack.adb: New file.
6012 * gdb.ada/fun_renaming/pack.ads: New file.
6013
6014 2015-08-12 Keith Seitz <keiths@redhat.com>
6015
6016 * gdb.base/dso2dso.exp: Pass basename of source file in call to
6017 gdb_get_line_number.
6018
6019 2015-08-12 Joel Brobecker <brobecker@adacore.com>
6020
6021 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
6022 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
6023 gdb.base/dso2dso.exp: New files.
6024
6025 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
6026 Pedro Alves <palves@redhat.com>
6027 Keith Seitz <keiths@redhat.com>
6028
6029 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
6030 GDBFLAGS.
6031
6032 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
6033
6034 * gdb.base/gdbhistsize-history.exp
6035 (test_histsize_history_setting): Use save_vars.
6036 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
6037 Use save_vars.
6038 (test_no_truncation_of_unlimited_history_file): Use save_vars.
6039 * gdb.base/readline.exp: Use save_vars.
6040
6041 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
6042
6043 * lib/gdb.exp (save_vars): New proc.
6044
6045 2015-08-11 Keith Seitz <keiths@redhat.com>
6046
6047 * gdb.base/help.exp: Update help_breakpoint_text.
6048
6049 2015-08-11 Keith Seitz <keiths@redhat.com>
6050
6051 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
6052 (at toplevel): Call test_explicit_breakpoints.
6053 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
6054 breakpoints.
6055 * lib/mi-support.exp (mi_make_breakpoint): Add support for
6056 breakpoint conditions, "-cond".
6057
6058 2015-08-11 Keith Seitz <keiths@redhat.com>
6059
6060 * gdb.linespec/3explicit.c: New file.
6061 * gdb.linespec/cpexplicit.cc: New file.
6062 * gdb.linespec/cpexplicit.exp: New file.
6063 * gdb.linespec/explicit.c: New file.
6064 * gdb.linespec/explicit.exp: New file.
6065 * gdb.linespec/explicit2.c: New file.
6066 * gdb.linespec/ls-errs.exp: Add explicit location tests.
6067 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
6068 before using in the matching pattern.
6069 Clarify that `prefix' is a regular expression.
6070
6071 2015-08-11 Keith Seitz <keiths@redhat.com>
6072
6073 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
6074 test.
6075 Add tests for missing ",FMT" and ",".
6076
6077 2015-08-10 Doug Evans <dje@google.com>
6078 Keith Seitz <keiths@redhat.com>
6079
6080 PR gdb/17960
6081 * gdb.base/completion.exp: Add location completer tests.
6082
6083 2015-08-07 Pedro Alves <palves@redhat.com>
6084
6085 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
6086 tests here.
6087 (top level): Run do_test with and without displaced stepping.
6088
6089 2015-08-07 Pedro Alves <palves@redhat.com>
6090
6091 * gdb.base/valgrind-disp-step.c: New file.
6092 * gdb.base/valgrind-disp-step.exp: New file.
6093
6094 2015-08-07 Pedro Alves <palves@redhat.com>
6095
6096 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
6097 Delete function.
6098 (main): Add alarm. Run an infinite loop instead of calling
6099 wait_threads.
6100 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
6101 comment.
6102 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
6103 Delete function.
6104 (main): Add alarm. Run an infinite loop instead of calling
6105 wait_threads.
6106 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
6107 comment.
6108
6109 2015-08-07 Pedro Alves <palves@redhat.com>
6110
6111 * gdb.base/checkpoint-ns.exp: New file.
6112 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
6113 standard_testfile.
6114
6115 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
6116
6117 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
6118 * gdb.btrace/instruction_history.exp: Update.
6119 * gdb.btrace/tsx.exp: New.
6120 * gdb.btrace/tsx.c: New.
6121
6122 2015-08-06 Pedro Alves <palves@redhat.com>
6123
6124 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
6125 increase timeout.
6126 * gdb.reverse/until-precsave.exp: Bump timeouts.
6127
6128 2015-08-06 Pedro Alves <palves@redhat.com>
6129
6130 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
6131
6132 2015-08-06 Pedro Alves <palves@redhat.com>
6133
6134 PR gdb/18749
6135 * gdb.threads/process-dies-while-handling-bp.c: New file.
6136 * gdb.threads/process-dies-while-handling-bp.exp: New file.
6137
6138 2015-08-06 Pedro Alves <palves@redhat.com>
6139
6140 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
6141 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
6142
6143 2015-08-05 Pedro Alves <palves@redhat.com>
6144
6145 * gdb.threads/next-while-other-thread-longjmps.c: New file.
6146 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
6147
6148 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
6149
6150 * gdb.base/bp-permanent.exp: Report test as unsupported if
6151 the target cannot stop at the permanent breakpoint.
6152
6153 2015-08-03 Doug Evans <dje@google.com>
6154
6155 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
6156 10000.
6157
6158 2015-08-03 Doug Evans <dje@google.com>
6159
6160 * Makefile.in (workers/%.worker, build-perf): New rule.
6161 (GDB_PERFTEST_MODE): New variable.
6162 (check-perf): Use it.
6163 (clean): Clean up gdb.perf parallel build subdirs.
6164 * lib/build-piece.exp: New file.
6165 * lib/gdb.exp (make_gdb_parallel_path): New function
6166 (standard_output_file, standard_temp_file): Call it.
6167 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
6168 of $GDB_PARALLEL.
6169 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
6170
6171 2015-08-03 Doug Evans <dje@google.com>
6172
6173 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
6174 (LOG_FILE_NAME): New global.
6175 (TextReporter.__init__): Initialize self.txt_sum.
6176 (TextReporter.report): Add support for multiple data-points.
6177 Move report to perftest.sum, put raw data in perftest.log.
6178 (TextReporter.start): Open sum and log files.
6179 (TextReporter.end): Close sum and log files.
6180 * gdb.perf/lib/perftest/testresult.py
6181 (SingleStatisticTestResult.record): Handle multiple data-points.
6182
6183 2015-07-31 Pedro Alves <palves@redhat.com>
6184
6185 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
6186 Use spawn_id_get_pid. Wait for spawn id after eof. Use
6187 kill_wait_spawned_process instead of explicit "kill -9".
6188 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
6189 returning a spawn id instead of a pid. Use spawn_id_get_pid and
6190 kill_wait_spawned_process.
6191 * gdb.base/attach-twice.exp: Likewise.
6192 * gdb.base/attach.exp: Likewise.
6193 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
6194 gdb_test_multiple.
6195 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
6196 returning a spawn id instead of a pid. Use spawn_id_get_pid and
6197 kill_wait_spawned_process.
6198 * gdb.base/valgrind-infcall.exp: Likewise.
6199 * gdb.multi/multi-attach.exp: Likewise.
6200 * gdb.python/py-prompt.exp: Likewise.
6201 * gdb.python/py-sync-interp.exp: Likewise.
6202 * gdb.server/ext-attach.exp: Likewise.
6203 * gdb.threads/attach-into-signal.exp (corefunc): Use
6204 spawn_wait_for_attach, spawn_id_get_pid and
6205 kill_wait_spawned_process.
6206 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
6207 spawn_wait_for_attach returning a spawn id instead of a pid. Use
6208 spawn_id_get_pid and kill_wait_spawned_process.
6209 * gdb.threads/attach-stopped.exp (corefunc): Use
6210 spawn_wait_for_attach, spawn_id_get_pid and
6211 kill_wait_spawned_process.
6212 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
6213 Use spawn_id_get_pid. Wait for spawn id after eof. Use
6214 kill_wait_spawned_process instead of explicit "kill -9".
6215 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
6216 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
6217 (spawn_wait_for_attach): Use spawn instead of exec to spawn
6218 processes. Don't map cygwin/windows pids here. Now returns a
6219 spawn id list.
6220
6221 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
6222
6223 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
6224 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
6225 correct patch.
6226
6227 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
6228
6229 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
6230
6231 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
6232
6233 Reapply:
6234 2014-05-21 Mark Wielaard <mjw@redhat.com>
6235
6236 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
6237
6238 2015-07-30 Pedro Alves <palves@redhat.com>
6239
6240 * linux-low.c (handle_extended_wait): Set the child's last
6241 reported status to TARGET_WAITKIND_STOPPED.
6242
6243 2015-07-30 Pedro Alves <palves@redhat.com>
6244
6245 PR threads/18600
6246 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
6247 only shows inferior 1.
6248
6249 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
6250 Pedro Alves <palves@redhat.com>
6251
6252 PR threads/18600
6253 * gdb.threads/fork-plus-threads.c: New file.
6254 * gdb.threads/fork-plus-threads.exp: New file.
6255
6256 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
6257
6258 * gdb.base/batch-preserve-term-settings.exp
6259 (test_terminal_settings_preserved_after_cli_exit): Use
6260 send_quit_command.
6261
6262 2015-07-29 Pedro Alves <palves@redhat.com>
6263 Don Breazeal <donb@codesourcery.com>
6264
6265 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
6266 output from both inferior_spawn_id and gdb_spawn_id.
6267
6268 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
6269
6270 * gdb.threads/attach-into-signal.exp (corefunc): Use
6271 with_test_prefix on nested loops, uniquefying the test messages.
6272
6273 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
6274
6275 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
6276 commit.
6277
6278 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
6279
6280 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
6281 New proc.
6282 (test_terminal_settings_preserved_after_sigterm): New test.
6283
6284 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
6285
6286 * gdb.base/batch-preserve-term-settings.exp
6287 (test_terminal_settings_preserved_after_cli_exit): New test.
6288
6289 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
6290
6291 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
6292 manipulation of saved_gdbflags.
6293 (test_terminal_settings_preserved): Remove global declaration of
6294 the unused variable pagination_prompt. Remove manipulation of
6295 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
6296 GDBFLAGS.
6297
6298 2015-07-29 Pedro Alves <palves@redhat.com>
6299
6300 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
6301
6302 2015-07-29 Pedro Alves <palves@redhat.com>
6303
6304 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
6305 at the top.
6306
6307 2015-07-29 Pedro Alves <palves@redhat.com>
6308
6309 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
6310 (main): Call gdb_unbuffer_output.
6311 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
6312 (main): Call gdb_unbuffer_output.
6313 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
6314 (main): Call gdb_unbuffer_output.
6315 * gdb.base/call-strs.exp: Adjust to step over the
6316 gdb_unbuffer_output call.
6317 * gdb.base/catch-gdb-caused-signals.c: Include
6318 "../lib/unbuffer_output.c".
6319 (main): Call gdb_unbuffer_output.
6320 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
6321 (main): Call gdb_unbuffer_output.
6322 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
6323 (main): Call gdb_unbuffer_output.
6324 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
6325 (main): Call gdb_unbuffer_output.
6326 * gdb.base/shlib-call.exp: Adjust to step over the
6327 gdb_unbuffer_output call.
6328 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
6329 (main): Call gdb_unbuffer_output.
6330 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
6331 (main): Call gdb_unbuffer_output.
6332 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
6333 (main): Rename to ...
6334 (test): ... this.
6335 (main): Reimplement.
6336 * gdb.base/varargs.exp: Run to test instead of to main.
6337 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
6338 (main): Call gdb_unbuffer_output.
6339
6340 2015-07-29 Pedro Alves <palves@redhat.com>
6341
6342 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
6343 factore out from mi_continue_dprintf. For call-style dprintfs,
6344 expect dprintf output out of $inferior_spawn_id.
6345 (mi_continue_dprintf): Use mi_expect_dprintf.
6346 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
6347 (main): Call gdb_unbuffer_output.
6348
6349 2015-07-29 Pedro Alves <palves@redhat.com>
6350
6351 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
6352 (default_mi_gdb_start): Set inferior_spawn_id instead of
6353 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
6354 gdb_spawn_id.
6355 (mi_gdb_test): Always expect inferior output from both
6356 $inferior_spawn_id and $gdb_spawn_id.
6357
6358 2015-07-29 Pedro Alves <palves@redhat.com>
6359
6360 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
6361 send_inferior and $inferior_spawn_id.
6362
6363 2015-07-29 Pedro Alves <palves@redhat.com>
6364
6365 * gdb.gdb/complaints.exp (test_initial_complaints)
6366 (test_serial_complaints, test_short_complaints): Use
6367 gdb_test_stdio.
6368 (test_empty_complaint): Handle $inferior_spawn_id !=
6369 $gdb_spawn_id.
6370
6371 2015-07-29 Pedro Alves <palves@redhat.com>
6372
6373 * gdb.base/varargs.exp: Use gdb_test_stdio.
6374
6375 2015-07-29 Pedro Alves <palves@redhat.com>
6376
6377 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
6378
6379 2015-07-29 Pedro Alves <palves@redhat.com>
6380
6381 * gdb.base/ending-run.exp: Use gdb_test_stdio.
6382
6383 2015-07-29 Pedro Alves <palves@redhat.com>
6384
6385 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
6386 parameter into two new parameters, "inf_result" and "gdb_result".
6387 Expect inferior output and gdb output from $inferior_spawn_id and
6388 $gdb_spawn_id, respectively. Adjust all callers.
6389
6390 2015-07-29 Pedro Alves <palves@redhat.com>
6391
6392 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
6393 of gdb_test_sequence.
6394
6395 2015-07-29 Pedro Alves <palves@redhat.com>
6396
6397 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
6398 (saw_spurious_output): Expect inferior output from
6399 $inferior_spawn_id. Use gdb_test_stdio.
6400
6401 2015-07-29 Pedro Alves <palves@redhat.com>
6402
6403 * gdb.base/dprintf.exp: Use standard_testfile. Change
6404 prepare_for_testing call.
6405 (srcfile): Don't set.
6406 (restart): New procedure.
6407 (test_dprintf): New procecure, use to continue over dprintfs.
6408 (test_call, test_agent): New procedures, tests moved here.
6409 Restart gdb and recreate dprintfs. Adjust expected output.
6410
6411 2015-07-29 Pedro Alves <palves@redhat.com>
6412
6413 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
6414
6415 2015-07-29 Pedro Alves <palves@redhat.com>
6416
6417 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
6418
6419 2015-07-29 Pedro Alves <palves@redhat.com>
6420
6421 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
6422 gdb_test_stdio.
6423
6424 2015-07-29 Pedro Alves <palves@redhat.com>
6425
6426 * lib/gdb.exp (gdb_test_stdio): New procedure.
6427
6428 2015-07-29 Pedro Alves <palves@redhat.com>
6429
6430 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
6431
6432 2015-07-29 Pedro Alves <palves@redhat.com>
6433
6434 * gdb.base/call-signal-resume.exp: Remove check for
6435 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
6436 * gdb.base/unwindonsignal.exp: Likewise.
6437 * gdb.base/call-signals.c (gen_signal): Remove printf call.
6438 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
6439
6440 2015-07-29 Pedro Alves <palves@redhat.com>
6441
6442 * gdb.base/siginfo-addr.c (pass): New function.
6443 (handler): Call it iff si_addr is correct.
6444 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
6445 Set a breakpoint at "pass" and continue to it.
6446
6447 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
6448
6449 * gdb.python/py-objfile.exp: Make some tests have unique names.
6450 * gdb.python/py-pp-registration.exp: Likewise.
6451
6452 2015-07-28 Pedro Alves <palves@redhat.com>
6453
6454 * gdb.server/server-exec-info.exp: Issue a "disconnect".
6455
6456 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
6457
6458 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
6459
6460 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
6461
6462 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
6463
6464 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
6465
6466 * gdb.base/gdb-sigterm-2.exp: New test.
6467
6468 2015-07-25 Doug Evans <xdje42@gmail.com>
6469
6470 Revert:
6471 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
6472 (workers/%.worker, build-perf): New rule.
6473 (GDB_PERFTEST_MODE): New variable.
6474 (check-perf): Use it.
6475 (clean): Clean up gdb.perf parallel build subdirs.
6476 * lib/build-piece.exp: New file.
6477 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
6478 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
6479 name.
6480 (standard_temp_file): Ditto.
6481 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
6482 of $GDB_PARALLEL.
6483
6484 2015-07-24 Doug Evans <dje@google.com>
6485
6486 * gdb.perf/lib/perftest/utils.py: New file.
6487 * gdb.perf/gm-hello.cc: New file.
6488 * gdb.perf/gm-pervasive-typedef.cc: New file.
6489 * gdb.perf/gm-pervasive-typedef.h: New file.
6490 * gdb.perf/gm-std.cc: New file.
6491 * gdb.perf/gm-std.h: New file.
6492 * gdb.perf/gm-use-cerr.cc: New file.
6493 * gdb.perf/gm-utils.h: New file.
6494 * gdb.perf/gmonster-null-lookup.py: New file.
6495 * gdb.perf/gmonster-pervasive-typedef.py: New file.
6496 * gdb.perf/gmonster-print-cerr.py: New file.
6497 * gdb.perf/gmonster-ptype-string.py: New file.
6498 * gdb.perf/gmonster-runto-main.py: New file.
6499 * gdb.perf/gmonster-select-file.py: New file.
6500 * gdb.perf/gmonster1-null-lookup.exp: New file.
6501 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
6502 * gdb.perf/gmonster1-print-cerr.exp: New file.
6503 * gdb.perf/gmonster1-ptype-string.exp: New file.
6504 * gdb.perf/gmonster1-runto-main.exp: New file.
6505 * gdb.perf/gmonster1-select-file.exp: New file.
6506 * gdb.perf/gmonster1.cc: New file.
6507 * gdb.perf/gmonster1.exp: New file.
6508 * gdb.perf/gmonster2-null-lookup.exp: New file.
6509 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
6510 * gdb.perf/gmonster2-print-cerr.exp: New file.
6511 * gdb.perf/gmonster2-ptype-string.exp: New file.
6512 * gdb.perf/gmonster2-runto-main.exp: New file.
6513 * gdb.perf/gmonster2-select-file.exp: New file.
6514 * gdb.perf/gmonster2.cc: New file.
6515 * gdb.perf/gmonster2.exp: New file.
6516
6517 2015-07-24 Doug Evans <dje@google.com>
6518
6519 * gdb.perf/README: New file.
6520 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
6521 * lib/gen-perf-test.exp: New file.
6522
6523 2015-07-24 Doug Evans <dje@google.com>
6524
6525 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
6526 (PerfTest::startup): New function.
6527 (PerfTest::run): Return result of calling body.
6528 (PerfTest::assemble): Rewrite.
6529 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
6530 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
6531 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
6532 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
6533 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
6534
6535 2015-07-24 Doug Evans <dje@google.com>
6536
6537 * lib/gdb.exp (clean_restart): Make executable optional.
6538
6539 2015-07-24 Doug Evans <dje@google.com>
6540
6541 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
6542 compiler_info references.
6543 * gdb.cp/temargs.exp: Ditto.
6544 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
6545 (get_compiler_info): Early exit if already computed. Set compiler_info
6546 to "unknown" if there was a problem.
6547 (test_compiler_info): Add function comment. Call get_compiler_info.
6548
6549 2015-07-24 Doug Evans <dje@google.com>
6550
6551 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
6552 (workers/%.worker, build-perf): New rule.
6553 (GDB_PERFTEST_MODE): New variable.
6554 (check-perf): Use it.
6555 (clean): Clean up gdb.perf parallel build subdirs.
6556 * lib/build-piece.exp: New file.
6557 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
6558 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
6559 name.
6560 (standard_temp_file): Ditto.
6561 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
6562 of $GDB_PARALLEL.
6563
6564 2015-07-24 Doug Evans <dje@google.com>
6565
6566 * lib/future.exp (gdb_default_target_compile): New option
6567 "early_flags".
6568 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
6569 --as-needed.
6570
6571 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
6572
6573 * gdb.base/catch-syscall.exp: Call gdb_exit before
6574 gdb_skip_xml_test.
6575
6576 2015-07-24 Pedro Alves <palves@redhat.com>
6577
6578 * gdb.python/py-events.exp: Accept output between the stop event
6579 and the prompt.
6580 * gdb.python/py-evsignal.exp: Likewise.
6581 * gdb.python/py-evthreads.exp: Likewise.
6582
6583 2015-07-24 Pedro Alves <palves@redhat.com>
6584
6585 PR gdb/18717
6586 * gdb.threads/non-ldr-exit.c: New file.
6587 * gdb.threads/non-ldr-exit.exp: New file.
6588
6589 2015-07-24 Yao Qi <yao.qi@linaro.org>
6590
6591 * gdb.server/ext-wrapper.exp: Test --wrapper option when
6592 restarting process.
6593
6594 2015-07-24 Yao Qi <yao.qi@linaro.org>
6595
6596 * gdb.server/ext-restart.exp: New file.
6597
6598 2015-07-24 Yao Qi <yao.qi@linaro.org>
6599
6600 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
6601 argument options.
6602 * gdb.server/ext-wrapper.exp: New file.
6603
6604 2015-07-23 Doug Evans <dje@google.com>
6605
6606 * gdb.dwarf2/dw2-dummy-cu.S: New file.
6607 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
6608
6609 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
6610
6611 * gdb.ada/var_arr_typedef.exp: New testcase.
6612 * gdb.ada/var_arr_typedef/pack.adb: New file.
6613 * gdb.ada/var_arr_typedef/pack.ads: New file.
6614 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
6615
6616 2015-07-20 Joel Brobecker <brobecker@adacore.com>
6617
6618 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
6619
6620 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6621
6622 * gdb.arch/i386-biarch-core.exp: Replace istarget
6623 by "complete set gnutarget". Remove expectation for the "core-file"
6624 command.
6625
6626 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6627
6628 Revert the previous commit:
6629 Tests for validate symbol file using build-id.
6630
6631 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
6632
6633 Tests for validate symbol file using build-id.
6634 * gdb.base/solib-mismatch-lib.c: New file.
6635 * gdb.base/solib-mismatch-libmod.c: New file.
6636 * gdb.base/solib-mismatch.c: New file.
6637 * gdb.base/solib-mismatch.exp: New file.
6638
6639 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
6640
6641 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
6642 nios2-*-linux*.
6643 * gdb.base/sigbpt.exp (stepi_out): Likewise.
6644 * gdb.base/siginfo.exp: Likewise.
6645 * gdb.base/sigstep.exp (advance, advancei): Likewise.
6646
6647 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
6648
6649 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
6650 Move it to ...
6651 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
6652 ... here.
6653 * gdb.trace/range-stepping.exp: Check that the target supports
6654 range stepping.
6655
6656 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6657
6658 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
6659
6660 2015-07-14 Pedro Alves <palves@redhat.com>
6661
6662 * gdb.base/killed-outside.exp: New file.
6663 * gdb.base/killed-outside.c: New file.
6664
6665 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6666
6667 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
6668 (n at main): New.
6669 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
6670
6671 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
6672
6673 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
6674 infcall tests instead of setting up for KFAIL.
6675
6676 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
6677
6678 * gdb.btrace/record_goto-step.exp: New.
6679
6680 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6681
6682 PR compile/18484
6683 * gdb.compile/compile.c (struct struct_type): Add volatile to
6684 selffield's type.
6685 * gdb.compile/compile.exp
6686 (compile code struct_object.selffield = &struct_object): Skip further
6687 struct_object tests if this one xfails.
6688
6689 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
6690
6691 PR exp/18617
6692 * gdb.trace/ax.exp: Add test.
6693
6694 2015-07-07 Yao Qi <yao.qi@linaro.org>
6695
6696 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
6697 instead of istarget "aarch64*-*-*".
6698 * gdb.arch/aarch64-fp.exp: Likewise.
6699 * gdb.base/float.exp: Likewise.
6700 * gdb.reverse/aarch64.exp: Likewise.
6701 * lib/gdb.exp (is_aarch64_target): New proc.
6702
6703 2015-07-07 Yao Qi <yao.qi@linaro.org>
6704
6705 * lib/gdb.exp (is_aarch32_target): New proc.
6706 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
6707 instead of "istarget "arm*-*-*"".
6708 * gdb.arch/arm-disp-step.exp: Likewise.
6709 * gdb.arch/thumb-bx-pc.exp: Likewise.
6710 * gdb.arch/thumb-prologue.exp: Likewise.
6711 * gdb.arch/thumb-singlestep.exp: Likewise.
6712 * gdb.base/disp-step-syscall.exp: Likewise.
6713 * gdb.base/float.exp: Likewise.
6714
6715 2015-07-07 Yao Qi <yao.qi@linaro.org>
6716
6717 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
6718 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
6719
6720 2015-07-07 Yao Qi <yao.qi@linaro.org>
6721
6722 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
6723 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
6724 if it exists.
6725 * gdb.multi/multi-arch.exp: Likewise.
6726
6727 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
6728
6729 * gdb.python/py-lazy-string.exp: Add missing parentheses to
6730 print.
6731
6732 2015-07-07 Yao Qi <yao.qi@linaro.org>
6733
6734 * gdb.arch/thumb-singlestep.exp: Do one more single step.
6735
6736 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
6737
6738 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
6739 '[' and ']' characters.
6740
6741 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
6742
6743 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
6744
6745 2015-06-29 Pedro Alves <palves@redhat.com>
6746
6747 PR threads/18127
6748 * gdb.threads/hand-call-new-thread.c: New file.
6749 * gdb.threads/hand-call-new-thread.c: New file.
6750
6751 2015-06-26 Keith Seitz <keiths@redhat.com>
6752 Doug Evans <dje@google.com>
6753
6754 PR 16253
6755 * gdb.cp/var-tag-2.cc: New file.
6756 * gdb.cp/var-tag-3.cc: New file.
6757 * gdb.cp/var-tag-4.cc: New file.
6758 * gdb.cp/var-tag.cc: New file.
6759 * gdb.cp/var-tag.exp: New file.
6760
6761 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
6762
6763 * gdb.base/history-duplicates.exp: New test.
6764
6765 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
6766
6767 * gdb.base/completion.exp: Test the completion of the "focus"
6768 command.
6769
6770 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6771
6772 * gdb.arch/amd64-prologue-skip.S: New file.
6773 * gdb.arch/amd64-prologue-skip.exp: New file.
6774
6775 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
6776
6777 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
6778 is_address_zero_readable check.
6779
6780 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
6781
6782 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
6783 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
6784
6785 2015-06-24 Yao Qi <yao.qi@linaro.org>
6786
6787 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
6788 linux targets.
6789
6790 2015-06-24 Yao Qi <yao.qi@linaro.org>
6791
6792 * lib/gdb.exp (supports_get_siginfo_type): New proc.
6793 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
6794 * gdb.base/siginfo-thread.exp: Likewise.
6795
6796 2015-06-22 Yao Qi <yao.qi@linaro.org>
6797
6798 * boards/remote-gdbserver-on-localhost.exp: Add comments.
6799
6800 2015-06-22 Yao Qi <yao.qi@linaro.org>
6801
6802 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
6803 aarch64*-*-*.
6804 (skip_hw_watchpoint_tests): Likewise.
6805
6806 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
6807
6808 * gdb.base/gdbinit-history.exp: Test the interaction between
6809 setting GDBHISTSIZE and setting the history size via .gdbinit.
6810
6811 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
6812
6813 PR gdb/16999
6814 * gdb.base/gdbhistsize-history.exp: New test.
6815
6816 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
6817
6818 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
6819 with GDBHISTSIZE.
6820 * gdb.base/readline.exp: Likewise.
6821
6822 2015-06-17 Yao Qi <yao.qi@linaro.org>
6823
6824 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
6825 line.
6826
6827 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
6828
6829 * gdb.base/gdbinit-history.exp: Add test case to check that
6830 an unlimited history file does not get truncated on exit.
6831
6832 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
6833
6834 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
6835 (VECTOR): New macro. Use it...
6836 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
6837 ...for these typedefs.
6838 (int8, char1, int1, double1): New typedefs.
6839 (struct just_int2, struct two_int2): New structures.
6840 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
6841 (add_structvecs, add_singlevecs): New functions.
6842 (main): Call add_some_intvecs twice.
6843 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
6844 the compile and exit upon failure. Try compiling for the "native"
6845 architecture. Test inferior function calls with vector arguments
6846 and vector return value handling with "finish" and "return".
6847
6848 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
6849
6850 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
6851 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
6852 PE file.
6853 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
6854
6855 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
6856
6857 PR breakpoints/16465
6858 * gdb.mi/mi-dprintf-pending.c: New file.
6859 * gdb.mi/mi-dprintf-pending.exp: New test.
6860 * gdb.mi/mi-dprintf-pendshr.c: New file.
6861
6862 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6863 Mircea Gherzan <mircea.gherzan@intel.com>
6864
6865 * gdb.arch/i386-mpx-map.c: New file.
6866 * gdb.arch/i386-mpx-map.exp: New File.
6867
6868 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6869
6870 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
6871 * gdb.arch/i386-mpx.exp: Indentation fixed.
6872
6873 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6874
6875 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
6876 function and improved indentation.
6877 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
6878 gdb_test_multiple. Added additional tests to skip the test.
6879
6880 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6881
6882 * gdb.arch/i386-avx512.c: Change path in include file.
6883 * gdb.arch/i386-avx512.exp: Change include dir path
6884 compilation flag.
6885 * gdb.arch/i386-mpx.c: Change path in include file.
6886 * gdb.arch/i386-mpx.exp: Change include dir path compilation
6887 flag.
6888
6889 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
6890
6891 * gdb.compile/compile-print.exp (compile print *vararray@3)
6892 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
6893
6894 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6895
6896 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
6897 (do not keep jit in memory): ... this.
6898 (expect 5): Change it to ...
6899 (expect no 5): ... this.
6900
6901 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
6902
6903 PR gdb/15564
6904 * gdb.mi/mi-detach.exp: New file.
6905
6906 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6907
6908 PR symtab/18392
6909 * gdb.arch/amd64-tailcall-self.S: New file.
6910 * gdb.arch/amd64-tailcall-self.c: New file.
6911 * gdb.arch/amd64-tailcall-self.exp: New file.
6912
6913 2015-05-28 Don Breazeal <donb@codesourcery.com>
6914
6915 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
6916 tests for remote targets by checking is_target_gdbserver.
6917
6918 2015-05-27 Doug Evans <dje@google.com>
6919
6920 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
6921 * gdb.dwarf2/opaque-type-lookup.c: New file.
6922 * gdb.dwarf2/opaque-type-lookup.exp: New file.
6923
6924 2015-05-26 Doug Evans <dje@google.com>
6925
6926 * gdb.cp/iostream.cc: New file.
6927 * gdb.cp/iostream.exp: New file.
6928
6929 2015-05-26 Doug Evans <dje@google.com>
6930
6931 * gdb.dwarf2/dw2-op-call.exp: Update.
6932 * gdb.dwarf2/dw4-sig-types.exp: Update.
6933 * gdb.dwarf2/implptr.exp: Update.
6934 * gdb.mi/mi-cmd-param-changed.exp: Update.
6935
6936 2015-05-26 Doug Evans <dje@google.com>
6937
6938 * gdb.python/py-lazy-string.c: New file.
6939 * gdb.python/py-lazy-string.exp: New file.
6940 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
6941 (main): Update. Add estring3.
6942 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
6943 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
6944
6945 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
6946 Yao Qi <yao.qi@linaro.org>
6947
6948 * gdb.reverse/aarch64.c: New.
6949 * gdb.reverse/aarch64.exp: New.
6950
6951 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
6952
6953 * lib/gdb.exp (supports_process_record): Return true for
6954 aarch64*-linux*.
6955 (supports_reverse): Likewise.
6956
6957 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
6958
6959 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
6960 Use with_test_prefix.
6961
6962 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
6963
6964 * gdb.base/completion.exp: Add test for completion of layout
6965 names.
6966
6967 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
6968
6969 * lib/gdb.exp (skip_tui_tests): New proc.
6970 * gdb.base/tui-layout.exp: Check skip_tui_tests.
6971
6972 2015-05-19 Pedro Alves <palves@redhat.com>
6973
6974 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
6975 Save the whole env array instead of just HOME. Unset HISTSIZE in
6976 the environment while testing. Restore whole environment
6977 afterwards.
6978
6979 2015-05-16 Doug Evans <xdje42@gmail.com>
6980
6981 * gdb.guile/scm-ports.c: New file.
6982 * gdb.guile/scm-ports.exp: Add memory port tests.
6983
6984 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6985
6986 * gdb.compile/compile-print.c: New file.
6987 * gdb.compile/compile-print.exp: New file.
6988
6989 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6990
6991 * gdb.compile/compile-ops.exp: Cast param to void.
6992 * gdb.compile/compile.exp: Complete type for _gdb_expr.
6993 (compile code struct_object.selffield = &struct_object): Add xfail.
6994
6995 2015-05-15 Joel Brobecker <brobecker@adacore.com>
6996
6997 * gdb.ada/arr_enum_with_gap: New testcase.
6998
6999 2015-05-15 Joel Brobecker <brobecker@adacore.com>
7000
7001 * gdb.ada/byte_packed_arr: New testcase.
7002
7003 2015-05-15 Joel Brobecker <brobecker@adacore.com>
7004
7005 * gdb.ada/pckd_neg: New testcase.
7006
7007 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
7008
7009 PR gdb/17820
7010 * gdb.base/gdbinit-history.exp: New test.
7011 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
7012 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
7013
7014 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
7015
7016 * gdb.python/py-xmethods.cc: Enhance test case.
7017 * gdb.python/py-xmethods.exp: New tests.
7018 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
7019 function.
7020 (B_indexoper): Likewise.
7021 (global_dm_list) : Add new xmethod worker functions.
7022
7023 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
7024
7025 * gdb.base/coredump-filter.exp: Correctly unset
7026 "coredump_var_addr" array.
7027
7028 2015-05-08 Pedro Alves <palves@redhat.com>
7029
7030 * gdb.server/non-existing-program.exp: Unset spawn_id.
7031
7032 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
7033
7034 PR python/18291
7035 * gdb.python/py-xmethods.exp: Add tests.
7036
7037 2015-05-08 Yao Qi <yao.qi@linaro.org>
7038
7039 PR gdb/18208
7040 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
7041 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
7042 function set_coredump_filter, and remove remote_exec call.
7043 Remove argument ipid. Callers update.
7044 (top level): Don't get inferior's PID.
7045
7046 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
7047
7048 * gdb.base/watch_thread_num.exp: Skip test on targets without
7049 access watchpoints.
7050
7051 2015-05-06 Pedro Alves <palves@redhat.com>
7052
7053 PR server/18081
7054 * gdb.server/non-existing-program.exp: New file.
7055
7056 2015-05-05 Joel Brobecker <brobecker@adacore.com>
7057
7058 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
7059
7060 2015-05-05 Joel Brobecker <brobecker@adacore.com>
7061
7062 * gdb.ada/out_of_line_in_inlined: New testcase.
7063
7064 2015-05-05 Joel Brobecker <brobecker@adacore.com>
7065
7066 * gdb.ada/var_rec_arr: New testcase.
7067
7068 2015-04-30 Yao Qi <yao.qi@linaro.org>
7069
7070 * gdb.base/break-idempotent.exp: If
7071 skip_hw_watchpoint_multi_tests returns true, skip the tests
7072 on "rwatch" and "awatch".
7073
7074 2015-04-30 Yao Qi <yao.qi@linaro.org>
7075
7076 * gdb.base/relativedebug.exp: Invoke gdb command
7077 "info sharedlibrary", and if libc.so doesn't have debug info,
7078 skip the test.
7079
7080 2015-04-29 Doug Evans <dje@google.com>
7081
7082 * gdb.python/py-xmethods.exp: Add ptype tests.
7083 * gdb.python/py-xmethods.py (E_method_char_worker): Add
7084 get_result_type method.
7085
7086 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
7087
7088 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
7089 the target does not support hardware watchpoints.
7090
7091 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
7092
7093 * gdb.base/break-always.exp: Abort testing if writing to memory
7094 causes an error.
7095
7096 2015-04-28 Doug Evans <dje@google.com>
7097
7098 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
7099 * gdb.python/py-pp-registration.exp: ... here. New file.
7100 * gdb.python/py-pp-registration.c: New file.
7101 * gdb.python/py-pp-registration.py: New file.
7102
7103 2015-04-28 Doug Evans <dje@google.com>
7104
7105 * gdb.python/py-bad-printers.c: New file.
7106 * gdb.python/py-bad-printers.py: New file.
7107 * gdb.python/py-bad-printers.exp: New file.
7108
7109 2015-04-28 Sasha Smundak <asmundak@google.com>
7110
7111 * gdb.python/py-type.exp: New test.
7112
7113 2015-04-28 Andy Wingo <wingo@igalia.com>
7114
7115 * gdb.python/py-parameter.exp:
7116 * gdb.guile/scm-parameter.exp: Escape the path that we are
7117 matching against, as it might contain characters that are special
7118 to regular expressions.
7119
7120 2015-04-27 Joel Brobecker <brobecker@adacore.com>
7121
7122 * gdb.ada/rec_comp: New testcase.
7123
7124 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
7125
7126 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
7127 before using it.
7128
7129 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
7130
7131 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
7132 new tests for verilog output.
7133
7134 2015-04-24 Yao Qi <yao.qi@linaro.org>
7135
7136 * boards/remote-gdbserver-on-localhost.exp: New file.
7137
7138 2015-04-23 Pedro Alves <palves@redhat.com>
7139
7140 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
7141 $inferior_spawn_id instead of $inferior_spawn_id directly. On
7142 "end of file", remove $inferior_spawn_id from the indirect list.
7143
7144 2015-04-23 Pedro Alves <palves@redhat.com>
7145
7146 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
7147
7148 2015-04-23 Pedro Alves <palves@redhat.com>
7149
7150 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
7151 on $any_spawn_id instead of only on $gdb_spawn_id.
7152
7153 2015-04-21 Pierre Muller <muller@sourceware.org>
7154
7155 PR pascal/17815
7156 * lib/pascal.exp (gpc_compile): Add new option "class".
7157 (fpc_compile): Likewise.
7158 * gdb.pascal/case-insensitive-symbols.pas: New file.
7159 * gdb.pascal/case-insensitive-symbols.exp: New file.
7160
7161 2015-04-20 Gary Benson <gbenson@redhat.com>
7162
7163 * gdb.base/attach.exp: Fix three extended remote failures.
7164
7165 2015-04-17 Gary Benson <gbenson@redhat.com>
7166
7167 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
7168 the main executable over the remote protocol.
7169
7170 2015-04-16 Pedro Alves <palves@redhat.com>
7171
7172 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
7173 a new gdbserver if gdbserver_reconnect_p is set.
7174
7175 2015-04-16 Pedro Alves <palves@redhat.com>
7176
7177 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
7178 is set, don't exit gdbserver.
7179
7180 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
7181
7182 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
7183 appropriate .insn, such that an older assembler can be used.
7184 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
7185 the z/Architecture instruction set on 31-bit targets as well.
7186
7187 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
7188
7189 * gdb.go/handcall.exp: Remove all logic related to the first
7190 breakpoint and rely on go_runto_main instead.
7191 * gdb.go/strings.exp: Likewise.
7192 * gdb.go/unsafe.exp: Likewise.
7193 * gdb.go/hello.exp: Likewise. Also rename the remaining
7194 breakpoint marker to "breakpoint 1".
7195 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
7196 * gdb.go/strings.go: Likewise.
7197 * gdb.go/unsafe.go: Likewise.
7198 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
7199 "set breakpoint 2 here" and rename the remaining breakpoint marker
7200 to "breakpoint 1".
7201
7202 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
7203
7204 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
7205 if itertools.imap is not present.
7206 * gdb.python/py-objfile.exp: Add parentheses.
7207 * gdb.python/py-type.exp: Same.
7208 * gdb.python/py-unwind-maint.py: Same.
7209
7210 2015-04-15 Yao Qi <yao.qi@linaro.org>
7211
7212 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
7213 of ":$ptr_size" and set its form explicitly.
7214
7215 2015-04-15 Pedro Alves <palves@redhat.com>
7216 Yao Qi <yao.qi@linaro.org>
7217
7218 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
7219 timeout by factor of 4.
7220 (test_regular_watch): Likewise.
7221 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
7222 * gdb.reverse/sigall-reverse.exp: Likewise.
7223 * gdb.reverse/until-precsave.exp: Likewise.
7224 * lib/gdb.exp (with_timeout_factor): New proc.
7225 (gdb_expect): Move some code to ...
7226 (get_largest_timeout): ... here. New procedure.
7227
7228 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
7229
7230 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
7231
7232 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
7233
7234 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
7235 to write to the .text section.
7236
7237 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
7238
7239 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
7240 Handle the case of targets that do not provide PID information.
7241
7242 2015-04-13 Yao Qi <yao.qi@linaro.org>
7243
7244 * lib/gdbserver-support.exp (gdb_exit): Catch exception
7245 and use expect instead of gdb_expect.
7246
7247 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
7248
7249 * gdb.base/coredump-filter.exp: Rename variable "addr" to
7250 "coredump_var_addr" to avoid naming conflict with other testcases.
7251
7252 2015-04-10 Pedro Alves <palves@redhat.com>
7253
7254 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
7255 gdb_test_sequence and gdb_assert.
7256
7257 2015-04-10 Pedro Alves <palves@redhat.com>
7258
7259 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
7260 test messages that don't include the breakpoint address.
7261
7262 2015-04-10 Yao Qi <yao.qi@linaro.org>
7263
7264 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
7265 false for some offset and width combinations which aren't
7266 supported by linux kernel.
7267
7268 2015-04-10 Pedro Alves <palves@redhat.com>
7269
7270 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
7271 procedure, factored out from ...
7272 (top level): ... here. Add "set displaced-stepping" testing axis.
7273 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
7274 parameter "displaced". Use it.
7275 (top level): Use foreach and add "set displaced-stepping" testing
7276 axis.
7277
7278 2015-04-10 Pedro Alves <palves@redhat.com>
7279
7280 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
7281 Remove comment.
7282 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
7283 both the address of the instruction that triggers the watchpoint
7284 and the address of the instruction immediately after, and use
7285 those addresses for the test. Fix comment.
7286
7287 2015-04-10 Pedro Alves <palves@redhat.com>
7288
7289 * gdb.base/sigstep.exp (breakpoint_to_handler)
7290 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
7291 Test "backtrace" in handler.
7292 (breakpoint_over_handler): New parameter 'displaced'. Use it.
7293 (top level): Add new "displaced" test axis to
7294 breakpoint_to_handler, breakpoint_to_handler_entry and
7295 breakpoint_over_handler.
7296
7297 2015-04-10 Pedro Alves <palves@redhat.com>
7298
7299 PR gdb/18216
7300 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
7301
7302 2015-04-10 Yao Qi <yao.qi@linaro.org>
7303
7304 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
7305 (test_add_rn_pc): New function.
7306 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
7307 (top level): Invoke test_add_rn_pc.
7308
7309 2015-04-10 Pedro Alves <palves@redhat.com>
7310
7311 PR gdb/13858
7312 * gdb.base/step-over-no-symbols.exp: New file.
7313
7314 2015-04-09 Andy Wingo <wingo@igalia.com>
7315
7316 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
7317 after the Python tests.
7318
7319 2015-04-08 Keith Seitz <keiths@redhat.com>
7320
7321 PR python/16699
7322 * gdb.python/py-completion.exp: New tests for completion.
7323 * gdb.python/py-completion.py (CompleteLimit1): New class.
7324 (CompleteLimit2): Likewise.
7325 (CompleteLimit3): Likewise.
7326 (CompleteLimit4): Likewise.
7327 (CompleteLimit5): Likewise.
7328 (CompleteLimit6): Likewise.
7329 (CompleteLimit7): Likewise.
7330
7331 2015-04-08 Pedro Alves <palves@redhat.com>
7332
7333 PR gdb/18214
7334 PR gdb/18216
7335 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
7336 function.
7337 (main): Install it as SIGUSR1 handler.
7338 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
7339 parameter. Always use "setup" as prefix. Toggle "set
7340 displaced-stepping" off/on depending on global. Don't switch to
7341 thread 1 here.
7342 (top level): Add displaced stepping "off/on" test axis. Update
7343 "setup" calls. Wrap each subtest with with_test_prefix. Test
7344 continuing with a queued signal in each thread.
7345
7346 2015-04-08 Pedro Alves <palves@redhat.com>
7347
7348 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
7349 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
7350 gdb_breakpoint instead of gdb_test that doesn't expect anything.
7351 Return early if running to main fails.
7352 * gdb.trace/while-stepping.exp: Likewise.
7353
7354 2015-04-07 Pedro Alves <palves@redhat.com>
7355
7356 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
7357 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
7358 interact with inferior program.
7359
7360 2015-04-07 Pedro Alves <palves@redhat.com>
7361
7362 * lib/gdb.exp (inferior_spawn_id): New global.
7363 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
7364 spawn id after processing the user code.
7365 (default_gdb_start): Set inferior_spawn_id.
7366 (send_inferior): New procedure.
7367 * lib/gdbserver-support.exp (gdbserver_start): Set
7368 inferior_spawn_id.
7369 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
7370
7371 2015-04-07 Pedro Alves <palves@redhat.com>
7372
7373 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
7374 * lib/gdbserver-support.exp (gdbserver_start): Make
7375 $server_spawn_id global.
7376 (gdbserver_start): Don't wait for gdbserver's spawn id with
7377 expect_background.
7378 (close_gdbserver): New procedure.
7379 (gdb_exit): Rename the default version and reimplement.
7380
7381 2015-04-07 Pedro Alves <palves@redhat.com>
7382
7383 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
7384 append the substituted item, not the original item.
7385
7386 2015-04-07 Pedro Alves <palves@redhat.com>
7387
7388 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
7389 gdb_expect.
7390
7391 2015-04-07 Pedro Alves <palves@redhat.com>
7392
7393 * gdb.base/interrupt.exp: Don't handle the case of the inferior
7394 output appearing once only.
7395
7396 2015-04-07 Pedro Alves <palves@redhat.com>
7397
7398 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
7399 that doesn't expect anything. Return early if running to main
7400 fails.
7401
7402 2015-04-07 Yao Qi <yao.qi@linaro.org>
7403
7404 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
7405 (child_function): Call alarm.
7406 (main): Move call to alarm into the loop.
7407 * gdb.threads/non-stop-fair-events.exp: Build program with
7408 -DTIMEOUT=$timeout.
7409
7410 2015-04-06 Doug Evans <xdje42@gmail.com>
7411
7412 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
7413 Fix dest parameter to board_info.
7414 (fpc_compile): Ditto.
7415 (gdb_compile_pascal): Rename dest arg to destfile.
7416
7417 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
7418
7419 * gdb.ada/funcall_ref.exp: New file.
7420 * gdb.ada/funcall_ref/foo.adb: New file.
7421
7422 2015-04-02 Yao Qi <yao.qi@linaro.org>
7423
7424 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
7425 is remote.
7426
7427 2015-04-02 Gary Benson <gbenson@redhat.com>
7428
7429 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
7430
7431 2015-04-01 Sasha Smundak <asmundak@google.com>
7432
7433 * gdb.python/py-unwind-maint.c: New file.
7434 * gdb.python/py-unwind-maint.exp: New test.
7435 * gdb.python/py-unwind-maint.py: New file.
7436 * gdb.python/py-unwind.c: New file.
7437 * gdb.python/py-unwind.exp: New test.
7438 * gdb.python/py-unwind.py: New test.
7439
7440 2015-04-01 Pedro Alves <palves@redhat.com>
7441
7442 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
7443 to fail instead of non-existent $test.
7444
7445 2015-04-01 Pedro Alves <palves@redhat.com>
7446
7447 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
7448 GDBFLAGS if not empty.
7449
7450 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
7451
7452 * gdb.ada/complete.exp: Remove "multi_line".
7453 * gdb.ada/info_exc.exp: Remove "multi_line".
7454 * gdb.ada/packed_tagged.exp: Remove "multi_line".
7455 * gdb.ada/ptype_field.exp: Remove "multi_line".
7456 * gdb.ada/sym_print_name.exp: Remove "multi_line".
7457 * gdb.ada/tagged.exp: Remove "multi_line".
7458 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
7459 [multi_line ...]
7460 * gdb.btrace/delta.exp: Likewise.
7461 * gdb.btrace/exception.exp: Likewise.
7462 * gdb.btrace/function_call_history.exp: Likewise.
7463 * gdb.btrace/instruction_history.exp: Likewise.
7464 * gdb.btrace/nohist.exp: Likewise.
7465 * gdb.btrace/record_goto.exp: Likewise.
7466 * gdb.btrace/segv.exp: Likewise.
7467 * gdb.btrace/stepi.exp: Likewise.
7468 * gdb.btrace/tailcall.exp: Likewise.
7469 * gdb.btrace/unknown_functions.exp: Likewise.
7470 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
7471 * lib/gdb.exp: Add the "multi_line" helper.
7472
7473 2015-04-01 Pedro Alves <palves@redhat.com>
7474
7475 * gdb.threads/tid-reuse.c: New file.
7476 * gdb.threads/tid-reuse.exp: New file.
7477
7478 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
7479
7480 PR corefiles/16092
7481 * gdb.base/coredump-filter.c: New file.
7482 * gdb.base/coredump-filter.exp: Likewise.
7483
7484 2015-03-27 Petr Machata <pmachata@redhat.com>
7485
7486 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
7487 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
7488 (Dwarf::assemble): Initialize them.
7489 (Dwarf::lines): New function.
7490
7491 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
7492
7493 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
7494 SYMBOL_PREFIX for x86_64-*-cygwin.
7495
7496 2015-03-26 Andy Wingo <wingo@igalia.com>
7497
7498 PR symtab/18148
7499 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
7500 const_value but not a location.
7501 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
7502 location defined in non-main CUs are visible.
7503
7504 2015-03-26 Yao Qi <yao.qi@linaro.org>
7505
7506 PR testsuite/18139
7507 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
7508 Add a line number entry for the same line.
7509 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
7510 Add a line number entry for the same line.
7511
7512 2015-03-26 Yao Qi <yao.qi@linaro.org>
7513
7514 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
7515 .int 0.
7516 (func): Likewise. Add .Lfunc_1 label.
7517 Use .Lfunc_1 label.
7518 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
7519 .int 0.
7520 (func): Likewise.
7521 Use .Lfunc_1 label.
7522
7523 2015-03-26 Yao Qi <yao.qi@linaro.org>
7524
7525 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
7526 Call gdb_compile instead to compile each .s files without debug
7527 information.
7528
7529 2015-03-26 Yao Qi <yao.qi@linaro.org>
7530
7531 * gdb.base/savedregs.exp (process_saved_regs): Make
7532 "Saved registers:" optional in the pattern.
7533
7534 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
7535
7536 * gdb.btrace/next.exp: Merged into step.exp.
7537 * gdb.btrace/finish.exp: Merged into step.exp.
7538 * gdb.btrace/nexti.exp: Merged into stepi.exp.
7539 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
7540 "record goto" and checking the exact replay position.
7541 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
7542 check for "Recording format" in "info record" output.
7543 * gdb.btrace/record_goto.exp: Choose test file based on target.
7544 * gdb.btrace/x86-record_goto.S: Renamed into ...
7545 * gdb.btrace/x86_64-record_goto.S: ... this.
7546 * gdb.btrace/i686-record_goto.S: New.
7547 * gdb.btrace/x86-tailcall.S: Renamed into ...
7548 * gdb.btrace/x86_64-tailcall.S: ... this.
7549 * gdb.btrace/i686-tailcall.S: New.
7550 * gdb.btrace/x86-tailcall.c: Renamed into ...
7551 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
7552 separate statements. Update test.
7553 * gdb.btrace/delta.exp: Use record_goto.c as test file.
7554 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
7555 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
7556 * gdb.btrace/tailcall.exp: Choose test file based on target.
7557 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
7558
7559 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
7560
7561 * gdb.btrace/exception.exp: Increase BTS buffer size.
7562
7563 2015-03-24 Pedro Alves <palves@redhat.com>
7564
7565 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
7566
7567 2015-03-24 Pedro Alves <palves@redhat.com>
7568
7569 * gdb.threads/schedlock.exp (test_step): No longer expect that
7570 "set scheduler-locking step" with "next" over a function call runs
7571 threads unlocked.
7572
7573 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
7574
7575 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
7576
7577 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
7578
7579 PR breakpoints/16466
7580 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
7581 * gdb.mi/mi-pending.c (thread_func): New function.
7582 (int main): Add threading support required.
7583 * gdb.mi/mi-pending.exp: Add tests for this issue.
7584 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
7585 (pendfunc2): Remove stdio dependency.
7586 * gdb.mi/mi-pendshr2.c: New file.
7587
7588 2015-03-23 Keith Seitz <keiths@redhat.com>
7589
7590 * gdb.linespec/keywords.c: New file.
7591 * gdb.linespec/keywords.exp: New file.
7592
7593 2015-03-23 Keith Seitz <keiths@redhat.com>
7594
7595 PR gdb/18021
7596 * gdb.dwarf2/staticvirtual.exp: New test.
7597
7598 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7599
7600 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
7601 * README: Remove HP-UX and gdb.hp.
7602 (configuration):
7603 * configure: Regenerate.
7604 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
7605 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
7606 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
7607 gdb.hp/gdb.defects/Makefile.
7608 * gdb.hp/Makefile.in: File deleted.
7609 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
7610 * gdb.hp/gdb.aCC/optimize.c: File deleted.
7611 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
7612 * gdb.hp/gdb.aCC/run.c: File deleted.
7613 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
7614 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
7615 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
7616 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
7617 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
7618 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
7619 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
7620 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
7621 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
7622 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
7623 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
7624 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
7625 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
7626 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
7627 * gdb.hp/gdb.base-hp/reg.s: File deleted.
7628 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
7629 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
7630 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
7631 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
7632 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
7633 * gdb.hp/gdb.compat/Makefile.in: File deleted.
7634 * gdb.hp/gdb.compat/average.c: File deleted.
7635 * gdb.hp/gdb.compat/sum.c: File deleted.
7636 * gdb.hp/gdb.compat/xdb.c: File deleted.
7637 * gdb.hp/gdb.compat/xdb0.c: File deleted.
7638 * gdb.hp/gdb.compat/xdb0.h: File deleted.
7639 * gdb.hp/gdb.compat/xdb1.c: File deleted.
7640 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
7641 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
7642 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
7643 * gdb.hp/gdb.defects/Makefile.in: File deleted.
7644 * gdb.hp/gdb.defects/bs14602.c: File deleted.
7645 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
7646 * gdb.hp/gdb.defects/solib-d.c: File deleted.
7647 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
7648 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
7649 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
7650 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
7651 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
7652 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
7653 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
7654 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
7655 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
7656 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
7657 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
7658 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
7659 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
7660 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
7661 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
7662 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
7663 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
7664 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
7665 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
7666 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
7667 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
7668 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
7669 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
7670 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
7671 * gdb.hp/tools/odump: File deleted.
7672
7673 2015-03-19 Pedro Alves <palves@redhat.com>
7674
7675 * gdb.threads/continue-pending-status.exp (saw_thread_2)
7676 (saw_thread_3): New globals.
7677 (top level): Increment them when an event for the corresponding
7678 thread is seen.
7679 (no thread starvation): New test.
7680
7681 2015-03-19 Pedro Alves <palves@redhat.com>
7682
7683 * gdb.threads/continue-pending-status.c: New file.
7684 * gdb.threads/continue-pending-status.exp: New file.
7685
7686 2015-03-18 Pedro Alves <palves@redhat.com>
7687
7688 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
7689 Use gdb_is_target_remote instead of is_remote. Use
7690 gdb_test_multiple instead of gdb_expect. Exit early if
7691 gdb_test_multiple hits its internal matches. Tighten stepi tests
7692 expected output. Fail on exit with any signal, instead of just
7693 SIGILL.
7694
7695 2015-03-18 Yao Qi <yao.qi@linaro.org>
7696
7697 PR tdep/18107
7698 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
7699 variable.
7700 * gdb.base/catch-syscall.exp: Don't skip it on
7701 aarch64*-*-linux* target. Remove elements in all_syscalls.
7702 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
7703 target.
7704 (setup_all_syscalls): New proc.
7705
7706 2015-03-16 Yao Qi <yao.qi@linaro.org>
7707
7708 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
7709 (top level): Skip tests if valid_addr_p returns false for
7710 $cmd1 or $cmd2.
7711
7712 2015-03-11 Andy Wingo <wingo@igalia.com>
7713
7714 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
7715
7716 2015-03-11 Yao Qi <yao.qi@linaro.org>
7717
7718 * gdb.base/catch-syscall.exp: Fix typo in comments.
7719
7720 2015-03-11 Yao Qi <yao.qi@linaro.org>
7721
7722 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
7723
7724 2015-03-09 Pedro Alves <palves@redhat.com>
7725
7726 * dg-extract-results.py: Delete.
7727
7728 2015-03-09 Pedro Alves <palves@redhat.com>
7729
7730 Merge dg-extract-results.sh from GCC upstream (r218843).
7731
7732 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
7733 * dg-extract-results.sh: Use --text with grep to avoid issues with
7734 binary files. Fall back to cat -v, if that doesn't work.
7735
7736 2015-03-05 Pedro Alves <palves@redhat.com>
7737
7738 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
7739
7740 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
7741
7742 * lib/mi-support.exp (mi_expect_interrupt): Accept
7743 alternative event for when in all-stop mode.
7744
7745 2015-03-04 Pedro Alves <palves@redhat.com>
7746
7747 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
7748
7749 2015-03-04 Mark Kettenis <kettenis@gnu.org>
7750
7751 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
7752
7753 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
7754
7755 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
7756 regexps for GDB's current line display, accept a hex address
7757 preceding the line number.
7758
7759 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
7760
7761 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
7762 the 'arch1' variable for "s390*-linux*" targets.
7763
7764 2015-03-04 Pedro Alves <palves@redhat.com>
7765
7766 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
7767 (main): Pass missing retval argument to pthread_join call.
7768
7769 2015-03-02 Pedro Alves <palves@redhat.com>
7770
7771 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
7772 (top level): Call do_test with non-stop as well.
7773
7774 2015-03-02 Pedro Alves <palves@redhat.com>
7775
7776 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
7777 -1.
7778
7779 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
7780
7781 * gdb.arch/s390-vregs.exp: New test.
7782 * gdb.arch/s390-vregs.S: New file.
7783
7784 2015-02-27 Pedro Alves <palves@redhat.com>
7785
7786 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
7787 call to catch_command_errors.
7788 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
7789 catch_command_errors.
7790
7791 2015-02-27 Pedro Alves <palves@redhat.com>
7792
7793 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
7794 "true" for boolean result.
7795 * gdb.gdb/selftest.exp (test_with_self): Also accept full
7796 prototype of main.
7797
7798 2015-02-27 Pedro Alves <palves@redhat.com>
7799
7800 * lib/unbuffer_output.c: New file.
7801 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
7802 (main): Call gdb_unbuffer_output.
7803
7804 2015-02-27 Yao Qi <yao.qi@linaro.org>
7805
7806 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
7807 target.
7808
7809 2015-02-26 Doug Evans <dje@google.com>
7810
7811 * gdb.cp/class2.cc (Dbase, D): New classes.
7812 (main): New local delta.
7813 * gdb.cp/class2.exp: Test printing delta.
7814 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
7815 (dynbar): New global.
7816 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
7817
7818 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7819
7820 * gdb.compile/compile-ifunc.c: New file.
7821 * gdb.compile/compile-ifunc.exp: New file.
7822
7823 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
7824
7825 * gdb.base/structs.exp: Check for correct struct on finish.
7826
7827 2015-02-26 Yao Qi <yao.qi@linaro.org>
7828
7829 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
7830 is zero.
7831
7832 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7833
7834 * gdb.arch/cordic.ko.bz2: New file.
7835 * gdb.arch/cordic.ko.debug.bz2: New file.
7836 * gdb.arch/ppc64-symtab-cordic.exp: New file.
7837
7838 2015-02-25 Yao Qi <yao.qi@linaro.org>
7839
7840 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
7841 aarch64*-*-* target.
7842
7843 2015-02-23 Pedro Alves <palves@redhat.com>
7844
7845 * lib/gdb.exp (delete_breakpoints): Rewrite using
7846 gdb_test_multiple.
7847
7848 2015-02-23 Pedro Alves <palves@redhat.com>
7849
7850 * gdb.base/info-os.c: Include stdlib.h.
7851
7852 2015-02-22 Doug Evans <xdje42@gmail.com>
7853
7854 PR symtab/17855
7855 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
7856 is read after symbols have been re-read.
7857 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
7858 * gdb.ada/exec_changed/second.adb (Second): Ditto.
7859
7860 2015-02-21 Doug Evans <dje@google.com>
7861
7862 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
7863
7864 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7865
7866 PR corefiles/17808
7867 * gdb.arch/i386-biarch-core.core.bz2: New file.
7868 * gdb.arch/i386-biarch-core.exp: New file.
7869
7870 2015-02-21 Pedro Alves <palves@redhat.com>
7871
7872 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
7873 runto_main fails.
7874
7875 2015-02-20 Pedro Alves <palves@redhat.com>
7876
7877 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
7878 info probes.
7879
7880 2015-02-20 Pedro Alves <palves@redhat.com>
7881
7882 * gdb.threads/multi-create-ns-info-thr.exp: New file.
7883
7884 2015-02-20 Pedro Alves <palves@redhat.com>
7885
7886 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
7887 clean_restart before gdb_target_supports_trace.
7888
7889 2015-02-20 Pedro Alves <palves@redhat.com>
7890
7891 PR threads/18006
7892 * gdb.threads/clone-thread_db.c: New file.
7893 * gdb.threads/clone-thread_db.exp: New file.
7894
7895 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
7896
7897 PR breakpoints/16812
7898 * gdb.base/catch-gdb-caused-signals.c: New file.
7899 * gdb.base/catch-gdb-caused-signals.exp: New file.
7900
7901 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
7902
7903 * configure: Regenerated.
7904 * configure.ac: Use GDB_AC_TRANSFORM.
7905 * aclocal.m4: sinclude ../transform.m4.
7906
7907 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
7908
7909 * lib/dtrace.exp: New file.
7910 * gdb.base/dtrace-probe.exp: Likewise.
7911 * gdb.base/dtrace-probe.d: Likewise.
7912 * gdb.base/dtrace-probe.c: Likewise.
7913 * lib/pdtrace.in: Likewise.
7914 * configure.ac: Output variables with the transformed names of
7915 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
7916 * configure: Regenerated.
7917
7918 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
7919
7920 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
7921 expected message when trying to access $_probe_* convenience
7922 variables while not on a probe.
7923
7924 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7925
7926 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
7927
7928 2015-02-11 Pedro Alves <pedro@codesourcery.com>
7929
7930 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
7931 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
7932
7933 2015-02-10 Doug Evans <xdje42@gmail.com>
7934
7935 * lib/gdb.exp (gdb_load): Always return a result.
7936
7937 2015-02-10 Pedro Alves <palves@redhat.com>
7938
7939 * gdb.threads/signal-sigtrap.c: New file.
7940 * gdb.threads/signal-sigtrap.exp: New file.
7941
7942 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
7943
7944 * gdb.trace/no-attach-trace.c: New file.
7945 * gdb.trace/no-attach-trace.exp: New file.
7946
7947 2015-02-09 Mark Wielaard <mjw@redhat.com>
7948
7949 * gdb.dwarf2/atomic.c: New file.
7950 * gdb.dwarf2/atomic-type.exp: Likewise.
7951
7952 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
7953
7954 * gdb.btrace/buffer-size.exp: Update "info record" output.
7955 * gdb.btrace/delta.exp: Update "info record" output.
7956 * gdb.btrace/enable.exp: Update "info record" output.
7957 * gdb.btrace/finish.exp: Update "info record" output.
7958 * gdb.btrace/instruction_history.exp: Update "info record" output.
7959 * gdb.btrace/next.exp: Update "info record" output.
7960 * gdb.btrace/nexti.exp: Update "info record" output.
7961 * gdb.btrace/step.exp: Update "info record" output.
7962 * gdb.btrace/stepi.exp: Update "info record" output.
7963 * gdb.btrace/nohist.exp: Update "info record" output.
7964
7965 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
7966
7967 * gdb.btrace/buffer-size: New.
7968
7969 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
7970
7971 * gdb.btrace/delta.exp: Update "info record" output.
7972 * gdb.btrace/enable.exp: Update "info record" output.
7973 * gdb.btrace/finish.exp: Update "info record" output.
7974 * gdb.btrace/instruction_history.exp: Update "info record" output.
7975 * gdb.btrace/next.exp: Update "info record" output.
7976 * gdb.btrace/nexti.exp: Update "info record" output.
7977 * gdb.btrace/step.exp: Update "info record" output.
7978 * gdb.btrace/stepi.exp: Update "info record" output.
7979 * gdb.btrace/nohist.exp: Update "info record" output.
7980
7981 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
7982
7983 PR gdb/15678
7984 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
7985
7986 2015-02-06 Pedro Alves <palves@redhat.com>
7987
7988 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
7989 macro.
7990 (seconds_left, again): New globals.
7991 (main): Wait seconds_left in a 1-second sleep loop instead of
7992 sleeping 180 seconds. If 'again' is set, reset the seconds
7993 counter.
7994 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
7995 'again' in the inferior before detaching. Print the seconds left.
7996 (options): New global.
7997 (top level): Build program with -DTIMEOUT=$timeout.
7998
7999 2015-02-06 Pedro Alves <palves@redhat.com>
8000
8001 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
8002 determine how many seconds to pass to 'alarm'.
8003 * gdb.base/gdb-sigterm.exp (top level): Build program with
8004 -DTIMEOUT=$timeout.
8005 (do_test): Return success/failure indication. Add more verbose
8006 logging. Don't fail if 200 single steps are seen. Instead, fail
8007 when the test times out.
8008 (passes): New global.
8009 (top level): Break the testing loop if testing fails on any
8010 iteration. Use gdb_assert.
8011
8012 2015-02-04 Don Breazeal <donb@codesourcery.com>
8013
8014 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
8015 and initialize them.
8016 (ipc_cleanup): New function.
8017 (main): Don't declare shmid, semid, and msqid. Add a call to
8018 atexit so that we call ipc_cleanup on exit.
8019
8020 2015-02-04 Pedro Alves <palves@redhat.com>
8021
8022 * boards/native-extended-gdbserver.exp: Remove any target variant
8023 specifications from the board name before clearing the isremote
8024 flag from board_info.
8025
8026 2015-01-31 Doug Evans <xdje42@gmail.com>
8027
8028 * gdb.base/maint.exp <maint print type argc>: Update expected output.
8029
8030 2015-01-31 Gary Benson <gbenson@redhat.com>
8031
8032 * gdb.base/completion.exp: Disable completion limiting for
8033 existing tests. Add new tests to check completion limiting.
8034 * gdb.linespec/ls-errs.exp: Disable completion limiting.
8035
8036 2015-01-31 Doug Evans <xdje42@gmail.com>
8037
8038 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
8039
8040 2015-01-31 Doug Evans <xdje42@gmail.com>
8041
8042 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
8043 entries. Duplicate file section script entries.
8044 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
8045 inlined entries. Add test for safe-path rejection.
8046 * gdb.python/py-section-script.c: Add duplicate inlined section script
8047 entries. Duplicate file section script entries.
8048 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
8049 inlined entries. Add test for safe-path rejection.
8050
8051 2015-01-29 Joel Brobecker <brobecker@adacore.com>
8052
8053 * gdb.ada/disc_arr_bound: New testcase.
8054
8055 2015-01-29 Joel Brobecker <brobecker@adacore.com>
8056
8057 * gdb.ada/mi_var_array: New testcase.
8058
8059 2015-01-27 Doug Evans <dje@google.com>
8060
8061 * gdb.python/py-objfile.exp: Add tests for objfile.username.
8062 Add test for objfile.filename, objfile.username after objfile
8063 has been unloaded.
8064
8065 2015-01-26 Joel Brobecker <brobecker@adacore.com>
8066
8067 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
8068 the second test to print the name attribute of value
8069 returned by the call to gdb.lookup_type, and adjust
8070 the expected output accordingly.
8071
8072 2015-01-25 Mark Wielaard <mjw@redhat.com>
8073
8074 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
8075 * gdb.base/disp-step-fork.c: Include unistd.h.
8076 * gdb.base/siginfo-obj.c: Include stdio.h.
8077 * gdb.base/siginfo-thread.c: Likewise.
8078 * gdb.mi/non-stop.c: Include unistd.h.
8079 * gdb.mi/nsthrexec.c: Include stdio.h.
8080 * gdb.mi/pthreads.c: Include unistd.h.
8081 * gdb.modula2/unbounded1.c (main): Declare returns int.
8082 * gdb.reverse/consecutive-reverse.c: Likewise.
8083 * gdb.threads/create-fail.c: Include unistd.h.
8084 * gdb.threads/killed.c: Likewise.
8085 * gdb.threads/linux-dp.c: Likewise.
8086 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
8087 * gdb.threads/non-ldr-exc-2.c: Likewise.
8088 * gdb.threads/non-ldr-exc-3.c: Likewise.
8089 * gdb.threads/non-ldr-exc-4.c: Likewise.
8090 * gdb.threads/pthreads.c: Include unistd.h.
8091 (main): Declare returns int.
8092 * gdb.threads/tls-main.c (foo): New declaration.
8093 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
8094
8095 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
8096
8097 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
8098 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
8099
8100 2015-01-15 Mark Wielaard <mjw@redhat.com>
8101
8102 * gdb.base/noreturn-return.c: New file.
8103 * gdb.base/noreturn-return.exp: New file.
8104 * gdb.base/noreturn-finish.c: New file.
8105 * gdb.base/noreturn-finish.exp: New file.
8106
8107 2015-01-23 Pedro Alves <palves@redhat.com>
8108
8109 * gdb.threads/continue-pending-after-query.c: New file.
8110 * gdb.threads/continue-pending-after-query.exp: New file.
8111
8112 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
8113 Simon Marchi <simon.marchi@ericsson.com>
8114
8115 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
8116 * gdb.base/valgrind-db-attach.exp: Same.
8117 * gdb.base/valgrind-infcall.exp: Same.
8118 * lib/mi-support.exp (default_mi_gdb_start): Same.
8119 * lib/prompt.exp (default_prompt_gdb_start): Same.
8120 * lib/gdb.exp (default_gdb_spawn): Same.
8121 (gdb_interact): New.
8122
8123
8124 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8125
8126 * gdb.compile/compile.exp (pointer to jit function): New test.
8127
8128 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
8129
8130 * lib/gdb.exp (supports_process_record): Return true for
8131 powerpc*-*-linux*.
8132 (supports_reverse): Likewise.
8133
8134 2015-01-15 Don Breazeal <donb@codesourcery.com>
8135
8136 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
8137 instead of checking whether the target board is remote and
8138 use spawn_wait_for_attach instead of exec/sleep.
8139 * gdb.base/attach-twice.exp: Likewise.
8140
8141 2015-01-15 Joel Brobecker <brobecker@adacore.com>
8142
8143 * gdb.ada/var_arr_attrs: New testcase.
8144
8145 2015-01-14 Pedro Alves <palves@redhat.com>
8146 Joel Brobecker <brobecker@adacore.com>
8147
8148 PR gdb/17525
8149 * gdb.base/bp-cmds-execution-x-script.c: New file.
8150 * gdb.base/bp-cmds-execution-x-script.exp: New file.
8151 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
8152
8153 2015-01-14 Pedro Alves <palves@redhat.com>
8154
8155 PR cli/17828
8156 * gdb.base/batch-preserve-term-settings.c: New file.
8157 * gdb.base/batch-preserve-term-settings.exp: New file.
8158
8159 2015-01-13 Doug Evans <dje@google.com>
8160
8161 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
8162 binary.
8163
8164 2015-01-13 Joel Brobecker <brobecker@adacore.com>
8165
8166 * Makefile.in (clean mostlyclean): Do not delete *.py.
8167
8168 2015-01-13 Joel Brobecker <brobecker@adacore.com>
8169
8170 * gdb.python/py-lookup-type.exp: New file.
8171
8172 2015-01-12 Pedro Alves <palves@redhat.com>
8173
8174 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
8175 restore GDBFLAGS before returning.
8176
8177 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8178
8179 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
8180 is_amd64_regs_target and is_x86_like_target.
8181
8182 2015-01-11 Doug Evans <xdje42@gmail.com>
8183
8184 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
8185 is given without an explicit form.
8186 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
8187 attributes.
8188 * gdb.dwarf/corrupt.exp: Ditto.
8189 * gdb.dwarf2/enum-type.exp: Ditto.
8190 * gdb.trace/entry-values.exp: Ditto.
8191 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
8192
8193 2015-01-11 Doug Evans <xdje42@gmail.com>
8194
8195 PR gdb/15830
8196 * gdb.base/maint.exp: Remove references to "maint demangle".
8197 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
8198 Add tests for explicitly specifying language to demangle.
8199 * gdb.dlang/demangle.exp: Ditto.
8200
8201 2015-01-09 Pedro Alves <palves@redhat.com>
8202
8203 * gdb.threads/non-stop-fair-events.c: New file.
8204 * gdb.threads/non-stop-fair-events.exp: New file.
8205
8206 2015-01-09 Pedro Alves <palves@redhat.com>
8207
8208 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
8209 the global scope. Set a breakpoint after all threads are started
8210 rather than stepping over two source lines. Expect the prompt.
8211 * gdb.base/watch_thread_num.c (threads_started_barrier): New
8212 global.
8213 (NUM): Now 15.
8214 (main): Use threads_started_barrier to wait for all threads to
8215 start. Main thread no longer calls thread_function. Exit after
8216 180 seconds.
8217 (loop): New function.
8218 (thread_function): Wait on threads_started_barrier barrier. Call
8219 'loop' at each iteration.
8220 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
8221 threads have started, instead of hardcoding number of "next"
8222 steps. Use an access watchpoint instead of a write watchpoint.
8223
8224 2015-01-09 Pedro Alves <palves@redhat.com>
8225
8226 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
8227 (thread_func): Wait on barrier.
8228 (main): Wait for all threads to start before stopping GDB.
8229 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
8230 global.
8231 (thread1_func, thread2_func): Wait on barrier.
8232 (main): Wait for all threads to start before stopping GDB.
8233 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
8234 New global.
8235 (thread1_func, thread2_func): Wait on barrier.
8236 (main): Wait for all threads to start before stopping GDB.
8237
8238 2015-01-09 Pedro Alves <palves@redhat.com>
8239
8240 * gdb.threads/attach-many-short-lived-threads.c: New file.
8241 * gdb.threads/attach-many-short-lived-threads.exp: New file.
8242
8243 2014-01-09 Pedro Alves <palves@redhat.com>
8244
8245 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
8246 instead of to thread 2.
8247 * gdb.threads/signal-command-multiple-signals-pending.c (main):
8248 Add barrier around each pthread_create call instead of around all
8249 calls.
8250 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
8251 Set a break on thread_function and have the child threads hit it
8252 one at at a time.
8253
8254 2015-01-09 Pedro Alves <palves@redhat.com>
8255
8256 * lib/gdb.exp (can_spawn_for_attach): New procedure.
8257 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
8258 false.
8259 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
8260 checking whether the target board is remote.
8261 * gdb.multi/multi-attach.exp: Likewise.
8262 * gdb.python/py-sync-interp.exp: Likewise.
8263 * gdb.server/ext-attach.exp: Likewise.
8264 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
8265 tests that need to attach, instead of checking whether the target
8266 board is remote at the top of the file.
8267
8268 2015-01-08 Yao Qi <yao@codesourcery.com>
8269
8270 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
8271
8272 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8273
8274 Fix testcase compilation.
8275 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
8276
8277 2015-01-06 Joel Brobecker <brobecker@adacore.com>
8278
8279 * gdb.python/py-type.exp: Add a couple test about empty
8280 array creation, and negative-length array creation.
8281
8282 2015-01-02 Doug Evans <xdje42@gmail.com>
8283
8284 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
8285
8286 2015-01-02 Doug Evans <dje@google.com>
8287
8288 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
8289
8290 2014-12-29 Yao Qi <yao@codesourcery.com>
8291
8292 * gdb.trace/entry-values.exp: Update comments. Rename variable
8293 bar_call_foo to returned_from_foo.
8294
8295 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
8296
8297 PR gdb/17394
8298 * gdb.linespec/break-asm-file.c: New file.
8299 * gdb.linespec/break-asm-file.exp: New file.
8300 * gdb.linespec/break-asm-file0.s: New file.
8301 * gdb.linespec/break-asm-file1.s: New file.
8302
8303 2014-12-18 Nigel Stephens <nigel@mips.com>
8304 Maciej W. Rozycki <macro@codesourcery.com>
8305
8306 * gdb.base/float.exp: Handle the new output from "info float" on
8307 MIPS targets.
8308
8309 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8310
8311 Fix MinGW compilation.
8312 * gdb.compile/compile-ops.exp: Update untested message if
8313 !skip_compile_feature_tests.
8314 * gdb.compile/compile-setjmp.exp: Likewise.
8315 * gdb.compile/compile-tls.exp: Likewise.
8316 * gdb.compile/compile.exp: Likewise.
8317 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
8318 supported on this host".
8319
8320 2014-12-16 Doug Evans <xdje42@gmail.com>
8321
8322 * boards/stabs.exp: New file.
8323
8324 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
8325
8326 * gdb.base/completion.exp: Adjust to format changes of "maint
8327 print user-registers".
8328
8329 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
8330
8331 PR server/17457
8332 * gdb.arch/aarch64-fp.c: New file.
8333 * gdb.arch/aarch64-fp.exp: New file.
8334
8335 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
8336
8337 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
8338 r210637, r210913, r211666, r215400, r215817).
8339
8340 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
8341 * dg-extract-results.py: New file.
8342 * dg-extract-results.sh: Use it if the environment seems
8343 suitable.
8344
8345 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
8346
8347 * dg-extract-results.py (parse_run): Handle warnings that
8348 are printed before a test harness is run.
8349
8350 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
8351
8352 * dg-extract-results.py (Named): Remove __cmp__ method.
8353 (output_variation): Use a key to sort variation.harnesses.
8354
8355 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
8356
8357 * dg-extract-results.py: For Python 3, force sys.stdout to
8358 handle surrogate escape sequences.
8359 (safe_open): New function.
8360 (output_segment, main): Use it.
8361
8362 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
8363
8364 * dg-extract-results.py (Prog.result_re): Include options
8365 in test name.
8366
8367 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
8368
8369 * dg-extract-results.py (output_variation): Always sort if
8370 do_sum.
8371
8372 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
8373
8374 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
8375 as long as we get pagination notifications.
8376
8377 2014-12-15 Jason Merrill <jason@redhat.com>
8378
8379 * Makefile.in (check-gdb.%): Restore.
8380 * README: Mention it.
8381
8382 2014-12-13 Joel Brobecker <brobecker@adacore.com>
8383
8384 * gdb.ada/str_uninit: New testcase.
8385
8386 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8387
8388 PR symtab/17642
8389 * gdb.base/vla-stub-define.c: New file.
8390 * gdb.base/vla-stub.c: New file.
8391 * gdb.base/vla-stub.exp: New file.
8392
8393 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
8394 Jan Kratochvil <jan.kratochvil@redhat.com>
8395 Tom Tromey <tromey@redhat.com>
8396
8397 * configure.ac: Add gdb.compile/.
8398 * configure: Regenerate.
8399 * gdb.compile/Makefile.in: New file.
8400 * gdb.compile/compile-ops.exp: New file.
8401 * gdb.compile/compile-ops.c: New file.
8402 * gdb.compile/compile-tls.c: New file.
8403 * gdb.compile/compile-tls.exp: New file.
8404 * gdb.compile/compile-constvar.S: New file.
8405 * gdb.compile/compile-constvar.c: New file.
8406 * gdb.compile/compile-mod.c: New file.
8407 * gdb.compile/compile-nodebug.c: New file.
8408 * gdb.compile/compile-setjmp-mod.c: New file.
8409 * gdb.compile/compile-setjmp.c: New file.
8410 * gdb.compile/compile-setjmp.exp: New file.
8411 * gdb.compile/compile-shlib.c: New file.
8412 * gdb.compile/compile.c: New file.
8413 * gdb.compile/compile.exp: New file.
8414 * lib/gdb.exp (skip_compile_feature_tests): New proc.
8415
8416 2014-12-12 Tom Tromey <tromey@redhat.com>
8417
8418 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
8419 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
8420
8421 2014-12-12 Doug Evans <dje@google.com>
8422
8423 * lib/gdb-python.exp (get_python_valueof): New function.
8424 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
8425
8426 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8427
8428 * gdb.base/completion.exp: Add test for completion of "info
8429 registers ".
8430
8431 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
8432
8433 * gdb.base/func-ptrs.c: New file.
8434 * gdb.base/func-ptrs.exp: New file.
8435
8436 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
8437
8438 PR breakpoints/17012
8439 * gdb.base/dprintf-detach.c: New file.
8440 * gdb.base/dprintf-detach.exp: New file.
8441
8442 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
8443
8444 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
8445 * lib/gdb.exp (target_is_gdbserver): New procedure.
8446
8447 2014-12-08 Doug Evans <dje@google.com>
8448
8449 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
8450
8451 2014-12-05 Yao Qi <yao@codesourcery.com>
8452
8453 * gdb.guile/scm-error.exp: Remove the third argument to
8454 gdb_remote_download.
8455 * gdb.guile/scm-frame-args.exp: Likewise.
8456 * gdb.guile/scm-section-script.exp: Likewise.
8457
8458 2014-12-05 Yao Qi <yao@codesourcery.com>
8459
8460 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
8461
8462 2014-12-04 Doug Evans <dje@google.com>
8463
8464 * gdb.python/py-objfile.exp: Add tests for
8465 objfile.add_separate_debug_file.
8466
8467 2014-12-04 Doug Evans <dje@google.com>
8468
8469 * lib/gdb.exp (get_build_id): New function.
8470 (build_id_debug_filename_get): Rewrite to use it.
8471 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
8472
8473 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
8474
8475 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
8476 `method(long)', not just 0x0.
8477 * gdb.cp/nsalias.exp: Align code labels to 4.
8478 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
8479 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
8480 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
8481 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
8482 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
8483 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
8484
8485 2014-12-02 Doug Evans <dje@google.com>
8486
8487 PR symtab/17602
8488 * gdb.cp/anon-ns.cc: Move guts of this file to ...
8489 * gdb.cp/anon-ns2.cc: ... here. New file.
8490 * gdb.cp/anon-ns.exp: Update.
8491
8492 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
8493
8494 * gdb.python/py-events.py (inferior_call_handler): New.
8495 (register_changed_handler, memory_changed_handler): New.
8496 (test_events.invoke): Register new handlers.
8497 * gdb.python/py-events.exp: Add tests for inferior call,
8498 memory_changed and register_changed events.
8499
8500 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
8501
8502 * gdb.base/execl-update-breakpoints.exp: Specify the link address
8503 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
8504 if the linker doesn't understand this.
8505
8506 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
8507
8508 * gdb.python/python.exp: Change expected reply to help().
8509
8510 2014-12-01 Yao Qi <yao@codesourcery.com>
8511
8512 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
8513 AC_CONFIG_SUBDIRS(gdb.gdbtk).
8514 * configure: Re-generated.
8515
8516 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
8517
8518 * gdb.cp/chained-calls.cc: New file.
8519 * gdb.cp/chained-calls.exp: New file.
8520 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
8521
8522 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
8523
8524 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
8525 * gdb.dwarf2/symtab-producer.exp: Same.
8526 * gdb.gdb/python-interrupts.exp: Same.
8527 * gdb.gdb/python-selftest.exp: Same.
8528 * gdb.python/py-linetable.exp: Same.
8529 * gdb.python/py-type.exp: Same.
8530 * gdb.python/py-value-cc.exp: Same.
8531 * gdb.python/py-value.exp: Same.
8532
8533 2014-11-28 Yao Qi <yao@codesourcery.com>
8534
8535 * gdb.base/break-probes.exp: Match library name prefixed with
8536 sysroot.
8537
8538 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
8539
8540 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
8541 test expected output. Add parentheses for the call to print.
8542 Remove L suffix from integers.
8543
8544 2014-11-26 Doug Evans <dje@google.com>
8545
8546 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
8547
8548 2014-11-22 Yao Qi <yao@codesourcery.com>
8549
8550 * gdb.trace/entry-values.c: Remove asms.
8551 (foo): Add foo_label.
8552 (bar): Add bar_label.
8553 * gdb.trace/entry-values.exp: Remove code computing foo's
8554 length and bar's length.
8555 (Dwarf::assemble): Invoke function_range for bar and use
8556 MACRO_AT_func for foo.
8557
8558 2014-11-22 Yao Qi <yao@codesourcery.com>
8559
8560 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
8561 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
8562 Use .Lgcc43_procstart instead of gcc43.
8563
8564 2014-11-21 Joel Brobecker <brobecker@adacore.com>
8565
8566 * gdb.ada/n_arr_bound: New testcase.
8567
8568 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
8569
8570 PR breakpoints/10737
8571 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
8572 test_catch_syscall_multi_arch.
8573 (test_catch_syscall_multi_arch): New function.
8574
8575 2014-11-20 Doug Evans <xdje42@gmail.com>
8576
8577 * gdb.base/maint.exp: Update expected output.
8578
8579 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
8580
8581 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
8582 4-byte instruction on S390.
8583
8584 2014-11-19 Joel Brobecker <brobecker@adacore.com>
8585
8586 * gdb.ada/arr_arr: New testcase.
8587
8588 2014-11-19 Joel Brobecker <brobecker@adacore.com>
8589
8590 * gdb.ada/pkd_arr_elem: New Testcase.
8591
8592 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
8593
8594 * gdb.reverse/break-precsave: Expect completion message for
8595 core file reads.
8596 * gdb.reverse/consecutive-precsave.exp: Likewise.
8597 * gdb.reverse/finish-precsave.exp: Likewise.
8598 * gdb.reverse/i386-precsave.exp: Likewise.
8599 * gdb.reverse/machinestate-precsave.exp: Likewise.
8600 * gdb.reverse/sigall-precsave.exp: Likewise.
8601 * gdb.reverse/solib-precsave.exp: Likewise.
8602 * gdb.reverse/step-precsave.exp: Likewise.
8603 * gdb.reverse/until-precsave.exp: Likewise.
8604 * gdb.reverse/watch-precsave.exp: Likewise.
8605
8606 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
8607
8608 * gdb.base/bp-permanent.c: Include unistd.h.
8609 * gdb.python/py-framefilter-mi.c (main): Add return type.
8610 * gdb.python/py-framefilter.c (main): Likewise.
8611 * gdb.trace/actions-changed.c (main): Likewise.
8612
8613 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
8614
8615 * gdb.mi/until.c: Add eye-catchers.
8616 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
8617 line numbers.
8618
8619 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
8620
8621 * gdb.base/condbreak.exp: Drop references to removed non-prototype
8622 function header variants in break1.c.
8623 * gdb.base/ena-dis-br.exp: Likewise.
8624 * gdb.base/hbreak2.exp: Likewise.
8625 * gdb.reverse/until-precsave.exp: Drop references to removed
8626 non-prototype function header variants in ur1.c.
8627 * gdb.reverse/until-reverse.exp: Likewise.
8628
8629 2014-11-17 Petr Machata <pmachata@redhat.com>
8630
8631 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
8632 ${_cu_offset_size} bytes abbrev offset.
8633
8634 2014-11-15 Doug Evans <xdje42@gmail.com>
8635
8636 PR symtab/17559
8637 * gdb.base/line-symtabs.exp: New file.
8638 * gdb.base/line-symtabs.c: New file.
8639 * gdb.base/line-symtabs.h: New file.
8640
8641 2014-11-14 Yao Qi <yao@codesourcery.com>
8642
8643 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
8644 (func): Add label func_label.
8645 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
8646 Replace low_pc and high_pc with MACRO_AT_range.
8647 Replace name, low_pc and high_pc with MACRO_AT_func.
8648
8649 2014-11-14 Yao Qi <yao@codesourcery.com>
8650
8651 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
8652 Replace name, low_pc and high_pc with MACRO_AT_func.
8653
8654 2014-11-14 Yao Qi <yao@codesourcery.com>
8655
8656 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
8657 produce debug information.
8658 * gdb.dwarf2/implptr-optimized-out.S: Removed.
8659
8660 2014-11-14 Yao Qi <yao@codesourcery.com>
8661
8662 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
8663 object and get function length.
8664 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
8665 with MACRO_AT_func.
8666 (top-level): Replace gdb_compile and clean_restart with
8667 prepare_for_testing.
8668 * gdb.dwarf2/main.c (main): Add label main_label.
8669
8670 2014-11-14 Yao Qi <yao@codesourcery.com>
8671
8672 * lib/dwarf.exp (function_range): New procedure.
8673 (Dwarf::_handle_macro_at_func): New procedure.
8674 (Dwarf::_handle_macro_at_range): New procedure.
8675 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
8676
8677 2014-11-14 Yao Qi <yao@codesourcery.com>
8678
8679 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
8680 (_handle_attribute): New procedure.
8681
8682 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8683
8684 * gdb.ada/cond_lang/foo.c (callme): Add return type.
8685 * gdb.base/call-sc.c (zed): Likewise.
8686 * gdb.base/checkpoint.c (main): Likewise.
8687 * gdb.base/dump.c (main): Likewise.
8688 * gdb.base/gcore.c (main): Likewise.
8689 * gdb.base/huge.c (main): Likewise.
8690 * gdb.base/multi-forks.c (main): Likewise.
8691 * gdb.base/pr10179-a.c (main): Likewise.
8692 * gdb.base/savedregs.c (main): Likewise.
8693 * gdb.base/sigaltstack.c (main): Likewise.
8694 * gdb.base/siginfo.c (main): Likewise.
8695 * gdb.base/structs.c (zed): Likewise.
8696 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
8697 * gdb.mi/mi-syn-frame.c (main): Likewise.
8698 * gdb.mi/until.c (foo, main): Likewise.
8699 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
8700 * gdb.base/solib-weak.c (foo): Declare.
8701 * gdb.base/attach-twice.c: Include stdio.h.
8702 * gdb.base/weaklib1.c: Likewise.
8703 * gdb.base/weaklib2.c: Likewise.
8704 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
8705 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
8706 unistd.h.
8707 * gdb.base/attach-pie-misread.c: Include stdlib.h.
8708 * gdb.mi/mi-exit-code.c: Likewise.
8709 * gdb.base/break-interp-lib.c: Include string.h.
8710 * gdb.base/coremaker.c: Likewise.
8711 * gdb.base/testenv.c: Likewise.
8712 * gdb.python/py-finish-breakpoint.c: Likewise.
8713 * gdb.base/inferior-died.c: Include sys/wait.h.
8714 * gdb.base/fileio.c: Include time.h.
8715 * gdb.base/async-shell.c: Include unistd.h.
8716 * gdb.base/dprintf-non-stop.c: Likewise.
8717 * gdb.base/info-os.c: Likewise.
8718 * gdb.mi/mi-console.c: Likewise.
8719 * gdb.mi/watch-nonstop.c: Likewise.
8720 * gdb.python/py-events.c: Likewise.
8721 * gdb.base/async.c (baz): Move up before its invocation.
8722 * gdb.base/code_elim2.c (my_global_func): Likewise.
8723 * gdb.base/skip-solib-lib.c (multiply): Likewise.
8724 * gdb.base/advance.c (func2): Likewise.
8725
8726 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8727
8728 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
8729 variant.
8730 * gdb.base/annota3.c: Likewise.
8731 * gdb.base/async.c: Likewise.
8732 * gdb.base/average.c: Likewise.
8733 * gdb.base/call-ar-st.c: Likewise.
8734 * gdb.base/call-rt-st.c: Likewise.
8735 * gdb.base/call-sc.c: Likewise.
8736 * gdb.base/call-strs.c: Likewise.
8737 * gdb.base/ending-run.c: Likewise.
8738 * gdb.base/execd-prog.c: Likewise.
8739 * gdb.base/exprs.c: Likewise.
8740 * gdb.base/foll-exec.c: Likewise.
8741 * gdb.base/foll-fork.c: Likewise.
8742 * gdb.base/foll-vfork.c: Likewise.
8743 * gdb.base/funcargs.c: Likewise.
8744 * gdb.base/gcore.c: Likewise.
8745 * gdb.base/jump.c: Likewise.
8746 * gdb.base/langs0.c: Likewise.
8747 * gdb.base/langs1.c: Likewise.
8748 * gdb.base/langs2.c: Likewise.
8749 * gdb.base/mips_pro.c: Likewise.
8750 * gdb.base/nodebug.c: Likewise.
8751 * gdb.base/opaque0.c: Likewise.
8752 * gdb.base/opaque1.c: Likewise.
8753 * gdb.base/recurse.c: Likewise.
8754 * gdb.base/run.c: Likewise.
8755 * gdb.base/scope0.c: Likewise.
8756 * gdb.base/scope1.c: Likewise.
8757 * gdb.base/setshow.c: Likewise.
8758 * gdb.base/setvar.c: Likewise.
8759 * gdb.base/shmain.c: Likewise.
8760 * gdb.base/shr1.c: Likewise.
8761 * gdb.base/shr2.c: Likewise.
8762 * gdb.base/sigall.c: Likewise.
8763 * gdb.base/signals.c: Likewise.
8764 * gdb.base/so-indr-cl.c: Likewise.
8765 * gdb.base/solib2.c: Likewise.
8766 * gdb.base/structs.c: Likewise.
8767 * gdb.base/sum.c: Likewise.
8768 * gdb.base/vforked-prog.c: Likewise.
8769 * gdb.base/watchpoint.c: Likewise.
8770 * gdb.reverse/shr2.c: Likewise.
8771 * gdb.reverse/until-reverse.c: Likewise.
8772 * gdb.reverse/ur1.c: Likewise.
8773 * gdb.reverse/watch-reverse.c: Likewise.
8774
8775 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8776
8777 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
8778 variant.
8779 * gdb.base/sepdebug.exp: Drop references to removed code.
8780
8781 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8782
8783 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
8784 variant. Preserve original line numbering.
8785 * gdb.base/list1.c: Likewise.
8786
8787 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8788
8789 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
8790 variant.
8791 * gdb.base/break1.c: Likewise.
8792 * gdb.base/break.exp: Drop references to removed code.
8793
8794 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8795
8796 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
8797 variant.
8798
8799 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8800
8801 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
8802
8803 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8804
8805 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
8806 logic into perform_all_tests() and invoke it with and without
8807 function header prototypes.
8808 (do_function_calls): Remove conditional XFAIL for PR 5318.
8809 (rerun_and_prepare): Remove duplicate code.
8810 (perform_all_tests): New. Main logic moved here.
8811
8812 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8813
8814 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
8815 code guarded by #ifdef NO_PROTOTYPES.
8816 (t_double_many_args): Likewise.
8817 (DEF_FUNC_MANY_ARGS_1): Likewise.
8818 (DEF_FUNC_VALUES_1): Likewise.
8819 (t_structs_ldc): Renamed from t_structs_fc in conditional code
8820 guarded by #ifdef PROTOTYPES.
8821
8822 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8823
8824 * gdb.mi/mi-console.c: Add eye-catcher.
8825 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
8826 instead of literal line number.
8827
8828 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8829
8830 * gdb.base/shr2.c: Add eye-catcher.
8831 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
8832 line number.
8833
8834 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8835
8836 * gdb.base/jump.c: Add eye-catchers.
8837 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
8838 numbers.
8839
8840 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8841
8842 * gdb.base/execd-prog.c: Add eye-catchers.
8843 * gdb.base/foll-exec.c: Likewise.
8844 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
8845 line numbers.
8846
8847 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8848
8849 * gdb.base/ending-run.c: Add eye-catchers.
8850 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
8851 literal line numbers.
8852
8853 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8854
8855 * gdb.base/call-rt-st.c: Add eye-catchers.
8856 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
8857 literal line numbers.
8858
8859 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8860
8861 * gdb.base/call-ar-st.c: Add eye-catchers.
8862 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
8863 literal line numbers.
8864
8865 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8866
8867 * gdb.base/average.c: Add eye-catchers.
8868 * gdb.base/sum.c: Likewise.
8869 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
8870 regexps dynamically.
8871
8872 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8873
8874 * gdb.base/solib1.c: Add eye-catchers.
8875 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
8876 literal line numbers.
8877
8878 2014-11-12 Pedro Alves <palves@redhat.com>
8879
8880 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
8881 leader has exited.
8882
8883 2014-11-12 Pedro Alves <palves@redhat.com>
8884
8885 * gdb.arch/i386-bp_permanent.c: New file.
8886 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
8887 (srcfile): Set to i386-bp_permanent.c.
8888 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
8889 that stepi does not execute the 'leave' instruction, instead of
8890 testing it does execute.
8891 * gdb.base/bp-permanent.c: New file.
8892 * gdb.base/bp-permanent.exp: New file.
8893
8894 2014-11-10 Doug Evans <xdje42@gmail.com>
8895
8896 PR symtab/17564
8897 * gdb.base/symtab-search-order.exp: New file.
8898 * gdb.base/symtab-search-order.c: New file.
8899 * gdb.base/symtab-search-order-1.c: New file.
8900 * gdb.base/symtab-search-order-shlib-1.c: New file.
8901
8902 2014-11-07 Pedro Alves <palves@redhat.com>
8903
8904 PR gdb/17511
8905 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
8906 i?86-*-linux*.
8907
8908 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
8909
8910 PR c++/17494
8911 * gdb.cp/pr17494.cc: New file.
8912 * gdb.cp/pr17494.exp: New file.
8913
8914 2014-11-02 Yao Qi <yao@codesourcery.com>
8915
8916 * gdb.python/python.exp: Get working directory and match the
8917 output of "set extended-prompt \\w " with it.
8918
8919 2014-10-30 Doug Evans <dje@google.com>
8920
8921 * gdb.python/py-objfile.exp: Add tests for setting random attributes
8922 in objfiles.
8923 * gdb.python/py-progspace.exp: Add tests for setting random attributes
8924 in progspaces.
8925
8926 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
8927
8928 * gdb.base/fullpath-expand.exp: Skip for a remote host.
8929 * gdb.base/realname-expand.exp: Likewise.
8930 * gdb.linespec/macro-relative.exp: Likewise.
8931
8932 2014-10-29 Pedro Alves <palves@redhat.com>
8933
8934 PR gdb/17408
8935 * gdb.threads/schedlock.c (some_function): New function.
8936 (call_function): New global.
8937 (MAYBE_CALL_SOME_FUNCTION): New macro.
8938 (thread_function): Call it.
8939 * gdb.threads/schedlock.exp (get_args): Add description parameter,
8940 and use it instead of a global counter. Adjust all callers.
8941 (get_current_thread): Use "find current thread" for test message
8942 here rather than having all callers pass down the same string.
8943 (goto_loop): New procedure, factored out from ...
8944 (my_continue): ... this.
8945 (step_ten_loops): Change parameter from test message to command to
8946 use. Adjust.
8947 (list_count): Delete global.
8948 (check_result): New procedure, factored out from duplicate top
8949 level code.
8950 (continue tests): Wrap in with_test_prefix.
8951 (test_step): New procedure, factored out from duplicate top level
8952 code.
8953 (top level): Test "step" in combination with all scheduler-locking
8954 modes. Test "next" in combination with all scheduler-locking
8955 modes, and in combination with stepping over a function call or
8956 not.
8957 * gdb.threads/next-bp-other-thread.c: New file.
8958 * gdb.threads/next-bp-other-thread.exp: New file.
8959
8960 2014-10-29 Pedro Alves <palves@redhat.com>
8961
8962 PR python/17372
8963 * gdb.python/python.exp: Test a multi-line command that spawns
8964 interactive Python.
8965 * gdb.base/multi-line-starts-subshell.exp: New file.
8966
8967 2014-10-29 Yao Qi <yao@codesourcery.com>
8968
8969 * gdb.base/fileio.exp: Make directories on host.
8970
8971 2014-10-29 Yao Qi <yao@codesourcery.com>
8972
8973 * gdb.base/fileio.c (test_write): Close the file.
8974
8975 2014-10-28 Pedro Alves <palves@redhat.com>
8976
8977 PR gdb/12623
8978 * gdb.base/sigstep.c (no_handler): New global.
8979 (main): If 'no_handler is true, set the signal handlers to
8980 SIG_IGN.
8981 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
8982 with_sw_watch and no_handler parameters. Handle them.
8983 (top level) <stepping over handler when stopped at a breakpoint
8984 test>: Add a test axis for testing with a software watchpoint, and
8985 another for testing with the signal handler set to SIG_IGN.
8986 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
8987 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
8988
8989 2014-10-28 Pedro Alves <palves@redhat.com>
8990
8991 PR gdb/17511
8992 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
8993 * gdb.base/sigstep.exp (other_handler_location): New global.
8994 (advance): Support stepping into the signal handler, and running
8995 commands while in the handler.
8996 (in_handler_map): New global.
8997 (top level): In the advance test, add combinations for getting
8998 into the handler with stepping commands, and for running commands
8999 in the handler. Add comment descripting the advancei tests.
9000
9001 2014-10-28 Pedro Alves <palves@redhat.com>
9002
9003 * gdb.base/sigstep.exp: Use build_executable instead of
9004 prepare_for_testing.
9005 (top level): Move code that starts GDB, runs to main and creates a
9006 display to ...
9007 (restart): ... this new procedure.
9008 (top level): Move backtrace from signal handler test to ...
9009 (validate_backtrace): ... this new procedure.
9010 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
9011 with_test_prefix. Always restart GDB.
9012 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
9013 with_test_prefix. Always restart GDB. No need to delete
9014 breakpoints after the test.
9015 (test_skip_handler): Remove prefix parameter.
9016 (skip_over_handler, breakpoint_to_handler)
9017 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
9018 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
9019 restart GDB. No need to delete breakpoints after the test.
9020 (top level): Use foreach to call the test procedures with
9021 different commands.
9022
9023 2014-10-28 Pedro Alves <palves@redhat.com>
9024
9025 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
9026 instead of GNATS numbers.
9027 * gdb.base/sigbpt.exp: Likewise.
9028 * gdb.base/siginfo.exp: Likewise.
9029 * gdb.base/sigstep.exp: Likewise.
9030
9031 2014-10-27 Pedro Alves <palves@redhat.com>
9032
9033 * gdb.base/sigstep.c (dummy): New global.
9034 (main): Issue a couple writes to the new global.
9035 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
9036 procedures.
9037 (skip_over_handler): Use test_skip_handler.
9038 (top level): Call skip_over_handler for stepi and nexti too.
9039 (breakpoint_over_handler): Use test_skip_handler.
9040 (top level): Call breakpoint_over_handler for stepi and nexti too.
9041
9042 2014-10-27 Yao Qi <yao@codesourcery.com>
9043
9044 * gdb.trace/tfile.c (adjust_function_address)
9045 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
9046 function descriptor.
9047
9048 2014-10-24 Don Breazeal <donb@codesourcery.com>
9049
9050 * gdb.base/foll-fork.exp (test_follow_fork,
9051 catch_fork_child_follow): Check for updated fork messages emitted
9052 from infrun.c.
9053 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
9054 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
9055 vfork_and_exec_child_follow_through_step): Check for updated vfork
9056 messages emitted from infrun.c.
9057
9058 2014-10-24 Pedro Alves <palves@redhat.com>
9059
9060 * gdb.base/corefile.exp: Remove references to ultrix.
9061 * gdb.base/interrupt.exp: Likewise.
9062 * gdb.base/whatis.exp: Likewise.
9063 * gdb.gdb/selftest.exp: Likewise.
9064 * gdb.threads/manythreads.exp: Likewise.
9065 * gdb.threads/print-threads.exp: Likewise.
9066 * gdb.threads/pthreads.exp:: Likewise.
9067 * gdb.threads/schedlock.exp: Likewise.
9068
9069 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
9070
9071 * gdb.cp/non-trivial-retval.cc: Add a test case.
9072 * gdb.cp/non-trivial-retval.exp: Add a test.
9073
9074 2014-10-20 Yao Qi <yao@codesourcery.com>
9075
9076 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
9077 * gdb.python/py-objfile-script-gdb.py: New file.
9078 * gdb.python/py-objfile-script.exp: Update reference to
9079 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
9080 of remote_download. Remove the dest file.
9081
9082 2014-10-20 Yao Qi <yao@codesourcery.com>
9083
9084 * gdb.base/checkpoint.exp: Don't remove file copied on host.
9085 * gdb.base/step-line.exp: Likewise.
9086 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
9087 * gdb.dwarf2/dw2-basic.exp: Likewise.
9088 * gdb.dwarf2/dw2-compressed.exp: Likewise.
9089 * gdb.dwarf2/dw2-filename.exp: Likewise.
9090 * gdb.dwarf2/dw2-intercu.exp: Likewise.
9091 * gdb.dwarf2/dw2-intermix.exp: Likewise.
9092 * gdb.dwarf2/dw2-producer.exp: Likewise.
9093 * gdb.dwarf2/mac-fileno.exp: Likewise.
9094 * gdb.python/py-frame-args.exp: Likewise.
9095 * gdb.python/py-framefilter.exp: Likewise.
9096 * gdb.python/py-mi.exp: Likewise.
9097 * gdb.python/py-objfile-script.exp: Likewise
9098 * gdb.python/py-pp-integral.exp: Likewise.
9099 * gdb.python/py-pp-re-notag.exp: Likewise.
9100 * gdb.python/py-prettyprint.exp: Likewise.
9101 * gdb.python/py-section-script.exp: Likewise.
9102 * gdb.python/py-typeprint.exp: Likewise.
9103 * gdb.python/py-xmethods.exp: Likewise.
9104 * gdb.stabs/weird.exp: Likewise.
9105 * gdb.xml/tdesc-regs.exp: Likewise.
9106
9107 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
9108
9109 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
9110 (out_cu): Use addr_len for the size of addresses.
9111 (out_line): Likewise. Size DW_LNE_set_address instruction
9112 according to addr_len.
9113 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
9114 (FUNC): Add START_INSNS to definition.
9115
9116 2014-10-18 Yao Qi <yao@codesourcery.com>
9117
9118 * gdb.base/argv0-symlink.exp: Check argv[0] value if
9119 gdb_has_argv0 return true.
9120 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
9121 check [target_info exists noargs], check [gdb_has_argv0]
9122 instead.
9123 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
9124 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
9125 procedures.
9126
9127 2014-10-17 Doug Evans <dje@google.com>
9128
9129 * gdb.python/py-events.exp: Update expected output for clear_objfiles
9130 event.
9131 * gdb.python/py-events.py: Add clear_objfiles event.
9132
9133 2014-10-17 Doug Evans <dje@google.com>
9134
9135 * gdb.python/py-objfile.exp: Test progspace attribute.
9136
9137 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
9138
9139 * gdb.guile/scm-breakpoint.exp: Do not assume any
9140 directory separators when matching source file paths.
9141 * gdb.python/py-breakpoint.exp: Likewise.
9142 * gdb.reverse/break-precsave.exp: Likewise.
9143 * gdb.reverse/break-reverse.exp: Likewise.
9144 * gdb.reverse/consecutive-precsave.exp: Likewise.
9145 * gdb.reverse/finish-precsave.exp: Likewise.
9146 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
9147 * gdb.reverse/finish-reverse.exp: Likewise.
9148 * gdb.reverse/i386-precsave.exp: Likewise.
9149 * gdb.reverse/i387-env-reverse.exp: Likewise.
9150 * gdb.reverse/i387-stack-reverse.exp: Likewise.
9151 * gdb.reverse/machinestate-precsave.exp: Likewise.
9152 * gdb.reverse/machinestate.exp: Likewise.
9153 * gdb.reverse/sigall-precsave.exp: Likewise.
9154 * gdb.reverse/solib-precsave.exp: Likewise.
9155 * gdb.reverse/step-precsave.exp: Likewise.
9156 * gdb.reverse/until-precsave.exp: Likewise.
9157 * gdb.reverse/watch-precsave.exp: Likewise.
9158 * gdb.reverse/watch-reverse.exp: Likewise.
9159
9160 2014-10-17 Yao Qi <yao@codesourcery.com>
9161
9162 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
9163 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
9164
9165 2014-10-17 Pedro Alves <palves@redhat.com>
9166
9167 PR gdb/17471
9168 * gdb.base/bg-execution-repeat.c: New file.
9169 * gdb.base/bg-execution-repeat.exp: New file.
9170
9171 2014-10-17 Pedro Alves <palves@redhat.com>
9172
9173 PR gdb/17300
9174 * gdb.base/continue-all-already-running.c: New file.
9175 * gdb.base/continue-all-already-running.exp: New file.
9176
9177 2014-10-17 Pedro Alves <palves@redhat.com>
9178
9179 PR gdb/17472
9180 * gdb.base/annota-input-while-running.c: New file.
9181 * gdb.base/annota-input-while-running.exp: New file.
9182
9183 2014-10-17 Pedro Alves <palves@redhat.com>
9184
9185 * gdb.base/callfuncs.exp: emove references to osf.
9186 * gdb.base/sigall.exp: Likewise.
9187 * gdb.gdb/selftest.exp: Likewise.
9188 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
9189 * gdb.mi/non-stop.c: Likewise.
9190 * gdb.mi/pthreads.c: Likewise.
9191 * gdb.reverse/sigall-precsave.exp: Likewise.
9192 * gdb.reverse/sigall-reverse.exp: Likewise.
9193 * gdb.threads/pthreads.c: Likewise.
9194 * gdb.threads/pthreads.exp: Likewise.
9195
9196 2014-10-17 Yao Qi <yao@codesourcery.com>
9197
9198 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
9199 check 'target_info exists noargs'.
9200 (test_command_prompt_position): Likewise.
9201 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
9202 Remove "set args".
9203 (progvar_simple_while_test): Likewise.
9204 (progvar_complex_if_while_test): Likewise.
9205 (if_while_breakpoint_command_test): Likewise.
9206 (infrun_breakpoint_command_test): Likewise.
9207 (breakpoint_command_test): Likewise.
9208 (watchpoint_command_test): Likewise.
9209 (bp_deleted_in_command_test): Likewise.
9210 (temporary_breakpoint_commands): Likewise.
9211
9212 2014-10-16 Yao Qi <yao@codesourcery.com>
9213
9214 * gdb.base/remotetimeout.exp: Remove noargs checking.
9215
9216 2014-10-15 Pedro Alves <palves@redhat.com>
9217
9218 PR breakpoints/9649
9219 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
9220 * gdb.base/breakpoint-in-ro-region.exp
9221 (probe_target_hardware_step): New procedure.
9222 (top level): Probe hardware stepping and hardware breakpoint
9223 support. Test stepping through a read-only region, with both
9224 "breakpoint auto-hw" on and off and both "always-inserted" on and
9225 off.
9226
9227 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
9228
9229 * gdb.dlang/demangle.exp: Update for demangling changes.
9230
9231 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
9232
9233 * gdb.cp/non-trivial-retval.cc: Add new test cases.
9234 * gdb.cp/non-trivial-retval.exp: Add new tests.
9235
9236 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
9237
9238 PR c++/13403
9239 PR c++/15154
9240 * gdb.cp/non-trivial-retval.cc: New file.
9241 * gdb.cp/non-trivial-retval.exp: New file.
9242
9243 2014-10-15 Yao Qi <yao@codesourcery.com>
9244
9245 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
9246 remote host.
9247
9248 2014-10-15 Yao Qi <yao@codesourcery.com>
9249
9250 * gdb.python/py-symbol.exp: Match file base name if host is
9251 remote, otherwise match file name with dir name.
9252 * gdb.python/py-symtab.exp: Likewise.
9253 * gdb.python/python.exp: Likewise.
9254
9255 2014-10-15 Yao Qi <yao@codesourcery.com>
9256
9257 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
9258 pattern.
9259 * gdb.python/py-symtab.exp: Likewise.
9260 * gdb.python/python.exp: Remove trailing ".*". Fix typo
9261 locationn.
9262
9263 2014-10-14 Joel Brobecker <brobecker@adacore.com>
9264
9265 * gdb.ada/addr_arith: New testcase.
9266
9267 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
9268
9269 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
9270 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
9271 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
9272 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
9273
9274 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
9275
9276 * gdb.arch/stap-eval-lang-ada.S: Likewise.
9277 * gdb.arch/stap-eval-lang-ada.c: Likewise.
9278 * gdb.arch/stap-eval-lang-ada.exp: New file.
9279
9280 2014-10-14 Yao Qi <yao@codesourcery.com>
9281
9282 * gdb.mi/mi-var-child.c (nothing1): New function.
9283 (nothing2): New function.
9284 (do_children_tests): Set function pointers by nothing1 and
9285 nothing2.
9286 * gdb.mi/mi-var-child.exp: Step over new added statements.
9287 Update test to match the new output.
9288 * gdb.mi/var-cmd.c (nothing1): New function.
9289 (nothing2): New function.
9290 (do_children_tests): Set function pointers by nothing1 and
9291 nothing2.
9292 * gdb.mi/mi-var-display.exp: Update test to match output.
9293 Step to the line specified by $line_dct_nothing.
9294 Increase the number of lines to step.
9295
9296 2014-10-14 Yao Qi <yao@codesourcery.com>
9297
9298 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
9299 tests.
9300 * gdb.mi/mi2-var-child.exp: Likewise.
9301
9302 2014-10-13 Doug Evans <dje@google.com>
9303
9304 * gdb.python/py-objfile.exp: Change name of file name test.
9305
9306 2014-10-13 Doug Evans <dje@google.com>
9307
9308 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
9309 from the start of the CU.
9310
9311 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9312 Yao Qi <yao@codesourcery.com>
9313
9314 Fix "save breakpoints" for "catch" command.
9315 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
9316 Remove -nonewline. Match also the added "main" line.
9317
9318 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9319
9320 Fix "save breakpoints" for "disable $bpnum" command.
9321 * gdb.base/save-bp.c (main): Add label.
9322 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
9323
9324 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9325
9326 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
9327
9328 2014-10-11 Yao Qi <yao@codesourcery.com>
9329
9330 * gdb.server/server-kill.exp: Execute command
9331 "set remote trace-status-packet on" before "tstatus".
9332
9333 2014-10-11 Yao Qi <yao@codesourcery.com>
9334
9335 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
9336 (main): Call getppid.
9337 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
9338 and continue to it. Read variable "server_pid".
9339
9340 2014-10-11 Yao Qi <yao@codesourcery.com>
9341
9342 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
9343
9344 2014-10-11 Yao Qi <yao@codesourcery.com>
9345
9346 * gdb.threads/thread-find.exp: Don't execute command
9347 "info threads".
9348 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
9349 * gdb.threads/linux-dp.exp: Don't check the condition
9350 $threads_created equals to zero.
9351
9352 2014-10-10 Pedro Alves <palves@redhat.com>
9353
9354 * gdb.base/bigcore.exp: Remove references to IRIX.
9355 * gdb.base/funcargs.exp: Likewise.
9356 * gdb.base/interrupt.exp: Likewise.
9357 * gdb.base/mips_pro.exp: Likewise.
9358 * gdb.base/nodebug.exp: Likewise.
9359 * gdb.base/setvar.exp: Likewise.
9360 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
9361
9362 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
9363 Pedro Alves <palves@redhat.com>
9364
9365 PR symtab/14466
9366 * gdb.base/vdso-warning.c: New file.
9367 * gdb.base/vdso-warning.exp: New file.
9368
9369 2014-10-02 Doug Evans <dje@google.com>
9370
9371 * gdb.base/structs.c (main): Don't run forever.
9372
9373 2014-10-02 Pedro Alves <palves@redhat.com>
9374
9375 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
9376 (top level) <stop threads 1, stop threads 2>: Use it.
9377
9378 2014-10-02 Pedro Alves <palves@redhat.com>
9379
9380 * gdb.threads/break-while-running.exp (test): Add new
9381 'update_thread_list' argument. Skip "info threads" if false.
9382 (top level): Add new 'update_thread_list' axis.
9383
9384 2014-10-02 Pedro Alves <palves@redhat.com>
9385
9386 PR breakpoints/17431
9387 * gdb.base/execl-update-breakpoints.c: New file.
9388 * gdb.base/execl-update-breakpoints.exp: New file.
9389
9390 2014-10-01 Pedro Alves <palves@redhat.com>
9391
9392 * gdb.base/breakpoint-in-ro-region.c: New file.
9393 * gdb.base/breakpoint-in-ro-region.exp: New file.
9394
9395 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
9396
9397 * gdb.mi/mi-exit-code.exp: New file.
9398 * gdb.mi/mi-exit-code.c: New file.
9399
9400 2014-09-30 Yao Qi <yao@codesourcery.com>
9401
9402 * lib/prelink-support.exp (build_executable_own_libs): Error if
9403 the target isn't native.
9404
9405 2014-09-30 Yao Qi <yao@codesourcery.com>
9406
9407 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
9408 false.
9409
9410 2014-09-22 Pedro Alves <palves@redhat.com>
9411
9412 * gdb.threads/break-while-running.exp: New file.
9413 * gdb.threads/break-while-running.c: New file.
9414
9415 2014-09-19 Yao Qi <yao@codesourcery.com>
9416
9417 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
9418 Invoke test. Restart GDB with --readnow and invoke test again.
9419
9420 2014-09-19 Yao Qi <yao@codesourcery.com>
9421
9422 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
9423 proc set_breakpoint_on_gcd_function. Invoke
9424 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
9425 invoke set_breakpoint_on_gcd_function again.
9426
9427 2014-09-18 Doug Evans <dje@google.com>
9428
9429 * gdb.dwarf2/symtab-producer.exp: New file.
9430
9431 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
9432
9433 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
9434 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
9435 * gdb.base/global-var-nested-by-dso.c: Likewise.
9436 * gdb.base/global-var-nested-by-dso.exp: Likewise.
9437
9438 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
9439 Pedro Alves <palves@redhat.com>
9440
9441 * gdb.base/watch-bitfields.exp: Pass string other than test file
9442 name to prepare_for_testing.
9443 (watch): New procedure.
9444 (expect_watchpoint): Use with_test_prefix.
9445 (top level): Factor out tests to ...
9446 (test_watch_location, test_regular_watch): ... these new
9447 procedures, and use with_test_prefix and gdb_continue_to_end.
9448
9449 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
9450
9451 PR breakpoints/12526
9452 * gdb.base/watch-bitfields.exp: New file.
9453 * gdb.base/watch-bitfields.c: New file.
9454
9455 2014-09-16 Pedro Alves <palves@redhat.com>
9456
9457 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
9458 software and hardware addresses, not software address against
9459 itself.
9460
9461 2014-09-16 Pedro Alves <palves@redhat.com>
9462
9463 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
9464 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
9465
9466 2014-09-16 Pedro Alves <palves@redhat.com>
9467
9468 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
9469 files.
9470 * gdb.base/a2-run.exp: Remove all code guarded by istarget
9471 "*-*-vxworks*" throughout.
9472 * gdb.base/break.exp: Likewise.
9473 * gdb.base/default.exp: Likewise.
9474 * gdb.base/scope.exp: Likewise.
9475 * gdb.base/sepdebug.exp: Likewise.
9476 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
9477 throughout.
9478 * gdb.base/run.c: Likewise.
9479 * gdb.base/sepdebug.c: Likewise.
9480 * gdb.hp/gdb.aCC/run.c: Likewise.
9481 * gdb.reverse/until-reverse.c: Likewise.
9482 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
9483
9484 2014-09-16 Yao Qi <yao@codesourcery.com>
9485
9486 * boards/local-remote-host-native.exp: New file.
9487
9488 2014-09-14 Doug Evans <xdje42@gmail.com>
9489
9490 * gdb.threads/queue-signal.c (thread_count): New variable.
9491 (thread_count_mutex, thread_count_condvar): New variables.
9492 (incr_thread_count, wait_all_threads_running): New functions.
9493 (main): Wait for all threads to be in their thread functions.
9494
9495 2014-09-13 Doug Evans <xdje42@gmail.com>
9496
9497 * gdb.threads/queue-signal.c: New file.
9498 * gdb.threads/queue-signal.exp: New file.
9499
9500 2014-09-13 Doug Evans <xdje42@gmail.com>
9501
9502 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
9503 be consistent with what default_gdb_init uses.
9504 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
9505 the plain text of the prompt. Add some logging printfs.
9506 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
9507
9508 2014-09-12 Pedro Alves <palves@redhat.com>
9509
9510 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
9511 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
9512 * gdb.arch/i386-size-overlap.exp: Likewise.
9513 * gdb.arch/i386-size.exp: Likewise.
9514 * gdb.arch/i386-unwind.exp: Likewise.
9515 * gdb.base/a2-run.exp: Likewise.
9516 * gdb.base/break.exp: Likewise.
9517 * gdb.base/charset.exp: Likewise.
9518 * gdb.base/chng-syms.exp: Likewise.
9519 * gdb.base/commands.exp: Likewise.
9520 * gdb.base/dbx.exp: Likewise.
9521 * gdb.base/find.exp: Likewise.
9522 * gdb.base/funcargs.exp: Likewise.
9523 * gdb.base/jit-simple.exp: Likewise.
9524 * gdb.base/reread.exp: Likewise.
9525 * gdb.base/sepdebug.exp: Likewise.
9526 * gdb.base/step-bt.exp: Likewise.
9527 * gdb.cp/mb-inline.exp: Likewise.
9528 * gdb.cp/mb-templates.exp: Likewise.
9529 * gdb.objc/basicclass.exp: Likewise.
9530 * gdb.threads/killed.exp: Likewise.
9531
9532 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9533
9534 PR tdep/17379
9535 * gdb.arch/powerpc-stackless.S: New file.
9536 * gdb.arch/powerpc-stackless.exp: New file.
9537
9538 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9539
9540 * gdb.base/attach.c: Include unistd.h.
9541 (main): Call alarm. Add label postloop.
9542 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
9543 gdb_breakpoint, gdb_continue_to_breakpoint.
9544 (test_command_line_attach_run): Kill ${testpid} in one exit path.
9545
9546 2014-09-11 Pedro Alves <palves@redhat.com>
9547
9548 PR gdb/17347
9549 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
9550 * gdb.base/attach.exp (test_command_line_attach_run): New
9551 procedure.
9552 (top level): Call it.
9553
9554 2014-09-11 Pedro Alves <palves@redhat.com>
9555
9556 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
9557 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
9558 (do_command_attach_tests): Use spawn_wait_for_attach.
9559 * gdb.base/solib-overlap.exp: Likewise.
9560 * gdb.multi/multi-attach.exp: Likewise.
9561 * gdb.python/py-prompt.exp: Likewise.
9562 * gdb.python/py-sync-interp.exp: Likewise.
9563 * gdb.server/ext-attach.exp: Likewise.
9564
9565 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
9566
9567 * gdb.fortran/array-element.exp: Remove unexpected "continue"
9568 command in testcase. Simplify testcase.
9569
9570 2014-09-10 Joel Brobecker <brobecker@adacore.com>
9571
9572 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
9573
9574 2014-09-10 Joel Brobecker <brobecker@adacore.com>
9575
9576 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
9577
9578 2014-09-10 Joel Brobecker <brobecker@adacore.com>
9579
9580 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
9581
9582 2014-09-10 Joel Brobecker <brobecker@adacore.com>
9583
9584 * gdb.dwarf2/dynarr-ptr.c: New file.
9585 * gdb.dwarf2/dynarr-ptr.exp: New file.
9586
9587 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9588
9589 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
9590 of 30 rather than hardcoding 120 for a slow test case. Take the
9591 `gdb,timeout' target setting into account for this calculation.
9592 Don't extend the timeout for the test cases that don't need it.
9593
9594 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9595
9596 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
9597 a factor of 2 for a slow test case. Take the `gdb,timeout'
9598 target setting into account for this calculation.
9599 * gdb.reverse/until-precsave.exp: Increase the timeout by
9600 a factor of 15 and 3 respectively rather than adding 120
9601 for a pair of slow test cases. Take the `gdb,timeout'
9602 target setting into account for this calculation.
9603
9604 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9605
9606 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
9607 timeout, don't pass one down to gdb_expect.
9608 (gdb_expect): Rework timeout selection.
9609
9610 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9611
9612 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
9613 exception on timeout.
9614 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
9615 (gdbserver_start_extended): Catch any `gdbserver_start' error
9616 exceptions.
9617 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
9618 * lib/mi-support.exp (mi_gdb_target_load): Catch any
9619 `gdbserver_gdb_load' error exceptions.
9620
9621 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9622
9623 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
9624 120 on waiting for the TCP socket to open.
9625
9626 2014-09-09 Doug Evans <xdje42@gmail.com>
9627
9628 * gdb.base/default.exp (show_conv_list): Add _caller_is,
9629 _caller_matches, _any_caller_is, _any_caller_matches.
9630
9631 2014-09-09 Doug Evans <xdje42@gmail.com>
9632
9633 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
9634
9635 2014-09-09 Yao Qi <yao@codesourcery.com>
9636
9637 * gdb.mi/mi-var-display.exp: Set print symbol off.
9638
9639 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
9640
9641 PR gdb/17035
9642 * gdb.base/commands.exp: Add tests to verify user-defined
9643 commands with empty bodies.
9644 * gdb.python/py-cmd.exp: Test that we don't show user-defined
9645 python commands in `show user command`.
9646 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
9647 scheme commands in `show user command`.
9648
9649 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9650
9651 PR python/17355
9652 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
9653 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
9654 * gdb.python/py-framefilter-invalidarg.exp: New file.
9655 * gdb.python/py-framefilter-invalidarg.py: New file.
9656
9657 2014-09-06 Doug Evans <xdje42@gmail.com>
9658
9659 PR 15276
9660 * gdb.python/py-caller-is.c: New file.
9661 * gdb.python/py-caller-is.exp: New file.
9662
9663 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
9664
9665 PR gdb/17235
9666 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
9667 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
9668
9669 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
9670
9671 PR fortran/17237
9672 * gdb.fortran/print-formatted.exp: New file.
9673 * gdb.fortran/print-formatted.f90: Likewise.
9674
9675 2014-09-03 Sasha Smundak <asmundak@google.com>
9676
9677 * gdb.python/py-frame.exp: Test Frame.read_register.
9678
9679 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
9680
9681 PR python/16699
9682 * gdb.python/py-completion.exp: New file.
9683 * gdb.python/py-completion.py: Likewise.
9684
9685 2014-08-28 Doug Evans <dje@google.com>
9686
9687 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
9688 eax,etc. are live with values set by gdb and thus the compiler can't
9689 use them.
9690 * gdb.arch/i386-pseudo.c (main): Ditto.
9691
9692 2014-08-27 Doug Evans <dje@google.com>
9693
9694 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
9695
9696 2014-08-25 Doug Evans <dje@google.com>
9697
9698 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
9699 (main): Ditto.
9700
9701 2014-08-25 Doug Evans <dje@google.com>
9702
9703 * gdb.threads/thread-execl.exp: #include <stdio.h>.
9704
9705 2014-08-24 Yao Qi <yao@codesourcery.com>
9706
9707 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
9708 symbol off.
9709 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
9710
9711 2014-08-22 Doug Evans <dje@google.com>
9712
9713 PR 17276
9714 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
9715 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
9716 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
9717
9718 2014-08-22 Yao Qi <yao@codesourcery.com>
9719
9720 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
9721 * gdb.python/py-finish-breakpoint2.exp: Likewise.
9722 * gdb.python/python.exp: Likewise. Use .py file on the host
9723 instead of the build.
9724
9725 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9726
9727 * gdb.threads/gcore-stale-thread.c: New file.
9728 * gdb.threads/gcore-stale-thread.exp: New file.
9729
9730 2014-08-21 Pedro Alves <palves@redhat.com>
9731
9732 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
9733 * gdb.base/gcore-relro-pie.exp: Likewise.
9734 * gdb.base/gcore-relro.exp: Likewise.
9735 * gdb.base/gcore.exp: Likewise.
9736 * gdb.base/print-symbol-loading.exp: Likewise.
9737 * gdb.threads/gcore-thread.exp: Likewise.
9738 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
9739
9740 2014-08-20 Pedro Alves <palves@redhat.com>
9741 Jan Kratochvil <jan.kratochvil@redhat.com>
9742
9743 * Makefile.in (EXTRA_RULES, CC): New variables, get from
9744 configure.
9745 (EXPECT): Handle READ1 being set.
9746 (all): Depend on EXTRA_RULES.
9747 (check-read1, expect-read1, read1.so, read1): New rules.
9748 * README (Testsuite Parameters): Document the READ1 make variable.
9749 (Race detection): New section.
9750 * configure: Regenerate.
9751 * configure.ac: If build==host==target, and running under a
9752 GNU/glibc system, add read1 to the extra Makefile rules.
9753 (EXTRA_RULES): AC_SUBST it.
9754 * lib/read1.c: New file.
9755
9756 2014-08-20 Joel Brobecker <brobecker@adacore.com>
9757
9758 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
9759 the handling of variables declared as a typedef to an array
9760 which a DW_AT_data_location attribute.
9761
9762 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
9763 Pedro Alves <palves@redhat.com>
9764
9765 PR symtab/14604
9766 PR symtab/14605
9767 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
9768 gdb_test.
9769
9770 2014-08-19 Pedro Alves <palves@redhat.com>
9771
9772 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
9773
9774 2014-08-19 Yao Qi <yao@codesourcery.com>
9775
9776 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
9777 right line.
9778
9779 2014-08-18 David Blaikie <dblaikie@gmail.com>
9780
9781 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
9782
9783 2014-08-18 Joel Brobecker <brobecker@adacore.com>
9784
9785 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
9786 attribute in array range.
9787
9788 2014-08-18 Joel Brobecker <brobecker@adacore.com>
9789
9790 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
9791
9792 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
9793
9794 PR c++/17132
9795 * gdb.cp/pr17132.cc: New file.
9796 * gdb.cp/pr17132.exp: New file.
9797
9798 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
9799
9800 * gdb.python/py-xmethods.py (A_getarrayind)
9801 (E_method_char_worker.__call__, E_method_int_worker.__call__):
9802 Use 'print' with function call syntax.
9803 (E_method_matcher.match): Fix tab vs space indentation mixup.
9804
9805 2014-08-15 Yao Qi <yao@codesourcery.com>
9806
9807 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
9808 false.
9809
9810 2014-08-15 Yao Qi <yao@codesourcery.com>
9811
9812 * gdb.cp/casts.exp: Set print symbol off.
9813 * gdb.cp/class2.exp: Likewise.
9814 * gdb.cp/overload.exp: Likewise.
9815 * gdb.cp/templates.exp: Likewise.
9816
9817 2014-08-11 Doug Evans <dje@google.com>
9818
9819 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
9820 (test_load_shlib): Update.
9821
9822 2014-08-09 Yao Qi <yao@codesourcery.com>
9823
9824 * gdb.base/display.exp: Invoke is_address_zero_readable.
9825 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
9826 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
9827 * gdb.base/hbreak-unmapped.exp: Return if
9828 is_address_zero_readable returns true.
9829 * gdb.base/signest.exp: Likewise.
9830 * gdb.base/signull.exp: Likewise.
9831 * gdb.base/sigbpt.exp: Likewise.
9832 * gdb.guile/scm-disasm.exp: Do the test if
9833 is_address_zero_readable returns false.
9834 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
9835 * gdb.python/py-arch.exp: Likewise.
9836 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
9837 * lib/gdb.exp (is_address_zero_readable): New proc.
9838
9839 2014-08-09 Yao Qi <yao@codesourcery.com>
9840
9841 PR testsuite/13443
9842 * gdb.mi/mi-var-display.exp: Make test messages unique.
9843
9844 2014-08-04 Tom Tromey <tromey@redhat.com>
9845
9846 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
9847 target 0".
9848
9849 2014-08-04 Tom Tromey <tromey@redhat.com>
9850
9851 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
9852 "target_resume".
9853
9854 2014-08-01 Joel Brobecker <brobecker@adacore.com>
9855
9856 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
9857 inner_vla_struct_object_size.
9858 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
9859 as xfail.
9860
9861 2014-07-30 Pedro Alves <palves@redhat.com>
9862
9863 * gdb.threads/signal-command-handle-nopass.exp (test): Add
9864 comment.
9865
9866 2014-07-29 Yao Qi <yao@codesourcery.com>
9867
9868 PR gdb/17206
9869 * gdb.base/until-nodebug.exp: New.
9870
9871 2014-07-28 Doug Evans <xdje42@gmail.com>
9872
9873 PR guile/17203
9874 * gdb.guile/scm-parameter.exp: Add tests for trying to create
9875 previously existing parameter, and previously ambiguously spelled
9876 parameter.
9877
9878 2014-07-28 Will Newton <will.newton@linaro.org>
9879
9880 * gdb.base/varargs.exp: Remove KFAILs for ARM.
9881
9882 2014-07-26 Ludovic Courtès <ludo@gnu.org>
9883 Doug Evans <xdje42@gmail.com>
9884
9885 PR guile/17146
9886 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
9887
9888 2014-07-25 Pedro Alves <palves@redhat.com>
9889
9890 * gdb.threads/signal-command-handle-nopass.c: New file.
9891 * gdb.threads/signal-command-handle-nopass.exp: New file.
9892 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
9893 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
9894 * gdb.threads/signal-delivered-right-thread.c: New file.
9895 * gdb.threads/signal-delivered-right-thread.exp: New file.
9896
9897 2014-07-25 Pedro Alves <palves@redhat.com>
9898
9899 * gdb.base/double-prompt-target-event-error.exp
9900 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
9901 match.
9902 (cancel_pagination_in_target_event): Rework double prompt
9903 detection.
9904 * gdb.base/paginate-after-ctrl-c-running.exp
9905 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
9906 <return>' match.
9907 * gdb.base/paginate-bg-execution.exp
9908 (test_bg_execution_pagination_return)
9909 (test_bg_execution_pagination_cancel): Remove '-notransfer
9910 <return>' matches.
9911 * gdb.base/paginate-execution-startup.exp
9912 (test_fg_execution_pagination_return)
9913 (test_fg_execution_pagination_cancel): Remove '-notransfer
9914 <return>' matches.
9915 * gdb.base/paginate-inferior-exit.exp
9916 (test_paginate_inferior_exited): Remove '-notransfer <return>'
9917 match.
9918 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
9919 * lib/gdb.exp (pagination_prompt): Run text through
9920 string_to_regexp.
9921 (gdb_test_multiple): Match $pagination_prompt instead of
9922 "<return>".
9923 (string_to_regexp): Move to lib/gdb-utils.exp.
9924
9925 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9926
9927 * gdb.arch/amd64-entry-value-paramref.S: New file.
9928 * gdb.arch/amd64-entry-value-paramref.cc: New file.
9929 * gdb.arch/amd64-entry-value-paramref.exp: New file.
9930 * gdb.arch/amd64-optimout-repeat.S: New file.
9931 * gdb.arch/amd64-optimout-repeat.c: New file.
9932 * gdb.arch/amd64-optimout-repeat.exp: New file.
9933
9934 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9935
9936 PR gdb/17170
9937 * gdb.base/statistics.exp: New file.
9938
9939 2014-07-17 Doug Evans <dje@google.com>
9940
9941 PR gdb/17170
9942 * gdb.base/maint.exp: Update testing of per-command stats.
9943
9944 2014-07-16 Pedro Alves <palves@redhat.com>
9945
9946 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
9947 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
9948 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
9949 (tfile_write_buf): New functions.
9950 (add_memory_block): Rewrite using the above.
9951 (adjust_function_address): New function.
9952 (FUNCTION_ADDRESS): New macro.
9953 (write_basic_trace_file): Remove short_x local, and use
9954 tfile_write_16. Change type of func_addr local to unsigned long
9955 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
9956 here. Cast argument of add_memory_block to char pointer.
9957 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
9958 (main): Remove parameters.
9959 * gdb.trace/tfile.exp: Remove nowarnings.
9960
9961 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
9962
9963 * gdb.base/debug-expr.exp: Test string evaluation with
9964 "debug expression" on.
9965
9966 2014-07-15 Pedro Alves <palves@redhat.com>
9967
9968 * gdb.base/reread.exp: Use clean_restart.
9969
9970 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
9971
9972 * gdb.arch/avr-flash-qualifer.c: New.
9973 * gdb.arch/avr-flash-qualifer.exp: New.
9974
9975 2014-07-14 Pedro Alves <palves@redhat.com>
9976
9977 * gdb.base/paginate-after-ctrl-c-running.c: New file.
9978 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
9979
9980 2014-07-14 Pedro Alves <palves@redhat.com>
9981
9982 * gdb.base/double-prompt-target-event-error.c: New file.
9983 * gdb.base/double-prompt-target-event-error.exp: New file.
9984
9985 2014-07-14 Pedro Alves <palves@redhat.com>
9986
9987 PR gdb/17072
9988 * gdb.base/paginate-inferior-exit.c: New file.
9989 * gdb.base/paginate-inferior-exit.exp: New file.
9990
9991 2014-07-14 Pedro Alves <palves@redhat.com>
9992
9993 PR gdb/17072
9994 * gdb.base/paginate-bg-execution.c: New file.
9995 * gdb.base/paginate-bg-execution.exp: New file.
9996
9997 2014-07-14 Pedro Alves <palves@redhat.com>
9998
9999 PR gdb/17072
10000 * gdb.base/paginate-execution-startup.c: New file.
10001 * gdb.base/paginate-execution-startup.exp: New file.
10002 * lib/gdb.exp (pagination_prompt): New global.
10003 (default_gdb_spawn): New procedure, factored out from
10004 default_gdb_spawn.
10005 (default_gdb_start): Adjust to call default_gdb_spawn.
10006 (gdb_spawn): New procedure.
10007
10008 2014-07-14 Pedro Alves <palves@redhat.com>
10009
10010 * lib/gdb.exp (gdb_assert): New procedure.
10011 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
10012
10013 2014-07-14 Pedro Alves <palves@redhat.com>
10014
10015 * gdb.base/execution-termios.c: New file.
10016 * gdb.base/execution-termios.exp: New file.
10017
10018 2014-07-14 Tom Tromey <tromey@redhat.com>
10019
10020 * gdb.cp/vla-cxx.cc: New file.
10021 * gdb.cp/vla-cxx.exp: New file.
10022
10023 2014-07-14 Tom Tromey <tromey@redhat.com>
10024
10025 * gdb.reverse/rerun-prec.c: New file.
10026 * gdb.reverse/rerun-prec.exp: New file.
10027
10028 2014-07-12 Maciej W. Rozycki <macro@mips.com>
10029 Maciej W. Rozycki <macro@codesourcery.com>
10030
10031 * lib/gdb-utils.exp: New file.
10032 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
10033 inline `gdb_init_command' processing.
10034 (gdb_start_cmd): Likewise.
10035 * lib/mi-support.exp (mi_run_cmd): Likewise.
10036 * README: Document `gdb_init_command' and `gdb_init_commands'.
10037
10038 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10039
10040 Fix false FAIL running under a very long directory name.
10041 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
10042 and "set print elements 10000". Twice.
10043
10044 2014-07-11 Yao Qi <yao@codesourcery.com>
10045
10046 * gdb.base/exprs.exp: "set print symbol off".
10047
10048 2014-07-11 Pedro Alves <palves@redhat.com>
10049
10050 * gdb.threads/kill.c: New file.
10051 * gdb.threads/kill.exp: New file.
10052
10053 2014-07-10 Yao Qi <yao@codesourcery.com>
10054
10055 * gdb.trace/tfile.c (write_basic_trace_file)
10056 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
10057 address written to trace file.
10058
10059 2014-07-09 Pedro Alves <palves@redhat.com>
10060
10061 * gdb.base/attach-wait-input.exp: New file.
10062 * gdb.base/attach-wait-input.c: New file.
10063
10064 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
10065
10066 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
10067 setting up test structures.
10068 (main): Call new test function.
10069 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
10070 test function, continue into test function and walk test
10071 structures.
10072
10073 2014-07-02 Yao Qi <yao@codesourcery.com>
10074
10075 * gdb.trace/entry-values.c: Define labels 'foo_start' and
10076 'bar_start' at the beginning of functions 'foo' and 'bar'
10077 respectively.
10078 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
10079 instead of 'foo' and 'bar'.
10080
10081 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
10082
10083 * gdb.btrace/segv.exp: New.
10084 * gdb.btrace/segv.c: New.
10085
10086 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
10087
10088 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
10089 instruction.
10090
10091 2014-06-30 Mark Wielaard <mjw@redhat.com>
10092
10093 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
10094 vulture, vilify, villar): New volatile array constants.
10095 (vindictive, vegetation): New const volatile array constants.
10096 * gdb.base/volatile.exp: Test volatile and const volatile array
10097 types.
10098
10099 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
10100
10101 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
10102 target lacks support for awatch, rwatch, or hbreak.
10103
10104 2014-06-27 Yao Qi <yao@codesourcery.com>
10105
10106 * gdb.multi/dummy-frame-restore.exp: New.
10107 * gdb.multi/dummy-frame-restore.c: New.
10108
10109 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
10110
10111 * gdb.btrace/gcore.exp: New.
10112
10113 2014-06-23 Pedro Alves <palves@redhat.com>
10114
10115 * gdb.base/watchpoint-reuse-slot.c: New file.
10116 * gdb.base/watchpoint-reuse-slot.exp: New file.
10117
10118 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
10119
10120 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
10121 progspace's filename in 'info', 'enable' and 'disable' command
10122 tests.
10123
10124 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
10125
10126 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
10127 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
10128 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
10129
10130 2014-06-20 Gary Benson <gbenson@redhat.com>
10131
10132 * gdb.arch/i386-avx.exp: Fix include file location.
10133 * gdb.arch/i386-sse.exp: Likewise.
10134
10135 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
10136
10137 * gdb.dlang/expression.exp: New file.
10138
10139 2014-06-19 Pedro Alves <palves@redhat.com>
10140
10141 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
10142 out from ...
10143 (top level): ... here. Iterate running tests under different
10144 scheduler-locking settings.
10145
10146 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
10147
10148 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
10149 to DW_FORM_addr and use non-zero addresses.
10150
10151 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
10152
10153 PR gdb/17017
10154 * gdb.python/py-xmethods.cc: Add global function call counters and
10155 increment them in their respective functions. Remove "cout"
10156 statements.
10157 * gdb.python/py-xmethods.exp: Make tests check the global function
10158 call counters instead of depending on inferior IO.
10159
10160 2014-06-18 Don Breazeal <donb@codesourcery.com>
10161
10162 * gdb.base/foll-fork.exp (default_fork_parent_follow):
10163 Deleted procedure.
10164 (explicit_fork_parent_follow): Deleted procedure.
10165 (explicit_fork_child_follow): Deleted procedure.
10166 (test_follow_fork): New procedure.
10167 (do_fork_tests): Replace calls to deleted procedures with
10168 calls to test_follow_fork and reset GDB for subsequent
10169 procedure calls.
10170
10171 2014-06-17 Yao Qi <yao@codesourcery.com>
10172
10173 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
10174 CP1252.
10175
10176 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
10177
10178 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
10179 Initialize ptr and S explicitly.
10180 (skip_type_update_when_not_use_rtti_test): Likewise.
10181
10182 2014-06-16 Keith Seitz <keiths@redhat.com>
10183
10184 PR mi/15863
10185 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
10186 the inferior is started.
10187
10188 2014-06-16 Pedro Alves <palves@redhat.com>
10189
10190 * gdb.base/break-main-file-remove-fail.c: New file.
10191 * gdb.base/break-main-file-remove-fail.exp: New file.
10192 * gdb.base/break-unload-file.exp: Use build_executable instead of
10193 prepare_for_testing.
10194 (test_break): New parameter "initial_load". Handle it.
10195 (top level): Add initial_load cmdline/file axis.
10196
10197 2014-06-12 Tom Tromey <tromey@redhat.com>
10198
10199 * gdb.base/completion.exp: Don't use directory name in test.
10200
10201 2014-06-09 Gary Benson <gbenson@redhat.com>
10202
10203 * gdb.base/sigall.c [Functions to send signals]: Reorder to
10204 separate the always-available ANSI-standard signals from the
10205 signals that require checking.
10206 (main): Likewise.
10207 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
10208 Likewise.
10209 (main): Likewise.
10210
10211 2014-06-07 Keith Seitz <keiths@redhat.com>
10212
10213 Revert:
10214 PR c++/16253
10215 * gdb.cp/var-tag.cc: New file.
10216 * gdb.cp/var-tag.exp: New file.
10217 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
10218 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
10219 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
10220 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
10221
10222 2014-06-06 Doug Evans <xdje42@gmail.com>
10223
10224 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
10225
10226 2014-06-06 Pedro Alves <palves@redhat.com>
10227
10228 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
10229 in target debug output instead of looking at RSP packets,
10230 disabling the test on any target that uses hardware stepping.
10231 Update comments.
10232
10233 2014-06-06 Pedro Alves <palves@redhat.com>
10234
10235 * gdb.base/break-unload-file.exp: Fix typo.
10236
10237 2014-06-06 Yao Qi <yao@codesourcery.com>
10238
10239 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
10240 from "jit_function" to "^jit_function".
10241
10242 2014-06-06 Yao Qi <yao@codesourcery.com>
10243
10244 * gdb.base/async.c (foo): Add one statement.
10245 * gdb.base/async.exp: Get the next instruction address and
10246 match the output of "nexti" by instruction address. Match
10247 the hex address in the output of "finish".
10248
10249 2014-06-06 Gary Benson <gbenson@redhat.com>
10250
10251 * gdb.base/call-signals.c: Remove preprocessor conditionals
10252 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
10253 SIGSEGV and SIGTERM.
10254 * gdb.base/sigall.c: Likewise.
10255 * gdb.base/unwindonsignal.c: Likewise.
10256 * gdb.reverse/sigall-reverse.c: Likewise.
10257
10258 2014-06-06 Yao Qi <yao@codesourcery.com>
10259
10260 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
10261 readable, skip the test.
10262
10263 2014-06-06 Yao Qi <yao@codesourcery.com>
10264
10265 * gdb.threads/staticthreads.c (thread_function): Move the line
10266 setting breakpoint on forward.
10267 * gdb.threads/staticthreads.exp: Update comments.
10268
10269 2014-06-05 Ludovic Courtès <ludo@gnu.org>
10270
10271 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
10272 "history-append! type error".
10273
10274 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
10275
10276 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
10277 erroneous dprintf expected input.
10278
10279 2014-06-04 Doug Evans <xdje42@gmail.com>
10280
10281 * gdb.guile/scm-generics.exp: Delete.
10282
10283 2014-06-04 Doug Evans <xdje42@gmail.com>
10284
10285 * gdb.guile/scm-breakpoint.exp: Update.
10286 Add tests for breakpoint registration.
10287
10288 2014-06-04 Tom Tromey <tromey@redhat.com>
10289
10290 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
10291 VLA-in-union.
10292 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
10293 inner_vla_struct, vla_union types. Initialize objects of those
10294 types and compute their sizes.
10295
10296 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
10297 Hui Zhu <hui@codesourcery.com>
10298
10299 * gdb.base/fileio.exp: Add test for shell not available as well as
10300 available.
10301 * gdb.base/fileio.c (test_system): Check for shell twice.
10302
10303 2014-06-04 Yao Qi <yao@codesourcery.com>
10304
10305 * gdb.base/auto-connect-native-target.exp: Remove redundant
10306 space from the regexp pattern.
10307
10308 2014-06-04 Yao Qi <yao@codesourcery.com>
10309
10310 * gdb.base/default.exp: Replace "child" with "native" in
10311 regexp pattern.
10312
10313 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
10314
10315 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
10316 * gdb.python/py-xmethods.exp: New tests to test xmethods.
10317 * gdb.python/py-xmethods.py: Python script supporting the
10318 new testcase and tests.
10319
10320 2014-06-03 Joel Brobecker <brobecker@adacore.com>
10321 Pedro Alves <palves@redhat.com>
10322
10323 PR breakpoints/17000
10324 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
10325 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
10326
10327 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
10328
10329 * gdb.base/subst.exp: Add tests to verify partial path matching
10330 output.
10331
10332 2014-06-03 Pedro Alves <palves@redhat.com>
10333
10334 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
10335 target that doesn't use software single-stepping.
10336
10337 2014-06-03 Pedro Alves <palves@redhat.com>
10338
10339 PR breakpoints/17000
10340 * gdb.base/sss-bp-on-user-bp-2.c: New file.
10341 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
10342
10343 2014-06-02 Doug Evans <xdje42@gmail.com>
10344
10345 * gdb.guile/scm-parameter.exp: New file.
10346
10347 2014-06-02 Doug Evans <xdje42@gmail.com>
10348
10349 * gdb.guile/scm-cmd.c: New file.
10350 * gdb.guile/scm-cmd.exp: New file.
10351
10352 2014-06-02 Doug Evans <xdje42@gmail.com>
10353
10354 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
10355 pretty-printer lookup.
10356 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
10357 (make-pp_s-printer): Call it.
10358 (make-pretty-printer-from-dict): New function.
10359 (lookup-pretty-printer-maker-from-dict): New function.
10360 (*pretty-printer*): Simplify.
10361 (make-objfile-pp_s-printer): New function.
10362 (install-objfile-pretty-printers!): New function.
10363 (make-progspace-pp_s-printer): New function.
10364 (install-progspace-pretty-printers!): New function.
10365 * gdb.guile/scm-progspace.c: New file.
10366 * gdb.guile/scm-progspace.exp: New file.
10367
10368 2014-06-02 Pedro Alves <palves@redhat.com>
10369
10370 * gdb.base/dprintf-bp-same-addr.c: New file.
10371 * gdb.base/dprintf-bp-same-addr.exp: New file.
10372
10373 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
10374
10375 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
10376 * gdb.arch/powerpc-power.s: Likewise.
10377
10378 2014-06-02 Joel Brobecker <brobecker@adacore.com>
10379
10380 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
10381
10382 2014-06-01 Yao Qi <yao@codesourcery.com>
10383
10384 * gdb.base/watchpoint.exp (test_watch_location): Check null
10385 pointer can be dereferenced. If not, do the test, otherwise
10386 skip it.
10387
10388 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
10389
10390 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
10391 results.
10392 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
10393
10394 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
10395
10396 * gdb.arch/amd64-invalid-stack-middle.S: New file.
10397 * gdb.arch/amd64-invalid-stack-middle.c: New file.
10398 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
10399 * gdb.arch/amd64-invalid-stack-top.c: New file.
10400 * gdb.arch/amd64-invalid-stack-top.exp: New file.
10401
10402 2014-05-30 Pedro Alves <palves@redhat.com>
10403
10404 PR breakpoints/17000
10405 * gdb.base/sss-bp-on-user-bp.c: New file.
10406 * gdb.base/sss-bp-on-user-bp.exp: New file.
10407
10408 2014-05-30 David Blaikie <dblaikie@gmail.com>
10409
10410 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
10411 gnu_inline semantics via attribute.
10412 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
10413 source explicitly specifies the required semantics.
10414
10415 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
10416
10417 * gdb.reverse/sigall-reverse.exp: Fix a typo.
10418
10419 2014-05-29 Pedro Alves <palves@redhat.com>
10420 Tom Tromey <tromey@redhat.com>
10421
10422 * gdb.base/async-shell.exp: Don't enable target-async.
10423 * gdb.base/async.exp
10424 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
10425 parameter. Adjust.
10426 (top level): Don't test with "target-async".
10427 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
10428 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
10429 * gdb.base/inferior-died.exp: Don't enable target-async.
10430 * gdb.base/interrupt-noterm.exp: Likewise.
10431 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
10432 * gdb.mi/mi-nonstop-exit.exp: Likewise.
10433 * gdb.mi/mi-nonstop.exp: Likewise.
10434 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
10435 * gdb.mi/mi-nsintrall.exp: Likewise.
10436 * gdb.mi/mi-nsmoribund.exp: Likewise.
10437 * gdb.mi/mi-nsthrexec.exp: Likewise.
10438 * gdb.mi/mi-watch-nonstop.exp: Likewise.
10439 * gdb.multi/watchpoint-multi.exp: Adjust comment.
10440 * gdb.python/py-evsignal.exp: Don't enable target-async.
10441 * gdb.python/py-evthreads.exp: Likewise.
10442 * gdb.python/py-prompt.exp: Likewise.
10443 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
10444 * gdb.server/solib-list.exp: Don't enable target-async.
10445 * gdb.threads/thread-specific-bp.exp: Likewise.
10446 * lib/mi-support.exp: Adjust to use mi-async.
10447
10448 2014-05-29 Pedro Alves <palves@redhat.com>
10449
10450 PR gdb/13860
10451 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
10452 reason, even in sync mode.
10453
10454 2014-05-29 Pedro Alves <palves@redhat.com>
10455 Hui Zhu <hui@codesourcery.com>
10456
10457 PR PR15693
10458 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
10459 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
10460 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
10461 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
10462
10463 2014-05-28 Joel Brobecker <brobecker@adacore.com>
10464
10465 * config/monitor.exp (gdb_target_monitor): Replace use of
10466 "set remotebaud" by "set serial baud".
10467
10468 2014-05-26 Andy Wingo <wingo@igalia.com>
10469
10470 * gdb.guile/scm-breakpoint.exp:
10471 * gdb.guile/scm-gsmob.exp: Update to use plain old object
10472 properties instead of gdb-object-properties.
10473
10474 2014-05-26 Yao Qi <yao@codesourcery.com>
10475
10476 * gdb.server/no-thread-db.exp: Specify source file name
10477 explicitly when setting a breakpoint.
10478
10479 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
10480
10481 * gdb.btrace/vdso.c: New.
10482 * gdb.btrace/vdso.exp: New.
10483
10484 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
10485
10486 * gdb.base/gcore.exp (capture_command_output): Move ...
10487 * lib/gdb.exp (capture_command_output): ... here.
10488
10489 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
10490
10491 * gdb.btrace/data.exp: Test memory access during btrace replay.
10492
10493 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
10494
10495 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
10496
10497 2014-05-21 Pedro Alves <palves@redhat.com>
10498
10499 PR gdb/13860
10500 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
10501 (top level): Test that output related to execution commands is
10502 sent to the console with CLI commands, but not with MI commands.
10503 Test that breakpoint events are always mirrored to the console.
10504 Also expect the new source line to be output after a "next" in
10505 async mode too. Make it a pass/fail test.
10506 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
10507 output.
10508 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
10509
10510 2014-05-21 Pedro Alves <palves@redhat.com>
10511
10512 * gdb.base/list.exp (build_pattern, test_list): New procedures.
10513 Use them to test variations of "list" after reaching a breakpoint.
10514 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
10515 Test "list" with listsize 10 after reaching a breakpoint.
10516 * gdb.python/python.exp (decode_line current location line
10517 number): Adjust expected line number.
10518
10519 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
10520
10521 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
10522 behavior for $args, pass it directly to "run".
10523
10524 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
10525
10526 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
10527 30000 to 65536.
10528
10529 2014-05-21 Pedro Alves <palves@redhat.com>
10530
10531 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
10532 auto-connect-native-target off".
10533 * gdb.base/auto-connect-native-target.c: New file.
10534 * gdb.base/auto-connect-native-target.exp: New file.
10535
10536 2014-05-21 Pedro Alves <palves@redhat.com>
10537
10538 * gdb.base/default.exp: Test "target native" instead of "target
10539 child".
10540
10541 2014-05-21 Mark Wielaard <mjw@redhat.com>
10542
10543 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
10544
10545 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
10546
10547 Fix TLS access for -static -pthread.
10548 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
10549 <HAVE_TLS> (thread_function, main): Initialize it.
10550 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
10551 Add clean_restart.
10552 <$have_tls != "">: Check TLSVAR.
10553
10554 2014-05-21 Pedro Alves <palves@redhat.com>
10555
10556 * gdb.base/dcache-line-read-error.c: New.
10557 * gdb.base/dcache-line-read-error.exp: New.
10558
10559 2014-05-20 Pedro Alves <palves@redhat.com>
10560
10561 * gdb.base/compare-sections.c: New file.
10562 * gdb.base/compare-sections.exp: New file.
10563
10564 2014-05-20 Pedro Alves <palves@redhat.com>
10565
10566 * gdb.base/break-idempotent.c: New file.
10567 * gdb.base/break-idempotent.exp: New file.
10568
10569 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
10570
10571 * gdb.btrace/nohist.exp: New.
10572
10573 2014-05-20 Yao Qi <yao@codesourcery.com>
10574
10575 * lib/gdb.exp (gdb_init): Set timeout if test file is under
10576 gdb.reverse directory and gdb_reverse_timeout exists in board
10577 setting.
10578 * README: Document gdb_reverse_timeout.
10579
10580 2014-05-20 Yao Qi <yao@codesourcery.com>
10581
10582 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
10583 'test_file_name'. Treat args as a string instead of a list.
10584 (gdb_init): Rename argument 'args' by 'test_file_name'.
10585
10586 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
10587
10588 * gdb.arch/powerpc-power.exp: New file.
10589 * gdb.arch/powerpc-power.s: New file.
10590
10591 2014-05-16 Doug Evans <dje@google.com>
10592
10593 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
10594 * gdb.base/completion.exp: Check that all expected files exist
10595 before doing file completion.
10596
10597 2014-05-16 Doug Evans <dje@google.com>
10598
10599 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
10600 Update.
10601 (do_syscall_tests_without_xml): Update.
10602
10603 2014-05-16 Pedro Alves <palves@redhat.com>
10604
10605 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
10606 instead of "unknown output after running".
10607
10608 2014-05-16 Yao Qi <yao@codesourcery.com>
10609
10610 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
10611 file1.txt from host at the end.
10612 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
10613
10614 2014-05-15 Doug Evans <dje@google.com>
10615
10616 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
10617 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
10618 loading file. Add test for TU lookup.
10619
10620 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
10621
10622 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
10623 calling "-exec-arguments" or "set args" before running the
10624 inferior.
10625
10626 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
10627
10628 * lib/mi-support.exp (mi_expect_stop): Expect message for
10629 inferiors that exit with non-zero exit code.
10630
10631 2014-05-14 Yao Qi <yao@codesourcery.com>
10632
10633 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
10634 match absolute path on remote host.
10635 (test_file_list_exec_source_files): Remove "/" from the
10636 pattern.
10637
10638 2014-05-14 Yao Qi <yao@codesourcery.com>
10639
10640 * boards/local-remote-host-notty.exp (${board}_file): New
10641 proc.
10642
10643 2014-05-07 Kyle McMartin <kyle@redhat.com>
10644
10645 Pushed by Joel Brobecker <brobecker@adacore.com>.
10646 * gdb.arch/aarch64-atomic-inst.c: New file.
10647 * gdb.arch/aarch64-atomic-inst.exp: New file.
10648
10649 2014-05-07 Yao Qi <yao@codesourcery.com>
10650
10651 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
10652 in current context" too.
10653
10654 2014-05-05 Keith Seitz <keiths@redhat.com>
10655
10656 * gdb.linespec/ls-dollar.exp: Add test for linespec
10657 file:convenience_variable.
10658
10659 2014-05-05 Yao Qi <yao@codesourcery.com>
10660
10661 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
10662 traceframes into tfile and ctf trace files. Read data from
10663 trace file and test collected data.
10664 (gdb_collect_locals_test): Likewise.
10665 (gdb_unavailable_registers_test): Likewise.
10666 (gdb_unavailable_floats): Likewise.
10667 (gdb_collect_globals_test): Likewise.
10668 (top-level): Append "ctf" to trace_file_targets if GDB
10669 supports.
10670
10671 2014-05-05 Yao Qi <yao@codesourcery.com>
10672
10673 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
10674 code to ...
10675 (gdb_collect_args_test_1): ... it. New proc.
10676 (gdb_collect_locals_test): Move some code to ...
10677 (gdb_collect_locals_test_1): ... it. New proc.
10678 (gdb_unavailable_registers_test): Move some code to ...
10679 (gdb_unavailable_registers_test_1): ... it. New proc.
10680 (gdb_unavailable_floats): Move some code to ...
10681 (gdb_unavailable_floats_1): ... it. New proc.
10682
10683 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
10684
10685 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
10686 probes to test for bitness recognition.
10687 * gdb.arch/amd64-stap-optional-prefix.exp
10688 (test_probe_value_without_reg): New procedure.
10689 Add code to test for different kinds of bitness.
10690
10691 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
10692
10693 PR breakpoints/16889
10694 * gdb.arch/amd64-stap-optional-prefix.S: New file.
10695 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
10696
10697 2014-05-01 Pedro Alves <palves@redhat.com>
10698
10699 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
10700 gdb_file_cmd if no file is specified.
10701 * boards/native-extended-gdbserver.exp (gdb_load): Use the
10702 last_loaded_file to set the remote exec-file.
10703
10704 2014-05-01 Pedro Alves <palves@redhat.com>
10705
10706 * boards/local-remote-host.exp: New file.
10707
10708 2014-05-01 Pedro Alves <palves@redhat.com>
10709
10710 * boards/local-remote-host.exp: Rename to ...
10711 * boards/local-remote-host-notty.exp: ... this.
10712
10713 2014-04-28 Joel Brobecker <brobecker@adacore.com>
10714
10715 * gdb.ada/dyn_arrayidx: New testcase.
10716
10717 2014-04-26 Yao Qi <yao@codesourcery.com>
10718
10719 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
10720 and compute the length of function main. Save it in
10721 $main_length.
10722 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
10723 (top-level): Use gdb_compile to compile objects into
10724 executable and restart GDB. Remove invocation to
10725 prepare_for_testing.
10726
10727 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
10728 Pedro Alves <palves@redhat.com>
10729
10730 PR server/16255
10731 * gdb.multi/multi-attach.c: New file.
10732 * gdb.multi/multi-attach.exp: New file.
10733
10734 2014-04-25 Pedro Alves <palves@redhat.com>
10735
10736 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
10737 user.
10738 (top level): Test that "set remote conditional-breakpoints-packet
10739 off" works as intended.
10740 * gdb.base/dprintf.exp: Test that "set remote
10741 breakpoint-commands-packet off" works as intended.
10742 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
10743 New function.
10744 (top level): Call it.
10745 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
10746 remote fast-tracepoints-packet off" works as intended.
10747 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
10748 * lib/gdb.exp (gdb_is_target_remote): ... here.
10749
10750 2014-04-24 David Blaikie <dblaikie@gmail.com>
10751
10752 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
10753 ensure clang would not discard them.
10754 * gdb.base/gdbvars.c: Ditto.
10755 * gdb.base/memattr.c: Ditto.
10756 * gdb.base/whatis.c: Ditto.
10757 * gdb.python/py-prettyprint.c: Ditto.
10758 * gdb.trace/actions.c: Ditto.
10759 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
10760 ensure clang would not discard it.
10761
10762 2014-04-24 David Blaikie <dblaikie@gmail.com>
10763
10764 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
10765 clang to emit the full definition of type required by the test
10766 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
10767
10768 2014-04-24 David Blaikie <dblaikie@gmail.com>
10769
10770 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
10771 coax Clang into emitting the definition of the type.
10772 * gdb.cp/pr10728-x.h (y): Ditto.
10773 * gdb.cp/pr10728-y.cc (y): Ditto.
10774
10775 2014-04-24 David Blaikie <dblaikie@gmail.com>
10776
10777 * gdb.base/label.exp: XFAIL label related tests under Clang.
10778 * gdb.cp/cplabel.exp: Ditto.
10779 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
10780 under Clang those using labels.
10781
10782 2014-04-25 Yao Qi <yao@codesourcery.com>
10783
10784 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
10785 double_label.
10786 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
10787 partial_label and double_label.
10788
10789 2014-04-24 David Blaikie <dblaikie@gmail.com>
10790
10791 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
10792
10793 2014-04-24 David Blaikie <dblaikie@gmail.com>
10794
10795 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
10796 of the function to work across GCC and Clang.
10797 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
10798 pointer types (const void ** const V void **).
10799
10800 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
10801 Walfred Tedeschi <walfred.tedeschi@intel.com>
10802
10803 * Makefile.in (EXECUTABLES): Added i386-avx512.
10804 * gdb.arch/i386-avx512.c: New file.
10805 * gdb.arch/i386-avx512.exp: Likewise.
10806
10807 2014-04-23 Keith Seitz <keiths@redhat.com>
10808
10809 * lib/mi-support.exp (mi_list_breakpoints): Delete.
10810 (mi_make_breakpoint_table): New procedure.
10811 (mi_create_breakpoint): Use mi_make_breakpoint
10812 and return the result.
10813 (mi_make_breakpoint): New procedure.
10814 (mi_build_kv_pairs): New procedure.
10815
10816 * gdb.mi/mi-break.exp: Remove unused globals,
10817 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
10818 All callers updated.
10819 * gdb.mi/mi-dprintf.exp: Use variable to track command
10820 number.
10821 Update all callers of mi_create_breakpoint and use
10822 mi_make_breakpoint_table.
10823 Remove any unused global variables.
10824 * gdb.mi/mi-nonstop.exp: Likewise.
10825 * gdb.mi/mi-nsintrall.exp: Likewise.
10826 * gdb.mi/mi-nsmoribund.exp: Likewise.
10827 * gdb.mi/mi-nsthrexec.exp: Likewise.
10828 * gdb.mi/mi-reverse.exp: Likewise.
10829 * gdb.mi/mi-simplerun.exp: Likewise.
10830 * gdb.mi/mi-stepn.exp: Likewise.
10831 * gdb.mi/mi-syn-frame.exp: Likewise.
10832 * gdb.mi/mi-until.exp: Likewise.
10833 * gdb.mi/mi-var-cp.exp: Likewise.
10834 * gdb.mi/mi-var-display.exp: Likewise.
10835 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
10836 * gdb.mi/mi2-var-child.exp: Likewise.
10837 * gdb.mi/mi-vla-c99.exp: Likewise.
10838 * lib/mi-support.exp: Likewise.
10839
10840 From Ian Lance Taylor <iant@cygnus.com>:
10841 * lib/gdb.exp (parse_args): New procedure.
10842
10843 2014-04-23 Pedro Alves <palves@redhat.com>
10844
10845 * gdb.base/break-unload-file.c: New file.
10846 * gdb.base/break-unload-file.exp: New file.
10847 * gdb.base/sym-file-lib.c (baz): New function.
10848 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
10849 field.
10850 (load): Store the segment's mapped size.
10851 (unload): New function.
10852 (unload_shlib): New function.
10853 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
10854 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
10855 set a breakpoint at baz, and call it.
10856 * gdb.base/sym-file.exp: New tests for stale breakpoint
10857 instructions.
10858
10859 2014-04-23 Pedro Alves <palves@redhat.com>
10860
10861 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
10862 * gdb.base/hbreak-in-shr-unsupported.c: New file.
10863 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
10864 * gdb.base/hbreak-unmapped.c: New file.
10865 * gdb.base/hbreak-unmapped.exp: New file.
10866 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
10867 * lib/gdb.exp (gdb_is_target_remote): ... here.
10868
10869 2014-04-22 Pedro Alves <palves@redhat.com>
10870
10871 * gdb.base/consecutive-step-over.c: New file.
10872 * gdb.base/consecutive-step-over.exp: New file.
10873
10874 2014-04-22 Pedro Alves <palves@redhat.com>
10875
10876 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
10877 instead of send_gdb/gdb_expect.
10878
10879 2014-04-22 Yao Qi <yao@codesourcery.com>
10880
10881 * lib/trace-support.exp (generate_tracefile): New procedure.
10882 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
10883 return 0.
10884 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
10885 if generate_tracefile returns 1.
10886
10887 2014-04-18 Tom Tromey <palves@redhat.com>
10888 Pedro alves <tromey@redhat.com>
10889
10890 PR backtrace/15558
10891 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
10892 with a backtrace limit.
10893 * gdb.python/py-frame-inline.exp: Test running to an inline
10894 function with a backtrace limit, and printing the newest frame.
10895 * gdb.python/py-frame-inline.c (main): Call f.
10896
10897 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
10898
10899 * gdb.java/jnpe.exp: Drop srcdir from untested path.
10900
10901 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
10902
10903 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
10904 Drop prefix from unsupported source file path.
10905
10906 2014-04-17 Yao Qi <yao@codesourcery.com>
10907
10908 * lib/gdb.exp (with_target_charset): New proc.
10909 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
10910 with_target_charset.
10911 (test_print_strings): Likewise.
10912 (test_repeat_bytes): Likewise.
10913 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
10914 for some tests.
10915
10916 2014-04-16 Keith Seitz <keiths@redhat.com>
10917
10918 PR gdb/15827
10919 * gdb.dwarf2/corrupt.c: New file.
10920 * gdb.dwarf2/corrupt.exp: New file.
10921
10922 2014-04-16 Keith Seitz <keiths@redhat.com>
10923
10924 PR c++/16597
10925 * gdb.cp/namelessclass.cc: New file.
10926 * gdb.cp/namelessclass.exp: New file.
10927 * gdb.cp/namelessclass.S: New file.
10928
10929 2014-04-16 Doug Evans <dje@google.com>
10930
10931 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
10932 Add comment.
10933 (gdbserver_default_get_comm_port): New function.
10934 (gdbserver_start): Check if board file provided
10935 "gdbserver,get_comm_port" and use it if so.
10936 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
10937 (gdb,socketport): Set to "stdio".
10938 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
10939 (stdio_gdbserver_template): Delete.
10940 (${board}_get_remote_address): Update.
10941 (${board}_build_remote_cmd): Delete.
10942 (${board}_get_comm_port): New function.
10943 (${board}_spawn): Update.
10944 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
10945 Delete.
10946 (${board}_get_remote_address): Update.
10947 (${board}_get_comm_port): New function.
10948
10949 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
10950
10951 * gdb.base/memattr.exp: Improve regexps to handle memory regions
10952 appearing in any order.
10953
10954 2014-04-15 Doug Evans <dje@google.com>
10955
10956 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
10957 uninitialized value of "description".
10958
10959 2014-04-15 Keith Seitz <keiths@redhat.com>
10960
10961 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
10962 Remove unused globals.
10963 (test_running_the_program): Likewise.
10964 (test_controlled_execution): Likewise.
10965 (test_controlling_breakpoints): Likewise.
10966 (test_program_termination): Likewise.
10967
10968 2014-04-15 Keith Seitz <keiths@redhat.com>
10969
10970 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
10971 unused globals.
10972 (test_rbreak_creation_and_listing): Likewise.
10973 (test_ignore_count): Likewise.
10974 (test_error): Likewise.
10975
10976 2014-04-15 Pedro Alves <palves@redhat.com>
10977
10978 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
10979 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
10980 sym-file-loader.c.
10981 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
10982 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
10983 to sym-file-loader.c.
10984 (struct library): Forward declare.
10985 (load_shlib, lookup_function): Change prototypes.
10986 (find_shstrtab, find_strtab, find_shdr, find_symtab)
10987 (translate_offset): Remove declarations.
10988 (get_text_addr): New declaration.
10989 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
10990 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
10991 sym-file-loader.h.
10992 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
10993 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
10994 here from sym-file-loader.h.
10995 (struct library): New structure.
10996 (load_shlib, lookup_function): Change prototypes and adjust to
10997 work with a struct library.
10998 (find_shstrtab, find_strtab, find_shdr, find_symtab)
10999 (translate_offset): Make static.
11000 (get_text_addr): New function.
11001 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
11002
11003 2014-04-15 Pedro Alves <palves@redhat.com>
11004
11005 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
11006
11007 2014-04-15 Pedro Alves <palves@redhat.com>
11008
11009 * gdb.base/sym-file-loader.c: Include <limits.h>.
11010 (SELF_LINK): New define.
11011 (get_origin): New function.
11012 (load_shlib): Use it.
11013 * gdb.base/sym-file.exp: Don't early return if the target is
11014 remote. Use runto_main, and issue fail is that fails. Use
11015 gdb_load_shlibs.
11016 (shlib_name): Delete.
11017 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
11018
11019 2014-04-15 Pedro Alves <palves@redhat.com>
11020
11021 * gdb.base/sym-file.exp: Remove regex characters from test
11022 message. Don't refer to breakpoint numbers in test messages.
11023
11024 2014-04-14 Keith Seitz <keiths@redhat.com>
11025
11026 PR c++/16253
11027 * gdb.cp/var-tag.cc: New file.
11028 * gdb.cp/var-tag.exp: New file.
11029 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
11030 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
11031 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
11032 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
11033
11034 2014-04-14 Tom Tromey <tromey@redhat.com>
11035
11036 * gdb.cp/classes.exp (test_enums): Handle underlying type.
11037 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
11038 type.
11039 * gdb.cp/enum-class.exp: New file.
11040 * gdb.cp/enum-class.cc: New file.
11041
11042 2014-04-14 Tom Tromey <tromey@redhat.com>
11043
11044 * gdb.dwarf2/enum-type.exp: New file.
11045
11046 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
11047
11048 * gdb.mi/mi-vla-c99.exp: New file.
11049 * gdb.mi/vla.c: New file.
11050
11051 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
11052
11053 * gdb.base/vla-datatypes.c: New file.
11054 * gdb.base/vla-datatypes.exp: New file.
11055
11056 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
11057
11058 * gdb.base/vla-ptr.c: New file.
11059 * gdb.base/vla-ptr.exp: New file.
11060
11061 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
11062
11063 * gdb.dwarf2/count.exp: New file.
11064
11065 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
11066
11067 * gdb.base/vla-sideeffect.c: New file.
11068 * gdb.base/vla-sideeffect.exp: New file.
11069
11070 2014-04-14 David Blaikie <dblaikie@gmail.com>
11071
11072 * gdb.mi/non-stop.c: Add return value for non-void function return
11073 statement.
11074 * gdb.threads/staticthreads.c: Ditto.
11075
11076 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
11077 Doug Evans <xdje42@gmail.com>
11078
11079 * gdb.guile/scm-value.c: Improve test case.
11080 * gdb.guile/scm-value.exp: Add new test.
11081
11082 2014-04-11 David Blaikie <dblaikie@gmail.com>
11083
11084 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
11085 override Clang's default.
11086
11087 2014-04-11 Joel Brobecker <brobecker@adacore.com>
11088
11089 Revert the following changes (regressions):
11090
11091 * gdb.base/vla-sideeffect.c: New file.
11092 * gdb.base/vla-sideeffect.exp: New file.
11093
11094 * gdb.dwarf2/count.exp: New file.
11095
11096 * gdb.base/vla-multi.c: New file.
11097 * gdb.base/vla-multi.exp: New file.
11098
11099 * gdb.base/vla-ptr.c: New file.
11100 * gdb.base/vla-ptr.exp: New file.
11101
11102 * gdb.base/vla-datatypes.c: New file.
11103 * gdb.base/vla-datatypes.exp: New file.
11104
11105 * gdb.mi/mi-vla-c99.exp: New file.
11106 * gdb.mi/vla.c: New file.
11107
11108 2014-04-11 Keith Seitz <keiths@redhat.com>
11109
11110 PR c++/16675
11111 * gdb.cp/cpsizeof.exp: New file.
11112 * gdb.cp/cpsizeof.cc: New file.
11113
11114 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
11115
11116 * gdb.mi/mi-vla-c99.exp: New file.
11117 * gdb.mi/vla.c: New file.
11118
11119 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
11120
11121 * gdb.base/vla-datatypes.c: New file.
11122 * gdb.base/vla-datatypes.exp: New file.
11123
11124 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
11125
11126 * gdb.base/vla-ptr.c: New file.
11127 * gdb.base/vla-ptr.exp: New file.
11128
11129 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
11130
11131 * gdb.base/vla-multi.c: New file.
11132 * gdb.base/vla-multi.exp: New file.
11133
11134 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
11135
11136 * gdb.dwarf2/count.exp: New file.
11137
11138 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
11139
11140 * gdb.base/vla-sideeffect.c: New file.
11141 * gdb.base/vla-sideeffect.exp: New file.
11142
11143 2014-04-11 Yao Qi <yao@codesourcery.com>
11144
11145 * gdb.base/completion.exp: Check file exists before running tests
11146 on file completion.
11147
11148 2014-04-10 Pedro Alves <palves@redhat.com>
11149
11150 * gdb.base/cond-eval-mode.c: New file.
11151 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
11152 prepare_for_testing to build the new file. Check result of
11153 runto_main.
11154 (test_break, test_watch): New procedures.
11155 (top level): Use them.
11156
11157 2014-04-08 Pierre Muller <muller@sourceware.org>
11158
11159 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
11160 Ctrl-V use for mingw hosts.
11161
11162 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
11163
11164 * gdb.python/py-value.c: Improve test case.
11165 * gdb.python/py-value.exp: Add new test.
11166
11167 2014-04-07 David Blaikie <dblaikie@gmail.com>
11168
11169 * lib/compiler.c: Identify the clang compiler.
11170 * lib/compiler.cc: Ditto.
11171
11172 2014-04-03 Yao Qi <yao@codesourcery.com>
11173
11174 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
11175
11176 2014-04-01 Anton Blanchard <anton@samba.org>
11177
11178 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
11179 messages unique.
11180
11181 2014-04-01 Anton Blanchard <anton@samba.org>
11182
11183 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
11184 prepare_for_testing.
11185
11186 2014-04-01 Anton Blanchard <anton@samba.org>
11187
11188 * gdb.arch/ppc64-atomic-inst.c: Remove.
11189 * gdb.arch/ppc64-atomic-inst.S: New file.
11190 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
11191
11192 2014-03-31 Doug Evans <dje@google.com>
11193
11194 * gdb.base/print-symbol-loading-lib.c: New file.
11195 * gdb.base/print-symbol-loading-main.c: New file.
11196 * gdb.base/print-symbol-loading.exp: New file.
11197
11198 2014-03-31 Yao Qi <yao@codesourcery.com>
11199
11200 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
11201
11202 2014-03-28 Joel Brobecker <brobecker@adacore.com>
11203
11204 * gdb.ada/mi_dyn_arr: New testcase.
11205
11206 2014-03-27 Doug Evans <dje@google.com>
11207
11208 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
11209
11210 2014-03-27 Yao Qi <yao@codesourcery.com>
11211
11212 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
11213 if target is nios2-*-*.
11214
11215 2014-03-26 Yao Qi <yao@codesourcery.com>
11216
11217 * lib/gdb.exp (readline_is_used): New proc.
11218 * gdb.base/completion.exp: Move tests on command complete up.
11219 Skip the rest of tests if readline is not used.
11220 * gdb.ada/complete.exp: Skp the test if readline is not
11221 used.
11222 * gdb.base/filesym.exp: Likewise.
11223 * gdb.base/macscp.exp: Likewise.
11224 * gdb.base/readline-ask.exp: Likewise.
11225 * gdb.base/readline.exp: Likewise.
11226 * gdb.python/py-cmd.exp: Likewise.
11227 * gdb.trace/tfile.exp: Likewise.
11228
11229 2014-03-26 Yao Qi <yao@codesourcery.com>
11230
11231 * gdb.base/macscp.exp: Fix code format issues.
11232
11233 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
11234
11235 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
11236 * gdb.asm/powerpc64le.inc: New file.
11237
11238 2014-03-25 Pedro Alves <palves@redhat.com>
11239 Doug Evans <dje@google.com>
11240
11241 * gdb.base/source-execution.c: New file.
11242 * gdb.base/source-execution.exp: New file.
11243 * gdb.base/source-execution.gdb: New file.
11244
11245 2014-03-24 Doug Evans <dje@google.com>
11246
11247 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
11248 using fission.
11249
11250 2014-03-24 Hui Zhu <hui@codesourcery.com>
11251 Pedro Alves <palves@redhat.com>
11252
11253 PR breakpoints/16101
11254 * gdb.base/dprintf.exp: Use unsupported rather than changing the
11255 test pass/fail messages. Detect missing support for dprintf when
11256 breakpoints are actually inserted.
11257 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
11258 breakpoints are actually inserted.
11259 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
11260 fails.
11261
11262 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
11263
11264 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
11265
11266 2014-03-22 Doug Evans <xdje42@gmail.com>
11267
11268 * gdb.python/python.exp (python not supported): Verify multi-line
11269 python command issues an error.
11270 * gdb.guile/guile.exp (guile not supported): Verify multi-line
11271 guile command issues an error.
11272
11273 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
11274
11275 * gdb.threads/thread-specific.exp: Handle the lack of usable
11276 $this_breakpoint and $this_thread.
11277
11278 2014-03-21 Hui Zhu <hui@codesourcery.com>
11279
11280 * gdb.base/attach.exp (do_command_attach_tests): New.
11281
11282 2014-03-20 Tom Tromey <tromey@redhat.com>
11283 Pedro Alves <palves@redhat.com>
11284
11285 PR cli/15718
11286 * gdb.base/condbreak-call-false.c: New file.
11287 * gdb.base/condbreak-call-false.exp: New file.
11288
11289 2014-03-20 Pedro Alves <palves@redhat.com>
11290
11291 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
11292 Delete.
11293 (block_signals, unblock_signals): Delete.
11294 (child_function_2, main): Remove references to deleted variable
11295 and functions.
11296
11297 2014-03-20 Pedro Alves <palves@redhat.com>
11298
11299 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
11300 Use pthread_kill to signal thread 2.
11301 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
11302 Adjust to make the test send itself a signal rather than using the
11303 host's "kill" command.
11304
11305 2014-03-20 Pedro Alves <palves@redhat.com>
11306
11307 * gdb.threads/multiple-step-overs.c: New file.
11308 * gdb.threads/multiple-step-overs.exp: New file.
11309 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
11310 Adjust expected infrun debug output.
11311
11312 2014-03-20 Pedro Alves <palves@redhat.com>
11313
11314 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
11315 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
11316
11317 2014-03-20 Pedro Alves <palves@redhat.com>
11318
11319 PR breakpoints/7143
11320 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
11321 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
11322 of gdb_test_multiple.
11323 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
11324 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
11325
11326 2014-03-20 Pedro Alves <palves@redhat.com>
11327
11328 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
11329 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
11330
11331 2014-03-19 Pedro Alves <palves@redhat.com>
11332
11333 * gdb.base/async.exp: Remove early return.
11334
11335 2014-03-19 Pedro Alves <palves@redhat.com>
11336
11337 * gdb.base/async.exp (step& tests): Pass explicit test messages.
11338
11339 2014-03-19 Pedro Alves <palves@redhat.com>
11340
11341 * gdb.base/async.exp (test_background): Expect \r\n after
11342 "completed." in the fail pattern.
11343
11344 2014-03-19 Pedro Alves <palves@redhat.com>
11345
11346 * gdb.base/async.exp (test_background): New procedure.
11347 Use it for all background execution command tests.
11348
11349 2014-03-19 Pedro Alves <palves@redhat.com>
11350
11351 * gdb.base/async.exp: Use prepare_for_testing.
11352
11353 2014-03-19 Pedro Alves <palves@redhat.com>
11354
11355 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
11356 the same line.
11357
11358 2014-03-19 Pedro Alves <palves@redhat.com>
11359
11360 * gdb.base/async.c (main): Add "jump here" and "until here" line
11361 marker comments.
11362 * gdb.base/async.exp (jump_here): New global.
11363 (jump& test): Use it.
11364 (until_here): New global.
11365 (until& test): Use it.
11366
11367 2014-03-19 Pedro Alves <palves@redhat.com>
11368
11369 * gdb.base/async.exp: Don't frob gdb_protocol.
11370
11371 2014-03-18 Doug Evans <xdje42@gmail.com>
11372
11373 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
11374 Fix spelling of exec-done-display.
11375
11376 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
11377
11378 PR gdb/15358
11379 * gdb.base/gdb-sigterm.c: New file.
11380 * gdb.base/gdb-sigterm.exp: New file.
11381
11382 2014-03-18 Pedro Alves <palves@redhat.com>
11383
11384 PR gdb/13860
11385 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
11386 * lib/mi-support.exp (mi_expect_stop): Add special handling for
11387 solib-event.
11388
11389 2014-03-17 Joel Brobecker <brobecker@adacore.com>
11390
11391 * gdb.ada/pckd_arr_ren: New testcase.
11392
11393 2014-03-13 Doug Evans <xdje42@gmail.com>
11394
11395 PR guile/16612
11396 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
11397 collect after discarding symbols.
11398
11399 2014-03-13 Ludovic Courtès <ludo@gnu.org>
11400 Doug Evans <xdje42@gmail.com>
11401
11402 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
11403 to history survives a gc.
11404
11405 2014-03-13 Pedro Alves <palves@redhat.com>
11406
11407 * gdb.base/default.exp: Don't test "target procfs".
11408
11409 2014-03-13 Pedro Alves <palves@redhat.com>
11410
11411 * gdb.base/default.exp: Update "target child" and "target procfs"
11412 tests to not expect "Unix".
11413
11414 2014-03-12 Tom Tromey <tromey@redhat.com>
11415
11416 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
11417 New procs. Add target-async tests.
11418 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
11419 Add target-async tests.
11420
11421 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
11422
11423 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
11424 'func_start' and 'func_end' for the beginning and end of the
11425 function code, respectively.
11426 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
11427 'func_end' instead of 'func' and 'main'.
11428
11429 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
11430
11431 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
11432 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
11433 generate the debug info assembler source.
11434
11435 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
11436
11437 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
11438 * gdb.dwarf2/arr-subrange.exp: Likewise.
11439 * gdb.dwarf2/dwz.exp: Likewise.
11440 * gdb.dwarf2/method-ptr.exp: Likewise.
11441 * gdb.dwarf2/missing-sig-type.exp: Likewise.
11442 * gdb.dwarf2/subrange.exp: Likewise.
11443 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
11444 * gdb.dwarf2/implptrpiece.exp: Likewise.
11445 * gdb.dwarf2/nostaticblock.exp: Likewise.
11446
11447 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
11448
11449 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
11450 directory to absolute path name arguments.
11451
11452 2014-03-10 Joel Brobecker <brobecker@adacore.com>
11453
11454 * gdb.ada/tagged_access: New testcase.
11455
11456 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
11457
11458 * gdb.btrace/data.exp: Update expected output.
11459
11460 2014-03-06 Yao Qi <yao@codesourcery.com>
11461
11462 * gdb.trace/pr16508.exp: New file.
11463
11464 2014-03-05 Pedro Alves <palves@redhat.com>
11465
11466 PR gdb/16575
11467 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
11468 procedure.
11469 (top level): Adjust to use it. Add tests that exercise breakpoint
11470 interaction with the code-cache.
11471
11472 2014-02-26 Ludovic Courtès <ludo@gnu.org>
11473
11474 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
11475 test for 'history-append!'.
11476
11477 2014-02-26 Joel Brobecker <brobecker@adacore.com>
11478
11479 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
11480 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
11481 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
11482 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
11483 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
11484 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
11485
11486 2014-02-26 Joel Brobecker <brobecker@adacore.com>
11487
11488 * testsuite/gdb.python/py-pp-re-notag.c: New file.
11489 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
11490 * testsuite/gdb.python/py-pp-re-notag.p: New file.
11491
11492 2014-02-26 Joel Brobecker <brobecker@adacore.com>
11493
11494 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
11495
11496 2014-02-26 Joel Brobecker <brobecker@adacore.com>
11497
11498 * gdb.dwarf2/arr-stride.c: New file.
11499 * gdb.dwarf2/arr-stride.exp: New file.
11500
11501 2014-02-26 Pedro Alves <palves@redhat.com>
11502
11503 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
11504 that won't ever trigger. Make sure that GDB reports the correct
11505 breakpoint that caused the stop.
11506
11507 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11508
11509 PR gdb/16626
11510 * gdb.base/auto-load-script: New file.
11511 * gdb.base/auto-load.c: New file.
11512 * gdb.base/auto-load.exp: New file.
11513
11514 PR gdb/16626
11515 * gdb.base/auto-load.exp: Fix out-of-srctree run.
11516
11517 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11518
11519 Fix dw2-icycle.exp -fsanitize=address GDB crash.
11520 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
11521
11522 2014-02-24 Doug Evans <dje@google.com>
11523
11524 * lib/gdb.exp (run_on_host): Log error output if program fails.
11525
11526 2014-02-21 Pedro Alves <palves@redhat.com>
11527
11528 * gdb.threads/step-after-sr-lock.c: Rename to ...
11529 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
11530 * gdb.threads/step-after-sr-lock.exp: Rename to ...
11531 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
11532 ... this.
11533
11534 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
11535
11536 PR tdep/16397
11537 * gdb.arch/amd64-stap-special-operands.exp: New file.
11538 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
11539 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
11540 * gdb.arch/amd64-stap-triplet.S: Likewise.
11541 * gdb.arch/amd64-stap-triplet.c: Likewise.
11542
11543 2014-02-20 Joel Brobecker <brobecker@adacore.com>
11544
11545 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
11546 in .section pseudo-op.
11547
11548 2014-02-20 lin zuojian <manjian2006@gmail.com>
11549 Joel Brobecker <brobecker@adacore.com>
11550 Doug Evans <xdje42@gmail.com>
11551
11552 PR symtab/16581
11553 * gdb.dwarf2/dw2-icycle.S: New file.
11554 * gdb.dwarf2/dw2-icycle.c: New file.
11555 * gdb.dwarf2/dw2-icycle.exp: New file.
11556
11557 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
11558
11559 * gdb.python/py-value-cc.cc: Improve test case to enable testing
11560 operations on gdb.Value objects.
11561 * gdb.python/py-value-cc.exp: Add new test to test operations on
11562 gdb.Value objects.
11563
11564 2014-02-18 Doug Evans <dje@google.com>
11565
11566 * Makefile.in (TESTS): New variable.
11567 (expanded_tests, expanded_tests_or_none): New variables
11568 (check-single): Pass $(expanded_tests_or_none) to runtest.
11569 (check-parallel): Only run tests in $(TESTS) if non-empty.
11570 (check/no-matching-tests-found): New rule.
11571 * README: Document TESTS makefile variable.
11572
11573 2014-02-18 Doug Evans <dje@google.com>
11574
11575 * Makefile.in (check-parallel): rm -rf outputs temp.
11576
11577 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11578
11579 Fix "ERROR: no fileid for" in the testsuite.
11580 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
11581
11582 2014-02-12 Doug Evans <dje@google.com>
11583
11584 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
11585 (MISCELLANEOUS): New variable.
11586 (clean): rm -rf $(MISCELLANEOUS).
11587 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
11588 dwp live in the same directory as symlinks, with each symlink pointed
11589 to a differently named file in a different directory.
11590
11591 2014-02-11 Doug Evans <dje@google.com>
11592
11593 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
11594 of Tcl file commands.
11595
11596 2014-02-10 Mark Kettenis <kettenis@gnu.org>
11597
11598 * gdb.threads/step-after-sr-lock.exp: Avoid executing
11599 "kill -SIGUSR1 -1".
11600
11601 2014-02-10 Joel Brobecker <brobecker@adacore.com>
11602
11603 * gdb.ada/tick_length_array_enum_idx: New testcase.
11604
11605 2014-02-10 Doug Evans <xdje42@gmail.com>
11606
11607 * configure.ac (AC_OUTPUT): Add gdb.guile.
11608 * configure: Regenerate.
11609 * lib/gdb-guile.exp: New file.
11610 * lib/gdb.exp (get_target_charset): New function.
11611 * gdb.base/help.exp: Update expected output from "apropos apropos".
11612 * gdb.guile/Makefile.in: New file.
11613 * gdb.guile/guile.exp: New file.
11614 * gdb.guile/scm-arch.c: New file.
11615 * gdb.guile/scm-arch.exp: New file.
11616 * gdb.guile/scm-block.c: New file.
11617 * gdb.guile/scm-block.exp: New file.
11618 * gdb.guile/scm-breakpoint.c: New file.
11619 * gdb.guile/scm-breakpoint.exp: New file.
11620 * gdb.guile/scm-disasm.c: New file.
11621 * gdb.guile/scm-disasm.exp: New file.
11622 * gdb.guile/scm-equal.c: New file.
11623 * gdb.guile/scm-equal.exp: New file.
11624 * gdb.guile/scm-error.exp: New file.
11625 * gdb.guile/scm-error.scm: New file.
11626 * gdb.guile/scm-frame-args.c: New file.
11627 * gdb.guile/scm-frame-args.exp: New file.
11628 * gdb.guile/scm-frame-args.scm: New file.
11629 * gdb.guile/scm-frame-inline.c: New file.
11630 * gdb.guile/scm-frame-inline.exp: New file.
11631 * gdb.guile/scm-frame.c: New file.
11632 * gdb.guile/scm-frame.exp: New file.
11633 * gdb.guile/scm-generics.exp: New file.
11634 * gdb.guile/scm-gsmob.exp: New file.
11635 * gdb.guile/scm-iterator.c: New file.
11636 * gdb.guile/scm-iterator.exp: New file.
11637 * gdb.guile/scm-math.c: New file.
11638 * gdb.guile/scm-math.exp: New file.
11639 * gdb.guile/scm-objfile-script-gdb.in: New file.
11640 * gdb.guile/scm-objfile-script.c: New file.
11641 * gdb.guile/scm-objfile-script.exp: New file.
11642 * gdb.guile/scm-objfile.c: New file.
11643 * gdb.guile/scm-objfile.exp: New file.
11644 * gdb.guile/scm-ports.exp: New file.
11645 * gdb.guile/scm-pretty-print.c: New file.
11646 * gdb.guile/scm-pretty-print.exp: New file.
11647 * gdb.guile/scm-pretty-print.scm: New file.
11648 * gdb.guile/scm-section-script.c: New file.
11649 * gdb.guile/scm-section-script.exp: New file.
11650 * gdb.guile/scm-section-script.scm: New file.
11651 * gdb.guile/scm-symbol.c: New file.
11652 * gdb.guile/scm-symbol.exp: New file.
11653 * gdb.guile/scm-symtab-2.c: New file.
11654 * gdb.guile/scm-symtab.c: New file.
11655 * gdb.guile/scm-symtab.exp: New file.
11656 * gdb.guile/scm-type.c: New file.
11657 * gdb.guile/scm-type.exp: New file.
11658 * gdb.guile/scm-value-cc.cc: New file.
11659 * gdb.guile/scm-value-cc.exp: New file.
11660 * gdb.guile/scm-value.c: New file.
11661 * gdb.guile/scm-value.exp: New file.
11662 * gdb.guile/source2.scm: New file.
11663 * gdb.guile/types-module.cc: New file.
11664 * gdb.guile/types-module.exp: New file.
11665
11666 2014-02-10 Yao Qi <yao@codesourcery.com>
11667
11668 PR testsuite/16543
11669 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
11670 * configure: Regenerated.
11671 * Makefile.in: New file.
11672
11673 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
11674
11675 * gdb.python/py-framefilter.exp: Fix typo.
11676
11677 2014-02-08 Yao Qi <yao@codesourcery.com>
11678
11679 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
11680 that no =breakpoint-modified is emitted when breakpoints are
11681 modified through MI commands.
11682
11683 2014-02-07 Pedro Alves <pedro@codesourcery.com>
11684 Pedro Alves <palves@redhat.com>
11685
11686 * gdb.threads/step-after-sr-lock.c: New file.
11687 * gdb.threads/step-after-sr-lock.exp: New file.
11688
11689 2014-02-07 Pedro Alves <palves@redhat.com>
11690
11691 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
11692
11693 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
11694
11695 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
11696 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
11697
11698 2014-02-06 Doug Evans <xdje42@gmail.com>
11699
11700 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
11701 output.
11702
11703 * gdb.gdb/python-interrupts.exp: New file.
11704
11705 2014-02-05 Yao Qi <yao@codesourcery.com>
11706
11707 * gdb.trace/report.exp (use_collected_data): Test the output
11708 of "info threads" and "info inferiors".
11709
11710 2014-02-05 Yao Qi <yao@codesourcery.com>
11711
11712 Revert this patch:
11713
11714 2013-05-24 Yao Qi <yao@codesourcery.com>
11715
11716 * gdb.trace/tfile.exp: Test inferior and thread.
11717
11718 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11719
11720 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
11721 on a function.
11722 * gdb.base/step-bt.c: Call hello via function pointer to make
11723 sure its first instruction is executed on powerpc64le-linux.
11724
11725 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11726
11727 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
11728
11729 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11730
11731 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
11732 of the test patterns for use on little-endian systems.
11733
11734 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11735
11736 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
11737 (decimal_vector): Fix for little-endian.
11738
11739 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
11740
11741 * gdb.arch/sparc-sysstep.exp: New file.
11742 * gdb.arch/sparc-sysstep.c: Likewise.
11743
11744 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
11745
11746 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
11747
11748 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
11749
11750 2014-01-23 Tom Tromey <tromey@redhat.com>
11751
11752 * gdb.ada/array_char_idx: New testcase.
11753
11754 2014-01-23 Tom Tromey <tromey@redhat.com>
11755
11756 PR python/16487:
11757 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
11758 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
11759 classes.
11760
11761 2014-01-23 Tom Tromey <tromey@redhat.com>
11762
11763 PR python/16491:
11764 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
11765 string from an inferior frame.
11766 * gdb.python/py-framefilter-mi.exp: Update.
11767
11768 2014-01-22 Doug Evans <dje@google.com>
11769
11770 * gdb.server/server-mon.exp: Add tests for "set debug-format".
11771
11772 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11773
11774 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
11775
11776 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11777
11778 * gdb.trace/entry-values.exp: Remove excess space character from
11779 regex patterns. Handle s390 call instruction.
11780
11781 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11782
11783 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
11784 define "*_start" label. Make "name" static.
11785 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
11786 ${name} by references to ${name}_start.
11787
11788 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11789
11790 * gdb.base/info-macros.exp: Remove "debug" from the compile
11791 options.
11792
11793 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11794
11795 * gdb.dlang/demangle.exp: New file.
11796
11797 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11798
11799 * gdb.dlang/primitive-types.exp: New file.
11800
11801 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11802
11803 * configure.ac: Create gdb.dlang/Makefile.
11804 * configure: Regenerate.
11805 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
11806 * gdb.dlang/Makefile.in: New file.
11807 * lib/d-support.exp: New file.
11808 * lib/gdb.exp (skip_d_tests): New proc.
11809
11810 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11811
11812 * gdb.btrace/delta.exp: Check reverse stepi.
11813 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
11814 * gdb.btrace/finish.exp: New.
11815 * gdb.btrace/next.exp: New.
11816 * gdb.btrace/nexti.exp: New.
11817 * gdb.btrace/record_goto.c: Add comments.
11818 * gdb.btrace/step.exp: New.
11819 * gdb.btrace/stepi.exp: New.
11820 * gdb.btrace/multi-thread-step.c: New.
11821 * gdb.btrace/multi-thread-step.exp: New.
11822 * gdb.btrace/rn-dl-bind.c: New.
11823 * gdb.btrace/rn-dl-bind.exp: New.
11824 * gdb.btrace/data.c: New.
11825 * gdb.btrace/data.exp: New.
11826 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
11827
11828 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11829
11830 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
11831 * gdb.btrace/exception.exp: Update.
11832 * gdb.btrace/instruction_history.exp: Update.
11833 * gdb.btrace/record_goto.exp: Update.
11834 * gdb.btrace/tailcall.exp: Update.
11835 * gdb.btrace/unknown_functions.exp: Update.
11836 * gdb.btrace/delta.exp: New.
11837
11838 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11839
11840 * gdb.btrace/record_goto.exp: Add backtrace test.
11841 * gdb.btrace/tailcall.exp: Add backtrace test.
11842
11843 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11844
11845 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
11846 * gdb.btrace/record_goto.c: New.
11847 * gdb.btrace/record_goto.exp: New.
11848 * gdb.btrace/x86-record_goto.S: New.
11849
11850 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11851
11852 * gdb.btrace/function_call_history.exp: Update tests.
11853 * gdb.btrace/instruction_history.exp: Update tests.
11854
11855 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11856
11857 * gdb.btrace/function_call_history.exp: Fix expected field
11858 order for "record function-call-history".
11859 Add new tests for "record function-call-history /c".
11860 * gdb.btrace/exception.cc: New.
11861 * gdb.btrace/exception.exp: New.
11862 * gdb.btrace/tailcall.exp: New.
11863 * gdb.btrace/x86-tailcall.S: New.
11864 * gdb.btrace/x86-tailcall.c: New.
11865 * gdb.btrace/unknown_functions.c: New.
11866 * gdb.btrace/unknown_functions.exp: New.
11867 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
11868
11869 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11870
11871 * gdb.btrace/instruction_history.exp: Update.
11872 * gdb.btrace/function_call_history.exp: Update.
11873
11874 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11875
11876 * gdb.btrace/function_call_history.exp: Fix expected function
11877 trace.
11878 * gdb.btrace/instruction_history.exp: Initialize traced.
11879 Remove traced_functions.
11880
11881 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11882
11883 * gdb.btrace/function_call_history.exp: Update
11884 * gdb.btrace/instruction_history.exp: Update.
11885
11886 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11887
11888 * gdb.btrace/enable.exp: Update expected text.
11889
11890 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
11891
11892 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
11893 bytes.
11894
11895 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
11896
11897 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
11898
11899 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
11900
11901 * lib/gdb.exp (supports_process_record): Return true for
11902 arm*-linux*. (supports_reverse): Likewise.
11903
11904 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
11905
11906 PR python/15464
11907 PR python/16113
11908 * gdb.python/py-type.c: Enhance test case.
11909 * gdb.python/py-value-cc.cc: Likewise
11910 * gdb.python/py-type.exp: Add new tests.
11911 * gdb.python/py-value-cc.exp: Likewise
11912
11913 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
11914 Pedro Alves <palves@redhat.com>
11915
11916 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
11917 Make "name" extern.
11918 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
11919 references to ${name}_start by references to ${name}.
11920
11921 2014-01-10 Joel Brobecker <brobecker@adacore.com>
11922
11923 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
11924
11925 2014-01-10 Joel Brobecker <brobecker@adacore.com>
11926
11927 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
11928
11929 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
11930 Pedro Alves <palves@redhat.com>
11931
11932 * gdb.mi/mi-info-os.exp: Connect to the target with
11933 mi_gdb_target_load.
11934
11935 2014-01-08 Pedro Alves <palves@redhat.com>
11936
11937 * gdb.threads/reconnect-signal.c: New file.
11938 * gdb.threads/reconnect-signal.exp: New file.
11939
11940 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11941
11942 * gdb.base/source-dir.exp: New file.
11943
11944 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11945
11946 * gdb.ada/mi_interface: New testcase.
11947
11948 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11949
11950 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
11951 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
11952 gdb.ada/pp-rec-component/pck.ads: New files.
11953
11954 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11955
11956 * gdb.python/py-pp-integral.c: New file.
11957 * gdb.python/py-pp-integral.py: New file.
11958 * gdb.python/py-pp-integral.exp: New file.
11959
11960 For older changes see ChangeLog-1993-2013.
11961 \f
11962 ;; Local Variables:
11963 ;; mode: change-log
11964 ;; left-margin: 8
11965 ;; fill-column: 74
11966 ;; version-control: never
11967 ;; End:
11968
11969 Copyright 2014-2017 Free Software Foundation, Inc.
11970 Copying and distribution of this file, with or without modification,
11971 are permitted provided the copyright notice and this notice are preserved.
This page took 0.26602 seconds and 5 git commands to generate.