]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gdb/testsuite/ChangeLog
Fix AMD64 return value ABI in expression evaluation
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2019-04-15 Leszek Swirski <leszeks@google.com>
2
3 * gdb.arch/amd64-eval.cc: New file.
4 * gdb.arch/amd64-eval.exp: New file.
5
6 2019-04-11 Alan Hayward <alan.hayward@arm.com>
7
8 * gdb.server/sysroot.c: New test.
9 * gdb.server/sysroot.exp: New file.
10 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
11 matching param.
12
13 2019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
14
15 * gdb.base/align.exp: Extend test to cover structures containing
16 only static fields.
17
18 2019-04-11 Tom de Vries <tdevries@suse.de>
19
20 * boards/cc-with-dwz-m.exp: New file.
21 * boards/cc-with-dwz.exp: New file.
22 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
23
24 2019-04-09 Simon Marchi <simon.marchi@efficios.com>
25
26 * gdb.base/start-cpp.exp: New file.
27 * gdb.base/start-cpp.cc: New file.
28
29 2019-04-08 Kevin Buettner <kevinb@redhat.com>
30
31 * gdb.python/py-thrhandle.exp: Adjust tests to call
32 thread_from_handle instead of thread_from_thread_handle.
33
34 2019-04-08 Kevin Buettner <kevinb@redhat.com>
35
36 * gdb.python/py-thrhandle.exp: Add tests for
37 gdb.InferiorThread.handle.
38
39 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
40
41 * gdb.python/py-function.exp: Check calling helper function from
42 all languages.
43 * lib/gdb.exp (gdb_supported_languages): New proc.
44
45 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
46
47 * gdb.base/complex-parts.c: New file.
48 * gdb.base/complex-parts.exp: New file.
49
50 2019-04-01 Tom Tromey <tromey@adacore.com>
51
52 PR symtab/23331:
53 * gdb.dwarf2/dw2-ranges-main.c: New file.
54 * gdb.dwarf2/dw2-ranges-psym.c: New file.
55 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
56
57 2019-03-30 Simon Marchi <simark@simark.ca>
58
59 * gdb.base/default.exp: Add values for $_gdb_major and
60 $_gdb_minor.
61
62 2019-03-29 Tom Tromey <tromey@adacore.com>
63
64 * gdb.base/help.exp: Tighten apropos regexp.
65
66 2019-03-29 Keith Seitz <keiths@redhat.com>
67
68 * gdb.fortran/array-bounds.exp: New file.
69 * gdb.fortran/array-bounds.f90: New file.
70
71 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
72
73 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
74
75 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
76
77 * gdb.multi/hello.c (main): Increase alarm timer.
78
79 2019-03-28 Sandra Loosemore <sandra@codesourcery.com>
80
81 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
82 factor when no hardware watchpoint support.
83
84 2019-03-28 Alan Hayward <alan.hayward@arm.com>
85 Pedro Alves <palves@redhat.com>
86
87 * boards/local-board.exp: set sysroot to /.
88
89 2019-03-27 Alan Hayward <alan.hayward@arm.com>
90
91 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
92 in child.
93
94 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
95
96 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
97 field.
98 (make_container): Initialise new field.
99 * gdb.python/py-prettyprint.exp: Add new tests.
100 * gdb.python/py-prettyprint.py (class ContainerPrinter)
101 <display_hint>: New method.
102
103 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
104
105 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
106 gdb_continue_to_breakpoint more throughout this test.
107 (run_lang_tests) Supply unique test names, and use
108 gdb_test_no_output.
109
110 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
111
112 * gdb.base/finish-pretty.exp: Update expected results.
113 * gdb.base/pretty-print.c: New file.
114 * gdb.base/pretty-print.exp: New file.
115
116 2019-03-25 Pedro Alves <palves@redhat.com>
117
118 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
119 move comments outside list. Append '-i "" eof' section.
120
121 2019-03-22 Alan Hayward <alan.hayward@arm.com>
122
123 * README: Add pie options.
124 * gdb.base/break-interp.exp: Ensure pie is disabled.
125 * gdb.base/dump.exp: Likewise.
126 * lib/gdb.exp (gdb_compile): Add pie option.
127
128 2019-03-19 Tom Tromey <tromey@adacore.com>
129
130 * gdb.mi/mi2-cli-display.c: New file.
131 * gdb.mi/mi2-cli-display.exp: New file.
132
133 2019-03-18 Joel Brobecker <brobecker@adacore.com>
134 Tom Tromey <tromey@adacore.com>
135
136 * gdb.ada/ptype_array/pck.adb: New file.
137 * gdb.ada/ptype_array/pck.ads: New file.
138 * gdb.ada/ptype_array/foo.adb: New file.
139 * gdb.ada/ptype_array.exp: New file.
140
141 2019-03-14 Tom Tromey <tromey@adacore.com>
142
143 * gdb.base/style.exp: Add "set style sources" test.
144
145 2019-03-13 Simon Marchi <simon.marchi@ericsson.com>
146
147 * mi-breakpoint-location-ena-dis.exp: Rename to ...
148 * mi-breakpoint-multiple-locations.exp: ... this.
149 (make_breakpoints_pattern): New proc.
150 (do_test): Add mi_version parameter, test -break-insert,
151 -break-info and =breakpoint-created.
152
153 2019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
154
155 * config/default.exp: Remove 'load_lib gdb.exp'.
156 * config/monitor.exp: Likewise.
157 * config/sid.exp: Likewise.
158 * config/sim.exp: Likewise.
159 * config/slite.exp: Likewise.
160 * config/unix.exp: Likewise.
161 * gdb.base/default.exp: Remove unhelpful comment.
162
163 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
164
165 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
166
167 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
168
169 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
170
171 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
172
173 * gdb.fortran/type-kinds.exp: Update expected results.
174
175 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
176
177 * gdb.fortran/type-kinds.exp: Test new integer type kind.
178
179 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
180
181 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
182 function.
183 (test_basic_parsing_of_type_kinds): Expand types tested.
184 (test_parsing_invalid_type_kinds): New function.
185
186 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
187
188 * gdb.fortran/intrinsics.exp: New file.
189 * gdb.fortran/intrinsics.f90: New file.
190 * gdb.fortran/type-kinds.exp: New file.
191
192 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
193
194 * gdb.fortran/dot-ops.exp: New file.
195
196 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
197
198 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
199 Check upper and lower case logical literals.
200
201 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
202
203 * gdb.fortran/types.exp (test_float_literal_types_accepted):
204 Remove duplicate tests.
205
206 2019-03-06 Alan Hayward <alan.hayward@arm.com>
207
208 * lib/gdb.exp (builtin_cd): rename of cd.
209 (cd): Override builtin.
210
211 2019-03-06 Richard Bunt <richard.bunt@arm.com>
212
213 * gdb.fortran/function-calls.exp: New file.
214 * gdb.fortran/function-calls.f90: New test.
215
216 2019-03-04 Richard Bunt <richard.bunt@arm.com>
217
218 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
219 on user program standard output.
220 * gdb.fortran/short-circuit-argument-list.f90: Record function
221 calls.
222
223 2019-02-28 Alan Hayward <alan.hayward@arm.com>
224
225 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
226 failure.
227
228 2019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
229
230 PR gdb/8527
231 * gdb.base/interrupt-daemon-attach.c,
232 gdb.base/interrupt-daemon-attach.exp: New test.
233
234 2019-02-27 Pedro Alves <palves@redhat.com>
235
236 * gdb.base/page.exp: Add tests for "set width/height -1".
237
238 2019-02-27 Pedro Alves <palves@redhat.com>
239
240 * gdb.base/page.exp: Add tests for "set/show width/height" with
241 "infinite" values.
242
243 2019-02-27 Tom Tromey <tromey@adacore.com>
244
245 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
246 2.4.
247 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
248 workaround.
249
250 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
251
252 * gdb.base/align.exp: Extend to compile in both C and C++, and add
253 tests for structs with static members.
254
255 2019-02-26 Tom Tromey <tromey@adacore.com>
256
257 * gdb.python/py-value.exp (test_value_from_buffer): Check for
258 ValueError, not TypeError.
259
260 2019-02-26 Kevin Buettner <kevinb@redhat.com>
261
262 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
263 call from main program.
264
265 2019-02-23 Joel Brobecker <brobecker@adacore.com>
266
267 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
268 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
269 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
270 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
271 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
272
273 2019-02-22 Keith Seitz <keiths@redhat.com>
274
275 PR symtab/23853
276 * gdb.base/symlink-sourcefile.c: New file.
277 * gdb.base/symlink-sourcefile.exp: New file.
278
279 2019-02-20 Tom Tromey <tom@tromey.com>
280
281 * gdb.base/info_qt.exp: Update.
282
283 2019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
284
285 * gdb.base/source.exp: Move "error in sourced script" code to
286 the end.
287 * gdb.base/source-error.gdb: Move contents to
288 source-error-1.gdb. Add new code to source source-error-1.gdb.
289 * gdb.base/source-error-1.gdb: New file, from previous
290 source-error.gdb.
291
292 2019-02-17 Tom Tromey <tom@tromey.com>
293
294 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
295 for macro styling.
296 * gdb.base/style.c (SOME_MACRO): New macro.
297
298 2019-02-17 Tom Tromey <tom@tromey.com>
299
300 * gdb.base/style.exp: Add line-wrapping tests.
301 * gdb.base/page.exp: Add test for quitting during pagination.
302
303 2019-02-17 Joel Brobecker <brobecker@adacore.com>
304
305 * gdb.ada/big_packed_array: New testcase.
306 * gdb.ada/homonym.exp: Fix incorrect expected output for
307 "break <homonym__get_value>" test.
308
309 2019-02-13 Weimin Pan <weimin.pan@oracle.com>
310
311 PR breakpoints/21870
312 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
313 and prepare_for_testing. Add comment.
314 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
315 redundant cleanup call. Clean up comment.
316
317 2019-02-12 Weimin Pan <weimin.pan@oracle.com>
318
319 PR breakpoints/21870
320 * gdb.arch/aarch64-dbreg-contents.exp: New file.
321 * gdb.arch/aarch64-dbreg-contents.c: New file.
322
323 2019-02-10 Joel Brobecker <brobecker@adacore.com>
324
325 * gdb.ada/mi_ref_changeable: New testcase.
326
327 2019-02-07 Alan Hayward <alan.hayward@arm.com>
328
329 * gdb.base/attach.exp: Add double attach test.
330
331 2019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
332
333 * lib/gdb.exp (default_gdb_start): Don't match pagination
334 prompt.
335 (gdb_init): Set stty_init.
336
337 2019-01-27 Tom Tromey <tom@tromey.com>
338
339 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
340 skip_python_tests.
341
342 2019-01-24 Alan Hayward <alan.hayward@arm.com>
343
344 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
345 New structure.
346 (struct struct_static_02_02): Likewise.
347 (struct struct_static_02_03): Likewise.
348 (struct struct_static_02_04): Likewise.
349 (struct struct_static_04_01): Likewise.
350 (struct struct_static_04_02): Likewise.
351 (struct struct_static_04_03): Likewise.
352 (struct struct_static_04_04): Likewise.
353 (struct struct_static_06_01): Likewise.
354 (struct struct_static_06_02): Likewise.
355 (struct struct_static_06_03): Likewise.
356 (struct struct_static_06_04): Likewise.
357 (cmp_struct_static_02_01): Likewise.
358 (cmp_struct_static_02_02): Likewise.
359 (cmp_struct_static_02_03): Likewise.
360 (cmp_struct_static_02_04): Likewise.
361 (cmp_struct_static_04_01): Likewise.
362 (cmp_struct_static_04_02): Likewise.
363 (cmp_struct_static_04_03): Likewise.
364 (cmp_struct_static_04_04): Likewise.
365 (cmp_struct_static_06_01): Likewise.
366 (cmp_struct_static_06_02): Likewise.
367 (cmp_struct_static_06_03): Likewise.
368 (cmp_struct_static_06_04): Likewise.
369 (call_all): Test new structs.
370 * gdb.base/infcall-nested-structs.exp: Likewise.
371
372 2019-01-21 Alan Hayward <alan.hayward@arm.com>
373 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
374
375 2019-01-21 Alan Hayward <alan.hayward@arm.com>
376 * gdb.base/stack-protector.c: New test.
377 * gdb.base/stack-protector.exp: New file.
378 * gdb.cp/ovldbreak.exp: Only allow a single break line.
379 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
380 option.
381 (gdb_compile): Remove stack protector for GCC and prevent
382 recursion.
383
384 2019-01-16 Keith Seitz <keiths@redhat.com>
385
386 PR gdb/23773
387 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
388
389 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
390
391 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
392 aliases.
393 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
394 tests.
395 * gdb.arch/powerpc-vector-regs.c: New file.
396 * gdb.arch/powerpc-vector-regs.exp: New file.
397
398 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
399
400 * gdb.arch/altivec-regs.exp: Fix the list passed to
401 gdb_expect_list when testing "info vector".
402
403 2019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
404
405 * gdb.base/style.exp: Don't include path in testname.
406
407 2019-01-10 Keith Seitz <keiths@redhat.com>
408
409 PR gdb/23712
410 PR symtab/23010
411 * gdb.dwarf2/multidictionary.exp: New file.
412
413 2019-01-09 Simon Marchi <simon.marchi@ericsson.com>
414
415 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
416 (test_gnuv3_style_demangling): ... this.
417 (test_lucid_style_demangling): Remove.
418 (test_arm_style_demangling): Remove.
419 (test_hp_style_demangling): Remove.
420 (do_tests): Remove calls to the above.
421
422 2019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
423
424 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
425 case.
426
427 2019-01-06 Tom Tromey <tom@tromey.com>
428
429 PR gdb/28155:
430 * gdb.dwarf2/typedef-void-finish.exp: New file.
431
432 2018-12-28 Tom Tromey <tom@tromey.com>
433 Simon Marchi <simark@simark.ca>
434
435 * gdb.base/jit-exec.exp: New file.
436 * gdb.base/jit-exec.c: New file.
437 * gdb.base/jit-execd.c: New file.
438
439 2018-12-28 Tom Tromey <tom@tromey.com>
440
441 * gdb.base/style.exp: Update test to check for address styling.
442
443 2018-12-28 Tom Tromey <tom@tromey.com>
444
445 * gdb.base/style.exp: Add test for styling of "Reading symbols"
446 message.
447
448 2018-12-28 Tom Tromey <tom@tromey.com>
449
450 * gdb.base/style.exp: Add test for version number styling.
451
452 2018-12-28 Tom Tromey <tom@tromey.com>
453
454 * gdb.base/style.exp: Add test for print_address_symbolic.
455
456 2018-12-28 Tom Tromey <tom@tromey.com>
457
458 * gdb.base/style.exp: Add test for breakpoint setting.
459
460 2018-12-28 Tom Tromey <tom@tromey.com>
461
462 * gdb.base/style.exp: Add test for variable names.
463
464 2018-12-28 Tom Tromey <tom@tromey.com>
465
466 * gdb.base/style.exp: New file.
467 * gdb.base/style.c: New file.
468
469 2018-12-28 Tom Tromey <tom@tromey.com>
470
471 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
472 "dumb".
473 * gdb.base/readline.exp (operate_and_get_next): Save and restore
474 the TERM environment variable.
475
476 2018-12-27 Tom Tromey <tom@tromey.com>
477
478 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
479 pagination test.
480
481 2018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
482
483 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
484 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
485
486 2018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
487
488 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
489 Filename a.adb changed to bp_fun_addr.adb.
490 gdb.ada/bp_fun_addr.exp: Update test accordingly.
491
492 2018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
493
494 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
495 non-PIE executables.
496 * README: Mention the gdb,nopie_flag board setting.
497 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
498 non-PIE executable.
499 * gdb.arch/amd64-entry-value.exp: Likewise.
500 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
501 * gdb.arch/i386-float.exp: Likewise.
502 * gdb.arch/i386-signal.exp: Likewise.
503 * gdb.mi/mi-reg-undefined.exp: Likewise.
504
505 2018-12-21 Paul Marechal <paul.marechal@ericsson.com>
506
507 PR gdb/23974
508 * gdb.base/info-os.exp: Check return for unknown "info os" type.
509
510 2018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
511
512 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
513 Update order of results accordingly.
514
515 2018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
516
517 * gdb.base/annota1.exp: Update a test regexp.
518
519 2018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
520
521 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
522
523 2018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
524
525 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
526 (reuse_time): Initialize to REUSE_TIME_CAP.
527 (check_rc): New function.
528 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
529 Check pthread_create rc.
530 (spawner_thread_func): Check pthread_create and pthread_join rc.
531
532 2018-12-08 Pedro Alves <palves@redhat.com>
533
534 * gdb.base/list.exp (test_forward_search): Rename to ...
535 (test_forward_reverse_search): ... this. Also test reverse-search
536 and the forward-search alias.
537
538 2018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
539
540 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
541 local timeout variable before return, and remove all local timeout
542 variable entirely.
543 (gdb_load): Likewise.
544
545 2018-12-01 Tom de Vries <tdevries@suse.de>
546
547 * gdb.base/gdb-caching-proc.exp: New file.
548
549 2018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
550
551 * Makefile.in (TIMESTAMP): New variable.
552 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
553 command.
554 (check-single-racy): Likewise.
555 (check/%.exp): Likewise.
556 (check-racy/%.exp): Likewise.
557 (workers/%.worker): Likewise.
558 (build-perf): Likewise.
559 (check-perf): Likewise.
560 * README: Describe new "TS" and "TS_FORMAT" variables.
561 * print-ts.py: New file.
562
563 2018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
564
565 PR python/23714
566 * gdb.python/python.exp: Test command repetition after
567 gdb.execute.
568
569 2018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
570
571 * gdb.opt/inline-break.exp: Add test that info breakpoint output
572 is correctly aligned.
573
574 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
575
576 * gdb.ada/info_auto_lang.exp: New testcase.
577 * gdb.ada/info_auto_lang/global_pack.ads: New file.
578 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
579 * gdb.ada/info_auto_lang/some_c.c: New file.
580
581 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
582
583 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
584 FUNC_lang language syntax.
585
586 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
587
588 * gdb.base/info_minsym.c: New file.
589 * gdb.base/info_minsym.exp: New file.
590
591 2018-11-19 Tom Tromey <tom@tromey.com>
592
593 PR rust/23625:
594 * gdb.rust/simple.exp: Add ptype test. Update expected output.
595 * gdb.rust/expr.exp: Update expected output. Change one test.
596
597 2018-11-19 Tom Tromey <tom@tromey.com>
598
599 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
600
601 2018-11-19 Pedro Alves <palves@redhat.com>
602
603 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
604 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
605 see the expected warning.
606
607 2018-11-16 Alan Hayward <alan.hayward@arm.com>
608
609 PR gdb/22736:
610 * gdb.cp/infcall-nodebug-lib.c: New test.
611 * gdb.cp/infcall-nodebug-main.c: New test.
612 * gdb.cp/infcall-nodebug.exp: New file.
613
614 2018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
615
616 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
617 completer tests.
618
619 2018-11-09 Tom de Vries <tdevries@suse.de>
620
621 * gdb.base/msym-lang.c: New test.
622 * gdb.base/msym-lang.exp: New file.
623 * gdb.base/msym-lang-main.c: New test.
624
625 2018-11-08 Tom Tromey <tom@tromey.com>
626
627 PR gdb/23555:
628 PR gdb/23838:
629 * gdb.base/warning.exp: New file.
630
631 2018-11-08 Jan Beulich <jbeulich@suse.com>
632
633 * testsuite/gdb.arch/i386-avx512.c,
634 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
635
636 2018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
637
638 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
639 point hardware.
640
641 2018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
642
643 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
644 * gdb.dwarf2/missing-type-name.exp: New file.
645
646 2018-11-06 Tom de Vries <tdevries@suse.de>
647
648 * gdb.base/many-headers.c: New test.
649 * gdb.base/many-headers.exp: New file.
650
651 2018-11-06 Jim Wilson <jimw@sifive.com>
652
653 * gdb.base/code_elim.exp: For riscv, set additional_flags
654 to include -msmall-data-limit=0.
655
656 2018-11-01 Joel Brobecker <brobecker@adacore.com>
657
658 * gdb.ada/watch_minus_l: New testcase.
659
660 2018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
661
662 * gdb.arch/aix-sighandle.c: New file.
663 * gdb.arch/aix-sighandle.exp: New file.
664
665 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
666
667 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
668 registers being unions.
669
670 2018-10-31 Tom de Vries <tdevries@suse.de>
671
672 * lib/valgrind.exp: New file.
673 (vgdb_start, vgdb_stop): New procs, factored out of ...
674 * gdb.base/valgrind-bt.exp: ... here, ...
675 * gdb.base/valgrind-disp-step.exp: ... here and ...
676 * gdb.base/valgrind-infcall.exp: ... here.
677
678 2018-10-31 Tom de Vries <tdevries@suse.de>
679
680 * lib/gdb.exp (get_valueof): Don't output read value in test name.
681
682 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
683
684 * gdb.dwarf2/void-type.c: New file.
685 * gdb.dwarf2/void-type.exp: New file.
686
687 2018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
688
689 * gdb.base/info_qt.c: New file.
690 * gdb.base/info_qt.exp: New file.
691
692 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
693
694 * gdb.arch/powerpc-htm-regs.c: New file.
695 * gdb.arch/powerpc-htm-regs.exp: New file.
696
697 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
698
699 * gdb.arch/powerpc-tar.c: New file.
700 * gdb.arch/powerpc-tar.exp: New file.
701
702 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
703
704 * gdb.arch/powerpc-ppr-dscr.c: New file.
705 * gdb.arch/powerpc-ppr-dscr.exp: New file.
706
707 2018-10-25 Tom de Vries <tdevries@suse.de>
708
709 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
710
711 2018-10-24 Tom de Vries <tdevries@suse.de>
712
713 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
714 longer exists error.
715
716 2018-10-24 Tom de Vries <tdevries@suse.de>
717
718 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
719
720 2018-10-24 Tom de Vries <tdevries@suse.de>
721
722 * gdb.base/valgrind-db-attach.exp: Handle removed support for
723 --db-attach in valgrind.
724
725 2018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
726
727 * gdb.arch/riscv-reg-aliases.c: New file.
728 * gdb.arch/riscv-reg-aliases.exp: New file.
729
730 2018-10-19 Alan Hayward <alan.hayward@arm.com>
731
732 * gdb.python/py-cmd.exp: Check for gdb_prompt.
733
734 2018-10-19 Alan Hayward <alan.hayward@arm.com>
735
736 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
737
738 2018-10-19 Alan Hayward <alan.hayward@arm.com>
739
740 * gdb.cp/ovldbreak.exp: Fix regexps.
741
742 2018-10-19 Alan Hayward <alan.hayward@arm.com>
743
744 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
745
746 2018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
747
748 PR cli/23785
749 * gdb.base/restore.exp: New test to check if "restore" with an
750 invalid file doesn't segfault.
751
752 2018-10-18 Tom de Vries <tdevries@suse.de>
753
754 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
755 * gdb.ada/excep_handle.exp: Same.
756 * gdb.ada/mi_string_access.exp: Same.
757 * gdb.ada/mi_var_union.exp: Same.
758 * gdb.arch/arc-analyze-prologue.exp: Same.
759 * gdb.arch/arc-decode-insn.exp: Same.
760 * gdb.base/readnever.exp: Same.
761 * gdb.fortran/printing-types.exp: Same.
762 * gdb.guile/scm-lazy-string.exp: Same.
763
764 2018-10-16 Tom de Vries <tdevries@suse.de>
765
766 PR gdb/23730
767 * gdb.base/catch-follow-exec.c: Add copyright notice.
768 * gdb.base/catch-follow-exec.exp: Rewrite to use
769 gdb_spawn_with_cmdline_opts. Require gdb-native.
770
771 2018-10-12 Sandra Loosemore <sandra@codesourcery.com>
772
773 * gdb.trace/actions-changed.exp: Check for arch support.
774 * gdb.trace/actions.exp: Likewise.
775 * gdb.trace/ax.exp: Likewise.
776 * gdb.trace/backtrace.exp: Likewise.
777 * gdb.trace/change-loc.exp: Likewise.
778 * gdb.trace/deltrace.exp: Likewise.
779 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
780 * gdb.trace/ftrace.exp: Likewise.
781 * gdb.trace/infotrace.exp: Check for arch support.
782 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
783 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
784 * gdb.trace/mi-tsv-changed.exp: Likewise.
785 * gdb.trace/packetlen.exp: Likewise.
786 * gdb.trace/passc-dyn.exp: Likewise.
787 * gdb.trace/passcount.exp: Likewise.
788 * gdb.trace/pending.exp: Likewise.
789 * gdb.trace/range-stepping.exp: Check for shlib support.
790 * gdb.trace/report.exp: Check for arch support.
791 * gdb.trace/save-trace.exp: Likewise.
792 * gdb.trace/signal.exp: Check for signal support.
793 * gdb.trace/tfind.exp: Check for arch support.
794 * gdb.trace/trace-break.exp: Check for arch and shlib support.
795 * gdb.trace/trace-common.h: Add comment.
796 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
797 * gdb.trace/trace-enable-disable.exp: Likewise.
798 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
799 * gdb.trace/tracecmd.exp: Check for arch support.
800 * gdb.trace/tspeed.exp: Check for shlib and target support.
801 * gdb.trace/tstatus.exp: Check for arch support.
802 * gdb.trace/tsv.exp: Likewise.
803 * gdb.trace/while-dyn.exp: Likewise.
804 * gdb.trace/while-stepping.exp: Likewise.
805 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
806
807 2018-10-12 Simon Marchi <simon.marchi@ericsson.com>
808
809 * gdb.trace/tspeed.exp: Remove nowarnings.
810 (prepare_for_trace_test): Declare "global ipalib".
811 * gdb.trace/tspeed.c: Include unistd.h.
812 (main): Remove superfluous printf argument.
813
814 2018-10-11 Sandra Loosemore <sandra@codesourcery.com>
815
816 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
817 directory prefix on the filename.
818
819 2018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
820
821 * gdb.gdb/unittest.exp: Update expected message informing that
822 selftests have been disabled.
823 * gdb.server/unittest.exp: Likewise.
824
825 2018-10-09 Tom de Vries <tdevries@suse.de>
826
827 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
828 with runto_main.
829
830 2018-10-08 Weimin Pan <weimin.pan@oracle.com>
831
832 PR c++/16841
833 * gdb.cp/virtbase2.cc: New file.
834 * gdb.cp/virtbase2.exp: New file.
835
836 2018-10-06 Tom Tromey <tom@tromey.com>
837
838 PR python/19399:
839 * gdb.python/py-inferior.exp: Add architecture test.
840
841 2018-10-06 Tom Tromey <tom@tromey.com>
842
843 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
844 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
845
846 2018-10-06 Tom Tromey <tom@tromey.com>
847
848 * gdb.python/py-breakpoint.exp (check_last_event): Check location
849 of a "throw" catchpoint.
850
851 2018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
852
853 * gdb.base/info-proc.exp: Update string expected from "help info
854 proc".
855
856 2018-10-04 Tom Tromey <tom@tromey.com>
857
858 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
859 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
860 (test_initial_complaints, test_empty_complaints): Update.
861 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
862
863 2018-10-04 Tom Tromey <tom@tromey.com>
864
865 PR cli/19551:
866 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
867 * lib/gdb.exp (gdb_file_cmd): Update.
868 * gdb.stabs/weird.exp (print_weird_var): Update.
869 * gdb.server/solib-list.exp: Update.
870 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
871 * gdb.mi/mi-cli.exp: Update.
872 * gdb.linespec/linespec.exp: Update.
873 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
874 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
875 * gdb.cp/cp-relocate.exp: Update.
876 * gdb.base/sym-file.exp: Update.
877 * gdb.base/relocate.exp: Update.
878 * gdb.base/readnever.exp: Update.
879 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
880 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
881 * gdb.base/dbx.exp (gdb_file_cmd): Update.
882 * gdb.base/code_elim.exp: Update.
883 * gdb.base/break-unload-file.exp (test_break): Update.
884 * gdb.base/break-interp.exp (test_attach_gdb): Update.
885 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
886 Update.
887 * gdb.base/attach.exp (do_attach_tests): Update.
888 * gdb.base/sepdebug.exp: Update.
889 * gdb.python/py-section-script.exp: Update.
890
891 2018-10-04 Tom Tromey <tom@tromey.com>
892
893 PR cli/22234:
894 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
895 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
896 output.
897
898 2018-10-04 Tom Tromey <tom@tromey.com>
899
900 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
901 set width and height to 0.
902 (test_command_line_attach_run): Use -quiet.
903
904 2018-10-03 Sandra Loosemore <sandra@codesourcery.com>
905
906 * lib/gdb.exp (skip_ifunc_tests): New.
907 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
908 other compile failures.
909 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
910
911 2018-10-01 Simon Marchi <simon.marchi@ericsson.com>
912
913 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
914 is_amd64_regs_target.
915
916 2018-10-01 Alan Hayward <alan.hayward@arm.com>
917
918 * gdb.arch/aarch64-sighandler-regs.c: New test.
919 * gdb.arch/aarch64-sighandler-regs.exp: New file.
920 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
921
922 2018-10-01 Markus Metzger <markus.t.metzger@intel.com>
923
924 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
925 assembly.
926
927 2018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
928
929 * gdb.base/frame-selection.exp: New file.
930 * gdb.base/frame-selection.c: New file.
931
932 2018-09-27 Alan Hayward <alan.hayward@arm.com>
933
934 * gdb.threads/check-libthread-db.c (thread_routine): Use a
935 pthread barrier.
936 (main): Likewise.
937
938 2018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
939
940 * gdb.base/large-frame-1.c: New file.
941 * gdb.base/large-frame-2.c: New file.
942 * gdb.base/large-frame.exp: New file.
943 * gdb.base/large-frame.h: New file.
944
945 2018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
946
947 PR gdb/20948
948 * gdb.base/write_mem.exp: New test.
949 * gdb.base/write_mem.c: Likewise.
950
951 2018-09-23 Tom Tromey <tom@tromey.com>
952
953 PR python/18852:
954 * gdb.python/py-parameter.exp: Add test for parameter that throws
955 on "set".
956
957 2018-09-23 Tom Tromey <tom@tromey.com>
958
959 PR python/17284:
960 * gdb.python/py-template.exp (test_template_arg): Add test for
961 negative template argument number.
962
963 2018-09-23 Tom Tromey <tom@tromey.com>
964
965 PR python/14062:
966 * gdb.python/python.exp: Add test for post_event error.
967
968 2018-09-23 Tom Tromey <tom@tromey.com>
969
970 PR python/18170:
971 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
972 convert pointers to int and long.
973
974 2018-09-23 Tom Tromey <tom@tromey.com>
975
976 PR python/20126:
977 * gdb.python/py-value.exp (test_value_numeric_ops): Add
978 signed-ness conversion tests.
979
980 2018-09-23 Tom Tromey <tom@tromey.com>
981
982 PR python/18352;
983 * gdb.python/py-value.exp (test_float_conversion): New proc.
984 Use it.
985
986 2018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
987
988 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
989
990 2018-09-18 Sandra Loosemore <sandra@codesourcery.com>
991
992 * gdb.base/complete-empty.exp: Skip tab-completion tests if
993 no readline.
994 * gdb.base/utf8-identifiers.exp: Likewise.
995 * gdb.cp/cpcompletion.exp: Likewise.
996 * gdb.linespec/cpcompletion.exp: Likewise.
997 * gdb.linespec/cpls-abi-tag.exp: Likewise.
998 * gdb.linespec/cpls-ops.exp: Likewise.
999
1000 2018-09-19 Richard Bunt <richard.bunt@arm.com>
1001 Chris January <chris.january@arm.com>
1002
1003 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
1004 * gdb.fortran/short-circuit-argument-list.exp: New file.
1005 * gdb.fortran/short-circuit-argument-list.f90: New test.
1006
1007 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
1008
1009 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
1010 "arch=" keyword when executing "-stack-list-frames".
1011
1012 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
1013
1014 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
1015 "arch=" keyword when executing "-stack-list-frames".
1016
1017 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
1018
1019 * gdb.ada/complete.exp: Expect for "@" when doing "complete
1020 break ada".
1021
1022 2018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
1023
1024 PR python/23669
1025 * gdb.python/python.exp: Test gdb.execute("show commands").
1026
1027 2018-09-16 Tom Tromey <tom@tromey.com>
1028
1029 * gdb.base/new-ui.exp (do_execution_tests): Update.
1030 * gdb.base/dbx.exp (test_breakpoints): Update.
1031
1032 2018-09-14 Alan Hayward <alan.hayward@arm.com>
1033
1034 * lib/gdb.exp (gdb_simple_compile): Add proc.
1035 (is_elf_target): Use gdb_simple_compile.
1036 (skip_altivec_tests): Likewise.
1037 (skip_vsx_tests): Likewise.
1038 (skip_tsx_tests): Likewise.
1039 (skip_btrace_tests): Likewise.
1040 (skip_btrace_pt_tests): Likewise.
1041 (gdb_can_simple_compile): Likewise.
1042 (gdb_has_argv0): Likewise.
1043 (gdb_target_symbol_prefix): Likewise.
1044 (target_supports_scheduler_locking): Likewise.
1045
1046 2018-09-13 Tom Tromey <tom@tromey.com>
1047
1048 * Makefile.in (TAGS): Recognize proc_with_prefix and
1049 gdb_caching_proc.
1050
1051 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
1052
1053 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
1054 method.
1055
1056 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
1057
1058 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
1059 and a few other Inferior properties when the Inferior is no
1060 longer valid.
1061
1062 2018-09-13 Tom Tromey <tom@tromey.com>
1063
1064 PR rust/23650:
1065 * gdb.rust/simple.exp: Add test for enum field access error.
1066
1067 2018-09-13 Tom Tromey <tom@tromey.com>
1068
1069 PR rust/23626:
1070 * gdb.rust/simple.rs (EmptyEnum): New type.
1071 (main): Use it.
1072 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
1073
1074 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
1075
1076 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
1077 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
1078 * gdb.python/py-symtab.exp: Update test printing an objfile.
1079
1080 2018-09-12 Simon Marchi <simon.marchi@ericsson.com>
1081
1082 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
1083 object.
1084
1085 2018-09-12 Alan Hayward <alan.hayward@arm.com>
1086
1087 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
1088 (support_complex_tests): Use gdb_can_simple_compile.
1089 (is_ilp32_target): Likewise.
1090 (is_lp64_target): Likewise.
1091 (is_64_target): Likewise.
1092 (is_amd64_regs_target): Likewise.
1093 (is_aarch32_target): Likewise.
1094 (gdb_int128_helper): Likewise.
1095
1096 2018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1097
1098 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
1099
1100 2018-09-10 Jerome Guitton <guitton@adacore.com>
1101
1102 * gdb.ada/same_component_name: Add test for case of tagged record
1103 with variable-length fields.
1104
1105 2018-09-10 Xavier Roirand <roirand@adacore.com>
1106
1107 * gdb.ada/access_to_unbounded_array.exp: New testcase.
1108 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
1109 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
1110 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
1111
1112 2018-09-10 Xavier Roirand <roirand@adacore.com>
1113
1114 * gdb.ada/mi_string_access.exp: New testcase.
1115 * gdb.ada/mi_string_access/bar.adb: New file.
1116 * gdb.ada/mi_string_access/pck.adb: New file.
1117 * gdb.ada/mi_string_access/pck.asd: New file.
1118
1119 2018-09-10 Xavier Roirand <roirand@adacore.com>
1120
1121 * gdb.ada/mi_var_union.exp: New testcase.
1122 * gdb.ada/mi_var_union/bar.adb: New file.
1123 * gdb.ada/mi_var_union/pck.adb: New file.
1124 * gdb.ada/mi_var_union/pck.asd: New file.
1125
1126 2018-09-08 Tom Tromey <tom@tromey.com>
1127
1128 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
1129
1130 2018-09-08 Tom Tromey <tom@tromey.com>
1131
1132 PR python/16047:
1133 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
1134 (register_pretty_printers): Register new printer.
1135 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
1136 test.
1137 * gdb.python/py-prettyprint.c (int_type3): New typedef.
1138 (an_int_type3): New global.
1139
1140 2018-09-08 Joel Brobecker <brobecker@adacore.com>
1141
1142 * gdb.ada/expr_with_funcall: New testcase.
1143
1144 2018-09-08 Joel Brobecker <brobecker@adacore.com>
1145
1146 * gdb.ada/packed_array_assign: New testcase.
1147
1148 2018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
1149
1150 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
1151 names, and add test prefixes to make test names unique.
1152
1153 2018-09-05 Tom de Vries <tdevries@suse.de>
1154
1155 * gdb.dwarf2/varval.exp: Add test.
1156
1157 2018-09-04 Gary Benson <gbenson@redhat.com>
1158
1159 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
1160 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
1161
1162 2018-08-31 Tom Tromey <tom@tromey.com>
1163
1164 * gdb.rust/simple.rs: Rename second variable "v".
1165
1166 2018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
1167
1168 * gdb.base/funcargs.c (use_a): New function.
1169 (recurse): Call use_a.
1170
1171 2018-08-29 Keith Seitz <keiths@redhat.com>
1172
1173 * gdb.compile/compile-cplus-anonymous.cc: New file.
1174 * gdb.compile/compile-cplus-anonymous.exp: New file.
1175 * gdb.compile/compile-cplus-array-decay.cc: New file.
1176 * gdb.compile/compile-cplus-array-decay.exp: New file.
1177 * gdb.compile/compile-cplus-inherit.cc: New file.
1178 * gdb.compile/compile-cplus-inherit.exp: New file.
1179 * gdb.compile/compile-cplus-member.cc: New file.
1180 * gdb.compile/compile-cplus-member.exp: New file.
1181 * gdb.compile/compile-cplus-method.cc: New file.
1182 * gdb.compile/compile-cplus-method.exp: New file.
1183 * gdb.compile/compile-cplus-mod.c: "New" file.
1184 * gdb.compile/compile-cplus-namespace.cc: New file.
1185 * gdb.compile/compile-cplus-namespace.exp: New file.
1186 * gdb.compile/compile-cplus-nested.cc: New file.
1187 * gdb.compile/compile-cplus-nested.exp: New file.
1188 * gdb.compile/compile-cplus-print.c: "New" file.
1189 * gdb.compile/compile-cplus-print.exp: "New" file.
1190 * gdb.compile/compile-cplus-virtual.cc: New file.
1191 * gdb.compile/compile-cplus-virtual.exp: New file.
1192 * gdb.compile/compile-cplus.c: "New" file.
1193 * gdb.compile/compile-cplus.exp: "New" file.
1194 * lib/compile-support.exp: New file.
1195
1196 2018-08-16 Gary Benson <gbenson@redhat.com>
1197
1198 PR gdb/13000:
1199 * gdb.base/batch-exit-status.exp: New file.
1200 * gdb.base/batch-exit-status.good-commands: Likewise.
1201 * gdb.base/batch-exit-status.bad-commands: Likewise.
1202
1203 2018-08-29 Alan Hayward <alan.hayward@arm.com>
1204
1205 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
1206 (struct struct02): Likewise.
1207 (struct struct03): Likewise.
1208 (struct struct04): Likewise.
1209 (struct struct_01_01): New struct.
1210 (struct struct_01_02): Likewise.
1211 (struct struct_01_03): Likewise.
1212 (struct struct_01_04): Likewise.
1213 (struct struct_02_01): Likewise.
1214 (struct struct_02_02): Likewise.
1215 (struct struct_02_03): Likewise.
1216 (struct struct_02_04): Likewise.
1217 (struct struct_04_01): Likewise.
1218 (struct struct_04_02): Likewise.
1219 (struct struct_04_03): Likewise.
1220 (struct struct_04_04): Likewise.
1221 (struct struct_05_01): Likewise.
1222 (struct struct_05_02): Likewise.
1223 (struct struct_05_03): Likewise.
1224 (struct struct_05_04): Likewise.
1225 (cmp_struct01): Remove function.
1226 (cmp_struct02): Likewise.
1227 (cmp_struct03): Likewise.
1228 (cmp_struct04): Likewise.
1229 (cmp_struct_01_01): Add Function.
1230 (cmp_struct_01_02): Likewise.
1231 (cmp_struct_01_03): Likewise.
1232 (cmp_struct_01_04): Likewise.
1233 (cmp_struct_02_01): Likewise.
1234 (cmp_struct_02_02): Likewise.
1235 (cmp_struct_02_03): Likewise.
1236 (cmp_struct_02_04): Likewise.
1237 (cmp_struct_04_01): Likewise.
1238 (cmp_struct_04_02): Likewise.
1239 (cmp_struct_04_03): Likewise.
1240 (cmp_struct_04_04): Likewise.
1241 (cmp_struct_05_01): Likewise.
1242 (cmp_struct_05_02): Likewise.
1243 (cmp_struct_05_03): Likewise.
1244 (cmp_struct_05_04): Likewise.
1245 (call_all): Add new structs.
1246 * gdb.base/infcall-nested-structs.exp: Likewise.
1247
1248 2018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
1249
1250 * gdb.python/py-framefilter-mi.exp: Update regexp to
1251 check for "arch" field in frame output.
1252
1253 2018-08-23 Kevin Buettner <kevinb@redhat.com>
1254
1255 * gdb.dwarf2/dw2-ranges-func.c: New file.
1256 * gdb.dwarf2/dw2-ranges-func.exp: New file.
1257
1258 2018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
1259
1260 * gdb.base/term.exp: Compare terminal settings with values from
1261 the inferior.
1262 * gdb.base/term.c: Get and set terminal settings.
1263
1264 2018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
1265
1266 * lib/mi-support.exp (mi_expect_stop): Update regexp to
1267 accommodate new "arch" field in frame output.
1268 * gdb.mi/mi-return.exp: Likewise.
1269 * gdb.mi/mi-stack.exp: Likewise.
1270 * gdb.mi/mi-syn-frame.exp: Likewise.
1271 * gdb.mi/user-selected-context-sync.exp: Likewise.
1272
1273 2018-08-19 Michael Spang <spang@google.com>
1274
1275 PR gdb/11786
1276 * gdb.base/gcore-tls-pie.c: New file.
1277 * gdb.base/gcore-tls-pie.exp: New file.
1278
1279 2018-08-18 Kevin Buettner <kevinb@redhat.com>
1280
1281 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
1282 * gdb.dwarf2/varval.c: New file.
1283 * gdb.dwarf2/varval.exp: New file.
1284
1285 2018-08-17 Alan Hayward <alan.hayward@arm.com>
1286
1287 PR gdb/18931
1288 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
1289
1290 2018-08-16 Keith Seitz <keiths@redhat.com>
1291
1292 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
1293 tests expected to pass.
1294
1295 2018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
1296
1297 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
1298 -data-disassemble -a.
1299 (test_disassembly_bogus_args): Likewise.
1300
1301 2018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
1302
1303 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
1304
1305 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
1306
1307 * gdb.base/vla-optimized-out.exp: Add new test.
1308
1309 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
1310
1311 * gdb.base/vla-optimized-out-o3.exp: Delete.
1312 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
1313 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
1314 deleted tests.
1315
1316 2018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
1317
1318 PR gdb/18050:
1319 * gdb.server/extended-remote-restart.c: New file.
1320 * gdb.server/extended-remote-restart.exp: New file.
1321
1322 2018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
1323
1324 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
1325 "set variable index = 42".
1326
1327 2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
1328
1329 * boards/index-cache-gdb.exp: New file.
1330 * gdb.dwarf2/index-cache.exp: New file.
1331 * gdb.dwarf2/index-cache.c: New file.
1332 * gdb.base/maint.exp: Check if we are using the index cache.
1333
1334 2018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1335
1336 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
1337 MAKEFLAGS.
1338
1339 2018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1340
1341 * dg-extract-results.sh: Move to toplevel contrib.
1342 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
1343 * Makefile.in (check-parallel-racy): Likewise.
1344
1345 2018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
1346
1347 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
1348 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
1349 tests if the target supports scheduler locking.
1350
1351 2018-08-04 Tom de Vries <tdevries@suse.de>
1352
1353 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
1354
1355 2018-08-02 Tom Tromey <tom@tromey.com>
1356
1357 PR symtab/16842.
1358 * gdb.cp/temargs.exp: Test "info address" of a template
1359 parameter.
1360
1361 2018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
1362
1363 * gdb.python/py-mi-var-info-path-expression.c: New file.
1364 * gdb.python/py-mi-var-info-path-expression.py: New file.
1365 * gdb.python/py-mi-var-info-path-expression.exp: New file.
1366
1367 2018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
1368
1369 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
1370 error after "cannot resolve name" string.
1371
1372 2018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
1373
1374 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
1375 started.
1376 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
1377
1378 2018-07-28 Tom de Vries <tdevries@suse.de>
1379
1380 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
1381
1382 2018-07-26 Tom de Vries <tdevries@suse.de>
1383
1384 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
1385
1386 2018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
1387
1388 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
1389 is visible.
1390
1391 2018-07-26 Tom de Vries <tdevries@suse.de>
1392
1393 PR breakpoints/23366
1394 * gdb.base/catch-follow-exec.c: New test.
1395 * gdb.base/catch-follow-exec.exp: New file.
1396
1397 2018-07-25 Tom de Vries <tdevries@suse.de>
1398
1399 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
1400 vla-optimized-out.c.
1401
1402 2018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
1403
1404 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
1405 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
1406
1407 2018-07-20 Tom de Vries <tdevries@suse.de>
1408
1409 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
1410 NOCLONE macro.
1411 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
1412
1413 2018-07-19 Tom de Vries <tdevries@suse.de>
1414
1415 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
1416 regular expression.
1417
1418 2018-07-18 Tom de Vries <tdevries@suse.de>
1419
1420 * gdb.base/vla-optimized-out.c: New test.
1421 * gdb.base/vla-optimized-out.exp: New file.
1422
1423 2018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
1424
1425 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
1426 message "No address associated with hostname" when gdbserver
1427 cannot resolve the hostname.
1428
1429 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1430
1431 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
1432 Add some test prefixes to make tests unique.
1433
1434 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1435
1436 * gdb.base/frameapply.c: New file.
1437 * gdb.base/frameapply.exp: New file.
1438
1439 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1440
1441 * gdb.base/skip.exp: Update expected error message.
1442
1443 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
1444 Jan Kratochvil <jan.kratochvil@redhat.com>
1445 Paul Fertser <fercerpav@gmail.com>
1446 Tsutomu Seki <sekiriki@gmail.com>
1447
1448 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
1449 parameter.
1450 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
1451 by default.
1452 * boards/native-gdbserver.exp: Likewise.
1453 * gdb.server/run-without-local-binary.exp: Improve regexp used
1454 for detecting when a remote debugging connection succeeds.
1455 * gdb.server/server-connect.exp: New file.
1456 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
1457 Do not prefix the port number with ":".
1458 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
1459 support for detecting and using it. Add '$debughost_gdbserver'
1460 to the list of arguments used to start gdbserver. Handle case
1461 when gdbserver cannot resolve a network name.
1462
1463 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
1464
1465 PR c++/23373
1466 * gdb.base/ptype-offsets.cc (struct static_member): New
1467 struct.
1468 (main) <stmember>: New variable.
1469 * gdb.base/ptype-offsets.exp: Add test for printing a struct
1470 with a static member in it.
1471
1472 2018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
1473
1474 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
1475 watchpoints enabled and disabled.
1476
1477 2018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
1478
1479 * gdb.base/examine-backward.exp: Still run tests around address
1480 0x0, even if address 0x0 is not readable. Update the pattern for
1481 matching address 0x0 in expected output.
1482
1483 2018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
1484
1485 * gdb.base/share-env-with-gdbserver.c (main): Add call to
1486 malloc/free.
1487
1488 2018-07-04 Tom de Vries <tdevries@suse.de>
1489
1490 * gdb.dwarf2/dw2-error.exp: Update expected error message.
1491
1492 2018-07-02 Maciej W. Rozycki <macro@mips.com>
1493
1494 PR tdep/8282
1495 * gdb.arch/mips-disassembler-options.exp: New test.
1496 * gdb.arch/mips-disassembler-options.s: New test source.
1497
1498 2018-06-29 Pedro Alves <palves@redhat.com>
1499
1500 * gdb.threads/names.exp: Adjust expected "info threads" output.
1501
1502 2018-06-29 Pedro Alves <palves@redhat.com>
1503
1504 * gdb.opt/inline-break.exp (line number, address): Add "info
1505 break" tests.
1506
1507 2018-06-29 Pedro Alves <palves@redhat.com>
1508
1509 * gdb.opt/inline-break.c (func1): Add "break here" marker.
1510 * gdb.opt/inline-break.exp: Test setting breakpoints by line
1511 number and address and running to them.
1512
1513 2018-06-29 Richard Bunt <richard.bunt@arm.com>
1514
1515 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
1516
1517 2018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1518
1519 * lib/compiler.c: Remove executable permission flag.
1520
1521 2018-06-28 Richard Bunt <richard.bunt@arm.com>
1522
1523 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
1524 code.
1525 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
1526
1527 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
1528
1529 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
1530
1531 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
1532
1533 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
1534 address argument is omitted.
1535
1536 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
1537
1538 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
1539
1540 2018-06-27 Omair Javaid <omair.javaid@linaro.org>
1541
1542 PR gdb/21695
1543 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
1544 * gdb.base/infoline-reloc-main-from-zero.c: New file.
1545
1546 2018-06-26 Tom Tromey <tom@tromey.com>
1547
1548 PR rust/22574:
1549 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
1550 * gdb.rust/simple.rs (struct SimpleLayout): New.
1551
1552 2018-06-22 Simon Marchi <simon.marchi@ericsson.com>
1553
1554 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
1555 "info registers" output.
1556
1557 2018-06-21 Richard Bunt <richard.bunt@arm.com>
1558
1559 * gdb.base/watchpoint-hw-attach.c: New test.
1560 * gdb.base/watchpoint-hw-attach.exp: New file.
1561
1562 2018-06-20 Simon Marchi <simon.marchi@ericsson.com>
1563
1564 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
1565 through /bin/sh.
1566 * boards/dwarf4-gdb-index.exp: Likewise.
1567 * boards/fission-dwp.exp: Likewise.
1568
1569 2018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
1570
1571 * gdb.base/float128.exp: Add comment and improved fail message
1572 to the failure case of "print large128" test.
1573
1574 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
1575
1576 * configure.ac: Remove AC_PREREQ.
1577 * configure: Re-generate.
1578
1579 2018-06-19 Pedro Alves <palves@redhat.com>
1580
1581 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
1582 (func_extern_caller): New.
1583 (main): Call func_extern_caller.
1584 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
1585 logic change.
1586
1587 2018-06-18 Weimin Pan <weimin.pan@oracle.com>
1588
1589 PR gdb/16841
1590 * gdb.cp/typedef-base.cc: New file.
1591 * gdb.cp/typedef-base.exp: New file.
1592
1593 2018-06-18 Tom de Vries <tdevries@suse.de>
1594
1595 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
1596
1597 2018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
1598 Richard Bunt <Richard.Bunt@arm.com>
1599
1600 * gdb.threads/attach-slow-waitpid.c: New file.
1601 * gdb.threads/attach-slow-waitpid.exp: New file.
1602 * gdb.threads/slow-waitpid.c: New file.
1603
1604 2018-06-14 Pedro Alves <palves@redhat.com>
1605
1606 * gdb.base/fork-running-state.c: Include <errno.h>.
1607 (exit_if_relative_exits): New.
1608 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
1609 exits.
1610 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
1611 child exits.
1612
1613 2018-06-14 Tom de Vries <tdevries@suse.de>
1614
1615 PR cli/22573
1616 * gdb.base/finish-pretty.c: New test.
1617 * gdb.base/finish-pretty.exp: New file.
1618
1619 2018-06-14 Pedro Alves <palves@redhat.com>
1620
1621 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
1622 gdb's expected startup output.
1623
1624 2018-06-14 Pedro Alves <palves@redhat.com>
1625
1626 * lib/selftest-support.exp (selftest_setup): Remove inlined
1627 function handling.
1628
1629 2018-06-14 Tom de Vries <tdevries@suse.de>
1630
1631 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
1632 matching of breakpoint printing.
1633
1634 2018-06-13 Tom de Vries <tdevries@suse.de>
1635
1636 PR testsuite/23269
1637 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
1638 (fork_child): ... here, and ...
1639 (fork_parent): ... here.
1640
1641 2018-06-12 Tom de Vries <tdevries@suse.de>
1642
1643 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
1644
1645 2018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
1646 Stephen Roberts <stephen.roberts@arm.com>
1647
1648 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
1649 rewrite test to describe action performed, rather than possible
1650 failure.
1651
1652 2018-06-08 Gary Benson <gbenson@redhat.com>
1653
1654 * gdb.threads/check-libthread-db.exp: New file.
1655 * gdb.threads/check-libthread-db.c: Likewise.
1656
1657 2018-06-05 Tom Tromey <tom@tromey.com>
1658
1659 * gdb.base/default.exp: Update expected "show version" output.
1660
1661 2018-06-05 Tom Tromey <tom@tromey.com>
1662
1663 PR cli/12326:
1664 * gdb.cp/static-print-quit.exp: Update.
1665 * lib/gdb.exp (pagination_prompt): Update.
1666 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
1667 * gdb.python/python.exp: Update.
1668
1669 2018-06-04 Joel Brobecker <brobecker@adacore.com>
1670
1671 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
1672
1673 2018-06-01 Joel Brobecker <brobecker@adacore.com>
1674
1675 * gdb.ada/bp_fun_addr: New testcase.
1676
1677 2018-06-01 Tom Tromey <tom@tromey.com>
1678
1679 * gdb.xml/tdesc-regs.exp (load_description): Update expected
1680 results.
1681 * gdb.dwarf2/method-ptr.exp: Set language to C++.
1682 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
1683 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
1684 * gdb.base/maint.exp (maint_pass_if): Update.
1685
1686 2018-05-31 Maciej W. Rozycki <macro@mips.com>
1687
1688 * gdb.base/endian.exp: New test.
1689 * gdb.base/endian.c: New test source.
1690
1691 2018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
1692
1693 PR gdb/23203
1694 * gdb.base/bt-selected-frame.c: New file.
1695 * gdb.base/bt-selected-frame.exp: New file.
1696 * lib/gdb.exp (get_current_frame_number): New function.
1697
1698 2018-05-24 Maciej W. Rozycki <macro@mips.com>
1699 Pedro Alves <palves@redhat.com>
1700
1701 * gdb.threads/tls-core.c: Include <stdlib.h>
1702 (thread_proc): Call `abort'.
1703 * gdb.threads/tls-core.exp: Generate a core with core_find too.
1704 (tls_core_test): New procedure, bits factored out from ...
1705 (top level): ... here. Test both native cores and gcore cores.
1706
1707 2018-05-23 Tom Tromey <tom@tromey.com>
1708
1709 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
1710
1711 2018-05-23 Tom Tromey <tom@tromey.com>
1712
1713 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
1714 symfile_complaints.
1715 (test_short_complaints): Likewise.
1716 (test_empty_complaints): Likewise.
1717 (test_initial_complaints): Update.
1718
1719 2018-05-23 Tom Tromey <tom@tromey.com>
1720
1721 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
1722
1723 2018-05-23 Tom Tromey <tom@tromey.com>
1724
1725 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
1726 (test_short_complaints): Update.
1727
1728 2018-05-22 Pedro Alves <palves@redhat.com>
1729
1730 * gdb.base/remote.exp: Only gdb_start after compiling the
1731 testcase. Issue "disconnect" before testing "set remote" command
1732 defaults. Issue clean_restart before running to main.
1733
1734 2018-05-22 Pedro Alves <palves@redhat.com>
1735
1736 * gdb.base/remote.exp: Adjust expected output of "show remote
1737 memory-write-packet-size". Add tests for "set remote
1738 memory-write-packet-size 0" and "set remote
1739 memory-write-packet-size fixed/limit".
1740
1741 2018-05-22 Pedro Alves <palves@redhat.com>
1742
1743 PR gdb/22973
1744 * gdb.base/utf8-identifiers.c: New file.
1745 * gdb.base/utf8-identifiers.exp: New file.
1746
1747 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
1748
1749 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
1750
1751 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
1752
1753 * gdb.arch/powerpc-vsx-gcore.exp: New file.
1754
1755 2018-05-18 Tom Tromey <tom@tromey.com>
1756
1757 * gdb.base/ptype-offsets.exp: Update.
1758
1759 2018-05-17 Keith Seitz <keiths@redhat.com>
1760
1761 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
1762 in expected breakpoint stop locations.
1763 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
1764 move to proper scope to test variable values.
1765 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
1766 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
1767 New functions.
1768 (main): Call not_inline_func3.
1769 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
1770 inline_func1, inline_func2, and inline_func3. Test that when each
1771 breakpoint is hit, GDB properly reports both the stop location
1772 and the backtrace. Repeat tests for temporary breakpoints.
1773
1774 2018-05-15 Maciej W. Rozycki <macro@mips.com>
1775
1776 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
1777 rather then trying to access it in determining whether the PID
1778 of `gdbserver' could have been retrieved.
1779
1780 2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
1781
1782 * gdb.arch/amd64-init-x87-values.S: New file.
1783 * gdb.arch/amd64-init-x87-values.exp: New file.
1784
1785 2018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1786
1787 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
1788
1789 2018-05-04 Tom Tromey <tom@tromey.com>
1790
1791 PR python/22730:
1792 * gdb.python/python.exp: Test multi-line execute.
1793
1794 2018-05-04 Tom Tromey <tom@tromey.com>
1795
1796 PR python/22731:
1797 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
1798
1799 2018-05-04 Tom Tromey <tom@tromey.com>
1800
1801 PR gdb/11750:
1802 * gdb.base/define.exp: Test defining a user command inside a user
1803 command.
1804 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
1805
1806 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1807 Pedro Alves <palves@redhat.com>
1808
1809 PR breakpoints/19806 and support for PR external/20207.
1810 * gdb.base/watchpoint-unaligned.c: New file.
1811 * gdb.base/watchpoint-unaligned.exp: New file.
1812
1813 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
1814
1815 * gdb.base/maint.exp: Make test names unique, use
1816 test_prefix_command_help to test 'help maint info', and remove
1817 repeated test of 'help maint'.
1818
1819 2018-05-04 Tom Tromey <tom@tromey.com>
1820
1821 PR gdb/22619:
1822 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
1823 behavior.
1824
1825 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
1826
1827 * gdb.base/maint.exp: Process output from 'maint print registers'
1828 line at a time.
1829
1830 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
1831
1832 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
1833 timeout.
1834
1835 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
1836
1837 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
1838 filter pattern.
1839
1840 2018-05-02 Pedro Alves <palves@redhat.com>
1841
1842 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
1843 to_log_command renames.
1844 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
1845
1846 2018-05-02 Tom Tromey <tom@tromey.com>
1847
1848 * gdb.python/py-parameter.exp: Set test message.
1849
1850 2018-05-02 Tom Tromey <tom@tromey.com>
1851
1852 PR python/20084:
1853 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
1854 PARAM_ZUINTEGER_UNLIMITED tests.
1855
1856 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
1857
1858 PR rust/23124
1859 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
1860 when casting.
1861
1862 2018-04-30 Tom Tromey <tom@tromey.com>
1863
1864 * gdb.python/py-type.exp: Check align attribute.
1865 * gdb.python/py-type.c: New "aligncheck" global.
1866
1867 2018-04-30 Tom Tromey <tom@tromey.com>
1868
1869 PR exp/17095:
1870 * gdb.dwarf2/dw2-align.exp: New file.
1871 * gdb.cp/align.exp: New file.
1872 * gdb.base/align.exp: New file.
1873 * lib/gdb.exp (gdb_int128_helper): New proc.
1874 (has_int128_c, has_int128_cxx): New caching procs.
1875
1876 2018-04-27 Tom Tromey <tom@tromey.com>
1877
1878 PR rust/22545:
1879 * gdb.rust/simple.exp: Add inclusive range tests.
1880
1881 2018-04-26 Pedro Alves <palves@redhat.com>
1882
1883 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
1884 ifunc breakpoint locations correctly of ifunc breakpoints set
1885 while the program resolves the ifunc.
1886
1887 2018-04-26 Pedro Alves <palves@redhat.com>
1888
1889 * gdb.base/gnu-ifunc-final.c: New file.
1890 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
1891 * gdb.base/gnu-ifunc.exp (executable): Delete.
1892 (staticexecutable): Adjust.
1893 (lib_opts, exec_opts): Delete.
1894 (make_binsuffix, build, set-break): New procedures.
1895 (misc_tests): New, with tests factored out from the top level.
1896 (top level): Test different combinations of ifunc resolver name,
1897 resolver with and with debug info, and ifunc target with and
1898 without debug info. Wrap static tests with with_target_prefix.
1899
1900 2018-04-26 Pedro Alves <palves@redhat.com>
1901
1902 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
1903 return type" warnings.
1904
1905 2018-04-25 Pedro Alves <palves@redhat.com>
1906
1907 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
1908 killed".
1909 * gdb.base/kill-after-signal.exp: Likewise.
1910 * gdb.threads/kill.exp: Likewise.
1911
1912 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1913 Sergio Durigan Junior <sergiodj@redhat.com>
1914 Pedro Alves <palves@redhat.com>
1915
1916 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
1917 regexps to expect for '[Inferior ... detached]' as well.
1918 * gdb.base/attach.exp: Likewise.
1919 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
1920 "gdb_continue_to_end".
1921 (test_catch_syscall_with_wrong_args): Likewise.
1922 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
1923 ']'. Don't set 'verbose' on.
1924 * gdb.base/foll-vfork.exp: Likewise.
1925 * gdb.base/fork-print-inferior-events.c: New file.
1926 * gdb.base/fork-print-inferior-events.exp: New file.
1927 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
1928 '[Inferior ... has been killed]' message.
1929 * gdb.base/kill-after-signal.exp: Likewise.
1930 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
1931 detach message.
1932 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
1933 message.
1934 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
1935 regexps to expect for '[Inferior ... detached]' as well.
1936 * gdb.threads/process-dies-while-detaching.exp: Likewise.
1937
1938 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
1939
1940 PR gdb/23104
1941 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
1942
1943 2018-04-19 Richard Bunt <richard.bunt@arm.com>
1944
1945 * gdb.threads/multiple-successive-infcall.c: New test.
1946 * gdb.threads/multiple-successive-infcall.exp: New file.
1947
1948 2018-04-17 Tom Tromey <tom@tromey.com>
1949
1950 * gdb.rust/simple.rs (Union): New type.
1951 (main): New local "u".
1952 * gdb.rust/simple.exp (test_one_slice): Add new test case.
1953
1954 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
1955
1956 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
1957 number information in output of "whereis" command.
1958 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
1959
1960 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1961
1962 * gdb.ada/info_types.exp: Adjust expected output to the line
1963 numbers now printed by "info var/func/type".
1964 * gdb.base/completion.exp: Likewise.
1965 * gdb.base/included.exp: Likewise.
1966 * gdb.cp/cp-relocate.exp: Likewise.
1967 * gdb.cp/cplusfuncs.exp: Likewise.
1968 * gdb.cp/namespace.exp: Likewise.
1969 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
1970
1971 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
1972
1973 * gdb.btrace/cpu.exp: New.
1974
1975 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
1976
1977 * gdb.base/step-indirect-call-thunk.exp: New.
1978 * gdb.base/step-indirect-call-thunk.c: New.
1979 * gdb.reverse/step-indirect-call-thunk.exp: New.
1980 * gdb.reverse/step-indirect-call-thunk.c: New.
1981
1982 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
1983
1984 * gdb.base/pie-fork.c: New file.
1985 * gdb.base/pie-fork.exp: New file.
1986
1987 2018-04-11 Tom Tromey <tom@tromey.com>
1988
1989 * gdb.rust/simple.exp: Add test for ".." struct initializer.
1990
1991 2018-04-10 Pedro Alves <palves@redhat.com>
1992
1993 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
1994 exits. Instead loop running forever.
1995 (fork_parent): Run forever too.
1996
1997 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
1998
1999 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
2000 mi_continue_to_line.
2001 * gdb.mi/mi-stack.c (callee4): Add comment.
2002
2003 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
2004
2005 * gdb.mi/mi-stack.exp: Fix indentation.
2006
2007 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
2008
2009 PR gdb/22979
2010 * gdb.arch/amd64-osabi.exp: New file.
2011
2012 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
2013
2014 PR gdb/22980
2015 * gdb.base/osabi.exp: New file.
2016
2017 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
2018
2019 * gdb.cp/static-typedef-print.exp: New file.
2020 * gdb.cp/static-typedef-print.cc: New file.
2021
2022 2018-03-27 Joel Brobecker <brobecker@adacore.com>
2023
2024 * gdb.ada/varsize_limit: New testcase.
2025
2026 2018-03-27 Joel Brobecker <brobecker@adacore.com>
2027
2028 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
2029
2030 * gdb.ada/notcplusplus: New testcase.
2031
2032 * gdb.base/c-linkage-name.c: New file.
2033 * gdb.base/c-linkage-name.exp: New testcase.
2034
2035 2018-03-26 Tom Tromey <tom@tromey.com>
2036
2037 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
2038 * gdb.python/py-framefilter.py (name_error): New global.
2039 (ErrorInName.function): Use name_error.
2040
2041 2018-03-26 Tom Tromey <tom@tromey.com>
2042
2043 PR backtrace/15582:
2044 * gdb.python/py-framefilter.exp: Add "bt hide" test.
2045
2046 2018-03-23 Keith Seitz <keiths@redhat.com>
2047
2048 PR c++/22968
2049 * gdb.cp/subtypes.exp: New file.
2050 * gdb.cp/subtypes.h: New file.
2051 * gdb.cp/subtypes.cc: New file.
2052 * gdb.cp/subtypes-2.cc: New file.
2053
2054 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
2055
2056 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
2057 (done): Call '_exit' not 'exit' to avoid atexit handlers.
2058 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
2059 -nostartfiles when compiling the test. Confirm that all registers
2060 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
2061
2062 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
2063
2064 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
2065 option, syntax was wrong anyway.
2066 * gdb.arch/arm-disp-step.exp: Likewise.
2067 * gdb.arch/sparc64-regs.exp: Likewise.
2068 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
2069 option, syntax was wrong anyway, switch to use
2070 prepare_for_testing.
2071 * gdb.arch/i386-disp-step.exp: Likewise.
2072
2073 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
2074
2075 * gdb.ada/exec_changed.exp: Replace "target_info exists
2076 use_gdb_stub" by "use_gdb_stub".
2077 * gdb.ada/start.exp: Likewise.
2078 * gdb.base/async-shell.exp: Likewise.
2079 * gdb.base/attach-pie-misread.exp: Likewise.
2080 * gdb.base/attach-wait-input.exp: Likewise.
2081 * gdb.base/break-entry.exp: Likewise.
2082 * gdb.base/break-interp.exp: Likewise.
2083 * gdb.base/dprintf-detach.exp: Likewise.
2084 * gdb.base/nostdlib.exp: Likewise.
2085 * gdb.base/solib-nodir.exp: Likewise.
2086 * gdb.base/statistics.exp: Likewise.
2087 * gdb.base/testenv.exp: Likewise.
2088 * gdb.mi/mi-exec-run.exp: Likewise.
2089 * gdb.mi/mi-start.exp: Likewise.
2090 * gdb.multi/dummy-frame-restore.exp: Likewise.
2091 * gdb.multi/multi-arch-exec.exp: Likewise.
2092 * gdb.multi/multi-arch.exp: Likewise.
2093 * gdb.multi/tids.exp: Likewise.
2094 * gdb.multi/watchpoint-multi.exp: Likewise.
2095 * gdb.python/py-events.exp: Likewise.
2096 * gdb.threads/attach-into-signal.exp: Likewise.
2097 * gdb.threads/attach-stopped.exp: Likewise.
2098 * gdb.threads/threadapply.exp: Likewise.
2099 * lib/selftest-support.exp: Likewise.
2100
2101 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
2102
2103 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
2104
2105 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
2106
2107 * gdb.perf/template-breakpoints.cc: New file.
2108 * gdb.perf/template-breakpoints.exp: New file.
2109 * gdb.perf/template-breakpoints.py: New file.
2110
2111 2018-03-19 Tom Tromey <tom@tromey.com>
2112
2113 * gdb.rust/simple.rs (main): Add local variables field1, field2,
2114 y0.
2115 * gdb.rust/simple.exp: Test bare identifier form of struct
2116 initializer.
2117
2118 2018-03-19 Tom Tromey <tom@tromey.com>
2119
2120 * gdb.gdb/observer.exp: Remove.
2121
2122 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
2123
2124 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
2125 "qualified" option when setting breakpoints.
2126 * gdb.trace/backtrace.exp: Likewise.
2127 * gdb.trace/circ.exp: Likewise.
2128 * gdb.trace/collection.exp: Likewise.
2129 * gdb.trace/disconnected-tracing.exp: Likewise.
2130 * gdb.trace/ftrace-lock.exp: Likewise.
2131 * gdb.trace/ftrace.exp: Likewise.
2132 * gdb.trace/infotrace.exp: Likewise.
2133 * gdb.trace/packetlen.exp: Likewise.
2134 * gdb.trace/passc-dyn.exp: Likewise.
2135 * gdb.trace/qtro.exp: Likewise.
2136 * gdb.trace/read-memory.exp: Likewise.
2137 * gdb.trace/report.exp: Likewise.
2138 * gdb.trace/signal.exp: Likewise.
2139 * gdb.trace/status-stop.exp: Likewise.
2140 * gdb.trace/strace.exp: Likewise.
2141 * gdb.trace/tfind.exp: Likewise.
2142 * gdb.trace/trace-break.exp: Likewise.
2143 * gdb.trace/trace-condition.exp: Likewise.
2144 * gdb.trace/trace-mt.exp: Likewise.
2145 * gdb.trace/tstatus.exp: Likewise.
2146 * gdb.trace/tsv.exp: Likewise.
2147 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
2148 * gdb.trace/unavailable.exp: Likewise.
2149 * gdb.trace/while-dyn.exp: Likewise.
2150
2151 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2152
2153 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
2154 that libinproctrace is copied to the target.
2155
2156 2018-03-14 Tom Tromey <tom@tromey.com>
2157
2158 PR cli/14977:
2159 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
2160 a null pointer.
2161 * gdb.base/wchar.exp: Likewise.
2162
2163 2018-03-14 Tom Tromey <tom@tromey.com>
2164
2165 PR cli/19918:
2166 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
2167 flag.
2168
2169 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
2170
2171 PR gdb/22841
2172 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
2173 "target" to remote_exec.
2174
2175 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
2176
2177 PR gdb/22841
2178 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
2179 ${board}_upload): Remove.
2180
2181 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2182
2183 * gdb.cp/watch-cp.cc: New test.
2184 * gdb.cp/watch-cp.exp: New file.
2185
2186 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2187
2188 * gdb.base/infcall-nested-structs.exp: New file.
2189 * gdb.base/infcall-nested-structs.c: New file.
2190 * gdb.base/float.exp: Add riscv support.
2191
2192 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
2193
2194 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
2195 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
2196
2197 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
2198
2199 * gdb.server/abspath.exp: New file.
2200 * lib/gdb.exp (with_cwd): New procedure.
2201
2202 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
2203
2204 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
2205 use it.
2206 (gdb_is_target_remote_prompt): New proc.
2207 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
2208 (gdb_is_target_native): Pass prompt parameter to
2209 gdb_is_target_1.
2210
2211 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
2212
2213 * gdb.base/load-command.c: New file.
2214 * gdb.base/load-command.exp: New file.
2215 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
2216 (gdb_is_target_1): ...this, and generalize for other targets
2217 than just remote.
2218 (gdb_is_target_remote): Use gdb_is_target_1.
2219 (gdb_is_target_native): use gdb_is_target_1.
2220
2221 2018-02-26 Tom Tromey <tom@tromey.com>
2222
2223 PR python/16497:
2224 * gdb.python/py-framefilter.exp: Update test.
2225
2226 2018-02-26 Tom Tromey <tom@tromey.com>
2227
2228 * gdb.dwarf2/variant.c: New file.
2229 * gdb.dwarf2/variant.exp: New file.
2230
2231 2018-02-26 Tom Tromey <tom@tromey.com>
2232
2233 * gdb.rust/simple.exp: Accept more possible results in enum test.
2234
2235 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
2236
2237 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
2238 parentheses.
2239
2240 2018-02-23 Maciej W. Rozycki <macro@mips.com>
2241
2242 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
2243 name of a variable: $actual_linejj -> $actual_line.
2244
2245 2018-02-21 John Baldwin <jhb@FreeBSD.org>
2246
2247 * gdb.arch/amd64-i386-address.exp: Fix a typo.
2248
2249 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
2250
2251 * gdb.btrace/buffer-size.exp: Do not force BTS.
2252
2253 2018-02-14 Pedro Alves <palves@redhat.com>
2254
2255 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
2256 getting a "Quit".
2257
2258 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
2259
2260 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
2261 Fix test name.
2262
2263 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
2264
2265 * gdb.cp/m-static.exp: Check type of optimized out static
2266 member.
2267
2268 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
2269
2270 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
2271 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
2272
2273 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
2274 Leszek Swirski <leszeks@google.com>
2275
2276 * gdb.python/py-prettyprint.c
2277 (struct to_string_returns_value_inner,
2278 struct to_string_returns_value_wrapper): New.
2279 (main): Add tsrvw variable.
2280 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
2281 ToStringReturnsValueWrapper): New classes.
2282 (register_pretty_printers): Register new pretty-printers.
2283 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
2284 recursive pretty printer.
2285 * gdb.python/py-mi.exp: Likewise.
2286
2287 2018-02-01 Leszek Swirski <leszeks@google.com>
2288
2289 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
2290 functions with the same name as an include file are parsed
2291 correctly.
2292
2293 2018-02-01 Yao Qi <yao.qi@linaro.org>
2294
2295 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
2296 "\[^\r\n\]*".
2297
2298 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
2299
2300 * gdb.arch/powerpc-prologue-frame.s: New file.
2301 * gdb.arch/powerpc-prologue-frame.c: Likewise.
2302 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
2303
2304 2018-01-31 Joel Brobecker <brobecker@adacore.com>
2305
2306 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
2307
2308 2018-01-30 Pedro Alves <palves@redhat.com>
2309
2310 PR gdb/13211
2311 * gdb.base/interrupt-daemon.c: New.
2312 * gdb.base/interrupt-daemon.exp: New.
2313 * gdb.multi/multi-term-settings.c: New.
2314 * gdb.multi/multi-term-settings.exp: New.
2315
2316 2018-01-30 Joel Brobecker <brobecker@adacore.com>
2317
2318 * gdb.base/break.exp: Save the location where the breakpoint
2319 on break.c:47 was actually inserted when debugging the version
2320 compiled at -O2 and use it in the expected output of the "info
2321 break" test performed soon after.
2322
2323 2018-01-22 Pedro Alves <palves@redhat.com>
2324 Sergio Durigan Junior <sergiodj@redhat.com>
2325
2326 * gdb.base/whatis.exp: Add tests for 'set print object on' +
2327 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
2328
2329 2018-01-22 Joel Brobecker <brobecker@adacore.com>
2330
2331 * gdb.base/break-include.c, gdb.base/break-include.inc,
2332 gdb.base/break-include.exp: New files.
2333 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
2334 line number now being the actual line number where the breakpoint
2335 was inserted.
2336 * gdb.mi/mi-break.exp: Likewise.
2337 * gdb.mi/mi-reverse.exp: Likewise.
2338 * gdb.mi/mi-simplerun.exp: Ditto.
2339
2340 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
2341
2342 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
2343 varobj.
2344 * gdb.mi/mi-var-create-rtti.exp: Likewise.
2345
2346 2018-01-21 Don Breazeal <donb@codesourcery.com>
2347 Andrew Burgess <andrew.burgess@embecosm.com>
2348
2349 * gdb.mi/basics.c: Add new global.
2350 * gdb.mi/mi-frame-regs.exp: New file.
2351 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
2352 case.
2353
2354 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
2355
2356 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
2357 non-parameter, and on an unknown symbol.
2358
2359 2018-01-19 Tom Tromey <tom@tromey.com>
2360
2361 * gdb.rust/modules.rs (TWENTY_THREE): New global.
2362 * gdb.rust/modules.exp: Add ::-qualified lookup test.
2363
2364 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
2365
2366 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
2367 setrlimit and chdir to int.
2368
2369 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
2370
2371 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
2372 function.
2373 (my_tend): Likewise.
2374 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
2375 rationale of avoiding FP- and vector instructions.
2376
2377 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
2378
2379 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
2380 "info reg" with "\[ \t\]*".
2381 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
2382 "\[ \t\]+".
2383 * gdb.arch/s390-multiarch.exp: Ditto.
2384 * gdb.base/pc-fp.exp: Ditto.
2385 * gdb.reverse/i386-precsave.exp: Ditto.
2386 * gdb.reverse/i386-reverse.exp: Ditto.
2387 * gdb.reverse/i387-env-reverse.exp: Ditto.
2388 * gdb.reverse/i387-stack-reverse.exp: Ditto.
2389
2390 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
2391
2392 * lib/gdb.exp (gdb_compile): Re-enable use of
2393 universal_compile_options for languages other than Rust.
2394
2395 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
2396
2397 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
2398
2399 2018-01-17 Mike Gulick <mgulick@mathworks.com>
2400
2401 PR gdb/16577
2402 * gdb.base/solib-vanish.exp: New.
2403 * gdb.base/solib-vanish-main.c: New.
2404 * gdb.base/solib-vanish-lib1.c: New.
2405 * gdb.base/solib-vanish-lib2.c: New.
2406
2407 2018-01-17 Yao Qi <yao.qi@linaro.org>
2408
2409 * gdb.compile/compile.exp: Match the address printed for
2410 frame in the output of command "bt".
2411
2412 2018-01-15 Tom Tromey <tom@tromey.com>
2413
2414 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
2415 compute sp_reg.
2416
2417 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
2418
2419 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
2420 to prepare.
2421 (prepare): Return 0 on error, 1 on success.
2422
2423 2018-01-12 Pedro Alves <palves@redhat.com>
2424
2425 * gdb.base/continue-after-aborted-step-over.c: New.
2426 * gdb.base/continue-after-aborted-step-over.exp: New.
2427
2428 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
2429
2430 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
2431 options when not creating an executable.
2432
2433 2018-01-11 Pedro Alves <palves@redhat.com>
2434
2435 PR remote/22597
2436 * gdb.server/stop-reply-no-thread.c: New file.
2437 * gdb.server/stop-reply-no-thread.exp: New file.
2438
2439 2018-01-10 Pedro Alves <palves@redhat.com>
2440
2441 PR gdb/22670
2442 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
2443 functions too. Test setting breakpoints and printing C functions
2444 with no debug info too.
2445 * gdb.ada/bp_c_mixed_case/qux.c: New file.
2446
2447 2018-01-10 Pedro Alves <palves@redhat.com>
2448
2449 PR gdb/22670
2450 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
2451 a fail.
2452
2453 2018-01-10 Pedro Alves <palves@redhat.com>
2454
2455 PR gdb/22670
2456 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
2457
2458 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
2459
2460 * gdb.server/unittest.exp: Match the output in non-development
2461 mode.
2462
2463 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
2464
2465 * gdb.gdb/unittest.exp: Match output in non-development mode.
2466
2467 2018-01-08 Joel Brobecker <brobecker@adacore.com>
2468
2469 * gdb.ada/access_tagged_param.exp: Relax expected output
2470 for value of "ObjL" in "continue" to pck.inspect breakpoint
2471 test.
2472
2473 2018-01-08 Joel Brobecker <brobecker@adacore.com>
2474
2475 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
2476 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
2477
2478 2018-01-05 Pedro Alves <palves@redhat.com>
2479
2480 PR gdb/18653
2481 * gdb.base/libsegfault.exp: New.
2482
2483 2018-01-05 Joel Brobecker <brobecker@adacore.com>
2484
2485 PR gdb/22670
2486 * gdb.ada/access_tagged_param.exp: New file.
2487 * gdb.ada/access_tagged_param/foo.adb: New file.
2488
2489 2018-01-05 Pedro Alves <palves@redhat.com>
2490
2491 PR gdb/22670
2492 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
2493 exercise lower case too, and to exercise both full matching and
2494 wild matching.
2495
2496 2018-01-05 Joel Brobecker <brobecker@adacore.com>
2497
2498 * gdb.ada/rename_subscript_param: New testcase.
2499
2500 2018-01-05 Jerome Guitton <guitton@adacore.com>
2501
2502 * gdb.ada/arr_acc_idx_w_gap: New testcase.
2503
2504 2018-01-05 Joel Brobecker <brobecker@adacore.com>
2505
2506 * gdb.ada/convvar_comp: New testcase.
2507
2508 2018-01-05 Xavier Roirand <roirand@adacore.com>
2509
2510 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
2511 (My_Table): New global variable.
2512 * testsuite/gdb.ada/array_char_idx.exp: Add test.
2513
2514 2018-01-04 Joel Brobecker <brobecker@adacore.com>
2515
2516 PR gdb/22670
2517 * gdb.ada/maint_with_ada: New testcase.
2518
2519 2018-01-04 Joel Brobecker <brobecker@adacore.com>
2520
2521 PR gdb/22670
2522 * gdb.ada/bp_c_mixed_case: New testcase.
2523
2524 2018-01-04 Joel Brobecker <brobecker@adacore.com>
2525
2526 PR gdb/22670
2527 * gdb.ada/complete.exp: Add "complete break ada" test.
2528
2529 2018-01-04 Joel Brobecker <brobecker@adacore.com>
2530
2531 PR gdb/22670
2532 * gdb.ada/info_addr_mixed_case: New testcase.
2533
2534 2018-01-03 Xavier Roirand <roirand@adacore.com>
2535
2536 * gdb.ada/excep_handle.exp: New testcase.
2537 * gdb.ada/excep_handle/foo.adb: New file.
2538 * gdb.ada/excep_handle/pck.ads: New file.
2539
2540 2018-01-03 Joel Brobecker <brobecker@adacore.com>
2541
2542 * gdb.base/step-line.c: Add extra empty line in copyright header.
2543 * gdb.base/step-line.inp: Likewise.
2544
2545 2018-01-02 Joel Brobecker <brobecker@adacore.com>
2546
2547 * gdb.ada/dyn_stride.exp: Add slice test.
2548
2549 2018-01-02 Joel Brobecker <brobecker@adacore.com>
2550
2551 * gdb.ada/dyn_stride: New testcase.
2552
2553 2017-12-27 Stafford Horne <shorne@gmail.com>
2554
2555 * gdb.xml/extra-regs.xml: Add example foo reggroup.
2556 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
2557
2558 2017-12-27 Stafford Horne <shorne@gmail.com>
2559
2560 * gdb.base/reggroups.c: New file.
2561 * gdb.base/reggroups.exp: New file.
2562
2563 2017-12-18 Joel Brobecker <brobecker@adacore.com>
2564
2565 * gdb.dwarf2/ada-valprint-error.c: New file.
2566 * gdb.dwarf2/ada-valprint-error.exp: New file.
2567
2568 2017-12-18 Joel Brobecker <brobecker@adacore.com>
2569
2570 * gdb.ada/assign_arr: New testcase.
2571
2572 2017-12-18 Xavier Roirand <roirand@adacore.com>
2573
2574 * gdb.ada/funcall_ptr: New testcase.
2575
2576 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
2577
2578 PR cli/16224
2579 * gdb.base/ptype-offsets.cc: New file.
2580 * gdb.base/ptype-offsets.exp: New file.
2581
2582 2017-12-15 Yao Qi <yao.qi@linaro.org>
2583
2584 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
2585 if XML is disabled.
2586
2587 2017-12-15 Xavier Roirand <roirand@adacore.com>
2588
2589 * gdb.ada/same_component_name: New testcase.
2590
2591 2017-12-14 Joel Brobecker <brobecker@adacore.com>
2592
2593 * gdb.ada/str_binop_equal: New testcase.
2594
2595 2017-12-14 Joel Brobecker <brobecker@adacore.com>
2596
2597 * gdb.ada/task_switch_in_core: New testcase.
2598
2599 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
2600
2601 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
2602 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
2603 call test_bkpt_qualified.
2604 (test_bkpt_qualified): New proc.
2605
2606 2017-12-13 Pedro Alves <palves@redhat.com>
2607
2608 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
2609 Tighten regexp by matching with an anchor.
2610
2611 2017-12-13 Pedro Alves <palves@redhat.com>
2612
2613 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
2614 ("expression with namespace"): New set of tests.
2615 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
2616 (Nested::Test_NS::qux): New.
2617 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
2618 defaults to 'start_quote_char' and 'end_quote_char' parameters.
2619
2620 2017-12-13 Joel Brobecker <brobecker@adacore.com>
2621
2622 * gdb.base/server-del-break.c: New file.
2623 * gdb.base/server-del-break.exp: New file.
2624
2625 2017-12-12 Stafford Horne <shorne@gmail.com>
2626
2627 * gdb.xml/tdesc-regs.exp: Add or1k support.
2628
2629 2017-12-12 Stafford Horne <shorne@gmail.com>
2630
2631 * gdb.base/bp-permanent.c: Define nop of or1k.
2632
2633 2017-12-11 Joel Brobecker <brobecker@adacore.com>
2634
2635 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
2636 output with components being reordered.
2637
2638 2017-12-11 Joel Brobecker <brobecker@adacore.com>
2639
2640 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
2641 output with components being reordered.
2642
2643 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2644 Pedro Alves <palves@redhat.com>
2645
2646 * gdb.base/maint.exp (check for .gdb_index): Check also for
2647 .debug_names.
2648 * gdb.dlang/watch-loc.c (.debug_aranges): New.
2649 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
2650 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
2651 (.gdb_index used after symbol reloading): Support also .debug_names.
2652 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
2653
2654 2017-12-08 Yao Qi <yao.qi@linaro.org>
2655
2656 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
2657 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
2658
2659 2017-12-08 Yao Qi <yao.qi@linaro.org>
2660
2661 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
2662 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
2663
2664 2017-12-08 Yao Qi <yao.qi@linaro.org>
2665
2666 * gdb.arch/aarch64-tagged-pointer.c: New file.
2667 * gdb.arch/aarch64-tagged-pointer.exp: New file.
2668
2669 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
2670
2671 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
2672 "int".
2673
2674 2017-12-07 Keith Seitz <keiths@redhat.com>
2675
2676 PR breakpoints/22569
2677 * gdb.linespec/ls-errs.exp: Change expected result of "break
2678 -source this file has spaces.c -line 3".
2679 Check that an explicit source file followed by whitespace is
2680 identified as an invalid explicit location.
2681
2682 2017-12-07 Keith Seitz <keiths@redhat.com>
2683
2684 * gdb.cp/nested-types.cc: New file.
2685 * gdb.cp/nested-types.exp: New file.
2686 * lib/cp-support.exp: Load data-structures.exp library.
2687 (debug_cp_test_ptype_class): New global.
2688 (cp_ptype_class_verbose, next_line): New procedures.
2689 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
2690 Add and document new return value.
2691 Switch the list of lines to a queue.
2692 Add support for new `type' key for nested type definitions.
2693 Add debugging/troubleshooting messages.
2694 * lib/data-structures.exp: New file.
2695
2696 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
2697
2698 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
2699 with proc_with_prefix, don't use with_test_prefix.
2700
2701 2017-12-07 Tom Tromey <tom@tromey.com>
2702
2703 * gdb.base/break.exp: Add test for empty "commands".
2704
2705 2017-12-07 Yao Qi <yao.qi@linaro.org>
2706
2707 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
2708 malloc and catch syscall.
2709
2710 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
2711
2712 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
2713 tests for explicit locations.
2714
2715 2017-12-06 Pedro Alves <palves@redhat.com>
2716
2717 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
2718 force-disabling XML descriptions.
2719
2720 2017-12-04 Pedro Alves <palves@redhat.com>
2721
2722 PR gdb/22499
2723 * gdb.arch/amd64-disp-step-avx.S: New file.
2724 * gdb.arch/amd64-disp-step-avx.exp: New file.
2725
2726 2017-12-03 Pedro Alves <palves@redhat.com>
2727
2728 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
2729 and <string.h>.
2730 (parent_function): Print distinct messages when waitpid fails, or
2731 the child exits with a signal, or the child exits for an unhandled
2732 reason.
2733 * gdb.threads/process-dies-while-detaching.exp
2734 (detach_and_expect_exit): New 'inf_output_re' parameter and use
2735 it. Wait for both inferior output and GDB's prompt. Use an
2736 indirect spawn id list.
2737 (do_detach): New parameter 'child_exit'. Use it to compute
2738 expected inferior output.
2739 (test_detach, test_detach_watch, test_detach_killed_outside):
2740 Adjust to pass down the expected child exit kind.
2741
2742 2017-12-01 Joel Brobecker <brobecker@adacore.com>
2743 Sergio Durigan Junior <sergiodj@redhat.com>
2744 Pedro Alves <palves@redhat.com>
2745
2746 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
2747
2748 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
2749
2750 * gdb.base/relocate.exp: Add tests to guarantee that arguments
2751 to 'symbol-file' and 'add-symbol-file' can be
2752 position-independent.
2753
2754 2017-12-01 Yao Qi <yao.qi@linaro.org>
2755
2756 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
2757 the URL in copyright header.
2758 * gdb.arch/aarch64-fp.exp: Likewise.
2759 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
2760 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
2761 * gdb.base/expand-psymtabs.exp: Likewise.
2762 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
2763 * gdb.fortran/common-block.exp: Likewise.
2764 * gdb.fortran/common-block.f90: Likewise.
2765 * gdb.fortran/logical.exp: Likewise.
2766 * gdb.fortran/vla-datatypes.f90: Likewise.
2767 * gdb.fortran/vla-sub.f90: Likewise.
2768
2769 2017-11-30 Joel Brobecker <brobecker@adacore.com>
2770
2771 * gdb.ada/repeat_dyn: New testcase.
2772
2773 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
2774
2775 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
2776 Update for changed thread numbering.
2777 * gdb.cell/bt.exp: Update for changed GDB output.
2778
2779 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
2780
2781 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
2782 setting isremote by hand.
2783 * boards/dwarf4-gdb-index.exp: Likewise.
2784 * boards/fission.exp: Likewise.
2785 * boards/stabs.exp: Likewise.
2786
2787 2017-11-30 Pedro Alves <palves@redhat.com>
2788
2789 * gdb.linespec/cpls-ops.exp
2790 (check_explicit_skips_function_argument): Extract the underlying
2791 type of size_t instead of hardcoding it.
2792
2793 2017-11-29 Pedro Alves <palves@redhat.com>
2794
2795 PR c++/19436
2796 * gdb.linespec/cpls-abi-tag.cc: New file.
2797 * gdb.linespec/cpls-abi-tag.exp: New file.
2798
2799 2017-11-29 Pedro Alves <palves@redhat.com>
2800
2801 * gdb.base/langs.exp: Use -qualified.
2802 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
2803 it.
2804 * gdb.cp/namespace.exp: Use -qualified.
2805 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
2806 (overload-3, template-overload, template-ret-type, const-overload)
2807 (const-overload-quoted, anon-ns, ambiguous-prefix): New
2808 procedures.
2809 (test_driver): Call them.
2810 * gdb.cp/save-bp-qualified.cc: New.
2811 * gdb.cp/save-bp-qualified.exp: New.
2812 * gdb.linespec/explicit.exp: Test -qualified.
2813 * lib/completion-support.exp (completion::explicit_opts_list): Add
2814 "-qualified".
2815 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
2816
2817 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
2818
2819 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
2820
2821 2017-11-29 Tom Tromey <tom@tromey.com>
2822
2823 * gdb.base/relocate.exp: Update invalid argument test.
2824 Add new tests for invalid arguments.
2825
2826 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
2827
2828 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
2829 Return 0 as a long.
2830 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
2831
2832 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
2833
2834 * gdb.cp/breakpoint.cc (bar): Set return type to void.
2835 * gdb.cp/psymtab-parameter.cc (func): Likewise.
2836 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
2837 func ().
2838 * gdb.cp/shadow.cc (B.func): Return 0.
2839
2840 2017-11-27 Joel Brobecker <brobecker@adacore.com>
2841
2842 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
2843 expected output in gdb_expect call to allow the exception
2844 message to be present as well. Fix syntax confusion to avoid
2845 TCL thinking that exception_name is an array.
2846
2847 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
2848
2849 * gdb.arch/spu-info.c: Include <unistd.h>.
2850 (do_signal_test): Fix broken calls to write.
2851 * gdb.arch/spu-info.exp: Use prepare_for_testing.
2852 Fix checks for empty mailboxes. Update signal tests for corrected
2853 do_signal_test routine. Allow nonzero event status.
2854 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
2855 * gdb.cell/arch.exp: Use standard_output_file.
2856 * gdb.cell/break.exp: Likewise.
2857 * gdb.cell/bt.exp: Likewise.
2858 * gdb.cell/core.exp: Likewise.
2859 * gdb.cell/dwarfaddr.exp: Likewise.
2860 * gdb.cell/ea-cache.exp: Likewise.
2861 * gdb.cell/ea-standalone.exp: Likewise.
2862 * gdb.cell/f-regs.exp: Likewise.
2863 * gdb.cell/fork.exp: Likewise.
2864 * gdb.cell/gcore.exp: Likewise.
2865 * gdb.cell/mem-access.exp: Likewise.
2866 * gdb.cell/ptype.exp: Likewise.
2867 * gdb.cell/registers.exp: Likewise.
2868 * gdb.cell/sizeof.exp: Likewise.
2869 * gdb.cell/solib-symbol.exp: Likewise.
2870 * gdb.cell/solib.exp: Likewise.
2871
2872 2017-11-25 Pedro Alves <palves@redhat.com>
2873
2874 * gdb.base/complete-empty.exp: New file.
2875 * gdb.base/completion.exp: Adjust.
2876
2877 2017-11-25 Pedro Alves <palves@redhat.com>
2878
2879 * gdb.linespec/cpls-ops.cc: New file.
2880 * gdb.linespec/cpls-ops.exp: New file.
2881 * lib/completion-support.exp (test_complete_prefix_range_re): New,
2882 factored out from ...
2883 (test_complete_prefix_range): ... this.
2884
2885 2017-11-24 Pedro Alves <palves@redhat.com>
2886
2887 * gdb.linespec/cpcompletion.exp: New file.
2888 * gdb.linespec/cpls-hyphen.cc: New file.
2889 * gdb.linespec/cpls.cc: New file.
2890 * gdb.linespec/cpls2.cc: New file.
2891 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
2892 test to use test_gdb_complete_unique. Add label completion,
2893 keyword completion and explicit location completion tests.
2894 * lib/completion-support.exp: New file.
2895
2896 2017-11-24 Joel Brobecker <brobecker@adacore.com>
2897
2898 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
2899 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
2900 when hitting an exception catchpoint.
2901
2902 2017-11-22 Yao Qi <yao.qi@linaro.org>
2903
2904 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
2905
2906 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
2907
2908 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
2909 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
2910 * gdb.dwarf2/info-locals-optimized-out.c: New file.
2911
2912 2017-11-22 Yao Qi <yao.qi@linaro.org>
2913
2914 * gdb.base/info-os.exp: Pass pthreads.
2915 * gdb.multi/multi-attach.exp: Likewise.
2916
2917 2017-11-22 Yao Qi <yao.qi@linaro.org>
2918
2919 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
2920 compiler.
2921
2922 2017-11-22 Yao Qi <yao.qi@linaro.org>
2923
2924 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
2925 * gdb.base/break-interp.exp: Likewise.
2926 * gdb.base/jit-attach-pie.exp: Likewise.
2927
2928 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
2929
2930 * gdb.base/float128.c (large128): New variable.
2931 * gdb.base/float128.exp: Add test to print largest __float128 value.
2932
2933 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
2934
2935 * gdb.arch/vsx-regs.exp: Update register content checks.
2936
2937 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
2938
2939 * gdb.arch/ppc-longdouble.exp: New file.
2940 * gdb.arch/ppc-longdouble.c: Likewise.
2941
2942 2017-11-21 Pedro Alves <palves@redhat.com>
2943
2944 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
2945
2946 2017-11-20 Pedro Alves <palves@redhat.com>
2947
2948 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
2949 (long_double_typedef): New typedefs.
2950 Use DEF on double and long double.
2951 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
2952 cases.
2953 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
2954 and 'long_double_ptr_same_size' locals. Use them to decide
2955 whether cast from array/function to float is valid/invalid.
2956
2957 2017-11-17 Tom Tromey <tom@tromey.com>
2958
2959 * gdb.rust/traits.rs: New file.
2960 * gdb.rust/traits.exp: New file.
2961
2962 2017-11-17 Joel Brobecker <brobecker@adacore.com>
2963
2964 * gdb.ada/minsyms: New testcase.
2965
2966 2017-11-16 Pedro Alves <palves@redhat.com>
2967
2968 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
2969 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
2970
2971 2017-11-16 Pedro Alves <palves@redhat.com>
2972
2973 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
2974 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
2975
2976 2017-11-16 Pedro Alves <palves@redhat.com>
2977
2978 * gdb.server/reconnect-ctrl-c.c: New file.
2979 * gdb.server/reconnect-ctrl-c.exp: New file.
2980
2981 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
2982
2983 * gdb.python/py-rbreak.exp: New file.
2984 * gdb.python/py-rbreak.c: New file.
2985 * gdb.python/py-rbreak-func2.c: New file.
2986
2987 2017-11-16 Pedro Alves <palves@redhat.com>
2988
2989 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
2990 pattern.
2991 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
2992 GDB.
2993
2994 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
2995
2996 * gdb.tui/completionn.exp (test_tab_completion): Add space in
2997 regex.
2998
2999 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
3000
3001 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
3002 test names.
3003
3004 2017-11-09 Pedro Alves <palves@redhat.com>
3005
3006 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
3007 factored out from ...
3008 (top level): ... here, and adjusted to avoid expecting beyond the
3009 prompt in a single gdb_test_multiple.
3010
3011 2017-11-09 Pedro Alves <palves@redhat.com>
3012
3013 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
3014 output.
3015 * gdb.server/ext-attach.exp ("kill" test): Likewise.
3016 * gdb.server/ext-restart.exp ("kill" test): Likewise.
3017 * gdb.server/ext-run.exp ("kill" test): Likewise.
3018 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
3019
3020 2017-11-09 Pedro Alves <palves@redhat.com>
3021
3022 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
3023 match till end of line.
3024
3025 2017-11-09 Pedro Alves <palves@redhat.com>
3026
3027 * gdb.base/memattr.exp: Tighten regexes to match the end line.
3028
3029 2017-11-09 Pedro Alves <palves@redhat.com>
3030
3031 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
3032 New procedures, factored out from ...
3033 (top level): ... here, and adjusted to avoid expecting beyond the
3034 prompt in one go.
3035
3036 2017-11-09 Pedro Alves <palves@redhat.com>
3037
3038 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
3039 output. Fix '?' match.
3040
3041 2017-11-08 Joel Brobecker <brobecker@adacore.com>
3042
3043 * gdb.ada/scoped_watch: New testcase.
3044 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
3045 which is actually correct.
3046 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
3047 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
3048
3049 2017-11-08 Pedro Alves <palves@redhat.com>
3050
3051 * gdb.gdb/complaints.exp (test_initial_complaints)
3052 (test_serial_complaints, test_short_complaints): Call
3053 complaint_internal instead of complaint.
3054
3055 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
3056
3057 * gdb.threads/tls-core.c: New file.
3058 * gdb.threads/tls-core.exp: Likewise.
3059
3060 2017-11-08 Pedro Alves <palves@redhat.com>
3061
3062 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
3063 (p Exported_Capitalized): New test.
3064 (p exported_capitalized): New test.
3065
3066 2017-11-07 Pedro Alves <palves@redhat.com>
3067
3068 * gdb.cp/ena-dis-br-range.exp: Add more tests.
3069
3070 2017-11-07 Pedro Alves <palves@redhat.com>
3071
3072 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
3073 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
3074 (disable_invalid, disable_inverted, disable_negative): New
3075 procedures.
3076 ("bad numbers"): New set of tests.
3077
3078 2017-11-07 Pedro Alves <palves@redhat.com>
3079
3080 * gdb.cp/ena-dis-br-range.exp: Add tests.
3081
3082 2017-11-07 Pedro Alves <palves@redhat.com>
3083
3084 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
3085
3086 2017-11-07 Xavier Roirand <roirand@adacore.com>
3087 Pedro Alves <palves@redhat.com>
3088
3089 * gdb.base/ena-dis-br.exp: Add reference to
3090 gdb.cp/ena-dis-br-range.exp.
3091 * gdb.cp/ena-dis-br-range.exp: New file.
3092 * gdb.cp/ena-dis-br-range.cc: New file.
3093
3094 2017-11-06 Pedro Alves <palves@redhat.com>
3095
3096 * gdb.base/attach-non-pgrp-leader.c: New.
3097 * gdb.base/attach-non-pgrp-leader.exp: New.
3098
3099 2017-11-06 Pedro Alves <palves@redhat.com>
3100
3101 * configure.ac: No longer check for termio.h and sgtty.h.
3102 * configure: Regenerate.
3103 * remote-utils.c: Include termios.h instead of gdb_termios.h.
3104 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
3105 Remove termio and sgtty code.
3106
3107 2017-11-03 Yao Qi <yao.qi@linaro.org>
3108
3109 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
3110 in GDB is disabled.
3111
3112 2017-11-03 Yao Qi <yao.qi@linaro.org>
3113
3114 * gdb.python/py-thrhandle.exp: Skip it if python is not
3115 enabled.
3116
3117 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
3118
3119 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
3120 as a breakpoint command.
3121
3122 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
3123
3124 PR python/21213
3125 * gdb.python/py-infthread.exp: Test calling
3126 InferiorThread.inferior () multiple times in a row.
3127
3128 2017-10-27 Keith Seitz <keiths@redhat.com>
3129
3130 * gdb.opt/inline-break.exp (break_info_1): New procedure.
3131 Test "info break" for every inlined function breakpoint.
3132
3133 2017-10-27 Yao Qi <yao.qi@linaro.org>
3134
3135 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
3136
3137 2017-10-26 Patrick Frants <osscontribute@gmail.com>
3138
3139 * gdb.cp/classes.exp (test_static_members): Test printing
3140 Outer::instance.
3141 * gdb.cp/classes.c (struct Inner, struct Outer): New.
3142 (Inner::instance, Outer::instance): New.
3143
3144 2017-10-24 Pedro Alves <palves@redhat.com>
3145
3146 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
3147 extra console" test in two stages.
3148
3149 2017-10-24 Pedro Alves <palves@redhat.com>
3150
3151 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
3152
3153 2017-10-24 Pedro Alves <palves@redhat.com>
3154
3155 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
3156 loop.
3157
3158 2017-10-24 Pedro Alves <palves@redhat.com>
3159
3160 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
3161 $attempt" and "stoppedtry $stoppedtry" test prefixes.
3162
3163 2017-10-24 Pedro Alves <palves@redhat.com>
3164
3165 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
3166 parameter and handle it. Don't output read value in test name.
3167
3168 2017-10-24 Pedro Alves <palves@redhat.com>
3169
3170 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
3171 custom test name.
3172
3173 2017-10-24 Pedro Alves <palves@redhat.com>
3174
3175 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
3176 include the unstable output directory name in the test's name.
3177 (initial_setup_simple) <'set args'>: Use custom test name.
3178
3179 2017-10-24 Pedro Alves <palves@redhat.com>
3180
3181 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
3182 with explicit test name.
3183
3184 2017-10-20 Pedro Alves <palves@redhat.com>
3185
3186 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
3187 'wait -i'. Use gdb_assert and remote_close.
3188
3189 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
3190
3191 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
3192 number from variable rather than hard-coded.
3193
3194 2017-10-19 Pedro Alves <palves@redhat.com>
3195
3196 * gdb.base/long-inferior-output.c: New file.
3197 * gdb.base/long-inferior-output.exp: New file.
3198
3199 2017-11-18 Keith Seitz <keiths@redhat.com>
3200
3201 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
3202 method.
3203 (main): Call it.
3204 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
3205 Add additional user-defined conversion operator tests.
3206
3207 2017-10-17 Pedro Alves <palves@redhat.com>
3208
3209 * boards/native-stdio-gdbserver.exp: Load "local-board".
3210
3211 2017-10-17 Pedro Alves <palves@redhat.com>
3212
3213 * gdb.base/quit-live.c: New file.
3214 * gdb.base/quit-live.exp: New file.
3215
3216 2017-10-16 Keith Seitz <keiths@redhat.com>
3217
3218 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
3219 (class_with_protected_typedef, class_with_private_typedef)
3220 (struct_with_public_typedef, struct_with_protected_typedef)
3221 (struct_with_private_typedef): New classes/structs.
3222 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
3223 typedefs and access specifiers.
3224
3225 2017-10-16 Pedro Alves <palves@redhat.com>
3226 Simon Marchi <simon.marchi@polymtl.ca>
3227
3228 * README (Local vs Remote vs Native): New section.
3229 * boards/local-board.exp: New file, with bits factored out from
3230 ...
3231 * boards/native-extended-gdbserver.exp: ... here. Load
3232 "local-board".
3233 * boards/native-gdbserver.exp: Load "local-board".
3234 (${board}_spawn, ${board}_exec): Delete.
3235 * boards/native-stdio-gdbserver.exp: Most contents factored out to
3236 ...
3237 * boards/stdio-gdbserver-base.exp: ... this new file.
3238 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
3239 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
3240 procedure.
3241 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
3242 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
3243 stdio_gdbserver_command.
3244 (${board}_get_remote_address, ${board}_get_comm_port)
3245 (${board}_download, ${board}_upload): Delete.
3246 (get_target_remote_pipe_cmd): New.
3247
3248 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
3249
3250 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
3251 test_bkpt_deletion, test_bkpt_cond_and_cmds,
3252 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
3253 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
3254 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
3255 remove with_test_prefix.
3256
3257 2017-10-13 Pedro Alves <palves@redhat.com>
3258
3259 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
3260 * gdb.base/annota1.exp: Use it instead of is_remote.
3261 * gdb.base/annota3.exp: Use it instead of is_remote.
3262 * gdb.cp/annota2.exp: Use it instead of is_remote.
3263 * gdb.cp/annota3.exp: Use it instead of is_remote.
3264 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
3265
3266 2017-10-13 Pedro Alves <palves@redhat.com>
3267
3268 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
3269 (test_num_test_vars, run_and_count_vars, find_env)
3270 (test_set_unset_env, test_inherit_env_var): New procedures.
3271 (top level): Use them.
3272
3273 2017-10-13 Pedro Alves <palves@redhat.com>
3274
3275 * lib/selftest-support.exp (selftest_setup): Extend comments, and
3276 also skip on stub-like targets.
3277
3278 2017-10-13 Pedro Alves <palves@redhat.com>
3279
3280 PR gdb/22293
3281 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
3282 (top level): Move some tests to ...
3283 (test_not_found): ... this new procedure.
3284 (top level): Call it.
3285
3286 2017-10-13 Pedro Alves <palves@redhat.com>
3287
3288 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
3289 expect different "info terminal" output if testing with a
3290 non-native target.
3291
3292 2017-10-13 Pedro Alves <palves@redhat.com>
3293 Simon Marchi <simon.marchi@polymtl.ca>
3294
3295 PR python/12966
3296 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
3297
3298 2017-10-13 Pedro Alves <palves@redhat.com>
3299
3300 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
3301 already.
3302
3303 2017-10-13 Pedro Alves <palves@redhat.com>
3304
3305 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
3306 is_remote.
3307
3308 2017-10-13 Pedro Alves <palves@redhat.com>
3309
3310 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
3311 is_remote.
3312
3313 2017-10-13 Pedro Alves <palves@redhat.com>
3314
3315 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
3316 is set.
3317 (corefile_test_attach): Likewise. Check can_spawn_for_attach
3318 instead of is_remote.
3319
3320 2017-10-13 Pedro Alves <palves@redhat.com>
3321
3322 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
3323 (top level): Add comment.
3324
3325 2017-10-13 Pedro Alves <palves@redhat.com>
3326
3327 * gdb.base/remote.exp (top level): Fix comment typo and add
3328 missing return.
3329
3330 2017-10-13 Pedro Alves <palves@redhat.com>
3331 Simon Marchi <simon.marchi@polymtl.ca>
3332
3333 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
3334 calls and add comments. Skip test if use_gdb_stub is set.
3335 (top level): Use "set cwd" command instead of "cd" command.
3336
3337 2017-10-13 Pedro Alves <palves@redhat.com>
3338
3339 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
3340 is_remote target check.
3341
3342 2017-10-13 Pedro Alves <palves@redhat.com>
3343
3344 * gdb.base/scope.exp: Use build_executable + clean_restart +
3345 gdb_file_cmd instead of prepare_for_testing and no longer skip
3346 "before run" tests on is_remote target boards. Update comments.
3347 * boards/native-extended-gdbserver.exp
3348 (extended_gdbserver_load_last_file): New, factored out from ...
3349 (gdb_load): ... this. Move further below and add comment.
3350 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
3351
3352 2017-10-12 Pedro Alves <palves@redhat.com>
3353
3354 * gdb.base/attach.exp: Remove references to gdb64.
3355 * gdb.base/dbx.exp: Remove references to gdb64.
3356
3357 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
3358 Pedro Alves <palves@redhat.com>
3359
3360 * gdb.base/label.exp: Remove is_remote target check.
3361
3362 2017-10-12 Pedro Alves <palves@redhat.com>
3363
3364 * gdb.base/auvx.exp (coredir): Update comment.
3365 (top level) <core_works>: Use "set cwd" command instead of "cd"
3366 command.
3367
3368 2017-10-12 Pedro Alves <palves@redhat.com>
3369 Simon Marchi <simon.marchi@polymtl.ca>
3370
3371 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
3372 target boards.
3373
3374 2017-10-12 Pedro Alves <palves@redhat.com>
3375 Simon Marchi <simon.marchi@polymtl.ca>
3376
3377 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
3378 Instead skip if there's any gdb_protocol set.
3379
3380 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
3381 Pedro Alves <palves@redhat.com>
3382
3383 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
3384
3385 2017-10-12 Pedro Alves <palves@redhat.com>
3386 Simon Marchi <simon.marchi@polymtl.ca>
3387
3388 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
3389 instead of on dejagnu remote boards.
3390
3391 2017-10-12 Pedro Alves <palves@redhat.com>
3392 Simon Marchi <simon.marchi@polymtl.ca>
3393
3394 * gdb.base/inferior-died.exp: Remove is_remote and isnative
3395 checks. Use build_executable + clean_restart instead of
3396 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
3397 of enabling non-stop after starting gdb.
3398
3399 2017-10-12 Pedro Alves <palves@redhat.com>
3400
3401 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
3402 * gdb.threads/non-ldr-exc-2.exp: Ditto.
3403 * gdb.threads/non-ldr-exc-3.exp: Ditto.
3404 * gdb.threads/non-ldr-exc-4.exp: Ditto.
3405
3406 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
3407
3408 * gdb.arch/arc-tdesc-cpu.exp: New file.
3409 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
3410
3411 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
3412
3413 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
3414
3415 2017-10-10 Pedro Alves <palves@redhat.com>
3416
3417 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
3418 expect CLI output.
3419
3420 2017-10-10 Pedro Alves <palves@redhat.com>
3421
3422 * lib/selftest-support.exp (selftest_setup): Update for
3423 captured_command_loop's prototype change.
3424
3425 2017-10-09 Pedro Alves <palves@redhat.com>
3426
3427 Test both arch1=>arch2 and arch2=>arch1.
3428
3429 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
3430 (srcfile2, binfile2, march1, march2): Remove globals. Largely
3431 factored out to...
3432 (append_arch1_options, append_arch2_options, append_arch_options)
3433 (build_executables): New procedures.
3434 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
3435 local.
3436 (top level): Add new 'first_arch' testing axis.
3437
3438 2017-10-09 Pedro Alves <palves@redhat.com>
3439
3440 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
3441 (barrier): New.
3442 (thread_start, all_started): New functions.
3443 (main): Spawn new thread and wait until it is scheduled.
3444 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
3445 option.
3446 (do_test): Add 'selected_thread' parameter. Run to all_started
3447 instead of main. Explicitly set the breakpoint at main. Switch
3448 to the SELECTED_THREAD thread.
3449 (top level): Test handling the exec event with either the main
3450 thread or the second thread selected.
3451
3452 2017-10-09 Pedro Alves <palves@redhat.com>
3453
3454 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
3455 logic. Move STOP marker after the value checks.
3456 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
3457 regexp.
3458
3459 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
3460
3461 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
3462
3463 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
3464
3465 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
3466 integer-to-dfp conversion.
3467 * gdb.base/dfp-test.exp: Likewise.
3468
3469 2017-10-04 Pedro Alves <palves@redhat.com>
3470
3471 * gdb.multi/hangout.c: Include <unistd.h>.
3472 (hangout_loop): New function.
3473 (main): Call alarm. Call hangout_loop in a loop.
3474 * gdb.multi/hello.c: Include <unistd.h>.
3475 (hello_loop): New function.
3476 (main): Call alarm. Call hangout_loop in a loop.
3477 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
3478 inferior with the other selected.
3479
3480 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
3481
3482 * gdb.mi/list-thread-groups-available.exp: New file.
3483 * gdb.mi/list-thread-groups-available.c: New file.
3484
3485 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
3486
3487 * gdb.base/set-cwd.exp: Make it available on
3488 native-extended-gdbserver.
3489
3490 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
3491
3492 * gdb.base/set-cwd.c: New file.
3493 * gdb.base/set-cwd.exp: Likewise.
3494
3495 2017-10-02 Tom Tromey <tom@tromey.com>
3496
3497 PR rust/22236:
3498 * gdb.rust/simple.rs (main): New variable "fslice".
3499 * gdb.rust/simple.exp: Add slice tests. Update string tests.
3500
3501 2017-10-02 Tom Tromey <tom@tromey.com>
3502
3503 * gdb.rust/simple.exp: Test ptype of a slice.
3504
3505 2017-10-02 Tom Tromey <tom@tromey.com>
3506
3507 * gdb.rust/simple.exp: Test index of slice.
3508
3509 2017-09-27 Tom Tromey <tom@tromey.com>
3510
3511 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
3512
3513 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
3514 Pedro Alves <palves@redhat.com>
3515
3516 * gdb.base/compare-sections.exp (get value of read-only section): Read
3517 as unsigned value.
3518 (corrupt read-only section): Likewise and don't set written if patching
3519 failed.
3520
3521 2017-09-21 Kevin Buettner <kevinb@redhat.com>
3522
3523 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
3524 files.
3525
3526 2017-09-20 Pedro Alves <palves@redhat.com>
3527
3528 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
3529 symbol names in gdb's output.
3530 * gdb.cp/overload.exp ("list all overloads"): Likewise.
3531
3532 2017-09-20 Pedro Alves <palves@redhat.com>
3533
3534 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
3535 Rename to ...
3536 (test_list_ambiguous_symbol): ... this and add a symbol name
3537 parameter. Adjust.
3538 (test_list_ambiguous_function): Reimplement on top of
3539 test_list_ambiguous_symbol and also test listing ambiguous
3540 variables.
3541 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
3542 (ambiguous_fun): ... this.
3543 (ambiguous_var): New.
3544 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
3545 (ambiguous_fun): ... this.
3546 (ambiguous_var): New.
3547
3548 2017-09-19 John Baldwin <jhb@FreeBSD.org>
3549
3550 * gdb.base/starti.c: New file.
3551 * gdb.base/starti.exp: New file.
3552 * lib/gdb.exp (gdb_starti_cmd): New procedure.
3553
3554 2017-09-14 Pedro Alves <palves@redhat.com>
3555
3556 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
3557 (top level): Use it instead of runto.
3558
3559 2017-09-11 Tom Tromey <tom@tromey.com>
3560
3561 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
3562
3563 2017-09-11 Tom Tromey <tom@tromey.com>
3564
3565 * gdb.python/py-infthread.exp: Add tests for new_thread event.
3566 * gdb.python/py-inferior.exp: Add tests for new inferior events.
3567
3568 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
3569
3570 * gdb.fortran/printing-types.exp: New file.
3571 * gdb.fortran/printing-types.exp: New file.
3572
3573 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
3574
3575 * gdb.fortran/vla-ptype.exp: Fix typos.
3576 * gdb.fortran/vla-value.exp: Same.
3577
3578 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
3579
3580 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
3581 * gdb.mi/mi-var-child-f.exp: Likewise.
3582 * gdb.mi/mi-vla-fortran.exp: Likewise.
3583
3584 2017-09-08 Frank Penczek <frank.penczek@intel.com>
3585 Christoph Weinmann <christoph.t.weinmann@intel.com>
3586 Bernhard Heckel <bernhard.heckel@intel.com>
3587
3588 * gdb.fortran/ptr-indentation.f90: New file.
3589 * gdb.fortran/ptr-indentation.exp: New file.
3590
3591 2017-09-05 Tom Tromey <tom@tromey.com>
3592
3593 PR gdb/22010:
3594 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
3595
3596 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
3597
3598 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
3599
3600 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3601
3602 * gdb.threads/tls-nodebug-pie.c: New file.
3603 * gdb.threads/tls-nodebug-pie.exp: New file.
3604
3605 2017-09-05 Tom Tromey <tom@tromey.com>
3606
3607 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
3608 for rust.
3609
3610 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
3611
3612 * gdb.multi/multi-arch-exec.exp: Test with different
3613 "follow-exec-mode" settings.
3614 (do_test): New procedure.
3615
3616 2017-09-04 Pedro Alves <palves@redhat.com>
3617
3618 * gdb.base/func-static.c (S::method const, S::method volatile)
3619 (S::method volatile const): New methods.
3620 (c_s, v_s, cv_s): New instances.
3621 (main): Call method() on them.
3622 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
3623 (cannot_resolve): New procedure.
3624 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
3625 print-quote-unquoted columns.
3626 (do_test): Test printing each scope too.
3627
3628 2017-09-04 Pedro Alves <palves@redhat.com>
3629
3630 * gdb.base/local-static.exp: Also test with
3631 class::method::variable wholly quoted.
3632 * gdb.cp/m-static.exp (class::method::variable): Remove test.
3633
3634 2017-09-04 Pedro Alves <palves@redhat.com>
3635
3636 * gdb.base/local-static.c: New.
3637 * gdb.base/local-static.cc: New.
3638 * gdb.base/local-static.exp: New.
3639
3640 2017-09-04 Pedro Alves <palves@redhat.com>
3641
3642 * gdb.asm/asm-source.exp: Add casts to int.
3643 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
3644 (dataglobal64_1, dataglobal64_2): New globals.
3645 * gdb.base/nodebug.exp: Test different expressions involving the
3646 new globals, with print, whatis and ptype. Add casts to int.
3647 * gdb.base/solib-display.exp: Add casts to int.
3648 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
3649 * gdb.cp/m-static.exp: Add cast to int.
3650 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
3651 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
3652 tls variable with no debug info without a cast. Test with a cast
3653 to int too.
3654 * gdb.trace/entry-values.exp: Add casts.
3655
3656 2017-09-04 Pedro Alves <palves@redhat.com>
3657
3658 * gdb.base/nodebug.exp: Test that ptype's error about functions
3659 with unknown return type includes the function name too.
3660
3661 2017-09-04 Pedro Alves <palves@redhat.com>
3662
3663 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
3664 return type of munmap in infcall.
3665 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
3666 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
3667 type of ftell in infcall.
3668 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
3669 type of getpid in infcall.
3670 * gdb.base/infcall-exec.exp: Cast return type of execlp in
3671 infcall.
3672 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
3673 Bail on failure to extract the pid.
3674 * gdb.base/nodebug.c: #include <stdint.h>.
3675 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
3676 New functions.
3677 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
3678 Change expected output of print/whatis/ptype with functions with
3679 no debug info. Test all supported languages. Call
3680 test_call_promotion.
3681 * gdb.compile/compile.exp: Adjust expected output to expect
3682 warning.
3683 * gdb.threads/siginfo-threads.exp: Likewise.
3684
3685 2017-09-04 Pedro Alves <palves@redhat.com>
3686
3687 * gdb.base/callfuncs.exp (do_function_calls): New parameter
3688 "prototypes". Test calling float functions via prototyped and
3689 unprototyped function pointers.
3690 (perform_all_tests): New parameter "prototypes". Pass it down.
3691 (top level): Pass down "prototypes" parameter to
3692 perform_all_tests.
3693
3694 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
3695
3696 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
3697 Test with nested loops.
3698
3699 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
3700
3701 * gdb.base/commands.exp: Call the new procedures.
3702 (loop_break_test, loop_continue_test): New procedures.
3703
3704 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
3705
3706 * gdb.base/commands.exp: Call new procedure.
3707 (define_if_without_arg_test): New procedure.
3708
3709 2017-09-04 Pedro Alves <palves@redhat.com>
3710
3711 * gdb.base/list-ambiguous.exp: New file.
3712 * gdb.base/list-ambiguous0.c: New file.
3713 * gdb.base/list-ambiguous1.c: New file.
3714 * gdb.base/list.exp (test_list_range): Adjust expected output.
3715
3716 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
3717
3718 * gdb.base/share-env-with-gdbserver.c: New file.
3719 * gdb.base/share-env-with-gdbserver.exp: Likewise.
3720
3721 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
3722
3723 * gdb.base/commands.exp (gdbvar_simple_if_test,
3724 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
3725 progvar_simple_if_test, progvar_simple_while_test,
3726 progvar_complex_if_while_test, user_defined_command_test,
3727 user_defined_command_args_eval,
3728 user_defined_command_args_stack_test,
3729 user_defined_command_manyargs_test, bp_deleted_in_command_test,
3730 temporary_breakpoint_commands,
3731 gdb_test_no_prompt, redefine_hook_test,
3732 redefine_backtrace_test): Remove "global gdb_prompt".
3733
3734 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
3735
3736 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
3737 New proc, call it from toplevel.
3738
3739 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
3740
3741 PR remote/21852
3742 * gdb.server/normal.c: New file, copied from gdb.base.
3743 * gdb.server/run-without-local-binary.exp: New file.
3744
3745 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
3746
3747 * gdb.arch/sparc64-adi.exp: New file.
3748 * gdb.arch/sparc64-adi.c: New file.
3749
3750 2017-08-22 Pedro Alves <palves@redhat.com>
3751
3752 * gdb.cp/overload.exp (line_range_pattern): New procedure.
3753 (top level): Add "list all overloads" tests.
3754
3755 2017-08-22 Tom Tromey <tom@tromey.com>
3756
3757 * gdb.gdb/xfullpath.exp: Remove.
3758
3759 2017-08-21 Pedro Alves <palves@redhat.com>
3760
3761 PR gdb/19487
3762 * gdb.base/symbol-alias.c: New.
3763 * gdb.base/symbol-alias2.c: New.
3764 * gdb.base/symbol-alias.exp: New.
3765
3766 2017-08-21 Pedro Alves <palves@redhat.com>
3767
3768 * gdb.base/dfp-test.c
3769 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
3770 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
3771 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
3772 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
3773 * gdb.base/whatis-ptype-typedefs.c: New.
3774 * gdb.base/whatis-ptype-typedefs.exp: New.
3775 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
3776 (an_int, an_int_type, an_int_type2): New globals.
3777 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
3778 involving typedefs and cast expressions.
3779 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
3780 (lookup_typedefs_function): New.
3781 (typedefs_pretty_printers_dict): New.
3782 (top level): Register lookup_typedefs_function in
3783 gdb.pretty_printers.
3784
3785 2017-08-18 Yao Qi <yao.qi@linaro.org>
3786
3787 * gdb.server/unittest.exp: New.
3788
3789 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
3790
3791 PR gdb/21954
3792 * gdb.base/environ.exp: Add test to check if 'unset environment'
3793 works.
3794
3795 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
3796
3797 * lib/gdb.exp (universal_compile_options): New caching proc.
3798 (gdb_compile): Suppress GCC's coloring of messages.
3799
3800 2017-08-14 Tom Tromey <tom@tromey.com>
3801
3802 PR gdb/21675:
3803 * gdb.base/printcmds.exp (test_radices): New function.
3804 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
3805 * gdb.base/sizeof.exp (check_valueof): Use p/d.
3806 * lib/gdb.exp (get_integer_valueof): Use p/d.
3807
3808 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
3809
3810 * lib/gdb.exp (get_valueof): Don't capture end-of-line
3811 characters.
3812
3813 2017-08-05 Tom Tromey <tom@tromey.com>
3814
3815 * gdb.rust/simple.exp: Allow String to appear in a different
3816 namespace.
3817
3818 2017-07-26 Yao Qi <yao.qi@linaro.org>
3819
3820 * gdb.gdb/unittest.exp: Invoke command
3821 "maintenance check xml-descriptions".
3822
3823 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
3824
3825 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
3826 calling context.
3827 (hex128): Drop erroneous calculation of parameters.
3828
3829 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
3830
3831 * gdb.python/py-unwind.exp: Disable stack protection when
3832 building test file.
3833
3834 2017-07-20 Pedro Alves <palves@redhat.com>
3835
3836 * gdb.base/default.exp (set language): Adjust expected output.
3837
3838 2017-07-20 Pedro Alves <palves@redhat.com>
3839
3840 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
3841 (test_minsym): ... this, and make static.
3842 (get_pck__foo__bar__minsym): Rename to ...
3843 (get_test_minsym): ... this.
3844 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
3845 symbol names and comments.
3846 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
3847 (get_test_minsym): ... this.
3848 (pck__foo__bar__minsym__2): Rename to ...
3849 (test_minsym): ... this.
3850 (main): Adjust.
3851
3852 2017-07-17 Pedro Alves <palves@redhat.com>
3853
3854 * gdb.base/completion.exp: Adjust expected output.
3855 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
3856 the completer works.
3857
3858 2017-07-17 Pedro Alves <palves@redhat.com>
3859
3860 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
3861
3862 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
3863
3864 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
3865
3866 2017-07-14 Tom Tromey <tom@tromey.com>
3867
3868 PR rust/21764:
3869 * gdb.rust/simple.exp: Add tests.
3870
3871 2017-07-14 Tom Tromey <tom@tromey.com>
3872
3873 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
3874
3875 2017-07-14 Pedro Alves <palves@redhat.com>
3876
3877 * gdb.linespec/base/one/thefile.cc (z1): New function.
3878 * gdb.linespec/base/two/thefile.cc (z2): New function.
3879 * gdb.linespec/linespec.exp: Add tests.
3880
3881 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
3882
3883 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
3884 to mi_create_breakpoint.
3885
3886 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
3887
3888 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
3889 mi_create_breakpoint.
3890
3891 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
3892
3893 * gdb.dlang/demangle.exp: Update for demangling changes.
3894
3895 2017-07-09 Tom Tromey <tom@tromey.com>
3896
3897 * gdb.dwarf2/shortpiece.exp: New file.
3898
3899 2017-07-06 David Blaikie <dblaikie@gmail.com>
3900
3901 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
3902 built from fissiont-multi-cu{1,2}.c.
3903 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
3904 except putting 'main' and 'func' in separate CUs in the same DWO file.
3905 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
3906 test.
3907 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
3908 test.
3909
3910 2017-07-06 Pedro Alves <palves@redhat.com>
3911
3912 * gdb.python/py-unwind.exp: Test flushregs.
3913
3914 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
3915
3916 PR cli/21688
3917 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
3918 tests for alias commands and trailing whitespace.
3919
3920 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
3921
3922 PR cli/21688
3923 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
3924 procedure. Call it.
3925
3926 2017-06-29 Pedro Alves <palves@redhat.com>
3927
3928 * gdb.base/printcmds.exp: Add tests.
3929
3930 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
3931
3932 PR gdb/21337
3933 * gdb.base/reread-readsym.exp: New file.
3934 * gdb.base/reread-readsym.c: New file.
3935
3936 2017-06-21 Kevin Buettner <kevinb@redhat.com>
3937
3938 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
3939 subpattern.
3940
3941 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
3942
3943 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
3944 extended mnemonic.
3945 * gdb.arch/powerpc-power9.s: Likewise.
3946
3947 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
3948
3949 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
3950 on 32-bit x86 targets. Exploit is_*_target macros where
3951 appropriate.
3952
3953 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3954
3955 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
3956 register pieces.
3957
3958 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3959
3960 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
3961 located in one or more DWARF pieces.
3962
3963 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3964
3965 * lib/gdb.exp (get_endianness): New proc.
3966 * gdb.arch/aarch64-fp.exp: Use it.
3967 * gdb.arch/altivec-regs.exp: Likewise.
3968 * gdb.arch/e500-regs.exp: Likewise.
3969 * gdb.arch/vsx-regs.exp: Likewise.
3970 * gdb.base/dump.exp: Likewise.
3971 * gdb.base/funcargs.exp: Likewise.
3972 * gdb.base/gnu_vector.exp: Likewise.
3973 * gdb.dwarf2/formdata16.exp: Likewise.
3974 * gdb.dwarf2/implptrpiece.exp: Likewise.
3975 * gdb.dwarf2/nonvar-access.exp: Likewise.
3976 * gdb.python/py-inferior.exp: Likewise.
3977 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
3978
3979 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3980
3981 PR gdb/21226
3982 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
3983 stack value pieces are taken from the LSB end.
3984
3985 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3986
3987 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
3988 variable at nonzero offset.
3989
3990 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3991
3992 * gdb.dwarf2/var-access.c: New file.
3993 * gdb.dwarf2/var-access.exp: New test.
3994 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
3995
3996 2017-06-12 Tom Tromey <tom@tromey.com>
3997
3998 * gdb.dwarf2/formdata16.exp: Add tests.
3999
4000 2017-06-12 Tom Tromey <tom@tromey.com>
4001
4002 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
4003
4004 2017-06-12 Tom Tromey <tom@tromey.com>
4005
4006 PR exp/16225:
4007 * gdb.reverse/i386-sse-reverse.exp: Update tests.
4008 * gdb.arch/vsx-regs.exp: Update tests.
4009 * gdb.arch/s390-vregs.exp (hex128): New proc.
4010 Update test.
4011 * gdb.arch/altivec-regs.exp: Update tests.
4012
4013 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
4014
4015 * gdb.base/startup-with-shell.c: New file.
4016 * gdb.base/startup-with-shell.exp: Likewise.
4017
4018 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
4019
4020 * gdb.server/non-existing-program.exp: Update regex in order to
4021 reflect the fact that gdbserver is now using fork_inferior (with a
4022 shell) to startup the inferior.
4023
4024 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
4025
4026 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
4027 support function calls from GDB.
4028
4029 2017-05-21 Tom Tromey <tom@tromey.com>
4030
4031 PR rust/21466:
4032 * gdb.rust/unsized.exp: New file.
4033 * gdb.rust/unsized.rs: New file.
4034
4035 2017-05-19 Tom Tromey <tom@tromey.com>
4036
4037 PR rust/21484:
4038 * gdb.rust/watch.exp: New file.
4039 * gdb.rust/watch.rs: New file.
4040
4041 2017-05-18 Tom Tromey <tom@tromey.com>
4042
4043 * gdb.rust/simple.exp: Allow Box to be qualified.
4044
4045 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
4046
4047 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
4048
4049 2017-05-18 Pedro Alves <palves@redhat.com>
4050
4051 * gdb.base/fileio.c (test_write, test_read, test_close)
4052 (test_fstat): Don't print 'ret' in the fail path.
4053
4054 2017-05-18 Pedro Alves <palves@redhat.com>
4055
4056 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
4057 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
4058 (test_system, test_rename, test_unlink, test_time): Change
4059 prototypes.
4060 * gdb.base/fileio.exp (stop_msg): Adjust.
4061
4062 2017-05-18 Pedro Alves <palves@redhat.com>
4063
4064 * gdb.base/fileio.c (null_str): New global.
4065 (test_stat): Use it.
4066 * gdb.base/fileio.exp: Remove nowarnings.
4067
4068 2017-05-17 Yao Qi <yao.qi@linaro.org>
4069
4070 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
4071
4072 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
4073
4074 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
4075 argument command.
4076 (top-level): Invoke test_set_inferior_tty.
4077
4078 2017-05-04 Pedro Alves <palves@redhat.com>
4079
4080 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
4081 Add parens to print call for Python 3.
4082
4083 2017-05-03 Keith Seitz <keiths@redhat.com>
4084
4085 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
4086 (main): Call it.
4087
4088 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
4089
4090 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
4091 to prev and next.
4092
4093 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
4094
4095 * gdb.python/py-record-btrace.exp: Remove test for
4096 gdb.BtraceInstruction.error.
4097
4098 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
4099
4100 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
4101
4102 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
4103
4104 * gdb.python/py-record-btrace-threads.c: New file.
4105 * gdb.python/py-record-btrace-threads.exp: New file.
4106
4107 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
4108
4109 PR testsuite/8595
4110 * gdb.base/environ.exp: Make test available in all architectures.
4111 Move bits related to "info program" testing to
4112 gdb.base/info-program.exp. Rewrite tests to use the two new
4113 procedures mentione below.
4114 (test_set_show_env_var) New procedure.
4115 (test_set_show_env_var_equal): Likewise.
4116 * gdb.base/info-program.exp: New file.
4117
4118 2017-04-27 Keith Seitz <keiths@redhat.com>
4119
4120 * gdb.cp/oranking.cc (test15): New function.
4121 (main): Call test15 and declare additional variables for testing.
4122 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
4123 "p foo101('abc')" tests.
4124 Add tests for cv qualifier overloads.
4125 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
4126 "lvalue reference overload" test.
4127 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
4128 "print value of f1 on Child&& in f2" test.
4129
4130 2017-04-19 Pedro Alves <palves@redhat.com>
4131
4132 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
4133 procedure.
4134 (top level): Call it.
4135 * lib/gdb.exp (gdb_define_cmd): New procedure.
4136
4137 2017-04-12 Pedro Alves <palves@redhat.com>
4138
4139 PR gdb/21323
4140 * gdb.cp/wide_char_types.c: Include <wchar.h>.
4141 (wchar): New global.
4142 * gdb.cp/wide_char_types.exp (wide_char_types_program)
4143 (do_test_wide_char, wide_char_types_no_program, top level): Add
4144 wchar_t testing.
4145
4146 2017-04-12 Pedro Alves <palves@redhat.com>
4147
4148 PR c++/21323
4149 * gdb.cp/wide_char_types.c: New file.
4150 * gdb.cp/wide_char_types.exp: New file.
4151
4152 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
4153
4154 PR gdb/21352
4155 * gdb.trace/tsv.exp: Add test for "tsave -r".
4156
4157 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
4158
4159 * gdb.dlang/watch-loc.c: New file.
4160 * gdb.dlang/watch-loc.exp: New file.
4161
4162 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4163
4164 * gdb.python/py-section-script.exp (sepdebug): New testcases.
4165
4166 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
4167
4168 * gdb.arch/arc-analyze-prologue.S: New file.
4169 * gdb.arch/arc-analyze-prologue.exp: Likewise.
4170
4171 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
4172
4173 * gdb.arch/arc-decode-insn.S: New file.
4174 * gdb.arch/arc-decode-insn.exp: Likewise.
4175
4176 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
4177
4178 PR tdep/20928
4179 * gdb.arch/sparc64-regs.exp: New file.
4180 * gdb.arch/sparc64-regs.S: Likewise.
4181
4182 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
4183
4184 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
4185 and memory view on Python 3.
4186
4187 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
4188 Keith Seitz <keiths@redhat.com>
4189
4190 PR gdb/14441
4191 * gdb.cp/demangle.exp: Add rvalue reference tests.
4192 * gdb.cp/rvalue-ref-casts.cc: New file.
4193 * gdb.cp/rvalue-ref-casts.exp: New file.
4194 * gdb.cp/rvalue-ref-overload.cc: New file.
4195 * gdb.cp/rvalue-ref-overload.exp: New file.
4196 * gdb.cp/rvalue-ref-params.cc: New file.
4197 * gdb.cp/rvalue-ref-params.exp: New file.
4198 * gdb.cp/rvalue-ref-sizeof.cc: New file.
4199 * gdb.cp/rvalue-ref-sizeof.exp: New file.
4200 * gdb.cp/rvalue-ref-types.cc: New file.
4201 * gdb.cp/rvalue-ref-types.exp: New file.
4202 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
4203 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
4204
4205 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
4206
4207 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
4208 New procedure.
4209
4210 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
4211
4212 * lib/mi-support.exp (mi_gdb_test): Add additional message
4213 for unexpected output.
4214
4215 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
4216
4217 * gdb.base/examine-backward.c (Barrier): New character array
4218 constant, to ensure that TestStrings is preceded by a string
4219 terminator.
4220
4221 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4222
4223 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
4224 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
4225 and implicit pointer into such a location.
4226
4227 2017-03-16 Doug Evans <dje@google.com>
4228
4229 * gdb.python/py-lazy-string (pointer): Really add new typedef.
4230
4231 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
4232
4233 * gdb.cp/m-static.exp: Fix expectation for prototype of
4234 test5.single_constructor and single_constructor::single_constructor.
4235
4236 2017-03-16 Doug Evans <dje@google.com>
4237
4238 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
4239 * gdb.guile/scm-lazy-string.c: New file.
4240 * gdb.guile/scm-value.exp: Move lazy string tests to ...
4241 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
4242 for pointer, array, typedef lazy strings.
4243
4244 2017-03-16 Doug Evans <dje@google.com>
4245
4246 PR python/17728, python/18439, python/18779
4247 * gdb.python/py-value.c (main) Delete locals sptr, sn.
4248 * gdb.python/py-lazy-string.c (pointer): New typedef.
4249 (main): New locals ptr, array, typedef_ptr.
4250 * gdb.python/py-value.exp: Move lazy string tests to ...
4251 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
4252 array, typedef lazy strings.
4253
4254 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
4255
4256 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
4257 Add optional 'test' parameter.
4258
4259 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
4260
4261 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
4262 Skip for versions of DejaGnu < 1.5.
4263
4264 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
4265
4266 * lib/gdb.exp (dejagnu_version): New proc.
4267 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
4268 Use dejagnu_version.
4269
4270 2017-03-10 Keith Seitz <keiths@redhat.com>
4271
4272 PR c++/8128
4273 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
4274 type from destructor regexps.
4275 Add a branch which actually passes the test.
4276 Adjust "ptype t5i" test names.
4277
4278 2017-03-08 Pedro Alves <palves@redhat.com>
4279
4280 * gdb.base/step-over-exit.exp: Add explicit test message.
4281
4282 2017-03-08 Pedro Alves <palves@redhat.com>
4283
4284 PR gdb/18360
4285 * gdb.threads/interrupt-while-step-over.c: New file.
4286 * gdb.threads/interrupt-while-step-over.exp: New file.
4287
4288 2017-03-08 Pedro Alves <palves@redhat.com>
4289
4290 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
4291 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
4292
4293 2017-03-08 Pedro Alves <palves@redhat.com>
4294
4295 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
4296 PKRU as not supported as a PASS.
4297
4298 2017-03-08 Pedro Alves <palves@redhat.com>
4299
4300 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
4301 prefix instead of $binfile1/$binfile2.
4302 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
4303 in test message.
4304 * gdb.python/py-completion.exp: Use "load python file" as test
4305 messages instead of unstable path names.
4306
4307 2017-03-08 Pedro Alves <palves@redhat.com>
4308 Jan Kratochvil <jan.kratochvil@redhat.com>
4309
4310 PR cli/21218
4311 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
4312 New proc.
4313 (top level): Call it.
4314
4315 2017-03-08 Pedro Alves <palves@redhat.com>
4316
4317 PR tui/21216
4318 * gdb.tui/tui-nl-filtered-output.exp: New file.
4319
4320 2017-03-08 Pedro Alves <palves@redhat.com>
4321
4322 * gdb.base/completion.exp: Move TUI completion tests to ...
4323 * gdb.tui/completion.exp: ... this new file.
4324
4325 2017-03-08 Pedro Alves <palves@redhat.com>
4326
4327 * gdb.base/tui-disasm-long-lines.c,
4328 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
4329 gdb.base/tui-layout.exp: Move to ...
4330 * gdb.tui/: ... this new directory.
4331
4332 2017-03-07 Pedro Alves <palves@redhat.com>
4333
4334 * gdb.base/tui-layout.c: New file.
4335 * gdb.base/tui-layout.exp: New file.
4336
4337 2017-03-07 Pedro Alves <palves@redhat.com>
4338
4339 * gdb.base/tui-layout.c: Rename to ...
4340 * gdb.base/tui-disasm-long-lines.c: ... this.
4341 * gdb.base/tui-layout.exp: Rename to ...
4342 * gdb.base/tui-disasm-long-lines.exp: ... this.
4343
4344 2017-03-07 Pedro Alves <palves@redhat.com>
4345
4346 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
4347
4348 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4349
4350 * i386-mpx-call.c: New file.
4351 * i386-mpx-call.exp: New file.
4352
4353 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
4354
4355 * gdb.arch/powerpc-power.exp: Delete test.
4356 * gdb.arch/powerpc-power.s: Likewise.
4357 * gdb.disasm/disassembler-options.exp: New test.
4358 * gdb.arch/powerpc-altivec.exp: Likewise.
4359 * gdb.arch/powerpc-altivec.s: Likewise.
4360 * gdb.arch/powerpc-altivec2.exp: Likewise.
4361 * gdb.arch/powerpc-altivec2.s: Likewise.
4362 * gdb.arch/powerpc-altivec3.exp: Likewise.
4363 * gdb.arch/powerpc-altivec3.s: Likewise.
4364 * gdb.arch/powerpc-power7.exp: Likewise.
4365 * gdb.arch/powerpc-power7.s: Likewise.
4366 * gdb.arch/powerpc-power8.exp: Likewise.
4367 * gdb.arch/powerpc-power8.s: Likewise.
4368 * gdb.arch/powerpc-power9.exp: Likewise.
4369 * gdb.arch/powerpc-power9.s: Likewise.
4370 * gdb.arch/powerpc-vsx.exp: Likewise.
4371 * gdb.arch/powerpc-vsx.s: Likewise.
4372 * gdb.arch/powerpc-vsx2.exp: Likewise.
4373 * gdb.arch/powerpc-vsx2.s: Likewise.
4374 * gdb.arch/powerpc-vsx3.exp: Likewise.
4375 * gdb.arch/powerpc-vsx3.s: Likewise.
4376 * gdb.arch/arm-disassembler-options.exp: Likewise.
4377 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
4378 * gdb.arch/s390-disassembler-options.exp: Likewise.
4379
4380 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
4381
4382 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
4383 (check_supported_features): ... this. Changed return type to void.
4384 (supports_rdseed): New static global.
4385 (rdseed): Check supports_rdseed.
4386 (initialize): Call check_supported_features.
4387
4388 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4389
4390 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
4391 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
4392 and lqarx/stqcx.
4393 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
4394 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
4395
4396 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4397
4398 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
4399 uppercase.
4400
4401 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4402
4403 * gdb.dwarf2/formdata16.c: New file.
4404 * gdb.dwarf2/formdata16.exp: New file.
4405 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
4406
4407 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4408
4409 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
4410 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
4411 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
4412 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
4413 DW_AT_GNU_*.
4414
4415 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4416
4417 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
4418
4419 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
4420
4421 PR gdb/21164
4422 * gdb.base/maint.exp: Add testcases for when the commands do
4423 not have arguments.
4424
4425 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
4426
4427 * gdb.cp/chained-calls.exp: Use p instead of P.
4428
4429 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
4430
4431 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
4432 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
4433
4434 2017-02-14 Tom Tromey <tom@tromey.com>
4435
4436 PR python/13598:
4437 * gdb.python/py-events.exp: Add before_prompt event tests.
4438
4439 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
4440
4441 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
4442
4443 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
4444
4445 * gdb.linespec/explicit.c (my_unique_function_name): New function.
4446 (main): Call my_unique_function_name.
4447 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
4448 completion of patterns with a single match.
4449 Add missing -re switches to gdb_test_multiple calls.
4450
4451 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
4452
4453 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
4454 return if core file is not recognized.
4455
4456 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
4457
4458 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
4459 and extra UIs.
4460
4461 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
4462
4463 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
4464 proc_with_prefix.
4465
4466 2017-02-10 Tom Tromey <tom@tromey.com>
4467
4468 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
4469
4470 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
4471
4472 PR gdb/21122
4473 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
4474
4475 2017-02-08 Jerome Guitton <guitton@adacore.com>
4476
4477 * gdb.base/define.exp: Add test for command abbreviations
4478 in define.
4479
4480 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
4481
4482 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
4483 * gdb.reverse/insn-reverse-x86.c: New file.
4484
4485 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
4486
4487 PR tdep/20936
4488 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
4489
4490 2017-02-03 Tom Tromey <tom@tromey.com>
4491
4492 PR rust/21097:
4493 * gdb.rust/simple.exp: Add new tests.
4494
4495 2017-02-02 Pedro Alves <palves@redhat.com>
4496
4497 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
4498 tests.
4499
4500 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
4501
4502 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
4503 taking a 2-byte value out of a 4-byte DWARF implicit value on
4504 big-endian targets.
4505 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
4506 logic. Add test cases for DW_OP_implicit.
4507
4508 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
4509
4510 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
4511
4512 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
4513
4514 * gdb.btrace/enable.exp: Call gdb_exit before
4515 skip_gdbserver_tests.
4516
4517 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
4518
4519 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
4520 GDBFLAGS.
4521
4522 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
4523
4524 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
4525 the test is skipped.
4526 * gdb.btrace/data.exp: Likewise.
4527 * gdb.btrace/delta.exp: Likewise.
4528 * gdb.btrace/dlopen.exp: Likewise.
4529 * gdb.btrace/enable-running.exp: Likewise.
4530 * gdb.btrace/enable.exp: Likewise.
4531 * gdb.btrace/exception.exp: Likewise.
4532 * gdb.btrace/function_call_history.exp: Likewise.
4533 * gdb.btrace/gcore.exp: Likewise.
4534 * gdb.btrace/instruction_history.exp: Likewise.
4535 * gdb.btrace/multi-thread-step.exp: Likewise.
4536 * gdb.btrace/nohist.exp: Likewise.
4537 * gdb.btrace/non-stop.exp: Likewise.
4538 * gdb.btrace/reconnect.exp: Likewise.
4539 * gdb.btrace/record_goto-step.exp: Likewise.
4540 * gdb.btrace/record_goto.exp: Likewise.
4541 * gdb.btrace/rn-dl-bind.exp: Likewise.
4542 * gdb.btrace/segv.exp: Likewise.
4543 * gdb.btrace/step.exp: Likewise.
4544 * gdb.btrace/stepi.exp: Likewise.
4545 * gdb.btrace/tailcall-only.exp: Likewise.
4546 * gdb.btrace/tailcall.exp: Likewise.
4547 * gdb.btrace/tsx.exp: Likewise.
4548 * gdb.btrace/unknown_functions.exp: Likewise.
4549 * gdb.btrace/vdso.exp: Likewise.
4550
4551 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
4552
4553 * gdb.btrace/enable-running.c: New.
4554 * gdb.btrace/enable-running.exp: New.
4555
4556 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
4557
4558 * gdb.arch/amd64-gs_base.c: New file.
4559 * gdb.arch/amd64-gs_base.exp: New file.
4560
4561 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
4562
4563 * lib/memory.exp: Remove spurious empty newlines.
4564
4565 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
4566
4567 * gdb.python/py-bad-printers.exp: Load python file using "source".
4568 * gdb.python/py-events.exp: Likewise.
4569 * gdb.python/py-evsignal.exp: Likewise.
4570 * gdb.python/py-evthreads.exp: Likewise.
4571 * gdb.python/py-frame-args.exp: Likewise.
4572 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
4573 * gdb.python/py-framefilter-mi.exp: Likewise.
4574 * gdb.python/py-framefilter.exp: Likewise.
4575 * gdb.python/py-mi.exp: Likewise.
4576 * gdb.python/py-pp-maint.exp: Likewise.
4577 * gdb.python/py-pp-registration.exp: Likewise.
4578 * gdb.python/py-prettyprint.exp: Likewise.
4579 (run_lang_tests): Likewise.
4580 * gdb.python/py-typeprint.exp: Likewise.
4581
4582 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
4583
4584 * lib/memory.exp: New file.
4585 * lib/gdb.exp: Load memory.exp.
4586 * gdb.base/memattr.exp (delete_memory): Move proc to
4587 lib/memory.exp and rename to delete_memory_regions.
4588 Replace delete_memory with delete_memory_regions.
4589 Cleanup memory regions before tests.
4590 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
4591 before tests.
4592
4593 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
4594
4595 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
4596 files.
4597 (initialize): New function conditionally defined.
4598 (testcases): Move within conditional block.
4599 (main): Call initialize.
4600 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
4601 of gdb.reverse/insn-reverse.c.
4602 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
4603 gdb.reverse/insn-reverse.c.
4604
4605 2017-01-26 Yao Qi <yao.qi@linaro.org>
4606
4607 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
4608 disassemble on address 0.
4609
4610 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
4611 Yao Qi <yao.qi@linaro.org>
4612
4613 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
4614 * gdb.dwarf2/implptr-64bit.S: Remove.
4615 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
4616 variables in caller's context. Add DW_OP_implicit_value.
4617
4618 2017-01-25 Yao Qi <yao.qi@linaro.org>
4619
4620 * lib/dwarf.exp (Dwarf::_location): Handle
4621 DW_OP_GNU_implicit_pointer with proper size.
4622
4623 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
4624
4625 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
4626 and add untested calls.
4627
4628 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
4629
4630 * gdb.python/python.exp: Check line number against what GDB thinks
4631 the line number is for func1.
4632
4633 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
4634
4635 * gdb.dlang/debug-expr.exp: New file.
4636
4637 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
4638
4639 Fix test names for the following files:
4640
4641 * gdb.ada/exec_changed.exp
4642 * gdb.ada/info_types.exp
4643 * gdb.arch/aarch64-atomic-inst.exp
4644 * gdb.arch/aarch64-fp.exp
4645 * gdb.arch/altivec-abi.exp
4646 * gdb.arch/altivec-regs.exp
4647 * gdb.arch/amd64-byte.exp
4648 * gdb.arch/amd64-disp-step.exp
4649 * gdb.arch/amd64-dword.exp
4650 * gdb.arch/amd64-entry-value-inline.exp
4651 * gdb.arch/amd64-entry-value-param.exp
4652 * gdb.arch/amd64-entry-value-paramref.exp
4653 * gdb.arch/amd64-entry-value.exp
4654 * gdb.arch/amd64-i386-address.exp
4655 * gdb.arch/amd64-invalid-stack-middle.exp
4656 * gdb.arch/amd64-invalid-stack-top.exp
4657 * gdb.arch/amd64-optimout-repeat.exp
4658 * gdb.arch/amd64-prologue-skip.exp
4659 * gdb.arch/amd64-prologue-xmm.exp
4660 * gdb.arch/amd64-stap-special-operands.exp
4661 * gdb.arch/amd64-stap-wrong-subexp.exp
4662 * gdb.arch/amd64-tailcall-cxx.exp
4663 * gdb.arch/amd64-tailcall-noret.exp
4664 * gdb.arch/amd64-tailcall-ret.exp
4665 * gdb.arch/amd64-tailcall-self.exp
4666 * gdb.arch/amd64-word.exp
4667 * gdb.arch/arm-bl-branch-dest.exp
4668 * gdb.arch/arm-disp-step.exp
4669 * gdb.arch/arm-neon.exp
4670 * gdb.arch/arm-single-step-kernel-helper.exp
4671 * gdb.arch/avr-flash-qualifier.exp
4672 * gdb.arch/disp-step-insn-reloc.exp
4673 * gdb.arch/e500-abi.exp
4674 * gdb.arch/e500-regs.exp
4675 * gdb.arch/ftrace-insn-reloc.exp
4676 * gdb.arch/i386-avx512.exp
4677 * gdb.arch/i386-bp_permanent.exp
4678 * gdb.arch/i386-byte.exp
4679 * gdb.arch/i386-cfi-notcurrent.exp
4680 * gdb.arch/i386-disp-step.exp
4681 * gdb.arch/i386-dr3-watch.exp
4682 * gdb.arch/i386-float.exp
4683 * gdb.arch/i386-gnu-cfi.exp
4684 * gdb.arch/i386-mpx-map.exp
4685 * gdb.arch/i386-mpx-sigsegv.exp
4686 * gdb.arch/i386-mpx-simple_segv.exp
4687 * gdb.arch/i386-mpx.exp
4688 * gdb.arch/i386-permbkpt.exp
4689 * gdb.arch/i386-prologue.exp
4690 * gdb.arch/i386-signal.exp
4691 * gdb.arch/i386-size-overlap.exp
4692 * gdb.arch/i386-unwind.exp
4693 * gdb.arch/i386-word.exp
4694 * gdb.arch/mips-fcr.exp
4695 * gdb.arch/powerpc-d128-regs.exp
4696 * gdb.arch/powerpc-stackless.exp
4697 * gdb.arch/ppc64-atomic-inst.exp
4698 * gdb.arch/s390-stackless.exp
4699 * gdb.arch/s390-tdbregs.exp
4700 * gdb.arch/s390-vregs.exp
4701 * gdb.arch/sparc-sysstep.exp
4702 * gdb.arch/thumb-bx-pc.exp
4703 * gdb.arch/thumb-singlestep.exp
4704 * gdb.arch/thumb2-it.exp
4705 * gdb.arch/vsx-regs.exp
4706 * gdb.asm/asm-source.exp
4707 * gdb.base/a2-run.exp
4708 * gdb.base/advance.exp
4709 * gdb.base/all-bin.exp
4710 * gdb.base/anon.exp
4711 * gdb.base/args.exp
4712 * gdb.base/arithmet.exp
4713 * gdb.base/async-shell.exp
4714 * gdb.base/async.exp
4715 * gdb.base/attach-pie-noexec.exp
4716 * gdb.base/attach-twice.exp
4717 * gdb.base/auto-load.exp
4718 * gdb.base/bang.exp
4719 * gdb.base/bitfields.exp
4720 * gdb.base/break-always.exp
4721 * gdb.base/break-caller-line.exp
4722 * gdb.base/break-entry.exp
4723 * gdb.base/break-inline.exp
4724 * gdb.base/break-on-linker-gcd-function.exp
4725 * gdb.base/break-probes.exp
4726 * gdb.base/break.exp
4727 * gdb.base/breakpoint-shadow.exp
4728 * gdb.base/call-ar-st.exp
4729 * gdb.base/call-sc.exp
4730 * gdb.base/call-signal-resume.exp
4731 * gdb.base/call-strs.exp
4732 * gdb.base/callfuncs.exp
4733 * gdb.base/catch-fork-static.exp
4734 * gdb.base/catch-gdb-caused-signals.exp
4735 * gdb.base/catch-load.exp
4736 * gdb.base/catch-signal-fork.exp
4737 * gdb.base/catch-signal.exp
4738 * gdb.base/catch-syscall.exp
4739 * gdb.base/charset.exp
4740 * gdb.base/checkpoint.exp
4741 * gdb.base/chng-syms.exp
4742 * gdb.base/code-expr.exp
4743 * gdb.base/code_elim.exp
4744 * gdb.base/commands.exp
4745 * gdb.base/completion.exp
4746 * gdb.base/complex.exp
4747 * gdb.base/cond-expr.exp
4748 * gdb.base/condbreak.exp
4749 * gdb.base/consecutive.exp
4750 * gdb.base/continue-all-already-running.exp
4751 * gdb.base/coredump-filter.exp
4752 * gdb.base/corefile.exp
4753 * gdb.base/dbx.exp
4754 * gdb.base/debug-expr.exp
4755 * gdb.base/define.exp
4756 * gdb.base/del.exp
4757 * gdb.base/disabled-location.exp
4758 * gdb.base/disasm-end-cu.exp
4759 * gdb.base/disasm-optim.exp
4760 * gdb.base/display.exp
4761 * gdb.base/duplicate-bp.exp
4762 * gdb.base/ena-dis-br.exp
4763 * gdb.base/ending-run.exp
4764 * gdb.base/enumval.exp
4765 * gdb.base/environ.exp
4766 * gdb.base/eu-strip-infcall.exp
4767 * gdb.base/eval-avoid-side-effects.exp
4768 * gdb.base/eval-skip.exp
4769 * gdb.base/exitsignal.exp
4770 * gdb.base/expand-psymtabs.exp
4771 * gdb.base/filesym.exp
4772 * gdb.base/find-unmapped.exp
4773 * gdb.base/finish.exp
4774 * gdb.base/float.exp
4775 * gdb.base/foll-exec-mode.exp
4776 * gdb.base/foll-exec.exp
4777 * gdb.base/foll-fork.exp
4778 * gdb.base/fortran-sym-case.exp
4779 * gdb.base/freebpcmd.exp
4780 * gdb.base/func-ptr.exp
4781 * gdb.base/func-ptrs.exp
4782 * gdb.base/funcargs.exp
4783 * gdb.base/gcore-buffer-overflow.exp
4784 * gdb.base/gcore-relro-pie.exp
4785 * gdb.base/gcore-relro.exp
4786 * gdb.base/gcore.exp
4787 * gdb.base/gdb1090.exp
4788 * gdb.base/gdb11530.exp
4789 * gdb.base/gdb11531.exp
4790 * gdb.base/gdb1821.exp
4791 * gdb.base/gdbindex-stabs.exp
4792 * gdb.base/gdbvars.exp
4793 * gdb.base/hbreak.exp
4794 * gdb.base/hbreak2.exp
4795 * gdb.base/included.exp
4796 * gdb.base/infcall-input.exp
4797 * gdb.base/inferior-died.exp
4798 * gdb.base/infnan.exp
4799 * gdb.base/info-macros.exp
4800 * gdb.base/info-os.exp
4801 * gdb.base/info-proc.exp
4802 * gdb.base/info-shared.exp
4803 * gdb.base/info-target.exp
4804 * gdb.base/infoline.exp
4805 * gdb.base/interp.exp
4806 * gdb.base/interrupt.exp
4807 * gdb.base/jit-reader.exp
4808 * gdb.base/jit-simple.exp
4809 * gdb.base/kill-after-signal.exp
4810 * gdb.base/kill-detach-inferiors-cmd.exp
4811 * gdb.base/label.exp
4812 * gdb.base/langs.exp
4813 * gdb.base/ldbl_e308.exp
4814 * gdb.base/line-symtabs.exp
4815 * gdb.base/linespecs.exp
4816 * gdb.base/list.exp
4817 * gdb.base/long_long.exp
4818 * gdb.base/longest-types.exp
4819 * gdb.base/maint.exp
4820 * gdb.base/max-value-size.exp
4821 * gdb.base/memattr.exp
4822 * gdb.base/mips_pro.exp
4823 * gdb.base/morestack.exp
4824 * gdb.base/moribund-step.exp
4825 * gdb.base/multi-forks.exp
4826 * gdb.base/nested-addr.exp
4827 * gdb.base/nextoverexit.exp
4828 * gdb.base/noreturn-finish.exp
4829 * gdb.base/noreturn-return.exp
4830 * gdb.base/nostdlib.exp
4831 * gdb.base/offsets.exp
4832 * gdb.base/opaque.exp
4833 * gdb.base/pc-fp.exp
4834 * gdb.base/permissions.exp
4835 * gdb.base/print-symbol-loading.exp
4836 * gdb.base/prologue-include.exp
4837 * gdb.base/psymtab.exp
4838 * gdb.base/ptype.exp
4839 * gdb.base/random-signal.exp
4840 * gdb.base/randomize.exp
4841 * gdb.base/range-stepping.exp
4842 * gdb.base/readline-ask.exp
4843 * gdb.base/recpar.exp
4844 * gdb.base/recurse.exp
4845 * gdb.base/relational.exp
4846 * gdb.base/restore.exp
4847 * gdb.base/return-nodebug.exp
4848 * gdb.base/return.exp
4849 * gdb.base/run-after-attach.exp
4850 * gdb.base/save-bp.exp
4851 * gdb.base/scope.exp
4852 * gdb.base/sect-cmd.exp
4853 * gdb.base/set-lang-auto.exp
4854 * gdb.base/set-noassign.exp
4855 * gdb.base/setvar.exp
4856 * gdb.base/sigall.exp
4857 * gdb.base/sigbpt.exp
4858 * gdb.base/siginfo-addr.exp
4859 * gdb.base/siginfo-infcall.exp
4860 * gdb.base/siginfo-obj.exp
4861 * gdb.base/siginfo.exp
4862 * gdb.base/signals-state-child.exp
4863 * gdb.base/signest.exp
4864 * gdb.base/sigstep.exp
4865 * gdb.base/sizeof.exp
4866 * gdb.base/skip.exp
4867 * gdb.base/solib-corrupted.exp
4868 * gdb.base/solib-nodir.exp
4869 * gdb.base/solib-search.exp
4870 * gdb.base/stack-checking.exp
4871 * gdb.base/stale-infcall.exp
4872 * gdb.base/stap-probe.exp
4873 * gdb.base/start.exp
4874 * gdb.base/step-break.exp
4875 * gdb.base/step-bt.exp
4876 * gdb.base/step-line.exp
4877 * gdb.base/step-over-exit.exp
4878 * gdb.base/step-over-syscall.exp
4879 * gdb.base/step-resume-infcall.exp
4880 * gdb.base/step-test.exp
4881 * gdb.base/store.exp
4882 * gdb.base/structs3.exp
4883 * gdb.base/sym-file.exp
4884 * gdb.base/symbol-without-target_section.exp
4885 * gdb.base/term.exp
4886 * gdb.base/testenv.exp
4887 * gdb.base/ui-redirect.exp
4888 * gdb.base/until.exp
4889 * gdb.base/unwindonsignal.exp
4890 * gdb.base/value-double-free.exp
4891 * gdb.base/vla-datatypes.exp
4892 * gdb.base/vla-ptr.exp
4893 * gdb.base/vla-sideeffect.exp
4894 * gdb.base/volatile.exp
4895 * gdb.base/watch-cond-infcall.exp
4896 * gdb.base/watch-cond.exp
4897 * gdb.base/watch-non-mem.exp
4898 * gdb.base/watch-read.exp
4899 * gdb.base/watch-vfork.exp
4900 * gdb.base/watchpoint-cond-gone.exp
4901 * gdb.base/watchpoint-delete.exp
4902 * gdb.base/watchpoint-hw-hit-once.exp
4903 * gdb.base/watchpoint-hw.exp
4904 * gdb.base/watchpoint-stops-at-right-insn.exp
4905 * gdb.base/watchpoints.exp
4906 * gdb.base/wchar.exp
4907 * gdb.base/whatis-exp.exp
4908 * gdb.btrace/buffer-size.exp
4909 * gdb.btrace/data.exp
4910 * gdb.btrace/delta.exp
4911 * gdb.btrace/dlopen.exp
4912 * gdb.btrace/enable.exp
4913 * gdb.btrace/exception.exp
4914 * gdb.btrace/function_call_history.exp
4915 * gdb.btrace/gcore.exp
4916 * gdb.btrace/instruction_history.exp
4917 * gdb.btrace/nohist.exp
4918 * gdb.btrace/reconnect.exp
4919 * gdb.btrace/record_goto-step.exp
4920 * gdb.btrace/record_goto.exp
4921 * gdb.btrace/rn-dl-bind.exp
4922 * gdb.btrace/segv.exp
4923 * gdb.btrace/step.exp
4924 * gdb.btrace/stepi.exp
4925 * gdb.btrace/tailcall-only.exp
4926 * gdb.btrace/tailcall.exp
4927 * gdb.btrace/tsx.exp
4928 * gdb.btrace/unknown_functions.exp
4929 * gdb.btrace/vdso.exp
4930 * gdb.compile/compile-ifunc.exp
4931 * gdb.compile/compile-ops.exp
4932 * gdb.compile/compile-print.exp
4933 * gdb.compile/compile-setjmp.exp
4934 * gdb.cp/abstract-origin.exp
4935 * gdb.cp/ambiguous.exp
4936 * gdb.cp/annota2.exp
4937 * gdb.cp/annota3.exp
4938 * gdb.cp/anon-ns.exp
4939 * gdb.cp/anon-struct.exp
4940 * gdb.cp/anon-union.exp
4941 * gdb.cp/arg-reference.exp
4942 * gdb.cp/baseenum.exp
4943 * gdb.cp/bool.exp
4944 * gdb.cp/breakpoint.exp
4945 * gdb.cp/bs15503.exp
4946 * gdb.cp/call-c.exp
4947 * gdb.cp/casts.exp
4948 * gdb.cp/chained-calls.exp
4949 * gdb.cp/class2.exp
4950 * gdb.cp/classes.exp
4951 * gdb.cp/cmpd-minsyms.exp
4952 * gdb.cp/converts.exp
4953 * gdb.cp/cp-relocate.exp
4954 * gdb.cp/cpcompletion.exp
4955 * gdb.cp/cpexprs.exp
4956 * gdb.cp/cplabel.exp
4957 * gdb.cp/cplusfuncs.exp
4958 * gdb.cp/cpsizeof.exp
4959 * gdb.cp/ctti.exp
4960 * gdb.cp/derivation.exp
4961 * gdb.cp/destrprint.exp
4962 * gdb.cp/dispcxx.exp
4963 * gdb.cp/enum-class.exp
4964 * gdb.cp/exception.exp
4965 * gdb.cp/exceptprint.exp
4966 * gdb.cp/expand-psymtabs-cxx.exp
4967 * gdb.cp/expand-sals.exp
4968 * gdb.cp/extern-c.exp
4969 * gdb.cp/filename.exp
4970 * gdb.cp/formatted-ref.exp
4971 * gdb.cp/fpointer.exp
4972 * gdb.cp/gdb1355.exp
4973 * gdb.cp/gdb2495.exp
4974 * gdb.cp/hang.exp
4975 * gdb.cp/impl-this.exp
4976 * gdb.cp/infcall-dlopen.exp
4977 * gdb.cp/inherit.exp
4978 * gdb.cp/iostream.exp
4979 * gdb.cp/koenig.exp
4980 * gdb.cp/local.exp
4981 * gdb.cp/m-data.exp
4982 * gdb.cp/m-static.exp
4983 * gdb.cp/mb-ctor.exp
4984 * gdb.cp/mb-inline.exp
4985 * gdb.cp/mb-templates.exp
4986 * gdb.cp/member-name.exp
4987 * gdb.cp/member-ptr.exp
4988 * gdb.cp/meth-typedefs.exp
4989 * gdb.cp/method.exp
4990 * gdb.cp/method2.exp
4991 * gdb.cp/minsym-fallback.exp
4992 * gdb.cp/misc.exp
4993 * gdb.cp/namelessclass.exp
4994 * gdb.cp/namespace-enum.exp
4995 * gdb.cp/namespace-nested-import.exp
4996 * gdb.cp/namespace.exp
4997 * gdb.cp/nextoverthrow.exp
4998 * gdb.cp/no-dmgl-verbose.exp
4999 * gdb.cp/non-trivial-retval.exp
5000 * gdb.cp/noparam.exp
5001 * gdb.cp/nsdecl.exp
5002 * gdb.cp/nsimport.exp
5003 * gdb.cp/nsnested.exp
5004 * gdb.cp/nsnoimports.exp
5005 * gdb.cp/nsrecurs.exp
5006 * gdb.cp/nsstress.exp
5007 * gdb.cp/nsusing.exp
5008 * gdb.cp/operator.exp
5009 * gdb.cp/oranking.exp
5010 * gdb.cp/overload-const.exp
5011 * gdb.cp/overload.exp
5012 * gdb.cp/ovldbreak.exp
5013 * gdb.cp/ovsrch.exp
5014 * gdb.cp/paren-type.exp
5015 * gdb.cp/parse-lang.exp
5016 * gdb.cp/pass-by-ref.exp
5017 * gdb.cp/pr-1023.exp
5018 * gdb.cp/pr-1210.exp
5019 * gdb.cp/pr-574.exp
5020 * gdb.cp/pr10687.exp
5021 * gdb.cp/pr12028.exp
5022 * gdb.cp/pr17132.exp
5023 * gdb.cp/pr17494.exp
5024 * gdb.cp/pr9067.exp
5025 * gdb.cp/pr9167.exp
5026 * gdb.cp/pr9631.exp
5027 * gdb.cp/printmethod.exp
5028 * gdb.cp/psmang.exp
5029 * gdb.cp/psymtab-parameter.exp
5030 * gdb.cp/ptype-cv-cp.exp
5031 * gdb.cp/ptype-flags.exp
5032 * gdb.cp/re-set-overloaded.exp
5033 * gdb.cp/ref-types.exp
5034 * gdb.cp/rtti.exp
5035 * gdb.cp/scope-err.exp
5036 * gdb.cp/shadow.exp
5037 * gdb.cp/smartp.exp
5038 * gdb.cp/static-method.exp
5039 * gdb.cp/static-print-quit.exp
5040 * gdb.cp/temargs.exp
5041 * gdb.cp/templates.exp
5042 * gdb.cp/try_catch.exp
5043 * gdb.cp/typedef-operator.exp
5044 * gdb.cp/typeid.exp
5045 * gdb.cp/userdef.exp
5046 * gdb.cp/using-crash.exp
5047 * gdb.cp/var-tag.exp
5048 * gdb.cp/virtbase.exp
5049 * gdb.cp/virtfunc.exp
5050 * gdb.cp/virtfunc2.exp
5051 * gdb.cp/vla-cxx.exp
5052 * gdb.disasm/t01_mov.exp
5053 * gdb.disasm/t02_mova.exp
5054 * gdb.disasm/t03_add.exp
5055 * gdb.disasm/t04_sub.exp
5056 * gdb.disasm/t05_cmp.exp
5057 * gdb.disasm/t06_ari2.exp
5058 * gdb.disasm/t07_ari3.exp
5059 * gdb.disasm/t08_or.exp
5060 * gdb.disasm/t09_xor.exp
5061 * gdb.disasm/t10_and.exp
5062 * gdb.disasm/t11_logs.exp
5063 * gdb.disasm/t12_bit.exp
5064 * gdb.disasm/t13_otr.exp
5065 * gdb.dlang/circular.exp
5066 * gdb.dwarf2/arr-stride.exp
5067 * gdb.dwarf2/arr-subrange.exp
5068 * gdb.dwarf2/atomic-type.exp
5069 * gdb.dwarf2/bad-regnum.exp
5070 * gdb.dwarf2/bitfield-parent-optimized-out.exp
5071 * gdb.dwarf2/callframecfa.exp
5072 * gdb.dwarf2/clztest.exp
5073 * gdb.dwarf2/corrupt.exp
5074 * gdb.dwarf2/data-loc.exp
5075 * gdb.dwarf2/dup-psym.exp
5076 * gdb.dwarf2/dw2-anon-mptr.exp
5077 * gdb.dwarf2/dw2-anonymous-func.exp
5078 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
5079 * gdb.dwarf2/dw2-bad-unresolved.exp
5080 * gdb.dwarf2/dw2-basic.exp
5081 * gdb.dwarf2/dw2-canonicalize-type.exp
5082 * gdb.dwarf2/dw2-case-insensitive.exp
5083 * gdb.dwarf2/dw2-common-block.exp
5084 * gdb.dwarf2/dw2-compdir-oldgcc.exp
5085 * gdb.dwarf2/dw2-compressed.exp
5086 * gdb.dwarf2/dw2-const.exp
5087 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
5088 * gdb.dwarf2/dw2-cu-size.exp
5089 * gdb.dwarf2/dw2-dup-frame.exp
5090 * gdb.dwarf2/dw2-entry-value.exp
5091 * gdb.dwarf2/dw2-icycle.exp
5092 * gdb.dwarf2/dw2-ifort-parameter.exp
5093 * gdb.dwarf2/dw2-inline-break.exp
5094 * gdb.dwarf2/dw2-inline-param.exp
5095 * gdb.dwarf2/dw2-intercu.exp
5096 * gdb.dwarf2/dw2-intermix.exp
5097 * gdb.dwarf2/dw2-lexical-block-bare.exp
5098 * gdb.dwarf2/dw2-linkage-name-trust.exp
5099 * gdb.dwarf2/dw2-minsym-in-cu.exp
5100 * gdb.dwarf2/dw2-noloc.exp
5101 * gdb.dwarf2/dw2-op-call.exp
5102 * gdb.dwarf2/dw2-op-out-param.exp
5103 * gdb.dwarf2/dw2-opt-structptr.exp
5104 * gdb.dwarf2/dw2-param-error.exp
5105 * gdb.dwarf2/dw2-producer.exp
5106 * gdb.dwarf2/dw2-ranges-base.exp
5107 * gdb.dwarf2/dw2-ref-missing-frame.exp
5108 * gdb.dwarf2/dw2-reg-undefined.exp
5109 * gdb.dwarf2/dw2-regno-invalid.exp
5110 * gdb.dwarf2/dw2-restore.exp
5111 * gdb.dwarf2/dw2-restrict.exp
5112 * gdb.dwarf2/dw2-single-line-discriminators.exp
5113 * gdb.dwarf2/dw2-strp.exp
5114 * gdb.dwarf2/dw2-undefined-ret-addr.exp
5115 * gdb.dwarf2/dw2-unresolved.exp
5116 * gdb.dwarf2/dw2-var-zero-addr.exp
5117 * gdb.dwarf2/dw4-sig-types.exp
5118 * gdb.dwarf2/dwz.exp
5119 * gdb.dwarf2/dynarr-ptr.exp
5120 * gdb.dwarf2/enum-type.exp
5121 * gdb.dwarf2/gdb-index.exp
5122 * gdb.dwarf2/implptr-64bit.exp
5123 * gdb.dwarf2/implptr-optimized-out.exp
5124 * gdb.dwarf2/implptr.exp
5125 * gdb.dwarf2/implref-array.exp
5126 * gdb.dwarf2/implref-const.exp
5127 * gdb.dwarf2/implref-global.exp
5128 * gdb.dwarf2/implref-struct.exp
5129 * gdb.dwarf2/mac-fileno.exp
5130 * gdb.dwarf2/main-subprogram.exp
5131 * gdb.dwarf2/member-ptr-forwardref.exp
5132 * gdb.dwarf2/method-ptr.exp
5133 * gdb.dwarf2/missing-sig-type.exp
5134 * gdb.dwarf2/nonvar-access.exp
5135 * gdb.dwarf2/opaque-type-lookup.exp
5136 * gdb.dwarf2/pieces-optimized-out.exp
5137 * gdb.dwarf2/pieces.exp
5138 * gdb.dwarf2/pr10770.exp
5139 * gdb.dwarf2/pr13961.exp
5140 * gdb.dwarf2/staticvirtual.exp
5141 * gdb.dwarf2/subrange.exp
5142 * gdb.dwarf2/symtab-producer.exp
5143 * gdb.dwarf2/trace-crash.exp
5144 * gdb.dwarf2/typeddwarf.exp
5145 * gdb.dwarf2/valop.exp
5146 * gdb.dwarf2/watch-notconst.exp
5147 * gdb.fortran/array-element.exp
5148 * gdb.fortran/charset.exp
5149 * gdb.fortran/common-block.exp
5150 * gdb.fortran/complex.exp
5151 * gdb.fortran/derived-type-function.exp
5152 * gdb.fortran/derived-type.exp
5153 * gdb.fortran/logical.exp
5154 * gdb.fortran/module.exp
5155 * gdb.fortran/multi-dim.exp
5156 * gdb.fortran/nested-funcs.exp
5157 * gdb.fortran/print-formatted.exp
5158 * gdb.fortran/subarray.exp
5159 * gdb.fortran/vla-alloc-assoc.exp
5160 * gdb.fortran/vla-datatypes.exp
5161 * gdb.fortran/vla-history.exp
5162 * gdb.fortran/vla-ptr-info.exp
5163 * gdb.fortran/vla-ptype-sub.exp
5164 * gdb.fortran/vla-ptype.exp
5165 * gdb.fortran/vla-sizeof.exp
5166 * gdb.fortran/vla-type.exp
5167 * gdb.fortran/vla-value-sub-arbitrary.exp
5168 * gdb.fortran/vla-value-sub-finish.exp
5169 * gdb.fortran/vla-value-sub.exp
5170 * gdb.fortran/vla-value.exp
5171 * gdb.fortran/whatis_type.exp
5172 * gdb.go/chan.exp
5173 * gdb.go/handcall.exp
5174 * gdb.go/hello.exp
5175 * gdb.go/integers.exp
5176 * gdb.go/methods.exp
5177 * gdb.go/package.exp
5178 * gdb.go/strings.exp
5179 * gdb.go/types.exp
5180 * gdb.go/unsafe.exp
5181 * gdb.guile/scm-arch.exp
5182 * gdb.guile/scm-block.exp
5183 * gdb.guile/scm-breakpoint.exp
5184 * gdb.guile/scm-cmd.exp
5185 * gdb.guile/scm-disasm.exp
5186 * gdb.guile/scm-equal.exp
5187 * gdb.guile/scm-frame-args.exp
5188 * gdb.guile/scm-frame-inline.exp
5189 * gdb.guile/scm-frame.exp
5190 * gdb.guile/scm-iterator.exp
5191 * gdb.guile/scm-math.exp
5192 * gdb.guile/scm-objfile.exp
5193 * gdb.guile/scm-ports.exp
5194 * gdb.guile/scm-symbol.exp
5195 * gdb.guile/scm-symtab.exp
5196 * gdb.guile/scm-value-cc.exp
5197 * gdb.guile/types-module.exp
5198 * gdb.linespec/break-ask.exp
5199 * gdb.linespec/cpexplicit.exp
5200 * gdb.linespec/explicit.exp
5201 * gdb.linespec/keywords.exp
5202 * gdb.linespec/linespec.exp
5203 * gdb.linespec/ls-dollar.exp
5204 * gdb.linespec/ls-errs.exp
5205 * gdb.linespec/skip-two.exp
5206 * gdb.linespec/thread.exp
5207 * gdb.mi/mi-async.exp
5208 * gdb.mi/mi-basics.exp
5209 * gdb.mi/mi-break.exp
5210 * gdb.mi/mi-catch-load.exp
5211 * gdb.mi/mi-cli.exp
5212 * gdb.mi/mi-cmd-param-changed.exp
5213 * gdb.mi/mi-console.exp
5214 * gdb.mi/mi-detach.exp
5215 * gdb.mi/mi-disassemble.exp
5216 * gdb.mi/mi-eval.exp
5217 * gdb.mi/mi-file-transfer.exp
5218 * gdb.mi/mi-file.exp
5219 * gdb.mi/mi-fill-memory.exp
5220 * gdb.mi/mi-inheritance-syntax-error.exp
5221 * gdb.mi/mi-linespec-err-cp.exp
5222 * gdb.mi/mi-logging.exp
5223 * gdb.mi/mi-memory-changed.exp
5224 * gdb.mi/mi-read-memory.exp
5225 * gdb.mi/mi-record-changed.exp
5226 * gdb.mi/mi-reg-undefined.exp
5227 * gdb.mi/mi-regs.exp
5228 * gdb.mi/mi-return.exp
5229 * gdb.mi/mi-reverse.exp
5230 * gdb.mi/mi-simplerun.exp
5231 * gdb.mi/mi-solib.exp
5232 * gdb.mi/mi-stack.exp
5233 * gdb.mi/mi-stepi.exp
5234 * gdb.mi/mi-syn-frame.exp
5235 * gdb.mi/mi-until.exp
5236 * gdb.mi/mi-var-block.exp
5237 * gdb.mi/mi-var-child.exp
5238 * gdb.mi/mi-var-cmd.exp
5239 * gdb.mi/mi-var-cp.exp
5240 * gdb.mi/mi-var-display.exp
5241 * gdb.mi/mi-var-invalidate.exp
5242 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
5243 * gdb.mi/mi-vla-fortran.exp
5244 * gdb.mi/mi-watch.exp
5245 * gdb.mi/mi2-var-child.exp
5246 * gdb.mi/user-selected-context-sync.exp
5247 * gdb.modula2/unbounded-array.exp
5248 * gdb.multi/dummy-frame-restore.exp
5249 * gdb.multi/multi-arch-exec.exp
5250 * gdb.multi/multi-arch.exp
5251 * gdb.multi/tids.exp
5252 * gdb.multi/watchpoint-multi.exp
5253 * gdb.opencl/callfuncs.exp
5254 * gdb.opencl/convs_casts.exp
5255 * gdb.opencl/datatypes.exp
5256 * gdb.opencl/operators.exp
5257 * gdb.opencl/vec_comps.exp
5258 * gdb.opt/clobbered-registers-O2.exp
5259 * gdb.opt/inline-break.exp
5260 * gdb.opt/inline-bt.exp
5261 * gdb.opt/inline-cmds.exp
5262 * gdb.opt/inline-locals.exp
5263 * gdb.pascal/case-insensitive-symbols.exp
5264 * gdb.pascal/floats.exp
5265 * gdb.pascal/gdb11492.exp
5266 * gdb.python/lib-types.exp
5267 * gdb.python/py-arch.exp
5268 * gdb.python/py-as-string.exp
5269 * gdb.python/py-bad-printers.exp
5270 * gdb.python/py-block.exp
5271 * gdb.python/py-breakpoint-create-fail.exp
5272 * gdb.python/py-breakpoint.exp
5273 * gdb.python/py-caller-is.exp
5274 * gdb.python/py-cmd.exp
5275 * gdb.python/py-explore-cc.exp
5276 * gdb.python/py-explore.exp
5277 * gdb.python/py-finish-breakpoint.exp
5278 * gdb.python/py-finish-breakpoint2.exp
5279 * gdb.python/py-frame-args.exp
5280 * gdb.python/py-frame-inline.exp
5281 * gdb.python/py-frame.exp
5282 * gdb.python/py-framefilter-mi.exp
5283 * gdb.python/py-infthread.exp
5284 * gdb.python/py-lazy-string.exp
5285 * gdb.python/py-linetable.exp
5286 * gdb.python/py-mi-events.exp
5287 * gdb.python/py-mi-objfile.exp
5288 * gdb.python/py-mi.exp
5289 * gdb.python/py-objfile.exp
5290 * gdb.python/py-pp-integral.exp
5291 * gdb.python/py-pp-maint.exp
5292 * gdb.python/py-pp-re-notag.exp
5293 * gdb.python/py-pp-registration.exp
5294 * gdb.python/py-recurse-unwind.exp
5295 * gdb.python/py-strfns.exp
5296 * gdb.python/py-symbol.exp
5297 * gdb.python/py-symtab.exp
5298 * gdb.python/py-sync-interp.exp
5299 * gdb.python/py-typeprint.exp
5300 * gdb.python/py-unwind-maint.exp
5301 * gdb.python/py-unwind.exp
5302 * gdb.python/py-value-cc.exp
5303 * gdb.python/py-xmethods.exp
5304 * gdb.reverse/amd64-tailcall-reverse.exp
5305 * gdb.reverse/break-precsave.exp
5306 * gdb.reverse/break-reverse.exp
5307 * gdb.reverse/consecutive-precsave.exp
5308 * gdb.reverse/consecutive-reverse.exp
5309 * gdb.reverse/finish-precsave.exp
5310 * gdb.reverse/finish-reverse-bkpt.exp
5311 * gdb.reverse/finish-reverse.exp
5312 * gdb.reverse/fstatat-reverse.exp
5313 * gdb.reverse/getresuid-reverse.exp
5314 * gdb.reverse/i386-precsave.exp
5315 * gdb.reverse/i386-reverse.exp
5316 * gdb.reverse/i386-sse-reverse.exp
5317 * gdb.reverse/i387-env-reverse.exp
5318 * gdb.reverse/i387-stack-reverse.exp
5319 * gdb.reverse/insn-reverse.exp
5320 * gdb.reverse/machinestate-precsave.exp
5321 * gdb.reverse/machinestate.exp
5322 * gdb.reverse/next-reverse-bkpt-over-sr.exp
5323 * gdb.reverse/pipe-reverse.exp
5324 * gdb.reverse/readv-reverse.exp
5325 * gdb.reverse/recvmsg-reverse.exp
5326 * gdb.reverse/rerun-prec.exp
5327 * gdb.reverse/s390-mvcle.exp
5328 * gdb.reverse/step-precsave.exp
5329 * gdb.reverse/step-reverse.exp
5330 * gdb.reverse/time-reverse.exp
5331 * gdb.reverse/until-precsave.exp
5332 * gdb.reverse/until-reverse.exp
5333 * gdb.reverse/waitpid-reverse.exp
5334 * gdb.reverse/watch-precsave.exp
5335 * gdb.reverse/watch-reverse.exp
5336 * gdb.rust/generics.exp
5337 * gdb.rust/methods.exp
5338 * gdb.rust/modules.exp
5339 * gdb.rust/simple.exp
5340 * gdb.server/connect-with-no-symbol-file.exp
5341 * gdb.server/ext-attach.exp
5342 * gdb.server/ext-restart.exp
5343 * gdb.server/ext-wrapper.exp
5344 * gdb.server/file-transfer.exp
5345 * gdb.server/server-exec-info.exp
5346 * gdb.server/server-kill.exp
5347 * gdb.server/server-mon.exp
5348 * gdb.server/wrapper.exp
5349 * gdb.stabs/exclfwd.exp
5350 * gdb.stabs/gdb11479.exp
5351 * gdb.threads/clone-new-thread-event.exp
5352 * gdb.threads/corethreads.exp
5353 * gdb.threads/current-lwp-dead.exp
5354 * gdb.threads/dlopen-libpthread.exp
5355 * gdb.threads/gcore-thread.exp
5356 * gdb.threads/sigstep-threads.exp
5357 * gdb.threads/watchpoint-fork.exp
5358 * gdb.trace/actions-changed.exp
5359 * gdb.trace/backtrace.exp
5360 * gdb.trace/change-loc.exp
5361 * gdb.trace/circ.exp
5362 * gdb.trace/collection.exp
5363 * gdb.trace/disconnected-tracing.exp
5364 * gdb.trace/ftrace.exp
5365 * gdb.trace/mi-trace-frame-collected.exp
5366 * gdb.trace/mi-trace-unavailable.exp
5367 * gdb.trace/mi-traceframe-changed.exp
5368 * gdb.trace/mi-tsv-changed.exp
5369 * gdb.trace/no-attach-trace.exp
5370 * gdb.trace/passc-dyn.exp
5371 * gdb.trace/qtro.exp
5372 * gdb.trace/range-stepping.exp
5373 * gdb.trace/read-memory.exp
5374 * gdb.trace/save-trace.exp
5375 * gdb.trace/signal.exp
5376 * gdb.trace/status-stop.exp
5377 * gdb.trace/tfile.exp
5378 * gdb.trace/trace-break.exp
5379 * gdb.trace/trace-buffer-size.exp
5380 * gdb.trace/trace-condition.exp
5381 * gdb.trace/tracefile-pseudo-reg.exp
5382 * gdb.trace/tstatus.exp
5383 * gdb.trace/unavailable.exp
5384 * gdb.trace/while-dyn.exp
5385 * gdb.trace/while-stepping.exp
5386
5387 2016-12-22 Doug Evans <xdje42@gmail.com>
5388
5389 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
5390 and msymbols.
5391
5392 2016-12-19 Yao Qi <yao.qi@linaro.org>
5393
5394 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
5395 (test_with_self): Don't call do_steps_and_nexts, and remove
5396 code about stepping into xmalloc.
5397
5398 2016-12-09 Yao Qi <yao.qi@linaro.org>
5399
5400 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
5401
5402 2016-12-09 Yao Qi <yao.qi@linaro.org>
5403
5404 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
5405
5406 2016-12-09 Pedro Alves <palves@redhat.com>
5407
5408 * gdb.base/all-architectures-0.exp: New file.
5409 * gdb.base/all-architectures-1.exp: New file.
5410 * gdb.base/all-architectures-2.exp: New file.
5411 * gdb.base/all-architectures-3.exp: New file.
5412 * gdb.base/all-architectures-4.exp: New file.
5413 * gdb.base/all-architectures-5.exp: New file.
5414 * gdb.base/all-architectures-6.exp: New file.
5415 * gdb.base/all-architectures-7.exp: New file.
5416 * gdb.base/all-architectures.exp.in: New file.
5417
5418 2016-12-09 Yao Qi <yao.qi@linaro.org>
5419
5420 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
5421
5422 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
5423
5424 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
5425 possible.
5426 Remove useless pattern-matching code.
5427
5428 2016-12-02 Pedro Alves <palves@redhat.com>
5429
5430 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
5431 procedure.
5432 (top level): Call it.
5433
5434 2016-12-02 Pedro Alves <palves@redhat.com>
5435
5436 * gdb.base/commands.exp (user_defined_command_args_stack_test):
5437 New procedure.
5438 (top level): Call it.
5439
5440 2016-12-02 Pedro Alves <palves@redhat.com>
5441
5442 PR cli/20559
5443 * gdb.base/commands.exp (user_defined_command_args_eval): New
5444 procedure.
5445 (top level): Call it.
5446
5447 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
5448
5449 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
5450 timeout handling.
5451
5452 2016-12-02 Tom Tromey <tom@tromey.com>
5453
5454 * gdb.dwarf2/main-subprogram.c: New file.
5455 * gdb.dwarf2/main-subprogram.exp: New file.
5456
5457 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
5458
5459 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
5460 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
5461 gdb_test_no_output for a couple of cases.
5462 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
5463
5464 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
5465
5466 Fix test names and standardize compilation error messages throughout
5467 the following files:
5468
5469 * gdb.ada/start.exp
5470 * gdb.arch/alpha-step.exp
5471 * gdb.arch/e500-prologue.exp
5472 * gdb.arch/ftrace-insn-reloc.exp
5473 * gdb.arch/gdb1291.exp
5474 * gdb.arch/gdb1431.exp
5475 * gdb.arch/gdb1558.exp
5476 * gdb.arch/i386-dr3-watch.exp
5477 * gdb.arch/i386-sse-stack-align.exp
5478 * gdb.arch/ia64-breakpoint-shadow.exp
5479 * gdb.arch/pa-nullify.exp
5480 * gdb.arch/powerpc-aix-prologue.exp
5481 * gdb.arch/thumb-bx-pc.exp
5482 * gdb.base/annota1.exp
5483 * gdb.base/annota3.exp
5484 * gdb.base/arrayidx.exp
5485 * gdb.base/assign.exp
5486 * gdb.base/attach.exp
5487 * gdb.base/auxv.exp
5488 * gdb.base/bang.exp
5489 * gdb.base/bfp-test.exp
5490 * gdb.base/bigcore.exp
5491 * gdb.base/bitfields2.exp
5492 * gdb.base/break-fun-addr.exp
5493 * gdb.base/break-probes.exp
5494 * gdb.base/call-rt-st.exp
5495 * gdb.base/callexit.exp
5496 * gdb.base/catch-fork-kill.exp
5497 * gdb.base/charset.exp
5498 * gdb.base/checkpoint.exp
5499 * gdb.base/comprdebug.exp
5500 * gdb.base/constvars.exp
5501 * gdb.base/coredump-filter.exp
5502 * gdb.base/cursal.exp
5503 * gdb.base/cvexpr.exp
5504 * gdb.base/detach.exp
5505 * gdb.base/display.exp
5506 * gdb.base/dmsym.exp
5507 * gdb.base/dprintf-pending.exp
5508 * gdb.base/dso2dso.exp
5509 * gdb.base/dtrace-probe.exp
5510 * gdb.base/dump.exp
5511 * gdb.base/enum_cond.exp
5512 * gdb.base/exe-lock.exp
5513 * gdb.base/exec-invalid-sysroot.exp
5514 * gdb.base/execl-update-breakpoints.exp
5515 * gdb.base/exprs.exp
5516 * gdb.base/fileio.exp
5517 * gdb.base/find.exp
5518 * gdb.base/finish.exp
5519 * gdb.base/fixsection.exp
5520 * gdb.base/foll-vfork.exp
5521 * gdb.base/frame-args.exp
5522 * gdb.base/gcore.exp
5523 * gdb.base/gdb1250.exp
5524 * gdb.base/global-var-nested-by-dso.exp
5525 * gdb.base/gnu-ifunc.exp
5526 * gdb.base/hashline1.exp
5527 * gdb.base/hashline2.exp
5528 * gdb.base/hashline3.exp
5529 * gdb.base/hbreak-in-shr-unsupported.exp
5530 * gdb.base/huge.exp
5531 * gdb.base/infcall-input.exp
5532 * gdb.base/info-fun.exp
5533 * gdb.base/info-shared.exp
5534 * gdb.base/jit-simple.exp
5535 * gdb.base/jit-so.exp
5536 * gdb.base/jit.exp
5537 * gdb.base/jump.exp
5538 * gdb.base/label.exp
5539 * gdb.base/lineinc.exp
5540 * gdb.base/logical.exp
5541 * gdb.base/longjmp.exp
5542 * gdb.base/macscp.exp
5543 * gdb.base/miscexprs.exp
5544 * gdb.base/new-ui-echo.exp
5545 * gdb.base/new-ui-pending-input.exp
5546 * gdb.base/new-ui.exp
5547 * gdb.base/nodebug.exp
5548 * gdb.base/nofield.exp
5549 * gdb.base/offsets.exp
5550 * gdb.base/overlays.exp
5551 * gdb.base/pending.exp
5552 * gdb.base/pointers.exp
5553 * gdb.base/pr11022.exp
5554 * gdb.base/printcmds.exp
5555 * gdb.base/prologue.exp
5556 * gdb.base/ptr-typedef.exp
5557 * gdb.base/realname-expand.exp
5558 * gdb.base/relativedebug.exp
5559 * gdb.base/relocate.exp
5560 * gdb.base/remote.exp
5561 * gdb.base/reread.exp
5562 * gdb.base/return2.exp
5563 * gdb.base/savedregs.exp
5564 * gdb.base/sep.exp
5565 * gdb.base/sepdebug.exp
5566 * gdb.base/sepsymtab.exp
5567 * gdb.base/set-inferior-tty.exp
5568 * gdb.base/setshow.exp
5569 * gdb.base/shlib-call.exp
5570 * gdb.base/sigaltstack.exp
5571 * gdb.base/siginfo-addr.exp
5572 * gdb.base/signals.exp
5573 * gdb.base/signull.exp
5574 * gdb.base/sigrepeat.exp
5575 * gdb.base/so-impl-ld.exp
5576 * gdb.base/solib-display.exp
5577 * gdb.base/solib-overlap.exp
5578 * gdb.base/solib-search.exp
5579 * gdb.base/solib-symbol.exp
5580 * gdb.base/structs.exp
5581 * gdb.base/structs2.exp
5582 * gdb.base/symtab-search-order.exp
5583 * gdb.base/twice.exp
5584 * gdb.base/unload.exp
5585 * gdb.base/varargs.exp
5586 * gdb.base/watchpoint-solib.exp
5587 * gdb.base/watchpoint.exp
5588 * gdb.base/whatis.exp
5589 * gdb.base/wrong_frame_bt_full.exp
5590 * gdb.btrace/dlopen.exp
5591 * gdb.cell/ea-standalone.exp
5592 * gdb.cell/ea-test.exp
5593 * gdb.cp/dispcxx.exp
5594 * gdb.cp/gdb2384.exp
5595 * gdb.cp/method2.exp
5596 * gdb.cp/nextoverthrow.exp
5597 * gdb.cp/pr10728.exp
5598 * gdb.disasm/am33.exp
5599 * gdb.disasm/h8300s.exp
5600 * gdb.disasm/mn10300.exp
5601 * gdb.disasm/sh3.exp
5602 * gdb.dwarf2/dw2-dir-file-name.exp
5603 * gdb.fortran/complex.exp
5604 * gdb.fortran/library-module.exp
5605 * gdb.guile/scm-pretty-print.exp
5606 * gdb.guile/scm-symbol.exp
5607 * gdb.guile/scm-type.exp
5608 * gdb.guile/scm-value.exp
5609 * gdb.linespec/linespec.exp
5610 * gdb.mi/gdb701.exp
5611 * gdb.mi/gdb792.exp
5612 * gdb.mi/mi-breakpoint-changed.exp
5613 * gdb.mi/mi-dprintf-pending.exp
5614 * gdb.mi/mi-dprintf.exp
5615 * gdb.mi/mi-exit-code.exp
5616 * gdb.mi/mi-pending.exp
5617 * gdb.mi/mi-solib.exp
5618 * gdb.mi/new-ui-mi-sync.exp
5619 * gdb.mi/pr11022.exp
5620 * gdb.mi/user-selected-context-sync.exp
5621 * gdb.opt/solib-intra-step.exp
5622 * gdb.python/py-events.exp
5623 * gdb.python/py-finish-breakpoint.exp
5624 * gdb.python/py-mi.exp
5625 * gdb.python/py-prettyprint.exp
5626 * gdb.python/py-shared.exp
5627 * gdb.python/py-symbol.exp
5628 * gdb.python/py-template.exp
5629 * gdb.python/py-type.exp
5630 * gdb.python/py-value.exp
5631 * gdb.reverse/solib-precsave.exp
5632 * gdb.reverse/solib-reverse.exp
5633 * gdb.server/solib-list.exp
5634 * gdb.stabs/weird.exp
5635 * gdb.threads/reconnect-signal.exp
5636 * gdb.threads/stepi-random-signal.exp
5637 * gdb.trace/actions.exp
5638 * gdb.trace/ax.exp
5639 * gdb.trace/backtrace.exp
5640 * gdb.trace/change-loc.exp
5641 * gdb.trace/deltrace.exp
5642 * gdb.trace/ftrace-lock.exp
5643 * gdb.trace/ftrace.exp
5644 * gdb.trace/infotrace.exp
5645 * gdb.trace/mi-tracepoint-changed.exp
5646 * gdb.trace/packetlen.exp
5647 * gdb.trace/passcount.exp
5648 * gdb.trace/pending.exp
5649 * gdb.trace/range-stepping.exp
5650 * gdb.trace/report.exp
5651 * gdb.trace/stap-trace.exp
5652 * gdb.trace/tfind.exp
5653 * gdb.trace/trace-break.exp
5654 * gdb.trace/trace-condition.exp
5655 * gdb.trace/trace-enable-disable.exp
5656 * gdb.trace/trace-mt.exp
5657 * gdb.trace/tracecmd.exp
5658 * gdb.trace/tspeed.exp
5659 * gdb.trace/tsv.exp
5660 * lib/perftest.exp
5661
5662 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
5663
5664 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
5665 with gdb_test_no_output.
5666 Use command as test name.
5667
5668 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
5669
5670 Fix test names starting with uppercase throughout the files.
5671
5672 * gdb.ada/assign_1.exp
5673 * gdb.ada/boolean_expr.exp
5674 * gdb.base/arrayidx.exp
5675 * gdb.base/del.exp
5676 * gdb.base/gcore-buffer-overflow.exp
5677 * gdb.base/testenv.exp
5678 * gdb.compile/compile.exp
5679 * gdb.python/py-framefilter-invalidarg.exp
5680 * gdb.python/py-framefilter.exp
5681
5682 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
5683
5684 Fix test names starting with uppercase throughout the files.
5685
5686 * gdb.ada/array_return.exp
5687 * gdb.ada/expr_delims.exp
5688 * gdb.ada/mi_dyn_arr.exp
5689 * gdb.ada/mi_interface.exp
5690 * gdb.ada/mi_var_array.exp
5691 * gdb.ada/watch_arg.exp
5692 * gdb.arch/alpha-step.exp
5693 * gdb.arch/altivec-regs.exp
5694 * gdb.arch/e500-regs.exp
5695 * gdb.arch/powerpc-d128-regs.exp
5696 * gdb.base/arrayidx.exp
5697 * gdb.base/break.exp
5698 * gdb.base/checkpoint.exp
5699 * gdb.base/debug-expr.exp
5700 * gdb.base/dmsym.exp
5701 * gdb.base/radix.exp
5702 * gdb.base/sepdebug.exp
5703 * gdb.base/testenv.exp
5704 * gdb.base/watch_thread_num.exp
5705 * gdb.base/watchpoint-cond-gone.exp
5706 * gdb.cell/break.exp
5707 * gdb.cell/ea-cache.exp
5708 * gdb.compile/compile.exp
5709 * gdb.cp/gdb2495.exp
5710 * gdb.gdb/selftest.exp
5711 * gdb.gdb/xfullpath.exp
5712 * gdb.go/hello.exp
5713 * gdb.go/integers.exp
5714 * gdb.objc/basicclass.exp
5715 * gdb.pascal/hello.exp
5716 * gdb.pascal/integers.exp
5717 * gdb.python/py-breakpoint.exp
5718 * gdb.python/py-cmd.exp
5719 * gdb.python/py-linetable.exp
5720 * gdb.python/py-xmethods.exp
5721 * gdb.python/python.exp
5722 * gdb.reverse/consecutive-precsave.exp
5723 * gdb.reverse/finish-precsave.exp
5724 * gdb.reverse/i386-precsave.exp
5725 * gdb.reverse/machinestate-precsave.exp
5726 * gdb.reverse/sigall-precsave.exp
5727 * gdb.reverse/solib-precsave.exp
5728 * gdb.reverse/step-precsave.exp
5729 * gdb.reverse/until-precsave.exp
5730 * gdb.reverse/watch-precsave.exp
5731 * gdb.threads/leader-exit.exp
5732 * gdb.threads/pthreads.exp
5733 * gdb.threads/wp-replication.exp
5734 * gdb.trace/actions.exp
5735 * gdb.trace/mi-tsv-changed.exp
5736 * gdb.trace/tsv.exp
5737
5738 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
5739
5740 Fix test names starting with uppercase throughout the files.
5741
5742 * gdb.arch/i386-bp_permanent.exp
5743 * gdb.arch/i386-gnu-cfi.exp
5744 * gdb.base/disasm-end-cu.exp
5745 * gdb.base/macscp.exp
5746 * gdb.base/pending.exp
5747 * gdb.base/watch_thread_num.exp
5748 * gdb.cp/exception.exp
5749 * gdb.cp/gdb2495.exp
5750 * gdb.cp/local.exp
5751 * gdb.python/py-evsignal.exp
5752 * gdb.python/python.exp
5753 * gdb.trace/tracecmd.exp
5754
5755 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
5756
5757 Fix test names starting with uppercase throughout the files.
5758
5759 * gdb.base/charset.exp
5760 * gdb.base/eval.exp
5761 * gdb.base/multi-forks.exp
5762 * gdb.guile/scm-progspace.exp
5763 * gdb.opencl/datatypes.exp
5764 * gdb.python/py-block.exp
5765 * gdb.python/py-function.exp
5766 * gdb.python/py-symbol.exp
5767 * gdb.python/py-symtab.exp
5768 * gdb.python/py-xmethods.exp
5769 * gdb.reverse/break-precsave.exp
5770 * gdb.reverse/break-reverse.exp
5771 * gdb.reverse/consecutive-precsave.exp
5772 * gdb.reverse/consecutive-reverse.exp
5773 * gdb.reverse/finish-precsave.exp
5774 * gdb.reverse/finish-reverse-bkpt.exp
5775 * gdb.reverse/finish-reverse.exp
5776 * gdb.reverse/fstatat-reverse.exp
5777 * gdb.reverse/getresuid-reverse.exp
5778 * gdb.reverse/i386-precsave.exp
5779 * gdb.reverse/i386-reverse.exp
5780 * gdb.reverse/i386-sse-reverse.exp
5781 * gdb.reverse/i387-stack-reverse.exp
5782 * gdb.reverse/insn-reverse.exp
5783 * gdb.reverse/machinestate-precsave.exp
5784 * gdb.reverse/machinestate.exp
5785 * gdb.reverse/next-reverse-bkpt-over-sr.exp
5786 * gdb.reverse/pipe-reverse.exp
5787 * gdb.reverse/readv-reverse.exp
5788 * gdb.reverse/recvmsg-reverse.exp
5789 * gdb.reverse/rerun-prec.exp
5790 * gdb.reverse/s390-mvcle.exp
5791 * gdb.reverse/sigall-precsave.exp
5792 * gdb.reverse/sigall-reverse.exp
5793 * gdb.reverse/solib-precsave.exp
5794 * gdb.reverse/solib-reverse.exp
5795 * gdb.reverse/step-precsave.exp
5796 * gdb.reverse/step-reverse.exp
5797 * gdb.reverse/time-reverse.exp
5798 * gdb.reverse/until-precsave.exp
5799 * gdb.reverse/until-reverse.exp
5800 * gdb.reverse/waitpid-reverse.exp
5801 * gdb.reverse/watch-precsave.exp
5802 * gdb.reverse/watch-reverse.exp
5803
5804 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
5805
5806 Fix test names starting with uppercase throughout the files.
5807
5808 * gdb.arch/i386-mpx-simple_segv.exp
5809 * gdb.arch/i386-mpx.exp
5810 * gdb.arch/i386-permbkpt.exp
5811 * gdb.arch/pa-nullify.exp
5812 * gdb.arch/powerpc-d128-regs.exp
5813 * gdb.arch/vsx-regs.exp
5814 * gdb.base/bfp-test.exp
5815 * gdb.base/break.exp
5816 * gdb.base/breakpoint-shadow.exp
5817 * gdb.base/callfuncs.exp
5818 * gdb.base/charset.exp
5819 * gdb.base/commands.exp
5820 * gdb.base/completion.exp
5821 * gdb.base/dfp-test.exp
5822 * gdb.base/echo.exp
5823 * gdb.base/ending-run.exp
5824 * gdb.base/eval.exp
5825 * gdb.base/expand-psymtabs.exp
5826 * gdb.base/float128.exp
5827 * gdb.base/floatn.exp
5828 * gdb.base/foll-exec-mode.exp
5829 * gdb.base/gdb1056.exp
5830 * gdb.base/gdb11531.exp
5831 * gdb.base/kill-after-signal.exp
5832 * gdb.base/multi-forks.exp
5833 * gdb.base/overlays.exp
5834 * gdb.base/pending.exp
5835 * gdb.base/sepdebug.exp
5836 * gdb.base/testenv.exp
5837 * gdb.base/valgrind-db-attach.exp
5838 * gdb.base/watch_thread_num.exp
5839 * gdb.base/watchpoint-cond-gone.exp
5840 * gdb.base/watchpoint.exp
5841 * gdb.base/watchpoints.exp
5842 * gdb.cp/arg-reference.exp
5843 * gdb.cp/baseenum.exp
5844 * gdb.cp/operator.exp
5845 * gdb.cp/shadow.exp
5846 * gdb.dwarf2/dw2-op-out-param.exp
5847 * gdb.dwarf2/dw2-reg-undefined.exp
5848 * gdb.go/chan.exp
5849 * gdb.go/hello.exp
5850 * gdb.go/integers.exp
5851 * gdb.go/methods.exp
5852 * gdb.go/package.exp
5853 * gdb.guile/scm-parameter.exp
5854 * gdb.guile/scm-progspace.exp
5855 * gdb.guile/scm-value.exp
5856 * gdb.mi/mi-pending.exp
5857 * gdb.mi/user-selected-context-sync.exp
5858 * gdb.multi/multi-attach.exp
5859 * gdb.multi/tids.exp
5860 * gdb.opt/clobbered-registers-O2.exp
5861 * gdb.pascal/floats.exp
5862 * gdb.pascal/integers.exp
5863 * gdb.python/py-block.exp
5864 * gdb.python/py-events.exp
5865 * gdb.python/py-parameter.exp
5866 * gdb.python/py-symbol.exp
5867 * gdb.python/py-symtab.exp
5868 * gdb.python/py-type.exp
5869 * gdb.python/py-value.exp
5870 * gdb.python/py-xmethods.exp
5871 * gdb.python/python.exp
5872 * gdb.reverse/break-precsave.exp
5873 * gdb.reverse/consecutive-precsave.exp
5874 * gdb.reverse/finish-precsave.exp
5875 * gdb.reverse/i386-precsave.exp
5876 * gdb.reverse/machinestate-precsave.exp
5877 * gdb.reverse/sigall-precsave.exp
5878 * gdb.reverse/solib-precsave.exp
5879 * gdb.reverse/step-precsave.exp
5880 * gdb.reverse/until-precsave.exp
5881 * gdb.reverse/watch-precsave.exp
5882 * gdb.server/ext-attach.exp
5883 * gdb.server/ext-restart.exp
5884 * gdb.server/ext-run.exp
5885 * gdb.server/ext-wrapper.exp
5886 * gdb.stabs/gdb11479.exp
5887 * gdb.stabs/weird.exp
5888 * gdb.threads/attach-many-short-lived-threads.exp
5889 * gdb.threads/kill.exp
5890 * gdb.threads/watchpoint-fork.exp
5891
5892 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
5893
5894 Fix test names starting with uppercase throughout all the files below.
5895
5896 * gdb.ada/array_return.exp
5897 * gdb.ada/catch_ex.exp
5898 * gdb.ada/info_exc.exp
5899 * gdb.ada/mi_catch_ex.exp
5900 * gdb.ada/mi_dyn_arr.exp
5901 * gdb.ada/mi_ex_cond.exp
5902 * gdb.ada/mi_exc_info.exp
5903 * gdb.ada/mi_interface.exp
5904 * gdb.ada/mi_task_arg.exp
5905 * gdb.ada/mi_task_info.exp
5906 * gdb.ada/mi_var_array.exp
5907 * gdb.arch/alpha-step.exp
5908 * gdb.arch/amd64-disp-step.exp
5909 * gdb.arch/arm-disp-step.exp
5910 * gdb.arch/disp-step-insn-reloc.exp
5911 * gdb.arch/e500-prologue.exp
5912 * gdb.arch/ftrace-insn-reloc.exp
5913 * gdb.arch/gdb1558.exp
5914 * gdb.arch/i386-bp_permanent.exp
5915 * gdb.arch/i386-disp-step.exp
5916 * gdb.arch/i386-float.exp
5917 * gdb.arch/i386-gnu-cfi.exp
5918 * gdb.arch/ia64-breakpoint-shadow.exp
5919 * gdb.arch/mips16-thunks.exp
5920 * gdb.arch/pa-nullify.exp
5921 * gdb.arch/powerpc-aix-prologue.exp
5922 * gdb.arch/powerpc-power.exp
5923 * gdb.arch/ppc-dfp.exp
5924 * gdb.arch/s390-tdbregs.exp
5925 * gdb.arch/spu-info.exp
5926 * gdb.arch/spu-ls.exp
5927 * gdb.arch/thumb-bx-pc.exp
5928 * gdb.base/advance.exp
5929 * gdb.base/annota-input-while-running.exp
5930 * gdb.base/arrayidx.exp
5931 * gdb.base/asmlabel.exp
5932 * gdb.base/async.exp
5933 * gdb.base/attach-wait-input.exp
5934 * gdb.base/auto-connect-native-target.exp
5935 * gdb.base/batch-preserve-term-settings.exp
5936 * gdb.base/bfp-test.exp
5937 * gdb.base/bigcore.exp
5938 * gdb.base/bp-permanent.exp
5939 * gdb.base/break-always.exp
5940 * gdb.base/break-fun-addr.exp
5941 * gdb.base/break-idempotent.exp
5942 * gdb.base/break-main-file-remove-fail.exp
5943 * gdb.base/break-probes.exp
5944 * gdb.base/break-unload-file.exp
5945 * gdb.base/break.exp
5946 * gdb.base/call-ar-st.exp
5947 * gdb.base/call-rt-st.exp
5948 * gdb.base/call-sc.exp
5949 * gdb.base/call-signal-resume.exp
5950 * gdb.base/call-strs.exp
5951 * gdb.base/callexit.exp
5952 * gdb.base/callfuncs.exp
5953 * gdb.base/catch-gdb-caused-signals.exp
5954 * gdb.base/catch-signal-siginfo-cond.exp
5955 * gdb.base/catch-syscall.exp
5956 * gdb.base/compare-sections.exp
5957 * gdb.base/cond-eval-mode.exp
5958 * gdb.base/condbreak-call-false.exp
5959 * gdb.base/consecutive-step-over.exp
5960 * gdb.base/cursal.exp
5961 * gdb.base/disabled-location.exp
5962 * gdb.base/disasm-end-cu.exp
5963 * gdb.base/display.exp
5964 * gdb.base/double-prompt-target-event-error.exp
5965 * gdb.base/dprintf-bp-same-addr.exp
5966 * gdb.base/dprintf-detach.exp
5967 * gdb.base/dprintf-next.exp
5968 * gdb.base/dprintf-non-stop.exp
5969 * gdb.base/dprintf-pending.exp
5970 * gdb.base/dso2dso.exp
5971 * gdb.base/ending-run.exp
5972 * gdb.base/enum_cond.exp
5973 * gdb.base/examine-backward.exp
5974 * gdb.base/exe-lock.exp
5975 * gdb.base/exec-invalid-sysroot.exp
5976 * gdb.base/execl-update-breakpoints.exp
5977 * gdb.base/execution-termios.exp
5978 * gdb.base/fileio.exp
5979 * gdb.base/fixsection.exp
5980 * gdb.base/foll-exec-mode.exp
5981 * gdb.base/foll-exec.exp
5982 * gdb.base/fork-running-state.exp
5983 * gdb.base/frame-args.exp
5984 * gdb.base/fullpath-expand.exp
5985 * gdb.base/func-ptr.exp
5986 * gdb.base/gcore-relro-pie.exp
5987 * gdb.base/gdb1090.exp
5988 * gdb.base/gdb1555.exp
5989 * gdb.base/global-var-nested-by-dso.exp
5990 * gdb.base/gnu-ifunc.exp
5991 * gdb.base/hbreak-in-shr-unsupported.exp
5992 * gdb.base/hbreak-unmapped.exp
5993 * gdb.base/hook-stop.exp
5994 * gdb.base/infcall-input.exp
5995 * gdb.base/info-fun.exp
5996 * gdb.base/info-shared.exp
5997 * gdb.base/interrupt-noterm.exp
5998 * gdb.base/jit-so.exp
5999 * gdb.base/jit.exp
6000 * gdb.base/line-symtabs.exp
6001 * gdb.base/list.exp
6002 * gdb.base/longjmp.exp
6003 * gdb.base/macscp.exp
6004 * gdb.base/max-value-size.exp
6005 * gdb.base/nodebug.exp
6006 * gdb.base/nofield.exp
6007 * gdb.base/overlays.exp
6008 * gdb.base/paginate-after-ctrl-c-running.exp
6009 * gdb.base/paginate-bg-execution.exp
6010 * gdb.base/paginate-inferior-exit.exp
6011 * gdb.base/pending.exp
6012 * gdb.base/pr11022.exp
6013 * gdb.base/printcmds.exp
6014 * gdb.base/ptr-typedef.exp
6015 * gdb.base/ptype.exp
6016 * gdb.base/randomize.exp
6017 * gdb.base/range-stepping.exp
6018 * gdb.base/realname-expand.exp
6019 * gdb.base/relativedebug.exp
6020 * gdb.base/remote.exp
6021 * gdb.base/savedregs.exp
6022 * gdb.base/sepdebug.exp
6023 * gdb.base/set-noassign.exp
6024 * gdb.base/shlib-call.exp
6025 * gdb.base/shreloc.exp
6026 * gdb.base/sigaltstack.exp
6027 * gdb.base/sigbpt.exp
6028 * gdb.base/siginfo-addr.exp
6029 * gdb.base/siginfo-obj.exp
6030 * gdb.base/siginfo-thread.exp
6031 * gdb.base/signest.exp
6032 * gdb.base/signull.exp
6033 * gdb.base/sigrepeat.exp
6034 * gdb.base/skip.exp
6035 * gdb.base/so-impl-ld.exp
6036 * gdb.base/solib-corrupted.exp
6037 * gdb.base/solib-disc.exp
6038 * gdb.base/solib-display.exp
6039 * gdb.base/solib-overlap.exp
6040 * gdb.base/solib-search.exp
6041 * gdb.base/solib-symbol.exp
6042 * gdb.base/source-execution.exp
6043 * gdb.base/sss-bp-on-user-bp-2.exp
6044 * gdb.base/sss-bp-on-user-bp.exp
6045 * gdb.base/stack-checking.exp
6046 * gdb.base/stale-infcall.exp
6047 * gdb.base/step-break.exp
6048 * gdb.base/step-line.exp
6049 * gdb.base/step-over-exit.exp
6050 * gdb.base/step-test.exp
6051 * gdb.base/structs.exp
6052 * gdb.base/sym-file.exp
6053 * gdb.base/symtab-search-order.exp
6054 * gdb.base/term.exp
6055 * gdb.base/type-opaque.exp
6056 * gdb.base/unload.exp
6057 * gdb.base/until-nodebug.exp
6058 * gdb.base/until.exp
6059 * gdb.base/unwindonsignal.exp
6060 * gdb.base/watch-cond.exp
6061 * gdb.base/watch-non-mem.exp
6062 * gdb.base/watch_thread_num.exp
6063 * gdb.base/watchpoint-reuse-slot.exp
6064 * gdb.base/watchpoint-solib.exp
6065 * gdb.base/watchpoint.exp
6066 * gdb.btrace/dlopen.exp
6067 * gdb.cell/arch.exp
6068 * gdb.cell/break.exp
6069 * gdb.cell/bt.exp
6070 * gdb.cell/core.exp
6071 * gdb.cell/data.exp
6072 * gdb.cell/dwarfaddr.exp
6073 * gdb.cell/ea-cache.exp
6074 * gdb.cell/ea-standalone.exp
6075 * gdb.cell/ea-test.exp
6076 * gdb.cell/f-regs.exp
6077 * gdb.cell/fork.exp
6078 * gdb.cell/gcore.exp
6079 * gdb.cell/mem-access.exp
6080 * gdb.cell/ptype.exp
6081 * gdb.cell/registers.exp
6082 * gdb.cell/sizeof.exp
6083 * gdb.cell/solib-symbol.exp
6084 * gdb.cell/solib.exp
6085 * gdb.compile/compile-tls.exp
6086 * gdb.cp/exception.exp
6087 * gdb.cp/gdb2495.exp
6088 * gdb.cp/local.exp
6089 * gdb.cp/mb-inline.exp
6090 * gdb.cp/mb-templates.exp
6091 * gdb.cp/pr10687.exp
6092 * gdb.cp/pr9167.exp
6093 * gdb.cp/scope-err.exp
6094 * gdb.cp/templates.exp
6095 * gdb.cp/virtfunc.exp
6096 * gdb.dwarf2/dw2-dir-file-name.exp
6097 * gdb.dwarf2/dw2-single-line-discriminators.exp
6098 * gdb.fortran/complex.exp
6099 * gdb.fortran/library-module.exp
6100 * gdb.guile/guile.exp
6101 * gdb.guile/scm-cmd.exp
6102 * gdb.guile/scm-frame-inline.exp
6103 * gdb.guile/scm-objfile.exp
6104 * gdb.guile/scm-pretty-print.exp
6105 * gdb.guile/scm-symbol.exp
6106 * gdb.guile/scm-type.exp
6107 * gdb.guile/scm-value.exp
6108 * gdb.linespec/keywords.exp
6109 * gdb.linespec/ls-errs.exp
6110 * gdb.linespec/macro-relative.exp
6111 * gdb.linespec/thread.exp
6112 * gdb.mi/mi-breakpoint-changed.exp
6113 * gdb.mi/mi-dprintf-pending.exp
6114 * gdb.mi/mi-fullname-deleted.exp
6115 * gdb.mi/mi-logging.exp
6116 * gdb.mi/mi-pending.exp
6117 * gdb.mi/mi-solib.exp
6118 * gdb.mi/new-ui-mi-sync.exp
6119 * gdb.mi/user-selected-context-sync.exp
6120 * gdb.multi/dummy-frame-restore.exp
6121 * gdb.multi/multi-arch-exec.exp
6122 * gdb.multi/remove-inferiors.exp
6123 * gdb.multi/watchpoint-multi-exit.exp
6124 * gdb.opt/solib-intra-step.exp
6125 * gdb.perf/backtrace.exp
6126 * gdb.perf/single-step.exp
6127 * gdb.perf/skip-command.exp
6128 * gdb.perf/skip-prologue.exp
6129 * gdb.perf/solib.exp
6130 * gdb.python/lib-types.exp
6131 * gdb.python/py-as-string.exp
6132 * gdb.python/py-bad-printers.exp
6133 * gdb.python/py-block.exp
6134 * gdb.python/py-breakpoint.exp
6135 * gdb.python/py-cmd.exp
6136 * gdb.python/py-events.exp
6137 * gdb.python/py-evthreads.exp
6138 * gdb.python/py-finish-breakpoint.exp
6139 * gdb.python/py-finish-breakpoint2.exp
6140 * gdb.python/py-frame-inline.exp
6141 * gdb.python/py-frame.exp
6142 * gdb.python/py-inferior.exp
6143 * gdb.python/py-infthread.exp
6144 * gdb.python/py-mi.exp
6145 * gdb.python/py-objfile.exp
6146 * gdb.python/py-pp-maint.exp
6147 * gdb.python/py-pp-registration.exp
6148 * gdb.python/py-prettyprint.exp
6149 * gdb.python/py-recurse-unwind.exp
6150 * gdb.python/py-shared.exp
6151 * gdb.python/py-symbol.exp
6152 * gdb.python/py-symtab.exp
6153 * gdb.python/py-template.exp
6154 * gdb.python/py-type.exp
6155 * gdb.python/py-unwind-maint.exp
6156 * gdb.python/py-unwind.exp
6157 * gdb.python/py-value.exp
6158 * gdb.python/python.exp
6159 * gdb.reverse/finish-reverse-bkpt.exp
6160 * gdb.reverse/insn-reverse.exp
6161 * gdb.reverse/next-reverse-bkpt-over-sr.exp
6162 * gdb.reverse/solib-precsave.exp
6163 * gdb.reverse/solib-reverse.exp
6164 * gdb.stabs/gdb11479.exp
6165 * gdb.stabs/weird.exp
6166 * gdb.threads/fork-child-threads.exp
6167 * gdb.threads/fork-plus-threads.exp
6168 * gdb.threads/fork-thread-pending.exp
6169 * gdb.threads/forking-threads-plus-breakpoint.exp
6170 * gdb.threads/hand-call-in-threads.exp
6171 * gdb.threads/interrupted-hand-call.exp
6172 * gdb.threads/linux-dp.exp
6173 * gdb.threads/local-watch-wrong-thread.exp
6174 * gdb.threads/next-while-other-thread-longjmps.exp
6175 * gdb.threads/non-ldr-exit.exp
6176 * gdb.threads/pending-step.exp
6177 * gdb.threads/print-threads.exp
6178 * gdb.threads/process-dies-while-detaching.exp
6179 * gdb.threads/process-dies-while-handling-bp.exp
6180 * gdb.threads/pthreads.exp
6181 * gdb.threads/queue-signal.exp
6182 * gdb.threads/reconnect-signal.exp
6183 * gdb.threads/signal-command-handle-nopass.exp
6184 * gdb.threads/signal-command-multiple-signals-pending.exp
6185 * gdb.threads/signal-delivered-right-thread.exp
6186 * gdb.threads/signal-sigtrap.exp
6187 * gdb.threads/sigthread.exp
6188 * gdb.threads/staticthreads.exp
6189 * gdb.threads/stepi-random-signal.exp
6190 * gdb.threads/thread-unwindonsignal.exp
6191 * gdb.threads/thread_check.exp
6192 * gdb.threads/thread_events.exp
6193 * gdb.threads/tid-reuse.exp
6194 * gdb.threads/tls-nodebug.exp
6195 * gdb.threads/tls-shared.exp
6196 * gdb.threads/tls-so_extern.exp
6197 * gdb.threads/tls.exp
6198 * gdb.threads/wp-replication.exp
6199 * gdb.trace/actions-changed.exp
6200 * gdb.trace/actions.exp
6201 * gdb.trace/backtrace.exp
6202 * gdb.trace/change-loc.exp
6203 * gdb.trace/collection.exp
6204 * gdb.trace/deltrace.exp
6205 * gdb.trace/disconnected-tracing.exp
6206 * gdb.trace/entry-values.exp
6207 * gdb.trace/ftrace-lock.exp
6208 * gdb.trace/ftrace.exp
6209 * gdb.trace/infotrace.exp
6210 * gdb.trace/mi-trace-frame-collected.exp
6211 * gdb.trace/mi-trace-unavailable.exp
6212 * gdb.trace/mi-traceframe-changed.exp
6213 * gdb.trace/mi-tracepoint-changed.exp
6214 * gdb.trace/mi-tsv-changed.exp
6215 * gdb.trace/no-attach-trace.exp
6216 * gdb.trace/packetlen.exp
6217 * gdb.trace/passc-dyn.exp
6218 * gdb.trace/passcount.exp
6219 * gdb.trace/pending.exp
6220 * gdb.trace/pr16508.exp
6221 * gdb.trace/qtro.exp
6222 * gdb.trace/range-stepping.exp
6223 * gdb.trace/read-memory.exp
6224 * gdb.trace/report.exp
6225 * gdb.trace/save-trace.exp
6226 * gdb.trace/signal.exp
6227 * gdb.trace/stap-trace.exp
6228 * gdb.trace/status-stop.exp
6229 * gdb.trace/strace.exp
6230 * gdb.trace/tfile.exp
6231 * gdb.trace/tfind.exp
6232 * gdb.trace/trace-break.exp
6233 * gdb.trace/trace-condition.exp
6234 * gdb.trace/trace-enable-disable.exp
6235 * gdb.trace/trace-mt.exp
6236 * gdb.trace/tracecmd.exp
6237 * gdb.trace/tracefile-pseudo-reg.exp
6238 * gdb.trace/tspeed.exp
6239 * gdb.trace/tstatus.exp
6240 * gdb.trace/tsv.exp
6241 * gdb.trace/unavailable.exp
6242 * gdb.trace/while-dyn.exp
6243 * gdb.trace/while-stepping.exp
6244 * lib/gdb-guile.exp
6245 * lib/gdb.exp
6246 * lib/mi-support.exp
6247 * lib/pascal.exp
6248 * lib/perftest.exp
6249 * lib/prelink-support.exp
6250 * lib/selftest-support.exp
6251
6252 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
6253
6254 * Makefile.in: Include disable-implicit-rules.mk.
6255
6256 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
6257
6258 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
6259 non-byte-aligned bit fields.
6260
6261 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
6262
6263 PR gdb/12616
6264 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
6265 respects the DW_AT_data_bit_offset attribute.
6266
6267 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
6268
6269 * gdb.base/default.exp: Fix output of "set language".
6270
6271 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
6272
6273 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
6274 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
6275 make.
6276 * configure.ac: Remove checks for the make program.
6277 * configure: Re-generate.
6278
6279 2016-11-16 Kevin Buettner <kevinb@redhat.com>
6280
6281 * gdb.python/py-recurse-unwind.c (main): Add loop.
6282 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
6283 to read_register() and gdb.parse_and_eval(). Make each code
6284 call a separate case that can be individually tested.
6285 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
6286 proc. Call cont_and_backtrace for each of the code paths that
6287 we want to test in the unwinder.
6288
6289 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
6290
6291 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
6292 the definition of struct S.
6293
6294 2016-11-11 Catherine Moore <clm@codesourcery.com>
6295
6296 * gdb.base/dump.exp: Identify verilog format dump tests as such.
6297
6298 2016-11-09 Pedro Alves <palves@redhat.com>
6299
6300 * gdb.base/commands.exp (runto_or_return): New procedure.
6301 (gdbvar_simple_if_test, gdbvar_simple_while_test)
6302 (gdbvar_complex_if_while_test, progvar_simple_if_test)
6303 (progvar_simple_while_test, progvar_complex_if_while_test)
6304 (if_while_breakpoint_command_test)
6305 (infrun_breakpoint_command_test, breakpoint_command_test)
6306 (user_defined_command_test, watchpoint_command_test)
6307 (test_command_prompt_position, redefine_hook_test)
6308 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
6309 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
6310 multi_line_input and multi_line. Remove gdb_expect and
6311 gdb_stop_suppressing_tests uses.
6312 * lib/gdb.exp (valnum_re): New global.
6313 (multi_line_input): New procedure.
6314
6315 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
6316
6317 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
6318 Remove.
6319 (test_setup): Define with proc_with_prefix.
6320 (test_cli_inferior): Likewise.
6321 (test_cli_thread): Likewise.
6322 (test_cli_frame): Likewise.
6323 (test_cli_select_frame): Likewise.
6324 (test_cli_up_down): Likewise.
6325 (test_mi_thread_select): Likewise.
6326 (test_mi_stack_select_frame): Likewise.
6327 (test_cli_in_mi_inferior): Likewise.
6328 (test_cli_in_mi_thread): Likewise.
6329 (test_cli_in_mi_frame): Likewise.
6330 (top level): Do not use with_test_prefix_procname.
6331
6332 2016-11-09 Pedro Alves <palves@redhat.com>
6333
6334 * gdb.base/commands.exp (gdbvar_simple_if_test)
6335 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
6336 (progvar_simple_if_test, progvar_simple_while_test)
6337 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
6338 (infrun_breakpoint_command_test, breakpoint_command_test)
6339 (user_defined_command_test, watchpoint_command_test)
6340 (test_command_prompt_position, deprecated_command_test)
6341 (bp_deleted_in_command, temporary_breakpoint_commands)
6342 (stray_arg0_test, source_file_with_indented_comment)
6343 (recursive_source_test, if_commands_test)
6344 (error_clears_commands_left, redefine_hook_test)
6345 (redefine_backtrace_test): Use proc_with_prefix.
6346 * lib/gdb.exp (proc_with_prefix): New proc.
6347
6348 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
6349
6350 * gdb.base/tui-layout.c: New file.
6351 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
6352 disassembly window contains very long lines.
6353
6354 2016-11-08 Tom Tromey <tom@tromey.com>
6355
6356 * gdb.python/py-value.exp (test_value_creation): Make "long" test
6357 depend on Python 2.
6358
6359 2016-11-08 Tom Tromey <tom@tromey.com>
6360
6361 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
6362 New method.
6363
6364 2016-10-29 Manish Goregaokar <manish@mozilla.com>
6365
6366 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
6367
6368 2016-10-27 Manish Goregaokar <manish@mozilla.com>
6369
6370 * gdb.rust/simple.rs: Add test for univariant enums without
6371 discriminants and for encoded struct-like enums.
6372
6373 2016-10-28 Pedro Alves <palves@redhat.com>
6374
6375 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
6376 gdb_test_multiple, tighten regexps and match symtabs and line
6377 tables incrementally.
6378
6379 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
6380
6381 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
6382 general.
6383
6384 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
6385
6386 * gdb.base/exec-invalid-sysroot.exp: New file.
6387
6388 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6389
6390 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
6391
6392 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6393
6394 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
6395
6396 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
6397
6398 * gdb.base/killed-outside.exp: Remove $options from a call to
6399 `prepare_for_testing'.
6400
6401 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
6402
6403 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
6404 Change test message.
6405
6406 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
6407
6408 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
6409 Update comment.
6410
6411 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
6412
6413 * gdb.trace/mi-trace-save.exp: New file.
6414
6415 2016-10-13 Yao Qi <yao.qi@linaro.org>
6416
6417 * gdb.base/code_elim.exp (get_var_address): Remove.
6418 * gdb.base/relocate.exp: Likewise.
6419 * gdb.base/shreloc.exp: Likewise.
6420 * lib/gdb.exp (get_var_address): New.
6421
6422 2016-10-13 Yao Qi <yao.qi@linaro.org>
6423
6424 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
6425 floating point tests if $skip_float_test is false.
6426
6427 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
6428
6429 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
6430 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
6431 argc values.
6432 Add 1 to argc so we guarantee distinct initial/modified argc values.
6433
6434 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6435
6436 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
6437
6438 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6439
6440 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
6441 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
6442 * gdb.arch/vsx-regs.exp: Likewise.
6443
6444 2016-10-07 Yao Qi <yao.qi@linaro.org>
6445
6446 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
6447
6448 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
6449
6450 * gdb.python/python.exp: Test decode_line("*0").
6451
6452 2016-10-06 Doug Evans <dje@google.com>
6453
6454 * gdb.python/py-value.exp (test_value_creation): Add test for large
6455 unsigned 64-bit value.
6456
6457 2016-10-06 Tom Tromey <tom@tromey.com>
6458
6459 * gdb.compile/compile.exp: Change java tests to rust.
6460 * gdb.base/setshow.exp: Change java tests to rust.
6461 * gdb.base/default.exp: Remove java from language list.
6462 * README (Examples): Update language example.
6463 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
6464 test.
6465 * lib/gdb.exp (skip_java_tests): Remove.
6466 * lib/java.exp: Remove.
6467 * gdb.java: Remove.
6468
6469 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
6470
6471 * gdb.arch/mips-fcr.exp: New test.
6472 * gdb.arch/mips-fcr.c: Source for the new test.
6473
6474 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
6475
6476 * gdb.base/solib-disc.exp: Use `standard_output_file'
6477 throughout.
6478
6479 2016-10-06 Pedro Alves <palves@redhat.com>
6480
6481 * gdb.base/jit-simple-dl.c: New file.
6482 * gdb.base/jit-simple-jit.c: New file, factored out from ...
6483 * gdb.base/jit-simple.c: ... this.
6484 * gdb.base/jit-simple.exp (jit_run): Delete.
6485 (build_jit): New proc.
6486 (jit_test_reread): Recompile either the main program or the shared
6487 library, depending on what is being tested. Skip changing address
6488 if caller wants to. Compare before/after addresses. If testing
6489 standalone, explicitly load the binary. Test "maint info
6490 breakpoints".
6491 (top level): Add "standalone vs shared lib" and "change address"
6492 vs "same address" axes.
6493
6494 2016-10-06 Pedro Alves <palves@redhat.com>
6495
6496 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
6497 call.
6498 (jit_run): Delete.
6499 (jit_test_reread): Use with_test_prefix. Reload the main binary
6500 explicitly. Compare the before/after addresses of the JIT
6501 descriptor.
6502
6503 2016-08-15 Doug Evans <dje@google.com>
6504
6505 * gdb.xml/extra-regs.xml: Update, end field now required, default type
6506 for single bitfields is bool.
6507 * gdb.xml/tdesc-regs.exp: Ditto.
6508
6509 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
6510
6511 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
6512
6513 2016-10-05 Yao Qi <yao.qi@linaro.org>
6514
6515 * lib/gdb.exp (support_complex_tests): Return zero if
6516 gdb_skip_float_test return true.
6517
6518 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
6519 Simon Marchi <simon.marchi@ericsson.com>
6520
6521 PR gdb/20487
6522 * gdb.mi/user-selected-context-sync.exp: New file.
6523 * gdb.mi/user-selected-context-sync.c: New file.
6524
6525 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
6526 Simon Marchi <simon.marchi@ericsson.com>
6527
6528 PR gdb/20487
6529 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
6530 =thread-select-event check.
6531
6532 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
6533
6534 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
6535 the compulsory L operand changes.
6536 * gdb.arch/powerpc-power.s: Likewise.
6537
6538 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6539
6540 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
6541 * gdb.base/jit-attach-pie.c: New file.
6542 * gdb.base/jit-attach-pie.exp: New file.
6543
6544 2016-09-28 Pedro Alves <palves@redhat.com>
6545
6546 * gdb.base/infcall-input.c: New file.
6547 * gdb.base/infcall-input.exp: New file.
6548
6549 2016-09-22 Yao Qi <yao.qi@linaro.org>
6550
6551 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
6552 (gdb_exit): Rename it to ...
6553 (gdbserver_gdb_exit): ... Close GDBserver.
6554 (gdb_exit): New proc, call gdbserver_gdb_exit.
6555 (mi_gdb_exit): Likewise.
6556
6557 2016-09-22 Yao Qi <yao.qi@linaro.org>
6558
6559 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
6560 path.
6561 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
6562 Remove duplication.
6563
6564 2016-09-22 Yao Qi <yao.qi@linaro.org>
6565
6566 * lib/gdbserver-support.exp: Check the existence of
6567 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
6568
6569 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
6570
6571 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
6572
6573 2016-09-21 Tom Tromey <tom@tromey.com>
6574
6575 PR gdb/20604:
6576 * gdb.base/quit.exp: New file.
6577
6578 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
6579
6580 * .gitignore: New file.
6581
6582 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
6583
6584 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
6585 throughout.
6586
6587 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6588
6589 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
6590
6591 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6592
6593 * gdb.cp/casts.cc (decltype): Move it ...
6594 (main): ... with its call to ...
6595 * gdb.cp/casts03.cc: ... a new file.
6596 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
6597
6598 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6599
6600 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
6601
6602 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
6603
6604 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
6605 and sync up the test with tests in gas/testsuite/gas/ppc.
6606 * gdb.arch/powerpc-power.exp: Likewise.
6607
6608 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6609
6610 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
6611
6612 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
6613 Jan Kratochvil <jan.kratochvil@redhat.com>
6614
6615 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
6616 make m1's definition to be different from m2's. Use 'dummy' as an
6617 argument for probe 'two'.
6618
6619 2016-09-10 Jon Beniston <jon@beniston.com>
6620
6621 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
6622 for sim target.
6623
6624 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
6625
6626 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
6627 variable declaration.
6628 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
6629 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
6630 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
6631 received HWCAP as its argument.
6632
6633 2016-09-06 Pedro Alves <palves@redhat.com>
6634
6635 * gdb.base/new-ui-pending-input.c: New file.
6636 * gdb.base/new-ui-pending-input.exp: New file.
6637 * gdb.exp (clear_gdb_spawn_id): New procedure.
6638 (with_spawn_id): Check whether gdb_spawn_id exists before
6639 referencing it. If gdb_spawn_id didn't exist on entry, clear it
6640 on exit.
6641
6642 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
6643
6644 * gdb.base/float128.c: New file.
6645 * gdb.base/float128.exp: Likewise.
6646 * gdb.base/floatn.c: Likewise.
6647 * gdb.base/floatn.exp: Likewise.
6648
6649 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
6650
6651 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
6652
6653 2016-09-05 Pedro Alves <palves@redhat.com>
6654
6655 PR backtrace/19927
6656 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
6657 unwinders are immediately called as side effect of "source" or
6658 "disable unwinder" commands.
6659 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
6660
6661 2016-09-02 Yao Qi <yao.qi@linaro.org>
6662
6663 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
6664 is true and $type is "float" or "double".
6665
6666 2016-09-02 Yao Qi <yao.qi@linaro.org>
6667
6668 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
6669 true.
6670 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
6671 * gdb.base/call-rt-st.exp: Likewise.
6672 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
6673 return value instead of gdb,skip_float_test.
6674 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
6675 (do_function_calls): Use its return value instead of
6676 gdb,skip_float_test.
6677 * gdb.base/finish.exp: Likewise.
6678 * gdb.base/funcargs.exp: Likewise.
6679 * gdb.base/return.exp: Likewise.
6680 * gdb.base/return2.exp: Likewise.
6681 * gdb.base/varargs.exp: Likewise.
6682 * lib/gdb.exp (gdb_skip_float_test): Change it to
6683 gdb_caching_proc. Detect the broken ptrace on arm-linux.
6684
6685 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
6686
6687 * gdb.multi/tids.exp: Test "thread apply all".
6688
6689 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6690
6691 * gdb.base/default.exp (tty): Remove.
6692
6693 2016-08-24 Kevin Buettner <kevinb@redhat.com>
6694
6695 * gdb.python/py-recurse-unwind.c: New file.
6696 * gdb.python/py-recurse-unwind.py: New file.
6697 * gdb.python/py-recurse-unwind.exp: New file.
6698
6699 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
6700
6701 * gdb.base/set-inferior-tty.exp: New file.
6702 * gdb.base/set-inferior-tty.c: New file.
6703
6704 2016-08-23 Pedro Alves <palves@redhat.com>
6705
6706 PR gdb/20494
6707 * gdb.base/new-ui-echo.c: New file.
6708 * gdb.base/new-ui-echo.exp: New file.
6709
6710 2016-08-23 Yao Qi <yao.qi@linaro.org>
6711
6712 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
6713 gdbserver_spawn.
6714 * gdb.server/connect-without-multi-process.exp (do_test):
6715 Likewise.
6716
6717 2016-08-23 Yao Qi <yao.qi@linaro.org>
6718
6719 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
6720 standalone_txt. Delete gdb_txt and standalone_txt on host
6721 and target. Spawn the binary on target. Copy files from
6722 target to host.
6723
6724 2016-08-22 Pedro Alves <palves@redhat.com>
6725
6726 PR gdb/20505
6727 * gdb.base/vdso-warning.exp: Test core dumps too. Use
6728 with_test_prefix. Factor out bits to ...
6729 (test_no_vdso): ... this new procedure.
6730
6731 2016-08-19 Carl Love <cel@us.ibm.com>
6732
6733 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
6734 maintaining separate logic for constructing the output path.
6735 * gdb.arch/powerpc-d128-regs.exp: Likewise.
6736 * gdb.arch/ppc-dfp.exp: Likewise.
6737 * gdb.arch/ppc-fp.exp: Likewise.
6738 * gdb.arch/vsx-regs.exp: Likewise.
6739 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
6740 binprefix for generating the additional binary files.
6741
6742 2016-08-19 Pedro Alves <palves@redhat.com>
6743
6744 * gdb.trace/mi-trace-frame-collected.exp
6745 (test_trace_frame_collected): On x32, expect two registers.
6746
6747 2016-08-18 Carl Love <cel@us.ibm.com>
6748
6749 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
6750 and sync up the test with tests in gas/testsuite/gas/ppc.
6751 * gdb.arch/powerpc-power.exp: Likewise.
6752
6753 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
6754
6755 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
6756 expected error message.
6757
6758 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
6759
6760 * gdb.multi/remove-inferiors.exp: New file.
6761 * gdb.multi/remove-inferiors.c: New file.
6762
6763 2016-08-12 Yao Qi <yao.qi@linaro.org>
6764
6765 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
6766 argument list.
6767
6768 2016-08-10 Pedro Alves <palves@redhat.com>
6769
6770 PR gdb/19187
6771 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
6772 setup_kfails.
6773
6774 2016-08-09 Pedro Alves <palves@redhat.com>
6775 Simon Marchi <simon.marchi@ericsson.com>
6776
6777 PR gdb/20418
6778 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
6779 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
6780
6781 2016-08-09 Pedro Alves <palves@redhat.com>
6782
6783 PR mi/20431
6784 * gdb.mi/mi-cmd-error.exp: New file.
6785
6786 2016-08-09 Pedro Alves <palves@redhat.com>
6787
6788 PR gdb/18653
6789 * gdb.base/signals-state-child.c: New file.
6790 * gdb.base/signals-state-child.exp: New file.
6791 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
6792
6793 2016-08-09 Pedro Alves <palves@redhat.com>
6794
6795 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
6796
6797 2016-08-03 Tom Tromey <tom@tromey.com>
6798
6799 PR python/18565:
6800 * gdb.python/py-frame-inline.exp: Add Frame.function test.
6801
6802 2016-08-01 Yao Qi <yao.qi@linaro.org>
6803
6804 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
6805 variable mode to "multi-process" if $multi_process is 1, otherwise
6806 set it to "single-process".
6807
6808 2016-08-01 Yao Qi <yao.qi@linaro.org>
6809
6810 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
6811 * gdb.cp/cpexprs.exp: Likewise.
6812 * gdb.cp/m-static.exp: Likewise.
6813
6814 2016-07-26 Tom Tromey <tom@tromey.com>
6815
6816 PR python/20190:
6817 * gdb.threads/tls.exp (check_thread_local): Add python symbol
6818 test.
6819
6820 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
6821
6822 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
6823 selecting assembly source files.
6824 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
6825 assembly source files.
6826 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
6827 assembly source files.
6828 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
6829 selecting assembly source files.
6830
6831 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
6832
6833 * gdb.base/new-ui.exp (do_test_invalid_args): New
6834 procedure.
6835
6836 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
6837
6838 * gdb.btrace/reconnect.c: New file.
6839 * gdb.btrace/reconnect.exp: New file.
6840
6841 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
6842
6843 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
6844 to test_catch_syscall_group.
6845 (test_catch_syscall_group): New.
6846
6847 2016-07-21 Tom Tromey <tom@tromey.com>
6848
6849 * gdb.rust/simple.rs (main): Use empty struct expression.
6850 * gdb.rust/simple.exp: Add tests for empty struct expression.
6851
6852 2016-07-21 Yao Qi <yao.qi@linaro.org>
6853
6854 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
6855 if gdb_skip_xml_test is true on some targets.
6856
6857 2016-07-21 Yao Qi <yao.qi@linaro.org>
6858
6859 * gdb.server/solib-list.exp: Unset last_loaded_file.
6860
6861 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6862
6863 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
6864 "step into captured_main (args)".
6865
6866 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6867
6868 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
6869
6870 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6871
6872 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
6873
6874 2016-07-19 Pedro Alves <palves@redhat.com>
6875
6876 * gdb.opt/inline-break.exp: Remove optimize=-O2.
6877 * gdb.opt/inline-bt.exp: Likewise.
6878 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
6879 additional_flags=-Winline.
6880 * gdb.opt/inline-locals.exp: Likewise.
6881 * gdb.opt/inline-markers.c (ATTR): Define.
6882 (inlined_fn): Use it.
6883
6884 2016-07-19 Yao Qi <yao.qi@linaro.org>
6885
6886 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
6887 (test_with_self): Remove some code. Remove argument executable.
6888 (top-level): Use do_self_tests.
6889
6890 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
6891 Don Breazeal <donb@codesourcery.com>
6892
6893 * gdb.base/maint.exp: Escape paths used in regular expressions.
6894 * gdb.stabs/weird.exp: Likewise.
6895
6896 2016-07-13 Tom Tromey <tom@tromey.com>
6897
6898 PR python/15620, PR python/18620:
6899 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
6900 (test_bkpt_events): New procs.
6901
6902 2016-07-13 Tom Tromey <tom@tromey.com>
6903
6904 PR python/17698:
6905 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
6906 test.
6907 (test_watchpoints): Likewise.
6908 (test_bkpt_pending): New proc.
6909
6910 2016-07-13 Tom Tromey <tom@tromey.com>
6911
6912 PR cli/18053:
6913 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
6914 completion test.
6915
6916 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6917
6918 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
6919 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
6920 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
6921 f_label.
6922 (g): Rename g_end_lbl to g_label.
6923 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
6924 low_pc and high_pc.
6925 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
6926
6927 2016-07-12 Tom Tromey <tom@tromey.com>
6928
6929 PR python/19293:
6930 * gdb.python/py-unwind-maint.exp: Update tests.
6931
6932 2016-07-12 Yao Qi <yao.qi@linaro.org>
6933
6934 * lib/selftest-support.exp (selftest_setup): Match the output
6935 when captured_main is inlined.
6936
6937 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
6938
6939 * gdb.fortran/derived-types.exp (result_line, result_line_2):
6940 New variables.
6941 (print this%a, print this%b, print this): New tests.
6942 * gdb.fortran/derived-types.f90 (this): New object and
6943 initialization.
6944
6945 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
6946
6947 * gdb.ada/arraydim.exp: Remove extra directory level in build
6948 directory.
6949
6950 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
6951
6952 * lib/ada.exp: Remove extra directory level in build directory.
6953 * gdb.ada/cond_lang.exp: Likewise.
6954 * gdb.ada/exec_changed.exp: Likewise.
6955 * gdb.ada/lang_switch.exp: Likewise.
6956
6957 2016-07-06 Manish Goregaokar <manish@mozilla.com>
6958
6959 * simple.rs: Add test for raw pointer subscripting.
6960 * simple.exp: Add test expectations.
6961
6962 2016-07-05 Yao Qi <yao.qi@linaro.org>
6963
6964 * gdb.mi/mi-reverse.exp: Match =record-started output.
6965
6966 2016-07-01 Pedro Alves <palves@redhat.com>
6967
6968 * gdb.base/jit-reader.exp (info_registers_current_frame): New
6969 procedure.
6970 (jit_reader_test): Test the jit reader's unwinder.
6971 * gdb.base/jithost.c (jit_function_00_code): New global.
6972 (main): Use memcpy to fill in the mmapped code, instead of poking
6973 bytes manually here.
6974 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
6975 value.
6976 (read_debug_info): Save the function's range.
6977 (read_sp): New function.
6978 (unwind_frame): Use it. Also unwind RBP.
6979 (get_frame_id): Use read_sp.
6980 (gdb_init_reader): Use calloc instead of malloc.
6981 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
6982 parameter. Use gdb_test_multiple.
6983
6984 2016-07-01 Pedro Alves <palves@redhat.com>
6985 Antoine Tremblay <antoine.tremblay@ericsson.com>
6986
6987 * gdb.threads/process-dies-while-detaching.c: New file.
6988 * gdb.threads/process-dies-while-detaching.exp: New file.
6989
6990 2016-07-01 Pedro Alves <palves@redhat.com>
6991
6992 * gdb.multi/watchpoint-multi-exit.c: New file.
6993 * gdb.multi/watchpoint-multi-exit.exp: New file.
6994
6995 2016-06-30 Pedro Alves <palves@redhat.com>
6996
6997 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
6998 unset inferior_spawn_id.
6999
7000 2016-06-30 Pedro Alves <palves@redhat.com>
7001
7002 * lib/mi-support.exp (default_mi_gdb_start): Declare global
7003 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
7004
7005 2016-06-29 Yao Qi <yao.qi@linaro.org>
7006
7007 * gdb.base/return.c: Add copyright header.
7008
7009 2016-06-29 Tom Tromey <tom@tromey.com>
7010
7011 PR python/20129:
7012 * gdb.python/py-framefilter.exp: Add tests for setting priority
7013 and disabling of non-existent frame filter.
7014
7015 2016-06-29 Yao Qi <yao.qi@linaro.org>
7016
7017 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
7018 0x0f07ff.
7019
7020 2016-06-28 Yao Qi <yao.qi@linaro.org>
7021
7022 * gdb.base/catch-syscall.exp: Remove check on isnative and target
7023 triplets. Start gdb, execute catch syscall, and continue. Check
7024 gdb's output to determine catch syscall is supported.
7025
7026 2016-06-27 Manish Goregaokar <manish@mozilla.com>
7027
7028 * gdb.rust/simple.rs: Add test for returning unit in a function.
7029 * gdb.rust/simple.exp: Add expectation for functions returning
7030 unit.
7031
7032 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
7033
7034 * gdb.python/py-breakpoint-create-fail.c,
7035 gdb.python/py-breakpoint-create-fail.exp,
7036 gdb.python/py-breakpoint-create-fail.py: New testcase.
7037
7038 2016-06-25 Manish Goregaokar <manish@mozilla.com>
7039
7040 PR gdb/20239
7041 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
7042 * gdb.rust/simple.exp: Add test expectations for new NonZero
7043 tests.
7044
7045 2016-06-24 David Taylor <dtaylor@emc.com>
7046
7047 * gdb.base/offsets.exp: New file.
7048 * gdb.base/offsets.c: New file.
7049
7050 2016-06-23 Tom Tromey <tom@tromey.com>
7051
7052 PR gdb/16483:
7053 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
7054 before any filters are loaded.
7055
7056 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
7057
7058 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
7059 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
7060 structs.
7061 * gdb.fortran/derived-type-function.exp: New file.
7062 * gdb.fortran/derived-type-function.f90: New file.
7063
7064
7065 2016-06-21 Pedro Alves <palves@redhat.com>
7066
7067 * gdb.base/new-ui.exp: New file.
7068 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
7069 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
7070 (with_spawn_id): New procedure.
7071
7072 2016-06-21 Pedro Alves <palves@redhat.com>
7073
7074 * gdb.mi/mi-exec-run.exp: New file.
7075
7076 2016-06-21 Pedro Alves <palves@redhat.com>
7077
7078 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
7079 breakpoint command's output on the main UI.
7080 (test_break): New procedure, factored out from calls in the top
7081 level.
7082 (top level): Use foreach_with_prefix to test MI as main UI and as
7083 separate UI.
7084
7085 2016-06-21 Pedro Alves <palves@redhat.com>
7086
7087 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
7088 (test_awatch_creation_and_listing)
7089 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
7090 Remove 'type' parameter.
7091 (test_watchpoint_all): New parameter mi_mode. Remove
7092 with_test_prefix.
7093 (top level): Use foreach_with_prefix, and add main/separate UI MI
7094 testing axis.
7095
7096 2016-06-21 Pedro Alves <palves@redhat.com>
7097
7098 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
7099 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
7100 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
7101 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
7102 (gdb_main_spawn_id, mi_spawn_id): Declare and
7103 comment.
7104 (mi_create_inferior_pty): New procedure,
7105 factored out from default_mi_gdb_start.
7106 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
7107 procedures.
7108 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
7109 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
7110 Use mi_create_inferior_pty.
7111 (mi_gdb_start): Use eval to pass down args list.
7112
7113 2016-06-21 Pedro Alves <palves@redhat.com>
7114
7115 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
7116 * gdb.opt/inline-cmds.exp: Add MI tests.
7117
7118 2016-06-21 Pedro Alves <palves@redhat.com>
7119
7120 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
7121
7122 2016-06-21 Pedro Alves <palves@redhat.com>
7123
7124 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
7125 (top level): Use it instead of mi_execute_to.
7126
7127 2016-06-21 Pedro Alves <palves@redhat.com>
7128
7129 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
7130 (cont_handler_str): New.
7131 (signal_stop_handler): Set stop_handler_str instead of printing to
7132 stdout.
7133 (continue_handler): Set cont_handler_str instead of printing to
7134 stdout.
7135 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
7136 mi_send_resuming_command. Print stop_handler_str and
7137 cont_handler_str instead of expecting the python events print
7138 directly.
7139
7140 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
7141
7142 * gdb.base/jit-reader.exp: New file.
7143 * gdb.base/jithost.c: New file.
7144 * gdb.base/jithost.h: New file.
7145 * gdb.base/jitreader.c : New file.
7146 * gdb.base/jit-protocol.h: New file.
7147
7148 2016-06-17 Yao Qi <yao.qi@linaro.org>
7149
7150 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
7151 parameters follow_fork and detach_on_fork. Set follow-fork-mode
7152 and detach-on-fork. Adjust tests.
7153 (top level): Invoke break_cond_on_syscall with combinations of
7154 syscall, follow-fork-mode and detach-on-fork.
7155
7156 2016-06-17 Yao Qi <yao.qi@linaro.org>
7157
7158 * gdb.base/step-over-exit.c: New.
7159 * gdb.base/step-over-exit.exp: New.
7160
7161 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
7162
7163 * gdb.base/float.exp: Add target check for nds32*-*-*.
7164 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
7165
7166 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
7167
7168 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
7169 for unsupported target features.
7170 * gdb.base/call-rt-st.exp: Likewise.
7171 * gdb.base/call-sc.exp: Likewise.
7172 * gdb.base/call-signal-resume.exp: Likewise.
7173 * gdb.base/call-strs.exp: Likewise.
7174 * gdb.base/callexit.exp: Likewise.
7175 * gdb.base/callfuncs.exp: Likewise.
7176 * gdb.base/nodebug.exp: Likewise.
7177 * gdb.base/printcmds.exp: Likewise.
7178 * gdb.base/ptype.exp: Likewise.
7179 * gdb.base/structs.exp: Likewise.
7180 * gdb.base/unwindonsignal.exp: Likewise.
7181 * gdb.cp/gdb2495.exp: Likewise.
7182 * gdb.cp/templates.exp: Likewise.
7183 * gdb.cp/virtfunc.exp: Likewise.
7184 * gdb.threads/hand-call-in-threads.exp: Likewise.
7185 * gdb.threads/interrupted-hand-call.exp: Likewise.
7186 * gdb.threads/thread-unwindonsignal.exp: Likewise.
7187
7188 2016-06-10 Tom Tromey <tom@tromey.com>
7189
7190 PR rust/20110:
7191 * gdb.rust/expr.exp: Add test for integer constant larger than
7192 i32.
7193
7194 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
7195
7196 * gdb.fortran/nested-funcs.exp: New.
7197 * gdb.fortran/nested-funcs.f90: New.
7198
7199 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
7200
7201 * gdb.base/examine-backward.c: New file.
7202 * gdb.base/examine-backward.exp: New file.
7203
7204 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
7205
7206 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
7207 matching.
7208
7209 2016-06-02 Tom Tromey <tom@tromey.com>
7210
7211 PR python/18984:
7212 * gdb.python/py-shared.exp: Add solib_name test.
7213
7214 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
7215
7216 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
7217
7218 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
7219
7220 PR c++/19893
7221 * gdb.dwarf2/implref.exp: Rename to...
7222 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
7223 * gdb.dwarf2/implref-array.c: New file.
7224 * gdb.dwarf2/implref-array.exp: Likewise.
7225 * gdb.dwarf2/implref-global.c: Likewise.
7226 * gdb.dwarf2/implref-global.exp: Likewise.
7227 * gdb.dwarf2/implref-struct.c: Likewise.
7228 * gdb.dwarf2/implref-struct.exp: Likewise.
7229
7230 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
7231
7232 * gdb.trace/trace-condition.exp: Add 64bit tests.
7233
7234 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
7235
7236 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
7237 bits types.
7238 (main): Adapt to 8 to 64 bits types.
7239 * gdb.trace/trace-condition.exp: Add new tests.
7240
7241 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
7242
7243 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
7244
7245 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
7246
7247 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
7248 Move condition tests...
7249 * gdb.trace/trace-condition.exp: Here.
7250
7251 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
7252
7253 * gdb.trace/trace-condition.exp: Add counter-case tests.
7254
7255 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
7256
7257 PR c++/15231
7258 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
7259 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
7260
7261 2016-05-27 Pedro Alves <palves@redhat.com>
7262
7263 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
7264 New procedure.
7265 (top level): Call it, and bail out of DejaGnu is known to be bad.
7266
7267 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
7268
7269 * gdb.base/whatis.c: Extend the test case.
7270 * gdb.base/whatis.exp: Add additional tests.
7271
7272 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
7273
7274 * gdb.fortran/type.f90: Add pointer variable.
7275 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
7276
7277 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
7278
7279 * gdb.fortran/vla-type.exp: Fix testcase name.
7280
7281 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
7282
7283 * gdb.fortran/vla-type.exp: Access elements in nested structs.
7284
7285 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
7286
7287 * gdb.fortran/type.f90: Add nested structures.
7288 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
7289 * gdb.fortran/derived-type.exp: Adapt expected output.
7290 * gdb.fortran/vla-type.exp: Adapt expected output.
7291
7292 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
7293
7294 * gdb.fortran/whatis_type.exp: Adapt expected output.
7295
7296 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
7297
7298 * gdb.fortran/print_type.exp: Fix expected output.
7299 * gdb.fortran/whatis_type.exp: Fix expected output.
7300
7301 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
7302
7303 * gdb.fortran/whatis_type.exp: Use multi_line.
7304
7305 2016-05-24 Tom Tromey <tom@tromey.com>
7306
7307 PR python/17386:
7308 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
7309 use value as an index.
7310
7311 2016-05-23 Tom Tromey <tom@tromey.com>
7312
7313 PR python/17981:
7314 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
7315 no-breakpoint case.
7316
7317 2016-05-24 Pedro Alves <palves@redhat.com>
7318
7319 PR gdb/19828
7320 * gdb.threads/clone-attach-detach.c: New file.
7321 * gdb.threads/clone-attach-detach.exp: New file.
7322
7323 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
7324
7325 * gdb.base/annota-input-while-running.exp: Fix syntax error.
7326
7327 2016-05-23 Tom Tromey <tom@tromey.com>
7328
7329 PR python/19438, PR python/18393:
7330 * gdb.python/py-progspace.exp: Add "dir" test.
7331 * gdb.python/py-objfile.exp: Add "dir" test.
7332
7333 2016-05-23 Yao Qi <yao.qi@linaro.org>
7334
7335 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
7336 * gdb.arch/thumb2-it.exp: Likewise.
7337
7338 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
7339
7340 * gdb.mi/mi-threads-interrupt.c: New file.
7341 * gdb.mi/mi-threads-interrupt.exp: New file.
7342
7343 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
7344
7345 PR gdb/18077
7346 * gdb.mi/mi-async-run.exp: New file.
7347 * gdb.mi/mi-async-run.c: New file.
7348
7349 2016-05-17 Tom Tromey <tom@tromey.com>
7350 Manish Goregaokar <manishsmail@gmail.com>
7351
7352 * lib/rust-support.exp: New file.
7353 * lib/gdb.exp (skip_rust_tests): New proc.
7354 (build_executable_from_specs): Handle rust.
7355 * lib/future.exp (gdb_find_rustc): New proc.
7356 (gdb_default_target_compile): Handle rust.
7357 * gdb.rust/expr.exp: New file.
7358 * gdb.rust/generics.exp: New file.
7359 * gdb.rust/generics.rs: New file.
7360 * gdb.rust/methods.exp: New file.
7361 * gdb.rust/methods.rs: New file.
7362 * gdb.rust/modules.exp: New file.
7363 * gdb.rust/modules.rs: New file.
7364 * gdb.rust/simple.exp: New file.
7365 * gdb.rust/simple.rs: New file.
7366
7367 2016-05-17 Tom Tromey <tom@tromey.com>
7368
7369 * gdb.base/default.exp (set language): Add rust.
7370
7371 2016-05-17 Tom Tromey <tom@tromey.com>
7372
7373 * gdb.gdb/unittest.exp: New file.
7374
7375 2016-05-16 Yao Qi <yao.qi@linaro.org>
7376
7377 * gdb.base/batch-preserve-term-settings.exp: Remove variable
7378 shell_prompt. Update shell_prompt_re.
7379
7380 2016-05-12 Doug Evans <dje@google.com>
7381
7382 PR symtab/19999
7383 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
7384 $options when building executable.
7385 * gdb.dwarf2/fission-loclists-pie.S: New file.
7386 * gdb.dwarf2/fission-loclists-pie.exp: New file.
7387
7388 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
7389
7390 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
7391 of [is_remote target],
7392
7393 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
7394
7395 * lib/gdb.exp (use_gdb_stub): New procedure.
7396
7397 2016-05-03 Yunlian Jiang <yunlian@google.com>
7398 Doug Evans <dje@google.com>
7399
7400 PR symtab/19914
7401 * gdb.dwarf2/dwp-sepdebug.c: New file.
7402 * gdb.dwarf2/dwp-sepdebug.exp: New file.
7403
7404 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
7405
7406 * gdb.base/detach.exp: Remove is_remote check.
7407
7408 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
7409
7410 * gdb.base/annota-input-while-running.exp: Don't check for
7411 [is_remote target]. Enable annotations after running to main.
7412 Remove unused "set test..." line.
7413
7414 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
7415
7416 * gdb.trace/trace-enable-disable.exp: New file.
7417 * gdb.trace/trace-enable-disable.c: New file.
7418
7419 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
7420
7421 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
7422 use it in info sharedlibrary test.
7423 * gdb.trace/ftrace-lock.exp: Likewise.
7424 * gdb.trace/ftrace.exp: Likewise.
7425 * gdb.trace/range-stepping.exp: Likewise.
7426 * gdb.trace/trace-break.exp: Likewise.
7427 * gdb.trace/trace-condition.exp: Likewise.
7428 * gdb.trace/trace-mt.exp: Likewise.
7429
7430 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
7431
7432 * lib/gdb.exp (gdb_load_shlibs): Rename to...
7433 (gdb_load_shlib): ... this.
7434 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
7435 gdb_load_shlib.
7436 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
7437 * gdb.base/ctxobj.exp: Likewise.
7438 * gdb.base/dprintf-pending.exp: Likewise.
7439 * gdb.base/dso2dso.exp: Likewise.
7440 * gdb.base/fixsection.exp: Likewise.
7441 * gdb.base/gcore-relro.exp: Likewise.
7442 * gdb.base/gdb1555.exp: Likewise.
7443 * gdb.base/global-var-nested-by-dso.exp: Likewise.
7444 * gdb.base/gnu-ifunc.exp: Likewise.
7445 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
7446 * gdb.base/jit-so.exp (one_jit_test): Likewise.
7447 * gdb.base/pending.exp: Likewise.
7448 * gdb.base/print-file-var.exp: Likewise.
7449 * gdb.base/print-symbol-loading.exp: Likewise.
7450 * gdb.base/shlib-call.exp: Likewise.
7451 * gdb.base/shreloc.exp: Likewise.
7452 * gdb.base/so-impl-ld.exp: Likewise.
7453 * gdb.base/solib-disc.exp: Likewise.
7454 * gdb.base/solib-nodir.exp: Likewise.
7455 * gdb.base/solib-overlap.exp: Likewise.
7456 * gdb.base/solib-symbol.exp: Likewise.
7457 * gdb.base/solib-weak.exp (do_test): Likewise.
7458 * gdb.base/sym-file.exp: Likewise.
7459 * gdb.base/symtab-search-order.exp: Likewise.
7460 * gdb.base/type-opaque.exp: Likewise.
7461 * gdb.base/unload.exp: Likewise.
7462 * gdb.base/watchpoint-solib.exp: Likewise.
7463 * gdb.compile/compile.exp: Likewise.
7464 * gdb.cp/gdb2384.exp: Likewise.
7465 * gdb.cp/infcall-dlopen.exp: Likewise.
7466 * gdb.cp/re-set-overloaded.exp: Likewise.
7467 * gdb.fortran/library-module.exp: Likewise.
7468 * gdb.opt/solib-intra-step.exp: Likewise.
7469 * gdb.python/py-finish-breakpoint.exp: Likewise.
7470 * gdb.python/py-shared.exp: Likewise.
7471 * gdb.reverse/solib-precsave.exp: Likewise.
7472 * gdb.reverse/solib-reverse.exp: Likewise.
7473 * gdb.server/solib-list.exp: Likewise.
7474 * gdb.threads/dlopen-libpthread.exp: Likewise.
7475 * gdb.threads/tls-shared.exp: Likewise.
7476 * gdb.threads/tls-so_extern.exp: Likewise.
7477 * gdb.trace/change-loc.exp: Likewise.
7478 * gdb.trace/ftrace-lock.exp: Likewise.
7479 * gdb.trace/ftrace.exp: Likewise.
7480 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
7481 * gdb.trace/pending.exp: Likewise.
7482 * gdb.trace/range-stepping.exp: Likewise.
7483 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
7484 (strace_info_marker): Likewise.
7485 (strace_probe_marker): Likewise.
7486 (strace_trace_on_same_addr): Likewise.
7487 (strace_trace_on_diff_addr): Likewise.
7488 * gdb.trace/trace-break.exp: Likewise.
7489 * gdb.trace/trace-condition.exp: Likewise.
7490 * gdb.trace/trace-mt.exp: Likewise.
7491
7492 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
7493
7494 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
7495 result of gdb_remote_download.
7496 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
7497 * gdb.base/dso2dso.exp: Likewise.
7498 * gdb.base/global-var-nested-by-dso.exp: Likewise.
7499 * gdb.base/print-file-var.exp: Likewise.
7500 * gdb.base/shlib-call.exp: Likewise.
7501 * gdb.base/shreloc.exp: Likewise.
7502 * gdb.base/solib-overlap.exp: Likewise.
7503 * gdb.base/solib-weak.exp (do_test): Likewise.
7504 * gdb.base/unload.exp: Likewise.
7505
7506 2016-04-27 Yao Qi <yao.qi@linaro.org>
7507
7508 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
7509 exists.
7510
7511 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
7512
7513 * vla-type.exp: Print structure from toplevel.
7514
7515 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
7516
7517 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
7518 of dynamic types.
7519 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
7520 of dynamic types.
7521
7522 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
7523
7524 * gdb.fortran/vla-type.f90: New file.
7525 * gdb.fortran/vla-type.exp: New file.
7526
7527 2016-04-25 Yao Qi <yao.qi@linaro.org>
7528
7529 * gdb.base/branch-to-self.c: New file.
7530 * gdb.base/branch-to-self.exp: New file.
7531
7532 2016-04-22 Yao Qi <yao.qi@linaro.org>
7533
7534 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
7535 more after $hex.
7536
7537 2016-04-22 Yao Qi <yao.qi@linaro.org>
7538
7539 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
7540 * gdb.base/annota3.exp: Likewise.
7541
7542 2016-04-22 Yao Qi <yao.qi@linaro.org>
7543
7544 * gdb.reverse/step-precsave.exp: Do one step and test program
7545 stops in "callee" and do multiple steps until program goes out
7546 of "callee".
7547 * gdb.reverse/step-reverse.exp: Likewise.
7548
7549 2016-04-22 Yao Qi <yao.qi@linaro.org>
7550
7551 * gdb.trace/signal.exp: Also pass if
7552 $tracepoint_hits($i) > $iterations.
7553
7554 2016-04-22 Yao Qi <yao.qi@linaro.org>
7555
7556 * gdb.trace/signal.c: New file.
7557 * gdb.trace/signal.exp: New file.
7558
7559 2016-04-19 Doug Evans <xdje42@gmail.com>
7560
7561 * gdb.base/bad-file.exp: New file.
7562
7563 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
7564
7565 * gdb.dwarf2/implref.exp: New file.
7566
7567 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
7568
7569 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
7570 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
7571 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
7572 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
7573 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
7574 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
7575 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
7576 * lib/fortran.exp (fortran_int4): New procedure.
7577 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
7578 (fortran_logical4): Likewise.
7579
7580 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
7581
7582 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
7583
7584 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
7585
7586 * lib/compiler.c: Add Intel specific preprocessor macros.
7587 * lib/compiler.cc: Likewise.
7588
7589 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
7590
7591 * gdb.server/connect-with-no-symbol-file.c: New file.
7592 * gdb.server/connect-with-no-symbol-file.exp: New file.
7593
7594 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
7595
7596 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
7597
7598 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
7599
7600 * boards/gdbserver-base.exp (${board}_download): Copy source file to
7601 standard output directory.
7602
7603 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
7604
7605 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
7606
7607 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
7608
7609 * gdb.btrace/instruction_history.c (loop): Add declaration.
7610
7611 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
7612
7613 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
7614
7615 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
7616
7617 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
7618 parentheses to print.
7619 (continue_handler): Likewise.
7620
7621 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
7622
7623 * gdb.server/solib-list.exp: Remove is_remote check.
7624 Pass shlib= to gdb_compile. Don't link shared library with
7625 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
7626 Run binary filename through "readlink -f" on the target.
7627
7628 2016-04-08 Pedro Alves <palves@redhat.com>
7629
7630 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
7631 interpreter filename as argument to gdbserver_spawn.
7632 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
7633 Return empty if $last_loaded_file does not exist.
7634
7635 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7636
7637 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
7638 * gdb.base/jit-main.c: Use exit after usage.
7639
7640 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7641
7642 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
7643 GDBHISTSIZE prior to the tests.
7644 * gdb.base/gdbinit-history.exp: Likewise.
7645
7646 2016-04-07 Pedro Alves <palves@redhat.com>
7647
7648 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
7649 instead of build_executable. Use gdb_load_shlibs.
7650
7651 2016-04-07 Yao Qi <yao.qi@linaro.org>
7652
7653 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
7654 Execute "si" command.
7655
7656 2016-04-07 Yao Qi <yao.qi@linaro.org>
7657
7658 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
7659 number instead of the comments on some line.
7660
7661 2016-04-06 Don Breazeal <donb@codesourcery.com>
7662
7663 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
7664 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
7665
7666 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
7667
7668 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
7669 standard_output_file. Remove unused binfile variable.
7670
7671 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
7672
7673 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
7674 * gdb.python/py-mi-objfile.exp: Match "list main" output
7675 in console format.
7676
7677 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
7678
7679 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
7680 absolute.
7681
7682 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
7683
7684 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
7685 absolute.
7686 * gdb.trace/ftrace.exp: Likewise.
7687 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
7688 targets as well.
7689 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
7690 (gdb_load_shlibs): Copy libraries to test directory when testing
7691 natively. Only set solib-search-path if testing remotely.
7692 * lib/mi-support.exp (mi_load_shlibs): Likewise.
7693
7694 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
7695
7696 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
7697 gdb_download. Use it even if the target is not remote.
7698 * gdb.base/jit.exp (compile_jit_test): Likewise.
7699 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
7700 output directory if the destination board is local, otherwise use
7701 the standard remote_download from DejaGnu.
7702 (gdb_download): Remove.
7703 (gdb_load_shlibs): Use gdb_remote_download instead of
7704 gdb_download.
7705 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
7706 Use gdb_remote_download instead of gdb_download. Use it even if
7707 the target is not remote.
7708 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
7709 instead of gdb_download.
7710
7711 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
7712
7713 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
7714 (test_insert_delete_modify): Call mi_load_shlibs before trying to
7715 run.
7716
7717 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
7718
7719 PR gdb/19820
7720 * gdb.base/printcmds.exp: Add artificial arrays tests.
7721
7722 2016-03-31 Pedro Alves <palves@redhat.com>
7723
7724 PR gdb/19858
7725 * gdb.base/jit-main.c: Include unistd.h.
7726 (ATTACH): Define to 0 if not already defined.
7727 (wait_for_gdb, mypid): New globals.
7728 (WAIT_FOR_GDB): New macro.
7729 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
7730 some breakpoint locations.
7731 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
7732 New procedures.
7733 (one_jit_test): Add REATTACH parameter, and handle it. Use
7734 continue_to_test_location.
7735 (top level): Test attach, and adjusts calls to one_jit_test.
7736
7737 2016-03-31 Pedro Alves <palves@redhat.com>
7738
7739 PR gdb/19858
7740 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
7741 BINSUFFIX parameter, and handle it.
7742 (top level): Adjust calls compile_jit_test.
7743
7744 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
7745
7746 PR python/19743
7747 * gdb.python/py-mi-events-gdb.py: New file.
7748 * gdb.python/py-mi-events.c: New file.
7749 * gdb.python/py-mi-events.exp: New file.
7750
7751 2016-03-30 Yao Qi <yao.qi@linaro.org>
7752
7753 * gdb.reverse/until-precsave.exp: Match function name only.
7754 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
7755 Move malloc to a condition block.
7756 * gdb.reverse/until-reverse.exp: Match function name only.
7757
7758 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
7759
7760 * gdb.trace/ftrace.exp: Set arg0exp for s390.
7761 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
7762 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
7763 variable for GPR 0 instead of assuming it is register 0.
7764 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
7765 * lib/trace-support.exp: Add s390 registers.
7766
7767 2016-03-29 Yao Qi <yao.qi@linaro.org>
7768
7769 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
7770
7771 2016-03-24 Yao Qi <yao.qi@linaro.org>
7772
7773 * gdb.reverse/break-reverse.exp: Add quotation mark in the
7774 test message.
7775
7776 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
7777
7778 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
7779 maintaining separate logic for constructing the output path.
7780
7781 2016-03-16 Don Breazeal <donb@codesourcery.com>
7782
7783 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
7784 Retry fork and waitpid on interrupted system call errors.
7785 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
7786 Use with_timeout_factor to increase timeout by factor of 10.
7787
7788 2016-03-15 Don Breazeal <donb@codesourcery.com>
7789
7790 * gdb.cp/scope-err.cc: New test program.
7791 * gdb.cp/scope-err.exp: New test script.
7792 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
7793 lines and "set breakpoint here" comment.
7794 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
7795 Fixed some whitespace and format issues.
7796 * gdb.mi/mi-linespec-err-cp.cc: New test program.
7797 * gdb.mi/mi-linespec-err-cp.exp: New test script.
7798
7799 2016-03-15 Doug Evans <dje@google.com>
7800
7801 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
7802 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
7803 All callers updated. Add tests for enums, mixed flags register.
7804
7805 2016-03-15 Doug Evans <dje@google.com>
7806
7807 * gdb.base/skip.c (main): Call test_skip_file_and_function.
7808 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
7809
7810 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
7811
7812 * gdb.base/default.exp: Add $_as_string to the list of expected
7813 convenience functions.
7814
7815 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
7816
7817 * gdb.base/maint.exp: New tests for 'maint info line-table'.
7818
7819 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
7820
7821 * gdb.python/py-as-string.exp: New file.
7822 * gdb.python/py-as-string.c: New file.
7823
7824 2016-03-09 Pedro Alves <palves@redhat.com>
7825
7826 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
7827 signal" -> "Thread NN received signal" output change.
7828 * gdb.threads/ia64-sigill.exp: Likewise.
7829 * gdb.threads/linux-dp.exp: Likewise.
7830 * gdb.threads/manythreads.exp: Likewise.
7831 * gdb.threads/pending-step.exp: Likewise.
7832 * gdb.threads/print-threads.exp: Likewise.
7833 * gdb.threads/sigstep-threads.exp: Likewise.
7834 * gdb.threads/staticthreads.exp: Likewise.
7835 * gdb.threads/tls.exp: Likewise.
7836
7837 2016-03-09 Pedro Alves <palves@redhat.com>
7838
7839 * gdb.base/command-line-input.exp: New file.
7840
7841 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
7842
7843 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
7844 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
7845 * gdb.trace/pending.exp: Accept leading dot before function name.
7846 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
7847 * lib/trace-support.exp: Set registers for ppc.
7848
7849 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
7850
7851 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
7852 use it for disassembly; accept .main in addition to main in backtrace.
7853
7854 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
7855 Marcin Kościelnicki <koriakin@0x04.net>
7856
7857 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
7858 (gdb_recursion_test_ptr): New global variable.
7859 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
7860 gdb_recursion_test.
7861 (gdb_c_test): Ditto.
7862
7863 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
7864
7865 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
7866 ordering.
7867
7868 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
7869
7870 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
7871 (bar): Add bar_start_lbl label.
7872 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
7873 of foo/bar for emitting DWARF and tracing.
7874
7875 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
7876
7877 * analyze-racy-logs.py: Set executable bit.
7878
7879 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
7880
7881 * Makefile.in (DEFAULT_RACY_ITER): New variable.
7882 (CHECK_TARGET_TMP): Likewise.
7883 (check-single-racy): New rule.
7884 (check-parallel-racy): Likewise.
7885 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
7886 (do-check-parallel-racy): New rule.
7887 (check-racy/%.exp): Likewise.
7888 * README (Racy testcases): New section.
7889 * analyze-racy-logs.py: New file.
7890
7891 2016-03-03 Doug Evans <dje@google.com>
7892
7893 * gdb.base/skip.exp: Use with_test_prefix.
7894
7895 2016-03-03 Yao Qi <yao.qi@linaro.org>
7896
7897 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
7898 Invoke step_over_syscall "clone" and break_cond_on_syscall
7899 "clone".
7900 * gdb.base/step-over-clone.c: New file.
7901
7902 2016-03-03 Yao Qi <yao.qi@linaro.org>
7903
7904 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
7905 code format.
7906
7907 2016-03-03 Yao Qi <yao.qi@linaro.org>
7908
7909 * gdb.base/disp-step-fork.c: Rename to ...
7910 * gdb.base/step-over-fork.c: ... it. New file.
7911 * gdb.base/disp-step-vfork.c: Rename to ...
7912 * gdb.base/step-over-vfork.c: ... it. New file.
7913 * gdb.base/disp-step-syscall.exp: Rename to ...
7914 * gdb.base/step-over-syscall.exp: ... it. New file.
7915 (disp_step_cross_syscall): Rename to ...
7916 (step_over_syscall): ... it.
7917
7918 2016-03-03 Yao Qi <yao.qi@linaro.org>
7919
7920 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
7921 If target supports condition evaluation on target, invoke
7922 break_cond_on_syscall for fork and vfork.
7923
7924 2016-03-03 Yao Qi <yao.qi@linaro.org>
7925
7926 * gdb.base/disp-step-syscall.exp: Don't invoke
7927 support_displaced_stepping.
7928 (disp_step_cross_syscall): Test with displaced stepping off and
7929 on if supported.
7930
7931 2016-03-03 Yao Qi <yao.qi@linaro.org>
7932
7933 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
7934 proc.
7935 (setup): New proc.
7936 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
7937 and setup.
7938
7939 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
7940
7941 * gdb.fortran/vla-history.exp: Remove breakpoint.
7942
7943 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
7944
7945 * gdb.fortran/vla-history.exp: Lookup array elements and printing
7946 exceeds timeout.
7947
7948 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
7949
7950 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
7951 breakpoint.
7952
7953 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
7954
7955 * gdb.mi/vla.f90: Nullify pointer after declaration.
7956
7957 2016-03-01 Pedro Alves <palves@redhat.com>
7958
7959 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
7960
7961 2016-03-01 Pedro Alves <palves@redhat.com>
7962
7963 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
7964 before anything else.
7965 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
7966 _GNU_SOURCE here.
7967 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
7968 before anything else.
7969 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
7970
7971 2016-03-01 Pedro Alves <palves@redhat.com>
7972
7973 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
7974
7975 2016-03-01 Yao Qi <yao.qi@linaro.org>
7976
7977 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
7978 prepare_for_testing.
7979
7980 2016-03-01 Yao Qi <yao.qi@linaro.org>
7981
7982 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
7983
7984 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
7985
7986 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
7987 manually constructing the output path.
7988
7989 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
7990
7991 * gdb.arch/s390-stackless.S: New.
7992 * gdb.arch/s390-stackless.exp: New.
7993
7994 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
7995
7996 * gdb.dlang/circular.c: New file.
7997 * gdb.dlang/circular.exp: New file.
7998
7999 2016-02-26 Yao Qi <yao.qi@linaro.org>
8000
8001 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
8002 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
8003 (testcases): Update.
8004
8005 2016-02-26 Yao Qi <yao.qi@linaro.org>
8006
8007 * gdb.reverse/aarch64.c: Rename to ...
8008 * gdb.reverse/insn-reverse.c: ... it.
8009 * gdb.reverse/aarch64.exp: Rename to ...
8010 * gdb.reverse/insn-reverse.exp: ... it.
8011
8012 2016-02-26 Yao Qi <yao.qi@linaro.org>
8013
8014 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
8015 (testcase_ftype): New.
8016 (testcases): New array.
8017 (n_testcases): New.
8018 (main): Call each element in testcases.
8019 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
8020 (read_testcase): New.
8021 Do the tests in a loop.
8022
8023 2016-02-25 Yao Qi <yao.qi@linaro.org>
8024
8025 * gdb.base/branches.c: Remove.
8026
8027 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
8028
8029 PR gdb/13808
8030 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
8031
8032 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
8033
8034 * gdb.trace/ftrace.exp: Remove unnecessary target check.
8035
8036 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
8037
8038 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
8039 change x86_64 call_insn to 'callq'.
8040
8041 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
8042
8043 * gdb.trace/tfile-avx.c: Move to...
8044 * gdb.trace/tracefile-pseudo-reg.c: Here.
8045 * gdb.trace/tfile-avx.exp: Move to...
8046 * gdb.trace/tracefile-pseudo-reg.exp: Here.
8047
8048 2016-02-24 Gary Benson <gbenson@redhat.com>
8049
8050 * gdb.base/attach-pie-noexec.exp: Do not expect an error
8051 message on attach.
8052
8053 2016-02-23 Doug Evans <dje@google.com>
8054
8055 * gdb.base/skip.c (test_skip): New function.
8056 (end_test_skip_file_and_function): New function.
8057 (test_skip_file_and_function): New function.
8058 * gdb.base/skip1.c (test_skip): New function.
8059 (skip1_test_skip_file_and_function): New function.
8060 * gdb.base/skip.exp: Add tests for new skip options.
8061 * gdb.base/skip-solib.exp: Update expected output.
8062 * gdb.perf/skip-command.cc: New file.
8063 * gdb.perf/skip-command.exp: New file.
8064 * gdb.perf/skip-command.py: New file.
8065
8066 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
8067
8068 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
8069 info registers pattern.
8070
8071 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
8072
8073 * lib/future.exp: Add D support.
8074 (gdb_find_gdc): New proc.
8075 (gdb_default_target_compile): Add D support.
8076
8077 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
8078
8079 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
8080 user+system time.
8081 (trace_speed_test): Determine the iteration count for a time
8082 between 15..30 seconds.
8083
8084 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
8085
8086 * gdb.arch/i386-mpx-sigsegv.c: New file.
8087 * gdb.arch/i386-mpx-sigsegv.exp: New file.
8088 * gdb.arch/i386-mpx-simple_segv.c: New file.
8089 * gdb.arch/i386-mpx-simple_segv.exp: New file.
8090
8091 2016-02-18 Yao Qi <yao.qi@linaro.org>
8092
8093 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
8094 Don't call setup_kfail.
8095
8096 2016-02-18 Yao Qi <yao.qi@linaro.org>
8097
8098 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
8099 Set "set breakpoint condition-evaluation" per $cond_bp_target.
8100
8101 2016-02-16 Doug Evans <dje@google.com>
8102
8103 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
8104 * gdb.base/skip1.c: Ditto.
8105 * gdb.base/skip.exp: Whitespace cleanup.
8106
8107 2016-02-16 Don Breazeal <donb@codesourcery.com>
8108
8109 PR remote/19496
8110 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
8111 Remove kfail for PR remote/19496.
8112
8113 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
8114
8115 * lib/gdb.exp (standard_temp_file): Return a path specific to
8116 the runtest invocation.
8117
8118 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
8119
8120 * gdb.trace/save-trace.exp: Change relative path to be in the
8121 standard output directory.
8122
8123 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8124
8125 * gdb.arch/i386-prologue.c: Add missing prototypes.
8126
8127 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8128
8129 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
8130 * gdb.arch/i386-prologue.exp: Likewise.
8131 * gdb.arch/i386-size.exp: Likewise.
8132
8133 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
8134
8135 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
8136 define object file path.
8137 * gdb.btrace/gcore.exp: Use standard_output_file to define core
8138 file path.
8139 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
8140 standard_output_file to define binfile.
8141
8142 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
8143
8144 Fix compatibility with recent gfortran-5.3.1.
8145 * gdb.fortran/vla-history.exp (print vla1 allocated)
8146 (print vla2 allocated, print $2, print $3): Remove
8147 (print $4): Rename to ...
8148 (print $2): ... here.
8149 (print $9): Rename to ...
8150 (print $5): ... here.
8151 (print $10): Rename to ...
8152 (print $6): ... here.
8153 * gdb.fortran/vla.f90: Add pvla initialization.
8154
8155 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
8156
8157 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
8158 New test.
8159 * gdb.fortran/vla-value-sub.exp: Likewise.
8160
8161 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
8162
8163 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
8164
8165 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
8166
8167 * i386-biarch-core.exp: Define corefile using
8168 standard_output_file.
8169
8170 2016-02-12 Yao Qi <yao.qi@linaro.org>
8171
8172 * gdb.arch/arm-single-step-kernel-helper.c: New.
8173 * gdb.arch/arm-single-step-kernel-helper.exp: New.
8174
8175 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
8176
8177 * gdb.btrace/tailcall-only.exp: New.
8178 * gdb.btrace/tailcall-only.c: New.
8179 * gdb.btrace/x86_64-tailcall-only.S: New.
8180 * gdb.btrace/i686-tailcall-only.S: New.
8181
8182 2016-02-11 Pedro Alves <palves@redhat.com>
8183
8184 * README (Parallel testing): Add missing double quotes.
8185
8186 2016-02-11 Pedro Alves <palves@redhat.com>
8187
8188 * README (Parallel testing): New section.
8189 (GDB_PARALLEL): Rewrite.
8190 (FORCE_PARALLEL): Document.
8191
8192 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
8193
8194 * gdb.trace/tfile-avx.c: New test.
8195 * gdb.trace/tfile-avx.exp: New test.
8196
8197 2016-02-09 Keith Seitz <keiths@redhat.com>
8198
8199 PR breakpoints/19546
8200 * gdb.base/infcall-exec.c: New file.
8201 * gdb.base/infcall-exec2.c: New file.
8202 * gdb.base/infcall-exec.exp: New file.
8203
8204 2016-02-09 Keith Seitz <keiths@redhat.com>
8205
8206 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
8207 (toplevel): Call test_bkpt_address.
8208
8209 2016-02-09 Keith Seitz <keiths@redhat.com>
8210
8211 PR python/19506
8212 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
8213 (toplevel): Call test_bkpt_address.
8214
8215 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
8216
8217 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
8218 to AC_OUTPUT.
8219 * configure: Regenerate.
8220
8221 2016-02-09 Pedro Alves <palves@redhat.com>
8222
8223 PR breakpoints/19548
8224 * gdb.base/execl-update-breakpoints.c (some_function): New
8225 function.
8226 (main): Call it.
8227 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
8228 Tighten expected GDB output.
8229
8230 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
8231
8232 * Makefile.in (ALL_SUBDIRS): Remove.
8233 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
8234 (distclean maintainer-clean realclean): Likewise.
8235 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
8236 * configure: Regenerate.
8237 * gdb.ada/Makefile.in: Delete.
8238 * gdb.arch/Makefile.in: Likewise.
8239 * gdb.asm/Makefile.in: Likewise.
8240 * gdb.base/Makefile.in: Likewise.
8241 * gdb.btrace/Makefile.in: Likewise.
8242 * gdb.cell/Makefile.in: Likewise.
8243 * gdb.compile/Makefile.in: Likewise.
8244 * gdb.cp/Makefile.in: Likewise.
8245 * gdb.disasm/Makefile.in: Likewise.
8246 * gdb.dlang/Makefile.in: Likewise.
8247 * gdb.dwarf2/Makefile.in: Likewise.
8248 * gdb.fortran/Makefile.in: Likewise.
8249 * gdb.gdb/Makefile.in: Likewise.
8250 * gdb.go/Makefile.in: Likewise.
8251 * gdb.guile/Makefile.in: Likewise.
8252 * gdb.java/Makefile.in: Likewise.
8253 * gdb.linespec/Makefile.in: Likewise.
8254 * gdb.mi/Makefile.in: Likewise.
8255 * gdb.modula2/Makefile.in: Likewise.
8256 * gdb.multi/Makefile.in: Likewise.
8257 * gdb.objc/Makefile.in: Likewise.
8258 * gdb.opencl/Makefile.in: Likewise.
8259 * gdb.opt/Makefile.in: Likewise.
8260 * gdb.pascal/Makefile.in: Likewise.
8261 * gdb.perf/Makefile.in: Likewise.
8262 * gdb.python/Makefile.in: Likewise.
8263 * gdb.reverse/Makefile.in: Likewise.
8264 * gdb.server/Makefile.in: Likewise.
8265 * gdb.stabs/Makefile.in: Likewise.
8266 * gdb.threads/Makefile.in: Likewise.
8267 * gdb.trace/Makefile.in: Likewise.
8268 * gdb.xml/Makefile.in: Likewise.
8269 * lib/gdb.exp (make_gdb_parallel_path): Add check for
8270 GDB_PARALLEL.
8271 (standard_output_file): Remove check for GDB_PARALLEL, always
8272 return path in outputs/$subdir/$testname.
8273
8274 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
8275
8276 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
8277 (site.exp): Assign abs_srcdir to tcl's srcdir.
8278
8279 2016-02-04 Yao Qi <yao.qi@linaro.org>
8280
8281 * gdb.base/foll-exec-mode.c: Include limits.h.
8282 (main): Add parameters argc and argv. Get directory from
8283 argv[0].
8284 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
8285 compilation.
8286 * gdb.base/foll-exec.c: Include limits.h.
8287 (main): Add parameters argc and argv.
8288 Get directory from argv[0].
8289 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
8290 Adjust tests on the number of lines as source code changed.
8291 * gdb.base/foll-vfork-exit.c: Include limits.h.
8292 (main): Add one line of statement before vfork.
8293 * gdb.base/foll-vfork.c: Include limits.h and string.h.
8294 (main): Add parameters argc and argv. Get directory from
8295 argv[0].
8296 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
8297 (setup_gdb): Set tbreak to skip some source lines.
8298 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
8299 (main): Add parameters argc and argv. Get directory from
8300 argv[0].
8301 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
8302 compilation.
8303 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
8304 (main): Add parameters argc and argv. Get directory from
8305 argv[0].
8306 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
8307 compilation.
8308
8309 2016-02-01 Doug Evans <dje@google.com>
8310
8311 * gdb.base/skip.exp: Clean up multiple references to same test name.
8312
8313 2016-02-01 Pedro Alves <palves@redhat.com>
8314
8315 PR remote/19496
8316 * gdb.threads/forking-threads-plus-breakpoint.exp
8317 (displaced_stepping_supported): New global.
8318 (probe_displaced_stepping_support): New procedure.
8319 (do_test): Add 'displaced' parameter, and use it.
8320 (top level): Check for displaced stepping support. Add displaced
8321 stepping on/off testing axis.
8322
8323 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
8324
8325 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
8326 pointer. Don't perform further tests on the unassociated pointer
8327 if the first test fails.
8328
8329 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
8330
8331 * gdb.base/max-value-size.c: New file.
8332 * gdb.base/max-value-size.exp: New file.
8333 * gdb.base/huge.exp: Disable max-value-size for this test.
8334
8335 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
8336
8337 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
8338
8339 2016-01-28 Yao Qi <yao.qi@linaro.org>
8340
8341 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
8342
8343 2016-01-25 Pedro Alves <palves@redhat.com>
8344
8345 PR threads/19461
8346 * gdb.base/fork-running-state.c: New file.
8347 * gdb.base/fork-running-state.exp: New file.
8348
8349 2016-01-25 Pedro Alves <palves@redhat.com>
8350
8351 PR gdb/19494
8352 * gdb.base/catch-fork-kill.c: New file.
8353 * gdb.base/catch-fork-kill.exp: New file.
8354
8355 2016-01-25 Pedro Alves <palves@redhat.com>
8356
8357 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
8358 Delete, moved to lib/gdb.exp.
8359 * gdb.threads/forking-threads-plus-breakpoint.exp
8360 (foreach_with_prefix): Likewise.
8361 * gdb.threads/process-dies-while-handling-bp.exp
8362 (foreach_with_prefix): Likewise.
8363 * lib/gdb.exp (foreach_with_prefix): New procedure.
8364
8365 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
8366
8367 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
8368 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
8369
8370 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
8371
8372 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
8373 endian targets.
8374
8375 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8376 Pedro Alves <palves@redhat.com>
8377
8378 Fix testsuite compatibility with Guile.
8379 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
8380 number.
8381
8382 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8383
8384 Fix testsuite compatibility with Guile.
8385 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
8386 (thread 1): New test for backtrace through signal handler.
8387
8388 2016-01-22 Yao Qi <yao.qi@linaro.org>
8389
8390 PR testsuite/19491
8391 * gdb.base/multi-forks.c: Include
8392 ../lib/unbuffer_output.c
8393 (main): Call gdb_unbuffer_output.
8394
8395 2016-01-21 Doug Evans <dje@google.com>
8396
8397 * lib/ada.exp (gdb_compile_ada): Fix typo.
8398
8399 2016-01-21 Joel Brobecker <brobecker@adacore.com>
8400
8401 * gdb.base/break-fun-addr.exp: New file.
8402 * gdb.base/break-fun-addr1.c: New file.
8403 * gdb.base/break-fun-addr2.c: New file.
8404
8405 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
8406
8407 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
8408 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
8409 enum flag values.
8410
8411 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
8412
8413 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
8414 when GDB can not set the vector return value. Add more comments
8415 for clarification.
8416
8417 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
8418
8419 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
8420 command.
8421
8422 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
8423
8424 * Makefile.in (DO_RUNTEST): Add --status and update usages.
8425
8426 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
8427
8428 * Makefile.in (check-single): Pass --status to runtest.
8429 (check/%.exp): Likewise.
8430
8431 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
8432
8433 * Makefile.in (check-parallel): Propagate return code from make
8434 do-check-parallel.
8435
8436 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
8437
8438 * gdb.trace/ftrace.exp: Fix expected message on continue.
8439 * gdb.trace/pending.exp: Fix expected message on continue.
8440 * gdb.trace/trace-break.exp: Fix expected message on continue.
8441
8442 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
8443
8444 * lib/gdb.exp (gdb_test): Remove unused global references.
8445
8446 2016-01-18 Pedro Alves <palves@redhat.com>
8447
8448 * gdb.base/async-shell.exp: Adjust expected output.
8449 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
8450 * gdb.base/siginfo-thread.exp: Adjust expected output.
8451 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
8452 * gdb.java/jnpe.exp: Adjust expected output.
8453 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
8454 * gdb.threads/continue-pending-status.exp: Adjust expected output.
8455 * gdb.threads/leader-exit.exp: Adjust expected output.
8456 * gdb.threads/manythreads.exp: Adjust expected output.
8457 * gdb.threads/pthreads.exp: Adjust expected output.
8458 * gdb.threads/schedlock.exp: Adjust expected output.
8459 * gdb.threads/siginfo-threads.exp: Adjust expected output.
8460 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
8461 expected output.
8462 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
8463 output.
8464 * gdb.threads/sigthread.exp: Adjust expected output.
8465 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
8466
8467 2016-01-18 Yao Qi <yao.qi@linaro.org>
8468
8469 * gdb.guile/scm-section-script.c: Replace @progbits with
8470 %progbits.
8471 * gdb.python/py-section-script.c: Likewise.
8472
8473 2016-01-15 Pedro Alves <palves@redhat.com>
8474
8475 * gdb.multi/tids.exp: Test star wildcard ranges.
8476
8477 2016-01-15 Pedro Alves <palves@redhat.com>
8478
8479 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
8480 command from "thread apply" invocation.
8481 (thr_apply_info_thr_invalid): Default the expected output to the
8482 input tid list.
8483 (top level): Add tests that use convenience variables. Add tests
8484 for "thread apply" with a valid TID list, but missing the command.
8485
8486 2016-01-13 Pedro Alves <palves@redhat.com>
8487
8488 * gdb.base/default.exp: Expect $_gthread as well.
8489 * gdb.multi/tids.exp: Test $_gthread.
8490 * gdb.threads/thread-specific.exp: Test $_gthread.
8491
8492 2016-01-13 Pedro Alves <palves@redhat.com>
8493
8494 * gdb.multi/tids.exp: Test "info threads -gid".
8495
8496 2016-01-13 Pedro Alves <palves@redhat.com>
8497
8498 * gdb.multi/tids.exp: Test InferiorThread.global_num and
8499 Breakpoint.thread.
8500 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
8501
8502 2016-01-07 Pedro Alves <palves@redhat.com>
8503
8504 * gdb.base/break.exp: Adjust to output changes.
8505 * gdb.base/hbreak2.exp: Likewise.
8506 * gdb.base/sepdebug.exp: Likewise.
8507 * gdb.base/watch_thread_num.exp: Likewise.
8508 * gdb.linespec/keywords.exp: Likewise.
8509 * gdb.multi/info-threads.exp: Likewise.
8510 * gdb.threads/thread-find.exp: Likewise.
8511 * gdb.multi/tids.c: New file.
8512 * gdb.multi/tids.exp: New file.
8513
8514 2016-01-13 Pedro Alves <palves@redhat.com>
8515
8516 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
8517
8518 2016-01-13 Pedro Alves <palves@redhat.com>
8519
8520 * gdb.base/default.exp: Expect $_inferior as well.
8521 * gdb.multi/base.exp: Test $_inferior.
8522
8523 2016-01-13 Pedro Alves <palves@redhat.com>
8524
8525 PR breakpoints/19388
8526 * gdb.base/catch-signal-siginfo-cond.c: New file.
8527 * gdb.base/catch-signal-siginfo-cond.exp: New file.
8528
8529 2016-01-12 Josh Stone <jistone@redhat.com>
8530 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8531
8532 * gdb.base/catch-syscall.c (do_execve): New variable.
8533 (main): Conditionally trigger an execve.
8534 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
8535 (test_catch_syscall_execve): New, check entry/return across execve.
8536 (do_syscall_tests): Call test_catch_syscall_execve.
8537
8538 2016-01-12 Pedro Alves <palves@redhat.com>
8539
8540 * gdb.base/random-signal.exp (do_test): New procedure, with body
8541 of testcase moved in.
8542
8543 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8544 Pedro Alves <palves@redhat.com>
8545
8546 * gdb.base/funcargs.exp (finish from indirectly called function):
8547 Reintroduce the case for 'First'.
8548
8549 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8550 Pedro Alves <palves@redhat.com>
8551
8552 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
8553 (tcatch_vfork_then_child_follow_exec)
8554 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
8555 identification.
8556
8557 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8558
8559 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
8560 and repeats to unlimited.
8561 * gdb.python/py-value.exp: Likewise.
8562 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
8563 and repeats to unlimited.
8564
8565 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8566
8567 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
8568 and reordering the functions.
8569 * gdb.multi/hangout.c: Likewise.
8570 * gdb.multi/hello.c: Likewise.
8571
8572 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
8573
8574 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
8575 absolute.
8576 (SingleStatisticTestResult.report): Use dict.keys instead of
8577 dict.iterkeys.
8578
8579 2016-01-06 Pedro Alves <palves@redhat.com>
8580
8581 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
8582
8583 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
8584
8585 * gdb.btrace/dlopen.exp: New.
8586 * gdb.btrace/dlopen.c: New.
8587 * gdb.btrace/dlopen-dso.c: New.
8588
8589 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
8590
8591 * lib/gdb.exp (gdb_test): Update comments to clarify that the
8592 PATTERN argument is optional.
8593
8594 2015-12-24 Joel Brobecker <brobecker@adacore.com>
8595
8596 * lib/ada.exp (target_compile_ada_from_dir): New function.
8597 (gdb_compile_ada): Reimplement avoiding the use of project files.
8598 * gdb.ada/gnat_ada.gpr: Delete.
8599 * gdb.ada/cond_lang.exp: Adjust test to make path before
8600 filename optional.
8601 * gdb.ada/small_reg_param.exp: Likewise.
8602
8603 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
8604
8605 * gdb.base/foll-vork.exp: Remove HP-UX special case.
8606
8607 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
8608
8609 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
8610 case.
8611
8612 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
8613
8614 * gdb.base/break.exp: Remove dead code.
8615 * gdb.base/sepdebug.exp: Likewise.
8616
8617 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
8618
8619 * gdb.asm/asm-source.exp: Remove HP-UX references.
8620 * gdb.base/annota1.exp: Likewise.
8621 * gdb.base/annota3.exp: Likewise.
8622 * gdb.base/attach.exp: Likewise.
8623 * gdb.base/bigcore.exp: Likewise.
8624 * gdb.base/break.exp: Likewise.
8625 * gdb.base/call-ar-st.exp: Likewise.
8626 * gdb.base/callfuncs.exp: Likewise.
8627 * gdb.base/catch-fork-static.exp: Likewise.
8628 * gdb.base/display.exp: Likewise.
8629 * gdb.base/foll-exec-mode.exp: Likewise.
8630 * gdb.base/foll-exec.exp: Likewise.
8631 * gdb.base/foll-fork.exp: Likewise.
8632 * gdb.base/foll-vfork.exp: Likewise.
8633 * gdb.base/funcargs.exp: Likewise.
8634 * gdb.base/hbreak2.exp: Likewise.
8635 * gdb.base/inferior-died.exp: Likewise.
8636 * gdb.base/interrupt.exp: Likewise.
8637 * gdb.base/multi-forks.exp: Likewise.
8638 * gdb.base/nodebug.exp: Likewise.
8639 * gdb.base/sepdebug.exp: Likewise.
8640 * gdb.base/solib1.c: Likewise.
8641 * gdb.base/step-test.exp: Likewise.
8642 * gdb.mi/non-stop.c: Likewise.
8643 * gdb.mi/pthreads.c: Likewise.
8644 * gdb.multi/bkpt-multi-exec.ex: Likewise.
8645 * gdb.threads/pthreads.c: Likewise.
8646 * gdb.threads/staticthreads.exp: Likewise.
8647 * lib/future.exp: Likewise.
8648 * lib/gdb.exp: Likewise.
8649 * gdb.base/so-indr-cl.c: Remove.
8650 * gdb.base/so-indr-cl.exp: Likewise.
8651 * gdb.base/solib.c: Likewise.
8652 * gdb.base/solib.exp: Likewise.
8653 * gdb.base/solib2.c: Likewise.
8654
8655 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
8656
8657 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
8658 * gdb.base/call-ar-st.exp: Likewise.
8659 * gdb.base/callfuncs.exp: Likewise.
8660 * gdb.base/condbreak.exp: Likewise.
8661 * gdb.base/constvars.exp: Likewise.
8662 * gdb.base/hbreak2.exp: Likewise.
8663 * gdb.base/langs.exp: Likewise.
8664 * gdb.base/list.exp: Likewise.
8665 * gdb.base/long_long.exp: Likewise.
8666 * gdb.base/ptype.exp: Likewise.
8667 * gdb.base/scope.exp: Likewise.
8668 * gdb.base/signals.exp: Likewise.
8669 * gdb.base/so-impl-ld.exp: Likewise.
8670 * gdb.base/varargs.exp: Likewise.
8671 * gdb.base/volatile.exp: Likewise.
8672 * gdb.base/whatis.exp: Likewise.
8673 * gdb.cp/cplusfuncs.exp: Likewise.
8674 * gdb.cp/inherit.exp: Likewise.
8675 * gdb.cp/local.exp: Likewise.
8676 * gdb.cp/member-ptr.exp: Likewise.
8677 * gdb.cp/method.exp: Likewise.
8678 * gdb.cp/overload.exp: Likewise.
8679 * gdb.cp/templates.exp: Likewise.
8680 * gdb.stabs/weird.exp: Likewise.
8681 * lib/compiler.c: Likewise.
8682 * lib/compiler.cc: Likewise.
8683 * lib/cp-support.exp: Likewise.
8684 * lib/gdb.exp: Likewise.
8685
8686 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
8687
8688 * configure.ac: Remove HP-UX case.
8689 * configure: Regenerate.
8690
8691 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
8692
8693 * lib/gdb.exp (gdb_compile): Add function doc.
8694
8695 2015-12-17 Pedro Alves <palves@redhat.com>
8696
8697 PR threads/19354
8698 * gdb.multi/info-threads.exp: New file.
8699
8700 2015-12-15 Yao Qi <yao.qi@linaro.org>
8701
8702 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
8703 is aarch64*-*-*.
8704
8705 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
8706
8707 * gdb.base/history-duplicates.exp: Skip if no readline support.
8708
8709 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
8710
8711 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
8712
8713 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
8714
8715 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
8716
8717 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
8718
8719 * gdb.base/completion.exp: Skip tests that interrupt GDB with
8720 ctrl-C if nointerrupts target property is set.
8721 * gdb.base/double-prompt-target-event-error.exp: Likewise.
8722 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
8723 * gdb.base/paginate-bg-execution.exp: Likewise.
8724 * gdb.base/paginate-execution-startup.exp: Likewise.
8725 * gdb.base/random-signal.exp: Likewise.
8726 * gdb.base/range-stepping.exp: Likewise.
8727 * gdb.cp/annota2.exp: Likewise.
8728 * gdb.cp/annota3.exp: Likewise.
8729 * gdb.gdb/selftest.exp: Likewise.
8730 * gdb.threads/continue-pending-status.exp: Likewise.
8731 * gdb.threads/leader-exit.exp: Likewise.
8732 * gdb.threads/manythreads.exp: Likewise.
8733 * gdb.threads/pthreads.exp: Likewise.
8734 * gdb.threads/schedlock.exp: Likewise.
8735 * gdb.threads/sigthread.exp: Likewise.
8736
8737 2015-12-11 Don Breazeal <donb@codesourcery.com>
8738
8739 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
8740 remote.
8741 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
8742 * gdb.base/foll-exec.exp (main): Enable for target remote.
8743 * gdb.base/foll-fork.exp (main): Likewise.
8744 * gdb.base/foll-vfork.exp (main): Likewise.
8745 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
8746 (proc continue_to_exit_bp_loc): Use clean_restart.
8747 * gdb.base/pie-execl.exp (main): Disable for target remote.
8748 * gdb.base/watch-vfork.exp (main): Enable for target remote.
8749 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
8750 * gdb.threads/execl.exp (main): Likewise.
8751 * gdb.threads/fork-child-threads.exp (main): Likewise.
8752 * gdb.threads/fork-plus-threads.exp (main): Disable for target
8753 remote.
8754 * gdb.threads/fork-thread-pending.exp (main): Enable for target
8755 remote.
8756 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
8757 pid.tid style ptids, instead of just tid.
8758 * gdb.threads/thread-execl.exp (main): Enable for target remote.
8759 * gdb.threads/watchpoint-fork.exp (main): Likewise.
8760 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
8761 ptids, instead of just tid.
8762
8763 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
8764
8765 * gdb.base/list.exp (test_list_forward): Add end of file error
8766 test.
8767 (test_repeat_list_command): Add end of file error test.
8768 (test_list_backwards): Add beginning of file error test.
8769
8770 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
8771
8772 * gdb.base/list.exp (test_list_invalid_args): New function,
8773 defined, and called.
8774
8775 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
8776
8777 * gdb.base/list.exp (test_list): Make test names unique.
8778
8779 2015-12-11 Yao Qi <yao.qi@linaro.org>
8780
8781 * gdb.base/coremaker2.c: Remove.
8782
8783 2015-12-10 Pedro Alves <palves@redhat.com>
8784
8785 * gdb.multi/base.exp: Remove stale "spaces" references.
8786
8787 2015-12-10 Pedro Alves <palves@redhat.com>
8788
8789 * gdb.multi/base.exp: Don't use nowarnings.
8790 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
8791 * gdb.multi/hangout.c: Include stdio.h.
8792 * gdb.multi/hello.c: Include stdlib.h.
8793 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
8794 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
8795 * gdb.multi/multi-arch.exp: Don't use nowarnings.
8796
8797 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
8798
8799 * gdb.dwarf2/dw2-ranges-base.c: New file.
8800 * gdb.dwarf2/dw2-ranges-base.exp: New file.
8801 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
8802 support additional line table, and debug ranges generation.
8803 (Dwarf::ranges): New function, generate .debug_ranges.
8804 (Dwarf::lines): Support generating simple line table programs.
8805 (Dwarf::assemble): Initialise new namespace variables.
8806
8807 2015-12-09 Kevin Buettner <kevinb@redhat.com>
8808
8809 * gdb.base/async.exp (proc test_background): Add case for
8810 asynchronous execution not supported.
8811
8812 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
8813
8814 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
8815 format and change test names to make them unique.
8816
8817 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
8818 Pedro Alves <pedro@redhat.com>
8819
8820 PR gdb/18702
8821 Add checking of floatformats setup on x86_64 hosts.
8822 * gdb.arch/i386-float.S (main): Load bigval and smallval.
8823 (smallval, bigval): New labels/constants.
8824 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
8825 float" after loading bigval and smallval.
8826
8827 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
8828
8829 * gdb.ada/fun_overload_menu.exp: New testcase.
8830 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
8831
8832 2015-12-04 Josh Stone <jistone@redhat.com>
8833
8834 * gdb.base/catch-fork-static.exp: New.
8835
8836 2015-12-03 Yao Qi <yao.qi@linaro.org>
8837
8838 * gdb.base/sizeof.c: Don't include stdio.h and
8839 ../lib/unbuffer_output.c.
8840 (main): New variable 'size' and 'value'. Remove printf and
8841 gdb_unbuffer_output. Assign return value to size and value.
8842 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
8843 at the beginning.
8844 (check_sizeof): Check the result by printing variable 'size'.
8845 (check_valueof): Check the result by printing variable 'value'.
8846
8847 2015-12-01 Yao Qi <yao.qi@linaro.org>
8848
8849 * gdb.base/disp-step-syscall.exp: Define syscall instruction
8850 for aarch64*-*-linux* target.
8851
8852 2015-11-30 Pedro Alves <palves@redhat.com>
8853
8854 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
8855
8856 2015-11-30 Pedro Alves <palves@redhat.com>
8857
8858 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
8859 Handle non-stop mode vCont replies.
8860
8861 2015-11-30 Pedro Alves <palves@redhat.com>
8862
8863 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
8864 prepare_for_testing. Start gdb with "set non-stop on" appended to
8865 GDBFLAGS. Lax expected stop output.
8866
8867 2015-11-27 Yao Qi <yao.qi@linaro.org>
8868
8869 * gdb.arch/arm-neon.exp: New.
8870 * gdb.arch/arm-neon.c: New.
8871
8872 2015-11-27 Yao Qi <yao.qi@linaro.org>
8873
8874 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
8875
8876 2015-11-27 Yao Qi <yao.qi@linaro.org>
8877
8878 * gdb.cp/annota2.exp: Allow multiple occurrences of the
8879 frames-invalid annotation.
8880
8881 2015-11-27 Yao Qi <yao.qi@linaro.org>
8882
8883 * gdb.cp/annota2.exp: Use ${frames_invalid}.
8884
8885 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
8886
8887 * gdb.threads/names.exp: New file.
8888 * gdb.threads/names.c: New file.
8889 * README: Mention gdb,no_thread_names.
8890
8891 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
8892
8893 PR 19297
8894 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
8895 support" error.
8896
8897 2015-11-24 Pedro Alves <palves@redhat.com>
8898
8899 PR 17539
8900 * gdb.base/display.exp: Expect displays to be sorted in ascending
8901 order. Use multi_line.
8902 * gdb.base/solib-display.exp: Likewise.
8903
8904 2015-11-24 Pedro Alves <palves@redhat.com>
8905
8906 PR 17539
8907 * gdb.base/display.exp: Expect displays to be sorted in ascending
8908 order. Use multi_line.
8909 * gdb.base/solib-display.exp: Likewise.
8910
8911 2015-11-24 Pedro Alves <palves@redhat.com>
8912
8913 PR 17539
8914 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
8915 threads in ascending order.
8916 * gdb.base/foll-fork.exp: Likewise.
8917 * gdb.base/foll-vfork.exp: Likewise.
8918 * gdb.base/multi-forks.exp: Likewise.
8919 * gdb.mi/mi-nonstop.exp: Likewise.
8920 * gdb.mi/mi-nsintrall.exp: Likewise.
8921 * gdb.multi/base.exp: Likewise.
8922 * gdb.multi/multi-arch.exp: Likewise.
8923 * gdb.python/py-inferior.exp: Likewise.
8924 * gdb.threads/break-while-running.exp: Likewise.
8925 * gdb.threads/execl.exp: Likewise.
8926 * gdb.threads/gcore-thread.exp: Likewise.
8927 * gdb.threads/info-threads-cur-sal.exp: Likewise.
8928 * gdb.threads/kill.exp: Likewise.
8929 * gdb.threads/linux-dp.exp: Likewise.
8930 * gdb.threads/multiple-step-overs.exp: Likewise.
8931 * gdb.threads/next-bp-other-thread.exp: Likewise.
8932 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
8933 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
8934 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
8935 * gdb.threads/thread-find.exp: Likewise.
8936 * gdb.threads/tls.exp: Likewise.
8937 * lib/mi-support.exp (mi_reverse_list): Delete.
8938 (mi_check_thread_states): No longer reverse list.
8939
8940 2015-11-24 Pedro Alves <palves@redhat.com>
8941
8942 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
8943 use lowercase.
8944
8945 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
8946
8947 * gdb.trace/actions.c: Include trace-common.h.
8948 (main): Add a location for a fast tracepoint.
8949 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
8950 the normal tracepoints.
8951 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
8952
8953 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
8954
8955 * save-trace.exp: Factor out code to these...
8956 (gdb_save_tracepoints): New.
8957 (gdb_load_tracepoints): New.
8958 (do_save_load_test): New.
8959
8960 2015-11-23 Kevin Buettner <kevinb@redhat.com>
8961
8962 * gdb.base/asmlabel.exp: New test.
8963 * gdb.base/asmlabel.c: New test case.
8964
8965 2015-11-23 Joel Brobecker <brobecker@adacore.com>
8966
8967 * gdb.base/wrong_frame_bt_full-main.c: New file.
8968 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
8969 * gdb.base/wrong_frame_bt_full.exp: New file.
8970
8971 2015-11-23 Joel Brobecker <brobecker@adacore.com>
8972
8973 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
8974
8975 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
8976
8977 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
8978 pstate register when comparing registers values in
8979 sparc64-*-linux-gnu targets to avoid spurious differences.
8980
8981 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
8982
8983 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
8984
8985 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
8986
8987 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
8988 as type argument to gdb_compile.
8989 * gdb.base/nested-subp2.exp: Likewise.
8990 * gdb.base/nested-subp3.exp: Likewise.
8991
8992 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
8993
8994 * lib/dwarf.exp (_note): Fix left shift of negative value.
8995 * gdb.trace/trace-condition.exp: Likewise.
8996
8997 2015-11-13 Yao Qi <yao.qi@linaro.org>
8998
8999 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
9000 comments about d10v.
9001 (test_scalar_returns): Likewise.
9002 * gdb.base/d10v.ld: Remove.
9003 * gdb.base/overlays.exp: Remove the target triplet checking for
9004 d10v-*-*.
9005 * gdb.base/structs.exp (test_struct_returns): Remove the
9006 comments about d10v.
9007 (test_struct_calls): Likewise.
9008
9009 2015-11-13 Yao Qi <yao.qi@linaro.org>
9010
9011 * gdb.base/gnu_vector.exp: Check the return value by "p res".
9012 * gdb.base/gnu_vector.c: Don't include stdio.h.
9013 (main): Don't print res and call add_some_intvecs.
9014
9015 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
9016
9017 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
9018 macro.
9019 (func5): Removed.
9020 (func4): Use FAST_TRACEPOINT_LABEL.
9021 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
9022 macro.
9023 (func): Removed.
9024 (thread_function): Use FAST_TRACEPOINT_LABEL.
9025 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
9026 (func): Remove.
9027 (marker): Use FAST_TRACEPOINT_LABEL.
9028 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
9029 (pendfunc1): Remove.
9030 (pendfunc): Use FAST_TRACEPOINT_LABEL.
9031 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
9032 (foo): Remove.
9033 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
9034 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
9035 macro.
9036 (func): Remove.
9037 (marker): Use FAST_TRACEPOINT_LABEL.
9038 * gdb.trace/trace-common.h: New header.
9039 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
9040 macro.
9041 (func): Remove.
9042 (marker): Use FAST_TRACEPOINT_LABEL.
9043 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
9044 (func): Remove.
9045 (thread_function): Use FAST_TRACEPOINT_LABEL.
9046
9047 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
9048
9049 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
9050 in front.
9051 * gdb.trace/change-loc.exp: Use global pcreg definition.
9052 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
9053 * gdb.trace/entry-values.exp: Use global spreg definition, add $
9054 in front.
9055 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
9056 * gdb.trace/pending.exp: Likewise.
9057 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
9058 * gdb.trace/trace-break.exp: Likewise.
9059 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
9060 in front.
9061 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
9062 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
9063 in front.
9064 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
9065
9066 2015-11-09 Joel Brobecker <brobecker@adacore.com>
9067
9068 * gdb.ada/fin_fun_out: New testcase.
9069
9070 2015-11-07 Kevin Buettner <kevinb@redhat.com>
9071
9072 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
9073 value associated with DW_AT_byte_size.
9074 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
9075 constants for DW_AT_byte_size, DW_AT_lower_bound, and
9076 DW_AT_upper_bound.
9077
9078 2015-11-07 Kevin Buettner <kevinb@redhat.com>
9079
9080 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
9081 (gdb_target_symbol_prefix_flags): Define in terms of _asm
9082 version.
9083 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
9084 gdb.dwarf2/dw2-canonicalize-type.exp,
9085 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
9086 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
9087 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
9088 provided by gdb_target_symbol_prefix_flags_asm.
9089 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
9090 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
9091 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
9092 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
9093 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
9094 macros where needed). Use this macro for symbols which require
9095 the prefix provided by SYMBOL_PREFIX.
9096
9097 2015-11-05 Kevin Buettner <kevinb@redhat.com>
9098
9099 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
9100 New procs.
9101 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
9102 representing expressions, of more than one list element.
9103 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
9104 to prepend linker symbol prefix to f.
9105 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
9106 table_1 and table_2.
9107 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
9108 Likewise, for f and g.
9109 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
9110 for ptr.
9111 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
9112 for main.
9113 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
9114 table_1_ptr and table_2_ptr.
9115
9116 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9117 Joel Brobecker <brobecker@adacore.com>
9118
9119 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
9120
9121 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
9122
9123 * gdb.reverse/s390-mvcle.c: New test.
9124 * gdb.reverse/s390-mvcle.exp: New file.
9125 * lib/gdb.exp: Enable reverse tests on s390*-linux.
9126
9127 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
9128
9129 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
9130
9131 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
9132
9133 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
9134 reaching marker2.
9135 * gdb.reverse/getresuid-reverse.exp: Likewise.
9136 * gdb.reverse/pipe-reverse.exp: Likewise.
9137 * gdb.reverse/readv-reverse.exp: Likewise.
9138 * gdb.reverse/recvmsg-reverse.exp: Likewise.
9139 * gdb.reverse/time-reverse.exp: Likewise.
9140 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
9141
9142 2015-10-30 Yao Qi <yao.qi@linaro.org>
9143
9144 * gdb.threads/wp-replication.c (watch_count_done): Remove.
9145 (empty_cycle): Remove.
9146 (main): Don't call empty_cycle. Don't use watch_count_done.
9147 * gdb.threads/wp-replication.exp: Don't set breakpoint on
9148 empty_cycle. Rewrite the code counting HW watchpoints.
9149
9150 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
9151
9152 * gdb.reverse/fstatat-reverse.c: New test.
9153 * gdb.reverse/fstatat-reverse.exp: New file.
9154 * gdb.reverse/getresuid-reverse.c: New test.
9155 * gdb.reverse/getresuid-reverse.exp: New file.
9156 * gdb.reverse/pipe-reverse.c: New test.
9157 * gdb.reverse/pipe-reverse.exp: New file.
9158 * gdb.reverse/readv-reverse.c: New test.
9159 * gdb.reverse/readv-reverse.exp: New file.
9160 * gdb.reverse/recvmsg-reverse.c: New test.
9161 * gdb.reverse/recvmsg-reverse.exp: New file.
9162 * gdb.reverse/time-reverse.c: New test.
9163 * gdb.reverse/time-reverse.exp: New file.
9164 * gdb.reverse/waitpid-reverse.c: New test.
9165 * gdb.reverse/waitpid-reverse.exp: New file.
9166
9167 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
9168
9169 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
9170
9171 2015-10-26 Doug Evans <dje@google.com>
9172
9173 PR symtab/17391
9174 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
9175 * gdb.dwarf2/bad-regnum.c: New file.
9176 * gdb.dwarf2/bad-regnum.exp: New file.
9177
9178 2015-10-26 Doug Evans <dje@google.com>
9179
9180 PR python/18938
9181 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
9182 file.
9183
9184 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9185
9186 * gdb.compile/compile.exp (compile code globalvar): Update expectation
9187 for a change by "Mention language in compile error message".
9188
9189 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
9190
9191 PR python/18073
9192 * gdb.python/py-type.c (C::a_method): New.
9193 (C::a_const_method): New.
9194 (C::a_static_method): New.
9195 (a_function): New.
9196 * gdb.python/py-type.exp (test_fields): Test getting fields
9197 from function and method.
9198
9199 2015-10-21 Keven Boell <keven.boell@intel.com>
9200
9201 * gdb.fortran/vla-alloc-assoc.exp: New file.
9202 * gdb.fortran/vla-datatypes.exp: New file.
9203 * gdb.fortran/vla-datatypes.f90: New file.
9204 * gdb.fortran/vla-history.exp: New file.
9205 * gdb.fortran/vla-ptype-sub.exp: New file.
9206 * gdb.fortran/vla-ptype.exp: New file.
9207 * gdb.fortran/vla-sizeof.exp: New file.
9208 * gdb.fortran/vla-sub.f90: New file.
9209 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
9210 * gdb.fortran/vla-value-sub-finish.exp: New file.
9211 * gdb.fortran/vla-value-sub.exp: New file.
9212 * gdb.fortran/vla-value.exp: New file.
9213 * gdb.fortran/vla-ptr-info.exp: New file.
9214 * gdb.mi/mi-vla-fortran.exp: New file.
9215 * gdb.mi/vla.f90: New file.
9216
9217 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
9218
9219 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
9220 of hardwired timeout value.
9221
9222 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9223 Pedro Alves <palves@redhat.com>
9224
9225 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
9226 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
9227
9228 2015-10-19 Josh Stone <jistone@redhat.com>
9229
9230 * gdb.base/catch-syscall.c: Include <sched.h>.
9231 (unknown_syscall): New variable.
9232 (main): Trigger a vfork and an unknown syscall.
9233 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
9234 (unknown_syscall_number): Likewise.
9235 (check_call_to_syscall): Accept an optional syscall pattern.
9236 (check_return_from_syscall): Likewise.
9237 (check_continue): Likewise.
9238 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
9239 (test_catch_syscall_skipping_return): New test toggling off 'catch
9240 syscall' to step over the syscall return, then toggling back on.
9241 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
9242 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
9243 (do_syscall_tests): Call test_catch_syscall_without_args and
9244 test_catch_syscall_mid_vfork.
9245 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
9246 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
9247
9248 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
9249
9250 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
9251 print g_vE): Add new pass patterns.
9252 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
9253 print various symbol names for vptr fields.
9254
9255 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
9256
9257 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
9258 results.
9259
9260 2015-10-12 Yao Qi <yao.qi@linaro.org>
9261
9262 * gdb.arch/disp-step-insn-reloc.exp: New test case.
9263
9264 2015-10-12 Yao Qi <yao.qi@linaro.org>
9265
9266 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
9267 is aarch64*-*-linux*.
9268
9269 2015-10-12 Yao Qi <yao.qi@linaro.org>
9270
9271 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
9272 (can_relocate_bcond_true): ... it.
9273 (can_relocate_bcond_false): New function.
9274 (foo): Likewise.
9275 (can_relocate_bl): Likewise.
9276 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
9277 can_relocate_bl.
9278
9279 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
9280
9281 * gdb.base/nested-addr.c: New file.
9282 * gdb.base/nested-addr.exp: New testcase.
9283
9284 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
9285
9286 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
9287 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
9288 its output. Ignore the output of "record goto begin" and instead
9289 check that GDB is replaying.
9290
9291 2015-10-09 Pedro Alves <palves@redhat.com>
9292
9293 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
9294 (top level): Use it in the run with no args test.
9295
9296 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
9297
9298 * gdb.dlang/properties.exp: New file.
9299
9300 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
9301
9302 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
9303 whether or not address 0x1000 is mapped on the target.
9304
9305 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
9306
9307 * gdb.python/py-type.exp: Do not run tests if binaries fail to
9308 build.
9309
9310 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
9311
9312 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
9313 instruction-history test.
9314
9315 2015-09-28 Doug Evans <dje@google.com>
9316
9317 * gdb.base/gcore.c (array_func): Add reference to static_array.
9318
9319 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
9320
9321 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
9322 source line.
9323
9324 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
9325
9326 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
9327 short or char as base type.
9328
9329 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
9330
9331 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
9332 to allow any size enum.
9333
9334 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
9335
9336 * gdb.ada/array_ptr_renaming.exp: New testcase.
9337 * gdb.ada/array_ptr_renaming/foo.adb: New file.
9338 * gdb.ada/array_ptr_renaming/pack.ads: New file.
9339
9340 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
9341
9342 * gdb.trace/ftrace-lock.c: New file.
9343 * gdb.trace/ftrace-lock.exp: New file.
9344
9345 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
9346
9347 * gdb.arch/insn-reloc.c: New file.
9348 * gdb.arch/ftrace-insn-reloc.exp: New file.
9349
9350 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
9351
9352 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
9353 instruction.
9354 * gdb.trace/pendshr1.c (pendfunc): Likewise.
9355 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
9356 * gdb.trace/range-stepping.c: Likewise.
9357 * gdb.trace/trace-break.c: Likewise.
9358 * gdb.trace/trace-mt.c (thread_function): Likewise.
9359 * gdb.trace/ftrace.c (marker): Likewise.
9360 * gdb.trace/trace-condition.c (marker): Likewise.
9361 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
9362 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
9363 is_aarch64_target.
9364
9365 2015-09-18 Doug Evans <xdje42@gmail.com>
9366
9367 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
9368 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
9369
9370 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
9371
9372 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
9373 the breakpoint.
9374
9375 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
9376
9377 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
9378 the pending breakpoint. Remove timeout override for "Run till
9379 MI pending breakpoint on pendfunc3 on thread 2" test.
9380
9381 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
9382
9383 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
9384 filename pattern.
9385
9386 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
9387
9388 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
9389 in breakpoint filename pattern.
9390
9391 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
9392
9393 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
9394
9395 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
9396
9397 * gdb.linespec/explicit.exp: Check for readline support for
9398 tab-completion tests. Fix obvious typo.
9399
9400 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
9401
9402 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
9403 and replay.
9404
9405 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
9406
9407 * gdb.btrace/non-stop.c: New.
9408 * gdb.btrace/non-stop.exp: New.
9409
9410 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
9411 Yao Qi <yao.qi@linaro.org>
9412
9413 * gdb.trace/trace-condition.c: New file.
9414 * gdb.trace/trace-condition.exp: New file.
9415
9416 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
9417
9418 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
9419 for testing bytecode compilation.
9420
9421 2015-09-16 Pedro Alves <palves@redhat.com>
9422 Sandra Loosemore <sandra@codesourcery.com>
9423
9424 * gdb.threads/non-stop-fair-events.c (timeout): New global.
9425 (SECONDS): Redefine.
9426 (main): Call pthread_kill and alarm early.
9427 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
9428 support.
9429 (test): If the target can't hardware step and doesn't support
9430 displaced stepping, increase the timeout.
9431
9432 2015-09-16 Pedro Alves <palves@redhat.com>
9433
9434 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
9435 (enable_debug): New procedures.
9436 (test): Use them. Bail out if waiting for threads fails.
9437 (top level): Bail out if a test fails.
9438
9439 2015-09-16 Yao Qi <yao.qi@linaro.org>
9440
9441 * gdb.asm/asm-source.exp: Set asm-arch for
9442 aarch64*-*-* target.
9443 * gdb.asm/aarch64.inc: New file.
9444
9445 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
9446
9447 * gdb.ada/array_of_variable_length.exp: New testcase.
9448 * gdb.ada/array_of_variable_length/foo.adb: New file.
9449 * gdb.ada/array_of_variable_length/pck.adb: New file.
9450 * gdb.ada/array_of_variable_length/pck.ads: New file.
9451
9452 2015-09-15 Doug Evans <dje@google.com>
9453
9454 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
9455 of function static local variable.
9456
9457 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9458
9459 * gdb.threads/tls-so_extern.exp: New test file.
9460 * gdb.threads/tls-so_extern.c: New test file.
9461 * gdb.threads/tls-so_extern_main.c: New test file.
9462
9463 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9464
9465 * gdb.opt/solib-intra-step-lib.c: New file.
9466 * gdb.opt/solib-intra-step-main.c: New file.
9467 * gdb.opt/solib-intra-step.exp: New file.
9468
9469 2015-09-15 Pedro Alves <palves@redhat.com>
9470
9471 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
9472 gdb_continue_to_breakpoint instead of gdb_test_multiple.
9473
9474 2015-09-14 Pedro Alves <palves@redhat.com>
9475
9476 * gdb.base/hook-stop-continue.c: Delete.
9477 * gdb.base/hook-stop-continue.exp: Delete.
9478 * gdb.base/hook-stop-frame.c: Delete.
9479 * gdb.base/hook-stop-frame.exp: Delete.
9480 * gdb.base/hook-stop.c: New file.
9481 * gdb.base/hook-stop.exp: New file.
9482
9483 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
9484
9485 * gdb.ada/access_to_packed_array.exp: New testcase.
9486 * gdb.ada/access_to_packed_array/foo.adb: New file.
9487 * gdb.ada/access_to_packed_array/pack.adb: New file.
9488 * gdb.ada/access_to_packed_array/pack.ads: New file.
9489
9490 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
9491
9492 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
9493 buffer size test.
9494
9495 2015-09-11 Don Breazeal <donb@codesourcery.com>
9496
9497 * gdb.base/foll-exec.c: Add copyright header. Fix
9498 formatting issues.
9499 * gdb.base/foll-exec.exp (zap_session): Delete proc.
9500 (do_exec_tests): Use clean_restart in place of zap_session,
9501 and for test initialization. Fix formatting issues. Use
9502 fail in place of perror.
9503 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
9504 an expect statement to match an expression with output from
9505 the program under debug.
9506 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
9507 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
9508 * gdb.threads/non-ldr-exc-2.exp: Likewise.
9509 * gdb.threads/non-ldr-exc-3.exp: Likewise.
9510 * gdb.threads/non-ldr-exc-4.exp: Likewise.
9511
9512 2015-09-09 Doug Evans <dje@google.com>
9513
9514 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
9515
9516 2015-09-09 Doug Evans <dje@google.com>
9517
9518 * gdb.base/pie-execl.exp: Fix result test of build_executable.
9519
9520 2015-09-09 Doug Evans <dje@google.com>
9521
9522 * gdb.base/savedregs.exp: Fix typo.
9523
9524 2015-09-09 Pedro Alves <palves@redhat.com>
9525
9526 * gdb.mi/mi-cli.exp: Add CLI finish tests.
9527
9528 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
9529
9530 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
9531 command actually switches threads. Give up on remaining
9532 tests if target fails to stop at breakpoint.
9533
9534 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
9535
9536 * gdb.ada/funcall_char.exp: New testcase.
9537 * gdb.ada/funcall_char/foo.adb: New file.
9538
9539 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
9540
9541 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
9542 expected outputs. Add two testcases for completing ambiguous
9543 functions.
9544 * gdb.ada/complete/aux_pck.adb: New file.
9545 * gdb.ada/complete/aux_pck.ads: New file.
9546 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
9547 Ambiguous_Func functions.
9548 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
9549 * gdb.ada/complete/pck.adb: Likewise.
9550
9551 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
9552
9553 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
9554 failures to run the test program under GDB.
9555
9556 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
9557
9558 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
9559 to C.
9560
9561 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
9562
9563 * gdb.base/run-after-attach.exp: New test file.
9564 * gdb.base/run-after-attach.c: New test file.
9565
9566 2015-08-26 Don Breazeal <donb@codesourcery.com>
9567
9568 * gdb.base/foll-exec-2.c: New test program.
9569 * gdb.base/foll-exec-2.exp: New test.
9570
9571 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
9572
9573 * gdb.base/nested-subp1.exp: New file.
9574 * gdb.base/nested-subp1.c: New file.
9575 * gdb.base/nested-subp2.exp: New file.
9576 * gdb.base/nested-subp2.c: New file.
9577 * gdb.base/nested-subp3.exp: New file.
9578 * gdb.base/nested-subp3.c: New file.
9579
9580 2015-08-24 Pedro Alves <palves@redhat.com>
9581
9582 * gdb.server/connect-without-multi-process.c: New file.
9583 * gdb.server/connect-without-multi-process.exp: New file.
9584
9585 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
9586
9587 * gdb.opt/inline-markers.c: Make z int.
9588
9589 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
9590
9591 * gdb.opt/inline-markers.c: Make z volatile.
9592
9593 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
9594
9595 * gdb.opt/inline-bt.c: New volatile global z.
9596 * gdb.opt/inline-cmds.c: Likewise.
9597 * gdb.opt/inline-locals.c: Likewise.
9598 * gdb.opt/inline-markers.c: New extern global z.
9599 (marker): Use z.
9600 (inline_fn): Likewise.
9601
9602 2015-08-24 Pedro Alves <palves@redhat.com>
9603
9604 * config/m32r-stub.exp: Remove file.
9605 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
9606 * gdb.base/call-rt-st.exp: Likewise.
9607 * gdb.base/call-strs.exp: Likewise.
9608 * gdb.base/default.exp: Remove references to h8300-*-hms and
9609 *-*-udi*.
9610 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
9611
9612 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
9613
9614 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
9615 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
9616 and "return" use KFAIL when GDB can not read/write the vector
9617 return value.
9618
9619 2015-08-21 Gary Benson <gbenson@redhat.com>
9620
9621 * gdb.trace/pending.exp: Cope with remote transfer warnings.
9622
9623 2015-08-20 Pedro Alves <palves@redhat.com>
9624
9625 * gdb.server/solib-list.exp: No longer expect an interior stop in
9626 non-stop mode.
9627
9628 2015-08-20 Pedro Alves <palves@redhat.com>
9629
9630 * gdb.server/connect-stopped-target.c: New file.
9631 * gdb.server/connect-stopped-target.exp: New file.
9632
9633 2015-08-20 Pedro Alves <palves@redhat.com>
9634
9635 * gdb.dwarf2/comp-unit-lang.exp: New file.
9636 * gdb.dwarf2/comp-unit-lang.c: New file.
9637
9638 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
9639
9640 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
9641 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
9642
9643 2015-08-19 Kevin Buettner <kevinb@redhat.com>
9644
9645 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
9646 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
9647
9648 2015-08-18 Doug Evans <dje@google.com>
9649 Adrian Sendroiu <adrian.sendroiu@freescale.com>
9650
9651 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
9652 skip_python_tests. New arg prompt_regexp.
9653 (skip_python_tests): New function.
9654 * lib/mi-support.exp (mi_skip_python_tests): New function.
9655 * gdb.python/py-mi-objfile-gdb.py: New file.
9656 * gdb.python/py-mi-objfile.c: New file.
9657 * gdb.python/py-mi-objfile.exp: New file.
9658
9659 2015-08-17 Keith Seitz <keiths@redhat.com>
9660
9661 * gdb.linespec/explicit.exp: Move strace test from here ...
9662 * gdb.trace/strace.exp: ... to here.
9663
9664 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
9665
9666 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
9667 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
9668
9669 2015-08-14 Doug Evans <xdje42@gmail.com>
9670
9671 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
9672 inferior before selecting a new file.
9673
9674 2015-08-14 Doug Evans <xdje42@gmail.com>
9675
9676 * gdb.mi/mi-disassemble.exp: Update.
9677 * gdb.base/disasm-optim.S: New file.
9678 * gdb.base/disasm-optim.c: New file.
9679 * gdb.base/disasm-optim.h: New file.
9680 * gdb.base/disasm-optim.exp: New file.
9681
9682 2015-08-14 Keith Seitz <keiths@redhat.com>
9683
9684 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
9685 "evaluated-by".
9686
9687 2015-08-13 Joel Brobecker <brobecker@adacore.com>
9688
9689 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
9690
9691 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
9692
9693 * gdb.ada/fun_renaming.exp: New testcase.
9694 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
9695 * gdb.ada/fun_renaming/pack.adb: New file.
9696 * gdb.ada/fun_renaming/pack.ads: New file.
9697
9698 2015-08-12 Keith Seitz <keiths@redhat.com>
9699
9700 * gdb.base/dso2dso.exp: Pass basename of source file in call to
9701 gdb_get_line_number.
9702
9703 2015-08-12 Joel Brobecker <brobecker@adacore.com>
9704
9705 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
9706 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
9707 gdb.base/dso2dso.exp: New files.
9708
9709 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
9710 Pedro Alves <palves@redhat.com>
9711 Keith Seitz <keiths@redhat.com>
9712
9713 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
9714 GDBFLAGS.
9715
9716 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
9717
9718 * gdb.base/gdbhistsize-history.exp
9719 (test_histsize_history_setting): Use save_vars.
9720 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
9721 Use save_vars.
9722 (test_no_truncation_of_unlimited_history_file): Use save_vars.
9723 * gdb.base/readline.exp: Use save_vars.
9724
9725 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
9726
9727 * lib/gdb.exp (save_vars): New proc.
9728
9729 2015-08-11 Keith Seitz <keiths@redhat.com>
9730
9731 * gdb.base/help.exp: Update help_breakpoint_text.
9732
9733 2015-08-11 Keith Seitz <keiths@redhat.com>
9734
9735 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
9736 (at toplevel): Call test_explicit_breakpoints.
9737 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
9738 breakpoints.
9739 * lib/mi-support.exp (mi_make_breakpoint): Add support for
9740 breakpoint conditions, "-cond".
9741
9742 2015-08-11 Keith Seitz <keiths@redhat.com>
9743
9744 * gdb.linespec/3explicit.c: New file.
9745 * gdb.linespec/cpexplicit.cc: New file.
9746 * gdb.linespec/cpexplicit.exp: New file.
9747 * gdb.linespec/explicit.c: New file.
9748 * gdb.linespec/explicit.exp: New file.
9749 * gdb.linespec/explicit2.c: New file.
9750 * gdb.linespec/ls-errs.exp: Add explicit location tests.
9751 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
9752 before using in the matching pattern.
9753 Clarify that `prefix' is a regular expression.
9754
9755 2015-08-11 Keith Seitz <keiths@redhat.com>
9756
9757 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
9758 test.
9759 Add tests for missing ",FMT" and ",".
9760
9761 2015-08-10 Doug Evans <dje@google.com>
9762 Keith Seitz <keiths@redhat.com>
9763
9764 PR gdb/17960
9765 * gdb.base/completion.exp: Add location completer tests.
9766
9767 2015-08-07 Pedro Alves <palves@redhat.com>
9768
9769 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
9770 tests here.
9771 (top level): Run do_test with and without displaced stepping.
9772
9773 2015-08-07 Pedro Alves <palves@redhat.com>
9774
9775 * gdb.base/valgrind-disp-step.c: New file.
9776 * gdb.base/valgrind-disp-step.exp: New file.
9777
9778 2015-08-07 Pedro Alves <palves@redhat.com>
9779
9780 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
9781 Delete function.
9782 (main): Add alarm. Run an infinite loop instead of calling
9783 wait_threads.
9784 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
9785 comment.
9786 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
9787 Delete function.
9788 (main): Add alarm. Run an infinite loop instead of calling
9789 wait_threads.
9790 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
9791 comment.
9792
9793 2015-08-07 Pedro Alves <palves@redhat.com>
9794
9795 * gdb.base/checkpoint-ns.exp: New file.
9796 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
9797 standard_testfile.
9798
9799 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
9800
9801 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
9802 * gdb.btrace/instruction_history.exp: Update.
9803 * gdb.btrace/tsx.exp: New.
9804 * gdb.btrace/tsx.c: New.
9805
9806 2015-08-06 Pedro Alves <palves@redhat.com>
9807
9808 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
9809 increase timeout.
9810 * gdb.reverse/until-precsave.exp: Bump timeouts.
9811
9812 2015-08-06 Pedro Alves <palves@redhat.com>
9813
9814 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
9815
9816 2015-08-06 Pedro Alves <palves@redhat.com>
9817
9818 PR gdb/18749
9819 * gdb.threads/process-dies-while-handling-bp.c: New file.
9820 * gdb.threads/process-dies-while-handling-bp.exp: New file.
9821
9822 2015-08-06 Pedro Alves <palves@redhat.com>
9823
9824 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
9825 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
9826
9827 2015-08-05 Pedro Alves <palves@redhat.com>
9828
9829 * gdb.threads/next-while-other-thread-longjmps.c: New file.
9830 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
9831
9832 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
9833
9834 * gdb.base/bp-permanent.exp: Report test as unsupported if
9835 the target cannot stop at the permanent breakpoint.
9836
9837 2015-08-03 Doug Evans <dje@google.com>
9838
9839 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
9840 10000.
9841
9842 2015-08-03 Doug Evans <dje@google.com>
9843
9844 * Makefile.in (workers/%.worker, build-perf): New rule.
9845 (GDB_PERFTEST_MODE): New variable.
9846 (check-perf): Use it.
9847 (clean): Clean up gdb.perf parallel build subdirs.
9848 * lib/build-piece.exp: New file.
9849 * lib/gdb.exp (make_gdb_parallel_path): New function
9850 (standard_output_file, standard_temp_file): Call it.
9851 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
9852 of $GDB_PARALLEL.
9853 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
9854
9855 2015-08-03 Doug Evans <dje@google.com>
9856
9857 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
9858 (LOG_FILE_NAME): New global.
9859 (TextReporter.__init__): Initialize self.txt_sum.
9860 (TextReporter.report): Add support for multiple data-points.
9861 Move report to perftest.sum, put raw data in perftest.log.
9862 (TextReporter.start): Open sum and log files.
9863 (TextReporter.end): Close sum and log files.
9864 * gdb.perf/lib/perftest/testresult.py
9865 (SingleStatisticTestResult.record): Handle multiple data-points.
9866
9867 2015-07-31 Pedro Alves <palves@redhat.com>
9868
9869 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
9870 Use spawn_id_get_pid. Wait for spawn id after eof. Use
9871 kill_wait_spawned_process instead of explicit "kill -9".
9872 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
9873 returning a spawn id instead of a pid. Use spawn_id_get_pid and
9874 kill_wait_spawned_process.
9875 * gdb.base/attach-twice.exp: Likewise.
9876 * gdb.base/attach.exp: Likewise.
9877 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
9878 gdb_test_multiple.
9879 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
9880 returning a spawn id instead of a pid. Use spawn_id_get_pid and
9881 kill_wait_spawned_process.
9882 * gdb.base/valgrind-infcall.exp: Likewise.
9883 * gdb.multi/multi-attach.exp: Likewise.
9884 * gdb.python/py-prompt.exp: Likewise.
9885 * gdb.python/py-sync-interp.exp: Likewise.
9886 * gdb.server/ext-attach.exp: Likewise.
9887 * gdb.threads/attach-into-signal.exp (corefunc): Use
9888 spawn_wait_for_attach, spawn_id_get_pid and
9889 kill_wait_spawned_process.
9890 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
9891 spawn_wait_for_attach returning a spawn id instead of a pid. Use
9892 spawn_id_get_pid and kill_wait_spawned_process.
9893 * gdb.threads/attach-stopped.exp (corefunc): Use
9894 spawn_wait_for_attach, spawn_id_get_pid and
9895 kill_wait_spawned_process.
9896 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
9897 Use spawn_id_get_pid. Wait for spawn id after eof. Use
9898 kill_wait_spawned_process instead of explicit "kill -9".
9899 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
9900 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
9901 (spawn_wait_for_attach): Use spawn instead of exec to spawn
9902 processes. Don't map cygwin/windows pids here. Now returns a
9903 spawn id list.
9904
9905 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
9906
9907 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
9908 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
9909 correct patch.
9910
9911 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
9912
9913 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
9914
9915 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
9916
9917 Reapply:
9918 2014-05-21 Mark Wielaard <mjw@redhat.com>
9919
9920 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
9921
9922 2015-07-30 Pedro Alves <palves@redhat.com>
9923
9924 * linux-low.c (handle_extended_wait): Set the child's last
9925 reported status to TARGET_WAITKIND_STOPPED.
9926
9927 2015-07-30 Pedro Alves <palves@redhat.com>
9928
9929 PR threads/18600
9930 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
9931 only shows inferior 1.
9932
9933 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
9934 Pedro Alves <palves@redhat.com>
9935
9936 PR threads/18600
9937 * gdb.threads/fork-plus-threads.c: New file.
9938 * gdb.threads/fork-plus-threads.exp: New file.
9939
9940 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
9941
9942 * gdb.base/batch-preserve-term-settings.exp
9943 (test_terminal_settings_preserved_after_cli_exit): Use
9944 send_quit_command.
9945
9946 2015-07-29 Pedro Alves <palves@redhat.com>
9947 Don Breazeal <donb@codesourcery.com>
9948
9949 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
9950 output from both inferior_spawn_id and gdb_spawn_id.
9951
9952 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
9953
9954 * gdb.threads/attach-into-signal.exp (corefunc): Use
9955 with_test_prefix on nested loops, uniquefying the test messages.
9956
9957 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
9958
9959 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
9960 commit.
9961
9962 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
9963
9964 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
9965 New proc.
9966 (test_terminal_settings_preserved_after_sigterm): New test.
9967
9968 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
9969
9970 * gdb.base/batch-preserve-term-settings.exp
9971 (test_terminal_settings_preserved_after_cli_exit): New test.
9972
9973 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
9974
9975 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
9976 manipulation of saved_gdbflags.
9977 (test_terminal_settings_preserved): Remove global declaration of
9978 the unused variable pagination_prompt. Remove manipulation of
9979 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
9980 GDBFLAGS.
9981
9982 2015-07-29 Pedro Alves <palves@redhat.com>
9983
9984 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
9985
9986 2015-07-29 Pedro Alves <palves@redhat.com>
9987
9988 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
9989 at the top.
9990
9991 2015-07-29 Pedro Alves <palves@redhat.com>
9992
9993 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
9994 (main): Call gdb_unbuffer_output.
9995 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
9996 (main): Call gdb_unbuffer_output.
9997 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
9998 (main): Call gdb_unbuffer_output.
9999 * gdb.base/call-strs.exp: Adjust to step over the
10000 gdb_unbuffer_output call.
10001 * gdb.base/catch-gdb-caused-signals.c: Include
10002 "../lib/unbuffer_output.c".
10003 (main): Call gdb_unbuffer_output.
10004 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
10005 (main): Call gdb_unbuffer_output.
10006 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
10007 (main): Call gdb_unbuffer_output.
10008 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
10009 (main): Call gdb_unbuffer_output.
10010 * gdb.base/shlib-call.exp: Adjust to step over the
10011 gdb_unbuffer_output call.
10012 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
10013 (main): Call gdb_unbuffer_output.
10014 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
10015 (main): Call gdb_unbuffer_output.
10016 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
10017 (main): Rename to ...
10018 (test): ... this.
10019 (main): Reimplement.
10020 * gdb.base/varargs.exp: Run to test instead of to main.
10021 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
10022 (main): Call gdb_unbuffer_output.
10023
10024 2015-07-29 Pedro Alves <palves@redhat.com>
10025
10026 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
10027 factore out from mi_continue_dprintf. For call-style dprintfs,
10028 expect dprintf output out of $inferior_spawn_id.
10029 (mi_continue_dprintf): Use mi_expect_dprintf.
10030 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
10031 (main): Call gdb_unbuffer_output.
10032
10033 2015-07-29 Pedro Alves <palves@redhat.com>
10034
10035 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
10036 (default_mi_gdb_start): Set inferior_spawn_id instead of
10037 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
10038 gdb_spawn_id.
10039 (mi_gdb_test): Always expect inferior output from both
10040 $inferior_spawn_id and $gdb_spawn_id.
10041
10042 2015-07-29 Pedro Alves <palves@redhat.com>
10043
10044 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
10045 send_inferior and $inferior_spawn_id.
10046
10047 2015-07-29 Pedro Alves <palves@redhat.com>
10048
10049 * gdb.gdb/complaints.exp (test_initial_complaints)
10050 (test_serial_complaints, test_short_complaints): Use
10051 gdb_test_stdio.
10052 (test_empty_complaint): Handle $inferior_spawn_id !=
10053 $gdb_spawn_id.
10054
10055 2015-07-29 Pedro Alves <palves@redhat.com>
10056
10057 * gdb.base/varargs.exp: Use gdb_test_stdio.
10058
10059 2015-07-29 Pedro Alves <palves@redhat.com>
10060
10061 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
10062
10063 2015-07-29 Pedro Alves <palves@redhat.com>
10064
10065 * gdb.base/ending-run.exp: Use gdb_test_stdio.
10066
10067 2015-07-29 Pedro Alves <palves@redhat.com>
10068
10069 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
10070 parameter into two new parameters, "inf_result" and "gdb_result".
10071 Expect inferior output and gdb output from $inferior_spawn_id and
10072 $gdb_spawn_id, respectively. Adjust all callers.
10073
10074 2015-07-29 Pedro Alves <palves@redhat.com>
10075
10076 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
10077 of gdb_test_sequence.
10078
10079 2015-07-29 Pedro Alves <palves@redhat.com>
10080
10081 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
10082 (saw_spurious_output): Expect inferior output from
10083 $inferior_spawn_id. Use gdb_test_stdio.
10084
10085 2015-07-29 Pedro Alves <palves@redhat.com>
10086
10087 * gdb.base/dprintf.exp: Use standard_testfile. Change
10088 prepare_for_testing call.
10089 (srcfile): Don't set.
10090 (restart): New procedure.
10091 (test_dprintf): New procecure, use to continue over dprintfs.
10092 (test_call, test_agent): New procedures, tests moved here.
10093 Restart gdb and recreate dprintfs. Adjust expected output.
10094
10095 2015-07-29 Pedro Alves <palves@redhat.com>
10096
10097 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
10098
10099 2015-07-29 Pedro Alves <palves@redhat.com>
10100
10101 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
10102
10103 2015-07-29 Pedro Alves <palves@redhat.com>
10104
10105 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
10106 gdb_test_stdio.
10107
10108 2015-07-29 Pedro Alves <palves@redhat.com>
10109
10110 * lib/gdb.exp (gdb_test_stdio): New procedure.
10111
10112 2015-07-29 Pedro Alves <palves@redhat.com>
10113
10114 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
10115
10116 2015-07-29 Pedro Alves <palves@redhat.com>
10117
10118 * gdb.base/call-signal-resume.exp: Remove check for
10119 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
10120 * gdb.base/unwindonsignal.exp: Likewise.
10121 * gdb.base/call-signals.c (gen_signal): Remove printf call.
10122 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
10123
10124 2015-07-29 Pedro Alves <palves@redhat.com>
10125
10126 * gdb.base/siginfo-addr.c (pass): New function.
10127 (handler): Call it iff si_addr is correct.
10128 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
10129 Set a breakpoint at "pass" and continue to it.
10130
10131 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
10132
10133 * gdb.python/py-objfile.exp: Make some tests have unique names.
10134 * gdb.python/py-pp-registration.exp: Likewise.
10135
10136 2015-07-28 Pedro Alves <palves@redhat.com>
10137
10138 * gdb.server/server-exec-info.exp: Issue a "disconnect".
10139
10140 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
10141
10142 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
10143
10144 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
10145
10146 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
10147
10148 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
10149
10150 * gdb.base/gdb-sigterm-2.exp: New test.
10151
10152 2015-07-25 Doug Evans <xdje42@gmail.com>
10153
10154 Revert:
10155 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
10156 (workers/%.worker, build-perf): New rule.
10157 (GDB_PERFTEST_MODE): New variable.
10158 (check-perf): Use it.
10159 (clean): Clean up gdb.perf parallel build subdirs.
10160 * lib/build-piece.exp: New file.
10161 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
10162 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
10163 name.
10164 (standard_temp_file): Ditto.
10165 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
10166 of $GDB_PARALLEL.
10167
10168 2015-07-24 Doug Evans <dje@google.com>
10169
10170 * gdb.perf/lib/perftest/utils.py: New file.
10171 * gdb.perf/gm-hello.cc: New file.
10172 * gdb.perf/gm-pervasive-typedef.cc: New file.
10173 * gdb.perf/gm-pervasive-typedef.h: New file.
10174 * gdb.perf/gm-std.cc: New file.
10175 * gdb.perf/gm-std.h: New file.
10176 * gdb.perf/gm-use-cerr.cc: New file.
10177 * gdb.perf/gm-utils.h: New file.
10178 * gdb.perf/gmonster-null-lookup.py: New file.
10179 * gdb.perf/gmonster-pervasive-typedef.py: New file.
10180 * gdb.perf/gmonster-print-cerr.py: New file.
10181 * gdb.perf/gmonster-ptype-string.py: New file.
10182 * gdb.perf/gmonster-runto-main.py: New file.
10183 * gdb.perf/gmonster-select-file.py: New file.
10184 * gdb.perf/gmonster1-null-lookup.exp: New file.
10185 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
10186 * gdb.perf/gmonster1-print-cerr.exp: New file.
10187 * gdb.perf/gmonster1-ptype-string.exp: New file.
10188 * gdb.perf/gmonster1-runto-main.exp: New file.
10189 * gdb.perf/gmonster1-select-file.exp: New file.
10190 * gdb.perf/gmonster1.cc: New file.
10191 * gdb.perf/gmonster1.exp: New file.
10192 * gdb.perf/gmonster2-null-lookup.exp: New file.
10193 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
10194 * gdb.perf/gmonster2-print-cerr.exp: New file.
10195 * gdb.perf/gmonster2-ptype-string.exp: New file.
10196 * gdb.perf/gmonster2-runto-main.exp: New file.
10197 * gdb.perf/gmonster2-select-file.exp: New file.
10198 * gdb.perf/gmonster2.cc: New file.
10199 * gdb.perf/gmonster2.exp: New file.
10200
10201 2015-07-24 Doug Evans <dje@google.com>
10202
10203 * gdb.perf/README: New file.
10204 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
10205 * lib/gen-perf-test.exp: New file.
10206
10207 2015-07-24 Doug Evans <dje@google.com>
10208
10209 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
10210 (PerfTest::startup): New function.
10211 (PerfTest::run): Return result of calling body.
10212 (PerfTest::assemble): Rewrite.
10213 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
10214 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
10215 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
10216 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
10217 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
10218
10219 2015-07-24 Doug Evans <dje@google.com>
10220
10221 * lib/gdb.exp (clean_restart): Make executable optional.
10222
10223 2015-07-24 Doug Evans <dje@google.com>
10224
10225 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
10226 compiler_info references.
10227 * gdb.cp/temargs.exp: Ditto.
10228 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
10229 (get_compiler_info): Early exit if already computed. Set compiler_info
10230 to "unknown" if there was a problem.
10231 (test_compiler_info): Add function comment. Call get_compiler_info.
10232
10233 2015-07-24 Doug Evans <dje@google.com>
10234
10235 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
10236 (workers/%.worker, build-perf): New rule.
10237 (GDB_PERFTEST_MODE): New variable.
10238 (check-perf): Use it.
10239 (clean): Clean up gdb.perf parallel build subdirs.
10240 * lib/build-piece.exp: New file.
10241 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
10242 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
10243 name.
10244 (standard_temp_file): Ditto.
10245 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
10246 of $GDB_PARALLEL.
10247
10248 2015-07-24 Doug Evans <dje@google.com>
10249
10250 * lib/future.exp (gdb_default_target_compile): New option
10251 "early_flags".
10252 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
10253 --as-needed.
10254
10255 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
10256
10257 * gdb.base/catch-syscall.exp: Call gdb_exit before
10258 gdb_skip_xml_test.
10259
10260 2015-07-24 Pedro Alves <palves@redhat.com>
10261
10262 * gdb.python/py-events.exp: Accept output between the stop event
10263 and the prompt.
10264 * gdb.python/py-evsignal.exp: Likewise.
10265 * gdb.python/py-evthreads.exp: Likewise.
10266
10267 2015-07-24 Pedro Alves <palves@redhat.com>
10268
10269 PR gdb/18717
10270 * gdb.threads/non-ldr-exit.c: New file.
10271 * gdb.threads/non-ldr-exit.exp: New file.
10272
10273 2015-07-24 Yao Qi <yao.qi@linaro.org>
10274
10275 * gdb.server/ext-wrapper.exp: Test --wrapper option when
10276 restarting process.
10277
10278 2015-07-24 Yao Qi <yao.qi@linaro.org>
10279
10280 * gdb.server/ext-restart.exp: New file.
10281
10282 2015-07-24 Yao Qi <yao.qi@linaro.org>
10283
10284 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
10285 argument options.
10286 * gdb.server/ext-wrapper.exp: New file.
10287
10288 2015-07-23 Doug Evans <dje@google.com>
10289
10290 * gdb.dwarf2/dw2-dummy-cu.S: New file.
10291 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
10292
10293 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
10294
10295 * gdb.ada/var_arr_typedef.exp: New testcase.
10296 * gdb.ada/var_arr_typedef/pack.adb: New file.
10297 * gdb.ada/var_arr_typedef/pack.ads: New file.
10298 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
10299
10300 2015-07-20 Joel Brobecker <brobecker@adacore.com>
10301
10302 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
10303
10304 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10305
10306 * gdb.arch/i386-biarch-core.exp: Replace istarget
10307 by "complete set gnutarget". Remove expectation for the "core-file"
10308 command.
10309
10310 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10311
10312 Revert the previous commit:
10313 Tests for validate symbol file using build-id.
10314
10315 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
10316
10317 Tests for validate symbol file using build-id.
10318 * gdb.base/solib-mismatch-lib.c: New file.
10319 * gdb.base/solib-mismatch-libmod.c: New file.
10320 * gdb.base/solib-mismatch.c: New file.
10321 * gdb.base/solib-mismatch.exp: New file.
10322
10323 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
10324
10325 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
10326 nios2-*-linux*.
10327 * gdb.base/sigbpt.exp (stepi_out): Likewise.
10328 * gdb.base/siginfo.exp: Likewise.
10329 * gdb.base/sigstep.exp (advance, advancei): Likewise.
10330
10331 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
10332
10333 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
10334 Move it to ...
10335 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
10336 ... here.
10337 * gdb.trace/range-stepping.exp: Check that the target supports
10338 range stepping.
10339
10340 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10341
10342 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
10343
10344 2015-07-14 Pedro Alves <palves@redhat.com>
10345
10346 * gdb.base/killed-outside.exp: New file.
10347 * gdb.base/killed-outside.c: New file.
10348
10349 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
10350
10351 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
10352 (n at main): New.
10353 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
10354
10355 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
10356
10357 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
10358 infcall tests instead of setting up for KFAIL.
10359
10360 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
10361
10362 * gdb.btrace/record_goto-step.exp: New.
10363
10364 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10365
10366 PR compile/18484
10367 * gdb.compile/compile.c (struct struct_type): Add volatile to
10368 selffield's type.
10369 * gdb.compile/compile.exp
10370 (compile code struct_object.selffield = &struct_object): Skip further
10371 struct_object tests if this one xfails.
10372
10373 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
10374
10375 PR exp/18617
10376 * gdb.trace/ax.exp: Add test.
10377
10378 2015-07-07 Yao Qi <yao.qi@linaro.org>
10379
10380 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
10381 instead of istarget "aarch64*-*-*".
10382 * gdb.arch/aarch64-fp.exp: Likewise.
10383 * gdb.base/float.exp: Likewise.
10384 * gdb.reverse/aarch64.exp: Likewise.
10385 * lib/gdb.exp (is_aarch64_target): New proc.
10386
10387 2015-07-07 Yao Qi <yao.qi@linaro.org>
10388
10389 * lib/gdb.exp (is_aarch32_target): New proc.
10390 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
10391 instead of "istarget "arm*-*-*"".
10392 * gdb.arch/arm-disp-step.exp: Likewise.
10393 * gdb.arch/thumb-bx-pc.exp: Likewise.
10394 * gdb.arch/thumb-prologue.exp: Likewise.
10395 * gdb.arch/thumb-singlestep.exp: Likewise.
10396 * gdb.base/disp-step-syscall.exp: Likewise.
10397 * gdb.base/float.exp: Likewise.
10398
10399 2015-07-07 Yao Qi <yao.qi@linaro.org>
10400
10401 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
10402 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
10403
10404 2015-07-07 Yao Qi <yao.qi@linaro.org>
10405
10406 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
10407 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
10408 if it exists.
10409 * gdb.multi/multi-arch.exp: Likewise.
10410
10411 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
10412
10413 * gdb.python/py-lazy-string.exp: Add missing parentheses to
10414 print.
10415
10416 2015-07-07 Yao Qi <yao.qi@linaro.org>
10417
10418 * gdb.arch/thumb-singlestep.exp: Do one more single step.
10419
10420 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
10421
10422 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
10423 '[' and ']' characters.
10424
10425 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
10426
10427 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
10428
10429 2015-06-29 Pedro Alves <palves@redhat.com>
10430
10431 PR threads/18127
10432 * gdb.threads/hand-call-new-thread.c: New file.
10433 * gdb.threads/hand-call-new-thread.c: New file.
10434
10435 2015-06-26 Keith Seitz <keiths@redhat.com>
10436 Doug Evans <dje@google.com>
10437
10438 PR 16253
10439 * gdb.cp/var-tag-2.cc: New file.
10440 * gdb.cp/var-tag-3.cc: New file.
10441 * gdb.cp/var-tag-4.cc: New file.
10442 * gdb.cp/var-tag.cc: New file.
10443 * gdb.cp/var-tag.exp: New file.
10444
10445 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
10446
10447 * gdb.base/history-duplicates.exp: New test.
10448
10449 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
10450
10451 * gdb.base/completion.exp: Test the completion of the "focus"
10452 command.
10453
10454 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
10455
10456 * gdb.arch/amd64-prologue-skip.S: New file.
10457 * gdb.arch/amd64-prologue-skip.exp: New file.
10458
10459 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
10460
10461 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
10462 is_address_zero_readable check.
10463
10464 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
10465
10466 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
10467 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
10468
10469 2015-06-24 Yao Qi <yao.qi@linaro.org>
10470
10471 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
10472 linux targets.
10473
10474 2015-06-24 Yao Qi <yao.qi@linaro.org>
10475
10476 * lib/gdb.exp (supports_get_siginfo_type): New proc.
10477 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
10478 * gdb.base/siginfo-thread.exp: Likewise.
10479
10480 2015-06-22 Yao Qi <yao.qi@linaro.org>
10481
10482 * boards/remote-gdbserver-on-localhost.exp: Add comments.
10483
10484 2015-06-22 Yao Qi <yao.qi@linaro.org>
10485
10486 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
10487 aarch64*-*-*.
10488 (skip_hw_watchpoint_tests): Likewise.
10489
10490 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
10491
10492 * gdb.base/gdbinit-history.exp: Test the interaction between
10493 setting GDBHISTSIZE and setting the history size via .gdbinit.
10494
10495 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
10496
10497 PR gdb/16999
10498 * gdb.base/gdbhistsize-history.exp: New test.
10499
10500 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
10501
10502 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
10503 with GDBHISTSIZE.
10504 * gdb.base/readline.exp: Likewise.
10505
10506 2015-06-17 Yao Qi <yao.qi@linaro.org>
10507
10508 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
10509 line.
10510
10511 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
10512
10513 * gdb.base/gdbinit-history.exp: Add test case to check that
10514 an unlimited history file does not get truncated on exit.
10515
10516 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
10517
10518 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
10519 (VECTOR): New macro. Use it...
10520 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
10521 ...for these typedefs.
10522 (int8, char1, int1, double1): New typedefs.
10523 (struct just_int2, struct two_int2): New structures.
10524 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
10525 (add_structvecs, add_singlevecs): New functions.
10526 (main): Call add_some_intvecs twice.
10527 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
10528 the compile and exit upon failure. Try compiling for the "native"
10529 architecture. Test inferior function calls with vector arguments
10530 and vector return value handling with "finish" and "return".
10531
10532 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
10533
10534 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
10535 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
10536 PE file.
10537 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
10538
10539 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
10540
10541 PR breakpoints/16465
10542 * gdb.mi/mi-dprintf-pending.c: New file.
10543 * gdb.mi/mi-dprintf-pending.exp: New test.
10544 * gdb.mi/mi-dprintf-pendshr.c: New file.
10545
10546 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
10547 Mircea Gherzan <mircea.gherzan@intel.com>
10548
10549 * gdb.arch/i386-mpx-map.c: New file.
10550 * gdb.arch/i386-mpx-map.exp: New File.
10551
10552 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
10553
10554 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
10555 * gdb.arch/i386-mpx.exp: Indentation fixed.
10556
10557 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
10558
10559 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
10560 function and improved indentation.
10561 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
10562 gdb_test_multiple. Added additional tests to skip the test.
10563
10564 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
10565
10566 * gdb.arch/i386-avx512.c: Change path in include file.
10567 * gdb.arch/i386-avx512.exp: Change include dir path
10568 compilation flag.
10569 * gdb.arch/i386-mpx.c: Change path in include file.
10570 * gdb.arch/i386-mpx.exp: Change include dir path compilation
10571 flag.
10572
10573 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
10574
10575 * gdb.compile/compile-print.exp (compile print *vararray@3)
10576 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
10577
10578 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
10579
10580 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
10581 (do not keep jit in memory): ... this.
10582 (expect 5): Change it to ...
10583 (expect no 5): ... this.
10584
10585 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
10586
10587 PR gdb/15564
10588 * gdb.mi/mi-detach.exp: New file.
10589
10590 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
10591
10592 PR symtab/18392
10593 * gdb.arch/amd64-tailcall-self.S: New file.
10594 * gdb.arch/amd64-tailcall-self.c: New file.
10595 * gdb.arch/amd64-tailcall-self.exp: New file.
10596
10597 2015-05-28 Don Breazeal <donb@codesourcery.com>
10598
10599 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
10600 tests for remote targets by checking is_target_gdbserver.
10601
10602 2015-05-27 Doug Evans <dje@google.com>
10603
10604 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
10605 * gdb.dwarf2/opaque-type-lookup.c: New file.
10606 * gdb.dwarf2/opaque-type-lookup.exp: New file.
10607
10608 2015-05-26 Doug Evans <dje@google.com>
10609
10610 * gdb.cp/iostream.cc: New file.
10611 * gdb.cp/iostream.exp: New file.
10612
10613 2015-05-26 Doug Evans <dje@google.com>
10614
10615 * gdb.dwarf2/dw2-op-call.exp: Update.
10616 * gdb.dwarf2/dw4-sig-types.exp: Update.
10617 * gdb.dwarf2/implptr.exp: Update.
10618 * gdb.mi/mi-cmd-param-changed.exp: Update.
10619
10620 2015-05-26 Doug Evans <dje@google.com>
10621
10622 * gdb.python/py-lazy-string.c: New file.
10623 * gdb.python/py-lazy-string.exp: New file.
10624 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
10625 (main): Update. Add estring3.
10626 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
10627 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
10628
10629 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
10630 Yao Qi <yao.qi@linaro.org>
10631
10632 * gdb.reverse/aarch64.c: New.
10633 * gdb.reverse/aarch64.exp: New.
10634
10635 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
10636
10637 * lib/gdb.exp (supports_process_record): Return true for
10638 aarch64*-linux*.
10639 (supports_reverse): Likewise.
10640
10641 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
10642
10643 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
10644 Use with_test_prefix.
10645
10646 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
10647
10648 * gdb.base/completion.exp: Add test for completion of layout
10649 names.
10650
10651 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
10652
10653 * lib/gdb.exp (skip_tui_tests): New proc.
10654 * gdb.base/tui-layout.exp: Check skip_tui_tests.
10655
10656 2015-05-19 Pedro Alves <palves@redhat.com>
10657
10658 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
10659 Save the whole env array instead of just HOME. Unset HISTSIZE in
10660 the environment while testing. Restore whole environment
10661 afterwards.
10662
10663 2015-05-16 Doug Evans <xdje42@gmail.com>
10664
10665 * gdb.guile/scm-ports.c: New file.
10666 * gdb.guile/scm-ports.exp: Add memory port tests.
10667
10668 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10669
10670 * gdb.compile/compile-print.c: New file.
10671 * gdb.compile/compile-print.exp: New file.
10672
10673 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10674
10675 * gdb.compile/compile-ops.exp: Cast param to void.
10676 * gdb.compile/compile.exp: Complete type for _gdb_expr.
10677 (compile code struct_object.selffield = &struct_object): Add xfail.
10678
10679 2015-05-15 Joel Brobecker <brobecker@adacore.com>
10680
10681 * gdb.ada/arr_enum_with_gap: New testcase.
10682
10683 2015-05-15 Joel Brobecker <brobecker@adacore.com>
10684
10685 * gdb.ada/byte_packed_arr: New testcase.
10686
10687 2015-05-15 Joel Brobecker <brobecker@adacore.com>
10688
10689 * gdb.ada/pckd_neg: New testcase.
10690
10691 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
10692
10693 PR gdb/17820
10694 * gdb.base/gdbinit-history.exp: New test.
10695 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
10696 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
10697
10698 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
10699
10700 * gdb.python/py-xmethods.cc: Enhance test case.
10701 * gdb.python/py-xmethods.exp: New tests.
10702 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
10703 function.
10704 (B_indexoper): Likewise.
10705 (global_dm_list) : Add new xmethod worker functions.
10706
10707 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
10708
10709 * gdb.base/coredump-filter.exp: Correctly unset
10710 "coredump_var_addr" array.
10711
10712 2015-05-08 Pedro Alves <palves@redhat.com>
10713
10714 * gdb.server/non-existing-program.exp: Unset spawn_id.
10715
10716 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
10717
10718 PR python/18291
10719 * gdb.python/py-xmethods.exp: Add tests.
10720
10721 2015-05-08 Yao Qi <yao.qi@linaro.org>
10722
10723 PR gdb/18208
10724 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
10725 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
10726 function set_coredump_filter, and remove remote_exec call.
10727 Remove argument ipid. Callers update.
10728 (top level): Don't get inferior's PID.
10729
10730 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
10731
10732 * gdb.base/watch_thread_num.exp: Skip test on targets without
10733 access watchpoints.
10734
10735 2015-05-06 Pedro Alves <palves@redhat.com>
10736
10737 PR server/18081
10738 * gdb.server/non-existing-program.exp: New file.
10739
10740 2015-05-05 Joel Brobecker <brobecker@adacore.com>
10741
10742 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
10743
10744 2015-05-05 Joel Brobecker <brobecker@adacore.com>
10745
10746 * gdb.ada/out_of_line_in_inlined: New testcase.
10747
10748 2015-05-05 Joel Brobecker <brobecker@adacore.com>
10749
10750 * gdb.ada/var_rec_arr: New testcase.
10751
10752 2015-04-30 Yao Qi <yao.qi@linaro.org>
10753
10754 * gdb.base/break-idempotent.exp: If
10755 skip_hw_watchpoint_multi_tests returns true, skip the tests
10756 on "rwatch" and "awatch".
10757
10758 2015-04-30 Yao Qi <yao.qi@linaro.org>
10759
10760 * gdb.base/relativedebug.exp: Invoke gdb command
10761 "info sharedlibrary", and if libc.so doesn't have debug info,
10762 skip the test.
10763
10764 2015-04-29 Doug Evans <dje@google.com>
10765
10766 * gdb.python/py-xmethods.exp: Add ptype tests.
10767 * gdb.python/py-xmethods.py (E_method_char_worker): Add
10768 get_result_type method.
10769
10770 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
10771
10772 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
10773 the target does not support hardware watchpoints.
10774
10775 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
10776
10777 * gdb.base/break-always.exp: Abort testing if writing to memory
10778 causes an error.
10779
10780 2015-04-28 Doug Evans <dje@google.com>
10781
10782 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
10783 * gdb.python/py-pp-registration.exp: ... here. New file.
10784 * gdb.python/py-pp-registration.c: New file.
10785 * gdb.python/py-pp-registration.py: New file.
10786
10787 2015-04-28 Doug Evans <dje@google.com>
10788
10789 * gdb.python/py-bad-printers.c: New file.
10790 * gdb.python/py-bad-printers.py: New file.
10791 * gdb.python/py-bad-printers.exp: New file.
10792
10793 2015-04-28 Sasha Smundak <asmundak@google.com>
10794
10795 * gdb.python/py-type.exp: New test.
10796
10797 2015-04-28 Andy Wingo <wingo@igalia.com>
10798
10799 * gdb.python/py-parameter.exp:
10800 * gdb.guile/scm-parameter.exp: Escape the path that we are
10801 matching against, as it might contain characters that are special
10802 to regular expressions.
10803
10804 2015-04-27 Joel Brobecker <brobecker@adacore.com>
10805
10806 * gdb.ada/rec_comp: New testcase.
10807
10808 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
10809
10810 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
10811 before using it.
10812
10813 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
10814
10815 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
10816 new tests for verilog output.
10817
10818 2015-04-24 Yao Qi <yao.qi@linaro.org>
10819
10820 * boards/remote-gdbserver-on-localhost.exp: New file.
10821
10822 2015-04-23 Pedro Alves <palves@redhat.com>
10823
10824 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
10825 $inferior_spawn_id instead of $inferior_spawn_id directly. On
10826 "end of file", remove $inferior_spawn_id from the indirect list.
10827
10828 2015-04-23 Pedro Alves <palves@redhat.com>
10829
10830 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
10831
10832 2015-04-23 Pedro Alves <palves@redhat.com>
10833
10834 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
10835 on $any_spawn_id instead of only on $gdb_spawn_id.
10836
10837 2015-04-21 Pierre Muller <muller@sourceware.org>
10838
10839 PR pascal/17815
10840 * lib/pascal.exp (gpc_compile): Add new option "class".
10841 (fpc_compile): Likewise.
10842 * gdb.pascal/case-insensitive-symbols.pas: New file.
10843 * gdb.pascal/case-insensitive-symbols.exp: New file.
10844
10845 2015-04-20 Gary Benson <gbenson@redhat.com>
10846
10847 * gdb.base/attach.exp: Fix three extended remote failures.
10848
10849 2015-04-17 Gary Benson <gbenson@redhat.com>
10850
10851 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
10852 the main executable over the remote protocol.
10853
10854 2015-04-16 Pedro Alves <palves@redhat.com>
10855
10856 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
10857 a new gdbserver if gdbserver_reconnect_p is set.
10858
10859 2015-04-16 Pedro Alves <palves@redhat.com>
10860
10861 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
10862 is set, don't exit gdbserver.
10863
10864 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
10865
10866 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
10867 appropriate .insn, such that an older assembler can be used.
10868 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
10869 the z/Architecture instruction set on 31-bit targets as well.
10870
10871 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
10872
10873 * gdb.go/handcall.exp: Remove all logic related to the first
10874 breakpoint and rely on go_runto_main instead.
10875 * gdb.go/strings.exp: Likewise.
10876 * gdb.go/unsafe.exp: Likewise.
10877 * gdb.go/hello.exp: Likewise. Also rename the remaining
10878 breakpoint marker to "breakpoint 1".
10879 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
10880 * gdb.go/strings.go: Likewise.
10881 * gdb.go/unsafe.go: Likewise.
10882 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
10883 "set breakpoint 2 here" and rename the remaining breakpoint marker
10884 to "breakpoint 1".
10885
10886 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
10887
10888 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
10889 if itertools.imap is not present.
10890 * gdb.python/py-objfile.exp: Add parentheses.
10891 * gdb.python/py-type.exp: Same.
10892 * gdb.python/py-unwind-maint.py: Same.
10893
10894 2015-04-15 Yao Qi <yao.qi@linaro.org>
10895
10896 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
10897 of ":$ptr_size" and set its form explicitly.
10898
10899 2015-04-15 Pedro Alves <palves@redhat.com>
10900 Yao Qi <yao.qi@linaro.org>
10901
10902 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
10903 timeout by factor of 4.
10904 (test_regular_watch): Likewise.
10905 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
10906 * gdb.reverse/sigall-reverse.exp: Likewise.
10907 * gdb.reverse/until-precsave.exp: Likewise.
10908 * lib/gdb.exp (with_timeout_factor): New proc.
10909 (gdb_expect): Move some code to ...
10910 (get_largest_timeout): ... here. New procedure.
10911
10912 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
10913
10914 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
10915
10916 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
10917
10918 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
10919 to write to the .text section.
10920
10921 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
10922
10923 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
10924 Handle the case of targets that do not provide PID information.
10925
10926 2015-04-13 Yao Qi <yao.qi@linaro.org>
10927
10928 * lib/gdbserver-support.exp (gdb_exit): Catch exception
10929 and use expect instead of gdb_expect.
10930
10931 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
10932
10933 * gdb.base/coredump-filter.exp: Rename variable "addr" to
10934 "coredump_var_addr" to avoid naming conflict with other testcases.
10935
10936 2015-04-10 Pedro Alves <palves@redhat.com>
10937
10938 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
10939 gdb_test_sequence and gdb_assert.
10940
10941 2015-04-10 Pedro Alves <palves@redhat.com>
10942
10943 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
10944 test messages that don't include the breakpoint address.
10945
10946 2015-04-10 Yao Qi <yao.qi@linaro.org>
10947
10948 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
10949 false for some offset and width combinations which aren't
10950 supported by linux kernel.
10951
10952 2015-04-10 Pedro Alves <palves@redhat.com>
10953
10954 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
10955 procedure, factored out from ...
10956 (top level): ... here. Add "set displaced-stepping" testing axis.
10957 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
10958 parameter "displaced". Use it.
10959 (top level): Use foreach and add "set displaced-stepping" testing
10960 axis.
10961
10962 2015-04-10 Pedro Alves <palves@redhat.com>
10963
10964 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
10965 Remove comment.
10966 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
10967 both the address of the instruction that triggers the watchpoint
10968 and the address of the instruction immediately after, and use
10969 those addresses for the test. Fix comment.
10970
10971 2015-04-10 Pedro Alves <palves@redhat.com>
10972
10973 * gdb.base/sigstep.exp (breakpoint_to_handler)
10974 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
10975 Test "backtrace" in handler.
10976 (breakpoint_over_handler): New parameter 'displaced'. Use it.
10977 (top level): Add new "displaced" test axis to
10978 breakpoint_to_handler, breakpoint_to_handler_entry and
10979 breakpoint_over_handler.
10980
10981 2015-04-10 Pedro Alves <palves@redhat.com>
10982
10983 PR gdb/18216
10984 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
10985
10986 2015-04-10 Yao Qi <yao.qi@linaro.org>
10987
10988 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
10989 (test_add_rn_pc): New function.
10990 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
10991 (top level): Invoke test_add_rn_pc.
10992
10993 2015-04-10 Pedro Alves <palves@redhat.com>
10994
10995 PR gdb/13858
10996 * gdb.base/step-over-no-symbols.exp: New file.
10997
10998 2015-04-09 Andy Wingo <wingo@igalia.com>
10999
11000 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
11001 after the Python tests.
11002
11003 2015-04-08 Keith Seitz <keiths@redhat.com>
11004
11005 PR python/16699
11006 * gdb.python/py-completion.exp: New tests for completion.
11007 * gdb.python/py-completion.py (CompleteLimit1): New class.
11008 (CompleteLimit2): Likewise.
11009 (CompleteLimit3): Likewise.
11010 (CompleteLimit4): Likewise.
11011 (CompleteLimit5): Likewise.
11012 (CompleteLimit6): Likewise.
11013 (CompleteLimit7): Likewise.
11014
11015 2015-04-08 Pedro Alves <palves@redhat.com>
11016
11017 PR gdb/18214
11018 PR gdb/18216
11019 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
11020 function.
11021 (main): Install it as SIGUSR1 handler.
11022 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
11023 parameter. Always use "setup" as prefix. Toggle "set
11024 displaced-stepping" off/on depending on global. Don't switch to
11025 thread 1 here.
11026 (top level): Add displaced stepping "off/on" test axis. Update
11027 "setup" calls. Wrap each subtest with with_test_prefix. Test
11028 continuing with a queued signal in each thread.
11029
11030 2015-04-08 Pedro Alves <palves@redhat.com>
11031
11032 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
11033 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
11034 gdb_breakpoint instead of gdb_test that doesn't expect anything.
11035 Return early if running to main fails.
11036 * gdb.trace/while-stepping.exp: Likewise.
11037
11038 2015-04-07 Pedro Alves <palves@redhat.com>
11039
11040 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
11041 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
11042 interact with inferior program.
11043
11044 2015-04-07 Pedro Alves <palves@redhat.com>
11045
11046 * lib/gdb.exp (inferior_spawn_id): New global.
11047 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
11048 spawn id after processing the user code.
11049 (default_gdb_start): Set inferior_spawn_id.
11050 (send_inferior): New procedure.
11051 * lib/gdbserver-support.exp (gdbserver_start): Set
11052 inferior_spawn_id.
11053 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
11054
11055 2015-04-07 Pedro Alves <palves@redhat.com>
11056
11057 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
11058 * lib/gdbserver-support.exp (gdbserver_start): Make
11059 $server_spawn_id global.
11060 (gdbserver_start): Don't wait for gdbserver's spawn id with
11061 expect_background.
11062 (close_gdbserver): New procedure.
11063 (gdb_exit): Rename the default version and reimplement.
11064
11065 2015-04-07 Pedro Alves <palves@redhat.com>
11066
11067 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
11068 append the substituted item, not the original item.
11069
11070 2015-04-07 Pedro Alves <palves@redhat.com>
11071
11072 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
11073 gdb_expect.
11074
11075 2015-04-07 Pedro Alves <palves@redhat.com>
11076
11077 * gdb.base/interrupt.exp: Don't handle the case of the inferior
11078 output appearing once only.
11079
11080 2015-04-07 Pedro Alves <palves@redhat.com>
11081
11082 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
11083 that doesn't expect anything. Return early if running to main
11084 fails.
11085
11086 2015-04-07 Yao Qi <yao.qi@linaro.org>
11087
11088 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
11089 (child_function): Call alarm.
11090 (main): Move call to alarm into the loop.
11091 * gdb.threads/non-stop-fair-events.exp: Build program with
11092 -DTIMEOUT=$timeout.
11093
11094 2015-04-06 Doug Evans <xdje42@gmail.com>
11095
11096 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
11097 Fix dest parameter to board_info.
11098 (fpc_compile): Ditto.
11099 (gdb_compile_pascal): Rename dest arg to destfile.
11100
11101 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
11102
11103 * gdb.ada/funcall_ref.exp: New file.
11104 * gdb.ada/funcall_ref/foo.adb: New file.
11105
11106 2015-04-02 Yao Qi <yao.qi@linaro.org>
11107
11108 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
11109 is remote.
11110
11111 2015-04-02 Gary Benson <gbenson@redhat.com>
11112
11113 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
11114
11115 2015-04-01 Sasha Smundak <asmundak@google.com>
11116
11117 * gdb.python/py-unwind-maint.c: New file.
11118 * gdb.python/py-unwind-maint.exp: New test.
11119 * gdb.python/py-unwind-maint.py: New file.
11120 * gdb.python/py-unwind.c: New file.
11121 * gdb.python/py-unwind.exp: New test.
11122 * gdb.python/py-unwind.py: New test.
11123
11124 2015-04-01 Pedro Alves <palves@redhat.com>
11125
11126 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
11127 to fail instead of non-existent $test.
11128
11129 2015-04-01 Pedro Alves <palves@redhat.com>
11130
11131 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
11132 GDBFLAGS if not empty.
11133
11134 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
11135
11136 * gdb.ada/complete.exp: Remove "multi_line".
11137 * gdb.ada/info_exc.exp: Remove "multi_line".
11138 * gdb.ada/packed_tagged.exp: Remove "multi_line".
11139 * gdb.ada/ptype_field.exp: Remove "multi_line".
11140 * gdb.ada/sym_print_name.exp: Remove "multi_line".
11141 * gdb.ada/tagged.exp: Remove "multi_line".
11142 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
11143 [multi_line ...]
11144 * gdb.btrace/delta.exp: Likewise.
11145 * gdb.btrace/exception.exp: Likewise.
11146 * gdb.btrace/function_call_history.exp: Likewise.
11147 * gdb.btrace/instruction_history.exp: Likewise.
11148 * gdb.btrace/nohist.exp: Likewise.
11149 * gdb.btrace/record_goto.exp: Likewise.
11150 * gdb.btrace/segv.exp: Likewise.
11151 * gdb.btrace/stepi.exp: Likewise.
11152 * gdb.btrace/tailcall.exp: Likewise.
11153 * gdb.btrace/unknown_functions.exp: Likewise.
11154 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
11155 * lib/gdb.exp: Add the "multi_line" helper.
11156
11157 2015-04-01 Pedro Alves <palves@redhat.com>
11158
11159 * gdb.threads/tid-reuse.c: New file.
11160 * gdb.threads/tid-reuse.exp: New file.
11161
11162 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
11163
11164 PR corefiles/16092
11165 * gdb.base/coredump-filter.c: New file.
11166 * gdb.base/coredump-filter.exp: Likewise.
11167
11168 2015-03-27 Petr Machata <pmachata@redhat.com>
11169
11170 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
11171 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
11172 (Dwarf::assemble): Initialize them.
11173 (Dwarf::lines): New function.
11174
11175 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
11176
11177 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
11178 SYMBOL_PREFIX for x86_64-*-cygwin.
11179
11180 2015-03-26 Andy Wingo <wingo@igalia.com>
11181
11182 PR symtab/18148
11183 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
11184 const_value but not a location.
11185 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
11186 location defined in non-main CUs are visible.
11187
11188 2015-03-26 Yao Qi <yao.qi@linaro.org>
11189
11190 PR testsuite/18139
11191 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
11192 Add a line number entry for the same line.
11193 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
11194 Add a line number entry for the same line.
11195
11196 2015-03-26 Yao Qi <yao.qi@linaro.org>
11197
11198 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
11199 .int 0.
11200 (func): Likewise. Add .Lfunc_1 label.
11201 Use .Lfunc_1 label.
11202 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
11203 .int 0.
11204 (func): Likewise.
11205 Use .Lfunc_1 label.
11206
11207 2015-03-26 Yao Qi <yao.qi@linaro.org>
11208
11209 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
11210 Call gdb_compile instead to compile each .s files without debug
11211 information.
11212
11213 2015-03-26 Yao Qi <yao.qi@linaro.org>
11214
11215 * gdb.base/savedregs.exp (process_saved_regs): Make
11216 "Saved registers:" optional in the pattern.
11217
11218 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
11219
11220 * gdb.btrace/next.exp: Merged into step.exp.
11221 * gdb.btrace/finish.exp: Merged into step.exp.
11222 * gdb.btrace/nexti.exp: Merged into stepi.exp.
11223 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
11224 "record goto" and checking the exact replay position.
11225 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
11226 check for "Recording format" in "info record" output.
11227 * gdb.btrace/record_goto.exp: Choose test file based on target.
11228 * gdb.btrace/x86-record_goto.S: Renamed into ...
11229 * gdb.btrace/x86_64-record_goto.S: ... this.
11230 * gdb.btrace/i686-record_goto.S: New.
11231 * gdb.btrace/x86-tailcall.S: Renamed into ...
11232 * gdb.btrace/x86_64-tailcall.S: ... this.
11233 * gdb.btrace/i686-tailcall.S: New.
11234 * gdb.btrace/x86-tailcall.c: Renamed into ...
11235 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
11236 separate statements. Update test.
11237 * gdb.btrace/delta.exp: Use record_goto.c as test file.
11238 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
11239 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
11240 * gdb.btrace/tailcall.exp: Choose test file based on target.
11241 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
11242
11243 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
11244
11245 * gdb.btrace/exception.exp: Increase BTS buffer size.
11246
11247 2015-03-24 Pedro Alves <palves@redhat.com>
11248
11249 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
11250
11251 2015-03-24 Pedro Alves <palves@redhat.com>
11252
11253 * gdb.threads/schedlock.exp (test_step): No longer expect that
11254 "set scheduler-locking step" with "next" over a function call runs
11255 threads unlocked.
11256
11257 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
11258
11259 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
11260
11261 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
11262
11263 PR breakpoints/16466
11264 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
11265 * gdb.mi/mi-pending.c (thread_func): New function.
11266 (int main): Add threading support required.
11267 * gdb.mi/mi-pending.exp: Add tests for this issue.
11268 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
11269 (pendfunc2): Remove stdio dependency.
11270 * gdb.mi/mi-pendshr2.c: New file.
11271
11272 2015-03-23 Keith Seitz <keiths@redhat.com>
11273
11274 * gdb.linespec/keywords.c: New file.
11275 * gdb.linespec/keywords.exp: New file.
11276
11277 2015-03-23 Keith Seitz <keiths@redhat.com>
11278
11279 PR gdb/18021
11280 * gdb.dwarf2/staticvirtual.exp: New test.
11281
11282 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11283
11284 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
11285 * README: Remove HP-UX and gdb.hp.
11286 (configuration):
11287 * configure: Regenerate.
11288 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
11289 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
11290 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
11291 gdb.hp/gdb.defects/Makefile.
11292 * gdb.hp/Makefile.in: File deleted.
11293 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
11294 * gdb.hp/gdb.aCC/optimize.c: File deleted.
11295 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
11296 * gdb.hp/gdb.aCC/run.c: File deleted.
11297 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
11298 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
11299 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
11300 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
11301 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
11302 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
11303 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
11304 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
11305 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
11306 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
11307 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
11308 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
11309 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
11310 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
11311 * gdb.hp/gdb.base-hp/reg.s: File deleted.
11312 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
11313 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
11314 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
11315 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
11316 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
11317 * gdb.hp/gdb.compat/Makefile.in: File deleted.
11318 * gdb.hp/gdb.compat/average.c: File deleted.
11319 * gdb.hp/gdb.compat/sum.c: File deleted.
11320 * gdb.hp/gdb.compat/xdb.c: File deleted.
11321 * gdb.hp/gdb.compat/xdb0.c: File deleted.
11322 * gdb.hp/gdb.compat/xdb0.h: File deleted.
11323 * gdb.hp/gdb.compat/xdb1.c: File deleted.
11324 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
11325 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
11326 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
11327 * gdb.hp/gdb.defects/Makefile.in: File deleted.
11328 * gdb.hp/gdb.defects/bs14602.c: File deleted.
11329 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
11330 * gdb.hp/gdb.defects/solib-d.c: File deleted.
11331 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
11332 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
11333 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
11334 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
11335 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
11336 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
11337 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
11338 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
11339 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
11340 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
11341 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
11342 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
11343 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
11344 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
11345 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
11346 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
11347 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
11348 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
11349 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
11350 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
11351 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
11352 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
11353 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
11354 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
11355 * gdb.hp/tools/odump: File deleted.
11356
11357 2015-03-19 Pedro Alves <palves@redhat.com>
11358
11359 * gdb.threads/continue-pending-status.exp (saw_thread_2)
11360 (saw_thread_3): New globals.
11361 (top level): Increment them when an event for the corresponding
11362 thread is seen.
11363 (no thread starvation): New test.
11364
11365 2015-03-19 Pedro Alves <palves@redhat.com>
11366
11367 * gdb.threads/continue-pending-status.c: New file.
11368 * gdb.threads/continue-pending-status.exp: New file.
11369
11370 2015-03-18 Pedro Alves <palves@redhat.com>
11371
11372 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
11373 Use gdb_is_target_remote instead of is_remote. Use
11374 gdb_test_multiple instead of gdb_expect. Exit early if
11375 gdb_test_multiple hits its internal matches. Tighten stepi tests
11376 expected output. Fail on exit with any signal, instead of just
11377 SIGILL.
11378
11379 2015-03-18 Yao Qi <yao.qi@linaro.org>
11380
11381 PR tdep/18107
11382 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
11383 variable.
11384 * gdb.base/catch-syscall.exp: Don't skip it on
11385 aarch64*-*-linux* target. Remove elements in all_syscalls.
11386 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
11387 target.
11388 (setup_all_syscalls): New proc.
11389
11390 2015-03-16 Yao Qi <yao.qi@linaro.org>
11391
11392 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
11393 (top level): Skip tests if valid_addr_p returns false for
11394 $cmd1 or $cmd2.
11395
11396 2015-03-11 Andy Wingo <wingo@igalia.com>
11397
11398 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
11399
11400 2015-03-11 Yao Qi <yao.qi@linaro.org>
11401
11402 * gdb.base/catch-syscall.exp: Fix typo in comments.
11403
11404 2015-03-11 Yao Qi <yao.qi@linaro.org>
11405
11406 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
11407
11408 2015-03-09 Pedro Alves <palves@redhat.com>
11409
11410 * dg-extract-results.py: Delete.
11411
11412 2015-03-09 Pedro Alves <palves@redhat.com>
11413
11414 Merge dg-extract-results.sh from GCC upstream (r218843).
11415
11416 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
11417 * dg-extract-results.sh: Use --text with grep to avoid issues with
11418 binary files. Fall back to cat -v, if that doesn't work.
11419
11420 2015-03-05 Pedro Alves <palves@redhat.com>
11421
11422 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
11423
11424 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
11425
11426 * lib/mi-support.exp (mi_expect_interrupt): Accept
11427 alternative event for when in all-stop mode.
11428
11429 2015-03-04 Pedro Alves <palves@redhat.com>
11430
11431 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
11432
11433 2015-03-04 Mark Kettenis <kettenis@gnu.org>
11434
11435 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
11436
11437 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
11438
11439 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
11440 regexps for GDB's current line display, accept a hex address
11441 preceding the line number.
11442
11443 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
11444
11445 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
11446 the 'arch1' variable for "s390*-linux*" targets.
11447
11448 2015-03-04 Pedro Alves <palves@redhat.com>
11449
11450 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
11451 (main): Pass missing retval argument to pthread_join call.
11452
11453 2015-03-02 Pedro Alves <palves@redhat.com>
11454
11455 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
11456 (top level): Call do_test with non-stop as well.
11457
11458 2015-03-02 Pedro Alves <palves@redhat.com>
11459
11460 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
11461 -1.
11462
11463 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
11464
11465 * gdb.arch/s390-vregs.exp: New test.
11466 * gdb.arch/s390-vregs.S: New file.
11467
11468 2015-02-27 Pedro Alves <palves@redhat.com>
11469
11470 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
11471 call to catch_command_errors.
11472 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
11473 catch_command_errors.
11474
11475 2015-02-27 Pedro Alves <palves@redhat.com>
11476
11477 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
11478 "true" for boolean result.
11479 * gdb.gdb/selftest.exp (test_with_self): Also accept full
11480 prototype of main.
11481
11482 2015-02-27 Pedro Alves <palves@redhat.com>
11483
11484 * lib/unbuffer_output.c: New file.
11485 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
11486 (main): Call gdb_unbuffer_output.
11487
11488 2015-02-27 Yao Qi <yao.qi@linaro.org>
11489
11490 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
11491 target.
11492
11493 2015-02-26 Doug Evans <dje@google.com>
11494
11495 * gdb.cp/class2.cc (Dbase, D): New classes.
11496 (main): New local delta.
11497 * gdb.cp/class2.exp: Test printing delta.
11498 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
11499 (dynbar): New global.
11500 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
11501
11502 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
11503
11504 * gdb.compile/compile-ifunc.c: New file.
11505 * gdb.compile/compile-ifunc.exp: New file.
11506
11507 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
11508
11509 * gdb.base/structs.exp: Check for correct struct on finish.
11510
11511 2015-02-26 Yao Qi <yao.qi@linaro.org>
11512
11513 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
11514 is zero.
11515
11516 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
11517
11518 * gdb.arch/cordic.ko.bz2: New file.
11519 * gdb.arch/cordic.ko.debug.bz2: New file.
11520 * gdb.arch/ppc64-symtab-cordic.exp: New file.
11521
11522 2015-02-25 Yao Qi <yao.qi@linaro.org>
11523
11524 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
11525 aarch64*-*-* target.
11526
11527 2015-02-23 Pedro Alves <palves@redhat.com>
11528
11529 * lib/gdb.exp (delete_breakpoints): Rewrite using
11530 gdb_test_multiple.
11531
11532 2015-02-23 Pedro Alves <palves@redhat.com>
11533
11534 * gdb.base/info-os.c: Include stdlib.h.
11535
11536 2015-02-22 Doug Evans <xdje42@gmail.com>
11537
11538 PR symtab/17855
11539 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
11540 is read after symbols have been re-read.
11541 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
11542 * gdb.ada/exec_changed/second.adb (Second): Ditto.
11543
11544 2015-02-21 Doug Evans <dje@google.com>
11545
11546 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
11547
11548 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
11549
11550 PR corefiles/17808
11551 * gdb.arch/i386-biarch-core.core.bz2: New file.
11552 * gdb.arch/i386-biarch-core.exp: New file.
11553
11554 2015-02-21 Pedro Alves <palves@redhat.com>
11555
11556 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
11557 runto_main fails.
11558
11559 2015-02-20 Pedro Alves <palves@redhat.com>
11560
11561 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
11562 info probes.
11563
11564 2015-02-20 Pedro Alves <palves@redhat.com>
11565
11566 * gdb.threads/multi-create-ns-info-thr.exp: New file.
11567
11568 2015-02-20 Pedro Alves <palves@redhat.com>
11569
11570 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
11571 clean_restart before gdb_target_supports_trace.
11572
11573 2015-02-20 Pedro Alves <palves@redhat.com>
11574
11575 PR threads/18006
11576 * gdb.threads/clone-thread_db.c: New file.
11577 * gdb.threads/clone-thread_db.exp: New file.
11578
11579 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
11580
11581 PR breakpoints/16812
11582 * gdb.base/catch-gdb-caused-signals.c: New file.
11583 * gdb.base/catch-gdb-caused-signals.exp: New file.
11584
11585 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
11586
11587 * configure: Regenerated.
11588 * configure.ac: Use GDB_AC_TRANSFORM.
11589 * aclocal.m4: sinclude ../transform.m4.
11590
11591 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
11592
11593 * lib/dtrace.exp: New file.
11594 * gdb.base/dtrace-probe.exp: Likewise.
11595 * gdb.base/dtrace-probe.d: Likewise.
11596 * gdb.base/dtrace-probe.c: Likewise.
11597 * lib/pdtrace.in: Likewise.
11598 * configure.ac: Output variables with the transformed names of
11599 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
11600 * configure: Regenerated.
11601
11602 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
11603
11604 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
11605 expected message when trying to access $_probe_* convenience
11606 variables while not on a probe.
11607
11608 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11609
11610 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
11611
11612 2015-02-11 Pedro Alves <pedro@codesourcery.com>
11613
11614 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
11615 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
11616
11617 2015-02-10 Doug Evans <xdje42@gmail.com>
11618
11619 * lib/gdb.exp (gdb_load): Always return a result.
11620
11621 2015-02-10 Pedro Alves <palves@redhat.com>
11622
11623 * gdb.threads/signal-sigtrap.c: New file.
11624 * gdb.threads/signal-sigtrap.exp: New file.
11625
11626 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
11627
11628 * gdb.trace/no-attach-trace.c: New file.
11629 * gdb.trace/no-attach-trace.exp: New file.
11630
11631 2015-02-09 Mark Wielaard <mjw@redhat.com>
11632
11633 * gdb.dwarf2/atomic.c: New file.
11634 * gdb.dwarf2/atomic-type.exp: Likewise.
11635
11636 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
11637
11638 * gdb.btrace/buffer-size.exp: Update "info record" output.
11639 * gdb.btrace/delta.exp: Update "info record" output.
11640 * gdb.btrace/enable.exp: Update "info record" output.
11641 * gdb.btrace/finish.exp: Update "info record" output.
11642 * gdb.btrace/instruction_history.exp: Update "info record" output.
11643 * gdb.btrace/next.exp: Update "info record" output.
11644 * gdb.btrace/nexti.exp: Update "info record" output.
11645 * gdb.btrace/step.exp: Update "info record" output.
11646 * gdb.btrace/stepi.exp: Update "info record" output.
11647 * gdb.btrace/nohist.exp: Update "info record" output.
11648
11649 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
11650
11651 * gdb.btrace/buffer-size: New.
11652
11653 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
11654
11655 * gdb.btrace/delta.exp: Update "info record" output.
11656 * gdb.btrace/enable.exp: Update "info record" output.
11657 * gdb.btrace/finish.exp: Update "info record" output.
11658 * gdb.btrace/instruction_history.exp: Update "info record" output.
11659 * gdb.btrace/next.exp: Update "info record" output.
11660 * gdb.btrace/nexti.exp: Update "info record" output.
11661 * gdb.btrace/step.exp: Update "info record" output.
11662 * gdb.btrace/stepi.exp: Update "info record" output.
11663 * gdb.btrace/nohist.exp: Update "info record" output.
11664
11665 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
11666
11667 PR gdb/15678
11668 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
11669
11670 2015-02-06 Pedro Alves <palves@redhat.com>
11671
11672 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
11673 macro.
11674 (seconds_left, again): New globals.
11675 (main): Wait seconds_left in a 1-second sleep loop instead of
11676 sleeping 180 seconds. If 'again' is set, reset the seconds
11677 counter.
11678 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
11679 'again' in the inferior before detaching. Print the seconds left.
11680 (options): New global.
11681 (top level): Build program with -DTIMEOUT=$timeout.
11682
11683 2015-02-06 Pedro Alves <palves@redhat.com>
11684
11685 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
11686 determine how many seconds to pass to 'alarm'.
11687 * gdb.base/gdb-sigterm.exp (top level): Build program with
11688 -DTIMEOUT=$timeout.
11689 (do_test): Return success/failure indication. Add more verbose
11690 logging. Don't fail if 200 single steps are seen. Instead, fail
11691 when the test times out.
11692 (passes): New global.
11693 (top level): Break the testing loop if testing fails on any
11694 iteration. Use gdb_assert.
11695
11696 2015-02-04 Don Breazeal <donb@codesourcery.com>
11697
11698 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
11699 and initialize them.
11700 (ipc_cleanup): New function.
11701 (main): Don't declare shmid, semid, and msqid. Add a call to
11702 atexit so that we call ipc_cleanup on exit.
11703
11704 2015-02-04 Pedro Alves <palves@redhat.com>
11705
11706 * boards/native-extended-gdbserver.exp: Remove any target variant
11707 specifications from the board name before clearing the isremote
11708 flag from board_info.
11709
11710 2015-01-31 Doug Evans <xdje42@gmail.com>
11711
11712 * gdb.base/maint.exp <maint print type argc>: Update expected output.
11713
11714 2015-01-31 Gary Benson <gbenson@redhat.com>
11715
11716 * gdb.base/completion.exp: Disable completion limiting for
11717 existing tests. Add new tests to check completion limiting.
11718 * gdb.linespec/ls-errs.exp: Disable completion limiting.
11719
11720 2015-01-31 Doug Evans <xdje42@gmail.com>
11721
11722 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
11723
11724 2015-01-31 Doug Evans <xdje42@gmail.com>
11725
11726 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
11727 entries. Duplicate file section script entries.
11728 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
11729 inlined entries. Add test for safe-path rejection.
11730 * gdb.python/py-section-script.c: Add duplicate inlined section script
11731 entries. Duplicate file section script entries.
11732 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
11733 inlined entries. Add test for safe-path rejection.
11734
11735 2015-01-29 Joel Brobecker <brobecker@adacore.com>
11736
11737 * gdb.ada/disc_arr_bound: New testcase.
11738
11739 2015-01-29 Joel Brobecker <brobecker@adacore.com>
11740
11741 * gdb.ada/mi_var_array: New testcase.
11742
11743 2015-01-27 Doug Evans <dje@google.com>
11744
11745 * gdb.python/py-objfile.exp: Add tests for objfile.username.
11746 Add test for objfile.filename, objfile.username after objfile
11747 has been unloaded.
11748
11749 2015-01-26 Joel Brobecker <brobecker@adacore.com>
11750
11751 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
11752 the second test to print the name attribute of value
11753 returned by the call to gdb.lookup_type, and adjust
11754 the expected output accordingly.
11755
11756 2015-01-25 Mark Wielaard <mjw@redhat.com>
11757
11758 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
11759 * gdb.base/disp-step-fork.c: Include unistd.h.
11760 * gdb.base/siginfo-obj.c: Include stdio.h.
11761 * gdb.base/siginfo-thread.c: Likewise.
11762 * gdb.mi/non-stop.c: Include unistd.h.
11763 * gdb.mi/nsthrexec.c: Include stdio.h.
11764 * gdb.mi/pthreads.c: Include unistd.h.
11765 * gdb.modula2/unbounded1.c (main): Declare returns int.
11766 * gdb.reverse/consecutive-reverse.c: Likewise.
11767 * gdb.threads/create-fail.c: Include unistd.h.
11768 * gdb.threads/killed.c: Likewise.
11769 * gdb.threads/linux-dp.c: Likewise.
11770 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
11771 * gdb.threads/non-ldr-exc-2.c: Likewise.
11772 * gdb.threads/non-ldr-exc-3.c: Likewise.
11773 * gdb.threads/non-ldr-exc-4.c: Likewise.
11774 * gdb.threads/pthreads.c: Include unistd.h.
11775 (main): Declare returns int.
11776 * gdb.threads/tls-main.c (foo): New declaration.
11777 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
11778
11779 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
11780
11781 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
11782 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
11783
11784 2015-01-15 Mark Wielaard <mjw@redhat.com>
11785
11786 * gdb.base/noreturn-return.c: New file.
11787 * gdb.base/noreturn-return.exp: New file.
11788 * gdb.base/noreturn-finish.c: New file.
11789 * gdb.base/noreturn-finish.exp: New file.
11790
11791 2015-01-23 Pedro Alves <palves@redhat.com>
11792
11793 * gdb.threads/continue-pending-after-query.c: New file.
11794 * gdb.threads/continue-pending-after-query.exp: New file.
11795
11796 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
11797 Simon Marchi <simon.marchi@ericsson.com>
11798
11799 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
11800 * gdb.base/valgrind-db-attach.exp: Same.
11801 * gdb.base/valgrind-infcall.exp: Same.
11802 * lib/mi-support.exp (default_mi_gdb_start): Same.
11803 * lib/prompt.exp (default_prompt_gdb_start): Same.
11804 * lib/gdb.exp (default_gdb_spawn): Same.
11805 (gdb_interact): New.
11806
11807
11808 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11809
11810 * gdb.compile/compile.exp (pointer to jit function): New test.
11811
11812 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
11813
11814 * lib/gdb.exp (supports_process_record): Return true for
11815 powerpc*-*-linux*.
11816 (supports_reverse): Likewise.
11817
11818 2015-01-15 Don Breazeal <donb@codesourcery.com>
11819
11820 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
11821 instead of checking whether the target board is remote and
11822 use spawn_wait_for_attach instead of exec/sleep.
11823 * gdb.base/attach-twice.exp: Likewise.
11824
11825 2015-01-15 Joel Brobecker <brobecker@adacore.com>
11826
11827 * gdb.ada/var_arr_attrs: New testcase.
11828
11829 2015-01-14 Pedro Alves <palves@redhat.com>
11830 Joel Brobecker <brobecker@adacore.com>
11831
11832 PR gdb/17525
11833 * gdb.base/bp-cmds-execution-x-script.c: New file.
11834 * gdb.base/bp-cmds-execution-x-script.exp: New file.
11835 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
11836
11837 2015-01-14 Pedro Alves <palves@redhat.com>
11838
11839 PR cli/17828
11840 * gdb.base/batch-preserve-term-settings.c: New file.
11841 * gdb.base/batch-preserve-term-settings.exp: New file.
11842
11843 2015-01-13 Doug Evans <dje@google.com>
11844
11845 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
11846 binary.
11847
11848 2015-01-13 Joel Brobecker <brobecker@adacore.com>
11849
11850 * Makefile.in (clean mostlyclean): Do not delete *.py.
11851
11852 2015-01-13 Joel Brobecker <brobecker@adacore.com>
11853
11854 * gdb.python/py-lookup-type.exp: New file.
11855
11856 2015-01-12 Pedro Alves <palves@redhat.com>
11857
11858 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
11859 restore GDBFLAGS before returning.
11860
11861 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
11862
11863 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
11864 is_amd64_regs_target and is_x86_like_target.
11865
11866 2015-01-11 Doug Evans <xdje42@gmail.com>
11867
11868 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
11869 is given without an explicit form.
11870 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
11871 attributes.
11872 * gdb.dwarf/corrupt.exp: Ditto.
11873 * gdb.dwarf2/enum-type.exp: Ditto.
11874 * gdb.trace/entry-values.exp: Ditto.
11875 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
11876
11877 2015-01-11 Doug Evans <xdje42@gmail.com>
11878
11879 PR gdb/15830
11880 * gdb.base/maint.exp: Remove references to "maint demangle".
11881 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
11882 Add tests for explicitly specifying language to demangle.
11883 * gdb.dlang/demangle.exp: Ditto.
11884
11885 2015-01-09 Pedro Alves <palves@redhat.com>
11886
11887 * gdb.threads/non-stop-fair-events.c: New file.
11888 * gdb.threads/non-stop-fair-events.exp: New file.
11889
11890 2015-01-09 Pedro Alves <palves@redhat.com>
11891
11892 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
11893 the global scope. Set a breakpoint after all threads are started
11894 rather than stepping over two source lines. Expect the prompt.
11895 * gdb.base/watch_thread_num.c (threads_started_barrier): New
11896 global.
11897 (NUM): Now 15.
11898 (main): Use threads_started_barrier to wait for all threads to
11899 start. Main thread no longer calls thread_function. Exit after
11900 180 seconds.
11901 (loop): New function.
11902 (thread_function): Wait on threads_started_barrier barrier. Call
11903 'loop' at each iteration.
11904 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
11905 threads have started, instead of hardcoding number of "next"
11906 steps. Use an access watchpoint instead of a write watchpoint.
11907
11908 2015-01-09 Pedro Alves <palves@redhat.com>
11909
11910 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
11911 (thread_func): Wait on barrier.
11912 (main): Wait for all threads to start before stopping GDB.
11913 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
11914 global.
11915 (thread1_func, thread2_func): Wait on barrier.
11916 (main): Wait for all threads to start before stopping GDB.
11917 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
11918 New global.
11919 (thread1_func, thread2_func): Wait on barrier.
11920 (main): Wait for all threads to start before stopping GDB.
11921
11922 2015-01-09 Pedro Alves <palves@redhat.com>
11923
11924 * gdb.threads/attach-many-short-lived-threads.c: New file.
11925 * gdb.threads/attach-many-short-lived-threads.exp: New file.
11926
11927 2014-01-09 Pedro Alves <palves@redhat.com>
11928
11929 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
11930 instead of to thread 2.
11931 * gdb.threads/signal-command-multiple-signals-pending.c (main):
11932 Add barrier around each pthread_create call instead of around all
11933 calls.
11934 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
11935 Set a break on thread_function and have the child threads hit it
11936 one at at a time.
11937
11938 2015-01-09 Pedro Alves <palves@redhat.com>
11939
11940 * lib/gdb.exp (can_spawn_for_attach): New procedure.
11941 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
11942 false.
11943 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
11944 checking whether the target board is remote.
11945 * gdb.multi/multi-attach.exp: Likewise.
11946 * gdb.python/py-sync-interp.exp: Likewise.
11947 * gdb.server/ext-attach.exp: Likewise.
11948 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
11949 tests that need to attach, instead of checking whether the target
11950 board is remote at the top of the file.
11951
11952 2015-01-08 Yao Qi <yao@codesourcery.com>
11953
11954 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
11955
11956 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11957
11958 Fix testcase compilation.
11959 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
11960
11961 2015-01-06 Joel Brobecker <brobecker@adacore.com>
11962
11963 * gdb.python/py-type.exp: Add a couple test about empty
11964 array creation, and negative-length array creation.
11965
11966 2015-01-02 Doug Evans <xdje42@gmail.com>
11967
11968 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
11969
11970 2015-01-02 Doug Evans <dje@google.com>
11971
11972 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
11973
11974 2014-12-29 Yao Qi <yao@codesourcery.com>
11975
11976 * gdb.trace/entry-values.exp: Update comments. Rename variable
11977 bar_call_foo to returned_from_foo.
11978
11979 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
11980
11981 PR gdb/17394
11982 * gdb.linespec/break-asm-file.c: New file.
11983 * gdb.linespec/break-asm-file.exp: New file.
11984 * gdb.linespec/break-asm-file0.s: New file.
11985 * gdb.linespec/break-asm-file1.s: New file.
11986
11987 2014-12-18 Nigel Stephens <nigel@mips.com>
11988 Maciej W. Rozycki <macro@codesourcery.com>
11989
11990 * gdb.base/float.exp: Handle the new output from "info float" on
11991 MIPS targets.
11992
11993 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
11994
11995 Fix MinGW compilation.
11996 * gdb.compile/compile-ops.exp: Update untested message if
11997 !skip_compile_feature_tests.
11998 * gdb.compile/compile-setjmp.exp: Likewise.
11999 * gdb.compile/compile-tls.exp: Likewise.
12000 * gdb.compile/compile.exp: Likewise.
12001 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
12002 supported on this host".
12003
12004 2014-12-16 Doug Evans <xdje42@gmail.com>
12005
12006 * boards/stabs.exp: New file.
12007
12008 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
12009
12010 * gdb.base/completion.exp: Adjust to format changes of "maint
12011 print user-registers".
12012
12013 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
12014
12015 PR server/17457
12016 * gdb.arch/aarch64-fp.c: New file.
12017 * gdb.arch/aarch64-fp.exp: New file.
12018
12019 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
12020
12021 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
12022 r210637, r210913, r211666, r215400, r215817).
12023
12024 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
12025 * dg-extract-results.py: New file.
12026 * dg-extract-results.sh: Use it if the environment seems
12027 suitable.
12028
12029 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
12030
12031 * dg-extract-results.py (parse_run): Handle warnings that
12032 are printed before a test harness is run.
12033
12034 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
12035
12036 * dg-extract-results.py (Named): Remove __cmp__ method.
12037 (output_variation): Use a key to sort variation.harnesses.
12038
12039 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
12040
12041 * dg-extract-results.py: For Python 3, force sys.stdout to
12042 handle surrogate escape sequences.
12043 (safe_open): New function.
12044 (output_segment, main): Use it.
12045
12046 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
12047
12048 * dg-extract-results.py (Prog.result_re): Include options
12049 in test name.
12050
12051 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
12052
12053 * dg-extract-results.py (output_variation): Always sort if
12054 do_sum.
12055
12056 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
12057
12058 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
12059 as long as we get pagination notifications.
12060
12061 2014-12-15 Jason Merrill <jason@redhat.com>
12062
12063 * Makefile.in (check-gdb.%): Restore.
12064 * README: Mention it.
12065
12066 2014-12-13 Joel Brobecker <brobecker@adacore.com>
12067
12068 * gdb.ada/str_uninit: New testcase.
12069
12070 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12071
12072 PR symtab/17642
12073 * gdb.base/vla-stub-define.c: New file.
12074 * gdb.base/vla-stub.c: New file.
12075 * gdb.base/vla-stub.exp: New file.
12076
12077 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
12078 Jan Kratochvil <jan.kratochvil@redhat.com>
12079 Tom Tromey <tromey@redhat.com>
12080
12081 * configure.ac: Add gdb.compile/.
12082 * configure: Regenerate.
12083 * gdb.compile/Makefile.in: New file.
12084 * gdb.compile/compile-ops.exp: New file.
12085 * gdb.compile/compile-ops.c: New file.
12086 * gdb.compile/compile-tls.c: New file.
12087 * gdb.compile/compile-tls.exp: New file.
12088 * gdb.compile/compile-constvar.S: New file.
12089 * gdb.compile/compile-constvar.c: New file.
12090 * gdb.compile/compile-mod.c: New file.
12091 * gdb.compile/compile-nodebug.c: New file.
12092 * gdb.compile/compile-setjmp-mod.c: New file.
12093 * gdb.compile/compile-setjmp.c: New file.
12094 * gdb.compile/compile-setjmp.exp: New file.
12095 * gdb.compile/compile-shlib.c: New file.
12096 * gdb.compile/compile.c: New file.
12097 * gdb.compile/compile.exp: New file.
12098 * lib/gdb.exp (skip_compile_feature_tests): New proc.
12099
12100 2014-12-12 Tom Tromey <tromey@redhat.com>
12101
12102 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
12103 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
12104
12105 2014-12-12 Doug Evans <dje@google.com>
12106
12107 * lib/gdb-python.exp (get_python_valueof): New function.
12108 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
12109
12110 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
12111
12112 * gdb.base/completion.exp: Add test for completion of "info
12113 registers ".
12114
12115 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
12116
12117 * gdb.base/func-ptrs.c: New file.
12118 * gdb.base/func-ptrs.exp: New file.
12119
12120 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
12121
12122 PR breakpoints/17012
12123 * gdb.base/dprintf-detach.c: New file.
12124 * gdb.base/dprintf-detach.exp: New file.
12125
12126 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
12127
12128 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
12129 * lib/gdb.exp (target_is_gdbserver): New procedure.
12130
12131 2014-12-08 Doug Evans <dje@google.com>
12132
12133 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
12134
12135 2014-12-05 Yao Qi <yao@codesourcery.com>
12136
12137 * gdb.guile/scm-error.exp: Remove the third argument to
12138 gdb_remote_download.
12139 * gdb.guile/scm-frame-args.exp: Likewise.
12140 * gdb.guile/scm-section-script.exp: Likewise.
12141
12142 2014-12-05 Yao Qi <yao@codesourcery.com>
12143
12144 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
12145
12146 2014-12-04 Doug Evans <dje@google.com>
12147
12148 * gdb.python/py-objfile.exp: Add tests for
12149 objfile.add_separate_debug_file.
12150
12151 2014-12-04 Doug Evans <dje@google.com>
12152
12153 * lib/gdb.exp (get_build_id): New function.
12154 (build_id_debug_filename_get): Rewrite to use it.
12155 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
12156
12157 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
12158
12159 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
12160 `method(long)', not just 0x0.
12161 * gdb.cp/nsalias.exp: Align code labels to 4.
12162 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
12163 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
12164 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
12165 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
12166 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
12167 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
12168
12169 2014-12-02 Doug Evans <dje@google.com>
12170
12171 PR symtab/17602
12172 * gdb.cp/anon-ns.cc: Move guts of this file to ...
12173 * gdb.cp/anon-ns2.cc: ... here. New file.
12174 * gdb.cp/anon-ns.exp: Update.
12175
12176 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
12177
12178 * gdb.python/py-events.py (inferior_call_handler): New.
12179 (register_changed_handler, memory_changed_handler): New.
12180 (test_events.invoke): Register new handlers.
12181 * gdb.python/py-events.exp: Add tests for inferior call,
12182 memory_changed and register_changed events.
12183
12184 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
12185
12186 * gdb.base/execl-update-breakpoints.exp: Specify the link address
12187 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
12188 if the linker doesn't understand this.
12189
12190 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
12191
12192 * gdb.python/python.exp: Change expected reply to help().
12193
12194 2014-12-01 Yao Qi <yao@codesourcery.com>
12195
12196 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
12197 AC_CONFIG_SUBDIRS(gdb.gdbtk).
12198 * configure: Re-generated.
12199
12200 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
12201
12202 * gdb.cp/chained-calls.cc: New file.
12203 * gdb.cp/chained-calls.exp: New file.
12204 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
12205
12206 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
12207
12208 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
12209 * gdb.dwarf2/symtab-producer.exp: Same.
12210 * gdb.gdb/python-interrupts.exp: Same.
12211 * gdb.gdb/python-selftest.exp: Same.
12212 * gdb.python/py-linetable.exp: Same.
12213 * gdb.python/py-type.exp: Same.
12214 * gdb.python/py-value-cc.exp: Same.
12215 * gdb.python/py-value.exp: Same.
12216
12217 2014-11-28 Yao Qi <yao@codesourcery.com>
12218
12219 * gdb.base/break-probes.exp: Match library name prefixed with
12220 sysroot.
12221
12222 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
12223
12224 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
12225 test expected output. Add parentheses for the call to print.
12226 Remove L suffix from integers.
12227
12228 2014-11-26 Doug Evans <dje@google.com>
12229
12230 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
12231
12232 2014-11-22 Yao Qi <yao@codesourcery.com>
12233
12234 * gdb.trace/entry-values.c: Remove asms.
12235 (foo): Add foo_label.
12236 (bar): Add bar_label.
12237 * gdb.trace/entry-values.exp: Remove code computing foo's
12238 length and bar's length.
12239 (Dwarf::assemble): Invoke function_range for bar and use
12240 MACRO_AT_func for foo.
12241
12242 2014-11-22 Yao Qi <yao@codesourcery.com>
12243
12244 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
12245 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
12246 Use .Lgcc43_procstart instead of gcc43.
12247
12248 2014-11-21 Joel Brobecker <brobecker@adacore.com>
12249
12250 * gdb.ada/n_arr_bound: New testcase.
12251
12252 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
12253
12254 PR breakpoints/10737
12255 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
12256 test_catch_syscall_multi_arch.
12257 (test_catch_syscall_multi_arch): New function.
12258
12259 2014-11-20 Doug Evans <xdje42@gmail.com>
12260
12261 * gdb.base/maint.exp: Update expected output.
12262
12263 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
12264
12265 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
12266 4-byte instruction on S390.
12267
12268 2014-11-19 Joel Brobecker <brobecker@adacore.com>
12269
12270 * gdb.ada/arr_arr: New testcase.
12271
12272 2014-11-19 Joel Brobecker <brobecker@adacore.com>
12273
12274 * gdb.ada/pkd_arr_elem: New Testcase.
12275
12276 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
12277
12278 * gdb.reverse/break-precsave: Expect completion message for
12279 core file reads.
12280 * gdb.reverse/consecutive-precsave.exp: Likewise.
12281 * gdb.reverse/finish-precsave.exp: Likewise.
12282 * gdb.reverse/i386-precsave.exp: Likewise.
12283 * gdb.reverse/machinestate-precsave.exp: Likewise.
12284 * gdb.reverse/sigall-precsave.exp: Likewise.
12285 * gdb.reverse/solib-precsave.exp: Likewise.
12286 * gdb.reverse/step-precsave.exp: Likewise.
12287 * gdb.reverse/until-precsave.exp: Likewise.
12288 * gdb.reverse/watch-precsave.exp: Likewise.
12289
12290 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
12291
12292 * gdb.base/bp-permanent.c: Include unistd.h.
12293 * gdb.python/py-framefilter-mi.c (main): Add return type.
12294 * gdb.python/py-framefilter.c (main): Likewise.
12295 * gdb.trace/actions-changed.c (main): Likewise.
12296
12297 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
12298
12299 * gdb.mi/until.c: Add eye-catchers.
12300 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
12301 line numbers.
12302
12303 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
12304
12305 * gdb.base/condbreak.exp: Drop references to removed non-prototype
12306 function header variants in break1.c.
12307 * gdb.base/ena-dis-br.exp: Likewise.
12308 * gdb.base/hbreak2.exp: Likewise.
12309 * gdb.reverse/until-precsave.exp: Drop references to removed
12310 non-prototype function header variants in ur1.c.
12311 * gdb.reverse/until-reverse.exp: Likewise.
12312
12313 2014-11-17 Petr Machata <pmachata@redhat.com>
12314
12315 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
12316 ${_cu_offset_size} bytes abbrev offset.
12317
12318 2014-11-15 Doug Evans <xdje42@gmail.com>
12319
12320 PR symtab/17559
12321 * gdb.base/line-symtabs.exp: New file.
12322 * gdb.base/line-symtabs.c: New file.
12323 * gdb.base/line-symtabs.h: New file.
12324
12325 2014-11-14 Yao Qi <yao@codesourcery.com>
12326
12327 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
12328 (func): Add label func_label.
12329 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
12330 Replace low_pc and high_pc with MACRO_AT_range.
12331 Replace name, low_pc and high_pc with MACRO_AT_func.
12332
12333 2014-11-14 Yao Qi <yao@codesourcery.com>
12334
12335 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
12336 Replace name, low_pc and high_pc with MACRO_AT_func.
12337
12338 2014-11-14 Yao Qi <yao@codesourcery.com>
12339
12340 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
12341 produce debug information.
12342 * gdb.dwarf2/implptr-optimized-out.S: Removed.
12343
12344 2014-11-14 Yao Qi <yao@codesourcery.com>
12345
12346 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
12347 object and get function length.
12348 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
12349 with MACRO_AT_func.
12350 (top-level): Replace gdb_compile and clean_restart with
12351 prepare_for_testing.
12352 * gdb.dwarf2/main.c (main): Add label main_label.
12353
12354 2014-11-14 Yao Qi <yao@codesourcery.com>
12355
12356 * lib/dwarf.exp (function_range): New procedure.
12357 (Dwarf::_handle_macro_at_func): New procedure.
12358 (Dwarf::_handle_macro_at_range): New procedure.
12359 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
12360
12361 2014-11-14 Yao Qi <yao@codesourcery.com>
12362
12363 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
12364 (_handle_attribute): New procedure.
12365
12366 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12367
12368 * gdb.ada/cond_lang/foo.c (callme): Add return type.
12369 * gdb.base/call-sc.c (zed): Likewise.
12370 * gdb.base/checkpoint.c (main): Likewise.
12371 * gdb.base/dump.c (main): Likewise.
12372 * gdb.base/gcore.c (main): Likewise.
12373 * gdb.base/huge.c (main): Likewise.
12374 * gdb.base/multi-forks.c (main): Likewise.
12375 * gdb.base/pr10179-a.c (main): Likewise.
12376 * gdb.base/savedregs.c (main): Likewise.
12377 * gdb.base/sigaltstack.c (main): Likewise.
12378 * gdb.base/siginfo.c (main): Likewise.
12379 * gdb.base/structs.c (zed): Likewise.
12380 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
12381 * gdb.mi/mi-syn-frame.c (main): Likewise.
12382 * gdb.mi/until.c (foo, main): Likewise.
12383 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
12384 * gdb.base/solib-weak.c (foo): Declare.
12385 * gdb.base/attach-twice.c: Include stdio.h.
12386 * gdb.base/weaklib1.c: Likewise.
12387 * gdb.base/weaklib2.c: Likewise.
12388 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
12389 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
12390 unistd.h.
12391 * gdb.base/attach-pie-misread.c: Include stdlib.h.
12392 * gdb.mi/mi-exit-code.c: Likewise.
12393 * gdb.base/break-interp-lib.c: Include string.h.
12394 * gdb.base/coremaker.c: Likewise.
12395 * gdb.base/testenv.c: Likewise.
12396 * gdb.python/py-finish-breakpoint.c: Likewise.
12397 * gdb.base/inferior-died.c: Include sys/wait.h.
12398 * gdb.base/fileio.c: Include time.h.
12399 * gdb.base/async-shell.c: Include unistd.h.
12400 * gdb.base/dprintf-non-stop.c: Likewise.
12401 * gdb.base/info-os.c: Likewise.
12402 * gdb.mi/mi-console.c: Likewise.
12403 * gdb.mi/watch-nonstop.c: Likewise.
12404 * gdb.python/py-events.c: Likewise.
12405 * gdb.base/async.c (baz): Move up before its invocation.
12406 * gdb.base/code_elim2.c (my_global_func): Likewise.
12407 * gdb.base/skip-solib-lib.c (multiply): Likewise.
12408 * gdb.base/advance.c (func2): Likewise.
12409
12410 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12411
12412 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
12413 variant.
12414 * gdb.base/annota3.c: Likewise.
12415 * gdb.base/async.c: Likewise.
12416 * gdb.base/average.c: Likewise.
12417 * gdb.base/call-ar-st.c: Likewise.
12418 * gdb.base/call-rt-st.c: Likewise.
12419 * gdb.base/call-sc.c: Likewise.
12420 * gdb.base/call-strs.c: Likewise.
12421 * gdb.base/ending-run.c: Likewise.
12422 * gdb.base/execd-prog.c: Likewise.
12423 * gdb.base/exprs.c: Likewise.
12424 * gdb.base/foll-exec.c: Likewise.
12425 * gdb.base/foll-fork.c: Likewise.
12426 * gdb.base/foll-vfork.c: Likewise.
12427 * gdb.base/funcargs.c: Likewise.
12428 * gdb.base/gcore.c: Likewise.
12429 * gdb.base/jump.c: Likewise.
12430 * gdb.base/langs0.c: Likewise.
12431 * gdb.base/langs1.c: Likewise.
12432 * gdb.base/langs2.c: Likewise.
12433 * gdb.base/mips_pro.c: Likewise.
12434 * gdb.base/nodebug.c: Likewise.
12435 * gdb.base/opaque0.c: Likewise.
12436 * gdb.base/opaque1.c: Likewise.
12437 * gdb.base/recurse.c: Likewise.
12438 * gdb.base/run.c: Likewise.
12439 * gdb.base/scope0.c: Likewise.
12440 * gdb.base/scope1.c: Likewise.
12441 * gdb.base/setshow.c: Likewise.
12442 * gdb.base/setvar.c: Likewise.
12443 * gdb.base/shmain.c: Likewise.
12444 * gdb.base/shr1.c: Likewise.
12445 * gdb.base/shr2.c: Likewise.
12446 * gdb.base/sigall.c: Likewise.
12447 * gdb.base/signals.c: Likewise.
12448 * gdb.base/so-indr-cl.c: Likewise.
12449 * gdb.base/solib2.c: Likewise.
12450 * gdb.base/structs.c: Likewise.
12451 * gdb.base/sum.c: Likewise.
12452 * gdb.base/vforked-prog.c: Likewise.
12453 * gdb.base/watchpoint.c: Likewise.
12454 * gdb.reverse/shr2.c: Likewise.
12455 * gdb.reverse/until-reverse.c: Likewise.
12456 * gdb.reverse/ur1.c: Likewise.
12457 * gdb.reverse/watch-reverse.c: Likewise.
12458
12459 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12460
12461 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
12462 variant.
12463 * gdb.base/sepdebug.exp: Drop references to removed code.
12464
12465 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12466
12467 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
12468 variant. Preserve original line numbering.
12469 * gdb.base/list1.c: Likewise.
12470
12471 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12472
12473 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
12474 variant.
12475 * gdb.base/break1.c: Likewise.
12476 * gdb.base/break.exp: Drop references to removed code.
12477
12478 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12479
12480 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
12481 variant.
12482
12483 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12484
12485 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
12486
12487 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12488
12489 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
12490 logic into perform_all_tests() and invoke it with and without
12491 function header prototypes.
12492 (do_function_calls): Remove conditional XFAIL for PR 5318.
12493 (rerun_and_prepare): Remove duplicate code.
12494 (perform_all_tests): New. Main logic moved here.
12495
12496 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12497
12498 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
12499 code guarded by #ifdef NO_PROTOTYPES.
12500 (t_double_many_args): Likewise.
12501 (DEF_FUNC_MANY_ARGS_1): Likewise.
12502 (DEF_FUNC_VALUES_1): Likewise.
12503 (t_structs_ldc): Renamed from t_structs_fc in conditional code
12504 guarded by #ifdef PROTOTYPES.
12505
12506 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12507
12508 * gdb.mi/mi-console.c: Add eye-catcher.
12509 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
12510 instead of literal line number.
12511
12512 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12513
12514 * gdb.base/shr2.c: Add eye-catcher.
12515 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
12516 line number.
12517
12518 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12519
12520 * gdb.base/jump.c: Add eye-catchers.
12521 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
12522 numbers.
12523
12524 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12525
12526 * gdb.base/execd-prog.c: Add eye-catchers.
12527 * gdb.base/foll-exec.c: Likewise.
12528 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
12529 line numbers.
12530
12531 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12532
12533 * gdb.base/ending-run.c: Add eye-catchers.
12534 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
12535 literal line numbers.
12536
12537 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12538
12539 * gdb.base/call-rt-st.c: Add eye-catchers.
12540 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
12541 literal line numbers.
12542
12543 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12544
12545 * gdb.base/call-ar-st.c: Add eye-catchers.
12546 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
12547 literal line numbers.
12548
12549 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12550
12551 * gdb.base/average.c: Add eye-catchers.
12552 * gdb.base/sum.c: Likewise.
12553 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
12554 regexps dynamically.
12555
12556 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12557
12558 * gdb.base/solib1.c: Add eye-catchers.
12559 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
12560 literal line numbers.
12561
12562 2014-11-12 Pedro Alves <palves@redhat.com>
12563
12564 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
12565 leader has exited.
12566
12567 2014-11-12 Pedro Alves <palves@redhat.com>
12568
12569 * gdb.arch/i386-bp_permanent.c: New file.
12570 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
12571 (srcfile): Set to i386-bp_permanent.c.
12572 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
12573 that stepi does not execute the 'leave' instruction, instead of
12574 testing it does execute.
12575 * gdb.base/bp-permanent.c: New file.
12576 * gdb.base/bp-permanent.exp: New file.
12577
12578 2014-11-10 Doug Evans <xdje42@gmail.com>
12579
12580 PR symtab/17564
12581 * gdb.base/symtab-search-order.exp: New file.
12582 * gdb.base/symtab-search-order.c: New file.
12583 * gdb.base/symtab-search-order-1.c: New file.
12584 * gdb.base/symtab-search-order-shlib-1.c: New file.
12585
12586 2014-11-07 Pedro Alves <palves@redhat.com>
12587
12588 PR gdb/17511
12589 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
12590 i?86-*-linux*.
12591
12592 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
12593
12594 PR c++/17494
12595 * gdb.cp/pr17494.cc: New file.
12596 * gdb.cp/pr17494.exp: New file.
12597
12598 2014-11-02 Yao Qi <yao@codesourcery.com>
12599
12600 * gdb.python/python.exp: Get working directory and match the
12601 output of "set extended-prompt \\w " with it.
12602
12603 2014-10-30 Doug Evans <dje@google.com>
12604
12605 * gdb.python/py-objfile.exp: Add tests for setting random attributes
12606 in objfiles.
12607 * gdb.python/py-progspace.exp: Add tests for setting random attributes
12608 in progspaces.
12609
12610 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
12611
12612 * gdb.base/fullpath-expand.exp: Skip for a remote host.
12613 * gdb.base/realname-expand.exp: Likewise.
12614 * gdb.linespec/macro-relative.exp: Likewise.
12615
12616 2014-10-29 Pedro Alves <palves@redhat.com>
12617
12618 PR gdb/17408
12619 * gdb.threads/schedlock.c (some_function): New function.
12620 (call_function): New global.
12621 (MAYBE_CALL_SOME_FUNCTION): New macro.
12622 (thread_function): Call it.
12623 * gdb.threads/schedlock.exp (get_args): Add description parameter,
12624 and use it instead of a global counter. Adjust all callers.
12625 (get_current_thread): Use "find current thread" for test message
12626 here rather than having all callers pass down the same string.
12627 (goto_loop): New procedure, factored out from ...
12628 (my_continue): ... this.
12629 (step_ten_loops): Change parameter from test message to command to
12630 use. Adjust.
12631 (list_count): Delete global.
12632 (check_result): New procedure, factored out from duplicate top
12633 level code.
12634 (continue tests): Wrap in with_test_prefix.
12635 (test_step): New procedure, factored out from duplicate top level
12636 code.
12637 (top level): Test "step" in combination with all scheduler-locking
12638 modes. Test "next" in combination with all scheduler-locking
12639 modes, and in combination with stepping over a function call or
12640 not.
12641 * gdb.threads/next-bp-other-thread.c: New file.
12642 * gdb.threads/next-bp-other-thread.exp: New file.
12643
12644 2014-10-29 Pedro Alves <palves@redhat.com>
12645
12646 PR python/17372
12647 * gdb.python/python.exp: Test a multi-line command that spawns
12648 interactive Python.
12649 * gdb.base/multi-line-starts-subshell.exp: New file.
12650
12651 2014-10-29 Yao Qi <yao@codesourcery.com>
12652
12653 * gdb.base/fileio.exp: Make directories on host.
12654
12655 2014-10-29 Yao Qi <yao@codesourcery.com>
12656
12657 * gdb.base/fileio.c (test_write): Close the file.
12658
12659 2014-10-28 Pedro Alves <palves@redhat.com>
12660
12661 PR gdb/12623
12662 * gdb.base/sigstep.c (no_handler): New global.
12663 (main): If 'no_handler is true, set the signal handlers to
12664 SIG_IGN.
12665 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
12666 with_sw_watch and no_handler parameters. Handle them.
12667 (top level) <stepping over handler when stopped at a breakpoint
12668 test>: Add a test axis for testing with a software watchpoint, and
12669 another for testing with the signal handler set to SIG_IGN.
12670 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
12671 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
12672
12673 2014-10-28 Pedro Alves <palves@redhat.com>
12674
12675 PR gdb/17511
12676 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
12677 * gdb.base/sigstep.exp (other_handler_location): New global.
12678 (advance): Support stepping into the signal handler, and running
12679 commands while in the handler.
12680 (in_handler_map): New global.
12681 (top level): In the advance test, add combinations for getting
12682 into the handler with stepping commands, and for running commands
12683 in the handler. Add comment descripting the advancei tests.
12684
12685 2014-10-28 Pedro Alves <palves@redhat.com>
12686
12687 * gdb.base/sigstep.exp: Use build_executable instead of
12688 prepare_for_testing.
12689 (top level): Move code that starts GDB, runs to main and creates a
12690 display to ...
12691 (restart): ... this new procedure.
12692 (top level): Move backtrace from signal handler test to ...
12693 (validate_backtrace): ... this new procedure.
12694 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
12695 with_test_prefix. Always restart GDB.
12696 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
12697 with_test_prefix. Always restart GDB. No need to delete
12698 breakpoints after the test.
12699 (test_skip_handler): Remove prefix parameter.
12700 (skip_over_handler, breakpoint_to_handler)
12701 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
12702 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
12703 restart GDB. No need to delete breakpoints after the test.
12704 (top level): Use foreach to call the test procedures with
12705 different commands.
12706
12707 2014-10-28 Pedro Alves <palves@redhat.com>
12708
12709 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
12710 instead of GNATS numbers.
12711 * gdb.base/sigbpt.exp: Likewise.
12712 * gdb.base/siginfo.exp: Likewise.
12713 * gdb.base/sigstep.exp: Likewise.
12714
12715 2014-10-27 Pedro Alves <palves@redhat.com>
12716
12717 * gdb.base/sigstep.c (dummy): New global.
12718 (main): Issue a couple writes to the new global.
12719 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
12720 procedures.
12721 (skip_over_handler): Use test_skip_handler.
12722 (top level): Call skip_over_handler for stepi and nexti too.
12723 (breakpoint_over_handler): Use test_skip_handler.
12724 (top level): Call breakpoint_over_handler for stepi and nexti too.
12725
12726 2014-10-27 Yao Qi <yao@codesourcery.com>
12727
12728 * gdb.trace/tfile.c (adjust_function_address)
12729 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
12730 function descriptor.
12731
12732 2014-10-24 Don Breazeal <donb@codesourcery.com>
12733
12734 * gdb.base/foll-fork.exp (test_follow_fork,
12735 catch_fork_child_follow): Check for updated fork messages emitted
12736 from infrun.c.
12737 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
12738 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
12739 vfork_and_exec_child_follow_through_step): Check for updated vfork
12740 messages emitted from infrun.c.
12741
12742 2014-10-24 Pedro Alves <palves@redhat.com>
12743
12744 * gdb.base/corefile.exp: Remove references to ultrix.
12745 * gdb.base/interrupt.exp: Likewise.
12746 * gdb.base/whatis.exp: Likewise.
12747 * gdb.gdb/selftest.exp: Likewise.
12748 * gdb.threads/manythreads.exp: Likewise.
12749 * gdb.threads/print-threads.exp: Likewise.
12750 * gdb.threads/pthreads.exp:: Likewise.
12751 * gdb.threads/schedlock.exp: Likewise.
12752
12753 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
12754
12755 * gdb.cp/non-trivial-retval.cc: Add a test case.
12756 * gdb.cp/non-trivial-retval.exp: Add a test.
12757
12758 2014-10-20 Yao Qi <yao@codesourcery.com>
12759
12760 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
12761 * gdb.python/py-objfile-script-gdb.py: New file.
12762 * gdb.python/py-objfile-script.exp: Update reference to
12763 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
12764 of remote_download. Remove the dest file.
12765
12766 2014-10-20 Yao Qi <yao@codesourcery.com>
12767
12768 * gdb.base/checkpoint.exp: Don't remove file copied on host.
12769 * gdb.base/step-line.exp: Likewise.
12770 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
12771 * gdb.dwarf2/dw2-basic.exp: Likewise.
12772 * gdb.dwarf2/dw2-compressed.exp: Likewise.
12773 * gdb.dwarf2/dw2-filename.exp: Likewise.
12774 * gdb.dwarf2/dw2-intercu.exp: Likewise.
12775 * gdb.dwarf2/dw2-intermix.exp: Likewise.
12776 * gdb.dwarf2/dw2-producer.exp: Likewise.
12777 * gdb.dwarf2/mac-fileno.exp: Likewise.
12778 * gdb.python/py-frame-args.exp: Likewise.
12779 * gdb.python/py-framefilter.exp: Likewise.
12780 * gdb.python/py-mi.exp: Likewise.
12781 * gdb.python/py-objfile-script.exp: Likewise
12782 * gdb.python/py-pp-integral.exp: Likewise.
12783 * gdb.python/py-pp-re-notag.exp: Likewise.
12784 * gdb.python/py-prettyprint.exp: Likewise.
12785 * gdb.python/py-section-script.exp: Likewise.
12786 * gdb.python/py-typeprint.exp: Likewise.
12787 * gdb.python/py-xmethods.exp: Likewise.
12788 * gdb.stabs/weird.exp: Likewise.
12789 * gdb.xml/tdesc-regs.exp: Likewise.
12790
12791 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
12792
12793 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
12794 (out_cu): Use addr_len for the size of addresses.
12795 (out_line): Likewise. Size DW_LNE_set_address instruction
12796 according to addr_len.
12797 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
12798 (FUNC): Add START_INSNS to definition.
12799
12800 2014-10-18 Yao Qi <yao@codesourcery.com>
12801
12802 * gdb.base/argv0-symlink.exp: Check argv[0] value if
12803 gdb_has_argv0 return true.
12804 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
12805 check [target_info exists noargs], check [gdb_has_argv0]
12806 instead.
12807 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
12808 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
12809 procedures.
12810
12811 2014-10-17 Doug Evans <dje@google.com>
12812
12813 * gdb.python/py-events.exp: Update expected output for clear_objfiles
12814 event.
12815 * gdb.python/py-events.py: Add clear_objfiles event.
12816
12817 2014-10-17 Doug Evans <dje@google.com>
12818
12819 * gdb.python/py-objfile.exp: Test progspace attribute.
12820
12821 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
12822
12823 * gdb.guile/scm-breakpoint.exp: Do not assume any
12824 directory separators when matching source file paths.
12825 * gdb.python/py-breakpoint.exp: Likewise.
12826 * gdb.reverse/break-precsave.exp: Likewise.
12827 * gdb.reverse/break-reverse.exp: Likewise.
12828 * gdb.reverse/consecutive-precsave.exp: Likewise.
12829 * gdb.reverse/finish-precsave.exp: Likewise.
12830 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
12831 * gdb.reverse/finish-reverse.exp: Likewise.
12832 * gdb.reverse/i386-precsave.exp: Likewise.
12833 * gdb.reverse/i387-env-reverse.exp: Likewise.
12834 * gdb.reverse/i387-stack-reverse.exp: Likewise.
12835 * gdb.reverse/machinestate-precsave.exp: Likewise.
12836 * gdb.reverse/machinestate.exp: Likewise.
12837 * gdb.reverse/sigall-precsave.exp: Likewise.
12838 * gdb.reverse/solib-precsave.exp: Likewise.
12839 * gdb.reverse/step-precsave.exp: Likewise.
12840 * gdb.reverse/until-precsave.exp: Likewise.
12841 * gdb.reverse/watch-precsave.exp: Likewise.
12842 * gdb.reverse/watch-reverse.exp: Likewise.
12843
12844 2014-10-17 Yao Qi <yao@codesourcery.com>
12845
12846 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
12847 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
12848
12849 2014-10-17 Pedro Alves <palves@redhat.com>
12850
12851 PR gdb/17471
12852 * gdb.base/bg-execution-repeat.c: New file.
12853 * gdb.base/bg-execution-repeat.exp: New file.
12854
12855 2014-10-17 Pedro Alves <palves@redhat.com>
12856
12857 PR gdb/17300
12858 * gdb.base/continue-all-already-running.c: New file.
12859 * gdb.base/continue-all-already-running.exp: New file.
12860
12861 2014-10-17 Pedro Alves <palves@redhat.com>
12862
12863 PR gdb/17472
12864 * gdb.base/annota-input-while-running.c: New file.
12865 * gdb.base/annota-input-while-running.exp: New file.
12866
12867 2014-10-17 Pedro Alves <palves@redhat.com>
12868
12869 * gdb.base/callfuncs.exp: emove references to osf.
12870 * gdb.base/sigall.exp: Likewise.
12871 * gdb.gdb/selftest.exp: Likewise.
12872 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
12873 * gdb.mi/non-stop.c: Likewise.
12874 * gdb.mi/pthreads.c: Likewise.
12875 * gdb.reverse/sigall-precsave.exp: Likewise.
12876 * gdb.reverse/sigall-reverse.exp: Likewise.
12877 * gdb.threads/pthreads.c: Likewise.
12878 * gdb.threads/pthreads.exp: Likewise.
12879
12880 2014-10-17 Yao Qi <yao@codesourcery.com>
12881
12882 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
12883 check 'target_info exists noargs'.
12884 (test_command_prompt_position): Likewise.
12885 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
12886 Remove "set args".
12887 (progvar_simple_while_test): Likewise.
12888 (progvar_complex_if_while_test): Likewise.
12889 (if_while_breakpoint_command_test): Likewise.
12890 (infrun_breakpoint_command_test): Likewise.
12891 (breakpoint_command_test): Likewise.
12892 (watchpoint_command_test): Likewise.
12893 (bp_deleted_in_command_test): Likewise.
12894 (temporary_breakpoint_commands): Likewise.
12895
12896 2014-10-16 Yao Qi <yao@codesourcery.com>
12897
12898 * gdb.base/remotetimeout.exp: Remove noargs checking.
12899
12900 2014-10-15 Pedro Alves <palves@redhat.com>
12901
12902 PR breakpoints/9649
12903 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
12904 * gdb.base/breakpoint-in-ro-region.exp
12905 (probe_target_hardware_step): New procedure.
12906 (top level): Probe hardware stepping and hardware breakpoint
12907 support. Test stepping through a read-only region, with both
12908 "breakpoint auto-hw" on and off and both "always-inserted" on and
12909 off.
12910
12911 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
12912
12913 * gdb.dlang/demangle.exp: Update for demangling changes.
12914
12915 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
12916
12917 * gdb.cp/non-trivial-retval.cc: Add new test cases.
12918 * gdb.cp/non-trivial-retval.exp: Add new tests.
12919
12920 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
12921
12922 PR c++/13403
12923 PR c++/15154
12924 * gdb.cp/non-trivial-retval.cc: New file.
12925 * gdb.cp/non-trivial-retval.exp: New file.
12926
12927 2014-10-15 Yao Qi <yao@codesourcery.com>
12928
12929 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
12930 remote host.
12931
12932 2014-10-15 Yao Qi <yao@codesourcery.com>
12933
12934 * gdb.python/py-symbol.exp: Match file base name if host is
12935 remote, otherwise match file name with dir name.
12936 * gdb.python/py-symtab.exp: Likewise.
12937 * gdb.python/python.exp: Likewise.
12938
12939 2014-10-15 Yao Qi <yao@codesourcery.com>
12940
12941 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
12942 pattern.
12943 * gdb.python/py-symtab.exp: Likewise.
12944 * gdb.python/python.exp: Remove trailing ".*". Fix typo
12945 locationn.
12946
12947 2014-10-14 Joel Brobecker <brobecker@adacore.com>
12948
12949 * gdb.ada/addr_arith: New testcase.
12950
12951 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
12952
12953 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
12954 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
12955 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
12956 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
12957
12958 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
12959
12960 * gdb.arch/stap-eval-lang-ada.S: Likewise.
12961 * gdb.arch/stap-eval-lang-ada.c: Likewise.
12962 * gdb.arch/stap-eval-lang-ada.exp: New file.
12963
12964 2014-10-14 Yao Qi <yao@codesourcery.com>
12965
12966 * gdb.mi/mi-var-child.c (nothing1): New function.
12967 (nothing2): New function.
12968 (do_children_tests): Set function pointers by nothing1 and
12969 nothing2.
12970 * gdb.mi/mi-var-child.exp: Step over new added statements.
12971 Update test to match the new output.
12972 * gdb.mi/var-cmd.c (nothing1): New function.
12973 (nothing2): New function.
12974 (do_children_tests): Set function pointers by nothing1 and
12975 nothing2.
12976 * gdb.mi/mi-var-display.exp: Update test to match output.
12977 Step to the line specified by $line_dct_nothing.
12978 Increase the number of lines to step.
12979
12980 2014-10-14 Yao Qi <yao@codesourcery.com>
12981
12982 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
12983 tests.
12984 * gdb.mi/mi2-var-child.exp: Likewise.
12985
12986 2014-10-13 Doug Evans <dje@google.com>
12987
12988 * gdb.python/py-objfile.exp: Change name of file name test.
12989
12990 2014-10-13 Doug Evans <dje@google.com>
12991
12992 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
12993 from the start of the CU.
12994
12995 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12996 Yao Qi <yao@codesourcery.com>
12997
12998 Fix "save breakpoints" for "catch" command.
12999 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
13000 Remove -nonewline. Match also the added "main" line.
13001
13002 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
13003
13004 Fix "save breakpoints" for "disable $bpnum" command.
13005 * gdb.base/save-bp.c (main): Add label.
13006 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
13007
13008 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
13009
13010 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
13011
13012 2014-10-11 Yao Qi <yao@codesourcery.com>
13013
13014 * gdb.server/server-kill.exp: Execute command
13015 "set remote trace-status-packet on" before "tstatus".
13016
13017 2014-10-11 Yao Qi <yao@codesourcery.com>
13018
13019 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
13020 (main): Call getppid.
13021 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
13022 and continue to it. Read variable "server_pid".
13023
13024 2014-10-11 Yao Qi <yao@codesourcery.com>
13025
13026 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
13027
13028 2014-10-11 Yao Qi <yao@codesourcery.com>
13029
13030 * gdb.threads/thread-find.exp: Don't execute command
13031 "info threads".
13032 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
13033 * gdb.threads/linux-dp.exp: Don't check the condition
13034 $threads_created equals to zero.
13035
13036 2014-10-10 Pedro Alves <palves@redhat.com>
13037
13038 * gdb.base/bigcore.exp: Remove references to IRIX.
13039 * gdb.base/funcargs.exp: Likewise.
13040 * gdb.base/interrupt.exp: Likewise.
13041 * gdb.base/mips_pro.exp: Likewise.
13042 * gdb.base/nodebug.exp: Likewise.
13043 * gdb.base/setvar.exp: Likewise.
13044 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
13045
13046 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
13047 Pedro Alves <palves@redhat.com>
13048
13049 PR symtab/14466
13050 * gdb.base/vdso-warning.c: New file.
13051 * gdb.base/vdso-warning.exp: New file.
13052
13053 2014-10-02 Doug Evans <dje@google.com>
13054
13055 * gdb.base/structs.c (main): Don't run forever.
13056
13057 2014-10-02 Pedro Alves <palves@redhat.com>
13058
13059 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
13060 (top level) <stop threads 1, stop threads 2>: Use it.
13061
13062 2014-10-02 Pedro Alves <palves@redhat.com>
13063
13064 * gdb.threads/break-while-running.exp (test): Add new
13065 'update_thread_list' argument. Skip "info threads" if false.
13066 (top level): Add new 'update_thread_list' axis.
13067
13068 2014-10-02 Pedro Alves <palves@redhat.com>
13069
13070 PR breakpoints/17431
13071 * gdb.base/execl-update-breakpoints.c: New file.
13072 * gdb.base/execl-update-breakpoints.exp: New file.
13073
13074 2014-10-01 Pedro Alves <palves@redhat.com>
13075
13076 * gdb.base/breakpoint-in-ro-region.c: New file.
13077 * gdb.base/breakpoint-in-ro-region.exp: New file.
13078
13079 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
13080
13081 * gdb.mi/mi-exit-code.exp: New file.
13082 * gdb.mi/mi-exit-code.c: New file.
13083
13084 2014-09-30 Yao Qi <yao@codesourcery.com>
13085
13086 * lib/prelink-support.exp (build_executable_own_libs): Error if
13087 the target isn't native.
13088
13089 2014-09-30 Yao Qi <yao@codesourcery.com>
13090
13091 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
13092 false.
13093
13094 2014-09-22 Pedro Alves <palves@redhat.com>
13095
13096 * gdb.threads/break-while-running.exp: New file.
13097 * gdb.threads/break-while-running.c: New file.
13098
13099 2014-09-19 Yao Qi <yao@codesourcery.com>
13100
13101 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
13102 Invoke test. Restart GDB with --readnow and invoke test again.
13103
13104 2014-09-19 Yao Qi <yao@codesourcery.com>
13105
13106 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
13107 proc set_breakpoint_on_gcd_function. Invoke
13108 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
13109 invoke set_breakpoint_on_gcd_function again.
13110
13111 2014-09-18 Doug Evans <dje@google.com>
13112
13113 * gdb.dwarf2/symtab-producer.exp: New file.
13114
13115 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
13116
13117 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
13118 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
13119 * gdb.base/global-var-nested-by-dso.c: Likewise.
13120 * gdb.base/global-var-nested-by-dso.exp: Likewise.
13121
13122 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
13123 Pedro Alves <palves@redhat.com>
13124
13125 * gdb.base/watch-bitfields.exp: Pass string other than test file
13126 name to prepare_for_testing.
13127 (watch): New procedure.
13128 (expect_watchpoint): Use with_test_prefix.
13129 (top level): Factor out tests to ...
13130 (test_watch_location, test_regular_watch): ... these new
13131 procedures, and use with_test_prefix and gdb_continue_to_end.
13132
13133 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
13134
13135 PR breakpoints/12526
13136 * gdb.base/watch-bitfields.exp: New file.
13137 * gdb.base/watch-bitfields.c: New file.
13138
13139 2014-09-16 Pedro Alves <palves@redhat.com>
13140
13141 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
13142 software and hardware addresses, not software address against
13143 itself.
13144
13145 2014-09-16 Pedro Alves <palves@redhat.com>
13146
13147 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
13148 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
13149
13150 2014-09-16 Pedro Alves <palves@redhat.com>
13151
13152 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
13153 files.
13154 * gdb.base/a2-run.exp: Remove all code guarded by istarget
13155 "*-*-vxworks*" throughout.
13156 * gdb.base/break.exp: Likewise.
13157 * gdb.base/default.exp: Likewise.
13158 * gdb.base/scope.exp: Likewise.
13159 * gdb.base/sepdebug.exp: Likewise.
13160 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
13161 throughout.
13162 * gdb.base/run.c: Likewise.
13163 * gdb.base/sepdebug.c: Likewise.
13164 * gdb.hp/gdb.aCC/run.c: Likewise.
13165 * gdb.reverse/until-reverse.c: Likewise.
13166 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
13167
13168 2014-09-16 Yao Qi <yao@codesourcery.com>
13169
13170 * boards/local-remote-host-native.exp: New file.
13171
13172 2014-09-14 Doug Evans <xdje42@gmail.com>
13173
13174 * gdb.threads/queue-signal.c (thread_count): New variable.
13175 (thread_count_mutex, thread_count_condvar): New variables.
13176 (incr_thread_count, wait_all_threads_running): New functions.
13177 (main): Wait for all threads to be in their thread functions.
13178
13179 2014-09-13 Doug Evans <xdje42@gmail.com>
13180
13181 * gdb.threads/queue-signal.c: New file.
13182 * gdb.threads/queue-signal.exp: New file.
13183
13184 2014-09-13 Doug Evans <xdje42@gmail.com>
13185
13186 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
13187 be consistent with what default_gdb_init uses.
13188 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
13189 the plain text of the prompt. Add some logging printfs.
13190 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
13191
13192 2014-09-12 Pedro Alves <palves@redhat.com>
13193
13194 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
13195 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
13196 * gdb.arch/i386-size-overlap.exp: Likewise.
13197 * gdb.arch/i386-size.exp: Likewise.
13198 * gdb.arch/i386-unwind.exp: Likewise.
13199 * gdb.base/a2-run.exp: Likewise.
13200 * gdb.base/break.exp: Likewise.
13201 * gdb.base/charset.exp: Likewise.
13202 * gdb.base/chng-syms.exp: Likewise.
13203 * gdb.base/commands.exp: Likewise.
13204 * gdb.base/dbx.exp: Likewise.
13205 * gdb.base/find.exp: Likewise.
13206 * gdb.base/funcargs.exp: Likewise.
13207 * gdb.base/jit-simple.exp: Likewise.
13208 * gdb.base/reread.exp: Likewise.
13209 * gdb.base/sepdebug.exp: Likewise.
13210 * gdb.base/step-bt.exp: Likewise.
13211 * gdb.cp/mb-inline.exp: Likewise.
13212 * gdb.cp/mb-templates.exp: Likewise.
13213 * gdb.objc/basicclass.exp: Likewise.
13214 * gdb.threads/killed.exp: Likewise.
13215
13216 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13217
13218 PR tdep/17379
13219 * gdb.arch/powerpc-stackless.S: New file.
13220 * gdb.arch/powerpc-stackless.exp: New file.
13221
13222 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
13223
13224 * gdb.base/attach.c: Include unistd.h.
13225 (main): Call alarm. Add label postloop.
13226 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
13227 gdb_breakpoint, gdb_continue_to_breakpoint.
13228 (test_command_line_attach_run): Kill ${testpid} in one exit path.
13229
13230 2014-09-11 Pedro Alves <palves@redhat.com>
13231
13232 PR gdb/17347
13233 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
13234 * gdb.base/attach.exp (test_command_line_attach_run): New
13235 procedure.
13236 (top level): Call it.
13237
13238 2014-09-11 Pedro Alves <palves@redhat.com>
13239
13240 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
13241 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
13242 (do_command_attach_tests): Use spawn_wait_for_attach.
13243 * gdb.base/solib-overlap.exp: Likewise.
13244 * gdb.multi/multi-attach.exp: Likewise.
13245 * gdb.python/py-prompt.exp: Likewise.
13246 * gdb.python/py-sync-interp.exp: Likewise.
13247 * gdb.server/ext-attach.exp: Likewise.
13248
13249 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
13250
13251 * gdb.fortran/array-element.exp: Remove unexpected "continue"
13252 command in testcase. Simplify testcase.
13253
13254 2014-09-10 Joel Brobecker <brobecker@adacore.com>
13255
13256 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
13257
13258 2014-09-10 Joel Brobecker <brobecker@adacore.com>
13259
13260 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
13261
13262 2014-09-10 Joel Brobecker <brobecker@adacore.com>
13263
13264 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
13265
13266 2014-09-10 Joel Brobecker <brobecker@adacore.com>
13267
13268 * gdb.dwarf2/dynarr-ptr.c: New file.
13269 * gdb.dwarf2/dynarr-ptr.exp: New file.
13270
13271 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
13272
13273 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
13274 of 30 rather than hardcoding 120 for a slow test case. Take the
13275 `gdb,timeout' target setting into account for this calculation.
13276 Don't extend the timeout for the test cases that don't need it.
13277
13278 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
13279
13280 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
13281 a factor of 2 for a slow test case. Take the `gdb,timeout'
13282 target setting into account for this calculation.
13283 * gdb.reverse/until-precsave.exp: Increase the timeout by
13284 a factor of 15 and 3 respectively rather than adding 120
13285 for a pair of slow test cases. Take the `gdb,timeout'
13286 target setting into account for this calculation.
13287
13288 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
13289
13290 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
13291 timeout, don't pass one down to gdb_expect.
13292 (gdb_expect): Rework timeout selection.
13293
13294 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
13295
13296 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
13297 exception on timeout.
13298 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
13299 (gdbserver_start_extended): Catch any `gdbserver_start' error
13300 exceptions.
13301 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
13302 * lib/mi-support.exp (mi_gdb_target_load): Catch any
13303 `gdbserver_gdb_load' error exceptions.
13304
13305 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
13306
13307 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
13308 120 on waiting for the TCP socket to open.
13309
13310 2014-09-09 Doug Evans <xdje42@gmail.com>
13311
13312 * gdb.base/default.exp (show_conv_list): Add _caller_is,
13313 _caller_matches, _any_caller_is, _any_caller_matches.
13314
13315 2014-09-09 Doug Evans <xdje42@gmail.com>
13316
13317 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
13318
13319 2014-09-09 Yao Qi <yao@codesourcery.com>
13320
13321 * gdb.mi/mi-var-display.exp: Set print symbol off.
13322
13323 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
13324
13325 PR gdb/17035
13326 * gdb.base/commands.exp: Add tests to verify user-defined
13327 commands with empty bodies.
13328 * gdb.python/py-cmd.exp: Test that we don't show user-defined
13329 python commands in `show user command`.
13330 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
13331 scheme commands in `show user command`.
13332
13333 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13334
13335 PR python/17355
13336 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
13337 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
13338 * gdb.python/py-framefilter-invalidarg.exp: New file.
13339 * gdb.python/py-framefilter-invalidarg.py: New file.
13340
13341 2014-09-06 Doug Evans <xdje42@gmail.com>
13342
13343 PR 15276
13344 * gdb.python/py-caller-is.c: New file.
13345 * gdb.python/py-caller-is.exp: New file.
13346
13347 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
13348
13349 PR gdb/17235
13350 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
13351 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
13352
13353 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
13354
13355 PR fortran/17237
13356 * gdb.fortran/print-formatted.exp: New file.
13357 * gdb.fortran/print-formatted.f90: Likewise.
13358
13359 2014-09-03 Sasha Smundak <asmundak@google.com>
13360
13361 * gdb.python/py-frame.exp: Test Frame.read_register.
13362
13363 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
13364
13365 PR python/16699
13366 * gdb.python/py-completion.exp: New file.
13367 * gdb.python/py-completion.py: Likewise.
13368
13369 2014-08-28 Doug Evans <dje@google.com>
13370
13371 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
13372 eax,etc. are live with values set by gdb and thus the compiler can't
13373 use them.
13374 * gdb.arch/i386-pseudo.c (main): Ditto.
13375
13376 2014-08-27 Doug Evans <dje@google.com>
13377
13378 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
13379
13380 2014-08-25 Doug Evans <dje@google.com>
13381
13382 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
13383 (main): Ditto.
13384
13385 2014-08-25 Doug Evans <dje@google.com>
13386
13387 * gdb.threads/thread-execl.exp: #include <stdio.h>.
13388
13389 2014-08-24 Yao Qi <yao@codesourcery.com>
13390
13391 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
13392 symbol off.
13393 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
13394
13395 2014-08-22 Doug Evans <dje@google.com>
13396
13397 PR 17276
13398 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
13399 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
13400 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
13401
13402 2014-08-22 Yao Qi <yao@codesourcery.com>
13403
13404 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
13405 * gdb.python/py-finish-breakpoint2.exp: Likewise.
13406 * gdb.python/python.exp: Likewise. Use .py file on the host
13407 instead of the build.
13408
13409 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
13410
13411 * gdb.threads/gcore-stale-thread.c: New file.
13412 * gdb.threads/gcore-stale-thread.exp: New file.
13413
13414 2014-08-21 Pedro Alves <palves@redhat.com>
13415
13416 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
13417 * gdb.base/gcore-relro-pie.exp: Likewise.
13418 * gdb.base/gcore-relro.exp: Likewise.
13419 * gdb.base/gcore.exp: Likewise.
13420 * gdb.base/print-symbol-loading.exp: Likewise.
13421 * gdb.threads/gcore-thread.exp: Likewise.
13422 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
13423
13424 2014-08-20 Pedro Alves <palves@redhat.com>
13425 Jan Kratochvil <jan.kratochvil@redhat.com>
13426
13427 * Makefile.in (EXTRA_RULES, CC): New variables, get from
13428 configure.
13429 (EXPECT): Handle READ1 being set.
13430 (all): Depend on EXTRA_RULES.
13431 (check-read1, expect-read1, read1.so, read1): New rules.
13432 * README (Testsuite Parameters): Document the READ1 make variable.
13433 (Race detection): New section.
13434 * configure: Regenerate.
13435 * configure.ac: If build==host==target, and running under a
13436 GNU/glibc system, add read1 to the extra Makefile rules.
13437 (EXTRA_RULES): AC_SUBST it.
13438 * lib/read1.c: New file.
13439
13440 2014-08-20 Joel Brobecker <brobecker@adacore.com>
13441
13442 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
13443 the handling of variables declared as a typedef to an array
13444 which a DW_AT_data_location attribute.
13445
13446 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
13447 Pedro Alves <palves@redhat.com>
13448
13449 PR symtab/14604
13450 PR symtab/14605
13451 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
13452 gdb_test.
13453
13454 2014-08-19 Pedro Alves <palves@redhat.com>
13455
13456 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
13457
13458 2014-08-19 Yao Qi <yao@codesourcery.com>
13459
13460 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
13461 right line.
13462
13463 2014-08-18 David Blaikie <dblaikie@gmail.com>
13464
13465 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
13466
13467 2014-08-18 Joel Brobecker <brobecker@adacore.com>
13468
13469 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
13470 attribute in array range.
13471
13472 2014-08-18 Joel Brobecker <brobecker@adacore.com>
13473
13474 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
13475
13476 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
13477
13478 PR c++/17132
13479 * gdb.cp/pr17132.cc: New file.
13480 * gdb.cp/pr17132.exp: New file.
13481
13482 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
13483
13484 * gdb.python/py-xmethods.py (A_getarrayind)
13485 (E_method_char_worker.__call__, E_method_int_worker.__call__):
13486 Use 'print' with function call syntax.
13487 (E_method_matcher.match): Fix tab vs space indentation mixup.
13488
13489 2014-08-15 Yao Qi <yao@codesourcery.com>
13490
13491 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
13492 false.
13493
13494 2014-08-15 Yao Qi <yao@codesourcery.com>
13495
13496 * gdb.cp/casts.exp: Set print symbol off.
13497 * gdb.cp/class2.exp: Likewise.
13498 * gdb.cp/overload.exp: Likewise.
13499 * gdb.cp/templates.exp: Likewise.
13500
13501 2014-08-11 Doug Evans <dje@google.com>
13502
13503 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
13504 (test_load_shlib): Update.
13505
13506 2014-08-09 Yao Qi <yao@codesourcery.com>
13507
13508 * gdb.base/display.exp: Invoke is_address_zero_readable.
13509 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
13510 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
13511 * gdb.base/hbreak-unmapped.exp: Return if
13512 is_address_zero_readable returns true.
13513 * gdb.base/signest.exp: Likewise.
13514 * gdb.base/signull.exp: Likewise.
13515 * gdb.base/sigbpt.exp: Likewise.
13516 * gdb.guile/scm-disasm.exp: Do the test if
13517 is_address_zero_readable returns false.
13518 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
13519 * gdb.python/py-arch.exp: Likewise.
13520 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
13521 * lib/gdb.exp (is_address_zero_readable): New proc.
13522
13523 2014-08-09 Yao Qi <yao@codesourcery.com>
13524
13525 PR testsuite/13443
13526 * gdb.mi/mi-var-display.exp: Make test messages unique.
13527
13528 2014-08-04 Tom Tromey <tromey@redhat.com>
13529
13530 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
13531 target 0".
13532
13533 2014-08-04 Tom Tromey <tromey@redhat.com>
13534
13535 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
13536 "target_resume".
13537
13538 2014-08-01 Joel Brobecker <brobecker@adacore.com>
13539
13540 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
13541 inner_vla_struct_object_size.
13542 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
13543 as xfail.
13544
13545 2014-07-30 Pedro Alves <palves@redhat.com>
13546
13547 * gdb.threads/signal-command-handle-nopass.exp (test): Add
13548 comment.
13549
13550 2014-07-29 Yao Qi <yao@codesourcery.com>
13551
13552 PR gdb/17206
13553 * gdb.base/until-nodebug.exp: New.
13554
13555 2014-07-28 Doug Evans <xdje42@gmail.com>
13556
13557 PR guile/17203
13558 * gdb.guile/scm-parameter.exp: Add tests for trying to create
13559 previously existing parameter, and previously ambiguously spelled
13560 parameter.
13561
13562 2014-07-28 Will Newton <will.newton@linaro.org>
13563
13564 * gdb.base/varargs.exp: Remove KFAILs for ARM.
13565
13566 2014-07-26 Ludovic Courtès <ludo@gnu.org>
13567 Doug Evans <xdje42@gmail.com>
13568
13569 PR guile/17146
13570 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
13571
13572 2014-07-25 Pedro Alves <palves@redhat.com>
13573
13574 * gdb.threads/signal-command-handle-nopass.c: New file.
13575 * gdb.threads/signal-command-handle-nopass.exp: New file.
13576 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
13577 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
13578 * gdb.threads/signal-delivered-right-thread.c: New file.
13579 * gdb.threads/signal-delivered-right-thread.exp: New file.
13580
13581 2014-07-25 Pedro Alves <palves@redhat.com>
13582
13583 * gdb.base/double-prompt-target-event-error.exp
13584 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
13585 match.
13586 (cancel_pagination_in_target_event): Rework double prompt
13587 detection.
13588 * gdb.base/paginate-after-ctrl-c-running.exp
13589 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
13590 <return>' match.
13591 * gdb.base/paginate-bg-execution.exp
13592 (test_bg_execution_pagination_return)
13593 (test_bg_execution_pagination_cancel): Remove '-notransfer
13594 <return>' matches.
13595 * gdb.base/paginate-execution-startup.exp
13596 (test_fg_execution_pagination_return)
13597 (test_fg_execution_pagination_cancel): Remove '-notransfer
13598 <return>' matches.
13599 * gdb.base/paginate-inferior-exit.exp
13600 (test_paginate_inferior_exited): Remove '-notransfer <return>'
13601 match.
13602 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
13603 * lib/gdb.exp (pagination_prompt): Run text through
13604 string_to_regexp.
13605 (gdb_test_multiple): Match $pagination_prompt instead of
13606 "<return>".
13607 (string_to_regexp): Move to lib/gdb-utils.exp.
13608
13609 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13610
13611 * gdb.arch/amd64-entry-value-paramref.S: New file.
13612 * gdb.arch/amd64-entry-value-paramref.cc: New file.
13613 * gdb.arch/amd64-entry-value-paramref.exp: New file.
13614 * gdb.arch/amd64-optimout-repeat.S: New file.
13615 * gdb.arch/amd64-optimout-repeat.c: New file.
13616 * gdb.arch/amd64-optimout-repeat.exp: New file.
13617
13618 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
13619
13620 PR gdb/17170
13621 * gdb.base/statistics.exp: New file.
13622
13623 2014-07-17 Doug Evans <dje@google.com>
13624
13625 PR gdb/17170
13626 * gdb.base/maint.exp: Update testing of per-command stats.
13627
13628 2014-07-16 Pedro Alves <palves@redhat.com>
13629
13630 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
13631 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
13632 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
13633 (tfile_write_buf): New functions.
13634 (add_memory_block): Rewrite using the above.
13635 (adjust_function_address): New function.
13636 (FUNCTION_ADDRESS): New macro.
13637 (write_basic_trace_file): Remove short_x local, and use
13638 tfile_write_16. Change type of func_addr local to unsigned long
13639 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
13640 here. Cast argument of add_memory_block to char pointer.
13641 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
13642 (main): Remove parameters.
13643 * gdb.trace/tfile.exp: Remove nowarnings.
13644
13645 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
13646
13647 * gdb.base/debug-expr.exp: Test string evaluation with
13648 "debug expression" on.
13649
13650 2014-07-15 Pedro Alves <palves@redhat.com>
13651
13652 * gdb.base/reread.exp: Use clean_restart.
13653
13654 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
13655
13656 * gdb.arch/avr-flash-qualifer.c: New.
13657 * gdb.arch/avr-flash-qualifer.exp: New.
13658
13659 2014-07-14 Pedro Alves <palves@redhat.com>
13660
13661 * gdb.base/paginate-after-ctrl-c-running.c: New file.
13662 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
13663
13664 2014-07-14 Pedro Alves <palves@redhat.com>
13665
13666 * gdb.base/double-prompt-target-event-error.c: New file.
13667 * gdb.base/double-prompt-target-event-error.exp: New file.
13668
13669 2014-07-14 Pedro Alves <palves@redhat.com>
13670
13671 PR gdb/17072
13672 * gdb.base/paginate-inferior-exit.c: New file.
13673 * gdb.base/paginate-inferior-exit.exp: New file.
13674
13675 2014-07-14 Pedro Alves <palves@redhat.com>
13676
13677 PR gdb/17072
13678 * gdb.base/paginate-bg-execution.c: New file.
13679 * gdb.base/paginate-bg-execution.exp: New file.
13680
13681 2014-07-14 Pedro Alves <palves@redhat.com>
13682
13683 PR gdb/17072
13684 * gdb.base/paginate-execution-startup.c: New file.
13685 * gdb.base/paginate-execution-startup.exp: New file.
13686 * lib/gdb.exp (pagination_prompt): New global.
13687 (default_gdb_spawn): New procedure, factored out from
13688 default_gdb_spawn.
13689 (default_gdb_start): Adjust to call default_gdb_spawn.
13690 (gdb_spawn): New procedure.
13691
13692 2014-07-14 Pedro Alves <palves@redhat.com>
13693
13694 * lib/gdb.exp (gdb_assert): New procedure.
13695 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
13696
13697 2014-07-14 Pedro Alves <palves@redhat.com>
13698
13699 * gdb.base/execution-termios.c: New file.
13700 * gdb.base/execution-termios.exp: New file.
13701
13702 2014-07-14 Tom Tromey <tromey@redhat.com>
13703
13704 * gdb.cp/vla-cxx.cc: New file.
13705 * gdb.cp/vla-cxx.exp: New file.
13706
13707 2014-07-14 Tom Tromey <tromey@redhat.com>
13708
13709 * gdb.reverse/rerun-prec.c: New file.
13710 * gdb.reverse/rerun-prec.exp: New file.
13711
13712 2014-07-12 Maciej W. Rozycki <macro@mips.com>
13713 Maciej W. Rozycki <macro@codesourcery.com>
13714
13715 * lib/gdb-utils.exp: New file.
13716 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
13717 inline `gdb_init_command' processing.
13718 (gdb_start_cmd): Likewise.
13719 * lib/mi-support.exp (mi_run_cmd): Likewise.
13720 * README: Document `gdb_init_command' and `gdb_init_commands'.
13721
13722 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13723
13724 Fix false FAIL running under a very long directory name.
13725 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
13726 and "set print elements 10000". Twice.
13727
13728 2014-07-11 Yao Qi <yao@codesourcery.com>
13729
13730 * gdb.base/exprs.exp: "set print symbol off".
13731
13732 2014-07-11 Pedro Alves <palves@redhat.com>
13733
13734 * gdb.threads/kill.c: New file.
13735 * gdb.threads/kill.exp: New file.
13736
13737 2014-07-10 Yao Qi <yao@codesourcery.com>
13738
13739 * gdb.trace/tfile.c (write_basic_trace_file)
13740 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
13741 address written to trace file.
13742
13743 2014-07-09 Pedro Alves <palves@redhat.com>
13744
13745 * gdb.base/attach-wait-input.exp: New file.
13746 * gdb.base/attach-wait-input.c: New file.
13747
13748 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
13749
13750 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
13751 setting up test structures.
13752 (main): Call new test function.
13753 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
13754 test function, continue into test function and walk test
13755 structures.
13756
13757 2014-07-02 Yao Qi <yao@codesourcery.com>
13758
13759 * gdb.trace/entry-values.c: Define labels 'foo_start' and
13760 'bar_start' at the beginning of functions 'foo' and 'bar'
13761 respectively.
13762 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
13763 instead of 'foo' and 'bar'.
13764
13765 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
13766
13767 * gdb.btrace/segv.exp: New.
13768 * gdb.btrace/segv.c: New.
13769
13770 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
13771
13772 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
13773 instruction.
13774
13775 2014-06-30 Mark Wielaard <mjw@redhat.com>
13776
13777 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
13778 vulture, vilify, villar): New volatile array constants.
13779 (vindictive, vegetation): New const volatile array constants.
13780 * gdb.base/volatile.exp: Test volatile and const volatile array
13781 types.
13782
13783 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
13784
13785 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
13786 target lacks support for awatch, rwatch, or hbreak.
13787
13788 2014-06-27 Yao Qi <yao@codesourcery.com>
13789
13790 * gdb.multi/dummy-frame-restore.exp: New.
13791 * gdb.multi/dummy-frame-restore.c: New.
13792
13793 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
13794
13795 * gdb.btrace/gcore.exp: New.
13796
13797 2014-06-23 Pedro Alves <palves@redhat.com>
13798
13799 * gdb.base/watchpoint-reuse-slot.c: New file.
13800 * gdb.base/watchpoint-reuse-slot.exp: New file.
13801
13802 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
13803
13804 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
13805 progspace's filename in 'info', 'enable' and 'disable' command
13806 tests.
13807
13808 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
13809
13810 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
13811 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
13812 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
13813
13814 2014-06-20 Gary Benson <gbenson@redhat.com>
13815
13816 * gdb.arch/i386-avx.exp: Fix include file location.
13817 * gdb.arch/i386-sse.exp: Likewise.
13818
13819 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
13820
13821 * gdb.dlang/expression.exp: New file.
13822
13823 2014-06-19 Pedro Alves <palves@redhat.com>
13824
13825 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
13826 out from ...
13827 (top level): ... here. Iterate running tests under different
13828 scheduler-locking settings.
13829
13830 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
13831
13832 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
13833 to DW_FORM_addr and use non-zero addresses.
13834
13835 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
13836
13837 PR gdb/17017
13838 * gdb.python/py-xmethods.cc: Add global function call counters and
13839 increment them in their respective functions. Remove "cout"
13840 statements.
13841 * gdb.python/py-xmethods.exp: Make tests check the global function
13842 call counters instead of depending on inferior IO.
13843
13844 2014-06-18 Don Breazeal <donb@codesourcery.com>
13845
13846 * gdb.base/foll-fork.exp (default_fork_parent_follow):
13847 Deleted procedure.
13848 (explicit_fork_parent_follow): Deleted procedure.
13849 (explicit_fork_child_follow): Deleted procedure.
13850 (test_follow_fork): New procedure.
13851 (do_fork_tests): Replace calls to deleted procedures with
13852 calls to test_follow_fork and reset GDB for subsequent
13853 procedure calls.
13854
13855 2014-06-17 Yao Qi <yao@codesourcery.com>
13856
13857 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
13858 CP1252.
13859
13860 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
13861
13862 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
13863 Initialize ptr and S explicitly.
13864 (skip_type_update_when_not_use_rtti_test): Likewise.
13865
13866 2014-06-16 Keith Seitz <keiths@redhat.com>
13867
13868 PR mi/15863
13869 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
13870 the inferior is started.
13871
13872 2014-06-16 Pedro Alves <palves@redhat.com>
13873
13874 * gdb.base/break-main-file-remove-fail.c: New file.
13875 * gdb.base/break-main-file-remove-fail.exp: New file.
13876 * gdb.base/break-unload-file.exp: Use build_executable instead of
13877 prepare_for_testing.
13878 (test_break): New parameter "initial_load". Handle it.
13879 (top level): Add initial_load cmdline/file axis.
13880
13881 2014-06-12 Tom Tromey <tromey@redhat.com>
13882
13883 * gdb.base/completion.exp: Don't use directory name in test.
13884
13885 2014-06-09 Gary Benson <gbenson@redhat.com>
13886
13887 * gdb.base/sigall.c [Functions to send signals]: Reorder to
13888 separate the always-available ANSI-standard signals from the
13889 signals that require checking.
13890 (main): Likewise.
13891 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
13892 Likewise.
13893 (main): Likewise.
13894
13895 2014-06-07 Keith Seitz <keiths@redhat.com>
13896
13897 Revert:
13898 PR c++/16253
13899 * gdb.cp/var-tag.cc: New file.
13900 * gdb.cp/var-tag.exp: New file.
13901 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
13902 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
13903 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
13904 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
13905
13906 2014-06-06 Doug Evans <xdje42@gmail.com>
13907
13908 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
13909
13910 2014-06-06 Pedro Alves <palves@redhat.com>
13911
13912 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
13913 in target debug output instead of looking at RSP packets,
13914 disabling the test on any target that uses hardware stepping.
13915 Update comments.
13916
13917 2014-06-06 Pedro Alves <palves@redhat.com>
13918
13919 * gdb.base/break-unload-file.exp: Fix typo.
13920
13921 2014-06-06 Yao Qi <yao@codesourcery.com>
13922
13923 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
13924 from "jit_function" to "^jit_function".
13925
13926 2014-06-06 Yao Qi <yao@codesourcery.com>
13927
13928 * gdb.base/async.c (foo): Add one statement.
13929 * gdb.base/async.exp: Get the next instruction address and
13930 match the output of "nexti" by instruction address. Match
13931 the hex address in the output of "finish".
13932
13933 2014-06-06 Gary Benson <gbenson@redhat.com>
13934
13935 * gdb.base/call-signals.c: Remove preprocessor conditionals
13936 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
13937 SIGSEGV and SIGTERM.
13938 * gdb.base/sigall.c: Likewise.
13939 * gdb.base/unwindonsignal.c: Likewise.
13940 * gdb.reverse/sigall-reverse.c: Likewise.
13941
13942 2014-06-06 Yao Qi <yao@codesourcery.com>
13943
13944 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
13945 readable, skip the test.
13946
13947 2014-06-06 Yao Qi <yao@codesourcery.com>
13948
13949 * gdb.threads/staticthreads.c (thread_function): Move the line
13950 setting breakpoint on forward.
13951 * gdb.threads/staticthreads.exp: Update comments.
13952
13953 2014-06-05 Ludovic Courtès <ludo@gnu.org>
13954
13955 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
13956 "history-append! type error".
13957
13958 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
13959
13960 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
13961 erroneous dprintf expected input.
13962
13963 2014-06-04 Doug Evans <xdje42@gmail.com>
13964
13965 * gdb.guile/scm-generics.exp: Delete.
13966
13967 2014-06-04 Doug Evans <xdje42@gmail.com>
13968
13969 * gdb.guile/scm-breakpoint.exp: Update.
13970 Add tests for breakpoint registration.
13971
13972 2014-06-04 Tom Tromey <tromey@redhat.com>
13973
13974 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
13975 VLA-in-union.
13976 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
13977 inner_vla_struct, vla_union types. Initialize objects of those
13978 types and compute their sizes.
13979
13980 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
13981 Hui Zhu <hui@codesourcery.com>
13982
13983 * gdb.base/fileio.exp: Add test for shell not available as well as
13984 available.
13985 * gdb.base/fileio.c (test_system): Check for shell twice.
13986
13987 2014-06-04 Yao Qi <yao@codesourcery.com>
13988
13989 * gdb.base/auto-connect-native-target.exp: Remove redundant
13990 space from the regexp pattern.
13991
13992 2014-06-04 Yao Qi <yao@codesourcery.com>
13993
13994 * gdb.base/default.exp: Replace "child" with "native" in
13995 regexp pattern.
13996
13997 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
13998
13999 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
14000 * gdb.python/py-xmethods.exp: New tests to test xmethods.
14001 * gdb.python/py-xmethods.py: Python script supporting the
14002 new testcase and tests.
14003
14004 2014-06-03 Joel Brobecker <brobecker@adacore.com>
14005 Pedro Alves <palves@redhat.com>
14006
14007 PR breakpoints/17000
14008 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
14009 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
14010
14011 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
14012
14013 * gdb.base/subst.exp: Add tests to verify partial path matching
14014 output.
14015
14016 2014-06-03 Pedro Alves <palves@redhat.com>
14017
14018 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
14019 target that doesn't use software single-stepping.
14020
14021 2014-06-03 Pedro Alves <palves@redhat.com>
14022
14023 PR breakpoints/17000
14024 * gdb.base/sss-bp-on-user-bp-2.c: New file.
14025 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
14026
14027 2014-06-02 Doug Evans <xdje42@gmail.com>
14028
14029 * gdb.guile/scm-parameter.exp: New file.
14030
14031 2014-06-02 Doug Evans <xdje42@gmail.com>
14032
14033 * gdb.guile/scm-cmd.c: New file.
14034 * gdb.guile/scm-cmd.exp: New file.
14035
14036 2014-06-02 Doug Evans <xdje42@gmail.com>
14037
14038 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
14039 pretty-printer lookup.
14040 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
14041 (make-pp_s-printer): Call it.
14042 (make-pretty-printer-from-dict): New function.
14043 (lookup-pretty-printer-maker-from-dict): New function.
14044 (*pretty-printer*): Simplify.
14045 (make-objfile-pp_s-printer): New function.
14046 (install-objfile-pretty-printers!): New function.
14047 (make-progspace-pp_s-printer): New function.
14048 (install-progspace-pretty-printers!): New function.
14049 * gdb.guile/scm-progspace.c: New file.
14050 * gdb.guile/scm-progspace.exp: New file.
14051
14052 2014-06-02 Pedro Alves <palves@redhat.com>
14053
14054 * gdb.base/dprintf-bp-same-addr.c: New file.
14055 * gdb.base/dprintf-bp-same-addr.exp: New file.
14056
14057 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
14058
14059 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
14060 * gdb.arch/powerpc-power.s: Likewise.
14061
14062 2014-06-02 Joel Brobecker <brobecker@adacore.com>
14063
14064 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
14065
14066 2014-06-01 Yao Qi <yao@codesourcery.com>
14067
14068 * gdb.base/watchpoint.exp (test_watch_location): Check null
14069 pointer can be dereferenced. If not, do the test, otherwise
14070 skip it.
14071
14072 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
14073
14074 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
14075 results.
14076 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
14077
14078 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
14079
14080 * gdb.arch/amd64-invalid-stack-middle.S: New file.
14081 * gdb.arch/amd64-invalid-stack-middle.c: New file.
14082 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
14083 * gdb.arch/amd64-invalid-stack-top.c: New file.
14084 * gdb.arch/amd64-invalid-stack-top.exp: New file.
14085
14086 2014-05-30 Pedro Alves <palves@redhat.com>
14087
14088 PR breakpoints/17000
14089 * gdb.base/sss-bp-on-user-bp.c: New file.
14090 * gdb.base/sss-bp-on-user-bp.exp: New file.
14091
14092 2014-05-30 David Blaikie <dblaikie@gmail.com>
14093
14094 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
14095 gnu_inline semantics via attribute.
14096 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
14097 source explicitly specifies the required semantics.
14098
14099 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
14100
14101 * gdb.reverse/sigall-reverse.exp: Fix a typo.
14102
14103 2014-05-29 Pedro Alves <palves@redhat.com>
14104 Tom Tromey <tromey@redhat.com>
14105
14106 * gdb.base/async-shell.exp: Don't enable target-async.
14107 * gdb.base/async.exp
14108 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
14109 parameter. Adjust.
14110 (top level): Don't test with "target-async".
14111 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
14112 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
14113 * gdb.base/inferior-died.exp: Don't enable target-async.
14114 * gdb.base/interrupt-noterm.exp: Likewise.
14115 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
14116 * gdb.mi/mi-nonstop-exit.exp: Likewise.
14117 * gdb.mi/mi-nonstop.exp: Likewise.
14118 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
14119 * gdb.mi/mi-nsintrall.exp: Likewise.
14120 * gdb.mi/mi-nsmoribund.exp: Likewise.
14121 * gdb.mi/mi-nsthrexec.exp: Likewise.
14122 * gdb.mi/mi-watch-nonstop.exp: Likewise.
14123 * gdb.multi/watchpoint-multi.exp: Adjust comment.
14124 * gdb.python/py-evsignal.exp: Don't enable target-async.
14125 * gdb.python/py-evthreads.exp: Likewise.
14126 * gdb.python/py-prompt.exp: Likewise.
14127 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
14128 * gdb.server/solib-list.exp: Don't enable target-async.
14129 * gdb.threads/thread-specific-bp.exp: Likewise.
14130 * lib/mi-support.exp: Adjust to use mi-async.
14131
14132 2014-05-29 Pedro Alves <palves@redhat.com>
14133
14134 PR gdb/13860
14135 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
14136 reason, even in sync mode.
14137
14138 2014-05-29 Pedro Alves <palves@redhat.com>
14139 Hui Zhu <hui@codesourcery.com>
14140
14141 PR PR15693
14142 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
14143 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
14144 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
14145 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
14146
14147 2014-05-28 Joel Brobecker <brobecker@adacore.com>
14148
14149 * config/monitor.exp (gdb_target_monitor): Replace use of
14150 "set remotebaud" by "set serial baud".
14151
14152 2014-05-26 Andy Wingo <wingo@igalia.com>
14153
14154 * gdb.guile/scm-breakpoint.exp:
14155 * gdb.guile/scm-gsmob.exp: Update to use plain old object
14156 properties instead of gdb-object-properties.
14157
14158 2014-05-26 Yao Qi <yao@codesourcery.com>
14159
14160 * gdb.server/no-thread-db.exp: Specify source file name
14161 explicitly when setting a breakpoint.
14162
14163 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
14164
14165 * gdb.btrace/vdso.c: New.
14166 * gdb.btrace/vdso.exp: New.
14167
14168 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
14169
14170 * gdb.base/gcore.exp (capture_command_output): Move ...
14171 * lib/gdb.exp (capture_command_output): ... here.
14172
14173 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
14174
14175 * gdb.btrace/data.exp: Test memory access during btrace replay.
14176
14177 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
14178
14179 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
14180
14181 2014-05-21 Pedro Alves <palves@redhat.com>
14182
14183 PR gdb/13860
14184 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
14185 (top level): Test that output related to execution commands is
14186 sent to the console with CLI commands, but not with MI commands.
14187 Test that breakpoint events are always mirrored to the console.
14188 Also expect the new source line to be output after a "next" in
14189 async mode too. Make it a pass/fail test.
14190 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
14191 output.
14192 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
14193
14194 2014-05-21 Pedro Alves <palves@redhat.com>
14195
14196 * gdb.base/list.exp (build_pattern, test_list): New procedures.
14197 Use them to test variations of "list" after reaching a breakpoint.
14198 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
14199 Test "list" with listsize 10 after reaching a breakpoint.
14200 * gdb.python/python.exp (decode_line current location line
14201 number): Adjust expected line number.
14202
14203 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
14204
14205 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
14206 behavior for $args, pass it directly to "run".
14207
14208 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
14209
14210 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
14211 30000 to 65536.
14212
14213 2014-05-21 Pedro Alves <palves@redhat.com>
14214
14215 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
14216 auto-connect-native-target off".
14217 * gdb.base/auto-connect-native-target.c: New file.
14218 * gdb.base/auto-connect-native-target.exp: New file.
14219
14220 2014-05-21 Pedro Alves <palves@redhat.com>
14221
14222 * gdb.base/default.exp: Test "target native" instead of "target
14223 child".
14224
14225 2014-05-21 Mark Wielaard <mjw@redhat.com>
14226
14227 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
14228
14229 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14230
14231 Fix TLS access for -static -pthread.
14232 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
14233 <HAVE_TLS> (thread_function, main): Initialize it.
14234 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
14235 Add clean_restart.
14236 <$have_tls != "">: Check TLSVAR.
14237
14238 2014-05-21 Pedro Alves <palves@redhat.com>
14239
14240 * gdb.base/dcache-line-read-error.c: New.
14241 * gdb.base/dcache-line-read-error.exp: New.
14242
14243 2014-05-20 Pedro Alves <palves@redhat.com>
14244
14245 * gdb.base/compare-sections.c: New file.
14246 * gdb.base/compare-sections.exp: New file.
14247
14248 2014-05-20 Pedro Alves <palves@redhat.com>
14249
14250 * gdb.base/break-idempotent.c: New file.
14251 * gdb.base/break-idempotent.exp: New file.
14252
14253 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
14254
14255 * gdb.btrace/nohist.exp: New.
14256
14257 2014-05-20 Yao Qi <yao@codesourcery.com>
14258
14259 * lib/gdb.exp (gdb_init): Set timeout if test file is under
14260 gdb.reverse directory and gdb_reverse_timeout exists in board
14261 setting.
14262 * README: Document gdb_reverse_timeout.
14263
14264 2014-05-20 Yao Qi <yao@codesourcery.com>
14265
14266 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
14267 'test_file_name'. Treat args as a string instead of a list.
14268 (gdb_init): Rename argument 'args' by 'test_file_name'.
14269
14270 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
14271
14272 * gdb.arch/powerpc-power.exp: New file.
14273 * gdb.arch/powerpc-power.s: New file.
14274
14275 2014-05-16 Doug Evans <dje@google.com>
14276
14277 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
14278 * gdb.base/completion.exp: Check that all expected files exist
14279 before doing file completion.
14280
14281 2014-05-16 Doug Evans <dje@google.com>
14282
14283 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
14284 Update.
14285 (do_syscall_tests_without_xml): Update.
14286
14287 2014-05-16 Pedro Alves <palves@redhat.com>
14288
14289 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
14290 instead of "unknown output after running".
14291
14292 2014-05-16 Yao Qi <yao@codesourcery.com>
14293
14294 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
14295 file1.txt from host at the end.
14296 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
14297
14298 2014-05-15 Doug Evans <dje@google.com>
14299
14300 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
14301 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
14302 loading file. Add test for TU lookup.
14303
14304 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
14305
14306 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
14307 calling "-exec-arguments" or "set args" before running the
14308 inferior.
14309
14310 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
14311
14312 * lib/mi-support.exp (mi_expect_stop): Expect message for
14313 inferiors that exit with non-zero exit code.
14314
14315 2014-05-14 Yao Qi <yao@codesourcery.com>
14316
14317 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
14318 match absolute path on remote host.
14319 (test_file_list_exec_source_files): Remove "/" from the
14320 pattern.
14321
14322 2014-05-14 Yao Qi <yao@codesourcery.com>
14323
14324 * boards/local-remote-host-notty.exp (${board}_file): New
14325 proc.
14326
14327 2014-05-07 Kyle McMartin <kyle@redhat.com>
14328
14329 Pushed by Joel Brobecker <brobecker@adacore.com>.
14330 * gdb.arch/aarch64-atomic-inst.c: New file.
14331 * gdb.arch/aarch64-atomic-inst.exp: New file.
14332
14333 2014-05-07 Yao Qi <yao@codesourcery.com>
14334
14335 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
14336 in current context" too.
14337
14338 2014-05-05 Keith Seitz <keiths@redhat.com>
14339
14340 * gdb.linespec/ls-dollar.exp: Add test for linespec
14341 file:convenience_variable.
14342
14343 2014-05-05 Yao Qi <yao@codesourcery.com>
14344
14345 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
14346 traceframes into tfile and ctf trace files. Read data from
14347 trace file and test collected data.
14348 (gdb_collect_locals_test): Likewise.
14349 (gdb_unavailable_registers_test): Likewise.
14350 (gdb_unavailable_floats): Likewise.
14351 (gdb_collect_globals_test): Likewise.
14352 (top-level): Append "ctf" to trace_file_targets if GDB
14353 supports.
14354
14355 2014-05-05 Yao Qi <yao@codesourcery.com>
14356
14357 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
14358 code to ...
14359 (gdb_collect_args_test_1): ... it. New proc.
14360 (gdb_collect_locals_test): Move some code to ...
14361 (gdb_collect_locals_test_1): ... it. New proc.
14362 (gdb_unavailable_registers_test): Move some code to ...
14363 (gdb_unavailable_registers_test_1): ... it. New proc.
14364 (gdb_unavailable_floats): Move some code to ...
14365 (gdb_unavailable_floats_1): ... it. New proc.
14366
14367 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
14368
14369 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
14370 probes to test for bitness recognition.
14371 * gdb.arch/amd64-stap-optional-prefix.exp
14372 (test_probe_value_without_reg): New procedure.
14373 Add code to test for different kinds of bitness.
14374
14375 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
14376
14377 PR breakpoints/16889
14378 * gdb.arch/amd64-stap-optional-prefix.S: New file.
14379 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
14380
14381 2014-05-01 Pedro Alves <palves@redhat.com>
14382
14383 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
14384 gdb_file_cmd if no file is specified.
14385 * boards/native-extended-gdbserver.exp (gdb_load): Use the
14386 last_loaded_file to set the remote exec-file.
14387
14388 2014-05-01 Pedro Alves <palves@redhat.com>
14389
14390 * boards/local-remote-host.exp: New file.
14391
14392 2014-05-01 Pedro Alves <palves@redhat.com>
14393
14394 * boards/local-remote-host.exp: Rename to ...
14395 * boards/local-remote-host-notty.exp: ... this.
14396
14397 2014-04-28 Joel Brobecker <brobecker@adacore.com>
14398
14399 * gdb.ada/dyn_arrayidx: New testcase.
14400
14401 2014-04-26 Yao Qi <yao@codesourcery.com>
14402
14403 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
14404 and compute the length of function main. Save it in
14405 $main_length.
14406 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
14407 (top-level): Use gdb_compile to compile objects into
14408 executable and restart GDB. Remove invocation to
14409 prepare_for_testing.
14410
14411 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
14412 Pedro Alves <palves@redhat.com>
14413
14414 PR server/16255
14415 * gdb.multi/multi-attach.c: New file.
14416 * gdb.multi/multi-attach.exp: New file.
14417
14418 2014-04-25 Pedro Alves <palves@redhat.com>
14419
14420 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
14421 user.
14422 (top level): Test that "set remote conditional-breakpoints-packet
14423 off" works as intended.
14424 * gdb.base/dprintf.exp: Test that "set remote
14425 breakpoint-commands-packet off" works as intended.
14426 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
14427 New function.
14428 (top level): Call it.
14429 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
14430 remote fast-tracepoints-packet off" works as intended.
14431 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
14432 * lib/gdb.exp (gdb_is_target_remote): ... here.
14433
14434 2014-04-24 David Blaikie <dblaikie@gmail.com>
14435
14436 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
14437 ensure clang would not discard them.
14438 * gdb.base/gdbvars.c: Ditto.
14439 * gdb.base/memattr.c: Ditto.
14440 * gdb.base/whatis.c: Ditto.
14441 * gdb.python/py-prettyprint.c: Ditto.
14442 * gdb.trace/actions.c: Ditto.
14443 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
14444 ensure clang would not discard it.
14445
14446 2014-04-24 David Blaikie <dblaikie@gmail.com>
14447
14448 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
14449 clang to emit the full definition of type required by the test
14450 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
14451
14452 2014-04-24 David Blaikie <dblaikie@gmail.com>
14453
14454 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
14455 coax Clang into emitting the definition of the type.
14456 * gdb.cp/pr10728-x.h (y): Ditto.
14457 * gdb.cp/pr10728-y.cc (y): Ditto.
14458
14459 2014-04-24 David Blaikie <dblaikie@gmail.com>
14460
14461 * gdb.base/label.exp: XFAIL label related tests under Clang.
14462 * gdb.cp/cplabel.exp: Ditto.
14463 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
14464 under Clang those using labels.
14465
14466 2014-04-25 Yao Qi <yao@codesourcery.com>
14467
14468 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
14469 double_label.
14470 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
14471 partial_label and double_label.
14472
14473 2014-04-24 David Blaikie <dblaikie@gmail.com>
14474
14475 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
14476
14477 2014-04-24 David Blaikie <dblaikie@gmail.com>
14478
14479 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
14480 of the function to work across GCC and Clang.
14481 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
14482 pointer types (const void ** const V void **).
14483
14484 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
14485 Walfred Tedeschi <walfred.tedeschi@intel.com>
14486
14487 * Makefile.in (EXECUTABLES): Added i386-avx512.
14488 * gdb.arch/i386-avx512.c: New file.
14489 * gdb.arch/i386-avx512.exp: Likewise.
14490
14491 2014-04-23 Keith Seitz <keiths@redhat.com>
14492
14493 * lib/mi-support.exp (mi_list_breakpoints): Delete.
14494 (mi_make_breakpoint_table): New procedure.
14495 (mi_create_breakpoint): Use mi_make_breakpoint
14496 and return the result.
14497 (mi_make_breakpoint): New procedure.
14498 (mi_build_kv_pairs): New procedure.
14499
14500 * gdb.mi/mi-break.exp: Remove unused globals,
14501 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
14502 All callers updated.
14503 * gdb.mi/mi-dprintf.exp: Use variable to track command
14504 number.
14505 Update all callers of mi_create_breakpoint and use
14506 mi_make_breakpoint_table.
14507 Remove any unused global variables.
14508 * gdb.mi/mi-nonstop.exp: Likewise.
14509 * gdb.mi/mi-nsintrall.exp: Likewise.
14510 * gdb.mi/mi-nsmoribund.exp: Likewise.
14511 * gdb.mi/mi-nsthrexec.exp: Likewise.
14512 * gdb.mi/mi-reverse.exp: Likewise.
14513 * gdb.mi/mi-simplerun.exp: Likewise.
14514 * gdb.mi/mi-stepn.exp: Likewise.
14515 * gdb.mi/mi-syn-frame.exp: Likewise.
14516 * gdb.mi/mi-until.exp: Likewise.
14517 * gdb.mi/mi-var-cp.exp: Likewise.
14518 * gdb.mi/mi-var-display.exp: Likewise.
14519 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
14520 * gdb.mi/mi2-var-child.exp: Likewise.
14521 * gdb.mi/mi-vla-c99.exp: Likewise.
14522 * lib/mi-support.exp: Likewise.
14523
14524 From Ian Lance Taylor <iant@cygnus.com>:
14525 * lib/gdb.exp (parse_args): New procedure.
14526
14527 2014-04-23 Pedro Alves <palves@redhat.com>
14528
14529 * gdb.base/break-unload-file.c: New file.
14530 * gdb.base/break-unload-file.exp: New file.
14531 * gdb.base/sym-file-lib.c (baz): New function.
14532 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
14533 field.
14534 (load): Store the segment's mapped size.
14535 (unload): New function.
14536 (unload_shlib): New function.
14537 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
14538 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
14539 set a breakpoint at baz, and call it.
14540 * gdb.base/sym-file.exp: New tests for stale breakpoint
14541 instructions.
14542
14543 2014-04-23 Pedro Alves <palves@redhat.com>
14544
14545 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
14546 * gdb.base/hbreak-in-shr-unsupported.c: New file.
14547 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
14548 * gdb.base/hbreak-unmapped.c: New file.
14549 * gdb.base/hbreak-unmapped.exp: New file.
14550 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
14551 * lib/gdb.exp (gdb_is_target_remote): ... here.
14552
14553 2014-04-22 Pedro Alves <palves@redhat.com>
14554
14555 * gdb.base/consecutive-step-over.c: New file.
14556 * gdb.base/consecutive-step-over.exp: New file.
14557
14558 2014-04-22 Pedro Alves <palves@redhat.com>
14559
14560 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
14561 instead of send_gdb/gdb_expect.
14562
14563 2014-04-22 Yao Qi <yao@codesourcery.com>
14564
14565 * lib/trace-support.exp (generate_tracefile): New procedure.
14566 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
14567 return 0.
14568 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
14569 if generate_tracefile returns 1.
14570
14571 2014-04-18 Tom Tromey <palves@redhat.com>
14572 Pedro alves <tromey@redhat.com>
14573
14574 PR backtrace/15558
14575 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
14576 with a backtrace limit.
14577 * gdb.python/py-frame-inline.exp: Test running to an inline
14578 function with a backtrace limit, and printing the newest frame.
14579 * gdb.python/py-frame-inline.c (main): Call f.
14580
14581 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
14582
14583 * gdb.java/jnpe.exp: Drop srcdir from untested path.
14584
14585 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
14586
14587 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
14588 Drop prefix from unsupported source file path.
14589
14590 2014-04-17 Yao Qi <yao@codesourcery.com>
14591
14592 * lib/gdb.exp (with_target_charset): New proc.
14593 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
14594 with_target_charset.
14595 (test_print_strings): Likewise.
14596 (test_repeat_bytes): Likewise.
14597 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
14598 for some tests.
14599
14600 2014-04-16 Keith Seitz <keiths@redhat.com>
14601
14602 PR gdb/15827
14603 * gdb.dwarf2/corrupt.c: New file.
14604 * gdb.dwarf2/corrupt.exp: New file.
14605
14606 2014-04-16 Keith Seitz <keiths@redhat.com>
14607
14608 PR c++/16597
14609 * gdb.cp/namelessclass.cc: New file.
14610 * gdb.cp/namelessclass.exp: New file.
14611 * gdb.cp/namelessclass.S: New file.
14612
14613 2014-04-16 Doug Evans <dje@google.com>
14614
14615 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
14616 Add comment.
14617 (gdbserver_default_get_comm_port): New function.
14618 (gdbserver_start): Check if board file provided
14619 "gdbserver,get_comm_port" and use it if so.
14620 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
14621 (gdb,socketport): Set to "stdio".
14622 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
14623 (stdio_gdbserver_template): Delete.
14624 (${board}_get_remote_address): Update.
14625 (${board}_build_remote_cmd): Delete.
14626 (${board}_get_comm_port): New function.
14627 (${board}_spawn): Update.
14628 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
14629 Delete.
14630 (${board}_get_remote_address): Update.
14631 (${board}_get_comm_port): New function.
14632
14633 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
14634
14635 * gdb.base/memattr.exp: Improve regexps to handle memory regions
14636 appearing in any order.
14637
14638 2014-04-15 Doug Evans <dje@google.com>
14639
14640 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
14641 uninitialized value of "description".
14642
14643 2014-04-15 Keith Seitz <keiths@redhat.com>
14644
14645 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
14646 Remove unused globals.
14647 (test_running_the_program): Likewise.
14648 (test_controlled_execution): Likewise.
14649 (test_controlling_breakpoints): Likewise.
14650 (test_program_termination): Likewise.
14651
14652 2014-04-15 Keith Seitz <keiths@redhat.com>
14653
14654 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
14655 unused globals.
14656 (test_rbreak_creation_and_listing): Likewise.
14657 (test_ignore_count): Likewise.
14658 (test_error): Likewise.
14659
14660 2014-04-15 Pedro Alves <palves@redhat.com>
14661
14662 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
14663 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
14664 sym-file-loader.c.
14665 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
14666 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
14667 to sym-file-loader.c.
14668 (struct library): Forward declare.
14669 (load_shlib, lookup_function): Change prototypes.
14670 (find_shstrtab, find_strtab, find_shdr, find_symtab)
14671 (translate_offset): Remove declarations.
14672 (get_text_addr): New declaration.
14673 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
14674 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
14675 sym-file-loader.h.
14676 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
14677 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
14678 here from sym-file-loader.h.
14679 (struct library): New structure.
14680 (load_shlib, lookup_function): Change prototypes and adjust to
14681 work with a struct library.
14682 (find_shstrtab, find_strtab, find_shdr, find_symtab)
14683 (translate_offset): Make static.
14684 (get_text_addr): New function.
14685 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
14686
14687 2014-04-15 Pedro Alves <palves@redhat.com>
14688
14689 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
14690
14691 2014-04-15 Pedro Alves <palves@redhat.com>
14692
14693 * gdb.base/sym-file-loader.c: Include <limits.h>.
14694 (SELF_LINK): New define.
14695 (get_origin): New function.
14696 (load_shlib): Use it.
14697 * gdb.base/sym-file.exp: Don't early return if the target is
14698 remote. Use runto_main, and issue fail is that fails. Use
14699 gdb_load_shlibs.
14700 (shlib_name): Delete.
14701 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
14702
14703 2014-04-15 Pedro Alves <palves@redhat.com>
14704
14705 * gdb.base/sym-file.exp: Remove regex characters from test
14706 message. Don't refer to breakpoint numbers in test messages.
14707
14708 2014-04-14 Keith Seitz <keiths@redhat.com>
14709
14710 PR c++/16253
14711 * gdb.cp/var-tag.cc: New file.
14712 * gdb.cp/var-tag.exp: New file.
14713 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
14714 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
14715 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
14716 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
14717
14718 2014-04-14 Tom Tromey <tromey@redhat.com>
14719
14720 * gdb.cp/classes.exp (test_enums): Handle underlying type.
14721 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
14722 type.
14723 * gdb.cp/enum-class.exp: New file.
14724 * gdb.cp/enum-class.cc: New file.
14725
14726 2014-04-14 Tom Tromey <tromey@redhat.com>
14727
14728 * gdb.dwarf2/enum-type.exp: New file.
14729
14730 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
14731
14732 * gdb.mi/mi-vla-c99.exp: New file.
14733 * gdb.mi/vla.c: New file.
14734
14735 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
14736
14737 * gdb.base/vla-datatypes.c: New file.
14738 * gdb.base/vla-datatypes.exp: New file.
14739
14740 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
14741
14742 * gdb.base/vla-ptr.c: New file.
14743 * gdb.base/vla-ptr.exp: New file.
14744
14745 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
14746
14747 * gdb.dwarf2/count.exp: New file.
14748
14749 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
14750
14751 * gdb.base/vla-sideeffect.c: New file.
14752 * gdb.base/vla-sideeffect.exp: New file.
14753
14754 2014-04-14 David Blaikie <dblaikie@gmail.com>
14755
14756 * gdb.mi/non-stop.c: Add return value for non-void function return
14757 statement.
14758 * gdb.threads/staticthreads.c: Ditto.
14759
14760 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
14761 Doug Evans <xdje42@gmail.com>
14762
14763 * gdb.guile/scm-value.c: Improve test case.
14764 * gdb.guile/scm-value.exp: Add new test.
14765
14766 2014-04-11 David Blaikie <dblaikie@gmail.com>
14767
14768 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
14769 override Clang's default.
14770
14771 2014-04-11 Joel Brobecker <brobecker@adacore.com>
14772
14773 Revert the following changes (regressions):
14774
14775 * gdb.base/vla-sideeffect.c: New file.
14776 * gdb.base/vla-sideeffect.exp: New file.
14777
14778 * gdb.dwarf2/count.exp: New file.
14779
14780 * gdb.base/vla-multi.c: New file.
14781 * gdb.base/vla-multi.exp: New file.
14782
14783 * gdb.base/vla-ptr.c: New file.
14784 * gdb.base/vla-ptr.exp: New file.
14785
14786 * gdb.base/vla-datatypes.c: New file.
14787 * gdb.base/vla-datatypes.exp: New file.
14788
14789 * gdb.mi/mi-vla-c99.exp: New file.
14790 * gdb.mi/vla.c: New file.
14791
14792 2014-04-11 Keith Seitz <keiths@redhat.com>
14793
14794 PR c++/16675
14795 * gdb.cp/cpsizeof.exp: New file.
14796 * gdb.cp/cpsizeof.cc: New file.
14797
14798 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
14799
14800 * gdb.mi/mi-vla-c99.exp: New file.
14801 * gdb.mi/vla.c: New file.
14802
14803 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
14804
14805 * gdb.base/vla-datatypes.c: New file.
14806 * gdb.base/vla-datatypes.exp: New file.
14807
14808 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
14809
14810 * gdb.base/vla-ptr.c: New file.
14811 * gdb.base/vla-ptr.exp: New file.
14812
14813 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
14814
14815 * gdb.base/vla-multi.c: New file.
14816 * gdb.base/vla-multi.exp: New file.
14817
14818 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
14819
14820 * gdb.dwarf2/count.exp: New file.
14821
14822 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
14823
14824 * gdb.base/vla-sideeffect.c: New file.
14825 * gdb.base/vla-sideeffect.exp: New file.
14826
14827 2014-04-11 Yao Qi <yao@codesourcery.com>
14828
14829 * gdb.base/completion.exp: Check file exists before running tests
14830 on file completion.
14831
14832 2014-04-10 Pedro Alves <palves@redhat.com>
14833
14834 * gdb.base/cond-eval-mode.c: New file.
14835 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
14836 prepare_for_testing to build the new file. Check result of
14837 runto_main.
14838 (test_break, test_watch): New procedures.
14839 (top level): Use them.
14840
14841 2014-04-08 Pierre Muller <muller@sourceware.org>
14842
14843 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
14844 Ctrl-V use for mingw hosts.
14845
14846 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
14847
14848 * gdb.python/py-value.c: Improve test case.
14849 * gdb.python/py-value.exp: Add new test.
14850
14851 2014-04-07 David Blaikie <dblaikie@gmail.com>
14852
14853 * lib/compiler.c: Identify the clang compiler.
14854 * lib/compiler.cc: Ditto.
14855
14856 2014-04-03 Yao Qi <yao@codesourcery.com>
14857
14858 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
14859
14860 2014-04-01 Anton Blanchard <anton@samba.org>
14861
14862 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
14863 messages unique.
14864
14865 2014-04-01 Anton Blanchard <anton@samba.org>
14866
14867 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
14868 prepare_for_testing.
14869
14870 2014-04-01 Anton Blanchard <anton@samba.org>
14871
14872 * gdb.arch/ppc64-atomic-inst.c: Remove.
14873 * gdb.arch/ppc64-atomic-inst.S: New file.
14874 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
14875
14876 2014-03-31 Doug Evans <dje@google.com>
14877
14878 * gdb.base/print-symbol-loading-lib.c: New file.
14879 * gdb.base/print-symbol-loading-main.c: New file.
14880 * gdb.base/print-symbol-loading.exp: New file.
14881
14882 2014-03-31 Yao Qi <yao@codesourcery.com>
14883
14884 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
14885
14886 2014-03-28 Joel Brobecker <brobecker@adacore.com>
14887
14888 * gdb.ada/mi_dyn_arr: New testcase.
14889
14890 2014-03-27 Doug Evans <dje@google.com>
14891
14892 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
14893
14894 2014-03-27 Yao Qi <yao@codesourcery.com>
14895
14896 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
14897 if target is nios2-*-*.
14898
14899 2014-03-26 Yao Qi <yao@codesourcery.com>
14900
14901 * lib/gdb.exp (readline_is_used): New proc.
14902 * gdb.base/completion.exp: Move tests on command complete up.
14903 Skip the rest of tests if readline is not used.
14904 * gdb.ada/complete.exp: Skp the test if readline is not
14905 used.
14906 * gdb.base/filesym.exp: Likewise.
14907 * gdb.base/macscp.exp: Likewise.
14908 * gdb.base/readline-ask.exp: Likewise.
14909 * gdb.base/readline.exp: Likewise.
14910 * gdb.python/py-cmd.exp: Likewise.
14911 * gdb.trace/tfile.exp: Likewise.
14912
14913 2014-03-26 Yao Qi <yao@codesourcery.com>
14914
14915 * gdb.base/macscp.exp: Fix code format issues.
14916
14917 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
14918
14919 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
14920 * gdb.asm/powerpc64le.inc: New file.
14921
14922 2014-03-25 Pedro Alves <palves@redhat.com>
14923 Doug Evans <dje@google.com>
14924
14925 * gdb.base/source-execution.c: New file.
14926 * gdb.base/source-execution.exp: New file.
14927 * gdb.base/source-execution.gdb: New file.
14928
14929 2014-03-24 Doug Evans <dje@google.com>
14930
14931 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
14932 using fission.
14933
14934 2014-03-24 Hui Zhu <hui@codesourcery.com>
14935 Pedro Alves <palves@redhat.com>
14936
14937 PR breakpoints/16101
14938 * gdb.base/dprintf.exp: Use unsupported rather than changing the
14939 test pass/fail messages. Detect missing support for dprintf when
14940 breakpoints are actually inserted.
14941 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
14942 breakpoints are actually inserted.
14943 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
14944 fails.
14945
14946 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
14947
14948 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
14949
14950 2014-03-22 Doug Evans <xdje42@gmail.com>
14951
14952 * gdb.python/python.exp (python not supported): Verify multi-line
14953 python command issues an error.
14954 * gdb.guile/guile.exp (guile not supported): Verify multi-line
14955 guile command issues an error.
14956
14957 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
14958
14959 * gdb.threads/thread-specific.exp: Handle the lack of usable
14960 $this_breakpoint and $this_thread.
14961
14962 2014-03-21 Hui Zhu <hui@codesourcery.com>
14963
14964 * gdb.base/attach.exp (do_command_attach_tests): New.
14965
14966 2014-03-20 Tom Tromey <tromey@redhat.com>
14967 Pedro Alves <palves@redhat.com>
14968
14969 PR cli/15718
14970 * gdb.base/condbreak-call-false.c: New file.
14971 * gdb.base/condbreak-call-false.exp: New file.
14972
14973 2014-03-20 Pedro Alves <palves@redhat.com>
14974
14975 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
14976 Delete.
14977 (block_signals, unblock_signals): Delete.
14978 (child_function_2, main): Remove references to deleted variable
14979 and functions.
14980
14981 2014-03-20 Pedro Alves <palves@redhat.com>
14982
14983 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
14984 Use pthread_kill to signal thread 2.
14985 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
14986 Adjust to make the test send itself a signal rather than using the
14987 host's "kill" command.
14988
14989 2014-03-20 Pedro Alves <palves@redhat.com>
14990
14991 * gdb.threads/multiple-step-overs.c: New file.
14992 * gdb.threads/multiple-step-overs.exp: New file.
14993 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
14994 Adjust expected infrun debug output.
14995
14996 2014-03-20 Pedro Alves <palves@redhat.com>
14997
14998 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
14999 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
15000
15001 2014-03-20 Pedro Alves <palves@redhat.com>
15002
15003 PR breakpoints/7143
15004 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
15005 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
15006 of gdb_test_multiple.
15007 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
15008 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
15009
15010 2014-03-20 Pedro Alves <palves@redhat.com>
15011
15012 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
15013 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
15014
15015 2014-03-19 Pedro Alves <palves@redhat.com>
15016
15017 * gdb.base/async.exp: Remove early return.
15018
15019 2014-03-19 Pedro Alves <palves@redhat.com>
15020
15021 * gdb.base/async.exp (step& tests): Pass explicit test messages.
15022
15023 2014-03-19 Pedro Alves <palves@redhat.com>
15024
15025 * gdb.base/async.exp (test_background): Expect \r\n after
15026 "completed." in the fail pattern.
15027
15028 2014-03-19 Pedro Alves <palves@redhat.com>
15029
15030 * gdb.base/async.exp (test_background): New procedure.
15031 Use it for all background execution command tests.
15032
15033 2014-03-19 Pedro Alves <palves@redhat.com>
15034
15035 * gdb.base/async.exp: Use prepare_for_testing.
15036
15037 2014-03-19 Pedro Alves <palves@redhat.com>
15038
15039 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
15040 the same line.
15041
15042 2014-03-19 Pedro Alves <palves@redhat.com>
15043
15044 * gdb.base/async.c (main): Add "jump here" and "until here" line
15045 marker comments.
15046 * gdb.base/async.exp (jump_here): New global.
15047 (jump& test): Use it.
15048 (until_here): New global.
15049 (until& test): Use it.
15050
15051 2014-03-19 Pedro Alves <palves@redhat.com>
15052
15053 * gdb.base/async.exp: Don't frob gdb_protocol.
15054
15055 2014-03-18 Doug Evans <xdje42@gmail.com>
15056
15057 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
15058 Fix spelling of exec-done-display.
15059
15060 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
15061
15062 PR gdb/15358
15063 * gdb.base/gdb-sigterm.c: New file.
15064 * gdb.base/gdb-sigterm.exp: New file.
15065
15066 2014-03-18 Pedro Alves <palves@redhat.com>
15067
15068 PR gdb/13860
15069 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
15070 * lib/mi-support.exp (mi_expect_stop): Add special handling for
15071 solib-event.
15072
15073 2014-03-17 Joel Brobecker <brobecker@adacore.com>
15074
15075 * gdb.ada/pckd_arr_ren: New testcase.
15076
15077 2014-03-13 Doug Evans <xdje42@gmail.com>
15078
15079 PR guile/16612
15080 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
15081 collect after discarding symbols.
15082
15083 2014-03-13 Ludovic Courtès <ludo@gnu.org>
15084 Doug Evans <xdje42@gmail.com>
15085
15086 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
15087 to history survives a gc.
15088
15089 2014-03-13 Pedro Alves <palves@redhat.com>
15090
15091 * gdb.base/default.exp: Don't test "target procfs".
15092
15093 2014-03-13 Pedro Alves <palves@redhat.com>
15094
15095 * gdb.base/default.exp: Update "target child" and "target procfs"
15096 tests to not expect "Unix".
15097
15098 2014-03-12 Tom Tromey <tromey@redhat.com>
15099
15100 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
15101 New procs. Add target-async tests.
15102 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
15103 Add target-async tests.
15104
15105 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
15106
15107 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
15108 'func_start' and 'func_end' for the beginning and end of the
15109 function code, respectively.
15110 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
15111 'func_end' instead of 'func' and 'main'.
15112
15113 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
15114
15115 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
15116 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
15117 generate the debug info assembler source.
15118
15119 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
15120
15121 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
15122 * gdb.dwarf2/arr-subrange.exp: Likewise.
15123 * gdb.dwarf2/dwz.exp: Likewise.
15124 * gdb.dwarf2/method-ptr.exp: Likewise.
15125 * gdb.dwarf2/missing-sig-type.exp: Likewise.
15126 * gdb.dwarf2/subrange.exp: Likewise.
15127 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
15128 * gdb.dwarf2/implptrpiece.exp: Likewise.
15129 * gdb.dwarf2/nostaticblock.exp: Likewise.
15130
15131 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
15132
15133 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
15134 directory to absolute path name arguments.
15135
15136 2014-03-10 Joel Brobecker <brobecker@adacore.com>
15137
15138 * gdb.ada/tagged_access: New testcase.
15139
15140 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
15141
15142 * gdb.btrace/data.exp: Update expected output.
15143
15144 2014-03-06 Yao Qi <yao@codesourcery.com>
15145
15146 * gdb.trace/pr16508.exp: New file.
15147
15148 2014-03-05 Pedro Alves <palves@redhat.com>
15149
15150 PR gdb/16575
15151 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
15152 procedure.
15153 (top level): Adjust to use it. Add tests that exercise breakpoint
15154 interaction with the code-cache.
15155
15156 2014-02-26 Ludovic Courtès <ludo@gnu.org>
15157
15158 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
15159 test for 'history-append!'.
15160
15161 2014-02-26 Joel Brobecker <brobecker@adacore.com>
15162
15163 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
15164 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
15165 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
15166 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
15167 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
15168 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
15169
15170 2014-02-26 Joel Brobecker <brobecker@adacore.com>
15171
15172 * testsuite/gdb.python/py-pp-re-notag.c: New file.
15173 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
15174 * testsuite/gdb.python/py-pp-re-notag.p: New file.
15175
15176 2014-02-26 Joel Brobecker <brobecker@adacore.com>
15177
15178 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
15179
15180 2014-02-26 Joel Brobecker <brobecker@adacore.com>
15181
15182 * gdb.dwarf2/arr-stride.c: New file.
15183 * gdb.dwarf2/arr-stride.exp: New file.
15184
15185 2014-02-26 Pedro Alves <palves@redhat.com>
15186
15187 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
15188 that won't ever trigger. Make sure that GDB reports the correct
15189 breakpoint that caused the stop.
15190
15191 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
15192
15193 PR gdb/16626
15194 * gdb.base/auto-load-script: New file.
15195 * gdb.base/auto-load.c: New file.
15196 * gdb.base/auto-load.exp: New file.
15197
15198 PR gdb/16626
15199 * gdb.base/auto-load.exp: Fix out-of-srctree run.
15200
15201 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
15202
15203 Fix dw2-icycle.exp -fsanitize=address GDB crash.
15204 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
15205
15206 2014-02-24 Doug Evans <dje@google.com>
15207
15208 * lib/gdb.exp (run_on_host): Log error output if program fails.
15209
15210 2014-02-21 Pedro Alves <palves@redhat.com>
15211
15212 * gdb.threads/step-after-sr-lock.c: Rename to ...
15213 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
15214 * gdb.threads/step-after-sr-lock.exp: Rename to ...
15215 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
15216 ... this.
15217
15218 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
15219
15220 PR tdep/16397
15221 * gdb.arch/amd64-stap-special-operands.exp: New file.
15222 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
15223 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
15224 * gdb.arch/amd64-stap-triplet.S: Likewise.
15225 * gdb.arch/amd64-stap-triplet.c: Likewise.
15226
15227 2014-02-20 Joel Brobecker <brobecker@adacore.com>
15228
15229 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
15230 in .section pseudo-op.
15231
15232 2014-02-20 lin zuojian <manjian2006@gmail.com>
15233 Joel Brobecker <brobecker@adacore.com>
15234 Doug Evans <xdje42@gmail.com>
15235
15236 PR symtab/16581
15237 * gdb.dwarf2/dw2-icycle.S: New file.
15238 * gdb.dwarf2/dw2-icycle.c: New file.
15239 * gdb.dwarf2/dw2-icycle.exp: New file.
15240
15241 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
15242
15243 * gdb.python/py-value-cc.cc: Improve test case to enable testing
15244 operations on gdb.Value objects.
15245 * gdb.python/py-value-cc.exp: Add new test to test operations on
15246 gdb.Value objects.
15247
15248 2014-02-18 Doug Evans <dje@google.com>
15249
15250 * Makefile.in (TESTS): New variable.
15251 (expanded_tests, expanded_tests_or_none): New variables
15252 (check-single): Pass $(expanded_tests_or_none) to runtest.
15253 (check-parallel): Only run tests in $(TESTS) if non-empty.
15254 (check/no-matching-tests-found): New rule.
15255 * README: Document TESTS makefile variable.
15256
15257 2014-02-18 Doug Evans <dje@google.com>
15258
15259 * Makefile.in (check-parallel): rm -rf outputs temp.
15260
15261 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
15262
15263 Fix "ERROR: no fileid for" in the testsuite.
15264 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
15265
15266 2014-02-12 Doug Evans <dje@google.com>
15267
15268 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
15269 (MISCELLANEOUS): New variable.
15270 (clean): rm -rf $(MISCELLANEOUS).
15271 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
15272 dwp live in the same directory as symlinks, with each symlink pointed
15273 to a differently named file in a different directory.
15274
15275 2014-02-11 Doug Evans <dje@google.com>
15276
15277 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
15278 of Tcl file commands.
15279
15280 2014-02-10 Mark Kettenis <kettenis@gnu.org>
15281
15282 * gdb.threads/step-after-sr-lock.exp: Avoid executing
15283 "kill -SIGUSR1 -1".
15284
15285 2014-02-10 Joel Brobecker <brobecker@adacore.com>
15286
15287 * gdb.ada/tick_length_array_enum_idx: New testcase.
15288
15289 2014-02-10 Doug Evans <xdje42@gmail.com>
15290
15291 * configure.ac (AC_OUTPUT): Add gdb.guile.
15292 * configure: Regenerate.
15293 * lib/gdb-guile.exp: New file.
15294 * lib/gdb.exp (get_target_charset): New function.
15295 * gdb.base/help.exp: Update expected output from "apropos apropos".
15296 * gdb.guile/Makefile.in: New file.
15297 * gdb.guile/guile.exp: New file.
15298 * gdb.guile/scm-arch.c: New file.
15299 * gdb.guile/scm-arch.exp: New file.
15300 * gdb.guile/scm-block.c: New file.
15301 * gdb.guile/scm-block.exp: New file.
15302 * gdb.guile/scm-breakpoint.c: New file.
15303 * gdb.guile/scm-breakpoint.exp: New file.
15304 * gdb.guile/scm-disasm.c: New file.
15305 * gdb.guile/scm-disasm.exp: New file.
15306 * gdb.guile/scm-equal.c: New file.
15307 * gdb.guile/scm-equal.exp: New file.
15308 * gdb.guile/scm-error.exp: New file.
15309 * gdb.guile/scm-error.scm: New file.
15310 * gdb.guile/scm-frame-args.c: New file.
15311 * gdb.guile/scm-frame-args.exp: New file.
15312 * gdb.guile/scm-frame-args.scm: New file.
15313 * gdb.guile/scm-frame-inline.c: New file.
15314 * gdb.guile/scm-frame-inline.exp: New file.
15315 * gdb.guile/scm-frame.c: New file.
15316 * gdb.guile/scm-frame.exp: New file.
15317 * gdb.guile/scm-generics.exp: New file.
15318 * gdb.guile/scm-gsmob.exp: New file.
15319 * gdb.guile/scm-iterator.c: New file.
15320 * gdb.guile/scm-iterator.exp: New file.
15321 * gdb.guile/scm-math.c: New file.
15322 * gdb.guile/scm-math.exp: New file.
15323 * gdb.guile/scm-objfile-script-gdb.in: New file.
15324 * gdb.guile/scm-objfile-script.c: New file.
15325 * gdb.guile/scm-objfile-script.exp: New file.
15326 * gdb.guile/scm-objfile.c: New file.
15327 * gdb.guile/scm-objfile.exp: New file.
15328 * gdb.guile/scm-ports.exp: New file.
15329 * gdb.guile/scm-pretty-print.c: New file.
15330 * gdb.guile/scm-pretty-print.exp: New file.
15331 * gdb.guile/scm-pretty-print.scm: New file.
15332 * gdb.guile/scm-section-script.c: New file.
15333 * gdb.guile/scm-section-script.exp: New file.
15334 * gdb.guile/scm-section-script.scm: New file.
15335 * gdb.guile/scm-symbol.c: New file.
15336 * gdb.guile/scm-symbol.exp: New file.
15337 * gdb.guile/scm-symtab-2.c: New file.
15338 * gdb.guile/scm-symtab.c: New file.
15339 * gdb.guile/scm-symtab.exp: New file.
15340 * gdb.guile/scm-type.c: New file.
15341 * gdb.guile/scm-type.exp: New file.
15342 * gdb.guile/scm-value-cc.cc: New file.
15343 * gdb.guile/scm-value-cc.exp: New file.
15344 * gdb.guile/scm-value.c: New file.
15345 * gdb.guile/scm-value.exp: New file.
15346 * gdb.guile/source2.scm: New file.
15347 * gdb.guile/types-module.cc: New file.
15348 * gdb.guile/types-module.exp: New file.
15349
15350 2014-02-10 Yao Qi <yao@codesourcery.com>
15351
15352 PR testsuite/16543
15353 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
15354 * configure: Regenerated.
15355 * Makefile.in: New file.
15356
15357 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
15358
15359 * gdb.python/py-framefilter.exp: Fix typo.
15360
15361 2014-02-08 Yao Qi <yao@codesourcery.com>
15362
15363 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
15364 that no =breakpoint-modified is emitted when breakpoints are
15365 modified through MI commands.
15366
15367 2014-02-07 Pedro Alves <pedro@codesourcery.com>
15368 Pedro Alves <palves@redhat.com>
15369
15370 * gdb.threads/step-after-sr-lock.c: New file.
15371 * gdb.threads/step-after-sr-lock.exp: New file.
15372
15373 2014-02-07 Pedro Alves <palves@redhat.com>
15374
15375 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
15376
15377 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
15378
15379 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
15380 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
15381
15382 2014-02-06 Doug Evans <xdje42@gmail.com>
15383
15384 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
15385 output.
15386
15387 * gdb.gdb/python-interrupts.exp: New file.
15388
15389 2014-02-05 Yao Qi <yao@codesourcery.com>
15390
15391 * gdb.trace/report.exp (use_collected_data): Test the output
15392 of "info threads" and "info inferiors".
15393
15394 2014-02-05 Yao Qi <yao@codesourcery.com>
15395
15396 Revert this patch:
15397
15398 2013-05-24 Yao Qi <yao@codesourcery.com>
15399
15400 * gdb.trace/tfile.exp: Test inferior and thread.
15401
15402 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
15403
15404 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
15405 on a function.
15406 * gdb.base/step-bt.c: Call hello via function pointer to make
15407 sure its first instruction is executed on powerpc64le-linux.
15408
15409 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
15410
15411 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
15412
15413 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
15414
15415 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
15416 of the test patterns for use on little-endian systems.
15417
15418 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
15419
15420 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
15421 (decimal_vector): Fix for little-endian.
15422
15423 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
15424
15425 * gdb.arch/sparc-sysstep.exp: New file.
15426 * gdb.arch/sparc-sysstep.c: Likewise.
15427
15428 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
15429
15430 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
15431
15432 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
15433
15434 2014-01-23 Tom Tromey <tromey@redhat.com>
15435
15436 * gdb.ada/array_char_idx: New testcase.
15437
15438 2014-01-23 Tom Tromey <tromey@redhat.com>
15439
15440 PR python/16487:
15441 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
15442 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
15443 classes.
15444
15445 2014-01-23 Tom Tromey <tromey@redhat.com>
15446
15447 PR python/16491:
15448 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
15449 string from an inferior frame.
15450 * gdb.python/py-framefilter-mi.exp: Update.
15451
15452 2014-01-22 Doug Evans <dje@google.com>
15453
15454 * gdb.server/server-mon.exp: Add tests for "set debug-format".
15455
15456 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
15457
15458 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
15459
15460 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
15461
15462 * gdb.trace/entry-values.exp: Remove excess space character from
15463 regex patterns. Handle s390 call instruction.
15464
15465 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
15466
15467 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
15468 define "*_start" label. Make "name" static.
15469 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
15470 ${name} by references to ${name}_start.
15471
15472 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
15473
15474 * gdb.base/info-macros.exp: Remove "debug" from the compile
15475 options.
15476
15477 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
15478
15479 * gdb.dlang/demangle.exp: New file.
15480
15481 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
15482
15483 * gdb.dlang/primitive-types.exp: New file.
15484
15485 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
15486
15487 * configure.ac: Create gdb.dlang/Makefile.
15488 * configure: Regenerate.
15489 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
15490 * gdb.dlang/Makefile.in: New file.
15491 * lib/d-support.exp: New file.
15492 * lib/gdb.exp (skip_d_tests): New proc.
15493
15494 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15495
15496 * gdb.btrace/delta.exp: Check reverse stepi.
15497 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
15498 * gdb.btrace/finish.exp: New.
15499 * gdb.btrace/next.exp: New.
15500 * gdb.btrace/nexti.exp: New.
15501 * gdb.btrace/record_goto.c: Add comments.
15502 * gdb.btrace/step.exp: New.
15503 * gdb.btrace/stepi.exp: New.
15504 * gdb.btrace/multi-thread-step.c: New.
15505 * gdb.btrace/multi-thread-step.exp: New.
15506 * gdb.btrace/rn-dl-bind.c: New.
15507 * gdb.btrace/rn-dl-bind.exp: New.
15508 * gdb.btrace/data.c: New.
15509 * gdb.btrace/data.exp: New.
15510 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
15511
15512 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15513
15514 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
15515 * gdb.btrace/exception.exp: Update.
15516 * gdb.btrace/instruction_history.exp: Update.
15517 * gdb.btrace/record_goto.exp: Update.
15518 * gdb.btrace/tailcall.exp: Update.
15519 * gdb.btrace/unknown_functions.exp: Update.
15520 * gdb.btrace/delta.exp: New.
15521
15522 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15523
15524 * gdb.btrace/record_goto.exp: Add backtrace test.
15525 * gdb.btrace/tailcall.exp: Add backtrace test.
15526
15527 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15528
15529 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
15530 * gdb.btrace/record_goto.c: New.
15531 * gdb.btrace/record_goto.exp: New.
15532 * gdb.btrace/x86-record_goto.S: New.
15533
15534 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15535
15536 * gdb.btrace/function_call_history.exp: Update tests.
15537 * gdb.btrace/instruction_history.exp: Update tests.
15538
15539 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15540
15541 * gdb.btrace/function_call_history.exp: Fix expected field
15542 order for "record function-call-history".
15543 Add new tests for "record function-call-history /c".
15544 * gdb.btrace/exception.cc: New.
15545 * gdb.btrace/exception.exp: New.
15546 * gdb.btrace/tailcall.exp: New.
15547 * gdb.btrace/x86-tailcall.S: New.
15548 * gdb.btrace/x86-tailcall.c: New.
15549 * gdb.btrace/unknown_functions.c: New.
15550 * gdb.btrace/unknown_functions.exp: New.
15551 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
15552
15553 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15554
15555 * gdb.btrace/instruction_history.exp: Update.
15556 * gdb.btrace/function_call_history.exp: Update.
15557
15558 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15559
15560 * gdb.btrace/function_call_history.exp: Fix expected function
15561 trace.
15562 * gdb.btrace/instruction_history.exp: Initialize traced.
15563 Remove traced_functions.
15564
15565 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15566
15567 * gdb.btrace/function_call_history.exp: Update
15568 * gdb.btrace/instruction_history.exp: Update.
15569
15570 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15571
15572 * gdb.btrace/enable.exp: Update expected text.
15573
15574 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
15575
15576 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
15577 bytes.
15578
15579 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
15580
15581 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
15582
15583 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
15584
15585 * lib/gdb.exp (supports_process_record): Return true for
15586 arm*-linux*. (supports_reverse): Likewise.
15587
15588 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
15589
15590 PR python/15464
15591 PR python/16113
15592 * gdb.python/py-type.c: Enhance test case.
15593 * gdb.python/py-value-cc.cc: Likewise
15594 * gdb.python/py-type.exp: Add new tests.
15595 * gdb.python/py-value-cc.exp: Likewise
15596
15597 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
15598 Pedro Alves <palves@redhat.com>
15599
15600 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
15601 Make "name" extern.
15602 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
15603 references to ${name}_start by references to ${name}.
15604
15605 2014-01-10 Joel Brobecker <brobecker@adacore.com>
15606
15607 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
15608
15609 2014-01-10 Joel Brobecker <brobecker@adacore.com>
15610
15611 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
15612
15613 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
15614 Pedro Alves <palves@redhat.com>
15615
15616 * gdb.mi/mi-info-os.exp: Connect to the target with
15617 mi_gdb_target_load.
15618
15619 2014-01-08 Pedro Alves <palves@redhat.com>
15620
15621 * gdb.threads/reconnect-signal.c: New file.
15622 * gdb.threads/reconnect-signal.exp: New file.
15623
15624 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15625
15626 * gdb.base/source-dir.exp: New file.
15627
15628 2014-01-07 Joel Brobecker <brobecker@adacore.com>
15629
15630 * gdb.ada/mi_interface: New testcase.
15631
15632 2014-01-07 Joel Brobecker <brobecker@adacore.com>
15633
15634 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
15635 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
15636 gdb.ada/pp-rec-component/pck.ads: New files.
15637
15638 2014-01-07 Joel Brobecker <brobecker@adacore.com>
15639
15640 * gdb.python/py-pp-integral.c: New file.
15641 * gdb.python/py-pp-integral.py: New file.
15642 * gdb.python/py-pp-integral.exp: New file.
15643
15644 For older changes see ChangeLog-1993-2013.
15645 \f
15646 ;; Local Variables:
15647 ;; mode: change-log
15648 ;; left-margin: 8
15649 ;; fill-column: 74
15650 ;; version-control: never
15651 ;; End:
15652
15653 Copyright 2014-2019 Free Software Foundation, Inc.
15654 Copying and distribution of this file, with or without modification,
15655 are permitted provided the copyright notice and this notice are preserved.