Convert observers to C++
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2018-03-19 Tom Tromey <tom@tromey.com>
2
3 * gdb.gdb/observer.exp: Remove.
4
5 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
6
7 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
8 "qualified" option when setting breakpoints.
9 * gdb.trace/backtrace.exp: Likewise.
10 * gdb.trace/circ.exp: Likewise.
11 * gdb.trace/collection.exp: Likewise.
12 * gdb.trace/disconnected-tracing.exp: Likewise.
13 * gdb.trace/ftrace-lock.exp: Likewise.
14 * gdb.trace/ftrace.exp: Likewise.
15 * gdb.trace/infotrace.exp: Likewise.
16 * gdb.trace/packetlen.exp: Likewise.
17 * gdb.trace/passc-dyn.exp: Likewise.
18 * gdb.trace/qtro.exp: Likewise.
19 * gdb.trace/read-memory.exp: Likewise.
20 * gdb.trace/report.exp: Likewise.
21 * gdb.trace/signal.exp: Likewise.
22 * gdb.trace/status-stop.exp: Likewise.
23 * gdb.trace/strace.exp: Likewise.
24 * gdb.trace/tfind.exp: Likewise.
25 * gdb.trace/trace-break.exp: Likewise.
26 * gdb.trace/trace-condition.exp: Likewise.
27 * gdb.trace/trace-mt.exp: Likewise.
28 * gdb.trace/tstatus.exp: Likewise.
29 * gdb.trace/tsv.exp: Likewise.
30 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
31 * gdb.trace/unavailable.exp: Likewise.
32 * gdb.trace/while-dyn.exp: Likewise.
33
34 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
35
36 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
37 that libinproctrace is copied to the target.
38
39 2018-03-14 Tom Tromey <tom@tromey.com>
40
41 PR cli/14977:
42 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
43 a null pointer.
44 * gdb.base/wchar.exp: Likewise.
45
46 2018-03-14 Tom Tromey <tom@tromey.com>
47
48 PR cli/19918:
49 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
50 flag.
51
52 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
53
54 PR gdb/22841
55 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
56 "target" to remote_exec.
57
58 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
59
60 PR gdb/22841
61 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
62 ${board}_upload): Remove.
63
64 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
65
66 * gdb.cp/watch-cp.cc: New test.
67 * gdb.cp/watch-cp.exp: New file.
68
69 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
70
71 * gdb.base/infcall-nested-structs.exp: New file.
72 * gdb.base/infcall-nested-structs.c: New file.
73 * gdb.base/float.exp: Add riscv support.
74
75 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
76
77 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
78 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
79
80 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
81
82 * gdb.server/abspath.exp: New file.
83 * lib/gdb.exp (with_cwd): New procedure.
84
85 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
86
87 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
88 use it.
89 (gdb_is_target_remote_prompt): New proc.
90 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
91 (gdb_is_target_native): Pass prompt parameter to
92 gdb_is_target_1.
93
94 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
95
96 * gdb.base/load-command.c: New file.
97 * gdb.base/load-command.exp: New file.
98 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
99 (gdb_is_target_1): ...this, and generalize for other targets
100 than just remote.
101 (gdb_is_target_remote): Use gdb_is_target_1.
102 (gdb_is_target_native): use gdb_is_target_1.
103
104 2018-02-26 Tom Tromey <tom@tromey.com>
105
106 PR python/16497:
107 * gdb.python/py-framefilter.exp: Update test.
108
109 2018-02-26 Tom Tromey <tom@tromey.com>
110
111 * gdb.dwarf2/variant.c: New file.
112 * gdb.dwarf2/variant.exp: New file.
113
114 2018-02-26 Tom Tromey <tom@tromey.com>
115
116 * gdb.rust/simple.exp: Accept more possible results in enum test.
117
118 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
119
120 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
121 parentheses.
122
123 2018-02-23 Maciej W. Rozycki <macro@mips.com>
124
125 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
126 name of a variable: $actual_linejj -> $actual_line.
127
128 2018-02-21 John Baldwin <jhb@FreeBSD.org>
129
130 * gdb.arch/amd64-i386-address.exp: Fix a typo.
131
132 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
133
134 * gdb.btrace/buffer-size.exp: Do not force BTS.
135
136 2018-02-14 Pedro Alves <palves@redhat.com>
137
138 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
139 getting a "Quit".
140
141 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
142
143 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
144 Fix test name.
145
146 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
147
148 * gdb.cp/m-static.exp: Check type of optimized out static
149 member.
150
151 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
152
153 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
154 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
155
156 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
157 Leszek Swirski <leszeks@google.com>
158
159 * gdb.python/py-prettyprint.c
160 (struct to_string_returns_value_inner,
161 struct to_string_returns_value_wrapper): New.
162 (main): Add tsrvw variable.
163 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
164 ToStringReturnsValueWrapper): New classes.
165 (register_pretty_printers): Register new pretty-printers.
166 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
167 recursive pretty printer.
168 * gdb.python/py-mi.exp: Likewise.
169
170 2018-02-01 Leszek Swirski <leszeks@google.com>
171
172 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
173 functions with the same name as an include file are parsed
174 correctly.
175
176 2018-02-01 Yao Qi <yao.qi@linaro.org>
177
178 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
179 "\[^\r\n\]*".
180
181 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
182
183 * gdb.arch/powerpc-prologue-frame.s: New file.
184 * gdb.arch/powerpc-prologue-frame.c: Likewise.
185 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
186
187 2018-01-31 Joel Brobecker <brobecker@adacore.com>
188
189 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
190
191 2018-01-30 Pedro Alves <palves@redhat.com>
192
193 PR gdb/13211
194 * gdb.base/interrupt-daemon.c: New.
195 * gdb.base/interrupt-daemon.exp: New.
196 * gdb.multi/multi-term-settings.c: New.
197 * gdb.multi/multi-term-settings.exp: New.
198
199 2018-01-30 Joel Brobecker <brobecker@adacore.com>
200
201 * gdb.base/break.exp: Save the location where the breakpoint
202 on break.c:47 was actually inserted when debugging the version
203 compiled at -O2 and use it in the expected output of the "info
204 break" test performed soon after.
205
206 2018-01-22 Pedro Alves <palves@redhat.com>
207 Sergio Durigan Junior <sergiodj@redhat.com>
208
209 * gdb.base/whatis.exp: Add tests for 'set print object on' +
210 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
211
212 2018-01-22 Joel Brobecker <brobecker@adacore.com>
213
214 * gdb.base/break-include.c, gdb.base/break-include.inc,
215 gdb.base/break-include.exp: New files.
216 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
217 line number now being the actual line number where the breakpoint
218 was inserted.
219 * gdb.mi/mi-break.exp: Likewise.
220 * gdb.mi/mi-reverse.exp: Likewise.
221 * gdb.mi/mi-simplerun.exp: Ditto.
222
223 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
224
225 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
226 varobj.
227 * gdb.mi/mi-var-create-rtti.exp: Likewise.
228
229 2018-01-21 Don Breazeal <donb@codesourcery.com>
230 Andrew Burgess <andrew.burgess@embecosm.com>
231
232 * gdb.mi/basics.c: Add new global.
233 * gdb.mi/mi-frame-regs.exp: New file.
234 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
235 case.
236
237 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
238
239 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
240 non-parameter, and on an unknown symbol.
241
242 2018-01-19 Tom Tromey <tom@tromey.com>
243
244 * gdb.rust/modules.rs (TWENTY_THREE): New global.
245 * gdb.rust/modules.exp: Add ::-qualified lookup test.
246
247 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
248
249 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
250 setrlimit and chdir to int.
251
252 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
253
254 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
255 function.
256 (my_tend): Likewise.
257 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
258 rationale of avoiding FP- and vector instructions.
259
260 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
261
262 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
263 "info reg" with "\[ \t\]*".
264 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
265 "\[ \t\]+".
266 * gdb.arch/s390-multiarch.exp: Ditto.
267 * gdb.base/pc-fp.exp: Ditto.
268 * gdb.reverse/i386-precsave.exp: Ditto.
269 * gdb.reverse/i386-reverse.exp: Ditto.
270 * gdb.reverse/i387-env-reverse.exp: Ditto.
271 * gdb.reverse/i387-stack-reverse.exp: Ditto.
272
273 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
274
275 * lib/gdb.exp (gdb_compile): Re-enable use of
276 universal_compile_options for languages other than Rust.
277
278 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
279
280 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
281
282 2018-01-17 Mike Gulick <mgulick@mathworks.com>
283
284 PR gdb/16577
285 * gdb.base/solib-vanish.exp: New.
286 * gdb.base/solib-vanish-main.c: New.
287 * gdb.base/solib-vanish-lib1.c: New.
288 * gdb.base/solib-vanish-lib2.c: New.
289
290 2018-01-17 Yao Qi <yao.qi@linaro.org>
291
292 * gdb.compile/compile.exp: Match the address printed for
293 frame in the output of command "bt".
294
295 2018-01-15 Tom Tromey <tom@tromey.com>
296
297 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
298 compute sp_reg.
299
300 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
301
302 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
303 to prepare.
304 (prepare): Return 0 on error, 1 on success.
305
306 2018-01-12 Pedro Alves <palves@redhat.com>
307
308 * gdb.base/continue-after-aborted-step-over.c: New.
309 * gdb.base/continue-after-aborted-step-over.exp: New.
310
311 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
312
313 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
314 options when not creating an executable.
315
316 2018-01-11 Pedro Alves <palves@redhat.com>
317
318 PR remote/22597
319 * gdb.server/stop-reply-no-thread.c: New file.
320 * gdb.server/stop-reply-no-thread.exp: New file.
321
322 2018-01-10 Pedro Alves <palves@redhat.com>
323
324 PR gdb/22670
325 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
326 functions too. Test setting breakpoints and printing C functions
327 with no debug info too.
328 * gdb.ada/bp_c_mixed_case/qux.c: New file.
329
330 2018-01-10 Pedro Alves <palves@redhat.com>
331
332 PR gdb/22670
333 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
334 a fail.
335
336 2018-01-10 Pedro Alves <palves@redhat.com>
337
338 PR gdb/22670
339 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
340
341 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
342
343 * gdb.server/unittest.exp: Match the output in non-development
344 mode.
345
346 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
347
348 * gdb.gdb/unittest.exp: Match output in non-development mode.
349
350 2018-01-08 Joel Brobecker <brobecker@adacore.com>
351
352 * gdb.ada/access_tagged_param.exp: Relax expected output
353 for value of "ObjL" in "continue" to pck.inspect breakpoint
354 test.
355
356 2018-01-08 Joel Brobecker <brobecker@adacore.com>
357
358 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
359 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
360
361 2018-01-05 Pedro Alves <palves@redhat.com>
362
363 PR gdb/18653
364 * gdb.base/libsegfault.exp: New.
365
366 2018-01-05 Joel Brobecker <brobecker@adacore.com>
367
368 PR gdb/22670
369 * gdb.ada/access_tagged_param.exp: New file.
370 * gdb.ada/access_tagged_param/foo.adb: New file.
371
372 2018-01-05 Pedro Alves <palves@redhat.com>
373
374 PR gdb/22670
375 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
376 exercise lower case too, and to exercise both full matching and
377 wild matching.
378
379 2018-01-05 Joel Brobecker <brobecker@adacore.com>
380
381 * gdb.ada/rename_subscript_param: New testcase.
382
383 2018-01-05 Jerome Guitton <guitton@adacore.com>
384
385 * gdb.ada/arr_acc_idx_w_gap: New testcase.
386
387 2018-01-05 Joel Brobecker <brobecker@adacore.com>
388
389 * gdb.ada/convvar_comp: New testcase.
390
391 2018-01-05 Xavier Roirand <roirand@adacore.com>
392
393 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
394 (My_Table): New global variable.
395 * testsuite/gdb.ada/array_char_idx.exp: Add test.
396
397 2018-01-04 Joel Brobecker <brobecker@adacore.com>
398
399 PR gdb/22670
400 * gdb.ada/maint_with_ada: New testcase.
401
402 2018-01-04 Joel Brobecker <brobecker@adacore.com>
403
404 PR gdb/22670
405 * gdb.ada/bp_c_mixed_case: New testcase.
406
407 2018-01-04 Joel Brobecker <brobecker@adacore.com>
408
409 PR gdb/22670
410 * gdb.ada/complete.exp: Add "complete break ada" test.
411
412 2018-01-04 Joel Brobecker <brobecker@adacore.com>
413
414 PR gdb/22670
415 * gdb.ada/info_addr_mixed_case: New testcase.
416
417 2018-01-03 Xavier Roirand <roirand@adacore.com>
418
419 * gdb.ada/excep_handle.exp: New testcase.
420 * gdb.ada/excep_handle/foo.adb: New file.
421 * gdb.ada/excep_handle/pck.ads: New file.
422
423 2018-01-03 Joel Brobecker <brobecker@adacore.com>
424
425 * gdb.base/step-line.c: Add extra empty line in copyright header.
426 * gdb.base/step-line.inp: Likewise.
427
428 2018-01-02 Joel Brobecker <brobecker@adacore.com>
429
430 * gdb.ada/dyn_stride.exp: Add slice test.
431
432 2018-01-02 Joel Brobecker <brobecker@adacore.com>
433
434 * gdb.ada/dyn_stride: New testcase.
435
436 2017-12-27 Stafford Horne <shorne@gmail.com>
437
438 * gdb.xml/extra-regs.xml: Add example foo reggroup.
439 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
440
441 2017-12-27 Stafford Horne <shorne@gmail.com>
442
443 * gdb.base/reggroups.c: New file.
444 * gdb.base/reggroups.exp: New file.
445
446 2017-12-18 Joel Brobecker <brobecker@adacore.com>
447
448 * gdb.dwarf2/ada-valprint-error.c: New file.
449 * gdb.dwarf2/ada-valprint-error.exp: New file.
450
451 2017-12-18 Joel Brobecker <brobecker@adacore.com>
452
453 * gdb.ada/assign_arr: New testcase.
454
455 2017-12-18 Xavier Roirand <roirand@adacore.com>
456
457 * gdb.ada/funcall_ptr: New testcase.
458
459 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
460
461 PR cli/16224
462 * gdb.base/ptype-offsets.cc: New file.
463 * gdb.base/ptype-offsets.exp: New file.
464
465 2017-12-15 Yao Qi <yao.qi@linaro.org>
466
467 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
468 if XML is disabled.
469
470 2017-12-15 Xavier Roirand <roirand@adacore.com>
471
472 * gdb.ada/same_component_name: New testcase.
473
474 2017-12-14 Joel Brobecker <brobecker@adacore.com>
475
476 * gdb.ada/str_binop_equal: New testcase.
477
478 2017-12-14 Joel Brobecker <brobecker@adacore.com>
479
480 * gdb.ada/task_switch_in_core: New testcase.
481
482 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
483
484 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
485 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
486 call test_bkpt_qualified.
487 (test_bkpt_qualified): New proc.
488
489 2017-12-13 Pedro Alves <palves@redhat.com>
490
491 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
492 Tighten regexp by matching with an anchor.
493
494 2017-12-13 Pedro Alves <palves@redhat.com>
495
496 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
497 ("expression with namespace"): New set of tests.
498 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
499 (Nested::Test_NS::qux): New.
500 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
501 defaults to 'start_quote_char' and 'end_quote_char' parameters.
502
503 2017-12-13 Joel Brobecker <brobecker@adacore.com>
504
505 * gdb.base/server-del-break.c: New file.
506 * gdb.base/server-del-break.exp: New file.
507
508 2017-12-12 Stafford Horne <shorne@gmail.com>
509
510 * gdb.xml/tdesc-regs.exp: Add or1k support.
511
512 2017-12-12 Stafford Horne <shorne@gmail.com>
513
514 * gdb.base/bp-permanent.c: Define nop of or1k.
515
516 2017-12-11 Joel Brobecker <brobecker@adacore.com>
517
518 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
519 output with components being reordered.
520
521 2017-12-11 Joel Brobecker <brobecker@adacore.com>
522
523 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
524 output with components being reordered.
525
526 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
527 Pedro Alves <palves@redhat.com>
528
529 * gdb.base/maint.exp (check for .gdb_index): Check also for
530 .debug_names.
531 * gdb.dlang/watch-loc.c (.debug_aranges): New.
532 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
533 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
534 (.gdb_index used after symbol reloading): Support also .debug_names.
535 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
536
537 2017-12-08 Yao Qi <yao.qi@linaro.org>
538
539 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
540 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
541
542 2017-12-08 Yao Qi <yao.qi@linaro.org>
543
544 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
545 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
546
547 2017-12-08 Yao Qi <yao.qi@linaro.org>
548
549 * gdb.arch/aarch64-tagged-pointer.c: New file.
550 * gdb.arch/aarch64-tagged-pointer.exp: New file.
551
552 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
553
554 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
555 "int".
556
557 2017-12-07 Keith Seitz <keiths@redhat.com>
558
559 PR breakpoints/22569
560 * gdb.linespec/ls-errs.exp: Change expected result of "break
561 -source this file has spaces.c -line 3".
562 Check that an explicit source file followed by whitespace is
563 identified as an invalid explicit location.
564
565 2017-12-07 Keith Seitz <keiths@redhat.com>
566
567 * gdb.cp/nested-types.cc: New file.
568 * gdb.cp/nested-types.exp: New file.
569 * lib/cp-support.exp: Load data-structures.exp library.
570 (debug_cp_test_ptype_class): New global.
571 (cp_ptype_class_verbose, next_line): New procedures.
572 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
573 Add and document new return value.
574 Switch the list of lines to a queue.
575 Add support for new `type' key for nested type definitions.
576 Add debugging/troubleshooting messages.
577 * lib/data-structures.exp: New file.
578
579 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
580
581 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
582 with proc_with_prefix, don't use with_test_prefix.
583
584 2017-12-07 Tom Tromey <tom@tromey.com>
585
586 * gdb.base/break.exp: Add test for empty "commands".
587
588 2017-12-07 Yao Qi <yao.qi@linaro.org>
589
590 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
591 malloc and catch syscall.
592
593 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
594
595 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
596 tests for explicit locations.
597
598 2017-12-06 Pedro Alves <palves@redhat.com>
599
600 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
601 force-disabling XML descriptions.
602
603 2017-12-04 Pedro Alves <palves@redhat.com>
604
605 PR gdb/22499
606 * gdb.arch/amd64-disp-step-avx.S: New file.
607 * gdb.arch/amd64-disp-step-avx.exp: New file.
608
609 2017-12-03 Pedro Alves <palves@redhat.com>
610
611 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
612 and <string.h>.
613 (parent_function): Print distinct messages when waitpid fails, or
614 the child exits with a signal, or the child exits for an unhandled
615 reason.
616 * gdb.threads/process-dies-while-detaching.exp
617 (detach_and_expect_exit): New 'inf_output_re' parameter and use
618 it. Wait for both inferior output and GDB's prompt. Use an
619 indirect spawn id list.
620 (do_detach): New parameter 'child_exit'. Use it to compute
621 expected inferior output.
622 (test_detach, test_detach_watch, test_detach_killed_outside):
623 Adjust to pass down the expected child exit kind.
624
625 2017-12-01 Joel Brobecker <brobecker@adacore.com>
626 Sergio Durigan Junior <sergiodj@redhat.com>
627 Pedro Alves <palves@redhat.com>
628
629 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
630
631 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
632
633 * gdb.base/relocate.exp: Add tests to guarantee that arguments
634 to 'symbol-file' and 'add-symbol-file' can be
635 position-independent.
636
637 2017-12-01 Yao Qi <yao.qi@linaro.org>
638
639 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
640 the URL in copyright header.
641 * gdb.arch/aarch64-fp.exp: Likewise.
642 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
643 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
644 * gdb.base/expand-psymtabs.exp: Likewise.
645 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
646 * gdb.fortran/common-block.exp: Likewise.
647 * gdb.fortran/common-block.f90: Likewise.
648 * gdb.fortran/logical.exp: Likewise.
649 * gdb.fortran/vla-datatypes.f90: Likewise.
650 * gdb.fortran/vla-sub.f90: Likewise.
651
652 2017-11-30 Joel Brobecker <brobecker@adacore.com>
653
654 * gdb.ada/repeat_dyn: New testcase.
655
656 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
657
658 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
659 Update for changed thread numbering.
660 * gdb.cell/bt.exp: Update for changed GDB output.
661
662 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
663
664 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
665 setting isremote by hand.
666 * boards/dwarf4-gdb-index.exp: Likewise.
667 * boards/fission.exp: Likewise.
668 * boards/stabs.exp: Likewise.
669
670 2017-11-30 Pedro Alves <palves@redhat.com>
671
672 * gdb.linespec/cpls-ops.exp
673 (check_explicit_skips_function_argument): Extract the underlying
674 type of size_t instead of hardcoding it.
675
676 2017-11-29 Pedro Alves <palves@redhat.com>
677
678 PR c++/19436
679 * gdb.linespec/cpls-abi-tag.cc: New file.
680 * gdb.linespec/cpls-abi-tag.exp: New file.
681
682 2017-11-29 Pedro Alves <palves@redhat.com>
683
684 * gdb.base/langs.exp: Use -qualified.
685 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
686 it.
687 * gdb.cp/namespace.exp: Use -qualified.
688 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
689 (overload-3, template-overload, template-ret-type, const-overload)
690 (const-overload-quoted, anon-ns, ambiguous-prefix): New
691 procedures.
692 (test_driver): Call them.
693 * gdb.cp/save-bp-qualified.cc: New.
694 * gdb.cp/save-bp-qualified.exp: New.
695 * gdb.linespec/explicit.exp: Test -qualified.
696 * lib/completion-support.exp (completion::explicit_opts_list): Add
697 "-qualified".
698 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
699
700 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
701
702 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
703
704 2017-11-29 Tom Tromey <tom@tromey.com>
705
706 * gdb.base/relocate.exp: Update invalid argument test.
707 Add new tests for invalid arguments.
708
709 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
710
711 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
712 Return 0 as a long.
713 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
714
715 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
716
717 * gdb.cp/breakpoint.cc (bar): Set return type to void.
718 * gdb.cp/psymtab-parameter.cc (func): Likewise.
719 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
720 func ().
721 * gdb.cp/shadow.cc (B.func): Return 0.
722
723 2017-11-27 Joel Brobecker <brobecker@adacore.com>
724
725 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
726 expected output in gdb_expect call to allow the exception
727 message to be present as well. Fix syntax confusion to avoid
728 TCL thinking that exception_name is an array.
729
730 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
731
732 * gdb.arch/spu-info.c: Include <unistd.h>.
733 (do_signal_test): Fix broken calls to write.
734 * gdb.arch/spu-info.exp: Use prepare_for_testing.
735 Fix checks for empty mailboxes. Update signal tests for corrected
736 do_signal_test routine. Allow nonzero event status.
737 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
738 * gdb.cell/arch.exp: Use standard_output_file.
739 * gdb.cell/break.exp: Likewise.
740 * gdb.cell/bt.exp: Likewise.
741 * gdb.cell/core.exp: Likewise.
742 * gdb.cell/dwarfaddr.exp: Likewise.
743 * gdb.cell/ea-cache.exp: Likewise.
744 * gdb.cell/ea-standalone.exp: Likewise.
745 * gdb.cell/f-regs.exp: Likewise.
746 * gdb.cell/fork.exp: Likewise.
747 * gdb.cell/gcore.exp: Likewise.
748 * gdb.cell/mem-access.exp: Likewise.
749 * gdb.cell/ptype.exp: Likewise.
750 * gdb.cell/registers.exp: Likewise.
751 * gdb.cell/sizeof.exp: Likewise.
752 * gdb.cell/solib-symbol.exp: Likewise.
753 * gdb.cell/solib.exp: Likewise.
754
755 2017-11-25 Pedro Alves <palves@redhat.com>
756
757 * gdb.base/complete-empty.exp: New file.
758 * gdb.base/completion.exp: Adjust.
759
760 2017-11-25 Pedro Alves <palves@redhat.com>
761
762 * gdb.linespec/cpls-ops.cc: New file.
763 * gdb.linespec/cpls-ops.exp: New file.
764 * lib/completion-support.exp (test_complete_prefix_range_re): New,
765 factored out from ...
766 (test_complete_prefix_range): ... this.
767
768 2017-11-24 Pedro Alves <palves@redhat.com>
769
770 * gdb.linespec/cpcompletion.exp: New file.
771 * gdb.linespec/cpls-hyphen.cc: New file.
772 * gdb.linespec/cpls.cc: New file.
773 * gdb.linespec/cpls2.cc: New file.
774 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
775 test to use test_gdb_complete_unique. Add label completion,
776 keyword completion and explicit location completion tests.
777 * lib/completion-support.exp: New file.
778
779 2017-11-24 Joel Brobecker <brobecker@adacore.com>
780
781 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
782 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
783 when hitting an exception catchpoint.
784
785 2017-11-22 Yao Qi <yao.qi@linaro.org>
786
787 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
788
789 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
790
791 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
792 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
793 * gdb.dwarf2/info-locals-optimized-out.c: New file.
794
795 2017-11-22 Yao Qi <yao.qi@linaro.org>
796
797 * gdb.base/info-os.exp: Pass pthreads.
798 * gdb.multi/multi-attach.exp: Likewise.
799
800 2017-11-22 Yao Qi <yao.qi@linaro.org>
801
802 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
803 compiler.
804
805 2017-11-22 Yao Qi <yao.qi@linaro.org>
806
807 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
808 * gdb.base/break-interp.exp: Likewise.
809 * gdb.base/jit-attach-pie.exp: Likewise.
810
811 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
812
813 * gdb.base/float128.c (large128): New variable.
814 * gdb.base/float128.exp: Add test to print largest __float128 value.
815
816 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
817
818 * gdb.arch/vsx-regs.exp: Update register content checks.
819
820 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
821
822 * gdb.arch/ppc-longdouble.exp: New file.
823 * gdb.arch/ppc-longdouble.c: Likewise.
824
825 2017-11-21 Pedro Alves <palves@redhat.com>
826
827 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
828
829 2017-11-20 Pedro Alves <palves@redhat.com>
830
831 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
832 (long_double_typedef): New typedefs.
833 Use DEF on double and long double.
834 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
835 cases.
836 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
837 and 'long_double_ptr_same_size' locals. Use them to decide
838 whether cast from array/function to float is valid/invalid.
839
840 2017-11-17 Tom Tromey <tom@tromey.com>
841
842 * gdb.rust/traits.rs: New file.
843 * gdb.rust/traits.exp: New file.
844
845 2017-11-17 Joel Brobecker <brobecker@adacore.com>
846
847 * gdb.ada/minsyms: New testcase.
848
849 2017-11-16 Pedro Alves <palves@redhat.com>
850
851 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
852 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
853
854 2017-11-16 Pedro Alves <palves@redhat.com>
855
856 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
857 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
858
859 2017-11-16 Pedro Alves <palves@redhat.com>
860
861 * gdb.server/reconnect-ctrl-c.c: New file.
862 * gdb.server/reconnect-ctrl-c.exp: New file.
863
864 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
865
866 * gdb.python/py-rbreak.exp: New file.
867 * gdb.python/py-rbreak.c: New file.
868 * gdb.python/py-rbreak-func2.c: New file.
869
870 2017-11-16 Pedro Alves <palves@redhat.com>
871
872 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
873 pattern.
874 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
875 GDB.
876
877 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
878
879 * gdb.tui/completionn.exp (test_tab_completion): Add space in
880 regex.
881
882 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
883
884 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
885 test names.
886
887 2017-11-09 Pedro Alves <palves@redhat.com>
888
889 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
890 factored out from ...
891 (top level): ... here, and adjusted to avoid expecting beyond the
892 prompt in a single gdb_test_multiple.
893
894 2017-11-09 Pedro Alves <palves@redhat.com>
895
896 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
897 output.
898 * gdb.server/ext-attach.exp ("kill" test): Likewise.
899 * gdb.server/ext-restart.exp ("kill" test): Likewise.
900 * gdb.server/ext-run.exp ("kill" test): Likewise.
901 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
902
903 2017-11-09 Pedro Alves <palves@redhat.com>
904
905 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
906 match till end of line.
907
908 2017-11-09 Pedro Alves <palves@redhat.com>
909
910 * gdb.base/memattr.exp: Tighten regexes to match the end line.
911
912 2017-11-09 Pedro Alves <palves@redhat.com>
913
914 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
915 New procedures, factored out from ...
916 (top level): ... here, and adjusted to avoid expecting beyond the
917 prompt in one go.
918
919 2017-11-09 Pedro Alves <palves@redhat.com>
920
921 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
922 output. Fix '?' match.
923
924 2017-11-08 Joel Brobecker <brobecker@adacore.com>
925
926 * gdb.ada/scoped_watch: New testcase.
927 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
928 which is actually correct.
929 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
930 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
931
932 2017-11-08 Pedro Alves <palves@redhat.com>
933
934 * gdb.gdb/complaints.exp (test_initial_complaints)
935 (test_serial_complaints, test_short_complaints): Call
936 complaint_internal instead of complaint.
937
938 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
939
940 * gdb.threads/tls-core.c: New file.
941 * gdb.threads/tls-core.exp: Likewise.
942
943 2017-11-08 Pedro Alves <palves@redhat.com>
944
945 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
946 (p Exported_Capitalized): New test.
947 (p exported_capitalized): New test.
948
949 2017-11-07 Pedro Alves <palves@redhat.com>
950
951 * gdb.cp/ena-dis-br-range.exp: Add more tests.
952
953 2017-11-07 Pedro Alves <palves@redhat.com>
954
955 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
956 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
957 (disable_invalid, disable_inverted, disable_negative): New
958 procedures.
959 ("bad numbers"): New set of tests.
960
961 2017-11-07 Pedro Alves <palves@redhat.com>
962
963 * gdb.cp/ena-dis-br-range.exp: Add tests.
964
965 2017-11-07 Pedro Alves <palves@redhat.com>
966
967 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
968
969 2017-11-07 Xavier Roirand <roirand@adacore.com>
970 Pedro Alves <palves@redhat.com>
971
972 * gdb.base/ena-dis-br.exp: Add reference to
973 gdb.cp/ena-dis-br-range.exp.
974 * gdb.cp/ena-dis-br-range.exp: New file.
975 * gdb.cp/ena-dis-br-range.cc: New file.
976
977 2017-11-06 Pedro Alves <palves@redhat.com>
978
979 * gdb.base/attach-non-pgrp-leader.c: New.
980 * gdb.base/attach-non-pgrp-leader.exp: New.
981
982 2017-11-06 Pedro Alves <palves@redhat.com>
983
984 * configure.ac: No longer check for termio.h and sgtty.h.
985 * configure: Regenerate.
986 * remote-utils.c: Include termios.h instead of gdb_termios.h.
987 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
988 Remove termio and sgtty code.
989
990 2017-11-03 Yao Qi <yao.qi@linaro.org>
991
992 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
993 in GDB is disabled.
994
995 2017-11-03 Yao Qi <yao.qi@linaro.org>
996
997 * gdb.python/py-thrhandle.exp: Skip it if python is not
998 enabled.
999
1000 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
1001
1002 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
1003 as a breakpoint command.
1004
1005 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
1006
1007 PR python/21213
1008 * gdb.python/py-infthread.exp: Test calling
1009 InferiorThread.inferior () multiple times in a row.
1010
1011 2017-10-27 Keith Seitz <keiths@redhat.com>
1012
1013 * gdb.opt/inline-break.exp (break_info_1): New procedure.
1014 Test "info break" for every inlined function breakpoint.
1015
1016 2017-10-27 Yao Qi <yao.qi@linaro.org>
1017
1018 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
1019
1020 2017-10-26 Patrick Frants <osscontribute@gmail.com>
1021
1022 * gdb.cp/classes.exp (test_static_members): Test printing
1023 Outer::instance.
1024 * gdb.cp/classes.c (struct Inner, struct Outer): New.
1025 (Inner::instance, Outer::instance): New.
1026
1027 2017-10-24 Pedro Alves <palves@redhat.com>
1028
1029 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
1030 extra console" test in two stages.
1031
1032 2017-10-24 Pedro Alves <palves@redhat.com>
1033
1034 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
1035
1036 2017-10-24 Pedro Alves <palves@redhat.com>
1037
1038 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
1039 loop.
1040
1041 2017-10-24 Pedro Alves <palves@redhat.com>
1042
1043 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
1044 $attempt" and "stoppedtry $stoppedtry" test prefixes.
1045
1046 2017-10-24 Pedro Alves <palves@redhat.com>
1047
1048 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
1049 parameter and handle it. Don't output read value in test name.
1050
1051 2017-10-24 Pedro Alves <palves@redhat.com>
1052
1053 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
1054 custom test name.
1055
1056 2017-10-24 Pedro Alves <palves@redhat.com>
1057
1058 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
1059 include the unstable output directory name in the test's name.
1060 (initial_setup_simple) <'set args'>: Use custom test name.
1061
1062 2017-10-24 Pedro Alves <palves@redhat.com>
1063
1064 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
1065 with explicit test name.
1066
1067 2017-10-20 Pedro Alves <palves@redhat.com>
1068
1069 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
1070 'wait -i'. Use gdb_assert and remote_close.
1071
1072 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
1073
1074 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
1075 number from variable rather than hard-coded.
1076
1077 2017-10-19 Pedro Alves <palves@redhat.com>
1078
1079 * gdb.base/long-inferior-output.c: New file.
1080 * gdb.base/long-inferior-output.exp: New file.
1081
1082 2017-11-18 Keith Seitz <keiths@redhat.com>
1083
1084 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
1085 method.
1086 (main): Call it.
1087 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
1088 Add additional user-defined conversion operator tests.
1089
1090 2017-10-17 Pedro Alves <palves@redhat.com>
1091
1092 * boards/native-stdio-gdbserver.exp: Load "local-board".
1093
1094 2017-10-17 Pedro Alves <palves@redhat.com>
1095
1096 * gdb.base/quit-live.c: New file.
1097 * gdb.base/quit-live.exp: New file.
1098
1099 2017-10-16 Keith Seitz <keiths@redhat.com>
1100
1101 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
1102 (class_with_protected_typedef, class_with_private_typedef)
1103 (struct_with_public_typedef, struct_with_protected_typedef)
1104 (struct_with_private_typedef): New classes/structs.
1105 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
1106 typedefs and access specifiers.
1107
1108 2017-10-16 Pedro Alves <palves@redhat.com>
1109 Simon Marchi <simon.marchi@polymtl.ca>
1110
1111 * README (Local vs Remote vs Native): New section.
1112 * boards/local-board.exp: New file, with bits factored out from
1113 ...
1114 * boards/native-extended-gdbserver.exp: ... here. Load
1115 "local-board".
1116 * boards/native-gdbserver.exp: Load "local-board".
1117 (${board}_spawn, ${board}_exec): Delete.
1118 * boards/native-stdio-gdbserver.exp: Most contents factored out to
1119 ...
1120 * boards/stdio-gdbserver-base.exp: ... this new file.
1121 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
1122 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
1123 procedure.
1124 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
1125 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
1126 stdio_gdbserver_command.
1127 (${board}_get_remote_address, ${board}_get_comm_port)
1128 (${board}_download, ${board}_upload): Delete.
1129 (get_target_remote_pipe_cmd): New.
1130
1131 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
1132
1133 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
1134 test_bkpt_deletion, test_bkpt_cond_and_cmds,
1135 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
1136 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
1137 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
1138 remove with_test_prefix.
1139
1140 2017-10-13 Pedro Alves <palves@redhat.com>
1141
1142 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
1143 * gdb.base/annota1.exp: Use it instead of is_remote.
1144 * gdb.base/annota3.exp: Use it instead of is_remote.
1145 * gdb.cp/annota2.exp: Use it instead of is_remote.
1146 * gdb.cp/annota3.exp: Use it instead of is_remote.
1147 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
1148
1149 2017-10-13 Pedro Alves <palves@redhat.com>
1150
1151 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
1152 (test_num_test_vars, run_and_count_vars, find_env)
1153 (test_set_unset_env, test_inherit_env_var): New procedures.
1154 (top level): Use them.
1155
1156 2017-10-13 Pedro Alves <palves@redhat.com>
1157
1158 * lib/selftest-support.exp (selftest_setup): Extend comments, and
1159 also skip on stub-like targets.
1160
1161 2017-10-13 Pedro Alves <palves@redhat.com>
1162
1163 PR gdb/22293
1164 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
1165 (top level): Move some tests to ...
1166 (test_not_found): ... this new procedure.
1167 (top level): Call it.
1168
1169 2017-10-13 Pedro Alves <palves@redhat.com>
1170
1171 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
1172 expect different "info terminal" output if testing with a
1173 non-native target.
1174
1175 2017-10-13 Pedro Alves <palves@redhat.com>
1176 Simon Marchi <simon.marchi@polymtl.ca>
1177
1178 PR python/12966
1179 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
1180
1181 2017-10-13 Pedro Alves <palves@redhat.com>
1182
1183 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
1184 already.
1185
1186 2017-10-13 Pedro Alves <palves@redhat.com>
1187
1188 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
1189 is_remote.
1190
1191 2017-10-13 Pedro Alves <palves@redhat.com>
1192
1193 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
1194 is_remote.
1195
1196 2017-10-13 Pedro Alves <palves@redhat.com>
1197
1198 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
1199 is set.
1200 (corefile_test_attach): Likewise. Check can_spawn_for_attach
1201 instead of is_remote.
1202
1203 2017-10-13 Pedro Alves <palves@redhat.com>
1204
1205 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
1206 (top level): Add comment.
1207
1208 2017-10-13 Pedro Alves <palves@redhat.com>
1209
1210 * gdb.base/remote.exp (top level): Fix comment typo and add
1211 missing return.
1212
1213 2017-10-13 Pedro Alves <palves@redhat.com>
1214 Simon Marchi <simon.marchi@polymtl.ca>
1215
1216 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
1217 calls and add comments. Skip test if use_gdb_stub is set.
1218 (top level): Use "set cwd" command instead of "cd" command.
1219
1220 2017-10-13 Pedro Alves <palves@redhat.com>
1221
1222 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
1223 is_remote target check.
1224
1225 2017-10-13 Pedro Alves <palves@redhat.com>
1226
1227 * gdb.base/scope.exp: Use build_executable + clean_restart +
1228 gdb_file_cmd instead of prepare_for_testing and no longer skip
1229 "before run" tests on is_remote target boards. Update comments.
1230 * boards/native-extended-gdbserver.exp
1231 (extended_gdbserver_load_last_file): New, factored out from ...
1232 (gdb_load): ... this. Move further below and add comment.
1233 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
1234
1235 2017-10-12 Pedro Alves <palves@redhat.com>
1236
1237 * gdb.base/attach.exp: Remove references to gdb64.
1238 * gdb.base/dbx.exp: Remove references to gdb64.
1239
1240 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
1241 Pedro Alves <palves@redhat.com>
1242
1243 * gdb.base/label.exp: Remove is_remote target check.
1244
1245 2017-10-12 Pedro Alves <palves@redhat.com>
1246
1247 * gdb.base/auvx.exp (coredir): Update comment.
1248 (top level) <core_works>: Use "set cwd" command instead of "cd"
1249 command.
1250
1251 2017-10-12 Pedro Alves <palves@redhat.com>
1252 Simon Marchi <simon.marchi@polymtl.ca>
1253
1254 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
1255 target boards.
1256
1257 2017-10-12 Pedro Alves <palves@redhat.com>
1258 Simon Marchi <simon.marchi@polymtl.ca>
1259
1260 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
1261 Instead skip if there's any gdb_protocol set.
1262
1263 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
1264 Pedro Alves <palves@redhat.com>
1265
1266 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
1267
1268 2017-10-12 Pedro Alves <palves@redhat.com>
1269 Simon Marchi <simon.marchi@polymtl.ca>
1270
1271 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
1272 instead of on dejagnu remote boards.
1273
1274 2017-10-12 Pedro Alves <palves@redhat.com>
1275 Simon Marchi <simon.marchi@polymtl.ca>
1276
1277 * gdb.base/inferior-died.exp: Remove is_remote and isnative
1278 checks. Use build_executable + clean_restart instead of
1279 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
1280 of enabling non-stop after starting gdb.
1281
1282 2017-10-12 Pedro Alves <palves@redhat.com>
1283
1284 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
1285 * gdb.threads/non-ldr-exc-2.exp: Ditto.
1286 * gdb.threads/non-ldr-exc-3.exp: Ditto.
1287 * gdb.threads/non-ldr-exc-4.exp: Ditto.
1288
1289 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
1290
1291 * gdb.arch/arc-tdesc-cpu.exp: New file.
1292 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
1293
1294 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
1295
1296 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
1297
1298 2017-10-10 Pedro Alves <palves@redhat.com>
1299
1300 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
1301 expect CLI output.
1302
1303 2017-10-10 Pedro Alves <palves@redhat.com>
1304
1305 * lib/selftest-support.exp (selftest_setup): Update for
1306 captured_command_loop's prototype change.
1307
1308 2017-10-09 Pedro Alves <palves@redhat.com>
1309
1310 Test both arch1=>arch2 and arch2=>arch1.
1311
1312 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
1313 (srcfile2, binfile2, march1, march2): Remove globals. Largely
1314 factored out to...
1315 (append_arch1_options, append_arch2_options, append_arch_options)
1316 (build_executables): New procedures.
1317 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
1318 local.
1319 (top level): Add new 'first_arch' testing axis.
1320
1321 2017-10-09 Pedro Alves <palves@redhat.com>
1322
1323 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
1324 (barrier): New.
1325 (thread_start, all_started): New functions.
1326 (main): Spawn new thread and wait until it is scheduled.
1327 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
1328 option.
1329 (do_test): Add 'selected_thread' parameter. Run to all_started
1330 instead of main. Explicitly set the breakpoint at main. Switch
1331 to the SELECTED_THREAD thread.
1332 (top level): Test handling the exec event with either the main
1333 thread or the second thread selected.
1334
1335 2017-10-09 Pedro Alves <palves@redhat.com>
1336
1337 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
1338 logic. Move STOP marker after the value checks.
1339 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
1340 regexp.
1341
1342 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
1343
1344 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
1345
1346 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
1347
1348 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
1349 integer-to-dfp conversion.
1350 * gdb.base/dfp-test.exp: Likewise.
1351
1352 2017-10-04 Pedro Alves <palves@redhat.com>
1353
1354 * gdb.multi/hangout.c: Include <unistd.h>.
1355 (hangout_loop): New function.
1356 (main): Call alarm. Call hangout_loop in a loop.
1357 * gdb.multi/hello.c: Include <unistd.h>.
1358 (hello_loop): New function.
1359 (main): Call alarm. Call hangout_loop in a loop.
1360 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
1361 inferior with the other selected.
1362
1363 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
1364
1365 * gdb.mi/list-thread-groups-available.exp: New file.
1366 * gdb.mi/list-thread-groups-available.c: New file.
1367
1368 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
1369
1370 * gdb.base/set-cwd.exp: Make it available on
1371 native-extended-gdbserver.
1372
1373 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
1374
1375 * gdb.base/set-cwd.c: New file.
1376 * gdb.base/set-cwd.exp: Likewise.
1377
1378 2017-10-02 Tom Tromey <tom@tromey.com>
1379
1380 PR rust/22236:
1381 * gdb.rust/simple.rs (main): New variable "fslice".
1382 * gdb.rust/simple.exp: Add slice tests. Update string tests.
1383
1384 2017-10-02 Tom Tromey <tom@tromey.com>
1385
1386 * gdb.rust/simple.exp: Test ptype of a slice.
1387
1388 2017-10-02 Tom Tromey <tom@tromey.com>
1389
1390 * gdb.rust/simple.exp: Test index of slice.
1391
1392 2017-09-27 Tom Tromey <tom@tromey.com>
1393
1394 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
1395
1396 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
1397 Pedro Alves <palves@redhat.com>
1398
1399 * gdb.base/compare-sections.exp (get value of read-only section): Read
1400 as unsigned value.
1401 (corrupt read-only section): Likewise and don't set written if patching
1402 failed.
1403
1404 2017-09-21 Kevin Buettner <kevinb@redhat.com>
1405
1406 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
1407 files.
1408
1409 2017-09-20 Pedro Alves <palves@redhat.com>
1410
1411 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
1412 symbol names in gdb's output.
1413 * gdb.cp/overload.exp ("list all overloads"): Likewise.
1414
1415 2017-09-20 Pedro Alves <palves@redhat.com>
1416
1417 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
1418 Rename to ...
1419 (test_list_ambiguous_symbol): ... this and add a symbol name
1420 parameter. Adjust.
1421 (test_list_ambiguous_function): Reimplement on top of
1422 test_list_ambiguous_symbol and also test listing ambiguous
1423 variables.
1424 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
1425 (ambiguous_fun): ... this.
1426 (ambiguous_var): New.
1427 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
1428 (ambiguous_fun): ... this.
1429 (ambiguous_var): New.
1430
1431 2017-09-19 John Baldwin <jhb@FreeBSD.org>
1432
1433 * gdb.base/starti.c: New file.
1434 * gdb.base/starti.exp: New file.
1435 * lib/gdb.exp (gdb_starti_cmd): New procedure.
1436
1437 2017-09-14 Pedro Alves <palves@redhat.com>
1438
1439 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
1440 (top level): Use it instead of runto.
1441
1442 2017-09-11 Tom Tromey <tom@tromey.com>
1443
1444 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
1445
1446 2017-09-11 Tom Tromey <tom@tromey.com>
1447
1448 * gdb.python/py-infthread.exp: Add tests for new_thread event.
1449 * gdb.python/py-inferior.exp: Add tests for new inferior events.
1450
1451 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
1452
1453 * gdb.fortran/printing-types.exp: New file.
1454 * gdb.fortran/printing-types.exp: New file.
1455
1456 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
1457
1458 * gdb.fortran/vla-ptype.exp: Fix typos.
1459 * gdb.fortran/vla-value.exp: Same.
1460
1461 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
1462
1463 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
1464 * gdb.mi/mi-var-child-f.exp: Likewise.
1465 * gdb.mi/mi-vla-fortran.exp: Likewise.
1466
1467 2017-09-08 Frank Penczek <frank.penczek@intel.com>
1468 Christoph Weinmann <christoph.t.weinmann@intel.com>
1469 Bernhard Heckel <bernhard.heckel@intel.com>
1470
1471 * gdb.fortran/ptr-indentation.f90: New file.
1472 * gdb.fortran/ptr-indentation.exp: New file.
1473
1474 2017-09-05 Tom Tromey <tom@tromey.com>
1475
1476 PR gdb/22010:
1477 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
1478
1479 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
1480
1481 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
1482
1483 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1484
1485 * gdb.threads/tls-nodebug-pie.c: New file.
1486 * gdb.threads/tls-nodebug-pie.exp: New file.
1487
1488 2017-09-05 Tom Tromey <tom@tromey.com>
1489
1490 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
1491 for rust.
1492
1493 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
1494
1495 * gdb.multi/multi-arch-exec.exp: Test with different
1496 "follow-exec-mode" settings.
1497 (do_test): New procedure.
1498
1499 2017-09-04 Pedro Alves <palves@redhat.com>
1500
1501 * gdb.base/func-static.c (S::method const, S::method volatile)
1502 (S::method volatile const): New methods.
1503 (c_s, v_s, cv_s): New instances.
1504 (main): Call method() on them.
1505 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
1506 (cannot_resolve): New procedure.
1507 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
1508 print-quote-unquoted columns.
1509 (do_test): Test printing each scope too.
1510
1511 2017-09-04 Pedro Alves <palves@redhat.com>
1512
1513 * gdb.base/local-static.exp: Also test with
1514 class::method::variable wholly quoted.
1515 * gdb.cp/m-static.exp (class::method::variable): Remove test.
1516
1517 2017-09-04 Pedro Alves <palves@redhat.com>
1518
1519 * gdb.base/local-static.c: New.
1520 * gdb.base/local-static.cc: New.
1521 * gdb.base/local-static.exp: New.
1522
1523 2017-09-04 Pedro Alves <palves@redhat.com>
1524
1525 * gdb.asm/asm-source.exp: Add casts to int.
1526 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
1527 (dataglobal64_1, dataglobal64_2): New globals.
1528 * gdb.base/nodebug.exp: Test different expressions involving the
1529 new globals, with print, whatis and ptype. Add casts to int.
1530 * gdb.base/solib-display.exp: Add casts to int.
1531 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
1532 * gdb.cp/m-static.exp: Add cast to int.
1533 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
1534 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
1535 tls variable with no debug info without a cast. Test with a cast
1536 to int too.
1537 * gdb.trace/entry-values.exp: Add casts.
1538
1539 2017-09-04 Pedro Alves <palves@redhat.com>
1540
1541 * gdb.base/nodebug.exp: Test that ptype's error about functions
1542 with unknown return type includes the function name too.
1543
1544 2017-09-04 Pedro Alves <palves@redhat.com>
1545
1546 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
1547 return type of munmap in infcall.
1548 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
1549 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
1550 type of ftell in infcall.
1551 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
1552 type of getpid in infcall.
1553 * gdb.base/infcall-exec.exp: Cast return type of execlp in
1554 infcall.
1555 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
1556 Bail on failure to extract the pid.
1557 * gdb.base/nodebug.c: #include <stdint.h>.
1558 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
1559 New functions.
1560 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
1561 Change expected output of print/whatis/ptype with functions with
1562 no debug info. Test all supported languages. Call
1563 test_call_promotion.
1564 * gdb.compile/compile.exp: Adjust expected output to expect
1565 warning.
1566 * gdb.threads/siginfo-threads.exp: Likewise.
1567
1568 2017-09-04 Pedro Alves <palves@redhat.com>
1569
1570 * gdb.base/callfuncs.exp (do_function_calls): New parameter
1571 "prototypes". Test calling float functions via prototyped and
1572 unprototyped function pointers.
1573 (perform_all_tests): New parameter "prototypes". Pass it down.
1574 (top level): Pass down "prototypes" parameter to
1575 perform_all_tests.
1576
1577 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
1578
1579 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
1580 Test with nested loops.
1581
1582 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
1583
1584 * gdb.base/commands.exp: Call the new procedures.
1585 (loop_break_test, loop_continue_test): New procedures.
1586
1587 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
1588
1589 * gdb.base/commands.exp: Call new procedure.
1590 (define_if_without_arg_test): New procedure.
1591
1592 2017-09-04 Pedro Alves <palves@redhat.com>
1593
1594 * gdb.base/list-ambiguous.exp: New file.
1595 * gdb.base/list-ambiguous0.c: New file.
1596 * gdb.base/list-ambiguous1.c: New file.
1597 * gdb.base/list.exp (test_list_range): Adjust expected output.
1598
1599 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
1600
1601 * gdb.base/share-env-with-gdbserver.c: New file.
1602 * gdb.base/share-env-with-gdbserver.exp: Likewise.
1603
1604 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
1605
1606 * gdb.base/commands.exp (gdbvar_simple_if_test,
1607 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
1608 progvar_simple_if_test, progvar_simple_while_test,
1609 progvar_complex_if_while_test, user_defined_command_test,
1610 user_defined_command_args_eval,
1611 user_defined_command_args_stack_test,
1612 user_defined_command_manyargs_test, bp_deleted_in_command_test,
1613 temporary_breakpoint_commands,
1614 gdb_test_no_prompt, redefine_hook_test,
1615 redefine_backtrace_test): Remove "global gdb_prompt".
1616
1617 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
1618
1619 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
1620 New proc, call it from toplevel.
1621
1622 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
1623
1624 PR remote/21852
1625 * gdb.server/normal.c: New file, copied from gdb.base.
1626 * gdb.server/run-without-local-binary.exp: New file.
1627
1628 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
1629
1630 * gdb.arch/sparc64-adi.exp: New file.
1631 * gdb.arch/sparc64-adi.c: New file.
1632
1633 2017-08-22 Pedro Alves <palves@redhat.com>
1634
1635 * gdb.cp/overload.exp (line_range_pattern): New procedure.
1636 (top level): Add "list all overloads" tests.
1637
1638 2017-08-22 Tom Tromey <tom@tromey.com>
1639
1640 * gdb.gdb/xfullpath.exp: Remove.
1641
1642 2017-08-21 Pedro Alves <palves@redhat.com>
1643
1644 PR gdb/19487
1645 * gdb.base/symbol-alias.c: New.
1646 * gdb.base/symbol-alias2.c: New.
1647 * gdb.base/symbol-alias.exp: New.
1648
1649 2017-08-21 Pedro Alves <palves@redhat.com>
1650
1651 * gdb.base/dfp-test.c
1652 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
1653 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
1654 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
1655 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
1656 * gdb.base/whatis-ptype-typedefs.c: New.
1657 * gdb.base/whatis-ptype-typedefs.exp: New.
1658 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
1659 (an_int, an_int_type, an_int_type2): New globals.
1660 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
1661 involving typedefs and cast expressions.
1662 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
1663 (lookup_typedefs_function): New.
1664 (typedefs_pretty_printers_dict): New.
1665 (top level): Register lookup_typedefs_function in
1666 gdb.pretty_printers.
1667
1668 2017-08-18 Yao Qi <yao.qi@linaro.org>
1669
1670 * gdb.server/unittest.exp: New.
1671
1672 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
1673
1674 PR gdb/21954
1675 * gdb.base/environ.exp: Add test to check if 'unset environment'
1676 works.
1677
1678 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
1679
1680 * lib/gdb.exp (universal_compile_options): New caching proc.
1681 (gdb_compile): Suppress GCC's coloring of messages.
1682
1683 2017-08-14 Tom Tromey <tom@tromey.com>
1684
1685 PR gdb/21675:
1686 * gdb.base/printcmds.exp (test_radices): New function.
1687 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
1688 * gdb.base/sizeof.exp (check_valueof): Use p/d.
1689 * lib/gdb.exp (get_integer_valueof): Use p/d.
1690
1691 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
1692
1693 * lib/gdb.exp (get_valueof): Don't capture end-of-line
1694 characters.
1695
1696 2017-08-05 Tom Tromey <tom@tromey.com>
1697
1698 * gdb.rust/simple.exp: Allow String to appear in a different
1699 namespace.
1700
1701 2017-07-26 Yao Qi <yao.qi@linaro.org>
1702
1703 * gdb.gdb/unittest.exp: Invoke command
1704 "maintenance check xml-descriptions".
1705
1706 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
1707
1708 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
1709 calling context.
1710 (hex128): Drop erroneous calculation of parameters.
1711
1712 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
1713
1714 * gdb.python/py-unwind.exp: Disable stack protection when
1715 building test file.
1716
1717 2017-07-20 Pedro Alves <palves@redhat.com>
1718
1719 * gdb.base/default.exp (set language): Adjust expected output.
1720
1721 2017-07-20 Pedro Alves <palves@redhat.com>
1722
1723 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
1724 (test_minsym): ... this, and make static.
1725 (get_pck__foo__bar__minsym): Rename to ...
1726 (get_test_minsym): ... this.
1727 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
1728 symbol names and comments.
1729 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
1730 (get_test_minsym): ... this.
1731 (pck__foo__bar__minsym__2): Rename to ...
1732 (test_minsym): ... this.
1733 (main): Adjust.
1734
1735 2017-07-17 Pedro Alves <palves@redhat.com>
1736
1737 * gdb.base/completion.exp: Adjust expected output.
1738 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
1739 the completer works.
1740
1741 2017-07-17 Pedro Alves <palves@redhat.com>
1742
1743 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
1744
1745 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
1746
1747 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
1748
1749 2017-07-14 Tom Tromey <tom@tromey.com>
1750
1751 PR rust/21764:
1752 * gdb.rust/simple.exp: Add tests.
1753
1754 2017-07-14 Tom Tromey <tom@tromey.com>
1755
1756 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
1757
1758 2017-07-14 Pedro Alves <palves@redhat.com>
1759
1760 * gdb.linespec/base/one/thefile.cc (z1): New function.
1761 * gdb.linespec/base/two/thefile.cc (z2): New function.
1762 * gdb.linespec/linespec.exp: Add tests.
1763
1764 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
1765
1766 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
1767 to mi_create_breakpoint.
1768
1769 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
1770
1771 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
1772 mi_create_breakpoint.
1773
1774 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
1775
1776 * gdb.dlang/demangle.exp: Update for demangling changes.
1777
1778 2017-07-09 Tom Tromey <tom@tromey.com>
1779
1780 * gdb.dwarf2/shortpiece.exp: New file.
1781
1782 2017-07-06 David Blaikie <dblaikie@gmail.com>
1783
1784 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
1785 built from fissiont-multi-cu{1,2}.c.
1786 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
1787 except putting 'main' and 'func' in separate CUs in the same DWO file.
1788 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
1789 test.
1790 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
1791 test.
1792
1793 2017-07-06 Pedro Alves <palves@redhat.com>
1794
1795 * gdb.python/py-unwind.exp: Test flushregs.
1796
1797 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
1798
1799 PR cli/21688
1800 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
1801 tests for alias commands and trailing whitespace.
1802
1803 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
1804
1805 PR cli/21688
1806 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
1807 procedure. Call it.
1808
1809 2017-06-29 Pedro Alves <palves@redhat.com>
1810
1811 * gdb.base/printcmds.exp: Add tests.
1812
1813 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
1814
1815 PR gdb/21337
1816 * gdb.base/reread-readsym.exp: New file.
1817 * gdb.base/reread-readsym.c: New file.
1818
1819 2017-06-21 Kevin Buettner <kevinb@redhat.com>
1820
1821 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
1822 subpattern.
1823
1824 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
1825
1826 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
1827 extended mnemonic.
1828 * gdb.arch/powerpc-power9.s: Likewise.
1829
1830 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
1831
1832 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
1833 on 32-bit x86 targets. Exploit is_*_target macros where
1834 appropriate.
1835
1836 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1837
1838 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
1839 register pieces.
1840
1841 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1842
1843 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
1844 located in one or more DWARF pieces.
1845
1846 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1847
1848 * lib/gdb.exp (get_endianness): New proc.
1849 * gdb.arch/aarch64-fp.exp: Use it.
1850 * gdb.arch/altivec-regs.exp: Likewise.
1851 * gdb.arch/e500-regs.exp: Likewise.
1852 * gdb.arch/vsx-regs.exp: Likewise.
1853 * gdb.base/dump.exp: Likewise.
1854 * gdb.base/funcargs.exp: Likewise.
1855 * gdb.base/gnu_vector.exp: Likewise.
1856 * gdb.dwarf2/formdata16.exp: Likewise.
1857 * gdb.dwarf2/implptrpiece.exp: Likewise.
1858 * gdb.dwarf2/nonvar-access.exp: Likewise.
1859 * gdb.python/py-inferior.exp: Likewise.
1860 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
1861
1862 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1863
1864 PR gdb/21226
1865 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
1866 stack value pieces are taken from the LSB end.
1867
1868 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1869
1870 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
1871 variable at nonzero offset.
1872
1873 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1874
1875 * gdb.dwarf2/var-access.c: New file.
1876 * gdb.dwarf2/var-access.exp: New test.
1877 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
1878
1879 2017-06-12 Tom Tromey <tom@tromey.com>
1880
1881 * gdb.dwarf2/formdata16.exp: Add tests.
1882
1883 2017-06-12 Tom Tromey <tom@tromey.com>
1884
1885 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
1886
1887 2017-06-12 Tom Tromey <tom@tromey.com>
1888
1889 PR exp/16225:
1890 * gdb.reverse/i386-sse-reverse.exp: Update tests.
1891 * gdb.arch/vsx-regs.exp: Update tests.
1892 * gdb.arch/s390-vregs.exp (hex128): New proc.
1893 Update test.
1894 * gdb.arch/altivec-regs.exp: Update tests.
1895
1896 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
1897
1898 * gdb.base/startup-with-shell.c: New file.
1899 * gdb.base/startup-with-shell.exp: Likewise.
1900
1901 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
1902
1903 * gdb.server/non-existing-program.exp: Update regex in order to
1904 reflect the fact that gdbserver is now using fork_inferior (with a
1905 shell) to startup the inferior.
1906
1907 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
1908
1909 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
1910 support function calls from GDB.
1911
1912 2017-05-21 Tom Tromey <tom@tromey.com>
1913
1914 PR rust/21466:
1915 * gdb.rust/unsized.exp: New file.
1916 * gdb.rust/unsized.rs: New file.
1917
1918 2017-05-19 Tom Tromey <tom@tromey.com>
1919
1920 PR rust/21484:
1921 * gdb.rust/watch.exp: New file.
1922 * gdb.rust/watch.rs: New file.
1923
1924 2017-05-18 Tom Tromey <tom@tromey.com>
1925
1926 * gdb.rust/simple.exp: Allow Box to be qualified.
1927
1928 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
1929
1930 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
1931
1932 2017-05-18 Pedro Alves <palves@redhat.com>
1933
1934 * gdb.base/fileio.c (test_write, test_read, test_close)
1935 (test_fstat): Don't print 'ret' in the fail path.
1936
1937 2017-05-18 Pedro Alves <palves@redhat.com>
1938
1939 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
1940 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
1941 (test_system, test_rename, test_unlink, test_time): Change
1942 prototypes.
1943 * gdb.base/fileio.exp (stop_msg): Adjust.
1944
1945 2017-05-18 Pedro Alves <palves@redhat.com>
1946
1947 * gdb.base/fileio.c (null_str): New global.
1948 (test_stat): Use it.
1949 * gdb.base/fileio.exp: Remove nowarnings.
1950
1951 2017-05-17 Yao Qi <yao.qi@linaro.org>
1952
1953 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
1954
1955 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
1956
1957 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
1958 argument command.
1959 (top-level): Invoke test_set_inferior_tty.
1960
1961 2017-05-04 Pedro Alves <palves@redhat.com>
1962
1963 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
1964 Add parens to print call for Python 3.
1965
1966 2017-05-03 Keith Seitz <keiths@redhat.com>
1967
1968 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
1969 (main): Call it.
1970
1971 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
1972
1973 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
1974 to prev and next.
1975
1976 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
1977
1978 * gdb.python/py-record-btrace.exp: Remove test for
1979 gdb.BtraceInstruction.error.
1980
1981 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
1982
1983 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
1984
1985 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
1986
1987 * gdb.python/py-record-btrace-threads.c: New file.
1988 * gdb.python/py-record-btrace-threads.exp: New file.
1989
1990 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
1991
1992 PR testsuite/8595
1993 * gdb.base/environ.exp: Make test available in all architectures.
1994 Move bits related to "info program" testing to
1995 gdb.base/info-program.exp. Rewrite tests to use the two new
1996 procedures mentione below.
1997 (test_set_show_env_var) New procedure.
1998 (test_set_show_env_var_equal): Likewise.
1999 * gdb.base/info-program.exp: New file.
2000
2001 2017-04-27 Keith Seitz <keiths@redhat.com>
2002
2003 * gdb.cp/oranking.cc (test15): New function.
2004 (main): Call test15 and declare additional variables for testing.
2005 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
2006 "p foo101('abc')" tests.
2007 Add tests for cv qualifier overloads.
2008 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
2009 "lvalue reference overload" test.
2010 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
2011 "print value of f1 on Child&& in f2" test.
2012
2013 2017-04-19 Pedro Alves <palves@redhat.com>
2014
2015 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
2016 procedure.
2017 (top level): Call it.
2018 * lib/gdb.exp (gdb_define_cmd): New procedure.
2019
2020 2017-04-12 Pedro Alves <palves@redhat.com>
2021
2022 PR gdb/21323
2023 * gdb.cp/wide_char_types.c: Include <wchar.h>.
2024 (wchar): New global.
2025 * gdb.cp/wide_char_types.exp (wide_char_types_program)
2026 (do_test_wide_char, wide_char_types_no_program, top level): Add
2027 wchar_t testing.
2028
2029 2017-04-12 Pedro Alves <palves@redhat.com>
2030
2031 PR c++/21323
2032 * gdb.cp/wide_char_types.c: New file.
2033 * gdb.cp/wide_char_types.exp: New file.
2034
2035 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
2036
2037 PR gdb/21352
2038 * gdb.trace/tsv.exp: Add test for "tsave -r".
2039
2040 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
2041
2042 * gdb.dlang/watch-loc.c: New file.
2043 * gdb.dlang/watch-loc.exp: New file.
2044
2045 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2046
2047 * gdb.python/py-section-script.exp (sepdebug): New testcases.
2048
2049 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
2050
2051 * gdb.arch/arc-analyze-prologue.S: New file.
2052 * gdb.arch/arc-analyze-prologue.exp: Likewise.
2053
2054 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
2055
2056 * gdb.arch/arc-decode-insn.S: New file.
2057 * gdb.arch/arc-decode-insn.exp: Likewise.
2058
2059 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
2060
2061 PR tdep/20928
2062 * gdb.arch/sparc64-regs.exp: New file.
2063 * gdb.arch/sparc64-regs.S: Likewise.
2064
2065 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
2066
2067 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
2068 and memory view on Python 3.
2069
2070 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
2071 Keith Seitz <keiths@redhat.com>
2072
2073 PR gdb/14441
2074 * gdb.cp/demangle.exp: Add rvalue reference tests.
2075 * gdb.cp/rvalue-ref-casts.cc: New file.
2076 * gdb.cp/rvalue-ref-casts.exp: New file.
2077 * gdb.cp/rvalue-ref-overload.cc: New file.
2078 * gdb.cp/rvalue-ref-overload.exp: New file.
2079 * gdb.cp/rvalue-ref-params.cc: New file.
2080 * gdb.cp/rvalue-ref-params.exp: New file.
2081 * gdb.cp/rvalue-ref-sizeof.cc: New file.
2082 * gdb.cp/rvalue-ref-sizeof.exp: New file.
2083 * gdb.cp/rvalue-ref-types.cc: New file.
2084 * gdb.cp/rvalue-ref-types.exp: New file.
2085 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
2086 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
2087
2088 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2089
2090 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
2091 New procedure.
2092
2093 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2094
2095 * lib/mi-support.exp (mi_gdb_test): Add additional message
2096 for unexpected output.
2097
2098 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
2099
2100 * gdb.base/examine-backward.c (Barrier): New character array
2101 constant, to ensure that TestStrings is preceded by a string
2102 terminator.
2103
2104 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2105
2106 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
2107 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
2108 and implicit pointer into such a location.
2109
2110 2017-03-16 Doug Evans <dje@google.com>
2111
2112 * gdb.python/py-lazy-string (pointer): Really add new typedef.
2113
2114 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
2115
2116 * gdb.cp/m-static.exp: Fix expectation for prototype of
2117 test5.single_constructor and single_constructor::single_constructor.
2118
2119 2017-03-16 Doug Evans <dje@google.com>
2120
2121 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
2122 * gdb.guile/scm-lazy-string.c: New file.
2123 * gdb.guile/scm-value.exp: Move lazy string tests to ...
2124 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
2125 for pointer, array, typedef lazy strings.
2126
2127 2017-03-16 Doug Evans <dje@google.com>
2128
2129 PR python/17728, python/18439, python/18779
2130 * gdb.python/py-value.c (main) Delete locals sptr, sn.
2131 * gdb.python/py-lazy-string.c (pointer): New typedef.
2132 (main): New locals ptr, array, typedef_ptr.
2133 * gdb.python/py-value.exp: Move lazy string tests to ...
2134 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
2135 array, typedef lazy strings.
2136
2137 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
2138
2139 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
2140 Add optional 'test' parameter.
2141
2142 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
2143
2144 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
2145 Skip for versions of DejaGnu < 1.5.
2146
2147 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
2148
2149 * lib/gdb.exp (dejagnu_version): New proc.
2150 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
2151 Use dejagnu_version.
2152
2153 2017-03-10 Keith Seitz <keiths@redhat.com>
2154
2155 PR c++/8128
2156 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
2157 type from destructor regexps.
2158 Add a branch which actually passes the test.
2159 Adjust "ptype t5i" test names.
2160
2161 2017-03-08 Pedro Alves <palves@redhat.com>
2162
2163 * gdb.base/step-over-exit.exp: Add explicit test message.
2164
2165 2017-03-08 Pedro Alves <palves@redhat.com>
2166
2167 PR gdb/18360
2168 * gdb.threads/interrupt-while-step-over.c: New file.
2169 * gdb.threads/interrupt-while-step-over.exp: New file.
2170
2171 2017-03-08 Pedro Alves <palves@redhat.com>
2172
2173 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
2174 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
2175
2176 2017-03-08 Pedro Alves <palves@redhat.com>
2177
2178 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
2179 PKRU as not supported as a PASS.
2180
2181 2017-03-08 Pedro Alves <palves@redhat.com>
2182
2183 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
2184 prefix instead of $binfile1/$binfile2.
2185 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
2186 in test message.
2187 * gdb.python/py-completion.exp: Use "load python file" as test
2188 messages instead of unstable path names.
2189
2190 2017-03-08 Pedro Alves <palves@redhat.com>
2191 Jan Kratochvil <jan.kratochvil@redhat.com>
2192
2193 PR cli/21218
2194 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
2195 New proc.
2196 (top level): Call it.
2197
2198 2017-03-08 Pedro Alves <palves@redhat.com>
2199
2200 PR tui/21216
2201 * gdb.tui/tui-nl-filtered-output.exp: New file.
2202
2203 2017-03-08 Pedro Alves <palves@redhat.com>
2204
2205 * gdb.base/completion.exp: Move TUI completion tests to ...
2206 * gdb.tui/completion.exp: ... this new file.
2207
2208 2017-03-08 Pedro Alves <palves@redhat.com>
2209
2210 * gdb.base/tui-disasm-long-lines.c,
2211 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
2212 gdb.base/tui-layout.exp: Move to ...
2213 * gdb.tui/: ... this new directory.
2214
2215 2017-03-07 Pedro Alves <palves@redhat.com>
2216
2217 * gdb.base/tui-layout.c: New file.
2218 * gdb.base/tui-layout.exp: New file.
2219
2220 2017-03-07 Pedro Alves <palves@redhat.com>
2221
2222 * gdb.base/tui-layout.c: Rename to ...
2223 * gdb.base/tui-disasm-long-lines.c: ... this.
2224 * gdb.base/tui-layout.exp: Rename to ...
2225 * gdb.base/tui-disasm-long-lines.exp: ... this.
2226
2227 2017-03-07 Pedro Alves <palves@redhat.com>
2228
2229 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
2230
2231 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
2232
2233 * i386-mpx-call.c: New file.
2234 * i386-mpx-call.exp: New file.
2235
2236 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
2237
2238 * gdb.arch/powerpc-power.exp: Delete test.
2239 * gdb.arch/powerpc-power.s: Likewise.
2240 * gdb.disasm/disassembler-options.exp: New test.
2241 * gdb.arch/powerpc-altivec.exp: Likewise.
2242 * gdb.arch/powerpc-altivec.s: Likewise.
2243 * gdb.arch/powerpc-altivec2.exp: Likewise.
2244 * gdb.arch/powerpc-altivec2.s: Likewise.
2245 * gdb.arch/powerpc-altivec3.exp: Likewise.
2246 * gdb.arch/powerpc-altivec3.s: Likewise.
2247 * gdb.arch/powerpc-power7.exp: Likewise.
2248 * gdb.arch/powerpc-power7.s: Likewise.
2249 * gdb.arch/powerpc-power8.exp: Likewise.
2250 * gdb.arch/powerpc-power8.s: Likewise.
2251 * gdb.arch/powerpc-power9.exp: Likewise.
2252 * gdb.arch/powerpc-power9.s: Likewise.
2253 * gdb.arch/powerpc-vsx.exp: Likewise.
2254 * gdb.arch/powerpc-vsx.s: Likewise.
2255 * gdb.arch/powerpc-vsx2.exp: Likewise.
2256 * gdb.arch/powerpc-vsx2.s: Likewise.
2257 * gdb.arch/powerpc-vsx3.exp: Likewise.
2258 * gdb.arch/powerpc-vsx3.s: Likewise.
2259 * gdb.arch/arm-disassembler-options.exp: Likewise.
2260 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
2261 * gdb.arch/s390-disassembler-options.exp: Likewise.
2262
2263 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
2264
2265 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
2266 (check_supported_features): ... this. Changed return type to void.
2267 (supports_rdseed): New static global.
2268 (rdseed): Check supports_rdseed.
2269 (initialize): Call check_supported_features.
2270
2271 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2272
2273 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
2274 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
2275 and lqarx/stqcx.
2276 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
2277 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
2278
2279 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2280
2281 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
2282 uppercase.
2283
2284 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2285
2286 * gdb.dwarf2/formdata16.c: New file.
2287 * gdb.dwarf2/formdata16.exp: New file.
2288 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
2289
2290 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2291
2292 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
2293 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
2294 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
2295 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
2296 DW_AT_GNU_*.
2297
2298 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2299
2300 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
2301
2302 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
2303
2304 PR gdb/21164
2305 * gdb.base/maint.exp: Add testcases for when the commands do
2306 not have arguments.
2307
2308 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
2309
2310 * gdb.cp/chained-calls.exp: Use p instead of P.
2311
2312 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
2313
2314 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
2315 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
2316
2317 2017-02-14 Tom Tromey <tom@tromey.com>
2318
2319 PR python/13598:
2320 * gdb.python/py-events.exp: Add before_prompt event tests.
2321
2322 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
2323
2324 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
2325
2326 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
2327
2328 * gdb.linespec/explicit.c (my_unique_function_name): New function.
2329 (main): Call my_unique_function_name.
2330 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
2331 completion of patterns with a single match.
2332 Add missing -re switches to gdb_test_multiple calls.
2333
2334 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
2335
2336 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
2337 return if core file is not recognized.
2338
2339 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
2340
2341 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
2342 and extra UIs.
2343
2344 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
2345
2346 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
2347 proc_with_prefix.
2348
2349 2017-02-10 Tom Tromey <tom@tromey.com>
2350
2351 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
2352
2353 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
2354
2355 PR gdb/21122
2356 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
2357
2358 2017-02-08 Jerome Guitton <guitton@adacore.com>
2359
2360 * gdb.base/define.exp: Add test for command abbreviations
2361 in define.
2362
2363 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
2364
2365 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
2366 * gdb.reverse/insn-reverse-x86.c: New file.
2367
2368 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
2369
2370 PR tdep/20936
2371 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
2372
2373 2017-02-03 Tom Tromey <tom@tromey.com>
2374
2375 PR rust/21097:
2376 * gdb.rust/simple.exp: Add new tests.
2377
2378 2017-02-02 Pedro Alves <palves@redhat.com>
2379
2380 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
2381 tests.
2382
2383 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
2384
2385 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
2386 taking a 2-byte value out of a 4-byte DWARF implicit value on
2387 big-endian targets.
2388 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
2389 logic. Add test cases for DW_OP_implicit.
2390
2391 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
2392
2393 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
2394
2395 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
2396
2397 * gdb.btrace/enable.exp: Call gdb_exit before
2398 skip_gdbserver_tests.
2399
2400 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
2401
2402 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
2403 GDBFLAGS.
2404
2405 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
2406
2407 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
2408 the test is skipped.
2409 * gdb.btrace/data.exp: Likewise.
2410 * gdb.btrace/delta.exp: Likewise.
2411 * gdb.btrace/dlopen.exp: Likewise.
2412 * gdb.btrace/enable-running.exp: Likewise.
2413 * gdb.btrace/enable.exp: Likewise.
2414 * gdb.btrace/exception.exp: Likewise.
2415 * gdb.btrace/function_call_history.exp: Likewise.
2416 * gdb.btrace/gcore.exp: Likewise.
2417 * gdb.btrace/instruction_history.exp: Likewise.
2418 * gdb.btrace/multi-thread-step.exp: Likewise.
2419 * gdb.btrace/nohist.exp: Likewise.
2420 * gdb.btrace/non-stop.exp: Likewise.
2421 * gdb.btrace/reconnect.exp: Likewise.
2422 * gdb.btrace/record_goto-step.exp: Likewise.
2423 * gdb.btrace/record_goto.exp: Likewise.
2424 * gdb.btrace/rn-dl-bind.exp: Likewise.
2425 * gdb.btrace/segv.exp: Likewise.
2426 * gdb.btrace/step.exp: Likewise.
2427 * gdb.btrace/stepi.exp: Likewise.
2428 * gdb.btrace/tailcall-only.exp: Likewise.
2429 * gdb.btrace/tailcall.exp: Likewise.
2430 * gdb.btrace/tsx.exp: Likewise.
2431 * gdb.btrace/unknown_functions.exp: Likewise.
2432 * gdb.btrace/vdso.exp: Likewise.
2433
2434 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
2435
2436 * gdb.btrace/enable-running.c: New.
2437 * gdb.btrace/enable-running.exp: New.
2438
2439 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
2440
2441 * gdb.arch/amd64-gs_base.c: New file.
2442 * gdb.arch/amd64-gs_base.exp: New file.
2443
2444 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
2445
2446 * lib/memory.exp: Remove spurious empty newlines.
2447
2448 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
2449
2450 * gdb.python/py-bad-printers.exp: Load python file using "source".
2451 * gdb.python/py-events.exp: Likewise.
2452 * gdb.python/py-evsignal.exp: Likewise.
2453 * gdb.python/py-evthreads.exp: Likewise.
2454 * gdb.python/py-frame-args.exp: Likewise.
2455 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
2456 * gdb.python/py-framefilter-mi.exp: Likewise.
2457 * gdb.python/py-framefilter.exp: Likewise.
2458 * gdb.python/py-mi.exp: Likewise.
2459 * gdb.python/py-pp-maint.exp: Likewise.
2460 * gdb.python/py-pp-registration.exp: Likewise.
2461 * gdb.python/py-prettyprint.exp: Likewise.
2462 (run_lang_tests): Likewise.
2463 * gdb.python/py-typeprint.exp: Likewise.
2464
2465 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
2466
2467 * lib/memory.exp: New file.
2468 * lib/gdb.exp: Load memory.exp.
2469 * gdb.base/memattr.exp (delete_memory): Move proc to
2470 lib/memory.exp and rename to delete_memory_regions.
2471 Replace delete_memory with delete_memory_regions.
2472 Cleanup memory regions before tests.
2473 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
2474 before tests.
2475
2476 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
2477
2478 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
2479 files.
2480 (initialize): New function conditionally defined.
2481 (testcases): Move within conditional block.
2482 (main): Call initialize.
2483 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
2484 of gdb.reverse/insn-reverse.c.
2485 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
2486 gdb.reverse/insn-reverse.c.
2487
2488 2017-01-26 Yao Qi <yao.qi@linaro.org>
2489
2490 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
2491 disassemble on address 0.
2492
2493 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
2494 Yao Qi <yao.qi@linaro.org>
2495
2496 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
2497 * gdb.dwarf2/implptr-64bit.S: Remove.
2498 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
2499 variables in caller's context. Add DW_OP_implicit_value.
2500
2501 2017-01-25 Yao Qi <yao.qi@linaro.org>
2502
2503 * lib/dwarf.exp (Dwarf::_location): Handle
2504 DW_OP_GNU_implicit_pointer with proper size.
2505
2506 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
2507
2508 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
2509 and add untested calls.
2510
2511 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
2512
2513 * gdb.python/python.exp: Check line number against what GDB thinks
2514 the line number is for func1.
2515
2516 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
2517
2518 * gdb.dlang/debug-expr.exp: New file.
2519
2520 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
2521
2522 Fix test names for the following files:
2523
2524 * gdb.ada/exec_changed.exp
2525 * gdb.ada/info_types.exp
2526 * gdb.arch/aarch64-atomic-inst.exp
2527 * gdb.arch/aarch64-fp.exp
2528 * gdb.arch/altivec-abi.exp
2529 * gdb.arch/altivec-regs.exp
2530 * gdb.arch/amd64-byte.exp
2531 * gdb.arch/amd64-disp-step.exp
2532 * gdb.arch/amd64-dword.exp
2533 * gdb.arch/amd64-entry-value-inline.exp
2534 * gdb.arch/amd64-entry-value-param.exp
2535 * gdb.arch/amd64-entry-value-paramref.exp
2536 * gdb.arch/amd64-entry-value.exp
2537 * gdb.arch/amd64-i386-address.exp
2538 * gdb.arch/amd64-invalid-stack-middle.exp
2539 * gdb.arch/amd64-invalid-stack-top.exp
2540 * gdb.arch/amd64-optimout-repeat.exp
2541 * gdb.arch/amd64-prologue-skip.exp
2542 * gdb.arch/amd64-prologue-xmm.exp
2543 * gdb.arch/amd64-stap-special-operands.exp
2544 * gdb.arch/amd64-stap-wrong-subexp.exp
2545 * gdb.arch/amd64-tailcall-cxx.exp
2546 * gdb.arch/amd64-tailcall-noret.exp
2547 * gdb.arch/amd64-tailcall-ret.exp
2548 * gdb.arch/amd64-tailcall-self.exp
2549 * gdb.arch/amd64-word.exp
2550 * gdb.arch/arm-bl-branch-dest.exp
2551 * gdb.arch/arm-disp-step.exp
2552 * gdb.arch/arm-neon.exp
2553 * gdb.arch/arm-single-step-kernel-helper.exp
2554 * gdb.arch/avr-flash-qualifier.exp
2555 * gdb.arch/disp-step-insn-reloc.exp
2556 * gdb.arch/e500-abi.exp
2557 * gdb.arch/e500-regs.exp
2558 * gdb.arch/ftrace-insn-reloc.exp
2559 * gdb.arch/i386-avx512.exp
2560 * gdb.arch/i386-bp_permanent.exp
2561 * gdb.arch/i386-byte.exp
2562 * gdb.arch/i386-cfi-notcurrent.exp
2563 * gdb.arch/i386-disp-step.exp
2564 * gdb.arch/i386-dr3-watch.exp
2565 * gdb.arch/i386-float.exp
2566 * gdb.arch/i386-gnu-cfi.exp
2567 * gdb.arch/i386-mpx-map.exp
2568 * gdb.arch/i386-mpx-sigsegv.exp
2569 * gdb.arch/i386-mpx-simple_segv.exp
2570 * gdb.arch/i386-mpx.exp
2571 * gdb.arch/i386-permbkpt.exp
2572 * gdb.arch/i386-prologue.exp
2573 * gdb.arch/i386-signal.exp
2574 * gdb.arch/i386-size-overlap.exp
2575 * gdb.arch/i386-unwind.exp
2576 * gdb.arch/i386-word.exp
2577 * gdb.arch/mips-fcr.exp
2578 * gdb.arch/powerpc-d128-regs.exp
2579 * gdb.arch/powerpc-stackless.exp
2580 * gdb.arch/ppc64-atomic-inst.exp
2581 * gdb.arch/s390-stackless.exp
2582 * gdb.arch/s390-tdbregs.exp
2583 * gdb.arch/s390-vregs.exp
2584 * gdb.arch/sparc-sysstep.exp
2585 * gdb.arch/thumb-bx-pc.exp
2586 * gdb.arch/thumb-singlestep.exp
2587 * gdb.arch/thumb2-it.exp
2588 * gdb.arch/vsx-regs.exp
2589 * gdb.asm/asm-source.exp
2590 * gdb.base/a2-run.exp
2591 * gdb.base/advance.exp
2592 * gdb.base/all-bin.exp
2593 * gdb.base/anon.exp
2594 * gdb.base/args.exp
2595 * gdb.base/arithmet.exp
2596 * gdb.base/async-shell.exp
2597 * gdb.base/async.exp
2598 * gdb.base/attach-pie-noexec.exp
2599 * gdb.base/attach-twice.exp
2600 * gdb.base/auto-load.exp
2601 * gdb.base/bang.exp
2602 * gdb.base/bitfields.exp
2603 * gdb.base/break-always.exp
2604 * gdb.base/break-caller-line.exp
2605 * gdb.base/break-entry.exp
2606 * gdb.base/break-inline.exp
2607 * gdb.base/break-on-linker-gcd-function.exp
2608 * gdb.base/break-probes.exp
2609 * gdb.base/break.exp
2610 * gdb.base/breakpoint-shadow.exp
2611 * gdb.base/call-ar-st.exp
2612 * gdb.base/call-sc.exp
2613 * gdb.base/call-signal-resume.exp
2614 * gdb.base/call-strs.exp
2615 * gdb.base/callfuncs.exp
2616 * gdb.base/catch-fork-static.exp
2617 * gdb.base/catch-gdb-caused-signals.exp
2618 * gdb.base/catch-load.exp
2619 * gdb.base/catch-signal-fork.exp
2620 * gdb.base/catch-signal.exp
2621 * gdb.base/catch-syscall.exp
2622 * gdb.base/charset.exp
2623 * gdb.base/checkpoint.exp
2624 * gdb.base/chng-syms.exp
2625 * gdb.base/code-expr.exp
2626 * gdb.base/code_elim.exp
2627 * gdb.base/commands.exp
2628 * gdb.base/completion.exp
2629 * gdb.base/complex.exp
2630 * gdb.base/cond-expr.exp
2631 * gdb.base/condbreak.exp
2632 * gdb.base/consecutive.exp
2633 * gdb.base/continue-all-already-running.exp
2634 * gdb.base/coredump-filter.exp
2635 * gdb.base/corefile.exp
2636 * gdb.base/dbx.exp
2637 * gdb.base/debug-expr.exp
2638 * gdb.base/define.exp
2639 * gdb.base/del.exp
2640 * gdb.base/disabled-location.exp
2641 * gdb.base/disasm-end-cu.exp
2642 * gdb.base/disasm-optim.exp
2643 * gdb.base/display.exp
2644 * gdb.base/duplicate-bp.exp
2645 * gdb.base/ena-dis-br.exp
2646 * gdb.base/ending-run.exp
2647 * gdb.base/enumval.exp
2648 * gdb.base/environ.exp
2649 * gdb.base/eu-strip-infcall.exp
2650 * gdb.base/eval-avoid-side-effects.exp
2651 * gdb.base/eval-skip.exp
2652 * gdb.base/exitsignal.exp
2653 * gdb.base/expand-psymtabs.exp
2654 * gdb.base/filesym.exp
2655 * gdb.base/find-unmapped.exp
2656 * gdb.base/finish.exp
2657 * gdb.base/float.exp
2658 * gdb.base/foll-exec-mode.exp
2659 * gdb.base/foll-exec.exp
2660 * gdb.base/foll-fork.exp
2661 * gdb.base/fortran-sym-case.exp
2662 * gdb.base/freebpcmd.exp
2663 * gdb.base/func-ptr.exp
2664 * gdb.base/func-ptrs.exp
2665 * gdb.base/funcargs.exp
2666 * gdb.base/gcore-buffer-overflow.exp
2667 * gdb.base/gcore-relro-pie.exp
2668 * gdb.base/gcore-relro.exp
2669 * gdb.base/gcore.exp
2670 * gdb.base/gdb1090.exp
2671 * gdb.base/gdb11530.exp
2672 * gdb.base/gdb11531.exp
2673 * gdb.base/gdb1821.exp
2674 * gdb.base/gdbindex-stabs.exp
2675 * gdb.base/gdbvars.exp
2676 * gdb.base/hbreak.exp
2677 * gdb.base/hbreak2.exp
2678 * gdb.base/included.exp
2679 * gdb.base/infcall-input.exp
2680 * gdb.base/inferior-died.exp
2681 * gdb.base/infnan.exp
2682 * gdb.base/info-macros.exp
2683 * gdb.base/info-os.exp
2684 * gdb.base/info-proc.exp
2685 * gdb.base/info-shared.exp
2686 * gdb.base/info-target.exp
2687 * gdb.base/infoline.exp
2688 * gdb.base/interp.exp
2689 * gdb.base/interrupt.exp
2690 * gdb.base/jit-reader.exp
2691 * gdb.base/jit-simple.exp
2692 * gdb.base/kill-after-signal.exp
2693 * gdb.base/kill-detach-inferiors-cmd.exp
2694 * gdb.base/label.exp
2695 * gdb.base/langs.exp
2696 * gdb.base/ldbl_e308.exp
2697 * gdb.base/line-symtabs.exp
2698 * gdb.base/linespecs.exp
2699 * gdb.base/list.exp
2700 * gdb.base/long_long.exp
2701 * gdb.base/longest-types.exp
2702 * gdb.base/maint.exp
2703 * gdb.base/max-value-size.exp
2704 * gdb.base/memattr.exp
2705 * gdb.base/mips_pro.exp
2706 * gdb.base/morestack.exp
2707 * gdb.base/moribund-step.exp
2708 * gdb.base/multi-forks.exp
2709 * gdb.base/nested-addr.exp
2710 * gdb.base/nextoverexit.exp
2711 * gdb.base/noreturn-finish.exp
2712 * gdb.base/noreturn-return.exp
2713 * gdb.base/nostdlib.exp
2714 * gdb.base/offsets.exp
2715 * gdb.base/opaque.exp
2716 * gdb.base/pc-fp.exp
2717 * gdb.base/permissions.exp
2718 * gdb.base/print-symbol-loading.exp
2719 * gdb.base/prologue-include.exp
2720 * gdb.base/psymtab.exp
2721 * gdb.base/ptype.exp
2722 * gdb.base/random-signal.exp
2723 * gdb.base/randomize.exp
2724 * gdb.base/range-stepping.exp
2725 * gdb.base/readline-ask.exp
2726 * gdb.base/recpar.exp
2727 * gdb.base/recurse.exp
2728 * gdb.base/relational.exp
2729 * gdb.base/restore.exp
2730 * gdb.base/return-nodebug.exp
2731 * gdb.base/return.exp
2732 * gdb.base/run-after-attach.exp
2733 * gdb.base/save-bp.exp
2734 * gdb.base/scope.exp
2735 * gdb.base/sect-cmd.exp
2736 * gdb.base/set-lang-auto.exp
2737 * gdb.base/set-noassign.exp
2738 * gdb.base/setvar.exp
2739 * gdb.base/sigall.exp
2740 * gdb.base/sigbpt.exp
2741 * gdb.base/siginfo-addr.exp
2742 * gdb.base/siginfo-infcall.exp
2743 * gdb.base/siginfo-obj.exp
2744 * gdb.base/siginfo.exp
2745 * gdb.base/signals-state-child.exp
2746 * gdb.base/signest.exp
2747 * gdb.base/sigstep.exp
2748 * gdb.base/sizeof.exp
2749 * gdb.base/skip.exp
2750 * gdb.base/solib-corrupted.exp
2751 * gdb.base/solib-nodir.exp
2752 * gdb.base/solib-search.exp
2753 * gdb.base/stack-checking.exp
2754 * gdb.base/stale-infcall.exp
2755 * gdb.base/stap-probe.exp
2756 * gdb.base/start.exp
2757 * gdb.base/step-break.exp
2758 * gdb.base/step-bt.exp
2759 * gdb.base/step-line.exp
2760 * gdb.base/step-over-exit.exp
2761 * gdb.base/step-over-syscall.exp
2762 * gdb.base/step-resume-infcall.exp
2763 * gdb.base/step-test.exp
2764 * gdb.base/store.exp
2765 * gdb.base/structs3.exp
2766 * gdb.base/sym-file.exp
2767 * gdb.base/symbol-without-target_section.exp
2768 * gdb.base/term.exp
2769 * gdb.base/testenv.exp
2770 * gdb.base/ui-redirect.exp
2771 * gdb.base/until.exp
2772 * gdb.base/unwindonsignal.exp
2773 * gdb.base/value-double-free.exp
2774 * gdb.base/vla-datatypes.exp
2775 * gdb.base/vla-ptr.exp
2776 * gdb.base/vla-sideeffect.exp
2777 * gdb.base/volatile.exp
2778 * gdb.base/watch-cond-infcall.exp
2779 * gdb.base/watch-cond.exp
2780 * gdb.base/watch-non-mem.exp
2781 * gdb.base/watch-read.exp
2782 * gdb.base/watch-vfork.exp
2783 * gdb.base/watchpoint-cond-gone.exp
2784 * gdb.base/watchpoint-delete.exp
2785 * gdb.base/watchpoint-hw-hit-once.exp
2786 * gdb.base/watchpoint-hw.exp
2787 * gdb.base/watchpoint-stops-at-right-insn.exp
2788 * gdb.base/watchpoints.exp
2789 * gdb.base/wchar.exp
2790 * gdb.base/whatis-exp.exp
2791 * gdb.btrace/buffer-size.exp
2792 * gdb.btrace/data.exp
2793 * gdb.btrace/delta.exp
2794 * gdb.btrace/dlopen.exp
2795 * gdb.btrace/enable.exp
2796 * gdb.btrace/exception.exp
2797 * gdb.btrace/function_call_history.exp
2798 * gdb.btrace/gcore.exp
2799 * gdb.btrace/instruction_history.exp
2800 * gdb.btrace/nohist.exp
2801 * gdb.btrace/reconnect.exp
2802 * gdb.btrace/record_goto-step.exp
2803 * gdb.btrace/record_goto.exp
2804 * gdb.btrace/rn-dl-bind.exp
2805 * gdb.btrace/segv.exp
2806 * gdb.btrace/step.exp
2807 * gdb.btrace/stepi.exp
2808 * gdb.btrace/tailcall-only.exp
2809 * gdb.btrace/tailcall.exp
2810 * gdb.btrace/tsx.exp
2811 * gdb.btrace/unknown_functions.exp
2812 * gdb.btrace/vdso.exp
2813 * gdb.compile/compile-ifunc.exp
2814 * gdb.compile/compile-ops.exp
2815 * gdb.compile/compile-print.exp
2816 * gdb.compile/compile-setjmp.exp
2817 * gdb.cp/abstract-origin.exp
2818 * gdb.cp/ambiguous.exp
2819 * gdb.cp/annota2.exp
2820 * gdb.cp/annota3.exp
2821 * gdb.cp/anon-ns.exp
2822 * gdb.cp/anon-struct.exp
2823 * gdb.cp/anon-union.exp
2824 * gdb.cp/arg-reference.exp
2825 * gdb.cp/baseenum.exp
2826 * gdb.cp/bool.exp
2827 * gdb.cp/breakpoint.exp
2828 * gdb.cp/bs15503.exp
2829 * gdb.cp/call-c.exp
2830 * gdb.cp/casts.exp
2831 * gdb.cp/chained-calls.exp
2832 * gdb.cp/class2.exp
2833 * gdb.cp/classes.exp
2834 * gdb.cp/cmpd-minsyms.exp
2835 * gdb.cp/converts.exp
2836 * gdb.cp/cp-relocate.exp
2837 * gdb.cp/cpcompletion.exp
2838 * gdb.cp/cpexprs.exp
2839 * gdb.cp/cplabel.exp
2840 * gdb.cp/cplusfuncs.exp
2841 * gdb.cp/cpsizeof.exp
2842 * gdb.cp/ctti.exp
2843 * gdb.cp/derivation.exp
2844 * gdb.cp/destrprint.exp
2845 * gdb.cp/dispcxx.exp
2846 * gdb.cp/enum-class.exp
2847 * gdb.cp/exception.exp
2848 * gdb.cp/exceptprint.exp
2849 * gdb.cp/expand-psymtabs-cxx.exp
2850 * gdb.cp/expand-sals.exp
2851 * gdb.cp/extern-c.exp
2852 * gdb.cp/filename.exp
2853 * gdb.cp/formatted-ref.exp
2854 * gdb.cp/fpointer.exp
2855 * gdb.cp/gdb1355.exp
2856 * gdb.cp/gdb2495.exp
2857 * gdb.cp/hang.exp
2858 * gdb.cp/impl-this.exp
2859 * gdb.cp/infcall-dlopen.exp
2860 * gdb.cp/inherit.exp
2861 * gdb.cp/iostream.exp
2862 * gdb.cp/koenig.exp
2863 * gdb.cp/local.exp
2864 * gdb.cp/m-data.exp
2865 * gdb.cp/m-static.exp
2866 * gdb.cp/mb-ctor.exp
2867 * gdb.cp/mb-inline.exp
2868 * gdb.cp/mb-templates.exp
2869 * gdb.cp/member-name.exp
2870 * gdb.cp/member-ptr.exp
2871 * gdb.cp/meth-typedefs.exp
2872 * gdb.cp/method.exp
2873 * gdb.cp/method2.exp
2874 * gdb.cp/minsym-fallback.exp
2875 * gdb.cp/misc.exp
2876 * gdb.cp/namelessclass.exp
2877 * gdb.cp/namespace-enum.exp
2878 * gdb.cp/namespace-nested-import.exp
2879 * gdb.cp/namespace.exp
2880 * gdb.cp/nextoverthrow.exp
2881 * gdb.cp/no-dmgl-verbose.exp
2882 * gdb.cp/non-trivial-retval.exp
2883 * gdb.cp/noparam.exp
2884 * gdb.cp/nsdecl.exp
2885 * gdb.cp/nsimport.exp
2886 * gdb.cp/nsnested.exp
2887 * gdb.cp/nsnoimports.exp
2888 * gdb.cp/nsrecurs.exp
2889 * gdb.cp/nsstress.exp
2890 * gdb.cp/nsusing.exp
2891 * gdb.cp/operator.exp
2892 * gdb.cp/oranking.exp
2893 * gdb.cp/overload-const.exp
2894 * gdb.cp/overload.exp
2895 * gdb.cp/ovldbreak.exp
2896 * gdb.cp/ovsrch.exp
2897 * gdb.cp/paren-type.exp
2898 * gdb.cp/parse-lang.exp
2899 * gdb.cp/pass-by-ref.exp
2900 * gdb.cp/pr-1023.exp
2901 * gdb.cp/pr-1210.exp
2902 * gdb.cp/pr-574.exp
2903 * gdb.cp/pr10687.exp
2904 * gdb.cp/pr12028.exp
2905 * gdb.cp/pr17132.exp
2906 * gdb.cp/pr17494.exp
2907 * gdb.cp/pr9067.exp
2908 * gdb.cp/pr9167.exp
2909 * gdb.cp/pr9631.exp
2910 * gdb.cp/printmethod.exp
2911 * gdb.cp/psmang.exp
2912 * gdb.cp/psymtab-parameter.exp
2913 * gdb.cp/ptype-cv-cp.exp
2914 * gdb.cp/ptype-flags.exp
2915 * gdb.cp/re-set-overloaded.exp
2916 * gdb.cp/ref-types.exp
2917 * gdb.cp/rtti.exp
2918 * gdb.cp/scope-err.exp
2919 * gdb.cp/shadow.exp
2920 * gdb.cp/smartp.exp
2921 * gdb.cp/static-method.exp
2922 * gdb.cp/static-print-quit.exp
2923 * gdb.cp/temargs.exp
2924 * gdb.cp/templates.exp
2925 * gdb.cp/try_catch.exp
2926 * gdb.cp/typedef-operator.exp
2927 * gdb.cp/typeid.exp
2928 * gdb.cp/userdef.exp
2929 * gdb.cp/using-crash.exp
2930 * gdb.cp/var-tag.exp
2931 * gdb.cp/virtbase.exp
2932 * gdb.cp/virtfunc.exp
2933 * gdb.cp/virtfunc2.exp
2934 * gdb.cp/vla-cxx.exp
2935 * gdb.disasm/t01_mov.exp
2936 * gdb.disasm/t02_mova.exp
2937 * gdb.disasm/t03_add.exp
2938 * gdb.disasm/t04_sub.exp
2939 * gdb.disasm/t05_cmp.exp
2940 * gdb.disasm/t06_ari2.exp
2941 * gdb.disasm/t07_ari3.exp
2942 * gdb.disasm/t08_or.exp
2943 * gdb.disasm/t09_xor.exp
2944 * gdb.disasm/t10_and.exp
2945 * gdb.disasm/t11_logs.exp
2946 * gdb.disasm/t12_bit.exp
2947 * gdb.disasm/t13_otr.exp
2948 * gdb.dlang/circular.exp
2949 * gdb.dwarf2/arr-stride.exp
2950 * gdb.dwarf2/arr-subrange.exp
2951 * gdb.dwarf2/atomic-type.exp
2952 * gdb.dwarf2/bad-regnum.exp
2953 * gdb.dwarf2/bitfield-parent-optimized-out.exp
2954 * gdb.dwarf2/callframecfa.exp
2955 * gdb.dwarf2/clztest.exp
2956 * gdb.dwarf2/corrupt.exp
2957 * gdb.dwarf2/data-loc.exp
2958 * gdb.dwarf2/dup-psym.exp
2959 * gdb.dwarf2/dw2-anon-mptr.exp
2960 * gdb.dwarf2/dw2-anonymous-func.exp
2961 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
2962 * gdb.dwarf2/dw2-bad-unresolved.exp
2963 * gdb.dwarf2/dw2-basic.exp
2964 * gdb.dwarf2/dw2-canonicalize-type.exp
2965 * gdb.dwarf2/dw2-case-insensitive.exp
2966 * gdb.dwarf2/dw2-common-block.exp
2967 * gdb.dwarf2/dw2-compdir-oldgcc.exp
2968 * gdb.dwarf2/dw2-compressed.exp
2969 * gdb.dwarf2/dw2-const.exp
2970 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
2971 * gdb.dwarf2/dw2-cu-size.exp
2972 * gdb.dwarf2/dw2-dup-frame.exp
2973 * gdb.dwarf2/dw2-entry-value.exp
2974 * gdb.dwarf2/dw2-icycle.exp
2975 * gdb.dwarf2/dw2-ifort-parameter.exp
2976 * gdb.dwarf2/dw2-inline-break.exp
2977 * gdb.dwarf2/dw2-inline-param.exp
2978 * gdb.dwarf2/dw2-intercu.exp
2979 * gdb.dwarf2/dw2-intermix.exp
2980 * gdb.dwarf2/dw2-lexical-block-bare.exp
2981 * gdb.dwarf2/dw2-linkage-name-trust.exp
2982 * gdb.dwarf2/dw2-minsym-in-cu.exp
2983 * gdb.dwarf2/dw2-noloc.exp
2984 * gdb.dwarf2/dw2-op-call.exp
2985 * gdb.dwarf2/dw2-op-out-param.exp
2986 * gdb.dwarf2/dw2-opt-structptr.exp
2987 * gdb.dwarf2/dw2-param-error.exp
2988 * gdb.dwarf2/dw2-producer.exp
2989 * gdb.dwarf2/dw2-ranges-base.exp
2990 * gdb.dwarf2/dw2-ref-missing-frame.exp
2991 * gdb.dwarf2/dw2-reg-undefined.exp
2992 * gdb.dwarf2/dw2-regno-invalid.exp
2993 * gdb.dwarf2/dw2-restore.exp
2994 * gdb.dwarf2/dw2-restrict.exp
2995 * gdb.dwarf2/dw2-single-line-discriminators.exp
2996 * gdb.dwarf2/dw2-strp.exp
2997 * gdb.dwarf2/dw2-undefined-ret-addr.exp
2998 * gdb.dwarf2/dw2-unresolved.exp
2999 * gdb.dwarf2/dw2-var-zero-addr.exp
3000 * gdb.dwarf2/dw4-sig-types.exp
3001 * gdb.dwarf2/dwz.exp
3002 * gdb.dwarf2/dynarr-ptr.exp
3003 * gdb.dwarf2/enum-type.exp
3004 * gdb.dwarf2/gdb-index.exp
3005 * gdb.dwarf2/implptr-64bit.exp
3006 * gdb.dwarf2/implptr-optimized-out.exp
3007 * gdb.dwarf2/implptr.exp
3008 * gdb.dwarf2/implref-array.exp
3009 * gdb.dwarf2/implref-const.exp
3010 * gdb.dwarf2/implref-global.exp
3011 * gdb.dwarf2/implref-struct.exp
3012 * gdb.dwarf2/mac-fileno.exp
3013 * gdb.dwarf2/main-subprogram.exp
3014 * gdb.dwarf2/member-ptr-forwardref.exp
3015 * gdb.dwarf2/method-ptr.exp
3016 * gdb.dwarf2/missing-sig-type.exp
3017 * gdb.dwarf2/nonvar-access.exp
3018 * gdb.dwarf2/opaque-type-lookup.exp
3019 * gdb.dwarf2/pieces-optimized-out.exp
3020 * gdb.dwarf2/pieces.exp
3021 * gdb.dwarf2/pr10770.exp
3022 * gdb.dwarf2/pr13961.exp
3023 * gdb.dwarf2/staticvirtual.exp
3024 * gdb.dwarf2/subrange.exp
3025 * gdb.dwarf2/symtab-producer.exp
3026 * gdb.dwarf2/trace-crash.exp
3027 * gdb.dwarf2/typeddwarf.exp
3028 * gdb.dwarf2/valop.exp
3029 * gdb.dwarf2/watch-notconst.exp
3030 * gdb.fortran/array-element.exp
3031 * gdb.fortran/charset.exp
3032 * gdb.fortran/common-block.exp
3033 * gdb.fortran/complex.exp
3034 * gdb.fortran/derived-type-function.exp
3035 * gdb.fortran/derived-type.exp
3036 * gdb.fortran/logical.exp
3037 * gdb.fortran/module.exp
3038 * gdb.fortran/multi-dim.exp
3039 * gdb.fortran/nested-funcs.exp
3040 * gdb.fortran/print-formatted.exp
3041 * gdb.fortran/subarray.exp
3042 * gdb.fortran/vla-alloc-assoc.exp
3043 * gdb.fortran/vla-datatypes.exp
3044 * gdb.fortran/vla-history.exp
3045 * gdb.fortran/vla-ptr-info.exp
3046 * gdb.fortran/vla-ptype-sub.exp
3047 * gdb.fortran/vla-ptype.exp
3048 * gdb.fortran/vla-sizeof.exp
3049 * gdb.fortran/vla-type.exp
3050 * gdb.fortran/vla-value-sub-arbitrary.exp
3051 * gdb.fortran/vla-value-sub-finish.exp
3052 * gdb.fortran/vla-value-sub.exp
3053 * gdb.fortran/vla-value.exp
3054 * gdb.fortran/whatis_type.exp
3055 * gdb.go/chan.exp
3056 * gdb.go/handcall.exp
3057 * gdb.go/hello.exp
3058 * gdb.go/integers.exp
3059 * gdb.go/methods.exp
3060 * gdb.go/package.exp
3061 * gdb.go/strings.exp
3062 * gdb.go/types.exp
3063 * gdb.go/unsafe.exp
3064 * gdb.guile/scm-arch.exp
3065 * gdb.guile/scm-block.exp
3066 * gdb.guile/scm-breakpoint.exp
3067 * gdb.guile/scm-cmd.exp
3068 * gdb.guile/scm-disasm.exp
3069 * gdb.guile/scm-equal.exp
3070 * gdb.guile/scm-frame-args.exp
3071 * gdb.guile/scm-frame-inline.exp
3072 * gdb.guile/scm-frame.exp
3073 * gdb.guile/scm-iterator.exp
3074 * gdb.guile/scm-math.exp
3075 * gdb.guile/scm-objfile.exp
3076 * gdb.guile/scm-ports.exp
3077 * gdb.guile/scm-symbol.exp
3078 * gdb.guile/scm-symtab.exp
3079 * gdb.guile/scm-value-cc.exp
3080 * gdb.guile/types-module.exp
3081 * gdb.linespec/break-ask.exp
3082 * gdb.linespec/cpexplicit.exp
3083 * gdb.linespec/explicit.exp
3084 * gdb.linespec/keywords.exp
3085 * gdb.linespec/linespec.exp
3086 * gdb.linespec/ls-dollar.exp
3087 * gdb.linespec/ls-errs.exp
3088 * gdb.linespec/skip-two.exp
3089 * gdb.linespec/thread.exp
3090 * gdb.mi/mi-async.exp
3091 * gdb.mi/mi-basics.exp
3092 * gdb.mi/mi-break.exp
3093 * gdb.mi/mi-catch-load.exp
3094 * gdb.mi/mi-cli.exp
3095 * gdb.mi/mi-cmd-param-changed.exp
3096 * gdb.mi/mi-console.exp
3097 * gdb.mi/mi-detach.exp
3098 * gdb.mi/mi-disassemble.exp
3099 * gdb.mi/mi-eval.exp
3100 * gdb.mi/mi-file-transfer.exp
3101 * gdb.mi/mi-file.exp
3102 * gdb.mi/mi-fill-memory.exp
3103 * gdb.mi/mi-inheritance-syntax-error.exp
3104 * gdb.mi/mi-linespec-err-cp.exp
3105 * gdb.mi/mi-logging.exp
3106 * gdb.mi/mi-memory-changed.exp
3107 * gdb.mi/mi-read-memory.exp
3108 * gdb.mi/mi-record-changed.exp
3109 * gdb.mi/mi-reg-undefined.exp
3110 * gdb.mi/mi-regs.exp
3111 * gdb.mi/mi-return.exp
3112 * gdb.mi/mi-reverse.exp
3113 * gdb.mi/mi-simplerun.exp
3114 * gdb.mi/mi-solib.exp
3115 * gdb.mi/mi-stack.exp
3116 * gdb.mi/mi-stepi.exp
3117 * gdb.mi/mi-syn-frame.exp
3118 * gdb.mi/mi-until.exp
3119 * gdb.mi/mi-var-block.exp
3120 * gdb.mi/mi-var-child.exp
3121 * gdb.mi/mi-var-cmd.exp
3122 * gdb.mi/mi-var-cp.exp
3123 * gdb.mi/mi-var-display.exp
3124 * gdb.mi/mi-var-invalidate.exp
3125 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
3126 * gdb.mi/mi-vla-fortran.exp
3127 * gdb.mi/mi-watch.exp
3128 * gdb.mi/mi2-var-child.exp
3129 * gdb.mi/user-selected-context-sync.exp
3130 * gdb.modula2/unbounded-array.exp
3131 * gdb.multi/dummy-frame-restore.exp
3132 * gdb.multi/multi-arch-exec.exp
3133 * gdb.multi/multi-arch.exp
3134 * gdb.multi/tids.exp
3135 * gdb.multi/watchpoint-multi.exp
3136 * gdb.opencl/callfuncs.exp
3137 * gdb.opencl/convs_casts.exp
3138 * gdb.opencl/datatypes.exp
3139 * gdb.opencl/operators.exp
3140 * gdb.opencl/vec_comps.exp
3141 * gdb.opt/clobbered-registers-O2.exp
3142 * gdb.opt/inline-break.exp
3143 * gdb.opt/inline-bt.exp
3144 * gdb.opt/inline-cmds.exp
3145 * gdb.opt/inline-locals.exp
3146 * gdb.pascal/case-insensitive-symbols.exp
3147 * gdb.pascal/floats.exp
3148 * gdb.pascal/gdb11492.exp
3149 * gdb.python/lib-types.exp
3150 * gdb.python/py-arch.exp
3151 * gdb.python/py-as-string.exp
3152 * gdb.python/py-bad-printers.exp
3153 * gdb.python/py-block.exp
3154 * gdb.python/py-breakpoint-create-fail.exp
3155 * gdb.python/py-breakpoint.exp
3156 * gdb.python/py-caller-is.exp
3157 * gdb.python/py-cmd.exp
3158 * gdb.python/py-explore-cc.exp
3159 * gdb.python/py-explore.exp
3160 * gdb.python/py-finish-breakpoint.exp
3161 * gdb.python/py-finish-breakpoint2.exp
3162 * gdb.python/py-frame-args.exp
3163 * gdb.python/py-frame-inline.exp
3164 * gdb.python/py-frame.exp
3165 * gdb.python/py-framefilter-mi.exp
3166 * gdb.python/py-infthread.exp
3167 * gdb.python/py-lazy-string.exp
3168 * gdb.python/py-linetable.exp
3169 * gdb.python/py-mi-events.exp
3170 * gdb.python/py-mi-objfile.exp
3171 * gdb.python/py-mi.exp
3172 * gdb.python/py-objfile.exp
3173 * gdb.python/py-pp-integral.exp
3174 * gdb.python/py-pp-maint.exp
3175 * gdb.python/py-pp-re-notag.exp
3176 * gdb.python/py-pp-registration.exp
3177 * gdb.python/py-recurse-unwind.exp
3178 * gdb.python/py-strfns.exp
3179 * gdb.python/py-symbol.exp
3180 * gdb.python/py-symtab.exp
3181 * gdb.python/py-sync-interp.exp
3182 * gdb.python/py-typeprint.exp
3183 * gdb.python/py-unwind-maint.exp
3184 * gdb.python/py-unwind.exp
3185 * gdb.python/py-value-cc.exp
3186 * gdb.python/py-xmethods.exp
3187 * gdb.reverse/amd64-tailcall-reverse.exp
3188 * gdb.reverse/break-precsave.exp
3189 * gdb.reverse/break-reverse.exp
3190 * gdb.reverse/consecutive-precsave.exp
3191 * gdb.reverse/consecutive-reverse.exp
3192 * gdb.reverse/finish-precsave.exp
3193 * gdb.reverse/finish-reverse-bkpt.exp
3194 * gdb.reverse/finish-reverse.exp
3195 * gdb.reverse/fstatat-reverse.exp
3196 * gdb.reverse/getresuid-reverse.exp
3197 * gdb.reverse/i386-precsave.exp
3198 * gdb.reverse/i386-reverse.exp
3199 * gdb.reverse/i386-sse-reverse.exp
3200 * gdb.reverse/i387-env-reverse.exp
3201 * gdb.reverse/i387-stack-reverse.exp
3202 * gdb.reverse/insn-reverse.exp
3203 * gdb.reverse/machinestate-precsave.exp
3204 * gdb.reverse/machinestate.exp
3205 * gdb.reverse/next-reverse-bkpt-over-sr.exp
3206 * gdb.reverse/pipe-reverse.exp
3207 * gdb.reverse/readv-reverse.exp
3208 * gdb.reverse/recvmsg-reverse.exp
3209 * gdb.reverse/rerun-prec.exp
3210 * gdb.reverse/s390-mvcle.exp
3211 * gdb.reverse/step-precsave.exp
3212 * gdb.reverse/step-reverse.exp
3213 * gdb.reverse/time-reverse.exp
3214 * gdb.reverse/until-precsave.exp
3215 * gdb.reverse/until-reverse.exp
3216 * gdb.reverse/waitpid-reverse.exp
3217 * gdb.reverse/watch-precsave.exp
3218 * gdb.reverse/watch-reverse.exp
3219 * gdb.rust/generics.exp
3220 * gdb.rust/methods.exp
3221 * gdb.rust/modules.exp
3222 * gdb.rust/simple.exp
3223 * gdb.server/connect-with-no-symbol-file.exp
3224 * gdb.server/ext-attach.exp
3225 * gdb.server/ext-restart.exp
3226 * gdb.server/ext-wrapper.exp
3227 * gdb.server/file-transfer.exp
3228 * gdb.server/server-exec-info.exp
3229 * gdb.server/server-kill.exp
3230 * gdb.server/server-mon.exp
3231 * gdb.server/wrapper.exp
3232 * gdb.stabs/exclfwd.exp
3233 * gdb.stabs/gdb11479.exp
3234 * gdb.threads/clone-new-thread-event.exp
3235 * gdb.threads/corethreads.exp
3236 * gdb.threads/current-lwp-dead.exp
3237 * gdb.threads/dlopen-libpthread.exp
3238 * gdb.threads/gcore-thread.exp
3239 * gdb.threads/sigstep-threads.exp
3240 * gdb.threads/watchpoint-fork.exp
3241 * gdb.trace/actions-changed.exp
3242 * gdb.trace/backtrace.exp
3243 * gdb.trace/change-loc.exp
3244 * gdb.trace/circ.exp
3245 * gdb.trace/collection.exp
3246 * gdb.trace/disconnected-tracing.exp
3247 * gdb.trace/ftrace.exp
3248 * gdb.trace/mi-trace-frame-collected.exp
3249 * gdb.trace/mi-trace-unavailable.exp
3250 * gdb.trace/mi-traceframe-changed.exp
3251 * gdb.trace/mi-tsv-changed.exp
3252 * gdb.trace/no-attach-trace.exp
3253 * gdb.trace/passc-dyn.exp
3254 * gdb.trace/qtro.exp
3255 * gdb.trace/range-stepping.exp
3256 * gdb.trace/read-memory.exp
3257 * gdb.trace/save-trace.exp
3258 * gdb.trace/signal.exp
3259 * gdb.trace/status-stop.exp
3260 * gdb.trace/tfile.exp
3261 * gdb.trace/trace-break.exp
3262 * gdb.trace/trace-buffer-size.exp
3263 * gdb.trace/trace-condition.exp
3264 * gdb.trace/tracefile-pseudo-reg.exp
3265 * gdb.trace/tstatus.exp
3266 * gdb.trace/unavailable.exp
3267 * gdb.trace/while-dyn.exp
3268 * gdb.trace/while-stepping.exp
3269
3270 2016-12-22 Doug Evans <xdje42@gmail.com>
3271
3272 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
3273 and msymbols.
3274
3275 2016-12-19 Yao Qi <yao.qi@linaro.org>
3276
3277 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
3278 (test_with_self): Don't call do_steps_and_nexts, and remove
3279 code about stepping into xmalloc.
3280
3281 2016-12-09 Yao Qi <yao.qi@linaro.org>
3282
3283 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
3284
3285 2016-12-09 Yao Qi <yao.qi@linaro.org>
3286
3287 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
3288
3289 2016-12-09 Pedro Alves <palves@redhat.com>
3290
3291 * gdb.base/all-architectures-0.exp: New file.
3292 * gdb.base/all-architectures-1.exp: New file.
3293 * gdb.base/all-architectures-2.exp: New file.
3294 * gdb.base/all-architectures-3.exp: New file.
3295 * gdb.base/all-architectures-4.exp: New file.
3296 * gdb.base/all-architectures-5.exp: New file.
3297 * gdb.base/all-architectures-6.exp: New file.
3298 * gdb.base/all-architectures-7.exp: New file.
3299 * gdb.base/all-architectures.exp.in: New file.
3300
3301 2016-12-09 Yao Qi <yao.qi@linaro.org>
3302
3303 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
3304
3305 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
3306
3307 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
3308 possible.
3309 Remove useless pattern-matching code.
3310
3311 2016-12-02 Pedro Alves <palves@redhat.com>
3312
3313 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
3314 procedure.
3315 (top level): Call it.
3316
3317 2016-12-02 Pedro Alves <palves@redhat.com>
3318
3319 * gdb.base/commands.exp (user_defined_command_args_stack_test):
3320 New procedure.
3321 (top level): Call it.
3322
3323 2016-12-02 Pedro Alves <palves@redhat.com>
3324
3325 PR cli/20559
3326 * gdb.base/commands.exp (user_defined_command_args_eval): New
3327 procedure.
3328 (top level): Call it.
3329
3330 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
3331
3332 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
3333 timeout handling.
3334
3335 2016-12-02 Tom Tromey <tom@tromey.com>
3336
3337 * gdb.dwarf2/main-subprogram.c: New file.
3338 * gdb.dwarf2/main-subprogram.exp: New file.
3339
3340 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
3341
3342 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
3343 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
3344 gdb_test_no_output for a couple of cases.
3345 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
3346
3347 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
3348
3349 Fix test names and standardize compilation error messages throughout
3350 the following files:
3351
3352 * gdb.ada/start.exp
3353 * gdb.arch/alpha-step.exp
3354 * gdb.arch/e500-prologue.exp
3355 * gdb.arch/ftrace-insn-reloc.exp
3356 * gdb.arch/gdb1291.exp
3357 * gdb.arch/gdb1431.exp
3358 * gdb.arch/gdb1558.exp
3359 * gdb.arch/i386-dr3-watch.exp
3360 * gdb.arch/i386-sse-stack-align.exp
3361 * gdb.arch/ia64-breakpoint-shadow.exp
3362 * gdb.arch/pa-nullify.exp
3363 * gdb.arch/powerpc-aix-prologue.exp
3364 * gdb.arch/thumb-bx-pc.exp
3365 * gdb.base/annota1.exp
3366 * gdb.base/annota3.exp
3367 * gdb.base/arrayidx.exp
3368 * gdb.base/assign.exp
3369 * gdb.base/attach.exp
3370 * gdb.base/auxv.exp
3371 * gdb.base/bang.exp
3372 * gdb.base/bfp-test.exp
3373 * gdb.base/bigcore.exp
3374 * gdb.base/bitfields2.exp
3375 * gdb.base/break-fun-addr.exp
3376 * gdb.base/break-probes.exp
3377 * gdb.base/call-rt-st.exp
3378 * gdb.base/callexit.exp
3379 * gdb.base/catch-fork-kill.exp
3380 * gdb.base/charset.exp
3381 * gdb.base/checkpoint.exp
3382 * gdb.base/comprdebug.exp
3383 * gdb.base/constvars.exp
3384 * gdb.base/coredump-filter.exp
3385 * gdb.base/cursal.exp
3386 * gdb.base/cvexpr.exp
3387 * gdb.base/detach.exp
3388 * gdb.base/display.exp
3389 * gdb.base/dmsym.exp
3390 * gdb.base/dprintf-pending.exp
3391 * gdb.base/dso2dso.exp
3392 * gdb.base/dtrace-probe.exp
3393 * gdb.base/dump.exp
3394 * gdb.base/enum_cond.exp
3395 * gdb.base/exe-lock.exp
3396 * gdb.base/exec-invalid-sysroot.exp
3397 * gdb.base/execl-update-breakpoints.exp
3398 * gdb.base/exprs.exp
3399 * gdb.base/fileio.exp
3400 * gdb.base/find.exp
3401 * gdb.base/finish.exp
3402 * gdb.base/fixsection.exp
3403 * gdb.base/foll-vfork.exp
3404 * gdb.base/frame-args.exp
3405 * gdb.base/gcore.exp
3406 * gdb.base/gdb1250.exp
3407 * gdb.base/global-var-nested-by-dso.exp
3408 * gdb.base/gnu-ifunc.exp
3409 * gdb.base/hashline1.exp
3410 * gdb.base/hashline2.exp
3411 * gdb.base/hashline3.exp
3412 * gdb.base/hbreak-in-shr-unsupported.exp
3413 * gdb.base/huge.exp
3414 * gdb.base/infcall-input.exp
3415 * gdb.base/info-fun.exp
3416 * gdb.base/info-shared.exp
3417 * gdb.base/jit-simple.exp
3418 * gdb.base/jit-so.exp
3419 * gdb.base/jit.exp
3420 * gdb.base/jump.exp
3421 * gdb.base/label.exp
3422 * gdb.base/lineinc.exp
3423 * gdb.base/logical.exp
3424 * gdb.base/longjmp.exp
3425 * gdb.base/macscp.exp
3426 * gdb.base/miscexprs.exp
3427 * gdb.base/new-ui-echo.exp
3428 * gdb.base/new-ui-pending-input.exp
3429 * gdb.base/new-ui.exp
3430 * gdb.base/nodebug.exp
3431 * gdb.base/nofield.exp
3432 * gdb.base/offsets.exp
3433 * gdb.base/overlays.exp
3434 * gdb.base/pending.exp
3435 * gdb.base/pointers.exp
3436 * gdb.base/pr11022.exp
3437 * gdb.base/printcmds.exp
3438 * gdb.base/prologue.exp
3439 * gdb.base/ptr-typedef.exp
3440 * gdb.base/realname-expand.exp
3441 * gdb.base/relativedebug.exp
3442 * gdb.base/relocate.exp
3443 * gdb.base/remote.exp
3444 * gdb.base/reread.exp
3445 * gdb.base/return2.exp
3446 * gdb.base/savedregs.exp
3447 * gdb.base/sep.exp
3448 * gdb.base/sepdebug.exp
3449 * gdb.base/sepsymtab.exp
3450 * gdb.base/set-inferior-tty.exp
3451 * gdb.base/setshow.exp
3452 * gdb.base/shlib-call.exp
3453 * gdb.base/sigaltstack.exp
3454 * gdb.base/siginfo-addr.exp
3455 * gdb.base/signals.exp
3456 * gdb.base/signull.exp
3457 * gdb.base/sigrepeat.exp
3458 * gdb.base/so-impl-ld.exp
3459 * gdb.base/solib-display.exp
3460 * gdb.base/solib-overlap.exp
3461 * gdb.base/solib-search.exp
3462 * gdb.base/solib-symbol.exp
3463 * gdb.base/structs.exp
3464 * gdb.base/structs2.exp
3465 * gdb.base/symtab-search-order.exp
3466 * gdb.base/twice.exp
3467 * gdb.base/unload.exp
3468 * gdb.base/varargs.exp
3469 * gdb.base/watchpoint-solib.exp
3470 * gdb.base/watchpoint.exp
3471 * gdb.base/whatis.exp
3472 * gdb.base/wrong_frame_bt_full.exp
3473 * gdb.btrace/dlopen.exp
3474 * gdb.cell/ea-standalone.exp
3475 * gdb.cell/ea-test.exp
3476 * gdb.cp/dispcxx.exp
3477 * gdb.cp/gdb2384.exp
3478 * gdb.cp/method2.exp
3479 * gdb.cp/nextoverthrow.exp
3480 * gdb.cp/pr10728.exp
3481 * gdb.disasm/am33.exp
3482 * gdb.disasm/h8300s.exp
3483 * gdb.disasm/mn10300.exp
3484 * gdb.disasm/sh3.exp
3485 * gdb.dwarf2/dw2-dir-file-name.exp
3486 * gdb.fortran/complex.exp
3487 * gdb.fortran/library-module.exp
3488 * gdb.guile/scm-pretty-print.exp
3489 * gdb.guile/scm-symbol.exp
3490 * gdb.guile/scm-type.exp
3491 * gdb.guile/scm-value.exp
3492 * gdb.linespec/linespec.exp
3493 * gdb.mi/gdb701.exp
3494 * gdb.mi/gdb792.exp
3495 * gdb.mi/mi-breakpoint-changed.exp
3496 * gdb.mi/mi-dprintf-pending.exp
3497 * gdb.mi/mi-dprintf.exp
3498 * gdb.mi/mi-exit-code.exp
3499 * gdb.mi/mi-pending.exp
3500 * gdb.mi/mi-solib.exp
3501 * gdb.mi/new-ui-mi-sync.exp
3502 * gdb.mi/pr11022.exp
3503 * gdb.mi/user-selected-context-sync.exp
3504 * gdb.opt/solib-intra-step.exp
3505 * gdb.python/py-events.exp
3506 * gdb.python/py-finish-breakpoint.exp
3507 * gdb.python/py-mi.exp
3508 * gdb.python/py-prettyprint.exp
3509 * gdb.python/py-shared.exp
3510 * gdb.python/py-symbol.exp
3511 * gdb.python/py-template.exp
3512 * gdb.python/py-type.exp
3513 * gdb.python/py-value.exp
3514 * gdb.reverse/solib-precsave.exp
3515 * gdb.reverse/solib-reverse.exp
3516 * gdb.server/solib-list.exp
3517 * gdb.stabs/weird.exp
3518 * gdb.threads/reconnect-signal.exp
3519 * gdb.threads/stepi-random-signal.exp
3520 * gdb.trace/actions.exp
3521 * gdb.trace/ax.exp
3522 * gdb.trace/backtrace.exp
3523 * gdb.trace/change-loc.exp
3524 * gdb.trace/deltrace.exp
3525 * gdb.trace/ftrace-lock.exp
3526 * gdb.trace/ftrace.exp
3527 * gdb.trace/infotrace.exp
3528 * gdb.trace/mi-tracepoint-changed.exp
3529 * gdb.trace/packetlen.exp
3530 * gdb.trace/passcount.exp
3531 * gdb.trace/pending.exp
3532 * gdb.trace/range-stepping.exp
3533 * gdb.trace/report.exp
3534 * gdb.trace/stap-trace.exp
3535 * gdb.trace/tfind.exp
3536 * gdb.trace/trace-break.exp
3537 * gdb.trace/trace-condition.exp
3538 * gdb.trace/trace-enable-disable.exp
3539 * gdb.trace/trace-mt.exp
3540 * gdb.trace/tracecmd.exp
3541 * gdb.trace/tspeed.exp
3542 * gdb.trace/tsv.exp
3543 * lib/perftest.exp
3544
3545 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
3546
3547 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
3548 with gdb_test_no_output.
3549 Use command as test name.
3550
3551 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
3552
3553 Fix test names starting with uppercase throughout the files.
3554
3555 * gdb.ada/assign_1.exp
3556 * gdb.ada/boolean_expr.exp
3557 * gdb.base/arrayidx.exp
3558 * gdb.base/del.exp
3559 * gdb.base/gcore-buffer-overflow.exp
3560 * gdb.base/testenv.exp
3561 * gdb.compile/compile.exp
3562 * gdb.python/py-framefilter-invalidarg.exp
3563 * gdb.python/py-framefilter.exp
3564
3565 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
3566
3567 Fix test names starting with uppercase throughout the files.
3568
3569 * gdb.ada/array_return.exp
3570 * gdb.ada/expr_delims.exp
3571 * gdb.ada/mi_dyn_arr.exp
3572 * gdb.ada/mi_interface.exp
3573 * gdb.ada/mi_var_array.exp
3574 * gdb.ada/watch_arg.exp
3575 * gdb.arch/alpha-step.exp
3576 * gdb.arch/altivec-regs.exp
3577 * gdb.arch/e500-regs.exp
3578 * gdb.arch/powerpc-d128-regs.exp
3579 * gdb.base/arrayidx.exp
3580 * gdb.base/break.exp
3581 * gdb.base/checkpoint.exp
3582 * gdb.base/debug-expr.exp
3583 * gdb.base/dmsym.exp
3584 * gdb.base/radix.exp
3585 * gdb.base/sepdebug.exp
3586 * gdb.base/testenv.exp
3587 * gdb.base/watch_thread_num.exp
3588 * gdb.base/watchpoint-cond-gone.exp
3589 * gdb.cell/break.exp
3590 * gdb.cell/ea-cache.exp
3591 * gdb.compile/compile.exp
3592 * gdb.cp/gdb2495.exp
3593 * gdb.gdb/selftest.exp
3594 * gdb.gdb/xfullpath.exp
3595 * gdb.go/hello.exp
3596 * gdb.go/integers.exp
3597 * gdb.objc/basicclass.exp
3598 * gdb.pascal/hello.exp
3599 * gdb.pascal/integers.exp
3600 * gdb.python/py-breakpoint.exp
3601 * gdb.python/py-cmd.exp
3602 * gdb.python/py-linetable.exp
3603 * gdb.python/py-xmethods.exp
3604 * gdb.python/python.exp
3605 * gdb.reverse/consecutive-precsave.exp
3606 * gdb.reverse/finish-precsave.exp
3607 * gdb.reverse/i386-precsave.exp
3608 * gdb.reverse/machinestate-precsave.exp
3609 * gdb.reverse/sigall-precsave.exp
3610 * gdb.reverse/solib-precsave.exp
3611 * gdb.reverse/step-precsave.exp
3612 * gdb.reverse/until-precsave.exp
3613 * gdb.reverse/watch-precsave.exp
3614 * gdb.threads/leader-exit.exp
3615 * gdb.threads/pthreads.exp
3616 * gdb.threads/wp-replication.exp
3617 * gdb.trace/actions.exp
3618 * gdb.trace/mi-tsv-changed.exp
3619 * gdb.trace/tsv.exp
3620
3621 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
3622
3623 Fix test names starting with uppercase throughout the files.
3624
3625 * gdb.arch/i386-bp_permanent.exp
3626 * gdb.arch/i386-gnu-cfi.exp
3627 * gdb.base/disasm-end-cu.exp
3628 * gdb.base/macscp.exp
3629 * gdb.base/pending.exp
3630 * gdb.base/watch_thread_num.exp
3631 * gdb.cp/exception.exp
3632 * gdb.cp/gdb2495.exp
3633 * gdb.cp/local.exp
3634 * gdb.python/py-evsignal.exp
3635 * gdb.python/python.exp
3636 * gdb.trace/tracecmd.exp
3637
3638 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
3639
3640 Fix test names starting with uppercase throughout the files.
3641
3642 * gdb.base/charset.exp
3643 * gdb.base/eval.exp
3644 * gdb.base/multi-forks.exp
3645 * gdb.guile/scm-progspace.exp
3646 * gdb.opencl/datatypes.exp
3647 * gdb.python/py-block.exp
3648 * gdb.python/py-function.exp
3649 * gdb.python/py-symbol.exp
3650 * gdb.python/py-symtab.exp
3651 * gdb.python/py-xmethods.exp
3652 * gdb.reverse/break-precsave.exp
3653 * gdb.reverse/break-reverse.exp
3654 * gdb.reverse/consecutive-precsave.exp
3655 * gdb.reverse/consecutive-reverse.exp
3656 * gdb.reverse/finish-precsave.exp
3657 * gdb.reverse/finish-reverse-bkpt.exp
3658 * gdb.reverse/finish-reverse.exp
3659 * gdb.reverse/fstatat-reverse.exp
3660 * gdb.reverse/getresuid-reverse.exp
3661 * gdb.reverse/i386-precsave.exp
3662 * gdb.reverse/i386-reverse.exp
3663 * gdb.reverse/i386-sse-reverse.exp
3664 * gdb.reverse/i387-stack-reverse.exp
3665 * gdb.reverse/insn-reverse.exp
3666 * gdb.reverse/machinestate-precsave.exp
3667 * gdb.reverse/machinestate.exp
3668 * gdb.reverse/next-reverse-bkpt-over-sr.exp
3669 * gdb.reverse/pipe-reverse.exp
3670 * gdb.reverse/readv-reverse.exp
3671 * gdb.reverse/recvmsg-reverse.exp
3672 * gdb.reverse/rerun-prec.exp
3673 * gdb.reverse/s390-mvcle.exp
3674 * gdb.reverse/sigall-precsave.exp
3675 * gdb.reverse/sigall-reverse.exp
3676 * gdb.reverse/solib-precsave.exp
3677 * gdb.reverse/solib-reverse.exp
3678 * gdb.reverse/step-precsave.exp
3679 * gdb.reverse/step-reverse.exp
3680 * gdb.reverse/time-reverse.exp
3681 * gdb.reverse/until-precsave.exp
3682 * gdb.reverse/until-reverse.exp
3683 * gdb.reverse/waitpid-reverse.exp
3684 * gdb.reverse/watch-precsave.exp
3685 * gdb.reverse/watch-reverse.exp
3686
3687 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
3688
3689 Fix test names starting with uppercase throughout the files.
3690
3691 * gdb.arch/i386-mpx-simple_segv.exp
3692 * gdb.arch/i386-mpx.exp
3693 * gdb.arch/i386-permbkpt.exp
3694 * gdb.arch/pa-nullify.exp
3695 * gdb.arch/powerpc-d128-regs.exp
3696 * gdb.arch/vsx-regs.exp
3697 * gdb.base/bfp-test.exp
3698 * gdb.base/break.exp
3699 * gdb.base/breakpoint-shadow.exp
3700 * gdb.base/callfuncs.exp
3701 * gdb.base/charset.exp
3702 * gdb.base/commands.exp
3703 * gdb.base/completion.exp
3704 * gdb.base/dfp-test.exp
3705 * gdb.base/echo.exp
3706 * gdb.base/ending-run.exp
3707 * gdb.base/eval.exp
3708 * gdb.base/expand-psymtabs.exp
3709 * gdb.base/float128.exp
3710 * gdb.base/floatn.exp
3711 * gdb.base/foll-exec-mode.exp
3712 * gdb.base/gdb1056.exp
3713 * gdb.base/gdb11531.exp
3714 * gdb.base/kill-after-signal.exp
3715 * gdb.base/multi-forks.exp
3716 * gdb.base/overlays.exp
3717 * gdb.base/pending.exp
3718 * gdb.base/sepdebug.exp
3719 * gdb.base/testenv.exp
3720 * gdb.base/valgrind-db-attach.exp
3721 * gdb.base/watch_thread_num.exp
3722 * gdb.base/watchpoint-cond-gone.exp
3723 * gdb.base/watchpoint.exp
3724 * gdb.base/watchpoints.exp
3725 * gdb.cp/arg-reference.exp
3726 * gdb.cp/baseenum.exp
3727 * gdb.cp/operator.exp
3728 * gdb.cp/shadow.exp
3729 * gdb.dwarf2/dw2-op-out-param.exp
3730 * gdb.dwarf2/dw2-reg-undefined.exp
3731 * gdb.go/chan.exp
3732 * gdb.go/hello.exp
3733 * gdb.go/integers.exp
3734 * gdb.go/methods.exp
3735 * gdb.go/package.exp
3736 * gdb.guile/scm-parameter.exp
3737 * gdb.guile/scm-progspace.exp
3738 * gdb.guile/scm-value.exp
3739 * gdb.mi/mi-pending.exp
3740 * gdb.mi/user-selected-context-sync.exp
3741 * gdb.multi/multi-attach.exp
3742 * gdb.multi/tids.exp
3743 * gdb.opt/clobbered-registers-O2.exp
3744 * gdb.pascal/floats.exp
3745 * gdb.pascal/integers.exp
3746 * gdb.python/py-block.exp
3747 * gdb.python/py-events.exp
3748 * gdb.python/py-parameter.exp
3749 * gdb.python/py-symbol.exp
3750 * gdb.python/py-symtab.exp
3751 * gdb.python/py-type.exp
3752 * gdb.python/py-value.exp
3753 * gdb.python/py-xmethods.exp
3754 * gdb.python/python.exp
3755 * gdb.reverse/break-precsave.exp
3756 * gdb.reverse/consecutive-precsave.exp
3757 * gdb.reverse/finish-precsave.exp
3758 * gdb.reverse/i386-precsave.exp
3759 * gdb.reverse/machinestate-precsave.exp
3760 * gdb.reverse/sigall-precsave.exp
3761 * gdb.reverse/solib-precsave.exp
3762 * gdb.reverse/step-precsave.exp
3763 * gdb.reverse/until-precsave.exp
3764 * gdb.reverse/watch-precsave.exp
3765 * gdb.server/ext-attach.exp
3766 * gdb.server/ext-restart.exp
3767 * gdb.server/ext-run.exp
3768 * gdb.server/ext-wrapper.exp
3769 * gdb.stabs/gdb11479.exp
3770 * gdb.stabs/weird.exp
3771 * gdb.threads/attach-many-short-lived-threads.exp
3772 * gdb.threads/kill.exp
3773 * gdb.threads/watchpoint-fork.exp
3774
3775 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
3776
3777 Fix test names starting with uppercase throughout all the files below.
3778
3779 * gdb.ada/array_return.exp
3780 * gdb.ada/catch_ex.exp
3781 * gdb.ada/info_exc.exp
3782 * gdb.ada/mi_catch_ex.exp
3783 * gdb.ada/mi_dyn_arr.exp
3784 * gdb.ada/mi_ex_cond.exp
3785 * gdb.ada/mi_exc_info.exp
3786 * gdb.ada/mi_interface.exp
3787 * gdb.ada/mi_task_arg.exp
3788 * gdb.ada/mi_task_info.exp
3789 * gdb.ada/mi_var_array.exp
3790 * gdb.arch/alpha-step.exp
3791 * gdb.arch/amd64-disp-step.exp
3792 * gdb.arch/arm-disp-step.exp
3793 * gdb.arch/disp-step-insn-reloc.exp
3794 * gdb.arch/e500-prologue.exp
3795 * gdb.arch/ftrace-insn-reloc.exp
3796 * gdb.arch/gdb1558.exp
3797 * gdb.arch/i386-bp_permanent.exp
3798 * gdb.arch/i386-disp-step.exp
3799 * gdb.arch/i386-float.exp
3800 * gdb.arch/i386-gnu-cfi.exp
3801 * gdb.arch/ia64-breakpoint-shadow.exp
3802 * gdb.arch/mips16-thunks.exp
3803 * gdb.arch/pa-nullify.exp
3804 * gdb.arch/powerpc-aix-prologue.exp
3805 * gdb.arch/powerpc-power.exp
3806 * gdb.arch/ppc-dfp.exp
3807 * gdb.arch/s390-tdbregs.exp
3808 * gdb.arch/spu-info.exp
3809 * gdb.arch/spu-ls.exp
3810 * gdb.arch/thumb-bx-pc.exp
3811 * gdb.base/advance.exp
3812 * gdb.base/annota-input-while-running.exp
3813 * gdb.base/arrayidx.exp
3814 * gdb.base/asmlabel.exp
3815 * gdb.base/async.exp
3816 * gdb.base/attach-wait-input.exp
3817 * gdb.base/auto-connect-native-target.exp
3818 * gdb.base/batch-preserve-term-settings.exp
3819 * gdb.base/bfp-test.exp
3820 * gdb.base/bigcore.exp
3821 * gdb.base/bp-permanent.exp
3822 * gdb.base/break-always.exp
3823 * gdb.base/break-fun-addr.exp
3824 * gdb.base/break-idempotent.exp
3825 * gdb.base/break-main-file-remove-fail.exp
3826 * gdb.base/break-probes.exp
3827 * gdb.base/break-unload-file.exp
3828 * gdb.base/break.exp
3829 * gdb.base/call-ar-st.exp
3830 * gdb.base/call-rt-st.exp
3831 * gdb.base/call-sc.exp
3832 * gdb.base/call-signal-resume.exp
3833 * gdb.base/call-strs.exp
3834 * gdb.base/callexit.exp
3835 * gdb.base/callfuncs.exp
3836 * gdb.base/catch-gdb-caused-signals.exp
3837 * gdb.base/catch-signal-siginfo-cond.exp
3838 * gdb.base/catch-syscall.exp
3839 * gdb.base/compare-sections.exp
3840 * gdb.base/cond-eval-mode.exp
3841 * gdb.base/condbreak-call-false.exp
3842 * gdb.base/consecutive-step-over.exp
3843 * gdb.base/cursal.exp
3844 * gdb.base/disabled-location.exp
3845 * gdb.base/disasm-end-cu.exp
3846 * gdb.base/display.exp
3847 * gdb.base/double-prompt-target-event-error.exp
3848 * gdb.base/dprintf-bp-same-addr.exp
3849 * gdb.base/dprintf-detach.exp
3850 * gdb.base/dprintf-next.exp
3851 * gdb.base/dprintf-non-stop.exp
3852 * gdb.base/dprintf-pending.exp
3853 * gdb.base/dso2dso.exp
3854 * gdb.base/ending-run.exp
3855 * gdb.base/enum_cond.exp
3856 * gdb.base/examine-backward.exp
3857 * gdb.base/exe-lock.exp
3858 * gdb.base/exec-invalid-sysroot.exp
3859 * gdb.base/execl-update-breakpoints.exp
3860 * gdb.base/execution-termios.exp
3861 * gdb.base/fileio.exp
3862 * gdb.base/fixsection.exp
3863 * gdb.base/foll-exec-mode.exp
3864 * gdb.base/foll-exec.exp
3865 * gdb.base/fork-running-state.exp
3866 * gdb.base/frame-args.exp
3867 * gdb.base/fullpath-expand.exp
3868 * gdb.base/func-ptr.exp
3869 * gdb.base/gcore-relro-pie.exp
3870 * gdb.base/gdb1090.exp
3871 * gdb.base/gdb1555.exp
3872 * gdb.base/global-var-nested-by-dso.exp
3873 * gdb.base/gnu-ifunc.exp
3874 * gdb.base/hbreak-in-shr-unsupported.exp
3875 * gdb.base/hbreak-unmapped.exp
3876 * gdb.base/hook-stop.exp
3877 * gdb.base/infcall-input.exp
3878 * gdb.base/info-fun.exp
3879 * gdb.base/info-shared.exp
3880 * gdb.base/interrupt-noterm.exp
3881 * gdb.base/jit-so.exp
3882 * gdb.base/jit.exp
3883 * gdb.base/line-symtabs.exp
3884 * gdb.base/list.exp
3885 * gdb.base/longjmp.exp
3886 * gdb.base/macscp.exp
3887 * gdb.base/max-value-size.exp
3888 * gdb.base/nodebug.exp
3889 * gdb.base/nofield.exp
3890 * gdb.base/overlays.exp
3891 * gdb.base/paginate-after-ctrl-c-running.exp
3892 * gdb.base/paginate-bg-execution.exp
3893 * gdb.base/paginate-inferior-exit.exp
3894 * gdb.base/pending.exp
3895 * gdb.base/pr11022.exp
3896 * gdb.base/printcmds.exp
3897 * gdb.base/ptr-typedef.exp
3898 * gdb.base/ptype.exp
3899 * gdb.base/randomize.exp
3900 * gdb.base/range-stepping.exp
3901 * gdb.base/realname-expand.exp
3902 * gdb.base/relativedebug.exp
3903 * gdb.base/remote.exp
3904 * gdb.base/savedregs.exp
3905 * gdb.base/sepdebug.exp
3906 * gdb.base/set-noassign.exp
3907 * gdb.base/shlib-call.exp
3908 * gdb.base/shreloc.exp
3909 * gdb.base/sigaltstack.exp
3910 * gdb.base/sigbpt.exp
3911 * gdb.base/siginfo-addr.exp
3912 * gdb.base/siginfo-obj.exp
3913 * gdb.base/siginfo-thread.exp
3914 * gdb.base/signest.exp
3915 * gdb.base/signull.exp
3916 * gdb.base/sigrepeat.exp
3917 * gdb.base/skip.exp
3918 * gdb.base/so-impl-ld.exp
3919 * gdb.base/solib-corrupted.exp
3920 * gdb.base/solib-disc.exp
3921 * gdb.base/solib-display.exp
3922 * gdb.base/solib-overlap.exp
3923 * gdb.base/solib-search.exp
3924 * gdb.base/solib-symbol.exp
3925 * gdb.base/source-execution.exp
3926 * gdb.base/sss-bp-on-user-bp-2.exp
3927 * gdb.base/sss-bp-on-user-bp.exp
3928 * gdb.base/stack-checking.exp
3929 * gdb.base/stale-infcall.exp
3930 * gdb.base/step-break.exp
3931 * gdb.base/step-line.exp
3932 * gdb.base/step-over-exit.exp
3933 * gdb.base/step-test.exp
3934 * gdb.base/structs.exp
3935 * gdb.base/sym-file.exp
3936 * gdb.base/symtab-search-order.exp
3937 * gdb.base/term.exp
3938 * gdb.base/type-opaque.exp
3939 * gdb.base/unload.exp
3940 * gdb.base/until-nodebug.exp
3941 * gdb.base/until.exp
3942 * gdb.base/unwindonsignal.exp
3943 * gdb.base/watch-cond.exp
3944 * gdb.base/watch-non-mem.exp
3945 * gdb.base/watch_thread_num.exp
3946 * gdb.base/watchpoint-reuse-slot.exp
3947 * gdb.base/watchpoint-solib.exp
3948 * gdb.base/watchpoint.exp
3949 * gdb.btrace/dlopen.exp
3950 * gdb.cell/arch.exp
3951 * gdb.cell/break.exp
3952 * gdb.cell/bt.exp
3953 * gdb.cell/core.exp
3954 * gdb.cell/data.exp
3955 * gdb.cell/dwarfaddr.exp
3956 * gdb.cell/ea-cache.exp
3957 * gdb.cell/ea-standalone.exp
3958 * gdb.cell/ea-test.exp
3959 * gdb.cell/f-regs.exp
3960 * gdb.cell/fork.exp
3961 * gdb.cell/gcore.exp
3962 * gdb.cell/mem-access.exp
3963 * gdb.cell/ptype.exp
3964 * gdb.cell/registers.exp
3965 * gdb.cell/sizeof.exp
3966 * gdb.cell/solib-symbol.exp
3967 * gdb.cell/solib.exp
3968 * gdb.compile/compile-tls.exp
3969 * gdb.cp/exception.exp
3970 * gdb.cp/gdb2495.exp
3971 * gdb.cp/local.exp
3972 * gdb.cp/mb-inline.exp
3973 * gdb.cp/mb-templates.exp
3974 * gdb.cp/pr10687.exp
3975 * gdb.cp/pr9167.exp
3976 * gdb.cp/scope-err.exp
3977 * gdb.cp/templates.exp
3978 * gdb.cp/virtfunc.exp
3979 * gdb.dwarf2/dw2-dir-file-name.exp
3980 * gdb.dwarf2/dw2-single-line-discriminators.exp
3981 * gdb.fortran/complex.exp
3982 * gdb.fortran/library-module.exp
3983 * gdb.guile/guile.exp
3984 * gdb.guile/scm-cmd.exp
3985 * gdb.guile/scm-frame-inline.exp
3986 * gdb.guile/scm-objfile.exp
3987 * gdb.guile/scm-pretty-print.exp
3988 * gdb.guile/scm-symbol.exp
3989 * gdb.guile/scm-type.exp
3990 * gdb.guile/scm-value.exp
3991 * gdb.linespec/keywords.exp
3992 * gdb.linespec/ls-errs.exp
3993 * gdb.linespec/macro-relative.exp
3994 * gdb.linespec/thread.exp
3995 * gdb.mi/mi-breakpoint-changed.exp
3996 * gdb.mi/mi-dprintf-pending.exp
3997 * gdb.mi/mi-fullname-deleted.exp
3998 * gdb.mi/mi-logging.exp
3999 * gdb.mi/mi-pending.exp
4000 * gdb.mi/mi-solib.exp
4001 * gdb.mi/new-ui-mi-sync.exp
4002 * gdb.mi/user-selected-context-sync.exp
4003 * gdb.multi/dummy-frame-restore.exp
4004 * gdb.multi/multi-arch-exec.exp
4005 * gdb.multi/remove-inferiors.exp
4006 * gdb.multi/watchpoint-multi-exit.exp
4007 * gdb.opt/solib-intra-step.exp
4008 * gdb.perf/backtrace.exp
4009 * gdb.perf/single-step.exp
4010 * gdb.perf/skip-command.exp
4011 * gdb.perf/skip-prologue.exp
4012 * gdb.perf/solib.exp
4013 * gdb.python/lib-types.exp
4014 * gdb.python/py-as-string.exp
4015 * gdb.python/py-bad-printers.exp
4016 * gdb.python/py-block.exp
4017 * gdb.python/py-breakpoint.exp
4018 * gdb.python/py-cmd.exp
4019 * gdb.python/py-events.exp
4020 * gdb.python/py-evthreads.exp
4021 * gdb.python/py-finish-breakpoint.exp
4022 * gdb.python/py-finish-breakpoint2.exp
4023 * gdb.python/py-frame-inline.exp
4024 * gdb.python/py-frame.exp
4025 * gdb.python/py-inferior.exp
4026 * gdb.python/py-infthread.exp
4027 * gdb.python/py-mi.exp
4028 * gdb.python/py-objfile.exp
4029 * gdb.python/py-pp-maint.exp
4030 * gdb.python/py-pp-registration.exp
4031 * gdb.python/py-prettyprint.exp
4032 * gdb.python/py-recurse-unwind.exp
4033 * gdb.python/py-shared.exp
4034 * gdb.python/py-symbol.exp
4035 * gdb.python/py-symtab.exp
4036 * gdb.python/py-template.exp
4037 * gdb.python/py-type.exp
4038 * gdb.python/py-unwind-maint.exp
4039 * gdb.python/py-unwind.exp
4040 * gdb.python/py-value.exp
4041 * gdb.python/python.exp
4042 * gdb.reverse/finish-reverse-bkpt.exp
4043 * gdb.reverse/insn-reverse.exp
4044 * gdb.reverse/next-reverse-bkpt-over-sr.exp
4045 * gdb.reverse/solib-precsave.exp
4046 * gdb.reverse/solib-reverse.exp
4047 * gdb.stabs/gdb11479.exp
4048 * gdb.stabs/weird.exp
4049 * gdb.threads/fork-child-threads.exp
4050 * gdb.threads/fork-plus-threads.exp
4051 * gdb.threads/fork-thread-pending.exp
4052 * gdb.threads/forking-threads-plus-breakpoint.exp
4053 * gdb.threads/hand-call-in-threads.exp
4054 * gdb.threads/interrupted-hand-call.exp
4055 * gdb.threads/linux-dp.exp
4056 * gdb.threads/local-watch-wrong-thread.exp
4057 * gdb.threads/next-while-other-thread-longjmps.exp
4058 * gdb.threads/non-ldr-exit.exp
4059 * gdb.threads/pending-step.exp
4060 * gdb.threads/print-threads.exp
4061 * gdb.threads/process-dies-while-detaching.exp
4062 * gdb.threads/process-dies-while-handling-bp.exp
4063 * gdb.threads/pthreads.exp
4064 * gdb.threads/queue-signal.exp
4065 * gdb.threads/reconnect-signal.exp
4066 * gdb.threads/signal-command-handle-nopass.exp
4067 * gdb.threads/signal-command-multiple-signals-pending.exp
4068 * gdb.threads/signal-delivered-right-thread.exp
4069 * gdb.threads/signal-sigtrap.exp
4070 * gdb.threads/sigthread.exp
4071 * gdb.threads/staticthreads.exp
4072 * gdb.threads/stepi-random-signal.exp
4073 * gdb.threads/thread-unwindonsignal.exp
4074 * gdb.threads/thread_check.exp
4075 * gdb.threads/thread_events.exp
4076 * gdb.threads/tid-reuse.exp
4077 * gdb.threads/tls-nodebug.exp
4078 * gdb.threads/tls-shared.exp
4079 * gdb.threads/tls-so_extern.exp
4080 * gdb.threads/tls.exp
4081 * gdb.threads/wp-replication.exp
4082 * gdb.trace/actions-changed.exp
4083 * gdb.trace/actions.exp
4084 * gdb.trace/backtrace.exp
4085 * gdb.trace/change-loc.exp
4086 * gdb.trace/collection.exp
4087 * gdb.trace/deltrace.exp
4088 * gdb.trace/disconnected-tracing.exp
4089 * gdb.trace/entry-values.exp
4090 * gdb.trace/ftrace-lock.exp
4091 * gdb.trace/ftrace.exp
4092 * gdb.trace/infotrace.exp
4093 * gdb.trace/mi-trace-frame-collected.exp
4094 * gdb.trace/mi-trace-unavailable.exp
4095 * gdb.trace/mi-traceframe-changed.exp
4096 * gdb.trace/mi-tracepoint-changed.exp
4097 * gdb.trace/mi-tsv-changed.exp
4098 * gdb.trace/no-attach-trace.exp
4099 * gdb.trace/packetlen.exp
4100 * gdb.trace/passc-dyn.exp
4101 * gdb.trace/passcount.exp
4102 * gdb.trace/pending.exp
4103 * gdb.trace/pr16508.exp
4104 * gdb.trace/qtro.exp
4105 * gdb.trace/range-stepping.exp
4106 * gdb.trace/read-memory.exp
4107 * gdb.trace/report.exp
4108 * gdb.trace/save-trace.exp
4109 * gdb.trace/signal.exp
4110 * gdb.trace/stap-trace.exp
4111 * gdb.trace/status-stop.exp
4112 * gdb.trace/strace.exp
4113 * gdb.trace/tfile.exp
4114 * gdb.trace/tfind.exp
4115 * gdb.trace/trace-break.exp
4116 * gdb.trace/trace-condition.exp
4117 * gdb.trace/trace-enable-disable.exp
4118 * gdb.trace/trace-mt.exp
4119 * gdb.trace/tracecmd.exp
4120 * gdb.trace/tracefile-pseudo-reg.exp
4121 * gdb.trace/tspeed.exp
4122 * gdb.trace/tstatus.exp
4123 * gdb.trace/tsv.exp
4124 * gdb.trace/unavailable.exp
4125 * gdb.trace/while-dyn.exp
4126 * gdb.trace/while-stepping.exp
4127 * lib/gdb-guile.exp
4128 * lib/gdb.exp
4129 * lib/mi-support.exp
4130 * lib/pascal.exp
4131 * lib/perftest.exp
4132 * lib/prelink-support.exp
4133 * lib/selftest-support.exp
4134
4135 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
4136
4137 * Makefile.in: Include disable-implicit-rules.mk.
4138
4139 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
4140
4141 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
4142 non-byte-aligned bit fields.
4143
4144 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
4145
4146 PR gdb/12616
4147 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
4148 respects the DW_AT_data_bit_offset attribute.
4149
4150 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
4151
4152 * gdb.base/default.exp: Fix output of "set language".
4153
4154 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
4155
4156 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
4157 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
4158 make.
4159 * configure.ac: Remove checks for the make program.
4160 * configure: Re-generate.
4161
4162 2016-11-16 Kevin Buettner <kevinb@redhat.com>
4163
4164 * gdb.python/py-recurse-unwind.c (main): Add loop.
4165 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
4166 to read_register() and gdb.parse_and_eval(). Make each code
4167 call a separate case that can be individually tested.
4168 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
4169 proc. Call cont_and_backtrace for each of the code paths that
4170 we want to test in the unwinder.
4171
4172 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
4173
4174 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
4175 the definition of struct S.
4176
4177 2016-11-11 Catherine Moore <clm@codesourcery.com>
4178
4179 * gdb.base/dump.exp: Identify verilog format dump tests as such.
4180
4181 2016-11-09 Pedro Alves <palves@redhat.com>
4182
4183 * gdb.base/commands.exp (runto_or_return): New procedure.
4184 (gdbvar_simple_if_test, gdbvar_simple_while_test)
4185 (gdbvar_complex_if_while_test, progvar_simple_if_test)
4186 (progvar_simple_while_test, progvar_complex_if_while_test)
4187 (if_while_breakpoint_command_test)
4188 (infrun_breakpoint_command_test, breakpoint_command_test)
4189 (user_defined_command_test, watchpoint_command_test)
4190 (test_command_prompt_position, redefine_hook_test)
4191 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
4192 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
4193 multi_line_input and multi_line. Remove gdb_expect and
4194 gdb_stop_suppressing_tests uses.
4195 * lib/gdb.exp (valnum_re): New global.
4196 (multi_line_input): New procedure.
4197
4198 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
4199
4200 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
4201 Remove.
4202 (test_setup): Define with proc_with_prefix.
4203 (test_cli_inferior): Likewise.
4204 (test_cli_thread): Likewise.
4205 (test_cli_frame): Likewise.
4206 (test_cli_select_frame): Likewise.
4207 (test_cli_up_down): Likewise.
4208 (test_mi_thread_select): Likewise.
4209 (test_mi_stack_select_frame): Likewise.
4210 (test_cli_in_mi_inferior): Likewise.
4211 (test_cli_in_mi_thread): Likewise.
4212 (test_cli_in_mi_frame): Likewise.
4213 (top level): Do not use with_test_prefix_procname.
4214
4215 2016-11-09 Pedro Alves <palves@redhat.com>
4216
4217 * gdb.base/commands.exp (gdbvar_simple_if_test)
4218 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
4219 (progvar_simple_if_test, progvar_simple_while_test)
4220 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
4221 (infrun_breakpoint_command_test, breakpoint_command_test)
4222 (user_defined_command_test, watchpoint_command_test)
4223 (test_command_prompt_position, deprecated_command_test)
4224 (bp_deleted_in_command, temporary_breakpoint_commands)
4225 (stray_arg0_test, source_file_with_indented_comment)
4226 (recursive_source_test, if_commands_test)
4227 (error_clears_commands_left, redefine_hook_test)
4228 (redefine_backtrace_test): Use proc_with_prefix.
4229 * lib/gdb.exp (proc_with_prefix): New proc.
4230
4231 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
4232
4233 * gdb.base/tui-layout.c: New file.
4234 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
4235 disassembly window contains very long lines.
4236
4237 2016-11-08 Tom Tromey <tom@tromey.com>
4238
4239 * gdb.python/py-value.exp (test_value_creation): Make "long" test
4240 depend on Python 2.
4241
4242 2016-11-08 Tom Tromey <tom@tromey.com>
4243
4244 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
4245 New method.
4246
4247 2016-10-29 Manish Goregaokar <manish@mozilla.com>
4248
4249 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
4250
4251 2016-10-27 Manish Goregaokar <manish@mozilla.com>
4252
4253 * gdb.rust/simple.rs: Add test for univariant enums without
4254 discriminants and for encoded struct-like enums.
4255
4256 2016-10-28 Pedro Alves <palves@redhat.com>
4257
4258 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
4259 gdb_test_multiple, tighten regexps and match symtabs and line
4260 tables incrementally.
4261
4262 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
4263
4264 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
4265 general.
4266
4267 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
4268
4269 * gdb.base/exec-invalid-sysroot.exp: New file.
4270
4271 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4272
4273 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
4274
4275 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4276
4277 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
4278
4279 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
4280
4281 * gdb.base/killed-outside.exp: Remove $options from a call to
4282 `prepare_for_testing'.
4283
4284 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
4285
4286 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
4287 Change test message.
4288
4289 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
4290
4291 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
4292 Update comment.
4293
4294 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
4295
4296 * gdb.trace/mi-trace-save.exp: New file.
4297
4298 2016-10-13 Yao Qi <yao.qi@linaro.org>
4299
4300 * gdb.base/code_elim.exp (get_var_address): Remove.
4301 * gdb.base/relocate.exp: Likewise.
4302 * gdb.base/shreloc.exp: Likewise.
4303 * lib/gdb.exp (get_var_address): New.
4304
4305 2016-10-13 Yao Qi <yao.qi@linaro.org>
4306
4307 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
4308 floating point tests if $skip_float_test is false.
4309
4310 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
4311
4312 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
4313 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
4314 argc values.
4315 Add 1 to argc so we guarantee distinct initial/modified argc values.
4316
4317 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4318
4319 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
4320
4321 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4322
4323 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
4324 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
4325 * gdb.arch/vsx-regs.exp: Likewise.
4326
4327 2016-10-07 Yao Qi <yao.qi@linaro.org>
4328
4329 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
4330
4331 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
4332
4333 * gdb.python/python.exp: Test decode_line("*0").
4334
4335 2016-10-06 Doug Evans <dje@google.com>
4336
4337 * gdb.python/py-value.exp (test_value_creation): Add test for large
4338 unsigned 64-bit value.
4339
4340 2016-10-06 Tom Tromey <tom@tromey.com>
4341
4342 * gdb.compile/compile.exp: Change java tests to rust.
4343 * gdb.base/setshow.exp: Change java tests to rust.
4344 * gdb.base/default.exp: Remove java from language list.
4345 * README (Examples): Update language example.
4346 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
4347 test.
4348 * lib/gdb.exp (skip_java_tests): Remove.
4349 * lib/java.exp: Remove.
4350 * gdb.java: Remove.
4351
4352 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
4353
4354 * gdb.arch/mips-fcr.exp: New test.
4355 * gdb.arch/mips-fcr.c: Source for the new test.
4356
4357 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
4358
4359 * gdb.base/solib-disc.exp: Use `standard_output_file'
4360 throughout.
4361
4362 2016-10-06 Pedro Alves <palves@redhat.com>
4363
4364 * gdb.base/jit-simple-dl.c: New file.
4365 * gdb.base/jit-simple-jit.c: New file, factored out from ...
4366 * gdb.base/jit-simple.c: ... this.
4367 * gdb.base/jit-simple.exp (jit_run): Delete.
4368 (build_jit): New proc.
4369 (jit_test_reread): Recompile either the main program or the shared
4370 library, depending on what is being tested. Skip changing address
4371 if caller wants to. Compare before/after addresses. If testing
4372 standalone, explicitly load the binary. Test "maint info
4373 breakpoints".
4374 (top level): Add "standalone vs shared lib" and "change address"
4375 vs "same address" axes.
4376
4377 2016-10-06 Pedro Alves <palves@redhat.com>
4378
4379 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
4380 call.
4381 (jit_run): Delete.
4382 (jit_test_reread): Use with_test_prefix. Reload the main binary
4383 explicitly. Compare the before/after addresses of the JIT
4384 descriptor.
4385
4386 2016-08-15 Doug Evans <dje@google.com>
4387
4388 * gdb.xml/extra-regs.xml: Update, end field now required, default type
4389 for single bitfields is bool.
4390 * gdb.xml/tdesc-regs.exp: Ditto.
4391
4392 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
4393
4394 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
4395
4396 2016-10-05 Yao Qi <yao.qi@linaro.org>
4397
4398 * lib/gdb.exp (support_complex_tests): Return zero if
4399 gdb_skip_float_test return true.
4400
4401 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
4402 Simon Marchi <simon.marchi@ericsson.com>
4403
4404 PR gdb/20487
4405 * gdb.mi/user-selected-context-sync.exp: New file.
4406 * gdb.mi/user-selected-context-sync.c: New file.
4407
4408 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
4409 Simon Marchi <simon.marchi@ericsson.com>
4410
4411 PR gdb/20487
4412 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
4413 =thread-select-event check.
4414
4415 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
4416
4417 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
4418 the compulsory L operand changes.
4419 * gdb.arch/powerpc-power.s: Likewise.
4420
4421 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4422
4423 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
4424 * gdb.base/jit-attach-pie.c: New file.
4425 * gdb.base/jit-attach-pie.exp: New file.
4426
4427 2016-09-28 Pedro Alves <palves@redhat.com>
4428
4429 * gdb.base/infcall-input.c: New file.
4430 * gdb.base/infcall-input.exp: New file.
4431
4432 2016-09-22 Yao Qi <yao.qi@linaro.org>
4433
4434 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
4435 (gdb_exit): Rename it to ...
4436 (gdbserver_gdb_exit): ... Close GDBserver.
4437 (gdb_exit): New proc, call gdbserver_gdb_exit.
4438 (mi_gdb_exit): Likewise.
4439
4440 2016-09-22 Yao Qi <yao.qi@linaro.org>
4441
4442 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
4443 path.
4444 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
4445 Remove duplication.
4446
4447 2016-09-22 Yao Qi <yao.qi@linaro.org>
4448
4449 * lib/gdbserver-support.exp: Check the existence of
4450 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
4451
4452 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
4453
4454 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
4455
4456 2016-09-21 Tom Tromey <tom@tromey.com>
4457
4458 PR gdb/20604:
4459 * gdb.base/quit.exp: New file.
4460
4461 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
4462
4463 * .gitignore: New file.
4464
4465 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
4466
4467 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
4468 throughout.
4469
4470 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4471
4472 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
4473
4474 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4475
4476 * gdb.cp/casts.cc (decltype): Move it ...
4477 (main): ... with its call to ...
4478 * gdb.cp/casts03.cc: ... a new file.
4479 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
4480
4481 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4482
4483 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
4484
4485 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
4486
4487 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
4488 and sync up the test with tests in gas/testsuite/gas/ppc.
4489 * gdb.arch/powerpc-power.exp: Likewise.
4490
4491 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4492
4493 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
4494
4495 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
4496 Jan Kratochvil <jan.kratochvil@redhat.com>
4497
4498 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
4499 make m1's definition to be different from m2's. Use 'dummy' as an
4500 argument for probe 'two'.
4501
4502 2016-09-10 Jon Beniston <jon@beniston.com>
4503
4504 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
4505 for sim target.
4506
4507 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
4508
4509 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
4510 variable declaration.
4511 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
4512 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
4513 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
4514 received HWCAP as its argument.
4515
4516 2016-09-06 Pedro Alves <palves@redhat.com>
4517
4518 * gdb.base/new-ui-pending-input.c: New file.
4519 * gdb.base/new-ui-pending-input.exp: New file.
4520 * gdb.exp (clear_gdb_spawn_id): New procedure.
4521 (with_spawn_id): Check whether gdb_spawn_id exists before
4522 referencing it. If gdb_spawn_id didn't exist on entry, clear it
4523 on exit.
4524
4525 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
4526
4527 * gdb.base/float128.c: New file.
4528 * gdb.base/float128.exp: Likewise.
4529 * gdb.base/floatn.c: Likewise.
4530 * gdb.base/floatn.exp: Likewise.
4531
4532 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
4533
4534 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
4535
4536 2016-09-05 Pedro Alves <palves@redhat.com>
4537
4538 PR backtrace/19927
4539 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
4540 unwinders are immediately called as side effect of "source" or
4541 "disable unwinder" commands.
4542 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
4543
4544 2016-09-02 Yao Qi <yao.qi@linaro.org>
4545
4546 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
4547 is true and $type is "float" or "double".
4548
4549 2016-09-02 Yao Qi <yao.qi@linaro.org>
4550
4551 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
4552 true.
4553 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
4554 * gdb.base/call-rt-st.exp: Likewise.
4555 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
4556 return value instead of gdb,skip_float_test.
4557 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
4558 (do_function_calls): Use its return value instead of
4559 gdb,skip_float_test.
4560 * gdb.base/finish.exp: Likewise.
4561 * gdb.base/funcargs.exp: Likewise.
4562 * gdb.base/return.exp: Likewise.
4563 * gdb.base/return2.exp: Likewise.
4564 * gdb.base/varargs.exp: Likewise.
4565 * lib/gdb.exp (gdb_skip_float_test): Change it to
4566 gdb_caching_proc. Detect the broken ptrace on arm-linux.
4567
4568 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
4569
4570 * gdb.multi/tids.exp: Test "thread apply all".
4571
4572 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4573
4574 * gdb.base/default.exp (tty): Remove.
4575
4576 2016-08-24 Kevin Buettner <kevinb@redhat.com>
4577
4578 * gdb.python/py-recurse-unwind.c: New file.
4579 * gdb.python/py-recurse-unwind.py: New file.
4580 * gdb.python/py-recurse-unwind.exp: New file.
4581
4582 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
4583
4584 * gdb.base/set-inferior-tty.exp: New file.
4585 * gdb.base/set-inferior-tty.c: New file.
4586
4587 2016-08-23 Pedro Alves <palves@redhat.com>
4588
4589 PR gdb/20494
4590 * gdb.base/new-ui-echo.c: New file.
4591 * gdb.base/new-ui-echo.exp: New file.
4592
4593 2016-08-23 Yao Qi <yao.qi@linaro.org>
4594
4595 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
4596 gdbserver_spawn.
4597 * gdb.server/connect-without-multi-process.exp (do_test):
4598 Likewise.
4599
4600 2016-08-23 Yao Qi <yao.qi@linaro.org>
4601
4602 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
4603 standalone_txt. Delete gdb_txt and standalone_txt on host
4604 and target. Spawn the binary on target. Copy files from
4605 target to host.
4606
4607 2016-08-22 Pedro Alves <palves@redhat.com>
4608
4609 PR gdb/20505
4610 * gdb.base/vdso-warning.exp: Test core dumps too. Use
4611 with_test_prefix. Factor out bits to ...
4612 (test_no_vdso): ... this new procedure.
4613
4614 2016-08-19 Carl Love <cel@us.ibm.com>
4615
4616 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
4617 maintaining separate logic for constructing the output path.
4618 * gdb.arch/powerpc-d128-regs.exp: Likewise.
4619 * gdb.arch/ppc-dfp.exp: Likewise.
4620 * gdb.arch/ppc-fp.exp: Likewise.
4621 * gdb.arch/vsx-regs.exp: Likewise.
4622 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
4623 binprefix for generating the additional binary files.
4624
4625 2016-08-19 Pedro Alves <palves@redhat.com>
4626
4627 * gdb.trace/mi-trace-frame-collected.exp
4628 (test_trace_frame_collected): On x32, expect two registers.
4629
4630 2016-08-18 Carl Love <cel@us.ibm.com>
4631
4632 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
4633 and sync up the test with tests in gas/testsuite/gas/ppc.
4634 * gdb.arch/powerpc-power.exp: Likewise.
4635
4636 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
4637
4638 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
4639 expected error message.
4640
4641 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
4642
4643 * gdb.multi/remove-inferiors.exp: New file.
4644 * gdb.multi/remove-inferiors.c: New file.
4645
4646 2016-08-12 Yao Qi <yao.qi@linaro.org>
4647
4648 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
4649 argument list.
4650
4651 2016-08-10 Pedro Alves <palves@redhat.com>
4652
4653 PR gdb/19187
4654 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
4655 setup_kfails.
4656
4657 2016-08-09 Pedro Alves <palves@redhat.com>
4658 Simon Marchi <simon.marchi@ericsson.com>
4659
4660 PR gdb/20418
4661 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
4662 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
4663
4664 2016-08-09 Pedro Alves <palves@redhat.com>
4665
4666 PR mi/20431
4667 * gdb.mi/mi-cmd-error.exp: New file.
4668
4669 2016-08-09 Pedro Alves <palves@redhat.com>
4670
4671 PR gdb/18653
4672 * gdb.base/signals-state-child.c: New file.
4673 * gdb.base/signals-state-child.exp: New file.
4674 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
4675
4676 2016-08-09 Pedro Alves <palves@redhat.com>
4677
4678 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
4679
4680 2016-08-03 Tom Tromey <tom@tromey.com>
4681
4682 PR python/18565:
4683 * gdb.python/py-frame-inline.exp: Add Frame.function test.
4684
4685 2016-08-01 Yao Qi <yao.qi@linaro.org>
4686
4687 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
4688 variable mode to "multi-process" if $multi_process is 1, otherwise
4689 set it to "single-process".
4690
4691 2016-08-01 Yao Qi <yao.qi@linaro.org>
4692
4693 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
4694 * gdb.cp/cpexprs.exp: Likewise.
4695 * gdb.cp/m-static.exp: Likewise.
4696
4697 2016-07-26 Tom Tromey <tom@tromey.com>
4698
4699 PR python/20190:
4700 * gdb.threads/tls.exp (check_thread_local): Add python symbol
4701 test.
4702
4703 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
4704
4705 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
4706 selecting assembly source files.
4707 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
4708 assembly source files.
4709 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
4710 assembly source files.
4711 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
4712 selecting assembly source files.
4713
4714 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
4715
4716 * gdb.base/new-ui.exp (do_test_invalid_args): New
4717 procedure.
4718
4719 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
4720
4721 * gdb.btrace/reconnect.c: New file.
4722 * gdb.btrace/reconnect.exp: New file.
4723
4724 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
4725
4726 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
4727 to test_catch_syscall_group.
4728 (test_catch_syscall_group): New.
4729
4730 2016-07-21 Tom Tromey <tom@tromey.com>
4731
4732 * gdb.rust/simple.rs (main): Use empty struct expression.
4733 * gdb.rust/simple.exp: Add tests for empty struct expression.
4734
4735 2016-07-21 Yao Qi <yao.qi@linaro.org>
4736
4737 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
4738 if gdb_skip_xml_test is true on some targets.
4739
4740 2016-07-21 Yao Qi <yao.qi@linaro.org>
4741
4742 * gdb.server/solib-list.exp: Unset last_loaded_file.
4743
4744 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4745
4746 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
4747 "step into captured_main (args)".
4748
4749 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4750
4751 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
4752
4753 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4754
4755 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
4756
4757 2016-07-19 Pedro Alves <palves@redhat.com>
4758
4759 * gdb.opt/inline-break.exp: Remove optimize=-O2.
4760 * gdb.opt/inline-bt.exp: Likewise.
4761 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
4762 additional_flags=-Winline.
4763 * gdb.opt/inline-locals.exp: Likewise.
4764 * gdb.opt/inline-markers.c (ATTR): Define.
4765 (inlined_fn): Use it.
4766
4767 2016-07-19 Yao Qi <yao.qi@linaro.org>
4768
4769 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
4770 (test_with_self): Remove some code. Remove argument executable.
4771 (top-level): Use do_self_tests.
4772
4773 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
4774 Don Breazeal <donb@codesourcery.com>
4775
4776 * gdb.base/maint.exp: Escape paths used in regular expressions.
4777 * gdb.stabs/weird.exp: Likewise.
4778
4779 2016-07-13 Tom Tromey <tom@tromey.com>
4780
4781 PR python/15620, PR python/18620:
4782 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
4783 (test_bkpt_events): New procs.
4784
4785 2016-07-13 Tom Tromey <tom@tromey.com>
4786
4787 PR python/17698:
4788 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
4789 test.
4790 (test_watchpoints): Likewise.
4791 (test_bkpt_pending): New proc.
4792
4793 2016-07-13 Tom Tromey <tom@tromey.com>
4794
4795 PR cli/18053:
4796 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
4797 completion test.
4798
4799 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4800
4801 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
4802 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
4803 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
4804 f_label.
4805 (g): Rename g_end_lbl to g_label.
4806 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
4807 low_pc and high_pc.
4808 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
4809
4810 2016-07-12 Tom Tromey <tom@tromey.com>
4811
4812 PR python/19293:
4813 * gdb.python/py-unwind-maint.exp: Update tests.
4814
4815 2016-07-12 Yao Qi <yao.qi@linaro.org>
4816
4817 * lib/selftest-support.exp (selftest_setup): Match the output
4818 when captured_main is inlined.
4819
4820 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4821
4822 * gdb.fortran/derived-types.exp (result_line, result_line_2):
4823 New variables.
4824 (print this%a, print this%b, print this): New tests.
4825 * gdb.fortran/derived-types.f90 (this): New object and
4826 initialization.
4827
4828 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
4829
4830 * gdb.ada/arraydim.exp: Remove extra directory level in build
4831 directory.
4832
4833 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
4834
4835 * lib/ada.exp: Remove extra directory level in build directory.
4836 * gdb.ada/cond_lang.exp: Likewise.
4837 * gdb.ada/exec_changed.exp: Likewise.
4838 * gdb.ada/lang_switch.exp: Likewise.
4839
4840 2016-07-06 Manish Goregaokar <manish@mozilla.com>
4841
4842 * simple.rs: Add test for raw pointer subscripting.
4843 * simple.exp: Add test expectations.
4844
4845 2016-07-05 Yao Qi <yao.qi@linaro.org>
4846
4847 * gdb.mi/mi-reverse.exp: Match =record-started output.
4848
4849 2016-07-01 Pedro Alves <palves@redhat.com>
4850
4851 * gdb.base/jit-reader.exp (info_registers_current_frame): New
4852 procedure.
4853 (jit_reader_test): Test the jit reader's unwinder.
4854 * gdb.base/jithost.c (jit_function_00_code): New global.
4855 (main): Use memcpy to fill in the mmapped code, instead of poking
4856 bytes manually here.
4857 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
4858 value.
4859 (read_debug_info): Save the function's range.
4860 (read_sp): New function.
4861 (unwind_frame): Use it. Also unwind RBP.
4862 (get_frame_id): Use read_sp.
4863 (gdb_init_reader): Use calloc instead of malloc.
4864 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
4865 parameter. Use gdb_test_multiple.
4866
4867 2016-07-01 Pedro Alves <palves@redhat.com>
4868 Antoine Tremblay <antoine.tremblay@ericsson.com>
4869
4870 * gdb.threads/process-dies-while-detaching.c: New file.
4871 * gdb.threads/process-dies-while-detaching.exp: New file.
4872
4873 2016-07-01 Pedro Alves <palves@redhat.com>
4874
4875 * gdb.multi/watchpoint-multi-exit.c: New file.
4876 * gdb.multi/watchpoint-multi-exit.exp: New file.
4877
4878 2016-06-30 Pedro Alves <palves@redhat.com>
4879
4880 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
4881 unset inferior_spawn_id.
4882
4883 2016-06-30 Pedro Alves <palves@redhat.com>
4884
4885 * lib/mi-support.exp (default_mi_gdb_start): Declare global
4886 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
4887
4888 2016-06-29 Yao Qi <yao.qi@linaro.org>
4889
4890 * gdb.base/return.c: Add copyright header.
4891
4892 2016-06-29 Tom Tromey <tom@tromey.com>
4893
4894 PR python/20129:
4895 * gdb.python/py-framefilter.exp: Add tests for setting priority
4896 and disabling of non-existent frame filter.
4897
4898 2016-06-29 Yao Qi <yao.qi@linaro.org>
4899
4900 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
4901 0x0f07ff.
4902
4903 2016-06-28 Yao Qi <yao.qi@linaro.org>
4904
4905 * gdb.base/catch-syscall.exp: Remove check on isnative and target
4906 triplets. Start gdb, execute catch syscall, and continue. Check
4907 gdb's output to determine catch syscall is supported.
4908
4909 2016-06-27 Manish Goregaokar <manish@mozilla.com>
4910
4911 * gdb.rust/simple.rs: Add test for returning unit in a function.
4912 * gdb.rust/simple.exp: Add expectation for functions returning
4913 unit.
4914
4915 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
4916
4917 * gdb.python/py-breakpoint-create-fail.c,
4918 gdb.python/py-breakpoint-create-fail.exp,
4919 gdb.python/py-breakpoint-create-fail.py: New testcase.
4920
4921 2016-06-25 Manish Goregaokar <manish@mozilla.com>
4922
4923 PR gdb/20239
4924 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
4925 * gdb.rust/simple.exp: Add test expectations for new NonZero
4926 tests.
4927
4928 2016-06-24 David Taylor <dtaylor@emc.com>
4929
4930 * gdb.base/offsets.exp: New file.
4931 * gdb.base/offsets.c: New file.
4932
4933 2016-06-23 Tom Tromey <tom@tromey.com>
4934
4935 PR gdb/16483:
4936 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
4937 before any filters are loaded.
4938
4939 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
4940
4941 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
4942 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
4943 structs.
4944 * gdb.fortran/derived-type-function.exp: New file.
4945 * gdb.fortran/derived-type-function.f90: New file.
4946
4947
4948 2016-06-21 Pedro Alves <palves@redhat.com>
4949
4950 * gdb.base/new-ui.exp: New file.
4951 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
4952 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
4953 (with_spawn_id): New procedure.
4954
4955 2016-06-21 Pedro Alves <palves@redhat.com>
4956
4957 * gdb.mi/mi-exec-run.exp: New file.
4958
4959 2016-06-21 Pedro Alves <palves@redhat.com>
4960
4961 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
4962 breakpoint command's output on the main UI.
4963 (test_break): New procedure, factored out from calls in the top
4964 level.
4965 (top level): Use foreach_with_prefix to test MI as main UI and as
4966 separate UI.
4967
4968 2016-06-21 Pedro Alves <palves@redhat.com>
4969
4970 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
4971 (test_awatch_creation_and_listing)
4972 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
4973 Remove 'type' parameter.
4974 (test_watchpoint_all): New parameter mi_mode. Remove
4975 with_test_prefix.
4976 (top level): Use foreach_with_prefix, and add main/separate UI MI
4977 testing axis.
4978
4979 2016-06-21 Pedro Alves <palves@redhat.com>
4980
4981 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
4982 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
4983 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
4984 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
4985 (gdb_main_spawn_id, mi_spawn_id): Declare and
4986 comment.
4987 (mi_create_inferior_pty): New procedure,
4988 factored out from default_mi_gdb_start.
4989 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
4990 procedures.
4991 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
4992 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
4993 Use mi_create_inferior_pty.
4994 (mi_gdb_start): Use eval to pass down args list.
4995
4996 2016-06-21 Pedro Alves <palves@redhat.com>
4997
4998 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
4999 * gdb.opt/inline-cmds.exp: Add MI tests.
5000
5001 2016-06-21 Pedro Alves <palves@redhat.com>
5002
5003 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
5004
5005 2016-06-21 Pedro Alves <palves@redhat.com>
5006
5007 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
5008 (top level): Use it instead of mi_execute_to.
5009
5010 2016-06-21 Pedro Alves <palves@redhat.com>
5011
5012 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
5013 (cont_handler_str): New.
5014 (signal_stop_handler): Set stop_handler_str instead of printing to
5015 stdout.
5016 (continue_handler): Set cont_handler_str instead of printing to
5017 stdout.
5018 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
5019 mi_send_resuming_command. Print stop_handler_str and
5020 cont_handler_str instead of expecting the python events print
5021 directly.
5022
5023 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
5024
5025 * gdb.base/jit-reader.exp: New file.
5026 * gdb.base/jithost.c: New file.
5027 * gdb.base/jithost.h: New file.
5028 * gdb.base/jitreader.c : New file.
5029 * gdb.base/jit-protocol.h: New file.
5030
5031 2016-06-17 Yao Qi <yao.qi@linaro.org>
5032
5033 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
5034 parameters follow_fork and detach_on_fork. Set follow-fork-mode
5035 and detach-on-fork. Adjust tests.
5036 (top level): Invoke break_cond_on_syscall with combinations of
5037 syscall, follow-fork-mode and detach-on-fork.
5038
5039 2016-06-17 Yao Qi <yao.qi@linaro.org>
5040
5041 * gdb.base/step-over-exit.c: New.
5042 * gdb.base/step-over-exit.exp: New.
5043
5044 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
5045
5046 * gdb.base/float.exp: Add target check for nds32*-*-*.
5047 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
5048
5049 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
5050
5051 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
5052 for unsupported target features.
5053 * gdb.base/call-rt-st.exp: Likewise.
5054 * gdb.base/call-sc.exp: Likewise.
5055 * gdb.base/call-signal-resume.exp: Likewise.
5056 * gdb.base/call-strs.exp: Likewise.
5057 * gdb.base/callexit.exp: Likewise.
5058 * gdb.base/callfuncs.exp: Likewise.
5059 * gdb.base/nodebug.exp: Likewise.
5060 * gdb.base/printcmds.exp: Likewise.
5061 * gdb.base/ptype.exp: Likewise.
5062 * gdb.base/structs.exp: Likewise.
5063 * gdb.base/unwindonsignal.exp: Likewise.
5064 * gdb.cp/gdb2495.exp: Likewise.
5065 * gdb.cp/templates.exp: Likewise.
5066 * gdb.cp/virtfunc.exp: Likewise.
5067 * gdb.threads/hand-call-in-threads.exp: Likewise.
5068 * gdb.threads/interrupted-hand-call.exp: Likewise.
5069 * gdb.threads/thread-unwindonsignal.exp: Likewise.
5070
5071 2016-06-10 Tom Tromey <tom@tromey.com>
5072
5073 PR rust/20110:
5074 * gdb.rust/expr.exp: Add test for integer constant larger than
5075 i32.
5076
5077 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
5078
5079 * gdb.fortran/nested-funcs.exp: New.
5080 * gdb.fortran/nested-funcs.f90: New.
5081
5082 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
5083
5084 * gdb.base/examine-backward.c: New file.
5085 * gdb.base/examine-backward.exp: New file.
5086
5087 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
5088
5089 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
5090 matching.
5091
5092 2016-06-02 Tom Tromey <tom@tromey.com>
5093
5094 PR python/18984:
5095 * gdb.python/py-shared.exp: Add solib_name test.
5096
5097 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
5098
5099 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
5100
5101 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
5102
5103 PR c++/19893
5104 * gdb.dwarf2/implref.exp: Rename to...
5105 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
5106 * gdb.dwarf2/implref-array.c: New file.
5107 * gdb.dwarf2/implref-array.exp: Likewise.
5108 * gdb.dwarf2/implref-global.c: Likewise.
5109 * gdb.dwarf2/implref-global.exp: Likewise.
5110 * gdb.dwarf2/implref-struct.c: Likewise.
5111 * gdb.dwarf2/implref-struct.exp: Likewise.
5112
5113 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
5114
5115 * gdb.trace/trace-condition.exp: Add 64bit tests.
5116
5117 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
5118
5119 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
5120 bits types.
5121 (main): Adapt to 8 to 64 bits types.
5122 * gdb.trace/trace-condition.exp: Add new tests.
5123
5124 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
5125
5126 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
5127
5128 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
5129
5130 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
5131 Move condition tests...
5132 * gdb.trace/trace-condition.exp: Here.
5133
5134 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
5135
5136 * gdb.trace/trace-condition.exp: Add counter-case tests.
5137
5138 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5139
5140 PR c++/15231
5141 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
5142 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
5143
5144 2016-05-27 Pedro Alves <palves@redhat.com>
5145
5146 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
5147 New procedure.
5148 (top level): Call it, and bail out of DejaGnu is known to be bad.
5149
5150 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
5151
5152 * gdb.base/whatis.c: Extend the test case.
5153 * gdb.base/whatis.exp: Add additional tests.
5154
5155 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
5156
5157 * gdb.fortran/type.f90: Add pointer variable.
5158 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
5159
5160 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
5161
5162 * gdb.fortran/vla-type.exp: Fix testcase name.
5163
5164 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
5165
5166 * gdb.fortran/vla-type.exp: Access elements in nested structs.
5167
5168 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
5169
5170 * gdb.fortran/type.f90: Add nested structures.
5171 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
5172 * gdb.fortran/derived-type.exp: Adapt expected output.
5173 * gdb.fortran/vla-type.exp: Adapt expected output.
5174
5175 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
5176
5177 * gdb.fortran/whatis_type.exp: Adapt expected output.
5178
5179 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
5180
5181 * gdb.fortran/print_type.exp: Fix expected output.
5182 * gdb.fortran/whatis_type.exp: Fix expected output.
5183
5184 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
5185
5186 * gdb.fortran/whatis_type.exp: Use multi_line.
5187
5188 2016-05-24 Tom Tromey <tom@tromey.com>
5189
5190 PR python/17386:
5191 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
5192 use value as an index.
5193
5194 2016-05-23 Tom Tromey <tom@tromey.com>
5195
5196 PR python/17981:
5197 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
5198 no-breakpoint case.
5199
5200 2016-05-24 Pedro Alves <palves@redhat.com>
5201
5202 PR gdb/19828
5203 * gdb.threads/clone-attach-detach.c: New file.
5204 * gdb.threads/clone-attach-detach.exp: New file.
5205
5206 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
5207
5208 * gdb.base/annota-input-while-running.exp: Fix syntax error.
5209
5210 2016-05-23 Tom Tromey <tom@tromey.com>
5211
5212 PR python/19438, PR python/18393:
5213 * gdb.python/py-progspace.exp: Add "dir" test.
5214 * gdb.python/py-objfile.exp: Add "dir" test.
5215
5216 2016-05-23 Yao Qi <yao.qi@linaro.org>
5217
5218 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
5219 * gdb.arch/thumb2-it.exp: Likewise.
5220
5221 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
5222
5223 * gdb.mi/mi-threads-interrupt.c: New file.
5224 * gdb.mi/mi-threads-interrupt.exp: New file.
5225
5226 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
5227
5228 PR gdb/18077
5229 * gdb.mi/mi-async-run.exp: New file.
5230 * gdb.mi/mi-async-run.c: New file.
5231
5232 2016-05-17 Tom Tromey <tom@tromey.com>
5233 Manish Goregaokar <manishsmail@gmail.com>
5234
5235 * lib/rust-support.exp: New file.
5236 * lib/gdb.exp (skip_rust_tests): New proc.
5237 (build_executable_from_specs): Handle rust.
5238 * lib/future.exp (gdb_find_rustc): New proc.
5239 (gdb_default_target_compile): Handle rust.
5240 * gdb.rust/expr.exp: New file.
5241 * gdb.rust/generics.exp: New file.
5242 * gdb.rust/generics.rs: New file.
5243 * gdb.rust/methods.exp: New file.
5244 * gdb.rust/methods.rs: New file.
5245 * gdb.rust/modules.exp: New file.
5246 * gdb.rust/modules.rs: New file.
5247 * gdb.rust/simple.exp: New file.
5248 * gdb.rust/simple.rs: New file.
5249
5250 2016-05-17 Tom Tromey <tom@tromey.com>
5251
5252 * gdb.base/default.exp (set language): Add rust.
5253
5254 2016-05-17 Tom Tromey <tom@tromey.com>
5255
5256 * gdb.gdb/unittest.exp: New file.
5257
5258 2016-05-16 Yao Qi <yao.qi@linaro.org>
5259
5260 * gdb.base/batch-preserve-term-settings.exp: Remove variable
5261 shell_prompt. Update shell_prompt_re.
5262
5263 2016-05-12 Doug Evans <dje@google.com>
5264
5265 PR symtab/19999
5266 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
5267 $options when building executable.
5268 * gdb.dwarf2/fission-loclists-pie.S: New file.
5269 * gdb.dwarf2/fission-loclists-pie.exp: New file.
5270
5271 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
5272
5273 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
5274 of [is_remote target],
5275
5276 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
5277
5278 * lib/gdb.exp (use_gdb_stub): New procedure.
5279
5280 2016-05-03 Yunlian Jiang <yunlian@google.com>
5281 Doug Evans <dje@google.com>
5282
5283 PR symtab/19914
5284 * gdb.dwarf2/dwp-sepdebug.c: New file.
5285 * gdb.dwarf2/dwp-sepdebug.exp: New file.
5286
5287 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
5288
5289 * gdb.base/detach.exp: Remove is_remote check.
5290
5291 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
5292
5293 * gdb.base/annota-input-while-running.exp: Don't check for
5294 [is_remote target]. Enable annotations after running to main.
5295 Remove unused "set test..." line.
5296
5297 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
5298
5299 * gdb.trace/trace-enable-disable.exp: New file.
5300 * gdb.trace/trace-enable-disable.c: New file.
5301
5302 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
5303
5304 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
5305 use it in info sharedlibrary test.
5306 * gdb.trace/ftrace-lock.exp: Likewise.
5307 * gdb.trace/ftrace.exp: Likewise.
5308 * gdb.trace/range-stepping.exp: Likewise.
5309 * gdb.trace/trace-break.exp: Likewise.
5310 * gdb.trace/trace-condition.exp: Likewise.
5311 * gdb.trace/trace-mt.exp: Likewise.
5312
5313 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
5314
5315 * lib/gdb.exp (gdb_load_shlibs): Rename to...
5316 (gdb_load_shlib): ... this.
5317 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
5318 gdb_load_shlib.
5319 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
5320 * gdb.base/ctxobj.exp: Likewise.
5321 * gdb.base/dprintf-pending.exp: Likewise.
5322 * gdb.base/dso2dso.exp: Likewise.
5323 * gdb.base/fixsection.exp: Likewise.
5324 * gdb.base/gcore-relro.exp: Likewise.
5325 * gdb.base/gdb1555.exp: Likewise.
5326 * gdb.base/global-var-nested-by-dso.exp: Likewise.
5327 * gdb.base/gnu-ifunc.exp: Likewise.
5328 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
5329 * gdb.base/jit-so.exp (one_jit_test): Likewise.
5330 * gdb.base/pending.exp: Likewise.
5331 * gdb.base/print-file-var.exp: Likewise.
5332 * gdb.base/print-symbol-loading.exp: Likewise.
5333 * gdb.base/shlib-call.exp: Likewise.
5334 * gdb.base/shreloc.exp: Likewise.
5335 * gdb.base/so-impl-ld.exp: Likewise.
5336 * gdb.base/solib-disc.exp: Likewise.
5337 * gdb.base/solib-nodir.exp: Likewise.
5338 * gdb.base/solib-overlap.exp: Likewise.
5339 * gdb.base/solib-symbol.exp: Likewise.
5340 * gdb.base/solib-weak.exp (do_test): Likewise.
5341 * gdb.base/sym-file.exp: Likewise.
5342 * gdb.base/symtab-search-order.exp: Likewise.
5343 * gdb.base/type-opaque.exp: Likewise.
5344 * gdb.base/unload.exp: Likewise.
5345 * gdb.base/watchpoint-solib.exp: Likewise.
5346 * gdb.compile/compile.exp: Likewise.
5347 * gdb.cp/gdb2384.exp: Likewise.
5348 * gdb.cp/infcall-dlopen.exp: Likewise.
5349 * gdb.cp/re-set-overloaded.exp: Likewise.
5350 * gdb.fortran/library-module.exp: Likewise.
5351 * gdb.opt/solib-intra-step.exp: Likewise.
5352 * gdb.python/py-finish-breakpoint.exp: Likewise.
5353 * gdb.python/py-shared.exp: Likewise.
5354 * gdb.reverse/solib-precsave.exp: Likewise.
5355 * gdb.reverse/solib-reverse.exp: Likewise.
5356 * gdb.server/solib-list.exp: Likewise.
5357 * gdb.threads/dlopen-libpthread.exp: Likewise.
5358 * gdb.threads/tls-shared.exp: Likewise.
5359 * gdb.threads/tls-so_extern.exp: Likewise.
5360 * gdb.trace/change-loc.exp: Likewise.
5361 * gdb.trace/ftrace-lock.exp: Likewise.
5362 * gdb.trace/ftrace.exp: Likewise.
5363 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
5364 * gdb.trace/pending.exp: Likewise.
5365 * gdb.trace/range-stepping.exp: Likewise.
5366 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
5367 (strace_info_marker): Likewise.
5368 (strace_probe_marker): Likewise.
5369 (strace_trace_on_same_addr): Likewise.
5370 (strace_trace_on_diff_addr): Likewise.
5371 * gdb.trace/trace-break.exp: Likewise.
5372 * gdb.trace/trace-condition.exp: Likewise.
5373 * gdb.trace/trace-mt.exp: Likewise.
5374
5375 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
5376
5377 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
5378 result of gdb_remote_download.
5379 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
5380 * gdb.base/dso2dso.exp: Likewise.
5381 * gdb.base/global-var-nested-by-dso.exp: Likewise.
5382 * gdb.base/print-file-var.exp: Likewise.
5383 * gdb.base/shlib-call.exp: Likewise.
5384 * gdb.base/shreloc.exp: Likewise.
5385 * gdb.base/solib-overlap.exp: Likewise.
5386 * gdb.base/solib-weak.exp (do_test): Likewise.
5387 * gdb.base/unload.exp: Likewise.
5388
5389 2016-04-27 Yao Qi <yao.qi@linaro.org>
5390
5391 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
5392 exists.
5393
5394 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
5395
5396 * vla-type.exp: Print structure from toplevel.
5397
5398 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
5399
5400 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
5401 of dynamic types.
5402 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
5403 of dynamic types.
5404
5405 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
5406
5407 * gdb.fortran/vla-type.f90: New file.
5408 * gdb.fortran/vla-type.exp: New file.
5409
5410 2016-04-25 Yao Qi <yao.qi@linaro.org>
5411
5412 * gdb.base/branch-to-self.c: New file.
5413 * gdb.base/branch-to-self.exp: New file.
5414
5415 2016-04-22 Yao Qi <yao.qi@linaro.org>
5416
5417 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
5418 more after $hex.
5419
5420 2016-04-22 Yao Qi <yao.qi@linaro.org>
5421
5422 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
5423 * gdb.base/annota3.exp: Likewise.
5424
5425 2016-04-22 Yao Qi <yao.qi@linaro.org>
5426
5427 * gdb.reverse/step-precsave.exp: Do one step and test program
5428 stops in "callee" and do multiple steps until program goes out
5429 of "callee".
5430 * gdb.reverse/step-reverse.exp: Likewise.
5431
5432 2016-04-22 Yao Qi <yao.qi@linaro.org>
5433
5434 * gdb.trace/signal.exp: Also pass if
5435 $tracepoint_hits($i) > $iterations.
5436
5437 2016-04-22 Yao Qi <yao.qi@linaro.org>
5438
5439 * gdb.trace/signal.c: New file.
5440 * gdb.trace/signal.exp: New file.
5441
5442 2016-04-19 Doug Evans <xdje42@gmail.com>
5443
5444 * gdb.base/bad-file.exp: New file.
5445
5446 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
5447
5448 * gdb.dwarf2/implref.exp: New file.
5449
5450 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
5451
5452 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
5453 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
5454 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
5455 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
5456 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
5457 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
5458 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
5459 * lib/fortran.exp (fortran_int4): New procedure.
5460 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
5461 (fortran_logical4): Likewise.
5462
5463 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
5464
5465 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
5466
5467 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
5468
5469 * lib/compiler.c: Add Intel specific preprocessor macros.
5470 * lib/compiler.cc: Likewise.
5471
5472 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
5473
5474 * gdb.server/connect-with-no-symbol-file.c: New file.
5475 * gdb.server/connect-with-no-symbol-file.exp: New file.
5476
5477 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
5478
5479 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
5480
5481 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
5482
5483 * boards/gdbserver-base.exp (${board}_download): Copy source file to
5484 standard output directory.
5485
5486 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
5487
5488 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
5489
5490 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
5491
5492 * gdb.btrace/instruction_history.c (loop): Add declaration.
5493
5494 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
5495
5496 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
5497
5498 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
5499
5500 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
5501 parentheses to print.
5502 (continue_handler): Likewise.
5503
5504 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
5505
5506 * gdb.server/solib-list.exp: Remove is_remote check.
5507 Pass shlib= to gdb_compile. Don't link shared library with
5508 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
5509 Run binary filename through "readlink -f" on the target.
5510
5511 2016-04-08 Pedro Alves <palves@redhat.com>
5512
5513 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
5514 interpreter filename as argument to gdbserver_spawn.
5515 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
5516 Return empty if $last_loaded_file does not exist.
5517
5518 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5519
5520 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
5521 * gdb.base/jit-main.c: Use exit after usage.
5522
5523 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5524
5525 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
5526 GDBHISTSIZE prior to the tests.
5527 * gdb.base/gdbinit-history.exp: Likewise.
5528
5529 2016-04-07 Pedro Alves <palves@redhat.com>
5530
5531 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
5532 instead of build_executable. Use gdb_load_shlibs.
5533
5534 2016-04-07 Yao Qi <yao.qi@linaro.org>
5535
5536 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
5537 Execute "si" command.
5538
5539 2016-04-07 Yao Qi <yao.qi@linaro.org>
5540
5541 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
5542 number instead of the comments on some line.
5543
5544 2016-04-06 Don Breazeal <donb@codesourcery.com>
5545
5546 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
5547 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
5548
5549 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
5550
5551 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
5552 standard_output_file. Remove unused binfile variable.
5553
5554 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
5555
5556 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
5557 * gdb.python/py-mi-objfile.exp: Match "list main" output
5558 in console format.
5559
5560 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
5561
5562 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
5563 absolute.
5564
5565 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
5566
5567 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
5568 absolute.
5569 * gdb.trace/ftrace.exp: Likewise.
5570 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
5571 targets as well.
5572 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
5573 (gdb_load_shlibs): Copy libraries to test directory when testing
5574 natively. Only set solib-search-path if testing remotely.
5575 * lib/mi-support.exp (mi_load_shlibs): Likewise.
5576
5577 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
5578
5579 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
5580 gdb_download. Use it even if the target is not remote.
5581 * gdb.base/jit.exp (compile_jit_test): Likewise.
5582 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
5583 output directory if the destination board is local, otherwise use
5584 the standard remote_download from DejaGnu.
5585 (gdb_download): Remove.
5586 (gdb_load_shlibs): Use gdb_remote_download instead of
5587 gdb_download.
5588 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
5589 Use gdb_remote_download instead of gdb_download. Use it even if
5590 the target is not remote.
5591 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
5592 instead of gdb_download.
5593
5594 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
5595
5596 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
5597 (test_insert_delete_modify): Call mi_load_shlibs before trying to
5598 run.
5599
5600 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
5601
5602 PR gdb/19820
5603 * gdb.base/printcmds.exp: Add artificial arrays tests.
5604
5605 2016-03-31 Pedro Alves <palves@redhat.com>
5606
5607 PR gdb/19858
5608 * gdb.base/jit-main.c: Include unistd.h.
5609 (ATTACH): Define to 0 if not already defined.
5610 (wait_for_gdb, mypid): New globals.
5611 (WAIT_FOR_GDB): New macro.
5612 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
5613 some breakpoint locations.
5614 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
5615 New procedures.
5616 (one_jit_test): Add REATTACH parameter, and handle it. Use
5617 continue_to_test_location.
5618 (top level): Test attach, and adjusts calls to one_jit_test.
5619
5620 2016-03-31 Pedro Alves <palves@redhat.com>
5621
5622 PR gdb/19858
5623 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
5624 BINSUFFIX parameter, and handle it.
5625 (top level): Adjust calls compile_jit_test.
5626
5627 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
5628
5629 PR python/19743
5630 * gdb.python/py-mi-events-gdb.py: New file.
5631 * gdb.python/py-mi-events.c: New file.
5632 * gdb.python/py-mi-events.exp: New file.
5633
5634 2016-03-30 Yao Qi <yao.qi@linaro.org>
5635
5636 * gdb.reverse/until-precsave.exp: Match function name only.
5637 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
5638 Move malloc to a condition block.
5639 * gdb.reverse/until-reverse.exp: Match function name only.
5640
5641 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
5642
5643 * gdb.trace/ftrace.exp: Set arg0exp for s390.
5644 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
5645 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
5646 variable for GPR 0 instead of assuming it is register 0.
5647 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
5648 * lib/trace-support.exp: Add s390 registers.
5649
5650 2016-03-29 Yao Qi <yao.qi@linaro.org>
5651
5652 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
5653
5654 2016-03-24 Yao Qi <yao.qi@linaro.org>
5655
5656 * gdb.reverse/break-reverse.exp: Add quotation mark in the
5657 test message.
5658
5659 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5660
5661 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
5662 maintaining separate logic for constructing the output path.
5663
5664 2016-03-16 Don Breazeal <donb@codesourcery.com>
5665
5666 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
5667 Retry fork and waitpid on interrupted system call errors.
5668 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
5669 Use with_timeout_factor to increase timeout by factor of 10.
5670
5671 2016-03-15 Don Breazeal <donb@codesourcery.com>
5672
5673 * gdb.cp/scope-err.cc: New test program.
5674 * gdb.cp/scope-err.exp: New test script.
5675 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
5676 lines and "set breakpoint here" comment.
5677 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
5678 Fixed some whitespace and format issues.
5679 * gdb.mi/mi-linespec-err-cp.cc: New test program.
5680 * gdb.mi/mi-linespec-err-cp.exp: New test script.
5681
5682 2016-03-15 Doug Evans <dje@google.com>
5683
5684 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
5685 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
5686 All callers updated. Add tests for enums, mixed flags register.
5687
5688 2016-03-15 Doug Evans <dje@google.com>
5689
5690 * gdb.base/skip.c (main): Call test_skip_file_and_function.
5691 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
5692
5693 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
5694
5695 * gdb.base/default.exp: Add $_as_string to the list of expected
5696 convenience functions.
5697
5698 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
5699
5700 * gdb.base/maint.exp: New tests for 'maint info line-table'.
5701
5702 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
5703
5704 * gdb.python/py-as-string.exp: New file.
5705 * gdb.python/py-as-string.c: New file.
5706
5707 2016-03-09 Pedro Alves <palves@redhat.com>
5708
5709 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
5710 signal" -> "Thread NN received signal" output change.
5711 * gdb.threads/ia64-sigill.exp: Likewise.
5712 * gdb.threads/linux-dp.exp: Likewise.
5713 * gdb.threads/manythreads.exp: Likewise.
5714 * gdb.threads/pending-step.exp: Likewise.
5715 * gdb.threads/print-threads.exp: Likewise.
5716 * gdb.threads/sigstep-threads.exp: Likewise.
5717 * gdb.threads/staticthreads.exp: Likewise.
5718 * gdb.threads/tls.exp: Likewise.
5719
5720 2016-03-09 Pedro Alves <palves@redhat.com>
5721
5722 * gdb.base/command-line-input.exp: New file.
5723
5724 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
5725
5726 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
5727 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
5728 * gdb.trace/pending.exp: Accept leading dot before function name.
5729 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
5730 * lib/trace-support.exp: Set registers for ppc.
5731
5732 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
5733
5734 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
5735 use it for disassembly; accept .main in addition to main in backtrace.
5736
5737 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
5738 Marcin Kościelnicki <koriakin@0x04.net>
5739
5740 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
5741 (gdb_recursion_test_ptr): New global variable.
5742 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
5743 gdb_recursion_test.
5744 (gdb_c_test): Ditto.
5745
5746 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
5747
5748 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
5749 ordering.
5750
5751 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
5752
5753 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
5754 (bar): Add bar_start_lbl label.
5755 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
5756 of foo/bar for emitting DWARF and tracing.
5757
5758 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
5759
5760 * analyze-racy-logs.py: Set executable bit.
5761
5762 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
5763
5764 * Makefile.in (DEFAULT_RACY_ITER): New variable.
5765 (CHECK_TARGET_TMP): Likewise.
5766 (check-single-racy): New rule.
5767 (check-parallel-racy): Likewise.
5768 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
5769 (do-check-parallel-racy): New rule.
5770 (check-racy/%.exp): Likewise.
5771 * README (Racy testcases): New section.
5772 * analyze-racy-logs.py: New file.
5773
5774 2016-03-03 Doug Evans <dje@google.com>
5775
5776 * gdb.base/skip.exp: Use with_test_prefix.
5777
5778 2016-03-03 Yao Qi <yao.qi@linaro.org>
5779
5780 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
5781 Invoke step_over_syscall "clone" and break_cond_on_syscall
5782 "clone".
5783 * gdb.base/step-over-clone.c: New file.
5784
5785 2016-03-03 Yao Qi <yao.qi@linaro.org>
5786
5787 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
5788 code format.
5789
5790 2016-03-03 Yao Qi <yao.qi@linaro.org>
5791
5792 * gdb.base/disp-step-fork.c: Rename to ...
5793 * gdb.base/step-over-fork.c: ... it. New file.
5794 * gdb.base/disp-step-vfork.c: Rename to ...
5795 * gdb.base/step-over-vfork.c: ... it. New file.
5796 * gdb.base/disp-step-syscall.exp: Rename to ...
5797 * gdb.base/step-over-syscall.exp: ... it. New file.
5798 (disp_step_cross_syscall): Rename to ...
5799 (step_over_syscall): ... it.
5800
5801 2016-03-03 Yao Qi <yao.qi@linaro.org>
5802
5803 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
5804 If target supports condition evaluation on target, invoke
5805 break_cond_on_syscall for fork and vfork.
5806
5807 2016-03-03 Yao Qi <yao.qi@linaro.org>
5808
5809 * gdb.base/disp-step-syscall.exp: Don't invoke
5810 support_displaced_stepping.
5811 (disp_step_cross_syscall): Test with displaced stepping off and
5812 on if supported.
5813
5814 2016-03-03 Yao Qi <yao.qi@linaro.org>
5815
5816 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
5817 proc.
5818 (setup): New proc.
5819 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
5820 and setup.
5821
5822 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
5823
5824 * gdb.fortran/vla-history.exp: Remove breakpoint.
5825
5826 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
5827
5828 * gdb.fortran/vla-history.exp: Lookup array elements and printing
5829 exceeds timeout.
5830
5831 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
5832
5833 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
5834 breakpoint.
5835
5836 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
5837
5838 * gdb.mi/vla.f90: Nullify pointer after declaration.
5839
5840 2016-03-01 Pedro Alves <palves@redhat.com>
5841
5842 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
5843
5844 2016-03-01 Pedro Alves <palves@redhat.com>
5845
5846 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
5847 before anything else.
5848 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
5849 _GNU_SOURCE here.
5850 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
5851 before anything else.
5852 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
5853
5854 2016-03-01 Pedro Alves <palves@redhat.com>
5855
5856 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
5857
5858 2016-03-01 Yao Qi <yao.qi@linaro.org>
5859
5860 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
5861 prepare_for_testing.
5862
5863 2016-03-01 Yao Qi <yao.qi@linaro.org>
5864
5865 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
5866
5867 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
5868
5869 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
5870 manually constructing the output path.
5871
5872 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
5873
5874 * gdb.arch/s390-stackless.S: New.
5875 * gdb.arch/s390-stackless.exp: New.
5876
5877 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
5878
5879 * gdb.dlang/circular.c: New file.
5880 * gdb.dlang/circular.exp: New file.
5881
5882 2016-02-26 Yao Qi <yao.qi@linaro.org>
5883
5884 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
5885 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
5886 (testcases): Update.
5887
5888 2016-02-26 Yao Qi <yao.qi@linaro.org>
5889
5890 * gdb.reverse/aarch64.c: Rename to ...
5891 * gdb.reverse/insn-reverse.c: ... it.
5892 * gdb.reverse/aarch64.exp: Rename to ...
5893 * gdb.reverse/insn-reverse.exp: ... it.
5894
5895 2016-02-26 Yao Qi <yao.qi@linaro.org>
5896
5897 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
5898 (testcase_ftype): New.
5899 (testcases): New array.
5900 (n_testcases): New.
5901 (main): Call each element in testcases.
5902 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
5903 (read_testcase): New.
5904 Do the tests in a loop.
5905
5906 2016-02-25 Yao Qi <yao.qi@linaro.org>
5907
5908 * gdb.base/branches.c: Remove.
5909
5910 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
5911
5912 PR gdb/13808
5913 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
5914
5915 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
5916
5917 * gdb.trace/ftrace.exp: Remove unnecessary target check.
5918
5919 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
5920
5921 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
5922 change x86_64 call_insn to 'callq'.
5923
5924 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
5925
5926 * gdb.trace/tfile-avx.c: Move to...
5927 * gdb.trace/tracefile-pseudo-reg.c: Here.
5928 * gdb.trace/tfile-avx.exp: Move to...
5929 * gdb.trace/tracefile-pseudo-reg.exp: Here.
5930
5931 2016-02-24 Gary Benson <gbenson@redhat.com>
5932
5933 * gdb.base/attach-pie-noexec.exp: Do not expect an error
5934 message on attach.
5935
5936 2016-02-23 Doug Evans <dje@google.com>
5937
5938 * gdb.base/skip.c (test_skip): New function.
5939 (end_test_skip_file_and_function): New function.
5940 (test_skip_file_and_function): New function.
5941 * gdb.base/skip1.c (test_skip): New function.
5942 (skip1_test_skip_file_and_function): New function.
5943 * gdb.base/skip.exp: Add tests for new skip options.
5944 * gdb.base/skip-solib.exp: Update expected output.
5945 * gdb.perf/skip-command.cc: New file.
5946 * gdb.perf/skip-command.exp: New file.
5947 * gdb.perf/skip-command.py: New file.
5948
5949 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
5950
5951 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
5952 info registers pattern.
5953
5954 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
5955
5956 * lib/future.exp: Add D support.
5957 (gdb_find_gdc): New proc.
5958 (gdb_default_target_compile): Add D support.
5959
5960 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
5961
5962 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
5963 user+system time.
5964 (trace_speed_test): Determine the iteration count for a time
5965 between 15..30 seconds.
5966
5967 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
5968
5969 * gdb.arch/i386-mpx-sigsegv.c: New file.
5970 * gdb.arch/i386-mpx-sigsegv.exp: New file.
5971 * gdb.arch/i386-mpx-simple_segv.c: New file.
5972 * gdb.arch/i386-mpx-simple_segv.exp: New file.
5973
5974 2016-02-18 Yao Qi <yao.qi@linaro.org>
5975
5976 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
5977 Don't call setup_kfail.
5978
5979 2016-02-18 Yao Qi <yao.qi@linaro.org>
5980
5981 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
5982 Set "set breakpoint condition-evaluation" per $cond_bp_target.
5983
5984 2016-02-16 Doug Evans <dje@google.com>
5985
5986 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
5987 * gdb.base/skip1.c: Ditto.
5988 * gdb.base/skip.exp: Whitespace cleanup.
5989
5990 2016-02-16 Don Breazeal <donb@codesourcery.com>
5991
5992 PR remote/19496
5993 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
5994 Remove kfail for PR remote/19496.
5995
5996 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
5997
5998 * lib/gdb.exp (standard_temp_file): Return a path specific to
5999 the runtest invocation.
6000
6001 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
6002
6003 * gdb.trace/save-trace.exp: Change relative path to be in the
6004 standard output directory.
6005
6006 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6007
6008 * gdb.arch/i386-prologue.c: Add missing prototypes.
6009
6010 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6011
6012 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
6013 * gdb.arch/i386-prologue.exp: Likewise.
6014 * gdb.arch/i386-size.exp: Likewise.
6015
6016 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
6017
6018 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
6019 define object file path.
6020 * gdb.btrace/gcore.exp: Use standard_output_file to define core
6021 file path.
6022 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
6023 standard_output_file to define binfile.
6024
6025 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6026
6027 Fix compatibility with recent gfortran-5.3.1.
6028 * gdb.fortran/vla-history.exp (print vla1 allocated)
6029 (print vla2 allocated, print $2, print $3): Remove
6030 (print $4): Rename to ...
6031 (print $2): ... here.
6032 (print $9): Rename to ...
6033 (print $5): ... here.
6034 (print $10): Rename to ...
6035 (print $6): ... here.
6036 * gdb.fortran/vla.f90: Add pvla initialization.
6037
6038 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6039
6040 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
6041 New test.
6042 * gdb.fortran/vla-value-sub.exp: Likewise.
6043
6044 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
6045
6046 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
6047
6048 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
6049
6050 * i386-biarch-core.exp: Define corefile using
6051 standard_output_file.
6052
6053 2016-02-12 Yao Qi <yao.qi@linaro.org>
6054
6055 * gdb.arch/arm-single-step-kernel-helper.c: New.
6056 * gdb.arch/arm-single-step-kernel-helper.exp: New.
6057
6058 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
6059
6060 * gdb.btrace/tailcall-only.exp: New.
6061 * gdb.btrace/tailcall-only.c: New.
6062 * gdb.btrace/x86_64-tailcall-only.S: New.
6063 * gdb.btrace/i686-tailcall-only.S: New.
6064
6065 2016-02-11 Pedro Alves <palves@redhat.com>
6066
6067 * README (Parallel testing): Add missing double quotes.
6068
6069 2016-02-11 Pedro Alves <palves@redhat.com>
6070
6071 * README (Parallel testing): New section.
6072 (GDB_PARALLEL): Rewrite.
6073 (FORCE_PARALLEL): Document.
6074
6075 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
6076
6077 * gdb.trace/tfile-avx.c: New test.
6078 * gdb.trace/tfile-avx.exp: New test.
6079
6080 2016-02-09 Keith Seitz <keiths@redhat.com>
6081
6082 PR breakpoints/19546
6083 * gdb.base/infcall-exec.c: New file.
6084 * gdb.base/infcall-exec2.c: New file.
6085 * gdb.base/infcall-exec.exp: New file.
6086
6087 2016-02-09 Keith Seitz <keiths@redhat.com>
6088
6089 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
6090 (toplevel): Call test_bkpt_address.
6091
6092 2016-02-09 Keith Seitz <keiths@redhat.com>
6093
6094 PR python/19506
6095 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
6096 (toplevel): Call test_bkpt_address.
6097
6098 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
6099
6100 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
6101 to AC_OUTPUT.
6102 * configure: Regenerate.
6103
6104 2016-02-09 Pedro Alves <palves@redhat.com>
6105
6106 PR breakpoints/19548
6107 * gdb.base/execl-update-breakpoints.c (some_function): New
6108 function.
6109 (main): Call it.
6110 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
6111 Tighten expected GDB output.
6112
6113 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
6114
6115 * Makefile.in (ALL_SUBDIRS): Remove.
6116 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
6117 (distclean maintainer-clean realclean): Likewise.
6118 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
6119 * configure: Regenerate.
6120 * gdb.ada/Makefile.in: Delete.
6121 * gdb.arch/Makefile.in: Likewise.
6122 * gdb.asm/Makefile.in: Likewise.
6123 * gdb.base/Makefile.in: Likewise.
6124 * gdb.btrace/Makefile.in: Likewise.
6125 * gdb.cell/Makefile.in: Likewise.
6126 * gdb.compile/Makefile.in: Likewise.
6127 * gdb.cp/Makefile.in: Likewise.
6128 * gdb.disasm/Makefile.in: Likewise.
6129 * gdb.dlang/Makefile.in: Likewise.
6130 * gdb.dwarf2/Makefile.in: Likewise.
6131 * gdb.fortran/Makefile.in: Likewise.
6132 * gdb.gdb/Makefile.in: Likewise.
6133 * gdb.go/Makefile.in: Likewise.
6134 * gdb.guile/Makefile.in: Likewise.
6135 * gdb.java/Makefile.in: Likewise.
6136 * gdb.linespec/Makefile.in: Likewise.
6137 * gdb.mi/Makefile.in: Likewise.
6138 * gdb.modula2/Makefile.in: Likewise.
6139 * gdb.multi/Makefile.in: Likewise.
6140 * gdb.objc/Makefile.in: Likewise.
6141 * gdb.opencl/Makefile.in: Likewise.
6142 * gdb.opt/Makefile.in: Likewise.
6143 * gdb.pascal/Makefile.in: Likewise.
6144 * gdb.perf/Makefile.in: Likewise.
6145 * gdb.python/Makefile.in: Likewise.
6146 * gdb.reverse/Makefile.in: Likewise.
6147 * gdb.server/Makefile.in: Likewise.
6148 * gdb.stabs/Makefile.in: Likewise.
6149 * gdb.threads/Makefile.in: Likewise.
6150 * gdb.trace/Makefile.in: Likewise.
6151 * gdb.xml/Makefile.in: Likewise.
6152 * lib/gdb.exp (make_gdb_parallel_path): Add check for
6153 GDB_PARALLEL.
6154 (standard_output_file): Remove check for GDB_PARALLEL, always
6155 return path in outputs/$subdir/$testname.
6156
6157 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
6158
6159 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
6160 (site.exp): Assign abs_srcdir to tcl's srcdir.
6161
6162 2016-02-04 Yao Qi <yao.qi@linaro.org>
6163
6164 * gdb.base/foll-exec-mode.c: Include limits.h.
6165 (main): Add parameters argc and argv. Get directory from
6166 argv[0].
6167 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
6168 compilation.
6169 * gdb.base/foll-exec.c: Include limits.h.
6170 (main): Add parameters argc and argv.
6171 Get directory from argv[0].
6172 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
6173 Adjust tests on the number of lines as source code changed.
6174 * gdb.base/foll-vfork-exit.c: Include limits.h.
6175 (main): Add one line of statement before vfork.
6176 * gdb.base/foll-vfork.c: Include limits.h and string.h.
6177 (main): Add parameters argc and argv. Get directory from
6178 argv[0].
6179 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
6180 (setup_gdb): Set tbreak to skip some source lines.
6181 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
6182 (main): Add parameters argc and argv. Get directory from
6183 argv[0].
6184 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
6185 compilation.
6186 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
6187 (main): Add parameters argc and argv. Get directory from
6188 argv[0].
6189 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
6190 compilation.
6191
6192 2016-02-01 Doug Evans <dje@google.com>
6193
6194 * gdb.base/skip.exp: Clean up multiple references to same test name.
6195
6196 2016-02-01 Pedro Alves <palves@redhat.com>
6197
6198 PR remote/19496
6199 * gdb.threads/forking-threads-plus-breakpoint.exp
6200 (displaced_stepping_supported): New global.
6201 (probe_displaced_stepping_support): New procedure.
6202 (do_test): Add 'displaced' parameter, and use it.
6203 (top level): Check for displaced stepping support. Add displaced
6204 stepping on/off testing axis.
6205
6206 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
6207
6208 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
6209 pointer. Don't perform further tests on the unassociated pointer
6210 if the first test fails.
6211
6212 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
6213
6214 * gdb.base/max-value-size.c: New file.
6215 * gdb.base/max-value-size.exp: New file.
6216 * gdb.base/huge.exp: Disable max-value-size for this test.
6217
6218 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
6219
6220 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
6221
6222 2016-01-28 Yao Qi <yao.qi@linaro.org>
6223
6224 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
6225
6226 2016-01-25 Pedro Alves <palves@redhat.com>
6227
6228 PR threads/19461
6229 * gdb.base/fork-running-state.c: New file.
6230 * gdb.base/fork-running-state.exp: New file.
6231
6232 2016-01-25 Pedro Alves <palves@redhat.com>
6233
6234 PR gdb/19494
6235 * gdb.base/catch-fork-kill.c: New file.
6236 * gdb.base/catch-fork-kill.exp: New file.
6237
6238 2016-01-25 Pedro Alves <palves@redhat.com>
6239
6240 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
6241 Delete, moved to lib/gdb.exp.
6242 * gdb.threads/forking-threads-plus-breakpoint.exp
6243 (foreach_with_prefix): Likewise.
6244 * gdb.threads/process-dies-while-handling-bp.exp
6245 (foreach_with_prefix): Likewise.
6246 * lib/gdb.exp (foreach_with_prefix): New procedure.
6247
6248 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
6249
6250 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
6251 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
6252
6253 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
6254
6255 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
6256 endian targets.
6257
6258 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6259 Pedro Alves <palves@redhat.com>
6260
6261 Fix testsuite compatibility with Guile.
6262 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
6263 number.
6264
6265 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6266
6267 Fix testsuite compatibility with Guile.
6268 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
6269 (thread 1): New test for backtrace through signal handler.
6270
6271 2016-01-22 Yao Qi <yao.qi@linaro.org>
6272
6273 PR testsuite/19491
6274 * gdb.base/multi-forks.c: Include
6275 ../lib/unbuffer_output.c
6276 (main): Call gdb_unbuffer_output.
6277
6278 2016-01-21 Doug Evans <dje@google.com>
6279
6280 * lib/ada.exp (gdb_compile_ada): Fix typo.
6281
6282 2016-01-21 Joel Brobecker <brobecker@adacore.com>
6283
6284 * gdb.base/break-fun-addr.exp: New file.
6285 * gdb.base/break-fun-addr1.c: New file.
6286 * gdb.base/break-fun-addr2.c: New file.
6287
6288 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
6289
6290 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
6291 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
6292 enum flag values.
6293
6294 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
6295
6296 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
6297 when GDB can not set the vector return value. Add more comments
6298 for clarification.
6299
6300 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
6301
6302 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
6303 command.
6304
6305 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
6306
6307 * Makefile.in (DO_RUNTEST): Add --status and update usages.
6308
6309 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
6310
6311 * Makefile.in (check-single): Pass --status to runtest.
6312 (check/%.exp): Likewise.
6313
6314 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
6315
6316 * Makefile.in (check-parallel): Propagate return code from make
6317 do-check-parallel.
6318
6319 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
6320
6321 * gdb.trace/ftrace.exp: Fix expected message on continue.
6322 * gdb.trace/pending.exp: Fix expected message on continue.
6323 * gdb.trace/trace-break.exp: Fix expected message on continue.
6324
6325 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
6326
6327 * lib/gdb.exp (gdb_test): Remove unused global references.
6328
6329 2016-01-18 Pedro Alves <palves@redhat.com>
6330
6331 * gdb.base/async-shell.exp: Adjust expected output.
6332 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
6333 * gdb.base/siginfo-thread.exp: Adjust expected output.
6334 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
6335 * gdb.java/jnpe.exp: Adjust expected output.
6336 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
6337 * gdb.threads/continue-pending-status.exp: Adjust expected output.
6338 * gdb.threads/leader-exit.exp: Adjust expected output.
6339 * gdb.threads/manythreads.exp: Adjust expected output.
6340 * gdb.threads/pthreads.exp: Adjust expected output.
6341 * gdb.threads/schedlock.exp: Adjust expected output.
6342 * gdb.threads/siginfo-threads.exp: Adjust expected output.
6343 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
6344 expected output.
6345 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
6346 output.
6347 * gdb.threads/sigthread.exp: Adjust expected output.
6348 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
6349
6350 2016-01-18 Yao Qi <yao.qi@linaro.org>
6351
6352 * gdb.guile/scm-section-script.c: Replace @progbits with
6353 %progbits.
6354 * gdb.python/py-section-script.c: Likewise.
6355
6356 2016-01-15 Pedro Alves <palves@redhat.com>
6357
6358 * gdb.multi/tids.exp: Test star wildcard ranges.
6359
6360 2016-01-15 Pedro Alves <palves@redhat.com>
6361
6362 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
6363 command from "thread apply" invocation.
6364 (thr_apply_info_thr_invalid): Default the expected output to the
6365 input tid list.
6366 (top level): Add tests that use convenience variables. Add tests
6367 for "thread apply" with a valid TID list, but missing the command.
6368
6369 2016-01-13 Pedro Alves <palves@redhat.com>
6370
6371 * gdb.base/default.exp: Expect $_gthread as well.
6372 * gdb.multi/tids.exp: Test $_gthread.
6373 * gdb.threads/thread-specific.exp: Test $_gthread.
6374
6375 2016-01-13 Pedro Alves <palves@redhat.com>
6376
6377 * gdb.multi/tids.exp: Test "info threads -gid".
6378
6379 2016-01-13 Pedro Alves <palves@redhat.com>
6380
6381 * gdb.multi/tids.exp: Test InferiorThread.global_num and
6382 Breakpoint.thread.
6383 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
6384
6385 2016-01-07 Pedro Alves <palves@redhat.com>
6386
6387 * gdb.base/break.exp: Adjust to output changes.
6388 * gdb.base/hbreak2.exp: Likewise.
6389 * gdb.base/sepdebug.exp: Likewise.
6390 * gdb.base/watch_thread_num.exp: Likewise.
6391 * gdb.linespec/keywords.exp: Likewise.
6392 * gdb.multi/info-threads.exp: Likewise.
6393 * gdb.threads/thread-find.exp: Likewise.
6394 * gdb.multi/tids.c: New file.
6395 * gdb.multi/tids.exp: New file.
6396
6397 2016-01-13 Pedro Alves <palves@redhat.com>
6398
6399 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
6400
6401 2016-01-13 Pedro Alves <palves@redhat.com>
6402
6403 * gdb.base/default.exp: Expect $_inferior as well.
6404 * gdb.multi/base.exp: Test $_inferior.
6405
6406 2016-01-13 Pedro Alves <palves@redhat.com>
6407
6408 PR breakpoints/19388
6409 * gdb.base/catch-signal-siginfo-cond.c: New file.
6410 * gdb.base/catch-signal-siginfo-cond.exp: New file.
6411
6412 2016-01-12 Josh Stone <jistone@redhat.com>
6413 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6414
6415 * gdb.base/catch-syscall.c (do_execve): New variable.
6416 (main): Conditionally trigger an execve.
6417 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
6418 (test_catch_syscall_execve): New, check entry/return across execve.
6419 (do_syscall_tests): Call test_catch_syscall_execve.
6420
6421 2016-01-12 Pedro Alves <palves@redhat.com>
6422
6423 * gdb.base/random-signal.exp (do_test): New procedure, with body
6424 of testcase moved in.
6425
6426 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6427 Pedro Alves <palves@redhat.com>
6428
6429 * gdb.base/funcargs.exp (finish from indirectly called function):
6430 Reintroduce the case for 'First'.
6431
6432 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6433 Pedro Alves <palves@redhat.com>
6434
6435 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
6436 (tcatch_vfork_then_child_follow_exec)
6437 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
6438 identification.
6439
6440 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6441
6442 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
6443 and repeats to unlimited.
6444 * gdb.python/py-value.exp: Likewise.
6445 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
6446 and repeats to unlimited.
6447
6448 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6449
6450 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
6451 and reordering the functions.
6452 * gdb.multi/hangout.c: Likewise.
6453 * gdb.multi/hello.c: Likewise.
6454
6455 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
6456
6457 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
6458 absolute.
6459 (SingleStatisticTestResult.report): Use dict.keys instead of
6460 dict.iterkeys.
6461
6462 2016-01-06 Pedro Alves <palves@redhat.com>
6463
6464 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
6465
6466 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
6467
6468 * gdb.btrace/dlopen.exp: New.
6469 * gdb.btrace/dlopen.c: New.
6470 * gdb.btrace/dlopen-dso.c: New.
6471
6472 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
6473
6474 * lib/gdb.exp (gdb_test): Update comments to clarify that the
6475 PATTERN argument is optional.
6476
6477 2015-12-24 Joel Brobecker <brobecker@adacore.com>
6478
6479 * lib/ada.exp (target_compile_ada_from_dir): New function.
6480 (gdb_compile_ada): Reimplement avoiding the use of project files.
6481 * gdb.ada/gnat_ada.gpr: Delete.
6482 * gdb.ada/cond_lang.exp: Adjust test to make path before
6483 filename optional.
6484 * gdb.ada/small_reg_param.exp: Likewise.
6485
6486 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
6487
6488 * gdb.base/foll-vork.exp: Remove HP-UX special case.
6489
6490 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
6491
6492 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
6493 case.
6494
6495 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
6496
6497 * gdb.base/break.exp: Remove dead code.
6498 * gdb.base/sepdebug.exp: Likewise.
6499
6500 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
6501
6502 * gdb.asm/asm-source.exp: Remove HP-UX references.
6503 * gdb.base/annota1.exp: Likewise.
6504 * gdb.base/annota3.exp: Likewise.
6505 * gdb.base/attach.exp: Likewise.
6506 * gdb.base/bigcore.exp: Likewise.
6507 * gdb.base/break.exp: Likewise.
6508 * gdb.base/call-ar-st.exp: Likewise.
6509 * gdb.base/callfuncs.exp: Likewise.
6510 * gdb.base/catch-fork-static.exp: Likewise.
6511 * gdb.base/display.exp: Likewise.
6512 * gdb.base/foll-exec-mode.exp: Likewise.
6513 * gdb.base/foll-exec.exp: Likewise.
6514 * gdb.base/foll-fork.exp: Likewise.
6515 * gdb.base/foll-vfork.exp: Likewise.
6516 * gdb.base/funcargs.exp: Likewise.
6517 * gdb.base/hbreak2.exp: Likewise.
6518 * gdb.base/inferior-died.exp: Likewise.
6519 * gdb.base/interrupt.exp: Likewise.
6520 * gdb.base/multi-forks.exp: Likewise.
6521 * gdb.base/nodebug.exp: Likewise.
6522 * gdb.base/sepdebug.exp: Likewise.
6523 * gdb.base/solib1.c: Likewise.
6524 * gdb.base/step-test.exp: Likewise.
6525 * gdb.mi/non-stop.c: Likewise.
6526 * gdb.mi/pthreads.c: Likewise.
6527 * gdb.multi/bkpt-multi-exec.ex: Likewise.
6528 * gdb.threads/pthreads.c: Likewise.
6529 * gdb.threads/staticthreads.exp: Likewise.
6530 * lib/future.exp: Likewise.
6531 * lib/gdb.exp: Likewise.
6532 * gdb.base/so-indr-cl.c: Remove.
6533 * gdb.base/so-indr-cl.exp: Likewise.
6534 * gdb.base/solib.c: Likewise.
6535 * gdb.base/solib.exp: Likewise.
6536 * gdb.base/solib2.c: Likewise.
6537
6538 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
6539
6540 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
6541 * gdb.base/call-ar-st.exp: Likewise.
6542 * gdb.base/callfuncs.exp: Likewise.
6543 * gdb.base/condbreak.exp: Likewise.
6544 * gdb.base/constvars.exp: Likewise.
6545 * gdb.base/hbreak2.exp: Likewise.
6546 * gdb.base/langs.exp: Likewise.
6547 * gdb.base/list.exp: Likewise.
6548 * gdb.base/long_long.exp: Likewise.
6549 * gdb.base/ptype.exp: Likewise.
6550 * gdb.base/scope.exp: Likewise.
6551 * gdb.base/signals.exp: Likewise.
6552 * gdb.base/so-impl-ld.exp: Likewise.
6553 * gdb.base/varargs.exp: Likewise.
6554 * gdb.base/volatile.exp: Likewise.
6555 * gdb.base/whatis.exp: Likewise.
6556 * gdb.cp/cplusfuncs.exp: Likewise.
6557 * gdb.cp/inherit.exp: Likewise.
6558 * gdb.cp/local.exp: Likewise.
6559 * gdb.cp/member-ptr.exp: Likewise.
6560 * gdb.cp/method.exp: Likewise.
6561 * gdb.cp/overload.exp: Likewise.
6562 * gdb.cp/templates.exp: Likewise.
6563 * gdb.stabs/weird.exp: Likewise.
6564 * lib/compiler.c: Likewise.
6565 * lib/compiler.cc: Likewise.
6566 * lib/cp-support.exp: Likewise.
6567 * lib/gdb.exp: Likewise.
6568
6569 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
6570
6571 * configure.ac: Remove HP-UX case.
6572 * configure: Regenerate.
6573
6574 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
6575
6576 * lib/gdb.exp (gdb_compile): Add function doc.
6577
6578 2015-12-17 Pedro Alves <palves@redhat.com>
6579
6580 PR threads/19354
6581 * gdb.multi/info-threads.exp: New file.
6582
6583 2015-12-15 Yao Qi <yao.qi@linaro.org>
6584
6585 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
6586 is aarch64*-*-*.
6587
6588 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
6589
6590 * gdb.base/history-duplicates.exp: Skip if no readline support.
6591
6592 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
6593
6594 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
6595
6596 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
6597
6598 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
6599
6600 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
6601
6602 * gdb.base/completion.exp: Skip tests that interrupt GDB with
6603 ctrl-C if nointerrupts target property is set.
6604 * gdb.base/double-prompt-target-event-error.exp: Likewise.
6605 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
6606 * gdb.base/paginate-bg-execution.exp: Likewise.
6607 * gdb.base/paginate-execution-startup.exp: Likewise.
6608 * gdb.base/random-signal.exp: Likewise.
6609 * gdb.base/range-stepping.exp: Likewise.
6610 * gdb.cp/annota2.exp: Likewise.
6611 * gdb.cp/annota3.exp: Likewise.
6612 * gdb.gdb/selftest.exp: Likewise.
6613 * gdb.threads/continue-pending-status.exp: Likewise.
6614 * gdb.threads/leader-exit.exp: Likewise.
6615 * gdb.threads/manythreads.exp: Likewise.
6616 * gdb.threads/pthreads.exp: Likewise.
6617 * gdb.threads/schedlock.exp: Likewise.
6618 * gdb.threads/sigthread.exp: Likewise.
6619
6620 2015-12-11 Don Breazeal <donb@codesourcery.com>
6621
6622 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
6623 remote.
6624 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
6625 * gdb.base/foll-exec.exp (main): Enable for target remote.
6626 * gdb.base/foll-fork.exp (main): Likewise.
6627 * gdb.base/foll-vfork.exp (main): Likewise.
6628 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
6629 (proc continue_to_exit_bp_loc): Use clean_restart.
6630 * gdb.base/pie-execl.exp (main): Disable for target remote.
6631 * gdb.base/watch-vfork.exp (main): Enable for target remote.
6632 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
6633 * gdb.threads/execl.exp (main): Likewise.
6634 * gdb.threads/fork-child-threads.exp (main): Likewise.
6635 * gdb.threads/fork-plus-threads.exp (main): Disable for target
6636 remote.
6637 * gdb.threads/fork-thread-pending.exp (main): Enable for target
6638 remote.
6639 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
6640 pid.tid style ptids, instead of just tid.
6641 * gdb.threads/thread-execl.exp (main): Enable for target remote.
6642 * gdb.threads/watchpoint-fork.exp (main): Likewise.
6643 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
6644 ptids, instead of just tid.
6645
6646 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
6647
6648 * gdb.base/list.exp (test_list_forward): Add end of file error
6649 test.
6650 (test_repeat_list_command): Add end of file error test.
6651 (test_list_backwards): Add beginning of file error test.
6652
6653 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
6654
6655 * gdb.base/list.exp (test_list_invalid_args): New function,
6656 defined, and called.
6657
6658 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
6659
6660 * gdb.base/list.exp (test_list): Make test names unique.
6661
6662 2015-12-11 Yao Qi <yao.qi@linaro.org>
6663
6664 * gdb.base/coremaker2.c: Remove.
6665
6666 2015-12-10 Pedro Alves <palves@redhat.com>
6667
6668 * gdb.multi/base.exp: Remove stale "spaces" references.
6669
6670 2015-12-10 Pedro Alves <palves@redhat.com>
6671
6672 * gdb.multi/base.exp: Don't use nowarnings.
6673 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
6674 * gdb.multi/hangout.c: Include stdio.h.
6675 * gdb.multi/hello.c: Include stdlib.h.
6676 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
6677 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
6678 * gdb.multi/multi-arch.exp: Don't use nowarnings.
6679
6680 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
6681
6682 * gdb.dwarf2/dw2-ranges-base.c: New file.
6683 * gdb.dwarf2/dw2-ranges-base.exp: New file.
6684 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
6685 support additional line table, and debug ranges generation.
6686 (Dwarf::ranges): New function, generate .debug_ranges.
6687 (Dwarf::lines): Support generating simple line table programs.
6688 (Dwarf::assemble): Initialise new namespace variables.
6689
6690 2015-12-09 Kevin Buettner <kevinb@redhat.com>
6691
6692 * gdb.base/async.exp (proc test_background): Add case for
6693 asynchronous execution not supported.
6694
6695 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
6696
6697 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
6698 format and change test names to make them unique.
6699
6700 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
6701 Pedro Alves <pedro@redhat.com>
6702
6703 PR gdb/18702
6704 Add checking of floatformats setup on x86_64 hosts.
6705 * gdb.arch/i386-float.S (main): Load bigval and smallval.
6706 (smallval, bigval): New labels/constants.
6707 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
6708 float" after loading bigval and smallval.
6709
6710 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
6711
6712 * gdb.ada/fun_overload_menu.exp: New testcase.
6713 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
6714
6715 2015-12-04 Josh Stone <jistone@redhat.com>
6716
6717 * gdb.base/catch-fork-static.exp: New.
6718
6719 2015-12-03 Yao Qi <yao.qi@linaro.org>
6720
6721 * gdb.base/sizeof.c: Don't include stdio.h and
6722 ../lib/unbuffer_output.c.
6723 (main): New variable 'size' and 'value'. Remove printf and
6724 gdb_unbuffer_output. Assign return value to size and value.
6725 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
6726 at the beginning.
6727 (check_sizeof): Check the result by printing variable 'size'.
6728 (check_valueof): Check the result by printing variable 'value'.
6729
6730 2015-12-01 Yao Qi <yao.qi@linaro.org>
6731
6732 * gdb.base/disp-step-syscall.exp: Define syscall instruction
6733 for aarch64*-*-linux* target.
6734
6735 2015-11-30 Pedro Alves <palves@redhat.com>
6736
6737 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
6738
6739 2015-11-30 Pedro Alves <palves@redhat.com>
6740
6741 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
6742 Handle non-stop mode vCont replies.
6743
6744 2015-11-30 Pedro Alves <palves@redhat.com>
6745
6746 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
6747 prepare_for_testing. Start gdb with "set non-stop on" appended to
6748 GDBFLAGS. Lax expected stop output.
6749
6750 2015-11-27 Yao Qi <yao.qi@linaro.org>
6751
6752 * gdb.arch/arm-neon.exp: New.
6753 * gdb.arch/arm-neon.c: New.
6754
6755 2015-11-27 Yao Qi <yao.qi@linaro.org>
6756
6757 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
6758
6759 2015-11-27 Yao Qi <yao.qi@linaro.org>
6760
6761 * gdb.cp/annota2.exp: Allow multiple occurrences of the
6762 frames-invalid annotation.
6763
6764 2015-11-27 Yao Qi <yao.qi@linaro.org>
6765
6766 * gdb.cp/annota2.exp: Use ${frames_invalid}.
6767
6768 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
6769
6770 * gdb.threads/names.exp: New file.
6771 * gdb.threads/names.c: New file.
6772 * README: Mention gdb,no_thread_names.
6773
6774 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
6775
6776 PR 19297
6777 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
6778 support" error.
6779
6780 2015-11-24 Pedro Alves <palves@redhat.com>
6781
6782 PR 17539
6783 * gdb.base/display.exp: Expect displays to be sorted in ascending
6784 order. Use multi_line.
6785 * gdb.base/solib-display.exp: Likewise.
6786
6787 2015-11-24 Pedro Alves <palves@redhat.com>
6788
6789 PR 17539
6790 * gdb.base/display.exp: Expect displays to be sorted in ascending
6791 order. Use multi_line.
6792 * gdb.base/solib-display.exp: Likewise.
6793
6794 2015-11-24 Pedro Alves <palves@redhat.com>
6795
6796 PR 17539
6797 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
6798 threads in ascending order.
6799 * gdb.base/foll-fork.exp: Likewise.
6800 * gdb.base/foll-vfork.exp: Likewise.
6801 * gdb.base/multi-forks.exp: Likewise.
6802 * gdb.mi/mi-nonstop.exp: Likewise.
6803 * gdb.mi/mi-nsintrall.exp: Likewise.
6804 * gdb.multi/base.exp: Likewise.
6805 * gdb.multi/multi-arch.exp: Likewise.
6806 * gdb.python/py-inferior.exp: Likewise.
6807 * gdb.threads/break-while-running.exp: Likewise.
6808 * gdb.threads/execl.exp: Likewise.
6809 * gdb.threads/gcore-thread.exp: Likewise.
6810 * gdb.threads/info-threads-cur-sal.exp: Likewise.
6811 * gdb.threads/kill.exp: Likewise.
6812 * gdb.threads/linux-dp.exp: Likewise.
6813 * gdb.threads/multiple-step-overs.exp: Likewise.
6814 * gdb.threads/next-bp-other-thread.exp: Likewise.
6815 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
6816 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
6817 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
6818 * gdb.threads/thread-find.exp: Likewise.
6819 * gdb.threads/tls.exp: Likewise.
6820 * lib/mi-support.exp (mi_reverse_list): Delete.
6821 (mi_check_thread_states): No longer reverse list.
6822
6823 2015-11-24 Pedro Alves <palves@redhat.com>
6824
6825 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
6826 use lowercase.
6827
6828 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
6829
6830 * gdb.trace/actions.c: Include trace-common.h.
6831 (main): Add a location for a fast tracepoint.
6832 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
6833 the normal tracepoints.
6834 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
6835
6836 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
6837
6838 * save-trace.exp: Factor out code to these...
6839 (gdb_save_tracepoints): New.
6840 (gdb_load_tracepoints): New.
6841 (do_save_load_test): New.
6842
6843 2015-11-23 Kevin Buettner <kevinb@redhat.com>
6844
6845 * gdb.base/asmlabel.exp: New test.
6846 * gdb.base/asmlabel.c: New test case.
6847
6848 2015-11-23 Joel Brobecker <brobecker@adacore.com>
6849
6850 * gdb.base/wrong_frame_bt_full-main.c: New file.
6851 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
6852 * gdb.base/wrong_frame_bt_full.exp: New file.
6853
6854 2015-11-23 Joel Brobecker <brobecker@adacore.com>
6855
6856 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
6857
6858 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
6859
6860 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
6861 pstate register when comparing registers values in
6862 sparc64-*-linux-gnu targets to avoid spurious differences.
6863
6864 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
6865
6866 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
6867
6868 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
6869
6870 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
6871 as type argument to gdb_compile.
6872 * gdb.base/nested-subp2.exp: Likewise.
6873 * gdb.base/nested-subp3.exp: Likewise.
6874
6875 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
6876
6877 * lib/dwarf.exp (_note): Fix left shift of negative value.
6878 * gdb.trace/trace-condition.exp: Likewise.
6879
6880 2015-11-13 Yao Qi <yao.qi@linaro.org>
6881
6882 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
6883 comments about d10v.
6884 (test_scalar_returns): Likewise.
6885 * gdb.base/d10v.ld: Remove.
6886 * gdb.base/overlays.exp: Remove the target triplet checking for
6887 d10v-*-*.
6888 * gdb.base/structs.exp (test_struct_returns): Remove the
6889 comments about d10v.
6890 (test_struct_calls): Likewise.
6891
6892 2015-11-13 Yao Qi <yao.qi@linaro.org>
6893
6894 * gdb.base/gnu_vector.exp: Check the return value by "p res".
6895 * gdb.base/gnu_vector.c: Don't include stdio.h.
6896 (main): Don't print res and call add_some_intvecs.
6897
6898 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
6899
6900 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
6901 macro.
6902 (func5): Removed.
6903 (func4): Use FAST_TRACEPOINT_LABEL.
6904 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
6905 macro.
6906 (func): Removed.
6907 (thread_function): Use FAST_TRACEPOINT_LABEL.
6908 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
6909 (func): Remove.
6910 (marker): Use FAST_TRACEPOINT_LABEL.
6911 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
6912 (pendfunc1): Remove.
6913 (pendfunc): Use FAST_TRACEPOINT_LABEL.
6914 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
6915 (foo): Remove.
6916 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
6917 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
6918 macro.
6919 (func): Remove.
6920 (marker): Use FAST_TRACEPOINT_LABEL.
6921 * gdb.trace/trace-common.h: New header.
6922 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
6923 macro.
6924 (func): Remove.
6925 (marker): Use FAST_TRACEPOINT_LABEL.
6926 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
6927 (func): Remove.
6928 (thread_function): Use FAST_TRACEPOINT_LABEL.
6929
6930 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
6931
6932 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
6933 in front.
6934 * gdb.trace/change-loc.exp: Use global pcreg definition.
6935 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
6936 * gdb.trace/entry-values.exp: Use global spreg definition, add $
6937 in front.
6938 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
6939 * gdb.trace/pending.exp: Likewise.
6940 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
6941 * gdb.trace/trace-break.exp: Likewise.
6942 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
6943 in front.
6944 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
6945 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
6946 in front.
6947 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
6948
6949 2015-11-09 Joel Brobecker <brobecker@adacore.com>
6950
6951 * gdb.ada/fin_fun_out: New testcase.
6952
6953 2015-11-07 Kevin Buettner <kevinb@redhat.com>
6954
6955 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
6956 value associated with DW_AT_byte_size.
6957 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
6958 constants for DW_AT_byte_size, DW_AT_lower_bound, and
6959 DW_AT_upper_bound.
6960
6961 2015-11-07 Kevin Buettner <kevinb@redhat.com>
6962
6963 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
6964 (gdb_target_symbol_prefix_flags): Define in terms of _asm
6965 version.
6966 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
6967 gdb.dwarf2/dw2-canonicalize-type.exp,
6968 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
6969 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
6970 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
6971 provided by gdb_target_symbol_prefix_flags_asm.
6972 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
6973 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
6974 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
6975 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
6976 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
6977 macros where needed). Use this macro for symbols which require
6978 the prefix provided by SYMBOL_PREFIX.
6979
6980 2015-11-05 Kevin Buettner <kevinb@redhat.com>
6981
6982 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
6983 New procs.
6984 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
6985 representing expressions, of more than one list element.
6986 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
6987 to prepend linker symbol prefix to f.
6988 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
6989 table_1 and table_2.
6990 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
6991 Likewise, for f and g.
6992 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
6993 for ptr.
6994 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
6995 for main.
6996 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
6997 table_1_ptr and table_2_ptr.
6998
6999 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7000 Joel Brobecker <brobecker@adacore.com>
7001
7002 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
7003
7004 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
7005
7006 * gdb.reverse/s390-mvcle.c: New test.
7007 * gdb.reverse/s390-mvcle.exp: New file.
7008 * lib/gdb.exp: Enable reverse tests on s390*-linux.
7009
7010 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
7011
7012 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
7013
7014 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
7015
7016 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
7017 reaching marker2.
7018 * gdb.reverse/getresuid-reverse.exp: Likewise.
7019 * gdb.reverse/pipe-reverse.exp: Likewise.
7020 * gdb.reverse/readv-reverse.exp: Likewise.
7021 * gdb.reverse/recvmsg-reverse.exp: Likewise.
7022 * gdb.reverse/time-reverse.exp: Likewise.
7023 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
7024
7025 2015-10-30 Yao Qi <yao.qi@linaro.org>
7026
7027 * gdb.threads/wp-replication.c (watch_count_done): Remove.
7028 (empty_cycle): Remove.
7029 (main): Don't call empty_cycle. Don't use watch_count_done.
7030 * gdb.threads/wp-replication.exp: Don't set breakpoint on
7031 empty_cycle. Rewrite the code counting HW watchpoints.
7032
7033 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
7034
7035 * gdb.reverse/fstatat-reverse.c: New test.
7036 * gdb.reverse/fstatat-reverse.exp: New file.
7037 * gdb.reverse/getresuid-reverse.c: New test.
7038 * gdb.reverse/getresuid-reverse.exp: New file.
7039 * gdb.reverse/pipe-reverse.c: New test.
7040 * gdb.reverse/pipe-reverse.exp: New file.
7041 * gdb.reverse/readv-reverse.c: New test.
7042 * gdb.reverse/readv-reverse.exp: New file.
7043 * gdb.reverse/recvmsg-reverse.c: New test.
7044 * gdb.reverse/recvmsg-reverse.exp: New file.
7045 * gdb.reverse/time-reverse.c: New test.
7046 * gdb.reverse/time-reverse.exp: New file.
7047 * gdb.reverse/waitpid-reverse.c: New test.
7048 * gdb.reverse/waitpid-reverse.exp: New file.
7049
7050 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7051
7052 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
7053
7054 2015-10-26 Doug Evans <dje@google.com>
7055
7056 PR symtab/17391
7057 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
7058 * gdb.dwarf2/bad-regnum.c: New file.
7059 * gdb.dwarf2/bad-regnum.exp: New file.
7060
7061 2015-10-26 Doug Evans <dje@google.com>
7062
7063 PR python/18938
7064 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
7065 file.
7066
7067 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7068
7069 * gdb.compile/compile.exp (compile code globalvar): Update expectation
7070 for a change by "Mention language in compile error message".
7071
7072 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
7073
7074 PR python/18073
7075 * gdb.python/py-type.c (C::a_method): New.
7076 (C::a_const_method): New.
7077 (C::a_static_method): New.
7078 (a_function): New.
7079 * gdb.python/py-type.exp (test_fields): Test getting fields
7080 from function and method.
7081
7082 2015-10-21 Keven Boell <keven.boell@intel.com>
7083
7084 * gdb.fortran/vla-alloc-assoc.exp: New file.
7085 * gdb.fortran/vla-datatypes.exp: New file.
7086 * gdb.fortran/vla-datatypes.f90: New file.
7087 * gdb.fortran/vla-history.exp: New file.
7088 * gdb.fortran/vla-ptype-sub.exp: New file.
7089 * gdb.fortran/vla-ptype.exp: New file.
7090 * gdb.fortran/vla-sizeof.exp: New file.
7091 * gdb.fortran/vla-sub.f90: New file.
7092 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
7093 * gdb.fortran/vla-value-sub-finish.exp: New file.
7094 * gdb.fortran/vla-value-sub.exp: New file.
7095 * gdb.fortran/vla-value.exp: New file.
7096 * gdb.fortran/vla-ptr-info.exp: New file.
7097 * gdb.mi/mi-vla-fortran.exp: New file.
7098 * gdb.mi/vla.f90: New file.
7099
7100 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
7101
7102 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
7103 of hardwired timeout value.
7104
7105 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7106 Pedro Alves <palves@redhat.com>
7107
7108 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
7109 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
7110
7111 2015-10-19 Josh Stone <jistone@redhat.com>
7112
7113 * gdb.base/catch-syscall.c: Include <sched.h>.
7114 (unknown_syscall): New variable.
7115 (main): Trigger a vfork and an unknown syscall.
7116 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
7117 (unknown_syscall_number): Likewise.
7118 (check_call_to_syscall): Accept an optional syscall pattern.
7119 (check_return_from_syscall): Likewise.
7120 (check_continue): Likewise.
7121 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
7122 (test_catch_syscall_skipping_return): New test toggling off 'catch
7123 syscall' to step over the syscall return, then toggling back on.
7124 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
7125 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
7126 (do_syscall_tests): Call test_catch_syscall_without_args and
7127 test_catch_syscall_mid_vfork.
7128 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
7129 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
7130
7131 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
7132
7133 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
7134 print g_vE): Add new pass patterns.
7135 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
7136 print various symbol names for vptr fields.
7137
7138 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
7139
7140 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
7141 results.
7142
7143 2015-10-12 Yao Qi <yao.qi@linaro.org>
7144
7145 * gdb.arch/disp-step-insn-reloc.exp: New test case.
7146
7147 2015-10-12 Yao Qi <yao.qi@linaro.org>
7148
7149 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
7150 is aarch64*-*-linux*.
7151
7152 2015-10-12 Yao Qi <yao.qi@linaro.org>
7153
7154 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
7155 (can_relocate_bcond_true): ... it.
7156 (can_relocate_bcond_false): New function.
7157 (foo): Likewise.
7158 (can_relocate_bl): Likewise.
7159 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
7160 can_relocate_bl.
7161
7162 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
7163
7164 * gdb.base/nested-addr.c: New file.
7165 * gdb.base/nested-addr.exp: New testcase.
7166
7167 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
7168
7169 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
7170 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
7171 its output. Ignore the output of "record goto begin" and instead
7172 check that GDB is replaying.
7173
7174 2015-10-09 Pedro Alves <palves@redhat.com>
7175
7176 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
7177 (top level): Use it in the run with no args test.
7178
7179 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
7180
7181 * gdb.dlang/properties.exp: New file.
7182
7183 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
7184
7185 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
7186 whether or not address 0x1000 is mapped on the target.
7187
7188 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
7189
7190 * gdb.python/py-type.exp: Do not run tests if binaries fail to
7191 build.
7192
7193 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
7194
7195 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
7196 instruction-history test.
7197
7198 2015-09-28 Doug Evans <dje@google.com>
7199
7200 * gdb.base/gcore.c (array_func): Add reference to static_array.
7201
7202 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
7203
7204 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
7205 source line.
7206
7207 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
7208
7209 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
7210 short or char as base type.
7211
7212 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
7213
7214 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
7215 to allow any size enum.
7216
7217 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
7218
7219 * gdb.ada/array_ptr_renaming.exp: New testcase.
7220 * gdb.ada/array_ptr_renaming/foo.adb: New file.
7221 * gdb.ada/array_ptr_renaming/pack.ads: New file.
7222
7223 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
7224
7225 * gdb.trace/ftrace-lock.c: New file.
7226 * gdb.trace/ftrace-lock.exp: New file.
7227
7228 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
7229
7230 * gdb.arch/insn-reloc.c: New file.
7231 * gdb.arch/ftrace-insn-reloc.exp: New file.
7232
7233 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
7234
7235 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
7236 instruction.
7237 * gdb.trace/pendshr1.c (pendfunc): Likewise.
7238 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
7239 * gdb.trace/range-stepping.c: Likewise.
7240 * gdb.trace/trace-break.c: Likewise.
7241 * gdb.trace/trace-mt.c (thread_function): Likewise.
7242 * gdb.trace/ftrace.c (marker): Likewise.
7243 * gdb.trace/trace-condition.c (marker): Likewise.
7244 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
7245 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
7246 is_aarch64_target.
7247
7248 2015-09-18 Doug Evans <xdje42@gmail.com>
7249
7250 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
7251 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
7252
7253 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
7254
7255 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
7256 the breakpoint.
7257
7258 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
7259
7260 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
7261 the pending breakpoint. Remove timeout override for "Run till
7262 MI pending breakpoint on pendfunc3 on thread 2" test.
7263
7264 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
7265
7266 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
7267 filename pattern.
7268
7269 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
7270
7271 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
7272 in breakpoint filename pattern.
7273
7274 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
7275
7276 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
7277
7278 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
7279
7280 * gdb.linespec/explicit.exp: Check for readline support for
7281 tab-completion tests. Fix obvious typo.
7282
7283 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
7284
7285 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
7286 and replay.
7287
7288 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
7289
7290 * gdb.btrace/non-stop.c: New.
7291 * gdb.btrace/non-stop.exp: New.
7292
7293 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
7294 Yao Qi <yao.qi@linaro.org>
7295
7296 * gdb.trace/trace-condition.c: New file.
7297 * gdb.trace/trace-condition.exp: New file.
7298
7299 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
7300
7301 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
7302 for testing bytecode compilation.
7303
7304 2015-09-16 Pedro Alves <palves@redhat.com>
7305 Sandra Loosemore <sandra@codesourcery.com>
7306
7307 * gdb.threads/non-stop-fair-events.c (timeout): New global.
7308 (SECONDS): Redefine.
7309 (main): Call pthread_kill and alarm early.
7310 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
7311 support.
7312 (test): If the target can't hardware step and doesn't support
7313 displaced stepping, increase the timeout.
7314
7315 2015-09-16 Pedro Alves <palves@redhat.com>
7316
7317 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
7318 (enable_debug): New procedures.
7319 (test): Use them. Bail out if waiting for threads fails.
7320 (top level): Bail out if a test fails.
7321
7322 2015-09-16 Yao Qi <yao.qi@linaro.org>
7323
7324 * gdb.asm/asm-source.exp: Set asm-arch for
7325 aarch64*-*-* target.
7326 * gdb.asm/aarch64.inc: New file.
7327
7328 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
7329
7330 * gdb.ada/array_of_variable_length.exp: New testcase.
7331 * gdb.ada/array_of_variable_length/foo.adb: New file.
7332 * gdb.ada/array_of_variable_length/pck.adb: New file.
7333 * gdb.ada/array_of_variable_length/pck.ads: New file.
7334
7335 2015-09-15 Doug Evans <dje@google.com>
7336
7337 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
7338 of function static local variable.
7339
7340 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7341
7342 * gdb.threads/tls-so_extern.exp: New test file.
7343 * gdb.threads/tls-so_extern.c: New test file.
7344 * gdb.threads/tls-so_extern_main.c: New test file.
7345
7346 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7347
7348 * gdb.opt/solib-intra-step-lib.c: New file.
7349 * gdb.opt/solib-intra-step-main.c: New file.
7350 * gdb.opt/solib-intra-step.exp: New file.
7351
7352 2015-09-15 Pedro Alves <palves@redhat.com>
7353
7354 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
7355 gdb_continue_to_breakpoint instead of gdb_test_multiple.
7356
7357 2015-09-14 Pedro Alves <palves@redhat.com>
7358
7359 * gdb.base/hook-stop-continue.c: Delete.
7360 * gdb.base/hook-stop-continue.exp: Delete.
7361 * gdb.base/hook-stop-frame.c: Delete.
7362 * gdb.base/hook-stop-frame.exp: Delete.
7363 * gdb.base/hook-stop.c: New file.
7364 * gdb.base/hook-stop.exp: New file.
7365
7366 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
7367
7368 * gdb.ada/access_to_packed_array.exp: New testcase.
7369 * gdb.ada/access_to_packed_array/foo.adb: New file.
7370 * gdb.ada/access_to_packed_array/pack.adb: New file.
7371 * gdb.ada/access_to_packed_array/pack.ads: New file.
7372
7373 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
7374
7375 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
7376 buffer size test.
7377
7378 2015-09-11 Don Breazeal <donb@codesourcery.com>
7379
7380 * gdb.base/foll-exec.c: Add copyright header. Fix
7381 formatting issues.
7382 * gdb.base/foll-exec.exp (zap_session): Delete proc.
7383 (do_exec_tests): Use clean_restart in place of zap_session,
7384 and for test initialization. Fix formatting issues. Use
7385 fail in place of perror.
7386 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
7387 an expect statement to match an expression with output from
7388 the program under debug.
7389 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
7390 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
7391 * gdb.threads/non-ldr-exc-2.exp: Likewise.
7392 * gdb.threads/non-ldr-exc-3.exp: Likewise.
7393 * gdb.threads/non-ldr-exc-4.exp: Likewise.
7394
7395 2015-09-09 Doug Evans <dje@google.com>
7396
7397 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
7398
7399 2015-09-09 Doug Evans <dje@google.com>
7400
7401 * gdb.base/pie-execl.exp: Fix result test of build_executable.
7402
7403 2015-09-09 Doug Evans <dje@google.com>
7404
7405 * gdb.base/savedregs.exp: Fix typo.
7406
7407 2015-09-09 Pedro Alves <palves@redhat.com>
7408
7409 * gdb.mi/mi-cli.exp: Add CLI finish tests.
7410
7411 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
7412
7413 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
7414 command actually switches threads. Give up on remaining
7415 tests if target fails to stop at breakpoint.
7416
7417 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
7418
7419 * gdb.ada/funcall_char.exp: New testcase.
7420 * gdb.ada/funcall_char/foo.adb: New file.
7421
7422 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
7423
7424 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
7425 expected outputs. Add two testcases for completing ambiguous
7426 functions.
7427 * gdb.ada/complete/aux_pck.adb: New file.
7428 * gdb.ada/complete/aux_pck.ads: New file.
7429 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
7430 Ambiguous_Func functions.
7431 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
7432 * gdb.ada/complete/pck.adb: Likewise.
7433
7434 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
7435
7436 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
7437 failures to run the test program under GDB.
7438
7439 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
7440
7441 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
7442 to C.
7443
7444 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
7445
7446 * gdb.base/run-after-attach.exp: New test file.
7447 * gdb.base/run-after-attach.c: New test file.
7448
7449 2015-08-26 Don Breazeal <donb@codesourcery.com>
7450
7451 * gdb.base/foll-exec-2.c: New test program.
7452 * gdb.base/foll-exec-2.exp: New test.
7453
7454 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
7455
7456 * gdb.base/nested-subp1.exp: New file.
7457 * gdb.base/nested-subp1.c: New file.
7458 * gdb.base/nested-subp2.exp: New file.
7459 * gdb.base/nested-subp2.c: New file.
7460 * gdb.base/nested-subp3.exp: New file.
7461 * gdb.base/nested-subp3.c: New file.
7462
7463 2015-08-24 Pedro Alves <palves@redhat.com>
7464
7465 * gdb.server/connect-without-multi-process.c: New file.
7466 * gdb.server/connect-without-multi-process.exp: New file.
7467
7468 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
7469
7470 * gdb.opt/inline-markers.c: Make z int.
7471
7472 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
7473
7474 * gdb.opt/inline-markers.c: Make z volatile.
7475
7476 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
7477
7478 * gdb.opt/inline-bt.c: New volatile global z.
7479 * gdb.opt/inline-cmds.c: Likewise.
7480 * gdb.opt/inline-locals.c: Likewise.
7481 * gdb.opt/inline-markers.c: New extern global z.
7482 (marker): Use z.
7483 (inline_fn): Likewise.
7484
7485 2015-08-24 Pedro Alves <palves@redhat.com>
7486
7487 * config/m32r-stub.exp: Remove file.
7488 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
7489 * gdb.base/call-rt-st.exp: Likewise.
7490 * gdb.base/call-strs.exp: Likewise.
7491 * gdb.base/default.exp: Remove references to h8300-*-hms and
7492 *-*-udi*.
7493 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
7494
7495 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
7496
7497 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
7498 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
7499 and "return" use KFAIL when GDB can not read/write the vector
7500 return value.
7501
7502 2015-08-21 Gary Benson <gbenson@redhat.com>
7503
7504 * gdb.trace/pending.exp: Cope with remote transfer warnings.
7505
7506 2015-08-20 Pedro Alves <palves@redhat.com>
7507
7508 * gdb.server/solib-list.exp: No longer expect an interior stop in
7509 non-stop mode.
7510
7511 2015-08-20 Pedro Alves <palves@redhat.com>
7512
7513 * gdb.server/connect-stopped-target.c: New file.
7514 * gdb.server/connect-stopped-target.exp: New file.
7515
7516 2015-08-20 Pedro Alves <palves@redhat.com>
7517
7518 * gdb.dwarf2/comp-unit-lang.exp: New file.
7519 * gdb.dwarf2/comp-unit-lang.c: New file.
7520
7521 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
7522
7523 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
7524 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
7525
7526 2015-08-19 Kevin Buettner <kevinb@redhat.com>
7527
7528 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
7529 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
7530
7531 2015-08-18 Doug Evans <dje@google.com>
7532 Adrian Sendroiu <adrian.sendroiu@freescale.com>
7533
7534 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
7535 skip_python_tests. New arg prompt_regexp.
7536 (skip_python_tests): New function.
7537 * lib/mi-support.exp (mi_skip_python_tests): New function.
7538 * gdb.python/py-mi-objfile-gdb.py: New file.
7539 * gdb.python/py-mi-objfile.c: New file.
7540 * gdb.python/py-mi-objfile.exp: New file.
7541
7542 2015-08-17 Keith Seitz <keiths@redhat.com>
7543
7544 * gdb.linespec/explicit.exp: Move strace test from here ...
7545 * gdb.trace/strace.exp: ... to here.
7546
7547 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
7548
7549 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
7550 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
7551
7552 2015-08-14 Doug Evans <xdje42@gmail.com>
7553
7554 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
7555 inferior before selecting a new file.
7556
7557 2015-08-14 Doug Evans <xdje42@gmail.com>
7558
7559 * gdb.mi/mi-disassemble.exp: Update.
7560 * gdb.base/disasm-optim.S: New file.
7561 * gdb.base/disasm-optim.c: New file.
7562 * gdb.base/disasm-optim.h: New file.
7563 * gdb.base/disasm-optim.exp: New file.
7564
7565 2015-08-14 Keith Seitz <keiths@redhat.com>
7566
7567 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
7568 "evaluated-by".
7569
7570 2015-08-13 Joel Brobecker <brobecker@adacore.com>
7571
7572 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
7573
7574 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
7575
7576 * gdb.ada/fun_renaming.exp: New testcase.
7577 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
7578 * gdb.ada/fun_renaming/pack.adb: New file.
7579 * gdb.ada/fun_renaming/pack.ads: New file.
7580
7581 2015-08-12 Keith Seitz <keiths@redhat.com>
7582
7583 * gdb.base/dso2dso.exp: Pass basename of source file in call to
7584 gdb_get_line_number.
7585
7586 2015-08-12 Joel Brobecker <brobecker@adacore.com>
7587
7588 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
7589 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
7590 gdb.base/dso2dso.exp: New files.
7591
7592 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
7593 Pedro Alves <palves@redhat.com>
7594 Keith Seitz <keiths@redhat.com>
7595
7596 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
7597 GDBFLAGS.
7598
7599 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
7600
7601 * gdb.base/gdbhistsize-history.exp
7602 (test_histsize_history_setting): Use save_vars.
7603 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
7604 Use save_vars.
7605 (test_no_truncation_of_unlimited_history_file): Use save_vars.
7606 * gdb.base/readline.exp: Use save_vars.
7607
7608 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
7609
7610 * lib/gdb.exp (save_vars): New proc.
7611
7612 2015-08-11 Keith Seitz <keiths@redhat.com>
7613
7614 * gdb.base/help.exp: Update help_breakpoint_text.
7615
7616 2015-08-11 Keith Seitz <keiths@redhat.com>
7617
7618 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
7619 (at toplevel): Call test_explicit_breakpoints.
7620 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
7621 breakpoints.
7622 * lib/mi-support.exp (mi_make_breakpoint): Add support for
7623 breakpoint conditions, "-cond".
7624
7625 2015-08-11 Keith Seitz <keiths@redhat.com>
7626
7627 * gdb.linespec/3explicit.c: New file.
7628 * gdb.linespec/cpexplicit.cc: New file.
7629 * gdb.linespec/cpexplicit.exp: New file.
7630 * gdb.linespec/explicit.c: New file.
7631 * gdb.linespec/explicit.exp: New file.
7632 * gdb.linespec/explicit2.c: New file.
7633 * gdb.linespec/ls-errs.exp: Add explicit location tests.
7634 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
7635 before using in the matching pattern.
7636 Clarify that `prefix' is a regular expression.
7637
7638 2015-08-11 Keith Seitz <keiths@redhat.com>
7639
7640 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
7641 test.
7642 Add tests for missing ",FMT" and ",".
7643
7644 2015-08-10 Doug Evans <dje@google.com>
7645 Keith Seitz <keiths@redhat.com>
7646
7647 PR gdb/17960
7648 * gdb.base/completion.exp: Add location completer tests.
7649
7650 2015-08-07 Pedro Alves <palves@redhat.com>
7651
7652 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
7653 tests here.
7654 (top level): Run do_test with and without displaced stepping.
7655
7656 2015-08-07 Pedro Alves <palves@redhat.com>
7657
7658 * gdb.base/valgrind-disp-step.c: New file.
7659 * gdb.base/valgrind-disp-step.exp: New file.
7660
7661 2015-08-07 Pedro Alves <palves@redhat.com>
7662
7663 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
7664 Delete function.
7665 (main): Add alarm. Run an infinite loop instead of calling
7666 wait_threads.
7667 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
7668 comment.
7669 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
7670 Delete function.
7671 (main): Add alarm. Run an infinite loop instead of calling
7672 wait_threads.
7673 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
7674 comment.
7675
7676 2015-08-07 Pedro Alves <palves@redhat.com>
7677
7678 * gdb.base/checkpoint-ns.exp: New file.
7679 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
7680 standard_testfile.
7681
7682 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
7683
7684 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
7685 * gdb.btrace/instruction_history.exp: Update.
7686 * gdb.btrace/tsx.exp: New.
7687 * gdb.btrace/tsx.c: New.
7688
7689 2015-08-06 Pedro Alves <palves@redhat.com>
7690
7691 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
7692 increase timeout.
7693 * gdb.reverse/until-precsave.exp: Bump timeouts.
7694
7695 2015-08-06 Pedro Alves <palves@redhat.com>
7696
7697 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
7698
7699 2015-08-06 Pedro Alves <palves@redhat.com>
7700
7701 PR gdb/18749
7702 * gdb.threads/process-dies-while-handling-bp.c: New file.
7703 * gdb.threads/process-dies-while-handling-bp.exp: New file.
7704
7705 2015-08-06 Pedro Alves <palves@redhat.com>
7706
7707 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
7708 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
7709
7710 2015-08-05 Pedro Alves <palves@redhat.com>
7711
7712 * gdb.threads/next-while-other-thread-longjmps.c: New file.
7713 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
7714
7715 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
7716
7717 * gdb.base/bp-permanent.exp: Report test as unsupported if
7718 the target cannot stop at the permanent breakpoint.
7719
7720 2015-08-03 Doug Evans <dje@google.com>
7721
7722 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
7723 10000.
7724
7725 2015-08-03 Doug Evans <dje@google.com>
7726
7727 * Makefile.in (workers/%.worker, build-perf): New rule.
7728 (GDB_PERFTEST_MODE): New variable.
7729 (check-perf): Use it.
7730 (clean): Clean up gdb.perf parallel build subdirs.
7731 * lib/build-piece.exp: New file.
7732 * lib/gdb.exp (make_gdb_parallel_path): New function
7733 (standard_output_file, standard_temp_file): Call it.
7734 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
7735 of $GDB_PARALLEL.
7736 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
7737
7738 2015-08-03 Doug Evans <dje@google.com>
7739
7740 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
7741 (LOG_FILE_NAME): New global.
7742 (TextReporter.__init__): Initialize self.txt_sum.
7743 (TextReporter.report): Add support for multiple data-points.
7744 Move report to perftest.sum, put raw data in perftest.log.
7745 (TextReporter.start): Open sum and log files.
7746 (TextReporter.end): Close sum and log files.
7747 * gdb.perf/lib/perftest/testresult.py
7748 (SingleStatisticTestResult.record): Handle multiple data-points.
7749
7750 2015-07-31 Pedro Alves <palves@redhat.com>
7751
7752 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
7753 Use spawn_id_get_pid. Wait for spawn id after eof. Use
7754 kill_wait_spawned_process instead of explicit "kill -9".
7755 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
7756 returning a spawn id instead of a pid. Use spawn_id_get_pid and
7757 kill_wait_spawned_process.
7758 * gdb.base/attach-twice.exp: Likewise.
7759 * gdb.base/attach.exp: Likewise.
7760 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
7761 gdb_test_multiple.
7762 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
7763 returning a spawn id instead of a pid. Use spawn_id_get_pid and
7764 kill_wait_spawned_process.
7765 * gdb.base/valgrind-infcall.exp: Likewise.
7766 * gdb.multi/multi-attach.exp: Likewise.
7767 * gdb.python/py-prompt.exp: Likewise.
7768 * gdb.python/py-sync-interp.exp: Likewise.
7769 * gdb.server/ext-attach.exp: Likewise.
7770 * gdb.threads/attach-into-signal.exp (corefunc): Use
7771 spawn_wait_for_attach, spawn_id_get_pid and
7772 kill_wait_spawned_process.
7773 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
7774 spawn_wait_for_attach returning a spawn id instead of a pid. Use
7775 spawn_id_get_pid and kill_wait_spawned_process.
7776 * gdb.threads/attach-stopped.exp (corefunc): Use
7777 spawn_wait_for_attach, spawn_id_get_pid and
7778 kill_wait_spawned_process.
7779 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
7780 Use spawn_id_get_pid. Wait for spawn id after eof. Use
7781 kill_wait_spawned_process instead of explicit "kill -9".
7782 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
7783 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
7784 (spawn_wait_for_attach): Use spawn instead of exec to spawn
7785 processes. Don't map cygwin/windows pids here. Now returns a
7786 spawn id list.
7787
7788 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
7789
7790 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
7791 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
7792 correct patch.
7793
7794 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
7795
7796 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
7797
7798 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
7799
7800 Reapply:
7801 2014-05-21 Mark Wielaard <mjw@redhat.com>
7802
7803 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
7804
7805 2015-07-30 Pedro Alves <palves@redhat.com>
7806
7807 * linux-low.c (handle_extended_wait): Set the child's last
7808 reported status to TARGET_WAITKIND_STOPPED.
7809
7810 2015-07-30 Pedro Alves <palves@redhat.com>
7811
7812 PR threads/18600
7813 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
7814 only shows inferior 1.
7815
7816 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
7817 Pedro Alves <palves@redhat.com>
7818
7819 PR threads/18600
7820 * gdb.threads/fork-plus-threads.c: New file.
7821 * gdb.threads/fork-plus-threads.exp: New file.
7822
7823 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
7824
7825 * gdb.base/batch-preserve-term-settings.exp
7826 (test_terminal_settings_preserved_after_cli_exit): Use
7827 send_quit_command.
7828
7829 2015-07-29 Pedro Alves <palves@redhat.com>
7830 Don Breazeal <donb@codesourcery.com>
7831
7832 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
7833 output from both inferior_spawn_id and gdb_spawn_id.
7834
7835 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
7836
7837 * gdb.threads/attach-into-signal.exp (corefunc): Use
7838 with_test_prefix on nested loops, uniquefying the test messages.
7839
7840 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
7841
7842 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
7843 commit.
7844
7845 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
7846
7847 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
7848 New proc.
7849 (test_terminal_settings_preserved_after_sigterm): New test.
7850
7851 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
7852
7853 * gdb.base/batch-preserve-term-settings.exp
7854 (test_terminal_settings_preserved_after_cli_exit): New test.
7855
7856 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
7857
7858 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
7859 manipulation of saved_gdbflags.
7860 (test_terminal_settings_preserved): Remove global declaration of
7861 the unused variable pagination_prompt. Remove manipulation of
7862 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
7863 GDBFLAGS.
7864
7865 2015-07-29 Pedro Alves <palves@redhat.com>
7866
7867 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
7868
7869 2015-07-29 Pedro Alves <palves@redhat.com>
7870
7871 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
7872 at the top.
7873
7874 2015-07-29 Pedro Alves <palves@redhat.com>
7875
7876 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
7877 (main): Call gdb_unbuffer_output.
7878 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
7879 (main): Call gdb_unbuffer_output.
7880 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
7881 (main): Call gdb_unbuffer_output.
7882 * gdb.base/call-strs.exp: Adjust to step over the
7883 gdb_unbuffer_output call.
7884 * gdb.base/catch-gdb-caused-signals.c: Include
7885 "../lib/unbuffer_output.c".
7886 (main): Call gdb_unbuffer_output.
7887 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
7888 (main): Call gdb_unbuffer_output.
7889 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
7890 (main): Call gdb_unbuffer_output.
7891 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
7892 (main): Call gdb_unbuffer_output.
7893 * gdb.base/shlib-call.exp: Adjust to step over the
7894 gdb_unbuffer_output call.
7895 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
7896 (main): Call gdb_unbuffer_output.
7897 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
7898 (main): Call gdb_unbuffer_output.
7899 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
7900 (main): Rename to ...
7901 (test): ... this.
7902 (main): Reimplement.
7903 * gdb.base/varargs.exp: Run to test instead of to main.
7904 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
7905 (main): Call gdb_unbuffer_output.
7906
7907 2015-07-29 Pedro Alves <palves@redhat.com>
7908
7909 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
7910 factore out from mi_continue_dprintf. For call-style dprintfs,
7911 expect dprintf output out of $inferior_spawn_id.
7912 (mi_continue_dprintf): Use mi_expect_dprintf.
7913 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
7914 (main): Call gdb_unbuffer_output.
7915
7916 2015-07-29 Pedro Alves <palves@redhat.com>
7917
7918 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
7919 (default_mi_gdb_start): Set inferior_spawn_id instead of
7920 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
7921 gdb_spawn_id.
7922 (mi_gdb_test): Always expect inferior output from both
7923 $inferior_spawn_id and $gdb_spawn_id.
7924
7925 2015-07-29 Pedro Alves <palves@redhat.com>
7926
7927 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
7928 send_inferior and $inferior_spawn_id.
7929
7930 2015-07-29 Pedro Alves <palves@redhat.com>
7931
7932 * gdb.gdb/complaints.exp (test_initial_complaints)
7933 (test_serial_complaints, test_short_complaints): Use
7934 gdb_test_stdio.
7935 (test_empty_complaint): Handle $inferior_spawn_id !=
7936 $gdb_spawn_id.
7937
7938 2015-07-29 Pedro Alves <palves@redhat.com>
7939
7940 * gdb.base/varargs.exp: Use gdb_test_stdio.
7941
7942 2015-07-29 Pedro Alves <palves@redhat.com>
7943
7944 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
7945
7946 2015-07-29 Pedro Alves <palves@redhat.com>
7947
7948 * gdb.base/ending-run.exp: Use gdb_test_stdio.
7949
7950 2015-07-29 Pedro Alves <palves@redhat.com>
7951
7952 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
7953 parameter into two new parameters, "inf_result" and "gdb_result".
7954 Expect inferior output and gdb output from $inferior_spawn_id and
7955 $gdb_spawn_id, respectively. Adjust all callers.
7956
7957 2015-07-29 Pedro Alves <palves@redhat.com>
7958
7959 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
7960 of gdb_test_sequence.
7961
7962 2015-07-29 Pedro Alves <palves@redhat.com>
7963
7964 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
7965 (saw_spurious_output): Expect inferior output from
7966 $inferior_spawn_id. Use gdb_test_stdio.
7967
7968 2015-07-29 Pedro Alves <palves@redhat.com>
7969
7970 * gdb.base/dprintf.exp: Use standard_testfile. Change
7971 prepare_for_testing call.
7972 (srcfile): Don't set.
7973 (restart): New procedure.
7974 (test_dprintf): New procecure, use to continue over dprintfs.
7975 (test_call, test_agent): New procedures, tests moved here.
7976 Restart gdb and recreate dprintfs. Adjust expected output.
7977
7978 2015-07-29 Pedro Alves <palves@redhat.com>
7979
7980 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
7981
7982 2015-07-29 Pedro Alves <palves@redhat.com>
7983
7984 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
7985
7986 2015-07-29 Pedro Alves <palves@redhat.com>
7987
7988 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
7989 gdb_test_stdio.
7990
7991 2015-07-29 Pedro Alves <palves@redhat.com>
7992
7993 * lib/gdb.exp (gdb_test_stdio): New procedure.
7994
7995 2015-07-29 Pedro Alves <palves@redhat.com>
7996
7997 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
7998
7999 2015-07-29 Pedro Alves <palves@redhat.com>
8000
8001 * gdb.base/call-signal-resume.exp: Remove check for
8002 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
8003 * gdb.base/unwindonsignal.exp: Likewise.
8004 * gdb.base/call-signals.c (gen_signal): Remove printf call.
8005 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
8006
8007 2015-07-29 Pedro Alves <palves@redhat.com>
8008
8009 * gdb.base/siginfo-addr.c (pass): New function.
8010 (handler): Call it iff si_addr is correct.
8011 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
8012 Set a breakpoint at "pass" and continue to it.
8013
8014 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
8015
8016 * gdb.python/py-objfile.exp: Make some tests have unique names.
8017 * gdb.python/py-pp-registration.exp: Likewise.
8018
8019 2015-07-28 Pedro Alves <palves@redhat.com>
8020
8021 * gdb.server/server-exec-info.exp: Issue a "disconnect".
8022
8023 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
8024
8025 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
8026
8027 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
8028
8029 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
8030
8031 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
8032
8033 * gdb.base/gdb-sigterm-2.exp: New test.
8034
8035 2015-07-25 Doug Evans <xdje42@gmail.com>
8036
8037 Revert:
8038 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
8039 (workers/%.worker, build-perf): New rule.
8040 (GDB_PERFTEST_MODE): New variable.
8041 (check-perf): Use it.
8042 (clean): Clean up gdb.perf parallel build subdirs.
8043 * lib/build-piece.exp: New file.
8044 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
8045 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
8046 name.
8047 (standard_temp_file): Ditto.
8048 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
8049 of $GDB_PARALLEL.
8050
8051 2015-07-24 Doug Evans <dje@google.com>
8052
8053 * gdb.perf/lib/perftest/utils.py: New file.
8054 * gdb.perf/gm-hello.cc: New file.
8055 * gdb.perf/gm-pervasive-typedef.cc: New file.
8056 * gdb.perf/gm-pervasive-typedef.h: New file.
8057 * gdb.perf/gm-std.cc: New file.
8058 * gdb.perf/gm-std.h: New file.
8059 * gdb.perf/gm-use-cerr.cc: New file.
8060 * gdb.perf/gm-utils.h: New file.
8061 * gdb.perf/gmonster-null-lookup.py: New file.
8062 * gdb.perf/gmonster-pervasive-typedef.py: New file.
8063 * gdb.perf/gmonster-print-cerr.py: New file.
8064 * gdb.perf/gmonster-ptype-string.py: New file.
8065 * gdb.perf/gmonster-runto-main.py: New file.
8066 * gdb.perf/gmonster-select-file.py: New file.
8067 * gdb.perf/gmonster1-null-lookup.exp: New file.
8068 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
8069 * gdb.perf/gmonster1-print-cerr.exp: New file.
8070 * gdb.perf/gmonster1-ptype-string.exp: New file.
8071 * gdb.perf/gmonster1-runto-main.exp: New file.
8072 * gdb.perf/gmonster1-select-file.exp: New file.
8073 * gdb.perf/gmonster1.cc: New file.
8074 * gdb.perf/gmonster1.exp: New file.
8075 * gdb.perf/gmonster2-null-lookup.exp: New file.
8076 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
8077 * gdb.perf/gmonster2-print-cerr.exp: New file.
8078 * gdb.perf/gmonster2-ptype-string.exp: New file.
8079 * gdb.perf/gmonster2-runto-main.exp: New file.
8080 * gdb.perf/gmonster2-select-file.exp: New file.
8081 * gdb.perf/gmonster2.cc: New file.
8082 * gdb.perf/gmonster2.exp: New file.
8083
8084 2015-07-24 Doug Evans <dje@google.com>
8085
8086 * gdb.perf/README: New file.
8087 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
8088 * lib/gen-perf-test.exp: New file.
8089
8090 2015-07-24 Doug Evans <dje@google.com>
8091
8092 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
8093 (PerfTest::startup): New function.
8094 (PerfTest::run): Return result of calling body.
8095 (PerfTest::assemble): Rewrite.
8096 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
8097 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
8098 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
8099 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
8100 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
8101
8102 2015-07-24 Doug Evans <dje@google.com>
8103
8104 * lib/gdb.exp (clean_restart): Make executable optional.
8105
8106 2015-07-24 Doug Evans <dje@google.com>
8107
8108 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
8109 compiler_info references.
8110 * gdb.cp/temargs.exp: Ditto.
8111 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
8112 (get_compiler_info): Early exit if already computed. Set compiler_info
8113 to "unknown" if there was a problem.
8114 (test_compiler_info): Add function comment. Call get_compiler_info.
8115
8116 2015-07-24 Doug Evans <dje@google.com>
8117
8118 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
8119 (workers/%.worker, build-perf): New rule.
8120 (GDB_PERFTEST_MODE): New variable.
8121 (check-perf): Use it.
8122 (clean): Clean up gdb.perf parallel build subdirs.
8123 * lib/build-piece.exp: New file.
8124 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
8125 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
8126 name.
8127 (standard_temp_file): Ditto.
8128 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
8129 of $GDB_PARALLEL.
8130
8131 2015-07-24 Doug Evans <dje@google.com>
8132
8133 * lib/future.exp (gdb_default_target_compile): New option
8134 "early_flags".
8135 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
8136 --as-needed.
8137
8138 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
8139
8140 * gdb.base/catch-syscall.exp: Call gdb_exit before
8141 gdb_skip_xml_test.
8142
8143 2015-07-24 Pedro Alves <palves@redhat.com>
8144
8145 * gdb.python/py-events.exp: Accept output between the stop event
8146 and the prompt.
8147 * gdb.python/py-evsignal.exp: Likewise.
8148 * gdb.python/py-evthreads.exp: Likewise.
8149
8150 2015-07-24 Pedro Alves <palves@redhat.com>
8151
8152 PR gdb/18717
8153 * gdb.threads/non-ldr-exit.c: New file.
8154 * gdb.threads/non-ldr-exit.exp: New file.
8155
8156 2015-07-24 Yao Qi <yao.qi@linaro.org>
8157
8158 * gdb.server/ext-wrapper.exp: Test --wrapper option when
8159 restarting process.
8160
8161 2015-07-24 Yao Qi <yao.qi@linaro.org>
8162
8163 * gdb.server/ext-restart.exp: New file.
8164
8165 2015-07-24 Yao Qi <yao.qi@linaro.org>
8166
8167 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
8168 argument options.
8169 * gdb.server/ext-wrapper.exp: New file.
8170
8171 2015-07-23 Doug Evans <dje@google.com>
8172
8173 * gdb.dwarf2/dw2-dummy-cu.S: New file.
8174 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
8175
8176 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
8177
8178 * gdb.ada/var_arr_typedef.exp: New testcase.
8179 * gdb.ada/var_arr_typedef/pack.adb: New file.
8180 * gdb.ada/var_arr_typedef/pack.ads: New file.
8181 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
8182
8183 2015-07-20 Joel Brobecker <brobecker@adacore.com>
8184
8185 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
8186
8187 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8188
8189 * gdb.arch/i386-biarch-core.exp: Replace istarget
8190 by "complete set gnutarget". Remove expectation for the "core-file"
8191 command.
8192
8193 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8194
8195 Revert the previous commit:
8196 Tests for validate symbol file using build-id.
8197
8198 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
8199
8200 Tests for validate symbol file using build-id.
8201 * gdb.base/solib-mismatch-lib.c: New file.
8202 * gdb.base/solib-mismatch-libmod.c: New file.
8203 * gdb.base/solib-mismatch.c: New file.
8204 * gdb.base/solib-mismatch.exp: New file.
8205
8206 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
8207
8208 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
8209 nios2-*-linux*.
8210 * gdb.base/sigbpt.exp (stepi_out): Likewise.
8211 * gdb.base/siginfo.exp: Likewise.
8212 * gdb.base/sigstep.exp (advance, advancei): Likewise.
8213
8214 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
8215
8216 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
8217 Move it to ...
8218 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
8219 ... here.
8220 * gdb.trace/range-stepping.exp: Check that the target supports
8221 range stepping.
8222
8223 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
8224
8225 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
8226
8227 2015-07-14 Pedro Alves <palves@redhat.com>
8228
8229 * gdb.base/killed-outside.exp: New file.
8230 * gdb.base/killed-outside.c: New file.
8231
8232 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
8233
8234 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
8235 (n at main): New.
8236 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
8237
8238 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
8239
8240 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
8241 infcall tests instead of setting up for KFAIL.
8242
8243 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
8244
8245 * gdb.btrace/record_goto-step.exp: New.
8246
8247 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8248
8249 PR compile/18484
8250 * gdb.compile/compile.c (struct struct_type): Add volatile to
8251 selffield's type.
8252 * gdb.compile/compile.exp
8253 (compile code struct_object.selffield = &struct_object): Skip further
8254 struct_object tests if this one xfails.
8255
8256 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
8257
8258 PR exp/18617
8259 * gdb.trace/ax.exp: Add test.
8260
8261 2015-07-07 Yao Qi <yao.qi@linaro.org>
8262
8263 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
8264 instead of istarget "aarch64*-*-*".
8265 * gdb.arch/aarch64-fp.exp: Likewise.
8266 * gdb.base/float.exp: Likewise.
8267 * gdb.reverse/aarch64.exp: Likewise.
8268 * lib/gdb.exp (is_aarch64_target): New proc.
8269
8270 2015-07-07 Yao Qi <yao.qi@linaro.org>
8271
8272 * lib/gdb.exp (is_aarch32_target): New proc.
8273 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
8274 instead of "istarget "arm*-*-*"".
8275 * gdb.arch/arm-disp-step.exp: Likewise.
8276 * gdb.arch/thumb-bx-pc.exp: Likewise.
8277 * gdb.arch/thumb-prologue.exp: Likewise.
8278 * gdb.arch/thumb-singlestep.exp: Likewise.
8279 * gdb.base/disp-step-syscall.exp: Likewise.
8280 * gdb.base/float.exp: Likewise.
8281
8282 2015-07-07 Yao Qi <yao.qi@linaro.org>
8283
8284 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
8285 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
8286
8287 2015-07-07 Yao Qi <yao.qi@linaro.org>
8288
8289 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
8290 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
8291 if it exists.
8292 * gdb.multi/multi-arch.exp: Likewise.
8293
8294 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
8295
8296 * gdb.python/py-lazy-string.exp: Add missing parentheses to
8297 print.
8298
8299 2015-07-07 Yao Qi <yao.qi@linaro.org>
8300
8301 * gdb.arch/thumb-singlestep.exp: Do one more single step.
8302
8303 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
8304
8305 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
8306 '[' and ']' characters.
8307
8308 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
8309
8310 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
8311
8312 2015-06-29 Pedro Alves <palves@redhat.com>
8313
8314 PR threads/18127
8315 * gdb.threads/hand-call-new-thread.c: New file.
8316 * gdb.threads/hand-call-new-thread.c: New file.
8317
8318 2015-06-26 Keith Seitz <keiths@redhat.com>
8319 Doug Evans <dje@google.com>
8320
8321 PR 16253
8322 * gdb.cp/var-tag-2.cc: New file.
8323 * gdb.cp/var-tag-3.cc: New file.
8324 * gdb.cp/var-tag-4.cc: New file.
8325 * gdb.cp/var-tag.cc: New file.
8326 * gdb.cp/var-tag.exp: New file.
8327
8328 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
8329
8330 * gdb.base/history-duplicates.exp: New test.
8331
8332 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
8333
8334 * gdb.base/completion.exp: Test the completion of the "focus"
8335 command.
8336
8337 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
8338
8339 * gdb.arch/amd64-prologue-skip.S: New file.
8340 * gdb.arch/amd64-prologue-skip.exp: New file.
8341
8342 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
8343
8344 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
8345 is_address_zero_readable check.
8346
8347 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
8348
8349 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
8350 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
8351
8352 2015-06-24 Yao Qi <yao.qi@linaro.org>
8353
8354 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
8355 linux targets.
8356
8357 2015-06-24 Yao Qi <yao.qi@linaro.org>
8358
8359 * lib/gdb.exp (supports_get_siginfo_type): New proc.
8360 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
8361 * gdb.base/siginfo-thread.exp: Likewise.
8362
8363 2015-06-22 Yao Qi <yao.qi@linaro.org>
8364
8365 * boards/remote-gdbserver-on-localhost.exp: Add comments.
8366
8367 2015-06-22 Yao Qi <yao.qi@linaro.org>
8368
8369 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
8370 aarch64*-*-*.
8371 (skip_hw_watchpoint_tests): Likewise.
8372
8373 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
8374
8375 * gdb.base/gdbinit-history.exp: Test the interaction between
8376 setting GDBHISTSIZE and setting the history size via .gdbinit.
8377
8378 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
8379
8380 PR gdb/16999
8381 * gdb.base/gdbhistsize-history.exp: New test.
8382
8383 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
8384
8385 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
8386 with GDBHISTSIZE.
8387 * gdb.base/readline.exp: Likewise.
8388
8389 2015-06-17 Yao Qi <yao.qi@linaro.org>
8390
8391 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
8392 line.
8393
8394 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
8395
8396 * gdb.base/gdbinit-history.exp: Add test case to check that
8397 an unlimited history file does not get truncated on exit.
8398
8399 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
8400
8401 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
8402 (VECTOR): New macro. Use it...
8403 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
8404 ...for these typedefs.
8405 (int8, char1, int1, double1): New typedefs.
8406 (struct just_int2, struct two_int2): New structures.
8407 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
8408 (add_structvecs, add_singlevecs): New functions.
8409 (main): Call add_some_intvecs twice.
8410 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
8411 the compile and exit upon failure. Try compiling for the "native"
8412 architecture. Test inferior function calls with vector arguments
8413 and vector return value handling with "finish" and "return".
8414
8415 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
8416
8417 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
8418 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
8419 PE file.
8420 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
8421
8422 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
8423
8424 PR breakpoints/16465
8425 * gdb.mi/mi-dprintf-pending.c: New file.
8426 * gdb.mi/mi-dprintf-pending.exp: New test.
8427 * gdb.mi/mi-dprintf-pendshr.c: New file.
8428
8429 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
8430 Mircea Gherzan <mircea.gherzan@intel.com>
8431
8432 * gdb.arch/i386-mpx-map.c: New file.
8433 * gdb.arch/i386-mpx-map.exp: New File.
8434
8435 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
8436
8437 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
8438 * gdb.arch/i386-mpx.exp: Indentation fixed.
8439
8440 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
8441
8442 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
8443 function and improved indentation.
8444 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
8445 gdb_test_multiple. Added additional tests to skip the test.
8446
8447 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
8448
8449 * gdb.arch/i386-avx512.c: Change path in include file.
8450 * gdb.arch/i386-avx512.exp: Change include dir path
8451 compilation flag.
8452 * gdb.arch/i386-mpx.c: Change path in include file.
8453 * gdb.arch/i386-mpx.exp: Change include dir path compilation
8454 flag.
8455
8456 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
8457
8458 * gdb.compile/compile-print.exp (compile print *vararray@3)
8459 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
8460
8461 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8462
8463 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
8464 (do not keep jit in memory): ... this.
8465 (expect 5): Change it to ...
8466 (expect no 5): ... this.
8467
8468 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
8469
8470 PR gdb/15564
8471 * gdb.mi/mi-detach.exp: New file.
8472
8473 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8474
8475 PR symtab/18392
8476 * gdb.arch/amd64-tailcall-self.S: New file.
8477 * gdb.arch/amd64-tailcall-self.c: New file.
8478 * gdb.arch/amd64-tailcall-self.exp: New file.
8479
8480 2015-05-28 Don Breazeal <donb@codesourcery.com>
8481
8482 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
8483 tests for remote targets by checking is_target_gdbserver.
8484
8485 2015-05-27 Doug Evans <dje@google.com>
8486
8487 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
8488 * gdb.dwarf2/opaque-type-lookup.c: New file.
8489 * gdb.dwarf2/opaque-type-lookup.exp: New file.
8490
8491 2015-05-26 Doug Evans <dje@google.com>
8492
8493 * gdb.cp/iostream.cc: New file.
8494 * gdb.cp/iostream.exp: New file.
8495
8496 2015-05-26 Doug Evans <dje@google.com>
8497
8498 * gdb.dwarf2/dw2-op-call.exp: Update.
8499 * gdb.dwarf2/dw4-sig-types.exp: Update.
8500 * gdb.dwarf2/implptr.exp: Update.
8501 * gdb.mi/mi-cmd-param-changed.exp: Update.
8502
8503 2015-05-26 Doug Evans <dje@google.com>
8504
8505 * gdb.python/py-lazy-string.c: New file.
8506 * gdb.python/py-lazy-string.exp: New file.
8507 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
8508 (main): Update. Add estring3.
8509 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
8510 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
8511
8512 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
8513 Yao Qi <yao.qi@linaro.org>
8514
8515 * gdb.reverse/aarch64.c: New.
8516 * gdb.reverse/aarch64.exp: New.
8517
8518 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
8519
8520 * lib/gdb.exp (supports_process_record): Return true for
8521 aarch64*-linux*.
8522 (supports_reverse): Likewise.
8523
8524 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
8525
8526 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
8527 Use with_test_prefix.
8528
8529 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
8530
8531 * gdb.base/completion.exp: Add test for completion of layout
8532 names.
8533
8534 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
8535
8536 * lib/gdb.exp (skip_tui_tests): New proc.
8537 * gdb.base/tui-layout.exp: Check skip_tui_tests.
8538
8539 2015-05-19 Pedro Alves <palves@redhat.com>
8540
8541 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
8542 Save the whole env array instead of just HOME. Unset HISTSIZE in
8543 the environment while testing. Restore whole environment
8544 afterwards.
8545
8546 2015-05-16 Doug Evans <xdje42@gmail.com>
8547
8548 * gdb.guile/scm-ports.c: New file.
8549 * gdb.guile/scm-ports.exp: Add memory port tests.
8550
8551 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8552
8553 * gdb.compile/compile-print.c: New file.
8554 * gdb.compile/compile-print.exp: New file.
8555
8556 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8557
8558 * gdb.compile/compile-ops.exp: Cast param to void.
8559 * gdb.compile/compile.exp: Complete type for _gdb_expr.
8560 (compile code struct_object.selffield = &struct_object): Add xfail.
8561
8562 2015-05-15 Joel Brobecker <brobecker@adacore.com>
8563
8564 * gdb.ada/arr_enum_with_gap: New testcase.
8565
8566 2015-05-15 Joel Brobecker <brobecker@adacore.com>
8567
8568 * gdb.ada/byte_packed_arr: New testcase.
8569
8570 2015-05-15 Joel Brobecker <brobecker@adacore.com>
8571
8572 * gdb.ada/pckd_neg: New testcase.
8573
8574 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
8575
8576 PR gdb/17820
8577 * gdb.base/gdbinit-history.exp: New test.
8578 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
8579 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
8580
8581 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
8582
8583 * gdb.python/py-xmethods.cc: Enhance test case.
8584 * gdb.python/py-xmethods.exp: New tests.
8585 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
8586 function.
8587 (B_indexoper): Likewise.
8588 (global_dm_list) : Add new xmethod worker functions.
8589
8590 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
8591
8592 * gdb.base/coredump-filter.exp: Correctly unset
8593 "coredump_var_addr" array.
8594
8595 2015-05-08 Pedro Alves <palves@redhat.com>
8596
8597 * gdb.server/non-existing-program.exp: Unset spawn_id.
8598
8599 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
8600
8601 PR python/18291
8602 * gdb.python/py-xmethods.exp: Add tests.
8603
8604 2015-05-08 Yao Qi <yao.qi@linaro.org>
8605
8606 PR gdb/18208
8607 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
8608 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
8609 function set_coredump_filter, and remove remote_exec call.
8610 Remove argument ipid. Callers update.
8611 (top level): Don't get inferior's PID.
8612
8613 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
8614
8615 * gdb.base/watch_thread_num.exp: Skip test on targets without
8616 access watchpoints.
8617
8618 2015-05-06 Pedro Alves <palves@redhat.com>
8619
8620 PR server/18081
8621 * gdb.server/non-existing-program.exp: New file.
8622
8623 2015-05-05 Joel Brobecker <brobecker@adacore.com>
8624
8625 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
8626
8627 2015-05-05 Joel Brobecker <brobecker@adacore.com>
8628
8629 * gdb.ada/out_of_line_in_inlined: New testcase.
8630
8631 2015-05-05 Joel Brobecker <brobecker@adacore.com>
8632
8633 * gdb.ada/var_rec_arr: New testcase.
8634
8635 2015-04-30 Yao Qi <yao.qi@linaro.org>
8636
8637 * gdb.base/break-idempotent.exp: If
8638 skip_hw_watchpoint_multi_tests returns true, skip the tests
8639 on "rwatch" and "awatch".
8640
8641 2015-04-30 Yao Qi <yao.qi@linaro.org>
8642
8643 * gdb.base/relativedebug.exp: Invoke gdb command
8644 "info sharedlibrary", and if libc.so doesn't have debug info,
8645 skip the test.
8646
8647 2015-04-29 Doug Evans <dje@google.com>
8648
8649 * gdb.python/py-xmethods.exp: Add ptype tests.
8650 * gdb.python/py-xmethods.py (E_method_char_worker): Add
8651 get_result_type method.
8652
8653 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
8654
8655 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
8656 the target does not support hardware watchpoints.
8657
8658 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
8659
8660 * gdb.base/break-always.exp: Abort testing if writing to memory
8661 causes an error.
8662
8663 2015-04-28 Doug Evans <dje@google.com>
8664
8665 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
8666 * gdb.python/py-pp-registration.exp: ... here. New file.
8667 * gdb.python/py-pp-registration.c: New file.
8668 * gdb.python/py-pp-registration.py: New file.
8669
8670 2015-04-28 Doug Evans <dje@google.com>
8671
8672 * gdb.python/py-bad-printers.c: New file.
8673 * gdb.python/py-bad-printers.py: New file.
8674 * gdb.python/py-bad-printers.exp: New file.
8675
8676 2015-04-28 Sasha Smundak <asmundak@google.com>
8677
8678 * gdb.python/py-type.exp: New test.
8679
8680 2015-04-28 Andy Wingo <wingo@igalia.com>
8681
8682 * gdb.python/py-parameter.exp:
8683 * gdb.guile/scm-parameter.exp: Escape the path that we are
8684 matching against, as it might contain characters that are special
8685 to regular expressions.
8686
8687 2015-04-27 Joel Brobecker <brobecker@adacore.com>
8688
8689 * gdb.ada/rec_comp: New testcase.
8690
8691 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
8692
8693 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
8694 before using it.
8695
8696 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
8697
8698 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
8699 new tests for verilog output.
8700
8701 2015-04-24 Yao Qi <yao.qi@linaro.org>
8702
8703 * boards/remote-gdbserver-on-localhost.exp: New file.
8704
8705 2015-04-23 Pedro Alves <palves@redhat.com>
8706
8707 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
8708 $inferior_spawn_id instead of $inferior_spawn_id directly. On
8709 "end of file", remove $inferior_spawn_id from the indirect list.
8710
8711 2015-04-23 Pedro Alves <palves@redhat.com>
8712
8713 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
8714
8715 2015-04-23 Pedro Alves <palves@redhat.com>
8716
8717 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
8718 on $any_spawn_id instead of only on $gdb_spawn_id.
8719
8720 2015-04-21 Pierre Muller <muller@sourceware.org>
8721
8722 PR pascal/17815
8723 * lib/pascal.exp (gpc_compile): Add new option "class".
8724 (fpc_compile): Likewise.
8725 * gdb.pascal/case-insensitive-symbols.pas: New file.
8726 * gdb.pascal/case-insensitive-symbols.exp: New file.
8727
8728 2015-04-20 Gary Benson <gbenson@redhat.com>
8729
8730 * gdb.base/attach.exp: Fix three extended remote failures.
8731
8732 2015-04-17 Gary Benson <gbenson@redhat.com>
8733
8734 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
8735 the main executable over the remote protocol.
8736
8737 2015-04-16 Pedro Alves <palves@redhat.com>
8738
8739 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
8740 a new gdbserver if gdbserver_reconnect_p is set.
8741
8742 2015-04-16 Pedro Alves <palves@redhat.com>
8743
8744 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
8745 is set, don't exit gdbserver.
8746
8747 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
8748
8749 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
8750 appropriate .insn, such that an older assembler can be used.
8751 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
8752 the z/Architecture instruction set on 31-bit targets as well.
8753
8754 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
8755
8756 * gdb.go/handcall.exp: Remove all logic related to the first
8757 breakpoint and rely on go_runto_main instead.
8758 * gdb.go/strings.exp: Likewise.
8759 * gdb.go/unsafe.exp: Likewise.
8760 * gdb.go/hello.exp: Likewise. Also rename the remaining
8761 breakpoint marker to "breakpoint 1".
8762 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
8763 * gdb.go/strings.go: Likewise.
8764 * gdb.go/unsafe.go: Likewise.
8765 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
8766 "set breakpoint 2 here" and rename the remaining breakpoint marker
8767 to "breakpoint 1".
8768
8769 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
8770
8771 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
8772 if itertools.imap is not present.
8773 * gdb.python/py-objfile.exp: Add parentheses.
8774 * gdb.python/py-type.exp: Same.
8775 * gdb.python/py-unwind-maint.py: Same.
8776
8777 2015-04-15 Yao Qi <yao.qi@linaro.org>
8778
8779 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
8780 of ":$ptr_size" and set its form explicitly.
8781
8782 2015-04-15 Pedro Alves <palves@redhat.com>
8783 Yao Qi <yao.qi@linaro.org>
8784
8785 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
8786 timeout by factor of 4.
8787 (test_regular_watch): Likewise.
8788 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
8789 * gdb.reverse/sigall-reverse.exp: Likewise.
8790 * gdb.reverse/until-precsave.exp: Likewise.
8791 * lib/gdb.exp (with_timeout_factor): New proc.
8792 (gdb_expect): Move some code to ...
8793 (get_largest_timeout): ... here. New procedure.
8794
8795 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
8796
8797 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
8798
8799 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
8800
8801 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
8802 to write to the .text section.
8803
8804 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
8805
8806 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
8807 Handle the case of targets that do not provide PID information.
8808
8809 2015-04-13 Yao Qi <yao.qi@linaro.org>
8810
8811 * lib/gdbserver-support.exp (gdb_exit): Catch exception
8812 and use expect instead of gdb_expect.
8813
8814 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
8815
8816 * gdb.base/coredump-filter.exp: Rename variable "addr" to
8817 "coredump_var_addr" to avoid naming conflict with other testcases.
8818
8819 2015-04-10 Pedro Alves <palves@redhat.com>
8820
8821 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
8822 gdb_test_sequence and gdb_assert.
8823
8824 2015-04-10 Pedro Alves <palves@redhat.com>
8825
8826 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
8827 test messages that don't include the breakpoint address.
8828
8829 2015-04-10 Yao Qi <yao.qi@linaro.org>
8830
8831 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
8832 false for some offset and width combinations which aren't
8833 supported by linux kernel.
8834
8835 2015-04-10 Pedro Alves <palves@redhat.com>
8836
8837 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
8838 procedure, factored out from ...
8839 (top level): ... here. Add "set displaced-stepping" testing axis.
8840 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
8841 parameter "displaced". Use it.
8842 (top level): Use foreach and add "set displaced-stepping" testing
8843 axis.
8844
8845 2015-04-10 Pedro Alves <palves@redhat.com>
8846
8847 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
8848 Remove comment.
8849 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
8850 both the address of the instruction that triggers the watchpoint
8851 and the address of the instruction immediately after, and use
8852 those addresses for the test. Fix comment.
8853
8854 2015-04-10 Pedro Alves <palves@redhat.com>
8855
8856 * gdb.base/sigstep.exp (breakpoint_to_handler)
8857 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
8858 Test "backtrace" in handler.
8859 (breakpoint_over_handler): New parameter 'displaced'. Use it.
8860 (top level): Add new "displaced" test axis to
8861 breakpoint_to_handler, breakpoint_to_handler_entry and
8862 breakpoint_over_handler.
8863
8864 2015-04-10 Pedro Alves <palves@redhat.com>
8865
8866 PR gdb/18216
8867 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
8868
8869 2015-04-10 Yao Qi <yao.qi@linaro.org>
8870
8871 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
8872 (test_add_rn_pc): New function.
8873 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
8874 (top level): Invoke test_add_rn_pc.
8875
8876 2015-04-10 Pedro Alves <palves@redhat.com>
8877
8878 PR gdb/13858
8879 * gdb.base/step-over-no-symbols.exp: New file.
8880
8881 2015-04-09 Andy Wingo <wingo@igalia.com>
8882
8883 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
8884 after the Python tests.
8885
8886 2015-04-08 Keith Seitz <keiths@redhat.com>
8887
8888 PR python/16699
8889 * gdb.python/py-completion.exp: New tests for completion.
8890 * gdb.python/py-completion.py (CompleteLimit1): New class.
8891 (CompleteLimit2): Likewise.
8892 (CompleteLimit3): Likewise.
8893 (CompleteLimit4): Likewise.
8894 (CompleteLimit5): Likewise.
8895 (CompleteLimit6): Likewise.
8896 (CompleteLimit7): Likewise.
8897
8898 2015-04-08 Pedro Alves <palves@redhat.com>
8899
8900 PR gdb/18214
8901 PR gdb/18216
8902 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
8903 function.
8904 (main): Install it as SIGUSR1 handler.
8905 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
8906 parameter. Always use "setup" as prefix. Toggle "set
8907 displaced-stepping" off/on depending on global. Don't switch to
8908 thread 1 here.
8909 (top level): Add displaced stepping "off/on" test axis. Update
8910 "setup" calls. Wrap each subtest with with_test_prefix. Test
8911 continuing with a queued signal in each thread.
8912
8913 2015-04-08 Pedro Alves <palves@redhat.com>
8914
8915 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
8916 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
8917 gdb_breakpoint instead of gdb_test that doesn't expect anything.
8918 Return early if running to main fails.
8919 * gdb.trace/while-stepping.exp: Likewise.
8920
8921 2015-04-07 Pedro Alves <palves@redhat.com>
8922
8923 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
8924 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
8925 interact with inferior program.
8926
8927 2015-04-07 Pedro Alves <palves@redhat.com>
8928
8929 * lib/gdb.exp (inferior_spawn_id): New global.
8930 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
8931 spawn id after processing the user code.
8932 (default_gdb_start): Set inferior_spawn_id.
8933 (send_inferior): New procedure.
8934 * lib/gdbserver-support.exp (gdbserver_start): Set
8935 inferior_spawn_id.
8936 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
8937
8938 2015-04-07 Pedro Alves <palves@redhat.com>
8939
8940 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
8941 * lib/gdbserver-support.exp (gdbserver_start): Make
8942 $server_spawn_id global.
8943 (gdbserver_start): Don't wait for gdbserver's spawn id with
8944 expect_background.
8945 (close_gdbserver): New procedure.
8946 (gdb_exit): Rename the default version and reimplement.
8947
8948 2015-04-07 Pedro Alves <palves@redhat.com>
8949
8950 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
8951 append the substituted item, not the original item.
8952
8953 2015-04-07 Pedro Alves <palves@redhat.com>
8954
8955 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
8956 gdb_expect.
8957
8958 2015-04-07 Pedro Alves <palves@redhat.com>
8959
8960 * gdb.base/interrupt.exp: Don't handle the case of the inferior
8961 output appearing once only.
8962
8963 2015-04-07 Pedro Alves <palves@redhat.com>
8964
8965 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
8966 that doesn't expect anything. Return early if running to main
8967 fails.
8968
8969 2015-04-07 Yao Qi <yao.qi@linaro.org>
8970
8971 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
8972 (child_function): Call alarm.
8973 (main): Move call to alarm into the loop.
8974 * gdb.threads/non-stop-fair-events.exp: Build program with
8975 -DTIMEOUT=$timeout.
8976
8977 2015-04-06 Doug Evans <xdje42@gmail.com>
8978
8979 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
8980 Fix dest parameter to board_info.
8981 (fpc_compile): Ditto.
8982 (gdb_compile_pascal): Rename dest arg to destfile.
8983
8984 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
8985
8986 * gdb.ada/funcall_ref.exp: New file.
8987 * gdb.ada/funcall_ref/foo.adb: New file.
8988
8989 2015-04-02 Yao Qi <yao.qi@linaro.org>
8990
8991 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
8992 is remote.
8993
8994 2015-04-02 Gary Benson <gbenson@redhat.com>
8995
8996 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
8997
8998 2015-04-01 Sasha Smundak <asmundak@google.com>
8999
9000 * gdb.python/py-unwind-maint.c: New file.
9001 * gdb.python/py-unwind-maint.exp: New test.
9002 * gdb.python/py-unwind-maint.py: New file.
9003 * gdb.python/py-unwind.c: New file.
9004 * gdb.python/py-unwind.exp: New test.
9005 * gdb.python/py-unwind.py: New test.
9006
9007 2015-04-01 Pedro Alves <palves@redhat.com>
9008
9009 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
9010 to fail instead of non-existent $test.
9011
9012 2015-04-01 Pedro Alves <palves@redhat.com>
9013
9014 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
9015 GDBFLAGS if not empty.
9016
9017 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
9018
9019 * gdb.ada/complete.exp: Remove "multi_line".
9020 * gdb.ada/info_exc.exp: Remove "multi_line".
9021 * gdb.ada/packed_tagged.exp: Remove "multi_line".
9022 * gdb.ada/ptype_field.exp: Remove "multi_line".
9023 * gdb.ada/sym_print_name.exp: Remove "multi_line".
9024 * gdb.ada/tagged.exp: Remove "multi_line".
9025 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
9026 [multi_line ...]
9027 * gdb.btrace/delta.exp: Likewise.
9028 * gdb.btrace/exception.exp: Likewise.
9029 * gdb.btrace/function_call_history.exp: Likewise.
9030 * gdb.btrace/instruction_history.exp: Likewise.
9031 * gdb.btrace/nohist.exp: Likewise.
9032 * gdb.btrace/record_goto.exp: Likewise.
9033 * gdb.btrace/segv.exp: Likewise.
9034 * gdb.btrace/stepi.exp: Likewise.
9035 * gdb.btrace/tailcall.exp: Likewise.
9036 * gdb.btrace/unknown_functions.exp: Likewise.
9037 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
9038 * lib/gdb.exp: Add the "multi_line" helper.
9039
9040 2015-04-01 Pedro Alves <palves@redhat.com>
9041
9042 * gdb.threads/tid-reuse.c: New file.
9043 * gdb.threads/tid-reuse.exp: New file.
9044
9045 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
9046
9047 PR corefiles/16092
9048 * gdb.base/coredump-filter.c: New file.
9049 * gdb.base/coredump-filter.exp: Likewise.
9050
9051 2015-03-27 Petr Machata <pmachata@redhat.com>
9052
9053 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
9054 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
9055 (Dwarf::assemble): Initialize them.
9056 (Dwarf::lines): New function.
9057
9058 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
9059
9060 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
9061 SYMBOL_PREFIX for x86_64-*-cygwin.
9062
9063 2015-03-26 Andy Wingo <wingo@igalia.com>
9064
9065 PR symtab/18148
9066 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
9067 const_value but not a location.
9068 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
9069 location defined in non-main CUs are visible.
9070
9071 2015-03-26 Yao Qi <yao.qi@linaro.org>
9072
9073 PR testsuite/18139
9074 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
9075 Add a line number entry for the same line.
9076 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
9077 Add a line number entry for the same line.
9078
9079 2015-03-26 Yao Qi <yao.qi@linaro.org>
9080
9081 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
9082 .int 0.
9083 (func): Likewise. Add .Lfunc_1 label.
9084 Use .Lfunc_1 label.
9085 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
9086 .int 0.
9087 (func): Likewise.
9088 Use .Lfunc_1 label.
9089
9090 2015-03-26 Yao Qi <yao.qi@linaro.org>
9091
9092 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
9093 Call gdb_compile instead to compile each .s files without debug
9094 information.
9095
9096 2015-03-26 Yao Qi <yao.qi@linaro.org>
9097
9098 * gdb.base/savedregs.exp (process_saved_regs): Make
9099 "Saved registers:" optional in the pattern.
9100
9101 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
9102
9103 * gdb.btrace/next.exp: Merged into step.exp.
9104 * gdb.btrace/finish.exp: Merged into step.exp.
9105 * gdb.btrace/nexti.exp: Merged into stepi.exp.
9106 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
9107 "record goto" and checking the exact replay position.
9108 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
9109 check for "Recording format" in "info record" output.
9110 * gdb.btrace/record_goto.exp: Choose test file based on target.
9111 * gdb.btrace/x86-record_goto.S: Renamed into ...
9112 * gdb.btrace/x86_64-record_goto.S: ... this.
9113 * gdb.btrace/i686-record_goto.S: New.
9114 * gdb.btrace/x86-tailcall.S: Renamed into ...
9115 * gdb.btrace/x86_64-tailcall.S: ... this.
9116 * gdb.btrace/i686-tailcall.S: New.
9117 * gdb.btrace/x86-tailcall.c: Renamed into ...
9118 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
9119 separate statements. Update test.
9120 * gdb.btrace/delta.exp: Use record_goto.c as test file.
9121 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
9122 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
9123 * gdb.btrace/tailcall.exp: Choose test file based on target.
9124 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
9125
9126 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
9127
9128 * gdb.btrace/exception.exp: Increase BTS buffer size.
9129
9130 2015-03-24 Pedro Alves <palves@redhat.com>
9131
9132 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
9133
9134 2015-03-24 Pedro Alves <palves@redhat.com>
9135
9136 * gdb.threads/schedlock.exp (test_step): No longer expect that
9137 "set scheduler-locking step" with "next" over a function call runs
9138 threads unlocked.
9139
9140 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
9141
9142 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
9143
9144 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
9145
9146 PR breakpoints/16466
9147 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
9148 * gdb.mi/mi-pending.c (thread_func): New function.
9149 (int main): Add threading support required.
9150 * gdb.mi/mi-pending.exp: Add tests for this issue.
9151 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
9152 (pendfunc2): Remove stdio dependency.
9153 * gdb.mi/mi-pendshr2.c: New file.
9154
9155 2015-03-23 Keith Seitz <keiths@redhat.com>
9156
9157 * gdb.linespec/keywords.c: New file.
9158 * gdb.linespec/keywords.exp: New file.
9159
9160 2015-03-23 Keith Seitz <keiths@redhat.com>
9161
9162 PR gdb/18021
9163 * gdb.dwarf2/staticvirtual.exp: New test.
9164
9165 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9166
9167 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
9168 * README: Remove HP-UX and gdb.hp.
9169 (configuration):
9170 * configure: Regenerate.
9171 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
9172 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
9173 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
9174 gdb.hp/gdb.defects/Makefile.
9175 * gdb.hp/Makefile.in: File deleted.
9176 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
9177 * gdb.hp/gdb.aCC/optimize.c: File deleted.
9178 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
9179 * gdb.hp/gdb.aCC/run.c: File deleted.
9180 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
9181 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
9182 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
9183 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
9184 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
9185 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
9186 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
9187 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
9188 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
9189 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
9190 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
9191 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
9192 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
9193 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
9194 * gdb.hp/gdb.base-hp/reg.s: File deleted.
9195 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
9196 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
9197 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
9198 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
9199 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
9200 * gdb.hp/gdb.compat/Makefile.in: File deleted.
9201 * gdb.hp/gdb.compat/average.c: File deleted.
9202 * gdb.hp/gdb.compat/sum.c: File deleted.
9203 * gdb.hp/gdb.compat/xdb.c: File deleted.
9204 * gdb.hp/gdb.compat/xdb0.c: File deleted.
9205 * gdb.hp/gdb.compat/xdb0.h: File deleted.
9206 * gdb.hp/gdb.compat/xdb1.c: File deleted.
9207 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
9208 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
9209 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
9210 * gdb.hp/gdb.defects/Makefile.in: File deleted.
9211 * gdb.hp/gdb.defects/bs14602.c: File deleted.
9212 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
9213 * gdb.hp/gdb.defects/solib-d.c: File deleted.
9214 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
9215 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
9216 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
9217 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
9218 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
9219 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
9220 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
9221 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
9222 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
9223 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
9224 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
9225 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
9226 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
9227 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
9228 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
9229 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
9230 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
9231 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
9232 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
9233 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
9234 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
9235 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
9236 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
9237 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
9238 * gdb.hp/tools/odump: File deleted.
9239
9240 2015-03-19 Pedro Alves <palves@redhat.com>
9241
9242 * gdb.threads/continue-pending-status.exp (saw_thread_2)
9243 (saw_thread_3): New globals.
9244 (top level): Increment them when an event for the corresponding
9245 thread is seen.
9246 (no thread starvation): New test.
9247
9248 2015-03-19 Pedro Alves <palves@redhat.com>
9249
9250 * gdb.threads/continue-pending-status.c: New file.
9251 * gdb.threads/continue-pending-status.exp: New file.
9252
9253 2015-03-18 Pedro Alves <palves@redhat.com>
9254
9255 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
9256 Use gdb_is_target_remote instead of is_remote. Use
9257 gdb_test_multiple instead of gdb_expect. Exit early if
9258 gdb_test_multiple hits its internal matches. Tighten stepi tests
9259 expected output. Fail on exit with any signal, instead of just
9260 SIGILL.
9261
9262 2015-03-18 Yao Qi <yao.qi@linaro.org>
9263
9264 PR tdep/18107
9265 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
9266 variable.
9267 * gdb.base/catch-syscall.exp: Don't skip it on
9268 aarch64*-*-linux* target. Remove elements in all_syscalls.
9269 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
9270 target.
9271 (setup_all_syscalls): New proc.
9272
9273 2015-03-16 Yao Qi <yao.qi@linaro.org>
9274
9275 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
9276 (top level): Skip tests if valid_addr_p returns false for
9277 $cmd1 or $cmd2.
9278
9279 2015-03-11 Andy Wingo <wingo@igalia.com>
9280
9281 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
9282
9283 2015-03-11 Yao Qi <yao.qi@linaro.org>
9284
9285 * gdb.base/catch-syscall.exp: Fix typo in comments.
9286
9287 2015-03-11 Yao Qi <yao.qi@linaro.org>
9288
9289 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
9290
9291 2015-03-09 Pedro Alves <palves@redhat.com>
9292
9293 * dg-extract-results.py: Delete.
9294
9295 2015-03-09 Pedro Alves <palves@redhat.com>
9296
9297 Merge dg-extract-results.sh from GCC upstream (r218843).
9298
9299 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
9300 * dg-extract-results.sh: Use --text with grep to avoid issues with
9301 binary files. Fall back to cat -v, if that doesn't work.
9302
9303 2015-03-05 Pedro Alves <palves@redhat.com>
9304
9305 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
9306
9307 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
9308
9309 * lib/mi-support.exp (mi_expect_interrupt): Accept
9310 alternative event for when in all-stop mode.
9311
9312 2015-03-04 Pedro Alves <palves@redhat.com>
9313
9314 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
9315
9316 2015-03-04 Mark Kettenis <kettenis@gnu.org>
9317
9318 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
9319
9320 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
9321
9322 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
9323 regexps for GDB's current line display, accept a hex address
9324 preceding the line number.
9325
9326 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
9327
9328 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
9329 the 'arch1' variable for "s390*-linux*" targets.
9330
9331 2015-03-04 Pedro Alves <palves@redhat.com>
9332
9333 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
9334 (main): Pass missing retval argument to pthread_join call.
9335
9336 2015-03-02 Pedro Alves <palves@redhat.com>
9337
9338 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
9339 (top level): Call do_test with non-stop as well.
9340
9341 2015-03-02 Pedro Alves <palves@redhat.com>
9342
9343 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
9344 -1.
9345
9346 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
9347
9348 * gdb.arch/s390-vregs.exp: New test.
9349 * gdb.arch/s390-vregs.S: New file.
9350
9351 2015-02-27 Pedro Alves <palves@redhat.com>
9352
9353 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
9354 call to catch_command_errors.
9355 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
9356 catch_command_errors.
9357
9358 2015-02-27 Pedro Alves <palves@redhat.com>
9359
9360 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
9361 "true" for boolean result.
9362 * gdb.gdb/selftest.exp (test_with_self): Also accept full
9363 prototype of main.
9364
9365 2015-02-27 Pedro Alves <palves@redhat.com>
9366
9367 * lib/unbuffer_output.c: New file.
9368 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
9369 (main): Call gdb_unbuffer_output.
9370
9371 2015-02-27 Yao Qi <yao.qi@linaro.org>
9372
9373 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
9374 target.
9375
9376 2015-02-26 Doug Evans <dje@google.com>
9377
9378 * gdb.cp/class2.cc (Dbase, D): New classes.
9379 (main): New local delta.
9380 * gdb.cp/class2.exp: Test printing delta.
9381 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
9382 (dynbar): New global.
9383 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
9384
9385 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
9386
9387 * gdb.compile/compile-ifunc.c: New file.
9388 * gdb.compile/compile-ifunc.exp: New file.
9389
9390 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
9391
9392 * gdb.base/structs.exp: Check for correct struct on finish.
9393
9394 2015-02-26 Yao Qi <yao.qi@linaro.org>
9395
9396 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
9397 is zero.
9398
9399 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
9400
9401 * gdb.arch/cordic.ko.bz2: New file.
9402 * gdb.arch/cordic.ko.debug.bz2: New file.
9403 * gdb.arch/ppc64-symtab-cordic.exp: New file.
9404
9405 2015-02-25 Yao Qi <yao.qi@linaro.org>
9406
9407 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
9408 aarch64*-*-* target.
9409
9410 2015-02-23 Pedro Alves <palves@redhat.com>
9411
9412 * lib/gdb.exp (delete_breakpoints): Rewrite using
9413 gdb_test_multiple.
9414
9415 2015-02-23 Pedro Alves <palves@redhat.com>
9416
9417 * gdb.base/info-os.c: Include stdlib.h.
9418
9419 2015-02-22 Doug Evans <xdje42@gmail.com>
9420
9421 PR symtab/17855
9422 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
9423 is read after symbols have been re-read.
9424 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
9425 * gdb.ada/exec_changed/second.adb (Second): Ditto.
9426
9427 2015-02-21 Doug Evans <dje@google.com>
9428
9429 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
9430
9431 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9432
9433 PR corefiles/17808
9434 * gdb.arch/i386-biarch-core.core.bz2: New file.
9435 * gdb.arch/i386-biarch-core.exp: New file.
9436
9437 2015-02-21 Pedro Alves <palves@redhat.com>
9438
9439 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
9440 runto_main fails.
9441
9442 2015-02-20 Pedro Alves <palves@redhat.com>
9443
9444 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
9445 info probes.
9446
9447 2015-02-20 Pedro Alves <palves@redhat.com>
9448
9449 * gdb.threads/multi-create-ns-info-thr.exp: New file.
9450
9451 2015-02-20 Pedro Alves <palves@redhat.com>
9452
9453 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
9454 clean_restart before gdb_target_supports_trace.
9455
9456 2015-02-20 Pedro Alves <palves@redhat.com>
9457
9458 PR threads/18006
9459 * gdb.threads/clone-thread_db.c: New file.
9460 * gdb.threads/clone-thread_db.exp: New file.
9461
9462 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
9463
9464 PR breakpoints/16812
9465 * gdb.base/catch-gdb-caused-signals.c: New file.
9466 * gdb.base/catch-gdb-caused-signals.exp: New file.
9467
9468 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
9469
9470 * configure: Regenerated.
9471 * configure.ac: Use GDB_AC_TRANSFORM.
9472 * aclocal.m4: sinclude ../transform.m4.
9473
9474 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
9475
9476 * lib/dtrace.exp: New file.
9477 * gdb.base/dtrace-probe.exp: Likewise.
9478 * gdb.base/dtrace-probe.d: Likewise.
9479 * gdb.base/dtrace-probe.c: Likewise.
9480 * lib/pdtrace.in: Likewise.
9481 * configure.ac: Output variables with the transformed names of
9482 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
9483 * configure: Regenerated.
9484
9485 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
9486
9487 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
9488 expected message when trying to access $_probe_* convenience
9489 variables while not on a probe.
9490
9491 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9492
9493 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
9494
9495 2015-02-11 Pedro Alves <pedro@codesourcery.com>
9496
9497 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
9498 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
9499
9500 2015-02-10 Doug Evans <xdje42@gmail.com>
9501
9502 * lib/gdb.exp (gdb_load): Always return a result.
9503
9504 2015-02-10 Pedro Alves <palves@redhat.com>
9505
9506 * gdb.threads/signal-sigtrap.c: New file.
9507 * gdb.threads/signal-sigtrap.exp: New file.
9508
9509 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
9510
9511 * gdb.trace/no-attach-trace.c: New file.
9512 * gdb.trace/no-attach-trace.exp: New file.
9513
9514 2015-02-09 Mark Wielaard <mjw@redhat.com>
9515
9516 * gdb.dwarf2/atomic.c: New file.
9517 * gdb.dwarf2/atomic-type.exp: Likewise.
9518
9519 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
9520
9521 * gdb.btrace/buffer-size.exp: Update "info record" output.
9522 * gdb.btrace/delta.exp: Update "info record" output.
9523 * gdb.btrace/enable.exp: Update "info record" output.
9524 * gdb.btrace/finish.exp: Update "info record" output.
9525 * gdb.btrace/instruction_history.exp: Update "info record" output.
9526 * gdb.btrace/next.exp: Update "info record" output.
9527 * gdb.btrace/nexti.exp: Update "info record" output.
9528 * gdb.btrace/step.exp: Update "info record" output.
9529 * gdb.btrace/stepi.exp: Update "info record" output.
9530 * gdb.btrace/nohist.exp: Update "info record" output.
9531
9532 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
9533
9534 * gdb.btrace/buffer-size: New.
9535
9536 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
9537
9538 * gdb.btrace/delta.exp: Update "info record" output.
9539 * gdb.btrace/enable.exp: Update "info record" output.
9540 * gdb.btrace/finish.exp: Update "info record" output.
9541 * gdb.btrace/instruction_history.exp: Update "info record" output.
9542 * gdb.btrace/next.exp: Update "info record" output.
9543 * gdb.btrace/nexti.exp: Update "info record" output.
9544 * gdb.btrace/step.exp: Update "info record" output.
9545 * gdb.btrace/stepi.exp: Update "info record" output.
9546 * gdb.btrace/nohist.exp: Update "info record" output.
9547
9548 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
9549
9550 PR gdb/15678
9551 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
9552
9553 2015-02-06 Pedro Alves <palves@redhat.com>
9554
9555 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
9556 macro.
9557 (seconds_left, again): New globals.
9558 (main): Wait seconds_left in a 1-second sleep loop instead of
9559 sleeping 180 seconds. If 'again' is set, reset the seconds
9560 counter.
9561 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
9562 'again' in the inferior before detaching. Print the seconds left.
9563 (options): New global.
9564 (top level): Build program with -DTIMEOUT=$timeout.
9565
9566 2015-02-06 Pedro Alves <palves@redhat.com>
9567
9568 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
9569 determine how many seconds to pass to 'alarm'.
9570 * gdb.base/gdb-sigterm.exp (top level): Build program with
9571 -DTIMEOUT=$timeout.
9572 (do_test): Return success/failure indication. Add more verbose
9573 logging. Don't fail if 200 single steps are seen. Instead, fail
9574 when the test times out.
9575 (passes): New global.
9576 (top level): Break the testing loop if testing fails on any
9577 iteration. Use gdb_assert.
9578
9579 2015-02-04 Don Breazeal <donb@codesourcery.com>
9580
9581 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
9582 and initialize them.
9583 (ipc_cleanup): New function.
9584 (main): Don't declare shmid, semid, and msqid. Add a call to
9585 atexit so that we call ipc_cleanup on exit.
9586
9587 2015-02-04 Pedro Alves <palves@redhat.com>
9588
9589 * boards/native-extended-gdbserver.exp: Remove any target variant
9590 specifications from the board name before clearing the isremote
9591 flag from board_info.
9592
9593 2015-01-31 Doug Evans <xdje42@gmail.com>
9594
9595 * gdb.base/maint.exp <maint print type argc>: Update expected output.
9596
9597 2015-01-31 Gary Benson <gbenson@redhat.com>
9598
9599 * gdb.base/completion.exp: Disable completion limiting for
9600 existing tests. Add new tests to check completion limiting.
9601 * gdb.linespec/ls-errs.exp: Disable completion limiting.
9602
9603 2015-01-31 Doug Evans <xdje42@gmail.com>
9604
9605 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
9606
9607 2015-01-31 Doug Evans <xdje42@gmail.com>
9608
9609 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
9610 entries. Duplicate file section script entries.
9611 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
9612 inlined entries. Add test for safe-path rejection.
9613 * gdb.python/py-section-script.c: Add duplicate inlined section script
9614 entries. Duplicate file section script entries.
9615 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
9616 inlined entries. Add test for safe-path rejection.
9617
9618 2015-01-29 Joel Brobecker <brobecker@adacore.com>
9619
9620 * gdb.ada/disc_arr_bound: New testcase.
9621
9622 2015-01-29 Joel Brobecker <brobecker@adacore.com>
9623
9624 * gdb.ada/mi_var_array: New testcase.
9625
9626 2015-01-27 Doug Evans <dje@google.com>
9627
9628 * gdb.python/py-objfile.exp: Add tests for objfile.username.
9629 Add test for objfile.filename, objfile.username after objfile
9630 has been unloaded.
9631
9632 2015-01-26 Joel Brobecker <brobecker@adacore.com>
9633
9634 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
9635 the second test to print the name attribute of value
9636 returned by the call to gdb.lookup_type, and adjust
9637 the expected output accordingly.
9638
9639 2015-01-25 Mark Wielaard <mjw@redhat.com>
9640
9641 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
9642 * gdb.base/disp-step-fork.c: Include unistd.h.
9643 * gdb.base/siginfo-obj.c: Include stdio.h.
9644 * gdb.base/siginfo-thread.c: Likewise.
9645 * gdb.mi/non-stop.c: Include unistd.h.
9646 * gdb.mi/nsthrexec.c: Include stdio.h.
9647 * gdb.mi/pthreads.c: Include unistd.h.
9648 * gdb.modula2/unbounded1.c (main): Declare returns int.
9649 * gdb.reverse/consecutive-reverse.c: Likewise.
9650 * gdb.threads/create-fail.c: Include unistd.h.
9651 * gdb.threads/killed.c: Likewise.
9652 * gdb.threads/linux-dp.c: Likewise.
9653 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
9654 * gdb.threads/non-ldr-exc-2.c: Likewise.
9655 * gdb.threads/non-ldr-exc-3.c: Likewise.
9656 * gdb.threads/non-ldr-exc-4.c: Likewise.
9657 * gdb.threads/pthreads.c: Include unistd.h.
9658 (main): Declare returns int.
9659 * gdb.threads/tls-main.c (foo): New declaration.
9660 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
9661
9662 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
9663
9664 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
9665 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
9666
9667 2015-01-15 Mark Wielaard <mjw@redhat.com>
9668
9669 * gdb.base/noreturn-return.c: New file.
9670 * gdb.base/noreturn-return.exp: New file.
9671 * gdb.base/noreturn-finish.c: New file.
9672 * gdb.base/noreturn-finish.exp: New file.
9673
9674 2015-01-23 Pedro Alves <palves@redhat.com>
9675
9676 * gdb.threads/continue-pending-after-query.c: New file.
9677 * gdb.threads/continue-pending-after-query.exp: New file.
9678
9679 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
9680 Simon Marchi <simon.marchi@ericsson.com>
9681
9682 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
9683 * gdb.base/valgrind-db-attach.exp: Same.
9684 * gdb.base/valgrind-infcall.exp: Same.
9685 * lib/mi-support.exp (default_mi_gdb_start): Same.
9686 * lib/prompt.exp (default_prompt_gdb_start): Same.
9687 * lib/gdb.exp (default_gdb_spawn): Same.
9688 (gdb_interact): New.
9689
9690
9691 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9692
9693 * gdb.compile/compile.exp (pointer to jit function): New test.
9694
9695 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
9696
9697 * lib/gdb.exp (supports_process_record): Return true for
9698 powerpc*-*-linux*.
9699 (supports_reverse): Likewise.
9700
9701 2015-01-15 Don Breazeal <donb@codesourcery.com>
9702
9703 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
9704 instead of checking whether the target board is remote and
9705 use spawn_wait_for_attach instead of exec/sleep.
9706 * gdb.base/attach-twice.exp: Likewise.
9707
9708 2015-01-15 Joel Brobecker <brobecker@adacore.com>
9709
9710 * gdb.ada/var_arr_attrs: New testcase.
9711
9712 2015-01-14 Pedro Alves <palves@redhat.com>
9713 Joel Brobecker <brobecker@adacore.com>
9714
9715 PR gdb/17525
9716 * gdb.base/bp-cmds-execution-x-script.c: New file.
9717 * gdb.base/bp-cmds-execution-x-script.exp: New file.
9718 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
9719
9720 2015-01-14 Pedro Alves <palves@redhat.com>
9721
9722 PR cli/17828
9723 * gdb.base/batch-preserve-term-settings.c: New file.
9724 * gdb.base/batch-preserve-term-settings.exp: New file.
9725
9726 2015-01-13 Doug Evans <dje@google.com>
9727
9728 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
9729 binary.
9730
9731 2015-01-13 Joel Brobecker <brobecker@adacore.com>
9732
9733 * Makefile.in (clean mostlyclean): Do not delete *.py.
9734
9735 2015-01-13 Joel Brobecker <brobecker@adacore.com>
9736
9737 * gdb.python/py-lookup-type.exp: New file.
9738
9739 2015-01-12 Pedro Alves <palves@redhat.com>
9740
9741 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
9742 restore GDBFLAGS before returning.
9743
9744 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9745
9746 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
9747 is_amd64_regs_target and is_x86_like_target.
9748
9749 2015-01-11 Doug Evans <xdje42@gmail.com>
9750
9751 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
9752 is given without an explicit form.
9753 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
9754 attributes.
9755 * gdb.dwarf/corrupt.exp: Ditto.
9756 * gdb.dwarf2/enum-type.exp: Ditto.
9757 * gdb.trace/entry-values.exp: Ditto.
9758 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
9759
9760 2015-01-11 Doug Evans <xdje42@gmail.com>
9761
9762 PR gdb/15830
9763 * gdb.base/maint.exp: Remove references to "maint demangle".
9764 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
9765 Add tests for explicitly specifying language to demangle.
9766 * gdb.dlang/demangle.exp: Ditto.
9767
9768 2015-01-09 Pedro Alves <palves@redhat.com>
9769
9770 * gdb.threads/non-stop-fair-events.c: New file.
9771 * gdb.threads/non-stop-fair-events.exp: New file.
9772
9773 2015-01-09 Pedro Alves <palves@redhat.com>
9774
9775 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
9776 the global scope. Set a breakpoint after all threads are started
9777 rather than stepping over two source lines. Expect the prompt.
9778 * gdb.base/watch_thread_num.c (threads_started_barrier): New
9779 global.
9780 (NUM): Now 15.
9781 (main): Use threads_started_barrier to wait for all threads to
9782 start. Main thread no longer calls thread_function. Exit after
9783 180 seconds.
9784 (loop): New function.
9785 (thread_function): Wait on threads_started_barrier barrier. Call
9786 'loop' at each iteration.
9787 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
9788 threads have started, instead of hardcoding number of "next"
9789 steps. Use an access watchpoint instead of a write watchpoint.
9790
9791 2015-01-09 Pedro Alves <palves@redhat.com>
9792
9793 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
9794 (thread_func): Wait on barrier.
9795 (main): Wait for all threads to start before stopping GDB.
9796 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
9797 global.
9798 (thread1_func, thread2_func): Wait on barrier.
9799 (main): Wait for all threads to start before stopping GDB.
9800 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
9801 New global.
9802 (thread1_func, thread2_func): Wait on barrier.
9803 (main): Wait for all threads to start before stopping GDB.
9804
9805 2015-01-09 Pedro Alves <palves@redhat.com>
9806
9807 * gdb.threads/attach-many-short-lived-threads.c: New file.
9808 * gdb.threads/attach-many-short-lived-threads.exp: New file.
9809
9810 2014-01-09 Pedro Alves <palves@redhat.com>
9811
9812 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
9813 instead of to thread 2.
9814 * gdb.threads/signal-command-multiple-signals-pending.c (main):
9815 Add barrier around each pthread_create call instead of around all
9816 calls.
9817 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
9818 Set a break on thread_function and have the child threads hit it
9819 one at at a time.
9820
9821 2015-01-09 Pedro Alves <palves@redhat.com>
9822
9823 * lib/gdb.exp (can_spawn_for_attach): New procedure.
9824 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
9825 false.
9826 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
9827 checking whether the target board is remote.
9828 * gdb.multi/multi-attach.exp: Likewise.
9829 * gdb.python/py-sync-interp.exp: Likewise.
9830 * gdb.server/ext-attach.exp: Likewise.
9831 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
9832 tests that need to attach, instead of checking whether the target
9833 board is remote at the top of the file.
9834
9835 2015-01-08 Yao Qi <yao@codesourcery.com>
9836
9837 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
9838
9839 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9840
9841 Fix testcase compilation.
9842 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
9843
9844 2015-01-06 Joel Brobecker <brobecker@adacore.com>
9845
9846 * gdb.python/py-type.exp: Add a couple test about empty
9847 array creation, and negative-length array creation.
9848
9849 2015-01-02 Doug Evans <xdje42@gmail.com>
9850
9851 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
9852
9853 2015-01-02 Doug Evans <dje@google.com>
9854
9855 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
9856
9857 2014-12-29 Yao Qi <yao@codesourcery.com>
9858
9859 * gdb.trace/entry-values.exp: Update comments. Rename variable
9860 bar_call_foo to returned_from_foo.
9861
9862 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
9863
9864 PR gdb/17394
9865 * gdb.linespec/break-asm-file.c: New file.
9866 * gdb.linespec/break-asm-file.exp: New file.
9867 * gdb.linespec/break-asm-file0.s: New file.
9868 * gdb.linespec/break-asm-file1.s: New file.
9869
9870 2014-12-18 Nigel Stephens <nigel@mips.com>
9871 Maciej W. Rozycki <macro@codesourcery.com>
9872
9873 * gdb.base/float.exp: Handle the new output from "info float" on
9874 MIPS targets.
9875
9876 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9877
9878 Fix MinGW compilation.
9879 * gdb.compile/compile-ops.exp: Update untested message if
9880 !skip_compile_feature_tests.
9881 * gdb.compile/compile-setjmp.exp: Likewise.
9882 * gdb.compile/compile-tls.exp: Likewise.
9883 * gdb.compile/compile.exp: Likewise.
9884 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
9885 supported on this host".
9886
9887 2014-12-16 Doug Evans <xdje42@gmail.com>
9888
9889 * boards/stabs.exp: New file.
9890
9891 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
9892
9893 * gdb.base/completion.exp: Adjust to format changes of "maint
9894 print user-registers".
9895
9896 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
9897
9898 PR server/17457
9899 * gdb.arch/aarch64-fp.c: New file.
9900 * gdb.arch/aarch64-fp.exp: New file.
9901
9902 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
9903
9904 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
9905 r210637, r210913, r211666, r215400, r215817).
9906
9907 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
9908 * dg-extract-results.py: New file.
9909 * dg-extract-results.sh: Use it if the environment seems
9910 suitable.
9911
9912 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
9913
9914 * dg-extract-results.py (parse_run): Handle warnings that
9915 are printed before a test harness is run.
9916
9917 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
9918
9919 * dg-extract-results.py (Named): Remove __cmp__ method.
9920 (output_variation): Use a key to sort variation.harnesses.
9921
9922 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
9923
9924 * dg-extract-results.py: For Python 3, force sys.stdout to
9925 handle surrogate escape sequences.
9926 (safe_open): New function.
9927 (output_segment, main): Use it.
9928
9929 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
9930
9931 * dg-extract-results.py (Prog.result_re): Include options
9932 in test name.
9933
9934 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
9935
9936 * dg-extract-results.py (output_variation): Always sort if
9937 do_sum.
9938
9939 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
9940
9941 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
9942 as long as we get pagination notifications.
9943
9944 2014-12-15 Jason Merrill <jason@redhat.com>
9945
9946 * Makefile.in (check-gdb.%): Restore.
9947 * README: Mention it.
9948
9949 2014-12-13 Joel Brobecker <brobecker@adacore.com>
9950
9951 * gdb.ada/str_uninit: New testcase.
9952
9953 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9954
9955 PR symtab/17642
9956 * gdb.base/vla-stub-define.c: New file.
9957 * gdb.base/vla-stub.c: New file.
9958 * gdb.base/vla-stub.exp: New file.
9959
9960 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
9961 Jan Kratochvil <jan.kratochvil@redhat.com>
9962 Tom Tromey <tromey@redhat.com>
9963
9964 * configure.ac: Add gdb.compile/.
9965 * configure: Regenerate.
9966 * gdb.compile/Makefile.in: New file.
9967 * gdb.compile/compile-ops.exp: New file.
9968 * gdb.compile/compile-ops.c: New file.
9969 * gdb.compile/compile-tls.c: New file.
9970 * gdb.compile/compile-tls.exp: New file.
9971 * gdb.compile/compile-constvar.S: New file.
9972 * gdb.compile/compile-constvar.c: New file.
9973 * gdb.compile/compile-mod.c: New file.
9974 * gdb.compile/compile-nodebug.c: New file.
9975 * gdb.compile/compile-setjmp-mod.c: New file.
9976 * gdb.compile/compile-setjmp.c: New file.
9977 * gdb.compile/compile-setjmp.exp: New file.
9978 * gdb.compile/compile-shlib.c: New file.
9979 * gdb.compile/compile.c: New file.
9980 * gdb.compile/compile.exp: New file.
9981 * lib/gdb.exp (skip_compile_feature_tests): New proc.
9982
9983 2014-12-12 Tom Tromey <tromey@redhat.com>
9984
9985 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
9986 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
9987
9988 2014-12-12 Doug Evans <dje@google.com>
9989
9990 * lib/gdb-python.exp (get_python_valueof): New function.
9991 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
9992
9993 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
9994
9995 * gdb.base/completion.exp: Add test for completion of "info
9996 registers ".
9997
9998 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
9999
10000 * gdb.base/func-ptrs.c: New file.
10001 * gdb.base/func-ptrs.exp: New file.
10002
10003 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
10004
10005 PR breakpoints/17012
10006 * gdb.base/dprintf-detach.c: New file.
10007 * gdb.base/dprintf-detach.exp: New file.
10008
10009 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
10010
10011 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
10012 * lib/gdb.exp (target_is_gdbserver): New procedure.
10013
10014 2014-12-08 Doug Evans <dje@google.com>
10015
10016 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
10017
10018 2014-12-05 Yao Qi <yao@codesourcery.com>
10019
10020 * gdb.guile/scm-error.exp: Remove the third argument to
10021 gdb_remote_download.
10022 * gdb.guile/scm-frame-args.exp: Likewise.
10023 * gdb.guile/scm-section-script.exp: Likewise.
10024
10025 2014-12-05 Yao Qi <yao@codesourcery.com>
10026
10027 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
10028
10029 2014-12-04 Doug Evans <dje@google.com>
10030
10031 * gdb.python/py-objfile.exp: Add tests for
10032 objfile.add_separate_debug_file.
10033
10034 2014-12-04 Doug Evans <dje@google.com>
10035
10036 * lib/gdb.exp (get_build_id): New function.
10037 (build_id_debug_filename_get): Rewrite to use it.
10038 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
10039
10040 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
10041
10042 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
10043 `method(long)', not just 0x0.
10044 * gdb.cp/nsalias.exp: Align code labels to 4.
10045 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
10046 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
10047 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
10048 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
10049 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
10050 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
10051
10052 2014-12-02 Doug Evans <dje@google.com>
10053
10054 PR symtab/17602
10055 * gdb.cp/anon-ns.cc: Move guts of this file to ...
10056 * gdb.cp/anon-ns2.cc: ... here. New file.
10057 * gdb.cp/anon-ns.exp: Update.
10058
10059 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
10060
10061 * gdb.python/py-events.py (inferior_call_handler): New.
10062 (register_changed_handler, memory_changed_handler): New.
10063 (test_events.invoke): Register new handlers.
10064 * gdb.python/py-events.exp: Add tests for inferior call,
10065 memory_changed and register_changed events.
10066
10067 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
10068
10069 * gdb.base/execl-update-breakpoints.exp: Specify the link address
10070 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
10071 if the linker doesn't understand this.
10072
10073 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
10074
10075 * gdb.python/python.exp: Change expected reply to help().
10076
10077 2014-12-01 Yao Qi <yao@codesourcery.com>
10078
10079 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
10080 AC_CONFIG_SUBDIRS(gdb.gdbtk).
10081 * configure: Re-generated.
10082
10083 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
10084
10085 * gdb.cp/chained-calls.cc: New file.
10086 * gdb.cp/chained-calls.exp: New file.
10087 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
10088
10089 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
10090
10091 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
10092 * gdb.dwarf2/symtab-producer.exp: Same.
10093 * gdb.gdb/python-interrupts.exp: Same.
10094 * gdb.gdb/python-selftest.exp: Same.
10095 * gdb.python/py-linetable.exp: Same.
10096 * gdb.python/py-type.exp: Same.
10097 * gdb.python/py-value-cc.exp: Same.
10098 * gdb.python/py-value.exp: Same.
10099
10100 2014-11-28 Yao Qi <yao@codesourcery.com>
10101
10102 * gdb.base/break-probes.exp: Match library name prefixed with
10103 sysroot.
10104
10105 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
10106
10107 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
10108 test expected output. Add parentheses for the call to print.
10109 Remove L suffix from integers.
10110
10111 2014-11-26 Doug Evans <dje@google.com>
10112
10113 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
10114
10115 2014-11-22 Yao Qi <yao@codesourcery.com>
10116
10117 * gdb.trace/entry-values.c: Remove asms.
10118 (foo): Add foo_label.
10119 (bar): Add bar_label.
10120 * gdb.trace/entry-values.exp: Remove code computing foo's
10121 length and bar's length.
10122 (Dwarf::assemble): Invoke function_range for bar and use
10123 MACRO_AT_func for foo.
10124
10125 2014-11-22 Yao Qi <yao@codesourcery.com>
10126
10127 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
10128 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
10129 Use .Lgcc43_procstart instead of gcc43.
10130
10131 2014-11-21 Joel Brobecker <brobecker@adacore.com>
10132
10133 * gdb.ada/n_arr_bound: New testcase.
10134
10135 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
10136
10137 PR breakpoints/10737
10138 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
10139 test_catch_syscall_multi_arch.
10140 (test_catch_syscall_multi_arch): New function.
10141
10142 2014-11-20 Doug Evans <xdje42@gmail.com>
10143
10144 * gdb.base/maint.exp: Update expected output.
10145
10146 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
10147
10148 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
10149 4-byte instruction on S390.
10150
10151 2014-11-19 Joel Brobecker <brobecker@adacore.com>
10152
10153 * gdb.ada/arr_arr: New testcase.
10154
10155 2014-11-19 Joel Brobecker <brobecker@adacore.com>
10156
10157 * gdb.ada/pkd_arr_elem: New Testcase.
10158
10159 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
10160
10161 * gdb.reverse/break-precsave: Expect completion message for
10162 core file reads.
10163 * gdb.reverse/consecutive-precsave.exp: Likewise.
10164 * gdb.reverse/finish-precsave.exp: Likewise.
10165 * gdb.reverse/i386-precsave.exp: Likewise.
10166 * gdb.reverse/machinestate-precsave.exp: Likewise.
10167 * gdb.reverse/sigall-precsave.exp: Likewise.
10168 * gdb.reverse/solib-precsave.exp: Likewise.
10169 * gdb.reverse/step-precsave.exp: Likewise.
10170 * gdb.reverse/until-precsave.exp: Likewise.
10171 * gdb.reverse/watch-precsave.exp: Likewise.
10172
10173 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
10174
10175 * gdb.base/bp-permanent.c: Include unistd.h.
10176 * gdb.python/py-framefilter-mi.c (main): Add return type.
10177 * gdb.python/py-framefilter.c (main): Likewise.
10178 * gdb.trace/actions-changed.c (main): Likewise.
10179
10180 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
10181
10182 * gdb.mi/until.c: Add eye-catchers.
10183 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
10184 line numbers.
10185
10186 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
10187
10188 * gdb.base/condbreak.exp: Drop references to removed non-prototype
10189 function header variants in break1.c.
10190 * gdb.base/ena-dis-br.exp: Likewise.
10191 * gdb.base/hbreak2.exp: Likewise.
10192 * gdb.reverse/until-precsave.exp: Drop references to removed
10193 non-prototype function header variants in ur1.c.
10194 * gdb.reverse/until-reverse.exp: Likewise.
10195
10196 2014-11-17 Petr Machata <pmachata@redhat.com>
10197
10198 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
10199 ${_cu_offset_size} bytes abbrev offset.
10200
10201 2014-11-15 Doug Evans <xdje42@gmail.com>
10202
10203 PR symtab/17559
10204 * gdb.base/line-symtabs.exp: New file.
10205 * gdb.base/line-symtabs.c: New file.
10206 * gdb.base/line-symtabs.h: New file.
10207
10208 2014-11-14 Yao Qi <yao@codesourcery.com>
10209
10210 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
10211 (func): Add label func_label.
10212 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
10213 Replace low_pc and high_pc with MACRO_AT_range.
10214 Replace name, low_pc and high_pc with MACRO_AT_func.
10215
10216 2014-11-14 Yao Qi <yao@codesourcery.com>
10217
10218 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
10219 Replace name, low_pc and high_pc with MACRO_AT_func.
10220
10221 2014-11-14 Yao Qi <yao@codesourcery.com>
10222
10223 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
10224 produce debug information.
10225 * gdb.dwarf2/implptr-optimized-out.S: Removed.
10226
10227 2014-11-14 Yao Qi <yao@codesourcery.com>
10228
10229 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
10230 object and get function length.
10231 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
10232 with MACRO_AT_func.
10233 (top-level): Replace gdb_compile and clean_restart with
10234 prepare_for_testing.
10235 * gdb.dwarf2/main.c (main): Add label main_label.
10236
10237 2014-11-14 Yao Qi <yao@codesourcery.com>
10238
10239 * lib/dwarf.exp (function_range): New procedure.
10240 (Dwarf::_handle_macro_at_func): New procedure.
10241 (Dwarf::_handle_macro_at_range): New procedure.
10242 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
10243
10244 2014-11-14 Yao Qi <yao@codesourcery.com>
10245
10246 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
10247 (_handle_attribute): New procedure.
10248
10249 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10250
10251 * gdb.ada/cond_lang/foo.c (callme): Add return type.
10252 * gdb.base/call-sc.c (zed): Likewise.
10253 * gdb.base/checkpoint.c (main): Likewise.
10254 * gdb.base/dump.c (main): Likewise.
10255 * gdb.base/gcore.c (main): Likewise.
10256 * gdb.base/huge.c (main): Likewise.
10257 * gdb.base/multi-forks.c (main): Likewise.
10258 * gdb.base/pr10179-a.c (main): Likewise.
10259 * gdb.base/savedregs.c (main): Likewise.
10260 * gdb.base/sigaltstack.c (main): Likewise.
10261 * gdb.base/siginfo.c (main): Likewise.
10262 * gdb.base/structs.c (zed): Likewise.
10263 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
10264 * gdb.mi/mi-syn-frame.c (main): Likewise.
10265 * gdb.mi/until.c (foo, main): Likewise.
10266 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
10267 * gdb.base/solib-weak.c (foo): Declare.
10268 * gdb.base/attach-twice.c: Include stdio.h.
10269 * gdb.base/weaklib1.c: Likewise.
10270 * gdb.base/weaklib2.c: Likewise.
10271 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
10272 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
10273 unistd.h.
10274 * gdb.base/attach-pie-misread.c: Include stdlib.h.
10275 * gdb.mi/mi-exit-code.c: Likewise.
10276 * gdb.base/break-interp-lib.c: Include string.h.
10277 * gdb.base/coremaker.c: Likewise.
10278 * gdb.base/testenv.c: Likewise.
10279 * gdb.python/py-finish-breakpoint.c: Likewise.
10280 * gdb.base/inferior-died.c: Include sys/wait.h.
10281 * gdb.base/fileio.c: Include time.h.
10282 * gdb.base/async-shell.c: Include unistd.h.
10283 * gdb.base/dprintf-non-stop.c: Likewise.
10284 * gdb.base/info-os.c: Likewise.
10285 * gdb.mi/mi-console.c: Likewise.
10286 * gdb.mi/watch-nonstop.c: Likewise.
10287 * gdb.python/py-events.c: Likewise.
10288 * gdb.base/async.c (baz): Move up before its invocation.
10289 * gdb.base/code_elim2.c (my_global_func): Likewise.
10290 * gdb.base/skip-solib-lib.c (multiply): Likewise.
10291 * gdb.base/advance.c (func2): Likewise.
10292
10293 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10294
10295 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
10296 variant.
10297 * gdb.base/annota3.c: Likewise.
10298 * gdb.base/async.c: Likewise.
10299 * gdb.base/average.c: Likewise.
10300 * gdb.base/call-ar-st.c: Likewise.
10301 * gdb.base/call-rt-st.c: Likewise.
10302 * gdb.base/call-sc.c: Likewise.
10303 * gdb.base/call-strs.c: Likewise.
10304 * gdb.base/ending-run.c: Likewise.
10305 * gdb.base/execd-prog.c: Likewise.
10306 * gdb.base/exprs.c: Likewise.
10307 * gdb.base/foll-exec.c: Likewise.
10308 * gdb.base/foll-fork.c: Likewise.
10309 * gdb.base/foll-vfork.c: Likewise.
10310 * gdb.base/funcargs.c: Likewise.
10311 * gdb.base/gcore.c: Likewise.
10312 * gdb.base/jump.c: Likewise.
10313 * gdb.base/langs0.c: Likewise.
10314 * gdb.base/langs1.c: Likewise.
10315 * gdb.base/langs2.c: Likewise.
10316 * gdb.base/mips_pro.c: Likewise.
10317 * gdb.base/nodebug.c: Likewise.
10318 * gdb.base/opaque0.c: Likewise.
10319 * gdb.base/opaque1.c: Likewise.
10320 * gdb.base/recurse.c: Likewise.
10321 * gdb.base/run.c: Likewise.
10322 * gdb.base/scope0.c: Likewise.
10323 * gdb.base/scope1.c: Likewise.
10324 * gdb.base/setshow.c: Likewise.
10325 * gdb.base/setvar.c: Likewise.
10326 * gdb.base/shmain.c: Likewise.
10327 * gdb.base/shr1.c: Likewise.
10328 * gdb.base/shr2.c: Likewise.
10329 * gdb.base/sigall.c: Likewise.
10330 * gdb.base/signals.c: Likewise.
10331 * gdb.base/so-indr-cl.c: Likewise.
10332 * gdb.base/solib2.c: Likewise.
10333 * gdb.base/structs.c: Likewise.
10334 * gdb.base/sum.c: Likewise.
10335 * gdb.base/vforked-prog.c: Likewise.
10336 * gdb.base/watchpoint.c: Likewise.
10337 * gdb.reverse/shr2.c: Likewise.
10338 * gdb.reverse/until-reverse.c: Likewise.
10339 * gdb.reverse/ur1.c: Likewise.
10340 * gdb.reverse/watch-reverse.c: Likewise.
10341
10342 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10343
10344 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
10345 variant.
10346 * gdb.base/sepdebug.exp: Drop references to removed code.
10347
10348 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10349
10350 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
10351 variant. Preserve original line numbering.
10352 * gdb.base/list1.c: Likewise.
10353
10354 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10355
10356 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
10357 variant.
10358 * gdb.base/break1.c: Likewise.
10359 * gdb.base/break.exp: Drop references to removed code.
10360
10361 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10362
10363 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
10364 variant.
10365
10366 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10367
10368 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
10369
10370 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10371
10372 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
10373 logic into perform_all_tests() and invoke it with and without
10374 function header prototypes.
10375 (do_function_calls): Remove conditional XFAIL for PR 5318.
10376 (rerun_and_prepare): Remove duplicate code.
10377 (perform_all_tests): New. Main logic moved here.
10378
10379 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10380
10381 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
10382 code guarded by #ifdef NO_PROTOTYPES.
10383 (t_double_many_args): Likewise.
10384 (DEF_FUNC_MANY_ARGS_1): Likewise.
10385 (DEF_FUNC_VALUES_1): Likewise.
10386 (t_structs_ldc): Renamed from t_structs_fc in conditional code
10387 guarded by #ifdef PROTOTYPES.
10388
10389 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10390
10391 * gdb.mi/mi-console.c: Add eye-catcher.
10392 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
10393 instead of literal line number.
10394
10395 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10396
10397 * gdb.base/shr2.c: Add eye-catcher.
10398 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
10399 line number.
10400
10401 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10402
10403 * gdb.base/jump.c: Add eye-catchers.
10404 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
10405 numbers.
10406
10407 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10408
10409 * gdb.base/execd-prog.c: Add eye-catchers.
10410 * gdb.base/foll-exec.c: Likewise.
10411 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
10412 line numbers.
10413
10414 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10415
10416 * gdb.base/ending-run.c: Add eye-catchers.
10417 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
10418 literal line numbers.
10419
10420 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10421
10422 * gdb.base/call-rt-st.c: Add eye-catchers.
10423 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
10424 literal line numbers.
10425
10426 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10427
10428 * gdb.base/call-ar-st.c: Add eye-catchers.
10429 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
10430 literal line numbers.
10431
10432 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10433
10434 * gdb.base/average.c: Add eye-catchers.
10435 * gdb.base/sum.c: Likewise.
10436 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
10437 regexps dynamically.
10438
10439 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10440
10441 * gdb.base/solib1.c: Add eye-catchers.
10442 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
10443 literal line numbers.
10444
10445 2014-11-12 Pedro Alves <palves@redhat.com>
10446
10447 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
10448 leader has exited.
10449
10450 2014-11-12 Pedro Alves <palves@redhat.com>
10451
10452 * gdb.arch/i386-bp_permanent.c: New file.
10453 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
10454 (srcfile): Set to i386-bp_permanent.c.
10455 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
10456 that stepi does not execute the 'leave' instruction, instead of
10457 testing it does execute.
10458 * gdb.base/bp-permanent.c: New file.
10459 * gdb.base/bp-permanent.exp: New file.
10460
10461 2014-11-10 Doug Evans <xdje42@gmail.com>
10462
10463 PR symtab/17564
10464 * gdb.base/symtab-search-order.exp: New file.
10465 * gdb.base/symtab-search-order.c: New file.
10466 * gdb.base/symtab-search-order-1.c: New file.
10467 * gdb.base/symtab-search-order-shlib-1.c: New file.
10468
10469 2014-11-07 Pedro Alves <palves@redhat.com>
10470
10471 PR gdb/17511
10472 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
10473 i?86-*-linux*.
10474
10475 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
10476
10477 PR c++/17494
10478 * gdb.cp/pr17494.cc: New file.
10479 * gdb.cp/pr17494.exp: New file.
10480
10481 2014-11-02 Yao Qi <yao@codesourcery.com>
10482
10483 * gdb.python/python.exp: Get working directory and match the
10484 output of "set extended-prompt \\w " with it.
10485
10486 2014-10-30 Doug Evans <dje@google.com>
10487
10488 * gdb.python/py-objfile.exp: Add tests for setting random attributes
10489 in objfiles.
10490 * gdb.python/py-progspace.exp: Add tests for setting random attributes
10491 in progspaces.
10492
10493 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
10494
10495 * gdb.base/fullpath-expand.exp: Skip for a remote host.
10496 * gdb.base/realname-expand.exp: Likewise.
10497 * gdb.linespec/macro-relative.exp: Likewise.
10498
10499 2014-10-29 Pedro Alves <palves@redhat.com>
10500
10501 PR gdb/17408
10502 * gdb.threads/schedlock.c (some_function): New function.
10503 (call_function): New global.
10504 (MAYBE_CALL_SOME_FUNCTION): New macro.
10505 (thread_function): Call it.
10506 * gdb.threads/schedlock.exp (get_args): Add description parameter,
10507 and use it instead of a global counter. Adjust all callers.
10508 (get_current_thread): Use "find current thread" for test message
10509 here rather than having all callers pass down the same string.
10510 (goto_loop): New procedure, factored out from ...
10511 (my_continue): ... this.
10512 (step_ten_loops): Change parameter from test message to command to
10513 use. Adjust.
10514 (list_count): Delete global.
10515 (check_result): New procedure, factored out from duplicate top
10516 level code.
10517 (continue tests): Wrap in with_test_prefix.
10518 (test_step): New procedure, factored out from duplicate top level
10519 code.
10520 (top level): Test "step" in combination with all scheduler-locking
10521 modes. Test "next" in combination with all scheduler-locking
10522 modes, and in combination with stepping over a function call or
10523 not.
10524 * gdb.threads/next-bp-other-thread.c: New file.
10525 * gdb.threads/next-bp-other-thread.exp: New file.
10526
10527 2014-10-29 Pedro Alves <palves@redhat.com>
10528
10529 PR python/17372
10530 * gdb.python/python.exp: Test a multi-line command that spawns
10531 interactive Python.
10532 * gdb.base/multi-line-starts-subshell.exp: New file.
10533
10534 2014-10-29 Yao Qi <yao@codesourcery.com>
10535
10536 * gdb.base/fileio.exp: Make directories on host.
10537
10538 2014-10-29 Yao Qi <yao@codesourcery.com>
10539
10540 * gdb.base/fileio.c (test_write): Close the file.
10541
10542 2014-10-28 Pedro Alves <palves@redhat.com>
10543
10544 PR gdb/12623
10545 * gdb.base/sigstep.c (no_handler): New global.
10546 (main): If 'no_handler is true, set the signal handlers to
10547 SIG_IGN.
10548 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
10549 with_sw_watch and no_handler parameters. Handle them.
10550 (top level) <stepping over handler when stopped at a breakpoint
10551 test>: Add a test axis for testing with a software watchpoint, and
10552 another for testing with the signal handler set to SIG_IGN.
10553 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
10554 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
10555
10556 2014-10-28 Pedro Alves <palves@redhat.com>
10557
10558 PR gdb/17511
10559 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
10560 * gdb.base/sigstep.exp (other_handler_location): New global.
10561 (advance): Support stepping into the signal handler, and running
10562 commands while in the handler.
10563 (in_handler_map): New global.
10564 (top level): In the advance test, add combinations for getting
10565 into the handler with stepping commands, and for running commands
10566 in the handler. Add comment descripting the advancei tests.
10567
10568 2014-10-28 Pedro Alves <palves@redhat.com>
10569
10570 * gdb.base/sigstep.exp: Use build_executable instead of
10571 prepare_for_testing.
10572 (top level): Move code that starts GDB, runs to main and creates a
10573 display to ...
10574 (restart): ... this new procedure.
10575 (top level): Move backtrace from signal handler test to ...
10576 (validate_backtrace): ... this new procedure.
10577 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
10578 with_test_prefix. Always restart GDB.
10579 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
10580 with_test_prefix. Always restart GDB. No need to delete
10581 breakpoints after the test.
10582 (test_skip_handler): Remove prefix parameter.
10583 (skip_over_handler, breakpoint_to_handler)
10584 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
10585 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
10586 restart GDB. No need to delete breakpoints after the test.
10587 (top level): Use foreach to call the test procedures with
10588 different commands.
10589
10590 2014-10-28 Pedro Alves <palves@redhat.com>
10591
10592 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
10593 instead of GNATS numbers.
10594 * gdb.base/sigbpt.exp: Likewise.
10595 * gdb.base/siginfo.exp: Likewise.
10596 * gdb.base/sigstep.exp: Likewise.
10597
10598 2014-10-27 Pedro Alves <palves@redhat.com>
10599
10600 * gdb.base/sigstep.c (dummy): New global.
10601 (main): Issue a couple writes to the new global.
10602 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
10603 procedures.
10604 (skip_over_handler): Use test_skip_handler.
10605 (top level): Call skip_over_handler for stepi and nexti too.
10606 (breakpoint_over_handler): Use test_skip_handler.
10607 (top level): Call breakpoint_over_handler for stepi and nexti too.
10608
10609 2014-10-27 Yao Qi <yao@codesourcery.com>
10610
10611 * gdb.trace/tfile.c (adjust_function_address)
10612 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
10613 function descriptor.
10614
10615 2014-10-24 Don Breazeal <donb@codesourcery.com>
10616
10617 * gdb.base/foll-fork.exp (test_follow_fork,
10618 catch_fork_child_follow): Check for updated fork messages emitted
10619 from infrun.c.
10620 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
10621 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
10622 vfork_and_exec_child_follow_through_step): Check for updated vfork
10623 messages emitted from infrun.c.
10624
10625 2014-10-24 Pedro Alves <palves@redhat.com>
10626
10627 * gdb.base/corefile.exp: Remove references to ultrix.
10628 * gdb.base/interrupt.exp: Likewise.
10629 * gdb.base/whatis.exp: Likewise.
10630 * gdb.gdb/selftest.exp: Likewise.
10631 * gdb.threads/manythreads.exp: Likewise.
10632 * gdb.threads/print-threads.exp: Likewise.
10633 * gdb.threads/pthreads.exp:: Likewise.
10634 * gdb.threads/schedlock.exp: Likewise.
10635
10636 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
10637
10638 * gdb.cp/non-trivial-retval.cc: Add a test case.
10639 * gdb.cp/non-trivial-retval.exp: Add a test.
10640
10641 2014-10-20 Yao Qi <yao@codesourcery.com>
10642
10643 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
10644 * gdb.python/py-objfile-script-gdb.py: New file.
10645 * gdb.python/py-objfile-script.exp: Update reference to
10646 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
10647 of remote_download. Remove the dest file.
10648
10649 2014-10-20 Yao Qi <yao@codesourcery.com>
10650
10651 * gdb.base/checkpoint.exp: Don't remove file copied on host.
10652 * gdb.base/step-line.exp: Likewise.
10653 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
10654 * gdb.dwarf2/dw2-basic.exp: Likewise.
10655 * gdb.dwarf2/dw2-compressed.exp: Likewise.
10656 * gdb.dwarf2/dw2-filename.exp: Likewise.
10657 * gdb.dwarf2/dw2-intercu.exp: Likewise.
10658 * gdb.dwarf2/dw2-intermix.exp: Likewise.
10659 * gdb.dwarf2/dw2-producer.exp: Likewise.
10660 * gdb.dwarf2/mac-fileno.exp: Likewise.
10661 * gdb.python/py-frame-args.exp: Likewise.
10662 * gdb.python/py-framefilter.exp: Likewise.
10663 * gdb.python/py-mi.exp: Likewise.
10664 * gdb.python/py-objfile-script.exp: Likewise
10665 * gdb.python/py-pp-integral.exp: Likewise.
10666 * gdb.python/py-pp-re-notag.exp: Likewise.
10667 * gdb.python/py-prettyprint.exp: Likewise.
10668 * gdb.python/py-section-script.exp: Likewise.
10669 * gdb.python/py-typeprint.exp: Likewise.
10670 * gdb.python/py-xmethods.exp: Likewise.
10671 * gdb.stabs/weird.exp: Likewise.
10672 * gdb.xml/tdesc-regs.exp: Likewise.
10673
10674 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
10675
10676 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
10677 (out_cu): Use addr_len for the size of addresses.
10678 (out_line): Likewise. Size DW_LNE_set_address instruction
10679 according to addr_len.
10680 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
10681 (FUNC): Add START_INSNS to definition.
10682
10683 2014-10-18 Yao Qi <yao@codesourcery.com>
10684
10685 * gdb.base/argv0-symlink.exp: Check argv[0] value if
10686 gdb_has_argv0 return true.
10687 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
10688 check [target_info exists noargs], check [gdb_has_argv0]
10689 instead.
10690 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
10691 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
10692 procedures.
10693
10694 2014-10-17 Doug Evans <dje@google.com>
10695
10696 * gdb.python/py-events.exp: Update expected output for clear_objfiles
10697 event.
10698 * gdb.python/py-events.py: Add clear_objfiles event.
10699
10700 2014-10-17 Doug Evans <dje@google.com>
10701
10702 * gdb.python/py-objfile.exp: Test progspace attribute.
10703
10704 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
10705
10706 * gdb.guile/scm-breakpoint.exp: Do not assume any
10707 directory separators when matching source file paths.
10708 * gdb.python/py-breakpoint.exp: Likewise.
10709 * gdb.reverse/break-precsave.exp: Likewise.
10710 * gdb.reverse/break-reverse.exp: Likewise.
10711 * gdb.reverse/consecutive-precsave.exp: Likewise.
10712 * gdb.reverse/finish-precsave.exp: Likewise.
10713 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
10714 * gdb.reverse/finish-reverse.exp: Likewise.
10715 * gdb.reverse/i386-precsave.exp: Likewise.
10716 * gdb.reverse/i387-env-reverse.exp: Likewise.
10717 * gdb.reverse/i387-stack-reverse.exp: Likewise.
10718 * gdb.reverse/machinestate-precsave.exp: Likewise.
10719 * gdb.reverse/machinestate.exp: Likewise.
10720 * gdb.reverse/sigall-precsave.exp: Likewise.
10721 * gdb.reverse/solib-precsave.exp: Likewise.
10722 * gdb.reverse/step-precsave.exp: Likewise.
10723 * gdb.reverse/until-precsave.exp: Likewise.
10724 * gdb.reverse/watch-precsave.exp: Likewise.
10725 * gdb.reverse/watch-reverse.exp: Likewise.
10726
10727 2014-10-17 Yao Qi <yao@codesourcery.com>
10728
10729 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
10730 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
10731
10732 2014-10-17 Pedro Alves <palves@redhat.com>
10733
10734 PR gdb/17471
10735 * gdb.base/bg-execution-repeat.c: New file.
10736 * gdb.base/bg-execution-repeat.exp: New file.
10737
10738 2014-10-17 Pedro Alves <palves@redhat.com>
10739
10740 PR gdb/17300
10741 * gdb.base/continue-all-already-running.c: New file.
10742 * gdb.base/continue-all-already-running.exp: New file.
10743
10744 2014-10-17 Pedro Alves <palves@redhat.com>
10745
10746 PR gdb/17472
10747 * gdb.base/annota-input-while-running.c: New file.
10748 * gdb.base/annota-input-while-running.exp: New file.
10749
10750 2014-10-17 Pedro Alves <palves@redhat.com>
10751
10752 * gdb.base/callfuncs.exp: emove references to osf.
10753 * gdb.base/sigall.exp: Likewise.
10754 * gdb.gdb/selftest.exp: Likewise.
10755 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
10756 * gdb.mi/non-stop.c: Likewise.
10757 * gdb.mi/pthreads.c: Likewise.
10758 * gdb.reverse/sigall-precsave.exp: Likewise.
10759 * gdb.reverse/sigall-reverse.exp: Likewise.
10760 * gdb.threads/pthreads.c: Likewise.
10761 * gdb.threads/pthreads.exp: Likewise.
10762
10763 2014-10-17 Yao Qi <yao@codesourcery.com>
10764
10765 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
10766 check 'target_info exists noargs'.
10767 (test_command_prompt_position): Likewise.
10768 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
10769 Remove "set args".
10770 (progvar_simple_while_test): Likewise.
10771 (progvar_complex_if_while_test): Likewise.
10772 (if_while_breakpoint_command_test): Likewise.
10773 (infrun_breakpoint_command_test): Likewise.
10774 (breakpoint_command_test): Likewise.
10775 (watchpoint_command_test): Likewise.
10776 (bp_deleted_in_command_test): Likewise.
10777 (temporary_breakpoint_commands): Likewise.
10778
10779 2014-10-16 Yao Qi <yao@codesourcery.com>
10780
10781 * gdb.base/remotetimeout.exp: Remove noargs checking.
10782
10783 2014-10-15 Pedro Alves <palves@redhat.com>
10784
10785 PR breakpoints/9649
10786 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
10787 * gdb.base/breakpoint-in-ro-region.exp
10788 (probe_target_hardware_step): New procedure.
10789 (top level): Probe hardware stepping and hardware breakpoint
10790 support. Test stepping through a read-only region, with both
10791 "breakpoint auto-hw" on and off and both "always-inserted" on and
10792 off.
10793
10794 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
10795
10796 * gdb.dlang/demangle.exp: Update for demangling changes.
10797
10798 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
10799
10800 * gdb.cp/non-trivial-retval.cc: Add new test cases.
10801 * gdb.cp/non-trivial-retval.exp: Add new tests.
10802
10803 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
10804
10805 PR c++/13403
10806 PR c++/15154
10807 * gdb.cp/non-trivial-retval.cc: New file.
10808 * gdb.cp/non-trivial-retval.exp: New file.
10809
10810 2014-10-15 Yao Qi <yao@codesourcery.com>
10811
10812 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
10813 remote host.
10814
10815 2014-10-15 Yao Qi <yao@codesourcery.com>
10816
10817 * gdb.python/py-symbol.exp: Match file base name if host is
10818 remote, otherwise match file name with dir name.
10819 * gdb.python/py-symtab.exp: Likewise.
10820 * gdb.python/python.exp: Likewise.
10821
10822 2014-10-15 Yao Qi <yao@codesourcery.com>
10823
10824 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
10825 pattern.
10826 * gdb.python/py-symtab.exp: Likewise.
10827 * gdb.python/python.exp: Remove trailing ".*". Fix typo
10828 locationn.
10829
10830 2014-10-14 Joel Brobecker <brobecker@adacore.com>
10831
10832 * gdb.ada/addr_arith: New testcase.
10833
10834 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
10835
10836 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
10837 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
10838 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
10839 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
10840
10841 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
10842
10843 * gdb.arch/stap-eval-lang-ada.S: Likewise.
10844 * gdb.arch/stap-eval-lang-ada.c: Likewise.
10845 * gdb.arch/stap-eval-lang-ada.exp: New file.
10846
10847 2014-10-14 Yao Qi <yao@codesourcery.com>
10848
10849 * gdb.mi/mi-var-child.c (nothing1): New function.
10850 (nothing2): New function.
10851 (do_children_tests): Set function pointers by nothing1 and
10852 nothing2.
10853 * gdb.mi/mi-var-child.exp: Step over new added statements.
10854 Update test to match the new output.
10855 * gdb.mi/var-cmd.c (nothing1): New function.
10856 (nothing2): New function.
10857 (do_children_tests): Set function pointers by nothing1 and
10858 nothing2.
10859 * gdb.mi/mi-var-display.exp: Update test to match output.
10860 Step to the line specified by $line_dct_nothing.
10861 Increase the number of lines to step.
10862
10863 2014-10-14 Yao Qi <yao@codesourcery.com>
10864
10865 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
10866 tests.
10867 * gdb.mi/mi2-var-child.exp: Likewise.
10868
10869 2014-10-13 Doug Evans <dje@google.com>
10870
10871 * gdb.python/py-objfile.exp: Change name of file name test.
10872
10873 2014-10-13 Doug Evans <dje@google.com>
10874
10875 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
10876 from the start of the CU.
10877
10878 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10879 Yao Qi <yao@codesourcery.com>
10880
10881 Fix "save breakpoints" for "catch" command.
10882 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
10883 Remove -nonewline. Match also the added "main" line.
10884
10885 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
10886
10887 Fix "save breakpoints" for "disable $bpnum" command.
10888 * gdb.base/save-bp.c (main): Add label.
10889 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
10890
10891 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
10892
10893 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
10894
10895 2014-10-11 Yao Qi <yao@codesourcery.com>
10896
10897 * gdb.server/server-kill.exp: Execute command
10898 "set remote trace-status-packet on" before "tstatus".
10899
10900 2014-10-11 Yao Qi <yao@codesourcery.com>
10901
10902 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
10903 (main): Call getppid.
10904 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
10905 and continue to it. Read variable "server_pid".
10906
10907 2014-10-11 Yao Qi <yao@codesourcery.com>
10908
10909 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
10910
10911 2014-10-11 Yao Qi <yao@codesourcery.com>
10912
10913 * gdb.threads/thread-find.exp: Don't execute command
10914 "info threads".
10915 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
10916 * gdb.threads/linux-dp.exp: Don't check the condition
10917 $threads_created equals to zero.
10918
10919 2014-10-10 Pedro Alves <palves@redhat.com>
10920
10921 * gdb.base/bigcore.exp: Remove references to IRIX.
10922 * gdb.base/funcargs.exp: Likewise.
10923 * gdb.base/interrupt.exp: Likewise.
10924 * gdb.base/mips_pro.exp: Likewise.
10925 * gdb.base/nodebug.exp: Likewise.
10926 * gdb.base/setvar.exp: Likewise.
10927 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
10928
10929 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
10930 Pedro Alves <palves@redhat.com>
10931
10932 PR symtab/14466
10933 * gdb.base/vdso-warning.c: New file.
10934 * gdb.base/vdso-warning.exp: New file.
10935
10936 2014-10-02 Doug Evans <dje@google.com>
10937
10938 * gdb.base/structs.c (main): Don't run forever.
10939
10940 2014-10-02 Pedro Alves <palves@redhat.com>
10941
10942 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
10943 (top level) <stop threads 1, stop threads 2>: Use it.
10944
10945 2014-10-02 Pedro Alves <palves@redhat.com>
10946
10947 * gdb.threads/break-while-running.exp (test): Add new
10948 'update_thread_list' argument. Skip "info threads" if false.
10949 (top level): Add new 'update_thread_list' axis.
10950
10951 2014-10-02 Pedro Alves <palves@redhat.com>
10952
10953 PR breakpoints/17431
10954 * gdb.base/execl-update-breakpoints.c: New file.
10955 * gdb.base/execl-update-breakpoints.exp: New file.
10956
10957 2014-10-01 Pedro Alves <palves@redhat.com>
10958
10959 * gdb.base/breakpoint-in-ro-region.c: New file.
10960 * gdb.base/breakpoint-in-ro-region.exp: New file.
10961
10962 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
10963
10964 * gdb.mi/mi-exit-code.exp: New file.
10965 * gdb.mi/mi-exit-code.c: New file.
10966
10967 2014-09-30 Yao Qi <yao@codesourcery.com>
10968
10969 * lib/prelink-support.exp (build_executable_own_libs): Error if
10970 the target isn't native.
10971
10972 2014-09-30 Yao Qi <yao@codesourcery.com>
10973
10974 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
10975 false.
10976
10977 2014-09-22 Pedro Alves <palves@redhat.com>
10978
10979 * gdb.threads/break-while-running.exp: New file.
10980 * gdb.threads/break-while-running.c: New file.
10981
10982 2014-09-19 Yao Qi <yao@codesourcery.com>
10983
10984 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
10985 Invoke test. Restart GDB with --readnow and invoke test again.
10986
10987 2014-09-19 Yao Qi <yao@codesourcery.com>
10988
10989 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
10990 proc set_breakpoint_on_gcd_function. Invoke
10991 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
10992 invoke set_breakpoint_on_gcd_function again.
10993
10994 2014-09-18 Doug Evans <dje@google.com>
10995
10996 * gdb.dwarf2/symtab-producer.exp: New file.
10997
10998 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
10999
11000 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
11001 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
11002 * gdb.base/global-var-nested-by-dso.c: Likewise.
11003 * gdb.base/global-var-nested-by-dso.exp: Likewise.
11004
11005 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
11006 Pedro Alves <palves@redhat.com>
11007
11008 * gdb.base/watch-bitfields.exp: Pass string other than test file
11009 name to prepare_for_testing.
11010 (watch): New procedure.
11011 (expect_watchpoint): Use with_test_prefix.
11012 (top level): Factor out tests to ...
11013 (test_watch_location, test_regular_watch): ... these new
11014 procedures, and use with_test_prefix and gdb_continue_to_end.
11015
11016 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
11017
11018 PR breakpoints/12526
11019 * gdb.base/watch-bitfields.exp: New file.
11020 * gdb.base/watch-bitfields.c: New file.
11021
11022 2014-09-16 Pedro Alves <palves@redhat.com>
11023
11024 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
11025 software and hardware addresses, not software address against
11026 itself.
11027
11028 2014-09-16 Pedro Alves <palves@redhat.com>
11029
11030 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
11031 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
11032
11033 2014-09-16 Pedro Alves <palves@redhat.com>
11034
11035 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
11036 files.
11037 * gdb.base/a2-run.exp: Remove all code guarded by istarget
11038 "*-*-vxworks*" throughout.
11039 * gdb.base/break.exp: Likewise.
11040 * gdb.base/default.exp: Likewise.
11041 * gdb.base/scope.exp: Likewise.
11042 * gdb.base/sepdebug.exp: Likewise.
11043 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
11044 throughout.
11045 * gdb.base/run.c: Likewise.
11046 * gdb.base/sepdebug.c: Likewise.
11047 * gdb.hp/gdb.aCC/run.c: Likewise.
11048 * gdb.reverse/until-reverse.c: Likewise.
11049 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
11050
11051 2014-09-16 Yao Qi <yao@codesourcery.com>
11052
11053 * boards/local-remote-host-native.exp: New file.
11054
11055 2014-09-14 Doug Evans <xdje42@gmail.com>
11056
11057 * gdb.threads/queue-signal.c (thread_count): New variable.
11058 (thread_count_mutex, thread_count_condvar): New variables.
11059 (incr_thread_count, wait_all_threads_running): New functions.
11060 (main): Wait for all threads to be in their thread functions.
11061
11062 2014-09-13 Doug Evans <xdje42@gmail.com>
11063
11064 * gdb.threads/queue-signal.c: New file.
11065 * gdb.threads/queue-signal.exp: New file.
11066
11067 2014-09-13 Doug Evans <xdje42@gmail.com>
11068
11069 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
11070 be consistent with what default_gdb_init uses.
11071 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
11072 the plain text of the prompt. Add some logging printfs.
11073 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
11074
11075 2014-09-12 Pedro Alves <palves@redhat.com>
11076
11077 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
11078 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
11079 * gdb.arch/i386-size-overlap.exp: Likewise.
11080 * gdb.arch/i386-size.exp: Likewise.
11081 * gdb.arch/i386-unwind.exp: Likewise.
11082 * gdb.base/a2-run.exp: Likewise.
11083 * gdb.base/break.exp: Likewise.
11084 * gdb.base/charset.exp: Likewise.
11085 * gdb.base/chng-syms.exp: Likewise.
11086 * gdb.base/commands.exp: Likewise.
11087 * gdb.base/dbx.exp: Likewise.
11088 * gdb.base/find.exp: Likewise.
11089 * gdb.base/funcargs.exp: Likewise.
11090 * gdb.base/jit-simple.exp: Likewise.
11091 * gdb.base/reread.exp: Likewise.
11092 * gdb.base/sepdebug.exp: Likewise.
11093 * gdb.base/step-bt.exp: Likewise.
11094 * gdb.cp/mb-inline.exp: Likewise.
11095 * gdb.cp/mb-templates.exp: Likewise.
11096 * gdb.objc/basicclass.exp: Likewise.
11097 * gdb.threads/killed.exp: Likewise.
11098
11099 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
11100
11101 PR tdep/17379
11102 * gdb.arch/powerpc-stackless.S: New file.
11103 * gdb.arch/powerpc-stackless.exp: New file.
11104
11105 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
11106
11107 * gdb.base/attach.c: Include unistd.h.
11108 (main): Call alarm. Add label postloop.
11109 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
11110 gdb_breakpoint, gdb_continue_to_breakpoint.
11111 (test_command_line_attach_run): Kill ${testpid} in one exit path.
11112
11113 2014-09-11 Pedro Alves <palves@redhat.com>
11114
11115 PR gdb/17347
11116 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
11117 * gdb.base/attach.exp (test_command_line_attach_run): New
11118 procedure.
11119 (top level): Call it.
11120
11121 2014-09-11 Pedro Alves <palves@redhat.com>
11122
11123 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
11124 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
11125 (do_command_attach_tests): Use spawn_wait_for_attach.
11126 * gdb.base/solib-overlap.exp: Likewise.
11127 * gdb.multi/multi-attach.exp: Likewise.
11128 * gdb.python/py-prompt.exp: Likewise.
11129 * gdb.python/py-sync-interp.exp: Likewise.
11130 * gdb.server/ext-attach.exp: Likewise.
11131
11132 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
11133
11134 * gdb.fortran/array-element.exp: Remove unexpected "continue"
11135 command in testcase. Simplify testcase.
11136
11137 2014-09-10 Joel Brobecker <brobecker@adacore.com>
11138
11139 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
11140
11141 2014-09-10 Joel Brobecker <brobecker@adacore.com>
11142
11143 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
11144
11145 2014-09-10 Joel Brobecker <brobecker@adacore.com>
11146
11147 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
11148
11149 2014-09-10 Joel Brobecker <brobecker@adacore.com>
11150
11151 * gdb.dwarf2/dynarr-ptr.c: New file.
11152 * gdb.dwarf2/dynarr-ptr.exp: New file.
11153
11154 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
11155
11156 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
11157 of 30 rather than hardcoding 120 for a slow test case. Take the
11158 `gdb,timeout' target setting into account for this calculation.
11159 Don't extend the timeout for the test cases that don't need it.
11160
11161 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
11162
11163 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
11164 a factor of 2 for a slow test case. Take the `gdb,timeout'
11165 target setting into account for this calculation.
11166 * gdb.reverse/until-precsave.exp: Increase the timeout by
11167 a factor of 15 and 3 respectively rather than adding 120
11168 for a pair of slow test cases. Take the `gdb,timeout'
11169 target setting into account for this calculation.
11170
11171 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
11172
11173 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
11174 timeout, don't pass one down to gdb_expect.
11175 (gdb_expect): Rework timeout selection.
11176
11177 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
11178
11179 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
11180 exception on timeout.
11181 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
11182 (gdbserver_start_extended): Catch any `gdbserver_start' error
11183 exceptions.
11184 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
11185 * lib/mi-support.exp (mi_gdb_target_load): Catch any
11186 `gdbserver_gdb_load' error exceptions.
11187
11188 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
11189
11190 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
11191 120 on waiting for the TCP socket to open.
11192
11193 2014-09-09 Doug Evans <xdje42@gmail.com>
11194
11195 * gdb.base/default.exp (show_conv_list): Add _caller_is,
11196 _caller_matches, _any_caller_is, _any_caller_matches.
11197
11198 2014-09-09 Doug Evans <xdje42@gmail.com>
11199
11200 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
11201
11202 2014-09-09 Yao Qi <yao@codesourcery.com>
11203
11204 * gdb.mi/mi-var-display.exp: Set print symbol off.
11205
11206 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
11207
11208 PR gdb/17035
11209 * gdb.base/commands.exp: Add tests to verify user-defined
11210 commands with empty bodies.
11211 * gdb.python/py-cmd.exp: Test that we don't show user-defined
11212 python commands in `show user command`.
11213 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
11214 scheme commands in `show user command`.
11215
11216 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11217
11218 PR python/17355
11219 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
11220 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
11221 * gdb.python/py-framefilter-invalidarg.exp: New file.
11222 * gdb.python/py-framefilter-invalidarg.py: New file.
11223
11224 2014-09-06 Doug Evans <xdje42@gmail.com>
11225
11226 PR 15276
11227 * gdb.python/py-caller-is.c: New file.
11228 * gdb.python/py-caller-is.exp: New file.
11229
11230 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
11231
11232 PR gdb/17235
11233 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
11234 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
11235
11236 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
11237
11238 PR fortran/17237
11239 * gdb.fortran/print-formatted.exp: New file.
11240 * gdb.fortran/print-formatted.f90: Likewise.
11241
11242 2014-09-03 Sasha Smundak <asmundak@google.com>
11243
11244 * gdb.python/py-frame.exp: Test Frame.read_register.
11245
11246 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
11247
11248 PR python/16699
11249 * gdb.python/py-completion.exp: New file.
11250 * gdb.python/py-completion.py: Likewise.
11251
11252 2014-08-28 Doug Evans <dje@google.com>
11253
11254 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
11255 eax,etc. are live with values set by gdb and thus the compiler can't
11256 use them.
11257 * gdb.arch/i386-pseudo.c (main): Ditto.
11258
11259 2014-08-27 Doug Evans <dje@google.com>
11260
11261 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
11262
11263 2014-08-25 Doug Evans <dje@google.com>
11264
11265 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
11266 (main): Ditto.
11267
11268 2014-08-25 Doug Evans <dje@google.com>
11269
11270 * gdb.threads/thread-execl.exp: #include <stdio.h>.
11271
11272 2014-08-24 Yao Qi <yao@codesourcery.com>
11273
11274 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
11275 symbol off.
11276 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
11277
11278 2014-08-22 Doug Evans <dje@google.com>
11279
11280 PR 17276
11281 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
11282 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
11283 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
11284
11285 2014-08-22 Yao Qi <yao@codesourcery.com>
11286
11287 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
11288 * gdb.python/py-finish-breakpoint2.exp: Likewise.
11289 * gdb.python/python.exp: Likewise. Use .py file on the host
11290 instead of the build.
11291
11292 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
11293
11294 * gdb.threads/gcore-stale-thread.c: New file.
11295 * gdb.threads/gcore-stale-thread.exp: New file.
11296
11297 2014-08-21 Pedro Alves <palves@redhat.com>
11298
11299 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
11300 * gdb.base/gcore-relro-pie.exp: Likewise.
11301 * gdb.base/gcore-relro.exp: Likewise.
11302 * gdb.base/gcore.exp: Likewise.
11303 * gdb.base/print-symbol-loading.exp: Likewise.
11304 * gdb.threads/gcore-thread.exp: Likewise.
11305 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
11306
11307 2014-08-20 Pedro Alves <palves@redhat.com>
11308 Jan Kratochvil <jan.kratochvil@redhat.com>
11309
11310 * Makefile.in (EXTRA_RULES, CC): New variables, get from
11311 configure.
11312 (EXPECT): Handle READ1 being set.
11313 (all): Depend on EXTRA_RULES.
11314 (check-read1, expect-read1, read1.so, read1): New rules.
11315 * README (Testsuite Parameters): Document the READ1 make variable.
11316 (Race detection): New section.
11317 * configure: Regenerate.
11318 * configure.ac: If build==host==target, and running under a
11319 GNU/glibc system, add read1 to the extra Makefile rules.
11320 (EXTRA_RULES): AC_SUBST it.
11321 * lib/read1.c: New file.
11322
11323 2014-08-20 Joel Brobecker <brobecker@adacore.com>
11324
11325 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
11326 the handling of variables declared as a typedef to an array
11327 which a DW_AT_data_location attribute.
11328
11329 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
11330 Pedro Alves <palves@redhat.com>
11331
11332 PR symtab/14604
11333 PR symtab/14605
11334 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
11335 gdb_test.
11336
11337 2014-08-19 Pedro Alves <palves@redhat.com>
11338
11339 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
11340
11341 2014-08-19 Yao Qi <yao@codesourcery.com>
11342
11343 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
11344 right line.
11345
11346 2014-08-18 David Blaikie <dblaikie@gmail.com>
11347
11348 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
11349
11350 2014-08-18 Joel Brobecker <brobecker@adacore.com>
11351
11352 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
11353 attribute in array range.
11354
11355 2014-08-18 Joel Brobecker <brobecker@adacore.com>
11356
11357 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
11358
11359 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
11360
11361 PR c++/17132
11362 * gdb.cp/pr17132.cc: New file.
11363 * gdb.cp/pr17132.exp: New file.
11364
11365 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
11366
11367 * gdb.python/py-xmethods.py (A_getarrayind)
11368 (E_method_char_worker.__call__, E_method_int_worker.__call__):
11369 Use 'print' with function call syntax.
11370 (E_method_matcher.match): Fix tab vs space indentation mixup.
11371
11372 2014-08-15 Yao Qi <yao@codesourcery.com>
11373
11374 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
11375 false.
11376
11377 2014-08-15 Yao Qi <yao@codesourcery.com>
11378
11379 * gdb.cp/casts.exp: Set print symbol off.
11380 * gdb.cp/class2.exp: Likewise.
11381 * gdb.cp/overload.exp: Likewise.
11382 * gdb.cp/templates.exp: Likewise.
11383
11384 2014-08-11 Doug Evans <dje@google.com>
11385
11386 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
11387 (test_load_shlib): Update.
11388
11389 2014-08-09 Yao Qi <yao@codesourcery.com>
11390
11391 * gdb.base/display.exp: Invoke is_address_zero_readable.
11392 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
11393 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
11394 * gdb.base/hbreak-unmapped.exp: Return if
11395 is_address_zero_readable returns true.
11396 * gdb.base/signest.exp: Likewise.
11397 * gdb.base/signull.exp: Likewise.
11398 * gdb.base/sigbpt.exp: Likewise.
11399 * gdb.guile/scm-disasm.exp: Do the test if
11400 is_address_zero_readable returns false.
11401 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
11402 * gdb.python/py-arch.exp: Likewise.
11403 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
11404 * lib/gdb.exp (is_address_zero_readable): New proc.
11405
11406 2014-08-09 Yao Qi <yao@codesourcery.com>
11407
11408 PR testsuite/13443
11409 * gdb.mi/mi-var-display.exp: Make test messages unique.
11410
11411 2014-08-04 Tom Tromey <tromey@redhat.com>
11412
11413 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
11414 target 0".
11415
11416 2014-08-04 Tom Tromey <tromey@redhat.com>
11417
11418 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
11419 "target_resume".
11420
11421 2014-08-01 Joel Brobecker <brobecker@adacore.com>
11422
11423 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
11424 inner_vla_struct_object_size.
11425 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
11426 as xfail.
11427
11428 2014-07-30 Pedro Alves <palves@redhat.com>
11429
11430 * gdb.threads/signal-command-handle-nopass.exp (test): Add
11431 comment.
11432
11433 2014-07-29 Yao Qi <yao@codesourcery.com>
11434
11435 PR gdb/17206
11436 * gdb.base/until-nodebug.exp: New.
11437
11438 2014-07-28 Doug Evans <xdje42@gmail.com>
11439
11440 PR guile/17203
11441 * gdb.guile/scm-parameter.exp: Add tests for trying to create
11442 previously existing parameter, and previously ambiguously spelled
11443 parameter.
11444
11445 2014-07-28 Will Newton <will.newton@linaro.org>
11446
11447 * gdb.base/varargs.exp: Remove KFAILs for ARM.
11448
11449 2014-07-26 Ludovic Courtès <ludo@gnu.org>
11450 Doug Evans <xdje42@gmail.com>
11451
11452 PR guile/17146
11453 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
11454
11455 2014-07-25 Pedro Alves <palves@redhat.com>
11456
11457 * gdb.threads/signal-command-handle-nopass.c: New file.
11458 * gdb.threads/signal-command-handle-nopass.exp: New file.
11459 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
11460 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
11461 * gdb.threads/signal-delivered-right-thread.c: New file.
11462 * gdb.threads/signal-delivered-right-thread.exp: New file.
11463
11464 2014-07-25 Pedro Alves <palves@redhat.com>
11465
11466 * gdb.base/double-prompt-target-event-error.exp
11467 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
11468 match.
11469 (cancel_pagination_in_target_event): Rework double prompt
11470 detection.
11471 * gdb.base/paginate-after-ctrl-c-running.exp
11472 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
11473 <return>' match.
11474 * gdb.base/paginate-bg-execution.exp
11475 (test_bg_execution_pagination_return)
11476 (test_bg_execution_pagination_cancel): Remove '-notransfer
11477 <return>' matches.
11478 * gdb.base/paginate-execution-startup.exp
11479 (test_fg_execution_pagination_return)
11480 (test_fg_execution_pagination_cancel): Remove '-notransfer
11481 <return>' matches.
11482 * gdb.base/paginate-inferior-exit.exp
11483 (test_paginate_inferior_exited): Remove '-notransfer <return>'
11484 match.
11485 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
11486 * lib/gdb.exp (pagination_prompt): Run text through
11487 string_to_regexp.
11488 (gdb_test_multiple): Match $pagination_prompt instead of
11489 "<return>".
11490 (string_to_regexp): Move to lib/gdb-utils.exp.
11491
11492 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11493
11494 * gdb.arch/amd64-entry-value-paramref.S: New file.
11495 * gdb.arch/amd64-entry-value-paramref.cc: New file.
11496 * gdb.arch/amd64-entry-value-paramref.exp: New file.
11497 * gdb.arch/amd64-optimout-repeat.S: New file.
11498 * gdb.arch/amd64-optimout-repeat.c: New file.
11499 * gdb.arch/amd64-optimout-repeat.exp: New file.
11500
11501 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
11502
11503 PR gdb/17170
11504 * gdb.base/statistics.exp: New file.
11505
11506 2014-07-17 Doug Evans <dje@google.com>
11507
11508 PR gdb/17170
11509 * gdb.base/maint.exp: Update testing of per-command stats.
11510
11511 2014-07-16 Pedro Alves <palves@redhat.com>
11512
11513 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
11514 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
11515 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
11516 (tfile_write_buf): New functions.
11517 (add_memory_block): Rewrite using the above.
11518 (adjust_function_address): New function.
11519 (FUNCTION_ADDRESS): New macro.
11520 (write_basic_trace_file): Remove short_x local, and use
11521 tfile_write_16. Change type of func_addr local to unsigned long
11522 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
11523 here. Cast argument of add_memory_block to char pointer.
11524 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
11525 (main): Remove parameters.
11526 * gdb.trace/tfile.exp: Remove nowarnings.
11527
11528 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
11529
11530 * gdb.base/debug-expr.exp: Test string evaluation with
11531 "debug expression" on.
11532
11533 2014-07-15 Pedro Alves <palves@redhat.com>
11534
11535 * gdb.base/reread.exp: Use clean_restart.
11536
11537 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
11538
11539 * gdb.arch/avr-flash-qualifer.c: New.
11540 * gdb.arch/avr-flash-qualifer.exp: New.
11541
11542 2014-07-14 Pedro Alves <palves@redhat.com>
11543
11544 * gdb.base/paginate-after-ctrl-c-running.c: New file.
11545 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
11546
11547 2014-07-14 Pedro Alves <palves@redhat.com>
11548
11549 * gdb.base/double-prompt-target-event-error.c: New file.
11550 * gdb.base/double-prompt-target-event-error.exp: New file.
11551
11552 2014-07-14 Pedro Alves <palves@redhat.com>
11553
11554 PR gdb/17072
11555 * gdb.base/paginate-inferior-exit.c: New file.
11556 * gdb.base/paginate-inferior-exit.exp: New file.
11557
11558 2014-07-14 Pedro Alves <palves@redhat.com>
11559
11560 PR gdb/17072
11561 * gdb.base/paginate-bg-execution.c: New file.
11562 * gdb.base/paginate-bg-execution.exp: New file.
11563
11564 2014-07-14 Pedro Alves <palves@redhat.com>
11565
11566 PR gdb/17072
11567 * gdb.base/paginate-execution-startup.c: New file.
11568 * gdb.base/paginate-execution-startup.exp: New file.
11569 * lib/gdb.exp (pagination_prompt): New global.
11570 (default_gdb_spawn): New procedure, factored out from
11571 default_gdb_spawn.
11572 (default_gdb_start): Adjust to call default_gdb_spawn.
11573 (gdb_spawn): New procedure.
11574
11575 2014-07-14 Pedro Alves <palves@redhat.com>
11576
11577 * lib/gdb.exp (gdb_assert): New procedure.
11578 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
11579
11580 2014-07-14 Pedro Alves <palves@redhat.com>
11581
11582 * gdb.base/execution-termios.c: New file.
11583 * gdb.base/execution-termios.exp: New file.
11584
11585 2014-07-14 Tom Tromey <tromey@redhat.com>
11586
11587 * gdb.cp/vla-cxx.cc: New file.
11588 * gdb.cp/vla-cxx.exp: New file.
11589
11590 2014-07-14 Tom Tromey <tromey@redhat.com>
11591
11592 * gdb.reverse/rerun-prec.c: New file.
11593 * gdb.reverse/rerun-prec.exp: New file.
11594
11595 2014-07-12 Maciej W. Rozycki <macro@mips.com>
11596 Maciej W. Rozycki <macro@codesourcery.com>
11597
11598 * lib/gdb-utils.exp: New file.
11599 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
11600 inline `gdb_init_command' processing.
11601 (gdb_start_cmd): Likewise.
11602 * lib/mi-support.exp (mi_run_cmd): Likewise.
11603 * README: Document `gdb_init_command' and `gdb_init_commands'.
11604
11605 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11606
11607 Fix false FAIL running under a very long directory name.
11608 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
11609 and "set print elements 10000". Twice.
11610
11611 2014-07-11 Yao Qi <yao@codesourcery.com>
11612
11613 * gdb.base/exprs.exp: "set print symbol off".
11614
11615 2014-07-11 Pedro Alves <palves@redhat.com>
11616
11617 * gdb.threads/kill.c: New file.
11618 * gdb.threads/kill.exp: New file.
11619
11620 2014-07-10 Yao Qi <yao@codesourcery.com>
11621
11622 * gdb.trace/tfile.c (write_basic_trace_file)
11623 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
11624 address written to trace file.
11625
11626 2014-07-09 Pedro Alves <palves@redhat.com>
11627
11628 * gdb.base/attach-wait-input.exp: New file.
11629 * gdb.base/attach-wait-input.c: New file.
11630
11631 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
11632
11633 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
11634 setting up test structures.
11635 (main): Call new test function.
11636 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
11637 test function, continue into test function and walk test
11638 structures.
11639
11640 2014-07-02 Yao Qi <yao@codesourcery.com>
11641
11642 * gdb.trace/entry-values.c: Define labels 'foo_start' and
11643 'bar_start' at the beginning of functions 'foo' and 'bar'
11644 respectively.
11645 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
11646 instead of 'foo' and 'bar'.
11647
11648 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
11649
11650 * gdb.btrace/segv.exp: New.
11651 * gdb.btrace/segv.c: New.
11652
11653 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
11654
11655 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
11656 instruction.
11657
11658 2014-06-30 Mark Wielaard <mjw@redhat.com>
11659
11660 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
11661 vulture, vilify, villar): New volatile array constants.
11662 (vindictive, vegetation): New const volatile array constants.
11663 * gdb.base/volatile.exp: Test volatile and const volatile array
11664 types.
11665
11666 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
11667
11668 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
11669 target lacks support for awatch, rwatch, or hbreak.
11670
11671 2014-06-27 Yao Qi <yao@codesourcery.com>
11672
11673 * gdb.multi/dummy-frame-restore.exp: New.
11674 * gdb.multi/dummy-frame-restore.c: New.
11675
11676 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
11677
11678 * gdb.btrace/gcore.exp: New.
11679
11680 2014-06-23 Pedro Alves <palves@redhat.com>
11681
11682 * gdb.base/watchpoint-reuse-slot.c: New file.
11683 * gdb.base/watchpoint-reuse-slot.exp: New file.
11684
11685 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
11686
11687 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
11688 progspace's filename in 'info', 'enable' and 'disable' command
11689 tests.
11690
11691 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
11692
11693 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
11694 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
11695 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
11696
11697 2014-06-20 Gary Benson <gbenson@redhat.com>
11698
11699 * gdb.arch/i386-avx.exp: Fix include file location.
11700 * gdb.arch/i386-sse.exp: Likewise.
11701
11702 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
11703
11704 * gdb.dlang/expression.exp: New file.
11705
11706 2014-06-19 Pedro Alves <palves@redhat.com>
11707
11708 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
11709 out from ...
11710 (top level): ... here. Iterate running tests under different
11711 scheduler-locking settings.
11712
11713 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
11714
11715 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
11716 to DW_FORM_addr and use non-zero addresses.
11717
11718 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
11719
11720 PR gdb/17017
11721 * gdb.python/py-xmethods.cc: Add global function call counters and
11722 increment them in their respective functions. Remove "cout"
11723 statements.
11724 * gdb.python/py-xmethods.exp: Make tests check the global function
11725 call counters instead of depending on inferior IO.
11726
11727 2014-06-18 Don Breazeal <donb@codesourcery.com>
11728
11729 * gdb.base/foll-fork.exp (default_fork_parent_follow):
11730 Deleted procedure.
11731 (explicit_fork_parent_follow): Deleted procedure.
11732 (explicit_fork_child_follow): Deleted procedure.
11733 (test_follow_fork): New procedure.
11734 (do_fork_tests): Replace calls to deleted procedures with
11735 calls to test_follow_fork and reset GDB for subsequent
11736 procedure calls.
11737
11738 2014-06-17 Yao Qi <yao@codesourcery.com>
11739
11740 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
11741 CP1252.
11742
11743 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
11744
11745 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
11746 Initialize ptr and S explicitly.
11747 (skip_type_update_when_not_use_rtti_test): Likewise.
11748
11749 2014-06-16 Keith Seitz <keiths@redhat.com>
11750
11751 PR mi/15863
11752 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
11753 the inferior is started.
11754
11755 2014-06-16 Pedro Alves <palves@redhat.com>
11756
11757 * gdb.base/break-main-file-remove-fail.c: New file.
11758 * gdb.base/break-main-file-remove-fail.exp: New file.
11759 * gdb.base/break-unload-file.exp: Use build_executable instead of
11760 prepare_for_testing.
11761 (test_break): New parameter "initial_load". Handle it.
11762 (top level): Add initial_load cmdline/file axis.
11763
11764 2014-06-12 Tom Tromey <tromey@redhat.com>
11765
11766 * gdb.base/completion.exp: Don't use directory name in test.
11767
11768 2014-06-09 Gary Benson <gbenson@redhat.com>
11769
11770 * gdb.base/sigall.c [Functions to send signals]: Reorder to
11771 separate the always-available ANSI-standard signals from the
11772 signals that require checking.
11773 (main): Likewise.
11774 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
11775 Likewise.
11776 (main): Likewise.
11777
11778 2014-06-07 Keith Seitz <keiths@redhat.com>
11779
11780 Revert:
11781 PR c++/16253
11782 * gdb.cp/var-tag.cc: New file.
11783 * gdb.cp/var-tag.exp: New file.
11784 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
11785 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
11786 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
11787 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
11788
11789 2014-06-06 Doug Evans <xdje42@gmail.com>
11790
11791 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
11792
11793 2014-06-06 Pedro Alves <palves@redhat.com>
11794
11795 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
11796 in target debug output instead of looking at RSP packets,
11797 disabling the test on any target that uses hardware stepping.
11798 Update comments.
11799
11800 2014-06-06 Pedro Alves <palves@redhat.com>
11801
11802 * gdb.base/break-unload-file.exp: Fix typo.
11803
11804 2014-06-06 Yao Qi <yao@codesourcery.com>
11805
11806 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
11807 from "jit_function" to "^jit_function".
11808
11809 2014-06-06 Yao Qi <yao@codesourcery.com>
11810
11811 * gdb.base/async.c (foo): Add one statement.
11812 * gdb.base/async.exp: Get the next instruction address and
11813 match the output of "nexti" by instruction address. Match
11814 the hex address in the output of "finish".
11815
11816 2014-06-06 Gary Benson <gbenson@redhat.com>
11817
11818 * gdb.base/call-signals.c: Remove preprocessor conditionals
11819 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
11820 SIGSEGV and SIGTERM.
11821 * gdb.base/sigall.c: Likewise.
11822 * gdb.base/unwindonsignal.c: Likewise.
11823 * gdb.reverse/sigall-reverse.c: Likewise.
11824
11825 2014-06-06 Yao Qi <yao@codesourcery.com>
11826
11827 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
11828 readable, skip the test.
11829
11830 2014-06-06 Yao Qi <yao@codesourcery.com>
11831
11832 * gdb.threads/staticthreads.c (thread_function): Move the line
11833 setting breakpoint on forward.
11834 * gdb.threads/staticthreads.exp: Update comments.
11835
11836 2014-06-05 Ludovic Courtès <ludo@gnu.org>
11837
11838 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
11839 "history-append! type error".
11840
11841 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
11842
11843 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
11844 erroneous dprintf expected input.
11845
11846 2014-06-04 Doug Evans <xdje42@gmail.com>
11847
11848 * gdb.guile/scm-generics.exp: Delete.
11849
11850 2014-06-04 Doug Evans <xdje42@gmail.com>
11851
11852 * gdb.guile/scm-breakpoint.exp: Update.
11853 Add tests for breakpoint registration.
11854
11855 2014-06-04 Tom Tromey <tromey@redhat.com>
11856
11857 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
11858 VLA-in-union.
11859 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
11860 inner_vla_struct, vla_union types. Initialize objects of those
11861 types and compute their sizes.
11862
11863 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
11864 Hui Zhu <hui@codesourcery.com>
11865
11866 * gdb.base/fileio.exp: Add test for shell not available as well as
11867 available.
11868 * gdb.base/fileio.c (test_system): Check for shell twice.
11869
11870 2014-06-04 Yao Qi <yao@codesourcery.com>
11871
11872 * gdb.base/auto-connect-native-target.exp: Remove redundant
11873 space from the regexp pattern.
11874
11875 2014-06-04 Yao Qi <yao@codesourcery.com>
11876
11877 * gdb.base/default.exp: Replace "child" with "native" in
11878 regexp pattern.
11879
11880 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
11881
11882 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
11883 * gdb.python/py-xmethods.exp: New tests to test xmethods.
11884 * gdb.python/py-xmethods.py: Python script supporting the
11885 new testcase and tests.
11886
11887 2014-06-03 Joel Brobecker <brobecker@adacore.com>
11888 Pedro Alves <palves@redhat.com>
11889
11890 PR breakpoints/17000
11891 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
11892 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
11893
11894 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
11895
11896 * gdb.base/subst.exp: Add tests to verify partial path matching
11897 output.
11898
11899 2014-06-03 Pedro Alves <palves@redhat.com>
11900
11901 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
11902 target that doesn't use software single-stepping.
11903
11904 2014-06-03 Pedro Alves <palves@redhat.com>
11905
11906 PR breakpoints/17000
11907 * gdb.base/sss-bp-on-user-bp-2.c: New file.
11908 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
11909
11910 2014-06-02 Doug Evans <xdje42@gmail.com>
11911
11912 * gdb.guile/scm-parameter.exp: New file.
11913
11914 2014-06-02 Doug Evans <xdje42@gmail.com>
11915
11916 * gdb.guile/scm-cmd.c: New file.
11917 * gdb.guile/scm-cmd.exp: New file.
11918
11919 2014-06-02 Doug Evans <xdje42@gmail.com>
11920
11921 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
11922 pretty-printer lookup.
11923 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
11924 (make-pp_s-printer): Call it.
11925 (make-pretty-printer-from-dict): New function.
11926 (lookup-pretty-printer-maker-from-dict): New function.
11927 (*pretty-printer*): Simplify.
11928 (make-objfile-pp_s-printer): New function.
11929 (install-objfile-pretty-printers!): New function.
11930 (make-progspace-pp_s-printer): New function.
11931 (install-progspace-pretty-printers!): New function.
11932 * gdb.guile/scm-progspace.c: New file.
11933 * gdb.guile/scm-progspace.exp: New file.
11934
11935 2014-06-02 Pedro Alves <palves@redhat.com>
11936
11937 * gdb.base/dprintf-bp-same-addr.c: New file.
11938 * gdb.base/dprintf-bp-same-addr.exp: New file.
11939
11940 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
11941
11942 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
11943 * gdb.arch/powerpc-power.s: Likewise.
11944
11945 2014-06-02 Joel Brobecker <brobecker@adacore.com>
11946
11947 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
11948
11949 2014-06-01 Yao Qi <yao@codesourcery.com>
11950
11951 * gdb.base/watchpoint.exp (test_watch_location): Check null
11952 pointer can be dereferenced. If not, do the test, otherwise
11953 skip it.
11954
11955 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
11956
11957 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
11958 results.
11959 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
11960
11961 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
11962
11963 * gdb.arch/amd64-invalid-stack-middle.S: New file.
11964 * gdb.arch/amd64-invalid-stack-middle.c: New file.
11965 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
11966 * gdb.arch/amd64-invalid-stack-top.c: New file.
11967 * gdb.arch/amd64-invalid-stack-top.exp: New file.
11968
11969 2014-05-30 Pedro Alves <palves@redhat.com>
11970
11971 PR breakpoints/17000
11972 * gdb.base/sss-bp-on-user-bp.c: New file.
11973 * gdb.base/sss-bp-on-user-bp.exp: New file.
11974
11975 2014-05-30 David Blaikie <dblaikie@gmail.com>
11976
11977 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
11978 gnu_inline semantics via attribute.
11979 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
11980 source explicitly specifies the required semantics.
11981
11982 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
11983
11984 * gdb.reverse/sigall-reverse.exp: Fix a typo.
11985
11986 2014-05-29 Pedro Alves <palves@redhat.com>
11987 Tom Tromey <tromey@redhat.com>
11988
11989 * gdb.base/async-shell.exp: Don't enable target-async.
11990 * gdb.base/async.exp
11991 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
11992 parameter. Adjust.
11993 (top level): Don't test with "target-async".
11994 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
11995 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
11996 * gdb.base/inferior-died.exp: Don't enable target-async.
11997 * gdb.base/interrupt-noterm.exp: Likewise.
11998 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
11999 * gdb.mi/mi-nonstop-exit.exp: Likewise.
12000 * gdb.mi/mi-nonstop.exp: Likewise.
12001 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
12002 * gdb.mi/mi-nsintrall.exp: Likewise.
12003 * gdb.mi/mi-nsmoribund.exp: Likewise.
12004 * gdb.mi/mi-nsthrexec.exp: Likewise.
12005 * gdb.mi/mi-watch-nonstop.exp: Likewise.
12006 * gdb.multi/watchpoint-multi.exp: Adjust comment.
12007 * gdb.python/py-evsignal.exp: Don't enable target-async.
12008 * gdb.python/py-evthreads.exp: Likewise.
12009 * gdb.python/py-prompt.exp: Likewise.
12010 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
12011 * gdb.server/solib-list.exp: Don't enable target-async.
12012 * gdb.threads/thread-specific-bp.exp: Likewise.
12013 * lib/mi-support.exp: Adjust to use mi-async.
12014
12015 2014-05-29 Pedro Alves <palves@redhat.com>
12016
12017 PR gdb/13860
12018 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
12019 reason, even in sync mode.
12020
12021 2014-05-29 Pedro Alves <palves@redhat.com>
12022 Hui Zhu <hui@codesourcery.com>
12023
12024 PR PR15693
12025 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
12026 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
12027 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
12028 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
12029
12030 2014-05-28 Joel Brobecker <brobecker@adacore.com>
12031
12032 * config/monitor.exp (gdb_target_monitor): Replace use of
12033 "set remotebaud" by "set serial baud".
12034
12035 2014-05-26 Andy Wingo <wingo@igalia.com>
12036
12037 * gdb.guile/scm-breakpoint.exp:
12038 * gdb.guile/scm-gsmob.exp: Update to use plain old object
12039 properties instead of gdb-object-properties.
12040
12041 2014-05-26 Yao Qi <yao@codesourcery.com>
12042
12043 * gdb.server/no-thread-db.exp: Specify source file name
12044 explicitly when setting a breakpoint.
12045
12046 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
12047
12048 * gdb.btrace/vdso.c: New.
12049 * gdb.btrace/vdso.exp: New.
12050
12051 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
12052
12053 * gdb.base/gcore.exp (capture_command_output): Move ...
12054 * lib/gdb.exp (capture_command_output): ... here.
12055
12056 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
12057
12058 * gdb.btrace/data.exp: Test memory access during btrace replay.
12059
12060 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
12061
12062 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
12063
12064 2014-05-21 Pedro Alves <palves@redhat.com>
12065
12066 PR gdb/13860
12067 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
12068 (top level): Test that output related to execution commands is
12069 sent to the console with CLI commands, but not with MI commands.
12070 Test that breakpoint events are always mirrored to the console.
12071 Also expect the new source line to be output after a "next" in
12072 async mode too. Make it a pass/fail test.
12073 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
12074 output.
12075 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
12076
12077 2014-05-21 Pedro Alves <palves@redhat.com>
12078
12079 * gdb.base/list.exp (build_pattern, test_list): New procedures.
12080 Use them to test variations of "list" after reaching a breakpoint.
12081 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
12082 Test "list" with listsize 10 after reaching a breakpoint.
12083 * gdb.python/python.exp (decode_line current location line
12084 number): Adjust expected line number.
12085
12086 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
12087
12088 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
12089 behavior for $args, pass it directly to "run".
12090
12091 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
12092
12093 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
12094 30000 to 65536.
12095
12096 2014-05-21 Pedro Alves <palves@redhat.com>
12097
12098 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
12099 auto-connect-native-target off".
12100 * gdb.base/auto-connect-native-target.c: New file.
12101 * gdb.base/auto-connect-native-target.exp: New file.
12102
12103 2014-05-21 Pedro Alves <palves@redhat.com>
12104
12105 * gdb.base/default.exp: Test "target native" instead of "target
12106 child".
12107
12108 2014-05-21 Mark Wielaard <mjw@redhat.com>
12109
12110 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
12111
12112 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
12113
12114 Fix TLS access for -static -pthread.
12115 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
12116 <HAVE_TLS> (thread_function, main): Initialize it.
12117 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
12118 Add clean_restart.
12119 <$have_tls != "">: Check TLSVAR.
12120
12121 2014-05-21 Pedro Alves <palves@redhat.com>
12122
12123 * gdb.base/dcache-line-read-error.c: New.
12124 * gdb.base/dcache-line-read-error.exp: New.
12125
12126 2014-05-20 Pedro Alves <palves@redhat.com>
12127
12128 * gdb.base/compare-sections.c: New file.
12129 * gdb.base/compare-sections.exp: New file.
12130
12131 2014-05-20 Pedro Alves <palves@redhat.com>
12132
12133 * gdb.base/break-idempotent.c: New file.
12134 * gdb.base/break-idempotent.exp: New file.
12135
12136 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
12137
12138 * gdb.btrace/nohist.exp: New.
12139
12140 2014-05-20 Yao Qi <yao@codesourcery.com>
12141
12142 * lib/gdb.exp (gdb_init): Set timeout if test file is under
12143 gdb.reverse directory and gdb_reverse_timeout exists in board
12144 setting.
12145 * README: Document gdb_reverse_timeout.
12146
12147 2014-05-20 Yao Qi <yao@codesourcery.com>
12148
12149 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
12150 'test_file_name'. Treat args as a string instead of a list.
12151 (gdb_init): Rename argument 'args' by 'test_file_name'.
12152
12153 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
12154
12155 * gdb.arch/powerpc-power.exp: New file.
12156 * gdb.arch/powerpc-power.s: New file.
12157
12158 2014-05-16 Doug Evans <dje@google.com>
12159
12160 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
12161 * gdb.base/completion.exp: Check that all expected files exist
12162 before doing file completion.
12163
12164 2014-05-16 Doug Evans <dje@google.com>
12165
12166 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
12167 Update.
12168 (do_syscall_tests_without_xml): Update.
12169
12170 2014-05-16 Pedro Alves <palves@redhat.com>
12171
12172 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
12173 instead of "unknown output after running".
12174
12175 2014-05-16 Yao Qi <yao@codesourcery.com>
12176
12177 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
12178 file1.txt from host at the end.
12179 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
12180
12181 2014-05-15 Doug Evans <dje@google.com>
12182
12183 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
12184 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
12185 loading file. Add test for TU lookup.
12186
12187 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
12188
12189 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
12190 calling "-exec-arguments" or "set args" before running the
12191 inferior.
12192
12193 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
12194
12195 * lib/mi-support.exp (mi_expect_stop): Expect message for
12196 inferiors that exit with non-zero exit code.
12197
12198 2014-05-14 Yao Qi <yao@codesourcery.com>
12199
12200 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
12201 match absolute path on remote host.
12202 (test_file_list_exec_source_files): Remove "/" from the
12203 pattern.
12204
12205 2014-05-14 Yao Qi <yao@codesourcery.com>
12206
12207 * boards/local-remote-host-notty.exp (${board}_file): New
12208 proc.
12209
12210 2014-05-07 Kyle McMartin <kyle@redhat.com>
12211
12212 Pushed by Joel Brobecker <brobecker@adacore.com>.
12213 * gdb.arch/aarch64-atomic-inst.c: New file.
12214 * gdb.arch/aarch64-atomic-inst.exp: New file.
12215
12216 2014-05-07 Yao Qi <yao@codesourcery.com>
12217
12218 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
12219 in current context" too.
12220
12221 2014-05-05 Keith Seitz <keiths@redhat.com>
12222
12223 * gdb.linespec/ls-dollar.exp: Add test for linespec
12224 file:convenience_variable.
12225
12226 2014-05-05 Yao Qi <yao@codesourcery.com>
12227
12228 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
12229 traceframes into tfile and ctf trace files. Read data from
12230 trace file and test collected data.
12231 (gdb_collect_locals_test): Likewise.
12232 (gdb_unavailable_registers_test): Likewise.
12233 (gdb_unavailable_floats): Likewise.
12234 (gdb_collect_globals_test): Likewise.
12235 (top-level): Append "ctf" to trace_file_targets if GDB
12236 supports.
12237
12238 2014-05-05 Yao Qi <yao@codesourcery.com>
12239
12240 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
12241 code to ...
12242 (gdb_collect_args_test_1): ... it. New proc.
12243 (gdb_collect_locals_test): Move some code to ...
12244 (gdb_collect_locals_test_1): ... it. New proc.
12245 (gdb_unavailable_registers_test): Move some code to ...
12246 (gdb_unavailable_registers_test_1): ... it. New proc.
12247 (gdb_unavailable_floats): Move some code to ...
12248 (gdb_unavailable_floats_1): ... it. New proc.
12249
12250 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
12251
12252 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
12253 probes to test for bitness recognition.
12254 * gdb.arch/amd64-stap-optional-prefix.exp
12255 (test_probe_value_without_reg): New procedure.
12256 Add code to test for different kinds of bitness.
12257
12258 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
12259
12260 PR breakpoints/16889
12261 * gdb.arch/amd64-stap-optional-prefix.S: New file.
12262 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
12263
12264 2014-05-01 Pedro Alves <palves@redhat.com>
12265
12266 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
12267 gdb_file_cmd if no file is specified.
12268 * boards/native-extended-gdbserver.exp (gdb_load): Use the
12269 last_loaded_file to set the remote exec-file.
12270
12271 2014-05-01 Pedro Alves <palves@redhat.com>
12272
12273 * boards/local-remote-host.exp: New file.
12274
12275 2014-05-01 Pedro Alves <palves@redhat.com>
12276
12277 * boards/local-remote-host.exp: Rename to ...
12278 * boards/local-remote-host-notty.exp: ... this.
12279
12280 2014-04-28 Joel Brobecker <brobecker@adacore.com>
12281
12282 * gdb.ada/dyn_arrayidx: New testcase.
12283
12284 2014-04-26 Yao Qi <yao@codesourcery.com>
12285
12286 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
12287 and compute the length of function main. Save it in
12288 $main_length.
12289 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
12290 (top-level): Use gdb_compile to compile objects into
12291 executable and restart GDB. Remove invocation to
12292 prepare_for_testing.
12293
12294 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
12295 Pedro Alves <palves@redhat.com>
12296
12297 PR server/16255
12298 * gdb.multi/multi-attach.c: New file.
12299 * gdb.multi/multi-attach.exp: New file.
12300
12301 2014-04-25 Pedro Alves <palves@redhat.com>
12302
12303 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
12304 user.
12305 (top level): Test that "set remote conditional-breakpoints-packet
12306 off" works as intended.
12307 * gdb.base/dprintf.exp: Test that "set remote
12308 breakpoint-commands-packet off" works as intended.
12309 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
12310 New function.
12311 (top level): Call it.
12312 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
12313 remote fast-tracepoints-packet off" works as intended.
12314 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
12315 * lib/gdb.exp (gdb_is_target_remote): ... here.
12316
12317 2014-04-24 David Blaikie <dblaikie@gmail.com>
12318
12319 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
12320 ensure clang would not discard them.
12321 * gdb.base/gdbvars.c: Ditto.
12322 * gdb.base/memattr.c: Ditto.
12323 * gdb.base/whatis.c: Ditto.
12324 * gdb.python/py-prettyprint.c: Ditto.
12325 * gdb.trace/actions.c: Ditto.
12326 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
12327 ensure clang would not discard it.
12328
12329 2014-04-24 David Blaikie <dblaikie@gmail.com>
12330
12331 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
12332 clang to emit the full definition of type required by the test
12333 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
12334
12335 2014-04-24 David Blaikie <dblaikie@gmail.com>
12336
12337 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
12338 coax Clang into emitting the definition of the type.
12339 * gdb.cp/pr10728-x.h (y): Ditto.
12340 * gdb.cp/pr10728-y.cc (y): Ditto.
12341
12342 2014-04-24 David Blaikie <dblaikie@gmail.com>
12343
12344 * gdb.base/label.exp: XFAIL label related tests under Clang.
12345 * gdb.cp/cplabel.exp: Ditto.
12346 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
12347 under Clang those using labels.
12348
12349 2014-04-25 Yao Qi <yao@codesourcery.com>
12350
12351 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
12352 double_label.
12353 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
12354 partial_label and double_label.
12355
12356 2014-04-24 David Blaikie <dblaikie@gmail.com>
12357
12358 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
12359
12360 2014-04-24 David Blaikie <dblaikie@gmail.com>
12361
12362 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
12363 of the function to work across GCC and Clang.
12364 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
12365 pointer types (const void ** const V void **).
12366
12367 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
12368 Walfred Tedeschi <walfred.tedeschi@intel.com>
12369
12370 * Makefile.in (EXECUTABLES): Added i386-avx512.
12371 * gdb.arch/i386-avx512.c: New file.
12372 * gdb.arch/i386-avx512.exp: Likewise.
12373
12374 2014-04-23 Keith Seitz <keiths@redhat.com>
12375
12376 * lib/mi-support.exp (mi_list_breakpoints): Delete.
12377 (mi_make_breakpoint_table): New procedure.
12378 (mi_create_breakpoint): Use mi_make_breakpoint
12379 and return the result.
12380 (mi_make_breakpoint): New procedure.
12381 (mi_build_kv_pairs): New procedure.
12382
12383 * gdb.mi/mi-break.exp: Remove unused globals,
12384 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
12385 All callers updated.
12386 * gdb.mi/mi-dprintf.exp: Use variable to track command
12387 number.
12388 Update all callers of mi_create_breakpoint and use
12389 mi_make_breakpoint_table.
12390 Remove any unused global variables.
12391 * gdb.mi/mi-nonstop.exp: Likewise.
12392 * gdb.mi/mi-nsintrall.exp: Likewise.
12393 * gdb.mi/mi-nsmoribund.exp: Likewise.
12394 * gdb.mi/mi-nsthrexec.exp: Likewise.
12395 * gdb.mi/mi-reverse.exp: Likewise.
12396 * gdb.mi/mi-simplerun.exp: Likewise.
12397 * gdb.mi/mi-stepn.exp: Likewise.
12398 * gdb.mi/mi-syn-frame.exp: Likewise.
12399 * gdb.mi/mi-until.exp: Likewise.
12400 * gdb.mi/mi-var-cp.exp: Likewise.
12401 * gdb.mi/mi-var-display.exp: Likewise.
12402 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
12403 * gdb.mi/mi2-var-child.exp: Likewise.
12404 * gdb.mi/mi-vla-c99.exp: Likewise.
12405 * lib/mi-support.exp: Likewise.
12406
12407 From Ian Lance Taylor <iant@cygnus.com>:
12408 * lib/gdb.exp (parse_args): New procedure.
12409
12410 2014-04-23 Pedro Alves <palves@redhat.com>
12411
12412 * gdb.base/break-unload-file.c: New file.
12413 * gdb.base/break-unload-file.exp: New file.
12414 * gdb.base/sym-file-lib.c (baz): New function.
12415 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
12416 field.
12417 (load): Store the segment's mapped size.
12418 (unload): New function.
12419 (unload_shlib): New function.
12420 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
12421 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
12422 set a breakpoint at baz, and call it.
12423 * gdb.base/sym-file.exp: New tests for stale breakpoint
12424 instructions.
12425
12426 2014-04-23 Pedro Alves <palves@redhat.com>
12427
12428 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
12429 * gdb.base/hbreak-in-shr-unsupported.c: New file.
12430 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
12431 * gdb.base/hbreak-unmapped.c: New file.
12432 * gdb.base/hbreak-unmapped.exp: New file.
12433 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
12434 * lib/gdb.exp (gdb_is_target_remote): ... here.
12435
12436 2014-04-22 Pedro Alves <palves@redhat.com>
12437
12438 * gdb.base/consecutive-step-over.c: New file.
12439 * gdb.base/consecutive-step-over.exp: New file.
12440
12441 2014-04-22 Pedro Alves <palves@redhat.com>
12442
12443 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
12444 instead of send_gdb/gdb_expect.
12445
12446 2014-04-22 Yao Qi <yao@codesourcery.com>
12447
12448 * lib/trace-support.exp (generate_tracefile): New procedure.
12449 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
12450 return 0.
12451 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
12452 if generate_tracefile returns 1.
12453
12454 2014-04-18 Tom Tromey <palves@redhat.com>
12455 Pedro alves <tromey@redhat.com>
12456
12457 PR backtrace/15558
12458 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
12459 with a backtrace limit.
12460 * gdb.python/py-frame-inline.exp: Test running to an inline
12461 function with a backtrace limit, and printing the newest frame.
12462 * gdb.python/py-frame-inline.c (main): Call f.
12463
12464 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
12465
12466 * gdb.java/jnpe.exp: Drop srcdir from untested path.
12467
12468 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
12469
12470 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
12471 Drop prefix from unsupported source file path.
12472
12473 2014-04-17 Yao Qi <yao@codesourcery.com>
12474
12475 * lib/gdb.exp (with_target_charset): New proc.
12476 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
12477 with_target_charset.
12478 (test_print_strings): Likewise.
12479 (test_repeat_bytes): Likewise.
12480 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
12481 for some tests.
12482
12483 2014-04-16 Keith Seitz <keiths@redhat.com>
12484
12485 PR gdb/15827
12486 * gdb.dwarf2/corrupt.c: New file.
12487 * gdb.dwarf2/corrupt.exp: New file.
12488
12489 2014-04-16 Keith Seitz <keiths@redhat.com>
12490
12491 PR c++/16597
12492 * gdb.cp/namelessclass.cc: New file.
12493 * gdb.cp/namelessclass.exp: New file.
12494 * gdb.cp/namelessclass.S: New file.
12495
12496 2014-04-16 Doug Evans <dje@google.com>
12497
12498 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
12499 Add comment.
12500 (gdbserver_default_get_comm_port): New function.
12501 (gdbserver_start): Check if board file provided
12502 "gdbserver,get_comm_port" and use it if so.
12503 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
12504 (gdb,socketport): Set to "stdio".
12505 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
12506 (stdio_gdbserver_template): Delete.
12507 (${board}_get_remote_address): Update.
12508 (${board}_build_remote_cmd): Delete.
12509 (${board}_get_comm_port): New function.
12510 (${board}_spawn): Update.
12511 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
12512 Delete.
12513 (${board}_get_remote_address): Update.
12514 (${board}_get_comm_port): New function.
12515
12516 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
12517
12518 * gdb.base/memattr.exp: Improve regexps to handle memory regions
12519 appearing in any order.
12520
12521 2014-04-15 Doug Evans <dje@google.com>
12522
12523 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
12524 uninitialized value of "description".
12525
12526 2014-04-15 Keith Seitz <keiths@redhat.com>
12527
12528 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
12529 Remove unused globals.
12530 (test_running_the_program): Likewise.
12531 (test_controlled_execution): Likewise.
12532 (test_controlling_breakpoints): Likewise.
12533 (test_program_termination): Likewise.
12534
12535 2014-04-15 Keith Seitz <keiths@redhat.com>
12536
12537 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
12538 unused globals.
12539 (test_rbreak_creation_and_listing): Likewise.
12540 (test_ignore_count): Likewise.
12541 (test_error): Likewise.
12542
12543 2014-04-15 Pedro Alves <palves@redhat.com>
12544
12545 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
12546 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
12547 sym-file-loader.c.
12548 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
12549 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
12550 to sym-file-loader.c.
12551 (struct library): Forward declare.
12552 (load_shlib, lookup_function): Change prototypes.
12553 (find_shstrtab, find_strtab, find_shdr, find_symtab)
12554 (translate_offset): Remove declarations.
12555 (get_text_addr): New declaration.
12556 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
12557 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
12558 sym-file-loader.h.
12559 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
12560 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
12561 here from sym-file-loader.h.
12562 (struct library): New structure.
12563 (load_shlib, lookup_function): Change prototypes and adjust to
12564 work with a struct library.
12565 (find_shstrtab, find_strtab, find_shdr, find_symtab)
12566 (translate_offset): Make static.
12567 (get_text_addr): New function.
12568 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
12569
12570 2014-04-15 Pedro Alves <palves@redhat.com>
12571
12572 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
12573
12574 2014-04-15 Pedro Alves <palves@redhat.com>
12575
12576 * gdb.base/sym-file-loader.c: Include <limits.h>.
12577 (SELF_LINK): New define.
12578 (get_origin): New function.
12579 (load_shlib): Use it.
12580 * gdb.base/sym-file.exp: Don't early return if the target is
12581 remote. Use runto_main, and issue fail is that fails. Use
12582 gdb_load_shlibs.
12583 (shlib_name): Delete.
12584 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
12585
12586 2014-04-15 Pedro Alves <palves@redhat.com>
12587
12588 * gdb.base/sym-file.exp: Remove regex characters from test
12589 message. Don't refer to breakpoint numbers in test messages.
12590
12591 2014-04-14 Keith Seitz <keiths@redhat.com>
12592
12593 PR c++/16253
12594 * gdb.cp/var-tag.cc: New file.
12595 * gdb.cp/var-tag.exp: New file.
12596 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
12597 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
12598 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
12599 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
12600
12601 2014-04-14 Tom Tromey <tromey@redhat.com>
12602
12603 * gdb.cp/classes.exp (test_enums): Handle underlying type.
12604 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
12605 type.
12606 * gdb.cp/enum-class.exp: New file.
12607 * gdb.cp/enum-class.cc: New file.
12608
12609 2014-04-14 Tom Tromey <tromey@redhat.com>
12610
12611 * gdb.dwarf2/enum-type.exp: New file.
12612
12613 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
12614
12615 * gdb.mi/mi-vla-c99.exp: New file.
12616 * gdb.mi/vla.c: New file.
12617
12618 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
12619
12620 * gdb.base/vla-datatypes.c: New file.
12621 * gdb.base/vla-datatypes.exp: New file.
12622
12623 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
12624
12625 * gdb.base/vla-ptr.c: New file.
12626 * gdb.base/vla-ptr.exp: New file.
12627
12628 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
12629
12630 * gdb.dwarf2/count.exp: New file.
12631
12632 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
12633
12634 * gdb.base/vla-sideeffect.c: New file.
12635 * gdb.base/vla-sideeffect.exp: New file.
12636
12637 2014-04-14 David Blaikie <dblaikie@gmail.com>
12638
12639 * gdb.mi/non-stop.c: Add return value for non-void function return
12640 statement.
12641 * gdb.threads/staticthreads.c: Ditto.
12642
12643 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
12644 Doug Evans <xdje42@gmail.com>
12645
12646 * gdb.guile/scm-value.c: Improve test case.
12647 * gdb.guile/scm-value.exp: Add new test.
12648
12649 2014-04-11 David Blaikie <dblaikie@gmail.com>
12650
12651 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
12652 override Clang's default.
12653
12654 2014-04-11 Joel Brobecker <brobecker@adacore.com>
12655
12656 Revert the following changes (regressions):
12657
12658 * gdb.base/vla-sideeffect.c: New file.
12659 * gdb.base/vla-sideeffect.exp: New file.
12660
12661 * gdb.dwarf2/count.exp: New file.
12662
12663 * gdb.base/vla-multi.c: New file.
12664 * gdb.base/vla-multi.exp: New file.
12665
12666 * gdb.base/vla-ptr.c: New file.
12667 * gdb.base/vla-ptr.exp: New file.
12668
12669 * gdb.base/vla-datatypes.c: New file.
12670 * gdb.base/vla-datatypes.exp: New file.
12671
12672 * gdb.mi/mi-vla-c99.exp: New file.
12673 * gdb.mi/vla.c: New file.
12674
12675 2014-04-11 Keith Seitz <keiths@redhat.com>
12676
12677 PR c++/16675
12678 * gdb.cp/cpsizeof.exp: New file.
12679 * gdb.cp/cpsizeof.cc: New file.
12680
12681 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
12682
12683 * gdb.mi/mi-vla-c99.exp: New file.
12684 * gdb.mi/vla.c: New file.
12685
12686 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
12687
12688 * gdb.base/vla-datatypes.c: New file.
12689 * gdb.base/vla-datatypes.exp: New file.
12690
12691 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
12692
12693 * gdb.base/vla-ptr.c: New file.
12694 * gdb.base/vla-ptr.exp: New file.
12695
12696 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
12697
12698 * gdb.base/vla-multi.c: New file.
12699 * gdb.base/vla-multi.exp: New file.
12700
12701 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
12702
12703 * gdb.dwarf2/count.exp: New file.
12704
12705 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
12706
12707 * gdb.base/vla-sideeffect.c: New file.
12708 * gdb.base/vla-sideeffect.exp: New file.
12709
12710 2014-04-11 Yao Qi <yao@codesourcery.com>
12711
12712 * gdb.base/completion.exp: Check file exists before running tests
12713 on file completion.
12714
12715 2014-04-10 Pedro Alves <palves@redhat.com>
12716
12717 * gdb.base/cond-eval-mode.c: New file.
12718 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
12719 prepare_for_testing to build the new file. Check result of
12720 runto_main.
12721 (test_break, test_watch): New procedures.
12722 (top level): Use them.
12723
12724 2014-04-08 Pierre Muller <muller@sourceware.org>
12725
12726 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
12727 Ctrl-V use for mingw hosts.
12728
12729 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
12730
12731 * gdb.python/py-value.c: Improve test case.
12732 * gdb.python/py-value.exp: Add new test.
12733
12734 2014-04-07 David Blaikie <dblaikie@gmail.com>
12735
12736 * lib/compiler.c: Identify the clang compiler.
12737 * lib/compiler.cc: Ditto.
12738
12739 2014-04-03 Yao Qi <yao@codesourcery.com>
12740
12741 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
12742
12743 2014-04-01 Anton Blanchard <anton@samba.org>
12744
12745 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
12746 messages unique.
12747
12748 2014-04-01 Anton Blanchard <anton@samba.org>
12749
12750 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
12751 prepare_for_testing.
12752
12753 2014-04-01 Anton Blanchard <anton@samba.org>
12754
12755 * gdb.arch/ppc64-atomic-inst.c: Remove.
12756 * gdb.arch/ppc64-atomic-inst.S: New file.
12757 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
12758
12759 2014-03-31 Doug Evans <dje@google.com>
12760
12761 * gdb.base/print-symbol-loading-lib.c: New file.
12762 * gdb.base/print-symbol-loading-main.c: New file.
12763 * gdb.base/print-symbol-loading.exp: New file.
12764
12765 2014-03-31 Yao Qi <yao@codesourcery.com>
12766
12767 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
12768
12769 2014-03-28 Joel Brobecker <brobecker@adacore.com>
12770
12771 * gdb.ada/mi_dyn_arr: New testcase.
12772
12773 2014-03-27 Doug Evans <dje@google.com>
12774
12775 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
12776
12777 2014-03-27 Yao Qi <yao@codesourcery.com>
12778
12779 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
12780 if target is nios2-*-*.
12781
12782 2014-03-26 Yao Qi <yao@codesourcery.com>
12783
12784 * lib/gdb.exp (readline_is_used): New proc.
12785 * gdb.base/completion.exp: Move tests on command complete up.
12786 Skip the rest of tests if readline is not used.
12787 * gdb.ada/complete.exp: Skp the test if readline is not
12788 used.
12789 * gdb.base/filesym.exp: Likewise.
12790 * gdb.base/macscp.exp: Likewise.
12791 * gdb.base/readline-ask.exp: Likewise.
12792 * gdb.base/readline.exp: Likewise.
12793 * gdb.python/py-cmd.exp: Likewise.
12794 * gdb.trace/tfile.exp: Likewise.
12795
12796 2014-03-26 Yao Qi <yao@codesourcery.com>
12797
12798 * gdb.base/macscp.exp: Fix code format issues.
12799
12800 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
12801
12802 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
12803 * gdb.asm/powerpc64le.inc: New file.
12804
12805 2014-03-25 Pedro Alves <palves@redhat.com>
12806 Doug Evans <dje@google.com>
12807
12808 * gdb.base/source-execution.c: New file.
12809 * gdb.base/source-execution.exp: New file.
12810 * gdb.base/source-execution.gdb: New file.
12811
12812 2014-03-24 Doug Evans <dje@google.com>
12813
12814 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
12815 using fission.
12816
12817 2014-03-24 Hui Zhu <hui@codesourcery.com>
12818 Pedro Alves <palves@redhat.com>
12819
12820 PR breakpoints/16101
12821 * gdb.base/dprintf.exp: Use unsupported rather than changing the
12822 test pass/fail messages. Detect missing support for dprintf when
12823 breakpoints are actually inserted.
12824 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
12825 breakpoints are actually inserted.
12826 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
12827 fails.
12828
12829 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
12830
12831 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
12832
12833 2014-03-22 Doug Evans <xdje42@gmail.com>
12834
12835 * gdb.python/python.exp (python not supported): Verify multi-line
12836 python command issues an error.
12837 * gdb.guile/guile.exp (guile not supported): Verify multi-line
12838 guile command issues an error.
12839
12840 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
12841
12842 * gdb.threads/thread-specific.exp: Handle the lack of usable
12843 $this_breakpoint and $this_thread.
12844
12845 2014-03-21 Hui Zhu <hui@codesourcery.com>
12846
12847 * gdb.base/attach.exp (do_command_attach_tests): New.
12848
12849 2014-03-20 Tom Tromey <tromey@redhat.com>
12850 Pedro Alves <palves@redhat.com>
12851
12852 PR cli/15718
12853 * gdb.base/condbreak-call-false.c: New file.
12854 * gdb.base/condbreak-call-false.exp: New file.
12855
12856 2014-03-20 Pedro Alves <palves@redhat.com>
12857
12858 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
12859 Delete.
12860 (block_signals, unblock_signals): Delete.
12861 (child_function_2, main): Remove references to deleted variable
12862 and functions.
12863
12864 2014-03-20 Pedro Alves <palves@redhat.com>
12865
12866 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
12867 Use pthread_kill to signal thread 2.
12868 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
12869 Adjust to make the test send itself a signal rather than using the
12870 host's "kill" command.
12871
12872 2014-03-20 Pedro Alves <palves@redhat.com>
12873
12874 * gdb.threads/multiple-step-overs.c: New file.
12875 * gdb.threads/multiple-step-overs.exp: New file.
12876 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
12877 Adjust expected infrun debug output.
12878
12879 2014-03-20 Pedro Alves <palves@redhat.com>
12880
12881 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
12882 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
12883
12884 2014-03-20 Pedro Alves <palves@redhat.com>
12885
12886 PR breakpoints/7143
12887 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
12888 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
12889 of gdb_test_multiple.
12890 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
12891 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
12892
12893 2014-03-20 Pedro Alves <palves@redhat.com>
12894
12895 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
12896 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
12897
12898 2014-03-19 Pedro Alves <palves@redhat.com>
12899
12900 * gdb.base/async.exp: Remove early return.
12901
12902 2014-03-19 Pedro Alves <palves@redhat.com>
12903
12904 * gdb.base/async.exp (step& tests): Pass explicit test messages.
12905
12906 2014-03-19 Pedro Alves <palves@redhat.com>
12907
12908 * gdb.base/async.exp (test_background): Expect \r\n after
12909 "completed." in the fail pattern.
12910
12911 2014-03-19 Pedro Alves <palves@redhat.com>
12912
12913 * gdb.base/async.exp (test_background): New procedure.
12914 Use it for all background execution command tests.
12915
12916 2014-03-19 Pedro Alves <palves@redhat.com>
12917
12918 * gdb.base/async.exp: Use prepare_for_testing.
12919
12920 2014-03-19 Pedro Alves <palves@redhat.com>
12921
12922 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
12923 the same line.
12924
12925 2014-03-19 Pedro Alves <palves@redhat.com>
12926
12927 * gdb.base/async.c (main): Add "jump here" and "until here" line
12928 marker comments.
12929 * gdb.base/async.exp (jump_here): New global.
12930 (jump& test): Use it.
12931 (until_here): New global.
12932 (until& test): Use it.
12933
12934 2014-03-19 Pedro Alves <palves@redhat.com>
12935
12936 * gdb.base/async.exp: Don't frob gdb_protocol.
12937
12938 2014-03-18 Doug Evans <xdje42@gmail.com>
12939
12940 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
12941 Fix spelling of exec-done-display.
12942
12943 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
12944
12945 PR gdb/15358
12946 * gdb.base/gdb-sigterm.c: New file.
12947 * gdb.base/gdb-sigterm.exp: New file.
12948
12949 2014-03-18 Pedro Alves <palves@redhat.com>
12950
12951 PR gdb/13860
12952 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
12953 * lib/mi-support.exp (mi_expect_stop): Add special handling for
12954 solib-event.
12955
12956 2014-03-17 Joel Brobecker <brobecker@adacore.com>
12957
12958 * gdb.ada/pckd_arr_ren: New testcase.
12959
12960 2014-03-13 Doug Evans <xdje42@gmail.com>
12961
12962 PR guile/16612
12963 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
12964 collect after discarding symbols.
12965
12966 2014-03-13 Ludovic Courtès <ludo@gnu.org>
12967 Doug Evans <xdje42@gmail.com>
12968
12969 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
12970 to history survives a gc.
12971
12972 2014-03-13 Pedro Alves <palves@redhat.com>
12973
12974 * gdb.base/default.exp: Don't test "target procfs".
12975
12976 2014-03-13 Pedro Alves <palves@redhat.com>
12977
12978 * gdb.base/default.exp: Update "target child" and "target procfs"
12979 tests to not expect "Unix".
12980
12981 2014-03-12 Tom Tromey <tromey@redhat.com>
12982
12983 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
12984 New procs. Add target-async tests.
12985 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
12986 Add target-async tests.
12987
12988 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
12989
12990 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
12991 'func_start' and 'func_end' for the beginning and end of the
12992 function code, respectively.
12993 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
12994 'func_end' instead of 'func' and 'main'.
12995
12996 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
12997
12998 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
12999 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
13000 generate the debug info assembler source.
13001
13002 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
13003
13004 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
13005 * gdb.dwarf2/arr-subrange.exp: Likewise.
13006 * gdb.dwarf2/dwz.exp: Likewise.
13007 * gdb.dwarf2/method-ptr.exp: Likewise.
13008 * gdb.dwarf2/missing-sig-type.exp: Likewise.
13009 * gdb.dwarf2/subrange.exp: Likewise.
13010 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
13011 * gdb.dwarf2/implptrpiece.exp: Likewise.
13012 * gdb.dwarf2/nostaticblock.exp: Likewise.
13013
13014 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
13015
13016 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
13017 directory to absolute path name arguments.
13018
13019 2014-03-10 Joel Brobecker <brobecker@adacore.com>
13020
13021 * gdb.ada/tagged_access: New testcase.
13022
13023 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
13024
13025 * gdb.btrace/data.exp: Update expected output.
13026
13027 2014-03-06 Yao Qi <yao@codesourcery.com>
13028
13029 * gdb.trace/pr16508.exp: New file.
13030
13031 2014-03-05 Pedro Alves <palves@redhat.com>
13032
13033 PR gdb/16575
13034 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
13035 procedure.
13036 (top level): Adjust to use it. Add tests that exercise breakpoint
13037 interaction with the code-cache.
13038
13039 2014-02-26 Ludovic Courtès <ludo@gnu.org>
13040
13041 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
13042 test for 'history-append!'.
13043
13044 2014-02-26 Joel Brobecker <brobecker@adacore.com>
13045
13046 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
13047 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
13048 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
13049 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
13050 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
13051 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
13052
13053 2014-02-26 Joel Brobecker <brobecker@adacore.com>
13054
13055 * testsuite/gdb.python/py-pp-re-notag.c: New file.
13056 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
13057 * testsuite/gdb.python/py-pp-re-notag.p: New file.
13058
13059 2014-02-26 Joel Brobecker <brobecker@adacore.com>
13060
13061 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
13062
13063 2014-02-26 Joel Brobecker <brobecker@adacore.com>
13064
13065 * gdb.dwarf2/arr-stride.c: New file.
13066 * gdb.dwarf2/arr-stride.exp: New file.
13067
13068 2014-02-26 Pedro Alves <palves@redhat.com>
13069
13070 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
13071 that won't ever trigger. Make sure that GDB reports the correct
13072 breakpoint that caused the stop.
13073
13074 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
13075
13076 PR gdb/16626
13077 * gdb.base/auto-load-script: New file.
13078 * gdb.base/auto-load.c: New file.
13079 * gdb.base/auto-load.exp: New file.
13080
13081 PR gdb/16626
13082 * gdb.base/auto-load.exp: Fix out-of-srctree run.
13083
13084 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
13085
13086 Fix dw2-icycle.exp -fsanitize=address GDB crash.
13087 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
13088
13089 2014-02-24 Doug Evans <dje@google.com>
13090
13091 * lib/gdb.exp (run_on_host): Log error output if program fails.
13092
13093 2014-02-21 Pedro Alves <palves@redhat.com>
13094
13095 * gdb.threads/step-after-sr-lock.c: Rename to ...
13096 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
13097 * gdb.threads/step-after-sr-lock.exp: Rename to ...
13098 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
13099 ... this.
13100
13101 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
13102
13103 PR tdep/16397
13104 * gdb.arch/amd64-stap-special-operands.exp: New file.
13105 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
13106 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
13107 * gdb.arch/amd64-stap-triplet.S: Likewise.
13108 * gdb.arch/amd64-stap-triplet.c: Likewise.
13109
13110 2014-02-20 Joel Brobecker <brobecker@adacore.com>
13111
13112 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
13113 in .section pseudo-op.
13114
13115 2014-02-20 lin zuojian <manjian2006@gmail.com>
13116 Joel Brobecker <brobecker@adacore.com>
13117 Doug Evans <xdje42@gmail.com>
13118
13119 PR symtab/16581
13120 * gdb.dwarf2/dw2-icycle.S: New file.
13121 * gdb.dwarf2/dw2-icycle.c: New file.
13122 * gdb.dwarf2/dw2-icycle.exp: New file.
13123
13124 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
13125
13126 * gdb.python/py-value-cc.cc: Improve test case to enable testing
13127 operations on gdb.Value objects.
13128 * gdb.python/py-value-cc.exp: Add new test to test operations on
13129 gdb.Value objects.
13130
13131 2014-02-18 Doug Evans <dje@google.com>
13132
13133 * Makefile.in (TESTS): New variable.
13134 (expanded_tests, expanded_tests_or_none): New variables
13135 (check-single): Pass $(expanded_tests_or_none) to runtest.
13136 (check-parallel): Only run tests in $(TESTS) if non-empty.
13137 (check/no-matching-tests-found): New rule.
13138 * README: Document TESTS makefile variable.
13139
13140 2014-02-18 Doug Evans <dje@google.com>
13141
13142 * Makefile.in (check-parallel): rm -rf outputs temp.
13143
13144 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13145
13146 Fix "ERROR: no fileid for" in the testsuite.
13147 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
13148
13149 2014-02-12 Doug Evans <dje@google.com>
13150
13151 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
13152 (MISCELLANEOUS): New variable.
13153 (clean): rm -rf $(MISCELLANEOUS).
13154 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
13155 dwp live in the same directory as symlinks, with each symlink pointed
13156 to a differently named file in a different directory.
13157
13158 2014-02-11 Doug Evans <dje@google.com>
13159
13160 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
13161 of Tcl file commands.
13162
13163 2014-02-10 Mark Kettenis <kettenis@gnu.org>
13164
13165 * gdb.threads/step-after-sr-lock.exp: Avoid executing
13166 "kill -SIGUSR1 -1".
13167
13168 2014-02-10 Joel Brobecker <brobecker@adacore.com>
13169
13170 * gdb.ada/tick_length_array_enum_idx: New testcase.
13171
13172 2014-02-10 Doug Evans <xdje42@gmail.com>
13173
13174 * configure.ac (AC_OUTPUT): Add gdb.guile.
13175 * configure: Regenerate.
13176 * lib/gdb-guile.exp: New file.
13177 * lib/gdb.exp (get_target_charset): New function.
13178 * gdb.base/help.exp: Update expected output from "apropos apropos".
13179 * gdb.guile/Makefile.in: New file.
13180 * gdb.guile/guile.exp: New file.
13181 * gdb.guile/scm-arch.c: New file.
13182 * gdb.guile/scm-arch.exp: New file.
13183 * gdb.guile/scm-block.c: New file.
13184 * gdb.guile/scm-block.exp: New file.
13185 * gdb.guile/scm-breakpoint.c: New file.
13186 * gdb.guile/scm-breakpoint.exp: New file.
13187 * gdb.guile/scm-disasm.c: New file.
13188 * gdb.guile/scm-disasm.exp: New file.
13189 * gdb.guile/scm-equal.c: New file.
13190 * gdb.guile/scm-equal.exp: New file.
13191 * gdb.guile/scm-error.exp: New file.
13192 * gdb.guile/scm-error.scm: New file.
13193 * gdb.guile/scm-frame-args.c: New file.
13194 * gdb.guile/scm-frame-args.exp: New file.
13195 * gdb.guile/scm-frame-args.scm: New file.
13196 * gdb.guile/scm-frame-inline.c: New file.
13197 * gdb.guile/scm-frame-inline.exp: New file.
13198 * gdb.guile/scm-frame.c: New file.
13199 * gdb.guile/scm-frame.exp: New file.
13200 * gdb.guile/scm-generics.exp: New file.
13201 * gdb.guile/scm-gsmob.exp: New file.
13202 * gdb.guile/scm-iterator.c: New file.
13203 * gdb.guile/scm-iterator.exp: New file.
13204 * gdb.guile/scm-math.c: New file.
13205 * gdb.guile/scm-math.exp: New file.
13206 * gdb.guile/scm-objfile-script-gdb.in: New file.
13207 * gdb.guile/scm-objfile-script.c: New file.
13208 * gdb.guile/scm-objfile-script.exp: New file.
13209 * gdb.guile/scm-objfile.c: New file.
13210 * gdb.guile/scm-objfile.exp: New file.
13211 * gdb.guile/scm-ports.exp: New file.
13212 * gdb.guile/scm-pretty-print.c: New file.
13213 * gdb.guile/scm-pretty-print.exp: New file.
13214 * gdb.guile/scm-pretty-print.scm: New file.
13215 * gdb.guile/scm-section-script.c: New file.
13216 * gdb.guile/scm-section-script.exp: New file.
13217 * gdb.guile/scm-section-script.scm: New file.
13218 * gdb.guile/scm-symbol.c: New file.
13219 * gdb.guile/scm-symbol.exp: New file.
13220 * gdb.guile/scm-symtab-2.c: New file.
13221 * gdb.guile/scm-symtab.c: New file.
13222 * gdb.guile/scm-symtab.exp: New file.
13223 * gdb.guile/scm-type.c: New file.
13224 * gdb.guile/scm-type.exp: New file.
13225 * gdb.guile/scm-value-cc.cc: New file.
13226 * gdb.guile/scm-value-cc.exp: New file.
13227 * gdb.guile/scm-value.c: New file.
13228 * gdb.guile/scm-value.exp: New file.
13229 * gdb.guile/source2.scm: New file.
13230 * gdb.guile/types-module.cc: New file.
13231 * gdb.guile/types-module.exp: New file.
13232
13233 2014-02-10 Yao Qi <yao@codesourcery.com>
13234
13235 PR testsuite/16543
13236 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
13237 * configure: Regenerated.
13238 * Makefile.in: New file.
13239
13240 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
13241
13242 * gdb.python/py-framefilter.exp: Fix typo.
13243
13244 2014-02-08 Yao Qi <yao@codesourcery.com>
13245
13246 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
13247 that no =breakpoint-modified is emitted when breakpoints are
13248 modified through MI commands.
13249
13250 2014-02-07 Pedro Alves <pedro@codesourcery.com>
13251 Pedro Alves <palves@redhat.com>
13252
13253 * gdb.threads/step-after-sr-lock.c: New file.
13254 * gdb.threads/step-after-sr-lock.exp: New file.
13255
13256 2014-02-07 Pedro Alves <palves@redhat.com>
13257
13258 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
13259
13260 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
13261
13262 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
13263 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
13264
13265 2014-02-06 Doug Evans <xdje42@gmail.com>
13266
13267 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
13268 output.
13269
13270 * gdb.gdb/python-interrupts.exp: New file.
13271
13272 2014-02-05 Yao Qi <yao@codesourcery.com>
13273
13274 * gdb.trace/report.exp (use_collected_data): Test the output
13275 of "info threads" and "info inferiors".
13276
13277 2014-02-05 Yao Qi <yao@codesourcery.com>
13278
13279 Revert this patch:
13280
13281 2013-05-24 Yao Qi <yao@codesourcery.com>
13282
13283 * gdb.trace/tfile.exp: Test inferior and thread.
13284
13285 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
13286
13287 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
13288 on a function.
13289 * gdb.base/step-bt.c: Call hello via function pointer to make
13290 sure its first instruction is executed on powerpc64le-linux.
13291
13292 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
13293
13294 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
13295
13296 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
13297
13298 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
13299 of the test patterns for use on little-endian systems.
13300
13301 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
13302
13303 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
13304 (decimal_vector): Fix for little-endian.
13305
13306 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
13307
13308 * gdb.arch/sparc-sysstep.exp: New file.
13309 * gdb.arch/sparc-sysstep.c: Likewise.
13310
13311 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
13312
13313 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13314
13315 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
13316
13317 2014-01-23 Tom Tromey <tromey@redhat.com>
13318
13319 * gdb.ada/array_char_idx: New testcase.
13320
13321 2014-01-23 Tom Tromey <tromey@redhat.com>
13322
13323 PR python/16487:
13324 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
13325 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
13326 classes.
13327
13328 2014-01-23 Tom Tromey <tromey@redhat.com>
13329
13330 PR python/16491:
13331 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
13332 string from an inferior frame.
13333 * gdb.python/py-framefilter-mi.exp: Update.
13334
13335 2014-01-22 Doug Evans <dje@google.com>
13336
13337 * gdb.server/server-mon.exp: Add tests for "set debug-format".
13338
13339 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
13340
13341 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
13342
13343 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
13344
13345 * gdb.trace/entry-values.exp: Remove excess space character from
13346 regex patterns. Handle s390 call instruction.
13347
13348 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
13349
13350 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
13351 define "*_start" label. Make "name" static.
13352 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
13353 ${name} by references to ${name}_start.
13354
13355 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
13356
13357 * gdb.base/info-macros.exp: Remove "debug" from the compile
13358 options.
13359
13360 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
13361
13362 * gdb.dlang/demangle.exp: New file.
13363
13364 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
13365
13366 * gdb.dlang/primitive-types.exp: New file.
13367
13368 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
13369
13370 * configure.ac: Create gdb.dlang/Makefile.
13371 * configure: Regenerate.
13372 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
13373 * gdb.dlang/Makefile.in: New file.
13374 * lib/d-support.exp: New file.
13375 * lib/gdb.exp (skip_d_tests): New proc.
13376
13377 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13378
13379 * gdb.btrace/delta.exp: Check reverse stepi.
13380 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
13381 * gdb.btrace/finish.exp: New.
13382 * gdb.btrace/next.exp: New.
13383 * gdb.btrace/nexti.exp: New.
13384 * gdb.btrace/record_goto.c: Add comments.
13385 * gdb.btrace/step.exp: New.
13386 * gdb.btrace/stepi.exp: New.
13387 * gdb.btrace/multi-thread-step.c: New.
13388 * gdb.btrace/multi-thread-step.exp: New.
13389 * gdb.btrace/rn-dl-bind.c: New.
13390 * gdb.btrace/rn-dl-bind.exp: New.
13391 * gdb.btrace/data.c: New.
13392 * gdb.btrace/data.exp: New.
13393 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
13394
13395 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13396
13397 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
13398 * gdb.btrace/exception.exp: Update.
13399 * gdb.btrace/instruction_history.exp: Update.
13400 * gdb.btrace/record_goto.exp: Update.
13401 * gdb.btrace/tailcall.exp: Update.
13402 * gdb.btrace/unknown_functions.exp: Update.
13403 * gdb.btrace/delta.exp: New.
13404
13405 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13406
13407 * gdb.btrace/record_goto.exp: Add backtrace test.
13408 * gdb.btrace/tailcall.exp: Add backtrace test.
13409
13410 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13411
13412 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
13413 * gdb.btrace/record_goto.c: New.
13414 * gdb.btrace/record_goto.exp: New.
13415 * gdb.btrace/x86-record_goto.S: New.
13416
13417 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13418
13419 * gdb.btrace/function_call_history.exp: Update tests.
13420 * gdb.btrace/instruction_history.exp: Update tests.
13421
13422 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13423
13424 * gdb.btrace/function_call_history.exp: Fix expected field
13425 order for "record function-call-history".
13426 Add new tests for "record function-call-history /c".
13427 * gdb.btrace/exception.cc: New.
13428 * gdb.btrace/exception.exp: New.
13429 * gdb.btrace/tailcall.exp: New.
13430 * gdb.btrace/x86-tailcall.S: New.
13431 * gdb.btrace/x86-tailcall.c: New.
13432 * gdb.btrace/unknown_functions.c: New.
13433 * gdb.btrace/unknown_functions.exp: New.
13434 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
13435
13436 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13437
13438 * gdb.btrace/instruction_history.exp: Update.
13439 * gdb.btrace/function_call_history.exp: Update.
13440
13441 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13442
13443 * gdb.btrace/function_call_history.exp: Fix expected function
13444 trace.
13445 * gdb.btrace/instruction_history.exp: Initialize traced.
13446 Remove traced_functions.
13447
13448 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13449
13450 * gdb.btrace/function_call_history.exp: Update
13451 * gdb.btrace/instruction_history.exp: Update.
13452
13453 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13454
13455 * gdb.btrace/enable.exp: Update expected text.
13456
13457 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
13458
13459 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
13460 bytes.
13461
13462 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
13463
13464 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
13465
13466 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
13467
13468 * lib/gdb.exp (supports_process_record): Return true for
13469 arm*-linux*. (supports_reverse): Likewise.
13470
13471 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
13472
13473 PR python/15464
13474 PR python/16113
13475 * gdb.python/py-type.c: Enhance test case.
13476 * gdb.python/py-value-cc.cc: Likewise
13477 * gdb.python/py-type.exp: Add new tests.
13478 * gdb.python/py-value-cc.exp: Likewise
13479
13480 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
13481 Pedro Alves <palves@redhat.com>
13482
13483 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
13484 Make "name" extern.
13485 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
13486 references to ${name}_start by references to ${name}.
13487
13488 2014-01-10 Joel Brobecker <brobecker@adacore.com>
13489
13490 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
13491
13492 2014-01-10 Joel Brobecker <brobecker@adacore.com>
13493
13494 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
13495
13496 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
13497 Pedro Alves <palves@redhat.com>
13498
13499 * gdb.mi/mi-info-os.exp: Connect to the target with
13500 mi_gdb_target_load.
13501
13502 2014-01-08 Pedro Alves <palves@redhat.com>
13503
13504 * gdb.threads/reconnect-signal.c: New file.
13505 * gdb.threads/reconnect-signal.exp: New file.
13506
13507 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13508
13509 * gdb.base/source-dir.exp: New file.
13510
13511 2014-01-07 Joel Brobecker <brobecker@adacore.com>
13512
13513 * gdb.ada/mi_interface: New testcase.
13514
13515 2014-01-07 Joel Brobecker <brobecker@adacore.com>
13516
13517 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
13518 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
13519 gdb.ada/pp-rec-component/pck.ads: New files.
13520
13521 2014-01-07 Joel Brobecker <brobecker@adacore.com>
13522
13523 * gdb.python/py-pp-integral.c: New file.
13524 * gdb.python/py-pp-integral.py: New file.
13525 * gdb.python/py-pp-integral.exp: New file.
13526
13527 For older changes see ChangeLog-1993-2013.
13528 \f
13529 ;; Local Variables:
13530 ;; mode: change-log
13531 ;; left-margin: 8
13532 ;; fill-column: 74
13533 ;; version-control: never
13534 ;; End:
13535
13536 Copyright 2014-2018 Free Software Foundation, Inc.
13537 Copying and distribution of this file, with or without modification,
13538 are permitted provided the copyright notice and this notice are preserved.
This page took 0.318826 seconds and 4 git commands to generate.