testsuite: Add replay logging to GDBSERVER_DEBUG
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2
3 * README (Testsuite Parameters): Add replay logging to
4 GDBSERVER_DEBUG.
5 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
6 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
7 as a comma separated list.
8 (gdb_debug_init): Override procedure.
9
10 2019-05-17 Alan Hayward <alan.hayward@arm.com>
11
12 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
13 (gdb_write_cmd_file): New procedure.
14 * lib/gdbserver-support.exp (gdbserver_start): Call
15 gdbserver_write_cmd_file.
16 (gdbserver_write_cmd_file): New procedure.
17
18 2019-05-17 Alan Hayward <alan.hayward@arm.com>
19
20 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
21 (delete_breakpoints): Likewise.
22 (gdb_run_cmd): Likewise.
23 (gdb_start_cmd): Likewise.
24 (gdb_starti_cmd): Likewise.
25 (gdb_internal_error_resync): Likewise.
26 (gdb_test_multiple): Likewise.
27 (gdb_reinitialize_dir): Likewise.
28 (default_gdb_exit): Likewise.
29 (gdb_file_cmd): Mark kill as optional.
30 (default_gdb_start): Call gdb_stdin_log_init.
31 (send_gdb): Call gdb_stdin_log_write.
32 (rerun_to_main): Mark Y as an answer.
33 (gdb_stdin_log_init): New function.
34 (gdb_stdin_log_write): Likewise.
35
36 2019-05-17 Alan Hayward <alan.hayward@arm.com>
37
38 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
39 * gdb.base/debug-expr.exp: Likewise.
40 * gdb.base/foll-fork.exp: Likewise.
41 * gdb.base/foll-vfork.exp: Likewise.
42 * gdb.base/fork-print-inferior-events.exp: Likewise.
43 * gdb.base/gdb-sigterm.exp: Likewise.
44 * gdb.base/gdbinit-history.exp: Likewise.
45 * gdb.base/osabi.exp: Likewise.
46 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
47 * gdb.base/ui-redirect.exp: Likewise.
48 * gdb.gdb/unittest.exp: Likewise.
49 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
50 * gdb.mi/mi-watch.exp: Likewise.
51 * gdb.mi/new-ui-mi-sync.exp: Likewise.
52 * gdb.mi/user-selected-context-sync.exp: Likewise.
53 * gdb.python/python.exp: Disable debug test when debugging.
54 * gdb.threads/check-libthread-db.exp: Disable when debugging.
55 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
56 Likewise.
57 * gdb.threads/stepi-random-signal.exp: Likewise.
58
59 2019-05-17 Alan Hayward <alan.hayward@arm.com>
60
61 * Makefile.in: Pass through GDB_DEBUG.
62 * README (Testsuite Parameters): Add GDB_DEBUG.
63 (gdb,debug): Add board setting.
64 * lib/gdb.exp (default_gdb_start): Start debugging.
65 (gdb_debug_enabled): New procedure.
66 (gdb_debug_init): Likewise.
67
68 2019-05-17 Alan Hayward <alan.hayward@arm.com>
69
70 * Makefile.in: Pass through GDB_DEBUG.
71 * README (Testsuite Parameters): Add GDB_DEBUG.
72 (gdb,debug): Add board setting.
73 * lib/gdb.exp (default_gdb_start): Start debugging.
74 (gdb_debug_enabled): New procedure.
75 (gdb_debug_init): Likewise.
76
77 2019-05-17 Alan Hayward <alan.hayward@arm.com>
78
79 * gdb.base/ui-redirect.exp: Add debug redirect tests.
80
81 2019-05-17 Alan Hayward <alan.hayward@arm.com>
82
83 * gdb.base/ui-redirect.exp: Test redirection.
84
85 2019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
86
87 * gdb.mi/mi-complete.exp: New file.
88 * gdb.mi/mi-complete.cc: Likewise.
89
90 2019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
91
92 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
93 indexed and sliced arrays, and pointers to arrays.
94
95 2019-05-14 Tom Tromey <tromey@adacore.com>
96
97 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
98 styling test.
99
100 2019-05-14 Tom de Vries <tdevries@suse.de>
101
102 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
103 selection entry encoding.
104
105 2019-05-10 Tom Tromey <tromey@adacore.com>
106
107 * gdb.ada/info_exc.exp: Add "complete" test.
108
109 2019-05-09 Tom de Vries <tdevries@suse.de>
110
111 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
112 CU-relative.
113
114 2019-05-09 Tom de Vries <tdevries@suse.de>
115
116 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
117 CU-relative.
118
119 2019-05-08 Joel Brobecker <brobecker@adacore.com>
120
121 * gdb.ada/frame_arg_lang.exp: New testcase.
122 * gdb.ada/frame_arg_lang/bla.adb: New file.
123 * gdb.ada/frame_arg_lang/pck.ads: New file.
124 * gdb.ada/frame_arg_lang/pck.adb: New file.
125 * gdb.ada/frame_arg_lang/foo.c: New file.
126
127 2019-05-08 Tom Tromey <tromey@adacore.com>
128
129 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
130
131 2019-05-08 Tom Tromey <tromey@adacore.com>
132
133 * gdb.base/ptype-offsets.exp: Update tests.
134
135 2019-05-08 Tom Tromey <tromey@adacore.com>
136
137 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
138 cases.
139 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
140 "short".
141
142 2019-05-08 Tom Tromey <tromey@adacore.com>
143
144 * gdb.ada/vla.exp: New file.
145 * gdb.ada/vla/vla.adb: New file.
146
147 2019-05-07 Tom de Vries <tdevries@suse.de>
148
149 * gdb.base/index-cache.exp (ls_host): Fix return statement.
150
151 2019-05-07 Tom de Vries <tdevries@suse.de>
152
153 PR testsuite/24522
154 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
155 section.
156
157 2019-05-07 Tom de Vries <tdevries@suse.de>
158
159 PR testsuite/24522
160 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
161 .debug_aranges section.
162
163 2019-05-07 Tom de Vries <tdevries@suse.de>
164
165 PR testsuite/24159
166 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
167
168 2019-05-06 Tom de Vries <tdevries@suse.de>
169
170 * lib/gdb.exp (exec_has_index_section): New proc.
171 * gdb.base/index-cache.exp: Handle case that binfile contains an index
172 section.
173
174 2019-05-04 Tom de Vries <tdevries@suse.de>
175
176 * boards/cc-with-debug-names.exp: New file.
177
178 2019-05-03 Tom Tromey <tromey@adacore.com>
179
180 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
181 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
182 * gdb.ada/char_enum.exp: Add test.
183
184 2019-05-03 Tom de Vries <tdevries@suse.de>
185
186 * boards/cc-with-gdb-index.exp: New file.
187
188 2019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
189
190 * gdb.rust/simple.exp: Add new test case.
191 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
192 (main): Initialise an instance of the new struct.
193
194 2019-05-01 Tom Tromey <tromey@adacore.com>
195
196 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
197 record.
198 (NPR): New variable.
199 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
200 test.
201
202 2019-05-01 Tom Tromey <tromey@adacore.com>
203
204 * gdb.ada/packed_array_assign.exp: Add packed assignment
205 regression test.
206
207 2019-05-01 Tom de Vries <tdevries@suse.de>
208
209 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
210
211 2019-05-01 Tom de Vries <tdevries@suse.de>
212
213 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
214
215 2019-04-30 Ali Tamur <tamur@google.com>
216
217 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
218
219 2019-04-30 Tom Tromey <tromey@adacore.com>
220
221 * lib/ada.exp (find_ada_tool): New proc.
222 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
223 * gdb.ada/catch_ex_std.exp: New file.
224 * gdb.ada/catch_ex_std/foo.adb: New file.
225 * gdb.ada/catch_ex_std/some_package.adb: New file.
226 * gdb.ada/catch_ex_std/some_package.ads: New file.
227
228 2019-04-30 Tom Tromey <tromey@adacore.com>
229
230 PR c++/24470:
231 * gdb.cp/temargs.cc: Add test code from PR.
232
233 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
234
235 * gdb.fortran/vla-datatypes.exp: Update expected results.
236 * gdb.fortran/vla-ptype.exp: Likewise.
237 * gdb.fortran/vla-type.exp: Likewise.
238 * gdb.fortran/vla-value.exp: Likewise.
239
240 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
241
242 * gdb.fortran/ptr-indentation.exp: Update expected results.
243 * gdb.fortran/ptype-on-functions.exp: Likewise.
244 * gdb.fortran/vla-ptr-info.exp: Likewise.
245 * gdb.fortran/vla-value.exp: Likewise.
246
247 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
248
249 * gdb.fortran/ptype-on-functions.exp: New file.
250 * gdb.fortran/ptype-on-functions.f90: New file.
251
252 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
253
254 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
255 case void string.
256
257 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
258
259 * gdb.fortran/complex.exp: Expand.
260 * gdb.fortran/complex.f: Renamed to...
261 * gdb.fortran/complex.f90: ...this, and extended to add more
262 complex values.
263
264 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
265
266 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
267 MODULO, CMPLX.
268
269 2019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
270 Richard Bunt <richard.bunt@arm.com>
271
272 * gdb.base/max-depth.c: New file.
273 * gdb.base/max-depth.exp: New file.
274 * gdb.python/py-nested-maps.c: New file.
275 * gdb.python/py-nested-maps.exp: New file.
276 * gdb.python/py-nested-maps.py: New file.
277 * gdb.python/py-format-string.exp (test_max_depth): New proc.
278 (test_all_common): Call test_max_depth.
279 * gdb.fortran/max-depth.exp: New file.
280 * gdb.fortran/max-depth.f90: New file.
281 * gdb.go/max-depth.exp: New file.
282 * gdb.go/max-depth.go: New file.
283 * gdb.modula2/max-depth.exp: New file.
284 * gdb.modula2/max-depth.c: New file.
285 * lib/gdb.exp (get_print_expr_at_depths): New proc.
286
287 2019-04-29 Tom de Vries <tdevries@suse.de>
288
289 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
290
291 2019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
292
293 * gdb.base/callexit.exp: Test may-call-functions off.
294
295 2019-04-25 Keith Seitz <keiths@redhat.com>
296
297 PR c++/24367
298 * gdb.cp/meth-typedefs.cc (incomplete_struct)
299 (another_incomplete_struct, test_incomplete): New definitions.
300 (main): Use new definitions.
301 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
302 functions.
303
304 2019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
305
306 PR corefiles/11608
307 PR corefiles/18187
308 * gdb.base/coredump-filter-build-id.exp: New file.
309
310 2019-04-25 Alan Hayward <alan.hayward@arm.com>
311
312 * Makefile.in: Pass through GDBSERVER_DEBUG.
313 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
314 (gdbserver,debug): Add board setting.
315 * gdb.trace/tspeed.exp: Skip when debugging.
316 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
317 * lib/gdbserver-support.exp: Likewise
318
319 2019-04-24 Tom Tromey <tromey@adacore.com>
320
321 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
322 Rust.
323
324 2019-04-24 Tom Tromey <tromey@adacore.com>
325
326 * gdb.arch/amd64-eval.exp: Test bitfield return.
327 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
328 (class Foo) <return_bitfields>: New method.
329 (main): Call it.
330
331 2019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
332
333 * gdb.cp/many-args.cc: New file.
334 * gdb.cp/many-args.exp: New file.
335
336 2019-04-23 Tom de Vries <tdevries@suse.de>
337
338 PR gdb/24433
339 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
340
341 2019-04-23 Alan Hayward <alan.hayward@arm.com>
342
343 * gdb.trace/backtrace.exp: Use nopie flag.
344 * gdb.trace/circ.exp: Likewise.
345 * gdb.trace/collection.exp: Likewise.
346 * gdb.trace/ftrace.exp: Likewise.
347 * gdb.trace/mi-trace-unavailable.exp: Likewise.
348 * gdb.trace/mi-traceframe-changed.exp: Likewise.
349 * gdb.trace/qtro.exp: Likewise.
350 * gdb.trace/read-memory.exp: Likewise.
351 * gdb.trace/report.exp: Likewise.
352 * gdb.trace/tfile.exp: Likewise.
353 * gdb.trace/tfind.exp: Likewise.
354 * gdb.trace/unavailable.exp: Likewise.
355
356 2019-04-22 Pedro Alves <palves@redhat.com>
357
358 * gdb.base/solib-probes-nosharedlibrary.c,
359 gdb.base/solib-probes-nosharedlibrary.exp: New files.
360
361 2019-04-19 Tom Tromey <tromey@adacore.com>
362
363 * gdb.ada/ptype_union.c: New file.
364 * gdb.ada/ptype_union.exp: New file.
365
366 2019-04-19 Tom Tromey <tromey@adacore.com>
367
368 PR symtab/24423:
369 * gdb.base/list0.h (foo): Add a control-l character.
370
371 2019-04-18 Tom de Vries <tdevries@suse.de>
372
373 PR gdb/24433
374 * boards/local-board.exp: Set sysroot to "".
375
376 2019-04-18 Tom de Vries <tdevries@suse.de>
377 Pedro Alves <palves@redhat.com>
378
379 PR gdb/24454
380 * gdb.threads/vfork-follow-child-exec.c: New file.
381 * gdb.threads/vfork-follow-child-exec.exp: New file.
382 * gdb.threads/vfork-follow-child-exit.c: New file.
383 * gdb.threads/vfork-follow-child-exit.exp: New file.
384
385 2019-04-15 Leszek Swirski <leszeks@google.com>
386
387 * gdb.arch/amd64-eval.cc: New file.
388 * gdb.arch/amd64-eval.exp: New file.
389
390 2019-04-11 Alan Hayward <alan.hayward@arm.com>
391
392 * gdb.server/sysroot.c: New test.
393 * gdb.server/sysroot.exp: New file.
394 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
395 matching param.
396
397 2019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
398
399 * gdb.base/align.exp: Extend test to cover structures containing
400 only static fields.
401
402 2019-04-11 Tom de Vries <tdevries@suse.de>
403
404 * boards/cc-with-dwz-m.exp: New file.
405 * boards/cc-with-dwz.exp: New file.
406 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
407
408 2019-04-09 Simon Marchi <simon.marchi@efficios.com>
409
410 * gdb.base/start-cpp.exp: New file.
411 * gdb.base/start-cpp.cc: New file.
412
413 2019-04-08 Kevin Buettner <kevinb@redhat.com>
414
415 * gdb.python/py-thrhandle.exp: Adjust tests to call
416 thread_from_handle instead of thread_from_thread_handle.
417
418 2019-04-08 Kevin Buettner <kevinb@redhat.com>
419
420 * gdb.python/py-thrhandle.exp: Add tests for
421 gdb.InferiorThread.handle.
422
423 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
424
425 * gdb.python/py-function.exp: Check calling helper function from
426 all languages.
427 * lib/gdb.exp (gdb_supported_languages): New proc.
428
429 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
430
431 * gdb.base/complex-parts.c: New file.
432 * gdb.base/complex-parts.exp: New file.
433
434 2019-04-01 Tom Tromey <tromey@adacore.com>
435
436 PR symtab/23331:
437 * gdb.dwarf2/dw2-ranges-main.c: New file.
438 * gdb.dwarf2/dw2-ranges-psym.c: New file.
439 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
440
441 2019-03-30 Simon Marchi <simark@simark.ca>
442
443 * gdb.base/default.exp: Add values for $_gdb_major and
444 $_gdb_minor.
445
446 2019-03-29 Tom Tromey <tromey@adacore.com>
447
448 * gdb.base/help.exp: Tighten apropos regexp.
449
450 2019-03-29 Keith Seitz <keiths@redhat.com>
451
452 * gdb.fortran/array-bounds.exp: New file.
453 * gdb.fortran/array-bounds.f90: New file.
454
455 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
456
457 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
458
459 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
460
461 * gdb.multi/hello.c (main): Increase alarm timer.
462
463 2019-03-28 Sandra Loosemore <sandra@codesourcery.com>
464
465 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
466 factor when no hardware watchpoint support.
467
468 2019-03-28 Alan Hayward <alan.hayward@arm.com>
469 Pedro Alves <palves@redhat.com>
470
471 * boards/local-board.exp: set sysroot to /.
472
473 2019-03-27 Alan Hayward <alan.hayward@arm.com>
474
475 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
476 in child.
477
478 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
479
480 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
481 field.
482 (make_container): Initialise new field.
483 * gdb.python/py-prettyprint.exp: Add new tests.
484 * gdb.python/py-prettyprint.py (class ContainerPrinter)
485 <display_hint>: New method.
486
487 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
488
489 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
490 gdb_continue_to_breakpoint more throughout this test.
491 (run_lang_tests) Supply unique test names, and use
492 gdb_test_no_output.
493
494 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
495
496 * gdb.base/finish-pretty.exp: Update expected results.
497 * gdb.base/pretty-print.c: New file.
498 * gdb.base/pretty-print.exp: New file.
499
500 2019-03-25 Pedro Alves <palves@redhat.com>
501
502 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
503 move comments outside list. Append '-i "" eof' section.
504
505 2019-03-22 Alan Hayward <alan.hayward@arm.com>
506
507 * README: Add pie options.
508 * gdb.base/break-interp.exp: Ensure pie is disabled.
509 * gdb.base/dump.exp: Likewise.
510 * lib/gdb.exp (gdb_compile): Add pie option.
511
512 2019-03-19 Tom Tromey <tromey@adacore.com>
513
514 * gdb.mi/mi2-cli-display.c: New file.
515 * gdb.mi/mi2-cli-display.exp: New file.
516
517 2019-03-18 Joel Brobecker <brobecker@adacore.com>
518 Tom Tromey <tromey@adacore.com>
519
520 * gdb.ada/ptype_array/pck.adb: New file.
521 * gdb.ada/ptype_array/pck.ads: New file.
522 * gdb.ada/ptype_array/foo.adb: New file.
523 * gdb.ada/ptype_array.exp: New file.
524
525 2019-03-14 Tom Tromey <tromey@adacore.com>
526
527 * gdb.base/style.exp: Add "set style sources" test.
528
529 2019-03-13 Simon Marchi <simon.marchi@ericsson.com>
530
531 * mi-breakpoint-location-ena-dis.exp: Rename to ...
532 * mi-breakpoint-multiple-locations.exp: ... this.
533 (make_breakpoints_pattern): New proc.
534 (do_test): Add mi_version parameter, test -break-insert,
535 -break-info and =breakpoint-created.
536
537 2019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
538
539 * config/default.exp: Remove 'load_lib gdb.exp'.
540 * config/monitor.exp: Likewise.
541 * config/sid.exp: Likewise.
542 * config/sim.exp: Likewise.
543 * config/slite.exp: Likewise.
544 * config/unix.exp: Likewise.
545 * gdb.base/default.exp: Remove unhelpful comment.
546
547 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
548
549 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
550
551 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
552
553 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
554
555 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
556
557 * gdb.fortran/type-kinds.exp: Update expected results.
558
559 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
560
561 * gdb.fortran/type-kinds.exp: Test new integer type kind.
562
563 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
564
565 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
566 function.
567 (test_basic_parsing_of_type_kinds): Expand types tested.
568 (test_parsing_invalid_type_kinds): New function.
569
570 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
571
572 * gdb.fortran/intrinsics.exp: New file.
573 * gdb.fortran/intrinsics.f90: New file.
574 * gdb.fortran/type-kinds.exp: New file.
575
576 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
577
578 * gdb.fortran/dot-ops.exp: New file.
579
580 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
581
582 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
583 Check upper and lower case logical literals.
584
585 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
586
587 * gdb.fortran/types.exp (test_float_literal_types_accepted):
588 Remove duplicate tests.
589
590 2019-03-06 Alan Hayward <alan.hayward@arm.com>
591
592 * lib/gdb.exp (builtin_cd): rename of cd.
593 (cd): Override builtin.
594
595 2019-03-06 Richard Bunt <richard.bunt@arm.com>
596
597 * gdb.fortran/function-calls.exp: New file.
598 * gdb.fortran/function-calls.f90: New test.
599
600 2019-03-04 Richard Bunt <richard.bunt@arm.com>
601
602 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
603 on user program standard output.
604 * gdb.fortran/short-circuit-argument-list.f90: Record function
605 calls.
606
607 2019-02-28 Alan Hayward <alan.hayward@arm.com>
608
609 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
610 failure.
611
612 2019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
613
614 PR gdb/8527
615 * gdb.base/interrupt-daemon-attach.c,
616 gdb.base/interrupt-daemon-attach.exp: New test.
617
618 2019-02-27 Pedro Alves <palves@redhat.com>
619
620 * gdb.base/page.exp: Add tests for "set width/height -1".
621
622 2019-02-27 Pedro Alves <palves@redhat.com>
623
624 * gdb.base/page.exp: Add tests for "set/show width/height" with
625 "infinite" values.
626
627 2019-02-27 Tom Tromey <tromey@adacore.com>
628
629 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
630 2.4.
631 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
632 workaround.
633
634 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
635
636 * gdb.base/align.exp: Extend to compile in both C and C++, and add
637 tests for structs with static members.
638
639 2019-02-26 Tom Tromey <tromey@adacore.com>
640
641 * gdb.python/py-value.exp (test_value_from_buffer): Check for
642 ValueError, not TypeError.
643
644 2019-02-26 Kevin Buettner <kevinb@redhat.com>
645
646 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
647 call from main program.
648
649 2019-02-23 Joel Brobecker <brobecker@adacore.com>
650
651 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
652 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
653 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
654 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
655 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
656
657 2019-02-22 Keith Seitz <keiths@redhat.com>
658
659 PR symtab/23853
660 * gdb.base/symlink-sourcefile.c: New file.
661 * gdb.base/symlink-sourcefile.exp: New file.
662
663 2019-02-20 Tom Tromey <tom@tromey.com>
664
665 * gdb.base/info_qt.exp: Update.
666
667 2019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
668
669 * gdb.base/source.exp: Move "error in sourced script" code to
670 the end.
671 * gdb.base/source-error.gdb: Move contents to
672 source-error-1.gdb. Add new code to source source-error-1.gdb.
673 * gdb.base/source-error-1.gdb: New file, from previous
674 source-error.gdb.
675
676 2019-02-17 Tom Tromey <tom@tromey.com>
677
678 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
679 for macro styling.
680 * gdb.base/style.c (SOME_MACRO): New macro.
681
682 2019-02-17 Tom Tromey <tom@tromey.com>
683
684 * gdb.base/style.exp: Add line-wrapping tests.
685 * gdb.base/page.exp: Add test for quitting during pagination.
686
687 2019-02-17 Joel Brobecker <brobecker@adacore.com>
688
689 * gdb.ada/big_packed_array: New testcase.
690 * gdb.ada/homonym.exp: Fix incorrect expected output for
691 "break <homonym__get_value>" test.
692
693 2019-02-13 Weimin Pan <weimin.pan@oracle.com>
694
695 PR breakpoints/21870
696 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
697 and prepare_for_testing. Add comment.
698 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
699 redundant cleanup call. Clean up comment.
700
701 2019-02-12 Weimin Pan <weimin.pan@oracle.com>
702
703 PR breakpoints/21870
704 * gdb.arch/aarch64-dbreg-contents.exp: New file.
705 * gdb.arch/aarch64-dbreg-contents.c: New file.
706
707 2019-02-10 Joel Brobecker <brobecker@adacore.com>
708
709 * gdb.ada/mi_ref_changeable: New testcase.
710
711 2019-02-07 Alan Hayward <alan.hayward@arm.com>
712
713 * gdb.base/attach.exp: Add double attach test.
714
715 2019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
716
717 * lib/gdb.exp (default_gdb_start): Don't match pagination
718 prompt.
719 (gdb_init): Set stty_init.
720
721 2019-01-27 Tom Tromey <tom@tromey.com>
722
723 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
724 skip_python_tests.
725
726 2019-01-24 Alan Hayward <alan.hayward@arm.com>
727
728 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
729 New structure.
730 (struct struct_static_02_02): Likewise.
731 (struct struct_static_02_03): Likewise.
732 (struct struct_static_02_04): Likewise.
733 (struct struct_static_04_01): Likewise.
734 (struct struct_static_04_02): Likewise.
735 (struct struct_static_04_03): Likewise.
736 (struct struct_static_04_04): Likewise.
737 (struct struct_static_06_01): Likewise.
738 (struct struct_static_06_02): Likewise.
739 (struct struct_static_06_03): Likewise.
740 (struct struct_static_06_04): Likewise.
741 (cmp_struct_static_02_01): Likewise.
742 (cmp_struct_static_02_02): Likewise.
743 (cmp_struct_static_02_03): Likewise.
744 (cmp_struct_static_02_04): Likewise.
745 (cmp_struct_static_04_01): Likewise.
746 (cmp_struct_static_04_02): Likewise.
747 (cmp_struct_static_04_03): Likewise.
748 (cmp_struct_static_04_04): Likewise.
749 (cmp_struct_static_06_01): Likewise.
750 (cmp_struct_static_06_02): Likewise.
751 (cmp_struct_static_06_03): Likewise.
752 (cmp_struct_static_06_04): Likewise.
753 (call_all): Test new structs.
754 * gdb.base/infcall-nested-structs.exp: Likewise.
755
756 2019-01-21 Alan Hayward <alan.hayward@arm.com>
757 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
758
759 2019-01-21 Alan Hayward <alan.hayward@arm.com>
760 * gdb.base/stack-protector.c: New test.
761 * gdb.base/stack-protector.exp: New file.
762 * gdb.cp/ovldbreak.exp: Only allow a single break line.
763 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
764 option.
765 (gdb_compile): Remove stack protector for GCC and prevent
766 recursion.
767
768 2019-01-16 Keith Seitz <keiths@redhat.com>
769
770 PR gdb/23773
771 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
772
773 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
774
775 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
776 aliases.
777 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
778 tests.
779 * gdb.arch/powerpc-vector-regs.c: New file.
780 * gdb.arch/powerpc-vector-regs.exp: New file.
781
782 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
783
784 * gdb.arch/altivec-regs.exp: Fix the list passed to
785 gdb_expect_list when testing "info vector".
786
787 2019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
788
789 * gdb.base/style.exp: Don't include path in testname.
790
791 2019-01-10 Keith Seitz <keiths@redhat.com>
792
793 PR gdb/23712
794 PR symtab/23010
795 * gdb.dwarf2/multidictionary.exp: New file.
796
797 2019-01-09 Simon Marchi <simon.marchi@ericsson.com>
798
799 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
800 (test_gnuv3_style_demangling): ... this.
801 (test_lucid_style_demangling): Remove.
802 (test_arm_style_demangling): Remove.
803 (test_hp_style_demangling): Remove.
804 (do_tests): Remove calls to the above.
805
806 2019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
807
808 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
809 case.
810
811 2019-01-06 Tom Tromey <tom@tromey.com>
812
813 PR gdb/28155:
814 * gdb.dwarf2/typedef-void-finish.exp: New file.
815
816 2018-12-28 Tom Tromey <tom@tromey.com>
817 Simon Marchi <simark@simark.ca>
818
819 * gdb.base/jit-exec.exp: New file.
820 * gdb.base/jit-exec.c: New file.
821 * gdb.base/jit-execd.c: New file.
822
823 2018-12-28 Tom Tromey <tom@tromey.com>
824
825 * gdb.base/style.exp: Update test to check for address styling.
826
827 2018-12-28 Tom Tromey <tom@tromey.com>
828
829 * gdb.base/style.exp: Add test for styling of "Reading symbols"
830 message.
831
832 2018-12-28 Tom Tromey <tom@tromey.com>
833
834 * gdb.base/style.exp: Add test for version number styling.
835
836 2018-12-28 Tom Tromey <tom@tromey.com>
837
838 * gdb.base/style.exp: Add test for print_address_symbolic.
839
840 2018-12-28 Tom Tromey <tom@tromey.com>
841
842 * gdb.base/style.exp: Add test for breakpoint setting.
843
844 2018-12-28 Tom Tromey <tom@tromey.com>
845
846 * gdb.base/style.exp: Add test for variable names.
847
848 2018-12-28 Tom Tromey <tom@tromey.com>
849
850 * gdb.base/style.exp: New file.
851 * gdb.base/style.c: New file.
852
853 2018-12-28 Tom Tromey <tom@tromey.com>
854
855 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
856 "dumb".
857 * gdb.base/readline.exp (operate_and_get_next): Save and restore
858 the TERM environment variable.
859
860 2018-12-27 Tom Tromey <tom@tromey.com>
861
862 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
863 pagination test.
864
865 2018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
866
867 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
868 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
869
870 2018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
871
872 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
873 Filename a.adb changed to bp_fun_addr.adb.
874 gdb.ada/bp_fun_addr.exp: Update test accordingly.
875
876 2018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
877
878 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
879 non-PIE executables.
880 * README: Mention the gdb,nopie_flag board setting.
881 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
882 non-PIE executable.
883 * gdb.arch/amd64-entry-value.exp: Likewise.
884 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
885 * gdb.arch/i386-float.exp: Likewise.
886 * gdb.arch/i386-signal.exp: Likewise.
887 * gdb.mi/mi-reg-undefined.exp: Likewise.
888
889 2018-12-21 Paul Marechal <paul.marechal@ericsson.com>
890
891 PR gdb/23974
892 * gdb.base/info-os.exp: Check return for unknown "info os" type.
893
894 2018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
895
896 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
897 Update order of results accordingly.
898
899 2018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
900
901 * gdb.base/annota1.exp: Update a test regexp.
902
903 2018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
904
905 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
906
907 2018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
908
909 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
910 (reuse_time): Initialize to REUSE_TIME_CAP.
911 (check_rc): New function.
912 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
913 Check pthread_create rc.
914 (spawner_thread_func): Check pthread_create and pthread_join rc.
915
916 2018-12-08 Pedro Alves <palves@redhat.com>
917
918 * gdb.base/list.exp (test_forward_search): Rename to ...
919 (test_forward_reverse_search): ... this. Also test reverse-search
920 and the forward-search alias.
921
922 2018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
923
924 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
925 local timeout variable before return, and remove all local timeout
926 variable entirely.
927 (gdb_load): Likewise.
928
929 2018-12-01 Tom de Vries <tdevries@suse.de>
930
931 * gdb.base/gdb-caching-proc.exp: New file.
932
933 2018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
934
935 * Makefile.in (TIMESTAMP): New variable.
936 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
937 command.
938 (check-single-racy): Likewise.
939 (check/%.exp): Likewise.
940 (check-racy/%.exp): Likewise.
941 (workers/%.worker): Likewise.
942 (build-perf): Likewise.
943 (check-perf): Likewise.
944 * README: Describe new "TS" and "TS_FORMAT" variables.
945 * print-ts.py: New file.
946
947 2018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
948
949 PR python/23714
950 * gdb.python/python.exp: Test command repetition after
951 gdb.execute.
952
953 2018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
954
955 * gdb.opt/inline-break.exp: Add test that info breakpoint output
956 is correctly aligned.
957
958 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
959
960 * gdb.ada/info_auto_lang.exp: New testcase.
961 * gdb.ada/info_auto_lang/global_pack.ads: New file.
962 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
963 * gdb.ada/info_auto_lang/some_c.c: New file.
964
965 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
966
967 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
968 FUNC_lang language syntax.
969
970 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
971
972 * gdb.base/info_minsym.c: New file.
973 * gdb.base/info_minsym.exp: New file.
974
975 2018-11-19 Tom Tromey <tom@tromey.com>
976
977 PR rust/23625:
978 * gdb.rust/simple.exp: Add ptype test. Update expected output.
979 * gdb.rust/expr.exp: Update expected output. Change one test.
980
981 2018-11-19 Tom Tromey <tom@tromey.com>
982
983 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
984
985 2018-11-19 Pedro Alves <palves@redhat.com>
986
987 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
988 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
989 see the expected warning.
990
991 2018-11-16 Alan Hayward <alan.hayward@arm.com>
992
993 PR gdb/22736:
994 * gdb.cp/infcall-nodebug-lib.c: New test.
995 * gdb.cp/infcall-nodebug-main.c: New test.
996 * gdb.cp/infcall-nodebug.exp: New file.
997
998 2018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
999
1000 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
1001 completer tests.
1002
1003 2018-11-09 Tom de Vries <tdevries@suse.de>
1004
1005 * gdb.base/msym-lang.c: New test.
1006 * gdb.base/msym-lang.exp: New file.
1007 * gdb.base/msym-lang-main.c: New test.
1008
1009 2018-11-08 Tom Tromey <tom@tromey.com>
1010
1011 PR gdb/23555:
1012 PR gdb/23838:
1013 * gdb.base/warning.exp: New file.
1014
1015 2018-11-08 Jan Beulich <jbeulich@suse.com>
1016
1017 * testsuite/gdb.arch/i386-avx512.c,
1018 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
1019
1020 2018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
1021
1022 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
1023 point hardware.
1024
1025 2018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
1026
1027 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
1028 * gdb.dwarf2/missing-type-name.exp: New file.
1029
1030 2018-11-06 Tom de Vries <tdevries@suse.de>
1031
1032 * gdb.base/many-headers.c: New test.
1033 * gdb.base/many-headers.exp: New file.
1034
1035 2018-11-06 Jim Wilson <jimw@sifive.com>
1036
1037 * gdb.base/code_elim.exp: For riscv, set additional_flags
1038 to include -msmall-data-limit=0.
1039
1040 2018-11-01 Joel Brobecker <brobecker@adacore.com>
1041
1042 * gdb.ada/watch_minus_l: New testcase.
1043
1044 2018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
1045
1046 * gdb.arch/aix-sighandle.c: New file.
1047 * gdb.arch/aix-sighandle.exp: New file.
1048
1049 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
1050
1051 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
1052 registers being unions.
1053
1054 2018-10-31 Tom de Vries <tdevries@suse.de>
1055
1056 * lib/valgrind.exp: New file.
1057 (vgdb_start, vgdb_stop): New procs, factored out of ...
1058 * gdb.base/valgrind-bt.exp: ... here, ...
1059 * gdb.base/valgrind-disp-step.exp: ... here and ...
1060 * gdb.base/valgrind-infcall.exp: ... here.
1061
1062 2018-10-31 Tom de Vries <tdevries@suse.de>
1063
1064 * lib/gdb.exp (get_valueof): Don't output read value in test name.
1065
1066 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
1067
1068 * gdb.dwarf2/void-type.c: New file.
1069 * gdb.dwarf2/void-type.exp: New file.
1070
1071 2018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1072
1073 * gdb.base/info_qt.c: New file.
1074 * gdb.base/info_qt.exp: New file.
1075
1076 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1077
1078 * gdb.arch/powerpc-htm-regs.c: New file.
1079 * gdb.arch/powerpc-htm-regs.exp: New file.
1080
1081 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1082
1083 * gdb.arch/powerpc-tar.c: New file.
1084 * gdb.arch/powerpc-tar.exp: New file.
1085
1086 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1087
1088 * gdb.arch/powerpc-ppr-dscr.c: New file.
1089 * gdb.arch/powerpc-ppr-dscr.exp: New file.
1090
1091 2018-10-25 Tom de Vries <tdevries@suse.de>
1092
1093 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
1094
1095 2018-10-24 Tom de Vries <tdevries@suse.de>
1096
1097 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
1098 longer exists error.
1099
1100 2018-10-24 Tom de Vries <tdevries@suse.de>
1101
1102 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
1103
1104 2018-10-24 Tom de Vries <tdevries@suse.de>
1105
1106 * gdb.base/valgrind-db-attach.exp: Handle removed support for
1107 --db-attach in valgrind.
1108
1109 2018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
1110
1111 * gdb.arch/riscv-reg-aliases.c: New file.
1112 * gdb.arch/riscv-reg-aliases.exp: New file.
1113
1114 2018-10-19 Alan Hayward <alan.hayward@arm.com>
1115
1116 * gdb.python/py-cmd.exp: Check for gdb_prompt.
1117
1118 2018-10-19 Alan Hayward <alan.hayward@arm.com>
1119
1120 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
1121
1122 2018-10-19 Alan Hayward <alan.hayward@arm.com>
1123
1124 * gdb.cp/ovldbreak.exp: Fix regexps.
1125
1126 2018-10-19 Alan Hayward <alan.hayward@arm.com>
1127
1128 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
1129
1130 2018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
1131
1132 PR cli/23785
1133 * gdb.base/restore.exp: New test to check if "restore" with an
1134 invalid file doesn't segfault.
1135
1136 2018-10-18 Tom de Vries <tdevries@suse.de>
1137
1138 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
1139 * gdb.ada/excep_handle.exp: Same.
1140 * gdb.ada/mi_string_access.exp: Same.
1141 * gdb.ada/mi_var_union.exp: Same.
1142 * gdb.arch/arc-analyze-prologue.exp: Same.
1143 * gdb.arch/arc-decode-insn.exp: Same.
1144 * gdb.base/readnever.exp: Same.
1145 * gdb.fortran/printing-types.exp: Same.
1146 * gdb.guile/scm-lazy-string.exp: Same.
1147
1148 2018-10-16 Tom de Vries <tdevries@suse.de>
1149
1150 PR gdb/23730
1151 * gdb.base/catch-follow-exec.c: Add copyright notice.
1152 * gdb.base/catch-follow-exec.exp: Rewrite to use
1153 gdb_spawn_with_cmdline_opts. Require gdb-native.
1154
1155 2018-10-12 Sandra Loosemore <sandra@codesourcery.com>
1156
1157 * gdb.trace/actions-changed.exp: Check for arch support.
1158 * gdb.trace/actions.exp: Likewise.
1159 * gdb.trace/ax.exp: Likewise.
1160 * gdb.trace/backtrace.exp: Likewise.
1161 * gdb.trace/change-loc.exp: Likewise.
1162 * gdb.trace/deltrace.exp: Likewise.
1163 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
1164 * gdb.trace/ftrace.exp: Likewise.
1165 * gdb.trace/infotrace.exp: Check for arch support.
1166 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
1167 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
1168 * gdb.trace/mi-tsv-changed.exp: Likewise.
1169 * gdb.trace/packetlen.exp: Likewise.
1170 * gdb.trace/passc-dyn.exp: Likewise.
1171 * gdb.trace/passcount.exp: Likewise.
1172 * gdb.trace/pending.exp: Likewise.
1173 * gdb.trace/range-stepping.exp: Check for shlib support.
1174 * gdb.trace/report.exp: Check for arch support.
1175 * gdb.trace/save-trace.exp: Likewise.
1176 * gdb.trace/signal.exp: Check for signal support.
1177 * gdb.trace/tfind.exp: Check for arch support.
1178 * gdb.trace/trace-break.exp: Check for arch and shlib support.
1179 * gdb.trace/trace-common.h: Add comment.
1180 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
1181 * gdb.trace/trace-enable-disable.exp: Likewise.
1182 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
1183 * gdb.trace/tracecmd.exp: Check for arch support.
1184 * gdb.trace/tspeed.exp: Check for shlib and target support.
1185 * gdb.trace/tstatus.exp: Check for arch support.
1186 * gdb.trace/tsv.exp: Likewise.
1187 * gdb.trace/while-dyn.exp: Likewise.
1188 * gdb.trace/while-stepping.exp: Likewise.
1189 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
1190
1191 2018-10-12 Simon Marchi <simon.marchi@ericsson.com>
1192
1193 * gdb.trace/tspeed.exp: Remove nowarnings.
1194 (prepare_for_trace_test): Declare "global ipalib".
1195 * gdb.trace/tspeed.c: Include unistd.h.
1196 (main): Remove superfluous printf argument.
1197
1198 2018-10-11 Sandra Loosemore <sandra@codesourcery.com>
1199
1200 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
1201 directory prefix on the filename.
1202
1203 2018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
1204
1205 * gdb.gdb/unittest.exp: Update expected message informing that
1206 selftests have been disabled.
1207 * gdb.server/unittest.exp: Likewise.
1208
1209 2018-10-09 Tom de Vries <tdevries@suse.de>
1210
1211 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
1212 with runto_main.
1213
1214 2018-10-08 Weimin Pan <weimin.pan@oracle.com>
1215
1216 PR c++/16841
1217 * gdb.cp/virtbase2.cc: New file.
1218 * gdb.cp/virtbase2.exp: New file.
1219
1220 2018-10-06 Tom Tromey <tom@tromey.com>
1221
1222 PR python/19399:
1223 * gdb.python/py-inferior.exp: Add architecture test.
1224
1225 2018-10-06 Tom Tromey <tom@tromey.com>
1226
1227 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
1228 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
1229
1230 2018-10-06 Tom Tromey <tom@tromey.com>
1231
1232 * gdb.python/py-breakpoint.exp (check_last_event): Check location
1233 of a "throw" catchpoint.
1234
1235 2018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
1236
1237 * gdb.base/info-proc.exp: Update string expected from "help info
1238 proc".
1239
1240 2018-10-04 Tom Tromey <tom@tromey.com>
1241
1242 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
1243 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
1244 (test_initial_complaints, test_empty_complaints): Update.
1245 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
1246
1247 2018-10-04 Tom Tromey <tom@tromey.com>
1248
1249 PR cli/19551:
1250 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
1251 * lib/gdb.exp (gdb_file_cmd): Update.
1252 * gdb.stabs/weird.exp (print_weird_var): Update.
1253 * gdb.server/solib-list.exp: Update.
1254 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
1255 * gdb.mi/mi-cli.exp: Update.
1256 * gdb.linespec/linespec.exp: Update.
1257 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
1258 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
1259 * gdb.cp/cp-relocate.exp: Update.
1260 * gdb.base/sym-file.exp: Update.
1261 * gdb.base/relocate.exp: Update.
1262 * gdb.base/readnever.exp: Update.
1263 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
1264 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
1265 * gdb.base/dbx.exp (gdb_file_cmd): Update.
1266 * gdb.base/code_elim.exp: Update.
1267 * gdb.base/break-unload-file.exp (test_break): Update.
1268 * gdb.base/break-interp.exp (test_attach_gdb): Update.
1269 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
1270 Update.
1271 * gdb.base/attach.exp (do_attach_tests): Update.
1272 * gdb.base/sepdebug.exp: Update.
1273 * gdb.python/py-section-script.exp: Update.
1274
1275 2018-10-04 Tom Tromey <tom@tromey.com>
1276
1277 PR cli/22234:
1278 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
1279 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
1280 output.
1281
1282 2018-10-04 Tom Tromey <tom@tromey.com>
1283
1284 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
1285 set width and height to 0.
1286 (test_command_line_attach_run): Use -quiet.
1287
1288 2018-10-03 Sandra Loosemore <sandra@codesourcery.com>
1289
1290 * lib/gdb.exp (skip_ifunc_tests): New.
1291 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
1292 other compile failures.
1293 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
1294
1295 2018-10-01 Simon Marchi <simon.marchi@ericsson.com>
1296
1297 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
1298 is_amd64_regs_target.
1299
1300 2018-10-01 Alan Hayward <alan.hayward@arm.com>
1301
1302 * gdb.arch/aarch64-sighandler-regs.c: New test.
1303 * gdb.arch/aarch64-sighandler-regs.exp: New file.
1304 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
1305
1306 2018-10-01 Markus Metzger <markus.t.metzger@intel.com>
1307
1308 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
1309 assembly.
1310
1311 2018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
1312
1313 * gdb.base/frame-selection.exp: New file.
1314 * gdb.base/frame-selection.c: New file.
1315
1316 2018-09-27 Alan Hayward <alan.hayward@arm.com>
1317
1318 * gdb.threads/check-libthread-db.c (thread_routine): Use a
1319 pthread barrier.
1320 (main): Likewise.
1321
1322 2018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
1323
1324 * gdb.base/large-frame-1.c: New file.
1325 * gdb.base/large-frame-2.c: New file.
1326 * gdb.base/large-frame.exp: New file.
1327 * gdb.base/large-frame.h: New file.
1328
1329 2018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1330
1331 PR gdb/20948
1332 * gdb.base/write_mem.exp: New test.
1333 * gdb.base/write_mem.c: Likewise.
1334
1335 2018-09-23 Tom Tromey <tom@tromey.com>
1336
1337 PR python/18852:
1338 * gdb.python/py-parameter.exp: Add test for parameter that throws
1339 on "set".
1340
1341 2018-09-23 Tom Tromey <tom@tromey.com>
1342
1343 PR python/17284:
1344 * gdb.python/py-template.exp (test_template_arg): Add test for
1345 negative template argument number.
1346
1347 2018-09-23 Tom Tromey <tom@tromey.com>
1348
1349 PR python/14062:
1350 * gdb.python/python.exp: Add test for post_event error.
1351
1352 2018-09-23 Tom Tromey <tom@tromey.com>
1353
1354 PR python/18170:
1355 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
1356 convert pointers to int and long.
1357
1358 2018-09-23 Tom Tromey <tom@tromey.com>
1359
1360 PR python/20126:
1361 * gdb.python/py-value.exp (test_value_numeric_ops): Add
1362 signed-ness conversion tests.
1363
1364 2018-09-23 Tom Tromey <tom@tromey.com>
1365
1366 PR python/18352;
1367 * gdb.python/py-value.exp (test_float_conversion): New proc.
1368 Use it.
1369
1370 2018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
1371
1372 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
1373
1374 2018-09-18 Sandra Loosemore <sandra@codesourcery.com>
1375
1376 * gdb.base/complete-empty.exp: Skip tab-completion tests if
1377 no readline.
1378 * gdb.base/utf8-identifiers.exp: Likewise.
1379 * gdb.cp/cpcompletion.exp: Likewise.
1380 * gdb.linespec/cpcompletion.exp: Likewise.
1381 * gdb.linespec/cpls-abi-tag.exp: Likewise.
1382 * gdb.linespec/cpls-ops.exp: Likewise.
1383
1384 2018-09-19 Richard Bunt <richard.bunt@arm.com>
1385 Chris January <chris.january@arm.com>
1386
1387 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
1388 * gdb.fortran/short-circuit-argument-list.exp: New file.
1389 * gdb.fortran/short-circuit-argument-list.f90: New test.
1390
1391 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
1392
1393 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
1394 "arch=" keyword when executing "-stack-list-frames".
1395
1396 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
1397
1398 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
1399 "arch=" keyword when executing "-stack-list-frames".
1400
1401 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
1402
1403 * gdb.ada/complete.exp: Expect for "@" when doing "complete
1404 break ada".
1405
1406 2018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
1407
1408 PR python/23669
1409 * gdb.python/python.exp: Test gdb.execute("show commands").
1410
1411 2018-09-16 Tom Tromey <tom@tromey.com>
1412
1413 * gdb.base/new-ui.exp (do_execution_tests): Update.
1414 * gdb.base/dbx.exp (test_breakpoints): Update.
1415
1416 2018-09-14 Alan Hayward <alan.hayward@arm.com>
1417
1418 * lib/gdb.exp (gdb_simple_compile): Add proc.
1419 (is_elf_target): Use gdb_simple_compile.
1420 (skip_altivec_tests): Likewise.
1421 (skip_vsx_tests): Likewise.
1422 (skip_tsx_tests): Likewise.
1423 (skip_btrace_tests): Likewise.
1424 (skip_btrace_pt_tests): Likewise.
1425 (gdb_can_simple_compile): Likewise.
1426 (gdb_has_argv0): Likewise.
1427 (gdb_target_symbol_prefix): Likewise.
1428 (target_supports_scheduler_locking): Likewise.
1429
1430 2018-09-13 Tom Tromey <tom@tromey.com>
1431
1432 * Makefile.in (TAGS): Recognize proc_with_prefix and
1433 gdb_caching_proc.
1434
1435 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
1436
1437 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
1438 method.
1439
1440 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
1441
1442 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
1443 and a few other Inferior properties when the Inferior is no
1444 longer valid.
1445
1446 2018-09-13 Tom Tromey <tom@tromey.com>
1447
1448 PR rust/23650:
1449 * gdb.rust/simple.exp: Add test for enum field access error.
1450
1451 2018-09-13 Tom Tromey <tom@tromey.com>
1452
1453 PR rust/23626:
1454 * gdb.rust/simple.rs (EmptyEnum): New type.
1455 (main): Use it.
1456 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
1457
1458 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
1459
1460 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
1461 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
1462 * gdb.python/py-symtab.exp: Update test printing an objfile.
1463
1464 2018-09-12 Simon Marchi <simon.marchi@ericsson.com>
1465
1466 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
1467 object.
1468
1469 2018-09-12 Alan Hayward <alan.hayward@arm.com>
1470
1471 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
1472 (support_complex_tests): Use gdb_can_simple_compile.
1473 (is_ilp32_target): Likewise.
1474 (is_lp64_target): Likewise.
1475 (is_64_target): Likewise.
1476 (is_amd64_regs_target): Likewise.
1477 (is_aarch32_target): Likewise.
1478 (gdb_int128_helper): Likewise.
1479
1480 2018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1481
1482 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
1483
1484 2018-09-10 Jerome Guitton <guitton@adacore.com>
1485
1486 * gdb.ada/same_component_name: Add test for case of tagged record
1487 with variable-length fields.
1488
1489 2018-09-10 Xavier Roirand <roirand@adacore.com>
1490
1491 * gdb.ada/access_to_unbounded_array.exp: New testcase.
1492 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
1493 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
1494 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
1495
1496 2018-09-10 Xavier Roirand <roirand@adacore.com>
1497
1498 * gdb.ada/mi_string_access.exp: New testcase.
1499 * gdb.ada/mi_string_access/bar.adb: New file.
1500 * gdb.ada/mi_string_access/pck.adb: New file.
1501 * gdb.ada/mi_string_access/pck.asd: New file.
1502
1503 2018-09-10 Xavier Roirand <roirand@adacore.com>
1504
1505 * gdb.ada/mi_var_union.exp: New testcase.
1506 * gdb.ada/mi_var_union/bar.adb: New file.
1507 * gdb.ada/mi_var_union/pck.adb: New file.
1508 * gdb.ada/mi_var_union/pck.asd: New file.
1509
1510 2018-09-08 Tom Tromey <tom@tromey.com>
1511
1512 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
1513
1514 2018-09-08 Tom Tromey <tom@tromey.com>
1515
1516 PR python/16047:
1517 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
1518 (register_pretty_printers): Register new printer.
1519 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
1520 test.
1521 * gdb.python/py-prettyprint.c (int_type3): New typedef.
1522 (an_int_type3): New global.
1523
1524 2018-09-08 Joel Brobecker <brobecker@adacore.com>
1525
1526 * gdb.ada/expr_with_funcall: New testcase.
1527
1528 2018-09-08 Joel Brobecker <brobecker@adacore.com>
1529
1530 * gdb.ada/packed_array_assign: New testcase.
1531
1532 2018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
1533
1534 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
1535 names, and add test prefixes to make test names unique.
1536
1537 2018-09-05 Tom de Vries <tdevries@suse.de>
1538
1539 * gdb.dwarf2/varval.exp: Add test.
1540
1541 2018-09-04 Gary Benson <gbenson@redhat.com>
1542
1543 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
1544 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
1545
1546 2018-08-31 Tom Tromey <tom@tromey.com>
1547
1548 * gdb.rust/simple.rs: Rename second variable "v".
1549
1550 2018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
1551
1552 * gdb.base/funcargs.c (use_a): New function.
1553 (recurse): Call use_a.
1554
1555 2018-08-29 Keith Seitz <keiths@redhat.com>
1556
1557 * gdb.compile/compile-cplus-anonymous.cc: New file.
1558 * gdb.compile/compile-cplus-anonymous.exp: New file.
1559 * gdb.compile/compile-cplus-array-decay.cc: New file.
1560 * gdb.compile/compile-cplus-array-decay.exp: New file.
1561 * gdb.compile/compile-cplus-inherit.cc: New file.
1562 * gdb.compile/compile-cplus-inherit.exp: New file.
1563 * gdb.compile/compile-cplus-member.cc: New file.
1564 * gdb.compile/compile-cplus-member.exp: New file.
1565 * gdb.compile/compile-cplus-method.cc: New file.
1566 * gdb.compile/compile-cplus-method.exp: New file.
1567 * gdb.compile/compile-cplus-mod.c: "New" file.
1568 * gdb.compile/compile-cplus-namespace.cc: New file.
1569 * gdb.compile/compile-cplus-namespace.exp: New file.
1570 * gdb.compile/compile-cplus-nested.cc: New file.
1571 * gdb.compile/compile-cplus-nested.exp: New file.
1572 * gdb.compile/compile-cplus-print.c: "New" file.
1573 * gdb.compile/compile-cplus-print.exp: "New" file.
1574 * gdb.compile/compile-cplus-virtual.cc: New file.
1575 * gdb.compile/compile-cplus-virtual.exp: New file.
1576 * gdb.compile/compile-cplus.c: "New" file.
1577 * gdb.compile/compile-cplus.exp: "New" file.
1578 * lib/compile-support.exp: New file.
1579
1580 2018-08-16 Gary Benson <gbenson@redhat.com>
1581
1582 PR gdb/13000:
1583 * gdb.base/batch-exit-status.exp: New file.
1584 * gdb.base/batch-exit-status.good-commands: Likewise.
1585 * gdb.base/batch-exit-status.bad-commands: Likewise.
1586
1587 2018-08-29 Alan Hayward <alan.hayward@arm.com>
1588
1589 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
1590 (struct struct02): Likewise.
1591 (struct struct03): Likewise.
1592 (struct struct04): Likewise.
1593 (struct struct_01_01): New struct.
1594 (struct struct_01_02): Likewise.
1595 (struct struct_01_03): Likewise.
1596 (struct struct_01_04): Likewise.
1597 (struct struct_02_01): Likewise.
1598 (struct struct_02_02): Likewise.
1599 (struct struct_02_03): Likewise.
1600 (struct struct_02_04): Likewise.
1601 (struct struct_04_01): Likewise.
1602 (struct struct_04_02): Likewise.
1603 (struct struct_04_03): Likewise.
1604 (struct struct_04_04): Likewise.
1605 (struct struct_05_01): Likewise.
1606 (struct struct_05_02): Likewise.
1607 (struct struct_05_03): Likewise.
1608 (struct struct_05_04): Likewise.
1609 (cmp_struct01): Remove function.
1610 (cmp_struct02): Likewise.
1611 (cmp_struct03): Likewise.
1612 (cmp_struct04): Likewise.
1613 (cmp_struct_01_01): Add Function.
1614 (cmp_struct_01_02): Likewise.
1615 (cmp_struct_01_03): Likewise.
1616 (cmp_struct_01_04): Likewise.
1617 (cmp_struct_02_01): Likewise.
1618 (cmp_struct_02_02): Likewise.
1619 (cmp_struct_02_03): Likewise.
1620 (cmp_struct_02_04): Likewise.
1621 (cmp_struct_04_01): Likewise.
1622 (cmp_struct_04_02): Likewise.
1623 (cmp_struct_04_03): Likewise.
1624 (cmp_struct_04_04): Likewise.
1625 (cmp_struct_05_01): Likewise.
1626 (cmp_struct_05_02): Likewise.
1627 (cmp_struct_05_03): Likewise.
1628 (cmp_struct_05_04): Likewise.
1629 (call_all): Add new structs.
1630 * gdb.base/infcall-nested-structs.exp: Likewise.
1631
1632 2018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
1633
1634 * gdb.python/py-framefilter-mi.exp: Update regexp to
1635 check for "arch" field in frame output.
1636
1637 2018-08-23 Kevin Buettner <kevinb@redhat.com>
1638
1639 * gdb.dwarf2/dw2-ranges-func.c: New file.
1640 * gdb.dwarf2/dw2-ranges-func.exp: New file.
1641
1642 2018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
1643
1644 * gdb.base/term.exp: Compare terminal settings with values from
1645 the inferior.
1646 * gdb.base/term.c: Get and set terminal settings.
1647
1648 2018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
1649
1650 * lib/mi-support.exp (mi_expect_stop): Update regexp to
1651 accommodate new "arch" field in frame output.
1652 * gdb.mi/mi-return.exp: Likewise.
1653 * gdb.mi/mi-stack.exp: Likewise.
1654 * gdb.mi/mi-syn-frame.exp: Likewise.
1655 * gdb.mi/user-selected-context-sync.exp: Likewise.
1656
1657 2018-08-19 Michael Spang <spang@google.com>
1658
1659 PR gdb/11786
1660 * gdb.base/gcore-tls-pie.c: New file.
1661 * gdb.base/gcore-tls-pie.exp: New file.
1662
1663 2018-08-18 Kevin Buettner <kevinb@redhat.com>
1664
1665 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
1666 * gdb.dwarf2/varval.c: New file.
1667 * gdb.dwarf2/varval.exp: New file.
1668
1669 2018-08-17 Alan Hayward <alan.hayward@arm.com>
1670
1671 PR gdb/18931
1672 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
1673
1674 2018-08-16 Keith Seitz <keiths@redhat.com>
1675
1676 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
1677 tests expected to pass.
1678
1679 2018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
1680
1681 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
1682 -data-disassemble -a.
1683 (test_disassembly_bogus_args): Likewise.
1684
1685 2018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
1686
1687 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
1688
1689 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
1690
1691 * gdb.base/vla-optimized-out.exp: Add new test.
1692
1693 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
1694
1695 * gdb.base/vla-optimized-out-o3.exp: Delete.
1696 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
1697 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
1698 deleted tests.
1699
1700 2018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
1701
1702 PR gdb/18050:
1703 * gdb.server/extended-remote-restart.c: New file.
1704 * gdb.server/extended-remote-restart.exp: New file.
1705
1706 2018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
1707
1708 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
1709 "set variable index = 42".
1710
1711 2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
1712
1713 * boards/index-cache-gdb.exp: New file.
1714 * gdb.dwarf2/index-cache.exp: New file.
1715 * gdb.dwarf2/index-cache.c: New file.
1716 * gdb.base/maint.exp: Check if we are using the index cache.
1717
1718 2018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1719
1720 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
1721 MAKEFLAGS.
1722
1723 2018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1724
1725 * dg-extract-results.sh: Move to toplevel contrib.
1726 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
1727 * Makefile.in (check-parallel-racy): Likewise.
1728
1729 2018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
1730
1731 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
1732 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
1733 tests if the target supports scheduler locking.
1734
1735 2018-08-04 Tom de Vries <tdevries@suse.de>
1736
1737 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
1738
1739 2018-08-02 Tom Tromey <tom@tromey.com>
1740
1741 PR symtab/16842.
1742 * gdb.cp/temargs.exp: Test "info address" of a template
1743 parameter.
1744
1745 2018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
1746
1747 * gdb.python/py-mi-var-info-path-expression.c: New file.
1748 * gdb.python/py-mi-var-info-path-expression.py: New file.
1749 * gdb.python/py-mi-var-info-path-expression.exp: New file.
1750
1751 2018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
1752
1753 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
1754 error after "cannot resolve name" string.
1755
1756 2018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
1757
1758 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
1759 started.
1760 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
1761
1762 2018-07-28 Tom de Vries <tdevries@suse.de>
1763
1764 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
1765
1766 2018-07-26 Tom de Vries <tdevries@suse.de>
1767
1768 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
1769
1770 2018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
1771
1772 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
1773 is visible.
1774
1775 2018-07-26 Tom de Vries <tdevries@suse.de>
1776
1777 PR breakpoints/23366
1778 * gdb.base/catch-follow-exec.c: New test.
1779 * gdb.base/catch-follow-exec.exp: New file.
1780
1781 2018-07-25 Tom de Vries <tdevries@suse.de>
1782
1783 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
1784 vla-optimized-out.c.
1785
1786 2018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
1787
1788 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
1789 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
1790
1791 2018-07-20 Tom de Vries <tdevries@suse.de>
1792
1793 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
1794 NOCLONE macro.
1795 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
1796
1797 2018-07-19 Tom de Vries <tdevries@suse.de>
1798
1799 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
1800 regular expression.
1801
1802 2018-07-18 Tom de Vries <tdevries@suse.de>
1803
1804 * gdb.base/vla-optimized-out.c: New test.
1805 * gdb.base/vla-optimized-out.exp: New file.
1806
1807 2018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
1808
1809 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
1810 message "No address associated with hostname" when gdbserver
1811 cannot resolve the hostname.
1812
1813 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1814
1815 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
1816 Add some test prefixes to make tests unique.
1817
1818 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1819
1820 * gdb.base/frameapply.c: New file.
1821 * gdb.base/frameapply.exp: New file.
1822
1823 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1824
1825 * gdb.base/skip.exp: Update expected error message.
1826
1827 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
1828 Jan Kratochvil <jan.kratochvil@redhat.com>
1829 Paul Fertser <fercerpav@gmail.com>
1830 Tsutomu Seki <sekiriki@gmail.com>
1831
1832 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
1833 parameter.
1834 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
1835 by default.
1836 * boards/native-gdbserver.exp: Likewise.
1837 * gdb.server/run-without-local-binary.exp: Improve regexp used
1838 for detecting when a remote debugging connection succeeds.
1839 * gdb.server/server-connect.exp: New file.
1840 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
1841 Do not prefix the port number with ":".
1842 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
1843 support for detecting and using it. Add '$debughost_gdbserver'
1844 to the list of arguments used to start gdbserver. Handle case
1845 when gdbserver cannot resolve a network name.
1846
1847 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
1848
1849 PR c++/23373
1850 * gdb.base/ptype-offsets.cc (struct static_member): New
1851 struct.
1852 (main) <stmember>: New variable.
1853 * gdb.base/ptype-offsets.exp: Add test for printing a struct
1854 with a static member in it.
1855
1856 2018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
1857
1858 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
1859 watchpoints enabled and disabled.
1860
1861 2018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
1862
1863 * gdb.base/examine-backward.exp: Still run tests around address
1864 0x0, even if address 0x0 is not readable. Update the pattern for
1865 matching address 0x0 in expected output.
1866
1867 2018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
1868
1869 * gdb.base/share-env-with-gdbserver.c (main): Add call to
1870 malloc/free.
1871
1872 2018-07-04 Tom de Vries <tdevries@suse.de>
1873
1874 * gdb.dwarf2/dw2-error.exp: Update expected error message.
1875
1876 2018-07-02 Maciej W. Rozycki <macro@mips.com>
1877
1878 PR tdep/8282
1879 * gdb.arch/mips-disassembler-options.exp: New test.
1880 * gdb.arch/mips-disassembler-options.s: New test source.
1881
1882 2018-06-29 Pedro Alves <palves@redhat.com>
1883
1884 * gdb.threads/names.exp: Adjust expected "info threads" output.
1885
1886 2018-06-29 Pedro Alves <palves@redhat.com>
1887
1888 * gdb.opt/inline-break.exp (line number, address): Add "info
1889 break" tests.
1890
1891 2018-06-29 Pedro Alves <palves@redhat.com>
1892
1893 * gdb.opt/inline-break.c (func1): Add "break here" marker.
1894 * gdb.opt/inline-break.exp: Test setting breakpoints by line
1895 number and address and running to them.
1896
1897 2018-06-29 Richard Bunt <richard.bunt@arm.com>
1898
1899 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
1900
1901 2018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1902
1903 * lib/compiler.c: Remove executable permission flag.
1904
1905 2018-06-28 Richard Bunt <richard.bunt@arm.com>
1906
1907 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
1908 code.
1909 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
1910
1911 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
1912
1913 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
1914
1915 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
1916
1917 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
1918 address argument is omitted.
1919
1920 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
1921
1922 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
1923
1924 2018-06-27 Omair Javaid <omair.javaid@linaro.org>
1925
1926 PR gdb/21695
1927 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
1928 * gdb.base/infoline-reloc-main-from-zero.c: New file.
1929
1930 2018-06-26 Tom Tromey <tom@tromey.com>
1931
1932 PR rust/22574:
1933 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
1934 * gdb.rust/simple.rs (struct SimpleLayout): New.
1935
1936 2018-06-22 Simon Marchi <simon.marchi@ericsson.com>
1937
1938 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
1939 "info registers" output.
1940
1941 2018-06-21 Richard Bunt <richard.bunt@arm.com>
1942
1943 * gdb.base/watchpoint-hw-attach.c: New test.
1944 * gdb.base/watchpoint-hw-attach.exp: New file.
1945
1946 2018-06-20 Simon Marchi <simon.marchi@ericsson.com>
1947
1948 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
1949 through /bin/sh.
1950 * boards/dwarf4-gdb-index.exp: Likewise.
1951 * boards/fission-dwp.exp: Likewise.
1952
1953 2018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
1954
1955 * gdb.base/float128.exp: Add comment and improved fail message
1956 to the failure case of "print large128" test.
1957
1958 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
1959
1960 * configure.ac: Remove AC_PREREQ.
1961 * configure: Re-generate.
1962
1963 2018-06-19 Pedro Alves <palves@redhat.com>
1964
1965 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
1966 (func_extern_caller): New.
1967 (main): Call func_extern_caller.
1968 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
1969 logic change.
1970
1971 2018-06-18 Weimin Pan <weimin.pan@oracle.com>
1972
1973 PR gdb/16841
1974 * gdb.cp/typedef-base.cc: New file.
1975 * gdb.cp/typedef-base.exp: New file.
1976
1977 2018-06-18 Tom de Vries <tdevries@suse.de>
1978
1979 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
1980
1981 2018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
1982 Richard Bunt <Richard.Bunt@arm.com>
1983
1984 * gdb.threads/attach-slow-waitpid.c: New file.
1985 * gdb.threads/attach-slow-waitpid.exp: New file.
1986 * gdb.threads/slow-waitpid.c: New file.
1987
1988 2018-06-14 Pedro Alves <palves@redhat.com>
1989
1990 * gdb.base/fork-running-state.c: Include <errno.h>.
1991 (exit_if_relative_exits): New.
1992 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
1993 exits.
1994 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
1995 child exits.
1996
1997 2018-06-14 Tom de Vries <tdevries@suse.de>
1998
1999 PR cli/22573
2000 * gdb.base/finish-pretty.c: New test.
2001 * gdb.base/finish-pretty.exp: New file.
2002
2003 2018-06-14 Pedro Alves <palves@redhat.com>
2004
2005 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
2006 gdb's expected startup output.
2007
2008 2018-06-14 Pedro Alves <palves@redhat.com>
2009
2010 * lib/selftest-support.exp (selftest_setup): Remove inlined
2011 function handling.
2012
2013 2018-06-14 Tom de Vries <tdevries@suse.de>
2014
2015 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
2016 matching of breakpoint printing.
2017
2018 2018-06-13 Tom de Vries <tdevries@suse.de>
2019
2020 PR testsuite/23269
2021 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
2022 (fork_child): ... here, and ...
2023 (fork_parent): ... here.
2024
2025 2018-06-12 Tom de Vries <tdevries@suse.de>
2026
2027 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
2028
2029 2018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
2030 Stephen Roberts <stephen.roberts@arm.com>
2031
2032 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
2033 rewrite test to describe action performed, rather than possible
2034 failure.
2035
2036 2018-06-08 Gary Benson <gbenson@redhat.com>
2037
2038 * gdb.threads/check-libthread-db.exp: New file.
2039 * gdb.threads/check-libthread-db.c: Likewise.
2040
2041 2018-06-05 Tom Tromey <tom@tromey.com>
2042
2043 * gdb.base/default.exp: Update expected "show version" output.
2044
2045 2018-06-05 Tom Tromey <tom@tromey.com>
2046
2047 PR cli/12326:
2048 * gdb.cp/static-print-quit.exp: Update.
2049 * lib/gdb.exp (pagination_prompt): Update.
2050 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
2051 * gdb.python/python.exp: Update.
2052
2053 2018-06-04 Joel Brobecker <brobecker@adacore.com>
2054
2055 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
2056
2057 2018-06-01 Joel Brobecker <brobecker@adacore.com>
2058
2059 * gdb.ada/bp_fun_addr: New testcase.
2060
2061 2018-06-01 Tom Tromey <tom@tromey.com>
2062
2063 * gdb.xml/tdesc-regs.exp (load_description): Update expected
2064 results.
2065 * gdb.dwarf2/method-ptr.exp: Set language to C++.
2066 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
2067 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
2068 * gdb.base/maint.exp (maint_pass_if): Update.
2069
2070 2018-05-31 Maciej W. Rozycki <macro@mips.com>
2071
2072 * gdb.base/endian.exp: New test.
2073 * gdb.base/endian.c: New test source.
2074
2075 2018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
2076
2077 PR gdb/23203
2078 * gdb.base/bt-selected-frame.c: New file.
2079 * gdb.base/bt-selected-frame.exp: New file.
2080 * lib/gdb.exp (get_current_frame_number): New function.
2081
2082 2018-05-24 Maciej W. Rozycki <macro@mips.com>
2083 Pedro Alves <palves@redhat.com>
2084
2085 * gdb.threads/tls-core.c: Include <stdlib.h>
2086 (thread_proc): Call `abort'.
2087 * gdb.threads/tls-core.exp: Generate a core with core_find too.
2088 (tls_core_test): New procedure, bits factored out from ...
2089 (top level): ... here. Test both native cores and gcore cores.
2090
2091 2018-05-23 Tom Tromey <tom@tromey.com>
2092
2093 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
2094
2095 2018-05-23 Tom Tromey <tom@tromey.com>
2096
2097 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
2098 symfile_complaints.
2099 (test_short_complaints): Likewise.
2100 (test_empty_complaints): Likewise.
2101 (test_initial_complaints): Update.
2102
2103 2018-05-23 Tom Tromey <tom@tromey.com>
2104
2105 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
2106
2107 2018-05-23 Tom Tromey <tom@tromey.com>
2108
2109 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
2110 (test_short_complaints): Update.
2111
2112 2018-05-22 Pedro Alves <palves@redhat.com>
2113
2114 * gdb.base/remote.exp: Only gdb_start after compiling the
2115 testcase. Issue "disconnect" before testing "set remote" command
2116 defaults. Issue clean_restart before running to main.
2117
2118 2018-05-22 Pedro Alves <palves@redhat.com>
2119
2120 * gdb.base/remote.exp: Adjust expected output of "show remote
2121 memory-write-packet-size". Add tests for "set remote
2122 memory-write-packet-size 0" and "set remote
2123 memory-write-packet-size fixed/limit".
2124
2125 2018-05-22 Pedro Alves <palves@redhat.com>
2126
2127 PR gdb/22973
2128 * gdb.base/utf8-identifiers.c: New file.
2129 * gdb.base/utf8-identifiers.exp: New file.
2130
2131 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
2132
2133 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
2134
2135 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
2136
2137 * gdb.arch/powerpc-vsx-gcore.exp: New file.
2138
2139 2018-05-18 Tom Tromey <tom@tromey.com>
2140
2141 * gdb.base/ptype-offsets.exp: Update.
2142
2143 2018-05-17 Keith Seitz <keiths@redhat.com>
2144
2145 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
2146 in expected breakpoint stop locations.
2147 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
2148 move to proper scope to test variable values.
2149 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
2150 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
2151 New functions.
2152 (main): Call not_inline_func3.
2153 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
2154 inline_func1, inline_func2, and inline_func3. Test that when each
2155 breakpoint is hit, GDB properly reports both the stop location
2156 and the backtrace. Repeat tests for temporary breakpoints.
2157
2158 2018-05-15 Maciej W. Rozycki <macro@mips.com>
2159
2160 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
2161 rather then trying to access it in determining whether the PID
2162 of `gdbserver' could have been retrieved.
2163
2164 2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
2165
2166 * gdb.arch/amd64-init-x87-values.S: New file.
2167 * gdb.arch/amd64-init-x87-values.exp: New file.
2168
2169 2018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2170
2171 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
2172
2173 2018-05-04 Tom Tromey <tom@tromey.com>
2174
2175 PR python/22730:
2176 * gdb.python/python.exp: Test multi-line execute.
2177
2178 2018-05-04 Tom Tromey <tom@tromey.com>
2179
2180 PR python/22731:
2181 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
2182
2183 2018-05-04 Tom Tromey <tom@tromey.com>
2184
2185 PR gdb/11750:
2186 * gdb.base/define.exp: Test defining a user command inside a user
2187 command.
2188 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
2189
2190 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2191 Pedro Alves <palves@redhat.com>
2192
2193 PR breakpoints/19806 and support for PR external/20207.
2194 * gdb.base/watchpoint-unaligned.c: New file.
2195 * gdb.base/watchpoint-unaligned.exp: New file.
2196
2197 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
2198
2199 * gdb.base/maint.exp: Make test names unique, use
2200 test_prefix_command_help to test 'help maint info', and remove
2201 repeated test of 'help maint'.
2202
2203 2018-05-04 Tom Tromey <tom@tromey.com>
2204
2205 PR gdb/22619:
2206 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
2207 behavior.
2208
2209 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
2210
2211 * gdb.base/maint.exp: Process output from 'maint print registers'
2212 line at a time.
2213
2214 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
2215
2216 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
2217 timeout.
2218
2219 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
2220
2221 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
2222 filter pattern.
2223
2224 2018-05-02 Pedro Alves <palves@redhat.com>
2225
2226 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
2227 to_log_command renames.
2228 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
2229
2230 2018-05-02 Tom Tromey <tom@tromey.com>
2231
2232 * gdb.python/py-parameter.exp: Set test message.
2233
2234 2018-05-02 Tom Tromey <tom@tromey.com>
2235
2236 PR python/20084:
2237 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
2238 PARAM_ZUINTEGER_UNLIMITED tests.
2239
2240 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
2241
2242 PR rust/23124
2243 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
2244 when casting.
2245
2246 2018-04-30 Tom Tromey <tom@tromey.com>
2247
2248 * gdb.python/py-type.exp: Check align attribute.
2249 * gdb.python/py-type.c: New "aligncheck" global.
2250
2251 2018-04-30 Tom Tromey <tom@tromey.com>
2252
2253 PR exp/17095:
2254 * gdb.dwarf2/dw2-align.exp: New file.
2255 * gdb.cp/align.exp: New file.
2256 * gdb.base/align.exp: New file.
2257 * lib/gdb.exp (gdb_int128_helper): New proc.
2258 (has_int128_c, has_int128_cxx): New caching procs.
2259
2260 2018-04-27 Tom Tromey <tom@tromey.com>
2261
2262 PR rust/22545:
2263 * gdb.rust/simple.exp: Add inclusive range tests.
2264
2265 2018-04-26 Pedro Alves <palves@redhat.com>
2266
2267 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
2268 ifunc breakpoint locations correctly of ifunc breakpoints set
2269 while the program resolves the ifunc.
2270
2271 2018-04-26 Pedro Alves <palves@redhat.com>
2272
2273 * gdb.base/gnu-ifunc-final.c: New file.
2274 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
2275 * gdb.base/gnu-ifunc.exp (executable): Delete.
2276 (staticexecutable): Adjust.
2277 (lib_opts, exec_opts): Delete.
2278 (make_binsuffix, build, set-break): New procedures.
2279 (misc_tests): New, with tests factored out from the top level.
2280 (top level): Test different combinations of ifunc resolver name,
2281 resolver with and with debug info, and ifunc target with and
2282 without debug info. Wrap static tests with with_target_prefix.
2283
2284 2018-04-26 Pedro Alves <palves@redhat.com>
2285
2286 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
2287 return type" warnings.
2288
2289 2018-04-25 Pedro Alves <palves@redhat.com>
2290
2291 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
2292 killed".
2293 * gdb.base/kill-after-signal.exp: Likewise.
2294 * gdb.threads/kill.exp: Likewise.
2295
2296 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2297 Sergio Durigan Junior <sergiodj@redhat.com>
2298 Pedro Alves <palves@redhat.com>
2299
2300 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
2301 regexps to expect for '[Inferior ... detached]' as well.
2302 * gdb.base/attach.exp: Likewise.
2303 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
2304 "gdb_continue_to_end".
2305 (test_catch_syscall_with_wrong_args): Likewise.
2306 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
2307 ']'. Don't set 'verbose' on.
2308 * gdb.base/foll-vfork.exp: Likewise.
2309 * gdb.base/fork-print-inferior-events.c: New file.
2310 * gdb.base/fork-print-inferior-events.exp: New file.
2311 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
2312 '[Inferior ... has been killed]' message.
2313 * gdb.base/kill-after-signal.exp: Likewise.
2314 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
2315 detach message.
2316 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
2317 message.
2318 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
2319 regexps to expect for '[Inferior ... detached]' as well.
2320 * gdb.threads/process-dies-while-detaching.exp: Likewise.
2321
2322 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
2323
2324 PR gdb/23104
2325 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
2326
2327 2018-04-19 Richard Bunt <richard.bunt@arm.com>
2328
2329 * gdb.threads/multiple-successive-infcall.c: New test.
2330 * gdb.threads/multiple-successive-infcall.exp: New file.
2331
2332 2018-04-17 Tom Tromey <tom@tromey.com>
2333
2334 * gdb.rust/simple.rs (Union): New type.
2335 (main): New local "u".
2336 * gdb.rust/simple.exp (test_one_slice): Add new test case.
2337
2338 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2339
2340 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
2341 number information in output of "whereis" command.
2342 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
2343
2344 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2345
2346 * gdb.ada/info_types.exp: Adjust expected output to the line
2347 numbers now printed by "info var/func/type".
2348 * gdb.base/completion.exp: Likewise.
2349 * gdb.base/included.exp: Likewise.
2350 * gdb.cp/cp-relocate.exp: Likewise.
2351 * gdb.cp/cplusfuncs.exp: Likewise.
2352 * gdb.cp/namespace.exp: Likewise.
2353 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
2354
2355 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
2356
2357 * gdb.btrace/cpu.exp: New.
2358
2359 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
2360
2361 * gdb.base/step-indirect-call-thunk.exp: New.
2362 * gdb.base/step-indirect-call-thunk.c: New.
2363 * gdb.reverse/step-indirect-call-thunk.exp: New.
2364 * gdb.reverse/step-indirect-call-thunk.c: New.
2365
2366 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
2367
2368 * gdb.base/pie-fork.c: New file.
2369 * gdb.base/pie-fork.exp: New file.
2370
2371 2018-04-11 Tom Tromey <tom@tromey.com>
2372
2373 * gdb.rust/simple.exp: Add test for ".." struct initializer.
2374
2375 2018-04-10 Pedro Alves <palves@redhat.com>
2376
2377 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
2378 exits. Instead loop running forever.
2379 (fork_parent): Run forever too.
2380
2381 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
2382
2383 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
2384 mi_continue_to_line.
2385 * gdb.mi/mi-stack.c (callee4): Add comment.
2386
2387 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
2388
2389 * gdb.mi/mi-stack.exp: Fix indentation.
2390
2391 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
2392
2393 PR gdb/22979
2394 * gdb.arch/amd64-osabi.exp: New file.
2395
2396 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
2397
2398 PR gdb/22980
2399 * gdb.base/osabi.exp: New file.
2400
2401 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
2402
2403 * gdb.cp/static-typedef-print.exp: New file.
2404 * gdb.cp/static-typedef-print.cc: New file.
2405
2406 2018-03-27 Joel Brobecker <brobecker@adacore.com>
2407
2408 * gdb.ada/varsize_limit: New testcase.
2409
2410 2018-03-27 Joel Brobecker <brobecker@adacore.com>
2411
2412 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
2413
2414 * gdb.ada/notcplusplus: New testcase.
2415
2416 * gdb.base/c-linkage-name.c: New file.
2417 * gdb.base/c-linkage-name.exp: New testcase.
2418
2419 2018-03-26 Tom Tromey <tom@tromey.com>
2420
2421 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
2422 * gdb.python/py-framefilter.py (name_error): New global.
2423 (ErrorInName.function): Use name_error.
2424
2425 2018-03-26 Tom Tromey <tom@tromey.com>
2426
2427 PR backtrace/15582:
2428 * gdb.python/py-framefilter.exp: Add "bt hide" test.
2429
2430 2018-03-23 Keith Seitz <keiths@redhat.com>
2431
2432 PR c++/22968
2433 * gdb.cp/subtypes.exp: New file.
2434 * gdb.cp/subtypes.h: New file.
2435 * gdb.cp/subtypes.cc: New file.
2436 * gdb.cp/subtypes-2.cc: New file.
2437
2438 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
2439
2440 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
2441 (done): Call '_exit' not 'exit' to avoid atexit handlers.
2442 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
2443 -nostartfiles when compiling the test. Confirm that all registers
2444 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
2445
2446 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
2447
2448 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
2449 option, syntax was wrong anyway.
2450 * gdb.arch/arm-disp-step.exp: Likewise.
2451 * gdb.arch/sparc64-regs.exp: Likewise.
2452 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
2453 option, syntax was wrong anyway, switch to use
2454 prepare_for_testing.
2455 * gdb.arch/i386-disp-step.exp: Likewise.
2456
2457 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
2458
2459 * gdb.ada/exec_changed.exp: Replace "target_info exists
2460 use_gdb_stub" by "use_gdb_stub".
2461 * gdb.ada/start.exp: Likewise.
2462 * gdb.base/async-shell.exp: Likewise.
2463 * gdb.base/attach-pie-misread.exp: Likewise.
2464 * gdb.base/attach-wait-input.exp: Likewise.
2465 * gdb.base/break-entry.exp: Likewise.
2466 * gdb.base/break-interp.exp: Likewise.
2467 * gdb.base/dprintf-detach.exp: Likewise.
2468 * gdb.base/nostdlib.exp: Likewise.
2469 * gdb.base/solib-nodir.exp: Likewise.
2470 * gdb.base/statistics.exp: Likewise.
2471 * gdb.base/testenv.exp: Likewise.
2472 * gdb.mi/mi-exec-run.exp: Likewise.
2473 * gdb.mi/mi-start.exp: Likewise.
2474 * gdb.multi/dummy-frame-restore.exp: Likewise.
2475 * gdb.multi/multi-arch-exec.exp: Likewise.
2476 * gdb.multi/multi-arch.exp: Likewise.
2477 * gdb.multi/tids.exp: Likewise.
2478 * gdb.multi/watchpoint-multi.exp: Likewise.
2479 * gdb.python/py-events.exp: Likewise.
2480 * gdb.threads/attach-into-signal.exp: Likewise.
2481 * gdb.threads/attach-stopped.exp: Likewise.
2482 * gdb.threads/threadapply.exp: Likewise.
2483 * lib/selftest-support.exp: Likewise.
2484
2485 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
2486
2487 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
2488
2489 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
2490
2491 * gdb.perf/template-breakpoints.cc: New file.
2492 * gdb.perf/template-breakpoints.exp: New file.
2493 * gdb.perf/template-breakpoints.py: New file.
2494
2495 2018-03-19 Tom Tromey <tom@tromey.com>
2496
2497 * gdb.rust/simple.rs (main): Add local variables field1, field2,
2498 y0.
2499 * gdb.rust/simple.exp: Test bare identifier form of struct
2500 initializer.
2501
2502 2018-03-19 Tom Tromey <tom@tromey.com>
2503
2504 * gdb.gdb/observer.exp: Remove.
2505
2506 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
2507
2508 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
2509 "qualified" option when setting breakpoints.
2510 * gdb.trace/backtrace.exp: Likewise.
2511 * gdb.trace/circ.exp: Likewise.
2512 * gdb.trace/collection.exp: Likewise.
2513 * gdb.trace/disconnected-tracing.exp: Likewise.
2514 * gdb.trace/ftrace-lock.exp: Likewise.
2515 * gdb.trace/ftrace.exp: Likewise.
2516 * gdb.trace/infotrace.exp: Likewise.
2517 * gdb.trace/packetlen.exp: Likewise.
2518 * gdb.trace/passc-dyn.exp: Likewise.
2519 * gdb.trace/qtro.exp: Likewise.
2520 * gdb.trace/read-memory.exp: Likewise.
2521 * gdb.trace/report.exp: Likewise.
2522 * gdb.trace/signal.exp: Likewise.
2523 * gdb.trace/status-stop.exp: Likewise.
2524 * gdb.trace/strace.exp: Likewise.
2525 * gdb.trace/tfind.exp: Likewise.
2526 * gdb.trace/trace-break.exp: Likewise.
2527 * gdb.trace/trace-condition.exp: Likewise.
2528 * gdb.trace/trace-mt.exp: Likewise.
2529 * gdb.trace/tstatus.exp: Likewise.
2530 * gdb.trace/tsv.exp: Likewise.
2531 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
2532 * gdb.trace/unavailable.exp: Likewise.
2533 * gdb.trace/while-dyn.exp: Likewise.
2534
2535 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2536
2537 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
2538 that libinproctrace is copied to the target.
2539
2540 2018-03-14 Tom Tromey <tom@tromey.com>
2541
2542 PR cli/14977:
2543 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
2544 a null pointer.
2545 * gdb.base/wchar.exp: Likewise.
2546
2547 2018-03-14 Tom Tromey <tom@tromey.com>
2548
2549 PR cli/19918:
2550 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
2551 flag.
2552
2553 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
2554
2555 PR gdb/22841
2556 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
2557 "target" to remote_exec.
2558
2559 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
2560
2561 PR gdb/22841
2562 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
2563 ${board}_upload): Remove.
2564
2565 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2566
2567 * gdb.cp/watch-cp.cc: New test.
2568 * gdb.cp/watch-cp.exp: New file.
2569
2570 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2571
2572 * gdb.base/infcall-nested-structs.exp: New file.
2573 * gdb.base/infcall-nested-structs.c: New file.
2574 * gdb.base/float.exp: Add riscv support.
2575
2576 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
2577
2578 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
2579 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
2580
2581 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
2582
2583 * gdb.server/abspath.exp: New file.
2584 * lib/gdb.exp (with_cwd): New procedure.
2585
2586 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
2587
2588 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
2589 use it.
2590 (gdb_is_target_remote_prompt): New proc.
2591 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
2592 (gdb_is_target_native): Pass prompt parameter to
2593 gdb_is_target_1.
2594
2595 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
2596
2597 * gdb.base/load-command.c: New file.
2598 * gdb.base/load-command.exp: New file.
2599 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
2600 (gdb_is_target_1): ...this, and generalize for other targets
2601 than just remote.
2602 (gdb_is_target_remote): Use gdb_is_target_1.
2603 (gdb_is_target_native): use gdb_is_target_1.
2604
2605 2018-02-26 Tom Tromey <tom@tromey.com>
2606
2607 PR python/16497:
2608 * gdb.python/py-framefilter.exp: Update test.
2609
2610 2018-02-26 Tom Tromey <tom@tromey.com>
2611
2612 * gdb.dwarf2/variant.c: New file.
2613 * gdb.dwarf2/variant.exp: New file.
2614
2615 2018-02-26 Tom Tromey <tom@tromey.com>
2616
2617 * gdb.rust/simple.exp: Accept more possible results in enum test.
2618
2619 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
2620
2621 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
2622 parentheses.
2623
2624 2018-02-23 Maciej W. Rozycki <macro@mips.com>
2625
2626 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
2627 name of a variable: $actual_linejj -> $actual_line.
2628
2629 2018-02-21 John Baldwin <jhb@FreeBSD.org>
2630
2631 * gdb.arch/amd64-i386-address.exp: Fix a typo.
2632
2633 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
2634
2635 * gdb.btrace/buffer-size.exp: Do not force BTS.
2636
2637 2018-02-14 Pedro Alves <palves@redhat.com>
2638
2639 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
2640 getting a "Quit".
2641
2642 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
2643
2644 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
2645 Fix test name.
2646
2647 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
2648
2649 * gdb.cp/m-static.exp: Check type of optimized out static
2650 member.
2651
2652 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
2653
2654 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
2655 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
2656
2657 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
2658 Leszek Swirski <leszeks@google.com>
2659
2660 * gdb.python/py-prettyprint.c
2661 (struct to_string_returns_value_inner,
2662 struct to_string_returns_value_wrapper): New.
2663 (main): Add tsrvw variable.
2664 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
2665 ToStringReturnsValueWrapper): New classes.
2666 (register_pretty_printers): Register new pretty-printers.
2667 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
2668 recursive pretty printer.
2669 * gdb.python/py-mi.exp: Likewise.
2670
2671 2018-02-01 Leszek Swirski <leszeks@google.com>
2672
2673 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
2674 functions with the same name as an include file are parsed
2675 correctly.
2676
2677 2018-02-01 Yao Qi <yao.qi@linaro.org>
2678
2679 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
2680 "\[^\r\n\]*".
2681
2682 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
2683
2684 * gdb.arch/powerpc-prologue-frame.s: New file.
2685 * gdb.arch/powerpc-prologue-frame.c: Likewise.
2686 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
2687
2688 2018-01-31 Joel Brobecker <brobecker@adacore.com>
2689
2690 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
2691
2692 2018-01-30 Pedro Alves <palves@redhat.com>
2693
2694 PR gdb/13211
2695 * gdb.base/interrupt-daemon.c: New.
2696 * gdb.base/interrupt-daemon.exp: New.
2697 * gdb.multi/multi-term-settings.c: New.
2698 * gdb.multi/multi-term-settings.exp: New.
2699
2700 2018-01-30 Joel Brobecker <brobecker@adacore.com>
2701
2702 * gdb.base/break.exp: Save the location where the breakpoint
2703 on break.c:47 was actually inserted when debugging the version
2704 compiled at -O2 and use it in the expected output of the "info
2705 break" test performed soon after.
2706
2707 2018-01-22 Pedro Alves <palves@redhat.com>
2708 Sergio Durigan Junior <sergiodj@redhat.com>
2709
2710 * gdb.base/whatis.exp: Add tests for 'set print object on' +
2711 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
2712
2713 2018-01-22 Joel Brobecker <brobecker@adacore.com>
2714
2715 * gdb.base/break-include.c, gdb.base/break-include.inc,
2716 gdb.base/break-include.exp: New files.
2717 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
2718 line number now being the actual line number where the breakpoint
2719 was inserted.
2720 * gdb.mi/mi-break.exp: Likewise.
2721 * gdb.mi/mi-reverse.exp: Likewise.
2722 * gdb.mi/mi-simplerun.exp: Ditto.
2723
2724 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
2725
2726 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
2727 varobj.
2728 * gdb.mi/mi-var-create-rtti.exp: Likewise.
2729
2730 2018-01-21 Don Breazeal <donb@codesourcery.com>
2731 Andrew Burgess <andrew.burgess@embecosm.com>
2732
2733 * gdb.mi/basics.c: Add new global.
2734 * gdb.mi/mi-frame-regs.exp: New file.
2735 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
2736 case.
2737
2738 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
2739
2740 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
2741 non-parameter, and on an unknown symbol.
2742
2743 2018-01-19 Tom Tromey <tom@tromey.com>
2744
2745 * gdb.rust/modules.rs (TWENTY_THREE): New global.
2746 * gdb.rust/modules.exp: Add ::-qualified lookup test.
2747
2748 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
2749
2750 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
2751 setrlimit and chdir to int.
2752
2753 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
2754
2755 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
2756 function.
2757 (my_tend): Likewise.
2758 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
2759 rationale of avoiding FP- and vector instructions.
2760
2761 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
2762
2763 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
2764 "info reg" with "\[ \t\]*".
2765 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
2766 "\[ \t\]+".
2767 * gdb.arch/s390-multiarch.exp: Ditto.
2768 * gdb.base/pc-fp.exp: Ditto.
2769 * gdb.reverse/i386-precsave.exp: Ditto.
2770 * gdb.reverse/i386-reverse.exp: Ditto.
2771 * gdb.reverse/i387-env-reverse.exp: Ditto.
2772 * gdb.reverse/i387-stack-reverse.exp: Ditto.
2773
2774 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
2775
2776 * lib/gdb.exp (gdb_compile): Re-enable use of
2777 universal_compile_options for languages other than Rust.
2778
2779 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
2780
2781 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
2782
2783 2018-01-17 Mike Gulick <mgulick@mathworks.com>
2784
2785 PR gdb/16577
2786 * gdb.base/solib-vanish.exp: New.
2787 * gdb.base/solib-vanish-main.c: New.
2788 * gdb.base/solib-vanish-lib1.c: New.
2789 * gdb.base/solib-vanish-lib2.c: New.
2790
2791 2018-01-17 Yao Qi <yao.qi@linaro.org>
2792
2793 * gdb.compile/compile.exp: Match the address printed for
2794 frame in the output of command "bt".
2795
2796 2018-01-15 Tom Tromey <tom@tromey.com>
2797
2798 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
2799 compute sp_reg.
2800
2801 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
2802
2803 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
2804 to prepare.
2805 (prepare): Return 0 on error, 1 on success.
2806
2807 2018-01-12 Pedro Alves <palves@redhat.com>
2808
2809 * gdb.base/continue-after-aborted-step-over.c: New.
2810 * gdb.base/continue-after-aborted-step-over.exp: New.
2811
2812 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
2813
2814 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
2815 options when not creating an executable.
2816
2817 2018-01-11 Pedro Alves <palves@redhat.com>
2818
2819 PR remote/22597
2820 * gdb.server/stop-reply-no-thread.c: New file.
2821 * gdb.server/stop-reply-no-thread.exp: New file.
2822
2823 2018-01-10 Pedro Alves <palves@redhat.com>
2824
2825 PR gdb/22670
2826 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
2827 functions too. Test setting breakpoints and printing C functions
2828 with no debug info too.
2829 * gdb.ada/bp_c_mixed_case/qux.c: New file.
2830
2831 2018-01-10 Pedro Alves <palves@redhat.com>
2832
2833 PR gdb/22670
2834 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
2835 a fail.
2836
2837 2018-01-10 Pedro Alves <palves@redhat.com>
2838
2839 PR gdb/22670
2840 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
2841
2842 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
2843
2844 * gdb.server/unittest.exp: Match the output in non-development
2845 mode.
2846
2847 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
2848
2849 * gdb.gdb/unittest.exp: Match output in non-development mode.
2850
2851 2018-01-08 Joel Brobecker <brobecker@adacore.com>
2852
2853 * gdb.ada/access_tagged_param.exp: Relax expected output
2854 for value of "ObjL" in "continue" to pck.inspect breakpoint
2855 test.
2856
2857 2018-01-08 Joel Brobecker <brobecker@adacore.com>
2858
2859 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
2860 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
2861
2862 2018-01-05 Pedro Alves <palves@redhat.com>
2863
2864 PR gdb/18653
2865 * gdb.base/libsegfault.exp: New.
2866
2867 2018-01-05 Joel Brobecker <brobecker@adacore.com>
2868
2869 PR gdb/22670
2870 * gdb.ada/access_tagged_param.exp: New file.
2871 * gdb.ada/access_tagged_param/foo.adb: New file.
2872
2873 2018-01-05 Pedro Alves <palves@redhat.com>
2874
2875 PR gdb/22670
2876 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
2877 exercise lower case too, and to exercise both full matching and
2878 wild matching.
2879
2880 2018-01-05 Joel Brobecker <brobecker@adacore.com>
2881
2882 * gdb.ada/rename_subscript_param: New testcase.
2883
2884 2018-01-05 Jerome Guitton <guitton@adacore.com>
2885
2886 * gdb.ada/arr_acc_idx_w_gap: New testcase.
2887
2888 2018-01-05 Joel Brobecker <brobecker@adacore.com>
2889
2890 * gdb.ada/convvar_comp: New testcase.
2891
2892 2018-01-05 Xavier Roirand <roirand@adacore.com>
2893
2894 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
2895 (My_Table): New global variable.
2896 * testsuite/gdb.ada/array_char_idx.exp: Add test.
2897
2898 2018-01-04 Joel Brobecker <brobecker@adacore.com>
2899
2900 PR gdb/22670
2901 * gdb.ada/maint_with_ada: New testcase.
2902
2903 2018-01-04 Joel Brobecker <brobecker@adacore.com>
2904
2905 PR gdb/22670
2906 * gdb.ada/bp_c_mixed_case: New testcase.
2907
2908 2018-01-04 Joel Brobecker <brobecker@adacore.com>
2909
2910 PR gdb/22670
2911 * gdb.ada/complete.exp: Add "complete break ada" test.
2912
2913 2018-01-04 Joel Brobecker <brobecker@adacore.com>
2914
2915 PR gdb/22670
2916 * gdb.ada/info_addr_mixed_case: New testcase.
2917
2918 2018-01-03 Xavier Roirand <roirand@adacore.com>
2919
2920 * gdb.ada/excep_handle.exp: New testcase.
2921 * gdb.ada/excep_handle/foo.adb: New file.
2922 * gdb.ada/excep_handle/pck.ads: New file.
2923
2924 2018-01-03 Joel Brobecker <brobecker@adacore.com>
2925
2926 * gdb.base/step-line.c: Add extra empty line in copyright header.
2927 * gdb.base/step-line.inp: Likewise.
2928
2929 2018-01-02 Joel Brobecker <brobecker@adacore.com>
2930
2931 * gdb.ada/dyn_stride.exp: Add slice test.
2932
2933 2018-01-02 Joel Brobecker <brobecker@adacore.com>
2934
2935 * gdb.ada/dyn_stride: New testcase.
2936
2937 2017-12-27 Stafford Horne <shorne@gmail.com>
2938
2939 * gdb.xml/extra-regs.xml: Add example foo reggroup.
2940 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
2941
2942 2017-12-27 Stafford Horne <shorne@gmail.com>
2943
2944 * gdb.base/reggroups.c: New file.
2945 * gdb.base/reggroups.exp: New file.
2946
2947 2017-12-18 Joel Brobecker <brobecker@adacore.com>
2948
2949 * gdb.dwarf2/ada-valprint-error.c: New file.
2950 * gdb.dwarf2/ada-valprint-error.exp: New file.
2951
2952 2017-12-18 Joel Brobecker <brobecker@adacore.com>
2953
2954 * gdb.ada/assign_arr: New testcase.
2955
2956 2017-12-18 Xavier Roirand <roirand@adacore.com>
2957
2958 * gdb.ada/funcall_ptr: New testcase.
2959
2960 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
2961
2962 PR cli/16224
2963 * gdb.base/ptype-offsets.cc: New file.
2964 * gdb.base/ptype-offsets.exp: New file.
2965
2966 2017-12-15 Yao Qi <yao.qi@linaro.org>
2967
2968 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
2969 if XML is disabled.
2970
2971 2017-12-15 Xavier Roirand <roirand@adacore.com>
2972
2973 * gdb.ada/same_component_name: New testcase.
2974
2975 2017-12-14 Joel Brobecker <brobecker@adacore.com>
2976
2977 * gdb.ada/str_binop_equal: New testcase.
2978
2979 2017-12-14 Joel Brobecker <brobecker@adacore.com>
2980
2981 * gdb.ada/task_switch_in_core: New testcase.
2982
2983 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
2984
2985 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
2986 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
2987 call test_bkpt_qualified.
2988 (test_bkpt_qualified): New proc.
2989
2990 2017-12-13 Pedro Alves <palves@redhat.com>
2991
2992 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
2993 Tighten regexp by matching with an anchor.
2994
2995 2017-12-13 Pedro Alves <palves@redhat.com>
2996
2997 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
2998 ("expression with namespace"): New set of tests.
2999 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
3000 (Nested::Test_NS::qux): New.
3001 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
3002 defaults to 'start_quote_char' and 'end_quote_char' parameters.
3003
3004 2017-12-13 Joel Brobecker <brobecker@adacore.com>
3005
3006 * gdb.base/server-del-break.c: New file.
3007 * gdb.base/server-del-break.exp: New file.
3008
3009 2017-12-12 Stafford Horne <shorne@gmail.com>
3010
3011 * gdb.xml/tdesc-regs.exp: Add or1k support.
3012
3013 2017-12-12 Stafford Horne <shorne@gmail.com>
3014
3015 * gdb.base/bp-permanent.c: Define nop of or1k.
3016
3017 2017-12-11 Joel Brobecker <brobecker@adacore.com>
3018
3019 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
3020 output with components being reordered.
3021
3022 2017-12-11 Joel Brobecker <brobecker@adacore.com>
3023
3024 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
3025 output with components being reordered.
3026
3027 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3028 Pedro Alves <palves@redhat.com>
3029
3030 * gdb.base/maint.exp (check for .gdb_index): Check also for
3031 .debug_names.
3032 * gdb.dlang/watch-loc.c (.debug_aranges): New.
3033 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
3034 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
3035 (.gdb_index used after symbol reloading): Support also .debug_names.
3036 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
3037
3038 2017-12-08 Yao Qi <yao.qi@linaro.org>
3039
3040 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
3041 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
3042
3043 2017-12-08 Yao Qi <yao.qi@linaro.org>
3044
3045 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
3046 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
3047
3048 2017-12-08 Yao Qi <yao.qi@linaro.org>
3049
3050 * gdb.arch/aarch64-tagged-pointer.c: New file.
3051 * gdb.arch/aarch64-tagged-pointer.exp: New file.
3052
3053 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
3054
3055 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
3056 "int".
3057
3058 2017-12-07 Keith Seitz <keiths@redhat.com>
3059
3060 PR breakpoints/22569
3061 * gdb.linespec/ls-errs.exp: Change expected result of "break
3062 -source this file has spaces.c -line 3".
3063 Check that an explicit source file followed by whitespace is
3064 identified as an invalid explicit location.
3065
3066 2017-12-07 Keith Seitz <keiths@redhat.com>
3067
3068 * gdb.cp/nested-types.cc: New file.
3069 * gdb.cp/nested-types.exp: New file.
3070 * lib/cp-support.exp: Load data-structures.exp library.
3071 (debug_cp_test_ptype_class): New global.
3072 (cp_ptype_class_verbose, next_line): New procedures.
3073 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
3074 Add and document new return value.
3075 Switch the list of lines to a queue.
3076 Add support for new `type' key for nested type definitions.
3077 Add debugging/troubleshooting messages.
3078 * lib/data-structures.exp: New file.
3079
3080 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
3081
3082 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
3083 with proc_with_prefix, don't use with_test_prefix.
3084
3085 2017-12-07 Tom Tromey <tom@tromey.com>
3086
3087 * gdb.base/break.exp: Add test for empty "commands".
3088
3089 2017-12-07 Yao Qi <yao.qi@linaro.org>
3090
3091 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
3092 malloc and catch syscall.
3093
3094 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
3095
3096 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
3097 tests for explicit locations.
3098
3099 2017-12-06 Pedro Alves <palves@redhat.com>
3100
3101 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
3102 force-disabling XML descriptions.
3103
3104 2017-12-04 Pedro Alves <palves@redhat.com>
3105
3106 PR gdb/22499
3107 * gdb.arch/amd64-disp-step-avx.S: New file.
3108 * gdb.arch/amd64-disp-step-avx.exp: New file.
3109
3110 2017-12-03 Pedro Alves <palves@redhat.com>
3111
3112 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
3113 and <string.h>.
3114 (parent_function): Print distinct messages when waitpid fails, or
3115 the child exits with a signal, or the child exits for an unhandled
3116 reason.
3117 * gdb.threads/process-dies-while-detaching.exp
3118 (detach_and_expect_exit): New 'inf_output_re' parameter and use
3119 it. Wait for both inferior output and GDB's prompt. Use an
3120 indirect spawn id list.
3121 (do_detach): New parameter 'child_exit'. Use it to compute
3122 expected inferior output.
3123 (test_detach, test_detach_watch, test_detach_killed_outside):
3124 Adjust to pass down the expected child exit kind.
3125
3126 2017-12-01 Joel Brobecker <brobecker@adacore.com>
3127 Sergio Durigan Junior <sergiodj@redhat.com>
3128 Pedro Alves <palves@redhat.com>
3129
3130 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
3131
3132 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
3133
3134 * gdb.base/relocate.exp: Add tests to guarantee that arguments
3135 to 'symbol-file' and 'add-symbol-file' can be
3136 position-independent.
3137
3138 2017-12-01 Yao Qi <yao.qi@linaro.org>
3139
3140 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
3141 the URL in copyright header.
3142 * gdb.arch/aarch64-fp.exp: Likewise.
3143 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
3144 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
3145 * gdb.base/expand-psymtabs.exp: Likewise.
3146 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
3147 * gdb.fortran/common-block.exp: Likewise.
3148 * gdb.fortran/common-block.f90: Likewise.
3149 * gdb.fortran/logical.exp: Likewise.
3150 * gdb.fortran/vla-datatypes.f90: Likewise.
3151 * gdb.fortran/vla-sub.f90: Likewise.
3152
3153 2017-11-30 Joel Brobecker <brobecker@adacore.com>
3154
3155 * gdb.ada/repeat_dyn: New testcase.
3156
3157 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
3158
3159 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
3160 Update for changed thread numbering.
3161 * gdb.cell/bt.exp: Update for changed GDB output.
3162
3163 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
3164
3165 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
3166 setting isremote by hand.
3167 * boards/dwarf4-gdb-index.exp: Likewise.
3168 * boards/fission.exp: Likewise.
3169 * boards/stabs.exp: Likewise.
3170
3171 2017-11-30 Pedro Alves <palves@redhat.com>
3172
3173 * gdb.linespec/cpls-ops.exp
3174 (check_explicit_skips_function_argument): Extract the underlying
3175 type of size_t instead of hardcoding it.
3176
3177 2017-11-29 Pedro Alves <palves@redhat.com>
3178
3179 PR c++/19436
3180 * gdb.linespec/cpls-abi-tag.cc: New file.
3181 * gdb.linespec/cpls-abi-tag.exp: New file.
3182
3183 2017-11-29 Pedro Alves <palves@redhat.com>
3184
3185 * gdb.base/langs.exp: Use -qualified.
3186 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
3187 it.
3188 * gdb.cp/namespace.exp: Use -qualified.
3189 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
3190 (overload-3, template-overload, template-ret-type, const-overload)
3191 (const-overload-quoted, anon-ns, ambiguous-prefix): New
3192 procedures.
3193 (test_driver): Call them.
3194 * gdb.cp/save-bp-qualified.cc: New.
3195 * gdb.cp/save-bp-qualified.exp: New.
3196 * gdb.linespec/explicit.exp: Test -qualified.
3197 * lib/completion-support.exp (completion::explicit_opts_list): Add
3198 "-qualified".
3199 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
3200
3201 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
3202
3203 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
3204
3205 2017-11-29 Tom Tromey <tom@tromey.com>
3206
3207 * gdb.base/relocate.exp: Update invalid argument test.
3208 Add new tests for invalid arguments.
3209
3210 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
3211
3212 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
3213 Return 0 as a long.
3214 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
3215
3216 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
3217
3218 * gdb.cp/breakpoint.cc (bar): Set return type to void.
3219 * gdb.cp/psymtab-parameter.cc (func): Likewise.
3220 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
3221 func ().
3222 * gdb.cp/shadow.cc (B.func): Return 0.
3223
3224 2017-11-27 Joel Brobecker <brobecker@adacore.com>
3225
3226 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
3227 expected output in gdb_expect call to allow the exception
3228 message to be present as well. Fix syntax confusion to avoid
3229 TCL thinking that exception_name is an array.
3230
3231 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
3232
3233 * gdb.arch/spu-info.c: Include <unistd.h>.
3234 (do_signal_test): Fix broken calls to write.
3235 * gdb.arch/spu-info.exp: Use prepare_for_testing.
3236 Fix checks for empty mailboxes. Update signal tests for corrected
3237 do_signal_test routine. Allow nonzero event status.
3238 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
3239 * gdb.cell/arch.exp: Use standard_output_file.
3240 * gdb.cell/break.exp: Likewise.
3241 * gdb.cell/bt.exp: Likewise.
3242 * gdb.cell/core.exp: Likewise.
3243 * gdb.cell/dwarfaddr.exp: Likewise.
3244 * gdb.cell/ea-cache.exp: Likewise.
3245 * gdb.cell/ea-standalone.exp: Likewise.
3246 * gdb.cell/f-regs.exp: Likewise.
3247 * gdb.cell/fork.exp: Likewise.
3248 * gdb.cell/gcore.exp: Likewise.
3249 * gdb.cell/mem-access.exp: Likewise.
3250 * gdb.cell/ptype.exp: Likewise.
3251 * gdb.cell/registers.exp: Likewise.
3252 * gdb.cell/sizeof.exp: Likewise.
3253 * gdb.cell/solib-symbol.exp: Likewise.
3254 * gdb.cell/solib.exp: Likewise.
3255
3256 2017-11-25 Pedro Alves <palves@redhat.com>
3257
3258 * gdb.base/complete-empty.exp: New file.
3259 * gdb.base/completion.exp: Adjust.
3260
3261 2017-11-25 Pedro Alves <palves@redhat.com>
3262
3263 * gdb.linespec/cpls-ops.cc: New file.
3264 * gdb.linespec/cpls-ops.exp: New file.
3265 * lib/completion-support.exp (test_complete_prefix_range_re): New,
3266 factored out from ...
3267 (test_complete_prefix_range): ... this.
3268
3269 2017-11-24 Pedro Alves <palves@redhat.com>
3270
3271 * gdb.linespec/cpcompletion.exp: New file.
3272 * gdb.linespec/cpls-hyphen.cc: New file.
3273 * gdb.linespec/cpls.cc: New file.
3274 * gdb.linespec/cpls2.cc: New file.
3275 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
3276 test to use test_gdb_complete_unique. Add label completion,
3277 keyword completion and explicit location completion tests.
3278 * lib/completion-support.exp: New file.
3279
3280 2017-11-24 Joel Brobecker <brobecker@adacore.com>
3281
3282 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
3283 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
3284 when hitting an exception catchpoint.
3285
3286 2017-11-22 Yao Qi <yao.qi@linaro.org>
3287
3288 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
3289
3290 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
3291
3292 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
3293 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
3294 * gdb.dwarf2/info-locals-optimized-out.c: New file.
3295
3296 2017-11-22 Yao Qi <yao.qi@linaro.org>
3297
3298 * gdb.base/info-os.exp: Pass pthreads.
3299 * gdb.multi/multi-attach.exp: Likewise.
3300
3301 2017-11-22 Yao Qi <yao.qi@linaro.org>
3302
3303 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
3304 compiler.
3305
3306 2017-11-22 Yao Qi <yao.qi@linaro.org>
3307
3308 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
3309 * gdb.base/break-interp.exp: Likewise.
3310 * gdb.base/jit-attach-pie.exp: Likewise.
3311
3312 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
3313
3314 * gdb.base/float128.c (large128): New variable.
3315 * gdb.base/float128.exp: Add test to print largest __float128 value.
3316
3317 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
3318
3319 * gdb.arch/vsx-regs.exp: Update register content checks.
3320
3321 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
3322
3323 * gdb.arch/ppc-longdouble.exp: New file.
3324 * gdb.arch/ppc-longdouble.c: Likewise.
3325
3326 2017-11-21 Pedro Alves <palves@redhat.com>
3327
3328 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
3329
3330 2017-11-20 Pedro Alves <palves@redhat.com>
3331
3332 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
3333 (long_double_typedef): New typedefs.
3334 Use DEF on double and long double.
3335 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
3336 cases.
3337 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
3338 and 'long_double_ptr_same_size' locals. Use them to decide
3339 whether cast from array/function to float is valid/invalid.
3340
3341 2017-11-17 Tom Tromey <tom@tromey.com>
3342
3343 * gdb.rust/traits.rs: New file.
3344 * gdb.rust/traits.exp: New file.
3345
3346 2017-11-17 Joel Brobecker <brobecker@adacore.com>
3347
3348 * gdb.ada/minsyms: New testcase.
3349
3350 2017-11-16 Pedro Alves <palves@redhat.com>
3351
3352 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
3353 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
3354
3355 2017-11-16 Pedro Alves <palves@redhat.com>
3356
3357 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
3358 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
3359
3360 2017-11-16 Pedro Alves <palves@redhat.com>
3361
3362 * gdb.server/reconnect-ctrl-c.c: New file.
3363 * gdb.server/reconnect-ctrl-c.exp: New file.
3364
3365 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
3366
3367 * gdb.python/py-rbreak.exp: New file.
3368 * gdb.python/py-rbreak.c: New file.
3369 * gdb.python/py-rbreak-func2.c: New file.
3370
3371 2017-11-16 Pedro Alves <palves@redhat.com>
3372
3373 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
3374 pattern.
3375 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
3376 GDB.
3377
3378 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
3379
3380 * gdb.tui/completionn.exp (test_tab_completion): Add space in
3381 regex.
3382
3383 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
3384
3385 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
3386 test names.
3387
3388 2017-11-09 Pedro Alves <palves@redhat.com>
3389
3390 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
3391 factored out from ...
3392 (top level): ... here, and adjusted to avoid expecting beyond the
3393 prompt in a single gdb_test_multiple.
3394
3395 2017-11-09 Pedro Alves <palves@redhat.com>
3396
3397 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
3398 output.
3399 * gdb.server/ext-attach.exp ("kill" test): Likewise.
3400 * gdb.server/ext-restart.exp ("kill" test): Likewise.
3401 * gdb.server/ext-run.exp ("kill" test): Likewise.
3402 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
3403
3404 2017-11-09 Pedro Alves <palves@redhat.com>
3405
3406 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
3407 match till end of line.
3408
3409 2017-11-09 Pedro Alves <palves@redhat.com>
3410
3411 * gdb.base/memattr.exp: Tighten regexes to match the end line.
3412
3413 2017-11-09 Pedro Alves <palves@redhat.com>
3414
3415 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
3416 New procedures, factored out from ...
3417 (top level): ... here, and adjusted to avoid expecting beyond the
3418 prompt in one go.
3419
3420 2017-11-09 Pedro Alves <palves@redhat.com>
3421
3422 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
3423 output. Fix '?' match.
3424
3425 2017-11-08 Joel Brobecker <brobecker@adacore.com>
3426
3427 * gdb.ada/scoped_watch: New testcase.
3428 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
3429 which is actually correct.
3430 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
3431 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
3432
3433 2017-11-08 Pedro Alves <palves@redhat.com>
3434
3435 * gdb.gdb/complaints.exp (test_initial_complaints)
3436 (test_serial_complaints, test_short_complaints): Call
3437 complaint_internal instead of complaint.
3438
3439 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
3440
3441 * gdb.threads/tls-core.c: New file.
3442 * gdb.threads/tls-core.exp: Likewise.
3443
3444 2017-11-08 Pedro Alves <palves@redhat.com>
3445
3446 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
3447 (p Exported_Capitalized): New test.
3448 (p exported_capitalized): New test.
3449
3450 2017-11-07 Pedro Alves <palves@redhat.com>
3451
3452 * gdb.cp/ena-dis-br-range.exp: Add more tests.
3453
3454 2017-11-07 Pedro Alves <palves@redhat.com>
3455
3456 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
3457 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
3458 (disable_invalid, disable_inverted, disable_negative): New
3459 procedures.
3460 ("bad numbers"): New set of tests.
3461
3462 2017-11-07 Pedro Alves <palves@redhat.com>
3463
3464 * gdb.cp/ena-dis-br-range.exp: Add tests.
3465
3466 2017-11-07 Pedro Alves <palves@redhat.com>
3467
3468 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
3469
3470 2017-11-07 Xavier Roirand <roirand@adacore.com>
3471 Pedro Alves <palves@redhat.com>
3472
3473 * gdb.base/ena-dis-br.exp: Add reference to
3474 gdb.cp/ena-dis-br-range.exp.
3475 * gdb.cp/ena-dis-br-range.exp: New file.
3476 * gdb.cp/ena-dis-br-range.cc: New file.
3477
3478 2017-11-06 Pedro Alves <palves@redhat.com>
3479
3480 * gdb.base/attach-non-pgrp-leader.c: New.
3481 * gdb.base/attach-non-pgrp-leader.exp: New.
3482
3483 2017-11-06 Pedro Alves <palves@redhat.com>
3484
3485 * configure.ac: No longer check for termio.h and sgtty.h.
3486 * configure: Regenerate.
3487 * remote-utils.c: Include termios.h instead of gdb_termios.h.
3488 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
3489 Remove termio and sgtty code.
3490
3491 2017-11-03 Yao Qi <yao.qi@linaro.org>
3492
3493 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
3494 in GDB is disabled.
3495
3496 2017-11-03 Yao Qi <yao.qi@linaro.org>
3497
3498 * gdb.python/py-thrhandle.exp: Skip it if python is not
3499 enabled.
3500
3501 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
3502
3503 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
3504 as a breakpoint command.
3505
3506 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
3507
3508 PR python/21213
3509 * gdb.python/py-infthread.exp: Test calling
3510 InferiorThread.inferior () multiple times in a row.
3511
3512 2017-10-27 Keith Seitz <keiths@redhat.com>
3513
3514 * gdb.opt/inline-break.exp (break_info_1): New procedure.
3515 Test "info break" for every inlined function breakpoint.
3516
3517 2017-10-27 Yao Qi <yao.qi@linaro.org>
3518
3519 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
3520
3521 2017-10-26 Patrick Frants <osscontribute@gmail.com>
3522
3523 * gdb.cp/classes.exp (test_static_members): Test printing
3524 Outer::instance.
3525 * gdb.cp/classes.c (struct Inner, struct Outer): New.
3526 (Inner::instance, Outer::instance): New.
3527
3528 2017-10-24 Pedro Alves <palves@redhat.com>
3529
3530 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
3531 extra console" test in two stages.
3532
3533 2017-10-24 Pedro Alves <palves@redhat.com>
3534
3535 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
3536
3537 2017-10-24 Pedro Alves <palves@redhat.com>
3538
3539 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
3540 loop.
3541
3542 2017-10-24 Pedro Alves <palves@redhat.com>
3543
3544 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
3545 $attempt" and "stoppedtry $stoppedtry" test prefixes.
3546
3547 2017-10-24 Pedro Alves <palves@redhat.com>
3548
3549 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
3550 parameter and handle it. Don't output read value in test name.
3551
3552 2017-10-24 Pedro Alves <palves@redhat.com>
3553
3554 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
3555 custom test name.
3556
3557 2017-10-24 Pedro Alves <palves@redhat.com>
3558
3559 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
3560 include the unstable output directory name in the test's name.
3561 (initial_setup_simple) <'set args'>: Use custom test name.
3562
3563 2017-10-24 Pedro Alves <palves@redhat.com>
3564
3565 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
3566 with explicit test name.
3567
3568 2017-10-20 Pedro Alves <palves@redhat.com>
3569
3570 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
3571 'wait -i'. Use gdb_assert and remote_close.
3572
3573 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
3574
3575 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
3576 number from variable rather than hard-coded.
3577
3578 2017-10-19 Pedro Alves <palves@redhat.com>
3579
3580 * gdb.base/long-inferior-output.c: New file.
3581 * gdb.base/long-inferior-output.exp: New file.
3582
3583 2017-11-18 Keith Seitz <keiths@redhat.com>
3584
3585 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
3586 method.
3587 (main): Call it.
3588 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
3589 Add additional user-defined conversion operator tests.
3590
3591 2017-10-17 Pedro Alves <palves@redhat.com>
3592
3593 * boards/native-stdio-gdbserver.exp: Load "local-board".
3594
3595 2017-10-17 Pedro Alves <palves@redhat.com>
3596
3597 * gdb.base/quit-live.c: New file.
3598 * gdb.base/quit-live.exp: New file.
3599
3600 2017-10-16 Keith Seitz <keiths@redhat.com>
3601
3602 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
3603 (class_with_protected_typedef, class_with_private_typedef)
3604 (struct_with_public_typedef, struct_with_protected_typedef)
3605 (struct_with_private_typedef): New classes/structs.
3606 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
3607 typedefs and access specifiers.
3608
3609 2017-10-16 Pedro Alves <palves@redhat.com>
3610 Simon Marchi <simon.marchi@polymtl.ca>
3611
3612 * README (Local vs Remote vs Native): New section.
3613 * boards/local-board.exp: New file, with bits factored out from
3614 ...
3615 * boards/native-extended-gdbserver.exp: ... here. Load
3616 "local-board".
3617 * boards/native-gdbserver.exp: Load "local-board".
3618 (${board}_spawn, ${board}_exec): Delete.
3619 * boards/native-stdio-gdbserver.exp: Most contents factored out to
3620 ...
3621 * boards/stdio-gdbserver-base.exp: ... this new file.
3622 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
3623 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
3624 procedure.
3625 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
3626 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
3627 stdio_gdbserver_command.
3628 (${board}_get_remote_address, ${board}_get_comm_port)
3629 (${board}_download, ${board}_upload): Delete.
3630 (get_target_remote_pipe_cmd): New.
3631
3632 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
3633
3634 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
3635 test_bkpt_deletion, test_bkpt_cond_and_cmds,
3636 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
3637 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
3638 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
3639 remove with_test_prefix.
3640
3641 2017-10-13 Pedro Alves <palves@redhat.com>
3642
3643 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
3644 * gdb.base/annota1.exp: Use it instead of is_remote.
3645 * gdb.base/annota3.exp: Use it instead of is_remote.
3646 * gdb.cp/annota2.exp: Use it instead of is_remote.
3647 * gdb.cp/annota3.exp: Use it instead of is_remote.
3648 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
3649
3650 2017-10-13 Pedro Alves <palves@redhat.com>
3651
3652 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
3653 (test_num_test_vars, run_and_count_vars, find_env)
3654 (test_set_unset_env, test_inherit_env_var): New procedures.
3655 (top level): Use them.
3656
3657 2017-10-13 Pedro Alves <palves@redhat.com>
3658
3659 * lib/selftest-support.exp (selftest_setup): Extend comments, and
3660 also skip on stub-like targets.
3661
3662 2017-10-13 Pedro Alves <palves@redhat.com>
3663
3664 PR gdb/22293
3665 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
3666 (top level): Move some tests to ...
3667 (test_not_found): ... this new procedure.
3668 (top level): Call it.
3669
3670 2017-10-13 Pedro Alves <palves@redhat.com>
3671
3672 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
3673 expect different "info terminal" output if testing with a
3674 non-native target.
3675
3676 2017-10-13 Pedro Alves <palves@redhat.com>
3677 Simon Marchi <simon.marchi@polymtl.ca>
3678
3679 PR python/12966
3680 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
3681
3682 2017-10-13 Pedro Alves <palves@redhat.com>
3683
3684 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
3685 already.
3686
3687 2017-10-13 Pedro Alves <palves@redhat.com>
3688
3689 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
3690 is_remote.
3691
3692 2017-10-13 Pedro Alves <palves@redhat.com>
3693
3694 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
3695 is_remote.
3696
3697 2017-10-13 Pedro Alves <palves@redhat.com>
3698
3699 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
3700 is set.
3701 (corefile_test_attach): Likewise. Check can_spawn_for_attach
3702 instead of is_remote.
3703
3704 2017-10-13 Pedro Alves <palves@redhat.com>
3705
3706 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
3707 (top level): Add comment.
3708
3709 2017-10-13 Pedro Alves <palves@redhat.com>
3710
3711 * gdb.base/remote.exp (top level): Fix comment typo and add
3712 missing return.
3713
3714 2017-10-13 Pedro Alves <palves@redhat.com>
3715 Simon Marchi <simon.marchi@polymtl.ca>
3716
3717 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
3718 calls and add comments. Skip test if use_gdb_stub is set.
3719 (top level): Use "set cwd" command instead of "cd" command.
3720
3721 2017-10-13 Pedro Alves <palves@redhat.com>
3722
3723 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
3724 is_remote target check.
3725
3726 2017-10-13 Pedro Alves <palves@redhat.com>
3727
3728 * gdb.base/scope.exp: Use build_executable + clean_restart +
3729 gdb_file_cmd instead of prepare_for_testing and no longer skip
3730 "before run" tests on is_remote target boards. Update comments.
3731 * boards/native-extended-gdbserver.exp
3732 (extended_gdbserver_load_last_file): New, factored out from ...
3733 (gdb_load): ... this. Move further below and add comment.
3734 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
3735
3736 2017-10-12 Pedro Alves <palves@redhat.com>
3737
3738 * gdb.base/attach.exp: Remove references to gdb64.
3739 * gdb.base/dbx.exp: Remove references to gdb64.
3740
3741 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
3742 Pedro Alves <palves@redhat.com>
3743
3744 * gdb.base/label.exp: Remove is_remote target check.
3745
3746 2017-10-12 Pedro Alves <palves@redhat.com>
3747
3748 * gdb.base/auvx.exp (coredir): Update comment.
3749 (top level) <core_works>: Use "set cwd" command instead of "cd"
3750 command.
3751
3752 2017-10-12 Pedro Alves <palves@redhat.com>
3753 Simon Marchi <simon.marchi@polymtl.ca>
3754
3755 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
3756 target boards.
3757
3758 2017-10-12 Pedro Alves <palves@redhat.com>
3759 Simon Marchi <simon.marchi@polymtl.ca>
3760
3761 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
3762 Instead skip if there's any gdb_protocol set.
3763
3764 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
3765 Pedro Alves <palves@redhat.com>
3766
3767 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
3768
3769 2017-10-12 Pedro Alves <palves@redhat.com>
3770 Simon Marchi <simon.marchi@polymtl.ca>
3771
3772 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
3773 instead of on dejagnu remote boards.
3774
3775 2017-10-12 Pedro Alves <palves@redhat.com>
3776 Simon Marchi <simon.marchi@polymtl.ca>
3777
3778 * gdb.base/inferior-died.exp: Remove is_remote and isnative
3779 checks. Use build_executable + clean_restart instead of
3780 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
3781 of enabling non-stop after starting gdb.
3782
3783 2017-10-12 Pedro Alves <palves@redhat.com>
3784
3785 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
3786 * gdb.threads/non-ldr-exc-2.exp: Ditto.
3787 * gdb.threads/non-ldr-exc-3.exp: Ditto.
3788 * gdb.threads/non-ldr-exc-4.exp: Ditto.
3789
3790 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
3791
3792 * gdb.arch/arc-tdesc-cpu.exp: New file.
3793 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
3794
3795 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
3796
3797 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
3798
3799 2017-10-10 Pedro Alves <palves@redhat.com>
3800
3801 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
3802 expect CLI output.
3803
3804 2017-10-10 Pedro Alves <palves@redhat.com>
3805
3806 * lib/selftest-support.exp (selftest_setup): Update for
3807 captured_command_loop's prototype change.
3808
3809 2017-10-09 Pedro Alves <palves@redhat.com>
3810
3811 Test both arch1=>arch2 and arch2=>arch1.
3812
3813 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
3814 (srcfile2, binfile2, march1, march2): Remove globals. Largely
3815 factored out to...
3816 (append_arch1_options, append_arch2_options, append_arch_options)
3817 (build_executables): New procedures.
3818 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
3819 local.
3820 (top level): Add new 'first_arch' testing axis.
3821
3822 2017-10-09 Pedro Alves <palves@redhat.com>
3823
3824 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
3825 (barrier): New.
3826 (thread_start, all_started): New functions.
3827 (main): Spawn new thread and wait until it is scheduled.
3828 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
3829 option.
3830 (do_test): Add 'selected_thread' parameter. Run to all_started
3831 instead of main. Explicitly set the breakpoint at main. Switch
3832 to the SELECTED_THREAD thread.
3833 (top level): Test handling the exec event with either the main
3834 thread or the second thread selected.
3835
3836 2017-10-09 Pedro Alves <palves@redhat.com>
3837
3838 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
3839 logic. Move STOP marker after the value checks.
3840 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
3841 regexp.
3842
3843 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
3844
3845 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
3846
3847 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
3848
3849 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
3850 integer-to-dfp conversion.
3851 * gdb.base/dfp-test.exp: Likewise.
3852
3853 2017-10-04 Pedro Alves <palves@redhat.com>
3854
3855 * gdb.multi/hangout.c: Include <unistd.h>.
3856 (hangout_loop): New function.
3857 (main): Call alarm. Call hangout_loop in a loop.
3858 * gdb.multi/hello.c: Include <unistd.h>.
3859 (hello_loop): New function.
3860 (main): Call alarm. Call hangout_loop in a loop.
3861 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
3862 inferior with the other selected.
3863
3864 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
3865
3866 * gdb.mi/list-thread-groups-available.exp: New file.
3867 * gdb.mi/list-thread-groups-available.c: New file.
3868
3869 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
3870
3871 * gdb.base/set-cwd.exp: Make it available on
3872 native-extended-gdbserver.
3873
3874 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
3875
3876 * gdb.base/set-cwd.c: New file.
3877 * gdb.base/set-cwd.exp: Likewise.
3878
3879 2017-10-02 Tom Tromey <tom@tromey.com>
3880
3881 PR rust/22236:
3882 * gdb.rust/simple.rs (main): New variable "fslice".
3883 * gdb.rust/simple.exp: Add slice tests. Update string tests.
3884
3885 2017-10-02 Tom Tromey <tom@tromey.com>
3886
3887 * gdb.rust/simple.exp: Test ptype of a slice.
3888
3889 2017-10-02 Tom Tromey <tom@tromey.com>
3890
3891 * gdb.rust/simple.exp: Test index of slice.
3892
3893 2017-09-27 Tom Tromey <tom@tromey.com>
3894
3895 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
3896
3897 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
3898 Pedro Alves <palves@redhat.com>
3899
3900 * gdb.base/compare-sections.exp (get value of read-only section): Read
3901 as unsigned value.
3902 (corrupt read-only section): Likewise and don't set written if patching
3903 failed.
3904
3905 2017-09-21 Kevin Buettner <kevinb@redhat.com>
3906
3907 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
3908 files.
3909
3910 2017-09-20 Pedro Alves <palves@redhat.com>
3911
3912 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
3913 symbol names in gdb's output.
3914 * gdb.cp/overload.exp ("list all overloads"): Likewise.
3915
3916 2017-09-20 Pedro Alves <palves@redhat.com>
3917
3918 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
3919 Rename to ...
3920 (test_list_ambiguous_symbol): ... this and add a symbol name
3921 parameter. Adjust.
3922 (test_list_ambiguous_function): Reimplement on top of
3923 test_list_ambiguous_symbol and also test listing ambiguous
3924 variables.
3925 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
3926 (ambiguous_fun): ... this.
3927 (ambiguous_var): New.
3928 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
3929 (ambiguous_fun): ... this.
3930 (ambiguous_var): New.
3931
3932 2017-09-19 John Baldwin <jhb@FreeBSD.org>
3933
3934 * gdb.base/starti.c: New file.
3935 * gdb.base/starti.exp: New file.
3936 * lib/gdb.exp (gdb_starti_cmd): New procedure.
3937
3938 2017-09-14 Pedro Alves <palves@redhat.com>
3939
3940 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
3941 (top level): Use it instead of runto.
3942
3943 2017-09-11 Tom Tromey <tom@tromey.com>
3944
3945 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
3946
3947 2017-09-11 Tom Tromey <tom@tromey.com>
3948
3949 * gdb.python/py-infthread.exp: Add tests for new_thread event.
3950 * gdb.python/py-inferior.exp: Add tests for new inferior events.
3951
3952 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
3953
3954 * gdb.fortran/printing-types.exp: New file.
3955 * gdb.fortran/printing-types.exp: New file.
3956
3957 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
3958
3959 * gdb.fortran/vla-ptype.exp: Fix typos.
3960 * gdb.fortran/vla-value.exp: Same.
3961
3962 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
3963
3964 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
3965 * gdb.mi/mi-var-child-f.exp: Likewise.
3966 * gdb.mi/mi-vla-fortran.exp: Likewise.
3967
3968 2017-09-08 Frank Penczek <frank.penczek@intel.com>
3969 Christoph Weinmann <christoph.t.weinmann@intel.com>
3970 Bernhard Heckel <bernhard.heckel@intel.com>
3971
3972 * gdb.fortran/ptr-indentation.f90: New file.
3973 * gdb.fortran/ptr-indentation.exp: New file.
3974
3975 2017-09-05 Tom Tromey <tom@tromey.com>
3976
3977 PR gdb/22010:
3978 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
3979
3980 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
3981
3982 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
3983
3984 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3985
3986 * gdb.threads/tls-nodebug-pie.c: New file.
3987 * gdb.threads/tls-nodebug-pie.exp: New file.
3988
3989 2017-09-05 Tom Tromey <tom@tromey.com>
3990
3991 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
3992 for rust.
3993
3994 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
3995
3996 * gdb.multi/multi-arch-exec.exp: Test with different
3997 "follow-exec-mode" settings.
3998 (do_test): New procedure.
3999
4000 2017-09-04 Pedro Alves <palves@redhat.com>
4001
4002 * gdb.base/func-static.c (S::method const, S::method volatile)
4003 (S::method volatile const): New methods.
4004 (c_s, v_s, cv_s): New instances.
4005 (main): Call method() on them.
4006 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
4007 (cannot_resolve): New procedure.
4008 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
4009 print-quote-unquoted columns.
4010 (do_test): Test printing each scope too.
4011
4012 2017-09-04 Pedro Alves <palves@redhat.com>
4013
4014 * gdb.base/local-static.exp: Also test with
4015 class::method::variable wholly quoted.
4016 * gdb.cp/m-static.exp (class::method::variable): Remove test.
4017
4018 2017-09-04 Pedro Alves <palves@redhat.com>
4019
4020 * gdb.base/local-static.c: New.
4021 * gdb.base/local-static.cc: New.
4022 * gdb.base/local-static.exp: New.
4023
4024 2017-09-04 Pedro Alves <palves@redhat.com>
4025
4026 * gdb.asm/asm-source.exp: Add casts to int.
4027 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
4028 (dataglobal64_1, dataglobal64_2): New globals.
4029 * gdb.base/nodebug.exp: Test different expressions involving the
4030 new globals, with print, whatis and ptype. Add casts to int.
4031 * gdb.base/solib-display.exp: Add casts to int.
4032 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
4033 * gdb.cp/m-static.exp: Add cast to int.
4034 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
4035 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
4036 tls variable with no debug info without a cast. Test with a cast
4037 to int too.
4038 * gdb.trace/entry-values.exp: Add casts.
4039
4040 2017-09-04 Pedro Alves <palves@redhat.com>
4041
4042 * gdb.base/nodebug.exp: Test that ptype's error about functions
4043 with unknown return type includes the function name too.
4044
4045 2017-09-04 Pedro Alves <palves@redhat.com>
4046
4047 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
4048 return type of munmap in infcall.
4049 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
4050 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
4051 type of ftell in infcall.
4052 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
4053 type of getpid in infcall.
4054 * gdb.base/infcall-exec.exp: Cast return type of execlp in
4055 infcall.
4056 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
4057 Bail on failure to extract the pid.
4058 * gdb.base/nodebug.c: #include <stdint.h>.
4059 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
4060 New functions.
4061 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
4062 Change expected output of print/whatis/ptype with functions with
4063 no debug info. Test all supported languages. Call
4064 test_call_promotion.
4065 * gdb.compile/compile.exp: Adjust expected output to expect
4066 warning.
4067 * gdb.threads/siginfo-threads.exp: Likewise.
4068
4069 2017-09-04 Pedro Alves <palves@redhat.com>
4070
4071 * gdb.base/callfuncs.exp (do_function_calls): New parameter
4072 "prototypes". Test calling float functions via prototyped and
4073 unprototyped function pointers.
4074 (perform_all_tests): New parameter "prototypes". Pass it down.
4075 (top level): Pass down "prototypes" parameter to
4076 perform_all_tests.
4077
4078 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
4079
4080 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
4081 Test with nested loops.
4082
4083 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
4084
4085 * gdb.base/commands.exp: Call the new procedures.
4086 (loop_break_test, loop_continue_test): New procedures.
4087
4088 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
4089
4090 * gdb.base/commands.exp: Call new procedure.
4091 (define_if_without_arg_test): New procedure.
4092
4093 2017-09-04 Pedro Alves <palves@redhat.com>
4094
4095 * gdb.base/list-ambiguous.exp: New file.
4096 * gdb.base/list-ambiguous0.c: New file.
4097 * gdb.base/list-ambiguous1.c: New file.
4098 * gdb.base/list.exp (test_list_range): Adjust expected output.
4099
4100 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
4101
4102 * gdb.base/share-env-with-gdbserver.c: New file.
4103 * gdb.base/share-env-with-gdbserver.exp: Likewise.
4104
4105 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
4106
4107 * gdb.base/commands.exp (gdbvar_simple_if_test,
4108 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
4109 progvar_simple_if_test, progvar_simple_while_test,
4110 progvar_complex_if_while_test, user_defined_command_test,
4111 user_defined_command_args_eval,
4112 user_defined_command_args_stack_test,
4113 user_defined_command_manyargs_test, bp_deleted_in_command_test,
4114 temporary_breakpoint_commands,
4115 gdb_test_no_prompt, redefine_hook_test,
4116 redefine_backtrace_test): Remove "global gdb_prompt".
4117
4118 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
4119
4120 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
4121 New proc, call it from toplevel.
4122
4123 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
4124
4125 PR remote/21852
4126 * gdb.server/normal.c: New file, copied from gdb.base.
4127 * gdb.server/run-without-local-binary.exp: New file.
4128
4129 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
4130
4131 * gdb.arch/sparc64-adi.exp: New file.
4132 * gdb.arch/sparc64-adi.c: New file.
4133
4134 2017-08-22 Pedro Alves <palves@redhat.com>
4135
4136 * gdb.cp/overload.exp (line_range_pattern): New procedure.
4137 (top level): Add "list all overloads" tests.
4138
4139 2017-08-22 Tom Tromey <tom@tromey.com>
4140
4141 * gdb.gdb/xfullpath.exp: Remove.
4142
4143 2017-08-21 Pedro Alves <palves@redhat.com>
4144
4145 PR gdb/19487
4146 * gdb.base/symbol-alias.c: New.
4147 * gdb.base/symbol-alias2.c: New.
4148 * gdb.base/symbol-alias.exp: New.
4149
4150 2017-08-21 Pedro Alves <palves@redhat.com>
4151
4152 * gdb.base/dfp-test.c
4153 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
4154 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
4155 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
4156 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
4157 * gdb.base/whatis-ptype-typedefs.c: New.
4158 * gdb.base/whatis-ptype-typedefs.exp: New.
4159 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
4160 (an_int, an_int_type, an_int_type2): New globals.
4161 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
4162 involving typedefs and cast expressions.
4163 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
4164 (lookup_typedefs_function): New.
4165 (typedefs_pretty_printers_dict): New.
4166 (top level): Register lookup_typedefs_function in
4167 gdb.pretty_printers.
4168
4169 2017-08-18 Yao Qi <yao.qi@linaro.org>
4170
4171 * gdb.server/unittest.exp: New.
4172
4173 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
4174
4175 PR gdb/21954
4176 * gdb.base/environ.exp: Add test to check if 'unset environment'
4177 works.
4178
4179 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
4180
4181 * lib/gdb.exp (universal_compile_options): New caching proc.
4182 (gdb_compile): Suppress GCC's coloring of messages.
4183
4184 2017-08-14 Tom Tromey <tom@tromey.com>
4185
4186 PR gdb/21675:
4187 * gdb.base/printcmds.exp (test_radices): New function.
4188 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
4189 * gdb.base/sizeof.exp (check_valueof): Use p/d.
4190 * lib/gdb.exp (get_integer_valueof): Use p/d.
4191
4192 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
4193
4194 * lib/gdb.exp (get_valueof): Don't capture end-of-line
4195 characters.
4196
4197 2017-08-05 Tom Tromey <tom@tromey.com>
4198
4199 * gdb.rust/simple.exp: Allow String to appear in a different
4200 namespace.
4201
4202 2017-07-26 Yao Qi <yao.qi@linaro.org>
4203
4204 * gdb.gdb/unittest.exp: Invoke command
4205 "maintenance check xml-descriptions".
4206
4207 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
4208
4209 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
4210 calling context.
4211 (hex128): Drop erroneous calculation of parameters.
4212
4213 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
4214
4215 * gdb.python/py-unwind.exp: Disable stack protection when
4216 building test file.
4217
4218 2017-07-20 Pedro Alves <palves@redhat.com>
4219
4220 * gdb.base/default.exp (set language): Adjust expected output.
4221
4222 2017-07-20 Pedro Alves <palves@redhat.com>
4223
4224 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
4225 (test_minsym): ... this, and make static.
4226 (get_pck__foo__bar__minsym): Rename to ...
4227 (get_test_minsym): ... this.
4228 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
4229 symbol names and comments.
4230 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
4231 (get_test_minsym): ... this.
4232 (pck__foo__bar__minsym__2): Rename to ...
4233 (test_minsym): ... this.
4234 (main): Adjust.
4235
4236 2017-07-17 Pedro Alves <palves@redhat.com>
4237
4238 * gdb.base/completion.exp: Adjust expected output.
4239 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
4240 the completer works.
4241
4242 2017-07-17 Pedro Alves <palves@redhat.com>
4243
4244 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
4245
4246 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
4247
4248 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
4249
4250 2017-07-14 Tom Tromey <tom@tromey.com>
4251
4252 PR rust/21764:
4253 * gdb.rust/simple.exp: Add tests.
4254
4255 2017-07-14 Tom Tromey <tom@tromey.com>
4256
4257 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
4258
4259 2017-07-14 Pedro Alves <palves@redhat.com>
4260
4261 * gdb.linespec/base/one/thefile.cc (z1): New function.
4262 * gdb.linespec/base/two/thefile.cc (z2): New function.
4263 * gdb.linespec/linespec.exp: Add tests.
4264
4265 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
4266
4267 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
4268 to mi_create_breakpoint.
4269
4270 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
4271
4272 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
4273 mi_create_breakpoint.
4274
4275 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
4276
4277 * gdb.dlang/demangle.exp: Update for demangling changes.
4278
4279 2017-07-09 Tom Tromey <tom@tromey.com>
4280
4281 * gdb.dwarf2/shortpiece.exp: New file.
4282
4283 2017-07-06 David Blaikie <dblaikie@gmail.com>
4284
4285 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
4286 built from fissiont-multi-cu{1,2}.c.
4287 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
4288 except putting 'main' and 'func' in separate CUs in the same DWO file.
4289 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
4290 test.
4291 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
4292 test.
4293
4294 2017-07-06 Pedro Alves <palves@redhat.com>
4295
4296 * gdb.python/py-unwind.exp: Test flushregs.
4297
4298 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
4299
4300 PR cli/21688
4301 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
4302 tests for alias commands and trailing whitespace.
4303
4304 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
4305
4306 PR cli/21688
4307 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
4308 procedure. Call it.
4309
4310 2017-06-29 Pedro Alves <palves@redhat.com>
4311
4312 * gdb.base/printcmds.exp: Add tests.
4313
4314 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
4315
4316 PR gdb/21337
4317 * gdb.base/reread-readsym.exp: New file.
4318 * gdb.base/reread-readsym.c: New file.
4319
4320 2017-06-21 Kevin Buettner <kevinb@redhat.com>
4321
4322 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
4323 subpattern.
4324
4325 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
4326
4327 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
4328 extended mnemonic.
4329 * gdb.arch/powerpc-power9.s: Likewise.
4330
4331 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
4332
4333 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
4334 on 32-bit x86 targets. Exploit is_*_target macros where
4335 appropriate.
4336
4337 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4338
4339 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
4340 register pieces.
4341
4342 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4343
4344 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
4345 located in one or more DWARF pieces.
4346
4347 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4348
4349 * lib/gdb.exp (get_endianness): New proc.
4350 * gdb.arch/aarch64-fp.exp: Use it.
4351 * gdb.arch/altivec-regs.exp: Likewise.
4352 * gdb.arch/e500-regs.exp: Likewise.
4353 * gdb.arch/vsx-regs.exp: Likewise.
4354 * gdb.base/dump.exp: Likewise.
4355 * gdb.base/funcargs.exp: Likewise.
4356 * gdb.base/gnu_vector.exp: Likewise.
4357 * gdb.dwarf2/formdata16.exp: Likewise.
4358 * gdb.dwarf2/implptrpiece.exp: Likewise.
4359 * gdb.dwarf2/nonvar-access.exp: Likewise.
4360 * gdb.python/py-inferior.exp: Likewise.
4361 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
4362
4363 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4364
4365 PR gdb/21226
4366 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
4367 stack value pieces are taken from the LSB end.
4368
4369 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4370
4371 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
4372 variable at nonzero offset.
4373
4374 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4375
4376 * gdb.dwarf2/var-access.c: New file.
4377 * gdb.dwarf2/var-access.exp: New test.
4378 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
4379
4380 2017-06-12 Tom Tromey <tom@tromey.com>
4381
4382 * gdb.dwarf2/formdata16.exp: Add tests.
4383
4384 2017-06-12 Tom Tromey <tom@tromey.com>
4385
4386 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
4387
4388 2017-06-12 Tom Tromey <tom@tromey.com>
4389
4390 PR exp/16225:
4391 * gdb.reverse/i386-sse-reverse.exp: Update tests.
4392 * gdb.arch/vsx-regs.exp: Update tests.
4393 * gdb.arch/s390-vregs.exp (hex128): New proc.
4394 Update test.
4395 * gdb.arch/altivec-regs.exp: Update tests.
4396
4397 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
4398
4399 * gdb.base/startup-with-shell.c: New file.
4400 * gdb.base/startup-with-shell.exp: Likewise.
4401
4402 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
4403
4404 * gdb.server/non-existing-program.exp: Update regex in order to
4405 reflect the fact that gdbserver is now using fork_inferior (with a
4406 shell) to startup the inferior.
4407
4408 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
4409
4410 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
4411 support function calls from GDB.
4412
4413 2017-05-21 Tom Tromey <tom@tromey.com>
4414
4415 PR rust/21466:
4416 * gdb.rust/unsized.exp: New file.
4417 * gdb.rust/unsized.rs: New file.
4418
4419 2017-05-19 Tom Tromey <tom@tromey.com>
4420
4421 PR rust/21484:
4422 * gdb.rust/watch.exp: New file.
4423 * gdb.rust/watch.rs: New file.
4424
4425 2017-05-18 Tom Tromey <tom@tromey.com>
4426
4427 * gdb.rust/simple.exp: Allow Box to be qualified.
4428
4429 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
4430
4431 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
4432
4433 2017-05-18 Pedro Alves <palves@redhat.com>
4434
4435 * gdb.base/fileio.c (test_write, test_read, test_close)
4436 (test_fstat): Don't print 'ret' in the fail path.
4437
4438 2017-05-18 Pedro Alves <palves@redhat.com>
4439
4440 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
4441 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
4442 (test_system, test_rename, test_unlink, test_time): Change
4443 prototypes.
4444 * gdb.base/fileio.exp (stop_msg): Adjust.
4445
4446 2017-05-18 Pedro Alves <palves@redhat.com>
4447
4448 * gdb.base/fileio.c (null_str): New global.
4449 (test_stat): Use it.
4450 * gdb.base/fileio.exp: Remove nowarnings.
4451
4452 2017-05-17 Yao Qi <yao.qi@linaro.org>
4453
4454 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
4455
4456 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
4457
4458 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
4459 argument command.
4460 (top-level): Invoke test_set_inferior_tty.
4461
4462 2017-05-04 Pedro Alves <palves@redhat.com>
4463
4464 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
4465 Add parens to print call for Python 3.
4466
4467 2017-05-03 Keith Seitz <keiths@redhat.com>
4468
4469 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
4470 (main): Call it.
4471
4472 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
4473
4474 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
4475 to prev and next.
4476
4477 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
4478
4479 * gdb.python/py-record-btrace.exp: Remove test for
4480 gdb.BtraceInstruction.error.
4481
4482 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
4483
4484 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
4485
4486 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
4487
4488 * gdb.python/py-record-btrace-threads.c: New file.
4489 * gdb.python/py-record-btrace-threads.exp: New file.
4490
4491 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
4492
4493 PR testsuite/8595
4494 * gdb.base/environ.exp: Make test available in all architectures.
4495 Move bits related to "info program" testing to
4496 gdb.base/info-program.exp. Rewrite tests to use the two new
4497 procedures mentione below.
4498 (test_set_show_env_var) New procedure.
4499 (test_set_show_env_var_equal): Likewise.
4500 * gdb.base/info-program.exp: New file.
4501
4502 2017-04-27 Keith Seitz <keiths@redhat.com>
4503
4504 * gdb.cp/oranking.cc (test15): New function.
4505 (main): Call test15 and declare additional variables for testing.
4506 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
4507 "p foo101('abc')" tests.
4508 Add tests for cv qualifier overloads.
4509 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
4510 "lvalue reference overload" test.
4511 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
4512 "print value of f1 on Child&& in f2" test.
4513
4514 2017-04-19 Pedro Alves <palves@redhat.com>
4515
4516 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
4517 procedure.
4518 (top level): Call it.
4519 * lib/gdb.exp (gdb_define_cmd): New procedure.
4520
4521 2017-04-12 Pedro Alves <palves@redhat.com>
4522
4523 PR gdb/21323
4524 * gdb.cp/wide_char_types.c: Include <wchar.h>.
4525 (wchar): New global.
4526 * gdb.cp/wide_char_types.exp (wide_char_types_program)
4527 (do_test_wide_char, wide_char_types_no_program, top level): Add
4528 wchar_t testing.
4529
4530 2017-04-12 Pedro Alves <palves@redhat.com>
4531
4532 PR c++/21323
4533 * gdb.cp/wide_char_types.c: New file.
4534 * gdb.cp/wide_char_types.exp: New file.
4535
4536 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
4537
4538 PR gdb/21352
4539 * gdb.trace/tsv.exp: Add test for "tsave -r".
4540
4541 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
4542
4543 * gdb.dlang/watch-loc.c: New file.
4544 * gdb.dlang/watch-loc.exp: New file.
4545
4546 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4547
4548 * gdb.python/py-section-script.exp (sepdebug): New testcases.
4549
4550 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
4551
4552 * gdb.arch/arc-analyze-prologue.S: New file.
4553 * gdb.arch/arc-analyze-prologue.exp: Likewise.
4554
4555 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
4556
4557 * gdb.arch/arc-decode-insn.S: New file.
4558 * gdb.arch/arc-decode-insn.exp: Likewise.
4559
4560 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
4561
4562 PR tdep/20928
4563 * gdb.arch/sparc64-regs.exp: New file.
4564 * gdb.arch/sparc64-regs.S: Likewise.
4565
4566 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
4567
4568 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
4569 and memory view on Python 3.
4570
4571 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
4572 Keith Seitz <keiths@redhat.com>
4573
4574 PR gdb/14441
4575 * gdb.cp/demangle.exp: Add rvalue reference tests.
4576 * gdb.cp/rvalue-ref-casts.cc: New file.
4577 * gdb.cp/rvalue-ref-casts.exp: New file.
4578 * gdb.cp/rvalue-ref-overload.cc: New file.
4579 * gdb.cp/rvalue-ref-overload.exp: New file.
4580 * gdb.cp/rvalue-ref-params.cc: New file.
4581 * gdb.cp/rvalue-ref-params.exp: New file.
4582 * gdb.cp/rvalue-ref-sizeof.cc: New file.
4583 * gdb.cp/rvalue-ref-sizeof.exp: New file.
4584 * gdb.cp/rvalue-ref-types.cc: New file.
4585 * gdb.cp/rvalue-ref-types.exp: New file.
4586 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
4587 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
4588
4589 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
4590
4591 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
4592 New procedure.
4593
4594 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
4595
4596 * lib/mi-support.exp (mi_gdb_test): Add additional message
4597 for unexpected output.
4598
4599 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
4600
4601 * gdb.base/examine-backward.c (Barrier): New character array
4602 constant, to ensure that TestStrings is preceded by a string
4603 terminator.
4604
4605 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4606
4607 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
4608 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
4609 and implicit pointer into such a location.
4610
4611 2017-03-16 Doug Evans <dje@google.com>
4612
4613 * gdb.python/py-lazy-string (pointer): Really add new typedef.
4614
4615 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
4616
4617 * gdb.cp/m-static.exp: Fix expectation for prototype of
4618 test5.single_constructor and single_constructor::single_constructor.
4619
4620 2017-03-16 Doug Evans <dje@google.com>
4621
4622 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
4623 * gdb.guile/scm-lazy-string.c: New file.
4624 * gdb.guile/scm-value.exp: Move lazy string tests to ...
4625 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
4626 for pointer, array, typedef lazy strings.
4627
4628 2017-03-16 Doug Evans <dje@google.com>
4629
4630 PR python/17728, python/18439, python/18779
4631 * gdb.python/py-value.c (main) Delete locals sptr, sn.
4632 * gdb.python/py-lazy-string.c (pointer): New typedef.
4633 (main): New locals ptr, array, typedef_ptr.
4634 * gdb.python/py-value.exp: Move lazy string tests to ...
4635 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
4636 array, typedef lazy strings.
4637
4638 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
4639
4640 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
4641 Add optional 'test' parameter.
4642
4643 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
4644
4645 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
4646 Skip for versions of DejaGnu < 1.5.
4647
4648 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
4649
4650 * lib/gdb.exp (dejagnu_version): New proc.
4651 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
4652 Use dejagnu_version.
4653
4654 2017-03-10 Keith Seitz <keiths@redhat.com>
4655
4656 PR c++/8128
4657 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
4658 type from destructor regexps.
4659 Add a branch which actually passes the test.
4660 Adjust "ptype t5i" test names.
4661
4662 2017-03-08 Pedro Alves <palves@redhat.com>
4663
4664 * gdb.base/step-over-exit.exp: Add explicit test message.
4665
4666 2017-03-08 Pedro Alves <palves@redhat.com>
4667
4668 PR gdb/18360
4669 * gdb.threads/interrupt-while-step-over.c: New file.
4670 * gdb.threads/interrupt-while-step-over.exp: New file.
4671
4672 2017-03-08 Pedro Alves <palves@redhat.com>
4673
4674 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
4675 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
4676
4677 2017-03-08 Pedro Alves <palves@redhat.com>
4678
4679 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
4680 PKRU as not supported as a PASS.
4681
4682 2017-03-08 Pedro Alves <palves@redhat.com>
4683
4684 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
4685 prefix instead of $binfile1/$binfile2.
4686 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
4687 in test message.
4688 * gdb.python/py-completion.exp: Use "load python file" as test
4689 messages instead of unstable path names.
4690
4691 2017-03-08 Pedro Alves <palves@redhat.com>
4692 Jan Kratochvil <jan.kratochvil@redhat.com>
4693
4694 PR cli/21218
4695 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
4696 New proc.
4697 (top level): Call it.
4698
4699 2017-03-08 Pedro Alves <palves@redhat.com>
4700
4701 PR tui/21216
4702 * gdb.tui/tui-nl-filtered-output.exp: New file.
4703
4704 2017-03-08 Pedro Alves <palves@redhat.com>
4705
4706 * gdb.base/completion.exp: Move TUI completion tests to ...
4707 * gdb.tui/completion.exp: ... this new file.
4708
4709 2017-03-08 Pedro Alves <palves@redhat.com>
4710
4711 * gdb.base/tui-disasm-long-lines.c,
4712 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
4713 gdb.base/tui-layout.exp: Move to ...
4714 * gdb.tui/: ... this new directory.
4715
4716 2017-03-07 Pedro Alves <palves@redhat.com>
4717
4718 * gdb.base/tui-layout.c: New file.
4719 * gdb.base/tui-layout.exp: New file.
4720
4721 2017-03-07 Pedro Alves <palves@redhat.com>
4722
4723 * gdb.base/tui-layout.c: Rename to ...
4724 * gdb.base/tui-disasm-long-lines.c: ... this.
4725 * gdb.base/tui-layout.exp: Rename to ...
4726 * gdb.base/tui-disasm-long-lines.exp: ... this.
4727
4728 2017-03-07 Pedro Alves <palves@redhat.com>
4729
4730 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
4731
4732 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4733
4734 * i386-mpx-call.c: New file.
4735 * i386-mpx-call.exp: New file.
4736
4737 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
4738
4739 * gdb.arch/powerpc-power.exp: Delete test.
4740 * gdb.arch/powerpc-power.s: Likewise.
4741 * gdb.disasm/disassembler-options.exp: New test.
4742 * gdb.arch/powerpc-altivec.exp: Likewise.
4743 * gdb.arch/powerpc-altivec.s: Likewise.
4744 * gdb.arch/powerpc-altivec2.exp: Likewise.
4745 * gdb.arch/powerpc-altivec2.s: Likewise.
4746 * gdb.arch/powerpc-altivec3.exp: Likewise.
4747 * gdb.arch/powerpc-altivec3.s: Likewise.
4748 * gdb.arch/powerpc-power7.exp: Likewise.
4749 * gdb.arch/powerpc-power7.s: Likewise.
4750 * gdb.arch/powerpc-power8.exp: Likewise.
4751 * gdb.arch/powerpc-power8.s: Likewise.
4752 * gdb.arch/powerpc-power9.exp: Likewise.
4753 * gdb.arch/powerpc-power9.s: Likewise.
4754 * gdb.arch/powerpc-vsx.exp: Likewise.
4755 * gdb.arch/powerpc-vsx.s: Likewise.
4756 * gdb.arch/powerpc-vsx2.exp: Likewise.
4757 * gdb.arch/powerpc-vsx2.s: Likewise.
4758 * gdb.arch/powerpc-vsx3.exp: Likewise.
4759 * gdb.arch/powerpc-vsx3.s: Likewise.
4760 * gdb.arch/arm-disassembler-options.exp: Likewise.
4761 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
4762 * gdb.arch/s390-disassembler-options.exp: Likewise.
4763
4764 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
4765
4766 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
4767 (check_supported_features): ... this. Changed return type to void.
4768 (supports_rdseed): New static global.
4769 (rdseed): Check supports_rdseed.
4770 (initialize): Call check_supported_features.
4771
4772 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4773
4774 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
4775 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
4776 and lqarx/stqcx.
4777 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
4778 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
4779
4780 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4781
4782 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
4783 uppercase.
4784
4785 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4786
4787 * gdb.dwarf2/formdata16.c: New file.
4788 * gdb.dwarf2/formdata16.exp: New file.
4789 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
4790
4791 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4792
4793 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
4794 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
4795 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
4796 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
4797 DW_AT_GNU_*.
4798
4799 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4800
4801 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
4802
4803 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
4804
4805 PR gdb/21164
4806 * gdb.base/maint.exp: Add testcases for when the commands do
4807 not have arguments.
4808
4809 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
4810
4811 * gdb.cp/chained-calls.exp: Use p instead of P.
4812
4813 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
4814
4815 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
4816 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
4817
4818 2017-02-14 Tom Tromey <tom@tromey.com>
4819
4820 PR python/13598:
4821 * gdb.python/py-events.exp: Add before_prompt event tests.
4822
4823 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
4824
4825 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
4826
4827 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
4828
4829 * gdb.linespec/explicit.c (my_unique_function_name): New function.
4830 (main): Call my_unique_function_name.
4831 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
4832 completion of patterns with a single match.
4833 Add missing -re switches to gdb_test_multiple calls.
4834
4835 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
4836
4837 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
4838 return if core file is not recognized.
4839
4840 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
4841
4842 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
4843 and extra UIs.
4844
4845 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
4846
4847 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
4848 proc_with_prefix.
4849
4850 2017-02-10 Tom Tromey <tom@tromey.com>
4851
4852 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
4853
4854 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
4855
4856 PR gdb/21122
4857 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
4858
4859 2017-02-08 Jerome Guitton <guitton@adacore.com>
4860
4861 * gdb.base/define.exp: Add test for command abbreviations
4862 in define.
4863
4864 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
4865
4866 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
4867 * gdb.reverse/insn-reverse-x86.c: New file.
4868
4869 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
4870
4871 PR tdep/20936
4872 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
4873
4874 2017-02-03 Tom Tromey <tom@tromey.com>
4875
4876 PR rust/21097:
4877 * gdb.rust/simple.exp: Add new tests.
4878
4879 2017-02-02 Pedro Alves <palves@redhat.com>
4880
4881 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
4882 tests.
4883
4884 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
4885
4886 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
4887 taking a 2-byte value out of a 4-byte DWARF implicit value on
4888 big-endian targets.
4889 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
4890 logic. Add test cases for DW_OP_implicit.
4891
4892 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
4893
4894 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
4895
4896 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
4897
4898 * gdb.btrace/enable.exp: Call gdb_exit before
4899 skip_gdbserver_tests.
4900
4901 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
4902
4903 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
4904 GDBFLAGS.
4905
4906 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
4907
4908 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
4909 the test is skipped.
4910 * gdb.btrace/data.exp: Likewise.
4911 * gdb.btrace/delta.exp: Likewise.
4912 * gdb.btrace/dlopen.exp: Likewise.
4913 * gdb.btrace/enable-running.exp: Likewise.
4914 * gdb.btrace/enable.exp: Likewise.
4915 * gdb.btrace/exception.exp: Likewise.
4916 * gdb.btrace/function_call_history.exp: Likewise.
4917 * gdb.btrace/gcore.exp: Likewise.
4918 * gdb.btrace/instruction_history.exp: Likewise.
4919 * gdb.btrace/multi-thread-step.exp: Likewise.
4920 * gdb.btrace/nohist.exp: Likewise.
4921 * gdb.btrace/non-stop.exp: Likewise.
4922 * gdb.btrace/reconnect.exp: Likewise.
4923 * gdb.btrace/record_goto-step.exp: Likewise.
4924 * gdb.btrace/record_goto.exp: Likewise.
4925 * gdb.btrace/rn-dl-bind.exp: Likewise.
4926 * gdb.btrace/segv.exp: Likewise.
4927 * gdb.btrace/step.exp: Likewise.
4928 * gdb.btrace/stepi.exp: Likewise.
4929 * gdb.btrace/tailcall-only.exp: Likewise.
4930 * gdb.btrace/tailcall.exp: Likewise.
4931 * gdb.btrace/tsx.exp: Likewise.
4932 * gdb.btrace/unknown_functions.exp: Likewise.
4933 * gdb.btrace/vdso.exp: Likewise.
4934
4935 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
4936
4937 * gdb.btrace/enable-running.c: New.
4938 * gdb.btrace/enable-running.exp: New.
4939
4940 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
4941
4942 * gdb.arch/amd64-gs_base.c: New file.
4943 * gdb.arch/amd64-gs_base.exp: New file.
4944
4945 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
4946
4947 * lib/memory.exp: Remove spurious empty newlines.
4948
4949 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
4950
4951 * gdb.python/py-bad-printers.exp: Load python file using "source".
4952 * gdb.python/py-events.exp: Likewise.
4953 * gdb.python/py-evsignal.exp: Likewise.
4954 * gdb.python/py-evthreads.exp: Likewise.
4955 * gdb.python/py-frame-args.exp: Likewise.
4956 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
4957 * gdb.python/py-framefilter-mi.exp: Likewise.
4958 * gdb.python/py-framefilter.exp: Likewise.
4959 * gdb.python/py-mi.exp: Likewise.
4960 * gdb.python/py-pp-maint.exp: Likewise.
4961 * gdb.python/py-pp-registration.exp: Likewise.
4962 * gdb.python/py-prettyprint.exp: Likewise.
4963 (run_lang_tests): Likewise.
4964 * gdb.python/py-typeprint.exp: Likewise.
4965
4966 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
4967
4968 * lib/memory.exp: New file.
4969 * lib/gdb.exp: Load memory.exp.
4970 * gdb.base/memattr.exp (delete_memory): Move proc to
4971 lib/memory.exp and rename to delete_memory_regions.
4972 Replace delete_memory with delete_memory_regions.
4973 Cleanup memory regions before tests.
4974 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
4975 before tests.
4976
4977 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
4978
4979 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
4980 files.
4981 (initialize): New function conditionally defined.
4982 (testcases): Move within conditional block.
4983 (main): Call initialize.
4984 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
4985 of gdb.reverse/insn-reverse.c.
4986 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
4987 gdb.reverse/insn-reverse.c.
4988
4989 2017-01-26 Yao Qi <yao.qi@linaro.org>
4990
4991 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
4992 disassemble on address 0.
4993
4994 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
4995 Yao Qi <yao.qi@linaro.org>
4996
4997 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
4998 * gdb.dwarf2/implptr-64bit.S: Remove.
4999 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
5000 variables in caller's context. Add DW_OP_implicit_value.
5001
5002 2017-01-25 Yao Qi <yao.qi@linaro.org>
5003
5004 * lib/dwarf.exp (Dwarf::_location): Handle
5005 DW_OP_GNU_implicit_pointer with proper size.
5006
5007 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
5008
5009 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
5010 and add untested calls.
5011
5012 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
5013
5014 * gdb.python/python.exp: Check line number against what GDB thinks
5015 the line number is for func1.
5016
5017 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
5018
5019 * gdb.dlang/debug-expr.exp: New file.
5020
5021 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
5022
5023 Fix test names for the following files:
5024
5025 * gdb.ada/exec_changed.exp
5026 * gdb.ada/info_types.exp
5027 * gdb.arch/aarch64-atomic-inst.exp
5028 * gdb.arch/aarch64-fp.exp
5029 * gdb.arch/altivec-abi.exp
5030 * gdb.arch/altivec-regs.exp
5031 * gdb.arch/amd64-byte.exp
5032 * gdb.arch/amd64-disp-step.exp
5033 * gdb.arch/amd64-dword.exp
5034 * gdb.arch/amd64-entry-value-inline.exp
5035 * gdb.arch/amd64-entry-value-param.exp
5036 * gdb.arch/amd64-entry-value-paramref.exp
5037 * gdb.arch/amd64-entry-value.exp
5038 * gdb.arch/amd64-i386-address.exp
5039 * gdb.arch/amd64-invalid-stack-middle.exp
5040 * gdb.arch/amd64-invalid-stack-top.exp
5041 * gdb.arch/amd64-optimout-repeat.exp
5042 * gdb.arch/amd64-prologue-skip.exp
5043 * gdb.arch/amd64-prologue-xmm.exp
5044 * gdb.arch/amd64-stap-special-operands.exp
5045 * gdb.arch/amd64-stap-wrong-subexp.exp
5046 * gdb.arch/amd64-tailcall-cxx.exp
5047 * gdb.arch/amd64-tailcall-noret.exp
5048 * gdb.arch/amd64-tailcall-ret.exp
5049 * gdb.arch/amd64-tailcall-self.exp
5050 * gdb.arch/amd64-word.exp
5051 * gdb.arch/arm-bl-branch-dest.exp
5052 * gdb.arch/arm-disp-step.exp
5053 * gdb.arch/arm-neon.exp
5054 * gdb.arch/arm-single-step-kernel-helper.exp
5055 * gdb.arch/avr-flash-qualifier.exp
5056 * gdb.arch/disp-step-insn-reloc.exp
5057 * gdb.arch/e500-abi.exp
5058 * gdb.arch/e500-regs.exp
5059 * gdb.arch/ftrace-insn-reloc.exp
5060 * gdb.arch/i386-avx512.exp
5061 * gdb.arch/i386-bp_permanent.exp
5062 * gdb.arch/i386-byte.exp
5063 * gdb.arch/i386-cfi-notcurrent.exp
5064 * gdb.arch/i386-disp-step.exp
5065 * gdb.arch/i386-dr3-watch.exp
5066 * gdb.arch/i386-float.exp
5067 * gdb.arch/i386-gnu-cfi.exp
5068 * gdb.arch/i386-mpx-map.exp
5069 * gdb.arch/i386-mpx-sigsegv.exp
5070 * gdb.arch/i386-mpx-simple_segv.exp
5071 * gdb.arch/i386-mpx.exp
5072 * gdb.arch/i386-permbkpt.exp
5073 * gdb.arch/i386-prologue.exp
5074 * gdb.arch/i386-signal.exp
5075 * gdb.arch/i386-size-overlap.exp
5076 * gdb.arch/i386-unwind.exp
5077 * gdb.arch/i386-word.exp
5078 * gdb.arch/mips-fcr.exp
5079 * gdb.arch/powerpc-d128-regs.exp
5080 * gdb.arch/powerpc-stackless.exp
5081 * gdb.arch/ppc64-atomic-inst.exp
5082 * gdb.arch/s390-stackless.exp
5083 * gdb.arch/s390-tdbregs.exp
5084 * gdb.arch/s390-vregs.exp
5085 * gdb.arch/sparc-sysstep.exp
5086 * gdb.arch/thumb-bx-pc.exp
5087 * gdb.arch/thumb-singlestep.exp
5088 * gdb.arch/thumb2-it.exp
5089 * gdb.arch/vsx-regs.exp
5090 * gdb.asm/asm-source.exp
5091 * gdb.base/a2-run.exp
5092 * gdb.base/advance.exp
5093 * gdb.base/all-bin.exp
5094 * gdb.base/anon.exp
5095 * gdb.base/args.exp
5096 * gdb.base/arithmet.exp
5097 * gdb.base/async-shell.exp
5098 * gdb.base/async.exp
5099 * gdb.base/attach-pie-noexec.exp
5100 * gdb.base/attach-twice.exp
5101 * gdb.base/auto-load.exp
5102 * gdb.base/bang.exp
5103 * gdb.base/bitfields.exp
5104 * gdb.base/break-always.exp
5105 * gdb.base/break-caller-line.exp
5106 * gdb.base/break-entry.exp
5107 * gdb.base/break-inline.exp
5108 * gdb.base/break-on-linker-gcd-function.exp
5109 * gdb.base/break-probes.exp
5110 * gdb.base/break.exp
5111 * gdb.base/breakpoint-shadow.exp
5112 * gdb.base/call-ar-st.exp
5113 * gdb.base/call-sc.exp
5114 * gdb.base/call-signal-resume.exp
5115 * gdb.base/call-strs.exp
5116 * gdb.base/callfuncs.exp
5117 * gdb.base/catch-fork-static.exp
5118 * gdb.base/catch-gdb-caused-signals.exp
5119 * gdb.base/catch-load.exp
5120 * gdb.base/catch-signal-fork.exp
5121 * gdb.base/catch-signal.exp
5122 * gdb.base/catch-syscall.exp
5123 * gdb.base/charset.exp
5124 * gdb.base/checkpoint.exp
5125 * gdb.base/chng-syms.exp
5126 * gdb.base/code-expr.exp
5127 * gdb.base/code_elim.exp
5128 * gdb.base/commands.exp
5129 * gdb.base/completion.exp
5130 * gdb.base/complex.exp
5131 * gdb.base/cond-expr.exp
5132 * gdb.base/condbreak.exp
5133 * gdb.base/consecutive.exp
5134 * gdb.base/continue-all-already-running.exp
5135 * gdb.base/coredump-filter.exp
5136 * gdb.base/corefile.exp
5137 * gdb.base/dbx.exp
5138 * gdb.base/debug-expr.exp
5139 * gdb.base/define.exp
5140 * gdb.base/del.exp
5141 * gdb.base/disabled-location.exp
5142 * gdb.base/disasm-end-cu.exp
5143 * gdb.base/disasm-optim.exp
5144 * gdb.base/display.exp
5145 * gdb.base/duplicate-bp.exp
5146 * gdb.base/ena-dis-br.exp
5147 * gdb.base/ending-run.exp
5148 * gdb.base/enumval.exp
5149 * gdb.base/environ.exp
5150 * gdb.base/eu-strip-infcall.exp
5151 * gdb.base/eval-avoid-side-effects.exp
5152 * gdb.base/eval-skip.exp
5153 * gdb.base/exitsignal.exp
5154 * gdb.base/expand-psymtabs.exp
5155 * gdb.base/filesym.exp
5156 * gdb.base/find-unmapped.exp
5157 * gdb.base/finish.exp
5158 * gdb.base/float.exp
5159 * gdb.base/foll-exec-mode.exp
5160 * gdb.base/foll-exec.exp
5161 * gdb.base/foll-fork.exp
5162 * gdb.base/fortran-sym-case.exp
5163 * gdb.base/freebpcmd.exp
5164 * gdb.base/func-ptr.exp
5165 * gdb.base/func-ptrs.exp
5166 * gdb.base/funcargs.exp
5167 * gdb.base/gcore-buffer-overflow.exp
5168 * gdb.base/gcore-relro-pie.exp
5169 * gdb.base/gcore-relro.exp
5170 * gdb.base/gcore.exp
5171 * gdb.base/gdb1090.exp
5172 * gdb.base/gdb11530.exp
5173 * gdb.base/gdb11531.exp
5174 * gdb.base/gdb1821.exp
5175 * gdb.base/gdbindex-stabs.exp
5176 * gdb.base/gdbvars.exp
5177 * gdb.base/hbreak.exp
5178 * gdb.base/hbreak2.exp
5179 * gdb.base/included.exp
5180 * gdb.base/infcall-input.exp
5181 * gdb.base/inferior-died.exp
5182 * gdb.base/infnan.exp
5183 * gdb.base/info-macros.exp
5184 * gdb.base/info-os.exp
5185 * gdb.base/info-proc.exp
5186 * gdb.base/info-shared.exp
5187 * gdb.base/info-target.exp
5188 * gdb.base/infoline.exp
5189 * gdb.base/interp.exp
5190 * gdb.base/interrupt.exp
5191 * gdb.base/jit-reader.exp
5192 * gdb.base/jit-simple.exp
5193 * gdb.base/kill-after-signal.exp
5194 * gdb.base/kill-detach-inferiors-cmd.exp
5195 * gdb.base/label.exp
5196 * gdb.base/langs.exp
5197 * gdb.base/ldbl_e308.exp
5198 * gdb.base/line-symtabs.exp
5199 * gdb.base/linespecs.exp
5200 * gdb.base/list.exp
5201 * gdb.base/long_long.exp
5202 * gdb.base/longest-types.exp
5203 * gdb.base/maint.exp
5204 * gdb.base/max-value-size.exp
5205 * gdb.base/memattr.exp
5206 * gdb.base/mips_pro.exp
5207 * gdb.base/morestack.exp
5208 * gdb.base/moribund-step.exp
5209 * gdb.base/multi-forks.exp
5210 * gdb.base/nested-addr.exp
5211 * gdb.base/nextoverexit.exp
5212 * gdb.base/noreturn-finish.exp
5213 * gdb.base/noreturn-return.exp
5214 * gdb.base/nostdlib.exp
5215 * gdb.base/offsets.exp
5216 * gdb.base/opaque.exp
5217 * gdb.base/pc-fp.exp
5218 * gdb.base/permissions.exp
5219 * gdb.base/print-symbol-loading.exp
5220 * gdb.base/prologue-include.exp
5221 * gdb.base/psymtab.exp
5222 * gdb.base/ptype.exp
5223 * gdb.base/random-signal.exp
5224 * gdb.base/randomize.exp
5225 * gdb.base/range-stepping.exp
5226 * gdb.base/readline-ask.exp
5227 * gdb.base/recpar.exp
5228 * gdb.base/recurse.exp
5229 * gdb.base/relational.exp
5230 * gdb.base/restore.exp
5231 * gdb.base/return-nodebug.exp
5232 * gdb.base/return.exp
5233 * gdb.base/run-after-attach.exp
5234 * gdb.base/save-bp.exp
5235 * gdb.base/scope.exp
5236 * gdb.base/sect-cmd.exp
5237 * gdb.base/set-lang-auto.exp
5238 * gdb.base/set-noassign.exp
5239 * gdb.base/setvar.exp
5240 * gdb.base/sigall.exp
5241 * gdb.base/sigbpt.exp
5242 * gdb.base/siginfo-addr.exp
5243 * gdb.base/siginfo-infcall.exp
5244 * gdb.base/siginfo-obj.exp
5245 * gdb.base/siginfo.exp
5246 * gdb.base/signals-state-child.exp
5247 * gdb.base/signest.exp
5248 * gdb.base/sigstep.exp
5249 * gdb.base/sizeof.exp
5250 * gdb.base/skip.exp
5251 * gdb.base/solib-corrupted.exp
5252 * gdb.base/solib-nodir.exp
5253 * gdb.base/solib-search.exp
5254 * gdb.base/stack-checking.exp
5255 * gdb.base/stale-infcall.exp
5256 * gdb.base/stap-probe.exp
5257 * gdb.base/start.exp
5258 * gdb.base/step-break.exp
5259 * gdb.base/step-bt.exp
5260 * gdb.base/step-line.exp
5261 * gdb.base/step-over-exit.exp
5262 * gdb.base/step-over-syscall.exp
5263 * gdb.base/step-resume-infcall.exp
5264 * gdb.base/step-test.exp
5265 * gdb.base/store.exp
5266 * gdb.base/structs3.exp
5267 * gdb.base/sym-file.exp
5268 * gdb.base/symbol-without-target_section.exp
5269 * gdb.base/term.exp
5270 * gdb.base/testenv.exp
5271 * gdb.base/ui-redirect.exp
5272 * gdb.base/until.exp
5273 * gdb.base/unwindonsignal.exp
5274 * gdb.base/value-double-free.exp
5275 * gdb.base/vla-datatypes.exp
5276 * gdb.base/vla-ptr.exp
5277 * gdb.base/vla-sideeffect.exp
5278 * gdb.base/volatile.exp
5279 * gdb.base/watch-cond-infcall.exp
5280 * gdb.base/watch-cond.exp
5281 * gdb.base/watch-non-mem.exp
5282 * gdb.base/watch-read.exp
5283 * gdb.base/watch-vfork.exp
5284 * gdb.base/watchpoint-cond-gone.exp
5285 * gdb.base/watchpoint-delete.exp
5286 * gdb.base/watchpoint-hw-hit-once.exp
5287 * gdb.base/watchpoint-hw.exp
5288 * gdb.base/watchpoint-stops-at-right-insn.exp
5289 * gdb.base/watchpoints.exp
5290 * gdb.base/wchar.exp
5291 * gdb.base/whatis-exp.exp
5292 * gdb.btrace/buffer-size.exp
5293 * gdb.btrace/data.exp
5294 * gdb.btrace/delta.exp
5295 * gdb.btrace/dlopen.exp
5296 * gdb.btrace/enable.exp
5297 * gdb.btrace/exception.exp
5298 * gdb.btrace/function_call_history.exp
5299 * gdb.btrace/gcore.exp
5300 * gdb.btrace/instruction_history.exp
5301 * gdb.btrace/nohist.exp
5302 * gdb.btrace/reconnect.exp
5303 * gdb.btrace/record_goto-step.exp
5304 * gdb.btrace/record_goto.exp
5305 * gdb.btrace/rn-dl-bind.exp
5306 * gdb.btrace/segv.exp
5307 * gdb.btrace/step.exp
5308 * gdb.btrace/stepi.exp
5309 * gdb.btrace/tailcall-only.exp
5310 * gdb.btrace/tailcall.exp
5311 * gdb.btrace/tsx.exp
5312 * gdb.btrace/unknown_functions.exp
5313 * gdb.btrace/vdso.exp
5314 * gdb.compile/compile-ifunc.exp
5315 * gdb.compile/compile-ops.exp
5316 * gdb.compile/compile-print.exp
5317 * gdb.compile/compile-setjmp.exp
5318 * gdb.cp/abstract-origin.exp
5319 * gdb.cp/ambiguous.exp
5320 * gdb.cp/annota2.exp
5321 * gdb.cp/annota3.exp
5322 * gdb.cp/anon-ns.exp
5323 * gdb.cp/anon-struct.exp
5324 * gdb.cp/anon-union.exp
5325 * gdb.cp/arg-reference.exp
5326 * gdb.cp/baseenum.exp
5327 * gdb.cp/bool.exp
5328 * gdb.cp/breakpoint.exp
5329 * gdb.cp/bs15503.exp
5330 * gdb.cp/call-c.exp
5331 * gdb.cp/casts.exp
5332 * gdb.cp/chained-calls.exp
5333 * gdb.cp/class2.exp
5334 * gdb.cp/classes.exp
5335 * gdb.cp/cmpd-minsyms.exp
5336 * gdb.cp/converts.exp
5337 * gdb.cp/cp-relocate.exp
5338 * gdb.cp/cpcompletion.exp
5339 * gdb.cp/cpexprs.exp
5340 * gdb.cp/cplabel.exp
5341 * gdb.cp/cplusfuncs.exp
5342 * gdb.cp/cpsizeof.exp
5343 * gdb.cp/ctti.exp
5344 * gdb.cp/derivation.exp
5345 * gdb.cp/destrprint.exp
5346 * gdb.cp/dispcxx.exp
5347 * gdb.cp/enum-class.exp
5348 * gdb.cp/exception.exp
5349 * gdb.cp/exceptprint.exp
5350 * gdb.cp/expand-psymtabs-cxx.exp
5351 * gdb.cp/expand-sals.exp
5352 * gdb.cp/extern-c.exp
5353 * gdb.cp/filename.exp
5354 * gdb.cp/formatted-ref.exp
5355 * gdb.cp/fpointer.exp
5356 * gdb.cp/gdb1355.exp
5357 * gdb.cp/gdb2495.exp
5358 * gdb.cp/hang.exp
5359 * gdb.cp/impl-this.exp
5360 * gdb.cp/infcall-dlopen.exp
5361 * gdb.cp/inherit.exp
5362 * gdb.cp/iostream.exp
5363 * gdb.cp/koenig.exp
5364 * gdb.cp/local.exp
5365 * gdb.cp/m-data.exp
5366 * gdb.cp/m-static.exp
5367 * gdb.cp/mb-ctor.exp
5368 * gdb.cp/mb-inline.exp
5369 * gdb.cp/mb-templates.exp
5370 * gdb.cp/member-name.exp
5371 * gdb.cp/member-ptr.exp
5372 * gdb.cp/meth-typedefs.exp
5373 * gdb.cp/method.exp
5374 * gdb.cp/method2.exp
5375 * gdb.cp/minsym-fallback.exp
5376 * gdb.cp/misc.exp
5377 * gdb.cp/namelessclass.exp
5378 * gdb.cp/namespace-enum.exp
5379 * gdb.cp/namespace-nested-import.exp
5380 * gdb.cp/namespace.exp
5381 * gdb.cp/nextoverthrow.exp
5382 * gdb.cp/no-dmgl-verbose.exp
5383 * gdb.cp/non-trivial-retval.exp
5384 * gdb.cp/noparam.exp
5385 * gdb.cp/nsdecl.exp
5386 * gdb.cp/nsimport.exp
5387 * gdb.cp/nsnested.exp
5388 * gdb.cp/nsnoimports.exp
5389 * gdb.cp/nsrecurs.exp
5390 * gdb.cp/nsstress.exp
5391 * gdb.cp/nsusing.exp
5392 * gdb.cp/operator.exp
5393 * gdb.cp/oranking.exp
5394 * gdb.cp/overload-const.exp
5395 * gdb.cp/overload.exp
5396 * gdb.cp/ovldbreak.exp
5397 * gdb.cp/ovsrch.exp
5398 * gdb.cp/paren-type.exp
5399 * gdb.cp/parse-lang.exp
5400 * gdb.cp/pass-by-ref.exp
5401 * gdb.cp/pr-1023.exp
5402 * gdb.cp/pr-1210.exp
5403 * gdb.cp/pr-574.exp
5404 * gdb.cp/pr10687.exp
5405 * gdb.cp/pr12028.exp
5406 * gdb.cp/pr17132.exp
5407 * gdb.cp/pr17494.exp
5408 * gdb.cp/pr9067.exp
5409 * gdb.cp/pr9167.exp
5410 * gdb.cp/pr9631.exp
5411 * gdb.cp/printmethod.exp
5412 * gdb.cp/psmang.exp
5413 * gdb.cp/psymtab-parameter.exp
5414 * gdb.cp/ptype-cv-cp.exp
5415 * gdb.cp/ptype-flags.exp
5416 * gdb.cp/re-set-overloaded.exp
5417 * gdb.cp/ref-types.exp
5418 * gdb.cp/rtti.exp
5419 * gdb.cp/scope-err.exp
5420 * gdb.cp/shadow.exp
5421 * gdb.cp/smartp.exp
5422 * gdb.cp/static-method.exp
5423 * gdb.cp/static-print-quit.exp
5424 * gdb.cp/temargs.exp
5425 * gdb.cp/templates.exp
5426 * gdb.cp/try_catch.exp
5427 * gdb.cp/typedef-operator.exp
5428 * gdb.cp/typeid.exp
5429 * gdb.cp/userdef.exp
5430 * gdb.cp/using-crash.exp
5431 * gdb.cp/var-tag.exp
5432 * gdb.cp/virtbase.exp
5433 * gdb.cp/virtfunc.exp
5434 * gdb.cp/virtfunc2.exp
5435 * gdb.cp/vla-cxx.exp
5436 * gdb.disasm/t01_mov.exp
5437 * gdb.disasm/t02_mova.exp
5438 * gdb.disasm/t03_add.exp
5439 * gdb.disasm/t04_sub.exp
5440 * gdb.disasm/t05_cmp.exp
5441 * gdb.disasm/t06_ari2.exp
5442 * gdb.disasm/t07_ari3.exp
5443 * gdb.disasm/t08_or.exp
5444 * gdb.disasm/t09_xor.exp
5445 * gdb.disasm/t10_and.exp
5446 * gdb.disasm/t11_logs.exp
5447 * gdb.disasm/t12_bit.exp
5448 * gdb.disasm/t13_otr.exp
5449 * gdb.dlang/circular.exp
5450 * gdb.dwarf2/arr-stride.exp
5451 * gdb.dwarf2/arr-subrange.exp
5452 * gdb.dwarf2/atomic-type.exp
5453 * gdb.dwarf2/bad-regnum.exp
5454 * gdb.dwarf2/bitfield-parent-optimized-out.exp
5455 * gdb.dwarf2/callframecfa.exp
5456 * gdb.dwarf2/clztest.exp
5457 * gdb.dwarf2/corrupt.exp
5458 * gdb.dwarf2/data-loc.exp
5459 * gdb.dwarf2/dup-psym.exp
5460 * gdb.dwarf2/dw2-anon-mptr.exp
5461 * gdb.dwarf2/dw2-anonymous-func.exp
5462 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
5463 * gdb.dwarf2/dw2-bad-unresolved.exp
5464 * gdb.dwarf2/dw2-basic.exp
5465 * gdb.dwarf2/dw2-canonicalize-type.exp
5466 * gdb.dwarf2/dw2-case-insensitive.exp
5467 * gdb.dwarf2/dw2-common-block.exp
5468 * gdb.dwarf2/dw2-compdir-oldgcc.exp
5469 * gdb.dwarf2/dw2-compressed.exp
5470 * gdb.dwarf2/dw2-const.exp
5471 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
5472 * gdb.dwarf2/dw2-cu-size.exp
5473 * gdb.dwarf2/dw2-dup-frame.exp
5474 * gdb.dwarf2/dw2-entry-value.exp
5475 * gdb.dwarf2/dw2-icycle.exp
5476 * gdb.dwarf2/dw2-ifort-parameter.exp
5477 * gdb.dwarf2/dw2-inline-break.exp
5478 * gdb.dwarf2/dw2-inline-param.exp
5479 * gdb.dwarf2/dw2-intercu.exp
5480 * gdb.dwarf2/dw2-intermix.exp
5481 * gdb.dwarf2/dw2-lexical-block-bare.exp
5482 * gdb.dwarf2/dw2-linkage-name-trust.exp
5483 * gdb.dwarf2/dw2-minsym-in-cu.exp
5484 * gdb.dwarf2/dw2-noloc.exp
5485 * gdb.dwarf2/dw2-op-call.exp
5486 * gdb.dwarf2/dw2-op-out-param.exp
5487 * gdb.dwarf2/dw2-opt-structptr.exp
5488 * gdb.dwarf2/dw2-param-error.exp
5489 * gdb.dwarf2/dw2-producer.exp
5490 * gdb.dwarf2/dw2-ranges-base.exp
5491 * gdb.dwarf2/dw2-ref-missing-frame.exp
5492 * gdb.dwarf2/dw2-reg-undefined.exp
5493 * gdb.dwarf2/dw2-regno-invalid.exp
5494 * gdb.dwarf2/dw2-restore.exp
5495 * gdb.dwarf2/dw2-restrict.exp
5496 * gdb.dwarf2/dw2-single-line-discriminators.exp
5497 * gdb.dwarf2/dw2-strp.exp
5498 * gdb.dwarf2/dw2-undefined-ret-addr.exp
5499 * gdb.dwarf2/dw2-unresolved.exp
5500 * gdb.dwarf2/dw2-var-zero-addr.exp
5501 * gdb.dwarf2/dw4-sig-types.exp
5502 * gdb.dwarf2/dwz.exp
5503 * gdb.dwarf2/dynarr-ptr.exp
5504 * gdb.dwarf2/enum-type.exp
5505 * gdb.dwarf2/gdb-index.exp
5506 * gdb.dwarf2/implptr-64bit.exp
5507 * gdb.dwarf2/implptr-optimized-out.exp
5508 * gdb.dwarf2/implptr.exp
5509 * gdb.dwarf2/implref-array.exp
5510 * gdb.dwarf2/implref-const.exp
5511 * gdb.dwarf2/implref-global.exp
5512 * gdb.dwarf2/implref-struct.exp
5513 * gdb.dwarf2/mac-fileno.exp
5514 * gdb.dwarf2/main-subprogram.exp
5515 * gdb.dwarf2/member-ptr-forwardref.exp
5516 * gdb.dwarf2/method-ptr.exp
5517 * gdb.dwarf2/missing-sig-type.exp
5518 * gdb.dwarf2/nonvar-access.exp
5519 * gdb.dwarf2/opaque-type-lookup.exp
5520 * gdb.dwarf2/pieces-optimized-out.exp
5521 * gdb.dwarf2/pieces.exp
5522 * gdb.dwarf2/pr10770.exp
5523 * gdb.dwarf2/pr13961.exp
5524 * gdb.dwarf2/staticvirtual.exp
5525 * gdb.dwarf2/subrange.exp
5526 * gdb.dwarf2/symtab-producer.exp
5527 * gdb.dwarf2/trace-crash.exp
5528 * gdb.dwarf2/typeddwarf.exp
5529 * gdb.dwarf2/valop.exp
5530 * gdb.dwarf2/watch-notconst.exp
5531 * gdb.fortran/array-element.exp
5532 * gdb.fortran/charset.exp
5533 * gdb.fortran/common-block.exp
5534 * gdb.fortran/complex.exp
5535 * gdb.fortran/derived-type-function.exp
5536 * gdb.fortran/derived-type.exp
5537 * gdb.fortran/logical.exp
5538 * gdb.fortran/module.exp
5539 * gdb.fortran/multi-dim.exp
5540 * gdb.fortran/nested-funcs.exp
5541 * gdb.fortran/print-formatted.exp
5542 * gdb.fortran/subarray.exp
5543 * gdb.fortran/vla-alloc-assoc.exp
5544 * gdb.fortran/vla-datatypes.exp
5545 * gdb.fortran/vla-history.exp
5546 * gdb.fortran/vla-ptr-info.exp
5547 * gdb.fortran/vla-ptype-sub.exp
5548 * gdb.fortran/vla-ptype.exp
5549 * gdb.fortran/vla-sizeof.exp
5550 * gdb.fortran/vla-type.exp
5551 * gdb.fortran/vla-value-sub-arbitrary.exp
5552 * gdb.fortran/vla-value-sub-finish.exp
5553 * gdb.fortran/vla-value-sub.exp
5554 * gdb.fortran/vla-value.exp
5555 * gdb.fortran/whatis_type.exp
5556 * gdb.go/chan.exp
5557 * gdb.go/handcall.exp
5558 * gdb.go/hello.exp
5559 * gdb.go/integers.exp
5560 * gdb.go/methods.exp
5561 * gdb.go/package.exp
5562 * gdb.go/strings.exp
5563 * gdb.go/types.exp
5564 * gdb.go/unsafe.exp
5565 * gdb.guile/scm-arch.exp
5566 * gdb.guile/scm-block.exp
5567 * gdb.guile/scm-breakpoint.exp
5568 * gdb.guile/scm-cmd.exp
5569 * gdb.guile/scm-disasm.exp
5570 * gdb.guile/scm-equal.exp
5571 * gdb.guile/scm-frame-args.exp
5572 * gdb.guile/scm-frame-inline.exp
5573 * gdb.guile/scm-frame.exp
5574 * gdb.guile/scm-iterator.exp
5575 * gdb.guile/scm-math.exp
5576 * gdb.guile/scm-objfile.exp
5577 * gdb.guile/scm-ports.exp
5578 * gdb.guile/scm-symbol.exp
5579 * gdb.guile/scm-symtab.exp
5580 * gdb.guile/scm-value-cc.exp
5581 * gdb.guile/types-module.exp
5582 * gdb.linespec/break-ask.exp
5583 * gdb.linespec/cpexplicit.exp
5584 * gdb.linespec/explicit.exp
5585 * gdb.linespec/keywords.exp
5586 * gdb.linespec/linespec.exp
5587 * gdb.linespec/ls-dollar.exp
5588 * gdb.linespec/ls-errs.exp
5589 * gdb.linespec/skip-two.exp
5590 * gdb.linespec/thread.exp
5591 * gdb.mi/mi-async.exp
5592 * gdb.mi/mi-basics.exp
5593 * gdb.mi/mi-break.exp
5594 * gdb.mi/mi-catch-load.exp
5595 * gdb.mi/mi-cli.exp
5596 * gdb.mi/mi-cmd-param-changed.exp
5597 * gdb.mi/mi-console.exp
5598 * gdb.mi/mi-detach.exp
5599 * gdb.mi/mi-disassemble.exp
5600 * gdb.mi/mi-eval.exp
5601 * gdb.mi/mi-file-transfer.exp
5602 * gdb.mi/mi-file.exp
5603 * gdb.mi/mi-fill-memory.exp
5604 * gdb.mi/mi-inheritance-syntax-error.exp
5605 * gdb.mi/mi-linespec-err-cp.exp
5606 * gdb.mi/mi-logging.exp
5607 * gdb.mi/mi-memory-changed.exp
5608 * gdb.mi/mi-read-memory.exp
5609 * gdb.mi/mi-record-changed.exp
5610 * gdb.mi/mi-reg-undefined.exp
5611 * gdb.mi/mi-regs.exp
5612 * gdb.mi/mi-return.exp
5613 * gdb.mi/mi-reverse.exp
5614 * gdb.mi/mi-simplerun.exp
5615 * gdb.mi/mi-solib.exp
5616 * gdb.mi/mi-stack.exp
5617 * gdb.mi/mi-stepi.exp
5618 * gdb.mi/mi-syn-frame.exp
5619 * gdb.mi/mi-until.exp
5620 * gdb.mi/mi-var-block.exp
5621 * gdb.mi/mi-var-child.exp
5622 * gdb.mi/mi-var-cmd.exp
5623 * gdb.mi/mi-var-cp.exp
5624 * gdb.mi/mi-var-display.exp
5625 * gdb.mi/mi-var-invalidate.exp
5626 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
5627 * gdb.mi/mi-vla-fortran.exp
5628 * gdb.mi/mi-watch.exp
5629 * gdb.mi/mi2-var-child.exp
5630 * gdb.mi/user-selected-context-sync.exp
5631 * gdb.modula2/unbounded-array.exp
5632 * gdb.multi/dummy-frame-restore.exp
5633 * gdb.multi/multi-arch-exec.exp
5634 * gdb.multi/multi-arch.exp
5635 * gdb.multi/tids.exp
5636 * gdb.multi/watchpoint-multi.exp
5637 * gdb.opencl/callfuncs.exp
5638 * gdb.opencl/convs_casts.exp
5639 * gdb.opencl/datatypes.exp
5640 * gdb.opencl/operators.exp
5641 * gdb.opencl/vec_comps.exp
5642 * gdb.opt/clobbered-registers-O2.exp
5643 * gdb.opt/inline-break.exp
5644 * gdb.opt/inline-bt.exp
5645 * gdb.opt/inline-cmds.exp
5646 * gdb.opt/inline-locals.exp
5647 * gdb.pascal/case-insensitive-symbols.exp
5648 * gdb.pascal/floats.exp
5649 * gdb.pascal/gdb11492.exp
5650 * gdb.python/lib-types.exp
5651 * gdb.python/py-arch.exp
5652 * gdb.python/py-as-string.exp
5653 * gdb.python/py-bad-printers.exp
5654 * gdb.python/py-block.exp
5655 * gdb.python/py-breakpoint-create-fail.exp
5656 * gdb.python/py-breakpoint.exp
5657 * gdb.python/py-caller-is.exp
5658 * gdb.python/py-cmd.exp
5659 * gdb.python/py-explore-cc.exp
5660 * gdb.python/py-explore.exp
5661 * gdb.python/py-finish-breakpoint.exp
5662 * gdb.python/py-finish-breakpoint2.exp
5663 * gdb.python/py-frame-args.exp
5664 * gdb.python/py-frame-inline.exp
5665 * gdb.python/py-frame.exp
5666 * gdb.python/py-framefilter-mi.exp
5667 * gdb.python/py-infthread.exp
5668 * gdb.python/py-lazy-string.exp
5669 * gdb.python/py-linetable.exp
5670 * gdb.python/py-mi-events.exp
5671 * gdb.python/py-mi-objfile.exp
5672 * gdb.python/py-mi.exp
5673 * gdb.python/py-objfile.exp
5674 * gdb.python/py-pp-integral.exp
5675 * gdb.python/py-pp-maint.exp
5676 * gdb.python/py-pp-re-notag.exp
5677 * gdb.python/py-pp-registration.exp
5678 * gdb.python/py-recurse-unwind.exp
5679 * gdb.python/py-strfns.exp
5680 * gdb.python/py-symbol.exp
5681 * gdb.python/py-symtab.exp
5682 * gdb.python/py-sync-interp.exp
5683 * gdb.python/py-typeprint.exp
5684 * gdb.python/py-unwind-maint.exp
5685 * gdb.python/py-unwind.exp
5686 * gdb.python/py-value-cc.exp
5687 * gdb.python/py-xmethods.exp
5688 * gdb.reverse/amd64-tailcall-reverse.exp
5689 * gdb.reverse/break-precsave.exp
5690 * gdb.reverse/break-reverse.exp
5691 * gdb.reverse/consecutive-precsave.exp
5692 * gdb.reverse/consecutive-reverse.exp
5693 * gdb.reverse/finish-precsave.exp
5694 * gdb.reverse/finish-reverse-bkpt.exp
5695 * gdb.reverse/finish-reverse.exp
5696 * gdb.reverse/fstatat-reverse.exp
5697 * gdb.reverse/getresuid-reverse.exp
5698 * gdb.reverse/i386-precsave.exp
5699 * gdb.reverse/i386-reverse.exp
5700 * gdb.reverse/i386-sse-reverse.exp
5701 * gdb.reverse/i387-env-reverse.exp
5702 * gdb.reverse/i387-stack-reverse.exp
5703 * gdb.reverse/insn-reverse.exp
5704 * gdb.reverse/machinestate-precsave.exp
5705 * gdb.reverse/machinestate.exp
5706 * gdb.reverse/next-reverse-bkpt-over-sr.exp
5707 * gdb.reverse/pipe-reverse.exp
5708 * gdb.reverse/readv-reverse.exp
5709 * gdb.reverse/recvmsg-reverse.exp
5710 * gdb.reverse/rerun-prec.exp
5711 * gdb.reverse/s390-mvcle.exp
5712 * gdb.reverse/step-precsave.exp
5713 * gdb.reverse/step-reverse.exp
5714 * gdb.reverse/time-reverse.exp
5715 * gdb.reverse/until-precsave.exp
5716 * gdb.reverse/until-reverse.exp
5717 * gdb.reverse/waitpid-reverse.exp
5718 * gdb.reverse/watch-precsave.exp
5719 * gdb.reverse/watch-reverse.exp
5720 * gdb.rust/generics.exp
5721 * gdb.rust/methods.exp
5722 * gdb.rust/modules.exp
5723 * gdb.rust/simple.exp
5724 * gdb.server/connect-with-no-symbol-file.exp
5725 * gdb.server/ext-attach.exp
5726 * gdb.server/ext-restart.exp
5727 * gdb.server/ext-wrapper.exp
5728 * gdb.server/file-transfer.exp
5729 * gdb.server/server-exec-info.exp
5730 * gdb.server/server-kill.exp
5731 * gdb.server/server-mon.exp
5732 * gdb.server/wrapper.exp
5733 * gdb.stabs/exclfwd.exp
5734 * gdb.stabs/gdb11479.exp
5735 * gdb.threads/clone-new-thread-event.exp
5736 * gdb.threads/corethreads.exp
5737 * gdb.threads/current-lwp-dead.exp
5738 * gdb.threads/dlopen-libpthread.exp
5739 * gdb.threads/gcore-thread.exp
5740 * gdb.threads/sigstep-threads.exp
5741 * gdb.threads/watchpoint-fork.exp
5742 * gdb.trace/actions-changed.exp
5743 * gdb.trace/backtrace.exp
5744 * gdb.trace/change-loc.exp
5745 * gdb.trace/circ.exp
5746 * gdb.trace/collection.exp
5747 * gdb.trace/disconnected-tracing.exp
5748 * gdb.trace/ftrace.exp
5749 * gdb.trace/mi-trace-frame-collected.exp
5750 * gdb.trace/mi-trace-unavailable.exp
5751 * gdb.trace/mi-traceframe-changed.exp
5752 * gdb.trace/mi-tsv-changed.exp
5753 * gdb.trace/no-attach-trace.exp
5754 * gdb.trace/passc-dyn.exp
5755 * gdb.trace/qtro.exp
5756 * gdb.trace/range-stepping.exp
5757 * gdb.trace/read-memory.exp
5758 * gdb.trace/save-trace.exp
5759 * gdb.trace/signal.exp
5760 * gdb.trace/status-stop.exp
5761 * gdb.trace/tfile.exp
5762 * gdb.trace/trace-break.exp
5763 * gdb.trace/trace-buffer-size.exp
5764 * gdb.trace/trace-condition.exp
5765 * gdb.trace/tracefile-pseudo-reg.exp
5766 * gdb.trace/tstatus.exp
5767 * gdb.trace/unavailable.exp
5768 * gdb.trace/while-dyn.exp
5769 * gdb.trace/while-stepping.exp
5770
5771 2016-12-22 Doug Evans <xdje42@gmail.com>
5772
5773 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
5774 and msymbols.
5775
5776 2016-12-19 Yao Qi <yao.qi@linaro.org>
5777
5778 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
5779 (test_with_self): Don't call do_steps_and_nexts, and remove
5780 code about stepping into xmalloc.
5781
5782 2016-12-09 Yao Qi <yao.qi@linaro.org>
5783
5784 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
5785
5786 2016-12-09 Yao Qi <yao.qi@linaro.org>
5787
5788 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
5789
5790 2016-12-09 Pedro Alves <palves@redhat.com>
5791
5792 * gdb.base/all-architectures-0.exp: New file.
5793 * gdb.base/all-architectures-1.exp: New file.
5794 * gdb.base/all-architectures-2.exp: New file.
5795 * gdb.base/all-architectures-3.exp: New file.
5796 * gdb.base/all-architectures-4.exp: New file.
5797 * gdb.base/all-architectures-5.exp: New file.
5798 * gdb.base/all-architectures-6.exp: New file.
5799 * gdb.base/all-architectures-7.exp: New file.
5800 * gdb.base/all-architectures.exp.in: New file.
5801
5802 2016-12-09 Yao Qi <yao.qi@linaro.org>
5803
5804 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
5805
5806 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
5807
5808 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
5809 possible.
5810 Remove useless pattern-matching code.
5811
5812 2016-12-02 Pedro Alves <palves@redhat.com>
5813
5814 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
5815 procedure.
5816 (top level): Call it.
5817
5818 2016-12-02 Pedro Alves <palves@redhat.com>
5819
5820 * gdb.base/commands.exp (user_defined_command_args_stack_test):
5821 New procedure.
5822 (top level): Call it.
5823
5824 2016-12-02 Pedro Alves <palves@redhat.com>
5825
5826 PR cli/20559
5827 * gdb.base/commands.exp (user_defined_command_args_eval): New
5828 procedure.
5829 (top level): Call it.
5830
5831 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
5832
5833 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
5834 timeout handling.
5835
5836 2016-12-02 Tom Tromey <tom@tromey.com>
5837
5838 * gdb.dwarf2/main-subprogram.c: New file.
5839 * gdb.dwarf2/main-subprogram.exp: New file.
5840
5841 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
5842
5843 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
5844 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
5845 gdb_test_no_output for a couple of cases.
5846 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
5847
5848 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
5849
5850 Fix test names and standardize compilation error messages throughout
5851 the following files:
5852
5853 * gdb.ada/start.exp
5854 * gdb.arch/alpha-step.exp
5855 * gdb.arch/e500-prologue.exp
5856 * gdb.arch/ftrace-insn-reloc.exp
5857 * gdb.arch/gdb1291.exp
5858 * gdb.arch/gdb1431.exp
5859 * gdb.arch/gdb1558.exp
5860 * gdb.arch/i386-dr3-watch.exp
5861 * gdb.arch/i386-sse-stack-align.exp
5862 * gdb.arch/ia64-breakpoint-shadow.exp
5863 * gdb.arch/pa-nullify.exp
5864 * gdb.arch/powerpc-aix-prologue.exp
5865 * gdb.arch/thumb-bx-pc.exp
5866 * gdb.base/annota1.exp
5867 * gdb.base/annota3.exp
5868 * gdb.base/arrayidx.exp
5869 * gdb.base/assign.exp
5870 * gdb.base/attach.exp
5871 * gdb.base/auxv.exp
5872 * gdb.base/bang.exp
5873 * gdb.base/bfp-test.exp
5874 * gdb.base/bigcore.exp
5875 * gdb.base/bitfields2.exp
5876 * gdb.base/break-fun-addr.exp
5877 * gdb.base/break-probes.exp
5878 * gdb.base/call-rt-st.exp
5879 * gdb.base/callexit.exp
5880 * gdb.base/catch-fork-kill.exp
5881 * gdb.base/charset.exp
5882 * gdb.base/checkpoint.exp
5883 * gdb.base/comprdebug.exp
5884 * gdb.base/constvars.exp
5885 * gdb.base/coredump-filter.exp
5886 * gdb.base/cursal.exp
5887 * gdb.base/cvexpr.exp
5888 * gdb.base/detach.exp
5889 * gdb.base/display.exp
5890 * gdb.base/dmsym.exp
5891 * gdb.base/dprintf-pending.exp
5892 * gdb.base/dso2dso.exp
5893 * gdb.base/dtrace-probe.exp
5894 * gdb.base/dump.exp
5895 * gdb.base/enum_cond.exp
5896 * gdb.base/exe-lock.exp
5897 * gdb.base/exec-invalid-sysroot.exp
5898 * gdb.base/execl-update-breakpoints.exp
5899 * gdb.base/exprs.exp
5900 * gdb.base/fileio.exp
5901 * gdb.base/find.exp
5902 * gdb.base/finish.exp
5903 * gdb.base/fixsection.exp
5904 * gdb.base/foll-vfork.exp
5905 * gdb.base/frame-args.exp
5906 * gdb.base/gcore.exp
5907 * gdb.base/gdb1250.exp
5908 * gdb.base/global-var-nested-by-dso.exp
5909 * gdb.base/gnu-ifunc.exp
5910 * gdb.base/hashline1.exp
5911 * gdb.base/hashline2.exp
5912 * gdb.base/hashline3.exp
5913 * gdb.base/hbreak-in-shr-unsupported.exp
5914 * gdb.base/huge.exp
5915 * gdb.base/infcall-input.exp
5916 * gdb.base/info-fun.exp
5917 * gdb.base/info-shared.exp
5918 * gdb.base/jit-simple.exp
5919 * gdb.base/jit-so.exp
5920 * gdb.base/jit.exp
5921 * gdb.base/jump.exp
5922 * gdb.base/label.exp
5923 * gdb.base/lineinc.exp
5924 * gdb.base/logical.exp
5925 * gdb.base/longjmp.exp
5926 * gdb.base/macscp.exp
5927 * gdb.base/miscexprs.exp
5928 * gdb.base/new-ui-echo.exp
5929 * gdb.base/new-ui-pending-input.exp
5930 * gdb.base/new-ui.exp
5931 * gdb.base/nodebug.exp
5932 * gdb.base/nofield.exp
5933 * gdb.base/offsets.exp
5934 * gdb.base/overlays.exp
5935 * gdb.base/pending.exp
5936 * gdb.base/pointers.exp
5937 * gdb.base/pr11022.exp
5938 * gdb.base/printcmds.exp
5939 * gdb.base/prologue.exp
5940 * gdb.base/ptr-typedef.exp
5941 * gdb.base/realname-expand.exp
5942 * gdb.base/relativedebug.exp
5943 * gdb.base/relocate.exp
5944 * gdb.base/remote.exp
5945 * gdb.base/reread.exp
5946 * gdb.base/return2.exp
5947 * gdb.base/savedregs.exp
5948 * gdb.base/sep.exp
5949 * gdb.base/sepdebug.exp
5950 * gdb.base/sepsymtab.exp
5951 * gdb.base/set-inferior-tty.exp
5952 * gdb.base/setshow.exp
5953 * gdb.base/shlib-call.exp
5954 * gdb.base/sigaltstack.exp
5955 * gdb.base/siginfo-addr.exp
5956 * gdb.base/signals.exp
5957 * gdb.base/signull.exp
5958 * gdb.base/sigrepeat.exp
5959 * gdb.base/so-impl-ld.exp
5960 * gdb.base/solib-display.exp
5961 * gdb.base/solib-overlap.exp
5962 * gdb.base/solib-search.exp
5963 * gdb.base/solib-symbol.exp
5964 * gdb.base/structs.exp
5965 * gdb.base/structs2.exp
5966 * gdb.base/symtab-search-order.exp
5967 * gdb.base/twice.exp
5968 * gdb.base/unload.exp
5969 * gdb.base/varargs.exp
5970 * gdb.base/watchpoint-solib.exp
5971 * gdb.base/watchpoint.exp
5972 * gdb.base/whatis.exp
5973 * gdb.base/wrong_frame_bt_full.exp
5974 * gdb.btrace/dlopen.exp
5975 * gdb.cell/ea-standalone.exp
5976 * gdb.cell/ea-test.exp
5977 * gdb.cp/dispcxx.exp
5978 * gdb.cp/gdb2384.exp
5979 * gdb.cp/method2.exp
5980 * gdb.cp/nextoverthrow.exp
5981 * gdb.cp/pr10728.exp
5982 * gdb.disasm/am33.exp
5983 * gdb.disasm/h8300s.exp
5984 * gdb.disasm/mn10300.exp
5985 * gdb.disasm/sh3.exp
5986 * gdb.dwarf2/dw2-dir-file-name.exp
5987 * gdb.fortran/complex.exp
5988 * gdb.fortran/library-module.exp
5989 * gdb.guile/scm-pretty-print.exp
5990 * gdb.guile/scm-symbol.exp
5991 * gdb.guile/scm-type.exp
5992 * gdb.guile/scm-value.exp
5993 * gdb.linespec/linespec.exp
5994 * gdb.mi/gdb701.exp
5995 * gdb.mi/gdb792.exp
5996 * gdb.mi/mi-breakpoint-changed.exp
5997 * gdb.mi/mi-dprintf-pending.exp
5998 * gdb.mi/mi-dprintf.exp
5999 * gdb.mi/mi-exit-code.exp
6000 * gdb.mi/mi-pending.exp
6001 * gdb.mi/mi-solib.exp
6002 * gdb.mi/new-ui-mi-sync.exp
6003 * gdb.mi/pr11022.exp
6004 * gdb.mi/user-selected-context-sync.exp
6005 * gdb.opt/solib-intra-step.exp
6006 * gdb.python/py-events.exp
6007 * gdb.python/py-finish-breakpoint.exp
6008 * gdb.python/py-mi.exp
6009 * gdb.python/py-prettyprint.exp
6010 * gdb.python/py-shared.exp
6011 * gdb.python/py-symbol.exp
6012 * gdb.python/py-template.exp
6013 * gdb.python/py-type.exp
6014 * gdb.python/py-value.exp
6015 * gdb.reverse/solib-precsave.exp
6016 * gdb.reverse/solib-reverse.exp
6017 * gdb.server/solib-list.exp
6018 * gdb.stabs/weird.exp
6019 * gdb.threads/reconnect-signal.exp
6020 * gdb.threads/stepi-random-signal.exp
6021 * gdb.trace/actions.exp
6022 * gdb.trace/ax.exp
6023 * gdb.trace/backtrace.exp
6024 * gdb.trace/change-loc.exp
6025 * gdb.trace/deltrace.exp
6026 * gdb.trace/ftrace-lock.exp
6027 * gdb.trace/ftrace.exp
6028 * gdb.trace/infotrace.exp
6029 * gdb.trace/mi-tracepoint-changed.exp
6030 * gdb.trace/packetlen.exp
6031 * gdb.trace/passcount.exp
6032 * gdb.trace/pending.exp
6033 * gdb.trace/range-stepping.exp
6034 * gdb.trace/report.exp
6035 * gdb.trace/stap-trace.exp
6036 * gdb.trace/tfind.exp
6037 * gdb.trace/trace-break.exp
6038 * gdb.trace/trace-condition.exp
6039 * gdb.trace/trace-enable-disable.exp
6040 * gdb.trace/trace-mt.exp
6041 * gdb.trace/tracecmd.exp
6042 * gdb.trace/tspeed.exp
6043 * gdb.trace/tsv.exp
6044 * lib/perftest.exp
6045
6046 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
6047
6048 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
6049 with gdb_test_no_output.
6050 Use command as test name.
6051
6052 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
6053
6054 Fix test names starting with uppercase throughout the files.
6055
6056 * gdb.ada/assign_1.exp
6057 * gdb.ada/boolean_expr.exp
6058 * gdb.base/arrayidx.exp
6059 * gdb.base/del.exp
6060 * gdb.base/gcore-buffer-overflow.exp
6061 * gdb.base/testenv.exp
6062 * gdb.compile/compile.exp
6063 * gdb.python/py-framefilter-invalidarg.exp
6064 * gdb.python/py-framefilter.exp
6065
6066 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
6067
6068 Fix test names starting with uppercase throughout the files.
6069
6070 * gdb.ada/array_return.exp
6071 * gdb.ada/expr_delims.exp
6072 * gdb.ada/mi_dyn_arr.exp
6073 * gdb.ada/mi_interface.exp
6074 * gdb.ada/mi_var_array.exp
6075 * gdb.ada/watch_arg.exp
6076 * gdb.arch/alpha-step.exp
6077 * gdb.arch/altivec-regs.exp
6078 * gdb.arch/e500-regs.exp
6079 * gdb.arch/powerpc-d128-regs.exp
6080 * gdb.base/arrayidx.exp
6081 * gdb.base/break.exp
6082 * gdb.base/checkpoint.exp
6083 * gdb.base/debug-expr.exp
6084 * gdb.base/dmsym.exp
6085 * gdb.base/radix.exp
6086 * gdb.base/sepdebug.exp
6087 * gdb.base/testenv.exp
6088 * gdb.base/watch_thread_num.exp
6089 * gdb.base/watchpoint-cond-gone.exp
6090 * gdb.cell/break.exp
6091 * gdb.cell/ea-cache.exp
6092 * gdb.compile/compile.exp
6093 * gdb.cp/gdb2495.exp
6094 * gdb.gdb/selftest.exp
6095 * gdb.gdb/xfullpath.exp
6096 * gdb.go/hello.exp
6097 * gdb.go/integers.exp
6098 * gdb.objc/basicclass.exp
6099 * gdb.pascal/hello.exp
6100 * gdb.pascal/integers.exp
6101 * gdb.python/py-breakpoint.exp
6102 * gdb.python/py-cmd.exp
6103 * gdb.python/py-linetable.exp
6104 * gdb.python/py-xmethods.exp
6105 * gdb.python/python.exp
6106 * gdb.reverse/consecutive-precsave.exp
6107 * gdb.reverse/finish-precsave.exp
6108 * gdb.reverse/i386-precsave.exp
6109 * gdb.reverse/machinestate-precsave.exp
6110 * gdb.reverse/sigall-precsave.exp
6111 * gdb.reverse/solib-precsave.exp
6112 * gdb.reverse/step-precsave.exp
6113 * gdb.reverse/until-precsave.exp
6114 * gdb.reverse/watch-precsave.exp
6115 * gdb.threads/leader-exit.exp
6116 * gdb.threads/pthreads.exp
6117 * gdb.threads/wp-replication.exp
6118 * gdb.trace/actions.exp
6119 * gdb.trace/mi-tsv-changed.exp
6120 * gdb.trace/tsv.exp
6121
6122 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
6123
6124 Fix test names starting with uppercase throughout the files.
6125
6126 * gdb.arch/i386-bp_permanent.exp
6127 * gdb.arch/i386-gnu-cfi.exp
6128 * gdb.base/disasm-end-cu.exp
6129 * gdb.base/macscp.exp
6130 * gdb.base/pending.exp
6131 * gdb.base/watch_thread_num.exp
6132 * gdb.cp/exception.exp
6133 * gdb.cp/gdb2495.exp
6134 * gdb.cp/local.exp
6135 * gdb.python/py-evsignal.exp
6136 * gdb.python/python.exp
6137 * gdb.trace/tracecmd.exp
6138
6139 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
6140
6141 Fix test names starting with uppercase throughout the files.
6142
6143 * gdb.base/charset.exp
6144 * gdb.base/eval.exp
6145 * gdb.base/multi-forks.exp
6146 * gdb.guile/scm-progspace.exp
6147 * gdb.opencl/datatypes.exp
6148 * gdb.python/py-block.exp
6149 * gdb.python/py-function.exp
6150 * gdb.python/py-symbol.exp
6151 * gdb.python/py-symtab.exp
6152 * gdb.python/py-xmethods.exp
6153 * gdb.reverse/break-precsave.exp
6154 * gdb.reverse/break-reverse.exp
6155 * gdb.reverse/consecutive-precsave.exp
6156 * gdb.reverse/consecutive-reverse.exp
6157 * gdb.reverse/finish-precsave.exp
6158 * gdb.reverse/finish-reverse-bkpt.exp
6159 * gdb.reverse/finish-reverse.exp
6160 * gdb.reverse/fstatat-reverse.exp
6161 * gdb.reverse/getresuid-reverse.exp
6162 * gdb.reverse/i386-precsave.exp
6163 * gdb.reverse/i386-reverse.exp
6164 * gdb.reverse/i386-sse-reverse.exp
6165 * gdb.reverse/i387-stack-reverse.exp
6166 * gdb.reverse/insn-reverse.exp
6167 * gdb.reverse/machinestate-precsave.exp
6168 * gdb.reverse/machinestate.exp
6169 * gdb.reverse/next-reverse-bkpt-over-sr.exp
6170 * gdb.reverse/pipe-reverse.exp
6171 * gdb.reverse/readv-reverse.exp
6172 * gdb.reverse/recvmsg-reverse.exp
6173 * gdb.reverse/rerun-prec.exp
6174 * gdb.reverse/s390-mvcle.exp
6175 * gdb.reverse/sigall-precsave.exp
6176 * gdb.reverse/sigall-reverse.exp
6177 * gdb.reverse/solib-precsave.exp
6178 * gdb.reverse/solib-reverse.exp
6179 * gdb.reverse/step-precsave.exp
6180 * gdb.reverse/step-reverse.exp
6181 * gdb.reverse/time-reverse.exp
6182 * gdb.reverse/until-precsave.exp
6183 * gdb.reverse/until-reverse.exp
6184 * gdb.reverse/waitpid-reverse.exp
6185 * gdb.reverse/watch-precsave.exp
6186 * gdb.reverse/watch-reverse.exp
6187
6188 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
6189
6190 Fix test names starting with uppercase throughout the files.
6191
6192 * gdb.arch/i386-mpx-simple_segv.exp
6193 * gdb.arch/i386-mpx.exp
6194 * gdb.arch/i386-permbkpt.exp
6195 * gdb.arch/pa-nullify.exp
6196 * gdb.arch/powerpc-d128-regs.exp
6197 * gdb.arch/vsx-regs.exp
6198 * gdb.base/bfp-test.exp
6199 * gdb.base/break.exp
6200 * gdb.base/breakpoint-shadow.exp
6201 * gdb.base/callfuncs.exp
6202 * gdb.base/charset.exp
6203 * gdb.base/commands.exp
6204 * gdb.base/completion.exp
6205 * gdb.base/dfp-test.exp
6206 * gdb.base/echo.exp
6207 * gdb.base/ending-run.exp
6208 * gdb.base/eval.exp
6209 * gdb.base/expand-psymtabs.exp
6210 * gdb.base/float128.exp
6211 * gdb.base/floatn.exp
6212 * gdb.base/foll-exec-mode.exp
6213 * gdb.base/gdb1056.exp
6214 * gdb.base/gdb11531.exp
6215 * gdb.base/kill-after-signal.exp
6216 * gdb.base/multi-forks.exp
6217 * gdb.base/overlays.exp
6218 * gdb.base/pending.exp
6219 * gdb.base/sepdebug.exp
6220 * gdb.base/testenv.exp
6221 * gdb.base/valgrind-db-attach.exp
6222 * gdb.base/watch_thread_num.exp
6223 * gdb.base/watchpoint-cond-gone.exp
6224 * gdb.base/watchpoint.exp
6225 * gdb.base/watchpoints.exp
6226 * gdb.cp/arg-reference.exp
6227 * gdb.cp/baseenum.exp
6228 * gdb.cp/operator.exp
6229 * gdb.cp/shadow.exp
6230 * gdb.dwarf2/dw2-op-out-param.exp
6231 * gdb.dwarf2/dw2-reg-undefined.exp
6232 * gdb.go/chan.exp
6233 * gdb.go/hello.exp
6234 * gdb.go/integers.exp
6235 * gdb.go/methods.exp
6236 * gdb.go/package.exp
6237 * gdb.guile/scm-parameter.exp
6238 * gdb.guile/scm-progspace.exp
6239 * gdb.guile/scm-value.exp
6240 * gdb.mi/mi-pending.exp
6241 * gdb.mi/user-selected-context-sync.exp
6242 * gdb.multi/multi-attach.exp
6243 * gdb.multi/tids.exp
6244 * gdb.opt/clobbered-registers-O2.exp
6245 * gdb.pascal/floats.exp
6246 * gdb.pascal/integers.exp
6247 * gdb.python/py-block.exp
6248 * gdb.python/py-events.exp
6249 * gdb.python/py-parameter.exp
6250 * gdb.python/py-symbol.exp
6251 * gdb.python/py-symtab.exp
6252 * gdb.python/py-type.exp
6253 * gdb.python/py-value.exp
6254 * gdb.python/py-xmethods.exp
6255 * gdb.python/python.exp
6256 * gdb.reverse/break-precsave.exp
6257 * gdb.reverse/consecutive-precsave.exp
6258 * gdb.reverse/finish-precsave.exp
6259 * gdb.reverse/i386-precsave.exp
6260 * gdb.reverse/machinestate-precsave.exp
6261 * gdb.reverse/sigall-precsave.exp
6262 * gdb.reverse/solib-precsave.exp
6263 * gdb.reverse/step-precsave.exp
6264 * gdb.reverse/until-precsave.exp
6265 * gdb.reverse/watch-precsave.exp
6266 * gdb.server/ext-attach.exp
6267 * gdb.server/ext-restart.exp
6268 * gdb.server/ext-run.exp
6269 * gdb.server/ext-wrapper.exp
6270 * gdb.stabs/gdb11479.exp
6271 * gdb.stabs/weird.exp
6272 * gdb.threads/attach-many-short-lived-threads.exp
6273 * gdb.threads/kill.exp
6274 * gdb.threads/watchpoint-fork.exp
6275
6276 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
6277
6278 Fix test names starting with uppercase throughout all the files below.
6279
6280 * gdb.ada/array_return.exp
6281 * gdb.ada/catch_ex.exp
6282 * gdb.ada/info_exc.exp
6283 * gdb.ada/mi_catch_ex.exp
6284 * gdb.ada/mi_dyn_arr.exp
6285 * gdb.ada/mi_ex_cond.exp
6286 * gdb.ada/mi_exc_info.exp
6287 * gdb.ada/mi_interface.exp
6288 * gdb.ada/mi_task_arg.exp
6289 * gdb.ada/mi_task_info.exp
6290 * gdb.ada/mi_var_array.exp
6291 * gdb.arch/alpha-step.exp
6292 * gdb.arch/amd64-disp-step.exp
6293 * gdb.arch/arm-disp-step.exp
6294 * gdb.arch/disp-step-insn-reloc.exp
6295 * gdb.arch/e500-prologue.exp
6296 * gdb.arch/ftrace-insn-reloc.exp
6297 * gdb.arch/gdb1558.exp
6298 * gdb.arch/i386-bp_permanent.exp
6299 * gdb.arch/i386-disp-step.exp
6300 * gdb.arch/i386-float.exp
6301 * gdb.arch/i386-gnu-cfi.exp
6302 * gdb.arch/ia64-breakpoint-shadow.exp
6303 * gdb.arch/mips16-thunks.exp
6304 * gdb.arch/pa-nullify.exp
6305 * gdb.arch/powerpc-aix-prologue.exp
6306 * gdb.arch/powerpc-power.exp
6307 * gdb.arch/ppc-dfp.exp
6308 * gdb.arch/s390-tdbregs.exp
6309 * gdb.arch/spu-info.exp
6310 * gdb.arch/spu-ls.exp
6311 * gdb.arch/thumb-bx-pc.exp
6312 * gdb.base/advance.exp
6313 * gdb.base/annota-input-while-running.exp
6314 * gdb.base/arrayidx.exp
6315 * gdb.base/asmlabel.exp
6316 * gdb.base/async.exp
6317 * gdb.base/attach-wait-input.exp
6318 * gdb.base/auto-connect-native-target.exp
6319 * gdb.base/batch-preserve-term-settings.exp
6320 * gdb.base/bfp-test.exp
6321 * gdb.base/bigcore.exp
6322 * gdb.base/bp-permanent.exp
6323 * gdb.base/break-always.exp
6324 * gdb.base/break-fun-addr.exp
6325 * gdb.base/break-idempotent.exp
6326 * gdb.base/break-main-file-remove-fail.exp
6327 * gdb.base/break-probes.exp
6328 * gdb.base/break-unload-file.exp
6329 * gdb.base/break.exp
6330 * gdb.base/call-ar-st.exp
6331 * gdb.base/call-rt-st.exp
6332 * gdb.base/call-sc.exp
6333 * gdb.base/call-signal-resume.exp
6334 * gdb.base/call-strs.exp
6335 * gdb.base/callexit.exp
6336 * gdb.base/callfuncs.exp
6337 * gdb.base/catch-gdb-caused-signals.exp
6338 * gdb.base/catch-signal-siginfo-cond.exp
6339 * gdb.base/catch-syscall.exp
6340 * gdb.base/compare-sections.exp
6341 * gdb.base/cond-eval-mode.exp
6342 * gdb.base/condbreak-call-false.exp
6343 * gdb.base/consecutive-step-over.exp
6344 * gdb.base/cursal.exp
6345 * gdb.base/disabled-location.exp
6346 * gdb.base/disasm-end-cu.exp
6347 * gdb.base/display.exp
6348 * gdb.base/double-prompt-target-event-error.exp
6349 * gdb.base/dprintf-bp-same-addr.exp
6350 * gdb.base/dprintf-detach.exp
6351 * gdb.base/dprintf-next.exp
6352 * gdb.base/dprintf-non-stop.exp
6353 * gdb.base/dprintf-pending.exp
6354 * gdb.base/dso2dso.exp
6355 * gdb.base/ending-run.exp
6356 * gdb.base/enum_cond.exp
6357 * gdb.base/examine-backward.exp
6358 * gdb.base/exe-lock.exp
6359 * gdb.base/exec-invalid-sysroot.exp
6360 * gdb.base/execl-update-breakpoints.exp
6361 * gdb.base/execution-termios.exp
6362 * gdb.base/fileio.exp
6363 * gdb.base/fixsection.exp
6364 * gdb.base/foll-exec-mode.exp
6365 * gdb.base/foll-exec.exp
6366 * gdb.base/fork-running-state.exp
6367 * gdb.base/frame-args.exp
6368 * gdb.base/fullpath-expand.exp
6369 * gdb.base/func-ptr.exp
6370 * gdb.base/gcore-relro-pie.exp
6371 * gdb.base/gdb1090.exp
6372 * gdb.base/gdb1555.exp
6373 * gdb.base/global-var-nested-by-dso.exp
6374 * gdb.base/gnu-ifunc.exp
6375 * gdb.base/hbreak-in-shr-unsupported.exp
6376 * gdb.base/hbreak-unmapped.exp
6377 * gdb.base/hook-stop.exp
6378 * gdb.base/infcall-input.exp
6379 * gdb.base/info-fun.exp
6380 * gdb.base/info-shared.exp
6381 * gdb.base/interrupt-noterm.exp
6382 * gdb.base/jit-so.exp
6383 * gdb.base/jit.exp
6384 * gdb.base/line-symtabs.exp
6385 * gdb.base/list.exp
6386 * gdb.base/longjmp.exp
6387 * gdb.base/macscp.exp
6388 * gdb.base/max-value-size.exp
6389 * gdb.base/nodebug.exp
6390 * gdb.base/nofield.exp
6391 * gdb.base/overlays.exp
6392 * gdb.base/paginate-after-ctrl-c-running.exp
6393 * gdb.base/paginate-bg-execution.exp
6394 * gdb.base/paginate-inferior-exit.exp
6395 * gdb.base/pending.exp
6396 * gdb.base/pr11022.exp
6397 * gdb.base/printcmds.exp
6398 * gdb.base/ptr-typedef.exp
6399 * gdb.base/ptype.exp
6400 * gdb.base/randomize.exp
6401 * gdb.base/range-stepping.exp
6402 * gdb.base/realname-expand.exp
6403 * gdb.base/relativedebug.exp
6404 * gdb.base/remote.exp
6405 * gdb.base/savedregs.exp
6406 * gdb.base/sepdebug.exp
6407 * gdb.base/set-noassign.exp
6408 * gdb.base/shlib-call.exp
6409 * gdb.base/shreloc.exp
6410 * gdb.base/sigaltstack.exp
6411 * gdb.base/sigbpt.exp
6412 * gdb.base/siginfo-addr.exp
6413 * gdb.base/siginfo-obj.exp
6414 * gdb.base/siginfo-thread.exp
6415 * gdb.base/signest.exp
6416 * gdb.base/signull.exp
6417 * gdb.base/sigrepeat.exp
6418 * gdb.base/skip.exp
6419 * gdb.base/so-impl-ld.exp
6420 * gdb.base/solib-corrupted.exp
6421 * gdb.base/solib-disc.exp
6422 * gdb.base/solib-display.exp
6423 * gdb.base/solib-overlap.exp
6424 * gdb.base/solib-search.exp
6425 * gdb.base/solib-symbol.exp
6426 * gdb.base/source-execution.exp
6427 * gdb.base/sss-bp-on-user-bp-2.exp
6428 * gdb.base/sss-bp-on-user-bp.exp
6429 * gdb.base/stack-checking.exp
6430 * gdb.base/stale-infcall.exp
6431 * gdb.base/step-break.exp
6432 * gdb.base/step-line.exp
6433 * gdb.base/step-over-exit.exp
6434 * gdb.base/step-test.exp
6435 * gdb.base/structs.exp
6436 * gdb.base/sym-file.exp
6437 * gdb.base/symtab-search-order.exp
6438 * gdb.base/term.exp
6439 * gdb.base/type-opaque.exp
6440 * gdb.base/unload.exp
6441 * gdb.base/until-nodebug.exp
6442 * gdb.base/until.exp
6443 * gdb.base/unwindonsignal.exp
6444 * gdb.base/watch-cond.exp
6445 * gdb.base/watch-non-mem.exp
6446 * gdb.base/watch_thread_num.exp
6447 * gdb.base/watchpoint-reuse-slot.exp
6448 * gdb.base/watchpoint-solib.exp
6449 * gdb.base/watchpoint.exp
6450 * gdb.btrace/dlopen.exp
6451 * gdb.cell/arch.exp
6452 * gdb.cell/break.exp
6453 * gdb.cell/bt.exp
6454 * gdb.cell/core.exp
6455 * gdb.cell/data.exp
6456 * gdb.cell/dwarfaddr.exp
6457 * gdb.cell/ea-cache.exp
6458 * gdb.cell/ea-standalone.exp
6459 * gdb.cell/ea-test.exp
6460 * gdb.cell/f-regs.exp
6461 * gdb.cell/fork.exp
6462 * gdb.cell/gcore.exp
6463 * gdb.cell/mem-access.exp
6464 * gdb.cell/ptype.exp
6465 * gdb.cell/registers.exp
6466 * gdb.cell/sizeof.exp
6467 * gdb.cell/solib-symbol.exp
6468 * gdb.cell/solib.exp
6469 * gdb.compile/compile-tls.exp
6470 * gdb.cp/exception.exp
6471 * gdb.cp/gdb2495.exp
6472 * gdb.cp/local.exp
6473 * gdb.cp/mb-inline.exp
6474 * gdb.cp/mb-templates.exp
6475 * gdb.cp/pr10687.exp
6476 * gdb.cp/pr9167.exp
6477 * gdb.cp/scope-err.exp
6478 * gdb.cp/templates.exp
6479 * gdb.cp/virtfunc.exp
6480 * gdb.dwarf2/dw2-dir-file-name.exp
6481 * gdb.dwarf2/dw2-single-line-discriminators.exp
6482 * gdb.fortran/complex.exp
6483 * gdb.fortran/library-module.exp
6484 * gdb.guile/guile.exp
6485 * gdb.guile/scm-cmd.exp
6486 * gdb.guile/scm-frame-inline.exp
6487 * gdb.guile/scm-objfile.exp
6488 * gdb.guile/scm-pretty-print.exp
6489 * gdb.guile/scm-symbol.exp
6490 * gdb.guile/scm-type.exp
6491 * gdb.guile/scm-value.exp
6492 * gdb.linespec/keywords.exp
6493 * gdb.linespec/ls-errs.exp
6494 * gdb.linespec/macro-relative.exp
6495 * gdb.linespec/thread.exp
6496 * gdb.mi/mi-breakpoint-changed.exp
6497 * gdb.mi/mi-dprintf-pending.exp
6498 * gdb.mi/mi-fullname-deleted.exp
6499 * gdb.mi/mi-logging.exp
6500 * gdb.mi/mi-pending.exp
6501 * gdb.mi/mi-solib.exp
6502 * gdb.mi/new-ui-mi-sync.exp
6503 * gdb.mi/user-selected-context-sync.exp
6504 * gdb.multi/dummy-frame-restore.exp
6505 * gdb.multi/multi-arch-exec.exp
6506 * gdb.multi/remove-inferiors.exp
6507 * gdb.multi/watchpoint-multi-exit.exp
6508 * gdb.opt/solib-intra-step.exp
6509 * gdb.perf/backtrace.exp
6510 * gdb.perf/single-step.exp
6511 * gdb.perf/skip-command.exp
6512 * gdb.perf/skip-prologue.exp
6513 * gdb.perf/solib.exp
6514 * gdb.python/lib-types.exp
6515 * gdb.python/py-as-string.exp
6516 * gdb.python/py-bad-printers.exp
6517 * gdb.python/py-block.exp
6518 * gdb.python/py-breakpoint.exp
6519 * gdb.python/py-cmd.exp
6520 * gdb.python/py-events.exp
6521 * gdb.python/py-evthreads.exp
6522 * gdb.python/py-finish-breakpoint.exp
6523 * gdb.python/py-finish-breakpoint2.exp
6524 * gdb.python/py-frame-inline.exp
6525 * gdb.python/py-frame.exp
6526 * gdb.python/py-inferior.exp
6527 * gdb.python/py-infthread.exp
6528 * gdb.python/py-mi.exp
6529 * gdb.python/py-objfile.exp
6530 * gdb.python/py-pp-maint.exp
6531 * gdb.python/py-pp-registration.exp
6532 * gdb.python/py-prettyprint.exp
6533 * gdb.python/py-recurse-unwind.exp
6534 * gdb.python/py-shared.exp
6535 * gdb.python/py-symbol.exp
6536 * gdb.python/py-symtab.exp
6537 * gdb.python/py-template.exp
6538 * gdb.python/py-type.exp
6539 * gdb.python/py-unwind-maint.exp
6540 * gdb.python/py-unwind.exp
6541 * gdb.python/py-value.exp
6542 * gdb.python/python.exp
6543 * gdb.reverse/finish-reverse-bkpt.exp
6544 * gdb.reverse/insn-reverse.exp
6545 * gdb.reverse/next-reverse-bkpt-over-sr.exp
6546 * gdb.reverse/solib-precsave.exp
6547 * gdb.reverse/solib-reverse.exp
6548 * gdb.stabs/gdb11479.exp
6549 * gdb.stabs/weird.exp
6550 * gdb.threads/fork-child-threads.exp
6551 * gdb.threads/fork-plus-threads.exp
6552 * gdb.threads/fork-thread-pending.exp
6553 * gdb.threads/forking-threads-plus-breakpoint.exp
6554 * gdb.threads/hand-call-in-threads.exp
6555 * gdb.threads/interrupted-hand-call.exp
6556 * gdb.threads/linux-dp.exp
6557 * gdb.threads/local-watch-wrong-thread.exp
6558 * gdb.threads/next-while-other-thread-longjmps.exp
6559 * gdb.threads/non-ldr-exit.exp
6560 * gdb.threads/pending-step.exp
6561 * gdb.threads/print-threads.exp
6562 * gdb.threads/process-dies-while-detaching.exp
6563 * gdb.threads/process-dies-while-handling-bp.exp
6564 * gdb.threads/pthreads.exp
6565 * gdb.threads/queue-signal.exp
6566 * gdb.threads/reconnect-signal.exp
6567 * gdb.threads/signal-command-handle-nopass.exp
6568 * gdb.threads/signal-command-multiple-signals-pending.exp
6569 * gdb.threads/signal-delivered-right-thread.exp
6570 * gdb.threads/signal-sigtrap.exp
6571 * gdb.threads/sigthread.exp
6572 * gdb.threads/staticthreads.exp
6573 * gdb.threads/stepi-random-signal.exp
6574 * gdb.threads/thread-unwindonsignal.exp
6575 * gdb.threads/thread_check.exp
6576 * gdb.threads/thread_events.exp
6577 * gdb.threads/tid-reuse.exp
6578 * gdb.threads/tls-nodebug.exp
6579 * gdb.threads/tls-shared.exp
6580 * gdb.threads/tls-so_extern.exp
6581 * gdb.threads/tls.exp
6582 * gdb.threads/wp-replication.exp
6583 * gdb.trace/actions-changed.exp
6584 * gdb.trace/actions.exp
6585 * gdb.trace/backtrace.exp
6586 * gdb.trace/change-loc.exp
6587 * gdb.trace/collection.exp
6588 * gdb.trace/deltrace.exp
6589 * gdb.trace/disconnected-tracing.exp
6590 * gdb.trace/entry-values.exp
6591 * gdb.trace/ftrace-lock.exp
6592 * gdb.trace/ftrace.exp
6593 * gdb.trace/infotrace.exp
6594 * gdb.trace/mi-trace-frame-collected.exp
6595 * gdb.trace/mi-trace-unavailable.exp
6596 * gdb.trace/mi-traceframe-changed.exp
6597 * gdb.trace/mi-tracepoint-changed.exp
6598 * gdb.trace/mi-tsv-changed.exp
6599 * gdb.trace/no-attach-trace.exp
6600 * gdb.trace/packetlen.exp
6601 * gdb.trace/passc-dyn.exp
6602 * gdb.trace/passcount.exp
6603 * gdb.trace/pending.exp
6604 * gdb.trace/pr16508.exp
6605 * gdb.trace/qtro.exp
6606 * gdb.trace/range-stepping.exp
6607 * gdb.trace/read-memory.exp
6608 * gdb.trace/report.exp
6609 * gdb.trace/save-trace.exp
6610 * gdb.trace/signal.exp
6611 * gdb.trace/stap-trace.exp
6612 * gdb.trace/status-stop.exp
6613 * gdb.trace/strace.exp
6614 * gdb.trace/tfile.exp
6615 * gdb.trace/tfind.exp
6616 * gdb.trace/trace-break.exp
6617 * gdb.trace/trace-condition.exp
6618 * gdb.trace/trace-enable-disable.exp
6619 * gdb.trace/trace-mt.exp
6620 * gdb.trace/tracecmd.exp
6621 * gdb.trace/tracefile-pseudo-reg.exp
6622 * gdb.trace/tspeed.exp
6623 * gdb.trace/tstatus.exp
6624 * gdb.trace/tsv.exp
6625 * gdb.trace/unavailable.exp
6626 * gdb.trace/while-dyn.exp
6627 * gdb.trace/while-stepping.exp
6628 * lib/gdb-guile.exp
6629 * lib/gdb.exp
6630 * lib/mi-support.exp
6631 * lib/pascal.exp
6632 * lib/perftest.exp
6633 * lib/prelink-support.exp
6634 * lib/selftest-support.exp
6635
6636 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
6637
6638 * Makefile.in: Include disable-implicit-rules.mk.
6639
6640 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
6641
6642 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
6643 non-byte-aligned bit fields.
6644
6645 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
6646
6647 PR gdb/12616
6648 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
6649 respects the DW_AT_data_bit_offset attribute.
6650
6651 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
6652
6653 * gdb.base/default.exp: Fix output of "set language".
6654
6655 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
6656
6657 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
6658 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
6659 make.
6660 * configure.ac: Remove checks for the make program.
6661 * configure: Re-generate.
6662
6663 2016-11-16 Kevin Buettner <kevinb@redhat.com>
6664
6665 * gdb.python/py-recurse-unwind.c (main): Add loop.
6666 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
6667 to read_register() and gdb.parse_and_eval(). Make each code
6668 call a separate case that can be individually tested.
6669 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
6670 proc. Call cont_and_backtrace for each of the code paths that
6671 we want to test in the unwinder.
6672
6673 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
6674
6675 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
6676 the definition of struct S.
6677
6678 2016-11-11 Catherine Moore <clm@codesourcery.com>
6679
6680 * gdb.base/dump.exp: Identify verilog format dump tests as such.
6681
6682 2016-11-09 Pedro Alves <palves@redhat.com>
6683
6684 * gdb.base/commands.exp (runto_or_return): New procedure.
6685 (gdbvar_simple_if_test, gdbvar_simple_while_test)
6686 (gdbvar_complex_if_while_test, progvar_simple_if_test)
6687 (progvar_simple_while_test, progvar_complex_if_while_test)
6688 (if_while_breakpoint_command_test)
6689 (infrun_breakpoint_command_test, breakpoint_command_test)
6690 (user_defined_command_test, watchpoint_command_test)
6691 (test_command_prompt_position, redefine_hook_test)
6692 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
6693 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
6694 multi_line_input and multi_line. Remove gdb_expect and
6695 gdb_stop_suppressing_tests uses.
6696 * lib/gdb.exp (valnum_re): New global.
6697 (multi_line_input): New procedure.
6698
6699 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
6700
6701 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
6702 Remove.
6703 (test_setup): Define with proc_with_prefix.
6704 (test_cli_inferior): Likewise.
6705 (test_cli_thread): Likewise.
6706 (test_cli_frame): Likewise.
6707 (test_cli_select_frame): Likewise.
6708 (test_cli_up_down): Likewise.
6709 (test_mi_thread_select): Likewise.
6710 (test_mi_stack_select_frame): Likewise.
6711 (test_cli_in_mi_inferior): Likewise.
6712 (test_cli_in_mi_thread): Likewise.
6713 (test_cli_in_mi_frame): Likewise.
6714 (top level): Do not use with_test_prefix_procname.
6715
6716 2016-11-09 Pedro Alves <palves@redhat.com>
6717
6718 * gdb.base/commands.exp (gdbvar_simple_if_test)
6719 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
6720 (progvar_simple_if_test, progvar_simple_while_test)
6721 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
6722 (infrun_breakpoint_command_test, breakpoint_command_test)
6723 (user_defined_command_test, watchpoint_command_test)
6724 (test_command_prompt_position, deprecated_command_test)
6725 (bp_deleted_in_command, temporary_breakpoint_commands)
6726 (stray_arg0_test, source_file_with_indented_comment)
6727 (recursive_source_test, if_commands_test)
6728 (error_clears_commands_left, redefine_hook_test)
6729 (redefine_backtrace_test): Use proc_with_prefix.
6730 * lib/gdb.exp (proc_with_prefix): New proc.
6731
6732 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
6733
6734 * gdb.base/tui-layout.c: New file.
6735 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
6736 disassembly window contains very long lines.
6737
6738 2016-11-08 Tom Tromey <tom@tromey.com>
6739
6740 * gdb.python/py-value.exp (test_value_creation): Make "long" test
6741 depend on Python 2.
6742
6743 2016-11-08 Tom Tromey <tom@tromey.com>
6744
6745 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
6746 New method.
6747
6748 2016-10-29 Manish Goregaokar <manish@mozilla.com>
6749
6750 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
6751
6752 2016-10-27 Manish Goregaokar <manish@mozilla.com>
6753
6754 * gdb.rust/simple.rs: Add test for univariant enums without
6755 discriminants and for encoded struct-like enums.
6756
6757 2016-10-28 Pedro Alves <palves@redhat.com>
6758
6759 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
6760 gdb_test_multiple, tighten regexps and match symtabs and line
6761 tables incrementally.
6762
6763 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
6764
6765 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
6766 general.
6767
6768 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
6769
6770 * gdb.base/exec-invalid-sysroot.exp: New file.
6771
6772 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6773
6774 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
6775
6776 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6777
6778 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
6779
6780 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
6781
6782 * gdb.base/killed-outside.exp: Remove $options from a call to
6783 `prepare_for_testing'.
6784
6785 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
6786
6787 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
6788 Change test message.
6789
6790 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
6791
6792 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
6793 Update comment.
6794
6795 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
6796
6797 * gdb.trace/mi-trace-save.exp: New file.
6798
6799 2016-10-13 Yao Qi <yao.qi@linaro.org>
6800
6801 * gdb.base/code_elim.exp (get_var_address): Remove.
6802 * gdb.base/relocate.exp: Likewise.
6803 * gdb.base/shreloc.exp: Likewise.
6804 * lib/gdb.exp (get_var_address): New.
6805
6806 2016-10-13 Yao Qi <yao.qi@linaro.org>
6807
6808 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
6809 floating point tests if $skip_float_test is false.
6810
6811 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
6812
6813 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
6814 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
6815 argc values.
6816 Add 1 to argc so we guarantee distinct initial/modified argc values.
6817
6818 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6819
6820 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
6821
6822 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6823
6824 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
6825 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
6826 * gdb.arch/vsx-regs.exp: Likewise.
6827
6828 2016-10-07 Yao Qi <yao.qi@linaro.org>
6829
6830 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
6831
6832 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
6833
6834 * gdb.python/python.exp: Test decode_line("*0").
6835
6836 2016-10-06 Doug Evans <dje@google.com>
6837
6838 * gdb.python/py-value.exp (test_value_creation): Add test for large
6839 unsigned 64-bit value.
6840
6841 2016-10-06 Tom Tromey <tom@tromey.com>
6842
6843 * gdb.compile/compile.exp: Change java tests to rust.
6844 * gdb.base/setshow.exp: Change java tests to rust.
6845 * gdb.base/default.exp: Remove java from language list.
6846 * README (Examples): Update language example.
6847 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
6848 test.
6849 * lib/gdb.exp (skip_java_tests): Remove.
6850 * lib/java.exp: Remove.
6851 * gdb.java: Remove.
6852
6853 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
6854
6855 * gdb.arch/mips-fcr.exp: New test.
6856 * gdb.arch/mips-fcr.c: Source for the new test.
6857
6858 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
6859
6860 * gdb.base/solib-disc.exp: Use `standard_output_file'
6861 throughout.
6862
6863 2016-10-06 Pedro Alves <palves@redhat.com>
6864
6865 * gdb.base/jit-simple-dl.c: New file.
6866 * gdb.base/jit-simple-jit.c: New file, factored out from ...
6867 * gdb.base/jit-simple.c: ... this.
6868 * gdb.base/jit-simple.exp (jit_run): Delete.
6869 (build_jit): New proc.
6870 (jit_test_reread): Recompile either the main program or the shared
6871 library, depending on what is being tested. Skip changing address
6872 if caller wants to. Compare before/after addresses. If testing
6873 standalone, explicitly load the binary. Test "maint info
6874 breakpoints".
6875 (top level): Add "standalone vs shared lib" and "change address"
6876 vs "same address" axes.
6877
6878 2016-10-06 Pedro Alves <palves@redhat.com>
6879
6880 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
6881 call.
6882 (jit_run): Delete.
6883 (jit_test_reread): Use with_test_prefix. Reload the main binary
6884 explicitly. Compare the before/after addresses of the JIT
6885 descriptor.
6886
6887 2016-08-15 Doug Evans <dje@google.com>
6888
6889 * gdb.xml/extra-regs.xml: Update, end field now required, default type
6890 for single bitfields is bool.
6891 * gdb.xml/tdesc-regs.exp: Ditto.
6892
6893 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
6894
6895 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
6896
6897 2016-10-05 Yao Qi <yao.qi@linaro.org>
6898
6899 * lib/gdb.exp (support_complex_tests): Return zero if
6900 gdb_skip_float_test return true.
6901
6902 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
6903 Simon Marchi <simon.marchi@ericsson.com>
6904
6905 PR gdb/20487
6906 * gdb.mi/user-selected-context-sync.exp: New file.
6907 * gdb.mi/user-selected-context-sync.c: New file.
6908
6909 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
6910 Simon Marchi <simon.marchi@ericsson.com>
6911
6912 PR gdb/20487
6913 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
6914 =thread-select-event check.
6915
6916 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
6917
6918 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
6919 the compulsory L operand changes.
6920 * gdb.arch/powerpc-power.s: Likewise.
6921
6922 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6923
6924 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
6925 * gdb.base/jit-attach-pie.c: New file.
6926 * gdb.base/jit-attach-pie.exp: New file.
6927
6928 2016-09-28 Pedro Alves <palves@redhat.com>
6929
6930 * gdb.base/infcall-input.c: New file.
6931 * gdb.base/infcall-input.exp: New file.
6932
6933 2016-09-22 Yao Qi <yao.qi@linaro.org>
6934
6935 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
6936 (gdb_exit): Rename it to ...
6937 (gdbserver_gdb_exit): ... Close GDBserver.
6938 (gdb_exit): New proc, call gdbserver_gdb_exit.
6939 (mi_gdb_exit): Likewise.
6940
6941 2016-09-22 Yao Qi <yao.qi@linaro.org>
6942
6943 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
6944 path.
6945 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
6946 Remove duplication.
6947
6948 2016-09-22 Yao Qi <yao.qi@linaro.org>
6949
6950 * lib/gdbserver-support.exp: Check the existence of
6951 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
6952
6953 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
6954
6955 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
6956
6957 2016-09-21 Tom Tromey <tom@tromey.com>
6958
6959 PR gdb/20604:
6960 * gdb.base/quit.exp: New file.
6961
6962 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
6963
6964 * .gitignore: New file.
6965
6966 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
6967
6968 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
6969 throughout.
6970
6971 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6972
6973 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
6974
6975 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6976
6977 * gdb.cp/casts.cc (decltype): Move it ...
6978 (main): ... with its call to ...
6979 * gdb.cp/casts03.cc: ... a new file.
6980 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
6981
6982 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6983
6984 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
6985
6986 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
6987
6988 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
6989 and sync up the test with tests in gas/testsuite/gas/ppc.
6990 * gdb.arch/powerpc-power.exp: Likewise.
6991
6992 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6993
6994 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
6995
6996 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
6997 Jan Kratochvil <jan.kratochvil@redhat.com>
6998
6999 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
7000 make m1's definition to be different from m2's. Use 'dummy' as an
7001 argument for probe 'two'.
7002
7003 2016-09-10 Jon Beniston <jon@beniston.com>
7004
7005 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
7006 for sim target.
7007
7008 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
7009
7010 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
7011 variable declaration.
7012 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
7013 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
7014 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
7015 received HWCAP as its argument.
7016
7017 2016-09-06 Pedro Alves <palves@redhat.com>
7018
7019 * gdb.base/new-ui-pending-input.c: New file.
7020 * gdb.base/new-ui-pending-input.exp: New file.
7021 * gdb.exp (clear_gdb_spawn_id): New procedure.
7022 (with_spawn_id): Check whether gdb_spawn_id exists before
7023 referencing it. If gdb_spawn_id didn't exist on entry, clear it
7024 on exit.
7025
7026 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
7027
7028 * gdb.base/float128.c: New file.
7029 * gdb.base/float128.exp: Likewise.
7030 * gdb.base/floatn.c: Likewise.
7031 * gdb.base/floatn.exp: Likewise.
7032
7033 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
7034
7035 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
7036
7037 2016-09-05 Pedro Alves <palves@redhat.com>
7038
7039 PR backtrace/19927
7040 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
7041 unwinders are immediately called as side effect of "source" or
7042 "disable unwinder" commands.
7043 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
7044
7045 2016-09-02 Yao Qi <yao.qi@linaro.org>
7046
7047 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
7048 is true and $type is "float" or "double".
7049
7050 2016-09-02 Yao Qi <yao.qi@linaro.org>
7051
7052 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
7053 true.
7054 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
7055 * gdb.base/call-rt-st.exp: Likewise.
7056 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
7057 return value instead of gdb,skip_float_test.
7058 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
7059 (do_function_calls): Use its return value instead of
7060 gdb,skip_float_test.
7061 * gdb.base/finish.exp: Likewise.
7062 * gdb.base/funcargs.exp: Likewise.
7063 * gdb.base/return.exp: Likewise.
7064 * gdb.base/return2.exp: Likewise.
7065 * gdb.base/varargs.exp: Likewise.
7066 * lib/gdb.exp (gdb_skip_float_test): Change it to
7067 gdb_caching_proc. Detect the broken ptrace on arm-linux.
7068
7069 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
7070
7071 * gdb.multi/tids.exp: Test "thread apply all".
7072
7073 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7074
7075 * gdb.base/default.exp (tty): Remove.
7076
7077 2016-08-24 Kevin Buettner <kevinb@redhat.com>
7078
7079 * gdb.python/py-recurse-unwind.c: New file.
7080 * gdb.python/py-recurse-unwind.py: New file.
7081 * gdb.python/py-recurse-unwind.exp: New file.
7082
7083 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
7084
7085 * gdb.base/set-inferior-tty.exp: New file.
7086 * gdb.base/set-inferior-tty.c: New file.
7087
7088 2016-08-23 Pedro Alves <palves@redhat.com>
7089
7090 PR gdb/20494
7091 * gdb.base/new-ui-echo.c: New file.
7092 * gdb.base/new-ui-echo.exp: New file.
7093
7094 2016-08-23 Yao Qi <yao.qi@linaro.org>
7095
7096 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
7097 gdbserver_spawn.
7098 * gdb.server/connect-without-multi-process.exp (do_test):
7099 Likewise.
7100
7101 2016-08-23 Yao Qi <yao.qi@linaro.org>
7102
7103 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
7104 standalone_txt. Delete gdb_txt and standalone_txt on host
7105 and target. Spawn the binary on target. Copy files from
7106 target to host.
7107
7108 2016-08-22 Pedro Alves <palves@redhat.com>
7109
7110 PR gdb/20505
7111 * gdb.base/vdso-warning.exp: Test core dumps too. Use
7112 with_test_prefix. Factor out bits to ...
7113 (test_no_vdso): ... this new procedure.
7114
7115 2016-08-19 Carl Love <cel@us.ibm.com>
7116
7117 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
7118 maintaining separate logic for constructing the output path.
7119 * gdb.arch/powerpc-d128-regs.exp: Likewise.
7120 * gdb.arch/ppc-dfp.exp: Likewise.
7121 * gdb.arch/ppc-fp.exp: Likewise.
7122 * gdb.arch/vsx-regs.exp: Likewise.
7123 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
7124 binprefix for generating the additional binary files.
7125
7126 2016-08-19 Pedro Alves <palves@redhat.com>
7127
7128 * gdb.trace/mi-trace-frame-collected.exp
7129 (test_trace_frame_collected): On x32, expect two registers.
7130
7131 2016-08-18 Carl Love <cel@us.ibm.com>
7132
7133 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
7134 and sync up the test with tests in gas/testsuite/gas/ppc.
7135 * gdb.arch/powerpc-power.exp: Likewise.
7136
7137 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
7138
7139 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
7140 expected error message.
7141
7142 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
7143
7144 * gdb.multi/remove-inferiors.exp: New file.
7145 * gdb.multi/remove-inferiors.c: New file.
7146
7147 2016-08-12 Yao Qi <yao.qi@linaro.org>
7148
7149 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
7150 argument list.
7151
7152 2016-08-10 Pedro Alves <palves@redhat.com>
7153
7154 PR gdb/19187
7155 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
7156 setup_kfails.
7157
7158 2016-08-09 Pedro Alves <palves@redhat.com>
7159 Simon Marchi <simon.marchi@ericsson.com>
7160
7161 PR gdb/20418
7162 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
7163 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
7164
7165 2016-08-09 Pedro Alves <palves@redhat.com>
7166
7167 PR mi/20431
7168 * gdb.mi/mi-cmd-error.exp: New file.
7169
7170 2016-08-09 Pedro Alves <palves@redhat.com>
7171
7172 PR gdb/18653
7173 * gdb.base/signals-state-child.c: New file.
7174 * gdb.base/signals-state-child.exp: New file.
7175 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
7176
7177 2016-08-09 Pedro Alves <palves@redhat.com>
7178
7179 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
7180
7181 2016-08-03 Tom Tromey <tom@tromey.com>
7182
7183 PR python/18565:
7184 * gdb.python/py-frame-inline.exp: Add Frame.function test.
7185
7186 2016-08-01 Yao Qi <yao.qi@linaro.org>
7187
7188 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
7189 variable mode to "multi-process" if $multi_process is 1, otherwise
7190 set it to "single-process".
7191
7192 2016-08-01 Yao Qi <yao.qi@linaro.org>
7193
7194 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
7195 * gdb.cp/cpexprs.exp: Likewise.
7196 * gdb.cp/m-static.exp: Likewise.
7197
7198 2016-07-26 Tom Tromey <tom@tromey.com>
7199
7200 PR python/20190:
7201 * gdb.threads/tls.exp (check_thread_local): Add python symbol
7202 test.
7203
7204 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
7205
7206 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
7207 selecting assembly source files.
7208 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
7209 assembly source files.
7210 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
7211 assembly source files.
7212 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
7213 selecting assembly source files.
7214
7215 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
7216
7217 * gdb.base/new-ui.exp (do_test_invalid_args): New
7218 procedure.
7219
7220 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
7221
7222 * gdb.btrace/reconnect.c: New file.
7223 * gdb.btrace/reconnect.exp: New file.
7224
7225 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
7226
7227 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
7228 to test_catch_syscall_group.
7229 (test_catch_syscall_group): New.
7230
7231 2016-07-21 Tom Tromey <tom@tromey.com>
7232
7233 * gdb.rust/simple.rs (main): Use empty struct expression.
7234 * gdb.rust/simple.exp: Add tests for empty struct expression.
7235
7236 2016-07-21 Yao Qi <yao.qi@linaro.org>
7237
7238 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
7239 if gdb_skip_xml_test is true on some targets.
7240
7241 2016-07-21 Yao Qi <yao.qi@linaro.org>
7242
7243 * gdb.server/solib-list.exp: Unset last_loaded_file.
7244
7245 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7246
7247 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
7248 "step into captured_main (args)".
7249
7250 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7251
7252 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
7253
7254 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7255
7256 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
7257
7258 2016-07-19 Pedro Alves <palves@redhat.com>
7259
7260 * gdb.opt/inline-break.exp: Remove optimize=-O2.
7261 * gdb.opt/inline-bt.exp: Likewise.
7262 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
7263 additional_flags=-Winline.
7264 * gdb.opt/inline-locals.exp: Likewise.
7265 * gdb.opt/inline-markers.c (ATTR): Define.
7266 (inlined_fn): Use it.
7267
7268 2016-07-19 Yao Qi <yao.qi@linaro.org>
7269
7270 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
7271 (test_with_self): Remove some code. Remove argument executable.
7272 (top-level): Use do_self_tests.
7273
7274 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
7275 Don Breazeal <donb@codesourcery.com>
7276
7277 * gdb.base/maint.exp: Escape paths used in regular expressions.
7278 * gdb.stabs/weird.exp: Likewise.
7279
7280 2016-07-13 Tom Tromey <tom@tromey.com>
7281
7282 PR python/15620, PR python/18620:
7283 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
7284 (test_bkpt_events): New procs.
7285
7286 2016-07-13 Tom Tromey <tom@tromey.com>
7287
7288 PR python/17698:
7289 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
7290 test.
7291 (test_watchpoints): Likewise.
7292 (test_bkpt_pending): New proc.
7293
7294 2016-07-13 Tom Tromey <tom@tromey.com>
7295
7296 PR cli/18053:
7297 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
7298 completion test.
7299
7300 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7301
7302 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
7303 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
7304 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
7305 f_label.
7306 (g): Rename g_end_lbl to g_label.
7307 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
7308 low_pc and high_pc.
7309 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
7310
7311 2016-07-12 Tom Tromey <tom@tromey.com>
7312
7313 PR python/19293:
7314 * gdb.python/py-unwind-maint.exp: Update tests.
7315
7316 2016-07-12 Yao Qi <yao.qi@linaro.org>
7317
7318 * lib/selftest-support.exp (selftest_setup): Match the output
7319 when captured_main is inlined.
7320
7321 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
7322
7323 * gdb.fortran/derived-types.exp (result_line, result_line_2):
7324 New variables.
7325 (print this%a, print this%b, print this): New tests.
7326 * gdb.fortran/derived-types.f90 (this): New object and
7327 initialization.
7328
7329 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
7330
7331 * gdb.ada/arraydim.exp: Remove extra directory level in build
7332 directory.
7333
7334 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
7335
7336 * lib/ada.exp: Remove extra directory level in build directory.
7337 * gdb.ada/cond_lang.exp: Likewise.
7338 * gdb.ada/exec_changed.exp: Likewise.
7339 * gdb.ada/lang_switch.exp: Likewise.
7340
7341 2016-07-06 Manish Goregaokar <manish@mozilla.com>
7342
7343 * simple.rs: Add test for raw pointer subscripting.
7344 * simple.exp: Add test expectations.
7345
7346 2016-07-05 Yao Qi <yao.qi@linaro.org>
7347
7348 * gdb.mi/mi-reverse.exp: Match =record-started output.
7349
7350 2016-07-01 Pedro Alves <palves@redhat.com>
7351
7352 * gdb.base/jit-reader.exp (info_registers_current_frame): New
7353 procedure.
7354 (jit_reader_test): Test the jit reader's unwinder.
7355 * gdb.base/jithost.c (jit_function_00_code): New global.
7356 (main): Use memcpy to fill in the mmapped code, instead of poking
7357 bytes manually here.
7358 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
7359 value.
7360 (read_debug_info): Save the function's range.
7361 (read_sp): New function.
7362 (unwind_frame): Use it. Also unwind RBP.
7363 (get_frame_id): Use read_sp.
7364 (gdb_init_reader): Use calloc instead of malloc.
7365 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
7366 parameter. Use gdb_test_multiple.
7367
7368 2016-07-01 Pedro Alves <palves@redhat.com>
7369 Antoine Tremblay <antoine.tremblay@ericsson.com>
7370
7371 * gdb.threads/process-dies-while-detaching.c: New file.
7372 * gdb.threads/process-dies-while-detaching.exp: New file.
7373
7374 2016-07-01 Pedro Alves <palves@redhat.com>
7375
7376 * gdb.multi/watchpoint-multi-exit.c: New file.
7377 * gdb.multi/watchpoint-multi-exit.exp: New file.
7378
7379 2016-06-30 Pedro Alves <palves@redhat.com>
7380
7381 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
7382 unset inferior_spawn_id.
7383
7384 2016-06-30 Pedro Alves <palves@redhat.com>
7385
7386 * lib/mi-support.exp (default_mi_gdb_start): Declare global
7387 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
7388
7389 2016-06-29 Yao Qi <yao.qi@linaro.org>
7390
7391 * gdb.base/return.c: Add copyright header.
7392
7393 2016-06-29 Tom Tromey <tom@tromey.com>
7394
7395 PR python/20129:
7396 * gdb.python/py-framefilter.exp: Add tests for setting priority
7397 and disabling of non-existent frame filter.
7398
7399 2016-06-29 Yao Qi <yao.qi@linaro.org>
7400
7401 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
7402 0x0f07ff.
7403
7404 2016-06-28 Yao Qi <yao.qi@linaro.org>
7405
7406 * gdb.base/catch-syscall.exp: Remove check on isnative and target
7407 triplets. Start gdb, execute catch syscall, and continue. Check
7408 gdb's output to determine catch syscall is supported.
7409
7410 2016-06-27 Manish Goregaokar <manish@mozilla.com>
7411
7412 * gdb.rust/simple.rs: Add test for returning unit in a function.
7413 * gdb.rust/simple.exp: Add expectation for functions returning
7414 unit.
7415
7416 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
7417
7418 * gdb.python/py-breakpoint-create-fail.c,
7419 gdb.python/py-breakpoint-create-fail.exp,
7420 gdb.python/py-breakpoint-create-fail.py: New testcase.
7421
7422 2016-06-25 Manish Goregaokar <manish@mozilla.com>
7423
7424 PR gdb/20239
7425 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
7426 * gdb.rust/simple.exp: Add test expectations for new NonZero
7427 tests.
7428
7429 2016-06-24 David Taylor <dtaylor@emc.com>
7430
7431 * gdb.base/offsets.exp: New file.
7432 * gdb.base/offsets.c: New file.
7433
7434 2016-06-23 Tom Tromey <tom@tromey.com>
7435
7436 PR gdb/16483:
7437 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
7438 before any filters are loaded.
7439
7440 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
7441
7442 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
7443 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
7444 structs.
7445 * gdb.fortran/derived-type-function.exp: New file.
7446 * gdb.fortran/derived-type-function.f90: New file.
7447
7448
7449 2016-06-21 Pedro Alves <palves@redhat.com>
7450
7451 * gdb.base/new-ui.exp: New file.
7452 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
7453 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
7454 (with_spawn_id): New procedure.
7455
7456 2016-06-21 Pedro Alves <palves@redhat.com>
7457
7458 * gdb.mi/mi-exec-run.exp: New file.
7459
7460 2016-06-21 Pedro Alves <palves@redhat.com>
7461
7462 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
7463 breakpoint command's output on the main UI.
7464 (test_break): New procedure, factored out from calls in the top
7465 level.
7466 (top level): Use foreach_with_prefix to test MI as main UI and as
7467 separate UI.
7468
7469 2016-06-21 Pedro Alves <palves@redhat.com>
7470
7471 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
7472 (test_awatch_creation_and_listing)
7473 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
7474 Remove 'type' parameter.
7475 (test_watchpoint_all): New parameter mi_mode. Remove
7476 with_test_prefix.
7477 (top level): Use foreach_with_prefix, and add main/separate UI MI
7478 testing axis.
7479
7480 2016-06-21 Pedro Alves <palves@redhat.com>
7481
7482 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
7483 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
7484 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
7485 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
7486 (gdb_main_spawn_id, mi_spawn_id): Declare and
7487 comment.
7488 (mi_create_inferior_pty): New procedure,
7489 factored out from default_mi_gdb_start.
7490 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
7491 procedures.
7492 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
7493 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
7494 Use mi_create_inferior_pty.
7495 (mi_gdb_start): Use eval to pass down args list.
7496
7497 2016-06-21 Pedro Alves <palves@redhat.com>
7498
7499 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
7500 * gdb.opt/inline-cmds.exp: Add MI tests.
7501
7502 2016-06-21 Pedro Alves <palves@redhat.com>
7503
7504 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
7505
7506 2016-06-21 Pedro Alves <palves@redhat.com>
7507
7508 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
7509 (top level): Use it instead of mi_execute_to.
7510
7511 2016-06-21 Pedro Alves <palves@redhat.com>
7512
7513 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
7514 (cont_handler_str): New.
7515 (signal_stop_handler): Set stop_handler_str instead of printing to
7516 stdout.
7517 (continue_handler): Set cont_handler_str instead of printing to
7518 stdout.
7519 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
7520 mi_send_resuming_command. Print stop_handler_str and
7521 cont_handler_str instead of expecting the python events print
7522 directly.
7523
7524 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
7525
7526 * gdb.base/jit-reader.exp: New file.
7527 * gdb.base/jithost.c: New file.
7528 * gdb.base/jithost.h: New file.
7529 * gdb.base/jitreader.c : New file.
7530 * gdb.base/jit-protocol.h: New file.
7531
7532 2016-06-17 Yao Qi <yao.qi@linaro.org>
7533
7534 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
7535 parameters follow_fork and detach_on_fork. Set follow-fork-mode
7536 and detach-on-fork. Adjust tests.
7537 (top level): Invoke break_cond_on_syscall with combinations of
7538 syscall, follow-fork-mode and detach-on-fork.
7539
7540 2016-06-17 Yao Qi <yao.qi@linaro.org>
7541
7542 * gdb.base/step-over-exit.c: New.
7543 * gdb.base/step-over-exit.exp: New.
7544
7545 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
7546
7547 * gdb.base/float.exp: Add target check for nds32*-*-*.
7548 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
7549
7550 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
7551
7552 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
7553 for unsupported target features.
7554 * gdb.base/call-rt-st.exp: Likewise.
7555 * gdb.base/call-sc.exp: Likewise.
7556 * gdb.base/call-signal-resume.exp: Likewise.
7557 * gdb.base/call-strs.exp: Likewise.
7558 * gdb.base/callexit.exp: Likewise.
7559 * gdb.base/callfuncs.exp: Likewise.
7560 * gdb.base/nodebug.exp: Likewise.
7561 * gdb.base/printcmds.exp: Likewise.
7562 * gdb.base/ptype.exp: Likewise.
7563 * gdb.base/structs.exp: Likewise.
7564 * gdb.base/unwindonsignal.exp: Likewise.
7565 * gdb.cp/gdb2495.exp: Likewise.
7566 * gdb.cp/templates.exp: Likewise.
7567 * gdb.cp/virtfunc.exp: Likewise.
7568 * gdb.threads/hand-call-in-threads.exp: Likewise.
7569 * gdb.threads/interrupted-hand-call.exp: Likewise.
7570 * gdb.threads/thread-unwindonsignal.exp: Likewise.
7571
7572 2016-06-10 Tom Tromey <tom@tromey.com>
7573
7574 PR rust/20110:
7575 * gdb.rust/expr.exp: Add test for integer constant larger than
7576 i32.
7577
7578 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
7579
7580 * gdb.fortran/nested-funcs.exp: New.
7581 * gdb.fortran/nested-funcs.f90: New.
7582
7583 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
7584
7585 * gdb.base/examine-backward.c: New file.
7586 * gdb.base/examine-backward.exp: New file.
7587
7588 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
7589
7590 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
7591 matching.
7592
7593 2016-06-02 Tom Tromey <tom@tromey.com>
7594
7595 PR python/18984:
7596 * gdb.python/py-shared.exp: Add solib_name test.
7597
7598 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
7599
7600 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
7601
7602 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
7603
7604 PR c++/19893
7605 * gdb.dwarf2/implref.exp: Rename to...
7606 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
7607 * gdb.dwarf2/implref-array.c: New file.
7608 * gdb.dwarf2/implref-array.exp: Likewise.
7609 * gdb.dwarf2/implref-global.c: Likewise.
7610 * gdb.dwarf2/implref-global.exp: Likewise.
7611 * gdb.dwarf2/implref-struct.c: Likewise.
7612 * gdb.dwarf2/implref-struct.exp: Likewise.
7613
7614 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
7615
7616 * gdb.trace/trace-condition.exp: Add 64bit tests.
7617
7618 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
7619
7620 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
7621 bits types.
7622 (main): Adapt to 8 to 64 bits types.
7623 * gdb.trace/trace-condition.exp: Add new tests.
7624
7625 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
7626
7627 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
7628
7629 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
7630
7631 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
7632 Move condition tests...
7633 * gdb.trace/trace-condition.exp: Here.
7634
7635 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
7636
7637 * gdb.trace/trace-condition.exp: Add counter-case tests.
7638
7639 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
7640
7641 PR c++/15231
7642 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
7643 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
7644
7645 2016-05-27 Pedro Alves <palves@redhat.com>
7646
7647 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
7648 New procedure.
7649 (top level): Call it, and bail out of DejaGnu is known to be bad.
7650
7651 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
7652
7653 * gdb.base/whatis.c: Extend the test case.
7654 * gdb.base/whatis.exp: Add additional tests.
7655
7656 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
7657
7658 * gdb.fortran/type.f90: Add pointer variable.
7659 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
7660
7661 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
7662
7663 * gdb.fortran/vla-type.exp: Fix testcase name.
7664
7665 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
7666
7667 * gdb.fortran/vla-type.exp: Access elements in nested structs.
7668
7669 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
7670
7671 * gdb.fortran/type.f90: Add nested structures.
7672 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
7673 * gdb.fortran/derived-type.exp: Adapt expected output.
7674 * gdb.fortran/vla-type.exp: Adapt expected output.
7675
7676 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
7677
7678 * gdb.fortran/whatis_type.exp: Adapt expected output.
7679
7680 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
7681
7682 * gdb.fortran/print_type.exp: Fix expected output.
7683 * gdb.fortran/whatis_type.exp: Fix expected output.
7684
7685 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
7686
7687 * gdb.fortran/whatis_type.exp: Use multi_line.
7688
7689 2016-05-24 Tom Tromey <tom@tromey.com>
7690
7691 PR python/17386:
7692 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
7693 use value as an index.
7694
7695 2016-05-23 Tom Tromey <tom@tromey.com>
7696
7697 PR python/17981:
7698 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
7699 no-breakpoint case.
7700
7701 2016-05-24 Pedro Alves <palves@redhat.com>
7702
7703 PR gdb/19828
7704 * gdb.threads/clone-attach-detach.c: New file.
7705 * gdb.threads/clone-attach-detach.exp: New file.
7706
7707 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
7708
7709 * gdb.base/annota-input-while-running.exp: Fix syntax error.
7710
7711 2016-05-23 Tom Tromey <tom@tromey.com>
7712
7713 PR python/19438, PR python/18393:
7714 * gdb.python/py-progspace.exp: Add "dir" test.
7715 * gdb.python/py-objfile.exp: Add "dir" test.
7716
7717 2016-05-23 Yao Qi <yao.qi@linaro.org>
7718
7719 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
7720 * gdb.arch/thumb2-it.exp: Likewise.
7721
7722 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
7723
7724 * gdb.mi/mi-threads-interrupt.c: New file.
7725 * gdb.mi/mi-threads-interrupt.exp: New file.
7726
7727 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
7728
7729 PR gdb/18077
7730 * gdb.mi/mi-async-run.exp: New file.
7731 * gdb.mi/mi-async-run.c: New file.
7732
7733 2016-05-17 Tom Tromey <tom@tromey.com>
7734 Manish Goregaokar <manishsmail@gmail.com>
7735
7736 * lib/rust-support.exp: New file.
7737 * lib/gdb.exp (skip_rust_tests): New proc.
7738 (build_executable_from_specs): Handle rust.
7739 * lib/future.exp (gdb_find_rustc): New proc.
7740 (gdb_default_target_compile): Handle rust.
7741 * gdb.rust/expr.exp: New file.
7742 * gdb.rust/generics.exp: New file.
7743 * gdb.rust/generics.rs: New file.
7744 * gdb.rust/methods.exp: New file.
7745 * gdb.rust/methods.rs: New file.
7746 * gdb.rust/modules.exp: New file.
7747 * gdb.rust/modules.rs: New file.
7748 * gdb.rust/simple.exp: New file.
7749 * gdb.rust/simple.rs: New file.
7750
7751 2016-05-17 Tom Tromey <tom@tromey.com>
7752
7753 * gdb.base/default.exp (set language): Add rust.
7754
7755 2016-05-17 Tom Tromey <tom@tromey.com>
7756
7757 * gdb.gdb/unittest.exp: New file.
7758
7759 2016-05-16 Yao Qi <yao.qi@linaro.org>
7760
7761 * gdb.base/batch-preserve-term-settings.exp: Remove variable
7762 shell_prompt. Update shell_prompt_re.
7763
7764 2016-05-12 Doug Evans <dje@google.com>
7765
7766 PR symtab/19999
7767 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
7768 $options when building executable.
7769 * gdb.dwarf2/fission-loclists-pie.S: New file.
7770 * gdb.dwarf2/fission-loclists-pie.exp: New file.
7771
7772 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
7773
7774 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
7775 of [is_remote target],
7776
7777 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
7778
7779 * lib/gdb.exp (use_gdb_stub): New procedure.
7780
7781 2016-05-03 Yunlian Jiang <yunlian@google.com>
7782 Doug Evans <dje@google.com>
7783
7784 PR symtab/19914
7785 * gdb.dwarf2/dwp-sepdebug.c: New file.
7786 * gdb.dwarf2/dwp-sepdebug.exp: New file.
7787
7788 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
7789
7790 * gdb.base/detach.exp: Remove is_remote check.
7791
7792 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
7793
7794 * gdb.base/annota-input-while-running.exp: Don't check for
7795 [is_remote target]. Enable annotations after running to main.
7796 Remove unused "set test..." line.
7797
7798 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
7799
7800 * gdb.trace/trace-enable-disable.exp: New file.
7801 * gdb.trace/trace-enable-disable.c: New file.
7802
7803 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
7804
7805 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
7806 use it in info sharedlibrary test.
7807 * gdb.trace/ftrace-lock.exp: Likewise.
7808 * gdb.trace/ftrace.exp: Likewise.
7809 * gdb.trace/range-stepping.exp: Likewise.
7810 * gdb.trace/trace-break.exp: Likewise.
7811 * gdb.trace/trace-condition.exp: Likewise.
7812 * gdb.trace/trace-mt.exp: Likewise.
7813
7814 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
7815
7816 * lib/gdb.exp (gdb_load_shlibs): Rename to...
7817 (gdb_load_shlib): ... this.
7818 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
7819 gdb_load_shlib.
7820 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
7821 * gdb.base/ctxobj.exp: Likewise.
7822 * gdb.base/dprintf-pending.exp: Likewise.
7823 * gdb.base/dso2dso.exp: Likewise.
7824 * gdb.base/fixsection.exp: Likewise.
7825 * gdb.base/gcore-relro.exp: Likewise.
7826 * gdb.base/gdb1555.exp: Likewise.
7827 * gdb.base/global-var-nested-by-dso.exp: Likewise.
7828 * gdb.base/gnu-ifunc.exp: Likewise.
7829 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
7830 * gdb.base/jit-so.exp (one_jit_test): Likewise.
7831 * gdb.base/pending.exp: Likewise.
7832 * gdb.base/print-file-var.exp: Likewise.
7833 * gdb.base/print-symbol-loading.exp: Likewise.
7834 * gdb.base/shlib-call.exp: Likewise.
7835 * gdb.base/shreloc.exp: Likewise.
7836 * gdb.base/so-impl-ld.exp: Likewise.
7837 * gdb.base/solib-disc.exp: Likewise.
7838 * gdb.base/solib-nodir.exp: Likewise.
7839 * gdb.base/solib-overlap.exp: Likewise.
7840 * gdb.base/solib-symbol.exp: Likewise.
7841 * gdb.base/solib-weak.exp (do_test): Likewise.
7842 * gdb.base/sym-file.exp: Likewise.
7843 * gdb.base/symtab-search-order.exp: Likewise.
7844 * gdb.base/type-opaque.exp: Likewise.
7845 * gdb.base/unload.exp: Likewise.
7846 * gdb.base/watchpoint-solib.exp: Likewise.
7847 * gdb.compile/compile.exp: Likewise.
7848 * gdb.cp/gdb2384.exp: Likewise.
7849 * gdb.cp/infcall-dlopen.exp: Likewise.
7850 * gdb.cp/re-set-overloaded.exp: Likewise.
7851 * gdb.fortran/library-module.exp: Likewise.
7852 * gdb.opt/solib-intra-step.exp: Likewise.
7853 * gdb.python/py-finish-breakpoint.exp: Likewise.
7854 * gdb.python/py-shared.exp: Likewise.
7855 * gdb.reverse/solib-precsave.exp: Likewise.
7856 * gdb.reverse/solib-reverse.exp: Likewise.
7857 * gdb.server/solib-list.exp: Likewise.
7858 * gdb.threads/dlopen-libpthread.exp: Likewise.
7859 * gdb.threads/tls-shared.exp: Likewise.
7860 * gdb.threads/tls-so_extern.exp: Likewise.
7861 * gdb.trace/change-loc.exp: Likewise.
7862 * gdb.trace/ftrace-lock.exp: Likewise.
7863 * gdb.trace/ftrace.exp: Likewise.
7864 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
7865 * gdb.trace/pending.exp: Likewise.
7866 * gdb.trace/range-stepping.exp: Likewise.
7867 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
7868 (strace_info_marker): Likewise.
7869 (strace_probe_marker): Likewise.
7870 (strace_trace_on_same_addr): Likewise.
7871 (strace_trace_on_diff_addr): Likewise.
7872 * gdb.trace/trace-break.exp: Likewise.
7873 * gdb.trace/trace-condition.exp: Likewise.
7874 * gdb.trace/trace-mt.exp: Likewise.
7875
7876 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
7877
7878 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
7879 result of gdb_remote_download.
7880 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
7881 * gdb.base/dso2dso.exp: Likewise.
7882 * gdb.base/global-var-nested-by-dso.exp: Likewise.
7883 * gdb.base/print-file-var.exp: Likewise.
7884 * gdb.base/shlib-call.exp: Likewise.
7885 * gdb.base/shreloc.exp: Likewise.
7886 * gdb.base/solib-overlap.exp: Likewise.
7887 * gdb.base/solib-weak.exp (do_test): Likewise.
7888 * gdb.base/unload.exp: Likewise.
7889
7890 2016-04-27 Yao Qi <yao.qi@linaro.org>
7891
7892 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
7893 exists.
7894
7895 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
7896
7897 * vla-type.exp: Print structure from toplevel.
7898
7899 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
7900
7901 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
7902 of dynamic types.
7903 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
7904 of dynamic types.
7905
7906 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
7907
7908 * gdb.fortran/vla-type.f90: New file.
7909 * gdb.fortran/vla-type.exp: New file.
7910
7911 2016-04-25 Yao Qi <yao.qi@linaro.org>
7912
7913 * gdb.base/branch-to-self.c: New file.
7914 * gdb.base/branch-to-self.exp: New file.
7915
7916 2016-04-22 Yao Qi <yao.qi@linaro.org>
7917
7918 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
7919 more after $hex.
7920
7921 2016-04-22 Yao Qi <yao.qi@linaro.org>
7922
7923 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
7924 * gdb.base/annota3.exp: Likewise.
7925
7926 2016-04-22 Yao Qi <yao.qi@linaro.org>
7927
7928 * gdb.reverse/step-precsave.exp: Do one step and test program
7929 stops in "callee" and do multiple steps until program goes out
7930 of "callee".
7931 * gdb.reverse/step-reverse.exp: Likewise.
7932
7933 2016-04-22 Yao Qi <yao.qi@linaro.org>
7934
7935 * gdb.trace/signal.exp: Also pass if
7936 $tracepoint_hits($i) > $iterations.
7937
7938 2016-04-22 Yao Qi <yao.qi@linaro.org>
7939
7940 * gdb.trace/signal.c: New file.
7941 * gdb.trace/signal.exp: New file.
7942
7943 2016-04-19 Doug Evans <xdje42@gmail.com>
7944
7945 * gdb.base/bad-file.exp: New file.
7946
7947 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
7948
7949 * gdb.dwarf2/implref.exp: New file.
7950
7951 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
7952
7953 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
7954 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
7955 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
7956 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
7957 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
7958 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
7959 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
7960 * lib/fortran.exp (fortran_int4): New procedure.
7961 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
7962 (fortran_logical4): Likewise.
7963
7964 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
7965
7966 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
7967
7968 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
7969
7970 * lib/compiler.c: Add Intel specific preprocessor macros.
7971 * lib/compiler.cc: Likewise.
7972
7973 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
7974
7975 * gdb.server/connect-with-no-symbol-file.c: New file.
7976 * gdb.server/connect-with-no-symbol-file.exp: New file.
7977
7978 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
7979
7980 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
7981
7982 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
7983
7984 * boards/gdbserver-base.exp (${board}_download): Copy source file to
7985 standard output directory.
7986
7987 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
7988
7989 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
7990
7991 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
7992
7993 * gdb.btrace/instruction_history.c (loop): Add declaration.
7994
7995 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
7996
7997 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
7998
7999 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
8000
8001 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
8002 parentheses to print.
8003 (continue_handler): Likewise.
8004
8005 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
8006
8007 * gdb.server/solib-list.exp: Remove is_remote check.
8008 Pass shlib= to gdb_compile. Don't link shared library with
8009 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
8010 Run binary filename through "readlink -f" on the target.
8011
8012 2016-04-08 Pedro Alves <palves@redhat.com>
8013
8014 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
8015 interpreter filename as argument to gdbserver_spawn.
8016 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
8017 Return empty if $last_loaded_file does not exist.
8018
8019 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8020
8021 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
8022 * gdb.base/jit-main.c: Use exit after usage.
8023
8024 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8025
8026 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
8027 GDBHISTSIZE prior to the tests.
8028 * gdb.base/gdbinit-history.exp: Likewise.
8029
8030 2016-04-07 Pedro Alves <palves@redhat.com>
8031
8032 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
8033 instead of build_executable. Use gdb_load_shlibs.
8034
8035 2016-04-07 Yao Qi <yao.qi@linaro.org>
8036
8037 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
8038 Execute "si" command.
8039
8040 2016-04-07 Yao Qi <yao.qi@linaro.org>
8041
8042 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
8043 number instead of the comments on some line.
8044
8045 2016-04-06 Don Breazeal <donb@codesourcery.com>
8046
8047 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
8048 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
8049
8050 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
8051
8052 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
8053 standard_output_file. Remove unused binfile variable.
8054
8055 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
8056
8057 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
8058 * gdb.python/py-mi-objfile.exp: Match "list main" output
8059 in console format.
8060
8061 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
8062
8063 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
8064 absolute.
8065
8066 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
8067
8068 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
8069 absolute.
8070 * gdb.trace/ftrace.exp: Likewise.
8071 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
8072 targets as well.
8073 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
8074 (gdb_load_shlibs): Copy libraries to test directory when testing
8075 natively. Only set solib-search-path if testing remotely.
8076 * lib/mi-support.exp (mi_load_shlibs): Likewise.
8077
8078 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
8079
8080 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
8081 gdb_download. Use it even if the target is not remote.
8082 * gdb.base/jit.exp (compile_jit_test): Likewise.
8083 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
8084 output directory if the destination board is local, otherwise use
8085 the standard remote_download from DejaGnu.
8086 (gdb_download): Remove.
8087 (gdb_load_shlibs): Use gdb_remote_download instead of
8088 gdb_download.
8089 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
8090 Use gdb_remote_download instead of gdb_download. Use it even if
8091 the target is not remote.
8092 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
8093 instead of gdb_download.
8094
8095 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
8096
8097 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
8098 (test_insert_delete_modify): Call mi_load_shlibs before trying to
8099 run.
8100
8101 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
8102
8103 PR gdb/19820
8104 * gdb.base/printcmds.exp: Add artificial arrays tests.
8105
8106 2016-03-31 Pedro Alves <palves@redhat.com>
8107
8108 PR gdb/19858
8109 * gdb.base/jit-main.c: Include unistd.h.
8110 (ATTACH): Define to 0 if not already defined.
8111 (wait_for_gdb, mypid): New globals.
8112 (WAIT_FOR_GDB): New macro.
8113 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
8114 some breakpoint locations.
8115 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
8116 New procedures.
8117 (one_jit_test): Add REATTACH parameter, and handle it. Use
8118 continue_to_test_location.
8119 (top level): Test attach, and adjusts calls to one_jit_test.
8120
8121 2016-03-31 Pedro Alves <palves@redhat.com>
8122
8123 PR gdb/19858
8124 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
8125 BINSUFFIX parameter, and handle it.
8126 (top level): Adjust calls compile_jit_test.
8127
8128 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
8129
8130 PR python/19743
8131 * gdb.python/py-mi-events-gdb.py: New file.
8132 * gdb.python/py-mi-events.c: New file.
8133 * gdb.python/py-mi-events.exp: New file.
8134
8135 2016-03-30 Yao Qi <yao.qi@linaro.org>
8136
8137 * gdb.reverse/until-precsave.exp: Match function name only.
8138 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
8139 Move malloc to a condition block.
8140 * gdb.reverse/until-reverse.exp: Match function name only.
8141
8142 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
8143
8144 * gdb.trace/ftrace.exp: Set arg0exp for s390.
8145 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
8146 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
8147 variable for GPR 0 instead of assuming it is register 0.
8148 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
8149 * lib/trace-support.exp: Add s390 registers.
8150
8151 2016-03-29 Yao Qi <yao.qi@linaro.org>
8152
8153 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
8154
8155 2016-03-24 Yao Qi <yao.qi@linaro.org>
8156
8157 * gdb.reverse/break-reverse.exp: Add quotation mark in the
8158 test message.
8159
8160 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
8161
8162 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
8163 maintaining separate logic for constructing the output path.
8164
8165 2016-03-16 Don Breazeal <donb@codesourcery.com>
8166
8167 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
8168 Retry fork and waitpid on interrupted system call errors.
8169 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
8170 Use with_timeout_factor to increase timeout by factor of 10.
8171
8172 2016-03-15 Don Breazeal <donb@codesourcery.com>
8173
8174 * gdb.cp/scope-err.cc: New test program.
8175 * gdb.cp/scope-err.exp: New test script.
8176 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
8177 lines and "set breakpoint here" comment.
8178 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
8179 Fixed some whitespace and format issues.
8180 * gdb.mi/mi-linespec-err-cp.cc: New test program.
8181 * gdb.mi/mi-linespec-err-cp.exp: New test script.
8182
8183 2016-03-15 Doug Evans <dje@google.com>
8184
8185 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
8186 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
8187 All callers updated. Add tests for enums, mixed flags register.
8188
8189 2016-03-15 Doug Evans <dje@google.com>
8190
8191 * gdb.base/skip.c (main): Call test_skip_file_and_function.
8192 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
8193
8194 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
8195
8196 * gdb.base/default.exp: Add $_as_string to the list of expected
8197 convenience functions.
8198
8199 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
8200
8201 * gdb.base/maint.exp: New tests for 'maint info line-table'.
8202
8203 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
8204
8205 * gdb.python/py-as-string.exp: New file.
8206 * gdb.python/py-as-string.c: New file.
8207
8208 2016-03-09 Pedro Alves <palves@redhat.com>
8209
8210 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
8211 signal" -> "Thread NN received signal" output change.
8212 * gdb.threads/ia64-sigill.exp: Likewise.
8213 * gdb.threads/linux-dp.exp: Likewise.
8214 * gdb.threads/manythreads.exp: Likewise.
8215 * gdb.threads/pending-step.exp: Likewise.
8216 * gdb.threads/print-threads.exp: Likewise.
8217 * gdb.threads/sigstep-threads.exp: Likewise.
8218 * gdb.threads/staticthreads.exp: Likewise.
8219 * gdb.threads/tls.exp: Likewise.
8220
8221 2016-03-09 Pedro Alves <palves@redhat.com>
8222
8223 * gdb.base/command-line-input.exp: New file.
8224
8225 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
8226
8227 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
8228 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
8229 * gdb.trace/pending.exp: Accept leading dot before function name.
8230 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
8231 * lib/trace-support.exp: Set registers for ppc.
8232
8233 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
8234
8235 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
8236 use it for disassembly; accept .main in addition to main in backtrace.
8237
8238 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
8239 Marcin Kościelnicki <koriakin@0x04.net>
8240
8241 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
8242 (gdb_recursion_test_ptr): New global variable.
8243 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
8244 gdb_recursion_test.
8245 (gdb_c_test): Ditto.
8246
8247 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
8248
8249 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
8250 ordering.
8251
8252 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
8253
8254 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
8255 (bar): Add bar_start_lbl label.
8256 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
8257 of foo/bar for emitting DWARF and tracing.
8258
8259 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
8260
8261 * analyze-racy-logs.py: Set executable bit.
8262
8263 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
8264
8265 * Makefile.in (DEFAULT_RACY_ITER): New variable.
8266 (CHECK_TARGET_TMP): Likewise.
8267 (check-single-racy): New rule.
8268 (check-parallel-racy): Likewise.
8269 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
8270 (do-check-parallel-racy): New rule.
8271 (check-racy/%.exp): Likewise.
8272 * README (Racy testcases): New section.
8273 * analyze-racy-logs.py: New file.
8274
8275 2016-03-03 Doug Evans <dje@google.com>
8276
8277 * gdb.base/skip.exp: Use with_test_prefix.
8278
8279 2016-03-03 Yao Qi <yao.qi@linaro.org>
8280
8281 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
8282 Invoke step_over_syscall "clone" and break_cond_on_syscall
8283 "clone".
8284 * gdb.base/step-over-clone.c: New file.
8285
8286 2016-03-03 Yao Qi <yao.qi@linaro.org>
8287
8288 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
8289 code format.
8290
8291 2016-03-03 Yao Qi <yao.qi@linaro.org>
8292
8293 * gdb.base/disp-step-fork.c: Rename to ...
8294 * gdb.base/step-over-fork.c: ... it. New file.
8295 * gdb.base/disp-step-vfork.c: Rename to ...
8296 * gdb.base/step-over-vfork.c: ... it. New file.
8297 * gdb.base/disp-step-syscall.exp: Rename to ...
8298 * gdb.base/step-over-syscall.exp: ... it. New file.
8299 (disp_step_cross_syscall): Rename to ...
8300 (step_over_syscall): ... it.
8301
8302 2016-03-03 Yao Qi <yao.qi@linaro.org>
8303
8304 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
8305 If target supports condition evaluation on target, invoke
8306 break_cond_on_syscall for fork and vfork.
8307
8308 2016-03-03 Yao Qi <yao.qi@linaro.org>
8309
8310 * gdb.base/disp-step-syscall.exp: Don't invoke
8311 support_displaced_stepping.
8312 (disp_step_cross_syscall): Test with displaced stepping off and
8313 on if supported.
8314
8315 2016-03-03 Yao Qi <yao.qi@linaro.org>
8316
8317 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
8318 proc.
8319 (setup): New proc.
8320 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
8321 and setup.
8322
8323 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
8324
8325 * gdb.fortran/vla-history.exp: Remove breakpoint.
8326
8327 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
8328
8329 * gdb.fortran/vla-history.exp: Lookup array elements and printing
8330 exceeds timeout.
8331
8332 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
8333
8334 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
8335 breakpoint.
8336
8337 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
8338
8339 * gdb.mi/vla.f90: Nullify pointer after declaration.
8340
8341 2016-03-01 Pedro Alves <palves@redhat.com>
8342
8343 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
8344
8345 2016-03-01 Pedro Alves <palves@redhat.com>
8346
8347 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
8348 before anything else.
8349 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
8350 _GNU_SOURCE here.
8351 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
8352 before anything else.
8353 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
8354
8355 2016-03-01 Pedro Alves <palves@redhat.com>
8356
8357 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
8358
8359 2016-03-01 Yao Qi <yao.qi@linaro.org>
8360
8361 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
8362 prepare_for_testing.
8363
8364 2016-03-01 Yao Qi <yao.qi@linaro.org>
8365
8366 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
8367
8368 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
8369
8370 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
8371 manually constructing the output path.
8372
8373 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
8374
8375 * gdb.arch/s390-stackless.S: New.
8376 * gdb.arch/s390-stackless.exp: New.
8377
8378 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
8379
8380 * gdb.dlang/circular.c: New file.
8381 * gdb.dlang/circular.exp: New file.
8382
8383 2016-02-26 Yao Qi <yao.qi@linaro.org>
8384
8385 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
8386 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
8387 (testcases): Update.
8388
8389 2016-02-26 Yao Qi <yao.qi@linaro.org>
8390
8391 * gdb.reverse/aarch64.c: Rename to ...
8392 * gdb.reverse/insn-reverse.c: ... it.
8393 * gdb.reverse/aarch64.exp: Rename to ...
8394 * gdb.reverse/insn-reverse.exp: ... it.
8395
8396 2016-02-26 Yao Qi <yao.qi@linaro.org>
8397
8398 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
8399 (testcase_ftype): New.
8400 (testcases): New array.
8401 (n_testcases): New.
8402 (main): Call each element in testcases.
8403 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
8404 (read_testcase): New.
8405 Do the tests in a loop.
8406
8407 2016-02-25 Yao Qi <yao.qi@linaro.org>
8408
8409 * gdb.base/branches.c: Remove.
8410
8411 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
8412
8413 PR gdb/13808
8414 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
8415
8416 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
8417
8418 * gdb.trace/ftrace.exp: Remove unnecessary target check.
8419
8420 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
8421
8422 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
8423 change x86_64 call_insn to 'callq'.
8424
8425 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
8426
8427 * gdb.trace/tfile-avx.c: Move to...
8428 * gdb.trace/tracefile-pseudo-reg.c: Here.
8429 * gdb.trace/tfile-avx.exp: Move to...
8430 * gdb.trace/tracefile-pseudo-reg.exp: Here.
8431
8432 2016-02-24 Gary Benson <gbenson@redhat.com>
8433
8434 * gdb.base/attach-pie-noexec.exp: Do not expect an error
8435 message on attach.
8436
8437 2016-02-23 Doug Evans <dje@google.com>
8438
8439 * gdb.base/skip.c (test_skip): New function.
8440 (end_test_skip_file_and_function): New function.
8441 (test_skip_file_and_function): New function.
8442 * gdb.base/skip1.c (test_skip): New function.
8443 (skip1_test_skip_file_and_function): New function.
8444 * gdb.base/skip.exp: Add tests for new skip options.
8445 * gdb.base/skip-solib.exp: Update expected output.
8446 * gdb.perf/skip-command.cc: New file.
8447 * gdb.perf/skip-command.exp: New file.
8448 * gdb.perf/skip-command.py: New file.
8449
8450 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
8451
8452 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
8453 info registers pattern.
8454
8455 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
8456
8457 * lib/future.exp: Add D support.
8458 (gdb_find_gdc): New proc.
8459 (gdb_default_target_compile): Add D support.
8460
8461 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
8462
8463 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
8464 user+system time.
8465 (trace_speed_test): Determine the iteration count for a time
8466 between 15..30 seconds.
8467
8468 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
8469
8470 * gdb.arch/i386-mpx-sigsegv.c: New file.
8471 * gdb.arch/i386-mpx-sigsegv.exp: New file.
8472 * gdb.arch/i386-mpx-simple_segv.c: New file.
8473 * gdb.arch/i386-mpx-simple_segv.exp: New file.
8474
8475 2016-02-18 Yao Qi <yao.qi@linaro.org>
8476
8477 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
8478 Don't call setup_kfail.
8479
8480 2016-02-18 Yao Qi <yao.qi@linaro.org>
8481
8482 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
8483 Set "set breakpoint condition-evaluation" per $cond_bp_target.
8484
8485 2016-02-16 Doug Evans <dje@google.com>
8486
8487 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
8488 * gdb.base/skip1.c: Ditto.
8489 * gdb.base/skip.exp: Whitespace cleanup.
8490
8491 2016-02-16 Don Breazeal <donb@codesourcery.com>
8492
8493 PR remote/19496
8494 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
8495 Remove kfail for PR remote/19496.
8496
8497 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
8498
8499 * lib/gdb.exp (standard_temp_file): Return a path specific to
8500 the runtest invocation.
8501
8502 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
8503
8504 * gdb.trace/save-trace.exp: Change relative path to be in the
8505 standard output directory.
8506
8507 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8508
8509 * gdb.arch/i386-prologue.c: Add missing prototypes.
8510
8511 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8512
8513 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
8514 * gdb.arch/i386-prologue.exp: Likewise.
8515 * gdb.arch/i386-size.exp: Likewise.
8516
8517 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
8518
8519 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
8520 define object file path.
8521 * gdb.btrace/gcore.exp: Use standard_output_file to define core
8522 file path.
8523 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
8524 standard_output_file to define binfile.
8525
8526 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
8527
8528 Fix compatibility with recent gfortran-5.3.1.
8529 * gdb.fortran/vla-history.exp (print vla1 allocated)
8530 (print vla2 allocated, print $2, print $3): Remove
8531 (print $4): Rename to ...
8532 (print $2): ... here.
8533 (print $9): Rename to ...
8534 (print $5): ... here.
8535 (print $10): Rename to ...
8536 (print $6): ... here.
8537 * gdb.fortran/vla.f90: Add pvla initialization.
8538
8539 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
8540
8541 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
8542 New test.
8543 * gdb.fortran/vla-value-sub.exp: Likewise.
8544
8545 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
8546
8547 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
8548
8549 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
8550
8551 * i386-biarch-core.exp: Define corefile using
8552 standard_output_file.
8553
8554 2016-02-12 Yao Qi <yao.qi@linaro.org>
8555
8556 * gdb.arch/arm-single-step-kernel-helper.c: New.
8557 * gdb.arch/arm-single-step-kernel-helper.exp: New.
8558
8559 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
8560
8561 * gdb.btrace/tailcall-only.exp: New.
8562 * gdb.btrace/tailcall-only.c: New.
8563 * gdb.btrace/x86_64-tailcall-only.S: New.
8564 * gdb.btrace/i686-tailcall-only.S: New.
8565
8566 2016-02-11 Pedro Alves <palves@redhat.com>
8567
8568 * README (Parallel testing): Add missing double quotes.
8569
8570 2016-02-11 Pedro Alves <palves@redhat.com>
8571
8572 * README (Parallel testing): New section.
8573 (GDB_PARALLEL): Rewrite.
8574 (FORCE_PARALLEL): Document.
8575
8576 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
8577
8578 * gdb.trace/tfile-avx.c: New test.
8579 * gdb.trace/tfile-avx.exp: New test.
8580
8581 2016-02-09 Keith Seitz <keiths@redhat.com>
8582
8583 PR breakpoints/19546
8584 * gdb.base/infcall-exec.c: New file.
8585 * gdb.base/infcall-exec2.c: New file.
8586 * gdb.base/infcall-exec.exp: New file.
8587
8588 2016-02-09 Keith Seitz <keiths@redhat.com>
8589
8590 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
8591 (toplevel): Call test_bkpt_address.
8592
8593 2016-02-09 Keith Seitz <keiths@redhat.com>
8594
8595 PR python/19506
8596 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
8597 (toplevel): Call test_bkpt_address.
8598
8599 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
8600
8601 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
8602 to AC_OUTPUT.
8603 * configure: Regenerate.
8604
8605 2016-02-09 Pedro Alves <palves@redhat.com>
8606
8607 PR breakpoints/19548
8608 * gdb.base/execl-update-breakpoints.c (some_function): New
8609 function.
8610 (main): Call it.
8611 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
8612 Tighten expected GDB output.
8613
8614 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
8615
8616 * Makefile.in (ALL_SUBDIRS): Remove.
8617 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
8618 (distclean maintainer-clean realclean): Likewise.
8619 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
8620 * configure: Regenerate.
8621 * gdb.ada/Makefile.in: Delete.
8622 * gdb.arch/Makefile.in: Likewise.
8623 * gdb.asm/Makefile.in: Likewise.
8624 * gdb.base/Makefile.in: Likewise.
8625 * gdb.btrace/Makefile.in: Likewise.
8626 * gdb.cell/Makefile.in: Likewise.
8627 * gdb.compile/Makefile.in: Likewise.
8628 * gdb.cp/Makefile.in: Likewise.
8629 * gdb.disasm/Makefile.in: Likewise.
8630 * gdb.dlang/Makefile.in: Likewise.
8631 * gdb.dwarf2/Makefile.in: Likewise.
8632 * gdb.fortran/Makefile.in: Likewise.
8633 * gdb.gdb/Makefile.in: Likewise.
8634 * gdb.go/Makefile.in: Likewise.
8635 * gdb.guile/Makefile.in: Likewise.
8636 * gdb.java/Makefile.in: Likewise.
8637 * gdb.linespec/Makefile.in: Likewise.
8638 * gdb.mi/Makefile.in: Likewise.
8639 * gdb.modula2/Makefile.in: Likewise.
8640 * gdb.multi/Makefile.in: Likewise.
8641 * gdb.objc/Makefile.in: Likewise.
8642 * gdb.opencl/Makefile.in: Likewise.
8643 * gdb.opt/Makefile.in: Likewise.
8644 * gdb.pascal/Makefile.in: Likewise.
8645 * gdb.perf/Makefile.in: Likewise.
8646 * gdb.python/Makefile.in: Likewise.
8647 * gdb.reverse/Makefile.in: Likewise.
8648 * gdb.server/Makefile.in: Likewise.
8649 * gdb.stabs/Makefile.in: Likewise.
8650 * gdb.threads/Makefile.in: Likewise.
8651 * gdb.trace/Makefile.in: Likewise.
8652 * gdb.xml/Makefile.in: Likewise.
8653 * lib/gdb.exp (make_gdb_parallel_path): Add check for
8654 GDB_PARALLEL.
8655 (standard_output_file): Remove check for GDB_PARALLEL, always
8656 return path in outputs/$subdir/$testname.
8657
8658 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
8659
8660 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
8661 (site.exp): Assign abs_srcdir to tcl's srcdir.
8662
8663 2016-02-04 Yao Qi <yao.qi@linaro.org>
8664
8665 * gdb.base/foll-exec-mode.c: Include limits.h.
8666 (main): Add parameters argc and argv. Get directory from
8667 argv[0].
8668 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
8669 compilation.
8670 * gdb.base/foll-exec.c: Include limits.h.
8671 (main): Add parameters argc and argv.
8672 Get directory from argv[0].
8673 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
8674 Adjust tests on the number of lines as source code changed.
8675 * gdb.base/foll-vfork-exit.c: Include limits.h.
8676 (main): Add one line of statement before vfork.
8677 * gdb.base/foll-vfork.c: Include limits.h and string.h.
8678 (main): Add parameters argc and argv. Get directory from
8679 argv[0].
8680 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
8681 (setup_gdb): Set tbreak to skip some source lines.
8682 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
8683 (main): Add parameters argc and argv. Get directory from
8684 argv[0].
8685 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
8686 compilation.
8687 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
8688 (main): Add parameters argc and argv. Get directory from
8689 argv[0].
8690 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
8691 compilation.
8692
8693 2016-02-01 Doug Evans <dje@google.com>
8694
8695 * gdb.base/skip.exp: Clean up multiple references to same test name.
8696
8697 2016-02-01 Pedro Alves <palves@redhat.com>
8698
8699 PR remote/19496
8700 * gdb.threads/forking-threads-plus-breakpoint.exp
8701 (displaced_stepping_supported): New global.
8702 (probe_displaced_stepping_support): New procedure.
8703 (do_test): Add 'displaced' parameter, and use it.
8704 (top level): Check for displaced stepping support. Add displaced
8705 stepping on/off testing axis.
8706
8707 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
8708
8709 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
8710 pointer. Don't perform further tests on the unassociated pointer
8711 if the first test fails.
8712
8713 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
8714
8715 * gdb.base/max-value-size.c: New file.
8716 * gdb.base/max-value-size.exp: New file.
8717 * gdb.base/huge.exp: Disable max-value-size for this test.
8718
8719 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
8720
8721 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
8722
8723 2016-01-28 Yao Qi <yao.qi@linaro.org>
8724
8725 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
8726
8727 2016-01-25 Pedro Alves <palves@redhat.com>
8728
8729 PR threads/19461
8730 * gdb.base/fork-running-state.c: New file.
8731 * gdb.base/fork-running-state.exp: New file.
8732
8733 2016-01-25 Pedro Alves <palves@redhat.com>
8734
8735 PR gdb/19494
8736 * gdb.base/catch-fork-kill.c: New file.
8737 * gdb.base/catch-fork-kill.exp: New file.
8738
8739 2016-01-25 Pedro Alves <palves@redhat.com>
8740
8741 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
8742 Delete, moved to lib/gdb.exp.
8743 * gdb.threads/forking-threads-plus-breakpoint.exp
8744 (foreach_with_prefix): Likewise.
8745 * gdb.threads/process-dies-while-handling-bp.exp
8746 (foreach_with_prefix): Likewise.
8747 * lib/gdb.exp (foreach_with_prefix): New procedure.
8748
8749 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
8750
8751 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
8752 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
8753
8754 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
8755
8756 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
8757 endian targets.
8758
8759 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8760 Pedro Alves <palves@redhat.com>
8761
8762 Fix testsuite compatibility with Guile.
8763 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
8764 number.
8765
8766 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8767
8768 Fix testsuite compatibility with Guile.
8769 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
8770 (thread 1): New test for backtrace through signal handler.
8771
8772 2016-01-22 Yao Qi <yao.qi@linaro.org>
8773
8774 PR testsuite/19491
8775 * gdb.base/multi-forks.c: Include
8776 ../lib/unbuffer_output.c
8777 (main): Call gdb_unbuffer_output.
8778
8779 2016-01-21 Doug Evans <dje@google.com>
8780
8781 * lib/ada.exp (gdb_compile_ada): Fix typo.
8782
8783 2016-01-21 Joel Brobecker <brobecker@adacore.com>
8784
8785 * gdb.base/break-fun-addr.exp: New file.
8786 * gdb.base/break-fun-addr1.c: New file.
8787 * gdb.base/break-fun-addr2.c: New file.
8788
8789 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
8790
8791 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
8792 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
8793 enum flag values.
8794
8795 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
8796
8797 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
8798 when GDB can not set the vector return value. Add more comments
8799 for clarification.
8800
8801 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
8802
8803 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
8804 command.
8805
8806 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
8807
8808 * Makefile.in (DO_RUNTEST): Add --status and update usages.
8809
8810 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
8811
8812 * Makefile.in (check-single): Pass --status to runtest.
8813 (check/%.exp): Likewise.
8814
8815 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
8816
8817 * Makefile.in (check-parallel): Propagate return code from make
8818 do-check-parallel.
8819
8820 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
8821
8822 * gdb.trace/ftrace.exp: Fix expected message on continue.
8823 * gdb.trace/pending.exp: Fix expected message on continue.
8824 * gdb.trace/trace-break.exp: Fix expected message on continue.
8825
8826 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
8827
8828 * lib/gdb.exp (gdb_test): Remove unused global references.
8829
8830 2016-01-18 Pedro Alves <palves@redhat.com>
8831
8832 * gdb.base/async-shell.exp: Adjust expected output.
8833 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
8834 * gdb.base/siginfo-thread.exp: Adjust expected output.
8835 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
8836 * gdb.java/jnpe.exp: Adjust expected output.
8837 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
8838 * gdb.threads/continue-pending-status.exp: Adjust expected output.
8839 * gdb.threads/leader-exit.exp: Adjust expected output.
8840 * gdb.threads/manythreads.exp: Adjust expected output.
8841 * gdb.threads/pthreads.exp: Adjust expected output.
8842 * gdb.threads/schedlock.exp: Adjust expected output.
8843 * gdb.threads/siginfo-threads.exp: Adjust expected output.
8844 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
8845 expected output.
8846 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
8847 output.
8848 * gdb.threads/sigthread.exp: Adjust expected output.
8849 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
8850
8851 2016-01-18 Yao Qi <yao.qi@linaro.org>
8852
8853 * gdb.guile/scm-section-script.c: Replace @progbits with
8854 %progbits.
8855 * gdb.python/py-section-script.c: Likewise.
8856
8857 2016-01-15 Pedro Alves <palves@redhat.com>
8858
8859 * gdb.multi/tids.exp: Test star wildcard ranges.
8860
8861 2016-01-15 Pedro Alves <palves@redhat.com>
8862
8863 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
8864 command from "thread apply" invocation.
8865 (thr_apply_info_thr_invalid): Default the expected output to the
8866 input tid list.
8867 (top level): Add tests that use convenience variables. Add tests
8868 for "thread apply" with a valid TID list, but missing the command.
8869
8870 2016-01-13 Pedro Alves <palves@redhat.com>
8871
8872 * gdb.base/default.exp: Expect $_gthread as well.
8873 * gdb.multi/tids.exp: Test $_gthread.
8874 * gdb.threads/thread-specific.exp: Test $_gthread.
8875
8876 2016-01-13 Pedro Alves <palves@redhat.com>
8877
8878 * gdb.multi/tids.exp: Test "info threads -gid".
8879
8880 2016-01-13 Pedro Alves <palves@redhat.com>
8881
8882 * gdb.multi/tids.exp: Test InferiorThread.global_num and
8883 Breakpoint.thread.
8884 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
8885
8886 2016-01-07 Pedro Alves <palves@redhat.com>
8887
8888 * gdb.base/break.exp: Adjust to output changes.
8889 * gdb.base/hbreak2.exp: Likewise.
8890 * gdb.base/sepdebug.exp: Likewise.
8891 * gdb.base/watch_thread_num.exp: Likewise.
8892 * gdb.linespec/keywords.exp: Likewise.
8893 * gdb.multi/info-threads.exp: Likewise.
8894 * gdb.threads/thread-find.exp: Likewise.
8895 * gdb.multi/tids.c: New file.
8896 * gdb.multi/tids.exp: New file.
8897
8898 2016-01-13 Pedro Alves <palves@redhat.com>
8899
8900 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
8901
8902 2016-01-13 Pedro Alves <palves@redhat.com>
8903
8904 * gdb.base/default.exp: Expect $_inferior as well.
8905 * gdb.multi/base.exp: Test $_inferior.
8906
8907 2016-01-13 Pedro Alves <palves@redhat.com>
8908
8909 PR breakpoints/19388
8910 * gdb.base/catch-signal-siginfo-cond.c: New file.
8911 * gdb.base/catch-signal-siginfo-cond.exp: New file.
8912
8913 2016-01-12 Josh Stone <jistone@redhat.com>
8914 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8915
8916 * gdb.base/catch-syscall.c (do_execve): New variable.
8917 (main): Conditionally trigger an execve.
8918 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
8919 (test_catch_syscall_execve): New, check entry/return across execve.
8920 (do_syscall_tests): Call test_catch_syscall_execve.
8921
8922 2016-01-12 Pedro Alves <palves@redhat.com>
8923
8924 * gdb.base/random-signal.exp (do_test): New procedure, with body
8925 of testcase moved in.
8926
8927 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8928 Pedro Alves <palves@redhat.com>
8929
8930 * gdb.base/funcargs.exp (finish from indirectly called function):
8931 Reintroduce the case for 'First'.
8932
8933 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8934 Pedro Alves <palves@redhat.com>
8935
8936 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
8937 (tcatch_vfork_then_child_follow_exec)
8938 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
8939 identification.
8940
8941 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8942
8943 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
8944 and repeats to unlimited.
8945 * gdb.python/py-value.exp: Likewise.
8946 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
8947 and repeats to unlimited.
8948
8949 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8950
8951 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
8952 and reordering the functions.
8953 * gdb.multi/hangout.c: Likewise.
8954 * gdb.multi/hello.c: Likewise.
8955
8956 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
8957
8958 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
8959 absolute.
8960 (SingleStatisticTestResult.report): Use dict.keys instead of
8961 dict.iterkeys.
8962
8963 2016-01-06 Pedro Alves <palves@redhat.com>
8964
8965 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
8966
8967 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
8968
8969 * gdb.btrace/dlopen.exp: New.
8970 * gdb.btrace/dlopen.c: New.
8971 * gdb.btrace/dlopen-dso.c: New.
8972
8973 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
8974
8975 * lib/gdb.exp (gdb_test): Update comments to clarify that the
8976 PATTERN argument is optional.
8977
8978 2015-12-24 Joel Brobecker <brobecker@adacore.com>
8979
8980 * lib/ada.exp (target_compile_ada_from_dir): New function.
8981 (gdb_compile_ada): Reimplement avoiding the use of project files.
8982 * gdb.ada/gnat_ada.gpr: Delete.
8983 * gdb.ada/cond_lang.exp: Adjust test to make path before
8984 filename optional.
8985 * gdb.ada/small_reg_param.exp: Likewise.
8986
8987 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
8988
8989 * gdb.base/foll-vork.exp: Remove HP-UX special case.
8990
8991 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
8992
8993 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
8994 case.
8995
8996 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
8997
8998 * gdb.base/break.exp: Remove dead code.
8999 * gdb.base/sepdebug.exp: Likewise.
9000
9001 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
9002
9003 * gdb.asm/asm-source.exp: Remove HP-UX references.
9004 * gdb.base/annota1.exp: Likewise.
9005 * gdb.base/annota3.exp: Likewise.
9006 * gdb.base/attach.exp: Likewise.
9007 * gdb.base/bigcore.exp: Likewise.
9008 * gdb.base/break.exp: Likewise.
9009 * gdb.base/call-ar-st.exp: Likewise.
9010 * gdb.base/callfuncs.exp: Likewise.
9011 * gdb.base/catch-fork-static.exp: Likewise.
9012 * gdb.base/display.exp: Likewise.
9013 * gdb.base/foll-exec-mode.exp: Likewise.
9014 * gdb.base/foll-exec.exp: Likewise.
9015 * gdb.base/foll-fork.exp: Likewise.
9016 * gdb.base/foll-vfork.exp: Likewise.
9017 * gdb.base/funcargs.exp: Likewise.
9018 * gdb.base/hbreak2.exp: Likewise.
9019 * gdb.base/inferior-died.exp: Likewise.
9020 * gdb.base/interrupt.exp: Likewise.
9021 * gdb.base/multi-forks.exp: Likewise.
9022 * gdb.base/nodebug.exp: Likewise.
9023 * gdb.base/sepdebug.exp: Likewise.
9024 * gdb.base/solib1.c: Likewise.
9025 * gdb.base/step-test.exp: Likewise.
9026 * gdb.mi/non-stop.c: Likewise.
9027 * gdb.mi/pthreads.c: Likewise.
9028 * gdb.multi/bkpt-multi-exec.ex: Likewise.
9029 * gdb.threads/pthreads.c: Likewise.
9030 * gdb.threads/staticthreads.exp: Likewise.
9031 * lib/future.exp: Likewise.
9032 * lib/gdb.exp: Likewise.
9033 * gdb.base/so-indr-cl.c: Remove.
9034 * gdb.base/so-indr-cl.exp: Likewise.
9035 * gdb.base/solib.c: Likewise.
9036 * gdb.base/solib.exp: Likewise.
9037 * gdb.base/solib2.c: Likewise.
9038
9039 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
9040
9041 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
9042 * gdb.base/call-ar-st.exp: Likewise.
9043 * gdb.base/callfuncs.exp: Likewise.
9044 * gdb.base/condbreak.exp: Likewise.
9045 * gdb.base/constvars.exp: Likewise.
9046 * gdb.base/hbreak2.exp: Likewise.
9047 * gdb.base/langs.exp: Likewise.
9048 * gdb.base/list.exp: Likewise.
9049 * gdb.base/long_long.exp: Likewise.
9050 * gdb.base/ptype.exp: Likewise.
9051 * gdb.base/scope.exp: Likewise.
9052 * gdb.base/signals.exp: Likewise.
9053 * gdb.base/so-impl-ld.exp: Likewise.
9054 * gdb.base/varargs.exp: Likewise.
9055 * gdb.base/volatile.exp: Likewise.
9056 * gdb.base/whatis.exp: Likewise.
9057 * gdb.cp/cplusfuncs.exp: Likewise.
9058 * gdb.cp/inherit.exp: Likewise.
9059 * gdb.cp/local.exp: Likewise.
9060 * gdb.cp/member-ptr.exp: Likewise.
9061 * gdb.cp/method.exp: Likewise.
9062 * gdb.cp/overload.exp: Likewise.
9063 * gdb.cp/templates.exp: Likewise.
9064 * gdb.stabs/weird.exp: Likewise.
9065 * lib/compiler.c: Likewise.
9066 * lib/compiler.cc: Likewise.
9067 * lib/cp-support.exp: Likewise.
9068 * lib/gdb.exp: Likewise.
9069
9070 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
9071
9072 * configure.ac: Remove HP-UX case.
9073 * configure: Regenerate.
9074
9075 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
9076
9077 * lib/gdb.exp (gdb_compile): Add function doc.
9078
9079 2015-12-17 Pedro Alves <palves@redhat.com>
9080
9081 PR threads/19354
9082 * gdb.multi/info-threads.exp: New file.
9083
9084 2015-12-15 Yao Qi <yao.qi@linaro.org>
9085
9086 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
9087 is aarch64*-*-*.
9088
9089 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
9090
9091 * gdb.base/history-duplicates.exp: Skip if no readline support.
9092
9093 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
9094
9095 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
9096
9097 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
9098
9099 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
9100
9101 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
9102
9103 * gdb.base/completion.exp: Skip tests that interrupt GDB with
9104 ctrl-C if nointerrupts target property is set.
9105 * gdb.base/double-prompt-target-event-error.exp: Likewise.
9106 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
9107 * gdb.base/paginate-bg-execution.exp: Likewise.
9108 * gdb.base/paginate-execution-startup.exp: Likewise.
9109 * gdb.base/random-signal.exp: Likewise.
9110 * gdb.base/range-stepping.exp: Likewise.
9111 * gdb.cp/annota2.exp: Likewise.
9112 * gdb.cp/annota3.exp: Likewise.
9113 * gdb.gdb/selftest.exp: Likewise.
9114 * gdb.threads/continue-pending-status.exp: Likewise.
9115 * gdb.threads/leader-exit.exp: Likewise.
9116 * gdb.threads/manythreads.exp: Likewise.
9117 * gdb.threads/pthreads.exp: Likewise.
9118 * gdb.threads/schedlock.exp: Likewise.
9119 * gdb.threads/sigthread.exp: Likewise.
9120
9121 2015-12-11 Don Breazeal <donb@codesourcery.com>
9122
9123 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
9124 remote.
9125 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
9126 * gdb.base/foll-exec.exp (main): Enable for target remote.
9127 * gdb.base/foll-fork.exp (main): Likewise.
9128 * gdb.base/foll-vfork.exp (main): Likewise.
9129 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
9130 (proc continue_to_exit_bp_loc): Use clean_restart.
9131 * gdb.base/pie-execl.exp (main): Disable for target remote.
9132 * gdb.base/watch-vfork.exp (main): Enable for target remote.
9133 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
9134 * gdb.threads/execl.exp (main): Likewise.
9135 * gdb.threads/fork-child-threads.exp (main): Likewise.
9136 * gdb.threads/fork-plus-threads.exp (main): Disable for target
9137 remote.
9138 * gdb.threads/fork-thread-pending.exp (main): Enable for target
9139 remote.
9140 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
9141 pid.tid style ptids, instead of just tid.
9142 * gdb.threads/thread-execl.exp (main): Enable for target remote.
9143 * gdb.threads/watchpoint-fork.exp (main): Likewise.
9144 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
9145 ptids, instead of just tid.
9146
9147 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
9148
9149 * gdb.base/list.exp (test_list_forward): Add end of file error
9150 test.
9151 (test_repeat_list_command): Add end of file error test.
9152 (test_list_backwards): Add beginning of file error test.
9153
9154 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
9155
9156 * gdb.base/list.exp (test_list_invalid_args): New function,
9157 defined, and called.
9158
9159 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
9160
9161 * gdb.base/list.exp (test_list): Make test names unique.
9162
9163 2015-12-11 Yao Qi <yao.qi@linaro.org>
9164
9165 * gdb.base/coremaker2.c: Remove.
9166
9167 2015-12-10 Pedro Alves <palves@redhat.com>
9168
9169 * gdb.multi/base.exp: Remove stale "spaces" references.
9170
9171 2015-12-10 Pedro Alves <palves@redhat.com>
9172
9173 * gdb.multi/base.exp: Don't use nowarnings.
9174 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
9175 * gdb.multi/hangout.c: Include stdio.h.
9176 * gdb.multi/hello.c: Include stdlib.h.
9177 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
9178 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
9179 * gdb.multi/multi-arch.exp: Don't use nowarnings.
9180
9181 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
9182
9183 * gdb.dwarf2/dw2-ranges-base.c: New file.
9184 * gdb.dwarf2/dw2-ranges-base.exp: New file.
9185 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
9186 support additional line table, and debug ranges generation.
9187 (Dwarf::ranges): New function, generate .debug_ranges.
9188 (Dwarf::lines): Support generating simple line table programs.
9189 (Dwarf::assemble): Initialise new namespace variables.
9190
9191 2015-12-09 Kevin Buettner <kevinb@redhat.com>
9192
9193 * gdb.base/async.exp (proc test_background): Add case for
9194 asynchronous execution not supported.
9195
9196 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
9197
9198 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
9199 format and change test names to make them unique.
9200
9201 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
9202 Pedro Alves <pedro@redhat.com>
9203
9204 PR gdb/18702
9205 Add checking of floatformats setup on x86_64 hosts.
9206 * gdb.arch/i386-float.S (main): Load bigval and smallval.
9207 (smallval, bigval): New labels/constants.
9208 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
9209 float" after loading bigval and smallval.
9210
9211 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
9212
9213 * gdb.ada/fun_overload_menu.exp: New testcase.
9214 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
9215
9216 2015-12-04 Josh Stone <jistone@redhat.com>
9217
9218 * gdb.base/catch-fork-static.exp: New.
9219
9220 2015-12-03 Yao Qi <yao.qi@linaro.org>
9221
9222 * gdb.base/sizeof.c: Don't include stdio.h and
9223 ../lib/unbuffer_output.c.
9224 (main): New variable 'size' and 'value'. Remove printf and
9225 gdb_unbuffer_output. Assign return value to size and value.
9226 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
9227 at the beginning.
9228 (check_sizeof): Check the result by printing variable 'size'.
9229 (check_valueof): Check the result by printing variable 'value'.
9230
9231 2015-12-01 Yao Qi <yao.qi@linaro.org>
9232
9233 * gdb.base/disp-step-syscall.exp: Define syscall instruction
9234 for aarch64*-*-linux* target.
9235
9236 2015-11-30 Pedro Alves <palves@redhat.com>
9237
9238 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
9239
9240 2015-11-30 Pedro Alves <palves@redhat.com>
9241
9242 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
9243 Handle non-stop mode vCont replies.
9244
9245 2015-11-30 Pedro Alves <palves@redhat.com>
9246
9247 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
9248 prepare_for_testing. Start gdb with "set non-stop on" appended to
9249 GDBFLAGS. Lax expected stop output.
9250
9251 2015-11-27 Yao Qi <yao.qi@linaro.org>
9252
9253 * gdb.arch/arm-neon.exp: New.
9254 * gdb.arch/arm-neon.c: New.
9255
9256 2015-11-27 Yao Qi <yao.qi@linaro.org>
9257
9258 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
9259
9260 2015-11-27 Yao Qi <yao.qi@linaro.org>
9261
9262 * gdb.cp/annota2.exp: Allow multiple occurrences of the
9263 frames-invalid annotation.
9264
9265 2015-11-27 Yao Qi <yao.qi@linaro.org>
9266
9267 * gdb.cp/annota2.exp: Use ${frames_invalid}.
9268
9269 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
9270
9271 * gdb.threads/names.exp: New file.
9272 * gdb.threads/names.c: New file.
9273 * README: Mention gdb,no_thread_names.
9274
9275 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
9276
9277 PR 19297
9278 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
9279 support" error.
9280
9281 2015-11-24 Pedro Alves <palves@redhat.com>
9282
9283 PR 17539
9284 * gdb.base/display.exp: Expect displays to be sorted in ascending
9285 order. Use multi_line.
9286 * gdb.base/solib-display.exp: Likewise.
9287
9288 2015-11-24 Pedro Alves <palves@redhat.com>
9289
9290 PR 17539
9291 * gdb.base/display.exp: Expect displays to be sorted in ascending
9292 order. Use multi_line.
9293 * gdb.base/solib-display.exp: Likewise.
9294
9295 2015-11-24 Pedro Alves <palves@redhat.com>
9296
9297 PR 17539
9298 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
9299 threads in ascending order.
9300 * gdb.base/foll-fork.exp: Likewise.
9301 * gdb.base/foll-vfork.exp: Likewise.
9302 * gdb.base/multi-forks.exp: Likewise.
9303 * gdb.mi/mi-nonstop.exp: Likewise.
9304 * gdb.mi/mi-nsintrall.exp: Likewise.
9305 * gdb.multi/base.exp: Likewise.
9306 * gdb.multi/multi-arch.exp: Likewise.
9307 * gdb.python/py-inferior.exp: Likewise.
9308 * gdb.threads/break-while-running.exp: Likewise.
9309 * gdb.threads/execl.exp: Likewise.
9310 * gdb.threads/gcore-thread.exp: Likewise.
9311 * gdb.threads/info-threads-cur-sal.exp: Likewise.
9312 * gdb.threads/kill.exp: Likewise.
9313 * gdb.threads/linux-dp.exp: Likewise.
9314 * gdb.threads/multiple-step-overs.exp: Likewise.
9315 * gdb.threads/next-bp-other-thread.exp: Likewise.
9316 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
9317 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
9318 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
9319 * gdb.threads/thread-find.exp: Likewise.
9320 * gdb.threads/tls.exp: Likewise.
9321 * lib/mi-support.exp (mi_reverse_list): Delete.
9322 (mi_check_thread_states): No longer reverse list.
9323
9324 2015-11-24 Pedro Alves <palves@redhat.com>
9325
9326 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
9327 use lowercase.
9328
9329 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
9330
9331 * gdb.trace/actions.c: Include trace-common.h.
9332 (main): Add a location for a fast tracepoint.
9333 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
9334 the normal tracepoints.
9335 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
9336
9337 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
9338
9339 * save-trace.exp: Factor out code to these...
9340 (gdb_save_tracepoints): New.
9341 (gdb_load_tracepoints): New.
9342 (do_save_load_test): New.
9343
9344 2015-11-23 Kevin Buettner <kevinb@redhat.com>
9345
9346 * gdb.base/asmlabel.exp: New test.
9347 * gdb.base/asmlabel.c: New test case.
9348
9349 2015-11-23 Joel Brobecker <brobecker@adacore.com>
9350
9351 * gdb.base/wrong_frame_bt_full-main.c: New file.
9352 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
9353 * gdb.base/wrong_frame_bt_full.exp: New file.
9354
9355 2015-11-23 Joel Brobecker <brobecker@adacore.com>
9356
9357 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
9358
9359 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
9360
9361 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
9362 pstate register when comparing registers values in
9363 sparc64-*-linux-gnu targets to avoid spurious differences.
9364
9365 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
9366
9367 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9368
9369 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
9370
9371 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
9372 as type argument to gdb_compile.
9373 * gdb.base/nested-subp2.exp: Likewise.
9374 * gdb.base/nested-subp3.exp: Likewise.
9375
9376 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
9377
9378 * lib/dwarf.exp (_note): Fix left shift of negative value.
9379 * gdb.trace/trace-condition.exp: Likewise.
9380
9381 2015-11-13 Yao Qi <yao.qi@linaro.org>
9382
9383 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
9384 comments about d10v.
9385 (test_scalar_returns): Likewise.
9386 * gdb.base/d10v.ld: Remove.
9387 * gdb.base/overlays.exp: Remove the target triplet checking for
9388 d10v-*-*.
9389 * gdb.base/structs.exp (test_struct_returns): Remove the
9390 comments about d10v.
9391 (test_struct_calls): Likewise.
9392
9393 2015-11-13 Yao Qi <yao.qi@linaro.org>
9394
9395 * gdb.base/gnu_vector.exp: Check the return value by "p res".
9396 * gdb.base/gnu_vector.c: Don't include stdio.h.
9397 (main): Don't print res and call add_some_intvecs.
9398
9399 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
9400
9401 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
9402 macro.
9403 (func5): Removed.
9404 (func4): Use FAST_TRACEPOINT_LABEL.
9405 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
9406 macro.
9407 (func): Removed.
9408 (thread_function): Use FAST_TRACEPOINT_LABEL.
9409 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
9410 (func): Remove.
9411 (marker): Use FAST_TRACEPOINT_LABEL.
9412 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
9413 (pendfunc1): Remove.
9414 (pendfunc): Use FAST_TRACEPOINT_LABEL.
9415 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
9416 (foo): Remove.
9417 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
9418 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
9419 macro.
9420 (func): Remove.
9421 (marker): Use FAST_TRACEPOINT_LABEL.
9422 * gdb.trace/trace-common.h: New header.
9423 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
9424 macro.
9425 (func): Remove.
9426 (marker): Use FAST_TRACEPOINT_LABEL.
9427 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
9428 (func): Remove.
9429 (thread_function): Use FAST_TRACEPOINT_LABEL.
9430
9431 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
9432
9433 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
9434 in front.
9435 * gdb.trace/change-loc.exp: Use global pcreg definition.
9436 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
9437 * gdb.trace/entry-values.exp: Use global spreg definition, add $
9438 in front.
9439 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
9440 * gdb.trace/pending.exp: Likewise.
9441 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
9442 * gdb.trace/trace-break.exp: Likewise.
9443 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
9444 in front.
9445 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
9446 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
9447 in front.
9448 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
9449
9450 2015-11-09 Joel Brobecker <brobecker@adacore.com>
9451
9452 * gdb.ada/fin_fun_out: New testcase.
9453
9454 2015-11-07 Kevin Buettner <kevinb@redhat.com>
9455
9456 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
9457 value associated with DW_AT_byte_size.
9458 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
9459 constants for DW_AT_byte_size, DW_AT_lower_bound, and
9460 DW_AT_upper_bound.
9461
9462 2015-11-07 Kevin Buettner <kevinb@redhat.com>
9463
9464 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
9465 (gdb_target_symbol_prefix_flags): Define in terms of _asm
9466 version.
9467 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
9468 gdb.dwarf2/dw2-canonicalize-type.exp,
9469 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
9470 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
9471 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
9472 provided by gdb_target_symbol_prefix_flags_asm.
9473 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
9474 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
9475 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
9476 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
9477 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
9478 macros where needed). Use this macro for symbols which require
9479 the prefix provided by SYMBOL_PREFIX.
9480
9481 2015-11-05 Kevin Buettner <kevinb@redhat.com>
9482
9483 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
9484 New procs.
9485 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
9486 representing expressions, of more than one list element.
9487 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
9488 to prepend linker symbol prefix to f.
9489 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
9490 table_1 and table_2.
9491 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
9492 Likewise, for f and g.
9493 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
9494 for ptr.
9495 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
9496 for main.
9497 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
9498 table_1_ptr and table_2_ptr.
9499
9500 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9501 Joel Brobecker <brobecker@adacore.com>
9502
9503 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
9504
9505 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
9506
9507 * gdb.reverse/s390-mvcle.c: New test.
9508 * gdb.reverse/s390-mvcle.exp: New file.
9509 * lib/gdb.exp: Enable reverse tests on s390*-linux.
9510
9511 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
9512
9513 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
9514
9515 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
9516
9517 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
9518 reaching marker2.
9519 * gdb.reverse/getresuid-reverse.exp: Likewise.
9520 * gdb.reverse/pipe-reverse.exp: Likewise.
9521 * gdb.reverse/readv-reverse.exp: Likewise.
9522 * gdb.reverse/recvmsg-reverse.exp: Likewise.
9523 * gdb.reverse/time-reverse.exp: Likewise.
9524 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
9525
9526 2015-10-30 Yao Qi <yao.qi@linaro.org>
9527
9528 * gdb.threads/wp-replication.c (watch_count_done): Remove.
9529 (empty_cycle): Remove.
9530 (main): Don't call empty_cycle. Don't use watch_count_done.
9531 * gdb.threads/wp-replication.exp: Don't set breakpoint on
9532 empty_cycle. Rewrite the code counting HW watchpoints.
9533
9534 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
9535
9536 * gdb.reverse/fstatat-reverse.c: New test.
9537 * gdb.reverse/fstatat-reverse.exp: New file.
9538 * gdb.reverse/getresuid-reverse.c: New test.
9539 * gdb.reverse/getresuid-reverse.exp: New file.
9540 * gdb.reverse/pipe-reverse.c: New test.
9541 * gdb.reverse/pipe-reverse.exp: New file.
9542 * gdb.reverse/readv-reverse.c: New test.
9543 * gdb.reverse/readv-reverse.exp: New file.
9544 * gdb.reverse/recvmsg-reverse.c: New test.
9545 * gdb.reverse/recvmsg-reverse.exp: New file.
9546 * gdb.reverse/time-reverse.c: New test.
9547 * gdb.reverse/time-reverse.exp: New file.
9548 * gdb.reverse/waitpid-reverse.c: New test.
9549 * gdb.reverse/waitpid-reverse.exp: New file.
9550
9551 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
9552
9553 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
9554
9555 2015-10-26 Doug Evans <dje@google.com>
9556
9557 PR symtab/17391
9558 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
9559 * gdb.dwarf2/bad-regnum.c: New file.
9560 * gdb.dwarf2/bad-regnum.exp: New file.
9561
9562 2015-10-26 Doug Evans <dje@google.com>
9563
9564 PR python/18938
9565 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
9566 file.
9567
9568 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9569
9570 * gdb.compile/compile.exp (compile code globalvar): Update expectation
9571 for a change by "Mention language in compile error message".
9572
9573 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
9574
9575 PR python/18073
9576 * gdb.python/py-type.c (C::a_method): New.
9577 (C::a_const_method): New.
9578 (C::a_static_method): New.
9579 (a_function): New.
9580 * gdb.python/py-type.exp (test_fields): Test getting fields
9581 from function and method.
9582
9583 2015-10-21 Keven Boell <keven.boell@intel.com>
9584
9585 * gdb.fortran/vla-alloc-assoc.exp: New file.
9586 * gdb.fortran/vla-datatypes.exp: New file.
9587 * gdb.fortran/vla-datatypes.f90: New file.
9588 * gdb.fortran/vla-history.exp: New file.
9589 * gdb.fortran/vla-ptype-sub.exp: New file.
9590 * gdb.fortran/vla-ptype.exp: New file.
9591 * gdb.fortran/vla-sizeof.exp: New file.
9592 * gdb.fortran/vla-sub.f90: New file.
9593 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
9594 * gdb.fortran/vla-value-sub-finish.exp: New file.
9595 * gdb.fortran/vla-value-sub.exp: New file.
9596 * gdb.fortran/vla-value.exp: New file.
9597 * gdb.fortran/vla-ptr-info.exp: New file.
9598 * gdb.mi/mi-vla-fortran.exp: New file.
9599 * gdb.mi/vla.f90: New file.
9600
9601 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
9602
9603 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
9604 of hardwired timeout value.
9605
9606 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9607 Pedro Alves <palves@redhat.com>
9608
9609 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
9610 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
9611
9612 2015-10-19 Josh Stone <jistone@redhat.com>
9613
9614 * gdb.base/catch-syscall.c: Include <sched.h>.
9615 (unknown_syscall): New variable.
9616 (main): Trigger a vfork and an unknown syscall.
9617 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
9618 (unknown_syscall_number): Likewise.
9619 (check_call_to_syscall): Accept an optional syscall pattern.
9620 (check_return_from_syscall): Likewise.
9621 (check_continue): Likewise.
9622 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
9623 (test_catch_syscall_skipping_return): New test toggling off 'catch
9624 syscall' to step over the syscall return, then toggling back on.
9625 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
9626 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
9627 (do_syscall_tests): Call test_catch_syscall_without_args and
9628 test_catch_syscall_mid_vfork.
9629 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
9630 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
9631
9632 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
9633
9634 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
9635 print g_vE): Add new pass patterns.
9636 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
9637 print various symbol names for vptr fields.
9638
9639 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
9640
9641 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
9642 results.
9643
9644 2015-10-12 Yao Qi <yao.qi@linaro.org>
9645
9646 * gdb.arch/disp-step-insn-reloc.exp: New test case.
9647
9648 2015-10-12 Yao Qi <yao.qi@linaro.org>
9649
9650 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
9651 is aarch64*-*-linux*.
9652
9653 2015-10-12 Yao Qi <yao.qi@linaro.org>
9654
9655 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
9656 (can_relocate_bcond_true): ... it.
9657 (can_relocate_bcond_false): New function.
9658 (foo): Likewise.
9659 (can_relocate_bl): Likewise.
9660 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
9661 can_relocate_bl.
9662
9663 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
9664
9665 * gdb.base/nested-addr.c: New file.
9666 * gdb.base/nested-addr.exp: New testcase.
9667
9668 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
9669
9670 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
9671 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
9672 its output. Ignore the output of "record goto begin" and instead
9673 check that GDB is replaying.
9674
9675 2015-10-09 Pedro Alves <palves@redhat.com>
9676
9677 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
9678 (top level): Use it in the run with no args test.
9679
9680 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
9681
9682 * gdb.dlang/properties.exp: New file.
9683
9684 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
9685
9686 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
9687 whether or not address 0x1000 is mapped on the target.
9688
9689 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
9690
9691 * gdb.python/py-type.exp: Do not run tests if binaries fail to
9692 build.
9693
9694 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
9695
9696 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
9697 instruction-history test.
9698
9699 2015-09-28 Doug Evans <dje@google.com>
9700
9701 * gdb.base/gcore.c (array_func): Add reference to static_array.
9702
9703 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
9704
9705 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
9706 source line.
9707
9708 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
9709
9710 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
9711 short or char as base type.
9712
9713 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
9714
9715 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
9716 to allow any size enum.
9717
9718 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
9719
9720 * gdb.ada/array_ptr_renaming.exp: New testcase.
9721 * gdb.ada/array_ptr_renaming/foo.adb: New file.
9722 * gdb.ada/array_ptr_renaming/pack.ads: New file.
9723
9724 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
9725
9726 * gdb.trace/ftrace-lock.c: New file.
9727 * gdb.trace/ftrace-lock.exp: New file.
9728
9729 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
9730
9731 * gdb.arch/insn-reloc.c: New file.
9732 * gdb.arch/ftrace-insn-reloc.exp: New file.
9733
9734 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
9735
9736 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
9737 instruction.
9738 * gdb.trace/pendshr1.c (pendfunc): Likewise.
9739 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
9740 * gdb.trace/range-stepping.c: Likewise.
9741 * gdb.trace/trace-break.c: Likewise.
9742 * gdb.trace/trace-mt.c (thread_function): Likewise.
9743 * gdb.trace/ftrace.c (marker): Likewise.
9744 * gdb.trace/trace-condition.c (marker): Likewise.
9745 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
9746 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
9747 is_aarch64_target.
9748
9749 2015-09-18 Doug Evans <xdje42@gmail.com>
9750
9751 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
9752 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
9753
9754 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
9755
9756 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
9757 the breakpoint.
9758
9759 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
9760
9761 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
9762 the pending breakpoint. Remove timeout override for "Run till
9763 MI pending breakpoint on pendfunc3 on thread 2" test.
9764
9765 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
9766
9767 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
9768 filename pattern.
9769
9770 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
9771
9772 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
9773 in breakpoint filename pattern.
9774
9775 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
9776
9777 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
9778
9779 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
9780
9781 * gdb.linespec/explicit.exp: Check for readline support for
9782 tab-completion tests. Fix obvious typo.
9783
9784 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
9785
9786 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
9787 and replay.
9788
9789 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
9790
9791 * gdb.btrace/non-stop.c: New.
9792 * gdb.btrace/non-stop.exp: New.
9793
9794 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
9795 Yao Qi <yao.qi@linaro.org>
9796
9797 * gdb.trace/trace-condition.c: New file.
9798 * gdb.trace/trace-condition.exp: New file.
9799
9800 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
9801
9802 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
9803 for testing bytecode compilation.
9804
9805 2015-09-16 Pedro Alves <palves@redhat.com>
9806 Sandra Loosemore <sandra@codesourcery.com>
9807
9808 * gdb.threads/non-stop-fair-events.c (timeout): New global.
9809 (SECONDS): Redefine.
9810 (main): Call pthread_kill and alarm early.
9811 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
9812 support.
9813 (test): If the target can't hardware step and doesn't support
9814 displaced stepping, increase the timeout.
9815
9816 2015-09-16 Pedro Alves <palves@redhat.com>
9817
9818 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
9819 (enable_debug): New procedures.
9820 (test): Use them. Bail out if waiting for threads fails.
9821 (top level): Bail out if a test fails.
9822
9823 2015-09-16 Yao Qi <yao.qi@linaro.org>
9824
9825 * gdb.asm/asm-source.exp: Set asm-arch for
9826 aarch64*-*-* target.
9827 * gdb.asm/aarch64.inc: New file.
9828
9829 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
9830
9831 * gdb.ada/array_of_variable_length.exp: New testcase.
9832 * gdb.ada/array_of_variable_length/foo.adb: New file.
9833 * gdb.ada/array_of_variable_length/pck.adb: New file.
9834 * gdb.ada/array_of_variable_length/pck.ads: New file.
9835
9836 2015-09-15 Doug Evans <dje@google.com>
9837
9838 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
9839 of function static local variable.
9840
9841 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9842
9843 * gdb.threads/tls-so_extern.exp: New test file.
9844 * gdb.threads/tls-so_extern.c: New test file.
9845 * gdb.threads/tls-so_extern_main.c: New test file.
9846
9847 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9848
9849 * gdb.opt/solib-intra-step-lib.c: New file.
9850 * gdb.opt/solib-intra-step-main.c: New file.
9851 * gdb.opt/solib-intra-step.exp: New file.
9852
9853 2015-09-15 Pedro Alves <palves@redhat.com>
9854
9855 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
9856 gdb_continue_to_breakpoint instead of gdb_test_multiple.
9857
9858 2015-09-14 Pedro Alves <palves@redhat.com>
9859
9860 * gdb.base/hook-stop-continue.c: Delete.
9861 * gdb.base/hook-stop-continue.exp: Delete.
9862 * gdb.base/hook-stop-frame.c: Delete.
9863 * gdb.base/hook-stop-frame.exp: Delete.
9864 * gdb.base/hook-stop.c: New file.
9865 * gdb.base/hook-stop.exp: New file.
9866
9867 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
9868
9869 * gdb.ada/access_to_packed_array.exp: New testcase.
9870 * gdb.ada/access_to_packed_array/foo.adb: New file.
9871 * gdb.ada/access_to_packed_array/pack.adb: New file.
9872 * gdb.ada/access_to_packed_array/pack.ads: New file.
9873
9874 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
9875
9876 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
9877 buffer size test.
9878
9879 2015-09-11 Don Breazeal <donb@codesourcery.com>
9880
9881 * gdb.base/foll-exec.c: Add copyright header. Fix
9882 formatting issues.
9883 * gdb.base/foll-exec.exp (zap_session): Delete proc.
9884 (do_exec_tests): Use clean_restart in place of zap_session,
9885 and for test initialization. Fix formatting issues. Use
9886 fail in place of perror.
9887 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
9888 an expect statement to match an expression with output from
9889 the program under debug.
9890 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
9891 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
9892 * gdb.threads/non-ldr-exc-2.exp: Likewise.
9893 * gdb.threads/non-ldr-exc-3.exp: Likewise.
9894 * gdb.threads/non-ldr-exc-4.exp: Likewise.
9895
9896 2015-09-09 Doug Evans <dje@google.com>
9897
9898 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
9899
9900 2015-09-09 Doug Evans <dje@google.com>
9901
9902 * gdb.base/pie-execl.exp: Fix result test of build_executable.
9903
9904 2015-09-09 Doug Evans <dje@google.com>
9905
9906 * gdb.base/savedregs.exp: Fix typo.
9907
9908 2015-09-09 Pedro Alves <palves@redhat.com>
9909
9910 * gdb.mi/mi-cli.exp: Add CLI finish tests.
9911
9912 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
9913
9914 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
9915 command actually switches threads. Give up on remaining
9916 tests if target fails to stop at breakpoint.
9917
9918 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
9919
9920 * gdb.ada/funcall_char.exp: New testcase.
9921 * gdb.ada/funcall_char/foo.adb: New file.
9922
9923 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
9924
9925 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
9926 expected outputs. Add two testcases for completing ambiguous
9927 functions.
9928 * gdb.ada/complete/aux_pck.adb: New file.
9929 * gdb.ada/complete/aux_pck.ads: New file.
9930 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
9931 Ambiguous_Func functions.
9932 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
9933 * gdb.ada/complete/pck.adb: Likewise.
9934
9935 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
9936
9937 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
9938 failures to run the test program under GDB.
9939
9940 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
9941
9942 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
9943 to C.
9944
9945 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
9946
9947 * gdb.base/run-after-attach.exp: New test file.
9948 * gdb.base/run-after-attach.c: New test file.
9949
9950 2015-08-26 Don Breazeal <donb@codesourcery.com>
9951
9952 * gdb.base/foll-exec-2.c: New test program.
9953 * gdb.base/foll-exec-2.exp: New test.
9954
9955 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
9956
9957 * gdb.base/nested-subp1.exp: New file.
9958 * gdb.base/nested-subp1.c: New file.
9959 * gdb.base/nested-subp2.exp: New file.
9960 * gdb.base/nested-subp2.c: New file.
9961 * gdb.base/nested-subp3.exp: New file.
9962 * gdb.base/nested-subp3.c: New file.
9963
9964 2015-08-24 Pedro Alves <palves@redhat.com>
9965
9966 * gdb.server/connect-without-multi-process.c: New file.
9967 * gdb.server/connect-without-multi-process.exp: New file.
9968
9969 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
9970
9971 * gdb.opt/inline-markers.c: Make z int.
9972
9973 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
9974
9975 * gdb.opt/inline-markers.c: Make z volatile.
9976
9977 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
9978
9979 * gdb.opt/inline-bt.c: New volatile global z.
9980 * gdb.opt/inline-cmds.c: Likewise.
9981 * gdb.opt/inline-locals.c: Likewise.
9982 * gdb.opt/inline-markers.c: New extern global z.
9983 (marker): Use z.
9984 (inline_fn): Likewise.
9985
9986 2015-08-24 Pedro Alves <palves@redhat.com>
9987
9988 * config/m32r-stub.exp: Remove file.
9989 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
9990 * gdb.base/call-rt-st.exp: Likewise.
9991 * gdb.base/call-strs.exp: Likewise.
9992 * gdb.base/default.exp: Remove references to h8300-*-hms and
9993 *-*-udi*.
9994 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
9995
9996 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
9997
9998 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
9999 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
10000 and "return" use KFAIL when GDB can not read/write the vector
10001 return value.
10002
10003 2015-08-21 Gary Benson <gbenson@redhat.com>
10004
10005 * gdb.trace/pending.exp: Cope with remote transfer warnings.
10006
10007 2015-08-20 Pedro Alves <palves@redhat.com>
10008
10009 * gdb.server/solib-list.exp: No longer expect an interior stop in
10010 non-stop mode.
10011
10012 2015-08-20 Pedro Alves <palves@redhat.com>
10013
10014 * gdb.server/connect-stopped-target.c: New file.
10015 * gdb.server/connect-stopped-target.exp: New file.
10016
10017 2015-08-20 Pedro Alves <palves@redhat.com>
10018
10019 * gdb.dwarf2/comp-unit-lang.exp: New file.
10020 * gdb.dwarf2/comp-unit-lang.c: New file.
10021
10022 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
10023
10024 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
10025 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
10026
10027 2015-08-19 Kevin Buettner <kevinb@redhat.com>
10028
10029 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
10030 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
10031
10032 2015-08-18 Doug Evans <dje@google.com>
10033 Adrian Sendroiu <adrian.sendroiu@freescale.com>
10034
10035 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
10036 skip_python_tests. New arg prompt_regexp.
10037 (skip_python_tests): New function.
10038 * lib/mi-support.exp (mi_skip_python_tests): New function.
10039 * gdb.python/py-mi-objfile-gdb.py: New file.
10040 * gdb.python/py-mi-objfile.c: New file.
10041 * gdb.python/py-mi-objfile.exp: New file.
10042
10043 2015-08-17 Keith Seitz <keiths@redhat.com>
10044
10045 * gdb.linespec/explicit.exp: Move strace test from here ...
10046 * gdb.trace/strace.exp: ... to here.
10047
10048 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
10049
10050 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
10051 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
10052
10053 2015-08-14 Doug Evans <xdje42@gmail.com>
10054
10055 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
10056 inferior before selecting a new file.
10057
10058 2015-08-14 Doug Evans <xdje42@gmail.com>
10059
10060 * gdb.mi/mi-disassemble.exp: Update.
10061 * gdb.base/disasm-optim.S: New file.
10062 * gdb.base/disasm-optim.c: New file.
10063 * gdb.base/disasm-optim.h: New file.
10064 * gdb.base/disasm-optim.exp: New file.
10065
10066 2015-08-14 Keith Seitz <keiths@redhat.com>
10067
10068 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
10069 "evaluated-by".
10070
10071 2015-08-13 Joel Brobecker <brobecker@adacore.com>
10072
10073 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
10074
10075 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
10076
10077 * gdb.ada/fun_renaming.exp: New testcase.
10078 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
10079 * gdb.ada/fun_renaming/pack.adb: New file.
10080 * gdb.ada/fun_renaming/pack.ads: New file.
10081
10082 2015-08-12 Keith Seitz <keiths@redhat.com>
10083
10084 * gdb.base/dso2dso.exp: Pass basename of source file in call to
10085 gdb_get_line_number.
10086
10087 2015-08-12 Joel Brobecker <brobecker@adacore.com>
10088
10089 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
10090 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
10091 gdb.base/dso2dso.exp: New files.
10092
10093 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
10094 Pedro Alves <palves@redhat.com>
10095 Keith Seitz <keiths@redhat.com>
10096
10097 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
10098 GDBFLAGS.
10099
10100 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
10101
10102 * gdb.base/gdbhistsize-history.exp
10103 (test_histsize_history_setting): Use save_vars.
10104 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
10105 Use save_vars.
10106 (test_no_truncation_of_unlimited_history_file): Use save_vars.
10107 * gdb.base/readline.exp: Use save_vars.
10108
10109 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
10110
10111 * lib/gdb.exp (save_vars): New proc.
10112
10113 2015-08-11 Keith Seitz <keiths@redhat.com>
10114
10115 * gdb.base/help.exp: Update help_breakpoint_text.
10116
10117 2015-08-11 Keith Seitz <keiths@redhat.com>
10118
10119 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
10120 (at toplevel): Call test_explicit_breakpoints.
10121 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
10122 breakpoints.
10123 * lib/mi-support.exp (mi_make_breakpoint): Add support for
10124 breakpoint conditions, "-cond".
10125
10126 2015-08-11 Keith Seitz <keiths@redhat.com>
10127
10128 * gdb.linespec/3explicit.c: New file.
10129 * gdb.linespec/cpexplicit.cc: New file.
10130 * gdb.linespec/cpexplicit.exp: New file.
10131 * gdb.linespec/explicit.c: New file.
10132 * gdb.linespec/explicit.exp: New file.
10133 * gdb.linespec/explicit2.c: New file.
10134 * gdb.linespec/ls-errs.exp: Add explicit location tests.
10135 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
10136 before using in the matching pattern.
10137 Clarify that `prefix' is a regular expression.
10138
10139 2015-08-11 Keith Seitz <keiths@redhat.com>
10140
10141 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
10142 test.
10143 Add tests for missing ",FMT" and ",".
10144
10145 2015-08-10 Doug Evans <dje@google.com>
10146 Keith Seitz <keiths@redhat.com>
10147
10148 PR gdb/17960
10149 * gdb.base/completion.exp: Add location completer tests.
10150
10151 2015-08-07 Pedro Alves <palves@redhat.com>
10152
10153 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
10154 tests here.
10155 (top level): Run do_test with and without displaced stepping.
10156
10157 2015-08-07 Pedro Alves <palves@redhat.com>
10158
10159 * gdb.base/valgrind-disp-step.c: New file.
10160 * gdb.base/valgrind-disp-step.exp: New file.
10161
10162 2015-08-07 Pedro Alves <palves@redhat.com>
10163
10164 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
10165 Delete function.
10166 (main): Add alarm. Run an infinite loop instead of calling
10167 wait_threads.
10168 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
10169 comment.
10170 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
10171 Delete function.
10172 (main): Add alarm. Run an infinite loop instead of calling
10173 wait_threads.
10174 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
10175 comment.
10176
10177 2015-08-07 Pedro Alves <palves@redhat.com>
10178
10179 * gdb.base/checkpoint-ns.exp: New file.
10180 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
10181 standard_testfile.
10182
10183 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
10184
10185 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
10186 * gdb.btrace/instruction_history.exp: Update.
10187 * gdb.btrace/tsx.exp: New.
10188 * gdb.btrace/tsx.c: New.
10189
10190 2015-08-06 Pedro Alves <palves@redhat.com>
10191
10192 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
10193 increase timeout.
10194 * gdb.reverse/until-precsave.exp: Bump timeouts.
10195
10196 2015-08-06 Pedro Alves <palves@redhat.com>
10197
10198 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
10199
10200 2015-08-06 Pedro Alves <palves@redhat.com>
10201
10202 PR gdb/18749
10203 * gdb.threads/process-dies-while-handling-bp.c: New file.
10204 * gdb.threads/process-dies-while-handling-bp.exp: New file.
10205
10206 2015-08-06 Pedro Alves <palves@redhat.com>
10207
10208 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
10209 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
10210
10211 2015-08-05 Pedro Alves <palves@redhat.com>
10212
10213 * gdb.threads/next-while-other-thread-longjmps.c: New file.
10214 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
10215
10216 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
10217
10218 * gdb.base/bp-permanent.exp: Report test as unsupported if
10219 the target cannot stop at the permanent breakpoint.
10220
10221 2015-08-03 Doug Evans <dje@google.com>
10222
10223 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
10224 10000.
10225
10226 2015-08-03 Doug Evans <dje@google.com>
10227
10228 * Makefile.in (workers/%.worker, build-perf): New rule.
10229 (GDB_PERFTEST_MODE): New variable.
10230 (check-perf): Use it.
10231 (clean): Clean up gdb.perf parallel build subdirs.
10232 * lib/build-piece.exp: New file.
10233 * lib/gdb.exp (make_gdb_parallel_path): New function
10234 (standard_output_file, standard_temp_file): Call it.
10235 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
10236 of $GDB_PARALLEL.
10237 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
10238
10239 2015-08-03 Doug Evans <dje@google.com>
10240
10241 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
10242 (LOG_FILE_NAME): New global.
10243 (TextReporter.__init__): Initialize self.txt_sum.
10244 (TextReporter.report): Add support for multiple data-points.
10245 Move report to perftest.sum, put raw data in perftest.log.
10246 (TextReporter.start): Open sum and log files.
10247 (TextReporter.end): Close sum and log files.
10248 * gdb.perf/lib/perftest/testresult.py
10249 (SingleStatisticTestResult.record): Handle multiple data-points.
10250
10251 2015-07-31 Pedro Alves <palves@redhat.com>
10252
10253 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
10254 Use spawn_id_get_pid. Wait for spawn id after eof. Use
10255 kill_wait_spawned_process instead of explicit "kill -9".
10256 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
10257 returning a spawn id instead of a pid. Use spawn_id_get_pid and
10258 kill_wait_spawned_process.
10259 * gdb.base/attach-twice.exp: Likewise.
10260 * gdb.base/attach.exp: Likewise.
10261 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
10262 gdb_test_multiple.
10263 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
10264 returning a spawn id instead of a pid. Use spawn_id_get_pid and
10265 kill_wait_spawned_process.
10266 * gdb.base/valgrind-infcall.exp: Likewise.
10267 * gdb.multi/multi-attach.exp: Likewise.
10268 * gdb.python/py-prompt.exp: Likewise.
10269 * gdb.python/py-sync-interp.exp: Likewise.
10270 * gdb.server/ext-attach.exp: Likewise.
10271 * gdb.threads/attach-into-signal.exp (corefunc): Use
10272 spawn_wait_for_attach, spawn_id_get_pid and
10273 kill_wait_spawned_process.
10274 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
10275 spawn_wait_for_attach returning a spawn id instead of a pid. Use
10276 spawn_id_get_pid and kill_wait_spawned_process.
10277 * gdb.threads/attach-stopped.exp (corefunc): Use
10278 spawn_wait_for_attach, spawn_id_get_pid and
10279 kill_wait_spawned_process.
10280 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
10281 Use spawn_id_get_pid. Wait for spawn id after eof. Use
10282 kill_wait_spawned_process instead of explicit "kill -9".
10283 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
10284 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
10285 (spawn_wait_for_attach): Use spawn instead of exec to spawn
10286 processes. Don't map cygwin/windows pids here. Now returns a
10287 spawn id list.
10288
10289 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
10290
10291 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
10292 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
10293 correct patch.
10294
10295 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
10296
10297 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
10298
10299 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
10300
10301 Reapply:
10302 2014-05-21 Mark Wielaard <mjw@redhat.com>
10303
10304 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
10305
10306 2015-07-30 Pedro Alves <palves@redhat.com>
10307
10308 * linux-low.c (handle_extended_wait): Set the child's last
10309 reported status to TARGET_WAITKIND_STOPPED.
10310
10311 2015-07-30 Pedro Alves <palves@redhat.com>
10312
10313 PR threads/18600
10314 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
10315 only shows inferior 1.
10316
10317 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
10318 Pedro Alves <palves@redhat.com>
10319
10320 PR threads/18600
10321 * gdb.threads/fork-plus-threads.c: New file.
10322 * gdb.threads/fork-plus-threads.exp: New file.
10323
10324 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
10325
10326 * gdb.base/batch-preserve-term-settings.exp
10327 (test_terminal_settings_preserved_after_cli_exit): Use
10328 send_quit_command.
10329
10330 2015-07-29 Pedro Alves <palves@redhat.com>
10331 Don Breazeal <donb@codesourcery.com>
10332
10333 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
10334 output from both inferior_spawn_id and gdb_spawn_id.
10335
10336 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
10337
10338 * gdb.threads/attach-into-signal.exp (corefunc): Use
10339 with_test_prefix on nested loops, uniquefying the test messages.
10340
10341 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
10342
10343 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
10344 commit.
10345
10346 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
10347
10348 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
10349 New proc.
10350 (test_terminal_settings_preserved_after_sigterm): New test.
10351
10352 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
10353
10354 * gdb.base/batch-preserve-term-settings.exp
10355 (test_terminal_settings_preserved_after_cli_exit): New test.
10356
10357 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
10358
10359 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
10360 manipulation of saved_gdbflags.
10361 (test_terminal_settings_preserved): Remove global declaration of
10362 the unused variable pagination_prompt. Remove manipulation of
10363 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
10364 GDBFLAGS.
10365
10366 2015-07-29 Pedro Alves <palves@redhat.com>
10367
10368 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
10369
10370 2015-07-29 Pedro Alves <palves@redhat.com>
10371
10372 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
10373 at the top.
10374
10375 2015-07-29 Pedro Alves <palves@redhat.com>
10376
10377 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
10378 (main): Call gdb_unbuffer_output.
10379 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
10380 (main): Call gdb_unbuffer_output.
10381 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
10382 (main): Call gdb_unbuffer_output.
10383 * gdb.base/call-strs.exp: Adjust to step over the
10384 gdb_unbuffer_output call.
10385 * gdb.base/catch-gdb-caused-signals.c: Include
10386 "../lib/unbuffer_output.c".
10387 (main): Call gdb_unbuffer_output.
10388 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
10389 (main): Call gdb_unbuffer_output.
10390 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
10391 (main): Call gdb_unbuffer_output.
10392 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
10393 (main): Call gdb_unbuffer_output.
10394 * gdb.base/shlib-call.exp: Adjust to step over the
10395 gdb_unbuffer_output call.
10396 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
10397 (main): Call gdb_unbuffer_output.
10398 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
10399 (main): Call gdb_unbuffer_output.
10400 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
10401 (main): Rename to ...
10402 (test): ... this.
10403 (main): Reimplement.
10404 * gdb.base/varargs.exp: Run to test instead of to main.
10405 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
10406 (main): Call gdb_unbuffer_output.
10407
10408 2015-07-29 Pedro Alves <palves@redhat.com>
10409
10410 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
10411 factore out from mi_continue_dprintf. For call-style dprintfs,
10412 expect dprintf output out of $inferior_spawn_id.
10413 (mi_continue_dprintf): Use mi_expect_dprintf.
10414 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
10415 (main): Call gdb_unbuffer_output.
10416
10417 2015-07-29 Pedro Alves <palves@redhat.com>
10418
10419 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
10420 (default_mi_gdb_start): Set inferior_spawn_id instead of
10421 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
10422 gdb_spawn_id.
10423 (mi_gdb_test): Always expect inferior output from both
10424 $inferior_spawn_id and $gdb_spawn_id.
10425
10426 2015-07-29 Pedro Alves <palves@redhat.com>
10427
10428 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
10429 send_inferior and $inferior_spawn_id.
10430
10431 2015-07-29 Pedro Alves <palves@redhat.com>
10432
10433 * gdb.gdb/complaints.exp (test_initial_complaints)
10434 (test_serial_complaints, test_short_complaints): Use
10435 gdb_test_stdio.
10436 (test_empty_complaint): Handle $inferior_spawn_id !=
10437 $gdb_spawn_id.
10438
10439 2015-07-29 Pedro Alves <palves@redhat.com>
10440
10441 * gdb.base/varargs.exp: Use gdb_test_stdio.
10442
10443 2015-07-29 Pedro Alves <palves@redhat.com>
10444
10445 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
10446
10447 2015-07-29 Pedro Alves <palves@redhat.com>
10448
10449 * gdb.base/ending-run.exp: Use gdb_test_stdio.
10450
10451 2015-07-29 Pedro Alves <palves@redhat.com>
10452
10453 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
10454 parameter into two new parameters, "inf_result" and "gdb_result".
10455 Expect inferior output and gdb output from $inferior_spawn_id and
10456 $gdb_spawn_id, respectively. Adjust all callers.
10457
10458 2015-07-29 Pedro Alves <palves@redhat.com>
10459
10460 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
10461 of gdb_test_sequence.
10462
10463 2015-07-29 Pedro Alves <palves@redhat.com>
10464
10465 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
10466 (saw_spurious_output): Expect inferior output from
10467 $inferior_spawn_id. Use gdb_test_stdio.
10468
10469 2015-07-29 Pedro Alves <palves@redhat.com>
10470
10471 * gdb.base/dprintf.exp: Use standard_testfile. Change
10472 prepare_for_testing call.
10473 (srcfile): Don't set.
10474 (restart): New procedure.
10475 (test_dprintf): New procecure, use to continue over dprintfs.
10476 (test_call, test_agent): New procedures, tests moved here.
10477 Restart gdb and recreate dprintfs. Adjust expected output.
10478
10479 2015-07-29 Pedro Alves <palves@redhat.com>
10480
10481 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
10482
10483 2015-07-29 Pedro Alves <palves@redhat.com>
10484
10485 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
10486
10487 2015-07-29 Pedro Alves <palves@redhat.com>
10488
10489 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
10490 gdb_test_stdio.
10491
10492 2015-07-29 Pedro Alves <palves@redhat.com>
10493
10494 * lib/gdb.exp (gdb_test_stdio): New procedure.
10495
10496 2015-07-29 Pedro Alves <palves@redhat.com>
10497
10498 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
10499
10500 2015-07-29 Pedro Alves <palves@redhat.com>
10501
10502 * gdb.base/call-signal-resume.exp: Remove check for
10503 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
10504 * gdb.base/unwindonsignal.exp: Likewise.
10505 * gdb.base/call-signals.c (gen_signal): Remove printf call.
10506 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
10507
10508 2015-07-29 Pedro Alves <palves@redhat.com>
10509
10510 * gdb.base/siginfo-addr.c (pass): New function.
10511 (handler): Call it iff si_addr is correct.
10512 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
10513 Set a breakpoint at "pass" and continue to it.
10514
10515 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
10516
10517 * gdb.python/py-objfile.exp: Make some tests have unique names.
10518 * gdb.python/py-pp-registration.exp: Likewise.
10519
10520 2015-07-28 Pedro Alves <palves@redhat.com>
10521
10522 * gdb.server/server-exec-info.exp: Issue a "disconnect".
10523
10524 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
10525
10526 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
10527
10528 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
10529
10530 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
10531
10532 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
10533
10534 * gdb.base/gdb-sigterm-2.exp: New test.
10535
10536 2015-07-25 Doug Evans <xdje42@gmail.com>
10537
10538 Revert:
10539 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
10540 (workers/%.worker, build-perf): New rule.
10541 (GDB_PERFTEST_MODE): New variable.
10542 (check-perf): Use it.
10543 (clean): Clean up gdb.perf parallel build subdirs.
10544 * lib/build-piece.exp: New file.
10545 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
10546 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
10547 name.
10548 (standard_temp_file): Ditto.
10549 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
10550 of $GDB_PARALLEL.
10551
10552 2015-07-24 Doug Evans <dje@google.com>
10553
10554 * gdb.perf/lib/perftest/utils.py: New file.
10555 * gdb.perf/gm-hello.cc: New file.
10556 * gdb.perf/gm-pervasive-typedef.cc: New file.
10557 * gdb.perf/gm-pervasive-typedef.h: New file.
10558 * gdb.perf/gm-std.cc: New file.
10559 * gdb.perf/gm-std.h: New file.
10560 * gdb.perf/gm-use-cerr.cc: New file.
10561 * gdb.perf/gm-utils.h: New file.
10562 * gdb.perf/gmonster-null-lookup.py: New file.
10563 * gdb.perf/gmonster-pervasive-typedef.py: New file.
10564 * gdb.perf/gmonster-print-cerr.py: New file.
10565 * gdb.perf/gmonster-ptype-string.py: New file.
10566 * gdb.perf/gmonster-runto-main.py: New file.
10567 * gdb.perf/gmonster-select-file.py: New file.
10568 * gdb.perf/gmonster1-null-lookup.exp: New file.
10569 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
10570 * gdb.perf/gmonster1-print-cerr.exp: New file.
10571 * gdb.perf/gmonster1-ptype-string.exp: New file.
10572 * gdb.perf/gmonster1-runto-main.exp: New file.
10573 * gdb.perf/gmonster1-select-file.exp: New file.
10574 * gdb.perf/gmonster1.cc: New file.
10575 * gdb.perf/gmonster1.exp: New file.
10576 * gdb.perf/gmonster2-null-lookup.exp: New file.
10577 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
10578 * gdb.perf/gmonster2-print-cerr.exp: New file.
10579 * gdb.perf/gmonster2-ptype-string.exp: New file.
10580 * gdb.perf/gmonster2-runto-main.exp: New file.
10581 * gdb.perf/gmonster2-select-file.exp: New file.
10582 * gdb.perf/gmonster2.cc: New file.
10583 * gdb.perf/gmonster2.exp: New file.
10584
10585 2015-07-24 Doug Evans <dje@google.com>
10586
10587 * gdb.perf/README: New file.
10588 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
10589 * lib/gen-perf-test.exp: New file.
10590
10591 2015-07-24 Doug Evans <dje@google.com>
10592
10593 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
10594 (PerfTest::startup): New function.
10595 (PerfTest::run): Return result of calling body.
10596 (PerfTest::assemble): Rewrite.
10597 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
10598 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
10599 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
10600 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
10601 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
10602
10603 2015-07-24 Doug Evans <dje@google.com>
10604
10605 * lib/gdb.exp (clean_restart): Make executable optional.
10606
10607 2015-07-24 Doug Evans <dje@google.com>
10608
10609 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
10610 compiler_info references.
10611 * gdb.cp/temargs.exp: Ditto.
10612 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
10613 (get_compiler_info): Early exit if already computed. Set compiler_info
10614 to "unknown" if there was a problem.
10615 (test_compiler_info): Add function comment. Call get_compiler_info.
10616
10617 2015-07-24 Doug Evans <dje@google.com>
10618
10619 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
10620 (workers/%.worker, build-perf): New rule.
10621 (GDB_PERFTEST_MODE): New variable.
10622 (check-perf): Use it.
10623 (clean): Clean up gdb.perf parallel build subdirs.
10624 * lib/build-piece.exp: New file.
10625 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
10626 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
10627 name.
10628 (standard_temp_file): Ditto.
10629 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
10630 of $GDB_PARALLEL.
10631
10632 2015-07-24 Doug Evans <dje@google.com>
10633
10634 * lib/future.exp (gdb_default_target_compile): New option
10635 "early_flags".
10636 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
10637 --as-needed.
10638
10639 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
10640
10641 * gdb.base/catch-syscall.exp: Call gdb_exit before
10642 gdb_skip_xml_test.
10643
10644 2015-07-24 Pedro Alves <palves@redhat.com>
10645
10646 * gdb.python/py-events.exp: Accept output between the stop event
10647 and the prompt.
10648 * gdb.python/py-evsignal.exp: Likewise.
10649 * gdb.python/py-evthreads.exp: Likewise.
10650
10651 2015-07-24 Pedro Alves <palves@redhat.com>
10652
10653 PR gdb/18717
10654 * gdb.threads/non-ldr-exit.c: New file.
10655 * gdb.threads/non-ldr-exit.exp: New file.
10656
10657 2015-07-24 Yao Qi <yao.qi@linaro.org>
10658
10659 * gdb.server/ext-wrapper.exp: Test --wrapper option when
10660 restarting process.
10661
10662 2015-07-24 Yao Qi <yao.qi@linaro.org>
10663
10664 * gdb.server/ext-restart.exp: New file.
10665
10666 2015-07-24 Yao Qi <yao.qi@linaro.org>
10667
10668 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
10669 argument options.
10670 * gdb.server/ext-wrapper.exp: New file.
10671
10672 2015-07-23 Doug Evans <dje@google.com>
10673
10674 * gdb.dwarf2/dw2-dummy-cu.S: New file.
10675 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
10676
10677 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
10678
10679 * gdb.ada/var_arr_typedef.exp: New testcase.
10680 * gdb.ada/var_arr_typedef/pack.adb: New file.
10681 * gdb.ada/var_arr_typedef/pack.ads: New file.
10682 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
10683
10684 2015-07-20 Joel Brobecker <brobecker@adacore.com>
10685
10686 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
10687
10688 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10689
10690 * gdb.arch/i386-biarch-core.exp: Replace istarget
10691 by "complete set gnutarget". Remove expectation for the "core-file"
10692 command.
10693
10694 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10695
10696 Revert the previous commit:
10697 Tests for validate symbol file using build-id.
10698
10699 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
10700
10701 Tests for validate symbol file using build-id.
10702 * gdb.base/solib-mismatch-lib.c: New file.
10703 * gdb.base/solib-mismatch-libmod.c: New file.
10704 * gdb.base/solib-mismatch.c: New file.
10705 * gdb.base/solib-mismatch.exp: New file.
10706
10707 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
10708
10709 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
10710 nios2-*-linux*.
10711 * gdb.base/sigbpt.exp (stepi_out): Likewise.
10712 * gdb.base/siginfo.exp: Likewise.
10713 * gdb.base/sigstep.exp (advance, advancei): Likewise.
10714
10715 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
10716
10717 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
10718 Move it to ...
10719 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
10720 ... here.
10721 * gdb.trace/range-stepping.exp: Check that the target supports
10722 range stepping.
10723
10724 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10725
10726 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
10727
10728 2015-07-14 Pedro Alves <palves@redhat.com>
10729
10730 * gdb.base/killed-outside.exp: New file.
10731 * gdb.base/killed-outside.c: New file.
10732
10733 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
10734
10735 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
10736 (n at main): New.
10737 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
10738
10739 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
10740
10741 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
10742 infcall tests instead of setting up for KFAIL.
10743
10744 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
10745
10746 * gdb.btrace/record_goto-step.exp: New.
10747
10748 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10749
10750 PR compile/18484
10751 * gdb.compile/compile.c (struct struct_type): Add volatile to
10752 selffield's type.
10753 * gdb.compile/compile.exp
10754 (compile code struct_object.selffield = &struct_object): Skip further
10755 struct_object tests if this one xfails.
10756
10757 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
10758
10759 PR exp/18617
10760 * gdb.trace/ax.exp: Add test.
10761
10762 2015-07-07 Yao Qi <yao.qi@linaro.org>
10763
10764 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
10765 instead of istarget "aarch64*-*-*".
10766 * gdb.arch/aarch64-fp.exp: Likewise.
10767 * gdb.base/float.exp: Likewise.
10768 * gdb.reverse/aarch64.exp: Likewise.
10769 * lib/gdb.exp (is_aarch64_target): New proc.
10770
10771 2015-07-07 Yao Qi <yao.qi@linaro.org>
10772
10773 * lib/gdb.exp (is_aarch32_target): New proc.
10774 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
10775 instead of "istarget "arm*-*-*"".
10776 * gdb.arch/arm-disp-step.exp: Likewise.
10777 * gdb.arch/thumb-bx-pc.exp: Likewise.
10778 * gdb.arch/thumb-prologue.exp: Likewise.
10779 * gdb.arch/thumb-singlestep.exp: Likewise.
10780 * gdb.base/disp-step-syscall.exp: Likewise.
10781 * gdb.base/float.exp: Likewise.
10782
10783 2015-07-07 Yao Qi <yao.qi@linaro.org>
10784
10785 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
10786 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
10787
10788 2015-07-07 Yao Qi <yao.qi@linaro.org>
10789
10790 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
10791 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
10792 if it exists.
10793 * gdb.multi/multi-arch.exp: Likewise.
10794
10795 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
10796
10797 * gdb.python/py-lazy-string.exp: Add missing parentheses to
10798 print.
10799
10800 2015-07-07 Yao Qi <yao.qi@linaro.org>
10801
10802 * gdb.arch/thumb-singlestep.exp: Do one more single step.
10803
10804 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
10805
10806 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
10807 '[' and ']' characters.
10808
10809 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
10810
10811 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
10812
10813 2015-06-29 Pedro Alves <palves@redhat.com>
10814
10815 PR threads/18127
10816 * gdb.threads/hand-call-new-thread.c: New file.
10817 * gdb.threads/hand-call-new-thread.c: New file.
10818
10819 2015-06-26 Keith Seitz <keiths@redhat.com>
10820 Doug Evans <dje@google.com>
10821
10822 PR 16253
10823 * gdb.cp/var-tag-2.cc: New file.
10824 * gdb.cp/var-tag-3.cc: New file.
10825 * gdb.cp/var-tag-4.cc: New file.
10826 * gdb.cp/var-tag.cc: New file.
10827 * gdb.cp/var-tag.exp: New file.
10828
10829 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
10830
10831 * gdb.base/history-duplicates.exp: New test.
10832
10833 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
10834
10835 * gdb.base/completion.exp: Test the completion of the "focus"
10836 command.
10837
10838 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
10839
10840 * gdb.arch/amd64-prologue-skip.S: New file.
10841 * gdb.arch/amd64-prologue-skip.exp: New file.
10842
10843 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
10844
10845 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
10846 is_address_zero_readable check.
10847
10848 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
10849
10850 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
10851 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
10852
10853 2015-06-24 Yao Qi <yao.qi@linaro.org>
10854
10855 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
10856 linux targets.
10857
10858 2015-06-24 Yao Qi <yao.qi@linaro.org>
10859
10860 * lib/gdb.exp (supports_get_siginfo_type): New proc.
10861 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
10862 * gdb.base/siginfo-thread.exp: Likewise.
10863
10864 2015-06-22 Yao Qi <yao.qi@linaro.org>
10865
10866 * boards/remote-gdbserver-on-localhost.exp: Add comments.
10867
10868 2015-06-22 Yao Qi <yao.qi@linaro.org>
10869
10870 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
10871 aarch64*-*-*.
10872 (skip_hw_watchpoint_tests): Likewise.
10873
10874 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
10875
10876 * gdb.base/gdbinit-history.exp: Test the interaction between
10877 setting GDBHISTSIZE and setting the history size via .gdbinit.
10878
10879 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
10880
10881 PR gdb/16999
10882 * gdb.base/gdbhistsize-history.exp: New test.
10883
10884 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
10885
10886 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
10887 with GDBHISTSIZE.
10888 * gdb.base/readline.exp: Likewise.
10889
10890 2015-06-17 Yao Qi <yao.qi@linaro.org>
10891
10892 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
10893 line.
10894
10895 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
10896
10897 * gdb.base/gdbinit-history.exp: Add test case to check that
10898 an unlimited history file does not get truncated on exit.
10899
10900 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
10901
10902 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
10903 (VECTOR): New macro. Use it...
10904 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
10905 ...for these typedefs.
10906 (int8, char1, int1, double1): New typedefs.
10907 (struct just_int2, struct two_int2): New structures.
10908 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
10909 (add_structvecs, add_singlevecs): New functions.
10910 (main): Call add_some_intvecs twice.
10911 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
10912 the compile and exit upon failure. Try compiling for the "native"
10913 architecture. Test inferior function calls with vector arguments
10914 and vector return value handling with "finish" and "return".
10915
10916 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
10917
10918 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
10919 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
10920 PE file.
10921 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
10922
10923 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
10924
10925 PR breakpoints/16465
10926 * gdb.mi/mi-dprintf-pending.c: New file.
10927 * gdb.mi/mi-dprintf-pending.exp: New test.
10928 * gdb.mi/mi-dprintf-pendshr.c: New file.
10929
10930 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
10931 Mircea Gherzan <mircea.gherzan@intel.com>
10932
10933 * gdb.arch/i386-mpx-map.c: New file.
10934 * gdb.arch/i386-mpx-map.exp: New File.
10935
10936 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
10937
10938 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
10939 * gdb.arch/i386-mpx.exp: Indentation fixed.
10940
10941 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
10942
10943 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
10944 function and improved indentation.
10945 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
10946 gdb_test_multiple. Added additional tests to skip the test.
10947
10948 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
10949
10950 * gdb.arch/i386-avx512.c: Change path in include file.
10951 * gdb.arch/i386-avx512.exp: Change include dir path
10952 compilation flag.
10953 * gdb.arch/i386-mpx.c: Change path in include file.
10954 * gdb.arch/i386-mpx.exp: Change include dir path compilation
10955 flag.
10956
10957 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
10958
10959 * gdb.compile/compile-print.exp (compile print *vararray@3)
10960 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
10961
10962 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
10963
10964 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
10965 (do not keep jit in memory): ... this.
10966 (expect 5): Change it to ...
10967 (expect no 5): ... this.
10968
10969 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
10970
10971 PR gdb/15564
10972 * gdb.mi/mi-detach.exp: New file.
10973
10974 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
10975
10976 PR symtab/18392
10977 * gdb.arch/amd64-tailcall-self.S: New file.
10978 * gdb.arch/amd64-tailcall-self.c: New file.
10979 * gdb.arch/amd64-tailcall-self.exp: New file.
10980
10981 2015-05-28 Don Breazeal <donb@codesourcery.com>
10982
10983 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
10984 tests for remote targets by checking is_target_gdbserver.
10985
10986 2015-05-27 Doug Evans <dje@google.com>
10987
10988 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
10989 * gdb.dwarf2/opaque-type-lookup.c: New file.
10990 * gdb.dwarf2/opaque-type-lookup.exp: New file.
10991
10992 2015-05-26 Doug Evans <dje@google.com>
10993
10994 * gdb.cp/iostream.cc: New file.
10995 * gdb.cp/iostream.exp: New file.
10996
10997 2015-05-26 Doug Evans <dje@google.com>
10998
10999 * gdb.dwarf2/dw2-op-call.exp: Update.
11000 * gdb.dwarf2/dw4-sig-types.exp: Update.
11001 * gdb.dwarf2/implptr.exp: Update.
11002 * gdb.mi/mi-cmd-param-changed.exp: Update.
11003
11004 2015-05-26 Doug Evans <dje@google.com>
11005
11006 * gdb.python/py-lazy-string.c: New file.
11007 * gdb.python/py-lazy-string.exp: New file.
11008 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
11009 (main): Update. Add estring3.
11010 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
11011 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
11012
11013 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
11014 Yao Qi <yao.qi@linaro.org>
11015
11016 * gdb.reverse/aarch64.c: New.
11017 * gdb.reverse/aarch64.exp: New.
11018
11019 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
11020
11021 * lib/gdb.exp (supports_process_record): Return true for
11022 aarch64*-linux*.
11023 (supports_reverse): Likewise.
11024
11025 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
11026
11027 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
11028 Use with_test_prefix.
11029
11030 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
11031
11032 * gdb.base/completion.exp: Add test for completion of layout
11033 names.
11034
11035 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
11036
11037 * lib/gdb.exp (skip_tui_tests): New proc.
11038 * gdb.base/tui-layout.exp: Check skip_tui_tests.
11039
11040 2015-05-19 Pedro Alves <palves@redhat.com>
11041
11042 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
11043 Save the whole env array instead of just HOME. Unset HISTSIZE in
11044 the environment while testing. Restore whole environment
11045 afterwards.
11046
11047 2015-05-16 Doug Evans <xdje42@gmail.com>
11048
11049 * gdb.guile/scm-ports.c: New file.
11050 * gdb.guile/scm-ports.exp: Add memory port tests.
11051
11052 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11053
11054 * gdb.compile/compile-print.c: New file.
11055 * gdb.compile/compile-print.exp: New file.
11056
11057 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11058
11059 * gdb.compile/compile-ops.exp: Cast param to void.
11060 * gdb.compile/compile.exp: Complete type for _gdb_expr.
11061 (compile code struct_object.selffield = &struct_object): Add xfail.
11062
11063 2015-05-15 Joel Brobecker <brobecker@adacore.com>
11064
11065 * gdb.ada/arr_enum_with_gap: New testcase.
11066
11067 2015-05-15 Joel Brobecker <brobecker@adacore.com>
11068
11069 * gdb.ada/byte_packed_arr: New testcase.
11070
11071 2015-05-15 Joel Brobecker <brobecker@adacore.com>
11072
11073 * gdb.ada/pckd_neg: New testcase.
11074
11075 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
11076
11077 PR gdb/17820
11078 * gdb.base/gdbinit-history.exp: New test.
11079 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
11080 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
11081
11082 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
11083
11084 * gdb.python/py-xmethods.cc: Enhance test case.
11085 * gdb.python/py-xmethods.exp: New tests.
11086 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
11087 function.
11088 (B_indexoper): Likewise.
11089 (global_dm_list) : Add new xmethod worker functions.
11090
11091 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
11092
11093 * gdb.base/coredump-filter.exp: Correctly unset
11094 "coredump_var_addr" array.
11095
11096 2015-05-08 Pedro Alves <palves@redhat.com>
11097
11098 * gdb.server/non-existing-program.exp: Unset spawn_id.
11099
11100 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
11101
11102 PR python/18291
11103 * gdb.python/py-xmethods.exp: Add tests.
11104
11105 2015-05-08 Yao Qi <yao.qi@linaro.org>
11106
11107 PR gdb/18208
11108 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
11109 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
11110 function set_coredump_filter, and remove remote_exec call.
11111 Remove argument ipid. Callers update.
11112 (top level): Don't get inferior's PID.
11113
11114 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
11115
11116 * gdb.base/watch_thread_num.exp: Skip test on targets without
11117 access watchpoints.
11118
11119 2015-05-06 Pedro Alves <palves@redhat.com>
11120
11121 PR server/18081
11122 * gdb.server/non-existing-program.exp: New file.
11123
11124 2015-05-05 Joel Brobecker <brobecker@adacore.com>
11125
11126 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
11127
11128 2015-05-05 Joel Brobecker <brobecker@adacore.com>
11129
11130 * gdb.ada/out_of_line_in_inlined: New testcase.
11131
11132 2015-05-05 Joel Brobecker <brobecker@adacore.com>
11133
11134 * gdb.ada/var_rec_arr: New testcase.
11135
11136 2015-04-30 Yao Qi <yao.qi@linaro.org>
11137
11138 * gdb.base/break-idempotent.exp: If
11139 skip_hw_watchpoint_multi_tests returns true, skip the tests
11140 on "rwatch" and "awatch".
11141
11142 2015-04-30 Yao Qi <yao.qi@linaro.org>
11143
11144 * gdb.base/relativedebug.exp: Invoke gdb command
11145 "info sharedlibrary", and if libc.so doesn't have debug info,
11146 skip the test.
11147
11148 2015-04-29 Doug Evans <dje@google.com>
11149
11150 * gdb.python/py-xmethods.exp: Add ptype tests.
11151 * gdb.python/py-xmethods.py (E_method_char_worker): Add
11152 get_result_type method.
11153
11154 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
11155
11156 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
11157 the target does not support hardware watchpoints.
11158
11159 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
11160
11161 * gdb.base/break-always.exp: Abort testing if writing to memory
11162 causes an error.
11163
11164 2015-04-28 Doug Evans <dje@google.com>
11165
11166 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
11167 * gdb.python/py-pp-registration.exp: ... here. New file.
11168 * gdb.python/py-pp-registration.c: New file.
11169 * gdb.python/py-pp-registration.py: New file.
11170
11171 2015-04-28 Doug Evans <dje@google.com>
11172
11173 * gdb.python/py-bad-printers.c: New file.
11174 * gdb.python/py-bad-printers.py: New file.
11175 * gdb.python/py-bad-printers.exp: New file.
11176
11177 2015-04-28 Sasha Smundak <asmundak@google.com>
11178
11179 * gdb.python/py-type.exp: New test.
11180
11181 2015-04-28 Andy Wingo <wingo@igalia.com>
11182
11183 * gdb.python/py-parameter.exp:
11184 * gdb.guile/scm-parameter.exp: Escape the path that we are
11185 matching against, as it might contain characters that are special
11186 to regular expressions.
11187
11188 2015-04-27 Joel Brobecker <brobecker@adacore.com>
11189
11190 * gdb.ada/rec_comp: New testcase.
11191
11192 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
11193
11194 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
11195 before using it.
11196
11197 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
11198
11199 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
11200 new tests for verilog output.
11201
11202 2015-04-24 Yao Qi <yao.qi@linaro.org>
11203
11204 * boards/remote-gdbserver-on-localhost.exp: New file.
11205
11206 2015-04-23 Pedro Alves <palves@redhat.com>
11207
11208 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
11209 $inferior_spawn_id instead of $inferior_spawn_id directly. On
11210 "end of file", remove $inferior_spawn_id from the indirect list.
11211
11212 2015-04-23 Pedro Alves <palves@redhat.com>
11213
11214 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
11215
11216 2015-04-23 Pedro Alves <palves@redhat.com>
11217
11218 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
11219 on $any_spawn_id instead of only on $gdb_spawn_id.
11220
11221 2015-04-21 Pierre Muller <muller@sourceware.org>
11222
11223 PR pascal/17815
11224 * lib/pascal.exp (gpc_compile): Add new option "class".
11225 (fpc_compile): Likewise.
11226 * gdb.pascal/case-insensitive-symbols.pas: New file.
11227 * gdb.pascal/case-insensitive-symbols.exp: New file.
11228
11229 2015-04-20 Gary Benson <gbenson@redhat.com>
11230
11231 * gdb.base/attach.exp: Fix three extended remote failures.
11232
11233 2015-04-17 Gary Benson <gbenson@redhat.com>
11234
11235 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
11236 the main executable over the remote protocol.
11237
11238 2015-04-16 Pedro Alves <palves@redhat.com>
11239
11240 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
11241 a new gdbserver if gdbserver_reconnect_p is set.
11242
11243 2015-04-16 Pedro Alves <palves@redhat.com>
11244
11245 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
11246 is set, don't exit gdbserver.
11247
11248 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
11249
11250 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
11251 appropriate .insn, such that an older assembler can be used.
11252 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
11253 the z/Architecture instruction set on 31-bit targets as well.
11254
11255 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
11256
11257 * gdb.go/handcall.exp: Remove all logic related to the first
11258 breakpoint and rely on go_runto_main instead.
11259 * gdb.go/strings.exp: Likewise.
11260 * gdb.go/unsafe.exp: Likewise.
11261 * gdb.go/hello.exp: Likewise. Also rename the remaining
11262 breakpoint marker to "breakpoint 1".
11263 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
11264 * gdb.go/strings.go: Likewise.
11265 * gdb.go/unsafe.go: Likewise.
11266 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
11267 "set breakpoint 2 here" and rename the remaining breakpoint marker
11268 to "breakpoint 1".
11269
11270 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
11271
11272 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
11273 if itertools.imap is not present.
11274 * gdb.python/py-objfile.exp: Add parentheses.
11275 * gdb.python/py-type.exp: Same.
11276 * gdb.python/py-unwind-maint.py: Same.
11277
11278 2015-04-15 Yao Qi <yao.qi@linaro.org>
11279
11280 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
11281 of ":$ptr_size" and set its form explicitly.
11282
11283 2015-04-15 Pedro Alves <palves@redhat.com>
11284 Yao Qi <yao.qi@linaro.org>
11285
11286 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
11287 timeout by factor of 4.
11288 (test_regular_watch): Likewise.
11289 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
11290 * gdb.reverse/sigall-reverse.exp: Likewise.
11291 * gdb.reverse/until-precsave.exp: Likewise.
11292 * lib/gdb.exp (with_timeout_factor): New proc.
11293 (gdb_expect): Move some code to ...
11294 (get_largest_timeout): ... here. New procedure.
11295
11296 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
11297
11298 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
11299
11300 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
11301
11302 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
11303 to write to the .text section.
11304
11305 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
11306
11307 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
11308 Handle the case of targets that do not provide PID information.
11309
11310 2015-04-13 Yao Qi <yao.qi@linaro.org>
11311
11312 * lib/gdbserver-support.exp (gdb_exit): Catch exception
11313 and use expect instead of gdb_expect.
11314
11315 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
11316
11317 * gdb.base/coredump-filter.exp: Rename variable "addr" to
11318 "coredump_var_addr" to avoid naming conflict with other testcases.
11319
11320 2015-04-10 Pedro Alves <palves@redhat.com>
11321
11322 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
11323 gdb_test_sequence and gdb_assert.
11324
11325 2015-04-10 Pedro Alves <palves@redhat.com>
11326
11327 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
11328 test messages that don't include the breakpoint address.
11329
11330 2015-04-10 Yao Qi <yao.qi@linaro.org>
11331
11332 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
11333 false for some offset and width combinations which aren't
11334 supported by linux kernel.
11335
11336 2015-04-10 Pedro Alves <palves@redhat.com>
11337
11338 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
11339 procedure, factored out from ...
11340 (top level): ... here. Add "set displaced-stepping" testing axis.
11341 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
11342 parameter "displaced". Use it.
11343 (top level): Use foreach and add "set displaced-stepping" testing
11344 axis.
11345
11346 2015-04-10 Pedro Alves <palves@redhat.com>
11347
11348 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
11349 Remove comment.
11350 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
11351 both the address of the instruction that triggers the watchpoint
11352 and the address of the instruction immediately after, and use
11353 those addresses for the test. Fix comment.
11354
11355 2015-04-10 Pedro Alves <palves@redhat.com>
11356
11357 * gdb.base/sigstep.exp (breakpoint_to_handler)
11358 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
11359 Test "backtrace" in handler.
11360 (breakpoint_over_handler): New parameter 'displaced'. Use it.
11361 (top level): Add new "displaced" test axis to
11362 breakpoint_to_handler, breakpoint_to_handler_entry and
11363 breakpoint_over_handler.
11364
11365 2015-04-10 Pedro Alves <palves@redhat.com>
11366
11367 PR gdb/18216
11368 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
11369
11370 2015-04-10 Yao Qi <yao.qi@linaro.org>
11371
11372 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
11373 (test_add_rn_pc): New function.
11374 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
11375 (top level): Invoke test_add_rn_pc.
11376
11377 2015-04-10 Pedro Alves <palves@redhat.com>
11378
11379 PR gdb/13858
11380 * gdb.base/step-over-no-symbols.exp: New file.
11381
11382 2015-04-09 Andy Wingo <wingo@igalia.com>
11383
11384 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
11385 after the Python tests.
11386
11387 2015-04-08 Keith Seitz <keiths@redhat.com>
11388
11389 PR python/16699
11390 * gdb.python/py-completion.exp: New tests for completion.
11391 * gdb.python/py-completion.py (CompleteLimit1): New class.
11392 (CompleteLimit2): Likewise.
11393 (CompleteLimit3): Likewise.
11394 (CompleteLimit4): Likewise.
11395 (CompleteLimit5): Likewise.
11396 (CompleteLimit6): Likewise.
11397 (CompleteLimit7): Likewise.
11398
11399 2015-04-08 Pedro Alves <palves@redhat.com>
11400
11401 PR gdb/18214
11402 PR gdb/18216
11403 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
11404 function.
11405 (main): Install it as SIGUSR1 handler.
11406 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
11407 parameter. Always use "setup" as prefix. Toggle "set
11408 displaced-stepping" off/on depending on global. Don't switch to
11409 thread 1 here.
11410 (top level): Add displaced stepping "off/on" test axis. Update
11411 "setup" calls. Wrap each subtest with with_test_prefix. Test
11412 continuing with a queued signal in each thread.
11413
11414 2015-04-08 Pedro Alves <palves@redhat.com>
11415
11416 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
11417 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
11418 gdb_breakpoint instead of gdb_test that doesn't expect anything.
11419 Return early if running to main fails.
11420 * gdb.trace/while-stepping.exp: Likewise.
11421
11422 2015-04-07 Pedro Alves <palves@redhat.com>
11423
11424 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
11425 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
11426 interact with inferior program.
11427
11428 2015-04-07 Pedro Alves <palves@redhat.com>
11429
11430 * lib/gdb.exp (inferior_spawn_id): New global.
11431 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
11432 spawn id after processing the user code.
11433 (default_gdb_start): Set inferior_spawn_id.
11434 (send_inferior): New procedure.
11435 * lib/gdbserver-support.exp (gdbserver_start): Set
11436 inferior_spawn_id.
11437 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
11438
11439 2015-04-07 Pedro Alves <palves@redhat.com>
11440
11441 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
11442 * lib/gdbserver-support.exp (gdbserver_start): Make
11443 $server_spawn_id global.
11444 (gdbserver_start): Don't wait for gdbserver's spawn id with
11445 expect_background.
11446 (close_gdbserver): New procedure.
11447 (gdb_exit): Rename the default version and reimplement.
11448
11449 2015-04-07 Pedro Alves <palves@redhat.com>
11450
11451 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
11452 append the substituted item, not the original item.
11453
11454 2015-04-07 Pedro Alves <palves@redhat.com>
11455
11456 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
11457 gdb_expect.
11458
11459 2015-04-07 Pedro Alves <palves@redhat.com>
11460
11461 * gdb.base/interrupt.exp: Don't handle the case of the inferior
11462 output appearing once only.
11463
11464 2015-04-07 Pedro Alves <palves@redhat.com>
11465
11466 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
11467 that doesn't expect anything. Return early if running to main
11468 fails.
11469
11470 2015-04-07 Yao Qi <yao.qi@linaro.org>
11471
11472 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
11473 (child_function): Call alarm.
11474 (main): Move call to alarm into the loop.
11475 * gdb.threads/non-stop-fair-events.exp: Build program with
11476 -DTIMEOUT=$timeout.
11477
11478 2015-04-06 Doug Evans <xdje42@gmail.com>
11479
11480 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
11481 Fix dest parameter to board_info.
11482 (fpc_compile): Ditto.
11483 (gdb_compile_pascal): Rename dest arg to destfile.
11484
11485 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
11486
11487 * gdb.ada/funcall_ref.exp: New file.
11488 * gdb.ada/funcall_ref/foo.adb: New file.
11489
11490 2015-04-02 Yao Qi <yao.qi@linaro.org>
11491
11492 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
11493 is remote.
11494
11495 2015-04-02 Gary Benson <gbenson@redhat.com>
11496
11497 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
11498
11499 2015-04-01 Sasha Smundak <asmundak@google.com>
11500
11501 * gdb.python/py-unwind-maint.c: New file.
11502 * gdb.python/py-unwind-maint.exp: New test.
11503 * gdb.python/py-unwind-maint.py: New file.
11504 * gdb.python/py-unwind.c: New file.
11505 * gdb.python/py-unwind.exp: New test.
11506 * gdb.python/py-unwind.py: New test.
11507
11508 2015-04-01 Pedro Alves <palves@redhat.com>
11509
11510 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
11511 to fail instead of non-existent $test.
11512
11513 2015-04-01 Pedro Alves <palves@redhat.com>
11514
11515 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
11516 GDBFLAGS if not empty.
11517
11518 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
11519
11520 * gdb.ada/complete.exp: Remove "multi_line".
11521 * gdb.ada/info_exc.exp: Remove "multi_line".
11522 * gdb.ada/packed_tagged.exp: Remove "multi_line".
11523 * gdb.ada/ptype_field.exp: Remove "multi_line".
11524 * gdb.ada/sym_print_name.exp: Remove "multi_line".
11525 * gdb.ada/tagged.exp: Remove "multi_line".
11526 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
11527 [multi_line ...]
11528 * gdb.btrace/delta.exp: Likewise.
11529 * gdb.btrace/exception.exp: Likewise.
11530 * gdb.btrace/function_call_history.exp: Likewise.
11531 * gdb.btrace/instruction_history.exp: Likewise.
11532 * gdb.btrace/nohist.exp: Likewise.
11533 * gdb.btrace/record_goto.exp: Likewise.
11534 * gdb.btrace/segv.exp: Likewise.
11535 * gdb.btrace/stepi.exp: Likewise.
11536 * gdb.btrace/tailcall.exp: Likewise.
11537 * gdb.btrace/unknown_functions.exp: Likewise.
11538 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
11539 * lib/gdb.exp: Add the "multi_line" helper.
11540
11541 2015-04-01 Pedro Alves <palves@redhat.com>
11542
11543 * gdb.threads/tid-reuse.c: New file.
11544 * gdb.threads/tid-reuse.exp: New file.
11545
11546 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
11547
11548 PR corefiles/16092
11549 * gdb.base/coredump-filter.c: New file.
11550 * gdb.base/coredump-filter.exp: Likewise.
11551
11552 2015-03-27 Petr Machata <pmachata@redhat.com>
11553
11554 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
11555 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
11556 (Dwarf::assemble): Initialize them.
11557 (Dwarf::lines): New function.
11558
11559 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
11560
11561 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
11562 SYMBOL_PREFIX for x86_64-*-cygwin.
11563
11564 2015-03-26 Andy Wingo <wingo@igalia.com>
11565
11566 PR symtab/18148
11567 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
11568 const_value but not a location.
11569 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
11570 location defined in non-main CUs are visible.
11571
11572 2015-03-26 Yao Qi <yao.qi@linaro.org>
11573
11574 PR testsuite/18139
11575 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
11576 Add a line number entry for the same line.
11577 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
11578 Add a line number entry for the same line.
11579
11580 2015-03-26 Yao Qi <yao.qi@linaro.org>
11581
11582 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
11583 .int 0.
11584 (func): Likewise. Add .Lfunc_1 label.
11585 Use .Lfunc_1 label.
11586 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
11587 .int 0.
11588 (func): Likewise.
11589 Use .Lfunc_1 label.
11590
11591 2015-03-26 Yao Qi <yao.qi@linaro.org>
11592
11593 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
11594 Call gdb_compile instead to compile each .s files without debug
11595 information.
11596
11597 2015-03-26 Yao Qi <yao.qi@linaro.org>
11598
11599 * gdb.base/savedregs.exp (process_saved_regs): Make
11600 "Saved registers:" optional in the pattern.
11601
11602 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
11603
11604 * gdb.btrace/next.exp: Merged into step.exp.
11605 * gdb.btrace/finish.exp: Merged into step.exp.
11606 * gdb.btrace/nexti.exp: Merged into stepi.exp.
11607 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
11608 "record goto" and checking the exact replay position.
11609 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
11610 check for "Recording format" in "info record" output.
11611 * gdb.btrace/record_goto.exp: Choose test file based on target.
11612 * gdb.btrace/x86-record_goto.S: Renamed into ...
11613 * gdb.btrace/x86_64-record_goto.S: ... this.
11614 * gdb.btrace/i686-record_goto.S: New.
11615 * gdb.btrace/x86-tailcall.S: Renamed into ...
11616 * gdb.btrace/x86_64-tailcall.S: ... this.
11617 * gdb.btrace/i686-tailcall.S: New.
11618 * gdb.btrace/x86-tailcall.c: Renamed into ...
11619 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
11620 separate statements. Update test.
11621 * gdb.btrace/delta.exp: Use record_goto.c as test file.
11622 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
11623 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
11624 * gdb.btrace/tailcall.exp: Choose test file based on target.
11625 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
11626
11627 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
11628
11629 * gdb.btrace/exception.exp: Increase BTS buffer size.
11630
11631 2015-03-24 Pedro Alves <palves@redhat.com>
11632
11633 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
11634
11635 2015-03-24 Pedro Alves <palves@redhat.com>
11636
11637 * gdb.threads/schedlock.exp (test_step): No longer expect that
11638 "set scheduler-locking step" with "next" over a function call runs
11639 threads unlocked.
11640
11641 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
11642
11643 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
11644
11645 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
11646
11647 PR breakpoints/16466
11648 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
11649 * gdb.mi/mi-pending.c (thread_func): New function.
11650 (int main): Add threading support required.
11651 * gdb.mi/mi-pending.exp: Add tests for this issue.
11652 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
11653 (pendfunc2): Remove stdio dependency.
11654 * gdb.mi/mi-pendshr2.c: New file.
11655
11656 2015-03-23 Keith Seitz <keiths@redhat.com>
11657
11658 * gdb.linespec/keywords.c: New file.
11659 * gdb.linespec/keywords.exp: New file.
11660
11661 2015-03-23 Keith Seitz <keiths@redhat.com>
11662
11663 PR gdb/18021
11664 * gdb.dwarf2/staticvirtual.exp: New test.
11665
11666 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11667
11668 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
11669 * README: Remove HP-UX and gdb.hp.
11670 (configuration):
11671 * configure: Regenerate.
11672 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
11673 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
11674 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
11675 gdb.hp/gdb.defects/Makefile.
11676 * gdb.hp/Makefile.in: File deleted.
11677 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
11678 * gdb.hp/gdb.aCC/optimize.c: File deleted.
11679 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
11680 * gdb.hp/gdb.aCC/run.c: File deleted.
11681 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
11682 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
11683 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
11684 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
11685 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
11686 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
11687 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
11688 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
11689 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
11690 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
11691 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
11692 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
11693 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
11694 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
11695 * gdb.hp/gdb.base-hp/reg.s: File deleted.
11696 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
11697 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
11698 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
11699 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
11700 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
11701 * gdb.hp/gdb.compat/Makefile.in: File deleted.
11702 * gdb.hp/gdb.compat/average.c: File deleted.
11703 * gdb.hp/gdb.compat/sum.c: File deleted.
11704 * gdb.hp/gdb.compat/xdb.c: File deleted.
11705 * gdb.hp/gdb.compat/xdb0.c: File deleted.
11706 * gdb.hp/gdb.compat/xdb0.h: File deleted.
11707 * gdb.hp/gdb.compat/xdb1.c: File deleted.
11708 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
11709 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
11710 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
11711 * gdb.hp/gdb.defects/Makefile.in: File deleted.
11712 * gdb.hp/gdb.defects/bs14602.c: File deleted.
11713 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
11714 * gdb.hp/gdb.defects/solib-d.c: File deleted.
11715 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
11716 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
11717 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
11718 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
11719 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
11720 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
11721 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
11722 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
11723 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
11724 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
11725 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
11726 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
11727 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
11728 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
11729 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
11730 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
11731 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
11732 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
11733 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
11734 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
11735 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
11736 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
11737 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
11738 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
11739 * gdb.hp/tools/odump: File deleted.
11740
11741 2015-03-19 Pedro Alves <palves@redhat.com>
11742
11743 * gdb.threads/continue-pending-status.exp (saw_thread_2)
11744 (saw_thread_3): New globals.
11745 (top level): Increment them when an event for the corresponding
11746 thread is seen.
11747 (no thread starvation): New test.
11748
11749 2015-03-19 Pedro Alves <palves@redhat.com>
11750
11751 * gdb.threads/continue-pending-status.c: New file.
11752 * gdb.threads/continue-pending-status.exp: New file.
11753
11754 2015-03-18 Pedro Alves <palves@redhat.com>
11755
11756 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
11757 Use gdb_is_target_remote instead of is_remote. Use
11758 gdb_test_multiple instead of gdb_expect. Exit early if
11759 gdb_test_multiple hits its internal matches. Tighten stepi tests
11760 expected output. Fail on exit with any signal, instead of just
11761 SIGILL.
11762
11763 2015-03-18 Yao Qi <yao.qi@linaro.org>
11764
11765 PR tdep/18107
11766 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
11767 variable.
11768 * gdb.base/catch-syscall.exp: Don't skip it on
11769 aarch64*-*-linux* target. Remove elements in all_syscalls.
11770 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
11771 target.
11772 (setup_all_syscalls): New proc.
11773
11774 2015-03-16 Yao Qi <yao.qi@linaro.org>
11775
11776 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
11777 (top level): Skip tests if valid_addr_p returns false for
11778 $cmd1 or $cmd2.
11779
11780 2015-03-11 Andy Wingo <wingo@igalia.com>
11781
11782 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
11783
11784 2015-03-11 Yao Qi <yao.qi@linaro.org>
11785
11786 * gdb.base/catch-syscall.exp: Fix typo in comments.
11787
11788 2015-03-11 Yao Qi <yao.qi@linaro.org>
11789
11790 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
11791
11792 2015-03-09 Pedro Alves <palves@redhat.com>
11793
11794 * dg-extract-results.py: Delete.
11795
11796 2015-03-09 Pedro Alves <palves@redhat.com>
11797
11798 Merge dg-extract-results.sh from GCC upstream (r218843).
11799
11800 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
11801 * dg-extract-results.sh: Use --text with grep to avoid issues with
11802 binary files. Fall back to cat -v, if that doesn't work.
11803
11804 2015-03-05 Pedro Alves <palves@redhat.com>
11805
11806 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
11807
11808 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
11809
11810 * lib/mi-support.exp (mi_expect_interrupt): Accept
11811 alternative event for when in all-stop mode.
11812
11813 2015-03-04 Pedro Alves <palves@redhat.com>
11814
11815 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
11816
11817 2015-03-04 Mark Kettenis <kettenis@gnu.org>
11818
11819 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
11820
11821 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
11822
11823 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
11824 regexps for GDB's current line display, accept a hex address
11825 preceding the line number.
11826
11827 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
11828
11829 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
11830 the 'arch1' variable for "s390*-linux*" targets.
11831
11832 2015-03-04 Pedro Alves <palves@redhat.com>
11833
11834 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
11835 (main): Pass missing retval argument to pthread_join call.
11836
11837 2015-03-02 Pedro Alves <palves@redhat.com>
11838
11839 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
11840 (top level): Call do_test with non-stop as well.
11841
11842 2015-03-02 Pedro Alves <palves@redhat.com>
11843
11844 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
11845 -1.
11846
11847 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
11848
11849 * gdb.arch/s390-vregs.exp: New test.
11850 * gdb.arch/s390-vregs.S: New file.
11851
11852 2015-02-27 Pedro Alves <palves@redhat.com>
11853
11854 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
11855 call to catch_command_errors.
11856 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
11857 catch_command_errors.
11858
11859 2015-02-27 Pedro Alves <palves@redhat.com>
11860
11861 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
11862 "true" for boolean result.
11863 * gdb.gdb/selftest.exp (test_with_self): Also accept full
11864 prototype of main.
11865
11866 2015-02-27 Pedro Alves <palves@redhat.com>
11867
11868 * lib/unbuffer_output.c: New file.
11869 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
11870 (main): Call gdb_unbuffer_output.
11871
11872 2015-02-27 Yao Qi <yao.qi@linaro.org>
11873
11874 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
11875 target.
11876
11877 2015-02-26 Doug Evans <dje@google.com>
11878
11879 * gdb.cp/class2.cc (Dbase, D): New classes.
11880 (main): New local delta.
11881 * gdb.cp/class2.exp: Test printing delta.
11882 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
11883 (dynbar): New global.
11884 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
11885
11886 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
11887
11888 * gdb.compile/compile-ifunc.c: New file.
11889 * gdb.compile/compile-ifunc.exp: New file.
11890
11891 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
11892
11893 * gdb.base/structs.exp: Check for correct struct on finish.
11894
11895 2015-02-26 Yao Qi <yao.qi@linaro.org>
11896
11897 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
11898 is zero.
11899
11900 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
11901
11902 * gdb.arch/cordic.ko.bz2: New file.
11903 * gdb.arch/cordic.ko.debug.bz2: New file.
11904 * gdb.arch/ppc64-symtab-cordic.exp: New file.
11905
11906 2015-02-25 Yao Qi <yao.qi@linaro.org>
11907
11908 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
11909 aarch64*-*-* target.
11910
11911 2015-02-23 Pedro Alves <palves@redhat.com>
11912
11913 * lib/gdb.exp (delete_breakpoints): Rewrite using
11914 gdb_test_multiple.
11915
11916 2015-02-23 Pedro Alves <palves@redhat.com>
11917
11918 * gdb.base/info-os.c: Include stdlib.h.
11919
11920 2015-02-22 Doug Evans <xdje42@gmail.com>
11921
11922 PR symtab/17855
11923 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
11924 is read after symbols have been re-read.
11925 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
11926 * gdb.ada/exec_changed/second.adb (Second): Ditto.
11927
11928 2015-02-21 Doug Evans <dje@google.com>
11929
11930 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
11931
11932 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
11933
11934 PR corefiles/17808
11935 * gdb.arch/i386-biarch-core.core.bz2: New file.
11936 * gdb.arch/i386-biarch-core.exp: New file.
11937
11938 2015-02-21 Pedro Alves <palves@redhat.com>
11939
11940 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
11941 runto_main fails.
11942
11943 2015-02-20 Pedro Alves <palves@redhat.com>
11944
11945 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
11946 info probes.
11947
11948 2015-02-20 Pedro Alves <palves@redhat.com>
11949
11950 * gdb.threads/multi-create-ns-info-thr.exp: New file.
11951
11952 2015-02-20 Pedro Alves <palves@redhat.com>
11953
11954 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
11955 clean_restart before gdb_target_supports_trace.
11956
11957 2015-02-20 Pedro Alves <palves@redhat.com>
11958
11959 PR threads/18006
11960 * gdb.threads/clone-thread_db.c: New file.
11961 * gdb.threads/clone-thread_db.exp: New file.
11962
11963 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
11964
11965 PR breakpoints/16812
11966 * gdb.base/catch-gdb-caused-signals.c: New file.
11967 * gdb.base/catch-gdb-caused-signals.exp: New file.
11968
11969 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
11970
11971 * configure: Regenerated.
11972 * configure.ac: Use GDB_AC_TRANSFORM.
11973 * aclocal.m4: sinclude ../transform.m4.
11974
11975 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
11976
11977 * lib/dtrace.exp: New file.
11978 * gdb.base/dtrace-probe.exp: Likewise.
11979 * gdb.base/dtrace-probe.d: Likewise.
11980 * gdb.base/dtrace-probe.c: Likewise.
11981 * lib/pdtrace.in: Likewise.
11982 * configure.ac: Output variables with the transformed names of
11983 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
11984 * configure: Regenerated.
11985
11986 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
11987
11988 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
11989 expected message when trying to access $_probe_* convenience
11990 variables while not on a probe.
11991
11992 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11993
11994 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
11995
11996 2015-02-11 Pedro Alves <pedro@codesourcery.com>
11997
11998 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
11999 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
12000
12001 2015-02-10 Doug Evans <xdje42@gmail.com>
12002
12003 * lib/gdb.exp (gdb_load): Always return a result.
12004
12005 2015-02-10 Pedro Alves <palves@redhat.com>
12006
12007 * gdb.threads/signal-sigtrap.c: New file.
12008 * gdb.threads/signal-sigtrap.exp: New file.
12009
12010 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
12011
12012 * gdb.trace/no-attach-trace.c: New file.
12013 * gdb.trace/no-attach-trace.exp: New file.
12014
12015 2015-02-09 Mark Wielaard <mjw@redhat.com>
12016
12017 * gdb.dwarf2/atomic.c: New file.
12018 * gdb.dwarf2/atomic-type.exp: Likewise.
12019
12020 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
12021
12022 * gdb.btrace/buffer-size.exp: Update "info record" output.
12023 * gdb.btrace/delta.exp: Update "info record" output.
12024 * gdb.btrace/enable.exp: Update "info record" output.
12025 * gdb.btrace/finish.exp: Update "info record" output.
12026 * gdb.btrace/instruction_history.exp: Update "info record" output.
12027 * gdb.btrace/next.exp: Update "info record" output.
12028 * gdb.btrace/nexti.exp: Update "info record" output.
12029 * gdb.btrace/step.exp: Update "info record" output.
12030 * gdb.btrace/stepi.exp: Update "info record" output.
12031 * gdb.btrace/nohist.exp: Update "info record" output.
12032
12033 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
12034
12035 * gdb.btrace/buffer-size: New.
12036
12037 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
12038
12039 * gdb.btrace/delta.exp: Update "info record" output.
12040 * gdb.btrace/enable.exp: Update "info record" output.
12041 * gdb.btrace/finish.exp: Update "info record" output.
12042 * gdb.btrace/instruction_history.exp: Update "info record" output.
12043 * gdb.btrace/next.exp: Update "info record" output.
12044 * gdb.btrace/nexti.exp: Update "info record" output.
12045 * gdb.btrace/step.exp: Update "info record" output.
12046 * gdb.btrace/stepi.exp: Update "info record" output.
12047 * gdb.btrace/nohist.exp: Update "info record" output.
12048
12049 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
12050
12051 PR gdb/15678
12052 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
12053
12054 2015-02-06 Pedro Alves <palves@redhat.com>
12055
12056 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
12057 macro.
12058 (seconds_left, again): New globals.
12059 (main): Wait seconds_left in a 1-second sleep loop instead of
12060 sleeping 180 seconds. If 'again' is set, reset the seconds
12061 counter.
12062 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
12063 'again' in the inferior before detaching. Print the seconds left.
12064 (options): New global.
12065 (top level): Build program with -DTIMEOUT=$timeout.
12066
12067 2015-02-06 Pedro Alves <palves@redhat.com>
12068
12069 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
12070 determine how many seconds to pass to 'alarm'.
12071 * gdb.base/gdb-sigterm.exp (top level): Build program with
12072 -DTIMEOUT=$timeout.
12073 (do_test): Return success/failure indication. Add more verbose
12074 logging. Don't fail if 200 single steps are seen. Instead, fail
12075 when the test times out.
12076 (passes): New global.
12077 (top level): Break the testing loop if testing fails on any
12078 iteration. Use gdb_assert.
12079
12080 2015-02-04 Don Breazeal <donb@codesourcery.com>
12081
12082 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
12083 and initialize them.
12084 (ipc_cleanup): New function.
12085 (main): Don't declare shmid, semid, and msqid. Add a call to
12086 atexit so that we call ipc_cleanup on exit.
12087
12088 2015-02-04 Pedro Alves <palves@redhat.com>
12089
12090 * boards/native-extended-gdbserver.exp: Remove any target variant
12091 specifications from the board name before clearing the isremote
12092 flag from board_info.
12093
12094 2015-01-31 Doug Evans <xdje42@gmail.com>
12095
12096 * gdb.base/maint.exp <maint print type argc>: Update expected output.
12097
12098 2015-01-31 Gary Benson <gbenson@redhat.com>
12099
12100 * gdb.base/completion.exp: Disable completion limiting for
12101 existing tests. Add new tests to check completion limiting.
12102 * gdb.linespec/ls-errs.exp: Disable completion limiting.
12103
12104 2015-01-31 Doug Evans <xdje42@gmail.com>
12105
12106 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
12107
12108 2015-01-31 Doug Evans <xdje42@gmail.com>
12109
12110 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
12111 entries. Duplicate file section script entries.
12112 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
12113 inlined entries. Add test for safe-path rejection.
12114 * gdb.python/py-section-script.c: Add duplicate inlined section script
12115 entries. Duplicate file section script entries.
12116 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
12117 inlined entries. Add test for safe-path rejection.
12118
12119 2015-01-29 Joel Brobecker <brobecker@adacore.com>
12120
12121 * gdb.ada/disc_arr_bound: New testcase.
12122
12123 2015-01-29 Joel Brobecker <brobecker@adacore.com>
12124
12125 * gdb.ada/mi_var_array: New testcase.
12126
12127 2015-01-27 Doug Evans <dje@google.com>
12128
12129 * gdb.python/py-objfile.exp: Add tests for objfile.username.
12130 Add test for objfile.filename, objfile.username after objfile
12131 has been unloaded.
12132
12133 2015-01-26 Joel Brobecker <brobecker@adacore.com>
12134
12135 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
12136 the second test to print the name attribute of value
12137 returned by the call to gdb.lookup_type, and adjust
12138 the expected output accordingly.
12139
12140 2015-01-25 Mark Wielaard <mjw@redhat.com>
12141
12142 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
12143 * gdb.base/disp-step-fork.c: Include unistd.h.
12144 * gdb.base/siginfo-obj.c: Include stdio.h.
12145 * gdb.base/siginfo-thread.c: Likewise.
12146 * gdb.mi/non-stop.c: Include unistd.h.
12147 * gdb.mi/nsthrexec.c: Include stdio.h.
12148 * gdb.mi/pthreads.c: Include unistd.h.
12149 * gdb.modula2/unbounded1.c (main): Declare returns int.
12150 * gdb.reverse/consecutive-reverse.c: Likewise.
12151 * gdb.threads/create-fail.c: Include unistd.h.
12152 * gdb.threads/killed.c: Likewise.
12153 * gdb.threads/linux-dp.c: Likewise.
12154 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
12155 * gdb.threads/non-ldr-exc-2.c: Likewise.
12156 * gdb.threads/non-ldr-exc-3.c: Likewise.
12157 * gdb.threads/non-ldr-exc-4.c: Likewise.
12158 * gdb.threads/pthreads.c: Include unistd.h.
12159 (main): Declare returns int.
12160 * gdb.threads/tls-main.c (foo): New declaration.
12161 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
12162
12163 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
12164
12165 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
12166 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
12167
12168 2015-01-15 Mark Wielaard <mjw@redhat.com>
12169
12170 * gdb.base/noreturn-return.c: New file.
12171 * gdb.base/noreturn-return.exp: New file.
12172 * gdb.base/noreturn-finish.c: New file.
12173 * gdb.base/noreturn-finish.exp: New file.
12174
12175 2015-01-23 Pedro Alves <palves@redhat.com>
12176
12177 * gdb.threads/continue-pending-after-query.c: New file.
12178 * gdb.threads/continue-pending-after-query.exp: New file.
12179
12180 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
12181 Simon Marchi <simon.marchi@ericsson.com>
12182
12183 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
12184 * gdb.base/valgrind-db-attach.exp: Same.
12185 * gdb.base/valgrind-infcall.exp: Same.
12186 * lib/mi-support.exp (default_mi_gdb_start): Same.
12187 * lib/prompt.exp (default_prompt_gdb_start): Same.
12188 * lib/gdb.exp (default_gdb_spawn): Same.
12189 (gdb_interact): New.
12190
12191
12192 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12193
12194 * gdb.compile/compile.exp (pointer to jit function): New test.
12195
12196 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
12197
12198 * lib/gdb.exp (supports_process_record): Return true for
12199 powerpc*-*-linux*.
12200 (supports_reverse): Likewise.
12201
12202 2015-01-15 Don Breazeal <donb@codesourcery.com>
12203
12204 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
12205 instead of checking whether the target board is remote and
12206 use spawn_wait_for_attach instead of exec/sleep.
12207 * gdb.base/attach-twice.exp: Likewise.
12208
12209 2015-01-15 Joel Brobecker <brobecker@adacore.com>
12210
12211 * gdb.ada/var_arr_attrs: New testcase.
12212
12213 2015-01-14 Pedro Alves <palves@redhat.com>
12214 Joel Brobecker <brobecker@adacore.com>
12215
12216 PR gdb/17525
12217 * gdb.base/bp-cmds-execution-x-script.c: New file.
12218 * gdb.base/bp-cmds-execution-x-script.exp: New file.
12219 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
12220
12221 2015-01-14 Pedro Alves <palves@redhat.com>
12222
12223 PR cli/17828
12224 * gdb.base/batch-preserve-term-settings.c: New file.
12225 * gdb.base/batch-preserve-term-settings.exp: New file.
12226
12227 2015-01-13 Doug Evans <dje@google.com>
12228
12229 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
12230 binary.
12231
12232 2015-01-13 Joel Brobecker <brobecker@adacore.com>
12233
12234 * Makefile.in (clean mostlyclean): Do not delete *.py.
12235
12236 2015-01-13 Joel Brobecker <brobecker@adacore.com>
12237
12238 * gdb.python/py-lookup-type.exp: New file.
12239
12240 2015-01-12 Pedro Alves <palves@redhat.com>
12241
12242 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
12243 restore GDBFLAGS before returning.
12244
12245 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
12246
12247 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
12248 is_amd64_regs_target and is_x86_like_target.
12249
12250 2015-01-11 Doug Evans <xdje42@gmail.com>
12251
12252 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
12253 is given without an explicit form.
12254 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
12255 attributes.
12256 * gdb.dwarf/corrupt.exp: Ditto.
12257 * gdb.dwarf2/enum-type.exp: Ditto.
12258 * gdb.trace/entry-values.exp: Ditto.
12259 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
12260
12261 2015-01-11 Doug Evans <xdje42@gmail.com>
12262
12263 PR gdb/15830
12264 * gdb.base/maint.exp: Remove references to "maint demangle".
12265 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
12266 Add tests for explicitly specifying language to demangle.
12267 * gdb.dlang/demangle.exp: Ditto.
12268
12269 2015-01-09 Pedro Alves <palves@redhat.com>
12270
12271 * gdb.threads/non-stop-fair-events.c: New file.
12272 * gdb.threads/non-stop-fair-events.exp: New file.
12273
12274 2015-01-09 Pedro Alves <palves@redhat.com>
12275
12276 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
12277 the global scope. Set a breakpoint after all threads are started
12278 rather than stepping over two source lines. Expect the prompt.
12279 * gdb.base/watch_thread_num.c (threads_started_barrier): New
12280 global.
12281 (NUM): Now 15.
12282 (main): Use threads_started_barrier to wait for all threads to
12283 start. Main thread no longer calls thread_function. Exit after
12284 180 seconds.
12285 (loop): New function.
12286 (thread_function): Wait on threads_started_barrier barrier. Call
12287 'loop' at each iteration.
12288 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
12289 threads have started, instead of hardcoding number of "next"
12290 steps. Use an access watchpoint instead of a write watchpoint.
12291
12292 2015-01-09 Pedro Alves <palves@redhat.com>
12293
12294 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
12295 (thread_func): Wait on barrier.
12296 (main): Wait for all threads to start before stopping GDB.
12297 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
12298 global.
12299 (thread1_func, thread2_func): Wait on barrier.
12300 (main): Wait for all threads to start before stopping GDB.
12301 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
12302 New global.
12303 (thread1_func, thread2_func): Wait on barrier.
12304 (main): Wait for all threads to start before stopping GDB.
12305
12306 2015-01-09 Pedro Alves <palves@redhat.com>
12307
12308 * gdb.threads/attach-many-short-lived-threads.c: New file.
12309 * gdb.threads/attach-many-short-lived-threads.exp: New file.
12310
12311 2014-01-09 Pedro Alves <palves@redhat.com>
12312
12313 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
12314 instead of to thread 2.
12315 * gdb.threads/signal-command-multiple-signals-pending.c (main):
12316 Add barrier around each pthread_create call instead of around all
12317 calls.
12318 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
12319 Set a break on thread_function and have the child threads hit it
12320 one at at a time.
12321
12322 2015-01-09 Pedro Alves <palves@redhat.com>
12323
12324 * lib/gdb.exp (can_spawn_for_attach): New procedure.
12325 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
12326 false.
12327 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
12328 checking whether the target board is remote.
12329 * gdb.multi/multi-attach.exp: Likewise.
12330 * gdb.python/py-sync-interp.exp: Likewise.
12331 * gdb.server/ext-attach.exp: Likewise.
12332 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
12333 tests that need to attach, instead of checking whether the target
12334 board is remote at the top of the file.
12335
12336 2015-01-08 Yao Qi <yao@codesourcery.com>
12337
12338 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
12339
12340 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
12341
12342 Fix testcase compilation.
12343 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
12344
12345 2015-01-06 Joel Brobecker <brobecker@adacore.com>
12346
12347 * gdb.python/py-type.exp: Add a couple test about empty
12348 array creation, and negative-length array creation.
12349
12350 2015-01-02 Doug Evans <xdje42@gmail.com>
12351
12352 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
12353
12354 2015-01-02 Doug Evans <dje@google.com>
12355
12356 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
12357
12358 2014-12-29 Yao Qi <yao@codesourcery.com>
12359
12360 * gdb.trace/entry-values.exp: Update comments. Rename variable
12361 bar_call_foo to returned_from_foo.
12362
12363 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
12364
12365 PR gdb/17394
12366 * gdb.linespec/break-asm-file.c: New file.
12367 * gdb.linespec/break-asm-file.exp: New file.
12368 * gdb.linespec/break-asm-file0.s: New file.
12369 * gdb.linespec/break-asm-file1.s: New file.
12370
12371 2014-12-18 Nigel Stephens <nigel@mips.com>
12372 Maciej W. Rozycki <macro@codesourcery.com>
12373
12374 * gdb.base/float.exp: Handle the new output from "info float" on
12375 MIPS targets.
12376
12377 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
12378
12379 Fix MinGW compilation.
12380 * gdb.compile/compile-ops.exp: Update untested message if
12381 !skip_compile_feature_tests.
12382 * gdb.compile/compile-setjmp.exp: Likewise.
12383 * gdb.compile/compile-tls.exp: Likewise.
12384 * gdb.compile/compile.exp: Likewise.
12385 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
12386 supported on this host".
12387
12388 2014-12-16 Doug Evans <xdje42@gmail.com>
12389
12390 * boards/stabs.exp: New file.
12391
12392 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
12393
12394 * gdb.base/completion.exp: Adjust to format changes of "maint
12395 print user-registers".
12396
12397 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
12398
12399 PR server/17457
12400 * gdb.arch/aarch64-fp.c: New file.
12401 * gdb.arch/aarch64-fp.exp: New file.
12402
12403 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
12404
12405 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
12406 r210637, r210913, r211666, r215400, r215817).
12407
12408 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
12409 * dg-extract-results.py: New file.
12410 * dg-extract-results.sh: Use it if the environment seems
12411 suitable.
12412
12413 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
12414
12415 * dg-extract-results.py (parse_run): Handle warnings that
12416 are printed before a test harness is run.
12417
12418 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
12419
12420 * dg-extract-results.py (Named): Remove __cmp__ method.
12421 (output_variation): Use a key to sort variation.harnesses.
12422
12423 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
12424
12425 * dg-extract-results.py: For Python 3, force sys.stdout to
12426 handle surrogate escape sequences.
12427 (safe_open): New function.
12428 (output_segment, main): Use it.
12429
12430 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
12431
12432 * dg-extract-results.py (Prog.result_re): Include options
12433 in test name.
12434
12435 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
12436
12437 * dg-extract-results.py (output_variation): Always sort if
12438 do_sum.
12439
12440 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
12441
12442 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
12443 as long as we get pagination notifications.
12444
12445 2014-12-15 Jason Merrill <jason@redhat.com>
12446
12447 * Makefile.in (check-gdb.%): Restore.
12448 * README: Mention it.
12449
12450 2014-12-13 Joel Brobecker <brobecker@adacore.com>
12451
12452 * gdb.ada/str_uninit: New testcase.
12453
12454 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12455
12456 PR symtab/17642
12457 * gdb.base/vla-stub-define.c: New file.
12458 * gdb.base/vla-stub.c: New file.
12459 * gdb.base/vla-stub.exp: New file.
12460
12461 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
12462 Jan Kratochvil <jan.kratochvil@redhat.com>
12463 Tom Tromey <tromey@redhat.com>
12464
12465 * configure.ac: Add gdb.compile/.
12466 * configure: Regenerate.
12467 * gdb.compile/Makefile.in: New file.
12468 * gdb.compile/compile-ops.exp: New file.
12469 * gdb.compile/compile-ops.c: New file.
12470 * gdb.compile/compile-tls.c: New file.
12471 * gdb.compile/compile-tls.exp: New file.
12472 * gdb.compile/compile-constvar.S: New file.
12473 * gdb.compile/compile-constvar.c: New file.
12474 * gdb.compile/compile-mod.c: New file.
12475 * gdb.compile/compile-nodebug.c: New file.
12476 * gdb.compile/compile-setjmp-mod.c: New file.
12477 * gdb.compile/compile-setjmp.c: New file.
12478 * gdb.compile/compile-setjmp.exp: New file.
12479 * gdb.compile/compile-shlib.c: New file.
12480 * gdb.compile/compile.c: New file.
12481 * gdb.compile/compile.exp: New file.
12482 * lib/gdb.exp (skip_compile_feature_tests): New proc.
12483
12484 2014-12-12 Tom Tromey <tromey@redhat.com>
12485
12486 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
12487 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
12488
12489 2014-12-12 Doug Evans <dje@google.com>
12490
12491 * lib/gdb-python.exp (get_python_valueof): New function.
12492 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
12493
12494 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
12495
12496 * gdb.base/completion.exp: Add test for completion of "info
12497 registers ".
12498
12499 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
12500
12501 * gdb.base/func-ptrs.c: New file.
12502 * gdb.base/func-ptrs.exp: New file.
12503
12504 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
12505
12506 PR breakpoints/17012
12507 * gdb.base/dprintf-detach.c: New file.
12508 * gdb.base/dprintf-detach.exp: New file.
12509
12510 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
12511
12512 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
12513 * lib/gdb.exp (target_is_gdbserver): New procedure.
12514
12515 2014-12-08 Doug Evans <dje@google.com>
12516
12517 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
12518
12519 2014-12-05 Yao Qi <yao@codesourcery.com>
12520
12521 * gdb.guile/scm-error.exp: Remove the third argument to
12522 gdb_remote_download.
12523 * gdb.guile/scm-frame-args.exp: Likewise.
12524 * gdb.guile/scm-section-script.exp: Likewise.
12525
12526 2014-12-05 Yao Qi <yao@codesourcery.com>
12527
12528 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
12529
12530 2014-12-04 Doug Evans <dje@google.com>
12531
12532 * gdb.python/py-objfile.exp: Add tests for
12533 objfile.add_separate_debug_file.
12534
12535 2014-12-04 Doug Evans <dje@google.com>
12536
12537 * lib/gdb.exp (get_build_id): New function.
12538 (build_id_debug_filename_get): Rewrite to use it.
12539 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
12540
12541 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
12542
12543 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
12544 `method(long)', not just 0x0.
12545 * gdb.cp/nsalias.exp: Align code labels to 4.
12546 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
12547 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
12548 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
12549 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
12550 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
12551 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
12552
12553 2014-12-02 Doug Evans <dje@google.com>
12554
12555 PR symtab/17602
12556 * gdb.cp/anon-ns.cc: Move guts of this file to ...
12557 * gdb.cp/anon-ns2.cc: ... here. New file.
12558 * gdb.cp/anon-ns.exp: Update.
12559
12560 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
12561
12562 * gdb.python/py-events.py (inferior_call_handler): New.
12563 (register_changed_handler, memory_changed_handler): New.
12564 (test_events.invoke): Register new handlers.
12565 * gdb.python/py-events.exp: Add tests for inferior call,
12566 memory_changed and register_changed events.
12567
12568 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
12569
12570 * gdb.base/execl-update-breakpoints.exp: Specify the link address
12571 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
12572 if the linker doesn't understand this.
12573
12574 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
12575
12576 * gdb.python/python.exp: Change expected reply to help().
12577
12578 2014-12-01 Yao Qi <yao@codesourcery.com>
12579
12580 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
12581 AC_CONFIG_SUBDIRS(gdb.gdbtk).
12582 * configure: Re-generated.
12583
12584 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
12585
12586 * gdb.cp/chained-calls.cc: New file.
12587 * gdb.cp/chained-calls.exp: New file.
12588 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
12589
12590 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
12591
12592 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
12593 * gdb.dwarf2/symtab-producer.exp: Same.
12594 * gdb.gdb/python-interrupts.exp: Same.
12595 * gdb.gdb/python-selftest.exp: Same.
12596 * gdb.python/py-linetable.exp: Same.
12597 * gdb.python/py-type.exp: Same.
12598 * gdb.python/py-value-cc.exp: Same.
12599 * gdb.python/py-value.exp: Same.
12600
12601 2014-11-28 Yao Qi <yao@codesourcery.com>
12602
12603 * gdb.base/break-probes.exp: Match library name prefixed with
12604 sysroot.
12605
12606 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
12607
12608 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
12609 test expected output. Add parentheses for the call to print.
12610 Remove L suffix from integers.
12611
12612 2014-11-26 Doug Evans <dje@google.com>
12613
12614 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
12615
12616 2014-11-22 Yao Qi <yao@codesourcery.com>
12617
12618 * gdb.trace/entry-values.c: Remove asms.
12619 (foo): Add foo_label.
12620 (bar): Add bar_label.
12621 * gdb.trace/entry-values.exp: Remove code computing foo's
12622 length and bar's length.
12623 (Dwarf::assemble): Invoke function_range for bar and use
12624 MACRO_AT_func for foo.
12625
12626 2014-11-22 Yao Qi <yao@codesourcery.com>
12627
12628 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
12629 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
12630 Use .Lgcc43_procstart instead of gcc43.
12631
12632 2014-11-21 Joel Brobecker <brobecker@adacore.com>
12633
12634 * gdb.ada/n_arr_bound: New testcase.
12635
12636 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
12637
12638 PR breakpoints/10737
12639 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
12640 test_catch_syscall_multi_arch.
12641 (test_catch_syscall_multi_arch): New function.
12642
12643 2014-11-20 Doug Evans <xdje42@gmail.com>
12644
12645 * gdb.base/maint.exp: Update expected output.
12646
12647 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
12648
12649 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
12650 4-byte instruction on S390.
12651
12652 2014-11-19 Joel Brobecker <brobecker@adacore.com>
12653
12654 * gdb.ada/arr_arr: New testcase.
12655
12656 2014-11-19 Joel Brobecker <brobecker@adacore.com>
12657
12658 * gdb.ada/pkd_arr_elem: New Testcase.
12659
12660 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
12661
12662 * gdb.reverse/break-precsave: Expect completion message for
12663 core file reads.
12664 * gdb.reverse/consecutive-precsave.exp: Likewise.
12665 * gdb.reverse/finish-precsave.exp: Likewise.
12666 * gdb.reverse/i386-precsave.exp: Likewise.
12667 * gdb.reverse/machinestate-precsave.exp: Likewise.
12668 * gdb.reverse/sigall-precsave.exp: Likewise.
12669 * gdb.reverse/solib-precsave.exp: Likewise.
12670 * gdb.reverse/step-precsave.exp: Likewise.
12671 * gdb.reverse/until-precsave.exp: Likewise.
12672 * gdb.reverse/watch-precsave.exp: Likewise.
12673
12674 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
12675
12676 * gdb.base/bp-permanent.c: Include unistd.h.
12677 * gdb.python/py-framefilter-mi.c (main): Add return type.
12678 * gdb.python/py-framefilter.c (main): Likewise.
12679 * gdb.trace/actions-changed.c (main): Likewise.
12680
12681 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
12682
12683 * gdb.mi/until.c: Add eye-catchers.
12684 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
12685 line numbers.
12686
12687 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
12688
12689 * gdb.base/condbreak.exp: Drop references to removed non-prototype
12690 function header variants in break1.c.
12691 * gdb.base/ena-dis-br.exp: Likewise.
12692 * gdb.base/hbreak2.exp: Likewise.
12693 * gdb.reverse/until-precsave.exp: Drop references to removed
12694 non-prototype function header variants in ur1.c.
12695 * gdb.reverse/until-reverse.exp: Likewise.
12696
12697 2014-11-17 Petr Machata <pmachata@redhat.com>
12698
12699 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
12700 ${_cu_offset_size} bytes abbrev offset.
12701
12702 2014-11-15 Doug Evans <xdje42@gmail.com>
12703
12704 PR symtab/17559
12705 * gdb.base/line-symtabs.exp: New file.
12706 * gdb.base/line-symtabs.c: New file.
12707 * gdb.base/line-symtabs.h: New file.
12708
12709 2014-11-14 Yao Qi <yao@codesourcery.com>
12710
12711 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
12712 (func): Add label func_label.
12713 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
12714 Replace low_pc and high_pc with MACRO_AT_range.
12715 Replace name, low_pc and high_pc with MACRO_AT_func.
12716
12717 2014-11-14 Yao Qi <yao@codesourcery.com>
12718
12719 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
12720 Replace name, low_pc and high_pc with MACRO_AT_func.
12721
12722 2014-11-14 Yao Qi <yao@codesourcery.com>
12723
12724 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
12725 produce debug information.
12726 * gdb.dwarf2/implptr-optimized-out.S: Removed.
12727
12728 2014-11-14 Yao Qi <yao@codesourcery.com>
12729
12730 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
12731 object and get function length.
12732 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
12733 with MACRO_AT_func.
12734 (top-level): Replace gdb_compile and clean_restart with
12735 prepare_for_testing.
12736 * gdb.dwarf2/main.c (main): Add label main_label.
12737
12738 2014-11-14 Yao Qi <yao@codesourcery.com>
12739
12740 * lib/dwarf.exp (function_range): New procedure.
12741 (Dwarf::_handle_macro_at_func): New procedure.
12742 (Dwarf::_handle_macro_at_range): New procedure.
12743 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
12744
12745 2014-11-14 Yao Qi <yao@codesourcery.com>
12746
12747 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
12748 (_handle_attribute): New procedure.
12749
12750 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12751
12752 * gdb.ada/cond_lang/foo.c (callme): Add return type.
12753 * gdb.base/call-sc.c (zed): Likewise.
12754 * gdb.base/checkpoint.c (main): Likewise.
12755 * gdb.base/dump.c (main): Likewise.
12756 * gdb.base/gcore.c (main): Likewise.
12757 * gdb.base/huge.c (main): Likewise.
12758 * gdb.base/multi-forks.c (main): Likewise.
12759 * gdb.base/pr10179-a.c (main): Likewise.
12760 * gdb.base/savedregs.c (main): Likewise.
12761 * gdb.base/sigaltstack.c (main): Likewise.
12762 * gdb.base/siginfo.c (main): Likewise.
12763 * gdb.base/structs.c (zed): Likewise.
12764 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
12765 * gdb.mi/mi-syn-frame.c (main): Likewise.
12766 * gdb.mi/until.c (foo, main): Likewise.
12767 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
12768 * gdb.base/solib-weak.c (foo): Declare.
12769 * gdb.base/attach-twice.c: Include stdio.h.
12770 * gdb.base/weaklib1.c: Likewise.
12771 * gdb.base/weaklib2.c: Likewise.
12772 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
12773 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
12774 unistd.h.
12775 * gdb.base/attach-pie-misread.c: Include stdlib.h.
12776 * gdb.mi/mi-exit-code.c: Likewise.
12777 * gdb.base/break-interp-lib.c: Include string.h.
12778 * gdb.base/coremaker.c: Likewise.
12779 * gdb.base/testenv.c: Likewise.
12780 * gdb.python/py-finish-breakpoint.c: Likewise.
12781 * gdb.base/inferior-died.c: Include sys/wait.h.
12782 * gdb.base/fileio.c: Include time.h.
12783 * gdb.base/async-shell.c: Include unistd.h.
12784 * gdb.base/dprintf-non-stop.c: Likewise.
12785 * gdb.base/info-os.c: Likewise.
12786 * gdb.mi/mi-console.c: Likewise.
12787 * gdb.mi/watch-nonstop.c: Likewise.
12788 * gdb.python/py-events.c: Likewise.
12789 * gdb.base/async.c (baz): Move up before its invocation.
12790 * gdb.base/code_elim2.c (my_global_func): Likewise.
12791 * gdb.base/skip-solib-lib.c (multiply): Likewise.
12792 * gdb.base/advance.c (func2): Likewise.
12793
12794 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12795
12796 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
12797 variant.
12798 * gdb.base/annota3.c: Likewise.
12799 * gdb.base/async.c: Likewise.
12800 * gdb.base/average.c: Likewise.
12801 * gdb.base/call-ar-st.c: Likewise.
12802 * gdb.base/call-rt-st.c: Likewise.
12803 * gdb.base/call-sc.c: Likewise.
12804 * gdb.base/call-strs.c: Likewise.
12805 * gdb.base/ending-run.c: Likewise.
12806 * gdb.base/execd-prog.c: Likewise.
12807 * gdb.base/exprs.c: Likewise.
12808 * gdb.base/foll-exec.c: Likewise.
12809 * gdb.base/foll-fork.c: Likewise.
12810 * gdb.base/foll-vfork.c: Likewise.
12811 * gdb.base/funcargs.c: Likewise.
12812 * gdb.base/gcore.c: Likewise.
12813 * gdb.base/jump.c: Likewise.
12814 * gdb.base/langs0.c: Likewise.
12815 * gdb.base/langs1.c: Likewise.
12816 * gdb.base/langs2.c: Likewise.
12817 * gdb.base/mips_pro.c: Likewise.
12818 * gdb.base/nodebug.c: Likewise.
12819 * gdb.base/opaque0.c: Likewise.
12820 * gdb.base/opaque1.c: Likewise.
12821 * gdb.base/recurse.c: Likewise.
12822 * gdb.base/run.c: Likewise.
12823 * gdb.base/scope0.c: Likewise.
12824 * gdb.base/scope1.c: Likewise.
12825 * gdb.base/setshow.c: Likewise.
12826 * gdb.base/setvar.c: Likewise.
12827 * gdb.base/shmain.c: Likewise.
12828 * gdb.base/shr1.c: Likewise.
12829 * gdb.base/shr2.c: Likewise.
12830 * gdb.base/sigall.c: Likewise.
12831 * gdb.base/signals.c: Likewise.
12832 * gdb.base/so-indr-cl.c: Likewise.
12833 * gdb.base/solib2.c: Likewise.
12834 * gdb.base/structs.c: Likewise.
12835 * gdb.base/sum.c: Likewise.
12836 * gdb.base/vforked-prog.c: Likewise.
12837 * gdb.base/watchpoint.c: Likewise.
12838 * gdb.reverse/shr2.c: Likewise.
12839 * gdb.reverse/until-reverse.c: Likewise.
12840 * gdb.reverse/ur1.c: Likewise.
12841 * gdb.reverse/watch-reverse.c: Likewise.
12842
12843 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12844
12845 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
12846 variant.
12847 * gdb.base/sepdebug.exp: Drop references to removed code.
12848
12849 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12850
12851 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
12852 variant. Preserve original line numbering.
12853 * gdb.base/list1.c: Likewise.
12854
12855 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12856
12857 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
12858 variant.
12859 * gdb.base/break1.c: Likewise.
12860 * gdb.base/break.exp: Drop references to removed code.
12861
12862 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12863
12864 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
12865 variant.
12866
12867 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12868
12869 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
12870
12871 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12872
12873 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
12874 logic into perform_all_tests() and invoke it with and without
12875 function header prototypes.
12876 (do_function_calls): Remove conditional XFAIL for PR 5318.
12877 (rerun_and_prepare): Remove duplicate code.
12878 (perform_all_tests): New. Main logic moved here.
12879
12880 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12881
12882 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
12883 code guarded by #ifdef NO_PROTOTYPES.
12884 (t_double_many_args): Likewise.
12885 (DEF_FUNC_MANY_ARGS_1): Likewise.
12886 (DEF_FUNC_VALUES_1): Likewise.
12887 (t_structs_ldc): Renamed from t_structs_fc in conditional code
12888 guarded by #ifdef PROTOTYPES.
12889
12890 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12891
12892 * gdb.mi/mi-console.c: Add eye-catcher.
12893 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
12894 instead of literal line number.
12895
12896 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12897
12898 * gdb.base/shr2.c: Add eye-catcher.
12899 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
12900 line number.
12901
12902 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12903
12904 * gdb.base/jump.c: Add eye-catchers.
12905 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
12906 numbers.
12907
12908 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12909
12910 * gdb.base/execd-prog.c: Add eye-catchers.
12911 * gdb.base/foll-exec.c: Likewise.
12912 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
12913 line numbers.
12914
12915 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12916
12917 * gdb.base/ending-run.c: Add eye-catchers.
12918 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
12919 literal line numbers.
12920
12921 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12922
12923 * gdb.base/call-rt-st.c: Add eye-catchers.
12924 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
12925 literal line numbers.
12926
12927 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12928
12929 * gdb.base/call-ar-st.c: Add eye-catchers.
12930 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
12931 literal line numbers.
12932
12933 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12934
12935 * gdb.base/average.c: Add eye-catchers.
12936 * gdb.base/sum.c: Likewise.
12937 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
12938 regexps dynamically.
12939
12940 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12941
12942 * gdb.base/solib1.c: Add eye-catchers.
12943 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
12944 literal line numbers.
12945
12946 2014-11-12 Pedro Alves <palves@redhat.com>
12947
12948 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
12949 leader has exited.
12950
12951 2014-11-12 Pedro Alves <palves@redhat.com>
12952
12953 * gdb.arch/i386-bp_permanent.c: New file.
12954 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
12955 (srcfile): Set to i386-bp_permanent.c.
12956 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
12957 that stepi does not execute the 'leave' instruction, instead of
12958 testing it does execute.
12959 * gdb.base/bp-permanent.c: New file.
12960 * gdb.base/bp-permanent.exp: New file.
12961
12962 2014-11-10 Doug Evans <xdje42@gmail.com>
12963
12964 PR symtab/17564
12965 * gdb.base/symtab-search-order.exp: New file.
12966 * gdb.base/symtab-search-order.c: New file.
12967 * gdb.base/symtab-search-order-1.c: New file.
12968 * gdb.base/symtab-search-order-shlib-1.c: New file.
12969
12970 2014-11-07 Pedro Alves <palves@redhat.com>
12971
12972 PR gdb/17511
12973 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
12974 i?86-*-linux*.
12975
12976 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
12977
12978 PR c++/17494
12979 * gdb.cp/pr17494.cc: New file.
12980 * gdb.cp/pr17494.exp: New file.
12981
12982 2014-11-02 Yao Qi <yao@codesourcery.com>
12983
12984 * gdb.python/python.exp: Get working directory and match the
12985 output of "set extended-prompt \\w " with it.
12986
12987 2014-10-30 Doug Evans <dje@google.com>
12988
12989 * gdb.python/py-objfile.exp: Add tests for setting random attributes
12990 in objfiles.
12991 * gdb.python/py-progspace.exp: Add tests for setting random attributes
12992 in progspaces.
12993
12994 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
12995
12996 * gdb.base/fullpath-expand.exp: Skip for a remote host.
12997 * gdb.base/realname-expand.exp: Likewise.
12998 * gdb.linespec/macro-relative.exp: Likewise.
12999
13000 2014-10-29 Pedro Alves <palves@redhat.com>
13001
13002 PR gdb/17408
13003 * gdb.threads/schedlock.c (some_function): New function.
13004 (call_function): New global.
13005 (MAYBE_CALL_SOME_FUNCTION): New macro.
13006 (thread_function): Call it.
13007 * gdb.threads/schedlock.exp (get_args): Add description parameter,
13008 and use it instead of a global counter. Adjust all callers.
13009 (get_current_thread): Use "find current thread" for test message
13010 here rather than having all callers pass down the same string.
13011 (goto_loop): New procedure, factored out from ...
13012 (my_continue): ... this.
13013 (step_ten_loops): Change parameter from test message to command to
13014 use. Adjust.
13015 (list_count): Delete global.
13016 (check_result): New procedure, factored out from duplicate top
13017 level code.
13018 (continue tests): Wrap in with_test_prefix.
13019 (test_step): New procedure, factored out from duplicate top level
13020 code.
13021 (top level): Test "step" in combination with all scheduler-locking
13022 modes. Test "next" in combination with all scheduler-locking
13023 modes, and in combination with stepping over a function call or
13024 not.
13025 * gdb.threads/next-bp-other-thread.c: New file.
13026 * gdb.threads/next-bp-other-thread.exp: New file.
13027
13028 2014-10-29 Pedro Alves <palves@redhat.com>
13029
13030 PR python/17372
13031 * gdb.python/python.exp: Test a multi-line command that spawns
13032 interactive Python.
13033 * gdb.base/multi-line-starts-subshell.exp: New file.
13034
13035 2014-10-29 Yao Qi <yao@codesourcery.com>
13036
13037 * gdb.base/fileio.exp: Make directories on host.
13038
13039 2014-10-29 Yao Qi <yao@codesourcery.com>
13040
13041 * gdb.base/fileio.c (test_write): Close the file.
13042
13043 2014-10-28 Pedro Alves <palves@redhat.com>
13044
13045 PR gdb/12623
13046 * gdb.base/sigstep.c (no_handler): New global.
13047 (main): If 'no_handler is true, set the signal handlers to
13048 SIG_IGN.
13049 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
13050 with_sw_watch and no_handler parameters. Handle them.
13051 (top level) <stepping over handler when stopped at a breakpoint
13052 test>: Add a test axis for testing with a software watchpoint, and
13053 another for testing with the signal handler set to SIG_IGN.
13054 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
13055 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
13056
13057 2014-10-28 Pedro Alves <palves@redhat.com>
13058
13059 PR gdb/17511
13060 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
13061 * gdb.base/sigstep.exp (other_handler_location): New global.
13062 (advance): Support stepping into the signal handler, and running
13063 commands while in the handler.
13064 (in_handler_map): New global.
13065 (top level): In the advance test, add combinations for getting
13066 into the handler with stepping commands, and for running commands
13067 in the handler. Add comment descripting the advancei tests.
13068
13069 2014-10-28 Pedro Alves <palves@redhat.com>
13070
13071 * gdb.base/sigstep.exp: Use build_executable instead of
13072 prepare_for_testing.
13073 (top level): Move code that starts GDB, runs to main and creates a
13074 display to ...
13075 (restart): ... this new procedure.
13076 (top level): Move backtrace from signal handler test to ...
13077 (validate_backtrace): ... this new procedure.
13078 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
13079 with_test_prefix. Always restart GDB.
13080 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
13081 with_test_prefix. Always restart GDB. No need to delete
13082 breakpoints after the test.
13083 (test_skip_handler): Remove prefix parameter.
13084 (skip_over_handler, breakpoint_to_handler)
13085 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
13086 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
13087 restart GDB. No need to delete breakpoints after the test.
13088 (top level): Use foreach to call the test procedures with
13089 different commands.
13090
13091 2014-10-28 Pedro Alves <palves@redhat.com>
13092
13093 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
13094 instead of GNATS numbers.
13095 * gdb.base/sigbpt.exp: Likewise.
13096 * gdb.base/siginfo.exp: Likewise.
13097 * gdb.base/sigstep.exp: Likewise.
13098
13099 2014-10-27 Pedro Alves <palves@redhat.com>
13100
13101 * gdb.base/sigstep.c (dummy): New global.
13102 (main): Issue a couple writes to the new global.
13103 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
13104 procedures.
13105 (skip_over_handler): Use test_skip_handler.
13106 (top level): Call skip_over_handler for stepi and nexti too.
13107 (breakpoint_over_handler): Use test_skip_handler.
13108 (top level): Call breakpoint_over_handler for stepi and nexti too.
13109
13110 2014-10-27 Yao Qi <yao@codesourcery.com>
13111
13112 * gdb.trace/tfile.c (adjust_function_address)
13113 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
13114 function descriptor.
13115
13116 2014-10-24 Don Breazeal <donb@codesourcery.com>
13117
13118 * gdb.base/foll-fork.exp (test_follow_fork,
13119 catch_fork_child_follow): Check for updated fork messages emitted
13120 from infrun.c.
13121 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
13122 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
13123 vfork_and_exec_child_follow_through_step): Check for updated vfork
13124 messages emitted from infrun.c.
13125
13126 2014-10-24 Pedro Alves <palves@redhat.com>
13127
13128 * gdb.base/corefile.exp: Remove references to ultrix.
13129 * gdb.base/interrupt.exp: Likewise.
13130 * gdb.base/whatis.exp: Likewise.
13131 * gdb.gdb/selftest.exp: Likewise.
13132 * gdb.threads/manythreads.exp: Likewise.
13133 * gdb.threads/print-threads.exp: Likewise.
13134 * gdb.threads/pthreads.exp:: Likewise.
13135 * gdb.threads/schedlock.exp: Likewise.
13136
13137 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
13138
13139 * gdb.cp/non-trivial-retval.cc: Add a test case.
13140 * gdb.cp/non-trivial-retval.exp: Add a test.
13141
13142 2014-10-20 Yao Qi <yao@codesourcery.com>
13143
13144 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
13145 * gdb.python/py-objfile-script-gdb.py: New file.
13146 * gdb.python/py-objfile-script.exp: Update reference to
13147 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
13148 of remote_download. Remove the dest file.
13149
13150 2014-10-20 Yao Qi <yao@codesourcery.com>
13151
13152 * gdb.base/checkpoint.exp: Don't remove file copied on host.
13153 * gdb.base/step-line.exp: Likewise.
13154 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
13155 * gdb.dwarf2/dw2-basic.exp: Likewise.
13156 * gdb.dwarf2/dw2-compressed.exp: Likewise.
13157 * gdb.dwarf2/dw2-filename.exp: Likewise.
13158 * gdb.dwarf2/dw2-intercu.exp: Likewise.
13159 * gdb.dwarf2/dw2-intermix.exp: Likewise.
13160 * gdb.dwarf2/dw2-producer.exp: Likewise.
13161 * gdb.dwarf2/mac-fileno.exp: Likewise.
13162 * gdb.python/py-frame-args.exp: Likewise.
13163 * gdb.python/py-framefilter.exp: Likewise.
13164 * gdb.python/py-mi.exp: Likewise.
13165 * gdb.python/py-objfile-script.exp: Likewise
13166 * gdb.python/py-pp-integral.exp: Likewise.
13167 * gdb.python/py-pp-re-notag.exp: Likewise.
13168 * gdb.python/py-prettyprint.exp: Likewise.
13169 * gdb.python/py-section-script.exp: Likewise.
13170 * gdb.python/py-typeprint.exp: Likewise.
13171 * gdb.python/py-xmethods.exp: Likewise.
13172 * gdb.stabs/weird.exp: Likewise.
13173 * gdb.xml/tdesc-regs.exp: Likewise.
13174
13175 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
13176
13177 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
13178 (out_cu): Use addr_len for the size of addresses.
13179 (out_line): Likewise. Size DW_LNE_set_address instruction
13180 according to addr_len.
13181 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
13182 (FUNC): Add START_INSNS to definition.
13183
13184 2014-10-18 Yao Qi <yao@codesourcery.com>
13185
13186 * gdb.base/argv0-symlink.exp: Check argv[0] value if
13187 gdb_has_argv0 return true.
13188 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
13189 check [target_info exists noargs], check [gdb_has_argv0]
13190 instead.
13191 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
13192 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
13193 procedures.
13194
13195 2014-10-17 Doug Evans <dje@google.com>
13196
13197 * gdb.python/py-events.exp: Update expected output for clear_objfiles
13198 event.
13199 * gdb.python/py-events.py: Add clear_objfiles event.
13200
13201 2014-10-17 Doug Evans <dje@google.com>
13202
13203 * gdb.python/py-objfile.exp: Test progspace attribute.
13204
13205 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
13206
13207 * gdb.guile/scm-breakpoint.exp: Do not assume any
13208 directory separators when matching source file paths.
13209 * gdb.python/py-breakpoint.exp: Likewise.
13210 * gdb.reverse/break-precsave.exp: Likewise.
13211 * gdb.reverse/break-reverse.exp: Likewise.
13212 * gdb.reverse/consecutive-precsave.exp: Likewise.
13213 * gdb.reverse/finish-precsave.exp: Likewise.
13214 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
13215 * gdb.reverse/finish-reverse.exp: Likewise.
13216 * gdb.reverse/i386-precsave.exp: Likewise.
13217 * gdb.reverse/i387-env-reverse.exp: Likewise.
13218 * gdb.reverse/i387-stack-reverse.exp: Likewise.
13219 * gdb.reverse/machinestate-precsave.exp: Likewise.
13220 * gdb.reverse/machinestate.exp: Likewise.
13221 * gdb.reverse/sigall-precsave.exp: Likewise.
13222 * gdb.reverse/solib-precsave.exp: Likewise.
13223 * gdb.reverse/step-precsave.exp: Likewise.
13224 * gdb.reverse/until-precsave.exp: Likewise.
13225 * gdb.reverse/watch-precsave.exp: Likewise.
13226 * gdb.reverse/watch-reverse.exp: Likewise.
13227
13228 2014-10-17 Yao Qi <yao@codesourcery.com>
13229
13230 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
13231 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
13232
13233 2014-10-17 Pedro Alves <palves@redhat.com>
13234
13235 PR gdb/17471
13236 * gdb.base/bg-execution-repeat.c: New file.
13237 * gdb.base/bg-execution-repeat.exp: New file.
13238
13239 2014-10-17 Pedro Alves <palves@redhat.com>
13240
13241 PR gdb/17300
13242 * gdb.base/continue-all-already-running.c: New file.
13243 * gdb.base/continue-all-already-running.exp: New file.
13244
13245 2014-10-17 Pedro Alves <palves@redhat.com>
13246
13247 PR gdb/17472
13248 * gdb.base/annota-input-while-running.c: New file.
13249 * gdb.base/annota-input-while-running.exp: New file.
13250
13251 2014-10-17 Pedro Alves <palves@redhat.com>
13252
13253 * gdb.base/callfuncs.exp: emove references to osf.
13254 * gdb.base/sigall.exp: Likewise.
13255 * gdb.gdb/selftest.exp: Likewise.
13256 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
13257 * gdb.mi/non-stop.c: Likewise.
13258 * gdb.mi/pthreads.c: Likewise.
13259 * gdb.reverse/sigall-precsave.exp: Likewise.
13260 * gdb.reverse/sigall-reverse.exp: Likewise.
13261 * gdb.threads/pthreads.c: Likewise.
13262 * gdb.threads/pthreads.exp: Likewise.
13263
13264 2014-10-17 Yao Qi <yao@codesourcery.com>
13265
13266 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
13267 check 'target_info exists noargs'.
13268 (test_command_prompt_position): Likewise.
13269 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
13270 Remove "set args".
13271 (progvar_simple_while_test): Likewise.
13272 (progvar_complex_if_while_test): Likewise.
13273 (if_while_breakpoint_command_test): Likewise.
13274 (infrun_breakpoint_command_test): Likewise.
13275 (breakpoint_command_test): Likewise.
13276 (watchpoint_command_test): Likewise.
13277 (bp_deleted_in_command_test): Likewise.
13278 (temporary_breakpoint_commands): Likewise.
13279
13280 2014-10-16 Yao Qi <yao@codesourcery.com>
13281
13282 * gdb.base/remotetimeout.exp: Remove noargs checking.
13283
13284 2014-10-15 Pedro Alves <palves@redhat.com>
13285
13286 PR breakpoints/9649
13287 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
13288 * gdb.base/breakpoint-in-ro-region.exp
13289 (probe_target_hardware_step): New procedure.
13290 (top level): Probe hardware stepping and hardware breakpoint
13291 support. Test stepping through a read-only region, with both
13292 "breakpoint auto-hw" on and off and both "always-inserted" on and
13293 off.
13294
13295 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
13296
13297 * gdb.dlang/demangle.exp: Update for demangling changes.
13298
13299 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
13300
13301 * gdb.cp/non-trivial-retval.cc: Add new test cases.
13302 * gdb.cp/non-trivial-retval.exp: Add new tests.
13303
13304 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
13305
13306 PR c++/13403
13307 PR c++/15154
13308 * gdb.cp/non-trivial-retval.cc: New file.
13309 * gdb.cp/non-trivial-retval.exp: New file.
13310
13311 2014-10-15 Yao Qi <yao@codesourcery.com>
13312
13313 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
13314 remote host.
13315
13316 2014-10-15 Yao Qi <yao@codesourcery.com>
13317
13318 * gdb.python/py-symbol.exp: Match file base name if host is
13319 remote, otherwise match file name with dir name.
13320 * gdb.python/py-symtab.exp: Likewise.
13321 * gdb.python/python.exp: Likewise.
13322
13323 2014-10-15 Yao Qi <yao@codesourcery.com>
13324
13325 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
13326 pattern.
13327 * gdb.python/py-symtab.exp: Likewise.
13328 * gdb.python/python.exp: Remove trailing ".*". Fix typo
13329 locationn.
13330
13331 2014-10-14 Joel Brobecker <brobecker@adacore.com>
13332
13333 * gdb.ada/addr_arith: New testcase.
13334
13335 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
13336
13337 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
13338 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
13339 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
13340 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
13341
13342 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
13343
13344 * gdb.arch/stap-eval-lang-ada.S: Likewise.
13345 * gdb.arch/stap-eval-lang-ada.c: Likewise.
13346 * gdb.arch/stap-eval-lang-ada.exp: New file.
13347
13348 2014-10-14 Yao Qi <yao@codesourcery.com>
13349
13350 * gdb.mi/mi-var-child.c (nothing1): New function.
13351 (nothing2): New function.
13352 (do_children_tests): Set function pointers by nothing1 and
13353 nothing2.
13354 * gdb.mi/mi-var-child.exp: Step over new added statements.
13355 Update test to match the new output.
13356 * gdb.mi/var-cmd.c (nothing1): New function.
13357 (nothing2): New function.
13358 (do_children_tests): Set function pointers by nothing1 and
13359 nothing2.
13360 * gdb.mi/mi-var-display.exp: Update test to match output.
13361 Step to the line specified by $line_dct_nothing.
13362 Increase the number of lines to step.
13363
13364 2014-10-14 Yao Qi <yao@codesourcery.com>
13365
13366 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
13367 tests.
13368 * gdb.mi/mi2-var-child.exp: Likewise.
13369
13370 2014-10-13 Doug Evans <dje@google.com>
13371
13372 * gdb.python/py-objfile.exp: Change name of file name test.
13373
13374 2014-10-13 Doug Evans <dje@google.com>
13375
13376 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
13377 from the start of the CU.
13378
13379 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
13380 Yao Qi <yao@codesourcery.com>
13381
13382 Fix "save breakpoints" for "catch" command.
13383 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
13384 Remove -nonewline. Match also the added "main" line.
13385
13386 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
13387
13388 Fix "save breakpoints" for "disable $bpnum" command.
13389 * gdb.base/save-bp.c (main): Add label.
13390 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
13391
13392 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
13393
13394 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
13395
13396 2014-10-11 Yao Qi <yao@codesourcery.com>
13397
13398 * gdb.server/server-kill.exp: Execute command
13399 "set remote trace-status-packet on" before "tstatus".
13400
13401 2014-10-11 Yao Qi <yao@codesourcery.com>
13402
13403 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
13404 (main): Call getppid.
13405 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
13406 and continue to it. Read variable "server_pid".
13407
13408 2014-10-11 Yao Qi <yao@codesourcery.com>
13409
13410 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
13411
13412 2014-10-11 Yao Qi <yao@codesourcery.com>
13413
13414 * gdb.threads/thread-find.exp: Don't execute command
13415 "info threads".
13416 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
13417 * gdb.threads/linux-dp.exp: Don't check the condition
13418 $threads_created equals to zero.
13419
13420 2014-10-10 Pedro Alves <palves@redhat.com>
13421
13422 * gdb.base/bigcore.exp: Remove references to IRIX.
13423 * gdb.base/funcargs.exp: Likewise.
13424 * gdb.base/interrupt.exp: Likewise.
13425 * gdb.base/mips_pro.exp: Likewise.
13426 * gdb.base/nodebug.exp: Likewise.
13427 * gdb.base/setvar.exp: Likewise.
13428 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
13429
13430 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
13431 Pedro Alves <palves@redhat.com>
13432
13433 PR symtab/14466
13434 * gdb.base/vdso-warning.c: New file.
13435 * gdb.base/vdso-warning.exp: New file.
13436
13437 2014-10-02 Doug Evans <dje@google.com>
13438
13439 * gdb.base/structs.c (main): Don't run forever.
13440
13441 2014-10-02 Pedro Alves <palves@redhat.com>
13442
13443 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
13444 (top level) <stop threads 1, stop threads 2>: Use it.
13445
13446 2014-10-02 Pedro Alves <palves@redhat.com>
13447
13448 * gdb.threads/break-while-running.exp (test): Add new
13449 'update_thread_list' argument. Skip "info threads" if false.
13450 (top level): Add new 'update_thread_list' axis.
13451
13452 2014-10-02 Pedro Alves <palves@redhat.com>
13453
13454 PR breakpoints/17431
13455 * gdb.base/execl-update-breakpoints.c: New file.
13456 * gdb.base/execl-update-breakpoints.exp: New file.
13457
13458 2014-10-01 Pedro Alves <palves@redhat.com>
13459
13460 * gdb.base/breakpoint-in-ro-region.c: New file.
13461 * gdb.base/breakpoint-in-ro-region.exp: New file.
13462
13463 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
13464
13465 * gdb.mi/mi-exit-code.exp: New file.
13466 * gdb.mi/mi-exit-code.c: New file.
13467
13468 2014-09-30 Yao Qi <yao@codesourcery.com>
13469
13470 * lib/prelink-support.exp (build_executable_own_libs): Error if
13471 the target isn't native.
13472
13473 2014-09-30 Yao Qi <yao@codesourcery.com>
13474
13475 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
13476 false.
13477
13478 2014-09-22 Pedro Alves <palves@redhat.com>
13479
13480 * gdb.threads/break-while-running.exp: New file.
13481 * gdb.threads/break-while-running.c: New file.
13482
13483 2014-09-19 Yao Qi <yao@codesourcery.com>
13484
13485 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
13486 Invoke test. Restart GDB with --readnow and invoke test again.
13487
13488 2014-09-19 Yao Qi <yao@codesourcery.com>
13489
13490 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
13491 proc set_breakpoint_on_gcd_function. Invoke
13492 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
13493 invoke set_breakpoint_on_gcd_function again.
13494
13495 2014-09-18 Doug Evans <dje@google.com>
13496
13497 * gdb.dwarf2/symtab-producer.exp: New file.
13498
13499 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
13500
13501 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
13502 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
13503 * gdb.base/global-var-nested-by-dso.c: Likewise.
13504 * gdb.base/global-var-nested-by-dso.exp: Likewise.
13505
13506 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
13507 Pedro Alves <palves@redhat.com>
13508
13509 * gdb.base/watch-bitfields.exp: Pass string other than test file
13510 name to prepare_for_testing.
13511 (watch): New procedure.
13512 (expect_watchpoint): Use with_test_prefix.
13513 (top level): Factor out tests to ...
13514 (test_watch_location, test_regular_watch): ... these new
13515 procedures, and use with_test_prefix and gdb_continue_to_end.
13516
13517 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
13518
13519 PR breakpoints/12526
13520 * gdb.base/watch-bitfields.exp: New file.
13521 * gdb.base/watch-bitfields.c: New file.
13522
13523 2014-09-16 Pedro Alves <palves@redhat.com>
13524
13525 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
13526 software and hardware addresses, not software address against
13527 itself.
13528
13529 2014-09-16 Pedro Alves <palves@redhat.com>
13530
13531 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
13532 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
13533
13534 2014-09-16 Pedro Alves <palves@redhat.com>
13535
13536 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
13537 files.
13538 * gdb.base/a2-run.exp: Remove all code guarded by istarget
13539 "*-*-vxworks*" throughout.
13540 * gdb.base/break.exp: Likewise.
13541 * gdb.base/default.exp: Likewise.
13542 * gdb.base/scope.exp: Likewise.
13543 * gdb.base/sepdebug.exp: Likewise.
13544 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
13545 throughout.
13546 * gdb.base/run.c: Likewise.
13547 * gdb.base/sepdebug.c: Likewise.
13548 * gdb.hp/gdb.aCC/run.c: Likewise.
13549 * gdb.reverse/until-reverse.c: Likewise.
13550 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
13551
13552 2014-09-16 Yao Qi <yao@codesourcery.com>
13553
13554 * boards/local-remote-host-native.exp: New file.
13555
13556 2014-09-14 Doug Evans <xdje42@gmail.com>
13557
13558 * gdb.threads/queue-signal.c (thread_count): New variable.
13559 (thread_count_mutex, thread_count_condvar): New variables.
13560 (incr_thread_count, wait_all_threads_running): New functions.
13561 (main): Wait for all threads to be in their thread functions.
13562
13563 2014-09-13 Doug Evans <xdje42@gmail.com>
13564
13565 * gdb.threads/queue-signal.c: New file.
13566 * gdb.threads/queue-signal.exp: New file.
13567
13568 2014-09-13 Doug Evans <xdje42@gmail.com>
13569
13570 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
13571 be consistent with what default_gdb_init uses.
13572 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
13573 the plain text of the prompt. Add some logging printfs.
13574 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
13575
13576 2014-09-12 Pedro Alves <palves@redhat.com>
13577
13578 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
13579 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
13580 * gdb.arch/i386-size-overlap.exp: Likewise.
13581 * gdb.arch/i386-size.exp: Likewise.
13582 * gdb.arch/i386-unwind.exp: Likewise.
13583 * gdb.base/a2-run.exp: Likewise.
13584 * gdb.base/break.exp: Likewise.
13585 * gdb.base/charset.exp: Likewise.
13586 * gdb.base/chng-syms.exp: Likewise.
13587 * gdb.base/commands.exp: Likewise.
13588 * gdb.base/dbx.exp: Likewise.
13589 * gdb.base/find.exp: Likewise.
13590 * gdb.base/funcargs.exp: Likewise.
13591 * gdb.base/jit-simple.exp: Likewise.
13592 * gdb.base/reread.exp: Likewise.
13593 * gdb.base/sepdebug.exp: Likewise.
13594 * gdb.base/step-bt.exp: Likewise.
13595 * gdb.cp/mb-inline.exp: Likewise.
13596 * gdb.cp/mb-templates.exp: Likewise.
13597 * gdb.objc/basicclass.exp: Likewise.
13598 * gdb.threads/killed.exp: Likewise.
13599
13600 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13601
13602 PR tdep/17379
13603 * gdb.arch/powerpc-stackless.S: New file.
13604 * gdb.arch/powerpc-stackless.exp: New file.
13605
13606 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
13607
13608 * gdb.base/attach.c: Include unistd.h.
13609 (main): Call alarm. Add label postloop.
13610 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
13611 gdb_breakpoint, gdb_continue_to_breakpoint.
13612 (test_command_line_attach_run): Kill ${testpid} in one exit path.
13613
13614 2014-09-11 Pedro Alves <palves@redhat.com>
13615
13616 PR gdb/17347
13617 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
13618 * gdb.base/attach.exp (test_command_line_attach_run): New
13619 procedure.
13620 (top level): Call it.
13621
13622 2014-09-11 Pedro Alves <palves@redhat.com>
13623
13624 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
13625 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
13626 (do_command_attach_tests): Use spawn_wait_for_attach.
13627 * gdb.base/solib-overlap.exp: Likewise.
13628 * gdb.multi/multi-attach.exp: Likewise.
13629 * gdb.python/py-prompt.exp: Likewise.
13630 * gdb.python/py-sync-interp.exp: Likewise.
13631 * gdb.server/ext-attach.exp: Likewise.
13632
13633 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
13634
13635 * gdb.fortran/array-element.exp: Remove unexpected "continue"
13636 command in testcase. Simplify testcase.
13637
13638 2014-09-10 Joel Brobecker <brobecker@adacore.com>
13639
13640 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
13641
13642 2014-09-10 Joel Brobecker <brobecker@adacore.com>
13643
13644 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
13645
13646 2014-09-10 Joel Brobecker <brobecker@adacore.com>
13647
13648 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
13649
13650 2014-09-10 Joel Brobecker <brobecker@adacore.com>
13651
13652 * gdb.dwarf2/dynarr-ptr.c: New file.
13653 * gdb.dwarf2/dynarr-ptr.exp: New file.
13654
13655 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
13656
13657 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
13658 of 30 rather than hardcoding 120 for a slow test case. Take the
13659 `gdb,timeout' target setting into account for this calculation.
13660 Don't extend the timeout for the test cases that don't need it.
13661
13662 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
13663
13664 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
13665 a factor of 2 for a slow test case. Take the `gdb,timeout'
13666 target setting into account for this calculation.
13667 * gdb.reverse/until-precsave.exp: Increase the timeout by
13668 a factor of 15 and 3 respectively rather than adding 120
13669 for a pair of slow test cases. Take the `gdb,timeout'
13670 target setting into account for this calculation.
13671
13672 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
13673
13674 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
13675 timeout, don't pass one down to gdb_expect.
13676 (gdb_expect): Rework timeout selection.
13677
13678 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
13679
13680 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
13681 exception on timeout.
13682 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
13683 (gdbserver_start_extended): Catch any `gdbserver_start' error
13684 exceptions.
13685 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
13686 * lib/mi-support.exp (mi_gdb_target_load): Catch any
13687 `gdbserver_gdb_load' error exceptions.
13688
13689 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
13690
13691 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
13692 120 on waiting for the TCP socket to open.
13693
13694 2014-09-09 Doug Evans <xdje42@gmail.com>
13695
13696 * gdb.base/default.exp (show_conv_list): Add _caller_is,
13697 _caller_matches, _any_caller_is, _any_caller_matches.
13698
13699 2014-09-09 Doug Evans <xdje42@gmail.com>
13700
13701 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
13702
13703 2014-09-09 Yao Qi <yao@codesourcery.com>
13704
13705 * gdb.mi/mi-var-display.exp: Set print symbol off.
13706
13707 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
13708
13709 PR gdb/17035
13710 * gdb.base/commands.exp: Add tests to verify user-defined
13711 commands with empty bodies.
13712 * gdb.python/py-cmd.exp: Test that we don't show user-defined
13713 python commands in `show user command`.
13714 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
13715 scheme commands in `show user command`.
13716
13717 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13718
13719 PR python/17355
13720 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
13721 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
13722 * gdb.python/py-framefilter-invalidarg.exp: New file.
13723 * gdb.python/py-framefilter-invalidarg.py: New file.
13724
13725 2014-09-06 Doug Evans <xdje42@gmail.com>
13726
13727 PR 15276
13728 * gdb.python/py-caller-is.c: New file.
13729 * gdb.python/py-caller-is.exp: New file.
13730
13731 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
13732
13733 PR gdb/17235
13734 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
13735 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
13736
13737 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
13738
13739 PR fortran/17237
13740 * gdb.fortran/print-formatted.exp: New file.
13741 * gdb.fortran/print-formatted.f90: Likewise.
13742
13743 2014-09-03 Sasha Smundak <asmundak@google.com>
13744
13745 * gdb.python/py-frame.exp: Test Frame.read_register.
13746
13747 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
13748
13749 PR python/16699
13750 * gdb.python/py-completion.exp: New file.
13751 * gdb.python/py-completion.py: Likewise.
13752
13753 2014-08-28 Doug Evans <dje@google.com>
13754
13755 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
13756 eax,etc. are live with values set by gdb and thus the compiler can't
13757 use them.
13758 * gdb.arch/i386-pseudo.c (main): Ditto.
13759
13760 2014-08-27 Doug Evans <dje@google.com>
13761
13762 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
13763
13764 2014-08-25 Doug Evans <dje@google.com>
13765
13766 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
13767 (main): Ditto.
13768
13769 2014-08-25 Doug Evans <dje@google.com>
13770
13771 * gdb.threads/thread-execl.exp: #include <stdio.h>.
13772
13773 2014-08-24 Yao Qi <yao@codesourcery.com>
13774
13775 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
13776 symbol off.
13777 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
13778
13779 2014-08-22 Doug Evans <dje@google.com>
13780
13781 PR 17276
13782 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
13783 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
13784 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
13785
13786 2014-08-22 Yao Qi <yao@codesourcery.com>
13787
13788 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
13789 * gdb.python/py-finish-breakpoint2.exp: Likewise.
13790 * gdb.python/python.exp: Likewise. Use .py file on the host
13791 instead of the build.
13792
13793 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
13794
13795 * gdb.threads/gcore-stale-thread.c: New file.
13796 * gdb.threads/gcore-stale-thread.exp: New file.
13797
13798 2014-08-21 Pedro Alves <palves@redhat.com>
13799
13800 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
13801 * gdb.base/gcore-relro-pie.exp: Likewise.
13802 * gdb.base/gcore-relro.exp: Likewise.
13803 * gdb.base/gcore.exp: Likewise.
13804 * gdb.base/print-symbol-loading.exp: Likewise.
13805 * gdb.threads/gcore-thread.exp: Likewise.
13806 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
13807
13808 2014-08-20 Pedro Alves <palves@redhat.com>
13809 Jan Kratochvil <jan.kratochvil@redhat.com>
13810
13811 * Makefile.in (EXTRA_RULES, CC): New variables, get from
13812 configure.
13813 (EXPECT): Handle READ1 being set.
13814 (all): Depend on EXTRA_RULES.
13815 (check-read1, expect-read1, read1.so, read1): New rules.
13816 * README (Testsuite Parameters): Document the READ1 make variable.
13817 (Race detection): New section.
13818 * configure: Regenerate.
13819 * configure.ac: If build==host==target, and running under a
13820 GNU/glibc system, add read1 to the extra Makefile rules.
13821 (EXTRA_RULES): AC_SUBST it.
13822 * lib/read1.c: New file.
13823
13824 2014-08-20 Joel Brobecker <brobecker@adacore.com>
13825
13826 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
13827 the handling of variables declared as a typedef to an array
13828 which a DW_AT_data_location attribute.
13829
13830 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
13831 Pedro Alves <palves@redhat.com>
13832
13833 PR symtab/14604
13834 PR symtab/14605
13835 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
13836 gdb_test.
13837
13838 2014-08-19 Pedro Alves <palves@redhat.com>
13839
13840 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
13841
13842 2014-08-19 Yao Qi <yao@codesourcery.com>
13843
13844 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
13845 right line.
13846
13847 2014-08-18 David Blaikie <dblaikie@gmail.com>
13848
13849 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
13850
13851 2014-08-18 Joel Brobecker <brobecker@adacore.com>
13852
13853 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
13854 attribute in array range.
13855
13856 2014-08-18 Joel Brobecker <brobecker@adacore.com>
13857
13858 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
13859
13860 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
13861
13862 PR c++/17132
13863 * gdb.cp/pr17132.cc: New file.
13864 * gdb.cp/pr17132.exp: New file.
13865
13866 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
13867
13868 * gdb.python/py-xmethods.py (A_getarrayind)
13869 (E_method_char_worker.__call__, E_method_int_worker.__call__):
13870 Use 'print' with function call syntax.
13871 (E_method_matcher.match): Fix tab vs space indentation mixup.
13872
13873 2014-08-15 Yao Qi <yao@codesourcery.com>
13874
13875 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
13876 false.
13877
13878 2014-08-15 Yao Qi <yao@codesourcery.com>
13879
13880 * gdb.cp/casts.exp: Set print symbol off.
13881 * gdb.cp/class2.exp: Likewise.
13882 * gdb.cp/overload.exp: Likewise.
13883 * gdb.cp/templates.exp: Likewise.
13884
13885 2014-08-11 Doug Evans <dje@google.com>
13886
13887 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
13888 (test_load_shlib): Update.
13889
13890 2014-08-09 Yao Qi <yao@codesourcery.com>
13891
13892 * gdb.base/display.exp: Invoke is_address_zero_readable.
13893 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
13894 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
13895 * gdb.base/hbreak-unmapped.exp: Return if
13896 is_address_zero_readable returns true.
13897 * gdb.base/signest.exp: Likewise.
13898 * gdb.base/signull.exp: Likewise.
13899 * gdb.base/sigbpt.exp: Likewise.
13900 * gdb.guile/scm-disasm.exp: Do the test if
13901 is_address_zero_readable returns false.
13902 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
13903 * gdb.python/py-arch.exp: Likewise.
13904 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
13905 * lib/gdb.exp (is_address_zero_readable): New proc.
13906
13907 2014-08-09 Yao Qi <yao@codesourcery.com>
13908
13909 PR testsuite/13443
13910 * gdb.mi/mi-var-display.exp: Make test messages unique.
13911
13912 2014-08-04 Tom Tromey <tromey@redhat.com>
13913
13914 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
13915 target 0".
13916
13917 2014-08-04 Tom Tromey <tromey@redhat.com>
13918
13919 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
13920 "target_resume".
13921
13922 2014-08-01 Joel Brobecker <brobecker@adacore.com>
13923
13924 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
13925 inner_vla_struct_object_size.
13926 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
13927 as xfail.
13928
13929 2014-07-30 Pedro Alves <palves@redhat.com>
13930
13931 * gdb.threads/signal-command-handle-nopass.exp (test): Add
13932 comment.
13933
13934 2014-07-29 Yao Qi <yao@codesourcery.com>
13935
13936 PR gdb/17206
13937 * gdb.base/until-nodebug.exp: New.
13938
13939 2014-07-28 Doug Evans <xdje42@gmail.com>
13940
13941 PR guile/17203
13942 * gdb.guile/scm-parameter.exp: Add tests for trying to create
13943 previously existing parameter, and previously ambiguously spelled
13944 parameter.
13945
13946 2014-07-28 Will Newton <will.newton@linaro.org>
13947
13948 * gdb.base/varargs.exp: Remove KFAILs for ARM.
13949
13950 2014-07-26 Ludovic Courtès <ludo@gnu.org>
13951 Doug Evans <xdje42@gmail.com>
13952
13953 PR guile/17146
13954 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
13955
13956 2014-07-25 Pedro Alves <palves@redhat.com>
13957
13958 * gdb.threads/signal-command-handle-nopass.c: New file.
13959 * gdb.threads/signal-command-handle-nopass.exp: New file.
13960 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
13961 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
13962 * gdb.threads/signal-delivered-right-thread.c: New file.
13963 * gdb.threads/signal-delivered-right-thread.exp: New file.
13964
13965 2014-07-25 Pedro Alves <palves@redhat.com>
13966
13967 * gdb.base/double-prompt-target-event-error.exp
13968 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
13969 match.
13970 (cancel_pagination_in_target_event): Rework double prompt
13971 detection.
13972 * gdb.base/paginate-after-ctrl-c-running.exp
13973 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
13974 <return>' match.
13975 * gdb.base/paginate-bg-execution.exp
13976 (test_bg_execution_pagination_return)
13977 (test_bg_execution_pagination_cancel): Remove '-notransfer
13978 <return>' matches.
13979 * gdb.base/paginate-execution-startup.exp
13980 (test_fg_execution_pagination_return)
13981 (test_fg_execution_pagination_cancel): Remove '-notransfer
13982 <return>' matches.
13983 * gdb.base/paginate-inferior-exit.exp
13984 (test_paginate_inferior_exited): Remove '-notransfer <return>'
13985 match.
13986 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
13987 * lib/gdb.exp (pagination_prompt): Run text through
13988 string_to_regexp.
13989 (gdb_test_multiple): Match $pagination_prompt instead of
13990 "<return>".
13991 (string_to_regexp): Move to lib/gdb-utils.exp.
13992
13993 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13994
13995 * gdb.arch/amd64-entry-value-paramref.S: New file.
13996 * gdb.arch/amd64-entry-value-paramref.cc: New file.
13997 * gdb.arch/amd64-entry-value-paramref.exp: New file.
13998 * gdb.arch/amd64-optimout-repeat.S: New file.
13999 * gdb.arch/amd64-optimout-repeat.c: New file.
14000 * gdb.arch/amd64-optimout-repeat.exp: New file.
14001
14002 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
14003
14004 PR gdb/17170
14005 * gdb.base/statistics.exp: New file.
14006
14007 2014-07-17 Doug Evans <dje@google.com>
14008
14009 PR gdb/17170
14010 * gdb.base/maint.exp: Update testing of per-command stats.
14011
14012 2014-07-16 Pedro Alves <palves@redhat.com>
14013
14014 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
14015 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
14016 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
14017 (tfile_write_buf): New functions.
14018 (add_memory_block): Rewrite using the above.
14019 (adjust_function_address): New function.
14020 (FUNCTION_ADDRESS): New macro.
14021 (write_basic_trace_file): Remove short_x local, and use
14022 tfile_write_16. Change type of func_addr local to unsigned long
14023 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
14024 here. Cast argument of add_memory_block to char pointer.
14025 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
14026 (main): Remove parameters.
14027 * gdb.trace/tfile.exp: Remove nowarnings.
14028
14029 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
14030
14031 * gdb.base/debug-expr.exp: Test string evaluation with
14032 "debug expression" on.
14033
14034 2014-07-15 Pedro Alves <palves@redhat.com>
14035
14036 * gdb.base/reread.exp: Use clean_restart.
14037
14038 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
14039
14040 * gdb.arch/avr-flash-qualifer.c: New.
14041 * gdb.arch/avr-flash-qualifer.exp: New.
14042
14043 2014-07-14 Pedro Alves <palves@redhat.com>
14044
14045 * gdb.base/paginate-after-ctrl-c-running.c: New file.
14046 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
14047
14048 2014-07-14 Pedro Alves <palves@redhat.com>
14049
14050 * gdb.base/double-prompt-target-event-error.c: New file.
14051 * gdb.base/double-prompt-target-event-error.exp: New file.
14052
14053 2014-07-14 Pedro Alves <palves@redhat.com>
14054
14055 PR gdb/17072
14056 * gdb.base/paginate-inferior-exit.c: New file.
14057 * gdb.base/paginate-inferior-exit.exp: New file.
14058
14059 2014-07-14 Pedro Alves <palves@redhat.com>
14060
14061 PR gdb/17072
14062 * gdb.base/paginate-bg-execution.c: New file.
14063 * gdb.base/paginate-bg-execution.exp: New file.
14064
14065 2014-07-14 Pedro Alves <palves@redhat.com>
14066
14067 PR gdb/17072
14068 * gdb.base/paginate-execution-startup.c: New file.
14069 * gdb.base/paginate-execution-startup.exp: New file.
14070 * lib/gdb.exp (pagination_prompt): New global.
14071 (default_gdb_spawn): New procedure, factored out from
14072 default_gdb_spawn.
14073 (default_gdb_start): Adjust to call default_gdb_spawn.
14074 (gdb_spawn): New procedure.
14075
14076 2014-07-14 Pedro Alves <palves@redhat.com>
14077
14078 * lib/gdb.exp (gdb_assert): New procedure.
14079 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
14080
14081 2014-07-14 Pedro Alves <palves@redhat.com>
14082
14083 * gdb.base/execution-termios.c: New file.
14084 * gdb.base/execution-termios.exp: New file.
14085
14086 2014-07-14 Tom Tromey <tromey@redhat.com>
14087
14088 * gdb.cp/vla-cxx.cc: New file.
14089 * gdb.cp/vla-cxx.exp: New file.
14090
14091 2014-07-14 Tom Tromey <tromey@redhat.com>
14092
14093 * gdb.reverse/rerun-prec.c: New file.
14094 * gdb.reverse/rerun-prec.exp: New file.
14095
14096 2014-07-12 Maciej W. Rozycki <macro@mips.com>
14097 Maciej W. Rozycki <macro@codesourcery.com>
14098
14099 * lib/gdb-utils.exp: New file.
14100 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
14101 inline `gdb_init_command' processing.
14102 (gdb_start_cmd): Likewise.
14103 * lib/mi-support.exp (mi_run_cmd): Likewise.
14104 * README: Document `gdb_init_command' and `gdb_init_commands'.
14105
14106 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14107
14108 Fix false FAIL running under a very long directory name.
14109 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
14110 and "set print elements 10000". Twice.
14111
14112 2014-07-11 Yao Qi <yao@codesourcery.com>
14113
14114 * gdb.base/exprs.exp: "set print symbol off".
14115
14116 2014-07-11 Pedro Alves <palves@redhat.com>
14117
14118 * gdb.threads/kill.c: New file.
14119 * gdb.threads/kill.exp: New file.
14120
14121 2014-07-10 Yao Qi <yao@codesourcery.com>
14122
14123 * gdb.trace/tfile.c (write_basic_trace_file)
14124 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
14125 address written to trace file.
14126
14127 2014-07-09 Pedro Alves <palves@redhat.com>
14128
14129 * gdb.base/attach-wait-input.exp: New file.
14130 * gdb.base/attach-wait-input.c: New file.
14131
14132 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
14133
14134 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
14135 setting up test structures.
14136 (main): Call new test function.
14137 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
14138 test function, continue into test function and walk test
14139 structures.
14140
14141 2014-07-02 Yao Qi <yao@codesourcery.com>
14142
14143 * gdb.trace/entry-values.c: Define labels 'foo_start' and
14144 'bar_start' at the beginning of functions 'foo' and 'bar'
14145 respectively.
14146 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
14147 instead of 'foo' and 'bar'.
14148
14149 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
14150
14151 * gdb.btrace/segv.exp: New.
14152 * gdb.btrace/segv.c: New.
14153
14154 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
14155
14156 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
14157 instruction.
14158
14159 2014-06-30 Mark Wielaard <mjw@redhat.com>
14160
14161 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
14162 vulture, vilify, villar): New volatile array constants.
14163 (vindictive, vegetation): New const volatile array constants.
14164 * gdb.base/volatile.exp: Test volatile and const volatile array
14165 types.
14166
14167 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
14168
14169 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
14170 target lacks support for awatch, rwatch, or hbreak.
14171
14172 2014-06-27 Yao Qi <yao@codesourcery.com>
14173
14174 * gdb.multi/dummy-frame-restore.exp: New.
14175 * gdb.multi/dummy-frame-restore.c: New.
14176
14177 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
14178
14179 * gdb.btrace/gcore.exp: New.
14180
14181 2014-06-23 Pedro Alves <palves@redhat.com>
14182
14183 * gdb.base/watchpoint-reuse-slot.c: New file.
14184 * gdb.base/watchpoint-reuse-slot.exp: New file.
14185
14186 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
14187
14188 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
14189 progspace's filename in 'info', 'enable' and 'disable' command
14190 tests.
14191
14192 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
14193
14194 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
14195 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
14196 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
14197
14198 2014-06-20 Gary Benson <gbenson@redhat.com>
14199
14200 * gdb.arch/i386-avx.exp: Fix include file location.
14201 * gdb.arch/i386-sse.exp: Likewise.
14202
14203 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
14204
14205 * gdb.dlang/expression.exp: New file.
14206
14207 2014-06-19 Pedro Alves <palves@redhat.com>
14208
14209 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
14210 out from ...
14211 (top level): ... here. Iterate running tests under different
14212 scheduler-locking settings.
14213
14214 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
14215
14216 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
14217 to DW_FORM_addr and use non-zero addresses.
14218
14219 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
14220
14221 PR gdb/17017
14222 * gdb.python/py-xmethods.cc: Add global function call counters and
14223 increment them in their respective functions. Remove "cout"
14224 statements.
14225 * gdb.python/py-xmethods.exp: Make tests check the global function
14226 call counters instead of depending on inferior IO.
14227
14228 2014-06-18 Don Breazeal <donb@codesourcery.com>
14229
14230 * gdb.base/foll-fork.exp (default_fork_parent_follow):
14231 Deleted procedure.
14232 (explicit_fork_parent_follow): Deleted procedure.
14233 (explicit_fork_child_follow): Deleted procedure.
14234 (test_follow_fork): New procedure.
14235 (do_fork_tests): Replace calls to deleted procedures with
14236 calls to test_follow_fork and reset GDB for subsequent
14237 procedure calls.
14238
14239 2014-06-17 Yao Qi <yao@codesourcery.com>
14240
14241 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
14242 CP1252.
14243
14244 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
14245
14246 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
14247 Initialize ptr and S explicitly.
14248 (skip_type_update_when_not_use_rtti_test): Likewise.
14249
14250 2014-06-16 Keith Seitz <keiths@redhat.com>
14251
14252 PR mi/15863
14253 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
14254 the inferior is started.
14255
14256 2014-06-16 Pedro Alves <palves@redhat.com>
14257
14258 * gdb.base/break-main-file-remove-fail.c: New file.
14259 * gdb.base/break-main-file-remove-fail.exp: New file.
14260 * gdb.base/break-unload-file.exp: Use build_executable instead of
14261 prepare_for_testing.
14262 (test_break): New parameter "initial_load". Handle it.
14263 (top level): Add initial_load cmdline/file axis.
14264
14265 2014-06-12 Tom Tromey <tromey@redhat.com>
14266
14267 * gdb.base/completion.exp: Don't use directory name in test.
14268
14269 2014-06-09 Gary Benson <gbenson@redhat.com>
14270
14271 * gdb.base/sigall.c [Functions to send signals]: Reorder to
14272 separate the always-available ANSI-standard signals from the
14273 signals that require checking.
14274 (main): Likewise.
14275 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
14276 Likewise.
14277 (main): Likewise.
14278
14279 2014-06-07 Keith Seitz <keiths@redhat.com>
14280
14281 Revert:
14282 PR c++/16253
14283 * gdb.cp/var-tag.cc: New file.
14284 * gdb.cp/var-tag.exp: New file.
14285 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
14286 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
14287 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
14288 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
14289
14290 2014-06-06 Doug Evans <xdje42@gmail.com>
14291
14292 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
14293
14294 2014-06-06 Pedro Alves <palves@redhat.com>
14295
14296 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
14297 in target debug output instead of looking at RSP packets,
14298 disabling the test on any target that uses hardware stepping.
14299 Update comments.
14300
14301 2014-06-06 Pedro Alves <palves@redhat.com>
14302
14303 * gdb.base/break-unload-file.exp: Fix typo.
14304
14305 2014-06-06 Yao Qi <yao@codesourcery.com>
14306
14307 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
14308 from "jit_function" to "^jit_function".
14309
14310 2014-06-06 Yao Qi <yao@codesourcery.com>
14311
14312 * gdb.base/async.c (foo): Add one statement.
14313 * gdb.base/async.exp: Get the next instruction address and
14314 match the output of "nexti" by instruction address. Match
14315 the hex address in the output of "finish".
14316
14317 2014-06-06 Gary Benson <gbenson@redhat.com>
14318
14319 * gdb.base/call-signals.c: Remove preprocessor conditionals
14320 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
14321 SIGSEGV and SIGTERM.
14322 * gdb.base/sigall.c: Likewise.
14323 * gdb.base/unwindonsignal.c: Likewise.
14324 * gdb.reverse/sigall-reverse.c: Likewise.
14325
14326 2014-06-06 Yao Qi <yao@codesourcery.com>
14327
14328 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
14329 readable, skip the test.
14330
14331 2014-06-06 Yao Qi <yao@codesourcery.com>
14332
14333 * gdb.threads/staticthreads.c (thread_function): Move the line
14334 setting breakpoint on forward.
14335 * gdb.threads/staticthreads.exp: Update comments.
14336
14337 2014-06-05 Ludovic Courtès <ludo@gnu.org>
14338
14339 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
14340 "history-append! type error".
14341
14342 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
14343
14344 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
14345 erroneous dprintf expected input.
14346
14347 2014-06-04 Doug Evans <xdje42@gmail.com>
14348
14349 * gdb.guile/scm-generics.exp: Delete.
14350
14351 2014-06-04 Doug Evans <xdje42@gmail.com>
14352
14353 * gdb.guile/scm-breakpoint.exp: Update.
14354 Add tests for breakpoint registration.
14355
14356 2014-06-04 Tom Tromey <tromey@redhat.com>
14357
14358 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
14359 VLA-in-union.
14360 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
14361 inner_vla_struct, vla_union types. Initialize objects of those
14362 types and compute their sizes.
14363
14364 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
14365 Hui Zhu <hui@codesourcery.com>
14366
14367 * gdb.base/fileio.exp: Add test for shell not available as well as
14368 available.
14369 * gdb.base/fileio.c (test_system): Check for shell twice.
14370
14371 2014-06-04 Yao Qi <yao@codesourcery.com>
14372
14373 * gdb.base/auto-connect-native-target.exp: Remove redundant
14374 space from the regexp pattern.
14375
14376 2014-06-04 Yao Qi <yao@codesourcery.com>
14377
14378 * gdb.base/default.exp: Replace "child" with "native" in
14379 regexp pattern.
14380
14381 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
14382
14383 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
14384 * gdb.python/py-xmethods.exp: New tests to test xmethods.
14385 * gdb.python/py-xmethods.py: Python script supporting the
14386 new testcase and tests.
14387
14388 2014-06-03 Joel Brobecker <brobecker@adacore.com>
14389 Pedro Alves <palves@redhat.com>
14390
14391 PR breakpoints/17000
14392 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
14393 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
14394
14395 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
14396
14397 * gdb.base/subst.exp: Add tests to verify partial path matching
14398 output.
14399
14400 2014-06-03 Pedro Alves <palves@redhat.com>
14401
14402 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
14403 target that doesn't use software single-stepping.
14404
14405 2014-06-03 Pedro Alves <palves@redhat.com>
14406
14407 PR breakpoints/17000
14408 * gdb.base/sss-bp-on-user-bp-2.c: New file.
14409 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
14410
14411 2014-06-02 Doug Evans <xdje42@gmail.com>
14412
14413 * gdb.guile/scm-parameter.exp: New file.
14414
14415 2014-06-02 Doug Evans <xdje42@gmail.com>
14416
14417 * gdb.guile/scm-cmd.c: New file.
14418 * gdb.guile/scm-cmd.exp: New file.
14419
14420 2014-06-02 Doug Evans <xdje42@gmail.com>
14421
14422 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
14423 pretty-printer lookup.
14424 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
14425 (make-pp_s-printer): Call it.
14426 (make-pretty-printer-from-dict): New function.
14427 (lookup-pretty-printer-maker-from-dict): New function.
14428 (*pretty-printer*): Simplify.
14429 (make-objfile-pp_s-printer): New function.
14430 (install-objfile-pretty-printers!): New function.
14431 (make-progspace-pp_s-printer): New function.
14432 (install-progspace-pretty-printers!): New function.
14433 * gdb.guile/scm-progspace.c: New file.
14434 * gdb.guile/scm-progspace.exp: New file.
14435
14436 2014-06-02 Pedro Alves <palves@redhat.com>
14437
14438 * gdb.base/dprintf-bp-same-addr.c: New file.
14439 * gdb.base/dprintf-bp-same-addr.exp: New file.
14440
14441 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
14442
14443 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
14444 * gdb.arch/powerpc-power.s: Likewise.
14445
14446 2014-06-02 Joel Brobecker <brobecker@adacore.com>
14447
14448 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
14449
14450 2014-06-01 Yao Qi <yao@codesourcery.com>
14451
14452 * gdb.base/watchpoint.exp (test_watch_location): Check null
14453 pointer can be dereferenced. If not, do the test, otherwise
14454 skip it.
14455
14456 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
14457
14458 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
14459 results.
14460 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
14461
14462 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
14463
14464 * gdb.arch/amd64-invalid-stack-middle.S: New file.
14465 * gdb.arch/amd64-invalid-stack-middle.c: New file.
14466 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
14467 * gdb.arch/amd64-invalid-stack-top.c: New file.
14468 * gdb.arch/amd64-invalid-stack-top.exp: New file.
14469
14470 2014-05-30 Pedro Alves <palves@redhat.com>
14471
14472 PR breakpoints/17000
14473 * gdb.base/sss-bp-on-user-bp.c: New file.
14474 * gdb.base/sss-bp-on-user-bp.exp: New file.
14475
14476 2014-05-30 David Blaikie <dblaikie@gmail.com>
14477
14478 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
14479 gnu_inline semantics via attribute.
14480 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
14481 source explicitly specifies the required semantics.
14482
14483 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
14484
14485 * gdb.reverse/sigall-reverse.exp: Fix a typo.
14486
14487 2014-05-29 Pedro Alves <palves@redhat.com>
14488 Tom Tromey <tromey@redhat.com>
14489
14490 * gdb.base/async-shell.exp: Don't enable target-async.
14491 * gdb.base/async.exp
14492 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
14493 parameter. Adjust.
14494 (top level): Don't test with "target-async".
14495 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
14496 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
14497 * gdb.base/inferior-died.exp: Don't enable target-async.
14498 * gdb.base/interrupt-noterm.exp: Likewise.
14499 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
14500 * gdb.mi/mi-nonstop-exit.exp: Likewise.
14501 * gdb.mi/mi-nonstop.exp: Likewise.
14502 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
14503 * gdb.mi/mi-nsintrall.exp: Likewise.
14504 * gdb.mi/mi-nsmoribund.exp: Likewise.
14505 * gdb.mi/mi-nsthrexec.exp: Likewise.
14506 * gdb.mi/mi-watch-nonstop.exp: Likewise.
14507 * gdb.multi/watchpoint-multi.exp: Adjust comment.
14508 * gdb.python/py-evsignal.exp: Don't enable target-async.
14509 * gdb.python/py-evthreads.exp: Likewise.
14510 * gdb.python/py-prompt.exp: Likewise.
14511 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
14512 * gdb.server/solib-list.exp: Don't enable target-async.
14513 * gdb.threads/thread-specific-bp.exp: Likewise.
14514 * lib/mi-support.exp: Adjust to use mi-async.
14515
14516 2014-05-29 Pedro Alves <palves@redhat.com>
14517
14518 PR gdb/13860
14519 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
14520 reason, even in sync mode.
14521
14522 2014-05-29 Pedro Alves <palves@redhat.com>
14523 Hui Zhu <hui@codesourcery.com>
14524
14525 PR PR15693
14526 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
14527 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
14528 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
14529 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
14530
14531 2014-05-28 Joel Brobecker <brobecker@adacore.com>
14532
14533 * config/monitor.exp (gdb_target_monitor): Replace use of
14534 "set remotebaud" by "set serial baud".
14535
14536 2014-05-26 Andy Wingo <wingo@igalia.com>
14537
14538 * gdb.guile/scm-breakpoint.exp:
14539 * gdb.guile/scm-gsmob.exp: Update to use plain old object
14540 properties instead of gdb-object-properties.
14541
14542 2014-05-26 Yao Qi <yao@codesourcery.com>
14543
14544 * gdb.server/no-thread-db.exp: Specify source file name
14545 explicitly when setting a breakpoint.
14546
14547 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
14548
14549 * gdb.btrace/vdso.c: New.
14550 * gdb.btrace/vdso.exp: New.
14551
14552 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
14553
14554 * gdb.base/gcore.exp (capture_command_output): Move ...
14555 * lib/gdb.exp (capture_command_output): ... here.
14556
14557 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
14558
14559 * gdb.btrace/data.exp: Test memory access during btrace replay.
14560
14561 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
14562
14563 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
14564
14565 2014-05-21 Pedro Alves <palves@redhat.com>
14566
14567 PR gdb/13860
14568 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
14569 (top level): Test that output related to execution commands is
14570 sent to the console with CLI commands, but not with MI commands.
14571 Test that breakpoint events are always mirrored to the console.
14572 Also expect the new source line to be output after a "next" in
14573 async mode too. Make it a pass/fail test.
14574 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
14575 output.
14576 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
14577
14578 2014-05-21 Pedro Alves <palves@redhat.com>
14579
14580 * gdb.base/list.exp (build_pattern, test_list): New procedures.
14581 Use them to test variations of "list" after reaching a breakpoint.
14582 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
14583 Test "list" with listsize 10 after reaching a breakpoint.
14584 * gdb.python/python.exp (decode_line current location line
14585 number): Adjust expected line number.
14586
14587 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
14588
14589 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
14590 behavior for $args, pass it directly to "run".
14591
14592 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
14593
14594 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
14595 30000 to 65536.
14596
14597 2014-05-21 Pedro Alves <palves@redhat.com>
14598
14599 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
14600 auto-connect-native-target off".
14601 * gdb.base/auto-connect-native-target.c: New file.
14602 * gdb.base/auto-connect-native-target.exp: New file.
14603
14604 2014-05-21 Pedro Alves <palves@redhat.com>
14605
14606 * gdb.base/default.exp: Test "target native" instead of "target
14607 child".
14608
14609 2014-05-21 Mark Wielaard <mjw@redhat.com>
14610
14611 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
14612
14613 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14614
14615 Fix TLS access for -static -pthread.
14616 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
14617 <HAVE_TLS> (thread_function, main): Initialize it.
14618 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
14619 Add clean_restart.
14620 <$have_tls != "">: Check TLSVAR.
14621
14622 2014-05-21 Pedro Alves <palves@redhat.com>
14623
14624 * gdb.base/dcache-line-read-error.c: New.
14625 * gdb.base/dcache-line-read-error.exp: New.
14626
14627 2014-05-20 Pedro Alves <palves@redhat.com>
14628
14629 * gdb.base/compare-sections.c: New file.
14630 * gdb.base/compare-sections.exp: New file.
14631
14632 2014-05-20 Pedro Alves <palves@redhat.com>
14633
14634 * gdb.base/break-idempotent.c: New file.
14635 * gdb.base/break-idempotent.exp: New file.
14636
14637 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
14638
14639 * gdb.btrace/nohist.exp: New.
14640
14641 2014-05-20 Yao Qi <yao@codesourcery.com>
14642
14643 * lib/gdb.exp (gdb_init): Set timeout if test file is under
14644 gdb.reverse directory and gdb_reverse_timeout exists in board
14645 setting.
14646 * README: Document gdb_reverse_timeout.
14647
14648 2014-05-20 Yao Qi <yao@codesourcery.com>
14649
14650 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
14651 'test_file_name'. Treat args as a string instead of a list.
14652 (gdb_init): Rename argument 'args' by 'test_file_name'.
14653
14654 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
14655
14656 * gdb.arch/powerpc-power.exp: New file.
14657 * gdb.arch/powerpc-power.s: New file.
14658
14659 2014-05-16 Doug Evans <dje@google.com>
14660
14661 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
14662 * gdb.base/completion.exp: Check that all expected files exist
14663 before doing file completion.
14664
14665 2014-05-16 Doug Evans <dje@google.com>
14666
14667 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
14668 Update.
14669 (do_syscall_tests_without_xml): Update.
14670
14671 2014-05-16 Pedro Alves <palves@redhat.com>
14672
14673 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
14674 instead of "unknown output after running".
14675
14676 2014-05-16 Yao Qi <yao@codesourcery.com>
14677
14678 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
14679 file1.txt from host at the end.
14680 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
14681
14682 2014-05-15 Doug Evans <dje@google.com>
14683
14684 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
14685 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
14686 loading file. Add test for TU lookup.
14687
14688 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
14689
14690 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
14691 calling "-exec-arguments" or "set args" before running the
14692 inferior.
14693
14694 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
14695
14696 * lib/mi-support.exp (mi_expect_stop): Expect message for
14697 inferiors that exit with non-zero exit code.
14698
14699 2014-05-14 Yao Qi <yao@codesourcery.com>
14700
14701 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
14702 match absolute path on remote host.
14703 (test_file_list_exec_source_files): Remove "/" from the
14704 pattern.
14705
14706 2014-05-14 Yao Qi <yao@codesourcery.com>
14707
14708 * boards/local-remote-host-notty.exp (${board}_file): New
14709 proc.
14710
14711 2014-05-07 Kyle McMartin <kyle@redhat.com>
14712
14713 Pushed by Joel Brobecker <brobecker@adacore.com>.
14714 * gdb.arch/aarch64-atomic-inst.c: New file.
14715 * gdb.arch/aarch64-atomic-inst.exp: New file.
14716
14717 2014-05-07 Yao Qi <yao@codesourcery.com>
14718
14719 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
14720 in current context" too.
14721
14722 2014-05-05 Keith Seitz <keiths@redhat.com>
14723
14724 * gdb.linespec/ls-dollar.exp: Add test for linespec
14725 file:convenience_variable.
14726
14727 2014-05-05 Yao Qi <yao@codesourcery.com>
14728
14729 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
14730 traceframes into tfile and ctf trace files. Read data from
14731 trace file and test collected data.
14732 (gdb_collect_locals_test): Likewise.
14733 (gdb_unavailable_registers_test): Likewise.
14734 (gdb_unavailable_floats): Likewise.
14735 (gdb_collect_globals_test): Likewise.
14736 (top-level): Append "ctf" to trace_file_targets if GDB
14737 supports.
14738
14739 2014-05-05 Yao Qi <yao@codesourcery.com>
14740
14741 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
14742 code to ...
14743 (gdb_collect_args_test_1): ... it. New proc.
14744 (gdb_collect_locals_test): Move some code to ...
14745 (gdb_collect_locals_test_1): ... it. New proc.
14746 (gdb_unavailable_registers_test): Move some code to ...
14747 (gdb_unavailable_registers_test_1): ... it. New proc.
14748 (gdb_unavailable_floats): Move some code to ...
14749 (gdb_unavailable_floats_1): ... it. New proc.
14750
14751 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
14752
14753 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
14754 probes to test for bitness recognition.
14755 * gdb.arch/amd64-stap-optional-prefix.exp
14756 (test_probe_value_without_reg): New procedure.
14757 Add code to test for different kinds of bitness.
14758
14759 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
14760
14761 PR breakpoints/16889
14762 * gdb.arch/amd64-stap-optional-prefix.S: New file.
14763 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
14764
14765 2014-05-01 Pedro Alves <palves@redhat.com>
14766
14767 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
14768 gdb_file_cmd if no file is specified.
14769 * boards/native-extended-gdbserver.exp (gdb_load): Use the
14770 last_loaded_file to set the remote exec-file.
14771
14772 2014-05-01 Pedro Alves <palves@redhat.com>
14773
14774 * boards/local-remote-host.exp: New file.
14775
14776 2014-05-01 Pedro Alves <palves@redhat.com>
14777
14778 * boards/local-remote-host.exp: Rename to ...
14779 * boards/local-remote-host-notty.exp: ... this.
14780
14781 2014-04-28 Joel Brobecker <brobecker@adacore.com>
14782
14783 * gdb.ada/dyn_arrayidx: New testcase.
14784
14785 2014-04-26 Yao Qi <yao@codesourcery.com>
14786
14787 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
14788 and compute the length of function main. Save it in
14789 $main_length.
14790 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
14791 (top-level): Use gdb_compile to compile objects into
14792 executable and restart GDB. Remove invocation to
14793 prepare_for_testing.
14794
14795 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
14796 Pedro Alves <palves@redhat.com>
14797
14798 PR server/16255
14799 * gdb.multi/multi-attach.c: New file.
14800 * gdb.multi/multi-attach.exp: New file.
14801
14802 2014-04-25 Pedro Alves <palves@redhat.com>
14803
14804 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
14805 user.
14806 (top level): Test that "set remote conditional-breakpoints-packet
14807 off" works as intended.
14808 * gdb.base/dprintf.exp: Test that "set remote
14809 breakpoint-commands-packet off" works as intended.
14810 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
14811 New function.
14812 (top level): Call it.
14813 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
14814 remote fast-tracepoints-packet off" works as intended.
14815 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
14816 * lib/gdb.exp (gdb_is_target_remote): ... here.
14817
14818 2014-04-24 David Blaikie <dblaikie@gmail.com>
14819
14820 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
14821 ensure clang would not discard them.
14822 * gdb.base/gdbvars.c: Ditto.
14823 * gdb.base/memattr.c: Ditto.
14824 * gdb.base/whatis.c: Ditto.
14825 * gdb.python/py-prettyprint.c: Ditto.
14826 * gdb.trace/actions.c: Ditto.
14827 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
14828 ensure clang would not discard it.
14829
14830 2014-04-24 David Blaikie <dblaikie@gmail.com>
14831
14832 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
14833 clang to emit the full definition of type required by the test
14834 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
14835
14836 2014-04-24 David Blaikie <dblaikie@gmail.com>
14837
14838 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
14839 coax Clang into emitting the definition of the type.
14840 * gdb.cp/pr10728-x.h (y): Ditto.
14841 * gdb.cp/pr10728-y.cc (y): Ditto.
14842
14843 2014-04-24 David Blaikie <dblaikie@gmail.com>
14844
14845 * gdb.base/label.exp: XFAIL label related tests under Clang.
14846 * gdb.cp/cplabel.exp: Ditto.
14847 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
14848 under Clang those using labels.
14849
14850 2014-04-25 Yao Qi <yao@codesourcery.com>
14851
14852 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
14853 double_label.
14854 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
14855 partial_label and double_label.
14856
14857 2014-04-24 David Blaikie <dblaikie@gmail.com>
14858
14859 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
14860
14861 2014-04-24 David Blaikie <dblaikie@gmail.com>
14862
14863 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
14864 of the function to work across GCC and Clang.
14865 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
14866 pointer types (const void ** const V void **).
14867
14868 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
14869 Walfred Tedeschi <walfred.tedeschi@intel.com>
14870
14871 * Makefile.in (EXECUTABLES): Added i386-avx512.
14872 * gdb.arch/i386-avx512.c: New file.
14873 * gdb.arch/i386-avx512.exp: Likewise.
14874
14875 2014-04-23 Keith Seitz <keiths@redhat.com>
14876
14877 * lib/mi-support.exp (mi_list_breakpoints): Delete.
14878 (mi_make_breakpoint_table): New procedure.
14879 (mi_create_breakpoint): Use mi_make_breakpoint
14880 and return the result.
14881 (mi_make_breakpoint): New procedure.
14882 (mi_build_kv_pairs): New procedure.
14883
14884 * gdb.mi/mi-break.exp: Remove unused globals,
14885 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
14886 All callers updated.
14887 * gdb.mi/mi-dprintf.exp: Use variable to track command
14888 number.
14889 Update all callers of mi_create_breakpoint and use
14890 mi_make_breakpoint_table.
14891 Remove any unused global variables.
14892 * gdb.mi/mi-nonstop.exp: Likewise.
14893 * gdb.mi/mi-nsintrall.exp: Likewise.
14894 * gdb.mi/mi-nsmoribund.exp: Likewise.
14895 * gdb.mi/mi-nsthrexec.exp: Likewise.
14896 * gdb.mi/mi-reverse.exp: Likewise.
14897 * gdb.mi/mi-simplerun.exp: Likewise.
14898 * gdb.mi/mi-stepn.exp: Likewise.
14899 * gdb.mi/mi-syn-frame.exp: Likewise.
14900 * gdb.mi/mi-until.exp: Likewise.
14901 * gdb.mi/mi-var-cp.exp: Likewise.
14902 * gdb.mi/mi-var-display.exp: Likewise.
14903 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
14904 * gdb.mi/mi2-var-child.exp: Likewise.
14905 * gdb.mi/mi-vla-c99.exp: Likewise.
14906 * lib/mi-support.exp: Likewise.
14907
14908 From Ian Lance Taylor <iant@cygnus.com>:
14909 * lib/gdb.exp (parse_args): New procedure.
14910
14911 2014-04-23 Pedro Alves <palves@redhat.com>
14912
14913 * gdb.base/break-unload-file.c: New file.
14914 * gdb.base/break-unload-file.exp: New file.
14915 * gdb.base/sym-file-lib.c (baz): New function.
14916 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
14917 field.
14918 (load): Store the segment's mapped size.
14919 (unload): New function.
14920 (unload_shlib): New function.
14921 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
14922 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
14923 set a breakpoint at baz, and call it.
14924 * gdb.base/sym-file.exp: New tests for stale breakpoint
14925 instructions.
14926
14927 2014-04-23 Pedro Alves <palves@redhat.com>
14928
14929 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
14930 * gdb.base/hbreak-in-shr-unsupported.c: New file.
14931 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
14932 * gdb.base/hbreak-unmapped.c: New file.
14933 * gdb.base/hbreak-unmapped.exp: New file.
14934 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
14935 * lib/gdb.exp (gdb_is_target_remote): ... here.
14936
14937 2014-04-22 Pedro Alves <palves@redhat.com>
14938
14939 * gdb.base/consecutive-step-over.c: New file.
14940 * gdb.base/consecutive-step-over.exp: New file.
14941
14942 2014-04-22 Pedro Alves <palves@redhat.com>
14943
14944 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
14945 instead of send_gdb/gdb_expect.
14946
14947 2014-04-22 Yao Qi <yao@codesourcery.com>
14948
14949 * lib/trace-support.exp (generate_tracefile): New procedure.
14950 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
14951 return 0.
14952 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
14953 if generate_tracefile returns 1.
14954
14955 2014-04-18 Tom Tromey <palves@redhat.com>
14956 Pedro alves <tromey@redhat.com>
14957
14958 PR backtrace/15558
14959 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
14960 with a backtrace limit.
14961 * gdb.python/py-frame-inline.exp: Test running to an inline
14962 function with a backtrace limit, and printing the newest frame.
14963 * gdb.python/py-frame-inline.c (main): Call f.
14964
14965 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
14966
14967 * gdb.java/jnpe.exp: Drop srcdir from untested path.
14968
14969 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
14970
14971 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
14972 Drop prefix from unsupported source file path.
14973
14974 2014-04-17 Yao Qi <yao@codesourcery.com>
14975
14976 * lib/gdb.exp (with_target_charset): New proc.
14977 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
14978 with_target_charset.
14979 (test_print_strings): Likewise.
14980 (test_repeat_bytes): Likewise.
14981 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
14982 for some tests.
14983
14984 2014-04-16 Keith Seitz <keiths@redhat.com>
14985
14986 PR gdb/15827
14987 * gdb.dwarf2/corrupt.c: New file.
14988 * gdb.dwarf2/corrupt.exp: New file.
14989
14990 2014-04-16 Keith Seitz <keiths@redhat.com>
14991
14992 PR c++/16597
14993 * gdb.cp/namelessclass.cc: New file.
14994 * gdb.cp/namelessclass.exp: New file.
14995 * gdb.cp/namelessclass.S: New file.
14996
14997 2014-04-16 Doug Evans <dje@google.com>
14998
14999 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
15000 Add comment.
15001 (gdbserver_default_get_comm_port): New function.
15002 (gdbserver_start): Check if board file provided
15003 "gdbserver,get_comm_port" and use it if so.
15004 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
15005 (gdb,socketport): Set to "stdio".
15006 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
15007 (stdio_gdbserver_template): Delete.
15008 (${board}_get_remote_address): Update.
15009 (${board}_build_remote_cmd): Delete.
15010 (${board}_get_comm_port): New function.
15011 (${board}_spawn): Update.
15012 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
15013 Delete.
15014 (${board}_get_remote_address): Update.
15015 (${board}_get_comm_port): New function.
15016
15017 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
15018
15019 * gdb.base/memattr.exp: Improve regexps to handle memory regions
15020 appearing in any order.
15021
15022 2014-04-15 Doug Evans <dje@google.com>
15023
15024 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
15025 uninitialized value of "description".
15026
15027 2014-04-15 Keith Seitz <keiths@redhat.com>
15028
15029 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
15030 Remove unused globals.
15031 (test_running_the_program): Likewise.
15032 (test_controlled_execution): Likewise.
15033 (test_controlling_breakpoints): Likewise.
15034 (test_program_termination): Likewise.
15035
15036 2014-04-15 Keith Seitz <keiths@redhat.com>
15037
15038 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
15039 unused globals.
15040 (test_rbreak_creation_and_listing): Likewise.
15041 (test_ignore_count): Likewise.
15042 (test_error): Likewise.
15043
15044 2014-04-15 Pedro Alves <palves@redhat.com>
15045
15046 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
15047 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
15048 sym-file-loader.c.
15049 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
15050 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
15051 to sym-file-loader.c.
15052 (struct library): Forward declare.
15053 (load_shlib, lookup_function): Change prototypes.
15054 (find_shstrtab, find_strtab, find_shdr, find_symtab)
15055 (translate_offset): Remove declarations.
15056 (get_text_addr): New declaration.
15057 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
15058 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
15059 sym-file-loader.h.
15060 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
15061 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
15062 here from sym-file-loader.h.
15063 (struct library): New structure.
15064 (load_shlib, lookup_function): Change prototypes and adjust to
15065 work with a struct library.
15066 (find_shstrtab, find_strtab, find_shdr, find_symtab)
15067 (translate_offset): Make static.
15068 (get_text_addr): New function.
15069 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
15070
15071 2014-04-15 Pedro Alves <palves@redhat.com>
15072
15073 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
15074
15075 2014-04-15 Pedro Alves <palves@redhat.com>
15076
15077 * gdb.base/sym-file-loader.c: Include <limits.h>.
15078 (SELF_LINK): New define.
15079 (get_origin): New function.
15080 (load_shlib): Use it.
15081 * gdb.base/sym-file.exp: Don't early return if the target is
15082 remote. Use runto_main, and issue fail is that fails. Use
15083 gdb_load_shlibs.
15084 (shlib_name): Delete.
15085 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
15086
15087 2014-04-15 Pedro Alves <palves@redhat.com>
15088
15089 * gdb.base/sym-file.exp: Remove regex characters from test
15090 message. Don't refer to breakpoint numbers in test messages.
15091
15092 2014-04-14 Keith Seitz <keiths@redhat.com>
15093
15094 PR c++/16253
15095 * gdb.cp/var-tag.cc: New file.
15096 * gdb.cp/var-tag.exp: New file.
15097 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
15098 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
15099 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
15100 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
15101
15102 2014-04-14 Tom Tromey <tromey@redhat.com>
15103
15104 * gdb.cp/classes.exp (test_enums): Handle underlying type.
15105 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
15106 type.
15107 * gdb.cp/enum-class.exp: New file.
15108 * gdb.cp/enum-class.cc: New file.
15109
15110 2014-04-14 Tom Tromey <tromey@redhat.com>
15111
15112 * gdb.dwarf2/enum-type.exp: New file.
15113
15114 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
15115
15116 * gdb.mi/mi-vla-c99.exp: New file.
15117 * gdb.mi/vla.c: New file.
15118
15119 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
15120
15121 * gdb.base/vla-datatypes.c: New file.
15122 * gdb.base/vla-datatypes.exp: New file.
15123
15124 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
15125
15126 * gdb.base/vla-ptr.c: New file.
15127 * gdb.base/vla-ptr.exp: New file.
15128
15129 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
15130
15131 * gdb.dwarf2/count.exp: New file.
15132
15133 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
15134
15135 * gdb.base/vla-sideeffect.c: New file.
15136 * gdb.base/vla-sideeffect.exp: New file.
15137
15138 2014-04-14 David Blaikie <dblaikie@gmail.com>
15139
15140 * gdb.mi/non-stop.c: Add return value for non-void function return
15141 statement.
15142 * gdb.threads/staticthreads.c: Ditto.
15143
15144 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
15145 Doug Evans <xdje42@gmail.com>
15146
15147 * gdb.guile/scm-value.c: Improve test case.
15148 * gdb.guile/scm-value.exp: Add new test.
15149
15150 2014-04-11 David Blaikie <dblaikie@gmail.com>
15151
15152 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
15153 override Clang's default.
15154
15155 2014-04-11 Joel Brobecker <brobecker@adacore.com>
15156
15157 Revert the following changes (regressions):
15158
15159 * gdb.base/vla-sideeffect.c: New file.
15160 * gdb.base/vla-sideeffect.exp: New file.
15161
15162 * gdb.dwarf2/count.exp: New file.
15163
15164 * gdb.base/vla-multi.c: New file.
15165 * gdb.base/vla-multi.exp: New file.
15166
15167 * gdb.base/vla-ptr.c: New file.
15168 * gdb.base/vla-ptr.exp: New file.
15169
15170 * gdb.base/vla-datatypes.c: New file.
15171 * gdb.base/vla-datatypes.exp: New file.
15172
15173 * gdb.mi/mi-vla-c99.exp: New file.
15174 * gdb.mi/vla.c: New file.
15175
15176 2014-04-11 Keith Seitz <keiths@redhat.com>
15177
15178 PR c++/16675
15179 * gdb.cp/cpsizeof.exp: New file.
15180 * gdb.cp/cpsizeof.cc: New file.
15181
15182 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
15183
15184 * gdb.mi/mi-vla-c99.exp: New file.
15185 * gdb.mi/vla.c: New file.
15186
15187 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
15188
15189 * gdb.base/vla-datatypes.c: New file.
15190 * gdb.base/vla-datatypes.exp: New file.
15191
15192 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
15193
15194 * gdb.base/vla-ptr.c: New file.
15195 * gdb.base/vla-ptr.exp: New file.
15196
15197 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
15198
15199 * gdb.base/vla-multi.c: New file.
15200 * gdb.base/vla-multi.exp: New file.
15201
15202 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
15203
15204 * gdb.dwarf2/count.exp: New file.
15205
15206 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
15207
15208 * gdb.base/vla-sideeffect.c: New file.
15209 * gdb.base/vla-sideeffect.exp: New file.
15210
15211 2014-04-11 Yao Qi <yao@codesourcery.com>
15212
15213 * gdb.base/completion.exp: Check file exists before running tests
15214 on file completion.
15215
15216 2014-04-10 Pedro Alves <palves@redhat.com>
15217
15218 * gdb.base/cond-eval-mode.c: New file.
15219 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
15220 prepare_for_testing to build the new file. Check result of
15221 runto_main.
15222 (test_break, test_watch): New procedures.
15223 (top level): Use them.
15224
15225 2014-04-08 Pierre Muller <muller@sourceware.org>
15226
15227 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
15228 Ctrl-V use for mingw hosts.
15229
15230 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
15231
15232 * gdb.python/py-value.c: Improve test case.
15233 * gdb.python/py-value.exp: Add new test.
15234
15235 2014-04-07 David Blaikie <dblaikie@gmail.com>
15236
15237 * lib/compiler.c: Identify the clang compiler.
15238 * lib/compiler.cc: Ditto.
15239
15240 2014-04-03 Yao Qi <yao@codesourcery.com>
15241
15242 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
15243
15244 2014-04-01 Anton Blanchard <anton@samba.org>
15245
15246 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
15247 messages unique.
15248
15249 2014-04-01 Anton Blanchard <anton@samba.org>
15250
15251 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
15252 prepare_for_testing.
15253
15254 2014-04-01 Anton Blanchard <anton@samba.org>
15255
15256 * gdb.arch/ppc64-atomic-inst.c: Remove.
15257 * gdb.arch/ppc64-atomic-inst.S: New file.
15258 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
15259
15260 2014-03-31 Doug Evans <dje@google.com>
15261
15262 * gdb.base/print-symbol-loading-lib.c: New file.
15263 * gdb.base/print-symbol-loading-main.c: New file.
15264 * gdb.base/print-symbol-loading.exp: New file.
15265
15266 2014-03-31 Yao Qi <yao@codesourcery.com>
15267
15268 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
15269
15270 2014-03-28 Joel Brobecker <brobecker@adacore.com>
15271
15272 * gdb.ada/mi_dyn_arr: New testcase.
15273
15274 2014-03-27 Doug Evans <dje@google.com>
15275
15276 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
15277
15278 2014-03-27 Yao Qi <yao@codesourcery.com>
15279
15280 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
15281 if target is nios2-*-*.
15282
15283 2014-03-26 Yao Qi <yao@codesourcery.com>
15284
15285 * lib/gdb.exp (readline_is_used): New proc.
15286 * gdb.base/completion.exp: Move tests on command complete up.
15287 Skip the rest of tests if readline is not used.
15288 * gdb.ada/complete.exp: Skp the test if readline is not
15289 used.
15290 * gdb.base/filesym.exp: Likewise.
15291 * gdb.base/macscp.exp: Likewise.
15292 * gdb.base/readline-ask.exp: Likewise.
15293 * gdb.base/readline.exp: Likewise.
15294 * gdb.python/py-cmd.exp: Likewise.
15295 * gdb.trace/tfile.exp: Likewise.
15296
15297 2014-03-26 Yao Qi <yao@codesourcery.com>
15298
15299 * gdb.base/macscp.exp: Fix code format issues.
15300
15301 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
15302
15303 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
15304 * gdb.asm/powerpc64le.inc: New file.
15305
15306 2014-03-25 Pedro Alves <palves@redhat.com>
15307 Doug Evans <dje@google.com>
15308
15309 * gdb.base/source-execution.c: New file.
15310 * gdb.base/source-execution.exp: New file.
15311 * gdb.base/source-execution.gdb: New file.
15312
15313 2014-03-24 Doug Evans <dje@google.com>
15314
15315 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
15316 using fission.
15317
15318 2014-03-24 Hui Zhu <hui@codesourcery.com>
15319 Pedro Alves <palves@redhat.com>
15320
15321 PR breakpoints/16101
15322 * gdb.base/dprintf.exp: Use unsupported rather than changing the
15323 test pass/fail messages. Detect missing support for dprintf when
15324 breakpoints are actually inserted.
15325 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
15326 breakpoints are actually inserted.
15327 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
15328 fails.
15329
15330 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
15331
15332 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
15333
15334 2014-03-22 Doug Evans <xdje42@gmail.com>
15335
15336 * gdb.python/python.exp (python not supported): Verify multi-line
15337 python command issues an error.
15338 * gdb.guile/guile.exp (guile not supported): Verify multi-line
15339 guile command issues an error.
15340
15341 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
15342
15343 * gdb.threads/thread-specific.exp: Handle the lack of usable
15344 $this_breakpoint and $this_thread.
15345
15346 2014-03-21 Hui Zhu <hui@codesourcery.com>
15347
15348 * gdb.base/attach.exp (do_command_attach_tests): New.
15349
15350 2014-03-20 Tom Tromey <tromey@redhat.com>
15351 Pedro Alves <palves@redhat.com>
15352
15353 PR cli/15718
15354 * gdb.base/condbreak-call-false.c: New file.
15355 * gdb.base/condbreak-call-false.exp: New file.
15356
15357 2014-03-20 Pedro Alves <palves@redhat.com>
15358
15359 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
15360 Delete.
15361 (block_signals, unblock_signals): Delete.
15362 (child_function_2, main): Remove references to deleted variable
15363 and functions.
15364
15365 2014-03-20 Pedro Alves <palves@redhat.com>
15366
15367 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
15368 Use pthread_kill to signal thread 2.
15369 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
15370 Adjust to make the test send itself a signal rather than using the
15371 host's "kill" command.
15372
15373 2014-03-20 Pedro Alves <palves@redhat.com>
15374
15375 * gdb.threads/multiple-step-overs.c: New file.
15376 * gdb.threads/multiple-step-overs.exp: New file.
15377 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
15378 Adjust expected infrun debug output.
15379
15380 2014-03-20 Pedro Alves <palves@redhat.com>
15381
15382 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
15383 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
15384
15385 2014-03-20 Pedro Alves <palves@redhat.com>
15386
15387 PR breakpoints/7143
15388 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
15389 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
15390 of gdb_test_multiple.
15391 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
15392 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
15393
15394 2014-03-20 Pedro Alves <palves@redhat.com>
15395
15396 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
15397 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
15398
15399 2014-03-19 Pedro Alves <palves@redhat.com>
15400
15401 * gdb.base/async.exp: Remove early return.
15402
15403 2014-03-19 Pedro Alves <palves@redhat.com>
15404
15405 * gdb.base/async.exp (step& tests): Pass explicit test messages.
15406
15407 2014-03-19 Pedro Alves <palves@redhat.com>
15408
15409 * gdb.base/async.exp (test_background): Expect \r\n after
15410 "completed." in the fail pattern.
15411
15412 2014-03-19 Pedro Alves <palves@redhat.com>
15413
15414 * gdb.base/async.exp (test_background): New procedure.
15415 Use it for all background execution command tests.
15416
15417 2014-03-19 Pedro Alves <palves@redhat.com>
15418
15419 * gdb.base/async.exp: Use prepare_for_testing.
15420
15421 2014-03-19 Pedro Alves <palves@redhat.com>
15422
15423 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
15424 the same line.
15425
15426 2014-03-19 Pedro Alves <palves@redhat.com>
15427
15428 * gdb.base/async.c (main): Add "jump here" and "until here" line
15429 marker comments.
15430 * gdb.base/async.exp (jump_here): New global.
15431 (jump& test): Use it.
15432 (until_here): New global.
15433 (until& test): Use it.
15434
15435 2014-03-19 Pedro Alves <palves@redhat.com>
15436
15437 * gdb.base/async.exp: Don't frob gdb_protocol.
15438
15439 2014-03-18 Doug Evans <xdje42@gmail.com>
15440
15441 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
15442 Fix spelling of exec-done-display.
15443
15444 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
15445
15446 PR gdb/15358
15447 * gdb.base/gdb-sigterm.c: New file.
15448 * gdb.base/gdb-sigterm.exp: New file.
15449
15450 2014-03-18 Pedro Alves <palves@redhat.com>
15451
15452 PR gdb/13860
15453 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
15454 * lib/mi-support.exp (mi_expect_stop): Add special handling for
15455 solib-event.
15456
15457 2014-03-17 Joel Brobecker <brobecker@adacore.com>
15458
15459 * gdb.ada/pckd_arr_ren: New testcase.
15460
15461 2014-03-13 Doug Evans <xdje42@gmail.com>
15462
15463 PR guile/16612
15464 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
15465 collect after discarding symbols.
15466
15467 2014-03-13 Ludovic Courtès <ludo@gnu.org>
15468 Doug Evans <xdje42@gmail.com>
15469
15470 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
15471 to history survives a gc.
15472
15473 2014-03-13 Pedro Alves <palves@redhat.com>
15474
15475 * gdb.base/default.exp: Don't test "target procfs".
15476
15477 2014-03-13 Pedro Alves <palves@redhat.com>
15478
15479 * gdb.base/default.exp: Update "target child" and "target procfs"
15480 tests to not expect "Unix".
15481
15482 2014-03-12 Tom Tromey <tromey@redhat.com>
15483
15484 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
15485 New procs. Add target-async tests.
15486 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
15487 Add target-async tests.
15488
15489 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
15490
15491 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
15492 'func_start' and 'func_end' for the beginning and end of the
15493 function code, respectively.
15494 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
15495 'func_end' instead of 'func' and 'main'.
15496
15497 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
15498
15499 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
15500 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
15501 generate the debug info assembler source.
15502
15503 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
15504
15505 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
15506 * gdb.dwarf2/arr-subrange.exp: Likewise.
15507 * gdb.dwarf2/dwz.exp: Likewise.
15508 * gdb.dwarf2/method-ptr.exp: Likewise.
15509 * gdb.dwarf2/missing-sig-type.exp: Likewise.
15510 * gdb.dwarf2/subrange.exp: Likewise.
15511 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
15512 * gdb.dwarf2/implptrpiece.exp: Likewise.
15513 * gdb.dwarf2/nostaticblock.exp: Likewise.
15514
15515 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
15516
15517 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
15518 directory to absolute path name arguments.
15519
15520 2014-03-10 Joel Brobecker <brobecker@adacore.com>
15521
15522 * gdb.ada/tagged_access: New testcase.
15523
15524 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
15525
15526 * gdb.btrace/data.exp: Update expected output.
15527
15528 2014-03-06 Yao Qi <yao@codesourcery.com>
15529
15530 * gdb.trace/pr16508.exp: New file.
15531
15532 2014-03-05 Pedro Alves <palves@redhat.com>
15533
15534 PR gdb/16575
15535 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
15536 procedure.
15537 (top level): Adjust to use it. Add tests that exercise breakpoint
15538 interaction with the code-cache.
15539
15540 2014-02-26 Ludovic Courtès <ludo@gnu.org>
15541
15542 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
15543 test for 'history-append!'.
15544
15545 2014-02-26 Joel Brobecker <brobecker@adacore.com>
15546
15547 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
15548 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
15549 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
15550 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
15551 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
15552 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
15553
15554 2014-02-26 Joel Brobecker <brobecker@adacore.com>
15555
15556 * testsuite/gdb.python/py-pp-re-notag.c: New file.
15557 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
15558 * testsuite/gdb.python/py-pp-re-notag.p: New file.
15559
15560 2014-02-26 Joel Brobecker <brobecker@adacore.com>
15561
15562 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
15563
15564 2014-02-26 Joel Brobecker <brobecker@adacore.com>
15565
15566 * gdb.dwarf2/arr-stride.c: New file.
15567 * gdb.dwarf2/arr-stride.exp: New file.
15568
15569 2014-02-26 Pedro Alves <palves@redhat.com>
15570
15571 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
15572 that won't ever trigger. Make sure that GDB reports the correct
15573 breakpoint that caused the stop.
15574
15575 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
15576
15577 PR gdb/16626
15578 * gdb.base/auto-load-script: New file.
15579 * gdb.base/auto-load.c: New file.
15580 * gdb.base/auto-load.exp: New file.
15581
15582 PR gdb/16626
15583 * gdb.base/auto-load.exp: Fix out-of-srctree run.
15584
15585 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
15586
15587 Fix dw2-icycle.exp -fsanitize=address GDB crash.
15588 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
15589
15590 2014-02-24 Doug Evans <dje@google.com>
15591
15592 * lib/gdb.exp (run_on_host): Log error output if program fails.
15593
15594 2014-02-21 Pedro Alves <palves@redhat.com>
15595
15596 * gdb.threads/step-after-sr-lock.c: Rename to ...
15597 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
15598 * gdb.threads/step-after-sr-lock.exp: Rename to ...
15599 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
15600 ... this.
15601
15602 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
15603
15604 PR tdep/16397
15605 * gdb.arch/amd64-stap-special-operands.exp: New file.
15606 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
15607 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
15608 * gdb.arch/amd64-stap-triplet.S: Likewise.
15609 * gdb.arch/amd64-stap-triplet.c: Likewise.
15610
15611 2014-02-20 Joel Brobecker <brobecker@adacore.com>
15612
15613 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
15614 in .section pseudo-op.
15615
15616 2014-02-20 lin zuojian <manjian2006@gmail.com>
15617 Joel Brobecker <brobecker@adacore.com>
15618 Doug Evans <xdje42@gmail.com>
15619
15620 PR symtab/16581
15621 * gdb.dwarf2/dw2-icycle.S: New file.
15622 * gdb.dwarf2/dw2-icycle.c: New file.
15623 * gdb.dwarf2/dw2-icycle.exp: New file.
15624
15625 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
15626
15627 * gdb.python/py-value-cc.cc: Improve test case to enable testing
15628 operations on gdb.Value objects.
15629 * gdb.python/py-value-cc.exp: Add new test to test operations on
15630 gdb.Value objects.
15631
15632 2014-02-18 Doug Evans <dje@google.com>
15633
15634 * Makefile.in (TESTS): New variable.
15635 (expanded_tests, expanded_tests_or_none): New variables
15636 (check-single): Pass $(expanded_tests_or_none) to runtest.
15637 (check-parallel): Only run tests in $(TESTS) if non-empty.
15638 (check/no-matching-tests-found): New rule.
15639 * README: Document TESTS makefile variable.
15640
15641 2014-02-18 Doug Evans <dje@google.com>
15642
15643 * Makefile.in (check-parallel): rm -rf outputs temp.
15644
15645 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
15646
15647 Fix "ERROR: no fileid for" in the testsuite.
15648 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
15649
15650 2014-02-12 Doug Evans <dje@google.com>
15651
15652 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
15653 (MISCELLANEOUS): New variable.
15654 (clean): rm -rf $(MISCELLANEOUS).
15655 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
15656 dwp live in the same directory as symlinks, with each symlink pointed
15657 to a differently named file in a different directory.
15658
15659 2014-02-11 Doug Evans <dje@google.com>
15660
15661 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
15662 of Tcl file commands.
15663
15664 2014-02-10 Mark Kettenis <kettenis@gnu.org>
15665
15666 * gdb.threads/step-after-sr-lock.exp: Avoid executing
15667 "kill -SIGUSR1 -1".
15668
15669 2014-02-10 Joel Brobecker <brobecker@adacore.com>
15670
15671 * gdb.ada/tick_length_array_enum_idx: New testcase.
15672
15673 2014-02-10 Doug Evans <xdje42@gmail.com>
15674
15675 * configure.ac (AC_OUTPUT): Add gdb.guile.
15676 * configure: Regenerate.
15677 * lib/gdb-guile.exp: New file.
15678 * lib/gdb.exp (get_target_charset): New function.
15679 * gdb.base/help.exp: Update expected output from "apropos apropos".
15680 * gdb.guile/Makefile.in: New file.
15681 * gdb.guile/guile.exp: New file.
15682 * gdb.guile/scm-arch.c: New file.
15683 * gdb.guile/scm-arch.exp: New file.
15684 * gdb.guile/scm-block.c: New file.
15685 * gdb.guile/scm-block.exp: New file.
15686 * gdb.guile/scm-breakpoint.c: New file.
15687 * gdb.guile/scm-breakpoint.exp: New file.
15688 * gdb.guile/scm-disasm.c: New file.
15689 * gdb.guile/scm-disasm.exp: New file.
15690 * gdb.guile/scm-equal.c: New file.
15691 * gdb.guile/scm-equal.exp: New file.
15692 * gdb.guile/scm-error.exp: New file.
15693 * gdb.guile/scm-error.scm: New file.
15694 * gdb.guile/scm-frame-args.c: New file.
15695 * gdb.guile/scm-frame-args.exp: New file.
15696 * gdb.guile/scm-frame-args.scm: New file.
15697 * gdb.guile/scm-frame-inline.c: New file.
15698 * gdb.guile/scm-frame-inline.exp: New file.
15699 * gdb.guile/scm-frame.c: New file.
15700 * gdb.guile/scm-frame.exp: New file.
15701 * gdb.guile/scm-generics.exp: New file.
15702 * gdb.guile/scm-gsmob.exp: New file.
15703 * gdb.guile/scm-iterator.c: New file.
15704 * gdb.guile/scm-iterator.exp: New file.
15705 * gdb.guile/scm-math.c: New file.
15706 * gdb.guile/scm-math.exp: New file.
15707 * gdb.guile/scm-objfile-script-gdb.in: New file.
15708 * gdb.guile/scm-objfile-script.c: New file.
15709 * gdb.guile/scm-objfile-script.exp: New file.
15710 * gdb.guile/scm-objfile.c: New file.
15711 * gdb.guile/scm-objfile.exp: New file.
15712 * gdb.guile/scm-ports.exp: New file.
15713 * gdb.guile/scm-pretty-print.c: New file.
15714 * gdb.guile/scm-pretty-print.exp: New file.
15715 * gdb.guile/scm-pretty-print.scm: New file.
15716 * gdb.guile/scm-section-script.c: New file.
15717 * gdb.guile/scm-section-script.exp: New file.
15718 * gdb.guile/scm-section-script.scm: New file.
15719 * gdb.guile/scm-symbol.c: New file.
15720 * gdb.guile/scm-symbol.exp: New file.
15721 * gdb.guile/scm-symtab-2.c: New file.
15722 * gdb.guile/scm-symtab.c: New file.
15723 * gdb.guile/scm-symtab.exp: New file.
15724 * gdb.guile/scm-type.c: New file.
15725 * gdb.guile/scm-type.exp: New file.
15726 * gdb.guile/scm-value-cc.cc: New file.
15727 * gdb.guile/scm-value-cc.exp: New file.
15728 * gdb.guile/scm-value.c: New file.
15729 * gdb.guile/scm-value.exp: New file.
15730 * gdb.guile/source2.scm: New file.
15731 * gdb.guile/types-module.cc: New file.
15732 * gdb.guile/types-module.exp: New file.
15733
15734 2014-02-10 Yao Qi <yao@codesourcery.com>
15735
15736 PR testsuite/16543
15737 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
15738 * configure: Regenerated.
15739 * Makefile.in: New file.
15740
15741 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
15742
15743 * gdb.python/py-framefilter.exp: Fix typo.
15744
15745 2014-02-08 Yao Qi <yao@codesourcery.com>
15746
15747 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
15748 that no =breakpoint-modified is emitted when breakpoints are
15749 modified through MI commands.
15750
15751 2014-02-07 Pedro Alves <pedro@codesourcery.com>
15752 Pedro Alves <palves@redhat.com>
15753
15754 * gdb.threads/step-after-sr-lock.c: New file.
15755 * gdb.threads/step-after-sr-lock.exp: New file.
15756
15757 2014-02-07 Pedro Alves <palves@redhat.com>
15758
15759 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
15760
15761 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
15762
15763 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
15764 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
15765
15766 2014-02-06 Doug Evans <xdje42@gmail.com>
15767
15768 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
15769 output.
15770
15771 * gdb.gdb/python-interrupts.exp: New file.
15772
15773 2014-02-05 Yao Qi <yao@codesourcery.com>
15774
15775 * gdb.trace/report.exp (use_collected_data): Test the output
15776 of "info threads" and "info inferiors".
15777
15778 2014-02-05 Yao Qi <yao@codesourcery.com>
15779
15780 Revert this patch:
15781
15782 2013-05-24 Yao Qi <yao@codesourcery.com>
15783
15784 * gdb.trace/tfile.exp: Test inferior and thread.
15785
15786 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
15787
15788 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
15789 on a function.
15790 * gdb.base/step-bt.c: Call hello via function pointer to make
15791 sure its first instruction is executed on powerpc64le-linux.
15792
15793 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
15794
15795 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
15796
15797 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
15798
15799 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
15800 of the test patterns for use on little-endian systems.
15801
15802 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
15803
15804 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
15805 (decimal_vector): Fix for little-endian.
15806
15807 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
15808
15809 * gdb.arch/sparc-sysstep.exp: New file.
15810 * gdb.arch/sparc-sysstep.c: Likewise.
15811
15812 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
15813
15814 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
15815
15816 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
15817
15818 2014-01-23 Tom Tromey <tromey@redhat.com>
15819
15820 * gdb.ada/array_char_idx: New testcase.
15821
15822 2014-01-23 Tom Tromey <tromey@redhat.com>
15823
15824 PR python/16487:
15825 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
15826 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
15827 classes.
15828
15829 2014-01-23 Tom Tromey <tromey@redhat.com>
15830
15831 PR python/16491:
15832 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
15833 string from an inferior frame.
15834 * gdb.python/py-framefilter-mi.exp: Update.
15835
15836 2014-01-22 Doug Evans <dje@google.com>
15837
15838 * gdb.server/server-mon.exp: Add tests for "set debug-format".
15839
15840 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
15841
15842 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
15843
15844 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
15845
15846 * gdb.trace/entry-values.exp: Remove excess space character from
15847 regex patterns. Handle s390 call instruction.
15848
15849 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
15850
15851 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
15852 define "*_start" label. Make "name" static.
15853 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
15854 ${name} by references to ${name}_start.
15855
15856 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
15857
15858 * gdb.base/info-macros.exp: Remove "debug" from the compile
15859 options.
15860
15861 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
15862
15863 * gdb.dlang/demangle.exp: New file.
15864
15865 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
15866
15867 * gdb.dlang/primitive-types.exp: New file.
15868
15869 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
15870
15871 * configure.ac: Create gdb.dlang/Makefile.
15872 * configure: Regenerate.
15873 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
15874 * gdb.dlang/Makefile.in: New file.
15875 * lib/d-support.exp: New file.
15876 * lib/gdb.exp (skip_d_tests): New proc.
15877
15878 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15879
15880 * gdb.btrace/delta.exp: Check reverse stepi.
15881 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
15882 * gdb.btrace/finish.exp: New.
15883 * gdb.btrace/next.exp: New.
15884 * gdb.btrace/nexti.exp: New.
15885 * gdb.btrace/record_goto.c: Add comments.
15886 * gdb.btrace/step.exp: New.
15887 * gdb.btrace/stepi.exp: New.
15888 * gdb.btrace/multi-thread-step.c: New.
15889 * gdb.btrace/multi-thread-step.exp: New.
15890 * gdb.btrace/rn-dl-bind.c: New.
15891 * gdb.btrace/rn-dl-bind.exp: New.
15892 * gdb.btrace/data.c: New.
15893 * gdb.btrace/data.exp: New.
15894 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
15895
15896 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15897
15898 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
15899 * gdb.btrace/exception.exp: Update.
15900 * gdb.btrace/instruction_history.exp: Update.
15901 * gdb.btrace/record_goto.exp: Update.
15902 * gdb.btrace/tailcall.exp: Update.
15903 * gdb.btrace/unknown_functions.exp: Update.
15904 * gdb.btrace/delta.exp: New.
15905
15906 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15907
15908 * gdb.btrace/record_goto.exp: Add backtrace test.
15909 * gdb.btrace/tailcall.exp: Add backtrace test.
15910
15911 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15912
15913 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
15914 * gdb.btrace/record_goto.c: New.
15915 * gdb.btrace/record_goto.exp: New.
15916 * gdb.btrace/x86-record_goto.S: New.
15917
15918 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15919
15920 * gdb.btrace/function_call_history.exp: Update tests.
15921 * gdb.btrace/instruction_history.exp: Update tests.
15922
15923 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15924
15925 * gdb.btrace/function_call_history.exp: Fix expected field
15926 order for "record function-call-history".
15927 Add new tests for "record function-call-history /c".
15928 * gdb.btrace/exception.cc: New.
15929 * gdb.btrace/exception.exp: New.
15930 * gdb.btrace/tailcall.exp: New.
15931 * gdb.btrace/x86-tailcall.S: New.
15932 * gdb.btrace/x86-tailcall.c: New.
15933 * gdb.btrace/unknown_functions.c: New.
15934 * gdb.btrace/unknown_functions.exp: New.
15935 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
15936
15937 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15938
15939 * gdb.btrace/instruction_history.exp: Update.
15940 * gdb.btrace/function_call_history.exp: Update.
15941
15942 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15943
15944 * gdb.btrace/function_call_history.exp: Fix expected function
15945 trace.
15946 * gdb.btrace/instruction_history.exp: Initialize traced.
15947 Remove traced_functions.
15948
15949 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15950
15951 * gdb.btrace/function_call_history.exp: Update
15952 * gdb.btrace/instruction_history.exp: Update.
15953
15954 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15955
15956 * gdb.btrace/enable.exp: Update expected text.
15957
15958 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
15959
15960 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
15961 bytes.
15962
15963 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
15964
15965 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
15966
15967 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
15968
15969 * lib/gdb.exp (supports_process_record): Return true for
15970 arm*-linux*. (supports_reverse): Likewise.
15971
15972 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
15973
15974 PR python/15464
15975 PR python/16113
15976 * gdb.python/py-type.c: Enhance test case.
15977 * gdb.python/py-value-cc.cc: Likewise
15978 * gdb.python/py-type.exp: Add new tests.
15979 * gdb.python/py-value-cc.exp: Likewise
15980
15981 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
15982 Pedro Alves <palves@redhat.com>
15983
15984 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
15985 Make "name" extern.
15986 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
15987 references to ${name}_start by references to ${name}.
15988
15989 2014-01-10 Joel Brobecker <brobecker@adacore.com>
15990
15991 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
15992
15993 2014-01-10 Joel Brobecker <brobecker@adacore.com>
15994
15995 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
15996
15997 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
15998 Pedro Alves <palves@redhat.com>
15999
16000 * gdb.mi/mi-info-os.exp: Connect to the target with
16001 mi_gdb_target_load.
16002
16003 2014-01-08 Pedro Alves <palves@redhat.com>
16004
16005 * gdb.threads/reconnect-signal.c: New file.
16006 * gdb.threads/reconnect-signal.exp: New file.
16007
16008 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
16009
16010 * gdb.base/source-dir.exp: New file.
16011
16012 2014-01-07 Joel Brobecker <brobecker@adacore.com>
16013
16014 * gdb.ada/mi_interface: New testcase.
16015
16016 2014-01-07 Joel Brobecker <brobecker@adacore.com>
16017
16018 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
16019 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
16020 gdb.ada/pp-rec-component/pck.ads: New files.
16021
16022 2014-01-07 Joel Brobecker <brobecker@adacore.com>
16023
16024 * gdb.python/py-pp-integral.c: New file.
16025 * gdb.python/py-pp-integral.py: New file.
16026 * gdb.python/py-pp-integral.exp: New file.
16027
16028 For older changes see ChangeLog-1993-2013.
16029 \f
16030 ;; Local Variables:
16031 ;; mode: change-log
16032 ;; left-margin: 8
16033 ;; fill-column: 74
16034 ;; version-control: never
16035 ;; End:
16036
16037 Copyright 2014-2019 Free Software Foundation, Inc.
16038 Copying and distribution of this file, with or without modification,
16039 are permitted provided the copyright notice and this notice are preserved.
This page took 0.382457 seconds and 4 git commands to generate.