]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gdb/testsuite/ChangeLog
[gdb] Handle vfork in thread with follow-fork-mode child
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2019-04-18 Tom de Vries <tdevries@suse.de>
2 Pedro Alves <palves@redhat.com>
3
4 PR gdb/24454
5 * gdb.threads/vfork-follow-child-exec.c: New file.
6 * gdb.threads/vfork-follow-child-exec.exp: New file.
7 * gdb.threads/vfork-follow-child-exit.c: New file.
8 * gdb.threads/vfork-follow-child-exit.exp: New file.
9
10 2019-04-15 Leszek Swirski <leszeks@google.com>
11
12 * gdb.arch/amd64-eval.cc: New file.
13 * gdb.arch/amd64-eval.exp: New file.
14
15 2019-04-11 Alan Hayward <alan.hayward@arm.com>
16
17 * gdb.server/sysroot.c: New test.
18 * gdb.server/sysroot.exp: New file.
19 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
20 matching param.
21
22 2019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
23
24 * gdb.base/align.exp: Extend test to cover structures containing
25 only static fields.
26
27 2019-04-11 Tom de Vries <tdevries@suse.de>
28
29 * boards/cc-with-dwz-m.exp: New file.
30 * boards/cc-with-dwz.exp: New file.
31 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
32
33 2019-04-09 Simon Marchi <simon.marchi@efficios.com>
34
35 * gdb.base/start-cpp.exp: New file.
36 * gdb.base/start-cpp.cc: New file.
37
38 2019-04-08 Kevin Buettner <kevinb@redhat.com>
39
40 * gdb.python/py-thrhandle.exp: Adjust tests to call
41 thread_from_handle instead of thread_from_thread_handle.
42
43 2019-04-08 Kevin Buettner <kevinb@redhat.com>
44
45 * gdb.python/py-thrhandle.exp: Add tests for
46 gdb.InferiorThread.handle.
47
48 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
49
50 * gdb.python/py-function.exp: Check calling helper function from
51 all languages.
52 * lib/gdb.exp (gdb_supported_languages): New proc.
53
54 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
55
56 * gdb.base/complex-parts.c: New file.
57 * gdb.base/complex-parts.exp: New file.
58
59 2019-04-01 Tom Tromey <tromey@adacore.com>
60
61 PR symtab/23331:
62 * gdb.dwarf2/dw2-ranges-main.c: New file.
63 * gdb.dwarf2/dw2-ranges-psym.c: New file.
64 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
65
66 2019-03-30 Simon Marchi <simark@simark.ca>
67
68 * gdb.base/default.exp: Add values for $_gdb_major and
69 $_gdb_minor.
70
71 2019-03-29 Tom Tromey <tromey@adacore.com>
72
73 * gdb.base/help.exp: Tighten apropos regexp.
74
75 2019-03-29 Keith Seitz <keiths@redhat.com>
76
77 * gdb.fortran/array-bounds.exp: New file.
78 * gdb.fortran/array-bounds.f90: New file.
79
80 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
81
82 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
83
84 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
85
86 * gdb.multi/hello.c (main): Increase alarm timer.
87
88 2019-03-28 Sandra Loosemore <sandra@codesourcery.com>
89
90 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
91 factor when no hardware watchpoint support.
92
93 2019-03-28 Alan Hayward <alan.hayward@arm.com>
94 Pedro Alves <palves@redhat.com>
95
96 * boards/local-board.exp: set sysroot to /.
97
98 2019-03-27 Alan Hayward <alan.hayward@arm.com>
99
100 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
101 in child.
102
103 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
104
105 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
106 field.
107 (make_container): Initialise new field.
108 * gdb.python/py-prettyprint.exp: Add new tests.
109 * gdb.python/py-prettyprint.py (class ContainerPrinter)
110 <display_hint>: New method.
111
112 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
113
114 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
115 gdb_continue_to_breakpoint more throughout this test.
116 (run_lang_tests) Supply unique test names, and use
117 gdb_test_no_output.
118
119 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
120
121 * gdb.base/finish-pretty.exp: Update expected results.
122 * gdb.base/pretty-print.c: New file.
123 * gdb.base/pretty-print.exp: New file.
124
125 2019-03-25 Pedro Alves <palves@redhat.com>
126
127 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
128 move comments outside list. Append '-i "" eof' section.
129
130 2019-03-22 Alan Hayward <alan.hayward@arm.com>
131
132 * README: Add pie options.
133 * gdb.base/break-interp.exp: Ensure pie is disabled.
134 * gdb.base/dump.exp: Likewise.
135 * lib/gdb.exp (gdb_compile): Add pie option.
136
137 2019-03-19 Tom Tromey <tromey@adacore.com>
138
139 * gdb.mi/mi2-cli-display.c: New file.
140 * gdb.mi/mi2-cli-display.exp: New file.
141
142 2019-03-18 Joel Brobecker <brobecker@adacore.com>
143 Tom Tromey <tromey@adacore.com>
144
145 * gdb.ada/ptype_array/pck.adb: New file.
146 * gdb.ada/ptype_array/pck.ads: New file.
147 * gdb.ada/ptype_array/foo.adb: New file.
148 * gdb.ada/ptype_array.exp: New file.
149
150 2019-03-14 Tom Tromey <tromey@adacore.com>
151
152 * gdb.base/style.exp: Add "set style sources" test.
153
154 2019-03-13 Simon Marchi <simon.marchi@ericsson.com>
155
156 * mi-breakpoint-location-ena-dis.exp: Rename to ...
157 * mi-breakpoint-multiple-locations.exp: ... this.
158 (make_breakpoints_pattern): New proc.
159 (do_test): Add mi_version parameter, test -break-insert,
160 -break-info and =breakpoint-created.
161
162 2019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
163
164 * config/default.exp: Remove 'load_lib gdb.exp'.
165 * config/monitor.exp: Likewise.
166 * config/sid.exp: Likewise.
167 * config/sim.exp: Likewise.
168 * config/slite.exp: Likewise.
169 * config/unix.exp: Likewise.
170 * gdb.base/default.exp: Remove unhelpful comment.
171
172 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
173
174 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
175
176 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
177
178 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
179
180 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
181
182 * gdb.fortran/type-kinds.exp: Update expected results.
183
184 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
185
186 * gdb.fortran/type-kinds.exp: Test new integer type kind.
187
188 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
189
190 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
191 function.
192 (test_basic_parsing_of_type_kinds): Expand types tested.
193 (test_parsing_invalid_type_kinds): New function.
194
195 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
196
197 * gdb.fortran/intrinsics.exp: New file.
198 * gdb.fortran/intrinsics.f90: New file.
199 * gdb.fortran/type-kinds.exp: New file.
200
201 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
202
203 * gdb.fortran/dot-ops.exp: New file.
204
205 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
206
207 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
208 Check upper and lower case logical literals.
209
210 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
211
212 * gdb.fortran/types.exp (test_float_literal_types_accepted):
213 Remove duplicate tests.
214
215 2019-03-06 Alan Hayward <alan.hayward@arm.com>
216
217 * lib/gdb.exp (builtin_cd): rename of cd.
218 (cd): Override builtin.
219
220 2019-03-06 Richard Bunt <richard.bunt@arm.com>
221
222 * gdb.fortran/function-calls.exp: New file.
223 * gdb.fortran/function-calls.f90: New test.
224
225 2019-03-04 Richard Bunt <richard.bunt@arm.com>
226
227 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
228 on user program standard output.
229 * gdb.fortran/short-circuit-argument-list.f90: Record function
230 calls.
231
232 2019-02-28 Alan Hayward <alan.hayward@arm.com>
233
234 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
235 failure.
236
237 2019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
238
239 PR gdb/8527
240 * gdb.base/interrupt-daemon-attach.c,
241 gdb.base/interrupt-daemon-attach.exp: New test.
242
243 2019-02-27 Pedro Alves <palves@redhat.com>
244
245 * gdb.base/page.exp: Add tests for "set width/height -1".
246
247 2019-02-27 Pedro Alves <palves@redhat.com>
248
249 * gdb.base/page.exp: Add tests for "set/show width/height" with
250 "infinite" values.
251
252 2019-02-27 Tom Tromey <tromey@adacore.com>
253
254 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
255 2.4.
256 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
257 workaround.
258
259 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
260
261 * gdb.base/align.exp: Extend to compile in both C and C++, and add
262 tests for structs with static members.
263
264 2019-02-26 Tom Tromey <tromey@adacore.com>
265
266 * gdb.python/py-value.exp (test_value_from_buffer): Check for
267 ValueError, not TypeError.
268
269 2019-02-26 Kevin Buettner <kevinb@redhat.com>
270
271 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
272 call from main program.
273
274 2019-02-23 Joel Brobecker <brobecker@adacore.com>
275
276 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
277 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
278 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
279 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
280 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
281
282 2019-02-22 Keith Seitz <keiths@redhat.com>
283
284 PR symtab/23853
285 * gdb.base/symlink-sourcefile.c: New file.
286 * gdb.base/symlink-sourcefile.exp: New file.
287
288 2019-02-20 Tom Tromey <tom@tromey.com>
289
290 * gdb.base/info_qt.exp: Update.
291
292 2019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
293
294 * gdb.base/source.exp: Move "error in sourced script" code to
295 the end.
296 * gdb.base/source-error.gdb: Move contents to
297 source-error-1.gdb. Add new code to source source-error-1.gdb.
298 * gdb.base/source-error-1.gdb: New file, from previous
299 source-error.gdb.
300
301 2019-02-17 Tom Tromey <tom@tromey.com>
302
303 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
304 for macro styling.
305 * gdb.base/style.c (SOME_MACRO): New macro.
306
307 2019-02-17 Tom Tromey <tom@tromey.com>
308
309 * gdb.base/style.exp: Add line-wrapping tests.
310 * gdb.base/page.exp: Add test for quitting during pagination.
311
312 2019-02-17 Joel Brobecker <brobecker@adacore.com>
313
314 * gdb.ada/big_packed_array: New testcase.
315 * gdb.ada/homonym.exp: Fix incorrect expected output for
316 "break <homonym__get_value>" test.
317
318 2019-02-13 Weimin Pan <weimin.pan@oracle.com>
319
320 PR breakpoints/21870
321 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
322 and prepare_for_testing. Add comment.
323 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
324 redundant cleanup call. Clean up comment.
325
326 2019-02-12 Weimin Pan <weimin.pan@oracle.com>
327
328 PR breakpoints/21870
329 * gdb.arch/aarch64-dbreg-contents.exp: New file.
330 * gdb.arch/aarch64-dbreg-contents.c: New file.
331
332 2019-02-10 Joel Brobecker <brobecker@adacore.com>
333
334 * gdb.ada/mi_ref_changeable: New testcase.
335
336 2019-02-07 Alan Hayward <alan.hayward@arm.com>
337
338 * gdb.base/attach.exp: Add double attach test.
339
340 2019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
341
342 * lib/gdb.exp (default_gdb_start): Don't match pagination
343 prompt.
344 (gdb_init): Set stty_init.
345
346 2019-01-27 Tom Tromey <tom@tromey.com>
347
348 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
349 skip_python_tests.
350
351 2019-01-24 Alan Hayward <alan.hayward@arm.com>
352
353 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
354 New structure.
355 (struct struct_static_02_02): Likewise.
356 (struct struct_static_02_03): Likewise.
357 (struct struct_static_02_04): Likewise.
358 (struct struct_static_04_01): Likewise.
359 (struct struct_static_04_02): Likewise.
360 (struct struct_static_04_03): Likewise.
361 (struct struct_static_04_04): Likewise.
362 (struct struct_static_06_01): Likewise.
363 (struct struct_static_06_02): Likewise.
364 (struct struct_static_06_03): Likewise.
365 (struct struct_static_06_04): Likewise.
366 (cmp_struct_static_02_01): Likewise.
367 (cmp_struct_static_02_02): Likewise.
368 (cmp_struct_static_02_03): Likewise.
369 (cmp_struct_static_02_04): Likewise.
370 (cmp_struct_static_04_01): Likewise.
371 (cmp_struct_static_04_02): Likewise.
372 (cmp_struct_static_04_03): Likewise.
373 (cmp_struct_static_04_04): Likewise.
374 (cmp_struct_static_06_01): Likewise.
375 (cmp_struct_static_06_02): Likewise.
376 (cmp_struct_static_06_03): Likewise.
377 (cmp_struct_static_06_04): Likewise.
378 (call_all): Test new structs.
379 * gdb.base/infcall-nested-structs.exp: Likewise.
380
381 2019-01-21 Alan Hayward <alan.hayward@arm.com>
382 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
383
384 2019-01-21 Alan Hayward <alan.hayward@arm.com>
385 * gdb.base/stack-protector.c: New test.
386 * gdb.base/stack-protector.exp: New file.
387 * gdb.cp/ovldbreak.exp: Only allow a single break line.
388 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
389 option.
390 (gdb_compile): Remove stack protector for GCC and prevent
391 recursion.
392
393 2019-01-16 Keith Seitz <keiths@redhat.com>
394
395 PR gdb/23773
396 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
397
398 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
399
400 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
401 aliases.
402 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
403 tests.
404 * gdb.arch/powerpc-vector-regs.c: New file.
405 * gdb.arch/powerpc-vector-regs.exp: New file.
406
407 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
408
409 * gdb.arch/altivec-regs.exp: Fix the list passed to
410 gdb_expect_list when testing "info vector".
411
412 2019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
413
414 * gdb.base/style.exp: Don't include path in testname.
415
416 2019-01-10 Keith Seitz <keiths@redhat.com>
417
418 PR gdb/23712
419 PR symtab/23010
420 * gdb.dwarf2/multidictionary.exp: New file.
421
422 2019-01-09 Simon Marchi <simon.marchi@ericsson.com>
423
424 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
425 (test_gnuv3_style_demangling): ... this.
426 (test_lucid_style_demangling): Remove.
427 (test_arm_style_demangling): Remove.
428 (test_hp_style_demangling): Remove.
429 (do_tests): Remove calls to the above.
430
431 2019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
432
433 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
434 case.
435
436 2019-01-06 Tom Tromey <tom@tromey.com>
437
438 PR gdb/28155:
439 * gdb.dwarf2/typedef-void-finish.exp: New file.
440
441 2018-12-28 Tom Tromey <tom@tromey.com>
442 Simon Marchi <simark@simark.ca>
443
444 * gdb.base/jit-exec.exp: New file.
445 * gdb.base/jit-exec.c: New file.
446 * gdb.base/jit-execd.c: New file.
447
448 2018-12-28 Tom Tromey <tom@tromey.com>
449
450 * gdb.base/style.exp: Update test to check for address styling.
451
452 2018-12-28 Tom Tromey <tom@tromey.com>
453
454 * gdb.base/style.exp: Add test for styling of "Reading symbols"
455 message.
456
457 2018-12-28 Tom Tromey <tom@tromey.com>
458
459 * gdb.base/style.exp: Add test for version number styling.
460
461 2018-12-28 Tom Tromey <tom@tromey.com>
462
463 * gdb.base/style.exp: Add test for print_address_symbolic.
464
465 2018-12-28 Tom Tromey <tom@tromey.com>
466
467 * gdb.base/style.exp: Add test for breakpoint setting.
468
469 2018-12-28 Tom Tromey <tom@tromey.com>
470
471 * gdb.base/style.exp: Add test for variable names.
472
473 2018-12-28 Tom Tromey <tom@tromey.com>
474
475 * gdb.base/style.exp: New file.
476 * gdb.base/style.c: New file.
477
478 2018-12-28 Tom Tromey <tom@tromey.com>
479
480 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
481 "dumb".
482 * gdb.base/readline.exp (operate_and_get_next): Save and restore
483 the TERM environment variable.
484
485 2018-12-27 Tom Tromey <tom@tromey.com>
486
487 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
488 pagination test.
489
490 2018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
491
492 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
493 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
494
495 2018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
496
497 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
498 Filename a.adb changed to bp_fun_addr.adb.
499 gdb.ada/bp_fun_addr.exp: Update test accordingly.
500
501 2018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
502
503 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
504 non-PIE executables.
505 * README: Mention the gdb,nopie_flag board setting.
506 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
507 non-PIE executable.
508 * gdb.arch/amd64-entry-value.exp: Likewise.
509 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
510 * gdb.arch/i386-float.exp: Likewise.
511 * gdb.arch/i386-signal.exp: Likewise.
512 * gdb.mi/mi-reg-undefined.exp: Likewise.
513
514 2018-12-21 Paul Marechal <paul.marechal@ericsson.com>
515
516 PR gdb/23974
517 * gdb.base/info-os.exp: Check return for unknown "info os" type.
518
519 2018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
520
521 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
522 Update order of results accordingly.
523
524 2018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
525
526 * gdb.base/annota1.exp: Update a test regexp.
527
528 2018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
529
530 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
531
532 2018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
533
534 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
535 (reuse_time): Initialize to REUSE_TIME_CAP.
536 (check_rc): New function.
537 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
538 Check pthread_create rc.
539 (spawner_thread_func): Check pthread_create and pthread_join rc.
540
541 2018-12-08 Pedro Alves <palves@redhat.com>
542
543 * gdb.base/list.exp (test_forward_search): Rename to ...
544 (test_forward_reverse_search): ... this. Also test reverse-search
545 and the forward-search alias.
546
547 2018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
548
549 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
550 local timeout variable before return, and remove all local timeout
551 variable entirely.
552 (gdb_load): Likewise.
553
554 2018-12-01 Tom de Vries <tdevries@suse.de>
555
556 * gdb.base/gdb-caching-proc.exp: New file.
557
558 2018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
559
560 * Makefile.in (TIMESTAMP): New variable.
561 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
562 command.
563 (check-single-racy): Likewise.
564 (check/%.exp): Likewise.
565 (check-racy/%.exp): Likewise.
566 (workers/%.worker): Likewise.
567 (build-perf): Likewise.
568 (check-perf): Likewise.
569 * README: Describe new "TS" and "TS_FORMAT" variables.
570 * print-ts.py: New file.
571
572 2018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
573
574 PR python/23714
575 * gdb.python/python.exp: Test command repetition after
576 gdb.execute.
577
578 2018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
579
580 * gdb.opt/inline-break.exp: Add test that info breakpoint output
581 is correctly aligned.
582
583 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
584
585 * gdb.ada/info_auto_lang.exp: New testcase.
586 * gdb.ada/info_auto_lang/global_pack.ads: New file.
587 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
588 * gdb.ada/info_auto_lang/some_c.c: New file.
589
590 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
591
592 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
593 FUNC_lang language syntax.
594
595 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
596
597 * gdb.base/info_minsym.c: New file.
598 * gdb.base/info_minsym.exp: New file.
599
600 2018-11-19 Tom Tromey <tom@tromey.com>
601
602 PR rust/23625:
603 * gdb.rust/simple.exp: Add ptype test. Update expected output.
604 * gdb.rust/expr.exp: Update expected output. Change one test.
605
606 2018-11-19 Tom Tromey <tom@tromey.com>
607
608 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
609
610 2018-11-19 Pedro Alves <palves@redhat.com>
611
612 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
613 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
614 see the expected warning.
615
616 2018-11-16 Alan Hayward <alan.hayward@arm.com>
617
618 PR gdb/22736:
619 * gdb.cp/infcall-nodebug-lib.c: New test.
620 * gdb.cp/infcall-nodebug-main.c: New test.
621 * gdb.cp/infcall-nodebug.exp: New file.
622
623 2018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
624
625 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
626 completer tests.
627
628 2018-11-09 Tom de Vries <tdevries@suse.de>
629
630 * gdb.base/msym-lang.c: New test.
631 * gdb.base/msym-lang.exp: New file.
632 * gdb.base/msym-lang-main.c: New test.
633
634 2018-11-08 Tom Tromey <tom@tromey.com>
635
636 PR gdb/23555:
637 PR gdb/23838:
638 * gdb.base/warning.exp: New file.
639
640 2018-11-08 Jan Beulich <jbeulich@suse.com>
641
642 * testsuite/gdb.arch/i386-avx512.c,
643 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
644
645 2018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
646
647 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
648 point hardware.
649
650 2018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
651
652 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
653 * gdb.dwarf2/missing-type-name.exp: New file.
654
655 2018-11-06 Tom de Vries <tdevries@suse.de>
656
657 * gdb.base/many-headers.c: New test.
658 * gdb.base/many-headers.exp: New file.
659
660 2018-11-06 Jim Wilson <jimw@sifive.com>
661
662 * gdb.base/code_elim.exp: For riscv, set additional_flags
663 to include -msmall-data-limit=0.
664
665 2018-11-01 Joel Brobecker <brobecker@adacore.com>
666
667 * gdb.ada/watch_minus_l: New testcase.
668
669 2018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
670
671 * gdb.arch/aix-sighandle.c: New file.
672 * gdb.arch/aix-sighandle.exp: New file.
673
674 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
675
676 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
677 registers being unions.
678
679 2018-10-31 Tom de Vries <tdevries@suse.de>
680
681 * lib/valgrind.exp: New file.
682 (vgdb_start, vgdb_stop): New procs, factored out of ...
683 * gdb.base/valgrind-bt.exp: ... here, ...
684 * gdb.base/valgrind-disp-step.exp: ... here and ...
685 * gdb.base/valgrind-infcall.exp: ... here.
686
687 2018-10-31 Tom de Vries <tdevries@suse.de>
688
689 * lib/gdb.exp (get_valueof): Don't output read value in test name.
690
691 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
692
693 * gdb.dwarf2/void-type.c: New file.
694 * gdb.dwarf2/void-type.exp: New file.
695
696 2018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
697
698 * gdb.base/info_qt.c: New file.
699 * gdb.base/info_qt.exp: New file.
700
701 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
702
703 * gdb.arch/powerpc-htm-regs.c: New file.
704 * gdb.arch/powerpc-htm-regs.exp: New file.
705
706 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
707
708 * gdb.arch/powerpc-tar.c: New file.
709 * gdb.arch/powerpc-tar.exp: New file.
710
711 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
712
713 * gdb.arch/powerpc-ppr-dscr.c: New file.
714 * gdb.arch/powerpc-ppr-dscr.exp: New file.
715
716 2018-10-25 Tom de Vries <tdevries@suse.de>
717
718 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
719
720 2018-10-24 Tom de Vries <tdevries@suse.de>
721
722 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
723 longer exists error.
724
725 2018-10-24 Tom de Vries <tdevries@suse.de>
726
727 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
728
729 2018-10-24 Tom de Vries <tdevries@suse.de>
730
731 * gdb.base/valgrind-db-attach.exp: Handle removed support for
732 --db-attach in valgrind.
733
734 2018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
735
736 * gdb.arch/riscv-reg-aliases.c: New file.
737 * gdb.arch/riscv-reg-aliases.exp: New file.
738
739 2018-10-19 Alan Hayward <alan.hayward@arm.com>
740
741 * gdb.python/py-cmd.exp: Check for gdb_prompt.
742
743 2018-10-19 Alan Hayward <alan.hayward@arm.com>
744
745 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
746
747 2018-10-19 Alan Hayward <alan.hayward@arm.com>
748
749 * gdb.cp/ovldbreak.exp: Fix regexps.
750
751 2018-10-19 Alan Hayward <alan.hayward@arm.com>
752
753 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
754
755 2018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
756
757 PR cli/23785
758 * gdb.base/restore.exp: New test to check if "restore" with an
759 invalid file doesn't segfault.
760
761 2018-10-18 Tom de Vries <tdevries@suse.de>
762
763 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
764 * gdb.ada/excep_handle.exp: Same.
765 * gdb.ada/mi_string_access.exp: Same.
766 * gdb.ada/mi_var_union.exp: Same.
767 * gdb.arch/arc-analyze-prologue.exp: Same.
768 * gdb.arch/arc-decode-insn.exp: Same.
769 * gdb.base/readnever.exp: Same.
770 * gdb.fortran/printing-types.exp: Same.
771 * gdb.guile/scm-lazy-string.exp: Same.
772
773 2018-10-16 Tom de Vries <tdevries@suse.de>
774
775 PR gdb/23730
776 * gdb.base/catch-follow-exec.c: Add copyright notice.
777 * gdb.base/catch-follow-exec.exp: Rewrite to use
778 gdb_spawn_with_cmdline_opts. Require gdb-native.
779
780 2018-10-12 Sandra Loosemore <sandra@codesourcery.com>
781
782 * gdb.trace/actions-changed.exp: Check for arch support.
783 * gdb.trace/actions.exp: Likewise.
784 * gdb.trace/ax.exp: Likewise.
785 * gdb.trace/backtrace.exp: Likewise.
786 * gdb.trace/change-loc.exp: Likewise.
787 * gdb.trace/deltrace.exp: Likewise.
788 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
789 * gdb.trace/ftrace.exp: Likewise.
790 * gdb.trace/infotrace.exp: Check for arch support.
791 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
792 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
793 * gdb.trace/mi-tsv-changed.exp: Likewise.
794 * gdb.trace/packetlen.exp: Likewise.
795 * gdb.trace/passc-dyn.exp: Likewise.
796 * gdb.trace/passcount.exp: Likewise.
797 * gdb.trace/pending.exp: Likewise.
798 * gdb.trace/range-stepping.exp: Check for shlib support.
799 * gdb.trace/report.exp: Check for arch support.
800 * gdb.trace/save-trace.exp: Likewise.
801 * gdb.trace/signal.exp: Check for signal support.
802 * gdb.trace/tfind.exp: Check for arch support.
803 * gdb.trace/trace-break.exp: Check for arch and shlib support.
804 * gdb.trace/trace-common.h: Add comment.
805 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
806 * gdb.trace/trace-enable-disable.exp: Likewise.
807 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
808 * gdb.trace/tracecmd.exp: Check for arch support.
809 * gdb.trace/tspeed.exp: Check for shlib and target support.
810 * gdb.trace/tstatus.exp: Check for arch support.
811 * gdb.trace/tsv.exp: Likewise.
812 * gdb.trace/while-dyn.exp: Likewise.
813 * gdb.trace/while-stepping.exp: Likewise.
814 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
815
816 2018-10-12 Simon Marchi <simon.marchi@ericsson.com>
817
818 * gdb.trace/tspeed.exp: Remove nowarnings.
819 (prepare_for_trace_test): Declare "global ipalib".
820 * gdb.trace/tspeed.c: Include unistd.h.
821 (main): Remove superfluous printf argument.
822
823 2018-10-11 Sandra Loosemore <sandra@codesourcery.com>
824
825 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
826 directory prefix on the filename.
827
828 2018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
829
830 * gdb.gdb/unittest.exp: Update expected message informing that
831 selftests have been disabled.
832 * gdb.server/unittest.exp: Likewise.
833
834 2018-10-09 Tom de Vries <tdevries@suse.de>
835
836 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
837 with runto_main.
838
839 2018-10-08 Weimin Pan <weimin.pan@oracle.com>
840
841 PR c++/16841
842 * gdb.cp/virtbase2.cc: New file.
843 * gdb.cp/virtbase2.exp: New file.
844
845 2018-10-06 Tom Tromey <tom@tromey.com>
846
847 PR python/19399:
848 * gdb.python/py-inferior.exp: Add architecture test.
849
850 2018-10-06 Tom Tromey <tom@tromey.com>
851
852 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
853 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
854
855 2018-10-06 Tom Tromey <tom@tromey.com>
856
857 * gdb.python/py-breakpoint.exp (check_last_event): Check location
858 of a "throw" catchpoint.
859
860 2018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
861
862 * gdb.base/info-proc.exp: Update string expected from "help info
863 proc".
864
865 2018-10-04 Tom Tromey <tom@tromey.com>
866
867 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
868 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
869 (test_initial_complaints, test_empty_complaints): Update.
870 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
871
872 2018-10-04 Tom Tromey <tom@tromey.com>
873
874 PR cli/19551:
875 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
876 * lib/gdb.exp (gdb_file_cmd): Update.
877 * gdb.stabs/weird.exp (print_weird_var): Update.
878 * gdb.server/solib-list.exp: Update.
879 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
880 * gdb.mi/mi-cli.exp: Update.
881 * gdb.linespec/linespec.exp: Update.
882 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
883 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
884 * gdb.cp/cp-relocate.exp: Update.
885 * gdb.base/sym-file.exp: Update.
886 * gdb.base/relocate.exp: Update.
887 * gdb.base/readnever.exp: Update.
888 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
889 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
890 * gdb.base/dbx.exp (gdb_file_cmd): Update.
891 * gdb.base/code_elim.exp: Update.
892 * gdb.base/break-unload-file.exp (test_break): Update.
893 * gdb.base/break-interp.exp (test_attach_gdb): Update.
894 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
895 Update.
896 * gdb.base/attach.exp (do_attach_tests): Update.
897 * gdb.base/sepdebug.exp: Update.
898 * gdb.python/py-section-script.exp: Update.
899
900 2018-10-04 Tom Tromey <tom@tromey.com>
901
902 PR cli/22234:
903 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
904 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
905 output.
906
907 2018-10-04 Tom Tromey <tom@tromey.com>
908
909 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
910 set width and height to 0.
911 (test_command_line_attach_run): Use -quiet.
912
913 2018-10-03 Sandra Loosemore <sandra@codesourcery.com>
914
915 * lib/gdb.exp (skip_ifunc_tests): New.
916 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
917 other compile failures.
918 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
919
920 2018-10-01 Simon Marchi <simon.marchi@ericsson.com>
921
922 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
923 is_amd64_regs_target.
924
925 2018-10-01 Alan Hayward <alan.hayward@arm.com>
926
927 * gdb.arch/aarch64-sighandler-regs.c: New test.
928 * gdb.arch/aarch64-sighandler-regs.exp: New file.
929 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
930
931 2018-10-01 Markus Metzger <markus.t.metzger@intel.com>
932
933 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
934 assembly.
935
936 2018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
937
938 * gdb.base/frame-selection.exp: New file.
939 * gdb.base/frame-selection.c: New file.
940
941 2018-09-27 Alan Hayward <alan.hayward@arm.com>
942
943 * gdb.threads/check-libthread-db.c (thread_routine): Use a
944 pthread barrier.
945 (main): Likewise.
946
947 2018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
948
949 * gdb.base/large-frame-1.c: New file.
950 * gdb.base/large-frame-2.c: New file.
951 * gdb.base/large-frame.exp: New file.
952 * gdb.base/large-frame.h: New file.
953
954 2018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
955
956 PR gdb/20948
957 * gdb.base/write_mem.exp: New test.
958 * gdb.base/write_mem.c: Likewise.
959
960 2018-09-23 Tom Tromey <tom@tromey.com>
961
962 PR python/18852:
963 * gdb.python/py-parameter.exp: Add test for parameter that throws
964 on "set".
965
966 2018-09-23 Tom Tromey <tom@tromey.com>
967
968 PR python/17284:
969 * gdb.python/py-template.exp (test_template_arg): Add test for
970 negative template argument number.
971
972 2018-09-23 Tom Tromey <tom@tromey.com>
973
974 PR python/14062:
975 * gdb.python/python.exp: Add test for post_event error.
976
977 2018-09-23 Tom Tromey <tom@tromey.com>
978
979 PR python/18170:
980 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
981 convert pointers to int and long.
982
983 2018-09-23 Tom Tromey <tom@tromey.com>
984
985 PR python/20126:
986 * gdb.python/py-value.exp (test_value_numeric_ops): Add
987 signed-ness conversion tests.
988
989 2018-09-23 Tom Tromey <tom@tromey.com>
990
991 PR python/18352;
992 * gdb.python/py-value.exp (test_float_conversion): New proc.
993 Use it.
994
995 2018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
996
997 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
998
999 2018-09-18 Sandra Loosemore <sandra@codesourcery.com>
1000
1001 * gdb.base/complete-empty.exp: Skip tab-completion tests if
1002 no readline.
1003 * gdb.base/utf8-identifiers.exp: Likewise.
1004 * gdb.cp/cpcompletion.exp: Likewise.
1005 * gdb.linespec/cpcompletion.exp: Likewise.
1006 * gdb.linespec/cpls-abi-tag.exp: Likewise.
1007 * gdb.linespec/cpls-ops.exp: Likewise.
1008
1009 2018-09-19 Richard Bunt <richard.bunt@arm.com>
1010 Chris January <chris.january@arm.com>
1011
1012 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
1013 * gdb.fortran/short-circuit-argument-list.exp: New file.
1014 * gdb.fortran/short-circuit-argument-list.f90: New test.
1015
1016 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
1017
1018 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
1019 "arch=" keyword when executing "-stack-list-frames".
1020
1021 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
1022
1023 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
1024 "arch=" keyword when executing "-stack-list-frames".
1025
1026 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
1027
1028 * gdb.ada/complete.exp: Expect for "@" when doing "complete
1029 break ada".
1030
1031 2018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
1032
1033 PR python/23669
1034 * gdb.python/python.exp: Test gdb.execute("show commands").
1035
1036 2018-09-16 Tom Tromey <tom@tromey.com>
1037
1038 * gdb.base/new-ui.exp (do_execution_tests): Update.
1039 * gdb.base/dbx.exp (test_breakpoints): Update.
1040
1041 2018-09-14 Alan Hayward <alan.hayward@arm.com>
1042
1043 * lib/gdb.exp (gdb_simple_compile): Add proc.
1044 (is_elf_target): Use gdb_simple_compile.
1045 (skip_altivec_tests): Likewise.
1046 (skip_vsx_tests): Likewise.
1047 (skip_tsx_tests): Likewise.
1048 (skip_btrace_tests): Likewise.
1049 (skip_btrace_pt_tests): Likewise.
1050 (gdb_can_simple_compile): Likewise.
1051 (gdb_has_argv0): Likewise.
1052 (gdb_target_symbol_prefix): Likewise.
1053 (target_supports_scheduler_locking): Likewise.
1054
1055 2018-09-13 Tom Tromey <tom@tromey.com>
1056
1057 * Makefile.in (TAGS): Recognize proc_with_prefix and
1058 gdb_caching_proc.
1059
1060 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
1061
1062 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
1063 method.
1064
1065 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
1066
1067 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
1068 and a few other Inferior properties when the Inferior is no
1069 longer valid.
1070
1071 2018-09-13 Tom Tromey <tom@tromey.com>
1072
1073 PR rust/23650:
1074 * gdb.rust/simple.exp: Add test for enum field access error.
1075
1076 2018-09-13 Tom Tromey <tom@tromey.com>
1077
1078 PR rust/23626:
1079 * gdb.rust/simple.rs (EmptyEnum): New type.
1080 (main): Use it.
1081 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
1082
1083 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
1084
1085 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
1086 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
1087 * gdb.python/py-symtab.exp: Update test printing an objfile.
1088
1089 2018-09-12 Simon Marchi <simon.marchi@ericsson.com>
1090
1091 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
1092 object.
1093
1094 2018-09-12 Alan Hayward <alan.hayward@arm.com>
1095
1096 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
1097 (support_complex_tests): Use gdb_can_simple_compile.
1098 (is_ilp32_target): Likewise.
1099 (is_lp64_target): Likewise.
1100 (is_64_target): Likewise.
1101 (is_amd64_regs_target): Likewise.
1102 (is_aarch32_target): Likewise.
1103 (gdb_int128_helper): Likewise.
1104
1105 2018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1106
1107 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
1108
1109 2018-09-10 Jerome Guitton <guitton@adacore.com>
1110
1111 * gdb.ada/same_component_name: Add test for case of tagged record
1112 with variable-length fields.
1113
1114 2018-09-10 Xavier Roirand <roirand@adacore.com>
1115
1116 * gdb.ada/access_to_unbounded_array.exp: New testcase.
1117 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
1118 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
1119 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
1120
1121 2018-09-10 Xavier Roirand <roirand@adacore.com>
1122
1123 * gdb.ada/mi_string_access.exp: New testcase.
1124 * gdb.ada/mi_string_access/bar.adb: New file.
1125 * gdb.ada/mi_string_access/pck.adb: New file.
1126 * gdb.ada/mi_string_access/pck.asd: New file.
1127
1128 2018-09-10 Xavier Roirand <roirand@adacore.com>
1129
1130 * gdb.ada/mi_var_union.exp: New testcase.
1131 * gdb.ada/mi_var_union/bar.adb: New file.
1132 * gdb.ada/mi_var_union/pck.adb: New file.
1133 * gdb.ada/mi_var_union/pck.asd: New file.
1134
1135 2018-09-08 Tom Tromey <tom@tromey.com>
1136
1137 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
1138
1139 2018-09-08 Tom Tromey <tom@tromey.com>
1140
1141 PR python/16047:
1142 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
1143 (register_pretty_printers): Register new printer.
1144 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
1145 test.
1146 * gdb.python/py-prettyprint.c (int_type3): New typedef.
1147 (an_int_type3): New global.
1148
1149 2018-09-08 Joel Brobecker <brobecker@adacore.com>
1150
1151 * gdb.ada/expr_with_funcall: New testcase.
1152
1153 2018-09-08 Joel Brobecker <brobecker@adacore.com>
1154
1155 * gdb.ada/packed_array_assign: New testcase.
1156
1157 2018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
1158
1159 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
1160 names, and add test prefixes to make test names unique.
1161
1162 2018-09-05 Tom de Vries <tdevries@suse.de>
1163
1164 * gdb.dwarf2/varval.exp: Add test.
1165
1166 2018-09-04 Gary Benson <gbenson@redhat.com>
1167
1168 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
1169 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
1170
1171 2018-08-31 Tom Tromey <tom@tromey.com>
1172
1173 * gdb.rust/simple.rs: Rename second variable "v".
1174
1175 2018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
1176
1177 * gdb.base/funcargs.c (use_a): New function.
1178 (recurse): Call use_a.
1179
1180 2018-08-29 Keith Seitz <keiths@redhat.com>
1181
1182 * gdb.compile/compile-cplus-anonymous.cc: New file.
1183 * gdb.compile/compile-cplus-anonymous.exp: New file.
1184 * gdb.compile/compile-cplus-array-decay.cc: New file.
1185 * gdb.compile/compile-cplus-array-decay.exp: New file.
1186 * gdb.compile/compile-cplus-inherit.cc: New file.
1187 * gdb.compile/compile-cplus-inherit.exp: New file.
1188 * gdb.compile/compile-cplus-member.cc: New file.
1189 * gdb.compile/compile-cplus-member.exp: New file.
1190 * gdb.compile/compile-cplus-method.cc: New file.
1191 * gdb.compile/compile-cplus-method.exp: New file.
1192 * gdb.compile/compile-cplus-mod.c: "New" file.
1193 * gdb.compile/compile-cplus-namespace.cc: New file.
1194 * gdb.compile/compile-cplus-namespace.exp: New file.
1195 * gdb.compile/compile-cplus-nested.cc: New file.
1196 * gdb.compile/compile-cplus-nested.exp: New file.
1197 * gdb.compile/compile-cplus-print.c: "New" file.
1198 * gdb.compile/compile-cplus-print.exp: "New" file.
1199 * gdb.compile/compile-cplus-virtual.cc: New file.
1200 * gdb.compile/compile-cplus-virtual.exp: New file.
1201 * gdb.compile/compile-cplus.c: "New" file.
1202 * gdb.compile/compile-cplus.exp: "New" file.
1203 * lib/compile-support.exp: New file.
1204
1205 2018-08-16 Gary Benson <gbenson@redhat.com>
1206
1207 PR gdb/13000:
1208 * gdb.base/batch-exit-status.exp: New file.
1209 * gdb.base/batch-exit-status.good-commands: Likewise.
1210 * gdb.base/batch-exit-status.bad-commands: Likewise.
1211
1212 2018-08-29 Alan Hayward <alan.hayward@arm.com>
1213
1214 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
1215 (struct struct02): Likewise.
1216 (struct struct03): Likewise.
1217 (struct struct04): Likewise.
1218 (struct struct_01_01): New struct.
1219 (struct struct_01_02): Likewise.
1220 (struct struct_01_03): Likewise.
1221 (struct struct_01_04): Likewise.
1222 (struct struct_02_01): Likewise.
1223 (struct struct_02_02): Likewise.
1224 (struct struct_02_03): Likewise.
1225 (struct struct_02_04): Likewise.
1226 (struct struct_04_01): Likewise.
1227 (struct struct_04_02): Likewise.
1228 (struct struct_04_03): Likewise.
1229 (struct struct_04_04): Likewise.
1230 (struct struct_05_01): Likewise.
1231 (struct struct_05_02): Likewise.
1232 (struct struct_05_03): Likewise.
1233 (struct struct_05_04): Likewise.
1234 (cmp_struct01): Remove function.
1235 (cmp_struct02): Likewise.
1236 (cmp_struct03): Likewise.
1237 (cmp_struct04): Likewise.
1238 (cmp_struct_01_01): Add Function.
1239 (cmp_struct_01_02): Likewise.
1240 (cmp_struct_01_03): Likewise.
1241 (cmp_struct_01_04): Likewise.
1242 (cmp_struct_02_01): Likewise.
1243 (cmp_struct_02_02): Likewise.
1244 (cmp_struct_02_03): Likewise.
1245 (cmp_struct_02_04): Likewise.
1246 (cmp_struct_04_01): Likewise.
1247 (cmp_struct_04_02): Likewise.
1248 (cmp_struct_04_03): Likewise.
1249 (cmp_struct_04_04): Likewise.
1250 (cmp_struct_05_01): Likewise.
1251 (cmp_struct_05_02): Likewise.
1252 (cmp_struct_05_03): Likewise.
1253 (cmp_struct_05_04): Likewise.
1254 (call_all): Add new structs.
1255 * gdb.base/infcall-nested-structs.exp: Likewise.
1256
1257 2018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
1258
1259 * gdb.python/py-framefilter-mi.exp: Update regexp to
1260 check for "arch" field in frame output.
1261
1262 2018-08-23 Kevin Buettner <kevinb@redhat.com>
1263
1264 * gdb.dwarf2/dw2-ranges-func.c: New file.
1265 * gdb.dwarf2/dw2-ranges-func.exp: New file.
1266
1267 2018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
1268
1269 * gdb.base/term.exp: Compare terminal settings with values from
1270 the inferior.
1271 * gdb.base/term.c: Get and set terminal settings.
1272
1273 2018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
1274
1275 * lib/mi-support.exp (mi_expect_stop): Update regexp to
1276 accommodate new "arch" field in frame output.
1277 * gdb.mi/mi-return.exp: Likewise.
1278 * gdb.mi/mi-stack.exp: Likewise.
1279 * gdb.mi/mi-syn-frame.exp: Likewise.
1280 * gdb.mi/user-selected-context-sync.exp: Likewise.
1281
1282 2018-08-19 Michael Spang <spang@google.com>
1283
1284 PR gdb/11786
1285 * gdb.base/gcore-tls-pie.c: New file.
1286 * gdb.base/gcore-tls-pie.exp: New file.
1287
1288 2018-08-18 Kevin Buettner <kevinb@redhat.com>
1289
1290 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
1291 * gdb.dwarf2/varval.c: New file.
1292 * gdb.dwarf2/varval.exp: New file.
1293
1294 2018-08-17 Alan Hayward <alan.hayward@arm.com>
1295
1296 PR gdb/18931
1297 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
1298
1299 2018-08-16 Keith Seitz <keiths@redhat.com>
1300
1301 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
1302 tests expected to pass.
1303
1304 2018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
1305
1306 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
1307 -data-disassemble -a.
1308 (test_disassembly_bogus_args): Likewise.
1309
1310 2018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
1311
1312 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
1313
1314 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
1315
1316 * gdb.base/vla-optimized-out.exp: Add new test.
1317
1318 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
1319
1320 * gdb.base/vla-optimized-out-o3.exp: Delete.
1321 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
1322 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
1323 deleted tests.
1324
1325 2018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
1326
1327 PR gdb/18050:
1328 * gdb.server/extended-remote-restart.c: New file.
1329 * gdb.server/extended-remote-restart.exp: New file.
1330
1331 2018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
1332
1333 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
1334 "set variable index = 42".
1335
1336 2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
1337
1338 * boards/index-cache-gdb.exp: New file.
1339 * gdb.dwarf2/index-cache.exp: New file.
1340 * gdb.dwarf2/index-cache.c: New file.
1341 * gdb.base/maint.exp: Check if we are using the index cache.
1342
1343 2018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1344
1345 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
1346 MAKEFLAGS.
1347
1348 2018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1349
1350 * dg-extract-results.sh: Move to toplevel contrib.
1351 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
1352 * Makefile.in (check-parallel-racy): Likewise.
1353
1354 2018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
1355
1356 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
1357 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
1358 tests if the target supports scheduler locking.
1359
1360 2018-08-04 Tom de Vries <tdevries@suse.de>
1361
1362 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
1363
1364 2018-08-02 Tom Tromey <tom@tromey.com>
1365
1366 PR symtab/16842.
1367 * gdb.cp/temargs.exp: Test "info address" of a template
1368 parameter.
1369
1370 2018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
1371
1372 * gdb.python/py-mi-var-info-path-expression.c: New file.
1373 * gdb.python/py-mi-var-info-path-expression.py: New file.
1374 * gdb.python/py-mi-var-info-path-expression.exp: New file.
1375
1376 2018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
1377
1378 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
1379 error after "cannot resolve name" string.
1380
1381 2018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
1382
1383 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
1384 started.
1385 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
1386
1387 2018-07-28 Tom de Vries <tdevries@suse.de>
1388
1389 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
1390
1391 2018-07-26 Tom de Vries <tdevries@suse.de>
1392
1393 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
1394
1395 2018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
1396
1397 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
1398 is visible.
1399
1400 2018-07-26 Tom de Vries <tdevries@suse.de>
1401
1402 PR breakpoints/23366
1403 * gdb.base/catch-follow-exec.c: New test.
1404 * gdb.base/catch-follow-exec.exp: New file.
1405
1406 2018-07-25 Tom de Vries <tdevries@suse.de>
1407
1408 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
1409 vla-optimized-out.c.
1410
1411 2018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
1412
1413 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
1414 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
1415
1416 2018-07-20 Tom de Vries <tdevries@suse.de>
1417
1418 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
1419 NOCLONE macro.
1420 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
1421
1422 2018-07-19 Tom de Vries <tdevries@suse.de>
1423
1424 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
1425 regular expression.
1426
1427 2018-07-18 Tom de Vries <tdevries@suse.de>
1428
1429 * gdb.base/vla-optimized-out.c: New test.
1430 * gdb.base/vla-optimized-out.exp: New file.
1431
1432 2018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
1433
1434 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
1435 message "No address associated with hostname" when gdbserver
1436 cannot resolve the hostname.
1437
1438 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1439
1440 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
1441 Add some test prefixes to make tests unique.
1442
1443 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1444
1445 * gdb.base/frameapply.c: New file.
1446 * gdb.base/frameapply.exp: New file.
1447
1448 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1449
1450 * gdb.base/skip.exp: Update expected error message.
1451
1452 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
1453 Jan Kratochvil <jan.kratochvil@redhat.com>
1454 Paul Fertser <fercerpav@gmail.com>
1455 Tsutomu Seki <sekiriki@gmail.com>
1456
1457 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
1458 parameter.
1459 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
1460 by default.
1461 * boards/native-gdbserver.exp: Likewise.
1462 * gdb.server/run-without-local-binary.exp: Improve regexp used
1463 for detecting when a remote debugging connection succeeds.
1464 * gdb.server/server-connect.exp: New file.
1465 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
1466 Do not prefix the port number with ":".
1467 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
1468 support for detecting and using it. Add '$debughost_gdbserver'
1469 to the list of arguments used to start gdbserver. Handle case
1470 when gdbserver cannot resolve a network name.
1471
1472 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
1473
1474 PR c++/23373
1475 * gdb.base/ptype-offsets.cc (struct static_member): New
1476 struct.
1477 (main) <stmember>: New variable.
1478 * gdb.base/ptype-offsets.exp: Add test for printing a struct
1479 with a static member in it.
1480
1481 2018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
1482
1483 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
1484 watchpoints enabled and disabled.
1485
1486 2018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
1487
1488 * gdb.base/examine-backward.exp: Still run tests around address
1489 0x0, even if address 0x0 is not readable. Update the pattern for
1490 matching address 0x0 in expected output.
1491
1492 2018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
1493
1494 * gdb.base/share-env-with-gdbserver.c (main): Add call to
1495 malloc/free.
1496
1497 2018-07-04 Tom de Vries <tdevries@suse.de>
1498
1499 * gdb.dwarf2/dw2-error.exp: Update expected error message.
1500
1501 2018-07-02 Maciej W. Rozycki <macro@mips.com>
1502
1503 PR tdep/8282
1504 * gdb.arch/mips-disassembler-options.exp: New test.
1505 * gdb.arch/mips-disassembler-options.s: New test source.
1506
1507 2018-06-29 Pedro Alves <palves@redhat.com>
1508
1509 * gdb.threads/names.exp: Adjust expected "info threads" output.
1510
1511 2018-06-29 Pedro Alves <palves@redhat.com>
1512
1513 * gdb.opt/inline-break.exp (line number, address): Add "info
1514 break" tests.
1515
1516 2018-06-29 Pedro Alves <palves@redhat.com>
1517
1518 * gdb.opt/inline-break.c (func1): Add "break here" marker.
1519 * gdb.opt/inline-break.exp: Test setting breakpoints by line
1520 number and address and running to them.
1521
1522 2018-06-29 Richard Bunt <richard.bunt@arm.com>
1523
1524 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
1525
1526 2018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1527
1528 * lib/compiler.c: Remove executable permission flag.
1529
1530 2018-06-28 Richard Bunt <richard.bunt@arm.com>
1531
1532 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
1533 code.
1534 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
1535
1536 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
1537
1538 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
1539
1540 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
1541
1542 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
1543 address argument is omitted.
1544
1545 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
1546
1547 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
1548
1549 2018-06-27 Omair Javaid <omair.javaid@linaro.org>
1550
1551 PR gdb/21695
1552 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
1553 * gdb.base/infoline-reloc-main-from-zero.c: New file.
1554
1555 2018-06-26 Tom Tromey <tom@tromey.com>
1556
1557 PR rust/22574:
1558 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
1559 * gdb.rust/simple.rs (struct SimpleLayout): New.
1560
1561 2018-06-22 Simon Marchi <simon.marchi@ericsson.com>
1562
1563 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
1564 "info registers" output.
1565
1566 2018-06-21 Richard Bunt <richard.bunt@arm.com>
1567
1568 * gdb.base/watchpoint-hw-attach.c: New test.
1569 * gdb.base/watchpoint-hw-attach.exp: New file.
1570
1571 2018-06-20 Simon Marchi <simon.marchi@ericsson.com>
1572
1573 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
1574 through /bin/sh.
1575 * boards/dwarf4-gdb-index.exp: Likewise.
1576 * boards/fission-dwp.exp: Likewise.
1577
1578 2018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
1579
1580 * gdb.base/float128.exp: Add comment and improved fail message
1581 to the failure case of "print large128" test.
1582
1583 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
1584
1585 * configure.ac: Remove AC_PREREQ.
1586 * configure: Re-generate.
1587
1588 2018-06-19 Pedro Alves <palves@redhat.com>
1589
1590 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
1591 (func_extern_caller): New.
1592 (main): Call func_extern_caller.
1593 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
1594 logic change.
1595
1596 2018-06-18 Weimin Pan <weimin.pan@oracle.com>
1597
1598 PR gdb/16841
1599 * gdb.cp/typedef-base.cc: New file.
1600 * gdb.cp/typedef-base.exp: New file.
1601
1602 2018-06-18 Tom de Vries <tdevries@suse.de>
1603
1604 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
1605
1606 2018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
1607 Richard Bunt <Richard.Bunt@arm.com>
1608
1609 * gdb.threads/attach-slow-waitpid.c: New file.
1610 * gdb.threads/attach-slow-waitpid.exp: New file.
1611 * gdb.threads/slow-waitpid.c: New file.
1612
1613 2018-06-14 Pedro Alves <palves@redhat.com>
1614
1615 * gdb.base/fork-running-state.c: Include <errno.h>.
1616 (exit_if_relative_exits): New.
1617 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
1618 exits.
1619 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
1620 child exits.
1621
1622 2018-06-14 Tom de Vries <tdevries@suse.de>
1623
1624 PR cli/22573
1625 * gdb.base/finish-pretty.c: New test.
1626 * gdb.base/finish-pretty.exp: New file.
1627
1628 2018-06-14 Pedro Alves <palves@redhat.com>
1629
1630 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
1631 gdb's expected startup output.
1632
1633 2018-06-14 Pedro Alves <palves@redhat.com>
1634
1635 * lib/selftest-support.exp (selftest_setup): Remove inlined
1636 function handling.
1637
1638 2018-06-14 Tom de Vries <tdevries@suse.de>
1639
1640 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
1641 matching of breakpoint printing.
1642
1643 2018-06-13 Tom de Vries <tdevries@suse.de>
1644
1645 PR testsuite/23269
1646 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
1647 (fork_child): ... here, and ...
1648 (fork_parent): ... here.
1649
1650 2018-06-12 Tom de Vries <tdevries@suse.de>
1651
1652 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
1653
1654 2018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
1655 Stephen Roberts <stephen.roberts@arm.com>
1656
1657 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
1658 rewrite test to describe action performed, rather than possible
1659 failure.
1660
1661 2018-06-08 Gary Benson <gbenson@redhat.com>
1662
1663 * gdb.threads/check-libthread-db.exp: New file.
1664 * gdb.threads/check-libthread-db.c: Likewise.
1665
1666 2018-06-05 Tom Tromey <tom@tromey.com>
1667
1668 * gdb.base/default.exp: Update expected "show version" output.
1669
1670 2018-06-05 Tom Tromey <tom@tromey.com>
1671
1672 PR cli/12326:
1673 * gdb.cp/static-print-quit.exp: Update.
1674 * lib/gdb.exp (pagination_prompt): Update.
1675 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
1676 * gdb.python/python.exp: Update.
1677
1678 2018-06-04 Joel Brobecker <brobecker@adacore.com>
1679
1680 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
1681
1682 2018-06-01 Joel Brobecker <brobecker@adacore.com>
1683
1684 * gdb.ada/bp_fun_addr: New testcase.
1685
1686 2018-06-01 Tom Tromey <tom@tromey.com>
1687
1688 * gdb.xml/tdesc-regs.exp (load_description): Update expected
1689 results.
1690 * gdb.dwarf2/method-ptr.exp: Set language to C++.
1691 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
1692 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
1693 * gdb.base/maint.exp (maint_pass_if): Update.
1694
1695 2018-05-31 Maciej W. Rozycki <macro@mips.com>
1696
1697 * gdb.base/endian.exp: New test.
1698 * gdb.base/endian.c: New test source.
1699
1700 2018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
1701
1702 PR gdb/23203
1703 * gdb.base/bt-selected-frame.c: New file.
1704 * gdb.base/bt-selected-frame.exp: New file.
1705 * lib/gdb.exp (get_current_frame_number): New function.
1706
1707 2018-05-24 Maciej W. Rozycki <macro@mips.com>
1708 Pedro Alves <palves@redhat.com>
1709
1710 * gdb.threads/tls-core.c: Include <stdlib.h>
1711 (thread_proc): Call `abort'.
1712 * gdb.threads/tls-core.exp: Generate a core with core_find too.
1713 (tls_core_test): New procedure, bits factored out from ...
1714 (top level): ... here. Test both native cores and gcore cores.
1715
1716 2018-05-23 Tom Tromey <tom@tromey.com>
1717
1718 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
1719
1720 2018-05-23 Tom Tromey <tom@tromey.com>
1721
1722 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
1723 symfile_complaints.
1724 (test_short_complaints): Likewise.
1725 (test_empty_complaints): Likewise.
1726 (test_initial_complaints): Update.
1727
1728 2018-05-23 Tom Tromey <tom@tromey.com>
1729
1730 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
1731
1732 2018-05-23 Tom Tromey <tom@tromey.com>
1733
1734 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
1735 (test_short_complaints): Update.
1736
1737 2018-05-22 Pedro Alves <palves@redhat.com>
1738
1739 * gdb.base/remote.exp: Only gdb_start after compiling the
1740 testcase. Issue "disconnect" before testing "set remote" command
1741 defaults. Issue clean_restart before running to main.
1742
1743 2018-05-22 Pedro Alves <palves@redhat.com>
1744
1745 * gdb.base/remote.exp: Adjust expected output of "show remote
1746 memory-write-packet-size". Add tests for "set remote
1747 memory-write-packet-size 0" and "set remote
1748 memory-write-packet-size fixed/limit".
1749
1750 2018-05-22 Pedro Alves <palves@redhat.com>
1751
1752 PR gdb/22973
1753 * gdb.base/utf8-identifiers.c: New file.
1754 * gdb.base/utf8-identifiers.exp: New file.
1755
1756 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
1757
1758 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
1759
1760 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
1761
1762 * gdb.arch/powerpc-vsx-gcore.exp: New file.
1763
1764 2018-05-18 Tom Tromey <tom@tromey.com>
1765
1766 * gdb.base/ptype-offsets.exp: Update.
1767
1768 2018-05-17 Keith Seitz <keiths@redhat.com>
1769
1770 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
1771 in expected breakpoint stop locations.
1772 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
1773 move to proper scope to test variable values.
1774 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
1775 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
1776 New functions.
1777 (main): Call not_inline_func3.
1778 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
1779 inline_func1, inline_func2, and inline_func3. Test that when each
1780 breakpoint is hit, GDB properly reports both the stop location
1781 and the backtrace. Repeat tests for temporary breakpoints.
1782
1783 2018-05-15 Maciej W. Rozycki <macro@mips.com>
1784
1785 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
1786 rather then trying to access it in determining whether the PID
1787 of `gdbserver' could have been retrieved.
1788
1789 2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
1790
1791 * gdb.arch/amd64-init-x87-values.S: New file.
1792 * gdb.arch/amd64-init-x87-values.exp: New file.
1793
1794 2018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1795
1796 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
1797
1798 2018-05-04 Tom Tromey <tom@tromey.com>
1799
1800 PR python/22730:
1801 * gdb.python/python.exp: Test multi-line execute.
1802
1803 2018-05-04 Tom Tromey <tom@tromey.com>
1804
1805 PR python/22731:
1806 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
1807
1808 2018-05-04 Tom Tromey <tom@tromey.com>
1809
1810 PR gdb/11750:
1811 * gdb.base/define.exp: Test defining a user command inside a user
1812 command.
1813 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
1814
1815 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1816 Pedro Alves <palves@redhat.com>
1817
1818 PR breakpoints/19806 and support for PR external/20207.
1819 * gdb.base/watchpoint-unaligned.c: New file.
1820 * gdb.base/watchpoint-unaligned.exp: New file.
1821
1822 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
1823
1824 * gdb.base/maint.exp: Make test names unique, use
1825 test_prefix_command_help to test 'help maint info', and remove
1826 repeated test of 'help maint'.
1827
1828 2018-05-04 Tom Tromey <tom@tromey.com>
1829
1830 PR gdb/22619:
1831 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
1832 behavior.
1833
1834 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
1835
1836 * gdb.base/maint.exp: Process output from 'maint print registers'
1837 line at a time.
1838
1839 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
1840
1841 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
1842 timeout.
1843
1844 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
1845
1846 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
1847 filter pattern.
1848
1849 2018-05-02 Pedro Alves <palves@redhat.com>
1850
1851 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
1852 to_log_command renames.
1853 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
1854
1855 2018-05-02 Tom Tromey <tom@tromey.com>
1856
1857 * gdb.python/py-parameter.exp: Set test message.
1858
1859 2018-05-02 Tom Tromey <tom@tromey.com>
1860
1861 PR python/20084:
1862 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
1863 PARAM_ZUINTEGER_UNLIMITED tests.
1864
1865 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
1866
1867 PR rust/23124
1868 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
1869 when casting.
1870
1871 2018-04-30 Tom Tromey <tom@tromey.com>
1872
1873 * gdb.python/py-type.exp: Check align attribute.
1874 * gdb.python/py-type.c: New "aligncheck" global.
1875
1876 2018-04-30 Tom Tromey <tom@tromey.com>
1877
1878 PR exp/17095:
1879 * gdb.dwarf2/dw2-align.exp: New file.
1880 * gdb.cp/align.exp: New file.
1881 * gdb.base/align.exp: New file.
1882 * lib/gdb.exp (gdb_int128_helper): New proc.
1883 (has_int128_c, has_int128_cxx): New caching procs.
1884
1885 2018-04-27 Tom Tromey <tom@tromey.com>
1886
1887 PR rust/22545:
1888 * gdb.rust/simple.exp: Add inclusive range tests.
1889
1890 2018-04-26 Pedro Alves <palves@redhat.com>
1891
1892 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
1893 ifunc breakpoint locations correctly of ifunc breakpoints set
1894 while the program resolves the ifunc.
1895
1896 2018-04-26 Pedro Alves <palves@redhat.com>
1897
1898 * gdb.base/gnu-ifunc-final.c: New file.
1899 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
1900 * gdb.base/gnu-ifunc.exp (executable): Delete.
1901 (staticexecutable): Adjust.
1902 (lib_opts, exec_opts): Delete.
1903 (make_binsuffix, build, set-break): New procedures.
1904 (misc_tests): New, with tests factored out from the top level.
1905 (top level): Test different combinations of ifunc resolver name,
1906 resolver with and with debug info, and ifunc target with and
1907 without debug info. Wrap static tests with with_target_prefix.
1908
1909 2018-04-26 Pedro Alves <palves@redhat.com>
1910
1911 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
1912 return type" warnings.
1913
1914 2018-04-25 Pedro Alves <palves@redhat.com>
1915
1916 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
1917 killed".
1918 * gdb.base/kill-after-signal.exp: Likewise.
1919 * gdb.threads/kill.exp: Likewise.
1920
1921 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1922 Sergio Durigan Junior <sergiodj@redhat.com>
1923 Pedro Alves <palves@redhat.com>
1924
1925 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
1926 regexps to expect for '[Inferior ... detached]' as well.
1927 * gdb.base/attach.exp: Likewise.
1928 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
1929 "gdb_continue_to_end".
1930 (test_catch_syscall_with_wrong_args): Likewise.
1931 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
1932 ']'. Don't set 'verbose' on.
1933 * gdb.base/foll-vfork.exp: Likewise.
1934 * gdb.base/fork-print-inferior-events.c: New file.
1935 * gdb.base/fork-print-inferior-events.exp: New file.
1936 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
1937 '[Inferior ... has been killed]' message.
1938 * gdb.base/kill-after-signal.exp: Likewise.
1939 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
1940 detach message.
1941 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
1942 message.
1943 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
1944 regexps to expect for '[Inferior ... detached]' as well.
1945 * gdb.threads/process-dies-while-detaching.exp: Likewise.
1946
1947 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
1948
1949 PR gdb/23104
1950 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
1951
1952 2018-04-19 Richard Bunt <richard.bunt@arm.com>
1953
1954 * gdb.threads/multiple-successive-infcall.c: New test.
1955 * gdb.threads/multiple-successive-infcall.exp: New file.
1956
1957 2018-04-17 Tom Tromey <tom@tromey.com>
1958
1959 * gdb.rust/simple.rs (Union): New type.
1960 (main): New local "u".
1961 * gdb.rust/simple.exp (test_one_slice): Add new test case.
1962
1963 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
1964
1965 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
1966 number information in output of "whereis" command.
1967 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
1968
1969 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1970
1971 * gdb.ada/info_types.exp: Adjust expected output to the line
1972 numbers now printed by "info var/func/type".
1973 * gdb.base/completion.exp: Likewise.
1974 * gdb.base/included.exp: Likewise.
1975 * gdb.cp/cp-relocate.exp: Likewise.
1976 * gdb.cp/cplusfuncs.exp: Likewise.
1977 * gdb.cp/namespace.exp: Likewise.
1978 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
1979
1980 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
1981
1982 * gdb.btrace/cpu.exp: New.
1983
1984 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
1985
1986 * gdb.base/step-indirect-call-thunk.exp: New.
1987 * gdb.base/step-indirect-call-thunk.c: New.
1988 * gdb.reverse/step-indirect-call-thunk.exp: New.
1989 * gdb.reverse/step-indirect-call-thunk.c: New.
1990
1991 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
1992
1993 * gdb.base/pie-fork.c: New file.
1994 * gdb.base/pie-fork.exp: New file.
1995
1996 2018-04-11 Tom Tromey <tom@tromey.com>
1997
1998 * gdb.rust/simple.exp: Add test for ".." struct initializer.
1999
2000 2018-04-10 Pedro Alves <palves@redhat.com>
2001
2002 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
2003 exits. Instead loop running forever.
2004 (fork_parent): Run forever too.
2005
2006 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
2007
2008 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
2009 mi_continue_to_line.
2010 * gdb.mi/mi-stack.c (callee4): Add comment.
2011
2012 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
2013
2014 * gdb.mi/mi-stack.exp: Fix indentation.
2015
2016 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
2017
2018 PR gdb/22979
2019 * gdb.arch/amd64-osabi.exp: New file.
2020
2021 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
2022
2023 PR gdb/22980
2024 * gdb.base/osabi.exp: New file.
2025
2026 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
2027
2028 * gdb.cp/static-typedef-print.exp: New file.
2029 * gdb.cp/static-typedef-print.cc: New file.
2030
2031 2018-03-27 Joel Brobecker <brobecker@adacore.com>
2032
2033 * gdb.ada/varsize_limit: New testcase.
2034
2035 2018-03-27 Joel Brobecker <brobecker@adacore.com>
2036
2037 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
2038
2039 * gdb.ada/notcplusplus: New testcase.
2040
2041 * gdb.base/c-linkage-name.c: New file.
2042 * gdb.base/c-linkage-name.exp: New testcase.
2043
2044 2018-03-26 Tom Tromey <tom@tromey.com>
2045
2046 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
2047 * gdb.python/py-framefilter.py (name_error): New global.
2048 (ErrorInName.function): Use name_error.
2049
2050 2018-03-26 Tom Tromey <tom@tromey.com>
2051
2052 PR backtrace/15582:
2053 * gdb.python/py-framefilter.exp: Add "bt hide" test.
2054
2055 2018-03-23 Keith Seitz <keiths@redhat.com>
2056
2057 PR c++/22968
2058 * gdb.cp/subtypes.exp: New file.
2059 * gdb.cp/subtypes.h: New file.
2060 * gdb.cp/subtypes.cc: New file.
2061 * gdb.cp/subtypes-2.cc: New file.
2062
2063 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
2064
2065 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
2066 (done): Call '_exit' not 'exit' to avoid atexit handlers.
2067 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
2068 -nostartfiles when compiling the test. Confirm that all registers
2069 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
2070
2071 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
2072
2073 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
2074 option, syntax was wrong anyway.
2075 * gdb.arch/arm-disp-step.exp: Likewise.
2076 * gdb.arch/sparc64-regs.exp: Likewise.
2077 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
2078 option, syntax was wrong anyway, switch to use
2079 prepare_for_testing.
2080 * gdb.arch/i386-disp-step.exp: Likewise.
2081
2082 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
2083
2084 * gdb.ada/exec_changed.exp: Replace "target_info exists
2085 use_gdb_stub" by "use_gdb_stub".
2086 * gdb.ada/start.exp: Likewise.
2087 * gdb.base/async-shell.exp: Likewise.
2088 * gdb.base/attach-pie-misread.exp: Likewise.
2089 * gdb.base/attach-wait-input.exp: Likewise.
2090 * gdb.base/break-entry.exp: Likewise.
2091 * gdb.base/break-interp.exp: Likewise.
2092 * gdb.base/dprintf-detach.exp: Likewise.
2093 * gdb.base/nostdlib.exp: Likewise.
2094 * gdb.base/solib-nodir.exp: Likewise.
2095 * gdb.base/statistics.exp: Likewise.
2096 * gdb.base/testenv.exp: Likewise.
2097 * gdb.mi/mi-exec-run.exp: Likewise.
2098 * gdb.mi/mi-start.exp: Likewise.
2099 * gdb.multi/dummy-frame-restore.exp: Likewise.
2100 * gdb.multi/multi-arch-exec.exp: Likewise.
2101 * gdb.multi/multi-arch.exp: Likewise.
2102 * gdb.multi/tids.exp: Likewise.
2103 * gdb.multi/watchpoint-multi.exp: Likewise.
2104 * gdb.python/py-events.exp: Likewise.
2105 * gdb.threads/attach-into-signal.exp: Likewise.
2106 * gdb.threads/attach-stopped.exp: Likewise.
2107 * gdb.threads/threadapply.exp: Likewise.
2108 * lib/selftest-support.exp: Likewise.
2109
2110 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
2111
2112 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
2113
2114 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
2115
2116 * gdb.perf/template-breakpoints.cc: New file.
2117 * gdb.perf/template-breakpoints.exp: New file.
2118 * gdb.perf/template-breakpoints.py: New file.
2119
2120 2018-03-19 Tom Tromey <tom@tromey.com>
2121
2122 * gdb.rust/simple.rs (main): Add local variables field1, field2,
2123 y0.
2124 * gdb.rust/simple.exp: Test bare identifier form of struct
2125 initializer.
2126
2127 2018-03-19 Tom Tromey <tom@tromey.com>
2128
2129 * gdb.gdb/observer.exp: Remove.
2130
2131 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
2132
2133 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
2134 "qualified" option when setting breakpoints.
2135 * gdb.trace/backtrace.exp: Likewise.
2136 * gdb.trace/circ.exp: Likewise.
2137 * gdb.trace/collection.exp: Likewise.
2138 * gdb.trace/disconnected-tracing.exp: Likewise.
2139 * gdb.trace/ftrace-lock.exp: Likewise.
2140 * gdb.trace/ftrace.exp: Likewise.
2141 * gdb.trace/infotrace.exp: Likewise.
2142 * gdb.trace/packetlen.exp: Likewise.
2143 * gdb.trace/passc-dyn.exp: Likewise.
2144 * gdb.trace/qtro.exp: Likewise.
2145 * gdb.trace/read-memory.exp: Likewise.
2146 * gdb.trace/report.exp: Likewise.
2147 * gdb.trace/signal.exp: Likewise.
2148 * gdb.trace/status-stop.exp: Likewise.
2149 * gdb.trace/strace.exp: Likewise.
2150 * gdb.trace/tfind.exp: Likewise.
2151 * gdb.trace/trace-break.exp: Likewise.
2152 * gdb.trace/trace-condition.exp: Likewise.
2153 * gdb.trace/trace-mt.exp: Likewise.
2154 * gdb.trace/tstatus.exp: Likewise.
2155 * gdb.trace/tsv.exp: Likewise.
2156 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
2157 * gdb.trace/unavailable.exp: Likewise.
2158 * gdb.trace/while-dyn.exp: Likewise.
2159
2160 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2161
2162 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
2163 that libinproctrace is copied to the target.
2164
2165 2018-03-14 Tom Tromey <tom@tromey.com>
2166
2167 PR cli/14977:
2168 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
2169 a null pointer.
2170 * gdb.base/wchar.exp: Likewise.
2171
2172 2018-03-14 Tom Tromey <tom@tromey.com>
2173
2174 PR cli/19918:
2175 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
2176 flag.
2177
2178 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
2179
2180 PR gdb/22841
2181 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
2182 "target" to remote_exec.
2183
2184 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
2185
2186 PR gdb/22841
2187 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
2188 ${board}_upload): Remove.
2189
2190 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2191
2192 * gdb.cp/watch-cp.cc: New test.
2193 * gdb.cp/watch-cp.exp: New file.
2194
2195 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2196
2197 * gdb.base/infcall-nested-structs.exp: New file.
2198 * gdb.base/infcall-nested-structs.c: New file.
2199 * gdb.base/float.exp: Add riscv support.
2200
2201 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
2202
2203 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
2204 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
2205
2206 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
2207
2208 * gdb.server/abspath.exp: New file.
2209 * lib/gdb.exp (with_cwd): New procedure.
2210
2211 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
2212
2213 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
2214 use it.
2215 (gdb_is_target_remote_prompt): New proc.
2216 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
2217 (gdb_is_target_native): Pass prompt parameter to
2218 gdb_is_target_1.
2219
2220 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
2221
2222 * gdb.base/load-command.c: New file.
2223 * gdb.base/load-command.exp: New file.
2224 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
2225 (gdb_is_target_1): ...this, and generalize for other targets
2226 than just remote.
2227 (gdb_is_target_remote): Use gdb_is_target_1.
2228 (gdb_is_target_native): use gdb_is_target_1.
2229
2230 2018-02-26 Tom Tromey <tom@tromey.com>
2231
2232 PR python/16497:
2233 * gdb.python/py-framefilter.exp: Update test.
2234
2235 2018-02-26 Tom Tromey <tom@tromey.com>
2236
2237 * gdb.dwarf2/variant.c: New file.
2238 * gdb.dwarf2/variant.exp: New file.
2239
2240 2018-02-26 Tom Tromey <tom@tromey.com>
2241
2242 * gdb.rust/simple.exp: Accept more possible results in enum test.
2243
2244 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
2245
2246 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
2247 parentheses.
2248
2249 2018-02-23 Maciej W. Rozycki <macro@mips.com>
2250
2251 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
2252 name of a variable: $actual_linejj -> $actual_line.
2253
2254 2018-02-21 John Baldwin <jhb@FreeBSD.org>
2255
2256 * gdb.arch/amd64-i386-address.exp: Fix a typo.
2257
2258 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
2259
2260 * gdb.btrace/buffer-size.exp: Do not force BTS.
2261
2262 2018-02-14 Pedro Alves <palves@redhat.com>
2263
2264 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
2265 getting a "Quit".
2266
2267 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
2268
2269 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
2270 Fix test name.
2271
2272 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
2273
2274 * gdb.cp/m-static.exp: Check type of optimized out static
2275 member.
2276
2277 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
2278
2279 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
2280 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
2281
2282 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
2283 Leszek Swirski <leszeks@google.com>
2284
2285 * gdb.python/py-prettyprint.c
2286 (struct to_string_returns_value_inner,
2287 struct to_string_returns_value_wrapper): New.
2288 (main): Add tsrvw variable.
2289 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
2290 ToStringReturnsValueWrapper): New classes.
2291 (register_pretty_printers): Register new pretty-printers.
2292 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
2293 recursive pretty printer.
2294 * gdb.python/py-mi.exp: Likewise.
2295
2296 2018-02-01 Leszek Swirski <leszeks@google.com>
2297
2298 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
2299 functions with the same name as an include file are parsed
2300 correctly.
2301
2302 2018-02-01 Yao Qi <yao.qi@linaro.org>
2303
2304 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
2305 "\[^\r\n\]*".
2306
2307 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
2308
2309 * gdb.arch/powerpc-prologue-frame.s: New file.
2310 * gdb.arch/powerpc-prologue-frame.c: Likewise.
2311 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
2312
2313 2018-01-31 Joel Brobecker <brobecker@adacore.com>
2314
2315 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
2316
2317 2018-01-30 Pedro Alves <palves@redhat.com>
2318
2319 PR gdb/13211
2320 * gdb.base/interrupt-daemon.c: New.
2321 * gdb.base/interrupt-daemon.exp: New.
2322 * gdb.multi/multi-term-settings.c: New.
2323 * gdb.multi/multi-term-settings.exp: New.
2324
2325 2018-01-30 Joel Brobecker <brobecker@adacore.com>
2326
2327 * gdb.base/break.exp: Save the location where the breakpoint
2328 on break.c:47 was actually inserted when debugging the version
2329 compiled at -O2 and use it in the expected output of the "info
2330 break" test performed soon after.
2331
2332 2018-01-22 Pedro Alves <palves@redhat.com>
2333 Sergio Durigan Junior <sergiodj@redhat.com>
2334
2335 * gdb.base/whatis.exp: Add tests for 'set print object on' +
2336 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
2337
2338 2018-01-22 Joel Brobecker <brobecker@adacore.com>
2339
2340 * gdb.base/break-include.c, gdb.base/break-include.inc,
2341 gdb.base/break-include.exp: New files.
2342 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
2343 line number now being the actual line number where the breakpoint
2344 was inserted.
2345 * gdb.mi/mi-break.exp: Likewise.
2346 * gdb.mi/mi-reverse.exp: Likewise.
2347 * gdb.mi/mi-simplerun.exp: Ditto.
2348
2349 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
2350
2351 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
2352 varobj.
2353 * gdb.mi/mi-var-create-rtti.exp: Likewise.
2354
2355 2018-01-21 Don Breazeal <donb@codesourcery.com>
2356 Andrew Burgess <andrew.burgess@embecosm.com>
2357
2358 * gdb.mi/basics.c: Add new global.
2359 * gdb.mi/mi-frame-regs.exp: New file.
2360 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
2361 case.
2362
2363 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
2364
2365 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
2366 non-parameter, and on an unknown symbol.
2367
2368 2018-01-19 Tom Tromey <tom@tromey.com>
2369
2370 * gdb.rust/modules.rs (TWENTY_THREE): New global.
2371 * gdb.rust/modules.exp: Add ::-qualified lookup test.
2372
2373 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
2374
2375 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
2376 setrlimit and chdir to int.
2377
2378 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
2379
2380 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
2381 function.
2382 (my_tend): Likewise.
2383 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
2384 rationale of avoiding FP- and vector instructions.
2385
2386 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
2387
2388 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
2389 "info reg" with "\[ \t\]*".
2390 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
2391 "\[ \t\]+".
2392 * gdb.arch/s390-multiarch.exp: Ditto.
2393 * gdb.base/pc-fp.exp: Ditto.
2394 * gdb.reverse/i386-precsave.exp: Ditto.
2395 * gdb.reverse/i386-reverse.exp: Ditto.
2396 * gdb.reverse/i387-env-reverse.exp: Ditto.
2397 * gdb.reverse/i387-stack-reverse.exp: Ditto.
2398
2399 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
2400
2401 * lib/gdb.exp (gdb_compile): Re-enable use of
2402 universal_compile_options for languages other than Rust.
2403
2404 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
2405
2406 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
2407
2408 2018-01-17 Mike Gulick <mgulick@mathworks.com>
2409
2410 PR gdb/16577
2411 * gdb.base/solib-vanish.exp: New.
2412 * gdb.base/solib-vanish-main.c: New.
2413 * gdb.base/solib-vanish-lib1.c: New.
2414 * gdb.base/solib-vanish-lib2.c: New.
2415
2416 2018-01-17 Yao Qi <yao.qi@linaro.org>
2417
2418 * gdb.compile/compile.exp: Match the address printed for
2419 frame in the output of command "bt".
2420
2421 2018-01-15 Tom Tromey <tom@tromey.com>
2422
2423 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
2424 compute sp_reg.
2425
2426 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
2427
2428 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
2429 to prepare.
2430 (prepare): Return 0 on error, 1 on success.
2431
2432 2018-01-12 Pedro Alves <palves@redhat.com>
2433
2434 * gdb.base/continue-after-aborted-step-over.c: New.
2435 * gdb.base/continue-after-aborted-step-over.exp: New.
2436
2437 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
2438
2439 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
2440 options when not creating an executable.
2441
2442 2018-01-11 Pedro Alves <palves@redhat.com>
2443
2444 PR remote/22597
2445 * gdb.server/stop-reply-no-thread.c: New file.
2446 * gdb.server/stop-reply-no-thread.exp: New file.
2447
2448 2018-01-10 Pedro Alves <palves@redhat.com>
2449
2450 PR gdb/22670
2451 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
2452 functions too. Test setting breakpoints and printing C functions
2453 with no debug info too.
2454 * gdb.ada/bp_c_mixed_case/qux.c: New file.
2455
2456 2018-01-10 Pedro Alves <palves@redhat.com>
2457
2458 PR gdb/22670
2459 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
2460 a fail.
2461
2462 2018-01-10 Pedro Alves <palves@redhat.com>
2463
2464 PR gdb/22670
2465 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
2466
2467 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
2468
2469 * gdb.server/unittest.exp: Match the output in non-development
2470 mode.
2471
2472 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
2473
2474 * gdb.gdb/unittest.exp: Match output in non-development mode.
2475
2476 2018-01-08 Joel Brobecker <brobecker@adacore.com>
2477
2478 * gdb.ada/access_tagged_param.exp: Relax expected output
2479 for value of "ObjL" in "continue" to pck.inspect breakpoint
2480 test.
2481
2482 2018-01-08 Joel Brobecker <brobecker@adacore.com>
2483
2484 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
2485 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
2486
2487 2018-01-05 Pedro Alves <palves@redhat.com>
2488
2489 PR gdb/18653
2490 * gdb.base/libsegfault.exp: New.
2491
2492 2018-01-05 Joel Brobecker <brobecker@adacore.com>
2493
2494 PR gdb/22670
2495 * gdb.ada/access_tagged_param.exp: New file.
2496 * gdb.ada/access_tagged_param/foo.adb: New file.
2497
2498 2018-01-05 Pedro Alves <palves@redhat.com>
2499
2500 PR gdb/22670
2501 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
2502 exercise lower case too, and to exercise both full matching and
2503 wild matching.
2504
2505 2018-01-05 Joel Brobecker <brobecker@adacore.com>
2506
2507 * gdb.ada/rename_subscript_param: New testcase.
2508
2509 2018-01-05 Jerome Guitton <guitton@adacore.com>
2510
2511 * gdb.ada/arr_acc_idx_w_gap: New testcase.
2512
2513 2018-01-05 Joel Brobecker <brobecker@adacore.com>
2514
2515 * gdb.ada/convvar_comp: New testcase.
2516
2517 2018-01-05 Xavier Roirand <roirand@adacore.com>
2518
2519 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
2520 (My_Table): New global variable.
2521 * testsuite/gdb.ada/array_char_idx.exp: Add test.
2522
2523 2018-01-04 Joel Brobecker <brobecker@adacore.com>
2524
2525 PR gdb/22670
2526 * gdb.ada/maint_with_ada: New testcase.
2527
2528 2018-01-04 Joel Brobecker <brobecker@adacore.com>
2529
2530 PR gdb/22670
2531 * gdb.ada/bp_c_mixed_case: New testcase.
2532
2533 2018-01-04 Joel Brobecker <brobecker@adacore.com>
2534
2535 PR gdb/22670
2536 * gdb.ada/complete.exp: Add "complete break ada" test.
2537
2538 2018-01-04 Joel Brobecker <brobecker@adacore.com>
2539
2540 PR gdb/22670
2541 * gdb.ada/info_addr_mixed_case: New testcase.
2542
2543 2018-01-03 Xavier Roirand <roirand@adacore.com>
2544
2545 * gdb.ada/excep_handle.exp: New testcase.
2546 * gdb.ada/excep_handle/foo.adb: New file.
2547 * gdb.ada/excep_handle/pck.ads: New file.
2548
2549 2018-01-03 Joel Brobecker <brobecker@adacore.com>
2550
2551 * gdb.base/step-line.c: Add extra empty line in copyright header.
2552 * gdb.base/step-line.inp: Likewise.
2553
2554 2018-01-02 Joel Brobecker <brobecker@adacore.com>
2555
2556 * gdb.ada/dyn_stride.exp: Add slice test.
2557
2558 2018-01-02 Joel Brobecker <brobecker@adacore.com>
2559
2560 * gdb.ada/dyn_stride: New testcase.
2561
2562 2017-12-27 Stafford Horne <shorne@gmail.com>
2563
2564 * gdb.xml/extra-regs.xml: Add example foo reggroup.
2565 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
2566
2567 2017-12-27 Stafford Horne <shorne@gmail.com>
2568
2569 * gdb.base/reggroups.c: New file.
2570 * gdb.base/reggroups.exp: New file.
2571
2572 2017-12-18 Joel Brobecker <brobecker@adacore.com>
2573
2574 * gdb.dwarf2/ada-valprint-error.c: New file.
2575 * gdb.dwarf2/ada-valprint-error.exp: New file.
2576
2577 2017-12-18 Joel Brobecker <brobecker@adacore.com>
2578
2579 * gdb.ada/assign_arr: New testcase.
2580
2581 2017-12-18 Xavier Roirand <roirand@adacore.com>
2582
2583 * gdb.ada/funcall_ptr: New testcase.
2584
2585 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
2586
2587 PR cli/16224
2588 * gdb.base/ptype-offsets.cc: New file.
2589 * gdb.base/ptype-offsets.exp: New file.
2590
2591 2017-12-15 Yao Qi <yao.qi@linaro.org>
2592
2593 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
2594 if XML is disabled.
2595
2596 2017-12-15 Xavier Roirand <roirand@adacore.com>
2597
2598 * gdb.ada/same_component_name: New testcase.
2599
2600 2017-12-14 Joel Brobecker <brobecker@adacore.com>
2601
2602 * gdb.ada/str_binop_equal: New testcase.
2603
2604 2017-12-14 Joel Brobecker <brobecker@adacore.com>
2605
2606 * gdb.ada/task_switch_in_core: New testcase.
2607
2608 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
2609
2610 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
2611 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
2612 call test_bkpt_qualified.
2613 (test_bkpt_qualified): New proc.
2614
2615 2017-12-13 Pedro Alves <palves@redhat.com>
2616
2617 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
2618 Tighten regexp by matching with an anchor.
2619
2620 2017-12-13 Pedro Alves <palves@redhat.com>
2621
2622 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
2623 ("expression with namespace"): New set of tests.
2624 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
2625 (Nested::Test_NS::qux): New.
2626 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
2627 defaults to 'start_quote_char' and 'end_quote_char' parameters.
2628
2629 2017-12-13 Joel Brobecker <brobecker@adacore.com>
2630
2631 * gdb.base/server-del-break.c: New file.
2632 * gdb.base/server-del-break.exp: New file.
2633
2634 2017-12-12 Stafford Horne <shorne@gmail.com>
2635
2636 * gdb.xml/tdesc-regs.exp: Add or1k support.
2637
2638 2017-12-12 Stafford Horne <shorne@gmail.com>
2639
2640 * gdb.base/bp-permanent.c: Define nop of or1k.
2641
2642 2017-12-11 Joel Brobecker <brobecker@adacore.com>
2643
2644 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
2645 output with components being reordered.
2646
2647 2017-12-11 Joel Brobecker <brobecker@adacore.com>
2648
2649 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
2650 output with components being reordered.
2651
2652 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2653 Pedro Alves <palves@redhat.com>
2654
2655 * gdb.base/maint.exp (check for .gdb_index): Check also for
2656 .debug_names.
2657 * gdb.dlang/watch-loc.c (.debug_aranges): New.
2658 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
2659 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
2660 (.gdb_index used after symbol reloading): Support also .debug_names.
2661 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
2662
2663 2017-12-08 Yao Qi <yao.qi@linaro.org>
2664
2665 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
2666 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
2667
2668 2017-12-08 Yao Qi <yao.qi@linaro.org>
2669
2670 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
2671 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
2672
2673 2017-12-08 Yao Qi <yao.qi@linaro.org>
2674
2675 * gdb.arch/aarch64-tagged-pointer.c: New file.
2676 * gdb.arch/aarch64-tagged-pointer.exp: New file.
2677
2678 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
2679
2680 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
2681 "int".
2682
2683 2017-12-07 Keith Seitz <keiths@redhat.com>
2684
2685 PR breakpoints/22569
2686 * gdb.linespec/ls-errs.exp: Change expected result of "break
2687 -source this file has spaces.c -line 3".
2688 Check that an explicit source file followed by whitespace is
2689 identified as an invalid explicit location.
2690
2691 2017-12-07 Keith Seitz <keiths@redhat.com>
2692
2693 * gdb.cp/nested-types.cc: New file.
2694 * gdb.cp/nested-types.exp: New file.
2695 * lib/cp-support.exp: Load data-structures.exp library.
2696 (debug_cp_test_ptype_class): New global.
2697 (cp_ptype_class_verbose, next_line): New procedures.
2698 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
2699 Add and document new return value.
2700 Switch the list of lines to a queue.
2701 Add support for new `type' key for nested type definitions.
2702 Add debugging/troubleshooting messages.
2703 * lib/data-structures.exp: New file.
2704
2705 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
2706
2707 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
2708 with proc_with_prefix, don't use with_test_prefix.
2709
2710 2017-12-07 Tom Tromey <tom@tromey.com>
2711
2712 * gdb.base/break.exp: Add test for empty "commands".
2713
2714 2017-12-07 Yao Qi <yao.qi@linaro.org>
2715
2716 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
2717 malloc and catch syscall.
2718
2719 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
2720
2721 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
2722 tests for explicit locations.
2723
2724 2017-12-06 Pedro Alves <palves@redhat.com>
2725
2726 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
2727 force-disabling XML descriptions.
2728
2729 2017-12-04 Pedro Alves <palves@redhat.com>
2730
2731 PR gdb/22499
2732 * gdb.arch/amd64-disp-step-avx.S: New file.
2733 * gdb.arch/amd64-disp-step-avx.exp: New file.
2734
2735 2017-12-03 Pedro Alves <palves@redhat.com>
2736
2737 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
2738 and <string.h>.
2739 (parent_function): Print distinct messages when waitpid fails, or
2740 the child exits with a signal, or the child exits for an unhandled
2741 reason.
2742 * gdb.threads/process-dies-while-detaching.exp
2743 (detach_and_expect_exit): New 'inf_output_re' parameter and use
2744 it. Wait for both inferior output and GDB's prompt. Use an
2745 indirect spawn id list.
2746 (do_detach): New parameter 'child_exit'. Use it to compute
2747 expected inferior output.
2748 (test_detach, test_detach_watch, test_detach_killed_outside):
2749 Adjust to pass down the expected child exit kind.
2750
2751 2017-12-01 Joel Brobecker <brobecker@adacore.com>
2752 Sergio Durigan Junior <sergiodj@redhat.com>
2753 Pedro Alves <palves@redhat.com>
2754
2755 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
2756
2757 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
2758
2759 * gdb.base/relocate.exp: Add tests to guarantee that arguments
2760 to 'symbol-file' and 'add-symbol-file' can be
2761 position-independent.
2762
2763 2017-12-01 Yao Qi <yao.qi@linaro.org>
2764
2765 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
2766 the URL in copyright header.
2767 * gdb.arch/aarch64-fp.exp: Likewise.
2768 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
2769 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
2770 * gdb.base/expand-psymtabs.exp: Likewise.
2771 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
2772 * gdb.fortran/common-block.exp: Likewise.
2773 * gdb.fortran/common-block.f90: Likewise.
2774 * gdb.fortran/logical.exp: Likewise.
2775 * gdb.fortran/vla-datatypes.f90: Likewise.
2776 * gdb.fortran/vla-sub.f90: Likewise.
2777
2778 2017-11-30 Joel Brobecker <brobecker@adacore.com>
2779
2780 * gdb.ada/repeat_dyn: New testcase.
2781
2782 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
2783
2784 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
2785 Update for changed thread numbering.
2786 * gdb.cell/bt.exp: Update for changed GDB output.
2787
2788 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
2789
2790 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
2791 setting isremote by hand.
2792 * boards/dwarf4-gdb-index.exp: Likewise.
2793 * boards/fission.exp: Likewise.
2794 * boards/stabs.exp: Likewise.
2795
2796 2017-11-30 Pedro Alves <palves@redhat.com>
2797
2798 * gdb.linespec/cpls-ops.exp
2799 (check_explicit_skips_function_argument): Extract the underlying
2800 type of size_t instead of hardcoding it.
2801
2802 2017-11-29 Pedro Alves <palves@redhat.com>
2803
2804 PR c++/19436
2805 * gdb.linespec/cpls-abi-tag.cc: New file.
2806 * gdb.linespec/cpls-abi-tag.exp: New file.
2807
2808 2017-11-29 Pedro Alves <palves@redhat.com>
2809
2810 * gdb.base/langs.exp: Use -qualified.
2811 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
2812 it.
2813 * gdb.cp/namespace.exp: Use -qualified.
2814 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
2815 (overload-3, template-overload, template-ret-type, const-overload)
2816 (const-overload-quoted, anon-ns, ambiguous-prefix): New
2817 procedures.
2818 (test_driver): Call them.
2819 * gdb.cp/save-bp-qualified.cc: New.
2820 * gdb.cp/save-bp-qualified.exp: New.
2821 * gdb.linespec/explicit.exp: Test -qualified.
2822 * lib/completion-support.exp (completion::explicit_opts_list): Add
2823 "-qualified".
2824 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
2825
2826 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
2827
2828 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
2829
2830 2017-11-29 Tom Tromey <tom@tromey.com>
2831
2832 * gdb.base/relocate.exp: Update invalid argument test.
2833 Add new tests for invalid arguments.
2834
2835 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
2836
2837 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
2838 Return 0 as a long.
2839 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
2840
2841 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
2842
2843 * gdb.cp/breakpoint.cc (bar): Set return type to void.
2844 * gdb.cp/psymtab-parameter.cc (func): Likewise.
2845 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
2846 func ().
2847 * gdb.cp/shadow.cc (B.func): Return 0.
2848
2849 2017-11-27 Joel Brobecker <brobecker@adacore.com>
2850
2851 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
2852 expected output in gdb_expect call to allow the exception
2853 message to be present as well. Fix syntax confusion to avoid
2854 TCL thinking that exception_name is an array.
2855
2856 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
2857
2858 * gdb.arch/spu-info.c: Include <unistd.h>.
2859 (do_signal_test): Fix broken calls to write.
2860 * gdb.arch/spu-info.exp: Use prepare_for_testing.
2861 Fix checks for empty mailboxes. Update signal tests for corrected
2862 do_signal_test routine. Allow nonzero event status.
2863 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
2864 * gdb.cell/arch.exp: Use standard_output_file.
2865 * gdb.cell/break.exp: Likewise.
2866 * gdb.cell/bt.exp: Likewise.
2867 * gdb.cell/core.exp: Likewise.
2868 * gdb.cell/dwarfaddr.exp: Likewise.
2869 * gdb.cell/ea-cache.exp: Likewise.
2870 * gdb.cell/ea-standalone.exp: Likewise.
2871 * gdb.cell/f-regs.exp: Likewise.
2872 * gdb.cell/fork.exp: Likewise.
2873 * gdb.cell/gcore.exp: Likewise.
2874 * gdb.cell/mem-access.exp: Likewise.
2875 * gdb.cell/ptype.exp: Likewise.
2876 * gdb.cell/registers.exp: Likewise.
2877 * gdb.cell/sizeof.exp: Likewise.
2878 * gdb.cell/solib-symbol.exp: Likewise.
2879 * gdb.cell/solib.exp: Likewise.
2880
2881 2017-11-25 Pedro Alves <palves@redhat.com>
2882
2883 * gdb.base/complete-empty.exp: New file.
2884 * gdb.base/completion.exp: Adjust.
2885
2886 2017-11-25 Pedro Alves <palves@redhat.com>
2887
2888 * gdb.linespec/cpls-ops.cc: New file.
2889 * gdb.linespec/cpls-ops.exp: New file.
2890 * lib/completion-support.exp (test_complete_prefix_range_re): New,
2891 factored out from ...
2892 (test_complete_prefix_range): ... this.
2893
2894 2017-11-24 Pedro Alves <palves@redhat.com>
2895
2896 * gdb.linespec/cpcompletion.exp: New file.
2897 * gdb.linespec/cpls-hyphen.cc: New file.
2898 * gdb.linespec/cpls.cc: New file.
2899 * gdb.linespec/cpls2.cc: New file.
2900 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
2901 test to use test_gdb_complete_unique. Add label completion,
2902 keyword completion and explicit location completion tests.
2903 * lib/completion-support.exp: New file.
2904
2905 2017-11-24 Joel Brobecker <brobecker@adacore.com>
2906
2907 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
2908 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
2909 when hitting an exception catchpoint.
2910
2911 2017-11-22 Yao Qi <yao.qi@linaro.org>
2912
2913 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
2914
2915 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
2916
2917 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
2918 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
2919 * gdb.dwarf2/info-locals-optimized-out.c: New file.
2920
2921 2017-11-22 Yao Qi <yao.qi@linaro.org>
2922
2923 * gdb.base/info-os.exp: Pass pthreads.
2924 * gdb.multi/multi-attach.exp: Likewise.
2925
2926 2017-11-22 Yao Qi <yao.qi@linaro.org>
2927
2928 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
2929 compiler.
2930
2931 2017-11-22 Yao Qi <yao.qi@linaro.org>
2932
2933 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
2934 * gdb.base/break-interp.exp: Likewise.
2935 * gdb.base/jit-attach-pie.exp: Likewise.
2936
2937 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
2938
2939 * gdb.base/float128.c (large128): New variable.
2940 * gdb.base/float128.exp: Add test to print largest __float128 value.
2941
2942 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
2943
2944 * gdb.arch/vsx-regs.exp: Update register content checks.
2945
2946 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
2947
2948 * gdb.arch/ppc-longdouble.exp: New file.
2949 * gdb.arch/ppc-longdouble.c: Likewise.
2950
2951 2017-11-21 Pedro Alves <palves@redhat.com>
2952
2953 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
2954
2955 2017-11-20 Pedro Alves <palves@redhat.com>
2956
2957 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
2958 (long_double_typedef): New typedefs.
2959 Use DEF on double and long double.
2960 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
2961 cases.
2962 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
2963 and 'long_double_ptr_same_size' locals. Use them to decide
2964 whether cast from array/function to float is valid/invalid.
2965
2966 2017-11-17 Tom Tromey <tom@tromey.com>
2967
2968 * gdb.rust/traits.rs: New file.
2969 * gdb.rust/traits.exp: New file.
2970
2971 2017-11-17 Joel Brobecker <brobecker@adacore.com>
2972
2973 * gdb.ada/minsyms: New testcase.
2974
2975 2017-11-16 Pedro Alves <palves@redhat.com>
2976
2977 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
2978 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
2979
2980 2017-11-16 Pedro Alves <palves@redhat.com>
2981
2982 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
2983 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
2984
2985 2017-11-16 Pedro Alves <palves@redhat.com>
2986
2987 * gdb.server/reconnect-ctrl-c.c: New file.
2988 * gdb.server/reconnect-ctrl-c.exp: New file.
2989
2990 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
2991
2992 * gdb.python/py-rbreak.exp: New file.
2993 * gdb.python/py-rbreak.c: New file.
2994 * gdb.python/py-rbreak-func2.c: New file.
2995
2996 2017-11-16 Pedro Alves <palves@redhat.com>
2997
2998 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
2999 pattern.
3000 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
3001 GDB.
3002
3003 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
3004
3005 * gdb.tui/completionn.exp (test_tab_completion): Add space in
3006 regex.
3007
3008 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
3009
3010 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
3011 test names.
3012
3013 2017-11-09 Pedro Alves <palves@redhat.com>
3014
3015 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
3016 factored out from ...
3017 (top level): ... here, and adjusted to avoid expecting beyond the
3018 prompt in a single gdb_test_multiple.
3019
3020 2017-11-09 Pedro Alves <palves@redhat.com>
3021
3022 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
3023 output.
3024 * gdb.server/ext-attach.exp ("kill" test): Likewise.
3025 * gdb.server/ext-restart.exp ("kill" test): Likewise.
3026 * gdb.server/ext-run.exp ("kill" test): Likewise.
3027 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
3028
3029 2017-11-09 Pedro Alves <palves@redhat.com>
3030
3031 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
3032 match till end of line.
3033
3034 2017-11-09 Pedro Alves <palves@redhat.com>
3035
3036 * gdb.base/memattr.exp: Tighten regexes to match the end line.
3037
3038 2017-11-09 Pedro Alves <palves@redhat.com>
3039
3040 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
3041 New procedures, factored out from ...
3042 (top level): ... here, and adjusted to avoid expecting beyond the
3043 prompt in one go.
3044
3045 2017-11-09 Pedro Alves <palves@redhat.com>
3046
3047 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
3048 output. Fix '?' match.
3049
3050 2017-11-08 Joel Brobecker <brobecker@adacore.com>
3051
3052 * gdb.ada/scoped_watch: New testcase.
3053 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
3054 which is actually correct.
3055 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
3056 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
3057
3058 2017-11-08 Pedro Alves <palves@redhat.com>
3059
3060 * gdb.gdb/complaints.exp (test_initial_complaints)
3061 (test_serial_complaints, test_short_complaints): Call
3062 complaint_internal instead of complaint.
3063
3064 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
3065
3066 * gdb.threads/tls-core.c: New file.
3067 * gdb.threads/tls-core.exp: Likewise.
3068
3069 2017-11-08 Pedro Alves <palves@redhat.com>
3070
3071 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
3072 (p Exported_Capitalized): New test.
3073 (p exported_capitalized): New test.
3074
3075 2017-11-07 Pedro Alves <palves@redhat.com>
3076
3077 * gdb.cp/ena-dis-br-range.exp: Add more tests.
3078
3079 2017-11-07 Pedro Alves <palves@redhat.com>
3080
3081 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
3082 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
3083 (disable_invalid, disable_inverted, disable_negative): New
3084 procedures.
3085 ("bad numbers"): New set of tests.
3086
3087 2017-11-07 Pedro Alves <palves@redhat.com>
3088
3089 * gdb.cp/ena-dis-br-range.exp: Add tests.
3090
3091 2017-11-07 Pedro Alves <palves@redhat.com>
3092
3093 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
3094
3095 2017-11-07 Xavier Roirand <roirand@adacore.com>
3096 Pedro Alves <palves@redhat.com>
3097
3098 * gdb.base/ena-dis-br.exp: Add reference to
3099 gdb.cp/ena-dis-br-range.exp.
3100 * gdb.cp/ena-dis-br-range.exp: New file.
3101 * gdb.cp/ena-dis-br-range.cc: New file.
3102
3103 2017-11-06 Pedro Alves <palves@redhat.com>
3104
3105 * gdb.base/attach-non-pgrp-leader.c: New.
3106 * gdb.base/attach-non-pgrp-leader.exp: New.
3107
3108 2017-11-06 Pedro Alves <palves@redhat.com>
3109
3110 * configure.ac: No longer check for termio.h and sgtty.h.
3111 * configure: Regenerate.
3112 * remote-utils.c: Include termios.h instead of gdb_termios.h.
3113 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
3114 Remove termio and sgtty code.
3115
3116 2017-11-03 Yao Qi <yao.qi@linaro.org>
3117
3118 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
3119 in GDB is disabled.
3120
3121 2017-11-03 Yao Qi <yao.qi@linaro.org>
3122
3123 * gdb.python/py-thrhandle.exp: Skip it if python is not
3124 enabled.
3125
3126 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
3127
3128 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
3129 as a breakpoint command.
3130
3131 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
3132
3133 PR python/21213
3134 * gdb.python/py-infthread.exp: Test calling
3135 InferiorThread.inferior () multiple times in a row.
3136
3137 2017-10-27 Keith Seitz <keiths@redhat.com>
3138
3139 * gdb.opt/inline-break.exp (break_info_1): New procedure.
3140 Test "info break" for every inlined function breakpoint.
3141
3142 2017-10-27 Yao Qi <yao.qi@linaro.org>
3143
3144 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
3145
3146 2017-10-26 Patrick Frants <osscontribute@gmail.com>
3147
3148 * gdb.cp/classes.exp (test_static_members): Test printing
3149 Outer::instance.
3150 * gdb.cp/classes.c (struct Inner, struct Outer): New.
3151 (Inner::instance, Outer::instance): New.
3152
3153 2017-10-24 Pedro Alves <palves@redhat.com>
3154
3155 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
3156 extra console" test in two stages.
3157
3158 2017-10-24 Pedro Alves <palves@redhat.com>
3159
3160 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
3161
3162 2017-10-24 Pedro Alves <palves@redhat.com>
3163
3164 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
3165 loop.
3166
3167 2017-10-24 Pedro Alves <palves@redhat.com>
3168
3169 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
3170 $attempt" and "stoppedtry $stoppedtry" test prefixes.
3171
3172 2017-10-24 Pedro Alves <palves@redhat.com>
3173
3174 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
3175 parameter and handle it. Don't output read value in test name.
3176
3177 2017-10-24 Pedro Alves <palves@redhat.com>
3178
3179 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
3180 custom test name.
3181
3182 2017-10-24 Pedro Alves <palves@redhat.com>
3183
3184 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
3185 include the unstable output directory name in the test's name.
3186 (initial_setup_simple) <'set args'>: Use custom test name.
3187
3188 2017-10-24 Pedro Alves <palves@redhat.com>
3189
3190 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
3191 with explicit test name.
3192
3193 2017-10-20 Pedro Alves <palves@redhat.com>
3194
3195 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
3196 'wait -i'. Use gdb_assert and remote_close.
3197
3198 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
3199
3200 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
3201 number from variable rather than hard-coded.
3202
3203 2017-10-19 Pedro Alves <palves@redhat.com>
3204
3205 * gdb.base/long-inferior-output.c: New file.
3206 * gdb.base/long-inferior-output.exp: New file.
3207
3208 2017-11-18 Keith Seitz <keiths@redhat.com>
3209
3210 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
3211 method.
3212 (main): Call it.
3213 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
3214 Add additional user-defined conversion operator tests.
3215
3216 2017-10-17 Pedro Alves <palves@redhat.com>
3217
3218 * boards/native-stdio-gdbserver.exp: Load "local-board".
3219
3220 2017-10-17 Pedro Alves <palves@redhat.com>
3221
3222 * gdb.base/quit-live.c: New file.
3223 * gdb.base/quit-live.exp: New file.
3224
3225 2017-10-16 Keith Seitz <keiths@redhat.com>
3226
3227 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
3228 (class_with_protected_typedef, class_with_private_typedef)
3229 (struct_with_public_typedef, struct_with_protected_typedef)
3230 (struct_with_private_typedef): New classes/structs.
3231 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
3232 typedefs and access specifiers.
3233
3234 2017-10-16 Pedro Alves <palves@redhat.com>
3235 Simon Marchi <simon.marchi@polymtl.ca>
3236
3237 * README (Local vs Remote vs Native): New section.
3238 * boards/local-board.exp: New file, with bits factored out from
3239 ...
3240 * boards/native-extended-gdbserver.exp: ... here. Load
3241 "local-board".
3242 * boards/native-gdbserver.exp: Load "local-board".
3243 (${board}_spawn, ${board}_exec): Delete.
3244 * boards/native-stdio-gdbserver.exp: Most contents factored out to
3245 ...
3246 * boards/stdio-gdbserver-base.exp: ... this new file.
3247 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
3248 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
3249 procedure.
3250 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
3251 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
3252 stdio_gdbserver_command.
3253 (${board}_get_remote_address, ${board}_get_comm_port)
3254 (${board}_download, ${board}_upload): Delete.
3255 (get_target_remote_pipe_cmd): New.
3256
3257 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
3258
3259 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
3260 test_bkpt_deletion, test_bkpt_cond_and_cmds,
3261 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
3262 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
3263 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
3264 remove with_test_prefix.
3265
3266 2017-10-13 Pedro Alves <palves@redhat.com>
3267
3268 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
3269 * gdb.base/annota1.exp: Use it instead of is_remote.
3270 * gdb.base/annota3.exp: Use it instead of is_remote.
3271 * gdb.cp/annota2.exp: Use it instead of is_remote.
3272 * gdb.cp/annota3.exp: Use it instead of is_remote.
3273 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
3274
3275 2017-10-13 Pedro Alves <palves@redhat.com>
3276
3277 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
3278 (test_num_test_vars, run_and_count_vars, find_env)
3279 (test_set_unset_env, test_inherit_env_var): New procedures.
3280 (top level): Use them.
3281
3282 2017-10-13 Pedro Alves <palves@redhat.com>
3283
3284 * lib/selftest-support.exp (selftest_setup): Extend comments, and
3285 also skip on stub-like targets.
3286
3287 2017-10-13 Pedro Alves <palves@redhat.com>
3288
3289 PR gdb/22293
3290 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
3291 (top level): Move some tests to ...
3292 (test_not_found): ... this new procedure.
3293 (top level): Call it.
3294
3295 2017-10-13 Pedro Alves <palves@redhat.com>
3296
3297 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
3298 expect different "info terminal" output if testing with a
3299 non-native target.
3300
3301 2017-10-13 Pedro Alves <palves@redhat.com>
3302 Simon Marchi <simon.marchi@polymtl.ca>
3303
3304 PR python/12966
3305 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
3306
3307 2017-10-13 Pedro Alves <palves@redhat.com>
3308
3309 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
3310 already.
3311
3312 2017-10-13 Pedro Alves <palves@redhat.com>
3313
3314 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
3315 is_remote.
3316
3317 2017-10-13 Pedro Alves <palves@redhat.com>
3318
3319 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
3320 is_remote.
3321
3322 2017-10-13 Pedro Alves <palves@redhat.com>
3323
3324 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
3325 is set.
3326 (corefile_test_attach): Likewise. Check can_spawn_for_attach
3327 instead of is_remote.
3328
3329 2017-10-13 Pedro Alves <palves@redhat.com>
3330
3331 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
3332 (top level): Add comment.
3333
3334 2017-10-13 Pedro Alves <palves@redhat.com>
3335
3336 * gdb.base/remote.exp (top level): Fix comment typo and add
3337 missing return.
3338
3339 2017-10-13 Pedro Alves <palves@redhat.com>
3340 Simon Marchi <simon.marchi@polymtl.ca>
3341
3342 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
3343 calls and add comments. Skip test if use_gdb_stub is set.
3344 (top level): Use "set cwd" command instead of "cd" command.
3345
3346 2017-10-13 Pedro Alves <palves@redhat.com>
3347
3348 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
3349 is_remote target check.
3350
3351 2017-10-13 Pedro Alves <palves@redhat.com>
3352
3353 * gdb.base/scope.exp: Use build_executable + clean_restart +
3354 gdb_file_cmd instead of prepare_for_testing and no longer skip
3355 "before run" tests on is_remote target boards. Update comments.
3356 * boards/native-extended-gdbserver.exp
3357 (extended_gdbserver_load_last_file): New, factored out from ...
3358 (gdb_load): ... this. Move further below and add comment.
3359 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
3360
3361 2017-10-12 Pedro Alves <palves@redhat.com>
3362
3363 * gdb.base/attach.exp: Remove references to gdb64.
3364 * gdb.base/dbx.exp: Remove references to gdb64.
3365
3366 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
3367 Pedro Alves <palves@redhat.com>
3368
3369 * gdb.base/label.exp: Remove is_remote target check.
3370
3371 2017-10-12 Pedro Alves <palves@redhat.com>
3372
3373 * gdb.base/auvx.exp (coredir): Update comment.
3374 (top level) <core_works>: Use "set cwd" command instead of "cd"
3375 command.
3376
3377 2017-10-12 Pedro Alves <palves@redhat.com>
3378 Simon Marchi <simon.marchi@polymtl.ca>
3379
3380 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
3381 target boards.
3382
3383 2017-10-12 Pedro Alves <palves@redhat.com>
3384 Simon Marchi <simon.marchi@polymtl.ca>
3385
3386 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
3387 Instead skip if there's any gdb_protocol set.
3388
3389 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
3390 Pedro Alves <palves@redhat.com>
3391
3392 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
3393
3394 2017-10-12 Pedro Alves <palves@redhat.com>
3395 Simon Marchi <simon.marchi@polymtl.ca>
3396
3397 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
3398 instead of on dejagnu remote boards.
3399
3400 2017-10-12 Pedro Alves <palves@redhat.com>
3401 Simon Marchi <simon.marchi@polymtl.ca>
3402
3403 * gdb.base/inferior-died.exp: Remove is_remote and isnative
3404 checks. Use build_executable + clean_restart instead of
3405 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
3406 of enabling non-stop after starting gdb.
3407
3408 2017-10-12 Pedro Alves <palves@redhat.com>
3409
3410 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
3411 * gdb.threads/non-ldr-exc-2.exp: Ditto.
3412 * gdb.threads/non-ldr-exc-3.exp: Ditto.
3413 * gdb.threads/non-ldr-exc-4.exp: Ditto.
3414
3415 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
3416
3417 * gdb.arch/arc-tdesc-cpu.exp: New file.
3418 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
3419
3420 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
3421
3422 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
3423
3424 2017-10-10 Pedro Alves <palves@redhat.com>
3425
3426 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
3427 expect CLI output.
3428
3429 2017-10-10 Pedro Alves <palves@redhat.com>
3430
3431 * lib/selftest-support.exp (selftest_setup): Update for
3432 captured_command_loop's prototype change.
3433
3434 2017-10-09 Pedro Alves <palves@redhat.com>
3435
3436 Test both arch1=>arch2 and arch2=>arch1.
3437
3438 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
3439 (srcfile2, binfile2, march1, march2): Remove globals. Largely
3440 factored out to...
3441 (append_arch1_options, append_arch2_options, append_arch_options)
3442 (build_executables): New procedures.
3443 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
3444 local.
3445 (top level): Add new 'first_arch' testing axis.
3446
3447 2017-10-09 Pedro Alves <palves@redhat.com>
3448
3449 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
3450 (barrier): New.
3451 (thread_start, all_started): New functions.
3452 (main): Spawn new thread and wait until it is scheduled.
3453 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
3454 option.
3455 (do_test): Add 'selected_thread' parameter. Run to all_started
3456 instead of main. Explicitly set the breakpoint at main. Switch
3457 to the SELECTED_THREAD thread.
3458 (top level): Test handling the exec event with either the main
3459 thread or the second thread selected.
3460
3461 2017-10-09 Pedro Alves <palves@redhat.com>
3462
3463 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
3464 logic. Move STOP marker after the value checks.
3465 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
3466 regexp.
3467
3468 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
3469
3470 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
3471
3472 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
3473
3474 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
3475 integer-to-dfp conversion.
3476 * gdb.base/dfp-test.exp: Likewise.
3477
3478 2017-10-04 Pedro Alves <palves@redhat.com>
3479
3480 * gdb.multi/hangout.c: Include <unistd.h>.
3481 (hangout_loop): New function.
3482 (main): Call alarm. Call hangout_loop in a loop.
3483 * gdb.multi/hello.c: Include <unistd.h>.
3484 (hello_loop): New function.
3485 (main): Call alarm. Call hangout_loop in a loop.
3486 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
3487 inferior with the other selected.
3488
3489 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
3490
3491 * gdb.mi/list-thread-groups-available.exp: New file.
3492 * gdb.mi/list-thread-groups-available.c: New file.
3493
3494 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
3495
3496 * gdb.base/set-cwd.exp: Make it available on
3497 native-extended-gdbserver.
3498
3499 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
3500
3501 * gdb.base/set-cwd.c: New file.
3502 * gdb.base/set-cwd.exp: Likewise.
3503
3504 2017-10-02 Tom Tromey <tom@tromey.com>
3505
3506 PR rust/22236:
3507 * gdb.rust/simple.rs (main): New variable "fslice".
3508 * gdb.rust/simple.exp: Add slice tests. Update string tests.
3509
3510 2017-10-02 Tom Tromey <tom@tromey.com>
3511
3512 * gdb.rust/simple.exp: Test ptype of a slice.
3513
3514 2017-10-02 Tom Tromey <tom@tromey.com>
3515
3516 * gdb.rust/simple.exp: Test index of slice.
3517
3518 2017-09-27 Tom Tromey <tom@tromey.com>
3519
3520 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
3521
3522 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
3523 Pedro Alves <palves@redhat.com>
3524
3525 * gdb.base/compare-sections.exp (get value of read-only section): Read
3526 as unsigned value.
3527 (corrupt read-only section): Likewise and don't set written if patching
3528 failed.
3529
3530 2017-09-21 Kevin Buettner <kevinb@redhat.com>
3531
3532 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
3533 files.
3534
3535 2017-09-20 Pedro Alves <palves@redhat.com>
3536
3537 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
3538 symbol names in gdb's output.
3539 * gdb.cp/overload.exp ("list all overloads"): Likewise.
3540
3541 2017-09-20 Pedro Alves <palves@redhat.com>
3542
3543 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
3544 Rename to ...
3545 (test_list_ambiguous_symbol): ... this and add a symbol name
3546 parameter. Adjust.
3547 (test_list_ambiguous_function): Reimplement on top of
3548 test_list_ambiguous_symbol and also test listing ambiguous
3549 variables.
3550 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
3551 (ambiguous_fun): ... this.
3552 (ambiguous_var): New.
3553 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
3554 (ambiguous_fun): ... this.
3555 (ambiguous_var): New.
3556
3557 2017-09-19 John Baldwin <jhb@FreeBSD.org>
3558
3559 * gdb.base/starti.c: New file.
3560 * gdb.base/starti.exp: New file.
3561 * lib/gdb.exp (gdb_starti_cmd): New procedure.
3562
3563 2017-09-14 Pedro Alves <palves@redhat.com>
3564
3565 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
3566 (top level): Use it instead of runto.
3567
3568 2017-09-11 Tom Tromey <tom@tromey.com>
3569
3570 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
3571
3572 2017-09-11 Tom Tromey <tom@tromey.com>
3573
3574 * gdb.python/py-infthread.exp: Add tests for new_thread event.
3575 * gdb.python/py-inferior.exp: Add tests for new inferior events.
3576
3577 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
3578
3579 * gdb.fortran/printing-types.exp: New file.
3580 * gdb.fortran/printing-types.exp: New file.
3581
3582 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
3583
3584 * gdb.fortran/vla-ptype.exp: Fix typos.
3585 * gdb.fortran/vla-value.exp: Same.
3586
3587 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
3588
3589 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
3590 * gdb.mi/mi-var-child-f.exp: Likewise.
3591 * gdb.mi/mi-vla-fortran.exp: Likewise.
3592
3593 2017-09-08 Frank Penczek <frank.penczek@intel.com>
3594 Christoph Weinmann <christoph.t.weinmann@intel.com>
3595 Bernhard Heckel <bernhard.heckel@intel.com>
3596
3597 * gdb.fortran/ptr-indentation.f90: New file.
3598 * gdb.fortran/ptr-indentation.exp: New file.
3599
3600 2017-09-05 Tom Tromey <tom@tromey.com>
3601
3602 PR gdb/22010:
3603 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
3604
3605 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
3606
3607 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
3608
3609 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3610
3611 * gdb.threads/tls-nodebug-pie.c: New file.
3612 * gdb.threads/tls-nodebug-pie.exp: New file.
3613
3614 2017-09-05 Tom Tromey <tom@tromey.com>
3615
3616 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
3617 for rust.
3618
3619 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
3620
3621 * gdb.multi/multi-arch-exec.exp: Test with different
3622 "follow-exec-mode" settings.
3623 (do_test): New procedure.
3624
3625 2017-09-04 Pedro Alves <palves@redhat.com>
3626
3627 * gdb.base/func-static.c (S::method const, S::method volatile)
3628 (S::method volatile const): New methods.
3629 (c_s, v_s, cv_s): New instances.
3630 (main): Call method() on them.
3631 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
3632 (cannot_resolve): New procedure.
3633 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
3634 print-quote-unquoted columns.
3635 (do_test): Test printing each scope too.
3636
3637 2017-09-04 Pedro Alves <palves@redhat.com>
3638
3639 * gdb.base/local-static.exp: Also test with
3640 class::method::variable wholly quoted.
3641 * gdb.cp/m-static.exp (class::method::variable): Remove test.
3642
3643 2017-09-04 Pedro Alves <palves@redhat.com>
3644
3645 * gdb.base/local-static.c: New.
3646 * gdb.base/local-static.cc: New.
3647 * gdb.base/local-static.exp: New.
3648
3649 2017-09-04 Pedro Alves <palves@redhat.com>
3650
3651 * gdb.asm/asm-source.exp: Add casts to int.
3652 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
3653 (dataglobal64_1, dataglobal64_2): New globals.
3654 * gdb.base/nodebug.exp: Test different expressions involving the
3655 new globals, with print, whatis and ptype. Add casts to int.
3656 * gdb.base/solib-display.exp: Add casts to int.
3657 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
3658 * gdb.cp/m-static.exp: Add cast to int.
3659 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
3660 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
3661 tls variable with no debug info without a cast. Test with a cast
3662 to int too.
3663 * gdb.trace/entry-values.exp: Add casts.
3664
3665 2017-09-04 Pedro Alves <palves@redhat.com>
3666
3667 * gdb.base/nodebug.exp: Test that ptype's error about functions
3668 with unknown return type includes the function name too.
3669
3670 2017-09-04 Pedro Alves <palves@redhat.com>
3671
3672 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
3673 return type of munmap in infcall.
3674 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
3675 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
3676 type of ftell in infcall.
3677 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
3678 type of getpid in infcall.
3679 * gdb.base/infcall-exec.exp: Cast return type of execlp in
3680 infcall.
3681 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
3682 Bail on failure to extract the pid.
3683 * gdb.base/nodebug.c: #include <stdint.h>.
3684 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
3685 New functions.
3686 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
3687 Change expected output of print/whatis/ptype with functions with
3688 no debug info. Test all supported languages. Call
3689 test_call_promotion.
3690 * gdb.compile/compile.exp: Adjust expected output to expect
3691 warning.
3692 * gdb.threads/siginfo-threads.exp: Likewise.
3693
3694 2017-09-04 Pedro Alves <palves@redhat.com>
3695
3696 * gdb.base/callfuncs.exp (do_function_calls): New parameter
3697 "prototypes". Test calling float functions via prototyped and
3698 unprototyped function pointers.
3699 (perform_all_tests): New parameter "prototypes". Pass it down.
3700 (top level): Pass down "prototypes" parameter to
3701 perform_all_tests.
3702
3703 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
3704
3705 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
3706 Test with nested loops.
3707
3708 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
3709
3710 * gdb.base/commands.exp: Call the new procedures.
3711 (loop_break_test, loop_continue_test): New procedures.
3712
3713 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
3714
3715 * gdb.base/commands.exp: Call new procedure.
3716 (define_if_without_arg_test): New procedure.
3717
3718 2017-09-04 Pedro Alves <palves@redhat.com>
3719
3720 * gdb.base/list-ambiguous.exp: New file.
3721 * gdb.base/list-ambiguous0.c: New file.
3722 * gdb.base/list-ambiguous1.c: New file.
3723 * gdb.base/list.exp (test_list_range): Adjust expected output.
3724
3725 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
3726
3727 * gdb.base/share-env-with-gdbserver.c: New file.
3728 * gdb.base/share-env-with-gdbserver.exp: Likewise.
3729
3730 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
3731
3732 * gdb.base/commands.exp (gdbvar_simple_if_test,
3733 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
3734 progvar_simple_if_test, progvar_simple_while_test,
3735 progvar_complex_if_while_test, user_defined_command_test,
3736 user_defined_command_args_eval,
3737 user_defined_command_args_stack_test,
3738 user_defined_command_manyargs_test, bp_deleted_in_command_test,
3739 temporary_breakpoint_commands,
3740 gdb_test_no_prompt, redefine_hook_test,
3741 redefine_backtrace_test): Remove "global gdb_prompt".
3742
3743 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
3744
3745 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
3746 New proc, call it from toplevel.
3747
3748 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
3749
3750 PR remote/21852
3751 * gdb.server/normal.c: New file, copied from gdb.base.
3752 * gdb.server/run-without-local-binary.exp: New file.
3753
3754 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
3755
3756 * gdb.arch/sparc64-adi.exp: New file.
3757 * gdb.arch/sparc64-adi.c: New file.
3758
3759 2017-08-22 Pedro Alves <palves@redhat.com>
3760
3761 * gdb.cp/overload.exp (line_range_pattern): New procedure.
3762 (top level): Add "list all overloads" tests.
3763
3764 2017-08-22 Tom Tromey <tom@tromey.com>
3765
3766 * gdb.gdb/xfullpath.exp: Remove.
3767
3768 2017-08-21 Pedro Alves <palves@redhat.com>
3769
3770 PR gdb/19487
3771 * gdb.base/symbol-alias.c: New.
3772 * gdb.base/symbol-alias2.c: New.
3773 * gdb.base/symbol-alias.exp: New.
3774
3775 2017-08-21 Pedro Alves <palves@redhat.com>
3776
3777 * gdb.base/dfp-test.c
3778 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
3779 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
3780 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
3781 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
3782 * gdb.base/whatis-ptype-typedefs.c: New.
3783 * gdb.base/whatis-ptype-typedefs.exp: New.
3784 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
3785 (an_int, an_int_type, an_int_type2): New globals.
3786 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
3787 involving typedefs and cast expressions.
3788 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
3789 (lookup_typedefs_function): New.
3790 (typedefs_pretty_printers_dict): New.
3791 (top level): Register lookup_typedefs_function in
3792 gdb.pretty_printers.
3793
3794 2017-08-18 Yao Qi <yao.qi@linaro.org>
3795
3796 * gdb.server/unittest.exp: New.
3797
3798 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
3799
3800 PR gdb/21954
3801 * gdb.base/environ.exp: Add test to check if 'unset environment'
3802 works.
3803
3804 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
3805
3806 * lib/gdb.exp (universal_compile_options): New caching proc.
3807 (gdb_compile): Suppress GCC's coloring of messages.
3808
3809 2017-08-14 Tom Tromey <tom@tromey.com>
3810
3811 PR gdb/21675:
3812 * gdb.base/printcmds.exp (test_radices): New function.
3813 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
3814 * gdb.base/sizeof.exp (check_valueof): Use p/d.
3815 * lib/gdb.exp (get_integer_valueof): Use p/d.
3816
3817 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
3818
3819 * lib/gdb.exp (get_valueof): Don't capture end-of-line
3820 characters.
3821
3822 2017-08-05 Tom Tromey <tom@tromey.com>
3823
3824 * gdb.rust/simple.exp: Allow String to appear in a different
3825 namespace.
3826
3827 2017-07-26 Yao Qi <yao.qi@linaro.org>
3828
3829 * gdb.gdb/unittest.exp: Invoke command
3830 "maintenance check xml-descriptions".
3831
3832 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
3833
3834 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
3835 calling context.
3836 (hex128): Drop erroneous calculation of parameters.
3837
3838 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
3839
3840 * gdb.python/py-unwind.exp: Disable stack protection when
3841 building test file.
3842
3843 2017-07-20 Pedro Alves <palves@redhat.com>
3844
3845 * gdb.base/default.exp (set language): Adjust expected output.
3846
3847 2017-07-20 Pedro Alves <palves@redhat.com>
3848
3849 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
3850 (test_minsym): ... this, and make static.
3851 (get_pck__foo__bar__minsym): Rename to ...
3852 (get_test_minsym): ... this.
3853 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
3854 symbol names and comments.
3855 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
3856 (get_test_minsym): ... this.
3857 (pck__foo__bar__minsym__2): Rename to ...
3858 (test_minsym): ... this.
3859 (main): Adjust.
3860
3861 2017-07-17 Pedro Alves <palves@redhat.com>
3862
3863 * gdb.base/completion.exp: Adjust expected output.
3864 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
3865 the completer works.
3866
3867 2017-07-17 Pedro Alves <palves@redhat.com>
3868
3869 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
3870
3871 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
3872
3873 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
3874
3875 2017-07-14 Tom Tromey <tom@tromey.com>
3876
3877 PR rust/21764:
3878 * gdb.rust/simple.exp: Add tests.
3879
3880 2017-07-14 Tom Tromey <tom@tromey.com>
3881
3882 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
3883
3884 2017-07-14 Pedro Alves <palves@redhat.com>
3885
3886 * gdb.linespec/base/one/thefile.cc (z1): New function.
3887 * gdb.linespec/base/two/thefile.cc (z2): New function.
3888 * gdb.linespec/linespec.exp: Add tests.
3889
3890 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
3891
3892 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
3893 to mi_create_breakpoint.
3894
3895 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
3896
3897 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
3898 mi_create_breakpoint.
3899
3900 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
3901
3902 * gdb.dlang/demangle.exp: Update for demangling changes.
3903
3904 2017-07-09 Tom Tromey <tom@tromey.com>
3905
3906 * gdb.dwarf2/shortpiece.exp: New file.
3907
3908 2017-07-06 David Blaikie <dblaikie@gmail.com>
3909
3910 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
3911 built from fissiont-multi-cu{1,2}.c.
3912 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
3913 except putting 'main' and 'func' in separate CUs in the same DWO file.
3914 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
3915 test.
3916 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
3917 test.
3918
3919 2017-07-06 Pedro Alves <palves@redhat.com>
3920
3921 * gdb.python/py-unwind.exp: Test flushregs.
3922
3923 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
3924
3925 PR cli/21688
3926 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
3927 tests for alias commands and trailing whitespace.
3928
3929 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
3930
3931 PR cli/21688
3932 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
3933 procedure. Call it.
3934
3935 2017-06-29 Pedro Alves <palves@redhat.com>
3936
3937 * gdb.base/printcmds.exp: Add tests.
3938
3939 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
3940
3941 PR gdb/21337
3942 * gdb.base/reread-readsym.exp: New file.
3943 * gdb.base/reread-readsym.c: New file.
3944
3945 2017-06-21 Kevin Buettner <kevinb@redhat.com>
3946
3947 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
3948 subpattern.
3949
3950 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
3951
3952 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
3953 extended mnemonic.
3954 * gdb.arch/powerpc-power9.s: Likewise.
3955
3956 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
3957
3958 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
3959 on 32-bit x86 targets. Exploit is_*_target macros where
3960 appropriate.
3961
3962 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3963
3964 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
3965 register pieces.
3966
3967 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3968
3969 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
3970 located in one or more DWARF pieces.
3971
3972 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3973
3974 * lib/gdb.exp (get_endianness): New proc.
3975 * gdb.arch/aarch64-fp.exp: Use it.
3976 * gdb.arch/altivec-regs.exp: Likewise.
3977 * gdb.arch/e500-regs.exp: Likewise.
3978 * gdb.arch/vsx-regs.exp: Likewise.
3979 * gdb.base/dump.exp: Likewise.
3980 * gdb.base/funcargs.exp: Likewise.
3981 * gdb.base/gnu_vector.exp: Likewise.
3982 * gdb.dwarf2/formdata16.exp: Likewise.
3983 * gdb.dwarf2/implptrpiece.exp: Likewise.
3984 * gdb.dwarf2/nonvar-access.exp: Likewise.
3985 * gdb.python/py-inferior.exp: Likewise.
3986 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
3987
3988 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3989
3990 PR gdb/21226
3991 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
3992 stack value pieces are taken from the LSB end.
3993
3994 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3995
3996 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
3997 variable at nonzero offset.
3998
3999 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4000
4001 * gdb.dwarf2/var-access.c: New file.
4002 * gdb.dwarf2/var-access.exp: New test.
4003 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
4004
4005 2017-06-12 Tom Tromey <tom@tromey.com>
4006
4007 * gdb.dwarf2/formdata16.exp: Add tests.
4008
4009 2017-06-12 Tom Tromey <tom@tromey.com>
4010
4011 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
4012
4013 2017-06-12 Tom Tromey <tom@tromey.com>
4014
4015 PR exp/16225:
4016 * gdb.reverse/i386-sse-reverse.exp: Update tests.
4017 * gdb.arch/vsx-regs.exp: Update tests.
4018 * gdb.arch/s390-vregs.exp (hex128): New proc.
4019 Update test.
4020 * gdb.arch/altivec-regs.exp: Update tests.
4021
4022 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
4023
4024 * gdb.base/startup-with-shell.c: New file.
4025 * gdb.base/startup-with-shell.exp: Likewise.
4026
4027 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
4028
4029 * gdb.server/non-existing-program.exp: Update regex in order to
4030 reflect the fact that gdbserver is now using fork_inferior (with a
4031 shell) to startup the inferior.
4032
4033 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
4034
4035 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
4036 support function calls from GDB.
4037
4038 2017-05-21 Tom Tromey <tom@tromey.com>
4039
4040 PR rust/21466:
4041 * gdb.rust/unsized.exp: New file.
4042 * gdb.rust/unsized.rs: New file.
4043
4044 2017-05-19 Tom Tromey <tom@tromey.com>
4045
4046 PR rust/21484:
4047 * gdb.rust/watch.exp: New file.
4048 * gdb.rust/watch.rs: New file.
4049
4050 2017-05-18 Tom Tromey <tom@tromey.com>
4051
4052 * gdb.rust/simple.exp: Allow Box to be qualified.
4053
4054 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
4055
4056 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
4057
4058 2017-05-18 Pedro Alves <palves@redhat.com>
4059
4060 * gdb.base/fileio.c (test_write, test_read, test_close)
4061 (test_fstat): Don't print 'ret' in the fail path.
4062
4063 2017-05-18 Pedro Alves <palves@redhat.com>
4064
4065 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
4066 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
4067 (test_system, test_rename, test_unlink, test_time): Change
4068 prototypes.
4069 * gdb.base/fileio.exp (stop_msg): Adjust.
4070
4071 2017-05-18 Pedro Alves <palves@redhat.com>
4072
4073 * gdb.base/fileio.c (null_str): New global.
4074 (test_stat): Use it.
4075 * gdb.base/fileio.exp: Remove nowarnings.
4076
4077 2017-05-17 Yao Qi <yao.qi@linaro.org>
4078
4079 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
4080
4081 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
4082
4083 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
4084 argument command.
4085 (top-level): Invoke test_set_inferior_tty.
4086
4087 2017-05-04 Pedro Alves <palves@redhat.com>
4088
4089 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
4090 Add parens to print call for Python 3.
4091
4092 2017-05-03 Keith Seitz <keiths@redhat.com>
4093
4094 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
4095 (main): Call it.
4096
4097 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
4098
4099 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
4100 to prev and next.
4101
4102 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
4103
4104 * gdb.python/py-record-btrace.exp: Remove test for
4105 gdb.BtraceInstruction.error.
4106
4107 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
4108
4109 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
4110
4111 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
4112
4113 * gdb.python/py-record-btrace-threads.c: New file.
4114 * gdb.python/py-record-btrace-threads.exp: New file.
4115
4116 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
4117
4118 PR testsuite/8595
4119 * gdb.base/environ.exp: Make test available in all architectures.
4120 Move bits related to "info program" testing to
4121 gdb.base/info-program.exp. Rewrite tests to use the two new
4122 procedures mentione below.
4123 (test_set_show_env_var) New procedure.
4124 (test_set_show_env_var_equal): Likewise.
4125 * gdb.base/info-program.exp: New file.
4126
4127 2017-04-27 Keith Seitz <keiths@redhat.com>
4128
4129 * gdb.cp/oranking.cc (test15): New function.
4130 (main): Call test15 and declare additional variables for testing.
4131 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
4132 "p foo101('abc')" tests.
4133 Add tests for cv qualifier overloads.
4134 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
4135 "lvalue reference overload" test.
4136 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
4137 "print value of f1 on Child&& in f2" test.
4138
4139 2017-04-19 Pedro Alves <palves@redhat.com>
4140
4141 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
4142 procedure.
4143 (top level): Call it.
4144 * lib/gdb.exp (gdb_define_cmd): New procedure.
4145
4146 2017-04-12 Pedro Alves <palves@redhat.com>
4147
4148 PR gdb/21323
4149 * gdb.cp/wide_char_types.c: Include <wchar.h>.
4150 (wchar): New global.
4151 * gdb.cp/wide_char_types.exp (wide_char_types_program)
4152 (do_test_wide_char, wide_char_types_no_program, top level): Add
4153 wchar_t testing.
4154
4155 2017-04-12 Pedro Alves <palves@redhat.com>
4156
4157 PR c++/21323
4158 * gdb.cp/wide_char_types.c: New file.
4159 * gdb.cp/wide_char_types.exp: New file.
4160
4161 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
4162
4163 PR gdb/21352
4164 * gdb.trace/tsv.exp: Add test for "tsave -r".
4165
4166 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
4167
4168 * gdb.dlang/watch-loc.c: New file.
4169 * gdb.dlang/watch-loc.exp: New file.
4170
4171 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4172
4173 * gdb.python/py-section-script.exp (sepdebug): New testcases.
4174
4175 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
4176
4177 * gdb.arch/arc-analyze-prologue.S: New file.
4178 * gdb.arch/arc-analyze-prologue.exp: Likewise.
4179
4180 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
4181
4182 * gdb.arch/arc-decode-insn.S: New file.
4183 * gdb.arch/arc-decode-insn.exp: Likewise.
4184
4185 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
4186
4187 PR tdep/20928
4188 * gdb.arch/sparc64-regs.exp: New file.
4189 * gdb.arch/sparc64-regs.S: Likewise.
4190
4191 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
4192
4193 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
4194 and memory view on Python 3.
4195
4196 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
4197 Keith Seitz <keiths@redhat.com>
4198
4199 PR gdb/14441
4200 * gdb.cp/demangle.exp: Add rvalue reference tests.
4201 * gdb.cp/rvalue-ref-casts.cc: New file.
4202 * gdb.cp/rvalue-ref-casts.exp: New file.
4203 * gdb.cp/rvalue-ref-overload.cc: New file.
4204 * gdb.cp/rvalue-ref-overload.exp: New file.
4205 * gdb.cp/rvalue-ref-params.cc: New file.
4206 * gdb.cp/rvalue-ref-params.exp: New file.
4207 * gdb.cp/rvalue-ref-sizeof.cc: New file.
4208 * gdb.cp/rvalue-ref-sizeof.exp: New file.
4209 * gdb.cp/rvalue-ref-types.cc: New file.
4210 * gdb.cp/rvalue-ref-types.exp: New file.
4211 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
4212 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
4213
4214 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
4215
4216 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
4217 New procedure.
4218
4219 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
4220
4221 * lib/mi-support.exp (mi_gdb_test): Add additional message
4222 for unexpected output.
4223
4224 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
4225
4226 * gdb.base/examine-backward.c (Barrier): New character array
4227 constant, to ensure that TestStrings is preceded by a string
4228 terminator.
4229
4230 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4231
4232 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
4233 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
4234 and implicit pointer into such a location.
4235
4236 2017-03-16 Doug Evans <dje@google.com>
4237
4238 * gdb.python/py-lazy-string (pointer): Really add new typedef.
4239
4240 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
4241
4242 * gdb.cp/m-static.exp: Fix expectation for prototype of
4243 test5.single_constructor and single_constructor::single_constructor.
4244
4245 2017-03-16 Doug Evans <dje@google.com>
4246
4247 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
4248 * gdb.guile/scm-lazy-string.c: New file.
4249 * gdb.guile/scm-value.exp: Move lazy string tests to ...
4250 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
4251 for pointer, array, typedef lazy strings.
4252
4253 2017-03-16 Doug Evans <dje@google.com>
4254
4255 PR python/17728, python/18439, python/18779
4256 * gdb.python/py-value.c (main) Delete locals sptr, sn.
4257 * gdb.python/py-lazy-string.c (pointer): New typedef.
4258 (main): New locals ptr, array, typedef_ptr.
4259 * gdb.python/py-value.exp: Move lazy string tests to ...
4260 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
4261 array, typedef lazy strings.
4262
4263 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
4264
4265 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
4266 Add optional 'test' parameter.
4267
4268 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
4269
4270 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
4271 Skip for versions of DejaGnu < 1.5.
4272
4273 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
4274
4275 * lib/gdb.exp (dejagnu_version): New proc.
4276 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
4277 Use dejagnu_version.
4278
4279 2017-03-10 Keith Seitz <keiths@redhat.com>
4280
4281 PR c++/8128
4282 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
4283 type from destructor regexps.
4284 Add a branch which actually passes the test.
4285 Adjust "ptype t5i" test names.
4286
4287 2017-03-08 Pedro Alves <palves@redhat.com>
4288
4289 * gdb.base/step-over-exit.exp: Add explicit test message.
4290
4291 2017-03-08 Pedro Alves <palves@redhat.com>
4292
4293 PR gdb/18360
4294 * gdb.threads/interrupt-while-step-over.c: New file.
4295 * gdb.threads/interrupt-while-step-over.exp: New file.
4296
4297 2017-03-08 Pedro Alves <palves@redhat.com>
4298
4299 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
4300 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
4301
4302 2017-03-08 Pedro Alves <palves@redhat.com>
4303
4304 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
4305 PKRU as not supported as a PASS.
4306
4307 2017-03-08 Pedro Alves <palves@redhat.com>
4308
4309 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
4310 prefix instead of $binfile1/$binfile2.
4311 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
4312 in test message.
4313 * gdb.python/py-completion.exp: Use "load python file" as test
4314 messages instead of unstable path names.
4315
4316 2017-03-08 Pedro Alves <palves@redhat.com>
4317 Jan Kratochvil <jan.kratochvil@redhat.com>
4318
4319 PR cli/21218
4320 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
4321 New proc.
4322 (top level): Call it.
4323
4324 2017-03-08 Pedro Alves <palves@redhat.com>
4325
4326 PR tui/21216
4327 * gdb.tui/tui-nl-filtered-output.exp: New file.
4328
4329 2017-03-08 Pedro Alves <palves@redhat.com>
4330
4331 * gdb.base/completion.exp: Move TUI completion tests to ...
4332 * gdb.tui/completion.exp: ... this new file.
4333
4334 2017-03-08 Pedro Alves <palves@redhat.com>
4335
4336 * gdb.base/tui-disasm-long-lines.c,
4337 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
4338 gdb.base/tui-layout.exp: Move to ...
4339 * gdb.tui/: ... this new directory.
4340
4341 2017-03-07 Pedro Alves <palves@redhat.com>
4342
4343 * gdb.base/tui-layout.c: New file.
4344 * gdb.base/tui-layout.exp: New file.
4345
4346 2017-03-07 Pedro Alves <palves@redhat.com>
4347
4348 * gdb.base/tui-layout.c: Rename to ...
4349 * gdb.base/tui-disasm-long-lines.c: ... this.
4350 * gdb.base/tui-layout.exp: Rename to ...
4351 * gdb.base/tui-disasm-long-lines.exp: ... this.
4352
4353 2017-03-07 Pedro Alves <palves@redhat.com>
4354
4355 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
4356
4357 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4358
4359 * i386-mpx-call.c: New file.
4360 * i386-mpx-call.exp: New file.
4361
4362 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
4363
4364 * gdb.arch/powerpc-power.exp: Delete test.
4365 * gdb.arch/powerpc-power.s: Likewise.
4366 * gdb.disasm/disassembler-options.exp: New test.
4367 * gdb.arch/powerpc-altivec.exp: Likewise.
4368 * gdb.arch/powerpc-altivec.s: Likewise.
4369 * gdb.arch/powerpc-altivec2.exp: Likewise.
4370 * gdb.arch/powerpc-altivec2.s: Likewise.
4371 * gdb.arch/powerpc-altivec3.exp: Likewise.
4372 * gdb.arch/powerpc-altivec3.s: Likewise.
4373 * gdb.arch/powerpc-power7.exp: Likewise.
4374 * gdb.arch/powerpc-power7.s: Likewise.
4375 * gdb.arch/powerpc-power8.exp: Likewise.
4376 * gdb.arch/powerpc-power8.s: Likewise.
4377 * gdb.arch/powerpc-power9.exp: Likewise.
4378 * gdb.arch/powerpc-power9.s: Likewise.
4379 * gdb.arch/powerpc-vsx.exp: Likewise.
4380 * gdb.arch/powerpc-vsx.s: Likewise.
4381 * gdb.arch/powerpc-vsx2.exp: Likewise.
4382 * gdb.arch/powerpc-vsx2.s: Likewise.
4383 * gdb.arch/powerpc-vsx3.exp: Likewise.
4384 * gdb.arch/powerpc-vsx3.s: Likewise.
4385 * gdb.arch/arm-disassembler-options.exp: Likewise.
4386 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
4387 * gdb.arch/s390-disassembler-options.exp: Likewise.
4388
4389 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
4390
4391 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
4392 (check_supported_features): ... this. Changed return type to void.
4393 (supports_rdseed): New static global.
4394 (rdseed): Check supports_rdseed.
4395 (initialize): Call check_supported_features.
4396
4397 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4398
4399 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
4400 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
4401 and lqarx/stqcx.
4402 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
4403 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
4404
4405 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4406
4407 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
4408 uppercase.
4409
4410 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4411
4412 * gdb.dwarf2/formdata16.c: New file.
4413 * gdb.dwarf2/formdata16.exp: New file.
4414 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
4415
4416 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4417
4418 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
4419 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
4420 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
4421 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
4422 DW_AT_GNU_*.
4423
4424 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4425
4426 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
4427
4428 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
4429
4430 PR gdb/21164
4431 * gdb.base/maint.exp: Add testcases for when the commands do
4432 not have arguments.
4433
4434 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
4435
4436 * gdb.cp/chained-calls.exp: Use p instead of P.
4437
4438 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
4439
4440 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
4441 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
4442
4443 2017-02-14 Tom Tromey <tom@tromey.com>
4444
4445 PR python/13598:
4446 * gdb.python/py-events.exp: Add before_prompt event tests.
4447
4448 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
4449
4450 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
4451
4452 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
4453
4454 * gdb.linespec/explicit.c (my_unique_function_name): New function.
4455 (main): Call my_unique_function_name.
4456 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
4457 completion of patterns with a single match.
4458 Add missing -re switches to gdb_test_multiple calls.
4459
4460 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
4461
4462 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
4463 return if core file is not recognized.
4464
4465 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
4466
4467 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
4468 and extra UIs.
4469
4470 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
4471
4472 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
4473 proc_with_prefix.
4474
4475 2017-02-10 Tom Tromey <tom@tromey.com>
4476
4477 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
4478
4479 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
4480
4481 PR gdb/21122
4482 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
4483
4484 2017-02-08 Jerome Guitton <guitton@adacore.com>
4485
4486 * gdb.base/define.exp: Add test for command abbreviations
4487 in define.
4488
4489 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
4490
4491 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
4492 * gdb.reverse/insn-reverse-x86.c: New file.
4493
4494 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
4495
4496 PR tdep/20936
4497 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
4498
4499 2017-02-03 Tom Tromey <tom@tromey.com>
4500
4501 PR rust/21097:
4502 * gdb.rust/simple.exp: Add new tests.
4503
4504 2017-02-02 Pedro Alves <palves@redhat.com>
4505
4506 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
4507 tests.
4508
4509 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
4510
4511 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
4512 taking a 2-byte value out of a 4-byte DWARF implicit value on
4513 big-endian targets.
4514 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
4515 logic. Add test cases for DW_OP_implicit.
4516
4517 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
4518
4519 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
4520
4521 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
4522
4523 * gdb.btrace/enable.exp: Call gdb_exit before
4524 skip_gdbserver_tests.
4525
4526 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
4527
4528 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
4529 GDBFLAGS.
4530
4531 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
4532
4533 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
4534 the test is skipped.
4535 * gdb.btrace/data.exp: Likewise.
4536 * gdb.btrace/delta.exp: Likewise.
4537 * gdb.btrace/dlopen.exp: Likewise.
4538 * gdb.btrace/enable-running.exp: Likewise.
4539 * gdb.btrace/enable.exp: Likewise.
4540 * gdb.btrace/exception.exp: Likewise.
4541 * gdb.btrace/function_call_history.exp: Likewise.
4542 * gdb.btrace/gcore.exp: Likewise.
4543 * gdb.btrace/instruction_history.exp: Likewise.
4544 * gdb.btrace/multi-thread-step.exp: Likewise.
4545 * gdb.btrace/nohist.exp: Likewise.
4546 * gdb.btrace/non-stop.exp: Likewise.
4547 * gdb.btrace/reconnect.exp: Likewise.
4548 * gdb.btrace/record_goto-step.exp: Likewise.
4549 * gdb.btrace/record_goto.exp: Likewise.
4550 * gdb.btrace/rn-dl-bind.exp: Likewise.
4551 * gdb.btrace/segv.exp: Likewise.
4552 * gdb.btrace/step.exp: Likewise.
4553 * gdb.btrace/stepi.exp: Likewise.
4554 * gdb.btrace/tailcall-only.exp: Likewise.
4555 * gdb.btrace/tailcall.exp: Likewise.
4556 * gdb.btrace/tsx.exp: Likewise.
4557 * gdb.btrace/unknown_functions.exp: Likewise.
4558 * gdb.btrace/vdso.exp: Likewise.
4559
4560 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
4561
4562 * gdb.btrace/enable-running.c: New.
4563 * gdb.btrace/enable-running.exp: New.
4564
4565 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
4566
4567 * gdb.arch/amd64-gs_base.c: New file.
4568 * gdb.arch/amd64-gs_base.exp: New file.
4569
4570 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
4571
4572 * lib/memory.exp: Remove spurious empty newlines.
4573
4574 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
4575
4576 * gdb.python/py-bad-printers.exp: Load python file using "source".
4577 * gdb.python/py-events.exp: Likewise.
4578 * gdb.python/py-evsignal.exp: Likewise.
4579 * gdb.python/py-evthreads.exp: Likewise.
4580 * gdb.python/py-frame-args.exp: Likewise.
4581 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
4582 * gdb.python/py-framefilter-mi.exp: Likewise.
4583 * gdb.python/py-framefilter.exp: Likewise.
4584 * gdb.python/py-mi.exp: Likewise.
4585 * gdb.python/py-pp-maint.exp: Likewise.
4586 * gdb.python/py-pp-registration.exp: Likewise.
4587 * gdb.python/py-prettyprint.exp: Likewise.
4588 (run_lang_tests): Likewise.
4589 * gdb.python/py-typeprint.exp: Likewise.
4590
4591 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
4592
4593 * lib/memory.exp: New file.
4594 * lib/gdb.exp: Load memory.exp.
4595 * gdb.base/memattr.exp (delete_memory): Move proc to
4596 lib/memory.exp and rename to delete_memory_regions.
4597 Replace delete_memory with delete_memory_regions.
4598 Cleanup memory regions before tests.
4599 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
4600 before tests.
4601
4602 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
4603
4604 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
4605 files.
4606 (initialize): New function conditionally defined.
4607 (testcases): Move within conditional block.
4608 (main): Call initialize.
4609 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
4610 of gdb.reverse/insn-reverse.c.
4611 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
4612 gdb.reverse/insn-reverse.c.
4613
4614 2017-01-26 Yao Qi <yao.qi@linaro.org>
4615
4616 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
4617 disassemble on address 0.
4618
4619 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
4620 Yao Qi <yao.qi@linaro.org>
4621
4622 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
4623 * gdb.dwarf2/implptr-64bit.S: Remove.
4624 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
4625 variables in caller's context. Add DW_OP_implicit_value.
4626
4627 2017-01-25 Yao Qi <yao.qi@linaro.org>
4628
4629 * lib/dwarf.exp (Dwarf::_location): Handle
4630 DW_OP_GNU_implicit_pointer with proper size.
4631
4632 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
4633
4634 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
4635 and add untested calls.
4636
4637 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
4638
4639 * gdb.python/python.exp: Check line number against what GDB thinks
4640 the line number is for func1.
4641
4642 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
4643
4644 * gdb.dlang/debug-expr.exp: New file.
4645
4646 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
4647
4648 Fix test names for the following files:
4649
4650 * gdb.ada/exec_changed.exp
4651 * gdb.ada/info_types.exp
4652 * gdb.arch/aarch64-atomic-inst.exp
4653 * gdb.arch/aarch64-fp.exp
4654 * gdb.arch/altivec-abi.exp
4655 * gdb.arch/altivec-regs.exp
4656 * gdb.arch/amd64-byte.exp
4657 * gdb.arch/amd64-disp-step.exp
4658 * gdb.arch/amd64-dword.exp
4659 * gdb.arch/amd64-entry-value-inline.exp
4660 * gdb.arch/amd64-entry-value-param.exp
4661 * gdb.arch/amd64-entry-value-paramref.exp
4662 * gdb.arch/amd64-entry-value.exp
4663 * gdb.arch/amd64-i386-address.exp
4664 * gdb.arch/amd64-invalid-stack-middle.exp
4665 * gdb.arch/amd64-invalid-stack-top.exp
4666 * gdb.arch/amd64-optimout-repeat.exp
4667 * gdb.arch/amd64-prologue-skip.exp
4668 * gdb.arch/amd64-prologue-xmm.exp
4669 * gdb.arch/amd64-stap-special-operands.exp
4670 * gdb.arch/amd64-stap-wrong-subexp.exp
4671 * gdb.arch/amd64-tailcall-cxx.exp
4672 * gdb.arch/amd64-tailcall-noret.exp
4673 * gdb.arch/amd64-tailcall-ret.exp
4674 * gdb.arch/amd64-tailcall-self.exp
4675 * gdb.arch/amd64-word.exp
4676 * gdb.arch/arm-bl-branch-dest.exp
4677 * gdb.arch/arm-disp-step.exp
4678 * gdb.arch/arm-neon.exp
4679 * gdb.arch/arm-single-step-kernel-helper.exp
4680 * gdb.arch/avr-flash-qualifier.exp
4681 * gdb.arch/disp-step-insn-reloc.exp
4682 * gdb.arch/e500-abi.exp
4683 * gdb.arch/e500-regs.exp
4684 * gdb.arch/ftrace-insn-reloc.exp
4685 * gdb.arch/i386-avx512.exp
4686 * gdb.arch/i386-bp_permanent.exp
4687 * gdb.arch/i386-byte.exp
4688 * gdb.arch/i386-cfi-notcurrent.exp
4689 * gdb.arch/i386-disp-step.exp
4690 * gdb.arch/i386-dr3-watch.exp
4691 * gdb.arch/i386-float.exp
4692 * gdb.arch/i386-gnu-cfi.exp
4693 * gdb.arch/i386-mpx-map.exp
4694 * gdb.arch/i386-mpx-sigsegv.exp
4695 * gdb.arch/i386-mpx-simple_segv.exp
4696 * gdb.arch/i386-mpx.exp
4697 * gdb.arch/i386-permbkpt.exp
4698 * gdb.arch/i386-prologue.exp
4699 * gdb.arch/i386-signal.exp
4700 * gdb.arch/i386-size-overlap.exp
4701 * gdb.arch/i386-unwind.exp
4702 * gdb.arch/i386-word.exp
4703 * gdb.arch/mips-fcr.exp
4704 * gdb.arch/powerpc-d128-regs.exp
4705 * gdb.arch/powerpc-stackless.exp
4706 * gdb.arch/ppc64-atomic-inst.exp
4707 * gdb.arch/s390-stackless.exp
4708 * gdb.arch/s390-tdbregs.exp
4709 * gdb.arch/s390-vregs.exp
4710 * gdb.arch/sparc-sysstep.exp
4711 * gdb.arch/thumb-bx-pc.exp
4712 * gdb.arch/thumb-singlestep.exp
4713 * gdb.arch/thumb2-it.exp
4714 * gdb.arch/vsx-regs.exp
4715 * gdb.asm/asm-source.exp
4716 * gdb.base/a2-run.exp
4717 * gdb.base/advance.exp
4718 * gdb.base/all-bin.exp
4719 * gdb.base/anon.exp
4720 * gdb.base/args.exp
4721 * gdb.base/arithmet.exp
4722 * gdb.base/async-shell.exp
4723 * gdb.base/async.exp
4724 * gdb.base/attach-pie-noexec.exp
4725 * gdb.base/attach-twice.exp
4726 * gdb.base/auto-load.exp
4727 * gdb.base/bang.exp
4728 * gdb.base/bitfields.exp
4729 * gdb.base/break-always.exp
4730 * gdb.base/break-caller-line.exp
4731 * gdb.base/break-entry.exp
4732 * gdb.base/break-inline.exp
4733 * gdb.base/break-on-linker-gcd-function.exp
4734 * gdb.base/break-probes.exp
4735 * gdb.base/break.exp
4736 * gdb.base/breakpoint-shadow.exp
4737 * gdb.base/call-ar-st.exp
4738 * gdb.base/call-sc.exp
4739 * gdb.base/call-signal-resume.exp
4740 * gdb.base/call-strs.exp
4741 * gdb.base/callfuncs.exp
4742 * gdb.base/catch-fork-static.exp
4743 * gdb.base/catch-gdb-caused-signals.exp
4744 * gdb.base/catch-load.exp
4745 * gdb.base/catch-signal-fork.exp
4746 * gdb.base/catch-signal.exp
4747 * gdb.base/catch-syscall.exp
4748 * gdb.base/charset.exp
4749 * gdb.base/checkpoint.exp
4750 * gdb.base/chng-syms.exp
4751 * gdb.base/code-expr.exp
4752 * gdb.base/code_elim.exp
4753 * gdb.base/commands.exp
4754 * gdb.base/completion.exp
4755 * gdb.base/complex.exp
4756 * gdb.base/cond-expr.exp
4757 * gdb.base/condbreak.exp
4758 * gdb.base/consecutive.exp
4759 * gdb.base/continue-all-already-running.exp
4760 * gdb.base/coredump-filter.exp
4761 * gdb.base/corefile.exp
4762 * gdb.base/dbx.exp
4763 * gdb.base/debug-expr.exp
4764 * gdb.base/define.exp
4765 * gdb.base/del.exp
4766 * gdb.base/disabled-location.exp
4767 * gdb.base/disasm-end-cu.exp
4768 * gdb.base/disasm-optim.exp
4769 * gdb.base/display.exp
4770 * gdb.base/duplicate-bp.exp
4771 * gdb.base/ena-dis-br.exp
4772 * gdb.base/ending-run.exp
4773 * gdb.base/enumval.exp
4774 * gdb.base/environ.exp
4775 * gdb.base/eu-strip-infcall.exp
4776 * gdb.base/eval-avoid-side-effects.exp
4777 * gdb.base/eval-skip.exp
4778 * gdb.base/exitsignal.exp
4779 * gdb.base/expand-psymtabs.exp
4780 * gdb.base/filesym.exp
4781 * gdb.base/find-unmapped.exp
4782 * gdb.base/finish.exp
4783 * gdb.base/float.exp
4784 * gdb.base/foll-exec-mode.exp
4785 * gdb.base/foll-exec.exp
4786 * gdb.base/foll-fork.exp
4787 * gdb.base/fortran-sym-case.exp
4788 * gdb.base/freebpcmd.exp
4789 * gdb.base/func-ptr.exp
4790 * gdb.base/func-ptrs.exp
4791 * gdb.base/funcargs.exp
4792 * gdb.base/gcore-buffer-overflow.exp
4793 * gdb.base/gcore-relro-pie.exp
4794 * gdb.base/gcore-relro.exp
4795 * gdb.base/gcore.exp
4796 * gdb.base/gdb1090.exp
4797 * gdb.base/gdb11530.exp
4798 * gdb.base/gdb11531.exp
4799 * gdb.base/gdb1821.exp
4800 * gdb.base/gdbindex-stabs.exp
4801 * gdb.base/gdbvars.exp
4802 * gdb.base/hbreak.exp
4803 * gdb.base/hbreak2.exp
4804 * gdb.base/included.exp
4805 * gdb.base/infcall-input.exp
4806 * gdb.base/inferior-died.exp
4807 * gdb.base/infnan.exp
4808 * gdb.base/info-macros.exp
4809 * gdb.base/info-os.exp
4810 * gdb.base/info-proc.exp
4811 * gdb.base/info-shared.exp
4812 * gdb.base/info-target.exp
4813 * gdb.base/infoline.exp
4814 * gdb.base/interp.exp
4815 * gdb.base/interrupt.exp
4816 * gdb.base/jit-reader.exp
4817 * gdb.base/jit-simple.exp
4818 * gdb.base/kill-after-signal.exp
4819 * gdb.base/kill-detach-inferiors-cmd.exp
4820 * gdb.base/label.exp
4821 * gdb.base/langs.exp
4822 * gdb.base/ldbl_e308.exp
4823 * gdb.base/line-symtabs.exp
4824 * gdb.base/linespecs.exp
4825 * gdb.base/list.exp
4826 * gdb.base/long_long.exp
4827 * gdb.base/longest-types.exp
4828 * gdb.base/maint.exp
4829 * gdb.base/max-value-size.exp
4830 * gdb.base/memattr.exp
4831 * gdb.base/mips_pro.exp
4832 * gdb.base/morestack.exp
4833 * gdb.base/moribund-step.exp
4834 * gdb.base/multi-forks.exp
4835 * gdb.base/nested-addr.exp
4836 * gdb.base/nextoverexit.exp
4837 * gdb.base/noreturn-finish.exp
4838 * gdb.base/noreturn-return.exp
4839 * gdb.base/nostdlib.exp
4840 * gdb.base/offsets.exp
4841 * gdb.base/opaque.exp
4842 * gdb.base/pc-fp.exp
4843 * gdb.base/permissions.exp
4844 * gdb.base/print-symbol-loading.exp
4845 * gdb.base/prologue-include.exp
4846 * gdb.base/psymtab.exp
4847 * gdb.base/ptype.exp
4848 * gdb.base/random-signal.exp
4849 * gdb.base/randomize.exp
4850 * gdb.base/range-stepping.exp
4851 * gdb.base/readline-ask.exp
4852 * gdb.base/recpar.exp
4853 * gdb.base/recurse.exp
4854 * gdb.base/relational.exp
4855 * gdb.base/restore.exp
4856 * gdb.base/return-nodebug.exp
4857 * gdb.base/return.exp
4858 * gdb.base/run-after-attach.exp
4859 * gdb.base/save-bp.exp
4860 * gdb.base/scope.exp
4861 * gdb.base/sect-cmd.exp
4862 * gdb.base/set-lang-auto.exp
4863 * gdb.base/set-noassign.exp
4864 * gdb.base/setvar.exp
4865 * gdb.base/sigall.exp
4866 * gdb.base/sigbpt.exp
4867 * gdb.base/siginfo-addr.exp
4868 * gdb.base/siginfo-infcall.exp
4869 * gdb.base/siginfo-obj.exp
4870 * gdb.base/siginfo.exp
4871 * gdb.base/signals-state-child.exp
4872 * gdb.base/signest.exp
4873 * gdb.base/sigstep.exp
4874 * gdb.base/sizeof.exp
4875 * gdb.base/skip.exp
4876 * gdb.base/solib-corrupted.exp
4877 * gdb.base/solib-nodir.exp
4878 * gdb.base/solib-search.exp
4879 * gdb.base/stack-checking.exp
4880 * gdb.base/stale-infcall.exp
4881 * gdb.base/stap-probe.exp
4882 * gdb.base/start.exp
4883 * gdb.base/step-break.exp
4884 * gdb.base/step-bt.exp
4885 * gdb.base/step-line.exp
4886 * gdb.base/step-over-exit.exp
4887 * gdb.base/step-over-syscall.exp
4888 * gdb.base/step-resume-infcall.exp
4889 * gdb.base/step-test.exp
4890 * gdb.base/store.exp
4891 * gdb.base/structs3.exp
4892 * gdb.base/sym-file.exp
4893 * gdb.base/symbol-without-target_section.exp
4894 * gdb.base/term.exp
4895 * gdb.base/testenv.exp
4896 * gdb.base/ui-redirect.exp
4897 * gdb.base/until.exp
4898 * gdb.base/unwindonsignal.exp
4899 * gdb.base/value-double-free.exp
4900 * gdb.base/vla-datatypes.exp
4901 * gdb.base/vla-ptr.exp
4902 * gdb.base/vla-sideeffect.exp
4903 * gdb.base/volatile.exp
4904 * gdb.base/watch-cond-infcall.exp
4905 * gdb.base/watch-cond.exp
4906 * gdb.base/watch-non-mem.exp
4907 * gdb.base/watch-read.exp
4908 * gdb.base/watch-vfork.exp
4909 * gdb.base/watchpoint-cond-gone.exp
4910 * gdb.base/watchpoint-delete.exp
4911 * gdb.base/watchpoint-hw-hit-once.exp
4912 * gdb.base/watchpoint-hw.exp
4913 * gdb.base/watchpoint-stops-at-right-insn.exp
4914 * gdb.base/watchpoints.exp
4915 * gdb.base/wchar.exp
4916 * gdb.base/whatis-exp.exp
4917 * gdb.btrace/buffer-size.exp
4918 * gdb.btrace/data.exp
4919 * gdb.btrace/delta.exp
4920 * gdb.btrace/dlopen.exp
4921 * gdb.btrace/enable.exp
4922 * gdb.btrace/exception.exp
4923 * gdb.btrace/function_call_history.exp
4924 * gdb.btrace/gcore.exp
4925 * gdb.btrace/instruction_history.exp
4926 * gdb.btrace/nohist.exp
4927 * gdb.btrace/reconnect.exp
4928 * gdb.btrace/record_goto-step.exp
4929 * gdb.btrace/record_goto.exp
4930 * gdb.btrace/rn-dl-bind.exp
4931 * gdb.btrace/segv.exp
4932 * gdb.btrace/step.exp
4933 * gdb.btrace/stepi.exp
4934 * gdb.btrace/tailcall-only.exp
4935 * gdb.btrace/tailcall.exp
4936 * gdb.btrace/tsx.exp
4937 * gdb.btrace/unknown_functions.exp
4938 * gdb.btrace/vdso.exp
4939 * gdb.compile/compile-ifunc.exp
4940 * gdb.compile/compile-ops.exp
4941 * gdb.compile/compile-print.exp
4942 * gdb.compile/compile-setjmp.exp
4943 * gdb.cp/abstract-origin.exp
4944 * gdb.cp/ambiguous.exp
4945 * gdb.cp/annota2.exp
4946 * gdb.cp/annota3.exp
4947 * gdb.cp/anon-ns.exp
4948 * gdb.cp/anon-struct.exp
4949 * gdb.cp/anon-union.exp
4950 * gdb.cp/arg-reference.exp
4951 * gdb.cp/baseenum.exp
4952 * gdb.cp/bool.exp
4953 * gdb.cp/breakpoint.exp
4954 * gdb.cp/bs15503.exp
4955 * gdb.cp/call-c.exp
4956 * gdb.cp/casts.exp
4957 * gdb.cp/chained-calls.exp
4958 * gdb.cp/class2.exp
4959 * gdb.cp/classes.exp
4960 * gdb.cp/cmpd-minsyms.exp
4961 * gdb.cp/converts.exp
4962 * gdb.cp/cp-relocate.exp
4963 * gdb.cp/cpcompletion.exp
4964 * gdb.cp/cpexprs.exp
4965 * gdb.cp/cplabel.exp
4966 * gdb.cp/cplusfuncs.exp
4967 * gdb.cp/cpsizeof.exp
4968 * gdb.cp/ctti.exp
4969 * gdb.cp/derivation.exp
4970 * gdb.cp/destrprint.exp
4971 * gdb.cp/dispcxx.exp
4972 * gdb.cp/enum-class.exp
4973 * gdb.cp/exception.exp
4974 * gdb.cp/exceptprint.exp
4975 * gdb.cp/expand-psymtabs-cxx.exp
4976 * gdb.cp/expand-sals.exp
4977 * gdb.cp/extern-c.exp
4978 * gdb.cp/filename.exp
4979 * gdb.cp/formatted-ref.exp
4980 * gdb.cp/fpointer.exp
4981 * gdb.cp/gdb1355.exp
4982 * gdb.cp/gdb2495.exp
4983 * gdb.cp/hang.exp
4984 * gdb.cp/impl-this.exp
4985 * gdb.cp/infcall-dlopen.exp
4986 * gdb.cp/inherit.exp
4987 * gdb.cp/iostream.exp
4988 * gdb.cp/koenig.exp
4989 * gdb.cp/local.exp
4990 * gdb.cp/m-data.exp
4991 * gdb.cp/m-static.exp
4992 * gdb.cp/mb-ctor.exp
4993 * gdb.cp/mb-inline.exp
4994 * gdb.cp/mb-templates.exp
4995 * gdb.cp/member-name.exp
4996 * gdb.cp/member-ptr.exp
4997 * gdb.cp/meth-typedefs.exp
4998 * gdb.cp/method.exp
4999 * gdb.cp/method2.exp
5000 * gdb.cp/minsym-fallback.exp
5001 * gdb.cp/misc.exp
5002 * gdb.cp/namelessclass.exp
5003 * gdb.cp/namespace-enum.exp
5004 * gdb.cp/namespace-nested-import.exp
5005 * gdb.cp/namespace.exp
5006 * gdb.cp/nextoverthrow.exp
5007 * gdb.cp/no-dmgl-verbose.exp
5008 * gdb.cp/non-trivial-retval.exp
5009 * gdb.cp/noparam.exp
5010 * gdb.cp/nsdecl.exp
5011 * gdb.cp/nsimport.exp
5012 * gdb.cp/nsnested.exp
5013 * gdb.cp/nsnoimports.exp
5014 * gdb.cp/nsrecurs.exp
5015 * gdb.cp/nsstress.exp
5016 * gdb.cp/nsusing.exp
5017 * gdb.cp/operator.exp
5018 * gdb.cp/oranking.exp
5019 * gdb.cp/overload-const.exp
5020 * gdb.cp/overload.exp
5021 * gdb.cp/ovldbreak.exp
5022 * gdb.cp/ovsrch.exp
5023 * gdb.cp/paren-type.exp
5024 * gdb.cp/parse-lang.exp
5025 * gdb.cp/pass-by-ref.exp
5026 * gdb.cp/pr-1023.exp
5027 * gdb.cp/pr-1210.exp
5028 * gdb.cp/pr-574.exp
5029 * gdb.cp/pr10687.exp
5030 * gdb.cp/pr12028.exp
5031 * gdb.cp/pr17132.exp
5032 * gdb.cp/pr17494.exp
5033 * gdb.cp/pr9067.exp
5034 * gdb.cp/pr9167.exp
5035 * gdb.cp/pr9631.exp
5036 * gdb.cp/printmethod.exp
5037 * gdb.cp/psmang.exp
5038 * gdb.cp/psymtab-parameter.exp
5039 * gdb.cp/ptype-cv-cp.exp
5040 * gdb.cp/ptype-flags.exp
5041 * gdb.cp/re-set-overloaded.exp
5042 * gdb.cp/ref-types.exp
5043 * gdb.cp/rtti.exp
5044 * gdb.cp/scope-err.exp
5045 * gdb.cp/shadow.exp
5046 * gdb.cp/smartp.exp
5047 * gdb.cp/static-method.exp
5048 * gdb.cp/static-print-quit.exp
5049 * gdb.cp/temargs.exp
5050 * gdb.cp/templates.exp
5051 * gdb.cp/try_catch.exp
5052 * gdb.cp/typedef-operator.exp
5053 * gdb.cp/typeid.exp
5054 * gdb.cp/userdef.exp
5055 * gdb.cp/using-crash.exp
5056 * gdb.cp/var-tag.exp
5057 * gdb.cp/virtbase.exp
5058 * gdb.cp/virtfunc.exp
5059 * gdb.cp/virtfunc2.exp
5060 * gdb.cp/vla-cxx.exp
5061 * gdb.disasm/t01_mov.exp
5062 * gdb.disasm/t02_mova.exp
5063 * gdb.disasm/t03_add.exp
5064 * gdb.disasm/t04_sub.exp
5065 * gdb.disasm/t05_cmp.exp
5066 * gdb.disasm/t06_ari2.exp
5067 * gdb.disasm/t07_ari3.exp
5068 * gdb.disasm/t08_or.exp
5069 * gdb.disasm/t09_xor.exp
5070 * gdb.disasm/t10_and.exp
5071 * gdb.disasm/t11_logs.exp
5072 * gdb.disasm/t12_bit.exp
5073 * gdb.disasm/t13_otr.exp
5074 * gdb.dlang/circular.exp
5075 * gdb.dwarf2/arr-stride.exp
5076 * gdb.dwarf2/arr-subrange.exp
5077 * gdb.dwarf2/atomic-type.exp
5078 * gdb.dwarf2/bad-regnum.exp
5079 * gdb.dwarf2/bitfield-parent-optimized-out.exp
5080 * gdb.dwarf2/callframecfa.exp
5081 * gdb.dwarf2/clztest.exp
5082 * gdb.dwarf2/corrupt.exp
5083 * gdb.dwarf2/data-loc.exp
5084 * gdb.dwarf2/dup-psym.exp
5085 * gdb.dwarf2/dw2-anon-mptr.exp
5086 * gdb.dwarf2/dw2-anonymous-func.exp
5087 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
5088 * gdb.dwarf2/dw2-bad-unresolved.exp
5089 * gdb.dwarf2/dw2-basic.exp
5090 * gdb.dwarf2/dw2-canonicalize-type.exp
5091 * gdb.dwarf2/dw2-case-insensitive.exp
5092 * gdb.dwarf2/dw2-common-block.exp
5093 * gdb.dwarf2/dw2-compdir-oldgcc.exp
5094 * gdb.dwarf2/dw2-compressed.exp
5095 * gdb.dwarf2/dw2-const.exp
5096 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
5097 * gdb.dwarf2/dw2-cu-size.exp
5098 * gdb.dwarf2/dw2-dup-frame.exp
5099 * gdb.dwarf2/dw2-entry-value.exp
5100 * gdb.dwarf2/dw2-icycle.exp
5101 * gdb.dwarf2/dw2-ifort-parameter.exp
5102 * gdb.dwarf2/dw2-inline-break.exp
5103 * gdb.dwarf2/dw2-inline-param.exp
5104 * gdb.dwarf2/dw2-intercu.exp
5105 * gdb.dwarf2/dw2-intermix.exp
5106 * gdb.dwarf2/dw2-lexical-block-bare.exp
5107 * gdb.dwarf2/dw2-linkage-name-trust.exp
5108 * gdb.dwarf2/dw2-minsym-in-cu.exp
5109 * gdb.dwarf2/dw2-noloc.exp
5110 * gdb.dwarf2/dw2-op-call.exp
5111 * gdb.dwarf2/dw2-op-out-param.exp
5112 * gdb.dwarf2/dw2-opt-structptr.exp
5113 * gdb.dwarf2/dw2-param-error.exp
5114 * gdb.dwarf2/dw2-producer.exp
5115 * gdb.dwarf2/dw2-ranges-base.exp
5116 * gdb.dwarf2/dw2-ref-missing-frame.exp
5117 * gdb.dwarf2/dw2-reg-undefined.exp
5118 * gdb.dwarf2/dw2-regno-invalid.exp
5119 * gdb.dwarf2/dw2-restore.exp
5120 * gdb.dwarf2/dw2-restrict.exp
5121 * gdb.dwarf2/dw2-single-line-discriminators.exp
5122 * gdb.dwarf2/dw2-strp.exp
5123 * gdb.dwarf2/dw2-undefined-ret-addr.exp
5124 * gdb.dwarf2/dw2-unresolved.exp
5125 * gdb.dwarf2/dw2-var-zero-addr.exp
5126 * gdb.dwarf2/dw4-sig-types.exp
5127 * gdb.dwarf2/dwz.exp
5128 * gdb.dwarf2/dynarr-ptr.exp
5129 * gdb.dwarf2/enum-type.exp
5130 * gdb.dwarf2/gdb-index.exp
5131 * gdb.dwarf2/implptr-64bit.exp
5132 * gdb.dwarf2/implptr-optimized-out.exp
5133 * gdb.dwarf2/implptr.exp
5134 * gdb.dwarf2/implref-array.exp
5135 * gdb.dwarf2/implref-const.exp
5136 * gdb.dwarf2/implref-global.exp
5137 * gdb.dwarf2/implref-struct.exp
5138 * gdb.dwarf2/mac-fileno.exp
5139 * gdb.dwarf2/main-subprogram.exp
5140 * gdb.dwarf2/member-ptr-forwardref.exp
5141 * gdb.dwarf2/method-ptr.exp
5142 * gdb.dwarf2/missing-sig-type.exp
5143 * gdb.dwarf2/nonvar-access.exp
5144 * gdb.dwarf2/opaque-type-lookup.exp
5145 * gdb.dwarf2/pieces-optimized-out.exp
5146 * gdb.dwarf2/pieces.exp
5147 * gdb.dwarf2/pr10770.exp
5148 * gdb.dwarf2/pr13961.exp
5149 * gdb.dwarf2/staticvirtual.exp
5150 * gdb.dwarf2/subrange.exp
5151 * gdb.dwarf2/symtab-producer.exp
5152 * gdb.dwarf2/trace-crash.exp
5153 * gdb.dwarf2/typeddwarf.exp
5154 * gdb.dwarf2/valop.exp
5155 * gdb.dwarf2/watch-notconst.exp
5156 * gdb.fortran/array-element.exp
5157 * gdb.fortran/charset.exp
5158 * gdb.fortran/common-block.exp
5159 * gdb.fortran/complex.exp
5160 * gdb.fortran/derived-type-function.exp
5161 * gdb.fortran/derived-type.exp
5162 * gdb.fortran/logical.exp
5163 * gdb.fortran/module.exp
5164 * gdb.fortran/multi-dim.exp
5165 * gdb.fortran/nested-funcs.exp
5166 * gdb.fortran/print-formatted.exp
5167 * gdb.fortran/subarray.exp
5168 * gdb.fortran/vla-alloc-assoc.exp
5169 * gdb.fortran/vla-datatypes.exp
5170 * gdb.fortran/vla-history.exp
5171 * gdb.fortran/vla-ptr-info.exp
5172 * gdb.fortran/vla-ptype-sub.exp
5173 * gdb.fortran/vla-ptype.exp
5174 * gdb.fortran/vla-sizeof.exp
5175 * gdb.fortran/vla-type.exp
5176 * gdb.fortran/vla-value-sub-arbitrary.exp
5177 * gdb.fortran/vla-value-sub-finish.exp
5178 * gdb.fortran/vla-value-sub.exp
5179 * gdb.fortran/vla-value.exp
5180 * gdb.fortran/whatis_type.exp
5181 * gdb.go/chan.exp
5182 * gdb.go/handcall.exp
5183 * gdb.go/hello.exp
5184 * gdb.go/integers.exp
5185 * gdb.go/methods.exp
5186 * gdb.go/package.exp
5187 * gdb.go/strings.exp
5188 * gdb.go/types.exp
5189 * gdb.go/unsafe.exp
5190 * gdb.guile/scm-arch.exp
5191 * gdb.guile/scm-block.exp
5192 * gdb.guile/scm-breakpoint.exp
5193 * gdb.guile/scm-cmd.exp
5194 * gdb.guile/scm-disasm.exp
5195 * gdb.guile/scm-equal.exp
5196 * gdb.guile/scm-frame-args.exp
5197 * gdb.guile/scm-frame-inline.exp
5198 * gdb.guile/scm-frame.exp
5199 * gdb.guile/scm-iterator.exp
5200 * gdb.guile/scm-math.exp
5201 * gdb.guile/scm-objfile.exp
5202 * gdb.guile/scm-ports.exp
5203 * gdb.guile/scm-symbol.exp
5204 * gdb.guile/scm-symtab.exp
5205 * gdb.guile/scm-value-cc.exp
5206 * gdb.guile/types-module.exp
5207 * gdb.linespec/break-ask.exp
5208 * gdb.linespec/cpexplicit.exp
5209 * gdb.linespec/explicit.exp
5210 * gdb.linespec/keywords.exp
5211 * gdb.linespec/linespec.exp
5212 * gdb.linespec/ls-dollar.exp
5213 * gdb.linespec/ls-errs.exp
5214 * gdb.linespec/skip-two.exp
5215 * gdb.linespec/thread.exp
5216 * gdb.mi/mi-async.exp
5217 * gdb.mi/mi-basics.exp
5218 * gdb.mi/mi-break.exp
5219 * gdb.mi/mi-catch-load.exp
5220 * gdb.mi/mi-cli.exp
5221 * gdb.mi/mi-cmd-param-changed.exp
5222 * gdb.mi/mi-console.exp
5223 * gdb.mi/mi-detach.exp
5224 * gdb.mi/mi-disassemble.exp
5225 * gdb.mi/mi-eval.exp
5226 * gdb.mi/mi-file-transfer.exp
5227 * gdb.mi/mi-file.exp
5228 * gdb.mi/mi-fill-memory.exp
5229 * gdb.mi/mi-inheritance-syntax-error.exp
5230 * gdb.mi/mi-linespec-err-cp.exp
5231 * gdb.mi/mi-logging.exp
5232 * gdb.mi/mi-memory-changed.exp
5233 * gdb.mi/mi-read-memory.exp
5234 * gdb.mi/mi-record-changed.exp
5235 * gdb.mi/mi-reg-undefined.exp
5236 * gdb.mi/mi-regs.exp
5237 * gdb.mi/mi-return.exp
5238 * gdb.mi/mi-reverse.exp
5239 * gdb.mi/mi-simplerun.exp
5240 * gdb.mi/mi-solib.exp
5241 * gdb.mi/mi-stack.exp
5242 * gdb.mi/mi-stepi.exp
5243 * gdb.mi/mi-syn-frame.exp
5244 * gdb.mi/mi-until.exp
5245 * gdb.mi/mi-var-block.exp
5246 * gdb.mi/mi-var-child.exp
5247 * gdb.mi/mi-var-cmd.exp
5248 * gdb.mi/mi-var-cp.exp
5249 * gdb.mi/mi-var-display.exp
5250 * gdb.mi/mi-var-invalidate.exp
5251 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
5252 * gdb.mi/mi-vla-fortran.exp
5253 * gdb.mi/mi-watch.exp
5254 * gdb.mi/mi2-var-child.exp
5255 * gdb.mi/user-selected-context-sync.exp
5256 * gdb.modula2/unbounded-array.exp
5257 * gdb.multi/dummy-frame-restore.exp
5258 * gdb.multi/multi-arch-exec.exp
5259 * gdb.multi/multi-arch.exp
5260 * gdb.multi/tids.exp
5261 * gdb.multi/watchpoint-multi.exp
5262 * gdb.opencl/callfuncs.exp
5263 * gdb.opencl/convs_casts.exp
5264 * gdb.opencl/datatypes.exp
5265 * gdb.opencl/operators.exp
5266 * gdb.opencl/vec_comps.exp
5267 * gdb.opt/clobbered-registers-O2.exp
5268 * gdb.opt/inline-break.exp
5269 * gdb.opt/inline-bt.exp
5270 * gdb.opt/inline-cmds.exp
5271 * gdb.opt/inline-locals.exp
5272 * gdb.pascal/case-insensitive-symbols.exp
5273 * gdb.pascal/floats.exp
5274 * gdb.pascal/gdb11492.exp
5275 * gdb.python/lib-types.exp
5276 * gdb.python/py-arch.exp
5277 * gdb.python/py-as-string.exp
5278 * gdb.python/py-bad-printers.exp
5279 * gdb.python/py-block.exp
5280 * gdb.python/py-breakpoint-create-fail.exp
5281 * gdb.python/py-breakpoint.exp
5282 * gdb.python/py-caller-is.exp
5283 * gdb.python/py-cmd.exp
5284 * gdb.python/py-explore-cc.exp
5285 * gdb.python/py-explore.exp
5286 * gdb.python/py-finish-breakpoint.exp
5287 * gdb.python/py-finish-breakpoint2.exp
5288 * gdb.python/py-frame-args.exp
5289 * gdb.python/py-frame-inline.exp
5290 * gdb.python/py-frame.exp
5291 * gdb.python/py-framefilter-mi.exp
5292 * gdb.python/py-infthread.exp
5293 * gdb.python/py-lazy-string.exp
5294 * gdb.python/py-linetable.exp
5295 * gdb.python/py-mi-events.exp
5296 * gdb.python/py-mi-objfile.exp
5297 * gdb.python/py-mi.exp
5298 * gdb.python/py-objfile.exp
5299 * gdb.python/py-pp-integral.exp
5300 * gdb.python/py-pp-maint.exp
5301 * gdb.python/py-pp-re-notag.exp
5302 * gdb.python/py-pp-registration.exp
5303 * gdb.python/py-recurse-unwind.exp
5304 * gdb.python/py-strfns.exp
5305 * gdb.python/py-symbol.exp
5306 * gdb.python/py-symtab.exp
5307 * gdb.python/py-sync-interp.exp
5308 * gdb.python/py-typeprint.exp
5309 * gdb.python/py-unwind-maint.exp
5310 * gdb.python/py-unwind.exp
5311 * gdb.python/py-value-cc.exp
5312 * gdb.python/py-xmethods.exp
5313 * gdb.reverse/amd64-tailcall-reverse.exp
5314 * gdb.reverse/break-precsave.exp
5315 * gdb.reverse/break-reverse.exp
5316 * gdb.reverse/consecutive-precsave.exp
5317 * gdb.reverse/consecutive-reverse.exp
5318 * gdb.reverse/finish-precsave.exp
5319 * gdb.reverse/finish-reverse-bkpt.exp
5320 * gdb.reverse/finish-reverse.exp
5321 * gdb.reverse/fstatat-reverse.exp
5322 * gdb.reverse/getresuid-reverse.exp
5323 * gdb.reverse/i386-precsave.exp
5324 * gdb.reverse/i386-reverse.exp
5325 * gdb.reverse/i386-sse-reverse.exp
5326 * gdb.reverse/i387-env-reverse.exp
5327 * gdb.reverse/i387-stack-reverse.exp
5328 * gdb.reverse/insn-reverse.exp
5329 * gdb.reverse/machinestate-precsave.exp
5330 * gdb.reverse/machinestate.exp
5331 * gdb.reverse/next-reverse-bkpt-over-sr.exp
5332 * gdb.reverse/pipe-reverse.exp
5333 * gdb.reverse/readv-reverse.exp
5334 * gdb.reverse/recvmsg-reverse.exp
5335 * gdb.reverse/rerun-prec.exp
5336 * gdb.reverse/s390-mvcle.exp
5337 * gdb.reverse/step-precsave.exp
5338 * gdb.reverse/step-reverse.exp
5339 * gdb.reverse/time-reverse.exp
5340 * gdb.reverse/until-precsave.exp
5341 * gdb.reverse/until-reverse.exp
5342 * gdb.reverse/waitpid-reverse.exp
5343 * gdb.reverse/watch-precsave.exp
5344 * gdb.reverse/watch-reverse.exp
5345 * gdb.rust/generics.exp
5346 * gdb.rust/methods.exp
5347 * gdb.rust/modules.exp
5348 * gdb.rust/simple.exp
5349 * gdb.server/connect-with-no-symbol-file.exp
5350 * gdb.server/ext-attach.exp
5351 * gdb.server/ext-restart.exp
5352 * gdb.server/ext-wrapper.exp
5353 * gdb.server/file-transfer.exp
5354 * gdb.server/server-exec-info.exp
5355 * gdb.server/server-kill.exp
5356 * gdb.server/server-mon.exp
5357 * gdb.server/wrapper.exp
5358 * gdb.stabs/exclfwd.exp
5359 * gdb.stabs/gdb11479.exp
5360 * gdb.threads/clone-new-thread-event.exp
5361 * gdb.threads/corethreads.exp
5362 * gdb.threads/current-lwp-dead.exp
5363 * gdb.threads/dlopen-libpthread.exp
5364 * gdb.threads/gcore-thread.exp
5365 * gdb.threads/sigstep-threads.exp
5366 * gdb.threads/watchpoint-fork.exp
5367 * gdb.trace/actions-changed.exp
5368 * gdb.trace/backtrace.exp
5369 * gdb.trace/change-loc.exp
5370 * gdb.trace/circ.exp
5371 * gdb.trace/collection.exp
5372 * gdb.trace/disconnected-tracing.exp
5373 * gdb.trace/ftrace.exp
5374 * gdb.trace/mi-trace-frame-collected.exp
5375 * gdb.trace/mi-trace-unavailable.exp
5376 * gdb.trace/mi-traceframe-changed.exp
5377 * gdb.trace/mi-tsv-changed.exp
5378 * gdb.trace/no-attach-trace.exp
5379 * gdb.trace/passc-dyn.exp
5380 * gdb.trace/qtro.exp
5381 * gdb.trace/range-stepping.exp
5382 * gdb.trace/read-memory.exp
5383 * gdb.trace/save-trace.exp
5384 * gdb.trace/signal.exp
5385 * gdb.trace/status-stop.exp
5386 * gdb.trace/tfile.exp
5387 * gdb.trace/trace-break.exp
5388 * gdb.trace/trace-buffer-size.exp
5389 * gdb.trace/trace-condition.exp
5390 * gdb.trace/tracefile-pseudo-reg.exp
5391 * gdb.trace/tstatus.exp
5392 * gdb.trace/unavailable.exp
5393 * gdb.trace/while-dyn.exp
5394 * gdb.trace/while-stepping.exp
5395
5396 2016-12-22 Doug Evans <xdje42@gmail.com>
5397
5398 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
5399 and msymbols.
5400
5401 2016-12-19 Yao Qi <yao.qi@linaro.org>
5402
5403 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
5404 (test_with_self): Don't call do_steps_and_nexts, and remove
5405 code about stepping into xmalloc.
5406
5407 2016-12-09 Yao Qi <yao.qi@linaro.org>
5408
5409 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
5410
5411 2016-12-09 Yao Qi <yao.qi@linaro.org>
5412
5413 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
5414
5415 2016-12-09 Pedro Alves <palves@redhat.com>
5416
5417 * gdb.base/all-architectures-0.exp: New file.
5418 * gdb.base/all-architectures-1.exp: New file.
5419 * gdb.base/all-architectures-2.exp: New file.
5420 * gdb.base/all-architectures-3.exp: New file.
5421 * gdb.base/all-architectures-4.exp: New file.
5422 * gdb.base/all-architectures-5.exp: New file.
5423 * gdb.base/all-architectures-6.exp: New file.
5424 * gdb.base/all-architectures-7.exp: New file.
5425 * gdb.base/all-architectures.exp.in: New file.
5426
5427 2016-12-09 Yao Qi <yao.qi@linaro.org>
5428
5429 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
5430
5431 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
5432
5433 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
5434 possible.
5435 Remove useless pattern-matching code.
5436
5437 2016-12-02 Pedro Alves <palves@redhat.com>
5438
5439 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
5440 procedure.
5441 (top level): Call it.
5442
5443 2016-12-02 Pedro Alves <palves@redhat.com>
5444
5445 * gdb.base/commands.exp (user_defined_command_args_stack_test):
5446 New procedure.
5447 (top level): Call it.
5448
5449 2016-12-02 Pedro Alves <palves@redhat.com>
5450
5451 PR cli/20559
5452 * gdb.base/commands.exp (user_defined_command_args_eval): New
5453 procedure.
5454 (top level): Call it.
5455
5456 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
5457
5458 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
5459 timeout handling.
5460
5461 2016-12-02 Tom Tromey <tom@tromey.com>
5462
5463 * gdb.dwarf2/main-subprogram.c: New file.
5464 * gdb.dwarf2/main-subprogram.exp: New file.
5465
5466 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
5467
5468 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
5469 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
5470 gdb_test_no_output for a couple of cases.
5471 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
5472
5473 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
5474
5475 Fix test names and standardize compilation error messages throughout
5476 the following files:
5477
5478 * gdb.ada/start.exp
5479 * gdb.arch/alpha-step.exp
5480 * gdb.arch/e500-prologue.exp
5481 * gdb.arch/ftrace-insn-reloc.exp
5482 * gdb.arch/gdb1291.exp
5483 * gdb.arch/gdb1431.exp
5484 * gdb.arch/gdb1558.exp
5485 * gdb.arch/i386-dr3-watch.exp
5486 * gdb.arch/i386-sse-stack-align.exp
5487 * gdb.arch/ia64-breakpoint-shadow.exp
5488 * gdb.arch/pa-nullify.exp
5489 * gdb.arch/powerpc-aix-prologue.exp
5490 * gdb.arch/thumb-bx-pc.exp
5491 * gdb.base/annota1.exp
5492 * gdb.base/annota3.exp
5493 * gdb.base/arrayidx.exp
5494 * gdb.base/assign.exp
5495 * gdb.base/attach.exp
5496 * gdb.base/auxv.exp
5497 * gdb.base/bang.exp
5498 * gdb.base/bfp-test.exp
5499 * gdb.base/bigcore.exp
5500 * gdb.base/bitfields2.exp
5501 * gdb.base/break-fun-addr.exp
5502 * gdb.base/break-probes.exp
5503 * gdb.base/call-rt-st.exp
5504 * gdb.base/callexit.exp
5505 * gdb.base/catch-fork-kill.exp
5506 * gdb.base/charset.exp
5507 * gdb.base/checkpoint.exp
5508 * gdb.base/comprdebug.exp
5509 * gdb.base/constvars.exp
5510 * gdb.base/coredump-filter.exp
5511 * gdb.base/cursal.exp
5512 * gdb.base/cvexpr.exp
5513 * gdb.base/detach.exp
5514 * gdb.base/display.exp
5515 * gdb.base/dmsym.exp
5516 * gdb.base/dprintf-pending.exp
5517 * gdb.base/dso2dso.exp
5518 * gdb.base/dtrace-probe.exp
5519 * gdb.base/dump.exp
5520 * gdb.base/enum_cond.exp
5521 * gdb.base/exe-lock.exp
5522 * gdb.base/exec-invalid-sysroot.exp
5523 * gdb.base/execl-update-breakpoints.exp
5524 * gdb.base/exprs.exp
5525 * gdb.base/fileio.exp
5526 * gdb.base/find.exp
5527 * gdb.base/finish.exp
5528 * gdb.base/fixsection.exp
5529 * gdb.base/foll-vfork.exp
5530 * gdb.base/frame-args.exp
5531 * gdb.base/gcore.exp
5532 * gdb.base/gdb1250.exp
5533 * gdb.base/global-var-nested-by-dso.exp
5534 * gdb.base/gnu-ifunc.exp
5535 * gdb.base/hashline1.exp
5536 * gdb.base/hashline2.exp
5537 * gdb.base/hashline3.exp
5538 * gdb.base/hbreak-in-shr-unsupported.exp
5539 * gdb.base/huge.exp
5540 * gdb.base/infcall-input.exp
5541 * gdb.base/info-fun.exp
5542 * gdb.base/info-shared.exp
5543 * gdb.base/jit-simple.exp
5544 * gdb.base/jit-so.exp
5545 * gdb.base/jit.exp
5546 * gdb.base/jump.exp
5547 * gdb.base/label.exp
5548 * gdb.base/lineinc.exp
5549 * gdb.base/logical.exp
5550 * gdb.base/longjmp.exp
5551 * gdb.base/macscp.exp
5552 * gdb.base/miscexprs.exp
5553 * gdb.base/new-ui-echo.exp
5554 * gdb.base/new-ui-pending-input.exp
5555 * gdb.base/new-ui.exp
5556 * gdb.base/nodebug.exp
5557 * gdb.base/nofield.exp
5558 * gdb.base/offsets.exp
5559 * gdb.base/overlays.exp
5560 * gdb.base/pending.exp
5561 * gdb.base/pointers.exp
5562 * gdb.base/pr11022.exp
5563 * gdb.base/printcmds.exp
5564 * gdb.base/prologue.exp
5565 * gdb.base/ptr-typedef.exp
5566 * gdb.base/realname-expand.exp
5567 * gdb.base/relativedebug.exp
5568 * gdb.base/relocate.exp
5569 * gdb.base/remote.exp
5570 * gdb.base/reread.exp
5571 * gdb.base/return2.exp
5572 * gdb.base/savedregs.exp
5573 * gdb.base/sep.exp
5574 * gdb.base/sepdebug.exp
5575 * gdb.base/sepsymtab.exp
5576 * gdb.base/set-inferior-tty.exp
5577 * gdb.base/setshow.exp
5578 * gdb.base/shlib-call.exp
5579 * gdb.base/sigaltstack.exp
5580 * gdb.base/siginfo-addr.exp
5581 * gdb.base/signals.exp
5582 * gdb.base/signull.exp
5583 * gdb.base/sigrepeat.exp
5584 * gdb.base/so-impl-ld.exp
5585 * gdb.base/solib-display.exp
5586 * gdb.base/solib-overlap.exp
5587 * gdb.base/solib-search.exp
5588 * gdb.base/solib-symbol.exp
5589 * gdb.base/structs.exp
5590 * gdb.base/structs2.exp
5591 * gdb.base/symtab-search-order.exp
5592 * gdb.base/twice.exp
5593 * gdb.base/unload.exp
5594 * gdb.base/varargs.exp
5595 * gdb.base/watchpoint-solib.exp
5596 * gdb.base/watchpoint.exp
5597 * gdb.base/whatis.exp
5598 * gdb.base/wrong_frame_bt_full.exp
5599 * gdb.btrace/dlopen.exp
5600 * gdb.cell/ea-standalone.exp
5601 * gdb.cell/ea-test.exp
5602 * gdb.cp/dispcxx.exp
5603 * gdb.cp/gdb2384.exp
5604 * gdb.cp/method2.exp
5605 * gdb.cp/nextoverthrow.exp
5606 * gdb.cp/pr10728.exp
5607 * gdb.disasm/am33.exp
5608 * gdb.disasm/h8300s.exp
5609 * gdb.disasm/mn10300.exp
5610 * gdb.disasm/sh3.exp
5611 * gdb.dwarf2/dw2-dir-file-name.exp
5612 * gdb.fortran/complex.exp
5613 * gdb.fortran/library-module.exp
5614 * gdb.guile/scm-pretty-print.exp
5615 * gdb.guile/scm-symbol.exp
5616 * gdb.guile/scm-type.exp
5617 * gdb.guile/scm-value.exp
5618 * gdb.linespec/linespec.exp
5619 * gdb.mi/gdb701.exp
5620 * gdb.mi/gdb792.exp
5621 * gdb.mi/mi-breakpoint-changed.exp
5622 * gdb.mi/mi-dprintf-pending.exp
5623 * gdb.mi/mi-dprintf.exp
5624 * gdb.mi/mi-exit-code.exp
5625 * gdb.mi/mi-pending.exp
5626 * gdb.mi/mi-solib.exp
5627 * gdb.mi/new-ui-mi-sync.exp
5628 * gdb.mi/pr11022.exp
5629 * gdb.mi/user-selected-context-sync.exp
5630 * gdb.opt/solib-intra-step.exp
5631 * gdb.python/py-events.exp
5632 * gdb.python/py-finish-breakpoint.exp
5633 * gdb.python/py-mi.exp
5634 * gdb.python/py-prettyprint.exp
5635 * gdb.python/py-shared.exp
5636 * gdb.python/py-symbol.exp
5637 * gdb.python/py-template.exp
5638 * gdb.python/py-type.exp
5639 * gdb.python/py-value.exp
5640 * gdb.reverse/solib-precsave.exp
5641 * gdb.reverse/solib-reverse.exp
5642 * gdb.server/solib-list.exp
5643 * gdb.stabs/weird.exp
5644 * gdb.threads/reconnect-signal.exp
5645 * gdb.threads/stepi-random-signal.exp
5646 * gdb.trace/actions.exp
5647 * gdb.trace/ax.exp
5648 * gdb.trace/backtrace.exp
5649 * gdb.trace/change-loc.exp
5650 * gdb.trace/deltrace.exp
5651 * gdb.trace/ftrace-lock.exp
5652 * gdb.trace/ftrace.exp
5653 * gdb.trace/infotrace.exp
5654 * gdb.trace/mi-tracepoint-changed.exp
5655 * gdb.trace/packetlen.exp
5656 * gdb.trace/passcount.exp
5657 * gdb.trace/pending.exp
5658 * gdb.trace/range-stepping.exp
5659 * gdb.trace/report.exp
5660 * gdb.trace/stap-trace.exp
5661 * gdb.trace/tfind.exp
5662 * gdb.trace/trace-break.exp
5663 * gdb.trace/trace-condition.exp
5664 * gdb.trace/trace-enable-disable.exp
5665 * gdb.trace/trace-mt.exp
5666 * gdb.trace/tracecmd.exp
5667 * gdb.trace/tspeed.exp
5668 * gdb.trace/tsv.exp
5669 * lib/perftest.exp
5670
5671 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
5672
5673 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
5674 with gdb_test_no_output.
5675 Use command as test name.
5676
5677 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
5678
5679 Fix test names starting with uppercase throughout the files.
5680
5681 * gdb.ada/assign_1.exp
5682 * gdb.ada/boolean_expr.exp
5683 * gdb.base/arrayidx.exp
5684 * gdb.base/del.exp
5685 * gdb.base/gcore-buffer-overflow.exp
5686 * gdb.base/testenv.exp
5687 * gdb.compile/compile.exp
5688 * gdb.python/py-framefilter-invalidarg.exp
5689 * gdb.python/py-framefilter.exp
5690
5691 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
5692
5693 Fix test names starting with uppercase throughout the files.
5694
5695 * gdb.ada/array_return.exp
5696 * gdb.ada/expr_delims.exp
5697 * gdb.ada/mi_dyn_arr.exp
5698 * gdb.ada/mi_interface.exp
5699 * gdb.ada/mi_var_array.exp
5700 * gdb.ada/watch_arg.exp
5701 * gdb.arch/alpha-step.exp
5702 * gdb.arch/altivec-regs.exp
5703 * gdb.arch/e500-regs.exp
5704 * gdb.arch/powerpc-d128-regs.exp
5705 * gdb.base/arrayidx.exp
5706 * gdb.base/break.exp
5707 * gdb.base/checkpoint.exp
5708 * gdb.base/debug-expr.exp
5709 * gdb.base/dmsym.exp
5710 * gdb.base/radix.exp
5711 * gdb.base/sepdebug.exp
5712 * gdb.base/testenv.exp
5713 * gdb.base/watch_thread_num.exp
5714 * gdb.base/watchpoint-cond-gone.exp
5715 * gdb.cell/break.exp
5716 * gdb.cell/ea-cache.exp
5717 * gdb.compile/compile.exp
5718 * gdb.cp/gdb2495.exp
5719 * gdb.gdb/selftest.exp
5720 * gdb.gdb/xfullpath.exp
5721 * gdb.go/hello.exp
5722 * gdb.go/integers.exp
5723 * gdb.objc/basicclass.exp
5724 * gdb.pascal/hello.exp
5725 * gdb.pascal/integers.exp
5726 * gdb.python/py-breakpoint.exp
5727 * gdb.python/py-cmd.exp
5728 * gdb.python/py-linetable.exp
5729 * gdb.python/py-xmethods.exp
5730 * gdb.python/python.exp
5731 * gdb.reverse/consecutive-precsave.exp
5732 * gdb.reverse/finish-precsave.exp
5733 * gdb.reverse/i386-precsave.exp
5734 * gdb.reverse/machinestate-precsave.exp
5735 * gdb.reverse/sigall-precsave.exp
5736 * gdb.reverse/solib-precsave.exp
5737 * gdb.reverse/step-precsave.exp
5738 * gdb.reverse/until-precsave.exp
5739 * gdb.reverse/watch-precsave.exp
5740 * gdb.threads/leader-exit.exp
5741 * gdb.threads/pthreads.exp
5742 * gdb.threads/wp-replication.exp
5743 * gdb.trace/actions.exp
5744 * gdb.trace/mi-tsv-changed.exp
5745 * gdb.trace/tsv.exp
5746
5747 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
5748
5749 Fix test names starting with uppercase throughout the files.
5750
5751 * gdb.arch/i386-bp_permanent.exp
5752 * gdb.arch/i386-gnu-cfi.exp
5753 * gdb.base/disasm-end-cu.exp
5754 * gdb.base/macscp.exp
5755 * gdb.base/pending.exp
5756 * gdb.base/watch_thread_num.exp
5757 * gdb.cp/exception.exp
5758 * gdb.cp/gdb2495.exp
5759 * gdb.cp/local.exp
5760 * gdb.python/py-evsignal.exp
5761 * gdb.python/python.exp
5762 * gdb.trace/tracecmd.exp
5763
5764 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
5765
5766 Fix test names starting with uppercase throughout the files.
5767
5768 * gdb.base/charset.exp
5769 * gdb.base/eval.exp
5770 * gdb.base/multi-forks.exp
5771 * gdb.guile/scm-progspace.exp
5772 * gdb.opencl/datatypes.exp
5773 * gdb.python/py-block.exp
5774 * gdb.python/py-function.exp
5775 * gdb.python/py-symbol.exp
5776 * gdb.python/py-symtab.exp
5777 * gdb.python/py-xmethods.exp
5778 * gdb.reverse/break-precsave.exp
5779 * gdb.reverse/break-reverse.exp
5780 * gdb.reverse/consecutive-precsave.exp
5781 * gdb.reverse/consecutive-reverse.exp
5782 * gdb.reverse/finish-precsave.exp
5783 * gdb.reverse/finish-reverse-bkpt.exp
5784 * gdb.reverse/finish-reverse.exp
5785 * gdb.reverse/fstatat-reverse.exp
5786 * gdb.reverse/getresuid-reverse.exp
5787 * gdb.reverse/i386-precsave.exp
5788 * gdb.reverse/i386-reverse.exp
5789 * gdb.reverse/i386-sse-reverse.exp
5790 * gdb.reverse/i387-stack-reverse.exp
5791 * gdb.reverse/insn-reverse.exp
5792 * gdb.reverse/machinestate-precsave.exp
5793 * gdb.reverse/machinestate.exp
5794 * gdb.reverse/next-reverse-bkpt-over-sr.exp
5795 * gdb.reverse/pipe-reverse.exp
5796 * gdb.reverse/readv-reverse.exp
5797 * gdb.reverse/recvmsg-reverse.exp
5798 * gdb.reverse/rerun-prec.exp
5799 * gdb.reverse/s390-mvcle.exp
5800 * gdb.reverse/sigall-precsave.exp
5801 * gdb.reverse/sigall-reverse.exp
5802 * gdb.reverse/solib-precsave.exp
5803 * gdb.reverse/solib-reverse.exp
5804 * gdb.reverse/step-precsave.exp
5805 * gdb.reverse/step-reverse.exp
5806 * gdb.reverse/time-reverse.exp
5807 * gdb.reverse/until-precsave.exp
5808 * gdb.reverse/until-reverse.exp
5809 * gdb.reverse/waitpid-reverse.exp
5810 * gdb.reverse/watch-precsave.exp
5811 * gdb.reverse/watch-reverse.exp
5812
5813 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
5814
5815 Fix test names starting with uppercase throughout the files.
5816
5817 * gdb.arch/i386-mpx-simple_segv.exp
5818 * gdb.arch/i386-mpx.exp
5819 * gdb.arch/i386-permbkpt.exp
5820 * gdb.arch/pa-nullify.exp
5821 * gdb.arch/powerpc-d128-regs.exp
5822 * gdb.arch/vsx-regs.exp
5823 * gdb.base/bfp-test.exp
5824 * gdb.base/break.exp
5825 * gdb.base/breakpoint-shadow.exp
5826 * gdb.base/callfuncs.exp
5827 * gdb.base/charset.exp
5828 * gdb.base/commands.exp
5829 * gdb.base/completion.exp
5830 * gdb.base/dfp-test.exp
5831 * gdb.base/echo.exp
5832 * gdb.base/ending-run.exp
5833 * gdb.base/eval.exp
5834 * gdb.base/expand-psymtabs.exp
5835 * gdb.base/float128.exp
5836 * gdb.base/floatn.exp
5837 * gdb.base/foll-exec-mode.exp
5838 * gdb.base/gdb1056.exp
5839 * gdb.base/gdb11531.exp
5840 * gdb.base/kill-after-signal.exp
5841 * gdb.base/multi-forks.exp
5842 * gdb.base/overlays.exp
5843 * gdb.base/pending.exp
5844 * gdb.base/sepdebug.exp
5845 * gdb.base/testenv.exp
5846 * gdb.base/valgrind-db-attach.exp
5847 * gdb.base/watch_thread_num.exp
5848 * gdb.base/watchpoint-cond-gone.exp
5849 * gdb.base/watchpoint.exp
5850 * gdb.base/watchpoints.exp
5851 * gdb.cp/arg-reference.exp
5852 * gdb.cp/baseenum.exp
5853 * gdb.cp/operator.exp
5854 * gdb.cp/shadow.exp
5855 * gdb.dwarf2/dw2-op-out-param.exp
5856 * gdb.dwarf2/dw2-reg-undefined.exp
5857 * gdb.go/chan.exp
5858 * gdb.go/hello.exp
5859 * gdb.go/integers.exp
5860 * gdb.go/methods.exp
5861 * gdb.go/package.exp
5862 * gdb.guile/scm-parameter.exp
5863 * gdb.guile/scm-progspace.exp
5864 * gdb.guile/scm-value.exp
5865 * gdb.mi/mi-pending.exp
5866 * gdb.mi/user-selected-context-sync.exp
5867 * gdb.multi/multi-attach.exp
5868 * gdb.multi/tids.exp
5869 * gdb.opt/clobbered-registers-O2.exp
5870 * gdb.pascal/floats.exp
5871 * gdb.pascal/integers.exp
5872 * gdb.python/py-block.exp
5873 * gdb.python/py-events.exp
5874 * gdb.python/py-parameter.exp
5875 * gdb.python/py-symbol.exp
5876 * gdb.python/py-symtab.exp
5877 * gdb.python/py-type.exp
5878 * gdb.python/py-value.exp
5879 * gdb.python/py-xmethods.exp
5880 * gdb.python/python.exp
5881 * gdb.reverse/break-precsave.exp
5882 * gdb.reverse/consecutive-precsave.exp
5883 * gdb.reverse/finish-precsave.exp
5884 * gdb.reverse/i386-precsave.exp
5885 * gdb.reverse/machinestate-precsave.exp
5886 * gdb.reverse/sigall-precsave.exp
5887 * gdb.reverse/solib-precsave.exp
5888 * gdb.reverse/step-precsave.exp
5889 * gdb.reverse/until-precsave.exp
5890 * gdb.reverse/watch-precsave.exp
5891 * gdb.server/ext-attach.exp
5892 * gdb.server/ext-restart.exp
5893 * gdb.server/ext-run.exp
5894 * gdb.server/ext-wrapper.exp
5895 * gdb.stabs/gdb11479.exp
5896 * gdb.stabs/weird.exp
5897 * gdb.threads/attach-many-short-lived-threads.exp
5898 * gdb.threads/kill.exp
5899 * gdb.threads/watchpoint-fork.exp
5900
5901 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
5902
5903 Fix test names starting with uppercase throughout all the files below.
5904
5905 * gdb.ada/array_return.exp
5906 * gdb.ada/catch_ex.exp
5907 * gdb.ada/info_exc.exp
5908 * gdb.ada/mi_catch_ex.exp
5909 * gdb.ada/mi_dyn_arr.exp
5910 * gdb.ada/mi_ex_cond.exp
5911 * gdb.ada/mi_exc_info.exp
5912 * gdb.ada/mi_interface.exp
5913 * gdb.ada/mi_task_arg.exp
5914 * gdb.ada/mi_task_info.exp
5915 * gdb.ada/mi_var_array.exp
5916 * gdb.arch/alpha-step.exp
5917 * gdb.arch/amd64-disp-step.exp
5918 * gdb.arch/arm-disp-step.exp
5919 * gdb.arch/disp-step-insn-reloc.exp
5920 * gdb.arch/e500-prologue.exp
5921 * gdb.arch/ftrace-insn-reloc.exp
5922 * gdb.arch/gdb1558.exp
5923 * gdb.arch/i386-bp_permanent.exp
5924 * gdb.arch/i386-disp-step.exp
5925 * gdb.arch/i386-float.exp
5926 * gdb.arch/i386-gnu-cfi.exp
5927 * gdb.arch/ia64-breakpoint-shadow.exp
5928 * gdb.arch/mips16-thunks.exp
5929 * gdb.arch/pa-nullify.exp
5930 * gdb.arch/powerpc-aix-prologue.exp
5931 * gdb.arch/powerpc-power.exp
5932 * gdb.arch/ppc-dfp.exp
5933 * gdb.arch/s390-tdbregs.exp
5934 * gdb.arch/spu-info.exp
5935 * gdb.arch/spu-ls.exp
5936 * gdb.arch/thumb-bx-pc.exp
5937 * gdb.base/advance.exp
5938 * gdb.base/annota-input-while-running.exp
5939 * gdb.base/arrayidx.exp
5940 * gdb.base/asmlabel.exp
5941 * gdb.base/async.exp
5942 * gdb.base/attach-wait-input.exp
5943 * gdb.base/auto-connect-native-target.exp
5944 * gdb.base/batch-preserve-term-settings.exp
5945 * gdb.base/bfp-test.exp
5946 * gdb.base/bigcore.exp
5947 * gdb.base/bp-permanent.exp
5948 * gdb.base/break-always.exp
5949 * gdb.base/break-fun-addr.exp
5950 * gdb.base/break-idempotent.exp
5951 * gdb.base/break-main-file-remove-fail.exp
5952 * gdb.base/break-probes.exp
5953 * gdb.base/break-unload-file.exp
5954 * gdb.base/break.exp
5955 * gdb.base/call-ar-st.exp
5956 * gdb.base/call-rt-st.exp
5957 * gdb.base/call-sc.exp
5958 * gdb.base/call-signal-resume.exp
5959 * gdb.base/call-strs.exp
5960 * gdb.base/callexit.exp
5961 * gdb.base/callfuncs.exp
5962 * gdb.base/catch-gdb-caused-signals.exp
5963 * gdb.base/catch-signal-siginfo-cond.exp
5964 * gdb.base/catch-syscall.exp
5965 * gdb.base/compare-sections.exp
5966 * gdb.base/cond-eval-mode.exp
5967 * gdb.base/condbreak-call-false.exp
5968 * gdb.base/consecutive-step-over.exp
5969 * gdb.base/cursal.exp
5970 * gdb.base/disabled-location.exp
5971 * gdb.base/disasm-end-cu.exp
5972 * gdb.base/display.exp
5973 * gdb.base/double-prompt-target-event-error.exp
5974 * gdb.base/dprintf-bp-same-addr.exp
5975 * gdb.base/dprintf-detach.exp
5976 * gdb.base/dprintf-next.exp
5977 * gdb.base/dprintf-non-stop.exp
5978 * gdb.base/dprintf-pending.exp
5979 * gdb.base/dso2dso.exp
5980 * gdb.base/ending-run.exp
5981 * gdb.base/enum_cond.exp
5982 * gdb.base/examine-backward.exp
5983 * gdb.base/exe-lock.exp
5984 * gdb.base/exec-invalid-sysroot.exp
5985 * gdb.base/execl-update-breakpoints.exp
5986 * gdb.base/execution-termios.exp
5987 * gdb.base/fileio.exp
5988 * gdb.base/fixsection.exp
5989 * gdb.base/foll-exec-mode.exp
5990 * gdb.base/foll-exec.exp
5991 * gdb.base/fork-running-state.exp
5992 * gdb.base/frame-args.exp
5993 * gdb.base/fullpath-expand.exp
5994 * gdb.base/func-ptr.exp
5995 * gdb.base/gcore-relro-pie.exp
5996 * gdb.base/gdb1090.exp
5997 * gdb.base/gdb1555.exp
5998 * gdb.base/global-var-nested-by-dso.exp
5999 * gdb.base/gnu-ifunc.exp
6000 * gdb.base/hbreak-in-shr-unsupported.exp
6001 * gdb.base/hbreak-unmapped.exp
6002 * gdb.base/hook-stop.exp
6003 * gdb.base/infcall-input.exp
6004 * gdb.base/info-fun.exp
6005 * gdb.base/info-shared.exp
6006 * gdb.base/interrupt-noterm.exp
6007 * gdb.base/jit-so.exp
6008 * gdb.base/jit.exp
6009 * gdb.base/line-symtabs.exp
6010 * gdb.base/list.exp
6011 * gdb.base/longjmp.exp
6012 * gdb.base/macscp.exp
6013 * gdb.base/max-value-size.exp
6014 * gdb.base/nodebug.exp
6015 * gdb.base/nofield.exp
6016 * gdb.base/overlays.exp
6017 * gdb.base/paginate-after-ctrl-c-running.exp
6018 * gdb.base/paginate-bg-execution.exp
6019 * gdb.base/paginate-inferior-exit.exp
6020 * gdb.base/pending.exp
6021 * gdb.base/pr11022.exp
6022 * gdb.base/printcmds.exp
6023 * gdb.base/ptr-typedef.exp
6024 * gdb.base/ptype.exp
6025 * gdb.base/randomize.exp
6026 * gdb.base/range-stepping.exp
6027 * gdb.base/realname-expand.exp
6028 * gdb.base/relativedebug.exp
6029 * gdb.base/remote.exp
6030 * gdb.base/savedregs.exp
6031 * gdb.base/sepdebug.exp
6032 * gdb.base/set-noassign.exp
6033 * gdb.base/shlib-call.exp
6034 * gdb.base/shreloc.exp
6035 * gdb.base/sigaltstack.exp
6036 * gdb.base/sigbpt.exp
6037 * gdb.base/siginfo-addr.exp
6038 * gdb.base/siginfo-obj.exp
6039 * gdb.base/siginfo-thread.exp
6040 * gdb.base/signest.exp
6041 * gdb.base/signull.exp
6042 * gdb.base/sigrepeat.exp
6043 * gdb.base/skip.exp
6044 * gdb.base/so-impl-ld.exp
6045 * gdb.base/solib-corrupted.exp
6046 * gdb.base/solib-disc.exp
6047 * gdb.base/solib-display.exp
6048 * gdb.base/solib-overlap.exp
6049 * gdb.base/solib-search.exp
6050 * gdb.base/solib-symbol.exp
6051 * gdb.base/source-execution.exp
6052 * gdb.base/sss-bp-on-user-bp-2.exp
6053 * gdb.base/sss-bp-on-user-bp.exp
6054 * gdb.base/stack-checking.exp
6055 * gdb.base/stale-infcall.exp
6056 * gdb.base/step-break.exp
6057 * gdb.base/step-line.exp
6058 * gdb.base/step-over-exit.exp
6059 * gdb.base/step-test.exp
6060 * gdb.base/structs.exp
6061 * gdb.base/sym-file.exp
6062 * gdb.base/symtab-search-order.exp
6063 * gdb.base/term.exp
6064 * gdb.base/type-opaque.exp
6065 * gdb.base/unload.exp
6066 * gdb.base/until-nodebug.exp
6067 * gdb.base/until.exp
6068 * gdb.base/unwindonsignal.exp
6069 * gdb.base/watch-cond.exp
6070 * gdb.base/watch-non-mem.exp
6071 * gdb.base/watch_thread_num.exp
6072 * gdb.base/watchpoint-reuse-slot.exp
6073 * gdb.base/watchpoint-solib.exp
6074 * gdb.base/watchpoint.exp
6075 * gdb.btrace/dlopen.exp
6076 * gdb.cell/arch.exp
6077 * gdb.cell/break.exp
6078 * gdb.cell/bt.exp
6079 * gdb.cell/core.exp
6080 * gdb.cell/data.exp
6081 * gdb.cell/dwarfaddr.exp
6082 * gdb.cell/ea-cache.exp
6083 * gdb.cell/ea-standalone.exp
6084 * gdb.cell/ea-test.exp
6085 * gdb.cell/f-regs.exp
6086 * gdb.cell/fork.exp
6087 * gdb.cell/gcore.exp
6088 * gdb.cell/mem-access.exp
6089 * gdb.cell/ptype.exp
6090 * gdb.cell/registers.exp
6091 * gdb.cell/sizeof.exp
6092 * gdb.cell/solib-symbol.exp
6093 * gdb.cell/solib.exp
6094 * gdb.compile/compile-tls.exp
6095 * gdb.cp/exception.exp
6096 * gdb.cp/gdb2495.exp
6097 * gdb.cp/local.exp
6098 * gdb.cp/mb-inline.exp
6099 * gdb.cp/mb-templates.exp
6100 * gdb.cp/pr10687.exp
6101 * gdb.cp/pr9167.exp
6102 * gdb.cp/scope-err.exp
6103 * gdb.cp/templates.exp
6104 * gdb.cp/virtfunc.exp
6105 * gdb.dwarf2/dw2-dir-file-name.exp
6106 * gdb.dwarf2/dw2-single-line-discriminators.exp
6107 * gdb.fortran/complex.exp
6108 * gdb.fortran/library-module.exp
6109 * gdb.guile/guile.exp
6110 * gdb.guile/scm-cmd.exp
6111 * gdb.guile/scm-frame-inline.exp
6112 * gdb.guile/scm-objfile.exp
6113 * gdb.guile/scm-pretty-print.exp
6114 * gdb.guile/scm-symbol.exp
6115 * gdb.guile/scm-type.exp
6116 * gdb.guile/scm-value.exp
6117 * gdb.linespec/keywords.exp
6118 * gdb.linespec/ls-errs.exp
6119 * gdb.linespec/macro-relative.exp
6120 * gdb.linespec/thread.exp
6121 * gdb.mi/mi-breakpoint-changed.exp
6122 * gdb.mi/mi-dprintf-pending.exp
6123 * gdb.mi/mi-fullname-deleted.exp
6124 * gdb.mi/mi-logging.exp
6125 * gdb.mi/mi-pending.exp
6126 * gdb.mi/mi-solib.exp
6127 * gdb.mi/new-ui-mi-sync.exp
6128 * gdb.mi/user-selected-context-sync.exp
6129 * gdb.multi/dummy-frame-restore.exp
6130 * gdb.multi/multi-arch-exec.exp
6131 * gdb.multi/remove-inferiors.exp
6132 * gdb.multi/watchpoint-multi-exit.exp
6133 * gdb.opt/solib-intra-step.exp
6134 * gdb.perf/backtrace.exp
6135 * gdb.perf/single-step.exp
6136 * gdb.perf/skip-command.exp
6137 * gdb.perf/skip-prologue.exp
6138 * gdb.perf/solib.exp
6139 * gdb.python/lib-types.exp
6140 * gdb.python/py-as-string.exp
6141 * gdb.python/py-bad-printers.exp
6142 * gdb.python/py-block.exp
6143 * gdb.python/py-breakpoint.exp
6144 * gdb.python/py-cmd.exp
6145 * gdb.python/py-events.exp
6146 * gdb.python/py-evthreads.exp
6147 * gdb.python/py-finish-breakpoint.exp
6148 * gdb.python/py-finish-breakpoint2.exp
6149 * gdb.python/py-frame-inline.exp
6150 * gdb.python/py-frame.exp
6151 * gdb.python/py-inferior.exp
6152 * gdb.python/py-infthread.exp
6153 * gdb.python/py-mi.exp
6154 * gdb.python/py-objfile.exp
6155 * gdb.python/py-pp-maint.exp
6156 * gdb.python/py-pp-registration.exp
6157 * gdb.python/py-prettyprint.exp
6158 * gdb.python/py-recurse-unwind.exp
6159 * gdb.python/py-shared.exp
6160 * gdb.python/py-symbol.exp
6161 * gdb.python/py-symtab.exp
6162 * gdb.python/py-template.exp
6163 * gdb.python/py-type.exp
6164 * gdb.python/py-unwind-maint.exp
6165 * gdb.python/py-unwind.exp
6166 * gdb.python/py-value.exp
6167 * gdb.python/python.exp
6168 * gdb.reverse/finish-reverse-bkpt.exp
6169 * gdb.reverse/insn-reverse.exp
6170 * gdb.reverse/next-reverse-bkpt-over-sr.exp
6171 * gdb.reverse/solib-precsave.exp
6172 * gdb.reverse/solib-reverse.exp
6173 * gdb.stabs/gdb11479.exp
6174 * gdb.stabs/weird.exp
6175 * gdb.threads/fork-child-threads.exp
6176 * gdb.threads/fork-plus-threads.exp
6177 * gdb.threads/fork-thread-pending.exp
6178 * gdb.threads/forking-threads-plus-breakpoint.exp
6179 * gdb.threads/hand-call-in-threads.exp
6180 * gdb.threads/interrupted-hand-call.exp
6181 * gdb.threads/linux-dp.exp
6182 * gdb.threads/local-watch-wrong-thread.exp
6183 * gdb.threads/next-while-other-thread-longjmps.exp
6184 * gdb.threads/non-ldr-exit.exp
6185 * gdb.threads/pending-step.exp
6186 * gdb.threads/print-threads.exp
6187 * gdb.threads/process-dies-while-detaching.exp
6188 * gdb.threads/process-dies-while-handling-bp.exp
6189 * gdb.threads/pthreads.exp
6190 * gdb.threads/queue-signal.exp
6191 * gdb.threads/reconnect-signal.exp
6192 * gdb.threads/signal-command-handle-nopass.exp
6193 * gdb.threads/signal-command-multiple-signals-pending.exp
6194 * gdb.threads/signal-delivered-right-thread.exp
6195 * gdb.threads/signal-sigtrap.exp
6196 * gdb.threads/sigthread.exp
6197 * gdb.threads/staticthreads.exp
6198 * gdb.threads/stepi-random-signal.exp
6199 * gdb.threads/thread-unwindonsignal.exp
6200 * gdb.threads/thread_check.exp
6201 * gdb.threads/thread_events.exp
6202 * gdb.threads/tid-reuse.exp
6203 * gdb.threads/tls-nodebug.exp
6204 * gdb.threads/tls-shared.exp
6205 * gdb.threads/tls-so_extern.exp
6206 * gdb.threads/tls.exp
6207 * gdb.threads/wp-replication.exp
6208 * gdb.trace/actions-changed.exp
6209 * gdb.trace/actions.exp
6210 * gdb.trace/backtrace.exp
6211 * gdb.trace/change-loc.exp
6212 * gdb.trace/collection.exp
6213 * gdb.trace/deltrace.exp
6214 * gdb.trace/disconnected-tracing.exp
6215 * gdb.trace/entry-values.exp
6216 * gdb.trace/ftrace-lock.exp
6217 * gdb.trace/ftrace.exp
6218 * gdb.trace/infotrace.exp
6219 * gdb.trace/mi-trace-frame-collected.exp
6220 * gdb.trace/mi-trace-unavailable.exp
6221 * gdb.trace/mi-traceframe-changed.exp
6222 * gdb.trace/mi-tracepoint-changed.exp
6223 * gdb.trace/mi-tsv-changed.exp
6224 * gdb.trace/no-attach-trace.exp
6225 * gdb.trace/packetlen.exp
6226 * gdb.trace/passc-dyn.exp
6227 * gdb.trace/passcount.exp
6228 * gdb.trace/pending.exp
6229 * gdb.trace/pr16508.exp
6230 * gdb.trace/qtro.exp
6231 * gdb.trace/range-stepping.exp
6232 * gdb.trace/read-memory.exp
6233 * gdb.trace/report.exp
6234 * gdb.trace/save-trace.exp
6235 * gdb.trace/signal.exp
6236 * gdb.trace/stap-trace.exp
6237 * gdb.trace/status-stop.exp
6238 * gdb.trace/strace.exp
6239 * gdb.trace/tfile.exp
6240 * gdb.trace/tfind.exp
6241 * gdb.trace/trace-break.exp
6242 * gdb.trace/trace-condition.exp
6243 * gdb.trace/trace-enable-disable.exp
6244 * gdb.trace/trace-mt.exp
6245 * gdb.trace/tracecmd.exp
6246 * gdb.trace/tracefile-pseudo-reg.exp
6247 * gdb.trace/tspeed.exp
6248 * gdb.trace/tstatus.exp
6249 * gdb.trace/tsv.exp
6250 * gdb.trace/unavailable.exp
6251 * gdb.trace/while-dyn.exp
6252 * gdb.trace/while-stepping.exp
6253 * lib/gdb-guile.exp
6254 * lib/gdb.exp
6255 * lib/mi-support.exp
6256 * lib/pascal.exp
6257 * lib/perftest.exp
6258 * lib/prelink-support.exp
6259 * lib/selftest-support.exp
6260
6261 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
6262
6263 * Makefile.in: Include disable-implicit-rules.mk.
6264
6265 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
6266
6267 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
6268 non-byte-aligned bit fields.
6269
6270 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
6271
6272 PR gdb/12616
6273 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
6274 respects the DW_AT_data_bit_offset attribute.
6275
6276 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
6277
6278 * gdb.base/default.exp: Fix output of "set language".
6279
6280 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
6281
6282 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
6283 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
6284 make.
6285 * configure.ac: Remove checks for the make program.
6286 * configure: Re-generate.
6287
6288 2016-11-16 Kevin Buettner <kevinb@redhat.com>
6289
6290 * gdb.python/py-recurse-unwind.c (main): Add loop.
6291 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
6292 to read_register() and gdb.parse_and_eval(). Make each code
6293 call a separate case that can be individually tested.
6294 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
6295 proc. Call cont_and_backtrace for each of the code paths that
6296 we want to test in the unwinder.
6297
6298 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
6299
6300 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
6301 the definition of struct S.
6302
6303 2016-11-11 Catherine Moore <clm@codesourcery.com>
6304
6305 * gdb.base/dump.exp: Identify verilog format dump tests as such.
6306
6307 2016-11-09 Pedro Alves <palves@redhat.com>
6308
6309 * gdb.base/commands.exp (runto_or_return): New procedure.
6310 (gdbvar_simple_if_test, gdbvar_simple_while_test)
6311 (gdbvar_complex_if_while_test, progvar_simple_if_test)
6312 (progvar_simple_while_test, progvar_complex_if_while_test)
6313 (if_while_breakpoint_command_test)
6314 (infrun_breakpoint_command_test, breakpoint_command_test)
6315 (user_defined_command_test, watchpoint_command_test)
6316 (test_command_prompt_position, redefine_hook_test)
6317 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
6318 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
6319 multi_line_input and multi_line. Remove gdb_expect and
6320 gdb_stop_suppressing_tests uses.
6321 * lib/gdb.exp (valnum_re): New global.
6322 (multi_line_input): New procedure.
6323
6324 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
6325
6326 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
6327 Remove.
6328 (test_setup): Define with proc_with_prefix.
6329 (test_cli_inferior): Likewise.
6330 (test_cli_thread): Likewise.
6331 (test_cli_frame): Likewise.
6332 (test_cli_select_frame): Likewise.
6333 (test_cli_up_down): Likewise.
6334 (test_mi_thread_select): Likewise.
6335 (test_mi_stack_select_frame): Likewise.
6336 (test_cli_in_mi_inferior): Likewise.
6337 (test_cli_in_mi_thread): Likewise.
6338 (test_cli_in_mi_frame): Likewise.
6339 (top level): Do not use with_test_prefix_procname.
6340
6341 2016-11-09 Pedro Alves <palves@redhat.com>
6342
6343 * gdb.base/commands.exp (gdbvar_simple_if_test)
6344 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
6345 (progvar_simple_if_test, progvar_simple_while_test)
6346 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
6347 (infrun_breakpoint_command_test, breakpoint_command_test)
6348 (user_defined_command_test, watchpoint_command_test)
6349 (test_command_prompt_position, deprecated_command_test)
6350 (bp_deleted_in_command, temporary_breakpoint_commands)
6351 (stray_arg0_test, source_file_with_indented_comment)
6352 (recursive_source_test, if_commands_test)
6353 (error_clears_commands_left, redefine_hook_test)
6354 (redefine_backtrace_test): Use proc_with_prefix.
6355 * lib/gdb.exp (proc_with_prefix): New proc.
6356
6357 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
6358
6359 * gdb.base/tui-layout.c: New file.
6360 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
6361 disassembly window contains very long lines.
6362
6363 2016-11-08 Tom Tromey <tom@tromey.com>
6364
6365 * gdb.python/py-value.exp (test_value_creation): Make "long" test
6366 depend on Python 2.
6367
6368 2016-11-08 Tom Tromey <tom@tromey.com>
6369
6370 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
6371 New method.
6372
6373 2016-10-29 Manish Goregaokar <manish@mozilla.com>
6374
6375 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
6376
6377 2016-10-27 Manish Goregaokar <manish@mozilla.com>
6378
6379 * gdb.rust/simple.rs: Add test for univariant enums without
6380 discriminants and for encoded struct-like enums.
6381
6382 2016-10-28 Pedro Alves <palves@redhat.com>
6383
6384 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
6385 gdb_test_multiple, tighten regexps and match symtabs and line
6386 tables incrementally.
6387
6388 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
6389
6390 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
6391 general.
6392
6393 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
6394
6395 * gdb.base/exec-invalid-sysroot.exp: New file.
6396
6397 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6398
6399 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
6400
6401 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6402
6403 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
6404
6405 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
6406
6407 * gdb.base/killed-outside.exp: Remove $options from a call to
6408 `prepare_for_testing'.
6409
6410 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
6411
6412 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
6413 Change test message.
6414
6415 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
6416
6417 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
6418 Update comment.
6419
6420 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
6421
6422 * gdb.trace/mi-trace-save.exp: New file.
6423
6424 2016-10-13 Yao Qi <yao.qi@linaro.org>
6425
6426 * gdb.base/code_elim.exp (get_var_address): Remove.
6427 * gdb.base/relocate.exp: Likewise.
6428 * gdb.base/shreloc.exp: Likewise.
6429 * lib/gdb.exp (get_var_address): New.
6430
6431 2016-10-13 Yao Qi <yao.qi@linaro.org>
6432
6433 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
6434 floating point tests if $skip_float_test is false.
6435
6436 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
6437
6438 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
6439 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
6440 argc values.
6441 Add 1 to argc so we guarantee distinct initial/modified argc values.
6442
6443 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6444
6445 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
6446
6447 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6448
6449 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
6450 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
6451 * gdb.arch/vsx-regs.exp: Likewise.
6452
6453 2016-10-07 Yao Qi <yao.qi@linaro.org>
6454
6455 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
6456
6457 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
6458
6459 * gdb.python/python.exp: Test decode_line("*0").
6460
6461 2016-10-06 Doug Evans <dje@google.com>
6462
6463 * gdb.python/py-value.exp (test_value_creation): Add test for large
6464 unsigned 64-bit value.
6465
6466 2016-10-06 Tom Tromey <tom@tromey.com>
6467
6468 * gdb.compile/compile.exp: Change java tests to rust.
6469 * gdb.base/setshow.exp: Change java tests to rust.
6470 * gdb.base/default.exp: Remove java from language list.
6471 * README (Examples): Update language example.
6472 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
6473 test.
6474 * lib/gdb.exp (skip_java_tests): Remove.
6475 * lib/java.exp: Remove.
6476 * gdb.java: Remove.
6477
6478 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
6479
6480 * gdb.arch/mips-fcr.exp: New test.
6481 * gdb.arch/mips-fcr.c: Source for the new test.
6482
6483 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
6484
6485 * gdb.base/solib-disc.exp: Use `standard_output_file'
6486 throughout.
6487
6488 2016-10-06 Pedro Alves <palves@redhat.com>
6489
6490 * gdb.base/jit-simple-dl.c: New file.
6491 * gdb.base/jit-simple-jit.c: New file, factored out from ...
6492 * gdb.base/jit-simple.c: ... this.
6493 * gdb.base/jit-simple.exp (jit_run): Delete.
6494 (build_jit): New proc.
6495 (jit_test_reread): Recompile either the main program or the shared
6496 library, depending on what is being tested. Skip changing address
6497 if caller wants to. Compare before/after addresses. If testing
6498 standalone, explicitly load the binary. Test "maint info
6499 breakpoints".
6500 (top level): Add "standalone vs shared lib" and "change address"
6501 vs "same address" axes.
6502
6503 2016-10-06 Pedro Alves <palves@redhat.com>
6504
6505 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
6506 call.
6507 (jit_run): Delete.
6508 (jit_test_reread): Use with_test_prefix. Reload the main binary
6509 explicitly. Compare the before/after addresses of the JIT
6510 descriptor.
6511
6512 2016-08-15 Doug Evans <dje@google.com>
6513
6514 * gdb.xml/extra-regs.xml: Update, end field now required, default type
6515 for single bitfields is bool.
6516 * gdb.xml/tdesc-regs.exp: Ditto.
6517
6518 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
6519
6520 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
6521
6522 2016-10-05 Yao Qi <yao.qi@linaro.org>
6523
6524 * lib/gdb.exp (support_complex_tests): Return zero if
6525 gdb_skip_float_test return true.
6526
6527 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
6528 Simon Marchi <simon.marchi@ericsson.com>
6529
6530 PR gdb/20487
6531 * gdb.mi/user-selected-context-sync.exp: New file.
6532 * gdb.mi/user-selected-context-sync.c: New file.
6533
6534 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
6535 Simon Marchi <simon.marchi@ericsson.com>
6536
6537 PR gdb/20487
6538 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
6539 =thread-select-event check.
6540
6541 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
6542
6543 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
6544 the compulsory L operand changes.
6545 * gdb.arch/powerpc-power.s: Likewise.
6546
6547 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6548
6549 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
6550 * gdb.base/jit-attach-pie.c: New file.
6551 * gdb.base/jit-attach-pie.exp: New file.
6552
6553 2016-09-28 Pedro Alves <palves@redhat.com>
6554
6555 * gdb.base/infcall-input.c: New file.
6556 * gdb.base/infcall-input.exp: New file.
6557
6558 2016-09-22 Yao Qi <yao.qi@linaro.org>
6559
6560 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
6561 (gdb_exit): Rename it to ...
6562 (gdbserver_gdb_exit): ... Close GDBserver.
6563 (gdb_exit): New proc, call gdbserver_gdb_exit.
6564 (mi_gdb_exit): Likewise.
6565
6566 2016-09-22 Yao Qi <yao.qi@linaro.org>
6567
6568 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
6569 path.
6570 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
6571 Remove duplication.
6572
6573 2016-09-22 Yao Qi <yao.qi@linaro.org>
6574
6575 * lib/gdbserver-support.exp: Check the existence of
6576 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
6577
6578 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
6579
6580 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
6581
6582 2016-09-21 Tom Tromey <tom@tromey.com>
6583
6584 PR gdb/20604:
6585 * gdb.base/quit.exp: New file.
6586
6587 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
6588
6589 * .gitignore: New file.
6590
6591 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
6592
6593 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
6594 throughout.
6595
6596 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6597
6598 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
6599
6600 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6601
6602 * gdb.cp/casts.cc (decltype): Move it ...
6603 (main): ... with its call to ...
6604 * gdb.cp/casts03.cc: ... a new file.
6605 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
6606
6607 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6608
6609 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
6610
6611 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
6612
6613 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
6614 and sync up the test with tests in gas/testsuite/gas/ppc.
6615 * gdb.arch/powerpc-power.exp: Likewise.
6616
6617 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6618
6619 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
6620
6621 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
6622 Jan Kratochvil <jan.kratochvil@redhat.com>
6623
6624 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
6625 make m1's definition to be different from m2's. Use 'dummy' as an
6626 argument for probe 'two'.
6627
6628 2016-09-10 Jon Beniston <jon@beniston.com>
6629
6630 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
6631 for sim target.
6632
6633 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
6634
6635 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
6636 variable declaration.
6637 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
6638 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
6639 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
6640 received HWCAP as its argument.
6641
6642 2016-09-06 Pedro Alves <palves@redhat.com>
6643
6644 * gdb.base/new-ui-pending-input.c: New file.
6645 * gdb.base/new-ui-pending-input.exp: New file.
6646 * gdb.exp (clear_gdb_spawn_id): New procedure.
6647 (with_spawn_id): Check whether gdb_spawn_id exists before
6648 referencing it. If gdb_spawn_id didn't exist on entry, clear it
6649 on exit.
6650
6651 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
6652
6653 * gdb.base/float128.c: New file.
6654 * gdb.base/float128.exp: Likewise.
6655 * gdb.base/floatn.c: Likewise.
6656 * gdb.base/floatn.exp: Likewise.
6657
6658 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
6659
6660 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
6661
6662 2016-09-05 Pedro Alves <palves@redhat.com>
6663
6664 PR backtrace/19927
6665 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
6666 unwinders are immediately called as side effect of "source" or
6667 "disable unwinder" commands.
6668 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
6669
6670 2016-09-02 Yao Qi <yao.qi@linaro.org>
6671
6672 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
6673 is true and $type is "float" or "double".
6674
6675 2016-09-02 Yao Qi <yao.qi@linaro.org>
6676
6677 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
6678 true.
6679 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
6680 * gdb.base/call-rt-st.exp: Likewise.
6681 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
6682 return value instead of gdb,skip_float_test.
6683 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
6684 (do_function_calls): Use its return value instead of
6685 gdb,skip_float_test.
6686 * gdb.base/finish.exp: Likewise.
6687 * gdb.base/funcargs.exp: Likewise.
6688 * gdb.base/return.exp: Likewise.
6689 * gdb.base/return2.exp: Likewise.
6690 * gdb.base/varargs.exp: Likewise.
6691 * lib/gdb.exp (gdb_skip_float_test): Change it to
6692 gdb_caching_proc. Detect the broken ptrace on arm-linux.
6693
6694 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
6695
6696 * gdb.multi/tids.exp: Test "thread apply all".
6697
6698 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6699
6700 * gdb.base/default.exp (tty): Remove.
6701
6702 2016-08-24 Kevin Buettner <kevinb@redhat.com>
6703
6704 * gdb.python/py-recurse-unwind.c: New file.
6705 * gdb.python/py-recurse-unwind.py: New file.
6706 * gdb.python/py-recurse-unwind.exp: New file.
6707
6708 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
6709
6710 * gdb.base/set-inferior-tty.exp: New file.
6711 * gdb.base/set-inferior-tty.c: New file.
6712
6713 2016-08-23 Pedro Alves <palves@redhat.com>
6714
6715 PR gdb/20494
6716 * gdb.base/new-ui-echo.c: New file.
6717 * gdb.base/new-ui-echo.exp: New file.
6718
6719 2016-08-23 Yao Qi <yao.qi@linaro.org>
6720
6721 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
6722 gdbserver_spawn.
6723 * gdb.server/connect-without-multi-process.exp (do_test):
6724 Likewise.
6725
6726 2016-08-23 Yao Qi <yao.qi@linaro.org>
6727
6728 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
6729 standalone_txt. Delete gdb_txt and standalone_txt on host
6730 and target. Spawn the binary on target. Copy files from
6731 target to host.
6732
6733 2016-08-22 Pedro Alves <palves@redhat.com>
6734
6735 PR gdb/20505
6736 * gdb.base/vdso-warning.exp: Test core dumps too. Use
6737 with_test_prefix. Factor out bits to ...
6738 (test_no_vdso): ... this new procedure.
6739
6740 2016-08-19 Carl Love <cel@us.ibm.com>
6741
6742 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
6743 maintaining separate logic for constructing the output path.
6744 * gdb.arch/powerpc-d128-regs.exp: Likewise.
6745 * gdb.arch/ppc-dfp.exp: Likewise.
6746 * gdb.arch/ppc-fp.exp: Likewise.
6747 * gdb.arch/vsx-regs.exp: Likewise.
6748 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
6749 binprefix for generating the additional binary files.
6750
6751 2016-08-19 Pedro Alves <palves@redhat.com>
6752
6753 * gdb.trace/mi-trace-frame-collected.exp
6754 (test_trace_frame_collected): On x32, expect two registers.
6755
6756 2016-08-18 Carl Love <cel@us.ibm.com>
6757
6758 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
6759 and sync up the test with tests in gas/testsuite/gas/ppc.
6760 * gdb.arch/powerpc-power.exp: Likewise.
6761
6762 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
6763
6764 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
6765 expected error message.
6766
6767 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
6768
6769 * gdb.multi/remove-inferiors.exp: New file.
6770 * gdb.multi/remove-inferiors.c: New file.
6771
6772 2016-08-12 Yao Qi <yao.qi@linaro.org>
6773
6774 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
6775 argument list.
6776
6777 2016-08-10 Pedro Alves <palves@redhat.com>
6778
6779 PR gdb/19187
6780 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
6781 setup_kfails.
6782
6783 2016-08-09 Pedro Alves <palves@redhat.com>
6784 Simon Marchi <simon.marchi@ericsson.com>
6785
6786 PR gdb/20418
6787 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
6788 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
6789
6790 2016-08-09 Pedro Alves <palves@redhat.com>
6791
6792 PR mi/20431
6793 * gdb.mi/mi-cmd-error.exp: New file.
6794
6795 2016-08-09 Pedro Alves <palves@redhat.com>
6796
6797 PR gdb/18653
6798 * gdb.base/signals-state-child.c: New file.
6799 * gdb.base/signals-state-child.exp: New file.
6800 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
6801
6802 2016-08-09 Pedro Alves <palves@redhat.com>
6803
6804 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
6805
6806 2016-08-03 Tom Tromey <tom@tromey.com>
6807
6808 PR python/18565:
6809 * gdb.python/py-frame-inline.exp: Add Frame.function test.
6810
6811 2016-08-01 Yao Qi <yao.qi@linaro.org>
6812
6813 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
6814 variable mode to "multi-process" if $multi_process is 1, otherwise
6815 set it to "single-process".
6816
6817 2016-08-01 Yao Qi <yao.qi@linaro.org>
6818
6819 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
6820 * gdb.cp/cpexprs.exp: Likewise.
6821 * gdb.cp/m-static.exp: Likewise.
6822
6823 2016-07-26 Tom Tromey <tom@tromey.com>
6824
6825 PR python/20190:
6826 * gdb.threads/tls.exp (check_thread_local): Add python symbol
6827 test.
6828
6829 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
6830
6831 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
6832 selecting assembly source files.
6833 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
6834 assembly source files.
6835 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
6836 assembly source files.
6837 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
6838 selecting assembly source files.
6839
6840 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
6841
6842 * gdb.base/new-ui.exp (do_test_invalid_args): New
6843 procedure.
6844
6845 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
6846
6847 * gdb.btrace/reconnect.c: New file.
6848 * gdb.btrace/reconnect.exp: New file.
6849
6850 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
6851
6852 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
6853 to test_catch_syscall_group.
6854 (test_catch_syscall_group): New.
6855
6856 2016-07-21 Tom Tromey <tom@tromey.com>
6857
6858 * gdb.rust/simple.rs (main): Use empty struct expression.
6859 * gdb.rust/simple.exp: Add tests for empty struct expression.
6860
6861 2016-07-21 Yao Qi <yao.qi@linaro.org>
6862
6863 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
6864 if gdb_skip_xml_test is true on some targets.
6865
6866 2016-07-21 Yao Qi <yao.qi@linaro.org>
6867
6868 * gdb.server/solib-list.exp: Unset last_loaded_file.
6869
6870 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6871
6872 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
6873 "step into captured_main (args)".
6874
6875 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6876
6877 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
6878
6879 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6880
6881 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
6882
6883 2016-07-19 Pedro Alves <palves@redhat.com>
6884
6885 * gdb.opt/inline-break.exp: Remove optimize=-O2.
6886 * gdb.opt/inline-bt.exp: Likewise.
6887 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
6888 additional_flags=-Winline.
6889 * gdb.opt/inline-locals.exp: Likewise.
6890 * gdb.opt/inline-markers.c (ATTR): Define.
6891 (inlined_fn): Use it.
6892
6893 2016-07-19 Yao Qi <yao.qi@linaro.org>
6894
6895 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
6896 (test_with_self): Remove some code. Remove argument executable.
6897 (top-level): Use do_self_tests.
6898
6899 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
6900 Don Breazeal <donb@codesourcery.com>
6901
6902 * gdb.base/maint.exp: Escape paths used in regular expressions.
6903 * gdb.stabs/weird.exp: Likewise.
6904
6905 2016-07-13 Tom Tromey <tom@tromey.com>
6906
6907 PR python/15620, PR python/18620:
6908 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
6909 (test_bkpt_events): New procs.
6910
6911 2016-07-13 Tom Tromey <tom@tromey.com>
6912
6913 PR python/17698:
6914 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
6915 test.
6916 (test_watchpoints): Likewise.
6917 (test_bkpt_pending): New proc.
6918
6919 2016-07-13 Tom Tromey <tom@tromey.com>
6920
6921 PR cli/18053:
6922 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
6923 completion test.
6924
6925 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6926
6927 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
6928 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
6929 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
6930 f_label.
6931 (g): Rename g_end_lbl to g_label.
6932 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
6933 low_pc and high_pc.
6934 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
6935
6936 2016-07-12 Tom Tromey <tom@tromey.com>
6937
6938 PR python/19293:
6939 * gdb.python/py-unwind-maint.exp: Update tests.
6940
6941 2016-07-12 Yao Qi <yao.qi@linaro.org>
6942
6943 * lib/selftest-support.exp (selftest_setup): Match the output
6944 when captured_main is inlined.
6945
6946 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
6947
6948 * gdb.fortran/derived-types.exp (result_line, result_line_2):
6949 New variables.
6950 (print this%a, print this%b, print this): New tests.
6951 * gdb.fortran/derived-types.f90 (this): New object and
6952 initialization.
6953
6954 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
6955
6956 * gdb.ada/arraydim.exp: Remove extra directory level in build
6957 directory.
6958
6959 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
6960
6961 * lib/ada.exp: Remove extra directory level in build directory.
6962 * gdb.ada/cond_lang.exp: Likewise.
6963 * gdb.ada/exec_changed.exp: Likewise.
6964 * gdb.ada/lang_switch.exp: Likewise.
6965
6966 2016-07-06 Manish Goregaokar <manish@mozilla.com>
6967
6968 * simple.rs: Add test for raw pointer subscripting.
6969 * simple.exp: Add test expectations.
6970
6971 2016-07-05 Yao Qi <yao.qi@linaro.org>
6972
6973 * gdb.mi/mi-reverse.exp: Match =record-started output.
6974
6975 2016-07-01 Pedro Alves <palves@redhat.com>
6976
6977 * gdb.base/jit-reader.exp (info_registers_current_frame): New
6978 procedure.
6979 (jit_reader_test): Test the jit reader's unwinder.
6980 * gdb.base/jithost.c (jit_function_00_code): New global.
6981 (main): Use memcpy to fill in the mmapped code, instead of poking
6982 bytes manually here.
6983 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
6984 value.
6985 (read_debug_info): Save the function's range.
6986 (read_sp): New function.
6987 (unwind_frame): Use it. Also unwind RBP.
6988 (get_frame_id): Use read_sp.
6989 (gdb_init_reader): Use calloc instead of malloc.
6990 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
6991 parameter. Use gdb_test_multiple.
6992
6993 2016-07-01 Pedro Alves <palves@redhat.com>
6994 Antoine Tremblay <antoine.tremblay@ericsson.com>
6995
6996 * gdb.threads/process-dies-while-detaching.c: New file.
6997 * gdb.threads/process-dies-while-detaching.exp: New file.
6998
6999 2016-07-01 Pedro Alves <palves@redhat.com>
7000
7001 * gdb.multi/watchpoint-multi-exit.c: New file.
7002 * gdb.multi/watchpoint-multi-exit.exp: New file.
7003
7004 2016-06-30 Pedro Alves <palves@redhat.com>
7005
7006 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
7007 unset inferior_spawn_id.
7008
7009 2016-06-30 Pedro Alves <palves@redhat.com>
7010
7011 * lib/mi-support.exp (default_mi_gdb_start): Declare global
7012 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
7013
7014 2016-06-29 Yao Qi <yao.qi@linaro.org>
7015
7016 * gdb.base/return.c: Add copyright header.
7017
7018 2016-06-29 Tom Tromey <tom@tromey.com>
7019
7020 PR python/20129:
7021 * gdb.python/py-framefilter.exp: Add tests for setting priority
7022 and disabling of non-existent frame filter.
7023
7024 2016-06-29 Yao Qi <yao.qi@linaro.org>
7025
7026 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
7027 0x0f07ff.
7028
7029 2016-06-28 Yao Qi <yao.qi@linaro.org>
7030
7031 * gdb.base/catch-syscall.exp: Remove check on isnative and target
7032 triplets. Start gdb, execute catch syscall, and continue. Check
7033 gdb's output to determine catch syscall is supported.
7034
7035 2016-06-27 Manish Goregaokar <manish@mozilla.com>
7036
7037 * gdb.rust/simple.rs: Add test for returning unit in a function.
7038 * gdb.rust/simple.exp: Add expectation for functions returning
7039 unit.
7040
7041 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
7042
7043 * gdb.python/py-breakpoint-create-fail.c,
7044 gdb.python/py-breakpoint-create-fail.exp,
7045 gdb.python/py-breakpoint-create-fail.py: New testcase.
7046
7047 2016-06-25 Manish Goregaokar <manish@mozilla.com>
7048
7049 PR gdb/20239
7050 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
7051 * gdb.rust/simple.exp: Add test expectations for new NonZero
7052 tests.
7053
7054 2016-06-24 David Taylor <dtaylor@emc.com>
7055
7056 * gdb.base/offsets.exp: New file.
7057 * gdb.base/offsets.c: New file.
7058
7059 2016-06-23 Tom Tromey <tom@tromey.com>
7060
7061 PR gdb/16483:
7062 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
7063 before any filters are loaded.
7064
7065 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
7066
7067 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
7068 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
7069 structs.
7070 * gdb.fortran/derived-type-function.exp: New file.
7071 * gdb.fortran/derived-type-function.f90: New file.
7072
7073
7074 2016-06-21 Pedro Alves <palves@redhat.com>
7075
7076 * gdb.base/new-ui.exp: New file.
7077 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
7078 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
7079 (with_spawn_id): New procedure.
7080
7081 2016-06-21 Pedro Alves <palves@redhat.com>
7082
7083 * gdb.mi/mi-exec-run.exp: New file.
7084
7085 2016-06-21 Pedro Alves <palves@redhat.com>
7086
7087 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
7088 breakpoint command's output on the main UI.
7089 (test_break): New procedure, factored out from calls in the top
7090 level.
7091 (top level): Use foreach_with_prefix to test MI as main UI and as
7092 separate UI.
7093
7094 2016-06-21 Pedro Alves <palves@redhat.com>
7095
7096 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
7097 (test_awatch_creation_and_listing)
7098 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
7099 Remove 'type' parameter.
7100 (test_watchpoint_all): New parameter mi_mode. Remove
7101 with_test_prefix.
7102 (top level): Use foreach_with_prefix, and add main/separate UI MI
7103 testing axis.
7104
7105 2016-06-21 Pedro Alves <palves@redhat.com>
7106
7107 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
7108 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
7109 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
7110 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
7111 (gdb_main_spawn_id, mi_spawn_id): Declare and
7112 comment.
7113 (mi_create_inferior_pty): New procedure,
7114 factored out from default_mi_gdb_start.
7115 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
7116 procedures.
7117 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
7118 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
7119 Use mi_create_inferior_pty.
7120 (mi_gdb_start): Use eval to pass down args list.
7121
7122 2016-06-21 Pedro Alves <palves@redhat.com>
7123
7124 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
7125 * gdb.opt/inline-cmds.exp: Add MI tests.
7126
7127 2016-06-21 Pedro Alves <palves@redhat.com>
7128
7129 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
7130
7131 2016-06-21 Pedro Alves <palves@redhat.com>
7132
7133 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
7134 (top level): Use it instead of mi_execute_to.
7135
7136 2016-06-21 Pedro Alves <palves@redhat.com>
7137
7138 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
7139 (cont_handler_str): New.
7140 (signal_stop_handler): Set stop_handler_str instead of printing to
7141 stdout.
7142 (continue_handler): Set cont_handler_str instead of printing to
7143 stdout.
7144 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
7145 mi_send_resuming_command. Print stop_handler_str and
7146 cont_handler_str instead of expecting the python events print
7147 directly.
7148
7149 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
7150
7151 * gdb.base/jit-reader.exp: New file.
7152 * gdb.base/jithost.c: New file.
7153 * gdb.base/jithost.h: New file.
7154 * gdb.base/jitreader.c : New file.
7155 * gdb.base/jit-protocol.h: New file.
7156
7157 2016-06-17 Yao Qi <yao.qi@linaro.org>
7158
7159 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
7160 parameters follow_fork and detach_on_fork. Set follow-fork-mode
7161 and detach-on-fork. Adjust tests.
7162 (top level): Invoke break_cond_on_syscall with combinations of
7163 syscall, follow-fork-mode and detach-on-fork.
7164
7165 2016-06-17 Yao Qi <yao.qi@linaro.org>
7166
7167 * gdb.base/step-over-exit.c: New.
7168 * gdb.base/step-over-exit.exp: New.
7169
7170 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
7171
7172 * gdb.base/float.exp: Add target check for nds32*-*-*.
7173 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
7174
7175 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
7176
7177 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
7178 for unsupported target features.
7179 * gdb.base/call-rt-st.exp: Likewise.
7180 * gdb.base/call-sc.exp: Likewise.
7181 * gdb.base/call-signal-resume.exp: Likewise.
7182 * gdb.base/call-strs.exp: Likewise.
7183 * gdb.base/callexit.exp: Likewise.
7184 * gdb.base/callfuncs.exp: Likewise.
7185 * gdb.base/nodebug.exp: Likewise.
7186 * gdb.base/printcmds.exp: Likewise.
7187 * gdb.base/ptype.exp: Likewise.
7188 * gdb.base/structs.exp: Likewise.
7189 * gdb.base/unwindonsignal.exp: Likewise.
7190 * gdb.cp/gdb2495.exp: Likewise.
7191 * gdb.cp/templates.exp: Likewise.
7192 * gdb.cp/virtfunc.exp: Likewise.
7193 * gdb.threads/hand-call-in-threads.exp: Likewise.
7194 * gdb.threads/interrupted-hand-call.exp: Likewise.
7195 * gdb.threads/thread-unwindonsignal.exp: Likewise.
7196
7197 2016-06-10 Tom Tromey <tom@tromey.com>
7198
7199 PR rust/20110:
7200 * gdb.rust/expr.exp: Add test for integer constant larger than
7201 i32.
7202
7203 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
7204
7205 * gdb.fortran/nested-funcs.exp: New.
7206 * gdb.fortran/nested-funcs.f90: New.
7207
7208 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
7209
7210 * gdb.base/examine-backward.c: New file.
7211 * gdb.base/examine-backward.exp: New file.
7212
7213 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
7214
7215 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
7216 matching.
7217
7218 2016-06-02 Tom Tromey <tom@tromey.com>
7219
7220 PR python/18984:
7221 * gdb.python/py-shared.exp: Add solib_name test.
7222
7223 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
7224
7225 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
7226
7227 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
7228
7229 PR c++/19893
7230 * gdb.dwarf2/implref.exp: Rename to...
7231 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
7232 * gdb.dwarf2/implref-array.c: New file.
7233 * gdb.dwarf2/implref-array.exp: Likewise.
7234 * gdb.dwarf2/implref-global.c: Likewise.
7235 * gdb.dwarf2/implref-global.exp: Likewise.
7236 * gdb.dwarf2/implref-struct.c: Likewise.
7237 * gdb.dwarf2/implref-struct.exp: Likewise.
7238
7239 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
7240
7241 * gdb.trace/trace-condition.exp: Add 64bit tests.
7242
7243 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
7244
7245 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
7246 bits types.
7247 (main): Adapt to 8 to 64 bits types.
7248 * gdb.trace/trace-condition.exp: Add new tests.
7249
7250 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
7251
7252 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
7253
7254 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
7255
7256 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
7257 Move condition tests...
7258 * gdb.trace/trace-condition.exp: Here.
7259
7260 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
7261
7262 * gdb.trace/trace-condition.exp: Add counter-case tests.
7263
7264 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
7265
7266 PR c++/15231
7267 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
7268 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
7269
7270 2016-05-27 Pedro Alves <palves@redhat.com>
7271
7272 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
7273 New procedure.
7274 (top level): Call it, and bail out of DejaGnu is known to be bad.
7275
7276 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
7277
7278 * gdb.base/whatis.c: Extend the test case.
7279 * gdb.base/whatis.exp: Add additional tests.
7280
7281 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
7282
7283 * gdb.fortran/type.f90: Add pointer variable.
7284 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
7285
7286 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
7287
7288 * gdb.fortran/vla-type.exp: Fix testcase name.
7289
7290 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
7291
7292 * gdb.fortran/vla-type.exp: Access elements in nested structs.
7293
7294 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
7295
7296 * gdb.fortran/type.f90: Add nested structures.
7297 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
7298 * gdb.fortran/derived-type.exp: Adapt expected output.
7299 * gdb.fortran/vla-type.exp: Adapt expected output.
7300
7301 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
7302
7303 * gdb.fortran/whatis_type.exp: Adapt expected output.
7304
7305 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
7306
7307 * gdb.fortran/print_type.exp: Fix expected output.
7308 * gdb.fortran/whatis_type.exp: Fix expected output.
7309
7310 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
7311
7312 * gdb.fortran/whatis_type.exp: Use multi_line.
7313
7314 2016-05-24 Tom Tromey <tom@tromey.com>
7315
7316 PR python/17386:
7317 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
7318 use value as an index.
7319
7320 2016-05-23 Tom Tromey <tom@tromey.com>
7321
7322 PR python/17981:
7323 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
7324 no-breakpoint case.
7325
7326 2016-05-24 Pedro Alves <palves@redhat.com>
7327
7328 PR gdb/19828
7329 * gdb.threads/clone-attach-detach.c: New file.
7330 * gdb.threads/clone-attach-detach.exp: New file.
7331
7332 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
7333
7334 * gdb.base/annota-input-while-running.exp: Fix syntax error.
7335
7336 2016-05-23 Tom Tromey <tom@tromey.com>
7337
7338 PR python/19438, PR python/18393:
7339 * gdb.python/py-progspace.exp: Add "dir" test.
7340 * gdb.python/py-objfile.exp: Add "dir" test.
7341
7342 2016-05-23 Yao Qi <yao.qi@linaro.org>
7343
7344 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
7345 * gdb.arch/thumb2-it.exp: Likewise.
7346
7347 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
7348
7349 * gdb.mi/mi-threads-interrupt.c: New file.
7350 * gdb.mi/mi-threads-interrupt.exp: New file.
7351
7352 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
7353
7354 PR gdb/18077
7355 * gdb.mi/mi-async-run.exp: New file.
7356 * gdb.mi/mi-async-run.c: New file.
7357
7358 2016-05-17 Tom Tromey <tom@tromey.com>
7359 Manish Goregaokar <manishsmail@gmail.com>
7360
7361 * lib/rust-support.exp: New file.
7362 * lib/gdb.exp (skip_rust_tests): New proc.
7363 (build_executable_from_specs): Handle rust.
7364 * lib/future.exp (gdb_find_rustc): New proc.
7365 (gdb_default_target_compile): Handle rust.
7366 * gdb.rust/expr.exp: New file.
7367 * gdb.rust/generics.exp: New file.
7368 * gdb.rust/generics.rs: New file.
7369 * gdb.rust/methods.exp: New file.
7370 * gdb.rust/methods.rs: New file.
7371 * gdb.rust/modules.exp: New file.
7372 * gdb.rust/modules.rs: New file.
7373 * gdb.rust/simple.exp: New file.
7374 * gdb.rust/simple.rs: New file.
7375
7376 2016-05-17 Tom Tromey <tom@tromey.com>
7377
7378 * gdb.base/default.exp (set language): Add rust.
7379
7380 2016-05-17 Tom Tromey <tom@tromey.com>
7381
7382 * gdb.gdb/unittest.exp: New file.
7383
7384 2016-05-16 Yao Qi <yao.qi@linaro.org>
7385
7386 * gdb.base/batch-preserve-term-settings.exp: Remove variable
7387 shell_prompt. Update shell_prompt_re.
7388
7389 2016-05-12 Doug Evans <dje@google.com>
7390
7391 PR symtab/19999
7392 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
7393 $options when building executable.
7394 * gdb.dwarf2/fission-loclists-pie.S: New file.
7395 * gdb.dwarf2/fission-loclists-pie.exp: New file.
7396
7397 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
7398
7399 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
7400 of [is_remote target],
7401
7402 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
7403
7404 * lib/gdb.exp (use_gdb_stub): New procedure.
7405
7406 2016-05-03 Yunlian Jiang <yunlian@google.com>
7407 Doug Evans <dje@google.com>
7408
7409 PR symtab/19914
7410 * gdb.dwarf2/dwp-sepdebug.c: New file.
7411 * gdb.dwarf2/dwp-sepdebug.exp: New file.
7412
7413 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
7414
7415 * gdb.base/detach.exp: Remove is_remote check.
7416
7417 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
7418
7419 * gdb.base/annota-input-while-running.exp: Don't check for
7420 [is_remote target]. Enable annotations after running to main.
7421 Remove unused "set test..." line.
7422
7423 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
7424
7425 * gdb.trace/trace-enable-disable.exp: New file.
7426 * gdb.trace/trace-enable-disable.c: New file.
7427
7428 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
7429
7430 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
7431 use it in info sharedlibrary test.
7432 * gdb.trace/ftrace-lock.exp: Likewise.
7433 * gdb.trace/ftrace.exp: Likewise.
7434 * gdb.trace/range-stepping.exp: Likewise.
7435 * gdb.trace/trace-break.exp: Likewise.
7436 * gdb.trace/trace-condition.exp: Likewise.
7437 * gdb.trace/trace-mt.exp: Likewise.
7438
7439 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
7440
7441 * lib/gdb.exp (gdb_load_shlibs): Rename to...
7442 (gdb_load_shlib): ... this.
7443 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
7444 gdb_load_shlib.
7445 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
7446 * gdb.base/ctxobj.exp: Likewise.
7447 * gdb.base/dprintf-pending.exp: Likewise.
7448 * gdb.base/dso2dso.exp: Likewise.
7449 * gdb.base/fixsection.exp: Likewise.
7450 * gdb.base/gcore-relro.exp: Likewise.
7451 * gdb.base/gdb1555.exp: Likewise.
7452 * gdb.base/global-var-nested-by-dso.exp: Likewise.
7453 * gdb.base/gnu-ifunc.exp: Likewise.
7454 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
7455 * gdb.base/jit-so.exp (one_jit_test): Likewise.
7456 * gdb.base/pending.exp: Likewise.
7457 * gdb.base/print-file-var.exp: Likewise.
7458 * gdb.base/print-symbol-loading.exp: Likewise.
7459 * gdb.base/shlib-call.exp: Likewise.
7460 * gdb.base/shreloc.exp: Likewise.
7461 * gdb.base/so-impl-ld.exp: Likewise.
7462 * gdb.base/solib-disc.exp: Likewise.
7463 * gdb.base/solib-nodir.exp: Likewise.
7464 * gdb.base/solib-overlap.exp: Likewise.
7465 * gdb.base/solib-symbol.exp: Likewise.
7466 * gdb.base/solib-weak.exp (do_test): Likewise.
7467 * gdb.base/sym-file.exp: Likewise.
7468 * gdb.base/symtab-search-order.exp: Likewise.
7469 * gdb.base/type-opaque.exp: Likewise.
7470 * gdb.base/unload.exp: Likewise.
7471 * gdb.base/watchpoint-solib.exp: Likewise.
7472 * gdb.compile/compile.exp: Likewise.
7473 * gdb.cp/gdb2384.exp: Likewise.
7474 * gdb.cp/infcall-dlopen.exp: Likewise.
7475 * gdb.cp/re-set-overloaded.exp: Likewise.
7476 * gdb.fortran/library-module.exp: Likewise.
7477 * gdb.opt/solib-intra-step.exp: Likewise.
7478 * gdb.python/py-finish-breakpoint.exp: Likewise.
7479 * gdb.python/py-shared.exp: Likewise.
7480 * gdb.reverse/solib-precsave.exp: Likewise.
7481 * gdb.reverse/solib-reverse.exp: Likewise.
7482 * gdb.server/solib-list.exp: Likewise.
7483 * gdb.threads/dlopen-libpthread.exp: Likewise.
7484 * gdb.threads/tls-shared.exp: Likewise.
7485 * gdb.threads/tls-so_extern.exp: Likewise.
7486 * gdb.trace/change-loc.exp: Likewise.
7487 * gdb.trace/ftrace-lock.exp: Likewise.
7488 * gdb.trace/ftrace.exp: Likewise.
7489 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
7490 * gdb.trace/pending.exp: Likewise.
7491 * gdb.trace/range-stepping.exp: Likewise.
7492 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
7493 (strace_info_marker): Likewise.
7494 (strace_probe_marker): Likewise.
7495 (strace_trace_on_same_addr): Likewise.
7496 (strace_trace_on_diff_addr): Likewise.
7497 * gdb.trace/trace-break.exp: Likewise.
7498 * gdb.trace/trace-condition.exp: Likewise.
7499 * gdb.trace/trace-mt.exp: Likewise.
7500
7501 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
7502
7503 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
7504 result of gdb_remote_download.
7505 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
7506 * gdb.base/dso2dso.exp: Likewise.
7507 * gdb.base/global-var-nested-by-dso.exp: Likewise.
7508 * gdb.base/print-file-var.exp: Likewise.
7509 * gdb.base/shlib-call.exp: Likewise.
7510 * gdb.base/shreloc.exp: Likewise.
7511 * gdb.base/solib-overlap.exp: Likewise.
7512 * gdb.base/solib-weak.exp (do_test): Likewise.
7513 * gdb.base/unload.exp: Likewise.
7514
7515 2016-04-27 Yao Qi <yao.qi@linaro.org>
7516
7517 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
7518 exists.
7519
7520 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
7521
7522 * vla-type.exp: Print structure from toplevel.
7523
7524 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
7525
7526 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
7527 of dynamic types.
7528 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
7529 of dynamic types.
7530
7531 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
7532
7533 * gdb.fortran/vla-type.f90: New file.
7534 * gdb.fortran/vla-type.exp: New file.
7535
7536 2016-04-25 Yao Qi <yao.qi@linaro.org>
7537
7538 * gdb.base/branch-to-self.c: New file.
7539 * gdb.base/branch-to-self.exp: New file.
7540
7541 2016-04-22 Yao Qi <yao.qi@linaro.org>
7542
7543 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
7544 more after $hex.
7545
7546 2016-04-22 Yao Qi <yao.qi@linaro.org>
7547
7548 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
7549 * gdb.base/annota3.exp: Likewise.
7550
7551 2016-04-22 Yao Qi <yao.qi@linaro.org>
7552
7553 * gdb.reverse/step-precsave.exp: Do one step and test program
7554 stops in "callee" and do multiple steps until program goes out
7555 of "callee".
7556 * gdb.reverse/step-reverse.exp: Likewise.
7557
7558 2016-04-22 Yao Qi <yao.qi@linaro.org>
7559
7560 * gdb.trace/signal.exp: Also pass if
7561 $tracepoint_hits($i) > $iterations.
7562
7563 2016-04-22 Yao Qi <yao.qi@linaro.org>
7564
7565 * gdb.trace/signal.c: New file.
7566 * gdb.trace/signal.exp: New file.
7567
7568 2016-04-19 Doug Evans <xdje42@gmail.com>
7569
7570 * gdb.base/bad-file.exp: New file.
7571
7572 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
7573
7574 * gdb.dwarf2/implref.exp: New file.
7575
7576 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
7577
7578 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
7579 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
7580 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
7581 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
7582 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
7583 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
7584 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
7585 * lib/fortran.exp (fortran_int4): New procedure.
7586 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
7587 (fortran_logical4): Likewise.
7588
7589 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
7590
7591 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
7592
7593 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
7594
7595 * lib/compiler.c: Add Intel specific preprocessor macros.
7596 * lib/compiler.cc: Likewise.
7597
7598 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
7599
7600 * gdb.server/connect-with-no-symbol-file.c: New file.
7601 * gdb.server/connect-with-no-symbol-file.exp: New file.
7602
7603 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
7604
7605 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
7606
7607 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
7608
7609 * boards/gdbserver-base.exp (${board}_download): Copy source file to
7610 standard output directory.
7611
7612 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
7613
7614 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
7615
7616 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
7617
7618 * gdb.btrace/instruction_history.c (loop): Add declaration.
7619
7620 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
7621
7622 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
7623
7624 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
7625
7626 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
7627 parentheses to print.
7628 (continue_handler): Likewise.
7629
7630 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
7631
7632 * gdb.server/solib-list.exp: Remove is_remote check.
7633 Pass shlib= to gdb_compile. Don't link shared library with
7634 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
7635 Run binary filename through "readlink -f" on the target.
7636
7637 2016-04-08 Pedro Alves <palves@redhat.com>
7638
7639 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
7640 interpreter filename as argument to gdbserver_spawn.
7641 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
7642 Return empty if $last_loaded_file does not exist.
7643
7644 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7645
7646 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
7647 * gdb.base/jit-main.c: Use exit after usage.
7648
7649 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7650
7651 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
7652 GDBHISTSIZE prior to the tests.
7653 * gdb.base/gdbinit-history.exp: Likewise.
7654
7655 2016-04-07 Pedro Alves <palves@redhat.com>
7656
7657 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
7658 instead of build_executable. Use gdb_load_shlibs.
7659
7660 2016-04-07 Yao Qi <yao.qi@linaro.org>
7661
7662 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
7663 Execute "si" command.
7664
7665 2016-04-07 Yao Qi <yao.qi@linaro.org>
7666
7667 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
7668 number instead of the comments on some line.
7669
7670 2016-04-06 Don Breazeal <donb@codesourcery.com>
7671
7672 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
7673 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
7674
7675 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
7676
7677 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
7678 standard_output_file. Remove unused binfile variable.
7679
7680 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
7681
7682 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
7683 * gdb.python/py-mi-objfile.exp: Match "list main" output
7684 in console format.
7685
7686 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
7687
7688 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
7689 absolute.
7690
7691 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
7692
7693 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
7694 absolute.
7695 * gdb.trace/ftrace.exp: Likewise.
7696 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
7697 targets as well.
7698 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
7699 (gdb_load_shlibs): Copy libraries to test directory when testing
7700 natively. Only set solib-search-path if testing remotely.
7701 * lib/mi-support.exp (mi_load_shlibs): Likewise.
7702
7703 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
7704
7705 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
7706 gdb_download. Use it even if the target is not remote.
7707 * gdb.base/jit.exp (compile_jit_test): Likewise.
7708 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
7709 output directory if the destination board is local, otherwise use
7710 the standard remote_download from DejaGnu.
7711 (gdb_download): Remove.
7712 (gdb_load_shlibs): Use gdb_remote_download instead of
7713 gdb_download.
7714 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
7715 Use gdb_remote_download instead of gdb_download. Use it even if
7716 the target is not remote.
7717 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
7718 instead of gdb_download.
7719
7720 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
7721
7722 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
7723 (test_insert_delete_modify): Call mi_load_shlibs before trying to
7724 run.
7725
7726 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
7727
7728 PR gdb/19820
7729 * gdb.base/printcmds.exp: Add artificial arrays tests.
7730
7731 2016-03-31 Pedro Alves <palves@redhat.com>
7732
7733 PR gdb/19858
7734 * gdb.base/jit-main.c: Include unistd.h.
7735 (ATTACH): Define to 0 if not already defined.
7736 (wait_for_gdb, mypid): New globals.
7737 (WAIT_FOR_GDB): New macro.
7738 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
7739 some breakpoint locations.
7740 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
7741 New procedures.
7742 (one_jit_test): Add REATTACH parameter, and handle it. Use
7743 continue_to_test_location.
7744 (top level): Test attach, and adjusts calls to one_jit_test.
7745
7746 2016-03-31 Pedro Alves <palves@redhat.com>
7747
7748 PR gdb/19858
7749 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
7750 BINSUFFIX parameter, and handle it.
7751 (top level): Adjust calls compile_jit_test.
7752
7753 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
7754
7755 PR python/19743
7756 * gdb.python/py-mi-events-gdb.py: New file.
7757 * gdb.python/py-mi-events.c: New file.
7758 * gdb.python/py-mi-events.exp: New file.
7759
7760 2016-03-30 Yao Qi <yao.qi@linaro.org>
7761
7762 * gdb.reverse/until-precsave.exp: Match function name only.
7763 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
7764 Move malloc to a condition block.
7765 * gdb.reverse/until-reverse.exp: Match function name only.
7766
7767 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
7768
7769 * gdb.trace/ftrace.exp: Set arg0exp for s390.
7770 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
7771 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
7772 variable for GPR 0 instead of assuming it is register 0.
7773 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
7774 * lib/trace-support.exp: Add s390 registers.
7775
7776 2016-03-29 Yao Qi <yao.qi@linaro.org>
7777
7778 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
7779
7780 2016-03-24 Yao Qi <yao.qi@linaro.org>
7781
7782 * gdb.reverse/break-reverse.exp: Add quotation mark in the
7783 test message.
7784
7785 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
7786
7787 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
7788 maintaining separate logic for constructing the output path.
7789
7790 2016-03-16 Don Breazeal <donb@codesourcery.com>
7791
7792 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
7793 Retry fork and waitpid on interrupted system call errors.
7794 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
7795 Use with_timeout_factor to increase timeout by factor of 10.
7796
7797 2016-03-15 Don Breazeal <donb@codesourcery.com>
7798
7799 * gdb.cp/scope-err.cc: New test program.
7800 * gdb.cp/scope-err.exp: New test script.
7801 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
7802 lines and "set breakpoint here" comment.
7803 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
7804 Fixed some whitespace and format issues.
7805 * gdb.mi/mi-linespec-err-cp.cc: New test program.
7806 * gdb.mi/mi-linespec-err-cp.exp: New test script.
7807
7808 2016-03-15 Doug Evans <dje@google.com>
7809
7810 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
7811 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
7812 All callers updated. Add tests for enums, mixed flags register.
7813
7814 2016-03-15 Doug Evans <dje@google.com>
7815
7816 * gdb.base/skip.c (main): Call test_skip_file_and_function.
7817 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
7818
7819 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
7820
7821 * gdb.base/default.exp: Add $_as_string to the list of expected
7822 convenience functions.
7823
7824 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
7825
7826 * gdb.base/maint.exp: New tests for 'maint info line-table'.
7827
7828 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
7829
7830 * gdb.python/py-as-string.exp: New file.
7831 * gdb.python/py-as-string.c: New file.
7832
7833 2016-03-09 Pedro Alves <palves@redhat.com>
7834
7835 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
7836 signal" -> "Thread NN received signal" output change.
7837 * gdb.threads/ia64-sigill.exp: Likewise.
7838 * gdb.threads/linux-dp.exp: Likewise.
7839 * gdb.threads/manythreads.exp: Likewise.
7840 * gdb.threads/pending-step.exp: Likewise.
7841 * gdb.threads/print-threads.exp: Likewise.
7842 * gdb.threads/sigstep-threads.exp: Likewise.
7843 * gdb.threads/staticthreads.exp: Likewise.
7844 * gdb.threads/tls.exp: Likewise.
7845
7846 2016-03-09 Pedro Alves <palves@redhat.com>
7847
7848 * gdb.base/command-line-input.exp: New file.
7849
7850 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
7851
7852 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
7853 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
7854 * gdb.trace/pending.exp: Accept leading dot before function name.
7855 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
7856 * lib/trace-support.exp: Set registers for ppc.
7857
7858 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
7859
7860 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
7861 use it for disassembly; accept .main in addition to main in backtrace.
7862
7863 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
7864 Marcin Kościelnicki <koriakin@0x04.net>
7865
7866 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
7867 (gdb_recursion_test_ptr): New global variable.
7868 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
7869 gdb_recursion_test.
7870 (gdb_c_test): Ditto.
7871
7872 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
7873
7874 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
7875 ordering.
7876
7877 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
7878
7879 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
7880 (bar): Add bar_start_lbl label.
7881 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
7882 of foo/bar for emitting DWARF and tracing.
7883
7884 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
7885
7886 * analyze-racy-logs.py: Set executable bit.
7887
7888 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
7889
7890 * Makefile.in (DEFAULT_RACY_ITER): New variable.
7891 (CHECK_TARGET_TMP): Likewise.
7892 (check-single-racy): New rule.
7893 (check-parallel-racy): Likewise.
7894 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
7895 (do-check-parallel-racy): New rule.
7896 (check-racy/%.exp): Likewise.
7897 * README (Racy testcases): New section.
7898 * analyze-racy-logs.py: New file.
7899
7900 2016-03-03 Doug Evans <dje@google.com>
7901
7902 * gdb.base/skip.exp: Use with_test_prefix.
7903
7904 2016-03-03 Yao Qi <yao.qi@linaro.org>
7905
7906 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
7907 Invoke step_over_syscall "clone" and break_cond_on_syscall
7908 "clone".
7909 * gdb.base/step-over-clone.c: New file.
7910
7911 2016-03-03 Yao Qi <yao.qi@linaro.org>
7912
7913 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
7914 code format.
7915
7916 2016-03-03 Yao Qi <yao.qi@linaro.org>
7917
7918 * gdb.base/disp-step-fork.c: Rename to ...
7919 * gdb.base/step-over-fork.c: ... it. New file.
7920 * gdb.base/disp-step-vfork.c: Rename to ...
7921 * gdb.base/step-over-vfork.c: ... it. New file.
7922 * gdb.base/disp-step-syscall.exp: Rename to ...
7923 * gdb.base/step-over-syscall.exp: ... it. New file.
7924 (disp_step_cross_syscall): Rename to ...
7925 (step_over_syscall): ... it.
7926
7927 2016-03-03 Yao Qi <yao.qi@linaro.org>
7928
7929 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
7930 If target supports condition evaluation on target, invoke
7931 break_cond_on_syscall for fork and vfork.
7932
7933 2016-03-03 Yao Qi <yao.qi@linaro.org>
7934
7935 * gdb.base/disp-step-syscall.exp: Don't invoke
7936 support_displaced_stepping.
7937 (disp_step_cross_syscall): Test with displaced stepping off and
7938 on if supported.
7939
7940 2016-03-03 Yao Qi <yao.qi@linaro.org>
7941
7942 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
7943 proc.
7944 (setup): New proc.
7945 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
7946 and setup.
7947
7948 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
7949
7950 * gdb.fortran/vla-history.exp: Remove breakpoint.
7951
7952 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
7953
7954 * gdb.fortran/vla-history.exp: Lookup array elements and printing
7955 exceeds timeout.
7956
7957 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
7958
7959 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
7960 breakpoint.
7961
7962 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
7963
7964 * gdb.mi/vla.f90: Nullify pointer after declaration.
7965
7966 2016-03-01 Pedro Alves <palves@redhat.com>
7967
7968 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
7969
7970 2016-03-01 Pedro Alves <palves@redhat.com>
7971
7972 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
7973 before anything else.
7974 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
7975 _GNU_SOURCE here.
7976 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
7977 before anything else.
7978 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
7979
7980 2016-03-01 Pedro Alves <palves@redhat.com>
7981
7982 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
7983
7984 2016-03-01 Yao Qi <yao.qi@linaro.org>
7985
7986 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
7987 prepare_for_testing.
7988
7989 2016-03-01 Yao Qi <yao.qi@linaro.org>
7990
7991 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
7992
7993 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
7994
7995 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
7996 manually constructing the output path.
7997
7998 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
7999
8000 * gdb.arch/s390-stackless.S: New.
8001 * gdb.arch/s390-stackless.exp: New.
8002
8003 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
8004
8005 * gdb.dlang/circular.c: New file.
8006 * gdb.dlang/circular.exp: New file.
8007
8008 2016-02-26 Yao Qi <yao.qi@linaro.org>
8009
8010 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
8011 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
8012 (testcases): Update.
8013
8014 2016-02-26 Yao Qi <yao.qi@linaro.org>
8015
8016 * gdb.reverse/aarch64.c: Rename to ...
8017 * gdb.reverse/insn-reverse.c: ... it.
8018 * gdb.reverse/aarch64.exp: Rename to ...
8019 * gdb.reverse/insn-reverse.exp: ... it.
8020
8021 2016-02-26 Yao Qi <yao.qi@linaro.org>
8022
8023 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
8024 (testcase_ftype): New.
8025 (testcases): New array.
8026 (n_testcases): New.
8027 (main): Call each element in testcases.
8028 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
8029 (read_testcase): New.
8030 Do the tests in a loop.
8031
8032 2016-02-25 Yao Qi <yao.qi@linaro.org>
8033
8034 * gdb.base/branches.c: Remove.
8035
8036 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
8037
8038 PR gdb/13808
8039 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
8040
8041 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
8042
8043 * gdb.trace/ftrace.exp: Remove unnecessary target check.
8044
8045 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
8046
8047 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
8048 change x86_64 call_insn to 'callq'.
8049
8050 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
8051
8052 * gdb.trace/tfile-avx.c: Move to...
8053 * gdb.trace/tracefile-pseudo-reg.c: Here.
8054 * gdb.trace/tfile-avx.exp: Move to...
8055 * gdb.trace/tracefile-pseudo-reg.exp: Here.
8056
8057 2016-02-24 Gary Benson <gbenson@redhat.com>
8058
8059 * gdb.base/attach-pie-noexec.exp: Do not expect an error
8060 message on attach.
8061
8062 2016-02-23 Doug Evans <dje@google.com>
8063
8064 * gdb.base/skip.c (test_skip): New function.
8065 (end_test_skip_file_and_function): New function.
8066 (test_skip_file_and_function): New function.
8067 * gdb.base/skip1.c (test_skip): New function.
8068 (skip1_test_skip_file_and_function): New function.
8069 * gdb.base/skip.exp: Add tests for new skip options.
8070 * gdb.base/skip-solib.exp: Update expected output.
8071 * gdb.perf/skip-command.cc: New file.
8072 * gdb.perf/skip-command.exp: New file.
8073 * gdb.perf/skip-command.py: New file.
8074
8075 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
8076
8077 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
8078 info registers pattern.
8079
8080 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
8081
8082 * lib/future.exp: Add D support.
8083 (gdb_find_gdc): New proc.
8084 (gdb_default_target_compile): Add D support.
8085
8086 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
8087
8088 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
8089 user+system time.
8090 (trace_speed_test): Determine the iteration count for a time
8091 between 15..30 seconds.
8092
8093 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
8094
8095 * gdb.arch/i386-mpx-sigsegv.c: New file.
8096 * gdb.arch/i386-mpx-sigsegv.exp: New file.
8097 * gdb.arch/i386-mpx-simple_segv.c: New file.
8098 * gdb.arch/i386-mpx-simple_segv.exp: New file.
8099
8100 2016-02-18 Yao Qi <yao.qi@linaro.org>
8101
8102 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
8103 Don't call setup_kfail.
8104
8105 2016-02-18 Yao Qi <yao.qi@linaro.org>
8106
8107 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
8108 Set "set breakpoint condition-evaluation" per $cond_bp_target.
8109
8110 2016-02-16 Doug Evans <dje@google.com>
8111
8112 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
8113 * gdb.base/skip1.c: Ditto.
8114 * gdb.base/skip.exp: Whitespace cleanup.
8115
8116 2016-02-16 Don Breazeal <donb@codesourcery.com>
8117
8118 PR remote/19496
8119 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
8120 Remove kfail for PR remote/19496.
8121
8122 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
8123
8124 * lib/gdb.exp (standard_temp_file): Return a path specific to
8125 the runtest invocation.
8126
8127 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
8128
8129 * gdb.trace/save-trace.exp: Change relative path to be in the
8130 standard output directory.
8131
8132 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8133
8134 * gdb.arch/i386-prologue.c: Add missing prototypes.
8135
8136 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8137
8138 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
8139 * gdb.arch/i386-prologue.exp: Likewise.
8140 * gdb.arch/i386-size.exp: Likewise.
8141
8142 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
8143
8144 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
8145 define object file path.
8146 * gdb.btrace/gcore.exp: Use standard_output_file to define core
8147 file path.
8148 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
8149 standard_output_file to define binfile.
8150
8151 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
8152
8153 Fix compatibility with recent gfortran-5.3.1.
8154 * gdb.fortran/vla-history.exp (print vla1 allocated)
8155 (print vla2 allocated, print $2, print $3): Remove
8156 (print $4): Rename to ...
8157 (print $2): ... here.
8158 (print $9): Rename to ...
8159 (print $5): ... here.
8160 (print $10): Rename to ...
8161 (print $6): ... here.
8162 * gdb.fortran/vla.f90: Add pvla initialization.
8163
8164 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
8165
8166 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
8167 New test.
8168 * gdb.fortran/vla-value-sub.exp: Likewise.
8169
8170 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
8171
8172 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
8173
8174 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
8175
8176 * i386-biarch-core.exp: Define corefile using
8177 standard_output_file.
8178
8179 2016-02-12 Yao Qi <yao.qi@linaro.org>
8180
8181 * gdb.arch/arm-single-step-kernel-helper.c: New.
8182 * gdb.arch/arm-single-step-kernel-helper.exp: New.
8183
8184 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
8185
8186 * gdb.btrace/tailcall-only.exp: New.
8187 * gdb.btrace/tailcall-only.c: New.
8188 * gdb.btrace/x86_64-tailcall-only.S: New.
8189 * gdb.btrace/i686-tailcall-only.S: New.
8190
8191 2016-02-11 Pedro Alves <palves@redhat.com>
8192
8193 * README (Parallel testing): Add missing double quotes.
8194
8195 2016-02-11 Pedro Alves <palves@redhat.com>
8196
8197 * README (Parallel testing): New section.
8198 (GDB_PARALLEL): Rewrite.
8199 (FORCE_PARALLEL): Document.
8200
8201 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
8202
8203 * gdb.trace/tfile-avx.c: New test.
8204 * gdb.trace/tfile-avx.exp: New test.
8205
8206 2016-02-09 Keith Seitz <keiths@redhat.com>
8207
8208 PR breakpoints/19546
8209 * gdb.base/infcall-exec.c: New file.
8210 * gdb.base/infcall-exec2.c: New file.
8211 * gdb.base/infcall-exec.exp: New file.
8212
8213 2016-02-09 Keith Seitz <keiths@redhat.com>
8214
8215 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
8216 (toplevel): Call test_bkpt_address.
8217
8218 2016-02-09 Keith Seitz <keiths@redhat.com>
8219
8220 PR python/19506
8221 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
8222 (toplevel): Call test_bkpt_address.
8223
8224 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
8225
8226 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
8227 to AC_OUTPUT.
8228 * configure: Regenerate.
8229
8230 2016-02-09 Pedro Alves <palves@redhat.com>
8231
8232 PR breakpoints/19548
8233 * gdb.base/execl-update-breakpoints.c (some_function): New
8234 function.
8235 (main): Call it.
8236 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
8237 Tighten expected GDB output.
8238
8239 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
8240
8241 * Makefile.in (ALL_SUBDIRS): Remove.
8242 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
8243 (distclean maintainer-clean realclean): Likewise.
8244 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
8245 * configure: Regenerate.
8246 * gdb.ada/Makefile.in: Delete.
8247 * gdb.arch/Makefile.in: Likewise.
8248 * gdb.asm/Makefile.in: Likewise.
8249 * gdb.base/Makefile.in: Likewise.
8250 * gdb.btrace/Makefile.in: Likewise.
8251 * gdb.cell/Makefile.in: Likewise.
8252 * gdb.compile/Makefile.in: Likewise.
8253 * gdb.cp/Makefile.in: Likewise.
8254 * gdb.disasm/Makefile.in: Likewise.
8255 * gdb.dlang/Makefile.in: Likewise.
8256 * gdb.dwarf2/Makefile.in: Likewise.
8257 * gdb.fortran/Makefile.in: Likewise.
8258 * gdb.gdb/Makefile.in: Likewise.
8259 * gdb.go/Makefile.in: Likewise.
8260 * gdb.guile/Makefile.in: Likewise.
8261 * gdb.java/Makefile.in: Likewise.
8262 * gdb.linespec/Makefile.in: Likewise.
8263 * gdb.mi/Makefile.in: Likewise.
8264 * gdb.modula2/Makefile.in: Likewise.
8265 * gdb.multi/Makefile.in: Likewise.
8266 * gdb.objc/Makefile.in: Likewise.
8267 * gdb.opencl/Makefile.in: Likewise.
8268 * gdb.opt/Makefile.in: Likewise.
8269 * gdb.pascal/Makefile.in: Likewise.
8270 * gdb.perf/Makefile.in: Likewise.
8271 * gdb.python/Makefile.in: Likewise.
8272 * gdb.reverse/Makefile.in: Likewise.
8273 * gdb.server/Makefile.in: Likewise.
8274 * gdb.stabs/Makefile.in: Likewise.
8275 * gdb.threads/Makefile.in: Likewise.
8276 * gdb.trace/Makefile.in: Likewise.
8277 * gdb.xml/Makefile.in: Likewise.
8278 * lib/gdb.exp (make_gdb_parallel_path): Add check for
8279 GDB_PARALLEL.
8280 (standard_output_file): Remove check for GDB_PARALLEL, always
8281 return path in outputs/$subdir/$testname.
8282
8283 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
8284
8285 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
8286 (site.exp): Assign abs_srcdir to tcl's srcdir.
8287
8288 2016-02-04 Yao Qi <yao.qi@linaro.org>
8289
8290 * gdb.base/foll-exec-mode.c: Include limits.h.
8291 (main): Add parameters argc and argv. Get directory from
8292 argv[0].
8293 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
8294 compilation.
8295 * gdb.base/foll-exec.c: Include limits.h.
8296 (main): Add parameters argc and argv.
8297 Get directory from argv[0].
8298 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
8299 Adjust tests on the number of lines as source code changed.
8300 * gdb.base/foll-vfork-exit.c: Include limits.h.
8301 (main): Add one line of statement before vfork.
8302 * gdb.base/foll-vfork.c: Include limits.h and string.h.
8303 (main): Add parameters argc and argv. Get directory from
8304 argv[0].
8305 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
8306 (setup_gdb): Set tbreak to skip some source lines.
8307 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
8308 (main): Add parameters argc and argv. Get directory from
8309 argv[0].
8310 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
8311 compilation.
8312 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
8313 (main): Add parameters argc and argv. Get directory from
8314 argv[0].
8315 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
8316 compilation.
8317
8318 2016-02-01 Doug Evans <dje@google.com>
8319
8320 * gdb.base/skip.exp: Clean up multiple references to same test name.
8321
8322 2016-02-01 Pedro Alves <palves@redhat.com>
8323
8324 PR remote/19496
8325 * gdb.threads/forking-threads-plus-breakpoint.exp
8326 (displaced_stepping_supported): New global.
8327 (probe_displaced_stepping_support): New procedure.
8328 (do_test): Add 'displaced' parameter, and use it.
8329 (top level): Check for displaced stepping support. Add displaced
8330 stepping on/off testing axis.
8331
8332 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
8333
8334 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
8335 pointer. Don't perform further tests on the unassociated pointer
8336 if the first test fails.
8337
8338 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
8339
8340 * gdb.base/max-value-size.c: New file.
8341 * gdb.base/max-value-size.exp: New file.
8342 * gdb.base/huge.exp: Disable max-value-size for this test.
8343
8344 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
8345
8346 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
8347
8348 2016-01-28 Yao Qi <yao.qi@linaro.org>
8349
8350 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
8351
8352 2016-01-25 Pedro Alves <palves@redhat.com>
8353
8354 PR threads/19461
8355 * gdb.base/fork-running-state.c: New file.
8356 * gdb.base/fork-running-state.exp: New file.
8357
8358 2016-01-25 Pedro Alves <palves@redhat.com>
8359
8360 PR gdb/19494
8361 * gdb.base/catch-fork-kill.c: New file.
8362 * gdb.base/catch-fork-kill.exp: New file.
8363
8364 2016-01-25 Pedro Alves <palves@redhat.com>
8365
8366 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
8367 Delete, moved to lib/gdb.exp.
8368 * gdb.threads/forking-threads-plus-breakpoint.exp
8369 (foreach_with_prefix): Likewise.
8370 * gdb.threads/process-dies-while-handling-bp.exp
8371 (foreach_with_prefix): Likewise.
8372 * lib/gdb.exp (foreach_with_prefix): New procedure.
8373
8374 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
8375
8376 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
8377 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
8378
8379 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
8380
8381 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
8382 endian targets.
8383
8384 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8385 Pedro Alves <palves@redhat.com>
8386
8387 Fix testsuite compatibility with Guile.
8388 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
8389 number.
8390
8391 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8392
8393 Fix testsuite compatibility with Guile.
8394 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
8395 (thread 1): New test for backtrace through signal handler.
8396
8397 2016-01-22 Yao Qi <yao.qi@linaro.org>
8398
8399 PR testsuite/19491
8400 * gdb.base/multi-forks.c: Include
8401 ../lib/unbuffer_output.c
8402 (main): Call gdb_unbuffer_output.
8403
8404 2016-01-21 Doug Evans <dje@google.com>
8405
8406 * lib/ada.exp (gdb_compile_ada): Fix typo.
8407
8408 2016-01-21 Joel Brobecker <brobecker@adacore.com>
8409
8410 * gdb.base/break-fun-addr.exp: New file.
8411 * gdb.base/break-fun-addr1.c: New file.
8412 * gdb.base/break-fun-addr2.c: New file.
8413
8414 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
8415
8416 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
8417 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
8418 enum flag values.
8419
8420 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
8421
8422 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
8423 when GDB can not set the vector return value. Add more comments
8424 for clarification.
8425
8426 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
8427
8428 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
8429 command.
8430
8431 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
8432
8433 * Makefile.in (DO_RUNTEST): Add --status and update usages.
8434
8435 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
8436
8437 * Makefile.in (check-single): Pass --status to runtest.
8438 (check/%.exp): Likewise.
8439
8440 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
8441
8442 * Makefile.in (check-parallel): Propagate return code from make
8443 do-check-parallel.
8444
8445 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
8446
8447 * gdb.trace/ftrace.exp: Fix expected message on continue.
8448 * gdb.trace/pending.exp: Fix expected message on continue.
8449 * gdb.trace/trace-break.exp: Fix expected message on continue.
8450
8451 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
8452
8453 * lib/gdb.exp (gdb_test): Remove unused global references.
8454
8455 2016-01-18 Pedro Alves <palves@redhat.com>
8456
8457 * gdb.base/async-shell.exp: Adjust expected output.
8458 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
8459 * gdb.base/siginfo-thread.exp: Adjust expected output.
8460 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
8461 * gdb.java/jnpe.exp: Adjust expected output.
8462 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
8463 * gdb.threads/continue-pending-status.exp: Adjust expected output.
8464 * gdb.threads/leader-exit.exp: Adjust expected output.
8465 * gdb.threads/manythreads.exp: Adjust expected output.
8466 * gdb.threads/pthreads.exp: Adjust expected output.
8467 * gdb.threads/schedlock.exp: Adjust expected output.
8468 * gdb.threads/siginfo-threads.exp: Adjust expected output.
8469 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
8470 expected output.
8471 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
8472 output.
8473 * gdb.threads/sigthread.exp: Adjust expected output.
8474 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
8475
8476 2016-01-18 Yao Qi <yao.qi@linaro.org>
8477
8478 * gdb.guile/scm-section-script.c: Replace @progbits with
8479 %progbits.
8480 * gdb.python/py-section-script.c: Likewise.
8481
8482 2016-01-15 Pedro Alves <palves@redhat.com>
8483
8484 * gdb.multi/tids.exp: Test star wildcard ranges.
8485
8486 2016-01-15 Pedro Alves <palves@redhat.com>
8487
8488 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
8489 command from "thread apply" invocation.
8490 (thr_apply_info_thr_invalid): Default the expected output to the
8491 input tid list.
8492 (top level): Add tests that use convenience variables. Add tests
8493 for "thread apply" with a valid TID list, but missing the command.
8494
8495 2016-01-13 Pedro Alves <palves@redhat.com>
8496
8497 * gdb.base/default.exp: Expect $_gthread as well.
8498 * gdb.multi/tids.exp: Test $_gthread.
8499 * gdb.threads/thread-specific.exp: Test $_gthread.
8500
8501 2016-01-13 Pedro Alves <palves@redhat.com>
8502
8503 * gdb.multi/tids.exp: Test "info threads -gid".
8504
8505 2016-01-13 Pedro Alves <palves@redhat.com>
8506
8507 * gdb.multi/tids.exp: Test InferiorThread.global_num and
8508 Breakpoint.thread.
8509 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
8510
8511 2016-01-07 Pedro Alves <palves@redhat.com>
8512
8513 * gdb.base/break.exp: Adjust to output changes.
8514 * gdb.base/hbreak2.exp: Likewise.
8515 * gdb.base/sepdebug.exp: Likewise.
8516 * gdb.base/watch_thread_num.exp: Likewise.
8517 * gdb.linespec/keywords.exp: Likewise.
8518 * gdb.multi/info-threads.exp: Likewise.
8519 * gdb.threads/thread-find.exp: Likewise.
8520 * gdb.multi/tids.c: New file.
8521 * gdb.multi/tids.exp: New file.
8522
8523 2016-01-13 Pedro Alves <palves@redhat.com>
8524
8525 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
8526
8527 2016-01-13 Pedro Alves <palves@redhat.com>
8528
8529 * gdb.base/default.exp: Expect $_inferior as well.
8530 * gdb.multi/base.exp: Test $_inferior.
8531
8532 2016-01-13 Pedro Alves <palves@redhat.com>
8533
8534 PR breakpoints/19388
8535 * gdb.base/catch-signal-siginfo-cond.c: New file.
8536 * gdb.base/catch-signal-siginfo-cond.exp: New file.
8537
8538 2016-01-12 Josh Stone <jistone@redhat.com>
8539 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8540
8541 * gdb.base/catch-syscall.c (do_execve): New variable.
8542 (main): Conditionally trigger an execve.
8543 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
8544 (test_catch_syscall_execve): New, check entry/return across execve.
8545 (do_syscall_tests): Call test_catch_syscall_execve.
8546
8547 2016-01-12 Pedro Alves <palves@redhat.com>
8548
8549 * gdb.base/random-signal.exp (do_test): New procedure, with body
8550 of testcase moved in.
8551
8552 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8553 Pedro Alves <palves@redhat.com>
8554
8555 * gdb.base/funcargs.exp (finish from indirectly called function):
8556 Reintroduce the case for 'First'.
8557
8558 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8559 Pedro Alves <palves@redhat.com>
8560
8561 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
8562 (tcatch_vfork_then_child_follow_exec)
8563 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
8564 identification.
8565
8566 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8567
8568 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
8569 and repeats to unlimited.
8570 * gdb.python/py-value.exp: Likewise.
8571 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
8572 and repeats to unlimited.
8573
8574 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8575
8576 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
8577 and reordering the functions.
8578 * gdb.multi/hangout.c: Likewise.
8579 * gdb.multi/hello.c: Likewise.
8580
8581 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
8582
8583 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
8584 absolute.
8585 (SingleStatisticTestResult.report): Use dict.keys instead of
8586 dict.iterkeys.
8587
8588 2016-01-06 Pedro Alves <palves@redhat.com>
8589
8590 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
8591
8592 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
8593
8594 * gdb.btrace/dlopen.exp: New.
8595 * gdb.btrace/dlopen.c: New.
8596 * gdb.btrace/dlopen-dso.c: New.
8597
8598 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
8599
8600 * lib/gdb.exp (gdb_test): Update comments to clarify that the
8601 PATTERN argument is optional.
8602
8603 2015-12-24 Joel Brobecker <brobecker@adacore.com>
8604
8605 * lib/ada.exp (target_compile_ada_from_dir): New function.
8606 (gdb_compile_ada): Reimplement avoiding the use of project files.
8607 * gdb.ada/gnat_ada.gpr: Delete.
8608 * gdb.ada/cond_lang.exp: Adjust test to make path before
8609 filename optional.
8610 * gdb.ada/small_reg_param.exp: Likewise.
8611
8612 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
8613
8614 * gdb.base/foll-vork.exp: Remove HP-UX special case.
8615
8616 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
8617
8618 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
8619 case.
8620
8621 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
8622
8623 * gdb.base/break.exp: Remove dead code.
8624 * gdb.base/sepdebug.exp: Likewise.
8625
8626 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
8627
8628 * gdb.asm/asm-source.exp: Remove HP-UX references.
8629 * gdb.base/annota1.exp: Likewise.
8630 * gdb.base/annota3.exp: Likewise.
8631 * gdb.base/attach.exp: Likewise.
8632 * gdb.base/bigcore.exp: Likewise.
8633 * gdb.base/break.exp: Likewise.
8634 * gdb.base/call-ar-st.exp: Likewise.
8635 * gdb.base/callfuncs.exp: Likewise.
8636 * gdb.base/catch-fork-static.exp: Likewise.
8637 * gdb.base/display.exp: Likewise.
8638 * gdb.base/foll-exec-mode.exp: Likewise.
8639 * gdb.base/foll-exec.exp: Likewise.
8640 * gdb.base/foll-fork.exp: Likewise.
8641 * gdb.base/foll-vfork.exp: Likewise.
8642 * gdb.base/funcargs.exp: Likewise.
8643 * gdb.base/hbreak2.exp: Likewise.
8644 * gdb.base/inferior-died.exp: Likewise.
8645 * gdb.base/interrupt.exp: Likewise.
8646 * gdb.base/multi-forks.exp: Likewise.
8647 * gdb.base/nodebug.exp: Likewise.
8648 * gdb.base/sepdebug.exp: Likewise.
8649 * gdb.base/solib1.c: Likewise.
8650 * gdb.base/step-test.exp: Likewise.
8651 * gdb.mi/non-stop.c: Likewise.
8652 * gdb.mi/pthreads.c: Likewise.
8653 * gdb.multi/bkpt-multi-exec.ex: Likewise.
8654 * gdb.threads/pthreads.c: Likewise.
8655 * gdb.threads/staticthreads.exp: Likewise.
8656 * lib/future.exp: Likewise.
8657 * lib/gdb.exp: Likewise.
8658 * gdb.base/so-indr-cl.c: Remove.
8659 * gdb.base/so-indr-cl.exp: Likewise.
8660 * gdb.base/solib.c: Likewise.
8661 * gdb.base/solib.exp: Likewise.
8662 * gdb.base/solib2.c: Likewise.
8663
8664 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
8665
8666 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
8667 * gdb.base/call-ar-st.exp: Likewise.
8668 * gdb.base/callfuncs.exp: Likewise.
8669 * gdb.base/condbreak.exp: Likewise.
8670 * gdb.base/constvars.exp: Likewise.
8671 * gdb.base/hbreak2.exp: Likewise.
8672 * gdb.base/langs.exp: Likewise.
8673 * gdb.base/list.exp: Likewise.
8674 * gdb.base/long_long.exp: Likewise.
8675 * gdb.base/ptype.exp: Likewise.
8676 * gdb.base/scope.exp: Likewise.
8677 * gdb.base/signals.exp: Likewise.
8678 * gdb.base/so-impl-ld.exp: Likewise.
8679 * gdb.base/varargs.exp: Likewise.
8680 * gdb.base/volatile.exp: Likewise.
8681 * gdb.base/whatis.exp: Likewise.
8682 * gdb.cp/cplusfuncs.exp: Likewise.
8683 * gdb.cp/inherit.exp: Likewise.
8684 * gdb.cp/local.exp: Likewise.
8685 * gdb.cp/member-ptr.exp: Likewise.
8686 * gdb.cp/method.exp: Likewise.
8687 * gdb.cp/overload.exp: Likewise.
8688 * gdb.cp/templates.exp: Likewise.
8689 * gdb.stabs/weird.exp: Likewise.
8690 * lib/compiler.c: Likewise.
8691 * lib/compiler.cc: Likewise.
8692 * lib/cp-support.exp: Likewise.
8693 * lib/gdb.exp: Likewise.
8694
8695 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
8696
8697 * configure.ac: Remove HP-UX case.
8698 * configure: Regenerate.
8699
8700 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
8701
8702 * lib/gdb.exp (gdb_compile): Add function doc.
8703
8704 2015-12-17 Pedro Alves <palves@redhat.com>
8705
8706 PR threads/19354
8707 * gdb.multi/info-threads.exp: New file.
8708
8709 2015-12-15 Yao Qi <yao.qi@linaro.org>
8710
8711 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
8712 is aarch64*-*-*.
8713
8714 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
8715
8716 * gdb.base/history-duplicates.exp: Skip if no readline support.
8717
8718 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
8719
8720 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
8721
8722 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
8723
8724 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
8725
8726 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
8727
8728 * gdb.base/completion.exp: Skip tests that interrupt GDB with
8729 ctrl-C if nointerrupts target property is set.
8730 * gdb.base/double-prompt-target-event-error.exp: Likewise.
8731 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
8732 * gdb.base/paginate-bg-execution.exp: Likewise.
8733 * gdb.base/paginate-execution-startup.exp: Likewise.
8734 * gdb.base/random-signal.exp: Likewise.
8735 * gdb.base/range-stepping.exp: Likewise.
8736 * gdb.cp/annota2.exp: Likewise.
8737 * gdb.cp/annota3.exp: Likewise.
8738 * gdb.gdb/selftest.exp: Likewise.
8739 * gdb.threads/continue-pending-status.exp: Likewise.
8740 * gdb.threads/leader-exit.exp: Likewise.
8741 * gdb.threads/manythreads.exp: Likewise.
8742 * gdb.threads/pthreads.exp: Likewise.
8743 * gdb.threads/schedlock.exp: Likewise.
8744 * gdb.threads/sigthread.exp: Likewise.
8745
8746 2015-12-11 Don Breazeal <donb@codesourcery.com>
8747
8748 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
8749 remote.
8750 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
8751 * gdb.base/foll-exec.exp (main): Enable for target remote.
8752 * gdb.base/foll-fork.exp (main): Likewise.
8753 * gdb.base/foll-vfork.exp (main): Likewise.
8754 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
8755 (proc continue_to_exit_bp_loc): Use clean_restart.
8756 * gdb.base/pie-execl.exp (main): Disable for target remote.
8757 * gdb.base/watch-vfork.exp (main): Enable for target remote.
8758 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
8759 * gdb.threads/execl.exp (main): Likewise.
8760 * gdb.threads/fork-child-threads.exp (main): Likewise.
8761 * gdb.threads/fork-plus-threads.exp (main): Disable for target
8762 remote.
8763 * gdb.threads/fork-thread-pending.exp (main): Enable for target
8764 remote.
8765 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
8766 pid.tid style ptids, instead of just tid.
8767 * gdb.threads/thread-execl.exp (main): Enable for target remote.
8768 * gdb.threads/watchpoint-fork.exp (main): Likewise.
8769 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
8770 ptids, instead of just tid.
8771
8772 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
8773
8774 * gdb.base/list.exp (test_list_forward): Add end of file error
8775 test.
8776 (test_repeat_list_command): Add end of file error test.
8777 (test_list_backwards): Add beginning of file error test.
8778
8779 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
8780
8781 * gdb.base/list.exp (test_list_invalid_args): New function,
8782 defined, and called.
8783
8784 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
8785
8786 * gdb.base/list.exp (test_list): Make test names unique.
8787
8788 2015-12-11 Yao Qi <yao.qi@linaro.org>
8789
8790 * gdb.base/coremaker2.c: Remove.
8791
8792 2015-12-10 Pedro Alves <palves@redhat.com>
8793
8794 * gdb.multi/base.exp: Remove stale "spaces" references.
8795
8796 2015-12-10 Pedro Alves <palves@redhat.com>
8797
8798 * gdb.multi/base.exp: Don't use nowarnings.
8799 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
8800 * gdb.multi/hangout.c: Include stdio.h.
8801 * gdb.multi/hello.c: Include stdlib.h.
8802 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
8803 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
8804 * gdb.multi/multi-arch.exp: Don't use nowarnings.
8805
8806 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
8807
8808 * gdb.dwarf2/dw2-ranges-base.c: New file.
8809 * gdb.dwarf2/dw2-ranges-base.exp: New file.
8810 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
8811 support additional line table, and debug ranges generation.
8812 (Dwarf::ranges): New function, generate .debug_ranges.
8813 (Dwarf::lines): Support generating simple line table programs.
8814 (Dwarf::assemble): Initialise new namespace variables.
8815
8816 2015-12-09 Kevin Buettner <kevinb@redhat.com>
8817
8818 * gdb.base/async.exp (proc test_background): Add case for
8819 asynchronous execution not supported.
8820
8821 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
8822
8823 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
8824 format and change test names to make them unique.
8825
8826 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
8827 Pedro Alves <pedro@redhat.com>
8828
8829 PR gdb/18702
8830 Add checking of floatformats setup on x86_64 hosts.
8831 * gdb.arch/i386-float.S (main): Load bigval and smallval.
8832 (smallval, bigval): New labels/constants.
8833 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
8834 float" after loading bigval and smallval.
8835
8836 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
8837
8838 * gdb.ada/fun_overload_menu.exp: New testcase.
8839 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
8840
8841 2015-12-04 Josh Stone <jistone@redhat.com>
8842
8843 * gdb.base/catch-fork-static.exp: New.
8844
8845 2015-12-03 Yao Qi <yao.qi@linaro.org>
8846
8847 * gdb.base/sizeof.c: Don't include stdio.h and
8848 ../lib/unbuffer_output.c.
8849 (main): New variable 'size' and 'value'. Remove printf and
8850 gdb_unbuffer_output. Assign return value to size and value.
8851 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
8852 at the beginning.
8853 (check_sizeof): Check the result by printing variable 'size'.
8854 (check_valueof): Check the result by printing variable 'value'.
8855
8856 2015-12-01 Yao Qi <yao.qi@linaro.org>
8857
8858 * gdb.base/disp-step-syscall.exp: Define syscall instruction
8859 for aarch64*-*-linux* target.
8860
8861 2015-11-30 Pedro Alves <palves@redhat.com>
8862
8863 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
8864
8865 2015-11-30 Pedro Alves <palves@redhat.com>
8866
8867 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
8868 Handle non-stop mode vCont replies.
8869
8870 2015-11-30 Pedro Alves <palves@redhat.com>
8871
8872 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
8873 prepare_for_testing. Start gdb with "set non-stop on" appended to
8874 GDBFLAGS. Lax expected stop output.
8875
8876 2015-11-27 Yao Qi <yao.qi@linaro.org>
8877
8878 * gdb.arch/arm-neon.exp: New.
8879 * gdb.arch/arm-neon.c: New.
8880
8881 2015-11-27 Yao Qi <yao.qi@linaro.org>
8882
8883 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
8884
8885 2015-11-27 Yao Qi <yao.qi@linaro.org>
8886
8887 * gdb.cp/annota2.exp: Allow multiple occurrences of the
8888 frames-invalid annotation.
8889
8890 2015-11-27 Yao Qi <yao.qi@linaro.org>
8891
8892 * gdb.cp/annota2.exp: Use ${frames_invalid}.
8893
8894 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
8895
8896 * gdb.threads/names.exp: New file.
8897 * gdb.threads/names.c: New file.
8898 * README: Mention gdb,no_thread_names.
8899
8900 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
8901
8902 PR 19297
8903 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
8904 support" error.
8905
8906 2015-11-24 Pedro Alves <palves@redhat.com>
8907
8908 PR 17539
8909 * gdb.base/display.exp: Expect displays to be sorted in ascending
8910 order. Use multi_line.
8911 * gdb.base/solib-display.exp: Likewise.
8912
8913 2015-11-24 Pedro Alves <palves@redhat.com>
8914
8915 PR 17539
8916 * gdb.base/display.exp: Expect displays to be sorted in ascending
8917 order. Use multi_line.
8918 * gdb.base/solib-display.exp: Likewise.
8919
8920 2015-11-24 Pedro Alves <palves@redhat.com>
8921
8922 PR 17539
8923 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
8924 threads in ascending order.
8925 * gdb.base/foll-fork.exp: Likewise.
8926 * gdb.base/foll-vfork.exp: Likewise.
8927 * gdb.base/multi-forks.exp: Likewise.
8928 * gdb.mi/mi-nonstop.exp: Likewise.
8929 * gdb.mi/mi-nsintrall.exp: Likewise.
8930 * gdb.multi/base.exp: Likewise.
8931 * gdb.multi/multi-arch.exp: Likewise.
8932 * gdb.python/py-inferior.exp: Likewise.
8933 * gdb.threads/break-while-running.exp: Likewise.
8934 * gdb.threads/execl.exp: Likewise.
8935 * gdb.threads/gcore-thread.exp: Likewise.
8936 * gdb.threads/info-threads-cur-sal.exp: Likewise.
8937 * gdb.threads/kill.exp: Likewise.
8938 * gdb.threads/linux-dp.exp: Likewise.
8939 * gdb.threads/multiple-step-overs.exp: Likewise.
8940 * gdb.threads/next-bp-other-thread.exp: Likewise.
8941 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
8942 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
8943 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
8944 * gdb.threads/thread-find.exp: Likewise.
8945 * gdb.threads/tls.exp: Likewise.
8946 * lib/mi-support.exp (mi_reverse_list): Delete.
8947 (mi_check_thread_states): No longer reverse list.
8948
8949 2015-11-24 Pedro Alves <palves@redhat.com>
8950
8951 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
8952 use lowercase.
8953
8954 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
8955
8956 * gdb.trace/actions.c: Include trace-common.h.
8957 (main): Add a location for a fast tracepoint.
8958 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
8959 the normal tracepoints.
8960 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
8961
8962 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
8963
8964 * save-trace.exp: Factor out code to these...
8965 (gdb_save_tracepoints): New.
8966 (gdb_load_tracepoints): New.
8967 (do_save_load_test): New.
8968
8969 2015-11-23 Kevin Buettner <kevinb@redhat.com>
8970
8971 * gdb.base/asmlabel.exp: New test.
8972 * gdb.base/asmlabel.c: New test case.
8973
8974 2015-11-23 Joel Brobecker <brobecker@adacore.com>
8975
8976 * gdb.base/wrong_frame_bt_full-main.c: New file.
8977 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
8978 * gdb.base/wrong_frame_bt_full.exp: New file.
8979
8980 2015-11-23 Joel Brobecker <brobecker@adacore.com>
8981
8982 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
8983
8984 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
8985
8986 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
8987 pstate register when comparing registers values in
8988 sparc64-*-linux-gnu targets to avoid spurious differences.
8989
8990 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
8991
8992 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
8993
8994 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
8995
8996 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
8997 as type argument to gdb_compile.
8998 * gdb.base/nested-subp2.exp: Likewise.
8999 * gdb.base/nested-subp3.exp: Likewise.
9000
9001 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
9002
9003 * lib/dwarf.exp (_note): Fix left shift of negative value.
9004 * gdb.trace/trace-condition.exp: Likewise.
9005
9006 2015-11-13 Yao Qi <yao.qi@linaro.org>
9007
9008 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
9009 comments about d10v.
9010 (test_scalar_returns): Likewise.
9011 * gdb.base/d10v.ld: Remove.
9012 * gdb.base/overlays.exp: Remove the target triplet checking for
9013 d10v-*-*.
9014 * gdb.base/structs.exp (test_struct_returns): Remove the
9015 comments about d10v.
9016 (test_struct_calls): Likewise.
9017
9018 2015-11-13 Yao Qi <yao.qi@linaro.org>
9019
9020 * gdb.base/gnu_vector.exp: Check the return value by "p res".
9021 * gdb.base/gnu_vector.c: Don't include stdio.h.
9022 (main): Don't print res and call add_some_intvecs.
9023
9024 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
9025
9026 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
9027 macro.
9028 (func5): Removed.
9029 (func4): Use FAST_TRACEPOINT_LABEL.
9030 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
9031 macro.
9032 (func): Removed.
9033 (thread_function): Use FAST_TRACEPOINT_LABEL.
9034 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
9035 (func): Remove.
9036 (marker): Use FAST_TRACEPOINT_LABEL.
9037 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
9038 (pendfunc1): Remove.
9039 (pendfunc): Use FAST_TRACEPOINT_LABEL.
9040 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
9041 (foo): Remove.
9042 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
9043 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
9044 macro.
9045 (func): Remove.
9046 (marker): Use FAST_TRACEPOINT_LABEL.
9047 * gdb.trace/trace-common.h: New header.
9048 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
9049 macro.
9050 (func): Remove.
9051 (marker): Use FAST_TRACEPOINT_LABEL.
9052 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
9053 (func): Remove.
9054 (thread_function): Use FAST_TRACEPOINT_LABEL.
9055
9056 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
9057
9058 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
9059 in front.
9060 * gdb.trace/change-loc.exp: Use global pcreg definition.
9061 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
9062 * gdb.trace/entry-values.exp: Use global spreg definition, add $
9063 in front.
9064 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
9065 * gdb.trace/pending.exp: Likewise.
9066 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
9067 * gdb.trace/trace-break.exp: Likewise.
9068 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
9069 in front.
9070 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
9071 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
9072 in front.
9073 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
9074
9075 2015-11-09 Joel Brobecker <brobecker@adacore.com>
9076
9077 * gdb.ada/fin_fun_out: New testcase.
9078
9079 2015-11-07 Kevin Buettner <kevinb@redhat.com>
9080
9081 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
9082 value associated with DW_AT_byte_size.
9083 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
9084 constants for DW_AT_byte_size, DW_AT_lower_bound, and
9085 DW_AT_upper_bound.
9086
9087 2015-11-07 Kevin Buettner <kevinb@redhat.com>
9088
9089 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
9090 (gdb_target_symbol_prefix_flags): Define in terms of _asm
9091 version.
9092 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
9093 gdb.dwarf2/dw2-canonicalize-type.exp,
9094 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
9095 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
9096 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
9097 provided by gdb_target_symbol_prefix_flags_asm.
9098 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
9099 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
9100 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
9101 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
9102 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
9103 macros where needed). Use this macro for symbols which require
9104 the prefix provided by SYMBOL_PREFIX.
9105
9106 2015-11-05 Kevin Buettner <kevinb@redhat.com>
9107
9108 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
9109 New procs.
9110 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
9111 representing expressions, of more than one list element.
9112 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
9113 to prepend linker symbol prefix to f.
9114 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
9115 table_1 and table_2.
9116 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
9117 Likewise, for f and g.
9118 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
9119 for ptr.
9120 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
9121 for main.
9122 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
9123 table_1_ptr and table_2_ptr.
9124
9125 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9126 Joel Brobecker <brobecker@adacore.com>
9127
9128 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
9129
9130 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
9131
9132 * gdb.reverse/s390-mvcle.c: New test.
9133 * gdb.reverse/s390-mvcle.exp: New file.
9134 * lib/gdb.exp: Enable reverse tests on s390*-linux.
9135
9136 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
9137
9138 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
9139
9140 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
9141
9142 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
9143 reaching marker2.
9144 * gdb.reverse/getresuid-reverse.exp: Likewise.
9145 * gdb.reverse/pipe-reverse.exp: Likewise.
9146 * gdb.reverse/readv-reverse.exp: Likewise.
9147 * gdb.reverse/recvmsg-reverse.exp: Likewise.
9148 * gdb.reverse/time-reverse.exp: Likewise.
9149 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
9150
9151 2015-10-30 Yao Qi <yao.qi@linaro.org>
9152
9153 * gdb.threads/wp-replication.c (watch_count_done): Remove.
9154 (empty_cycle): Remove.
9155 (main): Don't call empty_cycle. Don't use watch_count_done.
9156 * gdb.threads/wp-replication.exp: Don't set breakpoint on
9157 empty_cycle. Rewrite the code counting HW watchpoints.
9158
9159 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
9160
9161 * gdb.reverse/fstatat-reverse.c: New test.
9162 * gdb.reverse/fstatat-reverse.exp: New file.
9163 * gdb.reverse/getresuid-reverse.c: New test.
9164 * gdb.reverse/getresuid-reverse.exp: New file.
9165 * gdb.reverse/pipe-reverse.c: New test.
9166 * gdb.reverse/pipe-reverse.exp: New file.
9167 * gdb.reverse/readv-reverse.c: New test.
9168 * gdb.reverse/readv-reverse.exp: New file.
9169 * gdb.reverse/recvmsg-reverse.c: New test.
9170 * gdb.reverse/recvmsg-reverse.exp: New file.
9171 * gdb.reverse/time-reverse.c: New test.
9172 * gdb.reverse/time-reverse.exp: New file.
9173 * gdb.reverse/waitpid-reverse.c: New test.
9174 * gdb.reverse/waitpid-reverse.exp: New file.
9175
9176 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
9177
9178 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
9179
9180 2015-10-26 Doug Evans <dje@google.com>
9181
9182 PR symtab/17391
9183 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
9184 * gdb.dwarf2/bad-regnum.c: New file.
9185 * gdb.dwarf2/bad-regnum.exp: New file.
9186
9187 2015-10-26 Doug Evans <dje@google.com>
9188
9189 PR python/18938
9190 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
9191 file.
9192
9193 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9194
9195 * gdb.compile/compile.exp (compile code globalvar): Update expectation
9196 for a change by "Mention language in compile error message".
9197
9198 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
9199
9200 PR python/18073
9201 * gdb.python/py-type.c (C::a_method): New.
9202 (C::a_const_method): New.
9203 (C::a_static_method): New.
9204 (a_function): New.
9205 * gdb.python/py-type.exp (test_fields): Test getting fields
9206 from function and method.
9207
9208 2015-10-21 Keven Boell <keven.boell@intel.com>
9209
9210 * gdb.fortran/vla-alloc-assoc.exp: New file.
9211 * gdb.fortran/vla-datatypes.exp: New file.
9212 * gdb.fortran/vla-datatypes.f90: New file.
9213 * gdb.fortran/vla-history.exp: New file.
9214 * gdb.fortran/vla-ptype-sub.exp: New file.
9215 * gdb.fortran/vla-ptype.exp: New file.
9216 * gdb.fortran/vla-sizeof.exp: New file.
9217 * gdb.fortran/vla-sub.f90: New file.
9218 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
9219 * gdb.fortran/vla-value-sub-finish.exp: New file.
9220 * gdb.fortran/vla-value-sub.exp: New file.
9221 * gdb.fortran/vla-value.exp: New file.
9222 * gdb.fortran/vla-ptr-info.exp: New file.
9223 * gdb.mi/mi-vla-fortran.exp: New file.
9224 * gdb.mi/vla.f90: New file.
9225
9226 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
9227
9228 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
9229 of hardwired timeout value.
9230
9231 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9232 Pedro Alves <palves@redhat.com>
9233
9234 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
9235 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
9236
9237 2015-10-19 Josh Stone <jistone@redhat.com>
9238
9239 * gdb.base/catch-syscall.c: Include <sched.h>.
9240 (unknown_syscall): New variable.
9241 (main): Trigger a vfork and an unknown syscall.
9242 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
9243 (unknown_syscall_number): Likewise.
9244 (check_call_to_syscall): Accept an optional syscall pattern.
9245 (check_return_from_syscall): Likewise.
9246 (check_continue): Likewise.
9247 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
9248 (test_catch_syscall_skipping_return): New test toggling off 'catch
9249 syscall' to step over the syscall return, then toggling back on.
9250 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
9251 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
9252 (do_syscall_tests): Call test_catch_syscall_without_args and
9253 test_catch_syscall_mid_vfork.
9254 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
9255 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
9256
9257 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
9258
9259 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
9260 print g_vE): Add new pass patterns.
9261 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
9262 print various symbol names for vptr fields.
9263
9264 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
9265
9266 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
9267 results.
9268
9269 2015-10-12 Yao Qi <yao.qi@linaro.org>
9270
9271 * gdb.arch/disp-step-insn-reloc.exp: New test case.
9272
9273 2015-10-12 Yao Qi <yao.qi@linaro.org>
9274
9275 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
9276 is aarch64*-*-linux*.
9277
9278 2015-10-12 Yao Qi <yao.qi@linaro.org>
9279
9280 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
9281 (can_relocate_bcond_true): ... it.
9282 (can_relocate_bcond_false): New function.
9283 (foo): Likewise.
9284 (can_relocate_bl): Likewise.
9285 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
9286 can_relocate_bl.
9287
9288 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
9289
9290 * gdb.base/nested-addr.c: New file.
9291 * gdb.base/nested-addr.exp: New testcase.
9292
9293 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
9294
9295 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
9296 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
9297 its output. Ignore the output of "record goto begin" and instead
9298 check that GDB is replaying.
9299
9300 2015-10-09 Pedro Alves <palves@redhat.com>
9301
9302 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
9303 (top level): Use it in the run with no args test.
9304
9305 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
9306
9307 * gdb.dlang/properties.exp: New file.
9308
9309 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
9310
9311 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
9312 whether or not address 0x1000 is mapped on the target.
9313
9314 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
9315
9316 * gdb.python/py-type.exp: Do not run tests if binaries fail to
9317 build.
9318
9319 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
9320
9321 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
9322 instruction-history test.
9323
9324 2015-09-28 Doug Evans <dje@google.com>
9325
9326 * gdb.base/gcore.c (array_func): Add reference to static_array.
9327
9328 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
9329
9330 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
9331 source line.
9332
9333 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
9334
9335 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
9336 short or char as base type.
9337
9338 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
9339
9340 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
9341 to allow any size enum.
9342
9343 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
9344
9345 * gdb.ada/array_ptr_renaming.exp: New testcase.
9346 * gdb.ada/array_ptr_renaming/foo.adb: New file.
9347 * gdb.ada/array_ptr_renaming/pack.ads: New file.
9348
9349 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
9350
9351 * gdb.trace/ftrace-lock.c: New file.
9352 * gdb.trace/ftrace-lock.exp: New file.
9353
9354 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
9355
9356 * gdb.arch/insn-reloc.c: New file.
9357 * gdb.arch/ftrace-insn-reloc.exp: New file.
9358
9359 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
9360
9361 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
9362 instruction.
9363 * gdb.trace/pendshr1.c (pendfunc): Likewise.
9364 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
9365 * gdb.trace/range-stepping.c: Likewise.
9366 * gdb.trace/trace-break.c: Likewise.
9367 * gdb.trace/trace-mt.c (thread_function): Likewise.
9368 * gdb.trace/ftrace.c (marker): Likewise.
9369 * gdb.trace/trace-condition.c (marker): Likewise.
9370 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
9371 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
9372 is_aarch64_target.
9373
9374 2015-09-18 Doug Evans <xdje42@gmail.com>
9375
9376 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
9377 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
9378
9379 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
9380
9381 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
9382 the breakpoint.
9383
9384 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
9385
9386 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
9387 the pending breakpoint. Remove timeout override for "Run till
9388 MI pending breakpoint on pendfunc3 on thread 2" test.
9389
9390 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
9391
9392 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
9393 filename pattern.
9394
9395 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
9396
9397 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
9398 in breakpoint filename pattern.
9399
9400 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
9401
9402 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
9403
9404 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
9405
9406 * gdb.linespec/explicit.exp: Check for readline support for
9407 tab-completion tests. Fix obvious typo.
9408
9409 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
9410
9411 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
9412 and replay.
9413
9414 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
9415
9416 * gdb.btrace/non-stop.c: New.
9417 * gdb.btrace/non-stop.exp: New.
9418
9419 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
9420 Yao Qi <yao.qi@linaro.org>
9421
9422 * gdb.trace/trace-condition.c: New file.
9423 * gdb.trace/trace-condition.exp: New file.
9424
9425 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
9426
9427 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
9428 for testing bytecode compilation.
9429
9430 2015-09-16 Pedro Alves <palves@redhat.com>
9431 Sandra Loosemore <sandra@codesourcery.com>
9432
9433 * gdb.threads/non-stop-fair-events.c (timeout): New global.
9434 (SECONDS): Redefine.
9435 (main): Call pthread_kill and alarm early.
9436 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
9437 support.
9438 (test): If the target can't hardware step and doesn't support
9439 displaced stepping, increase the timeout.
9440
9441 2015-09-16 Pedro Alves <palves@redhat.com>
9442
9443 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
9444 (enable_debug): New procedures.
9445 (test): Use them. Bail out if waiting for threads fails.
9446 (top level): Bail out if a test fails.
9447
9448 2015-09-16 Yao Qi <yao.qi@linaro.org>
9449
9450 * gdb.asm/asm-source.exp: Set asm-arch for
9451 aarch64*-*-* target.
9452 * gdb.asm/aarch64.inc: New file.
9453
9454 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
9455
9456 * gdb.ada/array_of_variable_length.exp: New testcase.
9457 * gdb.ada/array_of_variable_length/foo.adb: New file.
9458 * gdb.ada/array_of_variable_length/pck.adb: New file.
9459 * gdb.ada/array_of_variable_length/pck.ads: New file.
9460
9461 2015-09-15 Doug Evans <dje@google.com>
9462
9463 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
9464 of function static local variable.
9465
9466 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9467
9468 * gdb.threads/tls-so_extern.exp: New test file.
9469 * gdb.threads/tls-so_extern.c: New test file.
9470 * gdb.threads/tls-so_extern_main.c: New test file.
9471
9472 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9473
9474 * gdb.opt/solib-intra-step-lib.c: New file.
9475 * gdb.opt/solib-intra-step-main.c: New file.
9476 * gdb.opt/solib-intra-step.exp: New file.
9477
9478 2015-09-15 Pedro Alves <palves@redhat.com>
9479
9480 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
9481 gdb_continue_to_breakpoint instead of gdb_test_multiple.
9482
9483 2015-09-14 Pedro Alves <palves@redhat.com>
9484
9485 * gdb.base/hook-stop-continue.c: Delete.
9486 * gdb.base/hook-stop-continue.exp: Delete.
9487 * gdb.base/hook-stop-frame.c: Delete.
9488 * gdb.base/hook-stop-frame.exp: Delete.
9489 * gdb.base/hook-stop.c: New file.
9490 * gdb.base/hook-stop.exp: New file.
9491
9492 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
9493
9494 * gdb.ada/access_to_packed_array.exp: New testcase.
9495 * gdb.ada/access_to_packed_array/foo.adb: New file.
9496 * gdb.ada/access_to_packed_array/pack.adb: New file.
9497 * gdb.ada/access_to_packed_array/pack.ads: New file.
9498
9499 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
9500
9501 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
9502 buffer size test.
9503
9504 2015-09-11 Don Breazeal <donb@codesourcery.com>
9505
9506 * gdb.base/foll-exec.c: Add copyright header. Fix
9507 formatting issues.
9508 * gdb.base/foll-exec.exp (zap_session): Delete proc.
9509 (do_exec_tests): Use clean_restart in place of zap_session,
9510 and for test initialization. Fix formatting issues. Use
9511 fail in place of perror.
9512 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
9513 an expect statement to match an expression with output from
9514 the program under debug.
9515 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
9516 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
9517 * gdb.threads/non-ldr-exc-2.exp: Likewise.
9518 * gdb.threads/non-ldr-exc-3.exp: Likewise.
9519 * gdb.threads/non-ldr-exc-4.exp: Likewise.
9520
9521 2015-09-09 Doug Evans <dje@google.com>
9522
9523 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
9524
9525 2015-09-09 Doug Evans <dje@google.com>
9526
9527 * gdb.base/pie-execl.exp: Fix result test of build_executable.
9528
9529 2015-09-09 Doug Evans <dje@google.com>
9530
9531 * gdb.base/savedregs.exp: Fix typo.
9532
9533 2015-09-09 Pedro Alves <palves@redhat.com>
9534
9535 * gdb.mi/mi-cli.exp: Add CLI finish tests.
9536
9537 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
9538
9539 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
9540 command actually switches threads. Give up on remaining
9541 tests if target fails to stop at breakpoint.
9542
9543 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
9544
9545 * gdb.ada/funcall_char.exp: New testcase.
9546 * gdb.ada/funcall_char/foo.adb: New file.
9547
9548 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
9549
9550 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
9551 expected outputs. Add two testcases for completing ambiguous
9552 functions.
9553 * gdb.ada/complete/aux_pck.adb: New file.
9554 * gdb.ada/complete/aux_pck.ads: New file.
9555 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
9556 Ambiguous_Func functions.
9557 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
9558 * gdb.ada/complete/pck.adb: Likewise.
9559
9560 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
9561
9562 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
9563 failures to run the test program under GDB.
9564
9565 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
9566
9567 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
9568 to C.
9569
9570 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
9571
9572 * gdb.base/run-after-attach.exp: New test file.
9573 * gdb.base/run-after-attach.c: New test file.
9574
9575 2015-08-26 Don Breazeal <donb@codesourcery.com>
9576
9577 * gdb.base/foll-exec-2.c: New test program.
9578 * gdb.base/foll-exec-2.exp: New test.
9579
9580 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
9581
9582 * gdb.base/nested-subp1.exp: New file.
9583 * gdb.base/nested-subp1.c: New file.
9584 * gdb.base/nested-subp2.exp: New file.
9585 * gdb.base/nested-subp2.c: New file.
9586 * gdb.base/nested-subp3.exp: New file.
9587 * gdb.base/nested-subp3.c: New file.
9588
9589 2015-08-24 Pedro Alves <palves@redhat.com>
9590
9591 * gdb.server/connect-without-multi-process.c: New file.
9592 * gdb.server/connect-without-multi-process.exp: New file.
9593
9594 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
9595
9596 * gdb.opt/inline-markers.c: Make z int.
9597
9598 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
9599
9600 * gdb.opt/inline-markers.c: Make z volatile.
9601
9602 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
9603
9604 * gdb.opt/inline-bt.c: New volatile global z.
9605 * gdb.opt/inline-cmds.c: Likewise.
9606 * gdb.opt/inline-locals.c: Likewise.
9607 * gdb.opt/inline-markers.c: New extern global z.
9608 (marker): Use z.
9609 (inline_fn): Likewise.
9610
9611 2015-08-24 Pedro Alves <palves@redhat.com>
9612
9613 * config/m32r-stub.exp: Remove file.
9614 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
9615 * gdb.base/call-rt-st.exp: Likewise.
9616 * gdb.base/call-strs.exp: Likewise.
9617 * gdb.base/default.exp: Remove references to h8300-*-hms and
9618 *-*-udi*.
9619 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
9620
9621 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
9622
9623 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
9624 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
9625 and "return" use KFAIL when GDB can not read/write the vector
9626 return value.
9627
9628 2015-08-21 Gary Benson <gbenson@redhat.com>
9629
9630 * gdb.trace/pending.exp: Cope with remote transfer warnings.
9631
9632 2015-08-20 Pedro Alves <palves@redhat.com>
9633
9634 * gdb.server/solib-list.exp: No longer expect an interior stop in
9635 non-stop mode.
9636
9637 2015-08-20 Pedro Alves <palves@redhat.com>
9638
9639 * gdb.server/connect-stopped-target.c: New file.
9640 * gdb.server/connect-stopped-target.exp: New file.
9641
9642 2015-08-20 Pedro Alves <palves@redhat.com>
9643
9644 * gdb.dwarf2/comp-unit-lang.exp: New file.
9645 * gdb.dwarf2/comp-unit-lang.c: New file.
9646
9647 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
9648
9649 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
9650 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
9651
9652 2015-08-19 Kevin Buettner <kevinb@redhat.com>
9653
9654 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
9655 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
9656
9657 2015-08-18 Doug Evans <dje@google.com>
9658 Adrian Sendroiu <adrian.sendroiu@freescale.com>
9659
9660 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
9661 skip_python_tests. New arg prompt_regexp.
9662 (skip_python_tests): New function.
9663 * lib/mi-support.exp (mi_skip_python_tests): New function.
9664 * gdb.python/py-mi-objfile-gdb.py: New file.
9665 * gdb.python/py-mi-objfile.c: New file.
9666 * gdb.python/py-mi-objfile.exp: New file.
9667
9668 2015-08-17 Keith Seitz <keiths@redhat.com>
9669
9670 * gdb.linespec/explicit.exp: Move strace test from here ...
9671 * gdb.trace/strace.exp: ... to here.
9672
9673 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
9674
9675 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
9676 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
9677
9678 2015-08-14 Doug Evans <xdje42@gmail.com>
9679
9680 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
9681 inferior before selecting a new file.
9682
9683 2015-08-14 Doug Evans <xdje42@gmail.com>
9684
9685 * gdb.mi/mi-disassemble.exp: Update.
9686 * gdb.base/disasm-optim.S: New file.
9687 * gdb.base/disasm-optim.c: New file.
9688 * gdb.base/disasm-optim.h: New file.
9689 * gdb.base/disasm-optim.exp: New file.
9690
9691 2015-08-14 Keith Seitz <keiths@redhat.com>
9692
9693 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
9694 "evaluated-by".
9695
9696 2015-08-13 Joel Brobecker <brobecker@adacore.com>
9697
9698 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
9699
9700 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
9701
9702 * gdb.ada/fun_renaming.exp: New testcase.
9703 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
9704 * gdb.ada/fun_renaming/pack.adb: New file.
9705 * gdb.ada/fun_renaming/pack.ads: New file.
9706
9707 2015-08-12 Keith Seitz <keiths@redhat.com>
9708
9709 * gdb.base/dso2dso.exp: Pass basename of source file in call to
9710 gdb_get_line_number.
9711
9712 2015-08-12 Joel Brobecker <brobecker@adacore.com>
9713
9714 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
9715 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
9716 gdb.base/dso2dso.exp: New files.
9717
9718 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
9719 Pedro Alves <palves@redhat.com>
9720 Keith Seitz <keiths@redhat.com>
9721
9722 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
9723 GDBFLAGS.
9724
9725 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
9726
9727 * gdb.base/gdbhistsize-history.exp
9728 (test_histsize_history_setting): Use save_vars.
9729 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
9730 Use save_vars.
9731 (test_no_truncation_of_unlimited_history_file): Use save_vars.
9732 * gdb.base/readline.exp: Use save_vars.
9733
9734 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
9735
9736 * lib/gdb.exp (save_vars): New proc.
9737
9738 2015-08-11 Keith Seitz <keiths@redhat.com>
9739
9740 * gdb.base/help.exp: Update help_breakpoint_text.
9741
9742 2015-08-11 Keith Seitz <keiths@redhat.com>
9743
9744 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
9745 (at toplevel): Call test_explicit_breakpoints.
9746 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
9747 breakpoints.
9748 * lib/mi-support.exp (mi_make_breakpoint): Add support for
9749 breakpoint conditions, "-cond".
9750
9751 2015-08-11 Keith Seitz <keiths@redhat.com>
9752
9753 * gdb.linespec/3explicit.c: New file.
9754 * gdb.linespec/cpexplicit.cc: New file.
9755 * gdb.linespec/cpexplicit.exp: New file.
9756 * gdb.linespec/explicit.c: New file.
9757 * gdb.linespec/explicit.exp: New file.
9758 * gdb.linespec/explicit2.c: New file.
9759 * gdb.linespec/ls-errs.exp: Add explicit location tests.
9760 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
9761 before using in the matching pattern.
9762 Clarify that `prefix' is a regular expression.
9763
9764 2015-08-11 Keith Seitz <keiths@redhat.com>
9765
9766 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
9767 test.
9768 Add tests for missing ",FMT" and ",".
9769
9770 2015-08-10 Doug Evans <dje@google.com>
9771 Keith Seitz <keiths@redhat.com>
9772
9773 PR gdb/17960
9774 * gdb.base/completion.exp: Add location completer tests.
9775
9776 2015-08-07 Pedro Alves <palves@redhat.com>
9777
9778 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
9779 tests here.
9780 (top level): Run do_test with and without displaced stepping.
9781
9782 2015-08-07 Pedro Alves <palves@redhat.com>
9783
9784 * gdb.base/valgrind-disp-step.c: New file.
9785 * gdb.base/valgrind-disp-step.exp: New file.
9786
9787 2015-08-07 Pedro Alves <palves@redhat.com>
9788
9789 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
9790 Delete function.
9791 (main): Add alarm. Run an infinite loop instead of calling
9792 wait_threads.
9793 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
9794 comment.
9795 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
9796 Delete function.
9797 (main): Add alarm. Run an infinite loop instead of calling
9798 wait_threads.
9799 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
9800 comment.
9801
9802 2015-08-07 Pedro Alves <palves@redhat.com>
9803
9804 * gdb.base/checkpoint-ns.exp: New file.
9805 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
9806 standard_testfile.
9807
9808 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
9809
9810 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
9811 * gdb.btrace/instruction_history.exp: Update.
9812 * gdb.btrace/tsx.exp: New.
9813 * gdb.btrace/tsx.c: New.
9814
9815 2015-08-06 Pedro Alves <palves@redhat.com>
9816
9817 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
9818 increase timeout.
9819 * gdb.reverse/until-precsave.exp: Bump timeouts.
9820
9821 2015-08-06 Pedro Alves <palves@redhat.com>
9822
9823 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
9824
9825 2015-08-06 Pedro Alves <palves@redhat.com>
9826
9827 PR gdb/18749
9828 * gdb.threads/process-dies-while-handling-bp.c: New file.
9829 * gdb.threads/process-dies-while-handling-bp.exp: New file.
9830
9831 2015-08-06 Pedro Alves <palves@redhat.com>
9832
9833 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
9834 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
9835
9836 2015-08-05 Pedro Alves <palves@redhat.com>
9837
9838 * gdb.threads/next-while-other-thread-longjmps.c: New file.
9839 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
9840
9841 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
9842
9843 * gdb.base/bp-permanent.exp: Report test as unsupported if
9844 the target cannot stop at the permanent breakpoint.
9845
9846 2015-08-03 Doug Evans <dje@google.com>
9847
9848 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
9849 10000.
9850
9851 2015-08-03 Doug Evans <dje@google.com>
9852
9853 * Makefile.in (workers/%.worker, build-perf): New rule.
9854 (GDB_PERFTEST_MODE): New variable.
9855 (check-perf): Use it.
9856 (clean): Clean up gdb.perf parallel build subdirs.
9857 * lib/build-piece.exp: New file.
9858 * lib/gdb.exp (make_gdb_parallel_path): New function
9859 (standard_output_file, standard_temp_file): Call it.
9860 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
9861 of $GDB_PARALLEL.
9862 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
9863
9864 2015-08-03 Doug Evans <dje@google.com>
9865
9866 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
9867 (LOG_FILE_NAME): New global.
9868 (TextReporter.__init__): Initialize self.txt_sum.
9869 (TextReporter.report): Add support for multiple data-points.
9870 Move report to perftest.sum, put raw data in perftest.log.
9871 (TextReporter.start): Open sum and log files.
9872 (TextReporter.end): Close sum and log files.
9873 * gdb.perf/lib/perftest/testresult.py
9874 (SingleStatisticTestResult.record): Handle multiple data-points.
9875
9876 2015-07-31 Pedro Alves <palves@redhat.com>
9877
9878 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
9879 Use spawn_id_get_pid. Wait for spawn id after eof. Use
9880 kill_wait_spawned_process instead of explicit "kill -9".
9881 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
9882 returning a spawn id instead of a pid. Use spawn_id_get_pid and
9883 kill_wait_spawned_process.
9884 * gdb.base/attach-twice.exp: Likewise.
9885 * gdb.base/attach.exp: Likewise.
9886 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
9887 gdb_test_multiple.
9888 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
9889 returning a spawn id instead of a pid. Use spawn_id_get_pid and
9890 kill_wait_spawned_process.
9891 * gdb.base/valgrind-infcall.exp: Likewise.
9892 * gdb.multi/multi-attach.exp: Likewise.
9893 * gdb.python/py-prompt.exp: Likewise.
9894 * gdb.python/py-sync-interp.exp: Likewise.
9895 * gdb.server/ext-attach.exp: Likewise.
9896 * gdb.threads/attach-into-signal.exp (corefunc): Use
9897 spawn_wait_for_attach, spawn_id_get_pid and
9898 kill_wait_spawned_process.
9899 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
9900 spawn_wait_for_attach returning a spawn id instead of a pid. Use
9901 spawn_id_get_pid and kill_wait_spawned_process.
9902 * gdb.threads/attach-stopped.exp (corefunc): Use
9903 spawn_wait_for_attach, spawn_id_get_pid and
9904 kill_wait_spawned_process.
9905 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
9906 Use spawn_id_get_pid. Wait for spawn id after eof. Use
9907 kill_wait_spawned_process instead of explicit "kill -9".
9908 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
9909 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
9910 (spawn_wait_for_attach): Use spawn instead of exec to spawn
9911 processes. Don't map cygwin/windows pids here. Now returns a
9912 spawn id list.
9913
9914 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
9915
9916 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
9917 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
9918 correct patch.
9919
9920 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
9921
9922 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
9923
9924 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
9925
9926 Reapply:
9927 2014-05-21 Mark Wielaard <mjw@redhat.com>
9928
9929 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
9930
9931 2015-07-30 Pedro Alves <palves@redhat.com>
9932
9933 * linux-low.c (handle_extended_wait): Set the child's last
9934 reported status to TARGET_WAITKIND_STOPPED.
9935
9936 2015-07-30 Pedro Alves <palves@redhat.com>
9937
9938 PR threads/18600
9939 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
9940 only shows inferior 1.
9941
9942 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
9943 Pedro Alves <palves@redhat.com>
9944
9945 PR threads/18600
9946 * gdb.threads/fork-plus-threads.c: New file.
9947 * gdb.threads/fork-plus-threads.exp: New file.
9948
9949 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
9950
9951 * gdb.base/batch-preserve-term-settings.exp
9952 (test_terminal_settings_preserved_after_cli_exit): Use
9953 send_quit_command.
9954
9955 2015-07-29 Pedro Alves <palves@redhat.com>
9956 Don Breazeal <donb@codesourcery.com>
9957
9958 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
9959 output from both inferior_spawn_id and gdb_spawn_id.
9960
9961 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
9962
9963 * gdb.threads/attach-into-signal.exp (corefunc): Use
9964 with_test_prefix on nested loops, uniquefying the test messages.
9965
9966 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
9967
9968 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
9969 commit.
9970
9971 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
9972
9973 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
9974 New proc.
9975 (test_terminal_settings_preserved_after_sigterm): New test.
9976
9977 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
9978
9979 * gdb.base/batch-preserve-term-settings.exp
9980 (test_terminal_settings_preserved_after_cli_exit): New test.
9981
9982 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
9983
9984 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
9985 manipulation of saved_gdbflags.
9986 (test_terminal_settings_preserved): Remove global declaration of
9987 the unused variable pagination_prompt. Remove manipulation of
9988 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
9989 GDBFLAGS.
9990
9991 2015-07-29 Pedro Alves <palves@redhat.com>
9992
9993 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
9994
9995 2015-07-29 Pedro Alves <palves@redhat.com>
9996
9997 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
9998 at the top.
9999
10000 2015-07-29 Pedro Alves <palves@redhat.com>
10001
10002 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
10003 (main): Call gdb_unbuffer_output.
10004 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
10005 (main): Call gdb_unbuffer_output.
10006 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
10007 (main): Call gdb_unbuffer_output.
10008 * gdb.base/call-strs.exp: Adjust to step over the
10009 gdb_unbuffer_output call.
10010 * gdb.base/catch-gdb-caused-signals.c: Include
10011 "../lib/unbuffer_output.c".
10012 (main): Call gdb_unbuffer_output.
10013 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
10014 (main): Call gdb_unbuffer_output.
10015 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
10016 (main): Call gdb_unbuffer_output.
10017 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
10018 (main): Call gdb_unbuffer_output.
10019 * gdb.base/shlib-call.exp: Adjust to step over the
10020 gdb_unbuffer_output call.
10021 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
10022 (main): Call gdb_unbuffer_output.
10023 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
10024 (main): Call gdb_unbuffer_output.
10025 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
10026 (main): Rename to ...
10027 (test): ... this.
10028 (main): Reimplement.
10029 * gdb.base/varargs.exp: Run to test instead of to main.
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 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
10036 factore out from mi_continue_dprintf. For call-style dprintfs,
10037 expect dprintf output out of $inferior_spawn_id.
10038 (mi_continue_dprintf): Use mi_expect_dprintf.
10039 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
10040 (main): Call gdb_unbuffer_output.
10041
10042 2015-07-29 Pedro Alves <palves@redhat.com>
10043
10044 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
10045 (default_mi_gdb_start): Set inferior_spawn_id instead of
10046 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
10047 gdb_spawn_id.
10048 (mi_gdb_test): Always expect inferior output from both
10049 $inferior_spawn_id and $gdb_spawn_id.
10050
10051 2015-07-29 Pedro Alves <palves@redhat.com>
10052
10053 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
10054 send_inferior and $inferior_spawn_id.
10055
10056 2015-07-29 Pedro Alves <palves@redhat.com>
10057
10058 * gdb.gdb/complaints.exp (test_initial_complaints)
10059 (test_serial_complaints, test_short_complaints): Use
10060 gdb_test_stdio.
10061 (test_empty_complaint): Handle $inferior_spawn_id !=
10062 $gdb_spawn_id.
10063
10064 2015-07-29 Pedro Alves <palves@redhat.com>
10065
10066 * gdb.base/varargs.exp: Use gdb_test_stdio.
10067
10068 2015-07-29 Pedro Alves <palves@redhat.com>
10069
10070 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
10071
10072 2015-07-29 Pedro Alves <palves@redhat.com>
10073
10074 * gdb.base/ending-run.exp: Use gdb_test_stdio.
10075
10076 2015-07-29 Pedro Alves <palves@redhat.com>
10077
10078 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
10079 parameter into two new parameters, "inf_result" and "gdb_result".
10080 Expect inferior output and gdb output from $inferior_spawn_id and
10081 $gdb_spawn_id, respectively. Adjust all callers.
10082
10083 2015-07-29 Pedro Alves <palves@redhat.com>
10084
10085 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
10086 of gdb_test_sequence.
10087
10088 2015-07-29 Pedro Alves <palves@redhat.com>
10089
10090 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
10091 (saw_spurious_output): Expect inferior output from
10092 $inferior_spawn_id. Use gdb_test_stdio.
10093
10094 2015-07-29 Pedro Alves <palves@redhat.com>
10095
10096 * gdb.base/dprintf.exp: Use standard_testfile. Change
10097 prepare_for_testing call.
10098 (srcfile): Don't set.
10099 (restart): New procedure.
10100 (test_dprintf): New procecure, use to continue over dprintfs.
10101 (test_call, test_agent): New procedures, tests moved here.
10102 Restart gdb and recreate dprintfs. Adjust expected output.
10103
10104 2015-07-29 Pedro Alves <palves@redhat.com>
10105
10106 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
10107
10108 2015-07-29 Pedro Alves <palves@redhat.com>
10109
10110 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
10111
10112 2015-07-29 Pedro Alves <palves@redhat.com>
10113
10114 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
10115 gdb_test_stdio.
10116
10117 2015-07-29 Pedro Alves <palves@redhat.com>
10118
10119 * lib/gdb.exp (gdb_test_stdio): New procedure.
10120
10121 2015-07-29 Pedro Alves <palves@redhat.com>
10122
10123 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
10124
10125 2015-07-29 Pedro Alves <palves@redhat.com>
10126
10127 * gdb.base/call-signal-resume.exp: Remove check for
10128 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
10129 * gdb.base/unwindonsignal.exp: Likewise.
10130 * gdb.base/call-signals.c (gen_signal): Remove printf call.
10131 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
10132
10133 2015-07-29 Pedro Alves <palves@redhat.com>
10134
10135 * gdb.base/siginfo-addr.c (pass): New function.
10136 (handler): Call it iff si_addr is correct.
10137 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
10138 Set a breakpoint at "pass" and continue to it.
10139
10140 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
10141
10142 * gdb.python/py-objfile.exp: Make some tests have unique names.
10143 * gdb.python/py-pp-registration.exp: Likewise.
10144
10145 2015-07-28 Pedro Alves <palves@redhat.com>
10146
10147 * gdb.server/server-exec-info.exp: Issue a "disconnect".
10148
10149 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
10150
10151 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
10152
10153 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
10154
10155 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
10156
10157 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
10158
10159 * gdb.base/gdb-sigterm-2.exp: New test.
10160
10161 2015-07-25 Doug Evans <xdje42@gmail.com>
10162
10163 Revert:
10164 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
10165 (workers/%.worker, build-perf): New rule.
10166 (GDB_PERFTEST_MODE): New variable.
10167 (check-perf): Use it.
10168 (clean): Clean up gdb.perf parallel build subdirs.
10169 * lib/build-piece.exp: New file.
10170 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
10171 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
10172 name.
10173 (standard_temp_file): Ditto.
10174 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
10175 of $GDB_PARALLEL.
10176
10177 2015-07-24 Doug Evans <dje@google.com>
10178
10179 * gdb.perf/lib/perftest/utils.py: New file.
10180 * gdb.perf/gm-hello.cc: New file.
10181 * gdb.perf/gm-pervasive-typedef.cc: New file.
10182 * gdb.perf/gm-pervasive-typedef.h: New file.
10183 * gdb.perf/gm-std.cc: New file.
10184 * gdb.perf/gm-std.h: New file.
10185 * gdb.perf/gm-use-cerr.cc: New file.
10186 * gdb.perf/gm-utils.h: New file.
10187 * gdb.perf/gmonster-null-lookup.py: New file.
10188 * gdb.perf/gmonster-pervasive-typedef.py: New file.
10189 * gdb.perf/gmonster-print-cerr.py: New file.
10190 * gdb.perf/gmonster-ptype-string.py: New file.
10191 * gdb.perf/gmonster-runto-main.py: New file.
10192 * gdb.perf/gmonster-select-file.py: New file.
10193 * gdb.perf/gmonster1-null-lookup.exp: New file.
10194 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
10195 * gdb.perf/gmonster1-print-cerr.exp: New file.
10196 * gdb.perf/gmonster1-ptype-string.exp: New file.
10197 * gdb.perf/gmonster1-runto-main.exp: New file.
10198 * gdb.perf/gmonster1-select-file.exp: New file.
10199 * gdb.perf/gmonster1.cc: New file.
10200 * gdb.perf/gmonster1.exp: New file.
10201 * gdb.perf/gmonster2-null-lookup.exp: New file.
10202 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
10203 * gdb.perf/gmonster2-print-cerr.exp: New file.
10204 * gdb.perf/gmonster2-ptype-string.exp: New file.
10205 * gdb.perf/gmonster2-runto-main.exp: New file.
10206 * gdb.perf/gmonster2-select-file.exp: New file.
10207 * gdb.perf/gmonster2.cc: New file.
10208 * gdb.perf/gmonster2.exp: New file.
10209
10210 2015-07-24 Doug Evans <dje@google.com>
10211
10212 * gdb.perf/README: New file.
10213 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
10214 * lib/gen-perf-test.exp: New file.
10215
10216 2015-07-24 Doug Evans <dje@google.com>
10217
10218 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
10219 (PerfTest::startup): New function.
10220 (PerfTest::run): Return result of calling body.
10221 (PerfTest::assemble): Rewrite.
10222 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
10223 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
10224 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
10225 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
10226 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
10227
10228 2015-07-24 Doug Evans <dje@google.com>
10229
10230 * lib/gdb.exp (clean_restart): Make executable optional.
10231
10232 2015-07-24 Doug Evans <dje@google.com>
10233
10234 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
10235 compiler_info references.
10236 * gdb.cp/temargs.exp: Ditto.
10237 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
10238 (get_compiler_info): Early exit if already computed. Set compiler_info
10239 to "unknown" if there was a problem.
10240 (test_compiler_info): Add function comment. Call get_compiler_info.
10241
10242 2015-07-24 Doug Evans <dje@google.com>
10243
10244 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
10245 (workers/%.worker, build-perf): New rule.
10246 (GDB_PERFTEST_MODE): New variable.
10247 (check-perf): Use it.
10248 (clean): Clean up gdb.perf parallel build subdirs.
10249 * lib/build-piece.exp: New file.
10250 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
10251 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
10252 name.
10253 (standard_temp_file): Ditto.
10254 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
10255 of $GDB_PARALLEL.
10256
10257 2015-07-24 Doug Evans <dje@google.com>
10258
10259 * lib/future.exp (gdb_default_target_compile): New option
10260 "early_flags".
10261 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
10262 --as-needed.
10263
10264 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
10265
10266 * gdb.base/catch-syscall.exp: Call gdb_exit before
10267 gdb_skip_xml_test.
10268
10269 2015-07-24 Pedro Alves <palves@redhat.com>
10270
10271 * gdb.python/py-events.exp: Accept output between the stop event
10272 and the prompt.
10273 * gdb.python/py-evsignal.exp: Likewise.
10274 * gdb.python/py-evthreads.exp: Likewise.
10275
10276 2015-07-24 Pedro Alves <palves@redhat.com>
10277
10278 PR gdb/18717
10279 * gdb.threads/non-ldr-exit.c: New file.
10280 * gdb.threads/non-ldr-exit.exp: New file.
10281
10282 2015-07-24 Yao Qi <yao.qi@linaro.org>
10283
10284 * gdb.server/ext-wrapper.exp: Test --wrapper option when
10285 restarting process.
10286
10287 2015-07-24 Yao Qi <yao.qi@linaro.org>
10288
10289 * gdb.server/ext-restart.exp: New file.
10290
10291 2015-07-24 Yao Qi <yao.qi@linaro.org>
10292
10293 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
10294 argument options.
10295 * gdb.server/ext-wrapper.exp: New file.
10296
10297 2015-07-23 Doug Evans <dje@google.com>
10298
10299 * gdb.dwarf2/dw2-dummy-cu.S: New file.
10300 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
10301
10302 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
10303
10304 * gdb.ada/var_arr_typedef.exp: New testcase.
10305 * gdb.ada/var_arr_typedef/pack.adb: New file.
10306 * gdb.ada/var_arr_typedef/pack.ads: New file.
10307 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
10308
10309 2015-07-20 Joel Brobecker <brobecker@adacore.com>
10310
10311 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
10312
10313 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10314
10315 * gdb.arch/i386-biarch-core.exp: Replace istarget
10316 by "complete set gnutarget". Remove expectation for the "core-file"
10317 command.
10318
10319 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10320
10321 Revert the previous commit:
10322 Tests for validate symbol file using build-id.
10323
10324 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
10325
10326 Tests for validate symbol file using build-id.
10327 * gdb.base/solib-mismatch-lib.c: New file.
10328 * gdb.base/solib-mismatch-libmod.c: New file.
10329 * gdb.base/solib-mismatch.c: New file.
10330 * gdb.base/solib-mismatch.exp: New file.
10331
10332 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
10333
10334 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
10335 nios2-*-linux*.
10336 * gdb.base/sigbpt.exp (stepi_out): Likewise.
10337 * gdb.base/siginfo.exp: Likewise.
10338 * gdb.base/sigstep.exp (advance, advancei): Likewise.
10339
10340 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
10341
10342 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
10343 Move it to ...
10344 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
10345 ... here.
10346 * gdb.trace/range-stepping.exp: Check that the target supports
10347 range stepping.
10348
10349 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10350
10351 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
10352
10353 2015-07-14 Pedro Alves <palves@redhat.com>
10354
10355 * gdb.base/killed-outside.exp: New file.
10356 * gdb.base/killed-outside.c: New file.
10357
10358 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
10359
10360 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
10361 (n at main): New.
10362 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
10363
10364 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
10365
10366 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
10367 infcall tests instead of setting up for KFAIL.
10368
10369 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
10370
10371 * gdb.btrace/record_goto-step.exp: New.
10372
10373 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10374
10375 PR compile/18484
10376 * gdb.compile/compile.c (struct struct_type): Add volatile to
10377 selffield's type.
10378 * gdb.compile/compile.exp
10379 (compile code struct_object.selffield = &struct_object): Skip further
10380 struct_object tests if this one xfails.
10381
10382 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
10383
10384 PR exp/18617
10385 * gdb.trace/ax.exp: Add test.
10386
10387 2015-07-07 Yao Qi <yao.qi@linaro.org>
10388
10389 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
10390 instead of istarget "aarch64*-*-*".
10391 * gdb.arch/aarch64-fp.exp: Likewise.
10392 * gdb.base/float.exp: Likewise.
10393 * gdb.reverse/aarch64.exp: Likewise.
10394 * lib/gdb.exp (is_aarch64_target): New proc.
10395
10396 2015-07-07 Yao Qi <yao.qi@linaro.org>
10397
10398 * lib/gdb.exp (is_aarch32_target): New proc.
10399 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
10400 instead of "istarget "arm*-*-*"".
10401 * gdb.arch/arm-disp-step.exp: Likewise.
10402 * gdb.arch/thumb-bx-pc.exp: Likewise.
10403 * gdb.arch/thumb-prologue.exp: Likewise.
10404 * gdb.arch/thumb-singlestep.exp: Likewise.
10405 * gdb.base/disp-step-syscall.exp: Likewise.
10406 * gdb.base/float.exp: Likewise.
10407
10408 2015-07-07 Yao Qi <yao.qi@linaro.org>
10409
10410 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
10411 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
10412
10413 2015-07-07 Yao Qi <yao.qi@linaro.org>
10414
10415 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
10416 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
10417 if it exists.
10418 * gdb.multi/multi-arch.exp: Likewise.
10419
10420 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
10421
10422 * gdb.python/py-lazy-string.exp: Add missing parentheses to
10423 print.
10424
10425 2015-07-07 Yao Qi <yao.qi@linaro.org>
10426
10427 * gdb.arch/thumb-singlestep.exp: Do one more single step.
10428
10429 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
10430
10431 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
10432 '[' and ']' characters.
10433
10434 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
10435
10436 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
10437
10438 2015-06-29 Pedro Alves <palves@redhat.com>
10439
10440 PR threads/18127
10441 * gdb.threads/hand-call-new-thread.c: New file.
10442 * gdb.threads/hand-call-new-thread.c: New file.
10443
10444 2015-06-26 Keith Seitz <keiths@redhat.com>
10445 Doug Evans <dje@google.com>
10446
10447 PR 16253
10448 * gdb.cp/var-tag-2.cc: New file.
10449 * gdb.cp/var-tag-3.cc: New file.
10450 * gdb.cp/var-tag-4.cc: New file.
10451 * gdb.cp/var-tag.cc: New file.
10452 * gdb.cp/var-tag.exp: New file.
10453
10454 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
10455
10456 * gdb.base/history-duplicates.exp: New test.
10457
10458 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
10459
10460 * gdb.base/completion.exp: Test the completion of the "focus"
10461 command.
10462
10463 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
10464
10465 * gdb.arch/amd64-prologue-skip.S: New file.
10466 * gdb.arch/amd64-prologue-skip.exp: New file.
10467
10468 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
10469
10470 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
10471 is_address_zero_readable check.
10472
10473 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
10474
10475 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
10476 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
10477
10478 2015-06-24 Yao Qi <yao.qi@linaro.org>
10479
10480 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
10481 linux targets.
10482
10483 2015-06-24 Yao Qi <yao.qi@linaro.org>
10484
10485 * lib/gdb.exp (supports_get_siginfo_type): New proc.
10486 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
10487 * gdb.base/siginfo-thread.exp: Likewise.
10488
10489 2015-06-22 Yao Qi <yao.qi@linaro.org>
10490
10491 * boards/remote-gdbserver-on-localhost.exp: Add comments.
10492
10493 2015-06-22 Yao Qi <yao.qi@linaro.org>
10494
10495 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
10496 aarch64*-*-*.
10497 (skip_hw_watchpoint_tests): Likewise.
10498
10499 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
10500
10501 * gdb.base/gdbinit-history.exp: Test the interaction between
10502 setting GDBHISTSIZE and setting the history size via .gdbinit.
10503
10504 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
10505
10506 PR gdb/16999
10507 * gdb.base/gdbhistsize-history.exp: New test.
10508
10509 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
10510
10511 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
10512 with GDBHISTSIZE.
10513 * gdb.base/readline.exp: Likewise.
10514
10515 2015-06-17 Yao Qi <yao.qi@linaro.org>
10516
10517 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
10518 line.
10519
10520 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
10521
10522 * gdb.base/gdbinit-history.exp: Add test case to check that
10523 an unlimited history file does not get truncated on exit.
10524
10525 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
10526
10527 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
10528 (VECTOR): New macro. Use it...
10529 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
10530 ...for these typedefs.
10531 (int8, char1, int1, double1): New typedefs.
10532 (struct just_int2, struct two_int2): New structures.
10533 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
10534 (add_structvecs, add_singlevecs): New functions.
10535 (main): Call add_some_intvecs twice.
10536 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
10537 the compile and exit upon failure. Try compiling for the "native"
10538 architecture. Test inferior function calls with vector arguments
10539 and vector return value handling with "finish" and "return".
10540
10541 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
10542
10543 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
10544 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
10545 PE file.
10546 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
10547
10548 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
10549
10550 PR breakpoints/16465
10551 * gdb.mi/mi-dprintf-pending.c: New file.
10552 * gdb.mi/mi-dprintf-pending.exp: New test.
10553 * gdb.mi/mi-dprintf-pendshr.c: New file.
10554
10555 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
10556 Mircea Gherzan <mircea.gherzan@intel.com>
10557
10558 * gdb.arch/i386-mpx-map.c: New file.
10559 * gdb.arch/i386-mpx-map.exp: New File.
10560
10561 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
10562
10563 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
10564 * gdb.arch/i386-mpx.exp: Indentation fixed.
10565
10566 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
10567
10568 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
10569 function and improved indentation.
10570 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
10571 gdb_test_multiple. Added additional tests to skip the test.
10572
10573 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
10574
10575 * gdb.arch/i386-avx512.c: Change path in include file.
10576 * gdb.arch/i386-avx512.exp: Change include dir path
10577 compilation flag.
10578 * gdb.arch/i386-mpx.c: Change path in include file.
10579 * gdb.arch/i386-mpx.exp: Change include dir path compilation
10580 flag.
10581
10582 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
10583
10584 * gdb.compile/compile-print.exp (compile print *vararray@3)
10585 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
10586
10587 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
10588
10589 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
10590 (do not keep jit in memory): ... this.
10591 (expect 5): Change it to ...
10592 (expect no 5): ... this.
10593
10594 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
10595
10596 PR gdb/15564
10597 * gdb.mi/mi-detach.exp: New file.
10598
10599 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
10600
10601 PR symtab/18392
10602 * gdb.arch/amd64-tailcall-self.S: New file.
10603 * gdb.arch/amd64-tailcall-self.c: New file.
10604 * gdb.arch/amd64-tailcall-self.exp: New file.
10605
10606 2015-05-28 Don Breazeal <donb@codesourcery.com>
10607
10608 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
10609 tests for remote targets by checking is_target_gdbserver.
10610
10611 2015-05-27 Doug Evans <dje@google.com>
10612
10613 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
10614 * gdb.dwarf2/opaque-type-lookup.c: New file.
10615 * gdb.dwarf2/opaque-type-lookup.exp: New file.
10616
10617 2015-05-26 Doug Evans <dje@google.com>
10618
10619 * gdb.cp/iostream.cc: New file.
10620 * gdb.cp/iostream.exp: New file.
10621
10622 2015-05-26 Doug Evans <dje@google.com>
10623
10624 * gdb.dwarf2/dw2-op-call.exp: Update.
10625 * gdb.dwarf2/dw4-sig-types.exp: Update.
10626 * gdb.dwarf2/implptr.exp: Update.
10627 * gdb.mi/mi-cmd-param-changed.exp: Update.
10628
10629 2015-05-26 Doug Evans <dje@google.com>
10630
10631 * gdb.python/py-lazy-string.c: New file.
10632 * gdb.python/py-lazy-string.exp: New file.
10633 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
10634 (main): Update. Add estring3.
10635 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
10636 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
10637
10638 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
10639 Yao Qi <yao.qi@linaro.org>
10640
10641 * gdb.reverse/aarch64.c: New.
10642 * gdb.reverse/aarch64.exp: New.
10643
10644 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
10645
10646 * lib/gdb.exp (supports_process_record): Return true for
10647 aarch64*-linux*.
10648 (supports_reverse): Likewise.
10649
10650 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
10651
10652 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
10653 Use with_test_prefix.
10654
10655 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
10656
10657 * gdb.base/completion.exp: Add test for completion of layout
10658 names.
10659
10660 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
10661
10662 * lib/gdb.exp (skip_tui_tests): New proc.
10663 * gdb.base/tui-layout.exp: Check skip_tui_tests.
10664
10665 2015-05-19 Pedro Alves <palves@redhat.com>
10666
10667 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
10668 Save the whole env array instead of just HOME. Unset HISTSIZE in
10669 the environment while testing. Restore whole environment
10670 afterwards.
10671
10672 2015-05-16 Doug Evans <xdje42@gmail.com>
10673
10674 * gdb.guile/scm-ports.c: New file.
10675 * gdb.guile/scm-ports.exp: Add memory port tests.
10676
10677 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10678
10679 * gdb.compile/compile-print.c: New file.
10680 * gdb.compile/compile-print.exp: New file.
10681
10682 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10683
10684 * gdb.compile/compile-ops.exp: Cast param to void.
10685 * gdb.compile/compile.exp: Complete type for _gdb_expr.
10686 (compile code struct_object.selffield = &struct_object): Add xfail.
10687
10688 2015-05-15 Joel Brobecker <brobecker@adacore.com>
10689
10690 * gdb.ada/arr_enum_with_gap: New testcase.
10691
10692 2015-05-15 Joel Brobecker <brobecker@adacore.com>
10693
10694 * gdb.ada/byte_packed_arr: New testcase.
10695
10696 2015-05-15 Joel Brobecker <brobecker@adacore.com>
10697
10698 * gdb.ada/pckd_neg: New testcase.
10699
10700 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
10701
10702 PR gdb/17820
10703 * gdb.base/gdbinit-history.exp: New test.
10704 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
10705 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
10706
10707 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
10708
10709 * gdb.python/py-xmethods.cc: Enhance test case.
10710 * gdb.python/py-xmethods.exp: New tests.
10711 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
10712 function.
10713 (B_indexoper): Likewise.
10714 (global_dm_list) : Add new xmethod worker functions.
10715
10716 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
10717
10718 * gdb.base/coredump-filter.exp: Correctly unset
10719 "coredump_var_addr" array.
10720
10721 2015-05-08 Pedro Alves <palves@redhat.com>
10722
10723 * gdb.server/non-existing-program.exp: Unset spawn_id.
10724
10725 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
10726
10727 PR python/18291
10728 * gdb.python/py-xmethods.exp: Add tests.
10729
10730 2015-05-08 Yao Qi <yao.qi@linaro.org>
10731
10732 PR gdb/18208
10733 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
10734 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
10735 function set_coredump_filter, and remove remote_exec call.
10736 Remove argument ipid. Callers update.
10737 (top level): Don't get inferior's PID.
10738
10739 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
10740
10741 * gdb.base/watch_thread_num.exp: Skip test on targets without
10742 access watchpoints.
10743
10744 2015-05-06 Pedro Alves <palves@redhat.com>
10745
10746 PR server/18081
10747 * gdb.server/non-existing-program.exp: New file.
10748
10749 2015-05-05 Joel Brobecker <brobecker@adacore.com>
10750
10751 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
10752
10753 2015-05-05 Joel Brobecker <brobecker@adacore.com>
10754
10755 * gdb.ada/out_of_line_in_inlined: New testcase.
10756
10757 2015-05-05 Joel Brobecker <brobecker@adacore.com>
10758
10759 * gdb.ada/var_rec_arr: New testcase.
10760
10761 2015-04-30 Yao Qi <yao.qi@linaro.org>
10762
10763 * gdb.base/break-idempotent.exp: If
10764 skip_hw_watchpoint_multi_tests returns true, skip the tests
10765 on "rwatch" and "awatch".
10766
10767 2015-04-30 Yao Qi <yao.qi@linaro.org>
10768
10769 * gdb.base/relativedebug.exp: Invoke gdb command
10770 "info sharedlibrary", and if libc.so doesn't have debug info,
10771 skip the test.
10772
10773 2015-04-29 Doug Evans <dje@google.com>
10774
10775 * gdb.python/py-xmethods.exp: Add ptype tests.
10776 * gdb.python/py-xmethods.py (E_method_char_worker): Add
10777 get_result_type method.
10778
10779 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
10780
10781 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
10782 the target does not support hardware watchpoints.
10783
10784 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
10785
10786 * gdb.base/break-always.exp: Abort testing if writing to memory
10787 causes an error.
10788
10789 2015-04-28 Doug Evans <dje@google.com>
10790
10791 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
10792 * gdb.python/py-pp-registration.exp: ... here. New file.
10793 * gdb.python/py-pp-registration.c: New file.
10794 * gdb.python/py-pp-registration.py: New file.
10795
10796 2015-04-28 Doug Evans <dje@google.com>
10797
10798 * gdb.python/py-bad-printers.c: New file.
10799 * gdb.python/py-bad-printers.py: New file.
10800 * gdb.python/py-bad-printers.exp: New file.
10801
10802 2015-04-28 Sasha Smundak <asmundak@google.com>
10803
10804 * gdb.python/py-type.exp: New test.
10805
10806 2015-04-28 Andy Wingo <wingo@igalia.com>
10807
10808 * gdb.python/py-parameter.exp:
10809 * gdb.guile/scm-parameter.exp: Escape the path that we are
10810 matching against, as it might contain characters that are special
10811 to regular expressions.
10812
10813 2015-04-27 Joel Brobecker <brobecker@adacore.com>
10814
10815 * gdb.ada/rec_comp: New testcase.
10816
10817 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
10818
10819 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
10820 before using it.
10821
10822 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
10823
10824 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
10825 new tests for verilog output.
10826
10827 2015-04-24 Yao Qi <yao.qi@linaro.org>
10828
10829 * boards/remote-gdbserver-on-localhost.exp: New file.
10830
10831 2015-04-23 Pedro Alves <palves@redhat.com>
10832
10833 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
10834 $inferior_spawn_id instead of $inferior_spawn_id directly. On
10835 "end of file", remove $inferior_spawn_id from the indirect list.
10836
10837 2015-04-23 Pedro Alves <palves@redhat.com>
10838
10839 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
10840
10841 2015-04-23 Pedro Alves <palves@redhat.com>
10842
10843 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
10844 on $any_spawn_id instead of only on $gdb_spawn_id.
10845
10846 2015-04-21 Pierre Muller <muller@sourceware.org>
10847
10848 PR pascal/17815
10849 * lib/pascal.exp (gpc_compile): Add new option "class".
10850 (fpc_compile): Likewise.
10851 * gdb.pascal/case-insensitive-symbols.pas: New file.
10852 * gdb.pascal/case-insensitive-symbols.exp: New file.
10853
10854 2015-04-20 Gary Benson <gbenson@redhat.com>
10855
10856 * gdb.base/attach.exp: Fix three extended remote failures.
10857
10858 2015-04-17 Gary Benson <gbenson@redhat.com>
10859
10860 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
10861 the main executable over the remote protocol.
10862
10863 2015-04-16 Pedro Alves <palves@redhat.com>
10864
10865 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
10866 a new gdbserver if gdbserver_reconnect_p is set.
10867
10868 2015-04-16 Pedro Alves <palves@redhat.com>
10869
10870 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
10871 is set, don't exit gdbserver.
10872
10873 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
10874
10875 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
10876 appropriate .insn, such that an older assembler can be used.
10877 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
10878 the z/Architecture instruction set on 31-bit targets as well.
10879
10880 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
10881
10882 * gdb.go/handcall.exp: Remove all logic related to the first
10883 breakpoint and rely on go_runto_main instead.
10884 * gdb.go/strings.exp: Likewise.
10885 * gdb.go/unsafe.exp: Likewise.
10886 * gdb.go/hello.exp: Likewise. Also rename the remaining
10887 breakpoint marker to "breakpoint 1".
10888 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
10889 * gdb.go/strings.go: Likewise.
10890 * gdb.go/unsafe.go: Likewise.
10891 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
10892 "set breakpoint 2 here" and rename the remaining breakpoint marker
10893 to "breakpoint 1".
10894
10895 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
10896
10897 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
10898 if itertools.imap is not present.
10899 * gdb.python/py-objfile.exp: Add parentheses.
10900 * gdb.python/py-type.exp: Same.
10901 * gdb.python/py-unwind-maint.py: Same.
10902
10903 2015-04-15 Yao Qi <yao.qi@linaro.org>
10904
10905 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
10906 of ":$ptr_size" and set its form explicitly.
10907
10908 2015-04-15 Pedro Alves <palves@redhat.com>
10909 Yao Qi <yao.qi@linaro.org>
10910
10911 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
10912 timeout by factor of 4.
10913 (test_regular_watch): Likewise.
10914 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
10915 * gdb.reverse/sigall-reverse.exp: Likewise.
10916 * gdb.reverse/until-precsave.exp: Likewise.
10917 * lib/gdb.exp (with_timeout_factor): New proc.
10918 (gdb_expect): Move some code to ...
10919 (get_largest_timeout): ... here. New procedure.
10920
10921 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
10922
10923 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
10924
10925 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
10926
10927 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
10928 to write to the .text section.
10929
10930 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
10931
10932 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
10933 Handle the case of targets that do not provide PID information.
10934
10935 2015-04-13 Yao Qi <yao.qi@linaro.org>
10936
10937 * lib/gdbserver-support.exp (gdb_exit): Catch exception
10938 and use expect instead of gdb_expect.
10939
10940 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
10941
10942 * gdb.base/coredump-filter.exp: Rename variable "addr" to
10943 "coredump_var_addr" to avoid naming conflict with other testcases.
10944
10945 2015-04-10 Pedro Alves <palves@redhat.com>
10946
10947 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
10948 gdb_test_sequence and gdb_assert.
10949
10950 2015-04-10 Pedro Alves <palves@redhat.com>
10951
10952 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
10953 test messages that don't include the breakpoint address.
10954
10955 2015-04-10 Yao Qi <yao.qi@linaro.org>
10956
10957 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
10958 false for some offset and width combinations which aren't
10959 supported by linux kernel.
10960
10961 2015-04-10 Pedro Alves <palves@redhat.com>
10962
10963 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
10964 procedure, factored out from ...
10965 (top level): ... here. Add "set displaced-stepping" testing axis.
10966 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
10967 parameter "displaced". Use it.
10968 (top level): Use foreach and add "set displaced-stepping" testing
10969 axis.
10970
10971 2015-04-10 Pedro Alves <palves@redhat.com>
10972
10973 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
10974 Remove comment.
10975 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
10976 both the address of the instruction that triggers the watchpoint
10977 and the address of the instruction immediately after, and use
10978 those addresses for the test. Fix comment.
10979
10980 2015-04-10 Pedro Alves <palves@redhat.com>
10981
10982 * gdb.base/sigstep.exp (breakpoint_to_handler)
10983 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
10984 Test "backtrace" in handler.
10985 (breakpoint_over_handler): New parameter 'displaced'. Use it.
10986 (top level): Add new "displaced" test axis to
10987 breakpoint_to_handler, breakpoint_to_handler_entry and
10988 breakpoint_over_handler.
10989
10990 2015-04-10 Pedro Alves <palves@redhat.com>
10991
10992 PR gdb/18216
10993 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
10994
10995 2015-04-10 Yao Qi <yao.qi@linaro.org>
10996
10997 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
10998 (test_add_rn_pc): New function.
10999 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
11000 (top level): Invoke test_add_rn_pc.
11001
11002 2015-04-10 Pedro Alves <palves@redhat.com>
11003
11004 PR gdb/13858
11005 * gdb.base/step-over-no-symbols.exp: New file.
11006
11007 2015-04-09 Andy Wingo <wingo@igalia.com>
11008
11009 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
11010 after the Python tests.
11011
11012 2015-04-08 Keith Seitz <keiths@redhat.com>
11013
11014 PR python/16699
11015 * gdb.python/py-completion.exp: New tests for completion.
11016 * gdb.python/py-completion.py (CompleteLimit1): New class.
11017 (CompleteLimit2): Likewise.
11018 (CompleteLimit3): Likewise.
11019 (CompleteLimit4): Likewise.
11020 (CompleteLimit5): Likewise.
11021 (CompleteLimit6): Likewise.
11022 (CompleteLimit7): Likewise.
11023
11024 2015-04-08 Pedro Alves <palves@redhat.com>
11025
11026 PR gdb/18214
11027 PR gdb/18216
11028 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
11029 function.
11030 (main): Install it as SIGUSR1 handler.
11031 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
11032 parameter. Always use "setup" as prefix. Toggle "set
11033 displaced-stepping" off/on depending on global. Don't switch to
11034 thread 1 here.
11035 (top level): Add displaced stepping "off/on" test axis. Update
11036 "setup" calls. Wrap each subtest with with_test_prefix. Test
11037 continuing with a queued signal in each thread.
11038
11039 2015-04-08 Pedro Alves <palves@redhat.com>
11040
11041 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
11042 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
11043 gdb_breakpoint instead of gdb_test that doesn't expect anything.
11044 Return early if running to main fails.
11045 * gdb.trace/while-stepping.exp: Likewise.
11046
11047 2015-04-07 Pedro Alves <palves@redhat.com>
11048
11049 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
11050 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
11051 interact with inferior program.
11052
11053 2015-04-07 Pedro Alves <palves@redhat.com>
11054
11055 * lib/gdb.exp (inferior_spawn_id): New global.
11056 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
11057 spawn id after processing the user code.
11058 (default_gdb_start): Set inferior_spawn_id.
11059 (send_inferior): New procedure.
11060 * lib/gdbserver-support.exp (gdbserver_start): Set
11061 inferior_spawn_id.
11062 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
11063
11064 2015-04-07 Pedro Alves <palves@redhat.com>
11065
11066 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
11067 * lib/gdbserver-support.exp (gdbserver_start): Make
11068 $server_spawn_id global.
11069 (gdbserver_start): Don't wait for gdbserver's spawn id with
11070 expect_background.
11071 (close_gdbserver): New procedure.
11072 (gdb_exit): Rename the default version and reimplement.
11073
11074 2015-04-07 Pedro Alves <palves@redhat.com>
11075
11076 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
11077 append the substituted item, not the original item.
11078
11079 2015-04-07 Pedro Alves <palves@redhat.com>
11080
11081 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
11082 gdb_expect.
11083
11084 2015-04-07 Pedro Alves <palves@redhat.com>
11085
11086 * gdb.base/interrupt.exp: Don't handle the case of the inferior
11087 output appearing once only.
11088
11089 2015-04-07 Pedro Alves <palves@redhat.com>
11090
11091 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
11092 that doesn't expect anything. Return early if running to main
11093 fails.
11094
11095 2015-04-07 Yao Qi <yao.qi@linaro.org>
11096
11097 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
11098 (child_function): Call alarm.
11099 (main): Move call to alarm into the loop.
11100 * gdb.threads/non-stop-fair-events.exp: Build program with
11101 -DTIMEOUT=$timeout.
11102
11103 2015-04-06 Doug Evans <xdje42@gmail.com>
11104
11105 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
11106 Fix dest parameter to board_info.
11107 (fpc_compile): Ditto.
11108 (gdb_compile_pascal): Rename dest arg to destfile.
11109
11110 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
11111
11112 * gdb.ada/funcall_ref.exp: New file.
11113 * gdb.ada/funcall_ref/foo.adb: New file.
11114
11115 2015-04-02 Yao Qi <yao.qi@linaro.org>
11116
11117 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
11118 is remote.
11119
11120 2015-04-02 Gary Benson <gbenson@redhat.com>
11121
11122 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
11123
11124 2015-04-01 Sasha Smundak <asmundak@google.com>
11125
11126 * gdb.python/py-unwind-maint.c: New file.
11127 * gdb.python/py-unwind-maint.exp: New test.
11128 * gdb.python/py-unwind-maint.py: New file.
11129 * gdb.python/py-unwind.c: New file.
11130 * gdb.python/py-unwind.exp: New test.
11131 * gdb.python/py-unwind.py: New test.
11132
11133 2015-04-01 Pedro Alves <palves@redhat.com>
11134
11135 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
11136 to fail instead of non-existent $test.
11137
11138 2015-04-01 Pedro Alves <palves@redhat.com>
11139
11140 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
11141 GDBFLAGS if not empty.
11142
11143 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
11144
11145 * gdb.ada/complete.exp: Remove "multi_line".
11146 * gdb.ada/info_exc.exp: Remove "multi_line".
11147 * gdb.ada/packed_tagged.exp: Remove "multi_line".
11148 * gdb.ada/ptype_field.exp: Remove "multi_line".
11149 * gdb.ada/sym_print_name.exp: Remove "multi_line".
11150 * gdb.ada/tagged.exp: Remove "multi_line".
11151 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
11152 [multi_line ...]
11153 * gdb.btrace/delta.exp: Likewise.
11154 * gdb.btrace/exception.exp: Likewise.
11155 * gdb.btrace/function_call_history.exp: Likewise.
11156 * gdb.btrace/instruction_history.exp: Likewise.
11157 * gdb.btrace/nohist.exp: Likewise.
11158 * gdb.btrace/record_goto.exp: Likewise.
11159 * gdb.btrace/segv.exp: Likewise.
11160 * gdb.btrace/stepi.exp: Likewise.
11161 * gdb.btrace/tailcall.exp: Likewise.
11162 * gdb.btrace/unknown_functions.exp: Likewise.
11163 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
11164 * lib/gdb.exp: Add the "multi_line" helper.
11165
11166 2015-04-01 Pedro Alves <palves@redhat.com>
11167
11168 * gdb.threads/tid-reuse.c: New file.
11169 * gdb.threads/tid-reuse.exp: New file.
11170
11171 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
11172
11173 PR corefiles/16092
11174 * gdb.base/coredump-filter.c: New file.
11175 * gdb.base/coredump-filter.exp: Likewise.
11176
11177 2015-03-27 Petr Machata <pmachata@redhat.com>
11178
11179 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
11180 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
11181 (Dwarf::assemble): Initialize them.
11182 (Dwarf::lines): New function.
11183
11184 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
11185
11186 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
11187 SYMBOL_PREFIX for x86_64-*-cygwin.
11188
11189 2015-03-26 Andy Wingo <wingo@igalia.com>
11190
11191 PR symtab/18148
11192 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
11193 const_value but not a location.
11194 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
11195 location defined in non-main CUs are visible.
11196
11197 2015-03-26 Yao Qi <yao.qi@linaro.org>
11198
11199 PR testsuite/18139
11200 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
11201 Add a line number entry for the same line.
11202 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
11203 Add a line number entry for the same line.
11204
11205 2015-03-26 Yao Qi <yao.qi@linaro.org>
11206
11207 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
11208 .int 0.
11209 (func): Likewise. Add .Lfunc_1 label.
11210 Use .Lfunc_1 label.
11211 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
11212 .int 0.
11213 (func): Likewise.
11214 Use .Lfunc_1 label.
11215
11216 2015-03-26 Yao Qi <yao.qi@linaro.org>
11217
11218 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
11219 Call gdb_compile instead to compile each .s files without debug
11220 information.
11221
11222 2015-03-26 Yao Qi <yao.qi@linaro.org>
11223
11224 * gdb.base/savedregs.exp (process_saved_regs): Make
11225 "Saved registers:" optional in the pattern.
11226
11227 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
11228
11229 * gdb.btrace/next.exp: Merged into step.exp.
11230 * gdb.btrace/finish.exp: Merged into step.exp.
11231 * gdb.btrace/nexti.exp: Merged into stepi.exp.
11232 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
11233 "record goto" and checking the exact replay position.
11234 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
11235 check for "Recording format" in "info record" output.
11236 * gdb.btrace/record_goto.exp: Choose test file based on target.
11237 * gdb.btrace/x86-record_goto.S: Renamed into ...
11238 * gdb.btrace/x86_64-record_goto.S: ... this.
11239 * gdb.btrace/i686-record_goto.S: New.
11240 * gdb.btrace/x86-tailcall.S: Renamed into ...
11241 * gdb.btrace/x86_64-tailcall.S: ... this.
11242 * gdb.btrace/i686-tailcall.S: New.
11243 * gdb.btrace/x86-tailcall.c: Renamed into ...
11244 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
11245 separate statements. Update test.
11246 * gdb.btrace/delta.exp: Use record_goto.c as test file.
11247 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
11248 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
11249 * gdb.btrace/tailcall.exp: Choose test file based on target.
11250 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
11251
11252 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
11253
11254 * gdb.btrace/exception.exp: Increase BTS buffer size.
11255
11256 2015-03-24 Pedro Alves <palves@redhat.com>
11257
11258 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
11259
11260 2015-03-24 Pedro Alves <palves@redhat.com>
11261
11262 * gdb.threads/schedlock.exp (test_step): No longer expect that
11263 "set scheduler-locking step" with "next" over a function call runs
11264 threads unlocked.
11265
11266 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
11267
11268 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
11269
11270 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
11271
11272 PR breakpoints/16466
11273 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
11274 * gdb.mi/mi-pending.c (thread_func): New function.
11275 (int main): Add threading support required.
11276 * gdb.mi/mi-pending.exp: Add tests for this issue.
11277 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
11278 (pendfunc2): Remove stdio dependency.
11279 * gdb.mi/mi-pendshr2.c: New file.
11280
11281 2015-03-23 Keith Seitz <keiths@redhat.com>
11282
11283 * gdb.linespec/keywords.c: New file.
11284 * gdb.linespec/keywords.exp: New file.
11285
11286 2015-03-23 Keith Seitz <keiths@redhat.com>
11287
11288 PR gdb/18021
11289 * gdb.dwarf2/staticvirtual.exp: New test.
11290
11291 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11292
11293 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
11294 * README: Remove HP-UX and gdb.hp.
11295 (configuration):
11296 * configure: Regenerate.
11297 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
11298 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
11299 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
11300 gdb.hp/gdb.defects/Makefile.
11301 * gdb.hp/Makefile.in: File deleted.
11302 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
11303 * gdb.hp/gdb.aCC/optimize.c: File deleted.
11304 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
11305 * gdb.hp/gdb.aCC/run.c: File deleted.
11306 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
11307 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
11308 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
11309 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
11310 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
11311 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
11312 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
11313 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
11314 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
11315 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
11316 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
11317 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
11318 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
11319 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
11320 * gdb.hp/gdb.base-hp/reg.s: File deleted.
11321 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
11322 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
11323 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
11324 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
11325 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
11326 * gdb.hp/gdb.compat/Makefile.in: File deleted.
11327 * gdb.hp/gdb.compat/average.c: File deleted.
11328 * gdb.hp/gdb.compat/sum.c: File deleted.
11329 * gdb.hp/gdb.compat/xdb.c: File deleted.
11330 * gdb.hp/gdb.compat/xdb0.c: File deleted.
11331 * gdb.hp/gdb.compat/xdb0.h: File deleted.
11332 * gdb.hp/gdb.compat/xdb1.c: File deleted.
11333 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
11334 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
11335 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
11336 * gdb.hp/gdb.defects/Makefile.in: File deleted.
11337 * gdb.hp/gdb.defects/bs14602.c: File deleted.
11338 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
11339 * gdb.hp/gdb.defects/solib-d.c: File deleted.
11340 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
11341 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
11342 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
11343 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
11344 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
11345 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
11346 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
11347 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
11348 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
11349 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
11350 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
11351 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
11352 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
11353 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
11354 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
11355 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
11356 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
11357 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
11358 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
11359 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
11360 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
11361 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
11362 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
11363 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
11364 * gdb.hp/tools/odump: File deleted.
11365
11366 2015-03-19 Pedro Alves <palves@redhat.com>
11367
11368 * gdb.threads/continue-pending-status.exp (saw_thread_2)
11369 (saw_thread_3): New globals.
11370 (top level): Increment them when an event for the corresponding
11371 thread is seen.
11372 (no thread starvation): New test.
11373
11374 2015-03-19 Pedro Alves <palves@redhat.com>
11375
11376 * gdb.threads/continue-pending-status.c: New file.
11377 * gdb.threads/continue-pending-status.exp: New file.
11378
11379 2015-03-18 Pedro Alves <palves@redhat.com>
11380
11381 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
11382 Use gdb_is_target_remote instead of is_remote. Use
11383 gdb_test_multiple instead of gdb_expect. Exit early if
11384 gdb_test_multiple hits its internal matches. Tighten stepi tests
11385 expected output. Fail on exit with any signal, instead of just
11386 SIGILL.
11387
11388 2015-03-18 Yao Qi <yao.qi@linaro.org>
11389
11390 PR tdep/18107
11391 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
11392 variable.
11393 * gdb.base/catch-syscall.exp: Don't skip it on
11394 aarch64*-*-linux* target. Remove elements in all_syscalls.
11395 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
11396 target.
11397 (setup_all_syscalls): New proc.
11398
11399 2015-03-16 Yao Qi <yao.qi@linaro.org>
11400
11401 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
11402 (top level): Skip tests if valid_addr_p returns false for
11403 $cmd1 or $cmd2.
11404
11405 2015-03-11 Andy Wingo <wingo@igalia.com>
11406
11407 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
11408
11409 2015-03-11 Yao Qi <yao.qi@linaro.org>
11410
11411 * gdb.base/catch-syscall.exp: Fix typo in comments.
11412
11413 2015-03-11 Yao Qi <yao.qi@linaro.org>
11414
11415 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
11416
11417 2015-03-09 Pedro Alves <palves@redhat.com>
11418
11419 * dg-extract-results.py: Delete.
11420
11421 2015-03-09 Pedro Alves <palves@redhat.com>
11422
11423 Merge dg-extract-results.sh from GCC upstream (r218843).
11424
11425 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
11426 * dg-extract-results.sh: Use --text with grep to avoid issues with
11427 binary files. Fall back to cat -v, if that doesn't work.
11428
11429 2015-03-05 Pedro Alves <palves@redhat.com>
11430
11431 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
11432
11433 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
11434
11435 * lib/mi-support.exp (mi_expect_interrupt): Accept
11436 alternative event for when in all-stop mode.
11437
11438 2015-03-04 Pedro Alves <palves@redhat.com>
11439
11440 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
11441
11442 2015-03-04 Mark Kettenis <kettenis@gnu.org>
11443
11444 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
11445
11446 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
11447
11448 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
11449 regexps for GDB's current line display, accept a hex address
11450 preceding the line number.
11451
11452 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
11453
11454 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
11455 the 'arch1' variable for "s390*-linux*" targets.
11456
11457 2015-03-04 Pedro Alves <palves@redhat.com>
11458
11459 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
11460 (main): Pass missing retval argument to pthread_join call.
11461
11462 2015-03-02 Pedro Alves <palves@redhat.com>
11463
11464 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
11465 (top level): Call do_test with non-stop as well.
11466
11467 2015-03-02 Pedro Alves <palves@redhat.com>
11468
11469 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
11470 -1.
11471
11472 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
11473
11474 * gdb.arch/s390-vregs.exp: New test.
11475 * gdb.arch/s390-vregs.S: New file.
11476
11477 2015-02-27 Pedro Alves <palves@redhat.com>
11478
11479 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
11480 call to catch_command_errors.
11481 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
11482 catch_command_errors.
11483
11484 2015-02-27 Pedro Alves <palves@redhat.com>
11485
11486 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
11487 "true" for boolean result.
11488 * gdb.gdb/selftest.exp (test_with_self): Also accept full
11489 prototype of main.
11490
11491 2015-02-27 Pedro Alves <palves@redhat.com>
11492
11493 * lib/unbuffer_output.c: New file.
11494 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
11495 (main): Call gdb_unbuffer_output.
11496
11497 2015-02-27 Yao Qi <yao.qi@linaro.org>
11498
11499 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
11500 target.
11501
11502 2015-02-26 Doug Evans <dje@google.com>
11503
11504 * gdb.cp/class2.cc (Dbase, D): New classes.
11505 (main): New local delta.
11506 * gdb.cp/class2.exp: Test printing delta.
11507 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
11508 (dynbar): New global.
11509 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
11510
11511 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
11512
11513 * gdb.compile/compile-ifunc.c: New file.
11514 * gdb.compile/compile-ifunc.exp: New file.
11515
11516 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
11517
11518 * gdb.base/structs.exp: Check for correct struct on finish.
11519
11520 2015-02-26 Yao Qi <yao.qi@linaro.org>
11521
11522 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
11523 is zero.
11524
11525 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
11526
11527 * gdb.arch/cordic.ko.bz2: New file.
11528 * gdb.arch/cordic.ko.debug.bz2: New file.
11529 * gdb.arch/ppc64-symtab-cordic.exp: New file.
11530
11531 2015-02-25 Yao Qi <yao.qi@linaro.org>
11532
11533 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
11534 aarch64*-*-* target.
11535
11536 2015-02-23 Pedro Alves <palves@redhat.com>
11537
11538 * lib/gdb.exp (delete_breakpoints): Rewrite using
11539 gdb_test_multiple.
11540
11541 2015-02-23 Pedro Alves <palves@redhat.com>
11542
11543 * gdb.base/info-os.c: Include stdlib.h.
11544
11545 2015-02-22 Doug Evans <xdje42@gmail.com>
11546
11547 PR symtab/17855
11548 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
11549 is read after symbols have been re-read.
11550 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
11551 * gdb.ada/exec_changed/second.adb (Second): Ditto.
11552
11553 2015-02-21 Doug Evans <dje@google.com>
11554
11555 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
11556
11557 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
11558
11559 PR corefiles/17808
11560 * gdb.arch/i386-biarch-core.core.bz2: New file.
11561 * gdb.arch/i386-biarch-core.exp: New file.
11562
11563 2015-02-21 Pedro Alves <palves@redhat.com>
11564
11565 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
11566 runto_main fails.
11567
11568 2015-02-20 Pedro Alves <palves@redhat.com>
11569
11570 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
11571 info probes.
11572
11573 2015-02-20 Pedro Alves <palves@redhat.com>
11574
11575 * gdb.threads/multi-create-ns-info-thr.exp: New file.
11576
11577 2015-02-20 Pedro Alves <palves@redhat.com>
11578
11579 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
11580 clean_restart before gdb_target_supports_trace.
11581
11582 2015-02-20 Pedro Alves <palves@redhat.com>
11583
11584 PR threads/18006
11585 * gdb.threads/clone-thread_db.c: New file.
11586 * gdb.threads/clone-thread_db.exp: New file.
11587
11588 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
11589
11590 PR breakpoints/16812
11591 * gdb.base/catch-gdb-caused-signals.c: New file.
11592 * gdb.base/catch-gdb-caused-signals.exp: New file.
11593
11594 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
11595
11596 * configure: Regenerated.
11597 * configure.ac: Use GDB_AC_TRANSFORM.
11598 * aclocal.m4: sinclude ../transform.m4.
11599
11600 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
11601
11602 * lib/dtrace.exp: New file.
11603 * gdb.base/dtrace-probe.exp: Likewise.
11604 * gdb.base/dtrace-probe.d: Likewise.
11605 * gdb.base/dtrace-probe.c: Likewise.
11606 * lib/pdtrace.in: Likewise.
11607 * configure.ac: Output variables with the transformed names of
11608 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
11609 * configure: Regenerated.
11610
11611 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
11612
11613 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
11614 expected message when trying to access $_probe_* convenience
11615 variables while not on a probe.
11616
11617 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11618
11619 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
11620
11621 2015-02-11 Pedro Alves <pedro@codesourcery.com>
11622
11623 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
11624 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
11625
11626 2015-02-10 Doug Evans <xdje42@gmail.com>
11627
11628 * lib/gdb.exp (gdb_load): Always return a result.
11629
11630 2015-02-10 Pedro Alves <palves@redhat.com>
11631
11632 * gdb.threads/signal-sigtrap.c: New file.
11633 * gdb.threads/signal-sigtrap.exp: New file.
11634
11635 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
11636
11637 * gdb.trace/no-attach-trace.c: New file.
11638 * gdb.trace/no-attach-trace.exp: New file.
11639
11640 2015-02-09 Mark Wielaard <mjw@redhat.com>
11641
11642 * gdb.dwarf2/atomic.c: New file.
11643 * gdb.dwarf2/atomic-type.exp: Likewise.
11644
11645 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
11646
11647 * gdb.btrace/buffer-size.exp: Update "info record" output.
11648 * gdb.btrace/delta.exp: Update "info record" output.
11649 * gdb.btrace/enable.exp: Update "info record" output.
11650 * gdb.btrace/finish.exp: Update "info record" output.
11651 * gdb.btrace/instruction_history.exp: Update "info record" output.
11652 * gdb.btrace/next.exp: Update "info record" output.
11653 * gdb.btrace/nexti.exp: Update "info record" output.
11654 * gdb.btrace/step.exp: Update "info record" output.
11655 * gdb.btrace/stepi.exp: Update "info record" output.
11656 * gdb.btrace/nohist.exp: Update "info record" output.
11657
11658 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
11659
11660 * gdb.btrace/buffer-size: New.
11661
11662 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
11663
11664 * gdb.btrace/delta.exp: Update "info record" output.
11665 * gdb.btrace/enable.exp: Update "info record" output.
11666 * gdb.btrace/finish.exp: Update "info record" output.
11667 * gdb.btrace/instruction_history.exp: Update "info record" output.
11668 * gdb.btrace/next.exp: Update "info record" output.
11669 * gdb.btrace/nexti.exp: Update "info record" output.
11670 * gdb.btrace/step.exp: Update "info record" output.
11671 * gdb.btrace/stepi.exp: Update "info record" output.
11672 * gdb.btrace/nohist.exp: Update "info record" output.
11673
11674 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
11675
11676 PR gdb/15678
11677 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
11678
11679 2015-02-06 Pedro Alves <palves@redhat.com>
11680
11681 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
11682 macro.
11683 (seconds_left, again): New globals.
11684 (main): Wait seconds_left in a 1-second sleep loop instead of
11685 sleeping 180 seconds. If 'again' is set, reset the seconds
11686 counter.
11687 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
11688 'again' in the inferior before detaching. Print the seconds left.
11689 (options): New global.
11690 (top level): Build program with -DTIMEOUT=$timeout.
11691
11692 2015-02-06 Pedro Alves <palves@redhat.com>
11693
11694 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
11695 determine how many seconds to pass to 'alarm'.
11696 * gdb.base/gdb-sigterm.exp (top level): Build program with
11697 -DTIMEOUT=$timeout.
11698 (do_test): Return success/failure indication. Add more verbose
11699 logging. Don't fail if 200 single steps are seen. Instead, fail
11700 when the test times out.
11701 (passes): New global.
11702 (top level): Break the testing loop if testing fails on any
11703 iteration. Use gdb_assert.
11704
11705 2015-02-04 Don Breazeal <donb@codesourcery.com>
11706
11707 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
11708 and initialize them.
11709 (ipc_cleanup): New function.
11710 (main): Don't declare shmid, semid, and msqid. Add a call to
11711 atexit so that we call ipc_cleanup on exit.
11712
11713 2015-02-04 Pedro Alves <palves@redhat.com>
11714
11715 * boards/native-extended-gdbserver.exp: Remove any target variant
11716 specifications from the board name before clearing the isremote
11717 flag from board_info.
11718
11719 2015-01-31 Doug Evans <xdje42@gmail.com>
11720
11721 * gdb.base/maint.exp <maint print type argc>: Update expected output.
11722
11723 2015-01-31 Gary Benson <gbenson@redhat.com>
11724
11725 * gdb.base/completion.exp: Disable completion limiting for
11726 existing tests. Add new tests to check completion limiting.
11727 * gdb.linespec/ls-errs.exp: Disable completion limiting.
11728
11729 2015-01-31 Doug Evans <xdje42@gmail.com>
11730
11731 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
11732
11733 2015-01-31 Doug Evans <xdje42@gmail.com>
11734
11735 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
11736 entries. Duplicate file section script entries.
11737 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
11738 inlined entries. Add test for safe-path rejection.
11739 * gdb.python/py-section-script.c: Add duplicate inlined section script
11740 entries. Duplicate file section script entries.
11741 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
11742 inlined entries. Add test for safe-path rejection.
11743
11744 2015-01-29 Joel Brobecker <brobecker@adacore.com>
11745
11746 * gdb.ada/disc_arr_bound: New testcase.
11747
11748 2015-01-29 Joel Brobecker <brobecker@adacore.com>
11749
11750 * gdb.ada/mi_var_array: New testcase.
11751
11752 2015-01-27 Doug Evans <dje@google.com>
11753
11754 * gdb.python/py-objfile.exp: Add tests for objfile.username.
11755 Add test for objfile.filename, objfile.username after objfile
11756 has been unloaded.
11757
11758 2015-01-26 Joel Brobecker <brobecker@adacore.com>
11759
11760 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
11761 the second test to print the name attribute of value
11762 returned by the call to gdb.lookup_type, and adjust
11763 the expected output accordingly.
11764
11765 2015-01-25 Mark Wielaard <mjw@redhat.com>
11766
11767 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
11768 * gdb.base/disp-step-fork.c: Include unistd.h.
11769 * gdb.base/siginfo-obj.c: Include stdio.h.
11770 * gdb.base/siginfo-thread.c: Likewise.
11771 * gdb.mi/non-stop.c: Include unistd.h.
11772 * gdb.mi/nsthrexec.c: Include stdio.h.
11773 * gdb.mi/pthreads.c: Include unistd.h.
11774 * gdb.modula2/unbounded1.c (main): Declare returns int.
11775 * gdb.reverse/consecutive-reverse.c: Likewise.
11776 * gdb.threads/create-fail.c: Include unistd.h.
11777 * gdb.threads/killed.c: Likewise.
11778 * gdb.threads/linux-dp.c: Likewise.
11779 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
11780 * gdb.threads/non-ldr-exc-2.c: Likewise.
11781 * gdb.threads/non-ldr-exc-3.c: Likewise.
11782 * gdb.threads/non-ldr-exc-4.c: Likewise.
11783 * gdb.threads/pthreads.c: Include unistd.h.
11784 (main): Declare returns int.
11785 * gdb.threads/tls-main.c (foo): New declaration.
11786 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
11787
11788 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
11789
11790 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
11791 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
11792
11793 2015-01-15 Mark Wielaard <mjw@redhat.com>
11794
11795 * gdb.base/noreturn-return.c: New file.
11796 * gdb.base/noreturn-return.exp: New file.
11797 * gdb.base/noreturn-finish.c: New file.
11798 * gdb.base/noreturn-finish.exp: New file.
11799
11800 2015-01-23 Pedro Alves <palves@redhat.com>
11801
11802 * gdb.threads/continue-pending-after-query.c: New file.
11803 * gdb.threads/continue-pending-after-query.exp: New file.
11804
11805 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
11806 Simon Marchi <simon.marchi@ericsson.com>
11807
11808 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
11809 * gdb.base/valgrind-db-attach.exp: Same.
11810 * gdb.base/valgrind-infcall.exp: Same.
11811 * lib/mi-support.exp (default_mi_gdb_start): Same.
11812 * lib/prompt.exp (default_prompt_gdb_start): Same.
11813 * lib/gdb.exp (default_gdb_spawn): Same.
11814 (gdb_interact): New.
11815
11816
11817 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11818
11819 * gdb.compile/compile.exp (pointer to jit function): New test.
11820
11821 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
11822
11823 * lib/gdb.exp (supports_process_record): Return true for
11824 powerpc*-*-linux*.
11825 (supports_reverse): Likewise.
11826
11827 2015-01-15 Don Breazeal <donb@codesourcery.com>
11828
11829 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
11830 instead of checking whether the target board is remote and
11831 use spawn_wait_for_attach instead of exec/sleep.
11832 * gdb.base/attach-twice.exp: Likewise.
11833
11834 2015-01-15 Joel Brobecker <brobecker@adacore.com>
11835
11836 * gdb.ada/var_arr_attrs: New testcase.
11837
11838 2015-01-14 Pedro Alves <palves@redhat.com>
11839 Joel Brobecker <brobecker@adacore.com>
11840
11841 PR gdb/17525
11842 * gdb.base/bp-cmds-execution-x-script.c: New file.
11843 * gdb.base/bp-cmds-execution-x-script.exp: New file.
11844 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
11845
11846 2015-01-14 Pedro Alves <palves@redhat.com>
11847
11848 PR cli/17828
11849 * gdb.base/batch-preserve-term-settings.c: New file.
11850 * gdb.base/batch-preserve-term-settings.exp: New file.
11851
11852 2015-01-13 Doug Evans <dje@google.com>
11853
11854 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
11855 binary.
11856
11857 2015-01-13 Joel Brobecker <brobecker@adacore.com>
11858
11859 * Makefile.in (clean mostlyclean): Do not delete *.py.
11860
11861 2015-01-13 Joel Brobecker <brobecker@adacore.com>
11862
11863 * gdb.python/py-lookup-type.exp: New file.
11864
11865 2015-01-12 Pedro Alves <palves@redhat.com>
11866
11867 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
11868 restore GDBFLAGS before returning.
11869
11870 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
11871
11872 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
11873 is_amd64_regs_target and is_x86_like_target.
11874
11875 2015-01-11 Doug Evans <xdje42@gmail.com>
11876
11877 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
11878 is given without an explicit form.
11879 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
11880 attributes.
11881 * gdb.dwarf/corrupt.exp: Ditto.
11882 * gdb.dwarf2/enum-type.exp: Ditto.
11883 * gdb.trace/entry-values.exp: Ditto.
11884 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
11885
11886 2015-01-11 Doug Evans <xdje42@gmail.com>
11887
11888 PR gdb/15830
11889 * gdb.base/maint.exp: Remove references to "maint demangle".
11890 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
11891 Add tests for explicitly specifying language to demangle.
11892 * gdb.dlang/demangle.exp: Ditto.
11893
11894 2015-01-09 Pedro Alves <palves@redhat.com>
11895
11896 * gdb.threads/non-stop-fair-events.c: New file.
11897 * gdb.threads/non-stop-fair-events.exp: New file.
11898
11899 2015-01-09 Pedro Alves <palves@redhat.com>
11900
11901 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
11902 the global scope. Set a breakpoint after all threads are started
11903 rather than stepping over two source lines. Expect the prompt.
11904 * gdb.base/watch_thread_num.c (threads_started_barrier): New
11905 global.
11906 (NUM): Now 15.
11907 (main): Use threads_started_barrier to wait for all threads to
11908 start. Main thread no longer calls thread_function. Exit after
11909 180 seconds.
11910 (loop): New function.
11911 (thread_function): Wait on threads_started_barrier barrier. Call
11912 'loop' at each iteration.
11913 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
11914 threads have started, instead of hardcoding number of "next"
11915 steps. Use an access watchpoint instead of a write watchpoint.
11916
11917 2015-01-09 Pedro Alves <palves@redhat.com>
11918
11919 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
11920 (thread_func): Wait on barrier.
11921 (main): Wait for all threads to start before stopping GDB.
11922 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
11923 global.
11924 (thread1_func, thread2_func): Wait on barrier.
11925 (main): Wait for all threads to start before stopping GDB.
11926 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
11927 New global.
11928 (thread1_func, thread2_func): Wait on barrier.
11929 (main): Wait for all threads to start before stopping GDB.
11930
11931 2015-01-09 Pedro Alves <palves@redhat.com>
11932
11933 * gdb.threads/attach-many-short-lived-threads.c: New file.
11934 * gdb.threads/attach-many-short-lived-threads.exp: New file.
11935
11936 2014-01-09 Pedro Alves <palves@redhat.com>
11937
11938 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
11939 instead of to thread 2.
11940 * gdb.threads/signal-command-multiple-signals-pending.c (main):
11941 Add barrier around each pthread_create call instead of around all
11942 calls.
11943 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
11944 Set a break on thread_function and have the child threads hit it
11945 one at at a time.
11946
11947 2015-01-09 Pedro Alves <palves@redhat.com>
11948
11949 * lib/gdb.exp (can_spawn_for_attach): New procedure.
11950 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
11951 false.
11952 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
11953 checking whether the target board is remote.
11954 * gdb.multi/multi-attach.exp: Likewise.
11955 * gdb.python/py-sync-interp.exp: Likewise.
11956 * gdb.server/ext-attach.exp: Likewise.
11957 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
11958 tests that need to attach, instead of checking whether the target
11959 board is remote at the top of the file.
11960
11961 2015-01-08 Yao Qi <yao@codesourcery.com>
11962
11963 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
11964
11965 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11966
11967 Fix testcase compilation.
11968 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
11969
11970 2015-01-06 Joel Brobecker <brobecker@adacore.com>
11971
11972 * gdb.python/py-type.exp: Add a couple test about empty
11973 array creation, and negative-length array creation.
11974
11975 2015-01-02 Doug Evans <xdje42@gmail.com>
11976
11977 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
11978
11979 2015-01-02 Doug Evans <dje@google.com>
11980
11981 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
11982
11983 2014-12-29 Yao Qi <yao@codesourcery.com>
11984
11985 * gdb.trace/entry-values.exp: Update comments. Rename variable
11986 bar_call_foo to returned_from_foo.
11987
11988 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
11989
11990 PR gdb/17394
11991 * gdb.linespec/break-asm-file.c: New file.
11992 * gdb.linespec/break-asm-file.exp: New file.
11993 * gdb.linespec/break-asm-file0.s: New file.
11994 * gdb.linespec/break-asm-file1.s: New file.
11995
11996 2014-12-18 Nigel Stephens <nigel@mips.com>
11997 Maciej W. Rozycki <macro@codesourcery.com>
11998
11999 * gdb.base/float.exp: Handle the new output from "info float" on
12000 MIPS targets.
12001
12002 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
12003
12004 Fix MinGW compilation.
12005 * gdb.compile/compile-ops.exp: Update untested message if
12006 !skip_compile_feature_tests.
12007 * gdb.compile/compile-setjmp.exp: Likewise.
12008 * gdb.compile/compile-tls.exp: Likewise.
12009 * gdb.compile/compile.exp: Likewise.
12010 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
12011 supported on this host".
12012
12013 2014-12-16 Doug Evans <xdje42@gmail.com>
12014
12015 * boards/stabs.exp: New file.
12016
12017 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
12018
12019 * gdb.base/completion.exp: Adjust to format changes of "maint
12020 print user-registers".
12021
12022 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
12023
12024 PR server/17457
12025 * gdb.arch/aarch64-fp.c: New file.
12026 * gdb.arch/aarch64-fp.exp: New file.
12027
12028 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
12029
12030 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
12031 r210637, r210913, r211666, r215400, r215817).
12032
12033 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
12034 * dg-extract-results.py: New file.
12035 * dg-extract-results.sh: Use it if the environment seems
12036 suitable.
12037
12038 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
12039
12040 * dg-extract-results.py (parse_run): Handle warnings that
12041 are printed before a test harness is run.
12042
12043 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
12044
12045 * dg-extract-results.py (Named): Remove __cmp__ method.
12046 (output_variation): Use a key to sort variation.harnesses.
12047
12048 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
12049
12050 * dg-extract-results.py: For Python 3, force sys.stdout to
12051 handle surrogate escape sequences.
12052 (safe_open): New function.
12053 (output_segment, main): Use it.
12054
12055 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
12056
12057 * dg-extract-results.py (Prog.result_re): Include options
12058 in test name.
12059
12060 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
12061
12062 * dg-extract-results.py (output_variation): Always sort if
12063 do_sum.
12064
12065 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
12066
12067 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
12068 as long as we get pagination notifications.
12069
12070 2014-12-15 Jason Merrill <jason@redhat.com>
12071
12072 * Makefile.in (check-gdb.%): Restore.
12073 * README: Mention it.
12074
12075 2014-12-13 Joel Brobecker <brobecker@adacore.com>
12076
12077 * gdb.ada/str_uninit: New testcase.
12078
12079 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12080
12081 PR symtab/17642
12082 * gdb.base/vla-stub-define.c: New file.
12083 * gdb.base/vla-stub.c: New file.
12084 * gdb.base/vla-stub.exp: New file.
12085
12086 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
12087 Jan Kratochvil <jan.kratochvil@redhat.com>
12088 Tom Tromey <tromey@redhat.com>
12089
12090 * configure.ac: Add gdb.compile/.
12091 * configure: Regenerate.
12092 * gdb.compile/Makefile.in: New file.
12093 * gdb.compile/compile-ops.exp: New file.
12094 * gdb.compile/compile-ops.c: New file.
12095 * gdb.compile/compile-tls.c: New file.
12096 * gdb.compile/compile-tls.exp: New file.
12097 * gdb.compile/compile-constvar.S: New file.
12098 * gdb.compile/compile-constvar.c: New file.
12099 * gdb.compile/compile-mod.c: New file.
12100 * gdb.compile/compile-nodebug.c: New file.
12101 * gdb.compile/compile-setjmp-mod.c: New file.
12102 * gdb.compile/compile-setjmp.c: New file.
12103 * gdb.compile/compile-setjmp.exp: New file.
12104 * gdb.compile/compile-shlib.c: New file.
12105 * gdb.compile/compile.c: New file.
12106 * gdb.compile/compile.exp: New file.
12107 * lib/gdb.exp (skip_compile_feature_tests): New proc.
12108
12109 2014-12-12 Tom Tromey <tromey@redhat.com>
12110
12111 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
12112 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
12113
12114 2014-12-12 Doug Evans <dje@google.com>
12115
12116 * lib/gdb-python.exp (get_python_valueof): New function.
12117 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
12118
12119 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
12120
12121 * gdb.base/completion.exp: Add test for completion of "info
12122 registers ".
12123
12124 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
12125
12126 * gdb.base/func-ptrs.c: New file.
12127 * gdb.base/func-ptrs.exp: New file.
12128
12129 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
12130
12131 PR breakpoints/17012
12132 * gdb.base/dprintf-detach.c: New file.
12133 * gdb.base/dprintf-detach.exp: New file.
12134
12135 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
12136
12137 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
12138 * lib/gdb.exp (target_is_gdbserver): New procedure.
12139
12140 2014-12-08 Doug Evans <dje@google.com>
12141
12142 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
12143
12144 2014-12-05 Yao Qi <yao@codesourcery.com>
12145
12146 * gdb.guile/scm-error.exp: Remove the third argument to
12147 gdb_remote_download.
12148 * gdb.guile/scm-frame-args.exp: Likewise.
12149 * gdb.guile/scm-section-script.exp: Likewise.
12150
12151 2014-12-05 Yao Qi <yao@codesourcery.com>
12152
12153 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
12154
12155 2014-12-04 Doug Evans <dje@google.com>
12156
12157 * gdb.python/py-objfile.exp: Add tests for
12158 objfile.add_separate_debug_file.
12159
12160 2014-12-04 Doug Evans <dje@google.com>
12161
12162 * lib/gdb.exp (get_build_id): New function.
12163 (build_id_debug_filename_get): Rewrite to use it.
12164 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
12165
12166 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
12167
12168 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
12169 `method(long)', not just 0x0.
12170 * gdb.cp/nsalias.exp: Align code labels to 4.
12171 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
12172 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
12173 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
12174 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
12175 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
12176 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
12177
12178 2014-12-02 Doug Evans <dje@google.com>
12179
12180 PR symtab/17602
12181 * gdb.cp/anon-ns.cc: Move guts of this file to ...
12182 * gdb.cp/anon-ns2.cc: ... here. New file.
12183 * gdb.cp/anon-ns.exp: Update.
12184
12185 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
12186
12187 * gdb.python/py-events.py (inferior_call_handler): New.
12188 (register_changed_handler, memory_changed_handler): New.
12189 (test_events.invoke): Register new handlers.
12190 * gdb.python/py-events.exp: Add tests for inferior call,
12191 memory_changed and register_changed events.
12192
12193 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
12194
12195 * gdb.base/execl-update-breakpoints.exp: Specify the link address
12196 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
12197 if the linker doesn't understand this.
12198
12199 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
12200
12201 * gdb.python/python.exp: Change expected reply to help().
12202
12203 2014-12-01 Yao Qi <yao@codesourcery.com>
12204
12205 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
12206 AC_CONFIG_SUBDIRS(gdb.gdbtk).
12207 * configure: Re-generated.
12208
12209 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
12210
12211 * gdb.cp/chained-calls.cc: New file.
12212 * gdb.cp/chained-calls.exp: New file.
12213 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
12214
12215 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
12216
12217 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
12218 * gdb.dwarf2/symtab-producer.exp: Same.
12219 * gdb.gdb/python-interrupts.exp: Same.
12220 * gdb.gdb/python-selftest.exp: Same.
12221 * gdb.python/py-linetable.exp: Same.
12222 * gdb.python/py-type.exp: Same.
12223 * gdb.python/py-value-cc.exp: Same.
12224 * gdb.python/py-value.exp: Same.
12225
12226 2014-11-28 Yao Qi <yao@codesourcery.com>
12227
12228 * gdb.base/break-probes.exp: Match library name prefixed with
12229 sysroot.
12230
12231 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
12232
12233 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
12234 test expected output. Add parentheses for the call to print.
12235 Remove L suffix from integers.
12236
12237 2014-11-26 Doug Evans <dje@google.com>
12238
12239 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
12240
12241 2014-11-22 Yao Qi <yao@codesourcery.com>
12242
12243 * gdb.trace/entry-values.c: Remove asms.
12244 (foo): Add foo_label.
12245 (bar): Add bar_label.
12246 * gdb.trace/entry-values.exp: Remove code computing foo's
12247 length and bar's length.
12248 (Dwarf::assemble): Invoke function_range for bar and use
12249 MACRO_AT_func for foo.
12250
12251 2014-11-22 Yao Qi <yao@codesourcery.com>
12252
12253 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
12254 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
12255 Use .Lgcc43_procstart instead of gcc43.
12256
12257 2014-11-21 Joel Brobecker <brobecker@adacore.com>
12258
12259 * gdb.ada/n_arr_bound: New testcase.
12260
12261 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
12262
12263 PR breakpoints/10737
12264 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
12265 test_catch_syscall_multi_arch.
12266 (test_catch_syscall_multi_arch): New function.
12267
12268 2014-11-20 Doug Evans <xdje42@gmail.com>
12269
12270 * gdb.base/maint.exp: Update expected output.
12271
12272 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
12273
12274 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
12275 4-byte instruction on S390.
12276
12277 2014-11-19 Joel Brobecker <brobecker@adacore.com>
12278
12279 * gdb.ada/arr_arr: New testcase.
12280
12281 2014-11-19 Joel Brobecker <brobecker@adacore.com>
12282
12283 * gdb.ada/pkd_arr_elem: New Testcase.
12284
12285 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
12286
12287 * gdb.reverse/break-precsave: Expect completion message for
12288 core file reads.
12289 * gdb.reverse/consecutive-precsave.exp: Likewise.
12290 * gdb.reverse/finish-precsave.exp: Likewise.
12291 * gdb.reverse/i386-precsave.exp: Likewise.
12292 * gdb.reverse/machinestate-precsave.exp: Likewise.
12293 * gdb.reverse/sigall-precsave.exp: Likewise.
12294 * gdb.reverse/solib-precsave.exp: Likewise.
12295 * gdb.reverse/step-precsave.exp: Likewise.
12296 * gdb.reverse/until-precsave.exp: Likewise.
12297 * gdb.reverse/watch-precsave.exp: Likewise.
12298
12299 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
12300
12301 * gdb.base/bp-permanent.c: Include unistd.h.
12302 * gdb.python/py-framefilter-mi.c (main): Add return type.
12303 * gdb.python/py-framefilter.c (main): Likewise.
12304 * gdb.trace/actions-changed.c (main): Likewise.
12305
12306 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
12307
12308 * gdb.mi/until.c: Add eye-catchers.
12309 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
12310 line numbers.
12311
12312 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
12313
12314 * gdb.base/condbreak.exp: Drop references to removed non-prototype
12315 function header variants in break1.c.
12316 * gdb.base/ena-dis-br.exp: Likewise.
12317 * gdb.base/hbreak2.exp: Likewise.
12318 * gdb.reverse/until-precsave.exp: Drop references to removed
12319 non-prototype function header variants in ur1.c.
12320 * gdb.reverse/until-reverse.exp: Likewise.
12321
12322 2014-11-17 Petr Machata <pmachata@redhat.com>
12323
12324 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
12325 ${_cu_offset_size} bytes abbrev offset.
12326
12327 2014-11-15 Doug Evans <xdje42@gmail.com>
12328
12329 PR symtab/17559
12330 * gdb.base/line-symtabs.exp: New file.
12331 * gdb.base/line-symtabs.c: New file.
12332 * gdb.base/line-symtabs.h: New file.
12333
12334 2014-11-14 Yao Qi <yao@codesourcery.com>
12335
12336 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
12337 (func): Add label func_label.
12338 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
12339 Replace low_pc and high_pc with MACRO_AT_range.
12340 Replace name, low_pc and high_pc with MACRO_AT_func.
12341
12342 2014-11-14 Yao Qi <yao@codesourcery.com>
12343
12344 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
12345 Replace name, low_pc and high_pc with MACRO_AT_func.
12346
12347 2014-11-14 Yao Qi <yao@codesourcery.com>
12348
12349 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
12350 produce debug information.
12351 * gdb.dwarf2/implptr-optimized-out.S: Removed.
12352
12353 2014-11-14 Yao Qi <yao@codesourcery.com>
12354
12355 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
12356 object and get function length.
12357 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
12358 with MACRO_AT_func.
12359 (top-level): Replace gdb_compile and clean_restart with
12360 prepare_for_testing.
12361 * gdb.dwarf2/main.c (main): Add label main_label.
12362
12363 2014-11-14 Yao Qi <yao@codesourcery.com>
12364
12365 * lib/dwarf.exp (function_range): New procedure.
12366 (Dwarf::_handle_macro_at_func): New procedure.
12367 (Dwarf::_handle_macro_at_range): New procedure.
12368 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
12369
12370 2014-11-14 Yao Qi <yao@codesourcery.com>
12371
12372 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
12373 (_handle_attribute): New procedure.
12374
12375 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12376
12377 * gdb.ada/cond_lang/foo.c (callme): Add return type.
12378 * gdb.base/call-sc.c (zed): Likewise.
12379 * gdb.base/checkpoint.c (main): Likewise.
12380 * gdb.base/dump.c (main): Likewise.
12381 * gdb.base/gcore.c (main): Likewise.
12382 * gdb.base/huge.c (main): Likewise.
12383 * gdb.base/multi-forks.c (main): Likewise.
12384 * gdb.base/pr10179-a.c (main): Likewise.
12385 * gdb.base/savedregs.c (main): Likewise.
12386 * gdb.base/sigaltstack.c (main): Likewise.
12387 * gdb.base/siginfo.c (main): Likewise.
12388 * gdb.base/structs.c (zed): Likewise.
12389 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
12390 * gdb.mi/mi-syn-frame.c (main): Likewise.
12391 * gdb.mi/until.c (foo, main): Likewise.
12392 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
12393 * gdb.base/solib-weak.c (foo): Declare.
12394 * gdb.base/attach-twice.c: Include stdio.h.
12395 * gdb.base/weaklib1.c: Likewise.
12396 * gdb.base/weaklib2.c: Likewise.
12397 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
12398 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
12399 unistd.h.
12400 * gdb.base/attach-pie-misread.c: Include stdlib.h.
12401 * gdb.mi/mi-exit-code.c: Likewise.
12402 * gdb.base/break-interp-lib.c: Include string.h.
12403 * gdb.base/coremaker.c: Likewise.
12404 * gdb.base/testenv.c: Likewise.
12405 * gdb.python/py-finish-breakpoint.c: Likewise.
12406 * gdb.base/inferior-died.c: Include sys/wait.h.
12407 * gdb.base/fileio.c: Include time.h.
12408 * gdb.base/async-shell.c: Include unistd.h.
12409 * gdb.base/dprintf-non-stop.c: Likewise.
12410 * gdb.base/info-os.c: Likewise.
12411 * gdb.mi/mi-console.c: Likewise.
12412 * gdb.mi/watch-nonstop.c: Likewise.
12413 * gdb.python/py-events.c: Likewise.
12414 * gdb.base/async.c (baz): Move up before its invocation.
12415 * gdb.base/code_elim2.c (my_global_func): Likewise.
12416 * gdb.base/skip-solib-lib.c (multiply): Likewise.
12417 * gdb.base/advance.c (func2): Likewise.
12418
12419 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12420
12421 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
12422 variant.
12423 * gdb.base/annota3.c: Likewise.
12424 * gdb.base/async.c: Likewise.
12425 * gdb.base/average.c: Likewise.
12426 * gdb.base/call-ar-st.c: Likewise.
12427 * gdb.base/call-rt-st.c: Likewise.
12428 * gdb.base/call-sc.c: Likewise.
12429 * gdb.base/call-strs.c: Likewise.
12430 * gdb.base/ending-run.c: Likewise.
12431 * gdb.base/execd-prog.c: Likewise.
12432 * gdb.base/exprs.c: Likewise.
12433 * gdb.base/foll-exec.c: Likewise.
12434 * gdb.base/foll-fork.c: Likewise.
12435 * gdb.base/foll-vfork.c: Likewise.
12436 * gdb.base/funcargs.c: Likewise.
12437 * gdb.base/gcore.c: Likewise.
12438 * gdb.base/jump.c: Likewise.
12439 * gdb.base/langs0.c: Likewise.
12440 * gdb.base/langs1.c: Likewise.
12441 * gdb.base/langs2.c: Likewise.
12442 * gdb.base/mips_pro.c: Likewise.
12443 * gdb.base/nodebug.c: Likewise.
12444 * gdb.base/opaque0.c: Likewise.
12445 * gdb.base/opaque1.c: Likewise.
12446 * gdb.base/recurse.c: Likewise.
12447 * gdb.base/run.c: Likewise.
12448 * gdb.base/scope0.c: Likewise.
12449 * gdb.base/scope1.c: Likewise.
12450 * gdb.base/setshow.c: Likewise.
12451 * gdb.base/setvar.c: Likewise.
12452 * gdb.base/shmain.c: Likewise.
12453 * gdb.base/shr1.c: Likewise.
12454 * gdb.base/shr2.c: Likewise.
12455 * gdb.base/sigall.c: Likewise.
12456 * gdb.base/signals.c: Likewise.
12457 * gdb.base/so-indr-cl.c: Likewise.
12458 * gdb.base/solib2.c: Likewise.
12459 * gdb.base/structs.c: Likewise.
12460 * gdb.base/sum.c: Likewise.
12461 * gdb.base/vforked-prog.c: Likewise.
12462 * gdb.base/watchpoint.c: Likewise.
12463 * gdb.reverse/shr2.c: Likewise.
12464 * gdb.reverse/until-reverse.c: Likewise.
12465 * gdb.reverse/ur1.c: Likewise.
12466 * gdb.reverse/watch-reverse.c: Likewise.
12467
12468 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12469
12470 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
12471 variant.
12472 * gdb.base/sepdebug.exp: Drop references to removed code.
12473
12474 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12475
12476 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
12477 variant. Preserve original line numbering.
12478 * gdb.base/list1.c: Likewise.
12479
12480 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12481
12482 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
12483 variant.
12484 * gdb.base/break1.c: Likewise.
12485 * gdb.base/break.exp: Drop references to removed code.
12486
12487 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12488
12489 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
12490 variant.
12491
12492 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12493
12494 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
12495
12496 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12497
12498 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
12499 logic into perform_all_tests() and invoke it with and without
12500 function header prototypes.
12501 (do_function_calls): Remove conditional XFAIL for PR 5318.
12502 (rerun_and_prepare): Remove duplicate code.
12503 (perform_all_tests): New. Main logic moved here.
12504
12505 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12506
12507 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
12508 code guarded by #ifdef NO_PROTOTYPES.
12509 (t_double_many_args): Likewise.
12510 (DEF_FUNC_MANY_ARGS_1): Likewise.
12511 (DEF_FUNC_VALUES_1): Likewise.
12512 (t_structs_ldc): Renamed from t_structs_fc in conditional code
12513 guarded by #ifdef PROTOTYPES.
12514
12515 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12516
12517 * gdb.mi/mi-console.c: Add eye-catcher.
12518 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
12519 instead of literal line number.
12520
12521 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12522
12523 * gdb.base/shr2.c: Add eye-catcher.
12524 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
12525 line number.
12526
12527 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12528
12529 * gdb.base/jump.c: Add eye-catchers.
12530 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
12531 numbers.
12532
12533 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12534
12535 * gdb.base/execd-prog.c: Add eye-catchers.
12536 * gdb.base/foll-exec.c: Likewise.
12537 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
12538 line numbers.
12539
12540 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12541
12542 * gdb.base/ending-run.c: Add eye-catchers.
12543 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
12544 literal line numbers.
12545
12546 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12547
12548 * gdb.base/call-rt-st.c: Add eye-catchers.
12549 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
12550 literal line numbers.
12551
12552 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12553
12554 * gdb.base/call-ar-st.c: Add eye-catchers.
12555 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
12556 literal line numbers.
12557
12558 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12559
12560 * gdb.base/average.c: Add eye-catchers.
12561 * gdb.base/sum.c: Likewise.
12562 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
12563 regexps dynamically.
12564
12565 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12566
12567 * gdb.base/solib1.c: Add eye-catchers.
12568 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
12569 literal line numbers.
12570
12571 2014-11-12 Pedro Alves <palves@redhat.com>
12572
12573 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
12574 leader has exited.
12575
12576 2014-11-12 Pedro Alves <palves@redhat.com>
12577
12578 * gdb.arch/i386-bp_permanent.c: New file.
12579 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
12580 (srcfile): Set to i386-bp_permanent.c.
12581 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
12582 that stepi does not execute the 'leave' instruction, instead of
12583 testing it does execute.
12584 * gdb.base/bp-permanent.c: New file.
12585 * gdb.base/bp-permanent.exp: New file.
12586
12587 2014-11-10 Doug Evans <xdje42@gmail.com>
12588
12589 PR symtab/17564
12590 * gdb.base/symtab-search-order.exp: New file.
12591 * gdb.base/symtab-search-order.c: New file.
12592 * gdb.base/symtab-search-order-1.c: New file.
12593 * gdb.base/symtab-search-order-shlib-1.c: New file.
12594
12595 2014-11-07 Pedro Alves <palves@redhat.com>
12596
12597 PR gdb/17511
12598 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
12599 i?86-*-linux*.
12600
12601 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
12602
12603 PR c++/17494
12604 * gdb.cp/pr17494.cc: New file.
12605 * gdb.cp/pr17494.exp: New file.
12606
12607 2014-11-02 Yao Qi <yao@codesourcery.com>
12608
12609 * gdb.python/python.exp: Get working directory and match the
12610 output of "set extended-prompt \\w " with it.
12611
12612 2014-10-30 Doug Evans <dje@google.com>
12613
12614 * gdb.python/py-objfile.exp: Add tests for setting random attributes
12615 in objfiles.
12616 * gdb.python/py-progspace.exp: Add tests for setting random attributes
12617 in progspaces.
12618
12619 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
12620
12621 * gdb.base/fullpath-expand.exp: Skip for a remote host.
12622 * gdb.base/realname-expand.exp: Likewise.
12623 * gdb.linespec/macro-relative.exp: Likewise.
12624
12625 2014-10-29 Pedro Alves <palves@redhat.com>
12626
12627 PR gdb/17408
12628 * gdb.threads/schedlock.c (some_function): New function.
12629 (call_function): New global.
12630 (MAYBE_CALL_SOME_FUNCTION): New macro.
12631 (thread_function): Call it.
12632 * gdb.threads/schedlock.exp (get_args): Add description parameter,
12633 and use it instead of a global counter. Adjust all callers.
12634 (get_current_thread): Use "find current thread" for test message
12635 here rather than having all callers pass down the same string.
12636 (goto_loop): New procedure, factored out from ...
12637 (my_continue): ... this.
12638 (step_ten_loops): Change parameter from test message to command to
12639 use. Adjust.
12640 (list_count): Delete global.
12641 (check_result): New procedure, factored out from duplicate top
12642 level code.
12643 (continue tests): Wrap in with_test_prefix.
12644 (test_step): New procedure, factored out from duplicate top level
12645 code.
12646 (top level): Test "step" in combination with all scheduler-locking
12647 modes. Test "next" in combination with all scheduler-locking
12648 modes, and in combination with stepping over a function call or
12649 not.
12650 * gdb.threads/next-bp-other-thread.c: New file.
12651 * gdb.threads/next-bp-other-thread.exp: New file.
12652
12653 2014-10-29 Pedro Alves <palves@redhat.com>
12654
12655 PR python/17372
12656 * gdb.python/python.exp: Test a multi-line command that spawns
12657 interactive Python.
12658 * gdb.base/multi-line-starts-subshell.exp: New file.
12659
12660 2014-10-29 Yao Qi <yao@codesourcery.com>
12661
12662 * gdb.base/fileio.exp: Make directories on host.
12663
12664 2014-10-29 Yao Qi <yao@codesourcery.com>
12665
12666 * gdb.base/fileio.c (test_write): Close the file.
12667
12668 2014-10-28 Pedro Alves <palves@redhat.com>
12669
12670 PR gdb/12623
12671 * gdb.base/sigstep.c (no_handler): New global.
12672 (main): If 'no_handler is true, set the signal handlers to
12673 SIG_IGN.
12674 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
12675 with_sw_watch and no_handler parameters. Handle them.
12676 (top level) <stepping over handler when stopped at a breakpoint
12677 test>: Add a test axis for testing with a software watchpoint, and
12678 another for testing with the signal handler set to SIG_IGN.
12679 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
12680 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
12681
12682 2014-10-28 Pedro Alves <palves@redhat.com>
12683
12684 PR gdb/17511
12685 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
12686 * gdb.base/sigstep.exp (other_handler_location): New global.
12687 (advance): Support stepping into the signal handler, and running
12688 commands while in the handler.
12689 (in_handler_map): New global.
12690 (top level): In the advance test, add combinations for getting
12691 into the handler with stepping commands, and for running commands
12692 in the handler. Add comment descripting the advancei tests.
12693
12694 2014-10-28 Pedro Alves <palves@redhat.com>
12695
12696 * gdb.base/sigstep.exp: Use build_executable instead of
12697 prepare_for_testing.
12698 (top level): Move code that starts GDB, runs to main and creates a
12699 display to ...
12700 (restart): ... this new procedure.
12701 (top level): Move backtrace from signal handler test to ...
12702 (validate_backtrace): ... this new procedure.
12703 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
12704 with_test_prefix. Always restart GDB.
12705 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
12706 with_test_prefix. Always restart GDB. No need to delete
12707 breakpoints after the test.
12708 (test_skip_handler): Remove prefix parameter.
12709 (skip_over_handler, breakpoint_to_handler)
12710 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
12711 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
12712 restart GDB. No need to delete breakpoints after the test.
12713 (top level): Use foreach to call the test procedures with
12714 different commands.
12715
12716 2014-10-28 Pedro Alves <palves@redhat.com>
12717
12718 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
12719 instead of GNATS numbers.
12720 * gdb.base/sigbpt.exp: Likewise.
12721 * gdb.base/siginfo.exp: Likewise.
12722 * gdb.base/sigstep.exp: Likewise.
12723
12724 2014-10-27 Pedro Alves <palves@redhat.com>
12725
12726 * gdb.base/sigstep.c (dummy): New global.
12727 (main): Issue a couple writes to the new global.
12728 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
12729 procedures.
12730 (skip_over_handler): Use test_skip_handler.
12731 (top level): Call skip_over_handler for stepi and nexti too.
12732 (breakpoint_over_handler): Use test_skip_handler.
12733 (top level): Call breakpoint_over_handler for stepi and nexti too.
12734
12735 2014-10-27 Yao Qi <yao@codesourcery.com>
12736
12737 * gdb.trace/tfile.c (adjust_function_address)
12738 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
12739 function descriptor.
12740
12741 2014-10-24 Don Breazeal <donb@codesourcery.com>
12742
12743 * gdb.base/foll-fork.exp (test_follow_fork,
12744 catch_fork_child_follow): Check for updated fork messages emitted
12745 from infrun.c.
12746 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
12747 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
12748 vfork_and_exec_child_follow_through_step): Check for updated vfork
12749 messages emitted from infrun.c.
12750
12751 2014-10-24 Pedro Alves <palves@redhat.com>
12752
12753 * gdb.base/corefile.exp: Remove references to ultrix.
12754 * gdb.base/interrupt.exp: Likewise.
12755 * gdb.base/whatis.exp: Likewise.
12756 * gdb.gdb/selftest.exp: Likewise.
12757 * gdb.threads/manythreads.exp: Likewise.
12758 * gdb.threads/print-threads.exp: Likewise.
12759 * gdb.threads/pthreads.exp:: Likewise.
12760 * gdb.threads/schedlock.exp: Likewise.
12761
12762 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
12763
12764 * gdb.cp/non-trivial-retval.cc: Add a test case.
12765 * gdb.cp/non-trivial-retval.exp: Add a test.
12766
12767 2014-10-20 Yao Qi <yao@codesourcery.com>
12768
12769 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
12770 * gdb.python/py-objfile-script-gdb.py: New file.
12771 * gdb.python/py-objfile-script.exp: Update reference to
12772 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
12773 of remote_download. Remove the dest file.
12774
12775 2014-10-20 Yao Qi <yao@codesourcery.com>
12776
12777 * gdb.base/checkpoint.exp: Don't remove file copied on host.
12778 * gdb.base/step-line.exp: Likewise.
12779 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
12780 * gdb.dwarf2/dw2-basic.exp: Likewise.
12781 * gdb.dwarf2/dw2-compressed.exp: Likewise.
12782 * gdb.dwarf2/dw2-filename.exp: Likewise.
12783 * gdb.dwarf2/dw2-intercu.exp: Likewise.
12784 * gdb.dwarf2/dw2-intermix.exp: Likewise.
12785 * gdb.dwarf2/dw2-producer.exp: Likewise.
12786 * gdb.dwarf2/mac-fileno.exp: Likewise.
12787 * gdb.python/py-frame-args.exp: Likewise.
12788 * gdb.python/py-framefilter.exp: Likewise.
12789 * gdb.python/py-mi.exp: Likewise.
12790 * gdb.python/py-objfile-script.exp: Likewise
12791 * gdb.python/py-pp-integral.exp: Likewise.
12792 * gdb.python/py-pp-re-notag.exp: Likewise.
12793 * gdb.python/py-prettyprint.exp: Likewise.
12794 * gdb.python/py-section-script.exp: Likewise.
12795 * gdb.python/py-typeprint.exp: Likewise.
12796 * gdb.python/py-xmethods.exp: Likewise.
12797 * gdb.stabs/weird.exp: Likewise.
12798 * gdb.xml/tdesc-regs.exp: Likewise.
12799
12800 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
12801
12802 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
12803 (out_cu): Use addr_len for the size of addresses.
12804 (out_line): Likewise. Size DW_LNE_set_address instruction
12805 according to addr_len.
12806 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
12807 (FUNC): Add START_INSNS to definition.
12808
12809 2014-10-18 Yao Qi <yao@codesourcery.com>
12810
12811 * gdb.base/argv0-symlink.exp: Check argv[0] value if
12812 gdb_has_argv0 return true.
12813 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
12814 check [target_info exists noargs], check [gdb_has_argv0]
12815 instead.
12816 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
12817 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
12818 procedures.
12819
12820 2014-10-17 Doug Evans <dje@google.com>
12821
12822 * gdb.python/py-events.exp: Update expected output for clear_objfiles
12823 event.
12824 * gdb.python/py-events.py: Add clear_objfiles event.
12825
12826 2014-10-17 Doug Evans <dje@google.com>
12827
12828 * gdb.python/py-objfile.exp: Test progspace attribute.
12829
12830 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
12831
12832 * gdb.guile/scm-breakpoint.exp: Do not assume any
12833 directory separators when matching source file paths.
12834 * gdb.python/py-breakpoint.exp: Likewise.
12835 * gdb.reverse/break-precsave.exp: Likewise.
12836 * gdb.reverse/break-reverse.exp: Likewise.
12837 * gdb.reverse/consecutive-precsave.exp: Likewise.
12838 * gdb.reverse/finish-precsave.exp: Likewise.
12839 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
12840 * gdb.reverse/finish-reverse.exp: Likewise.
12841 * gdb.reverse/i386-precsave.exp: Likewise.
12842 * gdb.reverse/i387-env-reverse.exp: Likewise.
12843 * gdb.reverse/i387-stack-reverse.exp: Likewise.
12844 * gdb.reverse/machinestate-precsave.exp: Likewise.
12845 * gdb.reverse/machinestate.exp: Likewise.
12846 * gdb.reverse/sigall-precsave.exp: Likewise.
12847 * gdb.reverse/solib-precsave.exp: Likewise.
12848 * gdb.reverse/step-precsave.exp: Likewise.
12849 * gdb.reverse/until-precsave.exp: Likewise.
12850 * gdb.reverse/watch-precsave.exp: Likewise.
12851 * gdb.reverse/watch-reverse.exp: Likewise.
12852
12853 2014-10-17 Yao Qi <yao@codesourcery.com>
12854
12855 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
12856 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
12857
12858 2014-10-17 Pedro Alves <palves@redhat.com>
12859
12860 PR gdb/17471
12861 * gdb.base/bg-execution-repeat.c: New file.
12862 * gdb.base/bg-execution-repeat.exp: New file.
12863
12864 2014-10-17 Pedro Alves <palves@redhat.com>
12865
12866 PR gdb/17300
12867 * gdb.base/continue-all-already-running.c: New file.
12868 * gdb.base/continue-all-already-running.exp: New file.
12869
12870 2014-10-17 Pedro Alves <palves@redhat.com>
12871
12872 PR gdb/17472
12873 * gdb.base/annota-input-while-running.c: New file.
12874 * gdb.base/annota-input-while-running.exp: New file.
12875
12876 2014-10-17 Pedro Alves <palves@redhat.com>
12877
12878 * gdb.base/callfuncs.exp: emove references to osf.
12879 * gdb.base/sigall.exp: Likewise.
12880 * gdb.gdb/selftest.exp: Likewise.
12881 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
12882 * gdb.mi/non-stop.c: Likewise.
12883 * gdb.mi/pthreads.c: Likewise.
12884 * gdb.reverse/sigall-precsave.exp: Likewise.
12885 * gdb.reverse/sigall-reverse.exp: Likewise.
12886 * gdb.threads/pthreads.c: Likewise.
12887 * gdb.threads/pthreads.exp: Likewise.
12888
12889 2014-10-17 Yao Qi <yao@codesourcery.com>
12890
12891 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
12892 check 'target_info exists noargs'.
12893 (test_command_prompt_position): Likewise.
12894 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
12895 Remove "set args".
12896 (progvar_simple_while_test): Likewise.
12897 (progvar_complex_if_while_test): Likewise.
12898 (if_while_breakpoint_command_test): Likewise.
12899 (infrun_breakpoint_command_test): Likewise.
12900 (breakpoint_command_test): Likewise.
12901 (watchpoint_command_test): Likewise.
12902 (bp_deleted_in_command_test): Likewise.
12903 (temporary_breakpoint_commands): Likewise.
12904
12905 2014-10-16 Yao Qi <yao@codesourcery.com>
12906
12907 * gdb.base/remotetimeout.exp: Remove noargs checking.
12908
12909 2014-10-15 Pedro Alves <palves@redhat.com>
12910
12911 PR breakpoints/9649
12912 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
12913 * gdb.base/breakpoint-in-ro-region.exp
12914 (probe_target_hardware_step): New procedure.
12915 (top level): Probe hardware stepping and hardware breakpoint
12916 support. Test stepping through a read-only region, with both
12917 "breakpoint auto-hw" on and off and both "always-inserted" on and
12918 off.
12919
12920 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
12921
12922 * gdb.dlang/demangle.exp: Update for demangling changes.
12923
12924 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
12925
12926 * gdb.cp/non-trivial-retval.cc: Add new test cases.
12927 * gdb.cp/non-trivial-retval.exp: Add new tests.
12928
12929 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
12930
12931 PR c++/13403
12932 PR c++/15154
12933 * gdb.cp/non-trivial-retval.cc: New file.
12934 * gdb.cp/non-trivial-retval.exp: New file.
12935
12936 2014-10-15 Yao Qi <yao@codesourcery.com>
12937
12938 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
12939 remote host.
12940
12941 2014-10-15 Yao Qi <yao@codesourcery.com>
12942
12943 * gdb.python/py-symbol.exp: Match file base name if host is
12944 remote, otherwise match file name with dir name.
12945 * gdb.python/py-symtab.exp: Likewise.
12946 * gdb.python/python.exp: Likewise.
12947
12948 2014-10-15 Yao Qi <yao@codesourcery.com>
12949
12950 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
12951 pattern.
12952 * gdb.python/py-symtab.exp: Likewise.
12953 * gdb.python/python.exp: Remove trailing ".*". Fix typo
12954 locationn.
12955
12956 2014-10-14 Joel Brobecker <brobecker@adacore.com>
12957
12958 * gdb.ada/addr_arith: New testcase.
12959
12960 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
12961
12962 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
12963 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
12964 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
12965 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
12966
12967 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
12968
12969 * gdb.arch/stap-eval-lang-ada.S: Likewise.
12970 * gdb.arch/stap-eval-lang-ada.c: Likewise.
12971 * gdb.arch/stap-eval-lang-ada.exp: New file.
12972
12973 2014-10-14 Yao Qi <yao@codesourcery.com>
12974
12975 * gdb.mi/mi-var-child.c (nothing1): New function.
12976 (nothing2): New function.
12977 (do_children_tests): Set function pointers by nothing1 and
12978 nothing2.
12979 * gdb.mi/mi-var-child.exp: Step over new added statements.
12980 Update test to match the new output.
12981 * gdb.mi/var-cmd.c (nothing1): New function.
12982 (nothing2): New function.
12983 (do_children_tests): Set function pointers by nothing1 and
12984 nothing2.
12985 * gdb.mi/mi-var-display.exp: Update test to match output.
12986 Step to the line specified by $line_dct_nothing.
12987 Increase the number of lines to step.
12988
12989 2014-10-14 Yao Qi <yao@codesourcery.com>
12990
12991 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
12992 tests.
12993 * gdb.mi/mi2-var-child.exp: Likewise.
12994
12995 2014-10-13 Doug Evans <dje@google.com>
12996
12997 * gdb.python/py-objfile.exp: Change name of file name test.
12998
12999 2014-10-13 Doug Evans <dje@google.com>
13000
13001 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
13002 from the start of the CU.
13003
13004 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
13005 Yao Qi <yao@codesourcery.com>
13006
13007 Fix "save breakpoints" for "catch" command.
13008 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
13009 Remove -nonewline. Match also the added "main" line.
13010
13011 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
13012
13013 Fix "save breakpoints" for "disable $bpnum" command.
13014 * gdb.base/save-bp.c (main): Add label.
13015 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
13016
13017 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
13018
13019 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
13020
13021 2014-10-11 Yao Qi <yao@codesourcery.com>
13022
13023 * gdb.server/server-kill.exp: Execute command
13024 "set remote trace-status-packet on" before "tstatus".
13025
13026 2014-10-11 Yao Qi <yao@codesourcery.com>
13027
13028 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
13029 (main): Call getppid.
13030 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
13031 and continue to it. Read variable "server_pid".
13032
13033 2014-10-11 Yao Qi <yao@codesourcery.com>
13034
13035 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
13036
13037 2014-10-11 Yao Qi <yao@codesourcery.com>
13038
13039 * gdb.threads/thread-find.exp: Don't execute command
13040 "info threads".
13041 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
13042 * gdb.threads/linux-dp.exp: Don't check the condition
13043 $threads_created equals to zero.
13044
13045 2014-10-10 Pedro Alves <palves@redhat.com>
13046
13047 * gdb.base/bigcore.exp: Remove references to IRIX.
13048 * gdb.base/funcargs.exp: Likewise.
13049 * gdb.base/interrupt.exp: Likewise.
13050 * gdb.base/mips_pro.exp: Likewise.
13051 * gdb.base/nodebug.exp: Likewise.
13052 * gdb.base/setvar.exp: Likewise.
13053 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
13054
13055 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
13056 Pedro Alves <palves@redhat.com>
13057
13058 PR symtab/14466
13059 * gdb.base/vdso-warning.c: New file.
13060 * gdb.base/vdso-warning.exp: New file.
13061
13062 2014-10-02 Doug Evans <dje@google.com>
13063
13064 * gdb.base/structs.c (main): Don't run forever.
13065
13066 2014-10-02 Pedro Alves <palves@redhat.com>
13067
13068 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
13069 (top level) <stop threads 1, stop threads 2>: Use it.
13070
13071 2014-10-02 Pedro Alves <palves@redhat.com>
13072
13073 * gdb.threads/break-while-running.exp (test): Add new
13074 'update_thread_list' argument. Skip "info threads" if false.
13075 (top level): Add new 'update_thread_list' axis.
13076
13077 2014-10-02 Pedro Alves <palves@redhat.com>
13078
13079 PR breakpoints/17431
13080 * gdb.base/execl-update-breakpoints.c: New file.
13081 * gdb.base/execl-update-breakpoints.exp: New file.
13082
13083 2014-10-01 Pedro Alves <palves@redhat.com>
13084
13085 * gdb.base/breakpoint-in-ro-region.c: New file.
13086 * gdb.base/breakpoint-in-ro-region.exp: New file.
13087
13088 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
13089
13090 * gdb.mi/mi-exit-code.exp: New file.
13091 * gdb.mi/mi-exit-code.c: New file.
13092
13093 2014-09-30 Yao Qi <yao@codesourcery.com>
13094
13095 * lib/prelink-support.exp (build_executable_own_libs): Error if
13096 the target isn't native.
13097
13098 2014-09-30 Yao Qi <yao@codesourcery.com>
13099
13100 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
13101 false.
13102
13103 2014-09-22 Pedro Alves <palves@redhat.com>
13104
13105 * gdb.threads/break-while-running.exp: New file.
13106 * gdb.threads/break-while-running.c: New file.
13107
13108 2014-09-19 Yao Qi <yao@codesourcery.com>
13109
13110 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
13111 Invoke test. Restart GDB with --readnow and invoke test again.
13112
13113 2014-09-19 Yao Qi <yao@codesourcery.com>
13114
13115 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
13116 proc set_breakpoint_on_gcd_function. Invoke
13117 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
13118 invoke set_breakpoint_on_gcd_function again.
13119
13120 2014-09-18 Doug Evans <dje@google.com>
13121
13122 * gdb.dwarf2/symtab-producer.exp: New file.
13123
13124 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
13125
13126 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
13127 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
13128 * gdb.base/global-var-nested-by-dso.c: Likewise.
13129 * gdb.base/global-var-nested-by-dso.exp: Likewise.
13130
13131 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
13132 Pedro Alves <palves@redhat.com>
13133
13134 * gdb.base/watch-bitfields.exp: Pass string other than test file
13135 name to prepare_for_testing.
13136 (watch): New procedure.
13137 (expect_watchpoint): Use with_test_prefix.
13138 (top level): Factor out tests to ...
13139 (test_watch_location, test_regular_watch): ... these new
13140 procedures, and use with_test_prefix and gdb_continue_to_end.
13141
13142 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
13143
13144 PR breakpoints/12526
13145 * gdb.base/watch-bitfields.exp: New file.
13146 * gdb.base/watch-bitfields.c: New file.
13147
13148 2014-09-16 Pedro Alves <palves@redhat.com>
13149
13150 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
13151 software and hardware addresses, not software address against
13152 itself.
13153
13154 2014-09-16 Pedro Alves <palves@redhat.com>
13155
13156 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
13157 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
13158
13159 2014-09-16 Pedro Alves <palves@redhat.com>
13160
13161 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
13162 files.
13163 * gdb.base/a2-run.exp: Remove all code guarded by istarget
13164 "*-*-vxworks*" throughout.
13165 * gdb.base/break.exp: Likewise.
13166 * gdb.base/default.exp: Likewise.
13167 * gdb.base/scope.exp: Likewise.
13168 * gdb.base/sepdebug.exp: Likewise.
13169 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
13170 throughout.
13171 * gdb.base/run.c: Likewise.
13172 * gdb.base/sepdebug.c: Likewise.
13173 * gdb.hp/gdb.aCC/run.c: Likewise.
13174 * gdb.reverse/until-reverse.c: Likewise.
13175 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
13176
13177 2014-09-16 Yao Qi <yao@codesourcery.com>
13178
13179 * boards/local-remote-host-native.exp: New file.
13180
13181 2014-09-14 Doug Evans <xdje42@gmail.com>
13182
13183 * gdb.threads/queue-signal.c (thread_count): New variable.
13184 (thread_count_mutex, thread_count_condvar): New variables.
13185 (incr_thread_count, wait_all_threads_running): New functions.
13186 (main): Wait for all threads to be in their thread functions.
13187
13188 2014-09-13 Doug Evans <xdje42@gmail.com>
13189
13190 * gdb.threads/queue-signal.c: New file.
13191 * gdb.threads/queue-signal.exp: New file.
13192
13193 2014-09-13 Doug Evans <xdje42@gmail.com>
13194
13195 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
13196 be consistent with what default_gdb_init uses.
13197 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
13198 the plain text of the prompt. Add some logging printfs.
13199 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
13200
13201 2014-09-12 Pedro Alves <palves@redhat.com>
13202
13203 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
13204 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
13205 * gdb.arch/i386-size-overlap.exp: Likewise.
13206 * gdb.arch/i386-size.exp: Likewise.
13207 * gdb.arch/i386-unwind.exp: Likewise.
13208 * gdb.base/a2-run.exp: Likewise.
13209 * gdb.base/break.exp: Likewise.
13210 * gdb.base/charset.exp: Likewise.
13211 * gdb.base/chng-syms.exp: Likewise.
13212 * gdb.base/commands.exp: Likewise.
13213 * gdb.base/dbx.exp: Likewise.
13214 * gdb.base/find.exp: Likewise.
13215 * gdb.base/funcargs.exp: Likewise.
13216 * gdb.base/jit-simple.exp: Likewise.
13217 * gdb.base/reread.exp: Likewise.
13218 * gdb.base/sepdebug.exp: Likewise.
13219 * gdb.base/step-bt.exp: Likewise.
13220 * gdb.cp/mb-inline.exp: Likewise.
13221 * gdb.cp/mb-templates.exp: Likewise.
13222 * gdb.objc/basicclass.exp: Likewise.
13223 * gdb.threads/killed.exp: Likewise.
13224
13225 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13226
13227 PR tdep/17379
13228 * gdb.arch/powerpc-stackless.S: New file.
13229 * gdb.arch/powerpc-stackless.exp: New file.
13230
13231 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
13232
13233 * gdb.base/attach.c: Include unistd.h.
13234 (main): Call alarm. Add label postloop.
13235 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
13236 gdb_breakpoint, gdb_continue_to_breakpoint.
13237 (test_command_line_attach_run): Kill ${testpid} in one exit path.
13238
13239 2014-09-11 Pedro Alves <palves@redhat.com>
13240
13241 PR gdb/17347
13242 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
13243 * gdb.base/attach.exp (test_command_line_attach_run): New
13244 procedure.
13245 (top level): Call it.
13246
13247 2014-09-11 Pedro Alves <palves@redhat.com>
13248
13249 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
13250 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
13251 (do_command_attach_tests): Use spawn_wait_for_attach.
13252 * gdb.base/solib-overlap.exp: Likewise.
13253 * gdb.multi/multi-attach.exp: Likewise.
13254 * gdb.python/py-prompt.exp: Likewise.
13255 * gdb.python/py-sync-interp.exp: Likewise.
13256 * gdb.server/ext-attach.exp: Likewise.
13257
13258 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
13259
13260 * gdb.fortran/array-element.exp: Remove unexpected "continue"
13261 command in testcase. Simplify testcase.
13262
13263 2014-09-10 Joel Brobecker <brobecker@adacore.com>
13264
13265 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
13266
13267 2014-09-10 Joel Brobecker <brobecker@adacore.com>
13268
13269 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
13270
13271 2014-09-10 Joel Brobecker <brobecker@adacore.com>
13272
13273 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
13274
13275 2014-09-10 Joel Brobecker <brobecker@adacore.com>
13276
13277 * gdb.dwarf2/dynarr-ptr.c: New file.
13278 * gdb.dwarf2/dynarr-ptr.exp: New file.
13279
13280 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
13281
13282 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
13283 of 30 rather than hardcoding 120 for a slow test case. Take the
13284 `gdb,timeout' target setting into account for this calculation.
13285 Don't extend the timeout for the test cases that don't need it.
13286
13287 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
13288
13289 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
13290 a factor of 2 for a slow test case. Take the `gdb,timeout'
13291 target setting into account for this calculation.
13292 * gdb.reverse/until-precsave.exp: Increase the timeout by
13293 a factor of 15 and 3 respectively rather than adding 120
13294 for a pair of slow test cases. Take the `gdb,timeout'
13295 target setting into account for this calculation.
13296
13297 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
13298
13299 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
13300 timeout, don't pass one down to gdb_expect.
13301 (gdb_expect): Rework timeout selection.
13302
13303 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
13304
13305 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
13306 exception on timeout.
13307 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
13308 (gdbserver_start_extended): Catch any `gdbserver_start' error
13309 exceptions.
13310 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
13311 * lib/mi-support.exp (mi_gdb_target_load): Catch any
13312 `gdbserver_gdb_load' error exceptions.
13313
13314 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
13315
13316 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
13317 120 on waiting for the TCP socket to open.
13318
13319 2014-09-09 Doug Evans <xdje42@gmail.com>
13320
13321 * gdb.base/default.exp (show_conv_list): Add _caller_is,
13322 _caller_matches, _any_caller_is, _any_caller_matches.
13323
13324 2014-09-09 Doug Evans <xdje42@gmail.com>
13325
13326 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
13327
13328 2014-09-09 Yao Qi <yao@codesourcery.com>
13329
13330 * gdb.mi/mi-var-display.exp: Set print symbol off.
13331
13332 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
13333
13334 PR gdb/17035
13335 * gdb.base/commands.exp: Add tests to verify user-defined
13336 commands with empty bodies.
13337 * gdb.python/py-cmd.exp: Test that we don't show user-defined
13338 python commands in `show user command`.
13339 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
13340 scheme commands in `show user command`.
13341
13342 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13343
13344 PR python/17355
13345 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
13346 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
13347 * gdb.python/py-framefilter-invalidarg.exp: New file.
13348 * gdb.python/py-framefilter-invalidarg.py: New file.
13349
13350 2014-09-06 Doug Evans <xdje42@gmail.com>
13351
13352 PR 15276
13353 * gdb.python/py-caller-is.c: New file.
13354 * gdb.python/py-caller-is.exp: New file.
13355
13356 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
13357
13358 PR gdb/17235
13359 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
13360 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
13361
13362 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
13363
13364 PR fortran/17237
13365 * gdb.fortran/print-formatted.exp: New file.
13366 * gdb.fortran/print-formatted.f90: Likewise.
13367
13368 2014-09-03 Sasha Smundak <asmundak@google.com>
13369
13370 * gdb.python/py-frame.exp: Test Frame.read_register.
13371
13372 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
13373
13374 PR python/16699
13375 * gdb.python/py-completion.exp: New file.
13376 * gdb.python/py-completion.py: Likewise.
13377
13378 2014-08-28 Doug Evans <dje@google.com>
13379
13380 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
13381 eax,etc. are live with values set by gdb and thus the compiler can't
13382 use them.
13383 * gdb.arch/i386-pseudo.c (main): Ditto.
13384
13385 2014-08-27 Doug Evans <dje@google.com>
13386
13387 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
13388
13389 2014-08-25 Doug Evans <dje@google.com>
13390
13391 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
13392 (main): Ditto.
13393
13394 2014-08-25 Doug Evans <dje@google.com>
13395
13396 * gdb.threads/thread-execl.exp: #include <stdio.h>.
13397
13398 2014-08-24 Yao Qi <yao@codesourcery.com>
13399
13400 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
13401 symbol off.
13402 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
13403
13404 2014-08-22 Doug Evans <dje@google.com>
13405
13406 PR 17276
13407 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
13408 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
13409 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
13410
13411 2014-08-22 Yao Qi <yao@codesourcery.com>
13412
13413 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
13414 * gdb.python/py-finish-breakpoint2.exp: Likewise.
13415 * gdb.python/python.exp: Likewise. Use .py file on the host
13416 instead of the build.
13417
13418 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
13419
13420 * gdb.threads/gcore-stale-thread.c: New file.
13421 * gdb.threads/gcore-stale-thread.exp: New file.
13422
13423 2014-08-21 Pedro Alves <palves@redhat.com>
13424
13425 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
13426 * gdb.base/gcore-relro-pie.exp: Likewise.
13427 * gdb.base/gcore-relro.exp: Likewise.
13428 * gdb.base/gcore.exp: Likewise.
13429 * gdb.base/print-symbol-loading.exp: Likewise.
13430 * gdb.threads/gcore-thread.exp: Likewise.
13431 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
13432
13433 2014-08-20 Pedro Alves <palves@redhat.com>
13434 Jan Kratochvil <jan.kratochvil@redhat.com>
13435
13436 * Makefile.in (EXTRA_RULES, CC): New variables, get from
13437 configure.
13438 (EXPECT): Handle READ1 being set.
13439 (all): Depend on EXTRA_RULES.
13440 (check-read1, expect-read1, read1.so, read1): New rules.
13441 * README (Testsuite Parameters): Document the READ1 make variable.
13442 (Race detection): New section.
13443 * configure: Regenerate.
13444 * configure.ac: If build==host==target, and running under a
13445 GNU/glibc system, add read1 to the extra Makefile rules.
13446 (EXTRA_RULES): AC_SUBST it.
13447 * lib/read1.c: New file.
13448
13449 2014-08-20 Joel Brobecker <brobecker@adacore.com>
13450
13451 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
13452 the handling of variables declared as a typedef to an array
13453 which a DW_AT_data_location attribute.
13454
13455 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
13456 Pedro Alves <palves@redhat.com>
13457
13458 PR symtab/14604
13459 PR symtab/14605
13460 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
13461 gdb_test.
13462
13463 2014-08-19 Pedro Alves <palves@redhat.com>
13464
13465 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
13466
13467 2014-08-19 Yao Qi <yao@codesourcery.com>
13468
13469 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
13470 right line.
13471
13472 2014-08-18 David Blaikie <dblaikie@gmail.com>
13473
13474 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
13475
13476 2014-08-18 Joel Brobecker <brobecker@adacore.com>
13477
13478 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
13479 attribute in array range.
13480
13481 2014-08-18 Joel Brobecker <brobecker@adacore.com>
13482
13483 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
13484
13485 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
13486
13487 PR c++/17132
13488 * gdb.cp/pr17132.cc: New file.
13489 * gdb.cp/pr17132.exp: New file.
13490
13491 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
13492
13493 * gdb.python/py-xmethods.py (A_getarrayind)
13494 (E_method_char_worker.__call__, E_method_int_worker.__call__):
13495 Use 'print' with function call syntax.
13496 (E_method_matcher.match): Fix tab vs space indentation mixup.
13497
13498 2014-08-15 Yao Qi <yao@codesourcery.com>
13499
13500 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
13501 false.
13502
13503 2014-08-15 Yao Qi <yao@codesourcery.com>
13504
13505 * gdb.cp/casts.exp: Set print symbol off.
13506 * gdb.cp/class2.exp: Likewise.
13507 * gdb.cp/overload.exp: Likewise.
13508 * gdb.cp/templates.exp: Likewise.
13509
13510 2014-08-11 Doug Evans <dje@google.com>
13511
13512 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
13513 (test_load_shlib): Update.
13514
13515 2014-08-09 Yao Qi <yao@codesourcery.com>
13516
13517 * gdb.base/display.exp: Invoke is_address_zero_readable.
13518 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
13519 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
13520 * gdb.base/hbreak-unmapped.exp: Return if
13521 is_address_zero_readable returns true.
13522 * gdb.base/signest.exp: Likewise.
13523 * gdb.base/signull.exp: Likewise.
13524 * gdb.base/sigbpt.exp: Likewise.
13525 * gdb.guile/scm-disasm.exp: Do the test if
13526 is_address_zero_readable returns false.
13527 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
13528 * gdb.python/py-arch.exp: Likewise.
13529 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
13530 * lib/gdb.exp (is_address_zero_readable): New proc.
13531
13532 2014-08-09 Yao Qi <yao@codesourcery.com>
13533
13534 PR testsuite/13443
13535 * gdb.mi/mi-var-display.exp: Make test messages unique.
13536
13537 2014-08-04 Tom Tromey <tromey@redhat.com>
13538
13539 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
13540 target 0".
13541
13542 2014-08-04 Tom Tromey <tromey@redhat.com>
13543
13544 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
13545 "target_resume".
13546
13547 2014-08-01 Joel Brobecker <brobecker@adacore.com>
13548
13549 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
13550 inner_vla_struct_object_size.
13551 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
13552 as xfail.
13553
13554 2014-07-30 Pedro Alves <palves@redhat.com>
13555
13556 * gdb.threads/signal-command-handle-nopass.exp (test): Add
13557 comment.
13558
13559 2014-07-29 Yao Qi <yao@codesourcery.com>
13560
13561 PR gdb/17206
13562 * gdb.base/until-nodebug.exp: New.
13563
13564 2014-07-28 Doug Evans <xdje42@gmail.com>
13565
13566 PR guile/17203
13567 * gdb.guile/scm-parameter.exp: Add tests for trying to create
13568 previously existing parameter, and previously ambiguously spelled
13569 parameter.
13570
13571 2014-07-28 Will Newton <will.newton@linaro.org>
13572
13573 * gdb.base/varargs.exp: Remove KFAILs for ARM.
13574
13575 2014-07-26 Ludovic Courtès <ludo@gnu.org>
13576 Doug Evans <xdje42@gmail.com>
13577
13578 PR guile/17146
13579 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
13580
13581 2014-07-25 Pedro Alves <palves@redhat.com>
13582
13583 * gdb.threads/signal-command-handle-nopass.c: New file.
13584 * gdb.threads/signal-command-handle-nopass.exp: New file.
13585 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
13586 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
13587 * gdb.threads/signal-delivered-right-thread.c: New file.
13588 * gdb.threads/signal-delivered-right-thread.exp: New file.
13589
13590 2014-07-25 Pedro Alves <palves@redhat.com>
13591
13592 * gdb.base/double-prompt-target-event-error.exp
13593 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
13594 match.
13595 (cancel_pagination_in_target_event): Rework double prompt
13596 detection.
13597 * gdb.base/paginate-after-ctrl-c-running.exp
13598 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
13599 <return>' match.
13600 * gdb.base/paginate-bg-execution.exp
13601 (test_bg_execution_pagination_return)
13602 (test_bg_execution_pagination_cancel): Remove '-notransfer
13603 <return>' matches.
13604 * gdb.base/paginate-execution-startup.exp
13605 (test_fg_execution_pagination_return)
13606 (test_fg_execution_pagination_cancel): Remove '-notransfer
13607 <return>' matches.
13608 * gdb.base/paginate-inferior-exit.exp
13609 (test_paginate_inferior_exited): Remove '-notransfer <return>'
13610 match.
13611 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
13612 * lib/gdb.exp (pagination_prompt): Run text through
13613 string_to_regexp.
13614 (gdb_test_multiple): Match $pagination_prompt instead of
13615 "<return>".
13616 (string_to_regexp): Move to lib/gdb-utils.exp.
13617
13618 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13619
13620 * gdb.arch/amd64-entry-value-paramref.S: New file.
13621 * gdb.arch/amd64-entry-value-paramref.cc: New file.
13622 * gdb.arch/amd64-entry-value-paramref.exp: New file.
13623 * gdb.arch/amd64-optimout-repeat.S: New file.
13624 * gdb.arch/amd64-optimout-repeat.c: New file.
13625 * gdb.arch/amd64-optimout-repeat.exp: New file.
13626
13627 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
13628
13629 PR gdb/17170
13630 * gdb.base/statistics.exp: New file.
13631
13632 2014-07-17 Doug Evans <dje@google.com>
13633
13634 PR gdb/17170
13635 * gdb.base/maint.exp: Update testing of per-command stats.
13636
13637 2014-07-16 Pedro Alves <palves@redhat.com>
13638
13639 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
13640 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
13641 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
13642 (tfile_write_buf): New functions.
13643 (add_memory_block): Rewrite using the above.
13644 (adjust_function_address): New function.
13645 (FUNCTION_ADDRESS): New macro.
13646 (write_basic_trace_file): Remove short_x local, and use
13647 tfile_write_16. Change type of func_addr local to unsigned long
13648 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
13649 here. Cast argument of add_memory_block to char pointer.
13650 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
13651 (main): Remove parameters.
13652 * gdb.trace/tfile.exp: Remove nowarnings.
13653
13654 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
13655
13656 * gdb.base/debug-expr.exp: Test string evaluation with
13657 "debug expression" on.
13658
13659 2014-07-15 Pedro Alves <palves@redhat.com>
13660
13661 * gdb.base/reread.exp: Use clean_restart.
13662
13663 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
13664
13665 * gdb.arch/avr-flash-qualifer.c: New.
13666 * gdb.arch/avr-flash-qualifer.exp: New.
13667
13668 2014-07-14 Pedro Alves <palves@redhat.com>
13669
13670 * gdb.base/paginate-after-ctrl-c-running.c: New file.
13671 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
13672
13673 2014-07-14 Pedro Alves <palves@redhat.com>
13674
13675 * gdb.base/double-prompt-target-event-error.c: New file.
13676 * gdb.base/double-prompt-target-event-error.exp: New file.
13677
13678 2014-07-14 Pedro Alves <palves@redhat.com>
13679
13680 PR gdb/17072
13681 * gdb.base/paginate-inferior-exit.c: New file.
13682 * gdb.base/paginate-inferior-exit.exp: New file.
13683
13684 2014-07-14 Pedro Alves <palves@redhat.com>
13685
13686 PR gdb/17072
13687 * gdb.base/paginate-bg-execution.c: New file.
13688 * gdb.base/paginate-bg-execution.exp: New file.
13689
13690 2014-07-14 Pedro Alves <palves@redhat.com>
13691
13692 PR gdb/17072
13693 * gdb.base/paginate-execution-startup.c: New file.
13694 * gdb.base/paginate-execution-startup.exp: New file.
13695 * lib/gdb.exp (pagination_prompt): New global.
13696 (default_gdb_spawn): New procedure, factored out from
13697 default_gdb_spawn.
13698 (default_gdb_start): Adjust to call default_gdb_spawn.
13699 (gdb_spawn): New procedure.
13700
13701 2014-07-14 Pedro Alves <palves@redhat.com>
13702
13703 * lib/gdb.exp (gdb_assert): New procedure.
13704 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
13705
13706 2014-07-14 Pedro Alves <palves@redhat.com>
13707
13708 * gdb.base/execution-termios.c: New file.
13709 * gdb.base/execution-termios.exp: New file.
13710
13711 2014-07-14 Tom Tromey <tromey@redhat.com>
13712
13713 * gdb.cp/vla-cxx.cc: New file.
13714 * gdb.cp/vla-cxx.exp: New file.
13715
13716 2014-07-14 Tom Tromey <tromey@redhat.com>
13717
13718 * gdb.reverse/rerun-prec.c: New file.
13719 * gdb.reverse/rerun-prec.exp: New file.
13720
13721 2014-07-12 Maciej W. Rozycki <macro@mips.com>
13722 Maciej W. Rozycki <macro@codesourcery.com>
13723
13724 * lib/gdb-utils.exp: New file.
13725 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
13726 inline `gdb_init_command' processing.
13727 (gdb_start_cmd): Likewise.
13728 * lib/mi-support.exp (mi_run_cmd): Likewise.
13729 * README: Document `gdb_init_command' and `gdb_init_commands'.
13730
13731 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13732
13733 Fix false FAIL running under a very long directory name.
13734 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
13735 and "set print elements 10000". Twice.
13736
13737 2014-07-11 Yao Qi <yao@codesourcery.com>
13738
13739 * gdb.base/exprs.exp: "set print symbol off".
13740
13741 2014-07-11 Pedro Alves <palves@redhat.com>
13742
13743 * gdb.threads/kill.c: New file.
13744 * gdb.threads/kill.exp: New file.
13745
13746 2014-07-10 Yao Qi <yao@codesourcery.com>
13747
13748 * gdb.trace/tfile.c (write_basic_trace_file)
13749 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
13750 address written to trace file.
13751
13752 2014-07-09 Pedro Alves <palves@redhat.com>
13753
13754 * gdb.base/attach-wait-input.exp: New file.
13755 * gdb.base/attach-wait-input.c: New file.
13756
13757 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
13758
13759 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
13760 setting up test structures.
13761 (main): Call new test function.
13762 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
13763 test function, continue into test function and walk test
13764 structures.
13765
13766 2014-07-02 Yao Qi <yao@codesourcery.com>
13767
13768 * gdb.trace/entry-values.c: Define labels 'foo_start' and
13769 'bar_start' at the beginning of functions 'foo' and 'bar'
13770 respectively.
13771 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
13772 instead of 'foo' and 'bar'.
13773
13774 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
13775
13776 * gdb.btrace/segv.exp: New.
13777 * gdb.btrace/segv.c: New.
13778
13779 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
13780
13781 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
13782 instruction.
13783
13784 2014-06-30 Mark Wielaard <mjw@redhat.com>
13785
13786 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
13787 vulture, vilify, villar): New volatile array constants.
13788 (vindictive, vegetation): New const volatile array constants.
13789 * gdb.base/volatile.exp: Test volatile and const volatile array
13790 types.
13791
13792 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
13793
13794 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
13795 target lacks support for awatch, rwatch, or hbreak.
13796
13797 2014-06-27 Yao Qi <yao@codesourcery.com>
13798
13799 * gdb.multi/dummy-frame-restore.exp: New.
13800 * gdb.multi/dummy-frame-restore.c: New.
13801
13802 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
13803
13804 * gdb.btrace/gcore.exp: New.
13805
13806 2014-06-23 Pedro Alves <palves@redhat.com>
13807
13808 * gdb.base/watchpoint-reuse-slot.c: New file.
13809 * gdb.base/watchpoint-reuse-slot.exp: New file.
13810
13811 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
13812
13813 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
13814 progspace's filename in 'info', 'enable' and 'disable' command
13815 tests.
13816
13817 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
13818
13819 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
13820 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
13821 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
13822
13823 2014-06-20 Gary Benson <gbenson@redhat.com>
13824
13825 * gdb.arch/i386-avx.exp: Fix include file location.
13826 * gdb.arch/i386-sse.exp: Likewise.
13827
13828 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
13829
13830 * gdb.dlang/expression.exp: New file.
13831
13832 2014-06-19 Pedro Alves <palves@redhat.com>
13833
13834 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
13835 out from ...
13836 (top level): ... here. Iterate running tests under different
13837 scheduler-locking settings.
13838
13839 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
13840
13841 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
13842 to DW_FORM_addr and use non-zero addresses.
13843
13844 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
13845
13846 PR gdb/17017
13847 * gdb.python/py-xmethods.cc: Add global function call counters and
13848 increment them in their respective functions. Remove "cout"
13849 statements.
13850 * gdb.python/py-xmethods.exp: Make tests check the global function
13851 call counters instead of depending on inferior IO.
13852
13853 2014-06-18 Don Breazeal <donb@codesourcery.com>
13854
13855 * gdb.base/foll-fork.exp (default_fork_parent_follow):
13856 Deleted procedure.
13857 (explicit_fork_parent_follow): Deleted procedure.
13858 (explicit_fork_child_follow): Deleted procedure.
13859 (test_follow_fork): New procedure.
13860 (do_fork_tests): Replace calls to deleted procedures with
13861 calls to test_follow_fork and reset GDB for subsequent
13862 procedure calls.
13863
13864 2014-06-17 Yao Qi <yao@codesourcery.com>
13865
13866 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
13867 CP1252.
13868
13869 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
13870
13871 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
13872 Initialize ptr and S explicitly.
13873 (skip_type_update_when_not_use_rtti_test): Likewise.
13874
13875 2014-06-16 Keith Seitz <keiths@redhat.com>
13876
13877 PR mi/15863
13878 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
13879 the inferior is started.
13880
13881 2014-06-16 Pedro Alves <palves@redhat.com>
13882
13883 * gdb.base/break-main-file-remove-fail.c: New file.
13884 * gdb.base/break-main-file-remove-fail.exp: New file.
13885 * gdb.base/break-unload-file.exp: Use build_executable instead of
13886 prepare_for_testing.
13887 (test_break): New parameter "initial_load". Handle it.
13888 (top level): Add initial_load cmdline/file axis.
13889
13890 2014-06-12 Tom Tromey <tromey@redhat.com>
13891
13892 * gdb.base/completion.exp: Don't use directory name in test.
13893
13894 2014-06-09 Gary Benson <gbenson@redhat.com>
13895
13896 * gdb.base/sigall.c [Functions to send signals]: Reorder to
13897 separate the always-available ANSI-standard signals from the
13898 signals that require checking.
13899 (main): Likewise.
13900 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
13901 Likewise.
13902 (main): Likewise.
13903
13904 2014-06-07 Keith Seitz <keiths@redhat.com>
13905
13906 Revert:
13907 PR c++/16253
13908 * gdb.cp/var-tag.cc: New file.
13909 * gdb.cp/var-tag.exp: New file.
13910 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
13911 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
13912 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
13913 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
13914
13915 2014-06-06 Doug Evans <xdje42@gmail.com>
13916
13917 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
13918
13919 2014-06-06 Pedro Alves <palves@redhat.com>
13920
13921 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
13922 in target debug output instead of looking at RSP packets,
13923 disabling the test on any target that uses hardware stepping.
13924 Update comments.
13925
13926 2014-06-06 Pedro Alves <palves@redhat.com>
13927
13928 * gdb.base/break-unload-file.exp: Fix typo.
13929
13930 2014-06-06 Yao Qi <yao@codesourcery.com>
13931
13932 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
13933 from "jit_function" to "^jit_function".
13934
13935 2014-06-06 Yao Qi <yao@codesourcery.com>
13936
13937 * gdb.base/async.c (foo): Add one statement.
13938 * gdb.base/async.exp: Get the next instruction address and
13939 match the output of "nexti" by instruction address. Match
13940 the hex address in the output of "finish".
13941
13942 2014-06-06 Gary Benson <gbenson@redhat.com>
13943
13944 * gdb.base/call-signals.c: Remove preprocessor conditionals
13945 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
13946 SIGSEGV and SIGTERM.
13947 * gdb.base/sigall.c: Likewise.
13948 * gdb.base/unwindonsignal.c: Likewise.
13949 * gdb.reverse/sigall-reverse.c: Likewise.
13950
13951 2014-06-06 Yao Qi <yao@codesourcery.com>
13952
13953 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
13954 readable, skip the test.
13955
13956 2014-06-06 Yao Qi <yao@codesourcery.com>
13957
13958 * gdb.threads/staticthreads.c (thread_function): Move the line
13959 setting breakpoint on forward.
13960 * gdb.threads/staticthreads.exp: Update comments.
13961
13962 2014-06-05 Ludovic Courtès <ludo@gnu.org>
13963
13964 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
13965 "history-append! type error".
13966
13967 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
13968
13969 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
13970 erroneous dprintf expected input.
13971
13972 2014-06-04 Doug Evans <xdje42@gmail.com>
13973
13974 * gdb.guile/scm-generics.exp: Delete.
13975
13976 2014-06-04 Doug Evans <xdje42@gmail.com>
13977
13978 * gdb.guile/scm-breakpoint.exp: Update.
13979 Add tests for breakpoint registration.
13980
13981 2014-06-04 Tom Tromey <tromey@redhat.com>
13982
13983 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
13984 VLA-in-union.
13985 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
13986 inner_vla_struct, vla_union types. Initialize objects of those
13987 types and compute their sizes.
13988
13989 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
13990 Hui Zhu <hui@codesourcery.com>
13991
13992 * gdb.base/fileio.exp: Add test for shell not available as well as
13993 available.
13994 * gdb.base/fileio.c (test_system): Check for shell twice.
13995
13996 2014-06-04 Yao Qi <yao@codesourcery.com>
13997
13998 * gdb.base/auto-connect-native-target.exp: Remove redundant
13999 space from the regexp pattern.
14000
14001 2014-06-04 Yao Qi <yao@codesourcery.com>
14002
14003 * gdb.base/default.exp: Replace "child" with "native" in
14004 regexp pattern.
14005
14006 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
14007
14008 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
14009 * gdb.python/py-xmethods.exp: New tests to test xmethods.
14010 * gdb.python/py-xmethods.py: Python script supporting the
14011 new testcase and tests.
14012
14013 2014-06-03 Joel Brobecker <brobecker@adacore.com>
14014 Pedro Alves <palves@redhat.com>
14015
14016 PR breakpoints/17000
14017 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
14018 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
14019
14020 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
14021
14022 * gdb.base/subst.exp: Add tests to verify partial path matching
14023 output.
14024
14025 2014-06-03 Pedro Alves <palves@redhat.com>
14026
14027 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
14028 target that doesn't use software single-stepping.
14029
14030 2014-06-03 Pedro Alves <palves@redhat.com>
14031
14032 PR breakpoints/17000
14033 * gdb.base/sss-bp-on-user-bp-2.c: New file.
14034 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
14035
14036 2014-06-02 Doug Evans <xdje42@gmail.com>
14037
14038 * gdb.guile/scm-parameter.exp: New file.
14039
14040 2014-06-02 Doug Evans <xdje42@gmail.com>
14041
14042 * gdb.guile/scm-cmd.c: New file.
14043 * gdb.guile/scm-cmd.exp: New file.
14044
14045 2014-06-02 Doug Evans <xdje42@gmail.com>
14046
14047 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
14048 pretty-printer lookup.
14049 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
14050 (make-pp_s-printer): Call it.
14051 (make-pretty-printer-from-dict): New function.
14052 (lookup-pretty-printer-maker-from-dict): New function.
14053 (*pretty-printer*): Simplify.
14054 (make-objfile-pp_s-printer): New function.
14055 (install-objfile-pretty-printers!): New function.
14056 (make-progspace-pp_s-printer): New function.
14057 (install-progspace-pretty-printers!): New function.
14058 * gdb.guile/scm-progspace.c: New file.
14059 * gdb.guile/scm-progspace.exp: New file.
14060
14061 2014-06-02 Pedro Alves <palves@redhat.com>
14062
14063 * gdb.base/dprintf-bp-same-addr.c: New file.
14064 * gdb.base/dprintf-bp-same-addr.exp: New file.
14065
14066 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
14067
14068 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
14069 * gdb.arch/powerpc-power.s: Likewise.
14070
14071 2014-06-02 Joel Brobecker <brobecker@adacore.com>
14072
14073 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
14074
14075 2014-06-01 Yao Qi <yao@codesourcery.com>
14076
14077 * gdb.base/watchpoint.exp (test_watch_location): Check null
14078 pointer can be dereferenced. If not, do the test, otherwise
14079 skip it.
14080
14081 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
14082
14083 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
14084 results.
14085 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
14086
14087 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
14088
14089 * gdb.arch/amd64-invalid-stack-middle.S: New file.
14090 * gdb.arch/amd64-invalid-stack-middle.c: New file.
14091 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
14092 * gdb.arch/amd64-invalid-stack-top.c: New file.
14093 * gdb.arch/amd64-invalid-stack-top.exp: New file.
14094
14095 2014-05-30 Pedro Alves <palves@redhat.com>
14096
14097 PR breakpoints/17000
14098 * gdb.base/sss-bp-on-user-bp.c: New file.
14099 * gdb.base/sss-bp-on-user-bp.exp: New file.
14100
14101 2014-05-30 David Blaikie <dblaikie@gmail.com>
14102
14103 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
14104 gnu_inline semantics via attribute.
14105 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
14106 source explicitly specifies the required semantics.
14107
14108 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
14109
14110 * gdb.reverse/sigall-reverse.exp: Fix a typo.
14111
14112 2014-05-29 Pedro Alves <palves@redhat.com>
14113 Tom Tromey <tromey@redhat.com>
14114
14115 * gdb.base/async-shell.exp: Don't enable target-async.
14116 * gdb.base/async.exp
14117 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
14118 parameter. Adjust.
14119 (top level): Don't test with "target-async".
14120 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
14121 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
14122 * gdb.base/inferior-died.exp: Don't enable target-async.
14123 * gdb.base/interrupt-noterm.exp: Likewise.
14124 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
14125 * gdb.mi/mi-nonstop-exit.exp: Likewise.
14126 * gdb.mi/mi-nonstop.exp: Likewise.
14127 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
14128 * gdb.mi/mi-nsintrall.exp: Likewise.
14129 * gdb.mi/mi-nsmoribund.exp: Likewise.
14130 * gdb.mi/mi-nsthrexec.exp: Likewise.
14131 * gdb.mi/mi-watch-nonstop.exp: Likewise.
14132 * gdb.multi/watchpoint-multi.exp: Adjust comment.
14133 * gdb.python/py-evsignal.exp: Don't enable target-async.
14134 * gdb.python/py-evthreads.exp: Likewise.
14135 * gdb.python/py-prompt.exp: Likewise.
14136 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
14137 * gdb.server/solib-list.exp: Don't enable target-async.
14138 * gdb.threads/thread-specific-bp.exp: Likewise.
14139 * lib/mi-support.exp: Adjust to use mi-async.
14140
14141 2014-05-29 Pedro Alves <palves@redhat.com>
14142
14143 PR gdb/13860
14144 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
14145 reason, even in sync mode.
14146
14147 2014-05-29 Pedro Alves <palves@redhat.com>
14148 Hui Zhu <hui@codesourcery.com>
14149
14150 PR PR15693
14151 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
14152 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
14153 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
14154 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
14155
14156 2014-05-28 Joel Brobecker <brobecker@adacore.com>
14157
14158 * config/monitor.exp (gdb_target_monitor): Replace use of
14159 "set remotebaud" by "set serial baud".
14160
14161 2014-05-26 Andy Wingo <wingo@igalia.com>
14162
14163 * gdb.guile/scm-breakpoint.exp:
14164 * gdb.guile/scm-gsmob.exp: Update to use plain old object
14165 properties instead of gdb-object-properties.
14166
14167 2014-05-26 Yao Qi <yao@codesourcery.com>
14168
14169 * gdb.server/no-thread-db.exp: Specify source file name
14170 explicitly when setting a breakpoint.
14171
14172 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
14173
14174 * gdb.btrace/vdso.c: New.
14175 * gdb.btrace/vdso.exp: New.
14176
14177 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
14178
14179 * gdb.base/gcore.exp (capture_command_output): Move ...
14180 * lib/gdb.exp (capture_command_output): ... here.
14181
14182 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
14183
14184 * gdb.btrace/data.exp: Test memory access during btrace replay.
14185
14186 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
14187
14188 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
14189
14190 2014-05-21 Pedro Alves <palves@redhat.com>
14191
14192 PR gdb/13860
14193 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
14194 (top level): Test that output related to execution commands is
14195 sent to the console with CLI commands, but not with MI commands.
14196 Test that breakpoint events are always mirrored to the console.
14197 Also expect the new source line to be output after a "next" in
14198 async mode too. Make it a pass/fail test.
14199 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
14200 output.
14201 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
14202
14203 2014-05-21 Pedro Alves <palves@redhat.com>
14204
14205 * gdb.base/list.exp (build_pattern, test_list): New procedures.
14206 Use them to test variations of "list" after reaching a breakpoint.
14207 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
14208 Test "list" with listsize 10 after reaching a breakpoint.
14209 * gdb.python/python.exp (decode_line current location line
14210 number): Adjust expected line number.
14211
14212 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
14213
14214 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
14215 behavior for $args, pass it directly to "run".
14216
14217 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
14218
14219 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
14220 30000 to 65536.
14221
14222 2014-05-21 Pedro Alves <palves@redhat.com>
14223
14224 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
14225 auto-connect-native-target off".
14226 * gdb.base/auto-connect-native-target.c: New file.
14227 * gdb.base/auto-connect-native-target.exp: New file.
14228
14229 2014-05-21 Pedro Alves <palves@redhat.com>
14230
14231 * gdb.base/default.exp: Test "target native" instead of "target
14232 child".
14233
14234 2014-05-21 Mark Wielaard <mjw@redhat.com>
14235
14236 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
14237
14238 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14239
14240 Fix TLS access for -static -pthread.
14241 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
14242 <HAVE_TLS> (thread_function, main): Initialize it.
14243 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
14244 Add clean_restart.
14245 <$have_tls != "">: Check TLSVAR.
14246
14247 2014-05-21 Pedro Alves <palves@redhat.com>
14248
14249 * gdb.base/dcache-line-read-error.c: New.
14250 * gdb.base/dcache-line-read-error.exp: New.
14251
14252 2014-05-20 Pedro Alves <palves@redhat.com>
14253
14254 * gdb.base/compare-sections.c: New file.
14255 * gdb.base/compare-sections.exp: New file.
14256
14257 2014-05-20 Pedro Alves <palves@redhat.com>
14258
14259 * gdb.base/break-idempotent.c: New file.
14260 * gdb.base/break-idempotent.exp: New file.
14261
14262 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
14263
14264 * gdb.btrace/nohist.exp: New.
14265
14266 2014-05-20 Yao Qi <yao@codesourcery.com>
14267
14268 * lib/gdb.exp (gdb_init): Set timeout if test file is under
14269 gdb.reverse directory and gdb_reverse_timeout exists in board
14270 setting.
14271 * README: Document gdb_reverse_timeout.
14272
14273 2014-05-20 Yao Qi <yao@codesourcery.com>
14274
14275 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
14276 'test_file_name'. Treat args as a string instead of a list.
14277 (gdb_init): Rename argument 'args' by 'test_file_name'.
14278
14279 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
14280
14281 * gdb.arch/powerpc-power.exp: New file.
14282 * gdb.arch/powerpc-power.s: New file.
14283
14284 2014-05-16 Doug Evans <dje@google.com>
14285
14286 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
14287 * gdb.base/completion.exp: Check that all expected files exist
14288 before doing file completion.
14289
14290 2014-05-16 Doug Evans <dje@google.com>
14291
14292 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
14293 Update.
14294 (do_syscall_tests_without_xml): Update.
14295
14296 2014-05-16 Pedro Alves <palves@redhat.com>
14297
14298 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
14299 instead of "unknown output after running".
14300
14301 2014-05-16 Yao Qi <yao@codesourcery.com>
14302
14303 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
14304 file1.txt from host at the end.
14305 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
14306
14307 2014-05-15 Doug Evans <dje@google.com>
14308
14309 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
14310 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
14311 loading file. Add test for TU lookup.
14312
14313 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
14314
14315 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
14316 calling "-exec-arguments" or "set args" before running the
14317 inferior.
14318
14319 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
14320
14321 * lib/mi-support.exp (mi_expect_stop): Expect message for
14322 inferiors that exit with non-zero exit code.
14323
14324 2014-05-14 Yao Qi <yao@codesourcery.com>
14325
14326 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
14327 match absolute path on remote host.
14328 (test_file_list_exec_source_files): Remove "/" from the
14329 pattern.
14330
14331 2014-05-14 Yao Qi <yao@codesourcery.com>
14332
14333 * boards/local-remote-host-notty.exp (${board}_file): New
14334 proc.
14335
14336 2014-05-07 Kyle McMartin <kyle@redhat.com>
14337
14338 Pushed by Joel Brobecker <brobecker@adacore.com>.
14339 * gdb.arch/aarch64-atomic-inst.c: New file.
14340 * gdb.arch/aarch64-atomic-inst.exp: New file.
14341
14342 2014-05-07 Yao Qi <yao@codesourcery.com>
14343
14344 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
14345 in current context" too.
14346
14347 2014-05-05 Keith Seitz <keiths@redhat.com>
14348
14349 * gdb.linespec/ls-dollar.exp: Add test for linespec
14350 file:convenience_variable.
14351
14352 2014-05-05 Yao Qi <yao@codesourcery.com>
14353
14354 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
14355 traceframes into tfile and ctf trace files. Read data from
14356 trace file and test collected data.
14357 (gdb_collect_locals_test): Likewise.
14358 (gdb_unavailable_registers_test): Likewise.
14359 (gdb_unavailable_floats): Likewise.
14360 (gdb_collect_globals_test): Likewise.
14361 (top-level): Append "ctf" to trace_file_targets if GDB
14362 supports.
14363
14364 2014-05-05 Yao Qi <yao@codesourcery.com>
14365
14366 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
14367 code to ...
14368 (gdb_collect_args_test_1): ... it. New proc.
14369 (gdb_collect_locals_test): Move some code to ...
14370 (gdb_collect_locals_test_1): ... it. New proc.
14371 (gdb_unavailable_registers_test): Move some code to ...
14372 (gdb_unavailable_registers_test_1): ... it. New proc.
14373 (gdb_unavailable_floats): Move some code to ...
14374 (gdb_unavailable_floats_1): ... it. New proc.
14375
14376 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
14377
14378 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
14379 probes to test for bitness recognition.
14380 * gdb.arch/amd64-stap-optional-prefix.exp
14381 (test_probe_value_without_reg): New procedure.
14382 Add code to test for different kinds of bitness.
14383
14384 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
14385
14386 PR breakpoints/16889
14387 * gdb.arch/amd64-stap-optional-prefix.S: New file.
14388 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
14389
14390 2014-05-01 Pedro Alves <palves@redhat.com>
14391
14392 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
14393 gdb_file_cmd if no file is specified.
14394 * boards/native-extended-gdbserver.exp (gdb_load): Use the
14395 last_loaded_file to set the remote exec-file.
14396
14397 2014-05-01 Pedro Alves <palves@redhat.com>
14398
14399 * boards/local-remote-host.exp: New file.
14400
14401 2014-05-01 Pedro Alves <palves@redhat.com>
14402
14403 * boards/local-remote-host.exp: Rename to ...
14404 * boards/local-remote-host-notty.exp: ... this.
14405
14406 2014-04-28 Joel Brobecker <brobecker@adacore.com>
14407
14408 * gdb.ada/dyn_arrayidx: New testcase.
14409
14410 2014-04-26 Yao Qi <yao@codesourcery.com>
14411
14412 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
14413 and compute the length of function main. Save it in
14414 $main_length.
14415 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
14416 (top-level): Use gdb_compile to compile objects into
14417 executable and restart GDB. Remove invocation to
14418 prepare_for_testing.
14419
14420 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
14421 Pedro Alves <palves@redhat.com>
14422
14423 PR server/16255
14424 * gdb.multi/multi-attach.c: New file.
14425 * gdb.multi/multi-attach.exp: New file.
14426
14427 2014-04-25 Pedro Alves <palves@redhat.com>
14428
14429 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
14430 user.
14431 (top level): Test that "set remote conditional-breakpoints-packet
14432 off" works as intended.
14433 * gdb.base/dprintf.exp: Test that "set remote
14434 breakpoint-commands-packet off" works as intended.
14435 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
14436 New function.
14437 (top level): Call it.
14438 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
14439 remote fast-tracepoints-packet off" works as intended.
14440 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
14441 * lib/gdb.exp (gdb_is_target_remote): ... here.
14442
14443 2014-04-24 David Blaikie <dblaikie@gmail.com>
14444
14445 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
14446 ensure clang would not discard them.
14447 * gdb.base/gdbvars.c: Ditto.
14448 * gdb.base/memattr.c: Ditto.
14449 * gdb.base/whatis.c: Ditto.
14450 * gdb.python/py-prettyprint.c: Ditto.
14451 * gdb.trace/actions.c: Ditto.
14452 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
14453 ensure clang would not discard it.
14454
14455 2014-04-24 David Blaikie <dblaikie@gmail.com>
14456
14457 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
14458 clang to emit the full definition of type required by the test
14459 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
14460
14461 2014-04-24 David Blaikie <dblaikie@gmail.com>
14462
14463 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
14464 coax Clang into emitting the definition of the type.
14465 * gdb.cp/pr10728-x.h (y): Ditto.
14466 * gdb.cp/pr10728-y.cc (y): Ditto.
14467
14468 2014-04-24 David Blaikie <dblaikie@gmail.com>
14469
14470 * gdb.base/label.exp: XFAIL label related tests under Clang.
14471 * gdb.cp/cplabel.exp: Ditto.
14472 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
14473 under Clang those using labels.
14474
14475 2014-04-25 Yao Qi <yao@codesourcery.com>
14476
14477 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
14478 double_label.
14479 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
14480 partial_label and double_label.
14481
14482 2014-04-24 David Blaikie <dblaikie@gmail.com>
14483
14484 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
14485
14486 2014-04-24 David Blaikie <dblaikie@gmail.com>
14487
14488 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
14489 of the function to work across GCC and Clang.
14490 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
14491 pointer types (const void ** const V void **).
14492
14493 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
14494 Walfred Tedeschi <walfred.tedeschi@intel.com>
14495
14496 * Makefile.in (EXECUTABLES): Added i386-avx512.
14497 * gdb.arch/i386-avx512.c: New file.
14498 * gdb.arch/i386-avx512.exp: Likewise.
14499
14500 2014-04-23 Keith Seitz <keiths@redhat.com>
14501
14502 * lib/mi-support.exp (mi_list_breakpoints): Delete.
14503 (mi_make_breakpoint_table): New procedure.
14504 (mi_create_breakpoint): Use mi_make_breakpoint
14505 and return the result.
14506 (mi_make_breakpoint): New procedure.
14507 (mi_build_kv_pairs): New procedure.
14508
14509 * gdb.mi/mi-break.exp: Remove unused globals,
14510 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
14511 All callers updated.
14512 * gdb.mi/mi-dprintf.exp: Use variable to track command
14513 number.
14514 Update all callers of mi_create_breakpoint and use
14515 mi_make_breakpoint_table.
14516 Remove any unused global variables.
14517 * gdb.mi/mi-nonstop.exp: Likewise.
14518 * gdb.mi/mi-nsintrall.exp: Likewise.
14519 * gdb.mi/mi-nsmoribund.exp: Likewise.
14520 * gdb.mi/mi-nsthrexec.exp: Likewise.
14521 * gdb.mi/mi-reverse.exp: Likewise.
14522 * gdb.mi/mi-simplerun.exp: Likewise.
14523 * gdb.mi/mi-stepn.exp: Likewise.
14524 * gdb.mi/mi-syn-frame.exp: Likewise.
14525 * gdb.mi/mi-until.exp: Likewise.
14526 * gdb.mi/mi-var-cp.exp: Likewise.
14527 * gdb.mi/mi-var-display.exp: Likewise.
14528 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
14529 * gdb.mi/mi2-var-child.exp: Likewise.
14530 * gdb.mi/mi-vla-c99.exp: Likewise.
14531 * lib/mi-support.exp: Likewise.
14532
14533 From Ian Lance Taylor <iant@cygnus.com>:
14534 * lib/gdb.exp (parse_args): New procedure.
14535
14536 2014-04-23 Pedro Alves <palves@redhat.com>
14537
14538 * gdb.base/break-unload-file.c: New file.
14539 * gdb.base/break-unload-file.exp: New file.
14540 * gdb.base/sym-file-lib.c (baz): New function.
14541 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
14542 field.
14543 (load): Store the segment's mapped size.
14544 (unload): New function.
14545 (unload_shlib): New function.
14546 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
14547 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
14548 set a breakpoint at baz, and call it.
14549 * gdb.base/sym-file.exp: New tests for stale breakpoint
14550 instructions.
14551
14552 2014-04-23 Pedro Alves <palves@redhat.com>
14553
14554 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
14555 * gdb.base/hbreak-in-shr-unsupported.c: New file.
14556 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
14557 * gdb.base/hbreak-unmapped.c: New file.
14558 * gdb.base/hbreak-unmapped.exp: New file.
14559 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
14560 * lib/gdb.exp (gdb_is_target_remote): ... here.
14561
14562 2014-04-22 Pedro Alves <palves@redhat.com>
14563
14564 * gdb.base/consecutive-step-over.c: New file.
14565 * gdb.base/consecutive-step-over.exp: New file.
14566
14567 2014-04-22 Pedro Alves <palves@redhat.com>
14568
14569 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
14570 instead of send_gdb/gdb_expect.
14571
14572 2014-04-22 Yao Qi <yao@codesourcery.com>
14573
14574 * lib/trace-support.exp (generate_tracefile): New procedure.
14575 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
14576 return 0.
14577 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
14578 if generate_tracefile returns 1.
14579
14580 2014-04-18 Tom Tromey <palves@redhat.com>
14581 Pedro alves <tromey@redhat.com>
14582
14583 PR backtrace/15558
14584 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
14585 with a backtrace limit.
14586 * gdb.python/py-frame-inline.exp: Test running to an inline
14587 function with a backtrace limit, and printing the newest frame.
14588 * gdb.python/py-frame-inline.c (main): Call f.
14589
14590 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
14591
14592 * gdb.java/jnpe.exp: Drop srcdir from untested path.
14593
14594 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
14595
14596 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
14597 Drop prefix from unsupported source file path.
14598
14599 2014-04-17 Yao Qi <yao@codesourcery.com>
14600
14601 * lib/gdb.exp (with_target_charset): New proc.
14602 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
14603 with_target_charset.
14604 (test_print_strings): Likewise.
14605 (test_repeat_bytes): Likewise.
14606 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
14607 for some tests.
14608
14609 2014-04-16 Keith Seitz <keiths@redhat.com>
14610
14611 PR gdb/15827
14612 * gdb.dwarf2/corrupt.c: New file.
14613 * gdb.dwarf2/corrupt.exp: New file.
14614
14615 2014-04-16 Keith Seitz <keiths@redhat.com>
14616
14617 PR c++/16597
14618 * gdb.cp/namelessclass.cc: New file.
14619 * gdb.cp/namelessclass.exp: New file.
14620 * gdb.cp/namelessclass.S: New file.
14621
14622 2014-04-16 Doug Evans <dje@google.com>
14623
14624 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
14625 Add comment.
14626 (gdbserver_default_get_comm_port): New function.
14627 (gdbserver_start): Check if board file provided
14628 "gdbserver,get_comm_port" and use it if so.
14629 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
14630 (gdb,socketport): Set to "stdio".
14631 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
14632 (stdio_gdbserver_template): Delete.
14633 (${board}_get_remote_address): Update.
14634 (${board}_build_remote_cmd): Delete.
14635 (${board}_get_comm_port): New function.
14636 (${board}_spawn): Update.
14637 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
14638 Delete.
14639 (${board}_get_remote_address): Update.
14640 (${board}_get_comm_port): New function.
14641
14642 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
14643
14644 * gdb.base/memattr.exp: Improve regexps to handle memory regions
14645 appearing in any order.
14646
14647 2014-04-15 Doug Evans <dje@google.com>
14648
14649 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
14650 uninitialized value of "description".
14651
14652 2014-04-15 Keith Seitz <keiths@redhat.com>
14653
14654 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
14655 Remove unused globals.
14656 (test_running_the_program): Likewise.
14657 (test_controlled_execution): Likewise.
14658 (test_controlling_breakpoints): Likewise.
14659 (test_program_termination): Likewise.
14660
14661 2014-04-15 Keith Seitz <keiths@redhat.com>
14662
14663 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
14664 unused globals.
14665 (test_rbreak_creation_and_listing): Likewise.
14666 (test_ignore_count): Likewise.
14667 (test_error): Likewise.
14668
14669 2014-04-15 Pedro Alves <palves@redhat.com>
14670
14671 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
14672 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
14673 sym-file-loader.c.
14674 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
14675 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
14676 to sym-file-loader.c.
14677 (struct library): Forward declare.
14678 (load_shlib, lookup_function): Change prototypes.
14679 (find_shstrtab, find_strtab, find_shdr, find_symtab)
14680 (translate_offset): Remove declarations.
14681 (get_text_addr): New declaration.
14682 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
14683 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
14684 sym-file-loader.h.
14685 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
14686 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
14687 here from sym-file-loader.h.
14688 (struct library): New structure.
14689 (load_shlib, lookup_function): Change prototypes and adjust to
14690 work with a struct library.
14691 (find_shstrtab, find_strtab, find_shdr, find_symtab)
14692 (translate_offset): Make static.
14693 (get_text_addr): New function.
14694 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
14695
14696 2014-04-15 Pedro Alves <palves@redhat.com>
14697
14698 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
14699
14700 2014-04-15 Pedro Alves <palves@redhat.com>
14701
14702 * gdb.base/sym-file-loader.c: Include <limits.h>.
14703 (SELF_LINK): New define.
14704 (get_origin): New function.
14705 (load_shlib): Use it.
14706 * gdb.base/sym-file.exp: Don't early return if the target is
14707 remote. Use runto_main, and issue fail is that fails. Use
14708 gdb_load_shlibs.
14709 (shlib_name): Delete.
14710 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
14711
14712 2014-04-15 Pedro Alves <palves@redhat.com>
14713
14714 * gdb.base/sym-file.exp: Remove regex characters from test
14715 message. Don't refer to breakpoint numbers in test messages.
14716
14717 2014-04-14 Keith Seitz <keiths@redhat.com>
14718
14719 PR c++/16253
14720 * gdb.cp/var-tag.cc: New file.
14721 * gdb.cp/var-tag.exp: New file.
14722 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
14723 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
14724 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
14725 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
14726
14727 2014-04-14 Tom Tromey <tromey@redhat.com>
14728
14729 * gdb.cp/classes.exp (test_enums): Handle underlying type.
14730 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
14731 type.
14732 * gdb.cp/enum-class.exp: New file.
14733 * gdb.cp/enum-class.cc: New file.
14734
14735 2014-04-14 Tom Tromey <tromey@redhat.com>
14736
14737 * gdb.dwarf2/enum-type.exp: New file.
14738
14739 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
14740
14741 * gdb.mi/mi-vla-c99.exp: New file.
14742 * gdb.mi/vla.c: New file.
14743
14744 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
14745
14746 * gdb.base/vla-datatypes.c: New file.
14747 * gdb.base/vla-datatypes.exp: New file.
14748
14749 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
14750
14751 * gdb.base/vla-ptr.c: New file.
14752 * gdb.base/vla-ptr.exp: New file.
14753
14754 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
14755
14756 * gdb.dwarf2/count.exp: New file.
14757
14758 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
14759
14760 * gdb.base/vla-sideeffect.c: New file.
14761 * gdb.base/vla-sideeffect.exp: New file.
14762
14763 2014-04-14 David Blaikie <dblaikie@gmail.com>
14764
14765 * gdb.mi/non-stop.c: Add return value for non-void function return
14766 statement.
14767 * gdb.threads/staticthreads.c: Ditto.
14768
14769 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
14770 Doug Evans <xdje42@gmail.com>
14771
14772 * gdb.guile/scm-value.c: Improve test case.
14773 * gdb.guile/scm-value.exp: Add new test.
14774
14775 2014-04-11 David Blaikie <dblaikie@gmail.com>
14776
14777 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
14778 override Clang's default.
14779
14780 2014-04-11 Joel Brobecker <brobecker@adacore.com>
14781
14782 Revert the following changes (regressions):
14783
14784 * gdb.base/vla-sideeffect.c: New file.
14785 * gdb.base/vla-sideeffect.exp: New file.
14786
14787 * gdb.dwarf2/count.exp: New file.
14788
14789 * gdb.base/vla-multi.c: New file.
14790 * gdb.base/vla-multi.exp: New file.
14791
14792 * gdb.base/vla-ptr.c: New file.
14793 * gdb.base/vla-ptr.exp: New file.
14794
14795 * gdb.base/vla-datatypes.c: New file.
14796 * gdb.base/vla-datatypes.exp: New file.
14797
14798 * gdb.mi/mi-vla-c99.exp: New file.
14799 * gdb.mi/vla.c: New file.
14800
14801 2014-04-11 Keith Seitz <keiths@redhat.com>
14802
14803 PR c++/16675
14804 * gdb.cp/cpsizeof.exp: New file.
14805 * gdb.cp/cpsizeof.cc: New file.
14806
14807 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
14808
14809 * gdb.mi/mi-vla-c99.exp: New file.
14810 * gdb.mi/vla.c: New file.
14811
14812 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
14813
14814 * gdb.base/vla-datatypes.c: New file.
14815 * gdb.base/vla-datatypes.exp: New file.
14816
14817 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
14818
14819 * gdb.base/vla-ptr.c: New file.
14820 * gdb.base/vla-ptr.exp: New file.
14821
14822 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
14823
14824 * gdb.base/vla-multi.c: New file.
14825 * gdb.base/vla-multi.exp: New file.
14826
14827 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
14828
14829 * gdb.dwarf2/count.exp: New file.
14830
14831 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
14832
14833 * gdb.base/vla-sideeffect.c: New file.
14834 * gdb.base/vla-sideeffect.exp: New file.
14835
14836 2014-04-11 Yao Qi <yao@codesourcery.com>
14837
14838 * gdb.base/completion.exp: Check file exists before running tests
14839 on file completion.
14840
14841 2014-04-10 Pedro Alves <palves@redhat.com>
14842
14843 * gdb.base/cond-eval-mode.c: New file.
14844 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
14845 prepare_for_testing to build the new file. Check result of
14846 runto_main.
14847 (test_break, test_watch): New procedures.
14848 (top level): Use them.
14849
14850 2014-04-08 Pierre Muller <muller@sourceware.org>
14851
14852 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
14853 Ctrl-V use for mingw hosts.
14854
14855 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
14856
14857 * gdb.python/py-value.c: Improve test case.
14858 * gdb.python/py-value.exp: Add new test.
14859
14860 2014-04-07 David Blaikie <dblaikie@gmail.com>
14861
14862 * lib/compiler.c: Identify the clang compiler.
14863 * lib/compiler.cc: Ditto.
14864
14865 2014-04-03 Yao Qi <yao@codesourcery.com>
14866
14867 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
14868
14869 2014-04-01 Anton Blanchard <anton@samba.org>
14870
14871 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
14872 messages unique.
14873
14874 2014-04-01 Anton Blanchard <anton@samba.org>
14875
14876 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
14877 prepare_for_testing.
14878
14879 2014-04-01 Anton Blanchard <anton@samba.org>
14880
14881 * gdb.arch/ppc64-atomic-inst.c: Remove.
14882 * gdb.arch/ppc64-atomic-inst.S: New file.
14883 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
14884
14885 2014-03-31 Doug Evans <dje@google.com>
14886
14887 * gdb.base/print-symbol-loading-lib.c: New file.
14888 * gdb.base/print-symbol-loading-main.c: New file.
14889 * gdb.base/print-symbol-loading.exp: New file.
14890
14891 2014-03-31 Yao Qi <yao@codesourcery.com>
14892
14893 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
14894
14895 2014-03-28 Joel Brobecker <brobecker@adacore.com>
14896
14897 * gdb.ada/mi_dyn_arr: New testcase.
14898
14899 2014-03-27 Doug Evans <dje@google.com>
14900
14901 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
14902
14903 2014-03-27 Yao Qi <yao@codesourcery.com>
14904
14905 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
14906 if target is nios2-*-*.
14907
14908 2014-03-26 Yao Qi <yao@codesourcery.com>
14909
14910 * lib/gdb.exp (readline_is_used): New proc.
14911 * gdb.base/completion.exp: Move tests on command complete up.
14912 Skip the rest of tests if readline is not used.
14913 * gdb.ada/complete.exp: Skp the test if readline is not
14914 used.
14915 * gdb.base/filesym.exp: Likewise.
14916 * gdb.base/macscp.exp: Likewise.
14917 * gdb.base/readline-ask.exp: Likewise.
14918 * gdb.base/readline.exp: Likewise.
14919 * gdb.python/py-cmd.exp: Likewise.
14920 * gdb.trace/tfile.exp: Likewise.
14921
14922 2014-03-26 Yao Qi <yao@codesourcery.com>
14923
14924 * gdb.base/macscp.exp: Fix code format issues.
14925
14926 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
14927
14928 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
14929 * gdb.asm/powerpc64le.inc: New file.
14930
14931 2014-03-25 Pedro Alves <palves@redhat.com>
14932 Doug Evans <dje@google.com>
14933
14934 * gdb.base/source-execution.c: New file.
14935 * gdb.base/source-execution.exp: New file.
14936 * gdb.base/source-execution.gdb: New file.
14937
14938 2014-03-24 Doug Evans <dje@google.com>
14939
14940 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
14941 using fission.
14942
14943 2014-03-24 Hui Zhu <hui@codesourcery.com>
14944 Pedro Alves <palves@redhat.com>
14945
14946 PR breakpoints/16101
14947 * gdb.base/dprintf.exp: Use unsupported rather than changing the
14948 test pass/fail messages. Detect missing support for dprintf when
14949 breakpoints are actually inserted.
14950 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
14951 breakpoints are actually inserted.
14952 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
14953 fails.
14954
14955 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
14956
14957 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
14958
14959 2014-03-22 Doug Evans <xdje42@gmail.com>
14960
14961 * gdb.python/python.exp (python not supported): Verify multi-line
14962 python command issues an error.
14963 * gdb.guile/guile.exp (guile not supported): Verify multi-line
14964 guile command issues an error.
14965
14966 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
14967
14968 * gdb.threads/thread-specific.exp: Handle the lack of usable
14969 $this_breakpoint and $this_thread.
14970
14971 2014-03-21 Hui Zhu <hui@codesourcery.com>
14972
14973 * gdb.base/attach.exp (do_command_attach_tests): New.
14974
14975 2014-03-20 Tom Tromey <tromey@redhat.com>
14976 Pedro Alves <palves@redhat.com>
14977
14978 PR cli/15718
14979 * gdb.base/condbreak-call-false.c: New file.
14980 * gdb.base/condbreak-call-false.exp: New file.
14981
14982 2014-03-20 Pedro Alves <palves@redhat.com>
14983
14984 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
14985 Delete.
14986 (block_signals, unblock_signals): Delete.
14987 (child_function_2, main): Remove references to deleted variable
14988 and functions.
14989
14990 2014-03-20 Pedro Alves <palves@redhat.com>
14991
14992 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
14993 Use pthread_kill to signal thread 2.
14994 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
14995 Adjust to make the test send itself a signal rather than using the
14996 host's "kill" command.
14997
14998 2014-03-20 Pedro Alves <palves@redhat.com>
14999
15000 * gdb.threads/multiple-step-overs.c: New file.
15001 * gdb.threads/multiple-step-overs.exp: New file.
15002 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
15003 Adjust expected infrun debug output.
15004
15005 2014-03-20 Pedro Alves <palves@redhat.com>
15006
15007 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
15008 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
15009
15010 2014-03-20 Pedro Alves <palves@redhat.com>
15011
15012 PR breakpoints/7143
15013 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
15014 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
15015 of gdb_test_multiple.
15016 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
15017 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
15018
15019 2014-03-20 Pedro Alves <palves@redhat.com>
15020
15021 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
15022 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
15023
15024 2014-03-19 Pedro Alves <palves@redhat.com>
15025
15026 * gdb.base/async.exp: Remove early return.
15027
15028 2014-03-19 Pedro Alves <palves@redhat.com>
15029
15030 * gdb.base/async.exp (step& tests): Pass explicit test messages.
15031
15032 2014-03-19 Pedro Alves <palves@redhat.com>
15033
15034 * gdb.base/async.exp (test_background): Expect \r\n after
15035 "completed." in the fail pattern.
15036
15037 2014-03-19 Pedro Alves <palves@redhat.com>
15038
15039 * gdb.base/async.exp (test_background): New procedure.
15040 Use it for all background execution command tests.
15041
15042 2014-03-19 Pedro Alves <palves@redhat.com>
15043
15044 * gdb.base/async.exp: Use prepare_for_testing.
15045
15046 2014-03-19 Pedro Alves <palves@redhat.com>
15047
15048 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
15049 the same line.
15050
15051 2014-03-19 Pedro Alves <palves@redhat.com>
15052
15053 * gdb.base/async.c (main): Add "jump here" and "until here" line
15054 marker comments.
15055 * gdb.base/async.exp (jump_here): New global.
15056 (jump& test): Use it.
15057 (until_here): New global.
15058 (until& test): Use it.
15059
15060 2014-03-19 Pedro Alves <palves@redhat.com>
15061
15062 * gdb.base/async.exp: Don't frob gdb_protocol.
15063
15064 2014-03-18 Doug Evans <xdje42@gmail.com>
15065
15066 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
15067 Fix spelling of exec-done-display.
15068
15069 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
15070
15071 PR gdb/15358
15072 * gdb.base/gdb-sigterm.c: New file.
15073 * gdb.base/gdb-sigterm.exp: New file.
15074
15075 2014-03-18 Pedro Alves <palves@redhat.com>
15076
15077 PR gdb/13860
15078 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
15079 * lib/mi-support.exp (mi_expect_stop): Add special handling for
15080 solib-event.
15081
15082 2014-03-17 Joel Brobecker <brobecker@adacore.com>
15083
15084 * gdb.ada/pckd_arr_ren: New testcase.
15085
15086 2014-03-13 Doug Evans <xdje42@gmail.com>
15087
15088 PR guile/16612
15089 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
15090 collect after discarding symbols.
15091
15092 2014-03-13 Ludovic Courtès <ludo@gnu.org>
15093 Doug Evans <xdje42@gmail.com>
15094
15095 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
15096 to history survives a gc.
15097
15098 2014-03-13 Pedro Alves <palves@redhat.com>
15099
15100 * gdb.base/default.exp: Don't test "target procfs".
15101
15102 2014-03-13 Pedro Alves <palves@redhat.com>
15103
15104 * gdb.base/default.exp: Update "target child" and "target procfs"
15105 tests to not expect "Unix".
15106
15107 2014-03-12 Tom Tromey <tromey@redhat.com>
15108
15109 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
15110 New procs. Add target-async tests.
15111 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
15112 Add target-async tests.
15113
15114 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
15115
15116 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
15117 'func_start' and 'func_end' for the beginning and end of the
15118 function code, respectively.
15119 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
15120 'func_end' instead of 'func' and 'main'.
15121
15122 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
15123
15124 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
15125 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
15126 generate the debug info assembler source.
15127
15128 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
15129
15130 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
15131 * gdb.dwarf2/arr-subrange.exp: Likewise.
15132 * gdb.dwarf2/dwz.exp: Likewise.
15133 * gdb.dwarf2/method-ptr.exp: Likewise.
15134 * gdb.dwarf2/missing-sig-type.exp: Likewise.
15135 * gdb.dwarf2/subrange.exp: Likewise.
15136 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
15137 * gdb.dwarf2/implptrpiece.exp: Likewise.
15138 * gdb.dwarf2/nostaticblock.exp: Likewise.
15139
15140 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
15141
15142 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
15143 directory to absolute path name arguments.
15144
15145 2014-03-10 Joel Brobecker <brobecker@adacore.com>
15146
15147 * gdb.ada/tagged_access: New testcase.
15148
15149 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
15150
15151 * gdb.btrace/data.exp: Update expected output.
15152
15153 2014-03-06 Yao Qi <yao@codesourcery.com>
15154
15155 * gdb.trace/pr16508.exp: New file.
15156
15157 2014-03-05 Pedro Alves <palves@redhat.com>
15158
15159 PR gdb/16575
15160 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
15161 procedure.
15162 (top level): Adjust to use it. Add tests that exercise breakpoint
15163 interaction with the code-cache.
15164
15165 2014-02-26 Ludovic Courtès <ludo@gnu.org>
15166
15167 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
15168 test for 'history-append!'.
15169
15170 2014-02-26 Joel Brobecker <brobecker@adacore.com>
15171
15172 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
15173 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
15174 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
15175 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
15176 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
15177 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
15178
15179 2014-02-26 Joel Brobecker <brobecker@adacore.com>
15180
15181 * testsuite/gdb.python/py-pp-re-notag.c: New file.
15182 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
15183 * testsuite/gdb.python/py-pp-re-notag.p: New file.
15184
15185 2014-02-26 Joel Brobecker <brobecker@adacore.com>
15186
15187 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
15188
15189 2014-02-26 Joel Brobecker <brobecker@adacore.com>
15190
15191 * gdb.dwarf2/arr-stride.c: New file.
15192 * gdb.dwarf2/arr-stride.exp: New file.
15193
15194 2014-02-26 Pedro Alves <palves@redhat.com>
15195
15196 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
15197 that won't ever trigger. Make sure that GDB reports the correct
15198 breakpoint that caused the stop.
15199
15200 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
15201
15202 PR gdb/16626
15203 * gdb.base/auto-load-script: New file.
15204 * gdb.base/auto-load.c: New file.
15205 * gdb.base/auto-load.exp: New file.
15206
15207 PR gdb/16626
15208 * gdb.base/auto-load.exp: Fix out-of-srctree run.
15209
15210 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
15211
15212 Fix dw2-icycle.exp -fsanitize=address GDB crash.
15213 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
15214
15215 2014-02-24 Doug Evans <dje@google.com>
15216
15217 * lib/gdb.exp (run_on_host): Log error output if program fails.
15218
15219 2014-02-21 Pedro Alves <palves@redhat.com>
15220
15221 * gdb.threads/step-after-sr-lock.c: Rename to ...
15222 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
15223 * gdb.threads/step-after-sr-lock.exp: Rename to ...
15224 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
15225 ... this.
15226
15227 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
15228
15229 PR tdep/16397
15230 * gdb.arch/amd64-stap-special-operands.exp: New file.
15231 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
15232 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
15233 * gdb.arch/amd64-stap-triplet.S: Likewise.
15234 * gdb.arch/amd64-stap-triplet.c: Likewise.
15235
15236 2014-02-20 Joel Brobecker <brobecker@adacore.com>
15237
15238 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
15239 in .section pseudo-op.
15240
15241 2014-02-20 lin zuojian <manjian2006@gmail.com>
15242 Joel Brobecker <brobecker@adacore.com>
15243 Doug Evans <xdje42@gmail.com>
15244
15245 PR symtab/16581
15246 * gdb.dwarf2/dw2-icycle.S: New file.
15247 * gdb.dwarf2/dw2-icycle.c: New file.
15248 * gdb.dwarf2/dw2-icycle.exp: New file.
15249
15250 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
15251
15252 * gdb.python/py-value-cc.cc: Improve test case to enable testing
15253 operations on gdb.Value objects.
15254 * gdb.python/py-value-cc.exp: Add new test to test operations on
15255 gdb.Value objects.
15256
15257 2014-02-18 Doug Evans <dje@google.com>
15258
15259 * Makefile.in (TESTS): New variable.
15260 (expanded_tests, expanded_tests_or_none): New variables
15261 (check-single): Pass $(expanded_tests_or_none) to runtest.
15262 (check-parallel): Only run tests in $(TESTS) if non-empty.
15263 (check/no-matching-tests-found): New rule.
15264 * README: Document TESTS makefile variable.
15265
15266 2014-02-18 Doug Evans <dje@google.com>
15267
15268 * Makefile.in (check-parallel): rm -rf outputs temp.
15269
15270 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
15271
15272 Fix "ERROR: no fileid for" in the testsuite.
15273 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
15274
15275 2014-02-12 Doug Evans <dje@google.com>
15276
15277 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
15278 (MISCELLANEOUS): New variable.
15279 (clean): rm -rf $(MISCELLANEOUS).
15280 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
15281 dwp live in the same directory as symlinks, with each symlink pointed
15282 to a differently named file in a different directory.
15283
15284 2014-02-11 Doug Evans <dje@google.com>
15285
15286 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
15287 of Tcl file commands.
15288
15289 2014-02-10 Mark Kettenis <kettenis@gnu.org>
15290
15291 * gdb.threads/step-after-sr-lock.exp: Avoid executing
15292 "kill -SIGUSR1 -1".
15293
15294 2014-02-10 Joel Brobecker <brobecker@adacore.com>
15295
15296 * gdb.ada/tick_length_array_enum_idx: New testcase.
15297
15298 2014-02-10 Doug Evans <xdje42@gmail.com>
15299
15300 * configure.ac (AC_OUTPUT): Add gdb.guile.
15301 * configure: Regenerate.
15302 * lib/gdb-guile.exp: New file.
15303 * lib/gdb.exp (get_target_charset): New function.
15304 * gdb.base/help.exp: Update expected output from "apropos apropos".
15305 * gdb.guile/Makefile.in: New file.
15306 * gdb.guile/guile.exp: New file.
15307 * gdb.guile/scm-arch.c: New file.
15308 * gdb.guile/scm-arch.exp: New file.
15309 * gdb.guile/scm-block.c: New file.
15310 * gdb.guile/scm-block.exp: New file.
15311 * gdb.guile/scm-breakpoint.c: New file.
15312 * gdb.guile/scm-breakpoint.exp: New file.
15313 * gdb.guile/scm-disasm.c: New file.
15314 * gdb.guile/scm-disasm.exp: New file.
15315 * gdb.guile/scm-equal.c: New file.
15316 * gdb.guile/scm-equal.exp: New file.
15317 * gdb.guile/scm-error.exp: New file.
15318 * gdb.guile/scm-error.scm: New file.
15319 * gdb.guile/scm-frame-args.c: New file.
15320 * gdb.guile/scm-frame-args.exp: New file.
15321 * gdb.guile/scm-frame-args.scm: New file.
15322 * gdb.guile/scm-frame-inline.c: New file.
15323 * gdb.guile/scm-frame-inline.exp: New file.
15324 * gdb.guile/scm-frame.c: New file.
15325 * gdb.guile/scm-frame.exp: New file.
15326 * gdb.guile/scm-generics.exp: New file.
15327 * gdb.guile/scm-gsmob.exp: New file.
15328 * gdb.guile/scm-iterator.c: New file.
15329 * gdb.guile/scm-iterator.exp: New file.
15330 * gdb.guile/scm-math.c: New file.
15331 * gdb.guile/scm-math.exp: New file.
15332 * gdb.guile/scm-objfile-script-gdb.in: New file.
15333 * gdb.guile/scm-objfile-script.c: New file.
15334 * gdb.guile/scm-objfile-script.exp: New file.
15335 * gdb.guile/scm-objfile.c: New file.
15336 * gdb.guile/scm-objfile.exp: New file.
15337 * gdb.guile/scm-ports.exp: New file.
15338 * gdb.guile/scm-pretty-print.c: New file.
15339 * gdb.guile/scm-pretty-print.exp: New file.
15340 * gdb.guile/scm-pretty-print.scm: New file.
15341 * gdb.guile/scm-section-script.c: New file.
15342 * gdb.guile/scm-section-script.exp: New file.
15343 * gdb.guile/scm-section-script.scm: New file.
15344 * gdb.guile/scm-symbol.c: New file.
15345 * gdb.guile/scm-symbol.exp: New file.
15346 * gdb.guile/scm-symtab-2.c: New file.
15347 * gdb.guile/scm-symtab.c: New file.
15348 * gdb.guile/scm-symtab.exp: New file.
15349 * gdb.guile/scm-type.c: New file.
15350 * gdb.guile/scm-type.exp: New file.
15351 * gdb.guile/scm-value-cc.cc: New file.
15352 * gdb.guile/scm-value-cc.exp: New file.
15353 * gdb.guile/scm-value.c: New file.
15354 * gdb.guile/scm-value.exp: New file.
15355 * gdb.guile/source2.scm: New file.
15356 * gdb.guile/types-module.cc: New file.
15357 * gdb.guile/types-module.exp: New file.
15358
15359 2014-02-10 Yao Qi <yao@codesourcery.com>
15360
15361 PR testsuite/16543
15362 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
15363 * configure: Regenerated.
15364 * Makefile.in: New file.
15365
15366 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
15367
15368 * gdb.python/py-framefilter.exp: Fix typo.
15369
15370 2014-02-08 Yao Qi <yao@codesourcery.com>
15371
15372 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
15373 that no =breakpoint-modified is emitted when breakpoints are
15374 modified through MI commands.
15375
15376 2014-02-07 Pedro Alves <pedro@codesourcery.com>
15377 Pedro Alves <palves@redhat.com>
15378
15379 * gdb.threads/step-after-sr-lock.c: New file.
15380 * gdb.threads/step-after-sr-lock.exp: New file.
15381
15382 2014-02-07 Pedro Alves <palves@redhat.com>
15383
15384 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
15385
15386 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
15387
15388 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
15389 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
15390
15391 2014-02-06 Doug Evans <xdje42@gmail.com>
15392
15393 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
15394 output.
15395
15396 * gdb.gdb/python-interrupts.exp: New file.
15397
15398 2014-02-05 Yao Qi <yao@codesourcery.com>
15399
15400 * gdb.trace/report.exp (use_collected_data): Test the output
15401 of "info threads" and "info inferiors".
15402
15403 2014-02-05 Yao Qi <yao@codesourcery.com>
15404
15405 Revert this patch:
15406
15407 2013-05-24 Yao Qi <yao@codesourcery.com>
15408
15409 * gdb.trace/tfile.exp: Test inferior and thread.
15410
15411 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
15412
15413 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
15414 on a function.
15415 * gdb.base/step-bt.c: Call hello via function pointer to make
15416 sure its first instruction is executed on powerpc64le-linux.
15417
15418 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
15419
15420 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
15421
15422 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
15423
15424 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
15425 of the test patterns for use on little-endian systems.
15426
15427 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
15428
15429 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
15430 (decimal_vector): Fix for little-endian.
15431
15432 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
15433
15434 * gdb.arch/sparc-sysstep.exp: New file.
15435 * gdb.arch/sparc-sysstep.c: Likewise.
15436
15437 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
15438
15439 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
15440
15441 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
15442
15443 2014-01-23 Tom Tromey <tromey@redhat.com>
15444
15445 * gdb.ada/array_char_idx: New testcase.
15446
15447 2014-01-23 Tom Tromey <tromey@redhat.com>
15448
15449 PR python/16487:
15450 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
15451 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
15452 classes.
15453
15454 2014-01-23 Tom Tromey <tromey@redhat.com>
15455
15456 PR python/16491:
15457 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
15458 string from an inferior frame.
15459 * gdb.python/py-framefilter-mi.exp: Update.
15460
15461 2014-01-22 Doug Evans <dje@google.com>
15462
15463 * gdb.server/server-mon.exp: Add tests for "set debug-format".
15464
15465 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
15466
15467 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
15468
15469 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
15470
15471 * gdb.trace/entry-values.exp: Remove excess space character from
15472 regex patterns. Handle s390 call instruction.
15473
15474 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
15475
15476 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
15477 define "*_start" label. Make "name" static.
15478 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
15479 ${name} by references to ${name}_start.
15480
15481 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
15482
15483 * gdb.base/info-macros.exp: Remove "debug" from the compile
15484 options.
15485
15486 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
15487
15488 * gdb.dlang/demangle.exp: New file.
15489
15490 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
15491
15492 * gdb.dlang/primitive-types.exp: New file.
15493
15494 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
15495
15496 * configure.ac: Create gdb.dlang/Makefile.
15497 * configure: Regenerate.
15498 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
15499 * gdb.dlang/Makefile.in: New file.
15500 * lib/d-support.exp: New file.
15501 * lib/gdb.exp (skip_d_tests): New proc.
15502
15503 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15504
15505 * gdb.btrace/delta.exp: Check reverse stepi.
15506 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
15507 * gdb.btrace/finish.exp: New.
15508 * gdb.btrace/next.exp: New.
15509 * gdb.btrace/nexti.exp: New.
15510 * gdb.btrace/record_goto.c: Add comments.
15511 * gdb.btrace/step.exp: New.
15512 * gdb.btrace/stepi.exp: New.
15513 * gdb.btrace/multi-thread-step.c: New.
15514 * gdb.btrace/multi-thread-step.exp: New.
15515 * gdb.btrace/rn-dl-bind.c: New.
15516 * gdb.btrace/rn-dl-bind.exp: New.
15517 * gdb.btrace/data.c: New.
15518 * gdb.btrace/data.exp: New.
15519 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
15520
15521 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15522
15523 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
15524 * gdb.btrace/exception.exp: Update.
15525 * gdb.btrace/instruction_history.exp: Update.
15526 * gdb.btrace/record_goto.exp: Update.
15527 * gdb.btrace/tailcall.exp: Update.
15528 * gdb.btrace/unknown_functions.exp: Update.
15529 * gdb.btrace/delta.exp: New.
15530
15531 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15532
15533 * gdb.btrace/record_goto.exp: Add backtrace test.
15534 * gdb.btrace/tailcall.exp: Add backtrace test.
15535
15536 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15537
15538 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
15539 * gdb.btrace/record_goto.c: New.
15540 * gdb.btrace/record_goto.exp: New.
15541 * gdb.btrace/x86-record_goto.S: New.
15542
15543 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15544
15545 * gdb.btrace/function_call_history.exp: Update tests.
15546 * gdb.btrace/instruction_history.exp: Update tests.
15547
15548 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15549
15550 * gdb.btrace/function_call_history.exp: Fix expected field
15551 order for "record function-call-history".
15552 Add new tests for "record function-call-history /c".
15553 * gdb.btrace/exception.cc: New.
15554 * gdb.btrace/exception.exp: New.
15555 * gdb.btrace/tailcall.exp: New.
15556 * gdb.btrace/x86-tailcall.S: New.
15557 * gdb.btrace/x86-tailcall.c: New.
15558 * gdb.btrace/unknown_functions.c: New.
15559 * gdb.btrace/unknown_functions.exp: New.
15560 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
15561
15562 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15563
15564 * gdb.btrace/instruction_history.exp: Update.
15565 * gdb.btrace/function_call_history.exp: Update.
15566
15567 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15568
15569 * gdb.btrace/function_call_history.exp: Fix expected function
15570 trace.
15571 * gdb.btrace/instruction_history.exp: Initialize traced.
15572 Remove traced_functions.
15573
15574 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15575
15576 * gdb.btrace/function_call_history.exp: Update
15577 * gdb.btrace/instruction_history.exp: Update.
15578
15579 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15580
15581 * gdb.btrace/enable.exp: Update expected text.
15582
15583 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
15584
15585 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
15586 bytes.
15587
15588 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
15589
15590 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
15591
15592 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
15593
15594 * lib/gdb.exp (supports_process_record): Return true for
15595 arm*-linux*. (supports_reverse): Likewise.
15596
15597 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
15598
15599 PR python/15464
15600 PR python/16113
15601 * gdb.python/py-type.c: Enhance test case.
15602 * gdb.python/py-value-cc.cc: Likewise
15603 * gdb.python/py-type.exp: Add new tests.
15604 * gdb.python/py-value-cc.exp: Likewise
15605
15606 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
15607 Pedro Alves <palves@redhat.com>
15608
15609 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
15610 Make "name" extern.
15611 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
15612 references to ${name}_start by references to ${name}.
15613
15614 2014-01-10 Joel Brobecker <brobecker@adacore.com>
15615
15616 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
15617
15618 2014-01-10 Joel Brobecker <brobecker@adacore.com>
15619
15620 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
15621
15622 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
15623 Pedro Alves <palves@redhat.com>
15624
15625 * gdb.mi/mi-info-os.exp: Connect to the target with
15626 mi_gdb_target_load.
15627
15628 2014-01-08 Pedro Alves <palves@redhat.com>
15629
15630 * gdb.threads/reconnect-signal.c: New file.
15631 * gdb.threads/reconnect-signal.exp: New file.
15632
15633 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15634
15635 * gdb.base/source-dir.exp: New file.
15636
15637 2014-01-07 Joel Brobecker <brobecker@adacore.com>
15638
15639 * gdb.ada/mi_interface: New testcase.
15640
15641 2014-01-07 Joel Brobecker <brobecker@adacore.com>
15642
15643 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
15644 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
15645 gdb.ada/pp-rec-component/pck.ads: New files.
15646
15647 2014-01-07 Joel Brobecker <brobecker@adacore.com>
15648
15649 * gdb.python/py-pp-integral.c: New file.
15650 * gdb.python/py-pp-integral.py: New file.
15651 * gdb.python/py-pp-integral.exp: New file.
15652
15653 For older changes see ChangeLog-1993-2013.
15654 \f
15655 ;; Local Variables:
15656 ;; mode: change-log
15657 ;; left-margin: 8
15658 ;; fill-column: 74
15659 ;; version-control: never
15660 ;; End:
15661
15662 Copyright 2014-2019 Free Software Foundation, Inc.
15663 Copying and distribution of this file, with or without modification,
15664 are permitted provided the copyright notice and this notice are preserved.